@azure-tools/communication-short-codes 1.0.0-beta.2 → 1.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/utils/logger.ts","../src/utils/tracing.ts","../src/generated/src/models/mappers.ts","../src/generated/src/models/parameters.ts","../src/generated/src/operations/shortCodesOperations.ts","../src/generated/src/shortCodesClientContext.ts","../src/generated/src/shortCodesClient.ts","../src/shortCodesClient.ts"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { createClientLogger } from \"@azure/logger\";\n\n/**\n * The \\@azure\\/logger configuration for this package.\n */\nexport const logger = createClientLogger(\"communication-short-codes\");\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { createSpanFunction } from \"@azure/core-tracing\";\n\n/**\n * Creates a span using the global tracer.\n * @internal\n * @param name - The name of the operation being performed.\n * @param tracingOptions - The options for the underlying http request.\n */\nexport const createSpan = createSpanFunction({\n packagePrefix: \"Azure.Communication\",\n namespace: \"Microsoft.Communication\",\n});\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const ShortCodes: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ShortCodes\",\n modelProperties: {\n shortCodes: {\n serializedName: \"shortCodes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ShortCode\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ShortCode: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ShortCode\",\n modelProperties: {\n number: {\n serializedName: \"number\",\n type: {\n name: \"String\"\n }\n },\n numberType: {\n serializedName: \"numberType\",\n type: {\n name: \"String\"\n }\n },\n countryCode: {\n serializedName: \"countryCode\",\n type: {\n name: \"String\"\n }\n },\n programBriefIds: {\n serializedName: \"programBriefIds\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n purchaseDate: {\n serializedName: \"purchaseDate\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const CommunicationErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CommunicationError\"\n }\n }\n }\n }\n};\n\nexport const CommunicationError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationError\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CommunicationError\"\n }\n }\n }\n },\n innerError: {\n serializedName: \"innererror\",\n type: {\n name: \"Composite\",\n className: \"CommunicationError\"\n }\n }\n }\n }\n};\n\nexport const USProgramBrief: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"USProgramBrief\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n },\n status: {\n serializedName: \"status\",\n type: {\n name: \"String\"\n }\n },\n number: {\n serializedName: \"number\",\n type: {\n name: \"String\"\n }\n },\n reviewNotes: {\n serializedName: \"reviewNotes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ReviewNote\"\n }\n }\n }\n },\n costs: {\n serializedName: \"costs\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ShortCodeCost\"\n }\n }\n }\n },\n submissionDate: {\n serializedName: \"submissionDate\",\n type: {\n name: \"DateTime\"\n }\n },\n statusUpdatedDate: {\n serializedName: \"statusUpdatedDate\",\n type: {\n name: \"DateTime\"\n }\n },\n programDetails: {\n serializedName: \"programDetails\",\n type: {\n name: \"Composite\",\n className: \"ProgramDetails\"\n }\n },\n companyInformation: {\n serializedName: \"companyInformation\",\n type: {\n name: \"Composite\",\n className: \"CompanyInformation\"\n }\n },\n messageDetails: {\n serializedName: \"messageDetails\",\n type: {\n name: \"Composite\",\n className: \"MessageDetails\"\n }\n },\n trafficDetails: {\n serializedName: \"trafficDetails\",\n type: {\n name: \"Composite\",\n className: \"TrafficDetails\"\n }\n }\n }\n }\n};\n\nexport const ReviewNote: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ReviewNote\",\n modelProperties: {\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const ShortCodeCost: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ShortCodeCost\",\n modelProperties: {\n amount: {\n serializedName: \"amount\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n currencyCode: {\n serializedName: \"currencyCode\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n billingFrequency: {\n serializedName: \"billingFrequency\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProgramDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProgramDetails\",\n modelProperties: {\n isVanity: {\n serializedName: \"isVanity\",\n type: {\n name: \"Boolean\"\n }\n },\n preferredVanityNumbers: {\n serializedName: \"preferredVanityNumbers\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n numberType: {\n serializedName: \"numberType\",\n type: {\n name: \"String\"\n }\n },\n isPoliticalCampaign: {\n serializedName: \"isPoliticalCampaign\",\n type: {\n name: \"Boolean\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n },\n url: {\n serializedName: \"url\",\n type: {\n name: \"String\"\n }\n },\n signUpTypes: {\n serializedName: \"signUpTypes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Enum\",\n allowedValues: [\n \"website\",\n \"pointOfSale\",\n \"sms\",\n \"interactiveVoiceResponse\"\n ]\n }\n }\n }\n },\n signUpUrl: {\n serializedName: \"signUpUrl\",\n type: {\n name: \"String\"\n }\n },\n termsOfServiceUrl: {\n serializedName: \"termsOfServiceUrl\",\n type: {\n name: \"String\"\n }\n },\n privacyPolicyUrl: {\n serializedName: \"privacyPolicyUrl\",\n type: {\n name: \"String\"\n }\n },\n expectedDateOfService: {\n serializedName: \"expectedDateOfService\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const CompanyInformation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CompanyInformation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n url: {\n serializedName: \"url\",\n type: {\n name: \"String\"\n }\n },\n address: {\n serializedName: \"address\",\n type: {\n name: \"String\"\n }\n },\n contactInformation: {\n serializedName: \"contactInformation\",\n type: {\n name: \"Composite\",\n className: \"ContactInformation\"\n }\n },\n customerCareInformation: {\n serializedName: \"customerCareInformation\",\n type: {\n name: \"Composite\",\n className: \"CustomerCareInformation\"\n }\n }\n }\n }\n};\n\nexport const ContactInformation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ContactInformation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n phone: {\n serializedName: \"phone\",\n type: {\n name: \"String\"\n }\n },\n email: {\n serializedName: \"email\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CustomerCareInformation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomerCareInformation\",\n modelProperties: {\n tollFreeNumber: {\n serializedName: \"tollFreeNumber\",\n type: {\n name: \"String\"\n }\n },\n email: {\n serializedName: \"email\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const MessageDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MessageDetails\",\n modelProperties: {\n supportedProtocols: {\n serializedName: \"supportedProtocols\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Enum\",\n allowedValues: [\"sms\", \"mms\"]\n }\n }\n }\n },\n recurrence: {\n serializedName: \"recurrence\",\n type: {\n name: \"String\"\n }\n },\n helpMessage: {\n serializedName: \"helpMessage\",\n type: {\n name: \"String\"\n }\n },\n optOutMessage: {\n serializedName: \"optOutMessage\",\n type: {\n name: \"String\"\n }\n },\n optInMessage: {\n serializedName: \"optInMessage\",\n type: {\n name: \"String\"\n }\n },\n optInReply: {\n serializedName: \"optInReply\",\n type: {\n name: \"String\"\n }\n },\n confirmationMessage: {\n serializedName: \"confirmationMessage\",\n type: {\n name: \"String\"\n }\n },\n directionality: {\n serializedName: \"directionality\",\n type: {\n name: \"String\"\n }\n },\n useCases: {\n serializedName: \"useCases\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"UseCase\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const UseCase: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UseCase\",\n modelProperties: {\n contentCategory: {\n serializedName: \"contentCategory\",\n type: {\n name: \"String\"\n }\n },\n examples: {\n serializedName: \"examples\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MessageExampleSequence\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const MessageExampleSequence: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MessageExampleSequence\",\n modelProperties: {\n messages: {\n serializedName: \"messages\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MessageExample\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const MessageExample: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MessageExample\",\n modelProperties: {\n direction: {\n serializedName: \"direction\",\n type: {\n name: \"String\"\n }\n },\n text: {\n serializedName: \"text\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrafficDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrafficDetails\",\n modelProperties: {\n totalMonthlyVolume: {\n constraints: {\n InclusiveMaximum: 2147483647,\n InclusiveMinimum: 0\n },\n serializedName: \"totalMonthlyVolume\",\n type: {\n name: \"Number\"\n }\n },\n monthlyAverageMessagesFromUser: {\n constraints: {\n InclusiveMaximum: 2147483647,\n InclusiveMinimum: 0\n },\n serializedName: \"monthlyAverageMessagesFromUser\",\n type: {\n name: \"Number\"\n }\n },\n monthlyAverageMessagesToUser: {\n constraints: {\n InclusiveMaximum: 2147483647,\n InclusiveMinimum: 0\n },\n serializedName: \"monthlyAverageMessagesToUser\",\n type: {\n name: \"Number\"\n }\n },\n isSpiky: {\n serializedName: \"isSpiky\",\n type: {\n name: \"Boolean\"\n }\n },\n spikeDetails: {\n serializedName: \"spikeDetails\",\n type: {\n name: \"String\"\n }\n },\n estimatedRampUpTimeInDays: {\n constraints: {\n InclusiveMaximum: 2147483647,\n InclusiveMinimum: 0\n },\n serializedName: \"estimatedRampUpTimeInDays\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const USProgramBriefs: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"USProgramBriefs\",\n modelProperties: {\n programBriefs: {\n serializedName: \"programBriefs\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"USProgramBrief\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport { USProgramBrief as USProgramBriefMapper } from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const skip: OperationQueryParameter = {\n parameterPath: [\"options\", \"skip\"],\n mapper: {\n defaultValue: 0,\n serializedName: \"skip\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const top: OperationQueryParameter = {\n parameterPath: [\"options\", \"top\"],\n mapper: {\n defaultValue: 100,\n serializedName: \"top\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-10-25-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/merge-patch+json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const body: OperationParameter = {\n parameterPath: [\"options\", \"body\"],\n mapper: USProgramBriefMapper\n};\n\nexport const programBriefId: OperationURLParameter = {\n parameterPath: \"programBriefId\",\n mapper: {\n serializedName: \"programBriefId\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { ShortCodesOperations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { ShortCodesClientContext } from \"../shortCodesClientContext\";\nimport {\n ShortCode,\n ShortCodesGetShortCodesNextOptionalParams,\n ShortCodesGetShortCodesOptionalParams,\n USProgramBrief,\n ShortCodesGetUSProgramBriefsNextOptionalParams,\n ShortCodesGetUSProgramBriefsOptionalParams,\n ShortCodesGetShortCodesResponse,\n ShortCodesUpsertUSProgramBriefOptionalParams,\n ShortCodesUpsertUSProgramBriefResponse,\n ShortCodesDeleteUSProgramBriefOptionalParams,\n ShortCodesGetUSProgramBriefOptionalParams,\n ShortCodesGetUSProgramBriefResponse,\n ShortCodesSubmitUSProgramBriefOptionalParams,\n ShortCodesSubmitUSProgramBriefResponse,\n ShortCodesGetUSProgramBriefsResponse,\n ShortCodesGetShortCodesNextResponse,\n ShortCodesGetUSProgramBriefsNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ShortCodesOperations operations. */\nexport class ShortCodesOperationsImpl implements ShortCodesOperations {\n private readonly client: ShortCodesClientContext;\n\n /**\n * Initialize a new instance of the class ShortCodesOperations class.\n * @param client Reference to the service client\n */\n constructor(client: ShortCodesClientContext) {\n this.client = client;\n }\n\n /**\n * Gets the list of short codes for the current resource.\n * @param options The options parameters.\n */\n public listShortCodes(\n options?: ShortCodesGetShortCodesOptionalParams\n ): PagedAsyncIterableIterator<ShortCode> {\n const iter = this.getShortCodesPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.getShortCodesPagingPage(options);\n }\n };\n }\n\n private async *getShortCodesPagingPage(\n options?: ShortCodesGetShortCodesOptionalParams\n ): AsyncIterableIterator<ShortCode[]> {\n let result = await this._getShortCodes(options);\n yield result.shortCodes || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._getShortCodesNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.shortCodes || [];\n }\n }\n\n private async *getShortCodesPagingAll(\n options?: ShortCodesGetShortCodesOptionalParams\n ): AsyncIterableIterator<ShortCode> {\n for await (const page of this.getShortCodesPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the list of US Program Briefs for the current resource.\n * @param options The options parameters.\n */\n public listUSProgramBriefs(\n options?: ShortCodesGetUSProgramBriefsOptionalParams\n ): PagedAsyncIterableIterator<USProgramBrief> {\n const iter = this.getUSProgramBriefsPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.getUSProgramBriefsPagingPage(options);\n }\n };\n }\n\n private async *getUSProgramBriefsPagingPage(\n options?: ShortCodesGetUSProgramBriefsOptionalParams\n ): AsyncIterableIterator<USProgramBrief[]> {\n let result = await this._getUSProgramBriefs(options);\n yield result.programBriefs || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._getUSProgramBriefsNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.programBriefs || [];\n }\n }\n\n private async *getUSProgramBriefsPagingAll(\n options?: ShortCodesGetUSProgramBriefsOptionalParams\n ): AsyncIterableIterator<USProgramBrief> {\n for await (const page of this.getUSProgramBriefsPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the list of short codes for the current resource.\n * @param options The options parameters.\n */\n private _getShortCodes(\n options?: ShortCodesGetShortCodesOptionalParams\n ): Promise<ShortCodesGetShortCodesResponse> {\n return this.client.sendOperationRequest(\n { options },\n getShortCodesOperationSpec\n );\n }\n\n /**\n * Creates or updates a US Program Brief.\n * @param programBriefId Program Brief Id. Must be a valid GUID\n * @param options The options parameters.\n */\n upsertUSProgramBrief(\n programBriefId: string,\n options?: ShortCodesUpsertUSProgramBriefOptionalParams\n ): Promise<ShortCodesUpsertUSProgramBriefResponse> {\n return this.client.sendOperationRequest(\n { programBriefId, options },\n upsertUSProgramBriefOperationSpec\n );\n }\n\n /**\n * Deletes a US Program Brief.\n * @param programBriefId Program Brief Id. Must be a valid GUID\n * @param options The options parameters.\n */\n deleteUSProgramBrief(\n programBriefId: string,\n options?: ShortCodesDeleteUSProgramBriefOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { programBriefId, options },\n deleteUSProgramBriefOperationSpec\n );\n }\n\n /**\n * Get a US Program Brief by id.\n * @param programBriefId Program Brief Id. Must be a valid GUID\n * @param options The options parameters.\n */\n getUSProgramBrief(\n programBriefId: string,\n options?: ShortCodesGetUSProgramBriefOptionalParams\n ): Promise<ShortCodesGetUSProgramBriefResponse> {\n return this.client.sendOperationRequest(\n { programBriefId, options },\n getUSProgramBriefOperationSpec\n );\n }\n\n /**\n * Submits a US Program Brief for review.\n * @param programBriefId Program Brief Id. Must be a valid GUID\n * @param options The options parameters.\n */\n submitUSProgramBrief(\n programBriefId: string,\n options?: ShortCodesSubmitUSProgramBriefOptionalParams\n ): Promise<ShortCodesSubmitUSProgramBriefResponse> {\n return this.client.sendOperationRequest(\n { programBriefId, options },\n submitUSProgramBriefOperationSpec\n );\n }\n\n /**\n * Gets the list of US Program Briefs for the current resource.\n * @param options The options parameters.\n */\n private _getUSProgramBriefs(\n options?: ShortCodesGetUSProgramBriefsOptionalParams\n ): Promise<ShortCodesGetUSProgramBriefsResponse> {\n return this.client.sendOperationRequest(\n { options },\n getUSProgramBriefsOperationSpec\n );\n }\n\n /**\n * GetShortCodesNext\n * @param nextLink The nextLink from the previous successful call to the GetShortCodes method.\n * @param options The options parameters.\n */\n private _getShortCodesNext(\n nextLink: string,\n options?: ShortCodesGetShortCodesNextOptionalParams\n ): Promise<ShortCodesGetShortCodesNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n getShortCodesNextOperationSpec\n );\n }\n\n /**\n * GetUSProgramBriefsNext\n * @param nextLink The nextLink from the previous successful call to the GetUSProgramBriefs method.\n * @param options The options parameters.\n */\n private _getUSProgramBriefsNext(\n nextLink: string,\n options?: ShortCodesGetUSProgramBriefsNextOptionalParams\n ): Promise<ShortCodesGetUSProgramBriefsNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n getUSProgramBriefsNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getShortCodesOperationSpec: coreClient.OperationSpec = {\n path: \"/shortCodes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ShortCodes\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.skip, Parameters.top, Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst upsertUSProgramBriefOperationSpec: coreClient.OperationSpec = {\n path: \"/shortCodes/countries/US/programBriefs/{programBriefId}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.USProgramBrief\n },\n 201: {\n bodyMapper: Mappers.USProgramBrief\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.programBriefId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteUSProgramBriefOperationSpec: coreClient.OperationSpec = {\n path: \"/shortCodes/countries/US/programBriefs/{programBriefId}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.programBriefId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getUSProgramBriefOperationSpec: coreClient.OperationSpec = {\n path: \"/shortCodes/countries/US/programBriefs/{programBriefId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.USProgramBrief\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.programBriefId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst submitUSProgramBriefOperationSpec: coreClient.OperationSpec = {\n path: \"/shortCodes/countries/US/programBriefs/{programBriefId}/:submit\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.USProgramBrief\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.programBriefId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getUSProgramBriefsOperationSpec: coreClient.OperationSpec = {\n path: \"/shortCodes/countries/US/programBriefs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.USProgramBriefs\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.skip, Parameters.top, Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getShortCodesNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ShortCodes\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.skip, Parameters.top, Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getUSProgramBriefsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.USProgramBriefs\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.skip, Parameters.top, Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport { ShortCodesClientOptionalParams } from \"./models\";\n\nexport class ShortCodesClientContext extends coreClient.ServiceClient {\n endpoint: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the ShortCodesClientContext class.\n * @param endpoint The communication resource, for example https://resourcename.communication.azure.com\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: ShortCodesClientOptionalParams) {\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ShortCodesClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\"\n };\n\n const packageDetails = `azsdk-js-communication-short-codes/1.0.0-beta.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint || \"{endpoint}\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.endpoint = endpoint;\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"2021-10-25-preview\";\n }\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { ShortCodesOperationsImpl } from \"./operations\";\nimport { ShortCodesOperations } from \"./operationsInterfaces\";\nimport { ShortCodesClientContext } from \"./shortCodesClientContext\";\nimport { ShortCodesClientOptionalParams } from \"./models\";\n\nexport class ShortCodesClient extends ShortCodesClientContext {\n /**\n * Initializes a new instance of the ShortCodesClient class.\n * @param endpoint The communication resource, for example https://resourcename.communication.azure.com\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: ShortCodesClientOptionalParams) {\n super(endpoint, options);\n this.shortCodesOperations = new ShortCodesOperationsImpl(this);\n }\n\n shortCodesOperations: ShortCodesOperations;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n/// <reference lib=\"esnext.asynciterable\" />\n\nimport { isKeyCredential, parseClientArguments } from \"@azure/communication-common\";\nimport { KeyCredential, TokenCredential, isTokenCredential } from \"@azure/core-auth\";\nimport { CommonClientOptions, InternalClientPipelineOptions } from \"@azure/core-client\";\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { createSpan, logger } from \"./utils\";\nimport { ShortCodesClient as ShortCodesGeneratedClient } from \"./generated/src\";\nimport {\n ShortCode,\n ShortCodesUpsertUSProgramBriefOptionalParams,\n USProgramBrief,\n} from \"./generated/src/models/\";\nimport { SpanStatusCode } from \"@azure/core-tracing\";\nimport {\n DeleteUSProgramBriefOptions,\n GetUSProgramBriefOptions,\n ListShortCodesOptions,\n ListUSProgramBriefsOptions,\n SubmitUSProgramBriefOptions,\n} from \"./models\";\nimport { createCommunicationAuthPolicy } from \"@azure/communication-common\";\n\n/**\n * Client options used to configure the ShortCodesClient API requests.\n */\nexport interface ShortCodesClientOptions extends CommonClientOptions {}\n\nconst isShortCodesClientOptions = (options: any): options is ShortCodesClientOptions =>\n options && !isKeyCredential(options) && !isTokenCredential(options);\n\nexport class ShortCodesClient {\n /**\n * A reference to the auto-generated ShortCodes HTTP client.\n */\n private readonly client: ShortCodesGeneratedClient;\n\n public constructor(connectionString: string, options?: ShortCodesClientOptions);\n\n public constructor(\n endpoint: string,\n credential: KeyCredential,\n options?: ShortCodesClientOptions\n );\n\n public constructor(\n endpoint: string,\n credential: TokenCredential,\n options?: ShortCodesClientOptions\n );\n\n public constructor(\n connectionStringOrUrl: string,\n credentialOrOptions?: KeyCredential | TokenCredential | ShortCodesClientOptions,\n maybeOptions: ShortCodesClientOptions = {}\n ) {\n const { url, credential } = parseClientArguments(connectionStringOrUrl, credentialOrOptions);\n const options = isShortCodesClientOptions(credentialOrOptions)\n ? credentialOrOptions\n : maybeOptions;\n\n const internalPipelineOptions: InternalClientPipelineOptions = {\n ...options,\n ...{\n loggingOptions: {\n logger: logger.info,\n },\n },\n };\n\n this.client = new ShortCodesGeneratedClient(url, internalPipelineOptions);\n const authPolicy = createCommunicationAuthPolicy(credential);\n this.client.pipeline.addPolicy(authPolicy);\n }\n\n public listShortCodes(\n options: ListShortCodesOptions = {}\n ): PagedAsyncIterableIterator<ShortCode> {\n const { span, updatedOptions } = createSpan(\"ShortCodesClient-listShortCodes\", options);\n try {\n return this.client.shortCodesOperations.listShortCodes(updatedOptions);\n } catch (e) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n public async upsertUSProgramBrief(\n programBriefId: string,\n options: ShortCodesUpsertUSProgramBriefOptionalParams = {}\n ): Promise<USProgramBrief> {\n const { span, updatedOptions } = createSpan(\"ShortCodesClient-upsertUSProgramBrief\", options);\n try {\n return await this.client.shortCodesOperations.upsertUSProgramBrief(\n programBriefId,\n updatedOptions\n );\n } catch (e) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n public async deleteUSProgramBrief(\n programBriefId: string,\n options?: DeleteUSProgramBriefOptions\n ): Promise<void> {\n const { span, updatedOptions } = createSpan(\"ShortCodesClient-deleteUSProgramBrief\", options);\n try {\n return await this.client.shortCodesOperations.deleteUSProgramBrief(\n programBriefId,\n updatedOptions\n );\n } catch (e) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n public async getUSProgramBrief(\n programBriefId: string,\n options?: GetUSProgramBriefOptions\n ): Promise<USProgramBrief> {\n const { span, updatedOptions } = createSpan(\"ShortCodesClient-getUSProgramBrief\", options);\n try {\n return await this.client.shortCodesOperations.getUSProgramBrief(\n programBriefId,\n updatedOptions\n );\n } catch (e) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n public listUSProgramBriefs(\n options: ListUSProgramBriefsOptions = {}\n ): PagedAsyncIterableIterator<USProgramBrief> {\n const { span, updatedOptions } = createSpan(\"ShortCodesClient-listUSProgramBriefs\", options);\n try {\n return this.client.shortCodesOperations.listUSProgramBriefs(updatedOptions);\n } catch (e) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n public async submitUSProgramBrief(\n programBriefId: string,\n options?: SubmitUSProgramBriefOptions\n ): Promise<USProgramBrief> {\n const { span, updatedOptions } = createSpan(\"ShortCodesClient-submitUSProgramBrief\", options);\n try {\n return await this.client.shortCodesOperations.submitUSProgramBrief(\n programBriefId,\n updatedOptions\n );\n } catch (e) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n}\n"],"names":["createClientLogger","createSpanFunction","USProgramBriefMapper","__asyncValues","__asyncDelegator","coreClient","Mappers.ShortCodes","Mappers.CommunicationErrorResponse","Parameters.skip","Parameters.top","Parameters.apiVersion","Parameters.endpoint","Parameters.accept","Mappers.USProgramBrief","Parameters.body","Parameters.programBriefId","Parameters.contentType","Mappers.USProgramBriefs","Parameters.nextLink","ShortCodesClient","isKeyCredential","isTokenCredential","parseClientArguments","ShortCodesGeneratedClient","createCommunicationAuthPolicy","SpanSt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AC;YACH,MAAM,CAAC,CAAC;SACT;gBAAS;YACR,IAAI,CAAC,GAAG,EAAE,CAAC;SACZ;KACF;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../src/utils/logger.ts","../src/utils/tracing.ts","../src/generated/src/models/mappers.ts","../src/generated/src/models/parameters.ts","../src/generated/src/operations/shortCodesOperations.ts","../src/generated/src/shortCodesClientContext.ts","../src/generated/src/shortCodesClient.ts","../src/shortCodesClient.ts"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { createClientLogger } from \"@azure/logger\";\n\n/**\n * The \\@azure\\/logger configuration for this package.\n */\nexport const logger = createClientLogger(\"communication-short-codes\");\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { createSpanFunction } from \"@azure/core-tracing\";\n\n/**\n * Creates a span using the global tracer.\n * @internal\n * @param name - The name of the operation being performed.\n * @param tracingOptions - The options for the underlying http request.\n */\nexport const createSpan = createSpanFunction({\n packagePrefix: \"Azure.Communication\",\n namespace: \"Microsoft.Communication\",\n});\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const ShortCodes: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ShortCodes\",\n modelProperties: {\n shortCodes: {\n serializedName: \"shortCodes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ShortCode\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ShortCode: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ShortCode\",\n modelProperties: {\n number: {\n serializedName: \"number\",\n type: {\n name: \"String\"\n }\n },\n numberType: {\n serializedName: \"numberType\",\n type: {\n name: \"String\"\n }\n },\n countryCode: {\n serializedName: \"countryCode\",\n type: {\n name: \"String\"\n }\n },\n programBriefIds: {\n serializedName: \"programBriefIds\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n purchaseDate: {\n serializedName: \"purchaseDate\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const CommunicationErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CommunicationError\"\n }\n }\n }\n }\n};\n\nexport const CommunicationError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationError\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CommunicationError\"\n }\n }\n }\n },\n innerError: {\n serializedName: \"innererror\",\n type: {\n name: \"Composite\",\n className: \"CommunicationError\"\n }\n }\n }\n }\n};\n\nexport const USProgramBrief: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"USProgramBrief\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n },\n status: {\n serializedName: \"status\",\n type: {\n name: \"String\"\n }\n },\n number: {\n serializedName: \"number\",\n type: {\n name: \"String\"\n }\n },\n reviewNotes: {\n serializedName: \"reviewNotes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ReviewNote\"\n }\n }\n }\n },\n costs: {\n serializedName: \"costs\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ShortCodeCost\"\n }\n }\n }\n },\n submissionDate: {\n serializedName: \"submissionDate\",\n type: {\n name: \"DateTime\"\n }\n },\n statusUpdatedDate: {\n serializedName: \"statusUpdatedDate\",\n type: {\n name: \"DateTime\"\n }\n },\n programDetails: {\n serializedName: \"programDetails\",\n type: {\n name: \"Composite\",\n className: \"ProgramDetails\"\n }\n },\n companyInformation: {\n serializedName: \"companyInformation\",\n type: {\n name: \"Composite\",\n className: \"CompanyInformation\"\n }\n },\n messageDetails: {\n serializedName: \"messageDetails\",\n type: {\n name: \"Composite\",\n className: \"MessageDetails\"\n }\n },\n trafficDetails: {\n serializedName: \"trafficDetails\",\n type: {\n name: \"Composite\",\n className: \"TrafficDetails\"\n }\n },\n attachments: {\n serializedName: \"attachments\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ProgramBriefAttachmentSummary\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ReviewNote: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ReviewNote\",\n modelProperties: {\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const ShortCodeCost: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ShortCodeCost\",\n modelProperties: {\n amount: {\n serializedName: \"amount\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n currencyCode: {\n serializedName: \"currencyCode\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n billingFrequency: {\n serializedName: \"billingFrequency\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProgramDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProgramDetails\",\n modelProperties: {\n isVanity: {\n serializedName: \"isVanity\",\n type: {\n name: \"Boolean\"\n }\n },\n preferredVanityNumbers: {\n serializedName: \"preferredVanityNumbers\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n numberType: {\n serializedName: \"numberType\",\n type: {\n name: \"String\"\n }\n },\n isPoliticalCampaign: {\n serializedName: \"isPoliticalCampaign\",\n type: {\n name: \"Boolean\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n },\n url: {\n serializedName: \"url\",\n type: {\n name: \"String\"\n }\n },\n callToActionTypes: {\n serializedName: \"callToActionTypes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Enum\",\n allowedValues: [\n \"website\",\n \"pointOfSale\",\n \"sms\",\n \"interactiveVoiceResponse\"\n ]\n }\n }\n }\n },\n callToActionUrl: {\n serializedName: \"callToActionUrl\",\n type: {\n name: \"String\"\n }\n },\n callToAction: {\n serializedName: \"callToAction\",\n type: {\n name: \"String\"\n }\n },\n termsOfServiceUrl: {\n serializedName: \"termsOfServiceUrl\",\n type: {\n name: \"String\"\n }\n },\n privacyPolicyUrl: {\n serializedName: \"privacyPolicyUrl\",\n type: {\n name: \"String\"\n }\n },\n expectedDateOfService: {\n serializedName: \"expectedDateOfService\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const CompanyInformation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CompanyInformation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n url: {\n serializedName: \"url\",\n type: {\n name: \"String\"\n }\n },\n address: {\n serializedName: \"address\",\n type: {\n name: \"String\"\n }\n },\n contactInformation: {\n serializedName: \"contactInformation\",\n type: {\n name: \"Composite\",\n className: \"ContactInformation\"\n }\n },\n customerCareInformation: {\n serializedName: \"customerCareInformation\",\n type: {\n name: \"Composite\",\n className: \"CustomerCareInformation\"\n }\n }\n }\n }\n};\n\nexport const ContactInformation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ContactInformation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n phone: {\n serializedName: \"phone\",\n type: {\n name: \"String\"\n }\n },\n email: {\n serializedName: \"email\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CustomerCareInformation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomerCareInformation\",\n modelProperties: {\n tollFreeNumber: {\n serializedName: \"tollFreeNumber\",\n type: {\n name: \"String\"\n }\n },\n email: {\n serializedName: \"email\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const MessageDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MessageDetails\",\n modelProperties: {\n supportedProtocol: {\n serializedName: \"supportedProtocol\",\n type: {\n name: \"String\"\n }\n },\n recurrence: {\n serializedName: \"recurrence\",\n type: {\n name: \"String\"\n }\n },\n helpAnswerToUser: {\n serializedName: \"helpAnswerToUser\",\n type: {\n name: \"String\"\n }\n },\n optOutAnswerToUser: {\n serializedName: \"optOutAnswerToUser\",\n type: {\n name: \"String\"\n }\n },\n optInMessageToUser: {\n serializedName: \"optInMessageToUser\",\n type: {\n name: \"String\"\n }\n },\n optInAnswerFromUser: {\n serializedName: \"optInAnswerFromUser\",\n type: {\n name: \"String\"\n }\n },\n optInConfirmationMessageToUser: {\n serializedName: \"optInConfirmationMessageToUser\",\n type: {\n name: \"String\"\n }\n },\n directionality: {\n serializedName: \"directionality\",\n type: {\n name: \"String\"\n }\n },\n useCases: {\n serializedName: \"useCases\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"UseCase\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const UseCase: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UseCase\",\n modelProperties: {\n contentType: {\n serializedName: \"contentType\",\n type: {\n name: \"String\"\n }\n },\n customContentType: {\n serializedName: \"customContentType\",\n type: {\n name: \"String\"\n }\n },\n examples: {\n serializedName: \"examples\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MessageExampleSequence\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const MessageExampleSequence: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MessageExampleSequence\",\n modelProperties: {\n messages: {\n serializedName: \"messages\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MessageExample\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const MessageExample: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MessageExample\",\n modelProperties: {\n direction: {\n serializedName: \"direction\",\n type: {\n name: \"String\"\n }\n },\n text: {\n serializedName: \"text\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrafficDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrafficDetails\",\n modelProperties: {\n totalMonthlyVolume: {\n constraints: {\n InclusiveMaximum: 2147483647,\n InclusiveMinimum: 0\n },\n serializedName: \"totalMonthlyVolume\",\n type: {\n name: \"Number\"\n }\n },\n monthlyAverageMessagesFromUser: {\n constraints: {\n InclusiveMaximum: 2147483647,\n InclusiveMinimum: 0\n },\n serializedName: \"monthlyAverageMessagesFromUser\",\n type: {\n name: \"Number\"\n }\n },\n monthlyAverageMessagesToUser: {\n constraints: {\n InclusiveMaximum: 2147483647,\n InclusiveMinimum: 0\n },\n serializedName: \"monthlyAverageMessagesToUser\",\n type: {\n name: \"Number\"\n }\n },\n isSpiky: {\n serializedName: \"isSpiky\",\n type: {\n name: \"Boolean\"\n }\n },\n spikeDetails: {\n serializedName: \"spikeDetails\",\n type: {\n name: \"String\"\n }\n },\n estimatedRampUpTimeInDays: {\n constraints: {\n InclusiveMaximum: 2147483647,\n InclusiveMinimum: 0\n },\n serializedName: \"estimatedRampUpTimeInDays\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const ProgramBriefAttachmentSummary: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProgramBriefAttachmentSummary\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"Uuid\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n },\n fileName: {\n serializedName: \"fileName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const USProgramBriefs: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"USProgramBriefs\",\n modelProperties: {\n programBriefs: {\n serializedName: \"programBriefs\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"USProgramBrief\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProgramBriefAttachment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProgramBriefAttachment\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n },\n type: {\n serializedName: \"type\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n fileName: {\n serializedName: \"fileName\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n fileSizeInBytes: {\n serializedName: \"fileSizeInBytes\",\n type: {\n name: \"Number\"\n }\n },\n fileType: {\n serializedName: \"fileType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n fileContentBase64: {\n serializedName: \"fileContentBase64\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProgramBriefAttachments: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProgramBriefAttachments\",\n modelProperties: {\n attachments: {\n serializedName: \"attachments\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ProgramBriefAttachment\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n USProgramBrief as USProgramBriefMapper,\n ProgramBriefAttachment as ProgramBriefAttachmentMapper\n} from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const skip: OperationQueryParameter = {\n parameterPath: [\"options\", \"skip\"],\n mapper: {\n defaultValue: 0,\n serializedName: \"skip\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const top: OperationQueryParameter = {\n parameterPath: [\"options\", \"top\"],\n mapper: {\n defaultValue: 100,\n serializedName: \"top\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-10-25-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/merge-patch+json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const body: OperationParameter = {\n parameterPath: [\"options\", \"body\"],\n mapper: USProgramBriefMapper\n};\n\nexport const programBriefId: OperationURLParameter = {\n parameterPath: \"programBriefId\",\n mapper: {\n serializedName: \"programBriefId\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n }\n};\n\nexport const contentType1: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const id: OperationParameter = {\n parameterPath: \"id\",\n mapper: ProgramBriefAttachmentMapper\n};\n\nexport const type: OperationParameter = {\n parameterPath: \"type\",\n mapper: ProgramBriefAttachmentMapper\n};\n\nexport const fileName: OperationParameter = {\n parameterPath: \"fileName\",\n mapper: ProgramBriefAttachmentMapper\n};\n\nexport const fileSizeInBytes: OperationParameter = {\n parameterPath: [\"options\", \"fileSizeInBytes\"],\n mapper: ProgramBriefAttachmentMapper\n};\n\nexport const fileType: OperationParameter = {\n parameterPath: \"fileType\",\n mapper: ProgramBriefAttachmentMapper\n};\n\nexport const fileContentBase64: OperationParameter = {\n parameterPath: \"fileContentBase64\",\n mapper: ProgramBriefAttachmentMapper\n};\n\nexport const attachmentId: OperationURLParameter = {\n parameterPath: \"attachmentId\",\n mapper: {\n serializedName: \"attachmentId\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { ShortCodesOperations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { ShortCodesClientContext } from \"../shortCodesClientContext\";\nimport {\n ShortCode,\n ShortCodesGetShortCodesNextOptionalParams,\n ShortCodesGetShortCodesOptionalParams,\n USProgramBrief,\n ShortCodesGetUSProgramBriefsNextOptionalParams,\n ShortCodesGetUSProgramBriefsOptionalParams,\n ProgramBriefAttachment,\n ShortCodesGetUSProgramBriefAttachmentsNextOptionalParams,\n ShortCodesGetUSProgramBriefAttachmentsOptionalParams,\n ShortCodesGetShortCodesResponse,\n ShortCodesUpsertUSProgramBriefOptionalParams,\n ShortCodesUpsertUSProgramBriefResponse,\n ShortCodesDeleteUSProgramBriefOptionalParams,\n ShortCodesGetUSProgramBriefOptionalParams,\n ShortCodesGetUSProgramBriefResponse,\n ShortCodesSubmitUSProgramBriefOptionalParams,\n ShortCodesSubmitUSProgramBriefResponse,\n ShortCodesGetUSProgramBriefsResponse,\n AttachmentType,\n FileType,\n ShortCodesCreateOrReplaceUSProgramBriefAttachmentOptionalParams,\n ShortCodesCreateOrReplaceUSProgramBriefAttachmentResponse,\n ShortCodesGetUSProgramBriefAttachmentOptionalParams,\n ShortCodesGetUSProgramBriefAttachmentResponse,\n ShortCodesDeleteUSProgramBriefAttachmentOptionalParams,\n ShortCodesGetUSProgramBriefAttachmentsResponse,\n ShortCodesGetShortCodesNextResponse,\n ShortCodesGetUSProgramBriefsNextResponse,\n ShortCodesGetUSProgramBriefAttachmentsNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ShortCodesOperations operations. */\nexport class ShortCodesOperationsImpl implements ShortCodesOperations {\n private readonly client: ShortCodesClientContext;\n\n /**\n * Initialize a new instance of the class ShortCodesOperations class.\n * @param client Reference to the service client\n */\n constructor(client: ShortCodesClientContext) {\n this.client = client;\n }\n\n /**\n * Gets the list of short codes for the current resource.\n * @param options The options parameters.\n */\n public listShortCodes(\n options?: ShortCodesGetShortCodesOptionalParams\n ): PagedAsyncIterableIterator<ShortCode> {\n const iter = this.getShortCodesPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.getShortCodesPagingPage(options);\n }\n };\n }\n\n private async *getShortCodesPagingPage(\n options?: ShortCodesGetShortCodesOptionalParams\n ): AsyncIterableIterator<ShortCode[]> {\n let result = await this._getShortCodes(options);\n yield result.shortCodes || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._getShortCodesNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.shortCodes || [];\n }\n }\n\n private async *getShortCodesPagingAll(\n options?: ShortCodesGetShortCodesOptionalParams\n ): AsyncIterableIterator<ShortCode> {\n for await (const page of this.getShortCodesPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the list of US Program Briefs for the current resource.\n * @param options The options parameters.\n */\n public listUSProgramBriefs(\n options?: ShortCodesGetUSProgramBriefsOptionalParams\n ): PagedAsyncIterableIterator<USProgramBrief> {\n const iter = this.getUSProgramBriefsPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.getUSProgramBriefsPagingPage(options);\n }\n };\n }\n\n private async *getUSProgramBriefsPagingPage(\n options?: ShortCodesGetUSProgramBriefsOptionalParams\n ): AsyncIterableIterator<USProgramBrief[]> {\n let result = await this._getUSProgramBriefs(options);\n yield result.programBriefs || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._getUSProgramBriefsNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.programBriefs || [];\n }\n }\n\n private async *getUSProgramBriefsPagingAll(\n options?: ShortCodesGetUSProgramBriefsOptionalParams\n ): AsyncIterableIterator<USProgramBrief> {\n for await (const page of this.getUSProgramBriefsPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the list of attachments from a US Program Brief.\n * @param programBriefId\n * @param options The options parameters.\n */\n public listUSProgramBriefAttachments(\n programBriefId: string,\n options?: ShortCodesGetUSProgramBriefAttachmentsOptionalParams\n ): PagedAsyncIterableIterator<ProgramBriefAttachment> {\n const iter = this.getUSProgramBriefAttachmentsPagingAll(\n programBriefId,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.getUSProgramBriefAttachmentsPagingPage(\n programBriefId,\n options\n );\n }\n };\n }\n\n private async *getUSProgramBriefAttachmentsPagingPage(\n programBriefId: string,\n options?: ShortCodesGetUSProgramBriefAttachmentsOptionalParams\n ): AsyncIterableIterator<ProgramBriefAttachment[]> {\n let result = await this._getUSProgramBriefAttachments(\n programBriefId,\n options\n );\n yield result.attachments || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._getUSProgramBriefAttachmentsNext(\n programBriefId,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.attachments || [];\n }\n }\n\n private async *getUSProgramBriefAttachmentsPagingAll(\n programBriefId: string,\n options?: ShortCodesGetUSProgramBriefAttachmentsOptionalParams\n ): AsyncIterableIterator<ProgramBriefAttachment> {\n for await (const page of this.getUSProgramBriefAttachmentsPagingPage(\n programBriefId,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the list of short codes for the current resource.\n * @param options The options parameters.\n */\n private _getShortCodes(\n options?: ShortCodesGetShortCodesOptionalParams\n ): Promise<ShortCodesGetShortCodesResponse> {\n return this.client.sendOperationRequest(\n { options },\n getShortCodesOperationSpec\n );\n }\n\n /**\n * Creates or updates a US Program Brief.\n * @param programBriefId Program Brief Id. Must be a valid GUID\n * @param options The options parameters.\n */\n upsertUSProgramBrief(\n programBriefId: string,\n options?: ShortCodesUpsertUSProgramBriefOptionalParams\n ): Promise<ShortCodesUpsertUSProgramBriefResponse> {\n return this.client.sendOperationRequest(\n { programBriefId, options },\n upsertUSProgramBriefOperationSpec\n );\n }\n\n /**\n * Deletes a US Program Brief.\n * @param programBriefId Program Brief Id. Must be a valid GUID\n * @param options The options parameters.\n */\n deleteUSProgramBrief(\n programBriefId: string,\n options?: ShortCodesDeleteUSProgramBriefOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { programBriefId, options },\n deleteUSProgramBriefOperationSpec\n );\n }\n\n /**\n * Get a US Program Brief by id.\n * @param programBriefId Program Brief Id. Must be a valid GUID\n * @param options The options parameters.\n */\n getUSProgramBrief(\n programBriefId: string,\n options?: ShortCodesGetUSProgramBriefOptionalParams\n ): Promise<ShortCodesGetUSProgramBriefResponse> {\n return this.client.sendOperationRequest(\n { programBriefId, options },\n getUSProgramBriefOperationSpec\n );\n }\n\n /**\n * Submits a US Program Brief for review.\n * @param programBriefId Program Brief Id. Must be a valid GUID\n * @param options The options parameters.\n */\n submitUSProgramBrief(\n programBriefId: string,\n options?: ShortCodesSubmitUSProgramBriefOptionalParams\n ): Promise<ShortCodesSubmitUSProgramBriefResponse> {\n return this.client.sendOperationRequest(\n { programBriefId, options },\n submitUSProgramBriefOperationSpec\n );\n }\n\n /**\n * Gets the list of US Program Briefs for the current resource.\n * @param options The options parameters.\n */\n private _getUSProgramBriefs(\n options?: ShortCodesGetUSProgramBriefsOptionalParams\n ): Promise<ShortCodesGetUSProgramBriefsResponse> {\n return this.client.sendOperationRequest(\n { options },\n getUSProgramBriefsOperationSpec\n );\n }\n\n /**\n * Creates or replace an attachment on a US Program Brief.\n * @param programBriefId Program Brief Id. Must be a valid GUID\n * @param attachmentId Attachment Id. Must be a valid GUID\n * @param id Program Brief Attachment Id.\n * @param fileName The name of the file being attached\n * e.g. 'myFile01'\n * @param fileType The type of file being attached\n * e.g. 'pdf', 'jpg', 'png'\n * @param fileContentBase64 File content as base 64 encoded string\n * @param type Attachment type describing the purpose of the attachment\n * e.g. 'callToAction', 'termsOfService'\n * @param options The options parameters.\n */\n createOrReplaceUSProgramBriefAttachment(\n programBriefId: string,\n attachmentId: string,\n id: string,\n fileName: string,\n fileType: FileType,\n fileContentBase64: string,\n type: AttachmentType,\n options?: ShortCodesCreateOrReplaceUSProgramBriefAttachmentOptionalParams\n ): Promise<ShortCodesCreateOrReplaceUSProgramBriefAttachmentResponse> {\n return this.client.sendOperationRequest(\n {\n programBriefId,\n attachmentId,\n id,\n fileName,\n fileType,\n fileContentBase64,\n type,\n options\n },\n createOrReplaceUSProgramBriefAttachmentOperationSpec\n );\n }\n\n /**\n * Gets a specific an attachment from a US Program Brief.\n * @param programBriefId Program Brief Id. Must be a valid GUID\n * @param attachmentId Attachment Id. Must be a valid GUID\n * @param options The options parameters.\n */\n getUSProgramBriefAttachment(\n programBriefId: string,\n attachmentId: string,\n options?: ShortCodesGetUSProgramBriefAttachmentOptionalParams\n ): Promise<ShortCodesGetUSProgramBriefAttachmentResponse> {\n return this.client.sendOperationRequest(\n { programBriefId, attachmentId, options },\n getUSProgramBriefAttachmentOperationSpec\n );\n }\n\n /**\n * Deletes a specific attachment from a US Program Brief.\n * @param programBriefId Program Brief Id. Must be a valid GUID\n * @param attachmentId Attachment Id. Must be a valid GUID\n * @param options The options parameters.\n */\n deleteUSProgramBriefAttachment(\n programBriefId: string,\n attachmentId: string,\n options?: ShortCodesDeleteUSProgramBriefAttachmentOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { programBriefId, attachmentId, options },\n deleteUSProgramBriefAttachmentOperationSpec\n );\n }\n\n /**\n * Gets the list of attachments from a US Program Brief.\n * @param programBriefId\n * @param options The options parameters.\n */\n private _getUSProgramBriefAttachments(\n programBriefId: string,\n options?: ShortCodesGetUSProgramBriefAttachmentsOptionalParams\n ): Promise<ShortCodesGetUSProgramBriefAttachmentsResponse> {\n return this.client.sendOperationRequest(\n { programBriefId, options },\n getUSProgramBriefAttachmentsOperationSpec\n );\n }\n\n /**\n * GetShortCodesNext\n * @param nextLink The nextLink from the previous successful call to the GetShortCodes method.\n * @param options The options parameters.\n */\n private _getShortCodesNext(\n nextLink: string,\n options?: ShortCodesGetShortCodesNextOptionalParams\n ): Promise<ShortCodesGetShortCodesNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n getShortCodesNextOperationSpec\n );\n }\n\n /**\n * GetUSProgramBriefsNext\n * @param nextLink The nextLink from the previous successful call to the GetUSProgramBriefs method.\n * @param options The options parameters.\n */\n private _getUSProgramBriefsNext(\n nextLink: string,\n options?: ShortCodesGetUSProgramBriefsNextOptionalParams\n ): Promise<ShortCodesGetUSProgramBriefsNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n getUSProgramBriefsNextOperationSpec\n );\n }\n\n /**\n * GetUSProgramBriefAttachmentsNext\n * @param programBriefId\n * @param nextLink The nextLink from the previous successful call to the GetUSProgramBriefAttachments\n * method.\n * @param options The options parameters.\n */\n private _getUSProgramBriefAttachmentsNext(\n programBriefId: string,\n nextLink: string,\n options?: ShortCodesGetUSProgramBriefAttachmentsNextOptionalParams\n ): Promise<ShortCodesGetUSProgramBriefAttachmentsNextResponse> {\n return this.client.sendOperationRequest(\n { programBriefId, nextLink, options },\n getUSProgramBriefAttachmentsNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getShortCodesOperationSpec: coreClient.OperationSpec = {\n path: \"/shortCodes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ShortCodes\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.skip, Parameters.top, Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst upsertUSProgramBriefOperationSpec: coreClient.OperationSpec = {\n path: \"/shortCodes/countries/US/programBriefs/{programBriefId}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.USProgramBrief\n },\n 201: {\n bodyMapper: Mappers.USProgramBrief\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.programBriefId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteUSProgramBriefOperationSpec: coreClient.OperationSpec = {\n path: \"/shortCodes/countries/US/programBriefs/{programBriefId}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.programBriefId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getUSProgramBriefOperationSpec: coreClient.OperationSpec = {\n path: \"/shortCodes/countries/US/programBriefs/{programBriefId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.USProgramBrief\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.programBriefId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst submitUSProgramBriefOperationSpec: coreClient.OperationSpec = {\n path: \"/shortCodes/countries/US/programBriefs/{programBriefId}/:submit\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.USProgramBrief\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.programBriefId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getUSProgramBriefsOperationSpec: coreClient.OperationSpec = {\n path: \"/shortCodes/countries/US/programBriefs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.USProgramBriefs\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.skip, Parameters.top, Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrReplaceUSProgramBriefAttachmentOperationSpec: coreClient.OperationSpec = {\n path:\n \"/shortCodes/countries/US/programBriefs/{programBriefId}/attachments/{attachmentId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProgramBriefAttachment\n },\n 201: {\n bodyMapper: Mappers.ProgramBriefAttachment\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n requestBody: {\n parameterPath: {\n id: [\"id\"],\n type: [\"type\"],\n fileName: [\"fileName\"],\n fileSizeInBytes: [\"options\", \"fileSizeInBytes\"],\n fileType: [\"fileType\"],\n fileContentBase64: [\"fileContentBase64\"]\n },\n mapper: { ...Mappers.ProgramBriefAttachment, required: true }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.endpoint,\n Parameters.programBriefId,\n Parameters.attachmentId\n ],\n headerParameters: [Parameters.accept, Parameters.contentType1],\n mediaType: \"json\",\n serializer\n};\nconst getUSProgramBriefAttachmentOperationSpec: coreClient.OperationSpec = {\n path:\n \"/shortCodes/countries/US/programBriefs/{programBriefId}/attachments/{attachmentId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProgramBriefAttachment\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.endpoint,\n Parameters.programBriefId,\n Parameters.attachmentId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteUSProgramBriefAttachmentOperationSpec: coreClient.OperationSpec = {\n path:\n \"/shortCodes/countries/US/programBriefs/{programBriefId}/attachments/{attachmentId}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.endpoint,\n Parameters.programBriefId,\n Parameters.attachmentId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getUSProgramBriefAttachmentsOperationSpec: coreClient.OperationSpec = {\n path: \"/shortCodes/countries/US/programBriefs/{programBriefId}/attachments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProgramBriefAttachments\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.skip, Parameters.top, Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.programBriefId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getShortCodesNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ShortCodes\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.skip, Parameters.top, Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getUSProgramBriefsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.USProgramBriefs\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.skip, Parameters.top, Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getUSProgramBriefAttachmentsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProgramBriefAttachments\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.skip, Parameters.top, Parameters.apiVersion],\n urlParameters: [\n Parameters.endpoint,\n Parameters.programBriefId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport { ShortCodesClientOptionalParams } from \"./models\";\n\nexport class ShortCodesClientContext extends coreClient.ServiceClient {\n endpoint: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the ShortCodesClientContext class.\n * @param endpoint The communication resource, for example https://resourcename.communication.azure.com\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: ShortCodesClientOptionalParams) {\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ShortCodesClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\"\n };\n\n const packageDetails = `azsdk-js-communication-short-codes/1.0.0-beta.3`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint || \"{endpoint}\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.endpoint = endpoint;\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"2021-10-25-preview\";\n }\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { ShortCodesOperationsImpl } from \"./operations\";\nimport { ShortCodesOperations } from \"./operationsInterfaces\";\nimport { ShortCodesClientContext } from \"./shortCodesClientContext\";\nimport { ShortCodesClientOptionalParams } from \"./models\";\n\nexport class ShortCodesClient extends ShortCodesClientContext {\n /**\n * Initializes a new instance of the ShortCodesClient class.\n * @param endpoint The communication resource, for example https://resourcename.communication.azure.com\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: ShortCodesClientOptionalParams) {\n super(endpoint, options);\n this.shortCodesOperations = new ShortCodesOperationsImpl(this);\n }\n\n shortCodesOperations: ShortCodesOperations;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n/// <reference lib=\"esnext.asynciterable\" />\nimport { CommonClientOptions, InternalClientPipelineOptions } from \"@azure/core-client\";\nimport {\n AttachmentType,\n DeleteUSProgramBriefOptions,\n FileType,\n GetUSProgramBriefOptions,\n ListShortCodesOptions,\n ListUSProgramBriefsOptions,\n ShortCodesCreateOrReplaceUSProgramBriefAttachmentOptionalParams,\n ShortCodesDeleteUSProgramBriefAttachmentOptionalParams,\n ShortCodesGetUSProgramBriefAttachmentOptionalParams,\n ShortCodesGetUSProgramBriefAttachmentsOptionalParams,\n SubmitUSProgramBriefOptions,\n} from \"./models\";\nimport { KeyCredential, TokenCredential, isTokenCredential } from \"@azure/core-auth\";\nimport {\n ProgramBriefAttachment,\n ShortCode,\n ShortCodesUpsertUSProgramBriefOptionalParams,\n USProgramBrief,\n} from \"./generated/src/models/\";\nimport { createSpan, logger } from \"./utils\";\nimport { isKeyCredential, parseClientArguments } from \"@azure/communication-common\";\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { ShortCodesClient as ShortCodesGeneratedClient } from \"./generated/src\";\nimport { SpanStatusCode } from \"@azure/core-tracing\";\nimport { createCommunicationAuthPolicy } from \"@azure/communication-common\";\n/**\n * Client options used to configure the ShortCodesClient API requests.\n */\nexport interface ShortCodesClientOptions extends CommonClientOptions {}\n\nconst isShortCodesClientOptions = (options: any): options is ShortCodesClientOptions =>\n options && !isKeyCredential(options) && !isTokenCredential(options);\n\nexport class ShortCodesClient {\n /**\n * A reference to the auto-generated ShortCodes HTTP client.\n */\n private readonly client: ShortCodesGeneratedClient;\n\n public constructor(connectionString: string, options?: ShortCodesClientOptions);\n\n public constructor(\n endpoint: string,\n credential: KeyCredential,\n options?: ShortCodesClientOptions\n );\n\n public constructor(\n endpoint: string,\n credential: TokenCredential,\n options?: ShortCodesClientOptions\n );\n\n public constructor(\n connectionStringOrUrl: string,\n credentialOrOptions?: KeyCredential | TokenCredential | ShortCodesClientOptions,\n maybeOptions: ShortCodesClientOptions = {}\n ) {\n const { url, credential } = parseClientArguments(connectionStringOrUrl, credentialOrOptions);\n const options = isShortCodesClientOptions(credentialOrOptions)\n ? credentialOrOptions\n : maybeOptions;\n\n const internalPipelineOptions: InternalClientPipelineOptions = {\n ...options,\n ...{\n loggingOptions: {\n logger: logger.info,\n },\n },\n };\n\n this.client = new ShortCodesGeneratedClient(url, internalPipelineOptions);\n const authPolicy = createCommunicationAuthPolicy(credential);\n this.client.pipeline.addPolicy(authPolicy);\n }\n\n public listShortCodes(\n options: ListShortCodesOptions = {}\n ): PagedAsyncIterableIterator<ShortCode> {\n const { span, updatedOptions } = createSpan(\"ShortCodesClient-listShortCodes\", options);\n try {\n return this.client.shortCodesOperations.listShortCodes(updatedOptions);\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n public async upsertUSProgramBrief(\n programBriefId: string,\n options: ShortCodesUpsertUSProgramBriefOptionalParams = {}\n ): Promise<USProgramBrief> {\n const { span, updatedOptions } = createSpan(\"ShortCodesClient-upsertUSProgramBrief\", options);\n try {\n return await this.client.shortCodesOperations.upsertUSProgramBrief(\n programBriefId,\n updatedOptions\n );\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n public async deleteUSProgramBrief(\n programBriefId: string,\n options?: DeleteUSProgramBriefOptions\n ): Promise<void> {\n const { span, updatedOptions } = createSpan(\"ShortCodesClient-deleteUSProgramBrief\", options);\n try {\n return await this.client.shortCodesOperations.deleteUSProgramBrief(\n programBriefId,\n updatedOptions\n );\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n public async getUSProgramBrief(\n programBriefId: string,\n options?: GetUSProgramBriefOptions\n ): Promise<USProgramBrief> {\n const { span, updatedOptions } = createSpan(\"ShortCodesClient-getUSProgramBrief\", options);\n try {\n return await this.client.shortCodesOperations.getUSProgramBrief(\n programBriefId,\n updatedOptions\n );\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n public listUSProgramBriefs(\n options: ListUSProgramBriefsOptions = {}\n ): PagedAsyncIterableIterator<USProgramBrief> {\n const { span, updatedOptions } = createSpan(\"ShortCodesClient-listUSProgramBriefs\", options);\n try {\n return this.client.shortCodesOperations.listUSProgramBriefs(updatedOptions);\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n public async submitUSProgramBrief(\n programBriefId: string,\n options?: SubmitUSProgramBriefOptions\n ): Promise<USProgramBrief> {\n const { span, updatedOptions } = createSpan(\"ShortCodesClient-submitUSProgramBrief\", options);\n try {\n return await this.client.shortCodesOperations.submitUSProgramBrief(\n programBriefId,\n updatedOptions\n );\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n public async getUSProgramBriefAttachment(\n programBriefId: string,\n attachmentId: string,\n options?: ShortCodesGetUSProgramBriefAttachmentOptionalParams\n ): Promise<ProgramBriefAttachment> {\n const { span, updatedOptions } = createSpan(\n \"ShortCodesClient-getUSProgramBriefAttachment\",\n options\n );\n try {\n return await this.client.shortCodesOperations.getUSProgramBriefAttachment(\n programBriefId,\n attachmentId,\n updatedOptions\n );\n } catch (e) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n public listUSProgramBriefAttachments(\n programBriefId: string,\n options: ShortCodesGetUSProgramBriefAttachmentsOptionalParams = {}\n ): PagedAsyncIterableIterator<ProgramBriefAttachment> {\n const { span, updatedOptions } = createSpan(\n \"ShortCodesClient-listUSProgramBriefAttachments\",\n options\n );\n try {\n return this.client.shortCodesOperations.listUSProgramBriefAttachments(\n programBriefId,\n updatedOptions\n );\n } catch (e) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n public async deleteUSProgramBriefAttachment(\n programBriefId: string,\n attachmentId: string,\n options?: ShortCodesDeleteUSProgramBriefAttachmentOptionalParams\n ): Promise<void> {\n const { span, updatedOptions } = createSpan(\n \"ShortCodesClient-deleteUSProgramBriefAttachment\",\n options\n );\n try {\n return await this.client.shortCodesOperations.deleteUSProgramBriefAttachment(\n programBriefId,\n attachmentId,\n updatedOptions\n );\n } catch (e) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n public async createOrReplaceUSProgramBriefAttachment(\n programBriefId: string,\n attachmentId: string,\n fileName: string,\n fileType: FileType,\n fileContent: string,\n attachmentType: AttachmentType,\n options: ShortCodesCreateOrReplaceUSProgramBriefAttachmentOptionalParams = {}\n ): Promise<ProgramBriefAttachment> {\n const { span, updatedOptions } = createSpan(\n \"ShortCodesClient-createOrReplaceUSProgramBriefAttachment\",\n options\n );\n try {\n return await this.client.shortCodesOperations.createOrReplaceUSProgramBriefAttachment(\n programBriefId,\n attachmentId,\n attachmentId,\n fileName,\n fileType,\n fileContent,\n attachmentType,\n updatedOptions\n );\n } catch (e) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n}\n"],"names":["createClientLogger","createSpanFunction","USProgramBriefMapper","__await","__asyncValues","__asyncDelegator","coreClient","Mappers.ShortCodes","Mappers.CommunicationErrorResponse","Parameters.skip","Parameters.top","Parameters.apiVersion","Parameters.endpoint","Parameters.accept","Mappers.USProgramBrief","Parameters.body","Parameters.programBriefId","Parameters.contentType","Mappers.USProgramBriefs","Mappers.ProgramBriefAttachment","Parameters.attachmentId","Parameters.contentType1","Mappers.ProgramBriefAttachments","Parameters.nextLink","ShortCodesClient","isKeyCredential","isTokenCredential","parseClientArguments","ShortCodesGeneratedClient","createCommunicationAuthPolicy","SpanStatusCode"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAKA;;AAEG;AACI,MAAM,MAAM,GAAGA,2BAAkB,CAAC,2BAA2B,CAAC;;ACRrE;AAKA;;;;;AAKG;AACI,MAAM,UAAU,GAAGC,8BAAkB,CAAC;AAC3C,IAAA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AAI,EAAEA,0BAAc,CAAC,KAAK;gBAC1B,OAAO,EAAE,CAAC,CAAC,OAAO;AACnB,aAAA,CAAC,CAAC;AACH,YAAA,MAAM,CAAC,CAAC;AACT,SAAA;AAAS,gBAAA;YACR,IAAI,CAAC,GAAG,EAAE,CAAC;AACZ,SAAA;KACF;AACF;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** A wrapper for a list of short code entities. */\nexport interface ShortCodes {\n /** List of short codes. */\n shortCodes?: ShortCode[];\n /** Represents the URL link to the next page. */\n nextLink?: string;\n}\n\n/** Represents a number, ShortCode or AlphaId, acquired in a given country. */\nexport interface ShortCode {\n /** The value of the ShortCode or the alpha numeric e.g. '555555', 'CONTOSO', etc. */\n number?: string;\n /** The type of number e.g. 'ShortCode', 'AlphaId'. */\n numberType?: NumberType;\n /** ISO 3166 2-char code representing the country e.g. 'US'. */\n countryCode?: string;\n /** Program Brief Name. */\n programBriefIds?: string[];\n /** Date in which number was purchased. */\n purchaseDate?: Date;\n}\n\n/** The Communication Services error. */\nexport interface CommunicationErrorResponse {\n /** The Communication Services error. */\n error: CommunicationError;\n}\n\n/** The Communication Services error. */\nexport interface CommunicationError {\n /** The error code. */\n code: string;\n /** The error message. */\n message: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * Further details about specific errors that led to this error.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: CommunicationError[];\n /**\n * The inner error if any.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly innerError?: CommunicationError;\n}\n\n/**\n * Represents a US Program Brief for acquiring a short code in the United States.\n * A Program Brief provides vital information to the carriers about a messaging program or campaign that would be associated with a short code or alpha sender number.\n * A Program Brief also provides specifics about the use case, the purpose and the consumer experience receiving the message.\n */\nexport interface USProgramBrief {\n /** Program Brief Id. */\n id: string;\n /** Program Brief status e.g. 'submitted', 'approved', etc */\n status?: ProgramBriefStatus;\n /** Number provisioned for the Program Brief e.g. 555555, 'CONTOSO' */\n number?: string;\n /**\n * Notes added to the Program Brief after being reviewed to help customer understand\n * review results and necessary follow up actions.\n */\n reviewNotes?: ReviewNote[];\n /** Represents the costs tied to the number. */\n costs?: ShortCodeCost[];\n /** Date and time when the Program Brief was submitted. */\n submissionDate?: Date;\n /** Last date and time when the Program Brief status was updated. */\n statusUpdatedDate?: Date;\n programDetails?: ProgramDetails;\n companyInformation?: CompanyInformation;\n messageDetails?: MessageDetails;\n trafficDetails?: TrafficDetails;\n}\n\n/** Holds a note about a Program Brief that has gone thru stages of review process. */\nexport interface ReviewNote {\n /** Note related to a Program Brief that may imply changes needed from the client. */\n message?: string;\n /** Date and time when the note was added to the Program Brief. */\n date?: Date;\n}\n\n/** The incurred cost for a single short code. */\nexport interface ShortCodeCost {\n /** The cost amount. */\n amount: number;\n /** The ISO 4217 currency code for the cost amount, e.g. USD. */\n currencyCode: string;\n /** The frequency with which the cost gets billed. */\n billingFrequency: BillingFrequency;\n}\n\nexport interface ProgramDetails {\n /** Set to true if the request is for a vanity number. */\n isVanity?: boolean;\n /**\n * Priority ordered list of preferred vanity numbers.\n * Vanity numbers should be 5 or 6 digit when number type is ShortCode.\n * e.g. 555555, 222222.\n */\n preferredVanityNumbers?: string[];\n /** Type for desired numbers e.g. 'shortCode' or 'alphaId'. */\n numberType?: NumberType;\n /** Indicates whether the number will be used for political campaigns or not. */\n isPoliticalCampaign?: boolean;\n /**\n * A program name that indicates the purpose of filling the Program Brief and how the number will be used for messaging.\n * e.g. 'CONTOSO Shipping'\n */\n name?: string;\n /** Describes how and why the number will be used for messaging as part of the program. */\n description?: string;\n /** URL for the program or company. */\n url?: string;\n /** Indicates how the consumer can sign up to the program e.g. 'website', 'pointOfSale' and/or 'sms'. */\n signUpTypes?: ProgramSignUpType[];\n /** URL for \"call to action\" image for the program. */\n signUpUrl?: string;\n /** URL for program terms of service. */\n termsOfServiceUrl?: string;\n /** URL for privacy policy. */\n privacyPolicyUrl?: string;\n /**\n * Date in which SMS messages will start to be sent out.\n * Should follow ISO 8601 internet format for datetimes.\n * e.g. 2021-08-17T22:02:51.316Z, 2021-08-17T16:39:57-08:00, etc.\n */\n expectedDateOfService?: Date;\n}\n\nexport interface CompanyInformation {\n /** Legal entity name for customer submitting Program Brief. */\n name?: string;\n /** Company URL for customer submitting Program Brief. */\n url?: string;\n /** Company's address for the customer submitting the Program Brief. */\n address?: string;\n /** Contact Information */\n contactInformation?: ContactInformation;\n /** Customer Care Information */\n customerCareInformation?: CustomerCareInformation;\n}\n\n/** Contact Information */\nexport interface ContactInformation {\n /** Name of authorized user for purposes of submitting the Program Brief. */\n name?: string;\n /** Contact phone number for the authorized user for the customer. Use E164 format. e.g. +14086111111. */\n phone?: string;\n /** Contact email address number for the authorized user for the customer. */\n email?: string;\n}\n\n/** Customer Care Information */\nexport interface CustomerCareInformation {\n /** Customer support phone number for the customer submitting the Program Brief. Use E164 format. e.g. +18005551212 */\n tollFreeNumber?: string;\n /** Customer support email address for the customer submitting the Program Brief. */\n email?: string;\n}\n\nexport interface MessageDetails {\n /** Applicable message protocols used in the program e.g. SMS, MMS. */\n supportedProtocols?: MessageProtocol[];\n /** Indicates the nature of the messaging associated with the program e.g. 'subscription', 'transaction'. */\n recurrence?: Recurrence;\n /**\n * Message text for mobile terminated message associated with HELP keyword\n * e.g 'This is the HELP message test.'.\n */\n helpMessage?: string;\n /**\n * \"Message text for mobile terminated message associated with STOP keyword\n * e.g. 'This is the STOP message test.'.\n */\n optOutMessage?: string;\n optInMessage?: string;\n /** Keyword used to confirm double Opt-In method e.g. 'JOIN'. */\n optInReply?: string;\n confirmationMessage?: string;\n /** Describes directionality e.g. oneWay or twoWay */\n directionality?: MessageDirectionality;\n /** Provides message exchange examples from and to end user for each supported message content type. */\n useCases?: UseCase[];\n}\n\n/** Describes a messaging use case for a given content type by providing example messages. */\nexport interface UseCase {\n /** Indicates the messaging content category used in the program e.g. 'ringTones', 'smsChat', 'video', 'loyaltyProgramPointsPrizes', 'gifting', 'inApplicationBilling', 'textToScreen'. */\n contentCategory?: MessageContentCategory;\n /** Example messages to be sent to and from the end user for the indicated content type. */\n examples?: MessageExampleSequence[];\n}\n\n/** A sequence of example messages to and from the end user. */\nexport interface MessageExampleSequence {\n /** Example messages to be sent to and from the end user. */\n messages?: MessageExample[];\n}\n\n/** Represents a message example to be sent from or to the end user. */\nexport interface MessageExample {\n /** Indicates whether the message example is supposed to be sent to or from the end user e.g. toUser */\n direction?: MessageDirection;\n /** Actual example text for the message e.g. 'Want me to notify you when package in the way?' */\n text?: string;\n}\n\nexport interface TrafficDetails {\n /** Estimated total messages per month. */\n totalMonthlyVolume?: number;\n /** Estimated number of Mobile-Originated messages likely to be received from a user per month. */\n monthlyAverageMessagesFromUser?: number;\n /** Estimated number of Mobile-Terminated messages likely to be sent per user per month. */\n monthlyAverageMessagesToUser?: number;\n /** Indicates if the nature of the messaging traffic will be bursty. */\n isSpiky?: boolean;\n /**\n * If isSpiky=true, then explain additional details about the traffic pattern\n * e.g. 'Higher traffic expected during holiday season and Black Friday.'.\n */\n spikeDetails?: string;\n /** Numbers of days in which is expected to start sending messages from the short code. */\n estimatedRampUpTimeInDays?: number;\n}\n\n/** A wrapper for a list of USProgramBrief entities. */\nexport interface USProgramBriefs {\n /** List of Program Briefs. */\n programBriefs?: USProgramBrief[];\n /** Represents the URL link to the next page. */\n nextLink?: string;\n}\n\n/** Defines values for NumberType. */\nexport type NumberType = \"shortCode\" | \"alphaId\";\n/** Defines values for ProgramBriefStatus. */\nexport type ProgramBriefStatus =\n | \"submitted\"\n | \"approved\"\n | \"submitNewVanityNumbers\"\n | \"updateProgramBrief\"\n | \"draft\"\n | \"denied\";\n/** Defines values for BillingFrequency. */\nexport type BillingFrequency = \"monthly\" | \"once\";\n/** Defines values for ProgramSignUpType. */\nexport type ProgramSignUpType =\n | \"website\"\n | \"pointOfSale\"\n | \"sms\"\n | \"interactiveVoiceResponse\";\n/** Defines values for MessageProtocol. */\nexport type MessageProtocol = \"sms\" | \"mms\";\n/** Defines values for Recurrence. */\nexport type Recurrence = \"subscription\" | \"transaction\";\n/** Defines values for MessageDirectionality. */\nexport type MessageDirectionality = \"oneWay\" | \"twoWay\";\n/** Defines values for MessageContentCategory. */\nexport type MessageContentCategory =\n | \"ringTones\"\n | \"smsChat\"\n | \"video\"\n | \"loyaltyProgramPointsPrizes\"\n | \"gifting\"\n | \"inApplicationBilling\"\n | \"textToScreen\"\n | \"games\"\n | \"audioChat\"\n | \"mmsPictures\"\n | \"sweepstakesContestAuction\"\n | \"financialBanking\"\n | \"premiumWap\"\n | \"queryService\"\n | \"wallpaperScreensaver\"\n | \"voting\"\n | \"application\"\n | \"mobileGivingDonations\"\n | \"coupons\"\n | \"loyaltyProgram\"\n | \"noPointsPrizes\"\n | \"informationalAlerts\"\n | \"microBilling\"\n | \"trivia\"\n | \"entertainmentAlerts\"\n | \"accountNotification\"\n | \"ageGatedContent\"\n | \"conversationalMessaging\"\n | \"deliveryNotification\"\n | \"education\"\n | \"emergencyAlerts\"\n | \"fraudAlerts\"\n | \"loanArrangement\"\n | \"onBehalfOfCarrier\"\n | \"political\"\n | \"promotionalMarketing\"\n | \"publicServiceAnnouncements\"\n | \"securityAlerts\"\n | \"socialMedia\"\n | \"twoFactorAuthentication\"\n | \"other\";\n/** Defines values for MessageDirection. */\nexport type MessageDirection = \"toUser\" | \"fromUser\";\n\n/** Optional parameters. */\nexport interface ShortCodesGetShortCodesOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. */\n top?: number;\n}\n\n/** Contains response data for the getShortCodes operation. */\nexport type ShortCodesGetShortCodesResponse = ShortCodes;\n\n/** Optional parameters. */\nexport interface ShortCodesUpsertUSProgramBriefOptionalParams\n extends coreClient.OperationOptions {\n /** Data to create new a Program Brief or fields to update an existing Program Brief */\n body?: USProgramBrief;\n}\n\n/** Contains response data for the upsertUSProgramBrief operation. */\nexport type ShortCodesUpsertUSProgramBriefResponse = USProgramBrief;\n\n/** Optional parameters. */\nexport interface ShortCodesDeleteUSProgramBriefOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface ShortCodesGetUSProgramBriefOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getUSProgramBrief operation. */\nexport type ShortCodesGetUSProgramBriefResponse = USProgramBrief;\n\n/** Optional parameters. */\nexport interface ShortCodesSubmitUSProgramBriefOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the submitUSProgramBrief operation. */\nexport type ShortCodesSubmitUSProgramBriefResponse = USProgramBrief;\n\n/** Optional parameters. */\nexport interface ShortCodesGetUSProgramBriefsOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. */\n top?: number;\n}\n\n/** Contains response data for the getUSProgramBriefs operation. */\nexport type ShortCodesGetUSProgramBriefsResponse = USProgramBriefs;\n\n/** Optional parameters. */\nexport interface ShortCodesGetShortCodesNextOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. */\n top?: number;\n}\n\n/** Contains response data for the getShortCodesNext operation. */\nexport type ShortCodesGetShortCodesNextResponse = ShortCodes;\n\n/** Optional parameters. */\nexport interface ShortCodesGetUSProgramBriefsNextOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. */\n top?: number;\n}\n\n/** Contains response data for the getUSProgramBriefsNext operation. */\nexport type ShortCodesGetUSProgramBriefsNextResponse = USProgramBriefs;\n\n/** Optional parameters. */\nexport interface ShortCodesClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** A wrapper for a list of short code entities. */\nexport interface ShortCodes {\n /** List of short codes. */\n shortCodes?: ShortCode[];\n /** Represents the URL link to the next page. */\n nextLink?: string;\n}\n\n/** Represents a number, ShortCode or AlphaId, acquired in a given country. */\nexport interface ShortCode {\n /** The value of the ShortCode or the alpha numeric e.g. '555555', 'CONTOSO', etc. */\n number?: string;\n /** The type of number e.g. 'ShortCode', 'AlphaId'. */\n numberType?: NumberType;\n /** ISO 3166 2-char code representing the country e.g. 'US'. */\n countryCode?: string;\n /** Program Brief Name. */\n programBriefIds?: string[];\n /** Date in which number was purchased. */\n purchaseDate?: Date;\n}\n\n/** The Communication Services error. */\nexport interface CommunicationErrorResponse {\n /** The Communication Services error. */\n error: CommunicationError;\n}\n\n/** The Communication Services error. */\nexport interface CommunicationError {\n /** The error code. */\n code: string;\n /** The error message. */\n message: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * Further details about specific errors that led to this error.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: CommunicationError[];\n /**\n * The inner error if any.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly innerError?: CommunicationError;\n}\n\n/**\n * Represents a US Program Brief for acquiring a short code in the United States.\n * A Program Brief provides vital information to the carriers about a messaging program or campaign that would be associated with a short code or alpha sender number.\n * A Program Brief also provides specifics about the use case, the purpose and the consumer experience receiving the message.\n */\nexport interface USProgramBrief {\n /** Program Brief Id. */\n id: string;\n /** Program Brief status e.g. 'submitted', 'approved', etc */\n status?: ProgramBriefStatus;\n /** Number provisioned for the Program Brief e.g. 555555, 'CONTOSO' */\n number?: string;\n /**\n * Notes added to the Program Brief after being reviewed to help customer understand\n * review results and necessary follow up actions.\n */\n reviewNotes?: ReviewNote[];\n /** Represents the costs tied to the number. */\n costs?: ShortCodeCost[];\n /** Date and time when the Program Brief was submitted. */\n submissionDate?: Date;\n /** Last date and time when the Program Brief status was updated. */\n statusUpdatedDate?: Date;\n programDetails?: ProgramDetails;\n companyInformation?: CompanyInformation;\n messageDetails?: MessageDetails;\n trafficDetails?: TrafficDetails;\n /** A list of summarized data of attachments currently added to the Program Brief */\n attachments?: ProgramBriefAttachmentSummary[];\n}\n\n/** Holds a note about a Program Brief that has gone thru stages of review process. */\nexport interface ReviewNote {\n /** Note related to a Program Brief that may imply changes needed from the client. */\n message?: string;\n /** Date and time when the note was added to the Program Brief. */\n date?: Date;\n}\n\n/** The incurred cost for a single short code. */\nexport interface ShortCodeCost {\n /** The cost amount. */\n amount: number;\n /** The ISO 4217 currency code for the cost amount, e.g. USD. */\n currencyCode: string;\n /** The frequency with which the cost gets billed. */\n billingFrequency: BillingFrequency;\n}\n\nexport interface ProgramDetails {\n /** Set to true if the request is for a vanity number. */\n isVanity?: boolean;\n /**\n * Priority ordered list of preferred vanity numbers.\n * Vanity numbers should be 5 or 6 digit when number type is ShortCode.\n * e.g. 555555, 222222.\n */\n preferredVanityNumbers?: string[];\n /** Type for desired numbers e.g. 'shortCode' or 'alphaId'. */\n numberType?: NumberType;\n /** Indicates whether the number will be used for political campaigns or not. */\n isPoliticalCampaign?: boolean;\n /**\n * A program name that indicates the purpose of filling the Program Brief and how the number will be used for messaging.\n * e.g. 'CONTOSO Shipping'\n */\n name?: string;\n /** Describes how and why the number will be used for messaging as part of the program. */\n description?: string;\n /** URL for the program or company. */\n url?: string;\n /** Indicates how the consumer can sign up to the program e.g. 'website', 'pointOfSale' and/or 'sms'. */\n callToActionTypes?: CallToActionType[];\n /** URL for \"call to action\" image for the program. */\n callToActionUrl?: string;\n /** Call to action text. To be provided when InteractiveVoiceResponse is specified as call to action type */\n callToAction?: string;\n /** URL for program terms of service. */\n termsOfServiceUrl?: string;\n /** URL for privacy policy. */\n privacyPolicyUrl?: string;\n /**\n * Date in which SMS messages will start to be sent out.\n * Should follow ISO 8601 internet format for datetimes.\n * e.g. 2021-08-17T22:02:51.316Z, 2021-08-17T16:39:57-08:00, etc.\n */\n expectedDateOfService?: Date;\n}\n\nexport interface CompanyInformation {\n /** Legal entity name for customer submitting Program Brief. */\n name?: string;\n /** Company URL for customer submitting Program Brief. */\n url?: string;\n /** Company's address for the customer submitting the Program Brief. */\n address?: string;\n /** Contact Information */\n contactInformation?: ContactInformation;\n /** Customer Care Information */\n customerCareInformation?: CustomerCareInformation;\n}\n\n/** Contact Information */\nexport interface ContactInformation {\n /** Name of authorized user for purposes of submitting the Program Brief. */\n name?: string;\n /** Contact phone number for the authorized user for the customer. Use E164 format. e.g. +14086111111. */\n phone?: string;\n /** Contact email address number for the authorized user for the customer. */\n email?: string;\n}\n\n/** Customer Care Information */\nexport interface CustomerCareInformation {\n /** Customer support phone number for the customer submitting the Program Brief. Use E164 format. e.g. +18005551212 */\n tollFreeNumber?: string;\n /** Customer support email address for the customer submitting the Program Brief. */\n email?: string;\n}\n\nexport interface MessageDetails {\n /** Applicable message protocol used in the program e.g. SMS or MMS. */\n supportedProtocol?: MessageProtocol;\n /** Indicates the nature of the messaging associated with the program e.g. 'subscription', 'transaction'. */\n recurrence?: Recurrence;\n /**\n * Message text for mobile terminated message associated with HELP keyword\n * e.g 'This is the HELP message test.'.\n */\n helpAnswerToUser?: string;\n /**\n * \"Message text for mobile terminated message associated with STOP keyword\n * e.g. 'This is the STOP message test.'.\n */\n optOutAnswerToUser?: string;\n optInMessageToUser?: string;\n /** Keyword used to confirm double Opt-In method e.g. 'JOIN'. */\n optInAnswerFromUser?: string;\n optInConfirmationMessageToUser?: string;\n /** Describes directionality e.g. oneWay or twoWay */\n directionality?: MessageDirectionality;\n /** Provides message exchange examples from and to end user for each supported message content type. */\n useCases?: UseCase[];\n}\n\n/** Describes a messaging use case for a given content type by providing example messages. */\nexport interface UseCase {\n /** Indicates the messaging content type used in the program e.g. 'accountNotificationInformationalAlerts', 'chatConversationalMessaging', 'mmsVideo', 'socialMedia'. */\n contentType?: MessageContentType;\n /** Indicates the messaging content type used in the program whenever it is not any of the pre-defined content types */\n customContentType?: string;\n /** Example messages to be sent to and from the end user for the indicated content type. */\n examples?: MessageExampleSequence[];\n}\n\n/** A sequence of example messages to and from the end user. */\nexport interface MessageExampleSequence {\n /** Example messages to be sent to and from the end user. */\n messages?: MessageExample[];\n}\n\n/** Represents a message example to be sent from or to the end user. */\nexport interface MessageExample {\n /** Indicates whether the message example is supposed to be sent to or from the end user e.g. toUser */\n direction?: MessageDirection;\n /** Actual example text for the message e.g. 'Want me to notify you when package in the way?' */\n text?: string;\n}\n\nexport interface TrafficDetails {\n /** Estimated total messages per month. */\n totalMonthlyVolume?: number;\n /** Estimated number of Mobile-Originated messages likely to be received from a user per month. */\n monthlyAverageMessagesFromUser?: number;\n /** Estimated number of Mobile-Terminated messages likely to be sent per user per month. */\n monthlyAverageMessagesToUser?: number;\n /** Indicates if the nature of the messaging traffic will be bursty. */\n isSpiky?: boolean;\n /**\n * If isSpiky=true, then explain additional details about the traffic pattern\n * e.g. 'Higher traffic expected during holiday season and Black Friday.'.\n */\n spikeDetails?: string;\n /** Numbers of days in which is expected to start sending messages from the short code. */\n estimatedRampUpTimeInDays?: number;\n}\n\n/** A summary of Program Brief File Attachment data */\nexport interface ProgramBriefAttachmentSummary {\n /** Program Brief Attachment Id. */\n id?: string;\n /**\n * Attachment type describing the purpose of the attachment\n * e.g. 'callToAction', 'termsOfService'\n */\n type?: AttachmentType;\n /**\n * The name of the attached file\n * e.g. 'myFile01'\n */\n fileName?: string;\n}\n\n/** A wrapper for a list of USProgramBrief entities. */\nexport interface USProgramBriefs {\n /** List of Program Briefs. */\n programBriefs?: USProgramBrief[];\n /** Represents the URL link to the next page. */\n nextLink?: string;\n}\n\n/** A File Attachment for a Program Brief */\nexport interface ProgramBriefAttachment {\n /** Program Brief Attachment Id. */\n id: string;\n /**\n * Attachment type describing the purpose of the attachment\n * e.g. 'callToAction', 'termsOfService'\n */\n type: AttachmentType;\n /**\n * The name of the file being attached\n * e.g. 'myFile01'\n */\n fileName: string;\n /** File size in bytes. */\n fileSizeInBytes?: number;\n /**\n * The type of file being attached\n * e.g. 'pdf', 'jpg', 'png'\n */\n fileType: FileType;\n /** File content as base 64 encoded string */\n fileContentBase64: string;\n}\n\n/** A wrapper for a list of ProgramBriefAttachment entities. */\nexport interface ProgramBriefAttachments {\n /** List of Program Brief attachments. */\n attachments?: ProgramBriefAttachment[];\n /** Represents the URL link to the next page. */\n nextLink?: string;\n}\n\n/** Defines values for NumberType. */\nexport type NumberType = \"shortCode\" | \"alphaId\";\n/** Defines values for ProgramBriefStatus. */\nexport type ProgramBriefStatus =\n | \"submitted\"\n | \"approved\"\n | \"submitNewVanityNumbers\"\n | \"updateProgramBrief\"\n | \"draft\"\n | \"denied\";\n/** Defines values for BillingFrequency. */\nexport type BillingFrequency = \"monthly\" | \"once\";\n/** Defines values for CallToActionType. */\nexport type CallToActionType =\n | \"website\"\n | \"pointOfSale\"\n | \"sms\"\n | \"interactiveVoiceResponse\";\n/** Defines values for MessageProtocol. */\nexport type MessageProtocol = \"sms\" | \"mms\";\n/** Defines values for Recurrence. */\nexport type Recurrence = \"subscription\" | \"transaction\";\n/** Defines values for MessageDirectionality. */\nexport type MessageDirectionality = \"oneWay\" | \"twoWay\";\n/** Defines values for MessageContentType. */\nexport type MessageContentType =\n | \"accountNotificationInformationalAlerts\"\n | \"ageGatedContent\"\n | \"chatConversationalMessaging\"\n | \"deliveryNotification\"\n | \"donationsPledge\"\n | \"education\"\n | \"fraudAlerts\"\n | \"loanArrangement\"\n | \"loyaltyProgram\"\n | \"marketingAndPromotion\"\n | \"mmsPicture\"\n | \"mmsVideo\"\n | \"oneTimePasswordOrMultiFactorAuthentication\"\n | \"political\"\n | \"publicServiceAnnouncements\"\n | \"securityAlerts\"\n | \"socialMedia\"\n | \"sweepstakesOrContest\"\n | \"votingOrPolling\"\n | \"other\";\n/** Defines values for MessageDirection. */\nexport type MessageDirection = \"toUser\" | \"fromUser\";\n/** Defines values for AttachmentType. */\nexport type AttachmentType =\n | \"callToAction\"\n | \"termsOfService\"\n | \"privacyPolicy\"\n | \"other\";\n/** Defines values for FileType. */\nexport type FileType = \"png\" | \"jpg\" | \"jpeg\" | \"pdf\";\n\n/** Optional parameters. */\nexport interface ShortCodesGetShortCodesOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. */\n top?: number;\n}\n\n/** Contains response data for the getShortCodes operation. */\nexport type ShortCodesGetShortCodesResponse = ShortCodes;\n\n/** Optional parameters. */\nexport interface ShortCodesUpsertUSProgramBriefOptionalParams\n extends coreClient.OperationOptions {\n /** Data to create new a Program Brief or fields to update an existing Program Brief */\n body?: USProgramBrief;\n}\n\n/** Contains response data for the upsertUSProgramBrief operation. */\nexport type ShortCodesUpsertUSProgramBriefResponse = USProgramBrief;\n\n/** Optional parameters. */\nexport interface ShortCodesDeleteUSProgramBriefOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface ShortCodesGetUSProgramBriefOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getUSProgramBrief operation. */\nexport type ShortCodesGetUSProgramBriefResponse = USProgramBrief;\n\n/** Optional parameters. */\nexport interface ShortCodesSubmitUSProgramBriefOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the submitUSProgramBrief operation. */\nexport type ShortCodesSubmitUSProgramBriefResponse = USProgramBrief;\n\n/** Optional parameters. */\nexport interface ShortCodesGetUSProgramBriefsOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. */\n top?: number;\n}\n\n/** Contains response data for the getUSProgramBriefs operation. */\nexport type ShortCodesGetUSProgramBriefsResponse = USProgramBriefs;\n\n/** Optional parameters. */\nexport interface ShortCodesCreateOrReplaceUSProgramBriefAttachmentOptionalParams\n extends coreClient.OperationOptions {\n /** File size in bytes. */\n fileSizeInBytes?: number;\n}\n\n/** Contains response data for the createOrReplaceUSProgramBriefAttachment operation. */\nexport type ShortCodesCreateOrReplaceUSProgramBriefAttachmentResponse = ProgramBriefAttachment;\n\n/** Optional parameters. */\nexport interface ShortCodesGetUSProgramBriefAttachmentOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getUSProgramBriefAttachment operation. */\nexport type ShortCodesGetUSProgramBriefAttachmentResponse = ProgramBriefAttachment;\n\n/** Optional parameters. */\nexport interface ShortCodesDeleteUSProgramBriefAttachmentOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface ShortCodesGetUSProgramBriefAttachmentsOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. */\n top?: number;\n}\n\n/** Contains response data for the getUSProgramBriefAttachments operation. */\nexport type ShortCodesGetUSProgramBriefAttachmentsResponse = ProgramBriefAttachments;\n\n/** Optional parameters. */\nexport interface ShortCodesGetShortCodesNextOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. */\n top?: number;\n}\n\n/** Contains response data for the getShortCodesNext operation. */\nexport type ShortCodesGetShortCodesNextResponse = ShortCodes;\n\n/** Optional parameters. */\nexport interface ShortCodesGetUSProgramBriefsNextOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. */\n top?: number;\n}\n\n/** Contains response data for the getUSProgramBriefsNext operation. */\nexport type ShortCodesGetUSProgramBriefsNextResponse = USProgramBriefs;\n\n/** Optional parameters. */\nexport interface ShortCodesGetUSProgramBriefAttachmentsNextOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. */\n top?: number;\n}\n\n/** Contains response data for the getUSProgramBriefAttachmentsNext operation. */\nexport type ShortCodesGetUSProgramBriefAttachmentsNextResponse = ProgramBriefAttachments;\n\n/** Optional parameters. */\nexport interface ShortCodesClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}