@wix/auto_sdk_ecom_tax-calculation 1.0.57 → 1.0.59
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 +3 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +3 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +3 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +3 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +16 -0
- package/build/internal/cjs/meta.d.ts +16 -0
- package/build/internal/es/index.typings.d.mts +16 -0
- package/build/internal/es/meta.d.mts +16 -0
- package/package.json +2 -2
|
@@ -132,6 +132,14 @@ interface LineItem {
|
|
|
132
132
|
* @format GUID
|
|
133
133
|
*/
|
|
134
134
|
appId?: string | null;
|
|
135
|
+
/**
|
|
136
|
+
* ID of the tax group to apply when neither `taxGroupId` nor the default tax group of the app in `appId` applies, for example an additional fee from an app with no default tax group.
|
|
137
|
+
*
|
|
138
|
+
* Ignored if it isn't an existing tax group.
|
|
139
|
+
* @internal
|
|
140
|
+
* @format GUID
|
|
141
|
+
*/
|
|
142
|
+
fallbackTaxGroupId?: string | null;
|
|
135
143
|
/** Whether tax is included in the price. */
|
|
136
144
|
taxIncludedInPrice?: boolean | null;
|
|
137
145
|
/** Index of the address from `addresses` to use to calculate tax for this specific line item. The index is zero-based. */
|
|
@@ -376,6 +384,14 @@ interface LineItemTaxDetails {
|
|
|
376
384
|
addressIndex?: AddressIndex;
|
|
377
385
|
/** Whether tax is included in the price. */
|
|
378
386
|
taxIncludedInPrice?: boolean;
|
|
387
|
+
/**
|
|
388
|
+
* ID of the tax group that applies to this line item.
|
|
389
|
+
*
|
|
390
|
+
* This can differ from the line item's `taxGroupId` in the request: when that is empty or isn't an existing tax group, this is the default tax group of the app in `appId`, or else `fallbackTaxGroupId`. Empty when no tax group applies, or when none of the request's line items has a tax region.
|
|
391
|
+
* @internal
|
|
392
|
+
* @format GUID
|
|
393
|
+
*/
|
|
394
|
+
taxGroupId?: string | null;
|
|
379
395
|
}
|
|
380
396
|
/** A detailed description of all the tax authorities applied on this item. */
|
|
381
397
|
interface TaxBreakdown {
|
|
@@ -133,6 +133,14 @@ interface LineItem {
|
|
|
133
133
|
* @format GUID
|
|
134
134
|
*/
|
|
135
135
|
appId?: string | null;
|
|
136
|
+
/**
|
|
137
|
+
* ID of the tax group to apply when neither `taxGroupId` nor the default tax group of the app in `appId` applies, for example an additional fee from an app with no default tax group.
|
|
138
|
+
*
|
|
139
|
+
* Ignored if it isn't an existing tax group.
|
|
140
|
+
* @internal
|
|
141
|
+
* @format GUID
|
|
142
|
+
*/
|
|
143
|
+
fallbackTaxGroupId?: string | null;
|
|
136
144
|
/** Whether tax is included in the price. */
|
|
137
145
|
taxIncludedInPrice?: boolean | null;
|
|
138
146
|
/** Index of the address from `addresses` to use to calculate tax for this specific line item. The index is zero-based. */
|
|
@@ -377,6 +385,14 @@ interface LineItemTaxDetails {
|
|
|
377
385
|
addressIndex?: AddressIndex;
|
|
378
386
|
/** Whether tax is included in the price. */
|
|
379
387
|
taxIncludedInPrice?: boolean;
|
|
388
|
+
/**
|
|
389
|
+
* ID of the tax group that applies to this line item.
|
|
390
|
+
*
|
|
391
|
+
* This can differ from the line item's `taxGroupId` in the request: when that is empty or isn't an existing tax group, this is the default tax group of the app in `appId`, or else `fallbackTaxGroupId`. Empty when no tax group applies, or when none of the request's line items has a tax region.
|
|
392
|
+
* @internal
|
|
393
|
+
* @format GUID
|
|
394
|
+
*/
|
|
395
|
+
taxGroupId?: string | null;
|
|
380
396
|
}
|
|
381
397
|
/** A detailed description of all the tax authorities applied on this item. */
|
|
382
398
|
interface TaxBreakdown {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_ecom_tax-calculation",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.59",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.gateways.billing.v1.tax_calculation_gateway"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "b27af9da6bb1f06ab54ecd718fbe21414f37bb34a3b526445151a75c"
|
|
54
54
|
}
|