@wix/metro-common-builders 1.0.1591 → 1.0.1593

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.
@@ -1540,6 +1540,7 @@ declare namespace $requests {
1540
1540
  eventsExposure?: $requests.wix.api.Exposure;
1541
1541
  eventsMaturity?: $requests.wix.api.Maturity;
1542
1542
  persistence?: $requests.wix.api.IPersistence;
1543
+ permissionOptions?: $requests.wix.api.IPermissionCatalogOptions;
1543
1544
  }
1544
1545
  export class Entity implements IEntity {
1545
1546
  constructor(data?: IEntity);
@@ -1560,6 +1561,17 @@ declare namespace $requests {
1560
1561
  eventsExposure?: $requests.wix.api.Exposure;
1561
1562
  eventsMaturity?: $requests.wix.api.Maturity;
1562
1563
  persistence?: $requests.wix.api.IPersistence;
1564
+ permissionOptions?: $requests.wix.api.IPermissionCatalogOptions;
1565
+ static __$$generatedFromProtobuf$$__: Symbol;
1566
+ }
1567
+ export interface IPermissionCatalogOptions {
1568
+ autoGeneratePermissions?: boolean;
1569
+ autoGenerateScopes?: boolean;
1570
+ }
1571
+ export class PermissionCatalogOptions implements IPermissionCatalogOptions {
1572
+ constructor(data?: IPermissionCatalogOptions);
1573
+ autoGeneratePermissions?: boolean;
1574
+ autoGenerateScopes?: boolean;
1563
1575
  static __$$generatedFromProtobuf$$__: Symbol;
1564
1576
  }
1565
1577
  export interface IPersistence {
@@ -2159,6 +2171,7 @@ declare namespace $requests {
2159
2171
  export enum VirtualSubfields {
2160
2172
  NO_VIRTUAL_SUBFIELDS = "NO_VIRTUAL_SUBFIELDS",
2161
2173
  DATE = "DATE",
2174
+ EMAIL = "EMAIL",
2162
2175
  }
2163
2176
  export interface IOperatorFieldSupport {
2164
2177
  operator?: $requests.wix.api.Wql.Operator[];
@@ -5420,6 +5433,7 @@ declare namespace $responses {
5420
5433
  eventsExposure: $responses.wix.api.Exposure;
5421
5434
  eventsMaturity: $responses.wix.api.Maturity;
5422
5435
  persistence?: $responses.wix.api.IPersistence;
5436
+ permissionOptions?: $responses.wix.api.IPermissionCatalogOptions;
5423
5437
  }
5424
5438
  export class Entity implements IEntity {
5425
5439
  constructor(data?: IEntity);
@@ -5440,6 +5454,17 @@ declare namespace $responses {
5440
5454
  eventsExposure: $responses.wix.api.Exposure;
5441
5455
  eventsMaturity: $responses.wix.api.Maturity;
5442
5456
  persistence?: $responses.wix.api.IPersistence;
5457
+ permissionOptions?: $responses.wix.api.IPermissionCatalogOptions;
5458
+ static __$$generatedFromProtobuf$$__: Symbol;
5459
+ }
5460
+ export interface IPermissionCatalogOptions {
5461
+ autoGeneratePermissions: boolean;
5462
+ autoGenerateScopes: boolean;
5463
+ }
5464
+ export class PermissionCatalogOptions implements IPermissionCatalogOptions {
5465
+ constructor(data?: IPermissionCatalogOptions);
5466
+ autoGeneratePermissions: boolean;
5467
+ autoGenerateScopes: boolean;
5443
5468
  static __$$generatedFromProtobuf$$__: Symbol;
5444
5469
  }
5445
5470
  export interface IPersistence {
@@ -6039,6 +6064,7 @@ declare namespace $responses {
6039
6064
  export enum VirtualSubfields {
6040
6065
  NO_VIRTUAL_SUBFIELDS = "NO_VIRTUAL_SUBFIELDS",
6041
6066
  DATE = "DATE",
6067
+ EMAIL = "EMAIL",
6042
6068
  }
6043
6069
  export interface IOperatorFieldSupport {
6044
6070
  operator: $responses.wix.api.Wql.Operator[];
@@ -1561,6 +1561,7 @@ declare namespace $wrapper {
1561
1561
  eventsExposure?: ($wrapper.wix.api.Exposure | null);
1562
1562
  eventsMaturity?: ($wrapper.wix.api.Maturity | null);
1563
1563
  persistence?: ($wrapper.wix.api.IPersistence | null);
1564
+ permissionOptions?: ($wrapper.wix.api.IPermissionCatalogOptions | null);
1564
1565
  }
1565
1566
  export class Entity implements IEntity {
1566
1567
  constructor(data?: IEntity);
@@ -1581,6 +1582,17 @@ declare namespace $wrapper {
1581
1582
  eventsExposure?: ($wrapper.wix.api.Exposure | null);
1582
1583
  eventsMaturity?: ($wrapper.wix.api.Maturity | null);
1583
1584
  persistence?: ($wrapper.wix.api.IPersistence | null);
1585
+ permissionOptions?: ($wrapper.wix.api.IPermissionCatalogOptions | null);
1586
+ static __$$generatedFromProtobuf$$__: Symbol;
1587
+ }
1588
+ export interface IPermissionCatalogOptions {
1589
+ autoGeneratePermissions?: (boolean | null);
1590
+ autoGenerateScopes?: (boolean | null);
1591
+ }
1592
+ export class PermissionCatalogOptions implements IPermissionCatalogOptions {
1593
+ constructor(data?: IPermissionCatalogOptions);
1594
+ autoGeneratePermissions?: (boolean | null);
1595
+ autoGenerateScopes?: (boolean | null);
1584
1596
  static __$$generatedFromProtobuf$$__: Symbol;
1585
1597
  }
1586
1598
  export interface IPersistence {
@@ -2180,6 +2192,7 @@ declare namespace $wrapper {
2180
2192
  export enum VirtualSubfields {
2181
2193
  NO_VIRTUAL_SUBFIELDS = "NO_VIRTUAL_SUBFIELDS",
2182
2194
  DATE = "DATE",
2195
+ EMAIL = "EMAIL",
2183
2196
  }
2184
2197
  export interface IOperatorFieldSupport {
2185
2198
  operator?: ($wrapper.wix.api.Wql.Operator[] | null);
@@ -10,7 +10,7 @@ $root.__options = {
10
10
  'stringLongs': true,
11
11
  'stdCase': false,
12
12
  'generatorVersion': '2.0.1157',
13
- 'contentHash': 'dcdc91171a3f01e7ea88bd97a1ca1a330a56783e'
13
+ 'contentHash': 'b231921cc47383797d0159214b354e1e9b0edf14'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -4151,6 +4151,29 @@ $root.__lookup = function (pbjs) {
4151
4151
  'id': 17,
4152
4152
  'comment': null,
4153
4153
  'parsedOptions': null
4154
+ },
4155
+ 'permissionOptions': {
4156
+ 'type': 'PermissionCatalogOptions',
4157
+ 'id': 18,
4158
+ 'comment': null,
4159
+ 'parsedOptions': null
4160
+ }
4161
+ },
4162
+ 'comment': null
4163
+ },
4164
+ 'PermissionCatalogOptions': {
4165
+ 'fields': {
4166
+ 'autoGeneratePermissions': {
4167
+ 'type': 'bool',
4168
+ 'id': 1,
4169
+ 'comment': null,
4170
+ 'parsedOptions': null
4171
+ },
4172
+ 'autoGenerateScopes': {
4173
+ 'type': 'bool',
4174
+ 'id': 2,
4175
+ 'comment': null,
4176
+ 'parsedOptions': null
4154
4177
  }
4155
4178
  },
4156
4179
  'comment': null
@@ -5671,12 +5694,14 @@ $root.__lookup = function (pbjs) {
5671
5694
  'VirtualSubfields': {
5672
5695
  'values': {
5673
5696
  'NO_VIRTUAL_SUBFIELDS': 0,
5674
- 'DATE': 1
5697
+ 'DATE': 1,
5698
+ 'EMAIL': 2
5675
5699
  },
5676
5700
  'comment': null,
5677
5701
  'comments': {
5678
5702
  'NO_VIRTUAL_SUBFIELDS': null,
5679
- 'DATE': null
5703
+ 'DATE': null,
5704
+ 'EMAIL': null
5680
5705
  }
5681
5706
  },
5682
5707
  'OperatorFieldSupport': {
@@ -26562,6 +26587,7 @@ $root.wix = (function () {
26562
26587
  this.eventsExposure = props && props.eventsExposure;
26563
26588
  this.eventsMaturity = props && props.eventsMaturity;
26564
26589
  this.persistence = props && props.persistence;
26590
+ this.permissionOptions = props && props.permissionOptions;
26565
26591
  }
26566
26592
  static toJSON(obj, helper, withDefaults) {
26567
26593
  if (obj == null) {
@@ -26657,6 +26683,11 @@ $root.wix = (function () {
26657
26683
  } else if (withDefaults) {
26658
26684
  delete json['persistence'];
26659
26685
  }
26686
+ if (obj['permissionOptions'] != null) {
26687
+ json['permissionOptions'] = $root.wix.api.PermissionCatalogOptions.toJSON(obj['permissionOptions'], helper, withDefaults);
26688
+ } else if (withDefaults) {
26689
+ delete json['permissionOptions'];
26690
+ }
26660
26691
  return json;
26661
26692
  }
26662
26693
  }
@@ -26786,6 +26817,13 @@ $root.wix = (function () {
26786
26817
  } else {
26787
26818
  delete result['persistence'];
26788
26819
  }
26820
+ if (json['permissionOptions'] != null) {
26821
+ result['permissionOptions'] = $root.wix.api.PermissionCatalogOptions.fromJSON(json['permissionOptions'], helper);
26822
+ } else if (withDefaults !== false) {
26823
+ delete result['permissionOptions'];
26824
+ } else {
26825
+ delete result['permissionOptions'];
26826
+ }
26789
26827
  return result;
26790
26828
  } else
26791
26829
  return json;
@@ -26850,6 +26888,9 @@ $root.wix = (function () {
26850
26888
  if (obj['persistence'] != null) {
26851
26889
  grpc['persistence'] = $root.wix.api.Persistence.toGRPC(obj['persistence'], helper);
26852
26890
  }
26891
+ if (obj['permissionOptions'] != null) {
26892
+ grpc['permissionOptions'] = $root.wix.api.PermissionCatalogOptions.toGRPC(obj['permissionOptions'], helper);
26893
+ }
26853
26894
  return grpc;
26854
26895
  }
26855
26896
  }
@@ -26947,6 +26988,11 @@ $root.wix = (function () {
26947
26988
  } else {
26948
26989
  delete result['persistence'];
26949
26990
  }
26991
+ if (grpc['permissionOptions'] != null) {
26992
+ result['permissionOptions'] = $root.wix.api.PermissionCatalogOptions.fromGRPC(grpc['permissionOptions'], helper);
26993
+ } else {
26994
+ delete result['permissionOptions'];
26995
+ }
26950
26996
  return result;
26951
26997
  }
26952
26998
  }
@@ -26975,6 +27021,108 @@ $root.wix = (function () {
26975
27021
  });
26976
27022
  return Entity;
26977
27023
  }());;
27024
+ _api.PermissionCatalogOptions = (function () {
27025
+ class PermissionCatalogOptions {
27026
+ constructor(props) {
27027
+ this.autoGeneratePermissions = props && props.autoGeneratePermissions;
27028
+ this.autoGenerateScopes = props && props.autoGenerateScopes;
27029
+ }
27030
+ static toJSON(obj, helper, withDefaults) {
27031
+ if (obj == null) {
27032
+ return null;
27033
+ } else {
27034
+ const json = {};
27035
+ if (obj['autoGeneratePermissions'] != null) {
27036
+ json['autoGeneratePermissions'] = obj['autoGeneratePermissions'];
27037
+ } else if (withDefaults) {
27038
+ json['autoGeneratePermissions'] = false;
27039
+ }
27040
+ if (obj['autoGenerateScopes'] != null) {
27041
+ json['autoGenerateScopes'] = obj['autoGenerateScopes'];
27042
+ } else if (withDefaults) {
27043
+ json['autoGenerateScopes'] = false;
27044
+ }
27045
+ return json;
27046
+ }
27047
+ }
27048
+ static fromJSON(json, helper, withDefaults) {
27049
+ if (typeof json === 'object' && !Array.isArray(json)) {
27050
+ const result = new $root.wix.api.PermissionCatalogOptions();
27051
+ if (json['autoGeneratePermissions'] != null) {
27052
+ result['autoGeneratePermissions'] = json['autoGeneratePermissions'];
27053
+ } else if (withDefaults !== false) {
27054
+ result['autoGeneratePermissions'] = false;
27055
+ } else {
27056
+ delete result['autoGeneratePermissions'];
27057
+ }
27058
+ if (json['autoGenerateScopes'] != null) {
27059
+ result['autoGenerateScopes'] = json['autoGenerateScopes'];
27060
+ } else if (withDefaults !== false) {
27061
+ result['autoGenerateScopes'] = false;
27062
+ } else {
27063
+ delete result['autoGenerateScopes'];
27064
+ }
27065
+ return result;
27066
+ } else
27067
+ return json;
27068
+ }
27069
+ static toGRPC(obj, helper) {
27070
+ if (obj == null) {
27071
+ return null;
27072
+ } else {
27073
+ const grpc = {};
27074
+ if (obj['autoGeneratePermissions'] != null) {
27075
+ grpc['autoGeneratePermissions'] = obj['autoGeneratePermissions'];
27076
+ }
27077
+ if (obj['autoGenerateScopes'] != null) {
27078
+ grpc['autoGenerateScopes'] = obj['autoGenerateScopes'];
27079
+ }
27080
+ return grpc;
27081
+ }
27082
+ }
27083
+ static fromGRPC(grpc, helper) {
27084
+ if (grpc == null) {
27085
+ return null;
27086
+ } else {
27087
+ const result = new $root.wix.api.PermissionCatalogOptions();
27088
+ if (grpc['autoGeneratePermissions'] != null) {
27089
+ result['autoGeneratePermissions'] = grpc['autoGeneratePermissions'];
27090
+ } else {
27091
+ result['autoGeneratePermissions'] = false;
27092
+ }
27093
+ if (grpc['autoGenerateScopes'] != null) {
27094
+ result['autoGenerateScopes'] = grpc['autoGenerateScopes'];
27095
+ } else {
27096
+ result['autoGenerateScopes'] = false;
27097
+ }
27098
+ return result;
27099
+ }
27100
+ }
27101
+ }
27102
+ __builtIn.Object.defineProperty(PermissionCatalogOptions.prototype, '__proto', {
27103
+ value: pbjs => {
27104
+ return $root.__lookup(pbjs)('wix.api.PermissionCatalogOptions');
27105
+ },
27106
+ enumerable: false,
27107
+ configurable: false
27108
+ });
27109
+ __builtIn.Object.defineProperty(PermissionCatalogOptions.prototype, '__fqn__', {
27110
+ value: 'wix.api.PermissionCatalogOptions',
27111
+ enumerable: false,
27112
+ configurable: false
27113
+ });
27114
+ __builtIn.Object.defineProperty(PermissionCatalogOptions.prototype, '__options__', {
27115
+ value: $root.__options,
27116
+ enumerable: false,
27117
+ configurable: false
27118
+ });
27119
+ __builtIn.Object.defineProperty(PermissionCatalogOptions.prototype, '__root__', {
27120
+ value: $root,
27121
+ enumerable: false,
27122
+ configurable: false
27123
+ });
27124
+ return PermissionCatalogOptions;
27125
+ }());;
26978
27126
  _api.Persistence = (function () {
26979
27127
  class Persistence {
26980
27128
  constructor(props) {
@@ -32621,7 +32769,9 @@ $root.wix = (function () {
32621
32769
  'NO_VIRTUAL_SUBFIELDS': 'NO_VIRTUAL_SUBFIELDS',
32622
32770
  0: 'NO_VIRTUAL_SUBFIELDS',
32623
32771
  'DATE': 'DATE',
32624
- 1: 'DATE'
32772
+ 1: 'DATE',
32773
+ 'EMAIL': 'EMAIL',
32774
+ 2: 'EMAIL'
32625
32775
  };
32626
32776
  Wql.OperatorFieldSupport = (function () {
32627
32777
  class OperatorFieldSupport {
@@ -33230,7 +33380,9 @@ $root.wix = (function () {
33230
33380
  'NO_VIRTUAL_SUBFIELDS': 'NO_VIRTUAL_SUBFIELDS',
33231
33381
  0: 'NO_VIRTUAL_SUBFIELDS',
33232
33382
  'DATE': 'DATE',
33233
- 1: 'DATE'
33383
+ 1: 'DATE',
33384
+ 'EMAIL': 'EMAIL',
33385
+ 2: 'EMAIL'
33234
33386
  };
33235
33387
  Wql.OperatorFieldSupport = (function () {
33236
33388
  class OperatorFieldSupport {
@@ -1540,6 +1540,7 @@ declare namespace $requests {
1540
1540
  eventsExposure: $requests.wix.api.Exposure;
1541
1541
  eventsMaturity: $requests.wix.api.Maturity;
1542
1542
  persistence?: $requests.wix.api.IPersistence;
1543
+ permissionOptions?: $requests.wix.api.IPermissionCatalogOptions;
1543
1544
  }
1544
1545
  export class Entity implements IEntity {
1545
1546
  constructor(data?: IEntity);
@@ -1560,6 +1561,17 @@ declare namespace $requests {
1560
1561
  eventsExposure: $requests.wix.api.Exposure;
1561
1562
  eventsMaturity: $requests.wix.api.Maturity;
1562
1563
  persistence?: $requests.wix.api.IPersistence;
1564
+ permissionOptions?: $requests.wix.api.IPermissionCatalogOptions;
1565
+ static __$$generatedFromProtobuf$$__: Symbol;
1566
+ }
1567
+ export interface IPermissionCatalogOptions {
1568
+ autoGeneratePermissions: boolean;
1569
+ autoGenerateScopes: boolean;
1570
+ }
1571
+ export class PermissionCatalogOptions implements IPermissionCatalogOptions {
1572
+ constructor(data?: IPermissionCatalogOptions);
1573
+ autoGeneratePermissions: boolean;
1574
+ autoGenerateScopes: boolean;
1563
1575
  static __$$generatedFromProtobuf$$__: Symbol;
1564
1576
  }
1565
1577
  export interface IPersistence {
@@ -2159,6 +2171,7 @@ declare namespace $requests {
2159
2171
  export enum VirtualSubfields {
2160
2172
  NO_VIRTUAL_SUBFIELDS = "NO_VIRTUAL_SUBFIELDS",
2161
2173
  DATE = "DATE",
2174
+ EMAIL = "EMAIL",
2162
2175
  }
2163
2176
  export interface IOperatorFieldSupport {
2164
2177
  operator: $requests.wix.api.Wql.Operator[];
@@ -5420,6 +5433,7 @@ declare namespace $responses {
5420
5433
  eventsExposure?: $responses.wix.api.Exposure;
5421
5434
  eventsMaturity?: $responses.wix.api.Maturity;
5422
5435
  persistence?: $responses.wix.api.IPersistence;
5436
+ permissionOptions?: $responses.wix.api.IPermissionCatalogOptions;
5423
5437
  }
5424
5438
  export class Entity implements IEntity {
5425
5439
  constructor(data?: IEntity);
@@ -5440,6 +5454,17 @@ declare namespace $responses {
5440
5454
  eventsExposure?: $responses.wix.api.Exposure;
5441
5455
  eventsMaturity?: $responses.wix.api.Maturity;
5442
5456
  persistence?: $responses.wix.api.IPersistence;
5457
+ permissionOptions?: $responses.wix.api.IPermissionCatalogOptions;
5458
+ static __$$generatedFromProtobuf$$__: Symbol;
5459
+ }
5460
+ export interface IPermissionCatalogOptions {
5461
+ autoGeneratePermissions?: boolean;
5462
+ autoGenerateScopes?: boolean;
5463
+ }
5464
+ export class PermissionCatalogOptions implements IPermissionCatalogOptions {
5465
+ constructor(data?: IPermissionCatalogOptions);
5466
+ autoGeneratePermissions?: boolean;
5467
+ autoGenerateScopes?: boolean;
5443
5468
  static __$$generatedFromProtobuf$$__: Symbol;
5444
5469
  }
5445
5470
  export interface IPersistence {
@@ -6039,6 +6064,7 @@ declare namespace $responses {
6039
6064
  export enum VirtualSubfields {
6040
6065
  NO_VIRTUAL_SUBFIELDS = "NO_VIRTUAL_SUBFIELDS",
6041
6066
  DATE = "DATE",
6067
+ EMAIL = "EMAIL",
6042
6068
  }
6043
6069
  export interface IOperatorFieldSupport {
6044
6070
  operator?: $responses.wix.api.Wql.Operator[];
@@ -1540,6 +1540,7 @@ declare namespace $requests {
1540
1540
  eventsExposure?: $requests.wix.api.Exposure;
1541
1541
  eventsMaturity?: $requests.wix.api.Maturity;
1542
1542
  persistence?: $requests.wix.api.IPersistence;
1543
+ permissionOptions?: $requests.wix.api.IPermissionCatalogOptions;
1543
1544
  }
1544
1545
  export class Entity implements IEntity {
1545
1546
  constructor(data?: IEntity);
@@ -1560,6 +1561,17 @@ declare namespace $requests {
1560
1561
  eventsExposure?: $requests.wix.api.Exposure;
1561
1562
  eventsMaturity?: $requests.wix.api.Maturity;
1562
1563
  persistence?: $requests.wix.api.IPersistence;
1564
+ permissionOptions?: $requests.wix.api.IPermissionCatalogOptions;
1565
+ static __$$generatedFromProtobuf$$__: Symbol;
1566
+ }
1567
+ export interface IPermissionCatalogOptions {
1568
+ autoGeneratePermissions?: boolean;
1569
+ autoGenerateScopes?: boolean;
1570
+ }
1571
+ export class PermissionCatalogOptions implements IPermissionCatalogOptions {
1572
+ constructor(data?: IPermissionCatalogOptions);
1573
+ autoGeneratePermissions?: boolean;
1574
+ autoGenerateScopes?: boolean;
1563
1575
  static __$$generatedFromProtobuf$$__: Symbol;
1564
1576
  }
1565
1577
  export interface IPersistence {
@@ -2159,6 +2171,7 @@ declare namespace $requests {
2159
2171
  export enum VirtualSubfields {
2160
2172
  NO_VIRTUAL_SUBFIELDS = "NO_VIRTUAL_SUBFIELDS",
2161
2173
  DATE = "DATE",
2174
+ EMAIL = "EMAIL",
2162
2175
  }
2163
2176
  export interface IOperatorFieldSupport {
2164
2177
  operator?: $requests.wix.api.Wql.Operator[];
@@ -5420,6 +5433,7 @@ declare namespace $responses {
5420
5433
  eventsExposure: $responses.wix.api.Exposure;
5421
5434
  eventsMaturity: $responses.wix.api.Maturity;
5422
5435
  persistence?: $responses.wix.api.IPersistence;
5436
+ permissionOptions?: $responses.wix.api.IPermissionCatalogOptions;
5423
5437
  }
5424
5438
  export class Entity implements IEntity {
5425
5439
  constructor(data?: IEntity);
@@ -5440,6 +5454,17 @@ declare namespace $responses {
5440
5454
  eventsExposure: $responses.wix.api.Exposure;
5441
5455
  eventsMaturity: $responses.wix.api.Maturity;
5442
5456
  persistence?: $responses.wix.api.IPersistence;
5457
+ permissionOptions?: $responses.wix.api.IPermissionCatalogOptions;
5458
+ static __$$generatedFromProtobuf$$__: Symbol;
5459
+ }
5460
+ export interface IPermissionCatalogOptions {
5461
+ autoGeneratePermissions: boolean;
5462
+ autoGenerateScopes: boolean;
5463
+ }
5464
+ export class PermissionCatalogOptions implements IPermissionCatalogOptions {
5465
+ constructor(data?: IPermissionCatalogOptions);
5466
+ autoGeneratePermissions: boolean;
5467
+ autoGenerateScopes: boolean;
5443
5468
  static __$$generatedFromProtobuf$$__: Symbol;
5444
5469
  }
5445
5470
  export interface IPersistence {
@@ -6039,6 +6064,7 @@ declare namespace $responses {
6039
6064
  export enum VirtualSubfields {
6040
6065
  NO_VIRTUAL_SUBFIELDS = "NO_VIRTUAL_SUBFIELDS",
6041
6066
  DATE = "DATE",
6067
+ EMAIL = "EMAIL",
6042
6068
  }
6043
6069
  export interface IOperatorFieldSupport {
6044
6070
  operator: $responses.wix.api.Wql.Operator[];
@@ -1561,6 +1561,7 @@ declare namespace $wrapper {
1561
1561
  eventsExposure?: ($wrapper.wix.api.Exposure | null);
1562
1562
  eventsMaturity?: ($wrapper.wix.api.Maturity | null);
1563
1563
  persistence?: ($wrapper.wix.api.IPersistence | null);
1564
+ permissionOptions?: ($wrapper.wix.api.IPermissionCatalogOptions | null);
1564
1565
  }
1565
1566
  export class Entity implements IEntity {
1566
1567
  constructor(data?: IEntity);
@@ -1581,6 +1582,17 @@ declare namespace $wrapper {
1581
1582
  eventsExposure?: ($wrapper.wix.api.Exposure | null);
1582
1583
  eventsMaturity?: ($wrapper.wix.api.Maturity | null);
1583
1584
  persistence?: ($wrapper.wix.api.IPersistence | null);
1585
+ permissionOptions?: ($wrapper.wix.api.IPermissionCatalogOptions | null);
1586
+ static __$$generatedFromProtobuf$$__: Symbol;
1587
+ }
1588
+ export interface IPermissionCatalogOptions {
1589
+ autoGeneratePermissions?: (boolean | null);
1590
+ autoGenerateScopes?: (boolean | null);
1591
+ }
1592
+ export class PermissionCatalogOptions implements IPermissionCatalogOptions {
1593
+ constructor(data?: IPermissionCatalogOptions);
1594
+ autoGeneratePermissions?: (boolean | null);
1595
+ autoGenerateScopes?: (boolean | null);
1584
1596
  static __$$generatedFromProtobuf$$__: Symbol;
1585
1597
  }
1586
1598
  export interface IPersistence {
@@ -2180,6 +2192,7 @@ declare namespace $wrapper {
2180
2192
  export enum VirtualSubfields {
2181
2193
  NO_VIRTUAL_SUBFIELDS = "NO_VIRTUAL_SUBFIELDS",
2182
2194
  DATE = "DATE",
2195
+ EMAIL = "EMAIL",
2183
2196
  }
2184
2197
  export interface IOperatorFieldSupport {
2185
2198
  operator?: ($wrapper.wix.api.Wql.Operator[] | null);
@@ -10,7 +10,7 @@ $root.__options = {
10
10
  'stringLongs': true,
11
11
  'stdCase': false,
12
12
  'generatorVersion': '2.0.1157',
13
- 'contentHash': 'dcdc91171a3f01e7ea88bd97a1ca1a330a56783e'
13
+ 'contentHash': 'b231921cc47383797d0159214b354e1e9b0edf14'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -4151,6 +4151,29 @@ $root.__lookup = function (pbjs) {
4151
4151
  'id': 17,
4152
4152
  'comment': null,
4153
4153
  'parsedOptions': null
4154
+ },
4155
+ 'permissionOptions': {
4156
+ 'type': 'PermissionCatalogOptions',
4157
+ 'id': 18,
4158
+ 'comment': null,
4159
+ 'parsedOptions': null
4160
+ }
4161
+ },
4162
+ 'comment': null
4163
+ },
4164
+ 'PermissionCatalogOptions': {
4165
+ 'fields': {
4166
+ 'autoGeneratePermissions': {
4167
+ 'type': 'bool',
4168
+ 'id': 1,
4169
+ 'comment': null,
4170
+ 'parsedOptions': null
4171
+ },
4172
+ 'autoGenerateScopes': {
4173
+ 'type': 'bool',
4174
+ 'id': 2,
4175
+ 'comment': null,
4176
+ 'parsedOptions': null
4154
4177
  }
4155
4178
  },
4156
4179
  'comment': null
@@ -5671,12 +5694,14 @@ $root.__lookup = function (pbjs) {
5671
5694
  'VirtualSubfields': {
5672
5695
  'values': {
5673
5696
  'NO_VIRTUAL_SUBFIELDS': 0,
5674
- 'DATE': 1
5697
+ 'DATE': 1,
5698
+ 'EMAIL': 2
5675
5699
  },
5676
5700
  'comment': null,
5677
5701
  'comments': {
5678
5702
  'NO_VIRTUAL_SUBFIELDS': null,
5679
- 'DATE': null
5703
+ 'DATE': null,
5704
+ 'EMAIL': null
5680
5705
  }
5681
5706
  },
5682
5707
  'OperatorFieldSupport': {
@@ -26562,6 +26587,7 @@ $root.wix = (function () {
26562
26587
  this.eventsExposure = props && props.eventsExposure;
26563
26588
  this.eventsMaturity = props && props.eventsMaturity;
26564
26589
  this.persistence = props && props.persistence;
26590
+ this.permissionOptions = props && props.permissionOptions;
26565
26591
  }
26566
26592
  static toJSON(obj, helper, withDefaults) {
26567
26593
  if (obj == null) {
@@ -26657,6 +26683,11 @@ $root.wix = (function () {
26657
26683
  } else if (withDefaults) {
26658
26684
  delete json['persistence'];
26659
26685
  }
26686
+ if (obj['permissionOptions'] != null) {
26687
+ json['permissionOptions'] = $root.wix.api.PermissionCatalogOptions.toJSON(obj['permissionOptions'], helper, withDefaults);
26688
+ } else if (withDefaults) {
26689
+ delete json['permissionOptions'];
26690
+ }
26660
26691
  return json;
26661
26692
  }
26662
26693
  }
@@ -26786,6 +26817,13 @@ $root.wix = (function () {
26786
26817
  } else {
26787
26818
  delete result['persistence'];
26788
26819
  }
26820
+ if (json['permissionOptions'] != null) {
26821
+ result['permissionOptions'] = $root.wix.api.PermissionCatalogOptions.fromJSON(json['permissionOptions'], helper);
26822
+ } else if (withDefaults !== false) {
26823
+ delete result['permissionOptions'];
26824
+ } else {
26825
+ delete result['permissionOptions'];
26826
+ }
26789
26827
  return result;
26790
26828
  } else
26791
26829
  return json;
@@ -26850,6 +26888,9 @@ $root.wix = (function () {
26850
26888
  if (obj['persistence'] != null) {
26851
26889
  grpc['persistence'] = $root.wix.api.Persistence.toGRPC(obj['persistence'], helper);
26852
26890
  }
26891
+ if (obj['permissionOptions'] != null) {
26892
+ grpc['permissionOptions'] = $root.wix.api.PermissionCatalogOptions.toGRPC(obj['permissionOptions'], helper);
26893
+ }
26853
26894
  return grpc;
26854
26895
  }
26855
26896
  }
@@ -26947,6 +26988,11 @@ $root.wix = (function () {
26947
26988
  } else {
26948
26989
  delete result['persistence'];
26949
26990
  }
26991
+ if (grpc['permissionOptions'] != null) {
26992
+ result['permissionOptions'] = $root.wix.api.PermissionCatalogOptions.fromGRPC(grpc['permissionOptions'], helper);
26993
+ } else {
26994
+ delete result['permissionOptions'];
26995
+ }
26950
26996
  return result;
26951
26997
  }
26952
26998
  }
@@ -26975,6 +27021,108 @@ $root.wix = (function () {
26975
27021
  });
26976
27022
  return Entity;
26977
27023
  }());;
27024
+ _api.PermissionCatalogOptions = (function () {
27025
+ class PermissionCatalogOptions {
27026
+ constructor(props) {
27027
+ this.autoGeneratePermissions = props && props.autoGeneratePermissions;
27028
+ this.autoGenerateScopes = props && props.autoGenerateScopes;
27029
+ }
27030
+ static toJSON(obj, helper, withDefaults) {
27031
+ if (obj == null) {
27032
+ return null;
27033
+ } else {
27034
+ const json = {};
27035
+ if (obj['autoGeneratePermissions'] != null) {
27036
+ json['autoGeneratePermissions'] = obj['autoGeneratePermissions'];
27037
+ } else if (withDefaults) {
27038
+ json['autoGeneratePermissions'] = false;
27039
+ }
27040
+ if (obj['autoGenerateScopes'] != null) {
27041
+ json['autoGenerateScopes'] = obj['autoGenerateScopes'];
27042
+ } else if (withDefaults) {
27043
+ json['autoGenerateScopes'] = false;
27044
+ }
27045
+ return json;
27046
+ }
27047
+ }
27048
+ static fromJSON(json, helper, withDefaults) {
27049
+ if (typeof json === 'object' && !Array.isArray(json)) {
27050
+ const result = new $root.wix.api.PermissionCatalogOptions();
27051
+ if (json['autoGeneratePermissions'] != null) {
27052
+ result['autoGeneratePermissions'] = json['autoGeneratePermissions'];
27053
+ } else if (withDefaults !== false) {
27054
+ result['autoGeneratePermissions'] = false;
27055
+ } else {
27056
+ delete result['autoGeneratePermissions'];
27057
+ }
27058
+ if (json['autoGenerateScopes'] != null) {
27059
+ result['autoGenerateScopes'] = json['autoGenerateScopes'];
27060
+ } else if (withDefaults !== false) {
27061
+ result['autoGenerateScopes'] = false;
27062
+ } else {
27063
+ delete result['autoGenerateScopes'];
27064
+ }
27065
+ return result;
27066
+ } else
27067
+ return json;
27068
+ }
27069
+ static toGRPC(obj, helper) {
27070
+ if (obj == null) {
27071
+ return null;
27072
+ } else {
27073
+ const grpc = {};
27074
+ if (obj['autoGeneratePermissions'] != null) {
27075
+ grpc['autoGeneratePermissions'] = obj['autoGeneratePermissions'];
27076
+ }
27077
+ if (obj['autoGenerateScopes'] != null) {
27078
+ grpc['autoGenerateScopes'] = obj['autoGenerateScopes'];
27079
+ }
27080
+ return grpc;
27081
+ }
27082
+ }
27083
+ static fromGRPC(grpc, helper) {
27084
+ if (grpc == null) {
27085
+ return null;
27086
+ } else {
27087
+ const result = new $root.wix.api.PermissionCatalogOptions();
27088
+ if (grpc['autoGeneratePermissions'] != null) {
27089
+ result['autoGeneratePermissions'] = grpc['autoGeneratePermissions'];
27090
+ } else {
27091
+ result['autoGeneratePermissions'] = false;
27092
+ }
27093
+ if (grpc['autoGenerateScopes'] != null) {
27094
+ result['autoGenerateScopes'] = grpc['autoGenerateScopes'];
27095
+ } else {
27096
+ result['autoGenerateScopes'] = false;
27097
+ }
27098
+ return result;
27099
+ }
27100
+ }
27101
+ }
27102
+ __builtIn.Object.defineProperty(PermissionCatalogOptions.prototype, '__proto', {
27103
+ value: pbjs => {
27104
+ return $root.__lookup(pbjs)('wix.api.PermissionCatalogOptions');
27105
+ },
27106
+ enumerable: false,
27107
+ configurable: false
27108
+ });
27109
+ __builtIn.Object.defineProperty(PermissionCatalogOptions.prototype, '__fqn__', {
27110
+ value: 'wix.api.PermissionCatalogOptions',
27111
+ enumerable: false,
27112
+ configurable: false
27113
+ });
27114
+ __builtIn.Object.defineProperty(PermissionCatalogOptions.prototype, '__options__', {
27115
+ value: $root.__options,
27116
+ enumerable: false,
27117
+ configurable: false
27118
+ });
27119
+ __builtIn.Object.defineProperty(PermissionCatalogOptions.prototype, '__root__', {
27120
+ value: $root,
27121
+ enumerable: false,
27122
+ configurable: false
27123
+ });
27124
+ return PermissionCatalogOptions;
27125
+ }());;
26978
27126
  _api.Persistence = (function () {
26979
27127
  class Persistence {
26980
27128
  constructor(props) {
@@ -32621,7 +32769,9 @@ $root.wix = (function () {
32621
32769
  'NO_VIRTUAL_SUBFIELDS': 'NO_VIRTUAL_SUBFIELDS',
32622
32770
  0: 'NO_VIRTUAL_SUBFIELDS',
32623
32771
  'DATE': 'DATE',
32624
- 1: 'DATE'
32772
+ 1: 'DATE',
32773
+ 'EMAIL': 'EMAIL',
32774
+ 2: 'EMAIL'
32625
32775
  };
32626
32776
  Wql.OperatorFieldSupport = (function () {
32627
32777
  class OperatorFieldSupport {
@@ -33230,7 +33380,9 @@ $root.wix = (function () {
33230
33380
  'NO_VIRTUAL_SUBFIELDS': 'NO_VIRTUAL_SUBFIELDS',
33231
33381
  0: 'NO_VIRTUAL_SUBFIELDS',
33232
33382
  'DATE': 'DATE',
33233
- 1: 'DATE'
33383
+ 1: 'DATE',
33384
+ 'EMAIL': 'EMAIL',
33385
+ 2: 'EMAIL'
33234
33386
  };
33235
33387
  Wql.OperatorFieldSupport = (function () {
33236
33388
  class OperatorFieldSupport {
@@ -1540,6 +1540,7 @@ declare namespace $requests {
1540
1540
  eventsExposure: $requests.wix.api.Exposure;
1541
1541
  eventsMaturity: $requests.wix.api.Maturity;
1542
1542
  persistence?: $requests.wix.api.IPersistence;
1543
+ permissionOptions?: $requests.wix.api.IPermissionCatalogOptions;
1543
1544
  }
1544
1545
  export class Entity implements IEntity {
1545
1546
  constructor(data?: IEntity);
@@ -1560,6 +1561,17 @@ declare namespace $requests {
1560
1561
  eventsExposure: $requests.wix.api.Exposure;
1561
1562
  eventsMaturity: $requests.wix.api.Maturity;
1562
1563
  persistence?: $requests.wix.api.IPersistence;
1564
+ permissionOptions?: $requests.wix.api.IPermissionCatalogOptions;
1565
+ static __$$generatedFromProtobuf$$__: Symbol;
1566
+ }
1567
+ export interface IPermissionCatalogOptions {
1568
+ autoGeneratePermissions: boolean;
1569
+ autoGenerateScopes: boolean;
1570
+ }
1571
+ export class PermissionCatalogOptions implements IPermissionCatalogOptions {
1572
+ constructor(data?: IPermissionCatalogOptions);
1573
+ autoGeneratePermissions: boolean;
1574
+ autoGenerateScopes: boolean;
1563
1575
  static __$$generatedFromProtobuf$$__: Symbol;
1564
1576
  }
1565
1577
  export interface IPersistence {
@@ -2159,6 +2171,7 @@ declare namespace $requests {
2159
2171
  export enum VirtualSubfields {
2160
2172
  NO_VIRTUAL_SUBFIELDS = "NO_VIRTUAL_SUBFIELDS",
2161
2173
  DATE = "DATE",
2174
+ EMAIL = "EMAIL",
2162
2175
  }
2163
2176
  export interface IOperatorFieldSupport {
2164
2177
  operator: $requests.wix.api.Wql.Operator[];
@@ -5420,6 +5433,7 @@ declare namespace $responses {
5420
5433
  eventsExposure?: $responses.wix.api.Exposure;
5421
5434
  eventsMaturity?: $responses.wix.api.Maturity;
5422
5435
  persistence?: $responses.wix.api.IPersistence;
5436
+ permissionOptions?: $responses.wix.api.IPermissionCatalogOptions;
5423
5437
  }
5424
5438
  export class Entity implements IEntity {
5425
5439
  constructor(data?: IEntity);
@@ -5440,6 +5454,17 @@ declare namespace $responses {
5440
5454
  eventsExposure?: $responses.wix.api.Exposure;
5441
5455
  eventsMaturity?: $responses.wix.api.Maturity;
5442
5456
  persistence?: $responses.wix.api.IPersistence;
5457
+ permissionOptions?: $responses.wix.api.IPermissionCatalogOptions;
5458
+ static __$$generatedFromProtobuf$$__: Symbol;
5459
+ }
5460
+ export interface IPermissionCatalogOptions {
5461
+ autoGeneratePermissions?: boolean;
5462
+ autoGenerateScopes?: boolean;
5463
+ }
5464
+ export class PermissionCatalogOptions implements IPermissionCatalogOptions {
5465
+ constructor(data?: IPermissionCatalogOptions);
5466
+ autoGeneratePermissions?: boolean;
5467
+ autoGenerateScopes?: boolean;
5443
5468
  static __$$generatedFromProtobuf$$__: Symbol;
5444
5469
  }
5445
5470
  export interface IPersistence {
@@ -6039,6 +6064,7 @@ declare namespace $responses {
6039
6064
  export enum VirtualSubfields {
6040
6065
  NO_VIRTUAL_SUBFIELDS = "NO_VIRTUAL_SUBFIELDS",
6041
6066
  DATE = "DATE",
6067
+ EMAIL = "EMAIL",
6042
6068
  }
6043
6069
  export interface IOperatorFieldSupport {
6044
6070
  operator?: $responses.wix.api.Wql.Operator[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/metro-common-builders",
3
- "version": "1.0.1591",
3
+ "version": "1.0.1593",
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.1946.0",
36
+ "@wix/metro-runtime": "1.1948.0",
37
37
  "long": "^5.1.0"
38
38
  },
39
39
  "devDependencies": {
@@ -71,5 +71,5 @@
71
71
  "wallaby": {
72
72
  "autoDetect": true
73
73
  },
74
- "falconPackageHash": "77271c6d4c78e71021c2c993c40702e6de3f82dc95f6bb0662de2ef0"
74
+ "falconPackageHash": "f1867b510196518d8365690d099d0c08c3c169eb7e71eddc9a69e990"
75
75
  }