@wix/metro-common-builders 1.0.1087 → 1.0.1089

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.
@@ -777,6 +777,7 @@ declare namespace $requests {
777
777
  FORMAT = "FORMAT",
778
778
  READ_ONLY = "READ_ONLY",
779
779
  DECIMAL_VALUE = "DECIMAL_VALUE",
780
+ IMMUTABLE = "IMMUTABLE",
780
781
  }
781
782
  }
782
783
  export interface IUniqueCombination {
@@ -970,10 +971,12 @@ declare namespace $requests {
970
971
  }
971
972
  export interface ITriggerProtoArtifactRequest {
972
973
  protoArtifactId?: string;
974
+ fqdns?: string[];
973
975
  }
974
976
  export class TriggerProtoArtifactRequest implements ITriggerProtoArtifactRequest {
975
977
  constructor(data?: ITriggerProtoArtifactRequest);
976
978
  protoArtifactId?: string;
979
+ fqdns?: string[];
977
980
  static __$$generatedFromProtobuf$$__: Symbol;
978
981
  }
979
982
  export interface ITriggerProtoArtifactResponse {
@@ -1750,6 +1753,18 @@ declare namespace $requests {
1750
1753
  cursorPaging?: $requests.wix.common.ICursorPaging;
1751
1754
  static __$$generatedFromProtobuf$$__: Symbol;
1752
1755
  }
1756
+ export interface ICursorQuery {
1757
+ filter?: { [key: string]: any };
1758
+ sort?: $requests.wix.common.ISorting[];
1759
+ cursorPaging?: $requests.wix.common.ICursorPaging;
1760
+ }
1761
+ export class CursorQuery implements ICursorQuery {
1762
+ constructor(data?: ICursorQuery);
1763
+ filter?: { [key: string]: any };
1764
+ sort?: $requests.wix.common.ISorting[];
1765
+ cursorPaging?: $requests.wix.common.ICursorPaging;
1766
+ static __$$generatedFromProtobuf$$__: Symbol;
1767
+ }
1753
1768
  export interface ISearch {
1754
1769
  filter?: { [key: string]: any };
1755
1770
  sort?: $requests.wix.common.ISorting[];
@@ -3444,6 +3459,7 @@ declare namespace $responses {
3444
3459
  FORMAT = "FORMAT",
3445
3460
  READ_ONLY = "READ_ONLY",
3446
3461
  DECIMAL_VALUE = "DECIMAL_VALUE",
3462
+ IMMUTABLE = "IMMUTABLE",
3447
3463
  }
3448
3464
  }
3449
3465
  export interface IUniqueCombination {
@@ -3637,10 +3653,12 @@ declare namespace $responses {
3637
3653
  }
3638
3654
  export interface ITriggerProtoArtifactRequest {
3639
3655
  protoArtifactId: string;
3656
+ fqdns: string[];
3640
3657
  }
3641
3658
  export class TriggerProtoArtifactRequest implements ITriggerProtoArtifactRequest {
3642
3659
  constructor(data?: ITriggerProtoArtifactRequest);
3643
3660
  protoArtifactId: string;
3661
+ fqdns: string[];
3644
3662
  static __$$generatedFromProtobuf$$__: Symbol;
3645
3663
  }
3646
3664
  export interface ITriggerProtoArtifactResponse {
@@ -4417,6 +4435,18 @@ declare namespace $responses {
4417
4435
  cursorPaging?: $responses.wix.common.ICursorPaging;
4418
4436
  static __$$generatedFromProtobuf$$__: Symbol;
4419
4437
  }
4438
+ export interface ICursorQuery {
4439
+ filter?: { [key: string]: any };
4440
+ sort: $responses.wix.common.ISorting[];
4441
+ cursorPaging?: $responses.wix.common.ICursorPaging;
4442
+ }
4443
+ export class CursorQuery implements ICursorQuery {
4444
+ constructor(data?: ICursorQuery);
4445
+ filter?: { [key: string]: any };
4446
+ sort: $responses.wix.common.ISorting[];
4447
+ cursorPaging?: $responses.wix.common.ICursorPaging;
4448
+ static __$$generatedFromProtobuf$$__: Symbol;
4449
+ }
4420
4450
  export interface ISearch {
4421
4451
  filter?: { [key: string]: any };
4422
4452
  sort: $responses.wix.common.ISorting[];
@@ -777,6 +777,7 @@ declare namespace $wrapper {
777
777
  FORMAT = "FORMAT",
778
778
  READ_ONLY = "READ_ONLY",
779
779
  DECIMAL_VALUE = "DECIMAL_VALUE",
780
+ IMMUTABLE = "IMMUTABLE",
780
781
  }
781
782
  }
782
783
  export interface IUniqueCombination {
@@ -983,10 +984,12 @@ declare namespace $wrapper {
983
984
  }
984
985
  export interface ITriggerProtoArtifactRequest {
985
986
  protoArtifactId?: (string | null);
987
+ fqdns?: (string[] | null);
986
988
  }
987
989
  export class TriggerProtoArtifactRequest implements ITriggerProtoArtifactRequest {
988
990
  constructor(data?: ITriggerProtoArtifactRequest);
989
991
  protoArtifactId?: (string | null);
992
+ fqdns?: (string[] | null);
990
993
  static __$$generatedFromProtobuf$$__: Symbol;
991
994
  }
992
995
  export interface ITriggerProtoArtifactResponse {
@@ -1763,6 +1766,18 @@ declare namespace $wrapper {
1763
1766
  cursorPaging?: ($wrapper.wix.common.ICursorPaging | null);
1764
1767
  static __$$generatedFromProtobuf$$__: Symbol;
1765
1768
  }
1769
+ export interface ICursorQuery {
1770
+ filter?: ({ [key: string]: any } | null);
1771
+ sort?: ($wrapper.wix.common.ISorting[] | null);
1772
+ cursorPaging?: ($wrapper.wix.common.ICursorPaging | null);
1773
+ }
1774
+ export class CursorQuery implements ICursorQuery {
1775
+ constructor(data?: ICursorQuery);
1776
+ filter?: ({ [key: string]: any } | null);
1777
+ sort?: ($wrapper.wix.common.ISorting[] | null);
1778
+ cursorPaging?: ($wrapper.wix.common.ICursorPaging | null);
1779
+ static __$$generatedFromProtobuf$$__: Symbol;
1780
+ }
1766
1781
  export interface ISearch {
1767
1782
  filter?: ({ [key: string]: any } | null);
1768
1783
  sort?: ($wrapper.wix.common.ISorting[] | null);
@@ -10,7 +10,7 @@ $root.__options = {
10
10
  'stringLongs': true,
11
11
  'stdCase': false,
12
12
  'generatorVersion': '2.0.1086',
13
- 'contentHash': 'fa33a314a769f19670e8f509775f1ff6b3a1b3ec'
13
+ 'contentHash': 'c8c82afda42370c48981bb0375831ae653eb1a3a'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -1762,7 +1762,8 @@ $root.__lookup = function (pbjs) {
1762
1762
  'MIN_SIZE': 6,
1763
1763
  'FORMAT': 7,
1764
1764
  'READ_ONLY': 8,
1765
- 'DECIMAL_VALUE': 9
1765
+ 'DECIMAL_VALUE': 9,
1766
+ 'IMMUTABLE': 10
1766
1767
  },
1767
1768
  'comment': null,
1768
1769
  'comments': {
@@ -1775,7 +1776,8 @@ $root.__lookup = function (pbjs) {
1775
1776
  'MIN_SIZE': null,
1776
1777
  'FORMAT': null,
1777
1778
  'READ_ONLY': null,
1778
- 'DECIMAL_VALUE': null
1779
+ 'DECIMAL_VALUE': null,
1780
+ 'IMMUTABLE': null
1779
1781
  }
1780
1782
  }
1781
1783
  },
@@ -2284,6 +2286,26 @@ $root.__lookup = function (pbjs) {
2284
2286
  'id': 1,
2285
2287
  'comment': null,
2286
2288
  'parsedOptions': null
2289
+ },
2290
+ 'fqdns': {
2291
+ 'rule': 'repeated',
2292
+ 'type': 'string',
2293
+ 'id': 2,
2294
+ 'options': {
2295
+ '(wix.api.minSize)': 0,
2296
+ '(wix.api.maxSize)': 10
2297
+ },
2298
+ 'comment': null,
2299
+ 'parsedOptions': [
2300
+ {
2301
+ '(wix.api.minSize)': 0,
2302
+ '__comment': null
2303
+ },
2304
+ {
2305
+ '(wix.api.maxSize)': 10,
2306
+ '__comment': null
2307
+ }
2308
+ ]
2287
2309
  }
2288
2310
  },
2289
2311
  'comment': null
@@ -4239,6 +4261,51 @@ $root.__lookup = function (pbjs) {
4239
4261
  },
4240
4262
  'comment': null
4241
4263
  },
4264
+ 'CursorQuery': {
4265
+ 'options': { '(.wix.api.decomposite_of)': 'wix.common.QueryV2' },
4266
+ 'oneofs': {
4267
+ 'pagingMethod': {
4268
+ 'oneof': ['cursorPaging'],
4269
+ 'comment': null
4270
+ }
4271
+ },
4272
+ 'fields': {
4273
+ 'filter': {
4274
+ 'type': 'google.protobuf.Struct',
4275
+ 'id': 1,
4276
+ 'comment': null,
4277
+ 'parsedOptions': null
4278
+ },
4279
+ 'sort': {
4280
+ 'rule': 'repeated',
4281
+ 'type': 'Sorting',
4282
+ 'id': 2,
4283
+ 'comment': null,
4284
+ 'parsedOptions': null
4285
+ },
4286
+ 'cursorPaging': {
4287
+ 'type': 'CursorPaging',
4288
+ 'id': 6,
4289
+ 'comment': null,
4290
+ 'parsedOptions': null
4291
+ }
4292
+ },
4293
+ 'reserved': [
4294
+ [
4295
+ 3,
4296
+ 3
4297
+ ],
4298
+ [
4299
+ 4,
4300
+ 4
4301
+ ],
4302
+ [
4303
+ 5,
4304
+ 5
4305
+ ]
4306
+ ],
4307
+ 'comment': null
4308
+ },
4242
4309
  'Search': {
4243
4310
  'options': {
4244
4311
  '(.wix.api.decomposition_minimum_fields).field': 'cursor_paging',
@@ -14983,7 +15050,9 @@ $root.wix = (function () {
14983
15050
  'READ_ONLY': 'READ_ONLY',
14984
15051
  8: 'READ_ONLY',
14985
15052
  'DECIMAL_VALUE': 'DECIMAL_VALUE',
14986
- 9: 'DECIMAL_VALUE'
15053
+ 9: 'DECIMAL_VALUE',
15054
+ 'IMMUTABLE': 'IMMUTABLE',
15055
+ 10: 'IMMUTABLE'
14987
15056
  };
14988
15057
  Validation.Type = {
14989
15058
  'CUSTOM': 'CUSTOM',
@@ -15005,7 +15074,9 @@ $root.wix = (function () {
15005
15074
  'READ_ONLY': 'READ_ONLY',
15006
15075
  8: 'READ_ONLY',
15007
15076
  'DECIMAL_VALUE': 'DECIMAL_VALUE',
15008
- 9: 'DECIMAL_VALUE'
15077
+ 9: 'DECIMAL_VALUE',
15078
+ 'IMMUTABLE': 'IMMUTABLE',
15079
+ 10: 'IMMUTABLE'
15009
15080
  };
15010
15081
  __builtIn.Object.defineProperty(Validation.prototype, '__proto', {
15011
15082
  value: pbjs => {
@@ -16986,6 +17057,7 @@ $root.wix = (function () {
16986
17057
  class TriggerProtoArtifactRequest {
16987
17058
  constructor(props) {
16988
17059
  this.protoArtifactId = props && props.protoArtifactId;
17060
+ this.fqdns = props && props.fqdns;
16989
17061
  }
16990
17062
  static toJSON(obj, helper, withDefaults) {
16991
17063
  if (obj == null) {
@@ -16997,6 +17069,13 @@ $root.wix = (function () {
16997
17069
  } else if (withDefaults) {
16998
17070
  json['protoArtifactId'] = '';
16999
17071
  }
17072
+ if (obj['fqdns'] != null) {
17073
+ json['fqdns'] = obj['fqdns'].map(e => {
17074
+ return e;
17075
+ });
17076
+ } else if (withDefaults) {
17077
+ json['fqdns'] = [];
17078
+ }
17000
17079
  return json;
17001
17080
  }
17002
17081
  }
@@ -17010,6 +17089,15 @@ $root.wix = (function () {
17010
17089
  } else {
17011
17090
  delete result['protoArtifactId'];
17012
17091
  }
17092
+ if (json['fqdns'] != null) {
17093
+ result['fqdns'] = Array.isArray(json['fqdns']) ? json['fqdns'].map(e => {
17094
+ return e;
17095
+ }) : json['fqdns'];
17096
+ } else if (withDefaults !== false) {
17097
+ result['fqdns'] = [];
17098
+ } else {
17099
+ delete result['fqdns'];
17100
+ }
17013
17101
  return result;
17014
17102
  } else
17015
17103
  return json;
@@ -17022,6 +17110,11 @@ $root.wix = (function () {
17022
17110
  if (obj['protoArtifactId'] != null) {
17023
17111
  grpc['protoArtifactId'] = obj['protoArtifactId'];
17024
17112
  }
17113
+ if (obj['fqdns'] != null) {
17114
+ grpc['fqdns'] = obj['fqdns'].map(e => {
17115
+ return e;
17116
+ });
17117
+ }
17025
17118
  return grpc;
17026
17119
  }
17027
17120
  }
@@ -17035,6 +17128,13 @@ $root.wix = (function () {
17035
17128
  } else {
17036
17129
  result['protoArtifactId'] = '';
17037
17130
  }
17131
+ if (grpc['fqdns'] != null) {
17132
+ result['fqdns'] = grpc['fqdns'].map(e => {
17133
+ return e;
17134
+ });
17135
+ } else {
17136
+ result['fqdns'] = [];
17137
+ }
17038
17138
  return result;
17039
17139
  }
17040
17140
  }
@@ -24426,6 +24526,137 @@ $root.wix = (function () {
24426
24526
  });
24427
24527
  return QueryV2;
24428
24528
  }());;
24529
+ _common.CursorQuery = (function () {
24530
+ class CursorQuery {
24531
+ constructor(props) {
24532
+ this.filter = props && props.filter;
24533
+ this.sort = props && props.sort;
24534
+ this.cursorPaging = props && props.cursorPaging;
24535
+ }
24536
+ static toJSON(obj, helper, withDefaults) {
24537
+ if (obj == null) {
24538
+ return null;
24539
+ } else {
24540
+ const json = {};
24541
+ if (obj['filter'] != null) {
24542
+ json['filter'] = $root.google.protobuf.Struct.toJSON(obj['filter'], helper, withDefaults);
24543
+ } else if (withDefaults) {
24544
+ delete json['filter'];
24545
+ }
24546
+ if (obj['sort'] != null) {
24547
+ json['sort'] = obj['sort'].map(e => {
24548
+ return $root.wix.common.Sorting.toJSON(e, helper, withDefaults);
24549
+ });
24550
+ } else if (withDefaults) {
24551
+ json['sort'] = [];
24552
+ }
24553
+ if (obj['cursorPaging'] != null) {
24554
+ json['cursorPaging'] = $root.wix.common.CursorPaging.toJSON(obj['cursorPaging'], helper, withDefaults);
24555
+ } else if (withDefaults) {
24556
+ delete json['cursorPaging'];
24557
+ }
24558
+ return json;
24559
+ }
24560
+ }
24561
+ static fromJSON(json, helper, withDefaults) {
24562
+ if (typeof json === 'object' && !Array.isArray(json)) {
24563
+ const result = new $root.wix.common.CursorQuery();
24564
+ if (json['filter'] != null) {
24565
+ result['filter'] = $root.google.protobuf.Struct.fromJSON(json['filter'], helper);
24566
+ } else if (withDefaults !== false) {
24567
+ delete result['filter'];
24568
+ } else {
24569
+ delete result['filter'];
24570
+ }
24571
+ if (json['sort'] != null) {
24572
+ result['sort'] = Array.isArray(json['sort']) ? json['sort'].map(e => {
24573
+ return $root.wix.common.Sorting.fromJSON(e, helper);
24574
+ }) : json['sort'];
24575
+ } else if (withDefaults !== false) {
24576
+ result['sort'] = [];
24577
+ } else {
24578
+ delete result['sort'];
24579
+ }
24580
+ if (json['cursorPaging'] != null) {
24581
+ result['cursorPaging'] = $root.wix.common.CursorPaging.fromJSON(json['cursorPaging'], helper);
24582
+ } else if (withDefaults !== false) {
24583
+ delete result['cursorPaging'];
24584
+ } else {
24585
+ delete result['cursorPaging'];
24586
+ }
24587
+ return result;
24588
+ } else
24589
+ return json;
24590
+ }
24591
+ static toGRPC(obj, helper) {
24592
+ if (obj == null) {
24593
+ return null;
24594
+ } else {
24595
+ const grpc = {};
24596
+ if (obj['filter'] != null) {
24597
+ grpc['filter'] = $root.google.protobuf.Struct.toGRPC(obj['filter'], helper);
24598
+ }
24599
+ if (obj['sort'] != null) {
24600
+ grpc['sort'] = obj['sort'].map(e => {
24601
+ return $root.wix.common.Sorting.toGRPC(e, helper);
24602
+ });
24603
+ }
24604
+ if (obj['cursorPaging'] != null) {
24605
+ grpc['cursorPaging'] = $root.wix.common.CursorPaging.toGRPC(obj['cursorPaging'], helper);
24606
+ }
24607
+ return grpc;
24608
+ }
24609
+ }
24610
+ static fromGRPC(grpc, helper) {
24611
+ if (grpc == null) {
24612
+ return null;
24613
+ } else {
24614
+ const result = new $root.wix.common.CursorQuery();
24615
+ if (grpc['filter'] != null) {
24616
+ result['filter'] = $root.google.protobuf.Struct.fromGRPC(grpc['filter'], helper);
24617
+ } else {
24618
+ delete result['filter'];
24619
+ }
24620
+ if (grpc['sort'] != null) {
24621
+ result['sort'] = grpc['sort'].map(e => {
24622
+ return $root.wix.common.Sorting.fromGRPC(e, helper);
24623
+ });
24624
+ } else {
24625
+ result['sort'] = [];
24626
+ }
24627
+ if (grpc['cursorPaging'] != null) {
24628
+ result['cursorPaging'] = $root.wix.common.CursorPaging.fromGRPC(grpc['cursorPaging'], helper);
24629
+ } else {
24630
+ delete result['cursorPaging'];
24631
+ }
24632
+ return result;
24633
+ }
24634
+ }
24635
+ }
24636
+ __builtIn.Object.defineProperty(CursorQuery.prototype, '__proto', {
24637
+ value: pbjs => {
24638
+ return $root.__lookup(pbjs)('wix.common.CursorQuery');
24639
+ },
24640
+ enumerable: false,
24641
+ configurable: false
24642
+ });
24643
+ __builtIn.Object.defineProperty(CursorQuery.prototype, '__fqn__', {
24644
+ value: 'wix.common.CursorQuery',
24645
+ enumerable: false,
24646
+ configurable: false
24647
+ });
24648
+ __builtIn.Object.defineProperty(CursorQuery.prototype, '__options__', {
24649
+ value: $root.__options,
24650
+ enumerable: false,
24651
+ configurable: false
24652
+ });
24653
+ __builtIn.Object.defineProperty(CursorQuery.prototype, '__root__', {
24654
+ value: $root,
24655
+ enumerable: false,
24656
+ configurable: false
24657
+ });
24658
+ return CursorQuery;
24659
+ }());;
24429
24660
  _common.Search = (function () {
24430
24661
  class Search {
24431
24662
  constructor(props) {
@@ -777,6 +777,7 @@ declare namespace $requests {
777
777
  FORMAT = "FORMAT",
778
778
  READ_ONLY = "READ_ONLY",
779
779
  DECIMAL_VALUE = "DECIMAL_VALUE",
780
+ IMMUTABLE = "IMMUTABLE",
780
781
  }
781
782
  }
782
783
  export interface IUniqueCombination {
@@ -970,10 +971,12 @@ declare namespace $requests {
970
971
  }
971
972
  export interface ITriggerProtoArtifactRequest {
972
973
  protoArtifactId: string;
974
+ fqdns: string[];
973
975
  }
974
976
  export class TriggerProtoArtifactRequest implements ITriggerProtoArtifactRequest {
975
977
  constructor(data?: ITriggerProtoArtifactRequest);
976
978
  protoArtifactId: string;
979
+ fqdns: string[];
977
980
  static __$$generatedFromProtobuf$$__: Symbol;
978
981
  }
979
982
  export interface ITriggerProtoArtifactResponse {
@@ -1750,6 +1753,18 @@ declare namespace $requests {
1750
1753
  cursorPaging?: $requests.wix.common.ICursorPaging;
1751
1754
  static __$$generatedFromProtobuf$$__: Symbol;
1752
1755
  }
1756
+ export interface ICursorQuery {
1757
+ filter?: { [key: string]: any };
1758
+ sort: $requests.wix.common.ISorting[];
1759
+ cursorPaging?: $requests.wix.common.ICursorPaging;
1760
+ }
1761
+ export class CursorQuery implements ICursorQuery {
1762
+ constructor(data?: ICursorQuery);
1763
+ filter?: { [key: string]: any };
1764
+ sort: $requests.wix.common.ISorting[];
1765
+ cursorPaging?: $requests.wix.common.ICursorPaging;
1766
+ static __$$generatedFromProtobuf$$__: Symbol;
1767
+ }
1753
1768
  export interface ISearch {
1754
1769
  filter?: { [key: string]: any };
1755
1770
  sort: $requests.wix.common.ISorting[];
@@ -3444,6 +3459,7 @@ declare namespace $responses {
3444
3459
  FORMAT = "FORMAT",
3445
3460
  READ_ONLY = "READ_ONLY",
3446
3461
  DECIMAL_VALUE = "DECIMAL_VALUE",
3462
+ IMMUTABLE = "IMMUTABLE",
3447
3463
  }
3448
3464
  }
3449
3465
  export interface IUniqueCombination {
@@ -3637,10 +3653,12 @@ declare namespace $responses {
3637
3653
  }
3638
3654
  export interface ITriggerProtoArtifactRequest {
3639
3655
  protoArtifactId?: string;
3656
+ fqdns?: string[];
3640
3657
  }
3641
3658
  export class TriggerProtoArtifactRequest implements ITriggerProtoArtifactRequest {
3642
3659
  constructor(data?: ITriggerProtoArtifactRequest);
3643
3660
  protoArtifactId?: string;
3661
+ fqdns?: string[];
3644
3662
  static __$$generatedFromProtobuf$$__: Symbol;
3645
3663
  }
3646
3664
  export interface ITriggerProtoArtifactResponse {
@@ -4417,6 +4435,18 @@ declare namespace $responses {
4417
4435
  cursorPaging?: $responses.wix.common.ICursorPaging;
4418
4436
  static __$$generatedFromProtobuf$$__: Symbol;
4419
4437
  }
4438
+ export interface ICursorQuery {
4439
+ filter?: { [key: string]: any };
4440
+ sort?: $responses.wix.common.ISorting[];
4441
+ cursorPaging?: $responses.wix.common.ICursorPaging;
4442
+ }
4443
+ export class CursorQuery implements ICursorQuery {
4444
+ constructor(data?: ICursorQuery);
4445
+ filter?: { [key: string]: any };
4446
+ sort?: $responses.wix.common.ISorting[];
4447
+ cursorPaging?: $responses.wix.common.ICursorPaging;
4448
+ static __$$generatedFromProtobuf$$__: Symbol;
4449
+ }
4420
4450
  export interface ISearch {
4421
4451
  filter?: { [key: string]: any };
4422
4452
  sort?: $responses.wix.common.ISorting[];
@@ -777,6 +777,7 @@ declare namespace $requests {
777
777
  FORMAT = "FORMAT",
778
778
  READ_ONLY = "READ_ONLY",
779
779
  DECIMAL_VALUE = "DECIMAL_VALUE",
780
+ IMMUTABLE = "IMMUTABLE",
780
781
  }
781
782
  }
782
783
  export interface IUniqueCombination {
@@ -970,10 +971,12 @@ declare namespace $requests {
970
971
  }
971
972
  export interface ITriggerProtoArtifactRequest {
972
973
  protoArtifactId?: string;
974
+ fqdns?: string[];
973
975
  }
974
976
  export class TriggerProtoArtifactRequest implements ITriggerProtoArtifactRequest {
975
977
  constructor(data?: ITriggerProtoArtifactRequest);
976
978
  protoArtifactId?: string;
979
+ fqdns?: string[];
977
980
  static __$$generatedFromProtobuf$$__: Symbol;
978
981
  }
979
982
  export interface ITriggerProtoArtifactResponse {
@@ -1750,6 +1753,18 @@ declare namespace $requests {
1750
1753
  cursorPaging?: $requests.wix.common.ICursorPaging;
1751
1754
  static __$$generatedFromProtobuf$$__: Symbol;
1752
1755
  }
1756
+ export interface ICursorQuery {
1757
+ filter?: { [key: string]: any };
1758
+ sort?: $requests.wix.common.ISorting[];
1759
+ cursorPaging?: $requests.wix.common.ICursorPaging;
1760
+ }
1761
+ export class CursorQuery implements ICursorQuery {
1762
+ constructor(data?: ICursorQuery);
1763
+ filter?: { [key: string]: any };
1764
+ sort?: $requests.wix.common.ISorting[];
1765
+ cursorPaging?: $requests.wix.common.ICursorPaging;
1766
+ static __$$generatedFromProtobuf$$__: Symbol;
1767
+ }
1753
1768
  export interface ISearch {
1754
1769
  filter?: { [key: string]: any };
1755
1770
  sort?: $requests.wix.common.ISorting[];
@@ -3444,6 +3459,7 @@ declare namespace $responses {
3444
3459
  FORMAT = "FORMAT",
3445
3460
  READ_ONLY = "READ_ONLY",
3446
3461
  DECIMAL_VALUE = "DECIMAL_VALUE",
3462
+ IMMUTABLE = "IMMUTABLE",
3447
3463
  }
3448
3464
  }
3449
3465
  export interface IUniqueCombination {
@@ -3637,10 +3653,12 @@ declare namespace $responses {
3637
3653
  }
3638
3654
  export interface ITriggerProtoArtifactRequest {
3639
3655
  protoArtifactId: string;
3656
+ fqdns: string[];
3640
3657
  }
3641
3658
  export class TriggerProtoArtifactRequest implements ITriggerProtoArtifactRequest {
3642
3659
  constructor(data?: ITriggerProtoArtifactRequest);
3643
3660
  protoArtifactId: string;
3661
+ fqdns: string[];
3644
3662
  static __$$generatedFromProtobuf$$__: Symbol;
3645
3663
  }
3646
3664
  export interface ITriggerProtoArtifactResponse {
@@ -4417,6 +4435,18 @@ declare namespace $responses {
4417
4435
  cursorPaging?: $responses.wix.common.ICursorPaging;
4418
4436
  static __$$generatedFromProtobuf$$__: Symbol;
4419
4437
  }
4438
+ export interface ICursorQuery {
4439
+ filter?: { [key: string]: any };
4440
+ sort: $responses.wix.common.ISorting[];
4441
+ cursorPaging?: $responses.wix.common.ICursorPaging;
4442
+ }
4443
+ export class CursorQuery implements ICursorQuery {
4444
+ constructor(data?: ICursorQuery);
4445
+ filter?: { [key: string]: any };
4446
+ sort: $responses.wix.common.ISorting[];
4447
+ cursorPaging?: $responses.wix.common.ICursorPaging;
4448
+ static __$$generatedFromProtobuf$$__: Symbol;
4449
+ }
4420
4450
  export interface ISearch {
4421
4451
  filter?: { [key: string]: any };
4422
4452
  sort: $responses.wix.common.ISorting[];
@@ -777,6 +777,7 @@ declare namespace $wrapper {
777
777
  FORMAT = "FORMAT",
778
778
  READ_ONLY = "READ_ONLY",
779
779
  DECIMAL_VALUE = "DECIMAL_VALUE",
780
+ IMMUTABLE = "IMMUTABLE",
780
781
  }
781
782
  }
782
783
  export interface IUniqueCombination {
@@ -983,10 +984,12 @@ declare namespace $wrapper {
983
984
  }
984
985
  export interface ITriggerProtoArtifactRequest {
985
986
  protoArtifactId?: (string | null);
987
+ fqdns?: (string[] | null);
986
988
  }
987
989
  export class TriggerProtoArtifactRequest implements ITriggerProtoArtifactRequest {
988
990
  constructor(data?: ITriggerProtoArtifactRequest);
989
991
  protoArtifactId?: (string | null);
992
+ fqdns?: (string[] | null);
990
993
  static __$$generatedFromProtobuf$$__: Symbol;
991
994
  }
992
995
  export interface ITriggerProtoArtifactResponse {
@@ -1763,6 +1766,18 @@ declare namespace $wrapper {
1763
1766
  cursorPaging?: ($wrapper.wix.common.ICursorPaging | null);
1764
1767
  static __$$generatedFromProtobuf$$__: Symbol;
1765
1768
  }
1769
+ export interface ICursorQuery {
1770
+ filter?: ({ [key: string]: any } | null);
1771
+ sort?: ($wrapper.wix.common.ISorting[] | null);
1772
+ cursorPaging?: ($wrapper.wix.common.ICursorPaging | null);
1773
+ }
1774
+ export class CursorQuery implements ICursorQuery {
1775
+ constructor(data?: ICursorQuery);
1776
+ filter?: ({ [key: string]: any } | null);
1777
+ sort?: ($wrapper.wix.common.ISorting[] | null);
1778
+ cursorPaging?: ($wrapper.wix.common.ICursorPaging | null);
1779
+ static __$$generatedFromProtobuf$$__: Symbol;
1780
+ }
1766
1781
  export interface ISearch {
1767
1782
  filter?: ({ [key: string]: any } | null);
1768
1783
  sort?: ($wrapper.wix.common.ISorting[] | null);
@@ -10,7 +10,7 @@ $root.__options = {
10
10
  'stringLongs': true,
11
11
  'stdCase': false,
12
12
  'generatorVersion': '2.0.1086',
13
- 'contentHash': 'fa33a314a769f19670e8f509775f1ff6b3a1b3ec'
13
+ 'contentHash': 'c8c82afda42370c48981bb0375831ae653eb1a3a'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -1762,7 +1762,8 @@ $root.__lookup = function (pbjs) {
1762
1762
  'MIN_SIZE': 6,
1763
1763
  'FORMAT': 7,
1764
1764
  'READ_ONLY': 8,
1765
- 'DECIMAL_VALUE': 9
1765
+ 'DECIMAL_VALUE': 9,
1766
+ 'IMMUTABLE': 10
1766
1767
  },
1767
1768
  'comment': null,
1768
1769
  'comments': {
@@ -1775,7 +1776,8 @@ $root.__lookup = function (pbjs) {
1775
1776
  'MIN_SIZE': null,
1776
1777
  'FORMAT': null,
1777
1778
  'READ_ONLY': null,
1778
- 'DECIMAL_VALUE': null
1779
+ 'DECIMAL_VALUE': null,
1780
+ 'IMMUTABLE': null
1779
1781
  }
1780
1782
  }
1781
1783
  },
@@ -2284,6 +2286,26 @@ $root.__lookup = function (pbjs) {
2284
2286
  'id': 1,
2285
2287
  'comment': null,
2286
2288
  'parsedOptions': null
2289
+ },
2290
+ 'fqdns': {
2291
+ 'rule': 'repeated',
2292
+ 'type': 'string',
2293
+ 'id': 2,
2294
+ 'options': {
2295
+ '(wix.api.minSize)': 0,
2296
+ '(wix.api.maxSize)': 10
2297
+ },
2298
+ 'comment': null,
2299
+ 'parsedOptions': [
2300
+ {
2301
+ '(wix.api.minSize)': 0,
2302
+ '__comment': null
2303
+ },
2304
+ {
2305
+ '(wix.api.maxSize)': 10,
2306
+ '__comment': null
2307
+ }
2308
+ ]
2287
2309
  }
2288
2310
  },
2289
2311
  'comment': null
@@ -4239,6 +4261,51 @@ $root.__lookup = function (pbjs) {
4239
4261
  },
4240
4262
  'comment': null
4241
4263
  },
4264
+ 'CursorQuery': {
4265
+ 'options': { '(.wix.api.decomposite_of)': 'wix.common.QueryV2' },
4266
+ 'oneofs': {
4267
+ 'pagingMethod': {
4268
+ 'oneof': ['cursorPaging'],
4269
+ 'comment': null
4270
+ }
4271
+ },
4272
+ 'fields': {
4273
+ 'filter': {
4274
+ 'type': 'google.protobuf.Struct',
4275
+ 'id': 1,
4276
+ 'comment': null,
4277
+ 'parsedOptions': null
4278
+ },
4279
+ 'sort': {
4280
+ 'rule': 'repeated',
4281
+ 'type': 'Sorting',
4282
+ 'id': 2,
4283
+ 'comment': null,
4284
+ 'parsedOptions': null
4285
+ },
4286
+ 'cursorPaging': {
4287
+ 'type': 'CursorPaging',
4288
+ 'id': 6,
4289
+ 'comment': null,
4290
+ 'parsedOptions': null
4291
+ }
4292
+ },
4293
+ 'reserved': [
4294
+ [
4295
+ 3,
4296
+ 3
4297
+ ],
4298
+ [
4299
+ 4,
4300
+ 4
4301
+ ],
4302
+ [
4303
+ 5,
4304
+ 5
4305
+ ]
4306
+ ],
4307
+ 'comment': null
4308
+ },
4242
4309
  'Search': {
4243
4310
  'options': {
4244
4311
  '(.wix.api.decomposition_minimum_fields).field': 'cursor_paging',
@@ -14983,7 +15050,9 @@ $root.wix = (function () {
14983
15050
  'READ_ONLY': 'READ_ONLY',
14984
15051
  8: 'READ_ONLY',
14985
15052
  'DECIMAL_VALUE': 'DECIMAL_VALUE',
14986
- 9: 'DECIMAL_VALUE'
15053
+ 9: 'DECIMAL_VALUE',
15054
+ 'IMMUTABLE': 'IMMUTABLE',
15055
+ 10: 'IMMUTABLE'
14987
15056
  };
14988
15057
  Validation.Type = {
14989
15058
  'CUSTOM': 'CUSTOM',
@@ -15005,7 +15074,9 @@ $root.wix = (function () {
15005
15074
  'READ_ONLY': 'READ_ONLY',
15006
15075
  8: 'READ_ONLY',
15007
15076
  'DECIMAL_VALUE': 'DECIMAL_VALUE',
15008
- 9: 'DECIMAL_VALUE'
15077
+ 9: 'DECIMAL_VALUE',
15078
+ 'IMMUTABLE': 'IMMUTABLE',
15079
+ 10: 'IMMUTABLE'
15009
15080
  };
15010
15081
  __builtIn.Object.defineProperty(Validation.prototype, '__proto', {
15011
15082
  value: pbjs => {
@@ -16986,6 +17057,7 @@ $root.wix = (function () {
16986
17057
  class TriggerProtoArtifactRequest {
16987
17058
  constructor(props) {
16988
17059
  this.protoArtifactId = props && props.protoArtifactId;
17060
+ this.fqdns = props && props.fqdns;
16989
17061
  }
16990
17062
  static toJSON(obj, helper, withDefaults) {
16991
17063
  if (obj == null) {
@@ -16997,6 +17069,13 @@ $root.wix = (function () {
16997
17069
  } else if (withDefaults) {
16998
17070
  json['protoArtifactId'] = '';
16999
17071
  }
17072
+ if (obj['fqdns'] != null) {
17073
+ json['fqdns'] = obj['fqdns'].map(e => {
17074
+ return e;
17075
+ });
17076
+ } else if (withDefaults) {
17077
+ json['fqdns'] = [];
17078
+ }
17000
17079
  return json;
17001
17080
  }
17002
17081
  }
@@ -17010,6 +17089,15 @@ $root.wix = (function () {
17010
17089
  } else {
17011
17090
  delete result['protoArtifactId'];
17012
17091
  }
17092
+ if (json['fqdns'] != null) {
17093
+ result['fqdns'] = Array.isArray(json['fqdns']) ? json['fqdns'].map(e => {
17094
+ return e;
17095
+ }) : json['fqdns'];
17096
+ } else if (withDefaults !== false) {
17097
+ result['fqdns'] = [];
17098
+ } else {
17099
+ delete result['fqdns'];
17100
+ }
17013
17101
  return result;
17014
17102
  } else
17015
17103
  return json;
@@ -17022,6 +17110,11 @@ $root.wix = (function () {
17022
17110
  if (obj['protoArtifactId'] != null) {
17023
17111
  grpc['protoArtifactId'] = obj['protoArtifactId'];
17024
17112
  }
17113
+ if (obj['fqdns'] != null) {
17114
+ grpc['fqdns'] = obj['fqdns'].map(e => {
17115
+ return e;
17116
+ });
17117
+ }
17025
17118
  return grpc;
17026
17119
  }
17027
17120
  }
@@ -17035,6 +17128,13 @@ $root.wix = (function () {
17035
17128
  } else {
17036
17129
  result['protoArtifactId'] = '';
17037
17130
  }
17131
+ if (grpc['fqdns'] != null) {
17132
+ result['fqdns'] = grpc['fqdns'].map(e => {
17133
+ return e;
17134
+ });
17135
+ } else {
17136
+ result['fqdns'] = [];
17137
+ }
17038
17138
  return result;
17039
17139
  }
17040
17140
  }
@@ -24426,6 +24526,137 @@ $root.wix = (function () {
24426
24526
  });
24427
24527
  return QueryV2;
24428
24528
  }());;
24529
+ _common.CursorQuery = (function () {
24530
+ class CursorQuery {
24531
+ constructor(props) {
24532
+ this.filter = props && props.filter;
24533
+ this.sort = props && props.sort;
24534
+ this.cursorPaging = props && props.cursorPaging;
24535
+ }
24536
+ static toJSON(obj, helper, withDefaults) {
24537
+ if (obj == null) {
24538
+ return null;
24539
+ } else {
24540
+ const json = {};
24541
+ if (obj['filter'] != null) {
24542
+ json['filter'] = $root.google.protobuf.Struct.toJSON(obj['filter'], helper, withDefaults);
24543
+ } else if (withDefaults) {
24544
+ delete json['filter'];
24545
+ }
24546
+ if (obj['sort'] != null) {
24547
+ json['sort'] = obj['sort'].map(e => {
24548
+ return $root.wix.common.Sorting.toJSON(e, helper, withDefaults);
24549
+ });
24550
+ } else if (withDefaults) {
24551
+ json['sort'] = [];
24552
+ }
24553
+ if (obj['cursorPaging'] != null) {
24554
+ json['cursorPaging'] = $root.wix.common.CursorPaging.toJSON(obj['cursorPaging'], helper, withDefaults);
24555
+ } else if (withDefaults) {
24556
+ delete json['cursorPaging'];
24557
+ }
24558
+ return json;
24559
+ }
24560
+ }
24561
+ static fromJSON(json, helper, withDefaults) {
24562
+ if (typeof json === 'object' && !Array.isArray(json)) {
24563
+ const result = new $root.wix.common.CursorQuery();
24564
+ if (json['filter'] != null) {
24565
+ result['filter'] = $root.google.protobuf.Struct.fromJSON(json['filter'], helper);
24566
+ } else if (withDefaults !== false) {
24567
+ delete result['filter'];
24568
+ } else {
24569
+ delete result['filter'];
24570
+ }
24571
+ if (json['sort'] != null) {
24572
+ result['sort'] = Array.isArray(json['sort']) ? json['sort'].map(e => {
24573
+ return $root.wix.common.Sorting.fromJSON(e, helper);
24574
+ }) : json['sort'];
24575
+ } else if (withDefaults !== false) {
24576
+ result['sort'] = [];
24577
+ } else {
24578
+ delete result['sort'];
24579
+ }
24580
+ if (json['cursorPaging'] != null) {
24581
+ result['cursorPaging'] = $root.wix.common.CursorPaging.fromJSON(json['cursorPaging'], helper);
24582
+ } else if (withDefaults !== false) {
24583
+ delete result['cursorPaging'];
24584
+ } else {
24585
+ delete result['cursorPaging'];
24586
+ }
24587
+ return result;
24588
+ } else
24589
+ return json;
24590
+ }
24591
+ static toGRPC(obj, helper) {
24592
+ if (obj == null) {
24593
+ return null;
24594
+ } else {
24595
+ const grpc = {};
24596
+ if (obj['filter'] != null) {
24597
+ grpc['filter'] = $root.google.protobuf.Struct.toGRPC(obj['filter'], helper);
24598
+ }
24599
+ if (obj['sort'] != null) {
24600
+ grpc['sort'] = obj['sort'].map(e => {
24601
+ return $root.wix.common.Sorting.toGRPC(e, helper);
24602
+ });
24603
+ }
24604
+ if (obj['cursorPaging'] != null) {
24605
+ grpc['cursorPaging'] = $root.wix.common.CursorPaging.toGRPC(obj['cursorPaging'], helper);
24606
+ }
24607
+ return grpc;
24608
+ }
24609
+ }
24610
+ static fromGRPC(grpc, helper) {
24611
+ if (grpc == null) {
24612
+ return null;
24613
+ } else {
24614
+ const result = new $root.wix.common.CursorQuery();
24615
+ if (grpc['filter'] != null) {
24616
+ result['filter'] = $root.google.protobuf.Struct.fromGRPC(grpc['filter'], helper);
24617
+ } else {
24618
+ delete result['filter'];
24619
+ }
24620
+ if (grpc['sort'] != null) {
24621
+ result['sort'] = grpc['sort'].map(e => {
24622
+ return $root.wix.common.Sorting.fromGRPC(e, helper);
24623
+ });
24624
+ } else {
24625
+ result['sort'] = [];
24626
+ }
24627
+ if (grpc['cursorPaging'] != null) {
24628
+ result['cursorPaging'] = $root.wix.common.CursorPaging.fromGRPC(grpc['cursorPaging'], helper);
24629
+ } else {
24630
+ delete result['cursorPaging'];
24631
+ }
24632
+ return result;
24633
+ }
24634
+ }
24635
+ }
24636
+ __builtIn.Object.defineProperty(CursorQuery.prototype, '__proto', {
24637
+ value: pbjs => {
24638
+ return $root.__lookup(pbjs)('wix.common.CursorQuery');
24639
+ },
24640
+ enumerable: false,
24641
+ configurable: false
24642
+ });
24643
+ __builtIn.Object.defineProperty(CursorQuery.prototype, '__fqn__', {
24644
+ value: 'wix.common.CursorQuery',
24645
+ enumerable: false,
24646
+ configurable: false
24647
+ });
24648
+ __builtIn.Object.defineProperty(CursorQuery.prototype, '__options__', {
24649
+ value: $root.__options,
24650
+ enumerable: false,
24651
+ configurable: false
24652
+ });
24653
+ __builtIn.Object.defineProperty(CursorQuery.prototype, '__root__', {
24654
+ value: $root,
24655
+ enumerable: false,
24656
+ configurable: false
24657
+ });
24658
+ return CursorQuery;
24659
+ }());;
24429
24660
  _common.Search = (function () {
24430
24661
  class Search {
24431
24662
  constructor(props) {
@@ -777,6 +777,7 @@ declare namespace $requests {
777
777
  FORMAT = "FORMAT",
778
778
  READ_ONLY = "READ_ONLY",
779
779
  DECIMAL_VALUE = "DECIMAL_VALUE",
780
+ IMMUTABLE = "IMMUTABLE",
780
781
  }
781
782
  }
782
783
  export interface IUniqueCombination {
@@ -970,10 +971,12 @@ declare namespace $requests {
970
971
  }
971
972
  export interface ITriggerProtoArtifactRequest {
972
973
  protoArtifactId: string;
974
+ fqdns: string[];
973
975
  }
974
976
  export class TriggerProtoArtifactRequest implements ITriggerProtoArtifactRequest {
975
977
  constructor(data?: ITriggerProtoArtifactRequest);
976
978
  protoArtifactId: string;
979
+ fqdns: string[];
977
980
  static __$$generatedFromProtobuf$$__: Symbol;
978
981
  }
979
982
  export interface ITriggerProtoArtifactResponse {
@@ -1750,6 +1753,18 @@ declare namespace $requests {
1750
1753
  cursorPaging?: $requests.wix.common.ICursorPaging;
1751
1754
  static __$$generatedFromProtobuf$$__: Symbol;
1752
1755
  }
1756
+ export interface ICursorQuery {
1757
+ filter?: { [key: string]: any };
1758
+ sort: $requests.wix.common.ISorting[];
1759
+ cursorPaging?: $requests.wix.common.ICursorPaging;
1760
+ }
1761
+ export class CursorQuery implements ICursorQuery {
1762
+ constructor(data?: ICursorQuery);
1763
+ filter?: { [key: string]: any };
1764
+ sort: $requests.wix.common.ISorting[];
1765
+ cursorPaging?: $requests.wix.common.ICursorPaging;
1766
+ static __$$generatedFromProtobuf$$__: Symbol;
1767
+ }
1753
1768
  export interface ISearch {
1754
1769
  filter?: { [key: string]: any };
1755
1770
  sort: $requests.wix.common.ISorting[];
@@ -3444,6 +3459,7 @@ declare namespace $responses {
3444
3459
  FORMAT = "FORMAT",
3445
3460
  READ_ONLY = "READ_ONLY",
3446
3461
  DECIMAL_VALUE = "DECIMAL_VALUE",
3462
+ IMMUTABLE = "IMMUTABLE",
3447
3463
  }
3448
3464
  }
3449
3465
  export interface IUniqueCombination {
@@ -3637,10 +3653,12 @@ declare namespace $responses {
3637
3653
  }
3638
3654
  export interface ITriggerProtoArtifactRequest {
3639
3655
  protoArtifactId?: string;
3656
+ fqdns?: string[];
3640
3657
  }
3641
3658
  export class TriggerProtoArtifactRequest implements ITriggerProtoArtifactRequest {
3642
3659
  constructor(data?: ITriggerProtoArtifactRequest);
3643
3660
  protoArtifactId?: string;
3661
+ fqdns?: string[];
3644
3662
  static __$$generatedFromProtobuf$$__: Symbol;
3645
3663
  }
3646
3664
  export interface ITriggerProtoArtifactResponse {
@@ -4417,6 +4435,18 @@ declare namespace $responses {
4417
4435
  cursorPaging?: $responses.wix.common.ICursorPaging;
4418
4436
  static __$$generatedFromProtobuf$$__: Symbol;
4419
4437
  }
4438
+ export interface ICursorQuery {
4439
+ filter?: { [key: string]: any };
4440
+ sort?: $responses.wix.common.ISorting[];
4441
+ cursorPaging?: $responses.wix.common.ICursorPaging;
4442
+ }
4443
+ export class CursorQuery implements ICursorQuery {
4444
+ constructor(data?: ICursorQuery);
4445
+ filter?: { [key: string]: any };
4446
+ sort?: $responses.wix.common.ISorting[];
4447
+ cursorPaging?: $responses.wix.common.ICursorPaging;
4448
+ static __$$generatedFromProtobuf$$__: Symbol;
4449
+ }
4420
4450
  export interface ISearch {
4421
4451
  filter?: { [key: string]: any };
4422
4452
  sort?: $responses.wix.common.ISorting[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/metro-common-builders",
3
- "version": "1.0.1087",
3
+ "version": "1.0.1089",
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.1449.0",
36
+ "@wix/metro-runtime": "1.1451.0",
37
37
  "long": "^5.1.0"
38
38
  },
39
39
  "devDependencies": {
@@ -69,5 +69,5 @@
69
69
  "wallaby": {
70
70
  "autoDetect": true
71
71
  },
72
- "falconPackageHash": "d98b691ffc437b4ac8a6468155df4702dd3678cbfc6147f014f46d10"
72
+ "falconPackageHash": "6c89725821636a18a4957f7f75f5f543a643cb2359e62193d363a836"
73
73
  }