@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
|
|
|
@@ -290,13 +290,11 @@ var V2SubscriptionFrequency = /* @__PURE__ */ ((V2SubscriptionFrequency2) => {
|
|
|
290
290
|
return V2SubscriptionFrequency2;
|
|
291
291
|
})(V2SubscriptionFrequency || {});
|
|
292
292
|
var AdjustmentType = /* @__PURE__ */ ((AdjustmentType2) => {
|
|
293
|
-
AdjustmentType2["UNKNOWN_ADJUSTMENT_TYPE"] = "UNKNOWN_ADJUSTMENT_TYPE";
|
|
294
293
|
AdjustmentType2["EXTRA_CHARGE"] = "EXTRA_CHARGE";
|
|
295
294
|
AdjustmentType2["CREDIT"] = "CREDIT";
|
|
296
295
|
return AdjustmentType2;
|
|
297
296
|
})(AdjustmentType || {});
|
|
298
297
|
var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
299
|
-
TaxableAddressType2["UNKNOWN_TAXABLE_ADDRESS"] = "UNKNOWN_TAXABLE_ADDRESS";
|
|
300
298
|
TaxableAddressType2["BUSINESS"] = "BUSINESS";
|
|
301
299
|
TaxableAddressType2["BILLING"] = "BILLING";
|
|
302
300
|
TaxableAddressType2["SHIPPING"] = "SHIPPING";
|
|
@@ -309,7 +307,6 @@ var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
|
|
|
309
307
|
return WeightUnit2;
|
|
310
308
|
})(WeightUnit || {});
|
|
311
309
|
var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
|
|
312
|
-
ChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
|
|
313
310
|
ChargeType2["PASS_ON"] = "PASS_ON";
|
|
314
311
|
ChargeType2["ABSORBED"] = "ABSORBED";
|
|
315
312
|
return ChargeType2;
|
|
@@ -321,7 +318,6 @@ var VatType = /* @__PURE__ */ ((VatType2) => {
|
|
|
321
318
|
return VatType2;
|
|
322
319
|
})(VatType || {});
|
|
323
320
|
var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
|
|
324
|
-
PickupMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
|
|
325
321
|
PickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
|
|
326
322
|
PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
|
|
327
323
|
return PickupMethod2;
|
|
@@ -360,7 +356,6 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
|
|
|
360
356
|
return ChannelType2;
|
|
361
357
|
})(ChannelType || {});
|
|
362
358
|
var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
|
|
363
|
-
AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
|
|
364
359
|
AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
|
|
365
360
|
AdditionalFeeSource2["ITEM"] = "ITEM";
|
|
366
361
|
AdditionalFeeSource2["MANUAL"] = "MANUAL";
|