@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
|
@@ -70,6 +70,9 @@ function createDeliveryProfile(payload) {
|
|
|
70
70
|
method: "POST",
|
|
71
71
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.CreateDeliveryProfile",
|
|
72
72
|
packageName: PACKAGE_NAME,
|
|
73
|
+
migrationOptions: {
|
|
74
|
+
optInTransformResponse: true
|
|
75
|
+
},
|
|
73
76
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
74
77
|
protoPath: "/v1/delivery-profiles",
|
|
75
78
|
data: serializedData,
|
|
@@ -98,6 +101,9 @@ function getDeliveryProfile(payload) {
|
|
|
98
101
|
method: "GET",
|
|
99
102
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.GetDeliveryProfile",
|
|
100
103
|
packageName: PACKAGE_NAME,
|
|
104
|
+
migrationOptions: {
|
|
105
|
+
optInTransformResponse: true
|
|
106
|
+
},
|
|
101
107
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
102
108
|
protoPath: "/v1/delivery-profiles/{deliveryProfileId}",
|
|
103
109
|
data: payload,
|
|
@@ -140,6 +146,9 @@ function updateDeliveryProfile(payload) {
|
|
|
140
146
|
method: "PATCH",
|
|
141
147
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateDeliveryProfile",
|
|
142
148
|
packageName: PACKAGE_NAME,
|
|
149
|
+
migrationOptions: {
|
|
150
|
+
optInTransformResponse: true
|
|
151
|
+
},
|
|
143
152
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
144
153
|
protoPath: "/v1/delivery-profiles/{deliveryProfile.id}",
|
|
145
154
|
data: serializedData,
|
|
@@ -168,6 +177,9 @@ function deleteDeliveryProfile(payload) {
|
|
|
168
177
|
method: "DELETE",
|
|
169
178
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.DeleteDeliveryProfile",
|
|
170
179
|
packageName: PACKAGE_NAME,
|
|
180
|
+
migrationOptions: {
|
|
181
|
+
optInTransformResponse: true
|
|
182
|
+
},
|
|
171
183
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
172
184
|
protoPath: "/v1/delivery-profiles/{deliveryProfileId}",
|
|
173
185
|
data: payload,
|
|
@@ -186,6 +198,9 @@ function queryDeliveryProfiles(payload) {
|
|
|
186
198
|
method: "GET",
|
|
187
199
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.QueryDeliveryProfiles",
|
|
188
200
|
packageName: PACKAGE_NAME,
|
|
201
|
+
migrationOptions: {
|
|
202
|
+
optInTransformResponse: true
|
|
203
|
+
},
|
|
189
204
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
190
205
|
protoPath: "/v1/delivery-profiles/query",
|
|
191
206
|
data: payload,
|
|
@@ -231,6 +246,9 @@ function addDeliveryRegion(payload) {
|
|
|
231
246
|
method: "POST",
|
|
232
247
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.AddDeliveryRegion",
|
|
233
248
|
packageName: PACKAGE_NAME,
|
|
249
|
+
migrationOptions: {
|
|
250
|
+
optInTransformResponse: true
|
|
251
|
+
},
|
|
234
252
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
235
253
|
protoPath: "/v1/delivery-profiles/{deliveryProfileId}/delivery-region",
|
|
236
254
|
data: serializedData,
|
|
@@ -269,6 +287,9 @@ function updateDeliveryRegion(payload) {
|
|
|
269
287
|
method: "PATCH",
|
|
270
288
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateDeliveryRegion",
|
|
271
289
|
packageName: PACKAGE_NAME,
|
|
290
|
+
migrationOptions: {
|
|
291
|
+
optInTransformResponse: true
|
|
292
|
+
},
|
|
272
293
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
273
294
|
protoPath: "/v1/delivery-profiles/{deliveryProfileId}/delivery-region/{deliveryRegion.id}",
|
|
274
295
|
data: serializedData,
|
|
@@ -297,6 +318,9 @@ function getDeliveryProfileByDeliveryRegionId(payload) {
|
|
|
297
318
|
method: "GET",
|
|
298
319
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.GetDeliveryProfileByDeliveryRegionId",
|
|
299
320
|
packageName: PACKAGE_NAME,
|
|
321
|
+
migrationOptions: {
|
|
322
|
+
optInTransformResponse: true
|
|
323
|
+
},
|
|
300
324
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
301
325
|
protoPath: "/v1/delivery-profiles/delivery-regions/{deliveryRegionId}",
|
|
302
326
|
data: payload,
|
|
@@ -325,6 +349,9 @@ function removeDeliveryRegion(payload) {
|
|
|
325
349
|
method: "DELETE",
|
|
326
350
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.RemoveDeliveryRegion",
|
|
327
351
|
packageName: PACKAGE_NAME,
|
|
352
|
+
migrationOptions: {
|
|
353
|
+
optInTransformResponse: true
|
|
354
|
+
},
|
|
328
355
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
329
356
|
protoPath: "/v1/delivery-profiles/{deliveryProfileId}/delivery-region/{deliveryRegionId}",
|
|
330
357
|
data: payload,
|
|
@@ -353,6 +380,9 @@ function addDeliveryCarrier(payload) {
|
|
|
353
380
|
method: "POST",
|
|
354
381
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.AddDeliveryCarrier",
|
|
355
382
|
packageName: PACKAGE_NAME,
|
|
383
|
+
migrationOptions: {
|
|
384
|
+
optInTransformResponse: true
|
|
385
|
+
},
|
|
356
386
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
357
387
|
protoPath: "/v1/delivery-profiles/add-delivery-carrier",
|
|
358
388
|
data: payload,
|
|
@@ -381,6 +411,9 @@ function removeDeliveryCarrier(payload) {
|
|
|
381
411
|
method: "POST",
|
|
382
412
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.RemoveDeliveryCarrier",
|
|
383
413
|
packageName: PACKAGE_NAME,
|
|
414
|
+
migrationOptions: {
|
|
415
|
+
optInTransformResponse: true
|
|
416
|
+
},
|
|
384
417
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
385
418
|
protoPath: "/v1/delivery-profiles/remove-delivery-carrier",
|
|
386
419
|
data: payload,
|
|
@@ -415,6 +448,9 @@ function updateDeliveryCarrier(payload) {
|
|
|
415
448
|
method: "PATCH",
|
|
416
449
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateDeliveryCarrier",
|
|
417
450
|
packageName: PACKAGE_NAME,
|
|
451
|
+
migrationOptions: {
|
|
452
|
+
optInTransformResponse: true
|
|
453
|
+
},
|
|
418
454
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
419
455
|
protoPath: "/v1/delivery-profiles/update-delivery-carrier",
|
|
420
456
|
data: serializedData,
|
|
@@ -443,6 +479,9 @@ function listInstalledDeliveryCarriers(payload) {
|
|
|
443
479
|
method: "GET",
|
|
444
480
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.ListInstalledDeliveryCarriers",
|
|
445
481
|
packageName: PACKAGE_NAME,
|
|
482
|
+
migrationOptions: {
|
|
483
|
+
optInTransformResponse: true
|
|
484
|
+
},
|
|
446
485
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
447
486
|
protoPath: "/v1/delivery-profiles/installed-carriers",
|
|
448
487
|
data: payload,
|
|
@@ -461,6 +500,9 @@ function listDeliveryCarriers(payload) {
|
|
|
461
500
|
method: "POST",
|
|
462
501
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.ListDeliveryCarriers",
|
|
463
502
|
packageName: PACKAGE_NAME,
|
|
503
|
+
migrationOptions: {
|
|
504
|
+
optInTransformResponse: true
|
|
505
|
+
},
|
|
464
506
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
465
507
|
protoPath: "/v1/delivery-profiles/{deliveryProfileId}/delivery-carriers",
|
|
466
508
|
data: payload,
|
|
@@ -479,6 +521,9 @@ function updateCarrierSettings(payload) {
|
|
|
479
521
|
method: "POST",
|
|
480
522
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateCarrierSettings",
|
|
481
523
|
packageName: PACKAGE_NAME,
|
|
524
|
+
migrationOptions: {
|
|
525
|
+
optInTransformResponse: true
|
|
526
|
+
},
|
|
482
527
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
483
528
|
protoPath: "/v1/delivery-carriers/update-settings",
|
|
484
529
|
data: payload,
|
|
@@ -497,6 +542,9 @@ function updateExtendedFields(payload) {
|
|
|
497
542
|
method: "POST",
|
|
498
543
|
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateExtendedFields",
|
|
499
544
|
packageName: PACKAGE_NAME,
|
|
545
|
+
migrationOptions: {
|
|
546
|
+
optInTransformResponse: true
|
|
547
|
+
},
|
|
500
548
|
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
501
549
|
protoPath: "/v1/delivery-profiles/{id}/update-extended-fields",
|
|
502
550
|
data: payload,
|
|
@@ -519,6 +567,90 @@ function updateExtendedFields(payload) {
|
|
|
519
567
|
return __updateExtendedFields;
|
|
520
568
|
}
|
|
521
569
|
|
|
570
|
+
// src/ecom-v1-delivery-profile-delivery-profile.types.ts
|
|
571
|
+
var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
|
|
572
|
+
ChargeType2["HANDLING_FEE"] = "HANDLING_FEE";
|
|
573
|
+
return ChargeType2;
|
|
574
|
+
})(ChargeType || {});
|
|
575
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
576
|
+
SortOrder2["ASC"] = "ASC";
|
|
577
|
+
SortOrder2["DESC"] = "DESC";
|
|
578
|
+
return SortOrder2;
|
|
579
|
+
})(SortOrder || {});
|
|
580
|
+
var DestinationScope = /* @__PURE__ */ ((DestinationScope2) => {
|
|
581
|
+
DestinationScope2["SPECIFIC_DESTINATIONS"] = "SPECIFIC_DESTINATIONS";
|
|
582
|
+
DestinationScope2["WORLDWIDE"] = "WORLDWIDE";
|
|
583
|
+
return DestinationScope2;
|
|
584
|
+
})(DestinationScope || {});
|
|
585
|
+
var State = /* @__PURE__ */ ((State2) => {
|
|
586
|
+
State2["UNKNOWN"] = "UNKNOWN";
|
|
587
|
+
State2["ENABLED"] = "ENABLED";
|
|
588
|
+
State2["DISABLED"] = "DISABLED";
|
|
589
|
+
State2["PENDING"] = "PENDING";
|
|
590
|
+
State2["DEMO"] = "DEMO";
|
|
591
|
+
return State2;
|
|
592
|
+
})(State || {});
|
|
593
|
+
var SiteCreatedContext = /* @__PURE__ */ ((SiteCreatedContext2) => {
|
|
594
|
+
SiteCreatedContext2["OTHER"] = "OTHER";
|
|
595
|
+
SiteCreatedContext2["FROM_TEMPLATE"] = "FROM_TEMPLATE";
|
|
596
|
+
SiteCreatedContext2["DUPLICATE_BY_SITE_TRANSFER"] = "DUPLICATE_BY_SITE_TRANSFER";
|
|
597
|
+
SiteCreatedContext2["DUPLICATE"] = "DUPLICATE";
|
|
598
|
+
SiteCreatedContext2["OLD_SITE_TRANSFER"] = "OLD_SITE_TRANSFER";
|
|
599
|
+
SiteCreatedContext2["FLASH"] = "FLASH";
|
|
600
|
+
return SiteCreatedContext2;
|
|
601
|
+
})(SiteCreatedContext || {});
|
|
602
|
+
var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
603
|
+
Namespace2["UNKNOWN_NAMESPACE"] = "UNKNOWN_NAMESPACE";
|
|
604
|
+
Namespace2["WIX"] = "WIX";
|
|
605
|
+
Namespace2["SHOUT_OUT"] = "SHOUT_OUT";
|
|
606
|
+
Namespace2["ALBUMS"] = "ALBUMS";
|
|
607
|
+
Namespace2["WIX_STORES_TEST_DRIVE"] = "WIX_STORES_TEST_DRIVE";
|
|
608
|
+
Namespace2["HOTELS"] = "HOTELS";
|
|
609
|
+
Namespace2["CLUBS"] = "CLUBS";
|
|
610
|
+
Namespace2["ONBOARDING_DRAFT"] = "ONBOARDING_DRAFT";
|
|
611
|
+
Namespace2["DEV_SITE"] = "DEV_SITE";
|
|
612
|
+
Namespace2["LOGOS"] = "LOGOS";
|
|
613
|
+
Namespace2["VIDEO_MAKER"] = "VIDEO_MAKER";
|
|
614
|
+
Namespace2["PARTNER_DASHBOARD"] = "PARTNER_DASHBOARD";
|
|
615
|
+
Namespace2["DEV_CENTER_COMPANY"] = "DEV_CENTER_COMPANY";
|
|
616
|
+
Namespace2["HTML_DRAFT"] = "HTML_DRAFT";
|
|
617
|
+
Namespace2["SITELESS_BUSINESS"] = "SITELESS_BUSINESS";
|
|
618
|
+
Namespace2["CREATOR_ECONOMY"] = "CREATOR_ECONOMY";
|
|
619
|
+
Namespace2["DASHBOARD_FIRST"] = "DASHBOARD_FIRST";
|
|
620
|
+
Namespace2["ANYWHERE"] = "ANYWHERE";
|
|
621
|
+
Namespace2["HEADLESS"] = "HEADLESS";
|
|
622
|
+
Namespace2["ACCOUNT_MASTER_CMS"] = "ACCOUNT_MASTER_CMS";
|
|
623
|
+
Namespace2["RISE"] = "RISE";
|
|
624
|
+
Namespace2["BRANDED_FIRST"] = "BRANDED_FIRST";
|
|
625
|
+
Namespace2["NOWNIA"] = "NOWNIA";
|
|
626
|
+
Namespace2["UGC_TEMPLATE"] = "UGC_TEMPLATE";
|
|
627
|
+
Namespace2["CODUX"] = "CODUX";
|
|
628
|
+
Namespace2["MEDIA_DESIGN_CREATOR"] = "MEDIA_DESIGN_CREATOR";
|
|
629
|
+
Namespace2["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
|
|
630
|
+
Namespace2["STANDALONE_FORMS"] = "STANDALONE_FORMS";
|
|
631
|
+
Namespace2["STANDALONE_EVENTS"] = "STANDALONE_EVENTS";
|
|
632
|
+
Namespace2["MIMIR"] = "MIMIR";
|
|
633
|
+
Namespace2["TWINS"] = "TWINS";
|
|
634
|
+
Namespace2["NANO"] = "NANO";
|
|
635
|
+
return Namespace2;
|
|
636
|
+
})(Namespace || {});
|
|
637
|
+
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|
|
638
|
+
DeleteStatus2["UNKNOWN"] = "UNKNOWN";
|
|
639
|
+
DeleteStatus2["TRASH"] = "TRASH";
|
|
640
|
+
DeleteStatus2["DELETED"] = "DELETED";
|
|
641
|
+
DeleteStatus2["PENDING_PURGE"] = "PENDING_PURGE";
|
|
642
|
+
DeleteStatus2["PURGED_EXTERNALLY"] = "PURGED_EXTERNALLY";
|
|
643
|
+
return DeleteStatus2;
|
|
644
|
+
})(DeleteStatus || {});
|
|
645
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
646
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
647
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
648
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
649
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
650
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
651
|
+
return WebhookIdentityType2;
|
|
652
|
+
})(WebhookIdentityType || {});
|
|
653
|
+
|
|
522
654
|
// src/ecom-v1-delivery-profile-delivery-profile.meta.ts
|
|
523
655
|
function createDeliveryProfile2() {
|
|
524
656
|
const payload = {};
|
|
@@ -823,6 +955,14 @@ function updateExtendedFields2() {
|
|
|
823
955
|
};
|
|
824
956
|
}
|
|
825
957
|
export {
|
|
958
|
+
ChargeType as ChargeTypeOriginal,
|
|
959
|
+
DeleteStatus as DeleteStatusOriginal,
|
|
960
|
+
DestinationScope as DestinationScopeOriginal,
|
|
961
|
+
Namespace as NamespaceOriginal,
|
|
962
|
+
SiteCreatedContext as SiteCreatedContextOriginal,
|
|
963
|
+
SortOrder as SortOrderOriginal,
|
|
964
|
+
State as StateOriginal,
|
|
965
|
+
WebhookIdentityType as WebhookIdentityTypeOriginal,
|
|
826
966
|
addDeliveryCarrier2 as addDeliveryCarrier,
|
|
827
967
|
addDeliveryRegion2 as addDeliveryRegion,
|
|
828
968
|
createDeliveryProfile2 as createDeliveryProfile,
|