@wix/metro-common-builders 1.0.1482 → 1.0.1483

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.
@@ -112,6 +112,7 @@ declare namespace $requests {
112
112
  segment?: $requests.wix.coreservices.businessschema.v1.Segment.Segment;
113
113
  domainEventsSettings?: $requests.wix.coreservices.businessschema.v1.IDomainEventsSettings;
114
114
  queryOptions?: $requests.wix.coreservices.businessschema.v1.IQueryOptions;
115
+ taggable?: $requests.wix.coreservices.businessschema.v1.ITaggable;
115
116
  }
116
117
  export class EntityInfo implements IEntityInfo {
117
118
  constructor(data?: IEntityInfo);
@@ -140,6 +141,17 @@ declare namespace $requests {
140
141
  segment?: $requests.wix.coreservices.businessschema.v1.Segment.Segment;
141
142
  domainEventsSettings?: $requests.wix.coreservices.businessschema.v1.IDomainEventsSettings;
142
143
  queryOptions?: $requests.wix.coreservices.businessschema.v1.IQueryOptions;
144
+ taggable?: $requests.wix.coreservices.businessschema.v1.ITaggable;
145
+ static __$$generatedFromProtobuf$$__: Symbol;
146
+ }
147
+ export interface ITaggable {
148
+ tags?: boolean;
149
+ privateTags?: boolean;
150
+ }
151
+ export class Taggable implements ITaggable {
152
+ constructor(data?: ITaggable);
153
+ tags?: boolean;
154
+ privateTags?: boolean;
143
155
  static __$$generatedFromProtobuf$$__: Symbol;
144
156
  }
145
157
  export interface IQueryOptions {
@@ -188,12 +200,24 @@ declare namespace $requests {
188
200
  rootExtensionEnabled?: boolean;
189
201
  nestedExtensionFieldPath?: string;
190
202
  filterable?: boolean;
203
+ nestedExtensionPointMappings?: $requests.wix.coreservices.businessschema.v1.INestedExtensionPointMapping[];
191
204
  }
192
205
  export class Extensible implements IExtensible {
193
206
  constructor(data?: IExtensible);
194
207
  rootExtensionEnabled?: boolean;
195
208
  nestedExtensionFieldPath?: string;
196
209
  filterable?: boolean;
210
+ nestedExtensionPointMappings?: $requests.wix.coreservices.businessschema.v1.INestedExtensionPointMapping[];
211
+ static __$$generatedFromProtobuf$$__: Symbol;
212
+ }
213
+ export interface INestedExtensionPointMapping {
214
+ extensionPoint?: string;
215
+ path?: string;
216
+ }
217
+ export class NestedExtensionPointMapping implements INestedExtensionPointMapping {
218
+ constructor(data?: INestedExtensionPointMapping);
219
+ extensionPoint?: string;
220
+ path?: string;
197
221
  static __$$generatedFromProtobuf$$__: Symbol;
198
222
  }
199
223
  export interface ISpiInfo {
@@ -3766,6 +3790,7 @@ declare namespace $responses {
3766
3790
  segment: $responses.wix.coreservices.businessschema.v1.Segment.Segment;
3767
3791
  domainEventsSettings?: $responses.wix.coreservices.businessschema.v1.IDomainEventsSettings;
3768
3792
  queryOptions?: $responses.wix.coreservices.businessschema.v1.IQueryOptions;
3793
+ taggable?: $responses.wix.coreservices.businessschema.v1.ITaggable;
3769
3794
  }
3770
3795
  export class EntityInfo implements IEntityInfo {
3771
3796
  constructor(data?: IEntityInfo);
@@ -3794,6 +3819,17 @@ declare namespace $responses {
3794
3819
  segment: $responses.wix.coreservices.businessschema.v1.Segment.Segment;
3795
3820
  domainEventsSettings?: $responses.wix.coreservices.businessschema.v1.IDomainEventsSettings;
3796
3821
  queryOptions?: $responses.wix.coreservices.businessschema.v1.IQueryOptions;
3822
+ taggable?: $responses.wix.coreservices.businessschema.v1.ITaggable;
3823
+ static __$$generatedFromProtobuf$$__: Symbol;
3824
+ }
3825
+ export interface ITaggable {
3826
+ tags: boolean;
3827
+ privateTags: boolean;
3828
+ }
3829
+ export class Taggable implements ITaggable {
3830
+ constructor(data?: ITaggable);
3831
+ tags: boolean;
3832
+ privateTags: boolean;
3797
3833
  static __$$generatedFromProtobuf$$__: Symbol;
3798
3834
  }
3799
3835
  export interface IQueryOptions {
@@ -3842,12 +3878,24 @@ declare namespace $responses {
3842
3878
  rootExtensionEnabled: boolean;
3843
3879
  nestedExtensionFieldPath?: string;
3844
3880
  filterable?: boolean;
3881
+ nestedExtensionPointMappings: $responses.wix.coreservices.businessschema.v1.INestedExtensionPointMapping[];
3845
3882
  }
3846
3883
  export class Extensible implements IExtensible {
3847
3884
  constructor(data?: IExtensible);
3848
3885
  rootExtensionEnabled: boolean;
3849
3886
  nestedExtensionFieldPath?: string;
3850
3887
  filterable?: boolean;
3888
+ nestedExtensionPointMappings: $responses.wix.coreservices.businessschema.v1.INestedExtensionPointMapping[];
3889
+ static __$$generatedFromProtobuf$$__: Symbol;
3890
+ }
3891
+ export interface INestedExtensionPointMapping {
3892
+ extensionPoint: string;
3893
+ path: string;
3894
+ }
3895
+ export class NestedExtensionPointMapping implements INestedExtensionPointMapping {
3896
+ constructor(data?: INestedExtensionPointMapping);
3897
+ extensionPoint: string;
3898
+ path: string;
3851
3899
  static __$$generatedFromProtobuf$$__: Symbol;
3852
3900
  }
3853
3901
  export interface ISpiInfo {
@@ -112,6 +112,7 @@ declare namespace $wrapper {
112
112
  segment?: ($wrapper.wix.coreservices.businessschema.v1.Segment.Segment | null);
113
113
  domainEventsSettings?: ($wrapper.wix.coreservices.businessschema.v1.IDomainEventsSettings | null);
114
114
  queryOptions?: ($wrapper.wix.coreservices.businessschema.v1.IQueryOptions | null);
115
+ taggable?: ($wrapper.wix.coreservices.businessschema.v1.ITaggable | null);
115
116
  }
116
117
  export class EntityInfo implements IEntityInfo {
117
118
  constructor(data?: IEntityInfo);
@@ -140,6 +141,17 @@ declare namespace $wrapper {
140
141
  segment?: ($wrapper.wix.coreservices.businessschema.v1.Segment.Segment | null);
141
142
  domainEventsSettings?: ($wrapper.wix.coreservices.businessschema.v1.IDomainEventsSettings | null);
142
143
  queryOptions?: ($wrapper.wix.coreservices.businessschema.v1.IQueryOptions | null);
144
+ taggable?: ($wrapper.wix.coreservices.businessschema.v1.ITaggable | null);
145
+ static __$$generatedFromProtobuf$$__: Symbol;
146
+ }
147
+ export interface ITaggable {
148
+ tags?: (boolean | null);
149
+ privateTags?: (boolean | null);
150
+ }
151
+ export class Taggable implements ITaggable {
152
+ constructor(data?: ITaggable);
153
+ tags?: (boolean | null);
154
+ privateTags?: (boolean | null);
143
155
  static __$$generatedFromProtobuf$$__: Symbol;
144
156
  }
145
157
  export interface IQueryOptions {
@@ -188,12 +200,24 @@ declare namespace $wrapper {
188
200
  rootExtensionEnabled?: (boolean | null);
189
201
  nestedExtensionFieldPath?: (string | null);
190
202
  filterable?: (boolean | null);
203
+ nestedExtensionPointMappings?: ($wrapper.wix.coreservices.businessschema.v1.INestedExtensionPointMapping[] | null);
191
204
  }
192
205
  export class Extensible implements IExtensible {
193
206
  constructor(data?: IExtensible);
194
207
  rootExtensionEnabled?: (boolean | null);
195
208
  nestedExtensionFieldPath?: (string | null);
196
209
  filterable?: (boolean | null);
210
+ nestedExtensionPointMappings?: ($wrapper.wix.coreservices.businessschema.v1.INestedExtensionPointMapping[] | null);
211
+ static __$$generatedFromProtobuf$$__: Symbol;
212
+ }
213
+ export interface INestedExtensionPointMapping {
214
+ extensionPoint?: (string | null);
215
+ path?: (string | null);
216
+ }
217
+ export class NestedExtensionPointMapping implements INestedExtensionPointMapping {
218
+ constructor(data?: INestedExtensionPointMapping);
219
+ extensionPoint?: (string | null);
220
+ path?: (string | null);
197
221
  static __$$generatedFromProtobuf$$__: Symbol;
198
222
  }
199
223
  export interface ISpiInfo {
@@ -10,7 +10,7 @@ $root.__options = {
10
10
  'stringLongs': true,
11
11
  'stdCase': false,
12
12
  'generatorVersion': '2.0.1156',
13
- 'contentHash': 'c20686ea0bca33c402700fd39d33e3b9f8dc80cd'
13
+ 'contentHash': '94d5d1bd3d7dfb9f41a42d4712581e2df3a452c0'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -360,6 +360,29 @@ $root.__lookup = function (pbjs) {
360
360
  'id': 25,
361
361
  'comment': null,
362
362
  'parsedOptions': null
363
+ },
364
+ 'taggable': {
365
+ 'type': 'Taggable',
366
+ 'id': 26,
367
+ 'comment': null,
368
+ 'parsedOptions': null
369
+ }
370
+ },
371
+ 'comment': null
372
+ },
373
+ 'Taggable': {
374
+ 'fields': {
375
+ 'tags': {
376
+ 'type': 'bool',
377
+ 'id': 1,
378
+ 'comment': null,
379
+ 'parsedOptions': null
380
+ },
381
+ 'privateTags': {
382
+ 'type': 'bool',
383
+ 'id': 2,
384
+ 'comment': null,
385
+ 'parsedOptions': null
363
386
  }
364
387
  },
365
388
  'comment': null
@@ -482,14 +505,71 @@ $root.__lookup = function (pbjs) {
482
505
  'nestedExtensionFieldPath': {
483
506
  'type': 'google.protobuf.StringValue',
484
507
  'id': 2,
508
+ 'options': {
509
+ 'deprecated': true,
510
+ '(.wix.api.field_deprecated).replaced_by': 'nested_extension_point_mappings',
511
+ '(.wix.api.field_deprecated).target_removal_date': '2024-11-01',
512
+ '(.wix.api.field_deprecated)': {
513
+ 'replaced_by': 'nested_extension_point_mappings',
514
+ 'target_removal_date': '2024-11-01'
515
+ }
516
+ },
485
517
  'comment': null,
486
- 'parsedOptions': null
518
+ 'parsedOptions': [
519
+ {
520
+ 'deprecated': true,
521
+ '__comment': null
522
+ },
523
+ {
524
+ '(.wix.api.field_deprecated)': {
525
+ 'replaced_by': 'nested_extension_point_mappings',
526
+ 'target_removal_date': '2024-11-01'
527
+ },
528
+ '__comment': null
529
+ }
530
+ ]
487
531
  },
488
532
  'filterable': {
489
533
  'type': 'google.protobuf.BoolValue',
490
534
  'id': 3,
491
535
  'comment': null,
492
536
  'parsedOptions': null
537
+ },
538
+ 'nestedExtensionPointMappings': {
539
+ 'rule': 'repeated',
540
+ 'type': 'NestedExtensionPointMapping',
541
+ 'id': 4,
542
+ 'options': { '(wix.api.maxSize)': 100 },
543
+ 'comment': null,
544
+ 'parsedOptions': [{
545
+ '(wix.api.maxSize)': 100,
546
+ '__comment': null
547
+ }]
548
+ }
549
+ },
550
+ 'comment': null
551
+ },
552
+ 'NestedExtensionPointMapping': {
553
+ 'fields': {
554
+ 'extensionPoint': {
555
+ 'type': 'string',
556
+ 'id': 1,
557
+ 'options': { '(wix.api.maxLength)': 1000 },
558
+ 'comment': null,
559
+ 'parsedOptions': [{
560
+ '(wix.api.maxLength)': 1000,
561
+ '__comment': null
562
+ }]
563
+ },
564
+ 'path': {
565
+ 'type': 'string',
566
+ 'id': 2,
567
+ 'options': { '(wix.api.maxLength)': 1000 },
568
+ 'comment': null,
569
+ 'parsedOptions': [{
570
+ '(wix.api.maxLength)': 1000,
571
+ '__comment': null
572
+ }]
493
573
  }
494
574
  },
495
575
  'comment': null
@@ -10115,6 +10195,7 @@ $root.wix = (function () {
10115
10195
  this.segment = props && props.segment;
10116
10196
  this.domainEventsSettings = props && props.domainEventsSettings;
10117
10197
  this.queryOptions = props && props.queryOptions;
10198
+ this.taggable = props && props.taggable;
10118
10199
  }
10119
10200
  static toJSON(obj, helper, withDefaults) {
10120
10201
  if (obj == null) {
@@ -10256,6 +10337,11 @@ $root.wix = (function () {
10256
10337
  } else if (withDefaults) {
10257
10338
  delete json['queryOptions'];
10258
10339
  }
10340
+ if (obj['taggable'] != null) {
10341
+ json['taggable'] = $root.wix.coreservices.businessschema.v1.Taggable.toJSON(obj['taggable'], helper, withDefaults);
10342
+ } else if (withDefaults) {
10343
+ delete json['taggable'];
10344
+ }
10259
10345
  return json;
10260
10346
  }
10261
10347
  }
@@ -10447,6 +10533,13 @@ $root.wix = (function () {
10447
10533
  } else {
10448
10534
  delete result['queryOptions'];
10449
10535
  }
10536
+ if (json['taggable'] != null) {
10537
+ result['taggable'] = $root.wix.coreservices.businessschema.v1.Taggable.fromJSON(json['taggable'], helper);
10538
+ } else if (withDefaults !== false) {
10539
+ delete result['taggable'];
10540
+ } else {
10541
+ delete result['taggable'];
10542
+ }
10450
10543
  return result;
10451
10544
  } else
10452
10545
  return json;
@@ -10541,6 +10634,9 @@ $root.wix = (function () {
10541
10634
  if (obj['queryOptions'] != null) {
10542
10635
  grpc['queryOptions'] = $root.wix.coreservices.businessschema.v1.QueryOptions.toGRPC(obj['queryOptions'], helper);
10543
10636
  }
10637
+ if (obj['taggable'] != null) {
10638
+ grpc['taggable'] = $root.wix.coreservices.businessschema.v1.Taggable.toGRPC(obj['taggable'], helper);
10639
+ }
10544
10640
  return grpc;
10545
10641
  }
10546
10642
  }
@@ -10684,6 +10780,11 @@ $root.wix = (function () {
10684
10780
  } else {
10685
10781
  delete result['queryOptions'];
10686
10782
  }
10783
+ if (grpc['taggable'] != null) {
10784
+ result['taggable'] = $root.wix.coreservices.businessschema.v1.Taggable.fromGRPC(grpc['taggable'], helper);
10785
+ } else {
10786
+ delete result['taggable'];
10787
+ }
10687
10788
  return result;
10688
10789
  }
10689
10790
  }
@@ -10712,6 +10813,108 @@ $root.wix = (function () {
10712
10813
  });
10713
10814
  return EntityInfo;
10714
10815
  }());;
10816
+ _v1.Taggable = (function () {
10817
+ class Taggable {
10818
+ constructor(props) {
10819
+ this.tags = props && props.tags;
10820
+ this.privateTags = props && props.privateTags;
10821
+ }
10822
+ static toJSON(obj, helper, withDefaults) {
10823
+ if (obj == null) {
10824
+ return null;
10825
+ } else {
10826
+ const json = {};
10827
+ if (obj['tags'] != null) {
10828
+ json['tags'] = obj['tags'];
10829
+ } else if (withDefaults) {
10830
+ json['tags'] = false;
10831
+ }
10832
+ if (obj['privateTags'] != null) {
10833
+ json['privateTags'] = obj['privateTags'];
10834
+ } else if (withDefaults) {
10835
+ json['privateTags'] = false;
10836
+ }
10837
+ return json;
10838
+ }
10839
+ }
10840
+ static fromJSON(json, helper, withDefaults) {
10841
+ if (typeof json === 'object' && !Array.isArray(json)) {
10842
+ const result = new $root.wix.coreservices.businessschema.v1.Taggable();
10843
+ if (json['tags'] != null) {
10844
+ result['tags'] = json['tags'];
10845
+ } else if (withDefaults !== false) {
10846
+ result['tags'] = false;
10847
+ } else {
10848
+ delete result['tags'];
10849
+ }
10850
+ if (json['privateTags'] != null) {
10851
+ result['privateTags'] = json['privateTags'];
10852
+ } else if (withDefaults !== false) {
10853
+ result['privateTags'] = false;
10854
+ } else {
10855
+ delete result['privateTags'];
10856
+ }
10857
+ return result;
10858
+ } else
10859
+ return json;
10860
+ }
10861
+ static toGRPC(obj, helper) {
10862
+ if (obj == null) {
10863
+ return null;
10864
+ } else {
10865
+ const grpc = {};
10866
+ if (obj['tags'] != null) {
10867
+ grpc['tags'] = obj['tags'];
10868
+ }
10869
+ if (obj['privateTags'] != null) {
10870
+ grpc['privateTags'] = obj['privateTags'];
10871
+ }
10872
+ return grpc;
10873
+ }
10874
+ }
10875
+ static fromGRPC(grpc, helper) {
10876
+ if (grpc == null) {
10877
+ return null;
10878
+ } else {
10879
+ const result = new $root.wix.coreservices.businessschema.v1.Taggable();
10880
+ if (grpc['tags'] != null) {
10881
+ result['tags'] = grpc['tags'];
10882
+ } else {
10883
+ result['tags'] = false;
10884
+ }
10885
+ if (grpc['privateTags'] != null) {
10886
+ result['privateTags'] = grpc['privateTags'];
10887
+ } else {
10888
+ result['privateTags'] = false;
10889
+ }
10890
+ return result;
10891
+ }
10892
+ }
10893
+ }
10894
+ __builtIn.Object.defineProperty(Taggable.prototype, '__proto', {
10895
+ value: pbjs => {
10896
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.Taggable');
10897
+ },
10898
+ enumerable: false,
10899
+ configurable: false
10900
+ });
10901
+ __builtIn.Object.defineProperty(Taggable.prototype, '__fqn__', {
10902
+ value: 'wix.coreservices.businessschema.v1.Taggable',
10903
+ enumerable: false,
10904
+ configurable: false
10905
+ });
10906
+ __builtIn.Object.defineProperty(Taggable.prototype, '__options__', {
10907
+ value: $root.__options,
10908
+ enumerable: false,
10909
+ configurable: false
10910
+ });
10911
+ __builtIn.Object.defineProperty(Taggable.prototype, '__root__', {
10912
+ value: $root,
10913
+ enumerable: false,
10914
+ configurable: false
10915
+ });
10916
+ return Taggable;
10917
+ }());;
10715
10918
  _v1.QueryOptions = (function () {
10716
10919
  class QueryOptions {
10717
10920
  constructor(props) {
@@ -11179,6 +11382,7 @@ $root.wix = (function () {
11179
11382
  this.rootExtensionEnabled = props && props.rootExtensionEnabled;
11180
11383
  this.nestedExtensionFieldPath = props && props.nestedExtensionFieldPath;
11181
11384
  this.filterable = props && props.filterable;
11385
+ this.nestedExtensionPointMappings = props && props.nestedExtensionPointMappings;
11182
11386
  }
11183
11387
  static toJSON(obj, helper, withDefaults) {
11184
11388
  if (obj == null) {
@@ -11200,6 +11404,13 @@ $root.wix = (function () {
11200
11404
  } else if (withDefaults) {
11201
11405
  delete json['filterable'];
11202
11406
  }
11407
+ if (obj['nestedExtensionPointMappings'] != null) {
11408
+ json['nestedExtensionPointMappings'] = obj['nestedExtensionPointMappings'].map(e => {
11409
+ return $root.wix.coreservices.businessschema.v1.NestedExtensionPointMapping.toJSON(e, helper, withDefaults);
11410
+ });
11411
+ } else if (withDefaults) {
11412
+ json['nestedExtensionPointMappings'] = [];
11413
+ }
11203
11414
  return json;
11204
11415
  }
11205
11416
  }
@@ -11227,6 +11438,15 @@ $root.wix = (function () {
11227
11438
  } else {
11228
11439
  delete result['filterable'];
11229
11440
  }
11441
+ if (json['nestedExtensionPointMappings'] != null) {
11442
+ result['nestedExtensionPointMappings'] = Array.isArray(json['nestedExtensionPointMappings']) ? json['nestedExtensionPointMappings'].map(e => {
11443
+ return $root.wix.coreservices.businessschema.v1.NestedExtensionPointMapping.fromJSON(e, helper);
11444
+ }) : json['nestedExtensionPointMappings'];
11445
+ } else if (withDefaults !== false) {
11446
+ result['nestedExtensionPointMappings'] = [];
11447
+ } else {
11448
+ delete result['nestedExtensionPointMappings'];
11449
+ }
11230
11450
  return result;
11231
11451
  } else
11232
11452
  return json;
@@ -11245,6 +11465,11 @@ $root.wix = (function () {
11245
11465
  if (obj['filterable'] != null) {
11246
11466
  grpc['filterable'] = $root.google.protobuf.BoolValue.toGRPC(obj['filterable'], helper);
11247
11467
  }
11468
+ if (obj['nestedExtensionPointMappings'] != null) {
11469
+ grpc['nestedExtensionPointMappings'] = obj['nestedExtensionPointMappings'].map(e => {
11470
+ return $root.wix.coreservices.businessschema.v1.NestedExtensionPointMapping.toGRPC(e, helper);
11471
+ });
11472
+ }
11248
11473
  return grpc;
11249
11474
  }
11250
11475
  }
@@ -11268,6 +11493,13 @@ $root.wix = (function () {
11268
11493
  } else {
11269
11494
  delete result['filterable'];
11270
11495
  }
11496
+ if (grpc['nestedExtensionPointMappings'] != null) {
11497
+ result['nestedExtensionPointMappings'] = grpc['nestedExtensionPointMappings'].map(e => {
11498
+ return $root.wix.coreservices.businessschema.v1.NestedExtensionPointMapping.fromGRPC(e, helper);
11499
+ });
11500
+ } else {
11501
+ result['nestedExtensionPointMappings'] = [];
11502
+ }
11271
11503
  return result;
11272
11504
  }
11273
11505
  }
@@ -11296,6 +11528,108 @@ $root.wix = (function () {
11296
11528
  });
11297
11529
  return Extensible;
11298
11530
  }());;
11531
+ _v1.NestedExtensionPointMapping = (function () {
11532
+ class NestedExtensionPointMapping {
11533
+ constructor(props) {
11534
+ this.extensionPoint = props && props.extensionPoint;
11535
+ this.path = props && props.path;
11536
+ }
11537
+ static toJSON(obj, helper, withDefaults) {
11538
+ if (obj == null) {
11539
+ return null;
11540
+ } else {
11541
+ const json = {};
11542
+ if (obj['extensionPoint'] != null) {
11543
+ json['extensionPoint'] = obj['extensionPoint'];
11544
+ } else if (withDefaults) {
11545
+ json['extensionPoint'] = '';
11546
+ }
11547
+ if (obj['path'] != null) {
11548
+ json['path'] = obj['path'];
11549
+ } else if (withDefaults) {
11550
+ json['path'] = '';
11551
+ }
11552
+ return json;
11553
+ }
11554
+ }
11555
+ static fromJSON(json, helper, withDefaults) {
11556
+ if (typeof json === 'object' && !Array.isArray(json)) {
11557
+ const result = new $root.wix.coreservices.businessschema.v1.NestedExtensionPointMapping();
11558
+ if (json['extensionPoint'] != null) {
11559
+ result['extensionPoint'] = json['extensionPoint'];
11560
+ } else if (withDefaults !== false) {
11561
+ result['extensionPoint'] = '';
11562
+ } else {
11563
+ delete result['extensionPoint'];
11564
+ }
11565
+ if (json['path'] != null) {
11566
+ result['path'] = json['path'];
11567
+ } else if (withDefaults !== false) {
11568
+ result['path'] = '';
11569
+ } else {
11570
+ delete result['path'];
11571
+ }
11572
+ return result;
11573
+ } else
11574
+ return json;
11575
+ }
11576
+ static toGRPC(obj, helper) {
11577
+ if (obj == null) {
11578
+ return null;
11579
+ } else {
11580
+ const grpc = {};
11581
+ if (obj['extensionPoint'] != null) {
11582
+ grpc['extensionPoint'] = obj['extensionPoint'];
11583
+ }
11584
+ if (obj['path'] != null) {
11585
+ grpc['path'] = obj['path'];
11586
+ }
11587
+ return grpc;
11588
+ }
11589
+ }
11590
+ static fromGRPC(grpc, helper) {
11591
+ if (grpc == null) {
11592
+ return null;
11593
+ } else {
11594
+ const result = new $root.wix.coreservices.businessschema.v1.NestedExtensionPointMapping();
11595
+ if (grpc['extensionPoint'] != null) {
11596
+ result['extensionPoint'] = grpc['extensionPoint'];
11597
+ } else {
11598
+ result['extensionPoint'] = '';
11599
+ }
11600
+ if (grpc['path'] != null) {
11601
+ result['path'] = grpc['path'];
11602
+ } else {
11603
+ result['path'] = '';
11604
+ }
11605
+ return result;
11606
+ }
11607
+ }
11608
+ }
11609
+ __builtIn.Object.defineProperty(NestedExtensionPointMapping.prototype, '__proto', {
11610
+ value: pbjs => {
11611
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.NestedExtensionPointMapping');
11612
+ },
11613
+ enumerable: false,
11614
+ configurable: false
11615
+ });
11616
+ __builtIn.Object.defineProperty(NestedExtensionPointMapping.prototype, '__fqn__', {
11617
+ value: 'wix.coreservices.businessschema.v1.NestedExtensionPointMapping',
11618
+ enumerable: false,
11619
+ configurable: false
11620
+ });
11621
+ __builtIn.Object.defineProperty(NestedExtensionPointMapping.prototype, '__options__', {
11622
+ value: $root.__options,
11623
+ enumerable: false,
11624
+ configurable: false
11625
+ });
11626
+ __builtIn.Object.defineProperty(NestedExtensionPointMapping.prototype, '__root__', {
11627
+ value: $root,
11628
+ enumerable: false,
11629
+ configurable: false
11630
+ });
11631
+ return NestedExtensionPointMapping;
11632
+ }());;
11299
11633
  _v1.SpiInfo = (function () {
11300
11634
  class SpiInfo {
11301
11635
  constructor(props) {