@wix/metro-common-builders 1.0.1773 → 1.0.1774

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.
@@ -1904,6 +1904,7 @@ declare namespace $requests {
1904
1904
  eventsMaturity: $requests.wix.api.Maturity;
1905
1905
  persistence?: $requests.wix.api.IPersistence;
1906
1906
  permissionOptions?: $requests.wix.api.IPermissionCatalogOptions;
1907
+ tenancy?: $requests.wix.api.ITenancyOptions;
1907
1908
  }
1908
1909
  export class Entity implements IEntity {
1909
1910
  constructor(data?: IEntity);
@@ -1925,6 +1926,7 @@ declare namespace $requests {
1925
1926
  eventsMaturity: $requests.wix.api.Maturity;
1926
1927
  persistence?: $requests.wix.api.IPersistence;
1927
1928
  permissionOptions?: $requests.wix.api.IPermissionCatalogOptions;
1929
+ tenancy?: $requests.wix.api.ITenancyOptions;
1928
1930
  static __$$generatedFromProtobuf$$__: Symbol;
1929
1931
  }
1930
1932
  export interface IPermissionCatalogOptions {
@@ -2537,6 +2539,7 @@ declare namespace $requests {
2537
2539
  NO_VIRTUAL_SUBFIELDS = "NO_VIRTUAL_SUBFIELDS",
2538
2540
  DATE = "DATE",
2539
2541
  EMAIL = "EMAIL",
2542
+ DATE_TIME = "DATE_TIME",
2540
2543
  }
2541
2544
  export interface IOperatorFieldSupport {
2542
2545
  operator: $requests.wix.api.Wql.Operator[];
@@ -2575,6 +2578,7 @@ declare namespace $requests {
2575
2578
  grouping: string;
2576
2579
  type: $requests.wix.api.Translatable.Type;
2577
2580
  displayOnly: boolean;
2581
+ index: number;
2578
2582
  }
2579
2583
  export class Translatable implements ITranslatable {
2580
2584
  constructor(data?: ITranslatable);
@@ -2583,6 +2587,7 @@ declare namespace $requests {
2583
2587
  grouping: string;
2584
2588
  type: $requests.wix.api.Translatable.Type;
2585
2589
  displayOnly: boolean;
2590
+ index: number;
2586
2591
  static __$$generatedFromProtobuf$$__: Symbol;
2587
2592
  }
2588
2593
  export namespace Translatable {
@@ -2639,6 +2644,113 @@ declare namespace $requests {
2639
2644
  GA = "GA",
2640
2645
  NOT_IMPLEMENTED = "NOT_IMPLEMENTED",
2641
2646
  }
2647
+ export interface IAudience {
2648
+ uou?: $requests.wix.api.Audience.IUou;
2649
+ apps?: $requests.wix.api.Audience.IApps;
2650
+ users?: $requests.wix.api.Audience.IUsers;
2651
+ boUsers?: $requests.wix.api.Audience.IBoUsers;
2652
+ anonymous?: $requests.wix.api.Audience.IAnonymous;
2653
+ }
2654
+ export class Audience implements IAudience {
2655
+ constructor(data?: IAudience);
2656
+ uou?: $requests.wix.api.Audience.IUou;
2657
+ apps?: $requests.wix.api.Audience.IApps;
2658
+ users?: $requests.wix.api.Audience.IUsers;
2659
+ boUsers?: $requests.wix.api.Audience.IBoUsers;
2660
+ anonymous?: $requests.wix.api.Audience.IAnonymous;
2661
+ static __$$generatedFromProtobuf$$__: Symbol;
2662
+ }
2663
+ export namespace Audience {
2664
+ export interface IUou {
2665
+ access: $requests.wix.api.Audience.Uou.Access;
2666
+ }
2667
+ export class Uou implements IUou {
2668
+ constructor(data?: IUou);
2669
+ access: $requests.wix.api.Audience.Uou.Access;
2670
+ static __$$generatedFromProtobuf$$__: Symbol;
2671
+ }
2672
+ export namespace Uou {
2673
+ export enum Access {
2674
+ NOT_ALLOWED = "NOT_ALLOWED",
2675
+ MEMBER_ONLY = "MEMBER_ONLY",
2676
+ MEMBERS_AND_VISITORS = "MEMBERS_AND_VISITORS",
2677
+ }
2678
+ }
2679
+ export interface IApps {
2680
+ access: $requests.wix.api.Audience.Apps.Access;
2681
+ }
2682
+ export class Apps implements IApps {
2683
+ constructor(data?: IApps);
2684
+ access: $requests.wix.api.Audience.Apps.Access;
2685
+ static __$$generatedFromProtobuf$$__: Symbol;
2686
+ }
2687
+ export namespace Apps {
2688
+ export enum Access {
2689
+ NOT_ALLOWED = "NOT_ALLOWED",
2690
+ WIX_APPS_ONLY = "WIX_APPS_ONLY",
2691
+ WIX_AND_PUBLIC_APPS = "WIX_AND_PUBLIC_APPS",
2692
+ }
2693
+ }
2694
+ export interface IUsers {
2695
+ access: $requests.wix.api.Audience.Users.Access;
2696
+ }
2697
+ export class Users implements IUsers {
2698
+ constructor(data?: IUsers);
2699
+ access: $requests.wix.api.Audience.Users.Access;
2700
+ static __$$generatedFromProtobuf$$__: Symbol;
2701
+ }
2702
+ export namespace Users {
2703
+ export enum Access {
2704
+ NOT_ALLOWED = "NOT_ALLOWED",
2705
+ ALLOWED = "ALLOWED",
2706
+ }
2707
+ }
2708
+ export interface IBoUsers {
2709
+ access: $requests.wix.api.Audience.BoUsers.Access;
2710
+ }
2711
+ export class BoUsers implements IBoUsers {
2712
+ constructor(data?: IBoUsers);
2713
+ access: $requests.wix.api.Audience.BoUsers.Access;
2714
+ static __$$generatedFromProtobuf$$__: Symbol;
2715
+ }
2716
+ export namespace BoUsers {
2717
+ export enum Access {
2718
+ NOT_ALLOWED = "NOT_ALLOWED",
2719
+ ALLOWED = "ALLOWED",
2720
+ }
2721
+ }
2722
+ export interface IAnonymous {
2723
+ access: $requests.wix.api.Audience.Anonymous.Access;
2724
+ }
2725
+ export class Anonymous implements IAnonymous {
2726
+ constructor(data?: IAnonymous);
2727
+ access: $requests.wix.api.Audience.Anonymous.Access;
2728
+ static __$$generatedFromProtobuf$$__: Symbol;
2729
+ }
2730
+ export namespace Anonymous {
2731
+ export enum Access {
2732
+ NOT_ALLOWED = "NOT_ALLOWED",
2733
+ ALLOWED = "ALLOWED",
2734
+ }
2735
+ }
2736
+ }
2737
+ export interface ITenancyOptions {
2738
+ type: $requests.wix.api.TenancyOptions.Type;
2739
+ }
2740
+ export class TenancyOptions implements ITenancyOptions {
2741
+ constructor(data?: ITenancyOptions);
2742
+ type: $requests.wix.api.TenancyOptions.Type;
2743
+ static __$$generatedFromProtobuf$$__: Symbol;
2744
+ }
2745
+ export namespace TenancyOptions {
2746
+ export enum Type {
2747
+ SITE = "SITE",
2748
+ ACCOUNT = "ACCOUNT",
2749
+ ORGANIZATION = "ORGANIZATION",
2750
+ CUSTOM = "CUSTOM",
2751
+ INSTANCE = "INSTANCE",
2752
+ }
2753
+ }
2642
2754
  export interface ICallback {
2643
2755
  topic: string;
2644
2756
  segment: $requests.wix.api.Segment.SegmentName;
@@ -2647,6 +2759,7 @@ declare namespace $requests {
2647
2759
  eventType: $requests.wix.api.Callback.EventType;
2648
2760
  exposure: $requests.wix.api.Exposure;
2649
2761
  maturity: $requests.wix.api.Maturity;
2762
+ tenancy: $requests.wix.api.Tenancy;
2650
2763
  }
2651
2764
  export class Callback implements ICallback {
2652
2765
  constructor(data?: ICallback);
@@ -2657,6 +2770,7 @@ declare namespace $requests {
2657
2770
  eventType: $requests.wix.api.Callback.EventType;
2658
2771
  exposure: $requests.wix.api.Exposure;
2659
2772
  maturity: $requests.wix.api.Maturity;
2773
+ tenancy: $requests.wix.api.Tenancy;
2660
2774
  static __$$generatedFromProtobuf$$__: Symbol;
2661
2775
  }
2662
2776
  export namespace Callback {
@@ -2733,6 +2847,14 @@ declare namespace $requests {
2733
2847
  payload: string;
2734
2848
  static __$$generatedFromProtobuf$$__: Symbol;
2735
2849
  }
2850
+ /**
2851
+ * Indicates the callback tenancy
2852
+ */
2853
+ export enum Tenancy {
2854
+ SITE = "SITE",
2855
+ ACCOUNT = "ACCOUNT",
2856
+ GLOBAL = "GLOBAL",
2857
+ }
2736
2858
  export interface ISegment {
2737
2859
  }
2738
2860
  export class Segment implements ISegment {
@@ -2776,11 +2898,13 @@ declare namespace $requests {
2776
2898
  export interface IAlignedWithEnum {
2777
2899
  field: string;
2778
2900
  suffix: string;
2901
+ skipEmptyOptionsHandling: boolean;
2779
2902
  }
2780
2903
  export class AlignedWithEnum implements IAlignedWithEnum {
2781
2904
  constructor(data?: IAlignedWithEnum);
2782
2905
  field: string;
2783
2906
  suffix: string;
2907
+ skipEmptyOptionsHandling: boolean;
2784
2908
  static __$$generatedFromProtobuf$$__: Symbol;
2785
2909
  }
2786
2910
  export enum Format {
@@ -2881,22 +3005,29 @@ declare namespace $requests {
2881
3005
  export interface IPermissionRule {
2882
3006
  name: string;
2883
3007
  type: $requests.wix.api.PermissionType;
2884
- abacRequestValidation: $requests.wix.api.AbacRequestValidationMode;
3008
+ abacWriteInputValidation: $requests.wix.api.AbacWriteInputValidationMode;
2885
3009
  }
2886
3010
  export class PermissionRule implements IPermissionRule {
2887
3011
  constructor(data?: IPermissionRule);
2888
3012
  name: string;
2889
3013
  type: $requests.wix.api.PermissionType;
2890
- abacRequestValidation: $requests.wix.api.AbacRequestValidationMode;
3014
+ abacWriteInputValidation: $requests.wix.api.AbacWriteInputValidationMode;
2891
3015
  static __$$generatedFromProtobuf$$__: Symbol;
2892
3016
  }
2893
3017
  export enum PermissionType {
2894
3018
  AUTO = "AUTO",
2895
3019
  MANUAL = "MANUAL",
2896
3020
  }
2897
- export enum AbacRequestValidationMode {
2898
- ON = "ON",
2899
- OFF = "OFF",
3021
+ export enum AbacWriteInputValidationMode {
3022
+ AUTO_CHECK = "AUTO_CHECK",
3023
+ MANUAL_CHECK = "MANUAL_CHECK",
3024
+ }
3025
+ export enum DomainEventFilter {
3026
+ UNDEFINED_FILTER_TYPE = "UNDEFINED_FILTER_TYPE",
3027
+ CREATED = "CREATED",
3028
+ UPDATED = "UPDATED",
3029
+ DELETED = "DELETED",
3030
+ ACTION = "ACTION",
2900
3031
  }
2901
3032
  export interface ISubscription {
2902
3033
  topic: string;
@@ -2904,6 +3035,7 @@ declare namespace $requests {
2904
3035
  batch: boolean;
2905
3036
  entity: string;
2906
3037
  dynamic: boolean;
3038
+ domainEventFilters: $requests.wix.api.DomainEventFilter[];
2907
3039
  }
2908
3040
  export class Subscription implements ISubscription {
2909
3041
  constructor(data?: ISubscription);
@@ -2912,6 +3044,7 @@ declare namespace $requests {
2912
3044
  batch: boolean;
2913
3045
  entity: string;
2914
3046
  dynamic: boolean;
3047
+ domainEventFilters: $requests.wix.api.DomainEventFilter[];
2915
3048
  static __$$generatedFromProtobuf$$__: Symbol;
2916
3049
  }
2917
3050
  export interface IActionPayload {
@@ -3046,6 +3179,30 @@ declare namespace $requests {
3046
3179
  fields: string[];
3047
3180
  static __$$generatedFromProtobuf$$__: Symbol;
3048
3181
  }
3182
+ export interface ISearchSuggest {
3183
+ suggest?: $requests.wix.common.ISearchSuggestDetails;
3184
+ sort: $requests.wix.common.ISorting[];
3185
+ filter?: { [key: string]: any };
3186
+ limit?: number;
3187
+ }
3188
+ export class SearchSuggest implements ISearchSuggest {
3189
+ constructor(data?: ISearchSuggest);
3190
+ suggest?: $requests.wix.common.ISearchSuggestDetails;
3191
+ sort: $requests.wix.common.ISorting[];
3192
+ filter?: { [key: string]: any };
3193
+ limit?: number;
3194
+ static __$$generatedFromProtobuf$$__: Symbol;
3195
+ }
3196
+ export interface ISearchSuggestDetails {
3197
+ expression: string;
3198
+ fields: string[];
3199
+ }
3200
+ export class SearchSuggestDetails implements ISearchSuggestDetails {
3201
+ constructor(data?: ISearchSuggestDetails);
3202
+ expression: string;
3203
+ fields: string[];
3204
+ static __$$generatedFromProtobuf$$__: Symbol;
3205
+ }
3049
3206
  export interface ISearchDetails {
3050
3207
  mode: $requests.wix.common.SearchDetails.Mode;
3051
3208
  expression?: string;
@@ -3073,6 +3230,7 @@ declare namespace $requests {
3073
3230
  SCALAR = "SCALAR",
3074
3231
  DATE_HISTOGRAM = "DATE_HISTOGRAM",
3075
3232
  NESTED = "NESTED",
3233
+ GEOTILE_GRID = "GEOTILE_GRID",
3076
3234
  }
3077
3235
  export enum ScalarType {
3078
3236
  UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE",
@@ -3091,6 +3249,7 @@ declare namespace $requests {
3091
3249
  scalar?: $requests.wix.common.Aggregation.IScalarAggregation;
3092
3250
  dateHistogram?: $requests.wix.common.Aggregation.IDateHistogramAggregation;
3093
3251
  nested?: $requests.wix.common.Aggregation.INestedAggregation;
3252
+ geotileGrid?: $requests.wix.common.Aggregation.IGeotileGridAggregation;
3094
3253
  groupBy?: $requests.wix.common.Aggregation.IGroupByAggregation;
3095
3254
  }
3096
3255
  export class Aggregation implements IAggregation {
@@ -3103,6 +3262,7 @@ declare namespace $requests {
3103
3262
  scalar?: $requests.wix.common.Aggregation.IScalarAggregation;
3104
3263
  dateHistogram?: $requests.wix.common.Aggregation.IDateHistogramAggregation;
3105
3264
  nested?: $requests.wix.common.Aggregation.INestedAggregation;
3265
+ geotileGrid?: $requests.wix.common.Aggregation.IGeotileGridAggregation;
3106
3266
  groupBy?: $requests.wix.common.Aggregation.IGroupByAggregation;
3107
3267
  static __$$generatedFromProtobuf$$__: Symbol;
3108
3268
  }
@@ -3242,6 +3402,14 @@ declare namespace $requests {
3242
3402
  SECOND = "SECOND",
3243
3403
  }
3244
3404
  }
3405
+ export interface IGeotileGridAggregation {
3406
+ precision: number;
3407
+ }
3408
+ export class GeotileGridAggregation implements IGeotileGridAggregation {
3409
+ constructor(data?: IGeotileGridAggregation);
3410
+ precision: number;
3411
+ static __$$generatedFromProtobuf$$__: Symbol;
3412
+ }
3245
3413
  }
3246
3414
  export interface IAggregationData {
3247
3415
  results: $requests.wix.common.AggregationData.IAggregationResults[];
@@ -3262,6 +3430,8 @@ declare namespace $requests {
3262
3430
  groupedByValue?: $requests.wix.common.AggregationData.AggregationResults.IGroupByValueResults;
3263
3431
  dateHistogram?: $requests.wix.common.AggregationData.AggregationResults.IDateHistogramResults;
3264
3432
  nested?: $requests.wix.common.AggregationData.AggregationResults.INestedResults;
3433
+ scalarDate?: $requests.wix.common.AggregationData.AggregationResults.IScalarDateResult;
3434
+ geotileGrid?: $requests.wix.common.AggregationData.AggregationResults.IGeotileGridResults;
3265
3435
  }
3266
3436
  export class AggregationResults implements IAggregationResults {
3267
3437
  constructor(data?: IAggregationResults);
@@ -3274,6 +3444,8 @@ declare namespace $requests {
3274
3444
  groupedByValue?: $requests.wix.common.AggregationData.AggregationResults.IGroupByValueResults;
3275
3445
  dateHistogram?: $requests.wix.common.AggregationData.AggregationResults.IDateHistogramResults;
3276
3446
  nested?: $requests.wix.common.AggregationData.AggregationResults.INestedResults;
3447
+ scalarDate?: $requests.wix.common.AggregationData.AggregationResults.IScalarDateResult;
3448
+ geotileGrid?: $requests.wix.common.AggregationData.AggregationResults.IGeotileGridResults;
3277
3449
  static __$$generatedFromProtobuf$$__: Symbol;
3278
3450
  }
3279
3451
  export namespace AggregationResults {
@@ -3329,6 +3501,16 @@ declare namespace $requests {
3329
3501
  value: number;
3330
3502
  static __$$generatedFromProtobuf$$__: Symbol;
3331
3503
  }
3504
+ export interface IScalarDateResult {
3505
+ type: $requests.wix.common.ScalarType;
3506
+ value: string;
3507
+ }
3508
+ export class ScalarDateResult implements IScalarDateResult {
3509
+ constructor(data?: IScalarDateResult);
3510
+ type: $requests.wix.common.ScalarType;
3511
+ value: string;
3512
+ static __$$generatedFromProtobuf$$__: Symbol;
3513
+ }
3332
3514
  export interface IGroupByValueResults {
3333
3515
  results: $requests.wix.common.AggregationData.AggregationResults.GroupByValueResults.INestedValueAggregationResult[];
3334
3516
  }
@@ -3406,11 +3588,20 @@ declare namespace $requests {
3406
3588
  value: number;
3407
3589
  static __$$generatedFromProtobuf$$__: Symbol;
3408
3590
  }
3591
+ export interface IScalarDateResult {
3592
+ value: string;
3593
+ }
3594
+ export class ScalarDateResult implements IScalarDateResult {
3595
+ constructor(data?: IScalarDateResult);
3596
+ value: string;
3597
+ static __$$generatedFromProtobuf$$__: Symbol;
3598
+ }
3409
3599
  export interface INestedResultValue {
3410
3600
  value?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
3411
3601
  range?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IRangeResult;
3412
3602
  scalar?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IScalarResult;
3413
3603
  dateHistogram?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
3604
+ scalarDate?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IScalarDateResult;
3414
3605
  }
3415
3606
  export class NestedResultValue implements INestedResultValue {
3416
3607
  constructor(data?: INestedResultValue);
@@ -3418,6 +3609,7 @@ declare namespace $requests {
3418
3609
  range?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IRangeResult;
3419
3610
  scalar?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IScalarResult;
3420
3611
  dateHistogram?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
3612
+ scalarDate?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IScalarDateResult;
3421
3613
  static __$$generatedFromProtobuf$$__: Symbol;
3422
3614
  }
3423
3615
  export interface IResults {
@@ -3449,8 +3641,172 @@ declare namespace $requests {
3449
3641
  static __$$generatedFromProtobuf$$__: Symbol;
3450
3642
  }
3451
3643
  }
3644
+ export interface IGeotileGridResults {
3645
+ results: $requests.wix.common.AggregationData.AggregationResults.GeotileGridResults.IGeotileGridBucket[];
3646
+ }
3647
+ export class GeotileGridResults implements IGeotileGridResults {
3648
+ constructor(data?: IGeotileGridResults);
3649
+ results: $requests.wix.common.AggregationData.AggregationResults.GeotileGridResults.IGeotileGridBucket[];
3650
+ static __$$generatedFromProtobuf$$__: Symbol;
3651
+ }
3652
+ export namespace GeotileGridResults {
3653
+ export interface IGeotileGridBucket {
3654
+ tileKey: string;
3655
+ count: number;
3656
+ centroid?: $requests.wix.common.IAddressLocation;
3657
+ }
3658
+ export class GeotileGridBucket implements IGeotileGridBucket {
3659
+ constructor(data?: IGeotileGridBucket);
3660
+ tileKey: string;
3661
+ count: number;
3662
+ centroid?: $requests.wix.common.IAddressLocation;
3663
+ static __$$generatedFromProtobuf$$__: Symbol;
3664
+ }
3665
+ }
3666
+ }
3667
+ }
3668
+ export interface IAddress {
3669
+ country?: string;
3670
+ subdivision?: string;
3671
+ subdivisionIso31662?: string;
3672
+ city?: string;
3673
+ postalCode?: string;
3674
+ streetAddress?: $requests.wix.common.IStreetAddress;
3675
+ addressLine?: string;
3676
+ addressLine2?: string;
3677
+ formattedAddress?: string;
3678
+ hint?: string;
3679
+ geocode?: $requests.wix.common.IAddressLocation;
3680
+ countryFullname?: string;
3681
+ subdivisionFullname?: string;
3682
+ subdivisions: $requests.wix.common.ISubdivision[];
3683
+ }
3684
+ export class Address implements IAddress {
3685
+ constructor(data?: IAddress);
3686
+ country?: string;
3687
+ subdivision?: string;
3688
+ subdivisionIso31662?: string;
3689
+ city?: string;
3690
+ postalCode?: string;
3691
+ streetAddress?: $requests.wix.common.IStreetAddress;
3692
+ addressLine?: string;
3693
+ addressLine2?: string;
3694
+ formattedAddress?: string;
3695
+ hint?: string;
3696
+ geocode?: $requests.wix.common.IAddressLocation;
3697
+ countryFullname?: string;
3698
+ subdivisionFullname?: string;
3699
+ subdivisions: $requests.wix.common.ISubdivision[];
3700
+ static __$$generatedFromProtobuf$$__: Symbol;
3701
+ }
3702
+ export interface ISubdivision {
3703
+ code: string;
3704
+ name: string;
3705
+ type: $requests.wix.common.Subdivision.SubdivisionType;
3706
+ typeInfo?: string;
3707
+ standardDetails?: $requests.wix.common.Subdivision.IStandardDetails;
3708
+ }
3709
+ export class Subdivision implements ISubdivision {
3710
+ constructor(data?: ISubdivision);
3711
+ code: string;
3712
+ name: string;
3713
+ type: $requests.wix.common.Subdivision.SubdivisionType;
3714
+ typeInfo?: string;
3715
+ standardDetails?: $requests.wix.common.Subdivision.IStandardDetails;
3716
+ static __$$generatedFromProtobuf$$__: Symbol;
3717
+ }
3718
+ export namespace Subdivision {
3719
+ export enum SubdivisionType {
3720
+ UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
3721
+ ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
3722
+ ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
3723
+ ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
3724
+ ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
3725
+ ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
3726
+ COUNTRY = "COUNTRY",
3727
+ }
3728
+ export interface IStandardDetails {
3729
+ iso31662?: string;
3730
+ }
3731
+ export class StandardDetails implements IStandardDetails {
3732
+ constructor(data?: IStandardDetails);
3733
+ iso31662?: string;
3734
+ static __$$generatedFromProtobuf$$__: Symbol;
3452
3735
  }
3453
3736
  }
3737
+ export interface IStreetAddress {
3738
+ number: string;
3739
+ name: string;
3740
+ apt: string;
3741
+ formattedAddressLine?: string;
3742
+ }
3743
+ export class StreetAddress implements IStreetAddress {
3744
+ constructor(data?: IStreetAddress);
3745
+ number: string;
3746
+ name: string;
3747
+ apt: string;
3748
+ formattedAddressLine?: string;
3749
+ static __$$generatedFromProtobuf$$__: Symbol;
3750
+ }
3751
+ export interface IAddressContactDetails {
3752
+ fullName?: string;
3753
+ phone?: string;
3754
+ company?: string;
3755
+ email?: string;
3756
+ }
3757
+ export class AddressContactDetails implements IAddressContactDetails {
3758
+ constructor(data?: IAddressContactDetails);
3759
+ fullName?: string;
3760
+ phone?: string;
3761
+ company?: string;
3762
+ email?: string;
3763
+ static __$$generatedFromProtobuf$$__: Symbol;
3764
+ }
3765
+ export interface IFullAddressContactDetails {
3766
+ firstName?: string;
3767
+ lastName?: string;
3768
+ fullName?: string;
3769
+ phone?: string;
3770
+ company?: string;
3771
+ email?: string;
3772
+ vatId?: $requests.wix.common.IVatId;
3773
+ }
3774
+ export class FullAddressContactDetails implements IFullAddressContactDetails {
3775
+ constructor(data?: IFullAddressContactDetails);
3776
+ firstName?: string;
3777
+ lastName?: string;
3778
+ fullName?: string;
3779
+ phone?: string;
3780
+ company?: string;
3781
+ email?: string;
3782
+ vatId?: $requests.wix.common.IVatId;
3783
+ static __$$generatedFromProtobuf$$__: Symbol;
3784
+ }
3785
+ export interface IVatId {
3786
+ id: string;
3787
+ type: $requests.wix.common.VatType;
3788
+ }
3789
+ export class VatId implements IVatId {
3790
+ constructor(data?: IVatId);
3791
+ id: string;
3792
+ type: $requests.wix.common.VatType;
3793
+ static __$$generatedFromProtobuf$$__: Symbol;
3794
+ }
3795
+ export enum VatType {
3796
+ UNSPECIFIED = "UNSPECIFIED",
3797
+ CPF = "CPF",
3798
+ CNPJ = "CNPJ",
3799
+ }
3800
+ export interface IAddressLocation {
3801
+ latitude?: number;
3802
+ longitude?: number;
3803
+ }
3804
+ export class AddressLocation implements IAddressLocation {
3805
+ constructor(data?: IAddressLocation);
3806
+ latitude?: number;
3807
+ longitude?: number;
3808
+ static __$$generatedFromProtobuf$$__: Symbol;
3809
+ }
3454
3810
  export interface IPaging {
3455
3811
  limit?: number;
3456
3812
  offset?: number;
@@ -3533,12 +3889,14 @@ declare namespace $requests {
3533
3889
  fieldName: string;
3534
3890
  order: $requests.wix.common.SortOrder;
3535
3891
  selectItemsBy: { [key: string]: any }[];
3892
+ origin?: $requests.wix.common.IAddressLocation;
3536
3893
  }
3537
3894
  export class Sorting implements ISorting {
3538
3895
  constructor(data?: ISorting);
3539
3896
  fieldName: string;
3540
3897
  order: $requests.wix.common.SortOrder;
3541
3898
  selectItemsBy: { [key: string]: any }[];
3899
+ origin?: $requests.wix.common.IAddressLocation;
3542
3900
  static __$$generatedFromProtobuf$$__: Symbol;
3543
3901
  }
3544
3902
  export enum SortOrder {
@@ -3989,6 +4347,7 @@ declare namespace $requests {
3989
4347
  '.wix.api.serviceEntity'?: $requests.wix.api.IServiceEntity;
3990
4348
  '.wix.api.serviceMaturity': $requests.wix.api.Maturity;
3991
4349
  '.wix.api.serviceExposure': $requests.wix.api.Exposure;
4350
+ '.wix.api.serviceTenancy'?: $requests.wix.api.ITenancyOptions;
3992
4351
  '.wix.api.serviceDeprecated'?: $requests.wix.api.IDeprecated;
3993
4352
  '.wix.api.appendixFiles': $requests.wix.api.IServiceAppendix[];
3994
4353
  '.wix.api.event': $requests.wix.api.ICallback[];
@@ -4002,6 +4361,7 @@ declare namespace $requests {
4002
4361
  '.wix.api.serviceEntity'?: $requests.wix.api.IServiceEntity;
4003
4362
  '.wix.api.serviceMaturity': $requests.wix.api.Maturity;
4004
4363
  '.wix.api.serviceExposure': $requests.wix.api.Exposure;
4364
+ '.wix.api.serviceTenancy'?: $requests.wix.api.ITenancyOptions;
4005
4365
  '.wix.api.serviceDeprecated'?: $requests.wix.api.IDeprecated;
4006
4366
  '.wix.api.appendixFiles': $requests.wix.api.IServiceAppendix[];
4007
4367
  '.wix.api.event': $requests.wix.api.ICallback[];
@@ -4019,6 +4379,8 @@ declare namespace $requests {
4019
4379
  '.wix.api.deprecated'?: $requests.wix.api.IDeprecated;
4020
4380
  '.wix.api.crud'?: $requests.wix.api.ICrud;
4021
4381
  '.wix.api.acceptsLinguist': boolean;
4382
+ '.wix.api.audience'?: $requests.wix.api.IAudience;
4383
+ '.wix.api.tenancy'?: $requests.wix.api.ITenancyOptions;
4022
4384
  '.wix.api.callback': $requests.wix.api.ICallback[];
4023
4385
  '.wix.api.emits': $requests.wix.api.IEmits[];
4024
4386
  '.wix.api.required': string[];
@@ -4044,6 +4406,8 @@ declare namespace $requests {
4044
4406
  '.wix.api.deprecated'?: $requests.wix.api.IDeprecated;
4045
4407
  '.wix.api.crud'?: $requests.wix.api.ICrud;
4046
4408
  '.wix.api.acceptsLinguist': boolean;
4409
+ '.wix.api.audience'?: $requests.wix.api.IAudience;
4410
+ '.wix.api.tenancy'?: $requests.wix.api.ITenancyOptions;
4047
4411
  '.wix.api.callback': $requests.wix.api.ICallback[];
4048
4412
  '.wix.api.emits': $requests.wix.api.IEmits[];
4049
4413
  '.wix.api.required': string[];
@@ -6164,6 +6528,7 @@ declare namespace $responses {
6164
6528
  eventsMaturity?: $responses.wix.api.Maturity;
6165
6529
  persistence?: $responses.wix.api.IPersistence;
6166
6530
  permissionOptions?: $responses.wix.api.IPermissionCatalogOptions;
6531
+ tenancy?: $responses.wix.api.ITenancyOptions;
6167
6532
  }
6168
6533
  export class Entity implements IEntity {
6169
6534
  constructor(data?: IEntity);
@@ -6185,6 +6550,7 @@ declare namespace $responses {
6185
6550
  eventsMaturity?: $responses.wix.api.Maturity;
6186
6551
  persistence?: $responses.wix.api.IPersistence;
6187
6552
  permissionOptions?: $responses.wix.api.IPermissionCatalogOptions;
6553
+ tenancy?: $responses.wix.api.ITenancyOptions;
6188
6554
  static __$$generatedFromProtobuf$$__: Symbol;
6189
6555
  }
6190
6556
  export interface IPermissionCatalogOptions {
@@ -6797,6 +7163,7 @@ declare namespace $responses {
6797
7163
  NO_VIRTUAL_SUBFIELDS = "NO_VIRTUAL_SUBFIELDS",
6798
7164
  DATE = "DATE",
6799
7165
  EMAIL = "EMAIL",
7166
+ DATE_TIME = "DATE_TIME",
6800
7167
  }
6801
7168
  export interface IOperatorFieldSupport {
6802
7169
  operator?: $responses.wix.api.Wql.Operator[];
@@ -6835,6 +7202,7 @@ declare namespace $responses {
6835
7202
  grouping?: string;
6836
7203
  type?: $responses.wix.api.Translatable.Type;
6837
7204
  displayOnly?: boolean;
7205
+ index?: number;
6838
7206
  }
6839
7207
  export class Translatable implements ITranslatable {
6840
7208
  constructor(data?: ITranslatable);
@@ -6843,6 +7211,7 @@ declare namespace $responses {
6843
7211
  grouping?: string;
6844
7212
  type?: $responses.wix.api.Translatable.Type;
6845
7213
  displayOnly?: boolean;
7214
+ index?: number;
6846
7215
  static __$$generatedFromProtobuf$$__: Symbol;
6847
7216
  }
6848
7217
  export namespace Translatable {
@@ -6899,6 +7268,113 @@ declare namespace $responses {
6899
7268
  GA = "GA",
6900
7269
  NOT_IMPLEMENTED = "NOT_IMPLEMENTED",
6901
7270
  }
7271
+ export interface IAudience {
7272
+ uou?: $responses.wix.api.Audience.IUou;
7273
+ apps?: $responses.wix.api.Audience.IApps;
7274
+ users?: $responses.wix.api.Audience.IUsers;
7275
+ boUsers?: $responses.wix.api.Audience.IBoUsers;
7276
+ anonymous?: $responses.wix.api.Audience.IAnonymous;
7277
+ }
7278
+ export class Audience implements IAudience {
7279
+ constructor(data?: IAudience);
7280
+ uou?: $responses.wix.api.Audience.IUou;
7281
+ apps?: $responses.wix.api.Audience.IApps;
7282
+ users?: $responses.wix.api.Audience.IUsers;
7283
+ boUsers?: $responses.wix.api.Audience.IBoUsers;
7284
+ anonymous?: $responses.wix.api.Audience.IAnonymous;
7285
+ static __$$generatedFromProtobuf$$__: Symbol;
7286
+ }
7287
+ export namespace Audience {
7288
+ export interface IUou {
7289
+ access?: $responses.wix.api.Audience.Uou.Access;
7290
+ }
7291
+ export class Uou implements IUou {
7292
+ constructor(data?: IUou);
7293
+ access?: $responses.wix.api.Audience.Uou.Access;
7294
+ static __$$generatedFromProtobuf$$__: Symbol;
7295
+ }
7296
+ export namespace Uou {
7297
+ export enum Access {
7298
+ NOT_ALLOWED = "NOT_ALLOWED",
7299
+ MEMBER_ONLY = "MEMBER_ONLY",
7300
+ MEMBERS_AND_VISITORS = "MEMBERS_AND_VISITORS",
7301
+ }
7302
+ }
7303
+ export interface IApps {
7304
+ access?: $responses.wix.api.Audience.Apps.Access;
7305
+ }
7306
+ export class Apps implements IApps {
7307
+ constructor(data?: IApps);
7308
+ access?: $responses.wix.api.Audience.Apps.Access;
7309
+ static __$$generatedFromProtobuf$$__: Symbol;
7310
+ }
7311
+ export namespace Apps {
7312
+ export enum Access {
7313
+ NOT_ALLOWED = "NOT_ALLOWED",
7314
+ WIX_APPS_ONLY = "WIX_APPS_ONLY",
7315
+ WIX_AND_PUBLIC_APPS = "WIX_AND_PUBLIC_APPS",
7316
+ }
7317
+ }
7318
+ export interface IUsers {
7319
+ access?: $responses.wix.api.Audience.Users.Access;
7320
+ }
7321
+ export class Users implements IUsers {
7322
+ constructor(data?: IUsers);
7323
+ access?: $responses.wix.api.Audience.Users.Access;
7324
+ static __$$generatedFromProtobuf$$__: Symbol;
7325
+ }
7326
+ export namespace Users {
7327
+ export enum Access {
7328
+ NOT_ALLOWED = "NOT_ALLOWED",
7329
+ ALLOWED = "ALLOWED",
7330
+ }
7331
+ }
7332
+ export interface IBoUsers {
7333
+ access?: $responses.wix.api.Audience.BoUsers.Access;
7334
+ }
7335
+ export class BoUsers implements IBoUsers {
7336
+ constructor(data?: IBoUsers);
7337
+ access?: $responses.wix.api.Audience.BoUsers.Access;
7338
+ static __$$generatedFromProtobuf$$__: Symbol;
7339
+ }
7340
+ export namespace BoUsers {
7341
+ export enum Access {
7342
+ NOT_ALLOWED = "NOT_ALLOWED",
7343
+ ALLOWED = "ALLOWED",
7344
+ }
7345
+ }
7346
+ export interface IAnonymous {
7347
+ access?: $responses.wix.api.Audience.Anonymous.Access;
7348
+ }
7349
+ export class Anonymous implements IAnonymous {
7350
+ constructor(data?: IAnonymous);
7351
+ access?: $responses.wix.api.Audience.Anonymous.Access;
7352
+ static __$$generatedFromProtobuf$$__: Symbol;
7353
+ }
7354
+ export namespace Anonymous {
7355
+ export enum Access {
7356
+ NOT_ALLOWED = "NOT_ALLOWED",
7357
+ ALLOWED = "ALLOWED",
7358
+ }
7359
+ }
7360
+ }
7361
+ export interface ITenancyOptions {
7362
+ type?: $responses.wix.api.TenancyOptions.Type;
7363
+ }
7364
+ export class TenancyOptions implements ITenancyOptions {
7365
+ constructor(data?: ITenancyOptions);
7366
+ type?: $responses.wix.api.TenancyOptions.Type;
7367
+ static __$$generatedFromProtobuf$$__: Symbol;
7368
+ }
7369
+ export namespace TenancyOptions {
7370
+ export enum Type {
7371
+ SITE = "SITE",
7372
+ ACCOUNT = "ACCOUNT",
7373
+ ORGANIZATION = "ORGANIZATION",
7374
+ CUSTOM = "CUSTOM",
7375
+ INSTANCE = "INSTANCE",
7376
+ }
7377
+ }
6902
7378
  export interface ICallback {
6903
7379
  topic?: string;
6904
7380
  segment?: $responses.wix.api.Segment.SegmentName;
@@ -6907,6 +7383,7 @@ declare namespace $responses {
6907
7383
  eventType?: $responses.wix.api.Callback.EventType;
6908
7384
  exposure?: $responses.wix.api.Exposure;
6909
7385
  maturity?: $responses.wix.api.Maturity;
7386
+ tenancy?: $responses.wix.api.Tenancy;
6910
7387
  }
6911
7388
  export class Callback implements ICallback {
6912
7389
  constructor(data?: ICallback);
@@ -6917,6 +7394,7 @@ declare namespace $responses {
6917
7394
  eventType?: $responses.wix.api.Callback.EventType;
6918
7395
  exposure?: $responses.wix.api.Exposure;
6919
7396
  maturity?: $responses.wix.api.Maturity;
7397
+ tenancy?: $responses.wix.api.Tenancy;
6920
7398
  static __$$generatedFromProtobuf$$__: Symbol;
6921
7399
  }
6922
7400
  export namespace Callback {
@@ -6993,6 +7471,14 @@ declare namespace $responses {
6993
7471
  payload?: string;
6994
7472
  static __$$generatedFromProtobuf$$__: Symbol;
6995
7473
  }
7474
+ /**
7475
+ * Indicates the callback tenancy
7476
+ */
7477
+ export enum Tenancy {
7478
+ SITE = "SITE",
7479
+ ACCOUNT = "ACCOUNT",
7480
+ GLOBAL = "GLOBAL",
7481
+ }
6996
7482
  export interface ISegment {
6997
7483
  }
6998
7484
  export class Segment implements ISegment {
@@ -7036,11 +7522,13 @@ declare namespace $responses {
7036
7522
  export interface IAlignedWithEnum {
7037
7523
  field?: string;
7038
7524
  suffix?: string;
7525
+ skipEmptyOptionsHandling?: boolean;
7039
7526
  }
7040
7527
  export class AlignedWithEnum implements IAlignedWithEnum {
7041
7528
  constructor(data?: IAlignedWithEnum);
7042
7529
  field?: string;
7043
7530
  suffix?: string;
7531
+ skipEmptyOptionsHandling?: boolean;
7044
7532
  static __$$generatedFromProtobuf$$__: Symbol;
7045
7533
  }
7046
7534
  export enum Format {
@@ -7141,22 +7629,29 @@ declare namespace $responses {
7141
7629
  export interface IPermissionRule {
7142
7630
  name?: string;
7143
7631
  type?: $responses.wix.api.PermissionType;
7144
- abacRequestValidation?: $responses.wix.api.AbacRequestValidationMode;
7632
+ abacWriteInputValidation?: $responses.wix.api.AbacWriteInputValidationMode;
7145
7633
  }
7146
7634
  export class PermissionRule implements IPermissionRule {
7147
7635
  constructor(data?: IPermissionRule);
7148
7636
  name?: string;
7149
7637
  type?: $responses.wix.api.PermissionType;
7150
- abacRequestValidation?: $responses.wix.api.AbacRequestValidationMode;
7638
+ abacWriteInputValidation?: $responses.wix.api.AbacWriteInputValidationMode;
7151
7639
  static __$$generatedFromProtobuf$$__: Symbol;
7152
7640
  }
7153
7641
  export enum PermissionType {
7154
7642
  AUTO = "AUTO",
7155
7643
  MANUAL = "MANUAL",
7156
7644
  }
7157
- export enum AbacRequestValidationMode {
7158
- ON = "ON",
7159
- OFF = "OFF",
7645
+ export enum AbacWriteInputValidationMode {
7646
+ AUTO_CHECK = "AUTO_CHECK",
7647
+ MANUAL_CHECK = "MANUAL_CHECK",
7648
+ }
7649
+ export enum DomainEventFilter {
7650
+ UNDEFINED_FILTER_TYPE = "UNDEFINED_FILTER_TYPE",
7651
+ CREATED = "CREATED",
7652
+ UPDATED = "UPDATED",
7653
+ DELETED = "DELETED",
7654
+ ACTION = "ACTION",
7160
7655
  }
7161
7656
  export interface ISubscription {
7162
7657
  topic?: string;
@@ -7164,6 +7659,7 @@ declare namespace $responses {
7164
7659
  batch?: boolean;
7165
7660
  entity?: string;
7166
7661
  dynamic?: boolean;
7662
+ domainEventFilters?: $responses.wix.api.DomainEventFilter[];
7167
7663
  }
7168
7664
  export class Subscription implements ISubscription {
7169
7665
  constructor(data?: ISubscription);
@@ -7172,6 +7668,7 @@ declare namespace $responses {
7172
7668
  batch?: boolean;
7173
7669
  entity?: string;
7174
7670
  dynamic?: boolean;
7671
+ domainEventFilters?: $responses.wix.api.DomainEventFilter[];
7175
7672
  static __$$generatedFromProtobuf$$__: Symbol;
7176
7673
  }
7177
7674
  export interface IActionPayload {
@@ -7306,6 +7803,30 @@ declare namespace $responses {
7306
7803
  fields?: string[];
7307
7804
  static __$$generatedFromProtobuf$$__: Symbol;
7308
7805
  }
7806
+ export interface ISearchSuggest {
7807
+ suggest?: $responses.wix.common.ISearchSuggestDetails;
7808
+ sort?: $responses.wix.common.ISorting[];
7809
+ filter?: { [key: string]: any };
7810
+ limit?: number;
7811
+ }
7812
+ export class SearchSuggest implements ISearchSuggest {
7813
+ constructor(data?: ISearchSuggest);
7814
+ suggest?: $responses.wix.common.ISearchSuggestDetails;
7815
+ sort?: $responses.wix.common.ISorting[];
7816
+ filter?: { [key: string]: any };
7817
+ limit?: number;
7818
+ static __$$generatedFromProtobuf$$__: Symbol;
7819
+ }
7820
+ export interface ISearchSuggestDetails {
7821
+ expression?: string;
7822
+ fields?: string[];
7823
+ }
7824
+ export class SearchSuggestDetails implements ISearchSuggestDetails {
7825
+ constructor(data?: ISearchSuggestDetails);
7826
+ expression?: string;
7827
+ fields?: string[];
7828
+ static __$$generatedFromProtobuf$$__: Symbol;
7829
+ }
7309
7830
  export interface ISearchDetails {
7310
7831
  mode?: $responses.wix.common.SearchDetails.Mode;
7311
7832
  expression?: string;
@@ -7333,6 +7854,7 @@ declare namespace $responses {
7333
7854
  SCALAR = "SCALAR",
7334
7855
  DATE_HISTOGRAM = "DATE_HISTOGRAM",
7335
7856
  NESTED = "NESTED",
7857
+ GEOTILE_GRID = "GEOTILE_GRID",
7336
7858
  }
7337
7859
  export enum ScalarType {
7338
7860
  UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE",
@@ -7351,6 +7873,7 @@ declare namespace $responses {
7351
7873
  scalar?: $responses.wix.common.Aggregation.IScalarAggregation;
7352
7874
  dateHistogram?: $responses.wix.common.Aggregation.IDateHistogramAggregation;
7353
7875
  nested?: $responses.wix.common.Aggregation.INestedAggregation;
7876
+ geotileGrid?: $responses.wix.common.Aggregation.IGeotileGridAggregation;
7354
7877
  groupBy?: $responses.wix.common.Aggregation.IGroupByAggregation;
7355
7878
  }
7356
7879
  export class Aggregation implements IAggregation {
@@ -7363,6 +7886,7 @@ declare namespace $responses {
7363
7886
  scalar?: $responses.wix.common.Aggregation.IScalarAggregation;
7364
7887
  dateHistogram?: $responses.wix.common.Aggregation.IDateHistogramAggregation;
7365
7888
  nested?: $responses.wix.common.Aggregation.INestedAggregation;
7889
+ geotileGrid?: $responses.wix.common.Aggregation.IGeotileGridAggregation;
7366
7890
  groupBy?: $responses.wix.common.Aggregation.IGroupByAggregation;
7367
7891
  static __$$generatedFromProtobuf$$__: Symbol;
7368
7892
  }
@@ -7502,6 +8026,14 @@ declare namespace $responses {
7502
8026
  SECOND = "SECOND",
7503
8027
  }
7504
8028
  }
8029
+ export interface IGeotileGridAggregation {
8030
+ precision?: number;
8031
+ }
8032
+ export class GeotileGridAggregation implements IGeotileGridAggregation {
8033
+ constructor(data?: IGeotileGridAggregation);
8034
+ precision?: number;
8035
+ static __$$generatedFromProtobuf$$__: Symbol;
8036
+ }
7505
8037
  }
7506
8038
  export interface IAggregationData {
7507
8039
  results?: $responses.wix.common.AggregationData.IAggregationResults[];
@@ -7522,6 +8054,8 @@ declare namespace $responses {
7522
8054
  groupedByValue?: $responses.wix.common.AggregationData.AggregationResults.IGroupByValueResults;
7523
8055
  dateHistogram?: $responses.wix.common.AggregationData.AggregationResults.IDateHistogramResults;
7524
8056
  nested?: $responses.wix.common.AggregationData.AggregationResults.INestedResults;
8057
+ scalarDate?: $responses.wix.common.AggregationData.AggregationResults.IScalarDateResult;
8058
+ geotileGrid?: $responses.wix.common.AggregationData.AggregationResults.IGeotileGridResults;
7525
8059
  }
7526
8060
  export class AggregationResults implements IAggregationResults {
7527
8061
  constructor(data?: IAggregationResults);
@@ -7534,6 +8068,8 @@ declare namespace $responses {
7534
8068
  groupedByValue?: $responses.wix.common.AggregationData.AggregationResults.IGroupByValueResults;
7535
8069
  dateHistogram?: $responses.wix.common.AggregationData.AggregationResults.IDateHistogramResults;
7536
8070
  nested?: $responses.wix.common.AggregationData.AggregationResults.INestedResults;
8071
+ scalarDate?: $responses.wix.common.AggregationData.AggregationResults.IScalarDateResult;
8072
+ geotileGrid?: $responses.wix.common.AggregationData.AggregationResults.IGeotileGridResults;
7537
8073
  static __$$generatedFromProtobuf$$__: Symbol;
7538
8074
  }
7539
8075
  export namespace AggregationResults {
@@ -7589,6 +8125,16 @@ declare namespace $responses {
7589
8125
  value?: number;
7590
8126
  static __$$generatedFromProtobuf$$__: Symbol;
7591
8127
  }
8128
+ export interface IScalarDateResult {
8129
+ type?: $responses.wix.common.ScalarType;
8130
+ value?: string;
8131
+ }
8132
+ export class ScalarDateResult implements IScalarDateResult {
8133
+ constructor(data?: IScalarDateResult);
8134
+ type?: $responses.wix.common.ScalarType;
8135
+ value?: string;
8136
+ static __$$generatedFromProtobuf$$__: Symbol;
8137
+ }
7592
8138
  export interface IGroupByValueResults {
7593
8139
  results?: $responses.wix.common.AggregationData.AggregationResults.GroupByValueResults.INestedValueAggregationResult[];
7594
8140
  }
@@ -7666,11 +8212,20 @@ declare namespace $responses {
7666
8212
  value?: number;
7667
8213
  static __$$generatedFromProtobuf$$__: Symbol;
7668
8214
  }
8215
+ export interface IScalarDateResult {
8216
+ value?: string;
8217
+ }
8218
+ export class ScalarDateResult implements IScalarDateResult {
8219
+ constructor(data?: IScalarDateResult);
8220
+ value?: string;
8221
+ static __$$generatedFromProtobuf$$__: Symbol;
8222
+ }
7669
8223
  export interface INestedResultValue {
7670
8224
  value?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
7671
8225
  range?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IRangeResult;
7672
8226
  scalar?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IScalarResult;
7673
8227
  dateHistogram?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
8228
+ scalarDate?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IScalarDateResult;
7674
8229
  }
7675
8230
  export class NestedResultValue implements INestedResultValue {
7676
8231
  constructor(data?: INestedResultValue);
@@ -7678,6 +8233,7 @@ declare namespace $responses {
7678
8233
  range?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IRangeResult;
7679
8234
  scalar?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IScalarResult;
7680
8235
  dateHistogram?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
8236
+ scalarDate?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IScalarDateResult;
7681
8237
  static __$$generatedFromProtobuf$$__: Symbol;
7682
8238
  }
7683
8239
  export interface IResults {
@@ -7709,8 +8265,172 @@ declare namespace $responses {
7709
8265
  static __$$generatedFromProtobuf$$__: Symbol;
7710
8266
  }
7711
8267
  }
8268
+ export interface IGeotileGridResults {
8269
+ results?: $responses.wix.common.AggregationData.AggregationResults.GeotileGridResults.IGeotileGridBucket[];
8270
+ }
8271
+ export class GeotileGridResults implements IGeotileGridResults {
8272
+ constructor(data?: IGeotileGridResults);
8273
+ results?: $responses.wix.common.AggregationData.AggregationResults.GeotileGridResults.IGeotileGridBucket[];
8274
+ static __$$generatedFromProtobuf$$__: Symbol;
8275
+ }
8276
+ export namespace GeotileGridResults {
8277
+ export interface IGeotileGridBucket {
8278
+ tileKey?: string;
8279
+ count?: number;
8280
+ centroid?: $responses.wix.common.IAddressLocation;
8281
+ }
8282
+ export class GeotileGridBucket implements IGeotileGridBucket {
8283
+ constructor(data?: IGeotileGridBucket);
8284
+ tileKey?: string;
8285
+ count?: number;
8286
+ centroid?: $responses.wix.common.IAddressLocation;
8287
+ static __$$generatedFromProtobuf$$__: Symbol;
8288
+ }
8289
+ }
8290
+ }
8291
+ }
8292
+ export interface IAddress {
8293
+ country?: string;
8294
+ subdivision?: string;
8295
+ subdivisionIso31662?: string;
8296
+ city?: string;
8297
+ postalCode?: string;
8298
+ streetAddress?: $responses.wix.common.IStreetAddress;
8299
+ addressLine?: string;
8300
+ addressLine2?: string;
8301
+ formattedAddress?: string;
8302
+ hint?: string;
8303
+ geocode?: $responses.wix.common.IAddressLocation;
8304
+ countryFullname?: string;
8305
+ subdivisionFullname?: string;
8306
+ subdivisions?: $responses.wix.common.ISubdivision[];
8307
+ }
8308
+ export class Address implements IAddress {
8309
+ constructor(data?: IAddress);
8310
+ country?: string;
8311
+ subdivision?: string;
8312
+ subdivisionIso31662?: string;
8313
+ city?: string;
8314
+ postalCode?: string;
8315
+ streetAddress?: $responses.wix.common.IStreetAddress;
8316
+ addressLine?: string;
8317
+ addressLine2?: string;
8318
+ formattedAddress?: string;
8319
+ hint?: string;
8320
+ geocode?: $responses.wix.common.IAddressLocation;
8321
+ countryFullname?: string;
8322
+ subdivisionFullname?: string;
8323
+ subdivisions?: $responses.wix.common.ISubdivision[];
8324
+ static __$$generatedFromProtobuf$$__: Symbol;
8325
+ }
8326
+ export interface ISubdivision {
8327
+ code?: string;
8328
+ name?: string;
8329
+ type?: $responses.wix.common.Subdivision.SubdivisionType;
8330
+ typeInfo?: string;
8331
+ standardDetails?: $responses.wix.common.Subdivision.IStandardDetails;
8332
+ }
8333
+ export class Subdivision implements ISubdivision {
8334
+ constructor(data?: ISubdivision);
8335
+ code?: string;
8336
+ name?: string;
8337
+ type?: $responses.wix.common.Subdivision.SubdivisionType;
8338
+ typeInfo?: string;
8339
+ standardDetails?: $responses.wix.common.Subdivision.IStandardDetails;
8340
+ static __$$generatedFromProtobuf$$__: Symbol;
8341
+ }
8342
+ export namespace Subdivision {
8343
+ export enum SubdivisionType {
8344
+ UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
8345
+ ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
8346
+ ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
8347
+ ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
8348
+ ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
8349
+ ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
8350
+ COUNTRY = "COUNTRY",
8351
+ }
8352
+ export interface IStandardDetails {
8353
+ iso31662?: string;
8354
+ }
8355
+ export class StandardDetails implements IStandardDetails {
8356
+ constructor(data?: IStandardDetails);
8357
+ iso31662?: string;
8358
+ static __$$generatedFromProtobuf$$__: Symbol;
7712
8359
  }
7713
8360
  }
8361
+ export interface IStreetAddress {
8362
+ number?: string;
8363
+ name?: string;
8364
+ apt?: string;
8365
+ formattedAddressLine?: string;
8366
+ }
8367
+ export class StreetAddress implements IStreetAddress {
8368
+ constructor(data?: IStreetAddress);
8369
+ number?: string;
8370
+ name?: string;
8371
+ apt?: string;
8372
+ formattedAddressLine?: string;
8373
+ static __$$generatedFromProtobuf$$__: Symbol;
8374
+ }
8375
+ export interface IAddressContactDetails {
8376
+ fullName?: string;
8377
+ phone?: string;
8378
+ company?: string;
8379
+ email?: string;
8380
+ }
8381
+ export class AddressContactDetails implements IAddressContactDetails {
8382
+ constructor(data?: IAddressContactDetails);
8383
+ fullName?: string;
8384
+ phone?: string;
8385
+ company?: string;
8386
+ email?: string;
8387
+ static __$$generatedFromProtobuf$$__: Symbol;
8388
+ }
8389
+ export interface IFullAddressContactDetails {
8390
+ firstName?: string;
8391
+ lastName?: string;
8392
+ fullName?: string;
8393
+ phone?: string;
8394
+ company?: string;
8395
+ email?: string;
8396
+ vatId?: $responses.wix.common.IVatId;
8397
+ }
8398
+ export class FullAddressContactDetails implements IFullAddressContactDetails {
8399
+ constructor(data?: IFullAddressContactDetails);
8400
+ firstName?: string;
8401
+ lastName?: string;
8402
+ fullName?: string;
8403
+ phone?: string;
8404
+ company?: string;
8405
+ email?: string;
8406
+ vatId?: $responses.wix.common.IVatId;
8407
+ static __$$generatedFromProtobuf$$__: Symbol;
8408
+ }
8409
+ export interface IVatId {
8410
+ id?: string;
8411
+ type?: $responses.wix.common.VatType;
8412
+ }
8413
+ export class VatId implements IVatId {
8414
+ constructor(data?: IVatId);
8415
+ id?: string;
8416
+ type?: $responses.wix.common.VatType;
8417
+ static __$$generatedFromProtobuf$$__: Symbol;
8418
+ }
8419
+ export enum VatType {
8420
+ UNSPECIFIED = "UNSPECIFIED",
8421
+ CPF = "CPF",
8422
+ CNPJ = "CNPJ",
8423
+ }
8424
+ export interface IAddressLocation {
8425
+ latitude?: number;
8426
+ longitude?: number;
8427
+ }
8428
+ export class AddressLocation implements IAddressLocation {
8429
+ constructor(data?: IAddressLocation);
8430
+ latitude?: number;
8431
+ longitude?: number;
8432
+ static __$$generatedFromProtobuf$$__: Symbol;
8433
+ }
7714
8434
  export interface IPaging {
7715
8435
  limit?: number;
7716
8436
  offset?: number;
@@ -7793,12 +8513,14 @@ declare namespace $responses {
7793
8513
  fieldName?: string;
7794
8514
  order?: $responses.wix.common.SortOrder;
7795
8515
  selectItemsBy?: { [key: string]: any }[];
8516
+ origin?: $responses.wix.common.IAddressLocation;
7796
8517
  }
7797
8518
  export class Sorting implements ISorting {
7798
8519
  constructor(data?: ISorting);
7799
8520
  fieldName?: string;
7800
8521
  order?: $responses.wix.common.SortOrder;
7801
8522
  selectItemsBy?: { [key: string]: any }[];
8523
+ origin?: $responses.wix.common.IAddressLocation;
7802
8524
  static __$$generatedFromProtobuf$$__: Symbol;
7803
8525
  }
7804
8526
  export enum SortOrder {
@@ -8249,6 +8971,7 @@ declare namespace $responses {
8249
8971
  '.wix.api.serviceEntity'?: $responses.wix.api.IServiceEntity;
8250
8972
  '.wix.api.serviceMaturity'?: $responses.wix.api.Maturity;
8251
8973
  '.wix.api.serviceExposure'?: $responses.wix.api.Exposure;
8974
+ '.wix.api.serviceTenancy'?: $responses.wix.api.ITenancyOptions;
8252
8975
  '.wix.api.serviceDeprecated'?: $responses.wix.api.IDeprecated;
8253
8976
  '.wix.api.appendixFiles'?: $responses.wix.api.IServiceAppendix[];
8254
8977
  '.wix.api.event'?: $responses.wix.api.ICallback[];
@@ -8262,6 +8985,7 @@ declare namespace $responses {
8262
8985
  '.wix.api.serviceEntity'?: $responses.wix.api.IServiceEntity;
8263
8986
  '.wix.api.serviceMaturity'?: $responses.wix.api.Maturity;
8264
8987
  '.wix.api.serviceExposure'?: $responses.wix.api.Exposure;
8988
+ '.wix.api.serviceTenancy'?: $responses.wix.api.ITenancyOptions;
8265
8989
  '.wix.api.serviceDeprecated'?: $responses.wix.api.IDeprecated;
8266
8990
  '.wix.api.appendixFiles'?: $responses.wix.api.IServiceAppendix[];
8267
8991
  '.wix.api.event'?: $responses.wix.api.ICallback[];
@@ -8279,6 +9003,8 @@ declare namespace $responses {
8279
9003
  '.wix.api.deprecated'?: $responses.wix.api.IDeprecated;
8280
9004
  '.wix.api.crud'?: $responses.wix.api.ICrud;
8281
9005
  '.wix.api.acceptsLinguist'?: boolean;
9006
+ '.wix.api.audience'?: $responses.wix.api.IAudience;
9007
+ '.wix.api.tenancy'?: $responses.wix.api.ITenancyOptions;
8282
9008
  '.wix.api.callback'?: $responses.wix.api.ICallback[];
8283
9009
  '.wix.api.emits'?: $responses.wix.api.IEmits[];
8284
9010
  '.wix.api.required'?: string[];
@@ -8304,6 +9030,8 @@ declare namespace $responses {
8304
9030
  '.wix.api.deprecated'?: $responses.wix.api.IDeprecated;
8305
9031
  '.wix.api.crud'?: $responses.wix.api.ICrud;
8306
9032
  '.wix.api.acceptsLinguist'?: boolean;
9033
+ '.wix.api.audience'?: $responses.wix.api.IAudience;
9034
+ '.wix.api.tenancy'?: $responses.wix.api.ITenancyOptions;
8307
9035
  '.wix.api.callback'?: $responses.wix.api.ICallback[];
8308
9036
  '.wix.api.emits'?: $responses.wix.api.IEmits[];
8309
9037
  '.wix.api.required'?: string[];