@wix/metro-common-builders 1.0.1526 → 1.0.1528

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.
@@ -2239,6 +2239,7 @@ declare namespace $requests {
2239
2239
  exposure?: $requests.wix.api.Exposure;
2240
2240
  maturity?: $requests.wix.api.Maturity;
2241
2241
  additionalMetadataFqn?: string;
2242
+ deprecated?: $requests.wix.api.IDomainEventDeprecation;
2242
2243
  }
2243
2244
  export class DomainEvent implements IDomainEvent {
2244
2245
  constructor(data?: IDomainEvent);
@@ -2248,6 +2249,7 @@ declare namespace $requests {
2248
2249
  exposure?: $requests.wix.api.Exposure;
2249
2250
  maturity?: $requests.wix.api.Maturity;
2250
2251
  additionalMetadataFqn?: string;
2252
+ deprecated?: $requests.wix.api.IDomainEventDeprecation;
2251
2253
  static __$$generatedFromProtobuf$$__: Symbol;
2252
2254
  }
2253
2255
  export namespace DomainEvent {
@@ -2269,6 +2271,16 @@ declare namespace $requests {
2269
2271
  actionMessageFqn?: string;
2270
2272
  static __$$generatedFromProtobuf$$__: Symbol;
2271
2273
  }
2274
+ export interface IDomainEventDeprecation {
2275
+ replacedBy?: string;
2276
+ targetRemovalDate?: string;
2277
+ }
2278
+ export class DomainEventDeprecation implements IDomainEventDeprecation {
2279
+ constructor(data?: IDomainEventDeprecation);
2280
+ replacedBy?: string;
2281
+ targetRemovalDate?: string;
2282
+ static __$$generatedFromProtobuf$$__: Symbol;
2283
+ }
2272
2284
  export interface ICallbackDeprecation {
2273
2285
  replacedBy?: string;
2274
2286
  targetRemovalDate?: string;
@@ -6049,6 +6061,7 @@ declare namespace $responses {
6049
6061
  exposure: $responses.wix.api.Exposure;
6050
6062
  maturity: $responses.wix.api.Maturity;
6051
6063
  additionalMetadataFqn: string;
6064
+ deprecated?: $responses.wix.api.IDomainEventDeprecation;
6052
6065
  }
6053
6066
  export class DomainEvent implements IDomainEvent {
6054
6067
  constructor(data?: IDomainEvent);
@@ -6058,6 +6071,7 @@ declare namespace $responses {
6058
6071
  exposure: $responses.wix.api.Exposure;
6059
6072
  maturity: $responses.wix.api.Maturity;
6060
6073
  additionalMetadataFqn: string;
6074
+ deprecated?: $responses.wix.api.IDomainEventDeprecation;
6061
6075
  static __$$generatedFromProtobuf$$__: Symbol;
6062
6076
  }
6063
6077
  export namespace DomainEvent {
@@ -6079,6 +6093,16 @@ declare namespace $responses {
6079
6093
  actionMessageFqn: string;
6080
6094
  static __$$generatedFromProtobuf$$__: Symbol;
6081
6095
  }
6096
+ export interface IDomainEventDeprecation {
6097
+ replacedBy: string;
6098
+ targetRemovalDate: string;
6099
+ }
6100
+ export class DomainEventDeprecation implements IDomainEventDeprecation {
6101
+ constructor(data?: IDomainEventDeprecation);
6102
+ replacedBy: string;
6103
+ targetRemovalDate: string;
6104
+ static __$$generatedFromProtobuf$$__: Symbol;
6105
+ }
6082
6106
  export interface ICallbackDeprecation {
6083
6107
  replacedBy: string;
6084
6108
  targetRemovalDate: string;
@@ -2260,6 +2260,7 @@ declare namespace $wrapper {
2260
2260
  exposure?: ($wrapper.wix.api.Exposure | null);
2261
2261
  maturity?: ($wrapper.wix.api.Maturity | null);
2262
2262
  additionalMetadataFqn?: (string | null);
2263
+ deprecated?: ($wrapper.wix.api.IDomainEventDeprecation | null);
2263
2264
  }
2264
2265
  export class DomainEvent implements IDomainEvent {
2265
2266
  constructor(data?: IDomainEvent);
@@ -2269,6 +2270,7 @@ declare namespace $wrapper {
2269
2270
  exposure?: ($wrapper.wix.api.Exposure | null);
2270
2271
  maturity?: ($wrapper.wix.api.Maturity | null);
2271
2272
  additionalMetadataFqn?: (string | null);
2273
+ deprecated?: ($wrapper.wix.api.IDomainEventDeprecation | null);
2272
2274
  static __$$generatedFromProtobuf$$__: Symbol;
2273
2275
  }
2274
2276
  export namespace DomainEvent {
@@ -2290,6 +2292,16 @@ declare namespace $wrapper {
2290
2292
  actionMessageFqn?: (string | null);
2291
2293
  static __$$generatedFromProtobuf$$__: Symbol;
2292
2294
  }
2295
+ export interface IDomainEventDeprecation {
2296
+ replacedBy?: (string | null);
2297
+ targetRemovalDate?: (string | null);
2298
+ }
2299
+ export class DomainEventDeprecation implements IDomainEventDeprecation {
2300
+ constructor(data?: IDomainEventDeprecation);
2301
+ replacedBy?: (string | null);
2302
+ targetRemovalDate?: (string | null);
2303
+ static __$$generatedFromProtobuf$$__: Symbol;
2304
+ }
2293
2305
  export interface ICallbackDeprecation {
2294
2306
  replacedBy?: (string | null);
2295
2307
  targetRemovalDate?: (string | null);
@@ -10,7 +10,7 @@ $root.__options = {
10
10
  'stringLongs': true,
11
11
  'stdCase': false,
12
12
  'generatorVersion': '2.0.1157',
13
- 'contentHash': 'c3a5d1244926f7d5903824b5656ac5efa6308400'
13
+ 'contentHash': 'f574a85375300ad65bcdea6eecf3b679862ae3ff'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -5900,6 +5900,12 @@ $root.__lookup = function (pbjs) {
5900
5900
  'id': 8,
5901
5901
  'comment': null,
5902
5902
  'parsedOptions': null
5903
+ },
5904
+ 'deprecated': {
5905
+ 'type': 'DomainEventDeprecation',
5906
+ 'id': 9,
5907
+ 'comment': null,
5908
+ 'parsedOptions': null
5903
5909
  }
5904
5910
  },
5905
5911
  'nested': {
@@ -5941,6 +5947,23 @@ $root.__lookup = function (pbjs) {
5941
5947
  },
5942
5948
  'comment': null
5943
5949
  },
5950
+ 'DomainEventDeprecation': {
5951
+ 'fields': {
5952
+ 'replacedBy': {
5953
+ 'type': 'string',
5954
+ 'id': 1,
5955
+ 'comment': null,
5956
+ 'parsedOptions': null
5957
+ },
5958
+ 'targetRemovalDate': {
5959
+ 'type': 'string',
5960
+ 'id': 2,
5961
+ 'comment': null,
5962
+ 'parsedOptions': null
5963
+ }
5964
+ },
5965
+ 'comment': null
5966
+ },
5944
5967
  'CallbackDeprecation': {
5945
5968
  'fields': {
5946
5969
  'replacedBy': {
@@ -33528,6 +33551,7 @@ $root.wix = (function () {
33528
33551
  this.exposure = props && props.exposure;
33529
33552
  this.maturity = props && props.maturity;
33530
33553
  this.additionalMetadataFqn = props && props.additionalMetadataFqn;
33554
+ this.deprecated = props && props.deprecated;
33531
33555
  }
33532
33556
  static toJSON(obj, helper, withDefaults) {
33533
33557
  if (obj == null) {
@@ -33564,6 +33588,11 @@ $root.wix = (function () {
33564
33588
  } else if (withDefaults) {
33565
33589
  json['additionalMetadataFqn'] = '';
33566
33590
  }
33591
+ if (obj['deprecated'] != null) {
33592
+ json['deprecated'] = $root.wix.api.DomainEventDeprecation.toJSON(obj['deprecated'], helper, withDefaults);
33593
+ } else if (withDefaults) {
33594
+ delete json['deprecated'];
33595
+ }
33567
33596
  return json;
33568
33597
  }
33569
33598
  }
@@ -33612,6 +33641,13 @@ $root.wix = (function () {
33612
33641
  } else {
33613
33642
  delete result['additionalMetadataFqn'];
33614
33643
  }
33644
+ if (json['deprecated'] != null) {
33645
+ result['deprecated'] = $root.wix.api.DomainEventDeprecation.fromJSON(json['deprecated'], helper);
33646
+ } else if (withDefaults !== false) {
33647
+ delete result['deprecated'];
33648
+ } else {
33649
+ delete result['deprecated'];
33650
+ }
33615
33651
  return result;
33616
33652
  } else
33617
33653
  return json;
@@ -33639,6 +33675,9 @@ $root.wix = (function () {
33639
33675
  if (obj['additionalMetadataFqn'] != null) {
33640
33676
  grpc['additionalMetadataFqn'] = obj['additionalMetadataFqn'];
33641
33677
  }
33678
+ if (obj['deprecated'] != null) {
33679
+ grpc['deprecated'] = $root.wix.api.DomainEventDeprecation.toGRPC(obj['deprecated'], helper);
33680
+ }
33642
33681
  return grpc;
33643
33682
  }
33644
33683
  }
@@ -33677,6 +33716,11 @@ $root.wix = (function () {
33677
33716
  } else {
33678
33717
  result['additionalMetadataFqn'] = '';
33679
33718
  }
33719
+ if (grpc['deprecated'] != null) {
33720
+ result['deprecated'] = $root.wix.api.DomainEventDeprecation.fromGRPC(grpc['deprecated'], helper);
33721
+ } else {
33722
+ delete result['deprecated'];
33723
+ }
33680
33724
  return result;
33681
33725
  }
33682
33726
  }
@@ -33831,6 +33875,108 @@ $root.wix = (function () {
33831
33875
  });
33832
33876
  return Emits;
33833
33877
  }());;
33878
+ _api.DomainEventDeprecation = (function () {
33879
+ class DomainEventDeprecation {
33880
+ constructor(props) {
33881
+ this.replacedBy = props && props.replacedBy;
33882
+ this.targetRemovalDate = props && props.targetRemovalDate;
33883
+ }
33884
+ static toJSON(obj, helper, withDefaults) {
33885
+ if (obj == null) {
33886
+ return null;
33887
+ } else {
33888
+ const json = {};
33889
+ if (obj['replacedBy'] != null) {
33890
+ json['replacedBy'] = obj['replacedBy'];
33891
+ } else if (withDefaults) {
33892
+ json['replacedBy'] = '';
33893
+ }
33894
+ if (obj['targetRemovalDate'] != null) {
33895
+ json['targetRemovalDate'] = obj['targetRemovalDate'];
33896
+ } else if (withDefaults) {
33897
+ json['targetRemovalDate'] = '';
33898
+ }
33899
+ return json;
33900
+ }
33901
+ }
33902
+ static fromJSON(json, helper, withDefaults) {
33903
+ if (typeof json === 'object' && !Array.isArray(json)) {
33904
+ const result = new $root.wix.api.DomainEventDeprecation();
33905
+ if (json['replacedBy'] != null) {
33906
+ result['replacedBy'] = json['replacedBy'];
33907
+ } else if (withDefaults !== false) {
33908
+ result['replacedBy'] = '';
33909
+ } else {
33910
+ delete result['replacedBy'];
33911
+ }
33912
+ if (json['targetRemovalDate'] != null) {
33913
+ result['targetRemovalDate'] = json['targetRemovalDate'];
33914
+ } else if (withDefaults !== false) {
33915
+ result['targetRemovalDate'] = '';
33916
+ } else {
33917
+ delete result['targetRemovalDate'];
33918
+ }
33919
+ return result;
33920
+ } else
33921
+ return json;
33922
+ }
33923
+ static toGRPC(obj, helper) {
33924
+ if (obj == null) {
33925
+ return null;
33926
+ } else {
33927
+ const grpc = {};
33928
+ if (obj['replacedBy'] != null) {
33929
+ grpc['replacedBy'] = obj['replacedBy'];
33930
+ }
33931
+ if (obj['targetRemovalDate'] != null) {
33932
+ grpc['targetRemovalDate'] = obj['targetRemovalDate'];
33933
+ }
33934
+ return grpc;
33935
+ }
33936
+ }
33937
+ static fromGRPC(grpc, helper) {
33938
+ if (grpc == null) {
33939
+ return null;
33940
+ } else {
33941
+ const result = new $root.wix.api.DomainEventDeprecation();
33942
+ if (grpc['replacedBy'] != null) {
33943
+ result['replacedBy'] = grpc['replacedBy'];
33944
+ } else {
33945
+ result['replacedBy'] = '';
33946
+ }
33947
+ if (grpc['targetRemovalDate'] != null) {
33948
+ result['targetRemovalDate'] = grpc['targetRemovalDate'];
33949
+ } else {
33950
+ result['targetRemovalDate'] = '';
33951
+ }
33952
+ return result;
33953
+ }
33954
+ }
33955
+ }
33956
+ __builtIn.Object.defineProperty(DomainEventDeprecation.prototype, '__proto', {
33957
+ value: pbjs => {
33958
+ return $root.__lookup(pbjs)('wix.api.DomainEventDeprecation');
33959
+ },
33960
+ enumerable: false,
33961
+ configurable: false
33962
+ });
33963
+ __builtIn.Object.defineProperty(DomainEventDeprecation.prototype, '__fqn__', {
33964
+ value: 'wix.api.DomainEventDeprecation',
33965
+ enumerable: false,
33966
+ configurable: false
33967
+ });
33968
+ __builtIn.Object.defineProperty(DomainEventDeprecation.prototype, '__options__', {
33969
+ value: $root.__options,
33970
+ enumerable: false,
33971
+ configurable: false
33972
+ });
33973
+ __builtIn.Object.defineProperty(DomainEventDeprecation.prototype, '__root__', {
33974
+ value: $root,
33975
+ enumerable: false,
33976
+ configurable: false
33977
+ });
33978
+ return DomainEventDeprecation;
33979
+ }());;
33834
33980
  _api.CallbackDeprecation = (function () {
33835
33981
  class CallbackDeprecation {
33836
33982
  constructor(props) {
@@ -2239,6 +2239,7 @@ declare namespace $requests {
2239
2239
  exposure: $requests.wix.api.Exposure;
2240
2240
  maturity: $requests.wix.api.Maturity;
2241
2241
  additionalMetadataFqn: string;
2242
+ deprecated?: $requests.wix.api.IDomainEventDeprecation;
2242
2243
  }
2243
2244
  export class DomainEvent implements IDomainEvent {
2244
2245
  constructor(data?: IDomainEvent);
@@ -2248,6 +2249,7 @@ declare namespace $requests {
2248
2249
  exposure: $requests.wix.api.Exposure;
2249
2250
  maturity: $requests.wix.api.Maturity;
2250
2251
  additionalMetadataFqn: string;
2252
+ deprecated?: $requests.wix.api.IDomainEventDeprecation;
2251
2253
  static __$$generatedFromProtobuf$$__: Symbol;
2252
2254
  }
2253
2255
  export namespace DomainEvent {
@@ -2269,6 +2271,16 @@ declare namespace $requests {
2269
2271
  actionMessageFqn: string;
2270
2272
  static __$$generatedFromProtobuf$$__: Symbol;
2271
2273
  }
2274
+ export interface IDomainEventDeprecation {
2275
+ replacedBy: string;
2276
+ targetRemovalDate: string;
2277
+ }
2278
+ export class DomainEventDeprecation implements IDomainEventDeprecation {
2279
+ constructor(data?: IDomainEventDeprecation);
2280
+ replacedBy: string;
2281
+ targetRemovalDate: string;
2282
+ static __$$generatedFromProtobuf$$__: Symbol;
2283
+ }
2272
2284
  export interface ICallbackDeprecation {
2273
2285
  replacedBy: string;
2274
2286
  targetRemovalDate: string;
@@ -6049,6 +6061,7 @@ declare namespace $responses {
6049
6061
  exposure?: $responses.wix.api.Exposure;
6050
6062
  maturity?: $responses.wix.api.Maturity;
6051
6063
  additionalMetadataFqn?: string;
6064
+ deprecated?: $responses.wix.api.IDomainEventDeprecation;
6052
6065
  }
6053
6066
  export class DomainEvent implements IDomainEvent {
6054
6067
  constructor(data?: IDomainEvent);
@@ -6058,6 +6071,7 @@ declare namespace $responses {
6058
6071
  exposure?: $responses.wix.api.Exposure;
6059
6072
  maturity?: $responses.wix.api.Maturity;
6060
6073
  additionalMetadataFqn?: string;
6074
+ deprecated?: $responses.wix.api.IDomainEventDeprecation;
6061
6075
  static __$$generatedFromProtobuf$$__: Symbol;
6062
6076
  }
6063
6077
  export namespace DomainEvent {
@@ -6079,6 +6093,16 @@ declare namespace $responses {
6079
6093
  actionMessageFqn?: string;
6080
6094
  static __$$generatedFromProtobuf$$__: Symbol;
6081
6095
  }
6096
+ export interface IDomainEventDeprecation {
6097
+ replacedBy?: string;
6098
+ targetRemovalDate?: string;
6099
+ }
6100
+ export class DomainEventDeprecation implements IDomainEventDeprecation {
6101
+ constructor(data?: IDomainEventDeprecation);
6102
+ replacedBy?: string;
6103
+ targetRemovalDate?: string;
6104
+ static __$$generatedFromProtobuf$$__: Symbol;
6105
+ }
6082
6106
  export interface ICallbackDeprecation {
6083
6107
  replacedBy?: string;
6084
6108
  targetRemovalDate?: string;
@@ -2239,6 +2239,7 @@ declare namespace $requests {
2239
2239
  exposure?: $requests.wix.api.Exposure;
2240
2240
  maturity?: $requests.wix.api.Maturity;
2241
2241
  additionalMetadataFqn?: string;
2242
+ deprecated?: $requests.wix.api.IDomainEventDeprecation;
2242
2243
  }
2243
2244
  export class DomainEvent implements IDomainEvent {
2244
2245
  constructor(data?: IDomainEvent);
@@ -2248,6 +2249,7 @@ declare namespace $requests {
2248
2249
  exposure?: $requests.wix.api.Exposure;
2249
2250
  maturity?: $requests.wix.api.Maturity;
2250
2251
  additionalMetadataFqn?: string;
2252
+ deprecated?: $requests.wix.api.IDomainEventDeprecation;
2251
2253
  static __$$generatedFromProtobuf$$__: Symbol;
2252
2254
  }
2253
2255
  export namespace DomainEvent {
@@ -2269,6 +2271,16 @@ declare namespace $requests {
2269
2271
  actionMessageFqn?: string;
2270
2272
  static __$$generatedFromProtobuf$$__: Symbol;
2271
2273
  }
2274
+ export interface IDomainEventDeprecation {
2275
+ replacedBy?: string;
2276
+ targetRemovalDate?: string;
2277
+ }
2278
+ export class DomainEventDeprecation implements IDomainEventDeprecation {
2279
+ constructor(data?: IDomainEventDeprecation);
2280
+ replacedBy?: string;
2281
+ targetRemovalDate?: string;
2282
+ static __$$generatedFromProtobuf$$__: Symbol;
2283
+ }
2272
2284
  export interface ICallbackDeprecation {
2273
2285
  replacedBy?: string;
2274
2286
  targetRemovalDate?: string;
@@ -6049,6 +6061,7 @@ declare namespace $responses {
6049
6061
  exposure: $responses.wix.api.Exposure;
6050
6062
  maturity: $responses.wix.api.Maturity;
6051
6063
  additionalMetadataFqn: string;
6064
+ deprecated?: $responses.wix.api.IDomainEventDeprecation;
6052
6065
  }
6053
6066
  export class DomainEvent implements IDomainEvent {
6054
6067
  constructor(data?: IDomainEvent);
@@ -6058,6 +6071,7 @@ declare namespace $responses {
6058
6071
  exposure: $responses.wix.api.Exposure;
6059
6072
  maturity: $responses.wix.api.Maturity;
6060
6073
  additionalMetadataFqn: string;
6074
+ deprecated?: $responses.wix.api.IDomainEventDeprecation;
6061
6075
  static __$$generatedFromProtobuf$$__: Symbol;
6062
6076
  }
6063
6077
  export namespace DomainEvent {
@@ -6079,6 +6093,16 @@ declare namespace $responses {
6079
6093
  actionMessageFqn: string;
6080
6094
  static __$$generatedFromProtobuf$$__: Symbol;
6081
6095
  }
6096
+ export interface IDomainEventDeprecation {
6097
+ replacedBy: string;
6098
+ targetRemovalDate: string;
6099
+ }
6100
+ export class DomainEventDeprecation implements IDomainEventDeprecation {
6101
+ constructor(data?: IDomainEventDeprecation);
6102
+ replacedBy: string;
6103
+ targetRemovalDate: string;
6104
+ static __$$generatedFromProtobuf$$__: Symbol;
6105
+ }
6082
6106
  export interface ICallbackDeprecation {
6083
6107
  replacedBy: string;
6084
6108
  targetRemovalDate: string;
@@ -2260,6 +2260,7 @@ declare namespace $wrapper {
2260
2260
  exposure?: ($wrapper.wix.api.Exposure | null);
2261
2261
  maturity?: ($wrapper.wix.api.Maturity | null);
2262
2262
  additionalMetadataFqn?: (string | null);
2263
+ deprecated?: ($wrapper.wix.api.IDomainEventDeprecation | null);
2263
2264
  }
2264
2265
  export class DomainEvent implements IDomainEvent {
2265
2266
  constructor(data?: IDomainEvent);
@@ -2269,6 +2270,7 @@ declare namespace $wrapper {
2269
2270
  exposure?: ($wrapper.wix.api.Exposure | null);
2270
2271
  maturity?: ($wrapper.wix.api.Maturity | null);
2271
2272
  additionalMetadataFqn?: (string | null);
2273
+ deprecated?: ($wrapper.wix.api.IDomainEventDeprecation | null);
2272
2274
  static __$$generatedFromProtobuf$$__: Symbol;
2273
2275
  }
2274
2276
  export namespace DomainEvent {
@@ -2290,6 +2292,16 @@ declare namespace $wrapper {
2290
2292
  actionMessageFqn?: (string | null);
2291
2293
  static __$$generatedFromProtobuf$$__: Symbol;
2292
2294
  }
2295
+ export interface IDomainEventDeprecation {
2296
+ replacedBy?: (string | null);
2297
+ targetRemovalDate?: (string | null);
2298
+ }
2299
+ export class DomainEventDeprecation implements IDomainEventDeprecation {
2300
+ constructor(data?: IDomainEventDeprecation);
2301
+ replacedBy?: (string | null);
2302
+ targetRemovalDate?: (string | null);
2303
+ static __$$generatedFromProtobuf$$__: Symbol;
2304
+ }
2293
2305
  export interface ICallbackDeprecation {
2294
2306
  replacedBy?: (string | null);
2295
2307
  targetRemovalDate?: (string | null);
@@ -10,7 +10,7 @@ $root.__options = {
10
10
  'stringLongs': true,
11
11
  'stdCase': false,
12
12
  'generatorVersion': '2.0.1157',
13
- 'contentHash': 'c3a5d1244926f7d5903824b5656ac5efa6308400'
13
+ 'contentHash': 'f574a85375300ad65bcdea6eecf3b679862ae3ff'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -5900,6 +5900,12 @@ $root.__lookup = function (pbjs) {
5900
5900
  'id': 8,
5901
5901
  'comment': null,
5902
5902
  'parsedOptions': null
5903
+ },
5904
+ 'deprecated': {
5905
+ 'type': 'DomainEventDeprecation',
5906
+ 'id': 9,
5907
+ 'comment': null,
5908
+ 'parsedOptions': null
5903
5909
  }
5904
5910
  },
5905
5911
  'nested': {
@@ -5941,6 +5947,23 @@ $root.__lookup = function (pbjs) {
5941
5947
  },
5942
5948
  'comment': null
5943
5949
  },
5950
+ 'DomainEventDeprecation': {
5951
+ 'fields': {
5952
+ 'replacedBy': {
5953
+ 'type': 'string',
5954
+ 'id': 1,
5955
+ 'comment': null,
5956
+ 'parsedOptions': null
5957
+ },
5958
+ 'targetRemovalDate': {
5959
+ 'type': 'string',
5960
+ 'id': 2,
5961
+ 'comment': null,
5962
+ 'parsedOptions': null
5963
+ }
5964
+ },
5965
+ 'comment': null
5966
+ },
5944
5967
  'CallbackDeprecation': {
5945
5968
  'fields': {
5946
5969
  'replacedBy': {
@@ -33528,6 +33551,7 @@ $root.wix = (function () {
33528
33551
  this.exposure = props && props.exposure;
33529
33552
  this.maturity = props && props.maturity;
33530
33553
  this.additionalMetadataFqn = props && props.additionalMetadataFqn;
33554
+ this.deprecated = props && props.deprecated;
33531
33555
  }
33532
33556
  static toJSON(obj, helper, withDefaults) {
33533
33557
  if (obj == null) {
@@ -33564,6 +33588,11 @@ $root.wix = (function () {
33564
33588
  } else if (withDefaults) {
33565
33589
  json['additionalMetadataFqn'] = '';
33566
33590
  }
33591
+ if (obj['deprecated'] != null) {
33592
+ json['deprecated'] = $root.wix.api.DomainEventDeprecation.toJSON(obj['deprecated'], helper, withDefaults);
33593
+ } else if (withDefaults) {
33594
+ delete json['deprecated'];
33595
+ }
33567
33596
  return json;
33568
33597
  }
33569
33598
  }
@@ -33612,6 +33641,13 @@ $root.wix = (function () {
33612
33641
  } else {
33613
33642
  delete result['additionalMetadataFqn'];
33614
33643
  }
33644
+ if (json['deprecated'] != null) {
33645
+ result['deprecated'] = $root.wix.api.DomainEventDeprecation.fromJSON(json['deprecated'], helper);
33646
+ } else if (withDefaults !== false) {
33647
+ delete result['deprecated'];
33648
+ } else {
33649
+ delete result['deprecated'];
33650
+ }
33615
33651
  return result;
33616
33652
  } else
33617
33653
  return json;
@@ -33639,6 +33675,9 @@ $root.wix = (function () {
33639
33675
  if (obj['additionalMetadataFqn'] != null) {
33640
33676
  grpc['additionalMetadataFqn'] = obj['additionalMetadataFqn'];
33641
33677
  }
33678
+ if (obj['deprecated'] != null) {
33679
+ grpc['deprecated'] = $root.wix.api.DomainEventDeprecation.toGRPC(obj['deprecated'], helper);
33680
+ }
33642
33681
  return grpc;
33643
33682
  }
33644
33683
  }
@@ -33677,6 +33716,11 @@ $root.wix = (function () {
33677
33716
  } else {
33678
33717
  result['additionalMetadataFqn'] = '';
33679
33718
  }
33719
+ if (grpc['deprecated'] != null) {
33720
+ result['deprecated'] = $root.wix.api.DomainEventDeprecation.fromGRPC(grpc['deprecated'], helper);
33721
+ } else {
33722
+ delete result['deprecated'];
33723
+ }
33680
33724
  return result;
33681
33725
  }
33682
33726
  }
@@ -33831,6 +33875,108 @@ $root.wix = (function () {
33831
33875
  });
33832
33876
  return Emits;
33833
33877
  }());;
33878
+ _api.DomainEventDeprecation = (function () {
33879
+ class DomainEventDeprecation {
33880
+ constructor(props) {
33881
+ this.replacedBy = props && props.replacedBy;
33882
+ this.targetRemovalDate = props && props.targetRemovalDate;
33883
+ }
33884
+ static toJSON(obj, helper, withDefaults) {
33885
+ if (obj == null) {
33886
+ return null;
33887
+ } else {
33888
+ const json = {};
33889
+ if (obj['replacedBy'] != null) {
33890
+ json['replacedBy'] = obj['replacedBy'];
33891
+ } else if (withDefaults) {
33892
+ json['replacedBy'] = '';
33893
+ }
33894
+ if (obj['targetRemovalDate'] != null) {
33895
+ json['targetRemovalDate'] = obj['targetRemovalDate'];
33896
+ } else if (withDefaults) {
33897
+ json['targetRemovalDate'] = '';
33898
+ }
33899
+ return json;
33900
+ }
33901
+ }
33902
+ static fromJSON(json, helper, withDefaults) {
33903
+ if (typeof json === 'object' && !Array.isArray(json)) {
33904
+ const result = new $root.wix.api.DomainEventDeprecation();
33905
+ if (json['replacedBy'] != null) {
33906
+ result['replacedBy'] = json['replacedBy'];
33907
+ } else if (withDefaults !== false) {
33908
+ result['replacedBy'] = '';
33909
+ } else {
33910
+ delete result['replacedBy'];
33911
+ }
33912
+ if (json['targetRemovalDate'] != null) {
33913
+ result['targetRemovalDate'] = json['targetRemovalDate'];
33914
+ } else if (withDefaults !== false) {
33915
+ result['targetRemovalDate'] = '';
33916
+ } else {
33917
+ delete result['targetRemovalDate'];
33918
+ }
33919
+ return result;
33920
+ } else
33921
+ return json;
33922
+ }
33923
+ static toGRPC(obj, helper) {
33924
+ if (obj == null) {
33925
+ return null;
33926
+ } else {
33927
+ const grpc = {};
33928
+ if (obj['replacedBy'] != null) {
33929
+ grpc['replacedBy'] = obj['replacedBy'];
33930
+ }
33931
+ if (obj['targetRemovalDate'] != null) {
33932
+ grpc['targetRemovalDate'] = obj['targetRemovalDate'];
33933
+ }
33934
+ return grpc;
33935
+ }
33936
+ }
33937
+ static fromGRPC(grpc, helper) {
33938
+ if (grpc == null) {
33939
+ return null;
33940
+ } else {
33941
+ const result = new $root.wix.api.DomainEventDeprecation();
33942
+ if (grpc['replacedBy'] != null) {
33943
+ result['replacedBy'] = grpc['replacedBy'];
33944
+ } else {
33945
+ result['replacedBy'] = '';
33946
+ }
33947
+ if (grpc['targetRemovalDate'] != null) {
33948
+ result['targetRemovalDate'] = grpc['targetRemovalDate'];
33949
+ } else {
33950
+ result['targetRemovalDate'] = '';
33951
+ }
33952
+ return result;
33953
+ }
33954
+ }
33955
+ }
33956
+ __builtIn.Object.defineProperty(DomainEventDeprecation.prototype, '__proto', {
33957
+ value: pbjs => {
33958
+ return $root.__lookup(pbjs)('wix.api.DomainEventDeprecation');
33959
+ },
33960
+ enumerable: false,
33961
+ configurable: false
33962
+ });
33963
+ __builtIn.Object.defineProperty(DomainEventDeprecation.prototype, '__fqn__', {
33964
+ value: 'wix.api.DomainEventDeprecation',
33965
+ enumerable: false,
33966
+ configurable: false
33967
+ });
33968
+ __builtIn.Object.defineProperty(DomainEventDeprecation.prototype, '__options__', {
33969
+ value: $root.__options,
33970
+ enumerable: false,
33971
+ configurable: false
33972
+ });
33973
+ __builtIn.Object.defineProperty(DomainEventDeprecation.prototype, '__root__', {
33974
+ value: $root,
33975
+ enumerable: false,
33976
+ configurable: false
33977
+ });
33978
+ return DomainEventDeprecation;
33979
+ }());;
33834
33980
  _api.CallbackDeprecation = (function () {
33835
33981
  class CallbackDeprecation {
33836
33982
  constructor(props) {
@@ -2239,6 +2239,7 @@ declare namespace $requests {
2239
2239
  exposure: $requests.wix.api.Exposure;
2240
2240
  maturity: $requests.wix.api.Maturity;
2241
2241
  additionalMetadataFqn: string;
2242
+ deprecated?: $requests.wix.api.IDomainEventDeprecation;
2242
2243
  }
2243
2244
  export class DomainEvent implements IDomainEvent {
2244
2245
  constructor(data?: IDomainEvent);
@@ -2248,6 +2249,7 @@ declare namespace $requests {
2248
2249
  exposure: $requests.wix.api.Exposure;
2249
2250
  maturity: $requests.wix.api.Maturity;
2250
2251
  additionalMetadataFqn: string;
2252
+ deprecated?: $requests.wix.api.IDomainEventDeprecation;
2251
2253
  static __$$generatedFromProtobuf$$__: Symbol;
2252
2254
  }
2253
2255
  export namespace DomainEvent {
@@ -2269,6 +2271,16 @@ declare namespace $requests {
2269
2271
  actionMessageFqn: string;
2270
2272
  static __$$generatedFromProtobuf$$__: Symbol;
2271
2273
  }
2274
+ export interface IDomainEventDeprecation {
2275
+ replacedBy: string;
2276
+ targetRemovalDate: string;
2277
+ }
2278
+ export class DomainEventDeprecation implements IDomainEventDeprecation {
2279
+ constructor(data?: IDomainEventDeprecation);
2280
+ replacedBy: string;
2281
+ targetRemovalDate: string;
2282
+ static __$$generatedFromProtobuf$$__: Symbol;
2283
+ }
2272
2284
  export interface ICallbackDeprecation {
2273
2285
  replacedBy: string;
2274
2286
  targetRemovalDate: string;
@@ -6049,6 +6061,7 @@ declare namespace $responses {
6049
6061
  exposure?: $responses.wix.api.Exposure;
6050
6062
  maturity?: $responses.wix.api.Maturity;
6051
6063
  additionalMetadataFqn?: string;
6064
+ deprecated?: $responses.wix.api.IDomainEventDeprecation;
6052
6065
  }
6053
6066
  export class DomainEvent implements IDomainEvent {
6054
6067
  constructor(data?: IDomainEvent);
@@ -6058,6 +6071,7 @@ declare namespace $responses {
6058
6071
  exposure?: $responses.wix.api.Exposure;
6059
6072
  maturity?: $responses.wix.api.Maturity;
6060
6073
  additionalMetadataFqn?: string;
6074
+ deprecated?: $responses.wix.api.IDomainEventDeprecation;
6061
6075
  static __$$generatedFromProtobuf$$__: Symbol;
6062
6076
  }
6063
6077
  export namespace DomainEvent {
@@ -6079,6 +6093,16 @@ declare namespace $responses {
6079
6093
  actionMessageFqn?: string;
6080
6094
  static __$$generatedFromProtobuf$$__: Symbol;
6081
6095
  }
6096
+ export interface IDomainEventDeprecation {
6097
+ replacedBy?: string;
6098
+ targetRemovalDate?: string;
6099
+ }
6100
+ export class DomainEventDeprecation implements IDomainEventDeprecation {
6101
+ constructor(data?: IDomainEventDeprecation);
6102
+ replacedBy?: string;
6103
+ targetRemovalDate?: string;
6104
+ static __$$generatedFromProtobuf$$__: Symbol;
6105
+ }
6082
6106
  export interface ICallbackDeprecation {
6083
6107
  replacedBy?: string;
6084
6108
  targetRemovalDate?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/metro-common-builders",
3
- "version": "1.0.1526",
3
+ "version": "1.0.1528",
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.1881.0",
36
+ "@wix/metro-runtime": "1.1883.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": "c8a315fd5df164994d18b91b3ccb3248650a280a7dd6fa7597385774"
74
+ "falconPackageHash": "b950e201e8907eeb59ea13ebd0712b227af61ac366b095951e97f865"
75
75
  }