@wix/bex-utils 2.77.0 → 2.79.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/builders.impl.d.ts +22 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/builders.impl.js +275 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/builders.impl.js.map +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/http.impl.d.ts +50 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/http.impl.js +250 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/http.impl.js.map +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/meta.impl.d.ts +16 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/meta.impl.js +81 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/meta.impl.js.map +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/proto/client/proto-generated.d.ts +7116 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/proto/client/proto-generated.js +2 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/proto/proto-generated.d.ts +3557 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/proto/proto-generated.js +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/proto/server/proto-generated.d.ts +7113 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/proto/server/proto-generated.js +2 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/rpc.impl.d.ts +59 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/rpc.impl.js +109 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/rpc.impl.js.map +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/types.impl.d.ts +343 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/types.impl.js +42 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/types.impl.js.map +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/builders.impl.d.ts +22 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/builders.impl.js +239 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/builders.impl.js.map +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/http.impl.d.ts +50 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/http.impl.js +244 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/http.impl.js.map +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/meta.impl.d.ts +16 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/meta.impl.js +56 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/meta.impl.js.map +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/rpc.impl.d.ts +59 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/rpc.impl.js +84 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/rpc.impl.js.map +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/types.impl.d.ts +343 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/types.impl.js +39 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/types.impl.js.map +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/builders/package.json +7 -0
- package/@wix/ambassador-dealer-v1-offer-event/http/package.json +7 -0
- package/@wix/ambassador-dealer-v1-offer-event/meta/package.json +7 -0
- package/@wix/ambassador-dealer-v1-offer-event/package.json +52 -0
- package/@wix/ambassador-dealer-v1-offer-event/rpc/package.json +6 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/action_payload.proto +33 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/annotations.proto +451 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/api_errors.proto +142 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/callback.proto +163 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/context.proto +19 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/entity.proto +127 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/errors.proto +127 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/idempotency.proto +25 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/permissions.proto +46 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/sla.proto +24 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/subscription.proto +32 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/validations.proto +142 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/address.proto +148 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/bulk.proto +53 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/identification.proto +40 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/image.proto +8 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/media.proto +280 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/money.proto +32 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/pageurl.proto +32 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/paging.proto +121 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/query.proto +799 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/sorting.proto +36 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/spi.proto +85 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/tags.proto +55 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/wixlink.proto +203 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/dealerOfferEvents/api/v1/dealer-offer-events.proto +211 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/dealerOfferEvents/api/v1/event.proto +131 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/graphql/definitions.proto +13 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/http/field_mask.proto +46 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/sdk/definitions.proto +191 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/spi/definitions.proto +187 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/spi/http_error_status.proto +24 -0
- package/@wix/ambassador-dealer-v1-offer-event/types/package.json +7 -0
- package/@wix/bex-bundled-mini-essentials/CHANGELOG.md +4 -0
- package/@wix/bex-bundled-mini-essentials/package.json +1 -1
- package/package.json +5 -4
|
@@ -0,0 +1,3557 @@
|
|
|
1
|
+
import {AspectStore} from '@wix/wix-aspects';
|
|
2
|
+
|
|
3
|
+
type $GeneratedMessageClassNominal$ = {
|
|
4
|
+
__$$generatedFromProtobuf$$__: Symbol;
|
|
5
|
+
}
|
|
6
|
+
type $$GeneratedMessage$$<C> = Function & { prototype: C } & $GeneratedMessageClassNominal$;
|
|
7
|
+
|
|
8
|
+
declare namespace $wrapper {
|
|
9
|
+
export namespace wix {
|
|
10
|
+
export namespace api {
|
|
11
|
+
export interface IActionPayload {
|
|
12
|
+
customSlug?: (string | null);
|
|
13
|
+
}
|
|
14
|
+
export class ActionPayload implements IActionPayload {
|
|
15
|
+
constructor(data?: IActionPayload);
|
|
16
|
+
customSlug?: (string | null);
|
|
17
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
18
|
+
}
|
|
19
|
+
export interface IReferenceEntityField {
|
|
20
|
+
path?: (string | null);
|
|
21
|
+
}
|
|
22
|
+
export class ReferenceEntityField implements IReferenceEntityField {
|
|
23
|
+
constructor(data?: IReferenceEntityField);
|
|
24
|
+
path?: (string | null);
|
|
25
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
26
|
+
}
|
|
27
|
+
export interface ICacheSettings {
|
|
28
|
+
maxAgeSeconds?: (number | null);
|
|
29
|
+
manual?: (boolean | null);
|
|
30
|
+
}
|
|
31
|
+
export class CacheSettings implements ICacheSettings {
|
|
32
|
+
constructor(data?: ICacheSettings);
|
|
33
|
+
maxAgeSeconds?: (number | null);
|
|
34
|
+
manual?: (boolean | null);
|
|
35
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
36
|
+
}
|
|
37
|
+
export interface IFieldSet {
|
|
38
|
+
field?: (string[] | null);
|
|
39
|
+
}
|
|
40
|
+
export class FieldSet implements IFieldSet {
|
|
41
|
+
constructor(data?: IFieldSet);
|
|
42
|
+
field?: (string[] | null);
|
|
43
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
44
|
+
}
|
|
45
|
+
export interface IDeprecated {
|
|
46
|
+
replacedBy?: (string | null);
|
|
47
|
+
targetRemovalDate?: (string | null);
|
|
48
|
+
}
|
|
49
|
+
export class Deprecated implements IDeprecated {
|
|
50
|
+
constructor(data?: IDeprecated);
|
|
51
|
+
replacedBy?: (string | null);
|
|
52
|
+
targetRemovalDate?: (string | null);
|
|
53
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
54
|
+
}
|
|
55
|
+
export interface IUnique {
|
|
56
|
+
field?: (string[] | null);
|
|
57
|
+
}
|
|
58
|
+
export class Unique implements IUnique {
|
|
59
|
+
constructor(data?: IUnique);
|
|
60
|
+
field?: (string[] | null);
|
|
61
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
62
|
+
}
|
|
63
|
+
export interface ICrud {
|
|
64
|
+
method?: ($wrapper.wix.api.Crud.Method | null);
|
|
65
|
+
createOptions?: ($wrapper.wix.api.ICreateMethodOptions | null);
|
|
66
|
+
getOptions?: ($wrapper.wix.api.IGetItemMethodOptions | null);
|
|
67
|
+
updateOptions?: ($wrapper.wix.api.IUpdateMethodOptions | null);
|
|
68
|
+
deleteOptions?: ($wrapper.wix.api.IDeleteMethodOptions | null);
|
|
69
|
+
listOptions?: ($wrapper.wix.api.IListMethodOptions | null);
|
|
70
|
+
queryOptions?: ($wrapper.wix.api.IQueryMethodOptions | null);
|
|
71
|
+
searchOptions?: ($wrapper.wix.api.ISearchMethodOptions | null);
|
|
72
|
+
bulkCreateOptions?: ($wrapper.wix.api.IBulkCreateMethodOptions | null);
|
|
73
|
+
bulkUpdateOptions?: ($wrapper.wix.api.IBulkUpdateMethodOptions | null);
|
|
74
|
+
bulkUpdateByFilterOptions?: ($wrapper.wix.api.IBulkUpdateByFilterMethodOptions | null);
|
|
75
|
+
bulkDeleteOptions?: ($wrapper.wix.api.IBulkDeleteMethodOptions | null);
|
|
76
|
+
bulkDeleteByFilterOptions?: ($wrapper.wix.api.IBulkDeleteByFilterMethodOptions | null);
|
|
77
|
+
upsertOptions?: ($wrapper.wix.api.IUpsertMethodOptions | null);
|
|
78
|
+
bulkUpsertOptions?: ($wrapper.wix.api.IBulkUpsertMethodOptions | null);
|
|
79
|
+
listDeletedOptions?: ($wrapper.wix.api.IListDeletedMethodOptions | null);
|
|
80
|
+
getDeletedOptions?: ($wrapper.wix.api.IGetDeletedMethodOptions | null);
|
|
81
|
+
restoreFromTrashbinOptions?: ($wrapper.wix.api.IRestoreFromTrashbinMethodOptions | null);
|
|
82
|
+
removeFromTrashbinOptions?: ($wrapper.wix.api.IRemoveFromTrashbinMethodOptions | null);
|
|
83
|
+
countOptions?: ($wrapper.wix.api.ICountOptions | null);
|
|
84
|
+
searchRelatedOptions?: ($wrapper.wix.api.ISearchRelatedOptions | null);
|
|
85
|
+
updateExtendedFieldsOptions?: ($wrapper.wix.api.IUpdateExtendedFieldsOptions | null);
|
|
86
|
+
customActionOptions?: ($wrapper.wix.api.ICustomActionOptions | null);
|
|
87
|
+
bulkUpdateTagsOptions?: ($wrapper.wix.api.IBulkUpdateTagsMethodOptions | null);
|
|
88
|
+
bulkUpdateTagsByFilterOptions?: ($wrapper.wix.api.IBulkUpdateTagsByFilterMethodOptions | null);
|
|
89
|
+
}
|
|
90
|
+
export class Crud implements ICrud {
|
|
91
|
+
constructor(data?: ICrud);
|
|
92
|
+
method?: ($wrapper.wix.api.Crud.Method | null);
|
|
93
|
+
createOptions?: ($wrapper.wix.api.ICreateMethodOptions | null);
|
|
94
|
+
getOptions?: ($wrapper.wix.api.IGetItemMethodOptions | null);
|
|
95
|
+
updateOptions?: ($wrapper.wix.api.IUpdateMethodOptions | null);
|
|
96
|
+
deleteOptions?: ($wrapper.wix.api.IDeleteMethodOptions | null);
|
|
97
|
+
listOptions?: ($wrapper.wix.api.IListMethodOptions | null);
|
|
98
|
+
queryOptions?: ($wrapper.wix.api.IQueryMethodOptions | null);
|
|
99
|
+
searchOptions?: ($wrapper.wix.api.ISearchMethodOptions | null);
|
|
100
|
+
bulkCreateOptions?: ($wrapper.wix.api.IBulkCreateMethodOptions | null);
|
|
101
|
+
bulkUpdateOptions?: ($wrapper.wix.api.IBulkUpdateMethodOptions | null);
|
|
102
|
+
bulkUpdateByFilterOptions?: ($wrapper.wix.api.IBulkUpdateByFilterMethodOptions | null);
|
|
103
|
+
bulkDeleteOptions?: ($wrapper.wix.api.IBulkDeleteMethodOptions | null);
|
|
104
|
+
bulkDeleteByFilterOptions?: ($wrapper.wix.api.IBulkDeleteByFilterMethodOptions | null);
|
|
105
|
+
upsertOptions?: ($wrapper.wix.api.IUpsertMethodOptions | null);
|
|
106
|
+
bulkUpsertOptions?: ($wrapper.wix.api.IBulkUpsertMethodOptions | null);
|
|
107
|
+
listDeletedOptions?: ($wrapper.wix.api.IListDeletedMethodOptions | null);
|
|
108
|
+
getDeletedOptions?: ($wrapper.wix.api.IGetDeletedMethodOptions | null);
|
|
109
|
+
restoreFromTrashbinOptions?: ($wrapper.wix.api.IRestoreFromTrashbinMethodOptions | null);
|
|
110
|
+
removeFromTrashbinOptions?: ($wrapper.wix.api.IRemoveFromTrashbinMethodOptions | null);
|
|
111
|
+
countOptions?: ($wrapper.wix.api.ICountOptions | null);
|
|
112
|
+
searchRelatedOptions?: ($wrapper.wix.api.ISearchRelatedOptions | null);
|
|
113
|
+
updateExtendedFieldsOptions?: ($wrapper.wix.api.IUpdateExtendedFieldsOptions | null);
|
|
114
|
+
customActionOptions?: ($wrapper.wix.api.ICustomActionOptions | null);
|
|
115
|
+
bulkUpdateTagsOptions?: ($wrapper.wix.api.IBulkUpdateTagsMethodOptions | null);
|
|
116
|
+
bulkUpdateTagsByFilterOptions?: ($wrapper.wix.api.IBulkUpdateTagsByFilterMethodOptions | null);
|
|
117
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
118
|
+
}
|
|
119
|
+
export namespace Crud {
|
|
120
|
+
export enum Method {
|
|
121
|
+
UNKNOWN_METHOD = "UNKNOWN_METHOD",
|
|
122
|
+
CREATE = "CREATE",
|
|
123
|
+
GET_ITEM = "GET_ITEM",
|
|
124
|
+
UPDATE = "UPDATE",
|
|
125
|
+
DELETE = "DELETE",
|
|
126
|
+
UPSERT = "UPSERT",
|
|
127
|
+
LIST = "LIST",
|
|
128
|
+
QUERY = "QUERY",
|
|
129
|
+
SEARCH = "SEARCH",
|
|
130
|
+
BULK_CREATE = "BULK_CREATE",
|
|
131
|
+
BULK_UPDATE = "BULK_UPDATE",
|
|
132
|
+
BULK_UPDATE_BY_FILTER = "BULK_UPDATE_BY_FILTER",
|
|
133
|
+
BULK_DELETE = "BULK_DELETE",
|
|
134
|
+
BULK_DELETE_BY_FILTER = "BULK_DELETE_BY_FILTER",
|
|
135
|
+
BULK_UPSERT = "BULK_UPSERT",
|
|
136
|
+
LIST_DELETED = "LIST_DELETED",
|
|
137
|
+
GET_DELETED = "GET_DELETED",
|
|
138
|
+
RESTORE_FROM_TRASHBIN = "RESTORE_FROM_TRASHBIN",
|
|
139
|
+
REMOVE_FROM_TRASHBIN = "REMOVE_FROM_TRASHBIN",
|
|
140
|
+
COUNT = "COUNT",
|
|
141
|
+
SEARCH_RELATED = "SEARCH_RELATED",
|
|
142
|
+
UPDATE_EXTENDED_FIELDS = "UPDATE_EXTENDED_FIELDS",
|
|
143
|
+
BULK_UPDATE_TAGS = "BULK_UPDATE_TAGS",
|
|
144
|
+
BULK_UPDATE_TAGS_BY_FILTER = "BULK_UPDATE_TAGS_BY_FILTER",
|
|
145
|
+
CUSTOM_ACTION = "CUSTOM_ACTION",
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
export interface IPaging {
|
|
149
|
+
type?: ($wrapper.wix.api.Paging.Type | null);
|
|
150
|
+
pagingMetadataField?: (string | null);
|
|
151
|
+
cursorPagingMetadataField?: (string | null);
|
|
152
|
+
offsetPagingMetadataField?: (string | null);
|
|
153
|
+
}
|
|
154
|
+
export class Paging implements IPaging {
|
|
155
|
+
constructor(data?: IPaging);
|
|
156
|
+
type?: ($wrapper.wix.api.Paging.Type | null);
|
|
157
|
+
pagingMetadataField?: (string | null);
|
|
158
|
+
cursorPagingMetadataField?: (string | null);
|
|
159
|
+
offsetPagingMetadataField?: (string | null);
|
|
160
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
161
|
+
}
|
|
162
|
+
export namespace Paging {
|
|
163
|
+
export enum Type {
|
|
164
|
+
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
165
|
+
OFFSET = "OFFSET",
|
|
166
|
+
CURSOR = "CURSOR",
|
|
167
|
+
BOTH = "BOTH",
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
export interface ICustomActionOptions {
|
|
171
|
+
readOperation?: (boolean | null);
|
|
172
|
+
wql?: ($wrapper.wix.api.IWqlOptions | null);
|
|
173
|
+
}
|
|
174
|
+
export class CustomActionOptions implements ICustomActionOptions {
|
|
175
|
+
constructor(data?: ICustomActionOptions);
|
|
176
|
+
readOperation?: (boolean | null);
|
|
177
|
+
wql?: ($wrapper.wix.api.IWqlOptions | null);
|
|
178
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
179
|
+
}
|
|
180
|
+
export interface IWqlOptions {
|
|
181
|
+
queryOptionsName?: (string | null);
|
|
182
|
+
filterField?: (string | null);
|
|
183
|
+
queryField?: (string | null);
|
|
184
|
+
searchField?: (string | null);
|
|
185
|
+
}
|
|
186
|
+
export class WqlOptions implements IWqlOptions {
|
|
187
|
+
constructor(data?: IWqlOptions);
|
|
188
|
+
queryOptionsName?: (string | null);
|
|
189
|
+
filterField?: (string | null);
|
|
190
|
+
queryField?: (string | null);
|
|
191
|
+
searchField?: (string | null);
|
|
192
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
193
|
+
}
|
|
194
|
+
export interface ICreateMethodOptions {
|
|
195
|
+
itemField?: (string | null);
|
|
196
|
+
}
|
|
197
|
+
export class CreateMethodOptions implements ICreateMethodOptions {
|
|
198
|
+
constructor(data?: ICreateMethodOptions);
|
|
199
|
+
itemField?: (string | null);
|
|
200
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
201
|
+
}
|
|
202
|
+
export interface IGetItemMethodOptions {
|
|
203
|
+
itemField?: (string | null);
|
|
204
|
+
idField?: (string | null);
|
|
205
|
+
}
|
|
206
|
+
export class GetItemMethodOptions implements IGetItemMethodOptions {
|
|
207
|
+
constructor(data?: IGetItemMethodOptions);
|
|
208
|
+
itemField?: (string | null);
|
|
209
|
+
idField?: (string | null);
|
|
210
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
211
|
+
}
|
|
212
|
+
export interface IUpdateMethodOptions {
|
|
213
|
+
itemField?: (string | null);
|
|
214
|
+
fieldmaskField?: (string | null);
|
|
215
|
+
}
|
|
216
|
+
export class UpdateMethodOptions implements IUpdateMethodOptions {
|
|
217
|
+
constructor(data?: IUpdateMethodOptions);
|
|
218
|
+
itemField?: (string | null);
|
|
219
|
+
fieldmaskField?: (string | null);
|
|
220
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
221
|
+
}
|
|
222
|
+
export interface IUpsertMethodOptions {
|
|
223
|
+
itemField?: (string | null);
|
|
224
|
+
fieldmaskField?: (string | null);
|
|
225
|
+
}
|
|
226
|
+
export class UpsertMethodOptions implements IUpsertMethodOptions {
|
|
227
|
+
constructor(data?: IUpsertMethodOptions);
|
|
228
|
+
itemField?: (string | null);
|
|
229
|
+
fieldmaskField?: (string | null);
|
|
230
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
231
|
+
}
|
|
232
|
+
export interface IDeleteMethodOptions {
|
|
233
|
+
idField?: (string | null);
|
|
234
|
+
}
|
|
235
|
+
export class DeleteMethodOptions implements IDeleteMethodOptions {
|
|
236
|
+
constructor(data?: IDeleteMethodOptions);
|
|
237
|
+
idField?: (string | null);
|
|
238
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
239
|
+
}
|
|
240
|
+
export interface IListMethodOptions {
|
|
241
|
+
idsField?: (string | null);
|
|
242
|
+
itemsField?: (string | null);
|
|
243
|
+
paging?: ($wrapper.wix.api.IPaging | null);
|
|
244
|
+
meAliasableField?: (string[] | null);
|
|
245
|
+
}
|
|
246
|
+
export class ListMethodOptions implements IListMethodOptions {
|
|
247
|
+
constructor(data?: IListMethodOptions);
|
|
248
|
+
idsField?: (string | null);
|
|
249
|
+
itemsField?: (string | null);
|
|
250
|
+
paging?: ($wrapper.wix.api.IPaging | null);
|
|
251
|
+
meAliasableField?: (string[] | null);
|
|
252
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
253
|
+
}
|
|
254
|
+
export interface IQueryMethodOptions {
|
|
255
|
+
queryField?: (string | null);
|
|
256
|
+
cursorQueryField?: (string | null);
|
|
257
|
+
offsetQueryField?: (string | null);
|
|
258
|
+
itemsField?: (string | null);
|
|
259
|
+
paging?: ($wrapper.wix.api.IPaging | null);
|
|
260
|
+
wql?: ($wrapper.wix.api.IWql | null);
|
|
261
|
+
queryOptionsName?: (string | null);
|
|
262
|
+
meAliasableField?: (string[] | null);
|
|
263
|
+
}
|
|
264
|
+
export class QueryMethodOptions implements IQueryMethodOptions {
|
|
265
|
+
constructor(data?: IQueryMethodOptions);
|
|
266
|
+
queryField?: (string | null);
|
|
267
|
+
cursorQueryField?: (string | null);
|
|
268
|
+
offsetQueryField?: (string | null);
|
|
269
|
+
itemsField?: (string | null);
|
|
270
|
+
paging?: ($wrapper.wix.api.IPaging | null);
|
|
271
|
+
wql?: ($wrapper.wix.api.IWql | null);
|
|
272
|
+
queryOptionsName?: (string | null);
|
|
273
|
+
meAliasableField?: (string[] | null);
|
|
274
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
275
|
+
}
|
|
276
|
+
export interface ISearchMethodOptions {
|
|
277
|
+
searchField?: (string | null);
|
|
278
|
+
cursorSearchField?: (string | null);
|
|
279
|
+
offsetSearchField?: (string | null);
|
|
280
|
+
itemsField?: (string | null);
|
|
281
|
+
paging?: ($wrapper.wix.api.IPaging | null);
|
|
282
|
+
wql?: ($wrapper.wix.api.IWql | null);
|
|
283
|
+
queryOptionsName?: (string | null);
|
|
284
|
+
meAliasableField?: (string[] | null);
|
|
285
|
+
search?: ($wrapper.wix.api.ISearch[] | null);
|
|
286
|
+
}
|
|
287
|
+
export class SearchMethodOptions implements ISearchMethodOptions {
|
|
288
|
+
constructor(data?: ISearchMethodOptions);
|
|
289
|
+
searchField?: (string | null);
|
|
290
|
+
cursorSearchField?: (string | null);
|
|
291
|
+
offsetSearchField?: (string | null);
|
|
292
|
+
itemsField?: (string | null);
|
|
293
|
+
paging?: ($wrapper.wix.api.IPaging | null);
|
|
294
|
+
wql?: ($wrapper.wix.api.IWql | null);
|
|
295
|
+
queryOptionsName?: (string | null);
|
|
296
|
+
meAliasableField?: (string[] | null);
|
|
297
|
+
search?: ($wrapper.wix.api.ISearch[] | null);
|
|
298
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
299
|
+
}
|
|
300
|
+
export interface IBulkCreateMethodOptions {
|
|
301
|
+
itemField?: (string | null);
|
|
302
|
+
}
|
|
303
|
+
export class BulkCreateMethodOptions implements IBulkCreateMethodOptions {
|
|
304
|
+
constructor(data?: IBulkCreateMethodOptions);
|
|
305
|
+
itemField?: (string | null);
|
|
306
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
307
|
+
}
|
|
308
|
+
export interface IBulkUpdateMethodOptions {
|
|
309
|
+
itemsField?: (string | null);
|
|
310
|
+
itemField?: (string | null);
|
|
311
|
+
fieldmaskField?: (string | null);
|
|
312
|
+
}
|
|
313
|
+
export class BulkUpdateMethodOptions implements IBulkUpdateMethodOptions {
|
|
314
|
+
constructor(data?: IBulkUpdateMethodOptions);
|
|
315
|
+
itemsField?: (string | null);
|
|
316
|
+
itemField?: (string | null);
|
|
317
|
+
fieldmaskField?: (string | null);
|
|
318
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
319
|
+
}
|
|
320
|
+
export interface IBulkUpdateByFilterMethodOptions {
|
|
321
|
+
itemField?: (string | null);
|
|
322
|
+
fieldmaskField?: (string | null);
|
|
323
|
+
filterField?: (string | null);
|
|
324
|
+
queryOptionsName?: (string | null);
|
|
325
|
+
}
|
|
326
|
+
export class BulkUpdateByFilterMethodOptions implements IBulkUpdateByFilterMethodOptions {
|
|
327
|
+
constructor(data?: IBulkUpdateByFilterMethodOptions);
|
|
328
|
+
itemField?: (string | null);
|
|
329
|
+
fieldmaskField?: (string | null);
|
|
330
|
+
filterField?: (string | null);
|
|
331
|
+
queryOptionsName?: (string | null);
|
|
332
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
333
|
+
}
|
|
334
|
+
export interface IBulkUpdateTagsMethodOptions {
|
|
335
|
+
idsField?: (string | null);
|
|
336
|
+
}
|
|
337
|
+
export class BulkUpdateTagsMethodOptions implements IBulkUpdateTagsMethodOptions {
|
|
338
|
+
constructor(data?: IBulkUpdateTagsMethodOptions);
|
|
339
|
+
idsField?: (string | null);
|
|
340
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
341
|
+
}
|
|
342
|
+
export interface IBulkUpdateTagsByFilterMethodOptions {
|
|
343
|
+
filterField?: (string | null);
|
|
344
|
+
queryOptionsName?: (string | null);
|
|
345
|
+
}
|
|
346
|
+
export class BulkUpdateTagsByFilterMethodOptions implements IBulkUpdateTagsByFilterMethodOptions {
|
|
347
|
+
constructor(data?: IBulkUpdateTagsByFilterMethodOptions);
|
|
348
|
+
filterField?: (string | null);
|
|
349
|
+
queryOptionsName?: (string | null);
|
|
350
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
351
|
+
}
|
|
352
|
+
export interface IBulkUpsertMethodOptions {
|
|
353
|
+
itemField?: (string | null);
|
|
354
|
+
fieldmaskField?: (string | null);
|
|
355
|
+
}
|
|
356
|
+
export class BulkUpsertMethodOptions implements IBulkUpsertMethodOptions {
|
|
357
|
+
constructor(data?: IBulkUpsertMethodOptions);
|
|
358
|
+
itemField?: (string | null);
|
|
359
|
+
fieldmaskField?: (string | null);
|
|
360
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
361
|
+
}
|
|
362
|
+
export interface IBulkDeleteMethodOptions {
|
|
363
|
+
idsField?: (string | null);
|
|
364
|
+
}
|
|
365
|
+
export class BulkDeleteMethodOptions implements IBulkDeleteMethodOptions {
|
|
366
|
+
constructor(data?: IBulkDeleteMethodOptions);
|
|
367
|
+
idsField?: (string | null);
|
|
368
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
369
|
+
}
|
|
370
|
+
export interface IBulkDeleteByFilterMethodOptions {
|
|
371
|
+
filterField?: (string | null);
|
|
372
|
+
queryOptionsName?: (string | null);
|
|
373
|
+
}
|
|
374
|
+
export class BulkDeleteByFilterMethodOptions implements IBulkDeleteByFilterMethodOptions {
|
|
375
|
+
constructor(data?: IBulkDeleteByFilterMethodOptions);
|
|
376
|
+
filterField?: (string | null);
|
|
377
|
+
queryOptionsName?: (string | null);
|
|
378
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
379
|
+
}
|
|
380
|
+
export interface IListDeletedMethodOptions {
|
|
381
|
+
idsField?: (string | null);
|
|
382
|
+
itemsField?: (string | null);
|
|
383
|
+
paging?: ($wrapper.wix.api.IPaging | null);
|
|
384
|
+
meAliasableField?: (string[] | null);
|
|
385
|
+
}
|
|
386
|
+
export class ListDeletedMethodOptions implements IListDeletedMethodOptions {
|
|
387
|
+
constructor(data?: IListDeletedMethodOptions);
|
|
388
|
+
idsField?: (string | null);
|
|
389
|
+
itemsField?: (string | null);
|
|
390
|
+
paging?: ($wrapper.wix.api.IPaging | null);
|
|
391
|
+
meAliasableField?: (string[] | null);
|
|
392
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
393
|
+
}
|
|
394
|
+
export interface IGetDeletedMethodOptions {
|
|
395
|
+
itemField?: (string | null);
|
|
396
|
+
idField?: (string | null);
|
|
397
|
+
}
|
|
398
|
+
export class GetDeletedMethodOptions implements IGetDeletedMethodOptions {
|
|
399
|
+
constructor(data?: IGetDeletedMethodOptions);
|
|
400
|
+
itemField?: (string | null);
|
|
401
|
+
idField?: (string | null);
|
|
402
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
403
|
+
}
|
|
404
|
+
export interface IRestoreFromTrashbinMethodOptions {
|
|
405
|
+
itemField?: (string | null);
|
|
406
|
+
idField?: (string | null);
|
|
407
|
+
}
|
|
408
|
+
export class RestoreFromTrashbinMethodOptions implements IRestoreFromTrashbinMethodOptions {
|
|
409
|
+
constructor(data?: IRestoreFromTrashbinMethodOptions);
|
|
410
|
+
itemField?: (string | null);
|
|
411
|
+
idField?: (string | null);
|
|
412
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
413
|
+
}
|
|
414
|
+
export interface IRemoveFromTrashbinMethodOptions {
|
|
415
|
+
idField?: (string | null);
|
|
416
|
+
}
|
|
417
|
+
export class RemoveFromTrashbinMethodOptions implements IRemoveFromTrashbinMethodOptions {
|
|
418
|
+
constructor(data?: IRemoveFromTrashbinMethodOptions);
|
|
419
|
+
idField?: (string | null);
|
|
420
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
421
|
+
}
|
|
422
|
+
export interface ICountOptions {
|
|
423
|
+
inheritWqlFrom?: (string | null);
|
|
424
|
+
queryOptionsName?: (string | null);
|
|
425
|
+
filterField?: (string | null);
|
|
426
|
+
countField?: (string | null);
|
|
427
|
+
}
|
|
428
|
+
export class CountOptions implements ICountOptions {
|
|
429
|
+
constructor(data?: ICountOptions);
|
|
430
|
+
inheritWqlFrom?: (string | null);
|
|
431
|
+
queryOptionsName?: (string | null);
|
|
432
|
+
filterField?: (string | null);
|
|
433
|
+
countField?: (string | null);
|
|
434
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
435
|
+
}
|
|
436
|
+
export interface ISearchRelatedOptions {
|
|
437
|
+
inheritWqlFrom?: (string | null);
|
|
438
|
+
queryOptionsName?: (string | null);
|
|
439
|
+
}
|
|
440
|
+
export class SearchRelatedOptions implements ISearchRelatedOptions {
|
|
441
|
+
constructor(data?: ISearchRelatedOptions);
|
|
442
|
+
inheritWqlFrom?: (string | null);
|
|
443
|
+
queryOptionsName?: (string | null);
|
|
444
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
445
|
+
}
|
|
446
|
+
export interface IUpdateExtendedFieldsOptions {
|
|
447
|
+
itemField?: (string | null);
|
|
448
|
+
}
|
|
449
|
+
export class UpdateExtendedFieldsOptions implements IUpdateExtendedFieldsOptions {
|
|
450
|
+
constructor(data?: IUpdateExtendedFieldsOptions);
|
|
451
|
+
itemField?: (string | null);
|
|
452
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
453
|
+
}
|
|
454
|
+
export interface IWql {
|
|
455
|
+
operatorFieldSupport?: ($wrapper.wix.api.Wql.IOperatorFieldSupport[] | null);
|
|
456
|
+
pattern?: ($wrapper.wix.api.Wql.IOperatorFieldSupport[] | null);
|
|
457
|
+
validateQuery?: (boolean | null);
|
|
458
|
+
}
|
|
459
|
+
export class Wql implements IWql {
|
|
460
|
+
constructor(data?: IWql);
|
|
461
|
+
operatorFieldSupport?: ($wrapper.wix.api.Wql.IOperatorFieldSupport[] | null);
|
|
462
|
+
pattern?: ($wrapper.wix.api.Wql.IOperatorFieldSupport[] | null);
|
|
463
|
+
validateQuery?: (boolean | null);
|
|
464
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
465
|
+
}
|
|
466
|
+
export namespace Wql {
|
|
467
|
+
export enum Operator {
|
|
468
|
+
ALL_APPLICABLE_OPERATORS = "ALL_APPLICABLE_OPERATORS",
|
|
469
|
+
EQ = "EQ",
|
|
470
|
+
GT = "GT",
|
|
471
|
+
GTE = "GTE",
|
|
472
|
+
IN = "IN",
|
|
473
|
+
LT = "LT",
|
|
474
|
+
LTE = "LTE",
|
|
475
|
+
NE = "NE",
|
|
476
|
+
NIN = "NIN",
|
|
477
|
+
BEGINS = "BEGINS",
|
|
478
|
+
EXISTS = "EXISTS",
|
|
479
|
+
HAS_ALL = "HAS_ALL",
|
|
480
|
+
ALL = "ALL",
|
|
481
|
+
HAS_SOME = "HAS_SOME",
|
|
482
|
+
ANY = "ANY",
|
|
483
|
+
EMPTY = "EMPTY",
|
|
484
|
+
MATCH_ALL = "MATCH_ALL",
|
|
485
|
+
MATCH_ITEMS = "MATCH_ITEMS",
|
|
486
|
+
ENHANCED_DATE = "ENHANCED_DATE",
|
|
487
|
+
}
|
|
488
|
+
export enum Sort {
|
|
489
|
+
NONE = "NONE",
|
|
490
|
+
ASC = "ASC",
|
|
491
|
+
DESC = "DESC",
|
|
492
|
+
BOTH = "BOTH",
|
|
493
|
+
}
|
|
494
|
+
export interface IRequiredFields {
|
|
495
|
+
field?: (string[] | null);
|
|
496
|
+
requiredField?: ($wrapper.wix.api.Wql.RequiredFields.IRequiredField[] | null);
|
|
497
|
+
}
|
|
498
|
+
export class RequiredFields implements IRequiredFields {
|
|
499
|
+
constructor(data?: IRequiredFields);
|
|
500
|
+
field?: (string[] | null);
|
|
501
|
+
requiredField?: ($wrapper.wix.api.Wql.RequiredFields.IRequiredField[] | null);
|
|
502
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
503
|
+
}
|
|
504
|
+
export namespace RequiredFields {
|
|
505
|
+
export interface IRequiredField {
|
|
506
|
+
path?: (string | null);
|
|
507
|
+
sort?: ($wrapper.wix.api.Wql.Sort | null);
|
|
508
|
+
}
|
|
509
|
+
export class RequiredField implements IRequiredField {
|
|
510
|
+
constructor(data?: IRequiredField);
|
|
511
|
+
path?: (string | null);
|
|
512
|
+
sort?: ($wrapper.wix.api.Wql.Sort | null);
|
|
513
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
export enum VirtualSubfields {
|
|
517
|
+
NO_VIRTUAL_SUBFIELDS = "NO_VIRTUAL_SUBFIELDS",
|
|
518
|
+
DATE = "DATE",
|
|
519
|
+
EMAIL = "EMAIL",
|
|
520
|
+
}
|
|
521
|
+
export interface IOperatorFieldSupport {
|
|
522
|
+
operator?: ($wrapper.wix.api.Wql.Operator[] | null);
|
|
523
|
+
glob?: (string | null);
|
|
524
|
+
field?: (string[] | null);
|
|
525
|
+
sort?: ($wrapper.wix.api.Wql.Sort | null);
|
|
526
|
+
requiredFields?: ($wrapper.wix.api.Wql.IRequiredFields[] | null);
|
|
527
|
+
maturity?: ($wrapper.wix.api.Maturity | null);
|
|
528
|
+
virtualSubfields?: ($wrapper.wix.api.Wql.VirtualSubfields | null);
|
|
529
|
+
}
|
|
530
|
+
export class OperatorFieldSupport implements IOperatorFieldSupport {
|
|
531
|
+
constructor(data?: IOperatorFieldSupport);
|
|
532
|
+
operator?: ($wrapper.wix.api.Wql.Operator[] | null);
|
|
533
|
+
glob?: (string | null);
|
|
534
|
+
field?: (string[] | null);
|
|
535
|
+
sort?: ($wrapper.wix.api.Wql.Sort | null);
|
|
536
|
+
requiredFields?: ($wrapper.wix.api.Wql.IRequiredFields[] | null);
|
|
537
|
+
maturity?: ($wrapper.wix.api.Maturity | null);
|
|
538
|
+
virtualSubfields?: ($wrapper.wix.api.Wql.VirtualSubfields | null);
|
|
539
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
export interface ISearch {
|
|
543
|
+
field?: (string[] | null);
|
|
544
|
+
maturity?: ($wrapper.wix.api.Maturity | null);
|
|
545
|
+
}
|
|
546
|
+
export class Search implements ISearch {
|
|
547
|
+
constructor(data?: ISearch);
|
|
548
|
+
field?: (string[] | null);
|
|
549
|
+
maturity?: ($wrapper.wix.api.Maturity | null);
|
|
550
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
551
|
+
}
|
|
552
|
+
export interface ITranslatable {
|
|
553
|
+
name?: (string | null);
|
|
554
|
+
hidden?: (boolean | null);
|
|
555
|
+
grouping?: (string | null);
|
|
556
|
+
type?: ($wrapper.wix.api.Translatable.Type | null);
|
|
557
|
+
displayOnly?: (boolean | null);
|
|
558
|
+
}
|
|
559
|
+
export class Translatable implements ITranslatable {
|
|
560
|
+
constructor(data?: ITranslatable);
|
|
561
|
+
name?: (string | null);
|
|
562
|
+
hidden?: (boolean | null);
|
|
563
|
+
grouping?: (string | null);
|
|
564
|
+
type?: ($wrapper.wix.api.Translatable.Type | null);
|
|
565
|
+
displayOnly?: (boolean | null);
|
|
566
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
567
|
+
}
|
|
568
|
+
export namespace Translatable {
|
|
569
|
+
export enum Type {
|
|
570
|
+
UNDEFINED_TYPE = "UNDEFINED_TYPE",
|
|
571
|
+
SHORT_TEXT = "SHORT_TEXT",
|
|
572
|
+
LONG_TEXT = "LONG_TEXT",
|
|
573
|
+
RICH_TEXT = "RICH_TEXT",
|
|
574
|
+
RICH_CONTENT_EDITOR = "RICH_CONTENT_EDITOR",
|
|
575
|
+
SELECTION = "SELECTION",
|
|
576
|
+
MULTI_SELECTION = "MULTI_SELECTION",
|
|
577
|
+
DOCUMENT = "DOCUMENT",
|
|
578
|
+
IMAGE = "IMAGE",
|
|
579
|
+
VIDEO = "VIDEO",
|
|
580
|
+
IMAGE_LINK = "IMAGE_LINK",
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
export interface IConditional {
|
|
584
|
+
permission?: (string | null);
|
|
585
|
+
requestedField?: (string | null);
|
|
586
|
+
}
|
|
587
|
+
export class Conditional implements IConditional {
|
|
588
|
+
constructor(data?: IConditional);
|
|
589
|
+
permission?: (string | null);
|
|
590
|
+
requestedField?: (string | null);
|
|
591
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
592
|
+
}
|
|
593
|
+
export interface IServiceAppendix {
|
|
594
|
+
type?: ($wrapper.wix.api.ServiceAppendix.Type | null);
|
|
595
|
+
path?: (string | null);
|
|
596
|
+
}
|
|
597
|
+
export class ServiceAppendix implements IServiceAppendix {
|
|
598
|
+
constructor(data?: IServiceAppendix);
|
|
599
|
+
type?: ($wrapper.wix.api.ServiceAppendix.Type | null);
|
|
600
|
+
path?: (string | null);
|
|
601
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
602
|
+
}
|
|
603
|
+
export namespace ServiceAppendix {
|
|
604
|
+
export enum Type {
|
|
605
|
+
UNKNOWN_APPENDIX_TYPE = "UNKNOWN_APPENDIX_TYPE",
|
|
606
|
+
NILE = "NILE",
|
|
607
|
+
MESSAGE_BUS = "MESSAGE_BUS",
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
export enum Exposure {
|
|
611
|
+
PRIVATE = "PRIVATE",
|
|
612
|
+
INTERNAL = "INTERNAL",
|
|
613
|
+
PUBLIC = "PUBLIC",
|
|
614
|
+
}
|
|
615
|
+
export enum Maturity {
|
|
616
|
+
ALPHA = "ALPHA",
|
|
617
|
+
BETA = "BETA",
|
|
618
|
+
IA = "IA",
|
|
619
|
+
GA = "GA",
|
|
620
|
+
NOT_IMPLEMENTED = "NOT_IMPLEMENTED",
|
|
621
|
+
}
|
|
622
|
+
/**
|
|
623
|
+
* ApplicationError: named Error for backwards compatibility
|
|
624
|
+
*/
|
|
625
|
+
export interface IError {
|
|
626
|
+
httpCode?: ($wrapper.wix.api.StatusCodes.HttpStatusCode | null);
|
|
627
|
+
applicationCode?: (string | null);
|
|
628
|
+
data?: (string | null);
|
|
629
|
+
}
|
|
630
|
+
export class Error implements IError {
|
|
631
|
+
constructor(data?: IError);
|
|
632
|
+
httpCode?: ($wrapper.wix.api.StatusCodes.HttpStatusCode | null);
|
|
633
|
+
applicationCode?: (string | null);
|
|
634
|
+
data?: (string | null);
|
|
635
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
636
|
+
}
|
|
637
|
+
/**
|
|
638
|
+
* Method-level reference to a service-level error.
|
|
639
|
+
*/
|
|
640
|
+
export interface IErrorRef {
|
|
641
|
+
applicationCode?: (string | null);
|
|
642
|
+
}
|
|
643
|
+
export class ErrorRef implements IErrorRef {
|
|
644
|
+
constructor(data?: IErrorRef);
|
|
645
|
+
applicationCode?: (string | null);
|
|
646
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
647
|
+
}
|
|
648
|
+
/**
|
|
649
|
+
* CustomValidationError: field level validation, only declare when you have specific validation in your service that is not coming from infra
|
|
650
|
+
*/
|
|
651
|
+
export interface ICustomValidationError {
|
|
652
|
+
ruleName?: (string | null);
|
|
653
|
+
data?: (string | null);
|
|
654
|
+
}
|
|
655
|
+
export class CustomValidationError implements ICustomValidationError {
|
|
656
|
+
constructor(data?: ICustomValidationError);
|
|
657
|
+
ruleName?: (string | null);
|
|
658
|
+
data?: (string | null);
|
|
659
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
660
|
+
}
|
|
661
|
+
/**
|
|
662
|
+
* InheritCrudErrors: does this method throw standard crud errors?
|
|
663
|
+
*/
|
|
664
|
+
export interface IInheritCrudErrors {
|
|
665
|
+
method?: ($wrapper.wix.api.Crud.Method | null);
|
|
666
|
+
}
|
|
667
|
+
export class InheritCrudErrors implements IInheritCrudErrors {
|
|
668
|
+
constructor(data?: IInheritCrudErrors);
|
|
669
|
+
method?: ($wrapper.wix.api.Crud.Method | null);
|
|
670
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
671
|
+
}
|
|
672
|
+
export interface IStatusCodes {
|
|
673
|
+
}
|
|
674
|
+
export class StatusCodes implements IStatusCodes {
|
|
675
|
+
constructor(data?: IStatusCodes);
|
|
676
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
677
|
+
}
|
|
678
|
+
export namespace StatusCodes {
|
|
679
|
+
export enum HttpStatusCode {
|
|
680
|
+
OK = "OK",
|
|
681
|
+
UNAUTHENTICATED = "UNAUTHENTICATED",
|
|
682
|
+
PERMISSION_DENIED = "PERMISSION_DENIED",
|
|
683
|
+
INVALID_ARGUMENT = "INVALID_ARGUMENT",
|
|
684
|
+
NOT_FOUND = "NOT_FOUND",
|
|
685
|
+
INTERNAL = "INTERNAL",
|
|
686
|
+
UNAVAILABLE = "UNAVAILABLE",
|
|
687
|
+
RESOURCE_EXHAUSTED = "RESOURCE_EXHAUSTED",
|
|
688
|
+
CANCELED = "CANCELED",
|
|
689
|
+
ALREADY_EXISTS = "ALREADY_EXISTS",
|
|
690
|
+
FAILED_PRECONDITION = "FAILED_PRECONDITION",
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
export interface ICallback {
|
|
694
|
+
topic?: (string | null);
|
|
695
|
+
segment?: ($wrapper.wix.api.Segment.SegmentName | null);
|
|
696
|
+
payload?: (string | null);
|
|
697
|
+
permission?: (string | null);
|
|
698
|
+
eventType?: ($wrapper.wix.api.Callback.EventType | null);
|
|
699
|
+
exposure?: ($wrapper.wix.api.Exposure | null);
|
|
700
|
+
maturity?: ($wrapper.wix.api.Maturity | null);
|
|
701
|
+
}
|
|
702
|
+
export class Callback implements ICallback {
|
|
703
|
+
constructor(data?: ICallback);
|
|
704
|
+
topic?: (string | null);
|
|
705
|
+
segment?: ($wrapper.wix.api.Segment.SegmentName | null);
|
|
706
|
+
payload?: (string | null);
|
|
707
|
+
permission?: (string | null);
|
|
708
|
+
eventType?: ($wrapper.wix.api.Callback.EventType | null);
|
|
709
|
+
exposure?: ($wrapper.wix.api.Exposure | null);
|
|
710
|
+
maturity?: ($wrapper.wix.api.Maturity | null);
|
|
711
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
712
|
+
}
|
|
713
|
+
export namespace Callback {
|
|
714
|
+
export enum EventType {
|
|
715
|
+
UNKNOWN = "UNKNOWN",
|
|
716
|
+
CREATED = "CREATED",
|
|
717
|
+
UPDATED = "UPDATED",
|
|
718
|
+
DELETED = "DELETED",
|
|
719
|
+
ACTION = "ACTION",
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
export interface IDomainEvent {
|
|
723
|
+
actionMessageFqn?: (string | null);
|
|
724
|
+
webhookPermissionOverride?: (string | null);
|
|
725
|
+
eventType?: ($wrapper.wix.api.DomainEvent.EventType | null);
|
|
726
|
+
exposure?: ($wrapper.wix.api.Exposure | null);
|
|
727
|
+
maturity?: ($wrapper.wix.api.Maturity | null);
|
|
728
|
+
additionalMetadataFqn?: (string | null);
|
|
729
|
+
deprecated?: ($wrapper.wix.api.IDomainEventDeprecation | null);
|
|
730
|
+
}
|
|
731
|
+
export class DomainEvent implements IDomainEvent {
|
|
732
|
+
constructor(data?: IDomainEvent);
|
|
733
|
+
actionMessageFqn?: (string | null);
|
|
734
|
+
webhookPermissionOverride?: (string | null);
|
|
735
|
+
eventType?: ($wrapper.wix.api.DomainEvent.EventType | null);
|
|
736
|
+
exposure?: ($wrapper.wix.api.Exposure | null);
|
|
737
|
+
maturity?: ($wrapper.wix.api.Maturity | null);
|
|
738
|
+
additionalMetadataFqn?: (string | null);
|
|
739
|
+
deprecated?: ($wrapper.wix.api.IDomainEventDeprecation | null);
|
|
740
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
741
|
+
}
|
|
742
|
+
export namespace DomainEvent {
|
|
743
|
+
export enum EventType {
|
|
744
|
+
UNKNOWN = "UNKNOWN",
|
|
745
|
+
CREATED = "CREATED",
|
|
746
|
+
UPDATED = "UPDATED",
|
|
747
|
+
DELETED = "DELETED",
|
|
748
|
+
ACTION = "ACTION",
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
export interface IEmits {
|
|
752
|
+
eventType?: ($wrapper.wix.api.DomainEvent.EventType | null);
|
|
753
|
+
actionMessageFqn?: (string | null);
|
|
754
|
+
}
|
|
755
|
+
export class Emits implements IEmits {
|
|
756
|
+
constructor(data?: IEmits);
|
|
757
|
+
eventType?: ($wrapper.wix.api.DomainEvent.EventType | null);
|
|
758
|
+
actionMessageFqn?: (string | null);
|
|
759
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
760
|
+
}
|
|
761
|
+
export interface IDomainEventDeprecation {
|
|
762
|
+
replacedBy?: (string | null);
|
|
763
|
+
targetRemovalDate?: (string | null);
|
|
764
|
+
}
|
|
765
|
+
export class DomainEventDeprecation implements IDomainEventDeprecation {
|
|
766
|
+
constructor(data?: IDomainEventDeprecation);
|
|
767
|
+
replacedBy?: (string | null);
|
|
768
|
+
targetRemovalDate?: (string | null);
|
|
769
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
770
|
+
}
|
|
771
|
+
export interface ICallbackDeprecation {
|
|
772
|
+
replacedBy?: (string | null);
|
|
773
|
+
targetRemovalDate?: (string | null);
|
|
774
|
+
eventType?: ($wrapper.wix.api.Callback.EventType | null);
|
|
775
|
+
customSlug?: (string | null);
|
|
776
|
+
payload?: (string | null);
|
|
777
|
+
}
|
|
778
|
+
export class CallbackDeprecation implements ICallbackDeprecation {
|
|
779
|
+
constructor(data?: ICallbackDeprecation);
|
|
780
|
+
replacedBy?: (string | null);
|
|
781
|
+
targetRemovalDate?: (string | null);
|
|
782
|
+
eventType?: ($wrapper.wix.api.Callback.EventType | null);
|
|
783
|
+
customSlug?: (string | null);
|
|
784
|
+
payload?: (string | null);
|
|
785
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
786
|
+
}
|
|
787
|
+
export interface ISegment {
|
|
788
|
+
}
|
|
789
|
+
export class Segment implements ISegment {
|
|
790
|
+
constructor(data?: ISegment);
|
|
791
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
792
|
+
}
|
|
793
|
+
export namespace Segment {
|
|
794
|
+
/**
|
|
795
|
+
* [Segment] annotation registers to Confluent clusters.
|
|
796
|
+
* Existing topics might have a hard-coded segment in Greyhound, so this option is not required in proto.
|
|
797
|
+
* However, new topics must provide a segment, or greyhound will throw an exception.
|
|
798
|
+
* @see https://bo.wix.com/wix-docs/rnd/p13n-guidelines---aips/guidance-aips/design-patterns/[7016]-events#p13n-guidelines---aips_guidance-aips_design-patterns_[7016]-events_12-choose-the-right-segment
|
|
799
|
+
*/
|
|
800
|
+
export enum SegmentName {
|
|
801
|
+
UNSPECIFIED = "UNSPECIFIED",
|
|
802
|
+
USERS = "USERS",
|
|
803
|
+
PUBLIC = "PUBLIC",
|
|
804
|
+
OTHERS = "OTHERS",
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
export interface IRequestContext {
|
|
808
|
+
aspects?: ({ [k: string]: string } | null);
|
|
809
|
+
}
|
|
810
|
+
export class RequestContext implements IRequestContext {
|
|
811
|
+
constructor(data?: IRequestContext);
|
|
812
|
+
aspects?: ({ [k: string]: string });
|
|
813
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
814
|
+
}
|
|
815
|
+
export interface IResponseContext {
|
|
816
|
+
aspects?: ($wrapper.wix.api.IResponseContextEntry[] | null);
|
|
817
|
+
}
|
|
818
|
+
export class ResponseContext implements IResponseContext {
|
|
819
|
+
constructor(data?: IResponseContext);
|
|
820
|
+
aspects?: ($wrapper.wix.api.IResponseContextEntry[] | null);
|
|
821
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
822
|
+
}
|
|
823
|
+
export interface IResponseContextEntry {
|
|
824
|
+
aspectEntry?: ({ [k: string]: string } | null);
|
|
825
|
+
}
|
|
826
|
+
export class ResponseContextEntry implements IResponseContextEntry {
|
|
827
|
+
constructor(data?: IResponseContextEntry);
|
|
828
|
+
aspectEntry?: ({ [k: string]: string });
|
|
829
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
830
|
+
}
|
|
831
|
+
export interface IServiceEntity {
|
|
832
|
+
message?: (string | null);
|
|
833
|
+
namespace?: (string | null);
|
|
834
|
+
}
|
|
835
|
+
export class ServiceEntity implements IServiceEntity {
|
|
836
|
+
constructor(data?: IServiceEntity);
|
|
837
|
+
message?: (string | null);
|
|
838
|
+
namespace?: (string | null);
|
|
839
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
840
|
+
}
|
|
841
|
+
export interface IEntity {
|
|
842
|
+
fqdn?: (string | null);
|
|
843
|
+
exposure?: ($wrapper.wix.api.Exposure | null);
|
|
844
|
+
appendixFiles?: ($wrapper.wix.api.IMessageAppendix[] | null);
|
|
845
|
+
oldFqdnForBackwardsCompatibility?: (string | null);
|
|
846
|
+
segment?: ($wrapper.wix.api.Segment.SegmentName | null);
|
|
847
|
+
implements?: (string[] | null);
|
|
848
|
+
extensible?: ($wrapper.wix.api.IExtensible | null);
|
|
849
|
+
trashbin?: (boolean | null);
|
|
850
|
+
plural?: (string | null);
|
|
851
|
+
domainEventsReadPermission?: (string | null);
|
|
852
|
+
appDefId?: (string | null);
|
|
853
|
+
domainEvents?: ($wrapper.wix.api.IDomainEventOptions | null);
|
|
854
|
+
taggable?: ($wrapper.wix.api.ITaggable | null);
|
|
855
|
+
queryOptions?: ($wrapper.wix.api.IQueryOptions | null);
|
|
856
|
+
eventsExposure?: ($wrapper.wix.api.Exposure | null);
|
|
857
|
+
eventsMaturity?: ($wrapper.wix.api.Maturity | null);
|
|
858
|
+
persistence?: ($wrapper.wix.api.IPersistence | null);
|
|
859
|
+
permissionOptions?: ($wrapper.wix.api.IPermissionCatalogOptions | null);
|
|
860
|
+
}
|
|
861
|
+
export class Entity implements IEntity {
|
|
862
|
+
constructor(data?: IEntity);
|
|
863
|
+
fqdn?: (string | null);
|
|
864
|
+
exposure?: ($wrapper.wix.api.Exposure | null);
|
|
865
|
+
appendixFiles?: ($wrapper.wix.api.IMessageAppendix[] | null);
|
|
866
|
+
oldFqdnForBackwardsCompatibility?: (string | null);
|
|
867
|
+
segment?: ($wrapper.wix.api.Segment.SegmentName | null);
|
|
868
|
+
implements?: (string[] | null);
|
|
869
|
+
extensible?: ($wrapper.wix.api.IExtensible | null);
|
|
870
|
+
trashbin?: (boolean | null);
|
|
871
|
+
plural?: (string | null);
|
|
872
|
+
domainEventsReadPermission?: (string | null);
|
|
873
|
+
appDefId?: (string | null);
|
|
874
|
+
domainEvents?: ($wrapper.wix.api.IDomainEventOptions | null);
|
|
875
|
+
taggable?: ($wrapper.wix.api.ITaggable | null);
|
|
876
|
+
queryOptions?: ($wrapper.wix.api.IQueryOptions | null);
|
|
877
|
+
eventsExposure?: ($wrapper.wix.api.Exposure | null);
|
|
878
|
+
eventsMaturity?: ($wrapper.wix.api.Maturity | null);
|
|
879
|
+
persistence?: ($wrapper.wix.api.IPersistence | null);
|
|
880
|
+
permissionOptions?: ($wrapper.wix.api.IPermissionCatalogOptions | null);
|
|
881
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
882
|
+
}
|
|
883
|
+
export interface IPermissionCatalogOptions {
|
|
884
|
+
autoGeneratePermissions?: (boolean | null);
|
|
885
|
+
autoGenerateScopes?: (boolean | null);
|
|
886
|
+
}
|
|
887
|
+
export class PermissionCatalogOptions implements IPermissionCatalogOptions {
|
|
888
|
+
constructor(data?: IPermissionCatalogOptions);
|
|
889
|
+
autoGeneratePermissions?: (boolean | null);
|
|
890
|
+
autoGenerateScopes?: (boolean | null);
|
|
891
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
892
|
+
}
|
|
893
|
+
export interface IPersistence {
|
|
894
|
+
type?: ($wrapper.wix.api.Persistence.Type | null);
|
|
895
|
+
}
|
|
896
|
+
export class Persistence implements IPersistence {
|
|
897
|
+
constructor(data?: IPersistence);
|
|
898
|
+
type?: ($wrapper.wix.api.Persistence.Type | null);
|
|
899
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
900
|
+
}
|
|
901
|
+
export namespace Persistence {
|
|
902
|
+
export enum Type {
|
|
903
|
+
STANDARD = "STANDARD",
|
|
904
|
+
SINGLETON = "SINGLETON",
|
|
905
|
+
NONE = "NONE",
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
export interface IExtensible {
|
|
909
|
+
nestedExtensionFieldPath?: (string | null);
|
|
910
|
+
filterable?: (boolean | null);
|
|
911
|
+
nestedExtensionPointMappings?: ($wrapper.wix.api.INestedExtensionPointMapping[] | null);
|
|
912
|
+
}
|
|
913
|
+
export class Extensible implements IExtensible {
|
|
914
|
+
constructor(data?: IExtensible);
|
|
915
|
+
nestedExtensionFieldPath?: (string | null);
|
|
916
|
+
filterable?: (boolean | null);
|
|
917
|
+
nestedExtensionPointMappings?: ($wrapper.wix.api.INestedExtensionPointMapping[] | null);
|
|
918
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
919
|
+
}
|
|
920
|
+
export interface INestedExtensionPointMapping {
|
|
921
|
+
extensionPoint?: (string | null);
|
|
922
|
+
path?: (string | null);
|
|
923
|
+
}
|
|
924
|
+
export class NestedExtensionPointMapping implements INestedExtensionPointMapping {
|
|
925
|
+
constructor(data?: INestedExtensionPointMapping);
|
|
926
|
+
extensionPoint?: (string | null);
|
|
927
|
+
path?: (string | null);
|
|
928
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
929
|
+
}
|
|
930
|
+
export interface IMessageAppendix {
|
|
931
|
+
type?: ($wrapper.wix.api.MessageAppendix.Type | null);
|
|
932
|
+
path?: (string | null);
|
|
933
|
+
}
|
|
934
|
+
export class MessageAppendix implements IMessageAppendix {
|
|
935
|
+
constructor(data?: IMessageAppendix);
|
|
936
|
+
type?: ($wrapper.wix.api.MessageAppendix.Type | null);
|
|
937
|
+
path?: (string | null);
|
|
938
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
939
|
+
}
|
|
940
|
+
export namespace MessageAppendix {
|
|
941
|
+
export enum Type {
|
|
942
|
+
UNKNOWN_APPENDIX_TYPE = "UNKNOWN_APPENDIX_TYPE",
|
|
943
|
+
AUTO_VELO = "AUTO_VELO",
|
|
944
|
+
DOCS_CONF = "DOCS_CONF",
|
|
945
|
+
MULTILINGUAL = "MULTILINGUAL",
|
|
946
|
+
SEARCH = "SEARCH",
|
|
947
|
+
AUTO_SDK = "AUTO_SDK",
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
export interface IDomainEventOptions {
|
|
951
|
+
eventSequenceNumber?: (boolean | null);
|
|
952
|
+
deletedIncludeEntity?: (boolean | null);
|
|
953
|
+
updatedIncludeModifiedFields?: (boolean | null);
|
|
954
|
+
}
|
|
955
|
+
export class DomainEventOptions implements IDomainEventOptions {
|
|
956
|
+
constructor(data?: IDomainEventOptions);
|
|
957
|
+
eventSequenceNumber?: (boolean | null);
|
|
958
|
+
deletedIncludeEntity?: (boolean | null);
|
|
959
|
+
updatedIncludeModifiedFields?: (boolean | null);
|
|
960
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
961
|
+
}
|
|
962
|
+
export interface ITaggable {
|
|
963
|
+
}
|
|
964
|
+
export class Taggable implements ITaggable {
|
|
965
|
+
constructor(data?: ITaggable);
|
|
966
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
967
|
+
}
|
|
968
|
+
export interface IQueryOptions {
|
|
969
|
+
wql?: ($wrapper.wix.api.IWql | null);
|
|
970
|
+
search?: ($wrapper.wix.api.ISearch[] | null);
|
|
971
|
+
additionalQueryOptions?: ($wrapper.wix.api.INamedQueryOptions[] | null);
|
|
972
|
+
}
|
|
973
|
+
export class QueryOptions implements IQueryOptions {
|
|
974
|
+
constructor(data?: IQueryOptions);
|
|
975
|
+
wql?: ($wrapper.wix.api.IWql | null);
|
|
976
|
+
search?: ($wrapper.wix.api.ISearch[] | null);
|
|
977
|
+
additionalQueryOptions?: ($wrapper.wix.api.INamedQueryOptions[] | null);
|
|
978
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
979
|
+
}
|
|
980
|
+
export interface INamedQueryOptions {
|
|
981
|
+
name?: (string | null);
|
|
982
|
+
wql?: ($wrapper.wix.api.IWql | null);
|
|
983
|
+
search?: ($wrapper.wix.api.ISearch[] | null);
|
|
984
|
+
}
|
|
985
|
+
export class NamedQueryOptions implements INamedQueryOptions {
|
|
986
|
+
constructor(data?: INamedQueryOptions);
|
|
987
|
+
name?: (string | null);
|
|
988
|
+
wql?: ($wrapper.wix.api.IWql | null);
|
|
989
|
+
search?: ($wrapper.wix.api.ISearch[] | null);
|
|
990
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
991
|
+
}
|
|
992
|
+
export interface IDetails {
|
|
993
|
+
applicationError?: ($wrapper.wix.api.IApplicationError | null);
|
|
994
|
+
validationError?: ($wrapper.wix.api.IValidationError | null);
|
|
995
|
+
systemError?: ($wrapper.wix.api.ISystemError | null);
|
|
996
|
+
tracing?: ({ [k: string]: string } | null);
|
|
997
|
+
}
|
|
998
|
+
export class Details implements IDetails {
|
|
999
|
+
constructor(data?: IDetails);
|
|
1000
|
+
applicationError?: ($wrapper.wix.api.IApplicationError | null);
|
|
1001
|
+
validationError?: ($wrapper.wix.api.IValidationError | null);
|
|
1002
|
+
systemError?: ($wrapper.wix.api.ISystemError | null);
|
|
1003
|
+
tracing?: ({ [k: string]: string });
|
|
1004
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1005
|
+
}
|
|
1006
|
+
export interface IApplicationError {
|
|
1007
|
+
code?: (string | null);
|
|
1008
|
+
description?: (string | null);
|
|
1009
|
+
data?: ({ [key: string]: any } | null);
|
|
1010
|
+
}
|
|
1011
|
+
export class ApplicationError implements IApplicationError {
|
|
1012
|
+
constructor(data?: IApplicationError);
|
|
1013
|
+
code?: (string | null);
|
|
1014
|
+
description?: (string | null);
|
|
1015
|
+
data?: ({ [key: string]: any } | null);
|
|
1016
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1017
|
+
}
|
|
1018
|
+
export interface ISystemError {
|
|
1019
|
+
errorCode?: (string | null);
|
|
1020
|
+
}
|
|
1021
|
+
export class SystemError implements ISystemError {
|
|
1022
|
+
constructor(data?: ISystemError);
|
|
1023
|
+
errorCode?: (string | null);
|
|
1024
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1025
|
+
}
|
|
1026
|
+
/**
|
|
1027
|
+
* example result:
|
|
1028
|
+
* {
|
|
1029
|
+
* "fieldViolations": [
|
|
1030
|
+
* {
|
|
1031
|
+
* "field": "fieldA",
|
|
1032
|
+
* "description": "invalid music note. supported notes: [do,re,mi,fa,sol,la,ti]",
|
|
1033
|
+
* "violatedRule": "OTHER",
|
|
1034
|
+
* "ruleName": "INVALID_NOTE",
|
|
1035
|
+
* "data": {
|
|
1036
|
+
* "value": "FI"
|
|
1037
|
+
* }
|
|
1038
|
+
* },
|
|
1039
|
+
* {
|
|
1040
|
+
* "field": "fieldB",
|
|
1041
|
+
* "description": "field value out of range. supported range: [0-20]",
|
|
1042
|
+
* "violatedRule": "MAX",
|
|
1043
|
+
* "data": {
|
|
1044
|
+
* "threshold": 20
|
|
1045
|
+
* }
|
|
1046
|
+
* },
|
|
1047
|
+
* {
|
|
1048
|
+
* "field": "fieldC",
|
|
1049
|
+
* "description": "invalid phone number. provide a valid phone number of size: [7-12], supported characters: [0-9, +, -, (, )]",
|
|
1050
|
+
* "violatedRule": "FORMAT",
|
|
1051
|
+
* "data": {
|
|
1052
|
+
* "type": "PHONE"
|
|
1053
|
+
* }
|
|
1054
|
+
* }
|
|
1055
|
+
* ]
|
|
1056
|
+
* }
|
|
1057
|
+
*/
|
|
1058
|
+
export interface IValidationError {
|
|
1059
|
+
fieldViolations?: ($wrapper.wix.api.ValidationError.IFieldViolation[] | null);
|
|
1060
|
+
}
|
|
1061
|
+
export class ValidationError implements IValidationError {
|
|
1062
|
+
constructor(data?: IValidationError);
|
|
1063
|
+
fieldViolations?: ($wrapper.wix.api.ValidationError.IFieldViolation[] | null);
|
|
1064
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1065
|
+
}
|
|
1066
|
+
export namespace ValidationError {
|
|
1067
|
+
export enum RuleType {
|
|
1068
|
+
VALIDATION = "VALIDATION",
|
|
1069
|
+
OTHER = "OTHER",
|
|
1070
|
+
MAX = "MAX",
|
|
1071
|
+
MIN = "MIN",
|
|
1072
|
+
MAX_LENGTH = "MAX_LENGTH",
|
|
1073
|
+
MIN_LENGTH = "MIN_LENGTH",
|
|
1074
|
+
MAX_SIZE = "MAX_SIZE",
|
|
1075
|
+
MIN_SIZE = "MIN_SIZE",
|
|
1076
|
+
FORMAT = "FORMAT",
|
|
1077
|
+
DECIMAL_LTE = "DECIMAL_LTE",
|
|
1078
|
+
DECIMAL_GTE = "DECIMAL_GTE",
|
|
1079
|
+
DECIMAL_LT = "DECIMAL_LT",
|
|
1080
|
+
DECIMAL_GT = "DECIMAL_GT",
|
|
1081
|
+
DECIMAL_MAX_SCALE = "DECIMAL_MAX_SCALE",
|
|
1082
|
+
INVALID_ENUM_VALUE = "INVALID_ENUM_VALUE",
|
|
1083
|
+
REQUIRED_FIELD = "REQUIRED_FIELD",
|
|
1084
|
+
FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED",
|
|
1085
|
+
ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT",
|
|
1086
|
+
EXACT_LENGTH = "EXACT_LENGTH",
|
|
1087
|
+
EXACT_SIZE = "EXACT_SIZE",
|
|
1088
|
+
REQUIRED_ONE_OF_FIELD = "REQUIRED_ONE_OF_FIELD",
|
|
1089
|
+
}
|
|
1090
|
+
export interface IFieldViolation {
|
|
1091
|
+
field?: (string | null);
|
|
1092
|
+
description?: (string | null);
|
|
1093
|
+
violatedRule?: ($wrapper.wix.api.ValidationError.RuleType | null);
|
|
1094
|
+
ruleName?: (string | null);
|
|
1095
|
+
data?: ({ [key: string]: any } | null);
|
|
1096
|
+
}
|
|
1097
|
+
export class FieldViolation implements IFieldViolation {
|
|
1098
|
+
constructor(data?: IFieldViolation);
|
|
1099
|
+
field?: (string | null);
|
|
1100
|
+
description?: (string | null);
|
|
1101
|
+
violatedRule?: ($wrapper.wix.api.ValidationError.RuleType | null);
|
|
1102
|
+
ruleName?: (string | null);
|
|
1103
|
+
data?: ({ [key: string]: any } | null);
|
|
1104
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
export interface ILimitRuleInt32DataPayload {
|
|
1108
|
+
threshold?: (number | null);
|
|
1109
|
+
}
|
|
1110
|
+
export class LimitRuleInt32DataPayload implements ILimitRuleInt32DataPayload {
|
|
1111
|
+
constructor(data?: ILimitRuleInt32DataPayload);
|
|
1112
|
+
threshold?: (number | null);
|
|
1113
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1114
|
+
}
|
|
1115
|
+
export interface ILimitRuleDoubleDataPayload {
|
|
1116
|
+
threshold?: (number | null);
|
|
1117
|
+
}
|
|
1118
|
+
export class LimitRuleDoubleDataPayload implements ILimitRuleDoubleDataPayload {
|
|
1119
|
+
constructor(data?: ILimitRuleDoubleDataPayload);
|
|
1120
|
+
threshold?: (number | null);
|
|
1121
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1122
|
+
}
|
|
1123
|
+
export interface ILimitRuleStringDataPayload {
|
|
1124
|
+
threshold?: (string | null);
|
|
1125
|
+
}
|
|
1126
|
+
export class LimitRuleStringDataPayload implements ILimitRuleStringDataPayload {
|
|
1127
|
+
constructor(data?: ILimitRuleStringDataPayload);
|
|
1128
|
+
threshold?: (string | null);
|
|
1129
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1130
|
+
}
|
|
1131
|
+
export interface IFormatRuleDataPayload {
|
|
1132
|
+
type?: (string | null);
|
|
1133
|
+
}
|
|
1134
|
+
export class FormatRuleDataPayload implements IFormatRuleDataPayload {
|
|
1135
|
+
constructor(data?: IFormatRuleDataPayload);
|
|
1136
|
+
type?: (string | null);
|
|
1137
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1138
|
+
}
|
|
1139
|
+
export interface IEnumRuleDataPayload {
|
|
1140
|
+
supported?: (string[] | null);
|
|
1141
|
+
}
|
|
1142
|
+
export class EnumRuleDataPayload implements IEnumRuleDataPayload {
|
|
1143
|
+
constructor(data?: IEnumRuleDataPayload);
|
|
1144
|
+
supported?: (string[] | null);
|
|
1145
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1146
|
+
}
|
|
1147
|
+
export interface IRequiredOneOfRuleDataPayload {
|
|
1148
|
+
supported?: (string[] | null);
|
|
1149
|
+
}
|
|
1150
|
+
export class RequiredOneOfRuleDataPayload implements IRequiredOneOfRuleDataPayload {
|
|
1151
|
+
constructor(data?: IRequiredOneOfRuleDataPayload);
|
|
1152
|
+
supported?: (string[] | null);
|
|
1153
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1154
|
+
}
|
|
1155
|
+
export interface IIdempotency {
|
|
1156
|
+
key?: (string | null);
|
|
1157
|
+
}
|
|
1158
|
+
export class Idempotency implements IIdempotency {
|
|
1159
|
+
constructor(data?: IIdempotency);
|
|
1160
|
+
key?: (string | null);
|
|
1161
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1162
|
+
}
|
|
1163
|
+
export interface IPermissionRule {
|
|
1164
|
+
name?: (string | null);
|
|
1165
|
+
type?: ($wrapper.wix.api.PermissionType | null);
|
|
1166
|
+
abacRequestValidation?: ($wrapper.wix.api.AbacRequestValidationMode | null);
|
|
1167
|
+
}
|
|
1168
|
+
export class PermissionRule implements IPermissionRule {
|
|
1169
|
+
constructor(data?: IPermissionRule);
|
|
1170
|
+
name?: (string | null);
|
|
1171
|
+
type?: ($wrapper.wix.api.PermissionType | null);
|
|
1172
|
+
abacRequestValidation?: ($wrapper.wix.api.AbacRequestValidationMode | null);
|
|
1173
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1174
|
+
}
|
|
1175
|
+
export enum PermissionType {
|
|
1176
|
+
AUTO = "AUTO",
|
|
1177
|
+
MANUAL = "MANUAL",
|
|
1178
|
+
}
|
|
1179
|
+
export enum AbacRequestValidationMode {
|
|
1180
|
+
ON = "ON",
|
|
1181
|
+
OFF = "OFF",
|
|
1182
|
+
}
|
|
1183
|
+
export interface ISla {
|
|
1184
|
+
responseTimeMs?: (number | null);
|
|
1185
|
+
}
|
|
1186
|
+
export class Sla implements ISla {
|
|
1187
|
+
constructor(data?: ISla);
|
|
1188
|
+
responseTimeMs?: (number | null);
|
|
1189
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1190
|
+
}
|
|
1191
|
+
export interface ISubscription {
|
|
1192
|
+
topic?: (string | null);
|
|
1193
|
+
segment?: ($wrapper.wix.api.Segment.SegmentName | null);
|
|
1194
|
+
batch?: (boolean | null);
|
|
1195
|
+
entity?: (string | null);
|
|
1196
|
+
dynamic?: (boolean | null);
|
|
1197
|
+
}
|
|
1198
|
+
export class Subscription implements ISubscription {
|
|
1199
|
+
constructor(data?: ISubscription);
|
|
1200
|
+
topic?: (string | null);
|
|
1201
|
+
segment?: ($wrapper.wix.api.Segment.SegmentName | null);
|
|
1202
|
+
batch?: (boolean | null);
|
|
1203
|
+
entity?: (string | null);
|
|
1204
|
+
dynamic?: (boolean | null);
|
|
1205
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1206
|
+
}
|
|
1207
|
+
/**
|
|
1208
|
+
* Decimal value validation rules.
|
|
1209
|
+
* Based on java.math.BigDecimal, implies (wix.api.format) = DECIMAL_VALUE
|
|
1210
|
+
*/
|
|
1211
|
+
export interface IDecimalValueOptions {
|
|
1212
|
+
lte?: (string | null);
|
|
1213
|
+
gte?: (string | null);
|
|
1214
|
+
lt?: (string | null);
|
|
1215
|
+
gt?: (string | null);
|
|
1216
|
+
maxScale?: (number | null);
|
|
1217
|
+
}
|
|
1218
|
+
export class DecimalValueOptions implements IDecimalValueOptions {
|
|
1219
|
+
constructor(data?: IDecimalValueOptions);
|
|
1220
|
+
lte?: (string | null);
|
|
1221
|
+
gte?: (string | null);
|
|
1222
|
+
lt?: (string | null);
|
|
1223
|
+
gt?: (string | null);
|
|
1224
|
+
maxScale?: (number | null);
|
|
1225
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1226
|
+
}
|
|
1227
|
+
export interface IAlignedWithEnum {
|
|
1228
|
+
field?: (string | null);
|
|
1229
|
+
suffix?: (string | null);
|
|
1230
|
+
}
|
|
1231
|
+
export class AlignedWithEnum implements IAlignedWithEnum {
|
|
1232
|
+
constructor(data?: IAlignedWithEnum);
|
|
1233
|
+
field?: (string | null);
|
|
1234
|
+
suffix?: (string | null);
|
|
1235
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1236
|
+
}
|
|
1237
|
+
export enum Format {
|
|
1238
|
+
EMAIL = "EMAIL",
|
|
1239
|
+
HOSTNAME = "HOSTNAME",
|
|
1240
|
+
IPV4 = "IPV4",
|
|
1241
|
+
IPV6 = "IPV6",
|
|
1242
|
+
URI = "URI",
|
|
1243
|
+
WEB_URL = "WEB_URL",
|
|
1244
|
+
PHONE = "PHONE",
|
|
1245
|
+
CREDIT_CARD = "CREDIT_CARD",
|
|
1246
|
+
GUID = "GUID",
|
|
1247
|
+
COUNTRY = "COUNTRY",
|
|
1248
|
+
LANGUAGE = "LANGUAGE",
|
|
1249
|
+
DECIMAL_VALUE = "DECIMAL_VALUE",
|
|
1250
|
+
CURRENCY = "CURRENCY",
|
|
1251
|
+
LANGUAGE_TAG = "LANGUAGE_TAG",
|
|
1252
|
+
COLOR_HEX = "COLOR_HEX",
|
|
1253
|
+
LOCAL_DATE = "LOCAL_DATE",
|
|
1254
|
+
LOCAL_TIME = "LOCAL_TIME",
|
|
1255
|
+
LOCAL_DATE_TIME = "LOCAL_DATE_TIME",
|
|
1256
|
+
URL_SLUG = "URL_SLUG",
|
|
1257
|
+
SYSTEM_SLUG = "SYSTEM_SLUG",
|
|
1258
|
+
SECURE_WEB_URL = "SECURE_WEB_URL",
|
|
1259
|
+
SUBDIVISION = "SUBDIVISION",
|
|
1260
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
export namespace common {
|
|
1263
|
+
export interface IAddress {
|
|
1264
|
+
country?: (string | null);
|
|
1265
|
+
subdivision?: (string | null);
|
|
1266
|
+
subdivisionIso31662?: (string | null);
|
|
1267
|
+
city?: (string | null);
|
|
1268
|
+
postalCode?: (string | null);
|
|
1269
|
+
streetAddress?: ($wrapper.wix.common.IStreetAddress | null);
|
|
1270
|
+
addressLine?: (string | null);
|
|
1271
|
+
addressLine2?: (string | null);
|
|
1272
|
+
formattedAddress?: (string | null);
|
|
1273
|
+
hint?: (string | null);
|
|
1274
|
+
geocode?: ($wrapper.wix.common.IAddressLocation | null);
|
|
1275
|
+
countryFullname?: (string | null);
|
|
1276
|
+
subdivisionFullname?: (string | null);
|
|
1277
|
+
subdivisions?: ($wrapper.wix.common.ISubdivision[] | null);
|
|
1278
|
+
}
|
|
1279
|
+
export class Address implements IAddress {
|
|
1280
|
+
constructor(data?: IAddress);
|
|
1281
|
+
country?: (string | null);
|
|
1282
|
+
subdivision?: (string | null);
|
|
1283
|
+
subdivisionIso31662?: (string | null);
|
|
1284
|
+
city?: (string | null);
|
|
1285
|
+
postalCode?: (string | null);
|
|
1286
|
+
streetAddress?: ($wrapper.wix.common.IStreetAddress | null);
|
|
1287
|
+
addressLine?: (string | null);
|
|
1288
|
+
addressLine2?: (string | null);
|
|
1289
|
+
formattedAddress?: (string | null);
|
|
1290
|
+
hint?: (string | null);
|
|
1291
|
+
geocode?: ($wrapper.wix.common.IAddressLocation | null);
|
|
1292
|
+
countryFullname?: (string | null);
|
|
1293
|
+
subdivisionFullname?: (string | null);
|
|
1294
|
+
subdivisions?: ($wrapper.wix.common.ISubdivision[] | null);
|
|
1295
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1296
|
+
}
|
|
1297
|
+
export interface ISubdivision {
|
|
1298
|
+
code?: (string | null);
|
|
1299
|
+
name?: (string | null);
|
|
1300
|
+
type?: ($wrapper.wix.common.Subdivision.SubdivisionType | null);
|
|
1301
|
+
typeInfo?: (string | null);
|
|
1302
|
+
standardDetails?: ($wrapper.wix.common.Subdivision.IStandardDetails | null);
|
|
1303
|
+
}
|
|
1304
|
+
export class Subdivision implements ISubdivision {
|
|
1305
|
+
constructor(data?: ISubdivision);
|
|
1306
|
+
code?: (string | null);
|
|
1307
|
+
name?: (string | null);
|
|
1308
|
+
type?: ($wrapper.wix.common.Subdivision.SubdivisionType | null);
|
|
1309
|
+
typeInfo?: (string | null);
|
|
1310
|
+
standardDetails?: ($wrapper.wix.common.Subdivision.IStandardDetails | null);
|
|
1311
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1312
|
+
}
|
|
1313
|
+
export namespace Subdivision {
|
|
1314
|
+
export enum SubdivisionType {
|
|
1315
|
+
UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
|
|
1316
|
+
ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
|
|
1317
|
+
ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
|
|
1318
|
+
ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
|
|
1319
|
+
ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
|
|
1320
|
+
ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
|
|
1321
|
+
COUNTRY = "COUNTRY",
|
|
1322
|
+
}
|
|
1323
|
+
export interface IStandardDetails {
|
|
1324
|
+
iso31662?: (string | null);
|
|
1325
|
+
}
|
|
1326
|
+
export class StandardDetails implements IStandardDetails {
|
|
1327
|
+
constructor(data?: IStandardDetails);
|
|
1328
|
+
iso31662?: (string | null);
|
|
1329
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
export interface IStreetAddress {
|
|
1333
|
+
number?: (string | null);
|
|
1334
|
+
name?: (string | null);
|
|
1335
|
+
apt?: (string | null);
|
|
1336
|
+
formattedAddressLine?: (string | null);
|
|
1337
|
+
}
|
|
1338
|
+
export class StreetAddress implements IStreetAddress {
|
|
1339
|
+
constructor(data?: IStreetAddress);
|
|
1340
|
+
number?: (string | null);
|
|
1341
|
+
name?: (string | null);
|
|
1342
|
+
apt?: (string | null);
|
|
1343
|
+
formattedAddressLine?: (string | null);
|
|
1344
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1345
|
+
}
|
|
1346
|
+
export interface IAddressContactDetails {
|
|
1347
|
+
fullName?: (string | null);
|
|
1348
|
+
phone?: (string | null);
|
|
1349
|
+
company?: (string | null);
|
|
1350
|
+
email?: (string | null);
|
|
1351
|
+
}
|
|
1352
|
+
export class AddressContactDetails implements IAddressContactDetails {
|
|
1353
|
+
constructor(data?: IAddressContactDetails);
|
|
1354
|
+
fullName?: (string | null);
|
|
1355
|
+
phone?: (string | null);
|
|
1356
|
+
company?: (string | null);
|
|
1357
|
+
email?: (string | null);
|
|
1358
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1359
|
+
}
|
|
1360
|
+
export interface IFullAddressContactDetails {
|
|
1361
|
+
firstName?: (string | null);
|
|
1362
|
+
lastName?: (string | null);
|
|
1363
|
+
fullName?: (string | null);
|
|
1364
|
+
phone?: (string | null);
|
|
1365
|
+
company?: (string | null);
|
|
1366
|
+
email?: (string | null);
|
|
1367
|
+
vatId?: ($wrapper.wix.common.IVatId | null);
|
|
1368
|
+
}
|
|
1369
|
+
export class FullAddressContactDetails implements IFullAddressContactDetails {
|
|
1370
|
+
constructor(data?: IFullAddressContactDetails);
|
|
1371
|
+
firstName?: (string | null);
|
|
1372
|
+
lastName?: (string | null);
|
|
1373
|
+
fullName?: (string | null);
|
|
1374
|
+
phone?: (string | null);
|
|
1375
|
+
company?: (string | null);
|
|
1376
|
+
email?: (string | null);
|
|
1377
|
+
vatId?: ($wrapper.wix.common.IVatId | null);
|
|
1378
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1379
|
+
}
|
|
1380
|
+
export interface IVatId {
|
|
1381
|
+
id?: (string | null);
|
|
1382
|
+
type?: ($wrapper.wix.common.VatType | null);
|
|
1383
|
+
}
|
|
1384
|
+
export class VatId implements IVatId {
|
|
1385
|
+
constructor(data?: IVatId);
|
|
1386
|
+
id?: (string | null);
|
|
1387
|
+
type?: ($wrapper.wix.common.VatType | null);
|
|
1388
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1389
|
+
}
|
|
1390
|
+
export enum VatType {
|
|
1391
|
+
UNSPECIFIED = "UNSPECIFIED",
|
|
1392
|
+
CPF = "CPF",
|
|
1393
|
+
CNPJ = "CNPJ",
|
|
1394
|
+
}
|
|
1395
|
+
export interface IAddressLocation {
|
|
1396
|
+
latitude?: (number | null);
|
|
1397
|
+
longitude?: (number | null);
|
|
1398
|
+
}
|
|
1399
|
+
export class AddressLocation implements IAddressLocation {
|
|
1400
|
+
constructor(data?: IAddressLocation);
|
|
1401
|
+
latitude?: (number | null);
|
|
1402
|
+
longitude?: (number | null);
|
|
1403
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1404
|
+
}
|
|
1405
|
+
export interface IBulkActionMetadata {
|
|
1406
|
+
totalSuccesses?: (number | null);
|
|
1407
|
+
totalFailures?: (number | null);
|
|
1408
|
+
undetailedFailures?: (number | null);
|
|
1409
|
+
}
|
|
1410
|
+
export class BulkActionMetadata implements IBulkActionMetadata {
|
|
1411
|
+
constructor(data?: IBulkActionMetadata);
|
|
1412
|
+
totalSuccesses?: (number | null);
|
|
1413
|
+
totalFailures?: (number | null);
|
|
1414
|
+
undetailedFailures?: (number | null);
|
|
1415
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1416
|
+
}
|
|
1417
|
+
export interface IItemMetadata {
|
|
1418
|
+
id?: (string | null);
|
|
1419
|
+
originalIndex?: (number | null);
|
|
1420
|
+
success?: (boolean | null);
|
|
1421
|
+
error?: ($wrapper.wix.api.IApplicationError | null);
|
|
1422
|
+
}
|
|
1423
|
+
export class ItemMetadata implements IItemMetadata {
|
|
1424
|
+
constructor(data?: IItemMetadata);
|
|
1425
|
+
id?: (string | null);
|
|
1426
|
+
originalIndex?: (number | null);
|
|
1427
|
+
success?: (boolean | null);
|
|
1428
|
+
error?: ($wrapper.wix.api.IApplicationError | null);
|
|
1429
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1430
|
+
}
|
|
1431
|
+
export enum BulkActionType {
|
|
1432
|
+
UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
|
|
1433
|
+
INSERT = "INSERT",
|
|
1434
|
+
UPDATE = "UPDATE",
|
|
1435
|
+
DELETE = "DELETE",
|
|
1436
|
+
}
|
|
1437
|
+
export interface IIdentificationData {
|
|
1438
|
+
contactId?: (string | null);
|
|
1439
|
+
identityType?: ($wrapper.wix.common.IdentificationData.IdentityType | null);
|
|
1440
|
+
anonymousVisitorId?: (string | null);
|
|
1441
|
+
memberId?: (string | null);
|
|
1442
|
+
wixUserId?: (string | null);
|
|
1443
|
+
appId?: (string | null);
|
|
1444
|
+
}
|
|
1445
|
+
export class IdentificationData implements IIdentificationData {
|
|
1446
|
+
constructor(data?: IIdentificationData);
|
|
1447
|
+
contactId?: (string | null);
|
|
1448
|
+
identityType?: ($wrapper.wix.common.IdentificationData.IdentityType | null);
|
|
1449
|
+
anonymousVisitorId?: (string | null);
|
|
1450
|
+
memberId?: (string | null);
|
|
1451
|
+
wixUserId?: (string | null);
|
|
1452
|
+
appId?: (string | null);
|
|
1453
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1454
|
+
}
|
|
1455
|
+
export namespace IdentificationData {
|
|
1456
|
+
export enum IdentityType {
|
|
1457
|
+
UNKNOWN = "UNKNOWN",
|
|
1458
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
1459
|
+
MEMBER = "MEMBER",
|
|
1460
|
+
WIX_USER = "WIX_USER",
|
|
1461
|
+
APP = "APP",
|
|
1462
|
+
}
|
|
1463
|
+
}
|
|
1464
|
+
export interface IImage {
|
|
1465
|
+
id?: (string | null);
|
|
1466
|
+
url?: (string | null);
|
|
1467
|
+
height?: (number | null);
|
|
1468
|
+
width?: (number | null);
|
|
1469
|
+
altText?: (string | null);
|
|
1470
|
+
urlExpirationDate?: (Date | null);
|
|
1471
|
+
filename?: (string | null);
|
|
1472
|
+
sizeInBytes?: (string | null);
|
|
1473
|
+
focalPoint?: ($wrapper.wix.common.IFocalPoint | null);
|
|
1474
|
+
}
|
|
1475
|
+
export class Image implements IImage {
|
|
1476
|
+
constructor(data?: IImage);
|
|
1477
|
+
id?: (string | null);
|
|
1478
|
+
url?: (string | null);
|
|
1479
|
+
height?: (number | null);
|
|
1480
|
+
width?: (number | null);
|
|
1481
|
+
altText?: (string | null);
|
|
1482
|
+
urlExpirationDate?: (Date | null);
|
|
1483
|
+
filename?: (string | null);
|
|
1484
|
+
sizeInBytes?: (string | null);
|
|
1485
|
+
focalPoint?: ($wrapper.wix.common.IFocalPoint | null);
|
|
1486
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1487
|
+
}
|
|
1488
|
+
export interface IVideo {
|
|
1489
|
+
id?: (string | null);
|
|
1490
|
+
url?: (string | null);
|
|
1491
|
+
height?: (number | null);
|
|
1492
|
+
width?: (number | null);
|
|
1493
|
+
thumbnail?: ($wrapper.wix.common.IImage | null);
|
|
1494
|
+
}
|
|
1495
|
+
export class Video implements IVideo {
|
|
1496
|
+
constructor(data?: IVideo);
|
|
1497
|
+
id?: (string | null);
|
|
1498
|
+
url?: (string | null);
|
|
1499
|
+
height?: (number | null);
|
|
1500
|
+
width?: (number | null);
|
|
1501
|
+
thumbnail?: ($wrapper.wix.common.IImage | null);
|
|
1502
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1503
|
+
}
|
|
1504
|
+
export interface IVideoV2 {
|
|
1505
|
+
id?: (string | null);
|
|
1506
|
+
url?: (string | null);
|
|
1507
|
+
resolutions?: ($wrapper.wix.common.IVideoResolution[] | null);
|
|
1508
|
+
filename?: (string | null);
|
|
1509
|
+
posters?: ($wrapper.wix.common.IImage[] | null);
|
|
1510
|
+
sizeInBytes?: (string | null);
|
|
1511
|
+
urlExpirationDate?: (Date | null);
|
|
1512
|
+
durationInMilliseconds?: (number | null);
|
|
1513
|
+
title?: (string | null);
|
|
1514
|
+
description?: (string | null);
|
|
1515
|
+
height?: (number | null);
|
|
1516
|
+
width?: (number | null);
|
|
1517
|
+
}
|
|
1518
|
+
export class VideoV2 implements IVideoV2 {
|
|
1519
|
+
constructor(data?: IVideoV2);
|
|
1520
|
+
id?: (string | null);
|
|
1521
|
+
url?: (string | null);
|
|
1522
|
+
resolutions?: ($wrapper.wix.common.IVideoResolution[] | null);
|
|
1523
|
+
filename?: (string | null);
|
|
1524
|
+
posters?: ($wrapper.wix.common.IImage[] | null);
|
|
1525
|
+
sizeInBytes?: (string | null);
|
|
1526
|
+
urlExpirationDate?: (Date | null);
|
|
1527
|
+
durationInMilliseconds?: (number | null);
|
|
1528
|
+
title?: (string | null);
|
|
1529
|
+
description?: (string | null);
|
|
1530
|
+
height?: (number | null);
|
|
1531
|
+
width?: (number | null);
|
|
1532
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1533
|
+
}
|
|
1534
|
+
export interface IVideoResolution {
|
|
1535
|
+
url?: (string | null);
|
|
1536
|
+
height?: (number | null);
|
|
1537
|
+
width?: (number | null);
|
|
1538
|
+
poster?: ($wrapper.wix.common.IImage | null);
|
|
1539
|
+
format?: (string | null);
|
|
1540
|
+
urlExpirationDate?: (Date | null);
|
|
1541
|
+
sizeInBytes?: (string | null);
|
|
1542
|
+
quality?: (string | null);
|
|
1543
|
+
filename?: (string | null);
|
|
1544
|
+
durationInSeconds?: (number | null);
|
|
1545
|
+
durationInMilliseconds?: (number | null);
|
|
1546
|
+
private?: (boolean | null);
|
|
1547
|
+
assetKey?: (string | null);
|
|
1548
|
+
}
|
|
1549
|
+
export class VideoResolution implements IVideoResolution {
|
|
1550
|
+
constructor(data?: IVideoResolution);
|
|
1551
|
+
url?: (string | null);
|
|
1552
|
+
height?: (number | null);
|
|
1553
|
+
width?: (number | null);
|
|
1554
|
+
poster?: ($wrapper.wix.common.IImage | null);
|
|
1555
|
+
format?: (string | null);
|
|
1556
|
+
urlExpirationDate?: (Date | null);
|
|
1557
|
+
sizeInBytes?: (string | null);
|
|
1558
|
+
quality?: (string | null);
|
|
1559
|
+
filename?: (string | null);
|
|
1560
|
+
durationInSeconds?: (number | null);
|
|
1561
|
+
durationInMilliseconds?: (number | null);
|
|
1562
|
+
private?: (boolean | null);
|
|
1563
|
+
assetKey?: (string | null);
|
|
1564
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1565
|
+
}
|
|
1566
|
+
export interface IAudio {
|
|
1567
|
+
id?: (string | null);
|
|
1568
|
+
url?: (string | null);
|
|
1569
|
+
urlExpirationDate?: (Date | null);
|
|
1570
|
+
sizeInBytes?: (string | null);
|
|
1571
|
+
filename?: (string | null);
|
|
1572
|
+
duration?: (number | null);
|
|
1573
|
+
private?: (boolean | null);
|
|
1574
|
+
assetKey?: (string | null);
|
|
1575
|
+
format?: (string | null);
|
|
1576
|
+
quality?: (string | null);
|
|
1577
|
+
}
|
|
1578
|
+
export class Audio implements IAudio {
|
|
1579
|
+
constructor(data?: IAudio);
|
|
1580
|
+
id?: (string | null);
|
|
1581
|
+
url?: (string | null);
|
|
1582
|
+
urlExpirationDate?: (Date | null);
|
|
1583
|
+
sizeInBytes?: (string | null);
|
|
1584
|
+
filename?: (string | null);
|
|
1585
|
+
duration?: (number | null);
|
|
1586
|
+
private?: (boolean | null);
|
|
1587
|
+
assetKey?: (string | null);
|
|
1588
|
+
format?: (string | null);
|
|
1589
|
+
quality?: (string | null);
|
|
1590
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1591
|
+
}
|
|
1592
|
+
export interface IDocument {
|
|
1593
|
+
id?: (string | null);
|
|
1594
|
+
url?: (string | null);
|
|
1595
|
+
urlExpirationDate?: (Date | null);
|
|
1596
|
+
sizeInBytes?: (string | null);
|
|
1597
|
+
filename?: (string | null);
|
|
1598
|
+
thumbnail?: ($wrapper.wix.common.IImage | null);
|
|
1599
|
+
}
|
|
1600
|
+
export class Document implements IDocument {
|
|
1601
|
+
constructor(data?: IDocument);
|
|
1602
|
+
id?: (string | null);
|
|
1603
|
+
url?: (string | null);
|
|
1604
|
+
urlExpirationDate?: (Date | null);
|
|
1605
|
+
sizeInBytes?: (string | null);
|
|
1606
|
+
filename?: (string | null);
|
|
1607
|
+
thumbnail?: ($wrapper.wix.common.IImage | null);
|
|
1608
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1609
|
+
}
|
|
1610
|
+
export interface IModel3D {
|
|
1611
|
+
id?: (string | null);
|
|
1612
|
+
url?: (string | null);
|
|
1613
|
+
thumbnail?: ($wrapper.wix.common.IImage | null);
|
|
1614
|
+
altText?: (string | null);
|
|
1615
|
+
urlExpirationDate?: (Date | null);
|
|
1616
|
+
filename?: (string | null);
|
|
1617
|
+
sizeInBytes?: (string | null);
|
|
1618
|
+
}
|
|
1619
|
+
export class Model3D implements IModel3D {
|
|
1620
|
+
constructor(data?: IModel3D);
|
|
1621
|
+
id?: (string | null);
|
|
1622
|
+
url?: (string | null);
|
|
1623
|
+
thumbnail?: ($wrapper.wix.common.IImage | null);
|
|
1624
|
+
altText?: (string | null);
|
|
1625
|
+
urlExpirationDate?: (Date | null);
|
|
1626
|
+
filename?: (string | null);
|
|
1627
|
+
sizeInBytes?: (string | null);
|
|
1628
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1629
|
+
}
|
|
1630
|
+
export interface IArchive {
|
|
1631
|
+
id?: (string | null);
|
|
1632
|
+
url?: (string | null);
|
|
1633
|
+
urlExpirationDate?: (Date | null);
|
|
1634
|
+
sizeInBytes?: (string | null);
|
|
1635
|
+
filename?: (string | null);
|
|
1636
|
+
}
|
|
1637
|
+
export class Archive implements IArchive {
|
|
1638
|
+
constructor(data?: IArchive);
|
|
1639
|
+
id?: (string | null);
|
|
1640
|
+
url?: (string | null);
|
|
1641
|
+
urlExpirationDate?: (Date | null);
|
|
1642
|
+
sizeInBytes?: (string | null);
|
|
1643
|
+
filename?: (string | null);
|
|
1644
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1645
|
+
}
|
|
1646
|
+
export interface IMediaItem {
|
|
1647
|
+
image?: ($wrapper.wix.common.IImage | null);
|
|
1648
|
+
video?: ($wrapper.wix.common.IVideo | null);
|
|
1649
|
+
document?: ($wrapper.wix.common.IDocument | null);
|
|
1650
|
+
}
|
|
1651
|
+
export class MediaItem implements IMediaItem {
|
|
1652
|
+
constructor(data?: IMediaItem);
|
|
1653
|
+
image?: ($wrapper.wix.common.IImage | null);
|
|
1654
|
+
video?: ($wrapper.wix.common.IVideo | null);
|
|
1655
|
+
document?: ($wrapper.wix.common.IDocument | null);
|
|
1656
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1657
|
+
}
|
|
1658
|
+
export interface IFocalPoint {
|
|
1659
|
+
x?: (number | null);
|
|
1660
|
+
y?: (number | null);
|
|
1661
|
+
height?: (number | null);
|
|
1662
|
+
width?: (number | null);
|
|
1663
|
+
}
|
|
1664
|
+
export class FocalPoint implements IFocalPoint {
|
|
1665
|
+
constructor(data?: IFocalPoint);
|
|
1666
|
+
x?: (number | null);
|
|
1667
|
+
y?: (number | null);
|
|
1668
|
+
height?: (number | null);
|
|
1669
|
+
width?: (number | null);
|
|
1670
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1671
|
+
}
|
|
1672
|
+
export interface IMoney {
|
|
1673
|
+
value?: (string | null);
|
|
1674
|
+
currency?: (string | null);
|
|
1675
|
+
formattedValue?: (string | null);
|
|
1676
|
+
}
|
|
1677
|
+
export class Money implements IMoney {
|
|
1678
|
+
constructor(data?: IMoney);
|
|
1679
|
+
value?: (string | null);
|
|
1680
|
+
currency?: (string | null);
|
|
1681
|
+
formattedValue?: (string | null);
|
|
1682
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1683
|
+
}
|
|
1684
|
+
export interface IPageUrl {
|
|
1685
|
+
base?: (string | null);
|
|
1686
|
+
path?: (string | null);
|
|
1687
|
+
}
|
|
1688
|
+
export class PageUrl implements IPageUrl {
|
|
1689
|
+
constructor(data?: IPageUrl);
|
|
1690
|
+
base?: (string | null);
|
|
1691
|
+
path?: (string | null);
|
|
1692
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1693
|
+
}
|
|
1694
|
+
export interface IPageUrlV2 {
|
|
1695
|
+
relativePath?: (string | null);
|
|
1696
|
+
url?: (string | null);
|
|
1697
|
+
}
|
|
1698
|
+
export class PageUrlV2 implements IPageUrlV2 {
|
|
1699
|
+
constructor(data?: IPageUrlV2);
|
|
1700
|
+
relativePath?: (string | null);
|
|
1701
|
+
url?: (string | null);
|
|
1702
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1703
|
+
}
|
|
1704
|
+
export interface IPaging {
|
|
1705
|
+
limit?: (number | null);
|
|
1706
|
+
offset?: (number | null);
|
|
1707
|
+
}
|
|
1708
|
+
export class Paging implements IPaging {
|
|
1709
|
+
constructor(data?: IPaging);
|
|
1710
|
+
limit?: (number | null);
|
|
1711
|
+
offset?: (number | null);
|
|
1712
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1713
|
+
}
|
|
1714
|
+
export interface ICursorPaging {
|
|
1715
|
+
limit?: (number | null);
|
|
1716
|
+
cursor?: (string | null);
|
|
1717
|
+
}
|
|
1718
|
+
export class CursorPaging implements ICursorPaging {
|
|
1719
|
+
constructor(data?: ICursorPaging);
|
|
1720
|
+
limit?: (number | null);
|
|
1721
|
+
cursor?: (string | null);
|
|
1722
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1723
|
+
}
|
|
1724
|
+
export interface IPagingMetadata {
|
|
1725
|
+
count?: (number | null);
|
|
1726
|
+
offset?: (number | null);
|
|
1727
|
+
total?: (number | null);
|
|
1728
|
+
tooManyToCount?: (boolean | null);
|
|
1729
|
+
hasNext?: (boolean | null);
|
|
1730
|
+
}
|
|
1731
|
+
export class PagingMetadata implements IPagingMetadata {
|
|
1732
|
+
constructor(data?: IPagingMetadata);
|
|
1733
|
+
count?: (number | null);
|
|
1734
|
+
offset?: (number | null);
|
|
1735
|
+
total?: (number | null);
|
|
1736
|
+
tooManyToCount?: (boolean | null);
|
|
1737
|
+
hasNext?: (boolean | null);
|
|
1738
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1739
|
+
}
|
|
1740
|
+
export interface IPagingMetadataV2 {
|
|
1741
|
+
count?: (number | null);
|
|
1742
|
+
offset?: (number | null);
|
|
1743
|
+
total?: (number | null);
|
|
1744
|
+
tooManyToCount?: (boolean | null);
|
|
1745
|
+
cursors?: ($wrapper.wix.common.ICursors | null);
|
|
1746
|
+
hasNext?: (boolean | null);
|
|
1747
|
+
}
|
|
1748
|
+
export class PagingMetadataV2 implements IPagingMetadataV2 {
|
|
1749
|
+
constructor(data?: IPagingMetadataV2);
|
|
1750
|
+
count?: (number | null);
|
|
1751
|
+
offset?: (number | null);
|
|
1752
|
+
total?: (number | null);
|
|
1753
|
+
tooManyToCount?: (boolean | null);
|
|
1754
|
+
cursors?: ($wrapper.wix.common.ICursors | null);
|
|
1755
|
+
hasNext?: (boolean | null);
|
|
1756
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1757
|
+
}
|
|
1758
|
+
export interface ICursorPagingMetadata {
|
|
1759
|
+
count?: (number | null);
|
|
1760
|
+
cursors?: ($wrapper.wix.common.ICursors | null);
|
|
1761
|
+
hasNext?: (boolean | null);
|
|
1762
|
+
total?: (number | null);
|
|
1763
|
+
}
|
|
1764
|
+
export class CursorPagingMetadata implements ICursorPagingMetadata {
|
|
1765
|
+
constructor(data?: ICursorPagingMetadata);
|
|
1766
|
+
count?: (number | null);
|
|
1767
|
+
cursors?: ($wrapper.wix.common.ICursors | null);
|
|
1768
|
+
hasNext?: (boolean | null);
|
|
1769
|
+
total?: (number | null);
|
|
1770
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1771
|
+
}
|
|
1772
|
+
export interface ICursors {
|
|
1773
|
+
next?: (string | null);
|
|
1774
|
+
prev?: (string | null);
|
|
1775
|
+
}
|
|
1776
|
+
export class Cursors implements ICursors {
|
|
1777
|
+
constructor(data?: ICursors);
|
|
1778
|
+
next?: (string | null);
|
|
1779
|
+
prev?: (string | null);
|
|
1780
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1781
|
+
}
|
|
1782
|
+
export interface IQuery {
|
|
1783
|
+
filter?: (any | null);
|
|
1784
|
+
sort?: ($wrapper.wix.common.ISorting[] | null);
|
|
1785
|
+
paging?: ($wrapper.wix.common.IPaging | null);
|
|
1786
|
+
fields?: (string[] | null);
|
|
1787
|
+
fieldsets?: (string[] | null);
|
|
1788
|
+
}
|
|
1789
|
+
export class Query implements IQuery {
|
|
1790
|
+
constructor(data?: IQuery);
|
|
1791
|
+
filter?: (any | null);
|
|
1792
|
+
sort?: ($wrapper.wix.common.ISorting[] | null);
|
|
1793
|
+
paging?: ($wrapper.wix.common.IPaging | null);
|
|
1794
|
+
fields?: (string[] | null);
|
|
1795
|
+
fieldsets?: (string[] | null);
|
|
1796
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1797
|
+
}
|
|
1798
|
+
export interface IQueryV2 {
|
|
1799
|
+
filter?: ({ [key: string]: any } | null);
|
|
1800
|
+
sort?: ($wrapper.wix.common.ISorting[] | null);
|
|
1801
|
+
fields?: (string[] | null);
|
|
1802
|
+
fieldsets?: (string[] | null);
|
|
1803
|
+
paging?: ($wrapper.wix.common.IPaging | null);
|
|
1804
|
+
cursorPaging?: ($wrapper.wix.common.ICursorPaging | null);
|
|
1805
|
+
}
|
|
1806
|
+
export class QueryV2 implements IQueryV2 {
|
|
1807
|
+
constructor(data?: IQueryV2);
|
|
1808
|
+
filter?: ({ [key: string]: any } | null);
|
|
1809
|
+
sort?: ($wrapper.wix.common.ISorting[] | null);
|
|
1810
|
+
fields?: (string[] | null);
|
|
1811
|
+
fieldsets?: (string[] | null);
|
|
1812
|
+
paging?: ($wrapper.wix.common.IPaging | null);
|
|
1813
|
+
cursorPaging?: ($wrapper.wix.common.ICursorPaging | null);
|
|
1814
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1815
|
+
}
|
|
1816
|
+
export interface ICursorQuery {
|
|
1817
|
+
filter?: ({ [key: string]: any } | null);
|
|
1818
|
+
sort?: ($wrapper.wix.common.ISorting[] | null);
|
|
1819
|
+
cursorPaging?: ($wrapper.wix.common.ICursorPaging | null);
|
|
1820
|
+
}
|
|
1821
|
+
export class CursorQuery implements ICursorQuery {
|
|
1822
|
+
constructor(data?: ICursorQuery);
|
|
1823
|
+
filter?: ({ [key: string]: any } | null);
|
|
1824
|
+
sort?: ($wrapper.wix.common.ISorting[] | null);
|
|
1825
|
+
cursorPaging?: ($wrapper.wix.common.ICursorPaging | null);
|
|
1826
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1827
|
+
}
|
|
1828
|
+
export interface ISearch {
|
|
1829
|
+
filter?: ({ [key: string]: any } | null);
|
|
1830
|
+
sort?: ($wrapper.wix.common.ISorting[] | null);
|
|
1831
|
+
fields?: (string[] | null);
|
|
1832
|
+
fieldsets?: (string[] | null);
|
|
1833
|
+
aggregations?: ($wrapper.wix.common.IAggregation[] | null);
|
|
1834
|
+
search?: ($wrapper.wix.common.ISearchDetails | null);
|
|
1835
|
+
paging?: ($wrapper.wix.common.IPaging | null);
|
|
1836
|
+
cursorPaging?: ($wrapper.wix.common.ICursorPaging | null);
|
|
1837
|
+
timeZone?: (string | null);
|
|
1838
|
+
}
|
|
1839
|
+
export class Search implements ISearch {
|
|
1840
|
+
constructor(data?: ISearch);
|
|
1841
|
+
filter?: ({ [key: string]: any } | null);
|
|
1842
|
+
sort?: ($wrapper.wix.common.ISorting[] | null);
|
|
1843
|
+
fields?: (string[] | null);
|
|
1844
|
+
fieldsets?: (string[] | null);
|
|
1845
|
+
aggregations?: ($wrapper.wix.common.IAggregation[] | null);
|
|
1846
|
+
search?: ($wrapper.wix.common.ISearchDetails | null);
|
|
1847
|
+
paging?: ($wrapper.wix.common.IPaging | null);
|
|
1848
|
+
cursorPaging?: ($wrapper.wix.common.ICursorPaging | null);
|
|
1849
|
+
timeZone?: (string | null);
|
|
1850
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1851
|
+
}
|
|
1852
|
+
export interface ICursorSearch {
|
|
1853
|
+
filter?: ({ [key: string]: any } | null);
|
|
1854
|
+
sort?: ($wrapper.wix.common.ISorting[] | null);
|
|
1855
|
+
aggregations?: ($wrapper.wix.common.IAggregation[] | null);
|
|
1856
|
+
search?: ($wrapper.wix.common.ISearchDetails | null);
|
|
1857
|
+
cursorPaging?: ($wrapper.wix.common.ICursorPaging | null);
|
|
1858
|
+
timeZone?: (string | null);
|
|
1859
|
+
}
|
|
1860
|
+
export class CursorSearch implements ICursorSearch {
|
|
1861
|
+
constructor(data?: ICursorSearch);
|
|
1862
|
+
filter?: ({ [key: string]: any } | null);
|
|
1863
|
+
sort?: ($wrapper.wix.common.ISorting[] | null);
|
|
1864
|
+
aggregations?: ($wrapper.wix.common.IAggregation[] | null);
|
|
1865
|
+
search?: ($wrapper.wix.common.ISearchDetails | null);
|
|
1866
|
+
cursorPaging?: ($wrapper.wix.common.ICursorPaging | null);
|
|
1867
|
+
timeZone?: (string | null);
|
|
1868
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1869
|
+
}
|
|
1870
|
+
export interface ISearchRelated {
|
|
1871
|
+
relatedToIds?: (string[] | null);
|
|
1872
|
+
search?: ($wrapper.wix.common.ISearchRelatedDetails | null);
|
|
1873
|
+
filter?: ({ [key: string]: any } | null);
|
|
1874
|
+
sort?: ($wrapper.wix.common.ISorting[] | null);
|
|
1875
|
+
limit?: (number | null);
|
|
1876
|
+
}
|
|
1877
|
+
export class SearchRelated implements ISearchRelated {
|
|
1878
|
+
constructor(data?: ISearchRelated);
|
|
1879
|
+
relatedToIds?: (string[] | null);
|
|
1880
|
+
search?: ($wrapper.wix.common.ISearchRelatedDetails | null);
|
|
1881
|
+
filter?: ({ [key: string]: any } | null);
|
|
1882
|
+
sort?: ($wrapper.wix.common.ISorting[] | null);
|
|
1883
|
+
limit?: (number | null);
|
|
1884
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1885
|
+
}
|
|
1886
|
+
export interface ISearchRelatedDetails {
|
|
1887
|
+
expression?: (string | null);
|
|
1888
|
+
fields?: (string[] | null);
|
|
1889
|
+
}
|
|
1890
|
+
export class SearchRelatedDetails implements ISearchRelatedDetails {
|
|
1891
|
+
constructor(data?: ISearchRelatedDetails);
|
|
1892
|
+
expression?: (string | null);
|
|
1893
|
+
fields?: (string[] | null);
|
|
1894
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1895
|
+
}
|
|
1896
|
+
export interface ISearchDetails {
|
|
1897
|
+
mode?: ($wrapper.wix.common.SearchDetails.Mode | null);
|
|
1898
|
+
expression?: (string | null);
|
|
1899
|
+
fields?: (string[] | null);
|
|
1900
|
+
fuzzy?: (boolean | null);
|
|
1901
|
+
}
|
|
1902
|
+
export class SearchDetails implements ISearchDetails {
|
|
1903
|
+
constructor(data?: ISearchDetails);
|
|
1904
|
+
mode?: ($wrapper.wix.common.SearchDetails.Mode | null);
|
|
1905
|
+
expression?: (string | null);
|
|
1906
|
+
fields?: (string[] | null);
|
|
1907
|
+
fuzzy?: (boolean | null);
|
|
1908
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1909
|
+
}
|
|
1910
|
+
export namespace SearchDetails {
|
|
1911
|
+
export enum Mode {
|
|
1912
|
+
OR = "OR",
|
|
1913
|
+
AND = "AND",
|
|
1914
|
+
}
|
|
1915
|
+
}
|
|
1916
|
+
export enum AggregationType {
|
|
1917
|
+
UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
|
|
1918
|
+
VALUE = "VALUE",
|
|
1919
|
+
RANGE = "RANGE",
|
|
1920
|
+
SCALAR = "SCALAR",
|
|
1921
|
+
DATE_HISTOGRAM = "DATE_HISTOGRAM",
|
|
1922
|
+
NESTED = "NESTED",
|
|
1923
|
+
}
|
|
1924
|
+
export enum ScalarType {
|
|
1925
|
+
UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE",
|
|
1926
|
+
COUNT_DISTINCT = "COUNT_DISTINCT",
|
|
1927
|
+
MIN = "MIN",
|
|
1928
|
+
MAX = "MAX",
|
|
1929
|
+
SUM = "SUM",
|
|
1930
|
+
AVG = "AVG",
|
|
1931
|
+
}
|
|
1932
|
+
export interface IAggregation {
|
|
1933
|
+
name?: (string | null);
|
|
1934
|
+
type?: ($wrapper.wix.common.AggregationType | null);
|
|
1935
|
+
fieldPath?: (string | null);
|
|
1936
|
+
value?: ($wrapper.wix.common.Aggregation.IValueAggregation | null);
|
|
1937
|
+
range?: ($wrapper.wix.common.Aggregation.IRangeAggregation | null);
|
|
1938
|
+
scalar?: ($wrapper.wix.common.Aggregation.IScalarAggregation | null);
|
|
1939
|
+
dateHistogram?: ($wrapper.wix.common.Aggregation.IDateHistogramAggregation | null);
|
|
1940
|
+
nested?: ($wrapper.wix.common.Aggregation.INestedAggregation | null);
|
|
1941
|
+
groupBy?: ($wrapper.wix.common.Aggregation.IGroupByAggregation | null);
|
|
1942
|
+
}
|
|
1943
|
+
export class Aggregation implements IAggregation {
|
|
1944
|
+
constructor(data?: IAggregation);
|
|
1945
|
+
name?: (string | null);
|
|
1946
|
+
type?: ($wrapper.wix.common.AggregationType | null);
|
|
1947
|
+
fieldPath?: (string | null);
|
|
1948
|
+
value?: ($wrapper.wix.common.Aggregation.IValueAggregation | null);
|
|
1949
|
+
range?: ($wrapper.wix.common.Aggregation.IRangeAggregation | null);
|
|
1950
|
+
scalar?: ($wrapper.wix.common.Aggregation.IScalarAggregation | null);
|
|
1951
|
+
dateHistogram?: ($wrapper.wix.common.Aggregation.IDateHistogramAggregation | null);
|
|
1952
|
+
nested?: ($wrapper.wix.common.Aggregation.INestedAggregation | null);
|
|
1953
|
+
groupBy?: ($wrapper.wix.common.Aggregation.IGroupByAggregation | null);
|
|
1954
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1955
|
+
}
|
|
1956
|
+
export namespace Aggregation {
|
|
1957
|
+
export interface IRangeAggregation {
|
|
1958
|
+
buckets?: ($wrapper.wix.common.Aggregation.RangeAggregation.IRangeBucket[] | null);
|
|
1959
|
+
}
|
|
1960
|
+
export class RangeAggregation implements IRangeAggregation {
|
|
1961
|
+
constructor(data?: IRangeAggregation);
|
|
1962
|
+
buckets?: ($wrapper.wix.common.Aggregation.RangeAggregation.IRangeBucket[] | null);
|
|
1963
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1964
|
+
}
|
|
1965
|
+
export namespace RangeAggregation {
|
|
1966
|
+
export interface IRangeBucket {
|
|
1967
|
+
from?: (number | null);
|
|
1968
|
+
to?: (number | null);
|
|
1969
|
+
}
|
|
1970
|
+
export class RangeBucket implements IRangeBucket {
|
|
1971
|
+
constructor(data?: IRangeBucket);
|
|
1972
|
+
from?: (number | null);
|
|
1973
|
+
to?: (number | null);
|
|
1974
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1975
|
+
}
|
|
1976
|
+
}
|
|
1977
|
+
export interface IValueAggregation {
|
|
1978
|
+
sortType?: ($wrapper.wix.common.Aggregation.ValueAggregation.SortType | null);
|
|
1979
|
+
sortDirection?: ($wrapper.wix.common.Aggregation.ValueAggregation.SortDirection | null);
|
|
1980
|
+
limit?: (number | null);
|
|
1981
|
+
missingValues?: ($wrapper.wix.common.Aggregation.ValueAggregation.MissingValues | null);
|
|
1982
|
+
includeOptions?: ($wrapper.wix.common.Aggregation.ValueAggregation.IIncludeMissingValuesOptions | null);
|
|
1983
|
+
}
|
|
1984
|
+
export class ValueAggregation implements IValueAggregation {
|
|
1985
|
+
constructor(data?: IValueAggregation);
|
|
1986
|
+
sortType?: ($wrapper.wix.common.Aggregation.ValueAggregation.SortType | null);
|
|
1987
|
+
sortDirection?: ($wrapper.wix.common.Aggregation.ValueAggregation.SortDirection | null);
|
|
1988
|
+
limit?: (number | null);
|
|
1989
|
+
missingValues?: ($wrapper.wix.common.Aggregation.ValueAggregation.MissingValues | null);
|
|
1990
|
+
includeOptions?: ($wrapper.wix.common.Aggregation.ValueAggregation.IIncludeMissingValuesOptions | null);
|
|
1991
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1992
|
+
}
|
|
1993
|
+
export namespace ValueAggregation {
|
|
1994
|
+
export enum SortType {
|
|
1995
|
+
COUNT = "COUNT",
|
|
1996
|
+
VALUE = "VALUE",
|
|
1997
|
+
}
|
|
1998
|
+
export enum SortDirection {
|
|
1999
|
+
DESC = "DESC",
|
|
2000
|
+
ASC = "ASC",
|
|
2001
|
+
}
|
|
2002
|
+
export enum MissingValues {
|
|
2003
|
+
EXCLUDE = "EXCLUDE",
|
|
2004
|
+
INCLUDE = "INCLUDE",
|
|
2005
|
+
}
|
|
2006
|
+
export interface IIncludeMissingValuesOptions {
|
|
2007
|
+
addToBucket?: (string | null);
|
|
2008
|
+
}
|
|
2009
|
+
export class IncludeMissingValuesOptions implements IIncludeMissingValuesOptions {
|
|
2010
|
+
constructor(data?: IIncludeMissingValuesOptions);
|
|
2011
|
+
addToBucket?: (string | null);
|
|
2012
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2013
|
+
}
|
|
2014
|
+
}
|
|
2015
|
+
export interface IScalarAggregation {
|
|
2016
|
+
type?: ($wrapper.wix.common.ScalarType | null);
|
|
2017
|
+
}
|
|
2018
|
+
export class ScalarAggregation implements IScalarAggregation {
|
|
2019
|
+
constructor(data?: IScalarAggregation);
|
|
2020
|
+
type?: ($wrapper.wix.common.ScalarType | null);
|
|
2021
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2022
|
+
}
|
|
2023
|
+
export interface IGroupByAggregation {
|
|
2024
|
+
name?: (string | null);
|
|
2025
|
+
fieldPath?: (string | null);
|
|
2026
|
+
value?: ($wrapper.wix.common.Aggregation.IValueAggregation | null);
|
|
2027
|
+
}
|
|
2028
|
+
export class GroupByAggregation implements IGroupByAggregation {
|
|
2029
|
+
constructor(data?: IGroupByAggregation);
|
|
2030
|
+
name?: (string | null);
|
|
2031
|
+
fieldPath?: (string | null);
|
|
2032
|
+
value?: ($wrapper.wix.common.Aggregation.IValueAggregation | null);
|
|
2033
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2034
|
+
}
|
|
2035
|
+
export interface INestedAggregation {
|
|
2036
|
+
nestedAggregations?: ($wrapper.wix.common.Aggregation.NestedAggregation.INestedAggregationItem[] | null);
|
|
2037
|
+
}
|
|
2038
|
+
export class NestedAggregation implements INestedAggregation {
|
|
2039
|
+
constructor(data?: INestedAggregation);
|
|
2040
|
+
nestedAggregations?: ($wrapper.wix.common.Aggregation.NestedAggregation.INestedAggregationItem[] | null);
|
|
2041
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2042
|
+
}
|
|
2043
|
+
export namespace NestedAggregation {
|
|
2044
|
+
export enum NestedAggregationType {
|
|
2045
|
+
UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
|
|
2046
|
+
VALUE = "VALUE",
|
|
2047
|
+
RANGE = "RANGE",
|
|
2048
|
+
SCALAR = "SCALAR",
|
|
2049
|
+
DATE_HISTOGRAM = "DATE_HISTOGRAM",
|
|
2050
|
+
}
|
|
2051
|
+
export interface INestedAggregationItem {
|
|
2052
|
+
name?: (string | null);
|
|
2053
|
+
type?: ($wrapper.wix.common.Aggregation.NestedAggregation.NestedAggregationType | null);
|
|
2054
|
+
fieldPath?: (string | null);
|
|
2055
|
+
value?: ($wrapper.wix.common.Aggregation.IValueAggregation | null);
|
|
2056
|
+
range?: ($wrapper.wix.common.Aggregation.IRangeAggregation | null);
|
|
2057
|
+
scalar?: ($wrapper.wix.common.Aggregation.IScalarAggregation | null);
|
|
2058
|
+
dateHistogram?: ($wrapper.wix.common.Aggregation.IDateHistogramAggregation | null);
|
|
2059
|
+
}
|
|
2060
|
+
export class NestedAggregationItem implements INestedAggregationItem {
|
|
2061
|
+
constructor(data?: INestedAggregationItem);
|
|
2062
|
+
name?: (string | null);
|
|
2063
|
+
type?: ($wrapper.wix.common.Aggregation.NestedAggregation.NestedAggregationType | null);
|
|
2064
|
+
fieldPath?: (string | null);
|
|
2065
|
+
value?: ($wrapper.wix.common.Aggregation.IValueAggregation | null);
|
|
2066
|
+
range?: ($wrapper.wix.common.Aggregation.IRangeAggregation | null);
|
|
2067
|
+
scalar?: ($wrapper.wix.common.Aggregation.IScalarAggregation | null);
|
|
2068
|
+
dateHistogram?: ($wrapper.wix.common.Aggregation.IDateHistogramAggregation | null);
|
|
2069
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2070
|
+
}
|
|
2071
|
+
}
|
|
2072
|
+
export interface IDateHistogramAggregation {
|
|
2073
|
+
interval?: ($wrapper.wix.common.Aggregation.DateHistogramAggregation.Interval | null);
|
|
2074
|
+
}
|
|
2075
|
+
export class DateHistogramAggregation implements IDateHistogramAggregation {
|
|
2076
|
+
constructor(data?: IDateHistogramAggregation);
|
|
2077
|
+
interval?: ($wrapper.wix.common.Aggregation.DateHistogramAggregation.Interval | null);
|
|
2078
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2079
|
+
}
|
|
2080
|
+
export namespace DateHistogramAggregation {
|
|
2081
|
+
export enum Interval {
|
|
2082
|
+
UNKNOWN_INTERVAL = "UNKNOWN_INTERVAL",
|
|
2083
|
+
YEAR = "YEAR",
|
|
2084
|
+
MONTH = "MONTH",
|
|
2085
|
+
WEEK = "WEEK",
|
|
2086
|
+
DAY = "DAY",
|
|
2087
|
+
HOUR = "HOUR",
|
|
2088
|
+
MINUTE = "MINUTE",
|
|
2089
|
+
SECOND = "SECOND",
|
|
2090
|
+
}
|
|
2091
|
+
}
|
|
2092
|
+
}
|
|
2093
|
+
export interface IAggregationData {
|
|
2094
|
+
results?: ($wrapper.wix.common.AggregationData.IAggregationResults[] | null);
|
|
2095
|
+
}
|
|
2096
|
+
export class AggregationData implements IAggregationData {
|
|
2097
|
+
constructor(data?: IAggregationData);
|
|
2098
|
+
results?: ($wrapper.wix.common.AggregationData.IAggregationResults[] | null);
|
|
2099
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2100
|
+
}
|
|
2101
|
+
export namespace AggregationData {
|
|
2102
|
+
export interface IAggregationResults {
|
|
2103
|
+
name?: (string | null);
|
|
2104
|
+
type?: ($wrapper.wix.common.AggregationType | null);
|
|
2105
|
+
fieldPath?: (string | null);
|
|
2106
|
+
values?: ($wrapper.wix.common.AggregationData.AggregationResults.IValueResults | null);
|
|
2107
|
+
ranges?: ($wrapper.wix.common.AggregationData.AggregationResults.IRangeResults | null);
|
|
2108
|
+
scalar?: ($wrapper.wix.common.AggregationData.AggregationResults.IScalarResult | null);
|
|
2109
|
+
groupedByValue?: ($wrapper.wix.common.AggregationData.AggregationResults.IGroupByValueResults | null);
|
|
2110
|
+
dateHistogram?: ($wrapper.wix.common.AggregationData.AggregationResults.IDateHistogramResults | null);
|
|
2111
|
+
nested?: ($wrapper.wix.common.AggregationData.AggregationResults.INestedResults | null);
|
|
2112
|
+
}
|
|
2113
|
+
export class AggregationResults implements IAggregationResults {
|
|
2114
|
+
constructor(data?: IAggregationResults);
|
|
2115
|
+
name?: (string | null);
|
|
2116
|
+
type?: ($wrapper.wix.common.AggregationType | null);
|
|
2117
|
+
fieldPath?: (string | null);
|
|
2118
|
+
values?: ($wrapper.wix.common.AggregationData.AggregationResults.IValueResults | null);
|
|
2119
|
+
ranges?: ($wrapper.wix.common.AggregationData.AggregationResults.IRangeResults | null);
|
|
2120
|
+
scalar?: ($wrapper.wix.common.AggregationData.AggregationResults.IScalarResult | null);
|
|
2121
|
+
groupedByValue?: ($wrapper.wix.common.AggregationData.AggregationResults.IGroupByValueResults | null);
|
|
2122
|
+
dateHistogram?: ($wrapper.wix.common.AggregationData.AggregationResults.IDateHistogramResults | null);
|
|
2123
|
+
nested?: ($wrapper.wix.common.AggregationData.AggregationResults.INestedResults | null);
|
|
2124
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2125
|
+
}
|
|
2126
|
+
export namespace AggregationResults {
|
|
2127
|
+
export interface IValueResults {
|
|
2128
|
+
results?: ($wrapper.wix.common.AggregationData.AggregationResults.ValueResults.IValueAggregationResult[] | null);
|
|
2129
|
+
}
|
|
2130
|
+
export class ValueResults implements IValueResults {
|
|
2131
|
+
constructor(data?: IValueResults);
|
|
2132
|
+
results?: ($wrapper.wix.common.AggregationData.AggregationResults.ValueResults.IValueAggregationResult[] | null);
|
|
2133
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2134
|
+
}
|
|
2135
|
+
export namespace ValueResults {
|
|
2136
|
+
export interface IValueAggregationResult {
|
|
2137
|
+
value?: (string | null);
|
|
2138
|
+
count?: (number | null);
|
|
2139
|
+
}
|
|
2140
|
+
export class ValueAggregationResult implements IValueAggregationResult {
|
|
2141
|
+
constructor(data?: IValueAggregationResult);
|
|
2142
|
+
value?: (string | null);
|
|
2143
|
+
count?: (number | null);
|
|
2144
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2145
|
+
}
|
|
2146
|
+
}
|
|
2147
|
+
export interface IRangeResults {
|
|
2148
|
+
results?: ($wrapper.wix.common.AggregationData.AggregationResults.RangeResults.IRangeAggregationResult[] | null);
|
|
2149
|
+
}
|
|
2150
|
+
export class RangeResults implements IRangeResults {
|
|
2151
|
+
constructor(data?: IRangeResults);
|
|
2152
|
+
results?: ($wrapper.wix.common.AggregationData.AggregationResults.RangeResults.IRangeAggregationResult[] | null);
|
|
2153
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2154
|
+
}
|
|
2155
|
+
export namespace RangeResults {
|
|
2156
|
+
export interface IRangeAggregationResult {
|
|
2157
|
+
from?: (number | null);
|
|
2158
|
+
to?: (number | null);
|
|
2159
|
+
count?: (number | null);
|
|
2160
|
+
}
|
|
2161
|
+
export class RangeAggregationResult implements IRangeAggregationResult {
|
|
2162
|
+
constructor(data?: IRangeAggregationResult);
|
|
2163
|
+
from?: (number | null);
|
|
2164
|
+
to?: (number | null);
|
|
2165
|
+
count?: (number | null);
|
|
2166
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2167
|
+
}
|
|
2168
|
+
}
|
|
2169
|
+
export interface IScalarResult {
|
|
2170
|
+
type?: ($wrapper.wix.common.ScalarType | null);
|
|
2171
|
+
value?: (number | null);
|
|
2172
|
+
}
|
|
2173
|
+
export class ScalarResult implements IScalarResult {
|
|
2174
|
+
constructor(data?: IScalarResult);
|
|
2175
|
+
type?: ($wrapper.wix.common.ScalarType | null);
|
|
2176
|
+
value?: (number | null);
|
|
2177
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2178
|
+
}
|
|
2179
|
+
export interface IGroupByValueResults {
|
|
2180
|
+
results?: ($wrapper.wix.common.AggregationData.AggregationResults.GroupByValueResults.INestedValueAggregationResult[] | null);
|
|
2181
|
+
}
|
|
2182
|
+
export class GroupByValueResults implements IGroupByValueResults {
|
|
2183
|
+
constructor(data?: IGroupByValueResults);
|
|
2184
|
+
results?: ($wrapper.wix.common.AggregationData.AggregationResults.GroupByValueResults.INestedValueAggregationResult[] | null);
|
|
2185
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2186
|
+
}
|
|
2187
|
+
export namespace GroupByValueResults {
|
|
2188
|
+
export interface INestedValueAggregationResult {
|
|
2189
|
+
value?: (string | null);
|
|
2190
|
+
nestedResults?: ($wrapper.wix.common.AggregationData.AggregationResults.INestedAggregationResults | null);
|
|
2191
|
+
}
|
|
2192
|
+
export class NestedValueAggregationResult implements INestedValueAggregationResult {
|
|
2193
|
+
constructor(data?: INestedValueAggregationResult);
|
|
2194
|
+
value?: (string | null);
|
|
2195
|
+
nestedResults?: ($wrapper.wix.common.AggregationData.AggregationResults.INestedAggregationResults | null);
|
|
2196
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2197
|
+
}
|
|
2198
|
+
}
|
|
2199
|
+
export interface INestedAggregationResults {
|
|
2200
|
+
name?: (string | null);
|
|
2201
|
+
type?: ($wrapper.wix.common.AggregationType | null);
|
|
2202
|
+
fieldPath?: (string | null);
|
|
2203
|
+
values?: ($wrapper.wix.common.AggregationData.AggregationResults.IValueResults | null);
|
|
2204
|
+
ranges?: ($wrapper.wix.common.AggregationData.AggregationResults.IRangeResults | null);
|
|
2205
|
+
scalar?: ($wrapper.wix.common.AggregationData.AggregationResults.IScalarResult | null);
|
|
2206
|
+
}
|
|
2207
|
+
export class NestedAggregationResults implements INestedAggregationResults {
|
|
2208
|
+
constructor(data?: INestedAggregationResults);
|
|
2209
|
+
name?: (string | null);
|
|
2210
|
+
type?: ($wrapper.wix.common.AggregationType | null);
|
|
2211
|
+
fieldPath?: (string | null);
|
|
2212
|
+
values?: ($wrapper.wix.common.AggregationData.AggregationResults.IValueResults | null);
|
|
2213
|
+
ranges?: ($wrapper.wix.common.AggregationData.AggregationResults.IRangeResults | null);
|
|
2214
|
+
scalar?: ($wrapper.wix.common.AggregationData.AggregationResults.IScalarResult | null);
|
|
2215
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2216
|
+
}
|
|
2217
|
+
export interface INestedResults {
|
|
2218
|
+
results?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IResults[] | null);
|
|
2219
|
+
}
|
|
2220
|
+
export class NestedResults implements INestedResults {
|
|
2221
|
+
constructor(data?: INestedResults);
|
|
2222
|
+
results?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IResults[] | null);
|
|
2223
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2224
|
+
}
|
|
2225
|
+
export namespace NestedResults {
|
|
2226
|
+
export interface IValueResult {
|
|
2227
|
+
value?: (string | null);
|
|
2228
|
+
count?: (number | null);
|
|
2229
|
+
}
|
|
2230
|
+
export class ValueResult implements IValueResult {
|
|
2231
|
+
constructor(data?: IValueResult);
|
|
2232
|
+
value?: (string | null);
|
|
2233
|
+
count?: (number | null);
|
|
2234
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2235
|
+
}
|
|
2236
|
+
export interface IRangeResult {
|
|
2237
|
+
from?: (number | null);
|
|
2238
|
+
to?: (number | null);
|
|
2239
|
+
count?: (number | null);
|
|
2240
|
+
}
|
|
2241
|
+
export class RangeResult implements IRangeResult {
|
|
2242
|
+
constructor(data?: IRangeResult);
|
|
2243
|
+
from?: (number | null);
|
|
2244
|
+
to?: (number | null);
|
|
2245
|
+
count?: (number | null);
|
|
2246
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2247
|
+
}
|
|
2248
|
+
export interface IScalarResult {
|
|
2249
|
+
value?: (number | null);
|
|
2250
|
+
}
|
|
2251
|
+
export class ScalarResult implements IScalarResult {
|
|
2252
|
+
constructor(data?: IScalarResult);
|
|
2253
|
+
value?: (number | null);
|
|
2254
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2255
|
+
}
|
|
2256
|
+
export interface INestedResultValue {
|
|
2257
|
+
value?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult | null);
|
|
2258
|
+
range?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IRangeResult | null);
|
|
2259
|
+
scalar?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IScalarResult | null);
|
|
2260
|
+
dateHistogram?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult | null);
|
|
2261
|
+
}
|
|
2262
|
+
export class NestedResultValue implements INestedResultValue {
|
|
2263
|
+
constructor(data?: INestedResultValue);
|
|
2264
|
+
value?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult | null);
|
|
2265
|
+
range?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IRangeResult | null);
|
|
2266
|
+
scalar?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IScalarResult | null);
|
|
2267
|
+
dateHistogram?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult | null);
|
|
2268
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2269
|
+
}
|
|
2270
|
+
export interface IResults {
|
|
2271
|
+
results?: ({ [k: string]: $wrapper.wix.common.AggregationData.AggregationResults.NestedResults.INestedResultValue } | null);
|
|
2272
|
+
}
|
|
2273
|
+
export class Results implements IResults {
|
|
2274
|
+
constructor(data?: IResults);
|
|
2275
|
+
results?: ({ [k: string]: $wrapper.wix.common.AggregationData.AggregationResults.NestedResults.INestedResultValue });
|
|
2276
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2277
|
+
}
|
|
2278
|
+
}
|
|
2279
|
+
export interface IDateHistogramResults {
|
|
2280
|
+
results?: ($wrapper.wix.common.AggregationData.AggregationResults.DateHistogramResults.IDateHistogramResult[] | null);
|
|
2281
|
+
}
|
|
2282
|
+
export class DateHistogramResults implements IDateHistogramResults {
|
|
2283
|
+
constructor(data?: IDateHistogramResults);
|
|
2284
|
+
results?: ($wrapper.wix.common.AggregationData.AggregationResults.DateHistogramResults.IDateHistogramResult[] | null);
|
|
2285
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2286
|
+
}
|
|
2287
|
+
export namespace DateHistogramResults {
|
|
2288
|
+
export interface IDateHistogramResult {
|
|
2289
|
+
value?: (string | null);
|
|
2290
|
+
count?: (number | null);
|
|
2291
|
+
}
|
|
2292
|
+
export class DateHistogramResult implements IDateHistogramResult {
|
|
2293
|
+
constructor(data?: IDateHistogramResult);
|
|
2294
|
+
value?: (string | null);
|
|
2295
|
+
count?: (number | null);
|
|
2296
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2297
|
+
}
|
|
2298
|
+
}
|
|
2299
|
+
}
|
|
2300
|
+
}
|
|
2301
|
+
export interface ISorting {
|
|
2302
|
+
fieldName?: (string | null);
|
|
2303
|
+
order?: ($wrapper.wix.common.SortOrder | null);
|
|
2304
|
+
selectItemsBy?: ({ [key: string]: any }[] | null);
|
|
2305
|
+
}
|
|
2306
|
+
export class Sorting implements ISorting {
|
|
2307
|
+
constructor(data?: ISorting);
|
|
2308
|
+
fieldName?: (string | null);
|
|
2309
|
+
order?: ($wrapper.wix.common.SortOrder | null);
|
|
2310
|
+
selectItemsBy?: ({ [key: string]: any }[] | null);
|
|
2311
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2312
|
+
}
|
|
2313
|
+
export enum SortOrder {
|
|
2314
|
+
ASC = "ASC",
|
|
2315
|
+
DESC = "DESC",
|
|
2316
|
+
}
|
|
2317
|
+
export namespace spi {
|
|
2318
|
+
export interface ISpiBaseUri {
|
|
2319
|
+
baseUri?: (string | null);
|
|
2320
|
+
alternativeUris?: ($wrapper.wix.common.spi.SpiBaseUri.IAlternativeUri[] | null);
|
|
2321
|
+
}
|
|
2322
|
+
export class SpiBaseUri implements ISpiBaseUri {
|
|
2323
|
+
constructor(data?: ISpiBaseUri);
|
|
2324
|
+
baseUri?: (string | null);
|
|
2325
|
+
alternativeUris?: ($wrapper.wix.common.spi.SpiBaseUri.IAlternativeUri[] | null);
|
|
2326
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2327
|
+
}
|
|
2328
|
+
export namespace SpiBaseUri {
|
|
2329
|
+
export interface IAlternativeUri {
|
|
2330
|
+
methodName?: (string | null);
|
|
2331
|
+
absoluteUri?: (string | null);
|
|
2332
|
+
}
|
|
2333
|
+
export class AlternativeUri implements IAlternativeUri {
|
|
2334
|
+
constructor(data?: IAlternativeUri);
|
|
2335
|
+
methodName?: (string | null);
|
|
2336
|
+
absoluteUri?: (string | null);
|
|
2337
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2338
|
+
}
|
|
2339
|
+
}
|
|
2340
|
+
/**
|
|
2341
|
+
* this message is not directly used by any service,
|
|
2342
|
+
* it exists to describe the expected parameters that SHOULD be provided to invoked Velo methods as part of open-platform.
|
|
2343
|
+
* e.g. SPIs, event-handlers, etc..
|
|
2344
|
+
* NOTE: this context object MUST be provided as the last argument in each Velo method signature.
|
|
2345
|
+
*
|
|
2346
|
+
* Example:
|
|
2347
|
+
* ```typescript
|
|
2348
|
+
* export function wixStores_onOrderCanceled({ event, metadata }: OrderCanceledEvent) {
|
|
2349
|
+
* ...
|
|
2350
|
+
* }
|
|
2351
|
+
* ```
|
|
2352
|
+
*/
|
|
2353
|
+
export interface IContext {
|
|
2354
|
+
requestId?: (string | null);
|
|
2355
|
+
currency?: (string | null);
|
|
2356
|
+
identity?: ($wrapper.wix.common.spi.Context.IIdentificationData | null);
|
|
2357
|
+
languages?: (string[] | null);
|
|
2358
|
+
instanceId?: (string | null);
|
|
2359
|
+
appExtensionId?: (string | null);
|
|
2360
|
+
appExtensionType?: (string | null);
|
|
2361
|
+
functionName?: (string | null);
|
|
2362
|
+
}
|
|
2363
|
+
export class Context implements IContext {
|
|
2364
|
+
constructor(data?: IContext);
|
|
2365
|
+
requestId?: (string | null);
|
|
2366
|
+
currency?: (string | null);
|
|
2367
|
+
identity?: ($wrapper.wix.common.spi.Context.IIdentificationData | null);
|
|
2368
|
+
languages?: (string[] | null);
|
|
2369
|
+
instanceId?: (string | null);
|
|
2370
|
+
appExtensionId?: (string | null);
|
|
2371
|
+
appExtensionType?: (string | null);
|
|
2372
|
+
functionName?: (string | null);
|
|
2373
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2374
|
+
}
|
|
2375
|
+
export namespace Context {
|
|
2376
|
+
export interface IIdentificationData {
|
|
2377
|
+
identityType?: ($wrapper.wix.common.spi.Context.IdentificationData.IdentityType | null);
|
|
2378
|
+
anonymousVisitorId?: (string | null);
|
|
2379
|
+
memberId?: (string | null);
|
|
2380
|
+
wixUserId?: (string | null);
|
|
2381
|
+
appId?: (string | null);
|
|
2382
|
+
}
|
|
2383
|
+
export class IdentificationData implements IIdentificationData {
|
|
2384
|
+
constructor(data?: IIdentificationData);
|
|
2385
|
+
identityType?: ($wrapper.wix.common.spi.Context.IdentificationData.IdentityType | null);
|
|
2386
|
+
anonymousVisitorId?: (string | null);
|
|
2387
|
+
memberId?: (string | null);
|
|
2388
|
+
wixUserId?: (string | null);
|
|
2389
|
+
appId?: (string | null);
|
|
2390
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2391
|
+
}
|
|
2392
|
+
export namespace IdentificationData {
|
|
2393
|
+
export enum IdentityType {
|
|
2394
|
+
UNKNOWN = "UNKNOWN",
|
|
2395
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
2396
|
+
MEMBER = "MEMBER",
|
|
2397
|
+
WIX_USER = "WIX_USER",
|
|
2398
|
+
APP = "APP",
|
|
2399
|
+
}
|
|
2400
|
+
}
|
|
2401
|
+
}
|
|
2402
|
+
}
|
|
2403
|
+
export namespace tags {
|
|
2404
|
+
export interface ITags {
|
|
2405
|
+
privateTags?: ($wrapper.wix.common.tags.Tags.ITagList | null);
|
|
2406
|
+
tags?: ($wrapper.wix.common.tags.Tags.ITagList | null);
|
|
2407
|
+
}
|
|
2408
|
+
export class Tags implements ITags {
|
|
2409
|
+
constructor(data?: ITags);
|
|
2410
|
+
privateTags?: ($wrapper.wix.common.tags.Tags.ITagList | null);
|
|
2411
|
+
tags?: ($wrapper.wix.common.tags.Tags.ITagList | null);
|
|
2412
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2413
|
+
}
|
|
2414
|
+
export namespace Tags {
|
|
2415
|
+
export interface ITagList {
|
|
2416
|
+
tagIds?: (string[] | null);
|
|
2417
|
+
}
|
|
2418
|
+
export class TagList implements ITagList {
|
|
2419
|
+
constructor(data?: ITagList);
|
|
2420
|
+
tagIds?: (string[] | null);
|
|
2421
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2422
|
+
}
|
|
2423
|
+
}
|
|
2424
|
+
export interface IPublicTags {
|
|
2425
|
+
tags?: ($wrapper.wix.common.tags.PublicTags.ITagList | null);
|
|
2426
|
+
}
|
|
2427
|
+
export class PublicTags implements IPublicTags {
|
|
2428
|
+
constructor(data?: IPublicTags);
|
|
2429
|
+
tags?: ($wrapper.wix.common.tags.PublicTags.ITagList | null);
|
|
2430
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2431
|
+
}
|
|
2432
|
+
export namespace PublicTags {
|
|
2433
|
+
export interface ITagList {
|
|
2434
|
+
tagIds?: (string[] | null);
|
|
2435
|
+
}
|
|
2436
|
+
export class TagList implements ITagList {
|
|
2437
|
+
constructor(data?: ITagList);
|
|
2438
|
+
tagIds?: (string[] | null);
|
|
2439
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2440
|
+
}
|
|
2441
|
+
}
|
|
2442
|
+
}
|
|
2443
|
+
export interface IWixLink {
|
|
2444
|
+
external?: ($wrapper.wix.common.IExternalLink | null);
|
|
2445
|
+
page?: ($wrapper.wix.common.IPageLink | null);
|
|
2446
|
+
anchor?: ($wrapper.wix.common.IAnchorLink | null);
|
|
2447
|
+
dynamicPage?: ($wrapper.wix.common.IDynamicPageLink | null);
|
|
2448
|
+
document?: ($wrapper.wix.common.IDocumentLink | null);
|
|
2449
|
+
email?: ($wrapper.wix.common.IEmailLink | null);
|
|
2450
|
+
phone?: ($wrapper.wix.common.IPhoneLink | null);
|
|
2451
|
+
address?: ($wrapper.wix.common.IAddressLink | null);
|
|
2452
|
+
whatsApp?: ($wrapper.wix.common.IWhatsAppLink | null);
|
|
2453
|
+
tpaPage?: ($wrapper.wix.common.ITpaPageLink | null);
|
|
2454
|
+
}
|
|
2455
|
+
export class WixLink implements IWixLink {
|
|
2456
|
+
constructor(data?: IWixLink);
|
|
2457
|
+
external?: ($wrapper.wix.common.IExternalLink | null);
|
|
2458
|
+
page?: ($wrapper.wix.common.IPageLink | null);
|
|
2459
|
+
anchor?: ($wrapper.wix.common.IAnchorLink | null);
|
|
2460
|
+
dynamicPage?: ($wrapper.wix.common.IDynamicPageLink | null);
|
|
2461
|
+
document?: ($wrapper.wix.common.IDocumentLink | null);
|
|
2462
|
+
email?: ($wrapper.wix.common.IEmailLink | null);
|
|
2463
|
+
phone?: ($wrapper.wix.common.IPhoneLink | null);
|
|
2464
|
+
address?: ($wrapper.wix.common.IAddressLink | null);
|
|
2465
|
+
whatsApp?: ($wrapper.wix.common.IWhatsAppLink | null);
|
|
2466
|
+
tpaPage?: ($wrapper.wix.common.ITpaPageLink | null);
|
|
2467
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2468
|
+
}
|
|
2469
|
+
export interface IExternalLink {
|
|
2470
|
+
url?: (string | null);
|
|
2471
|
+
target?: (string | null);
|
|
2472
|
+
rel?: ($wrapper.wix.common.LinkRel[] | null);
|
|
2473
|
+
}
|
|
2474
|
+
export class ExternalLink implements IExternalLink {
|
|
2475
|
+
constructor(data?: IExternalLink);
|
|
2476
|
+
url?: (string | null);
|
|
2477
|
+
target?: (string | null);
|
|
2478
|
+
rel?: ($wrapper.wix.common.LinkRel[] | null);
|
|
2479
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2480
|
+
}
|
|
2481
|
+
export interface IPageLink {
|
|
2482
|
+
pageId?: (string | null);
|
|
2483
|
+
target?: (string | null);
|
|
2484
|
+
rel?: ($wrapper.wix.common.LinkRel[] | null);
|
|
2485
|
+
}
|
|
2486
|
+
export class PageLink implements IPageLink {
|
|
2487
|
+
constructor(data?: IPageLink);
|
|
2488
|
+
pageId?: (string | null);
|
|
2489
|
+
target?: (string | null);
|
|
2490
|
+
rel?: ($wrapper.wix.common.LinkRel[] | null);
|
|
2491
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2492
|
+
}
|
|
2493
|
+
export interface IAnchorLink {
|
|
2494
|
+
anchorName?: (string | null);
|
|
2495
|
+
anchorDataId?: (string | null);
|
|
2496
|
+
pageId?: (string | null);
|
|
2497
|
+
rel?: ($wrapper.wix.common.LinkRel[] | null);
|
|
2498
|
+
}
|
|
2499
|
+
export class AnchorLink implements IAnchorLink {
|
|
2500
|
+
constructor(data?: IAnchorLink);
|
|
2501
|
+
anchorName?: (string | null);
|
|
2502
|
+
anchorDataId?: (string | null);
|
|
2503
|
+
pageId?: (string | null);
|
|
2504
|
+
rel?: ($wrapper.wix.common.LinkRel[] | null);
|
|
2505
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2506
|
+
}
|
|
2507
|
+
export interface IDynamicPageLink {
|
|
2508
|
+
routerId?: (string | null);
|
|
2509
|
+
innerRoute?: (string | null);
|
|
2510
|
+
anchorDataId?: (string | null);
|
|
2511
|
+
rel?: ($wrapper.wix.common.LinkRel[] | null);
|
|
2512
|
+
}
|
|
2513
|
+
export class DynamicPageLink implements IDynamicPageLink {
|
|
2514
|
+
constructor(data?: IDynamicPageLink);
|
|
2515
|
+
routerId?: (string | null);
|
|
2516
|
+
innerRoute?: (string | null);
|
|
2517
|
+
anchorDataId?: (string | null);
|
|
2518
|
+
rel?: ($wrapper.wix.common.LinkRel[] | null);
|
|
2519
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2520
|
+
}
|
|
2521
|
+
export interface IDocumentLink {
|
|
2522
|
+
docId?: (string | null);
|
|
2523
|
+
name?: (string | null);
|
|
2524
|
+
indexable?: (boolean | null);
|
|
2525
|
+
}
|
|
2526
|
+
export class DocumentLink implements IDocumentLink {
|
|
2527
|
+
constructor(data?: IDocumentLink);
|
|
2528
|
+
docId?: (string | null);
|
|
2529
|
+
name?: (string | null);
|
|
2530
|
+
indexable?: (boolean | null);
|
|
2531
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2532
|
+
}
|
|
2533
|
+
export interface IEmailLink {
|
|
2534
|
+
recipient?: (string | null);
|
|
2535
|
+
subject?: (string | null);
|
|
2536
|
+
body?: (string | null);
|
|
2537
|
+
}
|
|
2538
|
+
export class EmailLink implements IEmailLink {
|
|
2539
|
+
constructor(data?: IEmailLink);
|
|
2540
|
+
recipient?: (string | null);
|
|
2541
|
+
subject?: (string | null);
|
|
2542
|
+
body?: (string | null);
|
|
2543
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2544
|
+
}
|
|
2545
|
+
export interface IPhoneLink {
|
|
2546
|
+
phoneNumber?: (string | null);
|
|
2547
|
+
}
|
|
2548
|
+
export class PhoneLink implements IPhoneLink {
|
|
2549
|
+
constructor(data?: IPhoneLink);
|
|
2550
|
+
phoneNumber?: (string | null);
|
|
2551
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2552
|
+
}
|
|
2553
|
+
export interface IAddressLink {
|
|
2554
|
+
address?: (string | null);
|
|
2555
|
+
}
|
|
2556
|
+
export class AddressLink implements IAddressLink {
|
|
2557
|
+
constructor(data?: IAddressLink);
|
|
2558
|
+
address?: (string | null);
|
|
2559
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2560
|
+
}
|
|
2561
|
+
export interface IWhatsAppLink {
|
|
2562
|
+
phoneNumber?: (string | null);
|
|
2563
|
+
}
|
|
2564
|
+
export class WhatsAppLink implements IWhatsAppLink {
|
|
2565
|
+
constructor(data?: IWhatsAppLink);
|
|
2566
|
+
phoneNumber?: (string | null);
|
|
2567
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2568
|
+
}
|
|
2569
|
+
export interface ITpaPageLink {
|
|
2570
|
+
itemTypeIdentifier?: (string | null);
|
|
2571
|
+
itemId?: (string | null);
|
|
2572
|
+
pageId?: (string | null);
|
|
2573
|
+
appDefinitionId?: (string | null);
|
|
2574
|
+
path?: (string | null);
|
|
2575
|
+
rel?: ($wrapper.wix.common.LinkRel[] | null);
|
|
2576
|
+
}
|
|
2577
|
+
export class TpaPageLink implements ITpaPageLink {
|
|
2578
|
+
constructor(data?: ITpaPageLink);
|
|
2579
|
+
itemTypeIdentifier?: (string | null);
|
|
2580
|
+
itemId?: (string | null);
|
|
2581
|
+
pageId?: (string | null);
|
|
2582
|
+
appDefinitionId?: (string | null);
|
|
2583
|
+
path?: (string | null);
|
|
2584
|
+
rel?: ($wrapper.wix.common.LinkRel[] | null);
|
|
2585
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2586
|
+
}
|
|
2587
|
+
export enum LinkRel {
|
|
2588
|
+
unknown_link_rel = "unknown_link_rel",
|
|
2589
|
+
nofollow = "nofollow",
|
|
2590
|
+
noopener = "noopener",
|
|
2591
|
+
noreferrer = "noreferrer",
|
|
2592
|
+
sponsored = "sponsored",
|
|
2593
|
+
}
|
|
2594
|
+
}
|
|
2595
|
+
export namespace dealerOfferEvents {
|
|
2596
|
+
export namespace api {
|
|
2597
|
+
export namespace v1 {
|
|
2598
|
+
export abstract class DealerOfferEventsService {
|
|
2599
|
+
abstract reportEvent(aspects: AspectStore, req: $wrapper.wix.dealerOfferEvents.api.v1.IReportEventRequest): Promise<$wrapper.wix.dealerOfferEvents.api.v1.IReportEventResponse>
|
|
2600
|
+
abstract listEventsSummary(aspects: AspectStore, req: $wrapper.wix.dealerOfferEvents.api.v1.IListEventsSummaryRequest): Promise<$wrapper.wix.dealerOfferEvents.api.v1.IListEventsSummaryResponse>
|
|
2601
|
+
abstract queryEvents(aspects: AspectStore, req: $wrapper.wix.dealerOfferEvents.api.v1.IQueryEventsRequest): Promise<$wrapper.wix.dealerOfferEvents.api.v1.IQueryEventsResponse>
|
|
2602
|
+
}
|
|
2603
|
+
export interface IReportEventRequest {
|
|
2604
|
+
event?: ($wrapper.wix.dealerOfferEvents.api.v1.IOfferEvent | null);
|
|
2605
|
+
deviantArtUserId?: (string | null);
|
|
2606
|
+
}
|
|
2607
|
+
export class ReportEventRequest implements IReportEventRequest {
|
|
2608
|
+
constructor(data?: IReportEventRequest);
|
|
2609
|
+
event?: ($wrapper.wix.dealerOfferEvents.api.v1.IOfferEvent | null);
|
|
2610
|
+
deviantArtUserId?: (string | null);
|
|
2611
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2612
|
+
}
|
|
2613
|
+
export interface IReportEventResponse {
|
|
2614
|
+
}
|
|
2615
|
+
export class ReportEventResponse implements IReportEventResponse {
|
|
2616
|
+
constructor(data?: IReportEventResponse);
|
|
2617
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2618
|
+
}
|
|
2619
|
+
export interface IListEventsSummaryRequest {
|
|
2620
|
+
offerIds?: (string[] | null);
|
|
2621
|
+
campaignIds?: (string[] | null);
|
|
2622
|
+
summaryFilter?: ($wrapper.wix.dealerOfferEvents.api.v1.ISummaryFilter | null);
|
|
2623
|
+
}
|
|
2624
|
+
export class ListEventsSummaryRequest implements IListEventsSummaryRequest {
|
|
2625
|
+
constructor(data?: IListEventsSummaryRequest);
|
|
2626
|
+
offerIds?: (string[] | null);
|
|
2627
|
+
campaignIds?: (string[] | null);
|
|
2628
|
+
summaryFilter?: ($wrapper.wix.dealerOfferEvents.api.v1.ISummaryFilter | null);
|
|
2629
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2630
|
+
}
|
|
2631
|
+
export interface ISummaryFilter {
|
|
2632
|
+
userId?: (string | null);
|
|
2633
|
+
targetAccountId?: (string | null);
|
|
2634
|
+
siteId?: (string | null);
|
|
2635
|
+
placementId?: (string | null);
|
|
2636
|
+
fieldMask?: (string[] | null);
|
|
2637
|
+
}
|
|
2638
|
+
export class SummaryFilter implements ISummaryFilter {
|
|
2639
|
+
constructor(data?: ISummaryFilter);
|
|
2640
|
+
userId?: (string | null);
|
|
2641
|
+
targetAccountId?: (string | null);
|
|
2642
|
+
siteId?: (string | null);
|
|
2643
|
+
placementId?: (string | null);
|
|
2644
|
+
fieldMask?: (string[] | null);
|
|
2645
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2646
|
+
}
|
|
2647
|
+
export interface IEventCounts {
|
|
2648
|
+
totalCount?: (number | null);
|
|
2649
|
+
}
|
|
2650
|
+
export class EventCounts implements IEventCounts {
|
|
2651
|
+
constructor(data?: IEventCounts);
|
|
2652
|
+
totalCount?: (number | null);
|
|
2653
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2654
|
+
}
|
|
2655
|
+
export interface IEventsSummary {
|
|
2656
|
+
offerId?: (string | null);
|
|
2657
|
+
campaignId?: (string | null);
|
|
2658
|
+
lastEvent?: ({ [k: string]: $wrapper.wix.dealerOfferEvents.api.v1.IOfferEvent } | null);
|
|
2659
|
+
eventsCount?: ({ [k: string]: $wrapper.wix.dealerOfferEvents.api.v1.IEventCounts } | null);
|
|
2660
|
+
}
|
|
2661
|
+
export class EventsSummary implements IEventsSummary {
|
|
2662
|
+
constructor(data?: IEventsSummary);
|
|
2663
|
+
offerId?: (string | null);
|
|
2664
|
+
campaignId?: (string | null);
|
|
2665
|
+
lastEvent?: ({ [k: string]: $wrapper.wix.dealerOfferEvents.api.v1.IOfferEvent });
|
|
2666
|
+
eventsCount?: ({ [k: string]: $wrapper.wix.dealerOfferEvents.api.v1.IEventCounts });
|
|
2667
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2668
|
+
}
|
|
2669
|
+
export interface IListEventsSummaryResponse {
|
|
2670
|
+
eventsSummary?: ($wrapper.wix.dealerOfferEvents.api.v1.IEventsSummary[] | null);
|
|
2671
|
+
campaignEventsSummary?: ($wrapper.wix.dealerOfferEvents.api.v1.IEventsSummary[] | null);
|
|
2672
|
+
}
|
|
2673
|
+
export class ListEventsSummaryResponse implements IListEventsSummaryResponse {
|
|
2674
|
+
constructor(data?: IListEventsSummaryResponse);
|
|
2675
|
+
eventsSummary?: ($wrapper.wix.dealerOfferEvents.api.v1.IEventsSummary[] | null);
|
|
2676
|
+
campaignEventsSummary?: ($wrapper.wix.dealerOfferEvents.api.v1.IEventsSummary[] | null);
|
|
2677
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2678
|
+
}
|
|
2679
|
+
export interface IQueryEventsRequest {
|
|
2680
|
+
query?: ($wrapper.wix.common.IQuery | null);
|
|
2681
|
+
}
|
|
2682
|
+
export class QueryEventsRequest implements IQueryEventsRequest {
|
|
2683
|
+
constructor(data?: IQueryEventsRequest);
|
|
2684
|
+
query?: ($wrapper.wix.common.IQuery | null);
|
|
2685
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2686
|
+
}
|
|
2687
|
+
export interface IQueryEventsResponse {
|
|
2688
|
+
events?: ($wrapper.wix.dealerOfferEvents.api.v1.IOfferEvent[] | null);
|
|
2689
|
+
pagingMetadata?: ($wrapper.wix.common.IPagingMetadata | null);
|
|
2690
|
+
}
|
|
2691
|
+
export class QueryEventsResponse implements IQueryEventsResponse {
|
|
2692
|
+
constructor(data?: IQueryEventsResponse);
|
|
2693
|
+
events?: ($wrapper.wix.dealerOfferEvents.api.v1.IOfferEvent[] | null);
|
|
2694
|
+
pagingMetadata?: ($wrapper.wix.common.IPagingMetadata | null);
|
|
2695
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2696
|
+
}
|
|
2697
|
+
export interface IOfferEvent {
|
|
2698
|
+
offerId?: (string | null);
|
|
2699
|
+
userId?: (string | null);
|
|
2700
|
+
targetAccountId?: (string | null);
|
|
2701
|
+
loggedInAccountId?: (string | null);
|
|
2702
|
+
siteId?: (string | null);
|
|
2703
|
+
eventId?: (string | null);
|
|
2704
|
+
createdAt?: (Date | null);
|
|
2705
|
+
type?: ($wrapper.wix.dealerOfferEvents.api.v1.EventType | null);
|
|
2706
|
+
agentMark?: ($wrapper.wix.dealerOfferEvents.api.v1.IAgentMarkedPayload | null);
|
|
2707
|
+
mainCtaClick?: ($wrapper.wix.dealerOfferEvents.api.v1.ICTAClickPayload | null);
|
|
2708
|
+
secondaryCtaClick?: ($wrapper.wix.dealerOfferEvents.api.v1.ICTAClickPayload | null);
|
|
2709
|
+
realEstateId?: (string | null);
|
|
2710
|
+
httpReferrer?: (string | null);
|
|
2711
|
+
assetId?: (string | null);
|
|
2712
|
+
platform?: ($wrapper.wix.dealerOfferEvents.api.v1.OfferEvent.PlatformEnum | null);
|
|
2713
|
+
}
|
|
2714
|
+
export class OfferEvent implements IOfferEvent {
|
|
2715
|
+
constructor(data?: IOfferEvent);
|
|
2716
|
+
offerId?: (string | null);
|
|
2717
|
+
userId?: (string | null);
|
|
2718
|
+
targetAccountId?: (string | null);
|
|
2719
|
+
loggedInAccountId?: (string | null);
|
|
2720
|
+
siteId?: (string | null);
|
|
2721
|
+
eventId?: (string | null);
|
|
2722
|
+
createdAt?: (Date | null);
|
|
2723
|
+
type?: ($wrapper.wix.dealerOfferEvents.api.v1.EventType | null);
|
|
2724
|
+
agentMark?: ($wrapper.wix.dealerOfferEvents.api.v1.IAgentMarkedPayload | null);
|
|
2725
|
+
mainCtaClick?: ($wrapper.wix.dealerOfferEvents.api.v1.ICTAClickPayload | null);
|
|
2726
|
+
secondaryCtaClick?: ($wrapper.wix.dealerOfferEvents.api.v1.ICTAClickPayload | null);
|
|
2727
|
+
realEstateId?: (string | null);
|
|
2728
|
+
httpReferrer?: (string | null);
|
|
2729
|
+
assetId?: (string | null);
|
|
2730
|
+
platform?: ($wrapper.wix.dealerOfferEvents.api.v1.OfferEvent.PlatformEnum | null);
|
|
2731
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2732
|
+
}
|
|
2733
|
+
export namespace OfferEvent {
|
|
2734
|
+
export enum PlatformEnum {
|
|
2735
|
+
UNKNOWN = "UNKNOWN",
|
|
2736
|
+
BUSINESS_MANAGER = "BUSINESS_MANAGER",
|
|
2737
|
+
EDITORX = "EDITORX",
|
|
2738
|
+
EDITOR = "EDITOR",
|
|
2739
|
+
ADI = "ADI",
|
|
2740
|
+
OWNER_APP = "OWNER_APP",
|
|
2741
|
+
BRANDED_APP = "BRANDED_APP",
|
|
2742
|
+
DEV_CENTER = "DEV_CENTER",
|
|
2743
|
+
}
|
|
2744
|
+
}
|
|
2745
|
+
export interface ICTAClickPayload {
|
|
2746
|
+
targetUrl?: (string | null);
|
|
2747
|
+
}
|
|
2748
|
+
export class CTAClickPayload implements ICTAClickPayload {
|
|
2749
|
+
constructor(data?: ICTAClickPayload);
|
|
2750
|
+
targetUrl?: (string | null);
|
|
2751
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2752
|
+
}
|
|
2753
|
+
export interface IAgentMarkedPayload {
|
|
2754
|
+
agentId?: (string | null);
|
|
2755
|
+
status?: ($wrapper.wix.dealerOfferEvents.api.v1.AgentMarkedPayload.AgentOfferStatusEnum | null);
|
|
2756
|
+
}
|
|
2757
|
+
export class AgentMarkedPayload implements IAgentMarkedPayload {
|
|
2758
|
+
constructor(data?: IAgentMarkedPayload);
|
|
2759
|
+
agentId?: (string | null);
|
|
2760
|
+
status?: ($wrapper.wix.dealerOfferEvents.api.v1.AgentMarkedPayload.AgentOfferStatusEnum | null);
|
|
2761
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2762
|
+
}
|
|
2763
|
+
export namespace AgentMarkedPayload {
|
|
2764
|
+
export enum AgentOfferStatusEnum {
|
|
2765
|
+
NOT_STARTED = "NOT_STARTED",
|
|
2766
|
+
SUGGESTED = "SUGGESTED",
|
|
2767
|
+
REJECTED = "REJECTED",
|
|
2768
|
+
REQUESTED = "REQUESTED",
|
|
2769
|
+
ALREADY_COMPLETED = "ALREADY_COMPLETED",
|
|
2770
|
+
NOT_RELEVANT = "NOT_RELEVANT",
|
|
2771
|
+
PAUSED = "PAUSED",
|
|
2772
|
+
}
|
|
2773
|
+
}
|
|
2774
|
+
export enum EventType {
|
|
2775
|
+
UNKNOWN = "UNKNOWN",
|
|
2776
|
+
VIEW = "VIEW",
|
|
2777
|
+
MAIN_CTA_CLICK = "MAIN_CTA_CLICK",
|
|
2778
|
+
SECONDARY_CTA_CLICK = "SECONDARY_CTA_CLICK",
|
|
2779
|
+
AGENT_MARK = "AGENT_MARK",
|
|
2780
|
+
SKIP = "SKIP",
|
|
2781
|
+
UNSKIP = "UNSKIP",
|
|
2782
|
+
CLOSE = "CLOSE",
|
|
2783
|
+
SHOW_LATER = "SHOW_LATER",
|
|
2784
|
+
}
|
|
2785
|
+
}
|
|
2786
|
+
}
|
|
2787
|
+
}
|
|
2788
|
+
export namespace http {
|
|
2789
|
+
export interface IInferFieldmask {
|
|
2790
|
+
from?: (string | null);
|
|
2791
|
+
fieldmask?: (string | null);
|
|
2792
|
+
snakeCaseCommaSeparatedMask?: (boolean | null);
|
|
2793
|
+
}
|
|
2794
|
+
export class InferFieldmask implements IInferFieldmask {
|
|
2795
|
+
constructor(data?: IInferFieldmask);
|
|
2796
|
+
from?: (string | null);
|
|
2797
|
+
fieldmask?: (string | null);
|
|
2798
|
+
snakeCaseCommaSeparatedMask?: (boolean | null);
|
|
2799
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2800
|
+
}
|
|
2801
|
+
}
|
|
2802
|
+
export namespace sdk {
|
|
2803
|
+
export interface ISignature {
|
|
2804
|
+
params?: (string[] | null);
|
|
2805
|
+
}
|
|
2806
|
+
export class Signature implements ISignature {
|
|
2807
|
+
constructor(data?: ISignature);
|
|
2808
|
+
params?: (string[] | null);
|
|
2809
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2810
|
+
}
|
|
2811
|
+
}
|
|
2812
|
+
export namespace spi {
|
|
2813
|
+
export interface IService {
|
|
2814
|
+
spiIdentifier?: (string | null);
|
|
2815
|
+
configMessage?: (string | null);
|
|
2816
|
+
hostService?: (string | null);
|
|
2817
|
+
businessManagerUrl?: (string | null);
|
|
2818
|
+
fqdn?: (string | null);
|
|
2819
|
+
appId?: (string | null);
|
|
2820
|
+
appendixFiles?: ($wrapper.wix.spi.IServiceAppendix[] | null);
|
|
2821
|
+
}
|
|
2822
|
+
export class Service implements IService {
|
|
2823
|
+
constructor(data?: IService);
|
|
2824
|
+
spiIdentifier?: (string | null);
|
|
2825
|
+
configMessage?: (string | null);
|
|
2826
|
+
hostService?: (string | null);
|
|
2827
|
+
businessManagerUrl?: (string | null);
|
|
2828
|
+
fqdn?: (string | null);
|
|
2829
|
+
appId?: (string | null);
|
|
2830
|
+
appendixFiles?: ($wrapper.wix.spi.IServiceAppendix[] | null);
|
|
2831
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2832
|
+
}
|
|
2833
|
+
export interface IServiceAppendix {
|
|
2834
|
+
type?: ($wrapper.wix.spi.ServiceAppendix.Type | null);
|
|
2835
|
+
path?: (string | null);
|
|
2836
|
+
}
|
|
2837
|
+
export class ServiceAppendix implements IServiceAppendix {
|
|
2838
|
+
constructor(data?: IServiceAppendix);
|
|
2839
|
+
type?: ($wrapper.wix.spi.ServiceAppendix.Type | null);
|
|
2840
|
+
path?: (string | null);
|
|
2841
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2842
|
+
}
|
|
2843
|
+
export namespace ServiceAppendix {
|
|
2844
|
+
export enum Type {
|
|
2845
|
+
UNKNOWN_APPENDIX_TYPE = "UNKNOWN_APPENDIX_TYPE",
|
|
2846
|
+
AUTO_VELO = "AUTO_VELO",
|
|
2847
|
+
DOCS_CONF = "DOCS_CONF",
|
|
2848
|
+
MULTILINGUAL = "MULTILINGUAL",
|
|
2849
|
+
SEARCH = "SEARCH",
|
|
2850
|
+
AUTO_SDK = "AUTO_SDK",
|
|
2851
|
+
}
|
|
2852
|
+
}
|
|
2853
|
+
export interface IError {
|
|
2854
|
+
name?: (string | null);
|
|
2855
|
+
httpCode?: ($wrapper.wix.spi.HttpStatusCode | null);
|
|
2856
|
+
applicationCode?: (string | null);
|
|
2857
|
+
data?: (string | null);
|
|
2858
|
+
}
|
|
2859
|
+
export class Error implements IError {
|
|
2860
|
+
constructor(data?: IError);
|
|
2861
|
+
name?: (string | null);
|
|
2862
|
+
httpCode?: ($wrapper.wix.spi.HttpStatusCode | null);
|
|
2863
|
+
applicationCode?: (string | null);
|
|
2864
|
+
data?: (string | null);
|
|
2865
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2866
|
+
}
|
|
2867
|
+
export interface IEvent {
|
|
2868
|
+
methodName?: (string | null);
|
|
2869
|
+
}
|
|
2870
|
+
export class Event implements IEvent {
|
|
2871
|
+
constructor(data?: IEvent);
|
|
2872
|
+
methodName?: (string | null);
|
|
2873
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2874
|
+
}
|
|
2875
|
+
export enum HttpStatusCode {
|
|
2876
|
+
UNKNOWN_ERROR = "UNKNOWN_ERROR",
|
|
2877
|
+
UNAUTHENTICATED = "UNAUTHENTICATED",
|
|
2878
|
+
INVALID_ARGUMENT = "INVALID_ARGUMENT",
|
|
2879
|
+
INTERNAL = "INTERNAL",
|
|
2880
|
+
RESOURCE_EXHAUSTED = "RESOURCE_EXHAUSTED",
|
|
2881
|
+
CANCELED = "CANCELED",
|
|
2882
|
+
NOT_FOUND = "NOT_FOUND",
|
|
2883
|
+
ALREADY_EXISTS = "ALREADY_EXISTS",
|
|
2884
|
+
FAILED_PRECONDITION = "FAILED_PRECONDITION",
|
|
2885
|
+
}
|
|
2886
|
+
}
|
|
2887
|
+
}
|
|
2888
|
+
export namespace google {
|
|
2889
|
+
export namespace protobuf {
|
|
2890
|
+
export interface IFileDescriptorSet {
|
|
2891
|
+
file?: ($wrapper.google.protobuf.IFileDescriptorProto[] | null);
|
|
2892
|
+
}
|
|
2893
|
+
export class FileDescriptorSet implements IFileDescriptorSet {
|
|
2894
|
+
constructor(data?: IFileDescriptorSet);
|
|
2895
|
+
file?: ($wrapper.google.protobuf.IFileDescriptorProto[] | null);
|
|
2896
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2897
|
+
}
|
|
2898
|
+
export interface IFileDescriptorProto {
|
|
2899
|
+
name?: (string | null);
|
|
2900
|
+
package?: (string | null);
|
|
2901
|
+
dependency?: (string[] | null);
|
|
2902
|
+
publicDependency?: (number[] | null);
|
|
2903
|
+
weakDependency?: (number[] | null);
|
|
2904
|
+
messageType?: ($wrapper.google.protobuf.IDescriptorProto[] | null);
|
|
2905
|
+
enumType?: ($wrapper.google.protobuf.IEnumDescriptorProto[] | null);
|
|
2906
|
+
service?: ($wrapper.google.protobuf.IServiceDescriptorProto[] | null);
|
|
2907
|
+
extension?: ($wrapper.google.protobuf.IFieldDescriptorProto[] | null);
|
|
2908
|
+
options?: ($wrapper.google.protobuf.IFileOptions | null);
|
|
2909
|
+
sourceCodeInfo?: ($wrapper.google.protobuf.ISourceCodeInfo | null);
|
|
2910
|
+
syntax?: (string | null);
|
|
2911
|
+
}
|
|
2912
|
+
export class FileDescriptorProto implements IFileDescriptorProto {
|
|
2913
|
+
constructor(data?: IFileDescriptorProto);
|
|
2914
|
+
name?: (string | null);
|
|
2915
|
+
package?: (string | null);
|
|
2916
|
+
dependency?: (string[] | null);
|
|
2917
|
+
publicDependency?: (number[] | null);
|
|
2918
|
+
weakDependency?: (number[] | null);
|
|
2919
|
+
messageType?: ($wrapper.google.protobuf.IDescriptorProto[] | null);
|
|
2920
|
+
enumType?: ($wrapper.google.protobuf.IEnumDescriptorProto[] | null);
|
|
2921
|
+
service?: ($wrapper.google.protobuf.IServiceDescriptorProto[] | null);
|
|
2922
|
+
extension?: ($wrapper.google.protobuf.IFieldDescriptorProto[] | null);
|
|
2923
|
+
options?: ($wrapper.google.protobuf.IFileOptions | null);
|
|
2924
|
+
sourceCodeInfo?: ($wrapper.google.protobuf.ISourceCodeInfo | null);
|
|
2925
|
+
syntax?: (string | null);
|
|
2926
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2927
|
+
}
|
|
2928
|
+
export interface IDescriptorProto {
|
|
2929
|
+
name?: (string | null);
|
|
2930
|
+
field?: ($wrapper.google.protobuf.IFieldDescriptorProto[] | null);
|
|
2931
|
+
extension?: ($wrapper.google.protobuf.IFieldDescriptorProto[] | null);
|
|
2932
|
+
nestedType?: ($wrapper.google.protobuf.IDescriptorProto[] | null);
|
|
2933
|
+
enumType?: ($wrapper.google.protobuf.IEnumDescriptorProto[] | null);
|
|
2934
|
+
extensionRange?: ($wrapper.google.protobuf.DescriptorProto.IExtensionRange[] | null);
|
|
2935
|
+
oneofDecl?: ($wrapper.google.protobuf.IOneofDescriptorProto[] | null);
|
|
2936
|
+
options?: ($wrapper.google.protobuf.IMessageOptions | null);
|
|
2937
|
+
reservedRange?: ($wrapper.google.protobuf.DescriptorProto.IReservedRange[] | null);
|
|
2938
|
+
reservedName?: (string[] | null);
|
|
2939
|
+
}
|
|
2940
|
+
export class DescriptorProto implements IDescriptorProto {
|
|
2941
|
+
constructor(data?: IDescriptorProto);
|
|
2942
|
+
name?: (string | null);
|
|
2943
|
+
field?: ($wrapper.google.protobuf.IFieldDescriptorProto[] | null);
|
|
2944
|
+
extension?: ($wrapper.google.protobuf.IFieldDescriptorProto[] | null);
|
|
2945
|
+
nestedType?: ($wrapper.google.protobuf.IDescriptorProto[] | null);
|
|
2946
|
+
enumType?: ($wrapper.google.protobuf.IEnumDescriptorProto[] | null);
|
|
2947
|
+
extensionRange?: ($wrapper.google.protobuf.DescriptorProto.IExtensionRange[] | null);
|
|
2948
|
+
oneofDecl?: ($wrapper.google.protobuf.IOneofDescriptorProto[] | null);
|
|
2949
|
+
options?: ($wrapper.google.protobuf.IMessageOptions | null);
|
|
2950
|
+
reservedRange?: ($wrapper.google.protobuf.DescriptorProto.IReservedRange[] | null);
|
|
2951
|
+
reservedName?: (string[] | null);
|
|
2952
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2953
|
+
}
|
|
2954
|
+
export namespace DescriptorProto {
|
|
2955
|
+
export interface IExtensionRange {
|
|
2956
|
+
start?: (number | null);
|
|
2957
|
+
end?: (number | null);
|
|
2958
|
+
options?: ($wrapper.google.protobuf.IExtensionRangeOptions | null);
|
|
2959
|
+
}
|
|
2960
|
+
export class ExtensionRange implements IExtensionRange {
|
|
2961
|
+
constructor(data?: IExtensionRange);
|
|
2962
|
+
start?: (number | null);
|
|
2963
|
+
end?: (number | null);
|
|
2964
|
+
options?: ($wrapper.google.protobuf.IExtensionRangeOptions | null);
|
|
2965
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2966
|
+
}
|
|
2967
|
+
export interface IReservedRange {
|
|
2968
|
+
start?: (number | null);
|
|
2969
|
+
end?: (number | null);
|
|
2970
|
+
}
|
|
2971
|
+
export class ReservedRange implements IReservedRange {
|
|
2972
|
+
constructor(data?: IReservedRange);
|
|
2973
|
+
start?: (number | null);
|
|
2974
|
+
end?: (number | null);
|
|
2975
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2976
|
+
}
|
|
2977
|
+
}
|
|
2978
|
+
export interface IExtensionRangeOptions {
|
|
2979
|
+
uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
|
|
2980
|
+
}
|
|
2981
|
+
export class ExtensionRangeOptions implements IExtensionRangeOptions {
|
|
2982
|
+
constructor(data?: IExtensionRangeOptions);
|
|
2983
|
+
uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
|
|
2984
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2985
|
+
}
|
|
2986
|
+
export interface IFieldDescriptorProto {
|
|
2987
|
+
name?: (string | null);
|
|
2988
|
+
number?: (number | null);
|
|
2989
|
+
label?: ($wrapper.google.protobuf.FieldDescriptorProto.Label | null);
|
|
2990
|
+
type?: ($wrapper.google.protobuf.FieldDescriptorProto.Type | null);
|
|
2991
|
+
typeName?: (string | null);
|
|
2992
|
+
extendee?: (string | null);
|
|
2993
|
+
defaultValue?: (string | null);
|
|
2994
|
+
oneofIndex?: (number | null);
|
|
2995
|
+
jsonName?: (string | null);
|
|
2996
|
+
options?: ($wrapper.google.protobuf.IFieldOptions | null);
|
|
2997
|
+
proto3Optional?: (boolean | null);
|
|
2998
|
+
}
|
|
2999
|
+
export class FieldDescriptorProto implements IFieldDescriptorProto {
|
|
3000
|
+
constructor(data?: IFieldDescriptorProto);
|
|
3001
|
+
name?: (string | null);
|
|
3002
|
+
number?: (number | null);
|
|
3003
|
+
label?: ($wrapper.google.protobuf.FieldDescriptorProto.Label | null);
|
|
3004
|
+
type?: ($wrapper.google.protobuf.FieldDescriptorProto.Type | null);
|
|
3005
|
+
typeName?: (string | null);
|
|
3006
|
+
extendee?: (string | null);
|
|
3007
|
+
defaultValue?: (string | null);
|
|
3008
|
+
oneofIndex?: (number | null);
|
|
3009
|
+
jsonName?: (string | null);
|
|
3010
|
+
options?: ($wrapper.google.protobuf.IFieldOptions | null);
|
|
3011
|
+
proto3Optional?: (boolean | null);
|
|
3012
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3013
|
+
}
|
|
3014
|
+
export namespace FieldDescriptorProto {
|
|
3015
|
+
export enum Type {
|
|
3016
|
+
TYPE_DOUBLE = "TYPE_DOUBLE",
|
|
3017
|
+
TYPE_FLOAT = "TYPE_FLOAT",
|
|
3018
|
+
TYPE_INT64 = "TYPE_INT64",
|
|
3019
|
+
TYPE_UINT64 = "TYPE_UINT64",
|
|
3020
|
+
TYPE_INT32 = "TYPE_INT32",
|
|
3021
|
+
TYPE_FIXED64 = "TYPE_FIXED64",
|
|
3022
|
+
TYPE_FIXED32 = "TYPE_FIXED32",
|
|
3023
|
+
TYPE_BOOL = "TYPE_BOOL",
|
|
3024
|
+
TYPE_STRING = "TYPE_STRING",
|
|
3025
|
+
TYPE_GROUP = "TYPE_GROUP",
|
|
3026
|
+
TYPE_MESSAGE = "TYPE_MESSAGE",
|
|
3027
|
+
TYPE_BYTES = "TYPE_BYTES",
|
|
3028
|
+
TYPE_UINT32 = "TYPE_UINT32",
|
|
3029
|
+
TYPE_ENUM = "TYPE_ENUM",
|
|
3030
|
+
TYPE_SFIXED32 = "TYPE_SFIXED32",
|
|
3031
|
+
TYPE_SFIXED64 = "TYPE_SFIXED64",
|
|
3032
|
+
TYPE_SINT32 = "TYPE_SINT32",
|
|
3033
|
+
TYPE_SINT64 = "TYPE_SINT64",
|
|
3034
|
+
}
|
|
3035
|
+
export enum Label {
|
|
3036
|
+
LABEL_OPTIONAL = "LABEL_OPTIONAL",
|
|
3037
|
+
LABEL_REQUIRED = "LABEL_REQUIRED",
|
|
3038
|
+
LABEL_REPEATED = "LABEL_REPEATED",
|
|
3039
|
+
}
|
|
3040
|
+
}
|
|
3041
|
+
export interface IOneofDescriptorProto {
|
|
3042
|
+
name?: (string | null);
|
|
3043
|
+
options?: ($wrapper.google.protobuf.IOneofOptions | null);
|
|
3044
|
+
}
|
|
3045
|
+
export class OneofDescriptorProto implements IOneofDescriptorProto {
|
|
3046
|
+
constructor(data?: IOneofDescriptorProto);
|
|
3047
|
+
name?: (string | null);
|
|
3048
|
+
options?: ($wrapper.google.protobuf.IOneofOptions | null);
|
|
3049
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3050
|
+
}
|
|
3051
|
+
export interface IEnumDescriptorProto {
|
|
3052
|
+
name?: (string | null);
|
|
3053
|
+
value?: ($wrapper.google.protobuf.IEnumValueDescriptorProto[] | null);
|
|
3054
|
+
options?: ($wrapper.google.protobuf.IEnumOptions | null);
|
|
3055
|
+
reservedRange?: ($wrapper.google.protobuf.EnumDescriptorProto.IEnumReservedRange[] | null);
|
|
3056
|
+
reservedName?: (string[] | null);
|
|
3057
|
+
}
|
|
3058
|
+
export class EnumDescriptorProto implements IEnumDescriptorProto {
|
|
3059
|
+
constructor(data?: IEnumDescriptorProto);
|
|
3060
|
+
name?: (string | null);
|
|
3061
|
+
value?: ($wrapper.google.protobuf.IEnumValueDescriptorProto[] | null);
|
|
3062
|
+
options?: ($wrapper.google.protobuf.IEnumOptions | null);
|
|
3063
|
+
reservedRange?: ($wrapper.google.protobuf.EnumDescriptorProto.IEnumReservedRange[] | null);
|
|
3064
|
+
reservedName?: (string[] | null);
|
|
3065
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3066
|
+
}
|
|
3067
|
+
export namespace EnumDescriptorProto {
|
|
3068
|
+
export interface IEnumReservedRange {
|
|
3069
|
+
start?: (number | null);
|
|
3070
|
+
end?: (number | null);
|
|
3071
|
+
}
|
|
3072
|
+
export class EnumReservedRange implements IEnumReservedRange {
|
|
3073
|
+
constructor(data?: IEnumReservedRange);
|
|
3074
|
+
start?: (number | null);
|
|
3075
|
+
end?: (number | null);
|
|
3076
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3077
|
+
}
|
|
3078
|
+
}
|
|
3079
|
+
export interface IEnumValueDescriptorProto {
|
|
3080
|
+
name?: (string | null);
|
|
3081
|
+
number?: (number | null);
|
|
3082
|
+
options?: ($wrapper.google.protobuf.IEnumValueOptions | null);
|
|
3083
|
+
}
|
|
3084
|
+
export class EnumValueDescriptorProto implements IEnumValueDescriptorProto {
|
|
3085
|
+
constructor(data?: IEnumValueDescriptorProto);
|
|
3086
|
+
name?: (string | null);
|
|
3087
|
+
number?: (number | null);
|
|
3088
|
+
options?: ($wrapper.google.protobuf.IEnumValueOptions | null);
|
|
3089
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3090
|
+
}
|
|
3091
|
+
export interface IServiceDescriptorProto {
|
|
3092
|
+
name?: (string | null);
|
|
3093
|
+
method?: ($wrapper.google.protobuf.IMethodDescriptorProto[] | null);
|
|
3094
|
+
options?: ($wrapper.google.protobuf.IServiceOptions | null);
|
|
3095
|
+
}
|
|
3096
|
+
export class ServiceDescriptorProto implements IServiceDescriptorProto {
|
|
3097
|
+
constructor(data?: IServiceDescriptorProto);
|
|
3098
|
+
name?: (string | null);
|
|
3099
|
+
method?: ($wrapper.google.protobuf.IMethodDescriptorProto[] | null);
|
|
3100
|
+
options?: ($wrapper.google.protobuf.IServiceOptions | null);
|
|
3101
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3102
|
+
}
|
|
3103
|
+
export interface IMethodDescriptorProto {
|
|
3104
|
+
name?: (string | null);
|
|
3105
|
+
inputType?: (string | null);
|
|
3106
|
+
outputType?: (string | null);
|
|
3107
|
+
options?: ($wrapper.google.protobuf.IMethodOptions | null);
|
|
3108
|
+
clientStreaming?: (boolean | null);
|
|
3109
|
+
serverStreaming?: (boolean | null);
|
|
3110
|
+
}
|
|
3111
|
+
export class MethodDescriptorProto implements IMethodDescriptorProto {
|
|
3112
|
+
constructor(data?: IMethodDescriptorProto);
|
|
3113
|
+
name?: (string | null);
|
|
3114
|
+
inputType?: (string | null);
|
|
3115
|
+
outputType?: (string | null);
|
|
3116
|
+
options?: ($wrapper.google.protobuf.IMethodOptions | null);
|
|
3117
|
+
clientStreaming?: (boolean | null);
|
|
3118
|
+
serverStreaming?: (boolean | null);
|
|
3119
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3120
|
+
}
|
|
3121
|
+
export interface IFileOptions {
|
|
3122
|
+
javaPackage?: (string | null);
|
|
3123
|
+
javaOuterClassname?: (string | null);
|
|
3124
|
+
javaMultipleFiles?: (boolean | null);
|
|
3125
|
+
javaGenerateEqualsAndHash?: (boolean | null);
|
|
3126
|
+
javaStringCheckUtf8?: (boolean | null);
|
|
3127
|
+
optimizeFor?: ($wrapper.google.protobuf.FileOptions.OptimizeMode | null);
|
|
3128
|
+
goPackage?: (string | null);
|
|
3129
|
+
ccGenericServices?: (boolean | null);
|
|
3130
|
+
javaGenericServices?: (boolean | null);
|
|
3131
|
+
pyGenericServices?: (boolean | null);
|
|
3132
|
+
phpGenericServices?: (boolean | null);
|
|
3133
|
+
deprecated?: (boolean | null);
|
|
3134
|
+
ccEnableArenas?: (boolean | null);
|
|
3135
|
+
objcClassPrefix?: (string | null);
|
|
3136
|
+
csharpNamespace?: (string | null);
|
|
3137
|
+
swiftPrefix?: (string | null);
|
|
3138
|
+
phpClassPrefix?: (string | null);
|
|
3139
|
+
phpNamespace?: (string | null);
|
|
3140
|
+
phpMetadataNamespace?: (string | null);
|
|
3141
|
+
rubyPackage?: (string | null);
|
|
3142
|
+
uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
|
|
3143
|
+
'.wix.graphql.namespace'?: (string | null);
|
|
3144
|
+
}
|
|
3145
|
+
export class FileOptions implements IFileOptions {
|
|
3146
|
+
constructor(data?: IFileOptions);
|
|
3147
|
+
javaPackage?: (string | null);
|
|
3148
|
+
javaOuterClassname?: (string | null);
|
|
3149
|
+
javaMultipleFiles?: (boolean | null);
|
|
3150
|
+
javaGenerateEqualsAndHash?: (boolean | null);
|
|
3151
|
+
javaStringCheckUtf8?: (boolean | null);
|
|
3152
|
+
optimizeFor?: ($wrapper.google.protobuf.FileOptions.OptimizeMode | null);
|
|
3153
|
+
goPackage?: (string | null);
|
|
3154
|
+
ccGenericServices?: (boolean | null);
|
|
3155
|
+
javaGenericServices?: (boolean | null);
|
|
3156
|
+
pyGenericServices?: (boolean | null);
|
|
3157
|
+
phpGenericServices?: (boolean | null);
|
|
3158
|
+
deprecated?: (boolean | null);
|
|
3159
|
+
ccEnableArenas?: (boolean | null);
|
|
3160
|
+
objcClassPrefix?: (string | null);
|
|
3161
|
+
csharpNamespace?: (string | null);
|
|
3162
|
+
swiftPrefix?: (string | null);
|
|
3163
|
+
phpClassPrefix?: (string | null);
|
|
3164
|
+
phpNamespace?: (string | null);
|
|
3165
|
+
phpMetadataNamespace?: (string | null);
|
|
3166
|
+
rubyPackage?: (string | null);
|
|
3167
|
+
uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
|
|
3168
|
+
'.wix.graphql.namespace'?: (string | null);
|
|
3169
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3170
|
+
}
|
|
3171
|
+
export namespace FileOptions {
|
|
3172
|
+
export enum OptimizeMode {
|
|
3173
|
+
SPEED = "SPEED",
|
|
3174
|
+
CODE_SIZE = "CODE_SIZE",
|
|
3175
|
+
LITE_RUNTIME = "LITE_RUNTIME",
|
|
3176
|
+
}
|
|
3177
|
+
}
|
|
3178
|
+
export interface IMessageOptions {
|
|
3179
|
+
messageSetWireFormat?: (boolean | null);
|
|
3180
|
+
noStandardDescriptorAccessor?: (boolean | null);
|
|
3181
|
+
deprecated?: (boolean | null);
|
|
3182
|
+
mapEntry?: (boolean | null);
|
|
3183
|
+
uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
|
|
3184
|
+
'.wix.api.actionPayload'?: ($wrapper.wix.api.IActionPayload | null);
|
|
3185
|
+
'.wix.api.decompositeOf'?: (string | null);
|
|
3186
|
+
'.wix.api.decompositionMinimumFields'?: ($wrapper.wix.api.IFieldSet[] | null);
|
|
3187
|
+
'.wix.api.unwrapArrayValue'?: (boolean | null);
|
|
3188
|
+
'.wix.api.messageDeprecated'?: ($wrapper.wix.api.IDeprecated | null);
|
|
3189
|
+
'.wix.api.unique'?: ($wrapper.wix.api.IUnique[] | null);
|
|
3190
|
+
'.wix.api.entity'?: ($wrapper.wix.api.IEntity | null);
|
|
3191
|
+
'.wix.api.domainEvent'?: ($wrapper.wix.api.IDomainEvent[] | null);
|
|
3192
|
+
}
|
|
3193
|
+
export class MessageOptions implements IMessageOptions {
|
|
3194
|
+
constructor(data?: IMessageOptions);
|
|
3195
|
+
messageSetWireFormat?: (boolean | null);
|
|
3196
|
+
noStandardDescriptorAccessor?: (boolean | null);
|
|
3197
|
+
deprecated?: (boolean | null);
|
|
3198
|
+
mapEntry?: (boolean | null);
|
|
3199
|
+
uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
|
|
3200
|
+
'.wix.api.actionPayload'?: ($wrapper.wix.api.IActionPayload | null);
|
|
3201
|
+
'.wix.api.decompositeOf'?: (string | null);
|
|
3202
|
+
'.wix.api.decompositionMinimumFields'?: ($wrapper.wix.api.IFieldSet[] | null);
|
|
3203
|
+
'.wix.api.unwrapArrayValue'?: (boolean | null);
|
|
3204
|
+
'.wix.api.messageDeprecated'?: ($wrapper.wix.api.IDeprecated | null);
|
|
3205
|
+
'.wix.api.unique'?: ($wrapper.wix.api.IUnique[] | null);
|
|
3206
|
+
'.wix.api.entity'?: ($wrapper.wix.api.IEntity | null);
|
|
3207
|
+
'.wix.api.domainEvent'?: ($wrapper.wix.api.IDomainEvent[] | null);
|
|
3208
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3209
|
+
}
|
|
3210
|
+
export interface IFieldOptions {
|
|
3211
|
+
ctype?: ($wrapper.google.protobuf.FieldOptions.CType | null);
|
|
3212
|
+
packed?: (boolean | null);
|
|
3213
|
+
jstype?: ($wrapper.google.protobuf.FieldOptions.JSType | null);
|
|
3214
|
+
lazy?: (boolean | null);
|
|
3215
|
+
deprecated?: (boolean | null);
|
|
3216
|
+
weak?: (boolean | null);
|
|
3217
|
+
uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
|
|
3218
|
+
'.wix.api.fieldExposure'?: ($wrapper.wix.api.Exposure | null);
|
|
3219
|
+
'.wix.api.fieldMaturity'?: ($wrapper.wix.api.Maturity | null);
|
|
3220
|
+
'.wix.api.pii'?: (boolean | null);
|
|
3221
|
+
'.wix.api.referencedEntity'?: (string | null);
|
|
3222
|
+
'.wix.api.referencedEntityField'?: ($wrapper.wix.api.IReferenceEntityField | null);
|
|
3223
|
+
'.wix.api.fieldDeprecated'?: ($wrapper.wix.api.IDeprecated | null);
|
|
3224
|
+
'.wix.api.translatable'?: ($wrapper.wix.api.ITranslatable | null);
|
|
3225
|
+
'.wix.api.sampleData'?: (string | null);
|
|
3226
|
+
'.wix.api.conditional'?: ($wrapper.wix.api.IConditional | null);
|
|
3227
|
+
'.wix.api.nullable'?: (boolean | null);
|
|
3228
|
+
'.wix.api.max'?: (number | null);
|
|
3229
|
+
'.wix.api.min'?: (number | null);
|
|
3230
|
+
'.wix.api.maxLength'?: (number | null);
|
|
3231
|
+
'.wix.api.minLength'?: (number | null);
|
|
3232
|
+
'.wix.api.exactLength'?: (number | null);
|
|
3233
|
+
'.wix.api.maxSize'?: (number | null);
|
|
3234
|
+
'.wix.api.minSize'?: (number | null);
|
|
3235
|
+
'.wix.api.exactSize'?: (number | null);
|
|
3236
|
+
'.wix.api.format'?: ($wrapper.wix.api.Format | null);
|
|
3237
|
+
'.wix.api.readOnly'?: (boolean | null);
|
|
3238
|
+
'.wix.api.immutable'?: (boolean | null);
|
|
3239
|
+
'.wix.api.writeOnly'?: (boolean | null);
|
|
3240
|
+
'.wix.api.decimalValue'?: ($wrapper.wix.api.IDecimalValueOptions | null);
|
|
3241
|
+
'.wix.api.customValidation'?: ($wrapper.wix.api.ICustomValidationError | null);
|
|
3242
|
+
'.wix.http.inferFieldmaskFrom'?: (string | null);
|
|
3243
|
+
'.wix.spi.baseUri'?: (boolean | null);
|
|
3244
|
+
}
|
|
3245
|
+
export class FieldOptions implements IFieldOptions {
|
|
3246
|
+
constructor(data?: IFieldOptions);
|
|
3247
|
+
ctype?: ($wrapper.google.protobuf.FieldOptions.CType | null);
|
|
3248
|
+
packed?: (boolean | null);
|
|
3249
|
+
jstype?: ($wrapper.google.protobuf.FieldOptions.JSType | null);
|
|
3250
|
+
lazy?: (boolean | null);
|
|
3251
|
+
deprecated?: (boolean | null);
|
|
3252
|
+
weak?: (boolean | null);
|
|
3253
|
+
uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
|
|
3254
|
+
'.wix.api.fieldExposure'?: ($wrapper.wix.api.Exposure | null);
|
|
3255
|
+
'.wix.api.fieldMaturity'?: ($wrapper.wix.api.Maturity | null);
|
|
3256
|
+
'.wix.api.pii'?: (boolean | null);
|
|
3257
|
+
'.wix.api.referencedEntity'?: (string | null);
|
|
3258
|
+
'.wix.api.referencedEntityField'?: ($wrapper.wix.api.IReferenceEntityField | null);
|
|
3259
|
+
'.wix.api.fieldDeprecated'?: ($wrapper.wix.api.IDeprecated | null);
|
|
3260
|
+
'.wix.api.translatable'?: ($wrapper.wix.api.ITranslatable | null);
|
|
3261
|
+
'.wix.api.sampleData'?: (string | null);
|
|
3262
|
+
'.wix.api.conditional'?: ($wrapper.wix.api.IConditional | null);
|
|
3263
|
+
'.wix.api.nullable'?: (boolean | null);
|
|
3264
|
+
'.wix.api.max'?: (number | null);
|
|
3265
|
+
'.wix.api.min'?: (number | null);
|
|
3266
|
+
'.wix.api.maxLength'?: (number | null);
|
|
3267
|
+
'.wix.api.minLength'?: (number | null);
|
|
3268
|
+
'.wix.api.exactLength'?: (number | null);
|
|
3269
|
+
'.wix.api.maxSize'?: (number | null);
|
|
3270
|
+
'.wix.api.minSize'?: (number | null);
|
|
3271
|
+
'.wix.api.exactSize'?: (number | null);
|
|
3272
|
+
'.wix.api.format'?: ($wrapper.wix.api.Format | null);
|
|
3273
|
+
'.wix.api.readOnly'?: (boolean | null);
|
|
3274
|
+
'.wix.api.immutable'?: (boolean | null);
|
|
3275
|
+
'.wix.api.writeOnly'?: (boolean | null);
|
|
3276
|
+
'.wix.api.decimalValue'?: ($wrapper.wix.api.IDecimalValueOptions | null);
|
|
3277
|
+
'.wix.api.customValidation'?: ($wrapper.wix.api.ICustomValidationError | null);
|
|
3278
|
+
'.wix.http.inferFieldmaskFrom'?: (string | null);
|
|
3279
|
+
'.wix.spi.baseUri'?: (boolean | null);
|
|
3280
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3281
|
+
}
|
|
3282
|
+
export namespace FieldOptions {
|
|
3283
|
+
export enum CType {
|
|
3284
|
+
STRING = "STRING",
|
|
3285
|
+
CORD = "CORD",
|
|
3286
|
+
STRING_PIECE = "STRING_PIECE",
|
|
3287
|
+
}
|
|
3288
|
+
export enum JSType {
|
|
3289
|
+
JS_NORMAL = "JS_NORMAL",
|
|
3290
|
+
JS_STRING = "JS_STRING",
|
|
3291
|
+
JS_NUMBER = "JS_NUMBER",
|
|
3292
|
+
}
|
|
3293
|
+
}
|
|
3294
|
+
export interface IOneofOptions {
|
|
3295
|
+
uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
|
|
3296
|
+
'.wix.api.alignedWithEnum'?: ($wrapper.wix.api.IAlignedWithEnum | null);
|
|
3297
|
+
}
|
|
3298
|
+
export class OneofOptions implements IOneofOptions {
|
|
3299
|
+
constructor(data?: IOneofOptions);
|
|
3300
|
+
uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
|
|
3301
|
+
'.wix.api.alignedWithEnum'?: ($wrapper.wix.api.IAlignedWithEnum | null);
|
|
3302
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3303
|
+
}
|
|
3304
|
+
export interface IEnumOptions {
|
|
3305
|
+
allowAlias?: (boolean | null);
|
|
3306
|
+
deprecated?: (boolean | null);
|
|
3307
|
+
uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
|
|
3308
|
+
}
|
|
3309
|
+
export class EnumOptions implements IEnumOptions {
|
|
3310
|
+
constructor(data?: IEnumOptions);
|
|
3311
|
+
allowAlias?: (boolean | null);
|
|
3312
|
+
deprecated?: (boolean | null);
|
|
3313
|
+
uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
|
|
3314
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3315
|
+
}
|
|
3316
|
+
export interface IEnumValueOptions {
|
|
3317
|
+
deprecated?: (boolean | null);
|
|
3318
|
+
uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
|
|
3319
|
+
'.wix.api.enumMaturity'?: ($wrapper.wix.api.Maturity | null);
|
|
3320
|
+
'.wix.api.enumExposure'?: ($wrapper.wix.api.Exposure | null);
|
|
3321
|
+
}
|
|
3322
|
+
export class EnumValueOptions implements IEnumValueOptions {
|
|
3323
|
+
constructor(data?: IEnumValueOptions);
|
|
3324
|
+
deprecated?: (boolean | null);
|
|
3325
|
+
uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
|
|
3326
|
+
'.wix.api.enumMaturity'?: ($wrapper.wix.api.Maturity | null);
|
|
3327
|
+
'.wix.api.enumExposure'?: ($wrapper.wix.api.Exposure | null);
|
|
3328
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3329
|
+
}
|
|
3330
|
+
export interface IServiceOptions {
|
|
3331
|
+
deprecated?: (boolean | null);
|
|
3332
|
+
uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
|
|
3333
|
+
'.wix.api.serviceMaturity'?: ($wrapper.wix.api.Maturity | null);
|
|
3334
|
+
'.wix.api.serviceExposure'?: ($wrapper.wix.api.Exposure | null);
|
|
3335
|
+
'.wix.api.serviceDeprecated'?: ($wrapper.wix.api.IDeprecated | null);
|
|
3336
|
+
'.wix.api.appendixFiles'?: ($wrapper.wix.api.IServiceAppendix[] | null);
|
|
3337
|
+
'.wix.api.errorDef'?: ($wrapper.wix.api.IError[] | null);
|
|
3338
|
+
'.wix.api.event'?: ($wrapper.wix.api.ICallback[] | null);
|
|
3339
|
+
'.wix.api.eventDeprecated'?: ($wrapper.wix.api.ICallbackDeprecation[] | null);
|
|
3340
|
+
'.wix.api.serviceEntity'?: ($wrapper.wix.api.IServiceEntity | null);
|
|
3341
|
+
'.wix.spi.service'?: ($wrapper.wix.spi.IService | null);
|
|
3342
|
+
'.wix.spi.event'?: ($wrapper.wix.spi.IEvent[] | null);
|
|
3343
|
+
}
|
|
3344
|
+
export class ServiceOptions implements IServiceOptions {
|
|
3345
|
+
constructor(data?: IServiceOptions);
|
|
3346
|
+
deprecated?: (boolean | null);
|
|
3347
|
+
uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
|
|
3348
|
+
'.wix.api.serviceMaturity'?: ($wrapper.wix.api.Maturity | null);
|
|
3349
|
+
'.wix.api.serviceExposure'?: ($wrapper.wix.api.Exposure | null);
|
|
3350
|
+
'.wix.api.serviceDeprecated'?: ($wrapper.wix.api.IDeprecated | null);
|
|
3351
|
+
'.wix.api.appendixFiles'?: ($wrapper.wix.api.IServiceAppendix[] | null);
|
|
3352
|
+
'.wix.api.errorDef'?: ($wrapper.wix.api.IError[] | null);
|
|
3353
|
+
'.wix.api.event'?: ($wrapper.wix.api.ICallback[] | null);
|
|
3354
|
+
'.wix.api.eventDeprecated'?: ($wrapper.wix.api.ICallbackDeprecation[] | null);
|
|
3355
|
+
'.wix.api.serviceEntity'?: ($wrapper.wix.api.IServiceEntity | null);
|
|
3356
|
+
'.wix.spi.service'?: ($wrapper.wix.spi.IService | null);
|
|
3357
|
+
'.wix.spi.event'?: ($wrapper.wix.spi.IEvent[] | null);
|
|
3358
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3359
|
+
}
|
|
3360
|
+
export interface IMethodOptions {
|
|
3361
|
+
deprecated?: (boolean | null);
|
|
3362
|
+
idempotencyLevel?: ($wrapper.google.protobuf.MethodOptions.IdempotencyLevel | null);
|
|
3363
|
+
uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
|
|
3364
|
+
'.wix.api.exposure'?: ($wrapper.wix.api.Exposure | null);
|
|
3365
|
+
'.wix.api.maturity'?: ($wrapper.wix.api.Maturity | null);
|
|
3366
|
+
'.wix.api.cacheable'?: ($wrapper.wix.api.ICacheSettings | null);
|
|
3367
|
+
'.wix.api.deprecated'?: ($wrapper.wix.api.IDeprecated | null);
|
|
3368
|
+
'.wix.api.crud'?: ($wrapper.wix.api.ICrud | null);
|
|
3369
|
+
'.wix.api.acceptsLinguist'?: (boolean | null);
|
|
3370
|
+
'.wix.api.error'?: ($wrapper.wix.api.IError[] | null);
|
|
3371
|
+
'.wix.api.customValidationError'?: ($wrapper.wix.api.ICustomValidationError[] | null);
|
|
3372
|
+
'.wix.api.inheritCrudErrors'?: ($wrapper.wix.api.IInheritCrudErrors[] | null);
|
|
3373
|
+
'.wix.api.errorRef'?: ($wrapper.wix.api.IErrorRef[] | null);
|
|
3374
|
+
'.wix.api.callback'?: ($wrapper.wix.api.ICallback[] | null);
|
|
3375
|
+
'.wix.api.emits'?: ($wrapper.wix.api.IEmits[] | null);
|
|
3376
|
+
'.wix.api.idempotency'?: ($wrapper.wix.api.IIdempotency | null);
|
|
3377
|
+
'.wix.api.permission'?: ($wrapper.wix.api.IPermissionRule | null);
|
|
3378
|
+
'.wix.api.additionalPermission'?: ($wrapper.wix.api.IPermissionRule[] | null);
|
|
3379
|
+
'.wix.api.sla'?: ($wrapper.wix.api.ISla | null);
|
|
3380
|
+
'.wix.api.subscription'?: ($wrapper.wix.api.ISubscription | null);
|
|
3381
|
+
'.wix.api.required'?: (string[] | null);
|
|
3382
|
+
'.wix.api.writable'?: (string[] | null);
|
|
3383
|
+
'.google.api.http'?: ($wrapper.google.api.IHttpRule | null);
|
|
3384
|
+
'.wix.http.inferFieldmask'?: ($wrapper.wix.http.IInferFieldmask | null);
|
|
3385
|
+
'.wix.sdk.signature'?: ($wrapper.wix.sdk.ISignature[] | null);
|
|
3386
|
+
'.wix.spi.error'?: ($wrapper.wix.spi.IError[] | null);
|
|
3387
|
+
'.wix.spi.featureToggle'?: (string | null);
|
|
3388
|
+
}
|
|
3389
|
+
export class MethodOptions implements IMethodOptions {
|
|
3390
|
+
constructor(data?: IMethodOptions);
|
|
3391
|
+
deprecated?: (boolean | null);
|
|
3392
|
+
idempotencyLevel?: ($wrapper.google.protobuf.MethodOptions.IdempotencyLevel | null);
|
|
3393
|
+
uninterpretedOption?: ($wrapper.google.protobuf.IUninterpretedOption[] | null);
|
|
3394
|
+
'.wix.api.exposure'?: ($wrapper.wix.api.Exposure | null);
|
|
3395
|
+
'.wix.api.maturity'?: ($wrapper.wix.api.Maturity | null);
|
|
3396
|
+
'.wix.api.cacheable'?: ($wrapper.wix.api.ICacheSettings | null);
|
|
3397
|
+
'.wix.api.deprecated'?: ($wrapper.wix.api.IDeprecated | null);
|
|
3398
|
+
'.wix.api.crud'?: ($wrapper.wix.api.ICrud | null);
|
|
3399
|
+
'.wix.api.acceptsLinguist'?: (boolean | null);
|
|
3400
|
+
'.wix.api.error'?: ($wrapper.wix.api.IError[] | null);
|
|
3401
|
+
'.wix.api.customValidationError'?: ($wrapper.wix.api.ICustomValidationError[] | null);
|
|
3402
|
+
'.wix.api.inheritCrudErrors'?: ($wrapper.wix.api.IInheritCrudErrors[] | null);
|
|
3403
|
+
'.wix.api.errorRef'?: ($wrapper.wix.api.IErrorRef[] | null);
|
|
3404
|
+
'.wix.api.callback'?: ($wrapper.wix.api.ICallback[] | null);
|
|
3405
|
+
'.wix.api.emits'?: ($wrapper.wix.api.IEmits[] | null);
|
|
3406
|
+
'.wix.api.idempotency'?: ($wrapper.wix.api.IIdempotency | null);
|
|
3407
|
+
'.wix.api.permission'?: ($wrapper.wix.api.IPermissionRule | null);
|
|
3408
|
+
'.wix.api.additionalPermission'?: ($wrapper.wix.api.IPermissionRule[] | null);
|
|
3409
|
+
'.wix.api.sla'?: ($wrapper.wix.api.ISla | null);
|
|
3410
|
+
'.wix.api.subscription'?: ($wrapper.wix.api.ISubscription | null);
|
|
3411
|
+
'.wix.api.required'?: (string[] | null);
|
|
3412
|
+
'.wix.api.writable'?: (string[] | null);
|
|
3413
|
+
'.google.api.http'?: ($wrapper.google.api.IHttpRule | null);
|
|
3414
|
+
'.wix.http.inferFieldmask'?: ($wrapper.wix.http.IInferFieldmask | null);
|
|
3415
|
+
'.wix.sdk.signature'?: ($wrapper.wix.sdk.ISignature[] | null);
|
|
3416
|
+
'.wix.spi.error'?: ($wrapper.wix.spi.IError[] | null);
|
|
3417
|
+
'.wix.spi.featureToggle'?: (string | null);
|
|
3418
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3419
|
+
}
|
|
3420
|
+
export namespace MethodOptions {
|
|
3421
|
+
export enum IdempotencyLevel {
|
|
3422
|
+
IDEMPOTENCY_UNKNOWN = "IDEMPOTENCY_UNKNOWN",
|
|
3423
|
+
NO_SIDE_EFFECTS = "NO_SIDE_EFFECTS",
|
|
3424
|
+
IDEMPOTENT = "IDEMPOTENT",
|
|
3425
|
+
}
|
|
3426
|
+
}
|
|
3427
|
+
export interface IUninterpretedOption {
|
|
3428
|
+
name?: ($wrapper.google.protobuf.UninterpretedOption.INamePart[] | null);
|
|
3429
|
+
identifierValue?: (string | null);
|
|
3430
|
+
positiveIntValue?: ((number | string) | null);
|
|
3431
|
+
negativeIntValue?: ((number | string) | null);
|
|
3432
|
+
doubleValue?: (number | null);
|
|
3433
|
+
stringValue?: (Uint8Array | null);
|
|
3434
|
+
aggregateValue?: (string | null);
|
|
3435
|
+
}
|
|
3436
|
+
export class UninterpretedOption implements IUninterpretedOption {
|
|
3437
|
+
constructor(data?: IUninterpretedOption);
|
|
3438
|
+
name?: ($wrapper.google.protobuf.UninterpretedOption.INamePart[] | null);
|
|
3439
|
+
identifierValue?: (string | null);
|
|
3440
|
+
positiveIntValue?: ((number | string) | null);
|
|
3441
|
+
negativeIntValue?: ((number | string) | null);
|
|
3442
|
+
doubleValue?: (number | null);
|
|
3443
|
+
stringValue?: (Uint8Array | null);
|
|
3444
|
+
aggregateValue?: (string | null);
|
|
3445
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3446
|
+
}
|
|
3447
|
+
export namespace UninterpretedOption {
|
|
3448
|
+
export interface INamePart {
|
|
3449
|
+
namePart?: (string | null);
|
|
3450
|
+
isExtension?: (boolean | null);
|
|
3451
|
+
}
|
|
3452
|
+
export class NamePart implements INamePart {
|
|
3453
|
+
constructor(data?: INamePart);
|
|
3454
|
+
namePart?: (string | null);
|
|
3455
|
+
isExtension?: (boolean | null);
|
|
3456
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3457
|
+
}
|
|
3458
|
+
}
|
|
3459
|
+
export interface ISourceCodeInfo {
|
|
3460
|
+
location?: ($wrapper.google.protobuf.SourceCodeInfo.ILocation[] | null);
|
|
3461
|
+
}
|
|
3462
|
+
export class SourceCodeInfo implements ISourceCodeInfo {
|
|
3463
|
+
constructor(data?: ISourceCodeInfo);
|
|
3464
|
+
location?: ($wrapper.google.protobuf.SourceCodeInfo.ILocation[] | null);
|
|
3465
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3466
|
+
}
|
|
3467
|
+
export namespace SourceCodeInfo {
|
|
3468
|
+
export interface ILocation {
|
|
3469
|
+
path?: (number[] | null);
|
|
3470
|
+
span?: (number[] | null);
|
|
3471
|
+
leadingComments?: (string | null);
|
|
3472
|
+
trailingComments?: (string | null);
|
|
3473
|
+
leadingDetachedComments?: (string[] | null);
|
|
3474
|
+
}
|
|
3475
|
+
export class Location implements ILocation {
|
|
3476
|
+
constructor(data?: ILocation);
|
|
3477
|
+
path?: (number[] | null);
|
|
3478
|
+
span?: (number[] | null);
|
|
3479
|
+
leadingComments?: (string | null);
|
|
3480
|
+
trailingComments?: (string | null);
|
|
3481
|
+
leadingDetachedComments?: (string[] | null);
|
|
3482
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3483
|
+
}
|
|
3484
|
+
}
|
|
3485
|
+
export interface IGeneratedCodeInfo {
|
|
3486
|
+
annotation?: ($wrapper.google.protobuf.GeneratedCodeInfo.IAnnotation[] | null);
|
|
3487
|
+
}
|
|
3488
|
+
export class GeneratedCodeInfo implements IGeneratedCodeInfo {
|
|
3489
|
+
constructor(data?: IGeneratedCodeInfo);
|
|
3490
|
+
annotation?: ($wrapper.google.protobuf.GeneratedCodeInfo.IAnnotation[] | null);
|
|
3491
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3492
|
+
}
|
|
3493
|
+
export namespace GeneratedCodeInfo {
|
|
3494
|
+
export interface IAnnotation {
|
|
3495
|
+
path?: (number[] | null);
|
|
3496
|
+
sourceFile?: (string | null);
|
|
3497
|
+
begin?: (number | null);
|
|
3498
|
+
end?: (number | null);
|
|
3499
|
+
}
|
|
3500
|
+
export class Annotation implements IAnnotation {
|
|
3501
|
+
constructor(data?: IAnnotation);
|
|
3502
|
+
path?: (number[] | null);
|
|
3503
|
+
sourceFile?: (string | null);
|
|
3504
|
+
begin?: (number | null);
|
|
3505
|
+
end?: (number | null);
|
|
3506
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3507
|
+
}
|
|
3508
|
+
}
|
|
3509
|
+
}
|
|
3510
|
+
export namespace api {
|
|
3511
|
+
export interface IHttp {
|
|
3512
|
+
rules?: ($wrapper.google.api.IHttpRule[] | null);
|
|
3513
|
+
}
|
|
3514
|
+
export class Http implements IHttp {
|
|
3515
|
+
constructor(data?: IHttp);
|
|
3516
|
+
rules?: ($wrapper.google.api.IHttpRule[] | null);
|
|
3517
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3518
|
+
}
|
|
3519
|
+
export interface IHttpRule {
|
|
3520
|
+
selector?: (string | null);
|
|
3521
|
+
get?: (string | null);
|
|
3522
|
+
put?: (string | null);
|
|
3523
|
+
post?: (string | null);
|
|
3524
|
+
delete?: (string | null);
|
|
3525
|
+
patch?: (string | null);
|
|
3526
|
+
custom?: ($wrapper.google.api.ICustomHttpPattern | null);
|
|
3527
|
+
body?: (string | null);
|
|
3528
|
+
additionalBindings?: ($wrapper.google.api.IHttpRule[] | null);
|
|
3529
|
+
}
|
|
3530
|
+
export class HttpRule implements IHttpRule {
|
|
3531
|
+
constructor(data?: IHttpRule);
|
|
3532
|
+
selector?: (string | null);
|
|
3533
|
+
get?: (string | null);
|
|
3534
|
+
put?: (string | null);
|
|
3535
|
+
post?: (string | null);
|
|
3536
|
+
delete?: (string | null);
|
|
3537
|
+
patch?: (string | null);
|
|
3538
|
+
custom?: ($wrapper.google.api.ICustomHttpPattern | null);
|
|
3539
|
+
body?: (string | null);
|
|
3540
|
+
additionalBindings?: ($wrapper.google.api.IHttpRule[] | null);
|
|
3541
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3542
|
+
}
|
|
3543
|
+
export interface ICustomHttpPattern {
|
|
3544
|
+
kind?: (string | null);
|
|
3545
|
+
path?: (string | null);
|
|
3546
|
+
}
|
|
3547
|
+
export class CustomHttpPattern implements ICustomHttpPattern {
|
|
3548
|
+
constructor(data?: ICustomHttpPattern);
|
|
3549
|
+
kind?: (string | null);
|
|
3550
|
+
path?: (string | null);
|
|
3551
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3552
|
+
}
|
|
3553
|
+
}
|
|
3554
|
+
}
|
|
3555
|
+
}
|
|
3556
|
+
|
|
3557
|
+
export = $wrapper;
|