@wix/auto_sdk_ecom_tax-groups 1.0.8 → 1.0.10
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/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/billing-v1-tax-group-tax-groups.context.d.ts +27 -0
- package/build/cjs/src/billing-v1-tax-group-tax-groups.context.js +32 -0
- package/build/cjs/src/billing-v1-tax-group-tax-groups.context.js.map +1 -0
- package/build/cjs/src/billing-v1-tax-group-tax-groups.http.d.ts +57 -0
- package/build/cjs/src/billing-v1-tax-group-tax-groups.http.js +286 -0
- package/build/cjs/src/billing-v1-tax-group-tax-groups.http.js.map +1 -0
- package/build/cjs/src/billing-v1-tax-group-tax-groups.meta.d.ts +25 -0
- package/build/cjs/src/billing-v1-tax-group-tax-groups.meta.js +161 -0
- package/build/cjs/src/billing-v1-tax-group-tax-groups.meta.js.map +1 -0
- package/build/{internal/index.d.ts → cjs/src/billing-v1-tax-group-tax-groups.public.d.ts} +16 -34
- package/build/cjs/src/billing-v1-tax-group-tax-groups.public.js +85 -0
- package/build/cjs/src/billing-v1-tax-group-tax-groups.public.js.map +1 -0
- package/build/{internal/meta.d.mts → cjs/src/billing-v1-tax-group-tax-groups.types.d.ts} +169 -55
- package/build/cjs/src/billing-v1-tax-group-tax-groups.types.js +17 -0
- package/build/cjs/src/billing-v1-tax-group-tax-groups.types.js.map +1 -0
- package/build/{billing-v1-tax-group-tax-groups.universal-CiIRXdgk.d.mts → cjs/src/billing-v1-tax-group-tax-groups.universal.d.ts} +274 -48
- package/build/cjs/src/billing-v1-tax-group-tax-groups.universal.js +385 -0
- package/build/cjs/src/billing-v1-tax-group-tax-groups.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/billing-v1-tax-group-tax-groups.context.d.ts +27 -0
- package/build/es/src/billing-v1-tax-group-tax-groups.context.js +27 -0
- package/build/es/src/billing-v1-tax-group-tax-groups.context.js.map +1 -0
- package/build/es/src/billing-v1-tax-group-tax-groups.http.d.ts +57 -0
- package/build/es/src/billing-v1-tax-group-tax-groups.http.js +276 -0
- package/build/es/src/billing-v1-tax-group-tax-groups.http.js.map +1 -0
- package/build/es/src/billing-v1-tax-group-tax-groups.meta.d.ts +25 -0
- package/build/es/src/billing-v1-tax-group-tax-groups.meta.js +128 -0
- package/build/es/src/billing-v1-tax-group-tax-groups.meta.js.map +1 -0
- package/build/{index.d.ts → es/src/billing-v1-tax-group-tax-groups.public.d.ts} +16 -34
- package/build/es/src/billing-v1-tax-group-tax-groups.public.js +73 -0
- package/build/es/src/billing-v1-tax-group-tax-groups.public.js.map +1 -0
- package/build/{internal/meta.d.ts → es/src/billing-v1-tax-group-tax-groups.types.d.ts} +169 -55
- package/build/es/src/billing-v1-tax-group-tax-groups.types.js +14 -0
- package/build/es/src/billing-v1-tax-group-tax-groups.types.js.map +1 -0
- package/build/{billing-v1-tax-group-tax-groups.universal-CiIRXdgk.d.ts → es/src/billing-v1-tax-group-tax-groups.universal.d.ts} +274 -48
- package/build/es/src/billing-v1-tax-group-tax-groups.universal.js +352 -0
- package/build/es/src/billing-v1-tax-group-tax-groups.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.context.d.ts +27 -0
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.context.js +32 -0
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.context.js.map +1 -0
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.http.d.ts +57 -0
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.http.js +286 -0
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.http.js.map +1 -0
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.meta.d.ts +25 -0
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.meta.js +161 -0
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.meta.js.map +1 -0
- package/build/internal/{index.d.mts → cjs/src/billing-v1-tax-group-tax-groups.public.d.ts} +16 -34
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.public.js +85 -0
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.public.js.map +1 -0
- package/build/{meta.d.mts → internal/cjs/src/billing-v1-tax-group-tax-groups.types.d.ts} +169 -55
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.types.js +17 -0
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.types.js.map +1 -0
- package/build/internal/{billing-v1-tax-group-tax-groups.universal-CiIRXdgk.d.mts → cjs/src/billing-v1-tax-group-tax-groups.universal.d.ts} +274 -48
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.universal.js +385 -0
- package/build/internal/cjs/src/billing-v1-tax-group-tax-groups.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.context.d.ts +27 -0
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.context.js +27 -0
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.context.js.map +1 -0
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.http.d.ts +57 -0
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.http.js +276 -0
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.http.js.map +1 -0
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.meta.d.ts +25 -0
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.meta.js +128 -0
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.meta.js.map +1 -0
- package/build/{index.d.mts → internal/es/src/billing-v1-tax-group-tax-groups.public.d.ts} +16 -34
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.public.js +73 -0
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.public.js.map +1 -0
- package/build/{meta.d.ts → internal/es/src/billing-v1-tax-group-tax-groups.types.d.ts} +169 -55
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.types.js +14 -0
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.types.js.map +1 -0
- package/build/internal/{billing-v1-tax-group-tax-groups.universal-CiIRXdgk.d.ts → es/src/billing-v1-tax-group-tax-groups.universal.d.ts} +274 -48
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.universal.js +352 -0
- package/build/internal/es/src/billing-v1-tax-group-tax-groups.universal.js.map +1 -0
- package/package.json +11 -12
- package/build/index.js +0 -602
- package/build/index.js.map +0 -1
- package/build/index.mjs +0 -567
- package/build/index.mjs.map +0 -1
- package/build/internal/index.js +0 -602
- package/build/internal/index.js.map +0 -1
- package/build/internal/index.mjs +0 -567
- package/build/internal/index.mjs.map +0 -1
- package/build/internal/meta.js +0 -398
- package/build/internal/meta.js.map +0 -1
- package/build/internal/meta.mjs +0 -365
- package/build/internal/meta.mjs.map +0 -1
- package/build/meta.js +0 -398
- package/build/meta.js.map +0 -1
- package/build/meta.mjs +0 -365
- package/build/meta.mjs.map +0 -1
|
@@ -1,10 +1,8 @@
|
|
|
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
|
-
|
|
3
1
|
/**
|
|
4
2
|
* A tax group is a category of specific line items grouped together based on their tax treatment.
|
|
5
3
|
* You can create new tax groups to apply distinct tax rates and rules.
|
|
6
4
|
*/
|
|
7
|
-
interface TaxGroup {
|
|
5
|
+
export interface TaxGroup {
|
|
8
6
|
/**
|
|
9
7
|
* Tax group ID.
|
|
10
8
|
* @format GUID
|
|
@@ -36,47 +34,47 @@ interface TaxGroup {
|
|
|
36
34
|
*/
|
|
37
35
|
updatedDate?: Date | null;
|
|
38
36
|
}
|
|
39
|
-
interface CreateTaxGroupRequest {
|
|
37
|
+
export interface CreateTaxGroupRequest {
|
|
40
38
|
/** Tax group to create. */
|
|
41
39
|
taxGroup: TaxGroup;
|
|
42
40
|
}
|
|
43
|
-
interface CreateTaxGroupResponse {
|
|
41
|
+
export interface CreateTaxGroupResponse {
|
|
44
42
|
/** Created tax group. */
|
|
45
43
|
taxGroup?: TaxGroup;
|
|
46
44
|
}
|
|
47
|
-
interface GetTaxGroupRequest {
|
|
45
|
+
export interface GetTaxGroupRequest {
|
|
48
46
|
/**
|
|
49
47
|
* ID of the tax group to retrieve.
|
|
50
48
|
* @format GUID
|
|
51
49
|
*/
|
|
52
50
|
taxGroupId: string;
|
|
53
51
|
}
|
|
54
|
-
interface GetTaxGroupResponse {
|
|
52
|
+
export interface GetTaxGroupResponse {
|
|
55
53
|
/** Retrieved tax group. */
|
|
56
54
|
taxGroup?: TaxGroup;
|
|
57
55
|
}
|
|
58
|
-
interface UpdateTaxGroupRequest {
|
|
56
|
+
export interface UpdateTaxGroupRequest {
|
|
59
57
|
/** Tax group info to update. */
|
|
60
58
|
taxGroup: TaxGroup;
|
|
61
59
|
}
|
|
62
|
-
interface UpdateTaxGroupResponse {
|
|
60
|
+
export interface UpdateTaxGroupResponse {
|
|
63
61
|
/** Updated tax group. */
|
|
64
62
|
taxGroup?: TaxGroup;
|
|
65
63
|
}
|
|
66
|
-
interface DeleteTaxGroupRequest {
|
|
64
|
+
export interface DeleteTaxGroupRequest {
|
|
67
65
|
/**
|
|
68
66
|
* ID of the tax group to delete.
|
|
69
67
|
* @format GUID
|
|
70
68
|
*/
|
|
71
69
|
taxGroupId: string;
|
|
72
70
|
}
|
|
73
|
-
interface DeleteTaxGroupResponse {
|
|
71
|
+
export interface DeleteTaxGroupResponse {
|
|
74
72
|
}
|
|
75
|
-
interface QueryTaxGroupsRequest {
|
|
73
|
+
export interface QueryTaxGroupsRequest {
|
|
76
74
|
/** Query options. */
|
|
77
75
|
query: QueryV2;
|
|
78
76
|
}
|
|
79
|
-
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
77
|
+
export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
80
78
|
/** Paging options to limit and skip the number of items. */
|
|
81
79
|
paging?: Paging;
|
|
82
80
|
/** 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`. */
|
|
@@ -99,13 +97,13 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
99
97
|
fieldsets?: string[];
|
|
100
98
|
}
|
|
101
99
|
/** @oneof */
|
|
102
|
-
interface QueryV2PagingMethodOneOf {
|
|
100
|
+
export interface QueryV2PagingMethodOneOf {
|
|
103
101
|
/** Paging options to limit and skip the number of items. */
|
|
104
102
|
paging?: Paging;
|
|
105
103
|
/** 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`. */
|
|
106
104
|
cursorPaging?: CursorPaging;
|
|
107
105
|
}
|
|
108
|
-
interface Sorting {
|
|
106
|
+
export interface Sorting {
|
|
109
107
|
/**
|
|
110
108
|
* Name of the field to sort by.
|
|
111
109
|
* @maxLength 512
|
|
@@ -114,17 +112,17 @@ interface Sorting {
|
|
|
114
112
|
/** Sort order. */
|
|
115
113
|
order?: SortOrder;
|
|
116
114
|
}
|
|
117
|
-
declare enum SortOrder {
|
|
115
|
+
export declare enum SortOrder {
|
|
118
116
|
ASC = "ASC",
|
|
119
117
|
DESC = "DESC"
|
|
120
118
|
}
|
|
121
|
-
interface Paging {
|
|
119
|
+
export interface Paging {
|
|
122
120
|
/** Number of items to load. */
|
|
123
121
|
limit?: number | null;
|
|
124
122
|
/** Number of items to skip in the current sort order. */
|
|
125
123
|
offset?: number | null;
|
|
126
124
|
}
|
|
127
|
-
interface CursorPaging {
|
|
125
|
+
export interface CursorPaging {
|
|
128
126
|
/**
|
|
129
127
|
* Maximum number of items to return in the results.
|
|
130
128
|
* @max 100
|
|
@@ -139,13 +137,13 @@ interface CursorPaging {
|
|
|
139
137
|
*/
|
|
140
138
|
cursor?: string | null;
|
|
141
139
|
}
|
|
142
|
-
interface QueryTaxGroupsResponse {
|
|
140
|
+
export interface QueryTaxGroupsResponse {
|
|
143
141
|
/** Retrieved default tax groups. */
|
|
144
142
|
taxGroups?: TaxGroup[];
|
|
145
143
|
/** Paging metadata. */
|
|
146
144
|
pagingMetadata?: CursorPagingMetadata;
|
|
147
145
|
}
|
|
148
|
-
interface CursorPagingMetadata {
|
|
146
|
+
export interface CursorPagingMetadata {
|
|
149
147
|
/** Number of items returned in current page. */
|
|
150
148
|
count?: number | null;
|
|
151
149
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
@@ -158,7 +156,7 @@ interface CursorPagingMetadata {
|
|
|
158
156
|
*/
|
|
159
157
|
hasNext?: boolean | null;
|
|
160
158
|
}
|
|
161
|
-
interface Cursors {
|
|
159
|
+
export interface Cursors {
|
|
162
160
|
/**
|
|
163
161
|
* Cursor string pointing to the next page in the list of results.
|
|
164
162
|
* @maxLength 16000
|
|
@@ -170,13 +168,13 @@ interface Cursors {
|
|
|
170
168
|
*/
|
|
171
169
|
prev?: string | null;
|
|
172
170
|
}
|
|
173
|
-
interface ListDefaultTaxGroupsRequest {
|
|
171
|
+
export interface ListDefaultTaxGroupsRequest {
|
|
174
172
|
}
|
|
175
|
-
interface ListDefaultTaxGroupsResponse {
|
|
173
|
+
export interface ListDefaultTaxGroupsResponse {
|
|
176
174
|
/** Retrieved default tax groups. */
|
|
177
175
|
taxGroups?: TaxGroup[];
|
|
178
176
|
}
|
|
179
|
-
interface ListDefaultTaxGroupsByAppIdsRequest {
|
|
177
|
+
export interface ListDefaultTaxGroupsByAppIdsRequest {
|
|
180
178
|
/**
|
|
181
179
|
* App IDs to retrieve default tax groups for.
|
|
182
180
|
* @minSize 1
|
|
@@ -185,7 +183,7 @@ interface ListDefaultTaxGroupsByAppIdsRequest {
|
|
|
185
183
|
*/
|
|
186
184
|
appIds: string[];
|
|
187
185
|
}
|
|
188
|
-
interface ListDefaultTaxGroupsByAppIdsResponse {
|
|
186
|
+
export interface ListDefaultTaxGroupsByAppIdsResponse {
|
|
189
187
|
/**
|
|
190
188
|
* Retrieved default tax groups.
|
|
191
189
|
* @minSize 1
|
|
@@ -195,13 +193,13 @@ interface ListDefaultTaxGroupsByAppIdsResponse {
|
|
|
195
193
|
/** Bulk action metadata. */
|
|
196
194
|
bulkActionMetadata?: BulkActionMetadata;
|
|
197
195
|
}
|
|
198
|
-
interface ListDefaultTaxGroupsByAppIdsResult {
|
|
196
|
+
export interface ListDefaultTaxGroupsByAppIdsResult {
|
|
199
197
|
/** Information about success or failure to retrieve default tax groups. */
|
|
200
198
|
taxGroupMetadata?: ItemMetadata;
|
|
201
199
|
/** Retrieved default tax groups. */
|
|
202
200
|
taxGroup?: TaxGroup;
|
|
203
201
|
}
|
|
204
|
-
interface ItemMetadata {
|
|
202
|
+
export interface ItemMetadata {
|
|
205
203
|
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
206
204
|
id?: string | null;
|
|
207
205
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
@@ -211,7 +209,7 @@ interface ItemMetadata {
|
|
|
211
209
|
/** Details about the error in case of failure. */
|
|
212
210
|
error?: ApplicationError;
|
|
213
211
|
}
|
|
214
|
-
interface ApplicationError {
|
|
212
|
+
export interface ApplicationError {
|
|
215
213
|
/** Error code. */
|
|
216
214
|
code?: string;
|
|
217
215
|
/** Description of the error. */
|
|
@@ -219,7 +217,7 @@ interface ApplicationError {
|
|
|
219
217
|
/** Data related to the error. */
|
|
220
218
|
data?: Record<string, any> | null;
|
|
221
219
|
}
|
|
222
|
-
interface BulkActionMetadata {
|
|
220
|
+
export interface BulkActionMetadata {
|
|
223
221
|
/** Number of items that were successfully processed. */
|
|
224
222
|
totalSuccesses?: number;
|
|
225
223
|
/** Number of items that couldn't be processed. */
|
|
@@ -227,29 +225,145 @@ interface BulkActionMetadata {
|
|
|
227
225
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
228
226
|
undetailedFailures?: number;
|
|
229
227
|
}
|
|
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
|
-
|
|
228
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
229
|
+
createdEvent?: EntityCreatedEvent;
|
|
230
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
231
|
+
deletedEvent?: EntityDeletedEvent;
|
|
232
|
+
actionEvent?: ActionEvent;
|
|
233
|
+
/**
|
|
234
|
+
* Unique event ID.
|
|
235
|
+
* Allows clients to ignore duplicate webhooks.
|
|
236
|
+
*/
|
|
237
|
+
id?: string;
|
|
238
|
+
/**
|
|
239
|
+
* Assumes actions are also always typed to an entity_type
|
|
240
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
241
|
+
*/
|
|
242
|
+
entityFqdn?: string;
|
|
243
|
+
/**
|
|
244
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
245
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
246
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
247
|
+
*/
|
|
248
|
+
slug?: string;
|
|
249
|
+
/** ID of the entity associated with the event. */
|
|
250
|
+
entityId?: string;
|
|
251
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
252
|
+
eventTime?: Date | null;
|
|
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
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export var SortOrder;
|
|
2
|
+
(function (SortOrder) {
|
|
3
|
+
SortOrder["ASC"] = "ASC";
|
|
4
|
+
SortOrder["DESC"] = "DESC";
|
|
5
|
+
})(SortOrder || (SortOrder = {}));
|
|
6
|
+
export var WebhookIdentityType;
|
|
7
|
+
(function (WebhookIdentityType) {
|
|
8
|
+
WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
|
|
9
|
+
WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
10
|
+
WebhookIdentityType["MEMBER"] = "MEMBER";
|
|
11
|
+
WebhookIdentityType["WIX_USER"] = "WIX_USER";
|
|
12
|
+
WebhookIdentityType["APP"] = "APP";
|
|
13
|
+
})(WebhookIdentityType || (WebhookIdentityType = {}));
|
|
14
|
+
//# sourceMappingURL=billing-v1-tax-group-tax-groups.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-v1-tax-group-tax-groups.types.js","sourceRoot":"","sources":["../../../src/billing-v1-tax-group-tax-groups.types.ts"],"names":[],"mappings":"AA8HA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA4QD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|