@wix/auto_sdk_ecom_tax-calculation 1.0.4 → 1.0.5

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.
Files changed (126) hide show
  1. package/build/cjs/index.d.ts +1 -0
  2. package/build/cjs/index.js +18 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +1 -0
  5. package/build/cjs/index.typings.js +18 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +1 -0
  8. package/build/cjs/meta.js +18 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.context.d.ts +6 -0
  11. package/build/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.context.js +10 -0
  12. package/build/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.context.js.map +1 -0
  13. package/build/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.http.d.ts +26 -0
  14. package/build/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.http.js +93 -0
  15. package/build/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.http.js.map +1 -0
  16. package/build/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.meta.d.ts +14 -0
  17. package/build/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.meta.js +66 -0
  18. package/build/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.meta.js.map +1 -0
  19. package/build/{internal/index.d.ts → cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.public.d.ts} +8 -11
  20. package/build/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.public.js +20 -0
  21. package/build/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.public.js.map +1 -0
  22. package/build/{internal/meta.d.ts → cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.types.d.ts} +21 -34
  23. package/build/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.types.js +14 -0
  24. package/build/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.types.js.map +1 -0
  25. package/build/{gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal-ps-Yz0Nn.d.mts → cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal.d.ts} +76 -21
  26. package/build/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal.js +161 -0
  27. package/build/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal.js.map +1 -0
  28. package/build/es/index.d.ts +1 -0
  29. package/build/es/index.js +2 -0
  30. package/build/es/index.js.map +1 -0
  31. package/build/es/index.typings.d.ts +1 -0
  32. package/build/es/index.typings.js +2 -0
  33. package/build/es/index.typings.js.map +1 -0
  34. package/build/es/meta.d.ts +1 -0
  35. package/build/es/meta.js +2 -0
  36. package/build/es/meta.js.map +1 -0
  37. package/build/es/package.json +3 -0
  38. package/build/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.context.d.ts +6 -0
  39. package/build/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.context.js +6 -0
  40. package/build/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.context.js.map +1 -0
  41. package/build/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.http.d.ts +26 -0
  42. package/build/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.http.js +88 -0
  43. package/build/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.http.js.map +1 -0
  44. package/build/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.meta.d.ts +14 -0
  45. package/build/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.meta.js +38 -0
  46. package/build/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.meta.js.map +1 -0
  47. package/build/{index.d.ts → es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.public.d.ts} +8 -11
  48. package/build/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.public.js +14 -0
  49. package/build/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.public.js.map +1 -0
  50. package/build/{meta.d.ts → es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.types.d.ts} +21 -34
  51. package/build/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.types.js +11 -0
  52. package/build/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.types.js.map +1 -0
  53. package/build/{gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal-ps-Yz0Nn.d.ts → es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal.d.ts} +76 -21
  54. package/build/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal.js +133 -0
  55. package/build/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal.js.map +1 -0
  56. package/build/internal/cjs/index.d.ts +1 -0
  57. package/build/internal/cjs/index.js +18 -0
  58. package/build/internal/cjs/index.js.map +1 -0
  59. package/build/internal/cjs/index.typings.d.ts +1 -0
  60. package/build/internal/cjs/index.typings.js +18 -0
  61. package/build/internal/cjs/index.typings.js.map +1 -0
  62. package/build/internal/cjs/meta.d.ts +1 -0
  63. package/build/internal/cjs/meta.js +18 -0
  64. package/build/internal/cjs/meta.js.map +1 -0
  65. package/build/internal/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.context.d.ts +6 -0
  66. package/build/internal/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.context.js +10 -0
  67. package/build/internal/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.context.js.map +1 -0
  68. package/build/internal/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.http.d.ts +26 -0
  69. package/build/internal/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.http.js +93 -0
  70. package/build/internal/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.http.js.map +1 -0
  71. package/build/internal/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.meta.d.ts +14 -0
  72. package/build/internal/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.meta.js +66 -0
  73. package/build/internal/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.meta.js.map +1 -0
  74. package/build/internal/{index.d.mts → cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.public.d.ts} +8 -11
  75. package/build/internal/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.public.js +20 -0
  76. package/build/internal/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.public.js.map +1 -0
  77. package/build/internal/{meta.d.mts → cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.types.d.ts} +21 -34
  78. package/build/internal/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.types.js +14 -0
  79. package/build/internal/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.types.js.map +1 -0
  80. package/build/internal/{gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal-ps-Yz0Nn.d.mts → cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal.d.ts} +76 -21
  81. package/build/internal/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal.js +161 -0
  82. package/build/internal/cjs/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal.js.map +1 -0
  83. package/build/internal/es/index.d.ts +1 -0
  84. package/build/internal/es/index.js +2 -0
  85. package/build/internal/es/index.js.map +1 -0
  86. package/build/internal/es/index.typings.d.ts +1 -0
  87. package/build/internal/es/index.typings.js +2 -0
  88. package/build/internal/es/index.typings.js.map +1 -0
  89. package/build/internal/es/meta.d.ts +1 -0
  90. package/build/internal/es/meta.js +2 -0
  91. package/build/internal/es/meta.js.map +1 -0
  92. package/build/internal/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.context.d.ts +6 -0
  93. package/build/internal/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.context.js +6 -0
  94. package/build/internal/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.context.js.map +1 -0
  95. package/build/internal/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.http.d.ts +26 -0
  96. package/build/internal/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.http.js +88 -0
  97. package/build/internal/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.http.js.map +1 -0
  98. package/build/internal/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.meta.d.ts +14 -0
  99. package/build/internal/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.meta.js +38 -0
  100. package/build/internal/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.meta.js.map +1 -0
  101. package/build/{index.d.mts → internal/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.public.d.ts} +8 -11
  102. package/build/internal/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.public.js +14 -0
  103. package/build/internal/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.public.js.map +1 -0
  104. package/build/{meta.d.mts → internal/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.types.d.ts} +21 -34
  105. package/build/internal/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.types.js +11 -0
  106. package/build/internal/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.types.js.map +1 -0
  107. package/build/internal/{gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal-ps-Yz0Nn.d.ts → es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal.d.ts} +76 -21
  108. package/build/internal/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal.js +133 -0
  109. package/build/internal/es/src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal.js.map +1 -0
  110. package/package.json +11 -12
  111. package/build/index.js +0 -211
  112. package/build/index.js.map +0 -1
  113. package/build/index.mjs +0 -185
  114. package/build/index.mjs.map +0 -1
  115. package/build/internal/index.js +0 -211
  116. package/build/internal/index.js.map +0 -1
  117. package/build/internal/index.mjs +0 -185
  118. package/build/internal/index.mjs.map +0 -1
  119. package/build/internal/meta.js +0 -138
  120. package/build/internal/meta.js.map +0 -1
  121. package/build/internal/meta.mjs +0 -110
  122. package/build/internal/meta.mjs.map +0 -1
  123. package/build/meta.js +0 -138
  124. package/build/meta.js.map +0 -1
  125. package/build/meta.mjs +0 -110
  126. package/build/meta.mjs.map +0 -1
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.meta.js"), exports);
18
+ //# sourceMappingURL=meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4GAA0F"}
@@ -0,0 +1,6 @@
1
+ import { calculateTax as publicCalculateTax, listTaxCalculators as publicListTaxCalculators } from './gateways-billing-v1-tax-calculation-gateway-tax-calculation.public.js';
2
+ import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
3
+ export declare const calculateTax: MaybeContext<BuildRESTFunction<typeof publicCalculateTax> & typeof publicCalculateTax>;
4
+ export declare const listTaxCalculators: MaybeContext<BuildRESTFunction<typeof publicListTaxCalculators> & typeof publicListTaxCalculators>;
5
+ export { JurisdictionType } from './gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal.js';
6
+ export { TaxCalculationGateway, CalculateTaxRequest, Address, LineItem, AddressIndex, AddressIndexAddressIndexOptionsOneOf, MultipleAddresses, CalculateTaxResponse, TaxSummary, AggregatedTaxBreakdown, LineItemTaxDetails, TaxBreakdown, LineItemTaxSummary, ApplicationError, ListTaxCalculatorsRequest, ListTaxCalculatorsResponse, TaxCalculatorDetails, CalculateTaxOptions, } from './gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal.js';
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.JurisdictionType = exports.listTaxCalculators = exports.calculateTax = void 0;
4
+ const gateways_billing_v1_tax_calculation_gateway_tax_calculation_public_js_1 = require("./gateways-billing-v1-tax-calculation-gateway-tax-calculation.public.js");
5
+ const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
6
+ exports.calculateTax = (0, rest_modules_1.createRESTModule)(gateways_billing_v1_tax_calculation_gateway_tax_calculation_public_js_1.calculateTax);
7
+ exports.listTaxCalculators = (0, rest_modules_1.createRESTModule)(gateways_billing_v1_tax_calculation_gateway_tax_calculation_public_js_1.listTaxCalculators);
8
+ var gateways_billing_v1_tax_calculation_gateway_tax_calculation_universal_js_1 = require("./gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal.js");
9
+ Object.defineProperty(exports, "JurisdictionType", { enumerable: true, get: function () { return gateways_billing_v1_tax_calculation_gateway_tax_calculation_universal_js_1.JurisdictionType; } });
10
+ //# sourceMappingURL=gateways-billing-v1-tax-calculation-gateway-tax-calculation.context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gateways-billing-v1-tax-calculation-gateway-tax-calculation.context.js","sourceRoot":"","sources":["../../../../src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.context.ts"],"names":[],"mappings":";;;AAAA,mKAGiF;AACjF,gEAAiE;AAGpD,QAAA,YAAY,GAEP,IAAA,+BAAgB,EAAC,oFAAkB,CAAC,CAAC;AAC1C,QAAA,kBAAkB,GAGb,IAAA,+BAAgB,EAAC,0FAAwB,CAAC,CAAC;AAE7D,uKAA8G;AAArG,4KAAA,gBAAgB,OAAA"}
@@ -0,0 +1,26 @@
1
+ import { RequestOptionsFactory } from '@wix/sdk-types';
2
+ /**
3
+ * Calculates tax for the provided line items.
4
+ *
5
+ * Tax is calculated for each line item based on the tax region
6
+ * that corresponds to the address provided in `lineItems.addressIndex` and the tax group in `taxGroupId`. If no tax region is found for
7
+ * the line item's address then no tax will be calculated for this line item. If no tax group with that `taxGroupId` is found then the
8
+ * default tax group is used to calculate tax. Call List Default Tax Groups to retrieve a site's default tax groups.
9
+ *
10
+ * The tax is calculated by a tax calculator app installed on the site.
11
+ * Call List Tax Calculators to see which tax calculators are available.
12
+ * To provide your own tax calculations, use the Tax Calculation service plugin.
13
+ *
14
+ * The breakdown of calculated tax returned, includes:
15
+ * + `taxSummary`: The overall total tax calculated.
16
+ * + `taxSummary.aggregatedTaxBreakdown`: The total tax calculated for each jurisdiction.
17
+ * + `lineItemTaxDetails.taxSummary`: The total tax calculated for each line item.
18
+ * + `lineItemTaxDetails.taxBreakdown`: The tax calculated for each line item in each jurisdiction.
19
+ */
20
+ export declare function calculateTax(payload: object): RequestOptionsFactory<any>;
21
+ /**
22
+ * Retrieves a list of installed tax calculators.
23
+ *
24
+ * Wix uses these calculators to calculate tax.
25
+ */
26
+ export declare function listTaxCalculators(payload: object): RequestOptionsFactory<any>;
@@ -0,0 +1,93 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.listTaxCalculators = exports.calculateTax = void 0;
4
+ const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
5
+ const rest_modules_2 = require("@wix/sdk-runtime/rest-modules");
6
+ function resolveWixBillingV1TaxCalculationUrl(opts) {
7
+ const domainToMappings = {
8
+ 'manage._base_domain_': [
9
+ {
10
+ srcPath: '/billing/v1/calculate-tax',
11
+ destPath: '/v1/calculate-tax',
12
+ },
13
+ {
14
+ srcPath: '/billing/v1/list-tax-calculators',
15
+ destPath: '/v1/list-tax-calculators',
16
+ },
17
+ ],
18
+ 'www.wixapis.com': [
19
+ {
20
+ srcPath: '/billing/v1/calculate-tax',
21
+ destPath: '/v1/calculate-tax',
22
+ },
23
+ {
24
+ srcPath: '/billing/v1/list-tax-calculators',
25
+ destPath: '/v1/list-tax-calculators',
26
+ },
27
+ ],
28
+ };
29
+ return (0, rest_modules_2.resolveUrl)(Object.assign(opts, { domainToMappings }));
30
+ }
31
+ const PACKAGE_NAME = '@wix/auto_sdk_ecom_tax-calculation';
32
+ /**
33
+ * Calculates tax for the provided line items.
34
+ *
35
+ * Tax is calculated for each line item based on the tax region
36
+ * that corresponds to the address provided in `lineItems.addressIndex` and the tax group in `taxGroupId`. If no tax region is found for
37
+ * the line item's address then no tax will be calculated for this line item. If no tax group with that `taxGroupId` is found then the
38
+ * default tax group is used to calculate tax. Call List Default Tax Groups to retrieve a site's default tax groups.
39
+ *
40
+ * The tax is calculated by a tax calculator app installed on the site.
41
+ * Call List Tax Calculators to see which tax calculators are available.
42
+ * To provide your own tax calculations, use the Tax Calculation service plugin.
43
+ *
44
+ * The breakdown of calculated tax returned, includes:
45
+ * + `taxSummary`: The overall total tax calculated.
46
+ * + `taxSummary.aggregatedTaxBreakdown`: The total tax calculated for each jurisdiction.
47
+ * + `lineItemTaxDetails.taxSummary`: The total tax calculated for each line item.
48
+ * + `lineItemTaxDetails.taxBreakdown`: The tax calculated for each line item in each jurisdiction.
49
+ */
50
+ function calculateTax(payload) {
51
+ function __calculateTax({ host }) {
52
+ const metadata = {
53
+ entityFqdn: 'wix.gateways.billing.v1.tax_calculation_gateway',
54
+ method: 'POST',
55
+ methodFqn: 'wix.billing.v1.TaxCalculation.CalculateTax',
56
+ packageName: PACKAGE_NAME,
57
+ url: resolveWixBillingV1TaxCalculationUrl({
58
+ protoPath: '/v1/calculate-tax',
59
+ data: payload,
60
+ host,
61
+ }),
62
+ data: payload,
63
+ };
64
+ return metadata;
65
+ }
66
+ return __calculateTax;
67
+ }
68
+ exports.calculateTax = calculateTax;
69
+ /**
70
+ * Retrieves a list of installed tax calculators.
71
+ *
72
+ * Wix uses these calculators to calculate tax.
73
+ */
74
+ function listTaxCalculators(payload) {
75
+ function __listTaxCalculators({ host }) {
76
+ const metadata = {
77
+ entityFqdn: 'wix.gateways.billing.v1.tax_calculation_gateway',
78
+ method: 'GET',
79
+ methodFqn: 'wix.billing.v1.TaxCalculation.ListTaxCalculators',
80
+ packageName: PACKAGE_NAME,
81
+ url: resolveWixBillingV1TaxCalculationUrl({
82
+ protoPath: '/v1/list-tax-calculators',
83
+ data: payload,
84
+ host,
85
+ }),
86
+ params: (0, rest_modules_1.toURLSearchParams)(payload),
87
+ };
88
+ return metadata;
89
+ }
90
+ return __listTaxCalculators;
91
+ }
92
+ exports.listTaxCalculators = listTaxCalculators;
93
+ //# sourceMappingURL=gateways-billing-v1-tax-calculation-gateway-tax-calculation.http.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gateways-billing-v1-tax-calculation-gateway-tax-calculation.http.js","sourceRoot":"","sources":["../../../../src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.http.ts"],"names":[],"mappings":";;;AAAA,gEAAkE;AAClE,gEAA2D;AAI3D,SAAS,oCAAoC,CAC3C,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,2BAA2B;gBACpC,QAAQ,EAAE,mBAAmB;aAC9B;YACD;gBACE,OAAO,EAAE,kCAAkC;gBAC3C,QAAQ,EAAE,0BAA0B;aACrC;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,2BAA2B;gBACpC,QAAQ,EAAE,mBAAmB;aAC9B;YACD;gBACE,OAAO,EAAE,kCAAkC;gBAC3C,QAAQ,EAAE,0BAA0B;aACrC;SACF;KACF,CAAC;IAEF,OAAO,IAAA,yBAAU,EAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED,MAAM,YAAY,GAAG,oCAAoC,CAAC;AAE1D;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,YAAY,CAAC,OAAe;IAC1C,SAAS,cAAc,CAAC,EAAE,IAAI,EAAO;QACnC,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,iDAAiD;YAC7D,MAAM,EAAE,MAAa;YACrB,SAAS,EAAE,4CAA4C;YACvD,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,oCAAoC,CAAC;gBACxC,SAAS,EAAE,mBAAmB;gBAC9B,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CAAC;YACF,IAAI,EAAE,OAAO;SACd,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,cAAc,CAAC;AACxB,CAAC;AAnBD,oCAmBC;AAED;;;;GAIG;AACH,SAAgB,kBAAkB,CAChC,OAAe;IAEf,SAAS,oBAAoB,CAAC,EAAE,IAAI,EAAO;QACzC,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,iDAAiD;YAC7D,MAAM,EAAE,KAAY;YACpB,SAAS,EAAE,kDAAkD;YAC7D,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,oCAAoC,CAAC;gBACxC,SAAS,EAAE,0BAA0B;gBACrC,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CAAC;YACF,MAAM,EAAE,IAAA,gCAAiB,EAAC,OAAO,CAAC;SACnC,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,oBAAoB,CAAC;AAC9B,CAAC;AArBD,gDAqBC"}
@@ -0,0 +1,14 @@
1
+ import * as ambassadorWixGatewaysBillingV1TaxCalculationGatewayTypes from './gateways-billing-v1-tax-calculation-gateway-tax-calculation.types.js';
2
+ import * as ambassadorWixGatewaysBillingV1TaxCalculationGatewayUniversalTypes from './gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal.js';
3
+ export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
4
+ getUrl: (context: any) => string;
5
+ httpMethod: K;
6
+ path: string;
7
+ pathParams: M;
8
+ __requestType: T;
9
+ __originalRequestType: S;
10
+ __responseType: Q;
11
+ __originalResponseType: R;
12
+ };
13
+ export declare function calculateTax(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixGatewaysBillingV1TaxCalculationGatewayUniversalTypes.CalculateTaxRequest, ambassadorWixGatewaysBillingV1TaxCalculationGatewayTypes.CalculateTaxRequest, ambassadorWixGatewaysBillingV1TaxCalculationGatewayUniversalTypes.CalculateTaxResponse, ambassadorWixGatewaysBillingV1TaxCalculationGatewayTypes.CalculateTaxResponse>;
14
+ export declare function listTaxCalculators(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixGatewaysBillingV1TaxCalculationGatewayUniversalTypes.ListTaxCalculatorsRequest, ambassadorWixGatewaysBillingV1TaxCalculationGatewayTypes.ListTaxCalculatorsRequest, ambassadorWixGatewaysBillingV1TaxCalculationGatewayUniversalTypes.ListTaxCalculatorsResponse, ambassadorWixGatewaysBillingV1TaxCalculationGatewayTypes.ListTaxCalculatorsResponse>;
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.listTaxCalculators = exports.calculateTax = void 0;
27
+ const ambassadorWixGatewaysBillingV1TaxCalculationGateway = __importStar(require("./gateways-billing-v1-tax-calculation-gateway-tax-calculation.http.js"));
28
+ function calculateTax() {
29
+ const payload = {};
30
+ const getRequestOptions = ambassadorWixGatewaysBillingV1TaxCalculationGateway.calculateTax(payload);
31
+ const getUrl = (context) => {
32
+ const { url } = getRequestOptions(context);
33
+ return url;
34
+ };
35
+ return {
36
+ getUrl,
37
+ httpMethod: 'POST',
38
+ path: '/v1/calculate-tax',
39
+ pathParams: {},
40
+ __requestType: null,
41
+ __originalRequestType: null,
42
+ __responseType: null,
43
+ __originalResponseType: null,
44
+ };
45
+ }
46
+ exports.calculateTax = calculateTax;
47
+ function listTaxCalculators() {
48
+ const payload = {};
49
+ const getRequestOptions = ambassadorWixGatewaysBillingV1TaxCalculationGateway.listTaxCalculators(payload);
50
+ const getUrl = (context) => {
51
+ const { url } = getRequestOptions(context);
52
+ return url;
53
+ };
54
+ return {
55
+ getUrl,
56
+ httpMethod: 'GET',
57
+ path: '/v1/list-tax-calculators',
58
+ pathParams: {},
59
+ __requestType: null,
60
+ __originalRequestType: null,
61
+ __responseType: null,
62
+ __originalResponseType: null,
63
+ };
64
+ }
65
+ exports.listTaxCalculators = listTaxCalculators;
66
+ //# sourceMappingURL=gateways-billing-v1-tax-calculation-gateway-tax-calculation.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gateways-billing-v1-tax-calculation-gateway-tax-calculation.meta.js","sourceRoot":"","sources":["../../../../src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2JAA6I;AAsB7I,SAAgB,YAAY;IAQ1B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,mDAAmD,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;IAE5E,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,mBAAmB;QACzB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA5BD,oCA4BC;AAED,SAAgB,kBAAkB;IAQhC,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,mDAAmD,CAAC,kBAAkB,CACpE,OAAO,CACR,CAAC;IAEJ,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,0BAA0B;QAChC,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,gDA8BC"}
@@ -1,8 +1,9 @@
1
- import { HttpClient, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
- import { C as CalculateTaxOptions, a as CalculateTaxResponse, L as ListTaxCalculatorsResponse } from './gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal-ps-Yz0Nn.mjs';
3
- export { A as Address, d as AddressIndex, e as AddressIndexAddressIndexOptionsOneOf, g as AggregatedTaxBreakdown, k as ApplicationError, b as CalculateTaxRequest, J as JurisdictionType, c as LineItem, h as LineItemTaxDetails, j as LineItemTaxSummary, l as ListTaxCalculatorsRequest, M as MultipleAddresses, i as TaxBreakdown, T as TaxCalculationGateway, m as TaxCalculatorDetails, f as TaxSummary } from './gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal-ps-Yz0Nn.mjs';
4
-
5
- declare function calculateTax$1(httpClient: HttpClient): CalculateTaxSignature;
1
+ import { HttpClient } from '@wix/sdk-types';
2
+ import { CalculateTaxOptions, CalculateTaxResponse, ListTaxCalculatorsResponse } from './gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal.js';
3
+ export declare const __metadata: {
4
+ PACKAGE_NAME: string;
5
+ };
6
+ export declare function calculateTax(httpClient: HttpClient): CalculateTaxSignature;
6
7
  interface CalculateTaxSignature {
7
8
  /**
8
9
  * Calculates tax for the provided line items.
@@ -25,7 +26,7 @@ interface CalculateTaxSignature {
25
26
  */
26
27
  (options?: CalculateTaxOptions | undefined): Promise<CalculateTaxResponse>;
27
28
  }
28
- declare function listTaxCalculators$1(httpClient: HttpClient): ListTaxCalculatorsSignature;
29
+ export declare function listTaxCalculators(httpClient: HttpClient): ListTaxCalculatorsSignature;
29
30
  interface ListTaxCalculatorsSignature {
30
31
  /**
31
32
  * Retrieves a list of installed tax calculators.
@@ -34,8 +35,4 @@ interface ListTaxCalculatorsSignature {
34
35
  */
35
36
  (): Promise<ListTaxCalculatorsResponse>;
36
37
  }
37
-
38
- declare const calculateTax: MaybeContext<BuildRESTFunction<typeof calculateTax$1> & typeof calculateTax$1>;
39
- declare const listTaxCalculators: MaybeContext<BuildRESTFunction<typeof listTaxCalculators$1> & typeof listTaxCalculators$1>;
40
-
41
- export { CalculateTaxOptions, CalculateTaxResponse, ListTaxCalculatorsResponse, calculateTax, listTaxCalculators };
38
+ export { Address, AddressIndex, AddressIndexAddressIndexOptionsOneOf, AggregatedTaxBreakdown, ApplicationError, CalculateTaxOptions, CalculateTaxRequest, CalculateTaxResponse, JurisdictionType, LineItem, LineItemTaxDetails, LineItemTaxSummary, ListTaxCalculatorsRequest, ListTaxCalculatorsResponse, MultipleAddresses, TaxBreakdown, TaxCalculationGateway, TaxCalculatorDetails, TaxSummary, } from './gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal.js';
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.JurisdictionType = exports.listTaxCalculators = exports.calculateTax = exports.__metadata = void 0;
4
+ const gateways_billing_v1_tax_calculation_gateway_tax_calculation_universal_js_1 = require("./gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal.js");
5
+ exports.__metadata = { PACKAGE_NAME: '@wix/ecom' };
6
+ function calculateTax(httpClient) {
7
+ return (options) => (0, gateways_billing_v1_tax_calculation_gateway_tax_calculation_universal_js_1.calculateTax)(options,
8
+ // @ts-ignore
9
+ { httpClient });
10
+ }
11
+ exports.calculateTax = calculateTax;
12
+ function listTaxCalculators(httpClient) {
13
+ return () => (0, gateways_billing_v1_tax_calculation_gateway_tax_calculation_universal_js_1.listTaxCalculators)(
14
+ // @ts-ignore
15
+ { httpClient });
16
+ }
17
+ exports.listTaxCalculators = listTaxCalculators;
18
+ var gateways_billing_v1_tax_calculation_gateway_tax_calculation_universal_js_2 = require("./gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal.js");
19
+ Object.defineProperty(exports, "JurisdictionType", { enumerable: true, get: function () { return gateways_billing_v1_tax_calculation_gateway_tax_calculation_universal_js_2.JurisdictionType; } });
20
+ //# sourceMappingURL=gateways-billing-v1-tax-calculation-gateway-tax-calculation.public.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gateways-billing-v1-tax-calculation-gateway-tax-calculation.public.js","sourceRoot":"","sources":["../../../../src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.public.ts"],"names":[],"mappings":";;;AACA,yKAMoF;AAEvE,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,SAAgB,YAAY,CAAC,UAAsB;IACjD,OAAO,CACL,OAOC,EACD,EAAE,CACF,IAAA,uFAAqB,EACnB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAhBD,oCAgBC;AAyBD,SAAgB,kBAAkB,CAChC,UAAsB;IAEtB,OAAO,GAAG,EAAE,CACV,IAAA,6FAA2B;IACzB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,gDAQC;AAWD,uKAoBoF;AAXlF,4KAAA,gBAAgB,OAAA"}
@@ -1,6 +1,8 @@
1
- import { b as CalculateTaxRequest$1, a as CalculateTaxResponse$1, l as ListTaxCalculatorsRequest$1, L as ListTaxCalculatorsResponse$1 } from './gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal-ps-Yz0Nn.mjs';
2
-
3
- interface CalculateTaxRequest {
1
+ export interface TaxCalculationGateway {
2
+ /** @format GUID */
3
+ id?: string | null;
4
+ }
5
+ export interface CalculateTaxRequest {
4
6
  /**
5
7
  * Optional ID of the entity that tax is being calculated for. For example, a cart ID.
6
8
  * @format GUID
@@ -26,7 +28,7 @@ interface CalculateTaxRequest {
26
28
  lineItems: LineItem[];
27
29
  }
28
30
  /** Wix common address format for physical address to use if you plan to store addresses in your service. */
29
- interface Address {
31
+ export interface Address {
30
32
  /**
31
33
  * 2-letter country code in [ISO-3166 alpha-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format.
32
34
  * @format COUNTRY
@@ -59,7 +61,7 @@ interface Address {
59
61
  addressLine2?: string | null;
60
62
  }
61
63
  /** Line items to calculate tax for. */
62
- interface LineItem {
64
+ export interface LineItem {
63
65
  /**
64
66
  * Line item ID.
65
67
  * @minLength 1
@@ -111,7 +113,7 @@ interface LineItem {
111
113
  addressIndex?: AddressIndex;
112
114
  }
113
115
  /** Index of the address from `addresses` to use to calculate tax for this specific line item. The index is zero-based. */
114
- interface AddressIndex extends AddressIndexAddressIndexOptionsOneOf {
116
+ export interface AddressIndex extends AddressIndexAddressIndexOptionsOneOf {
115
117
  /** Single address to use for a sale location when only one address is required for tax calculations. The index is zero-based. */
116
118
  singleAddress?: number;
117
119
  /**
@@ -121,7 +123,7 @@ interface AddressIndex extends AddressIndexAddressIndexOptionsOneOf {
121
123
  multipleAddresses?: MultipleAddresses;
122
124
  }
123
125
  /** @oneof */
124
- interface AddressIndexAddressIndexOptionsOneOf {
126
+ export interface AddressIndexAddressIndexOptionsOneOf {
125
127
  /** Single address to use for a sale location when only one address is required for tax calculations. The index is zero-based. */
126
128
  singleAddress?: number;
127
129
  /**
@@ -134,13 +136,13 @@ interface AddressIndexAddressIndexOptionsOneOf {
134
136
  * Multiple addresses to use for a sale. For example, some tax calculations may require both the address where an item
135
137
  * is shipped from, as well as the address the item is shipped to.
136
138
  */
137
- interface MultipleAddresses {
139
+ export interface MultipleAddresses {
138
140
  /** Index of the origin address. */
139
141
  origin?: number;
140
142
  /** Index of the destination address. */
141
143
  destination?: number;
142
144
  }
143
- interface CalculateTaxResponse {
145
+ export interface CalculateTaxResponse {
144
146
  /**
145
147
  * Optional ID of the entity that tax is being calculated for. For example, a cart ID.
146
148
  * @format GUID
@@ -172,7 +174,7 @@ interface CalculateTaxResponse {
172
174
  */
173
175
  errors?: ApplicationError[];
174
176
  }
175
- interface TaxSummary {
177
+ export interface TaxSummary {
176
178
  /**
177
179
  * Total price for all line items.
178
180
  * @format DECIMAL_VALUE
@@ -212,7 +214,7 @@ interface TaxSummary {
212
214
  * e.g. if you pay 100$ and the tax applies only on 50$ from it with tax rate of 10%,
213
215
  * then the tax rate will be remain 10% but tax amount in the breakdown will be 5$ instead of 10$.
214
216
  */
215
- interface AggregatedTaxBreakdown {
217
+ export interface AggregatedTaxBreakdown {
216
218
  /**
217
219
  * Name of the tax that was calculated.
218
220
  * @maxLength 200
@@ -243,7 +245,7 @@ interface AggregatedTaxBreakdown {
243
245
  aggregatedTaxAmount?: string;
244
246
  }
245
247
  /** Type of jurisdiction that taxes were calculated for. For example, `"State"`, `"County"`, `"City"`, `"Special"`, etc. */
246
- declare enum JurisdictionType {
248
+ export declare enum JurisdictionType {
247
249
  UNDEFINED = "UNDEFINED",
248
250
  COUNTRY = "COUNTRY",
249
251
  STATE = "STATE",
@@ -252,7 +254,7 @@ declare enum JurisdictionType {
252
254
  SPECIAL = "SPECIAL"
253
255
  }
254
256
  /** Tax details for a specific line item. */
255
- interface LineItemTaxDetails {
257
+ export interface LineItemTaxDetails {
256
258
  /**
257
259
  * Line item ID.
258
260
  * @minLength 1
@@ -283,7 +285,7 @@ interface LineItemTaxDetails {
283
285
  taxIncludedInPrice?: boolean;
284
286
  }
285
287
  /** A detailed description of all the tax authorities applied on this item. */
286
- interface TaxBreakdown {
288
+ export interface TaxBreakdown {
287
289
  /**
288
290
  * Jurisdiction that taxes were calculated for.
289
291
  * @maxLength 200
@@ -326,7 +328,7 @@ interface TaxBreakdown {
326
328
  /** Type of jurisdiction that taxes were calculated for. For example, `"State"`, `"Çounty"`, `"City"`, `"Special"`, etc. */
327
329
  jurisdictionType?: JurisdictionType;
328
330
  }
329
- interface LineItemTaxSummary {
331
+ export interface LineItemTaxSummary {
330
332
  /**
331
333
  * Total price for this line item.
332
334
  * To determine the price for each individual unit of this line item, divide by `quantity`.
@@ -352,7 +354,7 @@ interface LineItemTaxSummary {
352
354
  */
353
355
  appId?: string | null;
354
356
  }
355
- interface ApplicationError {
357
+ export interface ApplicationError {
356
358
  /** Error code. */
357
359
  code?: string;
358
360
  /** Description of the error. */
@@ -360,16 +362,16 @@ interface ApplicationError {
360
362
  /** Data related to the error. */
361
363
  data?: Record<string, any> | null;
362
364
  }
363
- interface ListTaxCalculatorsRequest {
365
+ export interface ListTaxCalculatorsRequest {
364
366
  }
365
- interface ListTaxCalculatorsResponse {
367
+ export interface ListTaxCalculatorsResponse {
366
368
  /**
367
369
  * Retrieved tax calculators.
368
370
  * @maxSize 10
369
371
  */
370
372
  taxCalculatorDetails?: TaxCalculatorDetails[];
371
373
  }
372
- interface TaxCalculatorDetails {
374
+ export interface TaxCalculatorDetails {
373
375
  /**
374
376
  * ID of the tax calculator.
375
377
  * @format GUID
@@ -388,18 +390,3 @@ interface TaxCalculatorDetails {
388
390
  */
389
391
  unsupportedCountries?: string[];
390
392
  }
391
-
392
- type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
393
- getUrl: (context: any) => string;
394
- httpMethod: K;
395
- path: string;
396
- pathParams: M;
397
- __requestType: T;
398
- __originalRequestType: S;
399
- __responseType: Q;
400
- __originalResponseType: R;
401
- };
402
- declare function calculateTax(): __PublicMethodMetaInfo<'POST', {}, CalculateTaxRequest$1, CalculateTaxRequest, CalculateTaxResponse$1, CalculateTaxResponse>;
403
- declare function listTaxCalculators(): __PublicMethodMetaInfo<'GET', {}, ListTaxCalculatorsRequest$1, ListTaxCalculatorsRequest, ListTaxCalculatorsResponse$1, ListTaxCalculatorsResponse>;
404
-
405
- export { type __PublicMethodMetaInfo, calculateTax, listTaxCalculators };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.JurisdictionType = void 0;
4
+ /** Type of jurisdiction that taxes were calculated for. For example, `"State"`, `"County"`, `"City"`, `"Special"`, etc. */
5
+ var JurisdictionType;
6
+ (function (JurisdictionType) {
7
+ JurisdictionType["UNDEFINED"] = "UNDEFINED";
8
+ JurisdictionType["COUNTRY"] = "COUNTRY";
9
+ JurisdictionType["STATE"] = "STATE";
10
+ JurisdictionType["COUNTY"] = "COUNTY";
11
+ JurisdictionType["CITY"] = "CITY";
12
+ JurisdictionType["SPECIAL"] = "SPECIAL";
13
+ })(JurisdictionType || (exports.JurisdictionType = JurisdictionType = {}));
14
+ //# sourceMappingURL=gateways-billing-v1-tax-calculation-gateway-tax-calculation.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gateways-billing-v1-tax-calculation-gateway-tax-calculation.types.js","sourceRoot":"","sources":["../../../../src/gateways-billing-v1-tax-calculation-gateway-tax-calculation.types.ts"],"names":[],"mappings":";;;AAgQA,2HAA2H;AAC3H,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,2CAAuB,CAAA;IACvB,uCAAmB,CAAA;IACnB,mCAAe,CAAA;IACf,qCAAiB,CAAA;IACjB,iCAAa,CAAA;IACb,uCAAmB,CAAA;AACrB,CAAC,EAPW,gBAAgB,gCAAhB,gBAAgB,QAO3B"}