@uniswap/client-data-api 0.0.1 → 0.0.4
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/data/v1/api-DataApiService_connectquery.d.ts +46 -7
- package/dist/data/v1/api-DataApiService_connectquery.js +46 -7
- package/dist/data/v1/api_connect.d.ts +33 -6
- package/dist/data/v1/api_connect.js +33 -6
- package/dist/data/v1/api_pb.d.ts +213 -1
- package/dist/data/v1/api_pb.js +315 -1
- package/dist/data/v1/types_pb.d.ts +661 -5
- package/dist/data/v1/types_pb.js +829 -10
- package/package.json +2 -2
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse } from "./api_pb.js";
|
|
2
|
+
import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse } from "./api_pb.js";
|
|
3
|
+
/**
|
|
4
|
+
* @generated from rpc data.v1.DataApiService.GetToken
|
|
5
|
+
*/
|
|
6
|
+
export declare const getToken: {
|
|
7
|
+
readonly localName: "getToken";
|
|
8
|
+
readonly name: "GetToken";
|
|
9
|
+
readonly kind: MethodKind.Unary;
|
|
10
|
+
readonly I: typeof GetTokenRequest;
|
|
11
|
+
readonly O: typeof GetTokenResponse;
|
|
12
|
+
readonly service: {
|
|
13
|
+
readonly typeName: "data.v1.DataApiService";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @generated from rpc data.v1.DataApiService.SubmitReport
|
|
18
|
+
*/
|
|
19
|
+
export declare const submitReport: {
|
|
20
|
+
readonly localName: "submitReport";
|
|
21
|
+
readonly name: "SubmitReport";
|
|
22
|
+
readonly kind: MethodKind.Unary;
|
|
23
|
+
readonly I: typeof SubmitReportRequest;
|
|
24
|
+
readonly O: typeof SubmitReportResponse;
|
|
25
|
+
readonly service: {
|
|
26
|
+
readonly typeName: "data.v1.DataApiService";
|
|
27
|
+
};
|
|
28
|
+
};
|
|
3
29
|
/**
|
|
4
30
|
* @generated from rpc data.v1.DataApiService.GetPortfolio
|
|
5
31
|
*/
|
|
@@ -14,14 +40,27 @@ export declare const getPortfolio: {
|
|
|
14
40
|
};
|
|
15
41
|
};
|
|
16
42
|
/**
|
|
17
|
-
* @generated from rpc data.v1.DataApiService.
|
|
43
|
+
* @generated from rpc data.v1.DataApiService.ListPortfolios
|
|
18
44
|
*/
|
|
19
|
-
export declare const
|
|
20
|
-
readonly localName: "
|
|
21
|
-
readonly name: "
|
|
45
|
+
export declare const listPortfolios: {
|
|
46
|
+
readonly localName: "listPortfolios";
|
|
47
|
+
readonly name: "ListPortfolios";
|
|
22
48
|
readonly kind: MethodKind.Unary;
|
|
23
|
-
readonly I: typeof
|
|
24
|
-
readonly O: typeof
|
|
49
|
+
readonly I: typeof ListPortfoliosRequest;
|
|
50
|
+
readonly O: typeof ListPortfoliosResponse;
|
|
51
|
+
readonly service: {
|
|
52
|
+
readonly typeName: "data.v1.DataApiService";
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* @generated from rpc data.v1.DataApiService.ListTransactions
|
|
57
|
+
*/
|
|
58
|
+
export declare const listTransactions: {
|
|
59
|
+
readonly localName: "listTransactions";
|
|
60
|
+
readonly name: "ListTransactions";
|
|
61
|
+
readonly kind: MethodKind.Unary;
|
|
62
|
+
readonly I: typeof ListTransactionsRequest;
|
|
63
|
+
readonly O: typeof ListTransactionsResponse;
|
|
25
64
|
readonly service: {
|
|
26
65
|
readonly typeName: "data.v1.DataApiService";
|
|
27
66
|
};
|
|
@@ -3,7 +3,33 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse } from "./api_pb.js";
|
|
6
|
+
import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse } from "./api_pb.js";
|
|
7
|
+
/**
|
|
8
|
+
* @generated from rpc data.v1.DataApiService.GetToken
|
|
9
|
+
*/
|
|
10
|
+
export const getToken = {
|
|
11
|
+
localName: "getToken",
|
|
12
|
+
name: "GetToken",
|
|
13
|
+
kind: MethodKind.Unary,
|
|
14
|
+
I: GetTokenRequest,
|
|
15
|
+
O: GetTokenResponse,
|
|
16
|
+
service: {
|
|
17
|
+
typeName: "data.v1.DataApiService"
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @generated from rpc data.v1.DataApiService.SubmitReport
|
|
22
|
+
*/
|
|
23
|
+
export const submitReport = {
|
|
24
|
+
localName: "submitReport",
|
|
25
|
+
name: "SubmitReport",
|
|
26
|
+
kind: MethodKind.Unary,
|
|
27
|
+
I: SubmitReportRequest,
|
|
28
|
+
O: SubmitReportResponse,
|
|
29
|
+
service: {
|
|
30
|
+
typeName: "data.v1.DataApiService"
|
|
31
|
+
}
|
|
32
|
+
};
|
|
7
33
|
/**
|
|
8
34
|
* @generated from rpc data.v1.DataApiService.GetPortfolio
|
|
9
35
|
*/
|
|
@@ -18,14 +44,27 @@ export const getPortfolio = {
|
|
|
18
44
|
}
|
|
19
45
|
};
|
|
20
46
|
/**
|
|
21
|
-
* @generated from rpc data.v1.DataApiService.
|
|
47
|
+
* @generated from rpc data.v1.DataApiService.ListPortfolios
|
|
22
48
|
*/
|
|
23
|
-
export const
|
|
24
|
-
localName: "
|
|
25
|
-
name: "
|
|
49
|
+
export const listPortfolios = {
|
|
50
|
+
localName: "listPortfolios",
|
|
51
|
+
name: "ListPortfolios",
|
|
26
52
|
kind: MethodKind.Unary,
|
|
27
|
-
I:
|
|
28
|
-
O:
|
|
53
|
+
I: ListPortfoliosRequest,
|
|
54
|
+
O: ListPortfoliosResponse,
|
|
55
|
+
service: {
|
|
56
|
+
typeName: "data.v1.DataApiService"
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* @generated from rpc data.v1.DataApiService.ListTransactions
|
|
61
|
+
*/
|
|
62
|
+
export const listTransactions = {
|
|
63
|
+
localName: "listTransactions",
|
|
64
|
+
name: "ListTransactions",
|
|
65
|
+
kind: MethodKind.Unary,
|
|
66
|
+
I: ListTransactionsRequest,
|
|
67
|
+
O: ListTransactionsResponse,
|
|
29
68
|
service: {
|
|
30
69
|
typeName: "data.v1.DataApiService"
|
|
31
70
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse } from "./api_pb.js";
|
|
1
|
+
import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse } from "./api_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v1.DataApiService
|
|
@@ -6,6 +6,24 @@ import { MethodKind } from "@bufbuild/protobuf";
|
|
|
6
6
|
export declare const DataApiService: {
|
|
7
7
|
readonly typeName: "data.v1.DataApiService";
|
|
8
8
|
readonly methods: {
|
|
9
|
+
/**
|
|
10
|
+
* @generated from rpc data.v1.DataApiService.GetToken
|
|
11
|
+
*/
|
|
12
|
+
readonly getToken: {
|
|
13
|
+
readonly name: "GetToken";
|
|
14
|
+
readonly I: typeof GetTokenRequest;
|
|
15
|
+
readonly O: typeof GetTokenResponse;
|
|
16
|
+
readonly kind: MethodKind.Unary;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* @generated from rpc data.v1.DataApiService.SubmitReport
|
|
20
|
+
*/
|
|
21
|
+
readonly submitReport: {
|
|
22
|
+
readonly name: "SubmitReport";
|
|
23
|
+
readonly I: typeof SubmitReportRequest;
|
|
24
|
+
readonly O: typeof SubmitReportResponse;
|
|
25
|
+
readonly kind: MethodKind.Unary;
|
|
26
|
+
};
|
|
9
27
|
/**
|
|
10
28
|
* @generated from rpc data.v1.DataApiService.GetPortfolio
|
|
11
29
|
*/
|
|
@@ -16,12 +34,21 @@ export declare const DataApiService: {
|
|
|
16
34
|
readonly kind: MethodKind.Unary;
|
|
17
35
|
};
|
|
18
36
|
/**
|
|
19
|
-
* @generated from rpc data.v1.DataApiService.
|
|
37
|
+
* @generated from rpc data.v1.DataApiService.ListPortfolios
|
|
20
38
|
*/
|
|
21
|
-
readonly
|
|
22
|
-
readonly name: "
|
|
23
|
-
readonly I: typeof
|
|
24
|
-
readonly O: typeof
|
|
39
|
+
readonly listPortfolios: {
|
|
40
|
+
readonly name: "ListPortfolios";
|
|
41
|
+
readonly I: typeof ListPortfoliosRequest;
|
|
42
|
+
readonly O: typeof ListPortfoliosResponse;
|
|
43
|
+
readonly kind: MethodKind.Unary;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* @generated from rpc data.v1.DataApiService.ListTransactions
|
|
47
|
+
*/
|
|
48
|
+
readonly listTransactions: {
|
|
49
|
+
readonly name: "ListTransactions";
|
|
50
|
+
readonly I: typeof ListTransactionsRequest;
|
|
51
|
+
readonly O: typeof ListTransactionsResponse;
|
|
25
52
|
readonly kind: MethodKind.Unary;
|
|
26
53
|
};
|
|
27
54
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file data/v1/api.proto (package data.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse } from "./api_pb.js";
|
|
5
|
+
import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse } from "./api_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v1.DataApiService
|
|
@@ -10,6 +10,24 @@ import { MethodKind } from "@bufbuild/protobuf";
|
|
|
10
10
|
export const DataApiService = {
|
|
11
11
|
typeName: "data.v1.DataApiService",
|
|
12
12
|
methods: {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from rpc data.v1.DataApiService.GetToken
|
|
15
|
+
*/
|
|
16
|
+
getToken: {
|
|
17
|
+
name: "GetToken",
|
|
18
|
+
I: GetTokenRequest,
|
|
19
|
+
O: GetTokenResponse,
|
|
20
|
+
kind: MethodKind.Unary,
|
|
21
|
+
},
|
|
22
|
+
/**
|
|
23
|
+
* @generated from rpc data.v1.DataApiService.SubmitReport
|
|
24
|
+
*/
|
|
25
|
+
submitReport: {
|
|
26
|
+
name: "SubmitReport",
|
|
27
|
+
I: SubmitReportRequest,
|
|
28
|
+
O: SubmitReportResponse,
|
|
29
|
+
kind: MethodKind.Unary,
|
|
30
|
+
},
|
|
13
31
|
/**
|
|
14
32
|
* @generated from rpc data.v1.DataApiService.GetPortfolio
|
|
15
33
|
*/
|
|
@@ -20,12 +38,21 @@ export const DataApiService = {
|
|
|
20
38
|
kind: MethodKind.Unary,
|
|
21
39
|
},
|
|
22
40
|
/**
|
|
23
|
-
* @generated from rpc data.v1.DataApiService.
|
|
41
|
+
* @generated from rpc data.v1.DataApiService.ListPortfolios
|
|
24
42
|
*/
|
|
25
|
-
|
|
26
|
-
name: "
|
|
27
|
-
I:
|
|
28
|
-
O:
|
|
43
|
+
listPortfolios: {
|
|
44
|
+
name: "ListPortfolios",
|
|
45
|
+
I: ListPortfoliosRequest,
|
|
46
|
+
O: ListPortfoliosResponse,
|
|
47
|
+
kind: MethodKind.Unary,
|
|
48
|
+
},
|
|
49
|
+
/**
|
|
50
|
+
* @generated from rpc data.v1.DataApiService.ListTransactions
|
|
51
|
+
*/
|
|
52
|
+
listTransactions: {
|
|
53
|
+
name: "ListTransactions",
|
|
54
|
+
I: ListTransactionsRequest,
|
|
55
|
+
O: ListTransactionsResponse,
|
|
29
56
|
kind: MethodKind.Unary,
|
|
30
57
|
},
|
|
31
58
|
}
|
package/dist/data/v1/api_pb.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
-
import { Portfolio, PortfolioValueModifier, Token } from "./types_pb.js";
|
|
3
|
+
import { Portfolio, PortfolioValueModifier, Token, TokenReportEventType, Transaction } from "./types_pb.js";
|
|
4
4
|
/**
|
|
5
5
|
* @generated from message data.v1.GetTokenRequest
|
|
6
6
|
*/
|
|
@@ -81,3 +81,215 @@ export declare class GetPortfolioResponse extends Message<GetPortfolioResponse>
|
|
|
81
81
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPortfolioResponse;
|
|
82
82
|
static equals(a: GetPortfolioResponse | PlainMessage<GetPortfolioResponse> | undefined, b: GetPortfolioResponse | PlainMessage<GetPortfolioResponse> | undefined): boolean;
|
|
83
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* @generated from message data.v1.ListPortfoliosRequest
|
|
86
|
+
*/
|
|
87
|
+
export declare class ListPortfoliosRequest extends Message<ListPortfoliosRequest> {
|
|
88
|
+
/**
|
|
89
|
+
* @generated from field: repeated string addresses = 1;
|
|
90
|
+
*/
|
|
91
|
+
addresses: string[];
|
|
92
|
+
/**
|
|
93
|
+
* @generated from field: repeated uint32 chain_ids = 2;
|
|
94
|
+
*/
|
|
95
|
+
chainIds: number[];
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: repeated data.v1.PortfolioValueModifier modifiers = 3;
|
|
98
|
+
*/
|
|
99
|
+
modifiers: PortfolioValueModifier[];
|
|
100
|
+
constructor(data?: PartialMessage<ListPortfoliosRequest>);
|
|
101
|
+
static readonly runtime: typeof proto3;
|
|
102
|
+
static readonly typeName = "data.v1.ListPortfoliosRequest";
|
|
103
|
+
static readonly fields: FieldList;
|
|
104
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListPortfoliosRequest;
|
|
105
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListPortfoliosRequest;
|
|
106
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListPortfoliosRequest;
|
|
107
|
+
static equals(a: ListPortfoliosRequest | PlainMessage<ListPortfoliosRequest> | undefined, b: ListPortfoliosRequest | PlainMessage<ListPortfoliosRequest> | undefined): boolean;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* @generated from message data.v1.ListPortfoliosResponse
|
|
111
|
+
*/
|
|
112
|
+
export declare class ListPortfoliosResponse extends Message<ListPortfoliosResponse> {
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: repeated data.v1.Portfolio portfolios = 1;
|
|
115
|
+
*/
|
|
116
|
+
portfolios: Portfolio[];
|
|
117
|
+
constructor(data?: PartialMessage<ListPortfoliosResponse>);
|
|
118
|
+
static readonly runtime: typeof proto3;
|
|
119
|
+
static readonly typeName = "data.v1.ListPortfoliosResponse";
|
|
120
|
+
static readonly fields: FieldList;
|
|
121
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListPortfoliosResponse;
|
|
122
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListPortfoliosResponse;
|
|
123
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListPortfoliosResponse;
|
|
124
|
+
static equals(a: ListPortfoliosResponse | PlainMessage<ListPortfoliosResponse> | undefined, b: ListPortfoliosResponse | PlainMessage<ListPortfoliosResponse> | undefined): boolean;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* @generated from message data.v1.SubmitReportRequest
|
|
128
|
+
*/
|
|
129
|
+
export declare class SubmitReportRequest extends Message<SubmitReportRequest> {
|
|
130
|
+
/**
|
|
131
|
+
* @generated from field: uint32 chain_id = 1;
|
|
132
|
+
*/
|
|
133
|
+
chainId: number;
|
|
134
|
+
/**
|
|
135
|
+
* @generated from field: string address = 2;
|
|
136
|
+
*/
|
|
137
|
+
address: string;
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: data.v1.TokenReportEventType event = 3;
|
|
140
|
+
*/
|
|
141
|
+
event: TokenReportEventType;
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: string details = 4;
|
|
144
|
+
*/
|
|
145
|
+
details: string;
|
|
146
|
+
constructor(data?: PartialMessage<SubmitReportRequest>);
|
|
147
|
+
static readonly runtime: typeof proto3;
|
|
148
|
+
static readonly typeName = "data.v1.SubmitReportRequest";
|
|
149
|
+
static readonly fields: FieldList;
|
|
150
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitReportRequest;
|
|
151
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitReportRequest;
|
|
152
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitReportRequest;
|
|
153
|
+
static equals(a: SubmitReportRequest | PlainMessage<SubmitReportRequest> | undefined, b: SubmitReportRequest | PlainMessage<SubmitReportRequest> | undefined): boolean;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* @generated from message data.v1.SubmitReportResponse
|
|
157
|
+
*/
|
|
158
|
+
export declare class SubmitReportResponse extends Message<SubmitReportResponse> {
|
|
159
|
+
/**
|
|
160
|
+
* @generated from field: bool success = 1;
|
|
161
|
+
*/
|
|
162
|
+
success: boolean;
|
|
163
|
+
constructor(data?: PartialMessage<SubmitReportResponse>);
|
|
164
|
+
static readonly runtime: typeof proto3;
|
|
165
|
+
static readonly typeName = "data.v1.SubmitReportResponse";
|
|
166
|
+
static readonly fields: FieldList;
|
|
167
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitReportResponse;
|
|
168
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitReportResponse;
|
|
169
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitReportResponse;
|
|
170
|
+
static equals(a: SubmitReportResponse | PlainMessage<SubmitReportResponse> | undefined, b: SubmitReportResponse | PlainMessage<SubmitReportResponse> | undefined): boolean;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* @generated from message data.v1.ListTransactionsRequest
|
|
174
|
+
*/
|
|
175
|
+
export declare class ListTransactionsRequest extends Message<ListTransactionsRequest> {
|
|
176
|
+
/**
|
|
177
|
+
* @generated from field: repeated uint32 chain_ids = 1;
|
|
178
|
+
*/
|
|
179
|
+
chainIds: number[];
|
|
180
|
+
/**
|
|
181
|
+
* @generated from field: string address = 2;
|
|
182
|
+
*/
|
|
183
|
+
address: string;
|
|
184
|
+
/**
|
|
185
|
+
* @generated from field: optional data.v1.FiatOnRampParams fiat_on_ramp_params = 3;
|
|
186
|
+
*/
|
|
187
|
+
fiatOnRampParams?: FiatOnRampParams;
|
|
188
|
+
/**
|
|
189
|
+
* @generated from field: optional string page_token = 4;
|
|
190
|
+
*/
|
|
191
|
+
pageToken?: string;
|
|
192
|
+
/**
|
|
193
|
+
* @generated from field: optional uint32 page_limit = 5;
|
|
194
|
+
*/
|
|
195
|
+
pageLimit?: number;
|
|
196
|
+
constructor(data?: PartialMessage<ListTransactionsRequest>);
|
|
197
|
+
static readonly runtime: typeof proto3;
|
|
198
|
+
static readonly typeName = "data.v1.ListTransactionsRequest";
|
|
199
|
+
static readonly fields: FieldList;
|
|
200
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListTransactionsRequest;
|
|
201
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListTransactionsRequest;
|
|
202
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTransactionsRequest;
|
|
203
|
+
static equals(a: ListTransactionsRequest | PlainMessage<ListTransactionsRequest> | undefined, b: ListTransactionsRequest | PlainMessage<ListTransactionsRequest> | undefined): boolean;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* @generated from message data.v1.FiatOnRampParams
|
|
207
|
+
*/
|
|
208
|
+
export declare class FiatOnRampParams extends Message<FiatOnRampParams> {
|
|
209
|
+
/**
|
|
210
|
+
* @generated from oneof data.v1.FiatOnRampParams.params
|
|
211
|
+
*/
|
|
212
|
+
params: {
|
|
213
|
+
/**
|
|
214
|
+
* @generated from field: data.v1.FiatOnRampTransactionIds transaction_ids = 1;
|
|
215
|
+
*/
|
|
216
|
+
value: FiatOnRampTransactionIds;
|
|
217
|
+
case: "transactionIds";
|
|
218
|
+
} | {
|
|
219
|
+
/**
|
|
220
|
+
* @generated from field: data.v1.FiatOnRampAuth auth = 2;
|
|
221
|
+
*/
|
|
222
|
+
value: FiatOnRampAuth;
|
|
223
|
+
case: "auth";
|
|
224
|
+
} | {
|
|
225
|
+
case: undefined;
|
|
226
|
+
value?: undefined;
|
|
227
|
+
};
|
|
228
|
+
constructor(data?: PartialMessage<FiatOnRampParams>);
|
|
229
|
+
static readonly runtime: typeof proto3;
|
|
230
|
+
static readonly typeName = "data.v1.FiatOnRampParams";
|
|
231
|
+
static readonly fields: FieldList;
|
|
232
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FiatOnRampParams;
|
|
233
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FiatOnRampParams;
|
|
234
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FiatOnRampParams;
|
|
235
|
+
static equals(a: FiatOnRampParams | PlainMessage<FiatOnRampParams> | undefined, b: FiatOnRampParams | PlainMessage<FiatOnRampParams> | undefined): boolean;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* @generated from message data.v1.FiatOnRampAuth
|
|
239
|
+
*/
|
|
240
|
+
export declare class FiatOnRampAuth extends Message<FiatOnRampAuth> {
|
|
241
|
+
/**
|
|
242
|
+
* @generated from field: string query_params = 1;
|
|
243
|
+
*/
|
|
244
|
+
queryParams: string;
|
|
245
|
+
/**
|
|
246
|
+
* @generated from field: string signature = 2;
|
|
247
|
+
*/
|
|
248
|
+
signature: string;
|
|
249
|
+
constructor(data?: PartialMessage<FiatOnRampAuth>);
|
|
250
|
+
static readonly runtime: typeof proto3;
|
|
251
|
+
static readonly typeName = "data.v1.FiatOnRampAuth";
|
|
252
|
+
static readonly fields: FieldList;
|
|
253
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FiatOnRampAuth;
|
|
254
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FiatOnRampAuth;
|
|
255
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FiatOnRampAuth;
|
|
256
|
+
static equals(a: FiatOnRampAuth | PlainMessage<FiatOnRampAuth> | undefined, b: FiatOnRampAuth | PlainMessage<FiatOnRampAuth> | undefined): boolean;
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* @generated from message data.v1.FiatOnRampTransactionIds
|
|
260
|
+
*/
|
|
261
|
+
export declare class FiatOnRampTransactionIds extends Message<FiatOnRampTransactionIds> {
|
|
262
|
+
/**
|
|
263
|
+
* @generated from field: repeated string transaction_ids = 1;
|
|
264
|
+
*/
|
|
265
|
+
transactionIds: string[];
|
|
266
|
+
constructor(data?: PartialMessage<FiatOnRampTransactionIds>);
|
|
267
|
+
static readonly runtime: typeof proto3;
|
|
268
|
+
static readonly typeName = "data.v1.FiatOnRampTransactionIds";
|
|
269
|
+
static readonly fields: FieldList;
|
|
270
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FiatOnRampTransactionIds;
|
|
271
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FiatOnRampTransactionIds;
|
|
272
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FiatOnRampTransactionIds;
|
|
273
|
+
static equals(a: FiatOnRampTransactionIds | PlainMessage<FiatOnRampTransactionIds> | undefined, b: FiatOnRampTransactionIds | PlainMessage<FiatOnRampTransactionIds> | undefined): boolean;
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* @generated from message data.v1.ListTransactionsResponse
|
|
277
|
+
*/
|
|
278
|
+
export declare class ListTransactionsResponse extends Message<ListTransactionsResponse> {
|
|
279
|
+
/**
|
|
280
|
+
* @generated from field: repeated data.v1.Transaction transactions = 1;
|
|
281
|
+
*/
|
|
282
|
+
transactions: Transaction[];
|
|
283
|
+
/**
|
|
284
|
+
* @generated from field: string next_page_token = 2;
|
|
285
|
+
*/
|
|
286
|
+
nextPageToken: string;
|
|
287
|
+
constructor(data?: PartialMessage<ListTransactionsResponse>);
|
|
288
|
+
static readonly runtime: typeof proto3;
|
|
289
|
+
static readonly typeName = "data.v1.ListTransactionsResponse";
|
|
290
|
+
static readonly fields: FieldList;
|
|
291
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListTransactionsResponse;
|
|
292
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListTransactionsResponse;
|
|
293
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTransactionsResponse;
|
|
294
|
+
static equals(a: ListTransactionsResponse | PlainMessage<ListTransactionsResponse> | undefined, b: ListTransactionsResponse | PlainMessage<ListTransactionsResponse> | undefined): boolean;
|
|
295
|
+
}
|