@wix/l10n 1.198.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/README.md +139 -0
- package/dist/cjs/__tests__/address.spec.js +365 -0
- package/dist/cjs/__tests__/address.spec.js.map +1 -0
- package/dist/cjs/__tests__/currency.spec.js +225 -0
- package/dist/cjs/__tests__/currency.spec.js.map +1 -0
- package/dist/cjs/__tests__/spec-setup.js +2 -0
- package/dist/cjs/__tests__/spec-setup.js.map +1 -0
- package/dist/cjs/address/formats.js +210 -0
- package/dist/cjs/address/formats.js.map +1 -0
- package/dist/cjs/address/formatsOverrides.js +23 -0
- package/dist/cjs/address/formatsOverrides.js.map +1 -0
- package/dist/cjs/address/formatter.js +21 -0
- package/dist/cjs/address/formatter.js.map +1 -0
- package/dist/cjs/address/index.js +8 -0
- package/dist/cjs/address/index.js.map +1 -0
- package/dist/cjs/address/model.js +2 -0
- package/dist/cjs/address/model.js.map +1 -0
- package/dist/cjs/address/parser.js +267 -0
- package/dist/cjs/address/parser.js.map +1 -0
- package/dist/cjs/currency/currencyCode.js +2 -0
- package/dist/cjs/currency/currencyCode.js.map +1 -0
- package/dist/cjs/currency/factory.js +37 -0
- package/dist/cjs/currency/factory.js.map +1 -0
- package/dist/cjs/currency/formatter.js +28 -0
- package/dist/cjs/currency/formatter.js.map +1 -0
- package/dist/cjs/external-types.d.js +3 -0
- package/dist/cjs/external-types.d.js.map +1 -0
- package/dist/cjs/generated/proto-generated.d.js +4 -0
- package/dist/cjs/generated/proto-generated.d.js.map +1 -0
- package/dist/cjs/index.js +18 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/test-types.d.js +2 -0
- package/dist/cjs/test-types.d.js.map +1 -0
- package/dist/esm/__tests__/address.spec.js +464 -0
- package/dist/esm/__tests__/address.spec.js.map +1 -0
- package/dist/esm/__tests__/currency.spec.js +178 -0
- package/dist/esm/__tests__/currency.spec.js.map +1 -0
- package/dist/esm/__tests__/spec-setup.js +2 -0
- package/dist/esm/__tests__/spec-setup.js.map +1 -0
- package/dist/esm/address/formats.js +8 -0
- package/dist/esm/address/formats.js.map +1 -0
- package/dist/esm/address/formatsOverrides.js +18 -0
- package/dist/esm/address/formatsOverrides.js.map +1 -0
- package/dist/esm/address/formatter.js +11 -0
- package/dist/esm/address/formatter.js.map +1 -0
- package/dist/esm/address/index.js +2 -0
- package/dist/esm/address/index.js.map +1 -0
- package/dist/esm/address/model.js +2 -0
- package/dist/esm/address/model.js.map +1 -0
- package/dist/esm/address/parser.js +227 -0
- package/dist/esm/address/parser.js.map +1 -0
- package/dist/esm/currency/currencyCode.js +2 -0
- package/dist/esm/currency/currencyCode.js.map +1 -0
- package/dist/esm/currency/factory.js +31 -0
- package/dist/esm/currency/factory.js.map +1 -0
- package/dist/esm/currency/formatter.js +18 -0
- package/dist/esm/currency/formatter.js.map +1 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types/__tests__/address.spec.d.ts +2 -0
- package/dist/types/__tests__/address.spec.d.ts.map +1 -0
- package/dist/types/__tests__/currency.spec.d.ts +2 -0
- package/dist/types/__tests__/currency.spec.d.ts.map +1 -0
- package/dist/types/__tests__/spec-setup.d.ts +1 -0
- package/dist/types/__tests__/spec-setup.d.ts.map +1 -0
- package/dist/types/address/formats.d.ts +8 -0
- package/dist/types/address/formats.d.ts.map +1 -0
- package/dist/types/address/formatsOverrides.d.ts +5 -0
- package/dist/types/address/formatsOverrides.d.ts.map +1 -0
- package/dist/types/address/formatter.d.ts +10 -0
- package/dist/types/address/formatter.d.ts.map +1 -0
- package/dist/types/address/index.d.ts +4 -0
- package/dist/types/address/index.d.ts.map +1 -0
- package/dist/types/address/model.d.ts +21 -0
- package/dist/types/address/model.d.ts.map +1 -0
- package/dist/types/address/parser.d.ts +24 -0
- package/dist/types/address/parser.d.ts.map +1 -0
- package/dist/types/currency/currencyCode.d.ts +7 -0
- package/dist/types/currency/currencyCode.d.ts.map +1 -0
- package/dist/types/currency/factory.d.ts +15 -0
- package/dist/types/currency/factory.d.ts.map +1 -0
- package/dist/types/currency/formatter.d.ts +18 -0
- package/dist/types/currency/formatter.d.ts.map +1 -0
- package/dist/types/generated/proto-generated.d.ts +1198 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -0
- package/package.json +67 -0
|
@@ -0,0 +1,1198 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
declare namespace $wrapper {
|
|
4
|
+
export namespace wix {
|
|
5
|
+
export namespace common {
|
|
6
|
+
export interface Address {
|
|
7
|
+
country?: (string | null);
|
|
8
|
+
subdivision?: (string | null);
|
|
9
|
+
subdivisionIso31662?: (string | null);
|
|
10
|
+
city?: (string | null);
|
|
11
|
+
postalCode?: (string | null);
|
|
12
|
+
streetAddress?: ($wrapper.wix.common.StreetAddress | null);
|
|
13
|
+
addressLine?: (string | null);
|
|
14
|
+
addressLine2?: (string | null);
|
|
15
|
+
formattedAddress?: (string | null);
|
|
16
|
+
hint?: (string | null);
|
|
17
|
+
geocode?: ($wrapper.wix.common.AddressLocation | null);
|
|
18
|
+
countryFullname?: (string | null);
|
|
19
|
+
subdivisionFullname?: (string | null);
|
|
20
|
+
subdivisions?: ($wrapper.wix.common.Subdivision[] | null);
|
|
21
|
+
}
|
|
22
|
+
export interface Subdivision {
|
|
23
|
+
code?: (string | null);
|
|
24
|
+
name?: (string | null);
|
|
25
|
+
type?: ($wrapper.wix.common.Subdivision.SubdivisionType | null);
|
|
26
|
+
typeInfo?: (string | null);
|
|
27
|
+
standardDetails?: ($wrapper.wix.common.Subdivision.StandardDetails | null);
|
|
28
|
+
}
|
|
29
|
+
export namespace Subdivision {
|
|
30
|
+
export enum SubdivisionType {
|
|
31
|
+
UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
|
|
32
|
+
ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
|
|
33
|
+
ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
|
|
34
|
+
ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
|
|
35
|
+
ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
|
|
36
|
+
ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
|
|
37
|
+
COUNTRY = "COUNTRY",
|
|
38
|
+
}
|
|
39
|
+
export interface StandardDetails {
|
|
40
|
+
iso31662?: (string | null);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
export interface StreetAddress {
|
|
44
|
+
number?: (string | null);
|
|
45
|
+
name?: (string | null);
|
|
46
|
+
apt?: (string | null);
|
|
47
|
+
formattedAddressLine?: (string | null);
|
|
48
|
+
}
|
|
49
|
+
export interface AddressContactDetails {
|
|
50
|
+
fullName?: (string | null);
|
|
51
|
+
phone?: (string | null);
|
|
52
|
+
company?: (string | null);
|
|
53
|
+
email?: (string | null);
|
|
54
|
+
}
|
|
55
|
+
export interface FullAddressContactDetails {
|
|
56
|
+
firstName?: (string | null);
|
|
57
|
+
lastName?: (string | null);
|
|
58
|
+
fullName?: (string | null);
|
|
59
|
+
phone?: (string | null);
|
|
60
|
+
company?: (string | null);
|
|
61
|
+
email?: (string | null);
|
|
62
|
+
vatId?: ($wrapper.wix.common.VatId | null);
|
|
63
|
+
}
|
|
64
|
+
export interface VatId {
|
|
65
|
+
id?: (string | null);
|
|
66
|
+
type?: ($wrapper.wix.common.VatType | null);
|
|
67
|
+
}
|
|
68
|
+
export enum VatType {
|
|
69
|
+
UNSPECIFIED = "UNSPECIFIED",
|
|
70
|
+
CPF = "CPF",
|
|
71
|
+
CNPJ = "CNPJ",
|
|
72
|
+
}
|
|
73
|
+
export interface AddressLocation {
|
|
74
|
+
latitude?: (number | null);
|
|
75
|
+
longitude?: (number | null);
|
|
76
|
+
}
|
|
77
|
+
export interface BulkActionMetadata {
|
|
78
|
+
totalSuccesses?: (number | null);
|
|
79
|
+
totalFailures?: (number | null);
|
|
80
|
+
undetailedFailures?: (number | null);
|
|
81
|
+
}
|
|
82
|
+
export interface ItemMetadata {
|
|
83
|
+
id?: (string | null);
|
|
84
|
+
originalIndex?: (number | null);
|
|
85
|
+
success?: (boolean | null);
|
|
86
|
+
error?: ($wrapper.wix.api.ApplicationError | null);
|
|
87
|
+
}
|
|
88
|
+
export enum BulkActionType {
|
|
89
|
+
UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
|
|
90
|
+
INSERT = "INSERT",
|
|
91
|
+
UPDATE = "UPDATE",
|
|
92
|
+
DELETE = "DELETE",
|
|
93
|
+
}
|
|
94
|
+
export interface IdentificationData {
|
|
95
|
+
contactId?: (string | null);
|
|
96
|
+
identityType?: ($wrapper.wix.common.IdentificationData.IdentityType | null);
|
|
97
|
+
anonymousVisitorId?: (string | null);
|
|
98
|
+
memberId?: (string | null);
|
|
99
|
+
wixUserId?: (string | null);
|
|
100
|
+
appId?: (string | null);
|
|
101
|
+
}
|
|
102
|
+
export namespace IdentificationData {
|
|
103
|
+
export enum IdentityType {
|
|
104
|
+
UNKNOWN = "UNKNOWN",
|
|
105
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
106
|
+
MEMBER = "MEMBER",
|
|
107
|
+
WIX_USER = "WIX_USER",
|
|
108
|
+
APP = "APP",
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
export interface Image {
|
|
112
|
+
id?: (string | null);
|
|
113
|
+
url?: (string | null);
|
|
114
|
+
height?: (number | null);
|
|
115
|
+
width?: (number | null);
|
|
116
|
+
altText?: (string | null);
|
|
117
|
+
urlExpirationDate?: (Date | null);
|
|
118
|
+
filename?: (string | null);
|
|
119
|
+
sizeInBytes?: (string | null);
|
|
120
|
+
focalPoint?: ($wrapper.wix.common.FocalPoint | null);
|
|
121
|
+
}
|
|
122
|
+
export interface Video {
|
|
123
|
+
id?: (string | null);
|
|
124
|
+
url?: (string | null);
|
|
125
|
+
height?: (number | null);
|
|
126
|
+
width?: (number | null);
|
|
127
|
+
thumbnail?: ($wrapper.wix.common.Image | null);
|
|
128
|
+
}
|
|
129
|
+
export interface VideoV2 {
|
|
130
|
+
id?: (string | null);
|
|
131
|
+
url?: (string | null);
|
|
132
|
+
resolutions?: ($wrapper.wix.common.VideoResolution[] | null);
|
|
133
|
+
filename?: (string | null);
|
|
134
|
+
posters?: ($wrapper.wix.common.Image[] | null);
|
|
135
|
+
sizeInBytes?: (string | null);
|
|
136
|
+
urlExpirationDate?: (Date | null);
|
|
137
|
+
durationInMilliseconds?: (number | null);
|
|
138
|
+
title?: (string | null);
|
|
139
|
+
description?: (string | null);
|
|
140
|
+
height?: (number | null);
|
|
141
|
+
width?: (number | null);
|
|
142
|
+
}
|
|
143
|
+
export interface VideoResolution {
|
|
144
|
+
url?: (string | null);
|
|
145
|
+
height?: (number | null);
|
|
146
|
+
width?: (number | null);
|
|
147
|
+
poster?: ($wrapper.wix.common.Image | null);
|
|
148
|
+
format?: (string | null);
|
|
149
|
+
urlExpirationDate?: (Date | null);
|
|
150
|
+
sizeInBytes?: (string | null);
|
|
151
|
+
quality?: (string | null);
|
|
152
|
+
filename?: (string | null);
|
|
153
|
+
durationInSeconds?: (number | null);
|
|
154
|
+
durationInMilliseconds?: (number | null);
|
|
155
|
+
private?: (boolean | null);
|
|
156
|
+
assetKey?: (string | null);
|
|
157
|
+
}
|
|
158
|
+
export interface Audio {
|
|
159
|
+
id?: (string | null);
|
|
160
|
+
url?: (string | null);
|
|
161
|
+
urlExpirationDate?: (Date | null);
|
|
162
|
+
sizeInBytes?: (string | null);
|
|
163
|
+
filename?: (string | null);
|
|
164
|
+
duration?: (number | null);
|
|
165
|
+
private?: (boolean | null);
|
|
166
|
+
assetKey?: (string | null);
|
|
167
|
+
format?: (string | null);
|
|
168
|
+
quality?: (string | null);
|
|
169
|
+
}
|
|
170
|
+
export interface Document {
|
|
171
|
+
id?: (string | null);
|
|
172
|
+
url?: (string | null);
|
|
173
|
+
urlExpirationDate?: (Date | null);
|
|
174
|
+
sizeInBytes?: (string | null);
|
|
175
|
+
filename?: (string | null);
|
|
176
|
+
thumbnail?: ($wrapper.wix.common.Image | null);
|
|
177
|
+
}
|
|
178
|
+
export interface Model3D {
|
|
179
|
+
id?: (string | null);
|
|
180
|
+
url?: (string | null);
|
|
181
|
+
thumbnail?: ($wrapper.wix.common.Image | null);
|
|
182
|
+
altText?: (string | null);
|
|
183
|
+
urlExpirationDate?: (Date | null);
|
|
184
|
+
filename?: (string | null);
|
|
185
|
+
sizeInBytes?: (string | null);
|
|
186
|
+
}
|
|
187
|
+
export interface Archive {
|
|
188
|
+
id?: (string | null);
|
|
189
|
+
url?: (string | null);
|
|
190
|
+
urlExpirationDate?: (Date | null);
|
|
191
|
+
sizeInBytes?: (string | null);
|
|
192
|
+
filename?: (string | null);
|
|
193
|
+
}
|
|
194
|
+
export interface MediaItem {
|
|
195
|
+
image?: ($wrapper.wix.common.Image | null);
|
|
196
|
+
video?: ($wrapper.wix.common.Video | null);
|
|
197
|
+
document?: ($wrapper.wix.common.Document | null);
|
|
198
|
+
}
|
|
199
|
+
export interface FocalPoint {
|
|
200
|
+
x?: (number | null);
|
|
201
|
+
y?: (number | null);
|
|
202
|
+
height?: (number | null);
|
|
203
|
+
width?: (number | null);
|
|
204
|
+
}
|
|
205
|
+
export interface Money {
|
|
206
|
+
value?: (string | null);
|
|
207
|
+
currency?: (string | null);
|
|
208
|
+
formattedValue?: (string | null);
|
|
209
|
+
}
|
|
210
|
+
export interface PageUrl {
|
|
211
|
+
base?: (string | null);
|
|
212
|
+
path?: (string | null);
|
|
213
|
+
}
|
|
214
|
+
export interface PageUrlV2 {
|
|
215
|
+
relativePath?: (string | null);
|
|
216
|
+
url?: (string | null);
|
|
217
|
+
}
|
|
218
|
+
export interface Paging {
|
|
219
|
+
limit?: (number | null);
|
|
220
|
+
offset?: (number | null);
|
|
221
|
+
}
|
|
222
|
+
export interface CursorPaging {
|
|
223
|
+
limit?: (number | null);
|
|
224
|
+
cursor?: (string | null);
|
|
225
|
+
}
|
|
226
|
+
export interface PagingMetadata {
|
|
227
|
+
count?: (number | null);
|
|
228
|
+
offset?: (number | null);
|
|
229
|
+
total?: (number | null);
|
|
230
|
+
tooManyToCount?: (boolean | null);
|
|
231
|
+
hasNext?: (boolean | null);
|
|
232
|
+
}
|
|
233
|
+
export interface PagingMetadataV2 {
|
|
234
|
+
count?: (number | null);
|
|
235
|
+
offset?: (number | null);
|
|
236
|
+
total?: (number | null);
|
|
237
|
+
tooManyToCount?: (boolean | null);
|
|
238
|
+
cursors?: ($wrapper.wix.common.Cursors | null);
|
|
239
|
+
hasNext?: (boolean | null);
|
|
240
|
+
}
|
|
241
|
+
export interface CursorPagingMetadata {
|
|
242
|
+
count?: (number | null);
|
|
243
|
+
cursors?: ($wrapper.wix.common.Cursors | null);
|
|
244
|
+
hasNext?: (boolean | null);
|
|
245
|
+
total?: (number | null);
|
|
246
|
+
}
|
|
247
|
+
export interface Cursors {
|
|
248
|
+
next?: (string | null);
|
|
249
|
+
prev?: (string | null);
|
|
250
|
+
}
|
|
251
|
+
export interface Sorting {
|
|
252
|
+
fieldName?: (string | null);
|
|
253
|
+
order?: ($wrapper.wix.common.SortOrder | null);
|
|
254
|
+
selectItemsBy?: ({ [key: string]: any }[] | null);
|
|
255
|
+
}
|
|
256
|
+
export enum SortOrder {
|
|
257
|
+
ASC = "ASC",
|
|
258
|
+
DESC = "DESC",
|
|
259
|
+
}
|
|
260
|
+
export namespace spi {
|
|
261
|
+
export interface SpiBaseUri {
|
|
262
|
+
baseUri?: (string | null);
|
|
263
|
+
alternativeUris?: ($wrapper.wix.common.spi.SpiBaseUri.AlternativeUri[] | null);
|
|
264
|
+
}
|
|
265
|
+
export namespace SpiBaseUri {
|
|
266
|
+
export interface AlternativeUri {
|
|
267
|
+
methodName?: (string | null);
|
|
268
|
+
absoluteUri?: (string | null);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* this message is not directly used by any service,
|
|
273
|
+
* it exists to describe the expected parameters that SHOULD be provided to invoked Velo methods as part of open-platform.
|
|
274
|
+
* e.g. SPIs, event-handlers, etc..
|
|
275
|
+
* NOTE: this context object MUST be provided as the last argument in each Velo method signature.
|
|
276
|
+
*
|
|
277
|
+
* Example:
|
|
278
|
+
* ```typescript
|
|
279
|
+
* export function wixStores_onOrderCanceled({ event, metadata }: OrderCanceledEvent) {
|
|
280
|
+
* ...
|
|
281
|
+
* }
|
|
282
|
+
* ```
|
|
283
|
+
*/
|
|
284
|
+
export interface Context {
|
|
285
|
+
requestId?: (string | null);
|
|
286
|
+
currency?: (string | null);
|
|
287
|
+
identity?: ($wrapper.wix.common.spi.Context.IdentificationData | null);
|
|
288
|
+
languages?: (string[] | null);
|
|
289
|
+
instanceId?: (string | null);
|
|
290
|
+
appExtensionId?: (string | null);
|
|
291
|
+
appExtensionType?: (string | null);
|
|
292
|
+
functionName?: (string | null);
|
|
293
|
+
}
|
|
294
|
+
export namespace Context {
|
|
295
|
+
export interface IdentificationData {
|
|
296
|
+
identityType?: ($wrapper.wix.common.spi.Context.IdentificationData.IdentityType | null);
|
|
297
|
+
anonymousVisitorId?: (string | null);
|
|
298
|
+
memberId?: (string | null);
|
|
299
|
+
wixUserId?: (string | null);
|
|
300
|
+
appId?: (string | null);
|
|
301
|
+
}
|
|
302
|
+
export namespace IdentificationData {
|
|
303
|
+
export enum IdentityType {
|
|
304
|
+
UNKNOWN = "UNKNOWN",
|
|
305
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
306
|
+
MEMBER = "MEMBER",
|
|
307
|
+
WIX_USER = "WIX_USER",
|
|
308
|
+
APP = "APP",
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
export namespace tags {
|
|
314
|
+
export interface Tags {
|
|
315
|
+
privateTags?: ($wrapper.wix.common.tags.Tags.TagList | null);
|
|
316
|
+
tags?: ($wrapper.wix.common.tags.Tags.TagList | null);
|
|
317
|
+
}
|
|
318
|
+
export namespace Tags {
|
|
319
|
+
export interface TagList {
|
|
320
|
+
tagIds?: (string[] | null);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
export interface PublicTags {
|
|
324
|
+
tags?: ($wrapper.wix.common.tags.PublicTags.TagList | null);
|
|
325
|
+
}
|
|
326
|
+
export namespace PublicTags {
|
|
327
|
+
export interface TagList {
|
|
328
|
+
tagIds?: (string[] | null);
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
export interface WixLink {
|
|
333
|
+
external?: ($wrapper.wix.common.ExternalLink | null);
|
|
334
|
+
page?: ($wrapper.wix.common.PageLink | null);
|
|
335
|
+
anchor?: ($wrapper.wix.common.AnchorLink | null);
|
|
336
|
+
dynamicPage?: ($wrapper.wix.common.DynamicPageLink | null);
|
|
337
|
+
document?: ($wrapper.wix.common.DocumentLink | null);
|
|
338
|
+
email?: ($wrapper.wix.common.EmailLink | null);
|
|
339
|
+
phone?: ($wrapper.wix.common.PhoneLink | null);
|
|
340
|
+
address?: ($wrapper.wix.common.AddressLink | null);
|
|
341
|
+
whatsApp?: ($wrapper.wix.common.WhatsAppLink | null);
|
|
342
|
+
tpaPage?: ($wrapper.wix.common.TpaPageLink | null);
|
|
343
|
+
}
|
|
344
|
+
export interface ExternalLink {
|
|
345
|
+
url?: (string | null);
|
|
346
|
+
target?: (string | null);
|
|
347
|
+
rel?: ($wrapper.wix.common.LinkRel[] | null);
|
|
348
|
+
}
|
|
349
|
+
export interface PageLink {
|
|
350
|
+
pageId?: (string | null);
|
|
351
|
+
target?: (string | null);
|
|
352
|
+
rel?: ($wrapper.wix.common.LinkRel[] | null);
|
|
353
|
+
}
|
|
354
|
+
export interface AnchorLink {
|
|
355
|
+
anchorName?: (string | null);
|
|
356
|
+
anchorDataId?: (string | null);
|
|
357
|
+
pageId?: (string | null);
|
|
358
|
+
rel?: ($wrapper.wix.common.LinkRel[] | null);
|
|
359
|
+
}
|
|
360
|
+
export interface DynamicPageLink {
|
|
361
|
+
routerId?: (string | null);
|
|
362
|
+
innerRoute?: (string | null);
|
|
363
|
+
anchorDataId?: (string | null);
|
|
364
|
+
rel?: ($wrapper.wix.common.LinkRel[] | null);
|
|
365
|
+
}
|
|
366
|
+
export interface DocumentLink {
|
|
367
|
+
docId?: (string | null);
|
|
368
|
+
name?: (string | null);
|
|
369
|
+
indexable?: (boolean | null);
|
|
370
|
+
}
|
|
371
|
+
export interface EmailLink {
|
|
372
|
+
recipient?: (string | null);
|
|
373
|
+
subject?: (string | null);
|
|
374
|
+
body?: (string | null);
|
|
375
|
+
}
|
|
376
|
+
export interface PhoneLink {
|
|
377
|
+
phoneNumber?: (string | null);
|
|
378
|
+
}
|
|
379
|
+
export interface AddressLink {
|
|
380
|
+
address?: (string | null);
|
|
381
|
+
}
|
|
382
|
+
export interface WhatsAppLink {
|
|
383
|
+
phoneNumber?: (string | null);
|
|
384
|
+
}
|
|
385
|
+
export interface TpaPageLink {
|
|
386
|
+
itemTypeIdentifier?: (string | null);
|
|
387
|
+
itemId?: (string | null);
|
|
388
|
+
pageId?: (string | null);
|
|
389
|
+
appDefinitionId?: (string | null);
|
|
390
|
+
path?: (string | null);
|
|
391
|
+
rel?: ($wrapper.wix.common.LinkRel[] | null);
|
|
392
|
+
}
|
|
393
|
+
export enum LinkRel {
|
|
394
|
+
unknown_link_rel = "unknown_link_rel",
|
|
395
|
+
nofollow = "nofollow",
|
|
396
|
+
noopener = "noopener",
|
|
397
|
+
noreferrer = "noreferrer",
|
|
398
|
+
sponsored = "sponsored",
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
export namespace api {
|
|
402
|
+
export interface ReferenceEntityField {
|
|
403
|
+
path?: (string | null);
|
|
404
|
+
}
|
|
405
|
+
export interface CacheSettings {
|
|
406
|
+
maxAgeSeconds?: (number | null);
|
|
407
|
+
manual?: (boolean | null);
|
|
408
|
+
}
|
|
409
|
+
export interface FieldSet {
|
|
410
|
+
field?: (string[] | null);
|
|
411
|
+
}
|
|
412
|
+
export interface Deprecated {
|
|
413
|
+
replacedBy?: (string | null);
|
|
414
|
+
targetRemovalDate?: (string | null);
|
|
415
|
+
}
|
|
416
|
+
export interface Unique {
|
|
417
|
+
field?: (string[] | null);
|
|
418
|
+
}
|
|
419
|
+
export interface Crud {
|
|
420
|
+
method?: ($wrapper.wix.api.Crud.Method | null);
|
|
421
|
+
createOptions?: ($wrapper.wix.api.CreateMethodOptions | null);
|
|
422
|
+
getOptions?: ($wrapper.wix.api.GetItemMethodOptions | null);
|
|
423
|
+
updateOptions?: ($wrapper.wix.api.UpdateMethodOptions | null);
|
|
424
|
+
deleteOptions?: ($wrapper.wix.api.DeleteMethodOptions | null);
|
|
425
|
+
listOptions?: ($wrapper.wix.api.ListMethodOptions | null);
|
|
426
|
+
queryOptions?: ($wrapper.wix.api.QueryMethodOptions | null);
|
|
427
|
+
searchOptions?: ($wrapper.wix.api.SearchMethodOptions | null);
|
|
428
|
+
bulkCreateOptions?: ($wrapper.wix.api.BulkCreateMethodOptions | null);
|
|
429
|
+
bulkUpdateOptions?: ($wrapper.wix.api.BulkUpdateMethodOptions | null);
|
|
430
|
+
bulkUpdateByFilterOptions?: ($wrapper.wix.api.BulkUpdateByFilterMethodOptions | null);
|
|
431
|
+
bulkDeleteOptions?: ($wrapper.wix.api.BulkDeleteMethodOptions | null);
|
|
432
|
+
bulkDeleteByFilterOptions?: ($wrapper.wix.api.BulkDeleteByFilterMethodOptions | null);
|
|
433
|
+
upsertOptions?: ($wrapper.wix.api.UpsertMethodOptions | null);
|
|
434
|
+
bulkUpsertOptions?: ($wrapper.wix.api.BulkUpsertMethodOptions | null);
|
|
435
|
+
listDeletedOptions?: ($wrapper.wix.api.ListDeletedMethodOptions | null);
|
|
436
|
+
getDeletedOptions?: ($wrapper.wix.api.GetDeletedMethodOptions | null);
|
|
437
|
+
restoreFromTrashbinOptions?: ($wrapper.wix.api.RestoreFromTrashbinMethodOptions | null);
|
|
438
|
+
removeFromTrashbinOptions?: ($wrapper.wix.api.RemoveFromTrashbinMethodOptions | null);
|
|
439
|
+
countOptions?: ($wrapper.wix.api.CountOptions | null);
|
|
440
|
+
searchRelatedOptions?: ($wrapper.wix.api.SearchRelatedOptions | null);
|
|
441
|
+
updateExtendedFieldsOptions?: ($wrapper.wix.api.UpdateExtendedFieldsOptions | null);
|
|
442
|
+
customActionOptions?: ($wrapper.wix.api.CustomActionOptions | null);
|
|
443
|
+
bulkUpdateTagsOptions?: ($wrapper.wix.api.BulkUpdateTagsMethodOptions | null);
|
|
444
|
+
bulkUpdateTagsByFilterOptions?: ($wrapper.wix.api.BulkUpdateTagsByFilterMethodOptions | null);
|
|
445
|
+
}
|
|
446
|
+
export namespace Crud {
|
|
447
|
+
export enum Method {
|
|
448
|
+
UNKNOWN_METHOD = "UNKNOWN_METHOD",
|
|
449
|
+
CREATE = "CREATE",
|
|
450
|
+
GET_ITEM = "GET_ITEM",
|
|
451
|
+
UPDATE = "UPDATE",
|
|
452
|
+
DELETE = "DELETE",
|
|
453
|
+
UPSERT = "UPSERT",
|
|
454
|
+
LIST = "LIST",
|
|
455
|
+
QUERY = "QUERY",
|
|
456
|
+
SEARCH = "SEARCH",
|
|
457
|
+
BULK_CREATE = "BULK_CREATE",
|
|
458
|
+
BULK_UPDATE = "BULK_UPDATE",
|
|
459
|
+
BULK_UPDATE_BY_FILTER = "BULK_UPDATE_BY_FILTER",
|
|
460
|
+
BULK_DELETE = "BULK_DELETE",
|
|
461
|
+
BULK_DELETE_BY_FILTER = "BULK_DELETE_BY_FILTER",
|
|
462
|
+
BULK_UPSERT = "BULK_UPSERT",
|
|
463
|
+
LIST_DELETED = "LIST_DELETED",
|
|
464
|
+
GET_DELETED = "GET_DELETED",
|
|
465
|
+
RESTORE_FROM_TRASHBIN = "RESTORE_FROM_TRASHBIN",
|
|
466
|
+
REMOVE_FROM_TRASHBIN = "REMOVE_FROM_TRASHBIN",
|
|
467
|
+
COUNT = "COUNT",
|
|
468
|
+
SEARCH_RELATED = "SEARCH_RELATED",
|
|
469
|
+
UPDATE_EXTENDED_FIELDS = "UPDATE_EXTENDED_FIELDS",
|
|
470
|
+
BULK_UPDATE_TAGS = "BULK_UPDATE_TAGS",
|
|
471
|
+
BULK_UPDATE_TAGS_BY_FILTER = "BULK_UPDATE_TAGS_BY_FILTER",
|
|
472
|
+
CUSTOM_ACTION = "CUSTOM_ACTION",
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
export interface Paging {
|
|
476
|
+
type?: ($wrapper.wix.api.Paging.Type | null);
|
|
477
|
+
pagingMetadataField?: (string | null);
|
|
478
|
+
cursorPagingMetadataField?: (string | null);
|
|
479
|
+
offsetPagingMetadataField?: (string | null);
|
|
480
|
+
}
|
|
481
|
+
export namespace Paging {
|
|
482
|
+
export enum Type {
|
|
483
|
+
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
484
|
+
OFFSET = "OFFSET",
|
|
485
|
+
CURSOR = "CURSOR",
|
|
486
|
+
BOTH = "BOTH",
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
export interface CustomActionOptions {
|
|
490
|
+
readOperation?: (boolean | null);
|
|
491
|
+
wql?: ($wrapper.wix.api.WqlOptions | null);
|
|
492
|
+
}
|
|
493
|
+
export interface WqlOptions {
|
|
494
|
+
queryOptionsName?: (string | null);
|
|
495
|
+
filterField?: (string | null);
|
|
496
|
+
queryField?: (string | null);
|
|
497
|
+
searchField?: (string | null);
|
|
498
|
+
}
|
|
499
|
+
export interface CreateMethodOptions {
|
|
500
|
+
itemField?: (string | null);
|
|
501
|
+
}
|
|
502
|
+
export interface GetItemMethodOptions {
|
|
503
|
+
itemField?: (string | null);
|
|
504
|
+
idField?: (string | null);
|
|
505
|
+
}
|
|
506
|
+
export interface UpdateMethodOptions {
|
|
507
|
+
itemField?: (string | null);
|
|
508
|
+
fieldmaskField?: (string | null);
|
|
509
|
+
}
|
|
510
|
+
export interface UpsertMethodOptions {
|
|
511
|
+
itemField?: (string | null);
|
|
512
|
+
fieldmaskField?: (string | null);
|
|
513
|
+
}
|
|
514
|
+
export interface DeleteMethodOptions {
|
|
515
|
+
idField?: (string | null);
|
|
516
|
+
}
|
|
517
|
+
export interface ListMethodOptions {
|
|
518
|
+
idsField?: (string | null);
|
|
519
|
+
itemsField?: (string | null);
|
|
520
|
+
paging?: ($wrapper.wix.api.Paging | null);
|
|
521
|
+
meAliasableField?: (string[] | null);
|
|
522
|
+
}
|
|
523
|
+
export interface QueryMethodOptions {
|
|
524
|
+
queryField?: (string | null);
|
|
525
|
+
cursorQueryField?: (string | null);
|
|
526
|
+
offsetQueryField?: (string | null);
|
|
527
|
+
itemsField?: (string | null);
|
|
528
|
+
paging?: ($wrapper.wix.api.Paging | null);
|
|
529
|
+
wql?: ($wrapper.wix.api.Wql | null);
|
|
530
|
+
queryOptionsName?: (string | null);
|
|
531
|
+
meAliasableField?: (string[] | null);
|
|
532
|
+
}
|
|
533
|
+
export interface SearchMethodOptions {
|
|
534
|
+
searchField?: (string | null);
|
|
535
|
+
cursorSearchField?: (string | null);
|
|
536
|
+
offsetSearchField?: (string | null);
|
|
537
|
+
itemsField?: (string | null);
|
|
538
|
+
paging?: ($wrapper.wix.api.Paging | null);
|
|
539
|
+
wql?: ($wrapper.wix.api.Wql | null);
|
|
540
|
+
queryOptionsName?: (string | null);
|
|
541
|
+
meAliasableField?: (string[] | null);
|
|
542
|
+
search?: ($wrapper.wix.api.Search[] | null);
|
|
543
|
+
}
|
|
544
|
+
export interface BulkCreateMethodOptions {
|
|
545
|
+
itemField?: (string | null);
|
|
546
|
+
}
|
|
547
|
+
export interface BulkUpdateMethodOptions {
|
|
548
|
+
itemsField?: (string | null);
|
|
549
|
+
itemField?: (string | null);
|
|
550
|
+
fieldmaskField?: (string | null);
|
|
551
|
+
}
|
|
552
|
+
export interface BulkUpdateByFilterMethodOptions {
|
|
553
|
+
itemField?: (string | null);
|
|
554
|
+
fieldmaskField?: (string | null);
|
|
555
|
+
filterField?: (string | null);
|
|
556
|
+
queryOptionsName?: (string | null);
|
|
557
|
+
}
|
|
558
|
+
export interface BulkUpdateTagsMethodOptions {
|
|
559
|
+
idsField?: (string | null);
|
|
560
|
+
}
|
|
561
|
+
export interface BulkUpdateTagsByFilterMethodOptions {
|
|
562
|
+
filterField?: (string | null);
|
|
563
|
+
queryOptionsName?: (string | null);
|
|
564
|
+
}
|
|
565
|
+
export interface BulkUpsertMethodOptions {
|
|
566
|
+
itemField?: (string | null);
|
|
567
|
+
fieldmaskField?: (string | null);
|
|
568
|
+
}
|
|
569
|
+
export interface BulkDeleteMethodOptions {
|
|
570
|
+
idsField?: (string | null);
|
|
571
|
+
}
|
|
572
|
+
export interface BulkDeleteByFilterMethodOptions {
|
|
573
|
+
filterField?: (string | null);
|
|
574
|
+
queryOptionsName?: (string | null);
|
|
575
|
+
}
|
|
576
|
+
export interface ListDeletedMethodOptions {
|
|
577
|
+
idsField?: (string | null);
|
|
578
|
+
itemsField?: (string | null);
|
|
579
|
+
paging?: ($wrapper.wix.api.Paging | null);
|
|
580
|
+
meAliasableField?: (string[] | null);
|
|
581
|
+
}
|
|
582
|
+
export interface GetDeletedMethodOptions {
|
|
583
|
+
itemField?: (string | null);
|
|
584
|
+
idField?: (string | null);
|
|
585
|
+
}
|
|
586
|
+
export interface RestoreFromTrashbinMethodOptions {
|
|
587
|
+
itemField?: (string | null);
|
|
588
|
+
idField?: (string | null);
|
|
589
|
+
}
|
|
590
|
+
export interface RemoveFromTrashbinMethodOptions {
|
|
591
|
+
idField?: (string | null);
|
|
592
|
+
}
|
|
593
|
+
export interface CountOptions {
|
|
594
|
+
inheritWqlFrom?: (string | null);
|
|
595
|
+
queryOptionsName?: (string | null);
|
|
596
|
+
filterField?: (string | null);
|
|
597
|
+
countField?: (string | null);
|
|
598
|
+
}
|
|
599
|
+
export interface SearchRelatedOptions {
|
|
600
|
+
inheritWqlFrom?: (string | null);
|
|
601
|
+
queryOptionsName?: (string | null);
|
|
602
|
+
}
|
|
603
|
+
export interface UpdateExtendedFieldsOptions {
|
|
604
|
+
itemField?: (string | null);
|
|
605
|
+
}
|
|
606
|
+
export interface Wql {
|
|
607
|
+
operatorFieldSupport?: ($wrapper.wix.api.Wql.OperatorFieldSupport[] | null);
|
|
608
|
+
pattern?: ($wrapper.wix.api.Wql.OperatorFieldSupport[] | null);
|
|
609
|
+
validateQuery?: (boolean | null);
|
|
610
|
+
}
|
|
611
|
+
export namespace Wql {
|
|
612
|
+
export enum Operator {
|
|
613
|
+
ALL_APPLICABLE_OPERATORS = "ALL_APPLICABLE_OPERATORS",
|
|
614
|
+
EQ = "EQ",
|
|
615
|
+
GT = "GT",
|
|
616
|
+
GTE = "GTE",
|
|
617
|
+
IN = "IN",
|
|
618
|
+
LT = "LT",
|
|
619
|
+
LTE = "LTE",
|
|
620
|
+
NE = "NE",
|
|
621
|
+
NIN = "NIN",
|
|
622
|
+
BEGINS = "BEGINS",
|
|
623
|
+
EXISTS = "EXISTS",
|
|
624
|
+
HAS_ALL = "HAS_ALL",
|
|
625
|
+
ALL = "ALL",
|
|
626
|
+
HAS_SOME = "HAS_SOME",
|
|
627
|
+
ANY = "ANY",
|
|
628
|
+
EMPTY = "EMPTY",
|
|
629
|
+
MATCH_ALL = "MATCH_ALL",
|
|
630
|
+
MATCH_ITEMS = "MATCH_ITEMS",
|
|
631
|
+
ENHANCED_DATE = "ENHANCED_DATE",
|
|
632
|
+
}
|
|
633
|
+
export enum Sort {
|
|
634
|
+
NONE = "NONE",
|
|
635
|
+
ASC = "ASC",
|
|
636
|
+
DESC = "DESC",
|
|
637
|
+
BOTH = "BOTH",
|
|
638
|
+
}
|
|
639
|
+
export interface RequiredFields {
|
|
640
|
+
field?: (string[] | null);
|
|
641
|
+
requiredField?: ($wrapper.wix.api.Wql.RequiredFields.RequiredField[] | null);
|
|
642
|
+
}
|
|
643
|
+
export namespace RequiredFields {
|
|
644
|
+
export interface RequiredField {
|
|
645
|
+
path?: (string | null);
|
|
646
|
+
sort?: ($wrapper.wix.api.Wql.Sort | null);
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
export enum VirtualSubfields {
|
|
650
|
+
NO_VIRTUAL_SUBFIELDS = "NO_VIRTUAL_SUBFIELDS",
|
|
651
|
+
DATE = "DATE",
|
|
652
|
+
EMAIL = "EMAIL",
|
|
653
|
+
}
|
|
654
|
+
export interface OperatorFieldSupport {
|
|
655
|
+
operator?: ($wrapper.wix.api.Wql.Operator[] | null);
|
|
656
|
+
glob?: (string | null);
|
|
657
|
+
field?: (string[] | null);
|
|
658
|
+
sort?: ($wrapper.wix.api.Wql.Sort | null);
|
|
659
|
+
requiredFields?: ($wrapper.wix.api.Wql.RequiredFields[] | null);
|
|
660
|
+
maturity?: ($wrapper.wix.api.Maturity | null);
|
|
661
|
+
virtualSubfields?: ($wrapper.wix.api.Wql.VirtualSubfields | null);
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
export interface Search {
|
|
665
|
+
field?: (string[] | null);
|
|
666
|
+
maturity?: ($wrapper.wix.api.Maturity | null);
|
|
667
|
+
}
|
|
668
|
+
export interface Translatable {
|
|
669
|
+
name?: (string | null);
|
|
670
|
+
hidden?: (boolean | null);
|
|
671
|
+
grouping?: (string | null);
|
|
672
|
+
type?: ($wrapper.wix.api.Translatable.Type | null);
|
|
673
|
+
displayOnly?: (boolean | null);
|
|
674
|
+
}
|
|
675
|
+
export namespace Translatable {
|
|
676
|
+
export enum Type {
|
|
677
|
+
UNDEFINED_TYPE = "UNDEFINED_TYPE",
|
|
678
|
+
SHORT_TEXT = "SHORT_TEXT",
|
|
679
|
+
LONG_TEXT = "LONG_TEXT",
|
|
680
|
+
RICH_TEXT = "RICH_TEXT",
|
|
681
|
+
RICH_CONTENT_EDITOR = "RICH_CONTENT_EDITOR",
|
|
682
|
+
SELECTION = "SELECTION",
|
|
683
|
+
MULTI_SELECTION = "MULTI_SELECTION",
|
|
684
|
+
DOCUMENT = "DOCUMENT",
|
|
685
|
+
IMAGE = "IMAGE",
|
|
686
|
+
VIDEO = "VIDEO",
|
|
687
|
+
IMAGE_LINK = "IMAGE_LINK",
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
export interface Conditional {
|
|
691
|
+
permission?: (string | null);
|
|
692
|
+
requestedField?: (string | null);
|
|
693
|
+
}
|
|
694
|
+
export interface ServiceAppendix {
|
|
695
|
+
type?: ($wrapper.wix.api.ServiceAppendix.Type | null);
|
|
696
|
+
path?: (string | null);
|
|
697
|
+
}
|
|
698
|
+
export namespace ServiceAppendix {
|
|
699
|
+
export enum Type {
|
|
700
|
+
UNKNOWN_APPENDIX_TYPE = "UNKNOWN_APPENDIX_TYPE",
|
|
701
|
+
NILE = "NILE",
|
|
702
|
+
MESSAGE_BUS = "MESSAGE_BUS",
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
export enum Exposure {
|
|
706
|
+
PRIVATE = "PRIVATE",
|
|
707
|
+
INTERNAL = "INTERNAL",
|
|
708
|
+
PUBLIC = "PUBLIC",
|
|
709
|
+
}
|
|
710
|
+
export enum Maturity {
|
|
711
|
+
ALPHA = "ALPHA",
|
|
712
|
+
BETA = "BETA",
|
|
713
|
+
IA = "IA",
|
|
714
|
+
GA = "GA",
|
|
715
|
+
NOT_IMPLEMENTED = "NOT_IMPLEMENTED",
|
|
716
|
+
}
|
|
717
|
+
/**
|
|
718
|
+
* Decimal value validation rules.
|
|
719
|
+
* Based on java.math.BigDecimal, implies (wix.api.format) = DECIMAL_VALUE
|
|
720
|
+
*/
|
|
721
|
+
export interface DecimalValueOptions {
|
|
722
|
+
lte?: (string | null);
|
|
723
|
+
gte?: (string | null);
|
|
724
|
+
lt?: (string | null);
|
|
725
|
+
gt?: (string | null);
|
|
726
|
+
maxScale?: (number | null);
|
|
727
|
+
}
|
|
728
|
+
export interface AlignedWithEnum {
|
|
729
|
+
field?: (string | null);
|
|
730
|
+
suffix?: (string | null);
|
|
731
|
+
}
|
|
732
|
+
export enum Format {
|
|
733
|
+
EMAIL = "EMAIL",
|
|
734
|
+
HOSTNAME = "HOSTNAME",
|
|
735
|
+
IPV4 = "IPV4",
|
|
736
|
+
IPV6 = "IPV6",
|
|
737
|
+
URI = "URI",
|
|
738
|
+
WEB_URL = "WEB_URL",
|
|
739
|
+
PHONE = "PHONE",
|
|
740
|
+
CREDIT_CARD = "CREDIT_CARD",
|
|
741
|
+
GUID = "GUID",
|
|
742
|
+
COUNTRY = "COUNTRY",
|
|
743
|
+
LANGUAGE = "LANGUAGE",
|
|
744
|
+
DECIMAL_VALUE = "DECIMAL_VALUE",
|
|
745
|
+
CURRENCY = "CURRENCY",
|
|
746
|
+
LANGUAGE_TAG = "LANGUAGE_TAG",
|
|
747
|
+
COLOR_HEX = "COLOR_HEX",
|
|
748
|
+
LOCAL_DATE = "LOCAL_DATE",
|
|
749
|
+
LOCAL_TIME = "LOCAL_TIME",
|
|
750
|
+
LOCAL_DATE_TIME = "LOCAL_DATE_TIME",
|
|
751
|
+
URL_SLUG = "URL_SLUG",
|
|
752
|
+
SYSTEM_SLUG = "SYSTEM_SLUG",
|
|
753
|
+
SECURE_WEB_URL = "SECURE_WEB_URL",
|
|
754
|
+
SUBDIVISION = "SUBDIVISION",
|
|
755
|
+
}
|
|
756
|
+
/**
|
|
757
|
+
* ApplicationError: named Error for backwards compatibility
|
|
758
|
+
*/
|
|
759
|
+
export interface Error {
|
|
760
|
+
httpCode?: ($wrapper.wix.api.StatusCodes.HttpStatusCode | null);
|
|
761
|
+
applicationCode?: (string | null);
|
|
762
|
+
data?: (string | null);
|
|
763
|
+
}
|
|
764
|
+
/**
|
|
765
|
+
* Method-level reference to a service-level error.
|
|
766
|
+
*/
|
|
767
|
+
export interface ErrorRef {
|
|
768
|
+
applicationCode?: (string | null);
|
|
769
|
+
}
|
|
770
|
+
/**
|
|
771
|
+
* CustomValidationError: field level validation, only declare when you have specific validation in your service that is not coming from infra
|
|
772
|
+
*/
|
|
773
|
+
export interface CustomValidationError {
|
|
774
|
+
ruleName?: (string | null);
|
|
775
|
+
data?: (string | null);
|
|
776
|
+
}
|
|
777
|
+
/**
|
|
778
|
+
* InheritCrudErrors: does this method throw standard crud errors?
|
|
779
|
+
*/
|
|
780
|
+
export interface InheritCrudErrors {
|
|
781
|
+
method?: ($wrapper.wix.api.Crud.Method | null);
|
|
782
|
+
}
|
|
783
|
+
export interface StatusCodes {
|
|
784
|
+
}
|
|
785
|
+
export namespace StatusCodes {
|
|
786
|
+
export enum HttpStatusCode {
|
|
787
|
+
OK = "OK",
|
|
788
|
+
UNAUTHENTICATED = "UNAUTHENTICATED",
|
|
789
|
+
PERMISSION_DENIED = "PERMISSION_DENIED",
|
|
790
|
+
INVALID_ARGUMENT = "INVALID_ARGUMENT",
|
|
791
|
+
NOT_FOUND = "NOT_FOUND",
|
|
792
|
+
INTERNAL = "INTERNAL",
|
|
793
|
+
UNAVAILABLE = "UNAVAILABLE",
|
|
794
|
+
RESOURCE_EXHAUSTED = "RESOURCE_EXHAUSTED",
|
|
795
|
+
CANCELED = "CANCELED",
|
|
796
|
+
ALREADY_EXISTS = "ALREADY_EXISTS",
|
|
797
|
+
FAILED_PRECONDITION = "FAILED_PRECONDITION",
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
export interface Details {
|
|
801
|
+
applicationError?: ($wrapper.wix.api.ApplicationError | null);
|
|
802
|
+
validationError?: ($wrapper.wix.api.ValidationError | null);
|
|
803
|
+
systemError?: ($wrapper.wix.api.SystemError | null);
|
|
804
|
+
tracing?: ({ [k: string]: string } | null);
|
|
805
|
+
}
|
|
806
|
+
export interface ApplicationError {
|
|
807
|
+
code?: (string | null);
|
|
808
|
+
description?: (string | null);
|
|
809
|
+
data?: ({ [key: string]: any } | null);
|
|
810
|
+
}
|
|
811
|
+
export interface SystemError {
|
|
812
|
+
errorCode?: (string | null);
|
|
813
|
+
}
|
|
814
|
+
/**
|
|
815
|
+
* example result:
|
|
816
|
+
* {
|
|
817
|
+
* "fieldViolations": [
|
|
818
|
+
* {
|
|
819
|
+
* "field": "fieldA",
|
|
820
|
+
* "description": "invalid music note. supported notes: [do,re,mi,fa,sol,la,ti]",
|
|
821
|
+
* "violatedRule": "OTHER",
|
|
822
|
+
* "ruleName": "INVALID_NOTE",
|
|
823
|
+
* "data": {
|
|
824
|
+
* "value": "FI"
|
|
825
|
+
* }
|
|
826
|
+
* },
|
|
827
|
+
* {
|
|
828
|
+
* "field": "fieldB",
|
|
829
|
+
* "description": "field value out of range. supported range: [0-20]",
|
|
830
|
+
* "violatedRule": "MAX",
|
|
831
|
+
* "data": {
|
|
832
|
+
* "threshold": 20
|
|
833
|
+
* }
|
|
834
|
+
* },
|
|
835
|
+
* {
|
|
836
|
+
* "field": "fieldC",
|
|
837
|
+
* "description": "invalid phone number. provide a valid phone number of size: [7-12], supported characters: [0-9, +, -, (, )]",
|
|
838
|
+
* "violatedRule": "FORMAT",
|
|
839
|
+
* "data": {
|
|
840
|
+
* "type": "PHONE"
|
|
841
|
+
* }
|
|
842
|
+
* }
|
|
843
|
+
* ]
|
|
844
|
+
* }
|
|
845
|
+
*/
|
|
846
|
+
export interface ValidationError {
|
|
847
|
+
fieldViolations?: ($wrapper.wix.api.ValidationError.FieldViolation[] | null);
|
|
848
|
+
}
|
|
849
|
+
export namespace ValidationError {
|
|
850
|
+
export enum RuleType {
|
|
851
|
+
VALIDATION = "VALIDATION",
|
|
852
|
+
OTHER = "OTHER",
|
|
853
|
+
MAX = "MAX",
|
|
854
|
+
MIN = "MIN",
|
|
855
|
+
MAX_LENGTH = "MAX_LENGTH",
|
|
856
|
+
MIN_LENGTH = "MIN_LENGTH",
|
|
857
|
+
MAX_SIZE = "MAX_SIZE",
|
|
858
|
+
MIN_SIZE = "MIN_SIZE",
|
|
859
|
+
FORMAT = "FORMAT",
|
|
860
|
+
DECIMAL_LTE = "DECIMAL_LTE",
|
|
861
|
+
DECIMAL_GTE = "DECIMAL_GTE",
|
|
862
|
+
DECIMAL_LT = "DECIMAL_LT",
|
|
863
|
+
DECIMAL_GT = "DECIMAL_GT",
|
|
864
|
+
DECIMAL_MAX_SCALE = "DECIMAL_MAX_SCALE",
|
|
865
|
+
INVALID_ENUM_VALUE = "INVALID_ENUM_VALUE",
|
|
866
|
+
REQUIRED_FIELD = "REQUIRED_FIELD",
|
|
867
|
+
FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED",
|
|
868
|
+
ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT",
|
|
869
|
+
EXACT_LENGTH = "EXACT_LENGTH",
|
|
870
|
+
EXACT_SIZE = "EXACT_SIZE",
|
|
871
|
+
REQUIRED_ONE_OF_FIELD = "REQUIRED_ONE_OF_FIELD",
|
|
872
|
+
}
|
|
873
|
+
export interface FieldViolation {
|
|
874
|
+
field?: (string | null);
|
|
875
|
+
description?: (string | null);
|
|
876
|
+
violatedRule?: ($wrapper.wix.api.ValidationError.RuleType | null);
|
|
877
|
+
ruleName?: (string | null);
|
|
878
|
+
data?: ({ [key: string]: any } | null);
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
export interface LimitRuleInt32DataPayload {
|
|
882
|
+
threshold?: (number | null);
|
|
883
|
+
}
|
|
884
|
+
export interface LimitRuleDoubleDataPayload {
|
|
885
|
+
threshold?: (number | null);
|
|
886
|
+
}
|
|
887
|
+
export interface LimitRuleStringDataPayload {
|
|
888
|
+
threshold?: (string | null);
|
|
889
|
+
}
|
|
890
|
+
export interface FormatRuleDataPayload {
|
|
891
|
+
type?: (string | null);
|
|
892
|
+
}
|
|
893
|
+
export interface EnumRuleDataPayload {
|
|
894
|
+
supported?: (string[] | null);
|
|
895
|
+
}
|
|
896
|
+
export interface RequiredOneOfRuleDataPayload {
|
|
897
|
+
supported?: (string[] | null);
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
export namespace google {
|
|
902
|
+
export namespace protobuf {
|
|
903
|
+
export interface FileDescriptorSet {
|
|
904
|
+
file?: ($wrapper.google.protobuf.FileDescriptorProto[] | null);
|
|
905
|
+
}
|
|
906
|
+
export interface FileDescriptorProto {
|
|
907
|
+
name?: (string | null);
|
|
908
|
+
package?: (string | null);
|
|
909
|
+
dependency?: (string[] | null);
|
|
910
|
+
publicDependency?: (number[] | null);
|
|
911
|
+
weakDependency?: (number[] | null);
|
|
912
|
+
messageType?: ($wrapper.google.protobuf.DescriptorProto[] | null);
|
|
913
|
+
enumType?: ($wrapper.google.protobuf.EnumDescriptorProto[] | null);
|
|
914
|
+
service?: ($wrapper.google.protobuf.ServiceDescriptorProto[] | null);
|
|
915
|
+
extension?: ($wrapper.google.protobuf.FieldDescriptorProto[] | null);
|
|
916
|
+
options?: ($wrapper.google.protobuf.FileOptions | null);
|
|
917
|
+
sourceCodeInfo?: ($wrapper.google.protobuf.SourceCodeInfo | null);
|
|
918
|
+
syntax?: (string | null);
|
|
919
|
+
}
|
|
920
|
+
export interface DescriptorProto {
|
|
921
|
+
name?: (string | null);
|
|
922
|
+
field?: ($wrapper.google.protobuf.FieldDescriptorProto[] | null);
|
|
923
|
+
extension?: ($wrapper.google.protobuf.FieldDescriptorProto[] | null);
|
|
924
|
+
nestedType?: ($wrapper.google.protobuf.DescriptorProto[] | null);
|
|
925
|
+
enumType?: ($wrapper.google.protobuf.EnumDescriptorProto[] | null);
|
|
926
|
+
extensionRange?: ($wrapper.google.protobuf.DescriptorProto.ExtensionRange[] | null);
|
|
927
|
+
oneofDecl?: ($wrapper.google.protobuf.OneofDescriptorProto[] | null);
|
|
928
|
+
options?: ($wrapper.google.protobuf.MessageOptions | null);
|
|
929
|
+
reservedRange?: ($wrapper.google.protobuf.DescriptorProto.ReservedRange[] | null);
|
|
930
|
+
reservedName?: (string[] | null);
|
|
931
|
+
}
|
|
932
|
+
export namespace DescriptorProto {
|
|
933
|
+
export interface ExtensionRange {
|
|
934
|
+
start?: (number | null);
|
|
935
|
+
end?: (number | null);
|
|
936
|
+
options?: ($wrapper.google.protobuf.ExtensionRangeOptions | null);
|
|
937
|
+
}
|
|
938
|
+
export interface ReservedRange {
|
|
939
|
+
start?: (number | null);
|
|
940
|
+
end?: (number | null);
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
export interface ExtensionRangeOptions {
|
|
944
|
+
uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);
|
|
945
|
+
}
|
|
946
|
+
export interface FieldDescriptorProto {
|
|
947
|
+
name?: (string | null);
|
|
948
|
+
number?: (number | null);
|
|
949
|
+
label?: ($wrapper.google.protobuf.FieldDescriptorProto.Label | null);
|
|
950
|
+
type?: ($wrapper.google.protobuf.FieldDescriptorProto.Type | null);
|
|
951
|
+
typeName?: (string | null);
|
|
952
|
+
extendee?: (string | null);
|
|
953
|
+
defaultValue?: (string | null);
|
|
954
|
+
oneofIndex?: (number | null);
|
|
955
|
+
jsonName?: (string | null);
|
|
956
|
+
options?: ($wrapper.google.protobuf.FieldOptions | null);
|
|
957
|
+
proto3Optional?: (boolean | null);
|
|
958
|
+
}
|
|
959
|
+
export namespace FieldDescriptorProto {
|
|
960
|
+
export enum Type {
|
|
961
|
+
TYPE_DOUBLE = "TYPE_DOUBLE",
|
|
962
|
+
TYPE_FLOAT = "TYPE_FLOAT",
|
|
963
|
+
TYPE_INT64 = "TYPE_INT64",
|
|
964
|
+
TYPE_UINT64 = "TYPE_UINT64",
|
|
965
|
+
TYPE_INT32 = "TYPE_INT32",
|
|
966
|
+
TYPE_FIXED64 = "TYPE_FIXED64",
|
|
967
|
+
TYPE_FIXED32 = "TYPE_FIXED32",
|
|
968
|
+
TYPE_BOOL = "TYPE_BOOL",
|
|
969
|
+
TYPE_STRING = "TYPE_STRING",
|
|
970
|
+
TYPE_GROUP = "TYPE_GROUP",
|
|
971
|
+
TYPE_MESSAGE = "TYPE_MESSAGE",
|
|
972
|
+
TYPE_BYTES = "TYPE_BYTES",
|
|
973
|
+
TYPE_UINT32 = "TYPE_UINT32",
|
|
974
|
+
TYPE_ENUM = "TYPE_ENUM",
|
|
975
|
+
TYPE_SFIXED32 = "TYPE_SFIXED32",
|
|
976
|
+
TYPE_SFIXED64 = "TYPE_SFIXED64",
|
|
977
|
+
TYPE_SINT32 = "TYPE_SINT32",
|
|
978
|
+
TYPE_SINT64 = "TYPE_SINT64",
|
|
979
|
+
}
|
|
980
|
+
export enum Label {
|
|
981
|
+
LABEL_OPTIONAL = "LABEL_OPTIONAL",
|
|
982
|
+
LABEL_REQUIRED = "LABEL_REQUIRED",
|
|
983
|
+
LABEL_REPEATED = "LABEL_REPEATED",
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
export interface OneofDescriptorProto {
|
|
987
|
+
name?: (string | null);
|
|
988
|
+
options?: ($wrapper.google.protobuf.OneofOptions | null);
|
|
989
|
+
}
|
|
990
|
+
export interface EnumDescriptorProto {
|
|
991
|
+
name?: (string | null);
|
|
992
|
+
value?: ($wrapper.google.protobuf.EnumValueDescriptorProto[] | null);
|
|
993
|
+
options?: ($wrapper.google.protobuf.EnumOptions | null);
|
|
994
|
+
reservedRange?: ($wrapper.google.protobuf.EnumDescriptorProto.EnumReservedRange[] | null);
|
|
995
|
+
reservedName?: (string[] | null);
|
|
996
|
+
}
|
|
997
|
+
export namespace EnumDescriptorProto {
|
|
998
|
+
export interface EnumReservedRange {
|
|
999
|
+
start?: (number | null);
|
|
1000
|
+
end?: (number | null);
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
export interface EnumValueDescriptorProto {
|
|
1004
|
+
name?: (string | null);
|
|
1005
|
+
number?: (number | null);
|
|
1006
|
+
options?: ($wrapper.google.protobuf.EnumValueOptions | null);
|
|
1007
|
+
}
|
|
1008
|
+
export interface ServiceDescriptorProto {
|
|
1009
|
+
name?: (string | null);
|
|
1010
|
+
method?: ($wrapper.google.protobuf.MethodDescriptorProto[] | null);
|
|
1011
|
+
options?: ($wrapper.google.protobuf.ServiceOptions | null);
|
|
1012
|
+
}
|
|
1013
|
+
export interface MethodDescriptorProto {
|
|
1014
|
+
name?: (string | null);
|
|
1015
|
+
inputType?: (string | null);
|
|
1016
|
+
outputType?: (string | null);
|
|
1017
|
+
options?: ($wrapper.google.protobuf.MethodOptions | null);
|
|
1018
|
+
clientStreaming?: (boolean | null);
|
|
1019
|
+
serverStreaming?: (boolean | null);
|
|
1020
|
+
}
|
|
1021
|
+
export interface FileOptions {
|
|
1022
|
+
javaPackage?: (string | null);
|
|
1023
|
+
javaOuterClassname?: (string | null);
|
|
1024
|
+
javaMultipleFiles?: (boolean | null);
|
|
1025
|
+
javaGenerateEqualsAndHash?: (boolean | null);
|
|
1026
|
+
javaStringCheckUtf8?: (boolean | null);
|
|
1027
|
+
optimizeFor?: ($wrapper.google.protobuf.FileOptions.OptimizeMode | null);
|
|
1028
|
+
goPackage?: (string | null);
|
|
1029
|
+
ccGenericServices?: (boolean | null);
|
|
1030
|
+
javaGenericServices?: (boolean | null);
|
|
1031
|
+
pyGenericServices?: (boolean | null);
|
|
1032
|
+
phpGenericServices?: (boolean | null);
|
|
1033
|
+
deprecated?: (boolean | null);
|
|
1034
|
+
ccEnableArenas?: (boolean | null);
|
|
1035
|
+
objcClassPrefix?: (string | null);
|
|
1036
|
+
csharpNamespace?: (string | null);
|
|
1037
|
+
swiftPrefix?: (string | null);
|
|
1038
|
+
phpClassPrefix?: (string | null);
|
|
1039
|
+
phpNamespace?: (string | null);
|
|
1040
|
+
phpMetadataNamespace?: (string | null);
|
|
1041
|
+
rubyPackage?: (string | null);
|
|
1042
|
+
uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);
|
|
1043
|
+
}
|
|
1044
|
+
export namespace FileOptions {
|
|
1045
|
+
export enum OptimizeMode {
|
|
1046
|
+
SPEED = "SPEED",
|
|
1047
|
+
CODE_SIZE = "CODE_SIZE",
|
|
1048
|
+
LITE_RUNTIME = "LITE_RUNTIME",
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
export interface MessageOptions {
|
|
1052
|
+
messageSetWireFormat?: (boolean | null);
|
|
1053
|
+
noStandardDescriptorAccessor?: (boolean | null);
|
|
1054
|
+
deprecated?: (boolean | null);
|
|
1055
|
+
mapEntry?: (boolean | null);
|
|
1056
|
+
uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);
|
|
1057
|
+
'.wix.api.decompositeOf'?: (string | null);
|
|
1058
|
+
'.wix.api.decompositionMinimumFields'?: ($wrapper.wix.api.FieldSet[] | null);
|
|
1059
|
+
'.wix.api.unwrapArrayValue'?: (boolean | null);
|
|
1060
|
+
'.wix.api.messageDeprecated'?: ($wrapper.wix.api.Deprecated | null);
|
|
1061
|
+
'.wix.api.unique'?: ($wrapper.wix.api.Unique[] | null);
|
|
1062
|
+
}
|
|
1063
|
+
export interface FieldOptions {
|
|
1064
|
+
ctype?: ($wrapper.google.protobuf.FieldOptions.CType | null);
|
|
1065
|
+
packed?: (boolean | null);
|
|
1066
|
+
jstype?: ($wrapper.google.protobuf.FieldOptions.JSType | null);
|
|
1067
|
+
lazy?: (boolean | null);
|
|
1068
|
+
deprecated?: (boolean | null);
|
|
1069
|
+
weak?: (boolean | null);
|
|
1070
|
+
uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);
|
|
1071
|
+
'.wix.api.fieldExposure'?: ($wrapper.wix.api.Exposure | null);
|
|
1072
|
+
'.wix.api.fieldMaturity'?: ($wrapper.wix.api.Maturity | null);
|
|
1073
|
+
'.wix.api.pii'?: (boolean | null);
|
|
1074
|
+
'.wix.api.referencedEntity'?: (string | null);
|
|
1075
|
+
'.wix.api.referencedEntityField'?: ($wrapper.wix.api.ReferenceEntityField | null);
|
|
1076
|
+
'.wix.api.fieldDeprecated'?: ($wrapper.wix.api.Deprecated | null);
|
|
1077
|
+
'.wix.api.translatable'?: ($wrapper.wix.api.Translatable | null);
|
|
1078
|
+
'.wix.api.sampleData'?: (string | null);
|
|
1079
|
+
'.wix.api.conditional'?: ($wrapper.wix.api.Conditional | null);
|
|
1080
|
+
'.wix.api.nullable'?: (boolean | null);
|
|
1081
|
+
'.wix.api.max'?: (number | null);
|
|
1082
|
+
'.wix.api.min'?: (number | null);
|
|
1083
|
+
'.wix.api.maxLength'?: (number | null);
|
|
1084
|
+
'.wix.api.minLength'?: (number | null);
|
|
1085
|
+
'.wix.api.exactLength'?: (number | null);
|
|
1086
|
+
'.wix.api.maxSize'?: (number | null);
|
|
1087
|
+
'.wix.api.minSize'?: (number | null);
|
|
1088
|
+
'.wix.api.exactSize'?: (number | null);
|
|
1089
|
+
'.wix.api.format'?: ($wrapper.wix.api.Format | null);
|
|
1090
|
+
'.wix.api.readOnly'?: (boolean | null);
|
|
1091
|
+
'.wix.api.immutable'?: (boolean | null);
|
|
1092
|
+
'.wix.api.writeOnly'?: (boolean | null);
|
|
1093
|
+
'.wix.api.decimalValue'?: ($wrapper.wix.api.DecimalValueOptions | null);
|
|
1094
|
+
'.wix.api.customValidation'?: ($wrapper.wix.api.CustomValidationError | null);
|
|
1095
|
+
}
|
|
1096
|
+
export namespace FieldOptions {
|
|
1097
|
+
export enum CType {
|
|
1098
|
+
STRING = "STRING",
|
|
1099
|
+
CORD = "CORD",
|
|
1100
|
+
STRING_PIECE = "STRING_PIECE",
|
|
1101
|
+
}
|
|
1102
|
+
export enum JSType {
|
|
1103
|
+
JS_NORMAL = "JS_NORMAL",
|
|
1104
|
+
JS_STRING = "JS_STRING",
|
|
1105
|
+
JS_NUMBER = "JS_NUMBER",
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
export interface OneofOptions {
|
|
1109
|
+
uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);
|
|
1110
|
+
'.wix.api.alignedWithEnum'?: ($wrapper.wix.api.AlignedWithEnum | null);
|
|
1111
|
+
}
|
|
1112
|
+
export interface EnumOptions {
|
|
1113
|
+
allowAlias?: (boolean | null);
|
|
1114
|
+
deprecated?: (boolean | null);
|
|
1115
|
+
uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);
|
|
1116
|
+
}
|
|
1117
|
+
export interface EnumValueOptions {
|
|
1118
|
+
deprecated?: (boolean | null);
|
|
1119
|
+
uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);
|
|
1120
|
+
'.wix.api.enumMaturity'?: ($wrapper.wix.api.Maturity | null);
|
|
1121
|
+
'.wix.api.enumExposure'?: ($wrapper.wix.api.Exposure | null);
|
|
1122
|
+
}
|
|
1123
|
+
export interface ServiceOptions {
|
|
1124
|
+
deprecated?: (boolean | null);
|
|
1125
|
+
uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);
|
|
1126
|
+
'.wix.api.serviceMaturity'?: ($wrapper.wix.api.Maturity | null);
|
|
1127
|
+
'.wix.api.serviceExposure'?: ($wrapper.wix.api.Exposure | null);
|
|
1128
|
+
'.wix.api.serviceDeprecated'?: ($wrapper.wix.api.Deprecated | null);
|
|
1129
|
+
'.wix.api.appendixFiles'?: ($wrapper.wix.api.ServiceAppendix[] | null);
|
|
1130
|
+
'.wix.api.errorDef'?: ($wrapper.wix.api.Error[] | null);
|
|
1131
|
+
}
|
|
1132
|
+
export interface MethodOptions {
|
|
1133
|
+
deprecated?: (boolean | null);
|
|
1134
|
+
idempotencyLevel?: ($wrapper.google.protobuf.MethodOptions.IdempotencyLevel | null);
|
|
1135
|
+
uninterpretedOption?: ($wrapper.google.protobuf.UninterpretedOption[] | null);
|
|
1136
|
+
'.wix.api.exposure'?: ($wrapper.wix.api.Exposure | null);
|
|
1137
|
+
'.wix.api.maturity'?: ($wrapper.wix.api.Maturity | null);
|
|
1138
|
+
'.wix.api.cacheable'?: ($wrapper.wix.api.CacheSettings | null);
|
|
1139
|
+
'.wix.api.deprecated'?: ($wrapper.wix.api.Deprecated | null);
|
|
1140
|
+
'.wix.api.crud'?: ($wrapper.wix.api.Crud | null);
|
|
1141
|
+
'.wix.api.acceptsLinguist'?: (boolean | null);
|
|
1142
|
+
'.wix.api.required'?: (string[] | null);
|
|
1143
|
+
'.wix.api.writable'?: (string[] | null);
|
|
1144
|
+
'.wix.api.error'?: ($wrapper.wix.api.Error[] | null);
|
|
1145
|
+
'.wix.api.customValidationError'?: ($wrapper.wix.api.CustomValidationError[] | null);
|
|
1146
|
+
'.wix.api.inheritCrudErrors'?: ($wrapper.wix.api.InheritCrudErrors[] | null);
|
|
1147
|
+
'.wix.api.errorRef'?: ($wrapper.wix.api.ErrorRef[] | null);
|
|
1148
|
+
}
|
|
1149
|
+
export namespace MethodOptions {
|
|
1150
|
+
export enum IdempotencyLevel {
|
|
1151
|
+
IDEMPOTENCY_UNKNOWN = "IDEMPOTENCY_UNKNOWN",
|
|
1152
|
+
NO_SIDE_EFFECTS = "NO_SIDE_EFFECTS",
|
|
1153
|
+
IDEMPOTENT = "IDEMPOTENT",
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
export interface UninterpretedOption {
|
|
1157
|
+
name?: ($wrapper.google.protobuf.UninterpretedOption.NamePart[] | null);
|
|
1158
|
+
identifierValue?: (string | null);
|
|
1159
|
+
positiveIntValue?: ((number | string) | null);
|
|
1160
|
+
negativeIntValue?: ((number | string) | null);
|
|
1161
|
+
doubleValue?: (number | null);
|
|
1162
|
+
stringValue?: (Uint8Array | null);
|
|
1163
|
+
aggregateValue?: (string | null);
|
|
1164
|
+
}
|
|
1165
|
+
export namespace UninterpretedOption {
|
|
1166
|
+
export interface NamePart {
|
|
1167
|
+
namePart?: (string | null);
|
|
1168
|
+
isExtension?: (boolean | null);
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
export interface SourceCodeInfo {
|
|
1172
|
+
location?: ($wrapper.google.protobuf.SourceCodeInfo.Location[] | null);
|
|
1173
|
+
}
|
|
1174
|
+
export namespace SourceCodeInfo {
|
|
1175
|
+
export interface Location {
|
|
1176
|
+
path?: (number[] | null);
|
|
1177
|
+
span?: (number[] | null);
|
|
1178
|
+
leadingComments?: (string | null);
|
|
1179
|
+
trailingComments?: (string | null);
|
|
1180
|
+
leadingDetachedComments?: (string[] | null);
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
export interface GeneratedCodeInfo {
|
|
1184
|
+
annotation?: ($wrapper.google.protobuf.GeneratedCodeInfo.Annotation[] | null);
|
|
1185
|
+
}
|
|
1186
|
+
export namespace GeneratedCodeInfo {
|
|
1187
|
+
export interface Annotation {
|
|
1188
|
+
path?: (number[] | null);
|
|
1189
|
+
sourceFile?: (string | null);
|
|
1190
|
+
begin?: (number | null);
|
|
1191
|
+
end?: (number | null);
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
export default $wrapper;
|