@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.
- package/dist/es/src/proto/client/index.d.ts +306 -0
- package/dist/es/src/proto/index.d.ts +153 -0
- package/dist/es/src/proto/index.js +9155 -1404
- package/dist/es/src/proto/server/index.d.ts +306 -0
- package/dist/src/proto/client/index.d.ts +306 -0
- package/dist/src/proto/index.d.ts +153 -0
- package/dist/src/proto/index.js +9155 -1404
- package/dist/src/proto/server/index.d.ts +306 -0
- package/package.json +3 -3
|
@@ -2038,6 +2038,7 @@ declare namespace $requests {
|
|
|
2038
2038
|
search?: $requests.wix.common.ISearchDetails;
|
|
2039
2039
|
paging?: $requests.wix.common.IPaging;
|
|
2040
2040
|
cursorPaging?: $requests.wix.common.ICursorPaging;
|
|
2041
|
+
timeZone?: string;
|
|
2041
2042
|
}
|
|
2042
2043
|
export class Search implements ISearch {
|
|
2043
2044
|
constructor(data?: ISearch);
|
|
@@ -2049,6 +2050,7 @@ declare namespace $requests {
|
|
|
2049
2050
|
search?: $requests.wix.common.ISearchDetails;
|
|
2050
2051
|
paging?: $requests.wix.common.IPaging;
|
|
2051
2052
|
cursorPaging?: $requests.wix.common.ICursorPaging;
|
|
2053
|
+
timeZone?: string;
|
|
2052
2054
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2053
2055
|
}
|
|
2054
2056
|
export interface ICursorSearch {
|
|
@@ -2057,6 +2059,7 @@ declare namespace $requests {
|
|
|
2057
2059
|
aggregations?: $requests.wix.common.IAggregation[];
|
|
2058
2060
|
search?: $requests.wix.common.ISearchDetails;
|
|
2059
2061
|
cursorPaging?: $requests.wix.common.ICursorPaging;
|
|
2062
|
+
timeZone?: string;
|
|
2060
2063
|
}
|
|
2061
2064
|
export class CursorSearch implements ICursorSearch {
|
|
2062
2065
|
constructor(data?: ICursorSearch);
|
|
@@ -2065,6 +2068,7 @@ declare namespace $requests {
|
|
|
2065
2068
|
aggregations?: $requests.wix.common.IAggregation[];
|
|
2066
2069
|
search?: $requests.wix.common.ISearchDetails;
|
|
2067
2070
|
cursorPaging?: $requests.wix.common.ICursorPaging;
|
|
2071
|
+
timeZone?: string;
|
|
2068
2072
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2069
2073
|
}
|
|
2070
2074
|
export interface ISearchDetails {
|
|
@@ -2092,6 +2096,8 @@ declare namespace $requests {
|
|
|
2092
2096
|
VALUE = "VALUE",
|
|
2093
2097
|
RANGE = "RANGE",
|
|
2094
2098
|
SCALAR = "SCALAR",
|
|
2099
|
+
DATE_HISTOGRAM = "DATE_HISTOGRAM",
|
|
2100
|
+
NESTED = "NESTED",
|
|
2095
2101
|
}
|
|
2096
2102
|
export enum ScalarType {
|
|
2097
2103
|
UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE",
|
|
@@ -2108,6 +2114,8 @@ declare namespace $requests {
|
|
|
2108
2114
|
value?: $requests.wix.common.Aggregation.IValueAggregation;
|
|
2109
2115
|
range?: $requests.wix.common.Aggregation.IRangeAggregation;
|
|
2110
2116
|
scalar?: $requests.wix.common.Aggregation.IScalarAggregation;
|
|
2117
|
+
dateHistogram?: $requests.wix.common.Aggregation.IDateHistogramAggregation;
|
|
2118
|
+
nested?: $requests.wix.common.Aggregation.INestedAggregation;
|
|
2111
2119
|
groupBy?: $requests.wix.common.Aggregation.IGroupByAggregation;
|
|
2112
2120
|
}
|
|
2113
2121
|
export class Aggregation implements IAggregation {
|
|
@@ -2118,6 +2126,8 @@ declare namespace $requests {
|
|
|
2118
2126
|
value?: $requests.wix.common.Aggregation.IValueAggregation;
|
|
2119
2127
|
range?: $requests.wix.common.Aggregation.IRangeAggregation;
|
|
2120
2128
|
scalar?: $requests.wix.common.Aggregation.IScalarAggregation;
|
|
2129
|
+
dateHistogram?: $requests.wix.common.Aggregation.IDateHistogramAggregation;
|
|
2130
|
+
nested?: $requests.wix.common.Aggregation.INestedAggregation;
|
|
2121
2131
|
groupBy?: $requests.wix.common.Aggregation.IGroupByAggregation;
|
|
2122
2132
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2123
2133
|
}
|
|
@@ -2200,6 +2210,63 @@ declare namespace $requests {
|
|
|
2200
2210
|
value?: $requests.wix.common.Aggregation.IValueAggregation;
|
|
2201
2211
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2202
2212
|
}
|
|
2213
|
+
export interface INestedAggregation {
|
|
2214
|
+
nestedAggregations?: $requests.wix.common.Aggregation.NestedAggregation.INestedAggregationItem[];
|
|
2215
|
+
}
|
|
2216
|
+
export class NestedAggregation implements INestedAggregation {
|
|
2217
|
+
constructor(data?: INestedAggregation);
|
|
2218
|
+
nestedAggregations?: $requests.wix.common.Aggregation.NestedAggregation.INestedAggregationItem[];
|
|
2219
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2220
|
+
}
|
|
2221
|
+
export namespace NestedAggregation {
|
|
2222
|
+
export enum NestedAggregationType {
|
|
2223
|
+
UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
|
|
2224
|
+
VALUE = "VALUE",
|
|
2225
|
+
RANGE = "RANGE",
|
|
2226
|
+
SCALAR = "SCALAR",
|
|
2227
|
+
DATE_HISTOGRAM = "DATE_HISTOGRAM",
|
|
2228
|
+
}
|
|
2229
|
+
export interface INestedAggregationItem {
|
|
2230
|
+
name?: string;
|
|
2231
|
+
type?: $requests.wix.common.Aggregation.NestedAggregation.NestedAggregationType;
|
|
2232
|
+
fieldPath?: string;
|
|
2233
|
+
value?: $requests.wix.common.Aggregation.IValueAggregation;
|
|
2234
|
+
range?: $requests.wix.common.Aggregation.IRangeAggregation;
|
|
2235
|
+
scalar?: $requests.wix.common.Aggregation.IScalarAggregation;
|
|
2236
|
+
dateHistogram?: $requests.wix.common.Aggregation.IDateHistogramAggregation;
|
|
2237
|
+
}
|
|
2238
|
+
export class NestedAggregationItem implements INestedAggregationItem {
|
|
2239
|
+
constructor(data?: INestedAggregationItem);
|
|
2240
|
+
name?: string;
|
|
2241
|
+
type?: $requests.wix.common.Aggregation.NestedAggregation.NestedAggregationType;
|
|
2242
|
+
fieldPath?: string;
|
|
2243
|
+
value?: $requests.wix.common.Aggregation.IValueAggregation;
|
|
2244
|
+
range?: $requests.wix.common.Aggregation.IRangeAggregation;
|
|
2245
|
+
scalar?: $requests.wix.common.Aggregation.IScalarAggregation;
|
|
2246
|
+
dateHistogram?: $requests.wix.common.Aggregation.IDateHistogramAggregation;
|
|
2247
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2248
|
+
}
|
|
2249
|
+
}
|
|
2250
|
+
export interface IDateHistogramAggregation {
|
|
2251
|
+
interval?: $requests.wix.common.Aggregation.DateHistogramAggregation.Interval;
|
|
2252
|
+
}
|
|
2253
|
+
export class DateHistogramAggregation implements IDateHistogramAggregation {
|
|
2254
|
+
constructor(data?: IDateHistogramAggregation);
|
|
2255
|
+
interval?: $requests.wix.common.Aggregation.DateHistogramAggregation.Interval;
|
|
2256
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2257
|
+
}
|
|
2258
|
+
export namespace DateHistogramAggregation {
|
|
2259
|
+
export enum Interval {
|
|
2260
|
+
UNKNOWN_INTERVAL = "UNKNOWN_INTERVAL",
|
|
2261
|
+
YEAR = "YEAR",
|
|
2262
|
+
MONTH = "MONTH",
|
|
2263
|
+
WEEK = "WEEK",
|
|
2264
|
+
DAY = "DAY",
|
|
2265
|
+
HOUR = "HOUR",
|
|
2266
|
+
MINUTE = "MINUTE",
|
|
2267
|
+
SECOND = "SECOND",
|
|
2268
|
+
}
|
|
2269
|
+
}
|
|
2203
2270
|
}
|
|
2204
2271
|
export interface IAggregationData {
|
|
2205
2272
|
results?: $requests.wix.common.AggregationData.IAggregationResults[];
|
|
@@ -2218,6 +2285,8 @@ declare namespace $requests {
|
|
|
2218
2285
|
ranges?: $requests.wix.common.AggregationData.AggregationResults.IRangeResults;
|
|
2219
2286
|
scalar?: $requests.wix.common.AggregationData.AggregationResults.IScalarResult;
|
|
2220
2287
|
groupedByValue?: $requests.wix.common.AggregationData.AggregationResults.IGroupByValueResults;
|
|
2288
|
+
dateHistogram?: $requests.wix.common.AggregationData.AggregationResults.IDateHistogramResults;
|
|
2289
|
+
nested?: $requests.wix.common.AggregationData.AggregationResults.INestedResults;
|
|
2221
2290
|
}
|
|
2222
2291
|
export class AggregationResults implements IAggregationResults {
|
|
2223
2292
|
constructor(data?: IAggregationResults);
|
|
@@ -2228,6 +2297,8 @@ declare namespace $requests {
|
|
|
2228
2297
|
ranges?: $requests.wix.common.AggregationData.AggregationResults.IRangeResults;
|
|
2229
2298
|
scalar?: $requests.wix.common.AggregationData.AggregationResults.IScalarResult;
|
|
2230
2299
|
groupedByValue?: $requests.wix.common.AggregationData.AggregationResults.IGroupByValueResults;
|
|
2300
|
+
dateHistogram?: $requests.wix.common.AggregationData.AggregationResults.IDateHistogramResults;
|
|
2301
|
+
nested?: $requests.wix.common.AggregationData.AggregationResults.INestedResults;
|
|
2231
2302
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2232
2303
|
}
|
|
2233
2304
|
export namespace AggregationResults {
|
|
@@ -2321,6 +2392,88 @@ declare namespace $requests {
|
|
|
2321
2392
|
scalar?: $requests.wix.common.AggregationData.AggregationResults.IScalarResult;
|
|
2322
2393
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2323
2394
|
}
|
|
2395
|
+
export interface INestedResults {
|
|
2396
|
+
results?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IResults[];
|
|
2397
|
+
}
|
|
2398
|
+
export class NestedResults implements INestedResults {
|
|
2399
|
+
constructor(data?: INestedResults);
|
|
2400
|
+
results?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IResults[];
|
|
2401
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2402
|
+
}
|
|
2403
|
+
export namespace NestedResults {
|
|
2404
|
+
export interface IValueResult {
|
|
2405
|
+
value?: string;
|
|
2406
|
+
count?: number;
|
|
2407
|
+
}
|
|
2408
|
+
export class ValueResult implements IValueResult {
|
|
2409
|
+
constructor(data?: IValueResult);
|
|
2410
|
+
value?: string;
|
|
2411
|
+
count?: number;
|
|
2412
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2413
|
+
}
|
|
2414
|
+
export interface IRangeResult {
|
|
2415
|
+
from?: number;
|
|
2416
|
+
to?: number;
|
|
2417
|
+
count?: number;
|
|
2418
|
+
}
|
|
2419
|
+
export class RangeResult implements IRangeResult {
|
|
2420
|
+
constructor(data?: IRangeResult);
|
|
2421
|
+
from?: number;
|
|
2422
|
+
to?: number;
|
|
2423
|
+
count?: number;
|
|
2424
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2425
|
+
}
|
|
2426
|
+
export interface IScalarResult {
|
|
2427
|
+
value?: number;
|
|
2428
|
+
}
|
|
2429
|
+
export class ScalarResult implements IScalarResult {
|
|
2430
|
+
constructor(data?: IScalarResult);
|
|
2431
|
+
value?: number;
|
|
2432
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2433
|
+
}
|
|
2434
|
+
export interface INestedResultValue {
|
|
2435
|
+
value?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
|
|
2436
|
+
range?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IRangeResult;
|
|
2437
|
+
scalar?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IScalarResult;
|
|
2438
|
+
dateHistogram?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
|
|
2439
|
+
}
|
|
2440
|
+
export class NestedResultValue implements INestedResultValue {
|
|
2441
|
+
constructor(data?: INestedResultValue);
|
|
2442
|
+
value?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
|
|
2443
|
+
range?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IRangeResult;
|
|
2444
|
+
scalar?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IScalarResult;
|
|
2445
|
+
dateHistogram?: $requests.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
|
|
2446
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2447
|
+
}
|
|
2448
|
+
export interface IResults {
|
|
2449
|
+
results?: { [k: string]: $requests.wix.common.AggregationData.AggregationResults.NestedResults.INestedResultValue };
|
|
2450
|
+
}
|
|
2451
|
+
export class Results implements IResults {
|
|
2452
|
+
constructor(data?: IResults);
|
|
2453
|
+
results?: { [k: string]: $requests.wix.common.AggregationData.AggregationResults.NestedResults.INestedResultValue };
|
|
2454
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2455
|
+
}
|
|
2456
|
+
}
|
|
2457
|
+
export interface IDateHistogramResults {
|
|
2458
|
+
results?: $requests.wix.common.AggregationData.AggregationResults.DateHistogramResults.IDateHistogramResult[];
|
|
2459
|
+
}
|
|
2460
|
+
export class DateHistogramResults implements IDateHistogramResults {
|
|
2461
|
+
constructor(data?: IDateHistogramResults);
|
|
2462
|
+
results?: $requests.wix.common.AggregationData.AggregationResults.DateHistogramResults.IDateHistogramResult[];
|
|
2463
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2464
|
+
}
|
|
2465
|
+
export namespace DateHistogramResults {
|
|
2466
|
+
export interface IDateHistogramResult {
|
|
2467
|
+
value?: string;
|
|
2468
|
+
count?: number;
|
|
2469
|
+
}
|
|
2470
|
+
export class DateHistogramResult implements IDateHistogramResult {
|
|
2471
|
+
constructor(data?: IDateHistogramResult);
|
|
2472
|
+
value?: string;
|
|
2473
|
+
count?: number;
|
|
2474
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
2475
|
+
}
|
|
2476
|
+
}
|
|
2324
2477
|
}
|
|
2325
2478
|
}
|
|
2326
2479
|
export interface IPaging {
|
|
@@ -5084,6 +5237,7 @@ declare namespace $responses {
|
|
|
5084
5237
|
search?: $responses.wix.common.ISearchDetails;
|
|
5085
5238
|
paging?: $responses.wix.common.IPaging;
|
|
5086
5239
|
cursorPaging?: $responses.wix.common.ICursorPaging;
|
|
5240
|
+
timeZone?: string;
|
|
5087
5241
|
}
|
|
5088
5242
|
export class Search implements ISearch {
|
|
5089
5243
|
constructor(data?: ISearch);
|
|
@@ -5095,6 +5249,7 @@ declare namespace $responses {
|
|
|
5095
5249
|
search?: $responses.wix.common.ISearchDetails;
|
|
5096
5250
|
paging?: $responses.wix.common.IPaging;
|
|
5097
5251
|
cursorPaging?: $responses.wix.common.ICursorPaging;
|
|
5252
|
+
timeZone?: string;
|
|
5098
5253
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5099
5254
|
}
|
|
5100
5255
|
export interface ICursorSearch {
|
|
@@ -5103,6 +5258,7 @@ declare namespace $responses {
|
|
|
5103
5258
|
aggregations: $responses.wix.common.IAggregation[];
|
|
5104
5259
|
search?: $responses.wix.common.ISearchDetails;
|
|
5105
5260
|
cursorPaging?: $responses.wix.common.ICursorPaging;
|
|
5261
|
+
timeZone?: string;
|
|
5106
5262
|
}
|
|
5107
5263
|
export class CursorSearch implements ICursorSearch {
|
|
5108
5264
|
constructor(data?: ICursorSearch);
|
|
@@ -5111,6 +5267,7 @@ declare namespace $responses {
|
|
|
5111
5267
|
aggregations: $responses.wix.common.IAggregation[];
|
|
5112
5268
|
search?: $responses.wix.common.ISearchDetails;
|
|
5113
5269
|
cursorPaging?: $responses.wix.common.ICursorPaging;
|
|
5270
|
+
timeZone?: string;
|
|
5114
5271
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5115
5272
|
}
|
|
5116
5273
|
export interface ISearchDetails {
|
|
@@ -5138,6 +5295,8 @@ declare namespace $responses {
|
|
|
5138
5295
|
VALUE = "VALUE",
|
|
5139
5296
|
RANGE = "RANGE",
|
|
5140
5297
|
SCALAR = "SCALAR",
|
|
5298
|
+
DATE_HISTOGRAM = "DATE_HISTOGRAM",
|
|
5299
|
+
NESTED = "NESTED",
|
|
5141
5300
|
}
|
|
5142
5301
|
export enum ScalarType {
|
|
5143
5302
|
UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE",
|
|
@@ -5154,6 +5313,8 @@ declare namespace $responses {
|
|
|
5154
5313
|
value?: $responses.wix.common.Aggregation.IValueAggregation;
|
|
5155
5314
|
range?: $responses.wix.common.Aggregation.IRangeAggregation;
|
|
5156
5315
|
scalar?: $responses.wix.common.Aggregation.IScalarAggregation;
|
|
5316
|
+
dateHistogram?: $responses.wix.common.Aggregation.IDateHistogramAggregation;
|
|
5317
|
+
nested?: $responses.wix.common.Aggregation.INestedAggregation;
|
|
5157
5318
|
groupBy?: $responses.wix.common.Aggregation.IGroupByAggregation;
|
|
5158
5319
|
}
|
|
5159
5320
|
export class Aggregation implements IAggregation {
|
|
@@ -5164,6 +5325,8 @@ declare namespace $responses {
|
|
|
5164
5325
|
value?: $responses.wix.common.Aggregation.IValueAggregation;
|
|
5165
5326
|
range?: $responses.wix.common.Aggregation.IRangeAggregation;
|
|
5166
5327
|
scalar?: $responses.wix.common.Aggregation.IScalarAggregation;
|
|
5328
|
+
dateHistogram?: $responses.wix.common.Aggregation.IDateHistogramAggregation;
|
|
5329
|
+
nested?: $responses.wix.common.Aggregation.INestedAggregation;
|
|
5167
5330
|
groupBy?: $responses.wix.common.Aggregation.IGroupByAggregation;
|
|
5168
5331
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5169
5332
|
}
|
|
@@ -5246,6 +5409,63 @@ declare namespace $responses {
|
|
|
5246
5409
|
value?: $responses.wix.common.Aggregation.IValueAggregation;
|
|
5247
5410
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5248
5411
|
}
|
|
5412
|
+
export interface INestedAggregation {
|
|
5413
|
+
nestedAggregations: $responses.wix.common.Aggregation.NestedAggregation.INestedAggregationItem[];
|
|
5414
|
+
}
|
|
5415
|
+
export class NestedAggregation implements INestedAggregation {
|
|
5416
|
+
constructor(data?: INestedAggregation);
|
|
5417
|
+
nestedAggregations: $responses.wix.common.Aggregation.NestedAggregation.INestedAggregationItem[];
|
|
5418
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5419
|
+
}
|
|
5420
|
+
export namespace NestedAggregation {
|
|
5421
|
+
export enum NestedAggregationType {
|
|
5422
|
+
UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
|
|
5423
|
+
VALUE = "VALUE",
|
|
5424
|
+
RANGE = "RANGE",
|
|
5425
|
+
SCALAR = "SCALAR",
|
|
5426
|
+
DATE_HISTOGRAM = "DATE_HISTOGRAM",
|
|
5427
|
+
}
|
|
5428
|
+
export interface INestedAggregationItem {
|
|
5429
|
+
name?: string;
|
|
5430
|
+
type: $responses.wix.common.Aggregation.NestedAggregation.NestedAggregationType;
|
|
5431
|
+
fieldPath: string;
|
|
5432
|
+
value?: $responses.wix.common.Aggregation.IValueAggregation;
|
|
5433
|
+
range?: $responses.wix.common.Aggregation.IRangeAggregation;
|
|
5434
|
+
scalar?: $responses.wix.common.Aggregation.IScalarAggregation;
|
|
5435
|
+
dateHistogram?: $responses.wix.common.Aggregation.IDateHistogramAggregation;
|
|
5436
|
+
}
|
|
5437
|
+
export class NestedAggregationItem implements INestedAggregationItem {
|
|
5438
|
+
constructor(data?: INestedAggregationItem);
|
|
5439
|
+
name?: string;
|
|
5440
|
+
type: $responses.wix.common.Aggregation.NestedAggregation.NestedAggregationType;
|
|
5441
|
+
fieldPath: string;
|
|
5442
|
+
value?: $responses.wix.common.Aggregation.IValueAggregation;
|
|
5443
|
+
range?: $responses.wix.common.Aggregation.IRangeAggregation;
|
|
5444
|
+
scalar?: $responses.wix.common.Aggregation.IScalarAggregation;
|
|
5445
|
+
dateHistogram?: $responses.wix.common.Aggregation.IDateHistogramAggregation;
|
|
5446
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5447
|
+
}
|
|
5448
|
+
}
|
|
5449
|
+
export interface IDateHistogramAggregation {
|
|
5450
|
+
interval: $responses.wix.common.Aggregation.DateHistogramAggregation.Interval;
|
|
5451
|
+
}
|
|
5452
|
+
export class DateHistogramAggregation implements IDateHistogramAggregation {
|
|
5453
|
+
constructor(data?: IDateHistogramAggregation);
|
|
5454
|
+
interval: $responses.wix.common.Aggregation.DateHistogramAggregation.Interval;
|
|
5455
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5456
|
+
}
|
|
5457
|
+
export namespace DateHistogramAggregation {
|
|
5458
|
+
export enum Interval {
|
|
5459
|
+
UNKNOWN_INTERVAL = "UNKNOWN_INTERVAL",
|
|
5460
|
+
YEAR = "YEAR",
|
|
5461
|
+
MONTH = "MONTH",
|
|
5462
|
+
WEEK = "WEEK",
|
|
5463
|
+
DAY = "DAY",
|
|
5464
|
+
HOUR = "HOUR",
|
|
5465
|
+
MINUTE = "MINUTE",
|
|
5466
|
+
SECOND = "SECOND",
|
|
5467
|
+
}
|
|
5468
|
+
}
|
|
5249
5469
|
}
|
|
5250
5470
|
export interface IAggregationData {
|
|
5251
5471
|
results: $responses.wix.common.AggregationData.IAggregationResults[];
|
|
@@ -5264,6 +5484,8 @@ declare namespace $responses {
|
|
|
5264
5484
|
ranges?: $responses.wix.common.AggregationData.AggregationResults.IRangeResults;
|
|
5265
5485
|
scalar?: $responses.wix.common.AggregationData.AggregationResults.IScalarResult;
|
|
5266
5486
|
groupedByValue?: $responses.wix.common.AggregationData.AggregationResults.IGroupByValueResults;
|
|
5487
|
+
dateHistogram?: $responses.wix.common.AggregationData.AggregationResults.IDateHistogramResults;
|
|
5488
|
+
nested?: $responses.wix.common.AggregationData.AggregationResults.INestedResults;
|
|
5267
5489
|
}
|
|
5268
5490
|
export class AggregationResults implements IAggregationResults {
|
|
5269
5491
|
constructor(data?: IAggregationResults);
|
|
@@ -5274,6 +5496,8 @@ declare namespace $responses {
|
|
|
5274
5496
|
ranges?: $responses.wix.common.AggregationData.AggregationResults.IRangeResults;
|
|
5275
5497
|
scalar?: $responses.wix.common.AggregationData.AggregationResults.IScalarResult;
|
|
5276
5498
|
groupedByValue?: $responses.wix.common.AggregationData.AggregationResults.IGroupByValueResults;
|
|
5499
|
+
dateHistogram?: $responses.wix.common.AggregationData.AggregationResults.IDateHistogramResults;
|
|
5500
|
+
nested?: $responses.wix.common.AggregationData.AggregationResults.INestedResults;
|
|
5277
5501
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5278
5502
|
}
|
|
5279
5503
|
export namespace AggregationResults {
|
|
@@ -5367,6 +5591,88 @@ declare namespace $responses {
|
|
|
5367
5591
|
scalar?: $responses.wix.common.AggregationData.AggregationResults.IScalarResult;
|
|
5368
5592
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5369
5593
|
}
|
|
5594
|
+
export interface INestedResults {
|
|
5595
|
+
results: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IResults[];
|
|
5596
|
+
}
|
|
5597
|
+
export class NestedResults implements INestedResults {
|
|
5598
|
+
constructor(data?: INestedResults);
|
|
5599
|
+
results: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IResults[];
|
|
5600
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5601
|
+
}
|
|
5602
|
+
export namespace NestedResults {
|
|
5603
|
+
export interface IValueResult {
|
|
5604
|
+
value: string;
|
|
5605
|
+
count?: number;
|
|
5606
|
+
}
|
|
5607
|
+
export class ValueResult implements IValueResult {
|
|
5608
|
+
constructor(data?: IValueResult);
|
|
5609
|
+
value: string;
|
|
5610
|
+
count?: number;
|
|
5611
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5612
|
+
}
|
|
5613
|
+
export interface IRangeResult {
|
|
5614
|
+
from?: number;
|
|
5615
|
+
to?: number;
|
|
5616
|
+
count?: number;
|
|
5617
|
+
}
|
|
5618
|
+
export class RangeResult implements IRangeResult {
|
|
5619
|
+
constructor(data?: IRangeResult);
|
|
5620
|
+
from?: number;
|
|
5621
|
+
to?: number;
|
|
5622
|
+
count?: number;
|
|
5623
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5624
|
+
}
|
|
5625
|
+
export interface IScalarResult {
|
|
5626
|
+
value: number;
|
|
5627
|
+
}
|
|
5628
|
+
export class ScalarResult implements IScalarResult {
|
|
5629
|
+
constructor(data?: IScalarResult);
|
|
5630
|
+
value: number;
|
|
5631
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5632
|
+
}
|
|
5633
|
+
export interface INestedResultValue {
|
|
5634
|
+
value?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
|
|
5635
|
+
range?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IRangeResult;
|
|
5636
|
+
scalar?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IScalarResult;
|
|
5637
|
+
dateHistogram?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
|
|
5638
|
+
}
|
|
5639
|
+
export class NestedResultValue implements INestedResultValue {
|
|
5640
|
+
constructor(data?: INestedResultValue);
|
|
5641
|
+
value?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
|
|
5642
|
+
range?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IRangeResult;
|
|
5643
|
+
scalar?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IScalarResult;
|
|
5644
|
+
dateHistogram?: $responses.wix.common.AggregationData.AggregationResults.NestedResults.IValueResult;
|
|
5645
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5646
|
+
}
|
|
5647
|
+
export interface IResults {
|
|
5648
|
+
results?: { [k: string]: $responses.wix.common.AggregationData.AggregationResults.NestedResults.INestedResultValue };
|
|
5649
|
+
}
|
|
5650
|
+
export class Results implements IResults {
|
|
5651
|
+
constructor(data?: IResults);
|
|
5652
|
+
results?: { [k: string]: $responses.wix.common.AggregationData.AggregationResults.NestedResults.INestedResultValue };
|
|
5653
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5654
|
+
}
|
|
5655
|
+
}
|
|
5656
|
+
export interface IDateHistogramResults {
|
|
5657
|
+
results: $responses.wix.common.AggregationData.AggregationResults.DateHistogramResults.IDateHistogramResult[];
|
|
5658
|
+
}
|
|
5659
|
+
export class DateHistogramResults implements IDateHistogramResults {
|
|
5660
|
+
constructor(data?: IDateHistogramResults);
|
|
5661
|
+
results: $responses.wix.common.AggregationData.AggregationResults.DateHistogramResults.IDateHistogramResult[];
|
|
5662
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5663
|
+
}
|
|
5664
|
+
export namespace DateHistogramResults {
|
|
5665
|
+
export interface IDateHistogramResult {
|
|
5666
|
+
value: string;
|
|
5667
|
+
count: number;
|
|
5668
|
+
}
|
|
5669
|
+
export class DateHistogramResult implements IDateHistogramResult {
|
|
5670
|
+
constructor(data?: IDateHistogramResult);
|
|
5671
|
+
value: string;
|
|
5672
|
+
count: number;
|
|
5673
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5674
|
+
}
|
|
5675
|
+
}
|
|
5370
5676
|
}
|
|
5371
5677
|
}
|
|
5372
5678
|
export interface IPaging {
|