@wix/auto_sdk_ecom_delivery-profile 1.0.66 → 1.0.68
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 +48 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +48 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +875 -1
- package/build/cjs/meta.js +148 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +48 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +48 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +875 -1
- package/build/es/meta.mjs +140 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +48 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.js +48 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +875 -1
- package/build/internal/cjs/meta.js +148 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +48 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.mjs +48 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +875 -1
- package/build/internal/es/meta.mjs +140 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.js
CHANGED
|
@@ -20,6 +20,14 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// meta.ts
|
|
21
21
|
var meta_exports = {};
|
|
22
22
|
__export(meta_exports, {
|
|
23
|
+
ChargeTypeOriginal: () => ChargeType,
|
|
24
|
+
DeleteStatusOriginal: () => DeleteStatus,
|
|
25
|
+
DestinationScopeOriginal: () => DestinationScope,
|
|
26
|
+
NamespaceOriginal: () => Namespace,
|
|
27
|
+
SiteCreatedContextOriginal: () => SiteCreatedContext,
|
|
28
|
+
SortOrderOriginal: () => SortOrder,
|
|
29
|
+
StateOriginal: () => State,
|
|
30
|
+
WebhookIdentityTypeOriginal: () => WebhookIdentityType,
|
|
23
31
|
addDeliveryCarrier: () => addDeliveryCarrier2,
|
|
24
32
|
addDeliveryRegion: () => addDeliveryRegion2,
|
|
25
33
|
createDeliveryProfile: () => createDeliveryProfile2,
|
|
@@ -111,6 +119,9 @@ function createDeliveryProfile(payload) {
|
|
|
111
119
|
method: "POST",
|
|
112
120
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.CreateDeliveryProfile",
|
|
113
121
|
packageName: PACKAGE_NAME,
|
|
122
|
+
migrationOptions: {
|
|
123
|
+
optInTransformResponse: true
|
|
124
|
+
},
|
|
114
125
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
115
126
|
protoPath: "/v1/delivery-profiles",
|
|
116
127
|
data: serializedData,
|
|
@@ -139,6 +150,9 @@ function getDeliveryProfile(payload) {
|
|
|
139
150
|
method: "GET",
|
|
140
151
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.GetDeliveryProfile",
|
|
141
152
|
packageName: PACKAGE_NAME,
|
|
153
|
+
migrationOptions: {
|
|
154
|
+
optInTransformResponse: true
|
|
155
|
+
},
|
|
142
156
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
143
157
|
protoPath: "/v1/delivery-profiles/{deliveryProfileId}",
|
|
144
158
|
data: payload,
|
|
@@ -181,6 +195,9 @@ function updateDeliveryProfile(payload) {
|
|
|
181
195
|
method: "PATCH",
|
|
182
196
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateDeliveryProfile",
|
|
183
197
|
packageName: PACKAGE_NAME,
|
|
198
|
+
migrationOptions: {
|
|
199
|
+
optInTransformResponse: true
|
|
200
|
+
},
|
|
184
201
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
185
202
|
protoPath: "/v1/delivery-profiles/{deliveryProfile.id}",
|
|
186
203
|
data: serializedData,
|
|
@@ -209,6 +226,9 @@ function deleteDeliveryProfile(payload) {
|
|
|
209
226
|
method: "DELETE",
|
|
210
227
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.DeleteDeliveryProfile",
|
|
211
228
|
packageName: PACKAGE_NAME,
|
|
229
|
+
migrationOptions: {
|
|
230
|
+
optInTransformResponse: true
|
|
231
|
+
},
|
|
212
232
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
213
233
|
protoPath: "/v1/delivery-profiles/{deliveryProfileId}",
|
|
214
234
|
data: payload,
|
|
@@ -227,6 +247,9 @@ function queryDeliveryProfiles(payload) {
|
|
|
227
247
|
method: "GET",
|
|
228
248
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.QueryDeliveryProfiles",
|
|
229
249
|
packageName: PACKAGE_NAME,
|
|
250
|
+
migrationOptions: {
|
|
251
|
+
optInTransformResponse: true
|
|
252
|
+
},
|
|
230
253
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
231
254
|
protoPath: "/v1/delivery-profiles/query",
|
|
232
255
|
data: payload,
|
|
@@ -272,6 +295,9 @@ function addDeliveryRegion(payload) {
|
|
|
272
295
|
method: "POST",
|
|
273
296
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.AddDeliveryRegion",
|
|
274
297
|
packageName: PACKAGE_NAME,
|
|
298
|
+
migrationOptions: {
|
|
299
|
+
optInTransformResponse: true
|
|
300
|
+
},
|
|
275
301
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
276
302
|
protoPath: "/v1/delivery-profiles/{deliveryProfileId}/delivery-region",
|
|
277
303
|
data: serializedData,
|
|
@@ -310,6 +336,9 @@ function updateDeliveryRegion(payload) {
|
|
|
310
336
|
method: "PATCH",
|
|
311
337
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateDeliveryRegion",
|
|
312
338
|
packageName: PACKAGE_NAME,
|
|
339
|
+
migrationOptions: {
|
|
340
|
+
optInTransformResponse: true
|
|
341
|
+
},
|
|
313
342
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
314
343
|
protoPath: "/v1/delivery-profiles/{deliveryProfileId}/delivery-region/{deliveryRegion.id}",
|
|
315
344
|
data: serializedData,
|
|
@@ -338,6 +367,9 @@ function getDeliveryProfileByDeliveryRegionId(payload) {
|
|
|
338
367
|
method: "GET",
|
|
339
368
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.GetDeliveryProfileByDeliveryRegionId",
|
|
340
369
|
packageName: PACKAGE_NAME,
|
|
370
|
+
migrationOptions: {
|
|
371
|
+
optInTransformResponse: true
|
|
372
|
+
},
|
|
341
373
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
342
374
|
protoPath: "/v1/delivery-profiles/delivery-regions/{deliveryRegionId}",
|
|
343
375
|
data: payload,
|
|
@@ -366,6 +398,9 @@ function removeDeliveryRegion(payload) {
|
|
|
366
398
|
method: "DELETE",
|
|
367
399
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.RemoveDeliveryRegion",
|
|
368
400
|
packageName: PACKAGE_NAME,
|
|
401
|
+
migrationOptions: {
|
|
402
|
+
optInTransformResponse: true
|
|
403
|
+
},
|
|
369
404
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
370
405
|
protoPath: "/v1/delivery-profiles/{deliveryProfileId}/delivery-region/{deliveryRegionId}",
|
|
371
406
|
data: payload,
|
|
@@ -394,6 +429,9 @@ function addDeliveryCarrier(payload) {
|
|
|
394
429
|
method: "POST",
|
|
395
430
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.AddDeliveryCarrier",
|
|
396
431
|
packageName: PACKAGE_NAME,
|
|
432
|
+
migrationOptions: {
|
|
433
|
+
optInTransformResponse: true
|
|
434
|
+
},
|
|
397
435
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
398
436
|
protoPath: "/v1/delivery-profiles/add-delivery-carrier",
|
|
399
437
|
data: payload,
|
|
@@ -422,6 +460,9 @@ function removeDeliveryCarrier(payload) {
|
|
|
422
460
|
method: "POST",
|
|
423
461
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.RemoveDeliveryCarrier",
|
|
424
462
|
packageName: PACKAGE_NAME,
|
|
463
|
+
migrationOptions: {
|
|
464
|
+
optInTransformResponse: true
|
|
465
|
+
},
|
|
425
466
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
426
467
|
protoPath: "/v1/delivery-profiles/remove-delivery-carrier",
|
|
427
468
|
data: payload,
|
|
@@ -456,6 +497,9 @@ function updateDeliveryCarrier(payload) {
|
|
|
456
497
|
method: "PATCH",
|
|
457
498
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateDeliveryCarrier",
|
|
458
499
|
packageName: PACKAGE_NAME,
|
|
500
|
+
migrationOptions: {
|
|
501
|
+
optInTransformResponse: true
|
|
502
|
+
},
|
|
459
503
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
460
504
|
protoPath: "/v1/delivery-profiles/update-delivery-carrier",
|
|
461
505
|
data: serializedData,
|
|
@@ -484,6 +528,9 @@ function listInstalledDeliveryCarriers(payload) {
|
|
|
484
528
|
method: "GET",
|
|
485
529
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.ListInstalledDeliveryCarriers",
|
|
486
530
|
packageName: PACKAGE_NAME,
|
|
531
|
+
migrationOptions: {
|
|
532
|
+
optInTransformResponse: true
|
|
533
|
+
},
|
|
487
534
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
488
535
|
protoPath: "/v1/delivery-profiles/installed-carriers",
|
|
489
536
|
data: payload,
|
|
@@ -502,6 +549,9 @@ function listDeliveryCarriers(payload) {
|
|
|
502
549
|
method: "POST",
|
|
503
550
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.ListDeliveryCarriers",
|
|
504
551
|
packageName: PACKAGE_NAME,
|
|
552
|
+
migrationOptions: {
|
|
553
|
+
optInTransformResponse: true
|
|
554
|
+
},
|
|
505
555
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
506
556
|
protoPath: "/v1/delivery-profiles/{deliveryProfileId}/delivery-carriers",
|
|
507
557
|
data: payload,
|
|
@@ -520,6 +570,9 @@ function updateCarrierSettings(payload) {
|
|
|
520
570
|
method: "POST",
|
|
521
571
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateCarrierSettings",
|
|
522
572
|
packageName: PACKAGE_NAME,
|
|
573
|
+
migrationOptions: {
|
|
574
|
+
optInTransformResponse: true
|
|
575
|
+
},
|
|
523
576
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
524
577
|
protoPath: "/v1/delivery-carriers/update-settings",
|
|
525
578
|
data: payload,
|
|
@@ -538,6 +591,9 @@ function updateExtendedFields(payload) {
|
|
|
538
591
|
method: "POST",
|
|
539
592
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateExtendedFields",
|
|
540
593
|
packageName: PACKAGE_NAME,
|
|
594
|
+
migrationOptions: {
|
|
595
|
+
optInTransformResponse: true
|
|
596
|
+
},
|
|
541
597
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
542
598
|
protoPath: "/v1/delivery-profiles/{id}/update-extended-fields",
|
|
543
599
|
data: payload,
|
|
@@ -560,6 +616,90 @@ function updateExtendedFields(payload) {
|
|
|
560
616
|
return __updateExtendedFields;
|
|
561
617
|
}
|
|
562
618
|
|
|
619
|
+
// src/ecom-v1-delivery-profile-delivery-profile.types.ts
|
|
620
|
+
var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
|
|
621
|
+
ChargeType2["HANDLING_FEE"] = "HANDLING_FEE";
|
|
622
|
+
return ChargeType2;
|
|
623
|
+
})(ChargeType || {});
|
|
624
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
625
|
+
SortOrder2["ASC"] = "ASC";
|
|
626
|
+
SortOrder2["DESC"] = "DESC";
|
|
627
|
+
return SortOrder2;
|
|
628
|
+
})(SortOrder || {});
|
|
629
|
+
var DestinationScope = /* @__PURE__ */ ((DestinationScope2) => {
|
|
630
|
+
DestinationScope2["SPECIFIC_DESTINATIONS"] = "SPECIFIC_DESTINATIONS";
|
|
631
|
+
DestinationScope2["WORLDWIDE"] = "WORLDWIDE";
|
|
632
|
+
return DestinationScope2;
|
|
633
|
+
})(DestinationScope || {});
|
|
634
|
+
var State = /* @__PURE__ */ ((State2) => {
|
|
635
|
+
State2["UNKNOWN"] = "UNKNOWN";
|
|
636
|
+
State2["ENABLED"] = "ENABLED";
|
|
637
|
+
State2["DISABLED"] = "DISABLED";
|
|
638
|
+
State2["PENDING"] = "PENDING";
|
|
639
|
+
State2["DEMO"] = "DEMO";
|
|
640
|
+
return State2;
|
|
641
|
+
})(State || {});
|
|
642
|
+
var SiteCreatedContext = /* @__PURE__ */ ((SiteCreatedContext2) => {
|
|
643
|
+
SiteCreatedContext2["OTHER"] = "OTHER";
|
|
644
|
+
SiteCreatedContext2["FROM_TEMPLATE"] = "FROM_TEMPLATE";
|
|
645
|
+
SiteCreatedContext2["DUPLICATE_BY_SITE_TRANSFER"] = "DUPLICATE_BY_SITE_TRANSFER";
|
|
646
|
+
SiteCreatedContext2["DUPLICATE"] = "DUPLICATE";
|
|
647
|
+
SiteCreatedContext2["OLD_SITE_TRANSFER"] = "OLD_SITE_TRANSFER";
|
|
648
|
+
SiteCreatedContext2["FLASH"] = "FLASH";
|
|
649
|
+
return SiteCreatedContext2;
|
|
650
|
+
})(SiteCreatedContext || {});
|
|
651
|
+
var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
652
|
+
Namespace2["UNKNOWN_NAMESPACE"] = "UNKNOWN_NAMESPACE";
|
|
653
|
+
Namespace2["WIX"] = "WIX";
|
|
654
|
+
Namespace2["SHOUT_OUT"] = "SHOUT_OUT";
|
|
655
|
+
Namespace2["ALBUMS"] = "ALBUMS";
|
|
656
|
+
Namespace2["WIX_STORES_TEST_DRIVE"] = "WIX_STORES_TEST_DRIVE";
|
|
657
|
+
Namespace2["HOTELS"] = "HOTELS";
|
|
658
|
+
Namespace2["CLUBS"] = "CLUBS";
|
|
659
|
+
Namespace2["ONBOARDING_DRAFT"] = "ONBOARDING_DRAFT";
|
|
660
|
+
Namespace2["DEV_SITE"] = "DEV_SITE";
|
|
661
|
+
Namespace2["LOGOS"] = "LOGOS";
|
|
662
|
+
Namespace2["VIDEO_MAKER"] = "VIDEO_MAKER";
|
|
663
|
+
Namespace2["PARTNER_DASHBOARD"] = "PARTNER_DASHBOARD";
|
|
664
|
+
Namespace2["DEV_CENTER_COMPANY"] = "DEV_CENTER_COMPANY";
|
|
665
|
+
Namespace2["HTML_DRAFT"] = "HTML_DRAFT";
|
|
666
|
+
Namespace2["SITELESS_BUSINESS"] = "SITELESS_BUSINESS";
|
|
667
|
+
Namespace2["CREATOR_ECONOMY"] = "CREATOR_ECONOMY";
|
|
668
|
+
Namespace2["DASHBOARD_FIRST"] = "DASHBOARD_FIRST";
|
|
669
|
+
Namespace2["ANYWHERE"] = "ANYWHERE";
|
|
670
|
+
Namespace2["HEADLESS"] = "HEADLESS";
|
|
671
|
+
Namespace2["ACCOUNT_MASTER_CMS"] = "ACCOUNT_MASTER_CMS";
|
|
672
|
+
Namespace2["RISE"] = "RISE";
|
|
673
|
+
Namespace2["BRANDED_FIRST"] = "BRANDED_FIRST";
|
|
674
|
+
Namespace2["NOWNIA"] = "NOWNIA";
|
|
675
|
+
Namespace2["UGC_TEMPLATE"] = "UGC_TEMPLATE";
|
|
676
|
+
Namespace2["CODUX"] = "CODUX";
|
|
677
|
+
Namespace2["MEDIA_DESIGN_CREATOR"] = "MEDIA_DESIGN_CREATOR";
|
|
678
|
+
Namespace2["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
|
|
679
|
+
Namespace2["STANDALONE_FORMS"] = "STANDALONE_FORMS";
|
|
680
|
+
Namespace2["STANDALONE_EVENTS"] = "STANDALONE_EVENTS";
|
|
681
|
+
Namespace2["MIMIR"] = "MIMIR";
|
|
682
|
+
Namespace2["TWINS"] = "TWINS";
|
|
683
|
+
Namespace2["NANO"] = "NANO";
|
|
684
|
+
return Namespace2;
|
|
685
|
+
})(Namespace || {});
|
|
686
|
+
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|
|
687
|
+
DeleteStatus2["UNKNOWN"] = "UNKNOWN";
|
|
688
|
+
DeleteStatus2["TRASH"] = "TRASH";
|
|
689
|
+
DeleteStatus2["DELETED"] = "DELETED";
|
|
690
|
+
DeleteStatus2["PENDING_PURGE"] = "PENDING_PURGE";
|
|
691
|
+
DeleteStatus2["PURGED_EXTERNALLY"] = "PURGED_EXTERNALLY";
|
|
692
|
+
return DeleteStatus2;
|
|
693
|
+
})(DeleteStatus || {});
|
|
694
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
695
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
696
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
697
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
698
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
699
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
700
|
+
return WebhookIdentityType2;
|
|
701
|
+
})(WebhookIdentityType || {});
|
|
702
|
+
|
|
563
703
|
// src/ecom-v1-delivery-profile-delivery-profile.meta.ts
|
|
564
704
|
function createDeliveryProfile2() {
|
|
565
705
|
const payload = {};
|
|
@@ -865,6 +1005,14 @@ function updateExtendedFields2() {
|
|
|
865
1005
|
}
|
|
866
1006
|
// Annotate the CommonJS export names for ESM import in node:
|
|
867
1007
|
0 && (module.exports = {
|
|
1008
|
+
ChargeTypeOriginal,
|
|
1009
|
+
DeleteStatusOriginal,
|
|
1010
|
+
DestinationScopeOriginal,
|
|
1011
|
+
NamespaceOriginal,
|
|
1012
|
+
SiteCreatedContextOriginal,
|
|
1013
|
+
SortOrderOriginal,
|
|
1014
|
+
StateOriginal,
|
|
1015
|
+
WebhookIdentityTypeOriginal,
|
|
868
1016
|
addDeliveryCarrier,
|
|
869
1017
|
addDeliveryRegion,
|
|
870
1018
|
createDeliveryProfile,
|