@azure/communication-phone-numbers 1.3.0-alpha.20230820.1 → 1.3.0-beta.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +37 -44
- package/dist/index.js +492 -678
- 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/lroImpl.js +11 -15
- package/dist-esm/src/generated/src/lroImpl.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 +122 -0
- package/dist-esm/src/generated/src/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/src/models/parameters.js +15 -2
- package/dist-esm/src/generated/src/models/parameters.js.map +1 -1
- package/dist-esm/src/generated/src/operations/phoneNumbers.js +170 -116
- package/dist-esm/src/generated/src/operations/phoneNumbers.js.map +1 -1
- package/dist-esm/src/generated/src/operationsInterfaces/phoneNumbers.js.map +1 -1
- package/dist-esm/src/generated/src/pagingHelper.js +32 -0
- package/dist-esm/src/generated/src/pagingHelper.js.map +1 -0
- package/dist-esm/src/generated/src/phoneNumbersClient.js +4 -22
- package/dist-esm/src/generated/src/phoneNumbersClient.js.map +1 -1
- package/dist-esm/src/generated/src/siprouting/models/index.js +1 -6
- package/dist-esm/src/generated/src/siprouting/models/index.js.map +1 -1
- package/dist-esm/src/generated/src/siprouting/models/mappers.js +0 -166
- package/dist-esm/src/generated/src/siprouting/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/src/siprouting/models/parameters.js +2 -48
- package/dist-esm/src/generated/src/siprouting/models/parameters.js.map +1 -1
- package/dist-esm/src/generated/src/siprouting/operations/sipRouting.js +1 -35
- package/dist-esm/src/generated/src/siprouting/operations/sipRouting.js.map +1 -1
- package/dist-esm/src/generated/src/siprouting/operationsInterfaces/sipRouting.js.map +1 -1
- package/dist-esm/src/generated/src/siprouting/sipRoutingClientContext.js +2 -2
- package/dist-esm/src/generated/src/siprouting/sipRoutingClientContext.js.map +1 -1
- package/dist-esm/src/generated/src/tracing.js +1 -1
- package/dist-esm/src/generated/src/tracing.js.map +1 -1
- package/dist-esm/src/mappers.js +3 -31
- package/dist-esm/src/mappers.js.map +1 -1
- package/dist-esm/src/models.js.map +1 -1
- package/dist-esm/src/phoneNumbersClient.js +19 -3
- package/dist-esm/src/phoneNumbersClient.js.map +1 -1
- package/dist-esm/src/sipRoutingClient.js +69 -192
- package/dist-esm/src/sipRoutingClient.js.map +1 -1
- package/dist-esm/src/utils/constants.js +1 -1
- package/dist-esm/src/utils/constants.js.map +1 -1
- package/package.json +15 -14
- package/types/communication-phone-numbers.d.ts +58 -131
@@ -6,6 +6,7 @@
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
7
|
*/
|
8
8
|
/// <reference lib="esnext.asynciterable" />
|
9
|
+
export { getContinuationToken } from "./pagingHelper";
|
9
10
|
export * from "./models";
|
10
11
|
export { PhoneNumbersClient } from "./phoneNumbersClient";
|
11
12
|
export * from "./operationsInterfaces";
|
@@ -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,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,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 { PhoneNumbersClient } from \"./phoneNumbersClient\";\nexport * from \"./operationsInterfaces\";\n"]}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,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 { getContinuationToken } from \"./pagingHelper\";\nexport * from \"./models\";\nexport { PhoneNumbersClient } from \"./phoneNumbersClient\";\nexport * from \"./operationsInterfaces\";\n"]}
|
@@ -6,20 +6,16 @@
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
7
|
*/
|
8
8
|
import { __rest } from "tslib";
|
9
|
-
export
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
}
|
20
|
-
async sendPollRequest(path) {
|
21
|
-
const _a = this.spec, { requestBody } = _a, restSpec = __rest(_a, ["requestBody"]);
|
22
|
-
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
23
|
-
}
|
9
|
+
export function createLroSpec(inputs) {
|
10
|
+
const { args, spec, sendOperationFn } = inputs;
|
11
|
+
return {
|
12
|
+
requestMethod: spec.httpMethod,
|
13
|
+
requestPath: spec.path,
|
14
|
+
sendInitialRequest: () => sendOperationFn(args, spec),
|
15
|
+
sendPollRequest: (path, options) => {
|
16
|
+
const { requestBody } = spec, restSpec = __rest(spec, ["requestBody"]);
|
17
|
+
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
18
|
+
}
|
19
|
+
};
|
24
20
|
}
|
25
21
|
//# sourceMappingURL=lroImpl.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../../../src/generated/src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../../../src/generated/src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAQH,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,UAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,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// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike }\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal\n });\n }\n };\n}\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 coreClient from \"@azure/core-client\";\n\n/** The list of available area codes. */\nexport interface PhoneNumberAreaCodes {\n /** Represents a list of available toll-free area codes. */\n areaCodes: PhoneNumberAreaCode[];\n /** Represents the URL link to the next page. */\n nextLink?: string;\n}\n\n/** Represents an Area Code. */\nexport interface PhoneNumberAreaCode {\n /** An area code. */\n areaCode?: string;\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/** Represents a wrapper around a list of countries. */\nexport interface PhoneNumberCountries {\n /** Represents the underlying list of countries. */\n countries?: PhoneNumberCountry[];\n /** Represents the URL link to the next page */\n nextLink?: string;\n}\n\n/** Represents a country. */\nexport interface PhoneNumberCountry {\n /** Represents the name of the country. */\n localizedName: string;\n /** Represents the abbreviated name of the country. */\n countryCode: string;\n}\n\n/** Represents a wrapper around a list of cities or towns. */\nexport interface PhoneNumberLocalities {\n /** Represents the underlying list of localities, e.g. cities or town. */\n phoneNumberLocalities?: PhoneNumberLocality[];\n /** Represents the URL link to the next page. */\n nextLink?: string;\n}\n\n/** Represents a locality. */\nexport interface PhoneNumberLocality {\n /** Represents the localized name of the locality. */\n localizedName: string;\n /** Represents an administrative division. e.g. state or province. */\n administrativeDivision?: PhoneNumberAdministrativeDivision;\n}\n\n/** Represents an administrative division. e.g. state or province. */\nexport interface PhoneNumberAdministrativeDivision {\n /** Represents the localized name of the administrative division of the locality. e.g. state or province localized name. */\n localizedName: string;\n /** Represents the abbreviated name of the administrative division of the locality. e.g. state or province abbreviation such as WA (Washington). */\n abbreviatedName: string;\n}\n\n/** Represents a wrapper around a list of offerings. */\nexport interface OfferingsResponse {\n /** Represents the underlying list of offerings. */\n phoneNumberOfferings?: PhoneNumberOffering[];\n /** Represents the URL link to the next page. */\n nextLink?: string;\n}\n\n/** Represents a phone number capability offering */\nexport interface PhoneNumberOffering {\n /** Represents the number type of the offering. */\n phoneNumberType?: PhoneNumberType;\n /** Represents the assignment type of the offering. */\n assignmentType?: PhoneNumberAssignmentType;\n /** Capabilities of a phone number. */\n availableCapabilities?: PhoneNumberCapabilities;\n /** The incurred cost for a single phone number. */\n cost: PhoneNumberCost;\n}\n\n/** Capabilities of a phone number. */\nexport interface PhoneNumberCapabilities {\n /** Capability value for calling. */\n calling: PhoneNumberCapabilityType;\n /** Capability value for SMS. */\n sms: PhoneNumberCapabilityType;\n}\n\n/** The incurred cost for a single phone number. */\nexport interface PhoneNumberCost {\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: \"monthly\";\n}\n\n/** Represents a phone number search request to find phone numbers. Found phone numbers are temporarily held for a following purchase. */\nexport interface PhoneNumberSearchRequest {\n /** The type of phone numbers to search for, e.g. geographic, or tollFree. */\n phoneNumberType: PhoneNumberType;\n /** The assignment type of the phone numbers to search for. A phone number can be assigned to a person, or to an application. */\n assignmentType: PhoneNumberAssignmentType;\n /** Capabilities of a phone number. */\n capabilities: PhoneNumberCapabilities;\n /** The area code of the desired phone number, e.g. 425. */\n areaCode?: string;\n /** The quantity of desired phone numbers. The default value is 1. */\n quantity?: number;\n}\n\n/** The result of a phone number search operation. */\nexport interface PhoneNumberSearchResult {\n /** The search id. */\n searchId: string;\n /** The phone numbers that are available. Can be fewer than the desired search quantity. */\n phoneNumbers: string[];\n /** The phone number's type, e.g. geographic, or tollFree. */\n phoneNumberType: PhoneNumberType;\n /** Phone number's assignment type. */\n assignmentType: PhoneNumberAssignmentType;\n /** Capabilities of a phone number. */\n capabilities: PhoneNumberCapabilities;\n /** The incurred cost for a single phone number. */\n cost: PhoneNumberCost;\n /** The date that this search result expires and phone numbers are no longer on hold. A search result expires in less than 15min, e.g. 2020-11-19T16:31:49.048Z. */\n searchExpiresBy: Date;\n}\n\n/** The phone number search purchase request. */\nexport interface PhoneNumberPurchaseRequest {\n /** The search id. */\n searchId?: string;\n}\n\nexport interface PhoneNumberOperation {\n /** The type of operation, e.g. Search */\n operationType: PhoneNumberOperationType;\n /** Status of operation. */\n status: PhoneNumberOperationStatus;\n /** URL for retrieving the result of the operation, if any. */\n resourceLocation?: string;\n /** The date that the operation was created. */\n createdDateTime: Date;\n /** The Communication Services error. */\n error?: CommunicationError;\n /** Id of operation. */\n id: string;\n /**\n * The most recent date that the operation was changed.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly lastActionDateTime?: Date;\n}\n\n/** Capabilities of a phone number. */\nexport interface PhoneNumberCapabilitiesRequest {\n /** Capability value for calling. */\n calling?: PhoneNumberCapabilityType;\n /** Capability value for SMS. */\n sms?: PhoneNumberCapabilityType;\n}\n\n/** Represents a purchased phone number. */\nexport interface PurchasedPhoneNumber {\n /** The id of the phone number, e.g. 11234567890. */\n id: string;\n /** String of the E.164 format of the phone number, e.g. +11234567890. */\n phoneNumber: string;\n /** The ISO 3166-2 code of the phone number's country, e.g. US. */\n countryCode: string;\n /** The phone number's type, e.g. geographic, tollFree. */\n phoneNumberType: PhoneNumberType;\n /** Capabilities of a phone number. */\n capabilities: PhoneNumberCapabilities;\n /** The assignment type of the phone number. A phone number can be assigned to a person, or to an application. */\n assignmentType: PhoneNumberAssignmentType;\n /** The date and time that the phone number was purchased. */\n purchaseDate: Date;\n /** The incurred cost for a single phone number. */\n cost: PhoneNumberCost;\n}\n\n/** The list of purchased phone numbers. */\nexport interface PurchasedPhoneNumbers {\n /** Represents a list of phone numbers. */\n phoneNumbers: PurchasedPhoneNumber[];\n /** Represents the URL link to the next page of phone number results. */\n nextLink?: string;\n}\n\n/** Defines headers for PhoneNumbers_searchAvailablePhoneNumbers operation. */\nexport interface PhoneNumbersSearchAvailablePhoneNumbersHeaders {\n /** URL to retrieve the final result after operation completes. */\n location?: string;\n /** URL to query for status of the operation. */\n operationLocation?: string;\n /** The operation id. */\n operationId?: string;\n /** The search operation id. */\n searchId?: string;\n}\n\n/** Defines headers for PhoneNumbers_purchasePhoneNumbers operation. */\nexport interface PhoneNumbersPurchasePhoneNumbersHeaders {\n /** URL to query for status of the operation. */\n operationLocation?: string;\n /** The operation id. */\n operationId?: string;\n /** The purchase operation id. */\n purchaseId?: string;\n}\n\n/** Defines headers for PhoneNumbers_getOperation operation. */\nexport interface PhoneNumbersGetOperationHeaders {\n /** Url to retrieve the final result after operation completes. */\n location?: string;\n}\n\n/** Defines headers for PhoneNumbers_updateCapabilities operation. */\nexport interface PhoneNumbersUpdateCapabilitiesHeaders {\n /** URL to retrieve the final result after operation completes. */\n location?: string;\n /** URL to query for status of the operation. */\n operationLocation?: string;\n /** The operation id. */\n operationId?: string;\n /** The capabilities operation id. */\n capabilitiesId?: string;\n}\n\n/** Defines headers for PhoneNumbers_releasePhoneNumber operation. */\nexport interface PhoneNumbersReleasePhoneNumberHeaders {\n /** URL to query for status of the operation. */\n operationLocation?: string;\n /** The operation id. */\n operationId?: string;\n /** The release operation id. */\n releaseId?: string;\n}\n\n/** Defines values for PhoneNumberType. */\nexport type PhoneNumberType = \"geographic\" | \"tollFree\";\n/** Defines values for PhoneNumberAssignmentType. */\nexport type PhoneNumberAssignmentType = \"person\" | \"application\";\n/** Defines values for PhoneNumberCapabilityType. */\nexport type PhoneNumberCapabilityType =\n | \"none\"\n | \"inbound\"\n | \"outbound\"\n | \"inbound+outbound\";\n/** Defines values for PhoneNumberOperationType. */\nexport type PhoneNumberOperationType =\n | \"purchase\"\n | \"releasePhoneNumber\"\n | \"search\"\n | \"updatePhoneNumberCapabilities\";\n/** Defines values for PhoneNumberOperationStatus. */\nexport type PhoneNumberOperationStatus =\n | \"notStarted\"\n | \"running\"\n | \"succeeded\"\n | \"failed\";\n\n/** Optional parameters. */\nexport interface PhoneNumbersListAreaCodesOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. The default value is 0. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. The default value is 100. */\n maxPageSize?: number;\n /** Filter by assignmentType, e.g. User, Application. */\n assignmentType?: PhoneNumberAssignmentType;\n /** The name of locality or town in which to search for the area code. This is required if the number type is Geographic. */\n locality?: string;\n /** The name of the state or province in which to search for the area code. */\n administrativeDivision?: string;\n /** The locale to display in the localized fields in the response. e.g. 'en-US' */\n acceptLanguage?: string;\n}\n\n/** Contains response data for the listAreaCodes operation. */\nexport type PhoneNumbersListAreaCodesResponse = PhoneNumberAreaCodes;\n\n/** Optional parameters. */\nexport interface PhoneNumbersListAvailableCountriesOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. The default value is 0. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. The default value is 100. */\n maxPageSize?: number;\n /** The locale to display in the localized fields in the response. e.g. 'en-US' */\n acceptLanguage?: string;\n}\n\n/** Contains response data for the listAvailableCountries operation. */\nexport type PhoneNumbersListAvailableCountriesResponse = PhoneNumberCountries;\n\n/** Optional parameters. */\nexport interface PhoneNumbersListAvailableLocalitiesOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. The default value is 0. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. The default value is 100. */\n maxPageSize?: number;\n /** An optional parameter for the name of the state or province in which to search for the area code. */\n administrativeDivision?: string;\n /** The locale to display in the localized fields in the response. e.g. 'en-US' */\n acceptLanguage?: string;\n}\n\n/** Contains response data for the listAvailableLocalities operation. */\nexport type PhoneNumbersListAvailableLocalitiesResponse = PhoneNumberLocalities;\n\n/** Optional parameters. */\nexport interface PhoneNumbersListOfferingsOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. The default value is 0. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. The default value is 100. */\n maxPageSize?: number;\n /** Filter by assignmentType, e.g. Person, Application. */\n assignmentType?: PhoneNumberAssignmentType;\n /** The locale to display in the localized fields in the response. e.g. 'en-US' */\n acceptLanguage?: string;\n /** Filter by numberType, e.g. Geographic, TollFree. */\n phoneNumberType?: PhoneNumberType;\n}\n\n/** Contains response data for the listOfferings operation. */\nexport type PhoneNumbersListOfferingsResponse = OfferingsResponse;\n\n/** Optional parameters. */\nexport interface PhoneNumbersSearchAvailablePhoneNumbersOptionalParams\n extends coreClient.OperationOptions {\n /** The area code of the desired phone number, e.g. 425. */\n areaCode?: string;\n /** The quantity of desired phone numbers. The default value is 1. */\n quantity?: number;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the searchAvailablePhoneNumbers operation. */\nexport type PhoneNumbersSearchAvailablePhoneNumbersResponse = PhoneNumbersSearchAvailablePhoneNumbersHeaders &\n PhoneNumberSearchResult;\n\n/** Optional parameters. */\nexport interface PhoneNumbersGetSearchResultOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getSearchResult operation. */\nexport type PhoneNumbersGetSearchResultResponse = PhoneNumberSearchResult;\n\n/** Optional parameters. */\nexport interface PhoneNumbersPurchasePhoneNumbersOptionalParams\n extends coreClient.OperationOptions {\n /** The search id. */\n searchId?: string;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the purchasePhoneNumbers operation. */\nexport type PhoneNumbersPurchasePhoneNumbersResponse = PhoneNumbersPurchasePhoneNumbersHeaders;\n\n/** Optional parameters. */\nexport interface PhoneNumbersGetOperationOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getOperation operation. */\nexport type PhoneNumbersGetOperationResponse = PhoneNumbersGetOperationHeaders &\n PhoneNumberOperation;\n\n/** Optional parameters. */\nexport interface PhoneNumbersCancelOperationOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface PhoneNumbersUpdateCapabilitiesOptionalParams\n extends coreClient.OperationOptions {\n /** Capability value for calling. */\n calling?: PhoneNumberCapabilityType;\n /** Capability value for SMS. */\n sms?: PhoneNumberCapabilityType;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the updateCapabilities operation. */\nexport type PhoneNumbersUpdateCapabilitiesResponse = PhoneNumbersUpdateCapabilitiesHeaders &\n PurchasedPhoneNumber;\n\n/** Optional parameters. */\nexport interface PhoneNumbersGetByNumberOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getByNumber operation. */\nexport type PhoneNumbersGetByNumberResponse = PurchasedPhoneNumber;\n\n/** Optional parameters. */\nexport interface PhoneNumbersReleasePhoneNumberOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the releasePhoneNumber operation. */\nexport type PhoneNumbersReleasePhoneNumberResponse = PhoneNumbersReleasePhoneNumberHeaders;\n\n/** Optional parameters. */\nexport interface PhoneNumbersListPhoneNumbersOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. The default value is 0. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. The default value is 100. */\n top?: number;\n}\n\n/** Contains response data for the listPhoneNumbers operation. */\nexport type PhoneNumbersListPhoneNumbersResponse = PurchasedPhoneNumbers;\n\n/** Optional parameters. */\nexport interface PhoneNumbersListAreaCodesNextOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. The default value is 0. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. The default value is 100. */\n maxPageSize?: number;\n /** Filter by assignmentType, e.g. User, Application. */\n assignmentType?: PhoneNumberAssignmentType;\n /** The name of locality or town in which to search for the area code. This is required if the number type is Geographic. */\n locality?: string;\n /** The name of the state or province in which to search for the area code. */\n administrativeDivision?: string;\n /** The locale to display in the localized fields in the response. e.g. 'en-US' */\n acceptLanguage?: string;\n}\n\n/** Contains response data for the listAreaCodesNext operation. */\nexport type PhoneNumbersListAreaCodesNextResponse = PhoneNumberAreaCodes;\n\n/** Optional parameters. */\nexport interface PhoneNumbersListAvailableCountriesNextOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. The default value is 0. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. The default value is 100. */\n maxPageSize?: number;\n /** The locale to display in the localized fields in the response. e.g. 'en-US' */\n acceptLanguage?: string;\n}\n\n/** Contains response data for the listAvailableCountriesNext operation. */\nexport type PhoneNumbersListAvailableCountriesNextResponse = PhoneNumberCountries;\n\n/** Optional parameters. */\nexport interface PhoneNumbersListAvailableLocalitiesNextOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. The default value is 0. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. The default value is 100. */\n maxPageSize?: number;\n /** An optional parameter for the name of the state or province in which to search for the area code. */\n administrativeDivision?: string;\n /** The locale to display in the localized fields in the response. e.g. 'en-US' */\n acceptLanguage?: string;\n}\n\n/** Contains response data for the listAvailableLocalitiesNext operation. */\nexport type PhoneNumbersListAvailableLocalitiesNextResponse = PhoneNumberLocalities;\n\n/** Optional parameters. */\nexport interface PhoneNumbersListOfferingsNextOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. The default value is 0. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. The default value is 100. */\n maxPageSize?: number;\n /** Filter by assignmentType, e.g. Person, Application. */\n assignmentType?: PhoneNumberAssignmentType;\n /** The locale to display in the localized fields in the response. e.g. 'en-US' */\n acceptLanguage?: string;\n /** Filter by numberType, e.g. Geographic, TollFree. */\n phoneNumberType?: PhoneNumberType;\n}\n\n/** Contains response data for the listOfferingsNext operation. */\nexport type PhoneNumbersListOfferingsNextResponse = OfferingsResponse;\n\n/** Optional parameters. */\nexport interface PhoneNumbersListPhoneNumbersNextOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. The default value is 0. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. The default value is 100. */\n top?: number;\n}\n\n/** Contains response data for the listPhoneNumbersNext operation. */\nexport type PhoneNumbersListPhoneNumbersNextResponse = PurchasedPhoneNumbers;\n\n/** Optional parameters. */\nexport interface PhoneNumbersClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** The list of available area codes. */\nexport interface PhoneNumberAreaCodes {\n /** Represents a list of available toll-free area codes. */\n areaCodes: PhoneNumberAreaCode[];\n /** Represents the URL link to the next page. */\n nextLink?: string;\n}\n\n/** Represents an Area Code. */\nexport interface PhoneNumberAreaCode {\n /** An area code. */\n areaCode?: string;\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/** Represents a wrapper around a list of countries. */\nexport interface PhoneNumberCountries {\n /** Represents the underlying list of countries. */\n countries?: PhoneNumberCountry[];\n /** Represents the URL link to the next page */\n nextLink?: string;\n}\n\n/** Represents a country. */\nexport interface PhoneNumberCountry {\n /** Represents the name of the country. */\n localizedName: string;\n /** Represents the abbreviated name of the country. */\n countryCode: string;\n}\n\n/** Represents a wrapper around a list of cities or towns. */\nexport interface PhoneNumberLocalities {\n /** Represents the underlying list of localities, e.g. cities or town. */\n phoneNumberLocalities?: PhoneNumberLocality[];\n /** Represents the URL link to the next page. */\n nextLink?: string;\n}\n\n/** Represents a locality. */\nexport interface PhoneNumberLocality {\n /** Represents the localized name of the locality. */\n localizedName: string;\n /** Represents an administrative division. e.g. state or province. */\n administrativeDivision?: PhoneNumberAdministrativeDivision;\n}\n\n/** Represents an administrative division. e.g. state or province. */\nexport interface PhoneNumberAdministrativeDivision {\n /** Represents the localized name of the administrative division of the locality. e.g. state or province localized name. */\n localizedName: string;\n /** Represents the abbreviated name of the administrative division of the locality. e.g. state or province abbreviation such as WA (Washington). */\n abbreviatedName: string;\n}\n\n/** Represents a wrapper around a list of offerings. */\nexport interface OfferingsResponse {\n /** Represents the underlying list of offerings. */\n phoneNumberOfferings?: PhoneNumberOffering[];\n /** Represents the URL link to the next page. */\n nextLink?: string;\n}\n\n/** Represents a phone number capability offering */\nexport interface PhoneNumberOffering {\n /** Represents the number type of the offering. */\n phoneNumberType?: PhoneNumberType;\n /** Represents the assignment type of the offering. */\n assignmentType?: PhoneNumberAssignmentType;\n /** Capabilities of a phone number. */\n availableCapabilities?: PhoneNumberCapabilities;\n /** The incurred cost for a single phone number. */\n cost: PhoneNumberCost;\n}\n\n/** Capabilities of a phone number. */\nexport interface PhoneNumberCapabilities {\n /** Capability value for calling. */\n calling: PhoneNumberCapabilityType;\n /** Capability value for SMS. */\n sms: PhoneNumberCapabilityType;\n}\n\n/** The incurred cost for a single phone number. */\nexport interface PhoneNumberCost {\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: \"monthly\";\n}\n\n/** Represents a phone number search request to find phone numbers. Found phone numbers are temporarily held for a following purchase. */\nexport interface PhoneNumberSearchRequest {\n /** The type of phone numbers to search for, e.g. geographic, or tollFree. */\n phoneNumberType: PhoneNumberType;\n /** The assignment type of the phone numbers to search for. A phone number can be assigned to a person, or to an application. */\n assignmentType: PhoneNumberAssignmentType;\n /** Capabilities of a phone number. */\n capabilities: PhoneNumberCapabilities;\n /** The area code of the desired phone number, e.g. 425. */\n areaCode?: string;\n /** The quantity of desired phone numbers. The default value is 1. */\n quantity?: number;\n}\n\n/** The result of a phone number search operation. */\nexport interface PhoneNumberSearchResult {\n /** The search id. */\n searchId: string;\n /** The phone numbers that are available. Can be fewer than the desired search quantity. */\n phoneNumbers: string[];\n /** The phone number's type, e.g. geographic, or tollFree. */\n phoneNumberType: PhoneNumberType;\n /** Phone number's assignment type. */\n assignmentType: PhoneNumberAssignmentType;\n /** Capabilities of a phone number. */\n capabilities: PhoneNumberCapabilities;\n /** The incurred cost for a single phone number. */\n cost: PhoneNumberCost;\n /** The date that this search result expires and phone numbers are no longer on hold. A search result expires in less than 15min, e.g. 2020-11-19T16:31:49.048Z. */\n searchExpiresBy: Date;\n /** The error code of the search. */\n errorCode?: number;\n /** Mapping Error Messages to Codes */\n error?: PhoneNumberSearchResultError;\n}\n\n/** The phone number search purchase request. */\nexport interface PhoneNumberPurchaseRequest {\n /** The search id. */\n searchId?: string;\n}\n\nexport interface PhoneNumberOperation {\n /** The type of operation, e.g. Search */\n operationType: PhoneNumberOperationType;\n /** Status of operation. */\n status: PhoneNumberOperationStatus;\n /** URL for retrieving the result of the operation, if any. */\n resourceLocation?: string;\n /** The date that the operation was created. */\n createdDateTime: Date;\n /** The Communication Services error. */\n error?: CommunicationError;\n /** Id of operation. */\n id: string;\n /**\n * The most recent date that the operation was changed.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly lastActionDateTime?: Date;\n}\n\n/** Capabilities of a phone number. */\nexport interface PhoneNumberCapabilitiesRequest {\n /** Capability value for calling. */\n calling?: PhoneNumberCapabilityType;\n /** Capability value for SMS. */\n sms?: PhoneNumberCapabilityType;\n}\n\n/** Represents a purchased phone number. */\nexport interface PurchasedPhoneNumber {\n /** The id of the phone number, e.g. 11234567890. */\n id: string;\n /** String of the E.164 format of the phone number, e.g. +11234567890. */\n phoneNumber: string;\n /** The ISO 3166-2 code of the phone number's country, e.g. US. */\n countryCode: string;\n /** The phone number's type, e.g. geographic, tollFree. */\n phoneNumberType: PhoneNumberType;\n /** Capabilities of a phone number. */\n capabilities: PhoneNumberCapabilities;\n /** The assignment type of the phone number. A phone number can be assigned to a person, or to an application. */\n assignmentType: PhoneNumberAssignmentType;\n /** The date and time that the phone number was purchased. */\n purchaseDate: Date;\n /** The incurred cost for a single phone number. */\n cost: PhoneNumberCost;\n}\n\n/** The list of purchased phone numbers. */\nexport interface PurchasedPhoneNumbers {\n /** Represents a list of phone numbers. */\n phoneNumbers: PurchasedPhoneNumber[];\n /** Represents the URL link to the next page of phone number results. */\n nextLink?: string;\n}\n\n/** Represents a search request for operator information for the given phone numbers */\nexport interface OperatorInformationRequest {\n /** Phone number(s) whose operator information is being requested */\n phoneNumbers?: string[];\n}\n\n/** Represents a search result containing operator information associated with the requested phone numbers */\nexport interface OperatorInformationResult {\n /**\n * Results of a search.\n * This array will have one entry per requested phone number which will contain the relevant operator information.\n */\n values?: OperatorInformation[];\n}\n\n/** Represents metadata about a phone number that is controlled/provided by that phone number's operator. */\nexport interface OperatorInformation {\n /** E.164 formatted string representation of the phone number */\n phoneNumber?: string;\n /** National format of the phone number */\n nationalFormat?: string;\n /** International format of the phone number */\n internationalFormat?: string;\n /** Type of service associated with the phone number */\n numberType?: OperatorNumberType;\n /** ISO 3166-1 two character ('alpha-2') code associated with the phone number. */\n isoCountryCode?: string;\n /** Represents metadata describing the operator of a phone number */\n operatorDetails?: OperatorDetails;\n}\n\n/** Represents metadata describing the operator of a phone number */\nexport interface OperatorDetails {\n /** Name of the phone operator */\n name?: string;\n /** Mobile Network Code */\n mobileNetworkCode?: string;\n /** Mobile Country Code */\n mobileCountryCode?: string;\n}\n\n/** Defines headers for PhoneNumbers_searchAvailablePhoneNumbers operation. */\nexport interface PhoneNumbersSearchAvailablePhoneNumbersHeaders {\n /** URL to retrieve the final result after operation completes. */\n location?: string;\n /** URL to query for status of the operation. */\n operationLocation?: string;\n /** The operation id. */\n operationId?: string;\n /** The search operation id. */\n searchId?: string;\n}\n\n/** Defines headers for PhoneNumbers_purchasePhoneNumbers operation. */\nexport interface PhoneNumbersPurchasePhoneNumbersHeaders {\n /** URL to query for status of the operation. */\n operationLocation?: string;\n /** The operation id. */\n operationId?: string;\n /** The purchase operation id. */\n purchaseId?: string;\n}\n\n/** Defines headers for PhoneNumbers_getOperation operation. */\nexport interface PhoneNumbersGetOperationHeaders {\n /** Url to retrieve the final result after operation completes. */\n location?: string;\n}\n\n/** Defines headers for PhoneNumbers_updateCapabilities operation. */\nexport interface PhoneNumbersUpdateCapabilitiesHeaders {\n /** URL to retrieve the final result after operation completes. */\n location?: string;\n /** URL to query for status of the operation. */\n operationLocation?: string;\n /** The operation id. */\n operationId?: string;\n /** The capabilities operation id. */\n capabilitiesId?: string;\n}\n\n/** Defines headers for PhoneNumbers_releasePhoneNumber operation. */\nexport interface PhoneNumbersReleasePhoneNumberHeaders {\n /** URL to query for status of the operation. */\n operationLocation?: string;\n /** The operation id. */\n operationId?: string;\n /** The release operation id. */\n releaseId?: string;\n}\n\n/** Defines values for PhoneNumberType. */\nexport type PhoneNumberType = \"geographic\" | \"tollFree\";\n/** Defines values for PhoneNumberAssignmentType. */\nexport type PhoneNumberAssignmentType = \"person\" | \"application\";\n/** Defines values for PhoneNumberCapabilityType. */\nexport type PhoneNumberCapabilityType =\n | \"none\"\n | \"inbound\"\n | \"outbound\"\n | \"inbound+outbound\";\n/** Defines values for PhoneNumberSearchResultError. */\nexport type PhoneNumberSearchResultError =\n | \"NoError\"\n | \"UnknownErrorCode\"\n | \"OutOfStock\"\n | \"AuthorizationDenied\"\n | \"MissingAddress\"\n | \"InvalidAddress\"\n | \"InvalidOfferModel\"\n | \"NotEnoughLicenses\"\n | \"NoWallet\"\n | \"NotEnoughCredit\"\n | \"NumbersPartiallyAcquired\"\n | \"AllNumbersNotAcquired\"\n | \"ReservationExpired\"\n | \"PurchaseFailed\"\n | \"BillingUnavailable\"\n | \"ProvisioningFailed\"\n | \"UnknownSearchError\";\n/** Defines values for PhoneNumberOperationType. */\nexport type PhoneNumberOperationType =\n | \"purchase\"\n | \"releasePhoneNumber\"\n | \"search\"\n | \"updatePhoneNumberCapabilities\";\n/** Defines values for PhoneNumberOperationStatus. */\nexport type PhoneNumberOperationStatus =\n | \"notStarted\"\n | \"running\"\n | \"succeeded\"\n | \"failed\";\n/** Defines values for OperatorNumberType. */\nexport type OperatorNumberType = \"unknown\" | \"other\" | \"geographic\" | \"mobile\";\n\n/** Optional parameters. */\nexport interface PhoneNumbersListAreaCodesOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. The default value is 0. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. The default value is 100. */\n maxPageSize?: number;\n /** Filter by assignmentType, e.g. Person, Application. */\n assignmentType?: PhoneNumberAssignmentType;\n /** The name of locality or town in which to search for the area code. This is required if the number type is Geographic. */\n locality?: string;\n /** The name of the state or province in which to search for the area code. */\n administrativeDivision?: string;\n /** The locale to display in the localized fields in the response. e.g. 'en-US' */\n acceptLanguage?: string;\n}\n\n/** Contains response data for the listAreaCodes operation. */\nexport type PhoneNumbersListAreaCodesResponse = PhoneNumberAreaCodes;\n\n/** Optional parameters. */\nexport interface PhoneNumbersListAvailableCountriesOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. The default value is 0. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. The default value is 100. */\n maxPageSize?: number;\n /** The locale to display in the localized fields in the response. e.g. 'en-US' */\n acceptLanguage?: string;\n}\n\n/** Contains response data for the listAvailableCountries operation. */\nexport type PhoneNumbersListAvailableCountriesResponse = PhoneNumberCountries;\n\n/** Optional parameters. */\nexport interface PhoneNumbersListAvailableLocalitiesOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. The default value is 0. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. The default value is 100. */\n maxPageSize?: number;\n /** An optional parameter for the name of the state or province in which to search for the area code. */\n administrativeDivision?: string;\n /** The locale to display in the localized fields in the response. e.g. 'en-US' */\n acceptLanguage?: string;\n}\n\n/** Contains response data for the listAvailableLocalities operation. */\nexport type PhoneNumbersListAvailableLocalitiesResponse = PhoneNumberLocalities;\n\n/** Optional parameters. */\nexport interface PhoneNumbersListOfferingsOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. The default value is 0. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. The default value is 100. */\n maxPageSize?: number;\n /** Filter by assignmentType, e.g. Person, Application. */\n assignmentType?: PhoneNumberAssignmentType;\n /** The locale to display in the localized fields in the response. e.g. 'en-US' */\n acceptLanguage?: string;\n /** Filter by numberType, e.g. Geographic, TollFree. */\n phoneNumberType?: PhoneNumberType;\n}\n\n/** Contains response data for the listOfferings operation. */\nexport type PhoneNumbersListOfferingsResponse = OfferingsResponse;\n\n/** Optional parameters. */\nexport interface PhoneNumbersSearchAvailablePhoneNumbersOptionalParams\n extends coreClient.OperationOptions {\n /** The area code of the desired phone number, e.g. 425. */\n areaCode?: string;\n /** The quantity of desired phone numbers. The default value is 1. */\n quantity?: number;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the searchAvailablePhoneNumbers operation. */\nexport type PhoneNumbersSearchAvailablePhoneNumbersResponse = PhoneNumbersSearchAvailablePhoneNumbersHeaders &\n PhoneNumberSearchResult;\n\n/** Optional parameters. */\nexport interface PhoneNumbersGetSearchResultOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getSearchResult operation. */\nexport type PhoneNumbersGetSearchResultResponse = PhoneNumberSearchResult;\n\n/** Optional parameters. */\nexport interface PhoneNumbersPurchasePhoneNumbersOptionalParams\n extends coreClient.OperationOptions {\n /** The search id. */\n searchId?: string;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the purchasePhoneNumbers operation. */\nexport type PhoneNumbersPurchasePhoneNumbersResponse = PhoneNumbersPurchasePhoneNumbersHeaders;\n\n/** Optional parameters. */\nexport interface PhoneNumbersGetOperationOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getOperation operation. */\nexport type PhoneNumbersGetOperationResponse = PhoneNumbersGetOperationHeaders &\n PhoneNumberOperation;\n\n/** Optional parameters. */\nexport interface PhoneNumbersCancelOperationOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface PhoneNumbersUpdateCapabilitiesOptionalParams\n extends coreClient.OperationOptions {\n /** Capability value for calling. */\n calling?: PhoneNumberCapabilityType;\n /** Capability value for SMS. */\n sms?: PhoneNumberCapabilityType;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the updateCapabilities operation. */\nexport type PhoneNumbersUpdateCapabilitiesResponse = PhoneNumbersUpdateCapabilitiesHeaders &\n PurchasedPhoneNumber;\n\n/** Optional parameters. */\nexport interface PhoneNumbersGetByNumberOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getByNumber operation. */\nexport type PhoneNumbersGetByNumberResponse = PurchasedPhoneNumber;\n\n/** Optional parameters. */\nexport interface PhoneNumbersReleasePhoneNumberOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the releasePhoneNumber operation. */\nexport type PhoneNumbersReleasePhoneNumberResponse = PhoneNumbersReleasePhoneNumberHeaders;\n\n/** Optional parameters. */\nexport interface PhoneNumbersListPhoneNumbersOptionalParams\n extends coreClient.OperationOptions {\n /** An optional parameter for how many entries to skip, for pagination purposes. The default value is 0. */\n skip?: number;\n /** An optional parameter for how many entries to return, for pagination purposes. The default value is 100. */\n top?: number;\n}\n\n/** Contains response data for the listPhoneNumbers operation. */\nexport type PhoneNumbersListPhoneNumbersResponse = PurchasedPhoneNumbers;\n\n/** Optional parameters. */\nexport interface PhoneNumbersOperatorInformationSearchOptionalParams\n extends coreClient.OperationOptions {\n /** Phone number(s) whose operator information is being requested */\n phoneNumbers?: string[];\n /** The options for modifying an operator information search */\n options?: string;\n}\n\n/** Contains response data for the operatorInformationSearch operation. */\nexport type PhoneNumbersOperatorInformationSearchResponse = OperatorInformationResult;\n\n/** Optional parameters. */\nexport interface PhoneNumbersListAreaCodesNextOptionalParams\n extends coreClient.OperationOptions {\n /** The locale to display in the localized fields in the response. e.g. 'en-US' */\n acceptLanguage?: string;\n}\n\n/** Contains response data for the listAreaCodesNext operation. */\nexport type PhoneNumbersListAreaCodesNextResponse = PhoneNumberAreaCodes;\n\n/** Optional parameters. */\nexport interface PhoneNumbersListAvailableCountriesNextOptionalParams\n extends coreClient.OperationOptions {\n /** The locale to display in the localized fields in the response. e.g. 'en-US' */\n acceptLanguage?: string;\n}\n\n/** Contains response data for the listAvailableCountriesNext operation. */\nexport type PhoneNumbersListAvailableCountriesNextResponse = PhoneNumberCountries;\n\n/** Optional parameters. */\nexport interface PhoneNumbersListAvailableLocalitiesNextOptionalParams\n extends coreClient.OperationOptions {\n /** The locale to display in the localized fields in the response. e.g. 'en-US' */\n acceptLanguage?: string;\n}\n\n/** Contains response data for the listAvailableLocalitiesNext operation. */\nexport type PhoneNumbersListAvailableLocalitiesNextResponse = PhoneNumberLocalities;\n\n/** Optional parameters. */\nexport interface PhoneNumbersListOfferingsNextOptionalParams\n extends coreClient.OperationOptions {\n /** The locale to display in the localized fields in the response. e.g. 'en-US' */\n acceptLanguage?: string;\n}\n\n/** Contains response data for the listOfferingsNext operation. */\nexport type PhoneNumbersListOfferingsNextResponse = OfferingsResponse;\n\n/** Optional parameters. */\nexport interface PhoneNumbersListPhoneNumbersNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listPhoneNumbersNext operation. */\nexport type PhoneNumbersListPhoneNumbersNextResponse = PurchasedPhoneNumbers;\n\n/** Optional parameters. */\nexport interface PhoneNumbersClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|
@@ -444,6 +444,18 @@ export const PhoneNumberSearchResult = {
|
|
444
444
|
type: {
|
445
445
|
name: "DateTime"
|
446
446
|
}
|
447
|
+
},
|
448
|
+
errorCode: {
|
449
|
+
serializedName: "errorCode",
|
450
|
+
type: {
|
451
|
+
name: "Number"
|
452
|
+
}
|
453
|
+
},
|
454
|
+
error: {
|
455
|
+
serializedName: "error",
|
456
|
+
type: {
|
457
|
+
name: "String"
|
458
|
+
}
|
447
459
|
}
|
448
460
|
}
|
449
461
|
}
|
@@ -629,6 +641,116 @@ export const PurchasedPhoneNumbers = {
|
|
629
641
|
}
|
630
642
|
}
|
631
643
|
};
|
644
|
+
export const OperatorInformationRequest = {
|
645
|
+
type: {
|
646
|
+
name: "Composite",
|
647
|
+
className: "OperatorInformationRequest",
|
648
|
+
modelProperties: {
|
649
|
+
phoneNumbers: {
|
650
|
+
serializedName: "phoneNumbers",
|
651
|
+
type: {
|
652
|
+
name: "Sequence",
|
653
|
+
element: {
|
654
|
+
type: {
|
655
|
+
name: "String"
|
656
|
+
}
|
657
|
+
}
|
658
|
+
}
|
659
|
+
}
|
660
|
+
}
|
661
|
+
}
|
662
|
+
};
|
663
|
+
export const OperatorInformationResult = {
|
664
|
+
type: {
|
665
|
+
name: "Composite",
|
666
|
+
className: "OperatorInformationResult",
|
667
|
+
modelProperties: {
|
668
|
+
values: {
|
669
|
+
serializedName: "values",
|
670
|
+
type: {
|
671
|
+
name: "Sequence",
|
672
|
+
element: {
|
673
|
+
type: {
|
674
|
+
name: "Composite",
|
675
|
+
className: "OperatorInformation"
|
676
|
+
}
|
677
|
+
}
|
678
|
+
}
|
679
|
+
}
|
680
|
+
}
|
681
|
+
}
|
682
|
+
};
|
683
|
+
export const OperatorInformation = {
|
684
|
+
type: {
|
685
|
+
name: "Composite",
|
686
|
+
className: "OperatorInformation",
|
687
|
+
modelProperties: {
|
688
|
+
phoneNumber: {
|
689
|
+
serializedName: "phoneNumber",
|
690
|
+
type: {
|
691
|
+
name: "String"
|
692
|
+
}
|
693
|
+
},
|
694
|
+
nationalFormat: {
|
695
|
+
serializedName: "nationalFormat",
|
696
|
+
type: {
|
697
|
+
name: "String"
|
698
|
+
}
|
699
|
+
},
|
700
|
+
internationalFormat: {
|
701
|
+
serializedName: "internationalFormat",
|
702
|
+
type: {
|
703
|
+
name: "String"
|
704
|
+
}
|
705
|
+
},
|
706
|
+
numberType: {
|
707
|
+
serializedName: "numberType",
|
708
|
+
type: {
|
709
|
+
name: "String"
|
710
|
+
}
|
711
|
+
},
|
712
|
+
isoCountryCode: {
|
713
|
+
serializedName: "isoCountryCode",
|
714
|
+
type: {
|
715
|
+
name: "String"
|
716
|
+
}
|
717
|
+
},
|
718
|
+
operatorDetails: {
|
719
|
+
serializedName: "operatorDetails",
|
720
|
+
type: {
|
721
|
+
name: "Composite",
|
722
|
+
className: "OperatorDetails"
|
723
|
+
}
|
724
|
+
}
|
725
|
+
}
|
726
|
+
}
|
727
|
+
};
|
728
|
+
export const OperatorDetails = {
|
729
|
+
type: {
|
730
|
+
name: "Composite",
|
731
|
+
className: "OperatorDetails",
|
732
|
+
modelProperties: {
|
733
|
+
name: {
|
734
|
+
serializedName: "name",
|
735
|
+
type: {
|
736
|
+
name: "String"
|
737
|
+
}
|
738
|
+
},
|
739
|
+
mobileNetworkCode: {
|
740
|
+
serializedName: "mobileNetworkCode",
|
741
|
+
type: {
|
742
|
+
name: "String"
|
743
|
+
}
|
744
|
+
},
|
745
|
+
mobileCountryCode: {
|
746
|
+
serializedName: "mobileCountryCode",
|
747
|
+
type: {
|
748
|
+
name: "String"
|
749
|
+
}
|
750
|
+
}
|
751
|
+
}
|
752
|
+
}
|
753
|
+
};
|
632
754
|
export const PhoneNumbersSearchAvailablePhoneNumbersHeaders = {
|
633
755
|
type: {
|
634
756
|
name: "Composite",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,oBAAoB,GAA+B;IAC9D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,sBAAsB;QACjC,eAAe,EAAE;YACf,SAAS,EAAE;gBACT,cAAc,EAAE,WAAW;gBAC3B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,qBAAqB;yBACjC;qBACF;iBACF;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAA+B;IAC7D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qBAAqB;QAChC,eAAe,EAAE;YACf,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAA+B;IACpE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,4BAA4B;QACvC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,oBAAoB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gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,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\nimport * as coreClient from \"@azure/core-client\";\n\nexport const PhoneNumberAreaCodes: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberAreaCodes\",\n modelProperties: {\n areaCodes: {\n serializedName: \"areaCodes\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberAreaCode\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberAreaCode: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberAreaCode\",\n modelProperties: {\n areaCode: {\n serializedName: \"areaCode\",\n type: {\n name: \"String\"\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 PhoneNumberCountries: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCountries\",\n modelProperties: {\n countries: {\n serializedName: \"countries\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCountry\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberCountry: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCountry\",\n modelProperties: {\n localizedName: {\n serializedName: \"localizedName\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n countryCode: {\n serializedName: \"countryCode\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberLocalities: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberLocalities\",\n modelProperties: {\n phoneNumberLocalities: {\n serializedName: \"phoneNumberLocalities\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberLocality\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberLocality: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberLocality\",\n modelProperties: {\n localizedName: {\n serializedName: \"localizedName\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n administrativeDivision: {\n serializedName: \"administrativeDivision\",\n type: {\n name: \"Composite\",\n className: \"PhoneNumberAdministrativeDivision\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberAdministrativeDivision: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberAdministrativeDivision\",\n modelProperties: {\n localizedName: {\n serializedName: \"localizedName\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n abbreviatedName: {\n serializedName: \"abbreviatedName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OfferingsResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OfferingsResponse\",\n modelProperties: {\n phoneNumberOfferings: {\n serializedName: \"phoneNumberOfferings\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberOffering\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberOffering: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberOffering\",\n modelProperties: {\n phoneNumberType: {\n serializedName: \"phoneNumberType\",\n type: {\n name: \"String\"\n }\n },\n assignmentType: {\n serializedName: \"assignmentType\",\n type: {\n name: \"String\"\n }\n },\n availableCapabilities: {\n serializedName: \"availableCapabilities\",\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCapabilities\"\n }\n },\n cost: {\n serializedName: \"cost\",\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCost\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberCapabilities: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCapabilities\",\n modelProperties: {\n calling: {\n serializedName: \"calling\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n sms: {\n serializedName: \"sms\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberCost: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCost\",\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 defaultValue: \"monthly\",\n isConstant: true,\n serializedName: \"billingFrequency\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberSearchRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberSearchRequest\",\n modelProperties: {\n phoneNumberType: {\n serializedName: \"phoneNumberType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n assignmentType: {\n serializedName: \"assignmentType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n capabilities: {\n serializedName: \"capabilities\",\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCapabilities\"\n }\n },\n areaCode: {\n serializedName: \"areaCode\",\n type: {\n name: \"String\"\n }\n },\n quantity: {\n defaultValue: 1,\n constraints: {\n InclusiveMaximum: 2147483647,\n InclusiveMinimum: 1\n },\n serializedName: \"quantity\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberSearchResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberSearchResult\",\n modelProperties: {\n searchId: {\n serializedName: \"searchId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n phoneNumbers: {\n serializedName: \"phoneNumbers\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n phoneNumberType: {\n serializedName: \"phoneNumberType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n assignmentType: {\n serializedName: \"assignmentType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n capabilities: {\n serializedName: \"capabilities\",\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCapabilities\"\n }\n },\n cost: {\n serializedName: \"cost\",\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCost\"\n }\n },\n searchExpiresBy: {\n serializedName: \"searchExpiresBy\",\n required: true,\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberPurchaseRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberPurchaseRequest\",\n modelProperties: {\n searchId: {\n serializedName: \"searchId\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberOperation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberOperation\",\n modelProperties: {\n operationType: {\n serializedName: \"operationType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"status\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n resourceLocation: {\n serializedName: \"resourceLocation\",\n type: {\n name: \"String\"\n }\n },\n createdDateTime: {\n serializedName: \"createdDateTime\",\n required: true,\n type: {\n name: \"DateTime\"\n }\n },\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CommunicationError\"\n }\n },\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n lastActionDateTime: {\n serializedName: \"lastActionDateTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberCapabilitiesRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCapabilitiesRequest\",\n modelProperties: {\n calling: {\n serializedName: \"calling\",\n type: {\n name: \"String\"\n }\n },\n sms: {\n serializedName: \"sms\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PurchasedPhoneNumber: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PurchasedPhoneNumber\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n phoneNumber: {\n serializedName: \"phoneNumber\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n countryCode: {\n serializedName: \"countryCode\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n phoneNumberType: {\n serializedName: \"phoneNumberType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n capabilities: {\n serializedName: \"capabilities\",\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCapabilities\"\n }\n },\n assignmentType: {\n serializedName: \"assignmentType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n purchaseDate: {\n serializedName: \"purchaseDate\",\n required: true,\n type: {\n name: \"DateTime\"\n }\n },\n cost: {\n serializedName: \"cost\",\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCost\"\n }\n }\n }\n }\n};\n\nexport const PurchasedPhoneNumbers: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PurchasedPhoneNumbers\",\n modelProperties: {\n phoneNumbers: {\n serializedName: \"phoneNumbers\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PurchasedPhoneNumber\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumbersSearchAvailablePhoneNumbersHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumbersSearchAvailablePhoneNumbersHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n },\n operationLocation: {\n serializedName: \"operation-location\",\n type: {\n name: \"String\"\n }\n },\n operationId: {\n serializedName: \"operation-id\",\n type: {\n name: \"String\"\n }\n },\n searchId: {\n serializedName: \"search-id\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumbersPurchasePhoneNumbersHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumbersPurchasePhoneNumbersHeaders\",\n modelProperties: {\n operationLocation: {\n serializedName: \"operation-location\",\n type: {\n name: \"String\"\n }\n },\n operationId: {\n serializedName: \"operation-id\",\n type: {\n name: \"String\"\n }\n },\n purchaseId: {\n serializedName: \"purchase-id\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumbersGetOperationHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumbersGetOperationHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumbersUpdateCapabilitiesHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumbersUpdateCapabilitiesHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n },\n operationLocation: {\n serializedName: \"operation-location\",\n type: {\n name: \"String\"\n }\n },\n operationId: {\n serializedName: \"operation-id\",\n type: {\n name: \"String\"\n }\n },\n capabilitiesId: {\n serializedName: \"capabilities-id\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumbersReleasePhoneNumberHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumbersReleasePhoneNumberHeaders\",\n modelProperties: {\n operationLocation: {\n serializedName: \"operation-location\",\n type: {\n name: \"String\"\n }\n },\n operationId: {\n serializedName: \"operation-id\",\n type: {\n name: \"String\"\n }\n },\n releaseId: {\n serializedName: \"release-id\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,oBAAoB,GAA+B;IAC9D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,sBAAsB;QACjC,eAAe,EAAE;YACf,SAAS,EAAE;gBACT,cAAc,EAAE,WAAW;gBAC3B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,qBAAqB;yBACjC;qBACF;iBACF;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAA+B;IAC7D,IAAI,E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E,QAAQ;iBACf;aACF;YACD,SAAS,EAAE;gBACT,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,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\nimport * as coreClient from \"@azure/core-client\";\n\nexport const PhoneNumberAreaCodes: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberAreaCodes\",\n modelProperties: {\n areaCodes: {\n serializedName: \"areaCodes\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberAreaCode\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberAreaCode: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberAreaCode\",\n modelProperties: {\n areaCode: {\n serializedName: \"areaCode\",\n type: {\n name: \"String\"\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 PhoneNumberCountries: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCountries\",\n modelProperties: {\n countries: {\n serializedName: \"countries\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCountry\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberCountry: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCountry\",\n modelProperties: {\n localizedName: {\n serializedName: \"localizedName\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n countryCode: {\n serializedName: \"countryCode\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberLocalities: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberLocalities\",\n modelProperties: {\n phoneNumberLocalities: {\n serializedName: \"phoneNumberLocalities\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberLocality\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberLocality: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberLocality\",\n modelProperties: {\n localizedName: {\n serializedName: \"localizedName\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n administrativeDivision: {\n serializedName: \"administrativeDivision\",\n type: {\n name: \"Composite\",\n className: \"PhoneNumberAdministrativeDivision\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberAdministrativeDivision: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberAdministrativeDivision\",\n modelProperties: {\n localizedName: {\n serializedName: \"localizedName\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n abbreviatedName: {\n serializedName: \"abbreviatedName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OfferingsResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OfferingsResponse\",\n modelProperties: {\n phoneNumberOfferings: {\n serializedName: \"phoneNumberOfferings\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberOffering\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberOffering: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberOffering\",\n modelProperties: {\n phoneNumberType: {\n serializedName: \"phoneNumberType\",\n type: {\n name: \"String\"\n }\n },\n assignmentType: {\n serializedName: \"assignmentType\",\n type: {\n name: \"String\"\n }\n },\n availableCapabilities: {\n serializedName: \"availableCapabilities\",\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCapabilities\"\n }\n },\n cost: {\n serializedName: \"cost\",\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCost\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberCapabilities: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCapabilities\",\n modelProperties: {\n calling: {\n serializedName: \"calling\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n sms: {\n serializedName: \"sms\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberCost: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCost\",\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 defaultValue: \"monthly\",\n isConstant: true,\n serializedName: \"billingFrequency\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberSearchRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberSearchRequest\",\n modelProperties: {\n phoneNumberType: {\n serializedName: \"phoneNumberType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n assignmentType: {\n serializedName: \"assignmentType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n capabilities: {\n serializedName: \"capabilities\",\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCapabilities\"\n }\n },\n areaCode: {\n serializedName: \"areaCode\",\n type: {\n name: \"String\"\n }\n },\n quantity: {\n defaultValue: 1,\n constraints: {\n InclusiveMaximum: 2147483647,\n InclusiveMinimum: 1\n },\n serializedName: \"quantity\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberSearchResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberSearchResult\",\n modelProperties: {\n searchId: {\n serializedName: \"searchId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n phoneNumbers: {\n serializedName: \"phoneNumbers\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n phoneNumberType: {\n serializedName: \"phoneNumberType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n assignmentType: {\n serializedName: \"assignmentType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n capabilities: {\n serializedName: \"capabilities\",\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCapabilities\"\n }\n },\n cost: {\n serializedName: \"cost\",\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCost\"\n }\n },\n searchExpiresBy: {\n serializedName: \"searchExpiresBy\",\n required: true,\n type: {\n name: \"DateTime\"\n }\n },\n errorCode: {\n serializedName: \"errorCode\",\n type: {\n name: \"Number\"\n }\n },\n error: {\n serializedName: \"error\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberPurchaseRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberPurchaseRequest\",\n modelProperties: {\n searchId: {\n serializedName: \"searchId\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberOperation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberOperation\",\n modelProperties: {\n operationType: {\n serializedName: \"operationType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"status\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n resourceLocation: {\n serializedName: \"resourceLocation\",\n type: {\n name: \"String\"\n }\n },\n createdDateTime: {\n serializedName: \"createdDateTime\",\n required: true,\n type: {\n name: \"DateTime\"\n }\n },\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CommunicationError\"\n }\n },\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n lastActionDateTime: {\n serializedName: \"lastActionDateTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumberCapabilitiesRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCapabilitiesRequest\",\n modelProperties: {\n calling: {\n serializedName: \"calling\",\n type: {\n name: \"String\"\n }\n },\n sms: {\n serializedName: \"sms\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PurchasedPhoneNumber: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PurchasedPhoneNumber\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n phoneNumber: {\n serializedName: \"phoneNumber\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n countryCode: {\n serializedName: \"countryCode\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n phoneNumberType: {\n serializedName: \"phoneNumberType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n capabilities: {\n serializedName: \"capabilities\",\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCapabilities\"\n }\n },\n assignmentType: {\n serializedName: \"assignmentType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n purchaseDate: {\n serializedName: \"purchaseDate\",\n required: true,\n type: {\n name: \"DateTime\"\n }\n },\n cost: {\n serializedName: \"cost\",\n type: {\n name: \"Composite\",\n className: \"PhoneNumberCost\"\n }\n }\n }\n }\n};\n\nexport const PurchasedPhoneNumbers: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PurchasedPhoneNumbers\",\n modelProperties: {\n phoneNumbers: {\n serializedName: \"phoneNumbers\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PurchasedPhoneNumber\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OperatorInformationRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperatorInformationRequest\",\n modelProperties: {\n phoneNumbers: {\n serializedName: \"phoneNumbers\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const OperatorInformationResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperatorInformationResult\",\n modelProperties: {\n values: {\n serializedName: \"values\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"OperatorInformation\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const OperatorInformation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperatorInformation\",\n modelProperties: {\n phoneNumber: {\n serializedName: \"phoneNumber\",\n type: {\n name: \"String\"\n }\n },\n nationalFormat: {\n serializedName: \"nationalFormat\",\n type: {\n name: \"String\"\n }\n },\n internationalFormat: {\n serializedName: \"internationalFormat\",\n type: {\n name: \"String\"\n }\n },\n numberType: {\n serializedName: \"numberType\",\n type: {\n name: \"String\"\n }\n },\n isoCountryCode: {\n serializedName: \"isoCountryCode\",\n type: {\n name: \"String\"\n }\n },\n operatorDetails: {\n serializedName: \"operatorDetails\",\n type: {\n name: \"Composite\",\n className: \"OperatorDetails\"\n }\n }\n }\n }\n};\n\nexport const OperatorDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperatorDetails\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n mobileNetworkCode: {\n serializedName: \"mobileNetworkCode\",\n type: {\n name: \"String\"\n }\n },\n mobileCountryCode: {\n serializedName: \"mobileCountryCode\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumbersSearchAvailablePhoneNumbersHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumbersSearchAvailablePhoneNumbersHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n },\n operationLocation: {\n serializedName: \"operation-location\",\n type: {\n name: \"String\"\n }\n },\n operationId: {\n serializedName: \"operation-id\",\n type: {\n name: \"String\"\n }\n },\n searchId: {\n serializedName: \"search-id\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumbersPurchasePhoneNumbersHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumbersPurchasePhoneNumbersHeaders\",\n modelProperties: {\n operationLocation: {\n serializedName: \"operation-location\",\n type: {\n name: \"String\"\n }\n },\n operationId: {\n serializedName: \"operation-id\",\n type: {\n name: \"String\"\n }\n },\n purchaseId: {\n serializedName: \"purchase-id\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumbersGetOperationHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumbersGetOperationHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumbersUpdateCapabilitiesHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumbersUpdateCapabilitiesHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n },\n operationLocation: {\n serializedName: \"operation-location\",\n type: {\n name: \"String\"\n }\n },\n operationId: {\n serializedName: \"operation-id\",\n type: {\n name: \"String\"\n }\n },\n capabilitiesId: {\n serializedName: \"capabilities-id\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PhoneNumbersReleasePhoneNumberHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumbersReleasePhoneNumberHeaders\",\n modelProperties: {\n operationLocation: {\n serializedName: \"operation-location\",\n type: {\n name: \"String\"\n }\n },\n operationId: {\n serializedName: \"operation-id\",\n type: {\n name: \"String\"\n }\n },\n releaseId: {\n serializedName: \"release-id\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
7
|
*/
|
8
|
-
import { PhoneNumberSearchRequest as PhoneNumberSearchRequestMapper, PhoneNumberPurchaseRequest as PhoneNumberPurchaseRequestMapper, PhoneNumberCapabilitiesRequest as PhoneNumberCapabilitiesRequestMapper } from "../models/mappers";
|
8
|
+
import { PhoneNumberSearchRequest as PhoneNumberSearchRequestMapper, PhoneNumberPurchaseRequest as PhoneNumberPurchaseRequestMapper, PhoneNumberCapabilitiesRequest as PhoneNumberCapabilitiesRequestMapper, OperatorInformationRequest as OperatorInformationRequestMapper } from "../models/mappers";
|
9
9
|
export const accept = {
|
10
10
|
parameterPath: "accept",
|
11
11
|
mapper: {
|
@@ -100,7 +100,7 @@ export const administrativeDivision = {
|
|
100
100
|
export const apiVersion = {
|
101
101
|
parameterPath: "apiVersion",
|
102
102
|
mapper: {
|
103
|
-
defaultValue: "
|
103
|
+
defaultValue: "2023-05-01-preview",
|
104
104
|
isConstant: true,
|
105
105
|
serializedName: "api-version",
|
106
106
|
type: {
|
@@ -221,6 +221,19 @@ export const top = {
|
|
221
221
|
}
|
222
222
|
}
|
223
223
|
};
|
224
|
+
export const phoneNumbers = {
|
225
|
+
parameterPath: ["options", "phoneNumbers"],
|
226
|
+
mapper: OperatorInformationRequestMapper
|
227
|
+
};
|
228
|
+
export const options = {
|
229
|
+
parameterPath: ["options", "options"],
|
230
|
+
mapper: {
|
231
|
+
serializedName: "options",
|
232
|
+
type: {
|
233
|
+
name: "String"
|
234
|
+
}
|
235
|
+
}
|
236
|
+
};
|
224
237
|
export const nextLink = {
|
225
238
|
parameterPath: "nextLink",
|
226
239
|
mapper: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,wBAAwB,IAAI,8BAA8B,EAC1D,0BAA0B,IAAI,gCAAgC,EAC9D,8BAA8B,IAAI,oCAAoC,EACvE,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAA0B;IAChD,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CAAC,MAAM,OAAO,GAAuB;IACzC,aAAa,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IACrC,MAAM,EAAE,oCAAoC;CAC7C,CAAC;AAEF,MAAM,CAAC,MAAM,GAAG,GAAuB;IACrC,aAAa,EAAE,CAAC,SAAS,EAAE,KAAK,CAAC;IACjC,MAAM,EAAE,oCAAoC;CAC7C,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAA0B;IAChD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,GAAG,GAA4B;IAC1C,aAAa,EAAE,CAAC,SAAS,EAAE,KAAK,CAAC;IACjC,MAAM,EAAE;QACN,YAAY,EAAE,GAAG;QACjB,cAAc,EAAE,KAAK;QACrB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,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\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n PhoneNumberSearchRequest as PhoneNumberSearchRequestMapper,\n PhoneNumberPurchaseRequest as PhoneNumberPurchaseRequestMapper,\n PhoneNumberCapabilitiesRequest as PhoneNumberCapabilitiesRequestMapper\n} from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const countryCode: OperationURLParameter = {\n parameterPath: \"countryCode\",\n mapper: {\n serializedName: \"countryCode\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const phoneNumberType: OperationQueryParameter = {\n parameterPath: \"phoneNumberType\",\n mapper: {\n serializedName: \"phoneNumberType\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"geographic\", \"tollFree\"]\n }\n }\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 maxPageSize: OperationQueryParameter = {\n parameterPath: [\"options\", \"maxPageSize\"],\n mapper: {\n defaultValue: 100,\n serializedName: \"maxPageSize\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const assignmentType: OperationQueryParameter = {\n parameterPath: [\"options\", \"assignmentType\"],\n mapper: {\n serializedName: \"assignmentType\",\n type: {\n name: \"Enum\",\n allowedValues: [\"person\", \"application\"]\n }\n }\n};\n\nexport const locality: OperationQueryParameter = {\n parameterPath: [\"options\", \"locality\"],\n mapper: {\n serializedName: \"locality\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const administrativeDivision: OperationQueryParameter = {\n parameterPath: [\"options\", \"administrativeDivision\"],\n mapper: {\n serializedName: \"administrativeDivision\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2022-12-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const acceptLanguage: OperationParameter = {\n parameterPath: [\"options\", \"acceptLanguage\"],\n mapper: {\n serializedName: \"accept-language\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const phoneNumberType1: OperationQueryParameter = {\n parameterPath: [\"options\", \"phoneNumberType\"],\n mapper: {\n serializedName: \"phoneNumberType\",\n type: {\n name: \"Enum\",\n allowedValues: [\"geographic\", \"tollFree\"]\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const phoneNumberType2: OperationParameter = {\n parameterPath: \"phoneNumberType\",\n mapper: PhoneNumberSearchRequestMapper\n};\n\nexport const assignmentType1: OperationParameter = {\n parameterPath: \"assignmentType\",\n mapper: PhoneNumberSearchRequestMapper\n};\n\nexport const capabilities: OperationParameter = {\n parameterPath: \"capabilities\",\n mapper: PhoneNumberSearchRequestMapper\n};\n\nexport const areaCode: OperationParameter = {\n parameterPath: [\"options\", \"areaCode\"],\n mapper: PhoneNumberSearchRequestMapper\n};\n\nexport const quantity: OperationParameter = {\n parameterPath: [\"options\", \"quantity\"],\n mapper: PhoneNumberSearchRequestMapper\n};\n\nexport const searchId: OperationURLParameter = {\n parameterPath: \"searchId\",\n mapper: {\n serializedName: \"searchId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const searchId1: OperationParameter = {\n parameterPath: [\"options\", \"searchId\"],\n mapper: PhoneNumberPurchaseRequestMapper\n};\n\nexport const operationId: OperationURLParameter = {\n parameterPath: \"operationId\",\n mapper: {\n serializedName: \"operationId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType1: 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 calling: OperationParameter = {\n parameterPath: [\"options\", \"calling\"],\n mapper: PhoneNumberCapabilitiesRequestMapper\n};\n\nexport const sms: OperationParameter = {\n parameterPath: [\"options\", \"sms\"],\n mapper: PhoneNumberCapabilitiesRequestMapper\n};\n\nexport const phoneNumber: OperationURLParameter = {\n parameterPath: \"phoneNumber\",\n mapper: {\n serializedName: \"phoneNumber\",\n required: true,\n type: {\n name: \"String\"\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 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"]}
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,wBAAwB,IAAI,8BAA8B,EAC1D,0BAA0B,IAAI,gCAAgC,EAC9D,8BAA8B,IAAI,oCAAoC,EACtE,0BAA0B,IAAI,gCAAgC,EAC/D,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAA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Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n PhoneNumberSearchRequest as PhoneNumberSearchRequestMapper,\n PhoneNumberPurchaseRequest as PhoneNumberPurchaseRequestMapper,\n PhoneNumberCapabilitiesRequest as PhoneNumberCapabilitiesRequestMapper,\n OperatorInformationRequest as OperatorInformationRequestMapper\n} from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const countryCode: OperationURLParameter = {\n parameterPath: \"countryCode\",\n mapper: {\n serializedName: \"countryCode\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const phoneNumberType: OperationQueryParameter = {\n parameterPath: \"phoneNumberType\",\n mapper: {\n serializedName: \"phoneNumberType\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"geographic\", \"tollFree\"]\n }\n }\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 maxPageSize: OperationQueryParameter = {\n parameterPath: [\"options\", \"maxPageSize\"],\n mapper: {\n defaultValue: 100,\n serializedName: \"maxPageSize\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const assignmentType: OperationQueryParameter = {\n parameterPath: [\"options\", \"assignmentType\"],\n mapper: {\n serializedName: \"assignmentType\",\n type: {\n name: \"Enum\",\n allowedValues: [\"person\", \"application\"]\n }\n }\n};\n\nexport const locality: OperationQueryParameter = {\n parameterPath: [\"options\", \"locality\"],\n mapper: {\n serializedName: \"locality\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const administrativeDivision: OperationQueryParameter = {\n parameterPath: [\"options\", \"administrativeDivision\"],\n mapper: {\n serializedName: \"administrativeDivision\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2023-05-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const acceptLanguage: OperationParameter = {\n parameterPath: [\"options\", \"acceptLanguage\"],\n mapper: {\n serializedName: \"accept-language\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const phoneNumberType1: OperationQueryParameter = {\n parameterPath: [\"options\", \"phoneNumberType\"],\n mapper: {\n serializedName: \"phoneNumberType\",\n type: {\n name: \"Enum\",\n allowedValues: [\"geographic\", \"tollFree\"]\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const phoneNumberType2: OperationParameter = {\n parameterPath: \"phoneNumberType\",\n mapper: PhoneNumberSearchRequestMapper\n};\n\nexport const assignmentType1: OperationParameter = {\n parameterPath: \"assignmentType\",\n mapper: PhoneNumberSearchRequestMapper\n};\n\nexport const capabilities: OperationParameter = {\n parameterPath: \"capabilities\",\n mapper: PhoneNumberSearchRequestMapper\n};\n\nexport const areaCode: OperationParameter = {\n parameterPath: [\"options\", \"areaCode\"],\n mapper: PhoneNumberSearchRequestMapper\n};\n\nexport const quantity: OperationParameter = {\n parameterPath: [\"options\", \"quantity\"],\n mapper: PhoneNumberSearchRequestMapper\n};\n\nexport const searchId: OperationURLParameter = {\n parameterPath: \"searchId\",\n mapper: {\n serializedName: \"searchId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const searchId1: OperationParameter = {\n parameterPath: [\"options\", \"searchId\"],\n mapper: PhoneNumberPurchaseRequestMapper\n};\n\nexport const operationId: OperationURLParameter = {\n parameterPath: \"operationId\",\n mapper: {\n serializedName: \"operationId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType1: 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 calling: OperationParameter = {\n parameterPath: [\"options\", \"calling\"],\n mapper: PhoneNumberCapabilitiesRequestMapper\n};\n\nexport const sms: OperationParameter = {\n parameterPath: [\"options\", \"sms\"],\n mapper: PhoneNumberCapabilitiesRequestMapper\n};\n\nexport const phoneNumber: OperationURLParameter = {\n parameterPath: \"phoneNumber\",\n mapper: {\n serializedName: \"phoneNumber\",\n required: true,\n type: {\n name: \"String\"\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 phoneNumbers: OperationParameter = {\n parameterPath: [\"options\", \"phoneNumbers\"],\n mapper: OperatorInformationRequestMapper\n};\n\nexport const options: OperationQueryParameter = {\n parameterPath: [\"options\", \"options\"],\n mapper: {\n serializedName: \"options\",\n type: {\n name: \"String\"\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"]}
|