@wix/metro-common-builders 1.0.1143 → 1.0.1144

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.
@@ -91,6 +91,7 @@ declare namespace $requests {
91
91
  versionInsensitiveFqdn?: string;
92
92
  appId?: string;
93
93
  exposure?: $requests.wix.coreservices.businessschema.v1.Exposure;
94
+ extensible?: $requests.wix.coreservices.businessschema.v1.IExtensible;
94
95
  }
95
96
  export class EntityInfo implements IEntityInfo {
96
97
  constructor(data?: IEntityInfo);
@@ -114,6 +115,17 @@ declare namespace $requests {
114
115
  versionInsensitiveFqdn?: string;
115
116
  appId?: string;
116
117
  exposure?: $requests.wix.coreservices.businessschema.v1.Exposure;
118
+ extensible?: $requests.wix.coreservices.businessschema.v1.IExtensible;
119
+ static __$$generatedFromProtobuf$$__: Symbol;
120
+ }
121
+ export interface IExtensible {
122
+ rootExtensionEnabled?: boolean;
123
+ nestedExtensionFieldPath?: string;
124
+ }
125
+ export class Extensible implements IExtensible {
126
+ constructor(data?: IExtensible);
127
+ rootExtensionEnabled?: boolean;
128
+ nestedExtensionFieldPath?: string;
117
129
  static __$$generatedFromProtobuf$$__: Symbol;
118
130
  }
119
131
  export interface ISpiInfo {
@@ -2964,6 +2976,7 @@ declare namespace $responses {
2964
2976
  versionInsensitiveFqdn: string;
2965
2977
  appId?: string;
2966
2978
  exposure: $responses.wix.coreservices.businessschema.v1.Exposure;
2979
+ extensible?: $responses.wix.coreservices.businessschema.v1.IExtensible;
2967
2980
  }
2968
2981
  export class EntityInfo implements IEntityInfo {
2969
2982
  constructor(data?: IEntityInfo);
@@ -2987,6 +3000,17 @@ declare namespace $responses {
2987
3000
  versionInsensitiveFqdn: string;
2988
3001
  appId?: string;
2989
3002
  exposure: $responses.wix.coreservices.businessschema.v1.Exposure;
3003
+ extensible?: $responses.wix.coreservices.businessschema.v1.IExtensible;
3004
+ static __$$generatedFromProtobuf$$__: Symbol;
3005
+ }
3006
+ export interface IExtensible {
3007
+ rootExtensionEnabled: boolean;
3008
+ nestedExtensionFieldPath?: string;
3009
+ }
3010
+ export class Extensible implements IExtensible {
3011
+ constructor(data?: IExtensible);
3012
+ rootExtensionEnabled: boolean;
3013
+ nestedExtensionFieldPath?: string;
2990
3014
  static __$$generatedFromProtobuf$$__: Symbol;
2991
3015
  }
2992
3016
  export interface ISpiInfo {
@@ -91,6 +91,7 @@ declare namespace $wrapper {
91
91
  versionInsensitiveFqdn?: (string | null);
92
92
  appId?: (string | null);
93
93
  exposure?: ($wrapper.wix.coreservices.businessschema.v1.Exposure | null);
94
+ extensible?: ($wrapper.wix.coreservices.businessschema.v1.IExtensible | null);
94
95
  }
95
96
  export class EntityInfo implements IEntityInfo {
96
97
  constructor(data?: IEntityInfo);
@@ -114,6 +115,17 @@ declare namespace $wrapper {
114
115
  versionInsensitiveFqdn?: (string | null);
115
116
  appId?: (string | null);
116
117
  exposure?: ($wrapper.wix.coreservices.businessschema.v1.Exposure | null);
118
+ extensible?: ($wrapper.wix.coreservices.businessschema.v1.IExtensible | null);
119
+ static __$$generatedFromProtobuf$$__: Symbol;
120
+ }
121
+ export interface IExtensible {
122
+ rootExtensionEnabled?: (boolean | null);
123
+ nestedExtensionFieldPath?: (string | null);
124
+ }
125
+ export class Extensible implements IExtensible {
126
+ constructor(data?: IExtensible);
127
+ rootExtensionEnabled?: (boolean | null);
128
+ nestedExtensionFieldPath?: (string | null);
117
129
  static __$$generatedFromProtobuf$$__: Symbol;
118
130
  }
119
131
  export interface ISpiInfo {
@@ -10,7 +10,7 @@ $root.__options = {
10
10
  'stringLongs': true,
11
11
  'stdCase': false,
12
12
  'generatorVersion': '2.0.1113',
13
- 'contentHash': '6d5b300e95bd2408e6ac537b1a1d02b0c18df8c8'
13
+ 'contentHash': 'd3277a472888f1cf6c4c4d10ef4152edd5c79e02'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -303,6 +303,29 @@ $root.__lookup = function (pbjs) {
303
303
  'id': 20,
304
304
  'comment': null,
305
305
  'parsedOptions': null
306
+ },
307
+ 'extensible': {
308
+ 'type': 'Extensible',
309
+ 'id': 21,
310
+ 'comment': null,
311
+ 'parsedOptions': null
312
+ }
313
+ },
314
+ 'comment': null
315
+ },
316
+ 'Extensible': {
317
+ 'fields': {
318
+ 'rootExtensionEnabled': {
319
+ 'type': 'bool',
320
+ 'id': 1,
321
+ 'comment': null,
322
+ 'parsedOptions': null
323
+ },
324
+ 'nestedExtensionFieldPath': {
325
+ 'type': 'google.protobuf.StringValue',
326
+ 'id': 2,
327
+ 'comment': null,
328
+ 'parsedOptions': null
306
329
  }
307
330
  },
308
331
  'comment': null
@@ -7577,6 +7600,7 @@ $root.wix = (function () {
7577
7600
  this.versionInsensitiveFqdn = props && props.versionInsensitiveFqdn;
7578
7601
  this.appId = props && props.appId;
7579
7602
  this.exposure = props && props.exposure;
7603
+ this.extensible = props && props.extensible;
7580
7604
  }
7581
7605
  static toJSON(obj, helper, withDefaults) {
7582
7606
  if (obj == null) {
@@ -7693,6 +7717,11 @@ $root.wix = (function () {
7693
7717
  } else if (withDefaults) {
7694
7718
  json['exposure'] = 'PRIVATE';
7695
7719
  }
7720
+ if (obj['extensible'] != null) {
7721
+ json['extensible'] = $root.wix.coreservices.businessschema.v1.Extensible.toJSON(obj['extensible'], helper, withDefaults);
7722
+ } else if (withDefaults) {
7723
+ delete json['extensible'];
7724
+ }
7696
7725
  return json;
7697
7726
  }
7698
7727
  }
@@ -7849,6 +7878,13 @@ $root.wix = (function () {
7849
7878
  } else {
7850
7879
  delete result['exposure'];
7851
7880
  }
7881
+ if (json['extensible'] != null) {
7882
+ result['extensible'] = $root.wix.coreservices.businessschema.v1.Extensible.fromJSON(json['extensible'], helper);
7883
+ } else if (withDefaults !== false) {
7884
+ delete result['extensible'];
7885
+ } else {
7886
+ delete result['extensible'];
7887
+ }
7852
7888
  return result;
7853
7889
  } else
7854
7890
  return json;
@@ -7928,6 +7964,9 @@ $root.wix = (function () {
7928
7964
  if (obj['exposure'] != null) {
7929
7965
  grpc['exposure'] = obj['exposure'];
7930
7966
  }
7967
+ if (obj['extensible'] != null) {
7968
+ grpc['extensible'] = $root.wix.coreservices.businessschema.v1.Extensible.toGRPC(obj['extensible'], helper);
7969
+ }
7931
7970
  return grpc;
7932
7971
  }
7933
7972
  }
@@ -8046,6 +8085,11 @@ $root.wix = (function () {
8046
8085
  } else {
8047
8086
  result['exposure'] = 'PRIVATE';
8048
8087
  }
8088
+ if (grpc['extensible'] != null) {
8089
+ result['extensible'] = $root.wix.coreservices.businessschema.v1.Extensible.fromGRPC(grpc['extensible'], helper);
8090
+ } else {
8091
+ delete result['extensible'];
8092
+ }
8049
8093
  return result;
8050
8094
  }
8051
8095
  }
@@ -8074,6 +8118,108 @@ $root.wix = (function () {
8074
8118
  });
8075
8119
  return EntityInfo;
8076
8120
  }());;
8121
+ _v1.Extensible = (function () {
8122
+ class Extensible {
8123
+ constructor(props) {
8124
+ this.rootExtensionEnabled = props && props.rootExtensionEnabled;
8125
+ this.nestedExtensionFieldPath = props && props.nestedExtensionFieldPath;
8126
+ }
8127
+ static toJSON(obj, helper, withDefaults) {
8128
+ if (obj == null) {
8129
+ return null;
8130
+ } else {
8131
+ const json = {};
8132
+ if (obj['rootExtensionEnabled'] != null) {
8133
+ json['rootExtensionEnabled'] = obj['rootExtensionEnabled'];
8134
+ } else if (withDefaults) {
8135
+ json['rootExtensionEnabled'] = false;
8136
+ }
8137
+ if (obj['nestedExtensionFieldPath'] != null) {
8138
+ json['nestedExtensionFieldPath'] = $root.google.protobuf.StringValue.toJSON(obj['nestedExtensionFieldPath'], helper, withDefaults);
8139
+ } else if (withDefaults) {
8140
+ delete json['nestedExtensionFieldPath'];
8141
+ }
8142
+ return json;
8143
+ }
8144
+ }
8145
+ static fromJSON(json, helper, withDefaults) {
8146
+ if (typeof json === 'object' && !Array.isArray(json)) {
8147
+ const result = new $root.wix.coreservices.businessschema.v1.Extensible();
8148
+ if (json['rootExtensionEnabled'] != null) {
8149
+ result['rootExtensionEnabled'] = json['rootExtensionEnabled'];
8150
+ } else if (withDefaults !== false) {
8151
+ result['rootExtensionEnabled'] = false;
8152
+ } else {
8153
+ delete result['rootExtensionEnabled'];
8154
+ }
8155
+ if (json['nestedExtensionFieldPath'] != null) {
8156
+ result['nestedExtensionFieldPath'] = $root.google.protobuf.StringValue.fromJSON(json['nestedExtensionFieldPath'], helper);
8157
+ } else if (withDefaults !== false) {
8158
+ delete result['nestedExtensionFieldPath'];
8159
+ } else {
8160
+ delete result['nestedExtensionFieldPath'];
8161
+ }
8162
+ return result;
8163
+ } else
8164
+ return json;
8165
+ }
8166
+ static toGRPC(obj, helper) {
8167
+ if (obj == null) {
8168
+ return null;
8169
+ } else {
8170
+ const grpc = {};
8171
+ if (obj['rootExtensionEnabled'] != null) {
8172
+ grpc['rootExtensionEnabled'] = obj['rootExtensionEnabled'];
8173
+ }
8174
+ if (obj['nestedExtensionFieldPath'] != null) {
8175
+ grpc['nestedExtensionFieldPath'] = $root.google.protobuf.StringValue.toGRPC(obj['nestedExtensionFieldPath'], helper);
8176
+ }
8177
+ return grpc;
8178
+ }
8179
+ }
8180
+ static fromGRPC(grpc, helper) {
8181
+ if (grpc == null) {
8182
+ return null;
8183
+ } else {
8184
+ const result = new $root.wix.coreservices.businessschema.v1.Extensible();
8185
+ if (grpc['rootExtensionEnabled'] != null) {
8186
+ result['rootExtensionEnabled'] = grpc['rootExtensionEnabled'];
8187
+ } else {
8188
+ result['rootExtensionEnabled'] = false;
8189
+ }
8190
+ if (grpc['nestedExtensionFieldPath'] != null) {
8191
+ result['nestedExtensionFieldPath'] = $root.google.protobuf.StringValue.fromGRPC(grpc['nestedExtensionFieldPath'], helper);
8192
+ } else {
8193
+ delete result['nestedExtensionFieldPath'];
8194
+ }
8195
+ return result;
8196
+ }
8197
+ }
8198
+ }
8199
+ __builtIn.Object.defineProperty(Extensible.prototype, '__proto', {
8200
+ value: pbjs => {
8201
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.Extensible');
8202
+ },
8203
+ enumerable: false,
8204
+ configurable: false
8205
+ });
8206
+ __builtIn.Object.defineProperty(Extensible.prototype, '__fqn__', {
8207
+ value: 'wix.coreservices.businessschema.v1.Extensible',
8208
+ enumerable: false,
8209
+ configurable: false
8210
+ });
8211
+ __builtIn.Object.defineProperty(Extensible.prototype, '__options__', {
8212
+ value: $root.__options,
8213
+ enumerable: false,
8214
+ configurable: false
8215
+ });
8216
+ __builtIn.Object.defineProperty(Extensible.prototype, '__root__', {
8217
+ value: $root,
8218
+ enumerable: false,
8219
+ configurable: false
8220
+ });
8221
+ return Extensible;
8222
+ }());;
8077
8223
  _v1.SpiInfo = (function () {
8078
8224
  class SpiInfo {
8079
8225
  constructor(props) {
@@ -91,6 +91,7 @@ declare namespace $requests {
91
91
  versionInsensitiveFqdn: string;
92
92
  appId?: string;
93
93
  exposure: $requests.wix.coreservices.businessschema.v1.Exposure;
94
+ extensible?: $requests.wix.coreservices.businessschema.v1.IExtensible;
94
95
  }
95
96
  export class EntityInfo implements IEntityInfo {
96
97
  constructor(data?: IEntityInfo);
@@ -114,6 +115,17 @@ declare namespace $requests {
114
115
  versionInsensitiveFqdn: string;
115
116
  appId?: string;
116
117
  exposure: $requests.wix.coreservices.businessschema.v1.Exposure;
118
+ extensible?: $requests.wix.coreservices.businessschema.v1.IExtensible;
119
+ static __$$generatedFromProtobuf$$__: Symbol;
120
+ }
121
+ export interface IExtensible {
122
+ rootExtensionEnabled: boolean;
123
+ nestedExtensionFieldPath?: string;
124
+ }
125
+ export class Extensible implements IExtensible {
126
+ constructor(data?: IExtensible);
127
+ rootExtensionEnabled: boolean;
128
+ nestedExtensionFieldPath?: string;
117
129
  static __$$generatedFromProtobuf$$__: Symbol;
118
130
  }
119
131
  export interface ISpiInfo {
@@ -2964,6 +2976,7 @@ declare namespace $responses {
2964
2976
  versionInsensitiveFqdn?: string;
2965
2977
  appId?: string;
2966
2978
  exposure?: $responses.wix.coreservices.businessschema.v1.Exposure;
2979
+ extensible?: $responses.wix.coreservices.businessschema.v1.IExtensible;
2967
2980
  }
2968
2981
  export class EntityInfo implements IEntityInfo {
2969
2982
  constructor(data?: IEntityInfo);
@@ -2987,6 +3000,17 @@ declare namespace $responses {
2987
3000
  versionInsensitiveFqdn?: string;
2988
3001
  appId?: string;
2989
3002
  exposure?: $responses.wix.coreservices.businessschema.v1.Exposure;
3003
+ extensible?: $responses.wix.coreservices.businessschema.v1.IExtensible;
3004
+ static __$$generatedFromProtobuf$$__: Symbol;
3005
+ }
3006
+ export interface IExtensible {
3007
+ rootExtensionEnabled?: boolean;
3008
+ nestedExtensionFieldPath?: string;
3009
+ }
3010
+ export class Extensible implements IExtensible {
3011
+ constructor(data?: IExtensible);
3012
+ rootExtensionEnabled?: boolean;
3013
+ nestedExtensionFieldPath?: string;
2990
3014
  static __$$generatedFromProtobuf$$__: Symbol;
2991
3015
  }
2992
3016
  export interface ISpiInfo {
@@ -91,6 +91,7 @@ declare namespace $requests {
91
91
  versionInsensitiveFqdn?: string;
92
92
  appId?: string;
93
93
  exposure?: $requests.wix.coreservices.businessschema.v1.Exposure;
94
+ extensible?: $requests.wix.coreservices.businessschema.v1.IExtensible;
94
95
  }
95
96
  export class EntityInfo implements IEntityInfo {
96
97
  constructor(data?: IEntityInfo);
@@ -114,6 +115,17 @@ declare namespace $requests {
114
115
  versionInsensitiveFqdn?: string;
115
116
  appId?: string;
116
117
  exposure?: $requests.wix.coreservices.businessschema.v1.Exposure;
118
+ extensible?: $requests.wix.coreservices.businessschema.v1.IExtensible;
119
+ static __$$generatedFromProtobuf$$__: Symbol;
120
+ }
121
+ export interface IExtensible {
122
+ rootExtensionEnabled?: boolean;
123
+ nestedExtensionFieldPath?: string;
124
+ }
125
+ export class Extensible implements IExtensible {
126
+ constructor(data?: IExtensible);
127
+ rootExtensionEnabled?: boolean;
128
+ nestedExtensionFieldPath?: string;
117
129
  static __$$generatedFromProtobuf$$__: Symbol;
118
130
  }
119
131
  export interface ISpiInfo {
@@ -2964,6 +2976,7 @@ declare namespace $responses {
2964
2976
  versionInsensitiveFqdn: string;
2965
2977
  appId?: string;
2966
2978
  exposure: $responses.wix.coreservices.businessschema.v1.Exposure;
2979
+ extensible?: $responses.wix.coreservices.businessschema.v1.IExtensible;
2967
2980
  }
2968
2981
  export class EntityInfo implements IEntityInfo {
2969
2982
  constructor(data?: IEntityInfo);
@@ -2987,6 +3000,17 @@ declare namespace $responses {
2987
3000
  versionInsensitiveFqdn: string;
2988
3001
  appId?: string;
2989
3002
  exposure: $responses.wix.coreservices.businessschema.v1.Exposure;
3003
+ extensible?: $responses.wix.coreservices.businessschema.v1.IExtensible;
3004
+ static __$$generatedFromProtobuf$$__: Symbol;
3005
+ }
3006
+ export interface IExtensible {
3007
+ rootExtensionEnabled: boolean;
3008
+ nestedExtensionFieldPath?: string;
3009
+ }
3010
+ export class Extensible implements IExtensible {
3011
+ constructor(data?: IExtensible);
3012
+ rootExtensionEnabled: boolean;
3013
+ nestedExtensionFieldPath?: string;
2990
3014
  static __$$generatedFromProtobuf$$__: Symbol;
2991
3015
  }
2992
3016
  export interface ISpiInfo {
@@ -91,6 +91,7 @@ declare namespace $wrapper {
91
91
  versionInsensitiveFqdn?: (string | null);
92
92
  appId?: (string | null);
93
93
  exposure?: ($wrapper.wix.coreservices.businessschema.v1.Exposure | null);
94
+ extensible?: ($wrapper.wix.coreservices.businessschema.v1.IExtensible | null);
94
95
  }
95
96
  export class EntityInfo implements IEntityInfo {
96
97
  constructor(data?: IEntityInfo);
@@ -114,6 +115,17 @@ declare namespace $wrapper {
114
115
  versionInsensitiveFqdn?: (string | null);
115
116
  appId?: (string | null);
116
117
  exposure?: ($wrapper.wix.coreservices.businessschema.v1.Exposure | null);
118
+ extensible?: ($wrapper.wix.coreservices.businessschema.v1.IExtensible | null);
119
+ static __$$generatedFromProtobuf$$__: Symbol;
120
+ }
121
+ export interface IExtensible {
122
+ rootExtensionEnabled?: (boolean | null);
123
+ nestedExtensionFieldPath?: (string | null);
124
+ }
125
+ export class Extensible implements IExtensible {
126
+ constructor(data?: IExtensible);
127
+ rootExtensionEnabled?: (boolean | null);
128
+ nestedExtensionFieldPath?: (string | null);
117
129
  static __$$generatedFromProtobuf$$__: Symbol;
118
130
  }
119
131
  export interface ISpiInfo {
@@ -10,7 +10,7 @@ $root.__options = {
10
10
  'stringLongs': true,
11
11
  'stdCase': false,
12
12
  'generatorVersion': '2.0.1113',
13
- 'contentHash': '6d5b300e95bd2408e6ac537b1a1d02b0c18df8c8'
13
+ 'contentHash': 'd3277a472888f1cf6c4c4d10ef4152edd5c79e02'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -303,6 +303,29 @@ $root.__lookup = function (pbjs) {
303
303
  'id': 20,
304
304
  'comment': null,
305
305
  'parsedOptions': null
306
+ },
307
+ 'extensible': {
308
+ 'type': 'Extensible',
309
+ 'id': 21,
310
+ 'comment': null,
311
+ 'parsedOptions': null
312
+ }
313
+ },
314
+ 'comment': null
315
+ },
316
+ 'Extensible': {
317
+ 'fields': {
318
+ 'rootExtensionEnabled': {
319
+ 'type': 'bool',
320
+ 'id': 1,
321
+ 'comment': null,
322
+ 'parsedOptions': null
323
+ },
324
+ 'nestedExtensionFieldPath': {
325
+ 'type': 'google.protobuf.StringValue',
326
+ 'id': 2,
327
+ 'comment': null,
328
+ 'parsedOptions': null
306
329
  }
307
330
  },
308
331
  'comment': null
@@ -7577,6 +7600,7 @@ $root.wix = (function () {
7577
7600
  this.versionInsensitiveFqdn = props && props.versionInsensitiveFqdn;
7578
7601
  this.appId = props && props.appId;
7579
7602
  this.exposure = props && props.exposure;
7603
+ this.extensible = props && props.extensible;
7580
7604
  }
7581
7605
  static toJSON(obj, helper, withDefaults) {
7582
7606
  if (obj == null) {
@@ -7693,6 +7717,11 @@ $root.wix = (function () {
7693
7717
  } else if (withDefaults) {
7694
7718
  json['exposure'] = 'PRIVATE';
7695
7719
  }
7720
+ if (obj['extensible'] != null) {
7721
+ json['extensible'] = $root.wix.coreservices.businessschema.v1.Extensible.toJSON(obj['extensible'], helper, withDefaults);
7722
+ } else if (withDefaults) {
7723
+ delete json['extensible'];
7724
+ }
7696
7725
  return json;
7697
7726
  }
7698
7727
  }
@@ -7849,6 +7878,13 @@ $root.wix = (function () {
7849
7878
  } else {
7850
7879
  delete result['exposure'];
7851
7880
  }
7881
+ if (json['extensible'] != null) {
7882
+ result['extensible'] = $root.wix.coreservices.businessschema.v1.Extensible.fromJSON(json['extensible'], helper);
7883
+ } else if (withDefaults !== false) {
7884
+ delete result['extensible'];
7885
+ } else {
7886
+ delete result['extensible'];
7887
+ }
7852
7888
  return result;
7853
7889
  } else
7854
7890
  return json;
@@ -7928,6 +7964,9 @@ $root.wix = (function () {
7928
7964
  if (obj['exposure'] != null) {
7929
7965
  grpc['exposure'] = obj['exposure'];
7930
7966
  }
7967
+ if (obj['extensible'] != null) {
7968
+ grpc['extensible'] = $root.wix.coreservices.businessschema.v1.Extensible.toGRPC(obj['extensible'], helper);
7969
+ }
7931
7970
  return grpc;
7932
7971
  }
7933
7972
  }
@@ -8046,6 +8085,11 @@ $root.wix = (function () {
8046
8085
  } else {
8047
8086
  result['exposure'] = 'PRIVATE';
8048
8087
  }
8088
+ if (grpc['extensible'] != null) {
8089
+ result['extensible'] = $root.wix.coreservices.businessschema.v1.Extensible.fromGRPC(grpc['extensible'], helper);
8090
+ } else {
8091
+ delete result['extensible'];
8092
+ }
8049
8093
  return result;
8050
8094
  }
8051
8095
  }
@@ -8074,6 +8118,108 @@ $root.wix = (function () {
8074
8118
  });
8075
8119
  return EntityInfo;
8076
8120
  }());;
8121
+ _v1.Extensible = (function () {
8122
+ class Extensible {
8123
+ constructor(props) {
8124
+ this.rootExtensionEnabled = props && props.rootExtensionEnabled;
8125
+ this.nestedExtensionFieldPath = props && props.nestedExtensionFieldPath;
8126
+ }
8127
+ static toJSON(obj, helper, withDefaults) {
8128
+ if (obj == null) {
8129
+ return null;
8130
+ } else {
8131
+ const json = {};
8132
+ if (obj['rootExtensionEnabled'] != null) {
8133
+ json['rootExtensionEnabled'] = obj['rootExtensionEnabled'];
8134
+ } else if (withDefaults) {
8135
+ json['rootExtensionEnabled'] = false;
8136
+ }
8137
+ if (obj['nestedExtensionFieldPath'] != null) {
8138
+ json['nestedExtensionFieldPath'] = $root.google.protobuf.StringValue.toJSON(obj['nestedExtensionFieldPath'], helper, withDefaults);
8139
+ } else if (withDefaults) {
8140
+ delete json['nestedExtensionFieldPath'];
8141
+ }
8142
+ return json;
8143
+ }
8144
+ }
8145
+ static fromJSON(json, helper, withDefaults) {
8146
+ if (typeof json === 'object' && !Array.isArray(json)) {
8147
+ const result = new $root.wix.coreservices.businessschema.v1.Extensible();
8148
+ if (json['rootExtensionEnabled'] != null) {
8149
+ result['rootExtensionEnabled'] = json['rootExtensionEnabled'];
8150
+ } else if (withDefaults !== false) {
8151
+ result['rootExtensionEnabled'] = false;
8152
+ } else {
8153
+ delete result['rootExtensionEnabled'];
8154
+ }
8155
+ if (json['nestedExtensionFieldPath'] != null) {
8156
+ result['nestedExtensionFieldPath'] = $root.google.protobuf.StringValue.fromJSON(json['nestedExtensionFieldPath'], helper);
8157
+ } else if (withDefaults !== false) {
8158
+ delete result['nestedExtensionFieldPath'];
8159
+ } else {
8160
+ delete result['nestedExtensionFieldPath'];
8161
+ }
8162
+ return result;
8163
+ } else
8164
+ return json;
8165
+ }
8166
+ static toGRPC(obj, helper) {
8167
+ if (obj == null) {
8168
+ return null;
8169
+ } else {
8170
+ const grpc = {};
8171
+ if (obj['rootExtensionEnabled'] != null) {
8172
+ grpc['rootExtensionEnabled'] = obj['rootExtensionEnabled'];
8173
+ }
8174
+ if (obj['nestedExtensionFieldPath'] != null) {
8175
+ grpc['nestedExtensionFieldPath'] = $root.google.protobuf.StringValue.toGRPC(obj['nestedExtensionFieldPath'], helper);
8176
+ }
8177
+ return grpc;
8178
+ }
8179
+ }
8180
+ static fromGRPC(grpc, helper) {
8181
+ if (grpc == null) {
8182
+ return null;
8183
+ } else {
8184
+ const result = new $root.wix.coreservices.businessschema.v1.Extensible();
8185
+ if (grpc['rootExtensionEnabled'] != null) {
8186
+ result['rootExtensionEnabled'] = grpc['rootExtensionEnabled'];
8187
+ } else {
8188
+ result['rootExtensionEnabled'] = false;
8189
+ }
8190
+ if (grpc['nestedExtensionFieldPath'] != null) {
8191
+ result['nestedExtensionFieldPath'] = $root.google.protobuf.StringValue.fromGRPC(grpc['nestedExtensionFieldPath'], helper);
8192
+ } else {
8193
+ delete result['nestedExtensionFieldPath'];
8194
+ }
8195
+ return result;
8196
+ }
8197
+ }
8198
+ }
8199
+ __builtIn.Object.defineProperty(Extensible.prototype, '__proto', {
8200
+ value: pbjs => {
8201
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.Extensible');
8202
+ },
8203
+ enumerable: false,
8204
+ configurable: false
8205
+ });
8206
+ __builtIn.Object.defineProperty(Extensible.prototype, '__fqn__', {
8207
+ value: 'wix.coreservices.businessschema.v1.Extensible',
8208
+ enumerable: false,
8209
+ configurable: false
8210
+ });
8211
+ __builtIn.Object.defineProperty(Extensible.prototype, '__options__', {
8212
+ value: $root.__options,
8213
+ enumerable: false,
8214
+ configurable: false
8215
+ });
8216
+ __builtIn.Object.defineProperty(Extensible.prototype, '__root__', {
8217
+ value: $root,
8218
+ enumerable: false,
8219
+ configurable: false
8220
+ });
8221
+ return Extensible;
8222
+ }());;
8077
8223
  _v1.SpiInfo = (function () {
8078
8224
  class SpiInfo {
8079
8225
  constructor(props) {
@@ -91,6 +91,7 @@ declare namespace $requests {
91
91
  versionInsensitiveFqdn: string;
92
92
  appId?: string;
93
93
  exposure: $requests.wix.coreservices.businessschema.v1.Exposure;
94
+ extensible?: $requests.wix.coreservices.businessschema.v1.IExtensible;
94
95
  }
95
96
  export class EntityInfo implements IEntityInfo {
96
97
  constructor(data?: IEntityInfo);
@@ -114,6 +115,17 @@ declare namespace $requests {
114
115
  versionInsensitiveFqdn: string;
115
116
  appId?: string;
116
117
  exposure: $requests.wix.coreservices.businessschema.v1.Exposure;
118
+ extensible?: $requests.wix.coreservices.businessschema.v1.IExtensible;
119
+ static __$$generatedFromProtobuf$$__: Symbol;
120
+ }
121
+ export interface IExtensible {
122
+ rootExtensionEnabled: boolean;
123
+ nestedExtensionFieldPath?: string;
124
+ }
125
+ export class Extensible implements IExtensible {
126
+ constructor(data?: IExtensible);
127
+ rootExtensionEnabled: boolean;
128
+ nestedExtensionFieldPath?: string;
117
129
  static __$$generatedFromProtobuf$$__: Symbol;
118
130
  }
119
131
  export interface ISpiInfo {
@@ -2964,6 +2976,7 @@ declare namespace $responses {
2964
2976
  versionInsensitiveFqdn?: string;
2965
2977
  appId?: string;
2966
2978
  exposure?: $responses.wix.coreservices.businessschema.v1.Exposure;
2979
+ extensible?: $responses.wix.coreservices.businessschema.v1.IExtensible;
2967
2980
  }
2968
2981
  export class EntityInfo implements IEntityInfo {
2969
2982
  constructor(data?: IEntityInfo);
@@ -2987,6 +3000,17 @@ declare namespace $responses {
2987
3000
  versionInsensitiveFqdn?: string;
2988
3001
  appId?: string;
2989
3002
  exposure?: $responses.wix.coreservices.businessschema.v1.Exposure;
3003
+ extensible?: $responses.wix.coreservices.businessschema.v1.IExtensible;
3004
+ static __$$generatedFromProtobuf$$__: Symbol;
3005
+ }
3006
+ export interface IExtensible {
3007
+ rootExtensionEnabled?: boolean;
3008
+ nestedExtensionFieldPath?: string;
3009
+ }
3010
+ export class Extensible implements IExtensible {
3011
+ constructor(data?: IExtensible);
3012
+ rootExtensionEnabled?: boolean;
3013
+ nestedExtensionFieldPath?: string;
2990
3014
  static __$$generatedFromProtobuf$$__: Symbol;
2991
3015
  }
2992
3016
  export interface ISpiInfo {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/metro-common-builders",
3
- "version": "1.0.1143",
3
+ "version": "1.0.1144",
4
4
  "license": "UNLICENSED",
5
5
  "author": {
6
6
  "name": "Eli Ponyatovski",
@@ -33,14 +33,14 @@
33
33
  "*.{js,ts}": "yoshi lint"
34
34
  },
35
35
  "dependencies": {
36
- "@wix/metro-runtime": "1.1501.0",
36
+ "@wix/metro-runtime": "1.1502.0",
37
37
  "long": "^5.1.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@rushstack/eslint-patch": "^1.1.0",
41
41
  "@types/jest": "^24.9.1",
42
42
  "@types/node": "^16.11.7",
43
- "@wix/business-schema-api": "^1.7.1343",
43
+ "@wix/business-schema-api": "^1.7.1345",
44
44
  "@wix/wix-proto-codegen": "^2.0.1110",
45
45
  "@wix/yoshi": "^5.162.14",
46
46
  "husky": "~4.2.5",
@@ -69,5 +69,5 @@
69
69
  "wallaby": {
70
70
  "autoDetect": true
71
71
  },
72
- "falconPackageHash": "56152ddbd27d74b49c079030dc62ee0a59087b3fbea776c04f8c7058"
72
+ "falconPackageHash": "c2f8172c0055327ac0a6b625f2b9b8a3b50368153e5d18538f6d1452"
73
73
  }