@vantage-sh/vantage-client 2.18.0 → 2.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +106 -6
- package/dist/index.d.ts +106 -6
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3591,11 +3591,30 @@ interface components {
|
|
|
3591
3591
|
budget_alert_tokens: string[];
|
|
3592
3592
|
/** @description The tokens of the child Budgets associated with the hierarchical Budget. */
|
|
3593
3593
|
child_budget_tokens: string[];
|
|
3594
|
+
period_cadence: components["schemas"]["PeriodCadence"];
|
|
3594
3595
|
/** @description The budget periods associated with the Budget. */
|
|
3595
3596
|
periods: components["schemas"]["BudgetPeriod"][];
|
|
3596
3597
|
/** @description The historical performance of the Budget. */
|
|
3597
3598
|
performance?: components["schemas"]["BudgetPerformance"][];
|
|
3598
3599
|
};
|
|
3600
|
+
PeriodCadence: {
|
|
3601
|
+
/**
|
|
3602
|
+
* @description The anchor date for budget period intervals. ISO 8601 date (YYYY-MM-DD).
|
|
3603
|
+
* @example 2026-01-01
|
|
3604
|
+
*/
|
|
3605
|
+
starts_at: string | null;
|
|
3606
|
+
/**
|
|
3607
|
+
* Format: int32
|
|
3608
|
+
* @description The number of interval units per budget period.
|
|
3609
|
+
* @example 1
|
|
3610
|
+
*/
|
|
3611
|
+
interval_count: number;
|
|
3612
|
+
/**
|
|
3613
|
+
* @description The unit for budget period intervals. One of: day, week, month, year.
|
|
3614
|
+
* @example month
|
|
3615
|
+
*/
|
|
3616
|
+
interval_unit: string;
|
|
3617
|
+
};
|
|
3599
3618
|
BudgetPeriod: {
|
|
3600
3619
|
/**
|
|
3601
3620
|
* @description The date and time, in UTC, the Budget was created. ISO 8601 Formatted.
|
|
@@ -3640,6 +3659,24 @@ interface components {
|
|
|
3640
3659
|
cost_report_token?: string;
|
|
3641
3660
|
/** @description The tokens of any child Budgets when creating a hierarchical Budget. */
|
|
3642
3661
|
child_budget_tokens?: string[];
|
|
3662
|
+
/** @description The interval cadence for budget periods. Requires the flexible_budget_periods feature. */
|
|
3663
|
+
period_cadence?: {
|
|
3664
|
+
/**
|
|
3665
|
+
* Format: date
|
|
3666
|
+
* @description The anchor date for budget period intervals.
|
|
3667
|
+
*/
|
|
3668
|
+
starts_at?: string | null;
|
|
3669
|
+
/**
|
|
3670
|
+
* Format: int32
|
|
3671
|
+
* @description The number of interval units per budget period.
|
|
3672
|
+
*/
|
|
3673
|
+
interval_count?: number;
|
|
3674
|
+
/**
|
|
3675
|
+
* @description The unit for budget period intervals. One of: day, week, month, year.
|
|
3676
|
+
* @enum {string}
|
|
3677
|
+
*/
|
|
3678
|
+
interval_unit?: "day" | "week" | "month" | "year";
|
|
3679
|
+
};
|
|
3643
3680
|
/** @description The periods for the Budget. The start_at and end_at must be iso8601 formatted e.g. YYYY-MM-DD. Ignored for hierarchical Budgets. */
|
|
3644
3681
|
periods?: {
|
|
3645
3682
|
/**
|
|
@@ -3667,6 +3704,24 @@ interface components {
|
|
|
3667
3704
|
cost_report_token?: string;
|
|
3668
3705
|
/** @description The tokens of any child Budgets when creating a hierarchical Budget. */
|
|
3669
3706
|
child_budget_tokens?: string[];
|
|
3707
|
+
/** @description The interval cadence for budget periods. Requires the flexible_budget_periods feature. */
|
|
3708
|
+
period_cadence?: {
|
|
3709
|
+
/**
|
|
3710
|
+
* Format: date
|
|
3711
|
+
* @description The anchor date for budget period intervals.
|
|
3712
|
+
*/
|
|
3713
|
+
starts_at?: string | null;
|
|
3714
|
+
/**
|
|
3715
|
+
* Format: int32
|
|
3716
|
+
* @description The number of interval units per budget period.
|
|
3717
|
+
*/
|
|
3718
|
+
interval_count?: number;
|
|
3719
|
+
/**
|
|
3720
|
+
* @description The unit for budget period intervals. One of: day, week, month, year.
|
|
3721
|
+
* @enum {string}
|
|
3722
|
+
*/
|
|
3723
|
+
interval_unit?: "day" | "week" | "month" | "year";
|
|
3724
|
+
};
|
|
3670
3725
|
/** @description The periods for the Budget. The start_at and end_at must be iso8601 formatted e.g. YYYY-MM-DD. Ignored for hierarchical Budgets. */
|
|
3671
3726
|
periods?: {
|
|
3672
3727
|
/**
|
|
@@ -4685,11 +4740,11 @@ interface components {
|
|
|
4685
4740
|
filter?: string;
|
|
4686
4741
|
/** @description The token of the Workspace to query costs from. Ignored if 'cost_report_token' is set. Required if the API token is associated with multiple Workspaces. */
|
|
4687
4742
|
workspace_token?: string;
|
|
4688
|
-
/** @description First date you would like to filter costs from. ISO 8601 formatted. */
|
|
4743
|
+
/** @description First date you would like to filter costs from. ISO 8601 formatted. When omitted with cost_report_token, the report's saved start date is used. */
|
|
4689
4744
|
start_date?: string;
|
|
4690
|
-
/** @description Last date you would like to filter costs to. ISO 8601 formatted. */
|
|
4745
|
+
/** @description Last date you would like to filter costs to. ISO 8601 formatted. When omitted with cost_report_token, the report's saved end date is used. */
|
|
4691
4746
|
end_date?: string;
|
|
4692
|
-
/** @description Group the results by specific field(s).
|
|
4747
|
+
/** @description Group the results by specific field(s). When omitted with cost_report_token, the report's saved groupings are used; otherwise defaults to provider, service, account_id. Valid groupings: account_id, billing_account_id, charge_type, cost_category, cost_subcategory, provider, region, resource_id, service, tagged, usage_unit, tag:<tag_value>. If providing multiple groupings, join as comma separated values: groupings=provider,service,region */
|
|
4693
4748
|
groupings?: string[];
|
|
4694
4749
|
/**
|
|
4695
4750
|
* @description The date bin of the costs. Defaults to the report's default or day.
|
|
@@ -4873,6 +4928,21 @@ interface components {
|
|
|
4873
4928
|
* @example DataTransfer-Regional-Bytes
|
|
4874
4929
|
*/
|
|
4875
4930
|
cost_subcategory?: string | null;
|
|
4931
|
+
/**
|
|
4932
|
+
* @description The charge type for the cost.
|
|
4933
|
+
* @example Usage
|
|
4934
|
+
*/
|
|
4935
|
+
charge_type?: string | null;
|
|
4936
|
+
/**
|
|
4937
|
+
* @description Whether the cost has tags.
|
|
4938
|
+
* @example true
|
|
4939
|
+
*/
|
|
4940
|
+
tagged?: boolean | null;
|
|
4941
|
+
/**
|
|
4942
|
+
* @description The unit used to measure usage.
|
|
4943
|
+
* @example GB
|
|
4944
|
+
*/
|
|
4945
|
+
usage_unit?: string | null;
|
|
4876
4946
|
/**
|
|
4877
4947
|
* @description The segment name for segment report costs.
|
|
4878
4948
|
* @example Engineering
|
|
@@ -5423,6 +5493,8 @@ interface components {
|
|
|
5423
5493
|
app_id: string;
|
|
5424
5494
|
/** @description Service Principal Password. */
|
|
5425
5495
|
password: string;
|
|
5496
|
+
/** @description Microsoft Customer Agreement (MCA) or Enterprise Agreement (EA) billing account ID. Must not contain whitespace. */
|
|
5497
|
+
billing_account_id?: string;
|
|
5426
5498
|
};
|
|
5427
5499
|
/** @description Update an Integration. */
|
|
5428
5500
|
updateIntegration: {
|
|
@@ -9245,6 +9317,12 @@ interface operations {
|
|
|
9245
9317
|
* "cost_report_token": "rprt_92062240b4ffda91",
|
|
9246
9318
|
* "created_at": "2024-07-11T20:22:49Z",
|
|
9247
9319
|
* "budget_alert_tokens": [],
|
|
9320
|
+
* "child_budget_tokens": [],
|
|
9321
|
+
* "period_cadence": {
|
|
9322
|
+
* "starts_at": null,
|
|
9323
|
+
* "interval_count": 1,
|
|
9324
|
+
* "interval_unit": "month"
|
|
9325
|
+
* },
|
|
9248
9326
|
* "periods": [
|
|
9249
9327
|
* {
|
|
9250
9328
|
* "start_at": "2024-07-01",
|
|
@@ -9296,6 +9374,12 @@ interface operations {
|
|
|
9296
9374
|
* "cost_report_token": null,
|
|
9297
9375
|
* "created_at": "2024-07-11T20:22:52Z",
|
|
9298
9376
|
* "budget_alert_tokens": [],
|
|
9377
|
+
* "child_budget_tokens": [],
|
|
9378
|
+
* "period_cadence": {
|
|
9379
|
+
* "starts_at": null,
|
|
9380
|
+
* "interval_count": 1,
|
|
9381
|
+
* "interval_unit": "month"
|
|
9382
|
+
* },
|
|
9299
9383
|
* "periods": [
|
|
9300
9384
|
* {
|
|
9301
9385
|
* "start_at": "2024-01-01",
|
|
@@ -9389,6 +9473,12 @@ interface operations {
|
|
|
9389
9473
|
* "cost_report_token": "rprt_9ee9f29893956951",
|
|
9390
9474
|
* "created_at": "2024-07-11T20:22:41Z",
|
|
9391
9475
|
* "budget_alert_tokens": [],
|
|
9476
|
+
* "child_budget_tokens": [],
|
|
9477
|
+
* "period_cadence": {
|
|
9478
|
+
* "starts_at": null,
|
|
9479
|
+
* "interval_count": 1,
|
|
9480
|
+
* "interval_unit": "month"
|
|
9481
|
+
* },
|
|
9392
9482
|
* "periods": [
|
|
9393
9483
|
* {
|
|
9394
9484
|
* "start_at": "2024-07-01",
|
|
@@ -9449,6 +9539,12 @@ interface operations {
|
|
|
9449
9539
|
* "cost_report_token": "rprt_07325bc3667263b7",
|
|
9450
9540
|
* "created_at": "2024-07-11T20:22:48Z",
|
|
9451
9541
|
* "budget_alert_tokens": [],
|
|
9542
|
+
* "child_budget_tokens": [],
|
|
9543
|
+
* "period_cadence": {
|
|
9544
|
+
* "starts_at": null,
|
|
9545
|
+
* "interval_count": 1,
|
|
9546
|
+
* "interval_unit": "month"
|
|
9547
|
+
* },
|
|
9452
9548
|
* "periods": [
|
|
9453
9549
|
* {
|
|
9454
9550
|
* "start_at": "2023-01-01",
|
|
@@ -11343,11 +11439,11 @@ interface operations {
|
|
|
11343
11439
|
filter?: string;
|
|
11344
11440
|
/** @description The token of the Workspace to query costs from. Ignored if 'cost_report_token' is set. Required if the API token is associated with multiple Workspaces. */
|
|
11345
11441
|
workspace_token?: string;
|
|
11346
|
-
/** @description First date you would like to filter costs from. ISO 8601 formatted. */
|
|
11442
|
+
/** @description First date you would like to filter costs from. ISO 8601 formatted. When omitted with cost_report_token, the report's saved start date is used. */
|
|
11347
11443
|
start_date?: string;
|
|
11348
|
-
/** @description Last date you would like to filter costs to. ISO 8601 formatted. */
|
|
11444
|
+
/** @description Last date you would like to filter costs to. ISO 8601 formatted. When omitted with cost_report_token, the report's saved end date is used. */
|
|
11349
11445
|
end_date?: string;
|
|
11350
|
-
/** @description Group the results by specific field(s).
|
|
11446
|
+
/** @description Group the results by specific field(s). When omitted with cost_report_token, the report's saved groupings are used; otherwise defaults to provider, service, account_id. Valid groupings: account_id, billing_account_id, charge_type, cost_category, cost_subcategory, provider, region, resource_id, service, tagged, usage_unit, tag:<tag_value>. If providing multiple groupings, join as comma separated values: groupings=provider,service,region */
|
|
11351
11447
|
groupings?: string[];
|
|
11352
11448
|
/** @description Whether to order costs by date in an ascending or descending manner. */
|
|
11353
11449
|
order?: "asc" | "desc";
|
|
@@ -21287,6 +21383,7 @@ declare class BudgetsApi<NeverThrow extends boolean> {
|
|
|
21287
21383
|
created_at: string;
|
|
21288
21384
|
budget_alert_tokens: string[];
|
|
21289
21385
|
child_budget_tokens: string[];
|
|
21386
|
+
period_cadence: components["schemas"]["PeriodCadence"];
|
|
21290
21387
|
periods: components["schemas"]["BudgetPeriod"][];
|
|
21291
21388
|
performance?: components["schemas"]["BudgetPerformance"][];
|
|
21292
21389
|
}, null] : {
|
|
@@ -21299,6 +21396,7 @@ declare class BudgetsApi<NeverThrow extends boolean> {
|
|
|
21299
21396
|
created_at: string;
|
|
21300
21397
|
budget_alert_tokens: string[];
|
|
21301
21398
|
child_budget_tokens: string[];
|
|
21399
|
+
period_cadence: components["schemas"]["PeriodCadence"];
|
|
21302
21400
|
periods: components["schemas"]["BudgetPeriod"][];
|
|
21303
21401
|
performance?: components["schemas"]["BudgetPerformance"][];
|
|
21304
21402
|
}>;
|
|
@@ -21315,6 +21413,7 @@ declare class BudgetsApi<NeverThrow extends boolean> {
|
|
|
21315
21413
|
created_at: string;
|
|
21316
21414
|
budget_alert_tokens: string[];
|
|
21317
21415
|
child_budget_tokens: string[];
|
|
21416
|
+
period_cadence: components["schemas"]["PeriodCadence"];
|
|
21318
21417
|
periods: components["schemas"]["BudgetPeriod"][];
|
|
21319
21418
|
performance?: components["schemas"]["BudgetPerformance"][];
|
|
21320
21419
|
}, null] : {
|
|
@@ -21327,6 +21426,7 @@ declare class BudgetsApi<NeverThrow extends boolean> {
|
|
|
21327
21426
|
created_at: string;
|
|
21328
21427
|
budget_alert_tokens: string[];
|
|
21329
21428
|
child_budget_tokens: string[];
|
|
21429
|
+
period_cadence: components["schemas"]["PeriodCadence"];
|
|
21330
21430
|
periods: components["schemas"]["BudgetPeriod"][];
|
|
21331
21431
|
performance?: components["schemas"]["BudgetPerformance"][];
|
|
21332
21432
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -3591,11 +3591,30 @@ interface components {
|
|
|
3591
3591
|
budget_alert_tokens: string[];
|
|
3592
3592
|
/** @description The tokens of the child Budgets associated with the hierarchical Budget. */
|
|
3593
3593
|
child_budget_tokens: string[];
|
|
3594
|
+
period_cadence: components["schemas"]["PeriodCadence"];
|
|
3594
3595
|
/** @description The budget periods associated with the Budget. */
|
|
3595
3596
|
periods: components["schemas"]["BudgetPeriod"][];
|
|
3596
3597
|
/** @description The historical performance of the Budget. */
|
|
3597
3598
|
performance?: components["schemas"]["BudgetPerformance"][];
|
|
3598
3599
|
};
|
|
3600
|
+
PeriodCadence: {
|
|
3601
|
+
/**
|
|
3602
|
+
* @description The anchor date for budget period intervals. ISO 8601 date (YYYY-MM-DD).
|
|
3603
|
+
* @example 2026-01-01
|
|
3604
|
+
*/
|
|
3605
|
+
starts_at: string | null;
|
|
3606
|
+
/**
|
|
3607
|
+
* Format: int32
|
|
3608
|
+
* @description The number of interval units per budget period.
|
|
3609
|
+
* @example 1
|
|
3610
|
+
*/
|
|
3611
|
+
interval_count: number;
|
|
3612
|
+
/**
|
|
3613
|
+
* @description The unit for budget period intervals. One of: day, week, month, year.
|
|
3614
|
+
* @example month
|
|
3615
|
+
*/
|
|
3616
|
+
interval_unit: string;
|
|
3617
|
+
};
|
|
3599
3618
|
BudgetPeriod: {
|
|
3600
3619
|
/**
|
|
3601
3620
|
* @description The date and time, in UTC, the Budget was created. ISO 8601 Formatted.
|
|
@@ -3640,6 +3659,24 @@ interface components {
|
|
|
3640
3659
|
cost_report_token?: string;
|
|
3641
3660
|
/** @description The tokens of any child Budgets when creating a hierarchical Budget. */
|
|
3642
3661
|
child_budget_tokens?: string[];
|
|
3662
|
+
/** @description The interval cadence for budget periods. Requires the flexible_budget_periods feature. */
|
|
3663
|
+
period_cadence?: {
|
|
3664
|
+
/**
|
|
3665
|
+
* Format: date
|
|
3666
|
+
* @description The anchor date for budget period intervals.
|
|
3667
|
+
*/
|
|
3668
|
+
starts_at?: string | null;
|
|
3669
|
+
/**
|
|
3670
|
+
* Format: int32
|
|
3671
|
+
* @description The number of interval units per budget period.
|
|
3672
|
+
*/
|
|
3673
|
+
interval_count?: number;
|
|
3674
|
+
/**
|
|
3675
|
+
* @description The unit for budget period intervals. One of: day, week, month, year.
|
|
3676
|
+
* @enum {string}
|
|
3677
|
+
*/
|
|
3678
|
+
interval_unit?: "day" | "week" | "month" | "year";
|
|
3679
|
+
};
|
|
3643
3680
|
/** @description The periods for the Budget. The start_at and end_at must be iso8601 formatted e.g. YYYY-MM-DD. Ignored for hierarchical Budgets. */
|
|
3644
3681
|
periods?: {
|
|
3645
3682
|
/**
|
|
@@ -3667,6 +3704,24 @@ interface components {
|
|
|
3667
3704
|
cost_report_token?: string;
|
|
3668
3705
|
/** @description The tokens of any child Budgets when creating a hierarchical Budget. */
|
|
3669
3706
|
child_budget_tokens?: string[];
|
|
3707
|
+
/** @description The interval cadence for budget periods. Requires the flexible_budget_periods feature. */
|
|
3708
|
+
period_cadence?: {
|
|
3709
|
+
/**
|
|
3710
|
+
* Format: date
|
|
3711
|
+
* @description The anchor date for budget period intervals.
|
|
3712
|
+
*/
|
|
3713
|
+
starts_at?: string | null;
|
|
3714
|
+
/**
|
|
3715
|
+
* Format: int32
|
|
3716
|
+
* @description The number of interval units per budget period.
|
|
3717
|
+
*/
|
|
3718
|
+
interval_count?: number;
|
|
3719
|
+
/**
|
|
3720
|
+
* @description The unit for budget period intervals. One of: day, week, month, year.
|
|
3721
|
+
* @enum {string}
|
|
3722
|
+
*/
|
|
3723
|
+
interval_unit?: "day" | "week" | "month" | "year";
|
|
3724
|
+
};
|
|
3670
3725
|
/** @description The periods for the Budget. The start_at and end_at must be iso8601 formatted e.g. YYYY-MM-DD. Ignored for hierarchical Budgets. */
|
|
3671
3726
|
periods?: {
|
|
3672
3727
|
/**
|
|
@@ -4685,11 +4740,11 @@ interface components {
|
|
|
4685
4740
|
filter?: string;
|
|
4686
4741
|
/** @description The token of the Workspace to query costs from. Ignored if 'cost_report_token' is set. Required if the API token is associated with multiple Workspaces. */
|
|
4687
4742
|
workspace_token?: string;
|
|
4688
|
-
/** @description First date you would like to filter costs from. ISO 8601 formatted. */
|
|
4743
|
+
/** @description First date you would like to filter costs from. ISO 8601 formatted. When omitted with cost_report_token, the report's saved start date is used. */
|
|
4689
4744
|
start_date?: string;
|
|
4690
|
-
/** @description Last date you would like to filter costs to. ISO 8601 formatted. */
|
|
4745
|
+
/** @description Last date you would like to filter costs to. ISO 8601 formatted. When omitted with cost_report_token, the report's saved end date is used. */
|
|
4691
4746
|
end_date?: string;
|
|
4692
|
-
/** @description Group the results by specific field(s).
|
|
4747
|
+
/** @description Group the results by specific field(s). When omitted with cost_report_token, the report's saved groupings are used; otherwise defaults to provider, service, account_id. Valid groupings: account_id, billing_account_id, charge_type, cost_category, cost_subcategory, provider, region, resource_id, service, tagged, usage_unit, tag:<tag_value>. If providing multiple groupings, join as comma separated values: groupings=provider,service,region */
|
|
4693
4748
|
groupings?: string[];
|
|
4694
4749
|
/**
|
|
4695
4750
|
* @description The date bin of the costs. Defaults to the report's default or day.
|
|
@@ -4873,6 +4928,21 @@ interface components {
|
|
|
4873
4928
|
* @example DataTransfer-Regional-Bytes
|
|
4874
4929
|
*/
|
|
4875
4930
|
cost_subcategory?: string | null;
|
|
4931
|
+
/**
|
|
4932
|
+
* @description The charge type for the cost.
|
|
4933
|
+
* @example Usage
|
|
4934
|
+
*/
|
|
4935
|
+
charge_type?: string | null;
|
|
4936
|
+
/**
|
|
4937
|
+
* @description Whether the cost has tags.
|
|
4938
|
+
* @example true
|
|
4939
|
+
*/
|
|
4940
|
+
tagged?: boolean | null;
|
|
4941
|
+
/**
|
|
4942
|
+
* @description The unit used to measure usage.
|
|
4943
|
+
* @example GB
|
|
4944
|
+
*/
|
|
4945
|
+
usage_unit?: string | null;
|
|
4876
4946
|
/**
|
|
4877
4947
|
* @description The segment name for segment report costs.
|
|
4878
4948
|
* @example Engineering
|
|
@@ -5423,6 +5493,8 @@ interface components {
|
|
|
5423
5493
|
app_id: string;
|
|
5424
5494
|
/** @description Service Principal Password. */
|
|
5425
5495
|
password: string;
|
|
5496
|
+
/** @description Microsoft Customer Agreement (MCA) or Enterprise Agreement (EA) billing account ID. Must not contain whitespace. */
|
|
5497
|
+
billing_account_id?: string;
|
|
5426
5498
|
};
|
|
5427
5499
|
/** @description Update an Integration. */
|
|
5428
5500
|
updateIntegration: {
|
|
@@ -9245,6 +9317,12 @@ interface operations {
|
|
|
9245
9317
|
* "cost_report_token": "rprt_92062240b4ffda91",
|
|
9246
9318
|
* "created_at": "2024-07-11T20:22:49Z",
|
|
9247
9319
|
* "budget_alert_tokens": [],
|
|
9320
|
+
* "child_budget_tokens": [],
|
|
9321
|
+
* "period_cadence": {
|
|
9322
|
+
* "starts_at": null,
|
|
9323
|
+
* "interval_count": 1,
|
|
9324
|
+
* "interval_unit": "month"
|
|
9325
|
+
* },
|
|
9248
9326
|
* "periods": [
|
|
9249
9327
|
* {
|
|
9250
9328
|
* "start_at": "2024-07-01",
|
|
@@ -9296,6 +9374,12 @@ interface operations {
|
|
|
9296
9374
|
* "cost_report_token": null,
|
|
9297
9375
|
* "created_at": "2024-07-11T20:22:52Z",
|
|
9298
9376
|
* "budget_alert_tokens": [],
|
|
9377
|
+
* "child_budget_tokens": [],
|
|
9378
|
+
* "period_cadence": {
|
|
9379
|
+
* "starts_at": null,
|
|
9380
|
+
* "interval_count": 1,
|
|
9381
|
+
* "interval_unit": "month"
|
|
9382
|
+
* },
|
|
9299
9383
|
* "periods": [
|
|
9300
9384
|
* {
|
|
9301
9385
|
* "start_at": "2024-01-01",
|
|
@@ -9389,6 +9473,12 @@ interface operations {
|
|
|
9389
9473
|
* "cost_report_token": "rprt_9ee9f29893956951",
|
|
9390
9474
|
* "created_at": "2024-07-11T20:22:41Z",
|
|
9391
9475
|
* "budget_alert_tokens": [],
|
|
9476
|
+
* "child_budget_tokens": [],
|
|
9477
|
+
* "period_cadence": {
|
|
9478
|
+
* "starts_at": null,
|
|
9479
|
+
* "interval_count": 1,
|
|
9480
|
+
* "interval_unit": "month"
|
|
9481
|
+
* },
|
|
9392
9482
|
* "periods": [
|
|
9393
9483
|
* {
|
|
9394
9484
|
* "start_at": "2024-07-01",
|
|
@@ -9449,6 +9539,12 @@ interface operations {
|
|
|
9449
9539
|
* "cost_report_token": "rprt_07325bc3667263b7",
|
|
9450
9540
|
* "created_at": "2024-07-11T20:22:48Z",
|
|
9451
9541
|
* "budget_alert_tokens": [],
|
|
9542
|
+
* "child_budget_tokens": [],
|
|
9543
|
+
* "period_cadence": {
|
|
9544
|
+
* "starts_at": null,
|
|
9545
|
+
* "interval_count": 1,
|
|
9546
|
+
* "interval_unit": "month"
|
|
9547
|
+
* },
|
|
9452
9548
|
* "periods": [
|
|
9453
9549
|
* {
|
|
9454
9550
|
* "start_at": "2023-01-01",
|
|
@@ -11343,11 +11439,11 @@ interface operations {
|
|
|
11343
11439
|
filter?: string;
|
|
11344
11440
|
/** @description The token of the Workspace to query costs from. Ignored if 'cost_report_token' is set. Required if the API token is associated with multiple Workspaces. */
|
|
11345
11441
|
workspace_token?: string;
|
|
11346
|
-
/** @description First date you would like to filter costs from. ISO 8601 formatted. */
|
|
11442
|
+
/** @description First date you would like to filter costs from. ISO 8601 formatted. When omitted with cost_report_token, the report's saved start date is used. */
|
|
11347
11443
|
start_date?: string;
|
|
11348
|
-
/** @description Last date you would like to filter costs to. ISO 8601 formatted. */
|
|
11444
|
+
/** @description Last date you would like to filter costs to. ISO 8601 formatted. When omitted with cost_report_token, the report's saved end date is used. */
|
|
11349
11445
|
end_date?: string;
|
|
11350
|
-
/** @description Group the results by specific field(s).
|
|
11446
|
+
/** @description Group the results by specific field(s). When omitted with cost_report_token, the report's saved groupings are used; otherwise defaults to provider, service, account_id. Valid groupings: account_id, billing_account_id, charge_type, cost_category, cost_subcategory, provider, region, resource_id, service, tagged, usage_unit, tag:<tag_value>. If providing multiple groupings, join as comma separated values: groupings=provider,service,region */
|
|
11351
11447
|
groupings?: string[];
|
|
11352
11448
|
/** @description Whether to order costs by date in an ascending or descending manner. */
|
|
11353
11449
|
order?: "asc" | "desc";
|
|
@@ -21287,6 +21383,7 @@ declare class BudgetsApi<NeverThrow extends boolean> {
|
|
|
21287
21383
|
created_at: string;
|
|
21288
21384
|
budget_alert_tokens: string[];
|
|
21289
21385
|
child_budget_tokens: string[];
|
|
21386
|
+
period_cadence: components["schemas"]["PeriodCadence"];
|
|
21290
21387
|
periods: components["schemas"]["BudgetPeriod"][];
|
|
21291
21388
|
performance?: components["schemas"]["BudgetPerformance"][];
|
|
21292
21389
|
}, null] : {
|
|
@@ -21299,6 +21396,7 @@ declare class BudgetsApi<NeverThrow extends boolean> {
|
|
|
21299
21396
|
created_at: string;
|
|
21300
21397
|
budget_alert_tokens: string[];
|
|
21301
21398
|
child_budget_tokens: string[];
|
|
21399
|
+
period_cadence: components["schemas"]["PeriodCadence"];
|
|
21302
21400
|
periods: components["schemas"]["BudgetPeriod"][];
|
|
21303
21401
|
performance?: components["schemas"]["BudgetPerformance"][];
|
|
21304
21402
|
}>;
|
|
@@ -21315,6 +21413,7 @@ declare class BudgetsApi<NeverThrow extends boolean> {
|
|
|
21315
21413
|
created_at: string;
|
|
21316
21414
|
budget_alert_tokens: string[];
|
|
21317
21415
|
child_budget_tokens: string[];
|
|
21416
|
+
period_cadence: components["schemas"]["PeriodCadence"];
|
|
21318
21417
|
periods: components["schemas"]["BudgetPeriod"][];
|
|
21319
21418
|
performance?: components["schemas"]["BudgetPerformance"][];
|
|
21320
21419
|
}, null] : {
|
|
@@ -21327,6 +21426,7 @@ declare class BudgetsApi<NeverThrow extends boolean> {
|
|
|
21327
21426
|
created_at: string;
|
|
21328
21427
|
budget_alert_tokens: string[];
|
|
21329
21428
|
child_budget_tokens: string[];
|
|
21429
|
+
period_cadence: components["schemas"]["PeriodCadence"];
|
|
21330
21430
|
periods: components["schemas"]["BudgetPeriod"][];
|
|
21331
21431
|
performance?: components["schemas"]["BudgetPerformance"][];
|
|
21332
21432
|
}>;
|