@blockscout/autoscout-types 1.12.3 → 1.13.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 +10 -1
- package/dist/v1/autoscout.js +1 -0
- package/dist/v1/autoscout.ts +11 -0
- package/dist/v1/config.d.ts +6 -0
- package/dist/v1/config.ts +10 -1
- package/dist/v1/config_schema.d.ts +1 -0
- package/dist/v1/config_schema.ts +1 -0
- package/package.json +1 -1
package/dist/v1/autoscout.d.ts
CHANGED
|
@@ -36,7 +36,8 @@ export declare enum DepositType {
|
|
|
36
36
|
export declare enum PluginVariant {
|
|
37
37
|
UNSPECIFIED_PLUGIN_VARIANT = "UNSPECIFIED_PLUGIN_VARIANT",
|
|
38
38
|
STATS = "PLUGIN_VARIANT_STATS",
|
|
39
|
-
USER_OPS = "PLUGIN_VARIANT_USER_OPS"
|
|
39
|
+
USER_OPS = "PLUGIN_VARIANT_USER_OPS",
|
|
40
|
+
ADMIN_SERVICE = "PLUGIN_VARIANT_ADMIN_SERVICE"
|
|
40
41
|
}
|
|
41
42
|
export declare enum PluginStatus {
|
|
42
43
|
UNSPECIFIED_PLUGIN_STATUS = "UNSPECIFIED_PLUGIN_STATUS",
|
|
@@ -131,6 +132,7 @@ export interface PluginStatuses {
|
|
|
131
132
|
export interface DeploymentPluginStatuses {
|
|
132
133
|
stats_status: PluginStatuses | undefined;
|
|
133
134
|
user_ops_status: PluginStatuses | undefined;
|
|
135
|
+
admin_service_status: PluginStatuses | undefined;
|
|
134
136
|
}
|
|
135
137
|
export interface UserAction {
|
|
136
138
|
action: string;
|
|
@@ -324,6 +326,11 @@ export interface ListDeploymentsRequest {
|
|
|
324
326
|
export interface ListDeploymentsResponse {
|
|
325
327
|
items: Deployment[];
|
|
326
328
|
}
|
|
329
|
+
export interface GetNewAdminPasswordRequest {
|
|
330
|
+
}
|
|
331
|
+
export interface GetNewAdminPasswordResponse {
|
|
332
|
+
generated_password: string;
|
|
333
|
+
}
|
|
327
334
|
export interface GetDeploymentStorageUsageRequest {
|
|
328
335
|
deployment_id: string;
|
|
329
336
|
from?: string | undefined;
|
|
@@ -640,6 +647,8 @@ export interface Autoscout {
|
|
|
640
647
|
GetCurrentDeployment(request: GetCurrentDeploymentRequest): Promise<Deployment>;
|
|
641
648
|
/** Get list of deployments of the instance */
|
|
642
649
|
ListDeployments(request: ListDeploymentsRequest): Promise<ListDeploymentsResponse>;
|
|
650
|
+
/** Obtain a new admin service password for the admin services account associated with the requeester. */
|
|
651
|
+
GetNewAdminPassword(request: GetNewAdminPasswordRequest): Promise<GetNewAdminPasswordResponse>;
|
|
643
652
|
/** Get hourly storage usage information on the deployment */
|
|
644
653
|
GetDeploymentStorageUsage(request: GetDeploymentStorageUsageRequest): Promise<GetDeploymentStorageUsageResponse>;
|
|
645
654
|
/** Get detailed history of (all) plugin events */
|
package/dist/v1/autoscout.js
CHANGED
|
@@ -48,6 +48,7 @@ var PluginVariant;
|
|
|
48
48
|
PluginVariant["UNSPECIFIED_PLUGIN_VARIANT"] = "UNSPECIFIED_PLUGIN_VARIANT";
|
|
49
49
|
PluginVariant["STATS"] = "PLUGIN_VARIANT_STATS";
|
|
50
50
|
PluginVariant["USER_OPS"] = "PLUGIN_VARIANT_USER_OPS";
|
|
51
|
+
PluginVariant["ADMIN_SERVICE"] = "PLUGIN_VARIANT_ADMIN_SERVICE";
|
|
51
52
|
})(PluginVariant || (exports.PluginVariant = PluginVariant = {}));
|
|
52
53
|
var PluginStatus;
|
|
53
54
|
(function (PluginStatus) {
|
package/dist/v1/autoscout.ts
CHANGED
|
@@ -49,6 +49,7 @@ export enum PluginVariant {
|
|
|
49
49
|
UNSPECIFIED_PLUGIN_VARIANT = "UNSPECIFIED_PLUGIN_VARIANT",
|
|
50
50
|
STATS = "PLUGIN_VARIANT_STATS",
|
|
51
51
|
USER_OPS = "PLUGIN_VARIANT_USER_OPS",
|
|
52
|
+
ADMIN_SERVICE = "PLUGIN_VARIANT_ADMIN_SERVICE",
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
export enum PluginStatus {
|
|
@@ -152,6 +153,7 @@ export interface PluginStatuses {
|
|
|
152
153
|
export interface DeploymentPluginStatuses {
|
|
153
154
|
stats_status: PluginStatuses | undefined;
|
|
154
155
|
user_ops_status: PluginStatuses | undefined;
|
|
156
|
+
admin_service_status: PluginStatuses | undefined;
|
|
155
157
|
}
|
|
156
158
|
|
|
157
159
|
export interface UserAction {
|
|
@@ -380,6 +382,13 @@ export interface ListDeploymentsResponse {
|
|
|
380
382
|
items: Deployment[];
|
|
381
383
|
}
|
|
382
384
|
|
|
385
|
+
export interface GetNewAdminPasswordRequest {
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
export interface GetNewAdminPasswordResponse {
|
|
389
|
+
generated_password: string;
|
|
390
|
+
}
|
|
391
|
+
|
|
383
392
|
export interface GetDeploymentStorageUsageRequest {
|
|
384
393
|
deployment_id: string;
|
|
385
394
|
from?: string | undefined;
|
|
@@ -761,6 +770,8 @@ export interface Autoscout {
|
|
|
761
770
|
GetCurrentDeployment(request: GetCurrentDeploymentRequest): Promise<Deployment>;
|
|
762
771
|
/** Get list of deployments of the instance */
|
|
763
772
|
ListDeployments(request: ListDeploymentsRequest): Promise<ListDeploymentsResponse>;
|
|
773
|
+
/** Obtain a new admin service password for the admin services account associated with the requeester. */
|
|
774
|
+
GetNewAdminPassword(request: GetNewAdminPasswordRequest): Promise<GetNewAdminPasswordResponse>;
|
|
764
775
|
/** Get hourly storage usage information on the deployment */
|
|
765
776
|
GetDeploymentStorageUsage(request: GetDeploymentStorageUsageRequest): Promise<GetDeploymentStorageUsageResponse>;
|
|
766
777
|
/** Get detailed history of (all) plugin events */
|
package/dist/v1/config.d.ts
CHANGED
|
@@ -104,6 +104,7 @@ export interface DeployConfig {
|
|
|
104
104
|
api_docs_tabs?: StringList | undefined;
|
|
105
105
|
stats_plugin_config?: StatsPluginConfig | undefined;
|
|
106
106
|
user_ops_plugin_config?: UserOpsPluginConfig | undefined;
|
|
107
|
+
admin_service_plugin_config?: AdminServicePluginConfig | undefined;
|
|
107
108
|
monitoring?: MonitoringConfig | undefined;
|
|
108
109
|
versions_stack?: string | undefined;
|
|
109
110
|
parent_chain?: ParentChainConfig | undefined;
|
|
@@ -210,6 +211,8 @@ export interface IndexerConfig {
|
|
|
210
211
|
first_block?: string | undefined;
|
|
211
212
|
/** LAST_BLOCK */
|
|
212
213
|
last_block?: string | undefined;
|
|
214
|
+
/** service variable, not intended for regular users. can be used to regenerate the key */
|
|
215
|
+
api_sensitive_endpoints_key_rotate?: boolean | undefined;
|
|
213
216
|
}
|
|
214
217
|
export interface MonitoringConfig {
|
|
215
218
|
enabled?: boolean | undefined;
|
|
@@ -364,3 +367,6 @@ export interface UserOpsEntrypointConfig {
|
|
|
364
367
|
/** / Empty - default (see user ops docs for default) */
|
|
365
368
|
entry_point: string[];
|
|
366
369
|
}
|
|
370
|
+
export interface AdminServicePluginConfig {
|
|
371
|
+
enabled: boolean;
|
|
372
|
+
}
|
package/dist/v1/config.ts
CHANGED
|
@@ -123,6 +123,7 @@ export interface DeployConfig {
|
|
|
123
123
|
api_docs_tabs?: StringList | undefined;
|
|
124
124
|
stats_plugin_config?: StatsPluginConfig | undefined;
|
|
125
125
|
user_ops_plugin_config?: UserOpsPluginConfig | undefined;
|
|
126
|
+
admin_service_plugin_config?: AdminServicePluginConfig | undefined;
|
|
126
127
|
monitoring?: MonitoringConfig | undefined;
|
|
127
128
|
versions_stack?: string | undefined;
|
|
128
129
|
parent_chain?: ParentChainConfig | undefined;
|
|
@@ -270,7 +271,11 @@ export interface IndexerConfig {
|
|
|
270
271
|
| string
|
|
271
272
|
| undefined;
|
|
272
273
|
/** LAST_BLOCK */
|
|
273
|
-
last_block?:
|
|
274
|
+
last_block?:
|
|
275
|
+
| string
|
|
276
|
+
| undefined;
|
|
277
|
+
/** service variable, not intended for regular users. can be used to regenerate the key */
|
|
278
|
+
api_sensitive_endpoints_key_rotate?: boolean | undefined;
|
|
274
279
|
}
|
|
275
280
|
|
|
276
281
|
export interface MonitoringConfig {
|
|
@@ -509,3 +514,7 @@ export interface UserOpsEntrypointConfig {
|
|
|
509
514
|
/** / Empty - default (see user ops docs for default) */
|
|
510
515
|
entry_point: string[];
|
|
511
516
|
}
|
|
517
|
+
|
|
518
|
+
export interface AdminServicePluginConfig {
|
|
519
|
+
enabled: boolean;
|
|
520
|
+
}
|
package/dist/v1/config_schema.ts
CHANGED