@wix/auto_sdk_ecom_local-delivery-options 1.0.33 → 1.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +9 -9
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +80 -8
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +13 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +9 -9
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +80 -8
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +13 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +9 -9
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +80 -8
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +13 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +9 -9
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +80 -8
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +13 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -5,6 +5,7 @@ interface LocalDeliveryOption extends LocalDeliveryOptionConfigOneOf {
|
|
|
5
5
|
zipConfig?: ZipCodeConfig;
|
|
6
6
|
radiusConfig?: RadiusConfig;
|
|
7
7
|
customAreaConfig?: CustomAreaConfig;
|
|
8
|
+
cityConfig?: CityConfig;
|
|
8
9
|
/**
|
|
9
10
|
* LocalDeliveryOptionId - unique identifier of local delivery option
|
|
10
11
|
* @format GUID
|
|
@@ -72,6 +73,7 @@ interface LocalDeliveryOptionConfigOneOf {
|
|
|
72
73
|
zipConfig?: ZipCodeConfig;
|
|
73
74
|
radiusConfig?: RadiusConfig;
|
|
74
75
|
customAreaConfig?: CustomAreaConfig;
|
|
76
|
+
cityConfig?: CityConfig;
|
|
75
77
|
}
|
|
76
78
|
interface Destination {
|
|
77
79
|
/**
|
|
@@ -140,6 +142,16 @@ interface CustomAreaConfig {
|
|
|
140
142
|
*/
|
|
141
143
|
geocodes?: AddressLocation[];
|
|
142
144
|
}
|
|
145
|
+
interface CityConfig {
|
|
146
|
+
/**
|
|
147
|
+
* Name of the city for delivery
|
|
148
|
+
* @minLength 1
|
|
149
|
+
* @maxLength 100
|
|
150
|
+
* @minSize 1
|
|
151
|
+
* @maxSize 50
|
|
152
|
+
*/
|
|
153
|
+
cities?: string[];
|
|
154
|
+
}
|
|
143
155
|
interface ScheduledDelivery {
|
|
144
156
|
/**
|
|
145
157
|
* Days config which contain days when delivery is enabled with it's time slots
|
|
@@ -674,4 +686,4 @@ declare function bulkDeleteLocalDeliveryOption(): __PublicMethodMetaInfo<'DELETE
|
|
|
674
686
|
declare function addDeliveryRegion(): __PublicMethodMetaInfo<'POST', {}, AddDeliveryRegionRequest$1, AddDeliveryRegionRequest, AddDeliveryRegionResponse$1, AddDeliveryRegionResponse>;
|
|
675
687
|
declare function removeDeliveryRegion(): __PublicMethodMetaInfo<'POST', {}, RemoveDeliveryRegionRequest$1, RemoveDeliveryRegionRequest, RemoveDeliveryRegionResponse$1, RemoveDeliveryRegionResponse>;
|
|
676
688
|
|
|
677
|
-
export { type ActionEvent as ActionEventOriginal, type AddDeliveryRegionRequest as AddDeliveryRegionRequestOriginal, type AddDeliveryRegionResponse as AddDeliveryRegionResponseOriginal, type AddressLocation as AddressLocationOriginal, type BulkCreateLocalDeliveryOptionApplicationErrors as BulkCreateLocalDeliveryOptionApplicationErrorsOriginal, type BulkCreateLocalDeliveryOptionRequest as BulkCreateLocalDeliveryOptionRequestOriginal, type BulkCreateLocalDeliveryOptionResponse as BulkCreateLocalDeliveryOptionResponseOriginal, type BulkDeleteLocalDeliveryOptionRequest as BulkDeleteLocalDeliveryOptionRequestOriginal, type BulkDeleteLocalDeliveryOptionResponse as BulkDeleteLocalDeliveryOptionResponseOriginal, type BulkUpdateLocalDeliveryOptionRequest as BulkUpdateLocalDeliveryOptionRequestOriginal, type BulkUpdateLocalDeliveryOptionResponse as BulkUpdateLocalDeliveryOptionResponseOriginal, type Condition as ConditionOriginal, ConditionType as ConditionTypeOriginal, type ConditionTypeWithLiterals as ConditionTypeWithLiteralsOriginal, type ConditionalRates as ConditionalRatesOriginal, type CreateLocalDeliveryOptionApplicationErrors as CreateLocalDeliveryOptionApplicationErrorsOriginal, type CreateLocalDeliveryOptionRequest as CreateLocalDeliveryOptionRequestOriginal, type CreateLocalDeliveryOptionResponse as CreateLocalDeliveryOptionResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type CustomAreaConfig as CustomAreaConfigOriginal, DayOfWeek as DayOfWeekOriginal, type DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal, type DaySlot as DaySlotOriginal, type Days as DaysOriginal, type DeleteLocalDeliveryOptionRequest as DeleteLocalDeliveryOptionRequestOriginal, type DeleteLocalDeliveryOptionResponse as DeleteLocalDeliveryOptionResponseOriginal, type Destination as DestinationOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type GetLocalDeliveryOptionRequest as GetLocalDeliveryOptionRequestOriginal, type GetLocalDeliveryOptionResponse as GetLocalDeliveryOptionResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, LengthUnit as LengthUnitOriginal, type LengthUnitWithLiterals as LengthUnitWithLiteralsOriginal, type ListLocalDeliveryOptionsRequest as ListLocalDeliveryOptionsRequestOriginal, type ListLocalDeliveryOptionsResponse as ListLocalDeliveryOptionsResponseOriginal, type LocalDeliveryAddress as LocalDeliveryAddressOriginal, type LocalDeliveryOptionConfigOneOf as LocalDeliveryOptionConfigOneOfOriginal, type LocalDeliveryOptionError as LocalDeliveryOptionErrorOriginal, type LocalDeliveryOption as LocalDeliveryOptionOriginal, LogicalOperator as LogicalOperatorOriginal, type LogicalOperatorWithLiterals as LogicalOperatorWithLiteralsOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Paging as PagingOriginal, type QueryLocalDeliveryOptionsRequest as QueryLocalDeliveryOptionsRequestOriginal, type QueryLocalDeliveryOptionsResponse as QueryLocalDeliveryOptionsResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, type RadiusConfig as RadiusConfigOriginal, type RemoveDeliveryRegionRequest as RemoveDeliveryRegionRequestOriginal, type RemoveDeliveryRegionResponse as RemoveDeliveryRegionResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type ScheduledDelivery as ScheduledDeliveryOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type TimeOfDay as TimeOfDayOriginal, type TimePoint as TimePointOriginal, type TimeSlot as TimeSlotOriginal, type TimeWindow as TimeWindowOriginal, type UpdateLocalDeliveryOptionRequest as UpdateLocalDeliveryOptionRequestOriginal, type UpdateLocalDeliveryOptionResponse as UpdateLocalDeliveryOptionResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type ZipCodeConfig as ZipCodeConfigOriginal, type __PublicMethodMetaInfo, addDeliveryRegion, bulkCreateLocalDeliveryOption, bulkDeleteLocalDeliveryOption, bulkUpdateLocalDeliveryOption, createLocalDeliveryOption, deleteLocalDeliveryOption, getLocalDeliveryOption, listLocalDeliveryOptions, queryLocalDeliveryOptions, removeDeliveryRegion, updateLocalDeliveryOption };
|
|
689
|
+
export { type ActionEvent as ActionEventOriginal, type AddDeliveryRegionRequest as AddDeliveryRegionRequestOriginal, type AddDeliveryRegionResponse as AddDeliveryRegionResponseOriginal, type AddressLocation as AddressLocationOriginal, type BulkCreateLocalDeliveryOptionApplicationErrors as BulkCreateLocalDeliveryOptionApplicationErrorsOriginal, type BulkCreateLocalDeliveryOptionRequest as BulkCreateLocalDeliveryOptionRequestOriginal, type BulkCreateLocalDeliveryOptionResponse as BulkCreateLocalDeliveryOptionResponseOriginal, type BulkDeleteLocalDeliveryOptionRequest as BulkDeleteLocalDeliveryOptionRequestOriginal, type BulkDeleteLocalDeliveryOptionResponse as BulkDeleteLocalDeliveryOptionResponseOriginal, type BulkUpdateLocalDeliveryOptionRequest as BulkUpdateLocalDeliveryOptionRequestOriginal, type BulkUpdateLocalDeliveryOptionResponse as BulkUpdateLocalDeliveryOptionResponseOriginal, type CityConfig as CityConfigOriginal, type Condition as ConditionOriginal, ConditionType as ConditionTypeOriginal, type ConditionTypeWithLiterals as ConditionTypeWithLiteralsOriginal, type ConditionalRates as ConditionalRatesOriginal, type CreateLocalDeliveryOptionApplicationErrors as CreateLocalDeliveryOptionApplicationErrorsOriginal, type CreateLocalDeliveryOptionRequest as CreateLocalDeliveryOptionRequestOriginal, type CreateLocalDeliveryOptionResponse as CreateLocalDeliveryOptionResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type CustomAreaConfig as CustomAreaConfigOriginal, DayOfWeek as DayOfWeekOriginal, type DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal, type DaySlot as DaySlotOriginal, type Days as DaysOriginal, type DeleteLocalDeliveryOptionRequest as DeleteLocalDeliveryOptionRequestOriginal, type DeleteLocalDeliveryOptionResponse as DeleteLocalDeliveryOptionResponseOriginal, type Destination as DestinationOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type GetLocalDeliveryOptionRequest as GetLocalDeliveryOptionRequestOriginal, type GetLocalDeliveryOptionResponse as GetLocalDeliveryOptionResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, LengthUnit as LengthUnitOriginal, type LengthUnitWithLiterals as LengthUnitWithLiteralsOriginal, type ListLocalDeliveryOptionsRequest as ListLocalDeliveryOptionsRequestOriginal, type ListLocalDeliveryOptionsResponse as ListLocalDeliveryOptionsResponseOriginal, type LocalDeliveryAddress as LocalDeliveryAddressOriginal, type LocalDeliveryOptionConfigOneOf as LocalDeliveryOptionConfigOneOfOriginal, type LocalDeliveryOptionError as LocalDeliveryOptionErrorOriginal, type LocalDeliveryOption as LocalDeliveryOptionOriginal, LogicalOperator as LogicalOperatorOriginal, type LogicalOperatorWithLiterals as LogicalOperatorWithLiteralsOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Paging as PagingOriginal, type QueryLocalDeliveryOptionsRequest as QueryLocalDeliveryOptionsRequestOriginal, type QueryLocalDeliveryOptionsResponse as QueryLocalDeliveryOptionsResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, type RadiusConfig as RadiusConfigOriginal, type RemoveDeliveryRegionRequest as RemoveDeliveryRegionRequestOriginal, type RemoveDeliveryRegionResponse as RemoveDeliveryRegionResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type ScheduledDelivery as ScheduledDeliveryOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type TimeOfDay as TimeOfDayOriginal, type TimePoint as TimePointOriginal, type TimeSlot as TimeSlotOriginal, type TimeWindow as TimeWindowOriginal, type UpdateLocalDeliveryOptionRequest as UpdateLocalDeliveryOptionRequestOriginal, type UpdateLocalDeliveryOptionResponse as UpdateLocalDeliveryOptionResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type ZipCodeConfig as ZipCodeConfigOriginal, type __PublicMethodMetaInfo, addDeliveryRegion, bulkCreateLocalDeliveryOption, bulkDeleteLocalDeliveryOption, bulkUpdateLocalDeliveryOption, createLocalDeliveryOption, deleteLocalDeliveryOption, getLocalDeliveryOption, listLocalDeliveryOptions, queryLocalDeliveryOptions, removeDeliveryRegion, updateLocalDeliveryOption };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../meta.ts","../../../src/ecom-v1-local-delivery-option-local-delivery-options.http.ts","../../../src/ecom-v1-local-delivery-option-local-delivery-options.types.ts","../../../src/ecom-v1-local-delivery-option-local-delivery-options.meta.ts"],"sourcesContent":["export * from './src/ecom-v1-local-delivery-option-local-delivery-options.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'api._api_base_domain_': [\n {\n srcPath: '/wix-ecommerce-shipments-local-delivery-web',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/stores/v1/localDeliveryOptions',\n destPath: '/v1/localDeliveryOptions',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/local-delivery-server',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/local-delivery-server',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_ecom_local-delivery-options';\n\nexport function createLocalDeliveryOption(\n payload: object\n): RequestOptionsFactory<any> {\n function __createLocalDeliveryOption({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'localDeliveryOption.minimumFreeDeliveryOrderAmount' },\n { path: 'localDeliveryOption.radiusConfig.address.geocode.latitude' },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.longitude',\n },\n { path: 'localDeliveryOption.customAreaConfig.geocodes.latitude' },\n { path: 'localDeliveryOption.customAreaConfig.geocodes.longitude' },\n { path: 'localDeliveryOption.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'localDeliveryOption.createdDate' },\n { path: 'localDeliveryOption.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.CreateLocalDeliveryOption',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/local-delivery-options',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'localDeliveryOption.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.longitude',\n },\n {\n path: 'localDeliveryOption.customAreaConfig.geocodes.latitude',\n },\n {\n path: 'localDeliveryOption.customAreaConfig.geocodes.longitude',\n },\n { path: 'localDeliveryOption.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'localDeliveryOption.createdDate' },\n { path: 'localDeliveryOption.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createLocalDeliveryOption;\n}\n\nexport function getLocalDeliveryOption(\n payload: object\n): RequestOptionsFactory<any> {\n function __getLocalDeliveryOption({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'GET' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.GetLocalDeliveryOption',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/local-delivery-options/{localDeliveryOptionId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'localDeliveryOption.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.longitude',\n },\n {\n path: 'localDeliveryOption.customAreaConfig.geocodes.latitude',\n },\n {\n path: 'localDeliveryOption.customAreaConfig.geocodes.longitude',\n },\n { path: 'localDeliveryOption.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'localDeliveryOption.createdDate' },\n { path: 'localDeliveryOption.updatedDate' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'GET' as any,\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/local-delivery-options/{localDeliveryOptionId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n },\n ],\n };\n\n return metadata;\n }\n\n return __getLocalDeliveryOption;\n}\n\n/** @deprecated method is deprecated due to the fact that external_id is deprecated, it has been replaced with ListLocalDeliveryOptionsByDeliveryRegion(), and will be removed on 2024-11-01. */\nexport function listLocalDeliveryOptions(\n payload: object\n): RequestOptionsFactory<any> {\n function __listLocalDeliveryOptions({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'GET' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.ListLocalDeliveryOptions',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/localDeliveryOptions',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'localDeliveryOptions.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.longitude',\n },\n {\n path: 'localDeliveryOptions.customAreaConfig.geocodes.latitude',\n },\n {\n path: 'localDeliveryOptions.customAreaConfig.geocodes.longitude',\n },\n { path: 'localDeliveryOptions.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'localDeliveryOptions.createdDate' },\n { path: 'localDeliveryOptions.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listLocalDeliveryOptions;\n}\n\n/**\n * Retrieves a list of local delivery options, given the provided paging, filtering, and sorting.\n *\n * For field support for filters and sorting, see [Local Delivery: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-management/payments/tax/tax-regions/supported-filters-and-sorting).\n *\n * To learn about working with _Query_ endpoints, see\n * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),\n * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging),\n * and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).\n */\nexport function queryLocalDeliveryOptions(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryLocalDeliveryOptions({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.QueryLocalDeliveryOptions',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/local-delivery-options/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'localDeliveryOptions.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.longitude',\n },\n {\n path: 'localDeliveryOptions.customAreaConfig.geocodes.latitude',\n },\n {\n path: 'localDeliveryOptions.customAreaConfig.geocodes.longitude',\n },\n { path: 'localDeliveryOptions.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'localDeliveryOptions.createdDate' },\n { path: 'localDeliveryOptions.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryLocalDeliveryOptions;\n}\n\nexport function updateLocalDeliveryOption(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateLocalDeliveryOption({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'localDeliveryOption.minimumFreeDeliveryOrderAmount' },\n { path: 'localDeliveryOption.radiusConfig.address.geocode.latitude' },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.longitude',\n },\n { path: 'localDeliveryOption.customAreaConfig.geocodes.latitude' },\n { path: 'localDeliveryOption.customAreaConfig.geocodes.longitude' },\n { path: 'localDeliveryOption.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'localDeliveryOption.createdDate' },\n { path: 'localDeliveryOption.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.UpdateLocalDeliveryOption',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/local-delivery-options/{localDeliveryOption.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'localDeliveryOption.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.longitude',\n },\n {\n path: 'localDeliveryOption.customAreaConfig.geocodes.latitude',\n },\n {\n path: 'localDeliveryOption.customAreaConfig.geocodes.longitude',\n },\n { path: 'localDeliveryOption.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'localDeliveryOption.createdDate' },\n { path: 'localDeliveryOption.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateLocalDeliveryOption;\n}\n\nexport function deleteLocalDeliveryOption(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteLocalDeliveryOption({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.DeleteLocalDeliveryOption',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/local-delivery-options/{localDeliveryOptionId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteLocalDeliveryOption;\n}\n\nexport function bulkCreateLocalDeliveryOption(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateLocalDeliveryOption({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'localDeliveryOptions.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.longitude',\n },\n { path: 'localDeliveryOptions.customAreaConfig.geocodes.latitude' },\n { path: 'localDeliveryOptions.customAreaConfig.geocodes.longitude' },\n { path: 'localDeliveryOptions.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'localDeliveryOptions.createdDate' },\n { path: 'localDeliveryOptions.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.BulkCreateLocalDeliveryOption',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/bulk/local-delivery-options/create',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'localDeliveryOptions.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.longitude',\n },\n {\n path: 'localDeliveryOptions.customAreaConfig.geocodes.latitude',\n },\n {\n path: 'localDeliveryOptions.customAreaConfig.geocodes.longitude',\n },\n { path: 'localDeliveryOptions.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'localDeliveryOptions.createdDate' },\n { path: 'localDeliveryOptions.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateLocalDeliveryOption;\n}\n\nexport function bulkUpdateLocalDeliveryOption(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateLocalDeliveryOption({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'localDeliveryOptions.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.longitude',\n },\n { path: 'localDeliveryOptions.customAreaConfig.geocodes.latitude' },\n { path: 'localDeliveryOptions.customAreaConfig.geocodes.longitude' },\n { path: 'localDeliveryOptions.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'localDeliveryOptions.createdDate' },\n { path: 'localDeliveryOptions.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.BulkUpdateLocalDeliveryOption',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/bulk/local-delivery-options/update',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'localDeliveryOptions.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.longitude',\n },\n {\n path: 'localDeliveryOptions.customAreaConfig.geocodes.latitude',\n },\n {\n path: 'localDeliveryOptions.customAreaConfig.geocodes.longitude',\n },\n { path: 'localDeliveryOptions.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'localDeliveryOptions.createdDate' },\n { path: 'localDeliveryOptions.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateLocalDeliveryOption;\n}\n\nexport function bulkDeleteLocalDeliveryOption(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteLocalDeliveryOption({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.BulkDeleteLocalDeliveryOption',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/bulk/local-delivery-options/delete',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __bulkDeleteLocalDeliveryOption;\n}\n\nexport function addDeliveryRegion(payload: object): RequestOptionsFactory<any> {\n function __addDeliveryRegion({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.AddDeliveryRegion',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/local-delivery-options/add-delivery-region',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'localDeliveryOption.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.longitude',\n },\n {\n path: 'localDeliveryOption.customAreaConfig.geocodes.latitude',\n },\n {\n path: 'localDeliveryOption.customAreaConfig.geocodes.longitude',\n },\n { path: 'localDeliveryOption.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'localDeliveryOption.createdDate' },\n { path: 'localDeliveryOption.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __addDeliveryRegion;\n}\n\nexport function removeDeliveryRegion(\n payload: object\n): RequestOptionsFactory<any> {\n function __removeDeliveryRegion({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.RemoveDeliveryRegion',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/local-delivery-options/remove-delivery-region',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'localDeliveryOption.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.longitude',\n },\n {\n path: 'localDeliveryOption.customAreaConfig.geocodes.latitude',\n },\n {\n path: 'localDeliveryOption.customAreaConfig.geocodes.longitude',\n },\n { path: 'localDeliveryOption.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'localDeliveryOption.createdDate' },\n { path: 'localDeliveryOption.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __removeDeliveryRegion;\n}\n","export interface LocalDeliveryOption extends LocalDeliveryOptionConfigOneOf {\n zipConfig?: ZipCodeConfig;\n radiusConfig?: RadiusConfig;\n customAreaConfig?: CustomAreaConfig;\n /**\n * LocalDeliveryOptionId - unique identifier of local delivery option\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Area name of Local Delivery Option\n * @maxLength 100\n */\n areaName?: string | null;\n /**\n * Flat price of local delivery\n * @format DECIMAL_VALUE\n * @deprecated Flat price of local delivery\n * @targetRemovalDate 2025-01-12\n */\n rate?: string | null;\n /**\n * Estimated delivery time description text\n * @maxLength 40\n */\n estimatedDeliveryTime?: string | null;\n /**\n * Minimum order total to be eligible for free delivery\n * @deprecated Minimum order total to be eligible for free delivery\n * @targetRemovalDate 2025-01-12\n */\n minimumFreeDeliveryOrderAmount?: number | null;\n /**\n * List of countries with subdivisions\n * @maxSize 100\n */\n destinations?: Destination[];\n /**\n * Database revision of LocalDeliveryOption entity. Incremented on each modification\n * @readonly\n */\n revision?: string | null;\n scheduledDeliveryConfig?: ScheduledDelivery;\n /**\n * at runtime for a given shipment input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one.\n * @maxSize 50\n */\n rates?: ConditionalRates[];\n /**\n * Date and time the LocalDeliveryOption was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the LocalDeliveryOption was last updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * This local delivery is active for the following delivery regions.\n * @maxSize 50\n * @format GUID\n */\n deliveryRegionIds?: string[];\n}\n\n/** @oneof */\nexport interface LocalDeliveryOptionConfigOneOf {\n zipConfig?: ZipCodeConfig;\n radiusConfig?: RadiusConfig;\n customAreaConfig?: CustomAreaConfig;\n}\n\nexport interface Destination {\n /**\n * Country ISO code\n * @format COUNTRY\n */\n code?: string;\n /**\n * List of subdivisions, empty means all\n * @maxSize 200\n */\n subdivisions?: string[];\n}\n\nexport interface ZipCodeConfig {\n /**\n * List of ZipCodes and ZipCode regexes. Examples: 10001, 10002 or 1000*\n * @minLength 1\n * @maxLength 300\n */\n zipCodes?: string[];\n}\n\nexport interface RadiusConfig {\n /** Delivery-from address */\n address?: LocalDeliveryAddress;\n /**\n * Delivery circle's radius\n * @min 0.1\n * @max 50\n */\n radius?: number;\n /**\n * Radius' unit, taken from site properties\n * @readonly\n */\n lengthUnit?: LengthUnitWithLiterals;\n}\n\nexport interface LocalDeliveryAddress {\n /**\n * A string containing the human-readable address of this location\n * @maxLength 400\n */\n formattedAddress?: string | null;\n /** coordinates of the physical address */\n geocode?: AddressLocation;\n}\n\nexport interface AddressLocation {\n /** Address latitude. */\n latitude?: number | null;\n /** Address longitude. */\n longitude?: number | null;\n}\n\nexport enum LengthUnit {\n /** Length unit can't be classified, due to an error */\n UNSPECIFIED_LENGTH_UNIT = 'UNSPECIFIED_LENGTH_UNIT',\n /** Kilometers */\n KM = 'KM',\n /** Miles */\n MI = 'MI',\n}\n\n/** @enumType */\nexport type LengthUnitWithLiterals =\n | LengthUnit\n | 'UNSPECIFIED_LENGTH_UNIT'\n | 'KM'\n | 'MI';\n\nexport interface CustomAreaConfig {\n /**\n * Geocodes of the polygon defining the delivery area.\n * @maxSize 300\n */\n geocodes?: AddressLocation[];\n}\n\nexport interface ScheduledDelivery {\n /**\n * Days config which contain days when delivery is enabled with it's time slots\n * @deprecated Days config which contain days when delivery is enabled with it's time slots\n * @replacedBy time_windows\n * @targetRemovalDate 2025-01-01\n */\n days?: Days;\n /**\n * Amount of days before first delivery option date\n * @max 30\n */\n handlingDays?: number | null;\n /** Cut off time after which first delivery option would be for next day */\n cutOffTime?: TimePoint;\n /**\n * availability times configuration.\n * @maxSize 100\n */\n timeWindows?: TimeWindow[];\n}\n\nexport interface Days {\n monday?: DaySlot;\n tuesday?: DaySlot;\n wednesday?: DaySlot;\n thursday?: DaySlot;\n friday?: DaySlot;\n saturday?: DaySlot;\n sunday?: DaySlot;\n}\n\nexport interface DaySlot {\n /** Shows whether this day slot is enabled for delivery */\n enabledForDelivery?: boolean | null;\n /**\n * Time slots for scheduled delivery during day\n * @maxSize 8\n */\n timeSlots?: TimeSlot[];\n}\n\nexport interface TimeSlot {\n /** Starting time point of time slot */\n from?: TimePoint;\n /** End time point of time slot */\n to?: TimePoint;\n}\n\nexport interface TimePoint {\n /**\n * Hours in format 0-23\n * @max 23\n */\n hours?: number | null;\n /**\n * Minutes 0-59\n * @max 59\n */\n minutes?: number | null;\n}\n\nexport interface TimeWindow {\n /** The day of week this availability relates to. */\n day?: DayOfWeekWithLiterals;\n /** The start time in time of day representation. */\n start?: TimeOfDay;\n /** The end time in time of day representation. */\n end?: TimeOfDay;\n /** Whether this timeWindow availability is enabled. */\n enabled?: boolean | null;\n}\n\nexport enum DayOfWeek {\n /** Monday. */\n MON = 'MON',\n /** Tuesday. */\n TUE = 'TUE',\n /** Wednesday. */\n WED = 'WED',\n /** Thursday. */\n THU = 'THU',\n /** Friday. */\n FRI = 'FRI',\n /** Saturday. */\n SAT = 'SAT',\n /** Sunday. */\n SUN = 'SUN',\n}\n\n/** @enumType */\nexport type DayOfWeekWithLiterals =\n | DayOfWeek\n | 'MON'\n | 'TUE'\n | 'WED'\n | 'THU'\n | 'FRI'\n | 'SAT'\n | 'SUN';\n\nexport interface TimeOfDay {\n /**\n * Hours\n * @max 23\n */\n hours?: number;\n /**\n * Minutes\n * @max 59\n */\n minutes?: number;\n}\n\nexport interface ConditionalRates {\n /**\n * there is an AND logic between all the conditions. Empty conditions means true.\n * The amount of the rate that will be returned if all conditions are met.\n * @decimalValue options { gte:0, lte:999999999, maxScale:3 }\n */\n amount?: string;\n /**\n * For example: weight > 0 and weight <= 10\n * @maxSize 10\n */\n conditions?: Condition[];\n /** When this flag is set to true, multiply the amount by the number of line items passed on the request. */\n multiplyByQuantity?: boolean;\n}\n\nexport interface Condition {\n type?: ConditionTypeWithLiterals;\n /**\n * The value in respective to the condition type\n * Weight values should be in the same weight units of the store: KG / LB\n * Total price is according to the store currency\n * Quantity of items should be integers\n * @decimalValue options { gte:0, lte:999999999, maxScale:6 }\n */\n value?: string;\n /** Logical operator. */\n operator?: LogicalOperatorWithLiterals;\n}\n\nexport enum ConditionType {\n UNKNOWN_TYPE = 'UNKNOWN_TYPE',\n BY_TOTAL_WEIGHT = 'BY_TOTAL_WEIGHT',\n BY_TOTAL_PRICE = 'BY_TOTAL_PRICE',\n BY_TOTAL_QUANTITY = 'BY_TOTAL_QUANTITY',\n}\n\n/** @enumType */\nexport type ConditionTypeWithLiterals =\n | ConditionType\n | 'UNKNOWN_TYPE'\n | 'BY_TOTAL_WEIGHT'\n | 'BY_TOTAL_PRICE'\n | 'BY_TOTAL_QUANTITY';\n\nexport enum LogicalOperator {\n UNKNOWN_LOGICAL_OPERATOR_TYPE = 'UNKNOWN_LOGICAL_OPERATOR_TYPE',\n EQ = 'EQ',\n GT = 'GT',\n GTE = 'GTE',\n LT = 'LT',\n LTE = 'LTE',\n}\n\n/** @enumType */\nexport type LogicalOperatorWithLiterals =\n | LogicalOperator\n | 'UNKNOWN_LOGICAL_OPERATOR_TYPE'\n | 'EQ'\n | 'GT'\n | 'GTE'\n | 'LT'\n | 'LTE';\n\nexport interface CreateLocalDeliveryOptionRequest {\n localDeliveryOption: LocalDeliveryOption;\n}\n\nexport interface CreateLocalDeliveryOptionResponse {\n localDeliveryOption?: LocalDeliveryOption;\n}\n\nexport interface GetLocalDeliveryOptionRequest {\n /**\n * @maxLength 50\n * @deprecated\n * @targetRemovalDate 2025-01-12\n */\n id?: string;\n /** @maxLength 50 */\n localDeliveryOptionId: string;\n}\n\nexport interface GetLocalDeliveryOptionResponse {\n localDeliveryOption?: LocalDeliveryOption;\n}\n\nexport interface ListLocalDeliveryOptionsRequest {\n /** @format GUID */\n externalId: string;\n}\n\nexport interface ListLocalDeliveryOptionsResponse {\n localDeliveryOptions?: LocalDeliveryOption[];\n}\n\nexport interface QueryLocalDeliveryOptionsRequest {\n /** WQL expression */\n query: QueryV2;\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n /** Paging options to limit and skip the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object.\n *\n * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).\n * @maxSize 5\n */\n sort?: Sorting[];\n /**\n * Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned.\n * @maxSize 100\n * @maxLength 20\n */\n fields?: string[];\n /**\n * Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned.\n * @maxSize 100\n * @maxLength 20\n */\n fieldsets?: string[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n /** Paging options to limit and skip the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface Paging {\n /** Number of items to load. */\n limit?: number | null;\n /** Number of items to skip in the current sort order. */\n offset?: number | null;\n}\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QueryLocalDeliveryOptionsResponse {\n /** Retrieved local delivery options. */\n localDeliveryOptions?: LocalDeliveryOption[];\n /** Paging metadata. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in current page. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface UpdateLocalDeliveryOptionRequest {\n /** LocalDeliveryOption to be updated, may be partial. */\n localDeliveryOption: LocalDeliveryOption;\n}\n\nexport interface UpdateLocalDeliveryOptionResponse {\n localDeliveryOption?: LocalDeliveryOption;\n}\n\nexport interface DeleteLocalDeliveryOptionRequest {\n /**\n * @maxLength 50\n * @deprecated\n * @targetRemovalDate 2025-01-12\n */\n id?: string;\n /** @maxLength 50 */\n localDeliveryOptionId: string;\n}\n\nexport interface DeleteLocalDeliveryOptionResponse {}\n\nexport interface BulkCreateLocalDeliveryOptionRequest {\n /**\n * @minSize 1\n * @maxSize 100\n */\n localDeliveryOptions: LocalDeliveryOption[];\n}\n\nexport interface BulkCreateLocalDeliveryOptionResponse {\n localDeliveryOptions?: LocalDeliveryOption[];\n errors?: LocalDeliveryOptionError[];\n}\n\nexport interface LocalDeliveryOptionError {\n id?: string;\n error?: string;\n}\n\nexport interface BulkUpdateLocalDeliveryOptionRequest {\n /**\n * @minSize 1\n * @maxSize 100\n */\n localDeliveryOptions: LocalDeliveryOption[];\n}\n\nexport interface BulkUpdateLocalDeliveryOptionResponse {\n localDeliveryOptions?: LocalDeliveryOption[];\n errors?: LocalDeliveryOptionError[];\n}\n\nexport interface BulkDeleteLocalDeliveryOptionRequest {\n /**\n * @format GUID\n * @minSize 1\n * @maxSize 100\n */\n ids: string[];\n}\n\nexport interface BulkDeleteLocalDeliveryOptionResponse {}\n\nexport interface Empty {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface AddDeliveryRegionRequest {\n /** @format GUID */\n deliveryRegionId: string;\n /** @format GUID */\n localDeliveryOptionId: string;\n /** Revision of the PickupLocation */\n revision?: string | null;\n}\n\nexport interface AddDeliveryRegionResponse {\n localDeliveryOption?: LocalDeliveryOption;\n}\n\nexport interface RemoveDeliveryRegionRequest {\n /** @format GUID */\n deliveryRegionId: string;\n /** @format GUID */\n localDeliveryOptionId: string;\n /** Revision of the PickupLocation */\n revision?: string | null;\n}\n\nexport interface RemoveDeliveryRegionResponse {\n localDeliveryOption?: LocalDeliveryOption;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n/** @docsIgnore */\nexport type CreateLocalDeliveryOptionApplicationErrors = {\n code?: 'LIMIT_OF_OPTIONS_PER_EXTERNAL_ID_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkCreateLocalDeliveryOptionApplicationErrors = {\n code?: 'LIMIT_OF_OPTIONS_PER_DELIVERY_REGION_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixEcomV1LocalDeliveryOption from './ecom-v1-local-delivery-option-local-delivery-options.http.js';\nimport * as ambassadorWixEcomV1LocalDeliveryOptionTypes from './ecom-v1-local-delivery-option-local-delivery-options.types.js';\nimport * as ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes from './ecom-v1-local-delivery-option-local-delivery-options.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 createLocalDeliveryOption(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.CreateLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.CreateLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.CreateLocalDeliveryOptionResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.CreateLocalDeliveryOptionResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.createLocalDeliveryOption(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/local-delivery-options',\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 getLocalDeliveryOption(): __PublicMethodMetaInfo<\n 'GET',\n { localDeliveryOptionId: string },\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.GetLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.GetLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.GetLocalDeliveryOptionResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.GetLocalDeliveryOptionResponse\n> {\n const payload = { localDeliveryOptionId: ':localDeliveryOptionId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.getLocalDeliveryOption(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/local-delivery-options/{localDeliveryOptionId}',\n pathParams: { localDeliveryOptionId: 'localDeliveryOptionId' },\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 listLocalDeliveryOptions(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.ListLocalDeliveryOptionsRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.ListLocalDeliveryOptionsRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.ListLocalDeliveryOptionsResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.ListLocalDeliveryOptionsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.listLocalDeliveryOptions(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/localDeliveryOptions',\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 queryLocalDeliveryOptions(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.QueryLocalDeliveryOptionsRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.QueryLocalDeliveryOptionsRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.QueryLocalDeliveryOptionsResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.QueryLocalDeliveryOptionsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.queryLocalDeliveryOptions(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/local-delivery-options/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 updateLocalDeliveryOption(): __PublicMethodMetaInfo<\n 'PATCH',\n { localDeliveryOptionId: string },\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.UpdateLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.UpdateLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.UpdateLocalDeliveryOptionResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.UpdateLocalDeliveryOptionResponse\n> {\n const payload = {\n localDeliveryOption: { id: ':localDeliveryOptionId' },\n } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.updateLocalDeliveryOption(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v1/local-delivery-options/{localDeliveryOption.id}',\n pathParams: { localDeliveryOptionId: 'localDeliveryOptionId' },\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 deleteLocalDeliveryOption(): __PublicMethodMetaInfo<\n 'DELETE',\n { localDeliveryOptionId: string },\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.DeleteLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.DeleteLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.DeleteLocalDeliveryOptionResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.DeleteLocalDeliveryOptionResponse\n> {\n const payload = { localDeliveryOptionId: ':localDeliveryOptionId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.deleteLocalDeliveryOption(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/local-delivery-options/{localDeliveryOptionId}',\n pathParams: { localDeliveryOptionId: 'localDeliveryOptionId' },\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 bulkCreateLocalDeliveryOption(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.BulkCreateLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.BulkCreateLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.BulkCreateLocalDeliveryOptionResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.BulkCreateLocalDeliveryOptionResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.bulkCreateLocalDeliveryOption(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/local-delivery-options/create',\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 bulkUpdateLocalDeliveryOption(): __PublicMethodMetaInfo<\n 'PATCH',\n {},\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.BulkUpdateLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.BulkUpdateLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.BulkUpdateLocalDeliveryOptionResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.BulkUpdateLocalDeliveryOptionResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.bulkUpdateLocalDeliveryOption(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v1/bulk/local-delivery-options/update',\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 bulkDeleteLocalDeliveryOption(): __PublicMethodMetaInfo<\n 'DELETE',\n {},\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.BulkDeleteLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.BulkDeleteLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.BulkDeleteLocalDeliveryOptionResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.BulkDeleteLocalDeliveryOptionResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.bulkDeleteLocalDeliveryOption(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/bulk/local-delivery-options/delete',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function addDeliveryRegion(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.AddDeliveryRegionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.AddDeliveryRegionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.AddDeliveryRegionResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.AddDeliveryRegionResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.addDeliveryRegion(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/local-delivery-options/add-delivery-region',\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 removeDeliveryRegion(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.RemoveDeliveryRegionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.RemoveDeliveryRegionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.RemoveDeliveryRegionResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.RemoveDeliveryRegionResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.removeDeliveryRegion(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/local-delivery-options/remove-delivery-region',\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 {\n LocalDeliveryOption as LocalDeliveryOptionOriginal,\n LocalDeliveryOptionConfigOneOf as LocalDeliveryOptionConfigOneOfOriginal,\n Destination as DestinationOriginal,\n ZipCodeConfig as ZipCodeConfigOriginal,\n RadiusConfig as RadiusConfigOriginal,\n LocalDeliveryAddress as LocalDeliveryAddressOriginal,\n AddressLocation as AddressLocationOriginal,\n LengthUnit as LengthUnitOriginal,\n LengthUnitWithLiterals as LengthUnitWithLiteralsOriginal,\n CustomAreaConfig as CustomAreaConfigOriginal,\n ScheduledDelivery as ScheduledDeliveryOriginal,\n Days as DaysOriginal,\n DaySlot as DaySlotOriginal,\n TimeSlot as TimeSlotOriginal,\n TimePoint as TimePointOriginal,\n TimeWindow as TimeWindowOriginal,\n DayOfWeek as DayOfWeekOriginal,\n DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal,\n TimeOfDay as TimeOfDayOriginal,\n ConditionalRates as ConditionalRatesOriginal,\n Condition as ConditionOriginal,\n ConditionType as ConditionTypeOriginal,\n ConditionTypeWithLiterals as ConditionTypeWithLiteralsOriginal,\n LogicalOperator as LogicalOperatorOriginal,\n LogicalOperatorWithLiterals as LogicalOperatorWithLiteralsOriginal,\n CreateLocalDeliveryOptionRequest as CreateLocalDeliveryOptionRequestOriginal,\n CreateLocalDeliveryOptionResponse as CreateLocalDeliveryOptionResponseOriginal,\n GetLocalDeliveryOptionRequest as GetLocalDeliveryOptionRequestOriginal,\n GetLocalDeliveryOptionResponse as GetLocalDeliveryOptionResponseOriginal,\n ListLocalDeliveryOptionsRequest as ListLocalDeliveryOptionsRequestOriginal,\n ListLocalDeliveryOptionsResponse as ListLocalDeliveryOptionsResponseOriginal,\n QueryLocalDeliveryOptionsRequest as QueryLocalDeliveryOptionsRequestOriginal,\n QueryV2 as QueryV2Original,\n QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n Paging as PagingOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryLocalDeliveryOptionsResponse as QueryLocalDeliveryOptionsResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n UpdateLocalDeliveryOptionRequest as UpdateLocalDeliveryOptionRequestOriginal,\n UpdateLocalDeliveryOptionResponse as UpdateLocalDeliveryOptionResponseOriginal,\n DeleteLocalDeliveryOptionRequest as DeleteLocalDeliveryOptionRequestOriginal,\n DeleteLocalDeliveryOptionResponse as DeleteLocalDeliveryOptionResponseOriginal,\n BulkCreateLocalDeliveryOptionRequest as BulkCreateLocalDeliveryOptionRequestOriginal,\n BulkCreateLocalDeliveryOptionResponse as BulkCreateLocalDeliveryOptionResponseOriginal,\n LocalDeliveryOptionError as LocalDeliveryOptionErrorOriginal,\n BulkUpdateLocalDeliveryOptionRequest as BulkUpdateLocalDeliveryOptionRequestOriginal,\n BulkUpdateLocalDeliveryOptionResponse as BulkUpdateLocalDeliveryOptionResponseOriginal,\n BulkDeleteLocalDeliveryOptionRequest as BulkDeleteLocalDeliveryOptionRequestOriginal,\n BulkDeleteLocalDeliveryOptionResponse as BulkDeleteLocalDeliveryOptionResponseOriginal,\n Empty as EmptyOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n AddDeliveryRegionRequest as AddDeliveryRegionRequestOriginal,\n AddDeliveryRegionResponse as AddDeliveryRegionResponseOriginal,\n RemoveDeliveryRegionRequest as RemoveDeliveryRegionRequestOriginal,\n RemoveDeliveryRegionResponse as RemoveDeliveryRegionResponseOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n CreateLocalDeliveryOptionApplicationErrors as CreateLocalDeliveryOptionApplicationErrorsOriginal,\n BulkCreateLocalDeliveryOptionApplicationErrors as BulkCreateLocalDeliveryOptionApplicationErrorsOriginal,\n} from './ecom-v1-local-delivery-option-local-delivery-options.types.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2BAAAA;AAAA,EAAA,qCAAAC;AAAA,EAAA,qCAAAC;AAAA,EAAA,qCAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,8BAAAC;AAAA,EAAA,gCAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,iCAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,mBAA6C;AAC7C,IAAAC,gBAA6C;AAC7C,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,wDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,Q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["addDeliveryRegion","bulkCreateLocalDeliveryOption","bulkDeleteLocalDeliveryOption","bulkUpdateLocalDeliveryOption","createLocalDeliveryOption","deleteLocalDeliveryOption","getLocalDeliveryOption","listLocalDeliveryOptions","queryLocalDeliveryOptions","removeDeliveryRegion","updateLocalDeliveryOption","import_float","import_timestamp","import_rest_modules","payload","LengthUnit","DayOfWeek","ConditionType","LogicalOperator","SortOrder","WebhookIdentityType","createLocalDeliveryOption","getLocalDeliveryOption","listLocalDeliveryOptions","queryLocalDeliveryOptions","updateLocalDeliveryOption","deleteLocalDeliveryOption","bulkCreateLocalDeliveryOption","bulkUpdateLocalDeliveryOption","bulkDeleteLocalDeliveryOption","addDeliveryRegion","removeDeliveryRegion"]}
|
|
1
|
+
{"version":3,"sources":["../../../meta.ts","../../../src/ecom-v1-local-delivery-option-local-delivery-options.http.ts","../../../src/ecom-v1-local-delivery-option-local-delivery-options.types.ts","../../../src/ecom-v1-local-delivery-option-local-delivery-options.meta.ts"],"sourcesContent":["export * from './src/ecom-v1-local-delivery-option-local-delivery-options.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'api._api_base_domain_': [\n {\n srcPath: '/wix-ecommerce-shipments-local-delivery-web',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/stores/v1/localDeliveryOptions',\n destPath: '/v1/localDeliveryOptions',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/local-delivery-server',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/local-delivery-server',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_ecom_local-delivery-options';\n\nexport function createLocalDeliveryOption(\n payload: object\n): RequestOptionsFactory<any> {\n function __createLocalDeliveryOption({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'localDeliveryOption.minimumFreeDeliveryOrderAmount' },\n { path: 'localDeliveryOption.radiusConfig.address.geocode.latitude' },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.longitude',\n },\n { path: 'localDeliveryOption.customAreaConfig.geocodes.latitude' },\n { path: 'localDeliveryOption.customAreaConfig.geocodes.longitude' },\n { path: 'localDeliveryOption.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'localDeliveryOption.createdDate' },\n { path: 'localDeliveryOption.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.CreateLocalDeliveryOption',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/local-delivery-options',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'localDeliveryOption.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.longitude',\n },\n {\n path: 'localDeliveryOption.customAreaConfig.geocodes.latitude',\n },\n {\n path: 'localDeliveryOption.customAreaConfig.geocodes.longitude',\n },\n { path: 'localDeliveryOption.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'localDeliveryOption.createdDate' },\n { path: 'localDeliveryOption.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createLocalDeliveryOption;\n}\n\nexport function getLocalDeliveryOption(\n payload: object\n): RequestOptionsFactory<any> {\n function __getLocalDeliveryOption({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'GET' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.GetLocalDeliveryOption',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/local-delivery-options/{localDeliveryOptionId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'localDeliveryOption.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.longitude',\n },\n {\n path: 'localDeliveryOption.customAreaConfig.geocodes.latitude',\n },\n {\n path: 'localDeliveryOption.customAreaConfig.geocodes.longitude',\n },\n { path: 'localDeliveryOption.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'localDeliveryOption.createdDate' },\n { path: 'localDeliveryOption.updatedDate' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'GET' as any,\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/local-delivery-options/{localDeliveryOptionId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n },\n ],\n };\n\n return metadata;\n }\n\n return __getLocalDeliveryOption;\n}\n\n/** @deprecated method is deprecated due to the fact that external_id is deprecated, it has been replaced with ListLocalDeliveryOptionsByDeliveryRegion(), and will be removed on 2024-11-01. */\nexport function listLocalDeliveryOptions(\n payload: object\n): RequestOptionsFactory<any> {\n function __listLocalDeliveryOptions({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'GET' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.ListLocalDeliveryOptions',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/localDeliveryOptions',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'localDeliveryOptions.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.longitude',\n },\n {\n path: 'localDeliveryOptions.customAreaConfig.geocodes.latitude',\n },\n {\n path: 'localDeliveryOptions.customAreaConfig.geocodes.longitude',\n },\n { path: 'localDeliveryOptions.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'localDeliveryOptions.createdDate' },\n { path: 'localDeliveryOptions.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listLocalDeliveryOptions;\n}\n\n/**\n * Retrieves a list of local delivery options, given the provided paging, filtering, and sorting.\n *\n * For field support for filters and sorting, see [Local Delivery: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-management/payments/tax/tax-regions/supported-filters-and-sorting).\n *\n * To learn about working with _Query_ endpoints, see\n * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),\n * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging),\n * and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).\n */\nexport function queryLocalDeliveryOptions(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryLocalDeliveryOptions({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.QueryLocalDeliveryOptions',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/local-delivery-options/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'localDeliveryOptions.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.longitude',\n },\n {\n path: 'localDeliveryOptions.customAreaConfig.geocodes.latitude',\n },\n {\n path: 'localDeliveryOptions.customAreaConfig.geocodes.longitude',\n },\n { path: 'localDeliveryOptions.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'localDeliveryOptions.createdDate' },\n { path: 'localDeliveryOptions.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryLocalDeliveryOptions;\n}\n\nexport function updateLocalDeliveryOption(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateLocalDeliveryOption({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'localDeliveryOption.minimumFreeDeliveryOrderAmount' },\n { path: 'localDeliveryOption.radiusConfig.address.geocode.latitude' },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.longitude',\n },\n { path: 'localDeliveryOption.customAreaConfig.geocodes.latitude' },\n { path: 'localDeliveryOption.customAreaConfig.geocodes.longitude' },\n { path: 'localDeliveryOption.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'localDeliveryOption.createdDate' },\n { path: 'localDeliveryOption.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.UpdateLocalDeliveryOption',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/local-delivery-options/{localDeliveryOption.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'localDeliveryOption.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.longitude',\n },\n {\n path: 'localDeliveryOption.customAreaConfig.geocodes.latitude',\n },\n {\n path: 'localDeliveryOption.customAreaConfig.geocodes.longitude',\n },\n { path: 'localDeliveryOption.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'localDeliveryOption.createdDate' },\n { path: 'localDeliveryOption.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateLocalDeliveryOption;\n}\n\nexport function deleteLocalDeliveryOption(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteLocalDeliveryOption({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.DeleteLocalDeliveryOption',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/local-delivery-options/{localDeliveryOptionId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteLocalDeliveryOption;\n}\n\nexport function bulkCreateLocalDeliveryOption(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateLocalDeliveryOption({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'localDeliveryOptions.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.longitude',\n },\n { path: 'localDeliveryOptions.customAreaConfig.geocodes.latitude' },\n { path: 'localDeliveryOptions.customAreaConfig.geocodes.longitude' },\n { path: 'localDeliveryOptions.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'localDeliveryOptions.createdDate' },\n { path: 'localDeliveryOptions.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.BulkCreateLocalDeliveryOption',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/bulk/local-delivery-options/create',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'localDeliveryOptions.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.longitude',\n },\n {\n path: 'localDeliveryOptions.customAreaConfig.geocodes.latitude',\n },\n {\n path: 'localDeliveryOptions.customAreaConfig.geocodes.longitude',\n },\n { path: 'localDeliveryOptions.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'localDeliveryOptions.createdDate' },\n { path: 'localDeliveryOptions.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateLocalDeliveryOption;\n}\n\nexport function bulkUpdateLocalDeliveryOption(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateLocalDeliveryOption({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'localDeliveryOptions.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.longitude',\n },\n { path: 'localDeliveryOptions.customAreaConfig.geocodes.latitude' },\n { path: 'localDeliveryOptions.customAreaConfig.geocodes.longitude' },\n { path: 'localDeliveryOptions.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'localDeliveryOptions.createdDate' },\n { path: 'localDeliveryOptions.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.BulkUpdateLocalDeliveryOption',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/bulk/local-delivery-options/update',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'localDeliveryOptions.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOptions.radiusConfig.address.geocode.longitude',\n },\n {\n path: 'localDeliveryOptions.customAreaConfig.geocodes.latitude',\n },\n {\n path: 'localDeliveryOptions.customAreaConfig.geocodes.longitude',\n },\n { path: 'localDeliveryOptions.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'localDeliveryOptions.createdDate' },\n { path: 'localDeliveryOptions.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateLocalDeliveryOption;\n}\n\nexport function bulkDeleteLocalDeliveryOption(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteLocalDeliveryOption({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.BulkDeleteLocalDeliveryOption',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/bulk/local-delivery-options/delete',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __bulkDeleteLocalDeliveryOption;\n}\n\nexport function addDeliveryRegion(payload: object): RequestOptionsFactory<any> {\n function __addDeliveryRegion({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.AddDeliveryRegion',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/local-delivery-options/add-delivery-region',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'localDeliveryOption.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.longitude',\n },\n {\n path: 'localDeliveryOption.customAreaConfig.geocodes.latitude',\n },\n {\n path: 'localDeliveryOption.customAreaConfig.geocodes.longitude',\n },\n { path: 'localDeliveryOption.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'localDeliveryOption.createdDate' },\n { path: 'localDeliveryOption.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __addDeliveryRegion;\n}\n\nexport function removeDeliveryRegion(\n payload: object\n): RequestOptionsFactory<any> {\n function __removeDeliveryRegion({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.local_delivery_option',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.ecom.shipments.localdelivery.LocalDelivery.RemoveDeliveryRegion',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({\n protoPath: '/v1/local-delivery-options/remove-delivery-region',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'localDeliveryOption.minimumFreeDeliveryOrderAmount' },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.latitude',\n },\n {\n path: 'localDeliveryOption.radiusConfig.address.geocode.longitude',\n },\n {\n path: 'localDeliveryOption.customAreaConfig.geocodes.latitude',\n },\n {\n path: 'localDeliveryOption.customAreaConfig.geocodes.longitude',\n },\n { path: 'localDeliveryOption.radiusConfig.radius' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'localDeliveryOption.createdDate' },\n { path: 'localDeliveryOption.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __removeDeliveryRegion;\n}\n","export interface LocalDeliveryOption extends LocalDeliveryOptionConfigOneOf {\n zipConfig?: ZipCodeConfig;\n radiusConfig?: RadiusConfig;\n customAreaConfig?: CustomAreaConfig;\n cityConfig?: CityConfig;\n /**\n * LocalDeliveryOptionId - unique identifier of local delivery option\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Area name of Local Delivery Option\n * @maxLength 100\n */\n areaName?: string | null;\n /**\n * Flat price of local delivery\n * @format DECIMAL_VALUE\n * @deprecated Flat price of local delivery\n * @targetRemovalDate 2025-01-12\n */\n rate?: string | null;\n /**\n * Estimated delivery time description text\n * @maxLength 40\n */\n estimatedDeliveryTime?: string | null;\n /**\n * Minimum order total to be eligible for free delivery\n * @deprecated Minimum order total to be eligible for free delivery\n * @targetRemovalDate 2025-01-12\n */\n minimumFreeDeliveryOrderAmount?: number | null;\n /**\n * List of countries with subdivisions\n * @maxSize 100\n */\n destinations?: Destination[];\n /**\n * Database revision of LocalDeliveryOption entity. Incremented on each modification\n * @readonly\n */\n revision?: string | null;\n scheduledDeliveryConfig?: ScheduledDelivery;\n /**\n * at runtime for a given shipment input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one.\n * @maxSize 50\n */\n rates?: ConditionalRates[];\n /**\n * Date and time the LocalDeliveryOption was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the LocalDeliveryOption was last updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * This local delivery is active for the following delivery regions.\n * @maxSize 50\n * @format GUID\n */\n deliveryRegionIds?: string[];\n}\n\n/** @oneof */\nexport interface LocalDeliveryOptionConfigOneOf {\n zipConfig?: ZipCodeConfig;\n radiusConfig?: RadiusConfig;\n customAreaConfig?: CustomAreaConfig;\n cityConfig?: CityConfig;\n}\n\nexport interface Destination {\n /**\n * Country ISO code\n * @format COUNTRY\n */\n code?: string;\n /**\n * List of subdivisions, empty means all\n * @maxSize 200\n */\n subdivisions?: string[];\n}\n\nexport interface ZipCodeConfig {\n /**\n * List of ZipCodes and ZipCode regexes. Examples: 10001, 10002 or 1000*\n * @minLength 1\n * @maxLength 300\n */\n zipCodes?: string[];\n}\n\nexport interface RadiusConfig {\n /** Delivery-from address */\n address?: LocalDeliveryAddress;\n /**\n * Delivery circle's radius\n * @min 0.1\n * @max 50\n */\n radius?: number;\n /**\n * Radius' unit, taken from site properties\n * @readonly\n */\n lengthUnit?: LengthUnitWithLiterals;\n}\n\nexport interface LocalDeliveryAddress {\n /**\n * A string containing the human-readable address of this location\n * @maxLength 400\n */\n formattedAddress?: string | null;\n /** coordinates of the physical address */\n geocode?: AddressLocation;\n}\n\nexport interface AddressLocation {\n /** Address latitude. */\n latitude?: number | null;\n /** Address longitude. */\n longitude?: number | null;\n}\n\nexport enum LengthUnit {\n /** Length unit can't be classified, due to an error */\n UNSPECIFIED_LENGTH_UNIT = 'UNSPECIFIED_LENGTH_UNIT',\n /** Kilometers */\n KM = 'KM',\n /** Miles */\n MI = 'MI',\n}\n\n/** @enumType */\nexport type LengthUnitWithLiterals =\n | LengthUnit\n | 'UNSPECIFIED_LENGTH_UNIT'\n | 'KM'\n | 'MI';\n\nexport interface CustomAreaConfig {\n /**\n * Geocodes of the polygon defining the delivery area.\n * @maxSize 300\n */\n geocodes?: AddressLocation[];\n}\n\nexport interface CityConfig {\n /**\n * Name of the city for delivery\n * @minLength 1\n * @maxLength 100\n * @minSize 1\n * @maxSize 50\n */\n cities?: string[];\n}\n\nexport interface ScheduledDelivery {\n /**\n * Days config which contain days when delivery is enabled with it's time slots\n * @deprecated Days config which contain days when delivery is enabled with it's time slots\n * @replacedBy time_windows\n * @targetRemovalDate 2025-01-01\n */\n days?: Days;\n /**\n * Amount of days before first delivery option date\n * @max 30\n */\n handlingDays?: number | null;\n /** Cut off time after which first delivery option would be for next day */\n cutOffTime?: TimePoint;\n /**\n * availability times configuration.\n * @maxSize 100\n */\n timeWindows?: TimeWindow[];\n}\n\nexport interface Days {\n monday?: DaySlot;\n tuesday?: DaySlot;\n wednesday?: DaySlot;\n thursday?: DaySlot;\n friday?: DaySlot;\n saturday?: DaySlot;\n sunday?: DaySlot;\n}\n\nexport interface DaySlot {\n /** Shows whether this day slot is enabled for delivery */\n enabledForDelivery?: boolean | null;\n /**\n * Time slots for scheduled delivery during day\n * @maxSize 8\n */\n timeSlots?: TimeSlot[];\n}\n\nexport interface TimeSlot {\n /** Starting time point of time slot */\n from?: TimePoint;\n /** End time point of time slot */\n to?: TimePoint;\n}\n\nexport interface TimePoint {\n /**\n * Hours in format 0-23\n * @max 23\n */\n hours?: number | null;\n /**\n * Minutes 0-59\n * @max 59\n */\n minutes?: number | null;\n}\n\nexport interface TimeWindow {\n /** The day of week this availability relates to. */\n day?: DayOfWeekWithLiterals;\n /** The start time in time of day representation. */\n start?: TimeOfDay;\n /** The end time in time of day representation. */\n end?: TimeOfDay;\n /** Whether this timeWindow availability is enabled. */\n enabled?: boolean | null;\n}\n\nexport enum DayOfWeek {\n /** Monday. */\n MON = 'MON',\n /** Tuesday. */\n TUE = 'TUE',\n /** Wednesday. */\n WED = 'WED',\n /** Thursday. */\n THU = 'THU',\n /** Friday. */\n FRI = 'FRI',\n /** Saturday. */\n SAT = 'SAT',\n /** Sunday. */\n SUN = 'SUN',\n}\n\n/** @enumType */\nexport type DayOfWeekWithLiterals =\n | DayOfWeek\n | 'MON'\n | 'TUE'\n | 'WED'\n | 'THU'\n | 'FRI'\n | 'SAT'\n | 'SUN';\n\nexport interface TimeOfDay {\n /**\n * Hours\n * @max 23\n */\n hours?: number;\n /**\n * Minutes\n * @max 59\n */\n minutes?: number;\n}\n\nexport interface ConditionalRates {\n /**\n * there is an AND logic between all the conditions. Empty conditions means true.\n * The amount of the rate that will be returned if all conditions are met.\n * @decimalValue options { gte:0, lte:999999999, maxScale:3 }\n */\n amount?: string;\n /**\n * For example: weight > 0 and weight <= 10\n * @maxSize 10\n */\n conditions?: Condition[];\n /** When this flag is set to true, multiply the amount by the number of line items passed on the request. */\n multiplyByQuantity?: boolean;\n}\n\nexport interface Condition {\n type?: ConditionTypeWithLiterals;\n /**\n * The value in respective to the condition type\n * Weight values should be in the same weight units of the store: KG / LB\n * Total price is according to the store currency\n * Quantity of items should be integers\n * @decimalValue options { gte:0, lte:999999999, maxScale:6 }\n */\n value?: string;\n /** Logical operator. */\n operator?: LogicalOperatorWithLiterals;\n}\n\nexport enum ConditionType {\n UNKNOWN_TYPE = 'UNKNOWN_TYPE',\n BY_TOTAL_WEIGHT = 'BY_TOTAL_WEIGHT',\n BY_TOTAL_PRICE = 'BY_TOTAL_PRICE',\n BY_TOTAL_QUANTITY = 'BY_TOTAL_QUANTITY',\n}\n\n/** @enumType */\nexport type ConditionTypeWithLiterals =\n | ConditionType\n | 'UNKNOWN_TYPE'\n | 'BY_TOTAL_WEIGHT'\n | 'BY_TOTAL_PRICE'\n | 'BY_TOTAL_QUANTITY';\n\nexport enum LogicalOperator {\n UNKNOWN_LOGICAL_OPERATOR_TYPE = 'UNKNOWN_LOGICAL_OPERATOR_TYPE',\n EQ = 'EQ',\n GT = 'GT',\n GTE = 'GTE',\n LT = 'LT',\n LTE = 'LTE',\n}\n\n/** @enumType */\nexport type LogicalOperatorWithLiterals =\n | LogicalOperator\n | 'UNKNOWN_LOGICAL_OPERATOR_TYPE'\n | 'EQ'\n | 'GT'\n | 'GTE'\n | 'LT'\n | 'LTE';\n\nexport interface CreateLocalDeliveryOptionRequest {\n localDeliveryOption: LocalDeliveryOption;\n}\n\nexport interface CreateLocalDeliveryOptionResponse {\n localDeliveryOption?: LocalDeliveryOption;\n}\n\nexport interface GetLocalDeliveryOptionRequest {\n /**\n * @maxLength 50\n * @deprecated\n * @targetRemovalDate 2025-01-12\n */\n id?: string;\n /** @maxLength 50 */\n localDeliveryOptionId: string;\n}\n\nexport interface GetLocalDeliveryOptionResponse {\n localDeliveryOption?: LocalDeliveryOption;\n}\n\nexport interface ListLocalDeliveryOptionsRequest {\n /** @format GUID */\n externalId: string;\n}\n\nexport interface ListLocalDeliveryOptionsResponse {\n localDeliveryOptions?: LocalDeliveryOption[];\n}\n\nexport interface QueryLocalDeliveryOptionsRequest {\n /** WQL expression */\n query: QueryV2;\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n /** Paging options to limit and skip the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object.\n *\n * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).\n * @maxSize 5\n */\n sort?: Sorting[];\n /**\n * Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned.\n * @maxSize 100\n * @maxLength 20\n */\n fields?: string[];\n /**\n * Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned.\n * @maxSize 100\n * @maxLength 20\n */\n fieldsets?: string[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n /** Paging options to limit and skip the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface Paging {\n /** Number of items to load. */\n limit?: number | null;\n /** Number of items to skip in the current sort order. */\n offset?: number | null;\n}\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QueryLocalDeliveryOptionsResponse {\n /** Retrieved local delivery options. */\n localDeliveryOptions?: LocalDeliveryOption[];\n /** Paging metadata. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in current page. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface UpdateLocalDeliveryOptionRequest {\n /** LocalDeliveryOption to be updated, may be partial. */\n localDeliveryOption: LocalDeliveryOption;\n}\n\nexport interface UpdateLocalDeliveryOptionResponse {\n localDeliveryOption?: LocalDeliveryOption;\n}\n\nexport interface DeleteLocalDeliveryOptionRequest {\n /**\n * @maxLength 50\n * @deprecated\n * @targetRemovalDate 2025-01-12\n */\n id?: string;\n /** @maxLength 50 */\n localDeliveryOptionId: string;\n}\n\nexport interface DeleteLocalDeliveryOptionResponse {}\n\nexport interface BulkCreateLocalDeliveryOptionRequest {\n /**\n * @minSize 1\n * @maxSize 100\n */\n localDeliveryOptions: LocalDeliveryOption[];\n}\n\nexport interface BulkCreateLocalDeliveryOptionResponse {\n localDeliveryOptions?: LocalDeliveryOption[];\n errors?: LocalDeliveryOptionError[];\n}\n\nexport interface LocalDeliveryOptionError {\n id?: string;\n error?: string;\n}\n\nexport interface BulkUpdateLocalDeliveryOptionRequest {\n /**\n * @minSize 1\n * @maxSize 100\n */\n localDeliveryOptions: LocalDeliveryOption[];\n}\n\nexport interface BulkUpdateLocalDeliveryOptionResponse {\n localDeliveryOptions?: LocalDeliveryOption[];\n errors?: LocalDeliveryOptionError[];\n}\n\nexport interface BulkDeleteLocalDeliveryOptionRequest {\n /**\n * @format GUID\n * @minSize 1\n * @maxSize 100\n */\n ids: string[];\n}\n\nexport interface BulkDeleteLocalDeliveryOptionResponse {}\n\nexport interface Empty {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface AddDeliveryRegionRequest {\n /** @format GUID */\n deliveryRegionId: string;\n /** @format GUID */\n localDeliveryOptionId: string;\n /** Revision of the PickupLocation */\n revision?: string | null;\n}\n\nexport interface AddDeliveryRegionResponse {\n localDeliveryOption?: LocalDeliveryOption;\n}\n\nexport interface RemoveDeliveryRegionRequest {\n /** @format GUID */\n deliveryRegionId: string;\n /** @format GUID */\n localDeliveryOptionId: string;\n /** Revision of the PickupLocation */\n revision?: string | null;\n}\n\nexport interface RemoveDeliveryRegionResponse {\n localDeliveryOption?: LocalDeliveryOption;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n/** @docsIgnore */\nexport type CreateLocalDeliveryOptionApplicationErrors = {\n code?: 'LIMIT_OF_OPTIONS_PER_EXTERNAL_ID_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkCreateLocalDeliveryOptionApplicationErrors = {\n code?: 'LIMIT_OF_OPTIONS_PER_DELIVERY_REGION_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixEcomV1LocalDeliveryOption from './ecom-v1-local-delivery-option-local-delivery-options.http.js';\nimport * as ambassadorWixEcomV1LocalDeliveryOptionTypes from './ecom-v1-local-delivery-option-local-delivery-options.types.js';\nimport * as ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes from './ecom-v1-local-delivery-option-local-delivery-options.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 createLocalDeliveryOption(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.CreateLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.CreateLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.CreateLocalDeliveryOptionResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.CreateLocalDeliveryOptionResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.createLocalDeliveryOption(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/local-delivery-options',\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 getLocalDeliveryOption(): __PublicMethodMetaInfo<\n 'GET',\n { localDeliveryOptionId: string },\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.GetLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.GetLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.GetLocalDeliveryOptionResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.GetLocalDeliveryOptionResponse\n> {\n const payload = { localDeliveryOptionId: ':localDeliveryOptionId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.getLocalDeliveryOption(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/local-delivery-options/{localDeliveryOptionId}',\n pathParams: { localDeliveryOptionId: 'localDeliveryOptionId' },\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 listLocalDeliveryOptions(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.ListLocalDeliveryOptionsRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.ListLocalDeliveryOptionsRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.ListLocalDeliveryOptionsResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.ListLocalDeliveryOptionsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.listLocalDeliveryOptions(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/localDeliveryOptions',\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 queryLocalDeliveryOptions(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.QueryLocalDeliveryOptionsRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.QueryLocalDeliveryOptionsRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.QueryLocalDeliveryOptionsResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.QueryLocalDeliveryOptionsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.queryLocalDeliveryOptions(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/local-delivery-options/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 updateLocalDeliveryOption(): __PublicMethodMetaInfo<\n 'PATCH',\n { localDeliveryOptionId: string },\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.UpdateLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.UpdateLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.UpdateLocalDeliveryOptionResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.UpdateLocalDeliveryOptionResponse\n> {\n const payload = {\n localDeliveryOption: { id: ':localDeliveryOptionId' },\n } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.updateLocalDeliveryOption(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v1/local-delivery-options/{localDeliveryOption.id}',\n pathParams: { localDeliveryOptionId: 'localDeliveryOptionId' },\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 deleteLocalDeliveryOption(): __PublicMethodMetaInfo<\n 'DELETE',\n { localDeliveryOptionId: string },\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.DeleteLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.DeleteLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.DeleteLocalDeliveryOptionResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.DeleteLocalDeliveryOptionResponse\n> {\n const payload = { localDeliveryOptionId: ':localDeliveryOptionId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.deleteLocalDeliveryOption(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/local-delivery-options/{localDeliveryOptionId}',\n pathParams: { localDeliveryOptionId: 'localDeliveryOptionId' },\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 bulkCreateLocalDeliveryOption(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.BulkCreateLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.BulkCreateLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.BulkCreateLocalDeliveryOptionResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.BulkCreateLocalDeliveryOptionResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.bulkCreateLocalDeliveryOption(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/local-delivery-options/create',\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 bulkUpdateLocalDeliveryOption(): __PublicMethodMetaInfo<\n 'PATCH',\n {},\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.BulkUpdateLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.BulkUpdateLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.BulkUpdateLocalDeliveryOptionResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.BulkUpdateLocalDeliveryOptionResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.bulkUpdateLocalDeliveryOption(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v1/bulk/local-delivery-options/update',\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 bulkDeleteLocalDeliveryOption(): __PublicMethodMetaInfo<\n 'DELETE',\n {},\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.BulkDeleteLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.BulkDeleteLocalDeliveryOptionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.BulkDeleteLocalDeliveryOptionResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.BulkDeleteLocalDeliveryOptionResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.bulkDeleteLocalDeliveryOption(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/bulk/local-delivery-options/delete',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function addDeliveryRegion(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.AddDeliveryRegionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.AddDeliveryRegionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.AddDeliveryRegionResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.AddDeliveryRegionResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.addDeliveryRegion(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/local-delivery-options/add-delivery-region',\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 removeDeliveryRegion(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.RemoveDeliveryRegionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.RemoveDeliveryRegionRequest,\n ambassadorWixEcomV1LocalDeliveryOptionUniversalTypes.RemoveDeliveryRegionResponse,\n ambassadorWixEcomV1LocalDeliveryOptionTypes.RemoveDeliveryRegionResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1LocalDeliveryOption.removeDeliveryRegion(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/local-delivery-options/remove-delivery-region',\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 {\n LocalDeliveryOption as LocalDeliveryOptionOriginal,\n LocalDeliveryOptionConfigOneOf as LocalDeliveryOptionConfigOneOfOriginal,\n Destination as DestinationOriginal,\n ZipCodeConfig as ZipCodeConfigOriginal,\n RadiusConfig as RadiusConfigOriginal,\n LocalDeliveryAddress as LocalDeliveryAddressOriginal,\n AddressLocation as AddressLocationOriginal,\n LengthUnit as LengthUnitOriginal,\n LengthUnitWithLiterals as LengthUnitWithLiteralsOriginal,\n CustomAreaConfig as CustomAreaConfigOriginal,\n CityConfig as CityConfigOriginal,\n ScheduledDelivery as ScheduledDeliveryOriginal,\n Days as DaysOriginal,\n DaySlot as DaySlotOriginal,\n TimeSlot as TimeSlotOriginal,\n TimePoint as TimePointOriginal,\n TimeWindow as TimeWindowOriginal,\n DayOfWeek as DayOfWeekOriginal,\n DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal,\n TimeOfDay as TimeOfDayOriginal,\n ConditionalRates as ConditionalRatesOriginal,\n Condition as ConditionOriginal,\n ConditionType as ConditionTypeOriginal,\n ConditionTypeWithLiterals as ConditionTypeWithLiteralsOriginal,\n LogicalOperator as LogicalOperatorOriginal,\n LogicalOperatorWithLiterals as LogicalOperatorWithLiteralsOriginal,\n CreateLocalDeliveryOptionRequest as CreateLocalDeliveryOptionRequestOriginal,\n CreateLocalDeliveryOptionResponse as CreateLocalDeliveryOptionResponseOriginal,\n GetLocalDeliveryOptionRequest as GetLocalDeliveryOptionRequestOriginal,\n GetLocalDeliveryOptionResponse as GetLocalDeliveryOptionResponseOriginal,\n ListLocalDeliveryOptionsRequest as ListLocalDeliveryOptionsRequestOriginal,\n ListLocalDeliveryOptionsResponse as ListLocalDeliveryOptionsResponseOriginal,\n QueryLocalDeliveryOptionsRequest as QueryLocalDeliveryOptionsRequestOriginal,\n QueryV2 as QueryV2Original,\n QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n Paging as PagingOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryLocalDeliveryOptionsResponse as QueryLocalDeliveryOptionsResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n UpdateLocalDeliveryOptionRequest as UpdateLocalDeliveryOptionRequestOriginal,\n UpdateLocalDeliveryOptionResponse as UpdateLocalDeliveryOptionResponseOriginal,\n DeleteLocalDeliveryOptionRequest as DeleteLocalDeliveryOptionRequestOriginal,\n DeleteLocalDeliveryOptionResponse as DeleteLocalDeliveryOptionResponseOriginal,\n BulkCreateLocalDeliveryOptionRequest as BulkCreateLocalDeliveryOptionRequestOriginal,\n BulkCreateLocalDeliveryOptionResponse as BulkCreateLocalDeliveryOptionResponseOriginal,\n LocalDeliveryOptionError as LocalDeliveryOptionErrorOriginal,\n BulkUpdateLocalDeliveryOptionRequest as BulkUpdateLocalDeliveryOptionRequestOriginal,\n BulkUpdateLocalDeliveryOptionResponse as BulkUpdateLocalDeliveryOptionResponseOriginal,\n BulkDeleteLocalDeliveryOptionRequest as BulkDeleteLocalDeliveryOptionRequestOriginal,\n BulkDeleteLocalDeliveryOptionResponse as BulkDeleteLocalDeliveryOptionResponseOriginal,\n Empty as EmptyOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n AddDeliveryRegionRequest as AddDeliveryRegionRequestOriginal,\n AddDeliveryRegionResponse as AddDeliveryRegionResponseOriginal,\n RemoveDeliveryRegionRequest as RemoveDeliveryRegionRequestOriginal,\n RemoveDeliveryRegionResponse as RemoveDeliveryRegionResponseOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n CreateLocalDeliveryOptionApplicationErrors as CreateLocalDeliveryOptionApplicationErrorsOriginal,\n BulkCreateLocalDeliveryOptionApplicationErrors as BulkCreateLocalDeliveryOptionApplicationErrorsOriginal,\n} from './ecom-v1-local-delivery-option-local-delivery-options.types.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2BAAAA;AAAA,EAAA,qCAAAC;AAAA,EAAA,qCAAAC;AAAA,EAAA,qCAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,8BAAAC;AAAA,EAAA,gCAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,iCAAAC;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C,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":["addDeliveryRegion","bulkCreateLocalDeliveryOption","bulkDeleteLocalDeliveryOption","bulkUpdateLocalDeliveryOption","createLocalDeliveryOption","deleteLocalDeliveryOption","getLocalDeliveryOption","listLocalDeliveryOptions","queryLocalDeliveryOptions","removeDeliveryRegion","updateLocalDeliveryOption","import_float","import_timestamp","import_rest_modules","payload","LengthUnit","DayOfWeek","ConditionType","LogicalOperator","SortOrder","WebhookIdentityType","createLocalDeliveryOption","getLocalDeliveryOption","listLocalDeliveryOptions","queryLocalDeliveryOptions","updateLocalDeliveryOption","deleteLocalDeliveryOption","bulkCreateLocalDeliveryOption","bulkUpdateLocalDeliveryOption","bulkDeleteLocalDeliveryOption","addDeliveryRegion","removeDeliveryRegion"]}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
-
import { LocalDeliveryOption, CreateLocalDeliveryOptionApplicationErrors, GetLocalDeliveryOptionOptions, ListLocalDeliveryOptionsResponse, UpdateLocalDeliveryOption, DeleteLocalDeliveryOptionOptions, BulkCreateLocalDeliveryOptionResponse, BulkCreateLocalDeliveryOptionApplicationErrors, BulkUpdateLocalDeliveryOptionResponse, AddDeliveryRegionOptions, AddDeliveryRegionResponse, RemoveDeliveryRegionOptions, RemoveDeliveryRegionResponse, LocalDeliveryOptionsQueryBuilder,
|
|
3
|
-
export { ActionEvent, AddDeliveryRegionRequest, AddressLocation, BulkCreateLocalDeliveryOptionRequest, BulkDeleteLocalDeliveryOptionRequest, BulkDeleteLocalDeliveryOptionResponse, BulkUpdateLocalDeliveryOptionRequest, Condition, ConditionType, ConditionTypeWithLiterals, ConditionalRates, CreateLocalDeliveryOptionRequest, CreateLocalDeliveryOptionResponse, CursorPaging, CursorPagingMetadata, Cursors, CustomAreaConfig, DayOfWeek, DayOfWeekWithLiterals, DaySlot, Days, DeleteLocalDeliveryOptionRequest, DeleteLocalDeliveryOptionResponse, Destination, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, GetLocalDeliveryOptionRequest, GetLocalDeliveryOptionResponse, IdentificationData, IdentificationDataIdOneOf, LengthUnit, LengthUnitWithLiterals, ListLocalDeliveryOptionsRequest, LocalDeliveryAddress, LocalDeliveryOptionConfigOneOf, LocalDeliveryOptionError, LocalDeliveryOptionsQueryResult, LogicalOperator, LogicalOperatorWithLiterals, MessageEnvelope, Paging, QueryLocalDeliveryOptionsRequest, QueryLocalDeliveryOptionsResponse, QueryV2PagingMethodOneOf, RadiusConfig, RemoveDeliveryRegionRequest, RestoreInfo, ScheduledDelivery, SortOrder, SortOrderWithLiterals, Sorting, TimeOfDay, TimePoint, TimeSlot, TimeWindow, UpdateLocalDeliveryOptionRequest, UpdateLocalDeliveryOptionResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, ZipCodeConfig } from './index.typings.mjs';
|
|
2
|
+
import { LocalDeliveryOption, CreateLocalDeliveryOptionApplicationErrors, GetLocalDeliveryOptionOptions, ListLocalDeliveryOptionsResponse, UpdateLocalDeliveryOption, DeleteLocalDeliveryOptionOptions, BulkCreateLocalDeliveryOptionResponse, BulkCreateLocalDeliveryOptionApplicationErrors, BulkUpdateLocalDeliveryOptionResponse, AddDeliveryRegionOptions, AddDeliveryRegionResponse, RemoveDeliveryRegionOptions, RemoveDeliveryRegionResponse, LocalDeliveryOptionsQueryBuilder, LocalDeliveryOptionQuery, typedQueryLocalDeliveryOptions } from './index.typings.mjs';
|
|
3
|
+
export { ActionEvent, AddDeliveryRegionRequest, AddressLocation, BulkCreateLocalDeliveryOptionRequest, BulkDeleteLocalDeliveryOptionRequest, BulkDeleteLocalDeliveryOptionResponse, BulkUpdateLocalDeliveryOptionRequest, CityConfig, CommonQueryWithEntityContext, Condition, ConditionType, ConditionTypeWithLiterals, ConditionalRates, CreateLocalDeliveryOptionRequest, CreateLocalDeliveryOptionResponse, CursorPaging, CursorPagingMetadata, Cursors, CustomAreaConfig, DayOfWeek, DayOfWeekWithLiterals, DaySlot, Days, DeleteLocalDeliveryOptionRequest, DeleteLocalDeliveryOptionResponse, Destination, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, GetLocalDeliveryOptionRequest, GetLocalDeliveryOptionResponse, IdentificationData, IdentificationDataIdOneOf, LengthUnit, LengthUnitWithLiterals, ListLocalDeliveryOptionsRequest, LocalDeliveryAddress, LocalDeliveryOptionConfigOneOf, LocalDeliveryOptionError, LocalDeliveryOptionQuerySpec, LocalDeliveryOptionsQueryResult, LogicalOperator, LogicalOperatorWithLiterals, MessageEnvelope, Paging, QueryLocalDeliveryOptionsRequest, QueryLocalDeliveryOptionsResponse, QueryV2, QueryV2PagingMethodOneOf, RadiusConfig, RemoveDeliveryRegionRequest, RestoreInfo, ScheduledDelivery, SortOrder, SortOrderWithLiterals, Sorting, TimeOfDay, TimePoint, TimeSlot, TimeWindow, UpdateLocalDeliveryOptionRequest, UpdateLocalDeliveryOptionResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, ZipCodeConfig } from './index.typings.mjs';
|
|
4
4
|
|
|
5
5
|
declare function createLocalDeliveryOption$1(httpClient: HttpClient): CreateLocalDeliveryOptionSignature;
|
|
6
6
|
interface CreateLocalDeliveryOptionSignature {
|
|
7
7
|
/** */
|
|
8
|
-
(localDeliveryOption: NonNullablePaths<LocalDeliveryOption, `areaName` | `radiusConfig.address` | `radiusConfig.address.formatted` | `radiusConfig.address.location` | `rate` | `scheduledDeliveryConfig.days.friday` | `scheduledDeliveryConfig.days.friday.enabledForDelivery` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.monday` | `scheduledDeliveryConfig.days.monday.enabledForDelivery` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.saturday` | `scheduledDeliveryConfig.days.saturday.enabledForDelivery` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.sunday` | `scheduledDeliveryConfig.days.sunday.enabledForDelivery` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.thursday` | `scheduledDeliveryConfig.days.thursday.enabledForDelivery` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.tuesday` | `scheduledDeliveryConfig.days.tuesday.enabledForDelivery` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.wednesday` | `scheduledDeliveryConfig.days.wednesday.enabledForDelivery` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.handlingDays`, 8>): Promise<NonNullablePaths<LocalDeliveryOption, `zipConfig.zipCodes` | `radiusConfig.radius` | `radiusConfig.lengthUnit` | `customAreaConfig.geocodes` | `destinations` | `destinations.${number}.code` | `scheduledDeliveryConfig.days.monday.timeSlots` | `scheduledDeliveryConfig.timeWindows` | `scheduledDeliveryConfig.timeWindows.${number}.day` | `scheduledDeliveryConfig.timeWindows.${number}.start.hours` | `scheduledDeliveryConfig.timeWindows.${number}.start.minutes` | `rates` | `rates.${number}.amount` | `rates.${number}.multiplyByQuantity` | `deliveryRegionIds`, 6> & {
|
|
8
|
+
(localDeliveryOption: NonNullablePaths<LocalDeliveryOption, `areaName` | `radiusConfig.address` | `radiusConfig.address.formatted` | `radiusConfig.address.location` | `rate` | `scheduledDeliveryConfig.days.friday` | `scheduledDeliveryConfig.days.friday.enabledForDelivery` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.monday` | `scheduledDeliveryConfig.days.monday.enabledForDelivery` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.saturday` | `scheduledDeliveryConfig.days.saturday.enabledForDelivery` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.sunday` | `scheduledDeliveryConfig.days.sunday.enabledForDelivery` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.thursday` | `scheduledDeliveryConfig.days.thursday.enabledForDelivery` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.tuesday` | `scheduledDeliveryConfig.days.tuesday.enabledForDelivery` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.wednesday` | `scheduledDeliveryConfig.days.wednesday.enabledForDelivery` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.handlingDays`, 8>): Promise<NonNullablePaths<LocalDeliveryOption, `zipConfig.zipCodes` | `radiusConfig.radius` | `radiusConfig.lengthUnit` | `customAreaConfig.geocodes` | `cityConfig.cities` | `destinations` | `destinations.${number}.code` | `scheduledDeliveryConfig.days.monday.timeSlots` | `scheduledDeliveryConfig.timeWindows` | `scheduledDeliveryConfig.timeWindows.${number}.day` | `scheduledDeliveryConfig.timeWindows.${number}.start.hours` | `scheduledDeliveryConfig.timeWindows.${number}.start.minutes` | `rates` | `rates.${number}.amount` | `rates.${number}.multiplyByQuantity` | `deliveryRegionIds`, 6> & {
|
|
9
9
|
__applicationErrorsType?: CreateLocalDeliveryOptionApplicationErrors;
|
|
10
10
|
}>;
|
|
11
11
|
}
|
|
12
12
|
declare function getLocalDeliveryOption$1(httpClient: HttpClient): GetLocalDeliveryOptionSignature;
|
|
13
13
|
interface GetLocalDeliveryOptionSignature {
|
|
14
14
|
/** */
|
|
15
|
-
(localDeliveryOptionId: string, options?: GetLocalDeliveryOptionOptions): Promise<NonNullablePaths<LocalDeliveryOption, `zipConfig.zipCodes` | `radiusConfig.radius` | `radiusConfig.lengthUnit` | `customAreaConfig.geocodes` | `destinations` | `destinations.${number}.code` | `scheduledDeliveryConfig.days.monday.timeSlots` | `scheduledDeliveryConfig.timeWindows` | `scheduledDeliveryConfig.timeWindows.${number}.day` | `scheduledDeliveryConfig.timeWindows.${number}.start.hours` | `scheduledDeliveryConfig.timeWindows.${number}.start.minutes` | `rates` | `rates.${number}.amount` | `rates.${number}.multiplyByQuantity` | `deliveryRegionIds`, 6>>;
|
|
15
|
+
(localDeliveryOptionId: string, options?: GetLocalDeliveryOptionOptions): Promise<NonNullablePaths<LocalDeliveryOption, `zipConfig.zipCodes` | `radiusConfig.radius` | `radiusConfig.lengthUnit` | `customAreaConfig.geocodes` | `cityConfig.cities` | `destinations` | `destinations.${number}.code` | `scheduledDeliveryConfig.days.monday.timeSlots` | `scheduledDeliveryConfig.timeWindows` | `scheduledDeliveryConfig.timeWindows.${number}.day` | `scheduledDeliveryConfig.timeWindows.${number}.start.hours` | `scheduledDeliveryConfig.timeWindows.${number}.start.minutes` | `rates` | `rates.${number}.amount` | `rates.${number}.multiplyByQuantity` | `deliveryRegionIds`, 6>>;
|
|
16
16
|
}
|
|
17
17
|
declare function listLocalDeliveryOptions$1(httpClient: HttpClient): ListLocalDeliveryOptionsSignature;
|
|
18
18
|
interface ListLocalDeliveryOptionsSignature {
|
|
@@ -22,7 +22,7 @@ interface ListLocalDeliveryOptionsSignature {
|
|
|
22
22
|
declare function updateLocalDeliveryOption$1(httpClient: HttpClient): UpdateLocalDeliveryOptionSignature;
|
|
23
23
|
interface UpdateLocalDeliveryOptionSignature {
|
|
24
24
|
/** @param - LocalDeliveryOptionId - unique identifier of local delivery option */
|
|
25
|
-
(_id: string, localDeliveryOption: NonNullablePaths<UpdateLocalDeliveryOption, `radiusConfig.address` | `radiusConfig.address.formatted` | `radiusConfig.address.location` | `scheduledDeliveryConfig.days.friday.enabledForDelivery` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.monday.enabledForDelivery` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.saturday.enabledForDelivery` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.sunday.enabledForDelivery` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.thursday.enabledForDelivery` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.tuesday.enabledForDelivery` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.wednesday.enabledForDelivery` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.handlingDays`, 8>): Promise<NonNullablePaths<LocalDeliveryOption, `zipConfig.zipCodes` | `radiusConfig.radius` | `radiusConfig.lengthUnit` | `customAreaConfig.geocodes` | `destinations` | `destinations.${number}.code` | `scheduledDeliveryConfig.days.monday.timeSlots` | `scheduledDeliveryConfig.timeWindows` | `scheduledDeliveryConfig.timeWindows.${number}.day` | `scheduledDeliveryConfig.timeWindows.${number}.start.hours` | `scheduledDeliveryConfig.timeWindows.${number}.start.minutes` | `rates` | `rates.${number}.amount` | `rates.${number}.multiplyByQuantity` | `deliveryRegionIds`, 6>>;
|
|
25
|
+
(_id: string, localDeliveryOption: NonNullablePaths<UpdateLocalDeliveryOption, `radiusConfig.address` | `radiusConfig.address.formatted` | `radiusConfig.address.location` | `scheduledDeliveryConfig.days.friday.enabledForDelivery` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.friday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.monday.enabledForDelivery` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.monday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.saturday.enabledForDelivery` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.saturday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.sunday.enabledForDelivery` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.sunday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.thursday.enabledForDelivery` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.thursday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.tuesday.enabledForDelivery` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.tuesday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.days.wednesday.enabledForDelivery` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.from` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.from.hours` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.from.minutes` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.to` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.to.hours` | `scheduledDeliveryConfig.days.wednesday.timeSlots.${number}.to.minutes` | `scheduledDeliveryConfig.handlingDays`, 8>): Promise<NonNullablePaths<LocalDeliveryOption, `zipConfig.zipCodes` | `radiusConfig.radius` | `radiusConfig.lengthUnit` | `customAreaConfig.geocodes` | `cityConfig.cities` | `destinations` | `destinations.${number}.code` | `scheduledDeliveryConfig.days.monday.timeSlots` | `scheduledDeliveryConfig.timeWindows` | `scheduledDeliveryConfig.timeWindows.${number}.day` | `scheduledDeliveryConfig.timeWindows.${number}.start.hours` | `scheduledDeliveryConfig.timeWindows.${number}.start.minutes` | `rates` | `rates.${number}.amount` | `rates.${number}.multiplyByQuantity` | `deliveryRegionIds`, 6>>;
|
|
26
26
|
}
|
|
27
27
|
declare function deleteLocalDeliveryOption$1(httpClient: HttpClient): DeleteLocalDeliveryOptionSignature;
|
|
28
28
|
interface DeleteLocalDeliveryOptionSignature {
|
|
@@ -49,17 +49,17 @@ interface BulkDeleteLocalDeliveryOptionSignature {
|
|
|
49
49
|
declare function addDeliveryRegion$1(httpClient: HttpClient): AddDeliveryRegionSignature;
|
|
50
50
|
interface AddDeliveryRegionSignature {
|
|
51
51
|
/** */
|
|
52
|
-
(deliveryRegionId: string, options?: NonNullablePaths<AddDeliveryRegionOptions, `localDeliveryOptionId`, 2>): Promise<NonNullablePaths<AddDeliveryRegionResponse, `localDeliveryOption.zipConfig.zipCodes` | `localDeliveryOption.radiusConfig.radius` | `localDeliveryOption.radiusConfig.lengthUnit` | `localDeliveryOption.customAreaConfig.geocodes` | `localDeliveryOption.destinations` | `localDeliveryOption.destinations.${number}.code` | `localDeliveryOption.scheduledDeliveryConfig.days.monday.timeSlots` | `localDeliveryOption.scheduledDeliveryConfig.timeWindows` | `localDeliveryOption.scheduledDeliveryConfig.timeWindows.${number}.day` | `localDeliveryOption.scheduledDeliveryConfig.timeWindows.${number}.start.hours` | `localDeliveryOption.scheduledDeliveryConfig.timeWindows.${number}.start.minutes` | `localDeliveryOption.rates` | `localDeliveryOption.rates.${number}.amount` | `localDeliveryOption.rates.${number}.multiplyByQuantity` | `localDeliveryOption.deliveryRegionIds`, 7>>;
|
|
52
|
+
(deliveryRegionId: string, options?: NonNullablePaths<AddDeliveryRegionOptions, `localDeliveryOptionId`, 2>): Promise<NonNullablePaths<AddDeliveryRegionResponse, `localDeliveryOption.zipConfig.zipCodes` | `localDeliveryOption.radiusConfig.radius` | `localDeliveryOption.radiusConfig.lengthUnit` | `localDeliveryOption.customAreaConfig.geocodes` | `localDeliveryOption.cityConfig.cities` | `localDeliveryOption.destinations` | `localDeliveryOption.destinations.${number}.code` | `localDeliveryOption.scheduledDeliveryConfig.days.monday.timeSlots` | `localDeliveryOption.scheduledDeliveryConfig.timeWindows` | `localDeliveryOption.scheduledDeliveryConfig.timeWindows.${number}.day` | `localDeliveryOption.scheduledDeliveryConfig.timeWindows.${number}.start.hours` | `localDeliveryOption.scheduledDeliveryConfig.timeWindows.${number}.start.minutes` | `localDeliveryOption.rates` | `localDeliveryOption.rates.${number}.amount` | `localDeliveryOption.rates.${number}.multiplyByQuantity` | `localDeliveryOption.deliveryRegionIds`, 7>>;
|
|
53
53
|
}
|
|
54
54
|
declare function removeDeliveryRegion$1(httpClient: HttpClient): RemoveDeliveryRegionSignature;
|
|
55
55
|
interface RemoveDeliveryRegionSignature {
|
|
56
56
|
/** */
|
|
57
|
-
(deliveryRegionId: string, options?: NonNullablePaths<RemoveDeliveryRegionOptions, `localDeliveryOptionId`, 2>): Promise<NonNullablePaths<RemoveDeliveryRegionResponse, `localDeliveryOption.zipConfig.zipCodes` | `localDeliveryOption.radiusConfig.radius` | `localDeliveryOption.radiusConfig.lengthUnit` | `localDeliveryOption.customAreaConfig.geocodes` | `localDeliveryOption.destinations` | `localDeliveryOption.destinations.${number}.code` | `localDeliveryOption.scheduledDeliveryConfig.days.monday.timeSlots` | `localDeliveryOption.scheduledDeliveryConfig.timeWindows` | `localDeliveryOption.scheduledDeliveryConfig.timeWindows.${number}.day` | `localDeliveryOption.scheduledDeliveryConfig.timeWindows.${number}.start.hours` | `localDeliveryOption.scheduledDeliveryConfig.timeWindows.${number}.start.minutes` | `localDeliveryOption.rates` | `localDeliveryOption.rates.${number}.amount` | `localDeliveryOption.rates.${number}.multiplyByQuantity` | `localDeliveryOption.deliveryRegionIds`, 7>>;
|
|
57
|
+
(deliveryRegionId: string, options?: NonNullablePaths<RemoveDeliveryRegionOptions, `localDeliveryOptionId`, 2>): Promise<NonNullablePaths<RemoveDeliveryRegionResponse, `localDeliveryOption.zipConfig.zipCodes` | `localDeliveryOption.radiusConfig.radius` | `localDeliveryOption.radiusConfig.lengthUnit` | `localDeliveryOption.customAreaConfig.geocodes` | `localDeliveryOption.cityConfig.cities` | `localDeliveryOption.destinations` | `localDeliveryOption.destinations.${number}.code` | `localDeliveryOption.scheduledDeliveryConfig.days.monday.timeSlots` | `localDeliveryOption.scheduledDeliveryConfig.timeWindows` | `localDeliveryOption.scheduledDeliveryConfig.timeWindows.${number}.day` | `localDeliveryOption.scheduledDeliveryConfig.timeWindows.${number}.start.hours` | `localDeliveryOption.scheduledDeliveryConfig.timeWindows.${number}.start.minutes` | `localDeliveryOption.rates` | `localDeliveryOption.rates.${number}.amount` | `localDeliveryOption.rates.${number}.multiplyByQuantity` | `localDeliveryOption.deliveryRegionIds`, 7>>;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
declare function customQueryLocalDeliveryOptions(httpClient: HttpClient): {
|
|
61
61
|
(): LocalDeliveryOptionsQueryBuilder;
|
|
62
|
-
(query:
|
|
62
|
+
(query: LocalDeliveryOptionQuery): ReturnType<typeof typedQueryLocalDeliveryOptions>;
|
|
63
63
|
};
|
|
64
64
|
declare const createLocalDeliveryOption: MaybeContext<BuildRESTFunction<typeof createLocalDeliveryOption$1> & typeof createLocalDeliveryOption$1>;
|
|
65
65
|
declare const getLocalDeliveryOption: MaybeContext<BuildRESTFunction<typeof getLocalDeliveryOption$1> & typeof getLocalDeliveryOption$1>;
|
|
@@ -73,4 +73,4 @@ declare const addDeliveryRegion: MaybeContext<BuildRESTFunction<typeof addDelive
|
|
|
73
73
|
declare const removeDeliveryRegion: MaybeContext<BuildRESTFunction<typeof removeDeliveryRegion$1> & typeof removeDeliveryRegion$1>;
|
|
74
74
|
declare const queryLocalDeliveryOptions: MaybeContext<BuildRESTFunction<typeof customQueryLocalDeliveryOptions> & typeof customQueryLocalDeliveryOptions>;
|
|
75
75
|
|
|
76
|
-
export { AddDeliveryRegionOptions, AddDeliveryRegionResponse, BulkCreateLocalDeliveryOptionApplicationErrors, BulkCreateLocalDeliveryOptionResponse, BulkUpdateLocalDeliveryOptionResponse, CreateLocalDeliveryOptionApplicationErrors, DeleteLocalDeliveryOptionOptions, GetLocalDeliveryOptionOptions, ListLocalDeliveryOptionsResponse, LocalDeliveryOption,
|
|
76
|
+
export { AddDeliveryRegionOptions, AddDeliveryRegionResponse, BulkCreateLocalDeliveryOptionApplicationErrors, BulkCreateLocalDeliveryOptionResponse, BulkUpdateLocalDeliveryOptionResponse, CreateLocalDeliveryOptionApplicationErrors, DeleteLocalDeliveryOptionOptions, GetLocalDeliveryOptionOptions, ListLocalDeliveryOptionsResponse, LocalDeliveryOption, LocalDeliveryOptionQuery, LocalDeliveryOptionsQueryBuilder, RemoveDeliveryRegionOptions, RemoveDeliveryRegionResponse, UpdateLocalDeliveryOption, addDeliveryRegion, bulkCreateLocalDeliveryOption, bulkDeleteLocalDeliveryOption, bulkUpdateLocalDeliveryOption, createLocalDeliveryOption, deleteLocalDeliveryOption, getLocalDeliveryOption, listLocalDeliveryOptions, queryLocalDeliveryOptions, removeDeliveryRegion, updateLocalDeliveryOption };
|