@wix/auto_sdk_packages_packages 1.0.7 → 1.0.9
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 +1 -1
- package/build/cjs/index.js +40 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +14 -3
- package/build/cjs/index.typings.js +40 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +935 -1
- package/build/cjs/meta.js +196 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +39 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +14 -3
- package/build/es/index.typings.mjs +39 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +935 -1
- package/build/es/meta.mjs +178 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +40 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +14 -3
- package/build/internal/cjs/index.typings.js +40 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +935 -1
- package/build/internal/cjs/meta.js +196 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +39 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +14 -3
- package/build/internal/es/index.typings.mjs +39 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +935 -1
- package/build/internal/es/meta.mjs +178 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
package/build/es/meta.mjs
CHANGED
|
@@ -37,6 +37,9 @@ function createPackage(payload) {
|
|
|
37
37
|
method: "POST",
|
|
38
38
|
methodFqn: "com.wixpress.premium.reseller.packages.v1.Packages.CreatePackage",
|
|
39
39
|
packageName: PACKAGE_NAME,
|
|
40
|
+
migrationOptions: {
|
|
41
|
+
optInTransformResponse: true
|
|
42
|
+
},
|
|
40
43
|
url: resolveComWixpressPremiumResellerPackagesV1PackagesUrl({
|
|
41
44
|
protoPath: "/v1/packages",
|
|
42
45
|
data: serializedData,
|
|
@@ -77,6 +80,9 @@ function createPackageV2(payload) {
|
|
|
77
80
|
method: "POST",
|
|
78
81
|
methodFqn: "com.wixpress.premium.reseller.packages.v1.Packages.CreatePackageV2",
|
|
79
82
|
packageName: PACKAGE_NAME,
|
|
83
|
+
migrationOptions: {
|
|
84
|
+
optInTransformResponse: true
|
|
85
|
+
},
|
|
80
86
|
url: resolveComWixpressPremiumResellerPackagesV1PackagesUrl({
|
|
81
87
|
protoPath: "/v2/packages",
|
|
82
88
|
data: serializedData,
|
|
@@ -107,6 +113,9 @@ function cancelPackage(payload) {
|
|
|
107
113
|
method: "DELETE",
|
|
108
114
|
methodFqn: "com.wixpress.premium.reseller.packages.v1.Packages.CancelPackage",
|
|
109
115
|
packageName: PACKAGE_NAME,
|
|
116
|
+
migrationOptions: {
|
|
117
|
+
optInTransformResponse: true
|
|
118
|
+
},
|
|
110
119
|
url: resolveComWixpressPremiumResellerPackagesV1PackagesUrl({
|
|
111
120
|
protoPath: "/v1/packages/{id}",
|
|
112
121
|
data: payload,
|
|
@@ -137,6 +146,9 @@ function getPackage(payload) {
|
|
|
137
146
|
method: "GET",
|
|
138
147
|
methodFqn: "com.wixpress.premium.reseller.packages.v1.Packages.GetPackage",
|
|
139
148
|
packageName: PACKAGE_NAME,
|
|
149
|
+
migrationOptions: {
|
|
150
|
+
optInTransformResponse: true
|
|
151
|
+
},
|
|
140
152
|
url: resolveComWixpressPremiumResellerPackagesV1PackagesUrl({
|
|
141
153
|
protoPath: "/v1/packages/{id}",
|
|
142
154
|
data: payload,
|
|
@@ -167,6 +179,9 @@ function queryPackages(payload) {
|
|
|
167
179
|
method: "POST",
|
|
168
180
|
methodFqn: "com.wixpress.premium.reseller.packages.v1.Packages.QueryPackages",
|
|
169
181
|
packageName: PACKAGE_NAME,
|
|
182
|
+
migrationOptions: {
|
|
183
|
+
optInTransformResponse: true
|
|
184
|
+
},
|
|
170
185
|
url: resolveComWixpressPremiumResellerPackagesV1PackagesUrl({
|
|
171
186
|
protoPath: "/v1/packages/query",
|
|
172
187
|
data: payload,
|
|
@@ -197,6 +212,9 @@ function assignProductInstanceToSite(payload) {
|
|
|
197
212
|
method: "PATCH",
|
|
198
213
|
methodFqn: "com.wixpress.premium.reseller.packages.v1.Packages.AssignProductInstanceToSite",
|
|
199
214
|
packageName: PACKAGE_NAME,
|
|
215
|
+
migrationOptions: {
|
|
216
|
+
optInTransformResponse: true
|
|
217
|
+
},
|
|
200
218
|
url: resolveComWixpressPremiumResellerPackagesV1PackagesUrl({
|
|
201
219
|
protoPath: "/v1/packages/product-instances/{instanceId}/{siteId}",
|
|
202
220
|
data: payload,
|
|
@@ -227,6 +245,9 @@ function unassignProductInstanceFromSite(payload) {
|
|
|
227
245
|
method: "PATCH",
|
|
228
246
|
methodFqn: "com.wixpress.premium.reseller.packages.v1.Packages.UnassignProductInstanceFromSite",
|
|
229
247
|
packageName: PACKAGE_NAME,
|
|
248
|
+
migrationOptions: {
|
|
249
|
+
optInTransformResponse: true
|
|
250
|
+
},
|
|
230
251
|
url: resolveComWixpressPremiumResellerPackagesV1PackagesUrl({
|
|
231
252
|
protoPath: "/v1/packages/product-instances/{instanceId}/unassign",
|
|
232
253
|
data: payload,
|
|
@@ -257,6 +278,9 @@ function cancelProductInstance(payload) {
|
|
|
257
278
|
method: "DELETE",
|
|
258
279
|
methodFqn: "com.wixpress.premium.reseller.packages.v1.Packages.CancelProductInstance",
|
|
259
280
|
packageName: PACKAGE_NAME,
|
|
281
|
+
migrationOptions: {
|
|
282
|
+
optInTransformResponse: true
|
|
283
|
+
},
|
|
260
284
|
url: resolveComWixpressPremiumResellerPackagesV1PackagesUrl({
|
|
261
285
|
protoPath: "/v1/packages/product-instances/{instanceId}",
|
|
262
286
|
data: payload,
|
|
@@ -287,6 +311,9 @@ function adjustProductInstanceSpecifications(payload) {
|
|
|
287
311
|
method: "PATCH",
|
|
288
312
|
methodFqn: "com.wixpress.premium.reseller.packages.v1.Packages.AdjustProductInstanceSpecifications",
|
|
289
313
|
packageName: PACKAGE_NAME,
|
|
314
|
+
migrationOptions: {
|
|
315
|
+
optInTransformResponse: true
|
|
316
|
+
},
|
|
290
317
|
url: resolveComWixpressPremiumResellerPackagesV1PackagesUrl({
|
|
291
318
|
protoPath: "/v1/packages/product-instances/{instanceId}",
|
|
292
319
|
data: payload,
|
|
@@ -317,6 +344,9 @@ function updatePackageExternalId(payload) {
|
|
|
317
344
|
method: "PATCH",
|
|
318
345
|
methodFqn: "com.wixpress.premium.reseller.packages.v1.Packages.UpdatePackageExternalId",
|
|
319
346
|
packageName: PACKAGE_NAME,
|
|
347
|
+
migrationOptions: {
|
|
348
|
+
optInTransformResponse: true
|
|
349
|
+
},
|
|
320
350
|
url: resolveComWixpressPremiumResellerPackagesV1PackagesUrl({
|
|
321
351
|
protoPath: "/v1/packages/update/{packageId}/{externalId}",
|
|
322
352
|
data: payload,
|
|
@@ -341,6 +371,136 @@ function updatePackageExternalId(payload) {
|
|
|
341
371
|
return __updatePackageExternalId;
|
|
342
372
|
}
|
|
343
373
|
|
|
374
|
+
// src/premium-reseller-v1-packages-packages.types.ts
|
|
375
|
+
var FailureReasonFailureReason = /* @__PURE__ */ ((FailureReasonFailureReason2) => {
|
|
376
|
+
FailureReasonFailureReason2["UNKNOWN"] = "UNKNOWN";
|
|
377
|
+
FailureReasonFailureReason2["DELIVERY_TIMEOUT"] = "DELIVERY_TIMEOUT";
|
|
378
|
+
FailureReasonFailureReason2["EXTERNAL_FAILURE"] = "EXTERNAL_FAILURE";
|
|
379
|
+
return FailureReasonFailureReason2;
|
|
380
|
+
})(FailureReasonFailureReason || {});
|
|
381
|
+
var IntervalIntervalUnit = /* @__PURE__ */ ((IntervalIntervalUnit2) => {
|
|
382
|
+
IntervalIntervalUnit2["UNKNOWN"] = "UNKNOWN";
|
|
383
|
+
IntervalIntervalUnit2["DAY"] = "DAY";
|
|
384
|
+
IntervalIntervalUnit2["WEEK"] = "WEEK";
|
|
385
|
+
IntervalIntervalUnit2["MONTH"] = "MONTH";
|
|
386
|
+
IntervalIntervalUnit2["YEAR"] = "YEAR";
|
|
387
|
+
return IntervalIntervalUnit2;
|
|
388
|
+
})(IntervalIntervalUnit || {});
|
|
389
|
+
var CycleDescriptorType = /* @__PURE__ */ ((CycleDescriptorType2) => {
|
|
390
|
+
CycleDescriptorType2["UNKNOWN"] = "UNKNOWN";
|
|
391
|
+
CycleDescriptorType2["ONE_TIME"] = "ONE_TIME";
|
|
392
|
+
CycleDescriptorType2["RECURRING"] = "RECURRING";
|
|
393
|
+
return CycleDescriptorType2;
|
|
394
|
+
})(CycleDescriptorType || {});
|
|
395
|
+
var Status = /* @__PURE__ */ ((Status2) => {
|
|
396
|
+
Status2["PENDING"] = "PENDING";
|
|
397
|
+
Status2["ENABLED"] = "ENABLED";
|
|
398
|
+
Status2["CANCELED"] = "CANCELED";
|
|
399
|
+
Status2["FAILED"] = "FAILED";
|
|
400
|
+
Status2["AWAITING_ACTION"] = "AWAITING_ACTION";
|
|
401
|
+
return Status2;
|
|
402
|
+
})(Status || {});
|
|
403
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
404
|
+
SortOrder2["ASC"] = "ASC";
|
|
405
|
+
SortOrder2["DESC"] = "DESC";
|
|
406
|
+
return SortOrder2;
|
|
407
|
+
})(SortOrder || {});
|
|
408
|
+
var ProviderName = /* @__PURE__ */ ((ProviderName2) => {
|
|
409
|
+
ProviderName2["UNKNOWN"] = "UNKNOWN";
|
|
410
|
+
ProviderName2["SBS"] = "SBS";
|
|
411
|
+
ProviderName2["LICENSER"] = "LICENSER";
|
|
412
|
+
ProviderName2["BASS"] = "BASS";
|
|
413
|
+
ProviderName2["RESELLER"] = "RESELLER";
|
|
414
|
+
ProviderName2["RECURRING_INVOICES"] = "RECURRING_INVOICES";
|
|
415
|
+
return ProviderName2;
|
|
416
|
+
})(ProviderName || {});
|
|
417
|
+
var IntervalUnit = /* @__PURE__ */ ((IntervalUnit2) => {
|
|
418
|
+
IntervalUnit2["UNKNOWN"] = "UNKNOWN";
|
|
419
|
+
IntervalUnit2["DAY"] = "DAY";
|
|
420
|
+
IntervalUnit2["WEEK"] = "WEEK";
|
|
421
|
+
IntervalUnit2["MONTH"] = "MONTH";
|
|
422
|
+
IntervalUnit2["YEAR"] = "YEAR";
|
|
423
|
+
return IntervalUnit2;
|
|
424
|
+
})(IntervalUnit || {});
|
|
425
|
+
var SubscriptionStatus = /* @__PURE__ */ ((SubscriptionStatus2) => {
|
|
426
|
+
SubscriptionStatus2["UNKNOWN"] = "UNKNOWN";
|
|
427
|
+
SubscriptionStatus2["AUTO_RENEW_ON"] = "AUTO_RENEW_ON";
|
|
428
|
+
SubscriptionStatus2["AUTO_RENEW_OFF"] = "AUTO_RENEW_OFF";
|
|
429
|
+
SubscriptionStatus2["MANUAL_RECURRING"] = "MANUAL_RECURRING";
|
|
430
|
+
SubscriptionStatus2["CANCELLED"] = "CANCELLED";
|
|
431
|
+
SubscriptionStatus2["TRANSFERRED"] = "TRANSFERRED";
|
|
432
|
+
return SubscriptionStatus2;
|
|
433
|
+
})(SubscriptionStatus || {});
|
|
434
|
+
var ReactivationReasonEnum = /* @__PURE__ */ ((ReactivationReasonEnum2) => {
|
|
435
|
+
ReactivationReasonEnum2["UNKNOWN"] = "UNKNOWN";
|
|
436
|
+
ReactivationReasonEnum2["BILLING_STATUS_CHANGE"] = "BILLING_STATUS_CHANGE";
|
|
437
|
+
ReactivationReasonEnum2["REACTIVATED_AFTER_CHARGEBACK"] = "REACTIVATED_AFTER_CHARGEBACK";
|
|
438
|
+
return ReactivationReasonEnum2;
|
|
439
|
+
})(ReactivationReasonEnum || {});
|
|
440
|
+
var Initiator = /* @__PURE__ */ ((Initiator2) => {
|
|
441
|
+
Initiator2["UNKNOWN"] = "UNKNOWN";
|
|
442
|
+
Initiator2["USER_REQUESTED"] = "USER_REQUESTED";
|
|
443
|
+
Initiator2["APP_MANAGED"] = "APP_MANAGED";
|
|
444
|
+
Initiator2["PASSIVE"] = "PASSIVE";
|
|
445
|
+
return Initiator2;
|
|
446
|
+
})(Initiator || {});
|
|
447
|
+
var RefundType = /* @__PURE__ */ ((RefundType2) => {
|
|
448
|
+
RefundType2["UNKNOWN"] = "UNKNOWN";
|
|
449
|
+
RefundType2["NO_REFUND"] = "NO_REFUND";
|
|
450
|
+
RefundType2["FULL_REFUND"] = "FULL_REFUND";
|
|
451
|
+
RefundType2["PRORATED_REFUND"] = "PRORATED_REFUND";
|
|
452
|
+
return RefundType2;
|
|
453
|
+
})(RefundType || {});
|
|
454
|
+
var UnassignReason = /* @__PURE__ */ ((UnassignReason2) => {
|
|
455
|
+
UnassignReason2["UNKNOWN"] = "UNKNOWN";
|
|
456
|
+
UnassignReason2["USER_REQUESTED"] = "USER_REQUESTED";
|
|
457
|
+
UnassignReason2["REPLACED_BY_ANOTHER_SUBSCRIPTION"] = "REPLACED_BY_ANOTHER_SUBSCRIPTION";
|
|
458
|
+
return UnassignReason2;
|
|
459
|
+
})(UnassignReason || {});
|
|
460
|
+
var ContractSwitchType = /* @__PURE__ */ ((ContractSwitchType2) => {
|
|
461
|
+
ContractSwitchType2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
|
|
462
|
+
ContractSwitchType2["ADDITIONAL_QUANTITY"] = "ADDITIONAL_QUANTITY";
|
|
463
|
+
ContractSwitchType2["CREDIT_UNUSED_PERIOD"] = "CREDIT_UNUSED_PERIOD";
|
|
464
|
+
ContractSwitchType2["REFUND_PRICE_DIFF"] = "REFUND_PRICE_DIFF";
|
|
465
|
+
ContractSwitchType2["ADJUST_PERIOD_END"] = "ADJUST_PERIOD_END";
|
|
466
|
+
ContractSwitchType2["DOWNGRADE_GRACE_PERIOD"] = "DOWNGRADE_GRACE_PERIOD";
|
|
467
|
+
ContractSwitchType2["FULL_AMOUNT_PERIOD"] = "FULL_AMOUNT_PERIOD";
|
|
468
|
+
ContractSwitchType2["END_OF_PERIOD"] = "END_OF_PERIOD";
|
|
469
|
+
ContractSwitchType2["PENDING_CHANGES"] = "PENDING_CHANGES";
|
|
470
|
+
ContractSwitchType2["DOWNGRADE_RENEWAL"] = "DOWNGRADE_RENEWAL";
|
|
471
|
+
ContractSwitchType2["FIXED_BILLING_DATE_PRORATION"] = "FIXED_BILLING_DATE_PRORATION";
|
|
472
|
+
return ContractSwitchType2;
|
|
473
|
+
})(ContractSwitchType || {});
|
|
474
|
+
var ContractSwitchReason = /* @__PURE__ */ ((ContractSwitchReason2) => {
|
|
475
|
+
ContractSwitchReason2["EXTERNAL_PROVIDER_TRIGGER"] = "EXTERNAL_PROVIDER_TRIGGER";
|
|
476
|
+
ContractSwitchReason2["PRICE_INCREASE"] = "PRICE_INCREASE";
|
|
477
|
+
return ContractSwitchReason2;
|
|
478
|
+
})(ContractSwitchReason || {});
|
|
479
|
+
var PriceIncreaseTrigger = /* @__PURE__ */ ((PriceIncreaseTrigger2) => {
|
|
480
|
+
PriceIncreaseTrigger2["NEAR_RENEWAL"] = "NEAR_RENEWAL";
|
|
481
|
+
PriceIncreaseTrigger2["RECURRING_SUCCESS"] = "RECURRING_SUCCESS";
|
|
482
|
+
PriceIncreaseTrigger2["MANUAL"] = "MANUAL";
|
|
483
|
+
return PriceIncreaseTrigger2;
|
|
484
|
+
})(PriceIncreaseTrigger || {});
|
|
485
|
+
var ProductAdjustment = /* @__PURE__ */ ((ProductAdjustment2) => {
|
|
486
|
+
ProductAdjustment2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
|
|
487
|
+
ProductAdjustment2["DOWNGRADE"] = "DOWNGRADE";
|
|
488
|
+
return ProductAdjustment2;
|
|
489
|
+
})(ProductAdjustment || {});
|
|
490
|
+
var FieldToUpdate = /* @__PURE__ */ ((FieldToUpdate2) => {
|
|
491
|
+
FieldToUpdate2["STATUS"] = "STATUS";
|
|
492
|
+
FieldToUpdate2["COUNTRY_CODE"] = "COUNTRY_CODE";
|
|
493
|
+
return FieldToUpdate2;
|
|
494
|
+
})(FieldToUpdate || {});
|
|
495
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
496
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
497
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
498
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
499
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
500
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
501
|
+
return WebhookIdentityType2;
|
|
502
|
+
})(WebhookIdentityType || {});
|
|
503
|
+
|
|
344
504
|
// src/premium-reseller-v1-packages-packages.meta.ts
|
|
345
505
|
function createPackage2() {
|
|
346
506
|
const payload = {};
|
|
@@ -527,6 +687,24 @@ function updatePackageExternalId2() {
|
|
|
527
687
|
};
|
|
528
688
|
}
|
|
529
689
|
export {
|
|
690
|
+
ContractSwitchReason as ContractSwitchReasonOriginal,
|
|
691
|
+
ContractSwitchType as ContractSwitchTypeOriginal,
|
|
692
|
+
CycleDescriptorType as CycleDescriptorTypeOriginal,
|
|
693
|
+
FailureReasonFailureReason as FailureReasonFailureReasonOriginal,
|
|
694
|
+
FieldToUpdate as FieldToUpdateOriginal,
|
|
695
|
+
Initiator as InitiatorOriginal,
|
|
696
|
+
IntervalIntervalUnit as IntervalIntervalUnitOriginal,
|
|
697
|
+
IntervalUnit as IntervalUnitOriginal,
|
|
698
|
+
PriceIncreaseTrigger as PriceIncreaseTriggerOriginal,
|
|
699
|
+
ProductAdjustment as ProductAdjustmentOriginal,
|
|
700
|
+
ProviderName as ProviderNameOriginal,
|
|
701
|
+
ReactivationReasonEnum as ReactivationReasonEnumOriginal,
|
|
702
|
+
RefundType as RefundTypeOriginal,
|
|
703
|
+
SortOrder as SortOrderOriginal,
|
|
704
|
+
Status as StatusOriginal,
|
|
705
|
+
SubscriptionStatus as SubscriptionStatusOriginal,
|
|
706
|
+
UnassignReason as UnassignReasonOriginal,
|
|
707
|
+
WebhookIdentityType as WebhookIdentityTypeOriginal,
|
|
530
708
|
adjustProductInstanceSpecifications2 as adjustProductInstanceSpecifications,
|
|
531
709
|
assignProductInstanceToSite2 as assignProductInstanceToSite,
|
|
532
710
|
cancelPackage2 as cancelPackage,
|