@uniswap/client-data-api 0.0.296 → 0.0.297

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.
Files changed (53) hide show
  1. package/dist/buf/validate/validate_pb.d.ts +4833 -0
  2. package/dist/buf/validate/validate_pb.js +356 -0
  3. package/dist/data/v1/api-DataApiService_connectquery.d.ts +88 -200
  4. package/dist/data/v1/api-DataApiService_connectquery.js +24 -224
  5. package/dist/data/v1/api_pb.d.ts +843 -845
  6. package/dist/data/v1/api_pb.js +393 -2676
  7. package/dist/data/v1/featureGating_pb.d.ts +31 -26
  8. package/dist/data/v1/featureGating_pb.js +13 -50
  9. package/dist/data/v1/plan_pb.d.ts +29 -0
  10. package/dist/data/v1/plan_pb.js +30 -69
  11. package/dist/data/v1/poolTypes_pb.d.ts +118 -127
  12. package/dist/data/v1/poolTypes_pb.js +47 -438
  13. package/dist/data/v1/types_pb.d.ts +1276 -1334
  14. package/dist/data/v1/types_pb.js +249 -2021
  15. package/dist/data/v1/workerService-WorkerService_connectquery.d.ts +16 -38
  16. package/dist/data/v1/workerService-WorkerService_connectquery.js +6 -44
  17. package/dist/data/v1/workerService_pb.d.ts +99 -92
  18. package/dist/data/v1/workerService_pb.js +37 -248
  19. package/dist/data/v2/api-DataApiService_connectquery.d.ts +148 -335
  20. package/dist/data/v2/api-DataApiService_connectquery.js +39 -374
  21. package/dist/data/v2/api_pb.d.ts +1087 -1054
  22. package/dist/data/v2/api_pb.js +483 -3805
  23. package/dist/data/v2/categories_pb.d.ts +130 -142
  24. package/dist/data/v2/categories_pb.js +55 -457
  25. package/dist/data/v2/common_pb.d.ts +23 -25
  26. package/dist/data/v2/common_pb.js +12 -59
  27. package/dist/data/v2/earn_pb.d.ts +92 -92
  28. package/dist/data/v2/earn_pb.js +33 -229
  29. package/dist/data/v2/hooks_pb.d.ts +119 -135
  30. package/dist/data/v2/hooks_pb.js +49 -315
  31. package/dist/data/v2/search-SearchService_connectquery.d.ts +4 -11
  32. package/dist/data/v2/search-SearchService_connectquery.js +3 -14
  33. package/dist/data/v2/search_pb.d.ts +139 -120
  34. package/dist/data/v2/search_pb.js +34 -225
  35. package/dist/data/v2/tokenGroups_pb.d.ts +31 -36
  36. package/dist/data/v2/tokenGroups_pb.js +16 -126
  37. package/dist/data/v2/types_pb.d.ts +1823 -1887
  38. package/dist/data/v2/types_pb.js +282 -2190
  39. package/dist/data/v2/workerService-WorkerService_connectquery.d.ts +4 -11
  40. package/dist/data/v2/workerService-WorkerService_connectquery.js +3 -14
  41. package/dist/data/v2/workerService_pb.d.ts +35 -22
  42. package/dist/data/v2/workerService_pb.js +20 -47
  43. package/package.json +1 -1
  44. package/dist/data/v1/api_connect.d.ts +0 -208
  45. package/dist/data/v1/api_connect.js +0 -212
  46. package/dist/data/v1/workerService_connect.d.ts +0 -46
  47. package/dist/data/v1/workerService_connect.js +0 -50
  48. package/dist/data/v2/api_connect.d.ts +0 -343
  49. package/dist/data/v2/api_connect.js +0 -347
  50. package/dist/data/v2/search_connect.d.ts +0 -21
  51. package/dist/data/v2/search_connect.js +0 -25
  52. package/dist/data/v2/workerService_connect.d.ts +0 -23
  53. package/dist/data/v2/workerService_connect.js +0 -27
@@ -1,268 +1,57 @@
1
- // @generated by protoc-gen-es v1.10.1 with parameter "target=ts"
1
+ // @generated by protoc-gen-es v2.16.0 with parameter "target=ts"
2
2
  // @generated from file data/v1/workerService.proto (package data.v1, syntax proto3)
3
3
  /* eslint-disable */
4
- // @ts-nocheck
5
- import { Message, proto3 } from "@bufbuild/protobuf";
4
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
6
5
  /**
7
- * @generated from message data.v1.RefreshProtocolStatsRequest
6
+ * Describes the file data/v1/workerService.proto.
8
7
  */
9
- export class RefreshProtocolStatsRequest extends Message {
10
- constructor(data) {
11
- super();
12
- proto3.util.initPartial(data, this);
13
- }
14
- static fromBinary(bytes, options) {
15
- return new RefreshProtocolStatsRequest().fromBinary(bytes, options);
16
- }
17
- static fromJson(jsonValue, options) {
18
- return new RefreshProtocolStatsRequest().fromJson(jsonValue, options);
19
- }
20
- static fromJsonString(jsonString, options) {
21
- return new RefreshProtocolStatsRequest().fromJsonString(jsonString, options);
22
- }
23
- static equals(a, b) {
24
- return proto3.util.equals(RefreshProtocolStatsRequest, a, b);
25
- }
26
- }
27
- RefreshProtocolStatsRequest.runtime = proto3;
28
- RefreshProtocolStatsRequest.typeName = "data.v1.RefreshProtocolStatsRequest";
29
- RefreshProtocolStatsRequest.fields = proto3.util.newFieldList(() => []);
8
+ export const file_data_v1_workerService = /*@__PURE__*/ fileDesc("ChtkYXRhL3YxL3dvcmtlclNlcnZpY2UucHJvdG8SB2RhdGEudjEiHQobUmVmcmVzaFByb3RvY29sU3RhdHNSZXF1ZXN0Ih4KHFJlZnJlc2hQcm90b2NvbFN0YXRzUmVzcG9uc2UirAEKFEJsb2NrYWlkTWV0YWRhdGFJdGVtEg0KBWNoYWluGAEgASgJEg8KB2FkZHJlc3MYAiABKAkSEwoLcmVzdWx0X3R5cGUYAyABKAkSFAoMYXR0YWNrX3R5cGVzGAQgAygJEg8KB2ZlZV9idXkYBSABKAESEAoIZmVlX3NlbGwYBiABKAESFAoMZmVlX3RyYW5zZmVyGAcgASgBEhAKCGZlYXR1cmVzGAggAygJIk0KHUluZ2VzdEJsb2NrYWlkTWV0YWRhdGFSZXF1ZXN0EiwKBWl0ZW1zGAEgAygLMh0uZGF0YS52MS5CbG9ja2FpZE1ldGFkYXRhSXRlbSIgCh5Jbmdlc3RCbG9ja2FpZE1ldGFkYXRhUmVzcG9uc2UiIgogUnVuTGF1bmNocGFkT3JwaGFuQ2xlYW51cFJlcXVlc3QiIwohUnVuTGF1bmNocGFkT3JwaGFuQ2xlYW51cFJlc3BvbnNlIhwKGlJ1blF1aWNrTGF1bmNoU3dlZXBSZXF1ZXN0Ih0KG1J1blF1aWNrTGF1bmNoU3dlZXBSZXNwb25zZTK1AwoNV29ya2VyU2VydmljZRJjChRSZWZyZXNoUHJvdG9jb2xTdGF0cxIkLmRhdGEudjEuUmVmcmVzaFByb3RvY29sU3RhdHNSZXF1ZXN0GiUuZGF0YS52MS5SZWZyZXNoUHJvdG9jb2xTdGF0c1Jlc3BvbnNlEmkKFkluZ2VzdEJsb2NrYWlkTWV0YWRhdGESJi5kYXRhLnYxLkluZ2VzdEJsb2NrYWlkTWV0YWRhdGFSZXF1ZXN0GicuZGF0YS52MS5Jbmdlc3RCbG9ja2FpZE1ldGFkYXRhUmVzcG9uc2UScgoZUnVuTGF1bmNocGFkT3JwaGFuQ2xlYW51cBIpLmRhdGEudjEuUnVuTGF1bmNocGFkT3JwaGFuQ2xlYW51cFJlcXVlc3QaKi5kYXRhLnYxLlJ1bkxhdW5jaHBhZE9ycGhhbkNsZWFudXBSZXNwb25zZRJgChNSdW5RdWlja0xhdW5jaFN3ZWVwEiMuZGF0YS52MS5SdW5RdWlja0xhdW5jaFN3ZWVwUmVxdWVzdBokLmRhdGEudjEuUnVuUXVpY2tMYXVuY2hTd2VlcFJlc3BvbnNlYgZwcm90bzM");
30
9
  /**
31
- * @generated from message data.v1.RefreshProtocolStatsResponse
10
+ * Describes the message data.v1.RefreshProtocolStatsRequest.
11
+ * Use `create(RefreshProtocolStatsRequestSchema)` to create a new message.
32
12
  */
33
- export class RefreshProtocolStatsResponse extends Message {
34
- constructor(data) {
35
- super();
36
- proto3.util.initPartial(data, this);
37
- }
38
- static fromBinary(bytes, options) {
39
- return new RefreshProtocolStatsResponse().fromBinary(bytes, options);
40
- }
41
- static fromJson(jsonValue, options) {
42
- return new RefreshProtocolStatsResponse().fromJson(jsonValue, options);
43
- }
44
- static fromJsonString(jsonString, options) {
45
- return new RefreshProtocolStatsResponse().fromJsonString(jsonString, options);
46
- }
47
- static equals(a, b) {
48
- return proto3.util.equals(RefreshProtocolStatsResponse, a, b);
49
- }
50
- }
51
- RefreshProtocolStatsResponse.runtime = proto3;
52
- RefreshProtocolStatsResponse.typeName = "data.v1.RefreshProtocolStatsResponse";
53
- RefreshProtocolStatsResponse.fields = proto3.util.newFieldList(() => []);
13
+ export const RefreshProtocolStatsRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_workerService, 0);
54
14
  /**
55
- * @generated from message data.v1.BlockaidMetadataItem
15
+ * Describes the message data.v1.RefreshProtocolStatsResponse.
16
+ * Use `create(RefreshProtocolStatsResponseSchema)` to create a new message.
56
17
  */
57
- export class BlockaidMetadataItem extends Message {
58
- constructor(data) {
59
- super();
60
- /**
61
- * @generated from field: string chain = 1;
62
- */
63
- this.chain = "";
64
- /**
65
- * @generated from field: string address = 2;
66
- */
67
- this.address = "";
68
- /**
69
- * @generated from field: string result_type = 3;
70
- */
71
- this.resultType = "";
72
- /**
73
- * @generated from field: repeated string attack_types = 4;
74
- */
75
- this.attackTypes = [];
76
- /**
77
- * @generated from field: double fee_buy = 5;
78
- */
79
- this.feeBuy = 0;
80
- /**
81
- * @generated from field: double fee_sell = 6;
82
- */
83
- this.feeSell = 0;
84
- /**
85
- * @generated from field: double fee_transfer = 7;
86
- */
87
- this.feeTransfer = 0;
88
- /**
89
- * @generated from field: repeated string features = 8;
90
- */
91
- this.features = [];
92
- proto3.util.initPartial(data, this);
93
- }
94
- static fromBinary(bytes, options) {
95
- return new BlockaidMetadataItem().fromBinary(bytes, options);
96
- }
97
- static fromJson(jsonValue, options) {
98
- return new BlockaidMetadataItem().fromJson(jsonValue, options);
99
- }
100
- static fromJsonString(jsonString, options) {
101
- return new BlockaidMetadataItem().fromJsonString(jsonString, options);
102
- }
103
- static equals(a, b) {
104
- return proto3.util.equals(BlockaidMetadataItem, a, b);
105
- }
106
- }
107
- BlockaidMetadataItem.runtime = proto3;
108
- BlockaidMetadataItem.typeName = "data.v1.BlockaidMetadataItem";
109
- BlockaidMetadataItem.fields = proto3.util.newFieldList(() => [
110
- { no: 1, name: "chain", kind: "scalar", T: 9 /* ScalarType.STRING */ },
111
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
112
- { no: 3, name: "result_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
113
- { no: 4, name: "attack_types", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
114
- { no: 5, name: "fee_buy", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
115
- { no: 6, name: "fee_sell", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
116
- { no: 7, name: "fee_transfer", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
117
- { no: 8, name: "features", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
118
- ]);
18
+ export const RefreshProtocolStatsResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_workerService, 1);
119
19
  /**
120
- * @generated from message data.v1.IngestBlockaidMetadataRequest
20
+ * Describes the message data.v1.BlockaidMetadataItem.
21
+ * Use `create(BlockaidMetadataItemSchema)` to create a new message.
121
22
  */
122
- export class IngestBlockaidMetadataRequest extends Message {
123
- constructor(data) {
124
- super();
125
- /**
126
- * @generated from field: repeated data.v1.BlockaidMetadataItem items = 1;
127
- */
128
- this.items = [];
129
- proto3.util.initPartial(data, this);
130
- }
131
- static fromBinary(bytes, options) {
132
- return new IngestBlockaidMetadataRequest().fromBinary(bytes, options);
133
- }
134
- static fromJson(jsonValue, options) {
135
- return new IngestBlockaidMetadataRequest().fromJson(jsonValue, options);
136
- }
137
- static fromJsonString(jsonString, options) {
138
- return new IngestBlockaidMetadataRequest().fromJsonString(jsonString, options);
139
- }
140
- static equals(a, b) {
141
- return proto3.util.equals(IngestBlockaidMetadataRequest, a, b);
142
- }
143
- }
144
- IngestBlockaidMetadataRequest.runtime = proto3;
145
- IngestBlockaidMetadataRequest.typeName = "data.v1.IngestBlockaidMetadataRequest";
146
- IngestBlockaidMetadataRequest.fields = proto3.util.newFieldList(() => [
147
- { no: 1, name: "items", kind: "message", T: BlockaidMetadataItem, repeated: true },
148
- ]);
23
+ export const BlockaidMetadataItemSchema = /*@__PURE__*/ messageDesc(file_data_v1_workerService, 2);
149
24
  /**
150
- * @generated from message data.v1.IngestBlockaidMetadataResponse
25
+ * Describes the message data.v1.IngestBlockaidMetadataRequest.
26
+ * Use `create(IngestBlockaidMetadataRequestSchema)` to create a new message.
151
27
  */
152
- export class IngestBlockaidMetadataResponse extends Message {
153
- constructor(data) {
154
- super();
155
- proto3.util.initPartial(data, this);
156
- }
157
- static fromBinary(bytes, options) {
158
- return new IngestBlockaidMetadataResponse().fromBinary(bytes, options);
159
- }
160
- static fromJson(jsonValue, options) {
161
- return new IngestBlockaidMetadataResponse().fromJson(jsonValue, options);
162
- }
163
- static fromJsonString(jsonString, options) {
164
- return new IngestBlockaidMetadataResponse().fromJsonString(jsonString, options);
165
- }
166
- static equals(a, b) {
167
- return proto3.util.equals(IngestBlockaidMetadataResponse, a, b);
168
- }
169
- }
170
- IngestBlockaidMetadataResponse.runtime = proto3;
171
- IngestBlockaidMetadataResponse.typeName = "data.v1.IngestBlockaidMetadataResponse";
172
- IngestBlockaidMetadataResponse.fields = proto3.util.newFieldList(() => []);
28
+ export const IngestBlockaidMetadataRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_workerService, 3);
173
29
  /**
174
- * @generated from message data.v1.RunLaunchpadOrphanCleanupRequest
30
+ * Describes the message data.v1.IngestBlockaidMetadataResponse.
31
+ * Use `create(IngestBlockaidMetadataResponseSchema)` to create a new message.
175
32
  */
176
- export class RunLaunchpadOrphanCleanupRequest extends Message {
177
- constructor(data) {
178
- super();
179
- proto3.util.initPartial(data, this);
180
- }
181
- static fromBinary(bytes, options) {
182
- return new RunLaunchpadOrphanCleanupRequest().fromBinary(bytes, options);
183
- }
184
- static fromJson(jsonValue, options) {
185
- return new RunLaunchpadOrphanCleanupRequest().fromJson(jsonValue, options);
186
- }
187
- static fromJsonString(jsonString, options) {
188
- return new RunLaunchpadOrphanCleanupRequest().fromJsonString(jsonString, options);
189
- }
190
- static equals(a, b) {
191
- return proto3.util.equals(RunLaunchpadOrphanCleanupRequest, a, b);
192
- }
193
- }
194
- RunLaunchpadOrphanCleanupRequest.runtime = proto3;
195
- RunLaunchpadOrphanCleanupRequest.typeName = "data.v1.RunLaunchpadOrphanCleanupRequest";
196
- RunLaunchpadOrphanCleanupRequest.fields = proto3.util.newFieldList(() => []);
33
+ export const IngestBlockaidMetadataResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_workerService, 4);
197
34
  /**
198
- * @generated from message data.v1.RunLaunchpadOrphanCleanupResponse
35
+ * Describes the message data.v1.RunLaunchpadOrphanCleanupRequest.
36
+ * Use `create(RunLaunchpadOrphanCleanupRequestSchema)` to create a new message.
199
37
  */
200
- export class RunLaunchpadOrphanCleanupResponse extends Message {
201
- constructor(data) {
202
- super();
203
- proto3.util.initPartial(data, this);
204
- }
205
- static fromBinary(bytes, options) {
206
- return new RunLaunchpadOrphanCleanupResponse().fromBinary(bytes, options);
207
- }
208
- static fromJson(jsonValue, options) {
209
- return new RunLaunchpadOrphanCleanupResponse().fromJson(jsonValue, options);
210
- }
211
- static fromJsonString(jsonString, options) {
212
- return new RunLaunchpadOrphanCleanupResponse().fromJsonString(jsonString, options);
213
- }
214
- static equals(a, b) {
215
- return proto3.util.equals(RunLaunchpadOrphanCleanupResponse, a, b);
216
- }
217
- }
218
- RunLaunchpadOrphanCleanupResponse.runtime = proto3;
219
- RunLaunchpadOrphanCleanupResponse.typeName = "data.v1.RunLaunchpadOrphanCleanupResponse";
220
- RunLaunchpadOrphanCleanupResponse.fields = proto3.util.newFieldList(() => []);
38
+ export const RunLaunchpadOrphanCleanupRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_workerService, 5);
221
39
  /**
222
- * @generated from message data.v1.RunQuickLaunchSweepRequest
40
+ * Describes the message data.v1.RunLaunchpadOrphanCleanupResponse.
41
+ * Use `create(RunLaunchpadOrphanCleanupResponseSchema)` to create a new message.
223
42
  */
224
- export class RunQuickLaunchSweepRequest extends Message {
225
- constructor(data) {
226
- super();
227
- proto3.util.initPartial(data, this);
228
- }
229
- static fromBinary(bytes, options) {
230
- return new RunQuickLaunchSweepRequest().fromBinary(bytes, options);
231
- }
232
- static fromJson(jsonValue, options) {
233
- return new RunQuickLaunchSweepRequest().fromJson(jsonValue, options);
234
- }
235
- static fromJsonString(jsonString, options) {
236
- return new RunQuickLaunchSweepRequest().fromJsonString(jsonString, options);
237
- }
238
- static equals(a, b) {
239
- return proto3.util.equals(RunQuickLaunchSweepRequest, a, b);
240
- }
241
- }
242
- RunQuickLaunchSweepRequest.runtime = proto3;
243
- RunQuickLaunchSweepRequest.typeName = "data.v1.RunQuickLaunchSweepRequest";
244
- RunQuickLaunchSweepRequest.fields = proto3.util.newFieldList(() => []);
43
+ export const RunLaunchpadOrphanCleanupResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_workerService, 6);
245
44
  /**
246
- * @generated from message data.v1.RunQuickLaunchSweepResponse
45
+ * Describes the message data.v1.RunQuickLaunchSweepRequest.
46
+ * Use `create(RunQuickLaunchSweepRequestSchema)` to create a new message.
247
47
  */
248
- export class RunQuickLaunchSweepResponse extends Message {
249
- constructor(data) {
250
- super();
251
- proto3.util.initPartial(data, this);
252
- }
253
- static fromBinary(bytes, options) {
254
- return new RunQuickLaunchSweepResponse().fromBinary(bytes, options);
255
- }
256
- static fromJson(jsonValue, options) {
257
- return new RunQuickLaunchSweepResponse().fromJson(jsonValue, options);
258
- }
259
- static fromJsonString(jsonString, options) {
260
- return new RunQuickLaunchSweepResponse().fromJsonString(jsonString, options);
261
- }
262
- static equals(a, b) {
263
- return proto3.util.equals(RunQuickLaunchSweepResponse, a, b);
264
- }
265
- }
266
- RunQuickLaunchSweepResponse.runtime = proto3;
267
- RunQuickLaunchSweepResponse.typeName = "data.v1.RunQuickLaunchSweepResponse";
268
- RunQuickLaunchSweepResponse.fields = proto3.util.newFieldList(() => []);
48
+ export const RunQuickLaunchSweepRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_workerService, 7);
49
+ /**
50
+ * Describes the message data.v1.RunQuickLaunchSweepResponse.
51
+ * Use `create(RunQuickLaunchSweepResponseSchema)` to create a new message.
52
+ */
53
+ export const RunQuickLaunchSweepResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_workerService, 8);
54
+ /**
55
+ * @generated from service data.v1.WorkerService
56
+ */
57
+ export const WorkerService = /*@__PURE__*/ serviceDesc(file_data_v1_workerService, 0);