@wix/metro-common-builders 1.0.1117 → 1.0.1119

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.
@@ -1275,12 +1275,10 @@ declare namespace $requests {
1275
1275
  }
1276
1276
  export interface ICreateMethodOptions {
1277
1277
  itemField?: string;
1278
- fieldmaskField?: string;
1279
1278
  }
1280
1279
  export class CreateMethodOptions implements ICreateMethodOptions {
1281
1280
  constructor(data?: ICreateMethodOptions);
1282
1281
  itemField?: string;
1283
- fieldmaskField?: string;
1284
1282
  static __$$generatedFromProtobuf$$__: Symbol;
1285
1283
  }
1286
1284
  export interface IGetItemMethodOptions {
@@ -1369,12 +1367,10 @@ declare namespace $requests {
1369
1367
  }
1370
1368
  export interface IBulkCreateMethodOptions {
1371
1369
  itemField?: string;
1372
- fieldmaskField?: string;
1373
1370
  }
1374
1371
  export class BulkCreateMethodOptions implements IBulkCreateMethodOptions {
1375
1372
  constructor(data?: IBulkCreateMethodOptions);
1376
1373
  itemField?: string;
1377
- fieldmaskField?: string;
1378
1374
  static __$$generatedFromProtobuf$$__: Symbol;
1379
1375
  }
1380
1376
  export interface IBulkUpdateMethodOptions {
@@ -1586,6 +1582,16 @@ declare namespace $requests {
1586
1582
  IMAGE_LINK = "IMAGE_LINK",
1587
1583
  }
1588
1584
  }
1585
+ export interface IConditional {
1586
+ permission?: string;
1587
+ requestedField?: string;
1588
+ }
1589
+ export class Conditional implements IConditional {
1590
+ constructor(data?: IConditional);
1591
+ permission?: string;
1592
+ requestedField?: string;
1593
+ static __$$generatedFromProtobuf$$__: Symbol;
1594
+ }
1589
1595
  export interface IServiceAppendix {
1590
1596
  type?: $requests.wix.api.ServiceAppendix.Type;
1591
1597
  path?: string;
@@ -1644,6 +1650,41 @@ declare namespace $requests {
1644
1650
  ACTION = "ACTION",
1645
1651
  }
1646
1652
  }
1653
+ export interface IDomainEvent {
1654
+ actionMessageFqn?: string;
1655
+ webhookPermissionOverride?: string;
1656
+ eventType?: $requests.wix.api.DomainEvent.EventType;
1657
+ exposure?: $requests.wix.api.Exposure;
1658
+ maturity?: $requests.wix.api.Maturity;
1659
+ }
1660
+ export class DomainEvent implements IDomainEvent {
1661
+ constructor(data?: IDomainEvent);
1662
+ actionMessageFqn?: string;
1663
+ webhookPermissionOverride?: string;
1664
+ eventType?: $requests.wix.api.DomainEvent.EventType;
1665
+ exposure?: $requests.wix.api.Exposure;
1666
+ maturity?: $requests.wix.api.Maturity;
1667
+ static __$$generatedFromProtobuf$$__: Symbol;
1668
+ }
1669
+ export namespace DomainEvent {
1670
+ export enum EventType {
1671
+ UNKNOWN = "UNKNOWN",
1672
+ CREATED = "CREATED",
1673
+ UPDATED = "UPDATED",
1674
+ DELETED = "DELETED",
1675
+ ACTION = "ACTION",
1676
+ }
1677
+ }
1678
+ export interface IEmits {
1679
+ eventType?: $requests.wix.api.DomainEvent.EventType;
1680
+ actionMessageFqn?: string;
1681
+ }
1682
+ export class Emits implements IEmits {
1683
+ constructor(data?: IEmits);
1684
+ eventType?: $requests.wix.api.DomainEvent.EventType;
1685
+ actionMessageFqn?: string;
1686
+ static __$$generatedFromProtobuf$$__: Symbol;
1687
+ }
1647
1688
  export interface ICallbackDeprecation {
1648
1689
  replacedBy?: string;
1649
1690
  targetRemovalDate?: string;
@@ -2495,6 +2536,7 @@ declare namespace $requests {
2495
2536
  '.wix.api.fieldDeprecated'?: $requests.wix.api.IDeprecated;
2496
2537
  '.wix.api.translatable'?: $requests.wix.api.ITranslatable;
2497
2538
  '.wix.api.sampleData'?: string;
2539
+ '.wix.api.conditional'?: $requests.wix.api.IConditional;
2498
2540
  '.wix.api.max'?: number;
2499
2541
  '.wix.api.min'?: number;
2500
2542
  '.wix.api.maxLength'?: number;
@@ -2523,6 +2565,7 @@ declare namespace $requests {
2523
2565
  '.wix.api.fieldDeprecated'?: $requests.wix.api.IDeprecated;
2524
2566
  '.wix.api.translatable'?: $requests.wix.api.ITranslatable;
2525
2567
  '.wix.api.sampleData'?: string;
2568
+ '.wix.api.conditional'?: $requests.wix.api.IConditional;
2526
2569
  '.wix.api.max'?: number;
2527
2570
  '.wix.api.min'?: number;
2528
2571
  '.wix.api.maxLength'?: number;
@@ -2594,6 +2637,7 @@ declare namespace $requests {
2594
2637
  '.wix.api.appendixFiles'?: $requests.wix.api.IServiceAppendix[];
2595
2638
  '.wix.api.event'?: $requests.wix.api.ICallback[];
2596
2639
  '.wix.api.eventDeprecated'?: $requests.wix.api.ICallbackDeprecation[];
2640
+ '.wix.api.domainEvent'?: $requests.wix.api.IDomainEvent[];
2597
2641
  }
2598
2642
  export class ServiceOptions implements IServiceOptions {
2599
2643
  constructor(data?: IServiceOptions);
@@ -2606,6 +2650,7 @@ declare namespace $requests {
2606
2650
  '.wix.api.appendixFiles'?: $requests.wix.api.IServiceAppendix[];
2607
2651
  '.wix.api.event'?: $requests.wix.api.ICallback[];
2608
2652
  '.wix.api.eventDeprecated'?: $requests.wix.api.ICallbackDeprecation[];
2653
+ '.wix.api.domainEvent'?: $requests.wix.api.IDomainEvent[];
2609
2654
  static __$$generatedFromProtobuf$$__: Symbol;
2610
2655
  }
2611
2656
  export interface IMethodOptions {
@@ -2620,6 +2665,7 @@ declare namespace $requests {
2620
2665
  '.wix.api.hookable'?: $requests.wix.api.IHookable;
2621
2666
  '.wix.api.acceptsLinguist'?: boolean;
2622
2667
  '.wix.api.callback'?: $requests.wix.api.ICallback[];
2668
+ '.wix.api.emits'?: $requests.wix.api.IEmits[];
2623
2669
  '.wix.api.required'?: string[];
2624
2670
  '.wix.api.writable'?: string[];
2625
2671
  '.wix.api.error'?: $requests.wix.api.IError[];
@@ -2641,6 +2687,7 @@ declare namespace $requests {
2641
2687
  '.wix.api.hookable'?: $requests.wix.api.IHookable;
2642
2688
  '.wix.api.acceptsLinguist'?: boolean;
2643
2689
  '.wix.api.callback'?: $requests.wix.api.ICallback[];
2690
+ '.wix.api.emits'?: $requests.wix.api.IEmits[];
2644
2691
  '.wix.api.required'?: string[];
2645
2692
  '.wix.api.writable'?: string[];
2646
2693
  '.wix.api.error'?: $requests.wix.api.IError[];
@@ -4058,12 +4105,10 @@ declare namespace $responses {
4058
4105
  }
4059
4106
  export interface ICreateMethodOptions {
4060
4107
  itemField: string;
4061
- fieldmaskField: string;
4062
4108
  }
4063
4109
  export class CreateMethodOptions implements ICreateMethodOptions {
4064
4110
  constructor(data?: ICreateMethodOptions);
4065
4111
  itemField: string;
4066
- fieldmaskField: string;
4067
4112
  static __$$generatedFromProtobuf$$__: Symbol;
4068
4113
  }
4069
4114
  export interface IGetItemMethodOptions {
@@ -4152,12 +4197,10 @@ declare namespace $responses {
4152
4197
  }
4153
4198
  export interface IBulkCreateMethodOptions {
4154
4199
  itemField: string;
4155
- fieldmaskField: string;
4156
4200
  }
4157
4201
  export class BulkCreateMethodOptions implements IBulkCreateMethodOptions {
4158
4202
  constructor(data?: IBulkCreateMethodOptions);
4159
4203
  itemField: string;
4160
- fieldmaskField: string;
4161
4204
  static __$$generatedFromProtobuf$$__: Symbol;
4162
4205
  }
4163
4206
  export interface IBulkUpdateMethodOptions {
@@ -4369,6 +4412,16 @@ declare namespace $responses {
4369
4412
  IMAGE_LINK = "IMAGE_LINK",
4370
4413
  }
4371
4414
  }
4415
+ export interface IConditional {
4416
+ permission: string;
4417
+ requestedField: string;
4418
+ }
4419
+ export class Conditional implements IConditional {
4420
+ constructor(data?: IConditional);
4421
+ permission: string;
4422
+ requestedField: string;
4423
+ static __$$generatedFromProtobuf$$__: Symbol;
4424
+ }
4372
4425
  export interface IServiceAppendix {
4373
4426
  type: $responses.wix.api.ServiceAppendix.Type;
4374
4427
  path: string;
@@ -4427,6 +4480,41 @@ declare namespace $responses {
4427
4480
  ACTION = "ACTION",
4428
4481
  }
4429
4482
  }
4483
+ export interface IDomainEvent {
4484
+ actionMessageFqn: string;
4485
+ webhookPermissionOverride: string;
4486
+ eventType: $responses.wix.api.DomainEvent.EventType;
4487
+ exposure: $responses.wix.api.Exposure;
4488
+ maturity: $responses.wix.api.Maturity;
4489
+ }
4490
+ export class DomainEvent implements IDomainEvent {
4491
+ constructor(data?: IDomainEvent);
4492
+ actionMessageFqn: string;
4493
+ webhookPermissionOverride: string;
4494
+ eventType: $responses.wix.api.DomainEvent.EventType;
4495
+ exposure: $responses.wix.api.Exposure;
4496
+ maturity: $responses.wix.api.Maturity;
4497
+ static __$$generatedFromProtobuf$$__: Symbol;
4498
+ }
4499
+ export namespace DomainEvent {
4500
+ export enum EventType {
4501
+ UNKNOWN = "UNKNOWN",
4502
+ CREATED = "CREATED",
4503
+ UPDATED = "UPDATED",
4504
+ DELETED = "DELETED",
4505
+ ACTION = "ACTION",
4506
+ }
4507
+ }
4508
+ export interface IEmits {
4509
+ eventType: $responses.wix.api.DomainEvent.EventType;
4510
+ actionMessageFqn: string;
4511
+ }
4512
+ export class Emits implements IEmits {
4513
+ constructor(data?: IEmits);
4514
+ eventType: $responses.wix.api.DomainEvent.EventType;
4515
+ actionMessageFqn: string;
4516
+ static __$$generatedFromProtobuf$$__: Symbol;
4517
+ }
4430
4518
  export interface ICallbackDeprecation {
4431
4519
  replacedBy: string;
4432
4520
  targetRemovalDate: string;
@@ -5278,6 +5366,7 @@ declare namespace $responses {
5278
5366
  '.wix.api.fieldDeprecated'?: $responses.wix.api.IDeprecated;
5279
5367
  '.wix.api.translatable'?: $responses.wix.api.ITranslatable;
5280
5368
  '.wix.api.sampleData': string;
5369
+ '.wix.api.conditional'?: $responses.wix.api.IConditional;
5281
5370
  '.wix.api.max': number;
5282
5371
  '.wix.api.min': number;
5283
5372
  '.wix.api.maxLength': number;
@@ -5306,6 +5395,7 @@ declare namespace $responses {
5306
5395
  '.wix.api.fieldDeprecated'?: $responses.wix.api.IDeprecated;
5307
5396
  '.wix.api.translatable'?: $responses.wix.api.ITranslatable;
5308
5397
  '.wix.api.sampleData': string;
5398
+ '.wix.api.conditional'?: $responses.wix.api.IConditional;
5309
5399
  '.wix.api.max': number;
5310
5400
  '.wix.api.min': number;
5311
5401
  '.wix.api.maxLength': number;
@@ -5377,6 +5467,7 @@ declare namespace $responses {
5377
5467
  '.wix.api.appendixFiles': $responses.wix.api.IServiceAppendix[];
5378
5468
  '.wix.api.event': $responses.wix.api.ICallback[];
5379
5469
  '.wix.api.eventDeprecated': $responses.wix.api.ICallbackDeprecation[];
5470
+ '.wix.api.domainEvent': $responses.wix.api.IDomainEvent[];
5380
5471
  }
5381
5472
  export class ServiceOptions implements IServiceOptions {
5382
5473
  constructor(data?: IServiceOptions);
@@ -5389,6 +5480,7 @@ declare namespace $responses {
5389
5480
  '.wix.api.appendixFiles': $responses.wix.api.IServiceAppendix[];
5390
5481
  '.wix.api.event': $responses.wix.api.ICallback[];
5391
5482
  '.wix.api.eventDeprecated': $responses.wix.api.ICallbackDeprecation[];
5483
+ '.wix.api.domainEvent': $responses.wix.api.IDomainEvent[];
5392
5484
  static __$$generatedFromProtobuf$$__: Symbol;
5393
5485
  }
5394
5486
  export interface IMethodOptions {
@@ -5403,6 +5495,7 @@ declare namespace $responses {
5403
5495
  '.wix.api.hookable'?: $responses.wix.api.IHookable;
5404
5496
  '.wix.api.acceptsLinguist': boolean;
5405
5497
  '.wix.api.callback': $responses.wix.api.ICallback[];
5498
+ '.wix.api.emits': $responses.wix.api.IEmits[];
5406
5499
  '.wix.api.required': string[];
5407
5500
  '.wix.api.writable': string[];
5408
5501
  '.wix.api.error': $responses.wix.api.IError[];
@@ -5424,6 +5517,7 @@ declare namespace $responses {
5424
5517
  '.wix.api.hookable'?: $responses.wix.api.IHookable;
5425
5518
  '.wix.api.acceptsLinguist': boolean;
5426
5519
  '.wix.api.callback': $responses.wix.api.ICallback[];
5520
+ '.wix.api.emits': $responses.wix.api.IEmits[];
5427
5521
  '.wix.api.required': string[];
5428
5522
  '.wix.api.writable': string[];
5429
5523
  '.wix.api.error': $responses.wix.api.IError[];
@@ -1288,12 +1288,10 @@ declare namespace $wrapper {
1288
1288
  }
1289
1289
  export interface ICreateMethodOptions {
1290
1290
  itemField?: (string | null);
1291
- fieldmaskField?: (string | null);
1292
1291
  }
1293
1292
  export class CreateMethodOptions implements ICreateMethodOptions {
1294
1293
  constructor(data?: ICreateMethodOptions);
1295
1294
  itemField?: (string | null);
1296
- fieldmaskField?: (string | null);
1297
1295
  static __$$generatedFromProtobuf$$__: Symbol;
1298
1296
  }
1299
1297
  export interface IGetItemMethodOptions {
@@ -1382,12 +1380,10 @@ declare namespace $wrapper {
1382
1380
  }
1383
1381
  export interface IBulkCreateMethodOptions {
1384
1382
  itemField?: (string | null);
1385
- fieldmaskField?: (string | null);
1386
1383
  }
1387
1384
  export class BulkCreateMethodOptions implements IBulkCreateMethodOptions {
1388
1385
  constructor(data?: IBulkCreateMethodOptions);
1389
1386
  itemField?: (string | null);
1390
- fieldmaskField?: (string | null);
1391
1387
  static __$$generatedFromProtobuf$$__: Symbol;
1392
1388
  }
1393
1389
  export interface IBulkUpdateMethodOptions {
@@ -1599,6 +1595,16 @@ declare namespace $wrapper {
1599
1595
  IMAGE_LINK = "IMAGE_LINK",
1600
1596
  }
1601
1597
  }
1598
+ export interface IConditional {
1599
+ permission?: (string | null);
1600
+ requestedField?: (string | null);
1601
+ }
1602
+ export class Conditional implements IConditional {
1603
+ constructor(data?: IConditional);
1604
+ permission?: (string | null);
1605
+ requestedField?: (string | null);
1606
+ static __$$generatedFromProtobuf$$__: Symbol;
1607
+ }
1602
1608
  export interface IServiceAppendix {
1603
1609
  type?: ($wrapper.wix.api.ServiceAppendix.Type | null);
1604
1610
  path?: (string | null);
@@ -1657,6 +1663,41 @@ declare namespace $wrapper {
1657
1663
  ACTION = "ACTION",
1658
1664
  }
1659
1665
  }
1666
+ export interface IDomainEvent {
1667
+ actionMessageFqn?: (string | null);
1668
+ webhookPermissionOverride?: (string | null);
1669
+ eventType?: ($wrapper.wix.api.DomainEvent.EventType | null);
1670
+ exposure?: ($wrapper.wix.api.Exposure | null);
1671
+ maturity?: ($wrapper.wix.api.Maturity | null);
1672
+ }
1673
+ export class DomainEvent implements IDomainEvent {
1674
+ constructor(data?: IDomainEvent);
1675
+ actionMessageFqn?: (string | null);
1676
+ webhookPermissionOverride?: (string | null);
1677
+ eventType?: ($wrapper.wix.api.DomainEvent.EventType | null);
1678
+ exposure?: ($wrapper.wix.api.Exposure | null);
1679
+ maturity?: ($wrapper.wix.api.Maturity | null);
1680
+ static __$$generatedFromProtobuf$$__: Symbol;
1681
+ }
1682
+ export namespace DomainEvent {
1683
+ export enum EventType {
1684
+ UNKNOWN = "UNKNOWN",
1685
+ CREATED = "CREATED",
1686
+ UPDATED = "UPDATED",
1687
+ DELETED = "DELETED",
1688
+ ACTION = "ACTION",
1689
+ }
1690
+ }
1691
+ export interface IEmits {
1692
+ eventType?: ($wrapper.wix.api.DomainEvent.EventType | null);
1693
+ actionMessageFqn?: (string | null);
1694
+ }
1695
+ export class Emits implements IEmits {
1696
+ constructor(data?: IEmits);
1697
+ eventType?: ($wrapper.wix.api.DomainEvent.EventType | null);
1698
+ actionMessageFqn?: (string | null);
1699
+ static __$$generatedFromProtobuf$$__: Symbol;
1700
+ }
1660
1701
  export interface ICallbackDeprecation {
1661
1702
  replacedBy?: (string | null);
1662
1703
  targetRemovalDate?: (string | null);
@@ -2508,6 +2549,7 @@ declare namespace $wrapper {
2508
2549
  '.wix.api.fieldDeprecated'?: ($wrapper.wix.api.IDeprecated | null);
2509
2550
  '.wix.api.translatable'?: ($wrapper.wix.api.ITranslatable | null);
2510
2551
  '.wix.api.sampleData'?: (string | null);
2552
+ '.wix.api.conditional'?: ($wrapper.wix.api.IConditional | null);
2511
2553
  '.wix.api.max'?: (number | null);
2512
2554
  '.wix.api.min'?: (number | null);
2513
2555
  '.wix.api.maxLength'?: (number | null);
@@ -2536,6 +2578,7 @@ declare namespace $wrapper {
2536
2578
  '.wix.api.fieldDeprecated'?: ($wrapper.wix.api.IDeprecated | null);
2537
2579
  '.wix.api.translatable'?: ($wrapper.wix.api.ITranslatable | null);
2538
2580
  '.wix.api.sampleData'?: (string | null);
2581
+ '.wix.api.conditional'?: ($wrapper.wix.api.IConditional | null);
2539
2582
  '.wix.api.max'?: (number | null);
2540
2583
  '.wix.api.min'?: (number | null);
2541
2584
  '.wix.api.maxLength'?: (number | null);
@@ -2607,6 +2650,7 @@ declare namespace $wrapper {
2607
2650
  '.wix.api.appendixFiles'?: ($wrapper.wix.api.IServiceAppendix[] | null);
2608
2651
  '.wix.api.event'?: ($wrapper.wix.api.ICallback[] | null);
2609
2652
  '.wix.api.eventDeprecated'?: ($wrapper.wix.api.ICallbackDeprecation[] | null);
2653
+ '.wix.api.domainEvent'?: ($wrapper.wix.api.IDomainEvent[] | null);
2610
2654
  }
2611
2655
  export class ServiceOptions implements IServiceOptions {
2612
2656
  constructor(data?: IServiceOptions);
@@ -2619,6 +2663,7 @@ declare namespace $wrapper {
2619
2663
  '.wix.api.appendixFiles'?: ($wrapper.wix.api.IServiceAppendix[] | null);
2620
2664
  '.wix.api.event'?: ($wrapper.wix.api.ICallback[] | null);
2621
2665
  '.wix.api.eventDeprecated'?: ($wrapper.wix.api.ICallbackDeprecation[] | null);
2666
+ '.wix.api.domainEvent'?: ($wrapper.wix.api.IDomainEvent[] | null);
2622
2667
  static __$$generatedFromProtobuf$$__: Symbol;
2623
2668
  }
2624
2669
  export interface IMethodOptions {
@@ -2633,6 +2678,7 @@ declare namespace $wrapper {
2633
2678
  '.wix.api.hookable'?: ($wrapper.wix.api.IHookable | null);
2634
2679
  '.wix.api.acceptsLinguist'?: (boolean | null);
2635
2680
  '.wix.api.callback'?: ($wrapper.wix.api.ICallback[] | null);
2681
+ '.wix.api.emits'?: ($wrapper.wix.api.IEmits[] | null);
2636
2682
  '.wix.api.required'?: (string[] | null);
2637
2683
  '.wix.api.writable'?: (string[] | null);
2638
2684
  '.wix.api.error'?: ($wrapper.wix.api.IError[] | null);
@@ -2654,6 +2700,7 @@ declare namespace $wrapper {
2654
2700
  '.wix.api.hookable'?: ($wrapper.wix.api.IHookable | null);
2655
2701
  '.wix.api.acceptsLinguist'?: (boolean | null);
2656
2702
  '.wix.api.callback'?: ($wrapper.wix.api.ICallback[] | null);
2703
+ '.wix.api.emits'?: ($wrapper.wix.api.IEmits[] | null);
2657
2704
  '.wix.api.required'?: (string[] | null);
2658
2705
  '.wix.api.writable'?: (string[] | null);
2659
2706
  '.wix.api.error'?: ($wrapper.wix.api.IError[] | null);