@vantage-sh/vantage-client 2.0.0 → 2.1.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 CHANGED
@@ -2287,6 +2287,26 @@ interface paths {
2287
2287
  patch?: never;
2288
2288
  trace?: never;
2289
2289
  };
2290
+ "/virtual_tag_configs/{token}/status": {
2291
+ parameters: {
2292
+ query?: never;
2293
+ header?: never;
2294
+ path?: never;
2295
+ cookie?: never;
2296
+ };
2297
+ /**
2298
+ * Get virtual tag config processing status
2299
+ * @description Return the processing status of a specific VirtualTagConfig.
2300
+ */
2301
+ get: operations["getVirtualTagConfigStatus"];
2302
+ put?: never;
2303
+ post?: never;
2304
+ delete?: never;
2305
+ options?: never;
2306
+ head?: never;
2307
+ patch?: never;
2308
+ trace?: never;
2309
+ };
2290
2310
  "/virtual_tag_configs/{token}/async": {
2291
2311
  parameters: {
2292
2312
  query?: never;
@@ -2402,15 +2422,15 @@ interface components {
2402
2422
  };
2403
2423
  Links: {
2404
2424
  /** @description The URL of the current page of results. */
2405
- self?: string;
2425
+ self?: string | null;
2406
2426
  /** @description The URL of the first page of results. */
2407
- first?: string;
2427
+ first?: string | null;
2408
2428
  /** @description The URL of the next page of results, if one exists. */
2409
- next?: string;
2429
+ next?: string | null;
2410
2430
  /** @description The URL of the last page of results, if one exists. */
2411
- last?: string;
2431
+ last?: string | null;
2412
2432
  /** @description The URL of the previous page of results, if one exists. */
2413
- prev?: string;
2433
+ prev?: string | null;
2414
2434
  };
2415
2435
  /** @description AccessGrant model */
2416
2436
  AccessGrant: {
@@ -2474,7 +2494,7 @@ interface components {
2474
2494
  * @description The date and time, in UTC, the AnomalyAlert is sent. ISO 8601 Formatted.
2475
2495
  * @example 2021-07-09T00:00:00Z
2476
2496
  */
2477
- alerted_at?: string;
2497
+ alerted_at?: string | null;
2478
2498
  /** @description The category of the AnomalyAlert. */
2479
2499
  category: string | null;
2480
2500
  /** @description The provider service causing the AnomalyAlert. */
@@ -2490,7 +2510,7 @@ interface components {
2490
2510
  /** @description The status of the AnomalyAlert. */
2491
2511
  status: string;
2492
2512
  /** @description The user-provided feedback of why alert was ignored/archived. */
2493
- feedback?: string;
2513
+ feedback?: string | null;
2494
2514
  /** @description The names of the resources the AnomalyAlert was attributed to. */
2495
2515
  resources: string[];
2496
2516
  /** @description The token of the Report associated with the AnomalyAlert. */
@@ -2597,14 +2617,14 @@ interface components {
2597
2617
  */
2598
2618
  source: string;
2599
2619
  /** @description The name of the user who performed the action. */
2600
- user?: string;
2620
+ user?: string | null;
2601
2621
  /** @description The name of the workspace associated with the audit log. */
2602
- workspace_title?: string;
2622
+ workspace_title?: string | null;
2603
2623
  /**
2604
2624
  * @description The token of the workspace associated with the audit log.
2605
2625
  * @example wrkspc_1234567890abcdef
2606
2626
  */
2607
- workspace_token?: string;
2627
+ workspace_token?: string | null;
2608
2628
  /**
2609
2629
  * @description The date and time, in UTC, the audit log was created. ISO 8601 Formatted.
2610
2630
  * @example 2021-07-09T00:00:00Z
@@ -2908,17 +2928,17 @@ interface components {
2908
2928
  * @description The start date of the BillingRule.
2909
2929
  * @example 2024-06-28T00:00:00Z
2910
2930
  */
2911
- start_date?: string;
2931
+ start_date?: string | null;
2912
2932
  /**
2913
2933
  * @description The end date of the BillingRule.
2914
2934
  * @example 2024-06-28T00:00:00Z
2915
2935
  */
2916
- end_date?: string;
2936
+ end_date?: string | null;
2917
2937
  /**
2918
2938
  * @description Whether the BillingRule applies to all future managed accounts.
2919
2939
  * @example true
2920
2940
  */
2921
- apply_to_all: boolean;
2941
+ apply_to_all: boolean | null;
2922
2942
  /**
2923
2943
  * @description The token of the Creator of the BillingRule.
2924
2944
  * @example usr_1234
@@ -2933,42 +2953,42 @@ interface components {
2933
2953
  * @description The service for the BillingRule (Charge).
2934
2954
  * @example AWS Cloudfront
2935
2955
  */
2936
- service?: string;
2956
+ service?: string | null;
2937
2957
  /**
2938
2958
  * @description The category for the BillingRule (Charge).
2939
2959
  * @example MSP Fee
2940
2960
  */
2941
- category?: string;
2961
+ category?: string | null;
2942
2962
  /**
2943
2963
  * @description The percentage of the cost shown for the BillingRule (Adjustment).
2944
2964
  * @example 75.0
2945
2965
  */
2946
- percentage?: string;
2966
+ percentage?: string | null;
2947
2967
  /**
2948
2968
  * @description The charge type for the BillingRule.
2949
2969
  * @example RIFee
2950
2970
  */
2951
- charge_type?: string;
2971
+ charge_type?: string | null;
2952
2972
  /**
2953
2973
  * @description The subcategory for the BillingRule (Charge).
2954
2974
  * @example One-time
2955
2975
  */
2956
- sub_category?: string;
2976
+ sub_category?: string | null;
2957
2977
  /**
2958
2978
  * @description The start period for the BillingRule (Charge).
2959
2979
  * @example 2024-05-01
2960
2980
  */
2961
- start_period?: string;
2981
+ start_period?: string | null;
2962
2982
  /**
2963
2983
  * @description The amount for the BillingRule (Charge).
2964
2984
  * @example 5000.25
2965
2985
  */
2966
- amount?: string;
2986
+ amount?: string | null;
2967
2987
  /**
2968
2988
  * @description The SQL query for the BillingRule (Custom).
2969
2989
  * @example UPDATE costs SET costs.amount = costs.amount * 0.95
2970
2990
  */
2971
- sql_query?: string;
2991
+ sql_query?: string | null;
2972
2992
  };
2973
2993
  /** @description Create a BillingRule. */
2974
2994
  createBillingRule: {
@@ -3059,16 +3079,20 @@ interface components {
3059
3079
  /** @description The token for the Workspace the ResourceReport is a part of. */
3060
3080
  workspace_token: string;
3061
3081
  /** @description The token for the User who created this BudgetAlert. */
3062
- user_token?: string;
3082
+ user_token?: string | null;
3063
3083
  /** @description The Users that receive the alert. */
3064
3084
  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
3085
  /**
3086
+ * Format: int32
3087
+ * @description The number of days from the start or end of the month to trigger the alert if the threshold is reached.
3088
+ */
3089
+ duration_in_days: number | null;
3090
+ /**
3091
+ * Format: int32
3068
3092
  * @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
3093
  * @example 75
3070
3094
  */
3071
- threshold: string;
3095
+ threshold: number;
3072
3096
  /**
3073
3097
  * @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
3098
  * @example start_of_the_month
@@ -3078,12 +3102,9 @@ interface components {
3078
3102
  * @description The provider used for sending alerts. This must be configured in the console. Possible values are: slack, microsoft_graph.
3079
3103
  * @example slack
3080
3104
  */
3081
- integration_provider?: string;
3082
- /**
3083
- * @description The channels receiving the alerts. Requires an integration provider to be connected.
3084
- * @example
3085
- */
3086
- recipient_channels: string;
3105
+ integration_provider?: string | null;
3106
+ /** @description The channels receiving the alerts. Requires an integration provider to be connected. */
3107
+ recipient_channels: string[] | null;
3087
3108
  };
3088
3109
  /** @description Create a Budget Alert. */
3089
3110
  createBudgetAlert: {
@@ -3137,11 +3158,11 @@ interface components {
3137
3158
  /** @description The token for the Workspace the Budget is a part of. */
3138
3159
  workspace_token: string;
3139
3160
  /** @description The token for the User who created this Budget. */
3140
- user_token?: string;
3161
+ user_token?: string | null;
3141
3162
  /** @description The token of the Creator of the Budget. */
3142
- created_by_token?: string;
3163
+ created_by_token?: string | null;
3143
3164
  /** @description The token of the Report associated with the Budget. */
3144
- cost_report_token?: string;
3165
+ cost_report_token?: string | null;
3145
3166
  /**
3146
3167
  * @description The date and time, in UTC, the Budget was created. ISO 8601 Formatted.
3147
3168
  * @example 2024-03-19T00:00:00Z
@@ -3266,15 +3287,15 @@ interface components {
3266
3287
  * @description The token of the Creator of the BusinessMetric.
3267
3288
  * @example usr_1234
3268
3289
  */
3269
- created_by_token?: string;
3290
+ created_by_token?: string | null;
3270
3291
  /** @description The tokens for any CostReports that use the BusinessMetric, the unit scale, and label filter. */
3271
3292
  cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
3272
3293
  /**
3273
3294
  * @description The type of import for the BusinessMetric.
3274
3295
  * @example datadog_metrics
3275
- * @enum {string}
3296
+ * @enum {string|null}
3276
3297
  */
3277
- import_type: "datadog_metrics" | "cloudwatch" | "csv";
3298
+ import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
3278
3299
  /** @description The Integration token used to import the BusinessMetric. */
3279
3300
  integration_token: string | null;
3280
3301
  cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
@@ -3285,7 +3306,7 @@ interface components {
3285
3306
  * @description The token of the CostReport the BusinessMetric is attached to.
3286
3307
  * @example rprt_1234
3287
3308
  */
3288
- cost_report_token: string;
3309
+ cost_report_token: string | null;
3289
3310
  /**
3290
3311
  * @description Determines the scale of the BusinessMetric's values within a particular CostReport.
3291
3312
  * @example per_hundred
@@ -3293,7 +3314,7 @@ interface components {
3293
3314
  */
3294
3315
  unit_scale: "per_unit" | "per_hundred" | "per_thousand" | "per_million" | "per_billion";
3295
3316
  /** @description The labels that the BusinessMetric is filtered by within a particular CostReport. */
3296
- label_filter?: string[];
3317
+ label_filter?: string[] | null;
3297
3318
  };
3298
3319
  CloudwatchFields: {
3299
3320
  /**
@@ -3352,7 +3373,7 @@ interface components {
3352
3373
  * @description The label of the Business Metric Value.
3353
3374
  * @example Cost Center A
3354
3375
  */
3355
- label?: string;
3376
+ label?: string | null;
3356
3377
  };
3357
3378
  /** @description Create a new BusinessMetric. */
3358
3379
  createBusinessMetric: {
@@ -3628,9 +3649,9 @@ interface components {
3628
3649
  */
3629
3650
  title: string;
3630
3651
  /** @description The token for the Folder the CostReport is a part of. */
3631
- folder_token?: string;
3652
+ folder_token?: string | null;
3632
3653
  /** @description The tokens for the SavedFilters assigned to the CostReport. */
3633
- saved_filter_tokens?: string[];
3654
+ saved_filter_tokens?: string[] | null;
3634
3655
  /** @description The tokens for the BusinessMetrics assigned to the CostReport, the unit scale, and label filter. */
3635
3656
  business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
3636
3657
  /** @description The filter applied to the CostReport. Additional documentation available at https://docs.vantage.sh/vql. */
@@ -3639,49 +3660,49 @@ interface components {
3639
3660
  * @description The grouping aggregations applied to the filtered data.
3640
3661
  * @example provider, service
3641
3662
  */
3642
- groupings?: string;
3663
+ groupings?: string | null;
3643
3664
  /** @description Report settings. */
3644
3665
  settings?: {
3645
3666
  /**
3646
3667
  * @description Report will include credits.
3647
3668
  * @default false
3648
3669
  */
3649
- include_credits?: boolean;
3670
+ include_credits?: boolean | null;
3650
3671
  /**
3651
3672
  * @description Report will include refunds.
3652
3673
  * @default false
3653
3674
  */
3654
- include_refunds?: boolean;
3675
+ include_refunds?: boolean | null;
3655
3676
  /**
3656
3677
  * @description Report will include discounts.
3657
3678
  * @default true
3658
3679
  */
3659
- include_discounts?: boolean;
3680
+ include_discounts?: boolean | null;
3660
3681
  /**
3661
3682
  * @description Report will include tax.
3662
3683
  * @default true
3663
3684
  */
3664
- include_tax?: boolean;
3685
+ include_tax?: boolean | null;
3665
3686
  /**
3666
3687
  * @description Report will amortize.
3667
3688
  * @default true
3668
3689
  */
3669
- amortize?: boolean;
3690
+ amortize?: boolean | null;
3670
3691
  /**
3671
3692
  * @description Report will show unallocated costs.
3672
3693
  * @default false
3673
3694
  */
3674
- unallocated?: boolean;
3695
+ unallocated?: boolean | null;
3675
3696
  /**
3676
3697
  * @description Report will aggregate by cost or usage.
3677
3698
  * @default cost
3678
3699
  */
3679
- aggregate_by?: string;
3700
+ aggregate_by?: string | null;
3680
3701
  /**
3681
3702
  * @description Report will show previous period costs or usage comparison.
3682
3703
  * @default true
3683
3704
  */
3684
- show_previous_period?: boolean;
3705
+ show_previous_period?: boolean | null;
3685
3706
  };
3686
3707
  /**
3687
3708
  * @description The date and time, in UTC, the report was created. ISO 8601 Formatted.
@@ -3694,22 +3715,22 @@ interface components {
3694
3715
  * @description The previous period start date of the CostReport. ISO 8601 Formatted.
3695
3716
  * @example 2024-06-01
3696
3717
  */
3697
- previous_period_start_date?: string;
3718
+ previous_period_start_date?: string | null;
3698
3719
  /**
3699
3720
  * @description The previous period end date of the CostReport. ISO 8601 Formatted.
3700
3721
  * @example 2024-06-15
3701
3722
  */
3702
- previous_period_end_date?: string;
3723
+ previous_period_end_date?: string | null;
3703
3724
  /**
3704
3725
  * @description The start date of the CostReports. ISO 8601 Formatted. Overwrites 'date_interval' if set.
3705
3726
  * @example 2024-07-01
3706
3727
  */
3707
- start_date?: string;
3728
+ start_date?: string | null;
3708
3729
  /**
3709
3730
  * @description The end date of the CostReports. ISO 8601 Formatted. Overwrites 'date_interval' if set.
3710
3731
  * @example 2024-07-15
3711
3732
  */
3712
- end_date?: string;
3733
+ end_date?: string | null;
3713
3734
  /** @description The date interval of the CostReport. */
3714
3735
  date_interval: string;
3715
3736
  /** @description The chart type of the CostReport. */
@@ -3731,7 +3752,7 @@ interface components {
3731
3752
  */
3732
3753
  unit_scale: "per_unit" | "per_hundred" | "per_thousand" | "per_million" | "per_billion";
3733
3754
  /** @description The labels that the BusinessMetric is filtered by within a particular CostReport. */
3734
- label_filter?: string[];
3755
+ label_filter?: string[] | null;
3735
3756
  };
3736
3757
  ChartSettings: {
3737
3758
  /** @description The metric or measure displayed on the chart’s y-axis. Possible values: 'cost', 'usage'. Defaults to 'cost'. */
@@ -3766,7 +3787,7 @@ interface components {
3766
3787
  * @example aws
3767
3788
  * @enum {string}
3768
3789
  */
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";
3790
+ 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
3791
  /**
3771
3792
  * @description The service for the forecasted cost. Will be 'all' for all combined services
3772
3793
  * @example Amazon Elastic Compute Cloud - Compute
@@ -3980,12 +4001,35 @@ interface components {
3980
4001
  /** @description Costs model */
3981
4002
  Costs: {
3982
4003
  links?: components["schemas"]["Links"];
3983
- /** @description The sum of all costs for the CostReport for the requested period, rounded to 2 decimal places, alongside the ISO 4217 currency code. */
3984
- total_cost: Record<string, any>;
4004
+ total_cost: components["schemas"]["CostPartial"];
3985
4005
  /** @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?: Record<string, any>;
4006
+ total_usage?: components["schemas"]["UsagePartial"][];
3987
4007
  costs: components["schemas"]["Cost"][];
3988
4008
  };
4009
+ CostPartial: {
4010
+ /**
4011
+ * @description The amount of the cost.
4012
+ * @example 4.25
4013
+ */
4014
+ amount: string;
4015
+ /**
4016
+ * @description The currency of the cost.
4017
+ * @example USD
4018
+ */
4019
+ currency: string;
4020
+ };
4021
+ UsagePartial: {
4022
+ /**
4023
+ * @description The sum of the usage.
4024
+ * @example 4.25
4025
+ */
4026
+ amount: string;
4027
+ /**
4028
+ * @description The unit of the usage.
4029
+ * @example USD
4030
+ */
4031
+ unit: string;
4032
+ };
3989
4033
  /** @description Cost model */
3990
4034
  Cost: {
3991
4035
  links?: components["schemas"]["Links"];
@@ -4005,61 +4049,61 @@ interface components {
4005
4049
  */
4006
4050
  currency: string;
4007
4051
  /** @description The usage amount and unit incurred by the cost. */
4008
- usage?: Record<string, any>;
4052
+ usage?: Record<string, any> | null;
4009
4053
  /**
4010
4054
  * @description The cost provider which incurred the cost.
4011
4055
  * @example aws
4012
- * @enum {string}
4056
+ * @enum {string|null}
4013
4057
  */
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";
4058
+ 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
4059
  /**
4016
4060
  * @description The cost provider's billing account id that incurred the cost.
4017
4061
  * @example 9109237192
4018
4062
  */
4019
- billing_account_id?: string;
4063
+ billing_account_id?: string | null;
4020
4064
  /**
4021
4065
  * @description The cost provider's account id that incurred the cost.
4022
4066
  * @example 9109237192
4023
4067
  */
4024
- account_id?: string;
4068
+ account_id?: string | null;
4025
4069
  /**
4026
4070
  * @description The service which incurred the cost.
4027
4071
  * @example Amazon Elastic Compute Cloud - Compute
4028
4072
  */
4029
- service?: string;
4073
+ service?: string | null;
4030
4074
  /**
4031
4075
  * @description The region which incurred the cost.
4032
4076
  * @example us-east-1
4033
4077
  */
4034
- region?: string;
4078
+ region?: string | null;
4035
4079
  /**
4036
4080
  * @description The resource id which incurred the cost.
4037
4081
  * @example arn:aws:ec2:us-east-1:123456789012:instance/i-1234567890abcdef0
4038
4082
  */
4039
- resource_id?: string;
4083
+ resource_id?: string | null;
4040
4084
  /**
4041
4085
  * @description The tag attached to the cost that was incurred.
4042
4086
  * DEPRECATED: does not support multiple tags.
4043
4087
  * @example production
4044
4088
  */
4045
- tag?: string;
4089
+ tag?: string | null;
4046
4090
  /** @description The tag pairs attached to the cost that was incurred. */
4047
- tags?: string[];
4091
+ tags?: string[] | null;
4048
4092
  /**
4049
4093
  * @description The category for the cost.
4050
4094
  * @example Data Transfer
4051
4095
  */
4052
- cost_category?: string;
4096
+ cost_category?: string | null;
4053
4097
  /**
4054
4098
  * @description The subcategory for the cost.
4055
4099
  * @example DataTransfer-Regional-Bytes
4056
4100
  */
4057
- cost_subcategory?: string;
4101
+ cost_subcategory?: string | null;
4058
4102
  /**
4059
4103
  * @description The segment name for segment report costs.
4060
4104
  * @example Engineering
4061
4105
  */
4062
- segment?: string;
4106
+ segment?: string | null;
4063
4107
  };
4064
4108
  /** @description Dashboards model */
4065
4109
  Dashboards: {
@@ -4092,12 +4136,12 @@ interface components {
4092
4136
  * @description The start date for the date range for Reports in the Dashboard. ISO 8601 Formatted. Overwrites 'date_interval' if set.
4093
4137
  * @example 2023-08-04
4094
4138
  */
4095
- start_date?: string;
4139
+ start_date?: string | null;
4096
4140
  /**
4097
4141
  * @description The end date for the date range for Reports in the Dashboard. ISO 8601 Formatted. Overwrites 'date_interval' if set.
4098
4142
  * @example 2023-09-04
4099
4143
  */
4100
- end_date?: string;
4144
+ end_date?: string | null;
4101
4145
  /**
4102
4146
  * @description The date and time, in UTC, the Dashboard was created. ISO 8601 Formatted.
4103
4147
  * @example 2023-08-04T00:00:00Z
@@ -4209,15 +4253,14 @@ interface components {
4209
4253
  /** @example cost_report */
4210
4254
  export_type: string;
4211
4255
  manifest: components["schemas"]["DataExportManifest"];
4212
- attributes: string;
4256
+ attributes: Record<string, any>;
4213
4257
  };
4214
4258
  DataExportManifest: {
4215
- /** @example */
4216
- files: string;
4259
+ files: string[];
4217
4260
  /** @example 2025-03-20T12:00:00Z */
4218
- completed_at: string;
4261
+ completed_at: string | null;
4219
4262
  /** @example 2025-03-20T12:00:00Z */
4220
- valid_until: string;
4263
+ valid_until: string | null;
4221
4264
  };
4222
4265
  /** @description ExchangeRates model */
4223
4266
  ExchangeRates: {
@@ -4254,7 +4297,7 @@ interface components {
4254
4297
  /** @description The token for the Workspace the FinancialCommitmentReport is a part of. */
4255
4298
  workspace_token: string;
4256
4299
  /** @description The token for the User who created this FinancialCommitmentReport. */
4257
- user_token?: string;
4300
+ user_token?: string | null;
4258
4301
  /**
4259
4302
  * @description The start date for the FinancialCommitmentReport. Only set for custom date ranges. ISO 8601 Formatted.
4260
4303
  * @example 2024-03-01
@@ -4389,10 +4432,11 @@ interface components {
4389
4432
  */
4390
4433
  type: string;
4391
4434
  /**
4435
+ * Format: int32
4392
4436
  * @description The number of instances for the financial commitment.
4393
4437
  * @example 4
4394
4438
  */
4395
- amount: string | null;
4439
+ amount: number | null;
4396
4440
  /**
4397
4441
  * @description The duration in years of the financial commitment.
4398
4442
  * @example 3 Year
@@ -4450,7 +4494,7 @@ interface components {
4450
4494
  */
4451
4495
  title: string | null;
4452
4496
  /** @description The token for the parent Folder, if any. */
4453
- parent_folder_token?: string;
4497
+ parent_folder_token?: string | null;
4454
4498
  /** @description The tokens for the SavedFilters assigned to the Folder. */
4455
4499
  saved_filter_tokens: string[];
4456
4500
  /**
@@ -4514,7 +4558,7 @@ interface components {
4514
4558
  * @description The date and time, in UTC, when the Integration was last updated. ISO 8601 Formatted.
4515
4559
  * @example 2023-08-04T00:00:00Z
4516
4560
  */
4517
- last_updated?: string;
4561
+ last_updated?: string | null;
4518
4562
  /** @description The tokens for any Workspaces that the account belongs to. */
4519
4563
  workspace_tokens: string[];
4520
4564
  /**
@@ -4647,6 +4691,18 @@ interface components {
4647
4691
  */
4648
4692
  file_type: "pdf" | "csv";
4649
4693
  };
4694
+ /** @description SendInvoice model */
4695
+ SendInvoice: {
4696
+ recipients: string[];
4697
+ };
4698
+ /** @description CostReportUrl model */
4699
+ CostReportUrl: {
4700
+ /**
4701
+ * @description The URL of the cost report.
4702
+ * @example https://example.com/cost_report.pdf
4703
+ */
4704
+ cost_report_url: string;
4705
+ };
4650
4706
  /** @description KubernetesEfficiencyReports model */
4651
4707
  KubernetesEfficiencyReports: {
4652
4708
  links?: components["schemas"]["Links"];
@@ -4670,7 +4726,7 @@ interface components {
4670
4726
  /** @description The token for the Workspace the KubernetesEfficiencyReport is a part of. */
4671
4727
  workspace_token: string;
4672
4728
  /** @description The token for the User who created this KubernetesEfficiencyReport. */
4673
- user_token?: string;
4729
+ user_token?: string | null;
4674
4730
  /**
4675
4731
  * @description The start date for the KubernetesEfficiencyReport. Only set for custom date ranges. ISO 8601 Formatted.
4676
4732
  * @example 2024-03-01
@@ -4806,9 +4862,9 @@ interface components {
4806
4862
  /** @description The tokens for the Billing Rules assigned to the Managed Account. */
4807
4863
  billing_rule_tokens: string[];
4808
4864
  /** @description Email domain associated with this Managed Account for SSO. */
4809
- email_domain?: string;
4865
+ email_domain?: string | null;
4810
4866
  /** @description Token of the MSP billing profile used for this managed account (MSP invoicing accounts only) */
4811
- msp_billing_profile_token?: string;
4867
+ msp_billing_profile_token?: string | null;
4812
4868
  billing_information_attributes?: components["schemas"]["BillingInformation"];
4813
4869
  business_information_attributes?: components["schemas"]["BusinessInformation"];
4814
4870
  };
@@ -4880,7 +4936,7 @@ interface components {
4880
4936
  };
4881
4937
  /** @description Me model */
4882
4938
  Me: {
4883
- default_workspace_token: string;
4939
+ default_workspace_token: string | null;
4884
4940
  workspaces: components["schemas"]["Workspace"][];
4885
4941
  bearer_token: components["schemas"]["BearerToken"];
4886
4942
  };
@@ -4964,7 +5020,7 @@ interface components {
4964
5020
  /** @description User feedback message */
4965
5021
  message: string;
4966
5022
  /** @description Token of the creator of the feedback */
4967
- created_by_token?: string;
5023
+ created_by_token?: string | null;
4968
5024
  /**
4969
5025
  * @description Feedback creation timestamp
4970
5026
  * @example 2023-01-01T00:00:00Z
@@ -4994,7 +5050,7 @@ interface components {
4994
5050
  /** @description The token for the Workspace the NetworkFlowReport is a part of. */
4995
5051
  workspace_token: string;
4996
5052
  /** @description The token for the User or Team that created this NetworkFlowReport. */
4997
- created_by_token?: string;
5053
+ created_by_token?: string | null;
4998
5054
  /**
4999
5055
  * @description The start date for the NetworkFlowReport. Only set for custom date ranges. ISO 8601 Formatted.
5000
5056
  * @example 2024-03-01
@@ -5214,18 +5270,21 @@ interface components {
5214
5270
  service: string;
5215
5271
  /** @description The date and time, in UTC, the Recommendation was created. ISO 8601 Formatted. */
5216
5272
  created_at: string;
5217
- /** @description The number of ProviderResources related to the Recommendation. Use the `recommendations/:token/resources` endpoint to get the full list of resources. */
5218
- resources_affected_count: string;
5273
+ /**
5274
+ * Format: int32
5275
+ * @description The number of ProviderResources related to the Recommendation. Use the `recommendations/:token/resources` endpoint to get the full list of resources.
5276
+ */
5277
+ resources_affected_count: number;
5219
5278
  /**
5220
5279
  * @description The currency code used by the Workspace to which this Recommendation belongs.
5221
5280
  * @example EUR
5222
5281
  */
5223
- currency_code?: string;
5282
+ currency_code?: string | null;
5224
5283
  /**
5225
5284
  * @description The currency symbol used by the Workspace to which this Recommendation belongs.
5226
5285
  * @example EUR
5227
5286
  */
5228
- currency_symbol?: string;
5287
+ currency_symbol?: string | null;
5229
5288
  };
5230
5289
  /** @description RecommendationProviderResources model */
5231
5290
  RecommendationProviderResources: {
@@ -5251,13 +5310,13 @@ interface components {
5251
5310
  * @example 100.00
5252
5311
  */
5253
5312
  potential_savings: string;
5254
- instance_type?: string;
5255
- containers?: string;
5313
+ instance_type?: string | null;
5314
+ containers?: string | null;
5256
5315
  /**
5257
5316
  * @description CLI command to remediate this recommendation
5258
5317
  * @example aws ec2 stop-instances --instance-ids i-1234567890abcdef0
5259
5318
  */
5260
- remediation_cli_command?: string;
5319
+ remediation_cli_command?: string | null;
5261
5320
  };
5262
5321
  /** @description RecommendationViews model */
5263
5322
  RecommendationViews: {
@@ -5266,49 +5325,49 @@ interface components {
5266
5325
  };
5267
5326
  /** @description RecommendationView model */
5268
5327
  RecommendationView: {
5269
- token?: string;
5328
+ token?: string | null;
5270
5329
  /**
5271
5330
  * @description The title of the RecommendationView.
5272
5331
  * @example Production Recommendations
5273
5332
  */
5274
- title?: string;
5333
+ title?: string | null;
5275
5334
  /** @description The token for the Workspace the RecommendationView is a part of. */
5276
- workspace_token?: string;
5335
+ workspace_token?: string | null;
5277
5336
  /**
5278
5337
  * @description Filter recommendations created on/after this YYYY-MM-DD date.
5279
5338
  * @example 2024-01-01
5280
5339
  */
5281
- start_date?: string;
5340
+ start_date?: string | null;
5282
5341
  /**
5283
5342
  * @description Filter recommendations created on/before this YYYY-MM-DD date.
5284
5343
  * @example 2024-12-31
5285
5344
  */
5286
- end_date?: string;
5345
+ end_date?: string | null;
5287
5346
  /** @description Filter by one or more providers. */
5288
- provider_ids?: string[];
5347
+ provider_ids?: string[] | null;
5289
5348
  /** @description Filter by billing account identifiers. */
5290
- billing_account_ids?: string[];
5349
+ billing_account_ids?: string[] | null;
5291
5350
  /** @description Filter by cloud account identifiers. */
5292
- account_ids?: string[];
5351
+ account_ids?: string[] | null;
5293
5352
  /** @description Filter by region slugs (e.g. us-east-1, eastus, asia-east1). */
5294
- regions?: string[];
5353
+ regions?: string[] | null;
5295
5354
  /**
5296
5355
  * @description Filter by tag key (must be used with tag_value).
5297
5356
  * @example environment
5298
5357
  */
5299
- tag_key?: string;
5358
+ tag_key?: string | null;
5300
5359
  /**
5301
5360
  * @description Filter by tag value (requires tag_key).
5302
5361
  * @example production
5303
5362
  */
5304
- tag_value?: string;
5363
+ tag_value?: string | null;
5305
5364
  /**
5306
5365
  * @description The date and time, in UTC, the view was created. ISO 8601 Formatted.
5307
5366
  * @example 2023-08-04T00:00:00Z
5308
5367
  */
5309
- created_at?: string;
5368
+ created_at?: string | null;
5310
5369
  /** @description The token for the Creator of this RecommendationView. */
5311
- created_by?: string;
5370
+ created_by?: string | null;
5312
5371
  };
5313
5372
  /** @description Create a RecommendationView. */
5314
5373
  createRecommendationView: {
@@ -5495,7 +5554,7 @@ interface components {
5495
5554
  type: string;
5496
5555
  label: string | null;
5497
5556
  /** @description Type-specific attributes of the resource. */
5498
- metadata: string | null;
5557
+ metadata: Record<string, any> | null;
5499
5558
  /** @description The provider account where the resource is located. */
5500
5559
  account_id: string | null;
5501
5560
  /** @description The provider billing account this resource is charged to. */
@@ -5518,7 +5577,11 @@ interface components {
5518
5577
  ResourceCost: {
5519
5578
  /** @description The category of the cost. */
5520
5579
  category: string;
5521
- amount: string;
5580
+ /**
5581
+ * Format: float
5582
+ * @description The cost amount.
5583
+ */
5584
+ amount: number;
5522
5585
  };
5523
5586
  /** @description SavedFilters model */
5524
5587
  SavedFilters: {
@@ -5593,11 +5656,11 @@ interface components {
5593
5656
  track_unallocated: boolean;
5594
5657
  /** @description Report settings configurable on top-level Segments. */
5595
5658
  report_settings?: {
5596
- include_credits?: boolean;
5597
- include_refunds?: boolean;
5598
- include_discounts?: boolean;
5599
- include_tax?: boolean;
5600
- amortize?: boolean;
5659
+ include_credits?: boolean | null;
5660
+ include_refunds?: boolean | null;
5661
+ include_discounts?: boolean | null;
5662
+ include_tax?: boolean | null;
5663
+ amortize?: boolean | null;
5601
5664
  };
5602
5665
  /**
5603
5666
  * Format: int32
@@ -5692,7 +5755,6 @@ interface components {
5692
5755
  links?: components["schemas"]["Links"];
5693
5756
  tags: components["schemas"]["Tag"][];
5694
5757
  };
5695
- /** @description Tag model */
5696
5758
  Tag: {
5697
5759
  /**
5698
5760
  * @description The Tag key.
@@ -5907,7 +5969,7 @@ interface components {
5907
5969
  * @description The last time the User logged in.
5908
5970
  * @example 2024-01-01T00:00:00Z
5909
5971
  */
5910
- last_seen_at?: string;
5972
+ last_seen_at?: string | null;
5911
5973
  };
5912
5974
  /** @description VirtualTagConfigs model */
5913
5975
  VirtualTagConfigs: {
@@ -5961,12 +6023,12 @@ interface components {
5961
6023
  * @description The name of the Value.
5962
6024
  * @example Informatics
5963
6025
  */
5964
- name?: string;
6026
+ name?: string | null;
5965
6027
  /**
5966
6028
  * @description The token of the associated BusinessMetric.
5967
6029
  * @example bsnss_mtrc_abc123
5968
6030
  */
5969
- business_metric_token?: string;
6031
+ business_metric_token?: string | null;
5970
6032
  cost_metric?: components["schemas"]["VirtualTagConfigValueCostMetric"];
5971
6033
  /** @description Labeled percentage allocations for matching costs. */
5972
6034
  percentages?: components["schemas"]["VirtualTagConfigValuePercentage"][];
@@ -5978,7 +6040,7 @@ interface components {
5978
6040
  };
5979
6041
  VirtualTagConfigValueCostMetricAggregation: {
5980
6042
  /** @description The tag to aggregate on. */
5981
- tag?: string;
6043
+ tag?: string | null;
5982
6044
  };
5983
6045
  VirtualTagConfigValuePercentage: {
5984
6046
  /**
@@ -5992,6 +6054,30 @@ interface components {
5992
6054
  */
5993
6055
  pct: number;
5994
6056
  };
6057
+ /** @description VirtualTagConfigStatus model */
6058
+ VirtualTagConfigStatus: {
6059
+ /**
6060
+ * @description The token of the VirtualTagConfig.
6061
+ * @example vtag_1234
6062
+ */
6063
+ token: string;
6064
+ /** @description Whether the VirtualTagConfig is currently processing. True if any provider has not completed processing. */
6065
+ processing: boolean;
6066
+ /** @description Processing status broken down by provider. */
6067
+ providers: components["schemas"]["VirtualTagConfigProviderStatus"][];
6068
+ };
6069
+ VirtualTagConfigProviderStatus: {
6070
+ /**
6071
+ * @description The provider name.
6072
+ * @example aws
6073
+ */
6074
+ provider: string;
6075
+ /**
6076
+ * @description The processing status for this provider. Possible values: queued, processing, complete, failed.
6077
+ * @example processing
6078
+ */
6079
+ status: string;
6080
+ };
5995
6081
  /** @description Create a new VirtualTagConfig. */
5996
6082
  createVirtualTagConfig: {
5997
6083
  /** @description The key of the VirtualTagConfig. */
@@ -7524,7 +7610,7 @@ interface operations {
7524
7610
  };
7525
7611
  };
7526
7612
  responses: {
7527
- 201: {
7613
+ 200: {
7528
7614
  headers: {
7529
7615
  [name: string]: unknown;
7530
7616
  };
@@ -8383,7 +8469,7 @@ interface operations {
8383
8469
  };
8384
8470
  };
8385
8471
  responses: {
8386
- 201: {
8472
+ 200: {
8387
8473
  headers: {
8388
8474
  [name: string]: unknown;
8389
8475
  };
@@ -11138,7 +11224,7 @@ interface operations {
11138
11224
  [name: string]: unknown;
11139
11225
  };
11140
11226
  content: {
11141
- "application/json": components["schemas"]["Invoice"];
11227
+ "application/json": components["schemas"]["SendInvoice"];
11142
11228
  };
11143
11229
  };
11144
11230
  /** @description BadRequest */
@@ -11178,7 +11264,7 @@ interface operations {
11178
11264
  [name: string]: unknown;
11179
11265
  };
11180
11266
  content: {
11181
- "application/json": components["schemas"]["Invoice"];
11267
+ "application/json": components["schemas"]["SendInvoice"];
11182
11268
  };
11183
11269
  };
11184
11270
  /** @description BadRequest */
@@ -11212,13 +11298,13 @@ interface operations {
11212
11298
  };
11213
11299
  requestBody?: never;
11214
11300
  responses: {
11215
- /** @description Returns cost report URL for the invoice period */
11301
+ /** @description Get cost report URL for invoice period. */
11216
11302
  200: {
11217
11303
  headers: {
11218
11304
  [name: string]: unknown;
11219
11305
  };
11220
11306
  content: {
11221
- "application/json": components["schemas"]["CostReport"];
11307
+ "application/json": components["schemas"]["CostReportUrl"];
11222
11308
  };
11223
11309
  };
11224
11310
  /** @description NotFound */
@@ -14247,7 +14333,7 @@ interface operations {
14247
14333
  * ]
14248
14334
  * }
14249
14335
  */
14250
- "application/json": components["schemas"]["Tag"];
14336
+ "application/json": components["schemas"]["Tags"];
14251
14337
  };
14252
14338
  };
14253
14339
  /** @description BadRequest */
@@ -15405,6 +15491,78 @@ interface operations {
15405
15491
  };
15406
15492
  };
15407
15493
  };
15494
+ getVirtualTagConfigStatus: {
15495
+ parameters: {
15496
+ query?: never;
15497
+ header?: never;
15498
+ path: {
15499
+ token: string;
15500
+ };
15501
+ cookie?: never;
15502
+ };
15503
+ requestBody?: never;
15504
+ responses: {
15505
+ /** @description Processing is complete */
15506
+ 200: {
15507
+ headers: {
15508
+ [name: string]: unknown;
15509
+ };
15510
+ content: {
15511
+ /**
15512
+ * @example {
15513
+ * "token": "vtag_1234",
15514
+ * "processing": true,
15515
+ * "providers": [
15516
+ * {
15517
+ * "provider": "aws",
15518
+ * "status": "processing"
15519
+ * },
15520
+ * {
15521
+ * "provider": "gcp",
15522
+ * "status": "complete"
15523
+ * }
15524
+ * ]
15525
+ * }
15526
+ */
15527
+ "application/json": components["schemas"]["VirtualTagConfigStatus"];
15528
+ };
15529
+ };
15530
+ /** @description Processing is still in progress */
15531
+ 202: {
15532
+ headers: {
15533
+ [name: string]: unknown;
15534
+ };
15535
+ content: {
15536
+ /**
15537
+ * @example {
15538
+ * "token": "vtag_1234",
15539
+ * "processing": true,
15540
+ * "providers": [
15541
+ * {
15542
+ * "provider": "aws",
15543
+ * "status": "processing"
15544
+ * },
15545
+ * {
15546
+ * "provider": "gcp",
15547
+ * "status": "complete"
15548
+ * }
15549
+ * ]
15550
+ * }
15551
+ */
15552
+ "application/json": components["schemas"]["VirtualTagConfigStatus"];
15553
+ };
15554
+ };
15555
+ /** @description NotFound */
15556
+ 404: {
15557
+ headers: {
15558
+ [name: string]: unknown;
15559
+ };
15560
+ content: {
15561
+ "application/json": components["schemas"]["Errors"];
15562
+ };
15563
+ };
15564
+ };
15565
+ };
15408
15566
  updateAsyncVirtualTagConfig: {
15409
15567
  parameters: {
15410
15568
  query?: never;
@@ -15637,7 +15795,7 @@ interface operations {
15637
15795
  };
15638
15796
  };
15639
15797
  responses: {
15640
- 201: {
15798
+ 200: {
15641
15799
  headers: {
15642
15800
  [name: string]: unknown;
15643
15801
  };
@@ -16908,6 +17066,10 @@ type UpdateVirtualTagConfigResponse = ResponseBodyForPathAndMethod<`/v2/virtual_
16908
17066
  * Response type for Delete virtual tag config
16909
17067
  */
16910
17068
  type DeleteVirtualTagConfigResponse = ResponseBodyForPathAndMethod<`/v2/virtual_tag_configs/${NoSlashString}`, "DELETE">;
17069
+ /**
17070
+ * Response type for Get virtual tag config processing status
17071
+ */
17072
+ type GetVirtualTagConfigStatusResponse = ResponseBodyForPathAndMethod<`/v2/virtual_tag_configs/${NoSlashString}/status`, "GET">;
16911
17073
  /**
16912
17074
  * Asynchronously updates an existing VirtualTagConfig.
16913
17075
  */
@@ -17053,18 +17215,10 @@ declare class AccessGrantsApi<NeverThrow extends boolean> {
17053
17215
  */
17054
17216
  list(body?: GetAccessGrantsRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
17055
17217
  links?: components["schemas"]["Links"];
17056
- access_grants:
17057
- /**
17058
- * Create a BillingRule.
17059
- */
17060
- components["schemas"]["AccessGrant"][];
17218
+ access_grants: components["schemas"]["AccessGrant"][];
17061
17219
  }, null] : {
17062
17220
  links?: components["schemas"]["Links"];
17063
- access_grants:
17064
- /**
17065
- * Create a BillingRule.
17066
- */
17067
- components["schemas"]["AccessGrant"][];
17221
+ access_grants: components["schemas"]["AccessGrant"][];
17068
17222
  }>;
17069
17223
  /**
17070
17224
  * Create an Access Grant.
@@ -17158,7 +17312,7 @@ declare class AnomalyAlertsApi<NeverThrow extends boolean> {
17158
17312
  get(anomalyAlertToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
17159
17313
  token: string;
17160
17314
  created_at: string;
17161
- alerted_at?: string;
17315
+ alerted_at?: string | null;
17162
17316
  category: string | null;
17163
17317
  service: string;
17164
17318
  provider: string;
@@ -17166,13 +17320,13 @@ declare class AnomalyAlertsApi<NeverThrow extends boolean> {
17166
17320
  previous_amount: string;
17167
17321
  seven_day_average: string;
17168
17322
  status: string;
17169
- feedback?: string;
17323
+ feedback?: string | null;
17170
17324
  resources: string[];
17171
17325
  cost_report_token: string;
17172
17326
  }, null] : {
17173
17327
  token: string;
17174
17328
  created_at: string;
17175
- alerted_at?: string;
17329
+ alerted_at?: string | null;
17176
17330
  category: string | null;
17177
17331
  service: string;
17178
17332
  provider: string;
@@ -17180,7 +17334,7 @@ declare class AnomalyAlertsApi<NeverThrow extends boolean> {
17180
17334
  previous_amount: string;
17181
17335
  seven_day_average: string;
17182
17336
  status: string;
17183
- feedback?: string;
17337
+ feedback?: string | null;
17184
17338
  resources: string[];
17185
17339
  cost_report_token: string;
17186
17340
  }>;
@@ -17190,7 +17344,7 @@ declare class AnomalyAlertsApi<NeverThrow extends boolean> {
17190
17344
  update(anomalyAlertToken: string, body: UpdateAnomalyAlertRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
17191
17345
  token: string;
17192
17346
  created_at: string;
17193
- alerted_at?: string;
17347
+ alerted_at?: string | null;
17194
17348
  category: string | null;
17195
17349
  service: string;
17196
17350
  provider: string;
@@ -17198,13 +17352,13 @@ declare class AnomalyAlertsApi<NeverThrow extends boolean> {
17198
17352
  previous_amount: string;
17199
17353
  seven_day_average: string;
17200
17354
  status: string;
17201
- feedback?: string;
17355
+ feedback?: string | null;
17202
17356
  resources: string[];
17203
17357
  cost_report_token: string;
17204
17358
  }, null] : {
17205
17359
  token: string;
17206
17360
  created_at: string;
17207
- alerted_at?: string;
17361
+ alerted_at?: string | null;
17208
17362
  category: string | null;
17209
17363
  service: string;
17210
17364
  provider: string;
@@ -17212,7 +17366,7 @@ declare class AnomalyAlertsApi<NeverThrow extends boolean> {
17212
17366
  previous_amount: string;
17213
17367
  seven_day_average: string;
17214
17368
  status: string;
17215
- feedback?: string;
17369
+ feedback?: string | null;
17216
17370
  resources: string[];
17217
17371
  cost_report_token: string;
17218
17372
  }>;
@@ -17318,10 +17472,14 @@ declare class AuditLogsApi<NeverThrow extends boolean> {
17318
17472
  * Return all AuditLogs.
17319
17473
  */
17320
17474
  list(body?: GetAuditLogsRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
17321
- links?: components["schemas"]["Links"];
17475
+ links?: components["schemas"] /**
17476
+ * Create a CostReport.
17477
+ */["Links"];
17322
17478
  audit_logs: components["schemas"]["AuditLog"][];
17323
17479
  }, null] : {
17324
- links?: components["schemas"]["Links"];
17480
+ links?: components["schemas"] /**
17481
+ * Create a CostReport.
17482
+ */["Links"];
17325
17483
  audit_logs: components["schemas"]["AuditLog"][];
17326
17484
  }>;
17327
17485
  /**
@@ -17334,9 +17492,9 @@ declare class AuditLogsApi<NeverThrow extends boolean> {
17334
17492
  object_title: string | null;
17335
17493
  event: string;
17336
17494
  source: string;
17337
- user?: string;
17338
- workspace_title?: string;
17339
- workspace_token?: string;
17495
+ user?: string | null;
17496
+ workspace_title?: string | null;
17497
+ workspace_token?: string | null;
17340
17498
  created_at: string;
17341
17499
  changed_values: Record<string, any>;
17342
17500
  unchanged_values: Record<string, any>;
@@ -17347,9 +17505,9 @@ declare class AuditLogsApi<NeverThrow extends boolean> {
17347
17505
  object_title: string | null;
17348
17506
  event: string;
17349
17507
  source: string;
17350
- user?: string;
17351
- workspace_title?: string;
17352
- workspace_token?: string;
17508
+ user?: string | null;
17509
+ workspace_title?: string | null;
17510
+ workspace_token?: string | null;
17353
17511
  created_at: string;
17354
17512
  changed_values: Record<string, any>;
17355
17513
  unchanged_values: Record<string, any>;
@@ -17485,36 +17643,36 @@ declare class BillingRulesApi<NeverThrow extends boolean> {
17485
17643
  token: string;
17486
17644
  title: string;
17487
17645
  type: string;
17488
- start_date?: string;
17489
- end_date?: string;
17490
- apply_to_all: boolean;
17646
+ start_date?: string | null;
17647
+ end_date?: string | null;
17648
+ apply_to_all: boolean | null;
17491
17649
  created_by_token: string;
17492
17650
  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;
17651
+ service?: string | null;
17652
+ category?: string | null;
17653
+ percentage?: string | null;
17654
+ charge_type?: string | null;
17655
+ sub_category?: string | null;
17656
+ start_period?: string | null;
17657
+ amount?: string | null;
17658
+ sql_query?: string | null;
17501
17659
  }, null] : {
17502
17660
  token: string;
17503
17661
  title: string;
17504
17662
  type: string;
17505
- start_date?: string;
17506
- end_date?: string;
17507
- apply_to_all: boolean;
17663
+ start_date?: string | null;
17664
+ end_date?: string | null;
17665
+ apply_to_all: boolean | null;
17508
17666
  created_by_token: string;
17509
17667
  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;
17668
+ service?: string | null;
17669
+ category?: string | null;
17670
+ percentage?: string | null;
17671
+ charge_type?: string | null;
17672
+ sub_category?: string | null;
17673
+ start_period?: string | null;
17674
+ amount?: string | null;
17675
+ sql_query?: string | null;
17518
17676
  }>;
17519
17677
  /**
17520
17678
  * Return a BillingRule.
@@ -17523,36 +17681,36 @@ declare class BillingRulesApi<NeverThrow extends boolean> {
17523
17681
  token: string;
17524
17682
  title: string;
17525
17683
  type: string;
17526
- start_date?: string;
17527
- end_date?: string;
17528
- apply_to_all: boolean;
17684
+ start_date?: string | null;
17685
+ end_date?: string | null;
17686
+ apply_to_all: boolean | null;
17529
17687
  created_by_token: string;
17530
17688
  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;
17689
+ service?: string | null;
17690
+ category?: string | null;
17691
+ percentage?: string | null;
17692
+ charge_type?: string | null;
17693
+ sub_category?: string | null;
17694
+ start_period?: string | null;
17695
+ amount?: string | null;
17696
+ sql_query?: string | null;
17539
17697
  }, null] : {
17540
17698
  token: string;
17541
17699
  title: string;
17542
17700
  type: string;
17543
- start_date?: string;
17544
- end_date?: string;
17545
- apply_to_all: boolean;
17701
+ start_date?: string | null;
17702
+ end_date?: string | null;
17703
+ apply_to_all: boolean | null;
17546
17704
  created_by_token: string;
17547
17705
  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;
17706
+ service?: string | null;
17707
+ category?: string | null;
17708
+ percentage?: string | null;
17709
+ charge_type?: string | null;
17710
+ sub_category?: string | null;
17711
+ start_period?: string | null;
17712
+ amount?: string | null;
17713
+ sql_query?: string | null;
17556
17714
  }>;
17557
17715
  /**
17558
17716
  * Update a BillingRule.
@@ -17561,36 +17719,36 @@ declare class BillingRulesApi<NeverThrow extends boolean> {
17561
17719
  token: string;
17562
17720
  title: string;
17563
17721
  type: string;
17564
- start_date?: string;
17565
- end_date?: string;
17566
- apply_to_all: boolean;
17722
+ start_date?: string | null;
17723
+ end_date?: string | null;
17724
+ apply_to_all: boolean | null;
17567
17725
  created_by_token: string;
17568
17726
  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;
17727
+ service?: string | null;
17728
+ category?: string | null;
17729
+ percentage?: string | null;
17730
+ charge_type?: string | null;
17731
+ sub_category?: string | null;
17732
+ start_period?: string | null;
17733
+ amount?: string | null;
17734
+ sql_query?: string | null;
17577
17735
  }, null] : {
17578
17736
  token: string;
17579
17737
  title: string;
17580
17738
  type: string;
17581
- start_date?: string;
17582
- end_date?: string;
17583
- apply_to_all: boolean;
17739
+ start_date?: string | null;
17740
+ end_date?: string | null;
17741
+ apply_to_all: boolean | null;
17584
17742
  created_by_token: string;
17585
17743
  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;
17744
+ service?: string | null;
17745
+ category?: string | null;
17746
+ percentage?: string | null;
17747
+ charge_type?: string | null;
17748
+ sub_category?: string | null;
17749
+ start_period?: string | null;
17750
+ amount?: string | null;
17751
+ sql_query?: string | null;
17594
17752
  }>;
17595
17753
  /**
17596
17754
  * Delete a BillingRule.
@@ -17599,36 +17757,36 @@ declare class BillingRulesApi<NeverThrow extends boolean> {
17599
17757
  token: string;
17600
17758
  title: string;
17601
17759
  type: string;
17602
- start_date?: string;
17603
- end_date?: string;
17604
- apply_to_all: boolean;
17760
+ start_date?: string | null;
17761
+ end_date?: string | null;
17762
+ apply_to_all: boolean | null;
17605
17763
  created_by_token: string;
17606
17764
  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;
17765
+ service?: string | null;
17766
+ category?: string | null;
17767
+ percentage?: string | null;
17768
+ charge_type?: string | null;
17769
+ sub_category?: string | null;
17770
+ start_period?: string | null;
17771
+ amount?: string | null;
17772
+ sql_query?: string | null;
17615
17773
  }, null] : {
17616
17774
  token: string;
17617
17775
  title: string;
17618
17776
  type: string;
17619
- start_date?: string;
17620
- end_date?: string;
17621
- apply_to_all: boolean;
17777
+ start_date?: string | null;
17778
+ end_date?: string | null;
17779
+ apply_to_all: boolean | null;
17622
17780
  created_by_token: string;
17623
17781
  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;
17782
+ service?: string | null;
17783
+ category?: string | null;
17784
+ percentage?: string | null;
17785
+ charge_type?: string | null;
17786
+ sub_category?: string | null;
17787
+ start_period?: string | null;
17788
+ amount?: string | null;
17789
+ sql_query?: string | null;
17632
17790
  }>;
17633
17791
  }
17634
17792
  declare class BudgetAlertsApi<NeverThrow extends boolean> {
@@ -17652,25 +17810,25 @@ declare class BudgetAlertsApi<NeverThrow extends boolean> {
17652
17810
  budget_tokens: string[];
17653
17811
  created_at: string;
17654
17812
  workspace_token: string;
17655
- user_token?: string;
17813
+ user_token?: string | null;
17656
17814
  user_tokens: string[];
17657
- duration_in_days: string | null;
17658
- threshold: string;
17815
+ duration_in_days: number | null;
17816
+ threshold: number;
17659
17817
  period_to_track: string | null;
17660
- integration_provider?: string;
17661
- recipient_channels: string;
17818
+ integration_provider?: string | null;
17819
+ recipient_channels: string[] | null;
17662
17820
  }, null] : {
17663
17821
  token: string;
17664
17822
  budget_tokens: string[];
17665
17823
  created_at: string;
17666
17824
  workspace_token: string;
17667
- user_token?: string;
17825
+ user_token?: string | null;
17668
17826
  user_tokens: string[];
17669
- duration_in_days: string | null;
17670
- threshold: string;
17827
+ duration_in_days: number | null;
17828
+ threshold: number;
17671
17829
  period_to_track: string | null;
17672
- integration_provider?: string;
17673
- recipient_channels: string;
17830
+ integration_provider?: string | null;
17831
+ recipient_channels: string[] | null;
17674
17832
  }>;
17675
17833
  /**
17676
17834
  * Return a BudgetAlert.
@@ -17680,25 +17838,25 @@ declare class BudgetAlertsApi<NeverThrow extends boolean> {
17680
17838
  budget_tokens: string[];
17681
17839
  created_at: string;
17682
17840
  workspace_token: string;
17683
- user_token?: string;
17841
+ user_token?: string | null;
17684
17842
  user_tokens: string[];
17685
- duration_in_days: string | null;
17686
- threshold: string;
17843
+ duration_in_days: number | null;
17844
+ threshold: number;
17687
17845
  period_to_track: string | null;
17688
- integration_provider?: string;
17689
- recipient_channels: string;
17846
+ integration_provider?: string | null;
17847
+ recipient_channels: string[] | null;
17690
17848
  }, null] : {
17691
17849
  token: string;
17692
17850
  budget_tokens: string[];
17693
17851
  created_at: string;
17694
17852
  workspace_token: string;
17695
- user_token?: string;
17853
+ user_token?: string | null;
17696
17854
  user_tokens: string[];
17697
- duration_in_days: string | null;
17698
- threshold: string;
17855
+ duration_in_days: number | null;
17856
+ threshold: number;
17699
17857
  period_to_track: string | null;
17700
- integration_provider?: string;
17701
- recipient_channels: string;
17858
+ integration_provider?: string | null;
17859
+ recipient_channels: string[] | null;
17702
17860
  }>;
17703
17861
  /**
17704
17862
  * Updates an existing BudgetAlert.
@@ -17708,25 +17866,25 @@ declare class BudgetAlertsApi<NeverThrow extends boolean> {
17708
17866
  budget_tokens: string[];
17709
17867
  created_at: string;
17710
17868
  workspace_token: string;
17711
- user_token?: string;
17869
+ user_token?: string | null;
17712
17870
  user_tokens: string[];
17713
- duration_in_days: string | null;
17714
- threshold: string;
17871
+ duration_in_days: number | null;
17872
+ threshold: number;
17715
17873
  period_to_track: string | null;
17716
- integration_provider?: string;
17717
- recipient_channels: string;
17874
+ integration_provider?: string | null;
17875
+ recipient_channels: string[] | null;
17718
17876
  }, null] : {
17719
17877
  token: string;
17720
17878
  budget_tokens: string[];
17721
17879
  created_at: string;
17722
17880
  workspace_token: string;
17723
- user_token?: string;
17881
+ user_token?: string | null;
17724
17882
  user_tokens: string[];
17725
- duration_in_days: string | null;
17726
- threshold: string;
17883
+ duration_in_days: number | null;
17884
+ threshold: number;
17727
17885
  period_to_track: string | null;
17728
- integration_provider?: string;
17729
- recipient_channels: string;
17886
+ integration_provider?: string | null;
17887
+ recipient_channels: string[] | null;
17730
17888
  }>;
17731
17889
  /**
17732
17890
  * Delete a BudgetAlert.
@@ -17736,25 +17894,25 @@ declare class BudgetAlertsApi<NeverThrow extends boolean> {
17736
17894
  budget_tokens: string[];
17737
17895
  created_at: string;
17738
17896
  workspace_token: string;
17739
- user_token?: string;
17897
+ user_token?: string | null;
17740
17898
  user_tokens: string[];
17741
- duration_in_days: string | null;
17742
- threshold: string;
17899
+ duration_in_days: number | null;
17900
+ threshold: number;
17743
17901
  period_to_track: string | null;
17744
- integration_provider?: string;
17745
- recipient_channels: string;
17902
+ integration_provider?: string | null;
17903
+ recipient_channels: string[] | null;
17746
17904
  }, null] : {
17747
17905
  token: string;
17748
17906
  budget_tokens: string[];
17749
17907
  created_at: string;
17750
17908
  workspace_token: string;
17751
- user_token?: string;
17909
+ user_token?: string | null;
17752
17910
  user_tokens: string[];
17753
- duration_in_days: string | null;
17754
- threshold: string;
17911
+ duration_in_days: number | null;
17912
+ threshold: number;
17755
17913
  period_to_track: string | null;
17756
- integration_provider?: string;
17757
- recipient_channels: string;
17914
+ integration_provider?: string | null;
17915
+ recipient_channels: string[] | null;
17758
17916
  }>;
17759
17917
  }
17760
17918
  declare class BudgetsApi<NeverThrow extends boolean> {
@@ -17777,9 +17935,9 @@ declare class BudgetsApi<NeverThrow extends boolean> {
17777
17935
  token: string;
17778
17936
  name: string | null;
17779
17937
  workspace_token: string;
17780
- user_token?: string;
17781
- created_by_token?: string;
17782
- cost_report_token?: string;
17938
+ user_token?: string | null;
17939
+ created_by_token?: string | null;
17940
+ cost_report_token?: string | null;
17783
17941
  created_at: string;
17784
17942
  budget_alert_tokens: string[];
17785
17943
  child_budget_tokens: string[];
@@ -17789,9 +17947,9 @@ declare class BudgetsApi<NeverThrow extends boolean> {
17789
17947
  token: string;
17790
17948
  name: string | null;
17791
17949
  workspace_token: string;
17792
- user_token?: string;
17793
- created_by_token?: string;
17794
- cost_report_token?: string;
17950
+ user_token?: string | null;
17951
+ created_by_token?: string | null;
17952
+ cost_report_token?: string | null;
17795
17953
  created_at: string;
17796
17954
  budget_alert_tokens: string[];
17797
17955
  child_budget_tokens: string[];
@@ -17805,9 +17963,9 @@ declare class BudgetsApi<NeverThrow extends boolean> {
17805
17963
  token: string;
17806
17964
  name: string | null;
17807
17965
  workspace_token: string;
17808
- user_token?: string;
17809
- created_by_token?: string;
17810
- cost_report_token?: string;
17966
+ user_token?: string | null;
17967
+ created_by_token?: string | null;
17968
+ cost_report_token?: string | null;
17811
17969
  created_at: string;
17812
17970
  budget_alert_tokens: string[];
17813
17971
  child_budget_tokens: string[];
@@ -17817,9 +17975,9 @@ declare class BudgetsApi<NeverThrow extends boolean> {
17817
17975
  token: string;
17818
17976
  name: string | null;
17819
17977
  workspace_token: string;
17820
- user_token?: string;
17821
- created_by_token?: string;
17822
- cost_report_token?: string;
17978
+ user_token?: string | null;
17979
+ created_by_token?: string | null;
17980
+ cost_report_token?: string | null;
17823
17981
  created_at: string;
17824
17982
  budget_alert_tokens: string[];
17825
17983
  child_budget_tokens: string[];
@@ -17833,9 +17991,9 @@ declare class BudgetsApi<NeverThrow extends boolean> {
17833
17991
  token: string;
17834
17992
  name: string | null;
17835
17993
  workspace_token: string;
17836
- user_token?: string;
17837
- created_by_token?: string;
17838
- cost_report_token?: string;
17994
+ user_token?: string | null;
17995
+ created_by_token?: string | null;
17996
+ cost_report_token?: string | null;
17839
17997
  created_at: string;
17840
17998
  budget_alert_tokens: string[];
17841
17999
  child_budget_tokens: string[];
@@ -17845,9 +18003,9 @@ declare class BudgetsApi<NeverThrow extends boolean> {
17845
18003
  token: string;
17846
18004
  name: string | null;
17847
18005
  workspace_token: string;
17848
- user_token?: string;
17849
- created_by_token?: string;
17850
- cost_report_token?: string;
18006
+ user_token?: string | null;
18007
+ created_by_token?: string | null;
18008
+ cost_report_token?: string | null;
17851
18009
  created_at: string;
17852
18010
  budget_alert_tokens: string[];
17853
18011
  child_budget_tokens: string[];
@@ -17872,18 +18030,18 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
17872
18030
  create(body: CreateBusinessMetricRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
17873
18031
  token: string;
17874
18032
  title: string;
17875
- created_by_token?: string;
18033
+ created_by_token?: string | null;
17876
18034
  cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
17877
- import_type: "datadog_metrics" | "cloudwatch" | "csv";
18035
+ import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
17878
18036
  integration_token: string | null;
17879
18037
  cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
17880
18038
  datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
17881
18039
  }, null] : {
17882
18040
  token: string;
17883
18041
  title: string;
17884
- created_by_token?: string;
18042
+ created_by_token?: string | null;
17885
18043
  cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
17886
- import_type: "datadog_metrics" | "cloudwatch" | "csv";
18044
+ import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
17887
18045
  integration_token: string | null;
17888
18046
  cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
17889
18047
  datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
@@ -17894,18 +18052,18 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
17894
18052
  get(businessMetricToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
17895
18053
  token: string;
17896
18054
  title: string;
17897
- created_by_token?: string;
18055
+ created_by_token?: string | null;
17898
18056
  cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
17899
- import_type: "datadog_metrics" | "cloudwatch" | "csv";
18057
+ import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
17900
18058
  integration_token: string | null;
17901
18059
  cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
17902
18060
  datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
17903
18061
  }, null] : {
17904
18062
  token: string;
17905
18063
  title: string;
17906
- created_by_token?: string;
18064
+ created_by_token?: string | null;
17907
18065
  cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
17908
- import_type: "datadog_metrics" | "cloudwatch" | "csv";
18066
+ import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
17909
18067
  integration_token: string | null;
17910
18068
  cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
17911
18069
  datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
@@ -17916,18 +18074,18 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
17916
18074
  update(businessMetricToken: string, body: UpdateBusinessMetricRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
17917
18075
  token: string;
17918
18076
  title: string;
17919
- created_by_token?: string;
18077
+ created_by_token?: string | null;
17920
18078
  cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
17921
- import_type: "datadog_metrics" | "cloudwatch" | "csv";
18079
+ import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
17922
18080
  integration_token: string | null;
17923
18081
  cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
17924
18082
  datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
17925
18083
  }, null] : {
17926
18084
  token: string;
17927
18085
  title: string;
17928
- created_by_token?: string;
18086
+ created_by_token?: string | null;
17929
18087
  cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
17930
- import_type: "datadog_metrics" | "cloudwatch" | "csv";
18088
+ import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
17931
18089
  integration_token: string | null;
17932
18090
  cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
17933
18091
  datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
@@ -17938,18 +18096,18 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
17938
18096
  delete(businessMetricToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
17939
18097
  token: string;
17940
18098
  title: string;
17941
- created_by_token?: string;
18099
+ created_by_token?: string | null;
17942
18100
  cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
17943
- import_type: "datadog_metrics" | "cloudwatch" | "csv";
18101
+ import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
17944
18102
  integration_token: string | null;
17945
18103
  cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
17946
18104
  datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
17947
18105
  }, null] : {
17948
18106
  token: string;
17949
18107
  title: string;
17950
- created_by_token?: string;
18108
+ created_by_token?: string | null;
17951
18109
  cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
17952
- import_type: "datadog_metrics" | "cloudwatch" | "csv";
18110
+ import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
17953
18111
  integration_token: string | null;
17954
18112
  cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
17955
18113
  datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
@@ -17976,18 +18134,18 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
17976
18134
  updateValuesCSV(businessMetricToken: string, body: UpdateBusinessMetricValuesCSVRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
17977
18135
  token: string;
17978
18136
  title: string;
17979
- created_by_token?: string;
18137
+ created_by_token?: string | null;
17980
18138
  cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
17981
- import_type: "datadog_metrics" | "cloudwatch" | "csv";
18139
+ import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
17982
18140
  integration_token: string | null;
17983
18141
  cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
17984
18142
  datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
17985
18143
  }, null] : {
17986
18144
  token: string;
17987
18145
  title: string;
17988
- created_by_token?: string;
18146
+ created_by_token?: string | null;
17989
18147
  cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
17990
- import_type: "datadog_metrics" | "cloudwatch" | "csv";
18148
+ import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
17991
18149
  integration_token: string | null;
17992
18150
  cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
17993
18151
  datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
@@ -18180,27 +18338,27 @@ declare class CostReportsApi<NeverThrow extends boolean> {
18180
18338
  create(body: CreateCostReportRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
18181
18339
  token: string;
18182
18340
  title: string;
18183
- folder_token?: string;
18184
- saved_filter_tokens?: string[];
18341
+ folder_token?: string | null;
18342
+ saved_filter_tokens?: string[] | null;
18185
18343
  business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
18186
18344
  filter: string | null;
18187
- groupings?: string;
18345
+ groupings?: string | null;
18188
18346
  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;
18347
+ include_credits?: boolean | null;
18348
+ include_refunds?: boolean | null;
18349
+ include_discounts?: boolean | null;
18350
+ include_tax?: boolean | null;
18351
+ amortize?: boolean | null;
18352
+ unallocated?: boolean | null;
18353
+ aggregate_by?: string | null;
18354
+ show_previous_period?: boolean | null;
18197
18355
  };
18198
18356
  created_at: string;
18199
18357
  workspace_token: string;
18200
- previous_period_start_date?: string;
18201
- previous_period_end_date?: string;
18202
- start_date?: string;
18203
- end_date?: string;
18358
+ previous_period_start_date?: string | null;
18359
+ previous_period_end_date?: string | null;
18360
+ start_date?: string | null;
18361
+ end_date?: string | null;
18204
18362
  date_interval: string;
18205
18363
  chart_type: string;
18206
18364
  date_bin: string;
@@ -18208,27 +18366,27 @@ declare class CostReportsApi<NeverThrow extends boolean> {
18208
18366
  }, null] : {
18209
18367
  token: string;
18210
18368
  title: string;
18211
- folder_token?: string;
18212
- saved_filter_tokens?: string[];
18369
+ folder_token?: string | null;
18370
+ saved_filter_tokens?: string[] | null;
18213
18371
  business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
18214
18372
  filter: string | null;
18215
- groupings?: string;
18373
+ groupings?: string | null;
18216
18374
  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;
18375
+ include_credits?: boolean | null;
18376
+ include_refunds?: boolean | null;
18377
+ include_discounts?: boolean | null;
18378
+ include_tax?: boolean | null;
18379
+ amortize?: boolean | null;
18380
+ unallocated?: boolean | null;
18381
+ aggregate_by?: string | null;
18382
+ show_previous_period?: boolean | null;
18225
18383
  };
18226
18384
  created_at: string;
18227
18385
  workspace_token: string;
18228
- previous_period_start_date?: string;
18229
- previous_period_end_date?: string;
18230
- start_date?: string;
18231
- end_date?: string;
18386
+ previous_period_start_date?: string | null;
18387
+ previous_period_end_date?: string | null;
18388
+ start_date?: string | null;
18389
+ end_date?: string | null;
18232
18390
  date_interval: string;
18233
18391
  chart_type: string;
18234
18392
  date_bin: string;
@@ -18240,27 +18398,27 @@ declare class CostReportsApi<NeverThrow extends boolean> {
18240
18398
  get(costReportToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
18241
18399
  token: string;
18242
18400
  title: string;
18243
- folder_token?: string;
18244
- saved_filter_tokens?: string[];
18401
+ folder_token?: string | null;
18402
+ saved_filter_tokens?: string[] | null;
18245
18403
  business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
18246
18404
  filter: string | null;
18247
- groupings?: string;
18405
+ groupings?: string | null;
18248
18406
  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;
18407
+ include_credits?: boolean | null;
18408
+ include_refunds?: boolean | null;
18409
+ include_discounts?: boolean | null;
18410
+ include_tax?: boolean | null;
18411
+ amortize?: boolean | null;
18412
+ unallocated?: boolean | null;
18413
+ aggregate_by?: string | null;
18414
+ show_previous_period?: boolean | null;
18257
18415
  };
18258
18416
  created_at: string;
18259
18417
  workspace_token: string;
18260
- previous_period_start_date?: string;
18261
- previous_period_end_date?: string;
18262
- start_date?: string;
18263
- end_date?: string;
18418
+ previous_period_start_date?: string | null;
18419
+ previous_period_end_date?: string | null;
18420
+ start_date?: string | null;
18421
+ end_date?: string | null;
18264
18422
  date_interval: string;
18265
18423
  chart_type: string;
18266
18424
  date_bin: string;
@@ -18268,27 +18426,27 @@ declare class CostReportsApi<NeverThrow extends boolean> {
18268
18426
  }, null] : {
18269
18427
  token: string;
18270
18428
  title: string;
18271
- folder_token?: string;
18272
- saved_filter_tokens?: string[];
18429
+ folder_token?: string | null;
18430
+ saved_filter_tokens?: string[] | null;
18273
18431
  business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
18274
18432
  filter: string | null;
18275
- groupings?: string;
18433
+ groupings?: string | null;
18276
18434
  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;
18435
+ include_credits?: boolean | null;
18436
+ include_refunds?: boolean | null;
18437
+ include_discounts?: boolean | null;
18438
+ include_tax?: boolean | null;
18439
+ amortize?: boolean | null;
18440
+ unallocated?: boolean | null;
18441
+ aggregate_by?: string | null;
18442
+ show_previous_period?: boolean | null;
18285
18443
  };
18286
18444
  created_at: string;
18287
18445
  workspace_token: string;
18288
- previous_period_start_date?: string;
18289
- previous_period_end_date?: string;
18290
- start_date?: string;
18291
- end_date?: string;
18446
+ previous_period_start_date?: string | null;
18447
+ previous_period_end_date?: string | null;
18448
+ start_date?: string | null;
18449
+ end_date?: string | null;
18292
18450
  date_interval: string;
18293
18451
  chart_type: string;
18294
18452
  date_bin: string;
@@ -18300,27 +18458,27 @@ declare class CostReportsApi<NeverThrow extends boolean> {
18300
18458
  update(costReportToken: string, body: UpdateCostReportRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
18301
18459
  token: string;
18302
18460
  title: string;
18303
- folder_token?: string;
18304
- saved_filter_tokens?: string[];
18461
+ folder_token?: string | null;
18462
+ saved_filter_tokens?: string[] | null;
18305
18463
  business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
18306
18464
  filter: string | null;
18307
- groupings?: string;
18465
+ groupings?: string | null;
18308
18466
  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;
18467
+ include_credits?: boolean | null;
18468
+ include_refunds?: boolean | null;
18469
+ include_discounts?: boolean | null;
18470
+ include_tax?: boolean | null;
18471
+ amortize?: boolean | null;
18472
+ unallocated?: boolean | null;
18473
+ aggregate_by?: string | null;
18474
+ show_previous_period?: boolean | null;
18317
18475
  };
18318
18476
  created_at: string;
18319
18477
  workspace_token: string;
18320
- previous_period_start_date?: string;
18321
- previous_period_end_date?: string;
18322
- start_date?: string;
18323
- end_date?: string;
18478
+ previous_period_start_date?: string | null;
18479
+ previous_period_end_date?: string | null;
18480
+ start_date?: string | null;
18481
+ end_date?: string | null;
18324
18482
  date_interval: string;
18325
18483
  chart_type: string;
18326
18484
  date_bin: string;
@@ -18328,27 +18486,27 @@ declare class CostReportsApi<NeverThrow extends boolean> {
18328
18486
  }, null] : {
18329
18487
  token: string;
18330
18488
  title: string;
18331
- folder_token?: string;
18332
- saved_filter_tokens?: string[];
18489
+ folder_token?: string | null;
18490
+ saved_filter_tokens?: string[] | null;
18333
18491
  business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
18334
18492
  filter: string | null;
18335
- groupings?: string;
18493
+ groupings?: string | null;
18336
18494
  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;
18495
+ include_credits?: boolean | null;
18496
+ include_refunds?: boolean | null;
18497
+ include_discounts?: boolean | null;
18498
+ include_tax?: boolean | null;
18499
+ amortize?: boolean | null;
18500
+ unallocated?: boolean | null;
18501
+ aggregate_by?: string | null;
18502
+ show_previous_period?: boolean | null;
18345
18503
  };
18346
18504
  created_at: string;
18347
18505
  workspace_token: string;
18348
- previous_period_start_date?: string;
18349
- previous_period_end_date?: string;
18350
- start_date?: string;
18351
- end_date?: string;
18506
+ previous_period_start_date?: string | null;
18507
+ previous_period_end_date?: string | null;
18508
+ start_date?: string | null;
18509
+ end_date?: string | null;
18352
18510
  date_interval: string;
18353
18511
  chart_type: string;
18354
18512
  date_bin: string;
@@ -18360,27 +18518,27 @@ declare class CostReportsApi<NeverThrow extends boolean> {
18360
18518
  delete(costReportToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
18361
18519
  token: string;
18362
18520
  title: string;
18363
- folder_token?: string;
18364
- saved_filter_tokens?: string[];
18521
+ folder_token?: string | null;
18522
+ saved_filter_tokens?: string[] | null;
18365
18523
  business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
18366
18524
  filter: string | null;
18367
- groupings?: string;
18525
+ groupings?: string | null;
18368
18526
  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;
18527
+ include_credits?: boolean | null;
18528
+ include_refunds?: boolean | null;
18529
+ include_discounts?: boolean | null;
18530
+ include_tax?: boolean | null;
18531
+ amortize?: boolean | null;
18532
+ unallocated?: boolean | null;
18533
+ aggregate_by?: string | null;
18534
+ show_previous_period?: boolean | null;
18377
18535
  };
18378
18536
  created_at: string;
18379
18537
  workspace_token: string;
18380
- previous_period_start_date?: string;
18381
- previous_period_end_date?: string;
18382
- start_date?: string;
18383
- end_date?: string;
18538
+ previous_period_start_date?: string | null;
18539
+ previous_period_end_date?: string | null;
18540
+ start_date?: string | null;
18541
+ end_date?: string | null;
18384
18542
  date_interval: string;
18385
18543
  chart_type: string;
18386
18544
  date_bin: string;
@@ -18388,27 +18546,27 @@ declare class CostReportsApi<NeverThrow extends boolean> {
18388
18546
  }, null] : {
18389
18547
  token: string;
18390
18548
  title: string;
18391
- folder_token?: string;
18392
- saved_filter_tokens?: string[];
18549
+ folder_token?: string | null;
18550
+ saved_filter_tokens?: string[] | null;
18393
18551
  business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
18394
18552
  filter: string | null;
18395
- groupings?: string;
18553
+ groupings?: string | null;
18396
18554
  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;
18555
+ include_credits?: boolean | null;
18556
+ include_refunds?: boolean | null;
18557
+ include_discounts?: boolean | null;
18558
+ include_tax?: boolean | null;
18559
+ amortize?: boolean | null;
18560
+ unallocated?: boolean | null;
18561
+ aggregate_by?: string | null;
18562
+ show_previous_period?: boolean | null;
18405
18563
  };
18406
18564
  created_at: string;
18407
18565
  workspace_token: string;
18408
- previous_period_start_date?: string;
18409
- previous_period_end_date?: string;
18410
- start_date?: string;
18411
- end_date?: string;
18566
+ previous_period_start_date?: string | null;
18567
+ previous_period_end_date?: string | null;
18568
+ start_date?: string | null;
18569
+ end_date?: string | null;
18412
18570
  date_interval: string;
18413
18571
  chart_type: string;
18414
18572
  date_bin: string;
@@ -18435,8 +18593,8 @@ declare class CostsApi<NeverThrow extends boolean> {
18435
18593
  */
18436
18594
  list(body?: GetCostsRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [Omit<{
18437
18595
  links?: components["schemas"]["Links"];
18438
- total_cost: Record<string, any>;
18439
- total_usage?: Record<string, any>;
18596
+ total_cost: components["schemas"]["CostPartial"];
18597
+ total_usage?: components["schemas"]["UsagePartial"][];
18440
18598
  costs: components["schemas"]["Cost"][];
18441
18599
  }, "total_usage"> & {
18442
18600
  total_usage?: {
@@ -18444,8 +18602,8 @@ declare class CostsApi<NeverThrow extends boolean> {
18444
18602
  };
18445
18603
  }, null] : Omit<{
18446
18604
  links?: components["schemas"]["Links"];
18447
- total_cost: Record<string, any>;
18448
- total_usage?: Record<string, any>;
18605
+ total_cost: components["schemas"]["CostPartial"];
18606
+ total_usage?: components["schemas"]["UsagePartial"][];
18449
18607
  costs: components["schemas"]["Cost"][];
18450
18608
  }, "total_usage"> & {
18451
18609
  total_usage?: {
@@ -18480,8 +18638,8 @@ declare class DashboardsApi<NeverThrow extends boolean> {
18480
18638
  saved_filter_tokens: string[];
18481
18639
  date_bin: "cumulative" | "day" | "week" | "month" | null;
18482
18640
  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;
18641
+ start_date?: string | null;
18642
+ end_date?: string | null;
18485
18643
  created_at: string;
18486
18644
  updated_at: string;
18487
18645
  workspace_token: string;
@@ -18492,8 +18650,8 @@ declare class DashboardsApi<NeverThrow extends boolean> {
18492
18650
  saved_filter_tokens: string[];
18493
18651
  date_bin: "cumulative" | "day" | "week" | "month" | null;
18494
18652
  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;
18653
+ start_date?: string | null;
18654
+ end_date?: string | null;
18497
18655
  created_at: string;
18498
18656
  updated_at: string;
18499
18657
  workspace_token: string;
@@ -18508,8 +18666,8 @@ declare class DashboardsApi<NeverThrow extends boolean> {
18508
18666
  saved_filter_tokens: string[];
18509
18667
  date_bin: "cumulative" | "day" | "week" | "month" | null;
18510
18668
  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;
18669
+ start_date?: string | null;
18670
+ end_date?: string | null;
18513
18671
  created_at: string;
18514
18672
  updated_at: string;
18515
18673
  workspace_token: string;
@@ -18520,8 +18678,8 @@ declare class DashboardsApi<NeverThrow extends boolean> {
18520
18678
  saved_filter_tokens: string[];
18521
18679
  date_bin: "cumulative" | "day" | "week" | "month" | null;
18522
18680
  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;
18681
+ start_date?: string | null;
18682
+ end_date?: string | null;
18525
18683
  created_at: string;
18526
18684
  updated_at: string;
18527
18685
  workspace_token: string;
@@ -18536,8 +18694,8 @@ declare class DashboardsApi<NeverThrow extends boolean> {
18536
18694
  saved_filter_tokens: string[];
18537
18695
  date_bin: "cumulative" | "day" | "week" | "month" | null;
18538
18696
  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;
18697
+ start_date?: string | null;
18698
+ end_date?: string | null;
18541
18699
  created_at: string;
18542
18700
  updated_at: string;
18543
18701
  workspace_token: string;
@@ -18548,8 +18706,8 @@ declare class DashboardsApi<NeverThrow extends boolean> {
18548
18706
  saved_filter_tokens: string[];
18549
18707
  date_bin: "cumulative" | "day" | "week" | "month" | null;
18550
18708
  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;
18709
+ start_date?: string | null;
18710
+ end_date?: string | null;
18553
18711
  created_at: string;
18554
18712
  updated_at: string;
18555
18713
  workspace_token: string;
@@ -18564,8 +18722,8 @@ declare class DashboardsApi<NeverThrow extends boolean> {
18564
18722
  saved_filter_tokens: string[];
18565
18723
  date_bin: "cumulative" | "day" | "week" | "month" | null;
18566
18724
  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;
18725
+ start_date?: string | null;
18726
+ end_date?: string | null;
18569
18727
  created_at: string;
18570
18728
  updated_at: string;
18571
18729
  workspace_token: string;
@@ -18576,8 +18734,8 @@ declare class DashboardsApi<NeverThrow extends boolean> {
18576
18734
  saved_filter_tokens: string[];
18577
18735
  date_bin: "cumulative" | "day" | "week" | "month" | null;
18578
18736
  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;
18737
+ start_date?: string | null;
18738
+ end_date?: string | null;
18581
18739
  created_at: string;
18582
18740
  updated_at: string;
18583
18741
  workspace_token: string;
@@ -18595,14 +18753,14 @@ declare class DataExportsApi<NeverThrow extends boolean> {
18595
18753
  created_at: string;
18596
18754
  export_type: string;
18597
18755
  manifest: components["schemas"]["DataExportManifest"];
18598
- attributes: string;
18756
+ attributes: Record<string, any>;
18599
18757
  }, null] : {
18600
18758
  token: string;
18601
18759
  status: string;
18602
18760
  created_at: string;
18603
18761
  export_type: string;
18604
18762
  manifest: components["schemas"]["DataExportManifest"];
18605
- attributes: string;
18763
+ attributes: Record<string, any>;
18606
18764
  }>;
18607
18765
  }
18608
18766
  declare class ExchangeRatesApi<NeverThrow extends boolean> {
@@ -18645,7 +18803,7 @@ declare class FinancialCommitmentReportsApi<NeverThrow extends boolean> {
18645
18803
  default: boolean;
18646
18804
  created_at: string;
18647
18805
  workspace_token: string;
18648
- user_token?: string;
18806
+ user_token?: string | null;
18649
18807
  start_date: string | null;
18650
18808
  end_date: string | null;
18651
18809
  date_interval: string | null;
@@ -18659,7 +18817,7 @@ declare class FinancialCommitmentReportsApi<NeverThrow extends boolean> {
18659
18817
  default: boolean;
18660
18818
  created_at: string;
18661
18819
  workspace_token: string;
18662
- user_token?: string;
18820
+ user_token?: string | null;
18663
18821
  start_date: string | null;
18664
18822
  end_date: string | null;
18665
18823
  date_interval: string | null;
@@ -18677,7 +18835,7 @@ declare class FinancialCommitmentReportsApi<NeverThrow extends boolean> {
18677
18835
  default: boolean;
18678
18836
  created_at: string;
18679
18837
  workspace_token: string;
18680
- user_token?: string;
18838
+ user_token?: string | null;
18681
18839
  start_date: string | null;
18682
18840
  end_date: string | null;
18683
18841
  date_interval: string | null;
@@ -18691,7 +18849,7 @@ declare class FinancialCommitmentReportsApi<NeverThrow extends boolean> {
18691
18849
  default: boolean;
18692
18850
  created_at: string;
18693
18851
  workspace_token: string;
18694
- user_token?: string;
18852
+ user_token?: string | null;
18695
18853
  start_date: string | null;
18696
18854
  end_date: string | null;
18697
18855
  date_interval: string | null;
@@ -18709,7 +18867,7 @@ declare class FinancialCommitmentReportsApi<NeverThrow extends boolean> {
18709
18867
  default: boolean;
18710
18868
  created_at: string;
18711
18869
  workspace_token: string;
18712
- user_token?: string;
18870
+ user_token?: string | null;
18713
18871
  start_date: string | null;
18714
18872
  end_date: string | null;
18715
18873
  date_interval: string | null;
@@ -18723,7 +18881,7 @@ declare class FinancialCommitmentReportsApi<NeverThrow extends boolean> {
18723
18881
  default: boolean;
18724
18882
  created_at: string;
18725
18883
  workspace_token: string;
18726
- user_token?: string;
18884
+ user_token?: string | null;
18727
18885
  start_date: string | null;
18728
18886
  end_date: string | null;
18729
18887
  date_interval: string | null;
@@ -18741,7 +18899,7 @@ declare class FinancialCommitmentReportsApi<NeverThrow extends boolean> {
18741
18899
  default: boolean;
18742
18900
  created_at: string;
18743
18901
  workspace_token: string;
18744
- user_token?: string;
18902
+ user_token?: string | null;
18745
18903
  start_date: string | null;
18746
18904
  end_date: string | null;
18747
18905
  date_interval: string | null;
@@ -18755,7 +18913,7 @@ declare class FinancialCommitmentReportsApi<NeverThrow extends boolean> {
18755
18913
  default: boolean;
18756
18914
  created_at: string;
18757
18915
  workspace_token: string;
18758
- user_token?: string;
18916
+ user_token?: string | null;
18759
18917
  start_date: string | null;
18760
18918
  end_date: string | null;
18761
18919
  date_interval: string | null;
@@ -18798,7 +18956,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
18798
18956
  create(body: CreateFolderRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
18799
18957
  token: string;
18800
18958
  title: string | null;
18801
- parent_folder_token?: string;
18959
+ parent_folder_token?: string | null;
18802
18960
  saved_filter_tokens: string[];
18803
18961
  created_at: string;
18804
18962
  updated_at: string;
@@ -18806,7 +18964,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
18806
18964
  }, null] : {
18807
18965
  token: string;
18808
18966
  title: string | null;
18809
- parent_folder_token?: string;
18967
+ parent_folder_token?: string | null;
18810
18968
  saved_filter_tokens: string[];
18811
18969
  created_at: string;
18812
18970
  updated_at: string;
@@ -18818,7 +18976,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
18818
18976
  get(folderToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
18819
18977
  token: string;
18820
18978
  title: string | null;
18821
- parent_folder_token?: string;
18979
+ parent_folder_token?: string | null;
18822
18980
  saved_filter_tokens: string[];
18823
18981
  created_at: string;
18824
18982
  updated_at: string;
@@ -18826,7 +18984,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
18826
18984
  }, null] : {
18827
18985
  token: string;
18828
18986
  title: string | null;
18829
- parent_folder_token?: string;
18987
+ parent_folder_token?: string | null;
18830
18988
  saved_filter_tokens: string[];
18831
18989
  created_at: string;
18832
18990
  updated_at: string;
@@ -18838,7 +18996,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
18838
18996
  update(folderToken: string, body: UpdateFolderRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
18839
18997
  token: string;
18840
18998
  title: string | null;
18841
- parent_folder_token?: string;
18999
+ parent_folder_token?: string | null;
18842
19000
  saved_filter_tokens: string[];
18843
19001
  created_at: string;
18844
19002
  updated_at: string;
@@ -18846,7 +19004,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
18846
19004
  }, null] : {
18847
19005
  token: string;
18848
19006
  title: string | null;
18849
- parent_folder_token?: string;
19007
+ parent_folder_token?: string | null;
18850
19008
  saved_filter_tokens: string[];
18851
19009
  created_at: string;
18852
19010
  updated_at: string;
@@ -18858,7 +19016,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
18858
19016
  delete(folderToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
18859
19017
  token: string;
18860
19018
  title: string | null;
18861
- parent_folder_token?: string;
19019
+ parent_folder_token?: string | null;
18862
19020
  saved_filter_tokens: string[];
18863
19021
  created_at: string;
18864
19022
  updated_at: string;
@@ -18866,7 +19024,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
18866
19024
  }, null] : {
18867
19025
  token: string;
18868
19026
  title: string | null;
18869
- parent_folder_token?: string;
19027
+ parent_folder_token?: string | null;
18870
19028
  saved_filter_tokens: string[];
18871
19029
  created_at: string;
18872
19030
  updated_at: string;
@@ -18894,7 +19052,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
18894
19052
  provider: string;
18895
19053
  account_identifier: string | null;
18896
19054
  status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
18897
- last_updated?: string;
19055
+ last_updated?: string | null;
18898
19056
  workspace_tokens: string[];
18899
19057
  created_at: string;
18900
19058
  }, null] : {
@@ -18902,7 +19060,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
18902
19060
  provider: string;
18903
19061
  account_identifier: string | null;
18904
19062
  status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
18905
- last_updated?: string;
19063
+ last_updated?: string | null;
18906
19064
  workspace_tokens: string[];
18907
19065
  created_at: string;
18908
19066
  }>;
@@ -18914,7 +19072,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
18914
19072
  provider: string;
18915
19073
  account_identifier: string | null;
18916
19074
  status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
18917
- last_updated?: string;
19075
+ last_updated?: string | null;
18918
19076
  workspace_tokens: string[];
18919
19077
  created_at: string;
18920
19078
  }, null] : {
@@ -18922,7 +19080,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
18922
19080
  provider: string;
18923
19081
  account_identifier: string | null;
18924
19082
  status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
18925
- last_updated?: string;
19083
+ last_updated?: string | null;
18926
19084
  workspace_tokens: string[];
18927
19085
  created_at: string;
18928
19086
  }>;
@@ -18934,7 +19092,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
18934
19092
  provider: string;
18935
19093
  account_identifier: string | null;
18936
19094
  status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
18937
- last_updated?: string;
19095
+ last_updated?: string | null;
18938
19096
  workspace_tokens: string[];
18939
19097
  created_at: string;
18940
19098
  }, null] : {
@@ -18942,7 +19100,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
18942
19100
  provider: string;
18943
19101
  account_identifier: string | null;
18944
19102
  status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
18945
- last_updated?: string;
19103
+ last_updated?: string | null;
18946
19104
  workspace_tokens: string[];
18947
19105
  created_at: string;
18948
19106
  }>;
@@ -18954,7 +19112,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
18954
19112
  provider: string;
18955
19113
  account_identifier: string | null;
18956
19114
  status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
18957
- last_updated?: string;
19115
+ last_updated?: string | null;
18958
19116
  workspace_tokens: string[];
18959
19117
  created_at: string;
18960
19118
  }, null] : {
@@ -18962,7 +19120,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
18962
19120
  provider: string;
18963
19121
  account_identifier: string | null;
18964
19122
  status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
18965
- last_updated?: string;
19123
+ last_updated?: string | null;
18966
19124
  workspace_tokens: string[];
18967
19125
  created_at: string;
18968
19126
  }>;
@@ -18996,35 +19154,35 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
18996
19154
  accrued_at: string;
18997
19155
  amount: string;
18998
19156
  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;
19157
+ usage?: Record<string, any> | null;
19158
+ 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;
19159
+ billing_account_id?: string | null;
19160
+ account_id?: string | null;
19161
+ service?: string | null;
19162
+ region?: string | null;
19163
+ resource_id?: string | null;
19164
+ tag?: string | null;
19165
+ tags?: string[] | null;
19166
+ cost_category?: string | null;
19167
+ cost_subcategory?: string | null;
19168
+ segment?: string | null;
19011
19169
  }, null] : {
19012
19170
  links?: components["schemas"]["Links"];
19013
19171
  accrued_at: string;
19014
19172
  amount: string;
19015
19173
  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;
19174
+ usage?: Record<string, any> | null;
19175
+ 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;
19176
+ billing_account_id?: string | null;
19177
+ account_id?: string | null;
19178
+ service?: string | null;
19179
+ region?: string | null;
19180
+ resource_id?: string | null;
19181
+ tag?: string | null;
19182
+ tags?: string[] | null;
19183
+ cost_category?: string | null;
19184
+ cost_subcategory?: string | null;
19185
+ segment?: string | null;
19028
19186
  }>;
19029
19187
  /**
19030
19188
  * List UserCostUploads.
@@ -19044,7 +19202,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
19044
19202
  provider: string;
19045
19203
  account_identifier: string | null;
19046
19204
  status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
19047
- last_updated?: string;
19205
+ last_updated?: string | null;
19048
19206
  workspace_tokens: string[];
19049
19207
  created_at: string;
19050
19208
  }, null] : {
@@ -19052,7 +19210,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
19052
19210
  provider: string;
19053
19211
  account_identifier: string | null;
19054
19212
  status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
19055
- last_updated?: string;
19213
+ last_updated?: string | null;
19056
19214
  workspace_tokens: string[];
19057
19215
  created_at: string;
19058
19216
  }>;
@@ -19064,7 +19222,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
19064
19222
  provider: string;
19065
19223
  account_identifier: string | null;
19066
19224
  status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
19067
- last_updated?: string;
19225
+ last_updated?: string | null;
19068
19226
  workspace_tokens: string[];
19069
19227
  created_at: string;
19070
19228
  }, null] : {
@@ -19072,7 +19230,7 @@ declare class IntegrationsApi<NeverThrow extends boolean> {
19072
19230
  provider: string;
19073
19231
  account_identifier: string | null;
19074
19232
  status: "connected" | "error" | "pending" | "importing" | "imported" | "disconnected";
19075
- last_updated?: string;
19233
+ last_updated?: string | null;
19076
19234
  workspace_tokens: string[];
19077
19235
  created_at: string;
19078
19236
  }>;
@@ -19154,117 +19312,25 @@ declare class InvoicesApi<NeverThrow extends boolean> {
19154
19312
  * Send invoice via email.
19155
19313
  */
19156
19314
  sendInvoice(invoiceToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
19157
- token: string;
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;
19315
+ recipients: string[];
19168
19316
  }, null] : {
19169
- token: string;
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;
19317
+ recipients: string[];
19180
19318
  }>;
19181
19319
  /**
19182
19320
  * Send and approve invoice via email (MSP accounts only).
19183
19321
  */
19184
19322
  sendAndApproveInvoice(invoiceToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
19185
- token: string;
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;
19323
+ recipients: string[];
19196
19324
  }, null] : {
19197
- token: string;
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;
19325
+ recipients: string[];
19208
19326
  }>;
19209
19327
  /**
19210
19328
  * Get cost report URL for invoice period.
19211
19329
  */
19212
19330
  getCostReport(invoiceToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
19213
- token: string;
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"];
19331
+ cost_report_url: string;
19240
19332
  }, null] : {
19241
- token: string;
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"];
19333
+ cost_report_url: string;
19268
19334
  }>;
19269
19335
  /**
19270
19336
  * Regenerate an existing invoice (MSP accounts only).
@@ -19317,7 +19383,7 @@ declare class KubernetesEfficiencyReportsApi<NeverThrow extends boolean> {
19317
19383
  default: boolean;
19318
19384
  created_at: string;
19319
19385
  workspace_token: string;
19320
- user_token?: string;
19386
+ user_token?: string | null;
19321
19387
  start_date: string | null;
19322
19388
  end_date: string | null;
19323
19389
  date_interval: string | null;
@@ -19331,7 +19397,7 @@ declare class KubernetesEfficiencyReportsApi<NeverThrow extends boolean> {
19331
19397
  default: boolean;
19332
19398
  created_at: string;
19333
19399
  workspace_token: string;
19334
- user_token?: string;
19400
+ user_token?: string | null;
19335
19401
  start_date: string | null;
19336
19402
  end_date: string | null;
19337
19403
  date_interval: string | null;
@@ -19349,7 +19415,7 @@ declare class KubernetesEfficiencyReportsApi<NeverThrow extends boolean> {
19349
19415
  default: boolean;
19350
19416
  created_at: string;
19351
19417
  workspace_token: string;
19352
- user_token?: string;
19418
+ user_token?: string | null;
19353
19419
  start_date: string | null;
19354
19420
  end_date: string | null;
19355
19421
  date_interval: string | null;
@@ -19363,7 +19429,7 @@ declare class KubernetesEfficiencyReportsApi<NeverThrow extends boolean> {
19363
19429
  default: boolean;
19364
19430
  created_at: string;
19365
19431
  workspace_token: string;
19366
- user_token?: string;
19432
+ user_token?: string | null;
19367
19433
  start_date: string | null;
19368
19434
  end_date: string | null;
19369
19435
  date_interval: string | null;
@@ -19381,7 +19447,7 @@ declare class KubernetesEfficiencyReportsApi<NeverThrow extends boolean> {
19381
19447
  default: boolean;
19382
19448
  created_at: string;
19383
19449
  workspace_token: string;
19384
- user_token?: string;
19450
+ user_token?: string | null;
19385
19451
  start_date: string | null;
19386
19452
  end_date: string | null;
19387
19453
  date_interval: string | null;
@@ -19395,7 +19461,7 @@ declare class KubernetesEfficiencyReportsApi<NeverThrow extends boolean> {
19395
19461
  default: boolean;
19396
19462
  created_at: string;
19397
19463
  workspace_token: string;
19398
- user_token?: string;
19464
+ user_token?: string | null;
19399
19465
  start_date: string | null;
19400
19466
  end_date: string | null;
19401
19467
  date_interval: string | null;
@@ -19413,7 +19479,7 @@ declare class KubernetesEfficiencyReportsApi<NeverThrow extends boolean> {
19413
19479
  default: boolean;
19414
19480
  created_at: string;
19415
19481
  workspace_token: string;
19416
- user_token?: string;
19482
+ user_token?: string | null;
19417
19483
  start_date: string | null;
19418
19484
  end_date: string | null;
19419
19485
  date_interval: string | null;
@@ -19427,7 +19493,7 @@ declare class KubernetesEfficiencyReportsApi<NeverThrow extends boolean> {
19427
19493
  default: boolean;
19428
19494
  created_at: string;
19429
19495
  workspace_token: string;
19430
- user_token?: string;
19496
+ user_token?: string | null;
19431
19497
  start_date: string | null;
19432
19498
  end_date: string | null;
19433
19499
  date_interval: string | null;
@@ -19445,14 +19511,14 @@ declare class KubernetesEfficiencyReportsApi<NeverThrow extends boolean> {
19445
19511
  created_at: string;
19446
19512
  export_type: string;
19447
19513
  manifest: components["schemas"]["DataExportManifest"];
19448
- attributes: string;
19514
+ attributes: Record<string, any>;
19449
19515
  }, null] : {
19450
19516
  token: string;
19451
19517
  status: string;
19452
19518
  created_at: string;
19453
19519
  export_type: string;
19454
19520
  manifest: components["schemas"]["DataExportManifest"];
19455
- attributes: string;
19521
+ attributes: Record<string, any>;
19456
19522
  }>;
19457
19523
  }
19458
19524
  declare class ManagedAccountsApi<NeverThrow extends boolean> {
@@ -19478,8 +19544,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
19478
19544
  parent_account_token: string;
19479
19545
  access_credential_tokens: string[];
19480
19546
  billing_rule_tokens: string[];
19481
- email_domain?: string;
19482
- msp_billing_profile_token?: string;
19547
+ email_domain?: string | null;
19548
+ msp_billing_profile_token?: string | null;
19483
19549
  billing_information_attributes?: components["schemas"]["BillingInformation"];
19484
19550
  business_information_attributes?: components["schemas"]["BusinessInformation"];
19485
19551
  }, null] : {
@@ -19489,8 +19555,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
19489
19555
  parent_account_token: string;
19490
19556
  access_credential_tokens: string[];
19491
19557
  billing_rule_tokens: string[];
19492
- email_domain?: string;
19493
- msp_billing_profile_token?: string;
19558
+ email_domain?: string | null;
19559
+ msp_billing_profile_token?: string | null;
19494
19560
  billing_information_attributes?: components["schemas"]["BillingInformation"];
19495
19561
  business_information_attributes?: components["schemas"]["BusinessInformation"];
19496
19562
  }>;
@@ -19504,8 +19570,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
19504
19570
  parent_account_token: string;
19505
19571
  access_credential_tokens: string[];
19506
19572
  billing_rule_tokens: string[];
19507
- email_domain?: string;
19508
- msp_billing_profile_token?: string;
19573
+ email_domain?: string | null;
19574
+ msp_billing_profile_token?: string | null;
19509
19575
  billing_information_attributes?: components["schemas"]["BillingInformation"];
19510
19576
  business_information_attributes?: components["schemas"]["BusinessInformation"];
19511
19577
  }, null] : {
@@ -19515,8 +19581,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
19515
19581
  parent_account_token: string;
19516
19582
  access_credential_tokens: string[];
19517
19583
  billing_rule_tokens: string[];
19518
- email_domain?: string;
19519
- msp_billing_profile_token?: string;
19584
+ email_domain?: string | null;
19585
+ msp_billing_profile_token?: string | null;
19520
19586
  billing_information_attributes?: components["schemas"]["BillingInformation"];
19521
19587
  business_information_attributes?: components["schemas"]["BusinessInformation"];
19522
19588
  }>;
@@ -19530,8 +19596,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
19530
19596
  parent_account_token: string;
19531
19597
  access_credential_tokens: string[];
19532
19598
  billing_rule_tokens: string[];
19533
- email_domain?: string;
19534
- msp_billing_profile_token?: string;
19599
+ email_domain?: string | null;
19600
+ msp_billing_profile_token?: string | null;
19535
19601
  billing_information_attributes?: components["schemas"]["BillingInformation"];
19536
19602
  business_information_attributes?: components["schemas"]["BusinessInformation"];
19537
19603
  }, null] : {
@@ -19541,8 +19607,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
19541
19607
  parent_account_token: string;
19542
19608
  access_credential_tokens: string[];
19543
19609
  billing_rule_tokens: string[];
19544
- email_domain?: string;
19545
- msp_billing_profile_token?: string;
19610
+ email_domain?: string | null;
19611
+ msp_billing_profile_token?: string | null;
19546
19612
  billing_information_attributes?: components["schemas"]["BillingInformation"];
19547
19613
  business_information_attributes?: components["schemas"]["BusinessInformation"];
19548
19614
  }>;
@@ -19556,8 +19622,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
19556
19622
  parent_account_token: string;
19557
19623
  access_credential_tokens: string[];
19558
19624
  billing_rule_tokens: string[];
19559
- email_domain?: string;
19560
- msp_billing_profile_token?: string;
19625
+ email_domain?: string | null;
19626
+ msp_billing_profile_token?: string | null;
19561
19627
  billing_information_attributes?: components["schemas"]["BillingInformation"];
19562
19628
  business_information_attributes?: components["schemas"]["BusinessInformation"];
19563
19629
  }, null] : {
@@ -19567,8 +19633,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
19567
19633
  parent_account_token: string;
19568
19634
  access_credential_tokens: string[];
19569
19635
  billing_rule_tokens: string[];
19570
- email_domain?: string;
19571
- msp_billing_profile_token?: string;
19636
+ email_domain?: string | null;
19637
+ msp_billing_profile_token?: string | null;
19572
19638
  billing_information_attributes?: components["schemas"]["BillingInformation"];
19573
19639
  business_information_attributes?: components["schemas"]["BusinessInformation"];
19574
19640
  }>;
@@ -19580,11 +19646,11 @@ declare class MeApi<NeverThrow extends boolean> {
19580
19646
  * Get information about the authenticated BearerToken.
19581
19647
  */
19582
19648
  get(): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
19583
- default_workspace_token: string;
19649
+ default_workspace_token: string | null;
19584
19650
  workspaces: components["schemas"]["Workspace"][];
19585
19651
  bearer_token: components["schemas"]["BearerToken"];
19586
19652
  }, null] : {
19587
- default_workspace_token: string;
19653
+ default_workspace_token: string | null;
19588
19654
  workspaces: components["schemas"]["Workspace"][];
19589
19655
  bearer_token: components["schemas"]["BearerToken"];
19590
19656
  }>;
@@ -19626,12 +19692,12 @@ declare class UserFeedbackApi<NeverThrow extends boolean> {
19626
19692
  create(body: CreateUserFeedbackRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
19627
19693
  token: string;
19628
19694
  message: string;
19629
- created_by_token?: string;
19695
+ created_by_token?: string | null;
19630
19696
  created_at: string;
19631
19697
  }, null] : {
19632
19698
  token: string;
19633
19699
  message: string;
19634
- created_by_token?: string;
19700
+ created_by_token?: string | null;
19635
19701
  created_at: string;
19636
19702
  }>;
19637
19703
  }
@@ -19657,7 +19723,7 @@ declare class NetworkFlowReportsApi<NeverThrow extends boolean> {
19657
19723
  default: boolean;
19658
19724
  created_at: string;
19659
19725
  workspace_token: string;
19660
- created_by_token?: string;
19726
+ created_by_token?: string | null;
19661
19727
  start_date: string | null;
19662
19728
  end_date: string | null;
19663
19729
  date_interval: string | null;
@@ -19671,7 +19737,7 @@ declare class NetworkFlowReportsApi<NeverThrow extends boolean> {
19671
19737
  default: boolean;
19672
19738
  created_at: string;
19673
19739
  workspace_token: string;
19674
- created_by_token?: string;
19740
+ created_by_token?: string | null;
19675
19741
  start_date: string | null;
19676
19742
  end_date: string | null;
19677
19743
  date_interval: string | null;
@@ -19689,7 +19755,7 @@ declare class NetworkFlowReportsApi<NeverThrow extends boolean> {
19689
19755
  default: boolean;
19690
19756
  created_at: string;
19691
19757
  workspace_token: string;
19692
- created_by_token?: string;
19758
+ created_by_token?: string | null;
19693
19759
  start_date: string | null;
19694
19760
  end_date: string | null;
19695
19761
  date_interval: string | null;
@@ -19703,7 +19769,7 @@ declare class NetworkFlowReportsApi<NeverThrow extends boolean> {
19703
19769
  default: boolean;
19704
19770
  created_at: string;
19705
19771
  workspace_token: string;
19706
- created_by_token?: string;
19772
+ created_by_token?: string | null;
19707
19773
  start_date: string | null;
19708
19774
  end_date: string | null;
19709
19775
  date_interval: string | null;
@@ -19721,7 +19787,7 @@ declare class NetworkFlowReportsApi<NeverThrow extends boolean> {
19721
19787
  default: boolean;
19722
19788
  created_at: string;
19723
19789
  workspace_token: string;
19724
- created_by_token?: string;
19790
+ created_by_token?: string | null;
19725
19791
  start_date: string | null;
19726
19792
  end_date: string | null;
19727
19793
  date_interval: string | null;
@@ -19735,7 +19801,7 @@ declare class NetworkFlowReportsApi<NeverThrow extends boolean> {
19735
19801
  default: boolean;
19736
19802
  created_at: string;
19737
19803
  workspace_token: string;
19738
- created_by_token?: string;
19804
+ created_by_token?: string | null;
19739
19805
  start_date: string | null;
19740
19806
  end_date: string | null;
19741
19807
  date_interval: string | null;
@@ -19753,7 +19819,7 @@ declare class NetworkFlowReportsApi<NeverThrow extends boolean> {
19753
19819
  default: boolean;
19754
19820
  created_at: string;
19755
19821
  workspace_token: string;
19756
- created_by_token?: string;
19822
+ created_by_token?: string | null;
19757
19823
  start_date: string | null;
19758
19824
  end_date: string | null;
19759
19825
  date_interval: string | null;
@@ -19767,7 +19833,7 @@ declare class NetworkFlowReportsApi<NeverThrow extends boolean> {
19767
19833
  default: boolean;
19768
19834
  created_at: string;
19769
19835
  workspace_token: string;
19770
- created_by_token?: string;
19836
+ created_by_token?: string | null;
19771
19837
  start_date: string | null;
19772
19838
  end_date: string | null;
19773
19839
  date_interval: string | null;
@@ -19867,9 +19933,9 @@ declare class RecommendationsApi<NeverThrow extends boolean> {
19867
19933
  potential_savings: string | null;
19868
19934
  service: string;
19869
19935
  created_at: string;
19870
- resources_affected_count: string;
19871
- currency_code?: string;
19872
- currency_symbol?: string;
19936
+ resources_affected_count: number;
19937
+ currency_code?: string | null;
19938
+ currency_symbol?: string | null;
19873
19939
  }, null] : {
19874
19940
  token: string;
19875
19941
  category: string | null;
@@ -19880,9 +19946,9 @@ declare class RecommendationsApi<NeverThrow extends boolean> {
19880
19946
  potential_savings: string | null;
19881
19947
  service: string;
19882
19948
  created_at: string;
19883
- resources_affected_count: string;
19884
- currency_code?: string;
19885
- currency_symbol?: string;
19949
+ resources_affected_count: number;
19950
+ currency_code?: string | null;
19951
+ currency_symbol?: string | null;
19886
19952
  }>;
19887
19953
  /**
19888
19954
  * Return all Active Resources, including Recommendation Actions, referenced in this Recommendation.
@@ -19924,129 +19990,129 @@ declare class RecommendationViewsApi<NeverThrow extends boolean> {
19924
19990
  * Create a RecommendationView.
19925
19991
  */
19926
19992
  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;
19993
+ token?: string | null;
19994
+ title?: string | null;
19995
+ workspace_token?: string | null;
19996
+ start_date?: string | null;
19997
+ end_date?: string | null;
19998
+ provider_ids?: string[] | null;
19999
+ billing_account_ids?: string[] | null;
20000
+ account_ids?: string[] | null;
20001
+ regions?: string[] | null;
20002
+ tag_key?: string | null;
20003
+ tag_value?: string | null;
20004
+ created_at?: string | null;
20005
+ created_by?: string | null;
19940
20006
  }, 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;
20007
+ token?: string | null;
20008
+ title?: string | null;
20009
+ workspace_token?: string | null;
20010
+ start_date?: string | null;
20011
+ end_date?: string | null;
20012
+ provider_ids?: string[] | null;
20013
+ billing_account_ids?: string[] | null;
20014
+ account_ids?: string[] | null;
20015
+ regions?: string[] | null;
20016
+ tag_key?: string | null;
20017
+ tag_value?: string | null;
20018
+ created_at?: string | null;
20019
+ created_by?: string | null;
19954
20020
  }>;
19955
20021
  /**
19956
20022
  * Return a specific RecommendationView.
19957
20023
  */
19958
20024
  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;
20025
+ token?: string | null;
20026
+ title?: string | null;
20027
+ workspace_token?: string | null;
20028
+ start_date?: string | null;
20029
+ end_date?: string | null;
20030
+ provider_ids?: string[] | null;
20031
+ billing_account_ids?: string[] | null;
20032
+ account_ids?: string[] | null;
20033
+ regions?: string[] | null;
20034
+ tag_key?: string | null;
20035
+ tag_value?: string | null;
20036
+ created_at?: string | null;
20037
+ created_by?: string | null;
19972
20038
  }, 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;
20039
+ token?: string | null;
20040
+ title?: string | null;
20041
+ workspace_token?: string | null;
20042
+ start_date?: string | null;
20043
+ end_date?: string | null;
20044
+ provider_ids?: string[] | null;
20045
+ billing_account_ids?: string[] | null;
20046
+ account_ids?: string[] | null;
20047
+ regions?: string[] | null;
20048
+ tag_key?: string | null;
20049
+ tag_value?: string | null;
20050
+ created_at?: string | null;
20051
+ created_by?: string | null;
19986
20052
  }>;
19987
20053
  /**
19988
20054
  * Update a RecommendationView.
19989
20055
  */
19990
20056
  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;
20057
+ token?: string | null;
20058
+ title?: string | null;
20059
+ workspace_token?: string | null;
20060
+ start_date?: string | null;
20061
+ end_date?: string | null;
20062
+ provider_ids?: string[] | null;
20063
+ billing_account_ids?: string[] | null;
20064
+ account_ids?: string[] | null;
20065
+ regions?: string[] | null;
20066
+ tag_key?: string | null;
20067
+ tag_value?: string | null;
20068
+ created_at?: string | null;
20069
+ created_by?: string | null;
20004
20070
  }, 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;
20071
+ token?: string | null;
20072
+ title?: string | null;
20073
+ workspace_token?: string | null;
20074
+ start_date?: string | null;
20075
+ end_date?: string | null;
20076
+ provider_ids?: string[] | null;
20077
+ billing_account_ids?: string[] | null;
20078
+ account_ids?: string[] | null;
20079
+ regions?: string[] | null;
20080
+ tag_key?: string | null;
20081
+ tag_value?: string | null;
20082
+ created_at?: string | null;
20083
+ created_by?: string | null;
20018
20084
  }>;
20019
20085
  /**
20020
20086
  * Delete a RecommendationView.
20021
20087
  */
20022
20088
  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;
20089
+ token?: string | null;
20090
+ title?: string | null;
20091
+ workspace_token?: string | null;
20092
+ start_date?: string | null;
20093
+ end_date?: string | null;
20094
+ provider_ids?: string[] | null;
20095
+ billing_account_ids?: string[] | null;
20096
+ account_ids?: string[] | null;
20097
+ regions?: string[] | null;
20098
+ tag_key?: string | null;
20099
+ tag_value?: string | null;
20100
+ created_at?: string | null;
20101
+ created_by?: string | null;
20036
20102
  }, 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;
20103
+ token?: string | null;
20104
+ title?: string | null;
20105
+ workspace_token?: string | null;
20106
+ start_date?: string | null;
20107
+ end_date?: string | null;
20108
+ provider_ids?: string[] | null;
20109
+ billing_account_ids?: string[] | null;
20110
+ account_ids?: string[] | null;
20111
+ regions?: string[] | null;
20112
+ tag_key?: string | null;
20113
+ tag_value?: string | null;
20114
+ created_at?: string | null;
20115
+ created_by?: string | null;
20050
20116
  }>;
20051
20117
  }
20052
20118
  declare class ReportNotificationsApi<NeverThrow extends boolean> {
@@ -20384,11 +20450,11 @@ declare class SegmentsApi<NeverThrow extends boolean> {
20384
20450
  description: string;
20385
20451
  track_unallocated: boolean;
20386
20452
  report_settings?: {
20387
- include_credits?: boolean;
20388
- include_refunds?: boolean;
20389
- include_discounts?: boolean;
20390
- include_tax?: boolean;
20391
- amortize?: boolean;
20453
+ include_credits?: boolean | null;
20454
+ include_refunds?: boolean | null;
20455
+ include_discounts?: boolean | null;
20456
+ include_tax?: boolean | null;
20457
+ amortize?: boolean | null;
20392
20458
  };
20393
20459
  priority: number;
20394
20460
  filter: string | null;
@@ -20402,11 +20468,11 @@ declare class SegmentsApi<NeverThrow extends boolean> {
20402
20468
  description: string;
20403
20469
  track_unallocated: boolean;
20404
20470
  report_settings?: {
20405
- include_credits?: boolean;
20406
- include_refunds?: boolean;
20407
- include_discounts?: boolean;
20408
- include_tax?: boolean;
20409
- amortize?: boolean;
20471
+ include_credits?: boolean | null;
20472
+ include_refunds?: boolean | null;
20473
+ include_discounts?: boolean | null;
20474
+ include_tax?: boolean | null;
20475
+ amortize?: boolean | null;
20410
20476
  };
20411
20477
  priority: number;
20412
20478
  filter: string | null;
@@ -20424,11 +20490,11 @@ declare class SegmentsApi<NeverThrow extends boolean> {
20424
20490
  description: string;
20425
20491
  track_unallocated: boolean;
20426
20492
  report_settings?: {
20427
- include_credits?: boolean;
20428
- include_refunds?: boolean;
20429
- include_discounts?: boolean;
20430
- include_tax?: boolean;
20431
- amortize?: boolean;
20493
+ include_credits?: boolean | null;
20494
+ include_refunds?: boolean | null;
20495
+ include_discounts?: boolean | null;
20496
+ include_tax?: boolean | null;
20497
+ amortize?: boolean | null;
20432
20498
  };
20433
20499
  priority: number;
20434
20500
  filter: string | null;
@@ -20442,11 +20508,11 @@ declare class SegmentsApi<NeverThrow extends boolean> {
20442
20508
  description: string;
20443
20509
  track_unallocated: boolean;
20444
20510
  report_settings?: {
20445
- include_credits?: boolean;
20446
- include_refunds?: boolean;
20447
- include_discounts?: boolean;
20448
- include_tax?: boolean;
20449
- amortize?: boolean;
20511
+ include_credits?: boolean | null;
20512
+ include_refunds?: boolean | null;
20513
+ include_discounts?: boolean | null;
20514
+ include_tax?: boolean | null;
20515
+ amortize?: boolean | null;
20450
20516
  };
20451
20517
  priority: number;
20452
20518
  filter: string | null;
@@ -20464,11 +20530,11 @@ declare class SegmentsApi<NeverThrow extends boolean> {
20464
20530
  description: string;
20465
20531
  track_unallocated: boolean;
20466
20532
  report_settings?: {
20467
- include_credits?: boolean;
20468
- include_refunds?: boolean;
20469
- include_discounts?: boolean;
20470
- include_tax?: boolean;
20471
- amortize?: boolean;
20533
+ include_credits?: boolean | null;
20534
+ include_refunds?: boolean | null;
20535
+ include_discounts?: boolean | null;
20536
+ include_tax?: boolean | null;
20537
+ amortize?: boolean | null;
20472
20538
  };
20473
20539
  priority: number;
20474
20540
  filter: string | null;
@@ -20482,11 +20548,11 @@ declare class SegmentsApi<NeverThrow extends boolean> {
20482
20548
  description: string;
20483
20549
  track_unallocated: boolean;
20484
20550
  report_settings?: {
20485
- include_credits?: boolean;
20486
- include_refunds?: boolean;
20487
- include_discounts?: boolean;
20488
- include_tax?: boolean;
20489
- amortize?: boolean;
20551
+ include_credits?: boolean | null;
20552
+ include_refunds?: boolean | null;
20553
+ include_discounts?: boolean | null;
20554
+ include_tax?: boolean | null;
20555
+ amortize?: boolean | null;
20490
20556
  };
20491
20557
  priority: number;
20492
20558
  filter: string | null;
@@ -20504,11 +20570,11 @@ declare class SegmentsApi<NeverThrow extends boolean> {
20504
20570
  description: string;
20505
20571
  track_unallocated: boolean;
20506
20572
  report_settings?: {
20507
- include_credits?: boolean;
20508
- include_refunds?: boolean;
20509
- include_discounts?: boolean;
20510
- include_tax?: boolean;
20511
- amortize?: boolean;
20573
+ include_credits?: boolean | null;
20574
+ include_refunds?: boolean | null;
20575
+ include_discounts?: boolean | null;
20576
+ include_tax?: boolean | null;
20577
+ amortize?: boolean | null;
20512
20578
  };
20513
20579
  priority: number;
20514
20580
  filter: string | null;
@@ -20522,11 +20588,11 @@ declare class SegmentsApi<NeverThrow extends boolean> {
20522
20588
  description: string;
20523
20589
  track_unallocated: boolean;
20524
20590
  report_settings?: {
20525
- include_credits?: boolean;
20526
- include_refunds?: boolean;
20527
- include_discounts?: boolean;
20528
- include_tax?: boolean;
20529
- amortize?: boolean;
20591
+ include_credits?: boolean | null;
20592
+ include_refunds?: boolean | null;
20593
+ include_discounts?: boolean | null;
20594
+ include_tax?: boolean | null;
20595
+ amortize?: boolean | null;
20530
20596
  };
20531
20597
  priority: number;
20532
20598
  filter: string | null;
@@ -20695,14 +20761,14 @@ declare class UnitCostsApi<NeverThrow extends boolean> {
20695
20761
  created_at: string;
20696
20762
  export_type: string;
20697
20763
  manifest: components["schemas"]["DataExportManifest"];
20698
- attributes: string;
20764
+ attributes: Record<string, any>;
20699
20765
  }, null] : {
20700
20766
  token: string;
20701
20767
  status: string;
20702
20768
  created_at: string;
20703
20769
  export_type: string;
20704
20770
  manifest: components["schemas"]["DataExportManifest"];
20705
- attributes: string;
20771
+ attributes: Record<string, any>;
20706
20772
  }>;
20707
20773
  }
20708
20774
  declare class UsersApi<NeverThrow extends boolean> {
@@ -20726,13 +20792,13 @@ declare class UsersApi<NeverThrow extends boolean> {
20726
20792
  name: string | null;
20727
20793
  email: string;
20728
20794
  role: string;
20729
- last_seen_at?: string;
20795
+ last_seen_at?: string | null;
20730
20796
  }, null] : {
20731
20797
  token: string;
20732
20798
  name: string | null;
20733
20799
  email: string;
20734
20800
  role: string;
20735
- last_seen_at?: string;
20801
+ last_seen_at?: string | null;
20736
20802
  }>;
20737
20803
  }
20738
20804
  declare class VirtualTagConfigsApi<NeverThrow extends boolean> {
@@ -20806,6 +20872,18 @@ declare class VirtualTagConfigsApi<NeverThrow extends boolean> {
20806
20872
  collapsed_tag_keys?: components["schemas"]["VirtualTagConfigCollapsedTagKey"][];
20807
20873
  values: components["schemas"]["VirtualTagConfigValue"][];
20808
20874
  }>;
20875
+ /**
20876
+ * Return the processing status of a specific VirtualTagConfig.
20877
+ */
20878
+ getStatus(token: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
20879
+ token: string;
20880
+ processing: boolean;
20881
+ providers: components["schemas"]["VirtualTagConfigProviderStatus"][];
20882
+ }, null] : {
20883
+ token: string;
20884
+ processing: boolean;
20885
+ providers: components["schemas"]["VirtualTagConfigProviderStatus"][];
20886
+ }>;
20809
20887
  /**
20810
20888
  * Asynchronously updates an existing VirtualTagConfig.
20811
20889
  */
@@ -20892,4 +20970,4 @@ declare class PingApi<NeverThrow extends boolean> {
20892
20970
  get(): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
20893
20971
  }
20894
20972
 
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 };
20973
+ 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 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 UpdateTagRequest, type UpdateTagResponse, type UpdateTeamRequest, type UpdateTeamResponse, type UpdateVirtualTagConfigRequest, type UpdateVirtualTagConfigResponse, type UpdateWorkspaceRequest, type UpdateWorkspaceResponse, VantageAPIError, pathEncode };