@wix/metro-common-builders 1.0.1279 → 1.0.1281

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.
@@ -2053,6 +2053,7 @@ declare namespace $wrapper {
2053
2053
  search?: ($wrapper.wix.common.ISearchDetails | null);
2054
2054
  paging?: ($wrapper.wix.common.IPaging | null);
2055
2055
  cursorPaging?: ($wrapper.wix.common.ICursorPaging | null);
2056
+ timeZone?: (string | null);
2056
2057
  }
2057
2058
  export class Search implements ISearch {
2058
2059
  constructor(data?: ISearch);
@@ -2064,6 +2065,7 @@ declare namespace $wrapper {
2064
2065
  search?: ($wrapper.wix.common.ISearchDetails | null);
2065
2066
  paging?: ($wrapper.wix.common.IPaging | null);
2066
2067
  cursorPaging?: ($wrapper.wix.common.ICursorPaging | null);
2068
+ timeZone?: (string | null);
2067
2069
  static __$$generatedFromProtobuf$$__: Symbol;
2068
2070
  }
2069
2071
  export interface ICursorSearch {
@@ -2072,6 +2074,7 @@ declare namespace $wrapper {
2072
2074
  aggregations?: ($wrapper.wix.common.IAggregation[] | null);
2073
2075
  search?: ($wrapper.wix.common.ISearchDetails | null);
2074
2076
  cursorPaging?: ($wrapper.wix.common.ICursorPaging | null);
2077
+ timeZone?: (string | null);
2075
2078
  }
2076
2079
  export class CursorSearch implements ICursorSearch {
2077
2080
  constructor(data?: ICursorSearch);
@@ -2080,6 +2083,7 @@ declare namespace $wrapper {
2080
2083
  aggregations?: ($wrapper.wix.common.IAggregation[] | null);
2081
2084
  search?: ($wrapper.wix.common.ISearchDetails | null);
2082
2085
  cursorPaging?: ($wrapper.wix.common.ICursorPaging | null);
2086
+ timeZone?: (string | null);
2083
2087
  static __$$generatedFromProtobuf$$__: Symbol;
2084
2088
  }
2085
2089
  export interface ISearchDetails {
@@ -2107,6 +2111,8 @@ declare namespace $wrapper {
2107
2111
  VALUE = "VALUE",
2108
2112
  RANGE = "RANGE",
2109
2113
  SCALAR = "SCALAR",
2114
+ DATE_HISTOGRAM = "DATE_HISTOGRAM",
2115
+ NESTED = "NESTED",
2110
2116
  }
2111
2117
  export enum ScalarType {
2112
2118
  UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE",
@@ -2123,6 +2129,8 @@ declare namespace $wrapper {
2123
2129
  value?: ($wrapper.wix.common.Aggregation.IValueAggregation | null);
2124
2130
  range?: ($wrapper.wix.common.Aggregation.IRangeAggregation | null);
2125
2131
  scalar?: ($wrapper.wix.common.Aggregation.IScalarAggregation | null);
2132
+ dateHistogram?: ($wrapper.wix.common.Aggregation.IDateHistogramAggregation | null);
2133
+ nested?: ($wrapper.wix.common.Aggregation.INestedAggregation | null);
2126
2134
  groupBy?: ($wrapper.wix.common.Aggregation.IGroupByAggregation | null);
2127
2135
  }
2128
2136
  export class Aggregation implements IAggregation {
@@ -2133,6 +2141,8 @@ declare namespace $wrapper {
2133
2141
  value?: ($wrapper.wix.common.Aggregation.IValueAggregation | null);
2134
2142
  range?: ($wrapper.wix.common.Aggregation.IRangeAggregation | null);
2135
2143
  scalar?: ($wrapper.wix.common.Aggregation.IScalarAggregation | null);
2144
+ dateHistogram?: ($wrapper.wix.common.Aggregation.IDateHistogramAggregation | null);
2145
+ nested?: ($wrapper.wix.common.Aggregation.INestedAggregation | null);
2136
2146
  groupBy?: ($wrapper.wix.common.Aggregation.IGroupByAggregation | null);
2137
2147
  static __$$generatedFromProtobuf$$__: Symbol;
2138
2148
  }
@@ -2215,6 +2225,63 @@ declare namespace $wrapper {
2215
2225
  value?: ($wrapper.wix.common.Aggregation.IValueAggregation | null);
2216
2226
  static __$$generatedFromProtobuf$$__: Symbol;
2217
2227
  }
2228
+ export interface INestedAggregation {
2229
+ nestedAggregations?: ($wrapper.wix.common.Aggregation.NestedAggregation.INestedAggregationItem[] | null);
2230
+ }
2231
+ export class NestedAggregation implements INestedAggregation {
2232
+ constructor(data?: INestedAggregation);
2233
+ nestedAggregations?: ($wrapper.wix.common.Aggregation.NestedAggregation.INestedAggregationItem[] | null);
2234
+ static __$$generatedFromProtobuf$$__: Symbol;
2235
+ }
2236
+ export namespace NestedAggregation {
2237
+ export enum NestedAggregationType {
2238
+ UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
2239
+ VALUE = "VALUE",
2240
+ RANGE = "RANGE",
2241
+ SCALAR = "SCALAR",
2242
+ DATE_HISTOGRAM = "DATE_HISTOGRAM",
2243
+ }
2244
+ export interface INestedAggregationItem {
2245
+ name?: (string | null);
2246
+ type?: ($wrapper.wix.common.Aggregation.NestedAggregation.NestedAggregationType | null);
2247
+ fieldPath?: (string | null);
2248
+ value?: ($wrapper.wix.common.Aggregation.IValueAggregation | null);
2249
+ range?: ($wrapper.wix.common.Aggregation.IRangeAggregation | null);
2250
+ scalar?: ($wrapper.wix.common.Aggregation.IScalarAggregation | null);
2251
+ dateHistogram?: ($wrapper.wix.common.Aggregation.IDateHistogramAggregation | null);
2252
+ }
2253
+ export class NestedAggregationItem implements INestedAggregationItem {
2254
+ constructor(data?: INestedAggregationItem);
2255
+ name?: (string | null);
2256
+ type?: ($wrapper.wix.common.Aggregation.NestedAggregation.NestedAggregationType | null);
2257
+ fieldPath?: (string | null);
2258
+ value?: ($wrapper.wix.common.Aggregation.IValueAggregation | null);
2259
+ range?: ($wrapper.wix.common.Aggregation.IRangeAggregation | null);
2260
+ scalar?: ($wrapper.wix.common.Aggregation.IScalarAggregation | null);
2261
+ dateHistogram?: ($wrapper.wix.common.Aggregation.IDateHistogramAggregation | null);
2262
+ static __$$generatedFromProtobuf$$__: Symbol;
2263
+ }
2264
+ }
2265
+ export interface IDateHistogramAggregation {
2266
+ interval?: ($wrapper.wix.common.Aggregation.DateHistogramAggregation.Interval | null);
2267
+ }
2268
+ export class DateHistogramAggregation implements IDateHistogramAggregation {
2269
+ constructor(data?: IDateHistogramAggregation);
2270
+ interval?: ($wrapper.wix.common.Aggregation.DateHistogramAggregation.Interval | null);
2271
+ static __$$generatedFromProtobuf$$__: Symbol;
2272
+ }
2273
+ export namespace DateHistogramAggregation {
2274
+ export enum Interval {
2275
+ UNKNOWN_INTERVAL = "UNKNOWN_INTERVAL",
2276
+ YEAR = "YEAR",
2277
+ MONTH = "MONTH",
2278
+ WEEK = "WEEK",
2279
+ DAY = "DAY",
2280
+ HOUR = "HOUR",
2281
+ MINUTE = "MINUTE",
2282
+ SECOND = "SECOND",
2283
+ }
2284
+ }
2218
2285
  }
2219
2286
  export interface IAggregationData {
2220
2287
  results?: ($wrapper.wix.common.AggregationData.IAggregationResults[] | null);
@@ -2233,6 +2300,8 @@ declare namespace $wrapper {
2233
2300
  ranges?: ($wrapper.wix.common.AggregationData.AggregationResults.IRangeResults | null);
2234
2301
  scalar?: ($wrapper.wix.common.AggregationData.AggregationResults.IScalarResult | null);
2235
2302
  groupedByValue?: ($wrapper.wix.common.AggregationData.AggregationResults.IGroupByValueResults | null);
2303
+ dateHistogram?: ($wrapper.wix.common.AggregationData.AggregationResults.IDateHistogramResults | null);
2304
+ nested?: ($wrapper.wix.common.AggregationData.AggregationResults.INestedResults | null);
2236
2305
  }
2237
2306
  export class AggregationResults implements IAggregationResults {
2238
2307
  constructor(data?: IAggregationResults);
@@ -2243,6 +2312,8 @@ declare namespace $wrapper {
2243
2312
  ranges?: ($wrapper.wix.common.AggregationData.AggregationResults.IRangeResults | null);
2244
2313
  scalar?: ($wrapper.wix.common.AggregationData.AggregationResults.IScalarResult | null);
2245
2314
  groupedByValue?: ($wrapper.wix.common.AggregationData.AggregationResults.IGroupByValueResults | null);
2315
+ dateHistogram?: ($wrapper.wix.common.AggregationData.AggregationResults.IDateHistogramResults | null);
2316
+ nested?: ($wrapper.wix.common.AggregationData.AggregationResults.INestedResults | null);
2246
2317
  static __$$generatedFromProtobuf$$__: Symbol;
2247
2318
  }
2248
2319
  export namespace AggregationResults {
@@ -2336,6 +2407,88 @@ declare namespace $wrapper {
2336
2407
  scalar?: ($wrapper.wix.common.AggregationData.AggregationResults.IScalarResult | null);
2337
2408
  static __$$generatedFromProtobuf$$__: Symbol;
2338
2409
  }
2410
+ export interface INestedResults {
2411
+ results?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IResults[] | null);
2412
+ }
2413
+ export class NestedResults implements INestedResults {
2414
+ constructor(data?: INestedResults);
2415
+ results?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IResults[] | null);
2416
+ static __$$generatedFromProtobuf$$__: Symbol;
2417
+ }
2418
+ export namespace NestedResults {
2419
+ export interface IValueResult {
2420
+ value?: (string | null);
2421
+ count?: (number | null);
2422
+ }
2423
+ export class ValueResult implements IValueResult {
2424
+ constructor(data?: IValueResult);
2425
+ value?: (string | null);
2426
+ count?: (number | null);
2427
+ static __$$generatedFromProtobuf$$__: Symbol;
2428
+ }
2429
+ export interface IRangeResult {
2430
+ from?: (number | null);
2431
+ to?: (number | null);
2432
+ count?: (number | null);
2433
+ }
2434
+ export class RangeResult implements IRangeResult {
2435
+ constructor(data?: IRangeResult);
2436
+ from?: (number | null);
2437
+ to?: (number | null);
2438
+ count?: (number | null);
2439
+ static __$$generatedFromProtobuf$$__: Symbol;
2440
+ }
2441
+ export interface IScalarResult {
2442
+ value?: (number | null);
2443
+ }
2444
+ export class ScalarResult implements IScalarResult {
2445
+ constructor(data?: IScalarResult);
2446
+ value?: (number | null);
2447
+ static __$$generatedFromProtobuf$$__: Symbol;
2448
+ }
2449
+ export interface INestedResultValue {
2450
+ value?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult | null);
2451
+ range?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IRangeResult | null);
2452
+ scalar?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IScalarResult | null);
2453
+ dateHistogram?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult | null);
2454
+ }
2455
+ export class NestedResultValue implements INestedResultValue {
2456
+ constructor(data?: INestedResultValue);
2457
+ value?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult | null);
2458
+ range?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IRangeResult | null);
2459
+ scalar?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IScalarResult | null);
2460
+ dateHistogram?: ($wrapper.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult | null);
2461
+ static __$$generatedFromProtobuf$$__: Symbol;
2462
+ }
2463
+ export interface IResults {
2464
+ results?: ({ [k: string]: $wrapper.wix.common.AggregationData.AggregationResults.NestedResults.INestedResultValue } | null);
2465
+ }
2466
+ export class Results implements IResults {
2467
+ constructor(data?: IResults);
2468
+ results?: ({ [k: string]: $wrapper.wix.common.AggregationData.AggregationResults.NestedResults.INestedResultValue });
2469
+ static __$$generatedFromProtobuf$$__: Symbol;
2470
+ }
2471
+ }
2472
+ export interface IDateHistogramResults {
2473
+ results?: ($wrapper.wix.common.AggregationData.AggregationResults.DateHistogramResults.IDateHistogramResult[] | null);
2474
+ }
2475
+ export class DateHistogramResults implements IDateHistogramResults {
2476
+ constructor(data?: IDateHistogramResults);
2477
+ results?: ($wrapper.wix.common.AggregationData.AggregationResults.DateHistogramResults.IDateHistogramResult[] | null);
2478
+ static __$$generatedFromProtobuf$$__: Symbol;
2479
+ }
2480
+ export namespace DateHistogramResults {
2481
+ export interface IDateHistogramResult {
2482
+ value?: (string | null);
2483
+ count?: (number | null);
2484
+ }
2485
+ export class DateHistogramResult implements IDateHistogramResult {
2486
+ constructor(data?: IDateHistogramResult);
2487
+ value?: (string | null);
2488
+ count?: (number | null);
2489
+ static __$$generatedFromProtobuf$$__: Symbol;
2490
+ }
2491
+ }
2339
2492
  }
2340
2493
  }
2341
2494
  export interface IPaging {