@azure/communication-phone-numbers 1.2.1-alpha.20230720.1 → 1.3.0-beta.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 /** 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"]}
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 /** Type of service associated with the phone number */\n numberType?: OperatorNumberType;\n /** ISO country 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}\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,104 @@ 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
+ numberType: {
695
+ serializedName: "numberType",
696
+ type: {
697
+ name: "String"
698
+ }
699
+ },
700
+ isoCountryCode: {
701
+ serializedName: "isoCountryCode",
702
+ type: {
703
+ name: "String"
704
+ }
705
+ },
706
+ operatorDetails: {
707
+ serializedName: "operatorDetails",
708
+ type: {
709
+ name: "Composite",
710
+ className: "OperatorDetails"
711
+ }
712
+ }
713
+ }
714
+ }
715
+ };
716
+ export const OperatorDetails = {
717
+ type: {
718
+ name: "Composite",
719
+ className: "OperatorDetails",
720
+ modelProperties: {
721
+ name: {
722
+ serializedName: "name",
723
+ type: {
724
+ name: "String"
725
+ }
726
+ },
727
+ mobileNetworkCode: {
728
+ serializedName: "mobileNetworkCode",
729
+ type: {
730
+ name: "String"
731
+ }
732
+ },
733
+ mobileCountryCode: {
734
+ serializedName: "mobileCountryCode",
735
+ type: {
736
+ name: "String"
737
+ }
738
+ }
739
+ }
740
+ }
741
+ };
632
742
  export const PhoneNumbersSearchAvailablePhoneNumbersHeaders = {
633
743
  type: {
634
744
  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,Q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,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,cAAc,EAAE;gBACd,cAAc,EAAE,iBAAiB;gBACjC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,qCAAqC,GAA+B;IAC/E,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,uCAAuC;QAClD,eAAe,EAAE;YACf,iBAAiB,EAAE;gBACjB,cAAc,EAAE,oBAAoB;gBACpC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,WAAW,EAAE;gBACX,cAAc,EAAE,cAAc;gBAC9B,IAAI,EAAE;oBACJ,IAAI,EAAE,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 }\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,MAA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CAAC;AAEF,MAAM,CAAC,MAAM,qCAAqC,GAA+B;IAC/E,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,uCAAuC;QAClD,eAAe,EAAE;YACf,iBAAiB,EAAE;gBACjB,cAAc,EAAE,oBAAoB;gBACpC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,WAAW,EAAE;gBACX,cAAc,EAAE,cAAc;gBAC9B,IAAI,EAAE;oBACJ,IAAI,EAAE,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 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: "2022-12-01",
103
+ defaultValue: "2023-05-01-preview",
104
104
  isConstant: true,
105
105
  serializedName: "api-version",
106
106
  type: {
@@ -221,6 +221,10 @@ export const top = {
221
221
  }
222
222
  }
223
223
  };
224
+ export const phoneNumbers = {
225
+ parameterPath: ["options", "phoneNumbers"],
226
+ mapper: OperatorInformationRequestMapper
227
+ };
224
228
  export const nextLink = {
225
229
  parameterPath: "nextLink",
226
230
  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,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,cAAc,EAAE,aAAa;QAC7B,QAA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C;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,GAA0B;IAChD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,cAAc,EAAE,aAAa;QAC7B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S,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,YAAY,GAAuB;IAC9C,aAAa,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC;IAC1C,MAAM,EAAE,gCAAgC;CACzC,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 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 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"]}
@@ -667,6 +667,15 @@ export class PhoneNumbersImpl {
667
667
  return this.client.sendOperationRequest({ options }, listPhoneNumbersOperationSpec);
668
668
  });
669
669
  }
670
+ /**
671
+ * Searches for operator information for a given list of phone numbers.
672
+ * @param options The options parameters.
673
+ */
674
+ async operatorInformationSearch(options) {
675
+ return tracingClient.withSpan("PhoneNumbersClient.operatorInformationSearch", options !== null && options !== void 0 ? options : {}, async (options) => {
676
+ return this.client.sendOperationRequest({ options }, operatorInformationSearchOperationSpec);
677
+ });
678
+ }
670
679
  /**
671
680
  * ListAreaCodesNext
672
681
  * @param countryCode The ISO 3166-2 country code, e.g. US.
@@ -1019,6 +1028,27 @@ const listPhoneNumbersOperationSpec = {
1019
1028
  headerParameters: [Parameters.accept],
1020
1029
  serializer
1021
1030
  };
1031
+ const operatorInformationSearchOperationSpec = {
1032
+ path: "/operatorInformation/:search",
1033
+ httpMethod: "POST",
1034
+ responses: {
1035
+ 200: {
1036
+ bodyMapper: Mappers.OperatorInformationResult
1037
+ },
1038
+ default: {
1039
+ bodyMapper: Mappers.CommunicationErrorResponse
1040
+ }
1041
+ },
1042
+ requestBody: {
1043
+ parameterPath: { phoneNumbers: ["options", "phoneNumbers"] },
1044
+ mapper: Object.assign(Object.assign({}, Mappers.OperatorInformationRequest), { required: true })
1045
+ },
1046
+ queryParameters: [Parameters.apiVersion],
1047
+ urlParameters: [Parameters.endpoint],
1048
+ headerParameters: [Parameters.accept, Parameters.contentType],
1049
+ mediaType: "json",
1050
+ serializer
1051
+ };
1022
1052
  const listAreaCodesNextOperationSpec = {
1023
1053
  path: "{nextLink}",
1024
1054
  httpMethod: "GET",