@wix/auto_sdk_ecom_delivery-profile 1.0.43 → 1.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{cjs/src/ecom-v1-delivery-profile-delivery-profile.types.d.ts → ecom-v1-delivery-profile-delivery-profile.universal-CQYvMtsF.d.mts} +371 -136
- package/build/{internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.types.d.ts → ecom-v1-delivery-profile-delivery-profile.universal-CQYvMtsF.d.ts} +371 -136
- package/build/index.d.mts +176 -0
- package/build/index.d.ts +176 -0
- package/build/index.js +1260 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +1213 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/{es/src/ecom-v1-delivery-profile-delivery-profile.types.d.ts → ecom-v1-delivery-profile-delivery-profile.universal-CQYvMtsF.d.mts} +371 -136
- package/build/{es/src/ecom-v1-delivery-profile-delivery-profile.types.d.ts → internal/ecom-v1-delivery-profile-delivery-profile.universal-CQYvMtsF.d.ts} +371 -136
- package/build/internal/index.d.mts +176 -0
- package/build/internal/index.d.ts +176 -0
- package/build/internal/index.js +1260 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +1213 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +733 -0
- package/build/internal/meta.d.ts +733 -0
- package/build/internal/meta.js +855 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +813 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/meta.d.mts +733 -0
- package/build/meta.d.ts +733 -0
- package/build/meta.js +855 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +813 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +12 -11
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.context.d.ts +0 -20
- package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.context.js +0 -31
- package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.context.js.map +0 -1
- package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.http.d.ts +0 -73
- package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.http.js +0 -567
- package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.http.js.map +0 -1
- package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.meta.d.ts +0 -46
- package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.meta.js +0 -344
- package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.public.d.ts +0 -159
- package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.public.js +0 -111
- package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.public.js.map +0 -1
- package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.types.js +0 -142
- package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.types.js.map +0 -1
- package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.universal.d.ts +0 -2011
- package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.universal.js +0 -967
- package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/ecom-v1-delivery-profile-delivery-profile.context.d.ts +0 -20
- package/build/es/src/ecom-v1-delivery-profile-delivery-profile.context.js +0 -20
- package/build/es/src/ecom-v1-delivery-profile-delivery-profile.context.js.map +0 -1
- package/build/es/src/ecom-v1-delivery-profile-delivery-profile.http.d.ts +0 -73
- package/build/es/src/ecom-v1-delivery-profile-delivery-profile.http.js +0 -548
- package/build/es/src/ecom-v1-delivery-profile-delivery-profile.http.js.map +0 -1
- package/build/es/src/ecom-v1-delivery-profile-delivery-profile.meta.d.ts +0 -46
- package/build/es/src/ecom-v1-delivery-profile-delivery-profile.meta.js +0 -302
- package/build/es/src/ecom-v1-delivery-profile-delivery-profile.meta.js.map +0 -1
- package/build/es/src/ecom-v1-delivery-profile-delivery-profile.public.d.ts +0 -159
- package/build/es/src/ecom-v1-delivery-profile-delivery-profile.public.js +0 -84
- package/build/es/src/ecom-v1-delivery-profile-delivery-profile.public.js.map +0 -1
- package/build/es/src/ecom-v1-delivery-profile-delivery-profile.types.js +0 -139
- package/build/es/src/ecom-v1-delivery-profile-delivery-profile.types.js.map +0 -1
- package/build/es/src/ecom-v1-delivery-profile-delivery-profile.universal.d.ts +0 -2011
- package/build/es/src/ecom-v1-delivery-profile-delivery-profile.universal.js +0 -925
- package/build/es/src/ecom-v1-delivery-profile-delivery-profile.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.context.d.ts +0 -20
- package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.context.js +0 -31
- package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.context.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.http.d.ts +0 -73
- package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.http.js +0 -567
- package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.http.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.meta.d.ts +0 -46
- package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.meta.js +0 -344
- package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.meta.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.public.d.ts +0 -159
- package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.public.js +0 -111
- package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.public.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.types.js +0 -142
- package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.types.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.universal.d.ts +0 -2011
- package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.universal.js +0 -967
- package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.context.d.ts +0 -20
- package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.context.js +0 -20
- package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.context.js.map +0 -1
- package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.http.d.ts +0 -73
- package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.http.js +0 -548
- package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.http.js.map +0 -1
- package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.meta.d.ts +0 -46
- package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.meta.js +0 -302
- package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.meta.js.map +0 -1
- package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.public.d.ts +0 -159
- package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.public.js +0 -84
- package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.public.js.map +0 -1
- package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.types.js +0 -139
- package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.types.js.map +0 -1
- package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.universal.d.ts +0 -2011
- package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.universal.js +0 -925
- package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.universal.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/ecom-v1-delivery-profile-delivery-profile.http.ts","../src/ecom-v1-delivery-profile-delivery-profile.meta.ts"],"sourcesContent":["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/list-delivery-carriers',\n destPath: '/v1/list-delivery-carriers',\n },\n {\n srcPath: '/ecom/v1/list-delivery-carrier-details',\n destPath: '/v1/list-delivery-carrier-details',\n },\n {\n srcPath: '/ecom/v1/delivery-profiles',\n destPath: '/v1/delivery-profiles',\n },\n {\n srcPath: '/ecom/v1/delivery-carriers',\n destPath: '/v1/delivery-carriers',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/delivery-profiles-service',\n destPath: '',\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 DeliveryProfile.\n *\n * The request body must include the DeliveryProfiles name. DeliveryRegions are optional.\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 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 DeliveryProfile. */\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 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 DeliveryProfile.\n *\n *\n * Each time the DeliveryProfile is updated,\n * `revision` increments by 1.\n * The current `revision` must be passed when updating the DeliveryProfile.\n * This ensures you're working with the latest DeliveryProfile\n * and prevents unintended overwrites.\n *\n * This method does not allow updating the DeliveryRegions in this DeliveryProfile.\n * Use AddDeliveryRegion, UpdateDeliveryRegion and RemoveDeliveryRegion for these functionalities.\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 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 DeliveryProfile.\n *\n * Deleting a DeliveryProfile permanently removes them from the DeliveryProfile List.\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 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 DeliveryProfiles, given the provided [paging, filtering, and sorting][1].\n *\n * Up to 1,000 DeliveryProfiles can be returned per request.\n *\n * To learn how to query DeliveryProfiles, see [API Query Language][2].\n *\n * [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging\n * [2]: https://dev.wix.com/api/rest/getting-started/api-query-language\n */\nexport function queryDeliveryProfiles(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryDeliveryProfiles({ 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.QueryDeliveryProfiles',\n packageName: PACKAGE_NAME,\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-profiles/query',\n data: payload,\n host,\n }),\n data: payload,\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/** Creates a new DeliveryRegion in an existing DeliveryProfile. */\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 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 * Update a DeliveryRegion, supports partial update\n * Pass the latest `revision` for a successful update\n *\n * This method does not allow setting or updating the delivery delivery_carriers in this delivery_region.\n * Use AddDeliveryCarrier, UpdateDeliveryCarrier and RemoveDeliveryCarrier for these functionalities.\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 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/** Delete a DeliveryRegion */\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 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/** Add 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 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/** Remove 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 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/** Update a delivery carrier 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 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 * List all installed delivery carriers in order to set their ids in delivery rules\n * @deprecated It has been replaced with ListInstalledDeliveryCarriers(), and will be removed on 2025-04-01.\n */\nexport function listDeliveryCarrierDetails(\n payload: object\n): RequestOptionsFactory<any> {\n function __listDeliveryCarrierDetails({ 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.ListDeliveryCarrierDetails',\n packageName: PACKAGE_NAME,\n url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({\n protoPath: '/v1/delivery-carriers',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __listDeliveryCarrierDetails;\n}\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 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 * Get delivery carrier settings for a delivery profile and delivery region.\n * These are returned in a table format for the dashboard.\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 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/** Update 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 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/** 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 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","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 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 listDeliveryCarrierDetails(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.ListDeliveryCarrierDetailsRequest,\n ambassadorWixEcomV1DeliveryProfileTypes.ListDeliveryCarrierDetailsRequest,\n ambassadorWixEcomV1DeliveryProfileUniversalTypes.ListDeliveryCarrierDetailsResponse,\n ambassadorWixEcomV1DeliveryProfileTypes.ListDeliveryCarrierDetailsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DeliveryProfile.listDeliveryCarrierDetails(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-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 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 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 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"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,mDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;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,EACF;AAEA,SAAO,WAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IAAM,eAAe;AAOd,SAAS,sBACd,SAC4B;AAC5B,WAAS,wBAAwB,EAAE,KAAK,GAAQ;AAC9C,UAAM,iBAAiB,eAAe,SAAS;AAAA,MAC7C;AAAA,QACE,aAAa;AAAA,QACb,OAAO;AAAA,UACL,EAAE,MAAM,8BAA8B;AAAA,UACtC,EAAE,MAAM,8BAA8B;AAAA,UACtC,EAAE,MAAM,8CAA8C;AAAA,QACxD;AAAA,MACF;AAAA,IACF,CAAC;AAC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ACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,mBAAmB,oBAAoB;AAAA,IACrD,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,yBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC+B,sBAAsB,OAAO;AAElE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,wBAOd;AACA,QAAM,UAAU,EAAE,IAAI,MAAM;AAE5B,QAAM,oBAC+B,qBAAqB,OAAO;AAEjE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,IAAI,KAAK;AAAA,IACvB,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","createDeliveryProfile","getDeliveryProfile","updateDeliveryProfile","deleteDeliveryProfile","queryDeliveryProfiles","addDeliveryRegion","updateDeliveryRegion","removeDeliveryRegion","addDeliveryCarrier","removeDeliveryCarrier","updateDeliveryCarrier","listDeliveryCarrierDetails","listInstalledDeliveryCarriers","listDeliveryCarriers","updateCarrierSettings","updateExtendedFields"]}
|
package/package.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_ecom_delivery-profile",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.44",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
8
|
"keywords": [],
|
|
9
9
|
"sideEffects": false,
|
|
10
|
-
"main": "
|
|
11
|
-
"types": "./build/
|
|
10
|
+
"main": "/build/index.js",
|
|
11
|
+
"types": "./build/index.d.mts",
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
|
-
"import": "./build/
|
|
15
|
-
"require": "./build/
|
|
16
|
-
"types": "./build/
|
|
14
|
+
"import": "./build/index.mjs",
|
|
15
|
+
"require": "./build/index.js",
|
|
16
|
+
"types": "./build/index.d.mts"
|
|
17
17
|
},
|
|
18
18
|
"./package.json": "./package.json",
|
|
19
19
|
"./meta": {
|
|
20
|
-
"import": "./build/
|
|
21
|
-
"require": "./build/
|
|
22
|
-
"types": "./build/
|
|
20
|
+
"import": "./build/meta.mjs",
|
|
21
|
+
"require": "./build/meta.js",
|
|
22
|
+
"types": "./build/meta.d.mts"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
@@ -32,10 +32,11 @@
|
|
|
32
32
|
"@wix/sdk-types": "^1.13.28"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
+
"tsup": "^8.4.0",
|
|
35
36
|
"typescript": "^5.3.2"
|
|
36
37
|
},
|
|
37
38
|
"scripts": {
|
|
38
|
-
"build": "
|
|
39
|
+
"build": "tsup",
|
|
39
40
|
"test": ":"
|
|
40
41
|
},
|
|
41
42
|
"wix": {
|
|
@@ -48,5 +49,5 @@
|
|
|
48
49
|
"fqdn": "wix.ecom.v1.delivery_profile"
|
|
49
50
|
}
|
|
50
51
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
52
|
+
"falconPackageHash": "d1e653e7ba684b77c2c566a1bec1624b59c374c4b45f2375d14a939b"
|
|
52
53
|
}
|
package/build/cjs/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/ecom-v1-delivery-profile-delivery-profile.context.js';
|
package/build/cjs/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./src/ecom-v1-delivery-profile-delivery-profile.context.js"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
package/build/cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6FAA2E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/ecom-v1-delivery-profile-delivery-profile.universal.js';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./src/ecom-v1-delivery-profile-delivery-profile.universal.js"), exports);
|
|
18
|
-
//# sourceMappingURL=index.typings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+FAA6E"}
|
package/build/cjs/meta.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/ecom-v1-delivery-profile-delivery-profile.meta.js';
|
package/build/cjs/meta.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./src/ecom-v1-delivery-profile-delivery-profile.meta.js"), exports);
|
|
18
|
-
//# sourceMappingURL=meta.js.map
|
package/build/cjs/meta.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0FAAwE"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { createDeliveryProfile as publicCreateDeliveryProfile, getDeliveryProfile as publicGetDeliveryProfile, updateDeliveryProfile as publicUpdateDeliveryProfile, deleteDeliveryProfile as publicDeleteDeliveryProfile, queryDeliveryProfiles as publicQueryDeliveryProfiles, addDeliveryRegion as publicAddDeliveryRegion, updateDeliveryRegion as publicUpdateDeliveryRegion, removeDeliveryRegion as publicRemoveDeliveryRegion, addDeliveryCarrier as publicAddDeliveryCarrier, removeDeliveryCarrier as publicRemoveDeliveryCarrier, updateDeliveryCarrier as publicUpdateDeliveryCarrier, listDeliveryCarrierDetails as publicListDeliveryCarrierDetails, listInstalledDeliveryCarriers as publicListInstalledDeliveryCarriers, listDeliveryCarriers as publicListDeliveryCarriers, updateCarrierSettings as publicUpdateCarrierSettings, updateExtendedFields as publicUpdateExtendedFields } from './ecom-v1-delivery-profile-delivery-profile.public.js';
|
|
2
|
-
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
|
3
|
-
export declare const createDeliveryProfile: MaybeContext<BuildRESTFunction<typeof publicCreateDeliveryProfile> & typeof publicCreateDeliveryProfile>;
|
|
4
|
-
export declare const getDeliveryProfile: MaybeContext<BuildRESTFunction<typeof publicGetDeliveryProfile> & typeof publicGetDeliveryProfile>;
|
|
5
|
-
export declare const updateDeliveryProfile: MaybeContext<BuildRESTFunction<typeof publicUpdateDeliveryProfile> & typeof publicUpdateDeliveryProfile>;
|
|
6
|
-
export declare const deleteDeliveryProfile: MaybeContext<BuildRESTFunction<typeof publicDeleteDeliveryProfile> & typeof publicDeleteDeliveryProfile>;
|
|
7
|
-
export declare const queryDeliveryProfiles: MaybeContext<BuildRESTFunction<typeof publicQueryDeliveryProfiles> & typeof publicQueryDeliveryProfiles>;
|
|
8
|
-
export declare const addDeliveryRegion: MaybeContext<BuildRESTFunction<typeof publicAddDeliveryRegion> & typeof publicAddDeliveryRegion>;
|
|
9
|
-
export declare const updateDeliveryRegion: MaybeContext<BuildRESTFunction<typeof publicUpdateDeliveryRegion> & typeof publicUpdateDeliveryRegion>;
|
|
10
|
-
export declare const removeDeliveryRegion: MaybeContext<BuildRESTFunction<typeof publicRemoveDeliveryRegion> & typeof publicRemoveDeliveryRegion>;
|
|
11
|
-
export declare const addDeliveryCarrier: MaybeContext<BuildRESTFunction<typeof publicAddDeliveryCarrier> & typeof publicAddDeliveryCarrier>;
|
|
12
|
-
export declare const removeDeliveryCarrier: MaybeContext<BuildRESTFunction<typeof publicRemoveDeliveryCarrier> & typeof publicRemoveDeliveryCarrier>;
|
|
13
|
-
export declare const updateDeliveryCarrier: MaybeContext<BuildRESTFunction<typeof publicUpdateDeliveryCarrier> & typeof publicUpdateDeliveryCarrier>;
|
|
14
|
-
export declare const listDeliveryCarrierDetails: MaybeContext<BuildRESTFunction<typeof publicListDeliveryCarrierDetails> & typeof publicListDeliveryCarrierDetails>;
|
|
15
|
-
export declare const listInstalledDeliveryCarriers: MaybeContext<BuildRESTFunction<typeof publicListInstalledDeliveryCarriers> & typeof publicListInstalledDeliveryCarriers>;
|
|
16
|
-
export declare const listDeliveryCarriers: MaybeContext<BuildRESTFunction<typeof publicListDeliveryCarriers> & typeof publicListDeliveryCarriers>;
|
|
17
|
-
export declare const updateCarrierSettings: MaybeContext<BuildRESTFunction<typeof publicUpdateCarrierSettings> & typeof publicUpdateCarrierSettings>;
|
|
18
|
-
export declare const updateExtendedFields: MaybeContext<BuildRESTFunction<typeof publicUpdateExtendedFields> & typeof publicUpdateExtendedFields>;
|
|
19
|
-
export { ChargeType, SortOrder, DestinationScope, State, SiteCreatedContext, Namespace, DeleteStatus, WebhookIdentityType, } from './ecom-v1-delivery-profile-delivery-profile.universal.js';
|
|
20
|
-
export { DeliveryProfile, DeliveryRegion, DeliveryCarrier, BackupRate, AdditionalCharge, Destination, CreatedBy, CreatedByIdOneOf, ExtendedFields, DeliveryRegionAdded, DeliveryRegionRemoved, DeliveryRegionUpdated, CreateDeliveryProfileRequest, CreateDeliveryProfileResponse, GetDeliveryProfileRequest, GetDeliveryProfileResponse, UpdateDeliveryProfileRequest, UpdateDeliveryProfileResponse, DeleteDeliveryProfileRequest, DeleteDeliveryProfileResponse, DeleteDefaultDeliveryProfileRequest, DeleteDefaultDeliveryProfileResponse, QueryDeliveryProfilesRequest, CursorQuery, CursorQueryPagingMethodOneOf, Sorting, CursorPaging, QueryDeliveryProfilesResponse, CursorPagingMetadata, Cursors, AddDeliveryRegionRequest, AddDeliveryRegionResponse, UpdateDeliveryRegionRequest, UpdateDeliveryRegionResponse, RemoveDeliveryRegionRequest, RemoveDeliveryRegionResponse, AddDeliveryCarrierRequest, AddDeliveryCarrierResponse, RemoveDeliveryCarrierRequest, RemoveDeliveryCarrierResponse, UpdateDeliveryCarrierRequest, UpdateDeliveryCarrierResponse, ListDeliveryCarrierDetailsRequest, ListDeliveryCarrierDetailsResponse, DeliveryCarrierDetails, ListInstalledDeliveryCarriersRequest, ListInstalledDeliveryCarriersResponse, InstalledDeliveryCarrier, ListDeliveryDestinationsRequest, ListDeliveryDestinationsResponse, RequiredZipcodeRequest, RequiredZipcodeResponse, ListDeliveryCarriersRequest, ListDeliveryCarriersResponse, ListDeliveryCarriersResult, ItemMetadata, ApplicationError, DeliveryCarrierRegionalSettings, DashboardTable, Column, Row, BulkActionMetadata, UpdateCarrierSettingsRequest, UpdateCarrierSettingsResponse, UpdateExtendedFieldsRequest, UpdateExtendedFieldsResponse, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Asset, SiteCreated, SiteTransferred, SiteDeleted, DeleteContext, SiteUndeleted, SitePublished, SiteUnpublished, SiteMarkedAsTemplate, SiteMarkedAsWixSite, ServiceProvisioned, ServiceRemoved, SiteRenamed, SiteHardDeleted, NamespaceChanged, StudioAssigned, StudioUnassigned, SiteUrlChanged, SitePurgedExternally, OdeditorAssigned, OdeditorUnassigned, PicassoAssigned, PicassoUnassigned, Empty, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, UpdateDeliveryProfile, DeliveryProfilesQueryResult, DeliveryProfilesQueryBuilder, AddDeliveryRegionOptions, UpdateDeliveryRegionIdentifiers, UpdateDeliveryRegion, UpdateDeliveryRegionOptions, RemoveDeliveryRegionIdentifiers, RemoveDeliveryRegionOptions, AddDeliveryCarrierOptions, RemoveDeliveryCarrierOptions, UpdateDeliveryCarrierOptions, ListDeliveryCarriersOptions, UpdateCarrierSettingsOptions, UpdateExtendedFieldsOptions, } from './ecom-v1-delivery-profile-delivery-profile.universal.js';
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebhookIdentityType = exports.DeleteStatus = exports.Namespace = exports.SiteCreatedContext = exports.State = exports.DestinationScope = exports.SortOrder = exports.ChargeType = exports.updateExtendedFields = exports.updateCarrierSettings = exports.listDeliveryCarriers = exports.listInstalledDeliveryCarriers = exports.listDeliveryCarrierDetails = exports.updateDeliveryCarrier = exports.removeDeliveryCarrier = exports.addDeliveryCarrier = exports.removeDeliveryRegion = exports.updateDeliveryRegion = exports.addDeliveryRegion = exports.queryDeliveryProfiles = exports.deleteDeliveryProfile = exports.updateDeliveryProfile = exports.getDeliveryProfile = exports.createDeliveryProfile = void 0;
|
|
4
|
-
const ecom_v1_delivery_profile_delivery_profile_public_js_1 = require("./ecom-v1-delivery-profile-delivery-profile.public.js");
|
|
5
|
-
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
|
|
6
|
-
exports.createDeliveryProfile = (0, rest_modules_1.createRESTModule)(ecom_v1_delivery_profile_delivery_profile_public_js_1.createDeliveryProfile);
|
|
7
|
-
exports.getDeliveryProfile = (0, rest_modules_1.createRESTModule)(ecom_v1_delivery_profile_delivery_profile_public_js_1.getDeliveryProfile);
|
|
8
|
-
exports.updateDeliveryProfile = (0, rest_modules_1.createRESTModule)(ecom_v1_delivery_profile_delivery_profile_public_js_1.updateDeliveryProfile);
|
|
9
|
-
exports.deleteDeliveryProfile = (0, rest_modules_1.createRESTModule)(ecom_v1_delivery_profile_delivery_profile_public_js_1.deleteDeliveryProfile);
|
|
10
|
-
exports.queryDeliveryProfiles = (0, rest_modules_1.createRESTModule)(ecom_v1_delivery_profile_delivery_profile_public_js_1.queryDeliveryProfiles);
|
|
11
|
-
exports.addDeliveryRegion = (0, rest_modules_1.createRESTModule)(ecom_v1_delivery_profile_delivery_profile_public_js_1.addDeliveryRegion);
|
|
12
|
-
exports.updateDeliveryRegion = (0, rest_modules_1.createRESTModule)(ecom_v1_delivery_profile_delivery_profile_public_js_1.updateDeliveryRegion);
|
|
13
|
-
exports.removeDeliveryRegion = (0, rest_modules_1.createRESTModule)(ecom_v1_delivery_profile_delivery_profile_public_js_1.removeDeliveryRegion);
|
|
14
|
-
exports.addDeliveryCarrier = (0, rest_modules_1.createRESTModule)(ecom_v1_delivery_profile_delivery_profile_public_js_1.addDeliveryCarrier);
|
|
15
|
-
exports.removeDeliveryCarrier = (0, rest_modules_1.createRESTModule)(ecom_v1_delivery_profile_delivery_profile_public_js_1.removeDeliveryCarrier);
|
|
16
|
-
exports.updateDeliveryCarrier = (0, rest_modules_1.createRESTModule)(ecom_v1_delivery_profile_delivery_profile_public_js_1.updateDeliveryCarrier);
|
|
17
|
-
exports.listDeliveryCarrierDetails = (0, rest_modules_1.createRESTModule)(ecom_v1_delivery_profile_delivery_profile_public_js_1.listDeliveryCarrierDetails);
|
|
18
|
-
exports.listInstalledDeliveryCarriers = (0, rest_modules_1.createRESTModule)(ecom_v1_delivery_profile_delivery_profile_public_js_1.listInstalledDeliveryCarriers);
|
|
19
|
-
exports.listDeliveryCarriers = (0, rest_modules_1.createRESTModule)(ecom_v1_delivery_profile_delivery_profile_public_js_1.listDeliveryCarriers);
|
|
20
|
-
exports.updateCarrierSettings = (0, rest_modules_1.createRESTModule)(ecom_v1_delivery_profile_delivery_profile_public_js_1.updateCarrierSettings);
|
|
21
|
-
exports.updateExtendedFields = (0, rest_modules_1.createRESTModule)(ecom_v1_delivery_profile_delivery_profile_public_js_1.updateExtendedFields);
|
|
22
|
-
var ecom_v1_delivery_profile_delivery_profile_universal_js_1 = require("./ecom-v1-delivery-profile-delivery-profile.universal.js");
|
|
23
|
-
Object.defineProperty(exports, "ChargeType", { enumerable: true, get: function () { return ecom_v1_delivery_profile_delivery_profile_universal_js_1.ChargeType; } });
|
|
24
|
-
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return ecom_v1_delivery_profile_delivery_profile_universal_js_1.SortOrder; } });
|
|
25
|
-
Object.defineProperty(exports, "DestinationScope", { enumerable: true, get: function () { return ecom_v1_delivery_profile_delivery_profile_universal_js_1.DestinationScope; } });
|
|
26
|
-
Object.defineProperty(exports, "State", { enumerable: true, get: function () { return ecom_v1_delivery_profile_delivery_profile_universal_js_1.State; } });
|
|
27
|
-
Object.defineProperty(exports, "SiteCreatedContext", { enumerable: true, get: function () { return ecom_v1_delivery_profile_delivery_profile_universal_js_1.SiteCreatedContext; } });
|
|
28
|
-
Object.defineProperty(exports, "Namespace", { enumerable: true, get: function () { return ecom_v1_delivery_profile_delivery_profile_universal_js_1.Namespace; } });
|
|
29
|
-
Object.defineProperty(exports, "DeleteStatus", { enumerable: true, get: function () { return ecom_v1_delivery_profile_delivery_profile_universal_js_1.DeleteStatus; } });
|
|
30
|
-
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return ecom_v1_delivery_profile_delivery_profile_universal_js_1.WebhookIdentityType; } });
|
|
31
|
-
//# sourceMappingURL=ecom-v1-delivery-profile-delivery-profile.context.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-delivery-profile-delivery-profile.context.js","sourceRoot":"","sources":["../../../src/ecom-v1-delivery-profile-delivery-profile.context.ts"],"names":[],"mappings":";;;AAAA,+HAiB+D;AAC/D,gEAAiE;AAGpD,QAAA,qBAAqB,GAGhB,IAAA,+BAAgB,EAAC,2EAA2B,CAAC,CAAC;AACnD,QAAA,kBAAkB,GAGb,IAAA,+BAAgB,EAAC,wEAAwB,CAAC,CAAC;AAChD,QAAA,qBAAqB,GAGhB,IAAA,+BAAgB,EAAC,2EAA2B,CAAC,CAAC;AACnD,QAAA,qBAAqB,GAGhB,IAAA,+BAAgB,EAAC,2EAA2B,CAAC,CAAC;AACnD,QAAA,qBAAqB,GAGhB,IAAA,+BAAgB,EAAC,2EAA2B,CAAC,CAAC;AACnD,QAAA,iBAAiB,GAGZ,IAAA,+BAAgB,EAAC,uEAAuB,CAAC,CAAC;AAC/C,QAAA,oBAAoB,GAGf,IAAA,+BAAgB,EAAC,0EAA0B,CAAC,CAAC;AAClD,QAAA,oBAAoB,GAGf,IAAA,+BAAgB,EAAC,0EAA0B,CAAC,CAAC;AAClD,QAAA,kBAAkB,GAGb,IAAA,+BAAgB,EAAC,wEAAwB,CAAC,CAAC;AAChD,QAAA,qBAAqB,GAGhB,IAAA,+BAAgB,EAAC,2EAA2B,CAAC,CAAC;AACnD,QAAA,qBAAqB,GAGhB,IAAA,+BAAgB,EAAC,2EAA2B,CAAC,CAAC;AACnD,QAAA,0BAA0B,GAGrB,IAAA,+BAAgB,EAAC,gFAAgC,CAAC,CAAC;AACxD,QAAA,6BAA6B,GAGxB,IAAA,+BAAgB,EAAC,mFAAmC,CAAC,CAAC;AAC3D,QAAA,oBAAoB,GAGf,IAAA,+BAAgB,EAAC,0EAA0B,CAAC,CAAC;AAClD,QAAA,qBAAqB,GAGhB,IAAA,+BAAgB,EAAC,2EAA2B,CAAC,CAAC;AACnD,QAAA,oBAAoB,GAGf,IAAA,+BAAgB,EAAC,0EAA0B,CAAC,CAAC;AAE/D,mIASkE;AARhE,oJAAA,UAAU,OAAA;AACV,mJAAA,SAAS,OAAA;AACT,0JAAA,gBAAgB,OAAA;AAChB,+IAAA,KAAK,OAAA;AACL,4JAAA,kBAAkB,OAAA;AAClB,mJAAA,SAAS,OAAA;AACT,sJAAA,YAAY,OAAA;AACZ,6JAAA,mBAAmB,OAAA"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
-
/**
|
|
3
|
-
* Creates a DeliveryProfile.
|
|
4
|
-
*
|
|
5
|
-
* The request body must include the DeliveryProfiles name. DeliveryRegions are optional.
|
|
6
|
-
*/
|
|
7
|
-
export declare function createDeliveryProfile(payload: object): RequestOptionsFactory<any>;
|
|
8
|
-
/** Retrieves a DeliveryProfile. */
|
|
9
|
-
export declare function getDeliveryProfile(payload: object): RequestOptionsFactory<any>;
|
|
10
|
-
/**
|
|
11
|
-
* Updates a DeliveryProfile.
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* Each time the DeliveryProfile is updated,
|
|
15
|
-
* `revision` increments by 1.
|
|
16
|
-
* The current `revision` must be passed when updating the DeliveryProfile.
|
|
17
|
-
* This ensures you're working with the latest DeliveryProfile
|
|
18
|
-
* and prevents unintended overwrites.
|
|
19
|
-
*
|
|
20
|
-
* This method does not allow updating the DeliveryRegions in this DeliveryProfile.
|
|
21
|
-
* Use AddDeliveryRegion, UpdateDeliveryRegion and RemoveDeliveryRegion for these functionalities.
|
|
22
|
-
*/
|
|
23
|
-
export declare function updateDeliveryProfile(payload: object): RequestOptionsFactory<any>;
|
|
24
|
-
/**
|
|
25
|
-
* Deletes a DeliveryProfile.
|
|
26
|
-
*
|
|
27
|
-
* Deleting a DeliveryProfile permanently removes them from the DeliveryProfile List.
|
|
28
|
-
*/
|
|
29
|
-
export declare function deleteDeliveryProfile(payload: object): RequestOptionsFactory<any>;
|
|
30
|
-
/**
|
|
31
|
-
* Retrieves a list of DeliveryProfiles, given the provided [paging, filtering, and sorting][1].
|
|
32
|
-
*
|
|
33
|
-
* Up to 1,000 DeliveryProfiles can be returned per request.
|
|
34
|
-
*
|
|
35
|
-
* To learn how to query DeliveryProfiles, see [API Query Language][2].
|
|
36
|
-
*
|
|
37
|
-
* [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging
|
|
38
|
-
* [2]: https://dev.wix.com/api/rest/getting-started/api-query-language
|
|
39
|
-
*/
|
|
40
|
-
export declare function queryDeliveryProfiles(payload: object): RequestOptionsFactory<any>;
|
|
41
|
-
/** Creates a new DeliveryRegion in an existing DeliveryProfile. */
|
|
42
|
-
export declare function addDeliveryRegion(payload: object): RequestOptionsFactory<any>;
|
|
43
|
-
/**
|
|
44
|
-
* Update a DeliveryRegion, supports partial update
|
|
45
|
-
* Pass the latest `revision` for a successful update
|
|
46
|
-
*
|
|
47
|
-
* This method does not allow setting or updating the delivery delivery_carriers in this delivery_region.
|
|
48
|
-
* Use AddDeliveryCarrier, UpdateDeliveryCarrier and RemoveDeliveryCarrier for these functionalities.
|
|
49
|
-
*/
|
|
50
|
-
export declare function updateDeliveryRegion(payload: object): RequestOptionsFactory<any>;
|
|
51
|
-
/** Delete a DeliveryRegion */
|
|
52
|
-
export declare function removeDeliveryRegion(payload: object): RequestOptionsFactory<any>;
|
|
53
|
-
/** Add a delivery_carrier to a delivery region */
|
|
54
|
-
export declare function addDeliveryCarrier(payload: object): RequestOptionsFactory<any>;
|
|
55
|
-
/** Remove a delivery_carrier from a delivery region */
|
|
56
|
-
export declare function removeDeliveryCarrier(payload: object): RequestOptionsFactory<any>;
|
|
57
|
-
/** Update a delivery carrier in a delivery region */
|
|
58
|
-
export declare function updateDeliveryCarrier(payload: object): RequestOptionsFactory<any>;
|
|
59
|
-
/**
|
|
60
|
-
* List all installed delivery carriers in order to set their ids in delivery rules
|
|
61
|
-
* @deprecated It has been replaced with ListInstalledDeliveryCarriers(), and will be removed on 2025-04-01.
|
|
62
|
-
*/
|
|
63
|
-
export declare function listDeliveryCarrierDetails(payload: object): RequestOptionsFactory<any>;
|
|
64
|
-
export declare function listInstalledDeliveryCarriers(payload: object): RequestOptionsFactory<any>;
|
|
65
|
-
/**
|
|
66
|
-
* Get delivery carrier settings for a delivery profile and delivery region.
|
|
67
|
-
* These are returned in a table format for the dashboard.
|
|
68
|
-
*/
|
|
69
|
-
export declare function listDeliveryCarriers(payload: object): RequestOptionsFactory<any>;
|
|
70
|
-
/** Update carrier's external active settings */
|
|
71
|
-
export declare function updateCarrierSettings(payload: object): RequestOptionsFactory<any>;
|
|
72
|
-
/** Updates extended fields of a DeliveryProfile without incrementing revision */
|
|
73
|
-
export declare function updateExtendedFields(payload: object): RequestOptionsFactory<any>;
|