@dashevo/dapi-grpc 4.1.1 → 4.2.0-dev.10
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/Cargo.toml +19 -8
- package/build.rs +22 -2
- package/clients/drive/v0/nodejs/drive_pbjs.js +5292 -2646
- package/clients/platform/v0/nodejs/platform_pbjs.js +5292 -2646
- package/clients/platform/v0/nodejs/platform_protoc.js +4767 -1963
- package/clients/platform/v0/web/platform_pb.d.ts +402 -42
- package/clients/platform/v0/web/platform_pb.js +4767 -1963
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +528 -93
|
@@ -2373,6 +2373,74 @@ export namespace GetDocumentsRequest {
|
|
|
2373
2373
|
}
|
|
2374
2374
|
}
|
|
2375
2375
|
|
|
2376
|
+
export class TimeRangeSelection extends jspb.Message {
|
|
2377
|
+
getSelector(): GetDocumentsRequest.TimeRangeSelection.SelectorMap[keyof GetDocumentsRequest.TimeRangeSelection.SelectorMap];
|
|
2378
|
+
setSelector(value: GetDocumentsRequest.TimeRangeSelection.SelectorMap[keyof GetDocumentsRequest.TimeRangeSelection.SelectorMap]): void;
|
|
2379
|
+
|
|
2380
|
+
hasStartMs(): boolean;
|
|
2381
|
+
clearStartMs(): void;
|
|
2382
|
+
getStartMs(): string;
|
|
2383
|
+
setStartMs(value: string): void;
|
|
2384
|
+
|
|
2385
|
+
hasGrid(): boolean;
|
|
2386
|
+
clearGrid(): void;
|
|
2387
|
+
getGrid(): GetDocumentsRequest.TimeRangeSelection.Grid | undefined;
|
|
2388
|
+
setGrid(value?: GetDocumentsRequest.TimeRangeSelection.Grid): void;
|
|
2389
|
+
|
|
2390
|
+
serializeBinary(): Uint8Array;
|
|
2391
|
+
toObject(includeInstance?: boolean): TimeRangeSelection.AsObject;
|
|
2392
|
+
static toObject(includeInstance: boolean, msg: TimeRangeSelection): TimeRangeSelection.AsObject;
|
|
2393
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2394
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2395
|
+
static serializeBinaryToWriter(message: TimeRangeSelection, writer: jspb.BinaryWriter): void;
|
|
2396
|
+
static deserializeBinary(bytes: Uint8Array): TimeRangeSelection;
|
|
2397
|
+
static deserializeBinaryFromReader(message: TimeRangeSelection, reader: jspb.BinaryReader): TimeRangeSelection;
|
|
2398
|
+
}
|
|
2399
|
+
|
|
2400
|
+
export namespace TimeRangeSelection {
|
|
2401
|
+
export type AsObject = {
|
|
2402
|
+
selector: GetDocumentsRequest.TimeRangeSelection.SelectorMap[keyof GetDocumentsRequest.TimeRangeSelection.SelectorMap],
|
|
2403
|
+
startMs: string,
|
|
2404
|
+
grid?: GetDocumentsRequest.TimeRangeSelection.Grid.AsObject,
|
|
2405
|
+
}
|
|
2406
|
+
|
|
2407
|
+
export class Grid extends jspb.Message {
|
|
2408
|
+
getRange(): string;
|
|
2409
|
+
setRange(value: string): void;
|
|
2410
|
+
|
|
2411
|
+
getStep(): string;
|
|
2412
|
+
setStep(value: string): void;
|
|
2413
|
+
|
|
2414
|
+
getPhase(): string;
|
|
2415
|
+
setPhase(value: string): void;
|
|
2416
|
+
|
|
2417
|
+
serializeBinary(): Uint8Array;
|
|
2418
|
+
toObject(includeInstance?: boolean): Grid.AsObject;
|
|
2419
|
+
static toObject(includeInstance: boolean, msg: Grid): Grid.AsObject;
|
|
2420
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2421
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2422
|
+
static serializeBinaryToWriter(message: Grid, writer: jspb.BinaryWriter): void;
|
|
2423
|
+
static deserializeBinary(bytes: Uint8Array): Grid;
|
|
2424
|
+
static deserializeBinaryFromReader(message: Grid, reader: jspb.BinaryReader): Grid;
|
|
2425
|
+
}
|
|
2426
|
+
|
|
2427
|
+
export namespace Grid {
|
|
2428
|
+
export type AsObject = {
|
|
2429
|
+
range: string,
|
|
2430
|
+
step: string,
|
|
2431
|
+
phase: string,
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
|
|
2435
|
+
export interface SelectorMap {
|
|
2436
|
+
NEWEST: 0;
|
|
2437
|
+
OLDEST: 1;
|
|
2438
|
+
BY_START: 2;
|
|
2439
|
+
}
|
|
2440
|
+
|
|
2441
|
+
export const Selector: SelectorMap;
|
|
2442
|
+
}
|
|
2443
|
+
|
|
2376
2444
|
export class WhereClause extends jspb.Message {
|
|
2377
2445
|
getField(): string;
|
|
2378
2446
|
setField(value: string): void;
|
|
@@ -2385,6 +2453,11 @@ export namespace GetDocumentsRequest {
|
|
|
2385
2453
|
getValue(): GetDocumentsRequest.DocumentFieldValue | undefined;
|
|
2386
2454
|
setValue(value?: GetDocumentsRequest.DocumentFieldValue): void;
|
|
2387
2455
|
|
|
2456
|
+
hasTimeRange(): boolean;
|
|
2457
|
+
clearTimeRange(): void;
|
|
2458
|
+
getTimeRange(): GetDocumentsRequest.TimeRangeSelection | undefined;
|
|
2459
|
+
setTimeRange(value?: GetDocumentsRequest.TimeRangeSelection): void;
|
|
2460
|
+
|
|
2388
2461
|
serializeBinary(): Uint8Array;
|
|
2389
2462
|
toObject(includeInstance?: boolean): WhereClause.AsObject;
|
|
2390
2463
|
static toObject(includeInstance: boolean, msg: WhereClause): WhereClause.AsObject;
|
|
@@ -2400,6 +2473,7 @@ export namespace GetDocumentsRequest {
|
|
|
2400
2473
|
field: string,
|
|
2401
2474
|
operator: GetDocumentsRequest.WhereOperatorMap[keyof GetDocumentsRequest.WhereOperatorMap],
|
|
2402
2475
|
value?: GetDocumentsRequest.DocumentFieldValue.AsObject,
|
|
2476
|
+
timeRange?: GetDocumentsRequest.TimeRangeSelection.AsObject,
|
|
2403
2477
|
}
|
|
2404
2478
|
}
|
|
2405
2479
|
|
|
@@ -2435,41 +2509,6 @@ export namespace GetDocumentsRequest {
|
|
|
2435
2509
|
export const Function: FunctionMap;
|
|
2436
2510
|
}
|
|
2437
2511
|
|
|
2438
|
-
export class HavingRanking extends jspb.Message {
|
|
2439
|
-
getKind(): GetDocumentsRequest.HavingRanking.KindMap[keyof GetDocumentsRequest.HavingRanking.KindMap];
|
|
2440
|
-
setKind(value: GetDocumentsRequest.HavingRanking.KindMap[keyof GetDocumentsRequest.HavingRanking.KindMap]): void;
|
|
2441
|
-
|
|
2442
|
-
hasN(): boolean;
|
|
2443
|
-
clearN(): void;
|
|
2444
|
-
getN(): string;
|
|
2445
|
-
setN(value: string): void;
|
|
2446
|
-
|
|
2447
|
-
serializeBinary(): Uint8Array;
|
|
2448
|
-
toObject(includeInstance?: boolean): HavingRanking.AsObject;
|
|
2449
|
-
static toObject(includeInstance: boolean, msg: HavingRanking): HavingRanking.AsObject;
|
|
2450
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2451
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2452
|
-
static serializeBinaryToWriter(message: HavingRanking, writer: jspb.BinaryWriter): void;
|
|
2453
|
-
static deserializeBinary(bytes: Uint8Array): HavingRanking;
|
|
2454
|
-
static deserializeBinaryFromReader(message: HavingRanking, reader: jspb.BinaryReader): HavingRanking;
|
|
2455
|
-
}
|
|
2456
|
-
|
|
2457
|
-
export namespace HavingRanking {
|
|
2458
|
-
export type AsObject = {
|
|
2459
|
-
kind: GetDocumentsRequest.HavingRanking.KindMap[keyof GetDocumentsRequest.HavingRanking.KindMap],
|
|
2460
|
-
n: string,
|
|
2461
|
-
}
|
|
2462
|
-
|
|
2463
|
-
export interface KindMap {
|
|
2464
|
-
MIN: 0;
|
|
2465
|
-
MAX: 1;
|
|
2466
|
-
TOP: 2;
|
|
2467
|
-
BOTTOM: 3;
|
|
2468
|
-
}
|
|
2469
|
-
|
|
2470
|
-
export const Kind: KindMap;
|
|
2471
|
-
}
|
|
2472
|
-
|
|
2473
2512
|
export class HavingClause extends jspb.Message {
|
|
2474
2513
|
hasAggregate(): boolean;
|
|
2475
2514
|
clearAggregate(): void;
|
|
@@ -2484,11 +2523,6 @@ export namespace GetDocumentsRequest {
|
|
|
2484
2523
|
getValue(): GetDocumentsRequest.DocumentFieldValue | undefined;
|
|
2485
2524
|
setValue(value?: GetDocumentsRequest.DocumentFieldValue): void;
|
|
2486
2525
|
|
|
2487
|
-
hasRanking(): boolean;
|
|
2488
|
-
clearRanking(): void;
|
|
2489
|
-
getRanking(): GetDocumentsRequest.HavingRanking | undefined;
|
|
2490
|
-
setRanking(value?: GetDocumentsRequest.HavingRanking): void;
|
|
2491
|
-
|
|
2492
2526
|
getRightCase(): HavingClause.RightCase;
|
|
2493
2527
|
serializeBinary(): Uint8Array;
|
|
2494
2528
|
toObject(includeInstance?: boolean): HavingClause.AsObject;
|
|
@@ -2505,7 +2539,6 @@ export namespace GetDocumentsRequest {
|
|
|
2505
2539
|
aggregate?: GetDocumentsRequest.HavingAggregate.AsObject,
|
|
2506
2540
|
operator: GetDocumentsRequest.HavingClause.OperatorMap[keyof GetDocumentsRequest.HavingClause.OperatorMap],
|
|
2507
2541
|
value?: GetDocumentsRequest.DocumentFieldValue.AsObject,
|
|
2508
|
-
ranking?: GetDocumentsRequest.HavingRanking.AsObject,
|
|
2509
2542
|
}
|
|
2510
2543
|
|
|
2511
2544
|
export interface OperatorMap {
|
|
@@ -2527,7 +2560,6 @@ export namespace GetDocumentsRequest {
|
|
|
2527
2560
|
export enum RightCase {
|
|
2528
2561
|
RIGHT_NOT_SET = 0,
|
|
2529
2562
|
VALUE = 3,
|
|
2530
|
-
RANKING = 4,
|
|
2531
2563
|
}
|
|
2532
2564
|
}
|
|
2533
2565
|
|
|
@@ -2700,6 +2732,16 @@ export namespace GetDocumentsRequest {
|
|
|
2700
2732
|
getOffset(): number;
|
|
2701
2733
|
setOffset(value: number): void;
|
|
2702
2734
|
|
|
2735
|
+
hasChained(): boolean;
|
|
2736
|
+
clearChained(): void;
|
|
2737
|
+
getChained(): GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin | undefined;
|
|
2738
|
+
setChained(value?: GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin): void;
|
|
2739
|
+
|
|
2740
|
+
clearSubQueriesList(): void;
|
|
2741
|
+
getSubQueriesList(): Array<GetDocumentsRequest.GetDocumentsRequestV1.SubQuery>;
|
|
2742
|
+
setSubQueriesList(value: Array<GetDocumentsRequest.GetDocumentsRequestV1.SubQuery>): void;
|
|
2743
|
+
addSubQueries(value?: GetDocumentsRequest.GetDocumentsRequestV1.SubQuery, index?: number): GetDocumentsRequest.GetDocumentsRequestV1.SubQuery;
|
|
2744
|
+
|
|
2703
2745
|
getStartCase(): GetDocumentsRequestV1.StartCase;
|
|
2704
2746
|
serializeBinary(): Uint8Array;
|
|
2705
2747
|
toObject(includeInstance?: boolean): GetDocumentsRequestV1.AsObject;
|
|
@@ -2725,6 +2767,8 @@ export namespace GetDocumentsRequest {
|
|
|
2725
2767
|
groupByList: Array<string>,
|
|
2726
2768
|
havingList: Array<GetDocumentsRequest.HavingClause.AsObject>,
|
|
2727
2769
|
offset: number,
|
|
2770
|
+
chained?: GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.AsObject,
|
|
2771
|
+
subQueriesList: Array<GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.AsObject>,
|
|
2728
2772
|
}
|
|
2729
2773
|
|
|
2730
2774
|
export class Select extends jspb.Message {
|
|
@@ -2762,6 +2806,119 @@ export namespace GetDocumentsRequest {
|
|
|
2762
2806
|
export const Function: FunctionMap;
|
|
2763
2807
|
}
|
|
2764
2808
|
|
|
2809
|
+
export class ChainedJoin extends jspb.Message {
|
|
2810
|
+
getJoinProperty(): string;
|
|
2811
|
+
setJoinProperty(value: string): void;
|
|
2812
|
+
|
|
2813
|
+
getOuterDocumentType(): string;
|
|
2814
|
+
setOuterDocumentType(value: string): void;
|
|
2815
|
+
|
|
2816
|
+
serializeBinary(): Uint8Array;
|
|
2817
|
+
toObject(includeInstance?: boolean): ChainedJoin.AsObject;
|
|
2818
|
+
static toObject(includeInstance: boolean, msg: ChainedJoin): ChainedJoin.AsObject;
|
|
2819
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2820
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2821
|
+
static serializeBinaryToWriter(message: ChainedJoin, writer: jspb.BinaryWriter): void;
|
|
2822
|
+
static deserializeBinary(bytes: Uint8Array): ChainedJoin;
|
|
2823
|
+
static deserializeBinaryFromReader(message: ChainedJoin, reader: jspb.BinaryReader): ChainedJoin;
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2826
|
+
export namespace ChainedJoin {
|
|
2827
|
+
export type AsObject = {
|
|
2828
|
+
joinProperty: string,
|
|
2829
|
+
outerDocumentType: string,
|
|
2830
|
+
}
|
|
2831
|
+
}
|
|
2832
|
+
|
|
2833
|
+
export class SubQuery extends jspb.Message {
|
|
2834
|
+
getDataContractId(): Uint8Array | string;
|
|
2835
|
+
getDataContractId_asU8(): Uint8Array;
|
|
2836
|
+
getDataContractId_asB64(): string;
|
|
2837
|
+
setDataContractId(value: Uint8Array | string): void;
|
|
2838
|
+
|
|
2839
|
+
getDocumentType(): string;
|
|
2840
|
+
setDocumentType(value: string): void;
|
|
2841
|
+
|
|
2842
|
+
clearWhereClausesList(): void;
|
|
2843
|
+
getWhereClausesList(): Array<GetDocumentsRequest.WhereClause>;
|
|
2844
|
+
setWhereClausesList(value: Array<GetDocumentsRequest.WhereClause>): void;
|
|
2845
|
+
addWhereClauses(value?: GetDocumentsRequest.WhereClause, index?: number): GetDocumentsRequest.WhereClause;
|
|
2846
|
+
|
|
2847
|
+
clearOrderByList(): void;
|
|
2848
|
+
getOrderByList(): Array<GetDocumentsRequest.OrderClause>;
|
|
2849
|
+
setOrderByList(value: Array<GetDocumentsRequest.OrderClause>): void;
|
|
2850
|
+
addOrderBy(value?: GetDocumentsRequest.OrderClause, index?: number): GetDocumentsRequest.OrderClause;
|
|
2851
|
+
|
|
2852
|
+
hasLimit(): boolean;
|
|
2853
|
+
clearLimit(): void;
|
|
2854
|
+
getLimit(): number;
|
|
2855
|
+
setLimit(value: number): void;
|
|
2856
|
+
|
|
2857
|
+
getKind(): GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.KindMap[keyof GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.KindMap];
|
|
2858
|
+
setKind(value: GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.KindMap[keyof GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.KindMap]): void;
|
|
2859
|
+
|
|
2860
|
+
hasBind(): boolean;
|
|
2861
|
+
clearBind(): void;
|
|
2862
|
+
getBind(): GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding | undefined;
|
|
2863
|
+
setBind(value?: GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding): void;
|
|
2864
|
+
|
|
2865
|
+
serializeBinary(): Uint8Array;
|
|
2866
|
+
toObject(includeInstance?: boolean): SubQuery.AsObject;
|
|
2867
|
+
static toObject(includeInstance: boolean, msg: SubQuery): SubQuery.AsObject;
|
|
2868
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2869
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2870
|
+
static serializeBinaryToWriter(message: SubQuery, writer: jspb.BinaryWriter): void;
|
|
2871
|
+
static deserializeBinary(bytes: Uint8Array): SubQuery;
|
|
2872
|
+
static deserializeBinaryFromReader(message: SubQuery, reader: jspb.BinaryReader): SubQuery;
|
|
2873
|
+
}
|
|
2874
|
+
|
|
2875
|
+
export namespace SubQuery {
|
|
2876
|
+
export type AsObject = {
|
|
2877
|
+
dataContractId: Uint8Array | string,
|
|
2878
|
+
documentType: string,
|
|
2879
|
+
whereClausesList: Array<GetDocumentsRequest.WhereClause.AsObject>,
|
|
2880
|
+
orderByList: Array<GetDocumentsRequest.OrderClause.AsObject>,
|
|
2881
|
+
limit: number,
|
|
2882
|
+
kind: GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.KindMap[keyof GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.KindMap],
|
|
2883
|
+
bind?: GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding.AsObject,
|
|
2884
|
+
}
|
|
2885
|
+
|
|
2886
|
+
export class Binding extends jspb.Message {
|
|
2887
|
+
getSource(): number;
|
|
2888
|
+
setSource(value: number): void;
|
|
2889
|
+
|
|
2890
|
+
getSourceProperty(): string;
|
|
2891
|
+
setSourceProperty(value: string): void;
|
|
2892
|
+
|
|
2893
|
+
getField(): string;
|
|
2894
|
+
setField(value: string): void;
|
|
2895
|
+
|
|
2896
|
+
serializeBinary(): Uint8Array;
|
|
2897
|
+
toObject(includeInstance?: boolean): Binding.AsObject;
|
|
2898
|
+
static toObject(includeInstance: boolean, msg: Binding): Binding.AsObject;
|
|
2899
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2900
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2901
|
+
static serializeBinaryToWriter(message: Binding, writer: jspb.BinaryWriter): void;
|
|
2902
|
+
static deserializeBinary(bytes: Uint8Array): Binding;
|
|
2903
|
+
static deserializeBinaryFromReader(message: Binding, reader: jspb.BinaryReader): Binding;
|
|
2904
|
+
}
|
|
2905
|
+
|
|
2906
|
+
export namespace Binding {
|
|
2907
|
+
export type AsObject = {
|
|
2908
|
+
source: number,
|
|
2909
|
+
sourceProperty: string,
|
|
2910
|
+
field: string,
|
|
2911
|
+
}
|
|
2912
|
+
}
|
|
2913
|
+
|
|
2914
|
+
export interface KindMap {
|
|
2915
|
+
DOCUMENTS: 0;
|
|
2916
|
+
COUNT: 1;
|
|
2917
|
+
}
|
|
2918
|
+
|
|
2919
|
+
export const Kind: KindMap;
|
|
2920
|
+
}
|
|
2921
|
+
|
|
2765
2922
|
export enum StartCase {
|
|
2766
2923
|
START_NOT_SET = 0,
|
|
2767
2924
|
START_AFTER = 6,
|
|
@@ -2781,6 +2938,7 @@ export namespace GetDocumentsRequest {
|
|
|
2781
2938
|
BETWEEN_EXCLUDE_RIGHT: 8;
|
|
2782
2939
|
IN: 9;
|
|
2783
2940
|
STARTS_WITH: 10;
|
|
2941
|
+
IN_TIME_RANGE: 11;
|
|
2784
2942
|
}
|
|
2785
2943
|
|
|
2786
2944
|
export const WhereOperator: WhereOperatorMap;
|
|
@@ -3244,6 +3402,90 @@ export namespace GetDocumentsResponse {
|
|
|
3244
3402
|
}
|
|
3245
3403
|
}
|
|
3246
3404
|
|
|
3405
|
+
export class RankedEntry extends jspb.Message {
|
|
3406
|
+
getKey(): Uint8Array | string;
|
|
3407
|
+
getKey_asU8(): Uint8Array;
|
|
3408
|
+
getKey_asB64(): string;
|
|
3409
|
+
setKey(value: Uint8Array | string): void;
|
|
3410
|
+
|
|
3411
|
+
hasCount(): boolean;
|
|
3412
|
+
clearCount(): void;
|
|
3413
|
+
getCount(): string;
|
|
3414
|
+
setCount(value: string): void;
|
|
3415
|
+
|
|
3416
|
+
hasSum(): boolean;
|
|
3417
|
+
clearSum(): void;
|
|
3418
|
+
getSum(): string;
|
|
3419
|
+
setSum(value: string): void;
|
|
3420
|
+
|
|
3421
|
+
hasAvg(): boolean;
|
|
3422
|
+
clearAvg(): void;
|
|
3423
|
+
getAvg(): number;
|
|
3424
|
+
setAvg(value: number): void;
|
|
3425
|
+
|
|
3426
|
+
hasInKey(): boolean;
|
|
3427
|
+
clearInKey(): void;
|
|
3428
|
+
getInKey(): Uint8Array | string;
|
|
3429
|
+
getInKey_asU8(): Uint8Array;
|
|
3430
|
+
getInKey_asB64(): string;
|
|
3431
|
+
setInKey(value: Uint8Array | string): void;
|
|
3432
|
+
|
|
3433
|
+
getValueCase(): RankedEntry.ValueCase;
|
|
3434
|
+
serializeBinary(): Uint8Array;
|
|
3435
|
+
toObject(includeInstance?: boolean): RankedEntry.AsObject;
|
|
3436
|
+
static toObject(includeInstance: boolean, msg: RankedEntry): RankedEntry.AsObject;
|
|
3437
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3438
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3439
|
+
static serializeBinaryToWriter(message: RankedEntry, writer: jspb.BinaryWriter): void;
|
|
3440
|
+
static deserializeBinary(bytes: Uint8Array): RankedEntry;
|
|
3441
|
+
static deserializeBinaryFromReader(message: RankedEntry, reader: jspb.BinaryReader): RankedEntry;
|
|
3442
|
+
}
|
|
3443
|
+
|
|
3444
|
+
export namespace RankedEntry {
|
|
3445
|
+
export type AsObject = {
|
|
3446
|
+
key: Uint8Array | string,
|
|
3447
|
+
count: string,
|
|
3448
|
+
sum: string,
|
|
3449
|
+
avg: number,
|
|
3450
|
+
inKey: Uint8Array | string,
|
|
3451
|
+
}
|
|
3452
|
+
|
|
3453
|
+
export enum ValueCase {
|
|
3454
|
+
VALUE_NOT_SET = 0,
|
|
3455
|
+
COUNT = 2,
|
|
3456
|
+
SUM = 3,
|
|
3457
|
+
AVG = 4,
|
|
3458
|
+
}
|
|
3459
|
+
}
|
|
3460
|
+
|
|
3461
|
+
export class RankedEntries extends jspb.Message {
|
|
3462
|
+
clearEntriesList(): void;
|
|
3463
|
+
getEntriesList(): Array<GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry>;
|
|
3464
|
+
setEntriesList(value: Array<GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry>): void;
|
|
3465
|
+
addEntries(value?: GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry, index?: number): GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry;
|
|
3466
|
+
|
|
3467
|
+
hasSkipped(): boolean;
|
|
3468
|
+
clearSkipped(): void;
|
|
3469
|
+
getSkipped(): string;
|
|
3470
|
+
setSkipped(value: string): void;
|
|
3471
|
+
|
|
3472
|
+
serializeBinary(): Uint8Array;
|
|
3473
|
+
toObject(includeInstance?: boolean): RankedEntries.AsObject;
|
|
3474
|
+
static toObject(includeInstance: boolean, msg: RankedEntries): RankedEntries.AsObject;
|
|
3475
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3476
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3477
|
+
static serializeBinaryToWriter(message: RankedEntries, writer: jspb.BinaryWriter): void;
|
|
3478
|
+
static deserializeBinary(bytes: Uint8Array): RankedEntries;
|
|
3479
|
+
static deserializeBinaryFromReader(message: RankedEntries, reader: jspb.BinaryReader): RankedEntries;
|
|
3480
|
+
}
|
|
3481
|
+
|
|
3482
|
+
export namespace RankedEntries {
|
|
3483
|
+
export type AsObject = {
|
|
3484
|
+
entriesList: Array<GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.AsObject>,
|
|
3485
|
+
skipped: string,
|
|
3486
|
+
}
|
|
3487
|
+
}
|
|
3488
|
+
|
|
3247
3489
|
export class ResultData extends jspb.Message {
|
|
3248
3490
|
hasDocuments(): boolean;
|
|
3249
3491
|
clearDocuments(): void;
|
|
@@ -3265,6 +3507,21 @@ export namespace GetDocumentsResponse {
|
|
|
3265
3507
|
getAverages(): GetDocumentsResponse.GetDocumentsResponseV1.AverageResults | undefined;
|
|
3266
3508
|
setAverages(value?: GetDocumentsResponse.GetDocumentsResponseV1.AverageResults): void;
|
|
3267
3509
|
|
|
3510
|
+
hasRanked(): boolean;
|
|
3511
|
+
clearRanked(): void;
|
|
3512
|
+
getRanked(): GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries | undefined;
|
|
3513
|
+
setRanked(value?: GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries): void;
|
|
3514
|
+
|
|
3515
|
+
hasChained(): boolean;
|
|
3516
|
+
clearChained(): void;
|
|
3517
|
+
getChained(): GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments | undefined;
|
|
3518
|
+
setChained(value?: GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments): void;
|
|
3519
|
+
|
|
3520
|
+
hasComposite(): boolean;
|
|
3521
|
+
clearComposite(): void;
|
|
3522
|
+
getComposite(): GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments | undefined;
|
|
3523
|
+
setComposite(value?: GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments): void;
|
|
3524
|
+
|
|
3268
3525
|
getVariantCase(): ResultData.VariantCase;
|
|
3269
3526
|
serializeBinary(): Uint8Array;
|
|
3270
3527
|
toObject(includeInstance?: boolean): ResultData.AsObject;
|
|
@@ -3282,6 +3539,9 @@ export namespace GetDocumentsResponse {
|
|
|
3282
3539
|
counts?: GetDocumentsResponse.GetDocumentsResponseV1.CountResults.AsObject,
|
|
3283
3540
|
sums?: GetDocumentsResponse.GetDocumentsResponseV1.SumResults.AsObject,
|
|
3284
3541
|
averages?: GetDocumentsResponse.GetDocumentsResponseV1.AverageResults.AsObject,
|
|
3542
|
+
ranked?: GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.AsObject,
|
|
3543
|
+
chained?: GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.AsObject,
|
|
3544
|
+
composite?: GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.AsObject,
|
|
3285
3545
|
}
|
|
3286
3546
|
|
|
3287
3547
|
export enum VariantCase {
|
|
@@ -3290,6 +3550,106 @@ export namespace GetDocumentsResponse {
|
|
|
3290
3550
|
COUNTS = 2,
|
|
3291
3551
|
SUMS = 3,
|
|
3292
3552
|
AVERAGES = 4,
|
|
3553
|
+
RANKED = 5,
|
|
3554
|
+
CHAINED = 6,
|
|
3555
|
+
COMPOSITE = 7,
|
|
3556
|
+
}
|
|
3557
|
+
}
|
|
3558
|
+
|
|
3559
|
+
export class ChainedDocuments extends jspb.Message {
|
|
3560
|
+
clearInnerDocumentsList(): void;
|
|
3561
|
+
getInnerDocumentsList(): Array<Uint8Array | string>;
|
|
3562
|
+
getInnerDocumentsList_asU8(): Array<Uint8Array>;
|
|
3563
|
+
getInnerDocumentsList_asB64(): Array<string>;
|
|
3564
|
+
setInnerDocumentsList(value: Array<Uint8Array | string>): void;
|
|
3565
|
+
addInnerDocuments(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
3566
|
+
|
|
3567
|
+
clearOuterDocumentsList(): void;
|
|
3568
|
+
getOuterDocumentsList(): Array<Uint8Array | string>;
|
|
3569
|
+
getOuterDocumentsList_asU8(): Array<Uint8Array>;
|
|
3570
|
+
getOuterDocumentsList_asB64(): Array<string>;
|
|
3571
|
+
setOuterDocumentsList(value: Array<Uint8Array | string>): void;
|
|
3572
|
+
addOuterDocuments(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
3573
|
+
|
|
3574
|
+
serializeBinary(): Uint8Array;
|
|
3575
|
+
toObject(includeInstance?: boolean): ChainedDocuments.AsObject;
|
|
3576
|
+
static toObject(includeInstance: boolean, msg: ChainedDocuments): ChainedDocuments.AsObject;
|
|
3577
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3578
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3579
|
+
static serializeBinaryToWriter(message: ChainedDocuments, writer: jspb.BinaryWriter): void;
|
|
3580
|
+
static deserializeBinary(bytes: Uint8Array): ChainedDocuments;
|
|
3581
|
+
static deserializeBinaryFromReader(message: ChainedDocuments, reader: jspb.BinaryReader): ChainedDocuments;
|
|
3582
|
+
}
|
|
3583
|
+
|
|
3584
|
+
export namespace ChainedDocuments {
|
|
3585
|
+
export type AsObject = {
|
|
3586
|
+
innerDocumentsList: Array<Uint8Array | string>,
|
|
3587
|
+
outerDocumentsList: Array<Uint8Array | string>,
|
|
3588
|
+
}
|
|
3589
|
+
}
|
|
3590
|
+
|
|
3591
|
+
export class CompositeDocuments extends jspb.Message {
|
|
3592
|
+
clearPageDocumentsList(): void;
|
|
3593
|
+
getPageDocumentsList(): Array<Uint8Array | string>;
|
|
3594
|
+
getPageDocumentsList_asU8(): Array<Uint8Array>;
|
|
3595
|
+
getPageDocumentsList_asB64(): Array<string>;
|
|
3596
|
+
setPageDocumentsList(value: Array<Uint8Array | string>): void;
|
|
3597
|
+
addPageDocuments(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
3598
|
+
|
|
3599
|
+
clearSubResultsList(): void;
|
|
3600
|
+
getSubResultsList(): Array<GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult>;
|
|
3601
|
+
setSubResultsList(value: Array<GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult>): void;
|
|
3602
|
+
addSubResults(value?: GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult, index?: number): GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult;
|
|
3603
|
+
|
|
3604
|
+
serializeBinary(): Uint8Array;
|
|
3605
|
+
toObject(includeInstance?: boolean): CompositeDocuments.AsObject;
|
|
3606
|
+
static toObject(includeInstance: boolean, msg: CompositeDocuments): CompositeDocuments.AsObject;
|
|
3607
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3608
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3609
|
+
static serializeBinaryToWriter(message: CompositeDocuments, writer: jspb.BinaryWriter): void;
|
|
3610
|
+
static deserializeBinary(bytes: Uint8Array): CompositeDocuments;
|
|
3611
|
+
static deserializeBinaryFromReader(message: CompositeDocuments, reader: jspb.BinaryReader): CompositeDocuments;
|
|
3612
|
+
}
|
|
3613
|
+
|
|
3614
|
+
export namespace CompositeDocuments {
|
|
3615
|
+
export type AsObject = {
|
|
3616
|
+
pageDocumentsList: Array<Uint8Array | string>,
|
|
3617
|
+
subResultsList: Array<GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.AsObject>,
|
|
3618
|
+
}
|
|
3619
|
+
|
|
3620
|
+
export class SubQueryResult extends jspb.Message {
|
|
3621
|
+
hasDocuments(): boolean;
|
|
3622
|
+
clearDocuments(): void;
|
|
3623
|
+
getDocuments(): GetDocumentsResponse.GetDocumentsResponseV1.Documents | undefined;
|
|
3624
|
+
setDocuments(value?: GetDocumentsResponse.GetDocumentsResponseV1.Documents): void;
|
|
3625
|
+
|
|
3626
|
+
hasCounts(): boolean;
|
|
3627
|
+
clearCounts(): void;
|
|
3628
|
+
getCounts(): GetDocumentsResponse.GetDocumentsResponseV1.CountEntries | undefined;
|
|
3629
|
+
setCounts(value?: GetDocumentsResponse.GetDocumentsResponseV1.CountEntries): void;
|
|
3630
|
+
|
|
3631
|
+
getResultCase(): SubQueryResult.ResultCase;
|
|
3632
|
+
serializeBinary(): Uint8Array;
|
|
3633
|
+
toObject(includeInstance?: boolean): SubQueryResult.AsObject;
|
|
3634
|
+
static toObject(includeInstance: boolean, msg: SubQueryResult): SubQueryResult.AsObject;
|
|
3635
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3636
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3637
|
+
static serializeBinaryToWriter(message: SubQueryResult, writer: jspb.BinaryWriter): void;
|
|
3638
|
+
static deserializeBinary(bytes: Uint8Array): SubQueryResult;
|
|
3639
|
+
static deserializeBinaryFromReader(message: SubQueryResult, reader: jspb.BinaryReader): SubQueryResult;
|
|
3640
|
+
}
|
|
3641
|
+
|
|
3642
|
+
export namespace SubQueryResult {
|
|
3643
|
+
export type AsObject = {
|
|
3644
|
+
documents?: GetDocumentsResponse.GetDocumentsResponseV1.Documents.AsObject,
|
|
3645
|
+
counts?: GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.AsObject,
|
|
3646
|
+
}
|
|
3647
|
+
|
|
3648
|
+
export enum ResultCase {
|
|
3649
|
+
RESULT_NOT_SET = 0,
|
|
3650
|
+
DOCUMENTS = 1,
|
|
3651
|
+
COUNTS = 2,
|
|
3652
|
+
}
|
|
3293
3653
|
}
|
|
3294
3654
|
}
|
|
3295
3655
|
|