@azure-tools/communication-short-codes 1.0.0-beta.1 → 1.0.0-beta.2
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/CHANGELOG.md +7 -0
- package/dist/index.js +80 -155
- package/dist/index.js.map +1 -1
- package/dist-esm/src/generated/src/index.js +1 -0
- package/dist-esm/src/generated/src/index.js.map +1 -1
- package/dist-esm/src/generated/src/models/index.js.map +1 -1
- package/dist-esm/src/generated/src/models/mappers.js +8 -65
- package/dist-esm/src/generated/src/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/src/models/parameters.js +1 -0
- package/dist-esm/src/generated/src/models/parameters.js.map +1 -1
- package/dist-esm/src/generated/src/operations/index.js +1 -1
- package/dist-esm/src/generated/src/operations/index.js.map +1 -1
- package/dist-esm/src/generated/src/operations/{shortCodes.js → shortCodesOperations.js} +19 -46
- package/dist-esm/src/generated/src/operations/shortCodesOperations.js.map +1 -0
- package/dist-esm/src/generated/src/operationsInterfaces/index.js +9 -0
- package/dist-esm/src/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/generated/src/operationsInterfaces/shortCodesOperations.js +9 -0
- package/dist-esm/src/generated/src/operationsInterfaces/shortCodesOperations.js.map +1 -0
- package/dist-esm/src/generated/src/shortCodesClient.js +2 -2
- package/dist-esm/src/generated/src/shortCodesClient.js.map +1 -1
- package/dist-esm/src/generated/src/shortCodesClientContext.js +13 -11
- package/dist-esm/src/generated/src/shortCodesClientContext.js.map +1 -1
- package/dist-esm/src/models.js.map +1 -1
- package/dist-esm/src/shortCodesClient.js +19 -29
- package/dist-esm/src/shortCodesClient.js.map +1 -1
- package/dist-esm/src/utils/constants.js +1 -1
- package/dist-esm/src/utils/constants.js.map +1 -1
- package/dist-esm/src/utils/tracing.js +1 -1
- package/dist-esm/src/utils/tracing.js.map +1 -1
- package/package.json +32 -28
- package/types/communication-short-codes.d.ts +10 -10
- package/dist-esm/src/generated/src/operations/shortCodes.js.map +0 -1
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/utils/constants.ts","../src/utils/logger.ts","../src/utils/tracing.ts","../src/generated/src/models/mappers.ts","../src/generated/src/models/parameters.ts","../src/generated/src/operations/shortCodes.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\nexport const SDK_VERSION: string = \"1.0.0-beta.1\";\n","// 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 coreHttp from \"@azure/core-http\";\n\nexport const ShortCodes: coreHttp.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: coreHttp.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: \"Enum\",\n allowedValues: [\"shortCode\", \"alphaId\"]\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: coreHttp.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: coreHttp.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: coreHttp.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: \"Enum\",\n allowedValues: [\n \"submitted\",\n \"approved\",\n \"submitNewVanityNumbers\",\n \"updateProgramBrief\",\n \"draft\",\n \"denied\"\n ]\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: coreHttp.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: coreHttp.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: \"Enum\",\n allowedValues: [\"monthly\", \"once\"]\n }\n }\n }\n }\n};\n\nexport const ProgramDetails: coreHttp.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: \"Enum\",\n allowedValues: [\"shortCode\", \"alphaId\"]\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: coreHttp.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: coreHttp.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: coreHttp.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: coreHttp.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: \"Enum\",\n allowedValues: [\"subscription\", \"transaction\"]\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: \"Enum\",\n allowedValues: [\"oneWay\", \"twoWay\"]\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: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UseCase\",\n modelProperties: {\n contentCategory: {\n serializedName: \"contentCategory\",\n type: {\n name: \"Enum\",\n allowedValues: [\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 ]\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: coreHttp.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: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MessageExample\",\n modelProperties: {\n direction: {\n serializedName: \"direction\",\n type: {\n name: \"Enum\",\n allowedValues: [\"toUser\", \"fromUser\"]\n }\n },\n text: {\n serializedName: \"text\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrafficDetails: coreHttp.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: coreHttp.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-http\";\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 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 * as coreHttp from \"@azure/core-http\";\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 ShortCodesGetUSProgramBriefResponse,\n ShortCodesSubmitUSProgramBriefResponse,\n ShortCodesGetUSProgramBriefsResponse,\n ShortCodesGetShortCodesNextResponse,\n ShortCodesGetUSProgramBriefsNextResponse\n} from \"../models\";\n\n/** Class representing a ShortCodes. */\nexport class ShortCodes {\n private readonly client: ShortCodesClientContext;\n\n /**\n * Initialize a new instance of the class ShortCodes 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 const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n getShortCodesOperationSpec\n ) as Promise<ShortCodesGetShortCodesResponse>;\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 const operationArguments: coreHttp.OperationArguments = {\n programBriefId,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n upsertUSProgramBriefOperationSpec\n ) as Promise<ShortCodesUpsertUSProgramBriefResponse>;\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?: coreHttp.OperationOptions\n ): Promise<coreHttp.RestResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n programBriefId,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n deleteUSProgramBriefOperationSpec\n ) as Promise<coreHttp.RestResponse>;\n }\n\n /**\n * @param programBriefId\n * @param options The options parameters.\n */\n getUSProgramBrief(\n programBriefId: string,\n options?: coreHttp.OperationOptions\n ): Promise<ShortCodesGetUSProgramBriefResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n programBriefId,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n getUSProgramBriefOperationSpec\n ) as Promise<ShortCodesGetUSProgramBriefResponse>;\n }\n\n /**\n * @param programBriefId\n * @param options The options parameters.\n */\n submitUSProgramBrief(\n programBriefId: string,\n options?: coreHttp.OperationOptions\n ): Promise<ShortCodesSubmitUSProgramBriefResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n programBriefId,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n submitUSProgramBriefOperationSpec\n ) as Promise<ShortCodesSubmitUSProgramBriefResponse>;\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 const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n getUSProgramBriefsOperationSpec\n ) as Promise<ShortCodesGetUSProgramBriefsResponse>;\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 const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n getShortCodesNextOperationSpec\n ) as Promise<ShortCodesGetShortCodesNextResponse>;\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 const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n getUSProgramBriefsNextOperationSpec\n ) as Promise<ShortCodesGetUSProgramBriefsNextResponse>;\n }\n}\n// Operation Specifications\nconst serializer = new coreHttp.Serializer(Mappers, /* isXml */ false);\n\nconst getShortCodesOperationSpec: coreHttp.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: coreHttp.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: coreHttp.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: coreHttp.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: coreHttp.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: coreHttp.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: coreHttp.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: coreHttp.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 coreHttp from \"@azure/core-http\";\nimport { ShortCodesClientOptionalParams } from \"./models\";\n\nconst packageName = \"azure-communication-short-codes\";\nconst packageVersion = \"1.0.0-beta.1\";\n\nexport class ShortCodesClientContext extends coreHttp.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\n if (!options.userAgent) {\n const defaultUserAgent = coreHttp.getDefaultUserAgentValue();\n options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;\n }\n\n super(undefined, options);\n\n this.requestContentType = \"application/json; charset=utf-8\";\n\n this.baseUri = options.endpoint || \"{endpoint}\";\n\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 { ShortCodes } from \"./operations\";\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.shortCodes = new ShortCodes(this);\n }\n\n shortCodes: ShortCodes;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n/// <reference lib=\"esnext.asynciterable\" />\n\nimport {\n parseClientArguments,\n isKeyCredential,\n createCommunicationAuthPolicy\n} from \"@azure/communication-common\";\nimport { isTokenCredential, KeyCredential, TokenCredential } from \"@azure/core-auth\";\nimport {\n PipelineOptions,\n InternalPipelineOptions,\n createPipelineFromOptions,\n RestResponse\n} from \"@azure/core-http\";\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { logger, createSpan, SDK_VERSION } from \"./utils\";\nimport { ShortCodesClient as ShortCodesGeneratedClient } from \"./generated/src\";\nimport { ShortCodes as GeneratedClient } from \"./generated/src/operations\";\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\";\n\n/**\n * Client options used to configure the ShortCodesClient API requests.\n */\nexport interface ShortCodesClientOptions extends PipelineOptions {}\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: GeneratedClient;\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 const libInfo = `azsdk-js-communication-short-codes/${SDK_VERSION}`;\n\n if (!options.userAgentOptions) {\n options.userAgentOptions = {};\n }\n\n if (options.userAgentOptions.userAgentPrefix) {\n options.userAgentOptions.userAgentPrefix = `${options.userAgentOptions.userAgentPrefix} ${libInfo}`;\n } else {\n options.userAgentOptions.userAgentPrefix = libInfo;\n }\n\n const internalPipelineOptions: InternalPipelineOptions = {\n ...options,\n ...{\n loggingOptions: {\n logger: logger.info\n }\n }\n };\n\n const authPolicy = createCommunicationAuthPolicy(credential);\n const pipeline = createPipelineFromOptions(internalPipelineOptions, authPolicy);\n this.client = new ShortCodesGeneratedClient(url, pipeline).shortCodes;\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.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<RestResponse> {\n const { span, updatedOptions } = createSpan(\"ShortCodesClient-upsertUSProgramBrief\", options);\n try {\n return await this.client.upsertUSProgramBrief(programBriefId, 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 deleteUSProgramBrief(\n programBriefId: string,\n options?: DeleteUSProgramBriefOptions\n ): Promise<RestResponse> {\n const { span, updatedOptions } = createSpan(\"ShortCodesClient-deleteUSProgramBrief\", options);\n try {\n return await this.client.deleteUSProgramBrief(programBriefId, 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 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.getUSProgramBrief(programBriefId, 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 listUSProgramBriefs(\n options: ListUSProgramBriefsOptions = {}\n ): PagedAsyncIterableIterator<USProgramBrief> {\n const { span, updatedOptions } = createSpan(\"ShortCodesClient-listUSProgramBriefs\", options);\n try {\n return this.client.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<RestResponse> {\n const { span, updatedOptions } = createSpan(\"ShortCodesClient-submitUSProgramBrief\", options);\n try {\n return await this.client.submitUSProgramBrief(programBriefId, 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"],"names":["createClientLogger","createSpanFunction","USProgramBriefMapper","ShortCodes","__asyncValues","__asyncDelegator","coreHttp.operationOptionsToRequestOptionsBase","coreHttp.Serializer","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","coreHttp.ServiceClient","coreHttp.getDefaultUserAgentValue","isKeyCredential","isTokenCredential","ShortCodesClient","parseClientArguments","createCommunicationAuthPolicy","createPipelineFromOptions","ShortCodesGeneratedClient","SpanStatusCode"],"mappings":";;;;;;;;;;;AAAA;AACA;AAEO,MAAM,WAAW,GAAW,cAAc;;ACHjD;AACA,AAIA;;;AAGA,AAAO,MAAM,MAAM,GAAGA,2BAAkB,CAAC,2BAA2B,CAAC,CAAC;;ACRtE;AACA,AAIA;;;;;;AAMA,AAAO,MAAM,UAAU,GAAGC,8BAAkB,CAAC;IAC3C,aAAa,EAAE,qBAAqB;IACpC,SAAS,EAAE,yBAAyB;CACrC,CAAC,CAAC;;ACdH;;;;;;;AAUA,AAAO,MAAM,UAAU,GAA6B;IAClD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,YAAY;QACvB,eAAe,EAAE;YACf,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,WAAW;yBACvB;qBACF;iBACF;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,AAAO,MAAM,SAAS,GAA6B;IACjD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,WAAW;QACtB,eAAe,EAAE;YACf,MAAM,EAA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AEA,0BAAc,CAAC,KAAK;gBAC1B,OAAO,EAAE,CAAC,CAAC,OAAO;aACnB,CAAC,CAAC;YACH,MAAM,CAAC,CAAC;SACT;gBAAS;YACR,IAAI,CAAC,GAAG,EAAE,CAAC;SACZ;KACF;CACF;;;;"}
|
|
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","createComm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AO;aACnB,CAAC,CAAC;YACH,MAAM,CAAC,CAAC;SACT;gBAAS;YACR,IAAI,CAAC,GAAG,EAAE,CAAC;SACZ;KACF;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC","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\n/// <reference lib=\"esnext.asynciterable\" />\nexport * from \"./models\";\nexport { ShortCodesClient } from \"./shortCodesClient\";\nexport { ShortCodesClientContext } from \"./shortCodesClientContext\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,cAAc,wBAAwB,CAAC","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\n/// <reference lib=\"esnext.asynciterable\" />\nexport * from \"./models\";\nexport { ShortCodesClient } from \"./shortCodesClient\";\nexport { ShortCodesClientContext } from \"./shortCodesClientContext\";\nexport * from \"./operationsInterfaces\";\n"]}
|
|
@@ -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 coreHttp from \"@azure/core-http\";\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 coreHttp.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 /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: ShortCodes;\n };\n};\n\n/** Optional parameters. */\nexport interface ShortCodesUpsertUSProgramBriefOptionalParams\n extends coreHttp.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 /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: USProgramBrief;\n };\n};\n\n/** Contains response data for the getUSProgramBrief operation. */\nexport type ShortCodesGetUSProgramBriefResponse = USProgramBrief & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: USProgramBrief;\n };\n};\n\n/** Contains response data for the submitUSProgramBrief operation. */\nexport type ShortCodesSubmitUSProgramBriefResponse = USProgramBrief & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: USProgramBrief;\n };\n};\n\n/** Optional parameters. */\nexport interface ShortCodesGetUSProgramBriefsOptionalParams\n extends coreHttp.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 /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: USProgramBriefs;\n };\n};\n\n/** Optional parameters. */\nexport interface ShortCodesGetShortCodesNextOptionalParams\n extends coreHttp.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 /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: ShortCodes;\n };\n};\n\n/** Optional parameters. */\nexport interface ShortCodesGetUSProgramBriefsNextOptionalParams\n extends coreHttp.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 /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: USProgramBriefs;\n };\n};\n\n/** Optional parameters. */\nexport interface ShortCodesClientOptionalParams\n extends coreHttp.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}\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"]}
|
|
@@ -45,8 +45,7 @@ export const ShortCode = {
|
|
|
45
45
|
numberType: {
|
|
46
46
|
serializedName: "numberType",
|
|
47
47
|
type: {
|
|
48
|
-
name: "
|
|
49
|
-
allowedValues: ["shortCode", "alphaId"]
|
|
48
|
+
name: "String"
|
|
50
49
|
}
|
|
51
50
|
},
|
|
52
51
|
countryCode: {
|
|
@@ -154,15 +153,7 @@ export const USProgramBrief = {
|
|
|
154
153
|
status: {
|
|
155
154
|
serializedName: "status",
|
|
156
155
|
type: {
|
|
157
|
-
name: "
|
|
158
|
-
allowedValues: [
|
|
159
|
-
"submitted",
|
|
160
|
-
"approved",
|
|
161
|
-
"submitNewVanityNumbers",
|
|
162
|
-
"updateProgramBrief",
|
|
163
|
-
"draft",
|
|
164
|
-
"denied"
|
|
165
|
-
]
|
|
156
|
+
name: "String"
|
|
166
157
|
}
|
|
167
158
|
},
|
|
168
159
|
number: {
|
|
@@ -281,8 +272,7 @@ export const ShortCodeCost = {
|
|
|
281
272
|
serializedName: "billingFrequency",
|
|
282
273
|
required: true,
|
|
283
274
|
type: {
|
|
284
|
-
name: "
|
|
285
|
-
allowedValues: ["monthly", "once"]
|
|
275
|
+
name: "String"
|
|
286
276
|
}
|
|
287
277
|
}
|
|
288
278
|
}
|
|
@@ -313,8 +303,7 @@ export const ProgramDetails = {
|
|
|
313
303
|
numberType: {
|
|
314
304
|
serializedName: "numberType",
|
|
315
305
|
type: {
|
|
316
|
-
name: "
|
|
317
|
-
allowedValues: ["shortCode", "alphaId"]
|
|
306
|
+
name: "String"
|
|
318
307
|
}
|
|
319
308
|
},
|
|
320
309
|
isPoliticalCampaign: {
|
|
@@ -491,8 +480,7 @@ export const MessageDetails = {
|
|
|
491
480
|
recurrence: {
|
|
492
481
|
serializedName: "recurrence",
|
|
493
482
|
type: {
|
|
494
|
-
name: "
|
|
495
|
-
allowedValues: ["subscription", "transaction"]
|
|
483
|
+
name: "String"
|
|
496
484
|
}
|
|
497
485
|
},
|
|
498
486
|
helpMessage: {
|
|
@@ -528,8 +516,7 @@ export const MessageDetails = {
|
|
|
528
516
|
directionality: {
|
|
529
517
|
serializedName: "directionality",
|
|
530
518
|
type: {
|
|
531
|
-
name: "
|
|
532
|
-
allowedValues: ["oneWay", "twoWay"]
|
|
519
|
+
name: "String"
|
|
533
520
|
}
|
|
534
521
|
},
|
|
535
522
|
useCases: {
|
|
@@ -555,50 +542,7 @@ export const UseCase = {
|
|
|
555
542
|
contentCategory: {
|
|
556
543
|
serializedName: "contentCategory",
|
|
557
544
|
type: {
|
|
558
|
-
name: "
|
|
559
|
-
allowedValues: [
|
|
560
|
-
"ringTones",
|
|
561
|
-
"smsChat",
|
|
562
|
-
"video",
|
|
563
|
-
"loyaltyProgramPointsPrizes",
|
|
564
|
-
"gifting",
|
|
565
|
-
"inApplicationBilling",
|
|
566
|
-
"textToScreen",
|
|
567
|
-
"games",
|
|
568
|
-
"audioChat",
|
|
569
|
-
"mmsPictures",
|
|
570
|
-
"sweepstakesContestAuction",
|
|
571
|
-
"financialBanking",
|
|
572
|
-
"premiumWap",
|
|
573
|
-
"queryService",
|
|
574
|
-
"wallpaperScreensaver",
|
|
575
|
-
"voting",
|
|
576
|
-
"application",
|
|
577
|
-
"mobileGivingDonations",
|
|
578
|
-
"coupons",
|
|
579
|
-
"loyaltyProgram",
|
|
580
|
-
"noPointsPrizes",
|
|
581
|
-
"informationalAlerts",
|
|
582
|
-
"microBilling",
|
|
583
|
-
"trivia",
|
|
584
|
-
"entertainmentAlerts",
|
|
585
|
-
"accountNotification",
|
|
586
|
-
"ageGatedContent",
|
|
587
|
-
"conversationalMessaging",
|
|
588
|
-
"deliveryNotification",
|
|
589
|
-
"education",
|
|
590
|
-
"emergencyAlerts",
|
|
591
|
-
"fraudAlerts",
|
|
592
|
-
"loanArrangement",
|
|
593
|
-
"onBehalfOfCarrier",
|
|
594
|
-
"political",
|
|
595
|
-
"promotionalMarketing",
|
|
596
|
-
"publicServiceAnnouncements",
|
|
597
|
-
"securityAlerts",
|
|
598
|
-
"socialMedia",
|
|
599
|
-
"twoFactorAuthentication",
|
|
600
|
-
"other"
|
|
601
|
-
]
|
|
545
|
+
name: "String"
|
|
602
546
|
}
|
|
603
547
|
},
|
|
604
548
|
examples: {
|
|
@@ -644,8 +588,7 @@ export const MessageExample = {
|
|
|
644
588
|
direction: {
|
|
645
589
|
serializedName: "direction",
|
|
646
590
|
type: {
|
|
647
|
-
name: "
|
|
648
|
-
allowedValues: ["toUser", "fromUser"]
|
|
591
|
+
name: "String"
|
|
649
592
|
}
|
|
650
593
|
},
|
|
651
594
|
text: {
|