@blockscout/autoscout-types 1.11.0-alpha → 1.11.1-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.
- package/dist/v1/autoscout.d.ts +25 -0
- package/dist/v1/autoscout.ts +28 -0
- package/dist/v1/config.d.ts +4 -0
- package/dist/v1/config.ts +6 -0
- package/package.json +1 -1
package/dist/v1/autoscout.d.ts
CHANGED
|
@@ -422,18 +422,43 @@ export interface BillingInstanceItem {
|
|
|
422
422
|
instance_id: string;
|
|
423
423
|
deployment: BillingDeploymentStatus | undefined;
|
|
424
424
|
price_estimation: BillingPriceEstimation | undefined;
|
|
425
|
+
icon_url?: string | undefined;
|
|
426
|
+
server_size: string;
|
|
425
427
|
}
|
|
426
428
|
export interface BillingInstancesPrice {
|
|
427
429
|
total_items: number;
|
|
428
430
|
total_price_per_month: string;
|
|
429
431
|
items: BillingInstanceItem[];
|
|
430
432
|
}
|
|
433
|
+
export interface BillingUsagePlugin {
|
|
434
|
+
plugin_type: PluginVariant;
|
|
435
|
+
amount_usd: string;
|
|
436
|
+
}
|
|
437
|
+
export interface BillingUsageByInstance {
|
|
438
|
+
instance_name: string;
|
|
439
|
+
instance_id: string;
|
|
440
|
+
total_amount_usd: string;
|
|
441
|
+
base_amount_usd: string;
|
|
442
|
+
storage_amount_usd: string;
|
|
443
|
+
plugins: BillingUsagePlugin[];
|
|
444
|
+
icon_url?: string | undefined;
|
|
445
|
+
server_size: string;
|
|
446
|
+
}
|
|
447
|
+
export interface BillingUsage {
|
|
448
|
+
period_start: string;
|
|
449
|
+
period_end: string;
|
|
450
|
+
total_amount_usd: string;
|
|
451
|
+
instances: BillingUsageByInstance[];
|
|
452
|
+
deducted_from_balance_usd: string;
|
|
453
|
+
}
|
|
431
454
|
export interface GetBillingResponse {
|
|
432
455
|
pay_as_you_go: PayAsYouGoInfo | undefined;
|
|
433
456
|
balance_reaches_zero_in_seconds?: string | undefined;
|
|
434
457
|
estimated_amount_usd_per_second?: string | undefined;
|
|
435
458
|
estimated_total_amount_usd_per_month?: string | undefined;
|
|
436
459
|
instances_price: BillingInstancesPrice | undefined;
|
|
460
|
+
usage: BillingUsage | undefined;
|
|
461
|
+
balance_usd: string;
|
|
437
462
|
}
|
|
438
463
|
export interface ListAuthTokensRequest {
|
|
439
464
|
page?: number | undefined;
|
package/dist/v1/autoscout.ts
CHANGED
|
@@ -496,6 +496,8 @@ export interface BillingInstanceItem {
|
|
|
496
496
|
instance_id: string;
|
|
497
497
|
deployment: BillingDeploymentStatus | undefined;
|
|
498
498
|
price_estimation: BillingPriceEstimation | undefined;
|
|
499
|
+
icon_url?: string | undefined;
|
|
500
|
+
server_size: string;
|
|
499
501
|
}
|
|
500
502
|
|
|
501
503
|
export interface BillingInstancesPrice {
|
|
@@ -504,12 +506,38 @@ export interface BillingInstancesPrice {
|
|
|
504
506
|
items: BillingInstanceItem[];
|
|
505
507
|
}
|
|
506
508
|
|
|
509
|
+
export interface BillingUsagePlugin {
|
|
510
|
+
plugin_type: PluginVariant;
|
|
511
|
+
amount_usd: string;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
export interface BillingUsageByInstance {
|
|
515
|
+
instance_name: string;
|
|
516
|
+
instance_id: string;
|
|
517
|
+
total_amount_usd: string;
|
|
518
|
+
base_amount_usd: string;
|
|
519
|
+
storage_amount_usd: string;
|
|
520
|
+
plugins: BillingUsagePlugin[];
|
|
521
|
+
icon_url?: string | undefined;
|
|
522
|
+
server_size: string;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
export interface BillingUsage {
|
|
526
|
+
period_start: string;
|
|
527
|
+
period_end: string;
|
|
528
|
+
total_amount_usd: string;
|
|
529
|
+
instances: BillingUsageByInstance[];
|
|
530
|
+
deducted_from_balance_usd: string;
|
|
531
|
+
}
|
|
532
|
+
|
|
507
533
|
export interface GetBillingResponse {
|
|
508
534
|
pay_as_you_go: PayAsYouGoInfo | undefined;
|
|
509
535
|
balance_reaches_zero_in_seconds?: string | undefined;
|
|
510
536
|
estimated_amount_usd_per_second?: string | undefined;
|
|
511
537
|
estimated_total_amount_usd_per_month?: string | undefined;
|
|
512
538
|
instances_price: BillingInstancesPrice | undefined;
|
|
539
|
+
usage: BillingUsage | undefined;
|
|
540
|
+
balance_usd: string;
|
|
513
541
|
}
|
|
514
542
|
|
|
515
543
|
export interface ListAuthTokensRequest {
|
package/dist/v1/config.d.ts
CHANGED
|
@@ -206,6 +206,10 @@ export interface IndexerConfig {
|
|
|
206
206
|
disable_pending_fetcher?: boolean | undefined;
|
|
207
207
|
/** BLOCK_TRANSFORMER */
|
|
208
208
|
block_transformer: IndexerBlockTransformer;
|
|
209
|
+
/** FIRST_BLOCK */
|
|
210
|
+
first_block?: string | undefined;
|
|
211
|
+
/** LAST_BLOCK */
|
|
212
|
+
last_block?: string | undefined;
|
|
209
213
|
}
|
|
210
214
|
export interface MonitoringConfig {
|
|
211
215
|
enabled?: boolean | undefined;
|
package/dist/v1/config.ts
CHANGED
|
@@ -265,6 +265,12 @@ export interface IndexerConfig {
|
|
|
265
265
|
| undefined;
|
|
266
266
|
/** BLOCK_TRANSFORMER */
|
|
267
267
|
block_transformer: IndexerBlockTransformer;
|
|
268
|
+
/** FIRST_BLOCK */
|
|
269
|
+
first_block?:
|
|
270
|
+
| string
|
|
271
|
+
| undefined;
|
|
272
|
+
/** LAST_BLOCK */
|
|
273
|
+
last_block?: string | undefined;
|
|
268
274
|
}
|
|
269
275
|
|
|
270
276
|
export interface MonitoringConfig {
|