@blockscout/autoscout-types 1.7.2 → 1.8.2-alpha

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.
@@ -4,36 +4,48 @@ 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
- DEPOSIT_STATUS_CREATED = "DEPOSIT_STATUS_CREATED",
23
- DEPOSIT_STATUS_PENDING = "DEPOSIT_STATUS_PENDING",
24
- DEPOSIT_STATUS_DELAYED = "DEPOSIT_STATUS_DELAYED",
25
- DEPOSIT_STATUS_CONFIRMED = "DEPOSIT_STATUS_CONFIRMED",
26
- DEPOSIT_STATUS_FAILED = "DEPOSIT_STATUS_FAILED",
27
- DEPOSIT_STATUS_RESOLVED = "DEPOSIT_STATUS_RESOLVED",
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
- DEPOSIT_TYPE_STRIPE = "DEPOSIT_TYPE_STRIPE",
33
- DEPOSIT_TYPE_COINBASE = "DEPOSIT_TYPE_COINBASE",
34
- DEPOSIT_TYPE_DAIMO = "DEPOSIT_TYPE_DAIMO",
35
- DEPOSIT_TYPE_PROMOTION_FLAT_BONUS = "DEPOSIT_TYPE_PROMOTION_FLAT_BONUS",
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"
34
+ }
35
+ export declare enum PluginVariant {
36
+ UNSPECIFIED_PLUGIN_VARIANT = "UNSPECIFIED_PLUGIN_VARIANT",
37
+ STATS = "PLUGIN_VARIANT_STATS",
38
+ USER_OPS = "PLUGIN_VARIANT_USER_OPS"
39
+ }
40
+ export declare enum PluginStatus {
41
+ UNSPECIFIED_PLUGIN_STATUS = "UNSPECIFIED_PLUGIN_STATUS",
42
+ STOPPED = "PLUGIN_STATUS_STOPPED",
43
+ RUNNING = "PLUGIN_STATUS_RUNNING"
44
+ }
45
+ export declare enum PluginEventType {
46
+ UNSPECIFIED_PLUGIN_EVENT_TYPE = "UNSPECIFIED_PLUGIN_EVENT_TYPE",
47
+ STATUS_CHANGE = "PLUGIN_EVENT_TYPE_STATUS_CHANGE",
48
+ HEALTH_CHANGE = "PLUGIN_EVENT_TYPE_HEALTH_CHANGE"
37
49
  }
38
50
  export interface HealthStatus {
39
51
  ok: boolean;
@@ -73,6 +85,7 @@ export interface Deployment {
73
85
  total_cost: string;
74
86
  health_status: HealthStatus | undefined;
75
87
  indexing_status: IndexingStatus | undefined;
88
+ plugins_status: DeploymentPluginStatuses | undefined;
76
89
  }
77
90
  export interface DeploymentLog {
78
91
  id: number;
@@ -90,6 +103,22 @@ export interface DeploymentHourStorageUsage {
90
103
  free_quota_mb: number;
91
104
  overage_cost_per_gb_hour: string;
92
105
  }
106
+ export interface PluginEvent {
107
+ variant: PluginVariant;
108
+ timestamp: string;
109
+ event_type: PluginEventType;
110
+ event_data?: {
111
+ [key: string]: any;
112
+ } | undefined;
113
+ }
114
+ export interface PluginStatuses {
115
+ launch_status: PluginStatus;
116
+ health_status: HealthStatus | undefined;
117
+ }
118
+ export interface DeploymentPluginStatuses {
119
+ stats_status: PluginStatuses | undefined;
120
+ user_ops_status: PluginStatuses | undefined;
121
+ }
93
122
  export interface UserAction {
94
123
  action: string;
95
124
  instance_id?: string | undefined;
@@ -103,6 +132,12 @@ export interface UserProfile {
103
132
  recent_actions: UserAction[];
104
133
  most_expensive_instances: MostExpensiveInstances | undefined;
105
134
  }
135
+ export interface User {
136
+ email: string;
137
+ project_title?: string | undefined;
138
+ created_at: string;
139
+ balance: string;
140
+ }
106
141
  export interface MostExpensiveInstances {
107
142
  items: ExpensiveInstance[];
108
143
  count: number;
@@ -154,6 +189,7 @@ export interface CreateInstanceRequest {
154
189
  name: string;
155
190
  /** initial config */
156
191
  config: DeployConfig | undefined;
192
+ skip_validation_for_fields: string[];
157
193
  }
158
194
  export interface CreateInstanceResponse {
159
195
  instance_id: string;
@@ -166,6 +202,7 @@ export interface DeleteInstanceResponse {
166
202
  export interface UpdateConfigRequest {
167
203
  instance_id: string;
168
204
  config: DeployConfig | undefined;
205
+ skip_validation_for_fields: string[];
169
206
  }
170
207
  export interface UpdateConfigResponse {
171
208
  config: DeployConfig | undefined;
@@ -176,9 +213,11 @@ export interface UpdateConfigPartialRequest {
176
213
  config: {
177
214
  [key: string]: any;
178
215
  } | undefined;
216
+ skip_validation_for_fields: string[];
179
217
  }
180
218
  export interface RegenerateConfigBatchRequest {
181
219
  instance_ids: string[];
220
+ skip_validation_for_fields: string[];
182
221
  }
183
222
  export interface RegenerateConfigBatchResponse {
184
223
  total: number;
@@ -222,9 +261,26 @@ export interface GetInstanceRequest {
222
261
  instance_id: string;
223
262
  }
224
263
  export interface ListInstancesRequest {
264
+ page?: number | undefined;
265
+ per_page?: number | undefined;
225
266
  }
226
267
  export interface ListInstancesResponse {
227
268
  items: Instance[];
269
+ pagination: PaginationResult | undefined;
270
+ }
271
+ export interface SearchInstancesRequest {
272
+ instance_id?: number | undefined;
273
+ instance_uuid?: string | undefined;
274
+ instance_slug?: string | undefined;
275
+ user_id?: number | undefined;
276
+ user_email?: string | undefined;
277
+ deployment_status: DeploymentStatus;
278
+ page?: number | undefined;
279
+ per_page?: number | undefined;
280
+ }
281
+ export interface SearchInstancesResponse {
282
+ items: Instance[];
283
+ pagination: PaginationResult | undefined;
228
284
  }
229
285
  export interface SyncDeploymentsServerSpecRequest {
230
286
  all_running: boolean;
@@ -276,6 +332,35 @@ export interface GetDeploymentLogRequest {
276
332
  deployment_id: string;
277
333
  id: number;
278
334
  }
335
+ export interface ListPluginEventsRequest {
336
+ deployment_id: string;
337
+ /**
338
+ * comma-separated list of plugin variants to return;
339
+ * see `PluginVariant` for available values
340
+ */
341
+ variants: string[];
342
+ /**
343
+ * comma-separated list of plugin event types to return;
344
+ * see `PluginEventType` for available values
345
+ */
346
+ event_types: string[];
347
+ page?: number | undefined;
348
+ per_page?: number | undefined;
349
+ }
350
+ export interface ListPluginEventsResponse {
351
+ items: PluginEvent[];
352
+ pagination: PaginationResult | undefined;
353
+ }
354
+ export interface ListPluginLogsRequest {
355
+ deployment_id: string;
356
+ plugin_variant: string;
357
+ page?: number | undefined;
358
+ per_page?: number | undefined;
359
+ }
360
+ export interface ListPluginLogsResponse {
361
+ items: DeploymentLog[];
362
+ pagination: PaginationResult | undefined;
363
+ }
279
364
  export interface GetProfileRequest {
280
365
  }
281
366
  export interface ListAuthTokensRequest {
@@ -331,6 +416,19 @@ export interface CreateUserAcquisitionSourceRequest {
331
416
  }
332
417
  export interface CreateUserAcquisitionSourceResponse {
333
418
  }
419
+ export interface SearchUsersRequest {
420
+ user_id?: number | undefined;
421
+ user_email?: string | undefined;
422
+ user_roles: string[];
423
+ created_before?: string | undefined;
424
+ created_after?: string | undefined;
425
+ page?: number | undefined;
426
+ per_page?: number | undefined;
427
+ }
428
+ export interface SearchUsersResponse {
429
+ items: User[];
430
+ pagination: PaginationResult | undefined;
431
+ }
334
432
  export interface CreateCoinbaseDepositRequest {
335
433
  amount_cents: number;
336
434
  promocode?: string | undefined;
@@ -404,6 +502,8 @@ export interface Autoscout {
404
502
  DeleteInstance(request: DeleteInstanceRequest): Promise<DeleteInstanceResponse>;
405
503
  /** Get list of all owned instances */
406
504
  ListInstances(request: ListInstancesRequest): Promise<ListInstancesResponse>;
505
+ /** Search instances matching a set of filters */
506
+ SearchInstances(request: SearchInstancesRequest): Promise<SearchInstancesResponse>;
407
507
  SyncDeploymentsServerSpec(request: SyncDeploymentsServerSpecRequest): Promise<SyncDeploymentsServerSpecResponse>;
408
508
  /** Get detailed information about specific deployment */
409
509
  GetDeployment(request: GetDeploymentRequest): Promise<Deployment>;
@@ -411,7 +511,11 @@ export interface Autoscout {
411
511
  GetCurrentDeployment(request: GetCurrentDeploymentRequest): Promise<Deployment>;
412
512
  /** Get list of deployments of the instance */
413
513
  ListDeployments(request: ListDeploymentsRequest): Promise<ListDeploymentsResponse>;
514
+ /** Get hourly storage usage information on the deployment */
414
515
  GetDeploymentStorageUsage(request: GetDeploymentStorageUsageRequest): Promise<GetDeploymentStorageUsageResponse>;
516
+ /** Get detailed history of (all) plugin events */
517
+ ListPluginEvents(request: ListPluginEventsRequest): Promise<ListPluginEventsResponse>;
518
+ ListPluginLogs(request: ListPluginLogsRequest): Promise<ListPluginLogsResponse>;
415
519
  ListDeploymentLogs(request: ListDeploymentLogsRequest): Promise<ListDeploymentLogsResponse>;
416
520
  GetDeploymentLog(request: GetDeploymentLogRequest): Promise<DeploymentLog>;
417
521
  /** Register new profile */
@@ -429,6 +533,8 @@ export interface Autoscout {
429
533
  PreviewRegularPromocode(request: RegularPromocodeRequest): Promise<RegularPromocodeResponse>;
430
534
  ActivateRegularPromocode(request: RegularPromocodeRequest): Promise<RegularPromocodeResponse>;
431
535
  CreateUserAcquisitionSource(request: CreateUserAcquisitionSourceRequest): Promise<CreateUserAcquisitionSourceResponse>;
536
+ /** Search users matching a set of filters */
537
+ SearchUsers(request: SearchUsersRequest): Promise<SearchUsersResponse>;
432
538
  ListDeposits(request: ListDepositsRequest): Promise<ListDepositsResponse>;
433
539
  PreviewDeposit(request: PreviewDepositRequest): Promise<PreviewDepositResponse>;
434
540
  CreateCoinbaseDeposit(request: CreateCoinbaseDepositRequest): Promise<CreateCoinbaseDepositResponse>;
@@ -5,43 +5,58 @@
5
5
  // protoc v4.23.4
6
6
  // source: v1/autoscout.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.DepositType = exports.DepositStatus = exports.UpdateInstanceAction = exports.DeploymentStatus = void 0;
8
+ exports.PluginEventType = exports.PluginStatus = exports.PluginVariant = exports.DepositType = exports.DepositStatus = exports.UpdateInstanceAction = exports.DeploymentStatus = void 0;
9
9
  var DeploymentStatus;
10
10
  (function (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["DEPOSIT_STATUS_CREATED"] = "DEPOSIT_STATUS_CREATED";
32
- DepositStatus["DEPOSIT_STATUS_PENDING"] = "DEPOSIT_STATUS_PENDING";
33
- DepositStatus["DEPOSIT_STATUS_DELAYED"] = "DEPOSIT_STATUS_DELAYED";
34
- DepositStatus["DEPOSIT_STATUS_CONFIRMED"] = "DEPOSIT_STATUS_CONFIRMED";
35
- DepositStatus["DEPOSIT_STATUS_FAILED"] = "DEPOSIT_STATUS_FAILED";
36
- DepositStatus["DEPOSIT_STATUS_RESOLVED"] = "DEPOSIT_STATUS_RESOLVED";
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["DEPOSIT_TYPE_STRIPE"] = "DEPOSIT_TYPE_STRIPE";
43
- DepositType["DEPOSIT_TYPE_COINBASE"] = "DEPOSIT_TYPE_COINBASE";
44
- DepositType["DEPOSIT_TYPE_DAIMO"] = "DEPOSIT_TYPE_DAIMO";
45
- DepositType["DEPOSIT_TYPE_PROMOTION_FLAT_BONUS"] = "DEPOSIT_TYPE_PROMOTION_FLAT_BONUS";
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 = {}));
45
+ var PluginVariant;
46
+ (function (PluginVariant) {
47
+ PluginVariant["UNSPECIFIED_PLUGIN_VARIANT"] = "UNSPECIFIED_PLUGIN_VARIANT";
48
+ PluginVariant["STATS"] = "PLUGIN_VARIANT_STATS";
49
+ PluginVariant["USER_OPS"] = "PLUGIN_VARIANT_USER_OPS";
50
+ })(PluginVariant || (exports.PluginVariant = PluginVariant = {}));
51
+ var PluginStatus;
52
+ (function (PluginStatus) {
53
+ PluginStatus["UNSPECIFIED_PLUGIN_STATUS"] = "UNSPECIFIED_PLUGIN_STATUS";
54
+ PluginStatus["STOPPED"] = "PLUGIN_STATUS_STOPPED";
55
+ PluginStatus["RUNNING"] = "PLUGIN_STATUS_RUNNING";
56
+ })(PluginStatus || (exports.PluginStatus = PluginStatus = {}));
57
+ var PluginEventType;
58
+ (function (PluginEventType) {
59
+ PluginEventType["UNSPECIFIED_PLUGIN_EVENT_TYPE"] = "UNSPECIFIED_PLUGIN_EVENT_TYPE";
60
+ PluginEventType["STATUS_CHANGE"] = "PLUGIN_EVENT_TYPE_STATUS_CHANGE";
61
+ PluginEventType["HEALTH_CHANGE"] = "PLUGIN_EVENT_TYPE_HEALTH_CHANGE";
62
+ })(PluginEventType || (exports.PluginEventType = PluginEventType = {}));
@@ -12,39 +12,54 @@ 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
- DEPOSIT_STATUS_CREATED = "DEPOSIT_STATUS_CREATED",
33
- DEPOSIT_STATUS_PENDING = "DEPOSIT_STATUS_PENDING",
34
- DEPOSIT_STATUS_DELAYED = "DEPOSIT_STATUS_DELAYED",
35
- DEPOSIT_STATUS_CONFIRMED = "DEPOSIT_STATUS_CONFIRMED",
36
- DEPOSIT_STATUS_FAILED = "DEPOSIT_STATUS_FAILED",
37
- DEPOSIT_STATUS_RESOLVED = "DEPOSIT_STATUS_RESOLVED",
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
- DEPOSIT_TYPE_STRIPE = "DEPOSIT_TYPE_STRIPE",
44
- DEPOSIT_TYPE_COINBASE = "DEPOSIT_TYPE_COINBASE",
45
- DEPOSIT_TYPE_DAIMO = "DEPOSIT_TYPE_DAIMO",
46
- DEPOSIT_TYPE_PROMOTION_FLAT_BONUS = "DEPOSIT_TYPE_PROMOTION_FLAT_BONUS",
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",
45
+ }
46
+
47
+ export enum PluginVariant {
48
+ UNSPECIFIED_PLUGIN_VARIANT = "UNSPECIFIED_PLUGIN_VARIANT",
49
+ STATS = "PLUGIN_VARIANT_STATS",
50
+ USER_OPS = "PLUGIN_VARIANT_USER_OPS",
51
+ }
52
+
53
+ export enum PluginStatus {
54
+ UNSPECIFIED_PLUGIN_STATUS = "UNSPECIFIED_PLUGIN_STATUS",
55
+ STOPPED = "PLUGIN_STATUS_STOPPED",
56
+ RUNNING = "PLUGIN_STATUS_RUNNING",
57
+ }
58
+
59
+ export enum PluginEventType {
60
+ UNSPECIFIED_PLUGIN_EVENT_TYPE = "UNSPECIFIED_PLUGIN_EVENT_TYPE",
61
+ STATUS_CHANGE = "PLUGIN_EVENT_TYPE_STATUS_CHANGE",
62
+ HEALTH_CHANGE = "PLUGIN_EVENT_TYPE_HEALTH_CHANGE",
48
63
  }
49
64
 
50
65
  export interface HealthStatus {
@@ -86,6 +101,7 @@ export interface Deployment {
86
101
  total_cost: string;
87
102
  health_status: HealthStatus | undefined;
88
103
  indexing_status: IndexingStatus | undefined;
104
+ plugins_status: DeploymentPluginStatuses | undefined;
89
105
  }
90
106
 
91
107
  export interface DeploymentLog {
@@ -106,6 +122,23 @@ export interface DeploymentHourStorageUsage {
106
122
  overage_cost_per_gb_hour: string;
107
123
  }
108
124
 
125
+ export interface PluginEvent {
126
+ variant: PluginVariant;
127
+ timestamp: string;
128
+ event_type: PluginEventType;
129
+ event_data?: { [key: string]: any } | undefined;
130
+ }
131
+
132
+ export interface PluginStatuses {
133
+ launch_status: PluginStatus;
134
+ health_status: HealthStatus | undefined;
135
+ }
136
+
137
+ export interface DeploymentPluginStatuses {
138
+ stats_status: PluginStatuses | undefined;
139
+ user_ops_status: PluginStatuses | undefined;
140
+ }
141
+
109
142
  export interface UserAction {
110
143
  action: string;
111
144
  instance_id?: string | undefined;
@@ -121,6 +154,13 @@ export interface UserProfile {
121
154
  most_expensive_instances: MostExpensiveInstances | undefined;
122
155
  }
123
156
 
157
+ export interface User {
158
+ email: string;
159
+ project_title?: string | undefined;
160
+ created_at: string;
161
+ balance: string;
162
+ }
163
+
124
164
  export interface MostExpensiveInstances {
125
165
  items: ExpensiveInstance[];
126
166
  count: number;
@@ -179,6 +219,7 @@ export interface CreateInstanceRequest {
179
219
  name: string;
180
220
  /** initial config */
181
221
  config: DeployConfig | undefined;
222
+ skip_validation_for_fields: string[];
182
223
  }
183
224
 
184
225
  export interface CreateInstanceResponse {
@@ -195,6 +236,7 @@ export interface DeleteInstanceResponse {
195
236
  export interface UpdateConfigRequest {
196
237
  instance_id: string;
197
238
  config: DeployConfig | undefined;
239
+ skip_validation_for_fields: string[];
198
240
  }
199
241
 
200
242
  export interface UpdateConfigResponse {
@@ -205,10 +247,12 @@ export interface UpdateConfigPartialRequest {
205
247
  instance_id: string;
206
248
  /** See `DeployConfig` for available fields */
207
249
  config: { [key: string]: any } | undefined;
250
+ skip_validation_for_fields: string[];
208
251
  }
209
252
 
210
253
  export interface RegenerateConfigBatchRequest {
211
254
  instance_ids: string[];
255
+ skip_validation_for_fields: string[];
212
256
  }
213
257
 
214
258
  export interface RegenerateConfigBatchResponse {
@@ -261,10 +305,29 @@ export interface GetInstanceRequest {
261
305
  }
262
306
 
263
307
  export interface ListInstancesRequest {
308
+ page?: number | undefined;
309
+ per_page?: number | undefined;
264
310
  }
265
311
 
266
312
  export interface ListInstancesResponse {
267
313
  items: Instance[];
314
+ pagination: PaginationResult | undefined;
315
+ }
316
+
317
+ export interface SearchInstancesRequest {
318
+ instance_id?: number | undefined;
319
+ instance_uuid?: string | undefined;
320
+ instance_slug?: string | undefined;
321
+ user_id?: number | undefined;
322
+ user_email?: string | undefined;
323
+ deployment_status: DeploymentStatus;
324
+ page?: number | undefined;
325
+ per_page?: number | undefined;
326
+ }
327
+
328
+ export interface SearchInstancesResponse {
329
+ items: Instance[];
330
+ pagination: PaginationResult | undefined;
268
331
  }
269
332
 
270
333
  export interface SyncDeploymentsServerSpecRequest {
@@ -329,6 +392,39 @@ export interface GetDeploymentLogRequest {
329
392
  id: number;
330
393
  }
331
394
 
395
+ export interface ListPluginEventsRequest {
396
+ deployment_id: string;
397
+ /**
398
+ * comma-separated list of plugin variants to return;
399
+ * see `PluginVariant` for available values
400
+ */
401
+ variants: string[];
402
+ /**
403
+ * comma-separated list of plugin event types to return;
404
+ * see `PluginEventType` for available values
405
+ */
406
+ event_types: string[];
407
+ page?: number | undefined;
408
+ per_page?: number | undefined;
409
+ }
410
+
411
+ export interface ListPluginEventsResponse {
412
+ items: PluginEvent[];
413
+ pagination: PaginationResult | undefined;
414
+ }
415
+
416
+ export interface ListPluginLogsRequest {
417
+ deployment_id: string;
418
+ plugin_variant: string;
419
+ page?: number | undefined;
420
+ per_page?: number | undefined;
421
+ }
422
+
423
+ export interface ListPluginLogsResponse {
424
+ items: DeploymentLog[];
425
+ pagination: PaginationResult | undefined;
426
+ }
427
+
332
428
  export interface GetProfileRequest {
333
429
  }
334
430
 
@@ -399,6 +495,21 @@ export interface CreateUserAcquisitionSourceRequest {
399
495
  export interface CreateUserAcquisitionSourceResponse {
400
496
  }
401
497
 
498
+ export interface SearchUsersRequest {
499
+ user_id?: number | undefined;
500
+ user_email?: string | undefined;
501
+ user_roles: string[];
502
+ created_before?: string | undefined;
503
+ created_after?: string | undefined;
504
+ page?: number | undefined;
505
+ per_page?: number | undefined;
506
+ }
507
+
508
+ export interface SearchUsersResponse {
509
+ items: User[];
510
+ pagination: PaginationResult | undefined;
511
+ }
512
+
402
513
  export interface CreateCoinbaseDepositRequest {
403
514
  amount_cents: number;
404
515
  promocode?: string | undefined;
@@ -487,6 +598,8 @@ export interface Autoscout {
487
598
  DeleteInstance(request: DeleteInstanceRequest): Promise<DeleteInstanceResponse>;
488
599
  /** Get list of all owned instances */
489
600
  ListInstances(request: ListInstancesRequest): Promise<ListInstancesResponse>;
601
+ /** Search instances matching a set of filters */
602
+ SearchInstances(request: SearchInstancesRequest): Promise<SearchInstancesResponse>;
490
603
  SyncDeploymentsServerSpec(request: SyncDeploymentsServerSpecRequest): Promise<SyncDeploymentsServerSpecResponse>;
491
604
  /** Get detailed information about specific deployment */
492
605
  GetDeployment(request: GetDeploymentRequest): Promise<Deployment>;
@@ -494,7 +607,11 @@ export interface Autoscout {
494
607
  GetCurrentDeployment(request: GetCurrentDeploymentRequest): Promise<Deployment>;
495
608
  /** Get list of deployments of the instance */
496
609
  ListDeployments(request: ListDeploymentsRequest): Promise<ListDeploymentsResponse>;
610
+ /** Get hourly storage usage information on the deployment */
497
611
  GetDeploymentStorageUsage(request: GetDeploymentStorageUsageRequest): Promise<GetDeploymentStorageUsageResponse>;
612
+ /** Get detailed history of (all) plugin events */
613
+ ListPluginEvents(request: ListPluginEventsRequest): Promise<ListPluginEventsResponse>;
614
+ ListPluginLogs(request: ListPluginLogsRequest): Promise<ListPluginLogsResponse>;
498
615
  ListDeploymentLogs(request: ListDeploymentLogsRequest): Promise<ListDeploymentLogsResponse>;
499
616
  GetDeploymentLog(request: GetDeploymentLogRequest): Promise<DeploymentLog>;
500
617
  /** Register new profile */
@@ -514,6 +631,8 @@ export interface Autoscout {
514
631
  CreateUserAcquisitionSource(
515
632
  request: CreateUserAcquisitionSourceRequest,
516
633
  ): Promise<CreateUserAcquisitionSourceResponse>;
634
+ /** Search users matching a set of filters */
635
+ SearchUsers(request: SearchUsersRequest): Promise<SearchUsersResponse>;
517
636
  ListDeposits(request: ListDepositsRequest): Promise<ListDepositsResponse>;
518
637
  PreviewDeposit(request: PreviewDepositRequest): Promise<PreviewDepositResponse>;
519
638
  CreateCoinbaseDeposit(request: CreateCoinbaseDepositRequest): Promise<CreateCoinbaseDepositResponse>;
@@ -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,46 @@ 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"
50
+ }
51
+ export declare enum UserOpsTraceClient {
52
+ UNSPECIFIED_TRACE_CLIENT = "UNSPECIFIED_TRACE_CLIENT",
53
+ DEBUG = "DEBUG",
54
+ TRACE = "TRACE"
58
55
  }
59
56
  export interface DeployConfig {
60
57
  rpc_url: string;
@@ -105,6 +102,8 @@ export interface DeployConfig {
105
102
  google_analytics_property_id?: string | undefined;
106
103
  production_ready?: boolean | undefined;
107
104
  api_docs_tabs?: StringList | undefined;
105
+ stats_plugin_config?: StatsPluginConfig | undefined;
106
+ user_ops_plugin_config?: UserOpsPluginConfig | undefined;
108
107
  }
109
108
  export interface Footer {
110
109
  columns: FooterColumn[];
@@ -287,3 +286,29 @@ export interface ZksyncConfig {
287
286
  /** INDEXER_ZKSYNC_BATCHES_STATUS_RECHECK_INTERVAL */
288
287
  batches_status_recheck_interval?: string | undefined;
289
288
  }
289
+ export interface StatsPluginConfig {
290
+ enabled: boolean;
291
+ }
292
+ export interface UserOpsPluginConfig {
293
+ enabled: boolean;
294
+ rpc_url?: string | undefined;
295
+ entrypoints_v06?: UserOpsEntrypointConfig | undefined;
296
+ entrypoints_v07?: UserOpsEntrypointConfig | undefined;
297
+ entrypoints_v08?: UserOpsEntrypointConfig | undefined;
298
+ realtime_enabled?: boolean | undefined;
299
+ realtime_polling_interval?: string | undefined;
300
+ realtime_polling_block_range?: number | undefined;
301
+ realtime_max_block_range?: number | undefined;
302
+ past_rpc_logs_indexer_enabled?: boolean | undefined;
303
+ past_rpc_logs_indexer_block_range?: number | undefined;
304
+ past_db_logs_indexer_enabled?: boolean | undefined;
305
+ past_db_logs_indexer_start_block?: string | undefined;
306
+ past_db_logs_indexer_end_block?: string | undefined;
307
+ trace_client: UserOpsTraceClient;
308
+ }
309
+ export interface UserOpsEntrypointConfig {
310
+ /** / Enabled by default */
311
+ enabled?: boolean | undefined;
312
+ /** / Empty - default (see user ops docs for default) */
313
+ entry_point: string[];
314
+ }
package/dist/v1/config.js CHANGED
@@ -5,7 +5,7 @@
5
5
  // protoc v4.23.4
6
6
  // source: v1/config.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.IndexerBlockTransformer = exports.AdBannerProvider = exports.AdTextProvider = exports.Identicon = exports.ColorTheme = exports.NavigationLayout = exports.NodeType = exports.ChainType = void 0;
8
+ exports.UserOpsTraceClient = exports.IndexerBlockTransformer = exports.AdBannerProvider = exports.AdTextProvider = exports.Identicon = exports.ColorTheme = exports.NavigationLayout = exports.NodeType = exports.ChainType = void 0;
9
9
  /* eslint-disable */
10
10
  var ChainType;
11
11
  (function (ChainType) {
@@ -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,28 @@ 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 = {}));
68
+ var UserOpsTraceClient;
69
+ (function (UserOpsTraceClient) {
70
+ UserOpsTraceClient["UNSPECIFIED_TRACE_CLIENT"] = "UNSPECIFIED_TRACE_CLIENT";
71
+ UserOpsTraceClient["DEBUG"] = "DEBUG";
72
+ UserOpsTraceClient["TRACE"] = "TRACE";
73
+ })(UserOpsTraceClient || (exports.UserOpsTraceClient = UserOpsTraceClient = {}));
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,30 @@ 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",
65
+ }
66
+
67
+ export enum UserOpsTraceClient {
68
+ UNSPECIFIED_TRACE_CLIENT = "UNSPECIFIED_TRACE_CLIENT",
69
+ DEBUG = "DEBUG",
70
+ TRACE = "TRACE",
73
71
  }
74
72
 
75
73
  export interface DeployConfig {
@@ -123,6 +121,8 @@ export interface DeployConfig {
123
121
  google_analytics_property_id?: string | undefined;
124
122
  production_ready?: boolean | undefined;
125
123
  api_docs_tabs?: StringList | undefined;
124
+ stats_plugin_config?: StatsPluginConfig | undefined;
125
+ user_ops_plugin_config?: UserOpsPluginConfig | undefined;
126
126
  }
127
127
 
128
128
  export interface Footer {
@@ -392,3 +392,34 @@ export interface ZksyncConfig {
392
392
  /** INDEXER_ZKSYNC_BATCHES_STATUS_RECHECK_INTERVAL */
393
393
  batches_status_recheck_interval?: string | undefined;
394
394
  }
395
+
396
+ export interface StatsPluginConfig {
397
+ enabled: boolean;
398
+ }
399
+
400
+ export interface UserOpsPluginConfig {
401
+ enabled: boolean;
402
+ rpc_url?: string | undefined;
403
+ entrypoints_v06?: UserOpsEntrypointConfig | undefined;
404
+ entrypoints_v07?: UserOpsEntrypointConfig | undefined;
405
+ entrypoints_v08?: UserOpsEntrypointConfig | undefined;
406
+ realtime_enabled?: boolean | undefined;
407
+ realtime_polling_interval?: string | undefined;
408
+ realtime_polling_block_range?: number | undefined;
409
+ realtime_max_block_range?: number | undefined;
410
+ past_rpc_logs_indexer_enabled?: boolean | undefined;
411
+ past_rpc_logs_indexer_block_range?: number | undefined;
412
+ past_db_logs_indexer_enabled?: boolean | undefined;
413
+ past_db_logs_indexer_start_block?: string | undefined;
414
+ past_db_logs_indexer_end_block?: string | undefined;
415
+ trace_client: UserOpsTraceClient;
416
+ }
417
+
418
+ export interface UserOpsEntrypointConfig {
419
+ /** / Enabled by default */
420
+ enabled?:
421
+ | boolean
422
+ | undefined;
423
+ /** / Empty - default (see user ops docs for default) */
424
+ entry_point: string[];
425
+ }
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@blockscout/autoscout-types",
3
- "version": "1.7.2",
3
+ "version": "1.8.2-alpha",
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/blockscout-rs.git",
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/blockscout-rs/issues"
19
+ "url": "https://github.com/blockscout/autoscout/issues"
20
20
  },
21
- "homepage": "https://github.com/blockscout/blockscout-rs#readme",
21
+ "homepage": "https://github.com/blockscout/autoscout#readme",
22
22
  "devDependencies": {
23
23
  "ts-proto": "1.176.2",
24
24
  "typescript": "5.4.5"