@wix/metro-common-builders 1.0.1349 → 1.0.1351

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.
@@ -1267,6 +1267,7 @@ declare namespace $requests {
1267
1267
  appDefId?: string;
1268
1268
  domainEvents?: $requests.wix.api.IDomainEventOptions;
1269
1269
  taggable?: $requests.wix.api.ITaggable;
1270
+ queryOptions?: $requests.wix.api.IQueryOptions;
1270
1271
  }
1271
1272
  export class Entity implements IEntity {
1272
1273
  constructor(data?: IEntity);
@@ -1283,6 +1284,7 @@ declare namespace $requests {
1283
1284
  appDefId?: string;
1284
1285
  domainEvents?: $requests.wix.api.IDomainEventOptions;
1285
1286
  taggable?: $requests.wix.api.ITaggable;
1287
+ queryOptions?: $requests.wix.api.IQueryOptions;
1286
1288
  static __$$generatedFromProtobuf$$__: Symbol;
1287
1289
  }
1288
1290
  export interface IExtensible {
@@ -1332,6 +1334,30 @@ declare namespace $requests {
1332
1334
  constructor(data?: ITaggable);
1333
1335
  static __$$generatedFromProtobuf$$__: Symbol;
1334
1336
  }
1337
+ export interface IQueryOptions {
1338
+ wql?: $requests.wix.api.IWql;
1339
+ search?: $requests.wix.api.ISearch[];
1340
+ additionalQueryOptions?: $requests.wix.api.INamedQueryOptions[];
1341
+ }
1342
+ export class QueryOptions implements IQueryOptions {
1343
+ constructor(data?: IQueryOptions);
1344
+ wql?: $requests.wix.api.IWql;
1345
+ search?: $requests.wix.api.ISearch[];
1346
+ additionalQueryOptions?: $requests.wix.api.INamedQueryOptions[];
1347
+ static __$$generatedFromProtobuf$$__: Symbol;
1348
+ }
1349
+ export interface INamedQueryOptions {
1350
+ name?: string;
1351
+ wql?: $requests.wix.api.IWql;
1352
+ search?: $requests.wix.api.ISearch[];
1353
+ }
1354
+ export class NamedQueryOptions implements INamedQueryOptions {
1355
+ constructor(data?: INamedQueryOptions);
1356
+ name?: string;
1357
+ wql?: $requests.wix.api.IWql;
1358
+ search?: $requests.wix.api.ISearch[];
1359
+ static __$$generatedFromProtobuf$$__: Symbol;
1360
+ }
1335
1361
  export interface IReferenceEntityField {
1336
1362
  path?: string;
1337
1363
  }
@@ -1531,6 +1557,7 @@ declare namespace $requests {
1531
1557
  itemsField?: string;
1532
1558
  paging?: $requests.wix.api.IPaging;
1533
1559
  wql?: $requests.wix.api.IWql;
1560
+ queryOptionsName?: string;
1534
1561
  meAliasableField?: string[];
1535
1562
  }
1536
1563
  export class QueryMethodOptions implements IQueryMethodOptions {
@@ -1539,6 +1566,7 @@ declare namespace $requests {
1539
1566
  itemsField?: string;
1540
1567
  paging?: $requests.wix.api.IPaging;
1541
1568
  wql?: $requests.wix.api.IWql;
1569
+ queryOptionsName?: string;
1542
1570
  meAliasableField?: string[];
1543
1571
  static __$$generatedFromProtobuf$$__: Symbol;
1544
1572
  }
@@ -1547,6 +1575,7 @@ declare namespace $requests {
1547
1575
  itemsField?: string;
1548
1576
  paging?: $requests.wix.api.IPaging;
1549
1577
  wql?: $requests.wix.api.IWql;
1578
+ queryOptionsName?: string;
1550
1579
  meAliasableField?: string[];
1551
1580
  search?: $requests.wix.api.ISearch[];
1552
1581
  }
@@ -1556,6 +1585,7 @@ declare namespace $requests {
1556
1585
  itemsField?: string;
1557
1586
  paging?: $requests.wix.api.IPaging;
1558
1587
  wql?: $requests.wix.api.IWql;
1588
+ queryOptionsName?: string;
1559
1589
  meAliasableField?: string[];
1560
1590
  search?: $requests.wix.api.ISearch[];
1561
1591
  static __$$generatedFromProtobuf$$__: Symbol;
@@ -1582,12 +1612,14 @@ declare namespace $requests {
1582
1612
  itemField?: string;
1583
1613
  fieldmaskField?: string;
1584
1614
  filterField?: string;
1615
+ queryOptionsName?: string;
1585
1616
  }
1586
1617
  export class BulkUpdateByFilterMethodOptions implements IBulkUpdateByFilterMethodOptions {
1587
1618
  constructor(data?: IBulkUpdateByFilterMethodOptions);
1588
1619
  itemField?: string;
1589
1620
  fieldmaskField?: string;
1590
1621
  filterField?: string;
1622
+ queryOptionsName?: string;
1591
1623
  static __$$generatedFromProtobuf$$__: Symbol;
1592
1624
  }
1593
1625
  export interface IBulkUpsertMethodOptions {
@@ -1610,10 +1642,12 @@ declare namespace $requests {
1610
1642
  }
1611
1643
  export interface IBulkDeleteByFilterMethodOptions {
1612
1644
  filterField?: string;
1645
+ queryOptionsName?: string;
1613
1646
  }
1614
1647
  export class BulkDeleteByFilterMethodOptions implements IBulkDeleteByFilterMethodOptions {
1615
1648
  constructor(data?: IBulkDeleteByFilterMethodOptions);
1616
1649
  filterField?: string;
1650
+ queryOptionsName?: string;
1617
1651
  static __$$generatedFromProtobuf$$__: Symbol;
1618
1652
  }
1619
1653
  export interface IListDeletedMethodOptions {
@@ -1660,18 +1694,22 @@ declare namespace $requests {
1660
1694
  }
1661
1695
  export interface ICountOptions {
1662
1696
  inheritWqlFrom?: string;
1697
+ queryOptionsName?: string;
1663
1698
  }
1664
1699
  export class CountOptions implements ICountOptions {
1665
1700
  constructor(data?: ICountOptions);
1666
1701
  inheritWqlFrom?: string;
1702
+ queryOptionsName?: string;
1667
1703
  static __$$generatedFromProtobuf$$__: Symbol;
1668
1704
  }
1669
1705
  export interface ISearchRelatedOptions {
1670
1706
  inheritWqlFrom?: string;
1707
+ queryOptionsName?: string;
1671
1708
  }
1672
1709
  export class SearchRelatedOptions implements ISearchRelatedOptions {
1673
1710
  constructor(data?: ISearchRelatedOptions);
1674
1711
  inheritWqlFrom?: string;
1712
+ queryOptionsName?: string;
1675
1713
  static __$$generatedFromProtobuf$$__: Symbol;
1676
1714
  }
1677
1715
  export interface IWql {
@@ -3115,7 +3153,6 @@ declare namespace $requests {
3115
3153
  '.wix.api.appendixFiles'?: $requests.wix.api.IServiceAppendix[];
3116
3154
  '.wix.api.event'?: $requests.wix.api.ICallback[];
3117
3155
  '.wix.api.eventDeprecated'?: $requests.wix.api.ICallbackDeprecation[];
3118
- '.wix.api.domainEvent'?: $requests.wix.api.IDomainEvent[];
3119
3156
  }
3120
3157
  export class ServiceOptions implements IServiceOptions {
3121
3158
  constructor(data?: IServiceOptions);
@@ -3128,7 +3165,6 @@ declare namespace $requests {
3128
3165
  '.wix.api.appendixFiles'?: $requests.wix.api.IServiceAppendix[];
3129
3166
  '.wix.api.event'?: $requests.wix.api.ICallback[];
3130
3167
  '.wix.api.eventDeprecated'?: $requests.wix.api.ICallbackDeprecation[];
3131
- '.wix.api.domainEvent'?: $requests.wix.api.IDomainEvent[];
3132
3168
  static __$$generatedFromProtobuf$$__: Symbol;
3133
3169
  }
3134
3170
  export interface IMethodOptions {
@@ -4573,6 +4609,7 @@ declare namespace $responses {
4573
4609
  appDefId: string;
4574
4610
  domainEvents?: $responses.wix.api.IDomainEventOptions;
4575
4611
  taggable?: $responses.wix.api.ITaggable;
4612
+ queryOptions?: $responses.wix.api.IQueryOptions;
4576
4613
  }
4577
4614
  export class Entity implements IEntity {
4578
4615
  constructor(data?: IEntity);
@@ -4589,6 +4626,7 @@ declare namespace $responses {
4589
4626
  appDefId: string;
4590
4627
  domainEvents?: $responses.wix.api.IDomainEventOptions;
4591
4628
  taggable?: $responses.wix.api.ITaggable;
4629
+ queryOptions?: $responses.wix.api.IQueryOptions;
4592
4630
  static __$$generatedFromProtobuf$$__: Symbol;
4593
4631
  }
4594
4632
  export interface IExtensible {
@@ -4638,6 +4676,30 @@ declare namespace $responses {
4638
4676
  constructor(data?: ITaggable);
4639
4677
  static __$$generatedFromProtobuf$$__: Symbol;
4640
4678
  }
4679
+ export interface IQueryOptions {
4680
+ wql?: $responses.wix.api.IWql;
4681
+ search: $responses.wix.api.ISearch[];
4682
+ additionalQueryOptions: $responses.wix.api.INamedQueryOptions[];
4683
+ }
4684
+ export class QueryOptions implements IQueryOptions {
4685
+ constructor(data?: IQueryOptions);
4686
+ wql?: $responses.wix.api.IWql;
4687
+ search: $responses.wix.api.ISearch[];
4688
+ additionalQueryOptions: $responses.wix.api.INamedQueryOptions[];
4689
+ static __$$generatedFromProtobuf$$__: Symbol;
4690
+ }
4691
+ export interface INamedQueryOptions {
4692
+ name: string;
4693
+ wql?: $responses.wix.api.IWql;
4694
+ search: $responses.wix.api.ISearch[];
4695
+ }
4696
+ export class NamedQueryOptions implements INamedQueryOptions {
4697
+ constructor(data?: INamedQueryOptions);
4698
+ name: string;
4699
+ wql?: $responses.wix.api.IWql;
4700
+ search: $responses.wix.api.ISearch[];
4701
+ static __$$generatedFromProtobuf$$__: Symbol;
4702
+ }
4641
4703
  export interface IReferenceEntityField {
4642
4704
  path: string;
4643
4705
  }
@@ -4837,6 +4899,7 @@ declare namespace $responses {
4837
4899
  itemsField: string;
4838
4900
  paging?: $responses.wix.api.IPaging;
4839
4901
  wql?: $responses.wix.api.IWql;
4902
+ queryOptionsName?: string;
4840
4903
  meAliasableField: string[];
4841
4904
  }
4842
4905
  export class QueryMethodOptions implements IQueryMethodOptions {
@@ -4845,6 +4908,7 @@ declare namespace $responses {
4845
4908
  itemsField: string;
4846
4909
  paging?: $responses.wix.api.IPaging;
4847
4910
  wql?: $responses.wix.api.IWql;
4911
+ queryOptionsName?: string;
4848
4912
  meAliasableField: string[];
4849
4913
  static __$$generatedFromProtobuf$$__: Symbol;
4850
4914
  }
@@ -4853,6 +4917,7 @@ declare namespace $responses {
4853
4917
  itemsField: string;
4854
4918
  paging?: $responses.wix.api.IPaging;
4855
4919
  wql?: $responses.wix.api.IWql;
4920
+ queryOptionsName?: string;
4856
4921
  meAliasableField: string[];
4857
4922
  search: $responses.wix.api.ISearch[];
4858
4923
  }
@@ -4862,6 +4927,7 @@ declare namespace $responses {
4862
4927
  itemsField: string;
4863
4928
  paging?: $responses.wix.api.IPaging;
4864
4929
  wql?: $responses.wix.api.IWql;
4930
+ queryOptionsName?: string;
4865
4931
  meAliasableField: string[];
4866
4932
  search: $responses.wix.api.ISearch[];
4867
4933
  static __$$generatedFromProtobuf$$__: Symbol;
@@ -4888,12 +4954,14 @@ declare namespace $responses {
4888
4954
  itemField: string;
4889
4955
  fieldmaskField: string;
4890
4956
  filterField: string;
4957
+ queryOptionsName: string;
4891
4958
  }
4892
4959
  export class BulkUpdateByFilterMethodOptions implements IBulkUpdateByFilterMethodOptions {
4893
4960
  constructor(data?: IBulkUpdateByFilterMethodOptions);
4894
4961
  itemField: string;
4895
4962
  fieldmaskField: string;
4896
4963
  filterField: string;
4964
+ queryOptionsName: string;
4897
4965
  static __$$generatedFromProtobuf$$__: Symbol;
4898
4966
  }
4899
4967
  export interface IBulkUpsertMethodOptions {
@@ -4916,10 +4984,12 @@ declare namespace $responses {
4916
4984
  }
4917
4985
  export interface IBulkDeleteByFilterMethodOptions {
4918
4986
  filterField: string;
4987
+ queryOptionsName: string;
4919
4988
  }
4920
4989
  export class BulkDeleteByFilterMethodOptions implements IBulkDeleteByFilterMethodOptions {
4921
4990
  constructor(data?: IBulkDeleteByFilterMethodOptions);
4922
4991
  filterField: string;
4992
+ queryOptionsName: string;
4923
4993
  static __$$generatedFromProtobuf$$__: Symbol;
4924
4994
  }
4925
4995
  export interface IListDeletedMethodOptions {
@@ -4965,19 +5035,23 @@ declare namespace $responses {
4965
5035
  static __$$generatedFromProtobuf$$__: Symbol;
4966
5036
  }
4967
5037
  export interface ICountOptions {
4968
- inheritWqlFrom: string;
5038
+ inheritWqlFrom?: string;
5039
+ queryOptionsName?: string;
4969
5040
  }
4970
5041
  export class CountOptions implements ICountOptions {
4971
5042
  constructor(data?: ICountOptions);
4972
- inheritWqlFrom: string;
5043
+ inheritWqlFrom?: string;
5044
+ queryOptionsName?: string;
4973
5045
  static __$$generatedFromProtobuf$$__: Symbol;
4974
5046
  }
4975
5047
  export interface ISearchRelatedOptions {
4976
- inheritWqlFrom: string;
5048
+ inheritWqlFrom?: string;
5049
+ queryOptionsName?: string;
4977
5050
  }
4978
5051
  export class SearchRelatedOptions implements ISearchRelatedOptions {
4979
5052
  constructor(data?: ISearchRelatedOptions);
4980
- inheritWqlFrom: string;
5053
+ inheritWqlFrom?: string;
5054
+ queryOptionsName?: string;
4981
5055
  static __$$generatedFromProtobuf$$__: Symbol;
4982
5056
  }
4983
5057
  export interface IWql {
@@ -6421,7 +6495,6 @@ declare namespace $responses {
6421
6495
  '.wix.api.appendixFiles': $responses.wix.api.IServiceAppendix[];
6422
6496
  '.wix.api.event': $responses.wix.api.ICallback[];
6423
6497
  '.wix.api.eventDeprecated': $responses.wix.api.ICallbackDeprecation[];
6424
- '.wix.api.domainEvent': $responses.wix.api.IDomainEvent[];
6425
6498
  }
6426
6499
  export class ServiceOptions implements IServiceOptions {
6427
6500
  constructor(data?: IServiceOptions);
@@ -6434,7 +6507,6 @@ declare namespace $responses {
6434
6507
  '.wix.api.appendixFiles': $responses.wix.api.IServiceAppendix[];
6435
6508
  '.wix.api.event': $responses.wix.api.ICallback[];
6436
6509
  '.wix.api.eventDeprecated': $responses.wix.api.ICallbackDeprecation[];
6437
- '.wix.api.domainEvent': $responses.wix.api.IDomainEvent[];
6438
6510
  static __$$generatedFromProtobuf$$__: Symbol;
6439
6511
  }
6440
6512
  export interface IMethodOptions {
@@ -1282,6 +1282,7 @@ declare namespace $wrapper {
1282
1282
  appDefId?: (string | null);
1283
1283
  domainEvents?: ($wrapper.wix.api.IDomainEventOptions | null);
1284
1284
  taggable?: ($wrapper.wix.api.ITaggable | null);
1285
+ queryOptions?: ($wrapper.wix.api.IQueryOptions | null);
1285
1286
  }
1286
1287
  export class Entity implements IEntity {
1287
1288
  constructor(data?: IEntity);
@@ -1298,6 +1299,7 @@ declare namespace $wrapper {
1298
1299
  appDefId?: (string | null);
1299
1300
  domainEvents?: ($wrapper.wix.api.IDomainEventOptions | null);
1300
1301
  taggable?: ($wrapper.wix.api.ITaggable | null);
1302
+ queryOptions?: ($wrapper.wix.api.IQueryOptions | null);
1301
1303
  static __$$generatedFromProtobuf$$__: Symbol;
1302
1304
  }
1303
1305
  export interface IExtensible {
@@ -1347,6 +1349,30 @@ declare namespace $wrapper {
1347
1349
  constructor(data?: ITaggable);
1348
1350
  static __$$generatedFromProtobuf$$__: Symbol;
1349
1351
  }
1352
+ export interface IQueryOptions {
1353
+ wql?: ($wrapper.wix.api.IWql | null);
1354
+ search?: ($wrapper.wix.api.ISearch[] | null);
1355
+ additionalQueryOptions?: ($wrapper.wix.api.INamedQueryOptions[] | null);
1356
+ }
1357
+ export class QueryOptions implements IQueryOptions {
1358
+ constructor(data?: IQueryOptions);
1359
+ wql?: ($wrapper.wix.api.IWql | null);
1360
+ search?: ($wrapper.wix.api.ISearch[] | null);
1361
+ additionalQueryOptions?: ($wrapper.wix.api.INamedQueryOptions[] | null);
1362
+ static __$$generatedFromProtobuf$$__: Symbol;
1363
+ }
1364
+ export interface INamedQueryOptions {
1365
+ name?: (string | null);
1366
+ wql?: ($wrapper.wix.api.IWql | null);
1367
+ search?: ($wrapper.wix.api.ISearch[] | null);
1368
+ }
1369
+ export class NamedQueryOptions implements INamedQueryOptions {
1370
+ constructor(data?: INamedQueryOptions);
1371
+ name?: (string | null);
1372
+ wql?: ($wrapper.wix.api.IWql | null);
1373
+ search?: ($wrapper.wix.api.ISearch[] | null);
1374
+ static __$$generatedFromProtobuf$$__: Symbol;
1375
+ }
1350
1376
  export interface IReferenceEntityField {
1351
1377
  path?: (string | null);
1352
1378
  }
@@ -1546,6 +1572,7 @@ declare namespace $wrapper {
1546
1572
  itemsField?: (string | null);
1547
1573
  paging?: ($wrapper.wix.api.IPaging | null);
1548
1574
  wql?: ($wrapper.wix.api.IWql | null);
1575
+ queryOptionsName?: (string | null);
1549
1576
  meAliasableField?: (string[] | null);
1550
1577
  }
1551
1578
  export class QueryMethodOptions implements IQueryMethodOptions {
@@ -1554,6 +1581,7 @@ declare namespace $wrapper {
1554
1581
  itemsField?: (string | null);
1555
1582
  paging?: ($wrapper.wix.api.IPaging | null);
1556
1583
  wql?: ($wrapper.wix.api.IWql | null);
1584
+ queryOptionsName?: (string | null);
1557
1585
  meAliasableField?: (string[] | null);
1558
1586
  static __$$generatedFromProtobuf$$__: Symbol;
1559
1587
  }
@@ -1562,6 +1590,7 @@ declare namespace $wrapper {
1562
1590
  itemsField?: (string | null);
1563
1591
  paging?: ($wrapper.wix.api.IPaging | null);
1564
1592
  wql?: ($wrapper.wix.api.IWql | null);
1593
+ queryOptionsName?: (string | null);
1565
1594
  meAliasableField?: (string[] | null);
1566
1595
  search?: ($wrapper.wix.api.ISearch[] | null);
1567
1596
  }
@@ -1571,6 +1600,7 @@ declare namespace $wrapper {
1571
1600
  itemsField?: (string | null);
1572
1601
  paging?: ($wrapper.wix.api.IPaging | null);
1573
1602
  wql?: ($wrapper.wix.api.IWql | null);
1603
+ queryOptionsName?: (string | null);
1574
1604
  meAliasableField?: (string[] | null);
1575
1605
  search?: ($wrapper.wix.api.ISearch[] | null);
1576
1606
  static __$$generatedFromProtobuf$$__: Symbol;
@@ -1597,12 +1627,14 @@ declare namespace $wrapper {
1597
1627
  itemField?: (string | null);
1598
1628
  fieldmaskField?: (string | null);
1599
1629
  filterField?: (string | null);
1630
+ queryOptionsName?: (string | null);
1600
1631
  }
1601
1632
  export class BulkUpdateByFilterMethodOptions implements IBulkUpdateByFilterMethodOptions {
1602
1633
  constructor(data?: IBulkUpdateByFilterMethodOptions);
1603
1634
  itemField?: (string | null);
1604
1635
  fieldmaskField?: (string | null);
1605
1636
  filterField?: (string | null);
1637
+ queryOptionsName?: (string | null);
1606
1638
  static __$$generatedFromProtobuf$$__: Symbol;
1607
1639
  }
1608
1640
  export interface IBulkUpsertMethodOptions {
@@ -1625,10 +1657,12 @@ declare namespace $wrapper {
1625
1657
  }
1626
1658
  export interface IBulkDeleteByFilterMethodOptions {
1627
1659
  filterField?: (string | null);
1660
+ queryOptionsName?: (string | null);
1628
1661
  }
1629
1662
  export class BulkDeleteByFilterMethodOptions implements IBulkDeleteByFilterMethodOptions {
1630
1663
  constructor(data?: IBulkDeleteByFilterMethodOptions);
1631
1664
  filterField?: (string | null);
1665
+ queryOptionsName?: (string | null);
1632
1666
  static __$$generatedFromProtobuf$$__: Symbol;
1633
1667
  }
1634
1668
  export interface IListDeletedMethodOptions {
@@ -1675,18 +1709,22 @@ declare namespace $wrapper {
1675
1709
  }
1676
1710
  export interface ICountOptions {
1677
1711
  inheritWqlFrom?: (string | null);
1712
+ queryOptionsName?: (string | null);
1678
1713
  }
1679
1714
  export class CountOptions implements ICountOptions {
1680
1715
  constructor(data?: ICountOptions);
1681
1716
  inheritWqlFrom?: (string | null);
1717
+ queryOptionsName?: (string | null);
1682
1718
  static __$$generatedFromProtobuf$$__: Symbol;
1683
1719
  }
1684
1720
  export interface ISearchRelatedOptions {
1685
1721
  inheritWqlFrom?: (string | null);
1722
+ queryOptionsName?: (string | null);
1686
1723
  }
1687
1724
  export class SearchRelatedOptions implements ISearchRelatedOptions {
1688
1725
  constructor(data?: ISearchRelatedOptions);
1689
1726
  inheritWqlFrom?: (string | null);
1727
+ queryOptionsName?: (string | null);
1690
1728
  static __$$generatedFromProtobuf$$__: Symbol;
1691
1729
  }
1692
1730
  export interface IWql {
@@ -3130,7 +3168,6 @@ declare namespace $wrapper {
3130
3168
  '.wix.api.appendixFiles'?: ($wrapper.wix.api.IServiceAppendix[] | null);
3131
3169
  '.wix.api.event'?: ($wrapper.wix.api.ICallback[] | null);
3132
3170
  '.wix.api.eventDeprecated'?: ($wrapper.wix.api.ICallbackDeprecation[] | null);
3133
- '.wix.api.domainEvent'?: ($wrapper.wix.api.IDomainEvent[] | null);
3134
3171
  }
3135
3172
  export class ServiceOptions implements IServiceOptions {
3136
3173
  constructor(data?: IServiceOptions);
@@ -3143,7 +3180,6 @@ declare namespace $wrapper {
3143
3180
  '.wix.api.appendixFiles'?: ($wrapper.wix.api.IServiceAppendix[] | null);
3144
3181
  '.wix.api.event'?: ($wrapper.wix.api.ICallback[] | null);
3145
3182
  '.wix.api.eventDeprecated'?: ($wrapper.wix.api.ICallbackDeprecation[] | null);
3146
- '.wix.api.domainEvent'?: ($wrapper.wix.api.IDomainEvent[] | null);
3147
3183
  static __$$generatedFromProtobuf$$__: Symbol;
3148
3184
  }
3149
3185
  export interface IMethodOptions {