@wix/metro-common-builders 1.0.1412 → 1.0.1414

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.
@@ -10,7 +10,7 @@ $root.__options = {
10
10
  'stringLongs': true,
11
11
  'stdCase': false,
12
12
  'generatorVersion': '2.0.1155',
13
- 'contentHash': '25087fab2ac69a8af5a94a1edca8ee2f45b4ccf7'
13
+ 'contentHash': 'f7f4cfd073010b7cd273e198fa26f91bf240654d'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -348,6 +348,108 @@ $root.__lookup = function (pbjs) {
348
348
  'id': 24,
349
349
  'comment': null,
350
350
  'parsedOptions': null
351
+ },
352
+ 'queryOptions': {
353
+ 'type': 'QueryOptions',
354
+ 'id': 25,
355
+ 'comment': null,
356
+ 'parsedOptions': null
357
+ }
358
+ },
359
+ 'comment': null
360
+ },
361
+ 'QueryOptions': {
362
+ 'fields': {
363
+ 'wql': {
364
+ 'type': 'Wql',
365
+ 'id': 1,
366
+ 'comment': null,
367
+ 'parsedOptions': null
368
+ },
369
+ 'search': {
370
+ 'rule': 'repeated',
371
+ 'type': 'Search',
372
+ 'id': 2,
373
+ 'options': { '(.wix.api.maxSize)': 50 },
374
+ 'comment': null,
375
+ 'parsedOptions': [{
376
+ '(.wix.api.maxSize)': 50,
377
+ '__comment': null
378
+ }]
379
+ },
380
+ 'additionalQueryOptions': {
381
+ 'rule': 'repeated',
382
+ 'type': 'NamedQueryOptions',
383
+ 'id': 3,
384
+ 'options': { '(.wix.api.maxSize)': 50 },
385
+ 'comment': null,
386
+ 'parsedOptions': [{
387
+ '(.wix.api.maxSize)': 50,
388
+ '__comment': null
389
+ }]
390
+ }
391
+ },
392
+ 'comment': null
393
+ },
394
+ 'NamedQueryOptions': {
395
+ 'fields': {
396
+ 'name': {
397
+ 'type': 'string',
398
+ 'id': 1,
399
+ 'options': { '(wix.api.maxLength)': 1000 },
400
+ 'comment': null,
401
+ 'parsedOptions': [{
402
+ '(wix.api.maxLength)': 1000,
403
+ '__comment': null
404
+ }]
405
+ },
406
+ 'wql': {
407
+ 'type': 'Wql',
408
+ 'id': 2,
409
+ 'comment': null,
410
+ 'parsedOptions': null
411
+ },
412
+ 'search': {
413
+ 'rule': 'repeated',
414
+ 'type': 'Search',
415
+ 'id': 3,
416
+ 'options': { '(.wix.api.maxSize)': 50 },
417
+ 'comment': null,
418
+ 'parsedOptions': [{
419
+ '(.wix.api.maxSize)': 50,
420
+ '__comment': null
421
+ }]
422
+ }
423
+ },
424
+ 'comment': null
425
+ },
426
+ 'Search': {
427
+ 'fields': {
428
+ 'field': {
429
+ 'rule': 'repeated',
430
+ 'type': 'string',
431
+ 'id': 1,
432
+ 'options': {
433
+ '(wix.api.maxSize)': 50,
434
+ '(wix.api.maxLength)': 200
435
+ },
436
+ 'comment': null,
437
+ 'parsedOptions': [
438
+ {
439
+ '(wix.api.maxSize)': 50,
440
+ '__comment': null
441
+ },
442
+ {
443
+ '(wix.api.maxLength)': 200,
444
+ '__comment': null
445
+ }
446
+ ]
447
+ },
448
+ 'maturity': {
449
+ 'type': 'Maturity',
450
+ 'id': 2,
451
+ 'comment': null,
452
+ 'parsedOptions': null
351
453
  }
352
454
  },
353
455
  'comment': null
@@ -1426,6 +1528,15 @@ $root.__lookup = function (pbjs) {
1426
1528
  'comment': null
1427
1529
  },
1428
1530
  'QueryMethod': {
1531
+ 'oneofs': {
1532
+ 'wqlOptions': {
1533
+ 'oneof': [
1534
+ 'wql',
1535
+ 'queryOptionsName'
1536
+ ],
1537
+ 'comment': null
1538
+ }
1539
+ },
1429
1540
  'fields': {
1430
1541
  'actionName': {
1431
1542
  'type': 'string',
@@ -1457,6 +1568,16 @@ $root.__lookup = function (pbjs) {
1457
1568
  'comment': null,
1458
1569
  'parsedOptions': null
1459
1570
  },
1571
+ 'queryOptionsName': {
1572
+ 'type': 'google.protobuf.StringValue',
1573
+ 'id': 8,
1574
+ 'options': { '(wix.api.maxLength)': 200 },
1575
+ 'comment': null,
1576
+ 'parsedOptions': [{
1577
+ '(wix.api.maxLength)': 200,
1578
+ '__comment': null
1579
+ }]
1580
+ },
1460
1581
  'itemField': {
1461
1582
  'type': 'string',
1462
1583
  'id': 6,
@@ -9679,6 +9800,7 @@ $root.wix = (function () {
9679
9800
  this.containsPii = props && props.containsPii;
9680
9801
  this.segment = props && props.segment;
9681
9802
  this.domainEventsSettings = props && props.domainEventsSettings;
9803
+ this.queryOptions = props && props.queryOptions;
9682
9804
  }
9683
9805
  static toJSON(obj, helper, withDefaults) {
9684
9806
  if (obj == null) {
@@ -9815,6 +9937,11 @@ $root.wix = (function () {
9815
9937
  } else if (withDefaults) {
9816
9938
  delete json['domainEventsSettings'];
9817
9939
  }
9940
+ if (obj['queryOptions'] != null) {
9941
+ json['queryOptions'] = $root.wix.coreservices.businessschema.v1.QueryOptions.toJSON(obj['queryOptions'], helper, withDefaults);
9942
+ } else if (withDefaults) {
9943
+ delete json['queryOptions'];
9944
+ }
9818
9945
  return json;
9819
9946
  }
9820
9947
  }
@@ -9999,6 +10126,13 @@ $root.wix = (function () {
9999
10126
  } else {
10000
10127
  delete result['domainEventsSettings'];
10001
10128
  }
10129
+ if (json['queryOptions'] != null) {
10130
+ result['queryOptions'] = $root.wix.coreservices.businessschema.v1.QueryOptions.fromJSON(json['queryOptions'], helper);
10131
+ } else if (withDefaults !== false) {
10132
+ delete result['queryOptions'];
10133
+ } else {
10134
+ delete result['queryOptions'];
10135
+ }
10002
10136
  return result;
10003
10137
  } else
10004
10138
  return json;
@@ -10090,6 +10224,9 @@ $root.wix = (function () {
10090
10224
  if (obj['domainEventsSettings'] != null) {
10091
10225
  grpc['domainEventsSettings'] = $root.wix.coreservices.businessschema.v1.DomainEventsSettings.toGRPC(obj['domainEventsSettings'], helper);
10092
10226
  }
10227
+ if (obj['queryOptions'] != null) {
10228
+ grpc['queryOptions'] = $root.wix.coreservices.businessschema.v1.QueryOptions.toGRPC(obj['queryOptions'], helper);
10229
+ }
10093
10230
  return grpc;
10094
10231
  }
10095
10232
  }
@@ -10228,6 +10365,11 @@ $root.wix = (function () {
10228
10365
  } else {
10229
10366
  delete result['domainEventsSettings'];
10230
10367
  }
10368
+ if (grpc['queryOptions'] != null) {
10369
+ result['queryOptions'] = $root.wix.coreservices.businessschema.v1.QueryOptions.fromGRPC(grpc['queryOptions'], helper);
10370
+ } else {
10371
+ delete result['queryOptions'];
10372
+ }
10231
10373
  return result;
10232
10374
  }
10233
10375
  }
@@ -10256,6 +10398,386 @@ $root.wix = (function () {
10256
10398
  });
10257
10399
  return EntityInfo;
10258
10400
  }());;
10401
+ _v1.QueryOptions = (function () {
10402
+ class QueryOptions {
10403
+ constructor(props) {
10404
+ this.wql = props && props.wql;
10405
+ this.search = props && props.search;
10406
+ this.additionalQueryOptions = props && props.additionalQueryOptions;
10407
+ }
10408
+ static toJSON(obj, helper, withDefaults) {
10409
+ if (obj == null) {
10410
+ return null;
10411
+ } else {
10412
+ const json = {};
10413
+ if (obj['wql'] != null) {
10414
+ json['wql'] = $root.wix.coreservices.businessschema.v1.Wql.toJSON(obj['wql'], helper, withDefaults);
10415
+ } else if (withDefaults) {
10416
+ delete json['wql'];
10417
+ }
10418
+ if (obj['search'] != null) {
10419
+ json['search'] = obj['search'].map(e => {
10420
+ return $root.wix.coreservices.businessschema.v1.Search.toJSON(e, helper, withDefaults);
10421
+ });
10422
+ } else if (withDefaults) {
10423
+ json['search'] = [];
10424
+ }
10425
+ if (obj['additionalQueryOptions'] != null) {
10426
+ json['additionalQueryOptions'] = obj['additionalQueryOptions'].map(e => {
10427
+ return $root.wix.coreservices.businessschema.v1.NamedQueryOptions.toJSON(e, helper, withDefaults);
10428
+ });
10429
+ } else if (withDefaults) {
10430
+ json['additionalQueryOptions'] = [];
10431
+ }
10432
+ return json;
10433
+ }
10434
+ }
10435
+ static fromJSON(json, helper, withDefaults) {
10436
+ if (typeof json === 'object' && !Array.isArray(json)) {
10437
+ const result = new $root.wix.coreservices.businessschema.v1.QueryOptions();
10438
+ if (json['wql'] != null) {
10439
+ result['wql'] = $root.wix.coreservices.businessschema.v1.Wql.fromJSON(json['wql'], helper);
10440
+ } else if (withDefaults !== false) {
10441
+ delete result['wql'];
10442
+ } else {
10443
+ delete result['wql'];
10444
+ }
10445
+ if (json['search'] != null) {
10446
+ result['search'] = Array.isArray(json['search']) ? json['search'].map(e => {
10447
+ return $root.wix.coreservices.businessschema.v1.Search.fromJSON(e, helper);
10448
+ }) : json['search'];
10449
+ } else if (withDefaults !== false) {
10450
+ result['search'] = [];
10451
+ } else {
10452
+ delete result['search'];
10453
+ }
10454
+ if (json['additionalQueryOptions'] != null) {
10455
+ result['additionalQueryOptions'] = Array.isArray(json['additionalQueryOptions']) ? json['additionalQueryOptions'].map(e => {
10456
+ return $root.wix.coreservices.businessschema.v1.NamedQueryOptions.fromJSON(e, helper);
10457
+ }) : json['additionalQueryOptions'];
10458
+ } else if (withDefaults !== false) {
10459
+ result['additionalQueryOptions'] = [];
10460
+ } else {
10461
+ delete result['additionalQueryOptions'];
10462
+ }
10463
+ return result;
10464
+ } else
10465
+ return json;
10466
+ }
10467
+ static toGRPC(obj, helper) {
10468
+ if (obj == null) {
10469
+ return null;
10470
+ } else {
10471
+ const grpc = {};
10472
+ if (obj['wql'] != null) {
10473
+ grpc['wql'] = $root.wix.coreservices.businessschema.v1.Wql.toGRPC(obj['wql'], helper);
10474
+ }
10475
+ if (obj['search'] != null) {
10476
+ grpc['search'] = obj['search'].map(e => {
10477
+ return $root.wix.coreservices.businessschema.v1.Search.toGRPC(e, helper);
10478
+ });
10479
+ }
10480
+ if (obj['additionalQueryOptions'] != null) {
10481
+ grpc['additionalQueryOptions'] = obj['additionalQueryOptions'].map(e => {
10482
+ return $root.wix.coreservices.businessschema.v1.NamedQueryOptions.toGRPC(e, helper);
10483
+ });
10484
+ }
10485
+ return grpc;
10486
+ }
10487
+ }
10488
+ static fromGRPC(grpc, helper) {
10489
+ if (grpc == null) {
10490
+ return null;
10491
+ } else {
10492
+ const result = new $root.wix.coreservices.businessschema.v1.QueryOptions();
10493
+ if (grpc['wql'] != null) {
10494
+ result['wql'] = $root.wix.coreservices.businessschema.v1.Wql.fromGRPC(grpc['wql'], helper);
10495
+ } else {
10496
+ delete result['wql'];
10497
+ }
10498
+ if (grpc['search'] != null) {
10499
+ result['search'] = grpc['search'].map(e => {
10500
+ return $root.wix.coreservices.businessschema.v1.Search.fromGRPC(e, helper);
10501
+ });
10502
+ } else {
10503
+ result['search'] = [];
10504
+ }
10505
+ if (grpc['additionalQueryOptions'] != null) {
10506
+ result['additionalQueryOptions'] = grpc['additionalQueryOptions'].map(e => {
10507
+ return $root.wix.coreservices.businessschema.v1.NamedQueryOptions.fromGRPC(e, helper);
10508
+ });
10509
+ } else {
10510
+ result['additionalQueryOptions'] = [];
10511
+ }
10512
+ return result;
10513
+ }
10514
+ }
10515
+ }
10516
+ __builtIn.Object.defineProperty(QueryOptions.prototype, '__proto', {
10517
+ value: pbjs => {
10518
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.QueryOptions');
10519
+ },
10520
+ enumerable: false,
10521
+ configurable: false
10522
+ });
10523
+ __builtIn.Object.defineProperty(QueryOptions.prototype, '__fqn__', {
10524
+ value: 'wix.coreservices.businessschema.v1.QueryOptions',
10525
+ enumerable: false,
10526
+ configurable: false
10527
+ });
10528
+ __builtIn.Object.defineProperty(QueryOptions.prototype, '__options__', {
10529
+ value: $root.__options,
10530
+ enumerable: false,
10531
+ configurable: false
10532
+ });
10533
+ __builtIn.Object.defineProperty(QueryOptions.prototype, '__root__', {
10534
+ value: $root,
10535
+ enumerable: false,
10536
+ configurable: false
10537
+ });
10538
+ return QueryOptions;
10539
+ }());;
10540
+ _v1.NamedQueryOptions = (function () {
10541
+ class NamedQueryOptions {
10542
+ constructor(props) {
10543
+ this.name = props && props.name;
10544
+ this.wql = props && props.wql;
10545
+ this.search = props && props.search;
10546
+ }
10547
+ static toJSON(obj, helper, withDefaults) {
10548
+ if (obj == null) {
10549
+ return null;
10550
+ } else {
10551
+ const json = {};
10552
+ if (obj['name'] != null) {
10553
+ json['name'] = obj['name'];
10554
+ } else if (withDefaults) {
10555
+ json['name'] = '';
10556
+ }
10557
+ if (obj['wql'] != null) {
10558
+ json['wql'] = $root.wix.coreservices.businessschema.v1.Wql.toJSON(obj['wql'], helper, withDefaults);
10559
+ } else if (withDefaults) {
10560
+ delete json['wql'];
10561
+ }
10562
+ if (obj['search'] != null) {
10563
+ json['search'] = obj['search'].map(e => {
10564
+ return $root.wix.coreservices.businessschema.v1.Search.toJSON(e, helper, withDefaults);
10565
+ });
10566
+ } else if (withDefaults) {
10567
+ json['search'] = [];
10568
+ }
10569
+ return json;
10570
+ }
10571
+ }
10572
+ static fromJSON(json, helper, withDefaults) {
10573
+ if (typeof json === 'object' && !Array.isArray(json)) {
10574
+ const result = new $root.wix.coreservices.businessschema.v1.NamedQueryOptions();
10575
+ if (json['name'] != null) {
10576
+ result['name'] = json['name'];
10577
+ } else if (withDefaults !== false) {
10578
+ result['name'] = '';
10579
+ } else {
10580
+ delete result['name'];
10581
+ }
10582
+ if (json['wql'] != null) {
10583
+ result['wql'] = $root.wix.coreservices.businessschema.v1.Wql.fromJSON(json['wql'], helper);
10584
+ } else if (withDefaults !== false) {
10585
+ delete result['wql'];
10586
+ } else {
10587
+ delete result['wql'];
10588
+ }
10589
+ if (json['search'] != null) {
10590
+ result['search'] = Array.isArray(json['search']) ? json['search'].map(e => {
10591
+ return $root.wix.coreservices.businessschema.v1.Search.fromJSON(e, helper);
10592
+ }) : json['search'];
10593
+ } else if (withDefaults !== false) {
10594
+ result['search'] = [];
10595
+ } else {
10596
+ delete result['search'];
10597
+ }
10598
+ return result;
10599
+ } else
10600
+ return json;
10601
+ }
10602
+ static toGRPC(obj, helper) {
10603
+ if (obj == null) {
10604
+ return null;
10605
+ } else {
10606
+ const grpc = {};
10607
+ if (obj['name'] != null) {
10608
+ grpc['name'] = obj['name'];
10609
+ }
10610
+ if (obj['wql'] != null) {
10611
+ grpc['wql'] = $root.wix.coreservices.businessschema.v1.Wql.toGRPC(obj['wql'], helper);
10612
+ }
10613
+ if (obj['search'] != null) {
10614
+ grpc['search'] = obj['search'].map(e => {
10615
+ return $root.wix.coreservices.businessschema.v1.Search.toGRPC(e, helper);
10616
+ });
10617
+ }
10618
+ return grpc;
10619
+ }
10620
+ }
10621
+ static fromGRPC(grpc, helper) {
10622
+ if (grpc == null) {
10623
+ return null;
10624
+ } else {
10625
+ const result = new $root.wix.coreservices.businessschema.v1.NamedQueryOptions();
10626
+ if (grpc['name'] != null) {
10627
+ result['name'] = grpc['name'];
10628
+ } else {
10629
+ result['name'] = '';
10630
+ }
10631
+ if (grpc['wql'] != null) {
10632
+ result['wql'] = $root.wix.coreservices.businessschema.v1.Wql.fromGRPC(grpc['wql'], helper);
10633
+ } else {
10634
+ delete result['wql'];
10635
+ }
10636
+ if (grpc['search'] != null) {
10637
+ result['search'] = grpc['search'].map(e => {
10638
+ return $root.wix.coreservices.businessschema.v1.Search.fromGRPC(e, helper);
10639
+ });
10640
+ } else {
10641
+ result['search'] = [];
10642
+ }
10643
+ return result;
10644
+ }
10645
+ }
10646
+ }
10647
+ __builtIn.Object.defineProperty(NamedQueryOptions.prototype, '__proto', {
10648
+ value: pbjs => {
10649
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.NamedQueryOptions');
10650
+ },
10651
+ enumerable: false,
10652
+ configurable: false
10653
+ });
10654
+ __builtIn.Object.defineProperty(NamedQueryOptions.prototype, '__fqn__', {
10655
+ value: 'wix.coreservices.businessschema.v1.NamedQueryOptions',
10656
+ enumerable: false,
10657
+ configurable: false
10658
+ });
10659
+ __builtIn.Object.defineProperty(NamedQueryOptions.prototype, '__options__', {
10660
+ value: $root.__options,
10661
+ enumerable: false,
10662
+ configurable: false
10663
+ });
10664
+ __builtIn.Object.defineProperty(NamedQueryOptions.prototype, '__root__', {
10665
+ value: $root,
10666
+ enumerable: false,
10667
+ configurable: false
10668
+ });
10669
+ return NamedQueryOptions;
10670
+ }());;
10671
+ _v1.Search = (function () {
10672
+ class Search {
10673
+ constructor(props) {
10674
+ this.field = props && props.field;
10675
+ this.maturity = props && props.maturity;
10676
+ }
10677
+ static toJSON(obj, helper, withDefaults) {
10678
+ if (obj == null) {
10679
+ return null;
10680
+ } else {
10681
+ const json = {};
10682
+ if (obj['field'] != null) {
10683
+ json['field'] = obj['field'].map(e => {
10684
+ return e;
10685
+ });
10686
+ } else if (withDefaults) {
10687
+ json['field'] = [];
10688
+ }
10689
+ if (obj['maturity'] != null) {
10690
+ json['maturity'] = $root.wix.coreservices.businessschema.v1.Maturity[obj['maturity']];
10691
+ } else if (withDefaults) {
10692
+ json['maturity'] = 'ALPHA';
10693
+ }
10694
+ return json;
10695
+ }
10696
+ }
10697
+ static fromJSON(json, helper, withDefaults) {
10698
+ if (typeof json === 'object' && !Array.isArray(json)) {
10699
+ const result = new $root.wix.coreservices.businessschema.v1.Search();
10700
+ if (json['field'] != null) {
10701
+ result['field'] = Array.isArray(json['field']) ? json['field'].map(e => {
10702
+ return e;
10703
+ }) : json['field'];
10704
+ } else if (withDefaults !== false) {
10705
+ result['field'] = [];
10706
+ } else {
10707
+ delete result['field'];
10708
+ }
10709
+ if (json['maturity'] != null) {
10710
+ result['maturity'] = typeof json['maturity'] === 'string' ? json['maturity'] : $root.wix.coreservices.businessschema.v1.Maturity[json['maturity']];
10711
+ } else if (withDefaults !== false) {
10712
+ result['maturity'] = 'ALPHA';
10713
+ } else {
10714
+ delete result['maturity'];
10715
+ }
10716
+ return result;
10717
+ } else
10718
+ return json;
10719
+ }
10720
+ static toGRPC(obj, helper) {
10721
+ if (obj == null) {
10722
+ return null;
10723
+ } else {
10724
+ const grpc = {};
10725
+ if (obj['field'] != null) {
10726
+ grpc['field'] = obj['field'].map(e => {
10727
+ return e;
10728
+ });
10729
+ }
10730
+ if (obj['maturity'] != null) {
10731
+ grpc['maturity'] = obj['maturity'];
10732
+ }
10733
+ return grpc;
10734
+ }
10735
+ }
10736
+ static fromGRPC(grpc, helper) {
10737
+ if (grpc == null) {
10738
+ return null;
10739
+ } else {
10740
+ const result = new $root.wix.coreservices.businessschema.v1.Search();
10741
+ if (grpc['field'] != null) {
10742
+ result['field'] = grpc['field'].map(e => {
10743
+ return e;
10744
+ });
10745
+ } else {
10746
+ result['field'] = [];
10747
+ }
10748
+ if (grpc['maturity'] != null) {
10749
+ result['maturity'] = grpc['maturity'];
10750
+ } else {
10751
+ result['maturity'] = 'ALPHA';
10752
+ }
10753
+ return result;
10754
+ }
10755
+ }
10756
+ }
10757
+ __builtIn.Object.defineProperty(Search.prototype, '__proto', {
10758
+ value: pbjs => {
10759
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.Search');
10760
+ },
10761
+ enumerable: false,
10762
+ configurable: false
10763
+ });
10764
+ __builtIn.Object.defineProperty(Search.prototype, '__fqn__', {
10765
+ value: 'wix.coreservices.businessschema.v1.Search',
10766
+ enumerable: false,
10767
+ configurable: false
10768
+ });
10769
+ __builtIn.Object.defineProperty(Search.prototype, '__options__', {
10770
+ value: $root.__options,
10771
+ enumerable: false,
10772
+ configurable: false
10773
+ });
10774
+ __builtIn.Object.defineProperty(Search.prototype, '__root__', {
10775
+ value: $root,
10776
+ enumerable: false,
10777
+ configurable: false
10778
+ });
10779
+ return Search;
10780
+ }());;
10259
10781
  _v1.DomainEventsSettings = (function () {
10260
10782
  class DomainEventsSettings {
10261
10783
  constructor(props) {
@@ -15422,6 +15944,7 @@ $root.wix = (function () {
15422
15944
  this.itemsField = props && props.itemsField;
15423
15945
  this.paging = props && props.paging;
15424
15946
  this.wql = props && props.wql;
15947
+ this.queryOptionsName = props && props.queryOptionsName;
15425
15948
  this.itemField = props && props.itemField;
15426
15949
  this.namespace = props && props.namespace;
15427
15950
  }
@@ -15455,6 +15978,11 @@ $root.wix = (function () {
15455
15978
  } else if (withDefaults) {
15456
15979
  delete json['wql'];
15457
15980
  }
15981
+ if (obj['queryOptionsName'] != null) {
15982
+ json['queryOptionsName'] = $root.google.protobuf.StringValue.toJSON(obj['queryOptionsName'], helper, withDefaults);
15983
+ } else if (withDefaults) {
15984
+ delete json['queryOptionsName'];
15985
+ }
15458
15986
  if (obj['itemField'] != null) {
15459
15987
  json['itemField'] = obj['itemField'];
15460
15988
  } else if (withDefaults) {
@@ -15506,6 +16034,13 @@ $root.wix = (function () {
15506
16034
  } else {
15507
16035
  delete result['wql'];
15508
16036
  }
16037
+ if (json['queryOptionsName'] != null) {
16038
+ result['queryOptionsName'] = $root.google.protobuf.StringValue.fromJSON(json['queryOptionsName'], helper);
16039
+ } else if (withDefaults !== false) {
16040
+ delete result['queryOptionsName'];
16041
+ } else {
16042
+ delete result['queryOptionsName'];
16043
+ }
15509
16044
  if (json['itemField'] != null) {
15510
16045
  result['itemField'] = json['itemField'];
15511
16046
  } else if (withDefaults !== false) {
@@ -15544,6 +16079,9 @@ $root.wix = (function () {
15544
16079
  if (obj['wql'] != null) {
15545
16080
  grpc['wql'] = $root.wix.coreservices.businessschema.v1.Wql.toGRPC(obj['wql'], helper);
15546
16081
  }
16082
+ if (obj['queryOptionsName'] != null) {
16083
+ grpc['queryOptionsName'] = $root.google.protobuf.StringValue.toGRPC(obj['queryOptionsName'], helper);
16084
+ }
15547
16085
  if (obj['itemField'] != null) {
15548
16086
  grpc['itemField'] = obj['itemField'];
15549
16087
  }
@@ -15583,6 +16121,11 @@ $root.wix = (function () {
15583
16121
  } else {
15584
16122
  delete result['wql'];
15585
16123
  }
16124
+ if (grpc['queryOptionsName'] != null) {
16125
+ result['queryOptionsName'] = $root.google.protobuf.StringValue.fromGRPC(grpc['queryOptionsName'], helper);
16126
+ } else {
16127
+ delete result['queryOptionsName'];
16128
+ }
15586
16129
  if (grpc['itemField'] != null) {
15587
16130
  result['itemField'] = grpc['itemField'];
15588
16131
  } else {