@wix/auto_sdk_ecom_tax-groups 1.0.17 → 1.0.19
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 +12 -11
- 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,8 +1,10 @@
|
|
|
1
|
+
import { C as CreateTaxGroupRequest$1, f as CreateTaxGroupResponse$1, G as GetTaxGroupRequest$1, g as GetTaxGroupResponse$1, h as UpdateTaxGroupRequest$1, i as UpdateTaxGroupResponse$1, D as DeleteTaxGroupRequest$1, j as DeleteTaxGroupResponse$1, Q as QueryTaxGroupsRequest$1, o as QueryTaxGroupsResponse$1, r as ListDefaultTaxGroupsRequest$1, L as ListDefaultTaxGroupsResponse$1, s as ListDefaultTaxGroupsByAppIdsRequest$1, b as ListDefaultTaxGroupsByAppIdsResponse$1 } from './billing-v1-tax-group-tax-groups.universal-BytDffOB.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,19 +114,19 @@ export interface Sorting {
|
|
|
112
114
|
/** Sort order. */
|
|
113
115
|
order?: SortOrderWithLiterals;
|
|
114
116
|
}
|
|
115
|
-
|
|
117
|
+
declare enum SortOrder {
|
|
116
118
|
ASC = "ASC",
|
|
117
119
|
DESC = "DESC"
|
|
118
120
|
}
|
|
119
121
|
/** @enumType */
|
|
120
|
-
|
|
121
|
-
|
|
122
|
+
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
123
|
+
interface Paging {
|
|
122
124
|
/** Number of items to load. */
|
|
123
125
|
limit?: number | null;
|
|
124
126
|
/** Number of items to skip in the current sort order. */
|
|
125
127
|
offset?: number | null;
|
|
126
128
|
}
|
|
127
|
-
|
|
129
|
+
interface CursorPaging {
|
|
128
130
|
/**
|
|
129
131
|
* Maximum number of items to return in the results.
|
|
130
132
|
* @max 100
|
|
@@ -139,13 +141,13 @@ export interface CursorPaging {
|
|
|
139
141
|
*/
|
|
140
142
|
cursor?: string | null;
|
|
141
143
|
}
|
|
142
|
-
|
|
144
|
+
interface QueryTaxGroupsResponse {
|
|
143
145
|
/** Retrieved default tax groups. */
|
|
144
146
|
taxGroups?: TaxGroup[];
|
|
145
147
|
/** Paging metadata. */
|
|
146
148
|
pagingMetadata?: CursorPagingMetadata;
|
|
147
149
|
}
|
|
148
|
-
|
|
150
|
+
interface CursorPagingMetadata {
|
|
149
151
|
/** Number of items returned in current page. */
|
|
150
152
|
count?: number | null;
|
|
151
153
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
@@ -158,7 +160,7 @@ export interface CursorPagingMetadata {
|
|
|
158
160
|
*/
|
|
159
161
|
hasNext?: boolean | null;
|
|
160
162
|
}
|
|
161
|
-
|
|
163
|
+
interface Cursors {
|
|
162
164
|
/**
|
|
163
165
|
* Cursor string pointing to the next page in the list of results.
|
|
164
166
|
* @maxLength 16000
|
|
@@ -170,13 +172,13 @@ export interface Cursors {
|
|
|
170
172
|
*/
|
|
171
173
|
prev?: string | null;
|
|
172
174
|
}
|
|
173
|
-
|
|
175
|
+
interface ListDefaultTaxGroupsRequest {
|
|
174
176
|
}
|
|
175
|
-
|
|
177
|
+
interface ListDefaultTaxGroupsResponse {
|
|
176
178
|
/** Retrieved default tax groups. */
|
|
177
179
|
taxGroups?: TaxGroup[];
|
|
178
180
|
}
|
|
179
|
-
|
|
181
|
+
interface ListDefaultTaxGroupsByAppIdsRequest {
|
|
180
182
|
/**
|
|
181
183
|
* App IDs to retrieve default tax groups for.
|
|
182
184
|
* @minSize 1
|
|
@@ -185,7 +187,7 @@ export interface ListDefaultTaxGroupsByAppIdsRequest {
|
|
|
185
187
|
*/
|
|
186
188
|
appIds: string[];
|
|
187
189
|
}
|
|
188
|
-
|
|
190
|
+
interface ListDefaultTaxGroupsByAppIdsResponse {
|
|
189
191
|
/**
|
|
190
192
|
* Retrieved default tax groups.
|
|
191
193
|
* @minSize 1
|
|
@@ -195,13 +197,13 @@ export interface ListDefaultTaxGroupsByAppIdsResponse {
|
|
|
195
197
|
/** Bulk action metadata. */
|
|
196
198
|
bulkActionMetadata?: BulkActionMetadata;
|
|
197
199
|
}
|
|
198
|
-
|
|
200
|
+
interface ListDefaultTaxGroupsByAppIdsResult {
|
|
199
201
|
/** Information about success or failure to retrieve default tax groups. */
|
|
200
202
|
taxGroupMetadata?: ItemMetadata;
|
|
201
203
|
/** Retrieved default tax groups. */
|
|
202
204
|
taxGroup?: TaxGroup;
|
|
203
205
|
}
|
|
204
|
-
|
|
206
|
+
interface ItemMetadata {
|
|
205
207
|
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
206
208
|
id?: string | null;
|
|
207
209
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
@@ -211,7 +213,7 @@ export interface ItemMetadata {
|
|
|
211
213
|
/** Details about the error in case of failure. */
|
|
212
214
|
error?: ApplicationError;
|
|
213
215
|
}
|
|
214
|
-
|
|
216
|
+
interface ApplicationError {
|
|
215
217
|
/** Error code. */
|
|
216
218
|
code?: string;
|
|
217
219
|
/** Description of the error. */
|
|
@@ -219,7 +221,7 @@ export interface ApplicationError {
|
|
|
219
221
|
/** Data related to the error. */
|
|
220
222
|
data?: Record<string, any> | null;
|
|
221
223
|
}
|
|
222
|
-
|
|
224
|
+
interface BulkActionMetadata {
|
|
223
225
|
/** Number of items that were successfully processed. */
|
|
224
226
|
totalSuccesses?: number;
|
|
225
227
|
/** Number of items that couldn't be processed. */
|
|
@@ -227,139 +229,29 @@ export interface BulkActionMetadata {
|
|
|
227
229
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
228
230
|
undetailedFailures?: number;
|
|
229
231
|
}
|
|
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
|
-
|
|
255
|
-
|
|
256
|
-
/** If present, indicates the action that triggered the event. */
|
|
257
|
-
originatedFrom?: string | null;
|
|
258
|
-
/**
|
|
259
|
-
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
260
|
-
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
261
|
-
*/
|
|
262
|
-
entityEventSequence?: string | null;
|
|
263
|
-
}
|
|
264
|
-
/** @oneof */
|
|
265
|
-
export interface DomainEventBodyOneOf {
|
|
266
|
-
createdEvent?: EntityCreatedEvent;
|
|
267
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
268
|
-
deletedEvent?: EntityDeletedEvent;
|
|
269
|
-
actionEvent?: ActionEvent;
|
|
270
|
-
}
|
|
271
|
-
export interface EntityCreatedEvent {
|
|
272
|
-
entityAsJson?: string;
|
|
273
|
-
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
274
|
-
restoreInfo?: RestoreInfo;
|
|
275
|
-
}
|
|
276
|
-
export interface RestoreInfo {
|
|
277
|
-
deletedDate?: Date | null;
|
|
278
|
-
}
|
|
279
|
-
export interface EntityUpdatedEvent {
|
|
280
|
-
/**
|
|
281
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
282
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
283
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
284
|
-
*/
|
|
285
|
-
currentEntityAsJson?: string;
|
|
286
|
-
}
|
|
287
|
-
export interface EntityDeletedEvent {
|
|
288
|
-
/** Entity that was deleted. */
|
|
289
|
-
deletedEntityAsJson?: string | null;
|
|
290
|
-
}
|
|
291
|
-
export interface ActionEvent {
|
|
292
|
-
bodyAsJson?: string;
|
|
293
|
-
}
|
|
294
|
-
export interface MessageEnvelope {
|
|
295
|
-
/**
|
|
296
|
-
* App instance ID.
|
|
297
|
-
* @format GUID
|
|
298
|
-
*/
|
|
299
|
-
instanceId?: string | null;
|
|
300
|
-
/**
|
|
301
|
-
* Event type.
|
|
302
|
-
* @maxLength 150
|
|
303
|
-
*/
|
|
304
|
-
eventType?: string;
|
|
305
|
-
/** The identification type and identity data. */
|
|
306
|
-
identity?: IdentificationData;
|
|
307
|
-
/** Stringify payload. */
|
|
308
|
-
data?: string;
|
|
309
|
-
}
|
|
310
|
-
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
311
|
-
/**
|
|
312
|
-
* ID of a site visitor that has not logged in to the site.
|
|
313
|
-
* @format GUID
|
|
314
|
-
*/
|
|
315
|
-
anonymousVisitorId?: string;
|
|
316
|
-
/**
|
|
317
|
-
* ID of a site visitor that has logged in to the site.
|
|
318
|
-
* @format GUID
|
|
319
|
-
*/
|
|
320
|
-
memberId?: string;
|
|
321
|
-
/**
|
|
322
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
323
|
-
* @format GUID
|
|
324
|
-
*/
|
|
325
|
-
wixUserId?: string;
|
|
326
|
-
/**
|
|
327
|
-
* ID of an app.
|
|
328
|
-
* @format GUID
|
|
329
|
-
*/
|
|
330
|
-
appId?: string;
|
|
331
|
-
/** @readonly */
|
|
332
|
-
identityType?: WebhookIdentityTypeWithLiterals;
|
|
333
|
-
}
|
|
334
|
-
/** @oneof */
|
|
335
|
-
export interface IdentificationDataIdOneOf {
|
|
336
|
-
/**
|
|
337
|
-
* ID of a site visitor that has not logged in to the site.
|
|
338
|
-
* @format GUID
|
|
339
|
-
*/
|
|
340
|
-
anonymousVisitorId?: string;
|
|
341
|
-
/**
|
|
342
|
-
* ID of a site visitor that has logged in to the site.
|
|
343
|
-
* @format GUID
|
|
344
|
-
*/
|
|
345
|
-
memberId?: string;
|
|
346
|
-
/**
|
|
347
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
348
|
-
* @format GUID
|
|
349
|
-
*/
|
|
350
|
-
wixUserId?: string;
|
|
351
|
-
/**
|
|
352
|
-
* ID of an app.
|
|
353
|
-
* @format GUID
|
|
354
|
-
*/
|
|
355
|
-
appId?: string;
|
|
356
|
-
}
|
|
357
|
-
export declare enum WebhookIdentityType {
|
|
358
|
-
UNKNOWN = "UNKNOWN",
|
|
359
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
360
|
-
MEMBER = "MEMBER",
|
|
361
|
-
WIX_USER = "WIX_USER",
|
|
362
|
-
APP = "APP"
|
|
363
|
-
}
|
|
364
|
-
/** @enumType */
|
|
365
|
-
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
232
|
+
|
|
233
|
+
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
234
|
+
getUrl: (context: any) => string;
|
|
235
|
+
httpMethod: K;
|
|
236
|
+
path: string;
|
|
237
|
+
pathParams: M;
|
|
238
|
+
__requestType: T;
|
|
239
|
+
__originalRequestType: S;
|
|
240
|
+
__responseType: Q;
|
|
241
|
+
__originalResponseType: R;
|
|
242
|
+
};
|
|
243
|
+
declare function createTaxGroup(): __PublicMethodMetaInfo<'POST', {}, CreateTaxGroupRequest$1, CreateTaxGroupRequest, CreateTaxGroupResponse$1, CreateTaxGroupResponse>;
|
|
244
|
+
declare function getTaxGroup(): __PublicMethodMetaInfo<'GET', {
|
|
245
|
+
taxGroupId: string;
|
|
246
|
+
}, GetTaxGroupRequest$1, GetTaxGroupRequest, GetTaxGroupResponse$1, GetTaxGroupResponse>;
|
|
247
|
+
declare function updateTaxGroup(): __PublicMethodMetaInfo<'PATCH', {
|
|
248
|
+
taxGroupId: string;
|
|
249
|
+
}, UpdateTaxGroupRequest$1, UpdateTaxGroupRequest, UpdateTaxGroupResponse$1, UpdateTaxGroupResponse>;
|
|
250
|
+
declare function deleteTaxGroup(): __PublicMethodMetaInfo<'DELETE', {
|
|
251
|
+
taxGroupId: string;
|
|
252
|
+
}, DeleteTaxGroupRequest$1, DeleteTaxGroupRequest, DeleteTaxGroupResponse$1, DeleteTaxGroupResponse>;
|
|
253
|
+
declare function queryTaxGroups(): __PublicMethodMetaInfo<'POST', {}, QueryTaxGroupsRequest$1, QueryTaxGroupsRequest, QueryTaxGroupsResponse$1, QueryTaxGroupsResponse>;
|
|
254
|
+
declare function listDefaultTaxGroups(): __PublicMethodMetaInfo<'GET', {}, ListDefaultTaxGroupsRequest$1, ListDefaultTaxGroupsRequest, ListDefaultTaxGroupsResponse$1, ListDefaultTaxGroupsResponse>;
|
|
255
|
+
declare function listDefaultTaxGroupsByAppIds(): __PublicMethodMetaInfo<'POST', {}, ListDefaultTaxGroupsByAppIdsRequest$1, ListDefaultTaxGroupsByAppIdsRequest, ListDefaultTaxGroupsByAppIdsResponse$1, ListDefaultTaxGroupsByAppIdsResponse>;
|
|
256
|
+
|
|
257
|
+
export { type __PublicMethodMetaInfo, createTaxGroup, deleteTaxGroup, getTaxGroup, listDefaultTaxGroups, listDefaultTaxGroupsByAppIds, queryTaxGroups, updateTaxGroup };
|