@uniswap/client-data-api 0.0.12 → 0.0.14

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.
@@ -1,5 +1,5 @@
1
1
  import { MethodKind } from "@bufbuild/protobuf";
2
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
2
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
3
3
  /**
4
4
  * @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
5
5
  */
@@ -104,3 +104,16 @@ export declare const listTransactions: {
104
104
  readonly typeName: "data.v1.DataApiService";
105
105
  };
106
106
  };
107
+ /**
108
+ * @generated from rpc data.v1.DataApiService.CreateTokenFactoryPresignedUrl
109
+ */
110
+ export declare const createTokenFactoryPresignedUrl: {
111
+ readonly localName: "createTokenFactoryPresignedUrl";
112
+ readonly name: "CreateTokenFactoryPresignedUrl";
113
+ readonly kind: MethodKind.Unary;
114
+ readonly I: typeof CreateTokenFactoryPresignedUrlRequest;
115
+ readonly O: typeof CreateTokenFactoryPresignedUrlResponse;
116
+ readonly service: {
117
+ readonly typeName: "data.v1.DataApiService";
118
+ };
119
+ };
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
6
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
7
7
  /**
8
8
  * @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
9
9
  */
@@ -108,3 +108,16 @@ export const listTransactions = {
108
108
  typeName: "data.v1.DataApiService"
109
109
  }
110
110
  };
111
+ /**
112
+ * @generated from rpc data.v1.DataApiService.CreateTokenFactoryPresignedUrl
113
+ */
114
+ export const createTokenFactoryPresignedUrl = {
115
+ localName: "createTokenFactoryPresignedUrl",
116
+ name: "CreateTokenFactoryPresignedUrl",
117
+ kind: MethodKind.Unary,
118
+ I: CreateTokenFactoryPresignedUrlRequest,
119
+ O: CreateTokenFactoryPresignedUrlResponse,
120
+ service: {
121
+ typeName: "data.v1.DataApiService"
122
+ }
123
+ };
@@ -1,4 +1,4 @@
1
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
1
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service data.v1.DataApiService
@@ -78,5 +78,14 @@ export declare const DataApiService: {
78
78
  readonly O: typeof ListTransactionsResponse;
79
79
  readonly kind: MethodKind.Unary;
80
80
  };
81
+ /**
82
+ * @generated from rpc data.v1.DataApiService.CreateTokenFactoryPresignedUrl
83
+ */
84
+ readonly createTokenFactoryPresignedUrl: {
85
+ readonly name: "CreateTokenFactoryPresignedUrl";
86
+ readonly I: typeof CreateTokenFactoryPresignedUrlRequest;
87
+ readonly O: typeof CreateTokenFactoryPresignedUrlResponse;
88
+ readonly kind: MethodKind.Unary;
89
+ };
81
90
  };
82
91
  };
@@ -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 { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
5
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service data.v1.DataApiService
@@ -82,5 +82,14 @@ export const DataApiService = {
82
82
  O: ListTransactionsResponse,
83
83
  kind: MethodKind.Unary,
84
84
  },
85
+ /**
86
+ * @generated from rpc data.v1.DataApiService.CreateTokenFactoryPresignedUrl
87
+ */
88
+ createTokenFactoryPresignedUrl: {
89
+ name: "CreateTokenFactoryPresignedUrl",
90
+ I: CreateTokenFactoryPresignedUrlRequest,
91
+ O: CreateTokenFactoryPresignedUrlResponse,
92
+ kind: MethodKind.Unary,
93
+ },
85
94
  }
86
95
  };
@@ -1,6 +1,19 @@
1
1
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
2
  import { Message, proto3 } from "@bufbuild/protobuf";
3
3
  import { Portfolio, PortfolioValueModifier, Token, TokenReportEventType, Transaction } from "./types_pb.js";
4
+ /**
5
+ * @generated from enum data.v1.Platform
6
+ */
7
+ export declare enum Platform {
8
+ /**
9
+ * @generated from enum value: EVM = 0;
10
+ */
11
+ EVM = 0,
12
+ /**
13
+ * @generated from enum value: SVM = 1;
14
+ */
15
+ SVM = 1
16
+ }
4
17
  /**
5
18
  * @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
6
19
  */
@@ -113,6 +126,44 @@ export declare class SubmitTokenFactoryTokenResponse extends Message<SubmitToken
113
126
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitTokenFactoryTokenResponse;
114
127
  static equals(a: SubmitTokenFactoryTokenResponse | PlainMessage<SubmitTokenFactoryTokenResponse> | undefined, b: SubmitTokenFactoryTokenResponse | PlainMessage<SubmitTokenFactoryTokenResponse> | undefined): boolean;
115
128
  }
129
+ /**
130
+ * @generated from message data.v1.PlatformAddress
131
+ */
132
+ export declare class PlatformAddress extends Message<PlatformAddress> {
133
+ /**
134
+ * @generated from field: data.v1.Platform platform = 1;
135
+ */
136
+ platform: Platform;
137
+ /**
138
+ * @generated from field: string address = 2;
139
+ */
140
+ address: string;
141
+ constructor(data?: PartialMessage<PlatformAddress>);
142
+ static readonly runtime: typeof proto3;
143
+ static readonly typeName = "data.v1.PlatformAddress";
144
+ static readonly fields: FieldList;
145
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PlatformAddress;
146
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PlatformAddress;
147
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PlatformAddress;
148
+ static equals(a: PlatformAddress | PlainMessage<PlatformAddress> | undefined, b: PlatformAddress | PlainMessage<PlatformAddress> | undefined): boolean;
149
+ }
150
+ /**
151
+ * @generated from message data.v1.WalletAccount
152
+ */
153
+ export declare class WalletAccount extends Message<WalletAccount> {
154
+ /**
155
+ * @generated from field: repeated data.v1.PlatformAddress platform_addresses = 1;
156
+ */
157
+ platformAddresses: PlatformAddress[];
158
+ constructor(data?: PartialMessage<WalletAccount>);
159
+ static readonly runtime: typeof proto3;
160
+ static readonly typeName = "data.v1.WalletAccount";
161
+ static readonly fields: FieldList;
162
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WalletAccount;
163
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WalletAccount;
164
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WalletAccount;
165
+ static equals(a: WalletAccount | PlainMessage<WalletAccount> | undefined, b: WalletAccount | PlainMessage<WalletAccount> | undefined): boolean;
166
+ }
116
167
  /**
117
168
  * @generated from message data.v1.GetTokenRequest
118
169
  */
@@ -156,9 +207,9 @@ export declare class GetTokenResponse extends Message<GetTokenResponse> {
156
207
  */
157
208
  export declare class GetPortfolioRequest extends Message<GetPortfolioRequest> {
158
209
  /**
159
- * @generated from field: string address = 1;
210
+ * @generated from field: data.v1.WalletAccount wallet_account = 1;
160
211
  */
161
- address: string;
212
+ walletAccount?: WalletAccount;
162
213
  /**
163
214
  * @generated from field: repeated uint32 chain_ids = 2;
164
215
  */
@@ -198,9 +249,9 @@ export declare class GetPortfolioResponse extends Message<GetPortfolioResponse>
198
249
  */
199
250
  export declare class ListPortfoliosRequest extends Message<ListPortfoliosRequest> {
200
251
  /**
201
- * @generated from field: repeated string addresses = 1;
252
+ * @generated from field: repeated data.v1.WalletAccount wallet_accounts = 1;
202
253
  */
203
- addresses: string[];
254
+ walletAccounts: WalletAccount[];
204
255
  /**
205
256
  * @generated from field: repeated uint32 chain_ids = 2;
206
257
  */
@@ -332,9 +383,9 @@ export declare class ListTransactionsRequest extends Message<ListTransactionsReq
332
383
  */
333
384
  chainIds: number[];
334
385
  /**
335
- * @generated from field: string address = 2;
386
+ * @generated from field: data.v1.WalletAccount wallet_account = 2;
336
387
  */
337
- address: string;
388
+ walletAccount?: WalletAccount;
338
389
  /**
339
390
  * @generated from field: optional data.v1.FiatOnRampParams fiat_on_ramp_params = 3;
340
391
  */
@@ -447,3 +498,37 @@ export declare class ListTransactionsResponse extends Message<ListTransactionsRe
447
498
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTransactionsResponse;
448
499
  static equals(a: ListTransactionsResponse | PlainMessage<ListTransactionsResponse> | undefined, b: ListTransactionsResponse | PlainMessage<ListTransactionsResponse> | undefined): boolean;
449
500
  }
501
+ /**
502
+ * @generated from message data.v1.CreateTokenFactoryPresignedUrlRequest
503
+ */
504
+ export declare class CreateTokenFactoryPresignedUrlRequest extends Message<CreateTokenFactoryPresignedUrlRequest> {
505
+ /**
506
+ * @generated from field: string file_name = 1;
507
+ */
508
+ fileName: string;
509
+ constructor(data?: PartialMessage<CreateTokenFactoryPresignedUrlRequest>);
510
+ static readonly runtime: typeof proto3;
511
+ static readonly typeName = "data.v1.CreateTokenFactoryPresignedUrlRequest";
512
+ static readonly fields: FieldList;
513
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateTokenFactoryPresignedUrlRequest;
514
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateTokenFactoryPresignedUrlRequest;
515
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTokenFactoryPresignedUrlRequest;
516
+ static equals(a: CreateTokenFactoryPresignedUrlRequest | PlainMessage<CreateTokenFactoryPresignedUrlRequest> | undefined, b: CreateTokenFactoryPresignedUrlRequest | PlainMessage<CreateTokenFactoryPresignedUrlRequest> | undefined): boolean;
517
+ }
518
+ /**
519
+ * @generated from message data.v1.CreateTokenFactoryPresignedUrlResponse
520
+ */
521
+ export declare class CreateTokenFactoryPresignedUrlResponse extends Message<CreateTokenFactoryPresignedUrlResponse> {
522
+ /**
523
+ * @generated from field: string url = 1;
524
+ */
525
+ url: string;
526
+ constructor(data?: PartialMessage<CreateTokenFactoryPresignedUrlResponse>);
527
+ static readonly runtime: typeof proto3;
528
+ static readonly typeName = "data.v1.CreateTokenFactoryPresignedUrlResponse";
529
+ static readonly fields: FieldList;
530
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateTokenFactoryPresignedUrlResponse;
531
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateTokenFactoryPresignedUrlResponse;
532
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTokenFactoryPresignedUrlResponse;
533
+ static equals(a: CreateTokenFactoryPresignedUrlResponse | PlainMessage<CreateTokenFactoryPresignedUrlResponse> | undefined, b: CreateTokenFactoryPresignedUrlResponse | PlainMessage<CreateTokenFactoryPresignedUrlResponse> | undefined): boolean;
534
+ }
@@ -4,6 +4,25 @@
4
4
  // @ts-nocheck
5
5
  import { Message, proto3 } from "@bufbuild/protobuf";
6
6
  import { Portfolio, PortfolioValueModifier, Token, TokenReportEventType, Transaction } from "./types_pb.js";
7
+ /**
8
+ * @generated from enum data.v1.Platform
9
+ */
10
+ export var Platform;
11
+ (function (Platform) {
12
+ /**
13
+ * @generated from enum value: EVM = 0;
14
+ */
15
+ Platform[Platform["EVM"] = 0] = "EVM";
16
+ /**
17
+ * @generated from enum value: SVM = 1;
18
+ */
19
+ Platform[Platform["SVM"] = 1] = "SVM";
20
+ })(Platform || (Platform = {}));
21
+ // Retrieve enum metadata with: proto3.getEnumType(Platform)
22
+ proto3.util.setEnumType(Platform, "data.v1.Platform", [
23
+ { no: 0, name: "EVM" },
24
+ { no: 1, name: "SVM" },
25
+ ]);
7
26
  /**
8
27
  * @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
9
28
  */
@@ -167,6 +186,71 @@ SubmitTokenFactoryTokenResponse.fields = proto3.util.newFieldList(() => [
167
186
  { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
168
187
  { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
169
188
  ]);
189
+ /**
190
+ * @generated from message data.v1.PlatformAddress
191
+ */
192
+ export class PlatformAddress extends Message {
193
+ constructor(data) {
194
+ super();
195
+ /**
196
+ * @generated from field: data.v1.Platform platform = 1;
197
+ */
198
+ this.platform = Platform.EVM;
199
+ /**
200
+ * @generated from field: string address = 2;
201
+ */
202
+ this.address = "";
203
+ proto3.util.initPartial(data, this);
204
+ }
205
+ static fromBinary(bytes, options) {
206
+ return new PlatformAddress().fromBinary(bytes, options);
207
+ }
208
+ static fromJson(jsonValue, options) {
209
+ return new PlatformAddress().fromJson(jsonValue, options);
210
+ }
211
+ static fromJsonString(jsonString, options) {
212
+ return new PlatformAddress().fromJsonString(jsonString, options);
213
+ }
214
+ static equals(a, b) {
215
+ return proto3.util.equals(PlatformAddress, a, b);
216
+ }
217
+ }
218
+ PlatformAddress.runtime = proto3;
219
+ PlatformAddress.typeName = "data.v1.PlatformAddress";
220
+ PlatformAddress.fields = proto3.util.newFieldList(() => [
221
+ { no: 1, name: "platform", kind: "enum", T: proto3.getEnumType(Platform) },
222
+ { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
223
+ ]);
224
+ /**
225
+ * @generated from message data.v1.WalletAccount
226
+ */
227
+ export class WalletAccount extends Message {
228
+ constructor(data) {
229
+ super();
230
+ /**
231
+ * @generated from field: repeated data.v1.PlatformAddress platform_addresses = 1;
232
+ */
233
+ this.platformAddresses = [];
234
+ proto3.util.initPartial(data, this);
235
+ }
236
+ static fromBinary(bytes, options) {
237
+ return new WalletAccount().fromBinary(bytes, options);
238
+ }
239
+ static fromJson(jsonValue, options) {
240
+ return new WalletAccount().fromJson(jsonValue, options);
241
+ }
242
+ static fromJsonString(jsonString, options) {
243
+ return new WalletAccount().fromJsonString(jsonString, options);
244
+ }
245
+ static equals(a, b) {
246
+ return proto3.util.equals(WalletAccount, a, b);
247
+ }
248
+ }
249
+ WalletAccount.runtime = proto3;
250
+ WalletAccount.typeName = "data.v1.WalletAccount";
251
+ WalletAccount.fields = proto3.util.newFieldList(() => [
252
+ { no: 1, name: "platform_addresses", kind: "message", T: PlatformAddress, repeated: true },
253
+ ]);
170
254
  /**
171
255
  * @generated from message data.v1.GetTokenRequest
172
256
  */
@@ -234,10 +318,6 @@ GetTokenResponse.fields = proto3.util.newFieldList(() => [
234
318
  export class GetPortfolioRequest extends Message {
235
319
  constructor(data) {
236
320
  super();
237
- /**
238
- * @generated from field: string address = 1;
239
- */
240
- this.address = "";
241
321
  /**
242
322
  * @generated from field: repeated uint32 chain_ids = 2;
243
323
  */
@@ -260,7 +340,7 @@ export class GetPortfolioRequest extends Message {
260
340
  GetPortfolioRequest.runtime = proto3;
261
341
  GetPortfolioRequest.typeName = "data.v1.GetPortfolioRequest";
262
342
  GetPortfolioRequest.fields = proto3.util.newFieldList(() => [
263
- { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
343
+ { no: 1, name: "wallet_account", kind: "message", T: WalletAccount },
264
344
  { no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
265
345
  { no: 3, name: "modifier", kind: "message", T: PortfolioValueModifier, opt: true },
266
346
  ]);
@@ -297,9 +377,9 @@ export class ListPortfoliosRequest extends Message {
297
377
  constructor(data) {
298
378
  super();
299
379
  /**
300
- * @generated from field: repeated string addresses = 1;
380
+ * @generated from field: repeated data.v1.WalletAccount wallet_accounts = 1;
301
381
  */
302
- this.addresses = [];
382
+ this.walletAccounts = [];
303
383
  /**
304
384
  * @generated from field: repeated uint32 chain_ids = 2;
305
385
  */
@@ -326,7 +406,7 @@ export class ListPortfoliosRequest extends Message {
326
406
  ListPortfoliosRequest.runtime = proto3;
327
407
  ListPortfoliosRequest.typeName = "data.v1.ListPortfoliosRequest";
328
408
  ListPortfoliosRequest.fields = proto3.util.newFieldList(() => [
329
- { no: 1, name: "addresses", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
409
+ { no: 1, name: "wallet_accounts", kind: "message", T: WalletAccount, repeated: true },
330
410
  { no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
331
411
  { no: 3, name: "modifiers", kind: "message", T: PortfolioValueModifier, repeated: true },
332
412
  ]);
@@ -507,10 +587,6 @@ export class ListTransactionsRequest extends Message {
507
587
  * @generated from field: repeated uint32 chain_ids = 1;
508
588
  */
509
589
  this.chainIds = [];
510
- /**
511
- * @generated from field: string address = 2;
512
- */
513
- this.address = "";
514
590
  proto3.util.initPartial(data, this);
515
591
  }
516
592
  static fromBinary(bytes, options) {
@@ -530,7 +606,7 @@ ListTransactionsRequest.runtime = proto3;
530
606
  ListTransactionsRequest.typeName = "data.v1.ListTransactionsRequest";
531
607
  ListTransactionsRequest.fields = proto3.util.newFieldList(() => [
532
608
  { no: 1, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
533
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
609
+ { no: 2, name: "wallet_account", kind: "message", T: WalletAccount },
534
610
  { no: 3, name: "fiat_on_ramp_params", kind: "message", T: FiatOnRampParams, opt: true },
535
611
  { no: 4, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
536
612
  { no: 5, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
@@ -666,3 +742,63 @@ ListTransactionsResponse.fields = proto3.util.newFieldList(() => [
666
742
  { no: 1, name: "transactions", kind: "message", T: Transaction, repeated: true },
667
743
  { no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
668
744
  ]);
745
+ /**
746
+ * @generated from message data.v1.CreateTokenFactoryPresignedUrlRequest
747
+ */
748
+ export class CreateTokenFactoryPresignedUrlRequest extends Message {
749
+ constructor(data) {
750
+ super();
751
+ /**
752
+ * @generated from field: string file_name = 1;
753
+ */
754
+ this.fileName = "";
755
+ proto3.util.initPartial(data, this);
756
+ }
757
+ static fromBinary(bytes, options) {
758
+ return new CreateTokenFactoryPresignedUrlRequest().fromBinary(bytes, options);
759
+ }
760
+ static fromJson(jsonValue, options) {
761
+ return new CreateTokenFactoryPresignedUrlRequest().fromJson(jsonValue, options);
762
+ }
763
+ static fromJsonString(jsonString, options) {
764
+ return new CreateTokenFactoryPresignedUrlRequest().fromJsonString(jsonString, options);
765
+ }
766
+ static equals(a, b) {
767
+ return proto3.util.equals(CreateTokenFactoryPresignedUrlRequest, a, b);
768
+ }
769
+ }
770
+ CreateTokenFactoryPresignedUrlRequest.runtime = proto3;
771
+ CreateTokenFactoryPresignedUrlRequest.typeName = "data.v1.CreateTokenFactoryPresignedUrlRequest";
772
+ CreateTokenFactoryPresignedUrlRequest.fields = proto3.util.newFieldList(() => [
773
+ { no: 1, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
774
+ ]);
775
+ /**
776
+ * @generated from message data.v1.CreateTokenFactoryPresignedUrlResponse
777
+ */
778
+ export class CreateTokenFactoryPresignedUrlResponse extends Message {
779
+ constructor(data) {
780
+ super();
781
+ /**
782
+ * @generated from field: string url = 1;
783
+ */
784
+ this.url = "";
785
+ proto3.util.initPartial(data, this);
786
+ }
787
+ static fromBinary(bytes, options) {
788
+ return new CreateTokenFactoryPresignedUrlResponse().fromBinary(bytes, options);
789
+ }
790
+ static fromJson(jsonValue, options) {
791
+ return new CreateTokenFactoryPresignedUrlResponse().fromJson(jsonValue, options);
792
+ }
793
+ static fromJsonString(jsonString, options) {
794
+ return new CreateTokenFactoryPresignedUrlResponse().fromJsonString(jsonString, options);
795
+ }
796
+ static equals(a, b) {
797
+ return proto3.util.equals(CreateTokenFactoryPresignedUrlResponse, a, b);
798
+ }
799
+ }
800
+ CreateTokenFactoryPresignedUrlResponse.runtime = proto3;
801
+ CreateTokenFactoryPresignedUrlResponse.typeName = "data.v1.CreateTokenFactoryPresignedUrlResponse";
802
+ CreateTokenFactoryPresignedUrlResponse.fields = proto3.util.newFieldList(() => [
803
+ { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
804
+ ]);
@@ -23,7 +23,11 @@ export declare enum TokenType {
23
23
  /**
24
24
  * @generated from enum value: TOKEN_TYPE_ERC1155 = 4;
25
25
  */
26
- ERC1155 = 4
26
+ ERC1155 = 4,
27
+ /**
28
+ * @generated from enum value: TOKEN_TYPE_SPL = 5;
29
+ */
30
+ SPL = 5
27
31
  }
28
32
  /**
29
33
  * @generated from enum data.v1.SpamCode
@@ -28,6 +28,10 @@ export var TokenType;
28
28
  * @generated from enum value: TOKEN_TYPE_ERC1155 = 4;
29
29
  */
30
30
  TokenType[TokenType["ERC1155"] = 4] = "ERC1155";
31
+ /**
32
+ * @generated from enum value: TOKEN_TYPE_SPL = 5;
33
+ */
34
+ TokenType[TokenType["SPL"] = 5] = "SPL";
31
35
  })(TokenType || (TokenType = {}));
32
36
  // Retrieve enum metadata with: proto3.getEnumType(TokenType)
33
37
  proto3.util.setEnumType(TokenType, "data.v1.TokenType", [
@@ -36,6 +40,7 @@ proto3.util.setEnumType(TokenType, "data.v1.TokenType", [
36
40
  { no: 2, name: "TOKEN_TYPE_ERC20" },
37
41
  { no: 3, name: "TOKEN_TYPE_ERC721" },
38
42
  { no: 4, name: "TOKEN_TYPE_ERC1155" },
43
+ { no: 5, name: "TOKEN_TYPE_SPL" },
39
44
  ]);
40
45
  /**
41
46
  * @generated from enum data.v1.SpamCode
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },