@blockscout/autoscout-types 1.11.0-alpha → 1.11.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 +23 -0
- package/dist/v1/autoscout.ts +26 -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,41 @@ export interface BillingInstanceItem {
|
|
|
422
422
|
instance_id: string;
|
|
423
423
|
deployment: BillingDeploymentStatus | undefined;
|
|
424
424
|
price_estimation: BillingPriceEstimation | undefined;
|
|
425
|
+
icon_url?: string | undefined;
|
|
425
426
|
}
|
|
426
427
|
export interface BillingInstancesPrice {
|
|
427
428
|
total_items: number;
|
|
428
429
|
total_price_per_month: string;
|
|
429
430
|
items: BillingInstanceItem[];
|
|
430
431
|
}
|
|
432
|
+
export interface BillingUsagePlugin {
|
|
433
|
+
plugin_type: PluginVariant;
|
|
434
|
+
amount_usd: string;
|
|
435
|
+
}
|
|
436
|
+
export interface BillingUsageByInstance {
|
|
437
|
+
instance_name: string;
|
|
438
|
+
instance_id: string;
|
|
439
|
+
total_amount_usd: string;
|
|
440
|
+
base_amount_usd: string;
|
|
441
|
+
storage_amount_usd: string;
|
|
442
|
+
plugins: BillingUsagePlugin[];
|
|
443
|
+
icon_url?: string | undefined;
|
|
444
|
+
}
|
|
445
|
+
export interface BillingUsage {
|
|
446
|
+
period_start: string;
|
|
447
|
+
period_end: string;
|
|
448
|
+
total_amount_usd: string;
|
|
449
|
+
instances: BillingUsageByInstance[];
|
|
450
|
+
deducted_from_balance_usd: string;
|
|
451
|
+
}
|
|
431
452
|
export interface GetBillingResponse {
|
|
432
453
|
pay_as_you_go: PayAsYouGoInfo | undefined;
|
|
433
454
|
balance_reaches_zero_in_seconds?: string | undefined;
|
|
434
455
|
estimated_amount_usd_per_second?: string | undefined;
|
|
435
456
|
estimated_total_amount_usd_per_month?: string | undefined;
|
|
436
457
|
instances_price: BillingInstancesPrice | undefined;
|
|
458
|
+
usage: BillingUsage | undefined;
|
|
459
|
+
balance_usd: string;
|
|
437
460
|
}
|
|
438
461
|
export interface ListAuthTokensRequest {
|
|
439
462
|
page?: number | undefined;
|
package/dist/v1/autoscout.ts
CHANGED
|
@@ -496,6 +496,7 @@ export interface BillingInstanceItem {
|
|
|
496
496
|
instance_id: string;
|
|
497
497
|
deployment: BillingDeploymentStatus | undefined;
|
|
498
498
|
price_estimation: BillingPriceEstimation | undefined;
|
|
499
|
+
icon_url?: string | undefined;
|
|
499
500
|
}
|
|
500
501
|
|
|
501
502
|
export interface BillingInstancesPrice {
|
|
@@ -504,12 +505,37 @@ export interface BillingInstancesPrice {
|
|
|
504
505
|
items: BillingInstanceItem[];
|
|
505
506
|
}
|
|
506
507
|
|
|
508
|
+
export interface BillingUsagePlugin {
|
|
509
|
+
plugin_type: PluginVariant;
|
|
510
|
+
amount_usd: string;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
export interface BillingUsageByInstance {
|
|
514
|
+
instance_name: string;
|
|
515
|
+
instance_id: string;
|
|
516
|
+
total_amount_usd: string;
|
|
517
|
+
base_amount_usd: string;
|
|
518
|
+
storage_amount_usd: string;
|
|
519
|
+
plugins: BillingUsagePlugin[];
|
|
520
|
+
icon_url?: string | undefined;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
export interface BillingUsage {
|
|
524
|
+
period_start: string;
|
|
525
|
+
period_end: string;
|
|
526
|
+
total_amount_usd: string;
|
|
527
|
+
instances: BillingUsageByInstance[];
|
|
528
|
+
deducted_from_balance_usd: string;
|
|
529
|
+
}
|
|
530
|
+
|
|
507
531
|
export interface GetBillingResponse {
|
|
508
532
|
pay_as_you_go: PayAsYouGoInfo | undefined;
|
|
509
533
|
balance_reaches_zero_in_seconds?: string | undefined;
|
|
510
534
|
estimated_amount_usd_per_second?: string | undefined;
|
|
511
535
|
estimated_total_amount_usd_per_month?: string | undefined;
|
|
512
536
|
instances_price: BillingInstancesPrice | undefined;
|
|
537
|
+
usage: BillingUsage | undefined;
|
|
538
|
+
balance_usd: string;
|
|
513
539
|
}
|
|
514
540
|
|
|
515
541
|
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 {
|