@wix/bex-utils 2.93.0 → 2.95.0
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/@wix/ambassador-os-tags-v1-tag/README.md +34 -0
- package/@wix/ambassador-os-tags-v1-tag/builders/package.json +3 -3
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/builders.impl.d.ts +44 -23
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/builders.impl.js +385 -145
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/builders.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/crud/http.impl.d.ts +9 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/crud/http.impl.js +16 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/crud/http.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/crud/rpc.impl.d.ts +7 -5
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/crud/rpc.impl.js +50 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/crud/rpc.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/http.impl.d.ts +42 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/http.impl.js +287 -13
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/http.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/meta.impl.d.ts +46 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/meta.impl.js +166 -20
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/meta.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/proto/client/proto-generated.d.ts +2520 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/proto/proto-generated.d.ts +1267 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/proto/proto-generated.js +1 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/proto/server/proto-generated.d.ts +2529 -22
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/rpc.impl.d.ts +49 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/rpc.impl.js +133 -21
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/rpc.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/es → cjs/build}/types.impl.d.ts +382 -170
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/types.impl.js +14 -9
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/types.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/package.json +3 -0
- package/@wix/ambassador-os-tags-v1-tag/crud/http/package.json +3 -3
- package/@wix/ambassador-os-tags-v1-tag/crud/rpc/package.json +2 -2
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/builders.impl.d.ts +44 -23
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/builders.impl.js +327 -111
- package/@wix/ambassador-os-tags-v1-tag/es/build/builders.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/crud/http.impl.d.ts +9 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/crud/http.impl.js +12 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/crud/http.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/crud/rpc.impl.d.ts +7 -5
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/crud/rpc.impl.js +12 -4
- package/@wix/ambassador-os-tags-v1-tag/es/build/crud/rpc.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/http.impl.d.ts +42 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/http.impl.js +270 -2
- package/@wix/ambassador-os-tags-v1-tag/es/build/http.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/meta.impl.d.ts +46 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/meta.impl.js +127 -1
- package/@wix/ambassador-os-tags-v1-tag/es/build/meta.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/proto/client/proto-generated.d.ts +12332 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/proto/client/proto-generated.js +5 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/proto/proto-generated.d.ts +6182 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/proto/proto-generated.js +1 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/proto/server/proto-generated.d.ts +12307 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/proto/server/proto-generated.js +5 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/rpc.impl.d.ts +49 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/rpc.impl.js +93 -1
- package/@wix/ambassador-os-tags-v1-tag/es/build/rpc.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → es/build}/types.impl.d.ts +382 -170
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/types.impl.js +12 -7
- package/@wix/ambassador-os-tags-v1-tag/es/build/types.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/http/package.json +3 -3
- package/@wix/ambassador-os-tags-v1-tag/meta/package.json +3 -3
- package/@wix/ambassador-os-tags-v1-tag/package.json +68 -13
- package/@wix/ambassador-os-tags-v1-tag/rpc/package.json +2 -2
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/com/wixpress/iptf/webhooks/debug.proto +34 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/com/wixpress/iptf/webhooks/kv.proto +42 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/com/wixpress/iptf/webhooks/message_envelope.proto +54 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/src/main/proto/com/wixpress/items_selection/spi/v1/items_selection_config.proto +3 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/webhooks_debug_service.proto +32 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/webhooks_sync_service.proto +33 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/annotations.proto +111 -3
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/callback.proto +10 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/entity.proto +6 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/permissions.proto +6 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/subscription.proto +1 -1
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/validations.proto +5 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/domainevents/attributeupdated.proto +20 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/domainevents/domainevents.proto +112 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/query.proto +69 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tag.proto +12 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tags_account_service.proto +43 -3
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tags_global_service.proto +171 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tags_service.proto +49 -3
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/upstream/wix/common/bulk.proto +69 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/upstream/wix/common/paging.proto +121 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/upstream/wix/common/query.proto +771 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/upstream/wix/common/sorting.proto +27 -0
- package/@wix/ambassador-os-tags-v1-tag/types/package.json +3 -3
- package/@wix/bex-bundled-mini-essentials/CHANGELOG.md +4 -0
- package/@wix/bex-bundled-mini-essentials/package.json +1 -1
- package/package.json +4 -4
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/builders.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/http.impl.d.ts +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/http.impl.js +0 -5
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/http.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/rpc.impl.js +0 -41
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/rpc.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/http.impl.d.ts +0 -26
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/http.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/meta.impl.d.ts +0 -33
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/meta.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/proto-generated.js +0 -83454
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/rpc.impl.d.ts +0 -34
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/rpc.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/types.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/builders.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/crud/http.impl.d.ts +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/crud/http.impl.js +0 -2
- package/@wix/ambassador-os-tags-v1-tag/build/es/crud/http.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/crud/rpc.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/http.impl.d.ts +0 -26
- package/@wix/ambassador-os-tags-v1-tag/build/es/http.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/meta.impl.d.ts +0 -33
- package/@wix/ambassador-os-tags-v1-tag/build/es/meta.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/rpc.impl.d.ts +0 -34
- package/@wix/ambassador-os-tags-v1-tag/build/es/rpc.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/types.impl.js.map +0 -1
- /package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/proto/client/proto-generated.js +0 -0
- /package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/proto/server/proto-generated.js +0 -0
|
@@ -1,105 +1,94 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface AccountInfo {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* @
|
|
5
|
-
* @maxLength 5
|
|
3
|
+
* ID of the Wix account associated with the event.
|
|
4
|
+
* @format GUID
|
|
6
5
|
*/
|
|
7
|
-
|
|
6
|
+
accountId?: string | null;
|
|
8
7
|
/**
|
|
9
|
-
*
|
|
10
|
-
* @
|
|
8
|
+
* ID of the parent Wix account. Only included when accountId belongs to a child account.
|
|
9
|
+
* @format GUID
|
|
11
10
|
*/
|
|
12
|
-
|
|
11
|
+
parentAccountId?: string | null;
|
|
13
12
|
/**
|
|
14
|
-
*
|
|
15
|
-
* @
|
|
13
|
+
* ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
|
|
14
|
+
* @format GUID
|
|
16
15
|
*/
|
|
17
|
-
|
|
16
|
+
siteId?: string | null;
|
|
17
|
+
}
|
|
18
|
+
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
-
* @
|
|
20
|
+
* ID of a site visitor that has not logged in to the site.
|
|
21
|
+
* @format GUID
|
|
21
22
|
*/
|
|
22
|
-
|
|
23
|
+
anonymousVisitorId?: string;
|
|
23
24
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @
|
|
25
|
+
* ID of a site visitor that has logged in to the site.
|
|
26
|
+
* @format GUID
|
|
26
27
|
*/
|
|
27
|
-
|
|
28
|
+
memberId?: string;
|
|
28
29
|
/**
|
|
29
|
-
*
|
|
30
|
-
* @
|
|
31
|
-
* @maxLength 255
|
|
30
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
31
|
+
* @format GUID
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
wixUserId?: string;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
36
|
-
* @
|
|
35
|
+
* ID of an app.
|
|
36
|
+
* @format GUID
|
|
37
37
|
*/
|
|
38
|
-
|
|
38
|
+
appId?: string;
|
|
39
|
+
/** @readonly */
|
|
40
|
+
identityType?: WebhookIdentityType;
|
|
41
|
+
}
|
|
42
|
+
/** @oneof */
|
|
43
|
+
export interface IdentificationDataIdOneOf {
|
|
39
44
|
/**
|
|
40
|
-
*
|
|
41
|
-
* @
|
|
42
|
-
* @readonly
|
|
45
|
+
* ID of a site visitor that has not logged in to the site.
|
|
46
|
+
* @format GUID
|
|
43
47
|
*/
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
export declare enum TagExposure {
|
|
47
|
-
UNKNOWN = "UNKNOWN",
|
|
48
|
-
PRIVATE = "PRIVATE",
|
|
49
|
-
/** Not handled by client yet. */
|
|
50
|
-
PUBLIC = "PUBLIC"
|
|
51
|
-
}
|
|
52
|
-
export interface CreateTagForAccountRequest {
|
|
53
|
-
/** The tag to be created. */
|
|
54
|
-
tag: Tag;
|
|
55
|
-
}
|
|
56
|
-
export interface CreateTagForAccountResponse {
|
|
57
|
-
/** The created tag. */
|
|
58
|
-
tag?: Tag;
|
|
59
|
-
}
|
|
60
|
-
export interface GetTagForAccountRequest {
|
|
48
|
+
anonymousVisitorId?: string;
|
|
61
49
|
/**
|
|
62
|
-
*
|
|
63
|
-
* @
|
|
50
|
+
* ID of a site visitor that has logged in to the site.
|
|
51
|
+
* @format GUID
|
|
64
52
|
*/
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
export interface GetTagForAccountResponse {
|
|
68
|
-
/** The requested tag. */
|
|
69
|
-
tag?: Tag;
|
|
70
|
-
}
|
|
71
|
-
export interface UpdateTagForAccountRequest {
|
|
72
|
-
/** The tag to be updated, which may be partial. */
|
|
73
|
-
tag: Tag;
|
|
74
|
-
}
|
|
75
|
-
export interface UpdateTagForAccountResponse {
|
|
76
|
-
/** The updated tag. */
|
|
77
|
-
tag?: Tag;
|
|
78
|
-
}
|
|
79
|
-
export interface DeleteTagForAccountRequest {
|
|
53
|
+
memberId?: string;
|
|
80
54
|
/**
|
|
81
|
-
* ID of
|
|
82
|
-
* @
|
|
55
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
56
|
+
* @format GUID
|
|
83
57
|
*/
|
|
84
|
-
|
|
58
|
+
wixUserId?: string;
|
|
59
|
+
/**
|
|
60
|
+
* ID of an app.
|
|
61
|
+
* @format GUID
|
|
62
|
+
*/
|
|
63
|
+
appId?: string;
|
|
85
64
|
}
|
|
86
|
-
export
|
|
65
|
+
export declare enum WebhookIdentityType {
|
|
66
|
+
UNKNOWN = "UNKNOWN",
|
|
67
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
68
|
+
MEMBER = "MEMBER",
|
|
69
|
+
WIX_USER = "WIX_USER",
|
|
70
|
+
APP = "APP"
|
|
87
71
|
}
|
|
88
|
-
export interface
|
|
72
|
+
export interface MessageEnvelope {
|
|
89
73
|
/**
|
|
90
|
-
*
|
|
91
|
-
* @
|
|
74
|
+
* App instance ID.
|
|
75
|
+
* @format GUID
|
|
92
76
|
*/
|
|
93
|
-
|
|
77
|
+
instanceId?: string | null;
|
|
94
78
|
/**
|
|
95
|
-
*
|
|
96
|
-
* @
|
|
79
|
+
* Event type.
|
|
80
|
+
* @maxLength 150
|
|
97
81
|
*/
|
|
98
|
-
|
|
82
|
+
eventType?: string;
|
|
83
|
+
/** The identification type and identity data. */
|
|
84
|
+
identity?: IdentificationData;
|
|
85
|
+
/** Stringify payload. */
|
|
86
|
+
data?: string;
|
|
87
|
+
/** Details related to the account */
|
|
88
|
+
accountInfo?: AccountInfo;
|
|
99
89
|
}
|
|
100
|
-
export interface
|
|
101
|
-
|
|
102
|
-
tags?: Tag[];
|
|
90
|
+
export interface ActionEvent {
|
|
91
|
+
bodyAsJson?: string;
|
|
103
92
|
}
|
|
104
93
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
105
94
|
createdEvent?: EntityCreatedEvent;
|
|
@@ -152,13 +141,24 @@ export interface EntityCreatedEvent {
|
|
|
152
141
|
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
153
142
|
restoreInfo?: RestoreInfo;
|
|
154
143
|
/**
|
|
155
|
-
*
|
|
144
|
+
* Optional domain-specific metadata defined by the API owner, encoded as JSON.
|
|
156
145
|
* @internal
|
|
157
146
|
*/
|
|
158
147
|
additionalMetadataAsJson?: string | null;
|
|
159
148
|
}
|
|
160
|
-
export interface
|
|
161
|
-
|
|
149
|
+
export interface EntityDeletedEvent {
|
|
150
|
+
/**
|
|
151
|
+
* Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled
|
|
152
|
+
* @internal
|
|
153
|
+
*/
|
|
154
|
+
movedToTrash?: boolean | null;
|
|
155
|
+
/** Entity that was deleted. */
|
|
156
|
+
deletedEntityAsJson?: string | null;
|
|
157
|
+
/**
|
|
158
|
+
* Optional domain-specific metadata defined by the API owner, encoded as JSON.
|
|
159
|
+
* @internal
|
|
160
|
+
*/
|
|
161
|
+
additionalMetadataAsJson?: string | null;
|
|
162
162
|
}
|
|
163
163
|
export interface EntityUpdatedEvent {
|
|
164
164
|
/**
|
|
@@ -179,121 +179,265 @@ export interface EntityUpdatedEvent {
|
|
|
179
179
|
*/
|
|
180
180
|
previousEntityAsJson?: string | null;
|
|
181
181
|
/**
|
|
182
|
-
*
|
|
183
|
-
* For more details please see [
|
|
182
|
+
* Map of fully qualified field paths to their previous values for fields that changed.
|
|
183
|
+
* For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)
|
|
184
184
|
* @internal
|
|
185
185
|
*/
|
|
186
186
|
modifiedFields?: Record<string, any>;
|
|
187
187
|
/**
|
|
188
|
-
*
|
|
188
|
+
* Optional domain-specific metadata defined by the API owner, encoded as JSON.
|
|
189
189
|
* @internal
|
|
190
190
|
*/
|
|
191
191
|
additionalMetadataAsJson?: string | null;
|
|
192
192
|
}
|
|
193
|
-
export interface
|
|
193
|
+
export interface RestoreInfo {
|
|
194
|
+
deletedDate?: Date | null;
|
|
195
|
+
}
|
|
196
|
+
export interface CreateGlobalTagRequest {
|
|
197
|
+
/** The tag to be created. */
|
|
198
|
+
tag: Tag;
|
|
199
|
+
}
|
|
200
|
+
export interface CreateGlobalTagResponse {
|
|
201
|
+
/** The created tag. */
|
|
202
|
+
tag?: Tag;
|
|
203
|
+
}
|
|
204
|
+
export interface CreateTagForAccountRequest {
|
|
205
|
+
/** The tag to be created. */
|
|
206
|
+
tag: Tag;
|
|
207
|
+
}
|
|
208
|
+
export interface CreateTagForAccountResponse {
|
|
209
|
+
/** The created tag. */
|
|
210
|
+
tag?: Tag;
|
|
211
|
+
}
|
|
212
|
+
export interface CreateTagRequest {
|
|
213
|
+
/** The tag to be created. */
|
|
214
|
+
tag: Tag;
|
|
215
|
+
}
|
|
216
|
+
export interface CreateTagResponse {
|
|
217
|
+
/** The created tag. */
|
|
218
|
+
tag?: Tag;
|
|
219
|
+
}
|
|
220
|
+
export interface DeleteGlobalTagRequest {
|
|
194
221
|
/**
|
|
195
|
-
*
|
|
196
|
-
* @
|
|
222
|
+
* ID of the tag to delete.
|
|
223
|
+
* @maxLength 5
|
|
197
224
|
*/
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
225
|
+
tagId: string;
|
|
226
|
+
}
|
|
227
|
+
export interface DeleteGlobalTagResponse {
|
|
228
|
+
}
|
|
229
|
+
export interface DeleteTagForAccountRequest {
|
|
201
230
|
/**
|
|
202
|
-
*
|
|
203
|
-
* @
|
|
231
|
+
* ID of the tag to delete.
|
|
232
|
+
* @maxLength 5
|
|
204
233
|
*/
|
|
205
|
-
|
|
234
|
+
tagId: string;
|
|
206
235
|
}
|
|
207
|
-
export interface
|
|
208
|
-
bodyAsJson?: string;
|
|
236
|
+
export interface DeleteTagForAccountResponse {
|
|
209
237
|
}
|
|
210
|
-
export interface
|
|
238
|
+
export interface DeleteTagRequest {
|
|
211
239
|
/**
|
|
212
|
-
*
|
|
213
|
-
* @
|
|
240
|
+
* ID of the tag to delete.
|
|
241
|
+
* @maxLength 5
|
|
214
242
|
*/
|
|
215
|
-
|
|
243
|
+
tagId: string;
|
|
244
|
+
}
|
|
245
|
+
export interface DeleteTagResponse {
|
|
246
|
+
}
|
|
247
|
+
export interface GetGlobalTagRequest {
|
|
216
248
|
/**
|
|
217
|
-
*
|
|
218
|
-
* @maxLength
|
|
249
|
+
* The ID of the tag to retrieve.
|
|
250
|
+
* @maxLength 5
|
|
219
251
|
*/
|
|
220
|
-
|
|
221
|
-
/** The identification type and identity data. */
|
|
222
|
-
identity?: IdentificationData;
|
|
223
|
-
/** Stringify payload. */
|
|
224
|
-
data?: string;
|
|
252
|
+
tagId: string;
|
|
225
253
|
}
|
|
226
|
-
export interface
|
|
254
|
+
export interface GetGlobalTagResponse {
|
|
255
|
+
/** The requested tag. */
|
|
256
|
+
tag?: Tag;
|
|
257
|
+
}
|
|
258
|
+
export interface GetTagForAccountRequest {
|
|
227
259
|
/**
|
|
228
|
-
* ID of
|
|
229
|
-
* @
|
|
260
|
+
* The ID of the tag to retrieve.
|
|
261
|
+
* @maxLength 5
|
|
230
262
|
*/
|
|
231
|
-
|
|
263
|
+
tagId: string;
|
|
264
|
+
}
|
|
265
|
+
export interface GetTagForAccountResponse {
|
|
266
|
+
/** The requested tag. */
|
|
267
|
+
tag?: Tag;
|
|
268
|
+
}
|
|
269
|
+
export interface GetTagRequest {
|
|
232
270
|
/**
|
|
233
|
-
* ID of
|
|
234
|
-
* @
|
|
271
|
+
* The ID of the tag to retrieve.
|
|
272
|
+
* @maxLength 5
|
|
235
273
|
*/
|
|
236
|
-
|
|
274
|
+
tagId: string;
|
|
275
|
+
}
|
|
276
|
+
export interface GetTagResponse {
|
|
277
|
+
/** The requested tag. */
|
|
278
|
+
tag?: Tag;
|
|
279
|
+
}
|
|
280
|
+
export interface ListGlobalTagsRequest {
|
|
237
281
|
/**
|
|
238
|
-
*
|
|
239
|
-
* @
|
|
282
|
+
* The Fully Qualified Domain Name (FQDN) to which the tags are associated.
|
|
283
|
+
* @maxLength 255
|
|
240
284
|
*/
|
|
241
|
-
|
|
285
|
+
fqdn: string;
|
|
242
286
|
/**
|
|
243
|
-
*
|
|
244
|
-
* @
|
|
287
|
+
* The tag exposure.
|
|
288
|
+
* @internal
|
|
245
289
|
*/
|
|
246
|
-
|
|
247
|
-
/** @readonly */
|
|
248
|
-
identityType?: WebhookIdentityType;
|
|
290
|
+
exposure?: TagExposure;
|
|
249
291
|
}
|
|
250
|
-
|
|
251
|
-
|
|
292
|
+
export interface ListGlobalTagsResponse {
|
|
293
|
+
/** A list of tags. */
|
|
294
|
+
tags?: Tag[];
|
|
295
|
+
}
|
|
296
|
+
export interface ListTagsForAccountRequest {
|
|
252
297
|
/**
|
|
253
|
-
*
|
|
254
|
-
* @
|
|
298
|
+
* The Fully Qualified Domain Name (FQDN) to which the tags are associated. Currently supports only eCommerce Orders: `wix.ecom.v1.order`.
|
|
299
|
+
* @maxLength 255
|
|
255
300
|
*/
|
|
256
|
-
|
|
301
|
+
fqdn: string;
|
|
257
302
|
/**
|
|
258
|
-
*
|
|
259
|
-
* @
|
|
303
|
+
* The tag exposure.
|
|
304
|
+
* @internal
|
|
260
305
|
*/
|
|
261
|
-
|
|
306
|
+
exposure?: TagExposure;
|
|
307
|
+
}
|
|
308
|
+
export interface ListTagsForAccountResponse {
|
|
309
|
+
/** A list of tags. */
|
|
310
|
+
tags?: Tag[];
|
|
311
|
+
}
|
|
312
|
+
export interface ListTagsRequest {
|
|
262
313
|
/**
|
|
263
|
-
*
|
|
264
|
-
* @
|
|
314
|
+
* The Fully Qualified Domain Name (FQDN) to which the tags are associated. Currently supports only eCommerce Orders: `wix.ecom.v1.order`.
|
|
315
|
+
* @maxLength 255
|
|
265
316
|
*/
|
|
266
|
-
|
|
317
|
+
fqdn: string;
|
|
267
318
|
/**
|
|
268
|
-
*
|
|
269
|
-
* @
|
|
319
|
+
* The tag exposure.
|
|
320
|
+
* @internal
|
|
270
321
|
*/
|
|
271
|
-
|
|
322
|
+
exposure?: TagExposure;
|
|
272
323
|
}
|
|
273
|
-
export
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
MEMBER = "MEMBER",
|
|
277
|
-
WIX_USER = "WIX_USER",
|
|
278
|
-
APP = "APP"
|
|
324
|
+
export interface ListTagsResponse {
|
|
325
|
+
/** A list of tags. */
|
|
326
|
+
tags?: Tag[];
|
|
279
327
|
}
|
|
280
|
-
export interface
|
|
281
|
-
/** The tag to be
|
|
328
|
+
export interface MigrateTagRequest {
|
|
329
|
+
/** The tag to be migrated with custom createdDate. */
|
|
282
330
|
tag: Tag;
|
|
283
331
|
}
|
|
284
|
-
export interface
|
|
285
|
-
/** The
|
|
332
|
+
export interface MigrateTagResponse {
|
|
333
|
+
/** The migrated tag. */
|
|
286
334
|
tag?: Tag;
|
|
287
335
|
}
|
|
288
|
-
export interface
|
|
336
|
+
export interface QueryTagsForAccountRequest {
|
|
289
337
|
/**
|
|
290
|
-
* The
|
|
338
|
+
* The Fully Qualified Domain Name (FQDN) to which the tags are associated. Currently supports only eCommerce Orders: `wix.ecom.v1.order`.
|
|
339
|
+
* @maxLength 255
|
|
340
|
+
*/
|
|
341
|
+
fqdn: string;
|
|
342
|
+
/**
|
|
343
|
+
* The tag exposure.
|
|
344
|
+
* @internal
|
|
345
|
+
*/
|
|
346
|
+
exposure?: TagExposure;
|
|
347
|
+
/** WQL expression. */
|
|
348
|
+
query: CursorQuery;
|
|
349
|
+
}
|
|
350
|
+
export interface QueryTagsForAccountResponse {
|
|
351
|
+
/** A list of tags. */
|
|
352
|
+
tags?: Tag[];
|
|
353
|
+
/** Paging metadata */
|
|
354
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
355
|
+
}
|
|
356
|
+
export interface QueryTagsRequest {
|
|
357
|
+
/**
|
|
358
|
+
* The Fully Qualified Domain Name (FQDN) to which the tags are associated. Currently supports only eCommerce Orders: `wix.ecom.v1.order`.
|
|
359
|
+
* @maxLength 255
|
|
360
|
+
*/
|
|
361
|
+
fqdn: string;
|
|
362
|
+
/**
|
|
363
|
+
* The tag exposure.
|
|
364
|
+
* @internal
|
|
365
|
+
*/
|
|
366
|
+
exposure?: TagExposure;
|
|
367
|
+
/** WQL expression. */
|
|
368
|
+
query: CursorQuery;
|
|
369
|
+
}
|
|
370
|
+
export interface QueryTagsResponse {
|
|
371
|
+
/** A list of tags. */
|
|
372
|
+
tags?: Tag[];
|
|
373
|
+
/** Paging metadata */
|
|
374
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
375
|
+
}
|
|
376
|
+
export interface Tag {
|
|
377
|
+
/**
|
|
378
|
+
* Tag ID.
|
|
379
|
+
* @readonly
|
|
291
380
|
* @maxLength 5
|
|
292
381
|
*/
|
|
293
|
-
|
|
382
|
+
id?: string | null;
|
|
383
|
+
/**
|
|
384
|
+
* Revision number, which increments by 1 each time the tag is updated.
|
|
385
|
+
* @readonly
|
|
386
|
+
*/
|
|
387
|
+
revision?: string | null;
|
|
388
|
+
/**
|
|
389
|
+
* Date and time the tag was created.
|
|
390
|
+
* @readonly
|
|
391
|
+
*/
|
|
392
|
+
createdDate?: Date | null;
|
|
393
|
+
/**
|
|
394
|
+
* Date and time the tag was last updated.
|
|
395
|
+
* @readonly
|
|
396
|
+
*/
|
|
397
|
+
updatedDate?: Date | null;
|
|
398
|
+
/**
|
|
399
|
+
* Tag name.
|
|
400
|
+
* @maxLength 255
|
|
401
|
+
*/
|
|
402
|
+
name?: string | null;
|
|
403
|
+
/**
|
|
404
|
+
* FQDN of the entity that belongs to this tag.
|
|
405
|
+
* @immutable
|
|
406
|
+
* @maxLength 255
|
|
407
|
+
*/
|
|
408
|
+
fqdn?: string | null;
|
|
409
|
+
/**
|
|
410
|
+
* Tag exposure.
|
|
411
|
+
* @internal
|
|
412
|
+
*/
|
|
413
|
+
exposure?: TagExposure;
|
|
414
|
+
/**
|
|
415
|
+
* Indicates whether this tag is deleted.
|
|
416
|
+
* @internal
|
|
417
|
+
* @readonly
|
|
418
|
+
*/
|
|
419
|
+
deleted?: boolean | null;
|
|
294
420
|
}
|
|
295
|
-
export
|
|
296
|
-
|
|
421
|
+
export declare enum TagExposure {
|
|
422
|
+
UNKNOWN = "UNKNOWN",
|
|
423
|
+
PRIVATE = "PRIVATE",
|
|
424
|
+
/** Not handled by client yet. */
|
|
425
|
+
PUBLIC = "PUBLIC"
|
|
426
|
+
}
|
|
427
|
+
export interface UpdateGlobalTagRequest {
|
|
428
|
+
/** The tag to be updated, which may be partial. */
|
|
429
|
+
tag: Tag;
|
|
430
|
+
}
|
|
431
|
+
export interface UpdateGlobalTagResponse {
|
|
432
|
+
/** The updated tag. */
|
|
433
|
+
tag?: Tag;
|
|
434
|
+
}
|
|
435
|
+
export interface UpdateTagForAccountRequest {
|
|
436
|
+
/** The tag to be updated, which may be partial. */
|
|
437
|
+
tag: Tag;
|
|
438
|
+
}
|
|
439
|
+
export interface UpdateTagForAccountResponse {
|
|
440
|
+
/** The updated tag. */
|
|
297
441
|
tag?: Tag;
|
|
298
442
|
}
|
|
299
443
|
export interface UpdateTagRequest {
|
|
@@ -304,41 +448,109 @@ export interface UpdateTagResponse {
|
|
|
304
448
|
/** The updated tag. */
|
|
305
449
|
tag?: Tag;
|
|
306
450
|
}
|
|
307
|
-
export interface
|
|
451
|
+
export interface CursorPaging {
|
|
308
452
|
/**
|
|
309
|
-
*
|
|
310
|
-
* @
|
|
453
|
+
* Maximum number of items to return in the results.
|
|
454
|
+
* @max 100
|
|
311
455
|
*/
|
|
312
|
-
|
|
456
|
+
limit?: number | null;
|
|
457
|
+
/**
|
|
458
|
+
* Pointer to the next or previous page in the list of results.
|
|
459
|
+
*
|
|
460
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
461
|
+
* Not relevant for the first request.
|
|
462
|
+
* @maxLength 16000
|
|
463
|
+
*/
|
|
464
|
+
cursor?: string | null;
|
|
313
465
|
}
|
|
314
|
-
export interface
|
|
466
|
+
export interface CursorPagingMetadata {
|
|
467
|
+
/** Number of items returned in current page. */
|
|
468
|
+
count?: number | null;
|
|
469
|
+
/** Cursor strings that point to the next page, previous page, or both. */
|
|
470
|
+
cursors?: Cursors;
|
|
471
|
+
/**
|
|
472
|
+
* Whether there are more pages to retrieve following the current page.
|
|
473
|
+
*
|
|
474
|
+
* + `true`: Another page of results can be retrieved.
|
|
475
|
+
* + `false`: This is the last page.
|
|
476
|
+
*/
|
|
477
|
+
hasNext?: boolean | null;
|
|
315
478
|
}
|
|
316
|
-
export interface
|
|
479
|
+
export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
317
480
|
/**
|
|
318
|
-
*
|
|
319
|
-
*
|
|
481
|
+
* Cursor paging options.
|
|
482
|
+
*
|
|
483
|
+
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
320
484
|
*/
|
|
321
|
-
|
|
485
|
+
cursorPaging?: CursorPaging;
|
|
322
486
|
/**
|
|
323
|
-
*
|
|
324
|
-
*
|
|
487
|
+
* Filter object.
|
|
488
|
+
*
|
|
489
|
+
* Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
|
|
325
490
|
*/
|
|
326
|
-
|
|
491
|
+
filter?: Record<string, any> | null;
|
|
492
|
+
/**
|
|
493
|
+
* Sort object.
|
|
494
|
+
*
|
|
495
|
+
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
496
|
+
* @maxSize 5
|
|
497
|
+
*/
|
|
498
|
+
sort?: Sorting[];
|
|
327
499
|
}
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
500
|
+
/** @oneof */
|
|
501
|
+
export interface CursorQueryPagingMethodOneOf {
|
|
502
|
+
/**
|
|
503
|
+
* Cursor paging options.
|
|
504
|
+
*
|
|
505
|
+
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
506
|
+
*/
|
|
507
|
+
cursorPaging?: CursorPaging;
|
|
331
508
|
}
|
|
332
|
-
export interface
|
|
333
|
-
/**
|
|
334
|
-
|
|
509
|
+
export interface Cursors {
|
|
510
|
+
/**
|
|
511
|
+
* Cursor string pointing to the next page in the list of results.
|
|
512
|
+
* @maxLength 16000
|
|
513
|
+
*/
|
|
514
|
+
next?: string | null;
|
|
515
|
+
/**
|
|
516
|
+
* Cursor pointing to the previous page in the list of results.
|
|
517
|
+
* @maxLength 16000
|
|
518
|
+
*/
|
|
519
|
+
prev?: string | null;
|
|
335
520
|
}
|
|
336
|
-
export interface
|
|
337
|
-
/**
|
|
338
|
-
|
|
521
|
+
export interface Sorting {
|
|
522
|
+
/**
|
|
523
|
+
* Name of the field to sort by.
|
|
524
|
+
* @maxLength 512
|
|
525
|
+
*/
|
|
526
|
+
fieldName?: string;
|
|
527
|
+
/** Sort order. */
|
|
528
|
+
order?: SortOrder;
|
|
529
|
+
}
|
|
530
|
+
export declare enum SortOrder {
|
|
531
|
+
ASC = "ASC",
|
|
532
|
+
DESC = "DESC"
|
|
339
533
|
}
|
|
340
534
|
/** @docsIgnore */
|
|
341
|
-
export
|
|
535
|
+
export type CreateGlobalTagApplicationErrors = {
|
|
536
|
+
code?: 'FQDN_NOT_FOUND';
|
|
537
|
+
description?: string;
|
|
538
|
+
data?: Record<string, any>;
|
|
539
|
+
} | {
|
|
540
|
+
code?: 'TAG_NAME_ALREADY_EXISTS';
|
|
541
|
+
description?: string;
|
|
542
|
+
data?: Record<string, any>;
|
|
543
|
+
} | {
|
|
544
|
+
code?: 'TAGS_REACHED_LIMIT';
|
|
545
|
+
description?: string;
|
|
546
|
+
data?: Record<string, any>;
|
|
547
|
+
} | {
|
|
548
|
+
code?: 'CREATE_ID_EXHAUSTED_RETRY_ATTEMPTS';
|
|
549
|
+
description?: string;
|
|
550
|
+
data?: Record<string, any>;
|
|
551
|
+
};
|
|
552
|
+
/** @docsIgnore */
|
|
553
|
+
export type CreateTagForAccountApplicationErrors = {
|
|
342
554
|
code?: 'FQDN_NOT_FOUND';
|
|
343
555
|
description?: string;
|
|
344
556
|
data?: Record<string, any>;
|
|
@@ -356,7 +568,7 @@ export declare type CreateTagForAccountApplicationErrors = {
|
|
|
356
568
|
data?: Record<string, any>;
|
|
357
569
|
};
|
|
358
570
|
/** @docsIgnore */
|
|
359
|
-
export
|
|
571
|
+
export type CreateTagApplicationErrors = {
|
|
360
572
|
code?: 'FQDN_NOT_FOUND';
|
|
361
573
|
description?: string;
|
|
362
574
|
data?: Record<string, any>;
|