@wix/auto_sdk_ecom_delivery-profile 1.0.257 → 1.0.259

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.
@@ -1 +1 @@
1
- {"version":3,"sources":["../../meta.ts","../../src/ecom-v1-delivery-profile-delivery-profile.http.ts","../../src/ecom-v1-delivery-profile-delivery-profile.types.ts","../../src/ecom-v1-delivery-profile-delivery-profile.meta.ts"],"sourcesContent":["export * from './src/ecom-v1-delivery-profile-delivery-profile.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\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 resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/ecom/v1/delivery-profiles',\n destPath: '/v1/delivery-profiles',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/delivery-profiles-service',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/ecom/v1/delivery-profiles',\n destPath: '/v1/delivery-profiles',\n },\n {\n srcPath: '/ecom/v1/delivery-profiles/update-carrier-settings',\n destPath: '/v1/delivery-carriers/update-settings',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/ecom/v1/delivery-profiles',\n destPath: '/v1/delivery-profiles',\n },\n {\n srcPath: '/ecom/v1/delivery-profiles/update-carrier-settings',\n destPath: '/v1/delivery-carriers/update-settings',\n },\n ],\n _: [\n {\n srcPath: '/ecom/v1/delivery-profiles',\n destPath: '/v1/delivery-profiles',\n },\n {\n srcPath: '/ecom/v1/delivery-profiles/update-carrier-settings',\n destPath: '/v1/delivery-carriers/update-settings',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_ecom_delivery-profile';\n\n/**\n * Creates a delivery profile.\n *\n *\n * A site can have up to 99 delivery profiles. Attempting to exceed this limit returns a `DELIVERY_PROFILES_LIMIT_EXCEEDED` error.\n */\nexport function createDeliveryProfile(\n payload: object\n): RequestOptionsFactory<any> {\n function __createDeliveryProfile({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'POST' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.CreateDeliveryProfile',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createDeliveryProfile;\n}\n\n/** Retrieves a delivery profile. */\nexport function getDeliveryProfile(\n payload: object\n): RequestOptionsFactory<any> {\n function __getDeliveryProfile({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'GET' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.GetDeliveryProfile',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/{deliveryProfileId}',\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: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getDeliveryProfile;\n}\n\n/**\n * Updates a delivery profile.\n *\n * Each time the delivery profile is updated, `revision` increments by 1. The current `revision` must be passed when updating the delivery profile. This ensures you're working with the latest delivery profile and prevents unintended overwrites.\n *\n * This method doesn't support updating delivery regions in the profile. To manage delivery regions, use [Add Delivery Region](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/add-delivery-region), [Update Delivery Region](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/update-delivery-region), or [Remove Delivery Region](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/remove-delivery-region).\n */\nexport function updateDeliveryProfile(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateDeliveryProfile({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateDeliveryProfile',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/{deliveryProfile.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: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateDeliveryProfile;\n}\n\n/**\n * Deletes a delivery profile.\n *\n *\n * Permanently deletes the delivery profile, including all associated delivery regions and carrier configurations. This action can't be undone.\n *\n * The default delivery profile can't be deleted because every site requires one for core delivery functionality.\n */\nexport function deleteDeliveryProfile(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteDeliveryProfile({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.DeleteDeliveryProfile',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/{deliveryProfileId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteDeliveryProfile;\n}\n\n/**\n * Retrieves a list of up to 100 delivery profiles, given the provided paging, filtering, and sorting.\n *\n * Query Delivery Profiles runs with these defaults, which you can override:\n *\n * - `createdDate` is sorted in `DESC` order.\n * - `paging.limit` is `50`.\n * - `paging.offset` is `0`.\n *\n * For field support for filters and sorting, see [Supported Filters and Sorting](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/supported-filters).\n *\n * To learn how to query delivery profiles, see [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language).\n */\nexport function queryDeliveryProfiles(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryDeliveryProfiles({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'GET' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.QueryDeliveryProfiles',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/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: 'deliveryProfiles.createdDate' },\n { path: 'deliveryProfiles.updatedDate' },\n { path: 'deliveryProfiles.deliveryRegions.createdDate' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/query',\n data: payload,\n host,\n }),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryDeliveryProfiles;\n}\n\n/** Adds a delivery region to an existing delivery profile. */\nexport function addDeliveryRegion(payload: object): RequestOptionsFactory<any> {\n function __addDeliveryRegion({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'deliveryRegion.createdDate' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'POST' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.AddDeliveryRegion',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/{deliveryProfileId}/delivery-region',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __addDeliveryRegion;\n}\n\n/**\n * Updates a delivery region.\n *\n *\n * This method doesn't support updating delivery carriers in the region. To manage carriers, use [Add Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/add-delivery-carrier), [Update Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/update-delivery-carrier), or [Remove Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/remove-delivery-carrier).\n */\nexport function updateDeliveryRegion(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateDeliveryRegion({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'deliveryRegion.createdDate' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateDeliveryRegion',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath:\n '/v1/delivery-profiles/{deliveryProfileId}/delivery-region/{deliveryRegion.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: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateDeliveryRegion;\n}\n\n/** Retrieves a delivery profile by delivery region ID. */\nexport function getDeliveryProfileByDeliveryRegionId(\n payload: object\n): RequestOptionsFactory<any> {\n function __getDeliveryProfileByDeliveryRegionId({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'GET' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.GetDeliveryProfileByDeliveryRegionId',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/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: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getDeliveryProfileByDeliveryRegionId;\n}\n\n/** Removes a delivery region from a delivery profile. */\nexport function removeDeliveryRegion(\n payload: object\n): RequestOptionsFactory<any> {\n function __removeDeliveryRegion({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.RemoveDeliveryRegion',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath:\n '/v1/delivery-profiles/{deliveryProfileId}/delivery-region/{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: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __removeDeliveryRegion;\n}\n\n/** Adds a delivery carrier to a delivery region. */\nexport function addDeliveryCarrier(\n payload: object\n): RequestOptionsFactory<any> {\n function __addDeliveryCarrier({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'POST' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.AddDeliveryCarrier',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/add-delivery-carrier',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __addDeliveryCarrier;\n}\n\n/** Removes a delivery carrier from a delivery region. */\nexport function removeDeliveryCarrier(\n payload: object\n): RequestOptionsFactory<any> {\n function __removeDeliveryCarrier({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'POST' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.RemoveDeliveryCarrier',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/remove-delivery-carrier',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __removeDeliveryCarrier;\n}\n\n/** Updates a delivery carrier's settings in a delivery region. */\nexport function updateDeliveryCarrier(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateDeliveryCarrier({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateDeliveryCarrier',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/update-delivery-carrier',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateDeliveryCarrier;\n}\n\n/**\n * Retrieves a list of all delivery carriers installed on a site.\n *\n *\n * Use this method to discover available carriers before adding them to delivery regions.\n */\nexport function listInstalledDeliveryCarriers(\n payload: object\n): RequestOptionsFactory<any> {\n function __listInstalledDeliveryCarriers({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'GET' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.ListInstalledDeliveryCarriers',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/installed-carriers',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __listInstalledDeliveryCarriers;\n}\n\n/**\n * Retrieves delivery destination properties.\n *\n *\n * Returns properties for Rest of World, as well as aggregated country and subdivision data. Properties include whether postal codes are required and whether pickup is the only delivery option for each destination.\n */\nexport function getDeliveryDestinationProperties(\n payload: object\n): RequestOptionsFactory<any> {\n function __getDeliveryDestinationProperties({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'GET' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.GetDeliveryDestinationProperties',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/delivery-destination-properties',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getDeliveryDestinationProperties;\n}\n\n/**\n * Retrieves delivery carrier settings for a delivery profile.\n *\n *\n * Returns detailed carrier configurations, including regional settings for each carrier. This method provides more comprehensive information than List Installed Delivery Carriers.\n */\nexport function listDeliveryCarriers(\n payload: object\n): RequestOptionsFactory<any> {\n function __listDeliveryCarriers({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'POST' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.ListDeliveryCarriers',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath:\n '/v1/delivery-profiles/{deliveryProfileId}/delivery-carriers',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __listDeliveryCarriers;\n}\n\n/** Updates a carrier's external active settings. */\nexport function updateCarrierSettings(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateCarrierSettings({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'POST' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateCarrierSettings',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-carriers/update-settings',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __updateCarrierSettings;\n}\n\n/** Sets a delivery carrier's active status. */\nexport function setDeliveryCarrierActiveStatus(\n payload: object\n): RequestOptionsFactory<any> {\n function __setDeliveryCarrierActiveStatus({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'POST' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.SetDeliveryCarrierActiveStatus',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/delivery-carriers/set-active-status',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __setDeliveryCarrierActiveStatus;\n}\n\n/** Updates extended fields of a DeliveryProfile 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.delivery_profile',\n method: 'POST' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateExtendedFields',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/{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: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateExtendedFields;\n}\n","/**\n * A delivery profile is a collection of delivery regions that define shipping options for products.\n * Each profile contains delivery regions, which specify where products can be shipped and which carriers can deliver to those destinations.\n */\nexport interface DeliveryProfile {\n /**\n * Delivery profile ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Delivery profile name.\n * @minLength 1\n * @maxLength 256\n */\n name?: string | null;\n /**\n * Whether this is the default delivery profile.\n *\n * > **Notes:**\n * >\n * > - The first delivery profile is automatically created and marked as default when the Wix Stores, Wix Bookings, Wix Events, or Wix Restaurants business solutions are installed on a site.\n * > - Default status can't be changed or transferred to another profile.\n * > - The default profile can't be deleted because every site requires one for core delivery functionality.\n * @readonly\n */\n default?: boolean | null;\n /**\n * Delivery regions in this profile.\n * @maxSize 100\n */\n deliveryRegions?: DeliveryRegion[];\n /**\n * Information about who created the delivery profile.\n *\n * Currently only for use with Wix Restaurants.\n */\n createdBy?: CreatedBy;\n /**\n * Revision number, which increments by 1 each time the delivery profile is updated. To prevent conflicting changes, the current revision must be passed when updating the delivery profile. Ignored when creating a delivery profile.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the delivery profile was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the delivery profile was last updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /** Custom field data for the delivery profile object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls. */\n extendedFields?: ExtendedFields;\n}\n\n/**\n * A delivery region defines a geographic area and its associated delivery carriers.\n * Each region specifies destinations (countries and subdivisions) where products can be shipped and the carriers available for those deliveries.\n *\n * During the eCommerce onboarding flow, an \"International\" region with empty destinations is automatically created. This serves as a \"Rest of World\" configuration that applies to destinations not explicitly defined in other regions.\n */\nexport interface DeliveryRegion {\n /**\n * Delivery region ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Delivery region name. For example, `\"Domestic\"` or `\"International\"`.\n * @minLength 1\n * @maxLength 256\n */\n name?: string | null;\n /**\n * Whether this delivery region is active and available during checkout.\n *\n * Default: `true`\n */\n active?: boolean | null;\n /**\n * Delivery carriers assigned to this region. Carriers are managed using the Add Delivery Carrier, Update Delivery Carrier, and Remove Delivery Carrier methods.\n * @maxSize 25\n * @readonly\n */\n deliveryCarriers?: DeliveryCarrier[];\n /**\n * Geographic destinations covered by this region. If empty, the region applies globally.\n * @maxSize 250\n */\n destinations?: Destination[];\n /**\n * Date and time the delivery region was created.\n * @readonly\n */\n createdDate?: Date | null;\n}\n\nexport interface DeliveryCarrier {\n /**\n * Carrier app ID.\n *\n * Get app IDs from the [app dashboard](https://dev.wix.com/dc3/my-apps/), or by calling [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).\n * @format GUID\n */\n appId?: string;\n /**\n * Backup rate to use when the carrier doesn't return a rate for a specific shipping option.\n *\n * When `active` is `false` and the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.\n */\n backupRate?: BackupRate;\n /**\n * Additional charges to add to the delivery rate. These charges are combined with the carrier's rate into a single shipping cost and itemized in order details.\n * @maxSize 10\n */\n additionalCharges?: AdditionalCharge[];\n}\n\nexport interface BackupRate {\n /**\n * Title displayed for the backup rate. For example, `\"Standard Shipping\"`.\n * @minLength 1\n * @maxLength 256\n */\n title?: string | null;\n /**\n * Backup rate amount.\n * @decimalValue options { gte:0, maxScale:6 }\n */\n amount?: string | null;\n /**\n * Whether the backup rate is active.\n *\n * When `false`, if the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.\n *\n * Default: `false`\n */\n active?: boolean;\n}\n\nexport interface AdditionalCharge {\n /**\n * Description of the additional charge. For example, `\"Handling fee of $5 applied for gift wrapping\"`.\n * @maxLength 250\n */\n description?: string | null;\n /**\n * Charge amount. For example, `\"12.5\"`.\n * @maxLength 16\n */\n amount?: string;\n}\n\n/** Geographic destination for a delivery region. */\nexport interface Destination {\n /**\n * 2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.\n * @format COUNTRY\n */\n countryCode?: string;\n /**\n * Subdivision codes in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) format. For example, `\"US-CA\"` for California. If empty, the delivery region applies to the entire country.\n * @maxSize 100\n * @minLength 1\n * @maxLength 256\n */\n subdivisions?: string[];\n}\n\nexport interface CreatedBy extends CreatedByIdOneOf {\n /**\n * App ID, when the delivery profile was created by an external application or Wix service.\n * @format GUID\n */\n appId?: string | null;\n /**\n * Wix user ID, when the delivery profile was created by a Wix user.\n * @format GUID\n */\n userId?: string | null;\n}\n\n/** @oneof */\nexport interface CreatedByIdOneOf {\n /**\n * App ID, when the delivery profile was created by an external application or Wix service.\n * @format GUID\n */\n appId?: string | null;\n /**\n * Wix user ID, when the delivery profile was created by a Wix user.\n * @format GUID\n */\n userId?: string | 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\n/** Event payload for when a delivery region is added to a delivery profile. */\nexport interface DeliveryRegionAdded {\n /**\n * ID of the delivery profile containing the region.\n * @format GUID\n */\n deliveryProfileId?: string;\n /**\n * ID of the added delivery region.\n * @format GUID\n * @readonly\n */\n deliveryRegionId?: string | null;\n /**\n * Delivery region name. For example, `\"Domestic\"`.\n * @minLength 1\n * @maxLength 256\n */\n name?: string | null;\n /** Whether the delivery region is active. */\n active?: boolean | null;\n /**\n * Delivery carriers assigned to this region.\n * @maxSize 25\n * @readonly\n */\n deliveryCarriers?: DeliveryCarrier[];\n /**\n * Geographic destinations covered by this region.\n * @maxSize 200\n */\n destinations?: Destination[];\n /**\n * Date and time the delivery region was created.\n * @readonly\n */\n createdDate?: Date | null;\n}\n\n/** Event payload for when a delivery region is removed from a delivery profile. */\nexport interface DeliveryRegionRemoved {\n /**\n * ID of the delivery profile that contained the region.\n * @format GUID\n */\n deliveryProfileId?: string;\n /**\n * ID of the removed delivery region.\n * @format GUID\n */\n deliveryRegionId?: string;\n}\n\n/** Event payload for when a delivery region is updated. */\nexport interface DeliveryRegionUpdated {\n /**\n * ID of the delivery profile containing the region.\n * @format GUID\n */\n deliveryProfileId?: string;\n /**\n * ID of the updated delivery region.\n * @format GUID\n * @readonly\n */\n deliveryRegionId?: string | null;\n /**\n * Delivery region name. For example, `\"Domestic\"`.\n * @minLength 1\n * @maxLength 256\n */\n name?: string | null;\n /** Whether the delivery region is active. */\n active?: boolean | null;\n /**\n * Delivery carriers assigned to this region.\n * @maxSize 25\n * @readonly\n */\n deliveryCarriers?: DeliveryCarrier[];\n /**\n * Geographic destinations covered by this region. If empty, the region applies globally.\n * @maxSize 200\n */\n destinations?: Destination[];\n /**\n * Date and time the delivery region was created.\n * @readonly\n */\n createdDate?: Date | null;\n}\n\nexport interface CreateDeliveryProfileRequest {\n /** Delivery profile to create. */\n deliveryProfile: DeliveryProfile;\n}\n\nexport interface CreateDeliveryProfileResponse {\n /** Created delivery profile. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface GetDeliveryProfileRequest {\n /**\n * Delivery profile ID.\n * @format GUID\n */\n deliveryProfileId: string;\n}\n\nexport interface GetDeliveryProfileResponse {\n /** Retrieved delivery profile. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface UpdateDeliveryProfileRequest {\n /** Delivery profile to update. */\n deliveryProfile: DeliveryProfile;\n}\n\nexport interface UpdateDeliveryProfileResponse {\n /** Updated delivery profile. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface DeleteDeliveryProfileRequest {\n /**\n * Delivery profile ID.\n * @format GUID\n */\n deliveryProfileId: string;\n}\n\nexport interface DeleteDeliveryProfileResponse {}\n\nexport interface DeleteDefaultDeliveryProfileRequest {\n /**\n * Delivery profile ID.\n * @format GUID\n */\n deliveryProfileId?: string;\n}\n\nexport interface DeleteDefaultDeliveryProfileResponse {}\n\nexport interface QueryDeliveryProfilesRequest {\n /** Query options. */\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 QueryDeliveryProfilesResponse {\n /**\n * List of delivery profiles.\n * @maxSize 100\n */\n deliveryProfiles?: DeliveryProfile[];\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 AddDeliveryRegionRequest {\n /**\n * Delivery profile ID.\n * @format GUID\n */\n deliveryProfileId: string;\n /** Delivery region to add. */\n deliveryRegion: DeliveryRegion;\n /**\n * Delivery profile revision.\n * @readonly\n */\n revision?: string | null;\n}\n\nexport interface AddDeliveryRegionResponse {\n /** Updated delivery profile with the new delivery region. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface UpdateDeliveryRegionRequest {\n /**\n * Delivery profile ID.\n * @format GUID\n */\n deliveryProfileId: string;\n /** Delivery region to update. */\n deliveryRegion: DeliveryRegion;\n /**\n * Delivery profile revision.\n * @readonly\n */\n revision?: string | null;\n}\n\nexport interface UpdateDeliveryRegionResponse {\n /** Updated delivery profile with the updated delivery region. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface GetDeliveryProfileByDeliveryRegionIdRequest {\n /**\n * Delivery region ID.\n * @format GUID\n */\n deliveryRegionId: string;\n}\n\nexport interface GetDeliveryProfileByDeliveryRegionIdResponse {\n /** Delivery profile containing the requested region. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface RemoveDeliveryRegionRequest {\n /**\n * Delivery profile ID.\n * @format GUID\n */\n deliveryProfileId: string;\n /**\n * Delivery region ID.\n * @format GUID\n */\n deliveryRegionId: string;\n /**\n * Delivery profile revision.\n * @readonly\n */\n revision?: string | null;\n}\n\nexport interface RemoveDeliveryRegionResponse {\n /** Updated delivery profile with the delivery region removed. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface AddDeliveryCarrierRequest {\n /**\n * Delivery region ID.\n * @format GUID\n */\n deliveryRegionId: string;\n /** Delivery carrier to add. */\n deliveryCarrier: DeliveryCarrier;\n}\n\nexport interface AddDeliveryCarrierResponse {\n /** Updated delivery profile. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface RemoveDeliveryCarrierRequest {\n /**\n * Delivery region ID.\n * @format GUID\n */\n deliveryRegionId: string;\n /**\n * App ID of the delivery carrier to remove.\n * @format GUID\n */\n appId: string;\n}\n\nexport interface RemoveDeliveryCarrierResponse {\n /** Updated delivery profile. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface UpdateDeliveryCarrierRequest {\n /**\n * Delivery region ID.\n * @format GUID\n */\n deliveryRegionId: string;\n /** Delivery carrier to update. */\n deliveryCarrier?: DeliveryCarrier;\n}\n\nexport interface UpdateDeliveryCarrierResponse {\n /** Updated delivery profile with the updated delivery carrier. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface ListInstalledDeliveryCarriersRequest {}\n\nexport interface ListInstalledDeliveryCarriersResponse {\n /**\n * List of installed delivery carriers on the site.\n * @maxSize 100\n */\n installedDeliveryCarriers?: InstalledDeliveryCarrier[];\n}\n\nexport interface InstalledDeliveryCarrier {\n /**\n * Carrier app ID.\n * @format GUID\n */\n id?: string;\n /**\n * Carrier display name.\n * @maxLength 256\n */\n displayName?: string;\n /**\n * Carrier description.\n * @maxLength 200\n */\n description?: string | null;\n /**\n * URL to learn more about the carrier.\n * @maxLength 200\n */\n learnMoreUrl?: string | null;\n /**\n * URL to the carrier's dashboard.\n * @minLength 1\n * @maxLength 2048\n * @format WEB_URL\n */\n dashboardUrl?: string | null;\n /** Whether a backup rate is required for this carrier. */\n fallbackDefinitionMandatory?: boolean | null;\n /**\n * URL for the carrier's thumbnail image.\n * @format WEB_URL\n */\n thumbnailUrl?: string | null;\n /** Whether the carrier supports retrieving carrier settings. */\n toggleGetCarrierSettingsEnabled?: boolean;\n}\n\nexport interface ListDeliveryDestinationsRequest {}\n\nexport interface ListDeliveryDestinationsResponse {\n /** Scope of destinations. When `WORLDWIDE` is selected, the `destinations` list is empty. */\n destinationScope?: DestinationScopeWithLiterals;\n /**\n * List of configured destinations.\n * @maxSize 200\n */\n destinations?: Destination[];\n}\n\nexport enum DestinationScope {\n /** Specific destinations are configured. */\n SPECIFIC_DESTINATIONS = 'SPECIFIC_DESTINATIONS',\n /** All destinations worldwide. */\n WORLDWIDE = 'WORLDWIDE',\n}\n\n/** @enumType */\nexport type DestinationScopeWithLiterals =\n | DestinationScope\n | 'SPECIFIC_DESTINATIONS'\n | 'WORLDWIDE';\n\nexport interface RequiredZipcodeRequest {}\n\nexport interface RequiredZipcodeResponse {\n /** Whether the site requires a postal code for delivery. */\n requiredZipcode?: boolean;\n}\n\nexport interface GetDeliveryDestinationPropertiesRequest {}\n\nexport interface GetDeliveryDestinationPropertiesResponse {\n /** Delivery destination properties for Rest of World. */\n restOfWorld?: DeliveryDestinationProperties;\n /**\n * List of countries and their delivery destination properties.\n * @maxSize 195\n */\n countries?: CountryDeliveryProperties[];\n}\n\nexport interface DeliveryDestinationProperties {\n /** Whether a postal code is required for delivery to this destination. */\n postalCodeRequired?: boolean;\n /** Whether only pickup is available at this destination. */\n pickupOnly?: boolean;\n}\n\nexport interface CountryDeliveryProperties {\n /**\n * 2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.\n * @format COUNTRY\n */\n country?: string;\n /** Delivery destination properties for the country. */\n deliveryDestinationProperties?: DeliveryDestinationProperties;\n /**\n * List of subdivisions and their delivery destination properties.\n * @maxSize 100\n */\n subdivisions?: SubdivisionDeliveryProperties[];\n}\n\nexport interface SubdivisionDeliveryProperties {\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 * @minLength 1\n * @maxLength 5\n */\n subdivision?: string;\n /** Delivery destination properties for the subdivision. */\n deliveryDestinationProperties?: DeliveryDestinationProperties;\n}\n\nexport interface ListDeliveryCarriersRequest {\n /**\n * Delivery profile ID.\n * @format GUID\n */\n deliveryProfileId: string;\n /**\n * App IDs of the delivery carriers to retrieve settings for.\n * @format GUID\n * @minSize 1\n * @maxSize 25\n */\n appIds?: string[];\n}\n\nexport interface ListDeliveryCarriersResponse {\n /**\n * List of delivery carrier results.\n * @maxSize 100\n */\n results?: ListDeliveryCarriersResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ListDeliveryCarriersResult {\n /** Metadata for the result, including success or error information. */\n deliveryCarrierMetadata?: ItemMetadata;\n /** Delivery carrier details. */\n deliveryCarrierDetails?: DeliveryCarrierDetails;\n /**\n * Regional settings for the delivery carrier.\n * @minSize 1\n * @maxSize 5\n */\n deliveryCarrierRegionalSettings?: DeliveryCarrierRegionalSettings[];\n}\n\nexport interface ItemMetadata {\n /**\n * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\n * @format GUID\n */\n id?: string | null;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface DeliveryCarrierDetails {\n /**\n * Carrier app ID.\n * @format GUID\n */\n id?: string;\n /**\n * Carrier display name.\n * @maxLength 256\n */\n displayName?: string;\n /**\n * Carrier description.\n * @maxLength 200\n */\n description?: string | null;\n /**\n * URL to learn more about the carrier.\n * @maxLength 200\n */\n learnMoreUrl?: string | null;\n /**\n * URL to the carrier's dashboard.\n * @minLength 1\n * @maxLength 2048\n * @format WEB_URL\n */\n dashboardUrl?: string | null;\n /** Whether a backup rate is required for this carrier. */\n fallbackDefinitionMandatory?: boolean | null;\n /**\n * URL for the carrier's thumbnail image.\n * @format WEB_URL\n */\n thumbnailUrl?: string | null;\n /** Whether the carrier supports retrieving carrier settings. */\n toggleGetCarrierSettingsEnabled?: boolean;\n /** Whether the carrier supports updating carrier active status. */\n toggleUpdateCarrierActiveStatusEnabled?: boolean;\n}\n\nexport interface DeliveryCarrierRegionalSettings {\n /**\n * Delivery region ID.\n * @format GUID\n */\n deliveryRegionId?: string;\n /**\n * Dashboard tables with shipping configuration for this region. Multiple tables can exist if the carrier is an aggregator of multiple services.\n * @minSize 1\n * @maxSize 5\n */\n dashboardTables?: DashboardTable[];\n}\n\nexport interface DashboardTable {\n /**\n * Table title.\n * @maxLength 256\n */\n title?: string;\n /**\n * Table columns.\n * @maxSize 200\n */\n columns?: Column[];\n /**\n * Table rows containing the configuration data.\n * @maxSize 25\n */\n rows?: Row[];\n}\n\nexport interface Column {\n /**\n * Column key, used to retrieve data from rows.\n * @maxLength 256\n */\n key?: string;\n /**\n * Column display name.\n * @maxLength 256\n */\n name?: string;\n}\n\nexport interface Row {\n /**\n * Unique row identifier, used to identify the row for editing.\n * @maxLength 256\n */\n key?: string;\n /** Row data as a JSON object. Each key corresponds to a column key. */\n data?: Record<string, any> | null;\n /** Whether this row's configuration is active. */\n active?: boolean;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface UpdateCarrierSettingsRequest {\n /**\n * Carrier app ID.\n * @format GUID\n */\n carrierId: string;\n /**\n * ID of the dashboard table row that triggered the change.\n * @format GUID\n */\n rowId: string;\n /** New active status. */\n active: boolean | null;\n}\n\nexport interface UpdateCarrierSettingsResponse {}\n\nexport interface SetDeliveryCarrierActiveStatusRequest {\n /**\n * Carrier app ID.\n * @format GUID\n */\n carrierAppId: string;\n /**\n * Row ID that triggered the change.\n * @format GUID\n */\n rowId: string;\n /** Whether the configuration defined in the row is active. */\n active: boolean | null;\n}\n\nexport interface SetDeliveryCarrierActiveStatusResponse {}\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 delivery profile. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {\n /** Emitted on a meta site creation. */\n siteCreated?: SiteCreated;\n /** Emitted on a meta site transfer completion. */\n siteTransferred?: SiteTransferred;\n /** Emitted on a meta site deletion. */\n siteDeleted?: SiteDeleted;\n /** Emitted on a meta site restoration. */\n siteUndeleted?: SiteUndeleted;\n /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n sitePublished?: SitePublished;\n /** Emitted on a meta site unpublish. */\n siteUnpublished?: SiteUnpublished;\n /** Emitted when meta site is marked as template. */\n siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n /** Emitted when meta site is marked as a WixSite. */\n siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n /** Emitted when an application is provisioned (installed). */\n serviceProvisioned?: ServiceProvisioned;\n /** Emitted when an application is removed (uninstalled). */\n serviceRemoved?: ServiceRemoved;\n /** Emitted when meta site name (URL slug) is changed. */\n siteRenamedPayload?: SiteRenamed;\n /** Emitted when meta site was permanently deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Emitted on a namespace change. */\n namespaceChanged?: NamespaceChanged;\n /** Emitted when Studio is attached. */\n studioAssigned?: StudioAssigned;\n /** Emitted when Studio is detached. */\n studioUnassigned?: StudioUnassigned;\n /**\n * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n * the actual URL.\n *\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n */\n urlChanged?: SiteUrlChanged;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Emitted when Odeditor is attached. */\n odeditorAssigned?: OdeditorAssigned;\n /** Emitted when Odeditor is detached. */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Emitted when Picasso is attached. */\n picassoAssigned?: PicassoAssigned;\n /** Emitted when Picasso is detached. */\n picassoUnassigned?: PicassoUnassigned;\n /** Emitted when Wixel is attached. */\n wixelAssigned?: WixelAssigned;\n /** Emitted when Wixel is detached. */\n wixelUnassigned?: WixelUnassigned;\n /** Emitted when StudioTwo is attached. */\n studioTwoAssigned?: StudioTwoAssigned;\n /** Emitted when StudioTwo is detached. */\n studioTwoUnassigned?: StudioTwoUnassigned;\n /** Emitted when media from user domain is enabled. */\n userDomainMediaEnabled?: UserDomainMediaEnabled;\n /** Emitted when media from user domain is disabled. */\n userDomainMediaDisabled?: UserDomainMediaDisabled;\n /**\n * A meta site id.\n * @format GUID\n */\n metaSiteId?: string;\n /** A meta site version. Monotonically increasing. */\n version?: string;\n /** A timestamp of the event. */\n timestamp?: string;\n /**\n * TODO(meta-site): Change validation once validations are disabled for consumers\n * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659\n * @maxSize 4000\n */\n assets?: Asset[];\n}\n\n/** @oneof */\nexport interface MetaSiteSpecialEventPayloadOneOf {\n /** Emitted on a meta site creation. */\n siteCreated?: SiteCreated;\n /** Emitted on a meta site transfer completion. */\n siteTransferred?: SiteTransferred;\n /** Emitted on a meta site deletion. */\n siteDeleted?: SiteDeleted;\n /** Emitted on a meta site restoration. */\n siteUndeleted?: SiteUndeleted;\n /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n sitePublished?: SitePublished;\n /** Emitted on a meta site unpublish. */\n siteUnpublished?: SiteUnpublished;\n /** Emitted when meta site is marked as template. */\n siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n /** Emitted when meta site is marked as a WixSite. */\n siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n /** Emitted when an application is provisioned (installed). */\n serviceProvisioned?: ServiceProvisioned;\n /** Emitted when an application is removed (uninstalled). */\n serviceRemoved?: ServiceRemoved;\n /** Emitted when meta site name (URL slug) is changed. */\n siteRenamedPayload?: SiteRenamed;\n /** Emitted when meta site was permanently deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Emitted on a namespace change. */\n namespaceChanged?: NamespaceChanged;\n /** Emitted when Studio is attached. */\n studioAssigned?: StudioAssigned;\n /** Emitted when Studio is detached. */\n studioUnassigned?: StudioUnassigned;\n /**\n * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n * the actual URL.\n *\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n */\n urlChanged?: SiteUrlChanged;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Emitted when Odeditor is attached. */\n odeditorAssigned?: OdeditorAssigned;\n /** Emitted when Odeditor is detached. */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Emitted when Picasso is attached. */\n picassoAssigned?: PicassoAssigned;\n /** Emitted when Picasso is detached. */\n picassoUnassigned?: PicassoUnassigned;\n /** Emitted when Wixel is attached. */\n wixelAssigned?: WixelAssigned;\n /** Emitted when Wixel is detached. */\n wixelUnassigned?: WixelUnassigned;\n /** Emitted when StudioTwo is attached. */\n studioTwoAssigned?: StudioTwoAssigned;\n /** Emitted when StudioTwo is detached. */\n studioTwoUnassigned?: StudioTwoUnassigned;\n /** Emitted when media from user domain is enabled. */\n userDomainMediaEnabled?: UserDomainMediaEnabled;\n /** Emitted when media from user domain is disabled. */\n userDomainMediaDisabled?: UserDomainMediaDisabled;\n}\n\nexport interface Asset {\n /**\n * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * An instance id. For legacy reasons may be UUID or a string.\n * @maxLength 200\n */\n instanceId?: string;\n /** An application state. */\n state?: StateWithLiterals;\n}\n\nexport enum State {\n UNKNOWN = 'UNKNOWN',\n ENABLED = 'ENABLED',\n DISABLED = 'DISABLED',\n PENDING = 'PENDING',\n DEMO = 'DEMO',\n}\n\n/** @enumType */\nexport type StateWithLiterals =\n | State\n | 'UNKNOWN'\n | 'ENABLED'\n | 'DISABLED'\n | 'PENDING'\n | 'DEMO';\n\nexport interface SiteCreated {\n /**\n * A template identifier (empty if not created from a template).\n * @maxLength 36\n */\n originTemplateId?: string;\n /**\n * An account id of the owner.\n * @format GUID\n */\n ownerId?: string;\n /** A context in which meta site was created. */\n context?: SiteCreatedContextWithLiterals;\n /**\n * A meta site id from which this site was created.\n *\n * In case of a creation from a template it's a template id.\n * In case of a site duplication (\"Save As\" in dashboard or duplicate in UM) it's an id of a source site.\n * @format GUID\n */\n originMetaSiteId?: string | null;\n /**\n * A meta site name (URL slug).\n * @maxLength 20\n */\n siteName?: string;\n /** A namespace. */\n namespace?: NamespaceWithLiterals;\n}\n\nexport enum SiteCreatedContext {\n /** A valid option, we don't expose all reasons why site might be created. */\n OTHER = 'OTHER',\n /** A meta site was created from template. */\n FROM_TEMPLATE = 'FROM_TEMPLATE',\n /** A meta site was created by copying of the transfferred meta site. */\n DUPLICATE_BY_SITE_TRANSFER = 'DUPLICATE_BY_SITE_TRANSFER',\n /** A copy of existing meta site. */\n DUPLICATE = 'DUPLICATE',\n /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */\n OLD_SITE_TRANSFER = 'OLD_SITE_TRANSFER',\n /** deprecated A meta site was created for Flash editor. */\n FLASH = 'FLASH',\n}\n\n/** @enumType */\nexport type SiteCreatedContextWithLiterals =\n | SiteCreatedContext\n | 'OTHER'\n | 'FROM_TEMPLATE'\n | 'DUPLICATE_BY_SITE_TRANSFER'\n | 'DUPLICATE'\n | 'OLD_SITE_TRANSFER'\n | 'FLASH';\n\nexport enum Namespace {\n UNKNOWN_NAMESPACE = 'UNKNOWN_NAMESPACE',\n /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */\n WIX = 'WIX',\n /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n SHOUT_OUT = 'SHOUT_OUT',\n /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n ALBUMS = 'ALBUMS',\n /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n WIX_STORES_TEST_DRIVE = 'WIX_STORES_TEST_DRIVE',\n /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n HOTELS = 'HOTELS',\n /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n CLUBS = 'CLUBS',\n /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n ONBOARDING_DRAFT = 'ONBOARDING_DRAFT',\n /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n DEV_SITE = 'DEV_SITE',\n /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n LOGOS = 'LOGOS',\n /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n VIDEO_MAKER = 'VIDEO_MAKER',\n /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n PARTNER_DASHBOARD = 'PARTNER_DASHBOARD',\n /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n DEV_CENTER_COMPANY = 'DEV_CENTER_COMPANY',\n /**\n * A draft created by HTML editor on open. Upon \"first save\" it will be moved to be of WIX domain.\n *\n * Meta site with this namespace will *not* be shown in a user's site list by default.\n */\n HTML_DRAFT = 'HTML_DRAFT',\n /**\n * the user-journey for Fitness users who want to start from managing their business instead of designing their website.\n * Will be accessible from Site List and will not have a website app.\n * Once the user attaches a site, the site will become a regular wixsite.\n */\n SITELESS_BUSINESS = 'SITELESS_BUSINESS',\n /** Belongs to \"strategic products\" company. Supports new product in the creator's economy space. */\n CREATOR_ECONOMY = 'CREATOR_ECONOMY',\n /** It is to be used in the Business First efforts. */\n DASHBOARD_FIRST = 'DASHBOARD_FIRST',\n /** Bookings business flow with no site. */\n ANYWHERE = 'ANYWHERE',\n /** Namespace for Headless Backoffice with no editor */\n HEADLESS = 'HEADLESS',\n /**\n * Namespace for master site that will exist in parent account that will be referenced by subaccounts\n * The site will be used for account level CSM feature for enterprise\n */\n ACCOUNT_MASTER_CMS = 'ACCOUNT_MASTER_CMS',\n /** Rise.ai Siteless account management for Gift Cards and Store Credit. */\n RISE = 'RISE',\n /**\n * As part of the branded app new funnel, users now can create a meta site that will be branded app first.\n * There's a blank site behind the scene but it's blank).\n * The Mobile company will be the owner of this namespace.\n */\n BRANDED_FIRST = 'BRANDED_FIRST',\n /** Nownia.com Siteless account management for Ai Scheduling Assistant. */\n NOWNIA = 'NOWNIA',\n /**\n * UGC Templates are templates that are created by users for personal use and to sale to other users.\n * The Partners company owns this namespace.\n */\n UGC_TEMPLATE = 'UGC_TEMPLATE',\n /** Codux Headless Sites */\n CODUX = 'CODUX',\n /** Bobb - AI Design Creator. */\n MEDIA_DESIGN_CREATOR = 'MEDIA_DESIGN_CREATOR',\n /**\n * Shared Blog Site is a unique single site across Enterprise account,\n * This site will hold all Blog posts related to the Marketing product.\n */\n SHARED_BLOG_ENTERPRISE = 'SHARED_BLOG_ENTERPRISE',\n /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n STANDALONE_FORMS = 'STANDALONE_FORMS',\n /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n STANDALONE_EVENTS = 'STANDALONE_EVENTS',\n /** MIMIR - Siteless account for MIMIR Ai Job runner. */\n MIMIR = 'MIMIR',\n /** Wix Twins platform. */\n TWINS = 'TWINS',\n /** Wix Nano. */\n NANO = 'NANO',\n /** Base44 headless sites. */\n BASE44 = 'BASE44',\n}\n\n/** @enumType */\nexport type NamespaceWithLiterals =\n | Namespace\n | 'UNKNOWN_NAMESPACE'\n | 'WIX'\n | 'SHOUT_OUT'\n | 'ALBUMS'\n | 'WIX_STORES_TEST_DRIVE'\n | 'HOTELS'\n | 'CLUBS'\n | 'ONBOARDING_DRAFT'\n | 'DEV_SITE'\n | 'LOGOS'\n | 'VIDEO_MAKER'\n | 'PARTNER_DASHBOARD'\n | 'DEV_CENTER_COMPANY'\n | 'HTML_DRAFT'\n | 'SITELESS_BUSINESS'\n | 'CREATOR_ECONOMY'\n | 'DASHBOARD_FIRST'\n | 'ANYWHERE'\n | 'HEADLESS'\n | 'ACCOUNT_MASTER_CMS'\n | 'RISE'\n | 'BRANDED_FIRST'\n | 'NOWNIA'\n | 'UGC_TEMPLATE'\n | 'CODUX'\n | 'MEDIA_DESIGN_CREATOR'\n | 'SHARED_BLOG_ENTERPRISE'\n | 'STANDALONE_FORMS'\n | 'STANDALONE_EVENTS'\n | 'MIMIR'\n | 'TWINS'\n | 'NANO'\n | 'BASE44';\n\n/** Site transferred to another user. */\nexport interface SiteTransferred {\n /**\n * A previous owner id (user that transfers meta site).\n * @format GUID\n */\n oldOwnerId?: string;\n /**\n * A new owner id (user that accepts meta site).\n * @format GUID\n */\n newOwnerId?: string;\n}\n\n/** Soft deletion of the meta site. Could be restored. */\nexport interface SiteDeleted {\n /** A deletion context. */\n deleteContext?: DeleteContext;\n}\n\nexport interface DeleteContext {\n /** When the meta site was deleted. */\n dateDeleted?: Date | null;\n /** A status. */\n deleteStatus?: DeleteStatusWithLiterals;\n /**\n * A reason (flow).\n * @maxLength 255\n */\n deleteOrigin?: string;\n /**\n * A service that deleted it.\n * @maxLength 255\n */\n initiatorId?: string | null;\n}\n\nexport enum DeleteStatus {\n UNKNOWN = 'UNKNOWN',\n TRASH = 'TRASH',\n DELETED = 'DELETED',\n PENDING_PURGE = 'PENDING_PURGE',\n PURGED_EXTERNALLY = 'PURGED_EXTERNALLY',\n}\n\n/** @enumType */\nexport type DeleteStatusWithLiterals =\n | DeleteStatus\n | 'UNKNOWN'\n | 'TRASH'\n | 'DELETED'\n | 'PENDING_PURGE'\n | 'PURGED_EXTERNALLY';\n\n/** Restoration of the meta site. */\nexport interface SiteUndeleted {}\n\n/** First publish of a meta site. Or subsequent publish after unpublish. */\nexport interface SitePublished {}\n\nexport interface SiteUnpublished {\n /**\n * A list of URLs previously associated with the meta site.\n * @maxLength 4000\n * @maxSize 10000\n */\n urls?: string[];\n}\n\nexport interface SiteMarkedAsTemplate {}\n\nexport interface SiteMarkedAsWixSite {}\n\n/**\n * Represents a service provisioned a site.\n *\n * Note on `origin_instance_id`:\n * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.\n * This is because of the following scenario:\n *\n * Imagine you have a template where a third-party application (TPA) includes some stub data,\n * such as a product catalog. When you create a site from this template, you inherit this\n * default product catalog. However, if the template's product catalog is modified,\n * your site will retain the catalog as it was at the time of site creation. This ensures that\n * your site remains consistent with what you initially received and does not include any\n * changes made to the original template afterward.\n * To ensure this, the TPA on the template gets a new instance_id.\n */\nexport interface ServiceProvisioned {\n /**\n * Either UUID or EmbeddedServiceType.\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * Not only UUID. Something here could be something weird.\n * @maxLength 36\n */\n instanceId?: string;\n /**\n * An instance id from which this instance is originated.\n * @maxLength 36\n */\n originInstanceId?: string;\n /**\n * A version.\n * @maxLength 500\n */\n version?: string | null;\n /**\n * The origin meta site id\n * @format GUID\n */\n originMetaSiteId?: string | null;\n}\n\nexport interface ServiceRemoved {\n /**\n * Either UUID or EmbeddedServiceType.\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * Not only UUID. Something here could be something weird.\n * @maxLength 36\n */\n instanceId?: string;\n /**\n * A version.\n * @maxLength 500\n */\n version?: string | null;\n}\n\n/** Rename of the site. Meaning, free public url has been changed as well. */\nexport interface SiteRenamed {\n /**\n * A new meta site name (URL slug).\n * @maxLength 20\n */\n newSiteName?: string;\n /**\n * A previous meta site name (URL slug).\n * @maxLength 255\n */\n oldSiteName?: string;\n}\n\n/**\n * Hard deletion of the meta site.\n *\n * Could not be restored. Therefore it's desirable to cleanup data.\n */\nexport interface SiteHardDeleted {\n /** A deletion context. */\n deleteContext?: DeleteContext;\n}\n\nexport interface NamespaceChanged {\n /** A previous namespace. */\n oldNamespace?: NamespaceWithLiterals;\n /** A new namespace. */\n newNamespace?: NamespaceWithLiterals;\n}\n\n/** Assigned Studio editor */\nexport interface StudioAssigned {}\n\n/** Unassigned Studio editor */\nexport interface StudioUnassigned {}\n\n/**\n * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.\n *\n * This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up\n * with sites and its urls, you need to listen to another topic/event. Read about it:\n *\n * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service\n */\nexport interface SiteUrlChanged {}\n\n/**\n * Used at the end of the deletion flow for both draft sites and when a user deletes a site.\n * Consumed by other teams to remove relevant data.\n */\nexport interface SitePurgedExternally {\n /**\n * @maxLength 2048\n * @maxSize 100\n * @deprecated\n * @targetRemovalDate 2025-04-15\n */\n appDefId?: string[];\n}\n\n/** Assigned Odeditor */\nexport interface OdeditorAssigned {}\n\n/** Unassigned Odeditor */\nexport interface OdeditorUnassigned {}\n\n/** Assigned Picasso editor */\nexport interface PicassoAssigned {}\n\n/** Unassigned Picasso */\nexport interface PicassoUnassigned {}\n\n/** Assigned Wixel */\nexport interface WixelAssigned {}\n\n/** Unassigned Wixel */\nexport interface WixelUnassigned {}\n\n/** Assigned StudioTwo */\nexport interface StudioTwoAssigned {}\n\n/** Unassigned StudioTwo */\nexport interface StudioTwoUnassigned {}\n\n/** Media from user domain is enabled. */\nexport interface UserDomainMediaEnabled {}\n\n/** Media from user domain is disabled. */\nexport interface UserDomainMediaDisabled {}\n\nexport interface Empty {}\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 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 /** Details related to the account */\n accountInfo?: AccountInfo;\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 AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type CreateDeliveryProfileApplicationErrors =\n | {\n code?: 'DELIVERY_PROFILES_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DESTINATIONS_COLLISION';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'SINGLE_DEFAULT_DELIVERY_PROFILE';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'UNKNOWN_DELIVERY_CARRIER';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DELIVERY_CARRIER_MISSING_BACKUP_RATE';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type UpdateDeliveryProfileApplicationErrors =\n | {\n code?: 'DELIVERY_REGION_CANNOT_BE_UPDATED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DEFAULT_CANNOT_BE_UPDATED';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type AddDeliveryRegionApplicationErrors =\n | {\n code?: 'DELIVERY_PROFILE_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DESTINATIONS_COLLISION';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'UNKNOWN_DELIVERY_CARRIER';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DELIVERY_CARRIER_MISSING_BACKUP_RATE';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type AddDeliveryRegionValidationErrors = {\n ruleName?: 'DELIVERY_REGION_NAME_ALREADY_EXISTS';\n};\n/** @docsIgnore */\nexport type UpdateDeliveryRegionApplicationErrors =\n | {\n code?: 'DELIVERY_PROFILE_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DELIVERY_REGION_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DESTINATIONS_COLLISION';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DELIVERY_CARRIER_CANNOT_BE_UPDATED';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type UpdateDeliveryRegionValidationErrors = {\n ruleName?: 'DELIVERY_REGION_NAME_ALREADY_EXISTS';\n};\n/** @docsIgnore */\nexport type GetDeliveryProfileByDeliveryRegionIdApplicationErrors = {\n code?: 'DELIVERY_REGION_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type RemoveDeliveryRegionApplicationErrors =\n | {\n code?: 'DELIVERY_PROFILE_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DELIVERY_REGION_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type AddDeliveryCarrierApplicationErrors =\n | {\n code?: 'DELIVERY_REGION_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CARRIER_ALREADY_EXISTS_IN_REGION';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DELIVERY_CARRIER_MISSING_BACKUP_RATE';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'UNKNOWN_DELIVERY_CARRIER';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type AddDeliveryCarrierValidationErrors = {\n ruleName?: 'DELIVERY_CARRIER_MISSING_BACKUP_RATE';\n};\n/** @docsIgnore */\nexport type RemoveDeliveryCarrierApplicationErrors = {\n code?: 'DELIVERY_REGION_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type UpdateDeliveryCarrierApplicationErrors =\n | {\n code?: 'DELIVERY_REGION_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DELIVERY_CARRIER_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'UNKNOWN_DELIVERY_CARRIER';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'APP_ID_CANNOT_BE_UPDATED';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type ListDeliveryCarriersApplicationErrors =\n | {\n code?: 'DELIVERY_CARRIER_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DELIVERY_PROFILE_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type UpdateCarrierSettingsApplicationErrors = {\n code?: 'DELIVERY_CARRIER_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type SetDeliveryCarrierActiveStatusApplicationErrors = {\n code?: 'DELIVERY_CARRIER_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixEcomV1DeliveryProfile from './ecom-v1-delivery-profile-delivery-profile.http.js';\nimport * as ambassadorWixEcomV1DeliveryProfileTypes from './ecom-v1-delivery-profile-delivery-profile.types.js';\nimport * as ambassadorWixEcomV1DeliveryProfileUniversalTypes from './ecom-v1-delivery-profile-delivery-profile.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 createDeliveryProfile(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.CreateDeliveryProfileRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.CreateDeliveryProfileRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.CreateDeliveryProfileResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.CreateDeliveryProfileResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.createDeliveryProfile(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/delivery-profiles',\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 getDeliveryProfile(): __PublicMethodMetaInfo<\n 'GET',\n { deliveryProfileId: string },\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.GetDeliveryProfileRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.GetDeliveryProfileRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.GetDeliveryProfileResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.GetDeliveryProfileResponse\n> {\n const payload = { deliveryProfileId: ':deliveryProfileId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.getDeliveryProfile(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/delivery-profiles/{deliveryProfileId}',\n pathParams: { deliveryProfileId: 'deliveryProfileId' },\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 updateDeliveryProfile(): __PublicMethodMetaInfo<\n 'PATCH',\n { deliveryProfileId: string },\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.UpdateDeliveryProfileRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.UpdateDeliveryProfileRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.UpdateDeliveryProfileResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.UpdateDeliveryProfileResponse\n> {\n const payload = { deliveryProfile: { id: ':deliveryProfileId' } } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.updateDeliveryProfile(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/delivery-profiles/{deliveryProfile.id}',\n pathParams: { deliveryProfileId: 'deliveryProfileId' },\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 deleteDeliveryProfile(): __PublicMethodMetaInfo<\n 'DELETE',\n { deliveryProfileId: string },\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.DeleteDeliveryProfileRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.DeleteDeliveryProfileRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.DeleteDeliveryProfileResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.DeleteDeliveryProfileResponse\n> {\n const payload = { deliveryProfileId: ':deliveryProfileId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.deleteDeliveryProfile(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/delivery-profiles/{deliveryProfileId}',\n pathParams: { deliveryProfileId: 'deliveryProfileId' },\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 queryDeliveryProfiles(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.QueryDeliveryProfilesRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.QueryDeliveryProfilesRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.QueryDeliveryProfilesResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.QueryDeliveryProfilesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.queryDeliveryProfiles(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/delivery-profiles/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 addDeliveryRegion(): __PublicMethodMetaInfo<\n 'POST',\n { deliveryProfileId: string },\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.AddDeliveryRegionRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.AddDeliveryRegionRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.AddDeliveryRegionResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.AddDeliveryRegionResponse\n> {\n const payload = { deliveryProfileId: ':deliveryProfileId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.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/delivery-profiles/{deliveryProfileId}/delivery-region',\n pathParams: { deliveryProfileId: 'deliveryProfileId' },\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 updateDeliveryRegion(): __PublicMethodMetaInfo<\n 'PATCH',\n { deliveryProfileId: string; deliveryRegionId: string },\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.UpdateDeliveryRegionRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.UpdateDeliveryRegionRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.UpdateDeliveryRegionResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.UpdateDeliveryRegionResponse\n> {\n const payload = {\n deliveryProfileId: ':deliveryProfileId',\n deliveryRegion: { id: ':deliveryRegionId' },\n } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.updateDeliveryRegion(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/delivery-profiles/{deliveryProfileId}/delivery-region/{deliveryRegion.id}',\n pathParams: {\n deliveryProfileId: 'deliveryProfileId',\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 function getDeliveryProfileByDeliveryRegionId(): __PublicMethodMetaInfo<\n 'GET',\n { deliveryRegionId: string },\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.GetDeliveryProfileByDeliveryRegionIdRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.GetDeliveryProfileByDeliveryRegionIdRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.GetDeliveryProfileByDeliveryRegionIdResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.GetDeliveryProfileByDeliveryRegionIdResponse\n> {\n const payload = { deliveryRegionId: ':deliveryRegionId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.getDeliveryProfileByDeliveryRegionId(\n payload\n );\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/delivery-profiles/delivery-regions/{deliveryRegionId}',\n pathParams: { deliveryRegionId: 'deliveryRegionId' },\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 { deliveryProfileId: string; deliveryRegionId: string },\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.RemoveDeliveryRegionRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.RemoveDeliveryRegionRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.RemoveDeliveryRegionResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.RemoveDeliveryRegionResponse\n> {\n const payload = {\n deliveryProfileId: ':deliveryProfileId',\n deliveryRegionId: ':deliveryRegionId',\n } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.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/delivery-profiles/{deliveryProfileId}/delivery-region/{deliveryRegionId}',\n pathParams: {\n deliveryProfileId: 'deliveryProfileId',\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 function addDeliveryCarrier(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.AddDeliveryCarrierRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.AddDeliveryCarrierRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.AddDeliveryCarrierResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.AddDeliveryCarrierResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.addDeliveryCarrier(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/delivery-profiles/add-delivery-carrier',\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 removeDeliveryCarrier(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.RemoveDeliveryCarrierRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.RemoveDeliveryCarrierRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.RemoveDeliveryCarrierResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.RemoveDeliveryCarrierResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.removeDeliveryCarrier(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/delivery-profiles/remove-delivery-carrier',\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 updateDeliveryCarrier(): __PublicMethodMetaInfo<\n 'PATCH',\n {},\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.UpdateDeliveryCarrierRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.UpdateDeliveryCarrierRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.UpdateDeliveryCarrierResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.UpdateDeliveryCarrierResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.updateDeliveryCarrier(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/delivery-profiles/update-delivery-carrier',\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 listInstalledDeliveryCarriers(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.ListInstalledDeliveryCarriersRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.ListInstalledDeliveryCarriersRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.ListInstalledDeliveryCarriersResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.ListInstalledDeliveryCarriersResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.listInstalledDeliveryCarriers(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/delivery-profiles/installed-carriers',\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 getDeliveryDestinationProperties(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.GetDeliveryDestinationPropertiesRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.GetDeliveryDestinationPropertiesRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.GetDeliveryDestinationPropertiesResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.GetDeliveryDestinationPropertiesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.getDeliveryDestinationProperties(\n payload\n );\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/delivery-profiles/delivery-destination-properties',\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 listDeliveryCarriers(): __PublicMethodMetaInfo<\n 'POST',\n { deliveryProfileId: string },\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.ListDeliveryCarriersRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.ListDeliveryCarriersRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.ListDeliveryCarriersResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.ListDeliveryCarriersResponse\n> {\n const payload = { deliveryProfileId: ':deliveryProfileId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.listDeliveryCarriers(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/delivery-profiles/{deliveryProfileId}/delivery-carriers',\n pathParams: { deliveryProfileId: 'deliveryProfileId' },\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 updateCarrierSettings(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.UpdateCarrierSettingsRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.UpdateCarrierSettingsRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.UpdateCarrierSettingsResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.UpdateCarrierSettingsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.updateCarrierSettings(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/delivery-carriers/update-settings',\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 setDeliveryCarrierActiveStatus(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.SetDeliveryCarrierActiveStatusRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.SetDeliveryCarrierActiveStatusRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.SetDeliveryCarrierActiveStatusResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.SetDeliveryCarrierActiveStatusResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.setDeliveryCarrierActiveStatus(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/delivery-profiles/delivery-carriers/set-active-status',\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 ambassadorWixEcomV1DeliveryProfileUniversalTypes.UpdateExtendedFieldsRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.UpdateExtendedFieldsRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.UpdateExtendedFieldsResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.UpdateExtendedFieldsResponse\n> {\n const payload = { id: ':id' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.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/delivery-profiles/{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 {\n DeliveryProfile as DeliveryProfileOriginal,\n DeliveryRegion as DeliveryRegionOriginal,\n DeliveryCarrier as DeliveryCarrierOriginal,\n BackupRate as BackupRateOriginal,\n AdditionalCharge as AdditionalChargeOriginal,\n Destination as DestinationOriginal,\n CreatedBy as CreatedByOriginal,\n CreatedByIdOneOf as CreatedByIdOneOfOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n DeliveryRegionAdded as DeliveryRegionAddedOriginal,\n DeliveryRegionRemoved as DeliveryRegionRemovedOriginal,\n DeliveryRegionUpdated as DeliveryRegionUpdatedOriginal,\n CreateDeliveryProfileRequest as CreateDeliveryProfileRequestOriginal,\n CreateDeliveryProfileResponse as CreateDeliveryProfileResponseOriginal,\n GetDeliveryProfileRequest as GetDeliveryProfileRequestOriginal,\n GetDeliveryProfileResponse as GetDeliveryProfileResponseOriginal,\n UpdateDeliveryProfileRequest as UpdateDeliveryProfileRequestOriginal,\n UpdateDeliveryProfileResponse as UpdateDeliveryProfileResponseOriginal,\n DeleteDeliveryProfileRequest as DeleteDeliveryProfileRequestOriginal,\n DeleteDeliveryProfileResponse as DeleteDeliveryProfileResponseOriginal,\n DeleteDefaultDeliveryProfileRequest as DeleteDefaultDeliveryProfileRequestOriginal,\n DeleteDefaultDeliveryProfileResponse as DeleteDefaultDeliveryProfileResponseOriginal,\n QueryDeliveryProfilesRequest as QueryDeliveryProfilesRequestOriginal,\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 QueryDeliveryProfilesResponse as QueryDeliveryProfilesResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n AddDeliveryRegionRequest as AddDeliveryRegionRequestOriginal,\n AddDeliveryRegionResponse as AddDeliveryRegionResponseOriginal,\n UpdateDeliveryRegionRequest as UpdateDeliveryRegionRequestOriginal,\n UpdateDeliveryRegionResponse as UpdateDeliveryRegionResponseOriginal,\n GetDeliveryProfileByDeliveryRegionIdRequest as GetDeliveryProfileByDeliveryRegionIdRequestOriginal,\n GetDeliveryProfileByDeliveryRegionIdResponse as GetDeliveryProfileByDeliveryRegionIdResponseOriginal,\n RemoveDeliveryRegionRequest as RemoveDeliveryRegionRequestOriginal,\n RemoveDeliveryRegionResponse as RemoveDeliveryRegionResponseOriginal,\n AddDeliveryCarrierRequest as AddDeliveryCarrierRequestOriginal,\n AddDeliveryCarrierResponse as AddDeliveryCarrierResponseOriginal,\n RemoveDeliveryCarrierRequest as RemoveDeliveryCarrierRequestOriginal,\n RemoveDeliveryCarrierResponse as RemoveDeliveryCarrierResponseOriginal,\n UpdateDeliveryCarrierRequest as UpdateDeliveryCarrierRequestOriginal,\n UpdateDeliveryCarrierResponse as UpdateDeliveryCarrierResponseOriginal,\n ListInstalledDeliveryCarriersRequest as ListInstalledDeliveryCarriersRequestOriginal,\n ListInstalledDeliveryCarriersResponse as ListInstalledDeliveryCarriersResponseOriginal,\n InstalledDeliveryCarrier as InstalledDeliveryCarrierOriginal,\n ListDeliveryDestinationsRequest as ListDeliveryDestinationsRequestOriginal,\n ListDeliveryDestinationsResponse as ListDeliveryDestinationsResponseOriginal,\n DestinationScope as DestinationScopeOriginal,\n DestinationScopeWithLiterals as DestinationScopeWithLiteralsOriginal,\n RequiredZipcodeRequest as RequiredZipcodeRequestOriginal,\n RequiredZipcodeResponse as RequiredZipcodeResponseOriginal,\n GetDeliveryDestinationPropertiesRequest as GetDeliveryDestinationPropertiesRequestOriginal,\n GetDeliveryDestinationPropertiesResponse as GetDeliveryDestinationPropertiesResponseOriginal,\n DeliveryDestinationProperties as DeliveryDestinationPropertiesOriginal,\n CountryDeliveryProperties as CountryDeliveryPropertiesOriginal,\n SubdivisionDeliveryProperties as SubdivisionDeliveryPropertiesOriginal,\n ListDeliveryCarriersRequest as ListDeliveryCarriersRequestOriginal,\n ListDeliveryCarriersResponse as ListDeliveryCarriersResponseOriginal,\n ListDeliveryCarriersResult as ListDeliveryCarriersResultOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n DeliveryCarrierDetails as DeliveryCarrierDetailsOriginal,\n DeliveryCarrierRegionalSettings as DeliveryCarrierRegionalSettingsOriginal,\n DashboardTable as DashboardTableOriginal,\n Column as ColumnOriginal,\n Row as RowOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n UpdateCarrierSettingsRequest as UpdateCarrierSettingsRequestOriginal,\n UpdateCarrierSettingsResponse as UpdateCarrierSettingsResponseOriginal,\n SetDeliveryCarrierActiveStatusRequest as SetDeliveryCarrierActiveStatusRequestOriginal,\n SetDeliveryCarrierActiveStatusResponse as SetDeliveryCarrierActiveStatusResponseOriginal,\n UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal,\n UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal,\n MetaSiteSpecialEvent as MetaSiteSpecialEventOriginal,\n MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOfOriginal,\n Asset as AssetOriginal,\n State as StateOriginal,\n StateWithLiterals as StateWithLiteralsOriginal,\n SiteCreated as SiteCreatedOriginal,\n SiteCreatedContext as SiteCreatedContextOriginal,\n SiteCreatedContextWithLiterals as SiteCreatedContextWithLiteralsOriginal,\n Namespace as NamespaceOriginal,\n NamespaceWithLiterals as NamespaceWithLiteralsOriginal,\n SiteTransferred as SiteTransferredOriginal,\n SiteDeleted as SiteDeletedOriginal,\n DeleteContext as DeleteContextOriginal,\n DeleteStatus as DeleteStatusOriginal,\n DeleteStatusWithLiterals as DeleteStatusWithLiteralsOriginal,\n SiteUndeleted as SiteUndeletedOriginal,\n SitePublished as SitePublishedOriginal,\n SiteUnpublished as SiteUnpublishedOriginal,\n SiteMarkedAsTemplate as SiteMarkedAsTemplateOriginal,\n SiteMarkedAsWixSite as SiteMarkedAsWixSiteOriginal,\n ServiceProvisioned as ServiceProvisionedOriginal,\n ServiceRemoved as ServiceRemovedOriginal,\n SiteRenamed as SiteRenamedOriginal,\n SiteHardDeleted as SiteHardDeletedOriginal,\n NamespaceChanged as NamespaceChangedOriginal,\n StudioAssigned as StudioAssignedOriginal,\n StudioUnassigned as StudioUnassignedOriginal,\n SiteUrlChanged as SiteUrlChangedOriginal,\n SitePurgedExternally as SitePurgedExternallyOriginal,\n OdeditorAssigned as OdeditorAssignedOriginal,\n OdeditorUnassigned as OdeditorUnassignedOriginal,\n PicassoAssigned as PicassoAssignedOriginal,\n PicassoUnassigned as PicassoUnassignedOriginal,\n WixelAssigned as WixelAssignedOriginal,\n WixelUnassigned as WixelUnassignedOriginal,\n StudioTwoAssigned as StudioTwoAssignedOriginal,\n StudioTwoUnassigned as StudioTwoUnassignedOriginal,\n UserDomainMediaEnabled as UserDomainMediaEnabledOriginal,\n UserDomainMediaDisabled as UserDomainMediaDisabledOriginal,\n Empty as EmptyOriginal,\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 MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountInfo as AccountInfoOriginal,\n CreateDeliveryProfileApplicationErrors as CreateDeliveryProfileApplicationErrorsOriginal,\n UpdateDeliveryProfileApplicationErrors as UpdateDeliveryProfileApplicationErrorsOriginal,\n AddDeliveryRegionApplicationErrors as AddDeliveryRegionApplicationErrorsOriginal,\n AddDeliveryRegionValidationErrors as AddDeliveryRegionValidationErrorsOriginal,\n UpdateDeliveryRegionApplicationErrors as UpdateDeliveryRegionApplicationErrorsOriginal,\n UpdateDeliveryRegionValidationErrors as UpdateDeliveryRegionValidationErrorsOriginal,\n GetDeliveryProfileByDeliveryRegionIdApplicationErrors as GetDeliveryProfileByDeliveryRegionIdApplicationErrorsOriginal,\n RemoveDeliveryRegionApplicationErrors as RemoveDeliveryRegionApplicationErrorsOriginal,\n AddDeliveryCarrierApplicationErrors as AddDeliveryCarrierApplicationErrorsOriginal,\n AddDeliveryCarrierValidationErrors as AddDeliveryCarrierValidationErrorsOriginal,\n RemoveDeliveryCarrierApplicationErrors as RemoveDeliveryCarrierApplicationErrorsOriginal,\n UpdateDeliveryCarrierApplicationErrors as UpdateDeliveryCarrierApplicationErrorsOriginal,\n ListDeliveryCarriersApplicationErrors as ListDeliveryCarriersApplicationErrorsOriginal,\n UpdateCarrierSettingsApplicationErrors as UpdateCarrierSettingsApplicationErrorsOriginal,\n SetDeliveryCarrierActiveStatusApplicationErrors as SetDeliveryCarrierActiveStatusApplicationErrorsOriginal,\n} from './ecom-v1-delivery-profile-delivery-profile.types.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAAAA;AAAA,EAAA,yBAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,wCAAAC;AAAA,EAAA,0BAAAC;AAAA,EAAA,4CAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,qCAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,sCAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,4BAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,mDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;A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","deleteDeliveryProfile","getDeliveryDestinationProperties","getDeliveryProfile","getDeliveryProfileByDeliveryRegionId","listDeliveryCarriers","listInstalledDeliveryCarriers","queryDeliveryProfiles","removeDeliveryCarrier","removeDeliveryRegion","setDeliveryCarrierActiveStatus","updateCarrierSettings","updateDeliveryCarrier","updateDeliveryProfile","updateDeliveryRegion","updateExtendedFields","import_timestamp","import_rest_modules","payload","SortOrder","DestinationScope","State","SiteCreatedContext","Namespace","DeleteStatus","WebhookIdentityType","createDeliveryProfile","getDeliveryProfile","updateDeliveryProfile","deleteDeliveryProfile","queryDeliveryProfiles","addDeliveryRegion","updateDeliveryRegion","getDeliveryProfileByDeliveryRegionId","removeDeliveryRegion","addDeliveryCarrier","removeDeliveryCarrier","updateDeliveryCarrier","listInstalledDeliveryCarriers","getDeliveryDestinationProperties","listDeliveryCarriers","updateCarrierSettings","setDeliveryCarrierActiveStatus","updateExtendedFields"]}
1
+ {"version":3,"sources":["../../meta.ts","../../src/ecom-v1-delivery-profile-delivery-profile.http.ts","../../src/ecom-v1-delivery-profile-delivery-profile.types.ts","../../src/ecom-v1-delivery-profile-delivery-profile.meta.ts"],"sourcesContent":["export * from './src/ecom-v1-delivery-profile-delivery-profile.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\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 resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/ecom/v1/delivery-profiles',\n destPath: '/v1/delivery-profiles',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/delivery-profiles-service',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/ecom/v1/delivery-profiles',\n destPath: '/v1/delivery-profiles',\n },\n {\n srcPath: '/ecom/v1/delivery-profiles/update-carrier-settings',\n destPath: '/v1/delivery-carriers/update-settings',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/ecom/v1/delivery-profiles',\n destPath: '/v1/delivery-profiles',\n },\n {\n srcPath: '/ecom/v1/delivery-profiles/update-carrier-settings',\n destPath: '/v1/delivery-carriers/update-settings',\n },\n ],\n _: [\n {\n srcPath: '/ecom/v1/delivery-profiles',\n destPath: '/v1/delivery-profiles',\n },\n {\n srcPath: '/ecom/v1/delivery-profiles/update-carrier-settings',\n destPath: '/v1/delivery-carriers/update-settings',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_ecom_delivery-profile';\n\n/**\n * Creates a delivery profile.\n *\n *\n * A site can have up to 99 delivery profiles.\n * Attempting to exceed this limit returns a `DELIVERY_PROFILES_LIMIT_EXCEEDED` error.\n */\nexport function createDeliveryProfile(\n payload: object\n): RequestOptionsFactory<any> {\n function __createDeliveryProfile({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'POST' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.CreateDeliveryProfile',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createDeliveryProfile;\n}\n\n/** Retrieves a delivery profile. */\nexport function getDeliveryProfile(\n payload: object\n): RequestOptionsFactory<any> {\n function __getDeliveryProfile({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'GET' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.GetDeliveryProfile',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/{deliveryProfileId}',\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: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getDeliveryProfile;\n}\n\n/**\n * Updates a delivery profile.\n *\n * Each time the delivery profile is updated, `revision` increments by 1. The current `revision` must be passed when updating the delivery profile. This ensures you're working with the latest delivery profile and prevents unintended overwrites.\n *\n * This method doesn't support updating delivery regions in the profile. To manage delivery regions, use [Add Delivery Region](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/add-delivery-region), [Update Delivery Region](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/update-delivery-region), or [Remove Delivery Region](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/remove-delivery-region).\n */\nexport function updateDeliveryProfile(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateDeliveryProfile({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateDeliveryProfile',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/{deliveryProfile.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: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateDeliveryProfile;\n}\n\n/**\n * Deletes a delivery profile.\n *\n *\n * Permanently deletes the delivery profile and its delivery regions and carrier configurations. Delivery regions are unique to each profile and aren't shared across profiles. This action can't be undone.\n *\n * The default delivery profile can't be deleted because every site requires one for core delivery functionality.\n */\nexport function deleteDeliveryProfile(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteDeliveryProfile({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.DeleteDeliveryProfile',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/{deliveryProfileId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteDeliveryProfile;\n}\n\n/**\n * Retrieves a list of up to 100 delivery profiles, given the provided paging, filtering, and sorting.\n *\n * Query Delivery Profiles runs with these defaults, which you can override:\n *\n * - `createdDate` is sorted in `DESC` order.\n * - `paging.limit` is `50`.\n * - `paging.offset` is `0`.\n *\n * To learn how to query delivery profiles, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language).\n */\nexport function queryDeliveryProfiles(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryDeliveryProfiles({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'GET' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.QueryDeliveryProfiles',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/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: 'deliveryProfiles.createdDate' },\n { path: 'deliveryProfiles.updatedDate' },\n { path: 'deliveryProfiles.deliveryRegions.createdDate' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/query',\n data: payload,\n host,\n }),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryDeliveryProfiles;\n}\n\n/** Adds a delivery region to an existing delivery profile. */\nexport function addDeliveryRegion(payload: object): RequestOptionsFactory<any> {\n function __addDeliveryRegion({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'deliveryRegion.createdDate' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'POST' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.AddDeliveryRegion',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/{deliveryProfileId}/delivery-region',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __addDeliveryRegion;\n}\n\n/**\n * Updates a delivery region.\n *\n *\n * This method doesn't support updating delivery carriers in the region. To manage carriers, use [Add Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/add-delivery-carrier), [Update Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/update-delivery-carrier), or [Remove Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/remove-delivery-carrier).\n */\nexport function updateDeliveryRegion(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateDeliveryRegion({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'deliveryRegion.createdDate' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateDeliveryRegion',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath:\n '/v1/delivery-profiles/{deliveryProfileId}/delivery-region/{deliveryRegion.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: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateDeliveryRegion;\n}\n\n/** Retrieves a delivery profile by delivery region ID. */\nexport function getDeliveryProfileByDeliveryRegionId(\n payload: object\n): RequestOptionsFactory<any> {\n function __getDeliveryProfileByDeliveryRegionId({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'GET' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.GetDeliveryProfileByDeliveryRegionId',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/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: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getDeliveryProfileByDeliveryRegionId;\n}\n\n/**\n * Removes a delivery region from a delivery profile.\n *\n *\n * You can remove all delivery regions from a profile, leaving the profile empty. An empty profile won't provide shipping options until a new delivery region is added.\n */\nexport function removeDeliveryRegion(\n payload: object\n): RequestOptionsFactory<any> {\n function __removeDeliveryRegion({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.RemoveDeliveryRegion',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath:\n '/v1/delivery-profiles/{deliveryProfileId}/delivery-region/{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: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __removeDeliveryRegion;\n}\n\n/** Adds a delivery carrier to a delivery region. */\nexport function addDeliveryCarrier(\n payload: object\n): RequestOptionsFactory<any> {\n function __addDeliveryCarrier({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'POST' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.AddDeliveryCarrier',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/add-delivery-carrier',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __addDeliveryCarrier;\n}\n\n/** Removes a delivery carrier from a delivery region. */\nexport function removeDeliveryCarrier(\n payload: object\n): RequestOptionsFactory<any> {\n function __removeDeliveryCarrier({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'POST' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.RemoveDeliveryCarrier',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/remove-delivery-carrier',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __removeDeliveryCarrier;\n}\n\n/**\n * Updates a delivery carrier's settings in a delivery region.\n *\n *\n * This method updates an existing carrier's settings (such as backup rate and additional charges) using a partial update. Only the fields you provide are updated; other carrier settings remain unchanged.\n *\n * To add a new carrier to a region, use [Add Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/add-delivery-carrier).\n */\nexport function updateDeliveryCarrier(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateDeliveryCarrier({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateDeliveryCarrier',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/update-delivery-carrier',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateDeliveryCarrier;\n}\n\n/**\n * Retrieves a list of all delivery carriers installed on a site.\n *\n *\n * Use this method to discover available carriers before adding them to delivery regions.\n */\nexport function listInstalledDeliveryCarriers(\n payload: object\n): RequestOptionsFactory<any> {\n function __listInstalledDeliveryCarriers({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'GET' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.ListInstalledDeliveryCarriers',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/installed-carriers',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __listInstalledDeliveryCarriers;\n}\n\n/**\n * Retrieves delivery destination properties.\n *\n *\n * Returns properties for Rest of World, as well as aggregated country and subdivision data. Properties include whether postal codes are required and whether pickup is the only delivery option for each destination.\n */\nexport function getDeliveryDestinationProperties(\n payload: object\n): RequestOptionsFactory<any> {\n function __getDeliveryDestinationProperties({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'GET' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.GetDeliveryDestinationProperties',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/delivery-destination-properties',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getDeliveryDestinationProperties;\n}\n\n/**\n * Retrieves delivery carrier settings for a delivery profile.\n *\n *\n * Returns detailed carrier configurations, including regional settings for each carrier. This method provides more comprehensive information than [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).\n */\nexport function listDeliveryCarriers(\n payload: object\n): RequestOptionsFactory<any> {\n function __listDeliveryCarriers({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'POST' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.ListDeliveryCarriers',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath:\n '/v1/delivery-profiles/{deliveryProfileId}/delivery-carriers',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __listDeliveryCarriers;\n}\n\n/** Updates a carrier's external active settings. */\nexport function updateCarrierSettings(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateCarrierSettings({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'POST' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateCarrierSettings',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-carriers/update-settings',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __updateCarrierSettings;\n}\n\n/** Sets a delivery carrier's active status. */\nexport function setDeliveryCarrierActiveStatus(\n payload: object\n): RequestOptionsFactory<any> {\n function __setDeliveryCarrierActiveStatus({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.delivery_profile',\n method: 'POST' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.SetDeliveryCarrierActiveStatus',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/delivery-carriers/set-active-status',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __setDeliveryCarrierActiveStatus;\n}\n\n/** Updates extended fields of a delivery profile 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.delivery_profile',\n method: 'POST' as any,\n methodFqn:\n 'wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateExtendedFields',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/{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: 'deliveryProfile.createdDate' },\n { path: 'deliveryProfile.updatedDate' },\n { path: 'deliveryProfile.deliveryRegions.createdDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateExtendedFields;\n}\n","/**\n * A delivery profile is a collection of delivery regions that define shipping options for products.\n * Each profile contains delivery regions, which specify where products can be shipped and which carriers can deliver to those destinations.\n */\nexport interface DeliveryProfile {\n /**\n * Delivery profile ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Delivery profile name.\n * @minLength 1\n * @maxLength 256\n */\n name?: string | null;\n /**\n * Whether this is the default delivery profile.\n *\n * > **Notes:**\n * >\n * > - The first delivery profile is automatically created and marked as default when the Wix Stores, Wix Bookings, Wix Events, or Wix Restaurants business solutions are installed on a site.\n * > - Default status can't be changed or transferred to another profile.\n * > - The default profile can't be deleted because every site requires one for core delivery functionality.\n * @readonly\n */\n default?: boolean | null;\n /**\n * Delivery regions in this profile.\n * @maxSize 100\n */\n deliveryRegions?: DeliveryRegion[];\n /**\n * Information about who created the delivery profile.\n *\n * Currently only for use with Wix Restaurants.\n */\n createdBy?: CreatedBy;\n /**\n * Revision number, which increments by 1 each time the delivery profile is updated. To prevent conflicting changes, the current revision must be passed when updating the delivery profile. Ignored when creating a delivery profile.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the delivery profile was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the delivery profile was last updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /** Custom field data for the delivery profile object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls. */\n extendedFields?: ExtendedFields;\n}\n\n/**\n * A delivery region defines a geographic area and its associated delivery carriers.\n * Each region specifies destinations (countries and subdivisions) where products can be shipped and the carriers available for those deliveries.\n *\n * During the eCommerce onboarding flow, an \"International\" region with empty destinations is automatically created. This serves as a \"Rest of World\" configuration that applies to destinations not explicitly defined in other regions.\n */\nexport interface DeliveryRegion {\n /**\n * Delivery region ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Delivery region name. For example, `\"Domestic\"` or `\"International\"`.\n * @minLength 1\n * @maxLength 256\n */\n name?: string | null;\n /**\n * Whether this delivery region is active and available during checkout.\n *\n * Default: `true`\n */\n active?: boolean | null;\n /**\n * Delivery carriers assigned to this region. Carriers are managed using the [Add Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/add-delivery-carrier), [Update Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/update-delivery-carrier), and [Remove Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/remove-delivery-carrier) methods.\n * @maxSize 25\n * @readonly\n */\n deliveryCarriers?: DeliveryCarrier[];\n /**\n * Geographic destinations covered by this region. If empty, the region applies globally (Rest of World). A site can have up to 250 destinations across all delivery profiles.\n * @maxSize 250\n */\n destinations?: Destination[];\n /**\n * Date and time the delivery region was created.\n * @readonly\n */\n createdDate?: Date | null;\n}\n\nexport interface DeliveryCarrier {\n /**\n * Carrier app ID.\n *\n * Get app IDs from the [app dashboard](https://dev.wix.com/dc3/my-apps/), or by calling [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).\n * @format GUID\n */\n appId?: string;\n /**\n * Backup rate to use when the carrier doesn't return a rate for a specific shipping option.\n *\n * When `active` is `false` and the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.\n */\n backupRate?: BackupRate;\n /**\n * Additional charges to add to the delivery rate. These charges are combined with the carrier's rate into a single shipping cost and itemized in order details.\n * @maxSize 10\n */\n additionalCharges?: AdditionalCharge[];\n}\n\nexport interface BackupRate {\n /**\n * Title displayed for the backup rate. For example, `\"Standard Shipping\"`.\n * @minLength 1\n * @maxLength 256\n */\n title?: string | null;\n /**\n * Backup rate amount.\n * @decimalValue options { gte:0, maxScale:6 }\n */\n amount?: string | null;\n /**\n * Whether the backup rate is active.\n *\n * The backup rate is used in the following situations:\n * + When `active` is `true`.\n * + When the carrier does not return a cost for any reason.\n *\n * If active, and no cost is returned by the carrier, the backup rate will be displayed to customers as the shipping option.\n *\n * Default: `false`\n */\n active?: boolean;\n}\n\nexport interface AdditionalCharge {\n /**\n * Description of the additional charge. For example, `\"Handling fee of $5 applied for gift wrapping\"`.\n * @maxLength 250\n */\n description?: string | null;\n /**\n * Additional fixed charge amount to add to the delivery rate. For example, `\"12.50\"`.\n * @maxLength 16\n */\n amount?: string;\n}\n\n/** Geographic destination for a delivery region. */\nexport interface Destination {\n /**\n * 2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.\n * @format COUNTRY\n */\n countryCode?: string;\n /**\n * Subdivision codes in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) format. For example, `\"US-CA\"` for California. If empty, the delivery region applies to the entire country.\n * @maxSize 100\n * @minLength 1\n * @maxLength 256\n */\n subdivisions?: string[];\n}\n\nexport interface CreatedBy extends CreatedByIdOneOf {\n /**\n * App ID, when the delivery profile was created by an external application or Wix service.\n * @format GUID\n */\n appId?: string | null;\n /**\n * Wix user ID, when the delivery profile was created by a Wix user using the dashboard or an API call.\n * @format GUID\n */\n userId?: string | null;\n}\n\n/** @oneof */\nexport interface CreatedByIdOneOf {\n /**\n * App ID, when the delivery profile was created by an external application or Wix service.\n * @format GUID\n */\n appId?: string | null;\n /**\n * Wix user ID, when the delivery profile was created by a Wix user using the dashboard or an API call.\n * @format GUID\n */\n userId?: string | 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\n/** Event payload for when a delivery region is added to a delivery profile. */\nexport interface DeliveryRegionAdded {\n /**\n * ID of the delivery profile containing the region.\n * @format GUID\n */\n deliveryProfileId?: string;\n /**\n * ID of the added delivery region.\n * @format GUID\n * @readonly\n */\n deliveryRegionId?: string | null;\n /**\n * Delivery region name. For example, `\"Domestic\"`.\n * @minLength 1\n * @maxLength 256\n */\n name?: string | null;\n /** Whether the delivery region is active. */\n active?: boolean | null;\n /**\n * Delivery carriers assigned to this region.\n * @maxSize 25\n * @readonly\n */\n deliveryCarriers?: DeliveryCarrier[];\n /**\n * Geographic destinations covered by this region.\n * @maxSize 200\n */\n destinations?: Destination[];\n /**\n * Date and time the delivery region was created.\n * @readonly\n */\n createdDate?: Date | null;\n}\n\n/** Event payload for when a delivery region is removed from a delivery profile. */\nexport interface DeliveryRegionRemoved {\n /**\n * ID of the delivery profile that contained the region.\n * @format GUID\n */\n deliveryProfileId?: string;\n /**\n * ID of the removed delivery region.\n * @format GUID\n */\n deliveryRegionId?: string;\n}\n\n/** Event payload for when a delivery region is updated. */\nexport interface DeliveryRegionUpdated {\n /**\n * ID of the delivery profile containing the region.\n * @format GUID\n */\n deliveryProfileId?: string;\n /**\n * ID of the updated delivery region.\n * @format GUID\n * @readonly\n */\n deliveryRegionId?: string | null;\n /**\n * Delivery region name. For example, `\"Domestic\"`.\n * @minLength 1\n * @maxLength 256\n */\n name?: string | null;\n /** Whether the delivery region is active. */\n active?: boolean | null;\n /**\n * Delivery carriers assigned to this region.\n * @maxSize 25\n * @readonly\n */\n deliveryCarriers?: DeliveryCarrier[];\n /**\n * Geographic destinations covered by this region. If empty, the region applies globally.\n * @maxSize 200\n */\n destinations?: Destination[];\n /**\n * Date and time the delivery region was created.\n * @readonly\n */\n createdDate?: Date | null;\n}\n\nexport interface CreateDeliveryProfileRequest {\n /** Delivery profile to create. */\n deliveryProfile: DeliveryProfile;\n}\n\nexport interface CreateDeliveryProfileResponse {\n /** Created delivery profile. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface GetDeliveryProfileRequest {\n /**\n * Delivery profile ID.\n * @format GUID\n */\n deliveryProfileId: string;\n}\n\nexport interface GetDeliveryProfileResponse {\n /** Retrieved delivery profile. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface UpdateDeliveryProfileRequest {\n /** Delivery profile to update. */\n deliveryProfile: DeliveryProfile;\n}\n\nexport interface UpdateDeliveryProfileResponse {\n /** Updated delivery profile. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface DeleteDeliveryProfileRequest {\n /**\n * Delivery profile ID.\n * @format GUID\n */\n deliveryProfileId: string;\n}\n\nexport interface DeleteDeliveryProfileResponse {}\n\nexport interface DeleteDefaultDeliveryProfileRequest {\n /**\n * Delivery profile ID.\n * @format GUID\n */\n deliveryProfileId?: string;\n}\n\nexport interface DeleteDefaultDeliveryProfileResponse {}\n\nexport interface QueryDeliveryProfilesRequest {\n /** Query options. */\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 QueryDeliveryProfilesResponse {\n /**\n * List of delivery profiles.\n * @maxSize 100\n */\n deliveryProfiles?: DeliveryProfile[];\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 AddDeliveryRegionRequest {\n /**\n * Delivery profile ID.\n * @format GUID\n */\n deliveryProfileId: string;\n /** Delivery region to add. */\n deliveryRegion: DeliveryRegion;\n /**\n * Delivery profile revision.\n * @readonly\n */\n revision?: string | null;\n}\n\nexport interface AddDeliveryRegionResponse {\n /** Updated delivery profile with the new delivery region. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface UpdateDeliveryRegionRequest {\n /**\n * Delivery profile ID.\n * @format GUID\n */\n deliveryProfileId: string;\n /** Delivery region to update. */\n deliveryRegion: DeliveryRegion;\n /**\n * Delivery profile revision.\n * @readonly\n */\n revision?: string | null;\n}\n\nexport interface UpdateDeliveryRegionResponse {\n /** Updated delivery profile with the updated delivery region. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface GetDeliveryProfileByDeliveryRegionIdRequest {\n /**\n * Delivery region ID.\n * @format GUID\n */\n deliveryRegionId: string;\n}\n\nexport interface GetDeliveryProfileByDeliveryRegionIdResponse {\n /** Delivery profile containing the requested region. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface RemoveDeliveryRegionRequest {\n /**\n * Delivery profile ID.\n * @format GUID\n */\n deliveryProfileId: string;\n /**\n * Delivery region ID.\n * @format GUID\n */\n deliveryRegionId: string;\n /**\n * Delivery profile revision.\n * @readonly\n */\n revision?: string | null;\n}\n\nexport interface RemoveDeliveryRegionResponse {\n /** Updated delivery profile with the delivery region removed. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface AddDeliveryCarrierRequest {\n /**\n * Delivery region ID.\n * @format GUID\n */\n deliveryRegionId: string;\n /** Delivery carrier to add. */\n deliveryCarrier: DeliveryCarrier;\n}\n\nexport interface AddDeliveryCarrierResponse {\n /** Updated delivery profile. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface RemoveDeliveryCarrierRequest {\n /**\n * Delivery region ID.\n * @format GUID\n */\n deliveryRegionId: string;\n /**\n * App ID of the delivery carrier to remove.\n * @format GUID\n */\n appId: string;\n}\n\nexport interface RemoveDeliveryCarrierResponse {\n /** Updated delivery profile. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface UpdateDeliveryCarrierRequest {\n /**\n * Delivery region ID.\n * @format GUID\n */\n deliveryRegionId: string;\n /** Delivery carrier to update. */\n deliveryCarrier?: DeliveryCarrier;\n}\n\nexport interface UpdateDeliveryCarrierResponse {\n /** Updated delivery profile with the updated delivery carrier. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface ListInstalledDeliveryCarriersRequest {}\n\nexport interface ListInstalledDeliveryCarriersResponse {\n /**\n * List of installed delivery carriers on the site.\n * @maxSize 100\n */\n installedDeliveryCarriers?: InstalledDeliveryCarrier[];\n}\n\nexport interface InstalledDeliveryCarrier {\n /**\n * Carrier app ID.\n * @format GUID\n */\n id?: string;\n /**\n * Carrier display name.\n * @maxLength 256\n */\n displayName?: string;\n /**\n * Carrier description.\n * @maxLength 200\n */\n description?: string | null;\n /**\n * URL to learn more about the carrier.\n * @maxLength 200\n */\n learnMoreUrl?: string | null;\n /**\n * URL to the carrier's dashboard.\n * @minLength 1\n * @maxLength 2048\n * @format WEB_URL\n */\n dashboardUrl?: string | null;\n /** Whether a backup rate is required for this carrier. */\n fallbackDefinitionMandatory?: boolean | null;\n /**\n * URL for the carrier's thumbnail image.\n * @format WEB_URL\n */\n thumbnailUrl?: string | null;\n /** Whether the carrier supports retrieving carrier settings. */\n toggleGetCarrierSettingsEnabled?: boolean;\n}\n\nexport interface ListDeliveryDestinationsRequest {}\n\nexport interface ListDeliveryDestinationsResponse {\n /** Scope of destinations. When `WORLDWIDE` is selected, the `destinations` list is empty. */\n destinationScope?: DestinationScopeWithLiterals;\n /**\n * List of configured destinations.\n * @maxSize 200\n */\n destinations?: Destination[];\n}\n\nexport enum DestinationScope {\n /** Specific destinations are configured. */\n SPECIFIC_DESTINATIONS = 'SPECIFIC_DESTINATIONS',\n /** All destinations worldwide. */\n WORLDWIDE = 'WORLDWIDE',\n}\n\n/** @enumType */\nexport type DestinationScopeWithLiterals =\n | DestinationScope\n | 'SPECIFIC_DESTINATIONS'\n | 'WORLDWIDE';\n\nexport interface RequiredZipcodeRequest {}\n\nexport interface RequiredZipcodeResponse {\n /** Whether the site requires a postal code for delivery. */\n requiredZipcode?: boolean;\n}\n\nexport interface GetDeliveryDestinationPropertiesRequest {}\n\nexport interface GetDeliveryDestinationPropertiesResponse {\n /** Delivery destination properties for Rest of World. */\n restOfWorld?: DeliveryDestinationProperties;\n /**\n * List of countries and their delivery destination properties.\n * @maxSize 195\n */\n countries?: CountryDeliveryProperties[];\n}\n\nexport interface DeliveryDestinationProperties {\n /** Whether a postal code is required for delivery to this destination. */\n postalCodeRequired?: boolean;\n /** Whether only pickup is available at this destination. */\n pickupOnly?: boolean;\n}\n\nexport interface CountryDeliveryProperties {\n /**\n * 2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.\n * @format COUNTRY\n */\n country?: string;\n /** Delivery destination properties for the country. */\n deliveryDestinationProperties?: DeliveryDestinationProperties;\n /**\n * List of subdivisions and their delivery destination properties.\n * @maxSize 100\n */\n subdivisions?: SubdivisionDeliveryProperties[];\n}\n\nexport interface SubdivisionDeliveryProperties {\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 * @minLength 1\n * @maxLength 5\n */\n subdivision?: string;\n /** Delivery destination properties for the subdivision. */\n deliveryDestinationProperties?: DeliveryDestinationProperties;\n}\n\nexport interface ListDeliveryCarriersRequest {\n /**\n * Delivery profile ID.\n * @format GUID\n */\n deliveryProfileId: string;\n /**\n * App IDs of the delivery carriers to retrieve settings for.\n * @format GUID\n * @minSize 1\n * @maxSize 25\n */\n appIds?: string[];\n}\n\nexport interface ListDeliveryCarriersResponse {\n /**\n * List of delivery carrier results.\n * @maxSize 100\n */\n results?: ListDeliveryCarriersResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ListDeliveryCarriersResult {\n /** Metadata for the result, including success or error information. */\n deliveryCarrierMetadata?: ItemMetadata;\n /** Delivery carrier details. */\n deliveryCarrierDetails?: DeliveryCarrierDetails;\n /**\n * Regional settings for the delivery carrier.\n * @minSize 1\n * @maxSize 5\n */\n deliveryCarrierRegionalSettings?: DeliveryCarrierRegionalSettings[];\n}\n\nexport interface ItemMetadata {\n /**\n * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\n * @format GUID\n */\n id?: string | null;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface DeliveryCarrierDetails {\n /**\n * Carrier app ID.\n * @format GUID\n */\n id?: string;\n /**\n * Carrier display name.\n * @maxLength 256\n */\n displayName?: string;\n /**\n * Carrier description.\n * @maxLength 200\n */\n description?: string | null;\n /**\n * URL to learn more about the carrier.\n * @maxLength 200\n */\n learnMoreUrl?: string | null;\n /**\n * URL to the carrier's dashboard.\n * @minLength 1\n * @maxLength 2048\n * @format WEB_URL\n */\n dashboardUrl?: string | null;\n /** Whether a backup rate is required for this carrier. */\n fallbackDefinitionMandatory?: boolean | null;\n /**\n * URL for the carrier's thumbnail image.\n * @format WEB_URL\n */\n thumbnailUrl?: string | null;\n /** Whether the carrier supports retrieving carrier settings. */\n toggleGetCarrierSettingsEnabled?: boolean;\n /** Whether the carrier supports updating carrier active status. */\n toggleUpdateCarrierActiveStatusEnabled?: boolean;\n}\n\nexport interface DeliveryCarrierRegionalSettings {\n /**\n * Delivery region ID.\n * @format GUID\n */\n deliveryRegionId?: string;\n /**\n * Dashboard tables with shipping configuration for this region. Multiple tables can exist if the carrier is an aggregator of multiple services.\n * @minSize 1\n * @maxSize 5\n */\n dashboardTables?: DashboardTable[];\n}\n\nexport interface DashboardTable {\n /**\n * Table title.\n * @maxLength 256\n */\n title?: string;\n /**\n * Table columns.\n * @maxSize 200\n */\n columns?: Column[];\n /**\n * Table rows containing the configuration data.\n * @maxSize 25\n */\n rows?: Row[];\n}\n\nexport interface Column {\n /**\n * Column key, used to retrieve data from rows.\n * @maxLength 256\n */\n key?: string;\n /**\n * Column display name.\n * @maxLength 256\n */\n name?: string;\n}\n\nexport interface Row {\n /**\n * Unique row identifier, used to identify the row for editing.\n * @maxLength 256\n */\n key?: string;\n /** Row data as a JSON object. Each key corresponds to a column key. */\n data?: Record<string, any> | null;\n /** Whether this row's configuration is active. */\n active?: boolean;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface UpdateCarrierSettingsRequest {\n /**\n * Carrier app ID.\n * @format GUID\n */\n carrierId: string;\n /**\n * Row ID in the carrier's dashboard settings table that identifies the specific shipping configuration to update. Retrieved from [List Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-delivery-carriers).\n * @format GUID\n */\n rowId: string;\n /** New active status. */\n active: boolean | null;\n}\n\nexport interface UpdateCarrierSettingsResponse {}\n\nexport interface SetDeliveryCarrierActiveStatusRequest {\n /**\n * Carrier app ID.\n * @format GUID\n */\n carrierAppId: string;\n /**\n * Row identifier in the carrier's dashboard settings table that identifies the specific shipping configuration to update.\n *\n * Pass the `row.key` field from the response of [List Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-delivery-carriers).\n * @format GUID\n */\n rowId: string;\n /** Whether the configuration defined in the row is active. */\n active: boolean | null;\n}\n\nexport interface SetDeliveryCarrierActiveStatusResponse {}\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 delivery profile. */\n deliveryProfile?: DeliveryProfile;\n}\n\nexport interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {\n /** Emitted on a meta site creation. */\n siteCreated?: SiteCreated;\n /** Emitted on a meta site transfer completion. */\n siteTransferred?: SiteTransferred;\n /** Emitted on a meta site deletion. */\n siteDeleted?: SiteDeleted;\n /** Emitted on a meta site restoration. */\n siteUndeleted?: SiteUndeleted;\n /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n sitePublished?: SitePublished;\n /** Emitted on a meta site unpublish. */\n siteUnpublished?: SiteUnpublished;\n /** Emitted when meta site is marked as template. */\n siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n /** Emitted when meta site is marked as a WixSite. */\n siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n /** Emitted when an application is provisioned (installed). */\n serviceProvisioned?: ServiceProvisioned;\n /** Emitted when an application is removed (uninstalled). */\n serviceRemoved?: ServiceRemoved;\n /** Emitted when meta site name (URL slug) is changed. */\n siteRenamedPayload?: SiteRenamed;\n /** Emitted when meta site was permanently deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Emitted on a namespace change. */\n namespaceChanged?: NamespaceChanged;\n /** Emitted when Studio is attached. */\n studioAssigned?: StudioAssigned;\n /** Emitted when Studio is detached. */\n studioUnassigned?: StudioUnassigned;\n /**\n * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n * the actual URL.\n *\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n */\n urlChanged?: SiteUrlChanged;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Emitted when Odeditor is attached. */\n odeditorAssigned?: OdeditorAssigned;\n /** Emitted when Odeditor is detached. */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Emitted when Picasso is attached. */\n picassoAssigned?: PicassoAssigned;\n /** Emitted when Picasso is detached. */\n picassoUnassigned?: PicassoUnassigned;\n /** Emitted when Wixel is attached. */\n wixelAssigned?: WixelAssigned;\n /** Emitted when Wixel is detached. */\n wixelUnassigned?: WixelUnassigned;\n /** Emitted when StudioTwo is attached. */\n studioTwoAssigned?: StudioTwoAssigned;\n /** Emitted when StudioTwo is detached. */\n studioTwoUnassigned?: StudioTwoUnassigned;\n /** Emitted when media from user domain is enabled. */\n userDomainMediaEnabled?: UserDomainMediaEnabled;\n /** Emitted when media from user domain is disabled. */\n userDomainMediaDisabled?: UserDomainMediaDisabled;\n /**\n * A meta site id.\n * @format GUID\n */\n metaSiteId?: string;\n /** A meta site version. Monotonically increasing. */\n version?: string;\n /** A timestamp of the event. */\n timestamp?: string;\n /**\n * TODO(meta-site): Change validation once validations are disabled for consumers\n * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659\n * @maxSize 4000\n */\n assets?: Asset[];\n}\n\n/** @oneof */\nexport interface MetaSiteSpecialEventPayloadOneOf {\n /** Emitted on a meta site creation. */\n siteCreated?: SiteCreated;\n /** Emitted on a meta site transfer completion. */\n siteTransferred?: SiteTransferred;\n /** Emitted on a meta site deletion. */\n siteDeleted?: SiteDeleted;\n /** Emitted on a meta site restoration. */\n siteUndeleted?: SiteUndeleted;\n /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n sitePublished?: SitePublished;\n /** Emitted on a meta site unpublish. */\n siteUnpublished?: SiteUnpublished;\n /** Emitted when meta site is marked as template. */\n siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n /** Emitted when meta site is marked as a WixSite. */\n siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n /** Emitted when an application is provisioned (installed). */\n serviceProvisioned?: ServiceProvisioned;\n /** Emitted when an application is removed (uninstalled). */\n serviceRemoved?: ServiceRemoved;\n /** Emitted when meta site name (URL slug) is changed. */\n siteRenamedPayload?: SiteRenamed;\n /** Emitted when meta site was permanently deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Emitted on a namespace change. */\n namespaceChanged?: NamespaceChanged;\n /** Emitted when Studio is attached. */\n studioAssigned?: StudioAssigned;\n /** Emitted when Studio is detached. */\n studioUnassigned?: StudioUnassigned;\n /**\n * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n * the actual URL.\n *\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n */\n urlChanged?: SiteUrlChanged;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Emitted when Odeditor is attached. */\n odeditorAssigned?: OdeditorAssigned;\n /** Emitted when Odeditor is detached. */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Emitted when Picasso is attached. */\n picassoAssigned?: PicassoAssigned;\n /** Emitted when Picasso is detached. */\n picassoUnassigned?: PicassoUnassigned;\n /** Emitted when Wixel is attached. */\n wixelAssigned?: WixelAssigned;\n /** Emitted when Wixel is detached. */\n wixelUnassigned?: WixelUnassigned;\n /** Emitted when StudioTwo is attached. */\n studioTwoAssigned?: StudioTwoAssigned;\n /** Emitted when StudioTwo is detached. */\n studioTwoUnassigned?: StudioTwoUnassigned;\n /** Emitted when media from user domain is enabled. */\n userDomainMediaEnabled?: UserDomainMediaEnabled;\n /** Emitted when media from user domain is disabled. */\n userDomainMediaDisabled?: UserDomainMediaDisabled;\n}\n\nexport interface Asset {\n /**\n * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * An instance id. For legacy reasons may be UUID or a string.\n * @maxLength 200\n */\n instanceId?: string;\n /** An application state. */\n state?: StateWithLiterals;\n}\n\nexport enum State {\n UNKNOWN = 'UNKNOWN',\n ENABLED = 'ENABLED',\n DISABLED = 'DISABLED',\n PENDING = 'PENDING',\n DEMO = 'DEMO',\n}\n\n/** @enumType */\nexport type StateWithLiterals =\n | State\n | 'UNKNOWN'\n | 'ENABLED'\n | 'DISABLED'\n | 'PENDING'\n | 'DEMO';\n\nexport interface SiteCreated {\n /**\n * A template identifier (empty if not created from a template).\n * @maxLength 36\n */\n originTemplateId?: string;\n /**\n * An account id of the owner.\n * @format GUID\n */\n ownerId?: string;\n /** A context in which meta site was created. */\n context?: SiteCreatedContextWithLiterals;\n /**\n * A meta site id from which this site was created.\n *\n * In case of a creation from a template it's a template id.\n * In case of a site duplication (\"Save As\" in dashboard or duplicate in UM) it's an id of a source site.\n * @format GUID\n */\n originMetaSiteId?: string | null;\n /**\n * A meta site name (URL slug).\n * @maxLength 20\n */\n siteName?: string;\n /** A namespace. */\n namespace?: NamespaceWithLiterals;\n}\n\nexport enum SiteCreatedContext {\n /** A valid option, we don't expose all reasons why site might be created. */\n OTHER = 'OTHER',\n /** A meta site was created from template. */\n FROM_TEMPLATE = 'FROM_TEMPLATE',\n /** A meta site was created by copying of the transfferred meta site. */\n DUPLICATE_BY_SITE_TRANSFER = 'DUPLICATE_BY_SITE_TRANSFER',\n /** A copy of existing meta site. */\n DUPLICATE = 'DUPLICATE',\n /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */\n OLD_SITE_TRANSFER = 'OLD_SITE_TRANSFER',\n /** deprecated A meta site was created for Flash editor. */\n FLASH = 'FLASH',\n}\n\n/** @enumType */\nexport type SiteCreatedContextWithLiterals =\n | SiteCreatedContext\n | 'OTHER'\n | 'FROM_TEMPLATE'\n | 'DUPLICATE_BY_SITE_TRANSFER'\n | 'DUPLICATE'\n | 'OLD_SITE_TRANSFER'\n | 'FLASH';\n\nexport enum Namespace {\n UNKNOWN_NAMESPACE = 'UNKNOWN_NAMESPACE',\n /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */\n WIX = 'WIX',\n /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n SHOUT_OUT = 'SHOUT_OUT',\n /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n ALBUMS = 'ALBUMS',\n /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n WIX_STORES_TEST_DRIVE = 'WIX_STORES_TEST_DRIVE',\n /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n HOTELS = 'HOTELS',\n /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n CLUBS = 'CLUBS',\n /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n ONBOARDING_DRAFT = 'ONBOARDING_DRAFT',\n /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n DEV_SITE = 'DEV_SITE',\n /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n LOGOS = 'LOGOS',\n /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n VIDEO_MAKER = 'VIDEO_MAKER',\n /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n PARTNER_DASHBOARD = 'PARTNER_DASHBOARD',\n /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n DEV_CENTER_COMPANY = 'DEV_CENTER_COMPANY',\n /**\n * A draft created by HTML editor on open. Upon \"first save\" it will be moved to be of WIX domain.\n *\n * Meta site with this namespace will *not* be shown in a user's site list by default.\n */\n HTML_DRAFT = 'HTML_DRAFT',\n /**\n * the user-journey for Fitness users who want to start from managing their business instead of designing their website.\n * Will be accessible from Site List and will not have a website app.\n * Once the user attaches a site, the site will become a regular wixsite.\n */\n SITELESS_BUSINESS = 'SITELESS_BUSINESS',\n /** Belongs to \"strategic products\" company. Supports new product in the creator's economy space. */\n CREATOR_ECONOMY = 'CREATOR_ECONOMY',\n /** It is to be used in the Business First efforts. */\n DASHBOARD_FIRST = 'DASHBOARD_FIRST',\n /** Bookings business flow with no site. */\n ANYWHERE = 'ANYWHERE',\n /** Namespace for Headless Backoffice with no editor */\n HEADLESS = 'HEADLESS',\n /**\n * Namespace for master site that will exist in parent account that will be referenced by subaccounts\n * The site will be used for account level CSM feature for enterprise\n */\n ACCOUNT_MASTER_CMS = 'ACCOUNT_MASTER_CMS',\n /** Rise.ai Siteless account management for Gift Cards and Store Credit. */\n RISE = 'RISE',\n /**\n * As part of the branded app new funnel, users now can create a meta site that will be branded app first.\n * There's a blank site behind the scene but it's blank).\n * The Mobile company will be the owner of this namespace.\n */\n BRANDED_FIRST = 'BRANDED_FIRST',\n /** Nownia.com Siteless account management for Ai Scheduling Assistant. */\n NOWNIA = 'NOWNIA',\n /**\n * UGC Templates are templates that are created by users for personal use and to sale to other users.\n * The Partners company owns this namespace.\n */\n UGC_TEMPLATE = 'UGC_TEMPLATE',\n /** Codux Headless Sites */\n CODUX = 'CODUX',\n /** Bobb - AI Design Creator. */\n MEDIA_DESIGN_CREATOR = 'MEDIA_DESIGN_CREATOR',\n /**\n * Shared Blog Site is a unique single site across Enterprise account,\n * This site will hold all Blog posts related to the Marketing product.\n */\n SHARED_BLOG_ENTERPRISE = 'SHARED_BLOG_ENTERPRISE',\n /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n STANDALONE_FORMS = 'STANDALONE_FORMS',\n /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n STANDALONE_EVENTS = 'STANDALONE_EVENTS',\n /** MIMIR - Siteless account for MIMIR Ai Job runner. */\n MIMIR = 'MIMIR',\n /** Wix Twins platform. */\n TWINS = 'TWINS',\n /** Wix Nano. */\n NANO = 'NANO',\n /** Base44 headless sites. */\n BASE44 = 'BASE44',\n}\n\n/** @enumType */\nexport type NamespaceWithLiterals =\n | Namespace\n | 'UNKNOWN_NAMESPACE'\n | 'WIX'\n | 'SHOUT_OUT'\n | 'ALBUMS'\n | 'WIX_STORES_TEST_DRIVE'\n | 'HOTELS'\n | 'CLUBS'\n | 'ONBOARDING_DRAFT'\n | 'DEV_SITE'\n | 'LOGOS'\n | 'VIDEO_MAKER'\n | 'PARTNER_DASHBOARD'\n | 'DEV_CENTER_COMPANY'\n | 'HTML_DRAFT'\n | 'SITELESS_BUSINESS'\n | 'CREATOR_ECONOMY'\n | 'DASHBOARD_FIRST'\n | 'ANYWHERE'\n | 'HEADLESS'\n | 'ACCOUNT_MASTER_CMS'\n | 'RISE'\n | 'BRANDED_FIRST'\n | 'NOWNIA'\n | 'UGC_TEMPLATE'\n | 'CODUX'\n | 'MEDIA_DESIGN_CREATOR'\n | 'SHARED_BLOG_ENTERPRISE'\n | 'STANDALONE_FORMS'\n | 'STANDALONE_EVENTS'\n | 'MIMIR'\n | 'TWINS'\n | 'NANO'\n | 'BASE44';\n\n/** Site transferred to another user. */\nexport interface SiteTransferred {\n /**\n * A previous owner id (user that transfers meta site).\n * @format GUID\n */\n oldOwnerId?: string;\n /**\n * A new owner id (user that accepts meta site).\n * @format GUID\n */\n newOwnerId?: string;\n}\n\n/** Soft deletion of the meta site. Could be restored. */\nexport interface SiteDeleted {\n /** A deletion context. */\n deleteContext?: DeleteContext;\n}\n\nexport interface DeleteContext {\n /** When the meta site was deleted. */\n dateDeleted?: Date | null;\n /** A status. */\n deleteStatus?: DeleteStatusWithLiterals;\n /**\n * A reason (flow).\n * @maxLength 255\n */\n deleteOrigin?: string;\n /**\n * A service that deleted it.\n * @maxLength 255\n */\n initiatorId?: string | null;\n}\n\nexport enum DeleteStatus {\n UNKNOWN = 'UNKNOWN',\n TRASH = 'TRASH',\n DELETED = 'DELETED',\n PENDING_PURGE = 'PENDING_PURGE',\n PURGED_EXTERNALLY = 'PURGED_EXTERNALLY',\n}\n\n/** @enumType */\nexport type DeleteStatusWithLiterals =\n | DeleteStatus\n | 'UNKNOWN'\n | 'TRASH'\n | 'DELETED'\n | 'PENDING_PURGE'\n | 'PURGED_EXTERNALLY';\n\n/** Restoration of the meta site. */\nexport interface SiteUndeleted {}\n\n/** First publish of a meta site. Or subsequent publish after unpublish. */\nexport interface SitePublished {}\n\nexport interface SiteUnpublished {\n /**\n * A list of URLs previously associated with the meta site.\n * @maxLength 4000\n * @maxSize 10000\n */\n urls?: string[];\n}\n\nexport interface SiteMarkedAsTemplate {}\n\nexport interface SiteMarkedAsWixSite {}\n\n/**\n * Represents a service provisioned a site.\n *\n * Note on `origin_instance_id`:\n * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.\n * This is because of the following scenario:\n *\n * Imagine you have a template where a third-party application (TPA) includes some stub data,\n * such as a product catalog. When you create a site from this template, you inherit this\n * default product catalog. However, if the template's product catalog is modified,\n * your site will retain the catalog as it was at the time of site creation. This ensures that\n * your site remains consistent with what you initially received and does not include any\n * changes made to the original template afterward.\n * To ensure this, the TPA on the template gets a new instance_id.\n */\nexport interface ServiceProvisioned {\n /**\n * Either UUID or EmbeddedServiceType.\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * Not only UUID. Something here could be something weird.\n * @maxLength 36\n */\n instanceId?: string;\n /**\n * An instance id from which this instance is originated.\n * @maxLength 36\n */\n originInstanceId?: string;\n /**\n * A version.\n * @maxLength 500\n */\n version?: string | null;\n /**\n * The origin meta site id\n * @format GUID\n */\n originMetaSiteId?: string | null;\n}\n\nexport interface ServiceRemoved {\n /**\n * Either UUID or EmbeddedServiceType.\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * Not only UUID. Something here could be something weird.\n * @maxLength 36\n */\n instanceId?: string;\n /**\n * A version.\n * @maxLength 500\n */\n version?: string | null;\n}\n\n/** Rename of the site. Meaning, free public url has been changed as well. */\nexport interface SiteRenamed {\n /**\n * A new meta site name (URL slug).\n * @maxLength 20\n */\n newSiteName?: string;\n /**\n * A previous meta site name (URL slug).\n * @maxLength 255\n */\n oldSiteName?: string;\n}\n\n/**\n * Hard deletion of the meta site.\n *\n * Could not be restored. Therefore it's desirable to cleanup data.\n */\nexport interface SiteHardDeleted {\n /** A deletion context. */\n deleteContext?: DeleteContext;\n}\n\nexport interface NamespaceChanged {\n /** A previous namespace. */\n oldNamespace?: NamespaceWithLiterals;\n /** A new namespace. */\n newNamespace?: NamespaceWithLiterals;\n}\n\n/** Assigned Studio editor */\nexport interface StudioAssigned {}\n\n/** Unassigned Studio editor */\nexport interface StudioUnassigned {}\n\n/**\n * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.\n *\n * This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up\n * with sites and its urls, you need to listen to another topic/event. Read about it:\n *\n * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service\n */\nexport interface SiteUrlChanged {}\n\n/**\n * Used at the end of the deletion flow for both draft sites and when a user deletes a site.\n * Consumed by other teams to remove relevant data.\n */\nexport interface SitePurgedExternally {\n /**\n * @maxLength 2048\n * @maxSize 100\n * @deprecated\n * @targetRemovalDate 2025-04-15\n */\n appDefId?: string[];\n}\n\n/** Assigned Odeditor */\nexport interface OdeditorAssigned {}\n\n/** Unassigned Odeditor */\nexport interface OdeditorUnassigned {}\n\n/** Assigned Picasso editor */\nexport interface PicassoAssigned {}\n\n/** Unassigned Picasso */\nexport interface PicassoUnassigned {}\n\n/** Assigned Wixel */\nexport interface WixelAssigned {}\n\n/** Unassigned Wixel */\nexport interface WixelUnassigned {}\n\n/** Assigned StudioTwo */\nexport interface StudioTwoAssigned {}\n\n/** Unassigned StudioTwo */\nexport interface StudioTwoUnassigned {}\n\n/** Media from user domain is enabled. */\nexport interface UserDomainMediaEnabled {}\n\n/** Media from user domain is disabled. */\nexport interface UserDomainMediaDisabled {}\n\nexport interface Empty {}\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 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 /** Details related to the account */\n accountInfo?: AccountInfo;\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 AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type CreateDeliveryProfileApplicationErrors =\n | {\n code?: 'DELIVERY_PROFILES_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DESTINATIONS_COLLISION';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'SINGLE_DEFAULT_DELIVERY_PROFILE';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'UNKNOWN_DELIVERY_CARRIER';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DELIVERY_CARRIER_MISSING_BACKUP_RATE';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type UpdateDeliveryProfileApplicationErrors =\n | {\n code?: 'DELIVERY_REGION_CANNOT_BE_UPDATED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DEFAULT_CANNOT_BE_UPDATED';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type AddDeliveryRegionApplicationErrors =\n | {\n code?: 'DELIVERY_PROFILE_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DESTINATIONS_COLLISION';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'UNKNOWN_DELIVERY_CARRIER';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DELIVERY_CARRIER_MISSING_BACKUP_RATE';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type AddDeliveryRegionValidationErrors = {\n ruleName?: 'DELIVERY_REGION_NAME_ALREADY_EXISTS';\n};\n/** @docsIgnore */\nexport type UpdateDeliveryRegionApplicationErrors =\n | {\n code?: 'DELIVERY_PROFILE_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DELIVERY_REGION_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DESTINATIONS_COLLISION';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DELIVERY_CARRIER_CANNOT_BE_UPDATED';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type UpdateDeliveryRegionValidationErrors = {\n ruleName?: 'DELIVERY_REGION_NAME_ALREADY_EXISTS';\n};\n/** @docsIgnore */\nexport type GetDeliveryProfileByDeliveryRegionIdApplicationErrors = {\n code?: 'DELIVERY_REGION_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type RemoveDeliveryRegionApplicationErrors =\n | {\n code?: 'DELIVERY_PROFILE_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DELIVERY_REGION_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type AddDeliveryCarrierApplicationErrors =\n | {\n code?: 'DELIVERY_REGION_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CARRIER_ALREADY_EXISTS_IN_REGION';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DELIVERY_CARRIER_MISSING_BACKUP_RATE';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'UNKNOWN_DELIVERY_CARRIER';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type AddDeliveryCarrierValidationErrors = {\n ruleName?: 'DELIVERY_CARRIER_MISSING_BACKUP_RATE';\n};\n/** @docsIgnore */\nexport type RemoveDeliveryCarrierApplicationErrors = {\n code?: 'DELIVERY_REGION_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type UpdateDeliveryCarrierApplicationErrors =\n | {\n code?: 'DELIVERY_REGION_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DELIVERY_CARRIER_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'UNKNOWN_DELIVERY_CARRIER';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'APP_ID_CANNOT_BE_UPDATED';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type ListDeliveryCarriersApplicationErrors =\n | {\n code?: 'DELIVERY_CARRIER_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DELIVERY_PROFILE_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type UpdateCarrierSettingsApplicationErrors = {\n code?: 'DELIVERY_CARRIER_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type SetDeliveryCarrierActiveStatusApplicationErrors = {\n code?: 'DELIVERY_CARRIER_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixEcomV1DeliveryProfile from './ecom-v1-delivery-profile-delivery-profile.http.js';\nimport * as ambassadorWixEcomV1DeliveryProfileTypes from './ecom-v1-delivery-profile-delivery-profile.types.js';\nimport * as ambassadorWixEcomV1DeliveryProfileUniversalTypes from './ecom-v1-delivery-profile-delivery-profile.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 createDeliveryProfile(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.CreateDeliveryProfileRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.CreateDeliveryProfileRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.CreateDeliveryProfileResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.CreateDeliveryProfileResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.createDeliveryProfile(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/delivery-profiles',\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 getDeliveryProfile(): __PublicMethodMetaInfo<\n 'GET',\n { deliveryProfileId: string },\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.GetDeliveryProfileRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.GetDeliveryProfileRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.GetDeliveryProfileResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.GetDeliveryProfileResponse\n> {\n const payload = { deliveryProfileId: ':deliveryProfileId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.getDeliveryProfile(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/delivery-profiles/{deliveryProfileId}',\n pathParams: { deliveryProfileId: 'deliveryProfileId' },\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 updateDeliveryProfile(): __PublicMethodMetaInfo<\n 'PATCH',\n { deliveryProfileId: string },\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.UpdateDeliveryProfileRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.UpdateDeliveryProfileRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.UpdateDeliveryProfileResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.UpdateDeliveryProfileResponse\n> {\n const payload = { deliveryProfile: { id: ':deliveryProfileId' } } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.updateDeliveryProfile(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/delivery-profiles/{deliveryProfile.id}',\n pathParams: { deliveryProfileId: 'deliveryProfileId' },\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 deleteDeliveryProfile(): __PublicMethodMetaInfo<\n 'DELETE',\n { deliveryProfileId: string },\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.DeleteDeliveryProfileRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.DeleteDeliveryProfileRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.DeleteDeliveryProfileResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.DeleteDeliveryProfileResponse\n> {\n const payload = { deliveryProfileId: ':deliveryProfileId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.deleteDeliveryProfile(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/delivery-profiles/{deliveryProfileId}',\n pathParams: { deliveryProfileId: 'deliveryProfileId' },\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 queryDeliveryProfiles(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.QueryDeliveryProfilesRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.QueryDeliveryProfilesRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.QueryDeliveryProfilesResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.QueryDeliveryProfilesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.queryDeliveryProfiles(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/delivery-profiles/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 addDeliveryRegion(): __PublicMethodMetaInfo<\n 'POST',\n { deliveryProfileId: string },\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.AddDeliveryRegionRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.AddDeliveryRegionRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.AddDeliveryRegionResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.AddDeliveryRegionResponse\n> {\n const payload = { deliveryProfileId: ':deliveryProfileId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.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/delivery-profiles/{deliveryProfileId}/delivery-region',\n pathParams: { deliveryProfileId: 'deliveryProfileId' },\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 updateDeliveryRegion(): __PublicMethodMetaInfo<\n 'PATCH',\n { deliveryProfileId: string; deliveryRegionId: string },\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.UpdateDeliveryRegionRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.UpdateDeliveryRegionRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.UpdateDeliveryRegionResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.UpdateDeliveryRegionResponse\n> {\n const payload = {\n deliveryProfileId: ':deliveryProfileId',\n deliveryRegion: { id: ':deliveryRegionId' },\n } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.updateDeliveryRegion(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/delivery-profiles/{deliveryProfileId}/delivery-region/{deliveryRegion.id}',\n pathParams: {\n deliveryProfileId: 'deliveryProfileId',\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 function getDeliveryProfileByDeliveryRegionId(): __PublicMethodMetaInfo<\n 'GET',\n { deliveryRegionId: string },\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.GetDeliveryProfileByDeliveryRegionIdRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.GetDeliveryProfileByDeliveryRegionIdRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.GetDeliveryProfileByDeliveryRegionIdResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.GetDeliveryProfileByDeliveryRegionIdResponse\n> {\n const payload = { deliveryRegionId: ':deliveryRegionId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.getDeliveryProfileByDeliveryRegionId(\n payload\n );\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/delivery-profiles/delivery-regions/{deliveryRegionId}',\n pathParams: { deliveryRegionId: 'deliveryRegionId' },\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 { deliveryProfileId: string; deliveryRegionId: string },\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.RemoveDeliveryRegionRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.RemoveDeliveryRegionRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.RemoveDeliveryRegionResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.RemoveDeliveryRegionResponse\n> {\n const payload = {\n deliveryProfileId: ':deliveryProfileId',\n deliveryRegionId: ':deliveryRegionId',\n } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.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/delivery-profiles/{deliveryProfileId}/delivery-region/{deliveryRegionId}',\n pathParams: {\n deliveryProfileId: 'deliveryProfileId',\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 function addDeliveryCarrier(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.AddDeliveryCarrierRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.AddDeliveryCarrierRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.AddDeliveryCarrierResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.AddDeliveryCarrierResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.addDeliveryCarrier(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/delivery-profiles/add-delivery-carrier',\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 removeDeliveryCarrier(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.RemoveDeliveryCarrierRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.RemoveDeliveryCarrierRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.RemoveDeliveryCarrierResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.RemoveDeliveryCarrierResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.removeDeliveryCarrier(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/delivery-profiles/remove-delivery-carrier',\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 updateDeliveryCarrier(): __PublicMethodMetaInfo<\n 'PATCH',\n {},\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.UpdateDeliveryCarrierRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.UpdateDeliveryCarrierRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.UpdateDeliveryCarrierResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.UpdateDeliveryCarrierResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.updateDeliveryCarrier(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/delivery-profiles/update-delivery-carrier',\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 listInstalledDeliveryCarriers(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.ListInstalledDeliveryCarriersRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.ListInstalledDeliveryCarriersRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.ListInstalledDeliveryCarriersResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.ListInstalledDeliveryCarriersResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.listInstalledDeliveryCarriers(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/delivery-profiles/installed-carriers',\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 getDeliveryDestinationProperties(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.GetDeliveryDestinationPropertiesRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.GetDeliveryDestinationPropertiesRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.GetDeliveryDestinationPropertiesResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.GetDeliveryDestinationPropertiesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.getDeliveryDestinationProperties(\n payload\n );\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/delivery-profiles/delivery-destination-properties',\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 listDeliveryCarriers(): __PublicMethodMetaInfo<\n 'POST',\n { deliveryProfileId: string },\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.ListDeliveryCarriersRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.ListDeliveryCarriersRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.ListDeliveryCarriersResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.ListDeliveryCarriersResponse\n> {\n const payload = { deliveryProfileId: ':deliveryProfileId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.listDeliveryCarriers(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/delivery-profiles/{deliveryProfileId}/delivery-carriers',\n pathParams: { deliveryProfileId: 'deliveryProfileId' },\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 updateCarrierSettings(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.UpdateCarrierSettingsRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.UpdateCarrierSettingsRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.UpdateCarrierSettingsResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.UpdateCarrierSettingsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.updateCarrierSettings(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/delivery-carriers/update-settings',\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 setDeliveryCarrierActiveStatus(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.SetDeliveryCarrierActiveStatusRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.SetDeliveryCarrierActiveStatusRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.SetDeliveryCarrierActiveStatusResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.SetDeliveryCarrierActiveStatusResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.setDeliveryCarrierActiveStatus(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/delivery-profiles/delivery-carriers/set-active-status',\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 ambassadorWixEcomV1DeliveryProfileUniversalTypes.UpdateExtendedFieldsRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.UpdateExtendedFieldsRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.UpdateExtendedFieldsResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.UpdateExtendedFieldsResponse\n> {\n const payload = { id: ':id' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.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/delivery-profiles/{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 {\n DeliveryProfile as DeliveryProfileOriginal,\n DeliveryRegion as DeliveryRegionOriginal,\n DeliveryCarrier as DeliveryCarrierOriginal,\n BackupRate as BackupRateOriginal,\n AdditionalCharge as AdditionalChargeOriginal,\n Destination as DestinationOriginal,\n CreatedBy as CreatedByOriginal,\n CreatedByIdOneOf as CreatedByIdOneOfOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n DeliveryRegionAdded as DeliveryRegionAddedOriginal,\n DeliveryRegionRemoved as DeliveryRegionRemovedOriginal,\n DeliveryRegionUpdated as DeliveryRegionUpdatedOriginal,\n CreateDeliveryProfileRequest as CreateDeliveryProfileRequestOriginal,\n CreateDeliveryProfileResponse as CreateDeliveryProfileResponseOriginal,\n GetDeliveryProfileRequest as GetDeliveryProfileRequestOriginal,\n GetDeliveryProfileResponse as GetDeliveryProfileResponseOriginal,\n UpdateDeliveryProfileRequest as UpdateDeliveryProfileRequestOriginal,\n UpdateDeliveryProfileResponse as UpdateDeliveryProfileResponseOriginal,\n DeleteDeliveryProfileRequest as DeleteDeliveryProfileRequestOriginal,\n DeleteDeliveryProfileResponse as DeleteDeliveryProfileResponseOriginal,\n DeleteDefaultDeliveryProfileRequest as DeleteDefaultDeliveryProfileRequestOriginal,\n DeleteDefaultDeliveryProfileResponse as DeleteDefaultDeliveryProfileResponseOriginal,\n QueryDeliveryProfilesRequest as QueryDeliveryProfilesRequestOriginal,\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 QueryDeliveryProfilesResponse as QueryDeliveryProfilesResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n AddDeliveryRegionRequest as AddDeliveryRegionRequestOriginal,\n AddDeliveryRegionResponse as AddDeliveryRegionResponseOriginal,\n UpdateDeliveryRegionRequest as UpdateDeliveryRegionRequestOriginal,\n UpdateDeliveryRegionResponse as UpdateDeliveryRegionResponseOriginal,\n GetDeliveryProfileByDeliveryRegionIdRequest as GetDeliveryProfileByDeliveryRegionIdRequestOriginal,\n GetDeliveryProfileByDeliveryRegionIdResponse as GetDeliveryProfileByDeliveryRegionIdResponseOriginal,\n RemoveDeliveryRegionRequest as RemoveDeliveryRegionRequestOriginal,\n RemoveDeliveryRegionResponse as RemoveDeliveryRegionResponseOriginal,\n AddDeliveryCarrierRequest as AddDeliveryCarrierRequestOriginal,\n AddDeliveryCarrierResponse as AddDeliveryCarrierResponseOriginal,\n RemoveDeliveryCarrierRequest as RemoveDeliveryCarrierRequestOriginal,\n RemoveDeliveryCarrierResponse as RemoveDeliveryCarrierResponseOriginal,\n UpdateDeliveryCarrierRequest as UpdateDeliveryCarrierRequestOriginal,\n UpdateDeliveryCarrierResponse as UpdateDeliveryCarrierResponseOriginal,\n ListInstalledDeliveryCarriersRequest as ListInstalledDeliveryCarriersRequestOriginal,\n ListInstalledDeliveryCarriersResponse as ListInstalledDeliveryCarriersResponseOriginal,\n InstalledDeliveryCarrier as InstalledDeliveryCarrierOriginal,\n ListDeliveryDestinationsRequest as ListDeliveryDestinationsRequestOriginal,\n ListDeliveryDestinationsResponse as ListDeliveryDestinationsResponseOriginal,\n DestinationScope as DestinationScopeOriginal,\n DestinationScopeWithLiterals as DestinationScopeWithLiteralsOriginal,\n RequiredZipcodeRequest as RequiredZipcodeRequestOriginal,\n RequiredZipcodeResponse as RequiredZipcodeResponseOriginal,\n GetDeliveryDestinationPropertiesRequest as GetDeliveryDestinationPropertiesRequestOriginal,\n GetDeliveryDestinationPropertiesResponse as GetDeliveryDestinationPropertiesResponseOriginal,\n DeliveryDestinationProperties as DeliveryDestinationPropertiesOriginal,\n CountryDeliveryProperties as CountryDeliveryPropertiesOriginal,\n SubdivisionDeliveryProperties as SubdivisionDeliveryPropertiesOriginal,\n ListDeliveryCarriersRequest as ListDeliveryCarriersRequestOriginal,\n ListDeliveryCarriersResponse as ListDeliveryCarriersResponseOriginal,\n ListDeliveryCarriersResult as ListDeliveryCarriersResultOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n DeliveryCarrierDetails as DeliveryCarrierDetailsOriginal,\n DeliveryCarrierRegionalSettings as DeliveryCarrierRegionalSettingsOriginal,\n DashboardTable as DashboardTableOriginal,\n Column as ColumnOriginal,\n Row as RowOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n UpdateCarrierSettingsRequest as UpdateCarrierSettingsRequestOriginal,\n UpdateCarrierSettingsResponse as UpdateCarrierSettingsResponseOriginal,\n SetDeliveryCarrierActiveStatusRequest as SetDeliveryCarrierActiveStatusRequestOriginal,\n SetDeliveryCarrierActiveStatusResponse as SetDeliveryCarrierActiveStatusResponseOriginal,\n UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal,\n UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal,\n MetaSiteSpecialEvent as MetaSiteSpecialEventOriginal,\n MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOfOriginal,\n Asset as AssetOriginal,\n State as StateOriginal,\n StateWithLiterals as StateWithLiteralsOriginal,\n SiteCreated as SiteCreatedOriginal,\n SiteCreatedContext as SiteCreatedContextOriginal,\n SiteCreatedContextWithLiterals as SiteCreatedContextWithLiteralsOriginal,\n Namespace as NamespaceOriginal,\n NamespaceWithLiterals as NamespaceWithLiteralsOriginal,\n SiteTransferred as SiteTransferredOriginal,\n SiteDeleted as SiteDeletedOriginal,\n DeleteContext as DeleteContextOriginal,\n DeleteStatus as DeleteStatusOriginal,\n DeleteStatusWithLiterals as DeleteStatusWithLiteralsOriginal,\n SiteUndeleted as SiteUndeletedOriginal,\n SitePublished as SitePublishedOriginal,\n SiteUnpublished as SiteUnpublishedOriginal,\n SiteMarkedAsTemplate as SiteMarkedAsTemplateOriginal,\n SiteMarkedAsWixSite as SiteMarkedAsWixSiteOriginal,\n ServiceProvisioned as ServiceProvisionedOriginal,\n ServiceRemoved as ServiceRemovedOriginal,\n SiteRenamed as SiteRenamedOriginal,\n SiteHardDeleted as SiteHardDeletedOriginal,\n NamespaceChanged as NamespaceChangedOriginal,\n StudioAssigned as StudioAssignedOriginal,\n StudioUnassigned as StudioUnassignedOriginal,\n SiteUrlChanged as SiteUrlChangedOriginal,\n SitePurgedExternally as SitePurgedExternallyOriginal,\n OdeditorAssigned as OdeditorAssignedOriginal,\n OdeditorUnassigned as OdeditorUnassignedOriginal,\n PicassoAssigned as PicassoAssignedOriginal,\n PicassoUnassigned as PicassoUnassignedOriginal,\n WixelAssigned as WixelAssignedOriginal,\n WixelUnassigned as WixelUnassignedOriginal,\n StudioTwoAssigned as StudioTwoAssignedOriginal,\n StudioTwoUnassigned as StudioTwoUnassignedOriginal,\n UserDomainMediaEnabled as UserDomainMediaEnabledOriginal,\n UserDomainMediaDisabled as UserDomainMediaDisabledOriginal,\n Empty as EmptyOriginal,\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 MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountInfo as AccountInfoOriginal,\n CreateDeliveryProfileApplicationErrors as CreateDeliveryProfileApplicationErrorsOriginal,\n UpdateDeliveryProfileApplicationErrors as UpdateDeliveryProfileApplicationErrorsOriginal,\n AddDeliveryRegionApplicationErrors as AddDeliveryRegionApplicationErrorsOriginal,\n AddDeliveryRegionValidationErrors as AddDeliveryRegionValidationErrorsOriginal,\n UpdateDeliveryRegionApplicationErrors as UpdateDeliveryRegionApplicationErrorsOriginal,\n UpdateDeliveryRegionValidationErrors as UpdateDeliveryRegionValidationErrorsOriginal,\n GetDeliveryProfileByDeliveryRegionIdApplicationErrors as GetDeliveryProfileByDeliveryRegionIdApplicationErrorsOriginal,\n RemoveDeliveryRegionApplicationErrors as RemoveDeliveryRegionApplicationErrorsOriginal,\n AddDeliveryCarrierApplicationErrors as AddDeliveryCarrierApplicationErrorsOriginal,\n AddDeliveryCarrierValidationErrors as AddDeliveryCarrierValidationErrorsOriginal,\n RemoveDeliveryCarrierApplicationErrors as RemoveDeliveryCarrierApplicationErrorsOriginal,\n UpdateDeliveryCarrierApplicationErrors as UpdateDeliveryCarrierApplicationErrorsOriginal,\n ListDeliveryCarriersApplicationErrors as ListDeliveryCarriersApplicationErrorsOriginal,\n UpdateCarrierSettingsApplicationErrors as UpdateCarrierSettingsApplicationErrorsOriginal,\n SetDeliveryCarrierActiveStatusApplicationErrors as SetDeliveryCarrierActiveStatusApplicationErrorsOriginal,\n} from './ecom-v1-delivery-profile-delivery-profile.types.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAAAA;AAAA,EAAA,yBAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,wCAAAC;AAAA,EAAA,0BAAAC;AAAA,EAAA,4CAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,qCAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,sCAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,4BAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,mDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA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B,wBAAwB;AAAA,EAC1B;AACF;","names":["addDeliveryCarrier","addDeliveryRegion","createDeliveryProfile","deleteDeliveryProfile","getDeliveryDestinationProperties","getDeliveryProfile","getDeliveryProfileByDeliveryRegionId","listDeliveryCarriers","listInstalledDeliveryCarriers","queryDeliveryProfiles","removeDeliveryCarrier","removeDeliveryRegion","setDeliveryCarrierActiveStatus","updateCarrierSettings","updateDeliveryCarrier","updateDeliveryProfile","updateDeliveryRegion","updateExtendedFields","import_timestamp","import_rest_modules","payload","SortOrder","DestinationScope","State","SiteCreatedContext","Namespace","DeleteStatus","WebhookIdentityType","createDeliveryProfile","getDeliveryProfile","updateDeliveryProfile","deleteDeliveryProfile","queryDeliveryProfiles","addDeliveryRegion","updateDeliveryRegion","getDeliveryProfileByDeliveryRegionId","removeDeliveryRegion","addDeliveryCarrier","removeDeliveryCarrier","updateDeliveryCarrier","listInstalledDeliveryCarriers","getDeliveryDestinationProperties","listDeliveryCarriers","updateCarrierSettings","setDeliveryCarrierActiveStatus","updateExtendedFields"]}