@wix/auto_sdk_ecom_tax-groups 1.0.7 → 1.0.8
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-CiIRXdgk.d.mts} +48 -274
- package/build/{internal/es/src/billing-v1-tax-group-tax-groups.universal.d.ts → billing-v1-tax-group-tax-groups.universal-CiIRXdgk.d.ts} +48 -274
- package/build/{cjs/src/billing-v1-tax-group-tax-groups.public.d.ts → index.d.mts} +34 -16
- package/build/{internal/cjs/src/billing-v1-tax-group-tax-groups.public.d.ts → index.d.ts} +34 -16
- package/build/index.js +602 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +567 -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-CiIRXdgk.d.mts} +48 -274
- package/build/{es/src/billing-v1-tax-group-tax-groups.universal.d.ts → internal/billing-v1-tax-group-tax-groups.universal-CiIRXdgk.d.ts} +48 -274
- package/build/internal/{es/src/billing-v1-tax-group-tax-groups.public.d.ts → index.d.mts} +34 -16
- package/build/{es/src/billing-v1-tax-group-tax-groups.public.d.ts → internal/index.d.ts} +34 -16
- package/build/internal/index.js +602 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +567 -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} +55 -169
- package/build/{cjs/src/billing-v1-tax-group-tax-groups.types.d.ts → internal/meta.d.ts} +55 -169
- 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} +55 -169
- package/build/{internal/es/src/billing-v1-tax-group-tax-groups.types.d.ts → meta.d.ts} +55 -169
- 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 -385
- 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 -352
- 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 -385
- 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 -352
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.universal.js.map +0 -1
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { C as CreateTaxGroupRequest$1, c as CreateTaxGroupResponse$1, G as GetTaxGroupRequest$1, d as GetTaxGroupResponse$1, e as UpdateTaxGroupRequest$1, f as UpdateTaxGroupResponse$1, D as DeleteTaxGroupRequest$1, g as DeleteTaxGroupResponse$1, Q as QueryTaxGroupsRequest$1, l as QueryTaxGroupsResponse$1, o as ListDefaultTaxGroupsRequest$1, L as ListDefaultTaxGroupsResponse$1, p as ListDefaultTaxGroupsByAppIdsRequest$1, b as ListDefaultTaxGroupsByAppIdsResponse$1 } from './billing-v1-tax-group-tax-groups.universal-CiIRXdgk.js';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* A tax group is a category of specific line items grouped together based on their tax treatment.
|
|
3
5
|
* You can create new tax groups to apply distinct tax rates and rules.
|
|
4
6
|
*/
|
|
5
|
-
|
|
7
|
+
interface TaxGroup {
|
|
6
8
|
/**
|
|
7
9
|
* Tax group ID.
|
|
8
10
|
* @format GUID
|
|
@@ -34,47 +36,47 @@ export interface TaxGroup {
|
|
|
34
36
|
*/
|
|
35
37
|
updatedDate?: Date | null;
|
|
36
38
|
}
|
|
37
|
-
|
|
39
|
+
interface CreateTaxGroupRequest {
|
|
38
40
|
/** Tax group to create. */
|
|
39
41
|
taxGroup: TaxGroup;
|
|
40
42
|
}
|
|
41
|
-
|
|
43
|
+
interface CreateTaxGroupResponse {
|
|
42
44
|
/** Created tax group. */
|
|
43
45
|
taxGroup?: TaxGroup;
|
|
44
46
|
}
|
|
45
|
-
|
|
47
|
+
interface GetTaxGroupRequest {
|
|
46
48
|
/**
|
|
47
49
|
* ID of the tax group to retrieve.
|
|
48
50
|
* @format GUID
|
|
49
51
|
*/
|
|
50
52
|
taxGroupId: string;
|
|
51
53
|
}
|
|
52
|
-
|
|
54
|
+
interface GetTaxGroupResponse {
|
|
53
55
|
/** Retrieved tax group. */
|
|
54
56
|
taxGroup?: TaxGroup;
|
|
55
57
|
}
|
|
56
|
-
|
|
58
|
+
interface UpdateTaxGroupRequest {
|
|
57
59
|
/** Tax group info to update. */
|
|
58
60
|
taxGroup: TaxGroup;
|
|
59
61
|
}
|
|
60
|
-
|
|
62
|
+
interface UpdateTaxGroupResponse {
|
|
61
63
|
/** Updated tax group. */
|
|
62
64
|
taxGroup?: TaxGroup;
|
|
63
65
|
}
|
|
64
|
-
|
|
66
|
+
interface DeleteTaxGroupRequest {
|
|
65
67
|
/**
|
|
66
68
|
* ID of the tax group to delete.
|
|
67
69
|
* @format GUID
|
|
68
70
|
*/
|
|
69
71
|
taxGroupId: string;
|
|
70
72
|
}
|
|
71
|
-
|
|
73
|
+
interface DeleteTaxGroupResponse {
|
|
72
74
|
}
|
|
73
|
-
|
|
75
|
+
interface QueryTaxGroupsRequest {
|
|
74
76
|
/** Query options. */
|
|
75
77
|
query: QueryV2;
|
|
76
78
|
}
|
|
77
|
-
|
|
79
|
+
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
78
80
|
/** Paging options to limit and skip the number of items. */
|
|
79
81
|
paging?: Paging;
|
|
80
82
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
@@ -97,13 +99,13 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
97
99
|
fieldsets?: string[];
|
|
98
100
|
}
|
|
99
101
|
/** @oneof */
|
|
100
|
-
|
|
102
|
+
interface QueryV2PagingMethodOneOf {
|
|
101
103
|
/** Paging options to limit and skip the number of items. */
|
|
102
104
|
paging?: Paging;
|
|
103
105
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
104
106
|
cursorPaging?: CursorPaging;
|
|
105
107
|
}
|
|
106
|
-
|
|
108
|
+
interface Sorting {
|
|
107
109
|
/**
|
|
108
110
|
* Name of the field to sort by.
|
|
109
111
|
* @maxLength 512
|
|
@@ -112,17 +114,17 @@ export interface Sorting {
|
|
|
112
114
|
/** Sort order. */
|
|
113
115
|
order?: SortOrder;
|
|
114
116
|
}
|
|
115
|
-
|
|
117
|
+
declare enum SortOrder {
|
|
116
118
|
ASC = "ASC",
|
|
117
119
|
DESC = "DESC"
|
|
118
120
|
}
|
|
119
|
-
|
|
121
|
+
interface Paging {
|
|
120
122
|
/** Number of items to load. */
|
|
121
123
|
limit?: number | null;
|
|
122
124
|
/** Number of items to skip in the current sort order. */
|
|
123
125
|
offset?: number | null;
|
|
124
126
|
}
|
|
125
|
-
|
|
127
|
+
interface CursorPaging {
|
|
126
128
|
/**
|
|
127
129
|
* Maximum number of items to return in the results.
|
|
128
130
|
* @max 100
|
|
@@ -137,13 +139,13 @@ export interface CursorPaging {
|
|
|
137
139
|
*/
|
|
138
140
|
cursor?: string | null;
|
|
139
141
|
}
|
|
140
|
-
|
|
142
|
+
interface QueryTaxGroupsResponse {
|
|
141
143
|
/** Retrieved default tax groups. */
|
|
142
144
|
taxGroups?: TaxGroup[];
|
|
143
145
|
/** Paging metadata. */
|
|
144
146
|
pagingMetadata?: CursorPagingMetadata;
|
|
145
147
|
}
|
|
146
|
-
|
|
148
|
+
interface CursorPagingMetadata {
|
|
147
149
|
/** Number of items returned in current page. */
|
|
148
150
|
count?: number | null;
|
|
149
151
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
@@ -156,7 +158,7 @@ export interface CursorPagingMetadata {
|
|
|
156
158
|
*/
|
|
157
159
|
hasNext?: boolean | null;
|
|
158
160
|
}
|
|
159
|
-
|
|
161
|
+
interface Cursors {
|
|
160
162
|
/**
|
|
161
163
|
* Cursor string pointing to the next page in the list of results.
|
|
162
164
|
* @maxLength 16000
|
|
@@ -168,13 +170,13 @@ export interface Cursors {
|
|
|
168
170
|
*/
|
|
169
171
|
prev?: string | null;
|
|
170
172
|
}
|
|
171
|
-
|
|
173
|
+
interface ListDefaultTaxGroupsRequest {
|
|
172
174
|
}
|
|
173
|
-
|
|
175
|
+
interface ListDefaultTaxGroupsResponse {
|
|
174
176
|
/** Retrieved default tax groups. */
|
|
175
177
|
taxGroups?: TaxGroup[];
|
|
176
178
|
}
|
|
177
|
-
|
|
179
|
+
interface ListDefaultTaxGroupsByAppIdsRequest {
|
|
178
180
|
/**
|
|
179
181
|
* App IDs to retrieve default tax groups for.
|
|
180
182
|
* @minSize 1
|
|
@@ -183,7 +185,7 @@ export interface ListDefaultTaxGroupsByAppIdsRequest {
|
|
|
183
185
|
*/
|
|
184
186
|
appIds: string[];
|
|
185
187
|
}
|
|
186
|
-
|
|
188
|
+
interface ListDefaultTaxGroupsByAppIdsResponse {
|
|
187
189
|
/**
|
|
188
190
|
* Retrieved default tax groups.
|
|
189
191
|
* @minSize 1
|
|
@@ -193,13 +195,13 @@ export interface ListDefaultTaxGroupsByAppIdsResponse {
|
|
|
193
195
|
/** Bulk action metadata. */
|
|
194
196
|
bulkActionMetadata?: BulkActionMetadata;
|
|
195
197
|
}
|
|
196
|
-
|
|
198
|
+
interface ListDefaultTaxGroupsByAppIdsResult {
|
|
197
199
|
/** Information about success or failure to retrieve default tax groups. */
|
|
198
200
|
taxGroupMetadata?: ItemMetadata;
|
|
199
201
|
/** Retrieved default tax groups. */
|
|
200
202
|
taxGroup?: TaxGroup;
|
|
201
203
|
}
|
|
202
|
-
|
|
204
|
+
interface ItemMetadata {
|
|
203
205
|
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
204
206
|
id?: string | null;
|
|
205
207
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
@@ -209,7 +211,7 @@ export interface ItemMetadata {
|
|
|
209
211
|
/** Details about the error in case of failure. */
|
|
210
212
|
error?: ApplicationError;
|
|
211
213
|
}
|
|
212
|
-
|
|
214
|
+
interface ApplicationError {
|
|
213
215
|
/** Error code. */
|
|
214
216
|
code?: string;
|
|
215
217
|
/** Description of the error. */
|
|
@@ -217,7 +219,7 @@ export interface ApplicationError {
|
|
|
217
219
|
/** Data related to the error. */
|
|
218
220
|
data?: Record<string, any> | null;
|
|
219
221
|
}
|
|
220
|
-
|
|
222
|
+
interface BulkActionMetadata {
|
|
221
223
|
/** Number of items that were successfully processed. */
|
|
222
224
|
totalSuccesses?: number;
|
|
223
225
|
/** Number of items that couldn't be processed. */
|
|
@@ -225,145 +227,29 @@ export interface BulkActionMetadata {
|
|
|
225
227
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
226
228
|
undetailedFailures?: number;
|
|
227
229
|
}
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
255
|
-
* (for example, GDPR).
|
|
256
|
-
*/
|
|
257
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
258
|
-
/** If present, indicates the action that triggered the event. */
|
|
259
|
-
originatedFrom?: string | null;
|
|
260
|
-
/**
|
|
261
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
262
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
263
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
264
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
265
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
266
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
267
|
-
*/
|
|
268
|
-
entityEventSequence?: string | null;
|
|
269
|
-
}
|
|
270
|
-
/** @oneof */
|
|
271
|
-
export interface DomainEventBodyOneOf {
|
|
272
|
-
createdEvent?: EntityCreatedEvent;
|
|
273
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
274
|
-
deletedEvent?: EntityDeletedEvent;
|
|
275
|
-
actionEvent?: ActionEvent;
|
|
276
|
-
}
|
|
277
|
-
export interface EntityCreatedEvent {
|
|
278
|
-
entityAsJson?: string;
|
|
279
|
-
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
280
|
-
restoreInfo?: RestoreInfo;
|
|
281
|
-
}
|
|
282
|
-
export interface RestoreInfo {
|
|
283
|
-
deletedDate?: Date | null;
|
|
284
|
-
}
|
|
285
|
-
export interface EntityUpdatedEvent {
|
|
286
|
-
/**
|
|
287
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
288
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
289
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
290
|
-
*/
|
|
291
|
-
currentEntityAsJson?: string;
|
|
292
|
-
}
|
|
293
|
-
export interface EntityDeletedEvent {
|
|
294
|
-
/** Entity that was deleted */
|
|
295
|
-
deletedEntityAsJson?: string | null;
|
|
296
|
-
}
|
|
297
|
-
export interface ActionEvent {
|
|
298
|
-
bodyAsJson?: string;
|
|
299
|
-
}
|
|
300
|
-
export interface MessageEnvelope {
|
|
301
|
-
/**
|
|
302
|
-
* App instance ID.
|
|
303
|
-
* @format GUID
|
|
304
|
-
*/
|
|
305
|
-
instanceId?: string | null;
|
|
306
|
-
/**
|
|
307
|
-
* Event type.
|
|
308
|
-
* @maxLength 150
|
|
309
|
-
*/
|
|
310
|
-
eventType?: string;
|
|
311
|
-
/** The identification type and identity data. */
|
|
312
|
-
identity?: IdentificationData;
|
|
313
|
-
/** Stringify payload. */
|
|
314
|
-
data?: string;
|
|
315
|
-
}
|
|
316
|
-
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
317
|
-
/**
|
|
318
|
-
* ID of a site visitor that has not logged in to the site.
|
|
319
|
-
* @format GUID
|
|
320
|
-
*/
|
|
321
|
-
anonymousVisitorId?: string;
|
|
322
|
-
/**
|
|
323
|
-
* ID of a site visitor that has logged in to the site.
|
|
324
|
-
* @format GUID
|
|
325
|
-
*/
|
|
326
|
-
memberId?: string;
|
|
327
|
-
/**
|
|
328
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
329
|
-
* @format GUID
|
|
330
|
-
*/
|
|
331
|
-
wixUserId?: string;
|
|
332
|
-
/**
|
|
333
|
-
* ID of an app.
|
|
334
|
-
* @format GUID
|
|
335
|
-
*/
|
|
336
|
-
appId?: string;
|
|
337
|
-
/** @readonly */
|
|
338
|
-
identityType?: WebhookIdentityType;
|
|
339
|
-
}
|
|
340
|
-
/** @oneof */
|
|
341
|
-
export interface IdentificationDataIdOneOf {
|
|
342
|
-
/**
|
|
343
|
-
* ID of a site visitor that has not logged in to the site.
|
|
344
|
-
* @format GUID
|
|
345
|
-
*/
|
|
346
|
-
anonymousVisitorId?: string;
|
|
347
|
-
/**
|
|
348
|
-
* ID of a site visitor that has logged in to the site.
|
|
349
|
-
* @format GUID
|
|
350
|
-
*/
|
|
351
|
-
memberId?: string;
|
|
352
|
-
/**
|
|
353
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
354
|
-
* @format GUID
|
|
355
|
-
*/
|
|
356
|
-
wixUserId?: string;
|
|
357
|
-
/**
|
|
358
|
-
* ID of an app.
|
|
359
|
-
* @format GUID
|
|
360
|
-
*/
|
|
361
|
-
appId?: string;
|
|
362
|
-
}
|
|
363
|
-
export declare enum WebhookIdentityType {
|
|
364
|
-
UNKNOWN = "UNKNOWN",
|
|
365
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
366
|
-
MEMBER = "MEMBER",
|
|
367
|
-
WIX_USER = "WIX_USER",
|
|
368
|
-
APP = "APP"
|
|
369
|
-
}
|
|
230
|
+
|
|
231
|
+
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
232
|
+
getUrl: (context: any) => string;
|
|
233
|
+
httpMethod: K;
|
|
234
|
+
path: string;
|
|
235
|
+
pathParams: M;
|
|
236
|
+
__requestType: T;
|
|
237
|
+
__originalRequestType: S;
|
|
238
|
+
__responseType: Q;
|
|
239
|
+
__originalResponseType: R;
|
|
240
|
+
};
|
|
241
|
+
declare function createTaxGroup(): __PublicMethodMetaInfo<'POST', {}, CreateTaxGroupRequest$1, CreateTaxGroupRequest, CreateTaxGroupResponse$1, CreateTaxGroupResponse>;
|
|
242
|
+
declare function getTaxGroup(): __PublicMethodMetaInfo<'GET', {
|
|
243
|
+
taxGroupId: string;
|
|
244
|
+
}, GetTaxGroupRequest$1, GetTaxGroupRequest, GetTaxGroupResponse$1, GetTaxGroupResponse>;
|
|
245
|
+
declare function updateTaxGroup(): __PublicMethodMetaInfo<'PATCH', {
|
|
246
|
+
taxGroupId: string;
|
|
247
|
+
}, UpdateTaxGroupRequest$1, UpdateTaxGroupRequest, UpdateTaxGroupResponse$1, UpdateTaxGroupResponse>;
|
|
248
|
+
declare function deleteTaxGroup(): __PublicMethodMetaInfo<'DELETE', {
|
|
249
|
+
taxGroupId: string;
|
|
250
|
+
}, DeleteTaxGroupRequest$1, DeleteTaxGroupRequest, DeleteTaxGroupResponse$1, DeleteTaxGroupResponse>;
|
|
251
|
+
declare function queryTaxGroups(): __PublicMethodMetaInfo<'POST', {}, QueryTaxGroupsRequest$1, QueryTaxGroupsRequest, QueryTaxGroupsResponse$1, QueryTaxGroupsResponse>;
|
|
252
|
+
declare function listDefaultTaxGroups(): __PublicMethodMetaInfo<'GET', {}, ListDefaultTaxGroupsRequest$1, ListDefaultTaxGroupsRequest, ListDefaultTaxGroupsResponse$1, ListDefaultTaxGroupsResponse>;
|
|
253
|
+
declare function listDefaultTaxGroupsByAppIds(): __PublicMethodMetaInfo<'POST', {}, ListDefaultTaxGroupsByAppIdsRequest$1, ListDefaultTaxGroupsByAppIdsRequest, ListDefaultTaxGroupsByAppIdsResponse$1, ListDefaultTaxGroupsByAppIdsResponse>;
|
|
254
|
+
|
|
255
|
+
export { type __PublicMethodMetaInfo, createTaxGroup, deleteTaxGroup, getTaxGroup, listDefaultTaxGroups, listDefaultTaxGroupsByAppIds, queryTaxGroups, updateTaxGroup };
|