@wix/metro-common-builders 1.0.1118 → 1.0.1119
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/dist/es/src/proto/client/index.d.ts +24 -8
- package/dist/es/src/proto/index.d.ts +12 -4
- package/dist/es/src/proto/index.js +148 -55
- package/dist/es/src/proto/server/index.d.ts +24 -8
- package/dist/src/proto/client/index.d.ts +24 -8
- package/dist/src/proto/index.d.ts +12 -4
- package/dist/src/proto/index.js +148 -55
- package/dist/src/proto/server/index.d.ts +24 -8
- package/package.json +3 -3
|
@@ -1275,12 +1275,10 @@ declare namespace $requests {
|
|
|
1275
1275
|
}
|
|
1276
1276
|
export interface ICreateMethodOptions {
|
|
1277
1277
|
itemField?: string;
|
|
1278
|
-
fieldmaskField?: string;
|
|
1279
1278
|
}
|
|
1280
1279
|
export class CreateMethodOptions implements ICreateMethodOptions {
|
|
1281
1280
|
constructor(data?: ICreateMethodOptions);
|
|
1282
1281
|
itemField?: string;
|
|
1283
|
-
fieldmaskField?: string;
|
|
1284
1282
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1285
1283
|
}
|
|
1286
1284
|
export interface IGetItemMethodOptions {
|
|
@@ -1369,12 +1367,10 @@ declare namespace $requests {
|
|
|
1369
1367
|
}
|
|
1370
1368
|
export interface IBulkCreateMethodOptions {
|
|
1371
1369
|
itemField?: string;
|
|
1372
|
-
fieldmaskField?: string;
|
|
1373
1370
|
}
|
|
1374
1371
|
export class BulkCreateMethodOptions implements IBulkCreateMethodOptions {
|
|
1375
1372
|
constructor(data?: IBulkCreateMethodOptions);
|
|
1376
1373
|
itemField?: string;
|
|
1377
|
-
fieldmaskField?: string;
|
|
1378
1374
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1379
1375
|
}
|
|
1380
1376
|
export interface IBulkUpdateMethodOptions {
|
|
@@ -1586,6 +1582,16 @@ declare namespace $requests {
|
|
|
1586
1582
|
IMAGE_LINK = "IMAGE_LINK",
|
|
1587
1583
|
}
|
|
1588
1584
|
}
|
|
1585
|
+
export interface IConditional {
|
|
1586
|
+
permission?: string;
|
|
1587
|
+
requestedField?: string;
|
|
1588
|
+
}
|
|
1589
|
+
export class Conditional implements IConditional {
|
|
1590
|
+
constructor(data?: IConditional);
|
|
1591
|
+
permission?: string;
|
|
1592
|
+
requestedField?: string;
|
|
1593
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1594
|
+
}
|
|
1589
1595
|
export interface IServiceAppendix {
|
|
1590
1596
|
type?: $requests.wix.api.ServiceAppendix.Type;
|
|
1591
1597
|
path?: string;
|
|
@@ -2530,6 +2536,7 @@ declare namespace $requests {
|
|
|
2530
2536
|
'.wix.api.fieldDeprecated'?: $requests.wix.api.IDeprecated;
|
|
2531
2537
|
'.wix.api.translatable'?: $requests.wix.api.ITranslatable;
|
|
2532
2538
|
'.wix.api.sampleData'?: string;
|
|
2539
|
+
'.wix.api.conditional'?: $requests.wix.api.IConditional;
|
|
2533
2540
|
'.wix.api.max'?: number;
|
|
2534
2541
|
'.wix.api.min'?: number;
|
|
2535
2542
|
'.wix.api.maxLength'?: number;
|
|
@@ -2558,6 +2565,7 @@ declare namespace $requests {
|
|
|
2558
2565
|
'.wix.api.fieldDeprecated'?: $requests.wix.api.IDeprecated;
|
|
2559
2566
|
'.wix.api.translatable'?: $requests.wix.api.ITranslatable;
|
|
2560
2567
|
'.wix.api.sampleData'?: string;
|
|
2568
|
+
'.wix.api.conditional'?: $requests.wix.api.IConditional;
|
|
2561
2569
|
'.wix.api.max'?: number;
|
|
2562
2570
|
'.wix.api.min'?: number;
|
|
2563
2571
|
'.wix.api.maxLength'?: number;
|
|
@@ -4097,12 +4105,10 @@ declare namespace $responses {
|
|
|
4097
4105
|
}
|
|
4098
4106
|
export interface ICreateMethodOptions {
|
|
4099
4107
|
itemField: string;
|
|
4100
|
-
fieldmaskField: string;
|
|
4101
4108
|
}
|
|
4102
4109
|
export class CreateMethodOptions implements ICreateMethodOptions {
|
|
4103
4110
|
constructor(data?: ICreateMethodOptions);
|
|
4104
4111
|
itemField: string;
|
|
4105
|
-
fieldmaskField: string;
|
|
4106
4112
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4107
4113
|
}
|
|
4108
4114
|
export interface IGetItemMethodOptions {
|
|
@@ -4191,12 +4197,10 @@ declare namespace $responses {
|
|
|
4191
4197
|
}
|
|
4192
4198
|
export interface IBulkCreateMethodOptions {
|
|
4193
4199
|
itemField: string;
|
|
4194
|
-
fieldmaskField: string;
|
|
4195
4200
|
}
|
|
4196
4201
|
export class BulkCreateMethodOptions implements IBulkCreateMethodOptions {
|
|
4197
4202
|
constructor(data?: IBulkCreateMethodOptions);
|
|
4198
4203
|
itemField: string;
|
|
4199
|
-
fieldmaskField: string;
|
|
4200
4204
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4201
4205
|
}
|
|
4202
4206
|
export interface IBulkUpdateMethodOptions {
|
|
@@ -4408,6 +4412,16 @@ declare namespace $responses {
|
|
|
4408
4412
|
IMAGE_LINK = "IMAGE_LINK",
|
|
4409
4413
|
}
|
|
4410
4414
|
}
|
|
4415
|
+
export interface IConditional {
|
|
4416
|
+
permission: string;
|
|
4417
|
+
requestedField: string;
|
|
4418
|
+
}
|
|
4419
|
+
export class Conditional implements IConditional {
|
|
4420
|
+
constructor(data?: IConditional);
|
|
4421
|
+
permission: string;
|
|
4422
|
+
requestedField: string;
|
|
4423
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4424
|
+
}
|
|
4411
4425
|
export interface IServiceAppendix {
|
|
4412
4426
|
type: $responses.wix.api.ServiceAppendix.Type;
|
|
4413
4427
|
path: string;
|
|
@@ -5352,6 +5366,7 @@ declare namespace $responses {
|
|
|
5352
5366
|
'.wix.api.fieldDeprecated'?: $responses.wix.api.IDeprecated;
|
|
5353
5367
|
'.wix.api.translatable'?: $responses.wix.api.ITranslatable;
|
|
5354
5368
|
'.wix.api.sampleData': string;
|
|
5369
|
+
'.wix.api.conditional'?: $responses.wix.api.IConditional;
|
|
5355
5370
|
'.wix.api.max': number;
|
|
5356
5371
|
'.wix.api.min': number;
|
|
5357
5372
|
'.wix.api.maxLength': number;
|
|
@@ -5380,6 +5395,7 @@ declare namespace $responses {
|
|
|
5380
5395
|
'.wix.api.fieldDeprecated'?: $responses.wix.api.IDeprecated;
|
|
5381
5396
|
'.wix.api.translatable'?: $responses.wix.api.ITranslatable;
|
|
5382
5397
|
'.wix.api.sampleData': string;
|
|
5398
|
+
'.wix.api.conditional'?: $responses.wix.api.IConditional;
|
|
5383
5399
|
'.wix.api.max': number;
|
|
5384
5400
|
'.wix.api.min': number;
|
|
5385
5401
|
'.wix.api.maxLength': number;
|
|
@@ -1288,12 +1288,10 @@ declare namespace $wrapper {
|
|
|
1288
1288
|
}
|
|
1289
1289
|
export interface ICreateMethodOptions {
|
|
1290
1290
|
itemField?: (string | null);
|
|
1291
|
-
fieldmaskField?: (string | null);
|
|
1292
1291
|
}
|
|
1293
1292
|
export class CreateMethodOptions implements ICreateMethodOptions {
|
|
1294
1293
|
constructor(data?: ICreateMethodOptions);
|
|
1295
1294
|
itemField?: (string | null);
|
|
1296
|
-
fieldmaskField?: (string | null);
|
|
1297
1295
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1298
1296
|
}
|
|
1299
1297
|
export interface IGetItemMethodOptions {
|
|
@@ -1382,12 +1380,10 @@ declare namespace $wrapper {
|
|
|
1382
1380
|
}
|
|
1383
1381
|
export interface IBulkCreateMethodOptions {
|
|
1384
1382
|
itemField?: (string | null);
|
|
1385
|
-
fieldmaskField?: (string | null);
|
|
1386
1383
|
}
|
|
1387
1384
|
export class BulkCreateMethodOptions implements IBulkCreateMethodOptions {
|
|
1388
1385
|
constructor(data?: IBulkCreateMethodOptions);
|
|
1389
1386
|
itemField?: (string | null);
|
|
1390
|
-
fieldmaskField?: (string | null);
|
|
1391
1387
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1392
1388
|
}
|
|
1393
1389
|
export interface IBulkUpdateMethodOptions {
|
|
@@ -1599,6 +1595,16 @@ declare namespace $wrapper {
|
|
|
1599
1595
|
IMAGE_LINK = "IMAGE_LINK",
|
|
1600
1596
|
}
|
|
1601
1597
|
}
|
|
1598
|
+
export interface IConditional {
|
|
1599
|
+
permission?: (string | null);
|
|
1600
|
+
requestedField?: (string | null);
|
|
1601
|
+
}
|
|
1602
|
+
export class Conditional implements IConditional {
|
|
1603
|
+
constructor(data?: IConditional);
|
|
1604
|
+
permission?: (string | null);
|
|
1605
|
+
requestedField?: (string | null);
|
|
1606
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1607
|
+
}
|
|
1602
1608
|
export interface IServiceAppendix {
|
|
1603
1609
|
type?: ($wrapper.wix.api.ServiceAppendix.Type | null);
|
|
1604
1610
|
path?: (string | null);
|
|
@@ -2543,6 +2549,7 @@ declare namespace $wrapper {
|
|
|
2543
2549
|
'.wix.api.fieldDeprecated'?: ($wrapper.wix.api.IDeprecated | null);
|
|
2544
2550
|
'.wix.api.translatable'?: ($wrapper.wix.api.ITranslatable | null);
|
|
2545
2551
|
'.wix.api.sampleData'?: (string | null);
|
|
2552
|
+
'.wix.api.conditional'?: ($wrapper.wix.api.IConditional | null);
|
|
2546
2553
|
'.wix.api.max'?: (number | null);
|
|
2547
2554
|
'.wix.api.min'?: (number | null);
|
|
2548
2555
|
'.wix.api.maxLength'?: (number | null);
|
|
@@ -2571,6 +2578,7 @@ declare namespace $wrapper {
|
|
|
2571
2578
|
'.wix.api.fieldDeprecated'?: ($wrapper.wix.api.IDeprecated | null);
|
|
2572
2579
|
'.wix.api.translatable'?: ($wrapper.wix.api.ITranslatable | null);
|
|
2573
2580
|
'.wix.api.sampleData'?: (string | null);
|
|
2581
|
+
'.wix.api.conditional'?: ($wrapper.wix.api.IConditional | null);
|
|
2574
2582
|
'.wix.api.max'?: (number | null);
|
|
2575
2583
|
'.wix.api.min'?: (number | null);
|
|
2576
2584
|
'.wix.api.maxLength'?: (number | null);
|
|
@@ -10,7 +10,7 @@ $root.__options = {
|
|
|
10
10
|
'stringLongs': true,
|
|
11
11
|
'stdCase': false,
|
|
12
12
|
'generatorVersion': '2.0.1111',
|
|
13
|
-
'contentHash': '
|
|
13
|
+
'contentHash': 'fea895dd3829f1278f2b009ade154ff4fb3275a1'
|
|
14
14
|
};
|
|
15
15
|
$root.__lookup = function (pbjs) {
|
|
16
16
|
const root = pbjs.Root.fromJSON({
|
|
@@ -2873,6 +2873,13 @@ $root.__lookup = function (pbjs) {
|
|
|
2873
2873
|
'comment': null,
|
|
2874
2874
|
'parsedOptions': null
|
|
2875
2875
|
},
|
|
2876
|
+
'conditional': {
|
|
2877
|
+
'type': 'Conditional',
|
|
2878
|
+
'id': 50151,
|
|
2879
|
+
'extend': 'google.protobuf.FieldOptions',
|
|
2880
|
+
'comment': null,
|
|
2881
|
+
'parsedOptions': null
|
|
2882
|
+
},
|
|
2876
2883
|
'enumMaturity': {
|
|
2877
2884
|
'type': 'Maturity',
|
|
2878
2885
|
'id': 50130,
|
|
@@ -3179,12 +3186,6 @@ $root.__lookup = function (pbjs) {
|
|
|
3179
3186
|
'id': 1,
|
|
3180
3187
|
'comment': null,
|
|
3181
3188
|
'parsedOptions': null
|
|
3182
|
-
},
|
|
3183
|
-
'fieldmaskField': {
|
|
3184
|
-
'type': 'string',
|
|
3185
|
-
'id': 2,
|
|
3186
|
-
'comment': null,
|
|
3187
|
-
'parsedOptions': null
|
|
3188
3189
|
}
|
|
3189
3190
|
},
|
|
3190
3191
|
'comment': null
|
|
@@ -3365,12 +3366,6 @@ $root.__lookup = function (pbjs) {
|
|
|
3365
3366
|
'id': 1,
|
|
3366
3367
|
'comment': null,
|
|
3367
3368
|
'parsedOptions': null
|
|
3368
|
-
},
|
|
3369
|
-
'fieldmaskField': {
|
|
3370
|
-
'type': 'string',
|
|
3371
|
-
'id': 2,
|
|
3372
|
-
'comment': null,
|
|
3373
|
-
'parsedOptions': null
|
|
3374
3369
|
}
|
|
3375
3370
|
},
|
|
3376
3371
|
'comment': null
|
|
@@ -3808,6 +3803,23 @@ $root.__lookup = function (pbjs) {
|
|
|
3808
3803
|
},
|
|
3809
3804
|
'comment': null
|
|
3810
3805
|
},
|
|
3806
|
+
'Conditional': {
|
|
3807
|
+
'fields': {
|
|
3808
|
+
'permission': {
|
|
3809
|
+
'type': 'string',
|
|
3810
|
+
'id': 1,
|
|
3811
|
+
'comment': null,
|
|
3812
|
+
'parsedOptions': null
|
|
3813
|
+
},
|
|
3814
|
+
'requestedField': {
|
|
3815
|
+
'type': 'string',
|
|
3816
|
+
'id': 2,
|
|
3817
|
+
'comment': null,
|
|
3818
|
+
'parsedOptions': null
|
|
3819
|
+
}
|
|
3820
|
+
},
|
|
3821
|
+
'comment': null
|
|
3822
|
+
},
|
|
3811
3823
|
'ServiceAppendix': {
|
|
3812
3824
|
'fields': {
|
|
3813
3825
|
'type': {
|
|
@@ -20273,7 +20285,6 @@ $root.wix = (function () {
|
|
|
20273
20285
|
class CreateMethodOptions {
|
|
20274
20286
|
constructor(props) {
|
|
20275
20287
|
this.itemField = props && props.itemField;
|
|
20276
|
-
this.fieldmaskField = props && props.fieldmaskField;
|
|
20277
20288
|
}
|
|
20278
20289
|
static toJSON(obj, helper, withDefaults) {
|
|
20279
20290
|
if (obj == null) {
|
|
@@ -20285,11 +20296,6 @@ $root.wix = (function () {
|
|
|
20285
20296
|
} else if (withDefaults) {
|
|
20286
20297
|
json['itemField'] = '';
|
|
20287
20298
|
}
|
|
20288
|
-
if (obj['fieldmaskField'] != null) {
|
|
20289
|
-
json['fieldmaskField'] = obj['fieldmaskField'];
|
|
20290
|
-
} else if (withDefaults) {
|
|
20291
|
-
json['fieldmaskField'] = '';
|
|
20292
|
-
}
|
|
20293
20299
|
return json;
|
|
20294
20300
|
}
|
|
20295
20301
|
}
|
|
@@ -20303,13 +20309,6 @@ $root.wix = (function () {
|
|
|
20303
20309
|
} else {
|
|
20304
20310
|
delete result['itemField'];
|
|
20305
20311
|
}
|
|
20306
|
-
if (json['fieldmaskField'] != null) {
|
|
20307
|
-
result['fieldmaskField'] = json['fieldmaskField'];
|
|
20308
|
-
} else if (withDefaults !== false) {
|
|
20309
|
-
result['fieldmaskField'] = '';
|
|
20310
|
-
} else {
|
|
20311
|
-
delete result['fieldmaskField'];
|
|
20312
|
-
}
|
|
20313
20312
|
return result;
|
|
20314
20313
|
} else
|
|
20315
20314
|
return json;
|
|
@@ -20322,9 +20321,6 @@ $root.wix = (function () {
|
|
|
20322
20321
|
if (obj['itemField'] != null) {
|
|
20323
20322
|
grpc['itemField'] = obj['itemField'];
|
|
20324
20323
|
}
|
|
20325
|
-
if (obj['fieldmaskField'] != null) {
|
|
20326
|
-
grpc['fieldmaskField'] = obj['fieldmaskField'];
|
|
20327
|
-
}
|
|
20328
20324
|
return grpc;
|
|
20329
20325
|
}
|
|
20330
20326
|
}
|
|
@@ -20338,11 +20334,6 @@ $root.wix = (function () {
|
|
|
20338
20334
|
} else {
|
|
20339
20335
|
result['itemField'] = '';
|
|
20340
20336
|
}
|
|
20341
|
-
if (grpc['fieldmaskField'] != null) {
|
|
20342
|
-
result['fieldmaskField'] = grpc['fieldmaskField'];
|
|
20343
|
-
} else {
|
|
20344
|
-
result['fieldmaskField'] = '';
|
|
20345
|
-
}
|
|
20346
20337
|
return result;
|
|
20347
20338
|
}
|
|
20348
20339
|
}
|
|
@@ -21260,7 +21251,6 @@ $root.wix = (function () {
|
|
|
21260
21251
|
class BulkCreateMethodOptions {
|
|
21261
21252
|
constructor(props) {
|
|
21262
21253
|
this.itemField = props && props.itemField;
|
|
21263
|
-
this.fieldmaskField = props && props.fieldmaskField;
|
|
21264
21254
|
}
|
|
21265
21255
|
static toJSON(obj, helper, withDefaults) {
|
|
21266
21256
|
if (obj == null) {
|
|
@@ -21272,11 +21262,6 @@ $root.wix = (function () {
|
|
|
21272
21262
|
} else if (withDefaults) {
|
|
21273
21263
|
json['itemField'] = '';
|
|
21274
21264
|
}
|
|
21275
|
-
if (obj['fieldmaskField'] != null) {
|
|
21276
|
-
json['fieldmaskField'] = obj['fieldmaskField'];
|
|
21277
|
-
} else if (withDefaults) {
|
|
21278
|
-
json['fieldmaskField'] = '';
|
|
21279
|
-
}
|
|
21280
21265
|
return json;
|
|
21281
21266
|
}
|
|
21282
21267
|
}
|
|
@@ -21290,13 +21275,6 @@ $root.wix = (function () {
|
|
|
21290
21275
|
} else {
|
|
21291
21276
|
delete result['itemField'];
|
|
21292
21277
|
}
|
|
21293
|
-
if (json['fieldmaskField'] != null) {
|
|
21294
|
-
result['fieldmaskField'] = json['fieldmaskField'];
|
|
21295
|
-
} else if (withDefaults !== false) {
|
|
21296
|
-
result['fieldmaskField'] = '';
|
|
21297
|
-
} else {
|
|
21298
|
-
delete result['fieldmaskField'];
|
|
21299
|
-
}
|
|
21300
21278
|
return result;
|
|
21301
21279
|
} else
|
|
21302
21280
|
return json;
|
|
@@ -21309,9 +21287,6 @@ $root.wix = (function () {
|
|
|
21309
21287
|
if (obj['itemField'] != null) {
|
|
21310
21288
|
grpc['itemField'] = obj['itemField'];
|
|
21311
21289
|
}
|
|
21312
|
-
if (obj['fieldmaskField'] != null) {
|
|
21313
|
-
grpc['fieldmaskField'] = obj['fieldmaskField'];
|
|
21314
|
-
}
|
|
21315
21290
|
return grpc;
|
|
21316
21291
|
}
|
|
21317
21292
|
}
|
|
@@ -21325,11 +21300,6 @@ $root.wix = (function () {
|
|
|
21325
21300
|
} else {
|
|
21326
21301
|
result['itemField'] = '';
|
|
21327
21302
|
}
|
|
21328
|
-
if (grpc['fieldmaskField'] != null) {
|
|
21329
|
-
result['fieldmaskField'] = grpc['fieldmaskField'];
|
|
21330
|
-
} else {
|
|
21331
|
-
result['fieldmaskField'] = '';
|
|
21332
|
-
}
|
|
21333
21303
|
return result;
|
|
21334
21304
|
}
|
|
21335
21305
|
}
|
|
@@ -23866,6 +23836,108 @@ $root.wix = (function () {
|
|
|
23866
23836
|
});
|
|
23867
23837
|
return Translatable;
|
|
23868
23838
|
}());;
|
|
23839
|
+
_api.Conditional = (function () {
|
|
23840
|
+
class Conditional {
|
|
23841
|
+
constructor(props) {
|
|
23842
|
+
this.permission = props && props.permission;
|
|
23843
|
+
this.requestedField = props && props.requestedField;
|
|
23844
|
+
}
|
|
23845
|
+
static toJSON(obj, helper, withDefaults) {
|
|
23846
|
+
if (obj == null) {
|
|
23847
|
+
return null;
|
|
23848
|
+
} else {
|
|
23849
|
+
const json = {};
|
|
23850
|
+
if (obj['permission'] != null) {
|
|
23851
|
+
json['permission'] = obj['permission'];
|
|
23852
|
+
} else if (withDefaults) {
|
|
23853
|
+
json['permission'] = '';
|
|
23854
|
+
}
|
|
23855
|
+
if (obj['requestedField'] != null) {
|
|
23856
|
+
json['requestedField'] = obj['requestedField'];
|
|
23857
|
+
} else if (withDefaults) {
|
|
23858
|
+
json['requestedField'] = '';
|
|
23859
|
+
}
|
|
23860
|
+
return json;
|
|
23861
|
+
}
|
|
23862
|
+
}
|
|
23863
|
+
static fromJSON(json, helper, withDefaults) {
|
|
23864
|
+
if (typeof json === 'object' && !Array.isArray(json)) {
|
|
23865
|
+
const result = new $root.wix.api.Conditional();
|
|
23866
|
+
if (json['permission'] != null) {
|
|
23867
|
+
result['permission'] = json['permission'];
|
|
23868
|
+
} else if (withDefaults !== false) {
|
|
23869
|
+
result['permission'] = '';
|
|
23870
|
+
} else {
|
|
23871
|
+
delete result['permission'];
|
|
23872
|
+
}
|
|
23873
|
+
if (json['requestedField'] != null) {
|
|
23874
|
+
result['requestedField'] = json['requestedField'];
|
|
23875
|
+
} else if (withDefaults !== false) {
|
|
23876
|
+
result['requestedField'] = '';
|
|
23877
|
+
} else {
|
|
23878
|
+
delete result['requestedField'];
|
|
23879
|
+
}
|
|
23880
|
+
return result;
|
|
23881
|
+
} else
|
|
23882
|
+
return json;
|
|
23883
|
+
}
|
|
23884
|
+
static toGRPC(obj, helper) {
|
|
23885
|
+
if (obj == null) {
|
|
23886
|
+
return null;
|
|
23887
|
+
} else {
|
|
23888
|
+
const grpc = {};
|
|
23889
|
+
if (obj['permission'] != null) {
|
|
23890
|
+
grpc['permission'] = obj['permission'];
|
|
23891
|
+
}
|
|
23892
|
+
if (obj['requestedField'] != null) {
|
|
23893
|
+
grpc['requestedField'] = obj['requestedField'];
|
|
23894
|
+
}
|
|
23895
|
+
return grpc;
|
|
23896
|
+
}
|
|
23897
|
+
}
|
|
23898
|
+
static fromGRPC(grpc, helper) {
|
|
23899
|
+
if (grpc == null) {
|
|
23900
|
+
return null;
|
|
23901
|
+
} else {
|
|
23902
|
+
const result = new $root.wix.api.Conditional();
|
|
23903
|
+
if (grpc['permission'] != null) {
|
|
23904
|
+
result['permission'] = grpc['permission'];
|
|
23905
|
+
} else {
|
|
23906
|
+
result['permission'] = '';
|
|
23907
|
+
}
|
|
23908
|
+
if (grpc['requestedField'] != null) {
|
|
23909
|
+
result['requestedField'] = grpc['requestedField'];
|
|
23910
|
+
} else {
|
|
23911
|
+
result['requestedField'] = '';
|
|
23912
|
+
}
|
|
23913
|
+
return result;
|
|
23914
|
+
}
|
|
23915
|
+
}
|
|
23916
|
+
}
|
|
23917
|
+
__builtIn.Object.defineProperty(Conditional.prototype, '__proto', {
|
|
23918
|
+
value: pbjs => {
|
|
23919
|
+
return $root.__lookup(pbjs)('wix.api.Conditional');
|
|
23920
|
+
},
|
|
23921
|
+
enumerable: false,
|
|
23922
|
+
configurable: false
|
|
23923
|
+
});
|
|
23924
|
+
__builtIn.Object.defineProperty(Conditional.prototype, '__fqn__', {
|
|
23925
|
+
value: 'wix.api.Conditional',
|
|
23926
|
+
enumerable: false,
|
|
23927
|
+
configurable: false
|
|
23928
|
+
});
|
|
23929
|
+
__builtIn.Object.defineProperty(Conditional.prototype, '__options__', {
|
|
23930
|
+
value: $root.__options,
|
|
23931
|
+
enumerable: false,
|
|
23932
|
+
configurable: false
|
|
23933
|
+
});
|
|
23934
|
+
__builtIn.Object.defineProperty(Conditional.prototype, '__root__', {
|
|
23935
|
+
value: $root,
|
|
23936
|
+
enumerable: false,
|
|
23937
|
+
configurable: false
|
|
23938
|
+
});
|
|
23939
|
+
return Conditional;
|
|
23940
|
+
}());;
|
|
23869
23941
|
_api.ServiceAppendix = (function () {
|
|
23870
23942
|
class ServiceAppendix {
|
|
23871
23943
|
constructor(props) {
|
|
@@ -35785,6 +35857,7 @@ $root.google = (function () {
|
|
|
35785
35857
|
this['wix.api.fieldDeprecated'] = props && props['wix.api.fieldDeprecated'];
|
|
35786
35858
|
this['wix.api.translatable'] = props && props['wix.api.translatable'];
|
|
35787
35859
|
this['wix.api.sampleData'] = props && props['wix.api.sampleData'];
|
|
35860
|
+
this['wix.api.conditional'] = props && props['wix.api.conditional'];
|
|
35788
35861
|
this['wix.api.max'] = props && props['wix.api.max'];
|
|
35789
35862
|
this['wix.api.min'] = props && props['wix.api.min'];
|
|
35790
35863
|
this['wix.api.maxLength'] = props && props['wix.api.maxLength'];
|
|
@@ -35874,6 +35947,11 @@ $root.google = (function () {
|
|
|
35874
35947
|
} else if (withDefaults) {
|
|
35875
35948
|
json['wix.api.sampleData'] = '';
|
|
35876
35949
|
}
|
|
35950
|
+
if (obj['wix.api.conditional'] != null) {
|
|
35951
|
+
json['wix.api.conditional'] = $root.wix.api.Conditional.toJSON(obj['wix.api.conditional'], helper, withDefaults);
|
|
35952
|
+
} else if (withDefaults) {
|
|
35953
|
+
delete json['wix.api.conditional'];
|
|
35954
|
+
}
|
|
35877
35955
|
if (obj['wix.api.max'] != null) {
|
|
35878
35956
|
json['wix.api.max'] = obj['wix.api.max'] == null ? obj['wix.api.max'] : isNaN(obj['wix.api.max']) ? 'NaN' : isFinite(obj['wix.api.max']) ? obj['wix.api.max'] : obj['wix.api.max'].toString();
|
|
35879
35957
|
} else if (withDefaults) {
|
|
@@ -36035,6 +36113,13 @@ $root.google = (function () {
|
|
|
36035
36113
|
} else {
|
|
36036
36114
|
delete result['wix.api.sampleData'];
|
|
36037
36115
|
}
|
|
36116
|
+
if (json['wix.api.conditional'] != null) {
|
|
36117
|
+
result['wix.api.conditional'] = $root.wix.api.Conditional.fromJSON(json['wix.api.conditional'], helper);
|
|
36118
|
+
} else if (withDefaults !== false) {
|
|
36119
|
+
delete result['wix.api.conditional'];
|
|
36120
|
+
} else {
|
|
36121
|
+
delete result['wix.api.conditional'];
|
|
36122
|
+
}
|
|
36038
36123
|
if (json['wix.api.max'] != null) {
|
|
36039
36124
|
result['wix.api.max'] = json['wix.api.max'] === 'NaN' ? NaN : json['wix.api.max'] === 'Infinity' ? Infinity : json['wix.api.max'] === '-Infinity' ? -Infinity : json['wix.api.max'];
|
|
36040
36125
|
} else if (withDefaults !== false) {
|
|
@@ -36165,6 +36250,9 @@ $root.google = (function () {
|
|
|
36165
36250
|
if (obj['wix.api.sampleData'] != null) {
|
|
36166
36251
|
grpc['wix.api.sampleData'] = obj['wix.api.sampleData'];
|
|
36167
36252
|
}
|
|
36253
|
+
if (obj['wix.api.conditional'] != null) {
|
|
36254
|
+
grpc['wix.api.conditional'] = $root.wix.api.Conditional.toGRPC(obj['wix.api.conditional'], helper);
|
|
36255
|
+
}
|
|
36168
36256
|
if (obj['wix.api.max'] != null) {
|
|
36169
36257
|
grpc['wix.api.max'] = obj['wix.api.max'];
|
|
36170
36258
|
}
|
|
@@ -36278,6 +36366,11 @@ $root.google = (function () {
|
|
|
36278
36366
|
} else {
|
|
36279
36367
|
result['wix.api.sampleData'] = '';
|
|
36280
36368
|
}
|
|
36369
|
+
if (grpc['wix.api.conditional'] != null) {
|
|
36370
|
+
result['wix.api.conditional'] = $root.wix.api.Conditional.fromGRPC(grpc['wix.api.conditional'], helper);
|
|
36371
|
+
} else {
|
|
36372
|
+
delete result['wix.api.conditional'];
|
|
36373
|
+
}
|
|
36281
36374
|
if (grpc['wix.api.max'] != null) {
|
|
36282
36375
|
result['wix.api.max'] = grpc['wix.api.max'];
|
|
36283
36376
|
} else {
|
|
@@ -1275,12 +1275,10 @@ declare namespace $requests {
|
|
|
1275
1275
|
}
|
|
1276
1276
|
export interface ICreateMethodOptions {
|
|
1277
1277
|
itemField: string;
|
|
1278
|
-
fieldmaskField: string;
|
|
1279
1278
|
}
|
|
1280
1279
|
export class CreateMethodOptions implements ICreateMethodOptions {
|
|
1281
1280
|
constructor(data?: ICreateMethodOptions);
|
|
1282
1281
|
itemField: string;
|
|
1283
|
-
fieldmaskField: string;
|
|
1284
1282
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1285
1283
|
}
|
|
1286
1284
|
export interface IGetItemMethodOptions {
|
|
@@ -1369,12 +1367,10 @@ declare namespace $requests {
|
|
|
1369
1367
|
}
|
|
1370
1368
|
export interface IBulkCreateMethodOptions {
|
|
1371
1369
|
itemField: string;
|
|
1372
|
-
fieldmaskField: string;
|
|
1373
1370
|
}
|
|
1374
1371
|
export class BulkCreateMethodOptions implements IBulkCreateMethodOptions {
|
|
1375
1372
|
constructor(data?: IBulkCreateMethodOptions);
|
|
1376
1373
|
itemField: string;
|
|
1377
|
-
fieldmaskField: string;
|
|
1378
1374
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1379
1375
|
}
|
|
1380
1376
|
export interface IBulkUpdateMethodOptions {
|
|
@@ -1586,6 +1582,16 @@ declare namespace $requests {
|
|
|
1586
1582
|
IMAGE_LINK = "IMAGE_LINK",
|
|
1587
1583
|
}
|
|
1588
1584
|
}
|
|
1585
|
+
export interface IConditional {
|
|
1586
|
+
permission: string;
|
|
1587
|
+
requestedField: string;
|
|
1588
|
+
}
|
|
1589
|
+
export class Conditional implements IConditional {
|
|
1590
|
+
constructor(data?: IConditional);
|
|
1591
|
+
permission: string;
|
|
1592
|
+
requestedField: string;
|
|
1593
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1594
|
+
}
|
|
1589
1595
|
export interface IServiceAppendix {
|
|
1590
1596
|
type: $requests.wix.api.ServiceAppendix.Type;
|
|
1591
1597
|
path: string;
|
|
@@ -2530,6 +2536,7 @@ declare namespace $requests {
|
|
|
2530
2536
|
'.wix.api.fieldDeprecated'?: $requests.wix.api.IDeprecated;
|
|
2531
2537
|
'.wix.api.translatable'?: $requests.wix.api.ITranslatable;
|
|
2532
2538
|
'.wix.api.sampleData': string;
|
|
2539
|
+
'.wix.api.conditional'?: $requests.wix.api.IConditional;
|
|
2533
2540
|
'.wix.api.max': number;
|
|
2534
2541
|
'.wix.api.min': number;
|
|
2535
2542
|
'.wix.api.maxLength': number;
|
|
@@ -2558,6 +2565,7 @@ declare namespace $requests {
|
|
|
2558
2565
|
'.wix.api.fieldDeprecated'?: $requests.wix.api.IDeprecated;
|
|
2559
2566
|
'.wix.api.translatable'?: $requests.wix.api.ITranslatable;
|
|
2560
2567
|
'.wix.api.sampleData': string;
|
|
2568
|
+
'.wix.api.conditional'?: $requests.wix.api.IConditional;
|
|
2561
2569
|
'.wix.api.max': number;
|
|
2562
2570
|
'.wix.api.min': number;
|
|
2563
2571
|
'.wix.api.maxLength': number;
|
|
@@ -4097,12 +4105,10 @@ declare namespace $responses {
|
|
|
4097
4105
|
}
|
|
4098
4106
|
export interface ICreateMethodOptions {
|
|
4099
4107
|
itemField?: string;
|
|
4100
|
-
fieldmaskField?: string;
|
|
4101
4108
|
}
|
|
4102
4109
|
export class CreateMethodOptions implements ICreateMethodOptions {
|
|
4103
4110
|
constructor(data?: ICreateMethodOptions);
|
|
4104
4111
|
itemField?: string;
|
|
4105
|
-
fieldmaskField?: string;
|
|
4106
4112
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4107
4113
|
}
|
|
4108
4114
|
export interface IGetItemMethodOptions {
|
|
@@ -4191,12 +4197,10 @@ declare namespace $responses {
|
|
|
4191
4197
|
}
|
|
4192
4198
|
export interface IBulkCreateMethodOptions {
|
|
4193
4199
|
itemField?: string;
|
|
4194
|
-
fieldmaskField?: string;
|
|
4195
4200
|
}
|
|
4196
4201
|
export class BulkCreateMethodOptions implements IBulkCreateMethodOptions {
|
|
4197
4202
|
constructor(data?: IBulkCreateMethodOptions);
|
|
4198
4203
|
itemField?: string;
|
|
4199
|
-
fieldmaskField?: string;
|
|
4200
4204
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4201
4205
|
}
|
|
4202
4206
|
export interface IBulkUpdateMethodOptions {
|
|
@@ -4408,6 +4412,16 @@ declare namespace $responses {
|
|
|
4408
4412
|
IMAGE_LINK = "IMAGE_LINK",
|
|
4409
4413
|
}
|
|
4410
4414
|
}
|
|
4415
|
+
export interface IConditional {
|
|
4416
|
+
permission?: string;
|
|
4417
|
+
requestedField?: string;
|
|
4418
|
+
}
|
|
4419
|
+
export class Conditional implements IConditional {
|
|
4420
|
+
constructor(data?: IConditional);
|
|
4421
|
+
permission?: string;
|
|
4422
|
+
requestedField?: string;
|
|
4423
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4424
|
+
}
|
|
4411
4425
|
export interface IServiceAppendix {
|
|
4412
4426
|
type?: $responses.wix.api.ServiceAppendix.Type;
|
|
4413
4427
|
path?: string;
|
|
@@ -5352,6 +5366,7 @@ declare namespace $responses {
|
|
|
5352
5366
|
'.wix.api.fieldDeprecated'?: $responses.wix.api.IDeprecated;
|
|
5353
5367
|
'.wix.api.translatable'?: $responses.wix.api.ITranslatable;
|
|
5354
5368
|
'.wix.api.sampleData'?: string;
|
|
5369
|
+
'.wix.api.conditional'?: $responses.wix.api.IConditional;
|
|
5355
5370
|
'.wix.api.max'?: number;
|
|
5356
5371
|
'.wix.api.min'?: number;
|
|
5357
5372
|
'.wix.api.maxLength'?: number;
|
|
@@ -5380,6 +5395,7 @@ declare namespace $responses {
|
|
|
5380
5395
|
'.wix.api.fieldDeprecated'?: $responses.wix.api.IDeprecated;
|
|
5381
5396
|
'.wix.api.translatable'?: $responses.wix.api.ITranslatable;
|
|
5382
5397
|
'.wix.api.sampleData'?: string;
|
|
5398
|
+
'.wix.api.conditional'?: $responses.wix.api.IConditional;
|
|
5383
5399
|
'.wix.api.max'?: number;
|
|
5384
5400
|
'.wix.api.min'?: number;
|
|
5385
5401
|
'.wix.api.maxLength'?: number;
|
|
@@ -1275,12 +1275,10 @@ declare namespace $requests {
|
|
|
1275
1275
|
}
|
|
1276
1276
|
export interface ICreateMethodOptions {
|
|
1277
1277
|
itemField?: string;
|
|
1278
|
-
fieldmaskField?: string;
|
|
1279
1278
|
}
|
|
1280
1279
|
export class CreateMethodOptions implements ICreateMethodOptions {
|
|
1281
1280
|
constructor(data?: ICreateMethodOptions);
|
|
1282
1281
|
itemField?: string;
|
|
1283
|
-
fieldmaskField?: string;
|
|
1284
1282
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1285
1283
|
}
|
|
1286
1284
|
export interface IGetItemMethodOptions {
|
|
@@ -1369,12 +1367,10 @@ declare namespace $requests {
|
|
|
1369
1367
|
}
|
|
1370
1368
|
export interface IBulkCreateMethodOptions {
|
|
1371
1369
|
itemField?: string;
|
|
1372
|
-
fieldmaskField?: string;
|
|
1373
1370
|
}
|
|
1374
1371
|
export class BulkCreateMethodOptions implements IBulkCreateMethodOptions {
|
|
1375
1372
|
constructor(data?: IBulkCreateMethodOptions);
|
|
1376
1373
|
itemField?: string;
|
|
1377
|
-
fieldmaskField?: string;
|
|
1378
1374
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1379
1375
|
}
|
|
1380
1376
|
export interface IBulkUpdateMethodOptions {
|
|
@@ -1586,6 +1582,16 @@ declare namespace $requests {
|
|
|
1586
1582
|
IMAGE_LINK = "IMAGE_LINK",
|
|
1587
1583
|
}
|
|
1588
1584
|
}
|
|
1585
|
+
export interface IConditional {
|
|
1586
|
+
permission?: string;
|
|
1587
|
+
requestedField?: string;
|
|
1588
|
+
}
|
|
1589
|
+
export class Conditional implements IConditional {
|
|
1590
|
+
constructor(data?: IConditional);
|
|
1591
|
+
permission?: string;
|
|
1592
|
+
requestedField?: string;
|
|
1593
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1594
|
+
}
|
|
1589
1595
|
export interface IServiceAppendix {
|
|
1590
1596
|
type?: $requests.wix.api.ServiceAppendix.Type;
|
|
1591
1597
|
path?: string;
|
|
@@ -2530,6 +2536,7 @@ declare namespace $requests {
|
|
|
2530
2536
|
'.wix.api.fieldDeprecated'?: $requests.wix.api.IDeprecated;
|
|
2531
2537
|
'.wix.api.translatable'?: $requests.wix.api.ITranslatable;
|
|
2532
2538
|
'.wix.api.sampleData'?: string;
|
|
2539
|
+
'.wix.api.conditional'?: $requests.wix.api.IConditional;
|
|
2533
2540
|
'.wix.api.max'?: number;
|
|
2534
2541
|
'.wix.api.min'?: number;
|
|
2535
2542
|
'.wix.api.maxLength'?: number;
|
|
@@ -2558,6 +2565,7 @@ declare namespace $requests {
|
|
|
2558
2565
|
'.wix.api.fieldDeprecated'?: $requests.wix.api.IDeprecated;
|
|
2559
2566
|
'.wix.api.translatable'?: $requests.wix.api.ITranslatable;
|
|
2560
2567
|
'.wix.api.sampleData'?: string;
|
|
2568
|
+
'.wix.api.conditional'?: $requests.wix.api.IConditional;
|
|
2561
2569
|
'.wix.api.max'?: number;
|
|
2562
2570
|
'.wix.api.min'?: number;
|
|
2563
2571
|
'.wix.api.maxLength'?: number;
|
|
@@ -4097,12 +4105,10 @@ declare namespace $responses {
|
|
|
4097
4105
|
}
|
|
4098
4106
|
export interface ICreateMethodOptions {
|
|
4099
4107
|
itemField: string;
|
|
4100
|
-
fieldmaskField: string;
|
|
4101
4108
|
}
|
|
4102
4109
|
export class CreateMethodOptions implements ICreateMethodOptions {
|
|
4103
4110
|
constructor(data?: ICreateMethodOptions);
|
|
4104
4111
|
itemField: string;
|
|
4105
|
-
fieldmaskField: string;
|
|
4106
4112
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4107
4113
|
}
|
|
4108
4114
|
export interface IGetItemMethodOptions {
|
|
@@ -4191,12 +4197,10 @@ declare namespace $responses {
|
|
|
4191
4197
|
}
|
|
4192
4198
|
export interface IBulkCreateMethodOptions {
|
|
4193
4199
|
itemField: string;
|
|
4194
|
-
fieldmaskField: string;
|
|
4195
4200
|
}
|
|
4196
4201
|
export class BulkCreateMethodOptions implements IBulkCreateMethodOptions {
|
|
4197
4202
|
constructor(data?: IBulkCreateMethodOptions);
|
|
4198
4203
|
itemField: string;
|
|
4199
|
-
fieldmaskField: string;
|
|
4200
4204
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4201
4205
|
}
|
|
4202
4206
|
export interface IBulkUpdateMethodOptions {
|
|
@@ -4408,6 +4412,16 @@ declare namespace $responses {
|
|
|
4408
4412
|
IMAGE_LINK = "IMAGE_LINK",
|
|
4409
4413
|
}
|
|
4410
4414
|
}
|
|
4415
|
+
export interface IConditional {
|
|
4416
|
+
permission: string;
|
|
4417
|
+
requestedField: string;
|
|
4418
|
+
}
|
|
4419
|
+
export class Conditional implements IConditional {
|
|
4420
|
+
constructor(data?: IConditional);
|
|
4421
|
+
permission: string;
|
|
4422
|
+
requestedField: string;
|
|
4423
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4424
|
+
}
|
|
4411
4425
|
export interface IServiceAppendix {
|
|
4412
4426
|
type: $responses.wix.api.ServiceAppendix.Type;
|
|
4413
4427
|
path: string;
|
|
@@ -5352,6 +5366,7 @@ declare namespace $responses {
|
|
|
5352
5366
|
'.wix.api.fieldDeprecated'?: $responses.wix.api.IDeprecated;
|
|
5353
5367
|
'.wix.api.translatable'?: $responses.wix.api.ITranslatable;
|
|
5354
5368
|
'.wix.api.sampleData': string;
|
|
5369
|
+
'.wix.api.conditional'?: $responses.wix.api.IConditional;
|
|
5355
5370
|
'.wix.api.max': number;
|
|
5356
5371
|
'.wix.api.min': number;
|
|
5357
5372
|
'.wix.api.maxLength': number;
|
|
@@ -5380,6 +5395,7 @@ declare namespace $responses {
|
|
|
5380
5395
|
'.wix.api.fieldDeprecated'?: $responses.wix.api.IDeprecated;
|
|
5381
5396
|
'.wix.api.translatable'?: $responses.wix.api.ITranslatable;
|
|
5382
5397
|
'.wix.api.sampleData': string;
|
|
5398
|
+
'.wix.api.conditional'?: $responses.wix.api.IConditional;
|
|
5383
5399
|
'.wix.api.max': number;
|
|
5384
5400
|
'.wix.api.min': number;
|
|
5385
5401
|
'.wix.api.maxLength': number;
|
|
@@ -1288,12 +1288,10 @@ declare namespace $wrapper {
|
|
|
1288
1288
|
}
|
|
1289
1289
|
export interface ICreateMethodOptions {
|
|
1290
1290
|
itemField?: (string | null);
|
|
1291
|
-
fieldmaskField?: (string | null);
|
|
1292
1291
|
}
|
|
1293
1292
|
export class CreateMethodOptions implements ICreateMethodOptions {
|
|
1294
1293
|
constructor(data?: ICreateMethodOptions);
|
|
1295
1294
|
itemField?: (string | null);
|
|
1296
|
-
fieldmaskField?: (string | null);
|
|
1297
1295
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1298
1296
|
}
|
|
1299
1297
|
export interface IGetItemMethodOptions {
|
|
@@ -1382,12 +1380,10 @@ declare namespace $wrapper {
|
|
|
1382
1380
|
}
|
|
1383
1381
|
export interface IBulkCreateMethodOptions {
|
|
1384
1382
|
itemField?: (string | null);
|
|
1385
|
-
fieldmaskField?: (string | null);
|
|
1386
1383
|
}
|
|
1387
1384
|
export class BulkCreateMethodOptions implements IBulkCreateMethodOptions {
|
|
1388
1385
|
constructor(data?: IBulkCreateMethodOptions);
|
|
1389
1386
|
itemField?: (string | null);
|
|
1390
|
-
fieldmaskField?: (string | null);
|
|
1391
1387
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1392
1388
|
}
|
|
1393
1389
|
export interface IBulkUpdateMethodOptions {
|
|
@@ -1599,6 +1595,16 @@ declare namespace $wrapper {
|
|
|
1599
1595
|
IMAGE_LINK = "IMAGE_LINK",
|
|
1600
1596
|
}
|
|
1601
1597
|
}
|
|
1598
|
+
export interface IConditional {
|
|
1599
|
+
permission?: (string | null);
|
|
1600
|
+
requestedField?: (string | null);
|
|
1601
|
+
}
|
|
1602
|
+
export class Conditional implements IConditional {
|
|
1603
|
+
constructor(data?: IConditional);
|
|
1604
|
+
permission?: (string | null);
|
|
1605
|
+
requestedField?: (string | null);
|
|
1606
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1607
|
+
}
|
|
1602
1608
|
export interface IServiceAppendix {
|
|
1603
1609
|
type?: ($wrapper.wix.api.ServiceAppendix.Type | null);
|
|
1604
1610
|
path?: (string | null);
|
|
@@ -2543,6 +2549,7 @@ declare namespace $wrapper {
|
|
|
2543
2549
|
'.wix.api.fieldDeprecated'?: ($wrapper.wix.api.IDeprecated | null);
|
|
2544
2550
|
'.wix.api.translatable'?: ($wrapper.wix.api.ITranslatable | null);
|
|
2545
2551
|
'.wix.api.sampleData'?: (string | null);
|
|
2552
|
+
'.wix.api.conditional'?: ($wrapper.wix.api.IConditional | null);
|
|
2546
2553
|
'.wix.api.max'?: (number | null);
|
|
2547
2554
|
'.wix.api.min'?: (number | null);
|
|
2548
2555
|
'.wix.api.maxLength'?: (number | null);
|
|
@@ -2571,6 +2578,7 @@ declare namespace $wrapper {
|
|
|
2571
2578
|
'.wix.api.fieldDeprecated'?: ($wrapper.wix.api.IDeprecated | null);
|
|
2572
2579
|
'.wix.api.translatable'?: ($wrapper.wix.api.ITranslatable | null);
|
|
2573
2580
|
'.wix.api.sampleData'?: (string | null);
|
|
2581
|
+
'.wix.api.conditional'?: ($wrapper.wix.api.IConditional | null);
|
|
2574
2582
|
'.wix.api.max'?: (number | null);
|
|
2575
2583
|
'.wix.api.min'?: (number | null);
|
|
2576
2584
|
'.wix.api.maxLength'?: (number | null);
|
package/dist/src/proto/index.js
CHANGED
|
@@ -10,7 +10,7 @@ $root.__options = {
|
|
|
10
10
|
'stringLongs': true,
|
|
11
11
|
'stdCase': false,
|
|
12
12
|
'generatorVersion': '2.0.1111',
|
|
13
|
-
'contentHash': '
|
|
13
|
+
'contentHash': 'fea895dd3829f1278f2b009ade154ff4fb3275a1'
|
|
14
14
|
};
|
|
15
15
|
$root.__lookup = function (pbjs) {
|
|
16
16
|
const root = pbjs.Root.fromJSON({
|
|
@@ -2873,6 +2873,13 @@ $root.__lookup = function (pbjs) {
|
|
|
2873
2873
|
'comment': null,
|
|
2874
2874
|
'parsedOptions': null
|
|
2875
2875
|
},
|
|
2876
|
+
'conditional': {
|
|
2877
|
+
'type': 'Conditional',
|
|
2878
|
+
'id': 50151,
|
|
2879
|
+
'extend': 'google.protobuf.FieldOptions',
|
|
2880
|
+
'comment': null,
|
|
2881
|
+
'parsedOptions': null
|
|
2882
|
+
},
|
|
2876
2883
|
'enumMaturity': {
|
|
2877
2884
|
'type': 'Maturity',
|
|
2878
2885
|
'id': 50130,
|
|
@@ -3179,12 +3186,6 @@ $root.__lookup = function (pbjs) {
|
|
|
3179
3186
|
'id': 1,
|
|
3180
3187
|
'comment': null,
|
|
3181
3188
|
'parsedOptions': null
|
|
3182
|
-
},
|
|
3183
|
-
'fieldmaskField': {
|
|
3184
|
-
'type': 'string',
|
|
3185
|
-
'id': 2,
|
|
3186
|
-
'comment': null,
|
|
3187
|
-
'parsedOptions': null
|
|
3188
3189
|
}
|
|
3189
3190
|
},
|
|
3190
3191
|
'comment': null
|
|
@@ -3365,12 +3366,6 @@ $root.__lookup = function (pbjs) {
|
|
|
3365
3366
|
'id': 1,
|
|
3366
3367
|
'comment': null,
|
|
3367
3368
|
'parsedOptions': null
|
|
3368
|
-
},
|
|
3369
|
-
'fieldmaskField': {
|
|
3370
|
-
'type': 'string',
|
|
3371
|
-
'id': 2,
|
|
3372
|
-
'comment': null,
|
|
3373
|
-
'parsedOptions': null
|
|
3374
3369
|
}
|
|
3375
3370
|
},
|
|
3376
3371
|
'comment': null
|
|
@@ -3808,6 +3803,23 @@ $root.__lookup = function (pbjs) {
|
|
|
3808
3803
|
},
|
|
3809
3804
|
'comment': null
|
|
3810
3805
|
},
|
|
3806
|
+
'Conditional': {
|
|
3807
|
+
'fields': {
|
|
3808
|
+
'permission': {
|
|
3809
|
+
'type': 'string',
|
|
3810
|
+
'id': 1,
|
|
3811
|
+
'comment': null,
|
|
3812
|
+
'parsedOptions': null
|
|
3813
|
+
},
|
|
3814
|
+
'requestedField': {
|
|
3815
|
+
'type': 'string',
|
|
3816
|
+
'id': 2,
|
|
3817
|
+
'comment': null,
|
|
3818
|
+
'parsedOptions': null
|
|
3819
|
+
}
|
|
3820
|
+
},
|
|
3821
|
+
'comment': null
|
|
3822
|
+
},
|
|
3811
3823
|
'ServiceAppendix': {
|
|
3812
3824
|
'fields': {
|
|
3813
3825
|
'type': {
|
|
@@ -20273,7 +20285,6 @@ $root.wix = (function () {
|
|
|
20273
20285
|
class CreateMethodOptions {
|
|
20274
20286
|
constructor(props) {
|
|
20275
20287
|
this.itemField = props && props.itemField;
|
|
20276
|
-
this.fieldmaskField = props && props.fieldmaskField;
|
|
20277
20288
|
}
|
|
20278
20289
|
static toJSON(obj, helper, withDefaults) {
|
|
20279
20290
|
if (obj == null) {
|
|
@@ -20285,11 +20296,6 @@ $root.wix = (function () {
|
|
|
20285
20296
|
} else if (withDefaults) {
|
|
20286
20297
|
json['itemField'] = '';
|
|
20287
20298
|
}
|
|
20288
|
-
if (obj['fieldmaskField'] != null) {
|
|
20289
|
-
json['fieldmaskField'] = obj['fieldmaskField'];
|
|
20290
|
-
} else if (withDefaults) {
|
|
20291
|
-
json['fieldmaskField'] = '';
|
|
20292
|
-
}
|
|
20293
20299
|
return json;
|
|
20294
20300
|
}
|
|
20295
20301
|
}
|
|
@@ -20303,13 +20309,6 @@ $root.wix = (function () {
|
|
|
20303
20309
|
} else {
|
|
20304
20310
|
delete result['itemField'];
|
|
20305
20311
|
}
|
|
20306
|
-
if (json['fieldmaskField'] != null) {
|
|
20307
|
-
result['fieldmaskField'] = json['fieldmaskField'];
|
|
20308
|
-
} else if (withDefaults !== false) {
|
|
20309
|
-
result['fieldmaskField'] = '';
|
|
20310
|
-
} else {
|
|
20311
|
-
delete result['fieldmaskField'];
|
|
20312
|
-
}
|
|
20313
20312
|
return result;
|
|
20314
20313
|
} else
|
|
20315
20314
|
return json;
|
|
@@ -20322,9 +20321,6 @@ $root.wix = (function () {
|
|
|
20322
20321
|
if (obj['itemField'] != null) {
|
|
20323
20322
|
grpc['itemField'] = obj['itemField'];
|
|
20324
20323
|
}
|
|
20325
|
-
if (obj['fieldmaskField'] != null) {
|
|
20326
|
-
grpc['fieldmaskField'] = obj['fieldmaskField'];
|
|
20327
|
-
}
|
|
20328
20324
|
return grpc;
|
|
20329
20325
|
}
|
|
20330
20326
|
}
|
|
@@ -20338,11 +20334,6 @@ $root.wix = (function () {
|
|
|
20338
20334
|
} else {
|
|
20339
20335
|
result['itemField'] = '';
|
|
20340
20336
|
}
|
|
20341
|
-
if (grpc['fieldmaskField'] != null) {
|
|
20342
|
-
result['fieldmaskField'] = grpc['fieldmaskField'];
|
|
20343
|
-
} else {
|
|
20344
|
-
result['fieldmaskField'] = '';
|
|
20345
|
-
}
|
|
20346
20337
|
return result;
|
|
20347
20338
|
}
|
|
20348
20339
|
}
|
|
@@ -21260,7 +21251,6 @@ $root.wix = (function () {
|
|
|
21260
21251
|
class BulkCreateMethodOptions {
|
|
21261
21252
|
constructor(props) {
|
|
21262
21253
|
this.itemField = props && props.itemField;
|
|
21263
|
-
this.fieldmaskField = props && props.fieldmaskField;
|
|
21264
21254
|
}
|
|
21265
21255
|
static toJSON(obj, helper, withDefaults) {
|
|
21266
21256
|
if (obj == null) {
|
|
@@ -21272,11 +21262,6 @@ $root.wix = (function () {
|
|
|
21272
21262
|
} else if (withDefaults) {
|
|
21273
21263
|
json['itemField'] = '';
|
|
21274
21264
|
}
|
|
21275
|
-
if (obj['fieldmaskField'] != null) {
|
|
21276
|
-
json['fieldmaskField'] = obj['fieldmaskField'];
|
|
21277
|
-
} else if (withDefaults) {
|
|
21278
|
-
json['fieldmaskField'] = '';
|
|
21279
|
-
}
|
|
21280
21265
|
return json;
|
|
21281
21266
|
}
|
|
21282
21267
|
}
|
|
@@ -21290,13 +21275,6 @@ $root.wix = (function () {
|
|
|
21290
21275
|
} else {
|
|
21291
21276
|
delete result['itemField'];
|
|
21292
21277
|
}
|
|
21293
|
-
if (json['fieldmaskField'] != null) {
|
|
21294
|
-
result['fieldmaskField'] = json['fieldmaskField'];
|
|
21295
|
-
} else if (withDefaults !== false) {
|
|
21296
|
-
result['fieldmaskField'] = '';
|
|
21297
|
-
} else {
|
|
21298
|
-
delete result['fieldmaskField'];
|
|
21299
|
-
}
|
|
21300
21278
|
return result;
|
|
21301
21279
|
} else
|
|
21302
21280
|
return json;
|
|
@@ -21309,9 +21287,6 @@ $root.wix = (function () {
|
|
|
21309
21287
|
if (obj['itemField'] != null) {
|
|
21310
21288
|
grpc['itemField'] = obj['itemField'];
|
|
21311
21289
|
}
|
|
21312
|
-
if (obj['fieldmaskField'] != null) {
|
|
21313
|
-
grpc['fieldmaskField'] = obj['fieldmaskField'];
|
|
21314
|
-
}
|
|
21315
21290
|
return grpc;
|
|
21316
21291
|
}
|
|
21317
21292
|
}
|
|
@@ -21325,11 +21300,6 @@ $root.wix = (function () {
|
|
|
21325
21300
|
} else {
|
|
21326
21301
|
result['itemField'] = '';
|
|
21327
21302
|
}
|
|
21328
|
-
if (grpc['fieldmaskField'] != null) {
|
|
21329
|
-
result['fieldmaskField'] = grpc['fieldmaskField'];
|
|
21330
|
-
} else {
|
|
21331
|
-
result['fieldmaskField'] = '';
|
|
21332
|
-
}
|
|
21333
21303
|
return result;
|
|
21334
21304
|
}
|
|
21335
21305
|
}
|
|
@@ -23866,6 +23836,108 @@ $root.wix = (function () {
|
|
|
23866
23836
|
});
|
|
23867
23837
|
return Translatable;
|
|
23868
23838
|
}());;
|
|
23839
|
+
_api.Conditional = (function () {
|
|
23840
|
+
class Conditional {
|
|
23841
|
+
constructor(props) {
|
|
23842
|
+
this.permission = props && props.permission;
|
|
23843
|
+
this.requestedField = props && props.requestedField;
|
|
23844
|
+
}
|
|
23845
|
+
static toJSON(obj, helper, withDefaults) {
|
|
23846
|
+
if (obj == null) {
|
|
23847
|
+
return null;
|
|
23848
|
+
} else {
|
|
23849
|
+
const json = {};
|
|
23850
|
+
if (obj['permission'] != null) {
|
|
23851
|
+
json['permission'] = obj['permission'];
|
|
23852
|
+
} else if (withDefaults) {
|
|
23853
|
+
json['permission'] = '';
|
|
23854
|
+
}
|
|
23855
|
+
if (obj['requestedField'] != null) {
|
|
23856
|
+
json['requestedField'] = obj['requestedField'];
|
|
23857
|
+
} else if (withDefaults) {
|
|
23858
|
+
json['requestedField'] = '';
|
|
23859
|
+
}
|
|
23860
|
+
return json;
|
|
23861
|
+
}
|
|
23862
|
+
}
|
|
23863
|
+
static fromJSON(json, helper, withDefaults) {
|
|
23864
|
+
if (typeof json === 'object' && !Array.isArray(json)) {
|
|
23865
|
+
const result = new $root.wix.api.Conditional();
|
|
23866
|
+
if (json['permission'] != null) {
|
|
23867
|
+
result['permission'] = json['permission'];
|
|
23868
|
+
} else if (withDefaults !== false) {
|
|
23869
|
+
result['permission'] = '';
|
|
23870
|
+
} else {
|
|
23871
|
+
delete result['permission'];
|
|
23872
|
+
}
|
|
23873
|
+
if (json['requestedField'] != null) {
|
|
23874
|
+
result['requestedField'] = json['requestedField'];
|
|
23875
|
+
} else if (withDefaults !== false) {
|
|
23876
|
+
result['requestedField'] = '';
|
|
23877
|
+
} else {
|
|
23878
|
+
delete result['requestedField'];
|
|
23879
|
+
}
|
|
23880
|
+
return result;
|
|
23881
|
+
} else
|
|
23882
|
+
return json;
|
|
23883
|
+
}
|
|
23884
|
+
static toGRPC(obj, helper) {
|
|
23885
|
+
if (obj == null) {
|
|
23886
|
+
return null;
|
|
23887
|
+
} else {
|
|
23888
|
+
const grpc = {};
|
|
23889
|
+
if (obj['permission'] != null) {
|
|
23890
|
+
grpc['permission'] = obj['permission'];
|
|
23891
|
+
}
|
|
23892
|
+
if (obj['requestedField'] != null) {
|
|
23893
|
+
grpc['requestedField'] = obj['requestedField'];
|
|
23894
|
+
}
|
|
23895
|
+
return grpc;
|
|
23896
|
+
}
|
|
23897
|
+
}
|
|
23898
|
+
static fromGRPC(grpc, helper) {
|
|
23899
|
+
if (grpc == null) {
|
|
23900
|
+
return null;
|
|
23901
|
+
} else {
|
|
23902
|
+
const result = new $root.wix.api.Conditional();
|
|
23903
|
+
if (grpc['permission'] != null) {
|
|
23904
|
+
result['permission'] = grpc['permission'];
|
|
23905
|
+
} else {
|
|
23906
|
+
result['permission'] = '';
|
|
23907
|
+
}
|
|
23908
|
+
if (grpc['requestedField'] != null) {
|
|
23909
|
+
result['requestedField'] = grpc['requestedField'];
|
|
23910
|
+
} else {
|
|
23911
|
+
result['requestedField'] = '';
|
|
23912
|
+
}
|
|
23913
|
+
return result;
|
|
23914
|
+
}
|
|
23915
|
+
}
|
|
23916
|
+
}
|
|
23917
|
+
__builtIn.Object.defineProperty(Conditional.prototype, '__proto', {
|
|
23918
|
+
value: pbjs => {
|
|
23919
|
+
return $root.__lookup(pbjs)('wix.api.Conditional');
|
|
23920
|
+
},
|
|
23921
|
+
enumerable: false,
|
|
23922
|
+
configurable: false
|
|
23923
|
+
});
|
|
23924
|
+
__builtIn.Object.defineProperty(Conditional.prototype, '__fqn__', {
|
|
23925
|
+
value: 'wix.api.Conditional',
|
|
23926
|
+
enumerable: false,
|
|
23927
|
+
configurable: false
|
|
23928
|
+
});
|
|
23929
|
+
__builtIn.Object.defineProperty(Conditional.prototype, '__options__', {
|
|
23930
|
+
value: $root.__options,
|
|
23931
|
+
enumerable: false,
|
|
23932
|
+
configurable: false
|
|
23933
|
+
});
|
|
23934
|
+
__builtIn.Object.defineProperty(Conditional.prototype, '__root__', {
|
|
23935
|
+
value: $root,
|
|
23936
|
+
enumerable: false,
|
|
23937
|
+
configurable: false
|
|
23938
|
+
});
|
|
23939
|
+
return Conditional;
|
|
23940
|
+
}());;
|
|
23869
23941
|
_api.ServiceAppendix = (function () {
|
|
23870
23942
|
class ServiceAppendix {
|
|
23871
23943
|
constructor(props) {
|
|
@@ -35785,6 +35857,7 @@ $root.google = (function () {
|
|
|
35785
35857
|
this['wix.api.fieldDeprecated'] = props && props['wix.api.fieldDeprecated'];
|
|
35786
35858
|
this['wix.api.translatable'] = props && props['wix.api.translatable'];
|
|
35787
35859
|
this['wix.api.sampleData'] = props && props['wix.api.sampleData'];
|
|
35860
|
+
this['wix.api.conditional'] = props && props['wix.api.conditional'];
|
|
35788
35861
|
this['wix.api.max'] = props && props['wix.api.max'];
|
|
35789
35862
|
this['wix.api.min'] = props && props['wix.api.min'];
|
|
35790
35863
|
this['wix.api.maxLength'] = props && props['wix.api.maxLength'];
|
|
@@ -35874,6 +35947,11 @@ $root.google = (function () {
|
|
|
35874
35947
|
} else if (withDefaults) {
|
|
35875
35948
|
json['wix.api.sampleData'] = '';
|
|
35876
35949
|
}
|
|
35950
|
+
if (obj['wix.api.conditional'] != null) {
|
|
35951
|
+
json['wix.api.conditional'] = $root.wix.api.Conditional.toJSON(obj['wix.api.conditional'], helper, withDefaults);
|
|
35952
|
+
} else if (withDefaults) {
|
|
35953
|
+
delete json['wix.api.conditional'];
|
|
35954
|
+
}
|
|
35877
35955
|
if (obj['wix.api.max'] != null) {
|
|
35878
35956
|
json['wix.api.max'] = obj['wix.api.max'] == null ? obj['wix.api.max'] : isNaN(obj['wix.api.max']) ? 'NaN' : isFinite(obj['wix.api.max']) ? obj['wix.api.max'] : obj['wix.api.max'].toString();
|
|
35879
35957
|
} else if (withDefaults) {
|
|
@@ -36035,6 +36113,13 @@ $root.google = (function () {
|
|
|
36035
36113
|
} else {
|
|
36036
36114
|
delete result['wix.api.sampleData'];
|
|
36037
36115
|
}
|
|
36116
|
+
if (json['wix.api.conditional'] != null) {
|
|
36117
|
+
result['wix.api.conditional'] = $root.wix.api.Conditional.fromJSON(json['wix.api.conditional'], helper);
|
|
36118
|
+
} else if (withDefaults !== false) {
|
|
36119
|
+
delete result['wix.api.conditional'];
|
|
36120
|
+
} else {
|
|
36121
|
+
delete result['wix.api.conditional'];
|
|
36122
|
+
}
|
|
36038
36123
|
if (json['wix.api.max'] != null) {
|
|
36039
36124
|
result['wix.api.max'] = json['wix.api.max'] === 'NaN' ? NaN : json['wix.api.max'] === 'Infinity' ? Infinity : json['wix.api.max'] === '-Infinity' ? -Infinity : json['wix.api.max'];
|
|
36040
36125
|
} else if (withDefaults !== false) {
|
|
@@ -36165,6 +36250,9 @@ $root.google = (function () {
|
|
|
36165
36250
|
if (obj['wix.api.sampleData'] != null) {
|
|
36166
36251
|
grpc['wix.api.sampleData'] = obj['wix.api.sampleData'];
|
|
36167
36252
|
}
|
|
36253
|
+
if (obj['wix.api.conditional'] != null) {
|
|
36254
|
+
grpc['wix.api.conditional'] = $root.wix.api.Conditional.toGRPC(obj['wix.api.conditional'], helper);
|
|
36255
|
+
}
|
|
36168
36256
|
if (obj['wix.api.max'] != null) {
|
|
36169
36257
|
grpc['wix.api.max'] = obj['wix.api.max'];
|
|
36170
36258
|
}
|
|
@@ -36278,6 +36366,11 @@ $root.google = (function () {
|
|
|
36278
36366
|
} else {
|
|
36279
36367
|
result['wix.api.sampleData'] = '';
|
|
36280
36368
|
}
|
|
36369
|
+
if (grpc['wix.api.conditional'] != null) {
|
|
36370
|
+
result['wix.api.conditional'] = $root.wix.api.Conditional.fromGRPC(grpc['wix.api.conditional'], helper);
|
|
36371
|
+
} else {
|
|
36372
|
+
delete result['wix.api.conditional'];
|
|
36373
|
+
}
|
|
36281
36374
|
if (grpc['wix.api.max'] != null) {
|
|
36282
36375
|
result['wix.api.max'] = grpc['wix.api.max'];
|
|
36283
36376
|
} else {
|
|
@@ -1275,12 +1275,10 @@ declare namespace $requests {
|
|
|
1275
1275
|
}
|
|
1276
1276
|
export interface ICreateMethodOptions {
|
|
1277
1277
|
itemField: string;
|
|
1278
|
-
fieldmaskField: string;
|
|
1279
1278
|
}
|
|
1280
1279
|
export class CreateMethodOptions implements ICreateMethodOptions {
|
|
1281
1280
|
constructor(data?: ICreateMethodOptions);
|
|
1282
1281
|
itemField: string;
|
|
1283
|
-
fieldmaskField: string;
|
|
1284
1282
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1285
1283
|
}
|
|
1286
1284
|
export interface IGetItemMethodOptions {
|
|
@@ -1369,12 +1367,10 @@ declare namespace $requests {
|
|
|
1369
1367
|
}
|
|
1370
1368
|
export interface IBulkCreateMethodOptions {
|
|
1371
1369
|
itemField: string;
|
|
1372
|
-
fieldmaskField: string;
|
|
1373
1370
|
}
|
|
1374
1371
|
export class BulkCreateMethodOptions implements IBulkCreateMethodOptions {
|
|
1375
1372
|
constructor(data?: IBulkCreateMethodOptions);
|
|
1376
1373
|
itemField: string;
|
|
1377
|
-
fieldmaskField: string;
|
|
1378
1374
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1379
1375
|
}
|
|
1380
1376
|
export interface IBulkUpdateMethodOptions {
|
|
@@ -1586,6 +1582,16 @@ declare namespace $requests {
|
|
|
1586
1582
|
IMAGE_LINK = "IMAGE_LINK",
|
|
1587
1583
|
}
|
|
1588
1584
|
}
|
|
1585
|
+
export interface IConditional {
|
|
1586
|
+
permission: string;
|
|
1587
|
+
requestedField: string;
|
|
1588
|
+
}
|
|
1589
|
+
export class Conditional implements IConditional {
|
|
1590
|
+
constructor(data?: IConditional);
|
|
1591
|
+
permission: string;
|
|
1592
|
+
requestedField: string;
|
|
1593
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1594
|
+
}
|
|
1589
1595
|
export interface IServiceAppendix {
|
|
1590
1596
|
type: $requests.wix.api.ServiceAppendix.Type;
|
|
1591
1597
|
path: string;
|
|
@@ -2530,6 +2536,7 @@ declare namespace $requests {
|
|
|
2530
2536
|
'.wix.api.fieldDeprecated'?: $requests.wix.api.IDeprecated;
|
|
2531
2537
|
'.wix.api.translatable'?: $requests.wix.api.ITranslatable;
|
|
2532
2538
|
'.wix.api.sampleData': string;
|
|
2539
|
+
'.wix.api.conditional'?: $requests.wix.api.IConditional;
|
|
2533
2540
|
'.wix.api.max': number;
|
|
2534
2541
|
'.wix.api.min': number;
|
|
2535
2542
|
'.wix.api.maxLength': number;
|
|
@@ -2558,6 +2565,7 @@ declare namespace $requests {
|
|
|
2558
2565
|
'.wix.api.fieldDeprecated'?: $requests.wix.api.IDeprecated;
|
|
2559
2566
|
'.wix.api.translatable'?: $requests.wix.api.ITranslatable;
|
|
2560
2567
|
'.wix.api.sampleData': string;
|
|
2568
|
+
'.wix.api.conditional'?: $requests.wix.api.IConditional;
|
|
2561
2569
|
'.wix.api.max': number;
|
|
2562
2570
|
'.wix.api.min': number;
|
|
2563
2571
|
'.wix.api.maxLength': number;
|
|
@@ -4097,12 +4105,10 @@ declare namespace $responses {
|
|
|
4097
4105
|
}
|
|
4098
4106
|
export interface ICreateMethodOptions {
|
|
4099
4107
|
itemField?: string;
|
|
4100
|
-
fieldmaskField?: string;
|
|
4101
4108
|
}
|
|
4102
4109
|
export class CreateMethodOptions implements ICreateMethodOptions {
|
|
4103
4110
|
constructor(data?: ICreateMethodOptions);
|
|
4104
4111
|
itemField?: string;
|
|
4105
|
-
fieldmaskField?: string;
|
|
4106
4112
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4107
4113
|
}
|
|
4108
4114
|
export interface IGetItemMethodOptions {
|
|
@@ -4191,12 +4197,10 @@ declare namespace $responses {
|
|
|
4191
4197
|
}
|
|
4192
4198
|
export interface IBulkCreateMethodOptions {
|
|
4193
4199
|
itemField?: string;
|
|
4194
|
-
fieldmaskField?: string;
|
|
4195
4200
|
}
|
|
4196
4201
|
export class BulkCreateMethodOptions implements IBulkCreateMethodOptions {
|
|
4197
4202
|
constructor(data?: IBulkCreateMethodOptions);
|
|
4198
4203
|
itemField?: string;
|
|
4199
|
-
fieldmaskField?: string;
|
|
4200
4204
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4201
4205
|
}
|
|
4202
4206
|
export interface IBulkUpdateMethodOptions {
|
|
@@ -4408,6 +4412,16 @@ declare namespace $responses {
|
|
|
4408
4412
|
IMAGE_LINK = "IMAGE_LINK",
|
|
4409
4413
|
}
|
|
4410
4414
|
}
|
|
4415
|
+
export interface IConditional {
|
|
4416
|
+
permission?: string;
|
|
4417
|
+
requestedField?: string;
|
|
4418
|
+
}
|
|
4419
|
+
export class Conditional implements IConditional {
|
|
4420
|
+
constructor(data?: IConditional);
|
|
4421
|
+
permission?: string;
|
|
4422
|
+
requestedField?: string;
|
|
4423
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4424
|
+
}
|
|
4411
4425
|
export interface IServiceAppendix {
|
|
4412
4426
|
type?: $responses.wix.api.ServiceAppendix.Type;
|
|
4413
4427
|
path?: string;
|
|
@@ -5352,6 +5366,7 @@ declare namespace $responses {
|
|
|
5352
5366
|
'.wix.api.fieldDeprecated'?: $responses.wix.api.IDeprecated;
|
|
5353
5367
|
'.wix.api.translatable'?: $responses.wix.api.ITranslatable;
|
|
5354
5368
|
'.wix.api.sampleData'?: string;
|
|
5369
|
+
'.wix.api.conditional'?: $responses.wix.api.IConditional;
|
|
5355
5370
|
'.wix.api.max'?: number;
|
|
5356
5371
|
'.wix.api.min'?: number;
|
|
5357
5372
|
'.wix.api.maxLength'?: number;
|
|
@@ -5380,6 +5395,7 @@ declare namespace $responses {
|
|
|
5380
5395
|
'.wix.api.fieldDeprecated'?: $responses.wix.api.IDeprecated;
|
|
5381
5396
|
'.wix.api.translatable'?: $responses.wix.api.ITranslatable;
|
|
5382
5397
|
'.wix.api.sampleData'?: string;
|
|
5398
|
+
'.wix.api.conditional'?: $responses.wix.api.IConditional;
|
|
5383
5399
|
'.wix.api.max'?: number;
|
|
5384
5400
|
'.wix.api.min'?: number;
|
|
5385
5401
|
'.wix.api.maxLength'?: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/metro-common-builders",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1119",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Eli Ponyatovski",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"*.{js,ts}": "yoshi lint"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@wix/metro-runtime": "1.
|
|
36
|
+
"@wix/metro-runtime": "1.1478.0",
|
|
37
37
|
"long": "^5.1.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"wallaby": {
|
|
70
70
|
"autoDetect": true
|
|
71
71
|
},
|
|
72
|
-
"falconPackageHash": "
|
|
72
|
+
"falconPackageHash": "2d49f62d9eb35607f793f323f5b3bdaa89b4f36e529dbeb111b8afd8"
|
|
73
73
|
}
|