@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
|
@@ -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 };
|
|
@@ -66,6 +66,9 @@ function createLocalDeliveryOption(payload) {
|
|
|
66
66
|
method: "POST",
|
|
67
67
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.CreateLocalDeliveryOption",
|
|
68
68
|
packageName: PACKAGE_NAME,
|
|
69
|
+
migrationOptions: {
|
|
70
|
+
optInTransformResponse: true
|
|
71
|
+
},
|
|
69
72
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
70
73
|
protoPath: "/v1/local-delivery-options",
|
|
71
74
|
data: serializedData,
|
|
@@ -112,6 +115,9 @@ function getLocalDeliveryOption(payload) {
|
|
|
112
115
|
method: "GET",
|
|
113
116
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.GetLocalDeliveryOption",
|
|
114
117
|
packageName: PACKAGE_NAME,
|
|
118
|
+
migrationOptions: {
|
|
119
|
+
optInTransformResponse: true
|
|
120
|
+
},
|
|
115
121
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
116
122
|
protoPath: "/v1/local-delivery-options/{localDeliveryOptionId}",
|
|
117
123
|
data: payload,
|
|
@@ -169,6 +175,9 @@ function listLocalDeliveryOptions(payload) {
|
|
|
169
175
|
method: "GET",
|
|
170
176
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.ListLocalDeliveryOptions",
|
|
171
177
|
packageName: PACKAGE_NAME,
|
|
178
|
+
migrationOptions: {
|
|
179
|
+
optInTransformResponse: true
|
|
180
|
+
},
|
|
172
181
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
173
182
|
protoPath: "/v1/localDeliveryOptions",
|
|
174
183
|
data: payload,
|
|
@@ -215,6 +224,9 @@ function queryLocalDeliveryOptions(payload) {
|
|
|
215
224
|
method: "POST",
|
|
216
225
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.QueryLocalDeliveryOptions",
|
|
217
226
|
packageName: PACKAGE_NAME,
|
|
227
|
+
migrationOptions: {
|
|
228
|
+
optInTransformResponse: true
|
|
229
|
+
},
|
|
218
230
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
219
231
|
protoPath: "/v1/local-delivery-options/query",
|
|
220
232
|
data: payload,
|
|
@@ -287,6 +299,9 @@ function updateLocalDeliveryOption(payload) {
|
|
|
287
299
|
method: "PATCH",
|
|
288
300
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.UpdateLocalDeliveryOption",
|
|
289
301
|
packageName: PACKAGE_NAME,
|
|
302
|
+
migrationOptions: {
|
|
303
|
+
optInTransformResponse: true
|
|
304
|
+
},
|
|
290
305
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
291
306
|
protoPath: "/v1/local-delivery-options/{localDeliveryOption.id}",
|
|
292
307
|
data: serializedData,
|
|
@@ -333,6 +348,9 @@ function deleteLocalDeliveryOption(payload) {
|
|
|
333
348
|
method: "DELETE",
|
|
334
349
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.DeleteLocalDeliveryOption",
|
|
335
350
|
packageName: PACKAGE_NAME,
|
|
351
|
+
migrationOptions: {
|
|
352
|
+
optInTransformResponse: true
|
|
353
|
+
},
|
|
336
354
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
337
355
|
protoPath: "/v1/local-delivery-options/{localDeliveryOptionId}",
|
|
338
356
|
data: payload,
|
|
@@ -375,6 +393,9 @@ function bulkCreateLocalDeliveryOption(payload) {
|
|
|
375
393
|
method: "POST",
|
|
376
394
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.BulkCreateLocalDeliveryOption",
|
|
377
395
|
packageName: PACKAGE_NAME,
|
|
396
|
+
migrationOptions: {
|
|
397
|
+
optInTransformResponse: true
|
|
398
|
+
},
|
|
378
399
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
379
400
|
protoPath: "/v1/bulk/local-delivery-options/create",
|
|
380
401
|
data: serializedData,
|
|
@@ -445,6 +466,9 @@ function bulkUpdateLocalDeliveryOption(payload) {
|
|
|
445
466
|
method: "PATCH",
|
|
446
467
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.BulkUpdateLocalDeliveryOption",
|
|
447
468
|
packageName: PACKAGE_NAME,
|
|
469
|
+
migrationOptions: {
|
|
470
|
+
optInTransformResponse: true
|
|
471
|
+
},
|
|
448
472
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
449
473
|
protoPath: "/v1/bulk/local-delivery-options/update",
|
|
450
474
|
data: serializedData,
|
|
@@ -491,6 +515,9 @@ function bulkDeleteLocalDeliveryOption(payload) {
|
|
|
491
515
|
method: "DELETE",
|
|
492
516
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.BulkDeleteLocalDeliveryOption",
|
|
493
517
|
packageName: PACKAGE_NAME,
|
|
518
|
+
migrationOptions: {
|
|
519
|
+
optInTransformResponse: true
|
|
520
|
+
},
|
|
494
521
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
495
522
|
protoPath: "/v1/bulk/local-delivery-options/delete",
|
|
496
523
|
data: payload,
|
|
@@ -509,6 +536,9 @@ function addDeliveryRegion(payload) {
|
|
|
509
536
|
method: "POST",
|
|
510
537
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.AddDeliveryRegion",
|
|
511
538
|
packageName: PACKAGE_NAME,
|
|
539
|
+
migrationOptions: {
|
|
540
|
+
optInTransformResponse: true
|
|
541
|
+
},
|
|
512
542
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
513
543
|
protoPath: "/v1/local-delivery-options/add-delivery-region",
|
|
514
544
|
data: payload,
|
|
@@ -555,6 +585,9 @@ function removeDeliveryRegion(payload) {
|
|
|
555
585
|
method: "POST",
|
|
556
586
|
methodFqn: "com.wix.ecom.shipments.localdelivery.LocalDelivery.RemoveDeliveryRegion",
|
|
557
587
|
packageName: PACKAGE_NAME,
|
|
588
|
+
migrationOptions: {
|
|
589
|
+
optInTransformResponse: true
|
|
590
|
+
},
|
|
558
591
|
url: resolveComWixEcomShipmentsLocaldeliveryLocalDeliveryUrl({
|
|
559
592
|
protoPath: "/v1/local-delivery-options/remove-delivery-region",
|
|
560
593
|
data: payload,
|
|
@@ -595,6 +628,53 @@ function removeDeliveryRegion(payload) {
|
|
|
595
628
|
return __removeDeliveryRegion;
|
|
596
629
|
}
|
|
597
630
|
|
|
631
|
+
// src/ecom-v1-local-delivery-option-local-delivery-options.types.ts
|
|
632
|
+
var LengthUnit = /* @__PURE__ */ ((LengthUnit2) => {
|
|
633
|
+
LengthUnit2["UNSPECIFIED_LENGTH_UNIT"] = "UNSPECIFIED_LENGTH_UNIT";
|
|
634
|
+
LengthUnit2["KM"] = "KM";
|
|
635
|
+
LengthUnit2["MI"] = "MI";
|
|
636
|
+
return LengthUnit2;
|
|
637
|
+
})(LengthUnit || {});
|
|
638
|
+
var DayOfWeek = /* @__PURE__ */ ((DayOfWeek2) => {
|
|
639
|
+
DayOfWeek2["MON"] = "MON";
|
|
640
|
+
DayOfWeek2["TUE"] = "TUE";
|
|
641
|
+
DayOfWeek2["WED"] = "WED";
|
|
642
|
+
DayOfWeek2["THU"] = "THU";
|
|
643
|
+
DayOfWeek2["FRI"] = "FRI";
|
|
644
|
+
DayOfWeek2["SAT"] = "SAT";
|
|
645
|
+
DayOfWeek2["SUN"] = "SUN";
|
|
646
|
+
return DayOfWeek2;
|
|
647
|
+
})(DayOfWeek || {});
|
|
648
|
+
var ConditionType = /* @__PURE__ */ ((ConditionType2) => {
|
|
649
|
+
ConditionType2["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
|
|
650
|
+
ConditionType2["BY_TOTAL_WEIGHT"] = "BY_TOTAL_WEIGHT";
|
|
651
|
+
ConditionType2["BY_TOTAL_PRICE"] = "BY_TOTAL_PRICE";
|
|
652
|
+
ConditionType2["BY_TOTAL_QUANTITY"] = "BY_TOTAL_QUANTITY";
|
|
653
|
+
return ConditionType2;
|
|
654
|
+
})(ConditionType || {});
|
|
655
|
+
var LogicalOperator = /* @__PURE__ */ ((LogicalOperator2) => {
|
|
656
|
+
LogicalOperator2["UNKNOWN_LOGICAL_OPERATOR_TYPE"] = "UNKNOWN_LOGICAL_OPERATOR_TYPE";
|
|
657
|
+
LogicalOperator2["EQ"] = "EQ";
|
|
658
|
+
LogicalOperator2["GT"] = "GT";
|
|
659
|
+
LogicalOperator2["GTE"] = "GTE";
|
|
660
|
+
LogicalOperator2["LT"] = "LT";
|
|
661
|
+
LogicalOperator2["LTE"] = "LTE";
|
|
662
|
+
return LogicalOperator2;
|
|
663
|
+
})(LogicalOperator || {});
|
|
664
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
665
|
+
SortOrder2["ASC"] = "ASC";
|
|
666
|
+
SortOrder2["DESC"] = "DESC";
|
|
667
|
+
return SortOrder2;
|
|
668
|
+
})(SortOrder || {});
|
|
669
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
670
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
671
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
672
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
673
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
674
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
675
|
+
return WebhookIdentityType2;
|
|
676
|
+
})(WebhookIdentityType || {});
|
|
677
|
+
|
|
598
678
|
// src/ecom-v1-local-delivery-option-local-delivery-options.meta.ts
|
|
599
679
|
function createLocalDeliveryOption2() {
|
|
600
680
|
const payload = {};
|
|
@@ -803,6 +883,12 @@ function removeDeliveryRegion2() {
|
|
|
803
883
|
};
|
|
804
884
|
}
|
|
805
885
|
export {
|
|
886
|
+
ConditionType as ConditionTypeOriginal,
|
|
887
|
+
DayOfWeek as DayOfWeekOriginal,
|
|
888
|
+
LengthUnit as LengthUnitOriginal,
|
|
889
|
+
LogicalOperator as LogicalOperatorOriginal,
|
|
890
|
+
SortOrder as SortOrderOriginal,
|
|
891
|
+
WebhookIdentityType as WebhookIdentityTypeOriginal,
|
|
806
892
|
addDeliveryRegion2 as addDeliveryRegion,
|
|
807
893
|
bulkCreateLocalDeliveryOption2 as bulkCreateLocalDeliveryOption,
|
|
808
894
|
bulkDeleteLocalDeliveryOption2 as bulkDeleteLocalDeliveryOption,
|