@wix/auto_sdk_ecom_subscription-contracts 1.0.101 → 1.0.102
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 +0 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +6 -14
- package/build/cjs/index.typings.js +0 -5
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +5 -10
- package/build/cjs/meta.js +0 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +0 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +6 -14
- package/build/es/index.typings.mjs +0 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +5 -10
- package/build/es/meta.mjs +0 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +0 -5
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +6 -14
- package/build/internal/cjs/index.typings.js +0 -5
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +5 -10
- package/build/internal/cjs/meta.js +0 -5
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +0 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +6 -14
- package/build/internal/es/index.typings.mjs +0 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +5 -10
- package/build/internal/es/meta.mjs +0 -5
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -862,14 +862,13 @@ interface BillingAdjustment {
|
|
|
862
862
|
priceSummary?: BillingAdjustmentPriceSummary;
|
|
863
863
|
}
|
|
864
864
|
declare enum AdjustmentType {
|
|
865
|
-
UNKNOWN_ADJUSTMENT_TYPE = "UNKNOWN_ADJUSTMENT_TYPE",
|
|
866
865
|
/** Adjustment increases the total amount due to changes like covering extra billing days. Typically results in an additional fee. */
|
|
867
866
|
EXTRA_CHARGE = "EXTRA_CHARGE",
|
|
868
867
|
/** Adjustment reduces the total amount due to changes like covering fewer billing days. Typically results in a credit or discount. */
|
|
869
868
|
CREDIT = "CREDIT"
|
|
870
869
|
}
|
|
871
870
|
/** @enumType */
|
|
872
|
-
type AdjustmentTypeWithLiterals = AdjustmentType | '
|
|
871
|
+
type AdjustmentTypeWithLiterals = AdjustmentType | 'EXTRA_CHARGE' | 'CREDIT';
|
|
873
872
|
interface BillingAdjustmentPriceSummary {
|
|
874
873
|
/** Subtotal of adjustment, before tax. */
|
|
875
874
|
subtotal?: Price;
|
|
@@ -930,13 +929,12 @@ interface TaxableAddressTaxableAddressDataOneOf {
|
|
|
930
929
|
addressType?: TaxableAddressTypeWithLiterals;
|
|
931
930
|
}
|
|
932
931
|
declare enum TaxableAddressType {
|
|
933
|
-
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
934
932
|
BUSINESS = "BUSINESS",
|
|
935
933
|
BILLING = "BILLING",
|
|
936
934
|
SHIPPING = "SHIPPING"
|
|
937
935
|
}
|
|
938
936
|
/** @enumType */
|
|
939
|
-
type TaxableAddressTypeWithLiterals = TaxableAddressType | '
|
|
937
|
+
type TaxableAddressTypeWithLiterals = TaxableAddressType | 'BUSINESS' | 'BILLING' | 'SHIPPING';
|
|
940
938
|
interface ExtendedFields {
|
|
941
939
|
/**
|
|
942
940
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -1117,7 +1115,6 @@ interface PlatformFee {
|
|
|
1117
1115
|
percentageRate?: string;
|
|
1118
1116
|
}
|
|
1119
1117
|
declare enum ChargeType {
|
|
1120
|
-
UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
|
|
1121
1118
|
/**
|
|
1122
1119
|
* Platform fee passed on to buyer.
|
|
1123
1120
|
*
|
|
@@ -1132,7 +1129,7 @@ declare enum ChargeType {
|
|
|
1132
1129
|
ABSORBED = "ABSORBED"
|
|
1133
1130
|
}
|
|
1134
1131
|
/** @enumType */
|
|
1135
|
-
type ChargeTypeWithLiterals = ChargeType | '
|
|
1132
|
+
type ChargeTypeWithLiterals = ChargeType | 'PASS_ON' | 'ABSORBED';
|
|
1136
1133
|
/** Billing Info and shipping details */
|
|
1137
1134
|
interface AddressWithContact {
|
|
1138
1135
|
/** Address. */
|
|
@@ -1354,12 +1351,11 @@ interface PickupAddress {
|
|
|
1354
1351
|
subdivisionFullname?: string | null;
|
|
1355
1352
|
}
|
|
1356
1353
|
declare enum PickupMethod {
|
|
1357
|
-
UNKNOWN_METHOD = "UNKNOWN_METHOD",
|
|
1358
1354
|
STORE_PICKUP = "STORE_PICKUP",
|
|
1359
1355
|
PICKUP_POINT = "PICKUP_POINT"
|
|
1360
1356
|
}
|
|
1361
1357
|
/** @enumType */
|
|
1362
|
-
type PickupMethodWithLiterals = PickupMethod | '
|
|
1358
|
+
type PickupMethodWithLiterals = PickupMethod | 'STORE_PICKUP' | 'PICKUP_POINT';
|
|
1363
1359
|
interface DeliveryTimeSlot {
|
|
1364
1360
|
/** Delivery slot starting time. */
|
|
1365
1361
|
from?: Date | null;
|
|
@@ -1794,7 +1790,6 @@ interface AdditionalFee {
|
|
|
1794
1790
|
source?: AdditionalFeeSourceWithLiterals;
|
|
1795
1791
|
}
|
|
1796
1792
|
declare enum AdditionalFeeSource {
|
|
1797
|
-
UNKNOWN_ADDITIONAL_FEE_SOURCE = "UNKNOWN_ADDITIONAL_FEE_SOURCE",
|
|
1798
1793
|
/** The additional fee was added by an additional fee service plugin. */
|
|
1799
1794
|
SERVICE_PLUGIN = "SERVICE_PLUGIN",
|
|
1800
1795
|
/** The additional fee was added to the item by a catalog or custom line item. */
|
|
@@ -1807,7 +1802,7 @@ declare enum AdditionalFeeSource {
|
|
|
1807
1802
|
PLATFORM = "PLATFORM"
|
|
1808
1803
|
}
|
|
1809
1804
|
/** @enumType */
|
|
1810
|
-
type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | '
|
|
1805
|
+
type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING' | 'PLATFORM';
|
|
1811
1806
|
interface Location {
|
|
1812
1807
|
/**
|
|
1813
1808
|
* Location ID.
|
|
@@ -2473,10 +2468,7 @@ declare const utils: {
|
|
|
2473
2468
|
query: {
|
|
2474
2469
|
QueryBuilder: () => _wix_sdk_types.QueryBuilder<SubscriptionContract, SubscriptionContractQuerySpec, SubscriptionContractQuery>;
|
|
2475
2470
|
Filter: _wix_sdk_types.FilterFactory<SubscriptionContract, SubscriptionContractQuerySpec>;
|
|
2476
|
-
Sort: _wix_sdk_types.SortFactory<SubscriptionContractQuerySpec>;
|
|
2477
|
-
* The name of the jurisdiction in which this tax detail applies.
|
|
2478
|
-
* @maxLength 200
|
|
2479
|
-
*/
|
|
2471
|
+
Sort: _wix_sdk_types.SortFactory<SubscriptionContractQuerySpec>;
|
|
2480
2472
|
};
|
|
2481
2473
|
};
|
|
2482
2474
|
|
|
@@ -335,13 +335,11 @@ var V2SubscriptionFrequency = /* @__PURE__ */ ((V2SubscriptionFrequency2) => {
|
|
|
335
335
|
return V2SubscriptionFrequency2;
|
|
336
336
|
})(V2SubscriptionFrequency || {});
|
|
337
337
|
var AdjustmentType = /* @__PURE__ */ ((AdjustmentType2) => {
|
|
338
|
-
AdjustmentType2["UNKNOWN_ADJUSTMENT_TYPE"] = "UNKNOWN_ADJUSTMENT_TYPE";
|
|
339
338
|
AdjustmentType2["EXTRA_CHARGE"] = "EXTRA_CHARGE";
|
|
340
339
|
AdjustmentType2["CREDIT"] = "CREDIT";
|
|
341
340
|
return AdjustmentType2;
|
|
342
341
|
})(AdjustmentType || {});
|
|
343
342
|
var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
344
|
-
TaxableAddressType2["UNKNOWN_TAXABLE_ADDRESS"] = "UNKNOWN_TAXABLE_ADDRESS";
|
|
345
343
|
TaxableAddressType2["BUSINESS"] = "BUSINESS";
|
|
346
344
|
TaxableAddressType2["BILLING"] = "BILLING";
|
|
347
345
|
TaxableAddressType2["SHIPPING"] = "SHIPPING";
|
|
@@ -354,7 +352,6 @@ var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
|
|
|
354
352
|
return WeightUnit2;
|
|
355
353
|
})(WeightUnit || {});
|
|
356
354
|
var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
|
|
357
|
-
ChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
|
|
358
355
|
ChargeType2["PASS_ON"] = "PASS_ON";
|
|
359
356
|
ChargeType2["ABSORBED"] = "ABSORBED";
|
|
360
357
|
return ChargeType2;
|
|
@@ -366,7 +363,6 @@ var VatType = /* @__PURE__ */ ((VatType2) => {
|
|
|
366
363
|
return VatType2;
|
|
367
364
|
})(VatType || {});
|
|
368
365
|
var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
|
|
369
|
-
PickupMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
|
|
370
366
|
PickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
|
|
371
367
|
PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
|
|
372
368
|
return PickupMethod2;
|
|
@@ -405,7 +401,6 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
|
|
|
405
401
|
return ChannelType2;
|
|
406
402
|
})(ChannelType || {});
|
|
407
403
|
var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
|
|
408
|
-
AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
|
|
409
404
|
AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
|
|
410
405
|
AdditionalFeeSource2["ITEM"] = "ITEM";
|
|
411
406
|
AdditionalFeeSource2["MANUAL"] = "MANUAL";
|