@wix/auto_sdk_ecom_subscription-contracts 1.0.159 → 1.0.160
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.map +1 -1
- package/build/cjs/index.typings.d.ts +11 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +11 -3
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +11 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +11 -3
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +12 -4
- package/build/internal/cjs/meta.d.ts +12 -4
- package/build/internal/es/index.typings.d.mts +12 -4
- package/build/internal/es/meta.d.mts +12 -4
- package/package.json +2 -2
|
@@ -873,7 +873,7 @@ interface LineItemTaxInfo {
|
|
|
873
873
|
/** Amount of the line item price that was exempt from tax. */
|
|
874
874
|
exemptAmount?: Price;
|
|
875
875
|
/**
|
|
876
|
-
* Tax
|
|
876
|
+
* Tax calculators behind this line item's current tax amounts: the one that calculated the tax and the one configured for its tax region. Changes when an order edit recalculates tax.
|
|
877
877
|
*
|
|
878
878
|
* Not set on orders created before this field was added, on imported orders, or on orders whose creator didn't send it.
|
|
879
879
|
*
|
|
@@ -933,17 +933,25 @@ declare enum JurisdictionType {
|
|
|
933
933
|
/** @enumType */
|
|
934
934
|
type JurisdictionTypeWithLiterals = JurisdictionType | 'UNDEFINED' | 'COUNTRY' | 'STATE' | 'COUNTY' | 'CITY' | 'SPECIAL';
|
|
935
935
|
/**
|
|
936
|
-
* Record of the tax
|
|
936
|
+
* Record of the tax calculators behind a line item's current tax amounts. Orders store it on line items, on the shipping cost and on each additional fee; "line item" below stands for any of them.
|
|
937
937
|
* A recalculation that changes the amounts, for example after an order edit, replaces it.
|
|
938
938
|
*/
|
|
939
939
|
interface TaxCalculatorAttribution {
|
|
940
940
|
/**
|
|
941
|
-
* App ID of the tax calculator that calculated the line
|
|
941
|
+
* App ID of the tax calculator that calculated the line item's tax.
|
|
942
|
+
* When the calculator configured for the line item's tax region didn't run (it failed, it isn't installed on the site, or the buyer is tax exempt), this is the fallback: Wix's manual tax calculator.
|
|
942
943
|
*
|
|
943
|
-
* Not set when no calculator calculated the line's tax: no tax region matches the line, tax wasn't requested, or the
|
|
944
|
+
* Not set when no calculator calculated the line item's tax: no tax region matches the line item, tax wasn't requested, or the configured calculator and the fallback both failed.
|
|
944
945
|
* @format GUID
|
|
945
946
|
*/
|
|
946
947
|
calculatorId?: string | null;
|
|
948
|
+
/**
|
|
949
|
+
* App ID of the tax calculator configured for the line item's tax region. Differs from `calculatorId` when the fallback calculated the tax instead. See `calculatorId` for when that happens.
|
|
950
|
+
*
|
|
951
|
+
* Set without `calculatorId` when the configured calculator and the fallback both failed. Not set when no tax region matches the line item, when tax wasn't requested, or on attributions written before this field was filled.
|
|
952
|
+
* @format GUID
|
|
953
|
+
*/
|
|
954
|
+
configuredCalculatorId?: string | null;
|
|
947
955
|
}
|
|
948
956
|
interface DigitalFile {
|
|
949
957
|
/**
|
|
@@ -914,7 +914,7 @@ interface LineItemTaxInfo {
|
|
|
914
914
|
/** Amount of the line item price that was exempt from tax. */
|
|
915
915
|
exemptAmount?: Price;
|
|
916
916
|
/**
|
|
917
|
-
* Tax
|
|
917
|
+
* Tax calculators behind this line item's current tax amounts: the one that calculated the tax and the one configured for its tax region. Changes when an order edit recalculates tax.
|
|
918
918
|
*
|
|
919
919
|
* Not set on orders created before this field was added, on imported orders, or on orders whose creator didn't send it.
|
|
920
920
|
*
|
|
@@ -974,17 +974,25 @@ declare enum JurisdictionType {
|
|
|
974
974
|
/** @enumType */
|
|
975
975
|
type JurisdictionTypeWithLiterals = JurisdictionType | 'UNDEFINED' | 'COUNTRY' | 'STATE' | 'COUNTY' | 'CITY' | 'SPECIAL';
|
|
976
976
|
/**
|
|
977
|
-
* Record of the tax
|
|
977
|
+
* Record of the tax calculators behind a line item's current tax amounts. Orders store it on line items, on the shipping cost and on each additional fee; "line item" below stands for any of them.
|
|
978
978
|
* A recalculation that changes the amounts, for example after an order edit, replaces it.
|
|
979
979
|
*/
|
|
980
980
|
interface TaxCalculatorAttribution {
|
|
981
981
|
/**
|
|
982
|
-
* App ID of the tax calculator that calculated the line
|
|
982
|
+
* App ID of the tax calculator that calculated the line item's tax.
|
|
983
|
+
* When the calculator configured for the line item's tax region didn't run (it failed, it isn't installed on the site, or the buyer is tax exempt), this is the fallback: Wix's manual tax calculator.
|
|
983
984
|
*
|
|
984
|
-
* Not set when no calculator calculated the line's tax: no tax region matches the line, tax wasn't requested, or the
|
|
985
|
+
* Not set when no calculator calculated the line item's tax: no tax region matches the line item, tax wasn't requested, or the configured calculator and the fallback both failed.
|
|
985
986
|
* @format GUID
|
|
986
987
|
*/
|
|
987
988
|
calculatorId?: string | null;
|
|
989
|
+
/**
|
|
990
|
+
* App ID of the tax calculator configured for the line item's tax region. Differs from `calculatorId` when the fallback calculated the tax instead. See `calculatorId` for when that happens.
|
|
991
|
+
*
|
|
992
|
+
* Set without `calculatorId` when the configured calculator and the fallback both failed. Not set when no tax region matches the line item, when tax wasn't requested, or on attributions written before this field was filled.
|
|
993
|
+
* @format GUID
|
|
994
|
+
*/
|
|
995
|
+
configuredCalculatorId?: string | null;
|
|
988
996
|
}
|
|
989
997
|
interface DigitalFile {
|
|
990
998
|
/**
|
|
@@ -873,7 +873,7 @@ interface LineItemTaxInfo {
|
|
|
873
873
|
/** Amount of the line item price that was exempt from tax. */
|
|
874
874
|
exemptAmount?: Price;
|
|
875
875
|
/**
|
|
876
|
-
* Tax
|
|
876
|
+
* Tax calculators behind this line item's current tax amounts: the one that calculated the tax and the one configured for its tax region. Changes when an order edit recalculates tax.
|
|
877
877
|
*
|
|
878
878
|
* Not set on orders created before this field was added, on imported orders, or on orders whose creator didn't send it.
|
|
879
879
|
*
|
|
@@ -933,17 +933,25 @@ declare enum JurisdictionType {
|
|
|
933
933
|
/** @enumType */
|
|
934
934
|
type JurisdictionTypeWithLiterals = JurisdictionType | 'UNDEFINED' | 'COUNTRY' | 'STATE' | 'COUNTY' | 'CITY' | 'SPECIAL';
|
|
935
935
|
/**
|
|
936
|
-
* Record of the tax
|
|
936
|
+
* Record of the tax calculators behind a line item's current tax amounts. Orders store it on line items, on the shipping cost and on each additional fee; "line item" below stands for any of them.
|
|
937
937
|
* A recalculation that changes the amounts, for example after an order edit, replaces it.
|
|
938
938
|
*/
|
|
939
939
|
interface TaxCalculatorAttribution {
|
|
940
940
|
/**
|
|
941
|
-
* App ID of the tax calculator that calculated the line
|
|
941
|
+
* App ID of the tax calculator that calculated the line item's tax.
|
|
942
|
+
* When the calculator configured for the line item's tax region didn't run (it failed, it isn't installed on the site, or the buyer is tax exempt), this is the fallback: Wix's manual tax calculator.
|
|
942
943
|
*
|
|
943
|
-
* Not set when no calculator calculated the line's tax: no tax region matches the line, tax wasn't requested, or the
|
|
944
|
+
* Not set when no calculator calculated the line item's tax: no tax region matches the line item, tax wasn't requested, or the configured calculator and the fallback both failed.
|
|
944
945
|
* @format GUID
|
|
945
946
|
*/
|
|
946
947
|
calculatorId?: string | null;
|
|
948
|
+
/**
|
|
949
|
+
* App ID of the tax calculator configured for the line item's tax region. Differs from `calculatorId` when the fallback calculated the tax instead. See `calculatorId` for when that happens.
|
|
950
|
+
*
|
|
951
|
+
* Set without `calculatorId` when the configured calculator and the fallback both failed. Not set when no tax region matches the line item, when tax wasn't requested, or on attributions written before this field was filled.
|
|
952
|
+
* @format GUID
|
|
953
|
+
*/
|
|
954
|
+
configuredCalculatorId?: string | null;
|
|
947
955
|
}
|
|
948
956
|
interface DigitalFile {
|
|
949
957
|
/**
|
|
@@ -914,7 +914,7 @@ interface LineItemTaxInfo {
|
|
|
914
914
|
/** Amount of the line item price that was exempt from tax. */
|
|
915
915
|
exemptAmount?: Price;
|
|
916
916
|
/**
|
|
917
|
-
* Tax
|
|
917
|
+
* Tax calculators behind this line item's current tax amounts: the one that calculated the tax and the one configured for its tax region. Changes when an order edit recalculates tax.
|
|
918
918
|
*
|
|
919
919
|
* Not set on orders created before this field was added, on imported orders, or on orders whose creator didn't send it.
|
|
920
920
|
*
|
|
@@ -974,17 +974,25 @@ declare enum JurisdictionType {
|
|
|
974
974
|
/** @enumType */
|
|
975
975
|
type JurisdictionTypeWithLiterals = JurisdictionType | 'UNDEFINED' | 'COUNTRY' | 'STATE' | 'COUNTY' | 'CITY' | 'SPECIAL';
|
|
976
976
|
/**
|
|
977
|
-
* Record of the tax
|
|
977
|
+
* Record of the tax calculators behind a line item's current tax amounts. Orders store it on line items, on the shipping cost and on each additional fee; "line item" below stands for any of them.
|
|
978
978
|
* A recalculation that changes the amounts, for example after an order edit, replaces it.
|
|
979
979
|
*/
|
|
980
980
|
interface TaxCalculatorAttribution {
|
|
981
981
|
/**
|
|
982
|
-
* App ID of the tax calculator that calculated the line
|
|
982
|
+
* App ID of the tax calculator that calculated the line item's tax.
|
|
983
|
+
* When the calculator configured for the line item's tax region didn't run (it failed, it isn't installed on the site, or the buyer is tax exempt), this is the fallback: Wix's manual tax calculator.
|
|
983
984
|
*
|
|
984
|
-
* Not set when no calculator calculated the line's tax: no tax region matches the line, tax wasn't requested, or the
|
|
985
|
+
* Not set when no calculator calculated the line item's tax: no tax region matches the line item, tax wasn't requested, or the configured calculator and the fallback both failed.
|
|
985
986
|
* @format GUID
|
|
986
987
|
*/
|
|
987
988
|
calculatorId?: string | null;
|
|
989
|
+
/**
|
|
990
|
+
* App ID of the tax calculator configured for the line item's tax region. Differs from `calculatorId` when the fallback calculated the tax instead. See `calculatorId` for when that happens.
|
|
991
|
+
*
|
|
992
|
+
* Set without `calculatorId` when the configured calculator and the fallback both failed. Not set when no tax region matches the line item, when tax wasn't requested, or on attributions written before this field was filled.
|
|
993
|
+
* @format GUID
|
|
994
|
+
*/
|
|
995
|
+
configuredCalculatorId?: string | null;
|
|
988
996
|
}
|
|
989
997
|
interface DigitalFile {
|
|
990
998
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_ecom_subscription-contracts",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.160",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.ecom.subscription_contracts.v1.subscription_contract"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "a876e9738b7fb931181cbe92dc6608be483ecbea52b2948eb079dd5e"
|
|
54
54
|
}
|