@blockscout/autoscout-types 1.7.2 → 1.8.0
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/v1/autoscout.d.ts +53 -16
- package/dist/v1/autoscout.js +11 -14
- package/dist/v1/autoscout.ts +56 -14
- package/dist/v1/config.d.ts +8 -16
- package/dist/v1/config.js +0 -8
- package/dist/v1/config.ts +0 -8
- package/package.json +5 -5
package/dist/v1/autoscout.d.ts
CHANGED
|
@@ -4,36 +4,33 @@ export declare enum DeploymentStatus {
|
|
|
4
4
|
NO_STATUS = "NO_STATUS",
|
|
5
5
|
CREATED = "CREATED",
|
|
6
6
|
PENDING = "PENDING",
|
|
7
|
+
UNHEALTHY = "UNHEALTHY",
|
|
7
8
|
RUNNING = "RUNNING",
|
|
8
9
|
STOPPING = "STOPPING",
|
|
9
10
|
STOPPED = "STOPPED",
|
|
10
11
|
FAILED = "FAILED",
|
|
11
|
-
QUEUED = "QUEUED"
|
|
12
|
-
UNRECOGNIZED = "UNRECOGNIZED"
|
|
12
|
+
QUEUED = "QUEUED"
|
|
13
13
|
}
|
|
14
14
|
export declare enum UpdateInstanceAction {
|
|
15
15
|
START = "START",
|
|
16
16
|
STOP = "STOP",
|
|
17
|
-
RESTART = "RESTART"
|
|
18
|
-
UNRECOGNIZED = "UNRECOGNIZED"
|
|
17
|
+
RESTART = "RESTART"
|
|
19
18
|
}
|
|
20
19
|
export declare enum DepositStatus {
|
|
21
20
|
UNSPECIFIED_DEPOSIT_STATUS = "UNSPECIFIED_DEPOSIT_STATUS",
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
UNRECOGNIZED = "UNRECOGNIZED"
|
|
21
|
+
CREATED = "DEPOSIT_STATUS_CREATED",
|
|
22
|
+
PENDING = "DEPOSIT_STATUS_PENDING",
|
|
23
|
+
DELAYED = "DEPOSIT_STATUS_DELAYED",
|
|
24
|
+
CONFIRMED = "DEPOSIT_STATUS_CONFIRMED",
|
|
25
|
+
FAILED = "DEPOSIT_STATUS_FAILED",
|
|
26
|
+
RESOLVED = "DEPOSIT_STATUS_RESOLVED"
|
|
29
27
|
}
|
|
30
28
|
export declare enum DepositType {
|
|
31
29
|
UNSPECIFIED_DEPOSIT_TYPE = "UNSPECIFIED_DEPOSIT_TYPE",
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
UNRECOGNIZED = "UNRECOGNIZED"
|
|
30
|
+
STRIPE = "DEPOSIT_TYPE_STRIPE",
|
|
31
|
+
COINBASE = "DEPOSIT_TYPE_COINBASE",
|
|
32
|
+
DAIMO = "DEPOSIT_TYPE_DAIMO",
|
|
33
|
+
PROMOTION_FLAT_BONUS = "DEPOSIT_TYPE_PROMOTION_FLAT_BONUS"
|
|
37
34
|
}
|
|
38
35
|
export interface HealthStatus {
|
|
39
36
|
ok: boolean;
|
|
@@ -103,6 +100,12 @@ export interface UserProfile {
|
|
|
103
100
|
recent_actions: UserAction[];
|
|
104
101
|
most_expensive_instances: MostExpensiveInstances | undefined;
|
|
105
102
|
}
|
|
103
|
+
export interface User {
|
|
104
|
+
email: string;
|
|
105
|
+
project_title?: string | undefined;
|
|
106
|
+
created_at: string;
|
|
107
|
+
balance: string;
|
|
108
|
+
}
|
|
106
109
|
export interface MostExpensiveInstances {
|
|
107
110
|
items: ExpensiveInstance[];
|
|
108
111
|
count: number;
|
|
@@ -154,6 +157,7 @@ export interface CreateInstanceRequest {
|
|
|
154
157
|
name: string;
|
|
155
158
|
/** initial config */
|
|
156
159
|
config: DeployConfig | undefined;
|
|
160
|
+
skip_validation_for_fields: string[];
|
|
157
161
|
}
|
|
158
162
|
export interface CreateInstanceResponse {
|
|
159
163
|
instance_id: string;
|
|
@@ -166,6 +170,7 @@ export interface DeleteInstanceResponse {
|
|
|
166
170
|
export interface UpdateConfigRequest {
|
|
167
171
|
instance_id: string;
|
|
168
172
|
config: DeployConfig | undefined;
|
|
173
|
+
skip_validation_for_fields: string[];
|
|
169
174
|
}
|
|
170
175
|
export interface UpdateConfigResponse {
|
|
171
176
|
config: DeployConfig | undefined;
|
|
@@ -176,9 +181,11 @@ export interface UpdateConfigPartialRequest {
|
|
|
176
181
|
config: {
|
|
177
182
|
[key: string]: any;
|
|
178
183
|
} | undefined;
|
|
184
|
+
skip_validation_for_fields: string[];
|
|
179
185
|
}
|
|
180
186
|
export interface RegenerateConfigBatchRequest {
|
|
181
187
|
instance_ids: string[];
|
|
188
|
+
skip_validation_for_fields: string[];
|
|
182
189
|
}
|
|
183
190
|
export interface RegenerateConfigBatchResponse {
|
|
184
191
|
total: number;
|
|
@@ -226,6 +233,19 @@ export interface ListInstancesRequest {
|
|
|
226
233
|
export interface ListInstancesResponse {
|
|
227
234
|
items: Instance[];
|
|
228
235
|
}
|
|
236
|
+
export interface SearchInstancesRequest {
|
|
237
|
+
instance_id?: number | undefined;
|
|
238
|
+
instance_uuid?: string | undefined;
|
|
239
|
+
instance_slug?: string | undefined;
|
|
240
|
+
user_id?: number | undefined;
|
|
241
|
+
user_email?: string | undefined;
|
|
242
|
+
page?: number | undefined;
|
|
243
|
+
per_page?: number | undefined;
|
|
244
|
+
}
|
|
245
|
+
export interface SearchInstancesResponse {
|
|
246
|
+
items: Instance[];
|
|
247
|
+
pagination: PaginationResult | undefined;
|
|
248
|
+
}
|
|
229
249
|
export interface SyncDeploymentsServerSpecRequest {
|
|
230
250
|
all_running: boolean;
|
|
231
251
|
deployment_ids: string[];
|
|
@@ -331,6 +351,19 @@ export interface CreateUserAcquisitionSourceRequest {
|
|
|
331
351
|
}
|
|
332
352
|
export interface CreateUserAcquisitionSourceResponse {
|
|
333
353
|
}
|
|
354
|
+
export interface SearchUsersRequest {
|
|
355
|
+
user_id?: number | undefined;
|
|
356
|
+
user_email?: string | undefined;
|
|
357
|
+
user_roles: string[];
|
|
358
|
+
created_before?: string | undefined;
|
|
359
|
+
created_after?: string | undefined;
|
|
360
|
+
page?: number | undefined;
|
|
361
|
+
per_page?: number | undefined;
|
|
362
|
+
}
|
|
363
|
+
export interface SearchUsersResponse {
|
|
364
|
+
items: User[];
|
|
365
|
+
pagination: PaginationResult | undefined;
|
|
366
|
+
}
|
|
334
367
|
export interface CreateCoinbaseDepositRequest {
|
|
335
368
|
amount_cents: number;
|
|
336
369
|
promocode?: string | undefined;
|
|
@@ -404,6 +437,8 @@ export interface Autoscout {
|
|
|
404
437
|
DeleteInstance(request: DeleteInstanceRequest): Promise<DeleteInstanceResponse>;
|
|
405
438
|
/** Get list of all owned instances */
|
|
406
439
|
ListInstances(request: ListInstancesRequest): Promise<ListInstancesResponse>;
|
|
440
|
+
/** Search instances matching a set of filters */
|
|
441
|
+
SearchInstances(request: SearchInstancesRequest): Promise<SearchInstancesResponse>;
|
|
407
442
|
SyncDeploymentsServerSpec(request: SyncDeploymentsServerSpecRequest): Promise<SyncDeploymentsServerSpecResponse>;
|
|
408
443
|
/** Get detailed information about specific deployment */
|
|
409
444
|
GetDeployment(request: GetDeploymentRequest): Promise<Deployment>;
|
|
@@ -429,6 +464,8 @@ export interface Autoscout {
|
|
|
429
464
|
PreviewRegularPromocode(request: RegularPromocodeRequest): Promise<RegularPromocodeResponse>;
|
|
430
465
|
ActivateRegularPromocode(request: RegularPromocodeRequest): Promise<RegularPromocodeResponse>;
|
|
431
466
|
CreateUserAcquisitionSource(request: CreateUserAcquisitionSourceRequest): Promise<CreateUserAcquisitionSourceResponse>;
|
|
467
|
+
/** Search users matching a set of filters */
|
|
468
|
+
SearchUsers(request: SearchUsersRequest): Promise<SearchUsersResponse>;
|
|
432
469
|
ListDeposits(request: ListDepositsRequest): Promise<ListDepositsResponse>;
|
|
433
470
|
PreviewDeposit(request: PreviewDepositRequest): Promise<PreviewDepositResponse>;
|
|
434
471
|
CreateCoinbaseDeposit(request: CreateCoinbaseDepositRequest): Promise<CreateCoinbaseDepositResponse>;
|
package/dist/v1/autoscout.js
CHANGED
|
@@ -11,37 +11,34 @@ var DeploymentStatus;
|
|
|
11
11
|
DeploymentStatus["NO_STATUS"] = "NO_STATUS";
|
|
12
12
|
DeploymentStatus["CREATED"] = "CREATED";
|
|
13
13
|
DeploymentStatus["PENDING"] = "PENDING";
|
|
14
|
+
DeploymentStatus["UNHEALTHY"] = "UNHEALTHY";
|
|
14
15
|
DeploymentStatus["RUNNING"] = "RUNNING";
|
|
15
16
|
DeploymentStatus["STOPPING"] = "STOPPING";
|
|
16
17
|
DeploymentStatus["STOPPED"] = "STOPPED";
|
|
17
18
|
DeploymentStatus["FAILED"] = "FAILED";
|
|
18
19
|
DeploymentStatus["QUEUED"] = "QUEUED";
|
|
19
|
-
DeploymentStatus["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
20
20
|
})(DeploymentStatus || (exports.DeploymentStatus = DeploymentStatus = {}));
|
|
21
21
|
var UpdateInstanceAction;
|
|
22
22
|
(function (UpdateInstanceAction) {
|
|
23
23
|
UpdateInstanceAction["START"] = "START";
|
|
24
24
|
UpdateInstanceAction["STOP"] = "STOP";
|
|
25
25
|
UpdateInstanceAction["RESTART"] = "RESTART";
|
|
26
|
-
UpdateInstanceAction["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
27
26
|
})(UpdateInstanceAction || (exports.UpdateInstanceAction = UpdateInstanceAction = {}));
|
|
28
27
|
var DepositStatus;
|
|
29
28
|
(function (DepositStatus) {
|
|
30
29
|
DepositStatus["UNSPECIFIED_DEPOSIT_STATUS"] = "UNSPECIFIED_DEPOSIT_STATUS";
|
|
31
|
-
DepositStatus["
|
|
32
|
-
DepositStatus["
|
|
33
|
-
DepositStatus["
|
|
34
|
-
DepositStatus["
|
|
35
|
-
DepositStatus["
|
|
36
|
-
DepositStatus["
|
|
37
|
-
DepositStatus["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
30
|
+
DepositStatus["CREATED"] = "DEPOSIT_STATUS_CREATED";
|
|
31
|
+
DepositStatus["PENDING"] = "DEPOSIT_STATUS_PENDING";
|
|
32
|
+
DepositStatus["DELAYED"] = "DEPOSIT_STATUS_DELAYED";
|
|
33
|
+
DepositStatus["CONFIRMED"] = "DEPOSIT_STATUS_CONFIRMED";
|
|
34
|
+
DepositStatus["FAILED"] = "DEPOSIT_STATUS_FAILED";
|
|
35
|
+
DepositStatus["RESOLVED"] = "DEPOSIT_STATUS_RESOLVED";
|
|
38
36
|
})(DepositStatus || (exports.DepositStatus = DepositStatus = {}));
|
|
39
37
|
var DepositType;
|
|
40
38
|
(function (DepositType) {
|
|
41
39
|
DepositType["UNSPECIFIED_DEPOSIT_TYPE"] = "UNSPECIFIED_DEPOSIT_TYPE";
|
|
42
|
-
DepositType["
|
|
43
|
-
DepositType["
|
|
44
|
-
DepositType["
|
|
45
|
-
DepositType["
|
|
46
|
-
DepositType["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
40
|
+
DepositType["STRIPE"] = "DEPOSIT_TYPE_STRIPE";
|
|
41
|
+
DepositType["COINBASE"] = "DEPOSIT_TYPE_COINBASE";
|
|
42
|
+
DepositType["DAIMO"] = "DEPOSIT_TYPE_DAIMO";
|
|
43
|
+
DepositType["PROMOTION_FLAT_BONUS"] = "DEPOSIT_TYPE_PROMOTION_FLAT_BONUS";
|
|
47
44
|
})(DepositType || (exports.DepositType = DepositType = {}));
|
package/dist/v1/autoscout.ts
CHANGED
|
@@ -12,39 +12,36 @@ export enum DeploymentStatus {
|
|
|
12
12
|
NO_STATUS = "NO_STATUS",
|
|
13
13
|
CREATED = "CREATED",
|
|
14
14
|
PENDING = "PENDING",
|
|
15
|
+
UNHEALTHY = "UNHEALTHY",
|
|
15
16
|
RUNNING = "RUNNING",
|
|
16
17
|
STOPPING = "STOPPING",
|
|
17
18
|
STOPPED = "STOPPED",
|
|
18
19
|
FAILED = "FAILED",
|
|
19
20
|
QUEUED = "QUEUED",
|
|
20
|
-
UNRECOGNIZED = "UNRECOGNIZED",
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
export enum UpdateInstanceAction {
|
|
24
24
|
START = "START",
|
|
25
25
|
STOP = "STOP",
|
|
26
26
|
RESTART = "RESTART",
|
|
27
|
-
UNRECOGNIZED = "UNRECOGNIZED",
|
|
28
27
|
}
|
|
29
28
|
|
|
30
29
|
export enum DepositStatus {
|
|
31
30
|
UNSPECIFIED_DEPOSIT_STATUS = "UNSPECIFIED_DEPOSIT_STATUS",
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
UNRECOGNIZED = "UNRECOGNIZED",
|
|
31
|
+
CREATED = "DEPOSIT_STATUS_CREATED",
|
|
32
|
+
PENDING = "DEPOSIT_STATUS_PENDING",
|
|
33
|
+
DELAYED = "DEPOSIT_STATUS_DELAYED",
|
|
34
|
+
CONFIRMED = "DEPOSIT_STATUS_CONFIRMED",
|
|
35
|
+
FAILED = "DEPOSIT_STATUS_FAILED",
|
|
36
|
+
RESOLVED = "DEPOSIT_STATUS_RESOLVED",
|
|
39
37
|
}
|
|
40
38
|
|
|
41
39
|
export enum DepositType {
|
|
42
40
|
UNSPECIFIED_DEPOSIT_TYPE = "UNSPECIFIED_DEPOSIT_TYPE",
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
UNRECOGNIZED = "UNRECOGNIZED",
|
|
41
|
+
STRIPE = "DEPOSIT_TYPE_STRIPE",
|
|
42
|
+
COINBASE = "DEPOSIT_TYPE_COINBASE",
|
|
43
|
+
DAIMO = "DEPOSIT_TYPE_DAIMO",
|
|
44
|
+
PROMOTION_FLAT_BONUS = "DEPOSIT_TYPE_PROMOTION_FLAT_BONUS",
|
|
48
45
|
}
|
|
49
46
|
|
|
50
47
|
export interface HealthStatus {
|
|
@@ -121,6 +118,13 @@ export interface UserProfile {
|
|
|
121
118
|
most_expensive_instances: MostExpensiveInstances | undefined;
|
|
122
119
|
}
|
|
123
120
|
|
|
121
|
+
export interface User {
|
|
122
|
+
email: string;
|
|
123
|
+
project_title?: string | undefined;
|
|
124
|
+
created_at: string;
|
|
125
|
+
balance: string;
|
|
126
|
+
}
|
|
127
|
+
|
|
124
128
|
export interface MostExpensiveInstances {
|
|
125
129
|
items: ExpensiveInstance[];
|
|
126
130
|
count: number;
|
|
@@ -179,6 +183,7 @@ export interface CreateInstanceRequest {
|
|
|
179
183
|
name: string;
|
|
180
184
|
/** initial config */
|
|
181
185
|
config: DeployConfig | undefined;
|
|
186
|
+
skip_validation_for_fields: string[];
|
|
182
187
|
}
|
|
183
188
|
|
|
184
189
|
export interface CreateInstanceResponse {
|
|
@@ -195,6 +200,7 @@ export interface DeleteInstanceResponse {
|
|
|
195
200
|
export interface UpdateConfigRequest {
|
|
196
201
|
instance_id: string;
|
|
197
202
|
config: DeployConfig | undefined;
|
|
203
|
+
skip_validation_for_fields: string[];
|
|
198
204
|
}
|
|
199
205
|
|
|
200
206
|
export interface UpdateConfigResponse {
|
|
@@ -205,10 +211,12 @@ export interface UpdateConfigPartialRequest {
|
|
|
205
211
|
instance_id: string;
|
|
206
212
|
/** See `DeployConfig` for available fields */
|
|
207
213
|
config: { [key: string]: any } | undefined;
|
|
214
|
+
skip_validation_for_fields: string[];
|
|
208
215
|
}
|
|
209
216
|
|
|
210
217
|
export interface RegenerateConfigBatchRequest {
|
|
211
218
|
instance_ids: string[];
|
|
219
|
+
skip_validation_for_fields: string[];
|
|
212
220
|
}
|
|
213
221
|
|
|
214
222
|
export interface RegenerateConfigBatchResponse {
|
|
@@ -267,6 +275,21 @@ export interface ListInstancesResponse {
|
|
|
267
275
|
items: Instance[];
|
|
268
276
|
}
|
|
269
277
|
|
|
278
|
+
export interface SearchInstancesRequest {
|
|
279
|
+
instance_id?: number | undefined;
|
|
280
|
+
instance_uuid?: string | undefined;
|
|
281
|
+
instance_slug?: string | undefined;
|
|
282
|
+
user_id?: number | undefined;
|
|
283
|
+
user_email?: string | undefined;
|
|
284
|
+
page?: number | undefined;
|
|
285
|
+
per_page?: number | undefined;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
export interface SearchInstancesResponse {
|
|
289
|
+
items: Instance[];
|
|
290
|
+
pagination: PaginationResult | undefined;
|
|
291
|
+
}
|
|
292
|
+
|
|
270
293
|
export interface SyncDeploymentsServerSpecRequest {
|
|
271
294
|
all_running: boolean;
|
|
272
295
|
deployment_ids: string[];
|
|
@@ -399,6 +422,21 @@ export interface CreateUserAcquisitionSourceRequest {
|
|
|
399
422
|
export interface CreateUserAcquisitionSourceResponse {
|
|
400
423
|
}
|
|
401
424
|
|
|
425
|
+
export interface SearchUsersRequest {
|
|
426
|
+
user_id?: number | undefined;
|
|
427
|
+
user_email?: string | undefined;
|
|
428
|
+
user_roles: string[];
|
|
429
|
+
created_before?: string | undefined;
|
|
430
|
+
created_after?: string | undefined;
|
|
431
|
+
page?: number | undefined;
|
|
432
|
+
per_page?: number | undefined;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
export interface SearchUsersResponse {
|
|
436
|
+
items: User[];
|
|
437
|
+
pagination: PaginationResult | undefined;
|
|
438
|
+
}
|
|
439
|
+
|
|
402
440
|
export interface CreateCoinbaseDepositRequest {
|
|
403
441
|
amount_cents: number;
|
|
404
442
|
promocode?: string | undefined;
|
|
@@ -487,6 +525,8 @@ export interface Autoscout {
|
|
|
487
525
|
DeleteInstance(request: DeleteInstanceRequest): Promise<DeleteInstanceResponse>;
|
|
488
526
|
/** Get list of all owned instances */
|
|
489
527
|
ListInstances(request: ListInstancesRequest): Promise<ListInstancesResponse>;
|
|
528
|
+
/** Search instances matching a set of filters */
|
|
529
|
+
SearchInstances(request: SearchInstancesRequest): Promise<SearchInstancesResponse>;
|
|
490
530
|
SyncDeploymentsServerSpec(request: SyncDeploymentsServerSpecRequest): Promise<SyncDeploymentsServerSpecResponse>;
|
|
491
531
|
/** Get detailed information about specific deployment */
|
|
492
532
|
GetDeployment(request: GetDeploymentRequest): Promise<Deployment>;
|
|
@@ -514,6 +554,8 @@ export interface Autoscout {
|
|
|
514
554
|
CreateUserAcquisitionSource(
|
|
515
555
|
request: CreateUserAcquisitionSourceRequest,
|
|
516
556
|
): Promise<CreateUserAcquisitionSourceResponse>;
|
|
557
|
+
/** Search users matching a set of filters */
|
|
558
|
+
SearchUsers(request: SearchUsersRequest): Promise<SearchUsersResponse>;
|
|
517
559
|
ListDeposits(request: ListDepositsRequest): Promise<ListDepositsResponse>;
|
|
518
560
|
PreviewDeposit(request: PreviewDepositRequest): Promise<PreviewDepositResponse>;
|
|
519
561
|
CreateCoinbaseDeposit(request: CreateCoinbaseDepositRequest): Promise<CreateCoinbaseDepositResponse>;
|
package/dist/v1/config.d.ts
CHANGED
|
@@ -3,8 +3,7 @@ export declare enum ChainType {
|
|
|
3
3
|
ARBITRUM = "ARBITRUM",
|
|
4
4
|
OPTIMISM = "OPTIMISM",
|
|
5
5
|
POLYGON_ZKEVM = "POLYGON_ZKEVM",
|
|
6
|
-
ZKSYNC = "ZKSYNC"
|
|
7
|
-
UNRECOGNIZED = "UNRECOGNIZED"
|
|
6
|
+
ZKSYNC = "ZKSYNC"
|
|
8
7
|
}
|
|
9
8
|
export declare enum NodeType {
|
|
10
9
|
UNSPECIFIED_NODE_TYPE = "UNSPECIFIED_NODE_TYPE",
|
|
@@ -13,48 +12,41 @@ export declare enum NodeType {
|
|
|
13
12
|
GETH = "GETH",
|
|
14
13
|
BESU = "BESU",
|
|
15
14
|
GANACHE = "GANACHE",
|
|
16
|
-
ANVIL = "ANVIL"
|
|
17
|
-
UNRECOGNIZED = "UNRECOGNIZED"
|
|
15
|
+
ANVIL = "ANVIL"
|
|
18
16
|
}
|
|
19
17
|
export declare enum NavigationLayout {
|
|
20
18
|
UNSPECIFIED_NAVIGATION_LAYOUT = "UNSPECIFIED_NAVIGATION_LAYOUT",
|
|
21
19
|
HORIZONTAL = "HORIZONTAL",
|
|
22
|
-
VERTICAL = "VERTICAL"
|
|
23
|
-
UNRECOGNIZED = "UNRECOGNIZED"
|
|
20
|
+
VERTICAL = "VERTICAL"
|
|
24
21
|
}
|
|
25
22
|
export declare enum ColorTheme {
|
|
26
23
|
UNSPECIFIED_COLOR_THEME = "UNSPECIFIED_COLOR_THEME",
|
|
27
24
|
LIGHT = "LIGHT",
|
|
28
25
|
DIM = "DIM",
|
|
29
26
|
MIDNIGHT = "MIDNIGHT",
|
|
30
|
-
DARK = "DARK"
|
|
31
|
-
UNRECOGNIZED = "UNRECOGNIZED"
|
|
27
|
+
DARK = "DARK"
|
|
32
28
|
}
|
|
33
29
|
export declare enum Identicon {
|
|
34
30
|
UNSPECIFIED_IDENTICON = "UNSPECIFIED_IDENTICON",
|
|
35
31
|
GITHUB = "GITHUB",
|
|
36
32
|
JAZZICON = "JAZZICON",
|
|
37
33
|
GRADIENT_AVATAR = "GRADIENT_AVATAR",
|
|
38
|
-
BLOCKIE = "BLOCKIE"
|
|
39
|
-
UNRECOGNIZED = "UNRECOGNIZED"
|
|
34
|
+
BLOCKIE = "BLOCKIE"
|
|
40
35
|
}
|
|
41
36
|
export declare enum AdTextProvider {
|
|
42
37
|
UNSPECIFIED_AD_TEXT_PROVIDER = "UNSPECIFIED_AD_TEXT_PROVIDER",
|
|
43
38
|
COINZILLA = "COINZILLA",
|
|
44
|
-
TEXT_NONE = "TEXT_NONE"
|
|
45
|
-
UNRECOGNIZED = "UNRECOGNIZED"
|
|
39
|
+
TEXT_NONE = "TEXT_NONE"
|
|
46
40
|
}
|
|
47
41
|
export declare enum AdBannerProvider {
|
|
48
42
|
UNSPECIFIED_AD_BANNER_PROVIDER = "UNSPECIFIED_AD_BANNER_PROVIDER",
|
|
49
43
|
SLISE = "SLISE",
|
|
50
|
-
BANNER_NONE = "BANNER_NONE"
|
|
51
|
-
UNRECOGNIZED = "UNRECOGNIZED"
|
|
44
|
+
BANNER_NONE = "BANNER_NONE"
|
|
52
45
|
}
|
|
53
46
|
export declare enum IndexerBlockTransformer {
|
|
54
47
|
UNSPECIFIED_BLOCK_TRANSFORMER = "UNSPECIFIED_BLOCK_TRANSFORMER",
|
|
55
48
|
BASE = "BASE",
|
|
56
|
-
CLIQUE = "CLIQUE"
|
|
57
|
-
UNRECOGNIZED = "UNRECOGNIZED"
|
|
49
|
+
CLIQUE = "CLIQUE"
|
|
58
50
|
}
|
|
59
51
|
export interface DeployConfig {
|
|
60
52
|
rpc_url: string;
|
package/dist/v1/config.js
CHANGED
|
@@ -14,7 +14,6 @@ var ChainType;
|
|
|
14
14
|
ChainType["OPTIMISM"] = "OPTIMISM";
|
|
15
15
|
ChainType["POLYGON_ZKEVM"] = "POLYGON_ZKEVM";
|
|
16
16
|
ChainType["ZKSYNC"] = "ZKSYNC";
|
|
17
|
-
ChainType["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
18
17
|
})(ChainType || (exports.ChainType = ChainType = {}));
|
|
19
18
|
var NodeType;
|
|
20
19
|
(function (NodeType) {
|
|
@@ -25,14 +24,12 @@ var NodeType;
|
|
|
25
24
|
NodeType["BESU"] = "BESU";
|
|
26
25
|
NodeType["GANACHE"] = "GANACHE";
|
|
27
26
|
NodeType["ANVIL"] = "ANVIL";
|
|
28
|
-
NodeType["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
29
27
|
})(NodeType || (exports.NodeType = NodeType = {}));
|
|
30
28
|
var NavigationLayout;
|
|
31
29
|
(function (NavigationLayout) {
|
|
32
30
|
NavigationLayout["UNSPECIFIED_NAVIGATION_LAYOUT"] = "UNSPECIFIED_NAVIGATION_LAYOUT";
|
|
33
31
|
NavigationLayout["HORIZONTAL"] = "HORIZONTAL";
|
|
34
32
|
NavigationLayout["VERTICAL"] = "VERTICAL";
|
|
35
|
-
NavigationLayout["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
36
33
|
})(NavigationLayout || (exports.NavigationLayout = NavigationLayout = {}));
|
|
37
34
|
var ColorTheme;
|
|
38
35
|
(function (ColorTheme) {
|
|
@@ -41,7 +38,6 @@ var ColorTheme;
|
|
|
41
38
|
ColorTheme["DIM"] = "DIM";
|
|
42
39
|
ColorTheme["MIDNIGHT"] = "MIDNIGHT";
|
|
43
40
|
ColorTheme["DARK"] = "DARK";
|
|
44
|
-
ColorTheme["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
45
41
|
})(ColorTheme || (exports.ColorTheme = ColorTheme = {}));
|
|
46
42
|
var Identicon;
|
|
47
43
|
(function (Identicon) {
|
|
@@ -50,26 +46,22 @@ var Identicon;
|
|
|
50
46
|
Identicon["JAZZICON"] = "JAZZICON";
|
|
51
47
|
Identicon["GRADIENT_AVATAR"] = "GRADIENT_AVATAR";
|
|
52
48
|
Identicon["BLOCKIE"] = "BLOCKIE";
|
|
53
|
-
Identicon["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
54
49
|
})(Identicon || (exports.Identicon = Identicon = {}));
|
|
55
50
|
var AdTextProvider;
|
|
56
51
|
(function (AdTextProvider) {
|
|
57
52
|
AdTextProvider["UNSPECIFIED_AD_TEXT_PROVIDER"] = "UNSPECIFIED_AD_TEXT_PROVIDER";
|
|
58
53
|
AdTextProvider["COINZILLA"] = "COINZILLA";
|
|
59
54
|
AdTextProvider["TEXT_NONE"] = "TEXT_NONE";
|
|
60
|
-
AdTextProvider["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
61
55
|
})(AdTextProvider || (exports.AdTextProvider = AdTextProvider = {}));
|
|
62
56
|
var AdBannerProvider;
|
|
63
57
|
(function (AdBannerProvider) {
|
|
64
58
|
AdBannerProvider["UNSPECIFIED_AD_BANNER_PROVIDER"] = "UNSPECIFIED_AD_BANNER_PROVIDER";
|
|
65
59
|
AdBannerProvider["SLISE"] = "SLISE";
|
|
66
60
|
AdBannerProvider["BANNER_NONE"] = "BANNER_NONE";
|
|
67
|
-
AdBannerProvider["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
68
61
|
})(AdBannerProvider || (exports.AdBannerProvider = AdBannerProvider = {}));
|
|
69
62
|
var IndexerBlockTransformer;
|
|
70
63
|
(function (IndexerBlockTransformer) {
|
|
71
64
|
IndexerBlockTransformer["UNSPECIFIED_BLOCK_TRANSFORMER"] = "UNSPECIFIED_BLOCK_TRANSFORMER";
|
|
72
65
|
IndexerBlockTransformer["BASE"] = "BASE";
|
|
73
66
|
IndexerBlockTransformer["CLIQUE"] = "CLIQUE";
|
|
74
|
-
IndexerBlockTransformer["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
75
67
|
})(IndexerBlockTransformer || (exports.IndexerBlockTransformer = IndexerBlockTransformer = {}));
|
package/dist/v1/config.ts
CHANGED
|
@@ -12,7 +12,6 @@ export enum ChainType {
|
|
|
12
12
|
OPTIMISM = "OPTIMISM",
|
|
13
13
|
POLYGON_ZKEVM = "POLYGON_ZKEVM",
|
|
14
14
|
ZKSYNC = "ZKSYNC",
|
|
15
|
-
UNRECOGNIZED = "UNRECOGNIZED",
|
|
16
15
|
}
|
|
17
16
|
|
|
18
17
|
export enum NodeType {
|
|
@@ -23,14 +22,12 @@ export enum NodeType {
|
|
|
23
22
|
BESU = "BESU",
|
|
24
23
|
GANACHE = "GANACHE",
|
|
25
24
|
ANVIL = "ANVIL",
|
|
26
|
-
UNRECOGNIZED = "UNRECOGNIZED",
|
|
27
25
|
}
|
|
28
26
|
|
|
29
27
|
export enum NavigationLayout {
|
|
30
28
|
UNSPECIFIED_NAVIGATION_LAYOUT = "UNSPECIFIED_NAVIGATION_LAYOUT",
|
|
31
29
|
HORIZONTAL = "HORIZONTAL",
|
|
32
30
|
VERTICAL = "VERTICAL",
|
|
33
|
-
UNRECOGNIZED = "UNRECOGNIZED",
|
|
34
31
|
}
|
|
35
32
|
|
|
36
33
|
export enum ColorTheme {
|
|
@@ -39,7 +36,6 @@ export enum ColorTheme {
|
|
|
39
36
|
DIM = "DIM",
|
|
40
37
|
MIDNIGHT = "MIDNIGHT",
|
|
41
38
|
DARK = "DARK",
|
|
42
|
-
UNRECOGNIZED = "UNRECOGNIZED",
|
|
43
39
|
}
|
|
44
40
|
|
|
45
41
|
export enum Identicon {
|
|
@@ -48,28 +44,24 @@ export enum Identicon {
|
|
|
48
44
|
JAZZICON = "JAZZICON",
|
|
49
45
|
GRADIENT_AVATAR = "GRADIENT_AVATAR",
|
|
50
46
|
BLOCKIE = "BLOCKIE",
|
|
51
|
-
UNRECOGNIZED = "UNRECOGNIZED",
|
|
52
47
|
}
|
|
53
48
|
|
|
54
49
|
export enum AdTextProvider {
|
|
55
50
|
UNSPECIFIED_AD_TEXT_PROVIDER = "UNSPECIFIED_AD_TEXT_PROVIDER",
|
|
56
51
|
COINZILLA = "COINZILLA",
|
|
57
52
|
TEXT_NONE = "TEXT_NONE",
|
|
58
|
-
UNRECOGNIZED = "UNRECOGNIZED",
|
|
59
53
|
}
|
|
60
54
|
|
|
61
55
|
export enum AdBannerProvider {
|
|
62
56
|
UNSPECIFIED_AD_BANNER_PROVIDER = "UNSPECIFIED_AD_BANNER_PROVIDER",
|
|
63
57
|
SLISE = "SLISE",
|
|
64
58
|
BANNER_NONE = "BANNER_NONE",
|
|
65
|
-
UNRECOGNIZED = "UNRECOGNIZED",
|
|
66
59
|
}
|
|
67
60
|
|
|
68
61
|
export enum IndexerBlockTransformer {
|
|
69
62
|
UNSPECIFIED_BLOCK_TRANSFORMER = "UNSPECIFIED_BLOCK_TRANSFORMER",
|
|
70
63
|
BASE = "BASE",
|
|
71
64
|
CLIQUE = "CLIQUE",
|
|
72
|
-
UNRECOGNIZED = "UNRECOGNIZED",
|
|
73
65
|
}
|
|
74
66
|
|
|
75
67
|
export interface DeployConfig {
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockscout/autoscout-types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "TypeScript definitions for Autoscout microservice",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "npm run compile:proto && npm run compile:ts",
|
|
9
|
-
"compile:proto": "mkdir -p ./dist && protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_opt=snakeToCamel=false --ts_proto_opt=stringEnums=true --ts_proto_opt=onlyTypes=true --ts_proto_opt=emitImportedFiles=false --ts_proto_opt=exportCommonSymbols=false --ts_proto_opt=forceLong=string --proto_path=../autoscout-proto/proto --proto_path=../blockscout-rs/proto --ts_proto_out=./dist ../autoscout-proto/proto/v1/autoscout.proto ../autoscout-proto/proto/v1/config.proto ../autoscout-proto/proto/v1/config_schema.proto",
|
|
9
|
+
"compile:proto": "mkdir -p ./dist && protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_opt=removeEnumPrefix=true --ts_proto_opt=unrecognizedEnum=false --ts_proto_opt=snakeToCamel=false --ts_proto_opt=stringEnums=true --ts_proto_opt=onlyTypes=true --ts_proto_opt=emitImportedFiles=false --ts_proto_opt=exportCommonSymbols=false --ts_proto_opt=forceLong=string --proto_path=../autoscout-proto/proto --proto_path=../blockscout-rs/proto --ts_proto_out=./dist ../autoscout-proto/proto/v1/autoscout.proto ../autoscout-proto/proto/v1/config.proto ../autoscout-proto/proto/v1/config_schema.proto",
|
|
10
10
|
"compile:ts": "tsc --declaration ./index.ts"
|
|
11
11
|
},
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
14
|
-
"url": "git+https://github.com/blockscout/
|
|
14
|
+
"url": "git+https://github.com/blockscout/autoscout.git",
|
|
15
15
|
"directory": "autoscout-types"
|
|
16
16
|
},
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"bugs": {
|
|
19
|
-
"url": "https://github.com/blockscout/
|
|
19
|
+
"url": "https://github.com/blockscout/autoscout/issues"
|
|
20
20
|
},
|
|
21
|
-
"homepage": "https://github.com/blockscout/
|
|
21
|
+
"homepage": "https://github.com/blockscout/autoscout#readme",
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"ts-proto": "1.176.2",
|
|
24
24
|
"typescript": "5.4.5"
|