@wix/auto_sdk_ecom_draft-orders 1.0.18 → 1.0.19
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/{es/src/ecom-v1-draft-order-draft-orders.types.d.ts → ecom-v1-draft-order-draft-orders.universal-Ch0BEnrn.d.mts} +429 -336
- package/build/{cjs/src/ecom-v1-draft-order-draft-orders.types.d.ts → ecom-v1-draft-order-draft-orders.universal-Ch0BEnrn.d.ts} +429 -336
- package/build/index.d.mts +232 -0
- package/build/index.d.ts +232 -0
- package/build/index.js +4593 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +4520 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/{cjs/src/ecom-v1-draft-order-draft-orders.types.d.ts → ecom-v1-draft-order-draft-orders.universal-B5CD1SEk.d.mts} +889 -336
- package/build/internal/{es/src/ecom-v1-draft-order-draft-orders.types.d.ts → ecom-v1-draft-order-draft-orders.universal-B5CD1SEk.d.ts} +889 -336
- package/build/internal/index.d.mts +232 -0
- package/build/internal/index.d.ts +232 -0
- package/build/internal/index.js +4593 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +4520 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +2751 -0
- package/build/internal/meta.d.ts +2751 -0
- package/build/internal/meta.js +3323 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +3275 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/meta.d.mts +2751 -0
- package/build/meta.d.ts +2751 -0
- package/build/meta.js +3323 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +3275 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +13 -12
- 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-draft-order-draft-orders.context.d.ts +0 -26
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.context.js +0 -57
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.context.js.map +0 -1
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.http.d.ts +0 -97
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.http.js +0 -2951
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.http.js.map +0 -1
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.meta.d.ts +0 -60
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.meta.js +0 -446
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.public.d.ts +0 -209
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.public.js +0 -168
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.public.js.map +0 -1
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.types.js +0 -360
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.types.js.map +0 -1
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.universal.d.ts +0 -4099
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.universal.js +0 -1943
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.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-draft-order-draft-orders.context.d.ts +0 -26
- package/build/es/src/ecom-v1-draft-order-draft-orders.context.js +0 -26
- package/build/es/src/ecom-v1-draft-order-draft-orders.context.js.map +0 -1
- package/build/es/src/ecom-v1-draft-order-draft-orders.http.d.ts +0 -97
- package/build/es/src/ecom-v1-draft-order-draft-orders.http.js +0 -2926
- package/build/es/src/ecom-v1-draft-order-draft-orders.http.js.map +0 -1
- package/build/es/src/ecom-v1-draft-order-draft-orders.meta.d.ts +0 -60
- package/build/es/src/ecom-v1-draft-order-draft-orders.meta.js +0 -398
- package/build/es/src/ecom-v1-draft-order-draft-orders.meta.js.map +0 -1
- package/build/es/src/ecom-v1-draft-order-draft-orders.public.d.ts +0 -209
- package/build/es/src/ecom-v1-draft-order-draft-orders.public.js +0 -114
- package/build/es/src/ecom-v1-draft-order-draft-orders.public.js.map +0 -1
- package/build/es/src/ecom-v1-draft-order-draft-orders.types.js +0 -357
- package/build/es/src/ecom-v1-draft-order-draft-orders.types.js.map +0 -1
- package/build/es/src/ecom-v1-draft-order-draft-orders.universal.d.ts +0 -4099
- package/build/es/src/ecom-v1-draft-order-draft-orders.universal.js +0 -1895
- package/build/es/src/ecom-v1-draft-order-draft-orders.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-draft-order-draft-orders.context.d.ts +0 -26
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.context.js +0 -57
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.context.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.http.d.ts +0 -97
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.http.js +0 -2951
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.http.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.meta.d.ts +0 -60
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.meta.js +0 -446
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.meta.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.public.d.ts +0 -209
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.public.js +0 -168
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.public.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.types.js +0 -360
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.types.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.universal.d.ts +0 -4559
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.universal.js +0 -1943
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.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-draft-order-draft-orders.context.d.ts +0 -26
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.context.js +0 -26
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.context.js.map +0 -1
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.http.d.ts +0 -97
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.http.js +0 -2926
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.http.js.map +0 -1
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.meta.d.ts +0 -60
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.meta.js +0 -398
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.meta.js.map +0 -1
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.public.d.ts +0 -209
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.public.js +0 -114
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.public.js.map +0 -1
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.types.js +0 -357
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.types.js.map +0 -1
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.universal.d.ts +0 -4559
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.universal.js +0 -1895
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.universal.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../meta.ts","../src/ecom-v1-draft-order-draft-orders.http.ts","../src/ecom-v1-draft-order-draft-orders.meta.ts"],"sourcesContent":["export * from './src/ecom-v1-draft-order-draft-orders.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { 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 resolveComWixEcomOrdersDraftV1DraftOrdersUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/ecom/v1/draft-orders',\n destPath: '/v1/draft-orders',\n },\n {\n srcPath: '/_api/v1/draft-orders',\n destPath: '/v1/draft-orders',\n },\n {\n srcPath: '/v1/draft-orders',\n destPath: '/v1/draft-orders',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/ecom/v1/draft-orders',\n destPath: '/v1/draft-orders',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_ecom_draft-orders';\n\n/**\n * Creates or gets a draft order.\n *\n * When passing the ID of an order that is already in draft, the existing draft order will be returned.\n * To complete a draft and update the order, call [Commit Draft Order](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/draft-orders/commit-draft-order).\n */\nexport function createDraftOrder(payload: object): RequestOptionsFactory<any> {\n function __createDraftOrder({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'POST' as any,\n methodFqn: 'com.wix.ecom.orders.draft.v1.DraftOrders.CreateDraftOrder',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'calculatedDraftOrder.draftOrder.createdDate' },\n { path: 'calculatedDraftOrder.draftOrder.updatedDate' },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.urlExpirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.digitalFile.expirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.to',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.x',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.y',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.physicalProperties.weight',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createDraftOrder;\n}\n\n/** Creates an empty draft order. */\nexport function createEmptyDraftOrder(\n payload: object\n): RequestOptionsFactory<any> {\n function __createEmptyDraftOrder({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.ecom.orders.draft.v1.DraftOrders.CreateEmptyDraftOrder',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders/create-empty-draft-order',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'calculatedDraftOrder.draftOrder.createdDate' },\n { path: 'calculatedDraftOrder.draftOrder.updatedDate' },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.urlExpirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.digitalFile.expirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.to',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.x',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.y',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.physicalProperties.weight',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createEmptyDraftOrder;\n}\n\n/** Adds line items to a draft order. */\nexport function addLineItemsToDraftOrder(\n payload: object\n): RequestOptionsFactory<any> {\n function __addLineItemsToDraftOrder({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'customLineItems.media.urlExpirationDate' }],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'customLineItems.media.focalPoint.x' },\n { path: 'customLineItems.media.focalPoint.y' },\n { path: 'customLineItems.physicalProperties.weight' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.ecom.orders.draft.v1.DraftOrders.AddLineItemsToDraftOrder',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders/{draftOrderId}/add-line-items',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'calculatedDraftOrder.draftOrder.createdDate' },\n { path: 'calculatedDraftOrder.draftOrder.updatedDate' },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.urlExpirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.digitalFile.expirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.to',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.x',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.y',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.physicalProperties.weight',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __addLineItemsToDraftOrder;\n}\n\n/**\n * Updates a draft order's line items.\n *\n * Using this API, you can update a line item's quantity, price, and description.\n * > **Notes:**\n * > + Passing a quantity of `0` will remove the line item.\n * > + Price cannot be updated for line items with `paymentOption: MEMBERSHIP`.\n * > + Quantity cannot be decreased fulfilled line items. To get fulfillment information, pass the order ID to [List Fulfillments For Single Order](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/order-fulfillments/list-fulfillments-for-single-order).\n */\nexport function updateLineItems(payload: object): RequestOptionsFactory<any> {\n function __updateLineItems({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'POST' as any,\n methodFqn: 'com.wix.ecom.orders.draft.v1.DraftOrders.UpdateLineItems',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders/{draftOrderId}/line-items',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'calculatedDraftOrder.draftOrder.createdDate' },\n { path: 'calculatedDraftOrder.draftOrder.updatedDate' },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.urlExpirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.digitalFile.expirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.to',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.x',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.y',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.physicalProperties.weight',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateLineItems;\n}\n\n/**\n * Sets and enables or disables discounts on a draft order.\n *\n * Any discounts not passed will not change.\n */\nexport function setDiscounts(payload: object): RequestOptionsFactory<any> {\n function __setDiscounts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'POST' as any,\n methodFqn: 'com.wix.ecom.orders.draft.v1.DraftOrders.SetDiscounts',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders/{draftOrderId}/set-discounts',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'calculatedDraftOrder.draftOrder.createdDate' },\n { path: 'calculatedDraftOrder.draftOrder.updatedDate' },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.urlExpirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.digitalFile.expirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.to',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.x',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.y',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.physicalProperties.weight',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __setDiscounts;\n}\n\n/** Adds merchant discounts to the order. */\nexport function createCustomDiscounts(\n payload: object\n): RequestOptionsFactory<any> {\n function __createCustomDiscounts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.ecom.orders.draft.v1.DraftOrders.CreateCustomDiscounts',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders/{draftOrderId}/create-custom-discounts',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'calculatedDraftOrder.draftOrder.createdDate' },\n { path: 'calculatedDraftOrder.draftOrder.updatedDate' },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.urlExpirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.digitalFile.expirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.to',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.x',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.y',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.physicalProperties.weight',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createCustomDiscounts;\n}\n\n/** Remove custom discounts from the order. */\nexport function deleteCustomDiscounts(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteCustomDiscounts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.ecom.orders.draft.v1.DraftOrders.DeleteCustomDiscounts',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders/{draftOrderId}/delete-custom-discounts',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'calculatedDraftOrder.draftOrder.createdDate' },\n { path: 'calculatedDraftOrder.draftOrder.updatedDate' },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.urlExpirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.digitalFile.expirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.to',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.x',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.y',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.physicalProperties.weight',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __deleteCustomDiscounts;\n}\n\n/**\n * Set which additional fees existing on the draft order are to be opt-in.\n * All existing additional fees not provided on the call are opted-out.\n */\nexport function setAdditionalFees(payload: object): RequestOptionsFactory<any> {\n function __setAdditionalFees({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'POST' as any,\n methodFqn: 'com.wix.ecom.orders.draft.v1.DraftOrders.SetAdditionalFees',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders/{draftOrderId}/set-additional-fees',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'calculatedDraftOrder.draftOrder.createdDate' },\n { path: 'calculatedDraftOrder.draftOrder.updatedDate' },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.urlExpirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.digitalFile.expirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.to',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.x',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.y',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.physicalProperties.weight',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __setAdditionalFees;\n}\n\n/**\n * Create custom additional fees to the order.\n * added additional fees are by default opted-out.\n * To opt-in them, please call SetAdditionalFees with the added additional fee ids.\n */\nexport function createCustomAdditionalFees(\n payload: object\n): RequestOptionsFactory<any> {\n function __createCustomAdditionalFees({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.ecom.orders.draft.v1.DraftOrders.CreateCustomAdditionalFees',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders/{draftOrderId}/create-additional-fees',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'calculatedDraftOrder.draftOrder.createdDate' },\n { path: 'calculatedDraftOrder.draftOrder.updatedDate' },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.urlExpirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.digitalFile.expirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.to',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.x',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.y',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.physicalProperties.weight',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createCustomAdditionalFees;\n}\n\n/** Remove custom additional fees from the order. */\nexport function deleteCustomAdditionalFees(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteCustomAdditionalFees({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.ecom.orders.draft.v1.DraftOrders.DeleteCustomAdditionalFees',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath:\n '/v1/draft-orders/{draftOrderId}/delete-custom-additional-fees',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'calculatedDraftOrder.draftOrder.createdDate' },\n { path: 'calculatedDraftOrder.draftOrder.updatedDate' },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.urlExpirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.digitalFile.expirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.to',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.x',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.y',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.physicalProperties.weight',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __deleteCustomAdditionalFees;\n}\n\n/** Sets shipping info to a draft order. */\nexport function setShippingInfo(payload: object): RequestOptionsFactory<any> {\n function __setShippingInfo({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'shippingInfo.logistics.deliverByDate' },\n { path: 'shippingInfo.logistics.deliveryTimeSlot.from' },\n { path: 'shippingInfo.logistics.deliveryTimeSlot.to' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n {\n path: 'shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'PUT' as any,\n methodFqn: 'com.wix.ecom.orders.draft.v1.DraftOrders.SetShippingInfo',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders/set-shipping-info',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'calculatedDraftOrder.draftOrder.createdDate' },\n { path: 'calculatedDraftOrder.draftOrder.updatedDate' },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.urlExpirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.digitalFile.expirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.to',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.x',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.y',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.physicalProperties.weight',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __setShippingInfo;\n}\n\n/** Sets buyer info to a draft order. */\nexport function setBuyerInfo(payload: object): RequestOptionsFactory<any> {\n function __setBuyerInfo({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'PUT' as any,\n methodFqn: 'com.wix.ecom.orders.draft.v1.DraftOrders.SetBuyerInfo',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders/set-buyer-info',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'calculatedDraftOrder.draftOrder.createdDate' },\n { path: 'calculatedDraftOrder.draftOrder.updatedDate' },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.urlExpirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.digitalFile.expirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.to',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.x',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.y',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.physicalProperties.weight',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __setBuyerInfo;\n}\n\n/** Sets recipient info to a draft order. */\nexport function setRecipientInfo(payload: object): RequestOptionsFactory<any> {\n function __setRecipientInfo({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'recipientInfo.address.geocode.latitude' },\n { path: 'recipientInfo.address.geocode.longitude' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'PUT' as any,\n methodFqn: 'com.wix.ecom.orders.draft.v1.DraftOrders.SetRecipientInfo',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders/set-recipient-info',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'calculatedDraftOrder.draftOrder.createdDate' },\n { path: 'calculatedDraftOrder.draftOrder.updatedDate' },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.urlExpirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.digitalFile.expirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.to',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.x',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.y',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.physicalProperties.weight',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __setRecipientInfo;\n}\n\n/** Sets billing info to a draft order. */\nexport function setBillingInfo(payload: object): RequestOptionsFactory<any> {\n function __setBillingInfo({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'billingInfo.address.geocode.latitude' },\n { path: 'billingInfo.address.geocode.longitude' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'PUT' as any,\n methodFqn: 'com.wix.ecom.orders.draft.v1.DraftOrders.SetBillingInfo',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders/set-billing-info',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'calculatedDraftOrder.draftOrder.createdDate' },\n { path: 'calculatedDraftOrder.draftOrder.updatedDate' },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.urlExpirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.digitalFile.expirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.to',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.x',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.y',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.physicalProperties.weight',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __setBillingInfo;\n}\n\n/**\n * Get an order.\n * When order is in draft status, it's re-estimated and return with latest tax and totals\n * Automatic discounts and automatic additional fees will reflect the latest prices and eligibility.\n * Calculation will be based on current draft order content - items, shipping info and eligible discounts and additional fees.\n * When order is in committed status, it's returned with it's calculation at the moment it was committed.\n */\nexport function getDraftOrder(payload: object): RequestOptionsFactory<any> {\n function __getDraftOrder({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'GET' as any,\n methodFqn: 'com.wix.ecom.orders.draft.v1.DraftOrders.GetDraftOrder',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders/{draftOrderId}',\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: 'calculatedDraftOrder.draftOrder.createdDate' },\n { path: 'calculatedDraftOrder.draftOrder.updatedDate' },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.urlExpirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.digitalFile.expirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.to',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.x',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.y',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.physicalProperties.weight',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.longitude',\n },\n ],\n },\n ]),\n fallback: [\n {\n method: 'GET' as any,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders/{draftOrderId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n },\n ],\n };\n\n return metadata;\n }\n\n return __getDraftOrder;\n}\n\n/** Checks whether a draft can be created for this order */\nexport function getOrderDraftabilityStatus(\n payload: object\n): RequestOptionsFactory<any> {\n function __getOrderDraftabilityStatus({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'GET' as any,\n methodFqn:\n 'com.wix.ecom.orders.draft.v1.DraftOrders.GetOrderDraftabilityStatus',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders/{orderId}/draftability',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getOrderDraftabilityStatus;\n}\n\n/**\n * Commit latest changes to the baseline order and control what side-effects will be applied.\n * Commit cannot be undone or reverted.\n * Order-edit become closed for editing, however it's kept for reference and can be retrieved.\n */\nexport function commitDraftOrder(payload: object): RequestOptionsFactory<any> {\n function __commitDraftOrder({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'POST' as any,\n methodFqn: 'com.wix.ecom.orders.draft.v1.DraftOrders.CommitDraftOrder',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders/{draftOrderId}/commit',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'committedDraftOrder.createdDate' },\n { path: 'committedDraftOrder.updatedDate' },\n {\n path: 'committedDraftOrder.lineItems.lineItem.image.urlExpirationDate',\n },\n {\n path: 'committedDraftOrder.lineItems.lineItem.digitalFile.expirationDate',\n },\n {\n path: 'committedDraftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate',\n },\n {\n path: 'committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate',\n },\n {\n path: 'committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'committedDraftOrder.shippingInfo.shippingInfo.logistics.deliverByDate',\n },\n {\n path: 'committedDraftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'committedDraftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n { path: 'orderAfterCommit.createdDate' },\n { path: 'orderAfterCommit.updatedDate' },\n { path: 'orderAfterCommit.purchasedDate' },\n { path: 'orderAfterCommit.lineItems.image.urlExpirationDate' },\n { path: 'orderAfterCommit.lineItems.digitalFile.expirationDate' },\n {\n path: 'orderAfterCommit.lineItems.subscriptionInfo.subscriptionSettings.startDate',\n },\n { path: 'orderAfterCommit.shippingInfo.logistics.deliverByDate' },\n {\n path: 'orderAfterCommit.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'orderAfterCommit.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n { path: 'orderAfterCommit.activities.createdDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'committedDraftOrder.lineItems.lineItem.image.focalPoint.x',\n },\n {\n path: 'committedDraftOrder.lineItems.lineItem.image.focalPoint.y',\n },\n { path: 'orderAfterCommit.lineItems.image.focalPoint.x' },\n { path: 'orderAfterCommit.lineItems.image.focalPoint.y' },\n {\n path: 'committedDraftOrder.lineItems.lineItem.physicalProperties.weight',\n },\n {\n path: 'committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'committedDraftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'committedDraftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'committedDraftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'committedDraftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'committedDraftOrder.billingInfo.address.geocode.latitude',\n },\n {\n path: 'committedDraftOrder.billingInfo.address.geocode.longitude',\n },\n {\n path: 'committedDraftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'committedDraftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'committedDraftOrder.recipientInfo.recipientInfo.address.geocode.latitude',\n },\n {\n path: 'committedDraftOrder.recipientInfo.recipientInfo.address.geocode.longitude',\n },\n {\n path: 'committedDraftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'committedDraftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'committedDraftOrder.billingDetails.billingInfo.address.geocode.latitude',\n },\n {\n path: 'committedDraftOrder.billingDetails.billingInfo.address.geocode.longitude',\n },\n { path: 'orderAfterCommit.lineItems.physicalProperties.weight' },\n { path: 'orderAfterCommit.billingInfo.address.geocode.latitude' },\n {\n path: 'orderAfterCommit.billingInfo.address.geocode.longitude',\n },\n {\n path: 'orderAfterCommit.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'orderAfterCommit.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'orderAfterCommit.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'orderAfterCommit.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'orderAfterCommit.recipientInfo.address.geocode.latitude',\n },\n {\n path: 'orderAfterCommit.recipientInfo.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __commitDraftOrder;\n}\n\n/**\n * Create new order and control what side-effects will be applied\n * Commit cannot be undone or reverted.\n * Order-edit become closed for editing, however it's kept for reference and can be retrieved.\n */\nexport function createOrderFromDraft(\n payload: object\n): RequestOptionsFactory<any> {\n function __createOrderFromDraft({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.ecom.orders.draft.v1.DraftOrders.CreateOrderFromDraft',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders/{draftOrderId}/create-order',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'committedDraftOrder.createdDate' },\n { path: 'committedDraftOrder.updatedDate' },\n {\n path: 'committedDraftOrder.lineItems.lineItem.image.urlExpirationDate',\n },\n {\n path: 'committedDraftOrder.lineItems.lineItem.digitalFile.expirationDate',\n },\n {\n path: 'committedDraftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate',\n },\n {\n path: 'committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate',\n },\n {\n path: 'committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'committedDraftOrder.shippingInfo.shippingInfo.logistics.deliverByDate',\n },\n {\n path: 'committedDraftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'committedDraftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n { path: 'createdOrder.createdDate' },\n { path: 'createdOrder.updatedDate' },\n { path: 'createdOrder.purchasedDate' },\n { path: 'createdOrder.lineItems.image.urlExpirationDate' },\n { path: 'createdOrder.lineItems.digitalFile.expirationDate' },\n {\n path: 'createdOrder.lineItems.subscriptionInfo.subscriptionSettings.startDate',\n },\n { path: 'createdOrder.shippingInfo.logistics.deliverByDate' },\n {\n path: 'createdOrder.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'createdOrder.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n { path: 'createdOrder.activities.createdDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'committedDraftOrder.lineItems.lineItem.image.focalPoint.x',\n },\n {\n path: 'committedDraftOrder.lineItems.lineItem.image.focalPoint.y',\n },\n { path: 'createdOrder.lineItems.image.focalPoint.x' },\n { path: 'createdOrder.lineItems.image.focalPoint.y' },\n {\n path: 'committedDraftOrder.lineItems.lineItem.physicalProperties.weight',\n },\n {\n path: 'committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'committedDraftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'committedDraftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'committedDraftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'committedDraftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'committedDraftOrder.billingInfo.address.geocode.latitude',\n },\n {\n path: 'committedDraftOrder.billingInfo.address.geocode.longitude',\n },\n {\n path: 'committedDraftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'committedDraftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'committedDraftOrder.recipientInfo.recipientInfo.address.geocode.latitude',\n },\n {\n path: 'committedDraftOrder.recipientInfo.recipientInfo.address.geocode.longitude',\n },\n {\n path: 'committedDraftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'committedDraftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'committedDraftOrder.billingDetails.billingInfo.address.geocode.latitude',\n },\n {\n path: 'committedDraftOrder.billingDetails.billingInfo.address.geocode.longitude',\n },\n { path: 'createdOrder.lineItems.physicalProperties.weight' },\n { path: 'createdOrder.billingInfo.address.geocode.latitude' },\n { path: 'createdOrder.billingInfo.address.geocode.longitude' },\n {\n path: 'createdOrder.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'createdOrder.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'createdOrder.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'createdOrder.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n { path: 'createdOrder.recipientInfo.address.geocode.latitude' },\n { path: 'createdOrder.recipientInfo.address.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createOrderFromDraft;\n}\n\n/**\n * Delete order-edit entity with all pending changes.\n * Order-edit in status 'COMMITTED' cannot be deleted.\n */\nexport function deleteDraftOrder(payload: object): RequestOptionsFactory<any> {\n function __deleteDraftOrder({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'DELETE' as any,\n methodFqn: 'com.wix.ecom.orders.draft.v1.DraftOrders.DeleteDraftOrder',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders/{draftOrderId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteDraftOrder;\n}\n\n/**\n * Retrieves a list of draft orders given the provided paging, filtering, and sorting. Up to 100 draft orders can be returned per request.\n *\n * Refer to the table below for supported fields, filters, and sorting:\n * | **Property** | **Supported Filters & Sorting** | **Sortable** |\n * |----------------|---------------------------------------------------------------------------------|--------------|\n * | `_createdDate` | `eq()`, `ne()`, `exists()`, `in()`, `hasSome()`, `lt()`, `le()`, `gt()`, `ge()` | Sortable |\n * | `_updatedDate` | `eq()`, `ne()`, `exists()`, `in()`, `hasSome()`, `lt()`, `le()`, `gt()`, `ge()` | Sortable |\n * | `status` | `eq()`, `ne()`, `exists()`, `in()`, `hasSome()` | Sortable |\n * | `orderId` | `eq()`, `ne()`, `exists()`, `in()`, `hasSome()`, `startsWith()` | |\n * To learn how to query draft orders, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).\n */\nexport function queryDraftOrders(payload: object): RequestOptionsFactory<any> {\n function __queryDraftOrders({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'POST' as any,\n methodFqn: 'com.wix.ecom.orders.draft.v1.DraftOrders.QueryDraftOrders',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders/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: 'draftOrders.createdDate' },\n { path: 'draftOrders.updatedDate' },\n {\n path: 'draftOrders.lineItems.lineItem.image.urlExpirationDate',\n },\n {\n path: 'draftOrders.lineItems.lineItem.digitalFile.expirationDate',\n },\n {\n path: 'draftOrders.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate',\n },\n {\n path: 'draftOrders.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate',\n },\n {\n path: 'draftOrders.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'draftOrders.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'draftOrders.shippingInfo.shippingInfo.logistics.deliverByDate',\n },\n {\n path: 'draftOrders.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'draftOrders.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'draftOrders.lineItems.lineItem.image.focalPoint.x' },\n { path: 'draftOrders.lineItems.lineItem.image.focalPoint.y' },\n {\n path: 'draftOrders.lineItems.lineItem.physicalProperties.weight',\n },\n {\n path: 'draftOrders.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'draftOrders.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'draftOrders.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'draftOrders.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'draftOrders.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'draftOrders.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'draftOrders.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'draftOrders.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n { path: 'draftOrders.billingInfo.address.geocode.latitude' },\n { path: 'draftOrders.billingInfo.address.geocode.longitude' },\n {\n path: 'draftOrders.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'draftOrders.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'draftOrders.recipientInfo.recipientInfo.address.geocode.latitude',\n },\n {\n path: 'draftOrders.recipientInfo.recipientInfo.address.geocode.longitude',\n },\n {\n path: 'draftOrders.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'draftOrders.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'draftOrders.billingDetails.billingInfo.address.geocode.latitude',\n },\n {\n path: 'draftOrders.billingDetails.billingInfo.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryDraftOrders;\n}\n\n/** Sets tax exemption to a draft order. */\nexport function setTaxExemption(payload: object): RequestOptionsFactory<any> {\n function __setTaxExemption({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'PUT' as any,\n methodFqn: 'com.wix.ecom.orders.draft.v1.DraftOrders.SetTaxExemption',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders/set-tax-exemption',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'calculatedDraftOrder.draftOrder.createdDate' },\n { path: 'calculatedDraftOrder.draftOrder.updatedDate' },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.urlExpirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.digitalFile.expirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.to',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.x',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.y',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.physicalProperties.weight',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __setTaxExemption;\n}\n\n/** Sets business location to a draft order. */\nexport function setBusinessLocation(\n payload: object\n): RequestOptionsFactory<any> {\n function __setBusinessLocation({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.draft_order',\n method: 'PUT' as any,\n methodFqn: 'com.wix.ecom.orders.draft.v1.DraftOrders.SetBusinessLocation',\n packageName: PACKAGE_NAME,\n url: resolveComWixEcomOrdersDraftV1DraftOrdersUrl({\n protoPath: '/v1/draft-orders/set-business-location',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'calculatedDraftOrder.draftOrder.createdDate' },\n { path: 'calculatedDraftOrder.draftOrder.updatedDate' },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.urlExpirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.digitalFile.expirationDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliverByDate',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.from',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.to',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.x',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.image.focalPoint.y',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.lineItems.lineItem.physicalProperties.weight',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.shippingDestination.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.pickupDetails.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.changedDetails.recipientInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.recipientInfo.recipientInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.changedDetails.billingInfoBeforeChange.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.draftOrder.billingDetails.billingInfo.address.geocode.longitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.latitude',\n },\n {\n path: 'calculatedDraftOrder.shippingOptions.logistics.pickupDetails.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __setBusinessLocation;\n}\n","import * as ambassadorWixEcomV1DraftOrder from './ecom-v1-draft-order-draft-orders.http.js';\nimport * as ambassadorWixEcomV1DraftOrderTypes from './ecom-v1-draft-order-draft-orders.types.js';\nimport * as ambassadorWixEcomV1DraftOrderUniversalTypes from './ecom-v1-draft-order-draft-orders.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 createDraftOrder(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1DraftOrderUniversalTypes.CreateDraftOrderRequest,\n ambassadorWixEcomV1DraftOrderTypes.CreateDraftOrderRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.CreateDraftOrderResponse,\n ambassadorWixEcomV1DraftOrderTypes.CreateDraftOrderResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DraftOrder.createDraftOrder(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/draft-orders',\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 createEmptyDraftOrder(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1DraftOrderUniversalTypes.CreateEmptyDraftOrderRequest,\n ambassadorWixEcomV1DraftOrderTypes.CreateEmptyDraftOrderRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.CreateEmptyDraftOrderResponse,\n ambassadorWixEcomV1DraftOrderTypes.CreateEmptyDraftOrderResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DraftOrder.createEmptyDraftOrder(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/draft-orders/create-empty-draft-order',\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 addLineItemsToDraftOrder(): __PublicMethodMetaInfo<\n 'POST',\n { draftOrderId: string },\n ambassadorWixEcomV1DraftOrderUniversalTypes.AddLineItemsToDraftOrderRequest,\n ambassadorWixEcomV1DraftOrderTypes.AddLineItemsToDraftOrderRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.AddLineItemsToDraftOrderResponse,\n ambassadorWixEcomV1DraftOrderTypes.AddLineItemsToDraftOrderResponse\n> {\n const payload = { draftOrderId: ':draftOrderId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DraftOrder.addLineItemsToDraftOrder(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/draft-orders/{draftOrderId}/add-line-items',\n pathParams: { draftOrderId: 'draftOrderId' },\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 updateLineItems(): __PublicMethodMetaInfo<\n 'POST',\n { draftOrderId: string },\n ambassadorWixEcomV1DraftOrderUniversalTypes.UpdateLineItemsRequest,\n ambassadorWixEcomV1DraftOrderTypes.UpdateLineItemsRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.UpdateLineItemsResponse,\n ambassadorWixEcomV1DraftOrderTypes.UpdateLineItemsResponse\n> {\n const payload = { draftOrderId: ':draftOrderId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DraftOrder.updateLineItems(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/draft-orders/{draftOrderId}/line-items',\n pathParams: { draftOrderId: 'draftOrderId' },\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 setDiscounts(): __PublicMethodMetaInfo<\n 'POST',\n { draftOrderId: string },\n ambassadorWixEcomV1DraftOrderUniversalTypes.SetDiscountsRequest,\n ambassadorWixEcomV1DraftOrderTypes.SetDiscountsRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.SetDiscountsResponse,\n ambassadorWixEcomV1DraftOrderTypes.SetDiscountsResponse\n> {\n const payload = { draftOrderId: ':draftOrderId' } as any;\n\n const getRequestOptions = ambassadorWixEcomV1DraftOrder.setDiscounts(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/draft-orders/{draftOrderId}/set-discounts',\n pathParams: { draftOrderId: 'draftOrderId' },\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 createCustomDiscounts(): __PublicMethodMetaInfo<\n 'POST',\n { draftOrderId: string },\n ambassadorWixEcomV1DraftOrderUniversalTypes.CreateCustomDiscountsRequest,\n ambassadorWixEcomV1DraftOrderTypes.CreateCustomDiscountsRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.CreateCustomDiscountsResponse,\n ambassadorWixEcomV1DraftOrderTypes.CreateCustomDiscountsResponse\n> {\n const payload = { draftOrderId: ':draftOrderId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DraftOrder.createCustomDiscounts(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/draft-orders/{draftOrderId}/create-custom-discounts',\n pathParams: { draftOrderId: 'draftOrderId' },\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 deleteCustomDiscounts(): __PublicMethodMetaInfo<\n 'POST',\n { draftOrderId: string },\n ambassadorWixEcomV1DraftOrderUniversalTypes.DeleteCustomDiscountsRequest,\n ambassadorWixEcomV1DraftOrderTypes.DeleteCustomDiscountsRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.DeleteCustomDiscountsResponse,\n ambassadorWixEcomV1DraftOrderTypes.DeleteCustomDiscountsResponse\n> {\n const payload = { draftOrderId: ':draftOrderId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DraftOrder.deleteCustomDiscounts(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/draft-orders/{draftOrderId}/delete-custom-discounts',\n pathParams: { draftOrderId: 'draftOrderId' },\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 setAdditionalFees(): __PublicMethodMetaInfo<\n 'POST',\n { draftOrderId: string },\n ambassadorWixEcomV1DraftOrderUniversalTypes.SetAdditionalFeesRequest,\n ambassadorWixEcomV1DraftOrderTypes.SetAdditionalFeesRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.SetAdditionalFeesResponse,\n ambassadorWixEcomV1DraftOrderTypes.SetAdditionalFeesResponse\n> {\n const payload = { draftOrderId: ':draftOrderId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DraftOrder.setAdditionalFees(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/draft-orders/{draftOrderId}/set-additional-fees',\n pathParams: { draftOrderId: 'draftOrderId' },\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 createCustomAdditionalFees(): __PublicMethodMetaInfo<\n 'POST',\n { draftOrderId: string },\n ambassadorWixEcomV1DraftOrderUniversalTypes.CreateCustomAdditionalFeesRequest,\n ambassadorWixEcomV1DraftOrderTypes.CreateCustomAdditionalFeesRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.CreateCustomAdditionalFeesResponse,\n ambassadorWixEcomV1DraftOrderTypes.CreateCustomAdditionalFeesResponse\n> {\n const payload = { draftOrderId: ':draftOrderId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DraftOrder.createCustomAdditionalFees(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/draft-orders/{draftOrderId}/create-additional-fees',\n pathParams: { draftOrderId: 'draftOrderId' },\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 deleteCustomAdditionalFees(): __PublicMethodMetaInfo<\n 'POST',\n { draftOrderId: string },\n ambassadorWixEcomV1DraftOrderUniversalTypes.DeleteCustomAdditionalFeesRequest,\n ambassadorWixEcomV1DraftOrderTypes.DeleteCustomAdditionalFeesRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.DeleteCustomAdditionalFeesResponse,\n ambassadorWixEcomV1DraftOrderTypes.DeleteCustomAdditionalFeesResponse\n> {\n const payload = { draftOrderId: ':draftOrderId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DraftOrder.deleteCustomAdditionalFees(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/draft-orders/{draftOrderId}/delete-custom-additional-fees',\n pathParams: { draftOrderId: 'draftOrderId' },\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 setShippingInfo(): __PublicMethodMetaInfo<\n 'PUT',\n {},\n ambassadorWixEcomV1DraftOrderUniversalTypes.SetShippingInfoRequest,\n ambassadorWixEcomV1DraftOrderTypes.SetShippingInfoRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.SetShippingInfoResponse,\n ambassadorWixEcomV1DraftOrderTypes.SetShippingInfoResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DraftOrder.setShippingInfo(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PUT',\n path: '/v1/draft-orders/set-shipping-info',\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 setBuyerInfo(): __PublicMethodMetaInfo<\n 'PUT',\n {},\n ambassadorWixEcomV1DraftOrderUniversalTypes.SetBuyerInfoRequest,\n ambassadorWixEcomV1DraftOrderTypes.SetBuyerInfoRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.SetBuyerInfoResponse,\n ambassadorWixEcomV1DraftOrderTypes.SetBuyerInfoResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixEcomV1DraftOrder.setBuyerInfo(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PUT',\n path: '/v1/draft-orders/set-buyer-info',\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 setRecipientInfo(): __PublicMethodMetaInfo<\n 'PUT',\n {},\n ambassadorWixEcomV1DraftOrderUniversalTypes.SetRecipientInfoRequest,\n ambassadorWixEcomV1DraftOrderTypes.SetRecipientInfoRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.SetRecipientInfoResponse,\n ambassadorWixEcomV1DraftOrderTypes.SetRecipientInfoResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DraftOrder.setRecipientInfo(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PUT',\n path: '/v1/draft-orders/set-recipient-info',\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 setBillingInfo(): __PublicMethodMetaInfo<\n 'PUT',\n {},\n ambassadorWixEcomV1DraftOrderUniversalTypes.SetBillingInfoRequest,\n ambassadorWixEcomV1DraftOrderTypes.SetBillingInfoRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.SetBillingInfoResponse,\n ambassadorWixEcomV1DraftOrderTypes.SetBillingInfoResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DraftOrder.setBillingInfo(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PUT',\n path: '/v1/draft-orders/set-billing-info',\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 getDraftOrder(): __PublicMethodMetaInfo<\n 'GET',\n { draftOrderId: string },\n ambassadorWixEcomV1DraftOrderUniversalTypes.GetDraftOrderRequest,\n ambassadorWixEcomV1DraftOrderTypes.GetDraftOrderRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.GetDraftOrderResponse,\n ambassadorWixEcomV1DraftOrderTypes.GetDraftOrderResponse\n> {\n const payload = { draftOrderId: ':draftOrderId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DraftOrder.getDraftOrder(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/draft-orders/{draftOrderId}',\n pathParams: { draftOrderId: 'draftOrderId' },\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 getOrderDraftabilityStatus(): __PublicMethodMetaInfo<\n 'GET',\n { orderId: string },\n ambassadorWixEcomV1DraftOrderUniversalTypes.GetOrderDraftabilityStatusRequest,\n ambassadorWixEcomV1DraftOrderTypes.GetOrderDraftabilityStatusRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.GetOrderDraftabilityStatusResponse,\n ambassadorWixEcomV1DraftOrderTypes.GetOrderDraftabilityStatusResponse\n> {\n const payload = { orderId: ':orderId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DraftOrder.getOrderDraftabilityStatus(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/draft-orders/{orderId}/draftability',\n pathParams: { orderId: 'orderId' },\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 commitDraftOrder(): __PublicMethodMetaInfo<\n 'POST',\n { draftOrderId: string },\n ambassadorWixEcomV1DraftOrderUniversalTypes.CommitDraftOrderRequest,\n ambassadorWixEcomV1DraftOrderTypes.CommitDraftOrderRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.CommitDraftOrderResponse,\n ambassadorWixEcomV1DraftOrderTypes.CommitDraftOrderResponse\n> {\n const payload = { draftOrderId: ':draftOrderId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DraftOrder.commitDraftOrder(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/draft-orders/{draftOrderId}/commit',\n pathParams: { draftOrderId: 'draftOrderId' },\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 createOrderFromDraft(): __PublicMethodMetaInfo<\n 'POST',\n { draftOrderId: string },\n ambassadorWixEcomV1DraftOrderUniversalTypes.CreateOrderFromDraftRequest,\n ambassadorWixEcomV1DraftOrderTypes.CreateOrderFromDraftRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.CreateOrderFromDraftResponse,\n ambassadorWixEcomV1DraftOrderTypes.CreateOrderFromDraftResponse\n> {\n const payload = { draftOrderId: ':draftOrderId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DraftOrder.createOrderFromDraft(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/draft-orders/{draftOrderId}/create-order',\n pathParams: { draftOrderId: 'draftOrderId' },\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 deleteDraftOrder(): __PublicMethodMetaInfo<\n 'DELETE',\n { draftOrderId: string },\n ambassadorWixEcomV1DraftOrderUniversalTypes.DeleteDraftOrderRequest,\n ambassadorWixEcomV1DraftOrderTypes.DeleteDraftOrderRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.DeleteDraftOrderResponse,\n ambassadorWixEcomV1DraftOrderTypes.DeleteDraftOrderResponse\n> {\n const payload = { draftOrderId: ':draftOrderId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DraftOrder.deleteDraftOrder(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/draft-orders/{draftOrderId}',\n pathParams: { draftOrderId: 'draftOrderId' },\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 queryDraftOrders(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1DraftOrderUniversalTypes.QueryDraftOrdersRequest,\n ambassadorWixEcomV1DraftOrderTypes.QueryDraftOrdersRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.QueryDraftOrdersResponse,\n ambassadorWixEcomV1DraftOrderTypes.QueryDraftOrdersResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DraftOrder.queryDraftOrders(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/draft-orders/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 setTaxExemption(): __PublicMethodMetaInfo<\n 'PUT',\n {},\n ambassadorWixEcomV1DraftOrderUniversalTypes.SetTaxExemptionRequest,\n ambassadorWixEcomV1DraftOrderTypes.SetTaxExemptionRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.SetTaxExemptionResponse,\n ambassadorWixEcomV1DraftOrderTypes.SetTaxExemptionResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DraftOrder.setTaxExemption(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PUT',\n path: '/v1/draft-orders/set-tax-exemption',\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 setBusinessLocation(): __PublicMethodMetaInfo<\n 'PUT',\n {},\n ambassadorWixEcomV1DraftOrderUniversalTypes.SetBusinessLocationRequest,\n ambassadorWixEcomV1DraftOrderTypes.SetBusinessLocationRequest,\n ambassadorWixEcomV1DraftOrderUniversalTypes.SetBusinessLocationResponse,\n ambassadorWixEcomV1DraftOrderTypes.SetBusinessLocationResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1DraftOrder.setBusinessLocation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PUT',\n path: '/v1/draft-orders/set-business-location',\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"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,kCAAAA;AAAA,EAAA,wBAAAC;AAAA,EAAA,kCAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,kCAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,kCAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,yBAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,oBAAAC;AAAA,EAAA,oBAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,uBAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,mBAA6C;AAC7C,IAAAC,gBAA6C;AAC7C,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,6CACP,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,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAEA,aAA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,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,mBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC0B,gBAAgB,OAAO;AAEvD,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,uBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC0B,oBAAoB,OAAO;AAE3D,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;","names":["addLineItemsToDraftOrder","commitDraftOrder","createCustomAdditionalFees","createCustomDiscounts","createDraftOrder","createEmptyDraftOrder","createOrderFromDraft","deleteCustomAdditionalFees","deleteCustomDiscounts","deleteDraftOrder","getDraftOrder","getOrderDraftabilityStatus","queryDraftOrders","setAdditionalFees","setBillingInfo","setBusinessLocation","setBuyerInfo","setDiscounts","setRecipientInfo","setShippingInfo","setTaxExemption","updateLineItems","import_float","import_timestamp","import_rest_modules","payload","createDraftOrder","createEmptyDraftOrder","addLineItemsToDraftOrder","updateLineItems","setDiscounts","createCustomDiscounts","deleteCustomDiscounts","setAdditionalFees","createCustomAdditionalFees","deleteCustomAdditionalFees","setShippingInfo","setBuyerInfo","setRecipientInfo","setBillingInfo","getDraftOrder","getOrderDraftabilityStatus","commitDraftOrder","createOrderFromDraft","deleteDraftOrder","queryDraftOrders","setTaxExemption","setBusinessLocation"]}
|