@vantage-sh/vantage-client 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.d.mts +73 -625
- package/dist/index.d.ts +73 -625
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -4
package/dist/index.d.mts
CHANGED
|
@@ -1648,7 +1648,7 @@ interface paths {
|
|
|
1648
1648
|
};
|
|
1649
1649
|
/**
|
|
1650
1650
|
* Get all recommendations
|
|
1651
|
-
* @description Return all Recommendations.
|
|
1651
|
+
* @description Return all Recommendations. Use the `type` query parameter with a fuzzy fragment to filter recommendation type case-insensitively (for example: aws, aws:ec2, aws:ec2:rightsizing).
|
|
1652
1652
|
*/
|
|
1653
1653
|
get: operations["getRecommendations"];
|
|
1654
1654
|
put?: never;
|
|
@@ -3593,7 +3593,7 @@ interface components {
|
|
|
3593
3593
|
threshold: number;
|
|
3594
3594
|
/** @description The unit type used to compare costs. Options are 'currency' or 'percentage'. */
|
|
3595
3595
|
unit_type: string;
|
|
3596
|
-
/** @description The minimum
|
|
3596
|
+
/** @description The minimum monetary amount threshold for percentage-based alerts. When set, alerts will only trigger if the cost change meets this minimum, even if the percentage threshold is exceeded. */
|
|
3597
3597
|
minimum_threshold: number | null;
|
|
3598
3598
|
/** @description The tokens of the reports to alert on. */
|
|
3599
3599
|
report_tokens: string[];
|
|
@@ -3623,7 +3623,7 @@ interface components {
|
|
|
3623
3623
|
teams_channels?: string[];
|
|
3624
3624
|
/**
|
|
3625
3625
|
* Format: float
|
|
3626
|
-
* @description The minimum
|
|
3626
|
+
* @description The minimum monetary amount threshold for percentage-based alerts. Only applicable when unit_type is 'percentage'.
|
|
3627
3627
|
*/
|
|
3628
3628
|
minimum_threshold?: number;
|
|
3629
3629
|
};
|
|
@@ -3650,7 +3650,7 @@ interface components {
|
|
|
3650
3650
|
report_tokens?: string[];
|
|
3651
3651
|
/**
|
|
3652
3652
|
* Format: float
|
|
3653
|
-
* @description The minimum
|
|
3653
|
+
* @description The minimum monetary amount threshold for percentage-based alerts. Only applicable when unit_type is 'percentage'.
|
|
3654
3654
|
*/
|
|
3655
3655
|
minimum_threshold?: number;
|
|
3656
3656
|
};
|
|
@@ -4612,6 +4612,8 @@ interface components {
|
|
|
4612
4612
|
* @example 2023-08-04T00:00:00Z
|
|
4613
4613
|
*/
|
|
4614
4614
|
created_at: string;
|
|
4615
|
+
/** @description The tokens for any Managed Accounts that are associated with the Integration. */
|
|
4616
|
+
managed_account_tokens: string[];
|
|
4615
4617
|
};
|
|
4616
4618
|
/** @description Create a Custom Provider Integration */
|
|
4617
4619
|
createCustomProviderIntegration: {
|
|
@@ -10743,7 +10745,8 @@ interface operations {
|
|
|
10743
10745
|
* "workspace_tokens": [
|
|
10744
10746
|
* "wrkspc_838cb4508ead3f6d"
|
|
10745
10747
|
* ],
|
|
10746
|
-
* "created_at": "2024-07-29T21:41:49Z"
|
|
10748
|
+
* "created_at": "2024-07-29T21:41:49Z",
|
|
10749
|
+
* "managed_account_tokens": []
|
|
10747
10750
|
* }
|
|
10748
10751
|
* ]
|
|
10749
10752
|
* }
|
|
@@ -10779,7 +10782,10 @@ interface operations {
|
|
|
10779
10782
|
* "workspace_tokens": [
|
|
10780
10783
|
* "wrkspc_d69f96653fb985d6"
|
|
10781
10784
|
* ],
|
|
10782
|
-
* "created_at": "2024-07-29T21:41:49Z"
|
|
10785
|
+
* "created_at": "2024-07-29T21:41:49Z",
|
|
10786
|
+
* "managed_account_tokens": [
|
|
10787
|
+
* "acct_1a2b3c4d5e6f7890"
|
|
10788
|
+
* ]
|
|
10783
10789
|
* }
|
|
10784
10790
|
*/
|
|
10785
10791
|
"application/json": components["schemas"]["Integration"];
|
|
@@ -10826,7 +10832,8 @@ interface operations {
|
|
|
10826
10832
|
* "workspace_tokens": [
|
|
10827
10833
|
* "wrkspc_6bffe31969c9f385"
|
|
10828
10834
|
* ],
|
|
10829
|
-
* "created_at": "2024-07-29T21:41:44Z"
|
|
10835
|
+
* "created_at": "2024-07-29T21:41:44Z",
|
|
10836
|
+
* "managed_account_tokens": []
|
|
10830
10837
|
* }
|
|
10831
10838
|
*/
|
|
10832
10839
|
"application/json": components["schemas"]["Integration"];
|
|
@@ -10908,7 +10915,8 @@ interface operations {
|
|
|
10908
10915
|
* "status": "imported",
|
|
10909
10916
|
* "last_updated": null,
|
|
10910
10917
|
* "workspace_tokens": [],
|
|
10911
|
-
* "created_at": "2024-08-27T22:22:24Z"
|
|
10918
|
+
* "created_at": "2024-08-27T22:22:24Z",
|
|
10919
|
+
* "managed_account_tokens": []
|
|
10912
10920
|
* }
|
|
10913
10921
|
*/
|
|
10914
10922
|
"application/json": components["schemas"]["Integration"];
|
|
@@ -11134,7 +11142,8 @@ interface operations {
|
|
|
11134
11142
|
* "status": "imported",
|
|
11135
11143
|
* "last_updated": null,
|
|
11136
11144
|
* "workspace_tokens": [],
|
|
11137
|
-
* "created_at": "2024-07-29T21:41:46Z"
|
|
11145
|
+
* "created_at": "2024-07-29T21:41:46Z",
|
|
11146
|
+
* "managed_account_tokens": []
|
|
11138
11147
|
* }
|
|
11139
11148
|
*/
|
|
11140
11149
|
"application/json": components["schemas"]["Integration"];
|
|
@@ -11177,7 +11186,8 @@ interface operations {
|
|
|
11177
11186
|
* "status": "imported",
|
|
11178
11187
|
* "last_updated": null,
|
|
11179
11188
|
* "workspace_tokens": [],
|
|
11180
|
-
* "created_at": "2024-07-29T21:41:48Z"
|
|
11189
|
+
* "created_at": "2024-07-29T21:41:48Z",
|
|
11190
|
+
* "managed_account_tokens": []
|
|
11181
11191
|
* }
|
|
11182
11192
|
*/
|
|
11183
11193
|
"application/json": components["schemas"]["Integration"];
|
|
@@ -12677,8 +12687,10 @@ interface operations {
|
|
|
12677
12687
|
workspace_token?: string;
|
|
12678
12688
|
/** @description Filter by provider account id (AWS account, Azure subscription id, etc). */
|
|
12679
12689
|
provider_account_id?: string;
|
|
12680
|
-
/** @description Filter by category. */
|
|
12681
|
-
category?:
|
|
12690
|
+
/** @description Filter by exact recommendation category. Ignored when type is provided. */
|
|
12691
|
+
category?: string;
|
|
12692
|
+
/** @description Fuzzy filter by recommendation type using a case-insensitive literal substring. Examples: aws, aws:ec2, aws:ec2:rightsizing. */
|
|
12693
|
+
type?: string;
|
|
12682
12694
|
/** @description Filter by provider. */
|
|
12683
12695
|
provider?: "aws" | "gcp" | "azure" | "kubernetes" | "datadog";
|
|
12684
12696
|
};
|
|
@@ -16221,7 +16233,7 @@ type LookupTableType = {
|
|
|
16221
16233
|
type ExecutePatch<Patch, Response> = keyof Patch extends never ? Response : Omit<Response, keyof Patch> & Patch;
|
|
16222
16234
|
type DoPathSpecificPatches<P extends Path, M extends SupportedMethods<P>, Response, LookupTable extends Partial<LookupTableType>> = LookupTable[P] extends never ? Response : ExecutePatch<LookupTable[P][M], Response>;
|
|
16223
16235
|
/** Defines the response body type for a given path and method. */
|
|
16224
|
-
type ResponseBodyForPathAndMethod<P extends Path, M extends SupportedMethods<P>> = PathsRedefined[P][0][MethodsInverted[M]] extends ExtendsGoodResponseCode<200 | 201 | 202 | 203
|
|
16236
|
+
type ResponseBodyForPathAndMethod<P extends Path, M extends SupportedMethods<P>> = PathsRedefined[P][0][MethodsInverted[M]] extends ExtendsGoodResponseCode<200 | 201 | 202 | 203, infer R> ? DoPathSpecificPatches<P, M, R, PathAndMethodSpecificPatches> : void;
|
|
16225
16237
|
/** Defines a vantage API failure */
|
|
16226
16238
|
declare class VantageAPIError extends Error {
|
|
16227
16239
|
readonly status: number | null;
|
|
@@ -17034,7 +17046,7 @@ type GetProductsResponse = ResponseBodyForPathAndMethod<"/v2/products", "GET">;
|
|
|
17034
17046
|
*/
|
|
17035
17047
|
type GetProductResponse = ResponseBodyForPathAndMethod<`/v2/products/${NoSlashString}`, "GET">;
|
|
17036
17048
|
/**
|
|
17037
|
-
* Return all Recommendations.
|
|
17049
|
+
* Return all Recommendations. Use the `type` query parameter with a fuzzy fragment to filter recommendation type case-insensitively (for example: aws, aws:ec2, aws:ec2:rightsizing).
|
|
17038
17050
|
*/
|
|
17039
17051
|
type GetRecommendationsRequest = RequestBodyForPathAndMethod<"/v2/recommendations", "GET">;
|
|
17040
17052
|
/**
|
|
@@ -17592,21 +17604,7 @@ declare class AccessGrantsApi<NeverThrow extends boolean> {
|
|
|
17592
17604
|
/**
|
|
17593
17605
|
* Delete an Access Grant.
|
|
17594
17606
|
*/
|
|
17595
|
-
delete(accessGrantToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
17596
|
-
token: string;
|
|
17597
|
-
resource_token: string;
|
|
17598
|
-
access: string;
|
|
17599
|
-
team_token: string | null;
|
|
17600
|
-
created_at: string;
|
|
17601
|
-
created_by: string | null;
|
|
17602
|
-
}, null] : {
|
|
17603
|
-
token: string;
|
|
17604
|
-
resource_token: string;
|
|
17605
|
-
access: string;
|
|
17606
|
-
team_token: string | null;
|
|
17607
|
-
created_at: string;
|
|
17608
|
-
created_by: string | null;
|
|
17609
|
-
}>;
|
|
17607
|
+
delete(accessGrantToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
17610
17608
|
}
|
|
17611
17609
|
declare class AnomalyAlertsApi<NeverThrow extends boolean> {
|
|
17612
17610
|
private client;
|
|
@@ -17766,23 +17764,7 @@ declare class AnomalyNotificationsApi<NeverThrow extends boolean> {
|
|
|
17766
17764
|
/**
|
|
17767
17765
|
* Delete an Anomaly Notification.
|
|
17768
17766
|
*/
|
|
17769
|
-
delete(anomalyNotificationToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
17770
|
-
token: string;
|
|
17771
|
-
cost_report_token: string;
|
|
17772
|
-
created_at: string;
|
|
17773
|
-
updated_at: string;
|
|
17774
|
-
threshold: number;
|
|
17775
|
-
user_tokens: string[];
|
|
17776
|
-
recipient_channels: string[];
|
|
17777
|
-
}, null] : {
|
|
17778
|
-
token: string;
|
|
17779
|
-
cost_report_token: string;
|
|
17780
|
-
created_at: string;
|
|
17781
|
-
updated_at: string;
|
|
17782
|
-
threshold: number;
|
|
17783
|
-
user_tokens: string[];
|
|
17784
|
-
recipient_channels: string[];
|
|
17785
|
-
}>;
|
|
17767
|
+
delete(anomalyNotificationToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
17786
17768
|
}
|
|
17787
17769
|
declare class AuditLogsApi<NeverThrow extends boolean> {
|
|
17788
17770
|
private client;
|
|
@@ -17916,27 +17898,7 @@ declare class BillingProfilesApi<NeverThrow extends boolean> {
|
|
|
17916
17898
|
/**
|
|
17917
17899
|
* Requires MSP invoicing to be enabled on the account.
|
|
17918
17900
|
*/
|
|
17919
|
-
delete(billingProfileToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
17920
|
-
token: string;
|
|
17921
|
-
nickname: string;
|
|
17922
|
-
created_at: string;
|
|
17923
|
-
updated_at: string;
|
|
17924
|
-
billing_information_attributes: components["schemas"]["BillingInformation"];
|
|
17925
|
-
business_information_attributes: components["schemas"]["BusinessInformation"];
|
|
17926
|
-
banking_information_attributes?: components["schemas"]["BankingInformation"];
|
|
17927
|
-
invoice_adjustment_attributes: components["schemas"]["InvoiceAdjustment"];
|
|
17928
|
-
managed_accounts_count: string;
|
|
17929
|
-
}, null] : {
|
|
17930
|
-
token: string;
|
|
17931
|
-
nickname: string;
|
|
17932
|
-
created_at: string;
|
|
17933
|
-
updated_at: string;
|
|
17934
|
-
billing_information_attributes: components["schemas"]["BillingInformation"];
|
|
17935
|
-
business_information_attributes: components["schemas"]["BusinessInformation"];
|
|
17936
|
-
banking_information_attributes?: components["schemas"]["BankingInformation"];
|
|
17937
|
-
invoice_adjustment_attributes: components["schemas"]["InvoiceAdjustment"];
|
|
17938
|
-
managed_accounts_count: string;
|
|
17939
|
-
}>;
|
|
17901
|
+
delete(billingProfileToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
17940
17902
|
}
|
|
17941
17903
|
declare class BillingRulesApi<NeverThrow extends boolean> {
|
|
17942
17904
|
private client;
|
|
@@ -18068,41 +18030,7 @@ declare class BillingRulesApi<NeverThrow extends boolean> {
|
|
|
18068
18030
|
/**
|
|
18069
18031
|
* Delete a BillingRule.
|
|
18070
18032
|
*/
|
|
18071
|
-
delete(billingRuleToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
18072
|
-
token: string;
|
|
18073
|
-
title: string;
|
|
18074
|
-
type: string;
|
|
18075
|
-
start_date?: string | null;
|
|
18076
|
-
end_date?: string | null;
|
|
18077
|
-
apply_to_all: boolean | null;
|
|
18078
|
-
created_by_token: string;
|
|
18079
|
-
created_at: 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;
|
|
18088
|
-
}, null] : {
|
|
18089
|
-
token: string;
|
|
18090
|
-
title: string;
|
|
18091
|
-
type: string;
|
|
18092
|
-
start_date?: string | null;
|
|
18093
|
-
end_date?: string | null;
|
|
18094
|
-
apply_to_all: boolean | null;
|
|
18095
|
-
created_by_token: string;
|
|
18096
|
-
created_at: 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;
|
|
18105
|
-
}>;
|
|
18033
|
+
delete(billingRuleToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
18106
18034
|
}
|
|
18107
18035
|
declare class BudgetAlertsApi<NeverThrow extends boolean> {
|
|
18108
18036
|
private client;
|
|
@@ -18204,31 +18132,7 @@ declare class BudgetAlertsApi<NeverThrow extends boolean> {
|
|
|
18204
18132
|
/**
|
|
18205
18133
|
* Delete a BudgetAlert.
|
|
18206
18134
|
*/
|
|
18207
|
-
delete(budgetAlertToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
18208
|
-
token: string;
|
|
18209
|
-
budget_tokens: string[];
|
|
18210
|
-
created_at: string;
|
|
18211
|
-
workspace_token: string;
|
|
18212
|
-
user_token?: string | null;
|
|
18213
|
-
user_tokens: string[];
|
|
18214
|
-
duration_in_days: number | null;
|
|
18215
|
-
threshold: number;
|
|
18216
|
-
period_to_track: string | null;
|
|
18217
|
-
integration_provider?: string | null;
|
|
18218
|
-
recipient_channels: string[] | null;
|
|
18219
|
-
}, null] : {
|
|
18220
|
-
token: string;
|
|
18221
|
-
budget_tokens: string[];
|
|
18222
|
-
created_at: string;
|
|
18223
|
-
workspace_token: string;
|
|
18224
|
-
user_token?: string | null;
|
|
18225
|
-
user_tokens: string[];
|
|
18226
|
-
duration_in_days: number | null;
|
|
18227
|
-
threshold: number;
|
|
18228
|
-
period_to_track: string | null;
|
|
18229
|
-
integration_provider?: string | null;
|
|
18230
|
-
recipient_channels: string[] | null;
|
|
18231
|
-
}>;
|
|
18135
|
+
delete(budgetAlertToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
18232
18136
|
}
|
|
18233
18137
|
declare class BudgetsApi<NeverThrow extends boolean> {
|
|
18234
18138
|
private client;
|
|
@@ -18302,31 +18206,7 @@ declare class BudgetsApi<NeverThrow extends boolean> {
|
|
|
18302
18206
|
/**
|
|
18303
18207
|
* Delete a Budget.
|
|
18304
18208
|
*/
|
|
18305
|
-
delete(budgetToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
18306
|
-
token: string;
|
|
18307
|
-
name: string | null;
|
|
18308
|
-
workspace_token: string;
|
|
18309
|
-
user_token?: string | null;
|
|
18310
|
-
created_by_token?: string | null;
|
|
18311
|
-
cost_report_token?: string | null;
|
|
18312
|
-
created_at: string;
|
|
18313
|
-
budget_alert_tokens: string[];
|
|
18314
|
-
child_budget_tokens: string[];
|
|
18315
|
-
periods: components["schemas"]["BudgetPeriod"][];
|
|
18316
|
-
performance?: components["schemas"]["BudgetPerformance"][];
|
|
18317
|
-
}, null] : {
|
|
18318
|
-
token: string;
|
|
18319
|
-
name: string | null;
|
|
18320
|
-
workspace_token: string;
|
|
18321
|
-
user_token?: string | null;
|
|
18322
|
-
created_by_token?: string | null;
|
|
18323
|
-
cost_report_token?: string | null;
|
|
18324
|
-
created_at: string;
|
|
18325
|
-
budget_alert_tokens: string[];
|
|
18326
|
-
child_budget_tokens: string[];
|
|
18327
|
-
periods: components["schemas"]["BudgetPeriod"][];
|
|
18328
|
-
performance?: components["schemas"]["BudgetPerformance"][];
|
|
18329
|
-
}>;
|
|
18209
|
+
delete(budgetToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
18330
18210
|
}
|
|
18331
18211
|
declare class BusinessMetricsApi<NeverThrow extends boolean> {
|
|
18332
18212
|
private client;
|
|
@@ -18408,25 +18288,7 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
|
|
|
18408
18288
|
/**
|
|
18409
18289
|
* Deletes an existing BusinessMetric.
|
|
18410
18290
|
*/
|
|
18411
|
-
delete(businessMetricToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
18412
|
-
token: string;
|
|
18413
|
-
title: string;
|
|
18414
|
-
created_by_token?: string | null;
|
|
18415
|
-
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
18416
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
18417
|
-
integration_token: string | null;
|
|
18418
|
-
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
18419
|
-
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
18420
|
-
}, null] : {
|
|
18421
|
-
token: string;
|
|
18422
|
-
title: string;
|
|
18423
|
-
created_by_token?: string | null;
|
|
18424
|
-
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
18425
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
18426
|
-
integration_token: string | null;
|
|
18427
|
-
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
18428
|
-
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
18429
|
-
}>;
|
|
18291
|
+
delete(businessMetricToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
18430
18292
|
/**
|
|
18431
18293
|
* Return values of a BusinessMetric
|
|
18432
18294
|
*/
|
|
@@ -18558,35 +18420,7 @@ declare class CostAlertsApi<NeverThrow extends boolean> {
|
|
|
18558
18420
|
/**
|
|
18559
18421
|
* Delete a Cost Alert
|
|
18560
18422
|
*/
|
|
18561
|
-
delete(costAlertToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
18562
|
-
token: string;
|
|
18563
|
-
title: string;
|
|
18564
|
-
email_recipients: string[];
|
|
18565
|
-
slack_channels: string[];
|
|
18566
|
-
teams_channels: string[];
|
|
18567
|
-
created_at: string;
|
|
18568
|
-
updated_at: string;
|
|
18569
|
-
workspace_token: string;
|
|
18570
|
-
interval: string;
|
|
18571
|
-
threshold: number;
|
|
18572
|
-
unit_type: string;
|
|
18573
|
-
minimum_threshold: number | null;
|
|
18574
|
-
report_tokens: string[];
|
|
18575
|
-
}, null] : {
|
|
18576
|
-
token: string;
|
|
18577
|
-
title: string;
|
|
18578
|
-
email_recipients: string[];
|
|
18579
|
-
slack_channels: string[];
|
|
18580
|
-
teams_channels: string[];
|
|
18581
|
-
created_at: string;
|
|
18582
|
-
updated_at: string;
|
|
18583
|
-
workspace_token: string;
|
|
18584
|
-
interval: string;
|
|
18585
|
-
threshold: number;
|
|
18586
|
-
unit_type: string;
|
|
18587
|
-
minimum_threshold: number | null;
|
|
18588
|
-
report_tokens: string[];
|
|
18589
|
-
}>;
|
|
18423
|
+
delete(costAlertToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
18590
18424
|
/**
|
|
18591
18425
|
* Get all CostAlertEvents
|
|
18592
18426
|
*/
|
|
@@ -18830,63 +18664,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18830
18664
|
/**
|
|
18831
18665
|
* Delete a CostReport.
|
|
18832
18666
|
*/
|
|
18833
|
-
delete(costReportToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
18834
|
-
token: string;
|
|
18835
|
-
title: string;
|
|
18836
|
-
folder_token?: string | null;
|
|
18837
|
-
saved_filter_tokens?: string[] | null;
|
|
18838
|
-
business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
|
|
18839
|
-
filter: string | null;
|
|
18840
|
-
groupings?: string | null;
|
|
18841
|
-
settings?: {
|
|
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;
|
|
18850
|
-
};
|
|
18851
|
-
created_at: string;
|
|
18852
|
-
workspace_token: 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;
|
|
18857
|
-
date_interval: string;
|
|
18858
|
-
chart_type: string;
|
|
18859
|
-
date_bin: string;
|
|
18860
|
-
chart_settings: components["schemas"]["ChartSettings"];
|
|
18861
|
-
}, null] : {
|
|
18862
|
-
token: string;
|
|
18863
|
-
title: string;
|
|
18864
|
-
folder_token?: string | null;
|
|
18865
|
-
saved_filter_tokens?: string[] | null;
|
|
18866
|
-
business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
|
|
18867
|
-
filter: string | null;
|
|
18868
|
-
groupings?: string | null;
|
|
18869
|
-
settings?: {
|
|
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;
|
|
18878
|
-
};
|
|
18879
|
-
created_at: string;
|
|
18880
|
-
workspace_token: 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;
|
|
18885
|
-
date_interval: string;
|
|
18886
|
-
chart_type: string;
|
|
18887
|
-
date_bin: string;
|
|
18888
|
-
chart_settings: components["schemas"]["ChartSettings"];
|
|
18889
|
-
}>;
|
|
18667
|
+
delete(costReportToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
18890
18668
|
/**
|
|
18891
18669
|
* Return all ForecastedCosts.
|
|
18892
18670
|
*/
|
|
@@ -19030,45 +18808,21 @@ declare class DashboardsApi<NeverThrow extends boolean> {
|
|
|
19030
18808
|
/**
|
|
19031
18809
|
* Delete a Dashboard.
|
|
19032
18810
|
*/
|
|
19033
|
-
delete(dashboardToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
18811
|
+
delete(dashboardToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
18812
|
+
}
|
|
18813
|
+
declare class DataExportsApi<NeverThrow extends boolean> {
|
|
18814
|
+
private client;
|
|
18815
|
+
constructor(client: BaseClient<NeverThrow>);
|
|
18816
|
+
/**
|
|
18817
|
+
* Get the status of a data export.
|
|
18818
|
+
*/
|
|
18819
|
+
get(dataExportToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19034
18820
|
token: string;
|
|
19035
|
-
|
|
19036
|
-
widgets: components["schemas"]["DashboardWidget"][];
|
|
19037
|
-
saved_filter_tokens: string[];
|
|
19038
|
-
date_bin: "cumulative" | "day" | "week" | "month" | null;
|
|
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;
|
|
19040
|
-
start_date?: string | null;
|
|
19041
|
-
end_date?: string | null;
|
|
18821
|
+
status: string;
|
|
19042
18822
|
created_at: string;
|
|
19043
|
-
|
|
19044
|
-
|
|
19045
|
-
|
|
19046
|
-
token: string;
|
|
19047
|
-
title: string;
|
|
19048
|
-
widgets: components["schemas"]["DashboardWidget"][];
|
|
19049
|
-
saved_filter_tokens: string[];
|
|
19050
|
-
date_bin: "cumulative" | "day" | "week" | "month" | null;
|
|
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;
|
|
19052
|
-
start_date?: string | null;
|
|
19053
|
-
end_date?: string | null;
|
|
19054
|
-
created_at: string;
|
|
19055
|
-
updated_at: string;
|
|
19056
|
-
workspace_token: string;
|
|
19057
|
-
}>;
|
|
19058
|
-
}
|
|
19059
|
-
declare class DataExportsApi<NeverThrow extends boolean> {
|
|
19060
|
-
private client;
|
|
19061
|
-
constructor(client: BaseClient<NeverThrow>);
|
|
19062
|
-
/**
|
|
19063
|
-
* Get the status of a data export.
|
|
19064
|
-
*/
|
|
19065
|
-
get(dataExportToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19066
|
-
token: string;
|
|
19067
|
-
status: string;
|
|
19068
|
-
created_at: string;
|
|
19069
|
-
export_type: string;
|
|
19070
|
-
manifest: components["schemas"]["DataExportManifest"];
|
|
19071
|
-
attributes: Record<string, any>;
|
|
18823
|
+
export_type: string;
|
|
18824
|
+
manifest: components["schemas"]["DataExportManifest"];
|
|
18825
|
+
attributes: Record<string, any>;
|
|
19072
18826
|
}, null] : {
|
|
19073
18827
|
token: string;
|
|
19074
18828
|
status: string;
|
|
@@ -19208,35 +18962,7 @@ declare class FinancialCommitmentReportsApi<NeverThrow extends boolean> {
|
|
|
19208
18962
|
/**
|
|
19209
18963
|
* Delete a FinancialCommitmentReport.
|
|
19210
18964
|
*/
|
|
19211
|
-
delete(financialCommitmentReportToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
19212
|
-
token: string;
|
|
19213
|
-
title: string;
|
|
19214
|
-
default: boolean;
|
|
19215
|
-
created_at: string;
|
|
19216
|
-
workspace_token: string;
|
|
19217
|
-
user_token?: string | null;
|
|
19218
|
-
start_date: string | null;
|
|
19219
|
-
end_date: string | null;
|
|
19220
|
-
date_interval: string | null;
|
|
19221
|
-
date_bucket: string;
|
|
19222
|
-
groupings: string | null;
|
|
19223
|
-
on_demand_costs_scope: string;
|
|
19224
|
-
filter: string | null;
|
|
19225
|
-
}, null] : {
|
|
19226
|
-
token: string;
|
|
19227
|
-
title: string;
|
|
19228
|
-
default: boolean;
|
|
19229
|
-
created_at: string;
|
|
19230
|
-
workspace_token: string;
|
|
19231
|
-
user_token?: string | null;
|
|
19232
|
-
start_date: string | null;
|
|
19233
|
-
end_date: string | null;
|
|
19234
|
-
date_interval: string | null;
|
|
19235
|
-
date_bucket: string;
|
|
19236
|
-
groupings: string | null;
|
|
19237
|
-
on_demand_costs_scope: string;
|
|
19238
|
-
filter: string | null;
|
|
19239
|
-
}>;
|
|
18965
|
+
delete(financialCommitmentReportToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
19240
18966
|
}
|
|
19241
18967
|
declare class FinancialCommitmentsApi<NeverThrow extends boolean> {
|
|
19242
18968
|
private client;
|
|
@@ -19328,23 +19054,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
|
|
|
19328
19054
|
/**
|
|
19329
19055
|
* Delete a Folder for CostReports.
|
|
19330
19056
|
*/
|
|
19331
|
-
delete(folderToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
19332
|
-
token: string;
|
|
19333
|
-
title: string | null;
|
|
19334
|
-
parent_folder_token?: string | null;
|
|
19335
|
-
saved_filter_tokens: string[];
|
|
19336
|
-
created_at: string;
|
|
19337
|
-
updated_at: string;
|
|
19338
|
-
workspace_token: string;
|
|
19339
|
-
}, null] : {
|
|
19340
|
-
token: string;
|
|
19341
|
-
title: string | null;
|
|
19342
|
-
parent_folder_token?: string | null;
|
|
19343
|
-
saved_filter_tokens: string[];
|
|
19344
|
-
created_at: string;
|
|
19345
|
-
updated_at: string;
|
|
19346
|
-
workspace_token: string;
|
|
19347
|
-
}>;
|
|
19057
|
+
delete(folderToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
19348
19058
|
}
|
|
19349
19059
|
declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
19350
19060
|
private client;
|
|
@@ -19370,6 +19080,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
19370
19080
|
last_updated?: string | null;
|
|
19371
19081
|
workspace_tokens: string[];
|
|
19372
19082
|
created_at: string;
|
|
19083
|
+
managed_account_tokens: string[];
|
|
19373
19084
|
}, null] : {
|
|
19374
19085
|
token: string;
|
|
19375
19086
|
provider: string;
|
|
@@ -19378,6 +19089,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
19378
19089
|
last_updated?: string | null;
|
|
19379
19090
|
workspace_tokens: string[];
|
|
19380
19091
|
created_at: string;
|
|
19092
|
+
managed_account_tokens: string[];
|
|
19381
19093
|
}>;
|
|
19382
19094
|
/**
|
|
19383
19095
|
* Update an Integration.
|
|
@@ -19390,6 +19102,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
19390
19102
|
last_updated?: string | null;
|
|
19391
19103
|
workspace_tokens: string[];
|
|
19392
19104
|
created_at: string;
|
|
19105
|
+
managed_account_tokens: string[];
|
|
19393
19106
|
}, null] : {
|
|
19394
19107
|
token: string;
|
|
19395
19108
|
provider: string;
|
|
@@ -19398,27 +19111,12 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
19398
19111
|
last_updated?: string | null;
|
|
19399
19112
|
workspace_tokens: string[];
|
|
19400
19113
|
created_at: string;
|
|
19114
|
+
managed_account_tokens: string[];
|
|
19401
19115
|
}>;
|
|
19402
19116
|
/**
|
|
19403
19117
|
* Delete an Integration.
|
|
19404
19118
|
*/
|
|
19405
|
-
delete(integrationToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
19406
|
-
token: string;
|
|
19407
|
-
provider: string;
|
|
19408
|
-
account_identifier: string | null;
|
|
19409
|
-
status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
|
|
19410
|
-
last_updated?: string | null;
|
|
19411
|
-
workspace_tokens: string[];
|
|
19412
|
-
created_at: string;
|
|
19413
|
-
}, null] : {
|
|
19414
|
-
token: string;
|
|
19415
|
-
provider: string;
|
|
19416
|
-
account_identifier: string | null;
|
|
19417
|
-
status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
|
|
19418
|
-
last_updated?: string | null;
|
|
19419
|
-
workspace_tokens: string[];
|
|
19420
|
-
created_at: string;
|
|
19421
|
-
}>;
|
|
19119
|
+
delete(integrationToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
19422
19120
|
/**
|
|
19423
19121
|
* Create a Custom Provider Integration
|
|
19424
19122
|
*/
|
|
@@ -19430,6 +19128,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
19430
19128
|
last_updated?: string | null;
|
|
19431
19129
|
workspace_tokens: string[];
|
|
19432
19130
|
created_at: string;
|
|
19131
|
+
managed_account_tokens: string[];
|
|
19433
19132
|
}, null] : {
|
|
19434
19133
|
token: string;
|
|
19435
19134
|
provider: string;
|
|
@@ -19438,6 +19137,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
19438
19137
|
last_updated?: string | null;
|
|
19439
19138
|
workspace_tokens: string[];
|
|
19440
19139
|
created_at: string;
|
|
19140
|
+
managed_account_tokens: string[];
|
|
19441
19141
|
}>;
|
|
19442
19142
|
/**
|
|
19443
19143
|
* Create UserCostsUpload via CSV for a Custom Provider Integration.
|
|
@@ -19464,41 +19164,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
19464
19164
|
/**
|
|
19465
19165
|
* Delete a UserCostsUpload.
|
|
19466
19166
|
*/
|
|
19467
|
-
deleteUserCostsUpload(integrationToken: string, userCostsUploadToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
19468
|
-
links?: components["schemas"]["Links"];
|
|
19469
|
-
accrued_at: string;
|
|
19470
|
-
amount: string;
|
|
19471
|
-
currency: 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;
|
|
19484
|
-
}, null] : {
|
|
19485
|
-
links?: components["schemas"]["Links"];
|
|
19486
|
-
accrued_at: string;
|
|
19487
|
-
amount: string;
|
|
19488
|
-
currency: 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;
|
|
19501
|
-
}>;
|
|
19167
|
+
deleteUserCostsUpload(integrationToken: string, userCostsUploadToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
19502
19168
|
/**
|
|
19503
19169
|
* List UserCostUploads.
|
|
19504
19170
|
*/
|
|
@@ -19520,6 +19186,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
19520
19186
|
last_updated?: string | null;
|
|
19521
19187
|
workspace_tokens: string[];
|
|
19522
19188
|
created_at: string;
|
|
19189
|
+
managed_account_tokens: string[];
|
|
19523
19190
|
}, null] : {
|
|
19524
19191
|
token: string;
|
|
19525
19192
|
provider: string;
|
|
@@ -19528,6 +19195,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
19528
19195
|
last_updated?: string | null;
|
|
19529
19196
|
workspace_tokens: string[];
|
|
19530
19197
|
created_at: string;
|
|
19198
|
+
managed_account_tokens: string[];
|
|
19531
19199
|
}>;
|
|
19532
19200
|
/**
|
|
19533
19201
|
* Create an Azure Integration
|
|
@@ -19540,6 +19208,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
19540
19208
|
last_updated?: string | null;
|
|
19541
19209
|
workspace_tokens: string[];
|
|
19542
19210
|
created_at: string;
|
|
19211
|
+
managed_account_tokens: string[];
|
|
19543
19212
|
}, null] : {
|
|
19544
19213
|
token: string;
|
|
19545
19214
|
provider: string;
|
|
@@ -19548,6 +19217,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
|
|
|
19548
19217
|
last_updated?: string | null;
|
|
19549
19218
|
workspace_tokens: string[];
|
|
19550
19219
|
created_at: string;
|
|
19220
|
+
managed_account_tokens: string[];
|
|
19551
19221
|
}>;
|
|
19552
19222
|
}
|
|
19553
19223
|
declare class InvoicesApi<NeverThrow extends boolean> {
|
|
@@ -19788,35 +19458,7 @@ declare class KubernetesEfficiencyReportsApi<NeverThrow extends boolean> {
|
|
|
19788
19458
|
/**
|
|
19789
19459
|
* Delete a KubernetesEfficiencyReport.
|
|
19790
19460
|
*/
|
|
19791
|
-
delete(kubernetesEfficiencyReportToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
19792
|
-
token: string;
|
|
19793
|
-
title: string;
|
|
19794
|
-
default: boolean;
|
|
19795
|
-
created_at: string;
|
|
19796
|
-
workspace_token: string;
|
|
19797
|
-
user_token?: string | null;
|
|
19798
|
-
start_date: string | null;
|
|
19799
|
-
end_date: string | null;
|
|
19800
|
-
date_interval: string | null;
|
|
19801
|
-
date_bucket: string;
|
|
19802
|
-
aggregated_by: string;
|
|
19803
|
-
groupings: string | null;
|
|
19804
|
-
filter: string | null;
|
|
19805
|
-
}, null] : {
|
|
19806
|
-
token: string;
|
|
19807
|
-
title: string;
|
|
19808
|
-
default: boolean;
|
|
19809
|
-
created_at: string;
|
|
19810
|
-
workspace_token: string;
|
|
19811
|
-
user_token?: string | null;
|
|
19812
|
-
start_date: string | null;
|
|
19813
|
-
end_date: string | null;
|
|
19814
|
-
date_interval: string | null;
|
|
19815
|
-
date_bucket: string;
|
|
19816
|
-
aggregated_by: string;
|
|
19817
|
-
groupings: string | null;
|
|
19818
|
-
filter: string | null;
|
|
19819
|
-
}>;
|
|
19461
|
+
delete(kubernetesEfficiencyReportToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
19820
19462
|
/**
|
|
19821
19463
|
* Generate a DataExport of Kubernetes efficiency data.
|
|
19822
19464
|
*/
|
|
@@ -19930,29 +19572,7 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
|
|
|
19930
19572
|
/**
|
|
19931
19573
|
* Delete a Managed Account.
|
|
19932
19574
|
*/
|
|
19933
|
-
delete(managedAccountToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
19934
|
-
token: string;
|
|
19935
|
-
name: string;
|
|
19936
|
-
contact_email: string;
|
|
19937
|
-
parent_account_token: string;
|
|
19938
|
-
access_credential_tokens: string[];
|
|
19939
|
-
billing_rule_tokens: 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
|
-
}>;
|
|
19575
|
+
delete(managedAccountToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
19956
19576
|
/**
|
|
19957
19577
|
* Update SSO configuration for a Managed Account.
|
|
19958
19578
|
*/
|
|
@@ -20180,35 +19800,7 @@ declare class NetworkFlowReportsApi<NeverThrow extends boolean> {
|
|
|
20180
19800
|
/**
|
|
20181
19801
|
* Delete a NetworkFlowReport.
|
|
20182
19802
|
*/
|
|
20183
|
-
delete(networkFlowReportToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
20184
|
-
token: string;
|
|
20185
|
-
title: string;
|
|
20186
|
-
default: boolean;
|
|
20187
|
-
created_at: string;
|
|
20188
|
-
workspace_token: string;
|
|
20189
|
-
created_by_token?: string | null;
|
|
20190
|
-
start_date: string | null;
|
|
20191
|
-
end_date: string | null;
|
|
20192
|
-
date_interval: string | null;
|
|
20193
|
-
groupings: string | null;
|
|
20194
|
-
flow_direction: string | null;
|
|
20195
|
-
flow_weight: string;
|
|
20196
|
-
filter: string | null;
|
|
20197
|
-
}, null] : {
|
|
20198
|
-
token: string;
|
|
20199
|
-
title: string;
|
|
20200
|
-
default: boolean;
|
|
20201
|
-
created_at: string;
|
|
20202
|
-
workspace_token: string;
|
|
20203
|
-
created_by_token?: string | null;
|
|
20204
|
-
start_date: string | null;
|
|
20205
|
-
end_date: string | null;
|
|
20206
|
-
date_interval: string | null;
|
|
20207
|
-
groupings: string | null;
|
|
20208
|
-
flow_direction: string | null;
|
|
20209
|
-
flow_weight: string;
|
|
20210
|
-
filter: string | null;
|
|
20211
|
-
}>;
|
|
19803
|
+
delete(networkFlowReportToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
20212
19804
|
}
|
|
20213
19805
|
declare class ProductsApi<NeverThrow extends boolean> {
|
|
20214
19806
|
private client;
|
|
@@ -20278,7 +19870,7 @@ declare class RecommendationsApi<NeverThrow extends boolean> {
|
|
|
20278
19870
|
private client;
|
|
20279
19871
|
constructor(client: BaseClient<NeverThrow>);
|
|
20280
19872
|
/**
|
|
20281
|
-
* Return all Recommendations.
|
|
19873
|
+
* Return all Recommendations. Use the `type` query parameter with a fuzzy fragment to filter recommendation type case-insensitively (for example: aws, aws:ec2, aws:ec2:rightsizing).
|
|
20282
19874
|
*/
|
|
20283
19875
|
list(body?: GetRecommendationsRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
20284
19876
|
links?: components["schemas"]["Links"];
|
|
@@ -20464,35 +20056,7 @@ declare class RecommendationViewsApi<NeverThrow extends boolean> {
|
|
|
20464
20056
|
/**
|
|
20465
20057
|
* Delete a RecommendationView.
|
|
20466
20058
|
*/
|
|
20467
|
-
delete(recommendationViewToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
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;
|
|
20481
|
-
}, null] : {
|
|
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;
|
|
20495
|
-
}>;
|
|
20059
|
+
delete(recommendationViewToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
20496
20060
|
}
|
|
20497
20061
|
declare class ReportNotificationsApi<NeverThrow extends boolean> {
|
|
20498
20062
|
private client;
|
|
@@ -20570,23 +20134,7 @@ declare class ReportNotificationsApi<NeverThrow extends boolean> {
|
|
|
20570
20134
|
/**
|
|
20571
20135
|
* Delete a ReportNotification.
|
|
20572
20136
|
*/
|
|
20573
|
-
delete(reportNotificationToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
20574
|
-
token: string;
|
|
20575
|
-
title: string;
|
|
20576
|
-
cost_report_token: string;
|
|
20577
|
-
user_tokens: string[];
|
|
20578
|
-
recipient_channels: string[];
|
|
20579
|
-
frequency: "daily" | "weekly" | "monthly";
|
|
20580
|
-
change: "percentage" | "dollars";
|
|
20581
|
-
}, null] : {
|
|
20582
|
-
token: string;
|
|
20583
|
-
title: string;
|
|
20584
|
-
cost_report_token: string;
|
|
20585
|
-
user_tokens: string[];
|
|
20586
|
-
recipient_channels: string[];
|
|
20587
|
-
frequency: "daily" | "weekly" | "monthly";
|
|
20588
|
-
change: "percentage" | "dollars";
|
|
20589
|
-
}>;
|
|
20137
|
+
delete(reportNotificationToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
20590
20138
|
}
|
|
20591
20139
|
declare class ResourceReportsApi<NeverThrow extends boolean> {
|
|
20592
20140
|
private client;
|
|
@@ -20670,25 +20218,7 @@ declare class ResourceReportsApi<NeverThrow extends boolean> {
|
|
|
20670
20218
|
/**
|
|
20671
20219
|
* Delete a ResourceReport.
|
|
20672
20220
|
*/
|
|
20673
|
-
delete(resourceReportToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
20674
|
-
token: string;
|
|
20675
|
-
title: string;
|
|
20676
|
-
filter: string | null;
|
|
20677
|
-
created_at: string;
|
|
20678
|
-
workspace_token: string;
|
|
20679
|
-
user_token: string | null;
|
|
20680
|
-
created_by_token: string | null;
|
|
20681
|
-
columns: string[];
|
|
20682
|
-
}, null] : {
|
|
20683
|
-
token: string;
|
|
20684
|
-
title: string;
|
|
20685
|
-
filter: string | null;
|
|
20686
|
-
created_at: string;
|
|
20687
|
-
workspace_token: string;
|
|
20688
|
-
user_token: string | null;
|
|
20689
|
-
created_by_token: string | null;
|
|
20690
|
-
columns: string[];
|
|
20691
|
-
}>;
|
|
20221
|
+
delete(resourceReportToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
20692
20222
|
/**
|
|
20693
20223
|
* List available columns for a resource type.
|
|
20694
20224
|
*/
|
|
@@ -20788,23 +20318,7 @@ declare class SavedFiltersApi<NeverThrow extends boolean> {
|
|
|
20788
20318
|
/**
|
|
20789
20319
|
* Delete a SavedFilter for CostReports.
|
|
20790
20320
|
*/
|
|
20791
|
-
delete(savedFilterToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
20792
|
-
token: string;
|
|
20793
|
-
title: string;
|
|
20794
|
-
cost_report_tokens: string[];
|
|
20795
|
-
filter: string | null;
|
|
20796
|
-
created_at: string;
|
|
20797
|
-
created_by: string | null;
|
|
20798
|
-
workspace_token: string;
|
|
20799
|
-
}, null] : {
|
|
20800
|
-
token: string;
|
|
20801
|
-
title: string;
|
|
20802
|
-
cost_report_tokens: string[];
|
|
20803
|
-
filter: string | null;
|
|
20804
|
-
created_at: string;
|
|
20805
|
-
created_by: string | null;
|
|
20806
|
-
workspace_token: string;
|
|
20807
|
-
}>;
|
|
20321
|
+
delete(savedFilterToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
20808
20322
|
}
|
|
20809
20323
|
declare class SegmentsApi<NeverThrow extends boolean> {
|
|
20810
20324
|
private client;
|
|
@@ -20942,43 +20456,7 @@ declare class SegmentsApi<NeverThrow extends boolean> {
|
|
|
20942
20456
|
/**
|
|
20943
20457
|
* Delete a Segment.
|
|
20944
20458
|
*/
|
|
20945
|
-
delete(segmentToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
20946
|
-
token: string;
|
|
20947
|
-
title: string;
|
|
20948
|
-
parent_segment_token: string | null;
|
|
20949
|
-
description: string;
|
|
20950
|
-
track_unallocated: boolean;
|
|
20951
|
-
report_settings?: {
|
|
20952
|
-
include_credits?: boolean | null;
|
|
20953
|
-
include_refunds?: boolean | null;
|
|
20954
|
-
include_discounts?: boolean | null;
|
|
20955
|
-
include_tax?: boolean | null;
|
|
20956
|
-
amortize?: boolean | null;
|
|
20957
|
-
};
|
|
20958
|
-
priority: number;
|
|
20959
|
-
filter: string | null;
|
|
20960
|
-
created_at: string;
|
|
20961
|
-
workspace_token: string;
|
|
20962
|
-
report_token: string | null;
|
|
20963
|
-
}, null] : {
|
|
20964
|
-
token: string;
|
|
20965
|
-
title: string;
|
|
20966
|
-
parent_segment_token: string | null;
|
|
20967
|
-
description: string;
|
|
20968
|
-
track_unallocated: boolean;
|
|
20969
|
-
report_settings?: {
|
|
20970
|
-
include_credits?: boolean | null;
|
|
20971
|
-
include_refunds?: boolean | null;
|
|
20972
|
-
include_discounts?: boolean | null;
|
|
20973
|
-
include_tax?: boolean | null;
|
|
20974
|
-
amortize?: boolean | null;
|
|
20975
|
-
};
|
|
20976
|
-
priority: number;
|
|
20977
|
-
filter: string | null;
|
|
20978
|
-
created_at: string;
|
|
20979
|
-
workspace_token: string;
|
|
20980
|
-
report_token: string | null;
|
|
20981
|
-
}>;
|
|
20459
|
+
delete(segmentToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
20982
20460
|
}
|
|
20983
20461
|
declare class TagsApi<NeverThrow extends boolean> {
|
|
20984
20462
|
private client;
|
|
@@ -21074,21 +20552,7 @@ declare class TeamsApi<NeverThrow extends boolean> {
|
|
|
21074
20552
|
/**
|
|
21075
20553
|
* Delete a Team.
|
|
21076
20554
|
*/
|
|
21077
|
-
delete(teamToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
21078
|
-
token: string;
|
|
21079
|
-
name: string;
|
|
21080
|
-
description: string | null;
|
|
21081
|
-
workspace_tokens: string[];
|
|
21082
|
-
user_emails: string[];
|
|
21083
|
-
user_tokens: string[];
|
|
21084
|
-
}, null] : {
|
|
21085
|
-
token: string;
|
|
21086
|
-
name: string;
|
|
21087
|
-
description: string | null;
|
|
21088
|
-
workspace_tokens: string[];
|
|
21089
|
-
user_emails: string[];
|
|
21090
|
-
user_tokens: string[];
|
|
21091
|
-
}>;
|
|
20555
|
+
delete(teamToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
21092
20556
|
/**
|
|
21093
20557
|
* Return all members of a Team.
|
|
21094
20558
|
*/
|
|
@@ -21234,23 +20698,7 @@ declare class VirtualTagConfigsApi<NeverThrow extends boolean> {
|
|
|
21234
20698
|
/**
|
|
21235
20699
|
* Deletes an existing VirtualTagConfig.
|
|
21236
20700
|
*/
|
|
21237
|
-
delete(token: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [
|
|
21238
|
-
token: string;
|
|
21239
|
-
created_by_token: string | null;
|
|
21240
|
-
key: string;
|
|
21241
|
-
overridable: boolean;
|
|
21242
|
-
backfill_until: string;
|
|
21243
|
-
collapsed_tag_keys?: components["schemas"]["VirtualTagConfigCollapsedTagKey"][];
|
|
21244
|
-
values: components["schemas"]["VirtualTagConfigValue"][];
|
|
21245
|
-
}, null] : {
|
|
21246
|
-
token: string;
|
|
21247
|
-
created_by_token: string | null;
|
|
21248
|
-
key: string;
|
|
21249
|
-
overridable: boolean;
|
|
21250
|
-
backfill_until: string;
|
|
21251
|
-
collapsed_tag_keys?: components["schemas"]["VirtualTagConfigCollapsedTagKey"][];
|
|
21252
|
-
values: components["schemas"]["VirtualTagConfigValue"][];
|
|
21253
|
-
}>;
|
|
20701
|
+
delete(token: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
21254
20702
|
/**
|
|
21255
20703
|
* Return the processing status of a specific VirtualTagConfig.
|
|
21256
20704
|
*/
|