@wix/bex-utils 2.42.0 → 2.44.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 (67) hide show
  1. package/@wix/ambassador-os-tags-v1-tag/build/cjs/builders.impl.js +3 -0
  2. package/@wix/ambassador-os-tags-v1-tag/build/cjs/builders.impl.js.map +1 -1
  3. package/@wix/ambassador-os-tags-v1-tag/build/cjs/http.impl.js +36 -0
  4. package/@wix/ambassador-os-tags-v1-tag/build/cjs/http.impl.js.map +1 -1
  5. package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/client/proto-generated.d.ts +2047 -963
  6. package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/proto-generated.d.ts +1046 -508
  7. package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/proto-generated.js +19667 -10932
  8. package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/server/proto-generated.d.ts +2046 -963
  9. package/@wix/ambassador-os-tags-v1-tag/build/cjs/types.impl.d.ts +20 -5
  10. package/@wix/ambassador-os-tags-v1-tag/build/cjs/types.impl.js.map +1 -1
  11. package/@wix/ambassador-os-tags-v1-tag/build/es/builders.impl.js +3 -0
  12. package/@wix/ambassador-os-tags-v1-tag/build/es/builders.impl.js.map +1 -1
  13. package/@wix/ambassador-os-tags-v1-tag/build/es/http.impl.js +36 -0
  14. package/@wix/ambassador-os-tags-v1-tag/build/es/http.impl.js.map +1 -1
  15. package/@wix/ambassador-os-tags-v1-tag/build/es/types.impl.d.ts +20 -5
  16. package/@wix/ambassador-os-tags-v1-tag/build/es/types.impl.js.map +1 -1
  17. package/@wix/ambassador-os-tags-v1-tag/package.json +3 -3
  18. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/src/main/proto/com/wixpress/items_selection/spi/v1/additional_data/ecom_catalog_data.proto +20 -0
  19. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/src/main/proto/com/wixpress/items_selection/spi/v1/additional_data/inbox_data.proto +17 -0
  20. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/src/main/proto/com/wixpress/items_selection/spi/v1/additional_data.proto +16 -0
  21. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/src/main/proto/com/wixpress/items_selection/spi/v1/image.proto +11 -0
  22. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/src/main/proto/com/wixpress/items_selection/spi/v1/items_selection_config.proto +266 -0
  23. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/src/main/proto/com/wixpress/items_selection/spi/v1/items_selection_spi.proto +145 -0
  24. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/annotations.proto +69 -9
  25. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/callback.proto +7 -0
  26. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/entity.proto +10 -0
  27. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/errors.proto +8 -0
  28. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/validations.proto +8 -0
  29. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/data/errors.proto +14 -1
  30. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/media.proto +19 -0
  31. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/query.proto +118 -118
  32. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/wixlink.proto +2 -0
  33. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tag.proto +4 -1
  34. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/spi/definitions.proto +2 -1
  35. package/@wix/bi-logger-os-data/dist/cjs/index.js +3 -0
  36. package/@wix/bi-logger-os-data/dist/cjs/index.js.map +1 -1
  37. package/@wix/bi-logger-os-data/dist/cjs/testkit/client-testkit.js +3 -0
  38. package/@wix/bi-logger-os-data/dist/cjs/testkit/client-testkit.js.map +1 -1
  39. package/@wix/bi-logger-os-data/dist/cjs/testkit/common.js +72 -41
  40. package/@wix/bi-logger-os-data/dist/cjs/testkit/common.js.map +1 -1
  41. package/@wix/bi-logger-os-data/dist/cjs/testkit/node-testkit.js +3 -0
  42. package/@wix/bi-logger-os-data/dist/cjs/testkit/node-testkit.js.map +1 -1
  43. package/@wix/bi-logger-os-data/dist/cjs/v2/index.js +55 -45
  44. package/@wix/bi-logger-os-data/dist/cjs/v2/index.js.map +1 -1
  45. package/@wix/bi-logger-os-data/dist/esm/index.js +3 -0
  46. package/@wix/bi-logger-os-data/dist/esm/index.js.map +1 -1
  47. package/@wix/bi-logger-os-data/dist/esm/testkit/client-testkit.js +3 -0
  48. package/@wix/bi-logger-os-data/dist/esm/testkit/client-testkit.js.map +1 -1
  49. package/@wix/bi-logger-os-data/dist/esm/testkit/common.js +72 -41
  50. package/@wix/bi-logger-os-data/dist/esm/testkit/common.js.map +1 -1
  51. package/@wix/bi-logger-os-data/dist/esm/testkit/node-testkit.js +3 -0
  52. package/@wix/bi-logger-os-data/dist/esm/testkit/node-testkit.js.map +1 -1
  53. package/@wix/bi-logger-os-data/dist/esm/v2/index.js +26 -17
  54. package/@wix/bi-logger-os-data/dist/esm/v2/index.js.map +1 -1
  55. package/@wix/bi-logger-os-data/dist/types/index.d.ts +3 -2
  56. package/@wix/bi-logger-os-data/dist/types/testkit/client-testkit.d.ts +16 -9
  57. package/@wix/bi-logger-os-data/dist/types/testkit/node-testkit.d.ts +16 -9
  58. package/@wix/bi-logger-os-data/dist/types/types.d.ts +16 -9
  59. package/@wix/bi-logger-os-data/dist/types/v2/index.d.ts +25 -18
  60. package/@wix/bi-logger-os-data/package.json +2 -2
  61. package/@wix/bi-logger-os-data/src/index.ts +6 -2
  62. package/@wix/bi-logger-os-data/src/testkit/client-testkit.ts +17 -9
  63. package/@wix/bi-logger-os-data/src/testkit/common.ts +84 -49
  64. package/@wix/bi-logger-os-data/src/testkit/node-testkit.ts +17 -9
  65. package/@wix/bi-logger-os-data/src/types.ts +31 -19
  66. package/@wix/bi-logger-os-data/src/v2/index.ts +28 -18
  67. package/package.json +4 -4
@@ -6,16 +6,486 @@ type $GeneratedMessageClassNominal$ = {
6
6
  type $$GeneratedMessage$$<C> = Function & { prototype: C } & $GeneratedMessageClassNominal$;
7
7
 
8
8
  declare namespace $wrapper {
9
+ export namespace com {
10
+ export namespace wixpress {
11
+ export namespace items_selection {
12
+ export namespace spi {
13
+ export namespace v1 {
14
+ export interface IAdditionalData {
15
+ ecomCatalogData?: ($wrapper.com.wixpress.items_selection.spi.v1.IEcomCatalogData | null);
16
+ inboxData?: ($wrapper.com.wixpress.items_selection.spi.v1.IInboxData | null);
17
+ }
18
+ export class AdditionalData implements IAdditionalData {
19
+ constructor(data?: IAdditionalData);
20
+ ecomCatalogData?: ($wrapper.com.wixpress.items_selection.spi.v1.IEcomCatalogData | null);
21
+ inboxData?: ($wrapper.com.wixpress.items_selection.spi.v1.IInboxData | null);
22
+ static __$$generatedFromProtobuf$$__: Symbol;
23
+ }
24
+ export interface IEcomCatalogData {
25
+ appId?: (string | null);
26
+ catalogItemId?: (string | null);
27
+ price?: (string | null);
28
+ options?: ({ [key: string]: any } | null);
29
+ }
30
+ export class EcomCatalogData implements IEcomCatalogData {
31
+ constructor(data?: IEcomCatalogData);
32
+ appId?: (string | null);
33
+ catalogItemId?: (string | null);
34
+ price?: (string | null);
35
+ options?: ({ [key: string]: any } | null);
36
+ static __$$generatedFromProtobuf$$__: Symbol;
37
+ }
38
+ export interface IInboxData {
39
+ actions?: ($wrapper.com.wixpress.items_selection.spi.v1.IAction[] | null);
40
+ }
41
+ export class InboxData implements IInboxData {
42
+ constructor(data?: IInboxData);
43
+ actions?: ($wrapper.com.wixpress.items_selection.spi.v1.IAction[] | null);
44
+ static __$$generatedFromProtobuf$$__: Symbol;
45
+ }
46
+ export interface IAction {
47
+ title?: (string | null);
48
+ url?: (string | null);
49
+ }
50
+ export class Action implements IAction {
51
+ constructor(data?: IAction);
52
+ title?: (string | null);
53
+ url?: (string | null);
54
+ static __$$generatedFromProtobuf$$__: Symbol;
55
+ }
56
+ export interface IImage {
57
+ url?: (string | null);
58
+ }
59
+ export class Image implements IImage {
60
+ constructor(data?: IImage);
61
+ url?: (string | null);
62
+ static __$$generatedFromProtobuf$$__: Symbol;
63
+ }
64
+ export interface IItemsSelectionProviderConfig {
65
+ deploymentUri?: (string | null);
66
+ key?: (string | null);
67
+ searchParams?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.ISearchParams | null);
68
+ contentData?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.IContentData | null);
69
+ additionalStepInfo?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.IAdditionalStepInfo | null);
70
+ supportedTags?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.Tag[] | null);
71
+ createNewItemInfo?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.ICreateNewItemInfo | null);
72
+ itemThumbnail?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.IItemThumbnail | null);
73
+ }
74
+ export class ItemsSelectionProviderConfig implements IItemsSelectionProviderConfig {
75
+ constructor(data?: IItemsSelectionProviderConfig);
76
+ deploymentUri?: (string | null);
77
+ key?: (string | null);
78
+ searchParams?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.ISearchParams | null);
79
+ contentData?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.IContentData | null);
80
+ additionalStepInfo?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.IAdditionalStepInfo | null);
81
+ supportedTags?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.Tag[] | null);
82
+ createNewItemInfo?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.ICreateNewItemInfo | null);
83
+ itemThumbnail?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.IItemThumbnail | null);
84
+ static __$$generatedFromProtobuf$$__: Symbol;
85
+ }
86
+ export namespace ItemsSelectionProviderConfig {
87
+ export enum Tag {
88
+ UNKNOWN_TAG = "UNKNOWN_TAG",
89
+ EMBEDDABLE = "EMBEDDABLE",
90
+ ECOM_EDIT_ORDER = "ECOM_EDIT_ORDER",
91
+ ECOM_CREATE_ORDER = "ECOM_CREATE_ORDER",
92
+ INBOX = "INBOX",
93
+ ECOM_CREATE_PAY_LINK = "ECOM_CREATE_PAY_LINK",
94
+ ECOM_DELIVERY_PROFILES = "ECOM_DELIVERY_PROFILES",
95
+ ADD_TO_CATEGORY = "ADD_TO_CATEGORY",
96
+ }
97
+ export interface IAdditionalStepInfo {
98
+ widgetId?: (string | null);
99
+ mobileComponentId?: (string | null);
100
+ title?: (string | null);
101
+ subtitle?: (string | null);
102
+ hideItemNote?: (boolean | null);
103
+ }
104
+ export class AdditionalStepInfo implements IAdditionalStepInfo {
105
+ constructor(data?: IAdditionalStepInfo);
106
+ widgetId?: (string | null);
107
+ mobileComponentId?: (string | null);
108
+ title?: (string | null);
109
+ subtitle?: (string | null);
110
+ hideItemNote?: (boolean | null);
111
+ static __$$generatedFromProtobuf$$__: Symbol;
112
+ }
113
+ export interface ICreateNewItemInfo {
114
+ widgetId?: (string | null);
115
+ mobileComponentId?: (string | null);
116
+ buttonText?: (string | null);
117
+ }
118
+ export class CreateNewItemInfo implements ICreateNewItemInfo {
119
+ constructor(data?: ICreateNewItemInfo);
120
+ widgetId?: (string | null);
121
+ mobileComponentId?: (string | null);
122
+ buttonText?: (string | null);
123
+ static __$$generatedFromProtobuf$$__: Symbol;
124
+ }
125
+ export interface IContentData {
126
+ iconKey?: (string | null);
127
+ providerName?: (string | null);
128
+ title?: (string | null);
129
+ button?: (string | null);
130
+ subtitle?: (string | null);
131
+ learnMore?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.ILearnMore | null);
132
+ }
133
+ export class ContentData implements IContentData {
134
+ constructor(data?: IContentData);
135
+ iconKey?: (string | null);
136
+ providerName?: (string | null);
137
+ title?: (string | null);
138
+ button?: (string | null);
139
+ subtitle?: (string | null);
140
+ learnMore?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.ILearnMore | null);
141
+ static __$$generatedFromProtobuf$$__: Symbol;
142
+ }
143
+ export interface IItemThumbnail {
144
+ type?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.ThumbnailType | null);
145
+ hidden?: (boolean | null);
146
+ imageConfig?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.IImageConfig | null);
147
+ avatarConfig?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.IAvatarConfig | null);
148
+ }
149
+ export class ItemThumbnail implements IItemThumbnail {
150
+ constructor(data?: IItemThumbnail);
151
+ type?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.ThumbnailType | null);
152
+ hidden?: (boolean | null);
153
+ imageConfig?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.IImageConfig | null);
154
+ avatarConfig?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.IAvatarConfig | null);
155
+ static __$$generatedFromProtobuf$$__: Symbol;
156
+ }
157
+ export enum ThumbnailType {
158
+ UNKNOWN_THUMBNAIL_TYPE = "UNKNOWN_THUMBNAIL_TYPE",
159
+ IMAGE = "IMAGE",
160
+ AVATAR = "AVATAR",
161
+ }
162
+ export interface IImageConfig {
163
+ shape?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.ImageConfig.ImageShape | null);
164
+ }
165
+ export class ImageConfig implements IImageConfig {
166
+ constructor(data?: IImageConfig);
167
+ shape?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.ImageConfig.ImageShape | null);
168
+ static __$$generatedFromProtobuf$$__: Symbol;
169
+ }
170
+ export namespace ImageConfig {
171
+ export enum ImageShape {
172
+ UNKNOWN_SHAPE = "UNKNOWN_SHAPE",
173
+ CIRCLE = "CIRCLE",
174
+ SQUARE = "SQUARE",
175
+ RECTANGLE = "RECTANGLE",
176
+ }
177
+ }
178
+ export interface IAvatarConfig {
179
+ shape?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.AvatarConfig.AvatarShape | null);
180
+ }
181
+ export class AvatarConfig implements IAvatarConfig {
182
+ constructor(data?: IAvatarConfig);
183
+ shape?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.AvatarConfig.AvatarShape | null);
184
+ static __$$generatedFromProtobuf$$__: Symbol;
185
+ }
186
+ export namespace AvatarConfig {
187
+ export enum AvatarShape {
188
+ UNKNOWN_SHAPE = "UNKNOWN_SHAPE",
189
+ CIRCLE = "CIRCLE",
190
+ SQUARE = "SQUARE",
191
+ }
192
+ }
193
+ export interface ISearchParams {
194
+ fields?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.ISearchField[] | null);
195
+ filters?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.IFilterInfo[] | null);
196
+ }
197
+ export class SearchParams implements ISearchParams {
198
+ constructor(data?: ISearchParams);
199
+ fields?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.ISearchField[] | null);
200
+ filters?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.IFilterInfo[] | null);
201
+ static __$$generatedFromProtobuf$$__: Symbol;
202
+ }
203
+ export interface ISearchField {
204
+ key?: (string | null);
205
+ description?: (string | null);
206
+ }
207
+ export class SearchField implements ISearchField {
208
+ constructor(data?: ISearchField);
209
+ key?: (string | null);
210
+ description?: (string | null);
211
+ static __$$generatedFromProtobuf$$__: Symbol;
212
+ }
213
+ export interface IFilterInfo {
214
+ key?: (string | null);
215
+ tag?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.Tag | null);
216
+ selectionType?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.FilterSelectionType | null);
217
+ optionsType?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.FilterOptionsType | null);
218
+ staticOptions?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.IStaticFilterOptions | null);
219
+ providerOptions?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.IProviderFilterOptions | null);
220
+ placeholder?: (string | null);
221
+ }
222
+ export class FilterInfo implements IFilterInfo {
223
+ constructor(data?: IFilterInfo);
224
+ key?: (string | null);
225
+ tag?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.Tag | null);
226
+ selectionType?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.FilterSelectionType | null);
227
+ optionsType?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.FilterOptionsType | null);
228
+ staticOptions?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.IStaticFilterOptions | null);
229
+ providerOptions?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.IProviderFilterOptions | null);
230
+ placeholder?: (string | null);
231
+ static __$$generatedFromProtobuf$$__: Symbol;
232
+ }
233
+ export interface IProviderFilterOptions {
234
+ key?: (string | null);
235
+ }
236
+ export class ProviderFilterOptions implements IProviderFilterOptions {
237
+ constructor(data?: IProviderFilterOptions);
238
+ key?: (string | null);
239
+ static __$$generatedFromProtobuf$$__: Symbol;
240
+ }
241
+ export interface IStaticFilterOptions {
242
+ data?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.IStaticFilterOption[] | null);
243
+ }
244
+ export class StaticFilterOptions implements IStaticFilterOptions {
245
+ constructor(data?: IStaticFilterOptions);
246
+ data?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.IStaticFilterOption[] | null);
247
+ static __$$generatedFromProtobuf$$__: Symbol;
248
+ }
249
+ export interface IStaticFilterOption {
250
+ label?: (string | null);
251
+ value?: (string | null);
252
+ }
253
+ export class StaticFilterOption implements IStaticFilterOption {
254
+ constructor(data?: IStaticFilterOption);
255
+ label?: (string | null);
256
+ value?: (string | null);
257
+ static __$$generatedFromProtobuf$$__: Symbol;
258
+ }
259
+ export interface ILearnMore {
260
+ url?: (string | null);
261
+ label?: (string | null);
262
+ }
263
+ export class LearnMore implements ILearnMore {
264
+ constructor(data?: ILearnMore);
265
+ url?: (string | null);
266
+ label?: (string | null);
267
+ static __$$generatedFromProtobuf$$__: Symbol;
268
+ }
269
+ export enum FilterSelectionType {
270
+ UNKNOWN_SELECTION = "UNKNOWN_SELECTION",
271
+ SINGLE_SELECTION = "SINGLE_SELECTION",
272
+ MULTIPLE_SELECTION = "MULTIPLE_SELECTION",
273
+ }
274
+ export enum FilterOptionsType {
275
+ UNKNOWN_FILTER_OPTIONS = "UNKNOWN_FILTER_OPTIONS",
276
+ STATIC = "STATIC",
277
+ PROVIDER = "PROVIDER",
278
+ }
279
+ }
280
+ export abstract class ItemsSelectionProviderService {
281
+ abstract queryItems(aspects: AspectStore, req: $wrapper.com.wixpress.items_selection.spi.v1.IQueryItemsRequest): Promise<$wrapper.com.wixpress.items_selection.spi.v1.IQueryItemsResponse>
282
+ }
283
+ export interface IFailureData {
284
+ error?: ($wrapper.com.wixpress.items_selection.spi.v1.IQueryError | null);
285
+ }
286
+ export class FailureData implements IFailureData {
287
+ constructor(data?: IFailureData);
288
+ error?: ($wrapper.com.wixpress.items_selection.spi.v1.IQueryError | null);
289
+ static __$$generatedFromProtobuf$$__: Symbol;
290
+ }
291
+ export interface IQueryError {
292
+ code?: ($wrapper.com.wixpress.items_selection.spi.v1.QueryError.Code | null);
293
+ message?: (string | null);
294
+ data?: ({ [key: string]: any } | null);
295
+ }
296
+ export class QueryError implements IQueryError {
297
+ constructor(data?: IQueryError);
298
+ code?: ($wrapper.com.wixpress.items_selection.spi.v1.QueryError.Code | null);
299
+ message?: (string | null);
300
+ data?: ({ [key: string]: any } | null);
301
+ static __$$generatedFromProtobuf$$__: Symbol;
302
+ }
303
+ export namespace QueryError {
304
+ export enum Code {
305
+ NONE = "NONE",
306
+ SYSTEM_ERROR = "SYSTEM_ERROR",
307
+ OTHER = "OTHER",
308
+ }
309
+ }
310
+ export interface IQueryItemsRequest {
311
+ query?: ($wrapper.com.wixpress.items_selection.spi.v1.IQuery | null);
312
+ tag?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.Tag | null);
313
+ }
314
+ export class QueryItemsRequest implements IQueryItemsRequest {
315
+ constructor(data?: IQueryItemsRequest);
316
+ query?: ($wrapper.com.wixpress.items_selection.spi.v1.IQuery | null);
317
+ tag?: ($wrapper.com.wixpress.items_selection.spi.v1.ItemsSelectionProviderConfig.Tag | null);
318
+ static __$$generatedFromProtobuf$$__: Symbol;
319
+ }
320
+ export interface IQueryItemsResponse {
321
+ items?: ($wrapper.com.wixpress.items_selection.spi.v1.IItem[] | null);
322
+ pagingMetadata?: ($wrapper.wix.common.IPagingMetadataV2 | null);
323
+ }
324
+ export class QueryItemsResponse implements IQueryItemsResponse {
325
+ constructor(data?: IQueryItemsResponse);
326
+ items?: ($wrapper.com.wixpress.items_selection.spi.v1.IItem[] | null);
327
+ pagingMetadata?: ($wrapper.wix.common.IPagingMetadataV2 | null);
328
+ static __$$generatedFromProtobuf$$__: Symbol;
329
+ }
330
+ export interface IQuery {
331
+ filter?: ({ [key: string]: any } | null);
332
+ sort?: ($wrapper.wix.common.ISorting[] | null);
333
+ search?: (string | null);
334
+ paging?: ($wrapper.wix.common.IPaging | null);
335
+ cursorPaging?: ($wrapper.wix.common.ICursorPaging | null);
336
+ }
337
+ export class Query implements IQuery {
338
+ constructor(data?: IQuery);
339
+ filter?: ({ [key: string]: any } | null);
340
+ sort?: ($wrapper.wix.common.ISorting[] | null);
341
+ search?: (string | null);
342
+ paging?: ($wrapper.wix.common.IPaging | null);
343
+ cursorPaging?: ($wrapper.wix.common.ICursorPaging | null);
344
+ static __$$generatedFromProtobuf$$__: Symbol;
345
+ }
346
+ export interface IItem {
347
+ id?: (string | null);
348
+ name?: (string | null);
349
+ description?: (string | null);
350
+ image?: ($wrapper.com.wixpress.items_selection.spi.v1.IImage | null);
351
+ note?: (string | null);
352
+ hasAdditionalStep?: (boolean | null);
353
+ additionalData?: ($wrapper.com.wixpress.items_selection.spi.v1.IAdditionalData | null);
354
+ additionalFields?: ({ [key: string]: any } | null);
355
+ }
356
+ export class Item implements IItem {
357
+ constructor(data?: IItem);
358
+ id?: (string | null);
359
+ name?: (string | null);
360
+ description?: (string | null);
361
+ image?: ($wrapper.com.wixpress.items_selection.spi.v1.IImage | null);
362
+ note?: (string | null);
363
+ hasAdditionalStep?: (boolean | null);
364
+ additionalData?: ($wrapper.com.wixpress.items_selection.spi.v1.IAdditionalData | null);
365
+ additionalFields?: ({ [key: string]: any } | null);
366
+ static __$$generatedFromProtobuf$$__: Symbol;
367
+ }
368
+ }
369
+ }
370
+ }
371
+ }
372
+ }
9
373
  export namespace wix {
10
374
  export namespace api {
11
- export interface IActionPayload {
12
- customSlug?: (string | null);
375
+ /**
376
+ * Decimal value validation rules.
377
+ * Based on java.math.BigDecimal, implies (wix.api.format) = DECIMAL_VALUE
378
+ */
379
+ export interface IDecimalValueOptions {
380
+ lte?: (string | null);
381
+ gte?: (string | null);
382
+ lt?: (string | null);
383
+ gt?: (string | null);
384
+ maxScale?: (number | null);
13
385
  }
14
- export class ActionPayload implements IActionPayload {
15
- constructor(data?: IActionPayload);
16
- customSlug?: (string | null);
386
+ export class DecimalValueOptions implements IDecimalValueOptions {
387
+ constructor(data?: IDecimalValueOptions);
388
+ lte?: (string | null);
389
+ gte?: (string | null);
390
+ lt?: (string | null);
391
+ gt?: (string | null);
392
+ maxScale?: (number | null);
393
+ static __$$generatedFromProtobuf$$__: Symbol;
394
+ }
395
+ export interface IAlignedWithEnum {
396
+ field?: (string | null);
397
+ suffix?: (string | null);
398
+ }
399
+ export class AlignedWithEnum implements IAlignedWithEnum {
400
+ constructor(data?: IAlignedWithEnum);
401
+ field?: (string | null);
402
+ suffix?: (string | null);
403
+ static __$$generatedFromProtobuf$$__: Symbol;
404
+ }
405
+ export enum Format {
406
+ EMAIL = "EMAIL",
407
+ HOSTNAME = "HOSTNAME",
408
+ IPV4 = "IPV4",
409
+ IPV6 = "IPV6",
410
+ URI = "URI",
411
+ WEB_URL = "WEB_URL",
412
+ PHONE = "PHONE",
413
+ CREDIT_CARD = "CREDIT_CARD",
414
+ GUID = "GUID",
415
+ COUNTRY = "COUNTRY",
416
+ LANGUAGE = "LANGUAGE",
417
+ DECIMAL_VALUE = "DECIMAL_VALUE",
418
+ CURRENCY = "CURRENCY",
419
+ LANGUAGE_TAG = "LANGUAGE_TAG",
420
+ COLOR_HEX = "COLOR_HEX",
421
+ LOCAL_DATE = "LOCAL_DATE",
422
+ LOCAL_TIME = "LOCAL_TIME",
423
+ LOCAL_DATE_TIME = "LOCAL_DATE_TIME",
424
+ URL_SLUG = "URL_SLUG",
425
+ SYSTEM_SLUG = "SYSTEM_SLUG",
426
+ SECURE_WEB_URL = "SECURE_WEB_URL",
427
+ SUBDIVISION = "SUBDIVISION",
428
+ }
429
+ /**
430
+ * ApplicationError: named Error for backwards compatibility
431
+ */
432
+ export interface IError {
433
+ httpCode?: ($wrapper.wix.api.StatusCodes.HttpStatusCode | null);
434
+ applicationCode?: (string | null);
435
+ data?: (string | null);
436
+ }
437
+ export class Error implements IError {
438
+ constructor(data?: IError);
439
+ httpCode?: ($wrapper.wix.api.StatusCodes.HttpStatusCode | null);
440
+ applicationCode?: (string | null);
441
+ data?: (string | null);
442
+ static __$$generatedFromProtobuf$$__: Symbol;
443
+ }
444
+ /**
445
+ * CustomValidationError: field level validation, only declare when you have specific validation in your service that is not coming from infra
446
+ */
447
+ export interface ICustomValidationError {
448
+ ruleName?: (string | null);
449
+ data?: (string | null);
450
+ }
451
+ export class CustomValidationError implements ICustomValidationError {
452
+ constructor(data?: ICustomValidationError);
453
+ ruleName?: (string | null);
454
+ data?: (string | null);
455
+ static __$$generatedFromProtobuf$$__: Symbol;
456
+ }
457
+ /**
458
+ * InheritCrudErrors: does this method throw standard crud errors?
459
+ */
460
+ export interface IInheritCrudErrors {
461
+ method?: ($wrapper.wix.api.Crud.Method | null);
462
+ }
463
+ export class InheritCrudErrors implements IInheritCrudErrors {
464
+ constructor(data?: IInheritCrudErrors);
465
+ method?: ($wrapper.wix.api.Crud.Method | null);
466
+ static __$$generatedFromProtobuf$$__: Symbol;
467
+ }
468
+ export interface IStatusCodes {
469
+ }
470
+ export class StatusCodes implements IStatusCodes {
471
+ constructor(data?: IStatusCodes);
17
472
  static __$$generatedFromProtobuf$$__: Symbol;
18
473
  }
474
+ export namespace StatusCodes {
475
+ export enum HttpStatusCode {
476
+ OK = "OK",
477
+ UNAUTHENTICATED = "UNAUTHENTICATED",
478
+ PERMISSION_DENIED = "PERMISSION_DENIED",
479
+ INVALID_ARGUMENT = "INVALID_ARGUMENT",
480
+ NOT_FOUND = "NOT_FOUND",
481
+ INTERNAL = "INTERNAL",
482
+ UNAVAILABLE = "UNAVAILABLE",
483
+ RESOURCE_EXHAUSTED = "RESOURCE_EXHAUSTED",
484
+ CANCELED = "CANCELED",
485
+ ALREADY_EXISTS = "ALREADY_EXISTS",
486
+ FAILED_PRECONDITION = "FAILED_PRECONDITION",
487
+ }
488
+ }
19
489
  export interface IReferenceEntityField {
20
490
  path?: (string | null);
21
491
  }
@@ -83,6 +553,9 @@ declare namespace $wrapper {
83
553
  countOptions?: ($wrapper.wix.api.ICountOptions | null);
84
554
  searchRelatedOptions?: ($wrapper.wix.api.ISearchRelatedOptions | null);
85
555
  updateExtendedFieldsOptions?: ($wrapper.wix.api.IUpdateExtendedFieldsOptions | null);
556
+ customActionOptions?: ($wrapper.wix.api.ICustomActionOptions | null);
557
+ bulkUpdateTagsOptions?: ($wrapper.wix.api.IBulkUpdateTagsMethodOptions | null);
558
+ bulkUpdateTagsByFilterOptions?: ($wrapper.wix.api.IBulkUpdateTagsByFilterMethodOptions | null);
86
559
  }
87
560
  export class Crud implements ICrud {
88
561
  constructor(data?: ICrud);
@@ -108,6 +581,9 @@ declare namespace $wrapper {
108
581
  countOptions?: ($wrapper.wix.api.ICountOptions | null);
109
582
  searchRelatedOptions?: ($wrapper.wix.api.ISearchRelatedOptions | null);
110
583
  updateExtendedFieldsOptions?: ($wrapper.wix.api.IUpdateExtendedFieldsOptions | null);
584
+ customActionOptions?: ($wrapper.wix.api.ICustomActionOptions | null);
585
+ bulkUpdateTagsOptions?: ($wrapper.wix.api.IBulkUpdateTagsMethodOptions | null);
586
+ bulkUpdateTagsByFilterOptions?: ($wrapper.wix.api.IBulkUpdateTagsByFilterMethodOptions | null);
111
587
  static __$$generatedFromProtobuf$$__: Symbol;
112
588
  }
113
589
  export namespace Crud {
@@ -136,16 +612,21 @@ declare namespace $wrapper {
136
612
  UPDATE_EXTENDED_FIELDS = "UPDATE_EXTENDED_FIELDS",
137
613
  BULK_UPDATE_TAGS = "BULK_UPDATE_TAGS",
138
614
  BULK_UPDATE_TAGS_BY_FILTER = "BULK_UPDATE_TAGS_BY_FILTER",
615
+ CUSTOM_ACTION = "CUSTOM_ACTION",
139
616
  }
140
617
  }
141
618
  export interface IPaging {
142
619
  type?: ($wrapper.wix.api.Paging.Type | null);
143
620
  pagingMetadataField?: (string | null);
621
+ cursorPagingMetadataField?: (string | null);
622
+ offsetPagingMetadataField?: (string | null);
144
623
  }
145
624
  export class Paging implements IPaging {
146
625
  constructor(data?: IPaging);
147
626
  type?: ($wrapper.wix.api.Paging.Type | null);
148
627
  pagingMetadataField?: (string | null);
628
+ cursorPagingMetadataField?: (string | null);
629
+ offsetPagingMetadataField?: (string | null);
149
630
  static __$$generatedFromProtobuf$$__: Symbol;
150
631
  }
151
632
  export namespace Paging {
@@ -153,8 +634,33 @@ declare namespace $wrapper {
153
634
  UNKNOWN_TYPE = "UNKNOWN_TYPE",
154
635
  OFFSET = "OFFSET",
155
636
  CURSOR = "CURSOR",
637
+ BOTH = "BOTH",
156
638
  }
157
639
  }
640
+ export interface ICustomActionOptions {
641
+ readOperation?: (boolean | null);
642
+ wql?: ($wrapper.wix.api.IWqlOptions | null);
643
+ }
644
+ export class CustomActionOptions implements ICustomActionOptions {
645
+ constructor(data?: ICustomActionOptions);
646
+ readOperation?: (boolean | null);
647
+ wql?: ($wrapper.wix.api.IWqlOptions | null);
648
+ static __$$generatedFromProtobuf$$__: Symbol;
649
+ }
650
+ export interface IWqlOptions {
651
+ queryOptionsName?: (string | null);
652
+ filterField?: (string | null);
653
+ queryField?: (string | null);
654
+ searchField?: (string | null);
655
+ }
656
+ export class WqlOptions implements IWqlOptions {
657
+ constructor(data?: IWqlOptions);
658
+ queryOptionsName?: (string | null);
659
+ filterField?: (string | null);
660
+ queryField?: (string | null);
661
+ searchField?: (string | null);
662
+ static __$$generatedFromProtobuf$$__: Symbol;
663
+ }
158
664
  export interface ICreateMethodOptions {
159
665
  itemField?: (string | null);
160
666
  }
@@ -217,6 +723,8 @@ declare namespace $wrapper {
217
723
  }
218
724
  export interface IQueryMethodOptions {
219
725
  queryField?: (string | null);
726
+ cursorQueryField?: (string | null);
727
+ offsetQueryField?: (string | null);
220
728
  itemsField?: (string | null);
221
729
  paging?: ($wrapper.wix.api.IPaging | null);
222
730
  wql?: ($wrapper.wix.api.IWql | null);
@@ -226,6 +734,8 @@ declare namespace $wrapper {
226
734
  export class QueryMethodOptions implements IQueryMethodOptions {
227
735
  constructor(data?: IQueryMethodOptions);
228
736
  queryField?: (string | null);
737
+ cursorQueryField?: (string | null);
738
+ offsetQueryField?: (string | null);
229
739
  itemsField?: (string | null);
230
740
  paging?: ($wrapper.wix.api.IPaging | null);
231
741
  wql?: ($wrapper.wix.api.IWql | null);
@@ -235,6 +745,8 @@ declare namespace $wrapper {
235
745
  }
236
746
  export interface ISearchMethodOptions {
237
747
  searchField?: (string | null);
748
+ cursorSearchField?: (string | null);
749
+ offsetSearchField?: (string | null);
238
750
  itemsField?: (string | null);
239
751
  paging?: ($wrapper.wix.api.IPaging | null);
240
752
  wql?: ($wrapper.wix.api.IWql | null);
@@ -245,6 +757,8 @@ declare namespace $wrapper {
245
757
  export class SearchMethodOptions implements ISearchMethodOptions {
246
758
  constructor(data?: ISearchMethodOptions);
247
759
  searchField?: (string | null);
760
+ cursorSearchField?: (string | null);
761
+ offsetSearchField?: (string | null);
248
762
  itemsField?: (string | null);
249
763
  paging?: ($wrapper.wix.api.IPaging | null);
250
764
  wql?: ($wrapper.wix.api.IWql | null);
@@ -285,6 +799,24 @@ declare namespace $wrapper {
285
799
  queryOptionsName?: (string | null);
286
800
  static __$$generatedFromProtobuf$$__: Symbol;
287
801
  }
802
+ export interface IBulkUpdateTagsMethodOptions {
803
+ idsField?: (string | null);
804
+ }
805
+ export class BulkUpdateTagsMethodOptions implements IBulkUpdateTagsMethodOptions {
806
+ constructor(data?: IBulkUpdateTagsMethodOptions);
807
+ idsField?: (string | null);
808
+ static __$$generatedFromProtobuf$$__: Symbol;
809
+ }
810
+ export interface IBulkUpdateTagsByFilterMethodOptions {
811
+ filterField?: (string | null);
812
+ queryOptionsName?: (string | null);
813
+ }
814
+ export class BulkUpdateTagsByFilterMethodOptions implements IBulkUpdateTagsByFilterMethodOptions {
815
+ constructor(data?: IBulkUpdateTagsByFilterMethodOptions);
816
+ filterField?: (string | null);
817
+ queryOptionsName?: (string | null);
818
+ static __$$generatedFromProtobuf$$__: Symbol;
819
+ }
288
820
  export interface IBulkUpsertMethodOptions {
289
821
  itemField?: (string | null);
290
822
  fieldmaskField?: (string | null);
@@ -358,11 +890,15 @@ declare namespace $wrapper {
358
890
  export interface ICountOptions {
359
891
  inheritWqlFrom?: (string | null);
360
892
  queryOptionsName?: (string | null);
893
+ filterField?: (string | null);
894
+ countField?: (string | null);
361
895
  }
362
896
  export class CountOptions implements ICountOptions {
363
897
  constructor(data?: ICountOptions);
364
898
  inheritWqlFrom?: (string | null);
365
899
  queryOptionsName?: (string | null);
900
+ filterField?: (string | null);
901
+ countField?: (string | null);
366
902
  static __$$generatedFromProtobuf$$__: Symbol;
367
903
  }
368
904
  export interface ISearchRelatedOptions {
@@ -415,6 +951,7 @@ declare namespace $wrapper {
415
951
  EMPTY = "EMPTY",
416
952
  MATCH_ALL = "MATCH_ALL",
417
953
  MATCH_ITEMS = "MATCH_ITEMS",
954
+ ENHANCED_DATE = "ENHANCED_DATE",
418
955
  }
419
956
  export enum Sort {
420
957
  NONE = "NONE",
@@ -444,6 +981,10 @@ declare namespace $wrapper {
444
981
  static __$$generatedFromProtobuf$$__: Symbol;
445
982
  }
446
983
  }
984
+ export enum VirtualSubfields {
985
+ NO_VIRTUAL_SUBFIELDS = "NO_VIRTUAL_SUBFIELDS",
986
+ DATE = "DATE",
987
+ }
447
988
  export interface IOperatorFieldSupport {
448
989
  operator?: ($wrapper.wix.api.Wql.Operator[] | null);
449
990
  glob?: (string | null);
@@ -451,6 +992,7 @@ declare namespace $wrapper {
451
992
  sort?: ($wrapper.wix.api.Wql.Sort | null);
452
993
  requiredFields?: ($wrapper.wix.api.Wql.IRequiredFields[] | null);
453
994
  maturity?: ($wrapper.wix.api.Maturity | null);
995
+ virtualSubfields?: ($wrapper.wix.api.Wql.VirtualSubfields | null);
454
996
  }
455
997
  export class OperatorFieldSupport implements IOperatorFieldSupport {
456
998
  constructor(data?: IOperatorFieldSupport);
@@ -460,6 +1002,7 @@ declare namespace $wrapper {
460
1002
  sort?: ($wrapper.wix.api.Wql.Sort | null);
461
1003
  requiredFields?: ($wrapper.wix.api.Wql.IRequiredFields[] | null);
462
1004
  maturity?: ($wrapper.wix.api.Maturity | null);
1005
+ virtualSubfields?: ($wrapper.wix.api.Wql.VirtualSubfields | null);
463
1006
  static __$$generatedFromProtobuf$$__: Symbol;
464
1007
  }
465
1008
  }
@@ -543,66 +1086,155 @@ declare namespace $wrapper {
543
1086
  GA = "GA",
544
1087
  NOT_IMPLEMENTED = "NOT_IMPLEMENTED",
545
1088
  }
546
- /**
547
- * ApplicationError: named Error for backwards compatibility
548
- */
549
- export interface IError {
550
- httpCode?: ($wrapper.wix.api.StatusCodes.HttpStatusCode | null);
551
- applicationCode?: (string | null);
552
- data?: (string | null);
1089
+ export interface IServiceEntity {
1090
+ message?: (string | null);
1091
+ namespace?: (string | null);
553
1092
  }
554
- export class Error implements IError {
555
- constructor(data?: IError);
556
- httpCode?: ($wrapper.wix.api.StatusCodes.HttpStatusCode | null);
557
- applicationCode?: (string | null);
558
- data?: (string | null);
1093
+ export class ServiceEntity implements IServiceEntity {
1094
+ constructor(data?: IServiceEntity);
1095
+ message?: (string | null);
1096
+ namespace?: (string | null);
559
1097
  static __$$generatedFromProtobuf$$__: Symbol;
560
1098
  }
561
- /**
562
- * CustomValidationError: field level validation, only declare when you have specific validation in your service that is not coming from infra
563
- */
564
- export interface ICustomValidationError {
565
- ruleName?: (string | null);
566
- data?: (string | null);
1099
+ export interface IEntity {
1100
+ fqdn?: (string | null);
1101
+ exposure?: ($wrapper.wix.api.Exposure | null);
1102
+ appendixFiles?: ($wrapper.wix.api.IMessageAppendix[] | null);
1103
+ oldFqdnForBackwardsCompatibility?: (string | null);
1104
+ segment?: ($wrapper.wix.api.Segment.SegmentName | null);
1105
+ implements?: (string[] | null);
1106
+ extensible?: ($wrapper.wix.api.IExtensible | null);
1107
+ trashbin?: (boolean | null);
1108
+ plural?: (string | null);
1109
+ domainEventsReadPermission?: (string | null);
1110
+ appDefId?: (string | null);
1111
+ domainEvents?: ($wrapper.wix.api.IDomainEventOptions | null);
1112
+ taggable?: ($wrapper.wix.api.ITaggable | null);
1113
+ queryOptions?: ($wrapper.wix.api.IQueryOptions | null);
1114
+ eventsExposure?: ($wrapper.wix.api.Exposure | null);
1115
+ eventsMaturity?: ($wrapper.wix.api.Maturity | null);
1116
+ persistence?: ($wrapper.wix.api.IPersistence | null);
567
1117
  }
568
- export class CustomValidationError implements ICustomValidationError {
569
- constructor(data?: ICustomValidationError);
570
- ruleName?: (string | null);
571
- data?: (string | null);
1118
+ export class Entity implements IEntity {
1119
+ constructor(data?: IEntity);
1120
+ fqdn?: (string | null);
1121
+ exposure?: ($wrapper.wix.api.Exposure | null);
1122
+ appendixFiles?: ($wrapper.wix.api.IMessageAppendix[] | null);
1123
+ oldFqdnForBackwardsCompatibility?: (string | null);
1124
+ segment?: ($wrapper.wix.api.Segment.SegmentName | null);
1125
+ implements?: (string[] | null);
1126
+ extensible?: ($wrapper.wix.api.IExtensible | null);
1127
+ trashbin?: (boolean | null);
1128
+ plural?: (string | null);
1129
+ domainEventsReadPermission?: (string | null);
1130
+ appDefId?: (string | null);
1131
+ domainEvents?: ($wrapper.wix.api.IDomainEventOptions | null);
1132
+ taggable?: ($wrapper.wix.api.ITaggable | null);
1133
+ queryOptions?: ($wrapper.wix.api.IQueryOptions | null);
1134
+ eventsExposure?: ($wrapper.wix.api.Exposure | null);
1135
+ eventsMaturity?: ($wrapper.wix.api.Maturity | null);
1136
+ persistence?: ($wrapper.wix.api.IPersistence | null);
572
1137
  static __$$generatedFromProtobuf$$__: Symbol;
573
1138
  }
574
- /**
575
- * InheritCrudErrors: does this method throw standard crud errors?
576
- */
577
- export interface IInheritCrudErrors {
578
- method?: ($wrapper.wix.api.Crud.Method | null);
1139
+ export interface IPersistence {
1140
+ type?: ($wrapper.wix.api.Persistence.Type | null);
579
1141
  }
580
- export class InheritCrudErrors implements IInheritCrudErrors {
581
- constructor(data?: IInheritCrudErrors);
582
- method?: ($wrapper.wix.api.Crud.Method | null);
1142
+ export class Persistence implements IPersistence {
1143
+ constructor(data?: IPersistence);
1144
+ type?: ($wrapper.wix.api.Persistence.Type | null);
583
1145
  static __$$generatedFromProtobuf$$__: Symbol;
584
1146
  }
585
- export interface IStatusCodes {
1147
+ export namespace Persistence {
1148
+ export enum Type {
1149
+ STANDARD = "STANDARD",
1150
+ SINGLETON = "SINGLETON",
1151
+ NONE = "NONE",
1152
+ }
586
1153
  }
587
- export class StatusCodes implements IStatusCodes {
588
- constructor(data?: IStatusCodes);
1154
+ export interface IExtensible {
1155
+ nestedExtensionFieldPath?: (string | null);
1156
+ filterable?: (boolean | null);
1157
+ nestedExtensionPointMappings?: ($wrapper.wix.api.INestedExtensionPointMapping[] | null);
1158
+ }
1159
+ export class Extensible implements IExtensible {
1160
+ constructor(data?: IExtensible);
1161
+ nestedExtensionFieldPath?: (string | null);
1162
+ filterable?: (boolean | null);
1163
+ nestedExtensionPointMappings?: ($wrapper.wix.api.INestedExtensionPointMapping[] | null);
589
1164
  static __$$generatedFromProtobuf$$__: Symbol;
590
1165
  }
591
- export namespace StatusCodes {
592
- export enum HttpStatusCode {
593
- OK = "OK",
594
- UNAUTHENTICATED = "UNAUTHENTICATED",
595
- PERMISSION_DENIED = "PERMISSION_DENIED",
596
- INVALID_ARGUMENT = "INVALID_ARGUMENT",
597
- NOT_FOUND = "NOT_FOUND",
598
- INTERNAL = "INTERNAL",
599
- UNAVAILABLE = "UNAVAILABLE",
600
- RESOURCE_EXHAUSTED = "RESOURCE_EXHAUSTED",
601
- CANCELED = "CANCELED",
602
- ALREADY_EXISTS = "ALREADY_EXISTS",
603
- FAILED_PRECONDITION = "FAILED_PRECONDITION",
1166
+ export interface INestedExtensionPointMapping {
1167
+ extensionPoint?: (string | null);
1168
+ path?: (string | null);
1169
+ }
1170
+ export class NestedExtensionPointMapping implements INestedExtensionPointMapping {
1171
+ constructor(data?: INestedExtensionPointMapping);
1172
+ extensionPoint?: (string | null);
1173
+ path?: (string | null);
1174
+ static __$$generatedFromProtobuf$$__: Symbol;
1175
+ }
1176
+ export interface IMessageAppendix {
1177
+ type?: ($wrapper.wix.api.MessageAppendix.Type | null);
1178
+ path?: (string | null);
1179
+ }
1180
+ export class MessageAppendix implements IMessageAppendix {
1181
+ constructor(data?: IMessageAppendix);
1182
+ type?: ($wrapper.wix.api.MessageAppendix.Type | null);
1183
+ path?: (string | null);
1184
+ static __$$generatedFromProtobuf$$__: Symbol;
1185
+ }
1186
+ export namespace MessageAppendix {
1187
+ export enum Type {
1188
+ UNKNOWN_APPENDIX_TYPE = "UNKNOWN_APPENDIX_TYPE",
1189
+ AUTO_VELO = "AUTO_VELO",
1190
+ DOCS_CONF = "DOCS_CONF",
1191
+ MULTILINGUAL = "MULTILINGUAL",
1192
+ SEARCH = "SEARCH",
1193
+ AUTO_SDK = "AUTO_SDK",
604
1194
  }
605
1195
  }
1196
+ export interface IDomainEventOptions {
1197
+ eventSequenceNumber?: (boolean | null);
1198
+ deletedIncludeEntity?: (boolean | null);
1199
+ updatedIncludeModifiedFields?: (boolean | null);
1200
+ }
1201
+ export class DomainEventOptions implements IDomainEventOptions {
1202
+ constructor(data?: IDomainEventOptions);
1203
+ eventSequenceNumber?: (boolean | null);
1204
+ deletedIncludeEntity?: (boolean | null);
1205
+ updatedIncludeModifiedFields?: (boolean | null);
1206
+ static __$$generatedFromProtobuf$$__: Symbol;
1207
+ }
1208
+ export interface ITaggable {
1209
+ }
1210
+ export class Taggable implements ITaggable {
1211
+ constructor(data?: ITaggable);
1212
+ static __$$generatedFromProtobuf$$__: Symbol;
1213
+ }
1214
+ export interface IQueryOptions {
1215
+ wql?: ($wrapper.wix.api.IWql | null);
1216
+ search?: ($wrapper.wix.api.ISearch[] | null);
1217
+ additionalQueryOptions?: ($wrapper.wix.api.INamedQueryOptions[] | null);
1218
+ }
1219
+ export class QueryOptions implements IQueryOptions {
1220
+ constructor(data?: IQueryOptions);
1221
+ wql?: ($wrapper.wix.api.IWql | null);
1222
+ search?: ($wrapper.wix.api.ISearch[] | null);
1223
+ additionalQueryOptions?: ($wrapper.wix.api.INamedQueryOptions[] | null);
1224
+ static __$$generatedFromProtobuf$$__: Symbol;
1225
+ }
1226
+ export interface INamedQueryOptions {
1227
+ name?: (string | null);
1228
+ wql?: ($wrapper.wix.api.IWql | null);
1229
+ search?: ($wrapper.wix.api.ISearch[] | null);
1230
+ }
1231
+ export class NamedQueryOptions implements INamedQueryOptions {
1232
+ constructor(data?: INamedQueryOptions);
1233
+ name?: (string | null);
1234
+ wql?: ($wrapper.wix.api.IWql | null);
1235
+ search?: ($wrapper.wix.api.ISearch[] | null);
1236
+ static __$$generatedFromProtobuf$$__: Symbol;
1237
+ }
606
1238
  export interface ICallback {
607
1239
  topic?: (string | null);
608
1240
  segment?: ($wrapper.wix.api.Segment.SegmentName | null);
@@ -638,6 +1270,8 @@ declare namespace $wrapper {
638
1270
  eventType?: ($wrapper.wix.api.DomainEvent.EventType | null);
639
1271
  exposure?: ($wrapper.wix.api.Exposure | null);
640
1272
  maturity?: ($wrapper.wix.api.Maturity | null);
1273
+ additionalMetadataFqn?: (string | null);
1274
+ deprecated?: ($wrapper.wix.api.IDomainEventDeprecation | null);
641
1275
  }
642
1276
  export class DomainEvent implements IDomainEvent {
643
1277
  constructor(data?: IDomainEvent);
@@ -646,6 +1280,8 @@ declare namespace $wrapper {
646
1280
  eventType?: ($wrapper.wix.api.DomainEvent.EventType | null);
647
1281
  exposure?: ($wrapper.wix.api.Exposure | null);
648
1282
  maturity?: ($wrapper.wix.api.Maturity | null);
1283
+ additionalMetadataFqn?: (string | null);
1284
+ deprecated?: ($wrapper.wix.api.IDomainEventDeprecation | null);
649
1285
  static __$$generatedFromProtobuf$$__: Symbol;
650
1286
  }
651
1287
  export namespace DomainEvent {
@@ -667,6 +1303,16 @@ declare namespace $wrapper {
667
1303
  actionMessageFqn?: (string | null);
668
1304
  static __$$generatedFromProtobuf$$__: Symbol;
669
1305
  }
1306
+ export interface IDomainEventDeprecation {
1307
+ replacedBy?: (string | null);
1308
+ targetRemovalDate?: (string | null);
1309
+ }
1310
+ export class DomainEventDeprecation implements IDomainEventDeprecation {
1311
+ constructor(data?: IDomainEventDeprecation);
1312
+ replacedBy?: (string | null);
1313
+ targetRemovalDate?: (string | null);
1314
+ static __$$generatedFromProtobuf$$__: Symbol;
1315
+ }
670
1316
  export interface ICallbackDeprecation {
671
1317
  replacedBy?: (string | null);
672
1318
  targetRemovalDate?: (string | null);
@@ -703,6 +1349,14 @@ declare namespace $wrapper {
703
1349
  OTHERS = "OTHERS",
704
1350
  }
705
1351
  }
1352
+ export interface IActionPayload {
1353
+ customSlug?: (string | null);
1354
+ }
1355
+ export class ActionPayload implements IActionPayload {
1356
+ constructor(data?: IActionPayload);
1357
+ customSlug?: (string | null);
1358
+ static __$$generatedFromProtobuf$$__: Symbol;
1359
+ }
706
1360
  export interface IRequestContext {
707
1361
  aspects?: ({ [k: string]: string } | null);
708
1362
  }
@@ -727,138 +1381,6 @@ declare namespace $wrapper {
727
1381
  aspectEntry?: ({ [k: string]: string });
728
1382
  static __$$generatedFromProtobuf$$__: Symbol;
729
1383
  }
730
- export interface IServiceEntity {
731
- message?: (string | null);
732
- namespace?: (string | null);
733
- }
734
- export class ServiceEntity implements IServiceEntity {
735
- constructor(data?: IServiceEntity);
736
- message?: (string | null);
737
- namespace?: (string | null);
738
- static __$$generatedFromProtobuf$$__: Symbol;
739
- }
740
- export interface IEntity {
741
- fqdn?: (string | null);
742
- exposure?: ($wrapper.wix.api.Exposure | null);
743
- appendixFiles?: ($wrapper.wix.api.IMessageAppendix[] | null);
744
- oldFqdnForBackwardsCompatibility?: (string | null);
745
- segment?: ($wrapper.wix.api.Segment.SegmentName | null);
746
- implements?: (string[] | null);
747
- extensible?: ($wrapper.wix.api.IExtensible | null);
748
- trashbin?: (boolean | null);
749
- plural?: (string | null);
750
- domainEventsReadPermission?: (string | null);
751
- appDefId?: (string | null);
752
- domainEvents?: ($wrapper.wix.api.IDomainEventOptions | null);
753
- taggable?: ($wrapper.wix.api.ITaggable | null);
754
- queryOptions?: ($wrapper.wix.api.IQueryOptions | null);
755
- eventsExposure?: ($wrapper.wix.api.Exposure | null);
756
- eventsMaturity?: ($wrapper.wix.api.Maturity | null);
757
- }
758
- export class Entity implements IEntity {
759
- constructor(data?: IEntity);
760
- fqdn?: (string | null);
761
- exposure?: ($wrapper.wix.api.Exposure | null);
762
- appendixFiles?: ($wrapper.wix.api.IMessageAppendix[] | null);
763
- oldFqdnForBackwardsCompatibility?: (string | null);
764
- segment?: ($wrapper.wix.api.Segment.SegmentName | null);
765
- implements?: (string[] | null);
766
- extensible?: ($wrapper.wix.api.IExtensible | null);
767
- trashbin?: (boolean | null);
768
- plural?: (string | null);
769
- domainEventsReadPermission?: (string | null);
770
- appDefId?: (string | null);
771
- domainEvents?: ($wrapper.wix.api.IDomainEventOptions | null);
772
- taggable?: ($wrapper.wix.api.ITaggable | null);
773
- queryOptions?: ($wrapper.wix.api.IQueryOptions | null);
774
- eventsExposure?: ($wrapper.wix.api.Exposure | null);
775
- eventsMaturity?: ($wrapper.wix.api.Maturity | null);
776
- static __$$generatedFromProtobuf$$__: Symbol;
777
- }
778
- export interface IExtensible {
779
- nestedExtensionFieldPath?: (string | null);
780
- filterable?: (boolean | null);
781
- nestedExtensionPointMappings?: ($wrapper.wix.api.INestedExtensionPointMapping[] | null);
782
- }
783
- export class Extensible implements IExtensible {
784
- constructor(data?: IExtensible);
785
- nestedExtensionFieldPath?: (string | null);
786
- filterable?: (boolean | null);
787
- nestedExtensionPointMappings?: ($wrapper.wix.api.INestedExtensionPointMapping[] | null);
788
- static __$$generatedFromProtobuf$$__: Symbol;
789
- }
790
- export interface INestedExtensionPointMapping {
791
- extensionPoint?: (string | null);
792
- path?: (string | null);
793
- }
794
- export class NestedExtensionPointMapping implements INestedExtensionPointMapping {
795
- constructor(data?: INestedExtensionPointMapping);
796
- extensionPoint?: (string | null);
797
- path?: (string | null);
798
- static __$$generatedFromProtobuf$$__: Symbol;
799
- }
800
- export interface IMessageAppendix {
801
- type?: ($wrapper.wix.api.MessageAppendix.Type | null);
802
- path?: (string | null);
803
- }
804
- export class MessageAppendix implements IMessageAppendix {
805
- constructor(data?: IMessageAppendix);
806
- type?: ($wrapper.wix.api.MessageAppendix.Type | null);
807
- path?: (string | null);
808
- static __$$generatedFromProtobuf$$__: Symbol;
809
- }
810
- export namespace MessageAppendix {
811
- export enum Type {
812
- UNKNOWN_APPENDIX_TYPE = "UNKNOWN_APPENDIX_TYPE",
813
- AUTO_VELO = "AUTO_VELO",
814
- DOCS_CONF = "DOCS_CONF",
815
- MULTILINGUAL = "MULTILINGUAL",
816
- SEARCH = "SEARCH",
817
- AUTO_SDK = "AUTO_SDK",
818
- }
819
- }
820
- export interface IDomainEventOptions {
821
- eventSequenceNumber?: (boolean | null);
822
- deletedIncludeEntity?: (boolean | null);
823
- updatedIncludeModifiedFields?: (boolean | null);
824
- }
825
- export class DomainEventOptions implements IDomainEventOptions {
826
- constructor(data?: IDomainEventOptions);
827
- eventSequenceNumber?: (boolean | null);
828
- deletedIncludeEntity?: (boolean | null);
829
- updatedIncludeModifiedFields?: (boolean | null);
830
- static __$$generatedFromProtobuf$$__: Symbol;
831
- }
832
- export interface ITaggable {
833
- }
834
- export class Taggable implements ITaggable {
835
- constructor(data?: ITaggable);
836
- static __$$generatedFromProtobuf$$__: Symbol;
837
- }
838
- export interface IQueryOptions {
839
- wql?: ($wrapper.wix.api.IWql | null);
840
- search?: ($wrapper.wix.api.ISearch[] | null);
841
- additionalQueryOptions?: ($wrapper.wix.api.INamedQueryOptions[] | null);
842
- }
843
- export class QueryOptions implements IQueryOptions {
844
- constructor(data?: IQueryOptions);
845
- wql?: ($wrapper.wix.api.IWql | null);
846
- search?: ($wrapper.wix.api.ISearch[] | null);
847
- additionalQueryOptions?: ($wrapper.wix.api.INamedQueryOptions[] | null);
848
- static __$$generatedFromProtobuf$$__: Symbol;
849
- }
850
- export interface INamedQueryOptions {
851
- name?: (string | null);
852
- wql?: ($wrapper.wix.api.IWql | null);
853
- search?: ($wrapper.wix.api.ISearch[] | null);
854
- }
855
- export class NamedQueryOptions implements INamedQueryOptions {
856
- constructor(data?: INamedQueryOptions);
857
- name?: (string | null);
858
- wql?: ($wrapper.wix.api.IWql | null);
859
- search?: ($wrapper.wix.api.ISearch[] | null);
860
- static __$$generatedFromProtobuf$$__: Symbol;
861
- }
862
1384
  export interface IDetails {
863
1385
  applicationError?: ($wrapper.wix.api.IApplicationError | null);
864
1386
  validationError?: ($wrapper.wix.api.IValidationError | null);
@@ -953,6 +1475,9 @@ declare namespace $wrapper {
953
1475
  REQUIRED_FIELD = "REQUIRED_FIELD",
954
1476
  FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED",
955
1477
  ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT",
1478
+ EXACT_LENGTH = "EXACT_LENGTH",
1479
+ EXACT_SIZE = "EXACT_SIZE",
1480
+ REQUIRED_ONE_OF_FIELD = "REQUIRED_ONE_OF_FIELD",
956
1481
  }
957
1482
  export interface IFieldViolation {
958
1483
  field?: (string | null);
@@ -1003,114 +1528,239 @@ declare namespace $wrapper {
1003
1528
  type?: (string | null);
1004
1529
  static __$$generatedFromProtobuf$$__: Symbol;
1005
1530
  }
1006
- export interface IEnumRuleDataPayload {
1007
- supported?: (string[] | null);
1531
+ export interface IEnumRuleDataPayload {
1532
+ supported?: (string[] | null);
1533
+ }
1534
+ export class EnumRuleDataPayload implements IEnumRuleDataPayload {
1535
+ constructor(data?: IEnumRuleDataPayload);
1536
+ supported?: (string[] | null);
1537
+ static __$$generatedFromProtobuf$$__: Symbol;
1538
+ }
1539
+ export interface IRequiredOneOfRuleDataPayload {
1540
+ supported?: (string[] | null);
1541
+ }
1542
+ export class RequiredOneOfRuleDataPayload implements IRequiredOneOfRuleDataPayload {
1543
+ constructor(data?: IRequiredOneOfRuleDataPayload);
1544
+ supported?: (string[] | null);
1545
+ static __$$generatedFromProtobuf$$__: Symbol;
1546
+ }
1547
+ export interface IIdempotency {
1548
+ key?: (string | null);
1549
+ }
1550
+ export class Idempotency implements IIdempotency {
1551
+ constructor(data?: IIdempotency);
1552
+ key?: (string | null);
1553
+ static __$$generatedFromProtobuf$$__: Symbol;
1554
+ }
1555
+ export interface IPermissionRule {
1556
+ name?: (string | null);
1557
+ type?: ($wrapper.wix.api.PermissionType | null);
1558
+ }
1559
+ export class PermissionRule implements IPermissionRule {
1560
+ constructor(data?: IPermissionRule);
1561
+ name?: (string | null);
1562
+ type?: ($wrapper.wix.api.PermissionType | null);
1563
+ static __$$generatedFromProtobuf$$__: Symbol;
1564
+ }
1565
+ export enum PermissionType {
1566
+ AUTO = "AUTO",
1567
+ MANUAL = "MANUAL",
1568
+ }
1569
+ export interface ISla {
1570
+ responseTimeMs?: (number | null);
1571
+ }
1572
+ export class Sla implements ISla {
1573
+ constructor(data?: ISla);
1574
+ responseTimeMs?: (number | null);
1575
+ static __$$generatedFromProtobuf$$__: Symbol;
1576
+ }
1577
+ export interface ISubscription {
1578
+ topic?: (string | null);
1579
+ segment?: ($wrapper.wix.api.Segment.SegmentName | null);
1580
+ batch?: (boolean | null);
1581
+ entity?: (string | null);
1582
+ dynamic?: (boolean | null);
1583
+ }
1584
+ export class Subscription implements ISubscription {
1585
+ constructor(data?: ISubscription);
1586
+ topic?: (string | null);
1587
+ segment?: ($wrapper.wix.api.Segment.SegmentName | null);
1588
+ batch?: (boolean | null);
1589
+ entity?: (string | null);
1590
+ dynamic?: (boolean | null);
1591
+ static __$$generatedFromProtobuf$$__: Symbol;
1592
+ }
1593
+ }
1594
+ export namespace spi {
1595
+ export interface IService {
1596
+ spiIdentifier?: (string | null);
1597
+ configMessage?: (string | null);
1598
+ hostService?: (string | null);
1599
+ businessManagerUrl?: (string | null);
1600
+ fqdn?: (string | null);
1601
+ appId?: (string | null);
1602
+ appendixFiles?: ($wrapper.wix.spi.IServiceAppendix[] | null);
1603
+ }
1604
+ export class Service implements IService {
1605
+ constructor(data?: IService);
1606
+ spiIdentifier?: (string | null);
1607
+ configMessage?: (string | null);
1608
+ hostService?: (string | null);
1609
+ businessManagerUrl?: (string | null);
1610
+ fqdn?: (string | null);
1611
+ appId?: (string | null);
1612
+ appendixFiles?: ($wrapper.wix.spi.IServiceAppendix[] | null);
1613
+ static __$$generatedFromProtobuf$$__: Symbol;
1614
+ }
1615
+ export interface IServiceAppendix {
1616
+ type?: ($wrapper.wix.spi.ServiceAppendix.Type | null);
1617
+ path?: (string | null);
1618
+ }
1619
+ export class ServiceAppendix implements IServiceAppendix {
1620
+ constructor(data?: IServiceAppendix);
1621
+ type?: ($wrapper.wix.spi.ServiceAppendix.Type | null);
1622
+ path?: (string | null);
1623
+ static __$$generatedFromProtobuf$$__: Symbol;
1624
+ }
1625
+ export namespace ServiceAppendix {
1626
+ export enum Type {
1627
+ UNKNOWN_APPENDIX_TYPE = "UNKNOWN_APPENDIX_TYPE",
1628
+ AUTO_VELO = "AUTO_VELO",
1629
+ DOCS_CONF = "DOCS_CONF",
1630
+ MULTILINGUAL = "MULTILINGUAL",
1631
+ SEARCH = "SEARCH",
1632
+ AUTO_SDK = "AUTO_SDK",
1633
+ }
1634
+ }
1635
+ export interface IError {
1636
+ name?: (string | null);
1637
+ httpCode?: ($wrapper.wix.spi.HttpStatusCode | null);
1638
+ applicationCode?: (string | null);
1639
+ data?: (string | null);
1640
+ }
1641
+ export class Error implements IError {
1642
+ constructor(data?: IError);
1643
+ name?: (string | null);
1644
+ httpCode?: ($wrapper.wix.spi.HttpStatusCode | null);
1645
+ applicationCode?: (string | null);
1646
+ data?: (string | null);
1647
+ static __$$generatedFromProtobuf$$__: Symbol;
1648
+ }
1649
+ export interface IEvent {
1650
+ methodName?: (string | null);
1651
+ }
1652
+ export class Event implements IEvent {
1653
+ constructor(data?: IEvent);
1654
+ methodName?: (string | null);
1655
+ static __$$generatedFromProtobuf$$__: Symbol;
1656
+ }
1657
+ export enum HttpStatusCode {
1658
+ UNKNOWN_ERROR = "UNKNOWN_ERROR",
1659
+ UNAUTHENTICATED = "UNAUTHENTICATED",
1660
+ INVALID_ARGUMENT = "INVALID_ARGUMENT",
1661
+ INTERNAL = "INTERNAL",
1662
+ RESOURCE_EXHAUSTED = "RESOURCE_EXHAUSTED",
1663
+ CANCELED = "CANCELED",
1664
+ NOT_FOUND = "NOT_FOUND",
1665
+ ALREADY_EXISTS = "ALREADY_EXISTS",
1666
+ FAILED_PRECONDITION = "FAILED_PRECONDITION",
1008
1667
  }
1009
- export class EnumRuleDataPayload implements IEnumRuleDataPayload {
1010
- constructor(data?: IEnumRuleDataPayload);
1011
- supported?: (string[] | null);
1668
+ }
1669
+ export namespace common {
1670
+ export interface IPaging {
1671
+ limit?: (number | null);
1672
+ offset?: (number | null);
1673
+ }
1674
+ export class Paging implements IPaging {
1675
+ constructor(data?: IPaging);
1676
+ limit?: (number | null);
1677
+ offset?: (number | null);
1012
1678
  static __$$generatedFromProtobuf$$__: Symbol;
1013
1679
  }
1014
- export interface IIdempotency {
1015
- key?: (string | null);
1680
+ export interface ICursorPaging {
1681
+ limit?: (number | null);
1682
+ cursor?: (string | null);
1016
1683
  }
1017
- export class Idempotency implements IIdempotency {
1018
- constructor(data?: IIdempotency);
1019
- key?: (string | null);
1684
+ export class CursorPaging implements ICursorPaging {
1685
+ constructor(data?: ICursorPaging);
1686
+ limit?: (number | null);
1687
+ cursor?: (string | null);
1020
1688
  static __$$generatedFromProtobuf$$__: Symbol;
1021
1689
  }
1022
- export interface IPermissionRule {
1023
- name?: (string | null);
1024
- type?: ($wrapper.wix.api.PermissionType | null);
1690
+ export interface IPagingMetadata {
1691
+ count?: (number | null);
1692
+ offset?: (number | null);
1693
+ total?: (number | null);
1694
+ tooManyToCount?: (boolean | null);
1695
+ hasNext?: (boolean | null);
1025
1696
  }
1026
- export class PermissionRule implements IPermissionRule {
1027
- constructor(data?: IPermissionRule);
1028
- name?: (string | null);
1029
- type?: ($wrapper.wix.api.PermissionType | null);
1697
+ export class PagingMetadata implements IPagingMetadata {
1698
+ constructor(data?: IPagingMetadata);
1699
+ count?: (number | null);
1700
+ offset?: (number | null);
1701
+ total?: (number | null);
1702
+ tooManyToCount?: (boolean | null);
1703
+ hasNext?: (boolean | null);
1030
1704
  static __$$generatedFromProtobuf$$__: Symbol;
1031
1705
  }
1032
- export enum PermissionType {
1033
- AUTO = "AUTO",
1034
- MANUAL = "MANUAL",
1035
- }
1036
- export interface ISla {
1037
- responseTimeMs?: (number | null);
1706
+ export interface IPagingMetadataV2 {
1707
+ count?: (number | null);
1708
+ offset?: (number | null);
1709
+ total?: (number | null);
1710
+ tooManyToCount?: (boolean | null);
1711
+ cursors?: ($wrapper.wix.common.ICursors | null);
1712
+ hasNext?: (boolean | null);
1038
1713
  }
1039
- export class Sla implements ISla {
1040
- constructor(data?: ISla);
1041
- responseTimeMs?: (number | null);
1714
+ export class PagingMetadataV2 implements IPagingMetadataV2 {
1715
+ constructor(data?: IPagingMetadataV2);
1716
+ count?: (number | null);
1717
+ offset?: (number | null);
1718
+ total?: (number | null);
1719
+ tooManyToCount?: (boolean | null);
1720
+ cursors?: ($wrapper.wix.common.ICursors | null);
1721
+ hasNext?: (boolean | null);
1042
1722
  static __$$generatedFromProtobuf$$__: Symbol;
1043
1723
  }
1044
- export interface ISubscription {
1045
- topic?: (string | null);
1046
- segment?: ($wrapper.wix.api.Segment.SegmentName | null);
1047
- batch?: (boolean | null);
1048
- entity?: (string | null);
1049
- dynamic?: (boolean | null);
1724
+ export interface ICursorPagingMetadata {
1725
+ count?: (number | null);
1726
+ cursors?: ($wrapper.wix.common.ICursors | null);
1727
+ hasNext?: (boolean | null);
1728
+ total?: (number | null);
1050
1729
  }
1051
- export class Subscription implements ISubscription {
1052
- constructor(data?: ISubscription);
1053
- topic?: (string | null);
1054
- segment?: ($wrapper.wix.api.Segment.SegmentName | null);
1055
- batch?: (boolean | null);
1056
- entity?: (string | null);
1057
- dynamic?: (boolean | null);
1730
+ export class CursorPagingMetadata implements ICursorPagingMetadata {
1731
+ constructor(data?: ICursorPagingMetadata);
1732
+ count?: (number | null);
1733
+ cursors?: ($wrapper.wix.common.ICursors | null);
1734
+ hasNext?: (boolean | null);
1735
+ total?: (number | null);
1058
1736
  static __$$generatedFromProtobuf$$__: Symbol;
1059
1737
  }
1060
- /**
1061
- * Decimal value validation rules.
1062
- * Based on java.math.BigDecimal, implies (wix.api.format) = DECIMAL_VALUE
1063
- */
1064
- export interface IDecimalValueOptions {
1065
- lte?: (string | null);
1066
- gte?: (string | null);
1067
- lt?: (string | null);
1068
- gt?: (string | null);
1069
- maxScale?: (number | null);
1738
+ export interface ICursors {
1739
+ next?: (string | null);
1740
+ prev?: (string | null);
1070
1741
  }
1071
- export class DecimalValueOptions implements IDecimalValueOptions {
1072
- constructor(data?: IDecimalValueOptions);
1073
- lte?: (string | null);
1074
- gte?: (string | null);
1075
- lt?: (string | null);
1076
- gt?: (string | null);
1077
- maxScale?: (number | null);
1742
+ export class Cursors implements ICursors {
1743
+ constructor(data?: ICursors);
1744
+ next?: (string | null);
1745
+ prev?: (string | null);
1078
1746
  static __$$generatedFromProtobuf$$__: Symbol;
1079
1747
  }
1080
- export interface IAlignedWithEnum {
1081
- field?: (string | null);
1082
- suffix?: (string | null);
1748
+ export interface ISorting {
1749
+ fieldName?: (string | null);
1750
+ order?: ($wrapper.wix.common.SortOrder | null);
1751
+ selectItemsBy?: ({ [key: string]: any }[] | null);
1083
1752
  }
1084
- export class AlignedWithEnum implements IAlignedWithEnum {
1085
- constructor(data?: IAlignedWithEnum);
1086
- field?: (string | null);
1087
- suffix?: (string | null);
1753
+ export class Sorting implements ISorting {
1754
+ constructor(data?: ISorting);
1755
+ fieldName?: (string | null);
1756
+ order?: ($wrapper.wix.common.SortOrder | null);
1757
+ selectItemsBy?: ({ [key: string]: any }[] | null);
1088
1758
  static __$$generatedFromProtobuf$$__: Symbol;
1089
1759
  }
1090
- export enum Format {
1091
- EMAIL = "EMAIL",
1092
- HOSTNAME = "HOSTNAME",
1093
- IPV4 = "IPV4",
1094
- IPV6 = "IPV6",
1095
- URI = "URI",
1096
- WEB_URL = "WEB_URL",
1097
- PHONE = "PHONE",
1098
- CREDIT_CARD = "CREDIT_CARD",
1099
- GUID = "GUID",
1100
- COUNTRY = "COUNTRY",
1101
- LANGUAGE = "LANGUAGE",
1102
- DECIMAL_VALUE = "DECIMAL_VALUE",
1103
- CURRENCY = "CURRENCY",
1104
- LANGUAGE_TAG = "LANGUAGE_TAG",
1105
- COLOR_HEX = "COLOR_HEX",
1106
- LOCAL_DATE = "LOCAL_DATE",
1107
- LOCAL_TIME = "LOCAL_TIME",
1108
- LOCAL_DATE_TIME = "LOCAL_DATE_TIME",
1109
- URL_SLUG = "URL_SLUG",
1110
- SYSTEM_SLUG = "SYSTEM_SLUG",
1760
+ export enum SortOrder {
1761
+ ASC = "ASC",
1762
+ DESC = "DESC",
1111
1763
  }
1112
- }
1113
- export namespace common {
1114
1764
  export interface IAddress {
1115
1765
  country?: (string | null);
1116
1766
  subdivision?: (string | null);
@@ -1596,6 +2246,7 @@ declare namespace $wrapper {
1596
2246
  valueExceeded?: ($wrapper.wix.common.data.PatchErrorDetails.IValueExceeded | null);
1597
2247
  invalidUuid?: ($wrapper.wix.common.data.PatchErrorDetails.IInvalidUUID | null);
1598
2248
  systemFieldNotAllowed?: ($wrapper.wix.common.data.PatchErrorDetails.ISystemFieldNotAllowed | null);
2249
+ failedToWriteType?: ($wrapper.wix.common.data.PatchErrorDetails.IFailedToWriteType | null);
1599
2250
  }
1600
2251
  export class PatchErrorDetails implements IPatchErrorDetails {
1601
2252
  constructor(data?: IPatchErrorDetails);
@@ -1610,6 +2261,7 @@ declare namespace $wrapper {
1610
2261
  valueExceeded?: ($wrapper.wix.common.data.PatchErrorDetails.IValueExceeded | null);
1611
2262
  invalidUuid?: ($wrapper.wix.common.data.PatchErrorDetails.IInvalidUUID | null);
1612
2263
  systemFieldNotAllowed?: ($wrapper.wix.common.data.PatchErrorDetails.ISystemFieldNotAllowed | null);
2264
+ failedToWriteType?: ($wrapper.wix.common.data.PatchErrorDetails.IFailedToWriteType | null);
1613
2265
  static __$$generatedFromProtobuf$$__: Symbol;
1614
2266
  }
1615
2267
  export namespace PatchErrorDetails {
@@ -1665,6 +2317,18 @@ declare namespace $wrapper {
1665
2317
  expected?: (string | null);
1666
2318
  static __$$generatedFromProtobuf$$__: Symbol;
1667
2319
  }
2320
+ export interface IFailedToWriteType {
2321
+ path?: (string | null);
2322
+ expectedType?: (string | null);
2323
+ value?: (string | null);
2324
+ }
2325
+ export class FailedToWriteType implements IFailedToWriteType {
2326
+ constructor(data?: IFailedToWriteType);
2327
+ path?: (string | null);
2328
+ expectedType?: (string | null);
2329
+ value?: (string | null);
2330
+ static __$$generatedFromProtobuf$$__: Symbol;
2331
+ }
1668
2332
  export interface IIllegalPath {
1669
2333
  path?: (string | null);
1670
2334
  }
@@ -1810,6 +2474,7 @@ declare namespace $wrapper {
1810
2474
  uniqueKeyNotFound?: ($wrapper.wix.common.data.ErrorDetails.IUniqueKeyNotFound | null);
1811
2475
  invalidUniqueKey?: ($wrapper.wix.common.data.ErrorDetails.IInvalidUniqueKey | null);
1812
2476
  maxSizeViolations?: ($wrapper.wix.common.data.ErrorDetails.IMaxSizeViolations | null);
2477
+ pageSizeExceedsMaximum?: ($wrapper.wix.common.data.ErrorDetails.IPageSizeExceedsMaximum | null);
1813
2478
  }
1814
2479
  export class ErrorDetails implements IErrorDetails {
1815
2480
  constructor(data?: IErrorDetails);
@@ -1842,6 +2507,7 @@ declare namespace $wrapper {
1842
2507
  uniqueKeyNotFound?: ($wrapper.wix.common.data.ErrorDetails.IUniqueKeyNotFound | null);
1843
2508
  invalidUniqueKey?: ($wrapper.wix.common.data.ErrorDetails.IInvalidUniqueKey | null);
1844
2509
  maxSizeViolations?: ($wrapper.wix.common.data.ErrorDetails.IMaxSizeViolations | null);
2510
+ pageSizeExceedsMaximum?: ($wrapper.wix.common.data.ErrorDetails.IPageSizeExceedsMaximum | null);
1845
2511
  static __$$generatedFromProtobuf$$__: Symbol;
1846
2512
  }
1847
2513
  export namespace ErrorDetails {
@@ -2131,6 +2797,16 @@ declare namespace $wrapper {
2131
2797
  fieldType?: (string | null);
2132
2798
  static __$$generatedFromProtobuf$$__: Symbol;
2133
2799
  }
2800
+ export interface IPageSizeExceedsMaximum {
2801
+ size?: (number | null);
2802
+ maxPageSize?: (number | null);
2803
+ }
2804
+ export class PageSizeExceedsMaximum implements IPageSizeExceedsMaximum {
2805
+ constructor(data?: IPageSizeExceedsMaximum);
2806
+ size?: (number | null);
2807
+ maxPageSize?: (number | null);
2808
+ static __$$generatedFromProtobuf$$__: Symbol;
2809
+ }
2134
2810
  }
2135
2811
  }
2136
2812
  export interface IIdentificationData {
@@ -2169,6 +2845,7 @@ declare namespace $wrapper {
2169
2845
  urlExpirationDate?: (Date | null);
2170
2846
  filename?: (string | null);
2171
2847
  sizeInBytes?: (string | null);
2848
+ focalPoint?: ($wrapper.wix.common.IFocalPoint | null);
2172
2849
  }
2173
2850
  export class Image implements IImage {
2174
2851
  constructor(data?: IImage);
@@ -2180,6 +2857,7 @@ declare namespace $wrapper {
2180
2857
  urlExpirationDate?: (Date | null);
2181
2858
  filename?: (string | null);
2182
2859
  sizeInBytes?: (string | null);
2860
+ focalPoint?: ($wrapper.wix.common.IFocalPoint | null);
2183
2861
  static __$$generatedFromProtobuf$$__: Symbol;
2184
2862
  }
2185
2863
  export interface IVideo {
@@ -2209,6 +2887,8 @@ declare namespace $wrapper {
2209
2887
  durationInMilliseconds?: (number | null);
2210
2888
  title?: (string | null);
2211
2889
  description?: (string | null);
2890
+ height?: (number | null);
2891
+ width?: (number | null);
2212
2892
  }
2213
2893
  export class VideoV2 implements IVideoV2 {
2214
2894
  constructor(data?: IVideoV2);
@@ -2222,6 +2902,8 @@ declare namespace $wrapper {
2222
2902
  durationInMilliseconds?: (number | null);
2223
2903
  title?: (string | null);
2224
2904
  description?: (string | null);
2905
+ height?: (number | null);
2906
+ width?: (number | null);
2225
2907
  static __$$generatedFromProtobuf$$__: Symbol;
2226
2908
  }
2227
2909
  export interface IVideoResolution {
@@ -2288,6 +2970,7 @@ declare namespace $wrapper {
2288
2970
  urlExpirationDate?: (Date | null);
2289
2971
  sizeInBytes?: (string | null);
2290
2972
  filename?: (string | null);
2973
+ thumbnail?: ($wrapper.wix.common.IImage | null);
2291
2974
  }
2292
2975
  export class Document implements IDocument {
2293
2976
  constructor(data?: IDocument);
@@ -2296,6 +2979,7 @@ declare namespace $wrapper {
2296
2979
  urlExpirationDate?: (Date | null);
2297
2980
  sizeInBytes?: (string | null);
2298
2981
  filename?: (string | null);
2982
+ thumbnail?: ($wrapper.wix.common.IImage | null);
2299
2983
  static __$$generatedFromProtobuf$$__: Symbol;
2300
2984
  }
2301
2985
  export interface IModel3D {
@@ -2341,119 +3025,55 @@ declare namespace $wrapper {
2341
3025
  }
2342
3026
  export class MediaItem implements IMediaItem {
2343
3027
  constructor(data?: IMediaItem);
2344
- image?: ($wrapper.wix.common.IImage | null);
2345
- video?: ($wrapper.wix.common.IVideo | null);
2346
- document?: ($wrapper.wix.common.IDocument | null);
2347
- static __$$generatedFromProtobuf$$__: Symbol;
2348
- }
2349
- export interface IMoney {
2350
- value?: (string | null);
2351
- currency?: (string | null);
2352
- formattedValue?: (string | null);
2353
- }
2354
- export class Money implements IMoney {
2355
- constructor(data?: IMoney);
2356
- value?: (string | null);
2357
- currency?: (string | null);
2358
- formattedValue?: (string | null);
2359
- static __$$generatedFromProtobuf$$__: Symbol;
2360
- }
2361
- export interface IPageUrl {
2362
- base?: (string | null);
2363
- path?: (string | null);
2364
- }
2365
- export class PageUrl implements IPageUrl {
2366
- constructor(data?: IPageUrl);
2367
- base?: (string | null);
2368
- path?: (string | null);
2369
- static __$$generatedFromProtobuf$$__: Symbol;
2370
- }
2371
- export interface IPageUrlV2 {
2372
- relativePath?: (string | null);
2373
- url?: (string | null);
2374
- }
2375
- export class PageUrlV2 implements IPageUrlV2 {
2376
- constructor(data?: IPageUrlV2);
2377
- relativePath?: (string | null);
2378
- url?: (string | null);
2379
- static __$$generatedFromProtobuf$$__: Symbol;
2380
- }
2381
- export interface IPaging {
2382
- limit?: (number | null);
2383
- offset?: (number | null);
2384
- }
2385
- export class Paging implements IPaging {
2386
- constructor(data?: IPaging);
2387
- limit?: (number | null);
2388
- offset?: (number | null);
2389
- static __$$generatedFromProtobuf$$__: Symbol;
2390
- }
2391
- export interface ICursorPaging {
2392
- limit?: (number | null);
2393
- cursor?: (string | null);
2394
- }
2395
- export class CursorPaging implements ICursorPaging {
2396
- constructor(data?: ICursorPaging);
2397
- limit?: (number | null);
2398
- cursor?: (string | null);
2399
- static __$$generatedFromProtobuf$$__: Symbol;
2400
- }
2401
- export interface IPagingMetadata {
2402
- count?: (number | null);
2403
- offset?: (number | null);
2404
- total?: (number | null);
2405
- tooManyToCount?: (boolean | null);
2406
- hasNext?: (boolean | null);
3028
+ image?: ($wrapper.wix.common.IImage | null);
3029
+ video?: ($wrapper.wix.common.IVideo | null);
3030
+ document?: ($wrapper.wix.common.IDocument | null);
3031
+ static __$$generatedFromProtobuf$$__: Symbol;
2407
3032
  }
2408
- export class PagingMetadata implements IPagingMetadata {
2409
- constructor(data?: IPagingMetadata);
2410
- count?: (number | null);
2411
- offset?: (number | null);
2412
- total?: (number | null);
2413
- tooManyToCount?: (boolean | null);
2414
- hasNext?: (boolean | null);
3033
+ export interface IFocalPoint {
3034
+ x?: (number | null);
3035
+ y?: (number | null);
3036
+ height?: (number | null);
3037
+ width?: (number | null);
3038
+ }
3039
+ export class FocalPoint implements IFocalPoint {
3040
+ constructor(data?: IFocalPoint);
3041
+ x?: (number | null);
3042
+ y?: (number | null);
3043
+ height?: (number | null);
3044
+ width?: (number | null);
2415
3045
  static __$$generatedFromProtobuf$$__: Symbol;
2416
3046
  }
2417
- export interface IPagingMetadataV2 {
2418
- count?: (number | null);
2419
- offset?: (number | null);
2420
- total?: (number | null);
2421
- tooManyToCount?: (boolean | null);
2422
- cursors?: ($wrapper.wix.common.ICursors | null);
2423
- hasNext?: (boolean | null);
3047
+ export interface IMoney {
3048
+ value?: (string | null);
3049
+ currency?: (string | null);
3050
+ formattedValue?: (string | null);
2424
3051
  }
2425
- export class PagingMetadataV2 implements IPagingMetadataV2 {
2426
- constructor(data?: IPagingMetadataV2);
2427
- count?: (number | null);
2428
- offset?: (number | null);
2429
- total?: (number | null);
2430
- tooManyToCount?: (boolean | null);
2431
- cursors?: ($wrapper.wix.common.ICursors | null);
2432
- hasNext?: (boolean | null);
3052
+ export class Money implements IMoney {
3053
+ constructor(data?: IMoney);
3054
+ value?: (string | null);
3055
+ currency?: (string | null);
3056
+ formattedValue?: (string | null);
2433
3057
  static __$$generatedFromProtobuf$$__: Symbol;
2434
3058
  }
2435
- export interface ICursorPagingMetadata {
2436
- count?: (number | null);
2437
- cursors?: ($wrapper.wix.common.ICursors | null);
2438
- hasNext?: (boolean | null);
2439
- total?: (number | null);
3059
+ export interface IPageUrl {
3060
+ base?: (string | null);
3061
+ path?: (string | null);
2440
3062
  }
2441
- export class CursorPagingMetadata implements ICursorPagingMetadata {
2442
- constructor(data?: ICursorPagingMetadata);
2443
- count?: (number | null);
2444
- cursors?: ($wrapper.wix.common.ICursors | null);
2445
- hasNext?: (boolean | null);
2446
- total?: (number | null);
3063
+ export class PageUrl implements IPageUrl {
3064
+ constructor(data?: IPageUrl);
3065
+ base?: (string | null);
3066
+ path?: (string | null);
2447
3067
  static __$$generatedFromProtobuf$$__: Symbol;
2448
3068
  }
2449
- export interface ICursors {
2450
- next?: (string | null);
2451
- prev?: (string | null);
3069
+ export interface IPageUrlV2 {
3070
+ relativePath?: (string | null);
3071
+ url?: (string | null);
2452
3072
  }
2453
- export class Cursors implements ICursors {
2454
- constructor(data?: ICursors);
2455
- next?: (string | null);
2456
- prev?: (string | null);
3073
+ export class PageUrlV2 implements IPageUrlV2 {
3074
+ constructor(data?: IPageUrlV2);
3075
+ relativePath?: (string | null);
3076
+ url?: (string | null);
2457
3077
  static __$$generatedFromProtobuf$$__: Symbol;
2458
3078
  }
2459
3079
  export interface IQuery {
@@ -2975,22 +3595,6 @@ declare namespace $wrapper {
2975
3595
  }
2976
3596
  }
2977
3597
  }
2978
- export interface ISorting {
2979
- fieldName?: (string | null);
2980
- order?: ($wrapper.wix.common.SortOrder | null);
2981
- selectItemsBy?: ({ [key: string]: any }[] | null);
2982
- }
2983
- export class Sorting implements ISorting {
2984
- constructor(data?: ISorting);
2985
- fieldName?: (string | null);
2986
- order?: ($wrapper.wix.common.SortOrder | null);
2987
- selectItemsBy?: ({ [key: string]: any }[] | null);
2988
- static __$$generatedFromProtobuf$$__: Symbol;
2989
- }
2990
- export enum SortOrder {
2991
- ASC = "ASC",
2992
- DESC = "DESC",
2993
- }
2994
3598
  export namespace spi {
2995
3599
  export interface ISpiBaseUri {
2996
3600
  baseUri?: (string | null);
@@ -3146,11 +3750,13 @@ declare namespace $wrapper {
3146
3750
  export interface IExternalLink {
3147
3751
  url?: (string | null);
3148
3752
  target?: (string | null);
3753
+ rel?: ($wrapper.wix.common.LinkRel[] | null);
3149
3754
  }
3150
3755
  export class ExternalLink implements IExternalLink {
3151
3756
  constructor(data?: IExternalLink);
3152
3757
  url?: (string | null);
3153
3758
  target?: (string | null);
3759
+ rel?: ($wrapper.wix.common.LinkRel[] | null);
3154
3760
  static __$$generatedFromProtobuf$$__: Symbol;
3155
3761
  }
3156
3762
  export interface IPageLink {
@@ -3529,80 +4135,6 @@ declare namespace $wrapper {
3529
4135
  static __$$generatedFromProtobuf$$__: Symbol;
3530
4136
  }
3531
4137
  }
3532
- export namespace spi {
3533
- export interface IService {
3534
- spiIdentifier?: (string | null);
3535
- configMessage?: (string | null);
3536
- hostService?: (string | null);
3537
- businessManagerUrl?: (string | null);
3538
- fqdn?: (string | null);
3539
- appId?: (string | null);
3540
- appendixFiles?: ($wrapper.wix.spi.IServiceAppendix[] | null);
3541
- }
3542
- export class Service implements IService {
3543
- constructor(data?: IService);
3544
- spiIdentifier?: (string | null);
3545
- configMessage?: (string | null);
3546
- hostService?: (string | null);
3547
- businessManagerUrl?: (string | null);
3548
- fqdn?: (string | null);
3549
- appId?: (string | null);
3550
- appendixFiles?: ($wrapper.wix.spi.IServiceAppendix[] | null);
3551
- static __$$generatedFromProtobuf$$__: Symbol;
3552
- }
3553
- export interface IServiceAppendix {
3554
- type?: ($wrapper.wix.spi.ServiceAppendix.Type | null);
3555
- path?: (string | null);
3556
- }
3557
- export class ServiceAppendix implements IServiceAppendix {
3558
- constructor(data?: IServiceAppendix);
3559
- type?: ($wrapper.wix.spi.ServiceAppendix.Type | null);
3560
- path?: (string | null);
3561
- static __$$generatedFromProtobuf$$__: Symbol;
3562
- }
3563
- export namespace ServiceAppendix {
3564
- export enum Type {
3565
- UNKNOWN_APPENDIX_TYPE = "UNKNOWN_APPENDIX_TYPE",
3566
- AUTO_VELO = "AUTO_VELO",
3567
- DOCS_CONF = "DOCS_CONF",
3568
- MULTILINGUAL = "MULTILINGUAL",
3569
- SEARCH = "SEARCH",
3570
- }
3571
- }
3572
- export interface IError {
3573
- name?: (string | null);
3574
- httpCode?: ($wrapper.wix.spi.HttpStatusCode | null);
3575
- applicationCode?: (string | null);
3576
- data?: (string | null);
3577
- }
3578
- export class Error implements IError {
3579
- constructor(data?: IError);
3580
- name?: (string | null);
3581
- httpCode?: ($wrapper.wix.spi.HttpStatusCode | null);
3582
- applicationCode?: (string | null);
3583
- data?: (string | null);
3584
- static __$$generatedFromProtobuf$$__: Symbol;
3585
- }
3586
- export interface IEvent {
3587
- methodName?: (string | null);
3588
- }
3589
- export class Event implements IEvent {
3590
- constructor(data?: IEvent);
3591
- methodName?: (string | null);
3592
- static __$$generatedFromProtobuf$$__: Symbol;
3593
- }
3594
- export enum HttpStatusCode {
3595
- UNKNOWN_ERROR = "UNKNOWN_ERROR",
3596
- UNAUTHENTICATED = "UNAUTHENTICATED",
3597
- INVALID_ARGUMENT = "INVALID_ARGUMENT",
3598
- INTERNAL = "INTERNAL",
3599
- RESOURCE_EXHAUSTED = "RESOURCE_EXHAUSTED",
3600
- CANCELED = "CANCELED",
3601
- NOT_FOUND = "NOT_FOUND",
3602
- ALREADY_EXISTS = "ALREADY_EXISTS",
3603
- FAILED_PRECONDITION = "FAILED_PRECONDITION",
3604
- }
3605
- }
3606
4138
  }
3607
4139
  export namespace google {
3608
4140
  export namespace protobuf {
@@ -3900,7 +4432,6 @@ declare namespace $wrapper {
3900
4432
  deprecated?: (boolean | null);
3901
4433
  mapEntry?: (boolean | null);
3902
4434
  uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
3903
- '.wix.api.actionPayload'?: ($wrapper.wix.api.IActionPayload | null);
3904
4435
  '.wix.api.decompositeOf'?: (string | null);
3905
4436
  '.wix.api.decompositionMinimumFields'?: ($wrapper.wix.api.IFieldSet[] | null);
3906
4437
  '.wix.api.unwrapArrayValue'?: (boolean | null);
@@ -3908,6 +4439,7 @@ declare namespace $wrapper {
3908
4439
  '.wix.api.unique'?: ($wrapper.wix.api.IUnique[] | null);
3909
4440
  '.wix.api.entity'?: ($wrapper.wix.api.IEntity | null);
3910
4441
  '.wix.api.domainEvent'?: ($wrapper.wix.api.IDomainEvent[] | null);
4442
+ '.wix.api.actionPayload'?: ($wrapper.wix.api.IActionPayload | null);
3911
4443
  }
3912
4444
  export class MessageOptions implements IMessageOptions {
3913
4445
  constructor(data?: IMessageOptions);
@@ -3916,7 +4448,6 @@ declare namespace $wrapper {
3916
4448
  deprecated?: (boolean | null);
3917
4449
  mapEntry?: (boolean | null);
3918
4450
  uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
3919
- '.wix.api.actionPayload'?: ($wrapper.wix.api.IActionPayload | null);
3920
4451
  '.wix.api.decompositeOf'?: (string | null);
3921
4452
  '.wix.api.decompositionMinimumFields'?: ($wrapper.wix.api.IFieldSet[] | null);
3922
4453
  '.wix.api.unwrapArrayValue'?: (boolean | null);
@@ -3924,6 +4455,7 @@ declare namespace $wrapper {
3924
4455
  '.wix.api.unique'?: ($wrapper.wix.api.IUnique[] | null);
3925
4456
  '.wix.api.entity'?: ($wrapper.wix.api.IEntity | null);
3926
4457
  '.wix.api.domainEvent'?: ($wrapper.wix.api.IDomainEvent[] | null);
4458
+ '.wix.api.actionPayload'?: ($wrapper.wix.api.IActionPayload | null);
3927
4459
  static __$$generatedFromProtobuf$$__: Symbol;
3928
4460
  }
3929
4461
  export interface IFieldOptions {
@@ -3934,29 +4466,32 @@ declare namespace $wrapper {
3934
4466
  deprecated?: (boolean | null);
3935
4467
  weak?: (boolean | null);
3936
4468
  uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
3937
- '.wix.api.fieldExposure'?: ($wrapper.wix.api.Exposure | null);
3938
- '.wix.api.fieldMaturity'?: ($wrapper.wix.api.Maturity | null);
3939
- '.wix.api.pii'?: (boolean | null);
3940
- '.wix.api.referencedEntity'?: (string | null);
3941
- '.wix.api.referencedEntityField'?: ($wrapper.wix.api.IReferenceEntityField | null);
3942
- '.wix.api.fieldDeprecated'?: ($wrapper.wix.api.IDeprecated | null);
3943
- '.wix.api.translatable'?: ($wrapper.wix.api.ITranslatable | null);
3944
- '.wix.api.sampleData'?: (string | null);
3945
- '.wix.api.conditional'?: ($wrapper.wix.api.IConditional | null);
3946
- '.wix.api.nullable'?: (boolean | null);
3947
4469
  '.wix.api.max'?: (number | null);
3948
4470
  '.wix.api.min'?: (number | null);
3949
4471
  '.wix.api.maxLength'?: (number | null);
3950
4472
  '.wix.api.minLength'?: (number | null);
4473
+ '.wix.api.exactLength'?: (number | null);
3951
4474
  '.wix.api.maxSize'?: (number | null);
3952
4475
  '.wix.api.minSize'?: (number | null);
4476
+ '.wix.api.exactSize'?: (number | null);
3953
4477
  '.wix.api.format'?: ($wrapper.wix.api.Format | null);
3954
4478
  '.wix.api.readOnly'?: (boolean | null);
3955
4479
  '.wix.api.immutable'?: (boolean | null);
4480
+ '.wix.api.writeOnly'?: (boolean | null);
3956
4481
  '.wix.api.decimalValue'?: ($wrapper.wix.api.IDecimalValueOptions | null);
3957
4482
  '.wix.api.customValidation'?: ($wrapper.wix.api.ICustomValidationError | null);
3958
- '.wix.http.inferFieldmaskFrom'?: (string | null);
4483
+ '.wix.api.fieldExposure'?: ($wrapper.wix.api.Exposure | null);
4484
+ '.wix.api.fieldMaturity'?: ($wrapper.wix.api.Maturity | null);
4485
+ '.wix.api.pii'?: (boolean | null);
4486
+ '.wix.api.referencedEntity'?: (string | null);
4487
+ '.wix.api.referencedEntityField'?: ($wrapper.wix.api.IReferenceEntityField | null);
4488
+ '.wix.api.fieldDeprecated'?: ($wrapper.wix.api.IDeprecated | null);
4489
+ '.wix.api.translatable'?: ($wrapper.wix.api.ITranslatable | null);
4490
+ '.wix.api.sampleData'?: (string | null);
4491
+ '.wix.api.conditional'?: ($wrapper.wix.api.IConditional | null);
4492
+ '.wix.api.nullable'?: (boolean | null);
3959
4493
  '.wix.spi.baseUri'?: (boolean | null);
4494
+ '.wix.http.inferFieldmaskFrom'?: (string | null);
3960
4495
  }
3961
4496
  export class FieldOptions implements IFieldOptions {
3962
4497
  constructor(data?: IFieldOptions);
@@ -3967,29 +4502,32 @@ declare namespace $wrapper {
3967
4502
  deprecated?: (boolean | null);
3968
4503
  weak?: (boolean | null);
3969
4504
  uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
3970
- '.wix.api.fieldExposure'?: ($wrapper.wix.api.Exposure | null);
3971
- '.wix.api.fieldMaturity'?: ($wrapper.wix.api.Maturity | null);
3972
- '.wix.api.pii'?: (boolean | null);
3973
- '.wix.api.referencedEntity'?: (string | null);
3974
- '.wix.api.referencedEntityField'?: ($wrapper.wix.api.IReferenceEntityField | null);
3975
- '.wix.api.fieldDeprecated'?: ($wrapper.wix.api.IDeprecated | null);
3976
- '.wix.api.translatable'?: ($wrapper.wix.api.ITranslatable | null);
3977
- '.wix.api.sampleData'?: (string | null);
3978
- '.wix.api.conditional'?: ($wrapper.wix.api.IConditional | null);
3979
- '.wix.api.nullable'?: (boolean | null);
3980
4505
  '.wix.api.max'?: (number | null);
3981
4506
  '.wix.api.min'?: (number | null);
3982
4507
  '.wix.api.maxLength'?: (number | null);
3983
4508
  '.wix.api.minLength'?: (number | null);
4509
+ '.wix.api.exactLength'?: (number | null);
3984
4510
  '.wix.api.maxSize'?: (number | null);
3985
4511
  '.wix.api.minSize'?: (number | null);
4512
+ '.wix.api.exactSize'?: (number | null);
3986
4513
  '.wix.api.format'?: ($wrapper.wix.api.Format | null);
3987
4514
  '.wix.api.readOnly'?: (boolean | null);
3988
4515
  '.wix.api.immutable'?: (boolean | null);
4516
+ '.wix.api.writeOnly'?: (boolean | null);
3989
4517
  '.wix.api.decimalValue'?: ($wrapper.wix.api.IDecimalValueOptions | null);
3990
4518
  '.wix.api.customValidation'?: ($wrapper.wix.api.ICustomValidationError | null);
3991
- '.wix.http.inferFieldmaskFrom'?: (string | null);
4519
+ '.wix.api.fieldExposure'?: ($wrapper.wix.api.Exposure | null);
4520
+ '.wix.api.fieldMaturity'?: ($wrapper.wix.api.Maturity | null);
4521
+ '.wix.api.pii'?: (boolean | null);
4522
+ '.wix.api.referencedEntity'?: (string | null);
4523
+ '.wix.api.referencedEntityField'?: ($wrapper.wix.api.IReferenceEntityField | null);
4524
+ '.wix.api.fieldDeprecated'?: ($wrapper.wix.api.IDeprecated | null);
4525
+ '.wix.api.translatable'?: ($wrapper.wix.api.ITranslatable | null);
4526
+ '.wix.api.sampleData'?: (string | null);
4527
+ '.wix.api.conditional'?: ($wrapper.wix.api.IConditional | null);
4528
+ '.wix.api.nullable'?: (boolean | null);
3992
4529
  '.wix.spi.baseUri'?: (boolean | null);
4530
+ '.wix.http.inferFieldmaskFrom'?: (string | null);
3993
4531
  static __$$generatedFromProtobuf$$__: Symbol;
3994
4532
  }
3995
4533
  export namespace FieldOptions {
@@ -4047,11 +4585,11 @@ declare namespace $wrapper {
4047
4585
  '.wix.api.serviceExposure'?: ($wrapper.wix.api.Exposure | null);
4048
4586
  '.wix.api.serviceDeprecated'?: ($wrapper.wix.api.IDeprecated | null);
4049
4587
  '.wix.api.appendixFiles'?: ($wrapper.wix.api.IServiceAppendix[] | null);
4050
- '.wix.api.event'?: ($wrapper.wix.api.ICallback[] | null);
4051
- '.wix.api.eventDeprecated'?: ($wrapper.wix.api.ICallbackDeprecation[] | null);
4052
- '.wix.api.serviceEntity'?: ($wrapper.wix.api.IServiceEntity | null);
4053
4588
  '.wix.spi.service'?: ($wrapper.wix.spi.IService | null);
4054
4589
  '.wix.spi.event'?: ($wrapper.wix.spi.IEvent[] | null);
4590
+ '.wix.api.serviceEntity'?: ($wrapper.wix.api.IServiceEntity | null);
4591
+ '.wix.api.event'?: ($wrapper.wix.api.ICallback[] | null);
4592
+ '.wix.api.eventDeprecated'?: ($wrapper.wix.api.ICallbackDeprecation[] | null);
4055
4593
  }
4056
4594
  export class ServiceOptions implements IServiceOptions {
4057
4595
  constructor(data?: IServiceOptions);
@@ -4061,26 +4599,30 @@ declare namespace $wrapper {
4061
4599
  '.wix.api.serviceExposure'?: ($wrapper.wix.api.Exposure | null);
4062
4600
  '.wix.api.serviceDeprecated'?: ($wrapper.wix.api.IDeprecated | null);
4063
4601
  '.wix.api.appendixFiles'?: ($wrapper.wix.api.IServiceAppendix[] | null);
4064
- '.wix.api.event'?: ($wrapper.wix.api.ICallback[] | null);
4065
- '.wix.api.eventDeprecated'?: ($wrapper.wix.api.ICallbackDeprecation[] | null);
4066
- '.wix.api.serviceEntity'?: ($wrapper.wix.api.IServiceEntity | null);
4067
4602
  '.wix.spi.service'?: ($wrapper.wix.spi.IService | null);
4068
4603
  '.wix.spi.event'?: ($wrapper.wix.spi.IEvent[] | null);
4604
+ '.wix.api.serviceEntity'?: ($wrapper.wix.api.IServiceEntity | null);
4605
+ '.wix.api.event'?: ($wrapper.wix.api.ICallback[] | null);
4606
+ '.wix.api.eventDeprecated'?: ($wrapper.wix.api.ICallbackDeprecation[] | null);
4069
4607
  static __$$generatedFromProtobuf$$__: Symbol;
4070
4608
  }
4071
4609
  export interface IMethodOptions {
4072
4610
  deprecated?: (boolean | null);
4073
4611
  idempotencyLevel?: ($wrapper.google.protobuf.MethodOptions.IdempotencyLevel | null);
4074
4612
  uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
4613
+ '.wix.api.required'?: (string[] | null);
4614
+ '.wix.api.writable'?: (string[] | null);
4615
+ '.wix.api.error'?: ($wrapper.wix.api.IError[] | null);
4616
+ '.wix.api.customValidationError'?: ($wrapper.wix.api.ICustomValidationError[] | null);
4617
+ '.wix.api.inheritCrudErrors'?: ($wrapper.wix.api.IInheritCrudErrors[] | null);
4075
4618
  '.wix.api.exposure'?: ($wrapper.wix.api.Exposure | null);
4076
4619
  '.wix.api.maturity'?: ($wrapper.wix.api.Maturity | null);
4077
4620
  '.wix.api.cacheable'?: ($wrapper.wix.api.ICacheSettings | null);
4078
4621
  '.wix.api.deprecated'?: ($wrapper.wix.api.IDeprecated | null);
4079
4622
  '.wix.api.crud'?: ($wrapper.wix.api.ICrud | null);
4080
4623
  '.wix.api.acceptsLinguist'?: (boolean | null);
4081
- '.wix.api.error'?: ($wrapper.wix.api.IError[] | null);
4082
- '.wix.api.customValidationError'?: ($wrapper.wix.api.ICustomValidationError[] | null);
4083
- '.wix.api.inheritCrudErrors'?: ($wrapper.wix.api.IInheritCrudErrors[] | null);
4624
+ '.wix.spi.error'?: ($wrapper.wix.spi.IError[] | null);
4625
+ '.wix.spi.featureToggle'?: (string | null);
4084
4626
  '.wix.api.callback'?: ($wrapper.wix.api.ICallback[] | null);
4085
4627
  '.wix.api.emits'?: ($wrapper.wix.api.IEmits[] | null);
4086
4628
  '.wix.api.idempotency'?: ($wrapper.wix.api.IIdempotency | null);
@@ -4088,28 +4630,28 @@ declare namespace $wrapper {
4088
4630
  '.wix.api.additionalPermission'?: ($wrapper.wix.api.IPermissionRule[] | null);
4089
4631
  '.wix.api.sla'?: ($wrapper.wix.api.ISla | null);
4090
4632
  '.wix.api.subscription'?: ($wrapper.wix.api.ISubscription | null);
4091
- '.wix.api.required'?: (string[] | null);
4092
- '.wix.api.writable'?: (string[] | null);
4093
- '.wix.http.inferFieldmask'?: ($wrapper.wix.http.IInferFieldmask | null);
4094
4633
  '.google.api.http'?: ($wrapper.google.api.IHttpRule | null);
4634
+ '.wix.http.inferFieldmask'?: ($wrapper.wix.http.IInferFieldmask | null);
4095
4635
  '.wix.sdk.signature'?: ($wrapper.wix.sdk.ISignature[] | null);
4096
- '.wix.spi.error'?: ($wrapper.wix.spi.IError[] | null);
4097
- '.wix.spi.featureToggle'?: (string | null);
4098
4636
  }
4099
4637
  export class MethodOptions implements IMethodOptions {
4100
4638
  constructor(data?: IMethodOptions);
4101
4639
  deprecated?: (boolean | null);
4102
4640
  idempotencyLevel?: ($wrapper.google.protobuf.MethodOptions.IdempotencyLevel | null);
4103
4641
  uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
4642
+ '.wix.api.required'?: (string[] | null);
4643
+ '.wix.api.writable'?: (string[] | null);
4644
+ '.wix.api.error'?: ($wrapper.wix.api.IError[] | null);
4645
+ '.wix.api.customValidationError'?: ($wrapper.wix.api.ICustomValidationError[] | null);
4646
+ '.wix.api.inheritCrudErrors'?: ($wrapper.wix.api.IInheritCrudErrors[] | null);
4104
4647
  '.wix.api.exposure'?: ($wrapper.wix.api.Exposure | null);
4105
4648
  '.wix.api.maturity'?: ($wrapper.wix.api.Maturity | null);
4106
4649
  '.wix.api.cacheable'?: ($wrapper.wix.api.ICacheSettings | null);
4107
4650
  '.wix.api.deprecated'?: ($wrapper.wix.api.IDeprecated | null);
4108
4651
  '.wix.api.crud'?: ($wrapper.wix.api.ICrud | null);
4109
4652
  '.wix.api.acceptsLinguist'?: (boolean | null);
4110
- '.wix.api.error'?: ($wrapper.wix.api.IError[] | null);
4111
- '.wix.api.customValidationError'?: ($wrapper.wix.api.ICustomValidationError[] | null);
4112
- '.wix.api.inheritCrudErrors'?: ($wrapper.wix.api.IInheritCrudErrors[] | null);
4653
+ '.wix.spi.error'?: ($wrapper.wix.spi.IError[] | null);
4654
+ '.wix.spi.featureToggle'?: (string | null);
4113
4655
  '.wix.api.callback'?: ($wrapper.wix.api.ICallback[] | null);
4114
4656
  '.wix.api.emits'?: ($wrapper.wix.api.IEmits[] | null);
4115
4657
  '.wix.api.idempotency'?: ($wrapper.wix.api.IIdempotency | null);
@@ -4117,13 +4659,9 @@ declare namespace $wrapper {
4117
4659
  '.wix.api.additionalPermission'?: ($wrapper.wix.api.IPermissionRule[] | null);
4118
4660
  '.wix.api.sla'?: ($wrapper.wix.api.ISla | null);
4119
4661
  '.wix.api.subscription'?: ($wrapper.wix.api.ISubscription | null);
4120
- '.wix.api.required'?: (string[] | null);
4121
- '.wix.api.writable'?: (string[] | null);
4122
- '.wix.http.inferFieldmask'?: ($wrapper.wix.http.IInferFieldmask | null);
4123
4662
  '.google.api.http'?: ($wrapper.google.api.IHttpRule | null);
4663
+ '.wix.http.inferFieldmask'?: ($wrapper.wix.http.IInferFieldmask | null);
4124
4664
  '.wix.sdk.signature'?: ($wrapper.wix.sdk.ISignature[] | null);
4125
- '.wix.spi.error'?: ($wrapper.wix.spi.IError[] | null);
4126
- '.wix.spi.featureToggle'?: (string | null);
4127
4665
  static __$$generatedFromProtobuf$$__: Symbol;
4128
4666
  }
4129
4667
  export namespace MethodOptions {