@wix/auto_sdk_ecom_shippo-configurations 1.0.51 → 1.0.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +12 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +18 -1
  5. package/build/cjs/index.typings.js +12 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +18 -1
  8. package/build/cjs/meta.js +12 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +12 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +18 -1
  14. package/build/es/index.typings.mjs +12 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +18 -1
  17. package/build/es/meta.mjs +12 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +12 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +18 -1
  23. package/build/internal/cjs/index.typings.js +12 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +18 -1
  26. package/build/internal/cjs/meta.js +12 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +12 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +18 -1
  32. package/build/internal/es/index.typings.mjs +12 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +18 -1
  35. package/build/internal/es/meta.mjs +12 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../meta.ts","../../../src/ecom-v1-shippo-configuration-shippo-configurations.http.ts","../../../src/ecom-v1-shippo-configuration-shippo-configurations.types.ts","../../../src/ecom-v1-shippo-configuration-shippo-configurations.meta.ts"],"sourcesContent":["export * from './src/ecom-v1-shippo-configuration-shippo-configurations.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixEcomDeliveryV1ShippoServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/shippo-service',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/ecom/v1/shippo-configurations',\n destPath: '/v1/shippo-configurations',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_ecom_shippo-configurations';\n\n/** Creates a ShippoConfiguration. */\nexport function createShippoConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __createShippoConfiguration({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'shippoConfiguration.createdDate' },\n { path: 'shippoConfiguration.updatedDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'shippoConfiguration.shipFromAddress.geocode.latitude' },\n { path: 'shippoConfiguration.shipFromAddress.geocode.longitude' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.shippo_configuration',\n method: 'POST' as any,\n methodFqn: 'wix.ecom.delivery.v1.ShippoService.CreateShippoConfiguration',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryV1ShippoServiceUrl({\n protoPath: '/v1/shippo-configurations',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'shippoConfiguration.createdDate' },\n { path: 'shippoConfiguration.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'shippoConfiguration.shipFromAddress.geocode.latitude' },\n { path: 'shippoConfiguration.shipFromAddress.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createShippoConfiguration;\n}\n\n/** Retrieves a ShippoConfiguration. */\nexport function getShippoConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __getShippoConfiguration({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.shippo_configuration',\n method: 'GET' as any,\n methodFqn: 'wix.ecom.delivery.v1.ShippoService.GetShippoConfiguration',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryV1ShippoServiceUrl({\n protoPath: '/v1/shippo-configurations/{shippoConfigurationId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'shippoConfiguration.createdDate' },\n { path: 'shippoConfiguration.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'shippoConfiguration.shipFromAddress.geocode.latitude' },\n { path: 'shippoConfiguration.shipFromAddress.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getShippoConfiguration;\n}\n\n/** Updates a ShippoConfiguration. */\nexport function updateShippoConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateShippoConfiguration({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'shippoConfiguration.createdDate' },\n { path: 'shippoConfiguration.updatedDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'shippoConfiguration.shipFromAddress.geocode.latitude' },\n { path: 'shippoConfiguration.shipFromAddress.geocode.longitude' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.shippo_configuration',\n method: 'PATCH' as any,\n methodFqn: 'wix.ecom.delivery.v1.ShippoService.UpdateShippoConfiguration',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryV1ShippoServiceUrl({\n protoPath: '/v1/shippo-configurations/{shippoConfiguration.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'shippoConfiguration.createdDate' },\n { path: 'shippoConfiguration.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'shippoConfiguration.shipFromAddress.geocode.latitude' },\n { path: 'shippoConfiguration.shipFromAddress.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateShippoConfiguration;\n}\n\n/** Deletes a ShippoConfiguration. */\nexport function deleteShippoConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteShippoConfiguration({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.shippo_configuration',\n method: 'DELETE' as any,\n methodFqn: 'wix.ecom.delivery.v1.ShippoService.DeleteShippoConfiguration',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryV1ShippoServiceUrl({\n protoPath: '/v1/shippo-configurations/{shippoConfigurationId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteShippoConfiguration;\n}\n\n/**\n * Retrieves a list of ShippoConfigurations, given the provided [paging, filtering, and sorting][1].\n *\n * Up to 1,000 ShippoConfigurations can be returned per request.\n *\n * To learn how to query ShippoConfigurations, see [API Query Language][2].\n *\n * [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging\n * [2]: https://dev.wix.com/api/rest/getting-started/api-query-language\n */\nexport function queryShippoConfigurations(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryShippoConfigurations({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.shippo_configuration',\n method: 'GET' as any,\n methodFqn: 'wix.ecom.delivery.v1.ShippoService.QueryShippoConfigurations',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryV1ShippoServiceUrl({\n protoPath: '/v1/shippo-configurations/query',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'shippoConfigurations.createdDate' },\n { path: 'shippoConfigurations.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'shippoConfigurations.shipFromAddress.geocode.latitude' },\n {\n path: 'shippoConfigurations.shipFromAddress.geocode.longitude',\n },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixEcomDeliveryV1ShippoServiceUrl({\n protoPath: '/v1/shippo-configurations/query',\n data: payload,\n host,\n }),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryShippoConfigurations;\n}\n\n/** Updates extended fields of a ShippoConfiguration without incrementing revision */\nexport function updateExtendedFields(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateExtendedFields({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.shippo_configuration',\n method: 'POST' as any,\n methodFqn: 'wix.ecom.delivery.v1.ShippoService.UpdateExtendedFields',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryV1ShippoServiceUrl({\n protoPath: '/v1/shippo-configurations/{id}/update-extended-fields',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'shippoConfiguration.createdDate' },\n { path: 'shippoConfiguration.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'shippoConfiguration.shipFromAddress.geocode.latitude' },\n { path: 'shippoConfiguration.shipFromAddress.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateExtendedFields;\n}\n\n/** Adds a delivery region to a Shippo configuration. */\nexport function addDeliveryRegion(payload: object): RequestOptionsFactory<any> {\n function __addDeliveryRegion({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.shippo_configuration',\n method: 'POST' as any,\n methodFqn: 'wix.ecom.delivery.v1.ShippoService.AddDeliveryRegion',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryV1ShippoServiceUrl({\n protoPath:\n '/v1/shippo-configurations/{shippoConfigurationId}/delivery-regions',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'shippoConfiguration.createdDate' },\n { path: 'shippoConfiguration.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'shippoConfiguration.shipFromAddress.geocode.latitude' },\n { path: 'shippoConfiguration.shipFromAddress.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __addDeliveryRegion;\n}\n\n/**\n * Removes a delivery region from a Shippo configuration.\n * When passing the ID of the only existing delivery region, removing it will delete the Shippo configuration.\n */\nexport function removeDeliveryRegion(\n payload: object\n): RequestOptionsFactory<any> {\n function __removeDeliveryRegion({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.shippo_configuration',\n method: 'DELETE' as any,\n methodFqn: 'wix.ecom.delivery.v1.ShippoService.RemoveDeliveryRegion',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryV1ShippoServiceUrl({\n protoPath:\n '/v1/shippo-configurations/{shippoConfigurationId}/delivery-regions/{deliveryRegionId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'shippoConfiguration.createdDate' },\n { path: 'shippoConfiguration.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'shippoConfiguration.shipFromAddress.geocode.latitude' },\n { path: 'shippoConfiguration.shipFromAddress.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __removeDeliveryRegion;\n}\n","export interface ShippoConfiguration {\n /**\n * ShippoConfiguration ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /** @readonly */\n revision?: string | null;\n /**\n * Date and time the ShippoConfiguration was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the ShippoConfiguration was last updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Associated delivery region ID.\n * @format GUID\n * @immutable\n * @deprecated Associated delivery region ID.\n * @replacedBy delivery_region_ids\n * @targetRemovalDate 2025-06-01\n */\n deliveryRegionId?: string | null;\n /**\n * Settings of USPS domestic services.\n * @maxSize 3\n */\n domesticServices?: DomesticServiceSettings[];\n /**\n * Settings of USPS international services.\n * @maxSize 3\n */\n internationalServices?: InternationalServiceSettings[];\n /** Package type. */\n packageType?: PackageTypeWithLiterals;\n /** Package details. */\n packageDetails?: PackageDetails;\n /**\n * Location ID from OS location service.\n * @format GUID\n */\n osLocationId?: string | null;\n /**\n * Ship from address materialized from OS location.\n * @readonly\n */\n shipFromAddress?: Address;\n /**\n * This shippo configuration is active for the following delivery regions.\n * @maxSize 50\n * @format GUID\n * @immutable\n */\n deliveryRegionIds?: string[];\n /**\n * Backup weight.\n * @decimalValue options { gte:0, maxScale:5 }\n */\n backupWeight?: string | null;\n /** Data extensions. */\n extendedFields?: ExtendedFields;\n}\n\nexport interface DomesticServiceSettings {\n /**\n * DomesticServiceSettings ID.\n * @format GUID\n */\n id?: string | null;\n /** USPS domestic service. */\n service?: DomesticServiceWithLiterals;\n /** Service settings. */\n serviceSettings?: ServiceSettings;\n}\n\nexport enum DomesticService {\n UNKNOWN_DOMESTIC_SERVICE = 'UNKNOWN_DOMESTIC_SERVICE',\n GROUND_ADVANTAGE = 'GROUND_ADVANTAGE',\n PRIORITY_MAIL = 'PRIORITY_MAIL',\n PRIORITY_MAIL_EXPRESS = 'PRIORITY_MAIL_EXPRESS',\n}\n\n/** @enumType */\nexport type DomesticServiceWithLiterals =\n | DomesticService\n | 'UNKNOWN_DOMESTIC_SERVICE'\n | 'GROUND_ADVANTAGE'\n | 'PRIORITY_MAIL'\n | 'PRIORITY_MAIL_EXPRESS';\n\nexport interface ServiceSettings {\n /**\n * Estimated delivery time.\n * @maxLength 500\n */\n estimatedDeliveryTime?: string | null;\n /** Handling fee. */\n handlingFee?: HandlingFee;\n /**\n * Amount above which free delivery is offered.\n * @decimalValue options { gte:0, maxScale:6 }\n */\n freeDeliveryMinimumAmount?: string | null;\n}\n\nexport interface HandlingFee {\n /**\n * Value that will be used to calculate the fee. For example, percentage fee with value 5% to calculate the fee.\n * @decimalValue options { gte:0, maxScale:4 }\n */\n value?: string;\n /** How to calculate the fee: fixed amount or by percentage. */\n calculationType?: CalculationTypeWithLiterals;\n}\n\nexport enum CalculationType {\n UNKNOWN_TYPE = 'UNKNOWN_TYPE',\n FIXED = 'FIXED',\n PERCENTAGE = 'PERCENTAGE',\n}\n\n/** @enumType */\nexport type CalculationTypeWithLiterals =\n | CalculationType\n | 'UNKNOWN_TYPE'\n | 'FIXED'\n | 'PERCENTAGE';\n\nexport interface InternationalServiceSettings {\n /**\n * InternationalServiceSettings ID.\n * @format GUID\n */\n id?: string | null;\n /** USPS international service. */\n service?: InternationalServiceWithLiterals;\n /** Service settings. */\n serviceSettings?: ServiceSettings;\n}\n\nexport enum InternationalService {\n UNKNOWN_INTERNATIONAL_SERVICE = 'UNKNOWN_INTERNATIONAL_SERVICE',\n FIRST_CLASS_PACKAGE_INTERNATIONAL = 'FIRST_CLASS_PACKAGE_INTERNATIONAL',\n PRIORITY_MAIL_INTERNATIONAL = 'PRIORITY_MAIL_INTERNATIONAL',\n PRIORITY_MAIL_EXPRESS_INTERNATIONAL = 'PRIORITY_MAIL_EXPRESS_INTERNATIONAL',\n}\n\n/** @enumType */\nexport type InternationalServiceWithLiterals =\n | InternationalService\n | 'UNKNOWN_INTERNATIONAL_SERVICE'\n | 'FIRST_CLASS_PACKAGE_INTERNATIONAL'\n | 'PRIORITY_MAIL_INTERNATIONAL'\n | 'PRIORITY_MAIL_EXPRESS_INTERNATIONAL';\n\nexport enum PackageType {\n UNKNOWN_PACKAGE_TYPE = 'UNKNOWN_PACKAGE_TYPE',\n CUSTOM = 'CUSTOM',\n FLAT_RATE_ENVELOPE = 'FLAT_RATE_ENVELOPE',\n PADDED_FLAT_RATE_ENVELOPE = 'PADDED_FLAT_RATE_ENVELOPE',\n SMALL_FLAT_RATE_BOX = 'SMALL_FLAT_RATE_BOX',\n MEDIUM_FLAT_RATE_BOX_1 = 'MEDIUM_FLAT_RATE_BOX_1',\n MEDIUM_FLAT_RATE_BOX_2 = 'MEDIUM_FLAT_RATE_BOX_2',\n LARGE_FLAT_RATE_BOX = 'LARGE_FLAT_RATE_BOX',\n}\n\n/** @enumType */\nexport type PackageTypeWithLiterals =\n | PackageType\n | 'UNKNOWN_PACKAGE_TYPE'\n | 'CUSTOM'\n | 'FLAT_RATE_ENVELOPE'\n | 'PADDED_FLAT_RATE_ENVELOPE'\n | 'SMALL_FLAT_RATE_BOX'\n | 'MEDIUM_FLAT_RATE_BOX_1'\n | 'MEDIUM_FLAT_RATE_BOX_2'\n | 'LARGE_FLAT_RATE_BOX';\n\nexport interface PackageDetails {\n /**\n * Package name. Must be set when package type is CUSTOM.\n * For other package types, it is read-only, and an exception will be thrown\n * if it set when creating a ShippoConfiguration.\n * @maxLength 255\n */\n name?: string | null;\n /**\n * Package dimensions. Can only be set when package type is CUSTOM.\n * For other package types, it is read-only, and an exception will be thrown\n * if it set when creating a ShippoConfiguration.\n */\n dimensions?: PackageDimensions;\n /**\n * Maximum number of products. Must be set when package type is NOT CUSTOM.\n * Otherwise, if the package type is CUSTOM, this field cannot be set and an\n * exception will be thrown if it is set when creating a ShippoConfiguration.\n */\n maxNumberOfProducts?: string | null;\n}\n\nexport interface PackageDimensions {\n /**\n * Package length.\n * @decimalValue options { gte:0, maxScale:3 }\n */\n length?: string;\n /**\n * Package width.\n * @decimalValue options { gte:0, maxScale:3 }\n */\n width?: string;\n /**\n * Package height.\n * @decimalValue options { gte:0, maxScale:3 }\n */\n height?: string;\n}\n\n/** Physical address */\nexport interface Address {\n /**\n * Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.\n * @format COUNTRY\n */\n country?: string | null;\n /**\n * Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format.\n * @maxLength 50\n */\n subdivision?: string | null;\n /**\n * City name.\n * @maxLength 50\n */\n city?: string | null;\n /**\n * Postal or zip code.\n * @maxLength 50\n */\n postalCode?: string | null;\n /** Street address. */\n streetAddress?: StreetAddress;\n /**\n * Main address line (usually street name and number).\n * @maxLength 150\n */\n addressLine?: string | null;\n /**\n * Free text providing more detailed address info. Usually contains apt, suite, floor.\n * @maxLength 100\n */\n addressLine2?: string | null;\n /** Geocode object containing latitude and longitude coordinates. */\n geocode?: AddressLocation;\n /**\n * Country's full name.\n * @readonly\n */\n countryFullname?: string | null;\n /**\n * Subdivision full-name.\n * @readonly\n */\n subdivisionFullname?: string | null;\n}\n\nexport interface StreetAddress {\n /** Street number. */\n number?: string;\n /** Street name. */\n name?: string;\n}\n\nexport interface AddressLocation {\n /** Address latitude. */\n latitude?: number | null;\n /** Address longitude. */\n longitude?: number | null;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\nexport interface CreateShippoConfigurationRequest {\n /** ShippoConfiguration to be created. */\n shippoConfiguration: ShippoConfiguration;\n /** @decimalValue options { gte:0, maxScale:6 } */\n backupRate?: string | null;\n}\n\nexport interface CreateShippoConfigurationResponse {\n /** The created ShippoConfiguration. */\n shippoConfiguration?: ShippoConfiguration;\n}\n\nexport interface GetShippoConfigurationRequest {\n /**\n * ID of the ShippoConfiguration to retrieve.\n * @format GUID\n */\n shippoConfigurationId: string;\n}\n\nexport interface GetShippoConfigurationResponse {\n /** The requested ShippoConfiguration. */\n shippoConfiguration?: ShippoConfiguration;\n}\n\nexport interface UpdateShippoConfigurationRequest {\n /** ShippoConfiguration to be updated, may be partial. */\n shippoConfiguration: ShippoConfiguration;\n}\n\nexport interface UpdateShippoConfigurationResponse {\n /** Updated ShippoConfiguration. */\n shippoConfiguration?: ShippoConfiguration;\n}\n\nexport interface DeleteShippoConfigurationRequest {\n /**\n * ID of the ShippoConfiguration to delete.\n * @format GUID\n */\n shippoConfigurationId: string;\n}\n\nexport interface DeleteShippoConfigurationResponse {}\n\nexport interface QueryShippoConfigurationsRequest {\n /** WQL expression. */\n query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n * @maxSize 5\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QueryShippoConfigurationsResponse {\n /** List of ShippoConfigurations. */\n shippoConfigurations?: ShippoConfiguration[];\n /** Paging metadata. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface UpdateExtendedFieldsRequest {\n /** ID of the entity to update. */\n id: string;\n /** Identifier for the app whose extended fields are being updated. */\n namespace: string;\n /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */\n namespaceData: Record<string, any> | null;\n}\n\nexport interface UpdateExtendedFieldsResponse {\n /** Updated ShippoConfiguration. */\n shippoConfiguration?: ShippoConfiguration;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface Empty {}\n\nexport interface AddDeliveryRegionRequest {\n /**\n * ID of the ShippoConfiguration to add the delivery region to.\n * @format GUID\n */\n shippoConfigurationId: string;\n /**\n * ID of the delivery region to add.\n * @format GUID\n */\n deliveryRegionId: string;\n /** Revision of the ShippoConfiguration. */\n revision?: string | null;\n}\n\nexport interface AddDeliveryRegionResponse {\n /** The updated ShippoConfiguration. */\n shippoConfiguration?: ShippoConfiguration;\n}\n\nexport interface RemoveDeliveryRegionRequest {\n /**\n * ID of the ShippoConfiguration to remove the delivery region from.\n * @format GUID\n */\n shippoConfigurationId: string;\n /**\n * ID of the delivery region to remove.\n * @format GUID\n */\n deliveryRegionId: string;\n /** Revision of the ShippoConfiguration. */\n revision?: string | null;\n}\n\nexport interface RemoveDeliveryRegionResponse {\n /** The updated ShippoConfiguration, or empty if the ShippoConfiguration was deleted. */\n shippoConfiguration?: ShippoConfiguration;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n","import * as ambassadorWixEcomV1ShippoConfiguration from './ecom-v1-shippo-configuration-shippo-configurations.http.js';\nimport * as ambassadorWixEcomV1ShippoConfigurationTypes from './ecom-v1-shippo-configuration-shippo-configurations.types.js';\nimport * as ambassadorWixEcomV1ShippoConfigurationUniversalTypes from './ecom-v1-shippo-configuration-shippo-configurations.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createShippoConfiguration(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.CreateShippoConfigurationRequest,\n ambassadorWixEcomV1ShippoConfigurationTypes.CreateShippoConfigurationRequest,\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.CreateShippoConfigurationResponse,\n ambassadorWixEcomV1ShippoConfigurationTypes.CreateShippoConfigurationResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1ShippoConfiguration.createShippoConfiguration(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/shippo-configurations',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getShippoConfiguration(): __PublicMethodMetaInfo<\n 'GET',\n { shippoConfigurationId: string },\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.GetShippoConfigurationRequest,\n ambassadorWixEcomV1ShippoConfigurationTypes.GetShippoConfigurationRequest,\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.GetShippoConfigurationResponse,\n ambassadorWixEcomV1ShippoConfigurationTypes.GetShippoConfigurationResponse\n> {\n const payload = { shippoConfigurationId: ':shippoConfigurationId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1ShippoConfiguration.getShippoConfiguration(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/shippo-configurations/{shippoConfigurationId}',\n pathParams: { shippoConfigurationId: 'shippoConfigurationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateShippoConfiguration(): __PublicMethodMetaInfo<\n 'PATCH',\n { shippoConfigurationId: string },\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.UpdateShippoConfigurationRequest,\n ambassadorWixEcomV1ShippoConfigurationTypes.UpdateShippoConfigurationRequest,\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.UpdateShippoConfigurationResponse,\n ambassadorWixEcomV1ShippoConfigurationTypes.UpdateShippoConfigurationResponse\n> {\n const payload = {\n shippoConfiguration: { id: ':shippoConfigurationId' },\n } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1ShippoConfiguration.updateShippoConfiguration(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v1/shippo-configurations/{shippoConfiguration.id}',\n pathParams: { shippoConfigurationId: 'shippoConfigurationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteShippoConfiguration(): __PublicMethodMetaInfo<\n 'DELETE',\n { shippoConfigurationId: string },\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.DeleteShippoConfigurationRequest,\n ambassadorWixEcomV1ShippoConfigurationTypes.DeleteShippoConfigurationRequest,\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.DeleteShippoConfigurationResponse,\n ambassadorWixEcomV1ShippoConfigurationTypes.DeleteShippoConfigurationResponse\n> {\n const payload = { shippoConfigurationId: ':shippoConfigurationId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1ShippoConfiguration.deleteShippoConfiguration(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/shippo-configurations/{shippoConfigurationId}',\n pathParams: { shippoConfigurationId: 'shippoConfigurationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryShippoConfigurations(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.QueryShippoConfigurationsRequest,\n ambassadorWixEcomV1ShippoConfigurationTypes.QueryShippoConfigurationsRequest,\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.QueryShippoConfigurationsResponse,\n ambassadorWixEcomV1ShippoConfigurationTypes.QueryShippoConfigurationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1ShippoConfiguration.queryShippoConfigurations(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/shippo-configurations/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateExtendedFields(): __PublicMethodMetaInfo<\n 'POST',\n { id: string },\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.UpdateExtendedFieldsRequest,\n ambassadorWixEcomV1ShippoConfigurationTypes.UpdateExtendedFieldsRequest,\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.UpdateExtendedFieldsResponse,\n ambassadorWixEcomV1ShippoConfigurationTypes.UpdateExtendedFieldsResponse\n> {\n const payload = { id: ':id' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1ShippoConfiguration.updateExtendedFields(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/shippo-configurations/{id}/update-extended-fields',\n pathParams: { id: 'id' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function addDeliveryRegion(): __PublicMethodMetaInfo<\n 'POST',\n { shippoConfigurationId: string },\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.AddDeliveryRegionRequest,\n ambassadorWixEcomV1ShippoConfigurationTypes.AddDeliveryRegionRequest,\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.AddDeliveryRegionResponse,\n ambassadorWixEcomV1ShippoConfigurationTypes.AddDeliveryRegionResponse\n> {\n const payload = { shippoConfigurationId: ':shippoConfigurationId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1ShippoConfiguration.addDeliveryRegion(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/shippo-configurations/{shippoConfigurationId}/delivery-regions',\n pathParams: { shippoConfigurationId: 'shippoConfigurationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function removeDeliveryRegion(): __PublicMethodMetaInfo<\n 'DELETE',\n { shippoConfigurationId: string; deliveryRegionId: string },\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.RemoveDeliveryRegionRequest,\n ambassadorWixEcomV1ShippoConfigurationTypes.RemoveDeliveryRegionRequest,\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.RemoveDeliveryRegionResponse,\n ambassadorWixEcomV1ShippoConfigurationTypes.RemoveDeliveryRegionResponse\n> {\n const payload = {\n shippoConfigurationId: ':shippoConfigurationId',\n deliveryRegionId: ':deliveryRegionId',\n } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1ShippoConfiguration.removeDeliveryRegion(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/shippo-configurations/{shippoConfigurationId}/delivery-regions/{deliveryRegionId}',\n pathParams: {\n shippoConfigurationId: 'shippoConfigurationId',\n deliveryRegionId: 'deliveryRegionId',\n },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n ShippoConfiguration as ShippoConfigurationOriginal,\n DomesticServiceSettings as DomesticServiceSettingsOriginal,\n DomesticService as DomesticServiceOriginal,\n DomesticServiceWithLiterals as DomesticServiceWithLiteralsOriginal,\n ServiceSettings as ServiceSettingsOriginal,\n HandlingFee as HandlingFeeOriginal,\n CalculationType as CalculationTypeOriginal,\n CalculationTypeWithLiterals as CalculationTypeWithLiteralsOriginal,\n InternationalServiceSettings as InternationalServiceSettingsOriginal,\n InternationalService as InternationalServiceOriginal,\n InternationalServiceWithLiterals as InternationalServiceWithLiteralsOriginal,\n PackageType as PackageTypeOriginal,\n PackageTypeWithLiterals as PackageTypeWithLiteralsOriginal,\n PackageDetails as PackageDetailsOriginal,\n PackageDimensions as PackageDimensionsOriginal,\n Address as AddressOriginal,\n StreetAddress as StreetAddressOriginal,\n AddressLocation as AddressLocationOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n CreateShippoConfigurationRequest as CreateShippoConfigurationRequestOriginal,\n CreateShippoConfigurationResponse as CreateShippoConfigurationResponseOriginal,\n GetShippoConfigurationRequest as GetShippoConfigurationRequestOriginal,\n GetShippoConfigurationResponse as GetShippoConfigurationResponseOriginal,\n UpdateShippoConfigurationRequest as UpdateShippoConfigurationRequestOriginal,\n UpdateShippoConfigurationResponse as UpdateShippoConfigurationResponseOriginal,\n DeleteShippoConfigurationRequest as DeleteShippoConfigurationRequestOriginal,\n DeleteShippoConfigurationResponse as DeleteShippoConfigurationResponseOriginal,\n QueryShippoConfigurationsRequest as QueryShippoConfigurationsRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryShippoConfigurationsResponse as QueryShippoConfigurationsResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal,\n UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n Empty as EmptyOriginal,\n AddDeliveryRegionRequest as AddDeliveryRegionRequestOriginal,\n AddDeliveryRegionResponse as AddDeliveryRegionResponseOriginal,\n RemoveDeliveryRegionRequest as RemoveDeliveryRegionRequestOriginal,\n RemoveDeliveryRegionResponse as RemoveDeliveryRegionResponseOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n} from './ecom-v1-shippo-configuration-shippo-configurations.types.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2BAAAA;AAAA,EAAA,iCAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,8BAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,iCAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC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,MAAM;AAAA,IACN,YAAY,EAAE,IAAI,KAAK;AAAA,IACvB,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,qBAOd;AACA,QAAM,UAAU,EAAE,uBAAuB,yBAAyB;AAElE,QAAM,oBACmC,kBAAkB,OAAO;AAElE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,uBAAuB,wBAAwB;AAAA,IAC7D,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,wBAOd;AACA,QAAM,UAAU;AAAA,IACd,uBAAuB;AAAA,IACvB,kBAAkB;AAAA,EACpB;AAEA,QAAM,oBACmC,qBAAqB,OAAO;AAErE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY;AAAA,MACV,uBAAuB;AAAA,MACvB,kBAAkB;AAAA,IACpB;AAAA,IACA,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["addDeliveryRegion","createShippoConfiguration","deleteShippoConfiguration","getShippoConfiguration","queryShippoConfigurations","removeDeliveryRegion","updateExtendedFields","updateShippoConfiguration","import_float","import_timestamp","import_rest_modules","payload","DomesticService","CalculationType","InternationalService","PackageType","SortOrder","WebhookIdentityType","createShippoConfiguration","getShippoConfiguration","updateShippoConfiguration","deleteShippoConfiguration","queryShippoConfigurations","updateExtendedFields","addDeliveryRegion","removeDeliveryRegion"]}
1
+ {"version":3,"sources":["../../../meta.ts","../../../src/ecom-v1-shippo-configuration-shippo-configurations.http.ts","../../../src/ecom-v1-shippo-configuration-shippo-configurations.types.ts","../../../src/ecom-v1-shippo-configuration-shippo-configurations.meta.ts"],"sourcesContent":["export * from './src/ecom-v1-shippo-configuration-shippo-configurations.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixEcomDeliveryV1ShippoServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/shippo-service',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/ecom/v1/shippo-configurations',\n destPath: '/v1/shippo-configurations',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/ecom/v1/shippo-configurations',\n destPath: '/v1/shippo-configurations',\n },\n ],\n _: [\n {\n srcPath: '/ecom/v1/shippo-configurations',\n destPath: '/v1/shippo-configurations',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_ecom_shippo-configurations';\n\n/** Creates a ShippoConfiguration. */\nexport function createShippoConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __createShippoConfiguration({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'shippoConfiguration.createdDate' },\n { path: 'shippoConfiguration.updatedDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'shippoConfiguration.shipFromAddress.geocode.latitude' },\n { path: 'shippoConfiguration.shipFromAddress.geocode.longitude' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.shippo_configuration',\n method: 'POST' as any,\n methodFqn: 'wix.ecom.delivery.v1.ShippoService.CreateShippoConfiguration',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryV1ShippoServiceUrl({\n protoPath: '/v1/shippo-configurations',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'shippoConfiguration.createdDate' },\n { path: 'shippoConfiguration.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'shippoConfiguration.shipFromAddress.geocode.latitude' },\n { path: 'shippoConfiguration.shipFromAddress.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createShippoConfiguration;\n}\n\n/** Retrieves a ShippoConfiguration. */\nexport function getShippoConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __getShippoConfiguration({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.shippo_configuration',\n method: 'GET' as any,\n methodFqn: 'wix.ecom.delivery.v1.ShippoService.GetShippoConfiguration',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryV1ShippoServiceUrl({\n protoPath: '/v1/shippo-configurations/{shippoConfigurationId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'shippoConfiguration.createdDate' },\n { path: 'shippoConfiguration.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'shippoConfiguration.shipFromAddress.geocode.latitude' },\n { path: 'shippoConfiguration.shipFromAddress.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getShippoConfiguration;\n}\n\n/** Updates a ShippoConfiguration. */\nexport function updateShippoConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateShippoConfiguration({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'shippoConfiguration.createdDate' },\n { path: 'shippoConfiguration.updatedDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'shippoConfiguration.shipFromAddress.geocode.latitude' },\n { path: 'shippoConfiguration.shipFromAddress.geocode.longitude' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.shippo_configuration',\n method: 'PATCH' as any,\n methodFqn: 'wix.ecom.delivery.v1.ShippoService.UpdateShippoConfiguration',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryV1ShippoServiceUrl({\n protoPath: '/v1/shippo-configurations/{shippoConfiguration.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'shippoConfiguration.createdDate' },\n { path: 'shippoConfiguration.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'shippoConfiguration.shipFromAddress.geocode.latitude' },\n { path: 'shippoConfiguration.shipFromAddress.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateShippoConfiguration;\n}\n\n/** Deletes a ShippoConfiguration. */\nexport function deleteShippoConfiguration(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteShippoConfiguration({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.shippo_configuration',\n method: 'DELETE' as any,\n methodFqn: 'wix.ecom.delivery.v1.ShippoService.DeleteShippoConfiguration',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryV1ShippoServiceUrl({\n protoPath: '/v1/shippo-configurations/{shippoConfigurationId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteShippoConfiguration;\n}\n\n/**\n * Retrieves a list of ShippoConfigurations, given the provided [paging, filtering, and sorting][1].\n *\n * Up to 1,000 ShippoConfigurations can be returned per request.\n *\n * To learn how to query ShippoConfigurations, see [API Query Language][2].\n *\n * [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging\n * [2]: https://dev.wix.com/api/rest/getting-started/api-query-language\n */\nexport function queryShippoConfigurations(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryShippoConfigurations({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.shippo_configuration',\n method: 'GET' as any,\n methodFqn: 'wix.ecom.delivery.v1.ShippoService.QueryShippoConfigurations',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryV1ShippoServiceUrl({\n protoPath: '/v1/shippo-configurations/query',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'shippoConfigurations.createdDate' },\n { path: 'shippoConfigurations.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'shippoConfigurations.shipFromAddress.geocode.latitude' },\n {\n path: 'shippoConfigurations.shipFromAddress.geocode.longitude',\n },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixEcomDeliveryV1ShippoServiceUrl({\n protoPath: '/v1/shippo-configurations/query',\n data: payload,\n host,\n }),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryShippoConfigurations;\n}\n\n/** Updates extended fields of a ShippoConfiguration without incrementing revision */\nexport function updateExtendedFields(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateExtendedFields({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.shippo_configuration',\n method: 'POST' as any,\n methodFqn: 'wix.ecom.delivery.v1.ShippoService.UpdateExtendedFields',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryV1ShippoServiceUrl({\n protoPath: '/v1/shippo-configurations/{id}/update-extended-fields',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'shippoConfiguration.createdDate' },\n { path: 'shippoConfiguration.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'shippoConfiguration.shipFromAddress.geocode.latitude' },\n { path: 'shippoConfiguration.shipFromAddress.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateExtendedFields;\n}\n\n/** Adds a delivery region to a Shippo configuration. */\nexport function addDeliveryRegion(payload: object): RequestOptionsFactory<any> {\n function __addDeliveryRegion({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.shippo_configuration',\n method: 'POST' as any,\n methodFqn: 'wix.ecom.delivery.v1.ShippoService.AddDeliveryRegion',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryV1ShippoServiceUrl({\n protoPath:\n '/v1/shippo-configurations/{shippoConfigurationId}/delivery-regions',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'shippoConfiguration.createdDate' },\n { path: 'shippoConfiguration.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'shippoConfiguration.shipFromAddress.geocode.latitude' },\n { path: 'shippoConfiguration.shipFromAddress.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __addDeliveryRegion;\n}\n\n/**\n * Removes a delivery region from a Shippo configuration.\n * When passing the ID of the only existing delivery region, removing it will delete the Shippo configuration.\n */\nexport function removeDeliveryRegion(\n payload: object\n): RequestOptionsFactory<any> {\n function __removeDeliveryRegion({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.shippo_configuration',\n method: 'DELETE' as any,\n methodFqn: 'wix.ecom.delivery.v1.ShippoService.RemoveDeliveryRegion',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryV1ShippoServiceUrl({\n protoPath:\n '/v1/shippo-configurations/{shippoConfigurationId}/delivery-regions/{deliveryRegionId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'shippoConfiguration.createdDate' },\n { path: 'shippoConfiguration.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'shippoConfiguration.shipFromAddress.geocode.latitude' },\n { path: 'shippoConfiguration.shipFromAddress.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __removeDeliveryRegion;\n}\n","export interface ShippoConfiguration {\n /**\n * ShippoConfiguration ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /** @readonly */\n revision?: string | null;\n /**\n * Date and time the ShippoConfiguration was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the ShippoConfiguration was last updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Associated delivery region ID.\n * @format GUID\n * @immutable\n * @deprecated Associated delivery region ID.\n * @replacedBy delivery_region_ids\n * @targetRemovalDate 2025-06-01\n */\n deliveryRegionId?: string | null;\n /**\n * Settings of USPS domestic services.\n * @maxSize 3\n */\n domesticServices?: DomesticServiceSettings[];\n /**\n * Settings of USPS international services.\n * @maxSize 3\n */\n internationalServices?: InternationalServiceSettings[];\n /** Package type. */\n packageType?: PackageTypeWithLiterals;\n /** Package details. */\n packageDetails?: PackageDetails;\n /**\n * Location ID from OS location service.\n * @format GUID\n */\n osLocationId?: string | null;\n /**\n * Ship from address materialized from OS location.\n * @readonly\n */\n shipFromAddress?: Address;\n /**\n * This shippo configuration is active for the following delivery regions.\n * @maxSize 50\n * @format GUID\n * @immutable\n */\n deliveryRegionIds?: string[];\n /**\n * Backup weight.\n * @decimalValue options { gte:0, maxScale:5 }\n */\n backupWeight?: string | null;\n /** Data extensions. */\n extendedFields?: ExtendedFields;\n}\n\nexport interface DomesticServiceSettings {\n /**\n * DomesticServiceSettings ID.\n * @format GUID\n */\n id?: string | null;\n /** USPS domestic service. */\n service?: DomesticServiceWithLiterals;\n /** Service settings. */\n serviceSettings?: ServiceSettings;\n}\n\nexport enum DomesticService {\n UNKNOWN_DOMESTIC_SERVICE = 'UNKNOWN_DOMESTIC_SERVICE',\n GROUND_ADVANTAGE = 'GROUND_ADVANTAGE',\n PRIORITY_MAIL = 'PRIORITY_MAIL',\n PRIORITY_MAIL_EXPRESS = 'PRIORITY_MAIL_EXPRESS',\n}\n\n/** @enumType */\nexport type DomesticServiceWithLiterals =\n | DomesticService\n | 'UNKNOWN_DOMESTIC_SERVICE'\n | 'GROUND_ADVANTAGE'\n | 'PRIORITY_MAIL'\n | 'PRIORITY_MAIL_EXPRESS';\n\nexport interface ServiceSettings {\n /**\n * Estimated delivery time.\n * @maxLength 500\n */\n estimatedDeliveryTime?: string | null;\n /** Handling fee. */\n handlingFee?: HandlingFee;\n /**\n * Amount above which free delivery is offered.\n * @decimalValue options { gte:0, maxScale:6 }\n */\n freeDeliveryMinimumAmount?: string | null;\n}\n\nexport interface HandlingFee {\n /**\n * Value that will be used to calculate the fee. For example, percentage fee with value 5% to calculate the fee.\n * @decimalValue options { gte:0, maxScale:4 }\n */\n value?: string;\n /** How to calculate the fee: fixed amount or by percentage. */\n calculationType?: CalculationTypeWithLiterals;\n}\n\nexport enum CalculationType {\n UNKNOWN_TYPE = 'UNKNOWN_TYPE',\n FIXED = 'FIXED',\n PERCENTAGE = 'PERCENTAGE',\n}\n\n/** @enumType */\nexport type CalculationTypeWithLiterals =\n | CalculationType\n | 'UNKNOWN_TYPE'\n | 'FIXED'\n | 'PERCENTAGE';\n\nexport interface InternationalServiceSettings {\n /**\n * InternationalServiceSettings ID.\n * @format GUID\n */\n id?: string | null;\n /** USPS international service. */\n service?: InternationalServiceWithLiterals;\n /** Service settings. */\n serviceSettings?: ServiceSettings;\n}\n\nexport enum InternationalService {\n UNKNOWN_INTERNATIONAL_SERVICE = 'UNKNOWN_INTERNATIONAL_SERVICE',\n FIRST_CLASS_PACKAGE_INTERNATIONAL = 'FIRST_CLASS_PACKAGE_INTERNATIONAL',\n PRIORITY_MAIL_INTERNATIONAL = 'PRIORITY_MAIL_INTERNATIONAL',\n PRIORITY_MAIL_EXPRESS_INTERNATIONAL = 'PRIORITY_MAIL_EXPRESS_INTERNATIONAL',\n}\n\n/** @enumType */\nexport type InternationalServiceWithLiterals =\n | InternationalService\n | 'UNKNOWN_INTERNATIONAL_SERVICE'\n | 'FIRST_CLASS_PACKAGE_INTERNATIONAL'\n | 'PRIORITY_MAIL_INTERNATIONAL'\n | 'PRIORITY_MAIL_EXPRESS_INTERNATIONAL';\n\nexport enum PackageType {\n UNKNOWN_PACKAGE_TYPE = 'UNKNOWN_PACKAGE_TYPE',\n CUSTOM = 'CUSTOM',\n FLAT_RATE_ENVELOPE = 'FLAT_RATE_ENVELOPE',\n PADDED_FLAT_RATE_ENVELOPE = 'PADDED_FLAT_RATE_ENVELOPE',\n SMALL_FLAT_RATE_BOX = 'SMALL_FLAT_RATE_BOX',\n MEDIUM_FLAT_RATE_BOX_1 = 'MEDIUM_FLAT_RATE_BOX_1',\n MEDIUM_FLAT_RATE_BOX_2 = 'MEDIUM_FLAT_RATE_BOX_2',\n LARGE_FLAT_RATE_BOX = 'LARGE_FLAT_RATE_BOX',\n}\n\n/** @enumType */\nexport type PackageTypeWithLiterals =\n | PackageType\n | 'UNKNOWN_PACKAGE_TYPE'\n | 'CUSTOM'\n | 'FLAT_RATE_ENVELOPE'\n | 'PADDED_FLAT_RATE_ENVELOPE'\n | 'SMALL_FLAT_RATE_BOX'\n | 'MEDIUM_FLAT_RATE_BOX_1'\n | 'MEDIUM_FLAT_RATE_BOX_2'\n | 'LARGE_FLAT_RATE_BOX';\n\nexport interface PackageDetails {\n /**\n * Package name. Must be set when package type is CUSTOM.\n * For other package types, it is read-only, and an exception will be thrown\n * if it set when creating a ShippoConfiguration.\n * @maxLength 255\n */\n name?: string | null;\n /**\n * Package dimensions. Can only be set when package type is CUSTOM.\n * For other package types, it is read-only, and an exception will be thrown\n * if it set when creating a ShippoConfiguration.\n */\n dimensions?: PackageDimensions;\n /**\n * Maximum number of products. Must be set when package type is NOT CUSTOM.\n * Otherwise, if the package type is CUSTOM, this field cannot be set and an\n * exception will be thrown if it is set when creating a ShippoConfiguration.\n */\n maxNumberOfProducts?: string | null;\n}\n\nexport interface PackageDimensions {\n /**\n * Package length.\n * @decimalValue options { gte:0, maxScale:3 }\n */\n length?: string;\n /**\n * Package width.\n * @decimalValue options { gte:0, maxScale:3 }\n */\n width?: string;\n /**\n * Package height.\n * @decimalValue options { gte:0, maxScale:3 }\n */\n height?: string;\n}\n\n/** Physical address */\nexport interface Address {\n /**\n * Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.\n * @format COUNTRY\n */\n country?: string | null;\n /**\n * Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format.\n * @maxLength 50\n */\n subdivision?: string | null;\n /**\n * City name.\n * @maxLength 50\n */\n city?: string | null;\n /**\n * Postal or zip code.\n * @maxLength 50\n */\n postalCode?: string | null;\n /** Street address. */\n streetAddress?: StreetAddress;\n /**\n * Main address line (usually street name and number).\n * @maxLength 150\n */\n addressLine?: string | null;\n /**\n * Free text providing more detailed address info. Usually contains apt, suite, floor.\n * @maxLength 100\n */\n addressLine2?: string | null;\n /** Geocode object containing latitude and longitude coordinates. */\n geocode?: AddressLocation;\n /**\n * Country's full name.\n * @readonly\n */\n countryFullname?: string | null;\n /**\n * Subdivision full-name.\n * @readonly\n */\n subdivisionFullname?: string | null;\n}\n\nexport interface StreetAddress {\n /** Street number. */\n number?: string;\n /** Street name. */\n name?: string;\n}\n\nexport interface AddressLocation {\n /** Address latitude. */\n latitude?: number | null;\n /** Address longitude. */\n longitude?: number | null;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\nexport interface CreateShippoConfigurationRequest {\n /** ShippoConfiguration to be created. */\n shippoConfiguration: ShippoConfiguration;\n /** @decimalValue options { gte:0, maxScale:6 } */\n backupRate?: string | null;\n}\n\nexport interface CreateShippoConfigurationResponse {\n /** The created ShippoConfiguration. */\n shippoConfiguration?: ShippoConfiguration;\n}\n\nexport interface GetShippoConfigurationRequest {\n /**\n * ID of the ShippoConfiguration to retrieve.\n * @format GUID\n */\n shippoConfigurationId: string;\n}\n\nexport interface GetShippoConfigurationResponse {\n /** The requested ShippoConfiguration. */\n shippoConfiguration?: ShippoConfiguration;\n}\n\nexport interface UpdateShippoConfigurationRequest {\n /** ShippoConfiguration to be updated, may be partial. */\n shippoConfiguration: ShippoConfiguration;\n}\n\nexport interface UpdateShippoConfigurationResponse {\n /** Updated ShippoConfiguration. */\n shippoConfiguration?: ShippoConfiguration;\n}\n\nexport interface DeleteShippoConfigurationRequest {\n /**\n * ID of the ShippoConfiguration to delete.\n * @format GUID\n */\n shippoConfigurationId: string;\n}\n\nexport interface DeleteShippoConfigurationResponse {}\n\nexport interface QueryShippoConfigurationsRequest {\n /** WQL expression. */\n query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n * @maxSize 5\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QueryShippoConfigurationsResponse {\n /** List of ShippoConfigurations. */\n shippoConfigurations?: ShippoConfiguration[];\n /** Paging metadata. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface UpdateExtendedFieldsRequest {\n /** ID of the entity to update. */\n id: string;\n /** Identifier for the app whose extended fields are being updated. */\n namespace: string;\n /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */\n namespaceData: Record<string, any> | null;\n}\n\nexport interface UpdateExtendedFieldsResponse {\n /** Updated ShippoConfiguration. */\n shippoConfiguration?: ShippoConfiguration;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface Empty {}\n\nexport interface AddDeliveryRegionRequest {\n /**\n * ID of the ShippoConfiguration to add the delivery region to.\n * @format GUID\n */\n shippoConfigurationId: string;\n /**\n * ID of the delivery region to add.\n * @format GUID\n */\n deliveryRegionId: string;\n /** Revision of the ShippoConfiguration. */\n revision?: string | null;\n}\n\nexport interface AddDeliveryRegionResponse {\n /** The updated ShippoConfiguration. */\n shippoConfiguration?: ShippoConfiguration;\n}\n\nexport interface RemoveDeliveryRegionRequest {\n /**\n * ID of the ShippoConfiguration to remove the delivery region from.\n * @format GUID\n */\n shippoConfigurationId: string;\n /**\n * ID of the delivery region to remove.\n * @format GUID\n */\n deliveryRegionId: string;\n /** Revision of the ShippoConfiguration. */\n revision?: string | null;\n}\n\nexport interface RemoveDeliveryRegionResponse {\n /** The updated ShippoConfiguration, or empty if the ShippoConfiguration was deleted. */\n shippoConfiguration?: ShippoConfiguration;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountDetails {\n /**\n * ID of the account.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the site, if applicable.\n * @format GUID\n */\n siteId?: string | null;\n}\n","import * as ambassadorWixEcomV1ShippoConfiguration from './ecom-v1-shippo-configuration-shippo-configurations.http.js';\nimport * as ambassadorWixEcomV1ShippoConfigurationTypes from './ecom-v1-shippo-configuration-shippo-configurations.types.js';\nimport * as ambassadorWixEcomV1ShippoConfigurationUniversalTypes from './ecom-v1-shippo-configuration-shippo-configurations.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createShippoConfiguration(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.CreateShippoConfigurationRequest,\n ambassadorWixEcomV1ShippoConfigurationTypes.CreateShippoConfigurationRequest,\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.CreateShippoConfigurationResponse,\n ambassadorWixEcomV1ShippoConfigurationTypes.CreateShippoConfigurationResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1ShippoConfiguration.createShippoConfiguration(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/shippo-configurations',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getShippoConfiguration(): __PublicMethodMetaInfo<\n 'GET',\n { shippoConfigurationId: string },\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.GetShippoConfigurationRequest,\n ambassadorWixEcomV1ShippoConfigurationTypes.GetShippoConfigurationRequest,\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.GetShippoConfigurationResponse,\n ambassadorWixEcomV1ShippoConfigurationTypes.GetShippoConfigurationResponse\n> {\n const payload = { shippoConfigurationId: ':shippoConfigurationId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1ShippoConfiguration.getShippoConfiguration(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/shippo-configurations/{shippoConfigurationId}',\n pathParams: { shippoConfigurationId: 'shippoConfigurationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateShippoConfiguration(): __PublicMethodMetaInfo<\n 'PATCH',\n { shippoConfigurationId: string },\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.UpdateShippoConfigurationRequest,\n ambassadorWixEcomV1ShippoConfigurationTypes.UpdateShippoConfigurationRequest,\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.UpdateShippoConfigurationResponse,\n ambassadorWixEcomV1ShippoConfigurationTypes.UpdateShippoConfigurationResponse\n> {\n const payload = {\n shippoConfiguration: { id: ':shippoConfigurationId' },\n } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1ShippoConfiguration.updateShippoConfiguration(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v1/shippo-configurations/{shippoConfiguration.id}',\n pathParams: { shippoConfigurationId: 'shippoConfigurationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteShippoConfiguration(): __PublicMethodMetaInfo<\n 'DELETE',\n { shippoConfigurationId: string },\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.DeleteShippoConfigurationRequest,\n ambassadorWixEcomV1ShippoConfigurationTypes.DeleteShippoConfigurationRequest,\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.DeleteShippoConfigurationResponse,\n ambassadorWixEcomV1ShippoConfigurationTypes.DeleteShippoConfigurationResponse\n> {\n const payload = { shippoConfigurationId: ':shippoConfigurationId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1ShippoConfiguration.deleteShippoConfiguration(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/shippo-configurations/{shippoConfigurationId}',\n pathParams: { shippoConfigurationId: 'shippoConfigurationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryShippoConfigurations(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.QueryShippoConfigurationsRequest,\n ambassadorWixEcomV1ShippoConfigurationTypes.QueryShippoConfigurationsRequest,\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.QueryShippoConfigurationsResponse,\n ambassadorWixEcomV1ShippoConfigurationTypes.QueryShippoConfigurationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1ShippoConfiguration.queryShippoConfigurations(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/shippo-configurations/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateExtendedFields(): __PublicMethodMetaInfo<\n 'POST',\n { id: string },\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.UpdateExtendedFieldsRequest,\n ambassadorWixEcomV1ShippoConfigurationTypes.UpdateExtendedFieldsRequest,\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.UpdateExtendedFieldsResponse,\n ambassadorWixEcomV1ShippoConfigurationTypes.UpdateExtendedFieldsResponse\n> {\n const payload = { id: ':id' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1ShippoConfiguration.updateExtendedFields(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/shippo-configurations/{id}/update-extended-fields',\n pathParams: { id: 'id' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function addDeliveryRegion(): __PublicMethodMetaInfo<\n 'POST',\n { shippoConfigurationId: string },\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.AddDeliveryRegionRequest,\n ambassadorWixEcomV1ShippoConfigurationTypes.AddDeliveryRegionRequest,\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.AddDeliveryRegionResponse,\n ambassadorWixEcomV1ShippoConfigurationTypes.AddDeliveryRegionResponse\n> {\n const payload = { shippoConfigurationId: ':shippoConfigurationId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1ShippoConfiguration.addDeliveryRegion(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/shippo-configurations/{shippoConfigurationId}/delivery-regions',\n pathParams: { shippoConfigurationId: 'shippoConfigurationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function removeDeliveryRegion(): __PublicMethodMetaInfo<\n 'DELETE',\n { shippoConfigurationId: string; deliveryRegionId: string },\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.RemoveDeliveryRegionRequest,\n ambassadorWixEcomV1ShippoConfigurationTypes.RemoveDeliveryRegionRequest,\n ambassadorWixEcomV1ShippoConfigurationUniversalTypes.RemoveDeliveryRegionResponse,\n ambassadorWixEcomV1ShippoConfigurationTypes.RemoveDeliveryRegionResponse\n> {\n const payload = {\n shippoConfigurationId: ':shippoConfigurationId',\n deliveryRegionId: ':deliveryRegionId',\n } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1ShippoConfiguration.removeDeliveryRegion(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/shippo-configurations/{shippoConfigurationId}/delivery-regions/{deliveryRegionId}',\n pathParams: {\n shippoConfigurationId: 'shippoConfigurationId',\n deliveryRegionId: 'deliveryRegionId',\n },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n ShippoConfiguration as ShippoConfigurationOriginal,\n DomesticServiceSettings as DomesticServiceSettingsOriginal,\n DomesticService as DomesticServiceOriginal,\n DomesticServiceWithLiterals as DomesticServiceWithLiteralsOriginal,\n ServiceSettings as ServiceSettingsOriginal,\n HandlingFee as HandlingFeeOriginal,\n CalculationType as CalculationTypeOriginal,\n CalculationTypeWithLiterals as CalculationTypeWithLiteralsOriginal,\n InternationalServiceSettings as InternationalServiceSettingsOriginal,\n InternationalService as InternationalServiceOriginal,\n InternationalServiceWithLiterals as InternationalServiceWithLiteralsOriginal,\n PackageType as PackageTypeOriginal,\n PackageTypeWithLiterals as PackageTypeWithLiteralsOriginal,\n PackageDetails as PackageDetailsOriginal,\n PackageDimensions as PackageDimensionsOriginal,\n Address as AddressOriginal,\n StreetAddress as StreetAddressOriginal,\n AddressLocation as AddressLocationOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n CreateShippoConfigurationRequest as CreateShippoConfigurationRequestOriginal,\n CreateShippoConfigurationResponse as CreateShippoConfigurationResponseOriginal,\n GetShippoConfigurationRequest as GetShippoConfigurationRequestOriginal,\n GetShippoConfigurationResponse as GetShippoConfigurationResponseOriginal,\n UpdateShippoConfigurationRequest as UpdateShippoConfigurationRequestOriginal,\n UpdateShippoConfigurationResponse as UpdateShippoConfigurationResponseOriginal,\n DeleteShippoConfigurationRequest as DeleteShippoConfigurationRequestOriginal,\n DeleteShippoConfigurationResponse as DeleteShippoConfigurationResponseOriginal,\n QueryShippoConfigurationsRequest as QueryShippoConfigurationsRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryShippoConfigurationsResponse as QueryShippoConfigurationsResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal,\n UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n Empty as EmptyOriginal,\n AddDeliveryRegionRequest as AddDeliveryRegionRequestOriginal,\n AddDeliveryRegionResponse as AddDeliveryRegionResponseOriginal,\n RemoveDeliveryRegionRequest as RemoveDeliveryRegionRequestOriginal,\n RemoveDeliveryRegionResponse as RemoveDeliveryRegionResponseOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountDetails as AccountDetailsOriginal,\n} from './ecom-v1-shippo-configuration-shippo-configurations.types.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2BAAAA;AAAA,EAAA,iCAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,8BAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,iCAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,mBAA6C;AAC7C,IAAAC,gBAA6C;AAC7C,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,yCACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAEA,aAAO,iCAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IAAM,eAAe;AAGd,SAAS,0BACd,SAC4B;AAC5B,WAAS,4BAA4B,EAAE,KAAK,GAAQ;AAClD,UAAM,qBAAiB,uCAAe,SAAS;AAAA,MAC7C;AAAA,QACE,aAAa;AAAA,QACb,OAAO;AAAA,UACL,EAAE,MAAM,kCAAkC;AAAA,UAC1C,EAAE,MAAM,kCAAkC;AAAA,QAC5C;AAAA,MACF;AAAA,MACA;A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EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY;AAAA,MACV,uBAAuB;AAAA,MACvB,kBAAkB;AAAA,IACpB;AAAA,IACA,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["addDeliveryRegion","createShippoConfiguration","deleteShippoConfiguration","getShippoConfiguration","queryShippoConfigurations","removeDeliveryRegion","updateExtendedFields","updateShippoConfiguration","import_float","import_timestamp","import_rest_modules","payload","DomesticService","CalculationType","InternationalService","PackageType","SortOrder","WebhookIdentityType","createShippoConfiguration","getShippoConfiguration","updateShippoConfiguration","deleteShippoConfiguration","queryShippoConfigurations","updateExtendedFields","addDeliveryRegion","removeDeliveryRegion"]}
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
2
  import { ShippoConfiguration, CreateShippoConfigurationOptions, UpdateShippoConfiguration, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, AddDeliveryRegionOptions, AddDeliveryRegionResponse, RemoveDeliveryRegionIdentifiers, RemoveDeliveryRegionOptions, RemoveDeliveryRegionResponse, ShippoConfigurationCreatedEnvelope, ShippoConfigurationDeletedEnvelope, ShippoConfigurationUpdatedEnvelope, ShippoConfigurationsQueryBuilder, ShippoConfigurationQuery, typedQueryShippoConfigurations } from './index.typings.mjs';
3
- export { ActionEvent, AddDeliveryRegionRequest, Address, AddressLocation, BaseEventMetadata, CalculationType, CalculationTypeWithLiterals, CommonQueryWithEntityContext, CreateShippoConfigurationRequest, CreateShippoConfigurationResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteShippoConfigurationRequest, DeleteShippoConfigurationResponse, DomainEvent, DomainEventBodyOneOf, DomesticService, DomesticServiceSettings, DomesticServiceWithLiterals, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GetShippoConfigurationRequest, GetShippoConfigurationResponse, HandlingFee, IdentificationData, IdentificationDataIdOneOf, InternationalService, InternationalServiceSettings, InternationalServiceWithLiterals, MessageEnvelope, PackageDetails, PackageDimensions, PackageType, PackageTypeWithLiterals, QueryShippoConfigurationsRequest, QueryShippoConfigurationsResponse, RemoveDeliveryRegionRequest, RestoreInfo, ServiceSettings, ShippoConfigurationQuerySpec, ShippoConfigurationsQueryResult, SortOrder, SortOrderWithLiterals, Sorting, StreetAddress, UpdateExtendedFieldsRequest, UpdateShippoConfigurationRequest, UpdateShippoConfigurationResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
3
+ export { AccountDetails, ActionEvent, AddDeliveryRegionRequest, Address, AddressLocation, BaseEventMetadata, CalculationType, CalculationTypeWithLiterals, CommonQueryWithEntityContext, CreateShippoConfigurationRequest, CreateShippoConfigurationResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteShippoConfigurationRequest, DeleteShippoConfigurationResponse, DomainEvent, DomainEventBodyOneOf, DomesticService, DomesticServiceSettings, DomesticServiceWithLiterals, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GetShippoConfigurationRequest, GetShippoConfigurationResponse, HandlingFee, IdentificationData, IdentificationDataIdOneOf, InternationalService, InternationalServiceSettings, InternationalServiceWithLiterals, MessageEnvelope, PackageDetails, PackageDimensions, PackageType, PackageTypeWithLiterals, QueryShippoConfigurationsRequest, QueryShippoConfigurationsResponse, RemoveDeliveryRegionRequest, RestoreInfo, ServiceSettings, ShippoConfigurationQuerySpec, ShippoConfigurationsQueryResult, SortOrder, SortOrderWithLiterals, Sorting, StreetAddress, UpdateExtendedFieldsRequest, UpdateShippoConfigurationRequest, UpdateShippoConfigurationResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
4
4
 
5
5
  declare function createShippoConfiguration$1(httpClient: HttpClient): CreateShippoConfigurationSignature;
6
6
  interface CreateShippoConfigurationSignature {
@@ -35,6 +35,18 @@ function resolveWixEcomDeliveryV1ShippoServiceUrl(opts) {
35
35
  srcPath: "/ecom/v1/shippo-configurations",
36
36
  destPath: "/v1/shippo-configurations"
37
37
  }
38
+ ],
39
+ "*.dev.wix-code.com": [
40
+ {
41
+ srcPath: "/ecom/v1/shippo-configurations",
42
+ destPath: "/v1/shippo-configurations"
43
+ }
44
+ ],
45
+ _: [
46
+ {
47
+ srcPath: "/ecom/v1/shippo-configurations",
48
+ destPath: "/v1/shippo-configurations"
49
+ }
38
50
  ]
39
51
  };
40
52
  return resolveUrl(Object.assign(opts, { domainToMappings }));