Skip to content

Commit

Permalink
DEVEXP-424: Remove generated headers (#87)
Browse files Browse the repository at this point in the history
* DEVEXP-424: Remove generated headers (Numbers)

* DEVEXP-424: Remove generated headers (SMS)
  • Loading branch information
asein-sinch authored May 13, 2024
1 parent 355917f commit 3e2996c
Show file tree
Hide file tree
Showing 59 changed files with 0 additions and 406 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: ActiveNumberRequest
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

import { SMSConfiguration } from '../sms-configuration';
import { VoiceConfiguration } from '../voice-configuration';

Expand Down
7 changes: 0 additions & 7 deletions packages/numbers/src/models/v1/active-number/active-number.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: ActiveNumber
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

import { Money } from '../money';
import { SMSConfiguration } from '../sms-configuration';
import { VoiceConfiguration } from '../voice-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: ActiveNumbersResponse
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

import { ActiveNumber } from '../active-number';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: AvailableNumber
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

import { Money } from '../money';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: AvailableNumbersResponse
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

import { AvailableNumber } from '../available-number';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: AvailableRegion
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

/**
* A region for which numbers are provided.
*/
Expand Down
7 changes: 0 additions & 7 deletions packages/numbers/src/models/v1/bad-request/bad-request.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: BadRequest
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

import { FieldViolation } from '../field-violation';

export interface BadRequest {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: CallbackConfigurationUpdate
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

/**
* The request to update the callbacks configuration for the current project
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: CallbackConfiguration
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

/**
* Response message containing the callbacks configuration for a specific project
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Model: CallbackPayload
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/


export interface CallbackPayload {

/** The ID of the event. */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: FieldViolation
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

export interface FieldViolation {
field?: string;
description?: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: InternalErrorError
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

export interface InternalErrorError {
/** @see CodeEnum */
code?: CodeEnum;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: InternalError
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

import { InternalErrorError } from '../internal-error-error';

export interface InternalError {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: InvalidArgumentError
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

import { BadRequest } from '../bad-request';

export interface InvalidArgumentError {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: InvalidArgument
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

import { InvalidArgumentError } from '../invalid-argument-error';

export interface InvalidArgument {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: ListAvailableNumberRequest
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

import { NumberPatternPattern } from '../number-pattern-pattern';
import { NumberPatternSearchPattern } from '../number-pattern-search-pattern';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: ListAvailableRegionsResponse
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

import { AvailableRegion } from '../available-region';

/**
Expand Down
7 changes: 0 additions & 7 deletions packages/numbers/src/models/v1/money/money.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: Money
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

/**
* An object giving details on currency code and the amount charged.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: NotFoundError
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

export interface NotFoundError {
/** @see CodeEnum */
code?: CodeEnum;
Expand Down
7 changes: 0 additions & 7 deletions packages/numbers/src/models/v1/not-found/not-found.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: NotFound
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

import { NotFoundError } from '../not-found-error';

export interface NotFound {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: NumberPatternPattern
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

import { SearchPattern } from '../search-pattern';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: NumberPatternSearchPattern
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

/**
* Search pattern to apply. Options include, `START`, `CONTAIN`, and `END`.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: ProvisioningStatus
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

/**
* The provisioning status. It will be either `WAITING`, `IN_PROGRESS` or `FAILED`. If the provisioning fails, a reason for the failure will be provided.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: RentAnyNumberRequestSmsConfiguration
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

export interface RentAnyNumberRequestSmsConfiguration {
/** The SMS service that the number will be linked to. The `servicePlanId` can be found in the [Sinch Customer Dashboard](https://dashboard.sinch.com/sms/api/rest). */
servicePlanId: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: RentAnyNumberRequestVoiceConfiguration
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

export interface RentAnyNumberRequestVoiceConfiguration {
/** Your app ID for the Voice API. The `appId` can be found in your <a href=\"https://dashboard.sinch.com/voice/apps\" target=\"_blank\">Sinch Customer Dashboard</a> under Voice, then apps. */
appId: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: RentAnyNumberRequest
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

import { RentAnyNumberRequestSmsConfiguration } from '../rent-any-number-request-sms-configuration';
import { RentAnyNumberRequestVoiceConfiguration } from '../rent-any-number-request-voice-configuration';
import { SearchPattern } from '../search-pattern';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: RentNumberRequest
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

import { RentAnyNumberRequestSmsConfiguration } from '../rent-any-number-request-sms-configuration';
import { RentAnyNumberRequestVoiceConfiguration } from '../rent-any-number-request-voice-configuration';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: ScheduledProvisioning
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

import { ProvisioningStatus } from '../provisioning-status';
import { SmsErrorCode } from '../sms-error-code';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/**
* Model: SearchPattern
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/
import { SearchPatternEnum } from '../enums';

export interface SearchPattern {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: SMSConfiguration
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

import { ScheduledProvisioning } from '../scheduled-provisioning';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: SmsErrorCode
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

/**
* The error codes that show the reason of failure of a scheduled provisioning
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Model: ApiInboundList
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/

import { InboundMessageResponse } from '../inbound-message-response';

export interface ApiInboundList {
Expand Down
8 changes: 0 additions & 8 deletions packages/sms/src/models/v1/api-mo-message/api-mo-message.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Model: ApiMoMessage
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/


/**
* The page of inbounds matching the given filters.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { DeliveryReportEnum } from '../enums';


export interface ApiUpdateBinaryMtMessage {

/** Sender number. Must be valid phone number, short code or alphanumeric. */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
/**
* Model: ApiUpdateMtMessage
*
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
*
*/
import { DeliveryReportEnum } from '../enums';


export interface ApiUpdateMtMessage {

/** Sender number. Must be valid phone number, short code or alphanumeric. */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { DeliveryReportEnum } from '../enums';


export interface BinaryRequest {
/** A list of phone numbers and group IDs that will receive the batch. [More info](https://community.sinch.com/t5/Glossary/MSISDN/ta-p/7628). */
to: string[];
Expand Down
Loading

0 comments on commit 3e2996c

Please sign in to comment.