@dashevo/dapi-grpc 4.2.0-dev.8 → 4.2.0-dev.9
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 +1 -0
- package/clients/drive/v0/nodejs/drive_pbjs.js +1477 -268
- package/clients/platform/v0/nodejs/platform_pbjs.js +1477 -268
- package/clients/platform/v0/nodejs/platform_protoc.js +1285 -5
- package/clients/platform/v0/web/platform_pb.d.ts +167 -0
- package/clients/platform/v0/web/platform_pb.js +1285 -5
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +103 -0
|
@@ -2737,6 +2737,11 @@ export namespace GetDocumentsRequest {
|
|
|
2737
2737
|
getChained(): GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin | undefined;
|
|
2738
2738
|
setChained(value?: GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin): void;
|
|
2739
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
|
+
|
|
2740
2745
|
getStartCase(): GetDocumentsRequestV1.StartCase;
|
|
2741
2746
|
serializeBinary(): Uint8Array;
|
|
2742
2747
|
toObject(includeInstance?: boolean): GetDocumentsRequestV1.AsObject;
|
|
@@ -2763,6 +2768,7 @@ export namespace GetDocumentsRequest {
|
|
|
2763
2768
|
havingList: Array<GetDocumentsRequest.HavingClause.AsObject>,
|
|
2764
2769
|
offset: number,
|
|
2765
2770
|
chained?: GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.AsObject,
|
|
2771
|
+
subQueriesList: Array<GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.AsObject>,
|
|
2766
2772
|
}
|
|
2767
2773
|
|
|
2768
2774
|
export class Select extends jspb.Message {
|
|
@@ -2824,6 +2830,95 @@ export namespace GetDocumentsRequest {
|
|
|
2824
2830
|
}
|
|
2825
2831
|
}
|
|
2826
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
|
+
|
|
2827
2922
|
export enum StartCase {
|
|
2828
2923
|
START_NOT_SET = 0,
|
|
2829
2924
|
START_AFTER = 6,
|
|
@@ -3422,6 +3517,11 @@ export namespace GetDocumentsResponse {
|
|
|
3422
3517
|
getChained(): GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments | undefined;
|
|
3423
3518
|
setChained(value?: GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments): void;
|
|
3424
3519
|
|
|
3520
|
+
hasComposite(): boolean;
|
|
3521
|
+
clearComposite(): void;
|
|
3522
|
+
getComposite(): GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments | undefined;
|
|
3523
|
+
setComposite(value?: GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments): void;
|
|
3524
|
+
|
|
3425
3525
|
getVariantCase(): ResultData.VariantCase;
|
|
3426
3526
|
serializeBinary(): Uint8Array;
|
|
3427
3527
|
toObject(includeInstance?: boolean): ResultData.AsObject;
|
|
@@ -3441,6 +3541,7 @@ export namespace GetDocumentsResponse {
|
|
|
3441
3541
|
averages?: GetDocumentsResponse.GetDocumentsResponseV1.AverageResults.AsObject,
|
|
3442
3542
|
ranked?: GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.AsObject,
|
|
3443
3543
|
chained?: GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.AsObject,
|
|
3544
|
+
composite?: GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.AsObject,
|
|
3444
3545
|
}
|
|
3445
3546
|
|
|
3446
3547
|
export enum VariantCase {
|
|
@@ -3451,6 +3552,7 @@ export namespace GetDocumentsResponse {
|
|
|
3451
3552
|
AVERAGES = 4,
|
|
3452
3553
|
RANKED = 5,
|
|
3453
3554
|
CHAINED = 6,
|
|
3555
|
+
COMPOSITE = 7,
|
|
3454
3556
|
}
|
|
3455
3557
|
}
|
|
3456
3558
|
|
|
@@ -3486,6 +3588,71 @@ export namespace GetDocumentsResponse {
|
|
|
3486
3588
|
}
|
|
3487
3589
|
}
|
|
3488
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
|
+
}
|
|
3653
|
+
}
|
|
3654
|
+
}
|
|
3655
|
+
|
|
3489
3656
|
export enum ResultCase {
|
|
3490
3657
|
RESULT_NOT_SET = 0,
|
|
3491
3658
|
DATA = 1,
|