@wix/auto_sdk_ecom_subscription-contracts 1.0.159 → 1.0.161

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.
@@ -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 calculator that produced this line's current tax amounts. Changes when an order edit recalculates 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 calculator behind a line's current tax amounts.
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's tax. When the calculator of the line's tax region failed or isn't installed, or the buyer is tax exempt, this is the fallback calculator (Wix's manual tax calculator).
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 region's calculator and the fallback calculator both failed.
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
  /**
@@ -2370,7 +2378,19 @@ declare enum ChannelType {
2370
2378
  * @documentationMaturity preview
2371
2379
  * @internal
2372
2380
  */
2373
- GOOGLE_AGENTIC_CHECKOUT = "GOOGLE_AGENTIC_CHECKOUT"
2381
+ GOOGLE_AGENTIC_CHECKOUT = "GOOGLE_AGENTIC_CHECKOUT",
2382
+ /**
2383
+ * Amazon Agentic Checkout sales channel.
2384
+ * @documentationMaturity preview
2385
+ * @internal
2386
+ */
2387
+ AMAZON_AGENTIC_CHECKOUT = "AMAZON_AGENTIC_CHECKOUT",
2388
+ /**
2389
+ * TikTok Agentic Checkout sales channel.
2390
+ * @documentationMaturity preview
2391
+ * @internal
2392
+ */
2393
+ TIKTOK_AGENTIC_CHECKOUT = "TIKTOK_AGENTIC_CHECKOUT"
2374
2394
  }
2375
2395
  /** @enumType */
2376
2396
  type ChannelTypeWithLiterals = ChannelType | 'UNSPECIFIED' | 'WEB' | 'POS' | 'EBAY' | 'AMAZON' | 'OTHER_PLATFORM' | 'WIX_APP_STORE' | 'WIX_INVOICES' | 'BACKOFFICE_MERCHANT' | 'WISH' | 'CLASS_PASS' | 'GLOBAL_E' | 'FACEBOOK' | 'ETSY' | 'TIKTOK' | 'FAIRE_COM' | 'PAYPAL_AGENTIC_CHECKOUT' | 'STRIPE_AGENTIC_CHECKOUT';
@@ -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 calculator that produced this line's current tax amounts. Changes when an order edit recalculates 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 calculator behind a line's current tax amounts.
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's tax. When the calculator of the line's tax region failed or isn't installed, or the buyer is tax exempt, this is the fallback calculator (Wix's manual tax calculator).
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 region's calculator and the fallback calculator both failed.
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
  /**
@@ -2411,7 +2419,19 @@ declare enum ChannelType {
2411
2419
  * @documentationMaturity preview
2412
2420
  * @internal
2413
2421
  */
2414
- GOOGLE_AGENTIC_CHECKOUT = "GOOGLE_AGENTIC_CHECKOUT"
2422
+ GOOGLE_AGENTIC_CHECKOUT = "GOOGLE_AGENTIC_CHECKOUT",
2423
+ /**
2424
+ * Amazon Agentic Checkout sales channel.
2425
+ * @documentationMaturity preview
2426
+ * @internal
2427
+ */
2428
+ AMAZON_AGENTIC_CHECKOUT = "AMAZON_AGENTIC_CHECKOUT",
2429
+ /**
2430
+ * TikTok Agentic Checkout sales channel.
2431
+ * @documentationMaturity preview
2432
+ * @internal
2433
+ */
2434
+ TIKTOK_AGENTIC_CHECKOUT = "TIKTOK_AGENTIC_CHECKOUT"
2415
2435
  }
2416
2436
  /** @enumType */
2417
2437
  type ChannelTypeWithLiterals = ChannelType | 'UNSPECIFIED' | 'WEB' | 'POS' | 'EBAY' | 'AMAZON' | 'OTHER_PLATFORM' | 'WIX_APP_STORE' | 'WIX_INVOICES' | 'BACKOFFICE_MERCHANT' | 'WISH' | 'CLASS_PASS' | 'GLOBAL_E' | 'FACEBOOK' | 'ETSY' | 'TIKTOK' | 'FAIRE_COM' | 'PAYPAL_AGENTIC_CHECKOUT' | 'STRIPE_AGENTIC_CHECKOUT';
@@ -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 calculator that produced this line's current tax amounts. Changes when an order edit recalculates 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 calculator behind a line's current tax amounts.
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's tax. When the calculator of the line's tax region failed or isn't installed, or the buyer is tax exempt, this is the fallback calculator (Wix's manual tax calculator).
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 region's calculator and the fallback calculator both failed.
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
  /**
@@ -2370,7 +2378,19 @@ declare enum ChannelType {
2370
2378
  * @documentationMaturity preview
2371
2379
  * @internal
2372
2380
  */
2373
- GOOGLE_AGENTIC_CHECKOUT = "GOOGLE_AGENTIC_CHECKOUT"
2381
+ GOOGLE_AGENTIC_CHECKOUT = "GOOGLE_AGENTIC_CHECKOUT",
2382
+ /**
2383
+ * Amazon Agentic Checkout sales channel.
2384
+ * @documentationMaturity preview
2385
+ * @internal
2386
+ */
2387
+ AMAZON_AGENTIC_CHECKOUT = "AMAZON_AGENTIC_CHECKOUT",
2388
+ /**
2389
+ * TikTok Agentic Checkout sales channel.
2390
+ * @documentationMaturity preview
2391
+ * @internal
2392
+ */
2393
+ TIKTOK_AGENTIC_CHECKOUT = "TIKTOK_AGENTIC_CHECKOUT"
2374
2394
  }
2375
2395
  /** @enumType */
2376
2396
  type ChannelTypeWithLiterals = ChannelType | 'UNSPECIFIED' | 'WEB' | 'POS' | 'EBAY' | 'AMAZON' | 'OTHER_PLATFORM' | 'WIX_APP_STORE' | 'WIX_INVOICES' | 'BACKOFFICE_MERCHANT' | 'WISH' | 'CLASS_PASS' | 'GLOBAL_E' | 'FACEBOOK' | 'ETSY' | 'TIKTOK' | 'FAIRE_COM' | 'PAYPAL_AGENTIC_CHECKOUT' | 'STRIPE_AGENTIC_CHECKOUT';
@@ -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 calculator that produced this line's current tax amounts. Changes when an order edit recalculates 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 calculator behind a line's current tax amounts.
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's tax. When the calculator of the line's tax region failed or isn't installed, or the buyer is tax exempt, this is the fallback calculator (Wix's manual tax calculator).
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 region's calculator and the fallback calculator both failed.
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
  /**
@@ -2411,7 +2419,19 @@ declare enum ChannelType {
2411
2419
  * @documentationMaturity preview
2412
2420
  * @internal
2413
2421
  */
2414
- GOOGLE_AGENTIC_CHECKOUT = "GOOGLE_AGENTIC_CHECKOUT"
2422
+ GOOGLE_AGENTIC_CHECKOUT = "GOOGLE_AGENTIC_CHECKOUT",
2423
+ /**
2424
+ * Amazon Agentic Checkout sales channel.
2425
+ * @documentationMaturity preview
2426
+ * @internal
2427
+ */
2428
+ AMAZON_AGENTIC_CHECKOUT = "AMAZON_AGENTIC_CHECKOUT",
2429
+ /**
2430
+ * TikTok Agentic Checkout sales channel.
2431
+ * @documentationMaturity preview
2432
+ * @internal
2433
+ */
2434
+ TIKTOK_AGENTIC_CHECKOUT = "TIKTOK_AGENTIC_CHECKOUT"
2415
2435
  }
2416
2436
  /** @enumType */
2417
2437
  type ChannelTypeWithLiterals = ChannelType | 'UNSPECIFIED' | 'WEB' | 'POS' | 'EBAY' | 'AMAZON' | 'OTHER_PLATFORM' | 'WIX_APP_STORE' | 'WIX_INVOICES' | 'BACKOFFICE_MERCHANT' | 'WISH' | 'CLASS_PASS' | 'GLOBAL_E' | 'FACEBOOK' | 'ETSY' | 'TIKTOK' | 'FAIRE_COM' | 'PAYPAL_AGENTIC_CHECKOUT' | 'STRIPE_AGENTIC_CHECKOUT';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_ecom_subscription-contracts",
3
- "version": "1.0.159",
3
+ "version": "1.0.161",
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": "8982913dea891d35bec1a37e16e338cce4972fc3d698846bf71b6b39"
53
+ "falconPackageHash": "a17e58c90b08e04b3ebe672a8d948a48bea6c9459d8da9417b924a3a"
54
54
  }