@vantage-sh/vantage-client 2.0.0 → 2.2.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/LICENSE +21 -0
- package/README.md +11 -0
- package/dist/index.d.mts +1337 -880
- package/dist/index.d.ts +1337 -880
- 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 +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1403,6 +1403,30 @@ interface paths {
|
|
|
1403
1403
|
patch?: never;
|
|
1404
1404
|
trace?: never;
|
|
1405
1405
|
};
|
|
1406
|
+
"/managed_accounts/{managed_account_token}/sso_connection": {
|
|
1407
|
+
parameters: {
|
|
1408
|
+
query?: never;
|
|
1409
|
+
header?: never;
|
|
1410
|
+
path?: never;
|
|
1411
|
+
cookie?: never;
|
|
1412
|
+
};
|
|
1413
|
+
get?: never;
|
|
1414
|
+
/**
|
|
1415
|
+
* Update SSO configuration for managed account
|
|
1416
|
+
* @description Update SSO configuration for a Managed Account.
|
|
1417
|
+
*/
|
|
1418
|
+
put: operations["updateSsoConnectionForManagedAccount"];
|
|
1419
|
+
/**
|
|
1420
|
+
* Configure SSO for managed account
|
|
1421
|
+
* @description Configure SSO for a Managed Account.
|
|
1422
|
+
*/
|
|
1423
|
+
post: operations["createSsoConnectionForManagedAccount"];
|
|
1424
|
+
delete?: never;
|
|
1425
|
+
options?: never;
|
|
1426
|
+
head?: never;
|
|
1427
|
+
patch?: never;
|
|
1428
|
+
trace?: never;
|
|
1429
|
+
};
|
|
1406
1430
|
"/me": {
|
|
1407
1431
|
parameters: {
|
|
1408
1432
|
query?: never;
|
|
@@ -1695,6 +1719,26 @@ interface paths {
|
|
|
1695
1719
|
patch?: never;
|
|
1696
1720
|
trace?: never;
|
|
1697
1721
|
};
|
|
1722
|
+
"/recommendations/by_type/{type}/resources": {
|
|
1723
|
+
parameters: {
|
|
1724
|
+
query?: never;
|
|
1725
|
+
header?: never;
|
|
1726
|
+
path?: never;
|
|
1727
|
+
cookie?: never;
|
|
1728
|
+
};
|
|
1729
|
+
/**
|
|
1730
|
+
* Get all resources for a recommendation type
|
|
1731
|
+
* @description Return all Active Resources associated with recommendations of the specified type.
|
|
1732
|
+
*/
|
|
1733
|
+
get: operations["getRecommendationTypeResources"];
|
|
1734
|
+
put?: never;
|
|
1735
|
+
post?: never;
|
|
1736
|
+
delete?: never;
|
|
1737
|
+
options?: never;
|
|
1738
|
+
head?: never;
|
|
1739
|
+
patch?: never;
|
|
1740
|
+
trace?: never;
|
|
1741
|
+
};
|
|
1698
1742
|
"/recommendation_views": {
|
|
1699
1743
|
parameters: {
|
|
1700
1744
|
query?: never;
|
|
@@ -2287,6 +2331,26 @@ interface paths {
|
|
|
2287
2331
|
patch?: never;
|
|
2288
2332
|
trace?: never;
|
|
2289
2333
|
};
|
|
2334
|
+
"/virtual_tag_configs/{token}/status": {
|
|
2335
|
+
parameters: {
|
|
2336
|
+
query?: never;
|
|
2337
|
+
header?: never;
|
|
2338
|
+
path?: never;
|
|
2339
|
+
cookie?: never;
|
|
2340
|
+
};
|
|
2341
|
+
/**
|
|
2342
|
+
* Get virtual tag config processing status
|
|
2343
|
+
* @description Return the processing status of a specific VirtualTagConfig.
|
|
2344
|
+
*/
|
|
2345
|
+
get: operations["getVirtualTagConfigStatus"];
|
|
2346
|
+
put?: never;
|
|
2347
|
+
post?: never;
|
|
2348
|
+
delete?: never;
|
|
2349
|
+
options?: never;
|
|
2350
|
+
head?: never;
|
|
2351
|
+
patch?: never;
|
|
2352
|
+
trace?: never;
|
|
2353
|
+
};
|
|
2290
2354
|
"/virtual_tag_configs/{token}/async": {
|
|
2291
2355
|
parameters: {
|
|
2292
2356
|
query?: never;
|
|
@@ -2402,15 +2466,15 @@ interface components {
|
|
|
2402
2466
|
};
|
|
2403
2467
|
Links: {
|
|
2404
2468
|
/** @description The URL of the current page of results. */
|
|
2405
|
-
self?: string;
|
|
2469
|
+
self?: string | null;
|
|
2406
2470
|
/** @description The URL of the first page of results. */
|
|
2407
|
-
first?: string;
|
|
2471
|
+
first?: string | null;
|
|
2408
2472
|
/** @description The URL of the next page of results, if one exists. */
|
|
2409
|
-
next?: string;
|
|
2473
|
+
next?: string | null;
|
|
2410
2474
|
/** @description The URL of the last page of results, if one exists. */
|
|
2411
|
-
last?: string;
|
|
2475
|
+
last?: string | null;
|
|
2412
2476
|
/** @description The URL of the previous page of results, if one exists. */
|
|
2413
|
-
prev?: string;
|
|
2477
|
+
prev?: string | null;
|
|
2414
2478
|
};
|
|
2415
2479
|
/** @description AccessGrant model */
|
|
2416
2480
|
AccessGrant: {
|
|
@@ -2474,7 +2538,7 @@ interface components {
|
|
|
2474
2538
|
* @description The date and time, in UTC, the AnomalyAlert is sent. ISO 8601 Formatted.
|
|
2475
2539
|
* @example 2021-07-09T00:00:00Z
|
|
2476
2540
|
*/
|
|
2477
|
-
alerted_at?: string;
|
|
2541
|
+
alerted_at?: string | null;
|
|
2478
2542
|
/** @description The category of the AnomalyAlert. */
|
|
2479
2543
|
category: string | null;
|
|
2480
2544
|
/** @description The provider service causing the AnomalyAlert. */
|
|
@@ -2490,9 +2554,11 @@ interface components {
|
|
|
2490
2554
|
/** @description The status of the AnomalyAlert. */
|
|
2491
2555
|
status: string;
|
|
2492
2556
|
/** @description The user-provided feedback of why alert was ignored/archived. */
|
|
2493
|
-
feedback?: string;
|
|
2557
|
+
feedback?: string | null;
|
|
2494
2558
|
/** @description The names of the resources the AnomalyAlert was attributed to. */
|
|
2495
2559
|
resources: string[];
|
|
2560
|
+
/** @description The tokens of the Resources the AnomalyAlert was attributed to. */
|
|
2561
|
+
resource_tokens: string[];
|
|
2496
2562
|
/** @description The token of the Report associated with the AnomalyAlert. */
|
|
2497
2563
|
cost_report_token: string;
|
|
2498
2564
|
};
|
|
@@ -2597,14 +2663,14 @@ interface components {
|
|
|
2597
2663
|
*/
|
|
2598
2664
|
source: string;
|
|
2599
2665
|
/** @description The name of the user who performed the action. */
|
|
2600
|
-
user?: string;
|
|
2666
|
+
user?: string | null;
|
|
2601
2667
|
/** @description The name of the workspace associated with the audit log. */
|
|
2602
|
-
workspace_title?: string;
|
|
2668
|
+
workspace_title?: string | null;
|
|
2603
2669
|
/**
|
|
2604
2670
|
* @description The token of the workspace associated with the audit log.
|
|
2605
2671
|
* @example wrkspc_1234567890abcdef
|
|
2606
2672
|
*/
|
|
2607
|
-
workspace_token?: string;
|
|
2673
|
+
workspace_token?: string | null;
|
|
2608
2674
|
/**
|
|
2609
2675
|
* @description The date and time, in UTC, the audit log was created. ISO 8601 Formatted.
|
|
2610
2676
|
* @example 2021-07-09T00:00:00Z
|
|
@@ -2908,17 +2974,17 @@ interface components {
|
|
|
2908
2974
|
* @description The start date of the BillingRule.
|
|
2909
2975
|
* @example 2024-06-28T00:00:00Z
|
|
2910
2976
|
*/
|
|
2911
|
-
start_date?: string;
|
|
2977
|
+
start_date?: string | null;
|
|
2912
2978
|
/**
|
|
2913
2979
|
* @description The end date of the BillingRule.
|
|
2914
2980
|
* @example 2024-06-28T00:00:00Z
|
|
2915
2981
|
*/
|
|
2916
|
-
end_date?: string;
|
|
2982
|
+
end_date?: string | null;
|
|
2917
2983
|
/**
|
|
2918
2984
|
* @description Whether the BillingRule applies to all future managed accounts.
|
|
2919
2985
|
* @example true
|
|
2920
2986
|
*/
|
|
2921
|
-
apply_to_all: boolean;
|
|
2987
|
+
apply_to_all: boolean | null;
|
|
2922
2988
|
/**
|
|
2923
2989
|
* @description The token of the Creator of the BillingRule.
|
|
2924
2990
|
* @example usr_1234
|
|
@@ -2933,42 +2999,42 @@ interface components {
|
|
|
2933
2999
|
* @description The service for the BillingRule (Charge).
|
|
2934
3000
|
* @example AWS Cloudfront
|
|
2935
3001
|
*/
|
|
2936
|
-
service?: string;
|
|
3002
|
+
service?: string | null;
|
|
2937
3003
|
/**
|
|
2938
3004
|
* @description The category for the BillingRule (Charge).
|
|
2939
3005
|
* @example MSP Fee
|
|
2940
3006
|
*/
|
|
2941
|
-
category?: string;
|
|
3007
|
+
category?: string | null;
|
|
2942
3008
|
/**
|
|
2943
3009
|
* @description The percentage of the cost shown for the BillingRule (Adjustment).
|
|
2944
3010
|
* @example 75.0
|
|
2945
3011
|
*/
|
|
2946
|
-
percentage?: string;
|
|
3012
|
+
percentage?: string | null;
|
|
2947
3013
|
/**
|
|
2948
3014
|
* @description The charge type for the BillingRule.
|
|
2949
3015
|
* @example RIFee
|
|
2950
3016
|
*/
|
|
2951
|
-
charge_type?: string;
|
|
3017
|
+
charge_type?: string | null;
|
|
2952
3018
|
/**
|
|
2953
3019
|
* @description The subcategory for the BillingRule (Charge).
|
|
2954
3020
|
* @example One-time
|
|
2955
3021
|
*/
|
|
2956
|
-
sub_category?: string;
|
|
3022
|
+
sub_category?: string | null;
|
|
2957
3023
|
/**
|
|
2958
3024
|
* @description The start period for the BillingRule (Charge).
|
|
2959
3025
|
* @example 2024-05-01
|
|
2960
3026
|
*/
|
|
2961
|
-
start_period?: string;
|
|
3027
|
+
start_period?: string | null;
|
|
2962
3028
|
/**
|
|
2963
3029
|
* @description The amount for the BillingRule (Charge).
|
|
2964
3030
|
* @example 5000.25
|
|
2965
3031
|
*/
|
|
2966
|
-
amount?: string;
|
|
3032
|
+
amount?: string | null;
|
|
2967
3033
|
/**
|
|
2968
3034
|
* @description The SQL query for the BillingRule (Custom).
|
|
2969
3035
|
* @example UPDATE costs SET costs.amount = costs.amount * 0.95
|
|
2970
3036
|
*/
|
|
2971
|
-
sql_query?: string;
|
|
3037
|
+
sql_query?: string | null;
|
|
2972
3038
|
};
|
|
2973
3039
|
/** @description Create a BillingRule. */
|
|
2974
3040
|
createBillingRule: {
|
|
@@ -3059,16 +3125,20 @@ interface components {
|
|
|
3059
3125
|
/** @description The token for the Workspace the ResourceReport is a part of. */
|
|
3060
3126
|
workspace_token: string;
|
|
3061
3127
|
/** @description The token for the User who created this BudgetAlert. */
|
|
3062
|
-
user_token?: string;
|
|
3128
|
+
user_token?: string | null;
|
|
3063
3129
|
/** @description The Users that receive the alert. */
|
|
3064
3130
|
user_tokens: string[];
|
|
3065
|
-
/** @description The number of days from the start or end of the month to trigger the alert if the threshold is reached. */
|
|
3066
|
-
duration_in_days: string | null;
|
|
3067
3131
|
/**
|
|
3132
|
+
* Format: int32
|
|
3133
|
+
* @description The number of days from the start or end of the month to trigger the alert if the threshold is reached.
|
|
3134
|
+
*/
|
|
3135
|
+
duration_in_days: number | null;
|
|
3136
|
+
/**
|
|
3137
|
+
* Format: int32
|
|
3068
3138
|
* @description Alerts only send if they reach this number (as a percentage). When threshold is 100, that means alerts are triggered once costs reach 100% of the budget.
|
|
3069
3139
|
* @example 75
|
|
3070
3140
|
*/
|
|
3071
|
-
threshold:
|
|
3141
|
+
threshold: number;
|
|
3072
3142
|
/**
|
|
3073
3143
|
* @description The period tracked on the alert. Used with duration_in_days to determine the time window of the alert. Possible values: start_of_the_month, end_of_the_month.
|
|
3074
3144
|
* @example start_of_the_month
|
|
@@ -3078,12 +3148,9 @@ interface components {
|
|
|
3078
3148
|
* @description The provider used for sending alerts. This must be configured in the console. Possible values are: slack, microsoft_graph.
|
|
3079
3149
|
* @example slack
|
|
3080
3150
|
*/
|
|
3081
|
-
integration_provider?: string;
|
|
3082
|
-
/**
|
|
3083
|
-
|
|
3084
|
-
* @example
|
|
3085
|
-
*/
|
|
3086
|
-
recipient_channels: string;
|
|
3151
|
+
integration_provider?: string | null;
|
|
3152
|
+
/** @description The channels receiving the alerts. Requires an integration provider to be connected. */
|
|
3153
|
+
recipient_channels: string[] | null;
|
|
3087
3154
|
};
|
|
3088
3155
|
/** @description Create a Budget Alert. */
|
|
3089
3156
|
createBudgetAlert: {
|
|
@@ -3137,11 +3204,11 @@ interface components {
|
|
|
3137
3204
|
/** @description The token for the Workspace the Budget is a part of. */
|
|
3138
3205
|
workspace_token: string;
|
|
3139
3206
|
/** @description The token for the User who created this Budget. */
|
|
3140
|
-
user_token?: string;
|
|
3207
|
+
user_token?: string | null;
|
|
3141
3208
|
/** @description The token of the Creator of the Budget. */
|
|
3142
|
-
created_by_token?: string;
|
|
3209
|
+
created_by_token?: string | null;
|
|
3143
3210
|
/** @description The token of the Report associated with the Budget. */
|
|
3144
|
-
cost_report_token?: string;
|
|
3211
|
+
cost_report_token?: string | null;
|
|
3145
3212
|
/**
|
|
3146
3213
|
* @description The date and time, in UTC, the Budget was created. ISO 8601 Formatted.
|
|
3147
3214
|
* @example 2024-03-19T00:00:00Z
|
|
@@ -3266,15 +3333,15 @@ interface components {
|
|
|
3266
3333
|
* @description The token of the Creator of the BusinessMetric.
|
|
3267
3334
|
* @example usr_1234
|
|
3268
3335
|
*/
|
|
3269
|
-
created_by_token?: string;
|
|
3336
|
+
created_by_token?: string | null;
|
|
3270
3337
|
/** @description The tokens for any CostReports that use the BusinessMetric, the unit scale, and label filter. */
|
|
3271
3338
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
3272
3339
|
/**
|
|
3273
3340
|
* @description The type of import for the BusinessMetric.
|
|
3274
3341
|
* @example datadog_metrics
|
|
3275
|
-
* @enum {string}
|
|
3342
|
+
* @enum {string|null}
|
|
3276
3343
|
*/
|
|
3277
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv";
|
|
3344
|
+
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
3278
3345
|
/** @description The Integration token used to import the BusinessMetric. */
|
|
3279
3346
|
integration_token: string | null;
|
|
3280
3347
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
@@ -3285,7 +3352,7 @@ interface components {
|
|
|
3285
3352
|
* @description The token of the CostReport the BusinessMetric is attached to.
|
|
3286
3353
|
* @example rprt_1234
|
|
3287
3354
|
*/
|
|
3288
|
-
cost_report_token: string;
|
|
3355
|
+
cost_report_token: string | null;
|
|
3289
3356
|
/**
|
|
3290
3357
|
* @description Determines the scale of the BusinessMetric's values within a particular CostReport.
|
|
3291
3358
|
* @example per_hundred
|
|
@@ -3293,7 +3360,7 @@ interface components {
|
|
|
3293
3360
|
*/
|
|
3294
3361
|
unit_scale: "per_unit" | "per_hundred" | "per_thousand" | "per_million" | "per_billion";
|
|
3295
3362
|
/** @description The labels that the BusinessMetric is filtered by within a particular CostReport. */
|
|
3296
|
-
label_filter?: string[];
|
|
3363
|
+
label_filter?: string[] | null;
|
|
3297
3364
|
};
|
|
3298
3365
|
CloudwatchFields: {
|
|
3299
3366
|
/**
|
|
@@ -3352,7 +3419,7 @@ interface components {
|
|
|
3352
3419
|
* @description The label of the Business Metric Value.
|
|
3353
3420
|
* @example Cost Center A
|
|
3354
3421
|
*/
|
|
3355
|
-
label?: string;
|
|
3422
|
+
label?: string | null;
|
|
3356
3423
|
};
|
|
3357
3424
|
/** @description Create a new BusinessMetric. */
|
|
3358
3425
|
createBusinessMetric: {
|
|
@@ -3628,9 +3695,9 @@ interface components {
|
|
|
3628
3695
|
*/
|
|
3629
3696
|
title: string;
|
|
3630
3697
|
/** @description The token for the Folder the CostReport is a part of. */
|
|
3631
|
-
folder_token?: string;
|
|
3698
|
+
folder_token?: string | null;
|
|
3632
3699
|
/** @description The tokens for the SavedFilters assigned to the CostReport. */
|
|
3633
|
-
saved_filter_tokens?: string[];
|
|
3700
|
+
saved_filter_tokens?: string[] | null;
|
|
3634
3701
|
/** @description The tokens for the BusinessMetrics assigned to the CostReport, the unit scale, and label filter. */
|
|
3635
3702
|
business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
|
|
3636
3703
|
/** @description The filter applied to the CostReport. Additional documentation available at https://docs.vantage.sh/vql. */
|
|
@@ -3639,49 +3706,49 @@ interface components {
|
|
|
3639
3706
|
* @description The grouping aggregations applied to the filtered data.
|
|
3640
3707
|
* @example provider, service
|
|
3641
3708
|
*/
|
|
3642
|
-
groupings?: string;
|
|
3709
|
+
groupings?: string | null;
|
|
3643
3710
|
/** @description Report settings. */
|
|
3644
3711
|
settings?: {
|
|
3645
3712
|
/**
|
|
3646
3713
|
* @description Report will include credits.
|
|
3647
3714
|
* @default false
|
|
3648
3715
|
*/
|
|
3649
|
-
include_credits?: boolean;
|
|
3716
|
+
include_credits?: boolean | null;
|
|
3650
3717
|
/**
|
|
3651
3718
|
* @description Report will include refunds.
|
|
3652
3719
|
* @default false
|
|
3653
3720
|
*/
|
|
3654
|
-
include_refunds?: boolean;
|
|
3721
|
+
include_refunds?: boolean | null;
|
|
3655
3722
|
/**
|
|
3656
3723
|
* @description Report will include discounts.
|
|
3657
3724
|
* @default true
|
|
3658
3725
|
*/
|
|
3659
|
-
include_discounts?: boolean;
|
|
3726
|
+
include_discounts?: boolean | null;
|
|
3660
3727
|
/**
|
|
3661
3728
|
* @description Report will include tax.
|
|
3662
3729
|
* @default true
|
|
3663
3730
|
*/
|
|
3664
|
-
include_tax?: boolean;
|
|
3731
|
+
include_tax?: boolean | null;
|
|
3665
3732
|
/**
|
|
3666
3733
|
* @description Report will amortize.
|
|
3667
3734
|
* @default true
|
|
3668
3735
|
*/
|
|
3669
|
-
amortize?: boolean;
|
|
3736
|
+
amortize?: boolean | null;
|
|
3670
3737
|
/**
|
|
3671
3738
|
* @description Report will show unallocated costs.
|
|
3672
3739
|
* @default false
|
|
3673
3740
|
*/
|
|
3674
|
-
unallocated?: boolean;
|
|
3741
|
+
unallocated?: boolean | null;
|
|
3675
3742
|
/**
|
|
3676
3743
|
* @description Report will aggregate by cost or usage.
|
|
3677
3744
|
* @default cost
|
|
3678
3745
|
*/
|
|
3679
|
-
aggregate_by?: string;
|
|
3746
|
+
aggregate_by?: string | null;
|
|
3680
3747
|
/**
|
|
3681
3748
|
* @description Report will show previous period costs or usage comparison.
|
|
3682
3749
|
* @default true
|
|
3683
3750
|
*/
|
|
3684
|
-
show_previous_period?: boolean;
|
|
3751
|
+
show_previous_period?: boolean | null;
|
|
3685
3752
|
};
|
|
3686
3753
|
/**
|
|
3687
3754
|
* @description The date and time, in UTC, the report was created. ISO 8601 Formatted.
|
|
@@ -3694,22 +3761,22 @@ interface components {
|
|
|
3694
3761
|
* @description The previous period start date of the CostReport. ISO 8601 Formatted.
|
|
3695
3762
|
* @example 2024-06-01
|
|
3696
3763
|
*/
|
|
3697
|
-
previous_period_start_date?: string;
|
|
3764
|
+
previous_period_start_date?: string | null;
|
|
3698
3765
|
/**
|
|
3699
3766
|
* @description The previous period end date of the CostReport. ISO 8601 Formatted.
|
|
3700
3767
|
* @example 2024-06-15
|
|
3701
3768
|
*/
|
|
3702
|
-
previous_period_end_date?: string;
|
|
3769
|
+
previous_period_end_date?: string | null;
|
|
3703
3770
|
/**
|
|
3704
3771
|
* @description The start date of the CostReports. ISO 8601 Formatted. Overwrites 'date_interval' if set.
|
|
3705
3772
|
* @example 2024-07-01
|
|
3706
3773
|
*/
|
|
3707
|
-
start_date?: string;
|
|
3774
|
+
start_date?: string | null;
|
|
3708
3775
|
/**
|
|
3709
3776
|
* @description The end date of the CostReports. ISO 8601 Formatted. Overwrites 'date_interval' if set.
|
|
3710
3777
|
* @example 2024-07-15
|
|
3711
3778
|
*/
|
|
3712
|
-
end_date?: string;
|
|
3779
|
+
end_date?: string | null;
|
|
3713
3780
|
/** @description The date interval of the CostReport. */
|
|
3714
3781
|
date_interval: string;
|
|
3715
3782
|
/** @description The chart type of the CostReport. */
|
|
@@ -3731,7 +3798,7 @@ interface components {
|
|
|
3731
3798
|
*/
|
|
3732
3799
|
unit_scale: "per_unit" | "per_hundred" | "per_thousand" | "per_million" | "per_billion";
|
|
3733
3800
|
/** @description The labels that the BusinessMetric is filtered by within a particular CostReport. */
|
|
3734
|
-
label_filter?: string[];
|
|
3801
|
+
label_filter?: string[] | null;
|
|
3735
3802
|
};
|
|
3736
3803
|
ChartSettings: {
|
|
3737
3804
|
/** @description The metric or measure displayed on the chart’s y-axis. Possible values: 'cost', 'usage'. Defaults to 'cost'. */
|
|
@@ -3766,7 +3833,7 @@ interface components {
|
|
|
3766
3833
|
* @example aws
|
|
3767
3834
|
* @enum {string}
|
|
3768
3835
|
*/
|
|
3769
|
-
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";
|
|
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";
|
|
3770
3837
|
/**
|
|
3771
3838
|
* @description The service for the forecasted cost. Will be 'all' for all combined services
|
|
3772
3839
|
* @example Amazon Elastic Compute Cloud - Compute
|
|
@@ -3980,12 +4047,35 @@ interface components {
|
|
|
3980
4047
|
/** @description Costs model */
|
|
3981
4048
|
Costs: {
|
|
3982
4049
|
links?: components["schemas"]["Links"];
|
|
3983
|
-
|
|
3984
|
-
total_cost: Record<string, any>;
|
|
4050
|
+
total_cost: components["schemas"]["CostPartial"];
|
|
3985
4051
|
/** @description The sum of all usage for the CostReport for the requested period, rounded to 2 decimal places, grouped by usage unit. */
|
|
3986
|
-
total_usage?:
|
|
4052
|
+
total_usage?: components["schemas"]["UsagePartial"][];
|
|
3987
4053
|
costs: components["schemas"]["Cost"][];
|
|
3988
4054
|
};
|
|
4055
|
+
CostPartial: {
|
|
4056
|
+
/**
|
|
4057
|
+
* @description The amount of the cost.
|
|
4058
|
+
* @example 4.25
|
|
4059
|
+
*/
|
|
4060
|
+
amount: string;
|
|
4061
|
+
/**
|
|
4062
|
+
* @description The currency of the cost.
|
|
4063
|
+
* @example USD
|
|
4064
|
+
*/
|
|
4065
|
+
currency: string;
|
|
4066
|
+
};
|
|
4067
|
+
UsagePartial: {
|
|
4068
|
+
/**
|
|
4069
|
+
* @description The sum of the usage.
|
|
4070
|
+
* @example 4.25
|
|
4071
|
+
*/
|
|
4072
|
+
amount: string;
|
|
4073
|
+
/**
|
|
4074
|
+
* @description The unit of the usage.
|
|
4075
|
+
* @example USD
|
|
4076
|
+
*/
|
|
4077
|
+
unit: string;
|
|
4078
|
+
};
|
|
3989
4079
|
/** @description Cost model */
|
|
3990
4080
|
Cost: {
|
|
3991
4081
|
links?: components["schemas"]["Links"];
|
|
@@ -4005,61 +4095,61 @@ interface components {
|
|
|
4005
4095
|
*/
|
|
4006
4096
|
currency: string;
|
|
4007
4097
|
/** @description The usage amount and unit incurred by the cost. */
|
|
4008
|
-
usage?: Record<string, any
|
|
4098
|
+
usage?: Record<string, any> | null;
|
|
4009
4099
|
/**
|
|
4010
4100
|
* @description The cost provider which incurred the cost.
|
|
4011
4101
|
* @example aws
|
|
4012
|
-
* @enum {string}
|
|
4102
|
+
* @enum {string|null}
|
|
4013
4103
|
*/
|
|
4014
|
-
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";
|
|
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;
|
|
4015
4105
|
/**
|
|
4016
4106
|
* @description The cost provider's billing account id that incurred the cost.
|
|
4017
4107
|
* @example 9109237192
|
|
4018
4108
|
*/
|
|
4019
|
-
billing_account_id?: string;
|
|
4109
|
+
billing_account_id?: string | null;
|
|
4020
4110
|
/**
|
|
4021
4111
|
* @description The cost provider's account id that incurred the cost.
|
|
4022
4112
|
* @example 9109237192
|
|
4023
4113
|
*/
|
|
4024
|
-
account_id?: string;
|
|
4114
|
+
account_id?: string | null;
|
|
4025
4115
|
/**
|
|
4026
4116
|
* @description The service which incurred the cost.
|
|
4027
4117
|
* @example Amazon Elastic Compute Cloud - Compute
|
|
4028
4118
|
*/
|
|
4029
|
-
service?: string;
|
|
4119
|
+
service?: string | null;
|
|
4030
4120
|
/**
|
|
4031
4121
|
* @description The region which incurred the cost.
|
|
4032
4122
|
* @example us-east-1
|
|
4033
4123
|
*/
|
|
4034
|
-
region?: string;
|
|
4124
|
+
region?: string | null;
|
|
4035
4125
|
/**
|
|
4036
4126
|
* @description The resource id which incurred the cost.
|
|
4037
4127
|
* @example arn:aws:ec2:us-east-1:123456789012:instance/i-1234567890abcdef0
|
|
4038
4128
|
*/
|
|
4039
|
-
resource_id?: string;
|
|
4129
|
+
resource_id?: string | null;
|
|
4040
4130
|
/**
|
|
4041
4131
|
* @description The tag attached to the cost that was incurred.
|
|
4042
4132
|
* DEPRECATED: does not support multiple tags.
|
|
4043
4133
|
* @example production
|
|
4044
4134
|
*/
|
|
4045
|
-
tag?: string;
|
|
4135
|
+
tag?: string | null;
|
|
4046
4136
|
/** @description The tag pairs attached to the cost that was incurred. */
|
|
4047
|
-
tags?: string[];
|
|
4137
|
+
tags?: string[] | null;
|
|
4048
4138
|
/**
|
|
4049
4139
|
* @description The category for the cost.
|
|
4050
4140
|
* @example Data Transfer
|
|
4051
4141
|
*/
|
|
4052
|
-
cost_category?: string;
|
|
4142
|
+
cost_category?: string | null;
|
|
4053
4143
|
/**
|
|
4054
4144
|
* @description The subcategory for the cost.
|
|
4055
4145
|
* @example DataTransfer-Regional-Bytes
|
|
4056
4146
|
*/
|
|
4057
|
-
cost_subcategory?: string;
|
|
4147
|
+
cost_subcategory?: string | null;
|
|
4058
4148
|
/**
|
|
4059
4149
|
* @description The segment name for segment report costs.
|
|
4060
4150
|
* @example Engineering
|
|
4061
4151
|
*/
|
|
4062
|
-
segment?: string;
|
|
4152
|
+
segment?: string | null;
|
|
4063
4153
|
};
|
|
4064
4154
|
/** @description Dashboards model */
|
|
4065
4155
|
Dashboards: {
|
|
@@ -4092,12 +4182,12 @@ interface components {
|
|
|
4092
4182
|
* @description The start date for the date range for Reports in the Dashboard. ISO 8601 Formatted. Overwrites 'date_interval' if set.
|
|
4093
4183
|
* @example 2023-08-04
|
|
4094
4184
|
*/
|
|
4095
|
-
start_date?: string;
|
|
4185
|
+
start_date?: string | null;
|
|
4096
4186
|
/**
|
|
4097
4187
|
* @description The end date for the date range for Reports in the Dashboard. ISO 8601 Formatted. Overwrites 'date_interval' if set.
|
|
4098
4188
|
* @example 2023-09-04
|
|
4099
4189
|
*/
|
|
4100
|
-
end_date?: string;
|
|
4190
|
+
end_date?: string | null;
|
|
4101
4191
|
/**
|
|
4102
4192
|
* @description The date and time, in UTC, the Dashboard was created. ISO 8601 Formatted.
|
|
4103
4193
|
* @example 2023-08-04T00:00:00Z
|
|
@@ -4209,15 +4299,14 @@ interface components {
|
|
|
4209
4299
|
/** @example cost_report */
|
|
4210
4300
|
export_type: string;
|
|
4211
4301
|
manifest: components["schemas"]["DataExportManifest"];
|
|
4212
|
-
attributes: string
|
|
4302
|
+
attributes: Record<string, any>;
|
|
4213
4303
|
};
|
|
4214
4304
|
DataExportManifest: {
|
|
4215
|
-
|
|
4216
|
-
files: string;
|
|
4305
|
+
files: string[];
|
|
4217
4306
|
/** @example 2025-03-20T12:00:00Z */
|
|
4218
|
-
completed_at: string;
|
|
4307
|
+
completed_at: string | null;
|
|
4219
4308
|
/** @example 2025-03-20T12:00:00Z */
|
|
4220
|
-
valid_until: string;
|
|
4309
|
+
valid_until: string | null;
|
|
4221
4310
|
};
|
|
4222
4311
|
/** @description ExchangeRates model */
|
|
4223
4312
|
ExchangeRates: {
|
|
@@ -4254,7 +4343,7 @@ interface components {
|
|
|
4254
4343
|
/** @description The token for the Workspace the FinancialCommitmentReport is a part of. */
|
|
4255
4344
|
workspace_token: string;
|
|
4256
4345
|
/** @description The token for the User who created this FinancialCommitmentReport. */
|
|
4257
|
-
user_token?: string;
|
|
4346
|
+
user_token?: string | null;
|
|
4258
4347
|
/**
|
|
4259
4348
|
* @description The start date for the FinancialCommitmentReport. Only set for custom date ranges. ISO 8601 Formatted.
|
|
4260
4349
|
* @example 2024-03-01
|
|
@@ -4389,10 +4478,11 @@ interface components {
|
|
|
4389
4478
|
*/
|
|
4390
4479
|
type: string;
|
|
4391
4480
|
/**
|
|
4481
|
+
* Format: int32
|
|
4392
4482
|
* @description The number of instances for the financial commitment.
|
|
4393
4483
|
* @example 4
|
|
4394
4484
|
*/
|
|
4395
|
-
amount:
|
|
4485
|
+
amount: number | null;
|
|
4396
4486
|
/**
|
|
4397
4487
|
* @description The duration in years of the financial commitment.
|
|
4398
4488
|
* @example 3 Year
|
|
@@ -4450,7 +4540,7 @@ interface components {
|
|
|
4450
4540
|
*/
|
|
4451
4541
|
title: string | null;
|
|
4452
4542
|
/** @description The token for the parent Folder, if any. */
|
|
4453
|
-
parent_folder_token?: string;
|
|
4543
|
+
parent_folder_token?: string | null;
|
|
4454
4544
|
/** @description The tokens for the SavedFilters assigned to the Folder. */
|
|
4455
4545
|
saved_filter_tokens: string[];
|
|
4456
4546
|
/**
|
|
@@ -4514,7 +4604,7 @@ interface components {
|
|
|
4514
4604
|
* @description The date and time, in UTC, when the Integration was last updated. ISO 8601 Formatted.
|
|
4515
4605
|
* @example 2023-08-04T00:00:00Z
|
|
4516
4606
|
*/
|
|
4517
|
-
last_updated?: string;
|
|
4607
|
+
last_updated?: string | null;
|
|
4518
4608
|
/** @description The tokens for any Workspaces that the account belongs to. */
|
|
4519
4609
|
workspace_tokens: string[];
|
|
4520
4610
|
/**
|
|
@@ -4647,6 +4737,18 @@ interface components {
|
|
|
4647
4737
|
*/
|
|
4648
4738
|
file_type: "pdf" | "csv";
|
|
4649
4739
|
};
|
|
4740
|
+
/** @description SendInvoice model */
|
|
4741
|
+
SendInvoice: {
|
|
4742
|
+
recipients: string[];
|
|
4743
|
+
};
|
|
4744
|
+
/** @description CostReportUrl model */
|
|
4745
|
+
CostReportUrl: {
|
|
4746
|
+
/**
|
|
4747
|
+
* @description The URL of the cost report.
|
|
4748
|
+
* @example https://example.com/cost_report.pdf
|
|
4749
|
+
*/
|
|
4750
|
+
cost_report_url: string;
|
|
4751
|
+
};
|
|
4650
4752
|
/** @description KubernetesEfficiencyReports model */
|
|
4651
4753
|
KubernetesEfficiencyReports: {
|
|
4652
4754
|
links?: components["schemas"]["Links"];
|
|
@@ -4670,7 +4772,7 @@ interface components {
|
|
|
4670
4772
|
/** @description The token for the Workspace the KubernetesEfficiencyReport is a part of. */
|
|
4671
4773
|
workspace_token: string;
|
|
4672
4774
|
/** @description The token for the User who created this KubernetesEfficiencyReport. */
|
|
4673
|
-
user_token?: string;
|
|
4775
|
+
user_token?: string | null;
|
|
4674
4776
|
/**
|
|
4675
4777
|
* @description The start date for the KubernetesEfficiencyReport. Only set for custom date ranges. ISO 8601 Formatted.
|
|
4676
4778
|
* @example 2024-03-01
|
|
@@ -4806,9 +4908,9 @@ interface components {
|
|
|
4806
4908
|
/** @description The tokens for the Billing Rules assigned to the Managed Account. */
|
|
4807
4909
|
billing_rule_tokens: string[];
|
|
4808
4910
|
/** @description Email domain associated with this Managed Account for SSO. */
|
|
4809
|
-
email_domain?: string;
|
|
4911
|
+
email_domain?: string | null;
|
|
4810
4912
|
/** @description Token of the MSP billing profile used for this managed account (MSP invoicing accounts only) */
|
|
4811
|
-
msp_billing_profile_token?: string;
|
|
4913
|
+
msp_billing_profile_token?: string | null;
|
|
4812
4914
|
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
4813
4915
|
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
4814
4916
|
};
|
|
@@ -4878,9 +4980,28 @@ interface components {
|
|
|
4878
4980
|
};
|
|
4879
4981
|
};
|
|
4880
4982
|
};
|
|
4983
|
+
/** @description Configure SSO for a Managed Account. */
|
|
4984
|
+
createSsoConnectionForManagedAccount: {
|
|
4985
|
+
/**
|
|
4986
|
+
* @description The type of SSO connection. Currently supported: saml.
|
|
4987
|
+
* @enum {string}
|
|
4988
|
+
*/
|
|
4989
|
+
type: "saml";
|
|
4990
|
+
/** @description The SAML metadata URL for the identity provider. Required when type is saml. */
|
|
4991
|
+
saml_metadata_url?: string;
|
|
4992
|
+
/** @description Additional email domains to associate with this SSO configuration. The account's SSO domain is always included. */
|
|
4993
|
+
additional_domains?: string[];
|
|
4994
|
+
};
|
|
4995
|
+
/** @description Update SSO configuration for a Managed Account. */
|
|
4996
|
+
updateSsoConnectionForManagedAccount: {
|
|
4997
|
+
/** @description The SAML metadata URL for the identity provider. */
|
|
4998
|
+
saml_metadata_url?: string;
|
|
4999
|
+
/** @description Additional email domains to associate with this SSO configuration. Replaces existing additional domains. The account's SSO domain is always preserved. */
|
|
5000
|
+
additional_domains?: string[];
|
|
5001
|
+
};
|
|
4881
5002
|
/** @description Me model */
|
|
4882
5003
|
Me: {
|
|
4883
|
-
default_workspace_token: string;
|
|
5004
|
+
default_workspace_token: string | null;
|
|
4884
5005
|
workspaces: components["schemas"]["Workspace"][];
|
|
4885
5006
|
bearer_token: components["schemas"]["BearerToken"];
|
|
4886
5007
|
};
|
|
@@ -4964,7 +5085,7 @@ interface components {
|
|
|
4964
5085
|
/** @description User feedback message */
|
|
4965
5086
|
message: string;
|
|
4966
5087
|
/** @description Token of the creator of the feedback */
|
|
4967
|
-
created_by_token?: string;
|
|
5088
|
+
created_by_token?: string | null;
|
|
4968
5089
|
/**
|
|
4969
5090
|
* @description Feedback creation timestamp
|
|
4970
5091
|
* @example 2023-01-01T00:00:00Z
|
|
@@ -4994,7 +5115,7 @@ interface components {
|
|
|
4994
5115
|
/** @description The token for the Workspace the NetworkFlowReport is a part of. */
|
|
4995
5116
|
workspace_token: string;
|
|
4996
5117
|
/** @description The token for the User or Team that created this NetworkFlowReport. */
|
|
4997
|
-
created_by_token?: string;
|
|
5118
|
+
created_by_token?: string | null;
|
|
4998
5119
|
/**
|
|
4999
5120
|
* @description The start date for the NetworkFlowReport. Only set for custom date ranges. ISO 8601 Formatted.
|
|
5000
5121
|
* @example 2024-03-01
|
|
@@ -5190,11 +5311,16 @@ interface components {
|
|
|
5190
5311
|
/** @description Recommendation model */
|
|
5191
5312
|
Recommendation: {
|
|
5192
5313
|
token: string;
|
|
5314
|
+
/**
|
|
5315
|
+
* @description The type of the Recommendation. This is analogous to category, but with a uniform format.
|
|
5316
|
+
* @example aws:ec2:co-rightsizing
|
|
5317
|
+
*/
|
|
5318
|
+
type: string;
|
|
5193
5319
|
/**
|
|
5194
5320
|
* @description The category of the Recommendation.
|
|
5195
5321
|
* @example ec2_compute_optimizer_recommender
|
|
5196
5322
|
*/
|
|
5197
|
-
category: string
|
|
5323
|
+
category: string;
|
|
5198
5324
|
/** @description The token for the Workspace the Recommendation is a part of. */
|
|
5199
5325
|
workspace_token: string;
|
|
5200
5326
|
/** @description The provider the Recommendation is for. */
|
|
@@ -5214,18 +5340,21 @@ interface components {
|
|
|
5214
5340
|
service: string;
|
|
5215
5341
|
/** @description The date and time, in UTC, the Recommendation was created. ISO 8601 Formatted. */
|
|
5216
5342
|
created_at: string;
|
|
5217
|
-
/**
|
|
5218
|
-
|
|
5343
|
+
/**
|
|
5344
|
+
* Format: int32
|
|
5345
|
+
* @description The number of ProviderResources related to the Recommendation. Use the `recommendations/:token/resources` endpoint to get the full list of resources.
|
|
5346
|
+
*/
|
|
5347
|
+
resources_affected_count: number;
|
|
5219
5348
|
/**
|
|
5220
5349
|
* @description The currency code used by the Workspace to which this Recommendation belongs.
|
|
5221
5350
|
* @example EUR
|
|
5222
5351
|
*/
|
|
5223
|
-
currency_code?: string;
|
|
5352
|
+
currency_code?: string | null;
|
|
5224
5353
|
/**
|
|
5225
5354
|
* @description The currency symbol used by the Workspace to which this Recommendation belongs.
|
|
5226
5355
|
* @example EUR
|
|
5227
5356
|
*/
|
|
5228
|
-
currency_symbol?: string;
|
|
5357
|
+
currency_symbol?: string | null;
|
|
5229
5358
|
};
|
|
5230
5359
|
/** @description RecommendationProviderResources model */
|
|
5231
5360
|
RecommendationProviderResources: {
|
|
@@ -5251,13 +5380,13 @@ interface components {
|
|
|
5251
5380
|
* @example 100.00
|
|
5252
5381
|
*/
|
|
5253
5382
|
potential_savings: string;
|
|
5254
|
-
instance_type?: string;
|
|
5255
|
-
containers?: string;
|
|
5383
|
+
instance_type?: string | null;
|
|
5384
|
+
containers?: string | null;
|
|
5256
5385
|
/**
|
|
5257
5386
|
* @description CLI command to remediate this recommendation
|
|
5258
5387
|
* @example aws ec2 stop-instances --instance-ids i-1234567890abcdef0
|
|
5259
5388
|
*/
|
|
5260
|
-
remediation_cli_command?: string;
|
|
5389
|
+
remediation_cli_command?: string | null;
|
|
5261
5390
|
};
|
|
5262
5391
|
/** @description RecommendationViews model */
|
|
5263
5392
|
RecommendationViews: {
|
|
@@ -5266,49 +5395,49 @@ interface components {
|
|
|
5266
5395
|
};
|
|
5267
5396
|
/** @description RecommendationView model */
|
|
5268
5397
|
RecommendationView: {
|
|
5269
|
-
token?: string;
|
|
5398
|
+
token?: string | null;
|
|
5270
5399
|
/**
|
|
5271
5400
|
* @description The title of the RecommendationView.
|
|
5272
5401
|
* @example Production Recommendations
|
|
5273
5402
|
*/
|
|
5274
|
-
title?: string;
|
|
5403
|
+
title?: string | null;
|
|
5275
5404
|
/** @description The token for the Workspace the RecommendationView is a part of. */
|
|
5276
|
-
workspace_token?: string;
|
|
5405
|
+
workspace_token?: string | null;
|
|
5277
5406
|
/**
|
|
5278
5407
|
* @description Filter recommendations created on/after this YYYY-MM-DD date.
|
|
5279
5408
|
* @example 2024-01-01
|
|
5280
5409
|
*/
|
|
5281
|
-
start_date?: string;
|
|
5410
|
+
start_date?: string | null;
|
|
5282
5411
|
/**
|
|
5283
5412
|
* @description Filter recommendations created on/before this YYYY-MM-DD date.
|
|
5284
5413
|
* @example 2024-12-31
|
|
5285
5414
|
*/
|
|
5286
|
-
end_date?: string;
|
|
5415
|
+
end_date?: string | null;
|
|
5287
5416
|
/** @description Filter by one or more providers. */
|
|
5288
|
-
provider_ids?: string[];
|
|
5417
|
+
provider_ids?: string[] | null;
|
|
5289
5418
|
/** @description Filter by billing account identifiers. */
|
|
5290
|
-
billing_account_ids?: string[];
|
|
5419
|
+
billing_account_ids?: string[] | null;
|
|
5291
5420
|
/** @description Filter by cloud account identifiers. */
|
|
5292
|
-
account_ids?: string[];
|
|
5421
|
+
account_ids?: string[] | null;
|
|
5293
5422
|
/** @description Filter by region slugs (e.g. us-east-1, eastus, asia-east1). */
|
|
5294
|
-
regions?: string[];
|
|
5423
|
+
regions?: string[] | null;
|
|
5295
5424
|
/**
|
|
5296
5425
|
* @description Filter by tag key (must be used with tag_value).
|
|
5297
5426
|
* @example environment
|
|
5298
5427
|
*/
|
|
5299
|
-
tag_key?: string;
|
|
5428
|
+
tag_key?: string | null;
|
|
5300
5429
|
/**
|
|
5301
5430
|
* @description Filter by tag value (requires tag_key).
|
|
5302
5431
|
* @example production
|
|
5303
5432
|
*/
|
|
5304
|
-
tag_value?: string;
|
|
5433
|
+
tag_value?: string | null;
|
|
5305
5434
|
/**
|
|
5306
5435
|
* @description The date and time, in UTC, the view was created. ISO 8601 Formatted.
|
|
5307
5436
|
* @example 2023-08-04T00:00:00Z
|
|
5308
5437
|
*/
|
|
5309
|
-
created_at?: string;
|
|
5438
|
+
created_at?: string | null;
|
|
5310
5439
|
/** @description The token for the Creator of this RecommendationView. */
|
|
5311
|
-
created_by?: string;
|
|
5440
|
+
created_by?: string | null;
|
|
5312
5441
|
};
|
|
5313
5442
|
/** @description Create a RecommendationView. */
|
|
5314
5443
|
createRecommendationView: {
|
|
@@ -5495,7 +5624,7 @@ interface components {
|
|
|
5495
5624
|
type: string;
|
|
5496
5625
|
label: string | null;
|
|
5497
5626
|
/** @description Type-specific attributes of the resource. */
|
|
5498
|
-
metadata: string | null;
|
|
5627
|
+
metadata: Record<string, any> | null;
|
|
5499
5628
|
/** @description The provider account where the resource is located. */
|
|
5500
5629
|
account_id: string | null;
|
|
5501
5630
|
/** @description The provider billing account this resource is charged to. */
|
|
@@ -5518,7 +5647,11 @@ interface components {
|
|
|
5518
5647
|
ResourceCost: {
|
|
5519
5648
|
/** @description The category of the cost. */
|
|
5520
5649
|
category: string;
|
|
5521
|
-
|
|
5650
|
+
/**
|
|
5651
|
+
* Format: float
|
|
5652
|
+
* @description The cost amount.
|
|
5653
|
+
*/
|
|
5654
|
+
amount: number;
|
|
5522
5655
|
};
|
|
5523
5656
|
/** @description SavedFilters model */
|
|
5524
5657
|
SavedFilters: {
|
|
@@ -5593,11 +5726,11 @@ interface components {
|
|
|
5593
5726
|
track_unallocated: boolean;
|
|
5594
5727
|
/** @description Report settings configurable on top-level Segments. */
|
|
5595
5728
|
report_settings?: {
|
|
5596
|
-
include_credits?: boolean;
|
|
5597
|
-
include_refunds?: boolean;
|
|
5598
|
-
include_discounts?: boolean;
|
|
5599
|
-
include_tax?: boolean;
|
|
5600
|
-
amortize?: boolean;
|
|
5729
|
+
include_credits?: boolean | null;
|
|
5730
|
+
include_refunds?: boolean | null;
|
|
5731
|
+
include_discounts?: boolean | null;
|
|
5732
|
+
include_tax?: boolean | null;
|
|
5733
|
+
amortize?: boolean | null;
|
|
5601
5734
|
};
|
|
5602
5735
|
/**
|
|
5603
5736
|
* Format: int32
|
|
@@ -5692,7 +5825,6 @@ interface components {
|
|
|
5692
5825
|
links?: components["schemas"]["Links"];
|
|
5693
5826
|
tags: components["schemas"]["Tag"][];
|
|
5694
5827
|
};
|
|
5695
|
-
/** @description Tag model */
|
|
5696
5828
|
Tag: {
|
|
5697
5829
|
/**
|
|
5698
5830
|
* @description The Tag key.
|
|
@@ -5907,7 +6039,7 @@ interface components {
|
|
|
5907
6039
|
* @description The last time the User logged in.
|
|
5908
6040
|
* @example 2024-01-01T00:00:00Z
|
|
5909
6041
|
*/
|
|
5910
|
-
last_seen_at?: string;
|
|
6042
|
+
last_seen_at?: string | null;
|
|
5911
6043
|
};
|
|
5912
6044
|
/** @description VirtualTagConfigs model */
|
|
5913
6045
|
VirtualTagConfigs: {
|
|
@@ -5961,15 +6093,17 @@ interface components {
|
|
|
5961
6093
|
* @description The name of the Value.
|
|
5962
6094
|
* @example Informatics
|
|
5963
6095
|
*/
|
|
5964
|
-
name?: string;
|
|
6096
|
+
name?: string | null;
|
|
5965
6097
|
/**
|
|
5966
6098
|
* @description The token of the associated BusinessMetric.
|
|
5967
6099
|
* @example bsnss_mtrc_abc123
|
|
5968
6100
|
*/
|
|
5969
|
-
business_metric_token?: string;
|
|
6101
|
+
business_metric_token?: string | null;
|
|
5970
6102
|
cost_metric?: components["schemas"]["VirtualTagConfigValueCostMetric"];
|
|
5971
6103
|
/** @description Labeled percentage allocations for matching costs. */
|
|
5972
6104
|
percentages?: components["schemas"]["VirtualTagConfigValuePercentage"][];
|
|
6105
|
+
/** @description Date ranges restricting when this value applies. */
|
|
6106
|
+
date_ranges?: components["schemas"]["VirtualTagConfigValueDateRange"][];
|
|
5973
6107
|
};
|
|
5974
6108
|
VirtualTagConfigValueCostMetric: {
|
|
5975
6109
|
/** @description The filter VQL for the cost metric. */
|
|
@@ -5978,7 +6112,7 @@ interface components {
|
|
|
5978
6112
|
};
|
|
5979
6113
|
VirtualTagConfigValueCostMetricAggregation: {
|
|
5980
6114
|
/** @description The tag to aggregate on. */
|
|
5981
|
-
tag?: string;
|
|
6115
|
+
tag?: string | null;
|
|
5982
6116
|
};
|
|
5983
6117
|
VirtualTagConfigValuePercentage: {
|
|
5984
6118
|
/**
|
|
@@ -5992,6 +6126,36 @@ interface components {
|
|
|
5992
6126
|
*/
|
|
5993
6127
|
pct: number;
|
|
5994
6128
|
};
|
|
6129
|
+
VirtualTagConfigValueDateRange: {
|
|
6130
|
+
/** @description The start date of the range (inclusive), or null for unbounded. */
|
|
6131
|
+
start_date: string | null;
|
|
6132
|
+
/** @description The end date of the range (inclusive), or null for unbounded. */
|
|
6133
|
+
end_date: string | null;
|
|
6134
|
+
};
|
|
6135
|
+
/** @description VirtualTagConfigStatus model */
|
|
6136
|
+
VirtualTagConfigStatus: {
|
|
6137
|
+
/**
|
|
6138
|
+
* @description The token of the VirtualTagConfig.
|
|
6139
|
+
* @example vtag_1234
|
|
6140
|
+
*/
|
|
6141
|
+
token: string;
|
|
6142
|
+
/** @description Whether the VirtualTagConfig is currently processing. True if any provider has not completed processing. */
|
|
6143
|
+
processing: boolean;
|
|
6144
|
+
/** @description Processing status broken down by provider. */
|
|
6145
|
+
providers: components["schemas"]["VirtualTagConfigProviderStatus"][];
|
|
6146
|
+
};
|
|
6147
|
+
VirtualTagConfigProviderStatus: {
|
|
6148
|
+
/**
|
|
6149
|
+
* @description The provider name.
|
|
6150
|
+
* @example aws
|
|
6151
|
+
*/
|
|
6152
|
+
provider: string;
|
|
6153
|
+
/**
|
|
6154
|
+
* @description The processing status for this provider. Possible values: queued, processing, complete, failed.
|
|
6155
|
+
* @example processing
|
|
6156
|
+
*/
|
|
6157
|
+
status: string;
|
|
6158
|
+
};
|
|
5995
6159
|
/** @description Create a new VirtualTagConfig. */
|
|
5996
6160
|
createVirtualTagConfig: {
|
|
5997
6161
|
/** @description The key of the VirtualTagConfig. */
|
|
@@ -6029,6 +6193,13 @@ interface components {
|
|
|
6029
6193
|
/** Format: float */
|
|
6030
6194
|
pct: number;
|
|
6031
6195
|
}[];
|
|
6196
|
+
/** @description Date ranges restricting when this value applies. Each range has optional start_date and end_date (inclusive, YYYY-MM-DD). */
|
|
6197
|
+
date_ranges?: {
|
|
6198
|
+
/** @description Inclusive start date (YYYY-MM-DD), or null for unbounded. */
|
|
6199
|
+
start_date?: string;
|
|
6200
|
+
/** @description Inclusive end date (YYYY-MM-DD), or null for unbounded. */
|
|
6201
|
+
end_date?: string;
|
|
6202
|
+
}[];
|
|
6032
6203
|
}[];
|
|
6033
6204
|
};
|
|
6034
6205
|
/** @description Updates an existing VirtualTagConfig. */
|
|
@@ -6068,6 +6239,13 @@ interface components {
|
|
|
6068
6239
|
/** Format: float */
|
|
6069
6240
|
pct: number;
|
|
6070
6241
|
}[];
|
|
6242
|
+
/** @description Date ranges restricting when this value applies. Each range has optional start_date and end_date (inclusive, YYYY-MM-DD). */
|
|
6243
|
+
date_ranges?: {
|
|
6244
|
+
/** @description Inclusive start date (YYYY-MM-DD), or null for unbounded. */
|
|
6245
|
+
start_date?: string;
|
|
6246
|
+
/** @description Inclusive end date (YYYY-MM-DD), or null for unbounded. */
|
|
6247
|
+
end_date?: string;
|
|
6248
|
+
}[];
|
|
6071
6249
|
}[];
|
|
6072
6250
|
};
|
|
6073
6251
|
/** @description Asynchronously updates an existing VirtualTagConfig. */
|
|
@@ -6107,6 +6285,13 @@ interface components {
|
|
|
6107
6285
|
/** Format: float */
|
|
6108
6286
|
pct: number;
|
|
6109
6287
|
}[];
|
|
6288
|
+
/** @description Date ranges restricting when this value applies. Each range has optional start_date and end_date (inclusive, YYYY-MM-DD). */
|
|
6289
|
+
date_ranges?: {
|
|
6290
|
+
/** @description Inclusive start date (YYYY-MM-DD), or null for unbounded. */
|
|
6291
|
+
start_date?: string;
|
|
6292
|
+
/** @description Inclusive end date (YYYY-MM-DD), or null for unbounded. */
|
|
6293
|
+
end_date?: string;
|
|
6294
|
+
}[];
|
|
6110
6295
|
}[];
|
|
6111
6296
|
};
|
|
6112
6297
|
/** @description Workspaces model */
|
|
@@ -6479,6 +6664,9 @@ interface operations {
|
|
|
6479
6664
|
* "resources": [
|
|
6480
6665
|
* "production-cluster"
|
|
6481
6666
|
* ],
|
|
6667
|
+
* "resource_tokens": [
|
|
6668
|
+
* "rsrc_abcd1234efgh5678"
|
|
6669
|
+
* ],
|
|
6482
6670
|
* "cost_report_token": "rprt_3d541a4c5160711f"
|
|
6483
6671
|
* }
|
|
6484
6672
|
* ]
|
|
@@ -6518,6 +6706,12 @@ interface operations {
|
|
|
6518
6706
|
* "seven_day_average": "10.0",
|
|
6519
6707
|
* "status": "active",
|
|
6520
6708
|
* "feedback": null,
|
|
6709
|
+
* "resources": [
|
|
6710
|
+
* "production-cluster"
|
|
6711
|
+
* ],
|
|
6712
|
+
* "resource_tokens": [
|
|
6713
|
+
* "rsrc_abcd1234efgh5678"
|
|
6714
|
+
* ],
|
|
6521
6715
|
* "cost_report_token": "rprt_bf0a30084fbf52c2"
|
|
6522
6716
|
* }
|
|
6523
6717
|
*/
|
|
@@ -7524,7 +7718,7 @@ interface operations {
|
|
|
7524
7718
|
};
|
|
7525
7719
|
};
|
|
7526
7720
|
responses: {
|
|
7527
|
-
|
|
7721
|
+
200: {
|
|
7528
7722
|
headers: {
|
|
7529
7723
|
[name: string]: unknown;
|
|
7530
7724
|
};
|
|
@@ -8383,7 +8577,7 @@ interface operations {
|
|
|
8383
8577
|
};
|
|
8384
8578
|
};
|
|
8385
8579
|
responses: {
|
|
8386
|
-
|
|
8580
|
+
200: {
|
|
8387
8581
|
headers: {
|
|
8388
8582
|
[name: string]: unknown;
|
|
8389
8583
|
};
|
|
@@ -11138,7 +11332,7 @@ interface operations {
|
|
|
11138
11332
|
[name: string]: unknown;
|
|
11139
11333
|
};
|
|
11140
11334
|
content: {
|
|
11141
|
-
"application/json": components["schemas"]["
|
|
11335
|
+
"application/json": components["schemas"]["SendInvoice"];
|
|
11142
11336
|
};
|
|
11143
11337
|
};
|
|
11144
11338
|
/** @description BadRequest */
|
|
@@ -11178,7 +11372,7 @@ interface operations {
|
|
|
11178
11372
|
[name: string]: unknown;
|
|
11179
11373
|
};
|
|
11180
11374
|
content: {
|
|
11181
|
-
"application/json": components["schemas"]["
|
|
11375
|
+
"application/json": components["schemas"]["SendInvoice"];
|
|
11182
11376
|
};
|
|
11183
11377
|
};
|
|
11184
11378
|
/** @description BadRequest */
|
|
@@ -11212,13 +11406,13 @@ interface operations {
|
|
|
11212
11406
|
};
|
|
11213
11407
|
requestBody?: never;
|
|
11214
11408
|
responses: {
|
|
11215
|
-
/** @description
|
|
11409
|
+
/** @description Get cost report URL for invoice period. */
|
|
11216
11410
|
200: {
|
|
11217
11411
|
headers: {
|
|
11218
11412
|
[name: string]: unknown;
|
|
11219
11413
|
};
|
|
11220
11414
|
content: {
|
|
11221
|
-
"application/json": components["schemas"]["
|
|
11415
|
+
"application/json": components["schemas"]["CostReportUrl"];
|
|
11222
11416
|
};
|
|
11223
11417
|
};
|
|
11224
11418
|
/** @description NotFound */
|
|
@@ -11770,92 +11964,70 @@ interface operations {
|
|
|
11770
11964
|
};
|
|
11771
11965
|
};
|
|
11772
11966
|
};
|
|
11773
|
-
|
|
11967
|
+
updateSsoConnectionForManagedAccount: {
|
|
11774
11968
|
parameters: {
|
|
11775
11969
|
query?: never;
|
|
11776
11970
|
header?: never;
|
|
11777
|
-
path
|
|
11971
|
+
path: {
|
|
11972
|
+
managed_account_token: string;
|
|
11973
|
+
};
|
|
11778
11974
|
cookie?: never;
|
|
11779
11975
|
};
|
|
11780
|
-
requestBody
|
|
11976
|
+
requestBody: {
|
|
11977
|
+
content: {
|
|
11978
|
+
"application/json": components["schemas"]["updateSsoConnectionForManagedAccount"];
|
|
11979
|
+
};
|
|
11980
|
+
};
|
|
11781
11981
|
responses: {
|
|
11782
|
-
/** @description General information about the user. */
|
|
11783
11982
|
200: {
|
|
11784
11983
|
headers: {
|
|
11785
11984
|
[name: string]: unknown;
|
|
11786
11985
|
};
|
|
11787
11986
|
content: {
|
|
11788
|
-
"application/json": components["schemas"]["
|
|
11987
|
+
"application/json": components["schemas"]["ManagedAccount"];
|
|
11789
11988
|
};
|
|
11790
11989
|
};
|
|
11791
|
-
|
|
11792
|
-
|
|
11793
|
-
getCostProviders: {
|
|
11794
|
-
parameters: {
|
|
11795
|
-
query?: {
|
|
11796
|
-
/** @description The token of the Workspace to list CostProviders for. Required if the API token is associated with multiple Workspaces. */
|
|
11797
|
-
workspace_token?: string;
|
|
11798
|
-
};
|
|
11799
|
-
header?: never;
|
|
11800
|
-
path?: never;
|
|
11801
|
-
cookie?: never;
|
|
11802
|
-
};
|
|
11803
|
-
requestBody?: never;
|
|
11804
|
-
responses: {
|
|
11805
|
-
/** @description List of connected CostProviders. */
|
|
11806
|
-
200: {
|
|
11990
|
+
/** @description BadRequest */
|
|
11991
|
+
400: {
|
|
11807
11992
|
headers: {
|
|
11808
11993
|
[name: string]: unknown;
|
|
11809
11994
|
};
|
|
11810
11995
|
content: {
|
|
11811
|
-
"application/json": components["schemas"]["
|
|
11996
|
+
"application/json": components["schemas"]["Errors"];
|
|
11812
11997
|
};
|
|
11813
11998
|
};
|
|
11814
|
-
|
|
11815
|
-
|
|
11816
|
-
getCostServices: {
|
|
11817
|
-
parameters: {
|
|
11818
|
-
query?: {
|
|
11819
|
-
/** @description The token of the Workspace to list CostServices for. Required if the API token is associated with multiple Workspaces. */
|
|
11820
|
-
workspace_token?: string;
|
|
11821
|
-
};
|
|
11822
|
-
header?: never;
|
|
11823
|
-
path?: never;
|
|
11824
|
-
cookie?: never;
|
|
11825
|
-
};
|
|
11826
|
-
requestBody?: never;
|
|
11827
|
-
responses: {
|
|
11828
|
-
/** @description List of CostServices, used to query costs using VQL. */
|
|
11829
|
-
200: {
|
|
11999
|
+
/** @description NotFound */
|
|
12000
|
+
404: {
|
|
11830
12001
|
headers: {
|
|
11831
12002
|
[name: string]: unknown;
|
|
11832
12003
|
};
|
|
11833
12004
|
content: {
|
|
11834
|
-
"application/json": components["schemas"]["
|
|
12005
|
+
"application/json": components["schemas"]["Errors"];
|
|
11835
12006
|
};
|
|
11836
12007
|
};
|
|
11837
12008
|
};
|
|
11838
12009
|
};
|
|
11839
|
-
|
|
12010
|
+
createSsoConnectionForManagedAccount: {
|
|
11840
12011
|
parameters: {
|
|
11841
12012
|
query?: never;
|
|
11842
12013
|
header?: never;
|
|
11843
|
-
path
|
|
12014
|
+
path: {
|
|
12015
|
+
managed_account_token: string;
|
|
12016
|
+
};
|
|
11844
12017
|
cookie?: never;
|
|
11845
12018
|
};
|
|
11846
12019
|
requestBody: {
|
|
11847
12020
|
content: {
|
|
11848
|
-
"application/json": components["schemas"]["
|
|
12021
|
+
"application/json": components["schemas"]["createSsoConnectionForManagedAccount"];
|
|
11849
12022
|
};
|
|
11850
12023
|
};
|
|
11851
12024
|
responses: {
|
|
11852
|
-
/** @description Provide UserFeedback for our product and features. */
|
|
11853
12025
|
201: {
|
|
11854
12026
|
headers: {
|
|
11855
12027
|
[name: string]: unknown;
|
|
11856
12028
|
};
|
|
11857
12029
|
content: {
|
|
11858
|
-
"application/json": components["schemas"]["
|
|
12030
|
+
"application/json": components["schemas"]["ManagedAccount"];
|
|
11859
12031
|
};
|
|
11860
12032
|
};
|
|
11861
12033
|
/** @description BadRequest */
|
|
@@ -11867,8 +12039,8 @@ interface operations {
|
|
|
11867
12039
|
"application/json": components["schemas"]["Errors"];
|
|
11868
12040
|
};
|
|
11869
12041
|
};
|
|
11870
|
-
/** @description
|
|
11871
|
-
|
|
12042
|
+
/** @description NotFound */
|
|
12043
|
+
404: {
|
|
11872
12044
|
headers: {
|
|
11873
12045
|
[name: string]: unknown;
|
|
11874
12046
|
};
|
|
@@ -11878,11 +12050,119 @@ interface operations {
|
|
|
11878
12050
|
};
|
|
11879
12051
|
};
|
|
11880
12052
|
};
|
|
11881
|
-
|
|
12053
|
+
getMe: {
|
|
11882
12054
|
parameters: {
|
|
11883
|
-
query?:
|
|
11884
|
-
|
|
11885
|
-
|
|
12055
|
+
query?: never;
|
|
12056
|
+
header?: never;
|
|
12057
|
+
path?: never;
|
|
12058
|
+
cookie?: never;
|
|
12059
|
+
};
|
|
12060
|
+
requestBody?: never;
|
|
12061
|
+
responses: {
|
|
12062
|
+
/** @description General information about the user. */
|
|
12063
|
+
200: {
|
|
12064
|
+
headers: {
|
|
12065
|
+
[name: string]: unknown;
|
|
12066
|
+
};
|
|
12067
|
+
content: {
|
|
12068
|
+
"application/json": components["schemas"]["Me"];
|
|
12069
|
+
};
|
|
12070
|
+
};
|
|
12071
|
+
};
|
|
12072
|
+
};
|
|
12073
|
+
getCostProviders: {
|
|
12074
|
+
parameters: {
|
|
12075
|
+
query?: {
|
|
12076
|
+
/** @description The token of the Workspace to list CostProviders for. Required if the API token is associated with multiple Workspaces. */
|
|
12077
|
+
workspace_token?: string;
|
|
12078
|
+
};
|
|
12079
|
+
header?: never;
|
|
12080
|
+
path?: never;
|
|
12081
|
+
cookie?: never;
|
|
12082
|
+
};
|
|
12083
|
+
requestBody?: never;
|
|
12084
|
+
responses: {
|
|
12085
|
+
/** @description List of connected CostProviders. */
|
|
12086
|
+
200: {
|
|
12087
|
+
headers: {
|
|
12088
|
+
[name: string]: unknown;
|
|
12089
|
+
};
|
|
12090
|
+
content: {
|
|
12091
|
+
"application/json": components["schemas"]["CostProviders"];
|
|
12092
|
+
};
|
|
12093
|
+
};
|
|
12094
|
+
};
|
|
12095
|
+
};
|
|
12096
|
+
getCostServices: {
|
|
12097
|
+
parameters: {
|
|
12098
|
+
query?: {
|
|
12099
|
+
/** @description The token of the Workspace to list CostServices for. Required if the API token is associated with multiple Workspaces. */
|
|
12100
|
+
workspace_token?: string;
|
|
12101
|
+
};
|
|
12102
|
+
header?: never;
|
|
12103
|
+
path?: never;
|
|
12104
|
+
cookie?: never;
|
|
12105
|
+
};
|
|
12106
|
+
requestBody?: never;
|
|
12107
|
+
responses: {
|
|
12108
|
+
/** @description List of CostServices, used to query costs using VQL. */
|
|
12109
|
+
200: {
|
|
12110
|
+
headers: {
|
|
12111
|
+
[name: string]: unknown;
|
|
12112
|
+
};
|
|
12113
|
+
content: {
|
|
12114
|
+
"application/json": components["schemas"]["CostServices"];
|
|
12115
|
+
};
|
|
12116
|
+
};
|
|
12117
|
+
};
|
|
12118
|
+
};
|
|
12119
|
+
createUserFeedback: {
|
|
12120
|
+
parameters: {
|
|
12121
|
+
query?: never;
|
|
12122
|
+
header?: never;
|
|
12123
|
+
path?: never;
|
|
12124
|
+
cookie?: never;
|
|
12125
|
+
};
|
|
12126
|
+
requestBody: {
|
|
12127
|
+
content: {
|
|
12128
|
+
"application/json": components["schemas"]["createUserFeedback"];
|
|
12129
|
+
};
|
|
12130
|
+
};
|
|
12131
|
+
responses: {
|
|
12132
|
+
/** @description Provide UserFeedback for our product and features. */
|
|
12133
|
+
201: {
|
|
12134
|
+
headers: {
|
|
12135
|
+
[name: string]: unknown;
|
|
12136
|
+
};
|
|
12137
|
+
content: {
|
|
12138
|
+
"application/json": components["schemas"]["UserFeedback"];
|
|
12139
|
+
};
|
|
12140
|
+
};
|
|
12141
|
+
/** @description BadRequest */
|
|
12142
|
+
400: {
|
|
12143
|
+
headers: {
|
|
12144
|
+
[name: string]: unknown;
|
|
12145
|
+
};
|
|
12146
|
+
content: {
|
|
12147
|
+
"application/json": components["schemas"]["Errors"];
|
|
12148
|
+
};
|
|
12149
|
+
};
|
|
12150
|
+
/** @description UnprocessableEntity */
|
|
12151
|
+
422: {
|
|
12152
|
+
headers: {
|
|
12153
|
+
[name: string]: unknown;
|
|
12154
|
+
};
|
|
12155
|
+
content: {
|
|
12156
|
+
"application/json": components["schemas"]["Errors"];
|
|
12157
|
+
};
|
|
12158
|
+
};
|
|
12159
|
+
};
|
|
12160
|
+
};
|
|
12161
|
+
getNetworkFlowReports: {
|
|
12162
|
+
parameters: {
|
|
12163
|
+
query?: {
|
|
12164
|
+
/** @description The page of results to return. */
|
|
12165
|
+
page?: number;
|
|
11886
12166
|
/** @description The amount of results to return. The maximum is 1000. */
|
|
11887
12167
|
limit?: number;
|
|
11888
12168
|
};
|
|
@@ -12371,14 +12651,6 @@ interface operations {
|
|
|
12371
12651
|
getRecommendations: {
|
|
12372
12652
|
parameters: {
|
|
12373
12653
|
query?: {
|
|
12374
|
-
/** @description Filter by workspace. */
|
|
12375
|
-
workspace_token?: string;
|
|
12376
|
-
/** @description Filter by provider account id (AWS account, Azure subscription id, etc). */
|
|
12377
|
-
provider_account_id?: string;
|
|
12378
|
-
/** @description Filter by category. */
|
|
12379
|
-
category?: "ebs_gp2_to_gp3" | "ebs_unattached_volume" | "elasticache_reserved_instances" | "elastic_search_reserved_instances" | "rds_reserved_instances" | "redshift_reserved_instances" | "ec2_generational_upgrades" | "rds_generational_upgrades" | "es_generational_upgrades" | "cw_log_retention_policy" | "workspace_unused" | "workspace_stranded" | "cloudfront_cloudflare" | "s3_cloudflare" | "ip_unattached" | "s3_bucket_intelligent_tiering" | "s3_bucket_glacier_instant_retrieval" | "savings_plan" | "database_savings_plan" | "unused_financial_commitments" | "datadog_financial_commitments" | "az_compute_reserved_instances" | "az_compute_reserved_instances_cosmos" | "az_compute_reserved_instances_sql" | "az_compute_reserved_instances_app_service" | "az_disks_unattached" | "dynamodb_reserved_capacity_recommender" | "kubernetes_recommender" | "gcp_compute_rightsizing_recommender" | "gcp_compute_commitment_recommender" | "ec2_snapshot_recommender" | "ec2_rightsizing_recommender" | "ebs_compute_optimizer_recommender" | "lambda_compute_optimizer_recommender" | "ecs_compute_optimizer_recommender" | "idle_compute_optimizer_recommender" | "rds_compute_optimizer_recommender" | "ec2_compute_optimizer_recommender" | "azure_rightsizing_recommender" | "azure_compute_savings_recommender" | "azure_blob_storage_reserved_instances_recommender" | "azure_sql_paas_db_reserved_instances_recommender" | "azure_files_reserved_instances_recommender" | "eks_in_extended_support_window" | "eks_approaching_extended_support_window" | "rds_in_extended_support_window" | "rds_approaching_extended_support_window" | "datadog_metrics_unqueried";
|
|
12380
|
-
/** @description Filter by provider. */
|
|
12381
|
-
provider?: "aws" | "gcp" | "azure" | "kubernetes" | "datadog";
|
|
12382
12654
|
/** @description Filter by one or more providers. Requires workspace_token. */
|
|
12383
12655
|
provider_ids?: ("aws" | "gcp" | "azure" | "kubernetes" | "datadog")[];
|
|
12384
12656
|
/** @description Filter by billing account identifiers. Requires workspace_token. */
|
|
@@ -12401,6 +12673,14 @@ interface operations {
|
|
|
12401
12673
|
page?: number;
|
|
12402
12674
|
/** @description The number of results to return. The maximum is 1000. */
|
|
12403
12675
|
limit?: number;
|
|
12676
|
+
/** @description Filter by workspace. */
|
|
12677
|
+
workspace_token?: string;
|
|
12678
|
+
/** @description Filter by provider account id (AWS account, Azure subscription id, etc). */
|
|
12679
|
+
provider_account_id?: string;
|
|
12680
|
+
/** @description Filter by category. */
|
|
12681
|
+
category?: "ebs_gp2_to_gp3" | "ebs_unattached_volume" | "elasticache_reserved_instances" | "elastic_search_reserved_instances" | "rds_reserved_instances" | "redshift_reserved_instances" | "ec2_generational_upgrades" | "rds_generational_upgrades" | "es_generational_upgrades" | "cw_log_retention_policy" | "workspace_unused" | "workspace_stranded" | "cloudfront_cloudflare" | "s3_cloudflare" | "ip_unattached" | "s3_bucket_intelligent_tiering" | "s3_bucket_glacier_instant_retrieval" | "savings_plan" | "database_savings_plan" | "unused_financial_commitments" | "datadog_financial_commitments" | "az_compute_reserved_instances" | "az_compute_reserved_instances_cosmos" | "az_compute_reserved_instances_sql" | "az_compute_reserved_instances_app_service" | "az_disks_unattached" | "dynamodb_reserved_capacity_recommender" | "kubernetes_recommender" | "gcp_compute_rightsizing_recommender" | "gcp_compute_commitment_recommender" | "ec2_snapshot_recommender" | "ec2_rightsizing_recommender" | "ebs_compute_optimizer_recommender" | "lambda_compute_optimizer_recommender" | "ecs_compute_optimizer_recommender" | "idle_compute_optimizer_recommender" | "rds_compute_optimizer_recommender" | "ec2_compute_optimizer_recommender" | "azure_rightsizing_recommender" | "azure_compute_savings_recommender" | "azure_blob_storage_reserved_instances_recommender" | "azure_sql_paas_db_reserved_instances_recommender" | "azure_files_reserved_instances_recommender" | "eks_in_extended_support_window" | "eks_approaching_extended_support_window" | "rds_in_extended_support_window" | "rds_approaching_extended_support_window" | "datadog_metrics_unqueried";
|
|
12682
|
+
/** @description Filter by provider. */
|
|
12683
|
+
provider?: "aws" | "gcp" | "azure" | "kubernetes" | "datadog";
|
|
12404
12684
|
};
|
|
12405
12685
|
header?: never;
|
|
12406
12686
|
path?: never;
|
|
@@ -12424,15 +12704,16 @@ interface operations {
|
|
|
12424
12704
|
* },
|
|
12425
12705
|
* "recommendations": [
|
|
12426
12706
|
* {
|
|
12427
|
-
* "token": "
|
|
12707
|
+
* "token": "rcmmndtn_9bb8fa992d5b876b",
|
|
12708
|
+
* "type": null,
|
|
12428
12709
|
* "category": "ip_unattached",
|
|
12429
|
-
* "workspace_token": "
|
|
12710
|
+
* "workspace_token": "wrkspc_e0e58b3c1ddef29c",
|
|
12430
12711
|
* "provider": "aws",
|
|
12431
12712
|
* "provider_account_id": "123456789012",
|
|
12432
12713
|
* "description": "IP address is not attached to an instance.",
|
|
12433
12714
|
* "potential_savings": "100.0",
|
|
12434
12715
|
* "service": "AWS IP",
|
|
12435
|
-
* "created_at": "2026-01-
|
|
12716
|
+
* "created_at": "2026-01-28T16:53:32Z",
|
|
12436
12717
|
* "resources_affected_count": 0,
|
|
12437
12718
|
* "currency_code": "USD",
|
|
12438
12719
|
* "currency_symbol": "$"
|
|
@@ -12463,15 +12744,16 @@ interface operations {
|
|
|
12463
12744
|
content: {
|
|
12464
12745
|
/**
|
|
12465
12746
|
* @example {
|
|
12466
|
-
* "token": "
|
|
12747
|
+
* "token": "rcmmndtn_0eea161ff1a4d183",
|
|
12748
|
+
* "type": null,
|
|
12467
12749
|
* "category": "ip_unattached",
|
|
12468
|
-
* "workspace_token": "
|
|
12750
|
+
* "workspace_token": "wrkspc_634a8ca67ed39555",
|
|
12469
12751
|
* "provider": "aws",
|
|
12470
12752
|
* "provider_account_id": "123456789012",
|
|
12471
12753
|
* "description": "IP address is not attached to an instance.",
|
|
12472
12754
|
* "potential_savings": "100.0",
|
|
12473
12755
|
* "service": "AWS IP",
|
|
12474
|
-
* "created_at": "2026-01-
|
|
12756
|
+
* "created_at": "2026-01-28T16:53:23Z",
|
|
12475
12757
|
* "resources_affected_count": 0,
|
|
12476
12758
|
* "currency_code": "USD",
|
|
12477
12759
|
* "currency_symbol": "$"
|
|
@@ -12515,15 +12797,15 @@ interface operations {
|
|
|
12515
12797
|
/**
|
|
12516
12798
|
* @example {
|
|
12517
12799
|
* "links": {
|
|
12518
|
-
* "self": "https://api.vantage.sh/v2/recommendations/
|
|
12519
|
-
* "first": "https://api.vantage.sh/v2/recommendations/
|
|
12800
|
+
* "self": "https://api.vantage.sh/v2/recommendations/rcmmndtn_073dad68f8be41a2/resources",
|
|
12801
|
+
* "first": "https://api.vantage.sh/v2/recommendations/rcmmndtn_073dad68f8be41a2/resources?page=1",
|
|
12520
12802
|
* "next": null,
|
|
12521
|
-
* "last": "https://api.vantage.sh/v2/recommendations/
|
|
12803
|
+
* "last": "https://api.vantage.sh/v2/recommendations/rcmmndtn_073dad68f8be41a2/resources?page=1",
|
|
12522
12804
|
* "prev": null
|
|
12523
12805
|
* },
|
|
12524
12806
|
* "resources": [
|
|
12525
12807
|
* {
|
|
12526
|
-
* "token": "
|
|
12808
|
+
* "token": "prvdr_rsrc_8ec00e4b4c410538",
|
|
12527
12809
|
* "resource_id": "i-12345",
|
|
12528
12810
|
* "recommendation_actions": [
|
|
12529
12811
|
* {
|
|
@@ -12562,7 +12844,7 @@ interface operations {
|
|
|
12562
12844
|
content: {
|
|
12563
12845
|
/**
|
|
12564
12846
|
* @example {
|
|
12565
|
-
* "token": "
|
|
12847
|
+
* "token": "prvdr_rsrc_3065ac9b0999c363",
|
|
12566
12848
|
* "resource_id": "i-12345",
|
|
12567
12849
|
* "recommendation_actions": [
|
|
12568
12850
|
* {
|
|
@@ -12589,6 +12871,83 @@ interface operations {
|
|
|
12589
12871
|
};
|
|
12590
12872
|
};
|
|
12591
12873
|
};
|
|
12874
|
+
getRecommendationTypeResources: {
|
|
12875
|
+
parameters: {
|
|
12876
|
+
query: {
|
|
12877
|
+
/** @description Filter by one or more providers. Requires workspace_token. */
|
|
12878
|
+
provider_ids?: ("aws" | "gcp" | "azure" | "kubernetes" | "datadog")[];
|
|
12879
|
+
/** @description Filter by billing account identifiers. Requires workspace_token. */
|
|
12880
|
+
billing_account_ids?: string[];
|
|
12881
|
+
/** @description Filter by account identifiers. Requires workspace_token. */
|
|
12882
|
+
account_ids?: string[];
|
|
12883
|
+
/** @description Filter by region slugs (e.g. us-east-1, eastus, asia-east1). Requires workspace_token. */
|
|
12884
|
+
regions?: string[];
|
|
12885
|
+
/** @description Filter by tag key (must be used with tag_value). Requires workspace_token. */
|
|
12886
|
+
tag_key?: string;
|
|
12887
|
+
/** @description Filter by tag value (requires tag_key). Requires workspace_token. */
|
|
12888
|
+
tag_value?: string;
|
|
12889
|
+
/** @description Filter recommendations created on/after this YYYY-MM-DD date. Requires workspace_token. */
|
|
12890
|
+
start_date?: string;
|
|
12891
|
+
/** @description Filter recommendations created on/before this YYYY-MM-DD date. Requires workspace_token. */
|
|
12892
|
+
end_date?: string;
|
|
12893
|
+
/** @description Filter by status. */
|
|
12894
|
+
status?: "active" | "archived";
|
|
12895
|
+
/** @description The page of results to return. */
|
|
12896
|
+
page?: number;
|
|
12897
|
+
/** @description The number of results to return. The maximum is 1000. */
|
|
12898
|
+
limit?: number;
|
|
12899
|
+
/** @description The workspace token to filter recommendations by. Required. */
|
|
12900
|
+
workspace_token: string;
|
|
12901
|
+
};
|
|
12902
|
+
header?: never;
|
|
12903
|
+
path: {
|
|
12904
|
+
type: string;
|
|
12905
|
+
};
|
|
12906
|
+
cookie?: never;
|
|
12907
|
+
};
|
|
12908
|
+
requestBody?: never;
|
|
12909
|
+
responses: {
|
|
12910
|
+
200: {
|
|
12911
|
+
headers: {
|
|
12912
|
+
[name: string]: unknown;
|
|
12913
|
+
};
|
|
12914
|
+
content: {
|
|
12915
|
+
/**
|
|
12916
|
+
* @example {
|
|
12917
|
+
* "resources": [
|
|
12918
|
+
* {
|
|
12919
|
+
* "token": "pvdr_rsrc_abc123",
|
|
12920
|
+
* "resource_id": "i-1234567890abcdef0",
|
|
12921
|
+
* "recommendation_actions": [
|
|
12922
|
+
* {
|
|
12923
|
+
* "action": "modify",
|
|
12924
|
+
* "instance_type": "c5a.xlarge",
|
|
12925
|
+
* "description": "Migrate to c5a.xlarge for cost savings.",
|
|
12926
|
+
* "potential_savings": "100.00"
|
|
12927
|
+
* }
|
|
12928
|
+
* ]
|
|
12929
|
+
* }
|
|
12930
|
+
* ],
|
|
12931
|
+
* "links": {
|
|
12932
|
+
* "first": "/v2/recommendations/by_type/aws:ec2:co-rightsizing/resources?workspace_token=wrkspc_abc123&page=1",
|
|
12933
|
+
* "last": "/v2/recommendations/by_type/aws:ec2:co-rightsizing/resources?workspace_token=wrkspc_abc123&page=1"
|
|
12934
|
+
* }
|
|
12935
|
+
* }
|
|
12936
|
+
*/
|
|
12937
|
+
"application/json": components["schemas"]["RecommendationProviderResources"];
|
|
12938
|
+
};
|
|
12939
|
+
};
|
|
12940
|
+
/** @description NotFound */
|
|
12941
|
+
404: {
|
|
12942
|
+
headers: {
|
|
12943
|
+
[name: string]: unknown;
|
|
12944
|
+
};
|
|
12945
|
+
content: {
|
|
12946
|
+
"application/json": components["schemas"]["Errors"];
|
|
12947
|
+
};
|
|
12948
|
+
};
|
|
12949
|
+
};
|
|
12950
|
+
};
|
|
12592
12951
|
getRecommendationViews: {
|
|
12593
12952
|
parameters: {
|
|
12594
12953
|
query?: {
|
|
@@ -14247,7 +14606,7 @@ interface operations {
|
|
|
14247
14606
|
* ]
|
|
14248
14607
|
* }
|
|
14249
14608
|
*/
|
|
14250
|
-
"application/json": components["schemas"]["
|
|
14609
|
+
"application/json": components["schemas"]["Tags"];
|
|
14251
14610
|
};
|
|
14252
14611
|
};
|
|
14253
14612
|
/** @description BadRequest */
|
|
@@ -15187,7 +15546,13 @@ interface operations {
|
|
|
15187
15546
|
* "values": [
|
|
15188
15547
|
* {
|
|
15189
15548
|
* "filter": "costs.provider = 'aws' AND\ncosts.service = 'Amazon Elastic Compute Cloud' AND\ncosts.account_id IN ('1234', '5678')\n",
|
|
15190
|
-
* "name": "EXPC-1234"
|
|
15549
|
+
* "name": "EXPC-1234",
|
|
15550
|
+
* "date_ranges": [
|
|
15551
|
+
* {
|
|
15552
|
+
* "start_date": "2024-01-01",
|
|
15553
|
+
* "end_date": "2024-12-31"
|
|
15554
|
+
* }
|
|
15555
|
+
* ]
|
|
15191
15556
|
* },
|
|
15192
15557
|
* {
|
|
15193
15558
|
* "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",
|
|
@@ -15263,7 +15628,13 @@ interface operations {
|
|
|
15263
15628
|
* "values": [
|
|
15264
15629
|
* {
|
|
15265
15630
|
* "filter": "(costs.provider = 'aws' AND costs.service = 'Amazon Elastic Compute Cloud') AND (costs.provider = 'aws' AND costs.account_id IN ('1234', '5678'))",
|
|
15266
|
-
* "name": "Growth"
|
|
15631
|
+
* "name": "Growth",
|
|
15632
|
+
* "date_ranges": [
|
|
15633
|
+
* {
|
|
15634
|
+
* "start_date": "2024-01-01",
|
|
15635
|
+
* "end_date": "2024-12-31"
|
|
15636
|
+
* }
|
|
15637
|
+
* ]
|
|
15267
15638
|
* },
|
|
15268
15639
|
* {
|
|
15269
15640
|
* "filter": "(costs.provider = 'aws' AND costs.account_id IN ('1234', '5678')) OR (costs.provider = 'gcp' AND costs.service = 'Google Compute Engine')",
|
|
@@ -15316,7 +15687,13 @@ interface operations {
|
|
|
15316
15687
|
* "values": [
|
|
15317
15688
|
* {
|
|
15318
15689
|
* "filter": "costs.provider = 'aws' AND costs.service = 'Amazon Elastic Compute Cloud' AND\ncosts.account_id IN ('1234', '5678')\n",
|
|
15319
|
-
* "name": "marketing"
|
|
15690
|
+
* "name": "marketing",
|
|
15691
|
+
* "date_ranges": [
|
|
15692
|
+
* {
|
|
15693
|
+
* "start_date": "2024-01-01",
|
|
15694
|
+
* "end_date": "2024-12-31"
|
|
15695
|
+
* }
|
|
15696
|
+
* ]
|
|
15320
15697
|
* },
|
|
15321
15698
|
* {
|
|
15322
15699
|
* "filter": "((costs.provider = 'aws' AND costs.account_id IN ('1234', '5678')) OR\n(costs.provider = 'gcp' AND costs.service = 'Google Compute Engine'))\n",
|
|
@@ -15405,6 +15782,78 @@ interface operations {
|
|
|
15405
15782
|
};
|
|
15406
15783
|
};
|
|
15407
15784
|
};
|
|
15785
|
+
getVirtualTagConfigStatus: {
|
|
15786
|
+
parameters: {
|
|
15787
|
+
query?: never;
|
|
15788
|
+
header?: never;
|
|
15789
|
+
path: {
|
|
15790
|
+
token: string;
|
|
15791
|
+
};
|
|
15792
|
+
cookie?: never;
|
|
15793
|
+
};
|
|
15794
|
+
requestBody?: never;
|
|
15795
|
+
responses: {
|
|
15796
|
+
/** @description Processing is complete */
|
|
15797
|
+
200: {
|
|
15798
|
+
headers: {
|
|
15799
|
+
[name: string]: unknown;
|
|
15800
|
+
};
|
|
15801
|
+
content: {
|
|
15802
|
+
/**
|
|
15803
|
+
* @example {
|
|
15804
|
+
* "token": "vtag_1234",
|
|
15805
|
+
* "processing": true,
|
|
15806
|
+
* "providers": [
|
|
15807
|
+
* {
|
|
15808
|
+
* "provider": "aws",
|
|
15809
|
+
* "status": "processing"
|
|
15810
|
+
* },
|
|
15811
|
+
* {
|
|
15812
|
+
* "provider": "gcp",
|
|
15813
|
+
* "status": "complete"
|
|
15814
|
+
* }
|
|
15815
|
+
* ]
|
|
15816
|
+
* }
|
|
15817
|
+
*/
|
|
15818
|
+
"application/json": components["schemas"]["VirtualTagConfigStatus"];
|
|
15819
|
+
};
|
|
15820
|
+
};
|
|
15821
|
+
/** @description Processing is still in progress */
|
|
15822
|
+
202: {
|
|
15823
|
+
headers: {
|
|
15824
|
+
[name: string]: unknown;
|
|
15825
|
+
};
|
|
15826
|
+
content: {
|
|
15827
|
+
/**
|
|
15828
|
+
* @example {
|
|
15829
|
+
* "token": "vtag_1234",
|
|
15830
|
+
* "processing": true,
|
|
15831
|
+
* "providers": [
|
|
15832
|
+
* {
|
|
15833
|
+
* "provider": "aws",
|
|
15834
|
+
* "status": "processing"
|
|
15835
|
+
* },
|
|
15836
|
+
* {
|
|
15837
|
+
* "provider": "gcp",
|
|
15838
|
+
* "status": "complete"
|
|
15839
|
+
* }
|
|
15840
|
+
* ]
|
|
15841
|
+
* }
|
|
15842
|
+
*/
|
|
15843
|
+
"application/json": components["schemas"]["VirtualTagConfigStatus"];
|
|
15844
|
+
};
|
|
15845
|
+
};
|
|
15846
|
+
/** @description NotFound */
|
|
15847
|
+
404: {
|
|
15848
|
+
headers: {
|
|
15849
|
+
[name: string]: unknown;
|
|
15850
|
+
};
|
|
15851
|
+
content: {
|
|
15852
|
+
"application/json": components["schemas"]["Errors"];
|
|
15853
|
+
};
|
|
15854
|
+
};
|
|
15855
|
+
};
|
|
15856
|
+
};
|
|
15408
15857
|
updateAsyncVirtualTagConfig: {
|
|
15409
15858
|
parameters: {
|
|
15410
15859
|
query?: never;
|
|
@@ -15637,7 +16086,7 @@ interface operations {
|
|
|
15637
16086
|
};
|
|
15638
16087
|
};
|
|
15639
16088
|
responses: {
|
|
15640
|
-
|
|
16089
|
+
200: {
|
|
15641
16090
|
headers: {
|
|
15642
16091
|
[name: string]: unknown;
|
|
15643
16092
|
};
|
|
@@ -16484,6 +16933,22 @@ type UpdateManagedAccountResponse = ResponseBodyForPathAndMethod<`/v2/managed_ac
|
|
|
16484
16933
|
* Response type for Delete managed account
|
|
16485
16934
|
*/
|
|
16486
16935
|
type DeleteManagedAccountResponse = ResponseBodyForPathAndMethod<`/v2/managed_accounts/${NoSlashString}`, "DELETE">;
|
|
16936
|
+
/**
|
|
16937
|
+
* Update SSO configuration for a Managed Account.
|
|
16938
|
+
*/
|
|
16939
|
+
type UpdateSsoConnectionForManagedAccountRequest = RequestBodyForPathAndMethod<`/v2/managed_accounts/${NoSlashString}/sso_connection`, "PUT">;
|
|
16940
|
+
/**
|
|
16941
|
+
* Response type for Update SSO configuration for managed account
|
|
16942
|
+
*/
|
|
16943
|
+
type UpdateSsoConnectionForManagedAccountResponse = ResponseBodyForPathAndMethod<`/v2/managed_accounts/${NoSlashString}/sso_connection`, "PUT">;
|
|
16944
|
+
/**
|
|
16945
|
+
* Configure SSO for a Managed Account.
|
|
16946
|
+
*/
|
|
16947
|
+
type CreateSsoConnectionForManagedAccountRequest = RequestBodyForPathAndMethod<`/v2/managed_accounts/${NoSlashString}/sso_connection`, "POST">;
|
|
16948
|
+
/**
|
|
16949
|
+
* Response type for Configure SSO for managed account
|
|
16950
|
+
*/
|
|
16951
|
+
type CreateSsoConnectionForManagedAccountResponse = ResponseBodyForPathAndMethod<`/v2/managed_accounts/${NoSlashString}/sso_connection`, "POST">;
|
|
16487
16952
|
/**
|
|
16488
16953
|
* Response type for Get authenticated user info
|
|
16489
16954
|
*/
|
|
@@ -16592,6 +17057,14 @@ type GetRecommendationResourcesResponse = ResponseBodyForPathAndMethod<`/v2/reco
|
|
|
16592
17057
|
* Response type for Get specific resource for a recommendation
|
|
16593
17058
|
*/
|
|
16594
17059
|
type GetRecommendationResourceResponse = ResponseBodyForPathAndMethod<`/v2/recommendations/${NoSlashString}/resources/${NoSlashString}`, "GET">;
|
|
17060
|
+
/**
|
|
17061
|
+
* Return all Active Resources associated with recommendations of the specified type.
|
|
17062
|
+
*/
|
|
17063
|
+
type GetRecommendationTypeResourcesRequest = RequestBodyForPathAndMethod<`/v2/recommendations/by_type/${NoSlashString}/resources`, "GET">;
|
|
17064
|
+
/**
|
|
17065
|
+
* Response type for Get all resources for a recommendation type
|
|
17066
|
+
*/
|
|
17067
|
+
type GetRecommendationTypeResourcesResponse = ResponseBodyForPathAndMethod<`/v2/recommendations/by_type/${NoSlashString}/resources`, "GET">;
|
|
16595
17068
|
/**
|
|
16596
17069
|
* Return all RecommendationViews.
|
|
16597
17070
|
*/
|
|
@@ -16908,6 +17381,10 @@ type UpdateVirtualTagConfigResponse = ResponseBodyForPathAndMethod<`/v2/virtual_
|
|
|
16908
17381
|
* Response type for Delete virtual tag config
|
|
16909
17382
|
*/
|
|
16910
17383
|
type DeleteVirtualTagConfigResponse = ResponseBodyForPathAndMethod<`/v2/virtual_tag_configs/${NoSlashString}`, "DELETE">;
|
|
17384
|
+
/**
|
|
17385
|
+
* Response type for Get virtual tag config processing status
|
|
17386
|
+
*/
|
|
17387
|
+
type GetVirtualTagConfigStatusResponse = ResponseBodyForPathAndMethod<`/v2/virtual_tag_configs/${NoSlashString}/status`, "GET">;
|
|
16911
17388
|
/**
|
|
16912
17389
|
* Asynchronously updates an existing VirtualTagConfig.
|
|
16913
17390
|
*/
|
|
@@ -17053,18 +17530,10 @@ declare class AccessGrantsApi<NeverThrow extends boolean> {
|
|
|
17053
17530
|
*/
|
|
17054
17531
|
list(body?: GetAccessGrantsRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
17055
17532
|
links?: components["schemas"]["Links"];
|
|
17056
|
-
access_grants:
|
|
17057
|
-
/**
|
|
17058
|
-
* Create a BillingRule.
|
|
17059
|
-
*/
|
|
17060
|
-
components["schemas"]["AccessGrant"][];
|
|
17533
|
+
access_grants: components["schemas"]["AccessGrant"][];
|
|
17061
17534
|
}, null] : {
|
|
17062
17535
|
links?: components["schemas"]["Links"];
|
|
17063
|
-
access_grants:
|
|
17064
|
-
/**
|
|
17065
|
-
* Create a BillingRule.
|
|
17066
|
-
*/
|
|
17067
|
-
components["schemas"]["AccessGrant"][];
|
|
17536
|
+
access_grants: components["schemas"]["AccessGrant"][];
|
|
17068
17537
|
}>;
|
|
17069
17538
|
/**
|
|
17070
17539
|
* Create an Access Grant.
|
|
@@ -17158,7 +17627,7 @@ declare class AnomalyAlertsApi<NeverThrow extends boolean> {
|
|
|
17158
17627
|
get(anomalyAlertToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
17159
17628
|
token: string;
|
|
17160
17629
|
created_at: string;
|
|
17161
|
-
alerted_at?: string;
|
|
17630
|
+
alerted_at?: string | null;
|
|
17162
17631
|
category: string | null;
|
|
17163
17632
|
service: string;
|
|
17164
17633
|
provider: string;
|
|
@@ -17166,13 +17635,14 @@ declare class AnomalyAlertsApi<NeverThrow extends boolean> {
|
|
|
17166
17635
|
previous_amount: string;
|
|
17167
17636
|
seven_day_average: string;
|
|
17168
17637
|
status: string;
|
|
17169
|
-
feedback?: string;
|
|
17638
|
+
feedback?: string | null;
|
|
17170
17639
|
resources: string[];
|
|
17640
|
+
resource_tokens: string[];
|
|
17171
17641
|
cost_report_token: string;
|
|
17172
17642
|
}, null] : {
|
|
17173
17643
|
token: string;
|
|
17174
17644
|
created_at: string;
|
|
17175
|
-
alerted_at?: string;
|
|
17645
|
+
alerted_at?: string | null;
|
|
17176
17646
|
category: string | null;
|
|
17177
17647
|
service: string;
|
|
17178
17648
|
provider: string;
|
|
@@ -17180,8 +17650,9 @@ declare class AnomalyAlertsApi<NeverThrow extends boolean> {
|
|
|
17180
17650
|
previous_amount: string;
|
|
17181
17651
|
seven_day_average: string;
|
|
17182
17652
|
status: string;
|
|
17183
|
-
feedback?: string;
|
|
17653
|
+
feedback?: string | null;
|
|
17184
17654
|
resources: string[];
|
|
17655
|
+
resource_tokens: string[];
|
|
17185
17656
|
cost_report_token: string;
|
|
17186
17657
|
}>;
|
|
17187
17658
|
/**
|
|
@@ -17190,7 +17661,7 @@ declare class AnomalyAlertsApi<NeverThrow extends boolean> {
|
|
|
17190
17661
|
update(anomalyAlertToken: string, body: UpdateAnomalyAlertRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
17191
17662
|
token: string;
|
|
17192
17663
|
created_at: string;
|
|
17193
|
-
alerted_at?: string;
|
|
17664
|
+
alerted_at?: string | null;
|
|
17194
17665
|
category: string | null;
|
|
17195
17666
|
service: string;
|
|
17196
17667
|
provider: string;
|
|
@@ -17198,13 +17669,14 @@ declare class AnomalyAlertsApi<NeverThrow extends boolean> {
|
|
|
17198
17669
|
previous_amount: string;
|
|
17199
17670
|
seven_day_average: string;
|
|
17200
17671
|
status: string;
|
|
17201
|
-
feedback?: string;
|
|
17672
|
+
feedback?: string | null;
|
|
17202
17673
|
resources: string[];
|
|
17674
|
+
resource_tokens: string[];
|
|
17203
17675
|
cost_report_token: string;
|
|
17204
17676
|
}, null] : {
|
|
17205
17677
|
token: string;
|
|
17206
17678
|
created_at: string;
|
|
17207
|
-
alerted_at?: string;
|
|
17679
|
+
alerted_at?: string | null;
|
|
17208
17680
|
category: string | null;
|
|
17209
17681
|
service: string;
|
|
17210
17682
|
provider: string;
|
|
@@ -17212,8 +17684,9 @@ declare class AnomalyAlertsApi<NeverThrow extends boolean> {
|
|
|
17212
17684
|
previous_amount: string;
|
|
17213
17685
|
seven_day_average: string;
|
|
17214
17686
|
status: string;
|
|
17215
|
-
feedback?: string;
|
|
17687
|
+
feedback?: string | null;
|
|
17216
17688
|
resources: string[];
|
|
17689
|
+
resource_tokens: string[];
|
|
17217
17690
|
cost_report_token: string;
|
|
17218
17691
|
}>;
|
|
17219
17692
|
}
|
|
@@ -17334,9 +17807,9 @@ declare class AuditLogsApi<NeverThrow extends boolean> {
|
|
|
17334
17807
|
object_title: string | null;
|
|
17335
17808
|
event: string;
|
|
17336
17809
|
source: string;
|
|
17337
|
-
user?: string;
|
|
17338
|
-
workspace_title?: string;
|
|
17339
|
-
workspace_token?: string;
|
|
17810
|
+
user?: string | null;
|
|
17811
|
+
workspace_title?: string | null;
|
|
17812
|
+
workspace_token?: string | null;
|
|
17340
17813
|
created_at: string;
|
|
17341
17814
|
changed_values: Record<string, any>;
|
|
17342
17815
|
unchanged_values: Record<string, any>;
|
|
@@ -17347,9 +17820,9 @@ declare class AuditLogsApi<NeverThrow extends boolean> {
|
|
|
17347
17820
|
object_title: string | null;
|
|
17348
17821
|
event: string;
|
|
17349
17822
|
source: string;
|
|
17350
|
-
user?: string;
|
|
17351
|
-
workspace_title?: string;
|
|
17352
|
-
workspace_token?: string;
|
|
17823
|
+
user?: string | null;
|
|
17824
|
+
workspace_title?: string | null;
|
|
17825
|
+
workspace_token?: string | null;
|
|
17353
17826
|
created_at: string;
|
|
17354
17827
|
changed_values: Record<string, any>;
|
|
17355
17828
|
unchanged_values: Record<string, any>;
|
|
@@ -17485,36 +17958,36 @@ declare class BillingRulesApi<NeverThrow extends boolean> {
|
|
|
17485
17958
|
token: string;
|
|
17486
17959
|
title: string;
|
|
17487
17960
|
type: string;
|
|
17488
|
-
start_date?: string;
|
|
17489
|
-
end_date?: string;
|
|
17490
|
-
apply_to_all: boolean;
|
|
17961
|
+
start_date?: string | null;
|
|
17962
|
+
end_date?: string | null;
|
|
17963
|
+
apply_to_all: boolean | null;
|
|
17491
17964
|
created_by_token: string;
|
|
17492
17965
|
created_at: string;
|
|
17493
|
-
service?: string;
|
|
17494
|
-
category?: string;
|
|
17495
|
-
percentage?: string;
|
|
17496
|
-
charge_type?: string;
|
|
17497
|
-
sub_category?: string;
|
|
17498
|
-
start_period?: string;
|
|
17499
|
-
amount?: string;
|
|
17500
|
-
sql_query?: string;
|
|
17966
|
+
service?: string | null;
|
|
17967
|
+
category?: string | null;
|
|
17968
|
+
percentage?: string | null;
|
|
17969
|
+
charge_type?: string | null;
|
|
17970
|
+
sub_category?: string | null;
|
|
17971
|
+
start_period?: string | null;
|
|
17972
|
+
amount?: string | null;
|
|
17973
|
+
sql_query?: string | null;
|
|
17501
17974
|
}, null] : {
|
|
17502
17975
|
token: string;
|
|
17503
17976
|
title: string;
|
|
17504
17977
|
type: string;
|
|
17505
|
-
start_date?: string;
|
|
17506
|
-
end_date?: string;
|
|
17507
|
-
apply_to_all: boolean;
|
|
17978
|
+
start_date?: string | null;
|
|
17979
|
+
end_date?: string | null;
|
|
17980
|
+
apply_to_all: boolean | null;
|
|
17508
17981
|
created_by_token: string;
|
|
17509
17982
|
created_at: string;
|
|
17510
|
-
service?: string;
|
|
17511
|
-
category?: string;
|
|
17512
|
-
percentage?: string;
|
|
17513
|
-
charge_type?: string;
|
|
17514
|
-
sub_category?: string;
|
|
17515
|
-
start_period?: string;
|
|
17516
|
-
amount?: string;
|
|
17517
|
-
sql_query?: string;
|
|
17983
|
+
service?: string | null;
|
|
17984
|
+
category?: string | null;
|
|
17985
|
+
percentage?: string | null;
|
|
17986
|
+
charge_type?: string | null;
|
|
17987
|
+
sub_category?: string | null;
|
|
17988
|
+
start_period?: string | null;
|
|
17989
|
+
amount?: string | null;
|
|
17990
|
+
sql_query?: string | null;
|
|
17518
17991
|
}>;
|
|
17519
17992
|
/**
|
|
17520
17993
|
* Return a BillingRule.
|
|
@@ -17523,36 +17996,36 @@ declare class BillingRulesApi<NeverThrow extends boolean> {
|
|
|
17523
17996
|
token: string;
|
|
17524
17997
|
title: string;
|
|
17525
17998
|
type: string;
|
|
17526
|
-
start_date?: string;
|
|
17527
|
-
end_date?: string;
|
|
17528
|
-
apply_to_all: boolean;
|
|
17999
|
+
start_date?: string | null;
|
|
18000
|
+
end_date?: string | null;
|
|
18001
|
+
apply_to_all: boolean | null;
|
|
17529
18002
|
created_by_token: string;
|
|
17530
18003
|
created_at: string;
|
|
17531
|
-
service?: string;
|
|
17532
|
-
category?: string;
|
|
17533
|
-
percentage?: string;
|
|
17534
|
-
charge_type?: string;
|
|
17535
|
-
sub_category?: string;
|
|
17536
|
-
start_period?: string;
|
|
17537
|
-
amount?: string;
|
|
17538
|
-
sql_query?: string;
|
|
18004
|
+
service?: string | null;
|
|
18005
|
+
category?: string | null;
|
|
18006
|
+
percentage?: string | null;
|
|
18007
|
+
charge_type?: string | null;
|
|
18008
|
+
sub_category?: string | null;
|
|
18009
|
+
start_period?: string | null;
|
|
18010
|
+
amount?: string | null;
|
|
18011
|
+
sql_query?: string | null;
|
|
17539
18012
|
}, null] : {
|
|
17540
18013
|
token: string;
|
|
17541
18014
|
title: string;
|
|
17542
18015
|
type: string;
|
|
17543
|
-
start_date?: string;
|
|
17544
|
-
end_date?: string;
|
|
17545
|
-
apply_to_all: boolean;
|
|
18016
|
+
start_date?: string | null;
|
|
18017
|
+
end_date?: string | null;
|
|
18018
|
+
apply_to_all: boolean | null;
|
|
17546
18019
|
created_by_token: string;
|
|
17547
18020
|
created_at: string;
|
|
17548
|
-
service?: string;
|
|
17549
|
-
category?: string;
|
|
17550
|
-
percentage?: string;
|
|
17551
|
-
charge_type?: string;
|
|
17552
|
-
sub_category?: string;
|
|
17553
|
-
start_period?: string;
|
|
17554
|
-
amount?: string;
|
|
17555
|
-
sql_query?: string;
|
|
18021
|
+
service?: string | null;
|
|
18022
|
+
category?: string | null;
|
|
18023
|
+
percentage?: string | null;
|
|
18024
|
+
charge_type?: string | null;
|
|
18025
|
+
sub_category?: string | null;
|
|
18026
|
+
start_period?: string | null;
|
|
18027
|
+
amount?: string | null;
|
|
18028
|
+
sql_query?: string | null;
|
|
17556
18029
|
}>;
|
|
17557
18030
|
/**
|
|
17558
18031
|
* Update a BillingRule.
|
|
@@ -17561,36 +18034,36 @@ declare class BillingRulesApi<NeverThrow extends boolean> {
|
|
|
17561
18034
|
token: string;
|
|
17562
18035
|
title: string;
|
|
17563
18036
|
type: string;
|
|
17564
|
-
start_date?: string;
|
|
17565
|
-
end_date?: string;
|
|
17566
|
-
apply_to_all: boolean;
|
|
18037
|
+
start_date?: string | null;
|
|
18038
|
+
end_date?: string | null;
|
|
18039
|
+
apply_to_all: boolean | null;
|
|
17567
18040
|
created_by_token: string;
|
|
17568
18041
|
created_at: string;
|
|
17569
|
-
service?: string;
|
|
17570
|
-
category?: string;
|
|
17571
|
-
percentage?: string;
|
|
17572
|
-
charge_type?: string;
|
|
17573
|
-
sub_category?: string;
|
|
17574
|
-
start_period?: string;
|
|
17575
|
-
amount?: string;
|
|
17576
|
-
sql_query?: string;
|
|
18042
|
+
service?: string | null;
|
|
18043
|
+
category?: string | null;
|
|
18044
|
+
percentage?: string | null;
|
|
18045
|
+
charge_type?: string | null;
|
|
18046
|
+
sub_category?: string | null;
|
|
18047
|
+
start_period?: string | null;
|
|
18048
|
+
amount?: string | null;
|
|
18049
|
+
sql_query?: string | null;
|
|
17577
18050
|
}, null] : {
|
|
17578
18051
|
token: string;
|
|
17579
18052
|
title: string;
|
|
17580
18053
|
type: string;
|
|
17581
|
-
start_date?: string;
|
|
17582
|
-
end_date?: string;
|
|
17583
|
-
apply_to_all: boolean;
|
|
18054
|
+
start_date?: string | null;
|
|
18055
|
+
end_date?: string | null;
|
|
18056
|
+
apply_to_all: boolean | null;
|
|
17584
18057
|
created_by_token: string;
|
|
17585
18058
|
created_at: string;
|
|
17586
|
-
service?: string;
|
|
17587
|
-
category?: string;
|
|
17588
|
-
percentage?: string;
|
|
17589
|
-
charge_type?: string;
|
|
17590
|
-
sub_category?: string;
|
|
17591
|
-
start_period?: string;
|
|
17592
|
-
amount?: string;
|
|
17593
|
-
sql_query?: string;
|
|
18059
|
+
service?: string | null;
|
|
18060
|
+
category?: string | null;
|
|
18061
|
+
percentage?: string | null;
|
|
18062
|
+
charge_type?: string | null;
|
|
18063
|
+
sub_category?: string | null;
|
|
18064
|
+
start_period?: string | null;
|
|
18065
|
+
amount?: string | null;
|
|
18066
|
+
sql_query?: string | null;
|
|
17594
18067
|
}>;
|
|
17595
18068
|
/**
|
|
17596
18069
|
* Delete a BillingRule.
|
|
@@ -17599,36 +18072,36 @@ declare class BillingRulesApi<NeverThrow extends boolean> {
|
|
|
17599
18072
|
token: string;
|
|
17600
18073
|
title: string;
|
|
17601
18074
|
type: string;
|
|
17602
|
-
start_date?: string;
|
|
17603
|
-
end_date?: string;
|
|
17604
|
-
apply_to_all: boolean;
|
|
18075
|
+
start_date?: string | null;
|
|
18076
|
+
end_date?: string | null;
|
|
18077
|
+
apply_to_all: boolean | null;
|
|
17605
18078
|
created_by_token: string;
|
|
17606
18079
|
created_at: string;
|
|
17607
|
-
service?: string;
|
|
17608
|
-
category?: string;
|
|
17609
|
-
percentage?: string;
|
|
17610
|
-
charge_type?: string;
|
|
17611
|
-
sub_category?: string;
|
|
17612
|
-
start_period?: string;
|
|
17613
|
-
amount?: string;
|
|
17614
|
-
sql_query?: string;
|
|
18080
|
+
service?: string | null;
|
|
18081
|
+
category?: string | null;
|
|
18082
|
+
percentage?: string | null;
|
|
18083
|
+
charge_type?: string | null;
|
|
18084
|
+
sub_category?: string | null;
|
|
18085
|
+
start_period?: string | null;
|
|
18086
|
+
amount?: string | null;
|
|
18087
|
+
sql_query?: string | null;
|
|
17615
18088
|
}, null] : {
|
|
17616
18089
|
token: string;
|
|
17617
18090
|
title: string;
|
|
17618
18091
|
type: string;
|
|
17619
|
-
start_date?: string;
|
|
17620
|
-
end_date?: string;
|
|
17621
|
-
apply_to_all: boolean;
|
|
18092
|
+
start_date?: string | null;
|
|
18093
|
+
end_date?: string | null;
|
|
18094
|
+
apply_to_all: boolean | null;
|
|
17622
18095
|
created_by_token: string;
|
|
17623
18096
|
created_at: string;
|
|
17624
|
-
service?: string;
|
|
17625
|
-
category?: string;
|
|
17626
|
-
percentage?: string;
|
|
17627
|
-
charge_type?: string;
|
|
17628
|
-
sub_category?: string;
|
|
17629
|
-
start_period?: string;
|
|
17630
|
-
amount?: string;
|
|
17631
|
-
sql_query?: string;
|
|
18097
|
+
service?: string | null;
|
|
18098
|
+
category?: string | null;
|
|
18099
|
+
percentage?: string | null;
|
|
18100
|
+
charge_type?: string | null;
|
|
18101
|
+
sub_category?: string | null;
|
|
18102
|
+
start_period?: string | null;
|
|
18103
|
+
amount?: string | null;
|
|
18104
|
+
sql_query?: string | null;
|
|
17632
18105
|
}>;
|
|
17633
18106
|
}
|
|
17634
18107
|
declare class BudgetAlertsApi<NeverThrow extends boolean> {
|
|
@@ -17652,25 +18125,25 @@ declare class BudgetAlertsApi<NeverThrow extends boolean> {
|
|
|
17652
18125
|
budget_tokens: string[];
|
|
17653
18126
|
created_at: string;
|
|
17654
18127
|
workspace_token: string;
|
|
17655
|
-
user_token?: string;
|
|
18128
|
+
user_token?: string | null;
|
|
17656
18129
|
user_tokens: string[];
|
|
17657
|
-
duration_in_days:
|
|
17658
|
-
threshold:
|
|
18130
|
+
duration_in_days: number | null;
|
|
18131
|
+
threshold: number;
|
|
17659
18132
|
period_to_track: string | null;
|
|
17660
|
-
integration_provider?: string;
|
|
17661
|
-
recipient_channels: string;
|
|
18133
|
+
integration_provider?: string | null;
|
|
18134
|
+
recipient_channels: string[] | null;
|
|
17662
18135
|
}, null] : {
|
|
17663
18136
|
token: string;
|
|
17664
18137
|
budget_tokens: string[];
|
|
17665
18138
|
created_at: string;
|
|
17666
18139
|
workspace_token: string;
|
|
17667
|
-
user_token?: string;
|
|
18140
|
+
user_token?: string | null;
|
|
17668
18141
|
user_tokens: string[];
|
|
17669
|
-
duration_in_days:
|
|
17670
|
-
threshold:
|
|
18142
|
+
duration_in_days: number | null;
|
|
18143
|
+
threshold: number;
|
|
17671
18144
|
period_to_track: string | null;
|
|
17672
|
-
integration_provider?: string;
|
|
17673
|
-
recipient_channels: string;
|
|
18145
|
+
integration_provider?: string | null;
|
|
18146
|
+
recipient_channels: string[] | null;
|
|
17674
18147
|
}>;
|
|
17675
18148
|
/**
|
|
17676
18149
|
* Return a BudgetAlert.
|
|
@@ -17680,25 +18153,25 @@ declare class BudgetAlertsApi<NeverThrow extends boolean> {
|
|
|
17680
18153
|
budget_tokens: string[];
|
|
17681
18154
|
created_at: string;
|
|
17682
18155
|
workspace_token: string;
|
|
17683
|
-
user_token?: string;
|
|
18156
|
+
user_token?: string | null;
|
|
17684
18157
|
user_tokens: string[];
|
|
17685
|
-
duration_in_days:
|
|
17686
|
-
threshold:
|
|
18158
|
+
duration_in_days: number | null;
|
|
18159
|
+
threshold: number;
|
|
17687
18160
|
period_to_track: string | null;
|
|
17688
|
-
integration_provider?: string;
|
|
17689
|
-
recipient_channels: string;
|
|
18161
|
+
integration_provider?: string | null;
|
|
18162
|
+
recipient_channels: string[] | null;
|
|
17690
18163
|
}, null] : {
|
|
17691
18164
|
token: string;
|
|
17692
18165
|
budget_tokens: string[];
|
|
17693
18166
|
created_at: string;
|
|
17694
18167
|
workspace_token: string;
|
|
17695
|
-
user_token?: string;
|
|
18168
|
+
user_token?: string | null;
|
|
17696
18169
|
user_tokens: string[];
|
|
17697
|
-
duration_in_days:
|
|
17698
|
-
threshold:
|
|
18170
|
+
duration_in_days: number | null;
|
|
18171
|
+
threshold: number;
|
|
17699
18172
|
period_to_track: string | null;
|
|
17700
|
-
integration_provider?: string;
|
|
17701
|
-
recipient_channels: string;
|
|
18173
|
+
integration_provider?: string | null;
|
|
18174
|
+
recipient_channels: string[] | null;
|
|
17702
18175
|
}>;
|
|
17703
18176
|
/**
|
|
17704
18177
|
* Updates an existing BudgetAlert.
|
|
@@ -17708,25 +18181,25 @@ declare class BudgetAlertsApi<NeverThrow extends boolean> {
|
|
|
17708
18181
|
budget_tokens: string[];
|
|
17709
18182
|
created_at: string;
|
|
17710
18183
|
workspace_token: string;
|
|
17711
|
-
user_token?: string;
|
|
18184
|
+
user_token?: string | null;
|
|
17712
18185
|
user_tokens: string[];
|
|
17713
|
-
duration_in_days:
|
|
17714
|
-
threshold:
|
|
18186
|
+
duration_in_days: number | null;
|
|
18187
|
+
threshold: number;
|
|
17715
18188
|
period_to_track: string | null;
|
|
17716
|
-
integration_provider?: string;
|
|
17717
|
-
recipient_channels: string;
|
|
18189
|
+
integration_provider?: string | null;
|
|
18190
|
+
recipient_channels: string[] | null;
|
|
17718
18191
|
}, null] : {
|
|
17719
18192
|
token: string;
|
|
17720
18193
|
budget_tokens: string[];
|
|
17721
18194
|
created_at: string;
|
|
17722
18195
|
workspace_token: string;
|
|
17723
|
-
user_token?: string;
|
|
18196
|
+
user_token?: string | null;
|
|
17724
18197
|
user_tokens: string[];
|
|
17725
|
-
duration_in_days:
|
|
17726
|
-
threshold:
|
|
18198
|
+
duration_in_days: number | null;
|
|
18199
|
+
threshold: number;
|
|
17727
18200
|
period_to_track: string | null;
|
|
17728
|
-
integration_provider?: string;
|
|
17729
|
-
recipient_channels: string;
|
|
18201
|
+
integration_provider?: string | null;
|
|
18202
|
+
recipient_channels: string[] | null;
|
|
17730
18203
|
}>;
|
|
17731
18204
|
/**
|
|
17732
18205
|
* Delete a BudgetAlert.
|
|
@@ -17736,25 +18209,25 @@ declare class BudgetAlertsApi<NeverThrow extends boolean> {
|
|
|
17736
18209
|
budget_tokens: string[];
|
|
17737
18210
|
created_at: string;
|
|
17738
18211
|
workspace_token: string;
|
|
17739
|
-
user_token?: string;
|
|
18212
|
+
user_token?: string | null;
|
|
17740
18213
|
user_tokens: string[];
|
|
17741
|
-
duration_in_days:
|
|
17742
|
-
threshold:
|
|
18214
|
+
duration_in_days: number | null;
|
|
18215
|
+
threshold: number;
|
|
17743
18216
|
period_to_track: string | null;
|
|
17744
|
-
integration_provider?: string;
|
|
17745
|
-
recipient_channels: string;
|
|
18217
|
+
integration_provider?: string | null;
|
|
18218
|
+
recipient_channels: string[] | null;
|
|
17746
18219
|
}, null] : {
|
|
17747
18220
|
token: string;
|
|
17748
18221
|
budget_tokens: string[];
|
|
17749
18222
|
created_at: string;
|
|
17750
18223
|
workspace_token: string;
|
|
17751
|
-
user_token?: string;
|
|
18224
|
+
user_token?: string | null;
|
|
17752
18225
|
user_tokens: string[];
|
|
17753
|
-
duration_in_days:
|
|
17754
|
-
threshold:
|
|
18226
|
+
duration_in_days: number | null;
|
|
18227
|
+
threshold: number;
|
|
17755
18228
|
period_to_track: string | null;
|
|
17756
|
-
integration_provider?: string;
|
|
17757
|
-
recipient_channels: string;
|
|
18229
|
+
integration_provider?: string | null;
|
|
18230
|
+
recipient_channels: string[] | null;
|
|
17758
18231
|
}>;
|
|
17759
18232
|
}
|
|
17760
18233
|
declare class BudgetsApi<NeverThrow extends boolean> {
|
|
@@ -17777,9 +18250,9 @@ declare class BudgetsApi<NeverThrow extends boolean> {
|
|
|
17777
18250
|
token: string;
|
|
17778
18251
|
name: string | null;
|
|
17779
18252
|
workspace_token: string;
|
|
17780
|
-
user_token?: string;
|
|
17781
|
-
created_by_token?: string;
|
|
17782
|
-
cost_report_token?: string;
|
|
18253
|
+
user_token?: string | null;
|
|
18254
|
+
created_by_token?: string | null;
|
|
18255
|
+
cost_report_token?: string | null;
|
|
17783
18256
|
created_at: string;
|
|
17784
18257
|
budget_alert_tokens: string[];
|
|
17785
18258
|
child_budget_tokens: string[];
|
|
@@ -17789,9 +18262,9 @@ declare class BudgetsApi<NeverThrow extends boolean> {
|
|
|
17789
18262
|
token: string;
|
|
17790
18263
|
name: string | null;
|
|
17791
18264
|
workspace_token: string;
|
|
17792
|
-
user_token?: string;
|
|
17793
|
-
created_by_token?: string;
|
|
17794
|
-
cost_report_token?: string;
|
|
18265
|
+
user_token?: string | null;
|
|
18266
|
+
created_by_token?: string | null;
|
|
18267
|
+
cost_report_token?: string | null;
|
|
17795
18268
|
created_at: string;
|
|
17796
18269
|
budget_alert_tokens: string[];
|
|
17797
18270
|
child_budget_tokens: string[];
|
|
@@ -17805,9 +18278,9 @@ declare class BudgetsApi<NeverThrow extends boolean> {
|
|
|
17805
18278
|
token: string;
|
|
17806
18279
|
name: string | null;
|
|
17807
18280
|
workspace_token: string;
|
|
17808
|
-
user_token?: string;
|
|
17809
|
-
created_by_token?: string;
|
|
17810
|
-
cost_report_token?: string;
|
|
18281
|
+
user_token?: string | null;
|
|
18282
|
+
created_by_token?: string | null;
|
|
18283
|
+
cost_report_token?: string | null;
|
|
17811
18284
|
created_at: string;
|
|
17812
18285
|
budget_alert_tokens: string[];
|
|
17813
18286
|
child_budget_tokens: string[];
|
|
@@ -17817,9 +18290,9 @@ declare class BudgetsApi<NeverThrow extends boolean> {
|
|
|
17817
18290
|
token: string;
|
|
17818
18291
|
name: string | null;
|
|
17819
18292
|
workspace_token: string;
|
|
17820
|
-
user_token?: string;
|
|
17821
|
-
created_by_token?: string;
|
|
17822
|
-
cost_report_token?: string;
|
|
18293
|
+
user_token?: string | null;
|
|
18294
|
+
created_by_token?: string | null;
|
|
18295
|
+
cost_report_token?: string | null;
|
|
17823
18296
|
created_at: string;
|
|
17824
18297
|
budget_alert_tokens: string[];
|
|
17825
18298
|
child_budget_tokens: string[];
|
|
@@ -17833,9 +18306,9 @@ declare class BudgetsApi<NeverThrow extends boolean> {
|
|
|
17833
18306
|
token: string;
|
|
17834
18307
|
name: string | null;
|
|
17835
18308
|
workspace_token: string;
|
|
17836
|
-
user_token?: string;
|
|
17837
|
-
created_by_token?: string;
|
|
17838
|
-
cost_report_token?: string;
|
|
18309
|
+
user_token?: string | null;
|
|
18310
|
+
created_by_token?: string | null;
|
|
18311
|
+
cost_report_token?: string | null;
|
|
17839
18312
|
created_at: string;
|
|
17840
18313
|
budget_alert_tokens: string[];
|
|
17841
18314
|
child_budget_tokens: string[];
|
|
@@ -17845,9 +18318,9 @@ declare class BudgetsApi<NeverThrow extends boolean> {
|
|
|
17845
18318
|
token: string;
|
|
17846
18319
|
name: string | null;
|
|
17847
18320
|
workspace_token: string;
|
|
17848
|
-
user_token?: string;
|
|
17849
|
-
created_by_token?: string;
|
|
17850
|
-
cost_report_token?: string;
|
|
18321
|
+
user_token?: string | null;
|
|
18322
|
+
created_by_token?: string | null;
|
|
18323
|
+
cost_report_token?: string | null;
|
|
17851
18324
|
created_at: string;
|
|
17852
18325
|
budget_alert_tokens: string[];
|
|
17853
18326
|
child_budget_tokens: string[];
|
|
@@ -17872,18 +18345,18 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
|
|
|
17872
18345
|
create(body: CreateBusinessMetricRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
17873
18346
|
token: string;
|
|
17874
18347
|
title: string;
|
|
17875
|
-
created_by_token?: string;
|
|
18348
|
+
created_by_token?: string | null;
|
|
17876
18349
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
17877
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv";
|
|
18350
|
+
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
17878
18351
|
integration_token: string | null;
|
|
17879
18352
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
17880
18353
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
17881
18354
|
}, null] : {
|
|
17882
18355
|
token: string;
|
|
17883
18356
|
title: string;
|
|
17884
|
-
created_by_token?: string;
|
|
18357
|
+
created_by_token?: string | null;
|
|
17885
18358
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
17886
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv";
|
|
18359
|
+
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
17887
18360
|
integration_token: string | null;
|
|
17888
18361
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
17889
18362
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
@@ -17894,18 +18367,18 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
|
|
|
17894
18367
|
get(businessMetricToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
17895
18368
|
token: string;
|
|
17896
18369
|
title: string;
|
|
17897
|
-
created_by_token?: string;
|
|
18370
|
+
created_by_token?: string | null;
|
|
17898
18371
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
17899
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv";
|
|
18372
|
+
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
17900
18373
|
integration_token: string | null;
|
|
17901
18374
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
17902
18375
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
17903
18376
|
}, null] : {
|
|
17904
18377
|
token: string;
|
|
17905
18378
|
title: string;
|
|
17906
|
-
created_by_token?: string;
|
|
18379
|
+
created_by_token?: string | null;
|
|
17907
18380
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
17908
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv";
|
|
18381
|
+
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
17909
18382
|
integration_token: string | null;
|
|
17910
18383
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
17911
18384
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
@@ -17916,18 +18389,18 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
|
|
|
17916
18389
|
update(businessMetricToken: string, body: UpdateBusinessMetricRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
17917
18390
|
token: string;
|
|
17918
18391
|
title: string;
|
|
17919
|
-
created_by_token?: string;
|
|
18392
|
+
created_by_token?: string | null;
|
|
17920
18393
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
17921
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv";
|
|
18394
|
+
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
17922
18395
|
integration_token: string | null;
|
|
17923
18396
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
17924
18397
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
17925
18398
|
}, null] : {
|
|
17926
18399
|
token: string;
|
|
17927
18400
|
title: string;
|
|
17928
|
-
created_by_token?: string;
|
|
18401
|
+
created_by_token?: string | null;
|
|
17929
18402
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
17930
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv";
|
|
18403
|
+
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
17931
18404
|
integration_token: string | null;
|
|
17932
18405
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
17933
18406
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
@@ -17938,18 +18411,18 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
|
|
|
17938
18411
|
delete(businessMetricToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
17939
18412
|
token: string;
|
|
17940
18413
|
title: string;
|
|
17941
|
-
created_by_token?: string;
|
|
18414
|
+
created_by_token?: string | null;
|
|
17942
18415
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
17943
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv";
|
|
18416
|
+
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
17944
18417
|
integration_token: string | null;
|
|
17945
18418
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
17946
18419
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
17947
18420
|
}, null] : {
|
|
17948
18421
|
token: string;
|
|
17949
18422
|
title: string;
|
|
17950
|
-
created_by_token?: string;
|
|
18423
|
+
created_by_token?: string | null;
|
|
17951
18424
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
17952
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv";
|
|
18425
|
+
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
17953
18426
|
integration_token: string | null;
|
|
17954
18427
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
17955
18428
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
@@ -17976,18 +18449,18 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
|
|
|
17976
18449
|
updateValuesCSV(businessMetricToken: string, body: UpdateBusinessMetricValuesCSVRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
17977
18450
|
token: string;
|
|
17978
18451
|
title: string;
|
|
17979
|
-
created_by_token?: string;
|
|
18452
|
+
created_by_token?: string | null;
|
|
17980
18453
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
17981
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv";
|
|
18454
|
+
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
17982
18455
|
integration_token: string | null;
|
|
17983
18456
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
17984
18457
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
17985
18458
|
}, null] : {
|
|
17986
18459
|
token: string;
|
|
17987
18460
|
title: string;
|
|
17988
|
-
created_by_token?: string;
|
|
18461
|
+
created_by_token?: string | null;
|
|
17989
18462
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
17990
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv";
|
|
18463
|
+
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
17991
18464
|
integration_token: string | null;
|
|
17992
18465
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
17993
18466
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
@@ -18180,27 +18653,27 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18180
18653
|
create(body: CreateCostReportRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
18181
18654
|
token: string;
|
|
18182
18655
|
title: string;
|
|
18183
|
-
folder_token?: string;
|
|
18184
|
-
saved_filter_tokens?: string[];
|
|
18656
|
+
folder_token?: string | null;
|
|
18657
|
+
saved_filter_tokens?: string[] | null;
|
|
18185
18658
|
business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
|
|
18186
18659
|
filter: string | null;
|
|
18187
|
-
groupings?: string;
|
|
18660
|
+
groupings?: string | null;
|
|
18188
18661
|
settings?: {
|
|
18189
|
-
include_credits?: boolean;
|
|
18190
|
-
include_refunds?: boolean;
|
|
18191
|
-
include_discounts?: boolean;
|
|
18192
|
-
include_tax?: boolean;
|
|
18193
|
-
amortize?: boolean;
|
|
18194
|
-
unallocated?: boolean;
|
|
18195
|
-
aggregate_by?: string;
|
|
18196
|
-
show_previous_period?: boolean;
|
|
18662
|
+
include_credits?: boolean | null;
|
|
18663
|
+
include_refunds?: boolean | null;
|
|
18664
|
+
include_discounts?: boolean | null;
|
|
18665
|
+
include_tax?: boolean | null;
|
|
18666
|
+
amortize?: boolean | null;
|
|
18667
|
+
unallocated?: boolean | null;
|
|
18668
|
+
aggregate_by?: string | null;
|
|
18669
|
+
show_previous_period?: boolean | null;
|
|
18197
18670
|
};
|
|
18198
18671
|
created_at: string;
|
|
18199
18672
|
workspace_token: string;
|
|
18200
|
-
previous_period_start_date?: string;
|
|
18201
|
-
previous_period_end_date?: string;
|
|
18202
|
-
start_date?: string;
|
|
18203
|
-
end_date?: string;
|
|
18673
|
+
previous_period_start_date?: string | null;
|
|
18674
|
+
previous_period_end_date?: string | null;
|
|
18675
|
+
start_date?: string | null;
|
|
18676
|
+
end_date?: string | null;
|
|
18204
18677
|
date_interval: string;
|
|
18205
18678
|
chart_type: string;
|
|
18206
18679
|
date_bin: string;
|
|
@@ -18208,27 +18681,27 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18208
18681
|
}, null] : {
|
|
18209
18682
|
token: string;
|
|
18210
18683
|
title: string;
|
|
18211
|
-
folder_token?: string;
|
|
18212
|
-
saved_filter_tokens?: string[];
|
|
18684
|
+
folder_token?: string | null;
|
|
18685
|
+
saved_filter_tokens?: string[] | null;
|
|
18213
18686
|
business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
|
|
18214
18687
|
filter: string | null;
|
|
18215
|
-
groupings?: string;
|
|
18688
|
+
groupings?: string | null;
|
|
18216
18689
|
settings?: {
|
|
18217
|
-
include_credits?: boolean;
|
|
18218
|
-
include_refunds?: boolean;
|
|
18219
|
-
include_discounts?: boolean;
|
|
18220
|
-
include_tax?: boolean;
|
|
18221
|
-
amortize?: boolean;
|
|
18222
|
-
unallocated?: boolean;
|
|
18223
|
-
aggregate_by?: string;
|
|
18224
|
-
show_previous_period?: boolean;
|
|
18690
|
+
include_credits?: boolean | null;
|
|
18691
|
+
include_refunds?: boolean | null;
|
|
18692
|
+
include_discounts?: boolean | null;
|
|
18693
|
+
include_tax?: boolean | null;
|
|
18694
|
+
amortize?: boolean | null;
|
|
18695
|
+
unallocated?: boolean | null;
|
|
18696
|
+
aggregate_by?: string | null;
|
|
18697
|
+
show_previous_period?: boolean | null;
|
|
18225
18698
|
};
|
|
18226
18699
|
created_at: string;
|
|
18227
18700
|
workspace_token: string;
|
|
18228
|
-
previous_period_start_date?: string;
|
|
18229
|
-
previous_period_end_date?: string;
|
|
18230
|
-
start_date?: string;
|
|
18231
|
-
end_date?: string;
|
|
18701
|
+
previous_period_start_date?: string | null;
|
|
18702
|
+
previous_period_end_date?: string | null;
|
|
18703
|
+
start_date?: string | null;
|
|
18704
|
+
end_date?: string | null;
|
|
18232
18705
|
date_interval: string;
|
|
18233
18706
|
chart_type: string;
|
|
18234
18707
|
date_bin: string;
|
|
@@ -18240,27 +18713,27 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18240
18713
|
get(costReportToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
18241
18714
|
token: string;
|
|
18242
18715
|
title: string;
|
|
18243
|
-
folder_token?: string;
|
|
18244
|
-
saved_filter_tokens?: string[];
|
|
18716
|
+
folder_token?: string | null;
|
|
18717
|
+
saved_filter_tokens?: string[] | null;
|
|
18245
18718
|
business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
|
|
18246
18719
|
filter: string | null;
|
|
18247
|
-
groupings?: string;
|
|
18720
|
+
groupings?: string | null;
|
|
18248
18721
|
settings?: {
|
|
18249
|
-
include_credits?: boolean;
|
|
18250
|
-
include_refunds?: boolean;
|
|
18251
|
-
include_discounts?: boolean;
|
|
18252
|
-
include_tax?: boolean;
|
|
18253
|
-
amortize?: boolean;
|
|
18254
|
-
unallocated?: boolean;
|
|
18255
|
-
aggregate_by?: string;
|
|
18256
|
-
show_previous_period?: boolean;
|
|
18722
|
+
include_credits?: boolean | null;
|
|
18723
|
+
include_refunds?: boolean | null;
|
|
18724
|
+
include_discounts?: boolean | null;
|
|
18725
|
+
include_tax?: boolean | null;
|
|
18726
|
+
amortize?: boolean | null;
|
|
18727
|
+
unallocated?: boolean | null;
|
|
18728
|
+
aggregate_by?: string | null;
|
|
18729
|
+
show_previous_period?: boolean | null;
|
|
18257
18730
|
};
|
|
18258
18731
|
created_at: string;
|
|
18259
18732
|
workspace_token: string;
|
|
18260
|
-
previous_period_start_date?: string;
|
|
18261
|
-
previous_period_end_date?: string;
|
|
18262
|
-
start_date?: string;
|
|
18263
|
-
end_date?: string;
|
|
18733
|
+
previous_period_start_date?: string | null;
|
|
18734
|
+
previous_period_end_date?: string | null;
|
|
18735
|
+
start_date?: string | null;
|
|
18736
|
+
end_date?: string | null;
|
|
18264
18737
|
date_interval: string;
|
|
18265
18738
|
chart_type: string;
|
|
18266
18739
|
date_bin: string;
|
|
@@ -18268,27 +18741,27 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18268
18741
|
}, null] : {
|
|
18269
18742
|
token: string;
|
|
18270
18743
|
title: string;
|
|
18271
|
-
folder_token?: string;
|
|
18272
|
-
saved_filter_tokens?: string[];
|
|
18744
|
+
folder_token?: string | null;
|
|
18745
|
+
saved_filter_tokens?: string[] | null;
|
|
18273
18746
|
business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
|
|
18274
18747
|
filter: string | null;
|
|
18275
|
-
groupings?: string;
|
|
18748
|
+
groupings?: string | null;
|
|
18276
18749
|
settings?: {
|
|
18277
|
-
include_credits?: boolean;
|
|
18278
|
-
include_refunds?: boolean;
|
|
18279
|
-
include_discounts?: boolean;
|
|
18280
|
-
include_tax?: boolean;
|
|
18281
|
-
amortize?: boolean;
|
|
18282
|
-
unallocated?: boolean;
|
|
18283
|
-
aggregate_by?: string;
|
|
18284
|
-
show_previous_period?: boolean;
|
|
18750
|
+
include_credits?: boolean | null;
|
|
18751
|
+
include_refunds?: boolean | null;
|
|
18752
|
+
include_discounts?: boolean | null;
|
|
18753
|
+
include_tax?: boolean | null;
|
|
18754
|
+
amortize?: boolean | null;
|
|
18755
|
+
unallocated?: boolean | null;
|
|
18756
|
+
aggregate_by?: string | null;
|
|
18757
|
+
show_previous_period?: boolean | null;
|
|
18285
18758
|
};
|
|
18286
18759
|
created_at: string;
|
|
18287
18760
|
workspace_token: string;
|
|
18288
|
-
previous_period_start_date?: string;
|
|
18289
|
-
previous_period_end_date?: string;
|
|
18290
|
-
start_date?: string;
|
|
18291
|
-
end_date?: string;
|
|
18761
|
+
previous_period_start_date?: string | null;
|
|
18762
|
+
previous_period_end_date?: string | null;
|
|
18763
|
+
start_date?: string | null;
|
|
18764
|
+
end_date?: string | null;
|
|
18292
18765
|
date_interval: string;
|
|
18293
18766
|
chart_type: string;
|
|
18294
18767
|
date_bin: string;
|
|
@@ -18300,27 +18773,27 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18300
18773
|
update(costReportToken: string, body: UpdateCostReportRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
18301
18774
|
token: string;
|
|
18302
18775
|
title: string;
|
|
18303
|
-
folder_token?: string;
|
|
18304
|
-
saved_filter_tokens?: string[];
|
|
18776
|
+
folder_token?: string | null;
|
|
18777
|
+
saved_filter_tokens?: string[] | null;
|
|
18305
18778
|
business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
|
|
18306
18779
|
filter: string | null;
|
|
18307
|
-
groupings?: string;
|
|
18780
|
+
groupings?: string | null;
|
|
18308
18781
|
settings?: {
|
|
18309
|
-
include_credits?: boolean;
|
|
18310
|
-
include_refunds?: boolean;
|
|
18311
|
-
include_discounts?: boolean;
|
|
18312
|
-
include_tax?: boolean;
|
|
18313
|
-
amortize?: boolean;
|
|
18314
|
-
unallocated?: boolean;
|
|
18315
|
-
aggregate_by?: string;
|
|
18316
|
-
show_previous_period?: boolean;
|
|
18782
|
+
include_credits?: boolean | null;
|
|
18783
|
+
include_refunds?: boolean | null;
|
|
18784
|
+
include_discounts?: boolean | null;
|
|
18785
|
+
include_tax?: boolean | null;
|
|
18786
|
+
amortize?: boolean | null;
|
|
18787
|
+
unallocated?: boolean | null;
|
|
18788
|
+
aggregate_by?: string | null;
|
|
18789
|
+
show_previous_period?: boolean | null;
|
|
18317
18790
|
};
|
|
18318
18791
|
created_at: string;
|
|
18319
18792
|
workspace_token: string;
|
|
18320
|
-
previous_period_start_date?: string;
|
|
18321
|
-
previous_period_end_date?: string;
|
|
18322
|
-
start_date?: string;
|
|
18323
|
-
end_date?: string;
|
|
18793
|
+
previous_period_start_date?: string | null;
|
|
18794
|
+
previous_period_end_date?: string | null;
|
|
18795
|
+
start_date?: string | null;
|
|
18796
|
+
end_date?: string | null;
|
|
18324
18797
|
date_interval: string;
|
|
18325
18798
|
chart_type: string;
|
|
18326
18799
|
date_bin: string;
|
|
@@ -18328,27 +18801,27 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18328
18801
|
}, null] : {
|
|
18329
18802
|
token: string;
|
|
18330
18803
|
title: string;
|
|
18331
|
-
folder_token?: string;
|
|
18332
|
-
saved_filter_tokens?: string[];
|
|
18804
|
+
folder_token?: string | null;
|
|
18805
|
+
saved_filter_tokens?: string[] | null;
|
|
18333
18806
|
business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
|
|
18334
18807
|
filter: string | null;
|
|
18335
|
-
groupings?: string;
|
|
18808
|
+
groupings?: string | null;
|
|
18336
18809
|
settings?: {
|
|
18337
|
-
include_credits?: boolean;
|
|
18338
|
-
include_refunds?: boolean;
|
|
18339
|
-
include_discounts?: boolean;
|
|
18340
|
-
include_tax?: boolean;
|
|
18341
|
-
amortize?: boolean;
|
|
18342
|
-
unallocated?: boolean;
|
|
18343
|
-
aggregate_by?: string;
|
|
18344
|
-
show_previous_period?: boolean;
|
|
18810
|
+
include_credits?: boolean | null;
|
|
18811
|
+
include_refunds?: boolean | null;
|
|
18812
|
+
include_discounts?: boolean | null;
|
|
18813
|
+
include_tax?: boolean | null;
|
|
18814
|
+
amortize?: boolean | null;
|
|
18815
|
+
unallocated?: boolean | null;
|
|
18816
|
+
aggregate_by?: string | null;
|
|
18817
|
+
show_previous_period?: boolean | null;
|
|
18345
18818
|
};
|
|
18346
18819
|
created_at: string;
|
|
18347
18820
|
workspace_token: string;
|
|
18348
|
-
previous_period_start_date?: string;
|
|
18349
|
-
previous_period_end_date?: string;
|
|
18350
|
-
start_date?: string;
|
|
18351
|
-
end_date?: string;
|
|
18821
|
+
previous_period_start_date?: string | null;
|
|
18822
|
+
previous_period_end_date?: string | null;
|
|
18823
|
+
start_date?: string | null;
|
|
18824
|
+
end_date?: string | null;
|
|
18352
18825
|
date_interval: string;
|
|
18353
18826
|
chart_type: string;
|
|
18354
18827
|
date_bin: string;
|
|
@@ -18360,27 +18833,27 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18360
18833
|
delete(costReportToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
18361
18834
|
token: string;
|
|
18362
18835
|
title: string;
|
|
18363
|
-
folder_token?: string;
|
|
18364
|
-
saved_filter_tokens?: string[];
|
|
18836
|
+
folder_token?: string | null;
|
|
18837
|
+
saved_filter_tokens?: string[] | null;
|
|
18365
18838
|
business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
|
|
18366
18839
|
filter: string | null;
|
|
18367
|
-
groupings?: string;
|
|
18840
|
+
groupings?: string | null;
|
|
18368
18841
|
settings?: {
|
|
18369
|
-
include_credits?: boolean;
|
|
18370
|
-
include_refunds?: boolean;
|
|
18371
|
-
include_discounts?: boolean;
|
|
18372
|
-
include_tax?: boolean;
|
|
18373
|
-
amortize?: boolean;
|
|
18374
|
-
unallocated?: boolean;
|
|
18375
|
-
aggregate_by?: string;
|
|
18376
|
-
show_previous_period?: boolean;
|
|
18842
|
+
include_credits?: boolean | null;
|
|
18843
|
+
include_refunds?: boolean | null;
|
|
18844
|
+
include_discounts?: boolean | null;
|
|
18845
|
+
include_tax?: boolean | null;
|
|
18846
|
+
amortize?: boolean | null;
|
|
18847
|
+
unallocated?: boolean | null;
|
|
18848
|
+
aggregate_by?: string | null;
|
|
18849
|
+
show_previous_period?: boolean | null;
|
|
18377
18850
|
};
|
|
18378
18851
|
created_at: string;
|
|
18379
18852
|
workspace_token: string;
|
|
18380
|
-
previous_period_start_date?: string;
|
|
18381
|
-
previous_period_end_date?: string;
|
|
18382
|
-
start_date?: string;
|
|
18383
|
-
end_date?: string;
|
|
18853
|
+
previous_period_start_date?: string | null;
|
|
18854
|
+
previous_period_end_date?: string | null;
|
|
18855
|
+
start_date?: string | null;
|
|
18856
|
+
end_date?: string | null;
|
|
18384
18857
|
date_interval: string;
|
|
18385
18858
|
chart_type: string;
|
|
18386
18859
|
date_bin: string;
|
|
@@ -18388,27 +18861,27 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18388
18861
|
}, null] : {
|
|
18389
18862
|
token: string;
|
|
18390
18863
|
title: string;
|
|
18391
|
-
folder_token?: string;
|
|
18392
|
-
saved_filter_tokens?: string[];
|
|
18864
|
+
folder_token?: string | null;
|
|
18865
|
+
saved_filter_tokens?: string[] | null;
|
|
18393
18866
|
business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
|
|
18394
18867
|
filter: string | null;
|
|
18395
|
-
groupings?: string;
|
|
18868
|
+
groupings?: string | null;
|
|
18396
18869
|
settings?: {
|
|
18397
|
-
include_credits?: boolean;
|
|
18398
|
-
include_refunds?: boolean;
|
|
18399
|
-
include_discounts?: boolean;
|
|
18400
|
-
include_tax?: boolean;
|
|
18401
|
-
amortize?: boolean;
|
|
18402
|
-
unallocated?: boolean;
|
|
18403
|
-
aggregate_by?: string;
|
|
18404
|
-
show_previous_period?: boolean;
|
|
18870
|
+
include_credits?: boolean | null;
|
|
18871
|
+
include_refunds?: boolean | null;
|
|
18872
|
+
include_discounts?: boolean | null;
|
|
18873
|
+
include_tax?: boolean | null;
|
|
18874
|
+
amortize?: boolean | null;
|
|
18875
|
+
unallocated?: boolean | null;
|
|
18876
|
+
aggregate_by?: string | null;
|
|
18877
|
+
show_previous_period?: boolean | null;
|
|
18405
18878
|
};
|
|
18406
18879
|
created_at: string;
|
|
18407
18880
|
workspace_token: string;
|
|
18408
|
-
previous_period_start_date?: string;
|
|
18409
|
-
previous_period_end_date?: string;
|
|
18410
|
-
start_date?: string;
|
|
18411
|
-
end_date?: string;
|
|
18881
|
+
previous_period_start_date?: string | null;
|
|
18882
|
+
previous_period_end_date?: string | null;
|
|
18883
|
+
start_date?: string | null;
|
|
18884
|
+
end_date?: string | null;
|
|
18412
18885
|
date_interval: string;
|
|
18413
18886
|
chart_type: string;
|
|
18414
18887
|
date_bin: string;
|
|
@@ -18435,8 +18908,8 @@ declare class CostsApi<NeverThrow extends boolean> {
|
|
|
18435
18908
|
*/
|
|
18436
18909
|
list(body?: GetCostsRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [Omit<{
|
|
18437
18910
|
links?: components["schemas"]["Links"];
|
|
18438
|
-
total_cost:
|
|
18439
|
-
total_usage?:
|
|
18911
|
+
total_cost: components["schemas"]["CostPartial"];
|
|
18912
|
+
total_usage?: components["schemas"]["UsagePartial"][];
|
|
18440
18913
|
costs: components["schemas"]["Cost"][];
|
|
18441
18914
|
}, "total_usage"> & {
|
|
18442
18915
|
total_usage?: {
|
|
@@ -18444,8 +18917,8 @@ declare class CostsApi<NeverThrow extends boolean> {
|
|
|
18444
18917
|
};
|
|
18445
18918
|
}, null] : Omit<{
|
|
18446
18919
|
links?: components["schemas"]["Links"];
|
|
18447
|
-
total_cost:
|
|
18448
|
-
total_usage?:
|
|
18920
|
+
total_cost: components["schemas"]["CostPartial"];
|
|
18921
|
+
total_usage?: components["schemas"]["UsagePartial"][];
|
|
18449
18922
|
costs: components["schemas"]["Cost"][];
|
|
18450
18923
|
}, "total_usage"> & {
|
|
18451
18924
|
total_usage?: {
|
|
@@ -18480,8 +18953,8 @@ declare class DashboardsApi<NeverThrow extends boolean> {
|
|
|
18480
18953
|
saved_filter_tokens: string[];
|
|
18481
18954
|
date_bin: "cumulative" | "day" | "week" | "month" | null;
|
|
18482
18955
|
date_interval: "this_month" | "last_7_days" | "last_30_days" | "last_month" | "last_3_months" | "last_6_months" | "custom" | "last_12_months" | "last_24_months" | "last_36_months" | "next_month" | "next_3_months" | "next_6_months" | "next_12_months" | "year_to_date" | "last_3_days" | "last_14_days" | null;
|
|
18483
|
-
start_date?: string;
|
|
18484
|
-
end_date?: string;
|
|
18956
|
+
start_date?: string | null;
|
|
18957
|
+
end_date?: string | null;
|
|
18485
18958
|
created_at: string;
|
|
18486
18959
|
updated_at: string;
|
|
18487
18960
|
workspace_token: string;
|
|
@@ -18492,8 +18965,8 @@ declare class DashboardsApi<NeverThrow extends boolean> {
|
|
|
18492
18965
|
saved_filter_tokens: string[];
|
|
18493
18966
|
date_bin: "cumulative" | "day" | "week" | "month" | null;
|
|
18494
18967
|
date_interval: "this_month" | "last_7_days" | "last_30_days" | "last_month" | "last_3_months" | "last_6_months" | "custom" | "last_12_months" | "last_24_months" | "last_36_months" | "next_month" | "next_3_months" | "next_6_months" | "next_12_months" | "year_to_date" | "last_3_days" | "last_14_days" | null;
|
|
18495
|
-
start_date?: string;
|
|
18496
|
-
end_date?: string;
|
|
18968
|
+
start_date?: string | null;
|
|
18969
|
+
end_date?: string | null;
|
|
18497
18970
|
created_at: string;
|
|
18498
18971
|
updated_at: string;
|
|
18499
18972
|
workspace_token: string;
|
|
@@ -18508,8 +18981,8 @@ declare class DashboardsApi<NeverThrow extends boolean> {
|
|
|
18508
18981
|
saved_filter_tokens: string[];
|
|
18509
18982
|
date_bin: "cumulative" | "day" | "week" | "month" | null;
|
|
18510
18983
|
date_interval: "this_month" | "last_7_days" | "last_30_days" | "last_month" | "last_3_months" | "last_6_months" | "custom" | "last_12_months" | "last_24_months" | "last_36_months" | "next_month" | "next_3_months" | "next_6_months" | "next_12_months" | "year_to_date" | "last_3_days" | "last_14_days" | null;
|
|
18511
|
-
start_date?: string;
|
|
18512
|
-
end_date?: string;
|
|
18984
|
+
start_date?: string | null;
|
|
18985
|
+
end_date?: string | null;
|
|
18513
18986
|
created_at: string;
|
|
18514
18987
|
updated_at: string;
|
|
18515
18988
|
workspace_token: string;
|
|
@@ -18520,8 +18993,8 @@ declare class DashboardsApi<NeverThrow extends boolean> {
|
|
|
18520
18993
|
saved_filter_tokens: string[];
|
|
18521
18994
|
date_bin: "cumulative" | "day" | "week" | "month" | null;
|
|
18522
18995
|
date_interval: "this_month" | "last_7_days" | "last_30_days" | "last_month" | "last_3_months" | "last_6_months" | "custom" | "last_12_months" | "last_24_months" | "last_36_months" | "next_month" | "next_3_months" | "next_6_months" | "next_12_months" | "year_to_date" | "last_3_days" | "last_14_days" | null;
|
|
18523
|
-
start_date?: string;
|
|
18524
|
-
end_date?: string;
|
|
18996
|
+
start_date?: string | null;
|
|
18997
|
+
end_date?: string | null;
|
|
18525
18998
|
created_at: string;
|
|
18526
18999
|
updated_at: string;
|
|
18527
19000
|
workspace_token: string;
|
|
@@ -18536,8 +19009,8 @@ declare class DashboardsApi<NeverThrow extends boolean> {
|
|
|
18536
19009
|
saved_filter_tokens: string[];
|
|
18537
19010
|
date_bin: "cumulative" | "day" | "week" | "month" | null;
|
|
18538
19011
|
date_interval: "this_month" | "last_7_days" | "last_30_days" | "last_month" | "last_3_months" | "last_6_months" | "custom" | "last_12_months" | "last_24_months" | "last_36_months" | "next_month" | "next_3_months" | "next_6_months" | "next_12_months" | "year_to_date" | "last_3_days" | "last_14_days" | null;
|
|
18539
|
-
start_date?: string;
|
|
18540
|
-
end_date?: string;
|
|
19012
|
+
start_date?: string | null;
|
|
19013
|
+
end_date?: string | null;
|
|
18541
19014
|
created_at: string;
|
|
18542
19015
|
updated_at: string;
|
|
18543
19016
|
workspace_token: string;
|
|
@@ -18548,8 +19021,8 @@ declare class DashboardsApi<NeverThrow extends boolean> {
|
|
|
18548
19021
|
saved_filter_tokens: string[];
|
|
18549
19022
|
date_bin: "cumulative" | "day" | "week" | "month" | null;
|
|
18550
19023
|
date_interval: "this_month" | "last_7_days" | "last_30_days" | "last_month" | "last_3_months" | "last_6_months" | "custom" | "last_12_months" | "last_24_months" | "last_36_months" | "next_month" | "next_3_months" | "next_6_months" | "next_12_months" | "year_to_date" | "last_3_days" | "last_14_days" | null;
|
|
18551
|
-
start_date?: string;
|
|
18552
|
-
end_date?: string;
|
|
19024
|
+
start_date?: string | null;
|
|
19025
|
+
end_date?: string | null;
|
|
18553
19026
|
created_at: string;
|
|
18554
19027
|
updated_at: string;
|
|
18555
19028
|
workspace_token: string;
|
|
@@ -18564,8 +19037,8 @@ declare class DashboardsApi<NeverThrow extends boolean> {
|
|
|
18564
19037
|
saved_filter_tokens: string[];
|
|
18565
19038
|
date_bin: "cumulative" | "day" | "week" | "month" | null;
|
|
18566
19039
|
date_interval: "this_month" | "last_7_days" | "last_30_days" | "last_month" | "last_3_months" | "last_6_months" | "custom" | "last_12_months" | "last_24_months" | "last_36_months" | "next_month" | "next_3_months" | "next_6_months" | "next_12_months" | "year_to_date" | "last_3_days" | "last_14_days" | null;
|
|
18567
|
-
start_date?: string;
|
|
18568
|
-
end_date?: string;
|
|
19040
|
+
start_date?: string | null;
|
|
19041
|
+
end_date?: string | null;
|
|
18569
19042
|
created_at: string;
|
|
18570
19043
|
updated_at: string;
|
|
18571
19044
|
workspace_token: string;
|
|
@@ -18576,8 +19049,8 @@ declare class DashboardsApi<NeverThrow extends boolean> {
|
|
|
18576
19049
|
saved_filter_tokens: string[];
|
|
18577
19050
|
date_bin: "cumulative" | "day" | "week" | "month" | null;
|
|
18578
19051
|
date_interval: "this_month" | "last_7_days" | "last_30_days" | "last_month" | "last_3_months" | "last_6_months" | "custom" | "last_12_months" | "last_24_months" | "last_36_months" | "next_month" | "next_3_months" | "next_6_months" | "next_12_months" | "year_to_date" | "last_3_days" | "last_14_days" | null;
|
|
18579
|
-
start_date?: string;
|
|
18580
|
-
end_date?: string;
|
|
19052
|
+
start_date?: string | null;
|
|
19053
|
+
end_date?: string | null;
|
|
18581
19054
|
created_at: string;
|
|
18582
19055
|
updated_at: string;
|
|
18583
19056
|
workspace_token: string;
|
|
@@ -18595,14 +19068,14 @@ declare class DataExportsApi<NeverThrow extends boolean> {
|
|
|
18595
19068
|
created_at: string;
|
|
18596
19069
|
export_type: string;
|
|
18597
19070
|
manifest: components["schemas"]["DataExportManifest"];
|
|
18598
|
-
attributes: string
|
|
19071
|
+
attributes: Record<string, any>;
|
|
18599
19072
|
}, null] : {
|
|
18600
19073
|
token: string;
|
|
18601
19074
|
status: string;
|
|
18602
19075
|
created_at: string;
|
|
18603
19076
|
export_type: string;
|
|
18604
19077
|
manifest: components["schemas"]["DataExportManifest"];
|
|
18605
|
-
attributes: string
|
|
19078
|
+
attributes: Record<string, any>;
|
|
18606
19079
|
}>;
|
|
18607
19080
|
}
|
|
18608
19081
|
declare class ExchangeRatesApi<NeverThrow extends boolean> {
|
|
@@ -18645,7 +19118,7 @@ declare class FinancialCommitmentReportsApi<NeverThrow extends boolean> {
|
|
|
18645
19118
|
default: boolean;
|
|
18646
19119
|
created_at: string;
|
|
18647
19120
|
workspace_token: string;
|
|
18648
|
-
user_token?: string;
|
|
19121
|
+
user_token?: string | null;
|
|
18649
19122
|
start_date: string | null;
|
|
18650
19123
|
end_date: string | null;
|
|
18651
19124
|
date_interval: string | null;
|
|
@@ -18659,7 +19132,7 @@ declare class FinancialCommitmentReportsApi<NeverThrow extends boolean> {
|
|
|
18659
19132
|
default: boolean;
|
|
18660
19133
|
created_at: string;
|
|
18661
19134
|
workspace_token: string;
|
|
18662
|
-
user_token?: string;
|
|
19135
|
+
user_token?: string | null;
|
|
18663
19136
|
start_date: string | null;
|
|
18664
19137
|
end_date: string | null;
|
|
18665
19138
|
date_interval: string | null;
|
|
@@ -18677,7 +19150,7 @@ declare class FinancialCommitmentReportsApi<NeverThrow extends boolean> {
|
|
|
18677
19150
|
default: boolean;
|
|
18678
19151
|
created_at: string;
|
|
18679
19152
|
workspace_token: string;
|
|
18680
|
-
user_token?: string;
|
|
19153
|
+
user_token?: string | null;
|
|
18681
19154
|
start_date: string | null;
|
|
18682
19155
|
end_date: string | null;
|
|
18683
19156
|
date_interval: string | null;
|
|
@@ -18691,7 +19164,7 @@ declare class FinancialCommitmentReportsApi<NeverThrow extends boolean> {
|
|
|
18691
19164
|
default: boolean;
|
|
18692
19165
|
created_at: string;
|
|
18693
19166
|
workspace_token: string;
|
|
18694
|
-
user_token?: string;
|
|
19167
|
+
user_token?: string | null;
|
|
18695
19168
|
start_date: string | null;
|
|
18696
19169
|
end_date: string | null;
|
|
18697
19170
|
date_interval: string | null;
|
|
@@ -18709,7 +19182,7 @@ declare class FinancialCommitmentReportsApi<NeverThrow extends boolean> {
|
|
|
18709
19182
|
default: boolean;
|
|
18710
19183
|
created_at: string;
|
|
18711
19184
|
workspace_token: string;
|
|
18712
|
-
user_token?: string;
|
|
19185
|
+
user_token?: string | null;
|
|
18713
19186
|
start_date: string | null;
|
|
18714
19187
|
end_date: string | null;
|
|
18715
19188
|
date_interval: string | null;
|
|
@@ -18723,7 +19196,7 @@ declare class FinancialCommitmentReportsApi<NeverThrow extends boolean> {
|
|
|
18723
19196
|
default: boolean;
|
|
18724
19197
|
created_at: string;
|
|
18725
19198
|
workspace_token: string;
|
|
18726
|
-
user_token?: string;
|
|
19199
|
+
user_token?: string | null;
|
|
18727
19200
|
start_date: string | null;
|
|
18728
19201
|
end_date: string | null;
|
|
18729
19202
|
date_interval: string | null;
|
|
@@ -18741,7 +19214,7 @@ declare class FinancialCommitmentReportsApi<NeverThrow extends boolean> {
|
|
|
18741
19214
|
default: boolean;
|
|
18742
19215
|
created_at: string;
|
|
18743
19216
|
workspace_token: string;
|
|
18744
|
-
user_token?: string;
|
|
19217
|
+
user_token?: string | null;
|
|
18745
19218
|
start_date: string | null;
|
|
18746
19219
|
end_date: string | null;
|
|
18747
19220
|
date_interval: string | null;
|
|
@@ -18755,7 +19228,7 @@ declare class FinancialCommitmentReportsApi<NeverThrow extends boolean> {
|
|
|
18755
19228
|
default: boolean;
|
|
18756
19229
|
created_at: string;
|
|
18757
19230
|
workspace_token: string;
|
|
18758
|
-
user_token?: string;
|
|
19231
|
+
user_token?: string | null;
|
|
18759
19232
|
start_date: string | null;
|
|
18760
19233
|
end_date: string | null;
|
|
18761
19234
|
date_interval: string | null;
|
|
@@ -18798,7 +19271,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
|
|
|
18798
19271
|
create(body: CreateFolderRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
18799
19272
|
token: string;
|
|
18800
19273
|
title: string | null;
|
|
18801
|
-
parent_folder_token?: string;
|
|
19274
|
+
parent_folder_token?: string | null;
|
|
18802
19275
|
saved_filter_tokens: string[];
|
|
18803
19276
|
created_at: string;
|
|
18804
19277
|
updated_at: string;
|
|
@@ -18806,7 +19279,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
|
|
|
18806
19279
|
}, null] : {
|
|
18807
19280
|
token: string;
|
|
18808
19281
|
title: string | null;
|
|
18809
|
-
parent_folder_token?: string;
|
|
19282
|
+
parent_folder_token?: string | null;
|
|
18810
19283
|
saved_filter_tokens: string[];
|
|
18811
19284
|
created_at: string;
|
|
18812
19285
|
updated_at: string;
|
|
@@ -18818,7 +19291,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
|
|
|
18818
19291
|
get(folderToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
18819
19292
|
token: string;
|
|
18820
19293
|
title: string | null;
|
|
18821
|
-
parent_folder_token?: string;
|
|
19294
|
+
parent_folder_token?: string | null;
|
|
18822
19295
|
saved_filter_tokens: string[];
|
|
18823
19296
|
created_at: string;
|
|
18824
19297
|
updated_at: string;
|
|
@@ -18826,7 +19299,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
|
|
|
18826
19299
|
}, null] : {
|
|
18827
19300
|
token: string;
|
|
18828
19301
|
title: string | null;
|
|
18829
|
-
parent_folder_token?: string;
|
|
19302
|
+
parent_folder_token?: string | null;
|
|
18830
19303
|
saved_filter_tokens: string[];
|
|
18831
19304
|
created_at: string;
|
|
18832
19305
|
updated_at: string;
|
|
@@ -18838,7 +19311,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
|
|
|
18838
19311
|
update(folderToken: string, body: UpdateFolderRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
18839
19312
|
token: string;
|
|
18840
19313
|
title: string | null;
|
|
18841
|
-
parent_folder_token?: string;
|
|
19314
|
+
parent_folder_token?: string | null;
|
|
18842
19315
|
saved_filter_tokens: string[];
|
|
18843
19316
|
created_at: string;
|
|
18844
19317
|
updated_at: string;
|
|
@@ -18846,7 +19319,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
|
|
|
18846
19319
|
}, null] : {
|
|
18847
19320
|
token: string;
|
|
18848
19321
|
title: string | null;
|
|
18849
|
-
parent_folder_token?: string;
|
|
19322
|
+
parent_folder_token?: string | null;
|
|
18850
19323
|
saved_filter_tokens: string[];
|
|
18851
19324
|
created_at: string;
|
|
18852
19325
|
updated_at: string;
|
|
@@ -18858,7 +19331,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
|
|
|
18858
19331
|
delete(folderToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
18859
19332
|
token: string;
|
|
18860
19333
|
title: string | null;
|
|
18861
|
-
parent_folder_token?: string;
|
|
19334
|
+
parent_folder_token?: string | null;
|
|
18862
19335
|
saved_filter_tokens: string[];
|
|
18863
19336
|
created_at: string;
|
|
18864
19337
|
updated_at: string;
|
|
@@ -18866,7 +19339,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
|
|
|
18866
19339
|
}, null] : {
|
|
18867
19340
|
token: string;
|
|
18868
19341
|
title: string | null;
|
|
18869
|
-
parent_folder_token?: string;
|
|
19342
|
+
parent_folder_token?: string | null;
|
|
18870
19343
|
saved_filter_tokens: string[];
|
|
18871
19344
|
created_at: string;
|
|
18872
19345
|
updated_at: string;
|
|
@@ -18894,7 +19367,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
18894
19367
|
provider: string;
|
|
18895
19368
|
account_identifier: string | null;
|
|
18896
19369
|
status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
|
|
18897
|
-
last_updated?: string;
|
|
19370
|
+
last_updated?: string | null;
|
|
18898
19371
|
workspace_tokens: string[];
|
|
18899
19372
|
created_at: string;
|
|
18900
19373
|
}, null] : {
|
|
@@ -18902,7 +19375,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
18902
19375
|
provider: string;
|
|
18903
19376
|
account_identifier: string | null;
|
|
18904
19377
|
status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
|
|
18905
|
-
last_updated?: string;
|
|
19378
|
+
last_updated?: string | null;
|
|
18906
19379
|
workspace_tokens: string[];
|
|
18907
19380
|
created_at: string;
|
|
18908
19381
|
}>;
|
|
@@ -18914,7 +19387,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
18914
19387
|
provider: string;
|
|
18915
19388
|
account_identifier: string | null;
|
|
18916
19389
|
status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
|
|
18917
|
-
last_updated?: string;
|
|
19390
|
+
last_updated?: string | null;
|
|
18918
19391
|
workspace_tokens: string[];
|
|
18919
19392
|
created_at: string;
|
|
18920
19393
|
}, null] : {
|
|
@@ -18922,7 +19395,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
18922
19395
|
provider: string;
|
|
18923
19396
|
account_identifier: string | null;
|
|
18924
19397
|
status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
|
|
18925
|
-
last_updated?: string;
|
|
19398
|
+
last_updated?: string | null;
|
|
18926
19399
|
workspace_tokens: string[];
|
|
18927
19400
|
created_at: string;
|
|
18928
19401
|
}>;
|
|
@@ -18934,7 +19407,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
18934
19407
|
provider: string;
|
|
18935
19408
|
account_identifier: string | null;
|
|
18936
19409
|
status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
|
|
18937
|
-
last_updated?: string;
|
|
19410
|
+
last_updated?: string | null;
|
|
18938
19411
|
workspace_tokens: string[];
|
|
18939
19412
|
created_at: string;
|
|
18940
19413
|
}, null] : {
|
|
@@ -18942,7 +19415,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
18942
19415
|
provider: string;
|
|
18943
19416
|
account_identifier: string | null;
|
|
18944
19417
|
status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
|
|
18945
|
-
last_updated?: string;
|
|
19418
|
+
last_updated?: string | null;
|
|
18946
19419
|
workspace_tokens: string[];
|
|
18947
19420
|
created_at: string;
|
|
18948
19421
|
}>;
|
|
@@ -18954,7 +19427,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
18954
19427
|
provider: string;
|
|
18955
19428
|
account_identifier: string | null;
|
|
18956
19429
|
status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
|
|
18957
|
-
last_updated?: string;
|
|
19430
|
+
last_updated?: string | null;
|
|
18958
19431
|
workspace_tokens: string[];
|
|
18959
19432
|
created_at: string;
|
|
18960
19433
|
}, null] : {
|
|
@@ -18962,7 +19435,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
18962
19435
|
provider: string;
|
|
18963
19436
|
account_identifier: string | null;
|
|
18964
19437
|
status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
|
|
18965
|
-
last_updated?: string;
|
|
19438
|
+
last_updated?: string | null;
|
|
18966
19439
|
workspace_tokens: string[];
|
|
18967
19440
|
created_at: string;
|
|
18968
19441
|
}>;
|
|
@@ -18996,35 +19469,35 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
18996
19469
|
accrued_at: string;
|
|
18997
19470
|
amount: string;
|
|
18998
19471
|
currency: string;
|
|
18999
|
-
usage?: Record<string, any
|
|
19000
|
-
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";
|
|
19001
|
-
billing_account_id?: string;
|
|
19002
|
-
account_id?: string;
|
|
19003
|
-
service?: string;
|
|
19004
|
-
region?: string;
|
|
19005
|
-
resource_id?: string;
|
|
19006
|
-
tag?: string;
|
|
19007
|
-
tags?: string[];
|
|
19008
|
-
cost_category?: string;
|
|
19009
|
-
cost_subcategory?: string;
|
|
19010
|
-
segment?: string;
|
|
19472
|
+
usage?: Record<string, any> | null;
|
|
19473
|
+
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;
|
|
19474
|
+
billing_account_id?: string | null;
|
|
19475
|
+
account_id?: string | null;
|
|
19476
|
+
service?: string | null;
|
|
19477
|
+
region?: string | null;
|
|
19478
|
+
resource_id?: string | null;
|
|
19479
|
+
tag?: string | null;
|
|
19480
|
+
tags?: string[] | null;
|
|
19481
|
+
cost_category?: string | null;
|
|
19482
|
+
cost_subcategory?: string | null;
|
|
19483
|
+
segment?: string | null;
|
|
19011
19484
|
}, null] : {
|
|
19012
19485
|
links?: components["schemas"]["Links"];
|
|
19013
19486
|
accrued_at: string;
|
|
19014
19487
|
amount: string;
|
|
19015
19488
|
currency: string;
|
|
19016
|
-
usage?: Record<string, any
|
|
19017
|
-
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";
|
|
19018
|
-
billing_account_id?: string;
|
|
19019
|
-
account_id?: string;
|
|
19020
|
-
service?: string;
|
|
19021
|
-
region?: string;
|
|
19022
|
-
resource_id?: string;
|
|
19023
|
-
tag?: string;
|
|
19024
|
-
tags?: string[];
|
|
19025
|
-
cost_category?: string;
|
|
19026
|
-
cost_subcategory?: string;
|
|
19027
|
-
segment?: string;
|
|
19489
|
+
usage?: Record<string, any> | null;
|
|
19490
|
+
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;
|
|
19491
|
+
billing_account_id?: string | null;
|
|
19492
|
+
account_id?: string | null;
|
|
19493
|
+
service?: string | null;
|
|
19494
|
+
region?: string | null;
|
|
19495
|
+
resource_id?: string | null;
|
|
19496
|
+
tag?: string | null;
|
|
19497
|
+
tags?: string[] | null;
|
|
19498
|
+
cost_category?: string | null;
|
|
19499
|
+
cost_subcategory?: string | null;
|
|
19500
|
+
segment?: string | null;
|
|
19028
19501
|
}>;
|
|
19029
19502
|
/**
|
|
19030
19503
|
* List UserCostUploads.
|
|
@@ -19044,7 +19517,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
19044
19517
|
provider: string;
|
|
19045
19518
|
account_identifier: string | null;
|
|
19046
19519
|
status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
|
|
19047
|
-
last_updated?: string;
|
|
19520
|
+
last_updated?: string | null;
|
|
19048
19521
|
workspace_tokens: string[];
|
|
19049
19522
|
created_at: string;
|
|
19050
19523
|
}, null] : {
|
|
@@ -19052,7 +19525,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
19052
19525
|
provider: string;
|
|
19053
19526
|
account_identifier: string | null;
|
|
19054
19527
|
status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
|
|
19055
|
-
last_updated?: string;
|
|
19528
|
+
last_updated?: string | null;
|
|
19056
19529
|
workspace_tokens: string[];
|
|
19057
19530
|
created_at: string;
|
|
19058
19531
|
}>;
|
|
@@ -19064,7 +19537,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
19064
19537
|
provider: string;
|
|
19065
19538
|
account_identifier: string | null;
|
|
19066
19539
|
status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
|
|
19067
|
-
last_updated?: string;
|
|
19540
|
+
last_updated?: string | null;
|
|
19068
19541
|
workspace_tokens: string[];
|
|
19069
19542
|
created_at: string;
|
|
19070
19543
|
}, null] : {
|
|
@@ -19072,7 +19545,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
19072
19545
|
provider: string;
|
|
19073
19546
|
account_identifier: string | null;
|
|
19074
19547
|
status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
|
|
19075
|
-
last_updated?: string;
|
|
19548
|
+
last_updated?: string | null;
|
|
19076
19549
|
workspace_tokens: string[];
|
|
19077
19550
|
created_at: string;
|
|
19078
19551
|
}>;
|
|
@@ -19154,117 +19627,25 @@ declare class InvoicesApi<NeverThrow extends boolean> {
|
|
|
19154
19627
|
* Send invoice via email.
|
|
19155
19628
|
*/
|
|
19156
19629
|
sendInvoice(invoiceToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19157
|
-
|
|
19158
|
-
invoice_number: string;
|
|
19159
|
-
total: string | null;
|
|
19160
|
-
billing_period_start: string;
|
|
19161
|
-
billing_period_end: string;
|
|
19162
|
-
status: string;
|
|
19163
|
-
created_at: string;
|
|
19164
|
-
updated_at: string;
|
|
19165
|
-
account_token: string;
|
|
19166
|
-
account_name: string;
|
|
19167
|
-
msp_account_token: string;
|
|
19630
|
+
recipients: string[];
|
|
19168
19631
|
}, null] : {
|
|
19169
|
-
|
|
19170
|
-
invoice_number: string;
|
|
19171
|
-
total: string | null;
|
|
19172
|
-
billing_period_start: string;
|
|
19173
|
-
billing_period_end: string;
|
|
19174
|
-
status: string;
|
|
19175
|
-
created_at: string;
|
|
19176
|
-
updated_at: string;
|
|
19177
|
-
account_token: string;
|
|
19178
|
-
account_name: string;
|
|
19179
|
-
msp_account_token: string;
|
|
19632
|
+
recipients: string[];
|
|
19180
19633
|
}>;
|
|
19181
19634
|
/**
|
|
19182
19635
|
* Send and approve invoice via email (MSP accounts only).
|
|
19183
19636
|
*/
|
|
19184
19637
|
sendAndApproveInvoice(invoiceToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19185
|
-
|
|
19186
|
-
invoice_number: string;
|
|
19187
|
-
total: string | null;
|
|
19188
|
-
billing_period_start: string;
|
|
19189
|
-
billing_period_end: string;
|
|
19190
|
-
status: string;
|
|
19191
|
-
created_at: string;
|
|
19192
|
-
updated_at: string;
|
|
19193
|
-
account_token: string;
|
|
19194
|
-
account_name: string;
|
|
19195
|
-
msp_account_token: string;
|
|
19638
|
+
recipients: string[];
|
|
19196
19639
|
}, null] : {
|
|
19197
|
-
|
|
19198
|
-
invoice_number: string;
|
|
19199
|
-
total: string | null;
|
|
19200
|
-
billing_period_start: string;
|
|
19201
|
-
billing_period_end: string;
|
|
19202
|
-
status: string;
|
|
19203
|
-
created_at: string;
|
|
19204
|
-
updated_at: string;
|
|
19205
|
-
account_token: string;
|
|
19206
|
-
account_name: string;
|
|
19207
|
-
msp_account_token: string;
|
|
19640
|
+
recipients: string[];
|
|
19208
19641
|
}>;
|
|
19209
19642
|
/**
|
|
19210
19643
|
* Get cost report URL for invoice period.
|
|
19211
19644
|
*/
|
|
19212
19645
|
getCostReport(invoiceToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19213
|
-
|
|
19214
|
-
title: string;
|
|
19215
|
-
folder_token?: string;
|
|
19216
|
-
saved_filter_tokens?: string[];
|
|
19217
|
-
business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
|
|
19218
|
-
filter: string | null;
|
|
19219
|
-
groupings?: string;
|
|
19220
|
-
settings?: {
|
|
19221
|
-
include_credits?: boolean;
|
|
19222
|
-
include_refunds?: boolean;
|
|
19223
|
-
include_discounts?: boolean;
|
|
19224
|
-
include_tax?: boolean;
|
|
19225
|
-
amortize?: boolean;
|
|
19226
|
-
unallocated?: boolean;
|
|
19227
|
-
aggregate_by?: string;
|
|
19228
|
-
show_previous_period?: boolean;
|
|
19229
|
-
};
|
|
19230
|
-
created_at: string;
|
|
19231
|
-
workspace_token: string;
|
|
19232
|
-
previous_period_start_date?: string;
|
|
19233
|
-
previous_period_end_date?: string;
|
|
19234
|
-
start_date?: string;
|
|
19235
|
-
end_date?: string;
|
|
19236
|
-
date_interval: string;
|
|
19237
|
-
chart_type: string;
|
|
19238
|
-
date_bin: string;
|
|
19239
|
-
chart_settings: components["schemas"]["ChartSettings"];
|
|
19646
|
+
cost_report_url: string;
|
|
19240
19647
|
}, null] : {
|
|
19241
|
-
|
|
19242
|
-
title: string;
|
|
19243
|
-
folder_token?: string;
|
|
19244
|
-
saved_filter_tokens?: string[];
|
|
19245
|
-
business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
|
|
19246
|
-
filter: string | null;
|
|
19247
|
-
groupings?: string;
|
|
19248
|
-
settings?: {
|
|
19249
|
-
include_credits?: boolean;
|
|
19250
|
-
include_refunds?: boolean;
|
|
19251
|
-
include_discounts?: boolean;
|
|
19252
|
-
include_tax?: boolean;
|
|
19253
|
-
amortize?: boolean;
|
|
19254
|
-
unallocated?: boolean;
|
|
19255
|
-
aggregate_by?: string;
|
|
19256
|
-
show_previous_period?: boolean;
|
|
19257
|
-
};
|
|
19258
|
-
created_at: string;
|
|
19259
|
-
workspace_token: string;
|
|
19260
|
-
previous_period_start_date?: string;
|
|
19261
|
-
previous_period_end_date?: string;
|
|
19262
|
-
start_date?: string;
|
|
19263
|
-
end_date?: string;
|
|
19264
|
-
date_interval: string;
|
|
19265
|
-
chart_type: string;
|
|
19266
|
-
date_bin: string;
|
|
19267
|
-
chart_settings: components["schemas"]["ChartSettings"];
|
|
19648
|
+
cost_report_url: string;
|
|
19268
19649
|
}>;
|
|
19269
19650
|
/**
|
|
19270
19651
|
* Regenerate an existing invoice (MSP accounts only).
|
|
@@ -19317,7 +19698,7 @@ declare class KubernetesEfficiencyReportsApi<NeverThrow extends boolean> {
|
|
|
19317
19698
|
default: boolean;
|
|
19318
19699
|
created_at: string;
|
|
19319
19700
|
workspace_token: string;
|
|
19320
|
-
user_token?: string;
|
|
19701
|
+
user_token?: string | null;
|
|
19321
19702
|
start_date: string | null;
|
|
19322
19703
|
end_date: string | null;
|
|
19323
19704
|
date_interval: string | null;
|
|
@@ -19331,7 +19712,7 @@ declare class KubernetesEfficiencyReportsApi<NeverThrow extends boolean> {
|
|
|
19331
19712
|
default: boolean;
|
|
19332
19713
|
created_at: string;
|
|
19333
19714
|
workspace_token: string;
|
|
19334
|
-
user_token?: string;
|
|
19715
|
+
user_token?: string | null;
|
|
19335
19716
|
start_date: string | null;
|
|
19336
19717
|
end_date: string | null;
|
|
19337
19718
|
date_interval: string | null;
|
|
@@ -19349,7 +19730,7 @@ declare class KubernetesEfficiencyReportsApi<NeverThrow extends boolean> {
|
|
|
19349
19730
|
default: boolean;
|
|
19350
19731
|
created_at: string;
|
|
19351
19732
|
workspace_token: string;
|
|
19352
|
-
user_token?: string;
|
|
19733
|
+
user_token?: string | null;
|
|
19353
19734
|
start_date: string | null;
|
|
19354
19735
|
end_date: string | null;
|
|
19355
19736
|
date_interval: string | null;
|
|
@@ -19363,7 +19744,7 @@ declare class KubernetesEfficiencyReportsApi<NeverThrow extends boolean> {
|
|
|
19363
19744
|
default: boolean;
|
|
19364
19745
|
created_at: string;
|
|
19365
19746
|
workspace_token: string;
|
|
19366
|
-
user_token?: string;
|
|
19747
|
+
user_token?: string | null;
|
|
19367
19748
|
start_date: string | null;
|
|
19368
19749
|
end_date: string | null;
|
|
19369
19750
|
date_interval: string | null;
|
|
@@ -19381,7 +19762,7 @@ declare class KubernetesEfficiencyReportsApi<NeverThrow extends boolean> {
|
|
|
19381
19762
|
default: boolean;
|
|
19382
19763
|
created_at: string;
|
|
19383
19764
|
workspace_token: string;
|
|
19384
|
-
user_token?: string;
|
|
19765
|
+
user_token?: string | null;
|
|
19385
19766
|
start_date: string | null;
|
|
19386
19767
|
end_date: string | null;
|
|
19387
19768
|
date_interval: string | null;
|
|
@@ -19395,7 +19776,7 @@ declare class KubernetesEfficiencyReportsApi<NeverThrow extends boolean> {
|
|
|
19395
19776
|
default: boolean;
|
|
19396
19777
|
created_at: string;
|
|
19397
19778
|
workspace_token: string;
|
|
19398
|
-
user_token?: string;
|
|
19779
|
+
user_token?: string | null;
|
|
19399
19780
|
start_date: string | null;
|
|
19400
19781
|
end_date: string | null;
|
|
19401
19782
|
date_interval: string | null;
|
|
@@ -19413,7 +19794,7 @@ declare class KubernetesEfficiencyReportsApi<NeverThrow extends boolean> {
|
|
|
19413
19794
|
default: boolean;
|
|
19414
19795
|
created_at: string;
|
|
19415
19796
|
workspace_token: string;
|
|
19416
|
-
user_token?: string;
|
|
19797
|
+
user_token?: string | null;
|
|
19417
19798
|
start_date: string | null;
|
|
19418
19799
|
end_date: string | null;
|
|
19419
19800
|
date_interval: string | null;
|
|
@@ -19427,7 +19808,7 @@ declare class KubernetesEfficiencyReportsApi<NeverThrow extends boolean> {
|
|
|
19427
19808
|
default: boolean;
|
|
19428
19809
|
created_at: string;
|
|
19429
19810
|
workspace_token: string;
|
|
19430
|
-
user_token?: string;
|
|
19811
|
+
user_token?: string | null;
|
|
19431
19812
|
start_date: string | null;
|
|
19432
19813
|
end_date: string | null;
|
|
19433
19814
|
date_interval: string | null;
|
|
@@ -19445,14 +19826,14 @@ declare class KubernetesEfficiencyReportsApi<NeverThrow extends boolean> {
|
|
|
19445
19826
|
created_at: string;
|
|
19446
19827
|
export_type: string;
|
|
19447
19828
|
manifest: components["schemas"]["DataExportManifest"];
|
|
19448
|
-
attributes: string
|
|
19829
|
+
attributes: Record<string, any>;
|
|
19449
19830
|
}, null] : {
|
|
19450
19831
|
token: string;
|
|
19451
19832
|
status: string;
|
|
19452
19833
|
created_at: string;
|
|
19453
19834
|
export_type: string;
|
|
19454
19835
|
manifest: components["schemas"]["DataExportManifest"];
|
|
19455
|
-
attributes: string
|
|
19836
|
+
attributes: Record<string, any>;
|
|
19456
19837
|
}>;
|
|
19457
19838
|
}
|
|
19458
19839
|
declare class ManagedAccountsApi<NeverThrow extends boolean> {
|
|
@@ -19478,8 +19859,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
|
|
|
19478
19859
|
parent_account_token: string;
|
|
19479
19860
|
access_credential_tokens: string[];
|
|
19480
19861
|
billing_rule_tokens: string[];
|
|
19481
|
-
email_domain?: string;
|
|
19482
|
-
msp_billing_profile_token?: string;
|
|
19862
|
+
email_domain?: string | null;
|
|
19863
|
+
msp_billing_profile_token?: string | null;
|
|
19483
19864
|
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19484
19865
|
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19485
19866
|
}, null] : {
|
|
@@ -19489,8 +19870,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
|
|
|
19489
19870
|
parent_account_token: string;
|
|
19490
19871
|
access_credential_tokens: string[];
|
|
19491
19872
|
billing_rule_tokens: string[];
|
|
19492
|
-
email_domain?: string;
|
|
19493
|
-
msp_billing_profile_token?: string;
|
|
19873
|
+
email_domain?: string | null;
|
|
19874
|
+
msp_billing_profile_token?: string | null;
|
|
19494
19875
|
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19495
19876
|
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19496
19877
|
}>;
|
|
@@ -19504,8 +19885,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
|
|
|
19504
19885
|
parent_account_token: string;
|
|
19505
19886
|
access_credential_tokens: string[];
|
|
19506
19887
|
billing_rule_tokens: string[];
|
|
19507
|
-
email_domain?: string;
|
|
19508
|
-
msp_billing_profile_token?: string;
|
|
19888
|
+
email_domain?: string | null;
|
|
19889
|
+
msp_billing_profile_token?: string | null;
|
|
19509
19890
|
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19510
19891
|
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19511
19892
|
}, null] : {
|
|
@@ -19515,8 +19896,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
|
|
|
19515
19896
|
parent_account_token: string;
|
|
19516
19897
|
access_credential_tokens: string[];
|
|
19517
19898
|
billing_rule_tokens: string[];
|
|
19518
|
-
email_domain?: string;
|
|
19519
|
-
msp_billing_profile_token?: string;
|
|
19899
|
+
email_domain?: string | null;
|
|
19900
|
+
msp_billing_profile_token?: string | null;
|
|
19520
19901
|
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19521
19902
|
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19522
19903
|
}>;
|
|
@@ -19530,8 +19911,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
|
|
|
19530
19911
|
parent_account_token: string;
|
|
19531
19912
|
access_credential_tokens: string[];
|
|
19532
19913
|
billing_rule_tokens: string[];
|
|
19533
|
-
email_domain?: string;
|
|
19534
|
-
msp_billing_profile_token?: string;
|
|
19914
|
+
email_domain?: string | null;
|
|
19915
|
+
msp_billing_profile_token?: string | null;
|
|
19535
19916
|
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19536
19917
|
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19537
19918
|
}, null] : {
|
|
@@ -19541,8 +19922,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
|
|
|
19541
19922
|
parent_account_token: string;
|
|
19542
19923
|
access_credential_tokens: string[];
|
|
19543
19924
|
billing_rule_tokens: string[];
|
|
19544
|
-
email_domain?: string;
|
|
19545
|
-
msp_billing_profile_token?: string;
|
|
19925
|
+
email_domain?: string | null;
|
|
19926
|
+
msp_billing_profile_token?: string | null;
|
|
19546
19927
|
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19547
19928
|
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19548
19929
|
}>;
|
|
@@ -19556,8 +19937,60 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
|
|
|
19556
19937
|
parent_account_token: string;
|
|
19557
19938
|
access_credential_tokens: string[];
|
|
19558
19939
|
billing_rule_tokens: string[];
|
|
19559
|
-
email_domain?: string;
|
|
19560
|
-
msp_billing_profile_token?: string;
|
|
19940
|
+
email_domain?: string | null;
|
|
19941
|
+
msp_billing_profile_token?: string | null;
|
|
19942
|
+
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19943
|
+
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19944
|
+
}, null] : {
|
|
19945
|
+
token: string;
|
|
19946
|
+
name: string;
|
|
19947
|
+
contact_email: string;
|
|
19948
|
+
parent_account_token: string;
|
|
19949
|
+
access_credential_tokens: string[];
|
|
19950
|
+
billing_rule_tokens: string[];
|
|
19951
|
+
email_domain?: string | null;
|
|
19952
|
+
msp_billing_profile_token?: string | null;
|
|
19953
|
+
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19954
|
+
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19955
|
+
}>;
|
|
19956
|
+
/**
|
|
19957
|
+
* Update SSO configuration for a Managed Account.
|
|
19958
|
+
*/
|
|
19959
|
+
updateSsoConnectionForManagedAccount(managedAccountToken: string, body: UpdateSsoConnectionForManagedAccountRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19960
|
+
token: string;
|
|
19961
|
+
name: string;
|
|
19962
|
+
contact_email: string;
|
|
19963
|
+
parent_account_token: string;
|
|
19964
|
+
access_credential_tokens: string[];
|
|
19965
|
+
billing_rule_tokens: string[];
|
|
19966
|
+
email_domain?: string | null;
|
|
19967
|
+
msp_billing_profile_token?: string | null;
|
|
19968
|
+
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19969
|
+
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19970
|
+
}, null] : {
|
|
19971
|
+
token: string;
|
|
19972
|
+
name: string;
|
|
19973
|
+
contact_email: string;
|
|
19974
|
+
parent_account_token: string;
|
|
19975
|
+
access_credential_tokens: string[];
|
|
19976
|
+
billing_rule_tokens: string[];
|
|
19977
|
+
email_domain?: string | null;
|
|
19978
|
+
msp_billing_profile_token?: string | null;
|
|
19979
|
+
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19980
|
+
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19981
|
+
}>;
|
|
19982
|
+
/**
|
|
19983
|
+
* Configure SSO for a Managed Account.
|
|
19984
|
+
*/
|
|
19985
|
+
createSsoConnectionForManagedAccount(managedAccountToken: string, body: CreateSsoConnectionForManagedAccountRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19986
|
+
token: string;
|
|
19987
|
+
name: string;
|
|
19988
|
+
contact_email: string;
|
|
19989
|
+
parent_account_token: string;
|
|
19990
|
+
access_credential_tokens: string[];
|
|
19991
|
+
billing_rule_tokens: string[];
|
|
19992
|
+
email_domain?: string | null;
|
|
19993
|
+
msp_billing_profile_token?: string | null;
|
|
19561
19994
|
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19562
19995
|
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19563
19996
|
}, null] : {
|
|
@@ -19567,8 +20000,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
|
|
|
19567
20000
|
parent_account_token: string;
|
|
19568
20001
|
access_credential_tokens: string[];
|
|
19569
20002
|
billing_rule_tokens: string[];
|
|
19570
|
-
email_domain?: string;
|
|
19571
|
-
msp_billing_profile_token?: string;
|
|
20003
|
+
email_domain?: string | null;
|
|
20004
|
+
msp_billing_profile_token?: string | null;
|
|
19572
20005
|
billing_information_attributes?: components["schemas"]["BillingInformation"];
|
|
19573
20006
|
business_information_attributes?: components["schemas"]["BusinessInformation"];
|
|
19574
20007
|
}>;
|
|
@@ -19580,11 +20013,11 @@ declare class MeApi<NeverThrow extends boolean> {
|
|
|
19580
20013
|
* Get information about the authenticated BearerToken.
|
|
19581
20014
|
*/
|
|
19582
20015
|
get(): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19583
|
-
default_workspace_token: string;
|
|
20016
|
+
default_workspace_token: string | null;
|
|
19584
20017
|
workspaces: components["schemas"]["Workspace"][];
|
|
19585
20018
|
bearer_token: components["schemas"]["BearerToken"];
|
|
19586
20019
|
}, null] : {
|
|
19587
|
-
default_workspace_token: string;
|
|
20020
|
+
default_workspace_token: string | null;
|
|
19588
20021
|
workspaces: components["schemas"]["Workspace"][];
|
|
19589
20022
|
bearer_token: components["schemas"]["BearerToken"];
|
|
19590
20023
|
}>;
|
|
@@ -19626,12 +20059,12 @@ declare class UserFeedbackApi<NeverThrow extends boolean> {
|
|
|
19626
20059
|
create(body: CreateUserFeedbackRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19627
20060
|
token: string;
|
|
19628
20061
|
message: string;
|
|
19629
|
-
created_by_token?: string;
|
|
20062
|
+
created_by_token?: string | null;
|
|
19630
20063
|
created_at: string;
|
|
19631
20064
|
}, null] : {
|
|
19632
20065
|
token: string;
|
|
19633
20066
|
message: string;
|
|
19634
|
-
created_by_token?: string;
|
|
20067
|
+
created_by_token?: string | null;
|
|
19635
20068
|
created_at: string;
|
|
19636
20069
|
}>;
|
|
19637
20070
|
}
|
|
@@ -19657,7 +20090,7 @@ declare class NetworkFlowReportsApi<NeverThrow extends boolean> {
|
|
|
19657
20090
|
default: boolean;
|
|
19658
20091
|
created_at: string;
|
|
19659
20092
|
workspace_token: string;
|
|
19660
|
-
created_by_token?: string;
|
|
20093
|
+
created_by_token?: string | null;
|
|
19661
20094
|
start_date: string | null;
|
|
19662
20095
|
end_date: string | null;
|
|
19663
20096
|
date_interval: string | null;
|
|
@@ -19671,7 +20104,7 @@ declare class NetworkFlowReportsApi<NeverThrow extends boolean> {
|
|
|
19671
20104
|
default: boolean;
|
|
19672
20105
|
created_at: string;
|
|
19673
20106
|
workspace_token: string;
|
|
19674
|
-
created_by_token?: string;
|
|
20107
|
+
created_by_token?: string | null;
|
|
19675
20108
|
start_date: string | null;
|
|
19676
20109
|
end_date: string | null;
|
|
19677
20110
|
date_interval: string | null;
|
|
@@ -19689,7 +20122,7 @@ declare class NetworkFlowReportsApi<NeverThrow extends boolean> {
|
|
|
19689
20122
|
default: boolean;
|
|
19690
20123
|
created_at: string;
|
|
19691
20124
|
workspace_token: string;
|
|
19692
|
-
created_by_token?: string;
|
|
20125
|
+
created_by_token?: string | null;
|
|
19693
20126
|
start_date: string | null;
|
|
19694
20127
|
end_date: string | null;
|
|
19695
20128
|
date_interval: string | null;
|
|
@@ -19703,7 +20136,7 @@ declare class NetworkFlowReportsApi<NeverThrow extends boolean> {
|
|
|
19703
20136
|
default: boolean;
|
|
19704
20137
|
created_at: string;
|
|
19705
20138
|
workspace_token: string;
|
|
19706
|
-
created_by_token?: string;
|
|
20139
|
+
created_by_token?: string | null;
|
|
19707
20140
|
start_date: string | null;
|
|
19708
20141
|
end_date: string | null;
|
|
19709
20142
|
date_interval: string | null;
|
|
@@ -19721,7 +20154,7 @@ declare class NetworkFlowReportsApi<NeverThrow extends boolean> {
|
|
|
19721
20154
|
default: boolean;
|
|
19722
20155
|
created_at: string;
|
|
19723
20156
|
workspace_token: string;
|
|
19724
|
-
created_by_token?: string;
|
|
20157
|
+
created_by_token?: string | null;
|
|
19725
20158
|
start_date: string | null;
|
|
19726
20159
|
end_date: string | null;
|
|
19727
20160
|
date_interval: string | null;
|
|
@@ -19735,7 +20168,7 @@ declare class NetworkFlowReportsApi<NeverThrow extends boolean> {
|
|
|
19735
20168
|
default: boolean;
|
|
19736
20169
|
created_at: string;
|
|
19737
20170
|
workspace_token: string;
|
|
19738
|
-
created_by_token?: string;
|
|
20171
|
+
created_by_token?: string | null;
|
|
19739
20172
|
start_date: string | null;
|
|
19740
20173
|
end_date: string | null;
|
|
19741
20174
|
date_interval: string | null;
|
|
@@ -19753,7 +20186,7 @@ declare class NetworkFlowReportsApi<NeverThrow extends boolean> {
|
|
|
19753
20186
|
default: boolean;
|
|
19754
20187
|
created_at: string;
|
|
19755
20188
|
workspace_token: string;
|
|
19756
|
-
created_by_token?: string;
|
|
20189
|
+
created_by_token?: string | null;
|
|
19757
20190
|
start_date: string | null;
|
|
19758
20191
|
end_date: string | null;
|
|
19759
20192
|
date_interval: string | null;
|
|
@@ -19767,7 +20200,7 @@ declare class NetworkFlowReportsApi<NeverThrow extends boolean> {
|
|
|
19767
20200
|
default: boolean;
|
|
19768
20201
|
created_at: string;
|
|
19769
20202
|
workspace_token: string;
|
|
19770
|
-
created_by_token?: string;
|
|
20203
|
+
created_by_token?: string | null;
|
|
19771
20204
|
start_date: string | null;
|
|
19772
20205
|
end_date: string | null;
|
|
19773
20206
|
date_interval: string | null;
|
|
@@ -19859,7 +20292,8 @@ declare class RecommendationsApi<NeverThrow extends boolean> {
|
|
|
19859
20292
|
*/
|
|
19860
20293
|
get(recommendationToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19861
20294
|
token: string;
|
|
19862
|
-
|
|
20295
|
+
type: string;
|
|
20296
|
+
category: string;
|
|
19863
20297
|
workspace_token: string;
|
|
19864
20298
|
provider: string;
|
|
19865
20299
|
provider_account_id: string | null;
|
|
@@ -19867,12 +20301,13 @@ declare class RecommendationsApi<NeverThrow extends boolean> {
|
|
|
19867
20301
|
potential_savings: string | null;
|
|
19868
20302
|
service: string;
|
|
19869
20303
|
created_at: string;
|
|
19870
|
-
resources_affected_count:
|
|
19871
|
-
currency_code?: string;
|
|
19872
|
-
currency_symbol?: string;
|
|
20304
|
+
resources_affected_count: number;
|
|
20305
|
+
currency_code?: string | null;
|
|
20306
|
+
currency_symbol?: string | null;
|
|
19873
20307
|
}, null] : {
|
|
19874
20308
|
token: string;
|
|
19875
|
-
|
|
20309
|
+
type: string;
|
|
20310
|
+
category: string;
|
|
19876
20311
|
workspace_token: string;
|
|
19877
20312
|
provider: string;
|
|
19878
20313
|
provider_account_id: string | null;
|
|
@@ -19880,9 +20315,9 @@ declare class RecommendationsApi<NeverThrow extends boolean> {
|
|
|
19880
20315
|
potential_savings: string | null;
|
|
19881
20316
|
service: string;
|
|
19882
20317
|
created_at: string;
|
|
19883
|
-
resources_affected_count:
|
|
19884
|
-
currency_code?: string;
|
|
19885
|
-
currency_symbol?: string;
|
|
20318
|
+
resources_affected_count: number;
|
|
20319
|
+
currency_code?: string | null;
|
|
20320
|
+
currency_symbol?: string | null;
|
|
19886
20321
|
}>;
|
|
19887
20322
|
/**
|
|
19888
20323
|
* Return all Active Resources, including Recommendation Actions, referenced in this Recommendation.
|
|
@@ -19906,6 +20341,16 @@ declare class RecommendationsApi<NeverThrow extends boolean> {
|
|
|
19906
20341
|
resource_id: string;
|
|
19907
20342
|
recommendation_actions?: components["schemas"]["RecommendationAction"][];
|
|
19908
20343
|
}>;
|
|
20344
|
+
/**
|
|
20345
|
+
* Return all Active Resources associated with recommendations of the specified type.
|
|
20346
|
+
*/
|
|
20347
|
+
getTypeResources(type: string, body?: GetRecommendationTypeResourcesRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
20348
|
+
links?: components["schemas"]["Links"];
|
|
20349
|
+
resources: components["schemas"]["ProviderResource"][];
|
|
20350
|
+
}, null] : {
|
|
20351
|
+
links?: components["schemas"]["Links"];
|
|
20352
|
+
resources: components["schemas"]["ProviderResource"][];
|
|
20353
|
+
}>;
|
|
19909
20354
|
}
|
|
19910
20355
|
declare class RecommendationViewsApi<NeverThrow extends boolean> {
|
|
19911
20356
|
private client;
|
|
@@ -19924,129 +20369,129 @@ declare class RecommendationViewsApi<NeverThrow extends boolean> {
|
|
|
19924
20369
|
* Create a RecommendationView.
|
|
19925
20370
|
*/
|
|
19926
20371
|
create(body: CreateRecommendationViewRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19927
|
-
token?: string;
|
|
19928
|
-
title?: string;
|
|
19929
|
-
workspace_token?: string;
|
|
19930
|
-
start_date?: string;
|
|
19931
|
-
end_date?: string;
|
|
19932
|
-
provider_ids?: string[];
|
|
19933
|
-
billing_account_ids?: string[];
|
|
19934
|
-
account_ids?: string[];
|
|
19935
|
-
regions?: string[];
|
|
19936
|
-
tag_key?: string;
|
|
19937
|
-
tag_value?: string;
|
|
19938
|
-
created_at?: string;
|
|
19939
|
-
created_by?: string;
|
|
20372
|
+
token?: string | null;
|
|
20373
|
+
title?: string | null;
|
|
20374
|
+
workspace_token?: string | null;
|
|
20375
|
+
start_date?: string | null;
|
|
20376
|
+
end_date?: string | null;
|
|
20377
|
+
provider_ids?: string[] | null;
|
|
20378
|
+
billing_account_ids?: string[] | null;
|
|
20379
|
+
account_ids?: string[] | null;
|
|
20380
|
+
regions?: string[] | null;
|
|
20381
|
+
tag_key?: string | null;
|
|
20382
|
+
tag_value?: string | null;
|
|
20383
|
+
created_at?: string | null;
|
|
20384
|
+
created_by?: string | null;
|
|
19940
20385
|
}, null] : {
|
|
19941
|
-
token?: string;
|
|
19942
|
-
title?: string;
|
|
19943
|
-
workspace_token?: string;
|
|
19944
|
-
start_date?: string;
|
|
19945
|
-
end_date?: string;
|
|
19946
|
-
provider_ids?: string[];
|
|
19947
|
-
billing_account_ids?: string[];
|
|
19948
|
-
account_ids?: string[];
|
|
19949
|
-
regions?: string[];
|
|
19950
|
-
tag_key?: string;
|
|
19951
|
-
tag_value?: string;
|
|
19952
|
-
created_at?: string;
|
|
19953
|
-
created_by?: string;
|
|
20386
|
+
token?: string | null;
|
|
20387
|
+
title?: string | null;
|
|
20388
|
+
workspace_token?: string | null;
|
|
20389
|
+
start_date?: string | null;
|
|
20390
|
+
end_date?: string | null;
|
|
20391
|
+
provider_ids?: string[] | null;
|
|
20392
|
+
billing_account_ids?: string[] | null;
|
|
20393
|
+
account_ids?: string[] | null;
|
|
20394
|
+
regions?: string[] | null;
|
|
20395
|
+
tag_key?: string | null;
|
|
20396
|
+
tag_value?: string | null;
|
|
20397
|
+
created_at?: string | null;
|
|
20398
|
+
created_by?: string | null;
|
|
19954
20399
|
}>;
|
|
19955
20400
|
/**
|
|
19956
20401
|
* Return a specific RecommendationView.
|
|
19957
20402
|
*/
|
|
19958
20403
|
get(recommendationViewToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19959
|
-
token?: string;
|
|
19960
|
-
title?: string;
|
|
19961
|
-
workspace_token?: string;
|
|
19962
|
-
start_date?: string;
|
|
19963
|
-
end_date?: string;
|
|
19964
|
-
provider_ids?: string[];
|
|
19965
|
-
billing_account_ids?: string[];
|
|
19966
|
-
account_ids?: string[];
|
|
19967
|
-
regions?: string[];
|
|
19968
|
-
tag_key?: string;
|
|
19969
|
-
tag_value?: string;
|
|
19970
|
-
created_at?: string;
|
|
19971
|
-
created_by?: string;
|
|
20404
|
+
token?: string | null;
|
|
20405
|
+
title?: string | null;
|
|
20406
|
+
workspace_token?: string | null;
|
|
20407
|
+
start_date?: string | null;
|
|
20408
|
+
end_date?: string | null;
|
|
20409
|
+
provider_ids?: string[] | null;
|
|
20410
|
+
billing_account_ids?: string[] | null;
|
|
20411
|
+
account_ids?: string[] | null;
|
|
20412
|
+
regions?: string[] | null;
|
|
20413
|
+
tag_key?: string | null;
|
|
20414
|
+
tag_value?: string | null;
|
|
20415
|
+
created_at?: string | null;
|
|
20416
|
+
created_by?: string | null;
|
|
19972
20417
|
}, null] : {
|
|
19973
|
-
token?: string;
|
|
19974
|
-
title?: string;
|
|
19975
|
-
workspace_token?: string;
|
|
19976
|
-
start_date?: string;
|
|
19977
|
-
end_date?: string;
|
|
19978
|
-
provider_ids?: string[];
|
|
19979
|
-
billing_account_ids?: string[];
|
|
19980
|
-
account_ids?: string[];
|
|
19981
|
-
regions?: string[];
|
|
19982
|
-
tag_key?: string;
|
|
19983
|
-
tag_value?: string;
|
|
19984
|
-
created_at?: string;
|
|
19985
|
-
created_by?: string;
|
|
20418
|
+
token?: string | null;
|
|
20419
|
+
title?: string | null;
|
|
20420
|
+
workspace_token?: string | null;
|
|
20421
|
+
start_date?: string | null;
|
|
20422
|
+
end_date?: string | null;
|
|
20423
|
+
provider_ids?: string[] | null;
|
|
20424
|
+
billing_account_ids?: string[] | null;
|
|
20425
|
+
account_ids?: string[] | null;
|
|
20426
|
+
regions?: string[] | null;
|
|
20427
|
+
tag_key?: string | null;
|
|
20428
|
+
tag_value?: string | null;
|
|
20429
|
+
created_at?: string | null;
|
|
20430
|
+
created_by?: string | null;
|
|
19986
20431
|
}>;
|
|
19987
20432
|
/**
|
|
19988
20433
|
* Update a RecommendationView.
|
|
19989
20434
|
*/
|
|
19990
20435
|
update(recommendationViewToken: string, body: UpdateRecommendationViewRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19991
|
-
token?: string;
|
|
19992
|
-
title?: string;
|
|
19993
|
-
workspace_token?: string;
|
|
19994
|
-
start_date?: string;
|
|
19995
|
-
end_date?: string;
|
|
19996
|
-
provider_ids?: string[];
|
|
19997
|
-
billing_account_ids?: string[];
|
|
19998
|
-
account_ids?: string[];
|
|
19999
|
-
regions?: string[];
|
|
20000
|
-
tag_key?: string;
|
|
20001
|
-
tag_value?: string;
|
|
20002
|
-
created_at?: string;
|
|
20003
|
-
created_by?: string;
|
|
20436
|
+
token?: string | null;
|
|
20437
|
+
title?: string | null;
|
|
20438
|
+
workspace_token?: string | null;
|
|
20439
|
+
start_date?: string | null;
|
|
20440
|
+
end_date?: string | null;
|
|
20441
|
+
provider_ids?: string[] | null;
|
|
20442
|
+
billing_account_ids?: string[] | null;
|
|
20443
|
+
account_ids?: string[] | null;
|
|
20444
|
+
regions?: string[] | null;
|
|
20445
|
+
tag_key?: string | null;
|
|
20446
|
+
tag_value?: string | null;
|
|
20447
|
+
created_at?: string | null;
|
|
20448
|
+
created_by?: string | null;
|
|
20004
20449
|
}, null] : {
|
|
20005
|
-
token?: string;
|
|
20006
|
-
title?: string;
|
|
20007
|
-
workspace_token?: string;
|
|
20008
|
-
start_date?: string;
|
|
20009
|
-
end_date?: string;
|
|
20010
|
-
provider_ids?: string[];
|
|
20011
|
-
billing_account_ids?: string[];
|
|
20012
|
-
account_ids?: string[];
|
|
20013
|
-
regions?: string[];
|
|
20014
|
-
tag_key?: string;
|
|
20015
|
-
tag_value?: string;
|
|
20016
|
-
created_at?: string;
|
|
20017
|
-
created_by?: string;
|
|
20450
|
+
token?: string | null;
|
|
20451
|
+
title?: string | null;
|
|
20452
|
+
workspace_token?: string | null;
|
|
20453
|
+
start_date?: string | null;
|
|
20454
|
+
end_date?: string | null;
|
|
20455
|
+
provider_ids?: string[] | null;
|
|
20456
|
+
billing_account_ids?: string[] | null;
|
|
20457
|
+
account_ids?: string[] | null;
|
|
20458
|
+
regions?: string[] | null;
|
|
20459
|
+
tag_key?: string | null;
|
|
20460
|
+
tag_value?: string | null;
|
|
20461
|
+
created_at?: string | null;
|
|
20462
|
+
created_by?: string | null;
|
|
20018
20463
|
}>;
|
|
20019
20464
|
/**
|
|
20020
20465
|
* Delete a RecommendationView.
|
|
20021
20466
|
*/
|
|
20022
20467
|
delete(recommendationViewToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
20023
|
-
token?: string;
|
|
20024
|
-
title?: string;
|
|
20025
|
-
workspace_token?: string;
|
|
20026
|
-
start_date?: string;
|
|
20027
|
-
end_date?: string;
|
|
20028
|
-
provider_ids?: string[];
|
|
20029
|
-
billing_account_ids?: string[];
|
|
20030
|
-
account_ids?: string[];
|
|
20031
|
-
regions?: string[];
|
|
20032
|
-
tag_key?: string;
|
|
20033
|
-
tag_value?: string;
|
|
20034
|
-
created_at?: string;
|
|
20035
|
-
created_by?: string;
|
|
20468
|
+
token?: string | null;
|
|
20469
|
+
title?: string | null;
|
|
20470
|
+
workspace_token?: string | null;
|
|
20471
|
+
start_date?: string | null;
|
|
20472
|
+
end_date?: string | null;
|
|
20473
|
+
provider_ids?: string[] | null;
|
|
20474
|
+
billing_account_ids?: string[] | null;
|
|
20475
|
+
account_ids?: string[] | null;
|
|
20476
|
+
regions?: string[] | null;
|
|
20477
|
+
tag_key?: string | null;
|
|
20478
|
+
tag_value?: string | null;
|
|
20479
|
+
created_at?: string | null;
|
|
20480
|
+
created_by?: string | null;
|
|
20036
20481
|
}, null] : {
|
|
20037
|
-
token?: string;
|
|
20038
|
-
title?: string;
|
|
20039
|
-
workspace_token?: string;
|
|
20040
|
-
start_date?: string;
|
|
20041
|
-
end_date?: string;
|
|
20042
|
-
provider_ids?: string[];
|
|
20043
|
-
billing_account_ids?: string[];
|
|
20044
|
-
account_ids?: string[];
|
|
20045
|
-
regions?: string[];
|
|
20046
|
-
tag_key?: string;
|
|
20047
|
-
tag_value?: string;
|
|
20048
|
-
created_at?: string;
|
|
20049
|
-
created_by?: string;
|
|
20482
|
+
token?: string | null;
|
|
20483
|
+
title?: string | null;
|
|
20484
|
+
workspace_token?: string | null;
|
|
20485
|
+
start_date?: string | null;
|
|
20486
|
+
end_date?: string | null;
|
|
20487
|
+
provider_ids?: string[] | null;
|
|
20488
|
+
billing_account_ids?: string[] | null;
|
|
20489
|
+
account_ids?: string[] | null;
|
|
20490
|
+
regions?: string[] | null;
|
|
20491
|
+
tag_key?: string | null;
|
|
20492
|
+
tag_value?: string | null;
|
|
20493
|
+
created_at?: string | null;
|
|
20494
|
+
created_by?: string | null;
|
|
20050
20495
|
}>;
|
|
20051
20496
|
}
|
|
20052
20497
|
declare class ReportNotificationsApi<NeverThrow extends boolean> {
|
|
@@ -20384,11 +20829,11 @@ declare class SegmentsApi<NeverThrow extends boolean> {
|
|
|
20384
20829
|
description: string;
|
|
20385
20830
|
track_unallocated: boolean;
|
|
20386
20831
|
report_settings?: {
|
|
20387
|
-
include_credits?: boolean;
|
|
20388
|
-
include_refunds?: boolean;
|
|
20389
|
-
include_discounts?: boolean;
|
|
20390
|
-
include_tax?: boolean;
|
|
20391
|
-
amortize?: boolean;
|
|
20832
|
+
include_credits?: boolean | null;
|
|
20833
|
+
include_refunds?: boolean | null;
|
|
20834
|
+
include_discounts?: boolean | null;
|
|
20835
|
+
include_tax?: boolean | null;
|
|
20836
|
+
amortize?: boolean | null;
|
|
20392
20837
|
};
|
|
20393
20838
|
priority: number;
|
|
20394
20839
|
filter: string | null;
|
|
@@ -20402,11 +20847,11 @@ declare class SegmentsApi<NeverThrow extends boolean> {
|
|
|
20402
20847
|
description: string;
|
|
20403
20848
|
track_unallocated: boolean;
|
|
20404
20849
|
report_settings?: {
|
|
20405
|
-
include_credits?: boolean;
|
|
20406
|
-
include_refunds?: boolean;
|
|
20407
|
-
include_discounts?: boolean;
|
|
20408
|
-
include_tax?: boolean;
|
|
20409
|
-
amortize?: boolean;
|
|
20850
|
+
include_credits?: boolean | null;
|
|
20851
|
+
include_refunds?: boolean | null;
|
|
20852
|
+
include_discounts?: boolean | null;
|
|
20853
|
+
include_tax?: boolean | null;
|
|
20854
|
+
amortize?: boolean | null;
|
|
20410
20855
|
};
|
|
20411
20856
|
priority: number;
|
|
20412
20857
|
filter: string | null;
|
|
@@ -20424,11 +20869,11 @@ declare class SegmentsApi<NeverThrow extends boolean> {
|
|
|
20424
20869
|
description: string;
|
|
20425
20870
|
track_unallocated: boolean;
|
|
20426
20871
|
report_settings?: {
|
|
20427
|
-
include_credits?: boolean;
|
|
20428
|
-
include_refunds?: boolean;
|
|
20429
|
-
include_discounts?: boolean;
|
|
20430
|
-
include_tax?: boolean;
|
|
20431
|
-
amortize?: boolean;
|
|
20872
|
+
include_credits?: boolean | null;
|
|
20873
|
+
include_refunds?: boolean | null;
|
|
20874
|
+
include_discounts?: boolean | null;
|
|
20875
|
+
include_tax?: boolean | null;
|
|
20876
|
+
amortize?: boolean | null;
|
|
20432
20877
|
};
|
|
20433
20878
|
priority: number;
|
|
20434
20879
|
filter: string | null;
|
|
@@ -20442,11 +20887,11 @@ declare class SegmentsApi<NeverThrow extends boolean> {
|
|
|
20442
20887
|
description: string;
|
|
20443
20888
|
track_unallocated: boolean;
|
|
20444
20889
|
report_settings?: {
|
|
20445
|
-
include_credits?: boolean;
|
|
20446
|
-
include_refunds?: boolean;
|
|
20447
|
-
include_discounts?: boolean;
|
|
20448
|
-
include_tax?: boolean;
|
|
20449
|
-
amortize?: boolean;
|
|
20890
|
+
include_credits?: boolean | null;
|
|
20891
|
+
include_refunds?: boolean | null;
|
|
20892
|
+
include_discounts?: boolean | null;
|
|
20893
|
+
include_tax?: boolean | null;
|
|
20894
|
+
amortize?: boolean | null;
|
|
20450
20895
|
};
|
|
20451
20896
|
priority: number;
|
|
20452
20897
|
filter: string | null;
|
|
@@ -20464,11 +20909,11 @@ declare class SegmentsApi<NeverThrow extends boolean> {
|
|
|
20464
20909
|
description: string;
|
|
20465
20910
|
track_unallocated: boolean;
|
|
20466
20911
|
report_settings?: {
|
|
20467
|
-
include_credits?: boolean;
|
|
20468
|
-
include_refunds?: boolean;
|
|
20469
|
-
include_discounts?: boolean;
|
|
20470
|
-
include_tax?: boolean;
|
|
20471
|
-
amortize?: boolean;
|
|
20912
|
+
include_credits?: boolean | null;
|
|
20913
|
+
include_refunds?: boolean | null;
|
|
20914
|
+
include_discounts?: boolean | null;
|
|
20915
|
+
include_tax?: boolean | null;
|
|
20916
|
+
amortize?: boolean | null;
|
|
20472
20917
|
};
|
|
20473
20918
|
priority: number;
|
|
20474
20919
|
filter: string | null;
|
|
@@ -20482,11 +20927,11 @@ declare class SegmentsApi<NeverThrow extends boolean> {
|
|
|
20482
20927
|
description: string;
|
|
20483
20928
|
track_unallocated: boolean;
|
|
20484
20929
|
report_settings?: {
|
|
20485
|
-
include_credits?: boolean;
|
|
20486
|
-
include_refunds?: boolean;
|
|
20487
|
-
include_discounts?: boolean;
|
|
20488
|
-
include_tax?: boolean;
|
|
20489
|
-
amortize?: boolean;
|
|
20930
|
+
include_credits?: boolean | null;
|
|
20931
|
+
include_refunds?: boolean | null;
|
|
20932
|
+
include_discounts?: boolean | null;
|
|
20933
|
+
include_tax?: boolean | null;
|
|
20934
|
+
amortize?: boolean | null;
|
|
20490
20935
|
};
|
|
20491
20936
|
priority: number;
|
|
20492
20937
|
filter: string | null;
|
|
@@ -20504,11 +20949,11 @@ declare class SegmentsApi<NeverThrow extends boolean> {
|
|
|
20504
20949
|
description: string;
|
|
20505
20950
|
track_unallocated: boolean;
|
|
20506
20951
|
report_settings?: {
|
|
20507
|
-
include_credits?: boolean;
|
|
20508
|
-
include_refunds?: boolean;
|
|
20509
|
-
include_discounts?: boolean;
|
|
20510
|
-
include_tax?: boolean;
|
|
20511
|
-
amortize?: boolean;
|
|
20952
|
+
include_credits?: boolean | null;
|
|
20953
|
+
include_refunds?: boolean | null;
|
|
20954
|
+
include_discounts?: boolean | null;
|
|
20955
|
+
include_tax?: boolean | null;
|
|
20956
|
+
amortize?: boolean | null;
|
|
20512
20957
|
};
|
|
20513
20958
|
priority: number;
|
|
20514
20959
|
filter: string | null;
|
|
@@ -20522,11 +20967,11 @@ declare class SegmentsApi<NeverThrow extends boolean> {
|
|
|
20522
20967
|
description: string;
|
|
20523
20968
|
track_unallocated: boolean;
|
|
20524
20969
|
report_settings?: {
|
|
20525
|
-
include_credits?: boolean;
|
|
20526
|
-
include_refunds?: boolean;
|
|
20527
|
-
include_discounts?: boolean;
|
|
20528
|
-
include_tax?: boolean;
|
|
20529
|
-
amortize?: boolean;
|
|
20970
|
+
include_credits?: boolean | null;
|
|
20971
|
+
include_refunds?: boolean | null;
|
|
20972
|
+
include_discounts?: boolean | null;
|
|
20973
|
+
include_tax?: boolean | null;
|
|
20974
|
+
amortize?: boolean | null;
|
|
20530
20975
|
};
|
|
20531
20976
|
priority: number;
|
|
20532
20977
|
filter: string | null;
|
|
@@ -20695,14 +21140,14 @@ declare class UnitCostsApi<NeverThrow extends boolean> {
|
|
|
20695
21140
|
created_at: string;
|
|
20696
21141
|
export_type: string;
|
|
20697
21142
|
manifest: components["schemas"]["DataExportManifest"];
|
|
20698
|
-
attributes: string
|
|
21143
|
+
attributes: Record<string, any>;
|
|
20699
21144
|
}, null] : {
|
|
20700
21145
|
token: string;
|
|
20701
21146
|
status: string;
|
|
20702
21147
|
created_at: string;
|
|
20703
21148
|
export_type: string;
|
|
20704
21149
|
manifest: components["schemas"]["DataExportManifest"];
|
|
20705
|
-
attributes: string
|
|
21150
|
+
attributes: Record<string, any>;
|
|
20706
21151
|
}>;
|
|
20707
21152
|
}
|
|
20708
21153
|
declare class UsersApi<NeverThrow extends boolean> {
|
|
@@ -20726,13 +21171,13 @@ declare class UsersApi<NeverThrow extends boolean> {
|
|
|
20726
21171
|
name: string | null;
|
|
20727
21172
|
email: string;
|
|
20728
21173
|
role: string;
|
|
20729
|
-
last_seen_at?: string;
|
|
21174
|
+
last_seen_at?: string | null;
|
|
20730
21175
|
}, null] : {
|
|
20731
21176
|
token: string;
|
|
20732
21177
|
name: string | null;
|
|
20733
21178
|
email: string;
|
|
20734
21179
|
role: string;
|
|
20735
|
-
last_seen_at?: string;
|
|
21180
|
+
last_seen_at?: string | null;
|
|
20736
21181
|
}>;
|
|
20737
21182
|
}
|
|
20738
21183
|
declare class VirtualTagConfigsApi<NeverThrow extends boolean> {
|
|
@@ -20806,6 +21251,18 @@ declare class VirtualTagConfigsApi<NeverThrow extends boolean> {
|
|
|
20806
21251
|
collapsed_tag_keys?: components["schemas"]["VirtualTagConfigCollapsedTagKey"][];
|
|
20807
21252
|
values: components["schemas"]["VirtualTagConfigValue"][];
|
|
20808
21253
|
}>;
|
|
21254
|
+
/**
|
|
21255
|
+
* Return the processing status of a specific VirtualTagConfig.
|
|
21256
|
+
*/
|
|
21257
|
+
getStatus(token: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
21258
|
+
token: string;
|
|
21259
|
+
processing: boolean;
|
|
21260
|
+
providers: components["schemas"]["VirtualTagConfigProviderStatus"][];
|
|
21261
|
+
}, null] : {
|
|
21262
|
+
token: string;
|
|
21263
|
+
processing: boolean;
|
|
21264
|
+
providers: components["schemas"]["VirtualTagConfigProviderStatus"][];
|
|
21265
|
+
}>;
|
|
20809
21266
|
/**
|
|
20810
21267
|
* Asynchronously updates an existing VirtualTagConfig.
|
|
20811
21268
|
*/
|
|
@@ -20892,4 +21349,4 @@ declare class PingApi<NeverThrow extends boolean> {
|
|
|
20892
21349
|
get(): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
20893
21350
|
}
|
|
20894
21351
|
|
|
20895
|
-
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 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 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 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 UpdateTagRequest, type UpdateTagResponse, type UpdateTeamRequest, type UpdateTeamResponse, type UpdateVirtualTagConfigRequest, type UpdateVirtualTagConfigResponse, type UpdateWorkspaceRequest, type UpdateWorkspaceResponse, VantageAPIError, pathEncode };
|
|
21352
|
+
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 };
|