@wix/metro-common-builders 1.0.1441 → 1.0.1442

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.
@@ -1569,6 +1569,7 @@ declare namespace $requests {
1569
1569
  removeFromTrashbinOptions?: $requests.wix.api.IRemoveFromTrashbinMethodOptions;
1570
1570
  countOptions?: $requests.wix.api.ICountOptions;
1571
1571
  searchRelatedOptions?: $requests.wix.api.ISearchRelatedOptions;
1572
+ updateExtendedFieldsOptions?: $requests.wix.api.IUpdateExtendedFieldsOptions;
1572
1573
  }
1573
1574
  export class Crud implements ICrud {
1574
1575
  constructor(data?: ICrud);
@@ -1593,6 +1594,7 @@ declare namespace $requests {
1593
1594
  removeFromTrashbinOptions?: $requests.wix.api.IRemoveFromTrashbinMethodOptions;
1594
1595
  countOptions?: $requests.wix.api.ICountOptions;
1595
1596
  searchRelatedOptions?: $requests.wix.api.ISearchRelatedOptions;
1597
+ updateExtendedFieldsOptions?: $requests.wix.api.IUpdateExtendedFieldsOptions;
1596
1598
  static __$$generatedFromProtobuf$$__: Symbol;
1597
1599
  }
1598
1600
  export namespace Crud {
@@ -1618,6 +1620,9 @@ declare namespace $requests {
1618
1620
  REMOVE_FROM_TRASHBIN = "REMOVE_FROM_TRASHBIN",
1619
1621
  COUNT = "COUNT",
1620
1622
  SEARCH_RELATED = "SEARCH_RELATED",
1623
+ UPDATE_EXTENDED_FIELDS = "UPDATE_EXTENDED_FIELDS",
1624
+ BULK_UPDATE_TAGS = "BULK_UPDATE_TAGS",
1625
+ BULK_UPDATE_TAGS_BY_FILTER = "BULK_UPDATE_TAGS_BY_FILTER",
1621
1626
  }
1622
1627
  }
1623
1628
  export interface IPaging {
@@ -1857,6 +1862,14 @@ declare namespace $requests {
1857
1862
  queryOptionsName?: string;
1858
1863
  static __$$generatedFromProtobuf$$__: Symbol;
1859
1864
  }
1865
+ export interface IUpdateExtendedFieldsOptions {
1866
+ itemField?: string;
1867
+ }
1868
+ export class UpdateExtendedFieldsOptions implements IUpdateExtendedFieldsOptions {
1869
+ constructor(data?: IUpdateExtendedFieldsOptions);
1870
+ itemField?: string;
1871
+ static __$$generatedFromProtobuf$$__: Symbol;
1872
+ }
1860
1873
  export interface IWql {
1861
1874
  operatorFieldSupport?: $requests.wix.api.Wql.IOperatorFieldSupport[];
1862
1875
  pattern?: $requests.wix.api.Wql.IOperatorFieldSupport[];
@@ -1882,10 +1895,10 @@ declare namespace $requests {
1882
1895
  NIN = "NIN",
1883
1896
  BEGINS = "BEGINS",
1884
1897
  EXISTS = "EXISTS",
1885
- ALL = "ALL",
1886
1898
  HAS_ALL = "HAS_ALL",
1887
- ANY = "ANY",
1899
+ ALL = "ALL",
1888
1900
  HAS_SOME = "HAS_SOME",
1901
+ ANY = "ANY",
1889
1902
  EMPTY = "EMPTY",
1890
1903
  MATCH_ALL = "MATCH_ALL",
1891
1904
  MATCH_ITEMS = "MATCH_ITEMS",
@@ -2854,12 +2867,14 @@ declare namespace $requests {
2854
2867
  count?: number;
2855
2868
  cursors?: $requests.wix.common.ICursors;
2856
2869
  hasNext?: boolean;
2870
+ total?: number;
2857
2871
  }
2858
2872
  export class CursorPagingMetadata implements ICursorPagingMetadata {
2859
2873
  constructor(data?: ICursorPagingMetadata);
2860
2874
  count?: number;
2861
2875
  cursors?: $requests.wix.common.ICursors;
2862
2876
  hasNext?: boolean;
2877
+ total?: number;
2863
2878
  static __$$generatedFromProtobuf$$__: Symbol;
2864
2879
  }
2865
2880
  export interface ICursors {
@@ -5181,6 +5196,7 @@ declare namespace $responses {
5181
5196
  removeFromTrashbinOptions?: $responses.wix.api.IRemoveFromTrashbinMethodOptions;
5182
5197
  countOptions?: $responses.wix.api.ICountOptions;
5183
5198
  searchRelatedOptions?: $responses.wix.api.ISearchRelatedOptions;
5199
+ updateExtendedFieldsOptions?: $responses.wix.api.IUpdateExtendedFieldsOptions;
5184
5200
  }
5185
5201
  export class Crud implements ICrud {
5186
5202
  constructor(data?: ICrud);
@@ -5205,6 +5221,7 @@ declare namespace $responses {
5205
5221
  removeFromTrashbinOptions?: $responses.wix.api.IRemoveFromTrashbinMethodOptions;
5206
5222
  countOptions?: $responses.wix.api.ICountOptions;
5207
5223
  searchRelatedOptions?: $responses.wix.api.ISearchRelatedOptions;
5224
+ updateExtendedFieldsOptions?: $responses.wix.api.IUpdateExtendedFieldsOptions;
5208
5225
  static __$$generatedFromProtobuf$$__: Symbol;
5209
5226
  }
5210
5227
  export namespace Crud {
@@ -5230,6 +5247,9 @@ declare namespace $responses {
5230
5247
  REMOVE_FROM_TRASHBIN = "REMOVE_FROM_TRASHBIN",
5231
5248
  COUNT = "COUNT",
5232
5249
  SEARCH_RELATED = "SEARCH_RELATED",
5250
+ UPDATE_EXTENDED_FIELDS = "UPDATE_EXTENDED_FIELDS",
5251
+ BULK_UPDATE_TAGS = "BULK_UPDATE_TAGS",
5252
+ BULK_UPDATE_TAGS_BY_FILTER = "BULK_UPDATE_TAGS_BY_FILTER",
5233
5253
  }
5234
5254
  }
5235
5255
  export interface IPaging {
@@ -5469,6 +5489,14 @@ declare namespace $responses {
5469
5489
  queryOptionsName?: string;
5470
5490
  static __$$generatedFromProtobuf$$__: Symbol;
5471
5491
  }
5492
+ export interface IUpdateExtendedFieldsOptions {
5493
+ itemField: string;
5494
+ }
5495
+ export class UpdateExtendedFieldsOptions implements IUpdateExtendedFieldsOptions {
5496
+ constructor(data?: IUpdateExtendedFieldsOptions);
5497
+ itemField: string;
5498
+ static __$$generatedFromProtobuf$$__: Symbol;
5499
+ }
5472
5500
  export interface IWql {
5473
5501
  operatorFieldSupport: $responses.wix.api.Wql.IOperatorFieldSupport[];
5474
5502
  pattern: $responses.wix.api.Wql.IOperatorFieldSupport[];
@@ -5494,10 +5522,10 @@ declare namespace $responses {
5494
5522
  NIN = "NIN",
5495
5523
  BEGINS = "BEGINS",
5496
5524
  EXISTS = "EXISTS",
5497
- ALL = "ALL",
5498
5525
  HAS_ALL = "HAS_ALL",
5499
- ANY = "ANY",
5526
+ ALL = "ALL",
5500
5527
  HAS_SOME = "HAS_SOME",
5528
+ ANY = "ANY",
5501
5529
  EMPTY = "EMPTY",
5502
5530
  MATCH_ALL = "MATCH_ALL",
5503
5531
  MATCH_ITEMS = "MATCH_ITEMS",
@@ -6466,12 +6494,14 @@ declare namespace $responses {
6466
6494
  count?: number;
6467
6495
  cursors?: $responses.wix.common.ICursors;
6468
6496
  hasNext?: boolean;
6497
+ total?: number;
6469
6498
  }
6470
6499
  export class CursorPagingMetadata implements ICursorPagingMetadata {
6471
6500
  constructor(data?: ICursorPagingMetadata);
6472
6501
  count?: number;
6473
6502
  cursors?: $responses.wix.common.ICursors;
6474
6503
  hasNext?: boolean;
6504
+ total?: number;
6475
6505
  static __$$generatedFromProtobuf$$__: Symbol;
6476
6506
  }
6477
6507
  export interface ICursors {
@@ -1588,6 +1588,7 @@ declare namespace $wrapper {
1588
1588
  removeFromTrashbinOptions?: ($wrapper.wix.api.IRemoveFromTrashbinMethodOptions | null);
1589
1589
  countOptions?: ($wrapper.wix.api.ICountOptions | null);
1590
1590
  searchRelatedOptions?: ($wrapper.wix.api.ISearchRelatedOptions | null);
1591
+ updateExtendedFieldsOptions?: ($wrapper.wix.api.IUpdateExtendedFieldsOptions | null);
1591
1592
  }
1592
1593
  export class Crud implements ICrud {
1593
1594
  constructor(data?: ICrud);
@@ -1612,6 +1613,7 @@ declare namespace $wrapper {
1612
1613
  removeFromTrashbinOptions?: ($wrapper.wix.api.IRemoveFromTrashbinMethodOptions | null);
1613
1614
  countOptions?: ($wrapper.wix.api.ICountOptions | null);
1614
1615
  searchRelatedOptions?: ($wrapper.wix.api.ISearchRelatedOptions | null);
1616
+ updateExtendedFieldsOptions?: ($wrapper.wix.api.IUpdateExtendedFieldsOptions | null);
1615
1617
  static __$$generatedFromProtobuf$$__: Symbol;
1616
1618
  }
1617
1619
  export namespace Crud {
@@ -1637,6 +1639,9 @@ declare namespace $wrapper {
1637
1639
  REMOVE_FROM_TRASHBIN = "REMOVE_FROM_TRASHBIN",
1638
1640
  COUNT = "COUNT",
1639
1641
  SEARCH_RELATED = "SEARCH_RELATED",
1642
+ UPDATE_EXTENDED_FIELDS = "UPDATE_EXTENDED_FIELDS",
1643
+ BULK_UPDATE_TAGS = "BULK_UPDATE_TAGS",
1644
+ BULK_UPDATE_TAGS_BY_FILTER = "BULK_UPDATE_TAGS_BY_FILTER",
1640
1645
  }
1641
1646
  }
1642
1647
  export interface IPaging {
@@ -1876,6 +1881,14 @@ declare namespace $wrapper {
1876
1881
  queryOptionsName?: (string | null);
1877
1882
  static __$$generatedFromProtobuf$$__: Symbol;
1878
1883
  }
1884
+ export interface IUpdateExtendedFieldsOptions {
1885
+ itemField?: (string | null);
1886
+ }
1887
+ export class UpdateExtendedFieldsOptions implements IUpdateExtendedFieldsOptions {
1888
+ constructor(data?: IUpdateExtendedFieldsOptions);
1889
+ itemField?: (string | null);
1890
+ static __$$generatedFromProtobuf$$__: Symbol;
1891
+ }
1879
1892
  export interface IWql {
1880
1893
  operatorFieldSupport?: ($wrapper.wix.api.Wql.IOperatorFieldSupport[] | null);
1881
1894
  pattern?: ($wrapper.wix.api.Wql.IOperatorFieldSupport[] | null);
@@ -1901,10 +1914,10 @@ declare namespace $wrapper {
1901
1914
  NIN = "NIN",
1902
1915
  BEGINS = "BEGINS",
1903
1916
  EXISTS = "EXISTS",
1904
- ALL = "ALL",
1905
1917
  HAS_ALL = "HAS_ALL",
1906
- ANY = "ANY",
1918
+ ALL = "ALL",
1907
1919
  HAS_SOME = "HAS_SOME",
1920
+ ANY = "ANY",
1908
1921
  EMPTY = "EMPTY",
1909
1922
  MATCH_ALL = "MATCH_ALL",
1910
1923
  MATCH_ITEMS = "MATCH_ITEMS",
@@ -2873,12 +2886,14 @@ declare namespace $wrapper {
2873
2886
  count?: (number | null);
2874
2887
  cursors?: ($wrapper.wix.common.ICursors | null);
2875
2888
  hasNext?: (boolean | null);
2889
+ total?: (number | null);
2876
2890
  }
2877
2891
  export class CursorPagingMetadata implements ICursorPagingMetadata {
2878
2892
  constructor(data?: ICursorPagingMetadata);
2879
2893
  count?: (number | null);
2880
2894
  cursors?: ($wrapper.wix.common.ICursors | null);
2881
2895
  hasNext?: (boolean | null);
2896
+ total?: (number | null);
2882
2897
  static __$$generatedFromProtobuf$$__: Symbol;
2883
2898
  }
2884
2899
  export interface ICursors {
@@ -10,7 +10,7 @@ $root.__options = {
10
10
  'stringLongs': true,
11
11
  'stdCase': false,
12
12
  'generatorVersion': '2.0.1156',
13
- 'contentHash': 'aead415d50ec5b78b2257aa8380422a568beb4df'
13
+ 'contentHash': '8d4a05c89d2c31b3c28ef7f371a1d6338248e325'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -4114,7 +4114,8 @@ $root.__lookup = function (pbjs) {
4114
4114
  'restoreFromTrashbinOptions',
4115
4115
  'removeFromTrashbinOptions',
4116
4116
  'countOptions',
4117
- 'searchRelatedOptions'
4117
+ 'searchRelatedOptions',
4118
+ 'updateExtendedFieldsOptions'
4118
4119
  ],
4119
4120
  'comment': null
4120
4121
  }
@@ -4246,6 +4247,12 @@ $root.__lookup = function (pbjs) {
4246
4247
  'id': 22,
4247
4248
  'comment': null,
4248
4249
  'parsedOptions': null
4250
+ },
4251
+ 'updateExtendedFieldsOptions': {
4252
+ 'type': 'UpdateExtendedFieldsOptions',
4253
+ 'id': 23,
4254
+ 'comment': null,
4255
+ 'parsedOptions': null
4249
4256
  }
4250
4257
  },
4251
4258
  'nested': {
@@ -4271,7 +4278,10 @@ $root.__lookup = function (pbjs) {
4271
4278
  'RESTORE_FROM_TRASHBIN': 16,
4272
4279
  'REMOVE_FROM_TRASHBIN': 17,
4273
4280
  'COUNT': 19,
4274
- 'SEARCH_RELATED': 20
4281
+ 'SEARCH_RELATED': 20,
4282
+ 'UPDATE_EXTENDED_FIELDS': 21,
4283
+ 'BULK_UPDATE_TAGS': 22,
4284
+ 'BULK_UPDATE_TAGS_BY_FILTER': 23
4275
4285
  },
4276
4286
  'comment': null,
4277
4287
  'comments': {
@@ -4295,7 +4305,10 @@ $root.__lookup = function (pbjs) {
4295
4305
  'RESTORE_FROM_TRASHBIN': null,
4296
4306
  'REMOVE_FROM_TRASHBIN': null,
4297
4307
  'COUNT': null,
4298
- 'SEARCH_RELATED': null
4308
+ 'SEARCH_RELATED': null,
4309
+ 'UPDATE_EXTENDED_FIELDS': null,
4310
+ 'BULK_UPDATE_TAGS': null,
4311
+ 'BULK_UPDATE_TAGS_BY_FILTER': null
4299
4312
  }
4300
4313
  }
4301
4314
  },
@@ -4786,6 +4799,17 @@ $root.__lookup = function (pbjs) {
4786
4799
  },
4787
4800
  'comment': null
4788
4801
  },
4802
+ 'UpdateExtendedFieldsOptions': {
4803
+ 'fields': {
4804
+ 'itemField': {
4805
+ 'type': 'string',
4806
+ 'id': 2,
4807
+ 'comment': null,
4808
+ 'parsedOptions': null
4809
+ }
4810
+ },
4811
+ 'comment': null
4812
+ },
4789
4813
  'Wql': {
4790
4814
  'fields': {
4791
4815
  'operatorFieldSupport': {
@@ -4845,10 +4869,10 @@ $root.__lookup = function (pbjs) {
4845
4869
  'NIN': 8,
4846
4870
  'BEGINS': 9,
4847
4871
  'EXISTS': 10,
4848
- 'ALL': 11,
4849
4872
  'HAS_ALL': 11,
4850
- 'ANY': 12,
4873
+ 'ALL': 11,
4851
4874
  'HAS_SOME': 12,
4875
+ 'ANY': 12,
4852
4876
  'EMPTY': 13,
4853
4877
  'MATCH_ALL': 14,
4854
4878
  'MATCH_ITEMS': 16
@@ -4870,10 +4894,10 @@ $root.__lookup = function (pbjs) {
4870
4894
  'NIN': null,
4871
4895
  'BEGINS': null,
4872
4896
  'EXISTS': null,
4873
- 'ALL': null,
4874
4897
  'HAS_ALL': null,
4875
- 'ANY': null,
4898
+ 'ALL': null,
4876
4899
  'HAS_SOME': null,
4900
+ 'ANY': null,
4877
4901
  'EMPTY': null,
4878
4902
  'MATCH_ALL': null,
4879
4903
  'MATCH_ITEMS': null
@@ -7509,6 +7533,16 @@ $root.__lookup = function (pbjs) {
7509
7533
  'id': 3,
7510
7534
  'comment': null,
7511
7535
  'parsedOptions': null
7536
+ },
7537
+ 'total': {
7538
+ 'type': 'google.protobuf.Int32Value',
7539
+ 'id': 4,
7540
+ 'options': { '(.wix.api.field_exposure)': 'PRIVATE' },
7541
+ 'comment': null,
7542
+ 'parsedOptions': [{
7543
+ '(.wix.api.field_exposure)': 'PRIVATE',
7544
+ '__comment': null
7545
+ }]
7512
7546
  }
7513
7547
  },
7514
7548
  'comment': null
@@ -25739,6 +25773,7 @@ $root.wix = (function () {
25739
25773
  this.removeFromTrashbinOptions = props && props.removeFromTrashbinOptions;
25740
25774
  this.countOptions = props && props.countOptions;
25741
25775
  this.searchRelatedOptions = props && props.searchRelatedOptions;
25776
+ this.updateExtendedFieldsOptions = props && props.updateExtendedFieldsOptions;
25742
25777
  }
25743
25778
  static toJSON(obj, helper, withDefaults) {
25744
25779
  if (obj == null) {
@@ -25850,6 +25885,11 @@ $root.wix = (function () {
25850
25885
  } else if (withDefaults) {
25851
25886
  delete json['searchRelatedOptions'];
25852
25887
  }
25888
+ if (obj['updateExtendedFieldsOptions'] != null) {
25889
+ json['updateExtendedFieldsOptions'] = $root.wix.api.UpdateExtendedFieldsOptions.toJSON(obj['updateExtendedFieldsOptions'], helper, withDefaults);
25890
+ } else if (withDefaults) {
25891
+ delete json['updateExtendedFieldsOptions'];
25892
+ }
25853
25893
  return json;
25854
25894
  }
25855
25895
  }
@@ -26003,6 +26043,13 @@ $root.wix = (function () {
26003
26043
  } else {
26004
26044
  delete result['searchRelatedOptions'];
26005
26045
  }
26046
+ if (json['updateExtendedFieldsOptions'] != null) {
26047
+ result['updateExtendedFieldsOptions'] = $root.wix.api.UpdateExtendedFieldsOptions.fromJSON(json['updateExtendedFieldsOptions'], helper);
26048
+ } else if (withDefaults !== false) {
26049
+ delete result['updateExtendedFieldsOptions'];
26050
+ } else {
26051
+ delete result['updateExtendedFieldsOptions'];
26052
+ }
26006
26053
  return result;
26007
26054
  } else
26008
26055
  return json;
@@ -26075,6 +26122,9 @@ $root.wix = (function () {
26075
26122
  if (obj['searchRelatedOptions'] != null) {
26076
26123
  grpc['searchRelatedOptions'] = $root.wix.api.SearchRelatedOptions.toGRPC(obj['searchRelatedOptions'], helper);
26077
26124
  }
26125
+ if (obj['updateExtendedFieldsOptions'] != null) {
26126
+ grpc['updateExtendedFieldsOptions'] = $root.wix.api.UpdateExtendedFieldsOptions.toGRPC(obj['updateExtendedFieldsOptions'], helper);
26127
+ }
26078
26128
  return grpc;
26079
26129
  }
26080
26130
  }
@@ -26188,6 +26238,11 @@ $root.wix = (function () {
26188
26238
  } else {
26189
26239
  delete result['searchRelatedOptions'];
26190
26240
  }
26241
+ if (grpc['updateExtendedFieldsOptions'] != null) {
26242
+ result['updateExtendedFieldsOptions'] = $root.wix.api.UpdateExtendedFieldsOptions.fromGRPC(grpc['updateExtendedFieldsOptions'], helper);
26243
+ } else {
26244
+ delete result['updateExtendedFieldsOptions'];
26245
+ }
26191
26246
  return result;
26192
26247
  }
26193
26248
  }
@@ -26234,7 +26289,13 @@ $root.wix = (function () {
26234
26289
  'COUNT': 'COUNT',
26235
26290
  19: 'COUNT',
26236
26291
  'SEARCH_RELATED': 'SEARCH_RELATED',
26237
- 20: 'SEARCH_RELATED'
26292
+ 20: 'SEARCH_RELATED',
26293
+ 'UPDATE_EXTENDED_FIELDS': 'UPDATE_EXTENDED_FIELDS',
26294
+ 21: 'UPDATE_EXTENDED_FIELDS',
26295
+ 'BULK_UPDATE_TAGS': 'BULK_UPDATE_TAGS',
26296
+ 22: 'BULK_UPDATE_TAGS',
26297
+ 'BULK_UPDATE_TAGS_BY_FILTER': 'BULK_UPDATE_TAGS_BY_FILTER',
26298
+ 23: 'BULK_UPDATE_TAGS_BY_FILTER'
26238
26299
  };
26239
26300
  Crud.Method = {
26240
26301
  'UNKNOWN_METHOD': 'UNKNOWN_METHOD',
@@ -26278,7 +26339,13 @@ $root.wix = (function () {
26278
26339
  'COUNT': 'COUNT',
26279
26340
  19: 'COUNT',
26280
26341
  'SEARCH_RELATED': 'SEARCH_RELATED',
26281
- 20: 'SEARCH_RELATED'
26342
+ 20: 'SEARCH_RELATED',
26343
+ 'UPDATE_EXTENDED_FIELDS': 'UPDATE_EXTENDED_FIELDS',
26344
+ 21: 'UPDATE_EXTENDED_FIELDS',
26345
+ 'BULK_UPDATE_TAGS': 'BULK_UPDATE_TAGS',
26346
+ 22: 'BULK_UPDATE_TAGS',
26347
+ 'BULK_UPDATE_TAGS_BY_FILTER': 'BULK_UPDATE_TAGS_BY_FILTER',
26348
+ 23: 'BULK_UPDATE_TAGS_BY_FILTER'
26282
26349
  };
26283
26350
  __builtIn.Object.defineProperty(Crud.prototype, '__proto', {
26284
26351
  value: pbjs => {
@@ -28712,6 +28779,87 @@ $root.wix = (function () {
28712
28779
  });
28713
28780
  return SearchRelatedOptions;
28714
28781
  }());;
28782
+ _api.UpdateExtendedFieldsOptions = (function () {
28783
+ class UpdateExtendedFieldsOptions {
28784
+ constructor(props) {
28785
+ this.itemField = props && props.itemField;
28786
+ }
28787
+ static toJSON(obj, helper, withDefaults) {
28788
+ if (obj == null) {
28789
+ return null;
28790
+ } else {
28791
+ const json = {};
28792
+ if (obj['itemField'] != null) {
28793
+ json['itemField'] = obj['itemField'];
28794
+ } else if (withDefaults) {
28795
+ json['itemField'] = '';
28796
+ }
28797
+ return json;
28798
+ }
28799
+ }
28800
+ static fromJSON(json, helper, withDefaults) {
28801
+ if (typeof json === 'object' && !Array.isArray(json)) {
28802
+ const result = new $root.wix.api.UpdateExtendedFieldsOptions();
28803
+ if (json['itemField'] != null) {
28804
+ result['itemField'] = json['itemField'];
28805
+ } else if (withDefaults !== false) {
28806
+ result['itemField'] = '';
28807
+ } else {
28808
+ delete result['itemField'];
28809
+ }
28810
+ return result;
28811
+ } else
28812
+ return json;
28813
+ }
28814
+ static toGRPC(obj, helper) {
28815
+ if (obj == null) {
28816
+ return null;
28817
+ } else {
28818
+ const grpc = {};
28819
+ if (obj['itemField'] != null) {
28820
+ grpc['itemField'] = obj['itemField'];
28821
+ }
28822
+ return grpc;
28823
+ }
28824
+ }
28825
+ static fromGRPC(grpc, helper) {
28826
+ if (grpc == null) {
28827
+ return null;
28828
+ } else {
28829
+ const result = new $root.wix.api.UpdateExtendedFieldsOptions();
28830
+ if (grpc['itemField'] != null) {
28831
+ result['itemField'] = grpc['itemField'];
28832
+ } else {
28833
+ result['itemField'] = '';
28834
+ }
28835
+ return result;
28836
+ }
28837
+ }
28838
+ }
28839
+ __builtIn.Object.defineProperty(UpdateExtendedFieldsOptions.prototype, '__proto', {
28840
+ value: pbjs => {
28841
+ return $root.__lookup(pbjs)('wix.api.UpdateExtendedFieldsOptions');
28842
+ },
28843
+ enumerable: false,
28844
+ configurable: false
28845
+ });
28846
+ __builtIn.Object.defineProperty(UpdateExtendedFieldsOptions.prototype, '__fqn__', {
28847
+ value: 'wix.api.UpdateExtendedFieldsOptions',
28848
+ enumerable: false,
28849
+ configurable: false
28850
+ });
28851
+ __builtIn.Object.defineProperty(UpdateExtendedFieldsOptions.prototype, '__options__', {
28852
+ value: $root.__options,
28853
+ enumerable: false,
28854
+ configurable: false
28855
+ });
28856
+ __builtIn.Object.defineProperty(UpdateExtendedFieldsOptions.prototype, '__root__', {
28857
+ value: $root,
28858
+ enumerable: false,
28859
+ configurable: false
28860
+ });
28861
+ return UpdateExtendedFieldsOptions;
28862
+ }());;
28715
28863
  _api.Wql = (function () {
28716
28864
  class Wql {
28717
28865
  constructor(props) {
@@ -28850,14 +28998,14 @@ $root.wix = (function () {
28850
28998
  9: 'BEGINS',
28851
28999
  'EXISTS': 'EXISTS',
28852
29000
  10: 'EXISTS',
28853
- 'ALL': 'ALL',
28854
- 11: 'ALL',
28855
29001
  'HAS_ALL': 'HAS_ALL',
28856
29002
  11: 'HAS_ALL',
28857
- 'ANY': 'ANY',
28858
- 12: 'ANY',
29003
+ 'ALL': 'ALL',
29004
+ 11: 'ALL',
28859
29005
  'HAS_SOME': 'HAS_SOME',
28860
29006
  12: 'HAS_SOME',
29007
+ 'ANY': 'ANY',
29008
+ 12: 'ANY',
28861
29009
  'EMPTY': 'EMPTY',
28862
29010
  13: 'EMPTY',
28863
29011
  'MATCH_ALL': 'MATCH_ALL',
@@ -29430,14 +29578,14 @@ $root.wix = (function () {
29430
29578
  9: 'BEGINS',
29431
29579
  'EXISTS': 'EXISTS',
29432
29580
  10: 'EXISTS',
29433
- 'ALL': 'ALL',
29434
- 11: 'ALL',
29435
29581
  'HAS_ALL': 'HAS_ALL',
29436
29582
  11: 'HAS_ALL',
29437
- 'ANY': 'ANY',
29438
- 12: 'ANY',
29583
+ 'ALL': 'ALL',
29584
+ 11: 'ALL',
29439
29585
  'HAS_SOME': 'HAS_SOME',
29440
29586
  12: 'HAS_SOME',
29587
+ 'ANY': 'ANY',
29588
+ 12: 'ANY',
29441
29589
  'EMPTY': 'EMPTY',
29442
29590
  13: 'EMPTY',
29443
29591
  'MATCH_ALL': 'MATCH_ALL',
@@ -49110,6 +49258,7 @@ $root.wix = (function () {
49110
49258
  this.count = props && props.count;
49111
49259
  this.cursors = props && props.cursors;
49112
49260
  this.hasNext = props && props.hasNext;
49261
+ this.total = props && props.total;
49113
49262
  }
49114
49263
  static toJSON(obj, helper, withDefaults) {
49115
49264
  if (obj == null) {
@@ -49131,6 +49280,11 @@ $root.wix = (function () {
49131
49280
  } else if (withDefaults) {
49132
49281
  delete json['hasNext'];
49133
49282
  }
49283
+ if (obj['total'] != null) {
49284
+ json['total'] = $root.google.protobuf.Int32Value.toJSON(obj['total'], helper, withDefaults);
49285
+ } else if (withDefaults) {
49286
+ delete json['total'];
49287
+ }
49134
49288
  return json;
49135
49289
  }
49136
49290
  }
@@ -49158,6 +49312,13 @@ $root.wix = (function () {
49158
49312
  } else {
49159
49313
  delete result['hasNext'];
49160
49314
  }
49315
+ if (json['total'] != null) {
49316
+ result['total'] = $root.google.protobuf.Int32Value.fromJSON(json['total'], helper);
49317
+ } else if (withDefaults !== false) {
49318
+ delete result['total'];
49319
+ } else {
49320
+ delete result['total'];
49321
+ }
49161
49322
  return result;
49162
49323
  } else
49163
49324
  return json;
@@ -49176,6 +49337,9 @@ $root.wix = (function () {
49176
49337
  if (obj['hasNext'] != null) {
49177
49338
  grpc['hasNext'] = $root.google.protobuf.BoolValue.toGRPC(obj['hasNext'], helper);
49178
49339
  }
49340
+ if (obj['total'] != null) {
49341
+ grpc['total'] = $root.google.protobuf.Int32Value.toGRPC(obj['total'], helper);
49342
+ }
49179
49343
  return grpc;
49180
49344
  }
49181
49345
  }
@@ -49199,6 +49363,11 @@ $root.wix = (function () {
49199
49363
  } else {
49200
49364
  delete result['hasNext'];
49201
49365
  }
49366
+ if (grpc['total'] != null) {
49367
+ result['total'] = $root.google.protobuf.Int32Value.fromGRPC(grpc['total'], helper);
49368
+ } else {
49369
+ delete result['total'];
49370
+ }
49202
49371
  return result;
49203
49372
  }
49204
49373
  }