@wix/metro-common-builders 1.0.1484 → 1.0.1486

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.1156',
13
- 'contentHash': '94d5d1bd3d7dfb9f41a42d4712581e2df3a452c0'
13
+ 'contentHash': '9dbc4302cfc6ddb6994ad3ffa324a26f48ce244e'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -2947,10 +2947,23 @@ $root.__lookup = function (pbjs) {
2947
2947
  ]
2948
2948
  },
2949
2949
  'sizeInBytes': {
2950
- 'type': 'google.protobuf.Int64Value',
2950
+ 'type': 'google.protobuf.StringValue',
2951
2951
  'id': 4,
2952
+ 'options': {
2953
+ '(wix.api.minLength)': 1,
2954
+ '(wix.api.maxLength)': 100
2955
+ },
2952
2956
  'comment': null,
2953
- 'parsedOptions': null
2957
+ 'parsedOptions': [
2958
+ {
2959
+ '(wix.api.minLength)': 1,
2960
+ '__comment': null
2961
+ },
2962
+ {
2963
+ '(wix.api.maxLength)': 100,
2964
+ '__comment': null
2965
+ }
2966
+ ]
2954
2967
  }
2955
2968
  },
2956
2969
  'comment': null
@@ -3035,10 +3048,23 @@ $root.__lookup = function (pbjs) {
3035
3048
  ]
3036
3049
  },
3037
3050
  'commitTimestamp': {
3038
- 'type': 'google.protobuf.Int64Value',
3051
+ 'type': 'google.protobuf.StringValue',
3039
3052
  'id': 4,
3053
+ 'options': {
3054
+ '(wix.api.minLength)': 1,
3055
+ '(wix.api.maxLength)': 100
3056
+ },
3040
3057
  'comment': null,
3041
- 'parsedOptions': null
3058
+ 'parsedOptions': [
3059
+ {
3060
+ '(wix.api.minLength)': 1,
3061
+ '__comment': null
3062
+ },
3063
+ {
3064
+ '(wix.api.maxLength)': 100,
3065
+ '__comment': null
3066
+ }
3067
+ ]
3042
3068
  },
3043
3069
  'type': {
3044
3070
  'type': 'TargetType',
@@ -3843,6 +3869,38 @@ $root.__lookup = function (pbjs) {
3843
3869
  'id': 16,
3844
3870
  'comment': null,
3845
3871
  'parsedOptions': null
3872
+ },
3873
+ 'persistence': {
3874
+ 'type': 'Persistence',
3875
+ 'id': 17,
3876
+ 'comment': null,
3877
+ 'parsedOptions': null
3878
+ }
3879
+ },
3880
+ 'comment': null
3881
+ },
3882
+ 'Persistence': {
3883
+ 'fields': {
3884
+ 'type': {
3885
+ 'type': 'Type',
3886
+ 'id': 1,
3887
+ 'comment': null,
3888
+ 'parsedOptions': null
3889
+ }
3890
+ },
3891
+ 'nested': {
3892
+ 'Type': {
3893
+ 'values': {
3894
+ 'STANDARD': 0,
3895
+ 'SINGLETON': 1,
3896
+ 'NONE': 2
3897
+ },
3898
+ 'comment': null,
3899
+ 'comments': {
3900
+ 'STANDARD': null,
3901
+ 'SINGLETON': null,
3902
+ 'NONE': null
3903
+ }
3846
3904
  }
3847
3905
  },
3848
3906
  'comment': null
@@ -4298,7 +4356,8 @@ $root.__lookup = function (pbjs) {
4298
4356
  'removeFromTrashbinOptions',
4299
4357
  'countOptions',
4300
4358
  'searchRelatedOptions',
4301
- 'updateExtendedFieldsOptions'
4359
+ 'updateExtendedFieldsOptions',
4360
+ 'customActionOptions'
4302
4361
  ],
4303
4362
  'comment': null
4304
4363
  }
@@ -4436,6 +4495,12 @@ $root.__lookup = function (pbjs) {
4436
4495
  'id': 23,
4437
4496
  'comment': null,
4438
4497
  'parsedOptions': null
4498
+ },
4499
+ 'customActionOptions': {
4500
+ 'type': 'CustomActionOptions',
4501
+ 'id': 24,
4502
+ 'comment': null,
4503
+ 'parsedOptions': null
4439
4504
  }
4440
4505
  },
4441
4506
  'nested': {
@@ -4464,7 +4529,8 @@ $root.__lookup = function (pbjs) {
4464
4529
  'SEARCH_RELATED': 20,
4465
4530
  'UPDATE_EXTENDED_FIELDS': 21,
4466
4531
  'BULK_UPDATE_TAGS': 22,
4467
- 'BULK_UPDATE_TAGS_BY_FILTER': 23
4532
+ 'BULK_UPDATE_TAGS_BY_FILTER': 23,
4533
+ 'CUSTOM_ACTION': 24
4468
4534
  },
4469
4535
  'comment': null,
4470
4536
  'comments': {
@@ -4491,7 +4557,8 @@ $root.__lookup = function (pbjs) {
4491
4557
  'SEARCH_RELATED': null,
4492
4558
  'UPDATE_EXTENDED_FIELDS': null,
4493
4559
  'BULK_UPDATE_TAGS': null,
4494
- 'BULK_UPDATE_TAGS_BY_FILTER': null
4560
+ 'BULK_UPDATE_TAGS_BY_FILTER': null,
4561
+ 'CUSTOM_ACTION': null
4495
4562
  }
4496
4563
  }
4497
4564
  },
@@ -4529,6 +4596,17 @@ $root.__lookup = function (pbjs) {
4529
4596
  },
4530
4597
  'comment': null
4531
4598
  },
4599
+ 'CustomActionOptions': {
4600
+ 'fields': {
4601
+ 'readOperation': {
4602
+ 'type': 'bool',
4603
+ 'id': 1,
4604
+ 'comment': null,
4605
+ 'parsedOptions': null
4606
+ }
4607
+ },
4608
+ 'comment': null
4609
+ },
4532
4610
  'CreateMethodOptions': {
4533
4611
  'fields': {
4534
4612
  'itemField': {
@@ -5688,6 +5766,13 @@ $root.__lookup = function (pbjs) {
5688
5766
  'comment': null,
5689
5767
  'parsedOptions': null
5690
5768
  },
5769
+ 'writeOnly': {
5770
+ 'type': 'bool',
5771
+ 'id': 50154,
5772
+ 'extend': 'google.protobuf.FieldOptions',
5773
+ 'comment': null,
5774
+ 'parsedOptions': null
5775
+ },
5691
5776
  'decimalValue': {
5692
5777
  'type': 'DecimalValueOptions',
5693
5778
  'id': 50211,
@@ -5799,7 +5884,8 @@ $root.__lookup = function (pbjs) {
5799
5884
  'LOCAL_TIME': 17,
5800
5885
  'LOCAL_DATE_TIME': 18,
5801
5886
  'URL_SLUG': 19,
5802
- 'SYSTEM_SLUG': 20
5887
+ 'SYSTEM_SLUG': 20,
5888
+ 'SECURE_WEB_URL': 21
5803
5889
  },
5804
5890
  'comment': null,
5805
5891
  'comments': {
@@ -5822,7 +5908,8 @@ $root.__lookup = function (pbjs) {
5822
5908
  'LOCAL_TIME': null,
5823
5909
  'LOCAL_DATE_TIME': null,
5824
5910
  'URL_SLUG': null,
5825
- 'SYSTEM_SLUG': null
5911
+ 'SYSTEM_SLUG': null,
5912
+ 'SECURE_WEB_URL': null
5826
5913
  }
5827
5914
  },
5828
5915
  'error': {
@@ -22047,7 +22134,7 @@ $root.wix = (function () {
22047
22134
  delete json['digest'];
22048
22135
  }
22049
22136
  if (obj['sizeInBytes'] != null) {
22050
- json['sizeInBytes'] = $root.google.protobuf.Int64Value.toJSON(obj['sizeInBytes'], helper, withDefaults);
22137
+ json['sizeInBytes'] = $root.google.protobuf.StringValue.toJSON(obj['sizeInBytes'], helper, withDefaults);
22051
22138
  } else if (withDefaults) {
22052
22139
  delete json['sizeInBytes'];
22053
22140
  }
@@ -22079,7 +22166,7 @@ $root.wix = (function () {
22079
22166
  delete result['digest'];
22080
22167
  }
22081
22168
  if (json['sizeInBytes'] != null) {
22082
- result['sizeInBytes'] = $root.google.protobuf.Int64Value.fromJSON(json['sizeInBytes'], helper);
22169
+ result['sizeInBytes'] = $root.google.protobuf.StringValue.fromJSON(json['sizeInBytes'], helper);
22083
22170
  } else if (withDefaults !== false) {
22084
22171
  delete result['sizeInBytes'];
22085
22172
  } else {
@@ -22104,7 +22191,7 @@ $root.wix = (function () {
22104
22191
  grpc['digest'] = $root.google.protobuf.StringValue.toGRPC(obj['digest'], helper);
22105
22192
  }
22106
22193
  if (obj['sizeInBytes'] != null) {
22107
- grpc['sizeInBytes'] = $root.google.protobuf.Int64Value.toGRPC(obj['sizeInBytes'], helper);
22194
+ grpc['sizeInBytes'] = $root.google.protobuf.StringValue.toGRPC(obj['sizeInBytes'], helper);
22108
22195
  }
22109
22196
  return grpc;
22110
22197
  }
@@ -22130,7 +22217,7 @@ $root.wix = (function () {
22130
22217
  delete result['digest'];
22131
22218
  }
22132
22219
  if (grpc['sizeInBytes'] != null) {
22133
- result['sizeInBytes'] = $root.google.protobuf.Int64Value.fromGRPC(grpc['sizeInBytes'], helper);
22220
+ result['sizeInBytes'] = $root.google.protobuf.StringValue.fromGRPC(grpc['sizeInBytes'], helper);
22134
22221
  } else {
22135
22222
  delete result['sizeInBytes'];
22136
22223
  }
@@ -22194,7 +22281,7 @@ $root.wix = (function () {
22194
22281
  delete json['combinedDigest'];
22195
22282
  }
22196
22283
  if (obj['commitTimestamp'] != null) {
22197
- json['commitTimestamp'] = $root.google.protobuf.Int64Value.toJSON(obj['commitTimestamp'], helper, withDefaults);
22284
+ json['commitTimestamp'] = $root.google.protobuf.StringValue.toJSON(obj['commitTimestamp'], helper, withDefaults);
22198
22285
  } else if (withDefaults) {
22199
22286
  delete json['commitTimestamp'];
22200
22287
  }
@@ -22243,7 +22330,7 @@ $root.wix = (function () {
22243
22330
  delete result['combinedDigest'];
22244
22331
  }
22245
22332
  if (json['commitTimestamp'] != null) {
22246
- result['commitTimestamp'] = $root.google.protobuf.Int64Value.fromJSON(json['commitTimestamp'], helper);
22333
+ result['commitTimestamp'] = $root.google.protobuf.StringValue.fromJSON(json['commitTimestamp'], helper);
22247
22334
  } else if (withDefaults !== false) {
22248
22335
  delete result['commitTimestamp'];
22249
22336
  } else {
@@ -22291,7 +22378,7 @@ $root.wix = (function () {
22291
22378
  grpc['combinedDigest'] = $root.google.protobuf.StringValue.toGRPC(obj['combinedDigest'], helper);
22292
22379
  }
22293
22380
  if (obj['commitTimestamp'] != null) {
22294
- grpc['commitTimestamp'] = $root.google.protobuf.Int64Value.toGRPC(obj['commitTimestamp'], helper);
22381
+ grpc['commitTimestamp'] = $root.google.protobuf.StringValue.toGRPC(obj['commitTimestamp'], helper);
22295
22382
  }
22296
22383
  if (obj['type'] != null) {
22297
22384
  grpc['type'] = obj['type'];
@@ -22328,7 +22415,7 @@ $root.wix = (function () {
22328
22415
  delete result['combinedDigest'];
22329
22416
  }
22330
22417
  if (grpc['commitTimestamp'] != null) {
22331
- result['commitTimestamp'] = $root.google.protobuf.Int64Value.fromGRPC(grpc['commitTimestamp'], helper);
22418
+ result['commitTimestamp'] = $root.google.protobuf.StringValue.fromGRPC(grpc['commitTimestamp'], helper);
22332
22419
  } else {
22333
22420
  delete result['commitTimestamp'];
22334
22421
  }
@@ -25026,6 +25113,7 @@ $root.wix = (function () {
25026
25113
  this.queryOptions = props && props.queryOptions;
25027
25114
  this.eventsExposure = props && props.eventsExposure;
25028
25115
  this.eventsMaturity = props && props.eventsMaturity;
25116
+ this.persistence = props && props.persistence;
25029
25117
  }
25030
25118
  static toJSON(obj, helper, withDefaults) {
25031
25119
  if (obj == null) {
@@ -25116,6 +25204,11 @@ $root.wix = (function () {
25116
25204
  } else if (withDefaults) {
25117
25205
  json['eventsMaturity'] = 'ALPHA';
25118
25206
  }
25207
+ if (obj['persistence'] != null) {
25208
+ json['persistence'] = $root.wix.api.Persistence.toJSON(obj['persistence'], helper, withDefaults);
25209
+ } else if (withDefaults) {
25210
+ delete json['persistence'];
25211
+ }
25119
25212
  return json;
25120
25213
  }
25121
25214
  }
@@ -25238,6 +25331,13 @@ $root.wix = (function () {
25238
25331
  } else {
25239
25332
  delete result['eventsMaturity'];
25240
25333
  }
25334
+ if (json['persistence'] != null) {
25335
+ result['persistence'] = $root.wix.api.Persistence.fromJSON(json['persistence'], helper);
25336
+ } else if (withDefaults !== false) {
25337
+ delete result['persistence'];
25338
+ } else {
25339
+ delete result['persistence'];
25340
+ }
25241
25341
  return result;
25242
25342
  } else
25243
25343
  return json;
@@ -25299,6 +25399,9 @@ $root.wix = (function () {
25299
25399
  if (obj['eventsMaturity'] != null) {
25300
25400
  grpc['eventsMaturity'] = obj['eventsMaturity'];
25301
25401
  }
25402
+ if (obj['persistence'] != null) {
25403
+ grpc['persistence'] = $root.wix.api.Persistence.toGRPC(obj['persistence'], helper);
25404
+ }
25302
25405
  return grpc;
25303
25406
  }
25304
25407
  }
@@ -25391,6 +25494,11 @@ $root.wix = (function () {
25391
25494
  } else {
25392
25495
  result['eventsMaturity'] = 'ALPHA';
25393
25496
  }
25497
+ if (grpc['persistence'] != null) {
25498
+ result['persistence'] = $root.wix.api.Persistence.fromGRPC(grpc['persistence'], helper);
25499
+ } else {
25500
+ delete result['persistence'];
25501
+ }
25394
25502
  return result;
25395
25503
  }
25396
25504
  }
@@ -25419,6 +25527,103 @@ $root.wix = (function () {
25419
25527
  });
25420
25528
  return Entity;
25421
25529
  }());;
25530
+ _api.Persistence = (function () {
25531
+ class Persistence {
25532
+ constructor(props) {
25533
+ this.type = props && props.type;
25534
+ }
25535
+ static toJSON(obj, helper, withDefaults) {
25536
+ if (obj == null) {
25537
+ return null;
25538
+ } else {
25539
+ const json = {};
25540
+ if (obj['type'] != null) {
25541
+ json['type'] = $root.wix.api.Persistence.Type[obj['type']];
25542
+ } else if (withDefaults) {
25543
+ json['type'] = 'STANDARD';
25544
+ }
25545
+ return json;
25546
+ }
25547
+ }
25548
+ static fromJSON(json, helper, withDefaults) {
25549
+ if (typeof json === 'object' && !Array.isArray(json)) {
25550
+ const result = new $root.wix.api.Persistence();
25551
+ if (json['type'] != null) {
25552
+ result['type'] = typeof json['type'] === 'string' ? json['type'] : $root.wix.api.Persistence.Type[json['type']];
25553
+ } else if (withDefaults !== false) {
25554
+ result['type'] = 'STANDARD';
25555
+ } else {
25556
+ delete result['type'];
25557
+ }
25558
+ return result;
25559
+ } else
25560
+ return json;
25561
+ }
25562
+ static toGRPC(obj, helper) {
25563
+ if (obj == null) {
25564
+ return null;
25565
+ } else {
25566
+ const grpc = {};
25567
+ if (obj['type'] != null) {
25568
+ grpc['type'] = obj['type'];
25569
+ }
25570
+ return grpc;
25571
+ }
25572
+ }
25573
+ static fromGRPC(grpc, helper) {
25574
+ if (grpc == null) {
25575
+ return null;
25576
+ } else {
25577
+ const result = new $root.wix.api.Persistence();
25578
+ if (grpc['type'] != null) {
25579
+ result['type'] = grpc['type'];
25580
+ } else {
25581
+ result['type'] = 'STANDARD';
25582
+ }
25583
+ return result;
25584
+ }
25585
+ }
25586
+ }
25587
+ Persistence.Type = {
25588
+ 'STANDARD': 'STANDARD',
25589
+ 0: 'STANDARD',
25590
+ 'SINGLETON': 'SINGLETON',
25591
+ 1: 'SINGLETON',
25592
+ 'NONE': 'NONE',
25593
+ 2: 'NONE'
25594
+ };
25595
+ Persistence.Type = {
25596
+ 'STANDARD': 'STANDARD',
25597
+ 0: 'STANDARD',
25598
+ 'SINGLETON': 'SINGLETON',
25599
+ 1: 'SINGLETON',
25600
+ 'NONE': 'NONE',
25601
+ 2: 'NONE'
25602
+ };
25603
+ __builtIn.Object.defineProperty(Persistence.prototype, '__proto', {
25604
+ value: pbjs => {
25605
+ return $root.__lookup(pbjs)('wix.api.Persistence');
25606
+ },
25607
+ enumerable: false,
25608
+ configurable: false
25609
+ });
25610
+ __builtIn.Object.defineProperty(Persistence.prototype, '__fqn__', {
25611
+ value: 'wix.api.Persistence',
25612
+ enumerable: false,
25613
+ configurable: false
25614
+ });
25615
+ __builtIn.Object.defineProperty(Persistence.prototype, '__options__', {
25616
+ value: $root.__options,
25617
+ enumerable: false,
25618
+ configurable: false
25619
+ });
25620
+ __builtIn.Object.defineProperty(Persistence.prototype, '__root__', {
25621
+ value: $root,
25622
+ enumerable: false,
25623
+ configurable: false
25624
+ });
25625
+ return Persistence;
25626
+ }());;
25422
25627
  _api.Extensible = (function () {
25423
25628
  class Extensible {
25424
25629
  constructor(props) {
@@ -26723,6 +26928,7 @@ $root.wix = (function () {
26723
26928
  this.countOptions = props && props.countOptions;
26724
26929
  this.searchRelatedOptions = props && props.searchRelatedOptions;
26725
26930
  this.updateExtendedFieldsOptions = props && props.updateExtendedFieldsOptions;
26931
+ this.customActionOptions = props && props.customActionOptions;
26726
26932
  }
26727
26933
  static toJSON(obj, helper, withDefaults) {
26728
26934
  if (obj == null) {
@@ -26839,6 +27045,11 @@ $root.wix = (function () {
26839
27045
  } else if (withDefaults) {
26840
27046
  delete json['updateExtendedFieldsOptions'];
26841
27047
  }
27048
+ if (obj['customActionOptions'] != null) {
27049
+ json['customActionOptions'] = $root.wix.api.CustomActionOptions.toJSON(obj['customActionOptions'], helper, withDefaults);
27050
+ } else if (withDefaults) {
27051
+ delete json['customActionOptions'];
27052
+ }
26842
27053
  return json;
26843
27054
  }
26844
27055
  }
@@ -26999,6 +27210,13 @@ $root.wix = (function () {
26999
27210
  } else {
27000
27211
  delete result['updateExtendedFieldsOptions'];
27001
27212
  }
27213
+ if (json['customActionOptions'] != null) {
27214
+ result['customActionOptions'] = $root.wix.api.CustomActionOptions.fromJSON(json['customActionOptions'], helper);
27215
+ } else if (withDefaults !== false) {
27216
+ delete result['customActionOptions'];
27217
+ } else {
27218
+ delete result['customActionOptions'];
27219
+ }
27002
27220
  return result;
27003
27221
  } else
27004
27222
  return json;
@@ -27074,6 +27292,9 @@ $root.wix = (function () {
27074
27292
  if (obj['updateExtendedFieldsOptions'] != null) {
27075
27293
  grpc['updateExtendedFieldsOptions'] = $root.wix.api.UpdateExtendedFieldsOptions.toGRPC(obj['updateExtendedFieldsOptions'], helper);
27076
27294
  }
27295
+ if (obj['customActionOptions'] != null) {
27296
+ grpc['customActionOptions'] = $root.wix.api.CustomActionOptions.toGRPC(obj['customActionOptions'], helper);
27297
+ }
27077
27298
  return grpc;
27078
27299
  }
27079
27300
  }
@@ -27192,6 +27413,11 @@ $root.wix = (function () {
27192
27413
  } else {
27193
27414
  delete result['updateExtendedFieldsOptions'];
27194
27415
  }
27416
+ if (grpc['customActionOptions'] != null) {
27417
+ result['customActionOptions'] = $root.wix.api.CustomActionOptions.fromGRPC(grpc['customActionOptions'], helper);
27418
+ } else {
27419
+ delete result['customActionOptions'];
27420
+ }
27195
27421
  return result;
27196
27422
  }
27197
27423
  }
@@ -27244,7 +27470,9 @@ $root.wix = (function () {
27244
27470
  'BULK_UPDATE_TAGS': 'BULK_UPDATE_TAGS',
27245
27471
  22: 'BULK_UPDATE_TAGS',
27246
27472
  'BULK_UPDATE_TAGS_BY_FILTER': 'BULK_UPDATE_TAGS_BY_FILTER',
27247
- 23: 'BULK_UPDATE_TAGS_BY_FILTER'
27473
+ 23: 'BULK_UPDATE_TAGS_BY_FILTER',
27474
+ 'CUSTOM_ACTION': 'CUSTOM_ACTION',
27475
+ 24: 'CUSTOM_ACTION'
27248
27476
  };
27249
27477
  Crud.Method = {
27250
27478
  'UNKNOWN_METHOD': 'UNKNOWN_METHOD',
@@ -27294,7 +27522,9 @@ $root.wix = (function () {
27294
27522
  'BULK_UPDATE_TAGS': 'BULK_UPDATE_TAGS',
27295
27523
  22: 'BULK_UPDATE_TAGS',
27296
27524
  'BULK_UPDATE_TAGS_BY_FILTER': 'BULK_UPDATE_TAGS_BY_FILTER',
27297
- 23: 'BULK_UPDATE_TAGS_BY_FILTER'
27525
+ 23: 'BULK_UPDATE_TAGS_BY_FILTER',
27526
+ 'CUSTOM_ACTION': 'CUSTOM_ACTION',
27527
+ 24: 'CUSTOM_ACTION'
27298
27528
  };
27299
27529
  __builtIn.Object.defineProperty(Crud.prototype, '__proto', {
27300
27530
  value: pbjs => {
@@ -27438,6 +27668,87 @@ $root.wix = (function () {
27438
27668
  });
27439
27669
  return Paging;
27440
27670
  }());;
27671
+ _api.CustomActionOptions = (function () {
27672
+ class CustomActionOptions {
27673
+ constructor(props) {
27674
+ this.readOperation = props && props.readOperation;
27675
+ }
27676
+ static toJSON(obj, helper, withDefaults) {
27677
+ if (obj == null) {
27678
+ return null;
27679
+ } else {
27680
+ const json = {};
27681
+ if (obj['readOperation'] != null) {
27682
+ json['readOperation'] = obj['readOperation'];
27683
+ } else if (withDefaults) {
27684
+ json['readOperation'] = false;
27685
+ }
27686
+ return json;
27687
+ }
27688
+ }
27689
+ static fromJSON(json, helper, withDefaults) {
27690
+ if (typeof json === 'object' && !Array.isArray(json)) {
27691
+ const result = new $root.wix.api.CustomActionOptions();
27692
+ if (json['readOperation'] != null) {
27693
+ result['readOperation'] = json['readOperation'];
27694
+ } else if (withDefaults !== false) {
27695
+ result['readOperation'] = false;
27696
+ } else {
27697
+ delete result['readOperation'];
27698
+ }
27699
+ return result;
27700
+ } else
27701
+ return json;
27702
+ }
27703
+ static toGRPC(obj, helper) {
27704
+ if (obj == null) {
27705
+ return null;
27706
+ } else {
27707
+ const grpc = {};
27708
+ if (obj['readOperation'] != null) {
27709
+ grpc['readOperation'] = obj['readOperation'];
27710
+ }
27711
+ return grpc;
27712
+ }
27713
+ }
27714
+ static fromGRPC(grpc, helper) {
27715
+ if (grpc == null) {
27716
+ return null;
27717
+ } else {
27718
+ const result = new $root.wix.api.CustomActionOptions();
27719
+ if (grpc['readOperation'] != null) {
27720
+ result['readOperation'] = grpc['readOperation'];
27721
+ } else {
27722
+ result['readOperation'] = false;
27723
+ }
27724
+ return result;
27725
+ }
27726
+ }
27727
+ }
27728
+ __builtIn.Object.defineProperty(CustomActionOptions.prototype, '__proto', {
27729
+ value: pbjs => {
27730
+ return $root.__lookup(pbjs)('wix.api.CustomActionOptions');
27731
+ },
27732
+ enumerable: false,
27733
+ configurable: false
27734
+ });
27735
+ __builtIn.Object.defineProperty(CustomActionOptions.prototype, '__fqn__', {
27736
+ value: 'wix.api.CustomActionOptions',
27737
+ enumerable: false,
27738
+ configurable: false
27739
+ });
27740
+ __builtIn.Object.defineProperty(CustomActionOptions.prototype, '__options__', {
27741
+ value: $root.__options,
27742
+ enumerable: false,
27743
+ configurable: false
27744
+ });
27745
+ __builtIn.Object.defineProperty(CustomActionOptions.prototype, '__root__', {
27746
+ value: $root,
27747
+ enumerable: false,
27748
+ configurable: false
27749
+ });
27750
+ return CustomActionOptions;
27751
+ }());;
27441
27752
  _api.CreateMethodOptions = (function () {
27442
27753
  class CreateMethodOptions {
27443
27754
  constructor(props) {
@@ -32745,7 +33056,9 @@ $root.wix = (function () {
32745
33056
  'URL_SLUG': 'URL_SLUG',
32746
33057
  19: 'URL_SLUG',
32747
33058
  'SYSTEM_SLUG': 'SYSTEM_SLUG',
32748
- 20: 'SYSTEM_SLUG'
33059
+ 20: 'SYSTEM_SLUG',
33060
+ 'SECURE_WEB_URL': 'SECURE_WEB_URL',
33061
+ 21: 'SECURE_WEB_URL'
32749
33062
  };
32750
33063
  _api.Error = (function () {
32751
33064
  class Error {
@@ -54807,6 +55120,7 @@ $root.google = (function () {
54807
55120
  this['wix.api.format'] = props && props['wix.api.format'];
54808
55121
  this['wix.api.readOnly'] = props && props['wix.api.readOnly'];
54809
55122
  this['wix.api.immutable'] = props && props['wix.api.immutable'];
55123
+ this['wix.api.writeOnly'] = props && props['wix.api.writeOnly'];
54810
55124
  this['wix.api.decimalValue'] = props && props['wix.api.decimalValue'];
54811
55125
  this['wix.api.customValidation'] = props && props['wix.api.customValidation'];
54812
55126
  }
@@ -54947,6 +55261,11 @@ $root.google = (function () {
54947
55261
  } else if (withDefaults) {
54948
55262
  json['wix.api.immutable'] = false;
54949
55263
  }
55264
+ if (obj['wix.api.writeOnly'] != null) {
55265
+ json['wix.api.writeOnly'] = obj['wix.api.writeOnly'];
55266
+ } else if (withDefaults) {
55267
+ json['wix.api.writeOnly'] = false;
55268
+ }
54950
55269
  if (obj['wix.api.decimalValue'] != null) {
54951
55270
  json['wix.api.decimalValue'] = $root.wix.api.DecimalValueOptions.toJSON(obj['wix.api.decimalValue'], helper, withDefaults);
54952
55271
  } else if (withDefaults) {
@@ -55147,6 +55466,13 @@ $root.google = (function () {
55147
55466
  } else {
55148
55467
  delete result['wix.api.immutable'];
55149
55468
  }
55469
+ if (json['wix.api.writeOnly'] != null) {
55470
+ result['wix.api.writeOnly'] = json['wix.api.writeOnly'];
55471
+ } else if (withDefaults !== false) {
55472
+ result['wix.api.writeOnly'] = false;
55473
+ } else {
55474
+ delete result['wix.api.writeOnly'];
55475
+ }
55150
55476
  if (json['wix.api.decimalValue'] != null) {
55151
55477
  result['wix.api.decimalValue'] = $root.wix.api.DecimalValueOptions.fromJSON(json['wix.api.decimalValue'], helper);
55152
55478
  } else if (withDefaults !== false) {
@@ -55250,6 +55576,9 @@ $root.google = (function () {
55250
55576
  if (obj['wix.api.immutable'] != null) {
55251
55577
  grpc['wix.api.immutable'] = obj['wix.api.immutable'];
55252
55578
  }
55579
+ if (obj['wix.api.writeOnly'] != null) {
55580
+ grpc['wix.api.writeOnly'] = obj['wix.api.writeOnly'];
55581
+ }
55253
55582
  if (obj['wix.api.decimalValue'] != null) {
55254
55583
  grpc['wix.api.decimalValue'] = $root.wix.api.DecimalValueOptions.toGRPC(obj['wix.api.decimalValue'], helper);
55255
55584
  }
@@ -55396,6 +55725,11 @@ $root.google = (function () {
55396
55725
  } else {
55397
55726
  result['wix.api.immutable'] = false;
55398
55727
  }
55728
+ if (grpc['wix.api.writeOnly'] != null) {
55729
+ result['wix.api.writeOnly'] = grpc['wix.api.writeOnly'];
55730
+ } else {
55731
+ result['wix.api.writeOnly'] = false;
55732
+ }
55399
55733
  if (grpc['wix.api.decimalValue'] != null) {
55400
55734
  result['wix.api.decimalValue'] = $root.wix.api.DecimalValueOptions.fromGRPC(grpc['wix.api.decimalValue'], helper);
55401
55735
  } else {