@vantage-sh/vantage-client 2.20.0 → 2.21.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 +20 -7
- package/dist/index.d.ts +20 -7
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3530,6 +3530,8 @@ interface components {
|
|
|
3530
3530
|
* @description The threshold amount that must be met for the alert to fire.
|
|
3531
3531
|
*/
|
|
3532
3532
|
threshold: number;
|
|
3533
|
+
/** @description The token of the Workspace to add the BudgetAlert to. Required if the API token is associated with multiple Workspaces. */
|
|
3534
|
+
workspace_token?: string;
|
|
3533
3535
|
/** @description The tokens of the users that receive the alert. */
|
|
3534
3536
|
user_tokens?: string[];
|
|
3535
3537
|
/** @description Email addresses that receive the alert. Must be organization users or addresses on a verified domain. */
|
|
@@ -3550,12 +3552,14 @@ interface components {
|
|
|
3550
3552
|
* @description The threshold amount that must be met for the alert to fire.
|
|
3551
3553
|
*/
|
|
3552
3554
|
threshold?: number;
|
|
3555
|
+
/** @description The token of the Workspace the BudgetAlert belongs to. Required if the API token is associated with multiple Workspaces. */
|
|
3556
|
+
workspace_token?: string;
|
|
3553
3557
|
/** @description The tokens of the users that receive the alert. */
|
|
3554
3558
|
user_tokens?: string[];
|
|
3555
3559
|
/** @description Email addresses that receive the alert. Must be organization users or addresses on a verified domain. */
|
|
3556
3560
|
recipient_emails?: string[];
|
|
3557
3561
|
/** @description The number of days from the start or end of the month to trigger the alert if the threshold is reached. For the full month, pass an empty value. */
|
|
3558
|
-
duration_in_days?: string;
|
|
3562
|
+
duration_in_days?: string | null;
|
|
3559
3563
|
/** @description The period tracked on the alert. Used with duration_in_days to determine the time window of the alert. Defaults to start_of_the_month if not passed. Possible values: start_of_the_month, end_of_the_month. */
|
|
3560
3564
|
period_to_track?: string;
|
|
3561
3565
|
/** @description The channels receiving the alerts. Requires an integration provider to be connected. */
|
|
@@ -3602,7 +3606,7 @@ interface components {
|
|
|
3602
3606
|
* @description The anchor date for budget period intervals. ISO 8601 date (YYYY-MM-DD).
|
|
3603
3607
|
* @example 2026-01-01
|
|
3604
3608
|
*/
|
|
3605
|
-
starts_at
|
|
3609
|
+
starts_at?: string | null;
|
|
3606
3610
|
/**
|
|
3607
3611
|
* Format: int32
|
|
3608
3612
|
* @description The number of interval units per budget period.
|
|
@@ -3663,9 +3667,9 @@ interface components {
|
|
|
3663
3667
|
period_cadence?: {
|
|
3664
3668
|
/**
|
|
3665
3669
|
* Format: date
|
|
3666
|
-
* @description The anchor date for budget period intervals.
|
|
3670
|
+
* @description The anchor date for budget period intervals. Send null to clear.
|
|
3667
3671
|
*/
|
|
3668
|
-
starts_at
|
|
3672
|
+
starts_at: string | null;
|
|
3669
3673
|
/**
|
|
3670
3674
|
* Format: int32
|
|
3671
3675
|
* @description The number of interval units per budget period.
|
|
@@ -3704,13 +3708,13 @@ interface components {
|
|
|
3704
3708
|
cost_report_token?: string;
|
|
3705
3709
|
/** @description The tokens of any child Budgets when creating a hierarchical Budget. */
|
|
3706
3710
|
child_budget_tokens?: string[];
|
|
3707
|
-
/** @description The interval cadence for budget periods.
|
|
3711
|
+
/** @description The interval cadence for budget periods. Changing cadence after creation is rejected. */
|
|
3708
3712
|
period_cadence?: {
|
|
3709
3713
|
/**
|
|
3710
3714
|
* Format: date
|
|
3711
|
-
* @description The anchor date for budget period intervals.
|
|
3715
|
+
* @description The anchor date for budget period intervals. Send null to clear.
|
|
3712
3716
|
*/
|
|
3713
|
-
starts_at
|
|
3717
|
+
starts_at: string | null;
|
|
3714
3718
|
/**
|
|
3715
3719
|
* Format: int32
|
|
3716
3720
|
* @description The number of interval units per budget period.
|
|
@@ -9234,6 +9238,15 @@ interface operations {
|
|
|
9234
9238
|
"application/json": components["schemas"]["BudgetAlert"];
|
|
9235
9239
|
};
|
|
9236
9240
|
};
|
|
9241
|
+
/** @description BadRequest */
|
|
9242
|
+
400: {
|
|
9243
|
+
headers: {
|
|
9244
|
+
[name: string]: unknown;
|
|
9245
|
+
};
|
|
9246
|
+
content: {
|
|
9247
|
+
"application/json": components["schemas"]["Errors"];
|
|
9248
|
+
};
|
|
9249
|
+
};
|
|
9237
9250
|
/** @description NotFound */
|
|
9238
9251
|
404: {
|
|
9239
9252
|
headers: {
|
package/dist/index.d.ts
CHANGED
|
@@ -3530,6 +3530,8 @@ interface components {
|
|
|
3530
3530
|
* @description The threshold amount that must be met for the alert to fire.
|
|
3531
3531
|
*/
|
|
3532
3532
|
threshold: number;
|
|
3533
|
+
/** @description The token of the Workspace to add the BudgetAlert to. Required if the API token is associated with multiple Workspaces. */
|
|
3534
|
+
workspace_token?: string;
|
|
3533
3535
|
/** @description The tokens of the users that receive the alert. */
|
|
3534
3536
|
user_tokens?: string[];
|
|
3535
3537
|
/** @description Email addresses that receive the alert. Must be organization users or addresses on a verified domain. */
|
|
@@ -3550,12 +3552,14 @@ interface components {
|
|
|
3550
3552
|
* @description The threshold amount that must be met for the alert to fire.
|
|
3551
3553
|
*/
|
|
3552
3554
|
threshold?: number;
|
|
3555
|
+
/** @description The token of the Workspace the BudgetAlert belongs to. Required if the API token is associated with multiple Workspaces. */
|
|
3556
|
+
workspace_token?: string;
|
|
3553
3557
|
/** @description The tokens of the users that receive the alert. */
|
|
3554
3558
|
user_tokens?: string[];
|
|
3555
3559
|
/** @description Email addresses that receive the alert. Must be organization users or addresses on a verified domain. */
|
|
3556
3560
|
recipient_emails?: string[];
|
|
3557
3561
|
/** @description The number of days from the start or end of the month to trigger the alert if the threshold is reached. For the full month, pass an empty value. */
|
|
3558
|
-
duration_in_days?: string;
|
|
3562
|
+
duration_in_days?: string | null;
|
|
3559
3563
|
/** @description The period tracked on the alert. Used with duration_in_days to determine the time window of the alert. Defaults to start_of_the_month if not passed. Possible values: start_of_the_month, end_of_the_month. */
|
|
3560
3564
|
period_to_track?: string;
|
|
3561
3565
|
/** @description The channels receiving the alerts. Requires an integration provider to be connected. */
|
|
@@ -3602,7 +3606,7 @@ interface components {
|
|
|
3602
3606
|
* @description The anchor date for budget period intervals. ISO 8601 date (YYYY-MM-DD).
|
|
3603
3607
|
* @example 2026-01-01
|
|
3604
3608
|
*/
|
|
3605
|
-
starts_at
|
|
3609
|
+
starts_at?: string | null;
|
|
3606
3610
|
/**
|
|
3607
3611
|
* Format: int32
|
|
3608
3612
|
* @description The number of interval units per budget period.
|
|
@@ -3663,9 +3667,9 @@ interface components {
|
|
|
3663
3667
|
period_cadence?: {
|
|
3664
3668
|
/**
|
|
3665
3669
|
* Format: date
|
|
3666
|
-
* @description The anchor date for budget period intervals.
|
|
3670
|
+
* @description The anchor date for budget period intervals. Send null to clear.
|
|
3667
3671
|
*/
|
|
3668
|
-
starts_at
|
|
3672
|
+
starts_at: string | null;
|
|
3669
3673
|
/**
|
|
3670
3674
|
* Format: int32
|
|
3671
3675
|
* @description The number of interval units per budget period.
|
|
@@ -3704,13 +3708,13 @@ interface components {
|
|
|
3704
3708
|
cost_report_token?: string;
|
|
3705
3709
|
/** @description The tokens of any child Budgets when creating a hierarchical Budget. */
|
|
3706
3710
|
child_budget_tokens?: string[];
|
|
3707
|
-
/** @description The interval cadence for budget periods.
|
|
3711
|
+
/** @description The interval cadence for budget periods. Changing cadence after creation is rejected. */
|
|
3708
3712
|
period_cadence?: {
|
|
3709
3713
|
/**
|
|
3710
3714
|
* Format: date
|
|
3711
|
-
* @description The anchor date for budget period intervals.
|
|
3715
|
+
* @description The anchor date for budget period intervals. Send null to clear.
|
|
3712
3716
|
*/
|
|
3713
|
-
starts_at
|
|
3717
|
+
starts_at: string | null;
|
|
3714
3718
|
/**
|
|
3715
3719
|
* Format: int32
|
|
3716
3720
|
* @description The number of interval units per budget period.
|
|
@@ -9234,6 +9238,15 @@ interface operations {
|
|
|
9234
9238
|
"application/json": components["schemas"]["BudgetAlert"];
|
|
9235
9239
|
};
|
|
9236
9240
|
};
|
|
9241
|
+
/** @description BadRequest */
|
|
9242
|
+
400: {
|
|
9243
|
+
headers: {
|
|
9244
|
+
[name: string]: unknown;
|
|
9245
|
+
};
|
|
9246
|
+
content: {
|
|
9247
|
+
"application/json": components["schemas"]["Errors"];
|
|
9248
|
+
};
|
|
9249
|
+
};
|
|
9237
9250
|
/** @description NotFound */
|
|
9238
9251
|
404: {
|
|
9239
9252
|
headers: {
|