@vantage-sh/vantage-client 2.2.1 → 2.4.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/README.md +15 -0
- package/dist/index.d.mts +1242 -482
- package/dist/index.d.ts +1242 -482
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -2
package/dist/index.d.ts
CHANGED
|
@@ -461,7 +461,11 @@ interface paths {
|
|
|
461
461
|
get: operations["getBusinessMetricValues"];
|
|
462
462
|
put?: never;
|
|
463
463
|
post?: never;
|
|
464
|
-
|
|
464
|
+
/**
|
|
465
|
+
* Delete business metric values
|
|
466
|
+
* @description Deletes Business Metric values (historical or forecasted unit metrics).
|
|
467
|
+
*/
|
|
468
|
+
delete: operations["deleteBusinessMetricValues"];
|
|
465
469
|
options?: never;
|
|
466
470
|
head?: never;
|
|
467
471
|
patch?: never;
|
|
@@ -599,6 +603,26 @@ interface paths {
|
|
|
599
603
|
patch?: never;
|
|
600
604
|
trace?: never;
|
|
601
605
|
};
|
|
606
|
+
"/cost_providers": {
|
|
607
|
+
parameters: {
|
|
608
|
+
query?: never;
|
|
609
|
+
header?: never;
|
|
610
|
+
path?: never;
|
|
611
|
+
cookie?: never;
|
|
612
|
+
};
|
|
613
|
+
/**
|
|
614
|
+
* Get cost providers
|
|
615
|
+
* @description List CostProviders available to query in a given Workspace.
|
|
616
|
+
*/
|
|
617
|
+
get: operations["getCostProviders"];
|
|
618
|
+
put?: never;
|
|
619
|
+
post?: never;
|
|
620
|
+
delete?: never;
|
|
621
|
+
options?: never;
|
|
622
|
+
head?: never;
|
|
623
|
+
patch?: never;
|
|
624
|
+
trace?: never;
|
|
625
|
+
};
|
|
602
626
|
"/cost_provider_accounts": {
|
|
603
627
|
parameters: {
|
|
604
628
|
query?: never;
|
|
@@ -731,6 +755,26 @@ interface paths {
|
|
|
731
755
|
patch?: never;
|
|
732
756
|
trace?: never;
|
|
733
757
|
};
|
|
758
|
+
"/cost_services": {
|
|
759
|
+
parameters: {
|
|
760
|
+
query?: never;
|
|
761
|
+
header?: never;
|
|
762
|
+
path?: never;
|
|
763
|
+
cookie?: never;
|
|
764
|
+
};
|
|
765
|
+
/**
|
|
766
|
+
* Get cost services
|
|
767
|
+
* @description List CostServices available to query in a given Workspace.
|
|
768
|
+
*/
|
|
769
|
+
get: operations["getCostServices"];
|
|
770
|
+
put?: never;
|
|
771
|
+
post?: never;
|
|
772
|
+
delete?: never;
|
|
773
|
+
options?: never;
|
|
774
|
+
head?: never;
|
|
775
|
+
patch?: never;
|
|
776
|
+
trace?: never;
|
|
777
|
+
};
|
|
734
778
|
"/dashboards": {
|
|
735
779
|
parameters: {
|
|
736
780
|
query?: never;
|
|
@@ -1421,7 +1465,11 @@ interface paths {
|
|
|
1421
1465
|
* @description Configure SSO for a Managed Account.
|
|
1422
1466
|
*/
|
|
1423
1467
|
post: operations["createSsoConnectionForManagedAccount"];
|
|
1424
|
-
|
|
1468
|
+
/**
|
|
1469
|
+
* Delete SSO connection for managed account
|
|
1470
|
+
* @description Delete SSO connection for a Managed Account.
|
|
1471
|
+
*/
|
|
1472
|
+
delete: operations["deleteSsoConnectionForManagedAccount"];
|
|
1425
1473
|
options?: never;
|
|
1426
1474
|
head?: never;
|
|
1427
1475
|
patch?: never;
|
|
@@ -1439,47 +1487,11 @@ interface paths {
|
|
|
1439
1487
|
* @description Get information about the authenticated BearerToken.
|
|
1440
1488
|
*/
|
|
1441
1489
|
get: operations["getMe"];
|
|
1442
|
-
put?: never;
|
|
1443
|
-
post?: never;
|
|
1444
|
-
delete?: never;
|
|
1445
|
-
options?: never;
|
|
1446
|
-
head?: never;
|
|
1447
|
-
patch?: never;
|
|
1448
|
-
trace?: never;
|
|
1449
|
-
};
|
|
1450
|
-
"/cost_providers": {
|
|
1451
|
-
parameters: {
|
|
1452
|
-
query?: never;
|
|
1453
|
-
header?: never;
|
|
1454
|
-
path?: never;
|
|
1455
|
-
cookie?: never;
|
|
1456
|
-
};
|
|
1457
|
-
/**
|
|
1458
|
-
* Get cost providers
|
|
1459
|
-
* @description List CostProviders available to query in a given Workspace.
|
|
1460
|
-
*/
|
|
1461
|
-
get: operations["getCostProviders"];
|
|
1462
|
-
put?: never;
|
|
1463
|
-
post?: never;
|
|
1464
|
-
delete?: never;
|
|
1465
|
-
options?: never;
|
|
1466
|
-
head?: never;
|
|
1467
|
-
patch?: never;
|
|
1468
|
-
trace?: never;
|
|
1469
|
-
};
|
|
1470
|
-
"/cost_services": {
|
|
1471
|
-
parameters: {
|
|
1472
|
-
query?: never;
|
|
1473
|
-
header?: never;
|
|
1474
|
-
path?: never;
|
|
1475
|
-
cookie?: never;
|
|
1476
|
-
};
|
|
1477
1490
|
/**
|
|
1478
|
-
*
|
|
1479
|
-
* @description
|
|
1491
|
+
* Update authenticated user
|
|
1492
|
+
* @description Update the authenticated User.
|
|
1480
1493
|
*/
|
|
1481
|
-
|
|
1482
|
-
put?: never;
|
|
1494
|
+
put: operations["updateMe"];
|
|
1483
1495
|
post?: never;
|
|
1484
1496
|
delete?: never;
|
|
1485
1497
|
options?: never;
|
|
@@ -1487,26 +1499,6 @@ interface paths {
|
|
|
1487
1499
|
patch?: never;
|
|
1488
1500
|
trace?: never;
|
|
1489
1501
|
};
|
|
1490
|
-
"/user_feedback": {
|
|
1491
|
-
parameters: {
|
|
1492
|
-
query?: never;
|
|
1493
|
-
header?: never;
|
|
1494
|
-
path?: never;
|
|
1495
|
-
cookie?: never;
|
|
1496
|
-
};
|
|
1497
|
-
get?: never;
|
|
1498
|
-
put?: never;
|
|
1499
|
-
/**
|
|
1500
|
-
* Submit user feedback
|
|
1501
|
-
* @description Provide UserFeedback for our product and features.
|
|
1502
|
-
*/
|
|
1503
|
-
post: operations["createUserFeedback"];
|
|
1504
|
-
delete?: never;
|
|
1505
|
-
options?: never;
|
|
1506
|
-
head?: never;
|
|
1507
|
-
patch?: never;
|
|
1508
|
-
trace?: never;
|
|
1509
|
-
};
|
|
1510
1502
|
"/network_flow_reports": {
|
|
1511
1503
|
parameters: {
|
|
1512
1504
|
query?: never;
|
|
@@ -1559,6 +1551,23 @@ interface paths {
|
|
|
1559
1551
|
patch?: never;
|
|
1560
1552
|
trace?: never;
|
|
1561
1553
|
};
|
|
1554
|
+
"/ping": {
|
|
1555
|
+
parameters: {
|
|
1556
|
+
query?: never;
|
|
1557
|
+
header?: never;
|
|
1558
|
+
path?: never;
|
|
1559
|
+
cookie?: never;
|
|
1560
|
+
};
|
|
1561
|
+
/** @description This is a health check endpoint that can be used to determine Vantage API healthiness. It will return 200 if everything is running smoothly. */
|
|
1562
|
+
get: operations["ping"];
|
|
1563
|
+
put?: never;
|
|
1564
|
+
post?: never;
|
|
1565
|
+
delete?: never;
|
|
1566
|
+
options?: never;
|
|
1567
|
+
head?: never;
|
|
1568
|
+
patch?: never;
|
|
1569
|
+
trace?: never;
|
|
1570
|
+
};
|
|
1562
1571
|
"/products/{product_id}/prices": {
|
|
1563
1572
|
parameters: {
|
|
1564
1573
|
query?: never;
|
|
@@ -2239,6 +2248,26 @@ interface paths {
|
|
|
2239
2248
|
patch?: never;
|
|
2240
2249
|
trace?: never;
|
|
2241
2250
|
};
|
|
2251
|
+
"/user_feedback": {
|
|
2252
|
+
parameters: {
|
|
2253
|
+
query?: never;
|
|
2254
|
+
header?: never;
|
|
2255
|
+
path?: never;
|
|
2256
|
+
cookie?: never;
|
|
2257
|
+
};
|
|
2258
|
+
get?: never;
|
|
2259
|
+
put?: never;
|
|
2260
|
+
/**
|
|
2261
|
+
* Submit user feedback
|
|
2262
|
+
* @description Provide UserFeedback for our product and features.
|
|
2263
|
+
*/
|
|
2264
|
+
post: operations["createUserFeedback"];
|
|
2265
|
+
delete?: never;
|
|
2266
|
+
options?: never;
|
|
2267
|
+
head?: never;
|
|
2268
|
+
patch?: never;
|
|
2269
|
+
trace?: never;
|
|
2270
|
+
};
|
|
2242
2271
|
"/users": {
|
|
2243
2272
|
parameters: {
|
|
2244
2273
|
query?: never;
|
|
@@ -2271,7 +2300,11 @@ interface paths {
|
|
|
2271
2300
|
* @description Return a specific User.
|
|
2272
2301
|
*/
|
|
2273
2302
|
get: operations["getUser"];
|
|
2274
|
-
|
|
2303
|
+
/**
|
|
2304
|
+
* Update a user
|
|
2305
|
+
* @description Update a specific User.
|
|
2306
|
+
*/
|
|
2307
|
+
put: operations["updateUser"];
|
|
2275
2308
|
post?: never;
|
|
2276
2309
|
delete?: never;
|
|
2277
2310
|
options?: never;
|
|
@@ -2433,24 +2466,11 @@ interface paths {
|
|
|
2433
2466
|
*/
|
|
2434
2467
|
put: operations["updateWorkspace"];
|
|
2435
2468
|
post?: never;
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
};
|
|
2442
|
-
"/ping": {
|
|
2443
|
-
parameters: {
|
|
2444
|
-
query?: never;
|
|
2445
|
-
header?: never;
|
|
2446
|
-
path?: never;
|
|
2447
|
-
cookie?: never;
|
|
2448
|
-
};
|
|
2449
|
-
/** @description This is a health check endpoint that can be used to determine Vantage API healthiness. It will return 200 if everything is running smoothly. */
|
|
2450
|
-
get: operations["ping"];
|
|
2451
|
-
put?: never;
|
|
2452
|
-
post?: never;
|
|
2453
|
-
delete?: never;
|
|
2469
|
+
/**
|
|
2470
|
+
* Delete workspace
|
|
2471
|
+
* @description Delete a workspace
|
|
2472
|
+
*/
|
|
2473
|
+
delete: operations["deleteWorkspace"];
|
|
2454
2474
|
options?: never;
|
|
2455
2475
|
head?: never;
|
|
2456
2476
|
patch?: never;
|
|
@@ -3123,7 +3143,7 @@ interface components {
|
|
|
3123
3143
|
*/
|
|
3124
3144
|
created_at: string;
|
|
3125
3145
|
/** @description The token for the Workspace the ResourceReport is a part of. */
|
|
3126
|
-
workspace_token: string;
|
|
3146
|
+
workspace_token: string | null;
|
|
3127
3147
|
/** @description The token for the User who created this BudgetAlert. */
|
|
3128
3148
|
user_token?: string | null;
|
|
3129
3149
|
/** @description The Users that receive the alert. */
|
|
@@ -3341,11 +3361,12 @@ interface components {
|
|
|
3341
3361
|
* @example datadog_metrics
|
|
3342
3362
|
* @enum {string|null}
|
|
3343
3363
|
*/
|
|
3344
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
3364
|
+
import_type: "datadog_metrics" | "cloudwatch" | "snowflake_metrics" | "metronome_metrics" | "csv" | null;
|
|
3345
3365
|
/** @description The Integration token used to import the BusinessMetric. */
|
|
3346
3366
|
integration_token: string | null;
|
|
3347
3367
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
3348
3368
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
3369
|
+
snowflake_metric_fields?: components["schemas"]["SnowflakeMetricFields"];
|
|
3349
3370
|
};
|
|
3350
3371
|
AttachedCostReportForBusinessMetric: {
|
|
3351
3372
|
/**
|
|
@@ -3400,6 +3421,13 @@ interface components {
|
|
|
3400
3421
|
*/
|
|
3401
3422
|
query: string;
|
|
3402
3423
|
};
|
|
3424
|
+
SnowflakeMetricFields: {
|
|
3425
|
+
/**
|
|
3426
|
+
* @description The SQL query used to import Snowflake metrics.
|
|
3427
|
+
* @example SELECT date, value, label FROM my_metrics_table
|
|
3428
|
+
*/
|
|
3429
|
+
sql_query: string;
|
|
3430
|
+
};
|
|
3403
3431
|
/** @description BusinessMetricValues model */
|
|
3404
3432
|
BusinessMetricValues: {
|
|
3405
3433
|
values: components["schemas"]["BusinessMetricValue"][];
|
|
@@ -3531,6 +3559,15 @@ interface components {
|
|
|
3531
3559
|
}[];
|
|
3532
3560
|
};
|
|
3533
3561
|
};
|
|
3562
|
+
/** @description BusinessMetricValuesDeleteResponse model */
|
|
3563
|
+
BusinessMetricValuesDeleteResponse: {
|
|
3564
|
+
/**
|
|
3565
|
+
* Format: int32
|
|
3566
|
+
* @description Number of unit metric rows removed.
|
|
3567
|
+
* @example 120
|
|
3568
|
+
*/
|
|
3569
|
+
deleted_count: number;
|
|
3570
|
+
};
|
|
3534
3571
|
/** @description CostAlertEvents model */
|
|
3535
3572
|
CostAlertEvents: {
|
|
3536
3573
|
links?: components["schemas"]["Links"];
|
|
@@ -3749,6 +3786,11 @@ interface components {
|
|
|
3749
3786
|
* @default true
|
|
3750
3787
|
*/
|
|
3751
3788
|
show_previous_period?: boolean | null;
|
|
3789
|
+
/**
|
|
3790
|
+
* @description Report will restrict date ranges to completed periods only.
|
|
3791
|
+
* @default false
|
|
3792
|
+
*/
|
|
3793
|
+
complete_period?: boolean | null;
|
|
3752
3794
|
};
|
|
3753
3795
|
/**
|
|
3754
3796
|
* @description The date and time, in UTC, the report was created. ISO 8601 Formatted.
|
|
@@ -3833,7 +3875,7 @@ interface components {
|
|
|
3833
3875
|
* @example aws
|
|
3834
3876
|
* @enum {string}
|
|
3835
3877
|
*/
|
|
3836
|
-
provider: "aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel" | "all";
|
|
3878
|
+
provider: "aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel" | "redis_cloud" | "circle_ci" | "all";
|
|
3837
3879
|
/**
|
|
3838
3880
|
* @description The service for the forecasted cost. Will be 'all' for all combined services
|
|
3839
3881
|
* @example Amazon Elastic Compute Cloud - Compute
|
|
@@ -3909,6 +3951,11 @@ interface components {
|
|
|
3909
3951
|
* @default true
|
|
3910
3952
|
*/
|
|
3911
3953
|
show_previous_period?: boolean;
|
|
3954
|
+
/**
|
|
3955
|
+
* @description Report will restrict date ranges to completed periods only.
|
|
3956
|
+
* @default false
|
|
3957
|
+
*/
|
|
3958
|
+
complete_period?: boolean;
|
|
3912
3959
|
};
|
|
3913
3960
|
/** @description The previous period start date of the CostReport. ISO 8601 Formatted. */
|
|
3914
3961
|
previous_period_start_date?: string;
|
|
@@ -3934,7 +3981,7 @@ interface components {
|
|
|
3934
3981
|
* @default cumulative
|
|
3935
3982
|
* @enum {string}
|
|
3936
3983
|
*/
|
|
3937
|
-
date_bin?: "cumulative" | "day" | "week" | "month" | "quarter";
|
|
3984
|
+
date_bin?: "cumulative" | "day" | "week" | "month" | "quarter" | "hour";
|
|
3938
3985
|
/** @description Report chart settings. */
|
|
3939
3986
|
chart_settings?: {
|
|
3940
3987
|
/** @description The dimension used to group or label data along the x-axis (e.g., by date, region, or service). NOTE: Only one value is allowed at this time. Defaults to ['date']. */
|
|
@@ -3971,21 +4018,23 @@ interface components {
|
|
|
3971
4018
|
/** @description Report settings. */
|
|
3972
4019
|
settings?: {
|
|
3973
4020
|
/** @description Report will include credits. */
|
|
3974
|
-
include_credits?: boolean;
|
|
4021
|
+
include_credits?: boolean | null;
|
|
3975
4022
|
/** @description Report will include refunds. */
|
|
3976
|
-
include_refunds?: boolean;
|
|
4023
|
+
include_refunds?: boolean | null;
|
|
3977
4024
|
/** @description Report will include discounts. */
|
|
3978
|
-
include_discounts?: boolean;
|
|
4025
|
+
include_discounts?: boolean | null;
|
|
3979
4026
|
/** @description Report will include tax. */
|
|
3980
|
-
include_tax?: boolean;
|
|
4027
|
+
include_tax?: boolean | null;
|
|
3981
4028
|
/** @description Report will amortize. */
|
|
3982
|
-
amortize?: boolean;
|
|
4029
|
+
amortize?: boolean | null;
|
|
3983
4030
|
/** @description Report will show unallocated costs. */
|
|
3984
|
-
unallocated?: boolean;
|
|
4031
|
+
unallocated?: boolean | null;
|
|
3985
4032
|
/** @description Report will aggregate by cost or usage. */
|
|
3986
|
-
aggregate_by?: string;
|
|
4033
|
+
aggregate_by?: string | null;
|
|
3987
4034
|
/** @description Report will show previous period costs or usage comparison. */
|
|
3988
|
-
show_previous_period?: boolean;
|
|
4035
|
+
show_previous_period?: boolean | null;
|
|
4036
|
+
/** @description Report will restrict date ranges to completed periods only. */
|
|
4037
|
+
complete_period?: boolean;
|
|
3989
4038
|
};
|
|
3990
4039
|
/** @description Report chart settings. */
|
|
3991
4040
|
chart_settings?: {
|
|
@@ -4018,7 +4067,7 @@ interface components {
|
|
|
4018
4067
|
* @default cumulative
|
|
4019
4068
|
* @enum {string}
|
|
4020
4069
|
*/
|
|
4021
|
-
date_bin?: "cumulative" | "day" | "week" | "month" | "quarter";
|
|
4070
|
+
date_bin?: "cumulative" | "day" | "week" | "month" | "quarter" | "hour";
|
|
4022
4071
|
};
|
|
4023
4072
|
/** @description Generate a DataExport of costs. */
|
|
4024
4073
|
createCostExport: {
|
|
@@ -4032,17 +4081,62 @@ interface components {
|
|
|
4032
4081
|
start_date?: string;
|
|
4033
4082
|
/** @description Last date you would like to filter costs to. ISO 8601 formatted. */
|
|
4034
4083
|
end_date?: string;
|
|
4084
|
+
/** @description Group the results by specific field(s). Defaults to provider, service, account_id. Valid groupings: account_id, billing_account_id, charge_type, cost_category, cost_subcategory, provider, region, resource_id, service, tagged, tag:<tag_value>. If providing multiple groupings, join as comma separated values: groupings=provider,service,region */
|
|
4085
|
+
groupings?: string[];
|
|
4035
4086
|
/**
|
|
4036
4087
|
* @description The date bin of the costs. Defaults to the report's default or day.
|
|
4037
4088
|
* @enum {string}
|
|
4038
4089
|
*/
|
|
4039
|
-
date_bin?: "day" | "week" | "month" | "quarter";
|
|
4090
|
+
date_bin?: "day" | "week" | "month" | "quarter" | "hour";
|
|
4040
4091
|
/**
|
|
4041
4092
|
* @description The schema of the data export.
|
|
4042
4093
|
* @default vntg
|
|
4043
4094
|
* @enum {string}
|
|
4044
4095
|
*/
|
|
4045
|
-
schema?: "vntg" | "focus";
|
|
4096
|
+
schema?: "vntg" | "focus" | "comparison";
|
|
4097
|
+
/** @description Cost-related settings. */
|
|
4098
|
+
settings?: {
|
|
4099
|
+
/**
|
|
4100
|
+
* @description Results will include credits.
|
|
4101
|
+
* @default false
|
|
4102
|
+
*/
|
|
4103
|
+
include_credits?: boolean;
|
|
4104
|
+
/**
|
|
4105
|
+
* @description Results will include refunds.
|
|
4106
|
+
* @default false
|
|
4107
|
+
*/
|
|
4108
|
+
include_refunds?: boolean;
|
|
4109
|
+
/**
|
|
4110
|
+
* @description Results will include discounts.
|
|
4111
|
+
* @default true
|
|
4112
|
+
*/
|
|
4113
|
+
include_discounts?: boolean;
|
|
4114
|
+
/**
|
|
4115
|
+
* @description Results will include tax.
|
|
4116
|
+
* @default true
|
|
4117
|
+
*/
|
|
4118
|
+
include_tax?: boolean;
|
|
4119
|
+
/**
|
|
4120
|
+
* @description Results will amortize.
|
|
4121
|
+
* @default true
|
|
4122
|
+
*/
|
|
4123
|
+
amortize?: boolean;
|
|
4124
|
+
/**
|
|
4125
|
+
* @description Results will show unallocated costs.
|
|
4126
|
+
* @default false
|
|
4127
|
+
*/
|
|
4128
|
+
unallocated?: boolean;
|
|
4129
|
+
/**
|
|
4130
|
+
* @description Results will aggregate by cost or usage.
|
|
4131
|
+
* @default cost
|
|
4132
|
+
*/
|
|
4133
|
+
aggregate_by?: string;
|
|
4134
|
+
/**
|
|
4135
|
+
* @description Results will show previous period costs or usage comparison.
|
|
4136
|
+
* @default true
|
|
4137
|
+
*/
|
|
4138
|
+
show_previous_period?: boolean;
|
|
4139
|
+
};
|
|
4046
4140
|
};
|
|
4047
4141
|
/** @description Costs model */
|
|
4048
4142
|
Costs: {
|
|
@@ -4101,7 +4195,7 @@ interface components {
|
|
|
4101
4195
|
* @example aws
|
|
4102
4196
|
* @enum {string|null}
|
|
4103
4197
|
*/
|
|
4104
|
-
provider?: "aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel" | null;
|
|
4198
|
+
provider?: "aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel" | "redis_cloud" | "circle_ci" | null;
|
|
4105
4199
|
/**
|
|
4106
4200
|
* @description The cost provider's billing account id that incurred the cost.
|
|
4107
4201
|
* @example 9109237192
|
|
@@ -4127,6 +4221,11 @@ interface components {
|
|
|
4127
4221
|
* @example arn:aws:ec2:us-east-1:123456789012:instance/i-1234567890abcdef0
|
|
4128
4222
|
*/
|
|
4129
4223
|
resource_id?: string | null;
|
|
4224
|
+
/**
|
|
4225
|
+
* @description The human-readable resource name when Vantage can enrich the resource id.
|
|
4226
|
+
* @example claude_code_key_name
|
|
4227
|
+
*/
|
|
4228
|
+
resource_name?: string | null;
|
|
4130
4229
|
/**
|
|
4131
4230
|
* @description The tag attached to the cost that was incurred.
|
|
4132
4231
|
* DEPRECATED: does not support multiple tags.
|
|
@@ -4222,7 +4321,7 @@ interface components {
|
|
|
4222
4321
|
createDashboard: {
|
|
4223
4322
|
/** @description The title of the Dashboard. */
|
|
4224
4323
|
title: string;
|
|
4225
|
-
/** @description The widgets to add to the Dashboard. Currently supports CostReport, ResourceReport, KubernetesEfficiencyReport, and
|
|
4324
|
+
/** @description The widgets to add to the Dashboard. Currently supports CostReport, ResourceReport, KubernetesEfficiencyReport, FinancialCommitmentReport, and RecommendationView. */
|
|
4226
4325
|
widgets?: {
|
|
4227
4326
|
/** @description The token of the represented Resource. */
|
|
4228
4327
|
widgetable_token: string;
|
|
@@ -4257,7 +4356,7 @@ interface components {
|
|
|
4257
4356
|
updateDashboard: {
|
|
4258
4357
|
/** @description The title of the Dashboard. */
|
|
4259
4358
|
title?: string;
|
|
4260
|
-
/** @description The widgets to add to the Dashboard. Currently supports CostReport, ResourceReport, KubernetesEfficiencyReport, and
|
|
4359
|
+
/** @description The widgets to add to the Dashboard. Currently supports CostReport, ResourceReport, KubernetesEfficiencyReport, FinancialCommitmentReport, and RecommendationView. */
|
|
4261
4360
|
widgets?: {
|
|
4262
4361
|
/** @description The token of the represented Resource. */
|
|
4263
4362
|
widgetable_token: string;
|
|
@@ -4539,6 +4638,8 @@ interface components {
|
|
|
4539
4638
|
* @example Platform Team Reports
|
|
4540
4639
|
*/
|
|
4541
4640
|
title: string | null;
|
|
4641
|
+
/** @description The type of the Folder. */
|
|
4642
|
+
type: string;
|
|
4542
4643
|
/** @description The token for the parent Folder, if any. */
|
|
4543
4644
|
parent_folder_token?: string | null;
|
|
4544
4645
|
/** @description The tokens for the SavedFilters assigned to the Folder. */
|
|
@@ -4566,6 +4667,12 @@ interface components {
|
|
|
4566
4667
|
saved_filter_tokens?: string[];
|
|
4567
4668
|
/** @description The token of the Workspace to add the Folder to. Ignored if 'parent_folder_token' is set. Required if the API token is associated with multiple Workspaces. */
|
|
4568
4669
|
workspace_token?: string;
|
|
4670
|
+
/**
|
|
4671
|
+
* @description The type of the Folder.
|
|
4672
|
+
* @default CostFolder
|
|
4673
|
+
* @enum {string}
|
|
4674
|
+
*/
|
|
4675
|
+
type?: "CostFolder" | "ProviderResourceFolder";
|
|
4569
4676
|
};
|
|
4570
4677
|
/** @description Update a Folder for CostReports. */
|
|
4571
4678
|
updateFolder: {
|
|
@@ -4739,6 +4846,14 @@ interface components {
|
|
|
4739
4846
|
*/
|
|
4740
4847
|
file_type: "pdf" | "csv";
|
|
4741
4848
|
};
|
|
4849
|
+
/** @description DownloadInvoice model */
|
|
4850
|
+
DownloadInvoice: {
|
|
4851
|
+
/**
|
|
4852
|
+
* @description The URL to download the invoice file.
|
|
4853
|
+
* @example https://example.com/invoice.pdf
|
|
4854
|
+
*/
|
|
4855
|
+
download_url: string;
|
|
4856
|
+
};
|
|
4742
4857
|
/** @description SendInvoice model */
|
|
4743
4858
|
SendInvoice: {
|
|
4744
4859
|
recipients: string[];
|
|
@@ -4798,7 +4913,7 @@ interface components {
|
|
|
4798
4913
|
/** @description How costs are aggregated by. Possible values: idle_cost, amount, cost_efficiency. */
|
|
4799
4914
|
aggregated_by: string;
|
|
4800
4915
|
/**
|
|
4801
|
-
* @description Grouping values for aggregating costs on the KubernetesEfficiencyReport. Valid groupings: cluster_id, namespace, labeled, category, pod, label, label:<label_name>.
|
|
4916
|
+
* @description Grouping values for aggregating costs on the KubernetesEfficiencyReport. Valid groupings: cluster_id, namespace, region, labeled, category, pod, label, label:<label_name>.
|
|
4802
4917
|
* @example cluster_id, namespace
|
|
4803
4918
|
*/
|
|
4804
4919
|
groupings: string | null;
|
|
@@ -4856,7 +4971,7 @@ interface components {
|
|
|
4856
4971
|
* @enum {string}
|
|
4857
4972
|
*/
|
|
4858
4973
|
date_bucket?: "day" | "week" | "month" | "quarter";
|
|
4859
|
-
/** @description Grouping values for aggregating costs on the KubernetesEfficiencyReport. Valid groupings: cluster_id, namespace, labeled, category, pod, label, label:<label_name>. */
|
|
4974
|
+
/** @description Grouping values for aggregating costs on the KubernetesEfficiencyReport. Valid groupings: cluster_id, namespace, region, labeled, category, pod, label, label:<label_name>. */
|
|
4860
4975
|
groupings?: string[];
|
|
4861
4976
|
};
|
|
4862
4977
|
/** @description Update a KubernetesEfficiencyReport. */
|
|
@@ -4890,7 +5005,7 @@ interface components {
|
|
|
4890
5005
|
* @enum {string}
|
|
4891
5006
|
*/
|
|
4892
5007
|
date_bucket?: "day" | "week" | "month" | "quarter";
|
|
4893
|
-
/** @description Grouping values for aggregating costs on the KubernetesEfficiencyReport. Valid groupings: cluster_id, namespace, labeled, category, pod, label, label:<label_name>. */
|
|
5008
|
+
/** @description Grouping values for aggregating costs on the KubernetesEfficiencyReport. Valid groupings: cluster_id, namespace, region, labeled, category, pod, label, label:<label_name>. */
|
|
4894
5009
|
groupings?: string[];
|
|
4895
5010
|
};
|
|
4896
5011
|
/** @description ManagedAccounts model */
|
|
@@ -4913,6 +5028,13 @@ interface components {
|
|
|
4913
5028
|
email_domain?: string | null;
|
|
4914
5029
|
/** @description Token of the MSP billing profile used for this managed account (MSP invoicing accounts only) */
|
|
4915
5030
|
msp_billing_profile_token?: string | null;
|
|
5031
|
+
/**
|
|
5032
|
+
* Format: int32
|
|
5033
|
+
* @description Number of days until payment is due after invoice date (MSP invoicing accounts only)
|
|
5034
|
+
*/
|
|
5035
|
+
payment_terms_days?: number | null;
|
|
5036
|
+
/** @description Whether to include managed account's own integrations in invoice cost calculations (MSP invoicing accounts only) */
|
|
5037
|
+
include_managed_account_integrations?: boolean | null;
|
|
4916
5038
|
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
4917
5039
|
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
4918
5040
|
};
|
|
@@ -4943,6 +5065,13 @@ interface components {
|
|
|
4943
5065
|
email_domain?: string;
|
|
4944
5066
|
/** @description Token of the MSP billing profile to use for this managed account (MSP invoicing accounts only). */
|
|
4945
5067
|
msp_billing_profile_token?: string;
|
|
5068
|
+
/**
|
|
5069
|
+
* Format: int32
|
|
5070
|
+
* @description Number of days until payment is due after invoice date (MSP invoicing accounts only). Defaults to 10.
|
|
5071
|
+
*/
|
|
5072
|
+
payment_terms_days?: number;
|
|
5073
|
+
/** @description Whether to include managed account's own integrations in invoice cost calculations (MSP invoicing accounts only). Defaults to false. */
|
|
5074
|
+
include_managed_account_integrations?: boolean;
|
|
4946
5075
|
/** @description Billing address and contact information (MSP invoicing accounts only) */
|
|
4947
5076
|
billing_information_attributes?: {
|
|
4948
5077
|
/** Format: int32 */
|
|
@@ -5004,6 +5133,8 @@ interface components {
|
|
|
5004
5133
|
/** @description Me model */
|
|
5005
5134
|
Me: {
|
|
5006
5135
|
default_workspace_token: string | null;
|
|
5136
|
+
/** @description The token of the default Dashboard for the User. */
|
|
5137
|
+
default_dashboard_token?: string | null;
|
|
5007
5138
|
workspaces: components["schemas"]["Workspace"][];
|
|
5008
5139
|
bearer_token: components["schemas"]["BearerToken"];
|
|
5009
5140
|
};
|
|
@@ -5041,6 +5172,11 @@ interface components {
|
|
|
5041
5172
|
/** @description The scopes applied to the BearerToken used to authenticate this request. */
|
|
5042
5173
|
scope: string[];
|
|
5043
5174
|
};
|
|
5175
|
+
/** @description Update the authenticated User. */
|
|
5176
|
+
updateMe: {
|
|
5177
|
+
/** @description The token of a Dashboard to set as the User default. Send null to clear. */
|
|
5178
|
+
default_dashboard_token?: string | null;
|
|
5179
|
+
};
|
|
5044
5180
|
/** @description CostProviders model */
|
|
5045
5181
|
CostProviders: {
|
|
5046
5182
|
links?: components["schemas"]["Links"];
|
|
@@ -5330,6 +5466,11 @@ interface components {
|
|
|
5330
5466
|
/** @description The account ID of the provider. For Azure, this is the subscription ID. */
|
|
5331
5467
|
provider_account_id: string | null;
|
|
5332
5468
|
description: string;
|
|
5469
|
+
/**
|
|
5470
|
+
* @description A URL to related documentation if available.
|
|
5471
|
+
* @example https://handbook.vantage.sh/aws/services/s3-pricing/#intelligent-tiering
|
|
5472
|
+
*/
|
|
5473
|
+
documentation_url: string | null;
|
|
5333
5474
|
/**
|
|
5334
5475
|
* @description The monthly potential savings of the Recommendation, converted to the organization's selected currency.
|
|
5335
5476
|
* @example 100.00
|
|
@@ -5361,20 +5502,62 @@ interface components {
|
|
|
5361
5502
|
/** @description RecommendationProviderResources model */
|
|
5362
5503
|
RecommendationProviderResources: {
|
|
5363
5504
|
links?: components["schemas"]["Links"];
|
|
5364
|
-
resources: components["schemas"]["
|
|
5505
|
+
resources: components["schemas"]["RecommendationProviderResource"][];
|
|
5365
5506
|
};
|
|
5366
|
-
/** @description
|
|
5367
|
-
|
|
5507
|
+
/** @description RecommendationProviderResource model */
|
|
5508
|
+
RecommendationProviderResource: {
|
|
5368
5509
|
token: string;
|
|
5369
5510
|
/**
|
|
5370
|
-
* @description The unique identifier
|
|
5511
|
+
* @description The unique identifier for the resource.
|
|
5371
5512
|
* @example i-0a1b2c3d4e5f6g7h8
|
|
5372
5513
|
*/
|
|
5373
|
-
|
|
5374
|
-
/**
|
|
5375
|
-
|
|
5376
|
-
|
|
5377
|
-
|
|
5514
|
+
uuid: string;
|
|
5515
|
+
/**
|
|
5516
|
+
* @description The kind of resource.
|
|
5517
|
+
* @example aws_instance
|
|
5518
|
+
*/
|
|
5519
|
+
type: string;
|
|
5520
|
+
label: string | null;
|
|
5521
|
+
/** @description Type-specific attributes of the resource. */
|
|
5522
|
+
metadata: Record<string, any> | null;
|
|
5523
|
+
/** @description The provider account where the resource is located. */
|
|
5524
|
+
account_id: string | null;
|
|
5525
|
+
/** @description The provider billing account this resource is charged to. */
|
|
5526
|
+
billing_account_id: string | null;
|
|
5527
|
+
/**
|
|
5528
|
+
* @description The provider of the resource.
|
|
5529
|
+
* @example aws
|
|
5530
|
+
*/
|
|
5531
|
+
provider: string;
|
|
5532
|
+
/**
|
|
5533
|
+
* @description The region where the resource is located. Region values are specific to each provider.
|
|
5534
|
+
* @example us-west-2
|
|
5535
|
+
*/
|
|
5536
|
+
region: string | null;
|
|
5537
|
+
/** @description The cost of the resource broken down by category. */
|
|
5538
|
+
costs?: components["schemas"]["ResourceCost"][];
|
|
5539
|
+
/** @description The date and time when Vantage first observed the resource. */
|
|
5540
|
+
created_at: string;
|
|
5541
|
+
/** @description Key-value pairs of tags associated with the resource. */
|
|
5542
|
+
tags: Record<string, any>;
|
|
5543
|
+
/**
|
|
5544
|
+
* @description The unique identifier of the Active Resource.
|
|
5545
|
+
* @example i-0a1b2c3d4e5f6g7h8
|
|
5546
|
+
*/
|
|
5547
|
+
resource_id: string;
|
|
5548
|
+
/** @description The actions to take to implement the Recommendation. */
|
|
5549
|
+
recommendation_actions?: components["schemas"]["RecommendationAction"][];
|
|
5550
|
+
};
|
|
5551
|
+
ResourceCost: {
|
|
5552
|
+
/** @description The category of the cost. */
|
|
5553
|
+
category: string;
|
|
5554
|
+
/**
|
|
5555
|
+
* Format: float
|
|
5556
|
+
* @description The cost amount.
|
|
5557
|
+
*/
|
|
5558
|
+
amount: number;
|
|
5559
|
+
};
|
|
5560
|
+
RecommendationAction: {
|
|
5378
5561
|
action: string;
|
|
5379
5562
|
description: string;
|
|
5380
5563
|
/**
|
|
@@ -5423,6 +5606,8 @@ interface components {
|
|
|
5423
5606
|
account_ids?: string[] | null;
|
|
5424
5607
|
/** @description Filter by region slugs (e.g. us-east-1, eastus, asia-east1). */
|
|
5425
5608
|
regions?: string[] | null;
|
|
5609
|
+
/** @description Filter by one or more recommendation type slugs. */
|
|
5610
|
+
types?: string[] | null;
|
|
5426
5611
|
/**
|
|
5427
5612
|
* @description Filter by tag key (must be used with tag_value).
|
|
5428
5613
|
* @example environment
|
|
@@ -5433,6 +5618,12 @@ interface components {
|
|
|
5433
5618
|
* @example production
|
|
5434
5619
|
*/
|
|
5435
5620
|
tag_value?: string | null;
|
|
5621
|
+
/**
|
|
5622
|
+
* Format: float
|
|
5623
|
+
* @description Filter recommendations with at least this amount of potential savings.
|
|
5624
|
+
* @example 100.5
|
|
5625
|
+
*/
|
|
5626
|
+
min_savings?: number | null;
|
|
5436
5627
|
/**
|
|
5437
5628
|
* @description The date and time, in UTC, the view was created. ISO 8601 Formatted.
|
|
5438
5629
|
* @example 2023-08-04T00:00:00Z
|
|
@@ -5455,6 +5646,8 @@ interface components {
|
|
|
5455
5646
|
account_ids?: string[];
|
|
5456
5647
|
/** @description Filter by region slugs (e.g. us-east-1, eastus, asia-east1). */
|
|
5457
5648
|
regions?: string[];
|
|
5649
|
+
/** @description Filter by one or more recommendation type slugs. */
|
|
5650
|
+
types?: string[];
|
|
5458
5651
|
/** @description Filter by tag key (must be used with tag_value). */
|
|
5459
5652
|
tag_key?: string;
|
|
5460
5653
|
/** @description Filter by tag value (requires tag_key). */
|
|
@@ -5463,6 +5656,11 @@ interface components {
|
|
|
5463
5656
|
start_date?: string;
|
|
5464
5657
|
/** @description Filter recommendations created on/before this YYYY-MM-DD date. */
|
|
5465
5658
|
end_date?: string;
|
|
5659
|
+
/**
|
|
5660
|
+
* Format: float
|
|
5661
|
+
* @description Filter recommendations with at least this amount of potential savings.
|
|
5662
|
+
*/
|
|
5663
|
+
min_savings?: number;
|
|
5466
5664
|
};
|
|
5467
5665
|
/** @description Update a RecommendationView. */
|
|
5468
5666
|
updateRecommendationView: {
|
|
@@ -5476,6 +5674,8 @@ interface components {
|
|
|
5476
5674
|
account_ids?: string[];
|
|
5477
5675
|
/** @description Filter by region slugs (e.g. us-east-1, eastus, asia-east1). */
|
|
5478
5676
|
regions?: string[];
|
|
5677
|
+
/** @description Filter by one or more recommendation type slugs. */
|
|
5678
|
+
types?: string[];
|
|
5479
5679
|
/** @description Filter by tag key (must be used with tag_value). */
|
|
5480
5680
|
tag_key?: string;
|
|
5481
5681
|
/** @description Filter by tag value (requires tag_key). */
|
|
@@ -5484,6 +5684,11 @@ interface components {
|
|
|
5484
5684
|
start_date?: string;
|
|
5485
5685
|
/** @description Filter recommendations created on/before this YYYY-MM-DD date. */
|
|
5486
5686
|
end_date?: string;
|
|
5687
|
+
/**
|
|
5688
|
+
* Format: float
|
|
5689
|
+
* @description Filter recommendations with at least this amount of potential savings.
|
|
5690
|
+
*/
|
|
5691
|
+
min_savings?: number;
|
|
5487
5692
|
};
|
|
5488
5693
|
/** @description ReportNotifications model */
|
|
5489
5694
|
ReportNotifications: {
|
|
@@ -5583,6 +5788,8 @@ interface components {
|
|
|
5583
5788
|
user_token: string | null;
|
|
5584
5789
|
/** @description The token for the User or Team who created this ResourceReport. */
|
|
5585
5790
|
created_by_token: string | null;
|
|
5791
|
+
/** @description The token for the Folder the ResourceReport is a part of. */
|
|
5792
|
+
folder_token?: string | null;
|
|
5586
5793
|
/** @description Array of column names configured for the ResourceReport table display. */
|
|
5587
5794
|
columns: string[];
|
|
5588
5795
|
};
|
|
@@ -5596,6 +5803,8 @@ interface components {
|
|
|
5596
5803
|
filter?: string;
|
|
5597
5804
|
/** @description Array of column names to display in the table. Column names should match those returned by the /resource_reports/columns endpoint. The order determines the display order. Only available for reports with a single resource type filter. */
|
|
5598
5805
|
columns?: string[];
|
|
5806
|
+
/** @description The token of the Folder to add the ResourceReport to. */
|
|
5807
|
+
folder_token?: string;
|
|
5599
5808
|
};
|
|
5600
5809
|
/** @description Update a ResourceReport. */
|
|
5601
5810
|
updateResourceReport: {
|
|
@@ -5605,6 +5814,8 @@ interface components {
|
|
|
5605
5814
|
filter?: string;
|
|
5606
5815
|
/** @description Array of column names to display in the table. Column names should match those returned by the /resource_reports/columns endpoint. The order determines the display order. Only available for reports with a single resource type filter. */
|
|
5607
5816
|
columns?: string[];
|
|
5817
|
+
/** @description The token of the Folder to move the ResourceReport to. */
|
|
5818
|
+
folder_token?: string;
|
|
5608
5819
|
};
|
|
5609
5820
|
/** @description Resources model */
|
|
5610
5821
|
Resources: {
|
|
@@ -5645,15 +5856,8 @@ interface components {
|
|
|
5645
5856
|
costs?: components["schemas"]["ResourceCost"][];
|
|
5646
5857
|
/** @description The date and time when Vantage first observed the resource. */
|
|
5647
5858
|
created_at: string;
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
/** @description The category of the cost. */
|
|
5651
|
-
category: string;
|
|
5652
|
-
/**
|
|
5653
|
-
* Format: float
|
|
5654
|
-
* @description The cost amount.
|
|
5655
|
-
*/
|
|
5656
|
-
amount: number;
|
|
5859
|
+
/** @description Key-value pairs of tags associated with the resource. */
|
|
5860
|
+
tags: Record<string, any>;
|
|
5657
5861
|
};
|
|
5658
5862
|
/** @description SavedFilters model */
|
|
5659
5863
|
SavedFilters: {
|
|
@@ -5771,15 +5975,15 @@ interface components {
|
|
|
5771
5975
|
/** @description Report settings configurable on top-level Segments. */
|
|
5772
5976
|
report_settings?: {
|
|
5773
5977
|
/** @description Reports created under this Segment will include credits. */
|
|
5774
|
-
include_credits?: boolean;
|
|
5978
|
+
include_credits?: boolean | null;
|
|
5775
5979
|
/** @description Reports created under this Segment will include refunds. */
|
|
5776
|
-
include_refunds?: boolean;
|
|
5980
|
+
include_refunds?: boolean | null;
|
|
5777
5981
|
/** @description Reports created under this Segment will include discounts. */
|
|
5778
|
-
include_discounts?: boolean;
|
|
5982
|
+
include_discounts?: boolean | null;
|
|
5779
5983
|
/** @description Reports created under this Segment will include tax. */
|
|
5780
|
-
include_tax?: boolean;
|
|
5984
|
+
include_tax?: boolean | null;
|
|
5781
5985
|
/** @description Reports created under this Segment will amortize. */
|
|
5782
|
-
amortize?: boolean;
|
|
5986
|
+
amortize?: boolean | null;
|
|
5783
5987
|
};
|
|
5784
5988
|
/** @description The token of the Workspace to add the Segment to. Ignored if 'segment_token' is set. Required if the API token is associated with multiple Workspaces. */
|
|
5785
5989
|
workspace_token?: string;
|
|
@@ -5807,15 +6011,15 @@ interface components {
|
|
|
5807
6011
|
/** @description Report settings configurable on top-level Segments. */
|
|
5808
6012
|
report_settings?: {
|
|
5809
6013
|
/** @description Reports created under this Segment will include credits. */
|
|
5810
|
-
include_credits?: boolean;
|
|
6014
|
+
include_credits?: boolean | null;
|
|
5811
6015
|
/** @description Reports created under this Segment will include refunds. */
|
|
5812
|
-
include_refunds?: boolean;
|
|
6016
|
+
include_refunds?: boolean | null;
|
|
5813
6017
|
/** @description Reports created under this Segment will include discounts. */
|
|
5814
|
-
include_discounts?: boolean;
|
|
6018
|
+
include_discounts?: boolean | null;
|
|
5815
6019
|
/** @description Reports created under this Segment will include tax. */
|
|
5816
|
-
include_tax?: boolean;
|
|
6020
|
+
include_tax?: boolean | null;
|
|
5817
6021
|
/** @description Reports created under this Segment will amortize. */
|
|
5818
|
-
amortize?: boolean;
|
|
6022
|
+
amortize?: boolean | null;
|
|
5819
6023
|
};
|
|
5820
6024
|
/** @description The filter query language to apply to the Segment. Additional documentation available at https://docs.vantage.sh/vql. */
|
|
5821
6025
|
filter?: string;
|
|
@@ -5835,6 +6039,8 @@ interface components {
|
|
|
5835
6039
|
tag_key: string;
|
|
5836
6040
|
/** @description Whether the Tag has been hidden from the Vantage UI. */
|
|
5837
6041
|
hidden: boolean;
|
|
6042
|
+
/** @description Whether the Tag has been marked as preferred. */
|
|
6043
|
+
preferred: boolean;
|
|
5838
6044
|
/** @description The unique providers that are covered by the Tag key. */
|
|
5839
6045
|
providers: string[];
|
|
5840
6046
|
};
|
|
@@ -5883,6 +6089,11 @@ interface components {
|
|
|
5883
6089
|
user_emails: string[];
|
|
5884
6090
|
/** @description The tokens for Users that belong to the Team */
|
|
5885
6091
|
user_tokens: string[];
|
|
6092
|
+
/**
|
|
6093
|
+
* @description The token of the default Dashboard for the Team.
|
|
6094
|
+
* @example dshbrd_abcd1234
|
|
6095
|
+
*/
|
|
6096
|
+
default_dashboard_token: string | null;
|
|
5886
6097
|
};
|
|
5887
6098
|
/** @description Create a new Team. */
|
|
5888
6099
|
createTeam: {
|
|
@@ -5901,6 +6112,8 @@ interface components {
|
|
|
5901
6112
|
* @enum {string}
|
|
5902
6113
|
*/
|
|
5903
6114
|
role?: "owner" | "editor" | "viewer";
|
|
6115
|
+
/** @description The token of a Dashboard to set as the Team default. Send null to clear. */
|
|
6116
|
+
default_dashboard_token?: string | null;
|
|
5904
6117
|
};
|
|
5905
6118
|
/** @description Update a Team. */
|
|
5906
6119
|
updateTeam: {
|
|
@@ -5919,6 +6132,8 @@ interface components {
|
|
|
5919
6132
|
* @enum {string}
|
|
5920
6133
|
*/
|
|
5921
6134
|
role?: "owner" | "editor" | "viewer";
|
|
6135
|
+
/** @description The token of a Dashboard to set as the Team default. Send null to clear. */
|
|
6136
|
+
default_dashboard_token?: string | null;
|
|
5922
6137
|
};
|
|
5923
6138
|
/** @description TeamMembers model */
|
|
5924
6139
|
TeamMembers: {
|
|
@@ -5973,7 +6188,7 @@ interface components {
|
|
|
5973
6188
|
* @description The date bin of the unit costs. Defaults to the report's default or day.
|
|
5974
6189
|
* @enum {string}
|
|
5975
6190
|
*/
|
|
5976
|
-
date_bin?: "day" | "week" | "month" | "quarter";
|
|
6191
|
+
date_bin?: "day" | "week" | "month" | "quarter" | "hour";
|
|
5977
6192
|
};
|
|
5978
6193
|
/** @description UnitCosts model */
|
|
5979
6194
|
UnitCosts: {
|
|
@@ -6037,12 +6252,22 @@ interface components {
|
|
|
6037
6252
|
* @example Admin
|
|
6038
6253
|
*/
|
|
6039
6254
|
role: string;
|
|
6255
|
+
/**
|
|
6256
|
+
* @description The token of the default Dashboard for the User.
|
|
6257
|
+
* @example dshbrd_abcdef123456
|
|
6258
|
+
*/
|
|
6259
|
+
default_dashboard_token?: string | null;
|
|
6040
6260
|
/**
|
|
6041
6261
|
* @description The last time the User logged in.
|
|
6042
6262
|
* @example 2024-01-01T00:00:00Z
|
|
6043
6263
|
*/
|
|
6044
6264
|
last_seen_at?: string | null;
|
|
6045
6265
|
};
|
|
6266
|
+
/** @description Update a specific User. */
|
|
6267
|
+
updateUser: {
|
|
6268
|
+
/** @description The token of a Dashboard to set as the User default. Send null to clear. */
|
|
6269
|
+
default_dashboard_token?: string | null;
|
|
6270
|
+
};
|
|
6046
6271
|
/** @description VirtualTagConfigs model */
|
|
6047
6272
|
VirtualTagConfigs: {
|
|
6048
6273
|
virtual_tag_configs: components["schemas"]["VirtualTagConfig"][];
|
|
@@ -6068,11 +6293,11 @@ interface components {
|
|
|
6068
6293
|
overridable: boolean;
|
|
6069
6294
|
/**
|
|
6070
6295
|
* @description The earliest month VirtualTagConfig should be backfilled to.
|
|
6071
|
-
* @example 2025-
|
|
6296
|
+
* @example 2025-12-01
|
|
6072
6297
|
*/
|
|
6073
6298
|
backfill_until: string;
|
|
6074
6299
|
/** @description Tag keys to collapse values for. */
|
|
6075
|
-
collapsed_tag_keys
|
|
6300
|
+
collapsed_tag_keys: components["schemas"]["VirtualTagConfigCollapsedTagKey"][];
|
|
6076
6301
|
/** @description Values for the VirtualTagConfig, with match precedence determined by their relative order in the list. */
|
|
6077
6302
|
values: components["schemas"]["VirtualTagConfigValue"][];
|
|
6078
6303
|
};
|
|
@@ -6082,8 +6307,13 @@ interface components {
|
|
|
6082
6307
|
* @example team
|
|
6083
6308
|
*/
|
|
6084
6309
|
key: string;
|
|
6085
|
-
/** @description The providers this collapsed tag key applies to.
|
|
6310
|
+
/** @description The providers this collapsed tag key applies to. Empty when it applies to all providers. */
|
|
6086
6311
|
providers: string[];
|
|
6312
|
+
/**
|
|
6313
|
+
* @description The VQL filter this collapsed tag key applies to. Null when the key is provider-scoped or unset.
|
|
6314
|
+
* @example (costs.provider = 'aws') OR (costs.provider = 'gcp')
|
|
6315
|
+
*/
|
|
6316
|
+
filter: string | null;
|
|
6087
6317
|
};
|
|
6088
6318
|
VirtualTagConfigValue: {
|
|
6089
6319
|
/**
|
|
@@ -6102,10 +6332,14 @@ interface components {
|
|
|
6102
6332
|
*/
|
|
6103
6333
|
business_metric_token?: string | null;
|
|
6104
6334
|
cost_metric?: components["schemas"]["VirtualTagConfigValueCostMetric"];
|
|
6335
|
+
/** @description The display name for this allocation value. */
|
|
6336
|
+
display_name?: string | null;
|
|
6337
|
+
/** @description Label transforms applied to business metric labels. */
|
|
6338
|
+
label_transforms: components["schemas"]["VirtualTagConfigValueLabelTransform"][];
|
|
6105
6339
|
/** @description Labeled percentage allocations for matching costs. */
|
|
6106
|
-
percentages
|
|
6340
|
+
percentages: components["schemas"]["VirtualTagConfigValuePercentage"][];
|
|
6107
6341
|
/** @description Date ranges restricting when this value applies. */
|
|
6108
|
-
date_ranges
|
|
6342
|
+
date_ranges: components["schemas"]["VirtualTagConfigValueDateRange"][];
|
|
6109
6343
|
};
|
|
6110
6344
|
VirtualTagConfigValueCostMetric: {
|
|
6111
6345
|
/** @description The filter VQL for the cost metric. */
|
|
@@ -6116,6 +6350,22 @@ interface components {
|
|
|
6116
6350
|
/** @description The tag to aggregate on. */
|
|
6117
6351
|
tag?: string | null;
|
|
6118
6352
|
};
|
|
6353
|
+
VirtualTagConfigValueLabelTransform: {
|
|
6354
|
+
/**
|
|
6355
|
+
* @description The label transform type.
|
|
6356
|
+
* @enum {string}
|
|
6357
|
+
*/
|
|
6358
|
+
type: "split" | "format";
|
|
6359
|
+
/** @description Delimiter used by split transforms. */
|
|
6360
|
+
delimiter?: string | null;
|
|
6361
|
+
/**
|
|
6362
|
+
* Format: int32
|
|
6363
|
+
* @description Zero-based index used by split transforms.
|
|
6364
|
+
*/
|
|
6365
|
+
index?: number | null;
|
|
6366
|
+
/** @description Template used by format transforms. */
|
|
6367
|
+
template?: string | null;
|
|
6368
|
+
};
|
|
6119
6369
|
VirtualTagConfigValuePercentage: {
|
|
6120
6370
|
/**
|
|
6121
6371
|
* @description The tag value associated with a percentage of matched costs.
|
|
@@ -6173,8 +6423,10 @@ interface components {
|
|
|
6173
6423
|
collapsed_tag_keys?: {
|
|
6174
6424
|
/** @description The tag key to collapse values for. */
|
|
6175
6425
|
key: string;
|
|
6176
|
-
/** @description
|
|
6426
|
+
/** @description Provider-only scope for this collapsed tag key. Invalid when filter is set; include provider restrictions in filter instead. Defaults to all providers. */
|
|
6177
6427
|
providers?: string[];
|
|
6428
|
+
/** @description The VQL filter this collapsed tag key applies to. When set, do not also set providers; include any provider restrictions directly in filter. */
|
|
6429
|
+
filter?: string;
|
|
6178
6430
|
}[];
|
|
6179
6431
|
/** @description Values for the VirtualTagConfig, with match precedence determined by order in the list. */
|
|
6180
6432
|
values?: {
|
|
@@ -6184,6 +6436,15 @@ interface components {
|
|
|
6184
6436
|
name?: string;
|
|
6185
6437
|
/** @description The token of an associated business metric. */
|
|
6186
6438
|
business_metric_token?: string;
|
|
6439
|
+
/** @description The display name for an allocation value (cost_metric or percentages). Invalid when name is set. */
|
|
6440
|
+
display_name?: string;
|
|
6441
|
+
label_transforms?: {
|
|
6442
|
+
type: string;
|
|
6443
|
+
delimiter?: string | null;
|
|
6444
|
+
/** Format: int32 */
|
|
6445
|
+
index?: number | null;
|
|
6446
|
+
template?: string | null;
|
|
6447
|
+
}[];
|
|
6187
6448
|
cost_metric?: {
|
|
6188
6449
|
filter: string;
|
|
6189
6450
|
aggregation: {
|
|
@@ -6219,8 +6480,10 @@ interface components {
|
|
|
6219
6480
|
collapsed_tag_keys?: {
|
|
6220
6481
|
/** @description The tag key to collapse values for. */
|
|
6221
6482
|
key: string;
|
|
6222
|
-
/** @description
|
|
6483
|
+
/** @description Provider-only scope for this collapsed tag key. Invalid when filter is set; include provider restrictions in filter instead. Defaults to all providers. */
|
|
6223
6484
|
providers?: string[];
|
|
6485
|
+
/** @description The VQL filter this collapsed tag key applies to. When set, do not also set providers; include any provider restrictions directly in filter. */
|
|
6486
|
+
filter?: string;
|
|
6224
6487
|
}[];
|
|
6225
6488
|
/** @description Values for the VirtualTagConfig, with match precedence determined by order in the list. */
|
|
6226
6489
|
values?: {
|
|
@@ -6230,6 +6493,15 @@ interface components {
|
|
|
6230
6493
|
name?: string;
|
|
6231
6494
|
/** @description The token of an associated business metric. */
|
|
6232
6495
|
business_metric_token?: string;
|
|
6496
|
+
/** @description The display name for an allocation value (cost_metric or percentages). Invalid when name is set. */
|
|
6497
|
+
display_name?: string;
|
|
6498
|
+
label_transforms?: {
|
|
6499
|
+
type: string;
|
|
6500
|
+
delimiter?: string | null;
|
|
6501
|
+
/** Format: int32 */
|
|
6502
|
+
index?: number | null;
|
|
6503
|
+
template?: string | null;
|
|
6504
|
+
}[];
|
|
6233
6505
|
cost_metric?: {
|
|
6234
6506
|
filter: string;
|
|
6235
6507
|
aggregation: {
|
|
@@ -6250,6 +6522,19 @@ interface components {
|
|
|
6250
6522
|
}[];
|
|
6251
6523
|
}[];
|
|
6252
6524
|
};
|
|
6525
|
+
/** @description AsyncVirtualTagConfigUpdate model */
|
|
6526
|
+
AsyncVirtualTagConfigUpdate: {
|
|
6527
|
+
/**
|
|
6528
|
+
* @description The request ID of the async virtual tag config update.
|
|
6529
|
+
* @example 550e8400-e29b-41d4-a716-446655440000
|
|
6530
|
+
*/
|
|
6531
|
+
request_id: string;
|
|
6532
|
+
/**
|
|
6533
|
+
* @description The status path of the async virtual tag config update.
|
|
6534
|
+
* @example /v2/virtual_tag_configs/async/550e8400-e29b-41d4-a716-446655440000
|
|
6535
|
+
*/
|
|
6536
|
+
status_url: string;
|
|
6537
|
+
};
|
|
6253
6538
|
/** @description Asynchronously updates an existing VirtualTagConfig. */
|
|
6254
6539
|
updateAsyncVirtualTagConfig: {
|
|
6255
6540
|
/** @description The key of the VirtualTagConfig. */
|
|
@@ -6265,8 +6550,10 @@ interface components {
|
|
|
6265
6550
|
collapsed_tag_keys?: {
|
|
6266
6551
|
/** @description The tag key to collapse values for. */
|
|
6267
6552
|
key: string;
|
|
6268
|
-
/** @description
|
|
6553
|
+
/** @description Provider-only scope for this collapsed tag key. Invalid when filter is set; include provider restrictions in filter instead. Defaults to all providers. */
|
|
6269
6554
|
providers?: string[];
|
|
6555
|
+
/** @description The VQL filter this collapsed tag key applies to. When set, do not also set providers; include any provider restrictions directly in filter. */
|
|
6556
|
+
filter?: string;
|
|
6270
6557
|
}[];
|
|
6271
6558
|
/** @description Values for the VirtualTagConfig, with match precedence determined by order in the list. */
|
|
6272
6559
|
values?: {
|
|
@@ -6276,6 +6563,15 @@ interface components {
|
|
|
6276
6563
|
name?: string;
|
|
6277
6564
|
/** @description The token of an associated business metric. */
|
|
6278
6565
|
business_metric_token?: string;
|
|
6566
|
+
/** @description The display name for an allocation value (cost_metric or percentages). Invalid when name is set. */
|
|
6567
|
+
display_name?: string;
|
|
6568
|
+
label_transforms?: {
|
|
6569
|
+
type: string;
|
|
6570
|
+
delimiter?: string | null;
|
|
6571
|
+
/** Format: int32 */
|
|
6572
|
+
index?: number | null;
|
|
6573
|
+
template?: string | null;
|
|
6574
|
+
}[];
|
|
6279
6575
|
cost_metric?: {
|
|
6280
6576
|
filter: string;
|
|
6281
6577
|
aggregation: {
|
|
@@ -7032,7 +7328,7 @@ interface operations {
|
|
|
7032
7328
|
query?: {
|
|
7033
7329
|
/** @description The page of results to return. */
|
|
7034
7330
|
page?: number;
|
|
7035
|
-
/** @description The amount of results to return. The maximum is
|
|
7331
|
+
/** @description The amount of results to return. Defaults to 100. The maximum is 5000. */
|
|
7036
7332
|
limit?: number;
|
|
7037
7333
|
/** @description Filter by personal or service API token that performed the action. */
|
|
7038
7334
|
user?: number;
|
|
@@ -7045,7 +7341,7 @@ interface operations {
|
|
|
7045
7341
|
/** @description Filter by source. */
|
|
7046
7342
|
source?: "console" | "api" | "finops_agent";
|
|
7047
7343
|
/** @description Filter by object type. */
|
|
7048
|
-
object_type?: "virtual_tag" | "cost_report" | "recommendation_commitment";
|
|
7344
|
+
object_type?: "virtual_tag" | "cost_report" | "recommendation_commitment" | "segment";
|
|
7049
7345
|
/** @description Filter by audit log token. */
|
|
7050
7346
|
token?: string;
|
|
7051
7347
|
/** @description Filter by object token (auditable_token). */
|
|
@@ -7152,17 +7448,12 @@ interface operations {
|
|
|
7152
7448
|
* }
|
|
7153
7449
|
* }
|
|
7154
7450
|
* ],
|
|
7155
|
-
* "
|
|
7156
|
-
* "self": "/v2/audit_logs?page=1
|
|
7157
|
-
* "first": "/v2/audit_logs?page=1
|
|
7158
|
-
* "next": "/v2/audit_logs?page=2
|
|
7159
|
-
* "last": "/v2/audit_logs?page=
|
|
7451
|
+
* "links": {
|
|
7452
|
+
* "self": "/v2/audit_logs?page=1",
|
|
7453
|
+
* "first": "/v2/audit_logs?page=1",
|
|
7454
|
+
* "next": "/v2/audit_logs?page=2",
|
|
7455
|
+
* "last": "/v2/audit_logs?page=3",
|
|
7160
7456
|
* "prev": null
|
|
7161
|
-
* },
|
|
7162
|
-
* "_meta": {
|
|
7163
|
-
* "total_count": 248,
|
|
7164
|
-
* "per_page": 25,
|
|
7165
|
-
* "page": 1
|
|
7166
7457
|
* }
|
|
7167
7458
|
* }
|
|
7168
7459
|
*/
|
|
@@ -8486,6 +8777,68 @@ interface operations {
|
|
|
8486
8777
|
};
|
|
8487
8778
|
};
|
|
8488
8779
|
};
|
|
8780
|
+
deleteBusinessMetricValues: {
|
|
8781
|
+
parameters: {
|
|
8782
|
+
query?: {
|
|
8783
|
+
/** @description Inclusive lower bound (ISO 8601 date or datetime, UTC). Date-only values start at 00:00:00 UTC that day. */
|
|
8784
|
+
start_date?: string;
|
|
8785
|
+
/** @description Inclusive upper bound (ISO 8601 date or datetime, UTC). Date-only values include the full calendar day through 23:59:59.999999999 UTC. */
|
|
8786
|
+
end_date?: string;
|
|
8787
|
+
/** @description When present in the query string (including as an empty value), only unit metrics with this exact label are deleted. Omit the parameter to delete all labels in range. */
|
|
8788
|
+
label?: string;
|
|
8789
|
+
/** @description When true, deletes forecasted unit metrics instead of historical ones. */
|
|
8790
|
+
forecasted?: boolean;
|
|
8791
|
+
};
|
|
8792
|
+
header?: never;
|
|
8793
|
+
path: {
|
|
8794
|
+
business_metric_token: string;
|
|
8795
|
+
};
|
|
8796
|
+
cookie?: never;
|
|
8797
|
+
};
|
|
8798
|
+
requestBody?: never;
|
|
8799
|
+
responses: {
|
|
8800
|
+
200: {
|
|
8801
|
+
headers: {
|
|
8802
|
+
[name: string]: unknown;
|
|
8803
|
+
};
|
|
8804
|
+
content: {
|
|
8805
|
+
/**
|
|
8806
|
+
* @example {
|
|
8807
|
+
* "deleted_count": 120
|
|
8808
|
+
* }
|
|
8809
|
+
*/
|
|
8810
|
+
"application/json": components["schemas"]["BusinessMetricValuesDeleteResponse"];
|
|
8811
|
+
};
|
|
8812
|
+
};
|
|
8813
|
+
/** @description Forbidden */
|
|
8814
|
+
403: {
|
|
8815
|
+
headers: {
|
|
8816
|
+
[name: string]: unknown;
|
|
8817
|
+
};
|
|
8818
|
+
content: {
|
|
8819
|
+
"application/json": components["schemas"]["Errors"];
|
|
8820
|
+
};
|
|
8821
|
+
};
|
|
8822
|
+
/** @description NotFound */
|
|
8823
|
+
404: {
|
|
8824
|
+
headers: {
|
|
8825
|
+
[name: string]: unknown;
|
|
8826
|
+
};
|
|
8827
|
+
content: {
|
|
8828
|
+
"application/json": components["schemas"]["Errors"];
|
|
8829
|
+
};
|
|
8830
|
+
};
|
|
8831
|
+
/** @description UnprocessableEntity */
|
|
8832
|
+
422: {
|
|
8833
|
+
headers: {
|
|
8834
|
+
[name: string]: unknown;
|
|
8835
|
+
};
|
|
8836
|
+
content: {
|
|
8837
|
+
"application/json": components["schemas"]["Errors"];
|
|
8838
|
+
};
|
|
8839
|
+
};
|
|
8840
|
+
};
|
|
8841
|
+
};
|
|
8489
8842
|
getBusinessMetricForecastedValues: {
|
|
8490
8843
|
parameters: {
|
|
8491
8844
|
query?: {
|
|
@@ -8990,13 +9343,36 @@ interface operations {
|
|
|
8990
9343
|
};
|
|
8991
9344
|
};
|
|
8992
9345
|
};
|
|
9346
|
+
getCostProviders: {
|
|
9347
|
+
parameters: {
|
|
9348
|
+
query?: {
|
|
9349
|
+
/** @description The token of the Workspace to list CostProviders for. Required if the API token is associated with multiple Workspaces. */
|
|
9350
|
+
workspace_token?: string;
|
|
9351
|
+
};
|
|
9352
|
+
header?: never;
|
|
9353
|
+
path?: never;
|
|
9354
|
+
cookie?: never;
|
|
9355
|
+
};
|
|
9356
|
+
requestBody?: never;
|
|
9357
|
+
responses: {
|
|
9358
|
+
/** @description List of connected CostProviders. */
|
|
9359
|
+
200: {
|
|
9360
|
+
headers: {
|
|
9361
|
+
[name: string]: unknown;
|
|
9362
|
+
};
|
|
9363
|
+
content: {
|
|
9364
|
+
"application/json": components["schemas"]["CostProviders"];
|
|
9365
|
+
};
|
|
9366
|
+
};
|
|
9367
|
+
};
|
|
9368
|
+
};
|
|
8993
9369
|
getCostProviderAccounts: {
|
|
8994
9370
|
parameters: {
|
|
8995
9371
|
query?: {
|
|
8996
9372
|
/** @description The token of the Workspace to list CostProviderAccounts for. Required if the API token is associated with multiple Workspaces. */
|
|
8997
9373
|
workspace_token?: string;
|
|
8998
9374
|
/** @description Filter by provider type. */
|
|
8999
|
-
provider?: "aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel";
|
|
9375
|
+
provider?: "aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel" | "redis_cloud" | "circle_ci";
|
|
9000
9376
|
/** @description Filter by provider account identifier. */
|
|
9001
9377
|
account_id?: string;
|
|
9002
9378
|
/** @description Filter by account name (exact match). */
|
|
@@ -9404,7 +9780,7 @@ interface operations {
|
|
|
9404
9780
|
/** @description Last date you would like to filter forecasted costs from. ISO 8601 formatted. */
|
|
9405
9781
|
end_date?: string;
|
|
9406
9782
|
/** @description Limit the forecasted costs to a specific provider. 'all' is accepted to filter to overall forecast. */
|
|
9407
|
-
provider?: "aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel" | "all";
|
|
9783
|
+
provider?: "aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel" | "redis_cloud" | "circle_ci" | "all";
|
|
9408
9784
|
/** @description Limit the forecasted costs to a specific service. 'all' is accepted to filter to overall forecast. e.g. 'Amazon ElastiCache'. */
|
|
9409
9785
|
service?: string;
|
|
9410
9786
|
/** @description The page of results to return. */
|
|
@@ -9500,10 +9876,7 @@ interface operations {
|
|
|
9500
9876
|
};
|
|
9501
9877
|
createCostExport: {
|
|
9502
9878
|
parameters: {
|
|
9503
|
-
query?:
|
|
9504
|
-
/** @description Group the results by specific field(s). Defaults to provider, service, account_id. Valid groupings: account_id, billing_account_id, charge_type, cost_category, cost_subcategory, provider, region, resource_id, service, tagged, tag:<tag_value>. If providing multiple groupings, join as comma separated values: groupings=provider,service,region */
|
|
9505
|
-
groupings?: string[];
|
|
9506
|
-
};
|
|
9879
|
+
query?: never;
|
|
9507
9880
|
header?: never;
|
|
9508
9881
|
path?: never;
|
|
9509
9882
|
cookie?: never;
|
|
@@ -9572,7 +9945,7 @@ interface operations {
|
|
|
9572
9945
|
/** @description The page of results to return. */
|
|
9573
9946
|
page?: number;
|
|
9574
9947
|
/** @description The date bin of the costs. Defaults to the report's default or day. */
|
|
9575
|
-
date_bin?: "day" | "week" | "month" | "quarter";
|
|
9948
|
+
date_bin?: "day" | "week" | "month" | "quarter" | "hour";
|
|
9576
9949
|
/** @description Results will include credits. */
|
|
9577
9950
|
"settings[include_credits]"?: boolean;
|
|
9578
9951
|
/** @description Results will include refunds. */
|
|
@@ -9690,6 +10063,29 @@ interface operations {
|
|
|
9690
10063
|
};
|
|
9691
10064
|
};
|
|
9692
10065
|
};
|
|
10066
|
+
getCostServices: {
|
|
10067
|
+
parameters: {
|
|
10068
|
+
query?: {
|
|
10069
|
+
/** @description The token of the Workspace to list CostServices for. Required if the API token is associated with multiple Workspaces. */
|
|
10070
|
+
workspace_token?: string;
|
|
10071
|
+
};
|
|
10072
|
+
header?: never;
|
|
10073
|
+
path?: never;
|
|
10074
|
+
cookie?: never;
|
|
10075
|
+
};
|
|
10076
|
+
requestBody?: never;
|
|
10077
|
+
responses: {
|
|
10078
|
+
/** @description List of CostServices, used to query costs using VQL. */
|
|
10079
|
+
200: {
|
|
10080
|
+
headers: {
|
|
10081
|
+
[name: string]: unknown;
|
|
10082
|
+
};
|
|
10083
|
+
content: {
|
|
10084
|
+
"application/json": components["schemas"]["CostServices"];
|
|
10085
|
+
};
|
|
10086
|
+
};
|
|
10087
|
+
};
|
|
10088
|
+
};
|
|
9693
10089
|
getDashboards: {
|
|
9694
10090
|
parameters: {
|
|
9695
10091
|
query?: {
|
|
@@ -10492,6 +10888,8 @@ interface operations {
|
|
|
10492
10888
|
page?: number;
|
|
10493
10889
|
/** @description The amount of results to return. The maximum is 1000. */
|
|
10494
10890
|
limit?: number;
|
|
10891
|
+
/** @description Filter by folder type. */
|
|
10892
|
+
type?: "CostFolder" | "ProviderResourceFolder";
|
|
10495
10893
|
};
|
|
10496
10894
|
header?: never;
|
|
10497
10895
|
path?: never;
|
|
@@ -10707,7 +11105,7 @@ interface operations {
|
|
|
10707
11105
|
parameters: {
|
|
10708
11106
|
query?: {
|
|
10709
11107
|
/** @description Query by provider name to list all Integrations for a specific provider. */
|
|
10710
|
-
provider?: "aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel";
|
|
11108
|
+
provider?: "aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel" | "redis_cloud" | "circle_ci";
|
|
10711
11109
|
/** @description Query by account identifier to list all Integrations that match a specific account. For Azure, this is the subscription ID. Must include provider when using this parameter. */
|
|
10712
11110
|
account_identifier?: string;
|
|
10713
11111
|
/** @description The page of results to return. */
|
|
@@ -11044,7 +11442,8 @@ interface operations {
|
|
|
11044
11442
|
header?: never;
|
|
11045
11443
|
path: {
|
|
11046
11444
|
integration_token: string;
|
|
11047
|
-
|
|
11445
|
+
/** @description Token of the UserCostsUpload to delete. */
|
|
11446
|
+
user_costs_upload_token: string;
|
|
11048
11447
|
};
|
|
11049
11448
|
cookie?: never;
|
|
11050
11449
|
};
|
|
@@ -11312,7 +11711,9 @@ interface operations {
|
|
|
11312
11711
|
headers: {
|
|
11313
11712
|
[name: string]: unknown;
|
|
11314
11713
|
};
|
|
11315
|
-
content
|
|
11714
|
+
content: {
|
|
11715
|
+
"application/json": components["schemas"]["DownloadInvoice"];
|
|
11716
|
+
};
|
|
11316
11717
|
};
|
|
11317
11718
|
/** @description NotFound */
|
|
11318
11719
|
404: {
|
|
@@ -11579,7 +11980,7 @@ interface operations {
|
|
|
11579
11980
|
createKubernetesEfficiencyReportExport: {
|
|
11580
11981
|
parameters: {
|
|
11581
11982
|
query?: {
|
|
11582
|
-
/** @description Group the results by specific field(s). Valid groupings: cluster_id, namespace, labeled, category, pod, label, label:<label_name>. */
|
|
11983
|
+
/** @description Group the results by specific field(s). Valid groupings: cluster_id, namespace, region, labeled, category, pod, label, label:<label_name>. */
|
|
11583
11984
|
groupings?: string[];
|
|
11584
11985
|
};
|
|
11585
11986
|
header?: never;
|
|
@@ -12060,73 +12461,66 @@ interface operations {
|
|
|
12060
12461
|
};
|
|
12061
12462
|
};
|
|
12062
12463
|
};
|
|
12063
|
-
|
|
12464
|
+
deleteSsoConnectionForManagedAccount: {
|
|
12064
12465
|
parameters: {
|
|
12065
12466
|
query?: never;
|
|
12066
12467
|
header?: never;
|
|
12067
|
-
path
|
|
12468
|
+
path: {
|
|
12469
|
+
managed_account_token: string;
|
|
12470
|
+
};
|
|
12068
12471
|
cookie?: never;
|
|
12069
12472
|
};
|
|
12070
12473
|
requestBody?: never;
|
|
12071
12474
|
responses: {
|
|
12072
|
-
|
|
12073
|
-
200: {
|
|
12475
|
+
204: {
|
|
12074
12476
|
headers: {
|
|
12075
12477
|
[name: string]: unknown;
|
|
12076
12478
|
};
|
|
12077
12479
|
content: {
|
|
12078
|
-
"application/json": components["schemas"]["
|
|
12480
|
+
"application/json": components["schemas"]["ManagedAccount"];
|
|
12079
12481
|
};
|
|
12080
12482
|
};
|
|
12081
|
-
|
|
12082
|
-
|
|
12083
|
-
getCostProviders: {
|
|
12084
|
-
parameters: {
|
|
12085
|
-
query?: {
|
|
12086
|
-
/** @description The token of the Workspace to list CostProviders for. Required if the API token is associated with multiple Workspaces. */
|
|
12087
|
-
workspace_token?: string;
|
|
12088
|
-
};
|
|
12089
|
-
header?: never;
|
|
12090
|
-
path?: never;
|
|
12091
|
-
cookie?: never;
|
|
12092
|
-
};
|
|
12093
|
-
requestBody?: never;
|
|
12094
|
-
responses: {
|
|
12095
|
-
/** @description List of connected CostProviders. */
|
|
12096
|
-
200: {
|
|
12483
|
+
/** @description BadRequest */
|
|
12484
|
+
400: {
|
|
12097
12485
|
headers: {
|
|
12098
12486
|
[name: string]: unknown;
|
|
12099
12487
|
};
|
|
12100
12488
|
content: {
|
|
12101
|
-
"application/json": components["schemas"]["
|
|
12489
|
+
"application/json": components["schemas"]["Errors"];
|
|
12102
12490
|
};
|
|
12103
12491
|
};
|
|
12104
|
-
|
|
12105
|
-
|
|
12106
|
-
|
|
12107
|
-
|
|
12108
|
-
|
|
12109
|
-
|
|
12110
|
-
|
|
12492
|
+
/** @description NotFound */
|
|
12493
|
+
404: {
|
|
12494
|
+
headers: {
|
|
12495
|
+
[name: string]: unknown;
|
|
12496
|
+
};
|
|
12497
|
+
content: {
|
|
12498
|
+
"application/json": components["schemas"]["Errors"];
|
|
12499
|
+
};
|
|
12111
12500
|
};
|
|
12501
|
+
};
|
|
12502
|
+
};
|
|
12503
|
+
getMe: {
|
|
12504
|
+
parameters: {
|
|
12505
|
+
query?: never;
|
|
12112
12506
|
header?: never;
|
|
12113
12507
|
path?: never;
|
|
12114
12508
|
cookie?: never;
|
|
12115
12509
|
};
|
|
12116
12510
|
requestBody?: never;
|
|
12117
12511
|
responses: {
|
|
12118
|
-
/** @description
|
|
12512
|
+
/** @description General information about the user. */
|
|
12119
12513
|
200: {
|
|
12120
12514
|
headers: {
|
|
12121
12515
|
[name: string]: unknown;
|
|
12122
12516
|
};
|
|
12123
12517
|
content: {
|
|
12124
|
-
"application/json": components["schemas"]["
|
|
12518
|
+
"application/json": components["schemas"]["Me"];
|
|
12125
12519
|
};
|
|
12126
12520
|
};
|
|
12127
12521
|
};
|
|
12128
12522
|
};
|
|
12129
|
-
|
|
12523
|
+
updateMe: {
|
|
12130
12524
|
parameters: {
|
|
12131
12525
|
query?: never;
|
|
12132
12526
|
header?: never;
|
|
@@ -12135,26 +12529,16 @@ interface operations {
|
|
|
12135
12529
|
};
|
|
12136
12530
|
requestBody: {
|
|
12137
12531
|
content: {
|
|
12138
|
-
"application/json": components["schemas"]["
|
|
12532
|
+
"application/json": components["schemas"]["updateMe"];
|
|
12139
12533
|
};
|
|
12140
12534
|
};
|
|
12141
12535
|
responses: {
|
|
12142
|
-
|
|
12143
|
-
201: {
|
|
12144
|
-
headers: {
|
|
12145
|
-
[name: string]: unknown;
|
|
12146
|
-
};
|
|
12147
|
-
content: {
|
|
12148
|
-
"application/json": components["schemas"]["UserFeedback"];
|
|
12149
|
-
};
|
|
12150
|
-
};
|
|
12151
|
-
/** @description BadRequest */
|
|
12152
|
-
400: {
|
|
12536
|
+
200: {
|
|
12153
12537
|
headers: {
|
|
12154
12538
|
[name: string]: unknown;
|
|
12155
12539
|
};
|
|
12156
12540
|
content: {
|
|
12157
|
-
"application/json": components["schemas"]["
|
|
12541
|
+
"application/json": components["schemas"]["Me"];
|
|
12158
12542
|
};
|
|
12159
12543
|
};
|
|
12160
12544
|
/** @description UnprocessableEntity */
|
|
@@ -12415,6 +12799,24 @@ interface operations {
|
|
|
12415
12799
|
};
|
|
12416
12800
|
};
|
|
12417
12801
|
};
|
|
12802
|
+
ping: {
|
|
12803
|
+
parameters: {
|
|
12804
|
+
query?: never;
|
|
12805
|
+
header?: never;
|
|
12806
|
+
path?: never;
|
|
12807
|
+
cookie?: never;
|
|
12808
|
+
};
|
|
12809
|
+
requestBody?: never;
|
|
12810
|
+
responses: {
|
|
12811
|
+
/** @description This is a health check endpoint that can be used to determine Vantage API healthiness. It will return 200 if everything is running smoothly. */
|
|
12812
|
+
200: {
|
|
12813
|
+
headers: {
|
|
12814
|
+
[name: string]: unknown;
|
|
12815
|
+
};
|
|
12816
|
+
content?: never;
|
|
12817
|
+
};
|
|
12818
|
+
};
|
|
12819
|
+
};
|
|
12418
12820
|
getPrices: {
|
|
12419
12821
|
parameters: {
|
|
12420
12822
|
query?: {
|
|
@@ -12679,6 +13081,8 @@ interface operations {
|
|
|
12679
13081
|
end_date?: string;
|
|
12680
13082
|
/** @description Filter by status. */
|
|
12681
13083
|
status?: "active" | "archived";
|
|
13084
|
+
/** @description Filter by recommendations whose potential savings are greater than or equal to this amount, in the workspace's currency. Requires workspace_token. */
|
|
13085
|
+
min_savings?: number;
|
|
12682
13086
|
/** @description The page of results to return. */
|
|
12683
13087
|
page?: number;
|
|
12684
13088
|
/** @description The number of results to return. The maximum is 1000. */
|
|
@@ -12723,6 +13127,7 @@ interface operations {
|
|
|
12723
13127
|
* "provider": "aws",
|
|
12724
13128
|
* "provider_account_id": "123456789012",
|
|
12725
13129
|
* "description": "IP address is not attached to an instance.",
|
|
13130
|
+
* "documentation_url": "https://handbook.vantage.sh/aws/services/ec2-other-pricing/#stranded-resources",
|
|
12726
13131
|
* "potential_savings": "100.0",
|
|
12727
13132
|
* "service": "AWS IP",
|
|
12728
13133
|
* "created_at": "2026-01-28T16:53:32Z",
|
|
@@ -12763,6 +13168,7 @@ interface operations {
|
|
|
12763
13168
|
* "provider": "aws",
|
|
12764
13169
|
* "provider_account_id": "123456789012",
|
|
12765
13170
|
* "description": "IP address is not attached to an instance.",
|
|
13171
|
+
* "documentation_url": "https://handbook.vantage.sh/aws/services/ec2-other-pricing/#stranded-resources",
|
|
12766
13172
|
* "potential_savings": "100.0",
|
|
12767
13173
|
* "service": "AWS IP",
|
|
12768
13174
|
* "created_at": "2026-01-28T16:53:23Z",
|
|
@@ -12790,7 +13196,7 @@ interface operations {
|
|
|
12790
13196
|
query?: {
|
|
12791
13197
|
/** @description The page of results to return. */
|
|
12792
13198
|
page?: number;
|
|
12793
|
-
/** @description The number of results to return. The maximum is
|
|
13199
|
+
/** @description The number of results to return. Defaults to 25. The maximum is 500. */
|
|
12794
13200
|
limit?: number;
|
|
12795
13201
|
};
|
|
12796
13202
|
header?: never;
|
|
@@ -12869,7 +13275,7 @@ interface operations {
|
|
|
12869
13275
|
* ]
|
|
12870
13276
|
* }
|
|
12871
13277
|
*/
|
|
12872
|
-
"application/json": components["schemas"]["
|
|
13278
|
+
"application/json": components["schemas"]["RecommendationProviderResource"];
|
|
12873
13279
|
};
|
|
12874
13280
|
};
|
|
12875
13281
|
/** @description NotFound */
|
|
@@ -12904,6 +13310,8 @@ interface operations {
|
|
|
12904
13310
|
end_date?: string;
|
|
12905
13311
|
/** @description Filter by status. */
|
|
12906
13312
|
status?: "active" | "archived";
|
|
13313
|
+
/** @description Filter by recommendations whose potential savings are greater than or equal to this amount, in the workspace's currency. Requires workspace_token. */
|
|
13314
|
+
min_savings?: number;
|
|
12907
13315
|
/** @description The page of results to return. */
|
|
12908
13316
|
page?: number;
|
|
12909
13317
|
/** @description The number of results to return. The maximum is 1000. */
|
|
@@ -14535,7 +14943,7 @@ interface operations {
|
|
|
14535
14943
|
parameters: {
|
|
14536
14944
|
query?: {
|
|
14537
14945
|
/** @description An array of providers to scope Tags by. */
|
|
14538
|
-
providers?: ("aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel")[];
|
|
14946
|
+
providers?: ("aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel" | "redis_cloud" | "circle_ci")[];
|
|
14539
14947
|
/** @description A search query to filter Tags by tag key. */
|
|
14540
14948
|
search_query?: string;
|
|
14541
14949
|
/** @description The direction in which you would like to sort the data by. Defaults to 'asc'. */
|
|
@@ -14558,23 +14966,32 @@ interface operations {
|
|
|
14558
14966
|
content: {
|
|
14559
14967
|
/**
|
|
14560
14968
|
* @example {
|
|
14969
|
+
* "links": {
|
|
14970
|
+
* "self": "https://api.vantage.sh/v2/tags",
|
|
14971
|
+
* "first": "https://api.vantage.sh/v2/tags?page=1",
|
|
14972
|
+
* "next": null,
|
|
14973
|
+
* "last": null,
|
|
14974
|
+
* "prev": null
|
|
14975
|
+
* },
|
|
14561
14976
|
* "tags": [
|
|
14562
14977
|
* {
|
|
14563
14978
|
* "tag_key": "app",
|
|
14564
14979
|
* "hidden": false,
|
|
14980
|
+
* "preferred": false,
|
|
14565
14981
|
* "providers": [
|
|
14566
14982
|
* "aws",
|
|
14567
14983
|
* "azure",
|
|
14568
|
-
* "custom_provider:
|
|
14984
|
+
* "custom_provider:accss_crdntl_ef89becbcf119a74"
|
|
14569
14985
|
* ]
|
|
14570
14986
|
* },
|
|
14571
14987
|
* {
|
|
14572
14988
|
* "tag_key": "environment",
|
|
14573
14989
|
* "hidden": false,
|
|
14990
|
+
* "preferred": false,
|
|
14574
14991
|
* "providers": [
|
|
14575
14992
|
* "aws",
|
|
14576
14993
|
* "azure",
|
|
14577
|
-
* "custom_provider:
|
|
14994
|
+
* "custom_provider:accss_crdntl_ef89becbcf119a74"
|
|
14578
14995
|
* ]
|
|
14579
14996
|
* }
|
|
14580
14997
|
* ]
|
|
@@ -14609,10 +15026,11 @@ interface operations {
|
|
|
14609
15026
|
* {
|
|
14610
15027
|
* "tag_key": "app",
|
|
14611
15028
|
* "hidden": true,
|
|
15029
|
+
* "preferred": false,
|
|
14612
15030
|
* "providers": [
|
|
14613
15031
|
* "aws",
|
|
14614
15032
|
* "azure",
|
|
14615
|
-
* "custom_provider:
|
|
15033
|
+
* "custom_provider:accss_crdntl_6d2b7b71244943a1"
|
|
14616
15034
|
* ]
|
|
14617
15035
|
* }
|
|
14618
15036
|
* ]
|
|
@@ -14663,7 +15081,7 @@ interface operations {
|
|
|
14663
15081
|
parameters: {
|
|
14664
15082
|
query?: {
|
|
14665
15083
|
/** @description An array of providers to scope TagValues by. */
|
|
14666
|
-
providers?: ("aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel")[];
|
|
15084
|
+
providers?: ("aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel" | "redis_cloud" | "circle_ci")[];
|
|
14667
15085
|
/** @description The direction in which to sort the TagValues. Defaults to 'asc'. */
|
|
14668
15086
|
sort_direction?: "asc" | "desc";
|
|
14669
15087
|
/** @description A search query to filter TagValues by the value name. */
|
|
@@ -14690,11 +15108,11 @@ interface operations {
|
|
|
14690
15108
|
/**
|
|
14691
15109
|
* @example {
|
|
14692
15110
|
* "links": {
|
|
14693
|
-
* "
|
|
14694
|
-
* "
|
|
14695
|
-
* "
|
|
14696
|
-
* "
|
|
14697
|
-
* "
|
|
15111
|
+
* "self": "https://api.vantage.sh/v2/tags/environment/values?sort_column=tag_value&sort_direction=asc",
|
|
15112
|
+
* "first": "https://api.vantage.sh/v2/tags/environment/values?sort_column=tag_value&sort_direction=asc&page=1",
|
|
15113
|
+
* "next": null,
|
|
15114
|
+
* "last": null,
|
|
15115
|
+
* "prev": null
|
|
14698
15116
|
* },
|
|
14699
15117
|
* "tag_values": [
|
|
14700
15118
|
* {
|
|
@@ -14702,7 +15120,7 @@ interface operations {
|
|
|
14702
15120
|
* "providers": [
|
|
14703
15121
|
* "aws",
|
|
14704
15122
|
* "azure",
|
|
14705
|
-
* "custom_provider:
|
|
15123
|
+
* "custom_provider:accss_crdntl_b180279f14faa5b7"
|
|
14706
15124
|
* ]
|
|
14707
15125
|
* },
|
|
14708
15126
|
* {
|
|
@@ -14710,7 +15128,7 @@ interface operations {
|
|
|
14710
15128
|
* "providers": [
|
|
14711
15129
|
* "aws",
|
|
14712
15130
|
* "azure",
|
|
14713
|
-
* "custom_provider:
|
|
15131
|
+
* "custom_provider:accss_crdntl_b180279f14faa5b7"
|
|
14714
15132
|
* ]
|
|
14715
15133
|
* }
|
|
14716
15134
|
* ]
|
|
@@ -14768,7 +15186,8 @@ interface operations {
|
|
|
14768
15186
|
* ],
|
|
14769
15187
|
* "user_tokens": [
|
|
14770
15188
|
* "usr_c59398553e838116"
|
|
14771
|
-
* ]
|
|
15189
|
+
* ],
|
|
15190
|
+
* "default_dashboard_token": null
|
|
14772
15191
|
* }
|
|
14773
15192
|
* ]
|
|
14774
15193
|
* }
|
|
@@ -14806,7 +15225,8 @@ interface operations {
|
|
|
14806
15225
|
* ],
|
|
14807
15226
|
* "user_tokens": [
|
|
14808
15227
|
* "usr_a00e614b5843c234"
|
|
14809
|
-
* ]
|
|
15228
|
+
* ],
|
|
15229
|
+
* "default_dashboard_token": null
|
|
14810
15230
|
* }
|
|
14811
15231
|
*/
|
|
14812
15232
|
"application/json": components["schemas"]["Team"];
|
|
@@ -14876,7 +15296,8 @@ interface operations {
|
|
|
14876
15296
|
* ],
|
|
14877
15297
|
* "user_tokens": [
|
|
14878
15298
|
* "usr_7c309915e847cfc6"
|
|
14879
|
-
* ]
|
|
15299
|
+
* ],
|
|
15300
|
+
* "default_dashboard_token": null
|
|
14880
15301
|
* }
|
|
14881
15302
|
*/
|
|
14882
15303
|
"application/json": components["schemas"]["Team"];
|
|
@@ -14923,7 +15344,8 @@ interface operations {
|
|
|
14923
15344
|
* ],
|
|
14924
15345
|
* "user_tokens": [
|
|
14925
15346
|
* "usr_d268561e520c7aac"
|
|
14926
|
-
* ]
|
|
15347
|
+
* ],
|
|
15348
|
+
* "default_dashboard_token": null
|
|
14927
15349
|
* }
|
|
14928
15350
|
*/
|
|
14929
15351
|
"application/json": components["schemas"]["Team"];
|
|
@@ -15259,7 +15681,7 @@ interface operations {
|
|
|
15259
15681
|
/** @description Last date you would like to filter unit costs to. Defaults to the report's default. ISO 8601 formatted. */
|
|
15260
15682
|
end_date?: string;
|
|
15261
15683
|
/** @description The date bin of the unit costs. Defaults to the report's default or day. */
|
|
15262
|
-
date_bin?: "day" | "week" | "month" | "quarter";
|
|
15684
|
+
date_bin?: "day" | "week" | "month" | "quarter" | "hour";
|
|
15263
15685
|
/** @description Whether to order unit costs by date in an ascending or descending manner. */
|
|
15264
15686
|
order?: "asc" | "desc";
|
|
15265
15687
|
/** @description The amount of results to return. The maximum is 1000. */
|
|
@@ -15363,6 +15785,48 @@ interface operations {
|
|
|
15363
15785
|
};
|
|
15364
15786
|
};
|
|
15365
15787
|
};
|
|
15788
|
+
createUserFeedback: {
|
|
15789
|
+
parameters: {
|
|
15790
|
+
query?: never;
|
|
15791
|
+
header?: never;
|
|
15792
|
+
path?: never;
|
|
15793
|
+
cookie?: never;
|
|
15794
|
+
};
|
|
15795
|
+
requestBody: {
|
|
15796
|
+
content: {
|
|
15797
|
+
"application/json": components["schemas"]["createUserFeedback"];
|
|
15798
|
+
};
|
|
15799
|
+
};
|
|
15800
|
+
responses: {
|
|
15801
|
+
/** @description Provide UserFeedback for our product and features. */
|
|
15802
|
+
201: {
|
|
15803
|
+
headers: {
|
|
15804
|
+
[name: string]: unknown;
|
|
15805
|
+
};
|
|
15806
|
+
content: {
|
|
15807
|
+
"application/json": components["schemas"]["UserFeedback"];
|
|
15808
|
+
};
|
|
15809
|
+
};
|
|
15810
|
+
/** @description BadRequest */
|
|
15811
|
+
400: {
|
|
15812
|
+
headers: {
|
|
15813
|
+
[name: string]: unknown;
|
|
15814
|
+
};
|
|
15815
|
+
content: {
|
|
15816
|
+
"application/json": components["schemas"]["Errors"];
|
|
15817
|
+
};
|
|
15818
|
+
};
|
|
15819
|
+
/** @description UnprocessableEntity */
|
|
15820
|
+
422: {
|
|
15821
|
+
headers: {
|
|
15822
|
+
[name: string]: unknown;
|
|
15823
|
+
};
|
|
15824
|
+
content: {
|
|
15825
|
+
"application/json": components["schemas"]["Errors"];
|
|
15826
|
+
};
|
|
15827
|
+
};
|
|
15828
|
+
};
|
|
15829
|
+
};
|
|
15366
15830
|
getUsers: {
|
|
15367
15831
|
parameters: {
|
|
15368
15832
|
query?: {
|
|
@@ -15462,6 +15926,49 @@ interface operations {
|
|
|
15462
15926
|
};
|
|
15463
15927
|
};
|
|
15464
15928
|
};
|
|
15929
|
+
updateUser: {
|
|
15930
|
+
parameters: {
|
|
15931
|
+
query?: never;
|
|
15932
|
+
header?: never;
|
|
15933
|
+
path: {
|
|
15934
|
+
user_token: string;
|
|
15935
|
+
};
|
|
15936
|
+
cookie?: never;
|
|
15937
|
+
};
|
|
15938
|
+
requestBody: {
|
|
15939
|
+
content: {
|
|
15940
|
+
"application/json": components["schemas"]["updateUser"];
|
|
15941
|
+
};
|
|
15942
|
+
};
|
|
15943
|
+
responses: {
|
|
15944
|
+
200: {
|
|
15945
|
+
headers: {
|
|
15946
|
+
[name: string]: unknown;
|
|
15947
|
+
};
|
|
15948
|
+
content: {
|
|
15949
|
+
"application/json": components["schemas"]["User"];
|
|
15950
|
+
};
|
|
15951
|
+
};
|
|
15952
|
+
/** @description NotFound */
|
|
15953
|
+
404: {
|
|
15954
|
+
headers: {
|
|
15955
|
+
[name: string]: unknown;
|
|
15956
|
+
};
|
|
15957
|
+
content: {
|
|
15958
|
+
"application/json": components["schemas"]["Errors"];
|
|
15959
|
+
};
|
|
15960
|
+
};
|
|
15961
|
+
/** @description UnprocessableEntity */
|
|
15962
|
+
422: {
|
|
15963
|
+
headers: {
|
|
15964
|
+
[name: string]: unknown;
|
|
15965
|
+
};
|
|
15966
|
+
content: {
|
|
15967
|
+
"application/json": components["schemas"]["Errors"];
|
|
15968
|
+
};
|
|
15969
|
+
};
|
|
15970
|
+
};
|
|
15971
|
+
};
|
|
15465
15972
|
getVirtualTagConfigs: {
|
|
15466
15973
|
parameters: {
|
|
15467
15974
|
query?: never;
|
|
@@ -15485,18 +15992,28 @@ interface operations {
|
|
|
15485
15992
|
* "key": "Product Team",
|
|
15486
15993
|
* "overridable": false,
|
|
15487
15994
|
* "backfill_until": "2025-12-01",
|
|
15995
|
+
* "collapsed_tag_keys": [],
|
|
15488
15996
|
* "values": [
|
|
15489
15997
|
* {
|
|
15490
15998
|
* "filter": "(costs.provider = 'aws' AND costs.service = 'Amazon Elastic Compute Cloud' AND costs.account_id IN ('1234', '5678'))",
|
|
15491
|
-
* "name": "Growth"
|
|
15999
|
+
* "name": "Growth",
|
|
16000
|
+
* "label_transforms": [],
|
|
16001
|
+
* "percentages": [],
|
|
16002
|
+
* "date_ranges": []
|
|
15492
16003
|
* },
|
|
15493
16004
|
* {
|
|
15494
16005
|
* "filter": "(costs.provider = 'aws' AND costs.account_id IN ('1234', '5678')) OR (costs.provider = 'gcp' AND costs.service = 'Google Compute Engine')",
|
|
15495
|
-
* "name": "API"
|
|
16006
|
+
* "name": "API",
|
|
16007
|
+
* "label_transforms": [],
|
|
16008
|
+
* "percentages": [],
|
|
16009
|
+
* "date_ranges": []
|
|
15496
16010
|
* },
|
|
15497
16011
|
* {
|
|
15498
16012
|
* "filter": "(costs.provider = 'aws' AND costs.service = 'AmazonEC2')",
|
|
15499
|
-
* "business_metric_token": "bsnss_mtrc_60e1ffb95a9a00f0"
|
|
16013
|
+
* "business_metric_token": "bsnss_mtrc_60e1ffb95a9a00f0",
|
|
16014
|
+
* "label_transforms": [],
|
|
16015
|
+
* "percentages": [],
|
|
16016
|
+
* "date_ranges": []
|
|
15500
16017
|
* },
|
|
15501
16018
|
* {
|
|
15502
16019
|
* "filter": "(costs.provider = 'aws' AND costs.service != 'Amazon Elastic Compute Cloud')",
|
|
@@ -15505,10 +16022,14 @@ interface operations {
|
|
|
15505
16022
|
* "aggregation": {
|
|
15506
16023
|
* "tag": "aws:CreatedBy"
|
|
15507
16024
|
* }
|
|
15508
|
-
* }
|
|
16025
|
+
* },
|
|
16026
|
+
* "label_transforms": [],
|
|
16027
|
+
* "percentages": [],
|
|
16028
|
+
* "date_ranges": []
|
|
15509
16029
|
* },
|
|
15510
16030
|
* {
|
|
15511
16031
|
* "filter": "(costs.provider = 'azure' AND costs.service = 'Azure Compute')",
|
|
16032
|
+
* "label_transforms": [],
|
|
15512
16033
|
* "percentages": [
|
|
15513
16034
|
* {
|
|
15514
16035
|
* "value": "apples-a",
|
|
@@ -15518,7 +16039,8 @@ interface operations {
|
|
|
15518
16039
|
* "value": "apples-b",
|
|
15519
16040
|
* "pct": 50
|
|
15520
16041
|
* }
|
|
15521
|
-
* ]
|
|
16042
|
+
* ],
|
|
16043
|
+
* "date_ranges": []
|
|
15522
16044
|
* }
|
|
15523
16045
|
* ]
|
|
15524
16046
|
* }
|
|
@@ -15555,10 +16077,13 @@ interface operations {
|
|
|
15555
16077
|
* "key": "Expense Code",
|
|
15556
16078
|
* "overridable": false,
|
|
15557
16079
|
* "backfill_until": "2024-07-01",
|
|
16080
|
+
* "collapsed_tag_keys": [],
|
|
15558
16081
|
* "values": [
|
|
15559
16082
|
* {
|
|
15560
16083
|
* "filter": "costs.provider = 'aws' AND\ncosts.service = 'Amazon Elastic Compute Cloud' AND\ncosts.account_id IN ('1234', '5678')\n",
|
|
15561
16084
|
* "name": "EXPC-1234",
|
|
16085
|
+
* "label_transforms": [],
|
|
16086
|
+
* "percentages": [],
|
|
15562
16087
|
* "date_ranges": [
|
|
15563
16088
|
* {
|
|
15564
16089
|
* "start_date": "2024-01-01",
|
|
@@ -15568,7 +16093,10 @@ interface operations {
|
|
|
15568
16093
|
* },
|
|
15569
16094
|
* {
|
|
15570
16095
|
* "filter": "(\n (costs.provider = 'aws' AND costs.account_id IN ('1234', '5678')) OR\n (costs.provider = 'gcp' AND costs.service = 'Google Compute Engine')\n)\n",
|
|
15571
|
-
* "name": "EXPC-9876"
|
|
16096
|
+
* "name": "EXPC-9876",
|
|
16097
|
+
* "label_transforms": [],
|
|
16098
|
+
* "percentages": [],
|
|
16099
|
+
* "date_ranges": []
|
|
15572
16100
|
* }
|
|
15573
16101
|
* ]
|
|
15574
16102
|
* }
|
|
@@ -15637,10 +16165,13 @@ interface operations {
|
|
|
15637
16165
|
* "key": "Product Team",
|
|
15638
16166
|
* "overridable": false,
|
|
15639
16167
|
* "backfill_until": "2024-07-01",
|
|
16168
|
+
* "collapsed_tag_keys": [],
|
|
15640
16169
|
* "values": [
|
|
15641
16170
|
* {
|
|
15642
16171
|
* "filter": "(costs.provider = 'aws' AND costs.service = 'Amazon Elastic Compute Cloud') AND (costs.provider = 'aws' AND costs.account_id IN ('1234', '5678'))",
|
|
15643
16172
|
* "name": "Growth",
|
|
16173
|
+
* "label_transforms": [],
|
|
16174
|
+
* "percentages": [],
|
|
15644
16175
|
* "date_ranges": [
|
|
15645
16176
|
* {
|
|
15646
16177
|
* "start_date": "2024-01-01",
|
|
@@ -15650,7 +16181,10 @@ interface operations {
|
|
|
15650
16181
|
* },
|
|
15651
16182
|
* {
|
|
15652
16183
|
* "filter": "(costs.provider = 'aws' AND costs.account_id IN ('1234', '5678')) OR (costs.provider = 'gcp' AND costs.service = 'Google Compute Engine')",
|
|
15653
|
-
* "name": "API"
|
|
16184
|
+
* "name": "API",
|
|
16185
|
+
* "label_transforms": [],
|
|
16186
|
+
* "percentages": [],
|
|
16187
|
+
* "date_ranges": []
|
|
15654
16188
|
* }
|
|
15655
16189
|
* ]
|
|
15656
16190
|
* }
|
|
@@ -15696,10 +16230,13 @@ interface operations {
|
|
|
15696
16230
|
* "key": "team",
|
|
15697
16231
|
* "overridable": true,
|
|
15698
16232
|
* "backfill_until": "2024-07-01",
|
|
16233
|
+
* "collapsed_tag_keys": [],
|
|
15699
16234
|
* "values": [
|
|
15700
16235
|
* {
|
|
15701
16236
|
* "filter": "costs.provider = 'aws' AND costs.service = 'Amazon Elastic Compute Cloud' AND\ncosts.account_id IN ('1234', '5678')\n",
|
|
15702
16237
|
* "name": "marketing",
|
|
16238
|
+
* "label_transforms": [],
|
|
16239
|
+
* "percentages": [],
|
|
15703
16240
|
* "date_ranges": [
|
|
15704
16241
|
* {
|
|
15705
16242
|
* "start_date": "2024-01-01",
|
|
@@ -15709,7 +16246,10 @@ interface operations {
|
|
|
15709
16246
|
* },
|
|
15710
16247
|
* {
|
|
15711
16248
|
* "filter": "((costs.provider = 'aws' AND costs.account_id IN ('1234', '5678')) OR\n(costs.provider = 'gcp' AND costs.service = 'Google Compute Engine'))\n",
|
|
15712
|
-
* "name": "third-party integrations"
|
|
16249
|
+
* "name": "third-party integrations",
|
|
16250
|
+
* "label_transforms": [],
|
|
16251
|
+
* "percentages": [],
|
|
16252
|
+
* "date_ranges": []
|
|
15713
16253
|
* }
|
|
15714
16254
|
* ]
|
|
15715
16255
|
* }
|
|
@@ -15717,6 +16257,15 @@ interface operations {
|
|
|
15717
16257
|
"application/json": components["schemas"]["VirtualTagConfig"];
|
|
15718
16258
|
};
|
|
15719
16259
|
};
|
|
16260
|
+
/** @description Request accepted for processing */
|
|
16261
|
+
202: {
|
|
16262
|
+
headers: {
|
|
16263
|
+
[name: string]: unknown;
|
|
16264
|
+
};
|
|
16265
|
+
content: {
|
|
16266
|
+
"application/json": components["schemas"]["AsyncVirtualTagConfigUpdate"];
|
|
16267
|
+
};
|
|
16268
|
+
};
|
|
15720
16269
|
/** @description BadRequest */
|
|
15721
16270
|
400: {
|
|
15722
16271
|
headers: {
|
|
@@ -15886,7 +16435,9 @@ interface operations {
|
|
|
15886
16435
|
headers: {
|
|
15887
16436
|
[name: string]: unknown;
|
|
15888
16437
|
};
|
|
15889
|
-
content
|
|
16438
|
+
content: {
|
|
16439
|
+
"application/json": components["schemas"]["AsyncVirtualTagConfigUpdate"];
|
|
16440
|
+
};
|
|
15890
16441
|
};
|
|
15891
16442
|
/** @description BadRequest */
|
|
15892
16443
|
400: {
|
|
@@ -16127,132 +16678,62 @@ interface operations {
|
|
|
16127
16678
|
};
|
|
16128
16679
|
};
|
|
16129
16680
|
};
|
|
16130
|
-
|
|
16681
|
+
deleteWorkspace: {
|
|
16131
16682
|
parameters: {
|
|
16132
16683
|
query?: never;
|
|
16133
16684
|
header?: never;
|
|
16134
|
-
path
|
|
16685
|
+
path: {
|
|
16686
|
+
workspace_token: string;
|
|
16687
|
+
};
|
|
16135
16688
|
cookie?: never;
|
|
16136
16689
|
};
|
|
16137
16690
|
requestBody?: never;
|
|
16138
16691
|
responses: {
|
|
16139
|
-
|
|
16140
|
-
200: {
|
|
16692
|
+
204: {
|
|
16141
16693
|
headers: {
|
|
16142
16694
|
[name: string]: unknown;
|
|
16143
16695
|
};
|
|
16144
|
-
content
|
|
16696
|
+
content: {
|
|
16697
|
+
"application/json": components["schemas"]["Workspace"];
|
|
16698
|
+
};
|
|
16699
|
+
};
|
|
16700
|
+
/** @description Forbidden */
|
|
16701
|
+
403: {
|
|
16702
|
+
headers: {
|
|
16703
|
+
[name: string]: unknown;
|
|
16704
|
+
};
|
|
16705
|
+
content: {
|
|
16706
|
+
"application/json": components["schemas"]["Errors"];
|
|
16707
|
+
};
|
|
16708
|
+
};
|
|
16709
|
+
/** @description NotFound */
|
|
16710
|
+
404: {
|
|
16711
|
+
headers: {
|
|
16712
|
+
[name: string]: unknown;
|
|
16713
|
+
};
|
|
16714
|
+
content: {
|
|
16715
|
+
"application/json": components["schemas"]["Errors"];
|
|
16716
|
+
};
|
|
16717
|
+
};
|
|
16718
|
+
/** @description UnprocessableEntity */
|
|
16719
|
+
422: {
|
|
16720
|
+
headers: {
|
|
16721
|
+
[name: string]: unknown;
|
|
16722
|
+
};
|
|
16723
|
+
content: {
|
|
16724
|
+
"application/json": components["schemas"]["Errors"];
|
|
16725
|
+
};
|
|
16145
16726
|
};
|
|
16146
16727
|
};
|
|
16147
16728
|
};
|
|
16148
16729
|
}
|
|
16149
16730
|
|
|
16150
|
-
|
|
16151
|
-
|
|
16152
|
-
|
|
16153
|
-
|
|
16154
|
-
|
|
16155
|
-
declare function pathEncode(value: string): NoSlashString;
|
|
16156
|
-
type UnBracket<S extends string> = S extends `${infer X}{${string}}${infer Z}` ? UnBracket<`${X}${NoSlashString}${Z}`> : S;
|
|
16157
|
-
type PathsRedefined = {
|
|
16158
|
-
[K in keyof paths as `/v2${UnBracket<K>}`]: [paths[K], K];
|
|
16159
|
-
};
|
|
16160
|
-
/** Defines a union of paths supported by the client. */
|
|
16161
|
-
type Path = keyof PathsRedefined;
|
|
16162
|
-
type MethodsCased = {
|
|
16163
|
-
get: "GET";
|
|
16164
|
-
post: "POST";
|
|
16165
|
-
put: "PUT";
|
|
16166
|
-
delete: "DELETE";
|
|
16167
|
-
patch: "PATCH";
|
|
16168
|
-
head: "HEAD";
|
|
16169
|
-
options: "OPTIONS";
|
|
16170
|
-
trace: "TRACE";
|
|
16171
|
-
};
|
|
16172
|
-
type MethodsInverted = {
|
|
16173
|
-
[K in keyof MethodsCased as MethodsCased[K]]: K;
|
|
16174
|
-
};
|
|
16175
|
-
type MethodsPossiblyUndefined = {
|
|
16176
|
-
[K in keyof MethodsCased]?: any;
|
|
16177
|
-
};
|
|
16178
|
-
type Methods<P extends MethodsPossiblyUndefined> = {
|
|
16179
|
-
[K in keyof MethodsCased]: P[K] extends undefined ? never : MethodsCased[K];
|
|
16180
|
-
}[keyof MethodsCased];
|
|
16181
|
-
/** Defines the supported request methods for a given path. */
|
|
16182
|
-
type SupportedMethods<P extends Path> = Methods<PathsRedefined[P][0]>;
|
|
16183
|
-
type Query<T extends {
|
|
16184
|
-
parameters?: {
|
|
16185
|
-
query?: any;
|
|
16186
|
-
};
|
|
16187
|
-
} | undefined> = T["parameters"]["query"] extends never | undefined ? {} : T["parameters"]["query"];
|
|
16188
|
-
type ReqBody<T extends {
|
|
16189
|
-
requestBody?: {
|
|
16190
|
-
content: any;
|
|
16191
|
-
};
|
|
16192
|
-
} | undefined> = T extends {
|
|
16193
|
-
requestBody: {
|
|
16194
|
-
content: {
|
|
16195
|
-
"application/json": infer R;
|
|
16196
|
-
};
|
|
16197
|
-
};
|
|
16198
|
-
} ? R : T extends {
|
|
16199
|
-
requestBody: {
|
|
16200
|
-
content: {
|
|
16201
|
-
"multipart/form-data": infer R;
|
|
16202
|
-
};
|
|
16203
|
-
};
|
|
16204
|
-
} ? R : {};
|
|
16205
|
-
/** Defines the request body type for a given path and method. */
|
|
16206
|
-
type RequestBodyForPathAndMethod<P extends Path, M extends SupportedMethods<P>> = M extends "GET" ? Query<PathsRedefined[P][0][MethodsInverted[M]]> : ReqBody<PathsRedefined[P][0][MethodsInverted[M]]>;
|
|
16207
|
-
type ExtendsGoodResponseCode<Code extends number, Output> = {
|
|
16208
|
-
[C in Code]: {
|
|
16209
|
-
responses: {
|
|
16210
|
-
[_ in C]: {
|
|
16211
|
-
content: {
|
|
16212
|
-
"application/json": Output;
|
|
16213
|
-
};
|
|
16214
|
-
};
|
|
16215
|
-
};
|
|
16216
|
-
};
|
|
16217
|
-
}[Code];
|
|
16218
|
-
/** Patches for specific endpoints go here. This is useful for when the OpenAPI spec is not specific enough for our liking. */
|
|
16219
|
-
type PathAndMethodSpecificPatches = {
|
|
16220
|
-
"/v2/costs": {
|
|
16221
|
-
GET: {
|
|
16222
|
-
total_usage?: {
|
|
16223
|
-
[usageUnit: string]: string;
|
|
16224
|
-
};
|
|
16225
|
-
};
|
|
16226
|
-
};
|
|
16227
|
-
};
|
|
16228
|
-
type LookupTableType = {
|
|
16229
|
-
[P in Path]: Partial<{
|
|
16230
|
-
[M in SupportedMethods<P>]: any;
|
|
16231
|
-
}>;
|
|
16232
|
-
};
|
|
16233
|
-
type ExecutePatch<Patch, Response> = keyof Patch extends never ? Response : Omit<Response, keyof Patch> & Patch;
|
|
16234
|
-
type DoPathSpecificPatches<P extends Path, M extends SupportedMethods<P>, Response, LookupTable extends Partial<LookupTableType>> = LookupTable[P] extends never ? Response : ExecutePatch<LookupTable[P][M], Response>;
|
|
16235
|
-
/** Defines the response body type for a given path and method. */
|
|
16236
|
-
type ResponseBodyForPathAndMethod<P extends Path, M extends SupportedMethods<P>> = PathsRedefined[P][0][MethodsInverted[M]] extends ExtendsGoodResponseCode<200 | 201 | 202 | 203, infer R> ? DoPathSpecificPatches<P, M, R, PathAndMethodSpecificPatches> : void;
|
|
16237
|
-
/** Defines a vantage API failure */
|
|
16238
|
-
declare class VantageAPIError extends Error {
|
|
16239
|
-
readonly status: number | null;
|
|
16240
|
-
readonly statusText: string | null;
|
|
16241
|
-
readonly body: string;
|
|
16242
|
-
readonly errors: string[] | null;
|
|
16243
|
-
constructor(status: number | null, statusText: string | null, body: string);
|
|
16244
|
-
}
|
|
16245
|
-
type NeverThrowResult<T> = [null, VantageAPIError] | [T, null];
|
|
16246
|
-
/** Defines the base client for all API requests. */
|
|
16247
|
-
declare class BaseClient<NeverThrow extends boolean> {
|
|
16248
|
-
private readonly bearerToken;
|
|
16249
|
-
private readonly neverThrow;
|
|
16250
|
-
readonly baseUrl: string;
|
|
16251
|
-
constructor(bearerToken: string, neverThrow: NeverThrow, baseUrl: string);
|
|
16252
|
-
/** Sends a request to the API. */
|
|
16253
|
-
request<RequestPath extends Path, RequestMethod extends SupportedMethods<RequestPath>>(path: RequestPath, method: RequestMethod, body: RequestBodyForPathAndMethod<RequestPath, RequestMethod>): Promise<NeverThrow extends true ? NeverThrowResult<ResponseBodyForPathAndMethod<RequestPath, RequestMethod>> : ResponseBodyForPathAndMethod<RequestPath, RequestMethod>>;
|
|
16731
|
+
interface PathResponseEdgecases {
|
|
16732
|
+
"POST /v2/costs/data_exports": string;
|
|
16733
|
+
"POST /v2/kubernetes_efficiency_reports/data_exports": string;
|
|
16734
|
+
"POST /v2/unit_costs/data_exports": string;
|
|
16735
|
+
[key: `GET /v2/virtual_tag_configs/async/${NoSlashString}`]: boolean;
|
|
16254
16736
|
}
|
|
16255
|
-
|
|
16256
16737
|
/**
|
|
16257
16738
|
* Return all Access Grants that the current API token has access to.
|
|
16258
16739
|
*/
|
|
@@ -16521,6 +17002,14 @@ type GetBusinessMetricValuesRequest = RequestBodyForPathAndMethod<`/v2/business_
|
|
|
16521
17002
|
* Response type for Get business metric values
|
|
16522
17003
|
*/
|
|
16523
17004
|
type GetBusinessMetricValuesResponse = ResponseBodyForPathAndMethod<`/v2/business_metrics/${NoSlashString}/values`, "GET">;
|
|
17005
|
+
/**
|
|
17006
|
+
* Deletes Business Metric values (historical or forecasted unit metrics).
|
|
17007
|
+
*/
|
|
17008
|
+
type DeleteBusinessMetricValuesRequest = RequestBodyForPathAndMethod<`/v2/business_metrics/${NoSlashString}/values`, "DELETE">;
|
|
17009
|
+
/**
|
|
17010
|
+
* Response type for Delete business metric values
|
|
17011
|
+
*/
|
|
17012
|
+
type DeleteBusinessMetricValuesResponse = ResponseBodyForPathAndMethod<`/v2/business_metrics/${NoSlashString}/values`, "DELETE">;
|
|
16524
17013
|
/**
|
|
16525
17014
|
* Return forecasted values of a BusinessMetric
|
|
16526
17015
|
*/
|
|
@@ -16577,6 +17066,14 @@ type UpdateCostAlertResponse = ResponseBodyForPathAndMethod<`/v2/cost_alerts/${N
|
|
|
16577
17066
|
* Response type for Delete cost alert
|
|
16578
17067
|
*/
|
|
16579
17068
|
type DeleteCostAlertResponse = ResponseBodyForPathAndMethod<`/v2/cost_alerts/${NoSlashString}`, "DELETE">;
|
|
17069
|
+
/**
|
|
17070
|
+
* List CostProviders available to query in a given Workspace.
|
|
17071
|
+
*/
|
|
17072
|
+
type GetCostProvidersRequest = RequestBodyForPathAndMethod<"/v2/cost_providers", "GET">;
|
|
17073
|
+
/**
|
|
17074
|
+
* Response type for Get cost providers
|
|
17075
|
+
*/
|
|
17076
|
+
type GetCostProvidersResponse = ResponseBodyForPathAndMethod<"/v2/cost_providers", "GET">;
|
|
16580
17077
|
/**
|
|
16581
17078
|
* List CostProviderAccounts available in a given Workspace.
|
|
16582
17079
|
*/
|
|
@@ -16641,6 +17138,14 @@ type GetCostsRequest = RequestBodyForPathAndMethod<"/v2/costs", "GET">;
|
|
|
16641
17138
|
* Response type for Get costs for cost report or VQL filter
|
|
16642
17139
|
*/
|
|
16643
17140
|
type GetCostsResponse = ResponseBodyForPathAndMethod<"/v2/costs", "GET">;
|
|
17141
|
+
/**
|
|
17142
|
+
* List CostServices available to query in a given Workspace.
|
|
17143
|
+
*/
|
|
17144
|
+
type GetCostServicesRequest = RequestBodyForPathAndMethod<"/v2/cost_services", "GET">;
|
|
17145
|
+
/**
|
|
17146
|
+
* Response type for Get cost services
|
|
17147
|
+
*/
|
|
17148
|
+
type GetCostServicesResponse = ResponseBodyForPathAndMethod<"/v2/cost_services", "GET">;
|
|
16644
17149
|
/**
|
|
16645
17150
|
* Return all Dashboards.
|
|
16646
17151
|
*/
|
|
@@ -16962,33 +17467,21 @@ type CreateSsoConnectionForManagedAccountRequest = RequestBodyForPathAndMethod<`
|
|
|
16962
17467
|
*/
|
|
16963
17468
|
type CreateSsoConnectionForManagedAccountResponse = ResponseBodyForPathAndMethod<`/v2/managed_accounts/${NoSlashString}/sso_connection`, "POST">;
|
|
16964
17469
|
/**
|
|
16965
|
-
* Response type for
|
|
16966
|
-
*/
|
|
16967
|
-
type GetMeResponse = ResponseBodyForPathAndMethod<"/v2/me", "GET">;
|
|
16968
|
-
/**
|
|
16969
|
-
* List CostProviders available to query in a given Workspace.
|
|
17470
|
+
* Response type for Delete SSO connection for managed account
|
|
16970
17471
|
*/
|
|
16971
|
-
type
|
|
17472
|
+
type DeleteSsoConnectionForManagedAccountResponse = ResponseBodyForPathAndMethod<`/v2/managed_accounts/${NoSlashString}/sso_connection`, "DELETE">;
|
|
16972
17473
|
/**
|
|
16973
|
-
* Response type for Get
|
|
16974
|
-
*/
|
|
16975
|
-
type GetCostProvidersResponse = ResponseBodyForPathAndMethod<"/v2/cost_providers", "GET">;
|
|
16976
|
-
/**
|
|
16977
|
-
* List CostServices available to query in a given Workspace.
|
|
16978
|
-
*/
|
|
16979
|
-
type GetCostServicesRequest = RequestBodyForPathAndMethod<"/v2/cost_services", "GET">;
|
|
16980
|
-
/**
|
|
16981
|
-
* Response type for Get cost services
|
|
17474
|
+
* Response type for Get authenticated user info
|
|
16982
17475
|
*/
|
|
16983
|
-
type
|
|
17476
|
+
type GetMeResponse = ResponseBodyForPathAndMethod<"/v2/me", "GET">;
|
|
16984
17477
|
/**
|
|
16985
|
-
*
|
|
17478
|
+
* Update the authenticated User.
|
|
16986
17479
|
*/
|
|
16987
|
-
type
|
|
17480
|
+
type UpdateMeRequest = RequestBodyForPathAndMethod<"/v2/me", "PUT">;
|
|
16988
17481
|
/**
|
|
16989
|
-
* Response type for
|
|
17482
|
+
* Response type for Update authenticated user
|
|
16990
17483
|
*/
|
|
16991
|
-
type
|
|
17484
|
+
type UpdateMeResponse = ResponseBodyForPathAndMethod<"/v2/me", "PUT">;
|
|
16992
17485
|
/**
|
|
16993
17486
|
* Return all NetworkFlowReports.
|
|
16994
17487
|
*/
|
|
@@ -17021,6 +17514,7 @@ type UpdateNetworkFlowReportResponse = ResponseBodyForPathAndMethod<`/v2/network
|
|
|
17021
17514
|
* Response type for Delete network flow report
|
|
17022
17515
|
*/
|
|
17023
17516
|
type DeleteNetworkFlowReportResponse = ResponseBodyForPathAndMethod<`/v2/network_flow_reports/${NoSlashString}`, "DELETE">;
|
|
17517
|
+
type PingResponse = ResponseBodyForPathAndMethod<"/v2/ping", "GET">;
|
|
17024
17518
|
/**
|
|
17025
17519
|
* Return available Prices across all Regions for a Product.
|
|
17026
17520
|
*/
|
|
@@ -17353,6 +17847,14 @@ type GetUnitCostsRequest = RequestBodyForPathAndMethod<"/v2/unit_costs", "GET">;
|
|
|
17353
17847
|
* Response type for Get all unit costs for a cost report
|
|
17354
17848
|
*/
|
|
17355
17849
|
type GetUnitCostsResponse = ResponseBodyForPathAndMethod<"/v2/unit_costs", "GET">;
|
|
17850
|
+
/**
|
|
17851
|
+
* Provide UserFeedback for our product and features.
|
|
17852
|
+
*/
|
|
17853
|
+
type CreateUserFeedbackRequest = RequestBodyForPathAndMethod<"/v2/user_feedback", "POST">;
|
|
17854
|
+
/**
|
|
17855
|
+
* Response type for Submit user feedback
|
|
17856
|
+
*/
|
|
17857
|
+
type CreateUserFeedbackResponse = ResponseBodyForPathAndMethod<"/v2/user_feedback", "POST">;
|
|
17356
17858
|
/**
|
|
17357
17859
|
* Return all Users that the current API token has access to.
|
|
17358
17860
|
*/
|
|
@@ -17365,6 +17867,14 @@ type GetUsersResponse = ResponseBodyForPathAndMethod<"/v2/users", "GET">;
|
|
|
17365
17867
|
* Response type for Get user by token
|
|
17366
17868
|
*/
|
|
17367
17869
|
type GetUserResponse = ResponseBodyForPathAndMethod<`/v2/users/${NoSlashString}`, "GET">;
|
|
17870
|
+
/**
|
|
17871
|
+
* Update a specific User.
|
|
17872
|
+
*/
|
|
17873
|
+
type UpdateUserRequest = RequestBodyForPathAndMethod<`/v2/users/${NoSlashString}`, "PUT">;
|
|
17874
|
+
/**
|
|
17875
|
+
* Response type for Update a user
|
|
17876
|
+
*/
|
|
17877
|
+
type UpdateUserResponse = ResponseBodyForPathAndMethod<`/v2/users/${NoSlashString}`, "PUT">;
|
|
17368
17878
|
/**
|
|
17369
17879
|
* Response type for Get all virtual tag configs
|
|
17370
17880
|
*/
|
|
@@ -17437,7 +17947,10 @@ type UpdateWorkspaceRequest = RequestBodyForPathAndMethod<`/v2/workspaces/${NoSl
|
|
|
17437
17947
|
* Response type for Update workspace
|
|
17438
17948
|
*/
|
|
17439
17949
|
type UpdateWorkspaceResponse = ResponseBodyForPathAndMethod<`/v2/workspaces/${NoSlashString}`, "PUT">;
|
|
17440
|
-
|
|
17950
|
+
/**
|
|
17951
|
+
* Response type for Delete workspace
|
|
17952
|
+
*/
|
|
17953
|
+
type DeleteWorkspaceResponse = ResponseBodyForPathAndMethod<`/v2/workspaces/${NoSlashString}`, "DELETE">;
|
|
17441
17954
|
/** Vantage API Client with typed methods */
|
|
17442
17955
|
declare class APIV2Client<NeverThrow extends boolean = false> extends BaseClient<NeverThrow> {
|
|
17443
17956
|
/**
|
|
@@ -17447,6 +17960,7 @@ declare class APIV2Client<NeverThrow extends boolean = false> extends BaseClient
|
|
|
17447
17960
|
* @param baseUrl The base URL for the API. Defaults to "https://api.vantage.sh".
|
|
17448
17961
|
*/
|
|
17449
17962
|
constructor(bearerToken: string, neverThrow?: NeverThrow, baseUrl?: string);
|
|
17963
|
+
protected routeEdgecases: ReadonlyMap<string, string>;
|
|
17450
17964
|
private _accessGrants?;
|
|
17451
17965
|
private _anomalyAlerts?;
|
|
17452
17966
|
private _anomalyNotifications?;
|
|
@@ -17457,9 +17971,11 @@ declare class APIV2Client<NeverThrow extends boolean = false> extends BaseClient
|
|
|
17457
17971
|
private _budgets?;
|
|
17458
17972
|
private _businessMetrics?;
|
|
17459
17973
|
private _costAlerts?;
|
|
17974
|
+
private _costProviders?;
|
|
17460
17975
|
private _costProviderAccounts?;
|
|
17461
17976
|
private _costReports?;
|
|
17462
17977
|
private _costs?;
|
|
17978
|
+
private _costServices?;
|
|
17463
17979
|
private _dashboards?;
|
|
17464
17980
|
private _dataExports?;
|
|
17465
17981
|
private _exchangeRates?;
|
|
@@ -17471,10 +17987,8 @@ declare class APIV2Client<NeverThrow extends boolean = false> extends BaseClient
|
|
|
17471
17987
|
private _kubernetesEfficiencyReports?;
|
|
17472
17988
|
private _managedAccounts?;
|
|
17473
17989
|
private _me?;
|
|
17474
|
-
private _costProviders?;
|
|
17475
|
-
private _costServices?;
|
|
17476
|
-
private _userFeedback?;
|
|
17477
17990
|
private _networkFlowReports?;
|
|
17991
|
+
private _ping?;
|
|
17478
17992
|
private _products?;
|
|
17479
17993
|
private _recommendations?;
|
|
17480
17994
|
private _recommendationViews?;
|
|
@@ -17486,10 +18000,10 @@ declare class APIV2Client<NeverThrow extends boolean = false> extends BaseClient
|
|
|
17486
18000
|
private _tags?;
|
|
17487
18001
|
private _teams?;
|
|
17488
18002
|
private _unitCosts?;
|
|
18003
|
+
private _userFeedback?;
|
|
17489
18004
|
private _users?;
|
|
17490
18005
|
private _virtualTagConfigs?;
|
|
17491
18006
|
private _workspaces?;
|
|
17492
|
-
private _ping?;
|
|
17493
18007
|
get accessGrants(): AccessGrantsApi<NeverThrow>;
|
|
17494
18008
|
get anomalyAlerts(): AnomalyAlertsApi<NeverThrow>;
|
|
17495
18009
|
get anomalyNotifications(): AnomalyNotificationsApi<NeverThrow>;
|
|
@@ -17500,9 +18014,11 @@ declare class APIV2Client<NeverThrow extends boolean = false> extends BaseClient
|
|
|
17500
18014
|
get budgets(): BudgetsApi<NeverThrow>;
|
|
17501
18015
|
get businessMetrics(): BusinessMetricsApi<NeverThrow>;
|
|
17502
18016
|
get costAlerts(): CostAlertsApi<NeverThrow>;
|
|
18017
|
+
get costProviders(): CostProvidersApi<NeverThrow>;
|
|
17503
18018
|
get costProviderAccounts(): CostProviderAccountsApi<NeverThrow>;
|
|
17504
18019
|
get costReports(): CostReportsApi<NeverThrow>;
|
|
17505
18020
|
get costs(): CostsApi<NeverThrow>;
|
|
18021
|
+
get costServices(): CostServicesApi<NeverThrow>;
|
|
17506
18022
|
get dashboards(): DashboardsApi<NeverThrow>;
|
|
17507
18023
|
get dataExports(): DataExportsApi<NeverThrow>;
|
|
17508
18024
|
get exchangeRates(): ExchangeRatesApi<NeverThrow>;
|
|
@@ -17514,10 +18030,8 @@ declare class APIV2Client<NeverThrow extends boolean = false> extends BaseClient
|
|
|
17514
18030
|
get kubernetesEfficiencyReports(): KubernetesEfficiencyReportsApi<NeverThrow>;
|
|
17515
18031
|
get managedAccounts(): ManagedAccountsApi<NeverThrow>;
|
|
17516
18032
|
get me(): MeApi<NeverThrow>;
|
|
17517
|
-
get costProviders(): CostProvidersApi<NeverThrow>;
|
|
17518
|
-
get costServices(): CostServicesApi<NeverThrow>;
|
|
17519
|
-
get userFeedback(): UserFeedbackApi<NeverThrow>;
|
|
17520
18033
|
get networkFlowReports(): NetworkFlowReportsApi<NeverThrow>;
|
|
18034
|
+
get ping(): PingApi<NeverThrow>;
|
|
17521
18035
|
get products(): ProductsApi<NeverThrow>;
|
|
17522
18036
|
get recommendations(): RecommendationsApi<NeverThrow>;
|
|
17523
18037
|
get recommendationViews(): RecommendationViewsApi<NeverThrow>;
|
|
@@ -17529,10 +18043,10 @@ declare class APIV2Client<NeverThrow extends boolean = false> extends BaseClient
|
|
|
17529
18043
|
get tags(): TagsApi<NeverThrow>;
|
|
17530
18044
|
get teams(): TeamsApi<NeverThrow>;
|
|
17531
18045
|
get unitCosts(): UnitCostsApi<NeverThrow>;
|
|
18046
|
+
get userFeedback(): UserFeedbackApi<NeverThrow>;
|
|
17532
18047
|
get users(): UsersApi<NeverThrow>;
|
|
17533
18048
|
get virtualTagConfigs(): VirtualTagConfigsApi<NeverThrow>;
|
|
17534
18049
|
get workspaces(): WorkspacesApi<NeverThrow>;
|
|
17535
|
-
get ping(): PingApi<NeverThrow>;
|
|
17536
18050
|
}
|
|
17537
18051
|
declare class AccessGrantsApi<NeverThrow extends boolean> {
|
|
17538
18052
|
private client;
|
|
@@ -17833,7 +18347,11 @@ declare class BillingProfilesApi<NeverThrow extends boolean> {
|
|
|
17833
18347
|
updated_at: string;
|
|
17834
18348
|
billing_information_attributes: components["schemas"]["BillingInformation"];
|
|
17835
18349
|
business_information_attributes: components["schemas"]["BusinessInformation"];
|
|
17836
|
-
banking_information_attributes?:
|
|
18350
|
+
banking_information_attributes?:
|
|
18351
|
+
/**
|
|
18352
|
+
* Generate a DataExport of costs.
|
|
18353
|
+
*/
|
|
18354
|
+
components["schemas"]["BankingInformation"];
|
|
17837
18355
|
invoice_adjustment_attributes: components["schemas"]["InvoiceAdjustment"];
|
|
17838
18356
|
managed_accounts_count: string;
|
|
17839
18357
|
}, null] : {
|
|
@@ -17843,7 +18361,11 @@ declare class BillingProfilesApi<NeverThrow extends boolean> {
|
|
|
17843
18361
|
updated_at: string;
|
|
17844
18362
|
billing_information_attributes: components["schemas"]["BillingInformation"];
|
|
17845
18363
|
business_information_attributes: components["schemas"]["BusinessInformation"];
|
|
17846
|
-
banking_information_attributes?:
|
|
18364
|
+
banking_information_attributes?:
|
|
18365
|
+
/**
|
|
18366
|
+
* Generate a DataExport of costs.
|
|
18367
|
+
*/
|
|
18368
|
+
components["schemas"]["BankingInformation"];
|
|
17847
18369
|
invoice_adjustment_attributes: components["schemas"]["InvoiceAdjustment"];
|
|
17848
18370
|
managed_accounts_count: string;
|
|
17849
18371
|
}>;
|
|
@@ -17857,7 +18379,11 @@ declare class BillingProfilesApi<NeverThrow extends boolean> {
|
|
|
17857
18379
|
updated_at: string;
|
|
17858
18380
|
billing_information_attributes: components["schemas"]["BillingInformation"];
|
|
17859
18381
|
business_information_attributes: components["schemas"]["BusinessInformation"];
|
|
17860
|
-
banking_information_attributes?:
|
|
18382
|
+
banking_information_attributes?:
|
|
18383
|
+
/**
|
|
18384
|
+
* Generate a DataExport of costs.
|
|
18385
|
+
*/
|
|
18386
|
+
components["schemas"]["BankingInformation"];
|
|
17861
18387
|
invoice_adjustment_attributes: components["schemas"]["InvoiceAdjustment"];
|
|
17862
18388
|
managed_accounts_count: string;
|
|
17863
18389
|
}, null] : {
|
|
@@ -17867,7 +18393,11 @@ declare class BillingProfilesApi<NeverThrow extends boolean> {
|
|
|
17867
18393
|
updated_at: string;
|
|
17868
18394
|
billing_information_attributes: components["schemas"]["BillingInformation"];
|
|
17869
18395
|
business_information_attributes: components["schemas"]["BusinessInformation"];
|
|
17870
|
-
banking_information_attributes?:
|
|
18396
|
+
banking_information_attributes?:
|
|
18397
|
+
/**
|
|
18398
|
+
* Generate a DataExport of costs.
|
|
18399
|
+
*/
|
|
18400
|
+
components["schemas"]["BankingInformation"];
|
|
17871
18401
|
invoice_adjustment_attributes: components["schemas"]["InvoiceAdjustment"];
|
|
17872
18402
|
managed_accounts_count: string;
|
|
17873
18403
|
}>;
|
|
@@ -17881,7 +18411,11 @@ declare class BillingProfilesApi<NeverThrow extends boolean> {
|
|
|
17881
18411
|
updated_at: string;
|
|
17882
18412
|
billing_information_attributes: components["schemas"]["BillingInformation"];
|
|
17883
18413
|
business_information_attributes: components["schemas"]["BusinessInformation"];
|
|
17884
|
-
banking_information_attributes?:
|
|
18414
|
+
banking_information_attributes?:
|
|
18415
|
+
/**
|
|
18416
|
+
* Generate a DataExport of costs.
|
|
18417
|
+
*/
|
|
18418
|
+
components["schemas"]["BankingInformation"];
|
|
17885
18419
|
invoice_adjustment_attributes: components["schemas"]["InvoiceAdjustment"];
|
|
17886
18420
|
managed_accounts_count: string;
|
|
17887
18421
|
}, null] : {
|
|
@@ -17891,7 +18425,11 @@ declare class BillingProfilesApi<NeverThrow extends boolean> {
|
|
|
17891
18425
|
updated_at: string;
|
|
17892
18426
|
billing_information_attributes: components["schemas"]["BillingInformation"];
|
|
17893
18427
|
business_information_attributes: components["schemas"]["BusinessInformation"];
|
|
17894
|
-
banking_information_attributes?:
|
|
18428
|
+
banking_information_attributes?:
|
|
18429
|
+
/**
|
|
18430
|
+
* Generate a DataExport of costs.
|
|
18431
|
+
*/
|
|
18432
|
+
components["schemas"]["BankingInformation"];
|
|
17895
18433
|
invoice_adjustment_attributes: components["schemas"]["InvoiceAdjustment"];
|
|
17896
18434
|
managed_accounts_count: string;
|
|
17897
18435
|
}>;
|
|
@@ -18052,7 +18590,7 @@ declare class BudgetAlertsApi<NeverThrow extends boolean> {
|
|
|
18052
18590
|
token: string;
|
|
18053
18591
|
budget_tokens: string[];
|
|
18054
18592
|
created_at: string;
|
|
18055
|
-
workspace_token: string;
|
|
18593
|
+
workspace_token: string | null;
|
|
18056
18594
|
user_token?: string | null;
|
|
18057
18595
|
user_tokens: string[];
|
|
18058
18596
|
duration_in_days: number | null;
|
|
@@ -18064,7 +18602,7 @@ declare class BudgetAlertsApi<NeverThrow extends boolean> {
|
|
|
18064
18602
|
token: string;
|
|
18065
18603
|
budget_tokens: string[];
|
|
18066
18604
|
created_at: string;
|
|
18067
|
-
workspace_token: string;
|
|
18605
|
+
workspace_token: string | null;
|
|
18068
18606
|
user_token?: string | null;
|
|
18069
18607
|
user_tokens: string[];
|
|
18070
18608
|
duration_in_days: number | null;
|
|
@@ -18080,7 +18618,7 @@ declare class BudgetAlertsApi<NeverThrow extends boolean> {
|
|
|
18080
18618
|
token: string;
|
|
18081
18619
|
budget_tokens: string[];
|
|
18082
18620
|
created_at: string;
|
|
18083
|
-
workspace_token: string;
|
|
18621
|
+
workspace_token: string | null;
|
|
18084
18622
|
user_token?: string | null;
|
|
18085
18623
|
user_tokens: string[];
|
|
18086
18624
|
duration_in_days: number | null;
|
|
@@ -18092,7 +18630,7 @@ declare class BudgetAlertsApi<NeverThrow extends boolean> {
|
|
|
18092
18630
|
token: string;
|
|
18093
18631
|
budget_tokens: string[];
|
|
18094
18632
|
created_at: string;
|
|
18095
|
-
workspace_token: string;
|
|
18633
|
+
workspace_token: string | null;
|
|
18096
18634
|
user_token?: string | null;
|
|
18097
18635
|
user_tokens: string[];
|
|
18098
18636
|
duration_in_days: number | null;
|
|
@@ -18108,7 +18646,7 @@ declare class BudgetAlertsApi<NeverThrow extends boolean> {
|
|
|
18108
18646
|
token: string;
|
|
18109
18647
|
budget_tokens: string[];
|
|
18110
18648
|
created_at: string;
|
|
18111
|
-
workspace_token: string;
|
|
18649
|
+
workspace_token: string | null;
|
|
18112
18650
|
user_token?: string | null;
|
|
18113
18651
|
user_tokens: string[];
|
|
18114
18652
|
duration_in_days: number | null;
|
|
@@ -18120,7 +18658,7 @@ declare class BudgetAlertsApi<NeverThrow extends boolean> {
|
|
|
18120
18658
|
token: string;
|
|
18121
18659
|
budget_tokens: string[];
|
|
18122
18660
|
created_at: string;
|
|
18123
|
-
workspace_token: string;
|
|
18661
|
+
workspace_token: string | null;
|
|
18124
18662
|
user_token?: string | null;
|
|
18125
18663
|
user_tokens: string[];
|
|
18126
18664
|
duration_in_days: number | null;
|
|
@@ -18227,19 +18765,21 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
|
|
|
18227
18765
|
title: string;
|
|
18228
18766
|
created_by_token?: string | null;
|
|
18229
18767
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
18230
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
18768
|
+
import_type: "datadog_metrics" | "cloudwatch" | "snowflake_metrics" | "metronome_metrics" | "csv" | null;
|
|
18231
18769
|
integration_token: string | null;
|
|
18232
18770
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
18233
18771
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
18772
|
+
snowflake_metric_fields?: components["schemas"]["SnowflakeMetricFields"];
|
|
18234
18773
|
}, null] : {
|
|
18235
18774
|
token: string;
|
|
18236
18775
|
title: string;
|
|
18237
18776
|
created_by_token?: string | null;
|
|
18238
18777
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
18239
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
18778
|
+
import_type: "datadog_metrics" | "cloudwatch" | "snowflake_metrics" | "metronome_metrics" | "csv" | null;
|
|
18240
18779
|
integration_token: string | null;
|
|
18241
18780
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
18242
18781
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
18782
|
+
snowflake_metric_fields?: components["schemas"]["SnowflakeMetricFields"];
|
|
18243
18783
|
}>;
|
|
18244
18784
|
/**
|
|
18245
18785
|
* Return a BusinessMetric.
|
|
@@ -18249,19 +18789,21 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
|
|
|
18249
18789
|
title: string;
|
|
18250
18790
|
created_by_token?: string | null;
|
|
18251
18791
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
18252
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
18792
|
+
import_type: "datadog_metrics" | "cloudwatch" | "snowflake_metrics" | "metronome_metrics" | "csv" | null;
|
|
18253
18793
|
integration_token: string | null;
|
|
18254
18794
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
18255
18795
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
18796
|
+
snowflake_metric_fields?: components["schemas"]["SnowflakeMetricFields"];
|
|
18256
18797
|
}, null] : {
|
|
18257
18798
|
token: string;
|
|
18258
18799
|
title: string;
|
|
18259
18800
|
created_by_token?: string | null;
|
|
18260
18801
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
18261
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
18802
|
+
import_type: "datadog_metrics" | "cloudwatch" | "snowflake_metrics" | "metronome_metrics" | "csv" | null;
|
|
18262
18803
|
integration_token: string | null;
|
|
18263
18804
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
18264
18805
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
18806
|
+
snowflake_metric_fields?: components["schemas"]["SnowflakeMetricFields"];
|
|
18265
18807
|
}>;
|
|
18266
18808
|
/**
|
|
18267
18809
|
* Updates an existing BusinessMetric.
|
|
@@ -18271,19 +18813,21 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
|
|
|
18271
18813
|
title: string;
|
|
18272
18814
|
created_by_token?: string | null;
|
|
18273
18815
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
18274
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
18816
|
+
import_type: "datadog_metrics" | "cloudwatch" | "snowflake_metrics" | "metronome_metrics" | "csv" | null;
|
|
18275
18817
|
integration_token: string | null;
|
|
18276
18818
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
18277
18819
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
18820
|
+
snowflake_metric_fields?: components["schemas"]["SnowflakeMetricFields"];
|
|
18278
18821
|
}, null] : {
|
|
18279
18822
|
token: string;
|
|
18280
18823
|
title: string;
|
|
18281
18824
|
created_by_token?: string | null;
|
|
18282
18825
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
18283
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
18826
|
+
import_type: "datadog_metrics" | "cloudwatch" | "snowflake_metrics" | "metronome_metrics" | "csv" | null;
|
|
18284
18827
|
integration_token: string | null;
|
|
18285
18828
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
18286
18829
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
18830
|
+
snowflake_metric_fields?: components["schemas"]["SnowflakeMetricFields"];
|
|
18287
18831
|
}>;
|
|
18288
18832
|
/**
|
|
18289
18833
|
* Deletes an existing BusinessMetric.
|
|
@@ -18297,6 +18841,14 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
|
|
|
18297
18841
|
}, null] : {
|
|
18298
18842
|
values: components["schemas"]["BusinessMetricValue"][];
|
|
18299
18843
|
}>;
|
|
18844
|
+
/**
|
|
18845
|
+
* Deletes Business Metric values (historical or forecasted unit metrics).
|
|
18846
|
+
*/
|
|
18847
|
+
deleteValues(businessMetricToken: string, body?: DeleteBusinessMetricValuesRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
18848
|
+
deleted_count: number;
|
|
18849
|
+
}, null] : {
|
|
18850
|
+
deleted_count: number;
|
|
18851
|
+
}>;
|
|
18300
18852
|
/**
|
|
18301
18853
|
* Return forecasted values of a BusinessMetric
|
|
18302
18854
|
*/
|
|
@@ -18313,19 +18865,21 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
|
|
|
18313
18865
|
title: string;
|
|
18314
18866
|
created_by_token?: string | null;
|
|
18315
18867
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
18316
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
18868
|
+
import_type: "datadog_metrics" | "cloudwatch" | "snowflake_metrics" | "metronome_metrics" | "csv" | null;
|
|
18317
18869
|
integration_token: string | null;
|
|
18318
18870
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
18319
18871
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
18872
|
+
snowflake_metric_fields?: components["schemas"]["SnowflakeMetricFields"];
|
|
18320
18873
|
}, null] : {
|
|
18321
18874
|
token: string;
|
|
18322
18875
|
title: string;
|
|
18323
18876
|
created_by_token?: string | null;
|
|
18324
18877
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
18325
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
18878
|
+
import_type: "datadog_metrics" | "cloudwatch" | "snowflake_metrics" | "metronome_metrics" | "csv" | null;
|
|
18326
18879
|
integration_token: string | null;
|
|
18327
18880
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
18328
18881
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
18882
|
+
snowflake_metric_fields?: components["schemas"]["SnowflakeMetricFields"];
|
|
18329
18883
|
}>;
|
|
18330
18884
|
}
|
|
18331
18885
|
declare class CostAlertsApi<NeverThrow extends boolean> {
|
|
@@ -18454,6 +19008,20 @@ declare class CostAlertsApi<NeverThrow extends boolean> {
|
|
|
18454
19008
|
alert_token: string;
|
|
18455
19009
|
}>;
|
|
18456
19010
|
}
|
|
19011
|
+
declare class CostProvidersApi<NeverThrow extends boolean> {
|
|
19012
|
+
private client;
|
|
19013
|
+
constructor(client: BaseClient<NeverThrow>);
|
|
19014
|
+
/**
|
|
19015
|
+
* List CostProviders available to query in a given Workspace.
|
|
19016
|
+
*/
|
|
19017
|
+
list(body?: GetCostProvidersRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19018
|
+
links?: components["schemas"]["Links"];
|
|
19019
|
+
cost_providers: components["schemas"]["CostProvider"][];
|
|
19020
|
+
}, null] : {
|
|
19021
|
+
links?: components["schemas"]["Links"];
|
|
19022
|
+
cost_providers: components["schemas"]["CostProvider"][];
|
|
19023
|
+
}>;
|
|
19024
|
+
}
|
|
18457
19025
|
declare class CostProviderAccountsApi<NeverThrow extends boolean> {
|
|
18458
19026
|
private client;
|
|
18459
19027
|
constructor(client: BaseClient<NeverThrow>);
|
|
@@ -18501,6 +19069,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18501
19069
|
unallocated?: boolean | null;
|
|
18502
19070
|
aggregate_by?: string | null;
|
|
18503
19071
|
show_previous_period?: boolean | null;
|
|
19072
|
+
complete_period?: boolean | null;
|
|
18504
19073
|
};
|
|
18505
19074
|
created_at: string;
|
|
18506
19075
|
workspace_token: string;
|
|
@@ -18529,6 +19098,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18529
19098
|
unallocated?: boolean | null;
|
|
18530
19099
|
aggregate_by?: string | null;
|
|
18531
19100
|
show_previous_period?: boolean | null;
|
|
19101
|
+
complete_period?: boolean | null;
|
|
18532
19102
|
};
|
|
18533
19103
|
created_at: string;
|
|
18534
19104
|
workspace_token: string;
|
|
@@ -18561,6 +19131,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18561
19131
|
unallocated?: boolean | null;
|
|
18562
19132
|
aggregate_by?: string | null;
|
|
18563
19133
|
show_previous_period?: boolean | null;
|
|
19134
|
+
complete_period?: boolean | null;
|
|
18564
19135
|
};
|
|
18565
19136
|
created_at: string;
|
|
18566
19137
|
workspace_token: string;
|
|
@@ -18589,6 +19160,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18589
19160
|
unallocated?: boolean | null;
|
|
18590
19161
|
aggregate_by?: string | null;
|
|
18591
19162
|
show_previous_period?: boolean | null;
|
|
19163
|
+
complete_period?: boolean | null;
|
|
18592
19164
|
};
|
|
18593
19165
|
created_at: string;
|
|
18594
19166
|
workspace_token: string;
|
|
@@ -18621,6 +19193,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18621
19193
|
unallocated?: boolean | null;
|
|
18622
19194
|
aggregate_by?: string | null;
|
|
18623
19195
|
show_previous_period?: boolean | null;
|
|
19196
|
+
complete_period?: boolean | null;
|
|
18624
19197
|
};
|
|
18625
19198
|
created_at: string;
|
|
18626
19199
|
workspace_token: string;
|
|
@@ -18649,6 +19222,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18649
19222
|
unallocated?: boolean | null;
|
|
18650
19223
|
aggregate_by?: string | null;
|
|
18651
19224
|
show_previous_period?: boolean | null;
|
|
19225
|
+
complete_period?: boolean | null;
|
|
18652
19226
|
};
|
|
18653
19227
|
created_at: string;
|
|
18654
19228
|
workspace_token: string;
|
|
@@ -18706,7 +19280,21 @@ declare class CostsApi<NeverThrow extends boolean> {
|
|
|
18706
19280
|
/**
|
|
18707
19281
|
* Generate a DataExport of costs.
|
|
18708
19282
|
*/
|
|
18709
|
-
createExport(body: CreateCostExportRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
19283
|
+
createExport(body: CreateCostExportRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [string, null] : string>;
|
|
19284
|
+
}
|
|
19285
|
+
declare class CostServicesApi<NeverThrow extends boolean> {
|
|
19286
|
+
private client;
|
|
19287
|
+
constructor(client: BaseClient<NeverThrow>);
|
|
19288
|
+
/**
|
|
19289
|
+
* List CostServices available to query in a given Workspace.
|
|
19290
|
+
*/
|
|
19291
|
+
list(body?: GetCostServicesRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19292
|
+
links?: components["schemas"]["Links"];
|
|
19293
|
+
cost_services: components["schemas"]["CostService"][];
|
|
19294
|
+
}, null] : {
|
|
19295
|
+
links?: components["schemas"]["Links"];
|
|
19296
|
+
cost_services: components["schemas"]["CostService"][];
|
|
19297
|
+
}>;
|
|
18710
19298
|
}
|
|
18711
19299
|
declare class DashboardsApi<NeverThrow extends boolean> {
|
|
18712
19300
|
private client;
|
|
@@ -18997,6 +19585,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
|
|
|
18997
19585
|
create(body: CreateFolderRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
18998
19586
|
token: string;
|
|
18999
19587
|
title: string | null;
|
|
19588
|
+
type: string;
|
|
19000
19589
|
parent_folder_token?: string | null;
|
|
19001
19590
|
saved_filter_tokens: string[];
|
|
19002
19591
|
created_at: string;
|
|
@@ -19005,6 +19594,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
|
|
|
19005
19594
|
}, null] : {
|
|
19006
19595
|
token: string;
|
|
19007
19596
|
title: string | null;
|
|
19597
|
+
type: string;
|
|
19008
19598
|
parent_folder_token?: string | null;
|
|
19009
19599
|
saved_filter_tokens: string[];
|
|
19010
19600
|
created_at: string;
|
|
@@ -19017,6 +19607,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
|
|
|
19017
19607
|
get(folderToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19018
19608
|
token: string;
|
|
19019
19609
|
title: string | null;
|
|
19610
|
+
type: string;
|
|
19020
19611
|
parent_folder_token?: string | null;
|
|
19021
19612
|
saved_filter_tokens: string[];
|
|
19022
19613
|
created_at: string;
|
|
@@ -19025,6 +19616,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
|
|
|
19025
19616
|
}, null] : {
|
|
19026
19617
|
token: string;
|
|
19027
19618
|
title: string | null;
|
|
19619
|
+
type: string;
|
|
19028
19620
|
parent_folder_token?: string | null;
|
|
19029
19621
|
saved_filter_tokens: string[];
|
|
19030
19622
|
created_at: string;
|
|
@@ -19037,6 +19629,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
|
|
|
19037
19629
|
update(folderToken: string, body: UpdateFolderRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19038
19630
|
token: string;
|
|
19039
19631
|
title: string | null;
|
|
19632
|
+
type: string;
|
|
19040
19633
|
parent_folder_token?: string | null;
|
|
19041
19634
|
saved_filter_tokens: string[];
|
|
19042
19635
|
created_at: string;
|
|
@@ -19045,6 +19638,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
|
|
|
19045
19638
|
}, null] : {
|
|
19046
19639
|
token: string;
|
|
19047
19640
|
title: string | null;
|
|
19641
|
+
type: string;
|
|
19048
19642
|
parent_folder_token?: string | null;
|
|
19049
19643
|
saved_filter_tokens: string[];
|
|
19050
19644
|
created_at: string;
|
|
@@ -19292,7 +19886,11 @@ declare class InvoicesApi<NeverThrow extends boolean> {
|
|
|
19292
19886
|
/**
|
|
19293
19887
|
* Download invoice file (PDF or CSV).
|
|
19294
19888
|
*/
|
|
19295
|
-
downloadInvoice(invoiceToken: string, body: DownloadInvoiceRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
19889
|
+
downloadInvoice(invoiceToken: string, body: DownloadInvoiceRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19890
|
+
download_url: string;
|
|
19891
|
+
}, null] : {
|
|
19892
|
+
download_url: string;
|
|
19893
|
+
}>;
|
|
19296
19894
|
/**
|
|
19297
19895
|
* Send invoice via email.
|
|
19298
19896
|
*/
|
|
@@ -19462,21 +20060,7 @@ declare class KubernetesEfficiencyReportsApi<NeverThrow extends boolean> {
|
|
|
19462
20060
|
/**
|
|
19463
20061
|
* Generate a DataExport of Kubernetes efficiency data.
|
|
19464
20062
|
*/
|
|
19465
|
-
createExport(body: CreateKubernetesEfficiencyReportExportRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
19466
|
-
token: string;
|
|
19467
|
-
status: string;
|
|
19468
|
-
created_at: string;
|
|
19469
|
-
export_type: string;
|
|
19470
|
-
manifest: components["schemas"]["DataExportManifest"];
|
|
19471
|
-
attributes: Record<string, any>;
|
|
19472
|
-
}, null] : {
|
|
19473
|
-
token: string;
|
|
19474
|
-
status: string;
|
|
19475
|
-
created_at: string;
|
|
19476
|
-
export_type: string;
|
|
19477
|
-
manifest: components["schemas"]["DataExportManifest"];
|
|
19478
|
-
attributes: Record<string, any>;
|
|
19479
|
-
}>;
|
|
20063
|
+
createExport(body: CreateKubernetesEfficiencyReportExportRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [string, null] : string>;
|
|
19480
20064
|
}
|
|
19481
20065
|
declare class ManagedAccountsApi<NeverThrow extends boolean> {
|
|
19482
20066
|
private client;
|
|
@@ -19503,6 +20087,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
|
|
|
19503
20087
|
billing_rule_tokens: string[];
|
|
19504
20088
|
email_domain?: string | null;
|
|
19505
20089
|
msp_billing_profile_token?: string | null;
|
|
20090
|
+
payment_terms_days?: number | null;
|
|
20091
|
+
include_managed_account_integrations?: boolean | null;
|
|
19506
20092
|
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19507
20093
|
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19508
20094
|
}, null] : {
|
|
@@ -19514,6 +20100,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
|
|
|
19514
20100
|
billing_rule_tokens: string[];
|
|
19515
20101
|
email_domain?: string | null;
|
|
19516
20102
|
msp_billing_profile_token?: string | null;
|
|
20103
|
+
payment_terms_days?: number | null;
|
|
20104
|
+
include_managed_account_integrations?: boolean | null;
|
|
19517
20105
|
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19518
20106
|
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19519
20107
|
}>;
|
|
@@ -19529,6 +20117,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
|
|
|
19529
20117
|
billing_rule_tokens: string[];
|
|
19530
20118
|
email_domain?: string | null;
|
|
19531
20119
|
msp_billing_profile_token?: string | null;
|
|
20120
|
+
payment_terms_days?: number | null;
|
|
20121
|
+
include_managed_account_integrations?: boolean | null;
|
|
19532
20122
|
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19533
20123
|
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19534
20124
|
}, null] : {
|
|
@@ -19540,6 +20130,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
|
|
|
19540
20130
|
billing_rule_tokens: string[];
|
|
19541
20131
|
email_domain?: string | null;
|
|
19542
20132
|
msp_billing_profile_token?: string | null;
|
|
20133
|
+
payment_terms_days?: number | null;
|
|
20134
|
+
include_managed_account_integrations?: boolean | null;
|
|
19543
20135
|
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19544
20136
|
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19545
20137
|
}>;
|
|
@@ -19555,6 +20147,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
|
|
|
19555
20147
|
billing_rule_tokens: string[];
|
|
19556
20148
|
email_domain?: string | null;
|
|
19557
20149
|
msp_billing_profile_token?: string | null;
|
|
20150
|
+
payment_terms_days?: number | null;
|
|
20151
|
+
include_managed_account_integrations?: boolean | null;
|
|
19558
20152
|
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19559
20153
|
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19560
20154
|
}, null] : {
|
|
@@ -19566,6 +20160,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
|
|
|
19566
20160
|
billing_rule_tokens: string[];
|
|
19567
20161
|
email_domain?: string | null;
|
|
19568
20162
|
msp_billing_profile_token?: string | null;
|
|
20163
|
+
payment_terms_days?: number | null;
|
|
20164
|
+
include_managed_account_integrations?: boolean | null;
|
|
19569
20165
|
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19570
20166
|
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19571
20167
|
}>;
|
|
@@ -19585,6 +20181,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
|
|
|
19585
20181
|
billing_rule_tokens: string[];
|
|
19586
20182
|
email_domain?: string | null;
|
|
19587
20183
|
msp_billing_profile_token?: string | null;
|
|
20184
|
+
payment_terms_days?: number | null;
|
|
20185
|
+
include_managed_account_integrations?: boolean | null;
|
|
19588
20186
|
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19589
20187
|
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19590
20188
|
}, null] : {
|
|
@@ -19596,6 +20194,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
|
|
|
19596
20194
|
billing_rule_tokens: string[];
|
|
19597
20195
|
email_domain?: string | null;
|
|
19598
20196
|
msp_billing_profile_token?: string | null;
|
|
20197
|
+
payment_terms_days?: number | null;
|
|
20198
|
+
include_managed_account_integrations?: boolean | null;
|
|
19599
20199
|
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19600
20200
|
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19601
20201
|
}>;
|
|
@@ -19611,6 +20211,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
|
|
|
19611
20211
|
billing_rule_tokens: string[];
|
|
19612
20212
|
email_domain?: string | null;
|
|
19613
20213
|
msp_billing_profile_token?: string | null;
|
|
20214
|
+
payment_terms_days?: number | null;
|
|
20215
|
+
include_managed_account_integrations?: boolean | null;
|
|
19614
20216
|
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19615
20217
|
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19616
20218
|
}, null] : {
|
|
@@ -19622,9 +20224,15 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
|
|
|
19622
20224
|
billing_rule_tokens: string[];
|
|
19623
20225
|
email_domain?: string | null;
|
|
19624
20226
|
msp_billing_profile_token?: string | null;
|
|
20227
|
+
payment_terms_days?: number | null;
|
|
20228
|
+
include_managed_account_integrations?: boolean | null;
|
|
19625
20229
|
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19626
20230
|
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19627
20231
|
}>;
|
|
20232
|
+
/**
|
|
20233
|
+
* Delete SSO connection for a Managed Account.
|
|
20234
|
+
*/
|
|
20235
|
+
deleteSsoConnectionForManagedAccount(managedAccountToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
19628
20236
|
}
|
|
19629
20237
|
declare class MeApi<NeverThrow extends boolean> {
|
|
19630
20238
|
private client;
|
|
@@ -19634,60 +20242,16 @@ declare class MeApi<NeverThrow extends boolean> {
|
|
|
19634
20242
|
*/
|
|
19635
20243
|
get(): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19636
20244
|
default_workspace_token: string | null;
|
|
20245
|
+
default_dashboard_token?: string | null;
|
|
19637
20246
|
workspaces: components["schemas"]["Workspace"][];
|
|
19638
20247
|
bearer_token: components["schemas"]["BearerToken"];
|
|
19639
20248
|
}, null] : {
|
|
19640
20249
|
default_workspace_token: string | null;
|
|
20250
|
+
default_dashboard_token?: string | null;
|
|
19641
20251
|
workspaces: components["schemas"]["Workspace"][];
|
|
19642
20252
|
bearer_token: components["schemas"]["BearerToken"];
|
|
19643
20253
|
}>;
|
|
19644
20254
|
}
|
|
19645
|
-
declare class CostProvidersApi<NeverThrow extends boolean> {
|
|
19646
|
-
private client;
|
|
19647
|
-
constructor(client: BaseClient<NeverThrow>);
|
|
19648
|
-
/**
|
|
19649
|
-
* List CostProviders available to query in a given Workspace.
|
|
19650
|
-
*/
|
|
19651
|
-
list(body?: GetCostProvidersRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19652
|
-
links?: components["schemas"]["Links"];
|
|
19653
|
-
cost_providers: components["schemas"]["CostProvider"][];
|
|
19654
|
-
}, null] : {
|
|
19655
|
-
links?: components["schemas"]["Links"];
|
|
19656
|
-
cost_providers: components["schemas"]["CostProvider"][];
|
|
19657
|
-
}>;
|
|
19658
|
-
}
|
|
19659
|
-
declare class CostServicesApi<NeverThrow extends boolean> {
|
|
19660
|
-
private client;
|
|
19661
|
-
constructor(client: BaseClient<NeverThrow>);
|
|
19662
|
-
/**
|
|
19663
|
-
* List CostServices available to query in a given Workspace.
|
|
19664
|
-
*/
|
|
19665
|
-
list(body?: GetCostServicesRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19666
|
-
links?: components["schemas"]["Links"];
|
|
19667
|
-
cost_services: components["schemas"]["CostService"][];
|
|
19668
|
-
}, null] : {
|
|
19669
|
-
links?: components["schemas"]["Links"];
|
|
19670
|
-
cost_services: components["schemas"]["CostService"][];
|
|
19671
|
-
}>;
|
|
19672
|
-
}
|
|
19673
|
-
declare class UserFeedbackApi<NeverThrow extends boolean> {
|
|
19674
|
-
private client;
|
|
19675
|
-
constructor(client: BaseClient<NeverThrow>);
|
|
19676
|
-
/**
|
|
19677
|
-
* Provide UserFeedback for our product and features.
|
|
19678
|
-
*/
|
|
19679
|
-
create(body: CreateUserFeedbackRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19680
|
-
token: string;
|
|
19681
|
-
message: string;
|
|
19682
|
-
created_by_token?: string | null;
|
|
19683
|
-
created_at: string;
|
|
19684
|
-
}, null] : {
|
|
19685
|
-
token: string;
|
|
19686
|
-
message: string;
|
|
19687
|
-
created_by_token?: string | null;
|
|
19688
|
-
created_at: string;
|
|
19689
|
-
}>;
|
|
19690
|
-
}
|
|
19691
20255
|
declare class NetworkFlowReportsApi<NeverThrow extends boolean> {
|
|
19692
20256
|
private client;
|
|
19693
20257
|
constructor(client: BaseClient<NeverThrow>);
|
|
@@ -19802,6 +20366,14 @@ declare class NetworkFlowReportsApi<NeverThrow extends boolean> {
|
|
|
19802
20366
|
*/
|
|
19803
20367
|
delete(networkFlowReportToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
19804
20368
|
}
|
|
20369
|
+
declare class PingApi<NeverThrow extends boolean> {
|
|
20370
|
+
private client;
|
|
20371
|
+
constructor(client: BaseClient<NeverThrow>);
|
|
20372
|
+
/**
|
|
20373
|
+
* This is a health check endpoint that can be used to determine Vantage API healthiness. It will return 200 if everything is running smoothly.
|
|
20374
|
+
*/
|
|
20375
|
+
get(): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
20376
|
+
}
|
|
19805
20377
|
declare class ProductsApi<NeverThrow extends boolean> {
|
|
19806
20378
|
private client;
|
|
19807
20379
|
constructor(client: BaseClient<NeverThrow>);
|
|
@@ -19890,6 +20462,7 @@ declare class RecommendationsApi<NeverThrow extends boolean> {
|
|
|
19890
20462
|
provider: string;
|
|
19891
20463
|
provider_account_id: string | null;
|
|
19892
20464
|
description: string;
|
|
20465
|
+
documentation_url: string | null;
|
|
19893
20466
|
potential_savings: string | null;
|
|
19894
20467
|
service: string;
|
|
19895
20468
|
created_at: string;
|
|
@@ -19904,6 +20477,7 @@ declare class RecommendationsApi<NeverThrow extends boolean> {
|
|
|
19904
20477
|
provider: string;
|
|
19905
20478
|
provider_account_id: string | null;
|
|
19906
20479
|
description: string;
|
|
20480
|
+
documentation_url: string | null;
|
|
19907
20481
|
potential_savings: string | null;
|
|
19908
20482
|
service: string;
|
|
19909
20483
|
created_at: string;
|
|
@@ -19916,20 +20490,42 @@ declare class RecommendationsApi<NeverThrow extends boolean> {
|
|
|
19916
20490
|
*/
|
|
19917
20491
|
getResources(recommendationToken: string, body?: GetRecommendationResourcesRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19918
20492
|
links?: components["schemas"]["Links"];
|
|
19919
|
-
resources: components["schemas"]["
|
|
20493
|
+
resources: components["schemas"]["RecommendationProviderResource"][];
|
|
19920
20494
|
}, null] : {
|
|
19921
20495
|
links?: components["schemas"]["Links"];
|
|
19922
|
-
resources: components["schemas"]["
|
|
20496
|
+
resources: components["schemas"]["RecommendationProviderResource"][];
|
|
19923
20497
|
}>;
|
|
19924
20498
|
/**
|
|
19925
20499
|
* Return an Active Resource, including Recommendation Actions, referenced in this Recommendation.
|
|
19926
20500
|
*/
|
|
19927
20501
|
getResource(recommendationToken: string, resourceToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19928
20502
|
token: string;
|
|
20503
|
+
uuid: string;
|
|
20504
|
+
type: string;
|
|
20505
|
+
label: string | null;
|
|
20506
|
+
metadata: Record<string, any> | null;
|
|
20507
|
+
account_id: string | null;
|
|
20508
|
+
billing_account_id: string | null;
|
|
20509
|
+
provider: string;
|
|
20510
|
+
region: string | null;
|
|
20511
|
+
costs?: components["schemas"]["ResourceCost"][];
|
|
20512
|
+
created_at: string;
|
|
20513
|
+
tags: Record<string, any>;
|
|
19929
20514
|
resource_id: string;
|
|
19930
20515
|
recommendation_actions?: components["schemas"]["RecommendationAction"][];
|
|
19931
20516
|
}, null] : {
|
|
19932
20517
|
token: string;
|
|
20518
|
+
uuid: string;
|
|
20519
|
+
type: string;
|
|
20520
|
+
label: string | null;
|
|
20521
|
+
metadata: Record<string, any> | null;
|
|
20522
|
+
account_id: string | null;
|
|
20523
|
+
billing_account_id: string | null;
|
|
20524
|
+
provider: string;
|
|
20525
|
+
region: string | null;
|
|
20526
|
+
costs?: components["schemas"]["ResourceCost"][];
|
|
20527
|
+
created_at: string;
|
|
20528
|
+
tags: Record<string, any>;
|
|
19933
20529
|
resource_id: string;
|
|
19934
20530
|
recommendation_actions?: components["schemas"]["RecommendationAction"][];
|
|
19935
20531
|
}>;
|
|
@@ -19938,10 +20534,10 @@ declare class RecommendationsApi<NeverThrow extends boolean> {
|
|
|
19938
20534
|
*/
|
|
19939
20535
|
getTypeResources(type: string, body?: GetRecommendationTypeResourcesRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19940
20536
|
links?: components["schemas"]["Links"];
|
|
19941
|
-
resources: components["schemas"]["
|
|
20537
|
+
resources: components["schemas"]["RecommendationProviderResource"][];
|
|
19942
20538
|
}, null] : {
|
|
19943
20539
|
links?: components["schemas"]["Links"];
|
|
19944
|
-
resources: components["schemas"]["
|
|
20540
|
+
resources: components["schemas"]["RecommendationProviderResource"][];
|
|
19945
20541
|
}>;
|
|
19946
20542
|
}
|
|
19947
20543
|
declare class RecommendationViewsApi<NeverThrow extends boolean> {
|
|
@@ -19970,8 +20566,10 @@ declare class RecommendationViewsApi<NeverThrow extends boolean> {
|
|
|
19970
20566
|
billing_account_ids?: string[] | null;
|
|
19971
20567
|
account_ids?: string[] | null;
|
|
19972
20568
|
regions?: string[] | null;
|
|
20569
|
+
types?: string[] | null;
|
|
19973
20570
|
tag_key?: string | null;
|
|
19974
20571
|
tag_value?: string | null;
|
|
20572
|
+
min_savings?: number | null;
|
|
19975
20573
|
created_at?: string | null;
|
|
19976
20574
|
created_by?: string | null;
|
|
19977
20575
|
}, null] : {
|
|
@@ -19984,8 +20582,10 @@ declare class RecommendationViewsApi<NeverThrow extends boolean> {
|
|
|
19984
20582
|
billing_account_ids?: string[] | null;
|
|
19985
20583
|
account_ids?: string[] | null;
|
|
19986
20584
|
regions?: string[] | null;
|
|
20585
|
+
types?: string[] | null;
|
|
19987
20586
|
tag_key?: string | null;
|
|
19988
20587
|
tag_value?: string | null;
|
|
20588
|
+
min_savings?: number | null;
|
|
19989
20589
|
created_at?: string | null;
|
|
19990
20590
|
created_by?: string | null;
|
|
19991
20591
|
}>;
|
|
@@ -20002,8 +20602,10 @@ declare class RecommendationViewsApi<NeverThrow extends boolean> {
|
|
|
20002
20602
|
billing_account_ids?: string[] | null;
|
|
20003
20603
|
account_ids?: string[] | null;
|
|
20004
20604
|
regions?: string[] | null;
|
|
20605
|
+
types?: string[] | null;
|
|
20005
20606
|
tag_key?: string | null;
|
|
20006
20607
|
tag_value?: string | null;
|
|
20608
|
+
min_savings?: number | null;
|
|
20007
20609
|
created_at?: string | null;
|
|
20008
20610
|
created_by?: string | null;
|
|
20009
20611
|
}, null] : {
|
|
@@ -20016,8 +20618,10 @@ declare class RecommendationViewsApi<NeverThrow extends boolean> {
|
|
|
20016
20618
|
billing_account_ids?: string[] | null;
|
|
20017
20619
|
account_ids?: string[] | null;
|
|
20018
20620
|
regions?: string[] | null;
|
|
20621
|
+
types?: string[] | null;
|
|
20019
20622
|
tag_key?: string | null;
|
|
20020
20623
|
tag_value?: string | null;
|
|
20624
|
+
min_savings?: number | null;
|
|
20021
20625
|
created_at?: string | null;
|
|
20022
20626
|
created_by?: string | null;
|
|
20023
20627
|
}>;
|
|
@@ -20034,8 +20638,10 @@ declare class RecommendationViewsApi<NeverThrow extends boolean> {
|
|
|
20034
20638
|
billing_account_ids?: string[] | null;
|
|
20035
20639
|
account_ids?: string[] | null;
|
|
20036
20640
|
regions?: string[] | null;
|
|
20641
|
+
types?: string[] | null;
|
|
20037
20642
|
tag_key?: string | null;
|
|
20038
20643
|
tag_value?: string | null;
|
|
20644
|
+
min_savings?: number | null;
|
|
20039
20645
|
created_at?: string | null;
|
|
20040
20646
|
created_by?: string | null;
|
|
20041
20647
|
}, null] : {
|
|
@@ -20048,8 +20654,10 @@ declare class RecommendationViewsApi<NeverThrow extends boolean> {
|
|
|
20048
20654
|
billing_account_ids?: string[] | null;
|
|
20049
20655
|
account_ids?: string[] | null;
|
|
20050
20656
|
regions?: string[] | null;
|
|
20657
|
+
types?: string[] | null;
|
|
20051
20658
|
tag_key?: string | null;
|
|
20052
20659
|
tag_value?: string | null;
|
|
20660
|
+
min_savings?: number | null;
|
|
20053
20661
|
created_at?: string | null;
|
|
20054
20662
|
created_by?: string | null;
|
|
20055
20663
|
}>;
|
|
@@ -20160,6 +20768,7 @@ declare class ResourceReportsApi<NeverThrow extends boolean> {
|
|
|
20160
20768
|
workspace_token: string;
|
|
20161
20769
|
user_token: string | null;
|
|
20162
20770
|
created_by_token: string | null;
|
|
20771
|
+
folder_token?: string | null;
|
|
20163
20772
|
columns: string[];
|
|
20164
20773
|
}, null] : {
|
|
20165
20774
|
token: string;
|
|
@@ -20169,6 +20778,7 @@ declare class ResourceReportsApi<NeverThrow extends boolean> {
|
|
|
20169
20778
|
workspace_token: string;
|
|
20170
20779
|
user_token: string | null;
|
|
20171
20780
|
created_by_token: string | null;
|
|
20781
|
+
folder_token?: string | null;
|
|
20172
20782
|
columns: string[];
|
|
20173
20783
|
}>;
|
|
20174
20784
|
/**
|
|
@@ -20182,6 +20792,7 @@ declare class ResourceReportsApi<NeverThrow extends boolean> {
|
|
|
20182
20792
|
workspace_token: string;
|
|
20183
20793
|
user_token: string | null;
|
|
20184
20794
|
created_by_token: string | null;
|
|
20795
|
+
folder_token?: string | null;
|
|
20185
20796
|
columns: string[];
|
|
20186
20797
|
}, null] : {
|
|
20187
20798
|
token: string;
|
|
@@ -20191,6 +20802,7 @@ declare class ResourceReportsApi<NeverThrow extends boolean> {
|
|
|
20191
20802
|
workspace_token: string;
|
|
20192
20803
|
user_token: string | null;
|
|
20193
20804
|
created_by_token: string | null;
|
|
20805
|
+
folder_token?: string | null;
|
|
20194
20806
|
columns: string[];
|
|
20195
20807
|
}>;
|
|
20196
20808
|
/**
|
|
@@ -20204,6 +20816,7 @@ declare class ResourceReportsApi<NeverThrow extends boolean> {
|
|
|
20204
20816
|
workspace_token: string;
|
|
20205
20817
|
user_token: string | null;
|
|
20206
20818
|
created_by_token: string | null;
|
|
20819
|
+
folder_token?: string | null;
|
|
20207
20820
|
columns: string[];
|
|
20208
20821
|
}, null] : {
|
|
20209
20822
|
token: string;
|
|
@@ -20213,6 +20826,7 @@ declare class ResourceReportsApi<NeverThrow extends boolean> {
|
|
|
20213
20826
|
workspace_token: string;
|
|
20214
20827
|
user_token: string | null;
|
|
20215
20828
|
created_by_token: string | null;
|
|
20829
|
+
folder_token?: string | null;
|
|
20216
20830
|
columns: string[];
|
|
20217
20831
|
}>;
|
|
20218
20832
|
/**
|
|
@@ -20505,6 +21119,7 @@ declare class TeamsApi<NeverThrow extends boolean> {
|
|
|
20505
21119
|
workspace_tokens: string[];
|
|
20506
21120
|
user_emails: string[];
|
|
20507
21121
|
user_tokens: string[];
|
|
21122
|
+
default_dashboard_token: string | null;
|
|
20508
21123
|
}, null] : {
|
|
20509
21124
|
token: string;
|
|
20510
21125
|
name: string;
|
|
@@ -20512,6 +21127,7 @@ declare class TeamsApi<NeverThrow extends boolean> {
|
|
|
20512
21127
|
workspace_tokens: string[];
|
|
20513
21128
|
user_emails: string[];
|
|
20514
21129
|
user_tokens: string[];
|
|
21130
|
+
default_dashboard_token: string | null;
|
|
20515
21131
|
}>;
|
|
20516
21132
|
/**
|
|
20517
21133
|
* Return a specific Team.
|
|
@@ -20523,6 +21139,7 @@ declare class TeamsApi<NeverThrow extends boolean> {
|
|
|
20523
21139
|
workspace_tokens: string[];
|
|
20524
21140
|
user_emails: string[];
|
|
20525
21141
|
user_tokens: string[];
|
|
21142
|
+
default_dashboard_token: string | null;
|
|
20526
21143
|
}, null] : {
|
|
20527
21144
|
token: string;
|
|
20528
21145
|
name: string;
|
|
@@ -20530,6 +21147,7 @@ declare class TeamsApi<NeverThrow extends boolean> {
|
|
|
20530
21147
|
workspace_tokens: string[];
|
|
20531
21148
|
user_emails: string[];
|
|
20532
21149
|
user_tokens: string[];
|
|
21150
|
+
default_dashboard_token: string | null;
|
|
20533
21151
|
}>;
|
|
20534
21152
|
/**
|
|
20535
21153
|
* Update a Team.
|
|
@@ -20541,6 +21159,7 @@ declare class TeamsApi<NeverThrow extends boolean> {
|
|
|
20541
21159
|
workspace_tokens: string[];
|
|
20542
21160
|
user_emails: string[];
|
|
20543
21161
|
user_tokens: string[];
|
|
21162
|
+
default_dashboard_token: string | null;
|
|
20544
21163
|
}, null] : {
|
|
20545
21164
|
token: string;
|
|
20546
21165
|
name: string;
|
|
@@ -20548,6 +21167,7 @@ declare class TeamsApi<NeverThrow extends boolean> {
|
|
|
20548
21167
|
workspace_tokens: string[];
|
|
20549
21168
|
user_emails: string[];
|
|
20550
21169
|
user_tokens: string[];
|
|
21170
|
+
default_dashboard_token: string | null;
|
|
20551
21171
|
}>;
|
|
20552
21172
|
/**
|
|
20553
21173
|
* Delete a Team.
|
|
@@ -20598,20 +21218,24 @@ declare class UnitCostsApi<NeverThrow extends boolean> {
|
|
|
20598
21218
|
/**
|
|
20599
21219
|
* Generate a DataExport of unit costs.
|
|
20600
21220
|
*/
|
|
20601
|
-
createExport(body: CreateUnitCostsExportRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
21221
|
+
createExport(body: CreateUnitCostsExportRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [string, null] : string>;
|
|
21222
|
+
}
|
|
21223
|
+
declare class UserFeedbackApi<NeverThrow extends boolean> {
|
|
21224
|
+
private client;
|
|
21225
|
+
constructor(client: BaseClient<NeverThrow>);
|
|
21226
|
+
/**
|
|
21227
|
+
* Provide UserFeedback for our product and features.
|
|
21228
|
+
*/
|
|
21229
|
+
create(body: CreateUserFeedbackRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
20602
21230
|
token: string;
|
|
20603
|
-
|
|
21231
|
+
message: string;
|
|
21232
|
+
created_by_token?: string | null;
|
|
20604
21233
|
created_at: string;
|
|
20605
|
-
export_type: string;
|
|
20606
|
-
manifest: components["schemas"]["DataExportManifest"];
|
|
20607
|
-
attributes: Record<string, any>;
|
|
20608
21234
|
}, null] : {
|
|
20609
21235
|
token: string;
|
|
20610
|
-
|
|
21236
|
+
message: string;
|
|
21237
|
+
created_by_token?: string | null;
|
|
20611
21238
|
created_at: string;
|
|
20612
|
-
export_type: string;
|
|
20613
|
-
manifest: components["schemas"]["DataExportManifest"];
|
|
20614
|
-
attributes: Record<string, any>;
|
|
20615
21239
|
}>;
|
|
20616
21240
|
}
|
|
20617
21241
|
declare class UsersApi<NeverThrow extends boolean> {
|
|
@@ -20635,12 +21259,32 @@ declare class UsersApi<NeverThrow extends boolean> {
|
|
|
20635
21259
|
name: string | null;
|
|
20636
21260
|
email: string;
|
|
20637
21261
|
role: string;
|
|
21262
|
+
default_dashboard_token?: string | null;
|
|
21263
|
+
last_seen_at?: string | null;
|
|
21264
|
+
}, null] : {
|
|
21265
|
+
token: string;
|
|
21266
|
+
name: string | null;
|
|
21267
|
+
email: string;
|
|
21268
|
+
role: string;
|
|
21269
|
+
default_dashboard_token?: string | null;
|
|
21270
|
+
last_seen_at?: string | null;
|
|
21271
|
+
}>;
|
|
21272
|
+
/**
|
|
21273
|
+
* Update a specific User.
|
|
21274
|
+
*/
|
|
21275
|
+
update(userToken: string, body: UpdateUserRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
21276
|
+
token: string;
|
|
21277
|
+
name: string | null;
|
|
21278
|
+
email: string;
|
|
21279
|
+
role: string;
|
|
21280
|
+
default_dashboard_token?: string | null;
|
|
20638
21281
|
last_seen_at?: string | null;
|
|
20639
21282
|
}, null] : {
|
|
20640
21283
|
token: string;
|
|
20641
21284
|
name: string | null;
|
|
20642
21285
|
email: string;
|
|
20643
21286
|
role: string;
|
|
21287
|
+
default_dashboard_token?: string | null;
|
|
20644
21288
|
last_seen_at?: string | null;
|
|
20645
21289
|
}>;
|
|
20646
21290
|
}
|
|
@@ -20656,7 +21300,7 @@ declare class VirtualTagConfigsApi<NeverThrow extends boolean> {
|
|
|
20656
21300
|
key: string;
|
|
20657
21301
|
overridable: boolean;
|
|
20658
21302
|
backfill_until: string;
|
|
20659
|
-
collapsed_tag_keys
|
|
21303
|
+
collapsed_tag_keys: components["schemas"]["VirtualTagConfigCollapsedTagKey"][];
|
|
20660
21304
|
values: components["schemas"]["VirtualTagConfigValue"][];
|
|
20661
21305
|
}, null] : {
|
|
20662
21306
|
token: string;
|
|
@@ -20664,7 +21308,7 @@ declare class VirtualTagConfigsApi<NeverThrow extends boolean> {
|
|
|
20664
21308
|
key: string;
|
|
20665
21309
|
overridable: boolean;
|
|
20666
21310
|
backfill_until: string;
|
|
20667
|
-
collapsed_tag_keys
|
|
21311
|
+
collapsed_tag_keys: components["schemas"]["VirtualTagConfigCollapsedTagKey"][];
|
|
20668
21312
|
values: components["schemas"]["VirtualTagConfigValue"][];
|
|
20669
21313
|
}>;
|
|
20670
21314
|
/**
|
|
@@ -20684,16 +21328,22 @@ declare class VirtualTagConfigsApi<NeverThrow extends boolean> {
|
|
|
20684
21328
|
key: string;
|
|
20685
21329
|
overridable: boolean;
|
|
20686
21330
|
backfill_until: string;
|
|
20687
|
-
collapsed_tag_keys
|
|
21331
|
+
collapsed_tag_keys: components["schemas"]["VirtualTagConfigCollapsedTagKey"][];
|
|
20688
21332
|
values: components["schemas"]["VirtualTagConfigValue"][];
|
|
21333
|
+
} | {
|
|
21334
|
+
request_id: string;
|
|
21335
|
+
status_url: string;
|
|
20689
21336
|
}, null] : {
|
|
20690
21337
|
token: string;
|
|
20691
21338
|
created_by_token: string | null;
|
|
20692
21339
|
key: string;
|
|
20693
21340
|
overridable: boolean;
|
|
20694
21341
|
backfill_until: string;
|
|
20695
|
-
collapsed_tag_keys
|
|
21342
|
+
collapsed_tag_keys: components["schemas"]["VirtualTagConfigCollapsedTagKey"][];
|
|
20696
21343
|
values: components["schemas"]["VirtualTagConfigValue"][];
|
|
21344
|
+
} | {
|
|
21345
|
+
request_id: string;
|
|
21346
|
+
status_url: string;
|
|
20697
21347
|
}>;
|
|
20698
21348
|
/**
|
|
20699
21349
|
* Deletes an existing VirtualTagConfig.
|
|
@@ -20714,11 +21364,17 @@ declare class VirtualTagConfigsApi<NeverThrow extends boolean> {
|
|
|
20714
21364
|
/**
|
|
20715
21365
|
* Asynchronously updates an existing VirtualTagConfig.
|
|
20716
21366
|
*/
|
|
20717
|
-
updateAsyncVirtualTagConfig(token: string, body: UpdateAsyncVirtualTagConfigRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
21367
|
+
updateAsyncVirtualTagConfig(token: string, body: UpdateAsyncVirtualTagConfigRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
21368
|
+
request_id: string;
|
|
21369
|
+
status_url: string;
|
|
21370
|
+
}, null] : {
|
|
21371
|
+
request_id: string;
|
|
21372
|
+
status_url: string;
|
|
21373
|
+
}>;
|
|
20718
21374
|
/**
|
|
20719
21375
|
* Check the status of an async VirtualTagConfig update.
|
|
20720
21376
|
*/
|
|
20721
|
-
getAsyncVirtualTagConfigStatus(requestId: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
21377
|
+
getAsyncVirtualTagConfigStatus(requestId: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [boolean, null] : boolean>;
|
|
20722
21378
|
}
|
|
20723
21379
|
declare class WorkspacesApi<NeverThrow extends boolean> {
|
|
20724
21380
|
private client;
|
|
@@ -20787,14 +21443,118 @@ declare class WorkspacesApi<NeverThrow extends boolean> {
|
|
|
20787
21443
|
currency: string;
|
|
20788
21444
|
exchange_rate_date: string;
|
|
20789
21445
|
}>;
|
|
20790
|
-
}
|
|
20791
|
-
declare class PingApi<NeverThrow extends boolean> {
|
|
20792
|
-
private client;
|
|
20793
|
-
constructor(client: BaseClient<NeverThrow>);
|
|
20794
21446
|
/**
|
|
20795
|
-
*
|
|
21447
|
+
* Delete a workspace
|
|
20796
21448
|
*/
|
|
20797
|
-
|
|
21449
|
+
delete(workspaceToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
21450
|
+
}
|
|
21451
|
+
|
|
21452
|
+
/** A string that is guaranteed to not contain slashes. Can be generated with {@link pathEncode} */
|
|
21453
|
+
type NoSlashString = string & {
|
|
21454
|
+
readonly __noSlash: unique symbol;
|
|
21455
|
+
};
|
|
21456
|
+
/** Encodes a path segment then returns a type that guarantees to TS it does not contain slashes. */
|
|
21457
|
+
declare function pathEncode(value: string): NoSlashString;
|
|
21458
|
+
type UnBracket<S extends string> = S extends `${infer X}{${string}}${infer Z}` ? UnBracket<`${X}${NoSlashString}${Z}`> : S;
|
|
21459
|
+
type PathsRedefined = {
|
|
21460
|
+
[K in keyof paths as `/v2${UnBracket<K>}`]: [paths[K], K];
|
|
21461
|
+
};
|
|
21462
|
+
/** Defines a union of paths supported by the client. */
|
|
21463
|
+
type Path = keyof PathsRedefined;
|
|
21464
|
+
type MethodsCased = {
|
|
21465
|
+
get: "GET";
|
|
21466
|
+
post: "POST";
|
|
21467
|
+
put: "PUT";
|
|
21468
|
+
delete: "DELETE";
|
|
21469
|
+
patch: "PATCH";
|
|
21470
|
+
head: "HEAD";
|
|
21471
|
+
options: "OPTIONS";
|
|
21472
|
+
trace: "TRACE";
|
|
21473
|
+
};
|
|
21474
|
+
type MethodsInverted = {
|
|
21475
|
+
[K in keyof MethodsCased as MethodsCased[K]]: K;
|
|
21476
|
+
};
|
|
21477
|
+
type MethodsPossiblyUndefined = {
|
|
21478
|
+
[K in keyof MethodsCased]?: any;
|
|
21479
|
+
};
|
|
21480
|
+
type Methods<P extends MethodsPossiblyUndefined> = {
|
|
21481
|
+
[K in keyof MethodsCased]: P[K] extends undefined ? never : MethodsCased[K];
|
|
21482
|
+
}[keyof MethodsCased];
|
|
21483
|
+
/** Defines the supported request methods for a given path. */
|
|
21484
|
+
type SupportedMethods<P extends Path> = Methods<PathsRedefined[P][0]>;
|
|
21485
|
+
type Query<T extends {
|
|
21486
|
+
parameters?: {
|
|
21487
|
+
query?: any;
|
|
21488
|
+
};
|
|
21489
|
+
} | undefined> = T["parameters"]["query"] extends never | undefined ? {} : T["parameters"]["query"];
|
|
21490
|
+
type ReqBody<T extends {
|
|
21491
|
+
requestBody?: {
|
|
21492
|
+
content: any;
|
|
21493
|
+
};
|
|
21494
|
+
} | undefined> = T extends {
|
|
21495
|
+
requestBody: {
|
|
21496
|
+
content: {
|
|
21497
|
+
"application/json": infer R;
|
|
21498
|
+
};
|
|
21499
|
+
};
|
|
21500
|
+
} ? R : T extends {
|
|
21501
|
+
requestBody: {
|
|
21502
|
+
content: {
|
|
21503
|
+
"multipart/form-data": infer R;
|
|
21504
|
+
};
|
|
21505
|
+
};
|
|
21506
|
+
} ? R : {};
|
|
21507
|
+
/** Defines the request body type for a given path and method. */
|
|
21508
|
+
type RequestBodyForPathAndMethod<P extends Path, M extends SupportedMethods<P>> = M extends "GET" ? Query<PathsRedefined[P][0][MethodsInverted[M]]> : ReqBody<PathsRedefined[P][0][MethodsInverted[M]]>;
|
|
21509
|
+
type ExtendsGoodResponseCode<Code extends number, Output> = {
|
|
21510
|
+
[C in Code]: {
|
|
21511
|
+
responses: {
|
|
21512
|
+
[_ in C]: {
|
|
21513
|
+
content: {
|
|
21514
|
+
"application/json": Output;
|
|
21515
|
+
};
|
|
21516
|
+
};
|
|
21517
|
+
};
|
|
21518
|
+
};
|
|
21519
|
+
}[Code];
|
|
21520
|
+
/** Patches for specific endpoints go here. This is useful for when the OpenAPI spec is not specific enough for our liking. */
|
|
21521
|
+
type PathAndMethodSpecificPatches = {
|
|
21522
|
+
"/v2/costs": {
|
|
21523
|
+
GET: {
|
|
21524
|
+
total_usage?: {
|
|
21525
|
+
[usageUnit: string]: string;
|
|
21526
|
+
};
|
|
21527
|
+
};
|
|
21528
|
+
};
|
|
21529
|
+
};
|
|
21530
|
+
type LookupTableType = {
|
|
21531
|
+
[P in Path]: Partial<{
|
|
21532
|
+
[M in SupportedMethods<P>]: any;
|
|
21533
|
+
}>;
|
|
21534
|
+
};
|
|
21535
|
+
type ExecutePatch<Patch, Response> = keyof Patch extends never ? Response : Omit<Response, keyof Patch> & Patch;
|
|
21536
|
+
type DoPathSpecificPatches<P extends Path, M extends SupportedMethods<P>, Response, LookupTable extends Partial<LookupTableType>> = LookupTable[P] extends never ? Response : ExecutePatch<LookupTable[P][M], Response>;
|
|
21537
|
+
/** Defines the response body type for a given path and method. */
|
|
21538
|
+
type ResponseBodyForPathAndMethod<P extends Path, M extends SupportedMethods<P>> = `${M} ${P}` extends keyof PathResponseEdgecases ? PathResponseEdgecases[`${M} ${P}` & keyof PathResponseEdgecases] : PathsRedefined[P][0][MethodsInverted[M]] extends ExtendsGoodResponseCode<200 | 201 | 202 | 203, infer R> ? DoPathSpecificPatches<P, M, R, PathAndMethodSpecificPatches> : void;
|
|
21539
|
+
/** Defines a vantage API failure */
|
|
21540
|
+
declare class VantageAPIError extends Error {
|
|
21541
|
+
readonly status: number | null;
|
|
21542
|
+
readonly statusText: string | null;
|
|
21543
|
+
readonly body: string;
|
|
21544
|
+
readonly errors: string[] | null;
|
|
21545
|
+
constructor(status: number | null, statusText: string | null, body: string);
|
|
21546
|
+
}
|
|
21547
|
+
type NeverThrowResult<T> = [null, VantageAPIError] | [T, null];
|
|
21548
|
+
/** Defines the base client for all API requests. */
|
|
21549
|
+
declare class BaseClient<NeverThrow extends boolean> {
|
|
21550
|
+
private readonly bearerToken;
|
|
21551
|
+
private readonly neverThrow;
|
|
21552
|
+
readonly baseUrl: string;
|
|
21553
|
+
/** Overridden by the generated client. Maps a route key prefix ("METHOD /path/prefix") to its edgecase handler name. */
|
|
21554
|
+
protected routeEdgecases: ReadonlyMap<string, string>;
|
|
21555
|
+
constructor(bearerToken: string, neverThrow: NeverThrow, baseUrl: string);
|
|
21556
|
+
/** Sends a request to the API. */
|
|
21557
|
+
request<RequestPath extends Path, RequestMethod extends SupportedMethods<RequestPath>>(path: RequestPath, method: RequestMethod, body: RequestBodyForPathAndMethod<RequestPath, RequestMethod>): Promise<NeverThrow extends true ? NeverThrowResult<ResponseBodyForPathAndMethod<RequestPath, RequestMethod>> : ResponseBodyForPathAndMethod<RequestPath, RequestMethod>>;
|
|
20798
21558
|
}
|
|
20799
21559
|
|
|
20800
|
-
export { APIV2Client, type AddTeamMemberRequest, type AddTeamMemberResponse, type CreateAccessGrantRequest, type CreateAccessGrantResponse, type CreateAnomalyNotificationRequest, type CreateAnomalyNotificationResponse, type CreateAzureIntegrationRequest, type CreateAzureIntegrationResponse, type CreateBillingProfileRequest, type CreateBillingProfileResponse, type CreateBillingRuleRequest, type CreateBillingRuleResponse, type CreateBudgetAlertRequest, type CreateBudgetAlertResponse, type CreateBudgetRequest, type CreateBudgetResponse, type CreateBusinessMetricRequest, type CreateBusinessMetricResponse, type CreateCostAlertRequest, type CreateCostAlertResponse, type CreateCostExportRequest, type CreateCostExportResponse, type CreateCostReportRequest, type CreateCostReportResponse, type CreateCustomProviderIntegrationRequest, type CreateCustomProviderIntegrationResponse, type CreateDashboardRequest, type CreateDashboardResponse, type CreateExchangeRatesViaCsvRequest, type CreateExchangeRatesViaCsvResponse, type CreateFinancialCommitmentReportRequest, type CreateFinancialCommitmentReportResponse, type CreateFolderRequest, type CreateFolderResponse, type CreateGCPIntegrationRequest, type CreateGCPIntegrationResponse, type CreateInvoiceRequest, type CreateInvoiceResponse, type CreateKubernetesEfficiencyReportExportRequest, type CreateKubernetesEfficiencyReportExportResponse, type CreateKubernetesEfficiencyReportRequest, type CreateKubernetesEfficiencyReportResponse, type CreateManagedAccountRequest, type CreateManagedAccountResponse, type CreateNetworkFlowReportRequest, type CreateNetworkFlowReportResponse, type CreateRecommendationViewRequest, type CreateRecommendationViewResponse, type CreateReportNotificationRequest, type CreateReportNotificationResponse, type CreateResourceReportRequest, type CreateResourceReportResponse, type CreateSavedFilterRequest, type CreateSavedFilterResponse, type CreateSegmentRequest, type CreateSegmentResponse, type CreateSsoConnectionForManagedAccountRequest, type CreateSsoConnectionForManagedAccountResponse, type CreateTeamRequest, type CreateTeamResponse, type CreateUnitCostsExportRequest, type CreateUnitCostsExportResponse, type CreateUserCostsUploadViaCsvRequest, type CreateUserCostsUploadViaCsvResponse, type CreateUserFeedbackRequest, type CreateUserFeedbackResponse, type CreateVirtualTagConfigRequest, type CreateVirtualTagConfigResponse, type CreateWorkspaceRequest, type CreateWorkspaceResponse, type DeleteAccessGrantResponse, type DeleteAnomalyNotificationResponse, type DeleteBillingProfileResponse, type DeleteBillingRuleResponse, type DeleteBudgetAlertResponse, type DeleteBudgetResponse, type DeleteBusinessMetricResponse, type DeleteCostAlertResponse, type DeleteCostReportResponse, type DeleteDashboardResponse, type DeleteFinancialCommitmentReportResponse, type DeleteFolderResponse, type DeleteIntegrationResponse, type DeleteKubernetesEfficiencyReportResponse, type DeleteManagedAccountResponse, type DeleteNetworkFlowReportResponse, type DeleteRecommendationViewResponse, type DeleteReportNotificationResponse, type DeleteResourceReportResponse, type DeleteSavedFilterResponse, type DeleteSegmentResponse, type DeleteTeamResponse, type DeleteUserCostsUploadResponse, type DeleteVirtualTagConfigResponse, type DownloadInvoiceRequest, type DownloadInvoiceResponse, type GetAccessGrantResponse, type GetAccessGrantsRequest, type GetAccessGrantsResponse, type GetAnomalyAlertResponse, type GetAnomalyAlertsRequest, type GetAnomalyAlertsResponse, type GetAnomalyNotificationResponse, type GetAnomalyNotificationsRequest, type GetAnomalyNotificationsResponse, type GetAsyncVirtualTagConfigStatusResponse, type GetAuditLogResponse, type GetAuditLogsRequest, type GetAuditLogsResponse, type GetBillingProfileResponse, type GetBillingProfilesRequest, type GetBillingProfilesResponse, type GetBillingRuleResponse, type GetBillingRulesRequest, type GetBillingRulesResponse, type GetBudgetAlertResponse, type GetBudgetAlertsRequest, type GetBudgetAlertsResponse, type GetBudgetRequest, type GetBudgetResponse, type GetBudgetsRequest, type GetBudgetsResponse, type GetBusinessMetricForecastedValuesRequest, type GetBusinessMetricForecastedValuesResponse, type GetBusinessMetricResponse, type GetBusinessMetricValuesRequest, type GetBusinessMetricValuesResponse, type GetBusinessMetricsRequest, type GetBusinessMetricsResponse, type GetCostAlertEventResponse, type GetCostAlertEventsRequest, type GetCostAlertEventsResponse, type GetCostAlertResponse, type GetCostAlertsResponse, type GetCostProviderAccountsRequest, type GetCostProviderAccountsResponse, type GetCostProvidersRequest, type GetCostProvidersResponse, type GetCostReportResponse, type GetCostReportsRequest, type GetCostReportsResponse, type GetCostServicesRequest, type GetCostServicesResponse, type GetCostsRequest, type GetCostsResponse, type GetDashboardResponse, type GetDashboardsRequest, type GetDashboardsResponse, type GetDataExportResponse, type GetExchangeRatesRequest, type GetExchangeRatesResponse, type GetFinancialCommitmentReportResponse, type GetFinancialCommitmentReportsRequest, type GetFinancialCommitmentReportsResponse, type GetFinancialCommitmentsRequest, type GetFinancialCommitmentsResponse, type GetFolderResponse, type GetFoldersRequest, type GetFoldersResponse, type GetForecastedCostsRequest, type GetForecastedCostsResponse, type GetIntegrationResponse, type GetIntegrationsRequest, type GetIntegrationsResponse, type GetInvoiceCostReportResponse, type GetInvoiceResponse, type GetInvoicesRequest, type GetInvoicesResponse, type GetKubernetesEfficiencyReportResponse, type GetKubernetesEfficiencyReportsRequest, type GetKubernetesEfficiencyReportsResponse, type GetManagedAccountResponse, type GetManagedAccountsRequest, type GetManagedAccountsResponse, type GetMeResponse, type GetNetworkFlowReportResponse, type GetNetworkFlowReportsRequest, type GetNetworkFlowReportsResponse, type GetPriceResponse, type GetPricesRequest, type GetPricesResponse, type GetProductResponse, type GetProductsRequest, type GetProductsResponse, type GetRecommendationResourceResponse, type GetRecommendationResourcesRequest, type GetRecommendationResourcesResponse, type GetRecommendationResponse, type GetRecommendationTypeResourcesRequest, type GetRecommendationTypeResourcesResponse, type GetRecommendationViewResponse, type GetRecommendationViewsRequest, type GetRecommendationViewsResponse, type GetRecommendationsRequest, type GetRecommendationsResponse, type GetReportNotificationResponse, type GetReportNotificationsRequest, type GetReportNotificationsResponse, type GetReportResourcesRequest, type GetReportResourcesResponse, type GetResourceReportColumnsRequest, type GetResourceReportColumnsResponse, type GetResourceReportResponse, type GetResourceReportsRequest, type GetResourceReportsResponse, type GetResourceRequest, type GetResourceResponse, type GetSavedFilterResponse, type GetSavedFiltersRequest, type GetSavedFiltersResponse, type GetSegmentResponse, type GetSegmentsRequest, type GetSegmentsResponse, type GetTagValuesRequest, type GetTagValuesResponse, type GetTagsRequest, type GetTagsResponse, type GetTeamMembersRequest, type GetTeamMembersResponse, type GetTeamResponse, type GetTeamsRequest, type GetTeamsResponse, type GetUnitCostsRequest, type GetUnitCostsResponse, type GetUserCostsUploadsResponse, type GetUserResponse, type GetUsersRequest, type GetUsersResponse, type GetVirtualTagConfigResponse, type GetVirtualTagConfigStatusResponse, type GetVirtualTagConfigsResponse, type GetWorkspaceResponse, type GetWorkspacesRequest, type GetWorkspacesResponse, type NoSlashString, type Path, type PingResponse, type RegenerateInvoiceResponse, type RemoveTeamMemberResponse, type RequestBodyForPathAndMethod, type ResponseBodyForPathAndMethod, type SendAndApproveInvoiceResponse, type SendInvoiceResponse, type SupportedMethods, type UpdateAccessGrantRequest, type UpdateAccessGrantResponse, type UpdateAnomalyAlertRequest, type UpdateAnomalyAlertResponse, type UpdateAnomalyNotificationRequest, type UpdateAnomalyNotificationResponse, type UpdateAsyncVirtualTagConfigRequest, type UpdateAsyncVirtualTagConfigResponse, type UpdateBillingProfileRequest, type UpdateBillingProfileResponse, type UpdateBillingRuleRequest, type UpdateBillingRuleResponse, type UpdateBudgetAlertRequest, type UpdateBudgetAlertResponse, type UpdateBudgetRequest, type UpdateBudgetResponse, type UpdateBusinessMetricRequest, type UpdateBusinessMetricResponse, type UpdateBusinessMetricValuesCSVRequest, type UpdateBusinessMetricValuesCSVResponse, type UpdateCostAlertRequest, type UpdateCostAlertResponse, type UpdateCostReportRequest, type UpdateCostReportResponse, type UpdateDashboardRequest, type UpdateDashboardResponse, type UpdateFinancialCommitmentReportRequest, type UpdateFinancialCommitmentReportResponse, type UpdateFolderRequest, type UpdateFolderResponse, type UpdateIntegrationRequest, type UpdateIntegrationResponse, type UpdateKubernetesEfficiencyReportRequest, type UpdateKubernetesEfficiencyReportResponse, type UpdateManagedAccountRequest, type UpdateManagedAccountResponse, type UpdateNetworkFlowReportRequest, type UpdateNetworkFlowReportResponse, type UpdateRecommendationViewRequest, type UpdateRecommendationViewResponse, type UpdateReportNotificationRequest, type UpdateReportNotificationResponse, type UpdateResourceReportRequest, type UpdateResourceReportResponse, type UpdateSavedFilterRequest, type UpdateSavedFilterResponse, type UpdateSegmentRequest, type UpdateSegmentResponse, type UpdateSsoConnectionForManagedAccountRequest, type UpdateSsoConnectionForManagedAccountResponse, type UpdateTagRequest, type UpdateTagResponse, type UpdateTeamRequest, type UpdateTeamResponse, type UpdateVirtualTagConfigRequest, type UpdateVirtualTagConfigResponse, type UpdateWorkspaceRequest, type UpdateWorkspaceResponse, VantageAPIError, pathEncode };
|
|
21560
|
+
export { APIV2Client, type AddTeamMemberRequest, type AddTeamMemberResponse, type CreateAccessGrantRequest, type CreateAccessGrantResponse, type CreateAnomalyNotificationRequest, type CreateAnomalyNotificationResponse, type CreateAzureIntegrationRequest, type CreateAzureIntegrationResponse, type CreateBillingProfileRequest, type CreateBillingProfileResponse, type CreateBillingRuleRequest, type CreateBillingRuleResponse, type CreateBudgetAlertRequest, type CreateBudgetAlertResponse, type CreateBudgetRequest, type CreateBudgetResponse, type CreateBusinessMetricRequest, type CreateBusinessMetricResponse, type CreateCostAlertRequest, type CreateCostAlertResponse, type CreateCostExportRequest, type CreateCostExportResponse, type CreateCostReportRequest, type CreateCostReportResponse, type CreateCustomProviderIntegrationRequest, type CreateCustomProviderIntegrationResponse, type CreateDashboardRequest, type CreateDashboardResponse, type CreateExchangeRatesViaCsvRequest, type CreateExchangeRatesViaCsvResponse, type CreateFinancialCommitmentReportRequest, type CreateFinancialCommitmentReportResponse, type CreateFolderRequest, type CreateFolderResponse, type CreateGCPIntegrationRequest, type CreateGCPIntegrationResponse, type CreateInvoiceRequest, type CreateInvoiceResponse, type CreateKubernetesEfficiencyReportExportRequest, type CreateKubernetesEfficiencyReportExportResponse, type CreateKubernetesEfficiencyReportRequest, type CreateKubernetesEfficiencyReportResponse, type CreateManagedAccountRequest, type CreateManagedAccountResponse, type CreateNetworkFlowReportRequest, type CreateNetworkFlowReportResponse, type CreateRecommendationViewRequest, type CreateRecommendationViewResponse, type CreateReportNotificationRequest, type CreateReportNotificationResponse, type CreateResourceReportRequest, type CreateResourceReportResponse, type CreateSavedFilterRequest, type CreateSavedFilterResponse, type CreateSegmentRequest, type CreateSegmentResponse, type CreateSsoConnectionForManagedAccountRequest, type CreateSsoConnectionForManagedAccountResponse, type CreateTeamRequest, type CreateTeamResponse, type CreateUnitCostsExportRequest, type CreateUnitCostsExportResponse, type CreateUserCostsUploadViaCsvRequest, type CreateUserCostsUploadViaCsvResponse, type CreateUserFeedbackRequest, type CreateUserFeedbackResponse, type CreateVirtualTagConfigRequest, type CreateVirtualTagConfigResponse, type CreateWorkspaceRequest, type CreateWorkspaceResponse, type DeleteAccessGrantResponse, type DeleteAnomalyNotificationResponse, type DeleteBillingProfileResponse, type DeleteBillingRuleResponse, type DeleteBudgetAlertResponse, type DeleteBudgetResponse, type DeleteBusinessMetricResponse, type DeleteBusinessMetricValuesRequest, type DeleteBusinessMetricValuesResponse, type DeleteCostAlertResponse, type DeleteCostReportResponse, type DeleteDashboardResponse, type DeleteFinancialCommitmentReportResponse, type DeleteFolderResponse, type DeleteIntegrationResponse, type DeleteKubernetesEfficiencyReportResponse, type DeleteManagedAccountResponse, type DeleteNetworkFlowReportResponse, type DeleteRecommendationViewResponse, type DeleteReportNotificationResponse, type DeleteResourceReportResponse, type DeleteSavedFilterResponse, type DeleteSegmentResponse, type DeleteSsoConnectionForManagedAccountResponse, type DeleteTeamResponse, type DeleteUserCostsUploadResponse, type DeleteVirtualTagConfigResponse, type DeleteWorkspaceResponse, type DownloadInvoiceRequest, type DownloadInvoiceResponse, type GetAccessGrantResponse, type GetAccessGrantsRequest, type GetAccessGrantsResponse, type GetAnomalyAlertResponse, type GetAnomalyAlertsRequest, type GetAnomalyAlertsResponse, type GetAnomalyNotificationResponse, type GetAnomalyNotificationsRequest, type GetAnomalyNotificationsResponse, type GetAsyncVirtualTagConfigStatusResponse, type GetAuditLogResponse, type GetAuditLogsRequest, type GetAuditLogsResponse, type GetBillingProfileResponse, type GetBillingProfilesRequest, type GetBillingProfilesResponse, type GetBillingRuleResponse, type GetBillingRulesRequest, type GetBillingRulesResponse, type GetBudgetAlertResponse, type GetBudgetAlertsRequest, type GetBudgetAlertsResponse, type GetBudgetRequest, type GetBudgetResponse, type GetBudgetsRequest, type GetBudgetsResponse, type GetBusinessMetricForecastedValuesRequest, type GetBusinessMetricForecastedValuesResponse, type GetBusinessMetricResponse, type GetBusinessMetricValuesRequest, type GetBusinessMetricValuesResponse, type GetBusinessMetricsRequest, type GetBusinessMetricsResponse, type GetCostAlertEventResponse, type GetCostAlertEventsRequest, type GetCostAlertEventsResponse, type GetCostAlertResponse, type GetCostAlertsResponse, type GetCostProviderAccountsRequest, type GetCostProviderAccountsResponse, type GetCostProvidersRequest, type GetCostProvidersResponse, type GetCostReportResponse, type GetCostReportsRequest, type GetCostReportsResponse, type GetCostServicesRequest, type GetCostServicesResponse, type GetCostsRequest, type GetCostsResponse, type GetDashboardResponse, type GetDashboardsRequest, type GetDashboardsResponse, type GetDataExportResponse, type GetExchangeRatesRequest, type GetExchangeRatesResponse, type GetFinancialCommitmentReportResponse, type GetFinancialCommitmentReportsRequest, type GetFinancialCommitmentReportsResponse, type GetFinancialCommitmentsRequest, type GetFinancialCommitmentsResponse, type GetFolderResponse, type GetFoldersRequest, type GetFoldersResponse, type GetForecastedCostsRequest, type GetForecastedCostsResponse, type GetIntegrationResponse, type GetIntegrationsRequest, type GetIntegrationsResponse, type GetInvoiceCostReportResponse, type GetInvoiceResponse, type GetInvoicesRequest, type GetInvoicesResponse, type GetKubernetesEfficiencyReportResponse, type GetKubernetesEfficiencyReportsRequest, type GetKubernetesEfficiencyReportsResponse, type GetManagedAccountResponse, type GetManagedAccountsRequest, type GetManagedAccountsResponse, type GetMeResponse, type GetNetworkFlowReportResponse, type GetNetworkFlowReportsRequest, type GetNetworkFlowReportsResponse, type GetPriceResponse, type GetPricesRequest, type GetPricesResponse, type GetProductResponse, type GetProductsRequest, type GetProductsResponse, type GetRecommendationResourceResponse, type GetRecommendationResourcesRequest, type GetRecommendationResourcesResponse, type GetRecommendationResponse, type GetRecommendationTypeResourcesRequest, type GetRecommendationTypeResourcesResponse, type GetRecommendationViewResponse, type GetRecommendationViewsRequest, type GetRecommendationViewsResponse, type GetRecommendationsRequest, type GetRecommendationsResponse, type GetReportNotificationResponse, type GetReportNotificationsRequest, type GetReportNotificationsResponse, type GetReportResourcesRequest, type GetReportResourcesResponse, type GetResourceReportColumnsRequest, type GetResourceReportColumnsResponse, type GetResourceReportResponse, type GetResourceReportsRequest, type GetResourceReportsResponse, type GetResourceRequest, type GetResourceResponse, type GetSavedFilterResponse, type GetSavedFiltersRequest, type GetSavedFiltersResponse, type GetSegmentResponse, type GetSegmentsRequest, type GetSegmentsResponse, type GetTagValuesRequest, type GetTagValuesResponse, type GetTagsRequest, type GetTagsResponse, type GetTeamMembersRequest, type GetTeamMembersResponse, type GetTeamResponse, type GetTeamsRequest, type GetTeamsResponse, type GetUnitCostsRequest, type GetUnitCostsResponse, type GetUserCostsUploadsResponse, type GetUserResponse, type GetUsersRequest, type GetUsersResponse, type GetVirtualTagConfigResponse, type GetVirtualTagConfigStatusResponse, type GetVirtualTagConfigsResponse, type GetWorkspaceResponse, type GetWorkspacesRequest, type GetWorkspacesResponse, type NoSlashString, type Path, type PathResponseEdgecases, type PingResponse, type RegenerateInvoiceResponse, type RemoveTeamMemberResponse, type RequestBodyForPathAndMethod, type ResponseBodyForPathAndMethod, type SendAndApproveInvoiceResponse, type SendInvoiceResponse, type SupportedMethods, type UpdateAccessGrantRequest, type UpdateAccessGrantResponse, type UpdateAnomalyAlertRequest, type UpdateAnomalyAlertResponse, type UpdateAnomalyNotificationRequest, type UpdateAnomalyNotificationResponse, type UpdateAsyncVirtualTagConfigRequest, type UpdateAsyncVirtualTagConfigResponse, type UpdateBillingProfileRequest, type UpdateBillingProfileResponse, type UpdateBillingRuleRequest, type UpdateBillingRuleResponse, type UpdateBudgetAlertRequest, type UpdateBudgetAlertResponse, type UpdateBudgetRequest, type UpdateBudgetResponse, type UpdateBusinessMetricRequest, type UpdateBusinessMetricResponse, type UpdateBusinessMetricValuesCSVRequest, type UpdateBusinessMetricValuesCSVResponse, type UpdateCostAlertRequest, type UpdateCostAlertResponse, type UpdateCostReportRequest, type UpdateCostReportResponse, type UpdateDashboardRequest, type UpdateDashboardResponse, type UpdateFinancialCommitmentReportRequest, type UpdateFinancialCommitmentReportResponse, type UpdateFolderRequest, type UpdateFolderResponse, type UpdateIntegrationRequest, type UpdateIntegrationResponse, type UpdateKubernetesEfficiencyReportRequest, type UpdateKubernetesEfficiencyReportResponse, type UpdateManagedAccountRequest, type UpdateManagedAccountResponse, type UpdateMeRequest, type UpdateMeResponse, type UpdateNetworkFlowReportRequest, type UpdateNetworkFlowReportResponse, type UpdateRecommendationViewRequest, type UpdateRecommendationViewResponse, type UpdateReportNotificationRequest, type UpdateReportNotificationResponse, type UpdateResourceReportRequest, type UpdateResourceReportResponse, type UpdateSavedFilterRequest, type UpdateSavedFilterResponse, type UpdateSegmentRequest, type UpdateSegmentResponse, type UpdateSsoConnectionForManagedAccountRequest, type UpdateSsoConnectionForManagedAccountResponse, type UpdateTagRequest, type UpdateTagResponse, type UpdateTeamRequest, type UpdateTeamResponse, type UpdateUserRequest, type UpdateUserResponse, type UpdateVirtualTagConfigRequest, type UpdateVirtualTagConfigResponse, type UpdateWorkspaceRequest, type UpdateWorkspaceResponse, VantageAPIError, pathEncode };
|