@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.
Files changed (116) hide show
  1. package/@wix/ambassador-os-tags-v1-tag/README.md +34 -0
  2. package/@wix/ambassador-os-tags-v1-tag/builders/package.json +3 -3
  3. package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/builders.impl.d.ts +44 -23
  4. package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/builders.impl.js +385 -145
  5. package/@wix/ambassador-os-tags-v1-tag/cjs/build/builders.impl.js.map +1 -0
  6. package/@wix/ambassador-os-tags-v1-tag/cjs/build/crud/http.impl.d.ts +9 -0
  7. package/@wix/ambassador-os-tags-v1-tag/cjs/build/crud/http.impl.js +16 -0
  8. package/@wix/ambassador-os-tags-v1-tag/cjs/build/crud/http.impl.js.map +1 -0
  9. package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/crud/rpc.impl.d.ts +7 -5
  10. package/@wix/ambassador-os-tags-v1-tag/cjs/build/crud/rpc.impl.js +50 -0
  11. package/@wix/ambassador-os-tags-v1-tag/cjs/build/crud/rpc.impl.js.map +1 -0
  12. package/@wix/ambassador-os-tags-v1-tag/cjs/build/http.impl.d.ts +42 -0
  13. package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/http.impl.js +287 -13
  14. package/@wix/ambassador-os-tags-v1-tag/cjs/build/http.impl.js.map +1 -0
  15. package/@wix/ambassador-os-tags-v1-tag/cjs/build/meta.impl.d.ts +46 -0
  16. package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/meta.impl.js +166 -20
  17. package/@wix/ambassador-os-tags-v1-tag/cjs/build/meta.impl.js.map +1 -0
  18. package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/proto/client/proto-generated.d.ts +2520 -0
  19. package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/proto/proto-generated.d.ts +1267 -0
  20. package/@wix/ambassador-os-tags-v1-tag/cjs/build/proto/proto-generated.js +1 -0
  21. package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/proto/server/proto-generated.d.ts +2529 -22
  22. package/@wix/ambassador-os-tags-v1-tag/cjs/build/rpc.impl.d.ts +49 -0
  23. package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/rpc.impl.js +133 -21
  24. package/@wix/ambassador-os-tags-v1-tag/cjs/build/rpc.impl.js.map +1 -0
  25. package/@wix/ambassador-os-tags-v1-tag/{build/es → cjs/build}/types.impl.d.ts +382 -170
  26. package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/types.impl.js +14 -9
  27. package/@wix/ambassador-os-tags-v1-tag/cjs/build/types.impl.js.map +1 -0
  28. package/@wix/ambassador-os-tags-v1-tag/cjs/package.json +3 -0
  29. package/@wix/ambassador-os-tags-v1-tag/crud/http/package.json +3 -3
  30. package/@wix/ambassador-os-tags-v1-tag/crud/rpc/package.json +2 -2
  31. package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/builders.impl.d.ts +44 -23
  32. package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/builders.impl.js +327 -111
  33. package/@wix/ambassador-os-tags-v1-tag/es/build/builders.impl.js.map +1 -0
  34. package/@wix/ambassador-os-tags-v1-tag/es/build/crud/http.impl.d.ts +9 -0
  35. package/@wix/ambassador-os-tags-v1-tag/es/build/crud/http.impl.js +12 -0
  36. package/@wix/ambassador-os-tags-v1-tag/es/build/crud/http.impl.js.map +1 -0
  37. package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/crud/rpc.impl.d.ts +7 -5
  38. package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/crud/rpc.impl.js +12 -4
  39. package/@wix/ambassador-os-tags-v1-tag/es/build/crud/rpc.impl.js.map +1 -0
  40. package/@wix/ambassador-os-tags-v1-tag/es/build/http.impl.d.ts +42 -0
  41. package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/http.impl.js +270 -2
  42. package/@wix/ambassador-os-tags-v1-tag/es/build/http.impl.js.map +1 -0
  43. package/@wix/ambassador-os-tags-v1-tag/es/build/meta.impl.d.ts +46 -0
  44. package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/meta.impl.js +127 -1
  45. package/@wix/ambassador-os-tags-v1-tag/es/build/meta.impl.js.map +1 -0
  46. package/@wix/ambassador-os-tags-v1-tag/es/build/proto/client/proto-generated.d.ts +12332 -0
  47. package/@wix/ambassador-os-tags-v1-tag/es/build/proto/client/proto-generated.js +5 -0
  48. package/@wix/ambassador-os-tags-v1-tag/es/build/proto/proto-generated.d.ts +6182 -0
  49. package/@wix/ambassador-os-tags-v1-tag/es/build/proto/proto-generated.js +1 -0
  50. package/@wix/ambassador-os-tags-v1-tag/es/build/proto/server/proto-generated.d.ts +12307 -0
  51. package/@wix/ambassador-os-tags-v1-tag/es/build/proto/server/proto-generated.js +5 -0
  52. package/@wix/ambassador-os-tags-v1-tag/es/build/rpc.impl.d.ts +49 -0
  53. package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/rpc.impl.js +93 -1
  54. package/@wix/ambassador-os-tags-v1-tag/es/build/rpc.impl.js.map +1 -0
  55. package/@wix/ambassador-os-tags-v1-tag/{build/cjs → es/build}/types.impl.d.ts +382 -170
  56. package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/types.impl.js +12 -7
  57. package/@wix/ambassador-os-tags-v1-tag/es/build/types.impl.js.map +1 -0
  58. package/@wix/ambassador-os-tags-v1-tag/http/package.json +3 -3
  59. package/@wix/ambassador-os-tags-v1-tag/meta/package.json +3 -3
  60. package/@wix/ambassador-os-tags-v1-tag/package.json +68 -13
  61. package/@wix/ambassador-os-tags-v1-tag/rpc/package.json +2 -2
  62. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/com/wixpress/iptf/webhooks/debug.proto +34 -0
  63. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/com/wixpress/iptf/webhooks/kv.proto +42 -0
  64. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/com/wixpress/iptf/webhooks/message_envelope.proto +54 -0
  65. 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
  66. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/webhooks_debug_service.proto +32 -0
  67. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/webhooks_sync_service.proto +33 -0
  68. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/annotations.proto +111 -3
  69. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/callback.proto +10 -0
  70. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/entity.proto +6 -0
  71. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/permissions.proto +6 -0
  72. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/subscription.proto +1 -1
  73. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/validations.proto +5 -0
  74. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/domainevents/attributeupdated.proto +20 -0
  75. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/domainevents/domainevents.proto +112 -0
  76. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/query.proto +69 -0
  77. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tag.proto +12 -0
  78. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tags_account_service.proto +43 -3
  79. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tags_global_service.proto +171 -0
  80. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tags_service.proto +49 -3
  81. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/upstream/wix/common/bulk.proto +69 -0
  82. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/upstream/wix/common/paging.proto +121 -0
  83. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/upstream/wix/common/query.proto +771 -0
  84. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/upstream/wix/common/sorting.proto +27 -0
  85. package/@wix/ambassador-os-tags-v1-tag/types/package.json +3 -3
  86. package/@wix/bex-bundled-mini-essentials/CHANGELOG.md +4 -0
  87. package/@wix/bex-bundled-mini-essentials/package.json +1 -1
  88. package/package.json +4 -4
  89. package/@wix/ambassador-os-tags-v1-tag/build/cjs/builders.impl.js.map +0 -1
  90. package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/http.impl.d.ts +0 -1
  91. package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/http.impl.js +0 -5
  92. package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/http.impl.js.map +0 -1
  93. package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/rpc.impl.js +0 -41
  94. package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/rpc.impl.js.map +0 -1
  95. package/@wix/ambassador-os-tags-v1-tag/build/cjs/http.impl.d.ts +0 -26
  96. package/@wix/ambassador-os-tags-v1-tag/build/cjs/http.impl.js.map +0 -1
  97. package/@wix/ambassador-os-tags-v1-tag/build/cjs/meta.impl.d.ts +0 -33
  98. package/@wix/ambassador-os-tags-v1-tag/build/cjs/meta.impl.js.map +0 -1
  99. package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/proto-generated.js +0 -83454
  100. package/@wix/ambassador-os-tags-v1-tag/build/cjs/rpc.impl.d.ts +0 -34
  101. package/@wix/ambassador-os-tags-v1-tag/build/cjs/rpc.impl.js.map +0 -1
  102. package/@wix/ambassador-os-tags-v1-tag/build/cjs/types.impl.js.map +0 -1
  103. package/@wix/ambassador-os-tags-v1-tag/build/es/builders.impl.js.map +0 -1
  104. package/@wix/ambassador-os-tags-v1-tag/build/es/crud/http.impl.d.ts +0 -1
  105. package/@wix/ambassador-os-tags-v1-tag/build/es/crud/http.impl.js +0 -2
  106. package/@wix/ambassador-os-tags-v1-tag/build/es/crud/http.impl.js.map +0 -1
  107. package/@wix/ambassador-os-tags-v1-tag/build/es/crud/rpc.impl.js.map +0 -1
  108. package/@wix/ambassador-os-tags-v1-tag/build/es/http.impl.d.ts +0 -26
  109. package/@wix/ambassador-os-tags-v1-tag/build/es/http.impl.js.map +0 -1
  110. package/@wix/ambassador-os-tags-v1-tag/build/es/meta.impl.d.ts +0 -33
  111. package/@wix/ambassador-os-tags-v1-tag/build/es/meta.impl.js.map +0 -1
  112. package/@wix/ambassador-os-tags-v1-tag/build/es/rpc.impl.d.ts +0 -34
  113. package/@wix/ambassador-os-tags-v1-tag/build/es/rpc.impl.js.map +0 -1
  114. package/@wix/ambassador-os-tags-v1-tag/build/es/types.impl.js.map +0 -1
  115. /package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/proto/client/proto-generated.js +0 -0
  116. /package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/proto/server/proto-generated.js +0 -0
@@ -8,6 +8,228 @@ type $$GeneratedMessage$$<C> = Function & { prototype: C } & $GeneratedMessageCl
8
8
  declare namespace $wrapper {
9
9
  export namespace com {
10
10
  export namespace wixpress {
11
+ export namespace iptf {
12
+ export namespace webhooks {
13
+ export abstract class Debug {
14
+ abstract queryMessageId(aspects: AspectStore, req: $wrapper.com.wixpress.iptf.webhooks.IQueryMessageIdRequest): Promise<$wrapper.com.wixpress.iptf.webhooks.IQueryResponse>
15
+ abstract queryOffset(aspects: AspectStore, req: $wrapper.com.wixpress.iptf.webhooks.IQueryOffsetRequest): Promise<$wrapper.com.wixpress.iptf.webhooks.IQueryResponse>
16
+ }
17
+ export interface IQueryOffsetRequest {
18
+ topic?: (string | null);
19
+ partition?: (number | null);
20
+ offset?: ((number | string) | null);
21
+ }
22
+ export class QueryOffsetRequest implements IQueryOffsetRequest {
23
+ constructor(data?: IQueryOffsetRequest);
24
+ topic?: (string | null);
25
+ partition?: (number | null);
26
+ offset?: ((number | string) | null);
27
+ static __$$generatedFromProtobuf$$__: Symbol;
28
+ }
29
+ export interface IQueryMessageIdRequest {
30
+ messageId?: (string | null);
31
+ }
32
+ export class QueryMessageIdRequest implements IQueryMessageIdRequest {
33
+ constructor(data?: IQueryMessageIdRequest);
34
+ messageId?: (string | null);
35
+ static __$$generatedFromProtobuf$$__: Symbol;
36
+ }
37
+ export interface IQueryResponse {
38
+ json?: (string[] | null);
39
+ }
40
+ export class QueryResponse implements IQueryResponse {
41
+ constructor(data?: IQueryResponse);
42
+ json?: (string[] | null);
43
+ static __$$generatedFromProtobuf$$__: Symbol;
44
+ }
45
+ export abstract class WebhooksKV {
46
+ abstract queryApp(aspects: AspectStore, req: $wrapper.com.wixpress.iptf.webhooks.IQueryAppRequest): Promise<$wrapper.com.wixpress.iptf.webhooks.IQueryAppResponse>
47
+ abstract queryAppSecretAndPrivateKey(aspects: AspectStore, req: $wrapper.com.wixpress.iptf.webhooks.IQueryAppSecretAndPrivateKeyRequest): Promise<$wrapper.com.wixpress.iptf.webhooks.IQueryAppSecretAndPrivateKeyResponse>
48
+ }
49
+ export interface IQueryAppRequest {
50
+ appDefId?: (string | null);
51
+ version?: (string | null);
52
+ }
53
+ export class QueryAppRequest implements IQueryAppRequest {
54
+ constructor(data?: IQueryAppRequest);
55
+ appDefId?: (string | null);
56
+ version?: (string | null);
57
+ static __$$generatedFromProtobuf$$__: Symbol;
58
+ }
59
+ export interface IQueryAppSecretAndPrivateKeyRequest {
60
+ appDefId?: (string | null);
61
+ }
62
+ export class QueryAppSecretAndPrivateKeyRequest implements IQueryAppSecretAndPrivateKeyRequest {
63
+ constructor(data?: IQueryAppSecretAndPrivateKeyRequest);
64
+ appDefId?: (string | null);
65
+ static __$$generatedFromProtobuf$$__: Symbol;
66
+ }
67
+ export interface IQueryAppSecretAndPrivateKeyResponse {
68
+ privateKey?: (string | null);
69
+ secret?: (string | null);
70
+ }
71
+ export class QueryAppSecretAndPrivateKeyResponse implements IQueryAppSecretAndPrivateKeyResponse {
72
+ constructor(data?: IQueryAppSecretAndPrivateKeyResponse);
73
+ privateKey?: (string | null);
74
+ secret?: (string | null);
75
+ static __$$generatedFromProtobuf$$__: Symbol;
76
+ }
77
+ export interface IQueryAppResponse {
78
+ permissions?: (string[] | null);
79
+ privateKey?: (string | null);
80
+ secret?: (string | null);
81
+ webhook?: ($wrapper.com.wixpress.iptf.webhooks.IDispatcherAppWebhook[] | null);
82
+ }
83
+ export class QueryAppResponse implements IQueryAppResponse {
84
+ constructor(data?: IQueryAppResponse);
85
+ permissions?: (string[] | null);
86
+ privateKey?: (string | null);
87
+ secret?: (string | null);
88
+ webhook?: ($wrapper.com.wixpress.iptf.webhooks.IDispatcherAppWebhook[] | null);
89
+ static __$$generatedFromProtobuf$$__: Symbol;
90
+ }
91
+ export interface IDispatcherAppWebhook {
92
+ webhookSlug?: (string | null);
93
+ callbackUrl?: (string | null);
94
+ }
95
+ export class DispatcherAppWebhook implements IDispatcherAppWebhook {
96
+ constructor(data?: IDispatcherAppWebhook);
97
+ webhookSlug?: (string | null);
98
+ callbackUrl?: (string | null);
99
+ static __$$generatedFromProtobuf$$__: Symbol;
100
+ }
101
+ export namespace api {
102
+ export namespace v1 {
103
+ export abstract class WebhooksDebugService {
104
+ abstract submit(aspects: AspectStore, req: $wrapper.com.wixpress.iptf.webhooks.api.v1.ISubmitWebhookRequest): Promise<$wrapper.com.wixpress.iptf.webhooks.api.v1.ISubmitWebhookResponse>
105
+ }
106
+ export interface ISubmitWebhookRequest {
107
+ url?: (string | null);
108
+ eventType?: (string | null);
109
+ topic?: (string | null);
110
+ payload?: (string | null);
111
+ httpMethod?: (string | null);
112
+ jwtSecret?: (string | null);
113
+ expireInMs?: ((number | string) | null);
114
+ submitted?: ((number | string) | null);
115
+ shouldOverrideProxy?: (boolean | null);
116
+ rsaPrivateKey?: (string | null);
117
+ }
118
+ export class SubmitWebhookRequest implements ISubmitWebhookRequest {
119
+ constructor(data?: ISubmitWebhookRequest);
120
+ url?: (string | null);
121
+ eventType?: (string | null);
122
+ topic?: (string | null);
123
+ payload?: (string | null);
124
+ httpMethod?: (string | null);
125
+ jwtSecret?: (string | null);
126
+ expireInMs?: ((number | string) | null);
127
+ submitted?: ((number | string) | null);
128
+ shouldOverrideProxy?: (boolean | null);
129
+ rsaPrivateKey?: (string | null);
130
+ static __$$generatedFromProtobuf$$__: Symbol;
131
+ }
132
+ export interface ISubmitWebhookResponse {
133
+ statusCode?: (number | null);
134
+ message?: (string | null);
135
+ }
136
+ export class SubmitWebhookResponse implements ISubmitWebhookResponse {
137
+ constructor(data?: ISubmitWebhookResponse);
138
+ statusCode?: (number | null);
139
+ message?: (string | null);
140
+ static __$$generatedFromProtobuf$$__: Symbol;
141
+ }
142
+ export abstract class WebhooksSyncService {
143
+ abstract signHash(aspects: AspectStore, req: $wrapper.com.wixpress.iptf.webhooks.api.v1.ISignHashRequest): Promise<$wrapper.com.wixpress.iptf.webhooks.api.v1.ISignResponse>
144
+ }
145
+ export interface ISignHashRequest {
146
+ hashedPayload?: (string | null);
147
+ algorithm?: ($wrapper.com.wixpress.iptf.webhooks.api.v1.HashFunction | null);
148
+ appdefId?: (string | null);
149
+ expirationInMillis?: ((number | string) | null);
150
+ artifactId?: (string | null);
151
+ }
152
+ export class SignHashRequest implements ISignHashRequest {
153
+ constructor(data?: ISignHashRequest);
154
+ hashedPayload?: (string | null);
155
+ algorithm?: ($wrapper.com.wixpress.iptf.webhooks.api.v1.HashFunction | null);
156
+ appdefId?: (string | null);
157
+ expirationInMillis?: ((number | string) | null);
158
+ artifactId?: (string | null);
159
+ static __$$generatedFromProtobuf$$__: Symbol;
160
+ }
161
+ export interface ISignResponse {
162
+ token?: (string | null);
163
+ }
164
+ export class SignResponse implements ISignResponse {
165
+ constructor(data?: ISignResponse);
166
+ token?: (string | null);
167
+ static __$$generatedFromProtobuf$$__: Symbol;
168
+ }
169
+ export enum HashFunction {
170
+ SHA256 = "SHA256",
171
+ }
172
+ }
173
+ }
174
+ }
175
+ export namespace v1 {
176
+ export namespace webhooks {
177
+ export interface IMessageEnvelope {
178
+ instanceId?: (string | null);
179
+ eventType?: (string | null);
180
+ identity?: ($wrapper.com.wixpress.iptf.v1.webhooks.IIdentificationData | null);
181
+ data?: (string | null);
182
+ accountInfo?: ($wrapper.com.wixpress.iptf.v1.webhooks.IAccountInfo | null);
183
+ }
184
+ export class MessageEnvelope implements IMessageEnvelope {
185
+ constructor(data?: IMessageEnvelope);
186
+ instanceId?: (string | null);
187
+ eventType?: (string | null);
188
+ identity?: ($wrapper.com.wixpress.iptf.v1.webhooks.IIdentificationData | null);
189
+ data?: (string | null);
190
+ accountInfo?: ($wrapper.com.wixpress.iptf.v1.webhooks.IAccountInfo | null);
191
+ static __$$generatedFromProtobuf$$__: Symbol;
192
+ }
193
+ export interface IIdentificationData {
194
+ identityType?: ($wrapper.com.wixpress.iptf.v1.webhooks.IdentificationData.WebhookIdentityType | null);
195
+ anonymousVisitorId?: (string | null);
196
+ memberId?: (string | null);
197
+ wixUserId?: (string | null);
198
+ appId?: (string | null);
199
+ }
200
+ export class IdentificationData implements IIdentificationData {
201
+ constructor(data?: IIdentificationData);
202
+ identityType?: ($wrapper.com.wixpress.iptf.v1.webhooks.IdentificationData.WebhookIdentityType | null);
203
+ anonymousVisitorId?: (string | null);
204
+ memberId?: (string | null);
205
+ wixUserId?: (string | null);
206
+ appId?: (string | null);
207
+ static __$$generatedFromProtobuf$$__: Symbol;
208
+ }
209
+ export namespace IdentificationData {
210
+ export enum WebhookIdentityType {
211
+ UNKNOWN = "UNKNOWN",
212
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
213
+ MEMBER = "MEMBER",
214
+ WIX_USER = "WIX_USER",
215
+ APP = "APP",
216
+ }
217
+ }
218
+ export interface IAccountInfo {
219
+ accountId?: (string | null);
220
+ parentAccountId?: (string | null);
221
+ siteId?: (string | null);
222
+ }
223
+ export class AccountInfo implements IAccountInfo {
224
+ constructor(data?: IAccountInfo);
225
+ accountId?: (string | null);
226
+ parentAccountId?: (string | null);
227
+ siteId?: (string | null);
228
+ static __$$generatedFromProtobuf$$__: Symbol;
229
+ }
230
+ }
231
+ }
232
+ }
11
233
  export namespace items_selection {
12
234
  export namespace spi {
13
235
  export namespace v1 {
@@ -113,6 +335,9 @@ declare namespace $wrapper {
113
335
  PIPELINE_LINKED_ENTITY = "PIPELINE_LINKED_ENTITY",
114
336
  GET_PAID = "GET_PAID",
115
337
  PIPELINE_CARD_CATALOG_ITEM = "PIPELINE_CARD_CATALOG_ITEM",
338
+ OWNER_CHECKOUT = "OWNER_CHECKOUT",
339
+ ECOM_PREVIEW_CHECKOUT = "ECOM_PREVIEW_CHECKOUT",
340
+ ALL_CATEGORIES = "ALL_CATEGORIES",
116
341
  }
117
342
  export enum PaginationMode {
118
343
  UNKNOWN_PAGINATION_MODE = "UNKNOWN_PAGINATION_MODE",
@@ -468,11 +693,13 @@ declare namespace $wrapper {
468
693
  export interface IAlignedWithEnum {
469
694
  field?: (string | null);
470
695
  suffix?: (string | null);
696
+ skipEmptyOptionsHandling?: (boolean | null);
471
697
  }
472
698
  export class AlignedWithEnum implements IAlignedWithEnum {
473
699
  constructor(data?: IAlignedWithEnum);
474
700
  field?: (string | null);
475
701
  suffix?: (string | null);
702
+ skipEmptyOptionsHandling?: (boolean | null);
476
703
  static __$$generatedFromProtobuf$$__: Symbol;
477
704
  }
478
705
  export enum Format {
@@ -1071,6 +1298,7 @@ declare namespace $wrapper {
1071
1298
  NO_VIRTUAL_SUBFIELDS = "NO_VIRTUAL_SUBFIELDS",
1072
1299
  DATE = "DATE",
1073
1300
  EMAIL = "EMAIL",
1301
+ DATE_TIME = "DATE_TIME",
1074
1302
  }
1075
1303
  export interface IOperatorFieldSupport {
1076
1304
  operator?: ($wrapper.wix.api.Wql.Operator[] | null);
@@ -1173,6 +1401,113 @@ declare namespace $wrapper {
1173
1401
  GA = "GA",
1174
1402
  NOT_IMPLEMENTED = "NOT_IMPLEMENTED",
1175
1403
  }
1404
+ export interface IAudience {
1405
+ uou?: ($wrapper.wix.api.Audience.IUou | null);
1406
+ apps?: ($wrapper.wix.api.Audience.IApps | null);
1407
+ users?: ($wrapper.wix.api.Audience.IUsers | null);
1408
+ boUsers?: ($wrapper.wix.api.Audience.IBoUsers | null);
1409
+ anonymous?: ($wrapper.wix.api.Audience.IAnonymous | null);
1410
+ }
1411
+ export class Audience implements IAudience {
1412
+ constructor(data?: IAudience);
1413
+ uou?: ($wrapper.wix.api.Audience.IUou | null);
1414
+ apps?: ($wrapper.wix.api.Audience.IApps | null);
1415
+ users?: ($wrapper.wix.api.Audience.IUsers | null);
1416
+ boUsers?: ($wrapper.wix.api.Audience.IBoUsers | null);
1417
+ anonymous?: ($wrapper.wix.api.Audience.IAnonymous | null);
1418
+ static __$$generatedFromProtobuf$$__: Symbol;
1419
+ }
1420
+ export namespace Audience {
1421
+ export interface IUou {
1422
+ access?: ($wrapper.wix.api.Audience.Uou.Access | null);
1423
+ }
1424
+ export class Uou implements IUou {
1425
+ constructor(data?: IUou);
1426
+ access?: ($wrapper.wix.api.Audience.Uou.Access | null);
1427
+ static __$$generatedFromProtobuf$$__: Symbol;
1428
+ }
1429
+ export namespace Uou {
1430
+ export enum Access {
1431
+ NOT_ALLOWED = "NOT_ALLOWED",
1432
+ MEMBER_ONLY = "MEMBER_ONLY",
1433
+ MEMBERS_AND_VISITORS = "MEMBERS_AND_VISITORS",
1434
+ }
1435
+ }
1436
+ export interface IApps {
1437
+ access?: ($wrapper.wix.api.Audience.Apps.Access | null);
1438
+ }
1439
+ export class Apps implements IApps {
1440
+ constructor(data?: IApps);
1441
+ access?: ($wrapper.wix.api.Audience.Apps.Access | null);
1442
+ static __$$generatedFromProtobuf$$__: Symbol;
1443
+ }
1444
+ export namespace Apps {
1445
+ export enum Access {
1446
+ NOT_ALLOWED = "NOT_ALLOWED",
1447
+ WIX_APPS_ONLY = "WIX_APPS_ONLY",
1448
+ WIX_AND_PUBLIC_APPS = "WIX_AND_PUBLIC_APPS",
1449
+ }
1450
+ }
1451
+ export interface IUsers {
1452
+ access?: ($wrapper.wix.api.Audience.Users.Access | null);
1453
+ }
1454
+ export class Users implements IUsers {
1455
+ constructor(data?: IUsers);
1456
+ access?: ($wrapper.wix.api.Audience.Users.Access | null);
1457
+ static __$$generatedFromProtobuf$$__: Symbol;
1458
+ }
1459
+ export namespace Users {
1460
+ export enum Access {
1461
+ NOT_ALLOWED = "NOT_ALLOWED",
1462
+ ALLOWED = "ALLOWED",
1463
+ }
1464
+ }
1465
+ export interface IBoUsers {
1466
+ access?: ($wrapper.wix.api.Audience.BoUsers.Access | null);
1467
+ }
1468
+ export class BoUsers implements IBoUsers {
1469
+ constructor(data?: IBoUsers);
1470
+ access?: ($wrapper.wix.api.Audience.BoUsers.Access | null);
1471
+ static __$$generatedFromProtobuf$$__: Symbol;
1472
+ }
1473
+ export namespace BoUsers {
1474
+ export enum Access {
1475
+ NOT_ALLOWED = "NOT_ALLOWED",
1476
+ ALLOWED = "ALLOWED",
1477
+ }
1478
+ }
1479
+ export interface IAnonymous {
1480
+ access?: ($wrapper.wix.api.Audience.Anonymous.Access | null);
1481
+ }
1482
+ export class Anonymous implements IAnonymous {
1483
+ constructor(data?: IAnonymous);
1484
+ access?: ($wrapper.wix.api.Audience.Anonymous.Access | null);
1485
+ static __$$generatedFromProtobuf$$__: Symbol;
1486
+ }
1487
+ export namespace Anonymous {
1488
+ export enum Access {
1489
+ NOT_ALLOWED = "NOT_ALLOWED",
1490
+ ALLOWED = "ALLOWED",
1491
+ }
1492
+ }
1493
+ }
1494
+ export interface ITenancyOptions {
1495
+ type?: ($wrapper.wix.api.TenancyOptions.Type | null);
1496
+ }
1497
+ export class TenancyOptions implements ITenancyOptions {
1498
+ constructor(data?: ITenancyOptions);
1499
+ type?: ($wrapper.wix.api.TenancyOptions.Type | null);
1500
+ static __$$generatedFromProtobuf$$__: Symbol;
1501
+ }
1502
+ export namespace TenancyOptions {
1503
+ export enum Type {
1504
+ SITE = "SITE",
1505
+ ACCOUNT = "ACCOUNT",
1506
+ ORGANIZATION = "ORGANIZATION",
1507
+ CUSTOM = "CUSTOM",
1508
+ INSTANCE = "INSTANCE",
1509
+ }
1510
+ }
1176
1511
  export interface IServiceEntity {
1177
1512
  message?: (string | null);
1178
1513
  namespace?: (string | null);
@@ -1202,6 +1537,7 @@ declare namespace $wrapper {
1202
1537
  eventsMaturity?: ($wrapper.wix.api.Maturity | null);
1203
1538
  persistence?: ($wrapper.wix.api.IPersistence | null);
1204
1539
  permissionOptions?: ($wrapper.wix.api.IPermissionCatalogOptions | null);
1540
+ tenancy?: ($wrapper.wix.api.ITenancyOptions | null);
1205
1541
  }
1206
1542
  export class Entity implements IEntity {
1207
1543
  constructor(data?: IEntity);
@@ -1223,6 +1559,7 @@ declare namespace $wrapper {
1223
1559
  eventsMaturity?: ($wrapper.wix.api.Maturity | null);
1224
1560
  persistence?: ($wrapper.wix.api.IPersistence | null);
1225
1561
  permissionOptions?: ($wrapper.wix.api.IPermissionCatalogOptions | null);
1562
+ tenancy?: ($wrapper.wix.api.ITenancyOptions | null);
1226
1563
  static __$$generatedFromProtobuf$$__: Symbol;
1227
1564
  }
1228
1565
  export interface IPermissionCatalogOptions {
@@ -1342,6 +1679,7 @@ declare namespace $wrapper {
1342
1679
  eventType?: ($wrapper.wix.api.Callback.EventType | null);
1343
1680
  exposure?: ($wrapper.wix.api.Exposure | null);
1344
1681
  maturity?: ($wrapper.wix.api.Maturity | null);
1682
+ tenancy?: ($wrapper.wix.api.Tenancy | null);
1345
1683
  }
1346
1684
  export class Callback implements ICallback {
1347
1685
  constructor(data?: ICallback);
@@ -1352,6 +1690,7 @@ declare namespace $wrapper {
1352
1690
  eventType?: ($wrapper.wix.api.Callback.EventType | null);
1353
1691
  exposure?: ($wrapper.wix.api.Exposure | null);
1354
1692
  maturity?: ($wrapper.wix.api.Maturity | null);
1693
+ tenancy?: ($wrapper.wix.api.Tenancy | null);
1355
1694
  static __$$generatedFromProtobuf$$__: Symbol;
1356
1695
  }
1357
1696
  export namespace Callback {
@@ -1428,6 +1767,14 @@ declare namespace $wrapper {
1428
1767
  payload?: (string | null);
1429
1768
  static __$$generatedFromProtobuf$$__: Symbol;
1430
1769
  }
1770
+ /**
1771
+ * Indicates the callback tenancy
1772
+ */
1773
+ export enum Tenancy {
1774
+ SITE = "SITE",
1775
+ ACCOUNT = "ACCOUNT",
1776
+ GLOBAL = "GLOBAL",
1777
+ }
1431
1778
  export interface ISegment {
1432
1779
  }
1433
1780
  export class Segment implements ISegment {
@@ -1654,17 +2001,23 @@ declare namespace $wrapper {
1654
2001
  export interface IPermissionRule {
1655
2002
  name?: (string | null);
1656
2003
  type?: ($wrapper.wix.api.PermissionType | null);
2004
+ abacRequestValidation?: ($wrapper.wix.api.AbacRequestValidationMode | null);
1657
2005
  }
1658
2006
  export class PermissionRule implements IPermissionRule {
1659
2007
  constructor(data?: IPermissionRule);
1660
2008
  name?: (string | null);
1661
2009
  type?: ($wrapper.wix.api.PermissionType | null);
2010
+ abacRequestValidation?: ($wrapper.wix.api.AbacRequestValidationMode | null);
1662
2011
  static __$$generatedFromProtobuf$$__: Symbol;
1663
2012
  }
1664
2013
  export enum PermissionType {
1665
2014
  AUTO = "AUTO",
1666
2015
  MANUAL = "MANUAL",
1667
2016
  }
2017
+ export enum AbacRequestValidationMode {
2018
+ ON = "ON",
2019
+ OFF = "OFF",
2020
+ }
1668
2021
  export interface ISla {
1669
2022
  responseTimeMs?: (number | null);
1670
2023
  }
@@ -2908,6 +3261,112 @@ declare namespace $wrapper {
2908
3261
  }
2909
3262
  }
2910
3263
  }
3264
+ export namespace domainevents {
3265
+ export interface IAttributeUpdated {
3266
+ previousValue?: (any | null);
3267
+ value?: (any | null);
3268
+ }
3269
+ export class AttributeUpdated implements IAttributeUpdated {
3270
+ constructor(data?: IAttributeUpdated);
3271
+ previousValue?: (any | null);
3272
+ value?: (any | null);
3273
+ static __$$generatedFromProtobuf$$__: Symbol;
3274
+ }
3275
+ export interface IEntityCreatedEvent {
3276
+ entityAsJson?: (string | null);
3277
+ triggeredByUndelete?: (boolean | null);
3278
+ restoreInfo?: ($wrapper.wix.common.domainevents.IRestoreInfo | null);
3279
+ additionalMetadataAsJson?: (string | null);
3280
+ }
3281
+ export class EntityCreatedEvent implements IEntityCreatedEvent {
3282
+ constructor(data?: IEntityCreatedEvent);
3283
+ entityAsJson?: (string | null);
3284
+ triggeredByUndelete?: (boolean | null);
3285
+ restoreInfo?: ($wrapper.wix.common.domainevents.IRestoreInfo | null);
3286
+ additionalMetadataAsJson?: (string | null);
3287
+ static __$$generatedFromProtobuf$$__: Symbol;
3288
+ }
3289
+ export interface IEntityUpdatedEvent {
3290
+ currentEntityAsJson?: (string | null);
3291
+ previousEntityAsJson?: (string | null);
3292
+ modifiedFields?: ({ [k: string]: any } | null);
3293
+ additionalMetadataAsJson?: (string | null);
3294
+ }
3295
+ export class EntityUpdatedEvent implements IEntityUpdatedEvent {
3296
+ constructor(data?: IEntityUpdatedEvent);
3297
+ currentEntityAsJson?: (string | null);
3298
+ previousEntityAsJson?: (string | null);
3299
+ modifiedFields?: ({ [k: string]: any });
3300
+ additionalMetadataAsJson?: (string | null);
3301
+ static __$$generatedFromProtobuf$$__: Symbol;
3302
+ }
3303
+ export interface IEntityDeletedEvent {
3304
+ movedToTrash?: (boolean | null);
3305
+ deletedEntityAsJson?: (string | null);
3306
+ additionalMetadataAsJson?: (string | null);
3307
+ }
3308
+ export class EntityDeletedEvent implements IEntityDeletedEvent {
3309
+ constructor(data?: IEntityDeletedEvent);
3310
+ movedToTrash?: (boolean | null);
3311
+ deletedEntityAsJson?: (string | null);
3312
+ additionalMetadataAsJson?: (string | null);
3313
+ static __$$generatedFromProtobuf$$__: Symbol;
3314
+ }
3315
+ export interface IActionEvent {
3316
+ bodyAsJson?: (string | null);
3317
+ }
3318
+ export class ActionEvent implements IActionEvent {
3319
+ constructor(data?: IActionEvent);
3320
+ bodyAsJson?: (string | null);
3321
+ static __$$generatedFromProtobuf$$__: Symbol;
3322
+ }
3323
+ export interface IDomainEvent {
3324
+ id?: (string | null);
3325
+ entityFqdn?: (string | null);
3326
+ slug?: (string | null);
3327
+ entityId?: (string | null);
3328
+ createdEvent?: ($wrapper.wix.common.domainevents.IEntityCreatedEvent | null);
3329
+ updatedEvent?: ($wrapper.wix.common.domainevents.IEntityUpdatedEvent | null);
3330
+ deletedEvent?: ($wrapper.wix.common.domainevents.IEntityDeletedEvent | null);
3331
+ actionEvent?: ($wrapper.wix.common.domainevents.IActionEvent | null);
3332
+ eventTime?: (Date | null);
3333
+ triggeredByAnonymizeRequest?: (boolean | null);
3334
+ originatedFrom?: (string | null);
3335
+ entityEventSequence?: ((number | string) | null);
3336
+ }
3337
+ export class DomainEvent implements IDomainEvent {
3338
+ constructor(data?: IDomainEvent);
3339
+ id?: (string | null);
3340
+ entityFqdn?: (string | null);
3341
+ slug?: (string | null);
3342
+ entityId?: (string | null);
3343
+ createdEvent?: ($wrapper.wix.common.domainevents.IEntityCreatedEvent | null);
3344
+ updatedEvent?: ($wrapper.wix.common.domainevents.IEntityUpdatedEvent | null);
3345
+ deletedEvent?: ($wrapper.wix.common.domainevents.IEntityDeletedEvent | null);
3346
+ actionEvent?: ($wrapper.wix.common.domainevents.IActionEvent | null);
3347
+ eventTime?: (Date | null);
3348
+ triggeredByAnonymizeRequest?: (boolean | null);
3349
+ originatedFrom?: (string | null);
3350
+ entityEventSequence?: ((number | string) | null);
3351
+ static __$$generatedFromProtobuf$$__: Symbol;
3352
+ }
3353
+ export interface IDomainEvents {
3354
+ domainEvents?: ($wrapper.wix.common.domainevents.IDomainEvent[] | null);
3355
+ }
3356
+ export class DomainEvents implements IDomainEvents {
3357
+ constructor(data?: IDomainEvents);
3358
+ domainEvents?: ($wrapper.wix.common.domainevents.IDomainEvent[] | null);
3359
+ static __$$generatedFromProtobuf$$__: Symbol;
3360
+ }
3361
+ export interface IRestoreInfo {
3362
+ deletedDate?: (Date | null);
3363
+ }
3364
+ export class RestoreInfo implements IRestoreInfo {
3365
+ constructor(data?: IRestoreInfo);
3366
+ deletedDate?: (Date | null);
3367
+ static __$$generatedFromProtobuf$$__: Symbol;
3368
+ }
3369
+ }
2911
3370
  export interface IIdentificationData {
2912
3371
  contactId?: (string | null);
2913
3372
  identityType?: ($wrapper.wix.common.IdentificationData.IdentityType | null);
@@ -3289,6 +3748,30 @@ declare namespace $wrapper {
3289
3748
  fields?: (string[] | null);
3290
3749
  static __$$generatedFromProtobuf$$__: Symbol;
3291
3750
  }
3751
+ export interface ISearchSuggest {
3752
+ suggest?: ($wrapper.wix.common.ISearchSuggestDetails | null);
3753
+ sort?: ($wrapper.wix.common.ISorting[] | null);
3754
+ filter?: ({ [key: string]: any } | null);
3755
+ limit?: (number | null);
3756
+ }
3757
+ export class SearchSuggest implements ISearchSuggest {
3758
+ constructor(data?: ISearchSuggest);
3759
+ suggest?: ($wrapper.wix.common.ISearchSuggestDetails | null);
3760
+ sort?: ($wrapper.wix.common.ISorting[] | null);
3761
+ filter?: ({ [key: string]: any } | null);
3762
+ limit?: (number | null);
3763
+ static __$$generatedFromProtobuf$$__: Symbol;
3764
+ }
3765
+ export interface ISearchSuggestDetails {
3766
+ expression?: (string | null);
3767
+ fields?: (string[] | null);
3768
+ }
3769
+ export class SearchSuggestDetails implements ISearchSuggestDetails {
3770
+ constructor(data?: ISearchSuggestDetails);
3771
+ expression?: (string | null);
3772
+ fields?: (string[] | null);
3773
+ static __$$generatedFromProtobuf$$__: Symbol;
3774
+ }
3292
3775
  export interface ISearchDetails {
3293
3776
  mode?: ($wrapper.wix.common.SearchDetails.Mode | null);
3294
3777
  expression?: (string | null);
@@ -3505,6 +3988,7 @@ declare namespace $wrapper {
3505
3988
  groupedByValue?: ($wrapper.wix.common.AggregationData.AggregationResults.IGroupByValueResults | null);
3506
3989
  dateHistogram?: ($wrapper.wix.common.AggregationData.AggregationResults.IDateHistogramResults | null);
3507
3990
  nested?: ($wrapper.wix.common.AggregationData.AggregationResults.INestedResults | null);
3991
+ scalarDate?: ($wrapper.wix.common.AggregationData.AggregationResults.IScalarDateResult | null);
3508
3992
  }
3509
3993
  export class AggregationResults implements IAggregationResults {
3510
3994
  constructor(data?: IAggregationResults);
@@ -3517,6 +4001,7 @@ declare namespace $wrapper {
3517
4001
  groupedByValue?: ($wrapper.wix.common.AggregationData.AggregationResults.IGroupByValueResults | null);
3518
4002
  dateHistogram?: ($wrapper.wix.common.AggregationData.AggregationResults.IDateHistogramResults | null);
3519
4003
  nested?: ($wrapper.wix.common.AggregationData.AggregationResults.INestedResults | null);
4004
+ scalarDate?: ($wrapper.wix.common.AggregationData.AggregationResults.IScalarDateResult | null);
3520
4005
  static __$$generatedFromProtobuf$$__: Symbol;
3521
4006
  }
3522
4007
  export namespace AggregationResults {
@@ -3572,6 +4057,16 @@ declare namespace $wrapper {
3572
4057
  value?: (number | null);
3573
4058
  static __$$generatedFromProtobuf$$__: Symbol;
3574
4059
  }
4060
+ export interface IScalarDateResult {
4061
+ type?: ($wrapper.wix.common.ScalarType | null);
4062
+ value?: (string | null);
4063
+ }
4064
+ export class ScalarDateResult implements IScalarDateResult {
4065
+ constructor(data?: IScalarDateResult);
4066
+ type?: ($wrapper.wix.common.ScalarType | null);
4067
+ value?: (string | null);
4068
+ static __$$generatedFromProtobuf$$__: Symbol;
4069
+ }
3575
4070
  export interface IGroupByValueResults {
3576
4071
  results?: ($wrapper.wix.common.AggregationData.AggregationResults.GroupByValueResults.INestedValueAggregationResult[] | null);
3577
4072
  }
@@ -3649,11 +4144,20 @@ declare namespace $wrapper {
3649
4144
  value?: (number | null);
3650
4145
  static __$$generatedFromProtobuf$$__: Symbol;
3651
4146
  }
4147
+ export interface IScalarDateResult {
4148
+ value?: (string | null);
4149
+ }
4150
+ export class ScalarDateResult implements IScalarDateResult {
4151
+ constructor(data?: IScalarDateResult);
4152
+ value?: (string | null);
4153
+ static __$$generatedFromProtobuf$$__: Symbol;
4154
+ }
3652
4155
  export interface INestedResultValue {
3653
4156
  value?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult | null);
3654
4157
  range?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IRangeResult | null);
3655
4158
  scalar?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IScalarResult | null);
3656
4159
  dateHistogram?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult | null);
4160
+ scalarDate?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IScalarDateResult | null);
3657
4161
  }
3658
4162
  export class NestedResultValue implements INestedResultValue {
3659
4163
  constructor(data?: INestedResultValue);
@@ -3661,6 +4165,7 @@ declare namespace $wrapper {
3661
4165
  range?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IRangeResult | null);
3662
4166
  scalar?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IScalarResult | null);
3663
4167
  dateHistogram?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult | null);
4168
+ scalarDate?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IScalarDateResult | null);
3664
4169
  static __$$generatedFromProtobuf$$__: Symbol;
3665
4170
  }
3666
4171
  export interface IResults {
@@ -4027,6 +4532,10 @@ declare namespace $wrapper {
4027
4532
  * Retrieves a list of tags.
4028
4533
  */
4029
4534
  abstract listTagsForAccount(aspects: AspectStore, req: $wrapper.wix.os.v1.IListTagsForAccountRequest): Promise<$wrapper.wix.os.v1.IListTagsForAccountResponse>
4535
+ /**
4536
+ * Retrieves a list of tags.
4537
+ */
4538
+ abstract queryTagsForAccount(aspects: AspectStore, req: $wrapper.wix.os.v1.IQueryTagsForAccountRequest): Promise<$wrapper.wix.os.v1.IQueryTagsForAccountResponse>
4030
4539
  }
4031
4540
  export interface ICreateTagForAccountRequest {
4032
4541
  tag?: ($wrapper.wix.os.v1.ITag | null);
@@ -4108,6 +4617,732 @@ declare namespace $wrapper {
4108
4617
  tags?: ($wrapper.wix.os.v1.ITag[] | null);
4109
4618
  static __$$generatedFromProtobuf$$__: Symbol;
4110
4619
  }
4620
+ export interface IQueryTagsForAccountRequest {
4621
+ fqdn?: (string | null);
4622
+ exposure?: ($wrapper.wix.os.v1.TagExposure | null);
4623
+ query?: ($wrapper.wix.os.v1.upstream.wix.common.ICursorQuery | null);
4624
+ }
4625
+ export class QueryTagsForAccountRequest implements IQueryTagsForAccountRequest {
4626
+ constructor(data?: IQueryTagsForAccountRequest);
4627
+ fqdn?: (string | null);
4628
+ exposure?: ($wrapper.wix.os.v1.TagExposure | null);
4629
+ query?: ($wrapper.wix.os.v1.upstream.wix.common.ICursorQuery | null);
4630
+ static __$$generatedFromProtobuf$$__: Symbol;
4631
+ }
4632
+ export interface IQueryTagsForAccountResponse {
4633
+ tags?: ($wrapper.wix.os.v1.ITag[] | null);
4634
+ pagingMetadata?: ($wrapper.wix.os.v1.upstream.wix.common.ICursorPagingMetadata | null);
4635
+ }
4636
+ export class QueryTagsForAccountResponse implements IQueryTagsForAccountResponse {
4637
+ constructor(data?: IQueryTagsForAccountResponse);
4638
+ tags?: ($wrapper.wix.os.v1.ITag[] | null);
4639
+ pagingMetadata?: ($wrapper.wix.os.v1.upstream.wix.common.ICursorPagingMetadata | null);
4640
+ static __$$generatedFromProtobuf$$__: Symbol;
4641
+ }
4642
+ export namespace upstream {
4643
+ export namespace wix {
4644
+ export namespace common {
4645
+ export interface ICursorQuery {
4646
+ filter?: ({ [key: string]: any } | null);
4647
+ sort?: ($wrapper.wix.os.v1.upstream.wix.common.ISorting[] | null);
4648
+ cursorPaging?: ($wrapper.wix.os.v1.upstream.wix.common.ICursorPaging | null);
4649
+ }
4650
+ export class CursorQuery implements ICursorQuery {
4651
+ constructor(data?: ICursorQuery);
4652
+ filter?: ({ [key: string]: any } | null);
4653
+ sort?: ($wrapper.wix.os.v1.upstream.wix.common.ISorting[] | null);
4654
+ cursorPaging?: ($wrapper.wix.os.v1.upstream.wix.common.ICursorPaging | null);
4655
+ static __$$generatedFromProtobuf$$__: Symbol;
4656
+ }
4657
+ export interface ISearch {
4658
+ filter?: ({ [key: string]: any } | null);
4659
+ sort?: ($wrapper.wix.os.v1.upstream.wix.common.ISorting[] | null);
4660
+ fields?: (string[] | null);
4661
+ fieldsets?: (string[] | null);
4662
+ aggregations?: ($wrapper.wix.os.v1.upstream.wix.common.IAggregation[] | null);
4663
+ search?: ($wrapper.wix.os.v1.upstream.wix.common.ISearchDetails | null);
4664
+ paging?: ($wrapper.wix.os.v1.upstream.wix.common.IPaging | null);
4665
+ cursorPaging?: ($wrapper.wix.os.v1.upstream.wix.common.ICursorPaging | null);
4666
+ timeZone?: (string | null);
4667
+ }
4668
+ export class Search implements ISearch {
4669
+ constructor(data?: ISearch);
4670
+ filter?: ({ [key: string]: any } | null);
4671
+ sort?: ($wrapper.wix.os.v1.upstream.wix.common.ISorting[] | null);
4672
+ fields?: (string[] | null);
4673
+ fieldsets?: (string[] | null);
4674
+ aggregations?: ($wrapper.wix.os.v1.upstream.wix.common.IAggregation[] | null);
4675
+ search?: ($wrapper.wix.os.v1.upstream.wix.common.ISearchDetails | null);
4676
+ paging?: ($wrapper.wix.os.v1.upstream.wix.common.IPaging | null);
4677
+ cursorPaging?: ($wrapper.wix.os.v1.upstream.wix.common.ICursorPaging | null);
4678
+ timeZone?: (string | null);
4679
+ static __$$generatedFromProtobuf$$__: Symbol;
4680
+ }
4681
+ export interface ICursorSearch {
4682
+ filter?: ({ [key: string]: any } | null);
4683
+ sort?: ($wrapper.wix.os.v1.upstream.wix.common.ISorting[] | null);
4684
+ aggregations?: ($wrapper.wix.os.v1.upstream.wix.common.IAggregation[] | null);
4685
+ search?: ($wrapper.wix.os.v1.upstream.wix.common.ISearchDetails | null);
4686
+ cursorPaging?: ($wrapper.wix.os.v1.upstream.wix.common.ICursorPaging | null);
4687
+ timeZone?: (string | null);
4688
+ }
4689
+ export class CursorSearch implements ICursorSearch {
4690
+ constructor(data?: ICursorSearch);
4691
+ filter?: ({ [key: string]: any } | null);
4692
+ sort?: ($wrapper.wix.os.v1.upstream.wix.common.ISorting[] | null);
4693
+ aggregations?: ($wrapper.wix.os.v1.upstream.wix.common.IAggregation[] | null);
4694
+ search?: ($wrapper.wix.os.v1.upstream.wix.common.ISearchDetails | null);
4695
+ cursorPaging?: ($wrapper.wix.os.v1.upstream.wix.common.ICursorPaging | null);
4696
+ timeZone?: (string | null);
4697
+ static __$$generatedFromProtobuf$$__: Symbol;
4698
+ }
4699
+ export interface ISearchRelated {
4700
+ relatedToIds?: (string[] | null);
4701
+ search?: ($wrapper.wix.os.v1.upstream.wix.common.ISearchRelatedDetails | null);
4702
+ filter?: ({ [key: string]: any } | null);
4703
+ sort?: ($wrapper.wix.os.v1.upstream.wix.common.ISorting[] | null);
4704
+ limit?: (number | null);
4705
+ }
4706
+ export class SearchRelated implements ISearchRelated {
4707
+ constructor(data?: ISearchRelated);
4708
+ relatedToIds?: (string[] | null);
4709
+ search?: ($wrapper.wix.os.v1.upstream.wix.common.ISearchRelatedDetails | null);
4710
+ filter?: ({ [key: string]: any } | null);
4711
+ sort?: ($wrapper.wix.os.v1.upstream.wix.common.ISorting[] | null);
4712
+ limit?: (number | null);
4713
+ static __$$generatedFromProtobuf$$__: Symbol;
4714
+ }
4715
+ export interface ISearchRelatedDetails {
4716
+ expression?: (string | null);
4717
+ fields?: (string[] | null);
4718
+ }
4719
+ export class SearchRelatedDetails implements ISearchRelatedDetails {
4720
+ constructor(data?: ISearchRelatedDetails);
4721
+ expression?: (string | null);
4722
+ fields?: (string[] | null);
4723
+ static __$$generatedFromProtobuf$$__: Symbol;
4724
+ }
4725
+ export interface ISearchDetails {
4726
+ mode?: ($wrapper.wix.os.v1.upstream.wix.common.SearchDetails.Mode | null);
4727
+ expression?: (string | null);
4728
+ fields?: (string[] | null);
4729
+ fuzzy?: (boolean | null);
4730
+ }
4731
+ export class SearchDetails implements ISearchDetails {
4732
+ constructor(data?: ISearchDetails);
4733
+ mode?: ($wrapper.wix.os.v1.upstream.wix.common.SearchDetails.Mode | null);
4734
+ expression?: (string | null);
4735
+ fields?: (string[] | null);
4736
+ fuzzy?: (boolean | null);
4737
+ static __$$generatedFromProtobuf$$__: Symbol;
4738
+ }
4739
+ export namespace SearchDetails {
4740
+ export enum Mode {
4741
+ OR = "OR",
4742
+ AND = "AND",
4743
+ }
4744
+ }
4745
+ export enum AggregationType {
4746
+ UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
4747
+ VALUE = "VALUE",
4748
+ RANGE = "RANGE",
4749
+ SCALAR = "SCALAR",
4750
+ DATE_HISTOGRAM = "DATE_HISTOGRAM",
4751
+ NESTED = "NESTED",
4752
+ }
4753
+ export enum ScalarType {
4754
+ UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE",
4755
+ COUNT_DISTINCT = "COUNT_DISTINCT",
4756
+ MIN = "MIN",
4757
+ MAX = "MAX",
4758
+ SUM = "SUM",
4759
+ AVG = "AVG",
4760
+ }
4761
+ export interface IAggregation {
4762
+ name?: (string | null);
4763
+ type?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationType | null);
4764
+ fieldPath?: (string | null);
4765
+ value?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.IValueAggregation | null);
4766
+ range?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.IRangeAggregation | null);
4767
+ scalar?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.IScalarAggregation | null);
4768
+ dateHistogram?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.IDateHistogramAggregation | null);
4769
+ nested?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.INestedAggregation | null);
4770
+ }
4771
+ export class Aggregation implements IAggregation {
4772
+ constructor(data?: IAggregation);
4773
+ name?: (string | null);
4774
+ type?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationType | null);
4775
+ fieldPath?: (string | null);
4776
+ value?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.IValueAggregation | null);
4777
+ range?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.IRangeAggregation | null);
4778
+ scalar?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.IScalarAggregation | null);
4779
+ dateHistogram?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.IDateHistogramAggregation | null);
4780
+ nested?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.INestedAggregation | null);
4781
+ static __$$generatedFromProtobuf$$__: Symbol;
4782
+ }
4783
+ export namespace Aggregation {
4784
+ export interface IRangeAggregation {
4785
+ buckets?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.RangeAggregation.IRangeBucket[] | null);
4786
+ }
4787
+ export class RangeAggregation implements IRangeAggregation {
4788
+ constructor(data?: IRangeAggregation);
4789
+ buckets?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.RangeAggregation.IRangeBucket[] | null);
4790
+ static __$$generatedFromProtobuf$$__: Symbol;
4791
+ }
4792
+ export namespace RangeAggregation {
4793
+ export interface IRangeBucket {
4794
+ from?: (number | null);
4795
+ to?: (number | null);
4796
+ }
4797
+ export class RangeBucket implements IRangeBucket {
4798
+ constructor(data?: IRangeBucket);
4799
+ from?: (number | null);
4800
+ to?: (number | null);
4801
+ static __$$generatedFromProtobuf$$__: Symbol;
4802
+ }
4803
+ }
4804
+ export interface IValueAggregation {
4805
+ sortType?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.ValueAggregation.SortType | null);
4806
+ sortDirection?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.ValueAggregation.SortDirection | null);
4807
+ limit?: (number | null);
4808
+ missingValues?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.ValueAggregation.MissingValues | null);
4809
+ includeOptions?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.ValueAggregation.IIncludeMissingValuesOptions | null);
4810
+ }
4811
+ export class ValueAggregation implements IValueAggregation {
4812
+ constructor(data?: IValueAggregation);
4813
+ sortType?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.ValueAggregation.SortType | null);
4814
+ sortDirection?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.ValueAggregation.SortDirection | null);
4815
+ limit?: (number | null);
4816
+ missingValues?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.ValueAggregation.MissingValues | null);
4817
+ includeOptions?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.ValueAggregation.IIncludeMissingValuesOptions | null);
4818
+ static __$$generatedFromProtobuf$$__: Symbol;
4819
+ }
4820
+ export namespace ValueAggregation {
4821
+ export enum SortType {
4822
+ COUNT = "COUNT",
4823
+ VALUE = "VALUE",
4824
+ }
4825
+ export enum SortDirection {
4826
+ DESC = "DESC",
4827
+ ASC = "ASC",
4828
+ }
4829
+ export enum MissingValues {
4830
+ EXCLUDE = "EXCLUDE",
4831
+ INCLUDE = "INCLUDE",
4832
+ }
4833
+ export interface IIncludeMissingValuesOptions {
4834
+ addToBucket?: (string | null);
4835
+ }
4836
+ export class IncludeMissingValuesOptions implements IIncludeMissingValuesOptions {
4837
+ constructor(data?: IIncludeMissingValuesOptions);
4838
+ addToBucket?: (string | null);
4839
+ static __$$generatedFromProtobuf$$__: Symbol;
4840
+ }
4841
+ }
4842
+ export interface IScalarAggregation {
4843
+ type?: ($wrapper.wix.os.v1.upstream.wix.common.ScalarType | null);
4844
+ }
4845
+ export class ScalarAggregation implements IScalarAggregation {
4846
+ constructor(data?: IScalarAggregation);
4847
+ type?: ($wrapper.wix.os.v1.upstream.wix.common.ScalarType | null);
4848
+ static __$$generatedFromProtobuf$$__: Symbol;
4849
+ }
4850
+ export interface IGroupByAggregation {
4851
+ name?: (string | null);
4852
+ fieldPath?: (string | null);
4853
+ value?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.IValueAggregation | null);
4854
+ }
4855
+ export class GroupByAggregation implements IGroupByAggregation {
4856
+ constructor(data?: IGroupByAggregation);
4857
+ name?: (string | null);
4858
+ fieldPath?: (string | null);
4859
+ value?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.IValueAggregation | null);
4860
+ static __$$generatedFromProtobuf$$__: Symbol;
4861
+ }
4862
+ export interface INestedAggregation {
4863
+ nestedAggregations?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.NestedAggregation.INestedAggregationItem[] | null);
4864
+ }
4865
+ export class NestedAggregation implements INestedAggregation {
4866
+ constructor(data?: INestedAggregation);
4867
+ nestedAggregations?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.NestedAggregation.INestedAggregationItem[] | null);
4868
+ static __$$generatedFromProtobuf$$__: Symbol;
4869
+ }
4870
+ export namespace NestedAggregation {
4871
+ export enum NestedAggregationType {
4872
+ UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
4873
+ VALUE = "VALUE",
4874
+ RANGE = "RANGE",
4875
+ SCALAR = "SCALAR",
4876
+ DATE_HISTOGRAM = "DATE_HISTOGRAM",
4877
+ }
4878
+ export interface INestedAggregationItem {
4879
+ name?: (string | null);
4880
+ type?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.NestedAggregation.NestedAggregationType | null);
4881
+ fieldPath?: (string | null);
4882
+ value?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.IValueAggregation | null);
4883
+ range?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.IRangeAggregation | null);
4884
+ scalar?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.IScalarAggregation | null);
4885
+ dateHistogram?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.IDateHistogramAggregation | null);
4886
+ }
4887
+ export class NestedAggregationItem implements INestedAggregationItem {
4888
+ constructor(data?: INestedAggregationItem);
4889
+ name?: (string | null);
4890
+ type?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.NestedAggregation.NestedAggregationType | null);
4891
+ fieldPath?: (string | null);
4892
+ value?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.IValueAggregation | null);
4893
+ range?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.IRangeAggregation | null);
4894
+ scalar?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.IScalarAggregation | null);
4895
+ dateHistogram?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.IDateHistogramAggregation | null);
4896
+ static __$$generatedFromProtobuf$$__: Symbol;
4897
+ }
4898
+ }
4899
+ export interface IDateHistogramAggregation {
4900
+ interval?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.DateHistogramAggregation.Interval | null);
4901
+ }
4902
+ export class DateHistogramAggregation implements IDateHistogramAggregation {
4903
+ constructor(data?: IDateHistogramAggregation);
4904
+ interval?: ($wrapper.wix.os.v1.upstream.wix.common.Aggregation.DateHistogramAggregation.Interval | null);
4905
+ static __$$generatedFromProtobuf$$__: Symbol;
4906
+ }
4907
+ export namespace DateHistogramAggregation {
4908
+ export enum Interval {
4909
+ UNKNOWN_INTERVAL = "UNKNOWN_INTERVAL",
4910
+ YEAR = "YEAR",
4911
+ MONTH = "MONTH",
4912
+ WEEK = "WEEK",
4913
+ DAY = "DAY",
4914
+ HOUR = "HOUR",
4915
+ MINUTE = "MINUTE",
4916
+ SECOND = "SECOND",
4917
+ }
4918
+ }
4919
+ }
4920
+ export interface IAggregationData {
4921
+ results?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.IAggregationResults[] | null);
4922
+ }
4923
+ export class AggregationData implements IAggregationData {
4924
+ constructor(data?: IAggregationData);
4925
+ results?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.IAggregationResults[] | null);
4926
+ static __$$generatedFromProtobuf$$__: Symbol;
4927
+ }
4928
+ export namespace AggregationData {
4929
+ export interface IAggregationResults {
4930
+ name?: (string | null);
4931
+ type?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationType | null);
4932
+ fieldPath?: (string | null);
4933
+ values?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.IValueResults | null);
4934
+ ranges?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.IRangeResults | null);
4935
+ scalar?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.IScalarResult | null);
4936
+ groupedByValue?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.IGroupByValueResults | null);
4937
+ dateHistogram?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.IDateHistogramResults | null);
4938
+ nested?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.INestedResults | null);
4939
+ }
4940
+ export class AggregationResults implements IAggregationResults {
4941
+ constructor(data?: IAggregationResults);
4942
+ name?: (string | null);
4943
+ type?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationType | null);
4944
+ fieldPath?: (string | null);
4945
+ values?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.IValueResults | null);
4946
+ ranges?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.IRangeResults | null);
4947
+ scalar?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.IScalarResult | null);
4948
+ groupedByValue?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.IGroupByValueResults | null);
4949
+ dateHistogram?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.IDateHistogramResults | null);
4950
+ nested?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.INestedResults | null);
4951
+ static __$$generatedFromProtobuf$$__: Symbol;
4952
+ }
4953
+ export namespace AggregationResults {
4954
+ export interface IValueResults {
4955
+ results?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.ValueResults.IValueAggregationResult[] | null);
4956
+ }
4957
+ export class ValueResults implements IValueResults {
4958
+ constructor(data?: IValueResults);
4959
+ results?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.ValueResults.IValueAggregationResult[] | null);
4960
+ static __$$generatedFromProtobuf$$__: Symbol;
4961
+ }
4962
+ export namespace ValueResults {
4963
+ export interface IValueAggregationResult {
4964
+ value?: (string | null);
4965
+ count?: (number | null);
4966
+ }
4967
+ export class ValueAggregationResult implements IValueAggregationResult {
4968
+ constructor(data?: IValueAggregationResult);
4969
+ value?: (string | null);
4970
+ count?: (number | null);
4971
+ static __$$generatedFromProtobuf$$__: Symbol;
4972
+ }
4973
+ }
4974
+ export interface IRangeResults {
4975
+ results?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.RangeResults.IRangeAggregationResult[] | null);
4976
+ }
4977
+ export class RangeResults implements IRangeResults {
4978
+ constructor(data?: IRangeResults);
4979
+ results?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.RangeResults.IRangeAggregationResult[] | null);
4980
+ static __$$generatedFromProtobuf$$__: Symbol;
4981
+ }
4982
+ export namespace RangeResults {
4983
+ export interface IRangeAggregationResult {
4984
+ from?: (number | null);
4985
+ to?: (number | null);
4986
+ count?: (number | null);
4987
+ }
4988
+ export class RangeAggregationResult implements IRangeAggregationResult {
4989
+ constructor(data?: IRangeAggregationResult);
4990
+ from?: (number | null);
4991
+ to?: (number | null);
4992
+ count?: (number | null);
4993
+ static __$$generatedFromProtobuf$$__: Symbol;
4994
+ }
4995
+ }
4996
+ export interface IScalarResult {
4997
+ type?: ($wrapper.wix.os.v1.upstream.wix.common.ScalarType | null);
4998
+ value?: (number | null);
4999
+ }
5000
+ export class ScalarResult implements IScalarResult {
5001
+ constructor(data?: IScalarResult);
5002
+ type?: ($wrapper.wix.os.v1.upstream.wix.common.ScalarType | null);
5003
+ value?: (number | null);
5004
+ static __$$generatedFromProtobuf$$__: Symbol;
5005
+ }
5006
+ export interface IGroupByValueResults {
5007
+ results?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.GroupByValueResults.INestedValueAggregationResult[] | null);
5008
+ }
5009
+ export class GroupByValueResults implements IGroupByValueResults {
5010
+ constructor(data?: IGroupByValueResults);
5011
+ results?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.GroupByValueResults.INestedValueAggregationResult[] | null);
5012
+ static __$$generatedFromProtobuf$$__: Symbol;
5013
+ }
5014
+ export namespace GroupByValueResults {
5015
+ export interface INestedValueAggregationResult {
5016
+ value?: (string | null);
5017
+ nestedResults?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.INestedAggregationResults | null);
5018
+ }
5019
+ export class NestedValueAggregationResult implements INestedValueAggregationResult {
5020
+ constructor(data?: INestedValueAggregationResult);
5021
+ value?: (string | null);
5022
+ nestedResults?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.INestedAggregationResults | null);
5023
+ static __$$generatedFromProtobuf$$__: Symbol;
5024
+ }
5025
+ }
5026
+ export interface INestedAggregationResults {
5027
+ name?: (string | null);
5028
+ type?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationType | null);
5029
+ fieldPath?: (string | null);
5030
+ values?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.IValueResults | null);
5031
+ ranges?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.IRangeResults | null);
5032
+ scalar?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.IScalarResult | null);
5033
+ }
5034
+ export class NestedAggregationResults implements INestedAggregationResults {
5035
+ constructor(data?: INestedAggregationResults);
5036
+ name?: (string | null);
5037
+ type?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationType | null);
5038
+ fieldPath?: (string | null);
5039
+ values?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.IValueResults | null);
5040
+ ranges?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.IRangeResults | null);
5041
+ scalar?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.IScalarResult | null);
5042
+ static __$$generatedFromProtobuf$$__: Symbol;
5043
+ }
5044
+ export interface INestedResults {
5045
+ results?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.NestedResults.IResults[] | null);
5046
+ }
5047
+ export class NestedResults implements INestedResults {
5048
+ constructor(data?: INestedResults);
5049
+ results?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.NestedResults.IResults[] | null);
5050
+ static __$$generatedFromProtobuf$$__: Symbol;
5051
+ }
5052
+ export namespace NestedResults {
5053
+ export interface IValueResult {
5054
+ value?: (string | null);
5055
+ count?: (number | null);
5056
+ }
5057
+ export class ValueResult implements IValueResult {
5058
+ constructor(data?: IValueResult);
5059
+ value?: (string | null);
5060
+ count?: (number | null);
5061
+ static __$$generatedFromProtobuf$$__: Symbol;
5062
+ }
5063
+ export interface IRangeResult {
5064
+ from?: (number | null);
5065
+ to?: (number | null);
5066
+ count?: (number | null);
5067
+ }
5068
+ export class RangeResult implements IRangeResult {
5069
+ constructor(data?: IRangeResult);
5070
+ from?: (number | null);
5071
+ to?: (number | null);
5072
+ count?: (number | null);
5073
+ static __$$generatedFromProtobuf$$__: Symbol;
5074
+ }
5075
+ export interface IScalarResult {
5076
+ value?: (number | null);
5077
+ }
5078
+ export class ScalarResult implements IScalarResult {
5079
+ constructor(data?: IScalarResult);
5080
+ value?: (number | null);
5081
+ static __$$generatedFromProtobuf$$__: Symbol;
5082
+ }
5083
+ export interface INestedResultValue {
5084
+ value?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult | null);
5085
+ range?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.NestedResults.IRangeResult | null);
5086
+ scalar?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.NestedResults.IScalarResult | null);
5087
+ dateHistogram?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult | null);
5088
+ }
5089
+ export class NestedResultValue implements INestedResultValue {
5090
+ constructor(data?: INestedResultValue);
5091
+ value?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult | null);
5092
+ range?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.NestedResults.IRangeResult | null);
5093
+ scalar?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.NestedResults.IScalarResult | null);
5094
+ dateHistogram?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult | null);
5095
+ static __$$generatedFromProtobuf$$__: Symbol;
5096
+ }
5097
+ export interface IResults {
5098
+ results?: ({ [k: string]: $wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.NestedResults.INestedResultValue } | null);
5099
+ }
5100
+ export class Results implements IResults {
5101
+ constructor(data?: IResults);
5102
+ results?: ({ [k: string]: $wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.NestedResults.INestedResultValue });
5103
+ static __$$generatedFromProtobuf$$__: Symbol;
5104
+ }
5105
+ }
5106
+ export interface IDateHistogramResults {
5107
+ results?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.DateHistogramResults.IDateHistogramResult[] | null);
5108
+ }
5109
+ export class DateHistogramResults implements IDateHistogramResults {
5110
+ constructor(data?: IDateHistogramResults);
5111
+ results?: ($wrapper.wix.os.v1.upstream.wix.common.AggregationData.AggregationResults.DateHistogramResults.IDateHistogramResult[] | null);
5112
+ static __$$generatedFromProtobuf$$__: Symbol;
5113
+ }
5114
+ export namespace DateHistogramResults {
5115
+ export interface IDateHistogramResult {
5116
+ value?: (string | null);
5117
+ count?: (number | null);
5118
+ }
5119
+ export class DateHistogramResult implements IDateHistogramResult {
5120
+ constructor(data?: IDateHistogramResult);
5121
+ value?: (string | null);
5122
+ count?: (number | null);
5123
+ static __$$generatedFromProtobuf$$__: Symbol;
5124
+ }
5125
+ }
5126
+ }
5127
+ }
5128
+ export interface IPaging {
5129
+ limit?: (number | null);
5130
+ offset?: (number | null);
5131
+ }
5132
+ export class Paging implements IPaging {
5133
+ constructor(data?: IPaging);
5134
+ limit?: (number | null);
5135
+ offset?: (number | null);
5136
+ static __$$generatedFromProtobuf$$__: Symbol;
5137
+ }
5138
+ export interface ICursorPaging {
5139
+ limit?: (number | null);
5140
+ cursor?: (string | null);
5141
+ }
5142
+ export class CursorPaging implements ICursorPaging {
5143
+ constructor(data?: ICursorPaging);
5144
+ limit?: (number | null);
5145
+ cursor?: (string | null);
5146
+ static __$$generatedFromProtobuf$$__: Symbol;
5147
+ }
5148
+ export interface IPagingMetadata {
5149
+ count?: (number | null);
5150
+ offset?: (number | null);
5151
+ total?: (number | null);
5152
+ tooManyToCount?: (boolean | null);
5153
+ hasNext?: (boolean | null);
5154
+ }
5155
+ export class PagingMetadata implements IPagingMetadata {
5156
+ constructor(data?: IPagingMetadata);
5157
+ count?: (number | null);
5158
+ offset?: (number | null);
5159
+ total?: (number | null);
5160
+ tooManyToCount?: (boolean | null);
5161
+ hasNext?: (boolean | null);
5162
+ static __$$generatedFromProtobuf$$__: Symbol;
5163
+ }
5164
+ export interface IPagingMetadataV2 {
5165
+ count?: (number | null);
5166
+ offset?: (number | null);
5167
+ total?: (number | null);
5168
+ tooManyToCount?: (boolean | null);
5169
+ cursors?: ($wrapper.wix.os.v1.upstream.wix.common.ICursors | null);
5170
+ hasNext?: (boolean | null);
5171
+ }
5172
+ export class PagingMetadataV2 implements IPagingMetadataV2 {
5173
+ constructor(data?: IPagingMetadataV2);
5174
+ count?: (number | null);
5175
+ offset?: (number | null);
5176
+ total?: (number | null);
5177
+ tooManyToCount?: (boolean | null);
5178
+ cursors?: ($wrapper.wix.os.v1.upstream.wix.common.ICursors | null);
5179
+ hasNext?: (boolean | null);
5180
+ static __$$generatedFromProtobuf$$__: Symbol;
5181
+ }
5182
+ export interface ICursorPagingMetadata {
5183
+ count?: (number | null);
5184
+ cursors?: ($wrapper.wix.os.v1.upstream.wix.common.ICursors | null);
5185
+ hasNext?: (boolean | null);
5186
+ }
5187
+ export class CursorPagingMetadata implements ICursorPagingMetadata {
5188
+ constructor(data?: ICursorPagingMetadata);
5189
+ count?: (number | null);
5190
+ cursors?: ($wrapper.wix.os.v1.upstream.wix.common.ICursors | null);
5191
+ hasNext?: (boolean | null);
5192
+ static __$$generatedFromProtobuf$$__: Symbol;
5193
+ }
5194
+ export interface ICursors {
5195
+ next?: (string | null);
5196
+ prev?: (string | null);
5197
+ }
5198
+ export class Cursors implements ICursors {
5199
+ constructor(data?: ICursors);
5200
+ next?: (string | null);
5201
+ prev?: (string | null);
5202
+ static __$$generatedFromProtobuf$$__: Symbol;
5203
+ }
5204
+ export interface ISorting {
5205
+ fieldName?: (string | null);
5206
+ order?: ($wrapper.wix.os.v1.upstream.wix.common.SortOrder | null);
5207
+ }
5208
+ export class Sorting implements ISorting {
5209
+ constructor(data?: ISorting);
5210
+ fieldName?: (string | null);
5211
+ order?: ($wrapper.wix.os.v1.upstream.wix.common.SortOrder | null);
5212
+ static __$$generatedFromProtobuf$$__: Symbol;
5213
+ }
5214
+ export enum SortOrder {
5215
+ ASC = "ASC",
5216
+ DESC = "DESC",
5217
+ }
5218
+ export interface IBulkActionMetadata {
5219
+ totalSuccesses?: (number | null);
5220
+ totalFailures?: (number | null);
5221
+ undetailedFailures?: (number | null);
5222
+ }
5223
+ export class BulkActionMetadata implements IBulkActionMetadata {
5224
+ constructor(data?: IBulkActionMetadata);
5225
+ totalSuccesses?: (number | null);
5226
+ totalFailures?: (number | null);
5227
+ undetailedFailures?: (number | null);
5228
+ static __$$generatedFromProtobuf$$__: Symbol;
5229
+ }
5230
+ export interface IItemMetadata {
5231
+ id?: (string | null);
5232
+ originalIndex?: (number | null);
5233
+ success?: (boolean | null);
5234
+ error?: ($wrapper.wix.api.IApplicationError | null);
5235
+ }
5236
+ export class ItemMetadata implements IItemMetadata {
5237
+ constructor(data?: IItemMetadata);
5238
+ id?: (string | null);
5239
+ originalIndex?: (number | null);
5240
+ success?: (boolean | null);
5241
+ error?: ($wrapper.wix.api.IApplicationError | null);
5242
+ static __$$generatedFromProtobuf$$__: Symbol;
5243
+ }
5244
+ export enum BulkActionType {
5245
+ UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
5246
+ INSERT = "INSERT",
5247
+ UPDATE = "UPDATE",
5248
+ DELETE = "DELETE",
5249
+ }
5250
+ }
5251
+ }
5252
+ }
5253
+ /**
5254
+ * Manages Global Tags
5255
+ */
5256
+ export abstract class TagsGlobalService {
5257
+ abstract createGlobalTag(aspects: AspectStore, req: $wrapper.wix.os.v1.ICreateGlobalTagRequest): Promise<$wrapper.wix.os.v1.ICreateGlobalTagResponse>
5258
+ abstract getGlobalTag(aspects: AspectStore, req: $wrapper.wix.os.v1.IGetGlobalTagRequest): Promise<$wrapper.wix.os.v1.IGetGlobalTagResponse>
5259
+ abstract updateGlobalTag(aspects: AspectStore, req: $wrapper.wix.os.v1.IUpdateGlobalTagRequest): Promise<$wrapper.wix.os.v1.IUpdateGlobalTagResponse>
5260
+ abstract deleteGlobalTag(aspects: AspectStore, req: $wrapper.wix.os.v1.IDeleteGlobalTagRequest): Promise<$wrapper.wix.os.v1.IDeleteGlobalTagResponse>
5261
+ /**
5262
+ * Retrieves a list of global tags.
5263
+ */
5264
+ abstract listGlobalTags(aspects: AspectStore, req: $wrapper.wix.os.v1.IListGlobalTagsRequest): Promise<$wrapper.wix.os.v1.IListGlobalTagsResponse>
5265
+ }
5266
+ export interface ICreateGlobalTagRequest {
5267
+ tag?: ($wrapper.wix.os.v1.ITag | null);
5268
+ }
5269
+ export class CreateGlobalTagRequest implements ICreateGlobalTagRequest {
5270
+ constructor(data?: ICreateGlobalTagRequest);
5271
+ tag?: ($wrapper.wix.os.v1.ITag | null);
5272
+ static __$$generatedFromProtobuf$$__: Symbol;
5273
+ }
5274
+ export interface ICreateGlobalTagResponse {
5275
+ tag?: ($wrapper.wix.os.v1.ITag | null);
5276
+ }
5277
+ export class CreateGlobalTagResponse implements ICreateGlobalTagResponse {
5278
+ constructor(data?: ICreateGlobalTagResponse);
5279
+ tag?: ($wrapper.wix.os.v1.ITag | null);
5280
+ static __$$generatedFromProtobuf$$__: Symbol;
5281
+ }
5282
+ export interface IGetGlobalTagRequest {
5283
+ tagId?: (string | null);
5284
+ }
5285
+ export class GetGlobalTagRequest implements IGetGlobalTagRequest {
5286
+ constructor(data?: IGetGlobalTagRequest);
5287
+ tagId?: (string | null);
5288
+ static __$$generatedFromProtobuf$$__: Symbol;
5289
+ }
5290
+ export interface IGetGlobalTagResponse {
5291
+ tag?: ($wrapper.wix.os.v1.ITag | null);
5292
+ }
5293
+ export class GetGlobalTagResponse implements IGetGlobalTagResponse {
5294
+ constructor(data?: IGetGlobalTagResponse);
5295
+ tag?: ($wrapper.wix.os.v1.ITag | null);
5296
+ static __$$generatedFromProtobuf$$__: Symbol;
5297
+ }
5298
+ export interface IUpdateGlobalTagRequest {
5299
+ tag?: ($wrapper.wix.os.v1.ITag | null);
5300
+ }
5301
+ export class UpdateGlobalTagRequest implements IUpdateGlobalTagRequest {
5302
+ constructor(data?: IUpdateGlobalTagRequest);
5303
+ tag?: ($wrapper.wix.os.v1.ITag | null);
5304
+ static __$$generatedFromProtobuf$$__: Symbol;
5305
+ }
5306
+ export interface IUpdateGlobalTagResponse {
5307
+ tag?: ($wrapper.wix.os.v1.ITag | null);
5308
+ }
5309
+ export class UpdateGlobalTagResponse implements IUpdateGlobalTagResponse {
5310
+ constructor(data?: IUpdateGlobalTagResponse);
5311
+ tag?: ($wrapper.wix.os.v1.ITag | null);
5312
+ static __$$generatedFromProtobuf$$__: Symbol;
5313
+ }
5314
+ export interface IDeleteGlobalTagRequest {
5315
+ tagId?: (string | null);
5316
+ }
5317
+ export class DeleteGlobalTagRequest implements IDeleteGlobalTagRequest {
5318
+ constructor(data?: IDeleteGlobalTagRequest);
5319
+ tagId?: (string | null);
5320
+ static __$$generatedFromProtobuf$$__: Symbol;
5321
+ }
5322
+ export interface IDeleteGlobalTagResponse {
5323
+ }
5324
+ export class DeleteGlobalTagResponse implements IDeleteGlobalTagResponse {
5325
+ constructor(data?: IDeleteGlobalTagResponse);
5326
+ static __$$generatedFromProtobuf$$__: Symbol;
5327
+ }
5328
+ export interface IListGlobalTagsRequest {
5329
+ fqdn?: (string | null);
5330
+ exposure?: ($wrapper.wix.os.v1.TagExposure | null);
5331
+ }
5332
+ export class ListGlobalTagsRequest implements IListGlobalTagsRequest {
5333
+ constructor(data?: IListGlobalTagsRequest);
5334
+ fqdn?: (string | null);
5335
+ exposure?: ($wrapper.wix.os.v1.TagExposure | null);
5336
+ static __$$generatedFromProtobuf$$__: Symbol;
5337
+ }
5338
+ export interface IListGlobalTagsResponse {
5339
+ tags?: ($wrapper.wix.os.v1.ITag[] | null);
5340
+ }
5341
+ export class ListGlobalTagsResponse implements IListGlobalTagsResponse {
5342
+ constructor(data?: IListGlobalTagsResponse);
5343
+ tags?: ($wrapper.wix.os.v1.ITag[] | null);
5344
+ static __$$generatedFromProtobuf$$__: Symbol;
5345
+ }
4111
5346
  /**
4112
5347
  * Manages Tags
4113
5348
  */
@@ -4129,6 +5364,10 @@ declare namespace $wrapper {
4129
5364
  * Retrieves a list of tags.
4130
5365
  */
4131
5366
  abstract listTags(aspects: AspectStore, req: $wrapper.wix.os.v1.IListTagsRequest): Promise<$wrapper.wix.os.v1.IListTagsResponse>
5367
+ /**
5368
+ * Retrieves a list of tags.
5369
+ */
5370
+ abstract queryTags(aspects: AspectStore, req: $wrapper.wix.os.v1.IQueryTagsRequest): Promise<$wrapper.wix.os.v1.IQueryTagsResponse>
4132
5371
  /**
4133
5372
  * Creates a tag with a custom createdDate for migration purposes.
4134
5373
  */
@@ -4214,6 +5453,28 @@ declare namespace $wrapper {
4214
5453
  tags?: ($wrapper.wix.os.v1.ITag[] | null);
4215
5454
  static __$$generatedFromProtobuf$$__: Symbol;
4216
5455
  }
5456
+ export interface IQueryTagsRequest {
5457
+ fqdn?: (string | null);
5458
+ exposure?: ($wrapper.wix.os.v1.TagExposure | null);
5459
+ query?: ($wrapper.wix.os.v1.upstream.wix.common.ICursorQuery | null);
5460
+ }
5461
+ export class QueryTagsRequest implements IQueryTagsRequest {
5462
+ constructor(data?: IQueryTagsRequest);
5463
+ fqdn?: (string | null);
5464
+ exposure?: ($wrapper.wix.os.v1.TagExposure | null);
5465
+ query?: ($wrapper.wix.os.v1.upstream.wix.common.ICursorQuery | null);
5466
+ static __$$generatedFromProtobuf$$__: Symbol;
5467
+ }
5468
+ export interface IQueryTagsResponse {
5469
+ tags?: ($wrapper.wix.os.v1.ITag[] | null);
5470
+ pagingMetadata?: ($wrapper.wix.os.v1.upstream.wix.common.ICursorPagingMetadata | null);
5471
+ }
5472
+ export class QueryTagsResponse implements IQueryTagsResponse {
5473
+ constructor(data?: IQueryTagsResponse);
5474
+ tags?: ($wrapper.wix.os.v1.ITag[] | null);
5475
+ pagingMetadata?: ($wrapper.wix.os.v1.upstream.wix.common.ICursorPagingMetadata | null);
5476
+ static __$$generatedFromProtobuf$$__: Symbol;
5477
+ }
4217
5478
  export interface IMigrateTagRequest {
4218
5479
  tag?: ($wrapper.wix.os.v1.ITag | null);
4219
5480
  }
@@ -4691,6 +5952,7 @@ declare namespace $wrapper {
4691
5952
  '.wix.api.errorDef'?: ($wrapper.wix.api.IError[] | null);
4692
5953
  '.wix.api.serviceMaturity'?: ($wrapper.wix.api.Maturity | null);
4693
5954
  '.wix.api.serviceExposure'?: ($wrapper.wix.api.Exposure | null);
5955
+ '.wix.api.serviceTenancy'?: ($wrapper.wix.api.ITenancyOptions | null);
4694
5956
  '.wix.api.serviceDeprecated'?: ($wrapper.wix.api.IDeprecated | null);
4695
5957
  '.wix.api.appendixFiles'?: ($wrapper.wix.api.IServiceAppendix[] | null);
4696
5958
  '.wix.spi.service'?: ($wrapper.wix.spi.IService | null);
@@ -4706,6 +5968,7 @@ declare namespace $wrapper {
4706
5968
  '.wix.api.errorDef'?: ($wrapper.wix.api.IError[] | null);
4707
5969
  '.wix.api.serviceMaturity'?: ($wrapper.wix.api.Maturity | null);
4708
5970
  '.wix.api.serviceExposure'?: ($wrapper.wix.api.Exposure | null);
5971
+ '.wix.api.serviceTenancy'?: ($wrapper.wix.api.ITenancyOptions | null);
4709
5972
  '.wix.api.serviceDeprecated'?: ($wrapper.wix.api.IDeprecated | null);
4710
5973
  '.wix.api.appendixFiles'?: ($wrapper.wix.api.IServiceAppendix[] | null);
4711
5974
  '.wix.spi.service'?: ($wrapper.wix.spi.IService | null);
@@ -4731,6 +5994,8 @@ declare namespace $wrapper {
4731
5994
  '.wix.api.deprecated'?: ($wrapper.wix.api.IDeprecated | null);
4732
5995
  '.wix.api.crud'?: ($wrapper.wix.api.ICrud | null);
4733
5996
  '.wix.api.acceptsLinguist'?: (boolean | null);
5997
+ '.wix.api.audience'?: ($wrapper.wix.api.IAudience | null);
5998
+ '.wix.api.tenancy'?: ($wrapper.wix.api.ITenancyOptions | null);
4734
5999
  '.wix.spi.error'?: ($wrapper.wix.spi.IError[] | null);
4735
6000
  '.wix.spi.featureToggle'?: (string | null);
4736
6001
  '.wix.api.callback'?: ($wrapper.wix.api.ICallback[] | null);
@@ -4761,6 +6026,8 @@ declare namespace $wrapper {
4761
6026
  '.wix.api.deprecated'?: ($wrapper.wix.api.IDeprecated | null);
4762
6027
  '.wix.api.crud'?: ($wrapper.wix.api.ICrud | null);
4763
6028
  '.wix.api.acceptsLinguist'?: (boolean | null);
6029
+ '.wix.api.audience'?: ($wrapper.wix.api.IAudience | null);
6030
+ '.wix.api.tenancy'?: ($wrapper.wix.api.ITenancyOptions | null);
4764
6031
  '.wix.spi.error'?: ($wrapper.wix.spi.IError[] | null);
4765
6032
  '.wix.spi.featureToggle'?: (string | null);
4766
6033
  '.wix.api.callback'?: ($wrapper.wix.api.ICallback[] | null);