@wix/auto_sdk_ecom_tax-groups 1.0.16 → 1.0.18
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/{internal/cjs/src/billing-v1-tax-group-tax-groups.universal.d.ts → billing-v1-tax-group-tax-groups.universal-BytDffOB.d.mts} +50 -296
- package/build/{internal/es/src/billing-v1-tax-group-tax-groups.universal.d.ts → billing-v1-tax-group-tax-groups.universal-BytDffOB.d.ts} +50 -296
- package/build/{cjs/src/billing-v1-tax-group-tax-groups.public.d.ts → index.d.mts} +36 -16
- package/build/{internal/cjs/src/billing-v1-tax-group-tax-groups.public.d.ts → index.d.ts} +36 -16
- package/build/index.js +605 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +570 -0
- package/build/index.mjs.map +1 -0
- package/build/{cjs/src/billing-v1-tax-group-tax-groups.universal.d.ts → internal/billing-v1-tax-group-tax-groups.universal-BytDffOB.d.mts} +50 -296
- package/build/{es/src/billing-v1-tax-group-tax-groups.universal.d.ts → internal/billing-v1-tax-group-tax-groups.universal-BytDffOB.d.ts} +50 -296
- package/build/internal/{es/src/billing-v1-tax-group-tax-groups.public.d.ts → index.d.mts} +36 -16
- package/build/{es/src/billing-v1-tax-group-tax-groups.public.d.ts → internal/index.d.ts} +36 -16
- package/build/internal/index.js +605 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +570 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/{cjs/src/billing-v1-tax-group-tax-groups.types.d.ts → meta.d.mts} +56 -164
- package/build/{cjs/src/billing-v1-tax-group-tax-groups.types.d.ts → internal/meta.d.ts} +56 -164
- package/build/internal/meta.js +398 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +365 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/{es/src/billing-v1-tax-group-tax-groups.types.d.ts → meta.d.mts} +56 -164
- package/build/{internal/es/src/billing-v1-tax-group-tax-groups.types.d.ts → meta.d.ts} +56 -164
- package/build/meta.js +398 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +365 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +13 -12
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/billing-v1-tax-group-tax-groups.context.d.ts +0 -27
- package/build/cjs/src/billing-v1-tax-group-tax-groups.context.js +0 -32
- package/build/cjs/src/billing-v1-tax-group-tax-groups.context.js.map +0 -1
- package/build/cjs/src/billing-v1-tax-group-tax-groups.http.d.ts +0 -57
- package/build/cjs/src/billing-v1-tax-group-tax-groups.http.js +0 -286
- package/build/cjs/src/billing-v1-tax-group-tax-groups.http.js.map +0 -1
- package/build/cjs/src/billing-v1-tax-group-tax-groups.meta.d.ts +0 -25
- package/build/cjs/src/billing-v1-tax-group-tax-groups.meta.js +0 -161
- package/build/cjs/src/billing-v1-tax-group-tax-groups.meta.js.map +0 -1
- package/build/cjs/src/billing-v1-tax-group-tax-groups.public.js +0 -85
- package/build/cjs/src/billing-v1-tax-group-tax-groups.public.js.map +0 -1
- package/build/cjs/src/billing-v1-tax-group-tax-groups.types.js +0 -17
- package/build/cjs/src/billing-v1-tax-group-tax-groups.types.js.map +0 -1
- package/build/cjs/src/billing-v1-tax-group-tax-groups.universal.js +0 -401
- package/build/cjs/src/billing-v1-tax-group-tax-groups.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/billing-v1-tax-group-tax-groups.context.d.ts +0 -27
- package/build/es/src/billing-v1-tax-group-tax-groups.context.js +0 -27
- package/build/es/src/billing-v1-tax-group-tax-groups.context.js.map +0 -1
- package/build/es/src/billing-v1-tax-group-tax-groups.http.d.ts +0 -57
- package/build/es/src/billing-v1-tax-group-tax-groups.http.js +0 -276
- package/build/es/src/billing-v1-tax-group-tax-groups.http.js.map +0 -1
- package/build/es/src/billing-v1-tax-group-tax-groups.meta.d.ts +0 -25
- package/build/es/src/billing-v1-tax-group-tax-groups.meta.js +0 -128
- package/build/es/src/billing-v1-tax-group-tax-groups.meta.js.map +0 -1
- package/build/es/src/billing-v1-tax-group-tax-groups.public.js +0 -73
- package/build/es/src/billing-v1-tax-group-tax-groups.public.js.map +0 -1
- package/build/es/src/billing-v1-tax-group-tax-groups.types.js +0 -14
- package/build/es/src/billing-v1-tax-group-tax-groups.types.js.map +0 -1
- package/build/es/src/billing-v1-tax-group-tax-groups.universal.js +0 -368
- package/build/es/src/billing-v1-tax-group-tax-groups.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.context.d.ts +0 -27
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.context.js +0 -32
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.context.js.map +0 -1
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.http.d.ts +0 -57
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.http.js +0 -286
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.http.js.map +0 -1
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.meta.d.ts +0 -25
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.meta.js +0 -161
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.meta.js.map +0 -1
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.public.js +0 -85
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.public.js.map +0 -1
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.types.js +0 -17
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.types.js.map +0 -1
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.universal.js +0 -401
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.context.d.ts +0 -27
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.context.js +0 -27
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.context.js.map +0 -1
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.http.d.ts +0 -57
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.http.js +0 -276
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.http.js.map +0 -1
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.meta.d.ts +0 -25
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.meta.js +0 -128
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.meta.js.map +0 -1
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.public.js +0 -73
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.public.js.map +0 -1
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.types.js +0 -14
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.types.js.map +0 -1
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.universal.js +0 -368
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.universal.js.map +0 -1
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
-
/**
|
|
3
|
-
* Creates a tax group.
|
|
4
|
-
*
|
|
5
|
-
* Call Stores Update Product to add the `taxGroupId` to specific products to categorize as a group based on distinct tax treatment.
|
|
6
|
-
* Wix uses tax groups to calculate tax.
|
|
7
|
-
*
|
|
8
|
-
* In addition to tax groups you create, default tax groups are already included in all Wix catalogs.
|
|
9
|
-
* Call List Default Tax Groups to retrieve them. You can also use the Tax Groups Integration service plugin (REST only)
|
|
10
|
-
* to create new default tax groups that can be applied directly to an entire catalog of products.
|
|
11
|
-
*/
|
|
12
|
-
export declare function createTaxGroup(payload: object): RequestOptionsFactory<any>;
|
|
13
|
-
/** Retrieves a tax group. */
|
|
14
|
-
export declare function getTaxGroup(payload: object): RequestOptionsFactory<any>;
|
|
15
|
-
/**
|
|
16
|
-
* Updates a tax group.
|
|
17
|
-
*
|
|
18
|
-
* Each time the tax group is updated, `revision` increments by 1.
|
|
19
|
-
* The current `revision` must be passed when updating the tax group.
|
|
20
|
-
* This ensures you're working with the latest tax group and prevents
|
|
21
|
-
* unintended overwrites.
|
|
22
|
-
*/
|
|
23
|
-
export declare function updateTaxGroup(payload: object): RequestOptionsFactory<any>;
|
|
24
|
-
/**
|
|
25
|
-
* Deletes a tax group.
|
|
26
|
-
*
|
|
27
|
-
* If a tax group is deleted but the `taxGroupId` is still assigned to a product (see Stores Products API) then the default tax group is used to calculate tax.
|
|
28
|
-
*/
|
|
29
|
-
export declare function deleteTaxGroup(payload: object): RequestOptionsFactory<any>;
|
|
30
|
-
/**
|
|
31
|
-
* Creates a query to retrieve a list of tax groups.
|
|
32
|
-
*
|
|
33
|
-
* The `queryTaxGroups()` function builds a query to retrieve a list of tax groups and returns a `TaxGroupsQueryBuilder` object.
|
|
34
|
-
*
|
|
35
|
-
* The returned object contains the query definition, which is typically used to run the query using the `find()` function.
|
|
36
|
-
*
|
|
37
|
-
* You can refine the query by chaining `TaxGroupsQueryBuilder` functions onto the query. `TaxGroupsQueryBuilder` functions enable you to sort, filter, and control the results that `queryTaxGroups()` returns.
|
|
38
|
-
*
|
|
39
|
-
* `queryTaxGroups()` runs with the following `TaxGroupsQueryBuilder` default that you can override:
|
|
40
|
-
* + `ascending("_id")`
|
|
41
|
-
*
|
|
42
|
-
* The functions that are chained to `queryTaxGroups()` are applied in the order they are called. For example, if you apply `ascending("name")` and then `ascending("_createdDate")`, the results are sorted first by the `"name"`, and then, if there are multiple results with the same `"name"`, the items are sorted by `"_createdDate"`.
|
|
43
|
-
*
|
|
44
|
-
* The following `TaxGroupsQueryBuilder` functions are supported for the `queryTaxGroups()` function. For a full description of the tax group object, see the object returned for the `items` property in `TaxGroupsQueryResult`.
|
|
45
|
-
*/
|
|
46
|
-
export declare function queryTaxGroups(payload: object): RequestOptionsFactory<any>;
|
|
47
|
-
/**
|
|
48
|
-
* Retrieves a list of default tax groups.
|
|
49
|
-
*
|
|
50
|
-
* The default tax groups for a site are inherited by the apps installed on the site.
|
|
51
|
-
* For example, the Wix Stores app includes a `"Products"` tax group by default.
|
|
52
|
-
*
|
|
53
|
-
* Add additional default tax groups with the Tax Groups Integration service plugin (REST only).
|
|
54
|
-
*/
|
|
55
|
-
export declare function listDefaultTaxGroups(payload: object): RequestOptionsFactory<any>;
|
|
56
|
-
/** Retrieves default tax groups for specific apps. */
|
|
57
|
-
export declare function listDefaultTaxGroupsByAppIds(payload: object): RequestOptionsFactory<any>;
|
|
@@ -1,286 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.listDefaultTaxGroupsByAppIds = exports.listDefaultTaxGroups = exports.queryTaxGroups = exports.deleteTaxGroup = exports.updateTaxGroup = exports.getTaxGroup = exports.createTaxGroup = void 0;
|
|
4
|
-
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
|
|
5
|
-
const timestamp_1 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
6
|
-
const timestamp_2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
7
|
-
const field_mask_1 = require("@wix/sdk-runtime/transformations/field-mask");
|
|
8
|
-
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
9
|
-
const rest_modules_2 = require("@wix/sdk-runtime/rest-modules");
|
|
10
|
-
function resolveWixBillingV1TaxGroupsUrl(opts) {
|
|
11
|
-
const domainToMappings = {
|
|
12
|
-
'www.wixapis.com': [
|
|
13
|
-
{
|
|
14
|
-
srcPath: '/billing/v1/tax-groups',
|
|
15
|
-
destPath: '/v1/tax-groups',
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
|
-
'manage._base_domain_': [
|
|
19
|
-
{
|
|
20
|
-
srcPath: '/billing/v1/tax-groups',
|
|
21
|
-
destPath: '/v1/tax-groups',
|
|
22
|
-
},
|
|
23
|
-
],
|
|
24
|
-
};
|
|
25
|
-
return (0, rest_modules_2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
26
|
-
}
|
|
27
|
-
const PACKAGE_NAME = '@wix/auto_sdk_ecom_tax-groups';
|
|
28
|
-
/**
|
|
29
|
-
* Creates a tax group.
|
|
30
|
-
*
|
|
31
|
-
* Call Stores Update Product to add the `taxGroupId` to specific products to categorize as a group based on distinct tax treatment.
|
|
32
|
-
* Wix uses tax groups to calculate tax.
|
|
33
|
-
*
|
|
34
|
-
* In addition to tax groups you create, default tax groups are already included in all Wix catalogs.
|
|
35
|
-
* Call List Default Tax Groups to retrieve them. You can also use the Tax Groups Integration service plugin (REST only)
|
|
36
|
-
* to create new default tax groups that can be applied directly to an entire catalog of products.
|
|
37
|
-
*/
|
|
38
|
-
function createTaxGroup(payload) {
|
|
39
|
-
function __createTaxGroup({ host }) {
|
|
40
|
-
const serializedData = (0, transform_paths_1.transformPaths)(payload, [
|
|
41
|
-
{
|
|
42
|
-
transformFn: timestamp_1.transformSDKTimestampToRESTTimestamp,
|
|
43
|
-
paths: [
|
|
44
|
-
{ path: 'taxGroup.createdDate' },
|
|
45
|
-
{ path: 'taxGroup.updatedDate' },
|
|
46
|
-
],
|
|
47
|
-
},
|
|
48
|
-
]);
|
|
49
|
-
const metadata = {
|
|
50
|
-
entityFqdn: 'wix.billing.v1.tax_group',
|
|
51
|
-
method: 'POST',
|
|
52
|
-
methodFqn: 'wix.billing.v1.TaxGroups.CreateTaxGroup',
|
|
53
|
-
packageName: PACKAGE_NAME,
|
|
54
|
-
url: resolveWixBillingV1TaxGroupsUrl({
|
|
55
|
-
protoPath: '/v1/tax-groups',
|
|
56
|
-
data: serializedData,
|
|
57
|
-
host,
|
|
58
|
-
}),
|
|
59
|
-
data: serializedData,
|
|
60
|
-
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
61
|
-
{
|
|
62
|
-
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
63
|
-
paths: [
|
|
64
|
-
{ path: 'taxGroup.createdDate' },
|
|
65
|
-
{ path: 'taxGroup.updatedDate' },
|
|
66
|
-
],
|
|
67
|
-
},
|
|
68
|
-
]),
|
|
69
|
-
};
|
|
70
|
-
return metadata;
|
|
71
|
-
}
|
|
72
|
-
return __createTaxGroup;
|
|
73
|
-
}
|
|
74
|
-
exports.createTaxGroup = createTaxGroup;
|
|
75
|
-
/** Retrieves a tax group. */
|
|
76
|
-
function getTaxGroup(payload) {
|
|
77
|
-
function __getTaxGroup({ host }) {
|
|
78
|
-
const metadata = {
|
|
79
|
-
entityFqdn: 'wix.billing.v1.tax_group',
|
|
80
|
-
method: 'GET',
|
|
81
|
-
methodFqn: 'wix.billing.v1.TaxGroups.GetTaxGroup',
|
|
82
|
-
packageName: PACKAGE_NAME,
|
|
83
|
-
url: resolveWixBillingV1TaxGroupsUrl({
|
|
84
|
-
protoPath: '/v1/tax-groups/{taxGroupId}',
|
|
85
|
-
data: payload,
|
|
86
|
-
host,
|
|
87
|
-
}),
|
|
88
|
-
params: (0, rest_modules_1.toURLSearchParams)(payload),
|
|
89
|
-
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
90
|
-
{
|
|
91
|
-
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
92
|
-
paths: [
|
|
93
|
-
{ path: 'taxGroup.createdDate' },
|
|
94
|
-
{ path: 'taxGroup.updatedDate' },
|
|
95
|
-
],
|
|
96
|
-
},
|
|
97
|
-
]),
|
|
98
|
-
};
|
|
99
|
-
return metadata;
|
|
100
|
-
}
|
|
101
|
-
return __getTaxGroup;
|
|
102
|
-
}
|
|
103
|
-
exports.getTaxGroup = getTaxGroup;
|
|
104
|
-
/**
|
|
105
|
-
* Updates a tax group.
|
|
106
|
-
*
|
|
107
|
-
* Each time the tax group is updated, `revision` increments by 1.
|
|
108
|
-
* The current `revision` must be passed when updating the tax group.
|
|
109
|
-
* This ensures you're working with the latest tax group and prevents
|
|
110
|
-
* unintended overwrites.
|
|
111
|
-
*/
|
|
112
|
-
function updateTaxGroup(payload) {
|
|
113
|
-
function __updateTaxGroup({ host }) {
|
|
114
|
-
const serializedData = (0, transform_paths_1.transformPaths)(payload, [
|
|
115
|
-
{
|
|
116
|
-
transformFn: field_mask_1.transformSDKFieldMaskToRESTFieldMask,
|
|
117
|
-
paths: [{ path: 'fieldMask' }],
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
transformFn: timestamp_1.transformSDKTimestampToRESTTimestamp,
|
|
121
|
-
paths: [
|
|
122
|
-
{ path: 'taxGroup.createdDate' },
|
|
123
|
-
{ path: 'taxGroup.updatedDate' },
|
|
124
|
-
],
|
|
125
|
-
},
|
|
126
|
-
]);
|
|
127
|
-
const metadata = {
|
|
128
|
-
entityFqdn: 'wix.billing.v1.tax_group',
|
|
129
|
-
method: 'PATCH',
|
|
130
|
-
methodFqn: 'wix.billing.v1.TaxGroups.UpdateTaxGroup',
|
|
131
|
-
packageName: PACKAGE_NAME,
|
|
132
|
-
url: resolveWixBillingV1TaxGroupsUrl({
|
|
133
|
-
protoPath: '/v1/tax-groups/{taxGroup.id}',
|
|
134
|
-
data: serializedData,
|
|
135
|
-
host,
|
|
136
|
-
}),
|
|
137
|
-
data: serializedData,
|
|
138
|
-
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
139
|
-
{
|
|
140
|
-
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
141
|
-
paths: [
|
|
142
|
-
{ path: 'taxGroup.createdDate' },
|
|
143
|
-
{ path: 'taxGroup.updatedDate' },
|
|
144
|
-
],
|
|
145
|
-
},
|
|
146
|
-
]),
|
|
147
|
-
};
|
|
148
|
-
return metadata;
|
|
149
|
-
}
|
|
150
|
-
return __updateTaxGroup;
|
|
151
|
-
}
|
|
152
|
-
exports.updateTaxGroup = updateTaxGroup;
|
|
153
|
-
/**
|
|
154
|
-
* Deletes a tax group.
|
|
155
|
-
*
|
|
156
|
-
* If a tax group is deleted but the `taxGroupId` is still assigned to a product (see Stores Products API) then the default tax group is used to calculate tax.
|
|
157
|
-
*/
|
|
158
|
-
function deleteTaxGroup(payload) {
|
|
159
|
-
function __deleteTaxGroup({ host }) {
|
|
160
|
-
const metadata = {
|
|
161
|
-
entityFqdn: 'wix.billing.v1.tax_group',
|
|
162
|
-
method: 'DELETE',
|
|
163
|
-
methodFqn: 'wix.billing.v1.TaxGroups.DeleteTaxGroup',
|
|
164
|
-
packageName: PACKAGE_NAME,
|
|
165
|
-
url: resolveWixBillingV1TaxGroupsUrl({
|
|
166
|
-
protoPath: '/v1/tax-groups/{taxGroupId}',
|
|
167
|
-
data: payload,
|
|
168
|
-
host,
|
|
169
|
-
}),
|
|
170
|
-
params: (0, rest_modules_1.toURLSearchParams)(payload),
|
|
171
|
-
};
|
|
172
|
-
return metadata;
|
|
173
|
-
}
|
|
174
|
-
return __deleteTaxGroup;
|
|
175
|
-
}
|
|
176
|
-
exports.deleteTaxGroup = deleteTaxGroup;
|
|
177
|
-
/**
|
|
178
|
-
* Creates a query to retrieve a list of tax groups.
|
|
179
|
-
*
|
|
180
|
-
* The `queryTaxGroups()` function builds a query to retrieve a list of tax groups and returns a `TaxGroupsQueryBuilder` object.
|
|
181
|
-
*
|
|
182
|
-
* The returned object contains the query definition, which is typically used to run the query using the `find()` function.
|
|
183
|
-
*
|
|
184
|
-
* You can refine the query by chaining `TaxGroupsQueryBuilder` functions onto the query. `TaxGroupsQueryBuilder` functions enable you to sort, filter, and control the results that `queryTaxGroups()` returns.
|
|
185
|
-
*
|
|
186
|
-
* `queryTaxGroups()` runs with the following `TaxGroupsQueryBuilder` default that you can override:
|
|
187
|
-
* + `ascending("_id")`
|
|
188
|
-
*
|
|
189
|
-
* The functions that are chained to `queryTaxGroups()` are applied in the order they are called. For example, if you apply `ascending("name")` and then `ascending("_createdDate")`, the results are sorted first by the `"name"`, and then, if there are multiple results with the same `"name"`, the items are sorted by `"_createdDate"`.
|
|
190
|
-
*
|
|
191
|
-
* The following `TaxGroupsQueryBuilder` functions are supported for the `queryTaxGroups()` function. For a full description of the tax group object, see the object returned for the `items` property in `TaxGroupsQueryResult`.
|
|
192
|
-
*/
|
|
193
|
-
function queryTaxGroups(payload) {
|
|
194
|
-
function __queryTaxGroups({ host }) {
|
|
195
|
-
const metadata = {
|
|
196
|
-
entityFqdn: 'wix.billing.v1.tax_group',
|
|
197
|
-
method: 'POST',
|
|
198
|
-
methodFqn: 'wix.billing.v1.TaxGroups.QueryTaxGroups',
|
|
199
|
-
packageName: PACKAGE_NAME,
|
|
200
|
-
url: resolveWixBillingV1TaxGroupsUrl({
|
|
201
|
-
protoPath: '/v1/tax-groups/query',
|
|
202
|
-
data: payload,
|
|
203
|
-
host,
|
|
204
|
-
}),
|
|
205
|
-
data: payload,
|
|
206
|
-
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
207
|
-
{
|
|
208
|
-
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
209
|
-
paths: [
|
|
210
|
-
{ path: 'taxGroups.createdDate' },
|
|
211
|
-
{ path: 'taxGroups.updatedDate' },
|
|
212
|
-
],
|
|
213
|
-
},
|
|
214
|
-
]),
|
|
215
|
-
};
|
|
216
|
-
return metadata;
|
|
217
|
-
}
|
|
218
|
-
return __queryTaxGroups;
|
|
219
|
-
}
|
|
220
|
-
exports.queryTaxGroups = queryTaxGroups;
|
|
221
|
-
/**
|
|
222
|
-
* Retrieves a list of default tax groups.
|
|
223
|
-
*
|
|
224
|
-
* The default tax groups for a site are inherited by the apps installed on the site.
|
|
225
|
-
* For example, the Wix Stores app includes a `"Products"` tax group by default.
|
|
226
|
-
*
|
|
227
|
-
* Add additional default tax groups with the Tax Groups Integration service plugin (REST only).
|
|
228
|
-
*/
|
|
229
|
-
function listDefaultTaxGroups(payload) {
|
|
230
|
-
function __listDefaultTaxGroups({ host }) {
|
|
231
|
-
const metadata = {
|
|
232
|
-
entityFqdn: 'wix.billing.v1.tax_group',
|
|
233
|
-
method: 'GET',
|
|
234
|
-
methodFqn: 'wix.billing.v1.TaxGroups.ListDefaultTaxGroups',
|
|
235
|
-
packageName: PACKAGE_NAME,
|
|
236
|
-
url: resolveWixBillingV1TaxGroupsUrl({
|
|
237
|
-
protoPath: '/v1/tax-groups/default-tax-groups',
|
|
238
|
-
data: payload,
|
|
239
|
-
host,
|
|
240
|
-
}),
|
|
241
|
-
params: (0, rest_modules_1.toURLSearchParams)(payload),
|
|
242
|
-
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
243
|
-
{
|
|
244
|
-
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
245
|
-
paths: [
|
|
246
|
-
{ path: 'taxGroups.createdDate' },
|
|
247
|
-
{ path: 'taxGroups.updatedDate' },
|
|
248
|
-
],
|
|
249
|
-
},
|
|
250
|
-
]),
|
|
251
|
-
};
|
|
252
|
-
return metadata;
|
|
253
|
-
}
|
|
254
|
-
return __listDefaultTaxGroups;
|
|
255
|
-
}
|
|
256
|
-
exports.listDefaultTaxGroups = listDefaultTaxGroups;
|
|
257
|
-
/** Retrieves default tax groups for specific apps. */
|
|
258
|
-
function listDefaultTaxGroupsByAppIds(payload) {
|
|
259
|
-
function __listDefaultTaxGroupsByAppIds({ host }) {
|
|
260
|
-
const metadata = {
|
|
261
|
-
entityFqdn: 'wix.billing.v1.tax_group',
|
|
262
|
-
method: 'POST',
|
|
263
|
-
methodFqn: 'wix.billing.v1.TaxGroups.ListDefaultTaxGroupsByAppIds',
|
|
264
|
-
packageName: PACKAGE_NAME,
|
|
265
|
-
url: resolveWixBillingV1TaxGroupsUrl({
|
|
266
|
-
protoPath: '/v1/tax-groups/list-default-tax-groups-by-app-ids',
|
|
267
|
-
data: payload,
|
|
268
|
-
host,
|
|
269
|
-
}),
|
|
270
|
-
data: payload,
|
|
271
|
-
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
272
|
-
{
|
|
273
|
-
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
274
|
-
paths: [
|
|
275
|
-
{ path: 'results.taxGroup.createdDate' },
|
|
276
|
-
{ path: 'results.taxGroup.updatedDate' },
|
|
277
|
-
],
|
|
278
|
-
},
|
|
279
|
-
]),
|
|
280
|
-
};
|
|
281
|
-
return metadata;
|
|
282
|
-
}
|
|
283
|
-
return __listDefaultTaxGroupsByAppIds;
|
|
284
|
-
}
|
|
285
|
-
exports.listDefaultTaxGroupsByAppIds = listDefaultTaxGroupsByAppIds;
|
|
286
|
-
//# sourceMappingURL=billing-v1-tax-group-tax-groups.http.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"billing-v1-tax-group-tax-groups.http.js","sourceRoot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EAAE,uBAAuB,EAAE;qBAClC;iBACF;aACF,CAAC;SACL,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,sBAAsB,CAAC;AAChC,CAAC;AA/BD,oDA+BC;AAED,sDAAsD;AACtD,SAAgB,4BAA4B,CAC1C,OAAe;IAEf,SAAS,8BAA8B,CAAC,EAAE,IAAI,EAAO;QACnD,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,0BAA0B;YACtC,MAAM,EAAE,MAAa;YACrB,SAAS,EAAE,uDAAuD;YAClE,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,+BAA+B,CAAC;gBACnC,SAAS,EAAE,mDAAmD;gBAC9D,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CAAC;YACF,IAAI,EAAE,OAAO;YACb,iBAAiB,EAAE,CAAC,OAAY,EAAE,EAAE,CAClC,IAAA,gCAAc,EAAC,OAAO,EAAE;gBACtB;oBACE,WAAW,EAAE,gDAAoC;oBACjD,KAAK,EAAE;wBACL,EAAE,IAAI,EAAE,8BAA8B,EAAE;wBACxC,EAAE,IAAI,EAAE,8BAA8B,EAAE;qBACzC;iBACF;aACF,CAAC;SACL,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,8BAA8B,CAAC;AACxC,CAAC;AA/BD,oEA+BC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as ambassadorWixBillingV1TaxGroupTypes from './billing-v1-tax-group-tax-groups.types.js';
|
|
2
|
-
import * as ambassadorWixBillingV1TaxGroupUniversalTypes from './billing-v1-tax-group-tax-groups.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 createTaxGroup(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixBillingV1TaxGroupUniversalTypes.CreateTaxGroupRequest, ambassadorWixBillingV1TaxGroupTypes.CreateTaxGroupRequest, ambassadorWixBillingV1TaxGroupUniversalTypes.CreateTaxGroupResponse, ambassadorWixBillingV1TaxGroupTypes.CreateTaxGroupResponse>;
|
|
14
|
-
export declare function getTaxGroup(): __PublicMethodMetaInfo<'GET', {
|
|
15
|
-
taxGroupId: string;
|
|
16
|
-
}, ambassadorWixBillingV1TaxGroupUniversalTypes.GetTaxGroupRequest, ambassadorWixBillingV1TaxGroupTypes.GetTaxGroupRequest, ambassadorWixBillingV1TaxGroupUniversalTypes.GetTaxGroupResponse, ambassadorWixBillingV1TaxGroupTypes.GetTaxGroupResponse>;
|
|
17
|
-
export declare function updateTaxGroup(): __PublicMethodMetaInfo<'PATCH', {
|
|
18
|
-
taxGroupId: string;
|
|
19
|
-
}, ambassadorWixBillingV1TaxGroupUniversalTypes.UpdateTaxGroupRequest, ambassadorWixBillingV1TaxGroupTypes.UpdateTaxGroupRequest, ambassadorWixBillingV1TaxGroupUniversalTypes.UpdateTaxGroupResponse, ambassadorWixBillingV1TaxGroupTypes.UpdateTaxGroupResponse>;
|
|
20
|
-
export declare function deleteTaxGroup(): __PublicMethodMetaInfo<'DELETE', {
|
|
21
|
-
taxGroupId: string;
|
|
22
|
-
}, ambassadorWixBillingV1TaxGroupUniversalTypes.DeleteTaxGroupRequest, ambassadorWixBillingV1TaxGroupTypes.DeleteTaxGroupRequest, ambassadorWixBillingV1TaxGroupUniversalTypes.DeleteTaxGroupResponse, ambassadorWixBillingV1TaxGroupTypes.DeleteTaxGroupResponse>;
|
|
23
|
-
export declare function queryTaxGroups(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixBillingV1TaxGroupUniversalTypes.QueryTaxGroupsRequest, ambassadorWixBillingV1TaxGroupTypes.QueryTaxGroupsRequest, ambassadorWixBillingV1TaxGroupUniversalTypes.QueryTaxGroupsResponse, ambassadorWixBillingV1TaxGroupTypes.QueryTaxGroupsResponse>;
|
|
24
|
-
export declare function listDefaultTaxGroups(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixBillingV1TaxGroupUniversalTypes.ListDefaultTaxGroupsRequest, ambassadorWixBillingV1TaxGroupTypes.ListDefaultTaxGroupsRequest, ambassadorWixBillingV1TaxGroupUniversalTypes.ListDefaultTaxGroupsResponse, ambassadorWixBillingV1TaxGroupTypes.ListDefaultTaxGroupsResponse>;
|
|
25
|
-
export declare function listDefaultTaxGroupsByAppIds(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixBillingV1TaxGroupUniversalTypes.ListDefaultTaxGroupsByAppIdsRequest, ambassadorWixBillingV1TaxGroupTypes.ListDefaultTaxGroupsByAppIdsRequest, ambassadorWixBillingV1TaxGroupUniversalTypes.ListDefaultTaxGroupsByAppIdsResponse, ambassadorWixBillingV1TaxGroupTypes.ListDefaultTaxGroupsByAppIdsResponse>;
|
|
@@ -1,161 +0,0 @@
|
|
|
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.listDefaultTaxGroupsByAppIds = exports.listDefaultTaxGroups = exports.queryTaxGroups = exports.deleteTaxGroup = exports.updateTaxGroup = exports.getTaxGroup = exports.createTaxGroup = void 0;
|
|
27
|
-
const ambassadorWixBillingV1TaxGroup = __importStar(require("./billing-v1-tax-group-tax-groups.http.js"));
|
|
28
|
-
function createTaxGroup() {
|
|
29
|
-
const payload = {};
|
|
30
|
-
const getRequestOptions = ambassadorWixBillingV1TaxGroup.createTaxGroup(payload);
|
|
31
|
-
const getUrl = (context) => {
|
|
32
|
-
const { url } = getRequestOptions(context);
|
|
33
|
-
return url;
|
|
34
|
-
};
|
|
35
|
-
return {
|
|
36
|
-
getUrl,
|
|
37
|
-
httpMethod: 'POST',
|
|
38
|
-
path: '/v1/tax-groups',
|
|
39
|
-
pathParams: {},
|
|
40
|
-
__requestType: null,
|
|
41
|
-
__originalRequestType: null,
|
|
42
|
-
__responseType: null,
|
|
43
|
-
__originalResponseType: null,
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
exports.createTaxGroup = createTaxGroup;
|
|
47
|
-
function getTaxGroup() {
|
|
48
|
-
const payload = { taxGroupId: ':taxGroupId' };
|
|
49
|
-
const getRequestOptions = ambassadorWixBillingV1TaxGroup.getTaxGroup(payload);
|
|
50
|
-
const getUrl = (context) => {
|
|
51
|
-
const { url } = getRequestOptions(context);
|
|
52
|
-
return url;
|
|
53
|
-
};
|
|
54
|
-
return {
|
|
55
|
-
getUrl,
|
|
56
|
-
httpMethod: 'GET',
|
|
57
|
-
path: '/v1/tax-groups/{taxGroupId}',
|
|
58
|
-
pathParams: { taxGroupId: 'taxGroupId' },
|
|
59
|
-
__requestType: null,
|
|
60
|
-
__originalRequestType: null,
|
|
61
|
-
__responseType: null,
|
|
62
|
-
__originalResponseType: null,
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
exports.getTaxGroup = getTaxGroup;
|
|
66
|
-
function updateTaxGroup() {
|
|
67
|
-
const payload = { taxGroup: { id: ':taxGroupId' } };
|
|
68
|
-
const getRequestOptions = ambassadorWixBillingV1TaxGroup.updateTaxGroup(payload);
|
|
69
|
-
const getUrl = (context) => {
|
|
70
|
-
const { url } = getRequestOptions(context);
|
|
71
|
-
return url;
|
|
72
|
-
};
|
|
73
|
-
return {
|
|
74
|
-
getUrl,
|
|
75
|
-
httpMethod: 'PATCH',
|
|
76
|
-
path: '/v1/tax-groups/{taxGroup.id}',
|
|
77
|
-
pathParams: { taxGroupId: 'taxGroupId' },
|
|
78
|
-
__requestType: null,
|
|
79
|
-
__originalRequestType: null,
|
|
80
|
-
__responseType: null,
|
|
81
|
-
__originalResponseType: null,
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
exports.updateTaxGroup = updateTaxGroup;
|
|
85
|
-
function deleteTaxGroup() {
|
|
86
|
-
const payload = { taxGroupId: ':taxGroupId' };
|
|
87
|
-
const getRequestOptions = ambassadorWixBillingV1TaxGroup.deleteTaxGroup(payload);
|
|
88
|
-
const getUrl = (context) => {
|
|
89
|
-
const { url } = getRequestOptions(context);
|
|
90
|
-
return url;
|
|
91
|
-
};
|
|
92
|
-
return {
|
|
93
|
-
getUrl,
|
|
94
|
-
httpMethod: 'DELETE',
|
|
95
|
-
path: '/v1/tax-groups/{taxGroupId}',
|
|
96
|
-
pathParams: { taxGroupId: 'taxGroupId' },
|
|
97
|
-
__requestType: null,
|
|
98
|
-
__originalRequestType: null,
|
|
99
|
-
__responseType: null,
|
|
100
|
-
__originalResponseType: null,
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
exports.deleteTaxGroup = deleteTaxGroup;
|
|
104
|
-
function queryTaxGroups() {
|
|
105
|
-
const payload = {};
|
|
106
|
-
const getRequestOptions = ambassadorWixBillingV1TaxGroup.queryTaxGroups(payload);
|
|
107
|
-
const getUrl = (context) => {
|
|
108
|
-
const { url } = getRequestOptions(context);
|
|
109
|
-
return url;
|
|
110
|
-
};
|
|
111
|
-
return {
|
|
112
|
-
getUrl,
|
|
113
|
-
httpMethod: 'POST',
|
|
114
|
-
path: '/v1/tax-groups/query',
|
|
115
|
-
pathParams: {},
|
|
116
|
-
__requestType: null,
|
|
117
|
-
__originalRequestType: null,
|
|
118
|
-
__responseType: null,
|
|
119
|
-
__originalResponseType: null,
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
exports.queryTaxGroups = queryTaxGroups;
|
|
123
|
-
function listDefaultTaxGroups() {
|
|
124
|
-
const payload = {};
|
|
125
|
-
const getRequestOptions = ambassadorWixBillingV1TaxGroup.listDefaultTaxGroups(payload);
|
|
126
|
-
const getUrl = (context) => {
|
|
127
|
-
const { url } = getRequestOptions(context);
|
|
128
|
-
return url;
|
|
129
|
-
};
|
|
130
|
-
return {
|
|
131
|
-
getUrl,
|
|
132
|
-
httpMethod: 'GET',
|
|
133
|
-
path: '/v1/tax-groups/default-tax-groups',
|
|
134
|
-
pathParams: {},
|
|
135
|
-
__requestType: null,
|
|
136
|
-
__originalRequestType: null,
|
|
137
|
-
__responseType: null,
|
|
138
|
-
__originalResponseType: null,
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
exports.listDefaultTaxGroups = listDefaultTaxGroups;
|
|
142
|
-
function listDefaultTaxGroupsByAppIds() {
|
|
143
|
-
const payload = {};
|
|
144
|
-
const getRequestOptions = ambassadorWixBillingV1TaxGroup.listDefaultTaxGroupsByAppIds(payload);
|
|
145
|
-
const getUrl = (context) => {
|
|
146
|
-
const { url } = getRequestOptions(context);
|
|
147
|
-
return url;
|
|
148
|
-
};
|
|
149
|
-
return {
|
|
150
|
-
getUrl,
|
|
151
|
-
httpMethod: 'POST',
|
|
152
|
-
path: '/v1/tax-groups/list-default-tax-groups-by-app-ids',
|
|
153
|
-
pathParams: {},
|
|
154
|
-
__requestType: null,
|
|
155
|
-
__originalRequestType: null,
|
|
156
|
-
__responseType: null,
|
|
157
|
-
__originalResponseType: null,
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
exports.listDefaultTaxGroupsByAppIds = listDefaultTaxGroupsByAppIds;
|
|
161
|
-
//# sourceMappingURL=billing-v1-tax-group-tax-groups.meta.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"billing-v1-tax-group-tax-groups.meta.js","sourceRoot":"","sources":["../../../src/billing-v1-tax-group-tax-groups.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0GAA4F;AAsB5F,SAAgB,cAAc;IAQ5B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,8BAA8B,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAEzD,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,gBAAgB;QACtB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA5BD,wCA4BC;AAED,SAAgB,WAAW;IAQzB,MAAM,OAAO,GAAG,EAAE,UAAU,EAAE,aAAa,EAAS,CAAC;IAErD,MAAM,i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ACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,mCAAmC;QACzC,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA5BD,oDA4BC;AAED,SAAgB,4BAA4B;IAQ1C,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,8BAA8B,CAAC,4BAA4B,CAAC,OAAO,CAAC,CAAC;IAEvE,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,mDAAmD;QACzD,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA5BD,oEA4BC"}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebhookIdentityType = exports.SortOrder = exports.onTaxGroupUpdated = exports.onTaxGroupDeleted = exports.onTaxGroupCreated = exports.listDefaultTaxGroupsByAppIds = exports.listDefaultTaxGroups = exports.queryTaxGroups = exports.deleteTaxGroup = exports.updateTaxGroup = exports.getTaxGroup = exports.createTaxGroup = exports.__metadata = void 0;
|
|
4
|
-
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
5
|
-
const timestamp_1 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
6
|
-
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
7
|
-
const sdk_types_1 = require("@wix/sdk-types");
|
|
8
|
-
const billing_v1_tax_group_tax_groups_universal_js_1 = require("./billing-v1-tax-group-tax-groups.universal.js");
|
|
9
|
-
exports.__metadata = { PACKAGE_NAME: '@wix/ecom' };
|
|
10
|
-
function createTaxGroup(httpClient) {
|
|
11
|
-
return (taxGroup) => (0, billing_v1_tax_group_tax_groups_universal_js_1.createTaxGroup)(taxGroup,
|
|
12
|
-
// @ts-ignore
|
|
13
|
-
{ httpClient });
|
|
14
|
-
}
|
|
15
|
-
exports.createTaxGroup = createTaxGroup;
|
|
16
|
-
function getTaxGroup(httpClient) {
|
|
17
|
-
return (taxGroupId) => (0, billing_v1_tax_group_tax_groups_universal_js_1.getTaxGroup)(taxGroupId,
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
{ httpClient });
|
|
20
|
-
}
|
|
21
|
-
exports.getTaxGroup = getTaxGroup;
|
|
22
|
-
function updateTaxGroup(httpClient) {
|
|
23
|
-
return (_id, taxGroup) => (0, billing_v1_tax_group_tax_groups_universal_js_1.updateTaxGroup)(_id, taxGroup,
|
|
24
|
-
// @ts-ignore
|
|
25
|
-
{ httpClient });
|
|
26
|
-
}
|
|
27
|
-
exports.updateTaxGroup = updateTaxGroup;
|
|
28
|
-
function deleteTaxGroup(httpClient) {
|
|
29
|
-
return (taxGroupId) => (0, billing_v1_tax_group_tax_groups_universal_js_1.deleteTaxGroup)(taxGroupId,
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
{ httpClient });
|
|
32
|
-
}
|
|
33
|
-
exports.deleteTaxGroup = deleteTaxGroup;
|
|
34
|
-
function queryTaxGroups(httpClient) {
|
|
35
|
-
return () => (0, billing_v1_tax_group_tax_groups_universal_js_1.queryTaxGroups)(
|
|
36
|
-
// @ts-ignore
|
|
37
|
-
{ httpClient });
|
|
38
|
-
}
|
|
39
|
-
exports.queryTaxGroups = queryTaxGroups;
|
|
40
|
-
function listDefaultTaxGroups(httpClient) {
|
|
41
|
-
return () => (0, billing_v1_tax_group_tax_groups_universal_js_1.listDefaultTaxGroups)(
|
|
42
|
-
// @ts-ignore
|
|
43
|
-
{ httpClient });
|
|
44
|
-
}
|
|
45
|
-
exports.listDefaultTaxGroups = listDefaultTaxGroups;
|
|
46
|
-
function listDefaultTaxGroupsByAppIds(httpClient) {
|
|
47
|
-
return (appIds) => (0, billing_v1_tax_group_tax_groups_universal_js_1.listDefaultTaxGroupsByAppIds)(appIds,
|
|
48
|
-
// @ts-ignore
|
|
49
|
-
{ httpClient });
|
|
50
|
-
}
|
|
51
|
-
exports.listDefaultTaxGroupsByAppIds = listDefaultTaxGroupsByAppIds;
|
|
52
|
-
exports.onTaxGroupCreated = (0, sdk_types_1.EventDefinition)('wix.billing.v1.tax_group_created', true, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
|
|
53
|
-
{
|
|
54
|
-
transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
|
|
55
|
-
paths: [
|
|
56
|
-
{ path: 'entity.createdDate' },
|
|
57
|
-
{ path: 'entity.updatedDate' },
|
|
58
|
-
{ path: 'metadata.eventTime' },
|
|
59
|
-
],
|
|
60
|
-
},
|
|
61
|
-
])))();
|
|
62
|
-
exports.onTaxGroupDeleted = (0, sdk_types_1.EventDefinition)('wix.billing.v1.tax_group_deleted', true, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
|
|
63
|
-
{
|
|
64
|
-
transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
|
|
65
|
-
paths: [
|
|
66
|
-
{ path: 'undefined.createdDate' },
|
|
67
|
-
{ path: 'undefined.updatedDate' },
|
|
68
|
-
{ path: 'metadata.eventTime' },
|
|
69
|
-
],
|
|
70
|
-
},
|
|
71
|
-
])))();
|
|
72
|
-
exports.onTaxGroupUpdated = (0, sdk_types_1.EventDefinition)('wix.billing.v1.tax_group_updated', true, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
|
|
73
|
-
{
|
|
74
|
-
transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
|
|
75
|
-
paths: [
|
|
76
|
-
{ path: 'entity.createdDate' },
|
|
77
|
-
{ path: 'entity.updatedDate' },
|
|
78
|
-
{ path: 'metadata.eventTime' },
|
|
79
|
-
],
|
|
80
|
-
},
|
|
81
|
-
])))();
|
|
82
|
-
var billing_v1_tax_group_tax_groups_universal_js_2 = require("./billing-v1-tax-group-tax-groups.universal.js");
|
|
83
|
-
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return billing_v1_tax_group_tax_groups_universal_js_2.SortOrder; } });
|
|
84
|
-
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return billing_v1_tax_group_tax_groups_universal_js_2.WebhookIdentityType; } });
|
|
85
|
-
//# sourceMappingURL=billing-v1-tax-group-tax-groups.public.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"billing-v1-tax-group-tax-groups.public.js","sourceRoot":"","sources":["../../../src/billing-v1-tax-group-tax-groups.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,0EAAkG;AAClG,sFAAkF;AAClF,8CAA+E;AAC/E,iHAgBwD;AAE3C,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,SAAgB,cAAc,CAC5B,UAAsB;IAEtB,OAAO,CAAC,QAA4C,EAAE,EAAE,CACtD,IAAA,6DAAuB,EACrB,QAAQ;IACR,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,wCASC;AAkBD,SAAgB,WAAW,CAAC,UAAsB;IAChD,OAAO,CAAC,UAAkB,EAAE,EAAE,CAC5B,IAAA,0DAAoB,EAClB,UAAU;IACV,aAAa;IACb,EAAE,UAAU,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ACJ,EAA2B,CAAC;AAChB,QAAA,iBAAiB,GAAG,IAAA,2BAAe,EAC9C,kCAAkC,EAClC,IAAI,EACJ,CAAC,KAA8B,EAAE,EAAE,CACjC,IAAA,gEAAuC,EACrC,IAAA,gCAAc,EAAC,KAAK,EAAE;IACpB;QACE,WAAW,EAAE,gDAAoC;QACjD,KAAK,EAAE;YACL,EAAE,IAAI,EAAE,uBAAuB,EAAE;YACjC,EAAE,IAAI,EAAE,uBAAuB,EAAE;YACjC,EAAE,IAAI,EAAE,oBAAoB,EAAE;SAC/B;KACF;CACF,CAAC,CACH,CACJ,EAA2B,CAAC;AAChB,QAAA,iBAAiB,GAAG,IAAA,2BAAe,EAC9C,kCAAkC,EAClC,IAAI,EACJ,CAAC,KAA8B,EAAE,EAAE,CACjC,IAAA,gEAAuC,EACrC,IAAA,gCAAc,EAAC,KAAK,EAAE;IACpB;QACE,WAAW,EAAE,gDAAoC;QACjD,KAAK,EAAE;YACL,EAAE,IAAI,EAAE,oBAAoB,EAAE;YAC9B,EAAE,IAAI,EAAE,oBAAoB,EAAE;YAC9B,EAAE,IAAI,EAAE,oBAAoB,EAAE;SAC/B;KACF;CACF,CAAC,CACH,CACJ,EAA2B,CAAC;AAE7B,+GA+CwD;AAZtD,yIAAA,SAAS,OAAA;AAWT,mJAAA,mBAAmB,OAAA"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebhookIdentityType = exports.SortOrder = void 0;
|
|
4
|
-
var SortOrder;
|
|
5
|
-
(function (SortOrder) {
|
|
6
|
-
SortOrder["ASC"] = "ASC";
|
|
7
|
-
SortOrder["DESC"] = "DESC";
|
|
8
|
-
})(SortOrder || (exports.SortOrder = SortOrder = {}));
|
|
9
|
-
var WebhookIdentityType;
|
|
10
|
-
(function (WebhookIdentityType) {
|
|
11
|
-
WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
|
|
12
|
-
WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
13
|
-
WebhookIdentityType["MEMBER"] = "MEMBER";
|
|
14
|
-
WebhookIdentityType["WIX_USER"] = "WIX_USER";
|
|
15
|
-
WebhookIdentityType["APP"] = "APP";
|
|
16
|
-
})(WebhookIdentityType || (exports.WebhookIdentityType = WebhookIdentityType = {}));
|
|
17
|
-
//# sourceMappingURL=billing-v1-tax-group-tax-groups.types.js.map
|