@wix/auto_sdk_ecom_local-delivery-options 1.0.25 → 1.0.27
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.js +33 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +33 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +151 -1
- package/build/cjs/meta.js +92 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +33 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +33 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +151 -1
- package/build/es/meta.mjs +86 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +33 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.js +33 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +151 -1
- package/build/internal/cjs/meta.js +92 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +33 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.mjs +33 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +151 -1
- package/build/internal/es/meta.mjs +86 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -473,6 +473,72 @@ interface BulkDeleteLocalDeliveryOptionRequest {
|
|
|
473
473
|
}
|
|
474
474
|
interface BulkDeleteLocalDeliveryOptionResponse {
|
|
475
475
|
}
|
|
476
|
+
interface Empty {
|
|
477
|
+
}
|
|
478
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
479
|
+
createdEvent?: EntityCreatedEvent;
|
|
480
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
481
|
+
deletedEvent?: EntityDeletedEvent;
|
|
482
|
+
actionEvent?: ActionEvent;
|
|
483
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
484
|
+
id?: string;
|
|
485
|
+
/**
|
|
486
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
487
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
488
|
+
*/
|
|
489
|
+
entityFqdn?: string;
|
|
490
|
+
/**
|
|
491
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
492
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
493
|
+
*/
|
|
494
|
+
slug?: string;
|
|
495
|
+
/** ID of the entity associated with the event. */
|
|
496
|
+
entityId?: string;
|
|
497
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
498
|
+
eventTime?: Date | null;
|
|
499
|
+
/**
|
|
500
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
501
|
+
* (for example, GDPR).
|
|
502
|
+
*/
|
|
503
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
504
|
+
/** If present, indicates the action that triggered the event. */
|
|
505
|
+
originatedFrom?: string | null;
|
|
506
|
+
/**
|
|
507
|
+
* 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.
|
|
508
|
+
* 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.
|
|
509
|
+
*/
|
|
510
|
+
entityEventSequence?: string | null;
|
|
511
|
+
}
|
|
512
|
+
/** @oneof */
|
|
513
|
+
interface DomainEventBodyOneOf {
|
|
514
|
+
createdEvent?: EntityCreatedEvent;
|
|
515
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
516
|
+
deletedEvent?: EntityDeletedEvent;
|
|
517
|
+
actionEvent?: ActionEvent;
|
|
518
|
+
}
|
|
519
|
+
interface EntityCreatedEvent {
|
|
520
|
+
entityAsJson?: string;
|
|
521
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
522
|
+
restoreInfo?: RestoreInfo;
|
|
523
|
+
}
|
|
524
|
+
interface RestoreInfo {
|
|
525
|
+
deletedDate?: Date | null;
|
|
526
|
+
}
|
|
527
|
+
interface EntityUpdatedEvent {
|
|
528
|
+
/**
|
|
529
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
530
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
531
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
532
|
+
*/
|
|
533
|
+
currentEntityAsJson?: string;
|
|
534
|
+
}
|
|
535
|
+
interface EntityDeletedEvent {
|
|
536
|
+
/** Entity that was deleted. */
|
|
537
|
+
deletedEntityAsJson?: string | null;
|
|
538
|
+
}
|
|
539
|
+
interface ActionEvent {
|
|
540
|
+
bodyAsJson?: string;
|
|
541
|
+
}
|
|
476
542
|
interface AddDeliveryRegionRequest {
|
|
477
543
|
/** @format GUID */
|
|
478
544
|
deliveryRegionId: string;
|
|
@@ -495,6 +561,90 @@ interface RemoveDeliveryRegionRequest {
|
|
|
495
561
|
interface RemoveDeliveryRegionResponse {
|
|
496
562
|
localDeliveryOption?: LocalDeliveryOption;
|
|
497
563
|
}
|
|
564
|
+
interface MessageEnvelope {
|
|
565
|
+
/**
|
|
566
|
+
* App instance ID.
|
|
567
|
+
* @format GUID
|
|
568
|
+
*/
|
|
569
|
+
instanceId?: string | null;
|
|
570
|
+
/**
|
|
571
|
+
* Event type.
|
|
572
|
+
* @maxLength 150
|
|
573
|
+
*/
|
|
574
|
+
eventType?: string;
|
|
575
|
+
/** The identification type and identity data. */
|
|
576
|
+
identity?: IdentificationData;
|
|
577
|
+
/** Stringify payload. */
|
|
578
|
+
data?: string;
|
|
579
|
+
}
|
|
580
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
581
|
+
/**
|
|
582
|
+
* ID of a site visitor that has not logged in to the site.
|
|
583
|
+
* @format GUID
|
|
584
|
+
*/
|
|
585
|
+
anonymousVisitorId?: string;
|
|
586
|
+
/**
|
|
587
|
+
* ID of a site visitor that has logged in to the site.
|
|
588
|
+
* @format GUID
|
|
589
|
+
*/
|
|
590
|
+
memberId?: string;
|
|
591
|
+
/**
|
|
592
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
593
|
+
* @format GUID
|
|
594
|
+
*/
|
|
595
|
+
wixUserId?: string;
|
|
596
|
+
/**
|
|
597
|
+
* ID of an app.
|
|
598
|
+
* @format GUID
|
|
599
|
+
*/
|
|
600
|
+
appId?: string;
|
|
601
|
+
/** @readonly */
|
|
602
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
603
|
+
}
|
|
604
|
+
/** @oneof */
|
|
605
|
+
interface IdentificationDataIdOneOf {
|
|
606
|
+
/**
|
|
607
|
+
* ID of a site visitor that has not logged in to the site.
|
|
608
|
+
* @format GUID
|
|
609
|
+
*/
|
|
610
|
+
anonymousVisitorId?: string;
|
|
611
|
+
/**
|
|
612
|
+
* ID of a site visitor that has logged in to the site.
|
|
613
|
+
* @format GUID
|
|
614
|
+
*/
|
|
615
|
+
memberId?: string;
|
|
616
|
+
/**
|
|
617
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
618
|
+
* @format GUID
|
|
619
|
+
*/
|
|
620
|
+
wixUserId?: string;
|
|
621
|
+
/**
|
|
622
|
+
* ID of an app.
|
|
623
|
+
* @format GUID
|
|
624
|
+
*/
|
|
625
|
+
appId?: string;
|
|
626
|
+
}
|
|
627
|
+
declare enum WebhookIdentityType {
|
|
628
|
+
UNKNOWN = "UNKNOWN",
|
|
629
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
630
|
+
MEMBER = "MEMBER",
|
|
631
|
+
WIX_USER = "WIX_USER",
|
|
632
|
+
APP = "APP"
|
|
633
|
+
}
|
|
634
|
+
/** @enumType */
|
|
635
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
636
|
+
/** @docsIgnore */
|
|
637
|
+
type CreateLocalDeliveryOptionApplicationErrors = {
|
|
638
|
+
code?: 'LIMIT_OF_OPTIONS_PER_EXTERNAL_ID_EXCEEDED';
|
|
639
|
+
description?: string;
|
|
640
|
+
data?: Record<string, any>;
|
|
641
|
+
};
|
|
642
|
+
/** @docsIgnore */
|
|
643
|
+
type BulkCreateLocalDeliveryOptionApplicationErrors = {
|
|
644
|
+
code?: 'LIMIT_OF_OPTIONS_PER_DELIVERY_REGION_EXCEEDED';
|
|
645
|
+
description?: string;
|
|
646
|
+
data?: Record<string, any>;
|
|
647
|
+
};
|
|
498
648
|
|
|
499
649
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
500
650
|
getUrl: (context: any) => string;
|
|
@@ -524,4 +674,4 @@ declare function bulkDeleteLocalDeliveryOption(): __PublicMethodMetaInfo<'DELETE
|
|
|
524
674
|
declare function addDeliveryRegion(): __PublicMethodMetaInfo<'POST', {}, AddDeliveryRegionRequest$1, AddDeliveryRegionRequest, AddDeliveryRegionResponse$1, AddDeliveryRegionResponse>;
|
|
525
675
|
declare function removeDeliveryRegion(): __PublicMethodMetaInfo<'POST', {}, RemoveDeliveryRegionRequest$1, RemoveDeliveryRegionRequest, RemoveDeliveryRegionResponse$1, RemoveDeliveryRegionResponse>;
|
|
526
676
|
|
|
527
|
-
export { type __PublicMethodMetaInfo, addDeliveryRegion, bulkCreateLocalDeliveryOption, bulkDeleteLocalDeliveryOption, bulkUpdateLocalDeliveryOption, createLocalDeliveryOption, deleteLocalDeliveryOption, getLocalDeliveryOption, listLocalDeliveryOptions, queryLocalDeliveryOptions, removeDeliveryRegion, updateLocalDeliveryOption };
|
|
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 };
|
package/build/cjs/meta.js
CHANGED
|
@@ -20,6 +20,12 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// meta.ts
|
|
21
21
|
var meta_exports = {};
|
|
22
22
|
__export(meta_exports, {
|
|
23
|
+
ConditionTypeOriginal: () => ConditionType,
|
|
24
|
+
DayOfWeekOriginal: () => DayOfWeek,
|
|
25
|
+
LengthUnitOriginal: () => LengthUnit,
|
|
26
|
+
LogicalOperatorOriginal: () => LogicalOperator,
|
|
27
|
+
SortOrderOriginal: () => SortOrder,
|
|
28
|
+
WebhookIdentityTypeOriginal: () => WebhookIdentityType,
|
|
23
29
|
addDeliveryRegion: () => addDeliveryRegion2,
|
|
24
30
|
bulkCreateLocalDeliveryOption: () => bulkCreateLocalDeliveryOption2,
|
|
25
31
|
bulkDeleteLocalDeliveryOption: () => bulkDeleteLocalDeliveryOption2,
|
|
@@ -102,6 +108,9 @@ function createLocalDeliveryOption(payload) {
|
|
|
102
108
|
method: "POST",
|
|
103
109
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.CreateLocalDeliveryOption",
|
|
104
110
|
packageName: PACKAGE_NAME,
|
|
111
|
+
migrationOptions: {
|
|
112
|
+
optInTransformResponse: true
|
|
113
|
+
},
|
|
105
114
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
106
115
|
protoPath: "/v1/local-delivery-options",
|
|
107
116
|
data: serializedData,
|
|
@@ -148,6 +157,9 @@ function getLocalDeliveryOption(payload) {
|
|
|
148
157
|
method: "GET",
|
|
149
158
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.GetLocalDeliveryOption",
|
|
150
159
|
packageName: PACKAGE_NAME,
|
|
160
|
+
migrationOptions: {
|
|
161
|
+
optInTransformResponse: true
|
|
162
|
+
},
|
|
151
163
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
152
164
|
protoPath: "/v1/local-delivery-options/{localDeliveryOptionId}",
|
|
153
165
|
data: payload,
|
|
@@ -205,6 +217,9 @@ function listLocalDeliveryOptions(payload) {
|
|
|
205
217
|
method: "GET",
|
|
206
218
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.ListLocalDeliveryOptions",
|
|
207
219
|
packageName: PACKAGE_NAME,
|
|
220
|
+
migrationOptions: {
|
|
221
|
+
optInTransformResponse: true
|
|
222
|
+
},
|
|
208
223
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
209
224
|
protoPath: "/v1/localDeliveryOptions",
|
|
210
225
|
data: payload,
|
|
@@ -251,6 +266,9 @@ function queryLocalDeliveryOptions(payload) {
|
|
|
251
266
|
method: "POST",
|
|
252
267
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.QueryLocalDeliveryOptions",
|
|
253
268
|
packageName: PACKAGE_NAME,
|
|
269
|
+
migrationOptions: {
|
|
270
|
+
optInTransformResponse: true
|
|
271
|
+
},
|
|
254
272
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
255
273
|
protoPath: "/v1/local-delivery-options/query",
|
|
256
274
|
data: payload,
|
|
@@ -323,6 +341,9 @@ function updateLocalDeliveryOption(payload) {
|
|
|
323
341
|
method: "PATCH",
|
|
324
342
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.UpdateLocalDeliveryOption",
|
|
325
343
|
packageName: PACKAGE_NAME,
|
|
344
|
+
migrationOptions: {
|
|
345
|
+
optInTransformResponse: true
|
|
346
|
+
},
|
|
326
347
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
327
348
|
protoPath: "/v1/local-delivery-options/{localDeliveryOption.id}",
|
|
328
349
|
data: serializedData,
|
|
@@ -369,6 +390,9 @@ function deleteLocalDeliveryOption(payload) {
|
|
|
369
390
|
method: "DELETE",
|
|
370
391
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.DeleteLocalDeliveryOption",
|
|
371
392
|
packageName: PACKAGE_NAME,
|
|
393
|
+
migrationOptions: {
|
|
394
|
+
optInTransformResponse: true
|
|
395
|
+
},
|
|
372
396
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
373
397
|
protoPath: "/v1/local-delivery-options/{localDeliveryOptionId}",
|
|
374
398
|
data: payload,
|
|
@@ -411,6 +435,9 @@ function bulkCreateLocalDeliveryOption(payload) {
|
|
|
411
435
|
method: "POST",
|
|
412
436
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.BulkCreateLocalDeliveryOption",
|
|
413
437
|
packageName: PACKAGE_NAME,
|
|
438
|
+
migrationOptions: {
|
|
439
|
+
optInTransformResponse: true
|
|
440
|
+
},
|
|
414
441
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
415
442
|
protoPath: "/v1/bulk/local-delivery-options/create",
|
|
416
443
|
data: serializedData,
|
|
@@ -481,6 +508,9 @@ function bulkUpdateLocalDeliveryOption(payload) {
|
|
|
481
508
|
method: "PATCH",
|
|
482
509
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.BulkUpdateLocalDeliveryOption",
|
|
483
510
|
packageName: PACKAGE_NAME,
|
|
511
|
+
migrationOptions: {
|
|
512
|
+
optInTransformResponse: true
|
|
513
|
+
},
|
|
484
514
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
485
515
|
protoPath: "/v1/bulk/local-delivery-options/update",
|
|
486
516
|
data: serializedData,
|
|
@@ -527,6 +557,9 @@ function bulkDeleteLocalDeliveryOption(payload) {
|
|
|
527
557
|
method: "DELETE",
|
|
528
558
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.BulkDeleteLocalDeliveryOption",
|
|
529
559
|
packageName: PACKAGE_NAME,
|
|
560
|
+
migrationOptions: {
|
|
561
|
+
optInTransformResponse: true
|
|
562
|
+
},
|
|
530
563
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
531
564
|
protoPath: "/v1/bulk/local-delivery-options/delete",
|
|
532
565
|
data: payload,
|
|
@@ -545,6 +578,9 @@ function addDeliveryRegion(payload) {
|
|
|
545
578
|
method: "POST",
|
|
546
579
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.AddDeliveryRegion",
|
|
547
580
|
packageName: PACKAGE_NAME,
|
|
581
|
+
migrationOptions: {
|
|
582
|
+
optInTransformResponse: true
|
|
583
|
+
},
|
|
548
584
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
549
585
|
protoPath: "/v1/local-delivery-options/add-delivery-region",
|
|
550
586
|
data: payload,
|
|
@@ -591,6 +627,9 @@ function removeDeliveryRegion(payload) {
|
|
|
591
627
|
method: "POST",
|
|
592
628
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.RemoveDeliveryRegion",
|
|
593
629
|
packageName: PACKAGE_NAME,
|
|
630
|
+
migrationOptions: {
|
|
631
|
+
optInTransformResponse: true
|
|
632
|
+
},
|
|
594
633
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
595
634
|
protoPath: "/v1/local-delivery-options/remove-delivery-region",
|
|
596
635
|
data: payload,
|
|
@@ -631,6 +670,53 @@ function removeDeliveryRegion(payload) {
|
|
|
631
670
|
return __removeDeliveryRegion;
|
|
632
671
|
}
|
|
633
672
|
|
|
673
|
+
// src/ecom-v1-local-delivery-option-local-delivery-options.types.ts
|
|
674
|
+
var LengthUnit = /* @__PURE__ */ ((LengthUnit2) => {
|
|
675
|
+
LengthUnit2["UNSPECIFIED_LENGTH_UNIT"] = "UNSPECIFIED_LENGTH_UNIT";
|
|
676
|
+
LengthUnit2["KM"] = "KM";
|
|
677
|
+
LengthUnit2["MI"] = "MI";
|
|
678
|
+
return LengthUnit2;
|
|
679
|
+
})(LengthUnit || {});
|
|
680
|
+
var DayOfWeek = /* @__PURE__ */ ((DayOfWeek2) => {
|
|
681
|
+
DayOfWeek2["MON"] = "MON";
|
|
682
|
+
DayOfWeek2["TUE"] = "TUE";
|
|
683
|
+
DayOfWeek2["WED"] = "WED";
|
|
684
|
+
DayOfWeek2["THU"] = "THU";
|
|
685
|
+
DayOfWeek2["FRI"] = "FRI";
|
|
686
|
+
DayOfWeek2["SAT"] = "SAT";
|
|
687
|
+
DayOfWeek2["SUN"] = "SUN";
|
|
688
|
+
return DayOfWeek2;
|
|
689
|
+
})(DayOfWeek || {});
|
|
690
|
+
var ConditionType = /* @__PURE__ */ ((ConditionType2) => {
|
|
691
|
+
ConditionType2["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
|
|
692
|
+
ConditionType2["BY_TOTAL_WEIGHT"] = "BY_TOTAL_WEIGHT";
|
|
693
|
+
ConditionType2["BY_TOTAL_PRICE"] = "BY_TOTAL_PRICE";
|
|
694
|
+
ConditionType2["BY_TOTAL_QUANTITY"] = "BY_TOTAL_QUANTITY";
|
|
695
|
+
return ConditionType2;
|
|
696
|
+
})(ConditionType || {});
|
|
697
|
+
var LogicalOperator = /* @__PURE__ */ ((LogicalOperator2) => {
|
|
698
|
+
LogicalOperator2["UNKNOWN_LOGICAL_OPERATOR_TYPE"] = "UNKNOWN_LOGICAL_OPERATOR_TYPE";
|
|
699
|
+
LogicalOperator2["EQ"] = "EQ";
|
|
700
|
+
LogicalOperator2["GT"] = "GT";
|
|
701
|
+
LogicalOperator2["GTE"] = "GTE";
|
|
702
|
+
LogicalOperator2["LT"] = "LT";
|
|
703
|
+
LogicalOperator2["LTE"] = "LTE";
|
|
704
|
+
return LogicalOperator2;
|
|
705
|
+
})(LogicalOperator || {});
|
|
706
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
707
|
+
SortOrder2["ASC"] = "ASC";
|
|
708
|
+
SortOrder2["DESC"] = "DESC";
|
|
709
|
+
return SortOrder2;
|
|
710
|
+
})(SortOrder || {});
|
|
711
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
712
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
713
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
714
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
715
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
716
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
717
|
+
return WebhookIdentityType2;
|
|
718
|
+
})(WebhookIdentityType || {});
|
|
719
|
+
|
|
634
720
|
// src/ecom-v1-local-delivery-option-local-delivery-options.meta.ts
|
|
635
721
|
function createLocalDeliveryOption2() {
|
|
636
722
|
const payload = {};
|
|
@@ -840,6 +926,12 @@ function removeDeliveryRegion2() {
|
|
|
840
926
|
}
|
|
841
927
|
// Annotate the CommonJS export names for ESM import in node:
|
|
842
928
|
0 && (module.exports = {
|
|
929
|
+
ConditionTypeOriginal,
|
|
930
|
+
DayOfWeekOriginal,
|
|
931
|
+
LengthUnitOriginal,
|
|
932
|
+
LogicalOperatorOriginal,
|
|
933
|
+
SortOrderOriginal,
|
|
934
|
+
WebhookIdentityTypeOriginal,
|
|
843
935
|
addDeliveryRegion,
|
|
844
936
|
bulkCreateLocalDeliveryOption,
|
|
845
937
|
bulkDeleteLocalDeliveryOption,
|