@dashevo/dapi-grpc 4.2.0-dev.7 → 4.2.0-dev.8
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/build.rs +10 -0
- package/clients/drive/v0/nodejs/drive_pbjs.js +1210 -105
- package/clients/platform/v0/nodejs/platform_pbjs.js +1210 -105
- package/clients/platform/v0/nodejs/platform_protoc.js +1240 -156
- package/clients/platform/v0/web/platform_pb.d.ts +143 -0
- package/clients/platform/v0/web/platform_pb.js +1240 -156
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +118 -9
|
@@ -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
|
|
|
@@ -2658,6 +2732,11 @@ export namespace GetDocumentsRequest {
|
|
|
2658
2732
|
getOffset(): number;
|
|
2659
2733
|
setOffset(value: number): void;
|
|
2660
2734
|
|
|
2735
|
+
hasChained(): boolean;
|
|
2736
|
+
clearChained(): void;
|
|
2737
|
+
getChained(): GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin | undefined;
|
|
2738
|
+
setChained(value?: GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin): void;
|
|
2739
|
+
|
|
2661
2740
|
getStartCase(): GetDocumentsRequestV1.StartCase;
|
|
2662
2741
|
serializeBinary(): Uint8Array;
|
|
2663
2742
|
toObject(includeInstance?: boolean): GetDocumentsRequestV1.AsObject;
|
|
@@ -2683,6 +2762,7 @@ export namespace GetDocumentsRequest {
|
|
|
2683
2762
|
groupByList: Array<string>,
|
|
2684
2763
|
havingList: Array<GetDocumentsRequest.HavingClause.AsObject>,
|
|
2685
2764
|
offset: number,
|
|
2765
|
+
chained?: GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.AsObject,
|
|
2686
2766
|
}
|
|
2687
2767
|
|
|
2688
2768
|
export class Select extends jspb.Message {
|
|
@@ -2720,6 +2800,30 @@ export namespace GetDocumentsRequest {
|
|
|
2720
2800
|
export const Function: FunctionMap;
|
|
2721
2801
|
}
|
|
2722
2802
|
|
|
2803
|
+
export class ChainedJoin extends jspb.Message {
|
|
2804
|
+
getJoinProperty(): string;
|
|
2805
|
+
setJoinProperty(value: string): void;
|
|
2806
|
+
|
|
2807
|
+
getOuterDocumentType(): string;
|
|
2808
|
+
setOuterDocumentType(value: string): void;
|
|
2809
|
+
|
|
2810
|
+
serializeBinary(): Uint8Array;
|
|
2811
|
+
toObject(includeInstance?: boolean): ChainedJoin.AsObject;
|
|
2812
|
+
static toObject(includeInstance: boolean, msg: ChainedJoin): ChainedJoin.AsObject;
|
|
2813
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2814
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2815
|
+
static serializeBinaryToWriter(message: ChainedJoin, writer: jspb.BinaryWriter): void;
|
|
2816
|
+
static deserializeBinary(bytes: Uint8Array): ChainedJoin;
|
|
2817
|
+
static deserializeBinaryFromReader(message: ChainedJoin, reader: jspb.BinaryReader): ChainedJoin;
|
|
2818
|
+
}
|
|
2819
|
+
|
|
2820
|
+
export namespace ChainedJoin {
|
|
2821
|
+
export type AsObject = {
|
|
2822
|
+
joinProperty: string,
|
|
2823
|
+
outerDocumentType: string,
|
|
2824
|
+
}
|
|
2825
|
+
}
|
|
2826
|
+
|
|
2723
2827
|
export enum StartCase {
|
|
2724
2828
|
START_NOT_SET = 0,
|
|
2725
2829
|
START_AFTER = 6,
|
|
@@ -3313,6 +3417,11 @@ export namespace GetDocumentsResponse {
|
|
|
3313
3417
|
getRanked(): GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries | undefined;
|
|
3314
3418
|
setRanked(value?: GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries): void;
|
|
3315
3419
|
|
|
3420
|
+
hasChained(): boolean;
|
|
3421
|
+
clearChained(): void;
|
|
3422
|
+
getChained(): GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments | undefined;
|
|
3423
|
+
setChained(value?: GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments): void;
|
|
3424
|
+
|
|
3316
3425
|
getVariantCase(): ResultData.VariantCase;
|
|
3317
3426
|
serializeBinary(): Uint8Array;
|
|
3318
3427
|
toObject(includeInstance?: boolean): ResultData.AsObject;
|
|
@@ -3331,6 +3440,7 @@ export namespace GetDocumentsResponse {
|
|
|
3331
3440
|
sums?: GetDocumentsResponse.GetDocumentsResponseV1.SumResults.AsObject,
|
|
3332
3441
|
averages?: GetDocumentsResponse.GetDocumentsResponseV1.AverageResults.AsObject,
|
|
3333
3442
|
ranked?: GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.AsObject,
|
|
3443
|
+
chained?: GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.AsObject,
|
|
3334
3444
|
}
|
|
3335
3445
|
|
|
3336
3446
|
export enum VariantCase {
|
|
@@ -3340,6 +3450,39 @@ export namespace GetDocumentsResponse {
|
|
|
3340
3450
|
SUMS = 3,
|
|
3341
3451
|
AVERAGES = 4,
|
|
3342
3452
|
RANKED = 5,
|
|
3453
|
+
CHAINED = 6,
|
|
3454
|
+
}
|
|
3455
|
+
}
|
|
3456
|
+
|
|
3457
|
+
export class ChainedDocuments extends jspb.Message {
|
|
3458
|
+
clearInnerDocumentsList(): void;
|
|
3459
|
+
getInnerDocumentsList(): Array<Uint8Array | string>;
|
|
3460
|
+
getInnerDocumentsList_asU8(): Array<Uint8Array>;
|
|
3461
|
+
getInnerDocumentsList_asB64(): Array<string>;
|
|
3462
|
+
setInnerDocumentsList(value: Array<Uint8Array | string>): void;
|
|
3463
|
+
addInnerDocuments(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
3464
|
+
|
|
3465
|
+
clearOuterDocumentsList(): void;
|
|
3466
|
+
getOuterDocumentsList(): Array<Uint8Array | string>;
|
|
3467
|
+
getOuterDocumentsList_asU8(): Array<Uint8Array>;
|
|
3468
|
+
getOuterDocumentsList_asB64(): Array<string>;
|
|
3469
|
+
setOuterDocumentsList(value: Array<Uint8Array | string>): void;
|
|
3470
|
+
addOuterDocuments(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
3471
|
+
|
|
3472
|
+
serializeBinary(): Uint8Array;
|
|
3473
|
+
toObject(includeInstance?: boolean): ChainedDocuments.AsObject;
|
|
3474
|
+
static toObject(includeInstance: boolean, msg: ChainedDocuments): ChainedDocuments.AsObject;
|
|
3475
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3476
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3477
|
+
static serializeBinaryToWriter(message: ChainedDocuments, writer: jspb.BinaryWriter): void;
|
|
3478
|
+
static deserializeBinary(bytes: Uint8Array): ChainedDocuments;
|
|
3479
|
+
static deserializeBinaryFromReader(message: ChainedDocuments, reader: jspb.BinaryReader): ChainedDocuments;
|
|
3480
|
+
}
|
|
3481
|
+
|
|
3482
|
+
export namespace ChainedDocuments {
|
|
3483
|
+
export type AsObject = {
|
|
3484
|
+
innerDocumentsList: Array<Uint8Array | string>,
|
|
3485
|
+
outerDocumentsList: Array<Uint8Array | string>,
|
|
3343
3486
|
}
|
|
3344
3487
|
}
|
|
3345
3488
|
|