@vantage-sh/vantage-client 2.4.0 → 2.5.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.ts CHANGED
@@ -511,6 +511,58 @@ interface paths {
511
511
  patch?: never;
512
512
  trace?: never;
513
513
  };
514
+ "/canvases": {
515
+ parameters: {
516
+ query?: never;
517
+ header?: never;
518
+ path?: never;
519
+ cookie?: never;
520
+ };
521
+ /**
522
+ * Get all canvases
523
+ * @description Return all Canvases.
524
+ */
525
+ get: operations["getCanvases"];
526
+ put?: never;
527
+ /**
528
+ * Create canvas
529
+ * @description Create a Canvas.
530
+ */
531
+ post: operations["createCanvas"];
532
+ delete?: never;
533
+ options?: never;
534
+ head?: never;
535
+ patch?: never;
536
+ trace?: never;
537
+ };
538
+ "/canvases/{canvas_token}": {
539
+ parameters: {
540
+ query?: never;
541
+ header?: never;
542
+ path?: never;
543
+ cookie?: never;
544
+ };
545
+ /**
546
+ * Get canvas by token
547
+ * @description Return a specific Canvas.
548
+ */
549
+ get: operations["getCanvas"];
550
+ /**
551
+ * Update canvas
552
+ * @description Update a Canvas.
553
+ */
554
+ put: operations["updateCanvas"];
555
+ post?: never;
556
+ /**
557
+ * Delete canvas
558
+ * @description Delete a Canvas.
559
+ */
560
+ delete: operations["deleteCanvas"];
561
+ options?: never;
562
+ head?: never;
563
+ patch?: never;
564
+ trace?: never;
565
+ };
514
566
  "/cost_alerts/{cost_alert_token}/events": {
515
567
  parameters: {
516
568
  query?: never;
@@ -3380,6 +3432,12 @@ interface components {
3380
3432
  * @enum {string}
3381
3433
  */
3382
3434
  unit_scale: "per_unit" | "per_hundred" | "per_thousand" | "per_million" | "per_billion";
3435
+ /**
3436
+ * @description The calculation type applied when this BusinessMetric is used in the CostReport.
3437
+ * @example unit_cost
3438
+ * @enum {string}
3439
+ */
3440
+ calculation_type: "unit_cost" | "gross_margin" | "usage_unit_cost" | "raw_business_metric";
3383
3441
  /** @description The labels that the BusinessMetric is filtered by within a particular CostReport. */
3384
3442
  label_filter?: string[] | null;
3385
3443
  };
@@ -3568,6 +3626,61 @@ interface components {
3568
3626
  */
3569
3627
  deleted_count: number;
3570
3628
  };
3629
+ /** @description Canvases model */
3630
+ Canvases: {
3631
+ links?: components["schemas"]["Links"];
3632
+ canvases: components["schemas"]["Canvas"][];
3633
+ };
3634
+ /** @description Canvas model */
3635
+ Canvas: {
3636
+ /** @example cnvs_abcd1234567890 */
3637
+ token: string;
3638
+ /**
3639
+ * @description The title of the Canvas.
3640
+ * @example Weekly Spend by Team
3641
+ */
3642
+ title: string;
3643
+ /** @description The prompt used to generate the Canvas. */
3644
+ prompt: string;
3645
+ data?: components["schemas"]["CanvasData"];
3646
+ /**
3647
+ * @description The token for the Workspace the Canvas belongs to.
3648
+ * @example wrkspc_abcd1234567890
3649
+ */
3650
+ workspace_token: string;
3651
+ /**
3652
+ * @description The date and time, in UTC, the Canvas was created. ISO 8601 Formatted.
3653
+ * @example 2024-01-01T00:00:00Z
3654
+ */
3655
+ created_at: string;
3656
+ /**
3657
+ * @description The date and time, in UTC, the Canvas was last updated. ISO 8601 Formatted.
3658
+ * @example 2024-01-01T00:00:00Z
3659
+ */
3660
+ updated_at: string;
3661
+ };
3662
+ CanvasData: {
3663
+ table?: components["schemas"]["CanvasTable"];
3664
+ /** @description Error message if the refresh workflow failed. Read-only. */
3665
+ error?: string | null;
3666
+ };
3667
+ CanvasTable: Record<string, any>;
3668
+ /** @description Create a Canvas. */
3669
+ createCanvas: {
3670
+ /** @description The title of the Canvas. */
3671
+ title: string;
3672
+ /** @description The prompt used to generate the Canvas. */
3673
+ prompt: string;
3674
+ /** @description The token of the Workspace to add the Canvas to. Required if the API token is associated with multiple Workspaces. */
3675
+ workspace_token?: string;
3676
+ };
3677
+ /** @description Update a Canvas. */
3678
+ updateCanvas: {
3679
+ /** @description The title of the Canvas. */
3680
+ title?: string;
3681
+ /** @description The prompt used to generate the Canvas. */
3682
+ prompt?: string;
3683
+ };
3571
3684
  /** @description CostAlertEvents model */
3572
3685
  CostAlertEvents: {
3573
3686
  links?: components["schemas"]["Links"];
@@ -3737,6 +3850,13 @@ interface components {
3737
3850
  saved_filter_tokens?: string[] | null;
3738
3851
  /** @description The tokens for the BusinessMetrics assigned to the CostReport, the unit scale, and label filter. */
3739
3852
  business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
3853
+ /**
3854
+ * @description The default forecast selection for the CostReport.
3855
+ * @example {
3856
+ * "kind": "baseline"
3857
+ * }
3858
+ */
3859
+ default_forecast: Record<string, any>;
3740
3860
  /** @description The filter applied to the CostReport. Additional documentation available at https://docs.vantage.sh/vql. */
3741
3861
  filter: string | null;
3742
3862
  /**
@@ -3839,6 +3959,12 @@ interface components {
3839
3959
  * @enum {string}
3840
3960
  */
3841
3961
  unit_scale: "per_unit" | "per_hundred" | "per_thousand" | "per_million" | "per_billion";
3962
+ /**
3963
+ * @description The calculation type applied when this BusinessMetric is used in the CostReport.
3964
+ * @example unit_cost
3965
+ * @enum {string}
3966
+ */
3967
+ calculation_type: "unit_cost" | "gross_margin" | "usage_unit_cost" | "raw_business_metric";
3842
3968
  /** @description The labels that the BusinessMetric is filtered by within a particular CostReport. */
3843
3969
  label_filter?: string[] | null;
3844
3970
  };
@@ -3875,7 +4001,7 @@ interface components {
3875
4001
  * @example aws
3876
4002
  * @enum {string}
3877
4003
  */
3878
- 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" | "redis_cloud" | "circle_ci" | "all";
4004
+ 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" | "redis_cloud" | "circle_ci" | "modal" | "eleven_labs" | "baseten" | "all";
3879
4005
  /**
3880
4006
  * @description The service for the forecasted cost. Will be 'all' for all combined services
3881
4007
  * @example Amazon Elastic Compute Cloud - Compute
@@ -4015,6 +4141,16 @@ interface components {
4015
4141
  }[];
4016
4142
  /** @description The token of the Folder to add the CostReport to. Determines the Workspace the report is assigned to. */
4017
4143
  folder_token?: string;
4144
+ /** @description The default forecast selection for the CostReport. */
4145
+ default_forecast?: {
4146
+ /**
4147
+ * @description The default forecast selection kind.
4148
+ * @enum {string}
4149
+ */
4150
+ kind: "baseline" | "report_forecast";
4151
+ /** @description The token for the report forecast to set as default when kind is report_forecast. */
4152
+ report_forecast_token?: string;
4153
+ };
4018
4154
  /** @description Report settings. */
4019
4155
  settings?: {
4020
4156
  /** @description Report will include credits. */
@@ -4058,13 +4194,11 @@ interface components {
4058
4194
  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";
4059
4195
  /**
4060
4196
  * @description The chart type of the CostReport.
4061
- * @default line
4062
4197
  * @enum {string}
4063
4198
  */
4064
4199
  chart_type?: "area" | "line" | "pie" | "bar" | "multi_bar";
4065
4200
  /**
4066
4201
  * @description The date bin of the CostReport.
4067
- * @default cumulative
4068
4202
  * @enum {string}
4069
4203
  */
4070
4204
  date_bin?: "cumulative" | "day" | "week" | "month" | "quarter" | "hour";
@@ -4195,7 +4329,7 @@ interface components {
4195
4329
  * @example aws
4196
4330
  * @enum {string|null}
4197
4331
  */
4198
- 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" | "redis_cloud" | "circle_ci" | null;
4332
+ 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" | "redis_cloud" | "circle_ci" | "modal" | "eleven_labs" | "baseten" | null;
4199
4333
  /**
4200
4334
  * @description The cost provider's billing account id that incurred the cost.
4201
4335
  * @example 9109237192
@@ -5022,7 +5156,7 @@ interface components {
5022
5156
  parent_account_token: string;
5023
5157
  /** @description The tokens for the Access Credentials assigned to the Managed Account. */
5024
5158
  access_credential_tokens: string[];
5025
- /** @description The tokens for the Billing Rules assigned to the Managed Account. */
5159
+ /** @description The tokens for the Billing Rules assigned to the Managed Account, in the order they will execute against this account's cost data. */
5026
5160
  billing_rule_tokens: string[];
5027
5161
  /** @description Email domain associated with this Managed Account for SSO. */
5028
5162
  email_domain?: string | null;
@@ -5046,7 +5180,7 @@ interface components {
5046
5180
  contact_email: string;
5047
5181
  /** @description Access Credential (aka Integrations) tokens to assign to the Managed Account. */
5048
5182
  access_credential_tokens?: string[];
5049
- /** @description Billing Rule tokens to assign to the Managed Account. */
5183
+ /** @description Billing Rule tokens to assign to the Managed Account, in their desired execution order. Tokens must be ordered by execution group: AWS transforms, then COST inserts, then COST transforms, then monthly post-transform inserts. Within a group any order is accepted and persisted as-is. Submitting a list whose cross-group ordering does not match the pipeline returns a 400.Existing rules with apply_to_all enabled will be added implicity to the end of their execution group. */
5050
5184
  billing_rule_tokens?: string[];
5051
5185
  /** @description Email domain to associate with this Managed Account for SSO. */
5052
5186
  email_domain?: string;
@@ -5059,7 +5193,7 @@ interface components {
5059
5193
  contact_email?: string;
5060
5194
  /** @description Access Credential (aka Integrations) tokens to assign to the Managed Account. */
5061
5195
  access_credential_tokens?: string[];
5062
- /** @description Billing Rule tokens to assign to the Managed Account. */
5196
+ /** @description Billing Rule tokens to assign to the Managed Account, in their desired execution order. Tokens must be ordered by execution group: AWS transforms, then COST inserts, then COST transforms, then monthly post-transform inserts. Within a group any order is accepted and persisted as-is. Submitting a list whose cross-group ordering does not match the pipeline returns a 400. */
5063
5197
  billing_rule_tokens?: string[];
5064
5198
  /** @description Email domain to associate with this Managed Account for SSO. */
5065
5199
  email_domain?: string;
@@ -6208,7 +6342,13 @@ interface components {
6208
6342
  */
6209
6343
  business_metric_title: string;
6210
6344
  /**
6211
- * @description The amount of the unit cost.
6345
+ * @description The calculation type applied to produce this result.
6346
+ * @example unit_cost
6347
+ * @enum {string|null}
6348
+ */
6349
+ calculation_type?: "unit_cost" | "gross_margin" | "usage_unit_cost" | "raw_business_metric" | null;
6350
+ /**
6351
+ * @description The amount of the unit cost. For raw_business_metric types, this equals the business_metric_amount.
6212
6352
  * @example 4.25
6213
6353
  */
6214
6354
  unit_cost_amount: string;
@@ -6293,7 +6433,7 @@ interface components {
6293
6433
  overridable: boolean;
6294
6434
  /**
6295
6435
  * @description The earliest month VirtualTagConfig should be backfilled to.
6296
- * @example 2025-12-01
6436
+ * @example 2026-01-01
6297
6437
  */
6298
6438
  backfill_until: string;
6299
6439
  /** @description Tag keys to collapse values for. */
@@ -8988,6 +9128,165 @@ interface operations {
8988
9128
  };
8989
9129
  };
8990
9130
  };
9131
+ getCanvases: {
9132
+ parameters: {
9133
+ query?: {
9134
+ /** @description The page of results to return. */
9135
+ page?: number;
9136
+ /** @description The amount of results to return. The maximum is 1000. */
9137
+ limit?: number;
9138
+ };
9139
+ header?: never;
9140
+ path?: never;
9141
+ cookie?: never;
9142
+ };
9143
+ requestBody?: never;
9144
+ responses: {
9145
+ 200: {
9146
+ headers: {
9147
+ [name: string]: unknown;
9148
+ };
9149
+ content: {
9150
+ "application/json": components["schemas"]["Canvases"];
9151
+ };
9152
+ };
9153
+ };
9154
+ };
9155
+ createCanvas: {
9156
+ parameters: {
9157
+ query?: never;
9158
+ header?: never;
9159
+ path?: never;
9160
+ cookie?: never;
9161
+ };
9162
+ requestBody: {
9163
+ content: {
9164
+ "application/json": components["schemas"]["createCanvas"];
9165
+ };
9166
+ };
9167
+ responses: {
9168
+ 201: {
9169
+ headers: {
9170
+ [name: string]: unknown;
9171
+ };
9172
+ content: {
9173
+ "application/json": components["schemas"]["Canvas"];
9174
+ };
9175
+ };
9176
+ /** @description BadRequest */
9177
+ 400: {
9178
+ headers: {
9179
+ [name: string]: unknown;
9180
+ };
9181
+ content: {
9182
+ "application/json": components["schemas"]["Errors"];
9183
+ };
9184
+ };
9185
+ };
9186
+ };
9187
+ getCanvas: {
9188
+ parameters: {
9189
+ query?: never;
9190
+ header?: never;
9191
+ path: {
9192
+ canvas_token: string;
9193
+ };
9194
+ cookie?: never;
9195
+ };
9196
+ requestBody?: never;
9197
+ responses: {
9198
+ 200: {
9199
+ headers: {
9200
+ [name: string]: unknown;
9201
+ };
9202
+ content: {
9203
+ "application/json": components["schemas"]["Canvas"];
9204
+ };
9205
+ };
9206
+ /** @description NotFound */
9207
+ 404: {
9208
+ headers: {
9209
+ [name: string]: unknown;
9210
+ };
9211
+ content: {
9212
+ "application/json": components["schemas"]["Errors"];
9213
+ };
9214
+ };
9215
+ };
9216
+ };
9217
+ updateCanvas: {
9218
+ parameters: {
9219
+ query?: never;
9220
+ header?: never;
9221
+ path: {
9222
+ canvas_token: string;
9223
+ };
9224
+ cookie?: never;
9225
+ };
9226
+ requestBody: {
9227
+ content: {
9228
+ "application/json": components["schemas"]["updateCanvas"];
9229
+ };
9230
+ };
9231
+ responses: {
9232
+ 200: {
9233
+ headers: {
9234
+ [name: string]: unknown;
9235
+ };
9236
+ content: {
9237
+ "application/json": components["schemas"]["Canvas"];
9238
+ };
9239
+ };
9240
+ /** @description BadRequest */
9241
+ 400: {
9242
+ headers: {
9243
+ [name: string]: unknown;
9244
+ };
9245
+ content: {
9246
+ "application/json": components["schemas"]["Errors"];
9247
+ };
9248
+ };
9249
+ /** @description NotFound */
9250
+ 404: {
9251
+ headers: {
9252
+ [name: string]: unknown;
9253
+ };
9254
+ content: {
9255
+ "application/json": components["schemas"]["Errors"];
9256
+ };
9257
+ };
9258
+ };
9259
+ };
9260
+ deleteCanvas: {
9261
+ parameters: {
9262
+ query?: never;
9263
+ header?: never;
9264
+ path: {
9265
+ canvas_token: string;
9266
+ };
9267
+ cookie?: never;
9268
+ };
9269
+ requestBody?: never;
9270
+ responses: {
9271
+ 204: {
9272
+ headers: {
9273
+ [name: string]: unknown;
9274
+ };
9275
+ content: {
9276
+ "application/json": components["schemas"]["Canvas"];
9277
+ };
9278
+ };
9279
+ /** @description NotFound */
9280
+ 404: {
9281
+ headers: {
9282
+ [name: string]: unknown;
9283
+ };
9284
+ content: {
9285
+ "application/json": components["schemas"]["Errors"];
9286
+ };
9287
+ };
9288
+ };
9289
+ };
8991
9290
  getCostAlertEvents: {
8992
9291
  parameters: {
8993
9292
  query?: {
@@ -9372,7 +9671,7 @@ interface operations {
9372
9671
  /** @description The token of the Workspace to list CostProviderAccounts for. Required if the API token is associated with multiple Workspaces. */
9373
9672
  workspace_token?: string;
9374
9673
  /** @description Filter by provider type. */
9375
- 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" | "redis_cloud" | "circle_ci";
9674
+ 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" | "redis_cloud" | "circle_ci" | "modal" | "eleven_labs" | "baseten";
9376
9675
  /** @description Filter by provider account identifier. */
9377
9676
  account_id?: string;
9378
9677
  /** @description Filter by account name (exact match). */
@@ -9445,13 +9744,16 @@ interface operations {
9445
9744
  * },
9446
9745
  * "cost_reports": [
9447
9746
  * {
9448
- * "token": "rprt_403b6516ad289a52",
9747
+ * "token": "rprt_6f2c7d330c05636f",
9449
9748
  * "title": "Untitled",
9450
9749
  * "folder_token": null,
9451
9750
  * "saved_filter_tokens": [
9452
- * "svd_fltr_03a9f354fe7cad59"
9751
+ * "svd_fltr_9f2aca5e894b432a"
9453
9752
  * ],
9454
9753
  * "business_metric_tokens_with_metadata": [],
9754
+ * "default_forecast": {
9755
+ * "kind": "baseline"
9756
+ * },
9455
9757
  * "filter": null,
9456
9758
  * "groupings": "service,provider",
9457
9759
  * "settings": {
@@ -9462,10 +9764,11 @@ interface operations {
9462
9764
  * "amortize": true,
9463
9765
  * "unallocated": false,
9464
9766
  * "aggregate_by": "cost",
9465
- * "show_previous_period": true
9767
+ * "show_previous_period": true,
9768
+ * "complete_period": false
9466
9769
  * },
9467
9770
  * "created_at": "2024-07-03T00:00:00Z",
9468
- * "workspace_token": "wrkspc_b7743329296e6e96",
9771
+ * "workspace_token": "wrkspc_3f4145fd51b19463",
9469
9772
  * "previous_period_start_date": null,
9470
9773
  * "previous_period_end_date": null,
9471
9774
  * "start_date": "2024-07-01",
@@ -9508,15 +9811,15 @@ interface operations {
9508
9811
  content: {
9509
9812
  /**
9510
9813
  * @example {
9511
- * "token": "rprt_377f6f8b25e8053d",
9814
+ * "token": "rprt_299359872859a568",
9512
9815
  * "title": "New Cost Report",
9513
- * "folder_token": "fldr_f20201244e42cb99",
9816
+ * "folder_token": "fldr_736175272c30b820",
9514
9817
  * "saved_filter_tokens": [
9515
- * "svd_fltr_550e30f350ffafe4"
9818
+ * "svd_fltr_3cf17b5bd79e849c"
9516
9819
  * ],
9517
9820
  * "business_metric_tokens_with_metadata": [
9518
9821
  * {
9519
- * "business_metric_token": "bsnss_mtrc_ff259eb1ce9fe935",
9822
+ * "business_metric_token": "bsnss_mtrc_b90d5fe5fbff292d",
9520
9823
  * "unit_scale": "per_thousand",
9521
9824
  * "label_filter": [
9522
9825
  * "CBGB",
@@ -9526,6 +9829,9 @@ interface operations {
9526
9829
  * ]
9527
9830
  * }
9528
9831
  * ],
9832
+ * "default_forecast": {
9833
+ * "kind": "baseline"
9834
+ * },
9529
9835
  * "filter": "costs.provider = 'aws' AND costs.service = 'Amazon Simple Storage Service'",
9530
9836
  * "groupings": "service,provider",
9531
9837
  * "settings": {
@@ -9536,10 +9842,11 @@ interface operations {
9536
9842
  * "amortize": true,
9537
9843
  * "unallocated": false,
9538
9844
  * "aggregate_by": "cost",
9539
- * "show_previous_period": true
9845
+ * "show_previous_period": true,
9846
+ * "complete_period": false
9540
9847
  * },
9541
9848
  * "created_at": "2024-07-03T00:00:00Z",
9542
- * "workspace_token": "wrkspc_d364d177f557981e",
9849
+ * "workspace_token": "wrkspc_9e2675148d6275f8",
9543
9850
  * "previous_period_start_date": null,
9544
9851
  * "previous_period_end_date": null,
9545
9852
  * "start_date": "2024-07-01",
@@ -9596,13 +9903,16 @@ interface operations {
9596
9903
  content: {
9597
9904
  /**
9598
9905
  * @example {
9599
- * "token": "rprt_fb27faa25ef5ea72",
9906
+ * "token": "rprt_5db7a73cf4d09998",
9600
9907
  * "title": "Untitled",
9601
9908
  * "folder_token": null,
9602
9909
  * "saved_filter_tokens": [
9603
- * "svd_fltr_dd642aeffbe29367"
9910
+ * "svd_fltr_e1166df04e1709bf"
9604
9911
  * ],
9605
9912
  * "business_metric_tokens_with_metadata": [],
9913
+ * "default_forecast": {
9914
+ * "kind": "baseline"
9915
+ * },
9606
9916
  * "filter": null,
9607
9917
  * "groupings": "service,provider",
9608
9918
  * "settings": {
@@ -9613,10 +9923,11 @@ interface operations {
9613
9923
  * "amortize": true,
9614
9924
  * "unallocated": false,
9615
9925
  * "aggregate_by": "cost",
9616
- * "show_previous_period": true
9926
+ * "show_previous_period": true,
9927
+ * "complete_period": false
9617
9928
  * },
9618
9929
  * "created_at": "2024-07-03T00:00:00Z",
9619
- * "workspace_token": "wrkspc_e5c550d14cfa3101",
9930
+ * "workspace_token": "wrkspc_9c6847147c762f2a",
9620
9931
  * "previous_period_start_date": null,
9621
9932
  * "previous_period_end_date": null,
9622
9933
  * "start_date": "2024-07-01",
@@ -9668,15 +9979,15 @@ interface operations {
9668
9979
  content: {
9669
9980
  /**
9670
9981
  * @example {
9671
- * "token": "rprt_c02b21cb3750e2c8",
9982
+ * "token": "rprt_1e692ea6b3eddf6b",
9672
9983
  * "title": "Updated Cost Report",
9673
- * "folder_token": "fldr_5671a9c9785c0aff",
9984
+ * "folder_token": "fldr_86dec25791dca5ce",
9674
9985
  * "saved_filter_tokens": [
9675
- * "svd_fltr_fe456f29a8e9a706"
9986
+ * "svd_fltr_1977fb9dc5e2b336"
9676
9987
  * ],
9677
9988
  * "business_metric_tokens_with_metadata": [
9678
9989
  * {
9679
- * "business_metric_token": "bsnss_mtrc_352795a0c2b0be50",
9990
+ * "business_metric_token": "bsnss_mtrc_14dc9a1fb1ce67ce",
9680
9991
  * "unit_scale": "per_thousand",
9681
9992
  * "label_filter": [
9682
9993
  * "CBGB",
@@ -9686,10 +9997,13 @@ interface operations {
9686
9997
  * ]
9687
9998
  * },
9688
9999
  * {
9689
- * "business_metric_token": "bsnss_mtrc_13ce0c4cb90eb641",
10000
+ * "business_metric_token": "bsnss_mtrc_ab4227c15f99f995",
9690
10001
  * "unit_scale": "per_million"
9691
10002
  * }
9692
10003
  * ],
10004
+ * "default_forecast": {
10005
+ * "kind": "baseline"
10006
+ * },
9693
10007
  * "filter": "costs.provider = 'azure'",
9694
10008
  * "groupings": "account_id,service",
9695
10009
  * "settings": {
@@ -9700,10 +10014,11 @@ interface operations {
9700
10014
  * "amortize": true,
9701
10015
  * "unallocated": false,
9702
10016
  * "aggregate_by": "cost",
9703
- * "show_previous_period": true
10017
+ * "show_previous_period": true,
10018
+ * "complete_period": false
9704
10019
  * },
9705
10020
  * "created_at": "2024-07-03T00:00:00Z",
9706
- * "workspace_token": "wrkspc_b727d292ad47b28b",
10021
+ * "workspace_token": "wrkspc_a8fb0662fdca90e0",
9707
10022
  * "previous_period_start_date": null,
9708
10023
  * "previous_period_end_date": null,
9709
10024
  * "start_date": "2024-07-01",
@@ -9780,7 +10095,7 @@ interface operations {
9780
10095
  /** @description Last date you would like to filter forecasted costs from. ISO 8601 formatted. */
9781
10096
  end_date?: string;
9782
10097
  /** @description Limit the forecasted costs to a specific provider. 'all' is accepted to filter to overall forecast. */
9783
- 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" | "redis_cloud" | "circle_ci" | "all";
10098
+ 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" | "redis_cloud" | "circle_ci" | "modal" | "eleven_labs" | "baseten" | "all";
9784
10099
  /** @description Limit the forecasted costs to a specific service. 'all' is accepted to filter to overall forecast. e.g. 'Amazon ElastiCache'. */
9785
10100
  service?: string;
9786
10101
  /** @description The page of results to return. */
@@ -9804,10 +10119,10 @@ interface operations {
9804
10119
  /**
9805
10120
  * @example {
9806
10121
  * "links": {
9807
- * "self": "https://api.vantage.sh/v2/cost_reports/rprt_3f79e0058066d5f7/forecasted_costs",
9808
- * "first": "https://api.vantage.sh/v2/cost_reports/rprt_3f79e0058066d5f7/forecasted_costs?page=1",
10122
+ * "self": "https://api.vantage.sh/v2/cost_reports/rprt_106b4bfcc2a03f63/forecasted_costs",
10123
+ * "first": "https://api.vantage.sh/v2/cost_reports/rprt_106b4bfcc2a03f63/forecasted_costs?page=1",
9809
10124
  * "next": null,
9810
- * "last": "https://api.vantage.sh/v2/cost_reports/rprt_3f79e0058066d5f7/forecasted_costs?page=1",
10125
+ * "last": "https://api.vantage.sh/v2/cost_reports/rprt_106b4bfcc2a03f63/forecasted_costs?page=1",
9811
10126
  * "prev": null
9812
10127
  * },
9813
10128
  * "forecasted_costs": [
@@ -11105,7 +11420,7 @@ interface operations {
11105
11420
  parameters: {
11106
11421
  query?: {
11107
11422
  /** @description Query by provider name to list all Integrations for a specific provider. */
11108
- 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" | "redis_cloud" | "circle_ci";
11423
+ 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" | "redis_cloud" | "circle_ci" | "modal" | "eleven_labs" | "baseten";
11109
11424
  /** @description Query by account identifier to list all Integrations that match a specific account. For Azure, this is the subscription ID. Must include provider when using this parameter. */
11110
11425
  account_identifier?: string;
11111
11426
  /** @description The page of results to return. */
@@ -14943,7 +15258,7 @@ interface operations {
14943
15258
  parameters: {
14944
15259
  query?: {
14945
15260
  /** @description An array of providers to scope Tags by. */
14946
- providers?: ("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" | "redis_cloud" | "circle_ci")[];
15261
+ providers?: ("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" | "redis_cloud" | "circle_ci" | "modal" | "eleven_labs" | "baseten")[];
14947
15262
  /** @description A search query to filter Tags by tag key. */
14948
15263
  search_query?: string;
14949
15264
  /** @description The direction in which you would like to sort the data by. Defaults to 'asc'. */
@@ -15081,7 +15396,7 @@ interface operations {
15081
15396
  parameters: {
15082
15397
  query?: {
15083
15398
  /** @description An array of providers to scope TagValues by. */
15084
- providers?: ("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" | "redis_cloud" | "circle_ci")[];
15399
+ providers?: ("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" | "redis_cloud" | "circle_ci" | "modal" | "eleven_labs" | "baseten")[];
15085
15400
  /** @description The direction in which to sort the TagValues. Defaults to 'asc'. */
15086
15401
  sort_direction?: "asc" | "desc";
15087
15402
  /** @description A search query to filter TagValues by the value name. */
@@ -17026,6 +17341,38 @@ type UpdateBusinessMetricValuesCSVRequest = RequestBodyForPathAndMethod<`/v2/bus
17026
17341
  * Response type for Update business metric values from CSV
17027
17342
  */
17028
17343
  type UpdateBusinessMetricValuesCSVResponse = ResponseBodyForPathAndMethod<`/v2/business_metrics/${NoSlashString}/values.csv`, "PUT">;
17344
+ /**
17345
+ * Return all Canvases.
17346
+ */
17347
+ type GetCanvasesRequest = RequestBodyForPathAndMethod<"/v2/canvases", "GET">;
17348
+ /**
17349
+ * Response type for Get all canvases
17350
+ */
17351
+ type GetCanvasesResponse = ResponseBodyForPathAndMethod<"/v2/canvases", "GET">;
17352
+ /**
17353
+ * Create a Canvas.
17354
+ */
17355
+ type CreateCanvasRequest = RequestBodyForPathAndMethod<"/v2/canvases", "POST">;
17356
+ /**
17357
+ * Response type for Create canvas
17358
+ */
17359
+ type CreateCanvasResponse = ResponseBodyForPathAndMethod<"/v2/canvases", "POST">;
17360
+ /**
17361
+ * Response type for Get canvas by token
17362
+ */
17363
+ type GetCanvasResponse = ResponseBodyForPathAndMethod<`/v2/canvases/${NoSlashString}`, "GET">;
17364
+ /**
17365
+ * Update a Canvas.
17366
+ */
17367
+ type UpdateCanvasRequest = RequestBodyForPathAndMethod<`/v2/canvases/${NoSlashString}`, "PUT">;
17368
+ /**
17369
+ * Response type for Update canvas
17370
+ */
17371
+ type UpdateCanvasResponse = ResponseBodyForPathAndMethod<`/v2/canvases/${NoSlashString}`, "PUT">;
17372
+ /**
17373
+ * Response type for Delete canvas
17374
+ */
17375
+ type DeleteCanvasResponse = ResponseBodyForPathAndMethod<`/v2/canvases/${NoSlashString}`, "DELETE">;
17029
17376
  /**
17030
17377
  * Get all CostAlertEvents
17031
17378
  */
@@ -17970,6 +18317,7 @@ declare class APIV2Client<NeverThrow extends boolean = false> extends BaseClient
17970
18317
  private _budgetAlerts?;
17971
18318
  private _budgets?;
17972
18319
  private _businessMetrics?;
18320
+ private _canvases?;
17973
18321
  private _costAlerts?;
17974
18322
  private _costProviders?;
17975
18323
  private _costProviderAccounts?;
@@ -18013,6 +18361,7 @@ declare class APIV2Client<NeverThrow extends boolean = false> extends BaseClient
18013
18361
  get budgetAlerts(): BudgetAlertsApi<NeverThrow>;
18014
18362
  get budgets(): BudgetsApi<NeverThrow>;
18015
18363
  get businessMetrics(): BusinessMetricsApi<NeverThrow>;
18364
+ get canvases(): CanvasesApi<NeverThrow>;
18016
18365
  get costAlerts(): CostAlertsApi<NeverThrow>;
18017
18366
  get costProviders(): CostProvidersApi<NeverThrow>;
18018
18367
  get costProviderAccounts(): CostProviderAccountsApi<NeverThrow>;
@@ -18347,11 +18696,7 @@ declare class BillingProfilesApi<NeverThrow extends boolean> {
18347
18696
  updated_at: string;
18348
18697
  billing_information_attributes: components["schemas"]["BillingInformation"];
18349
18698
  business_information_attributes: components["schemas"]["BusinessInformation"];
18350
- banking_information_attributes?:
18351
- /**
18352
- * Generate a DataExport of costs.
18353
- */
18354
- components["schemas"]["BankingInformation"];
18699
+ banking_information_attributes?: components["schemas"]["BankingInformation"];
18355
18700
  invoice_adjustment_attributes: components["schemas"]["InvoiceAdjustment"];
18356
18701
  managed_accounts_count: string;
18357
18702
  }, null] : {
@@ -18361,11 +18706,7 @@ declare class BillingProfilesApi<NeverThrow extends boolean> {
18361
18706
  updated_at: string;
18362
18707
  billing_information_attributes: components["schemas"]["BillingInformation"];
18363
18708
  business_information_attributes: components["schemas"]["BusinessInformation"];
18364
- banking_information_attributes?:
18365
- /**
18366
- * Generate a DataExport of costs.
18367
- */
18368
- components["schemas"]["BankingInformation"];
18709
+ banking_information_attributes?: components["schemas"]["BankingInformation"];
18369
18710
  invoice_adjustment_attributes: components["schemas"]["InvoiceAdjustment"];
18370
18711
  managed_accounts_count: string;
18371
18712
  }>;
@@ -18379,11 +18720,7 @@ declare class BillingProfilesApi<NeverThrow extends boolean> {
18379
18720
  updated_at: string;
18380
18721
  billing_information_attributes: components["schemas"]["BillingInformation"];
18381
18722
  business_information_attributes: components["schemas"]["BusinessInformation"];
18382
- banking_information_attributes?:
18383
- /**
18384
- * Generate a DataExport of costs.
18385
- */
18386
- components["schemas"]["BankingInformation"];
18723
+ banking_information_attributes?: components["schemas"]["BankingInformation"];
18387
18724
  invoice_adjustment_attributes: components["schemas"]["InvoiceAdjustment"];
18388
18725
  managed_accounts_count: string;
18389
18726
  }, null] : {
@@ -18393,11 +18730,7 @@ declare class BillingProfilesApi<NeverThrow extends boolean> {
18393
18730
  updated_at: string;
18394
18731
  billing_information_attributes: components["schemas"]["BillingInformation"];
18395
18732
  business_information_attributes: components["schemas"]["BusinessInformation"];
18396
- banking_information_attributes?:
18397
- /**
18398
- * Generate a DataExport of costs.
18399
- */
18400
- components["schemas"]["BankingInformation"];
18733
+ banking_information_attributes?: components["schemas"]["BankingInformation"];
18401
18734
  invoice_adjustment_attributes: components["schemas"]["InvoiceAdjustment"];
18402
18735
  managed_accounts_count: string;
18403
18736
  }>;
@@ -18411,11 +18744,7 @@ declare class BillingProfilesApi<NeverThrow extends boolean> {
18411
18744
  updated_at: string;
18412
18745
  billing_information_attributes: components["schemas"]["BillingInformation"];
18413
18746
  business_information_attributes: components["schemas"]["BusinessInformation"];
18414
- banking_information_attributes?:
18415
- /**
18416
- * Generate a DataExport of costs.
18417
- */
18418
- components["schemas"]["BankingInformation"];
18747
+ banking_information_attributes?: components["schemas"]["BankingInformation"];
18419
18748
  invoice_adjustment_attributes: components["schemas"]["InvoiceAdjustment"];
18420
18749
  managed_accounts_count: string;
18421
18750
  }, null] : {
@@ -18425,11 +18754,7 @@ declare class BillingProfilesApi<NeverThrow extends boolean> {
18425
18754
  updated_at: string;
18426
18755
  billing_information_attributes: components["schemas"]["BillingInformation"];
18427
18756
  business_information_attributes: components["schemas"]["BusinessInformation"];
18428
- banking_information_attributes?:
18429
- /**
18430
- * Generate a DataExport of costs.
18431
- */
18432
- components["schemas"]["BankingInformation"];
18757
+ banking_information_attributes?: components["schemas"]["BankingInformation"];
18433
18758
  invoice_adjustment_attributes: components["schemas"]["InvoiceAdjustment"];
18434
18759
  managed_accounts_count: string;
18435
18760
  }>;
@@ -18882,6 +19207,84 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
18882
19207
  snowflake_metric_fields?: components["schemas"]["SnowflakeMetricFields"];
18883
19208
  }>;
18884
19209
  }
19210
+ declare class CanvasesApi<NeverThrow extends boolean> {
19211
+ private client;
19212
+ constructor(client: BaseClient<NeverThrow>);
19213
+ /**
19214
+ * Return all Canvases.
19215
+ */
19216
+ list(body?: GetCanvasesRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
19217
+ links?: components["schemas"]["Links"];
19218
+ canvases: components["schemas"]["Canvas"][];
19219
+ }, null] : {
19220
+ links?: components["schemas"]["Links"];
19221
+ canvases: components["schemas"]["Canvas"][];
19222
+ }>;
19223
+ /**
19224
+ * Create a Canvas.
19225
+ */
19226
+ create(body: CreateCanvasRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
19227
+ token: string;
19228
+ title: string;
19229
+ prompt: string;
19230
+ data?: components["schemas"]["CanvasData"];
19231
+ workspace_token: string;
19232
+ created_at: string;
19233
+ updated_at: string;
19234
+ }, null] : {
19235
+ token: string;
19236
+ title: string;
19237
+ prompt: string;
19238
+ data?: components["schemas"]["CanvasData"];
19239
+ workspace_token: string;
19240
+ created_at: string;
19241
+ updated_at: string;
19242
+ }>;
19243
+ /**
19244
+ * Return a specific Canvas.
19245
+ */
19246
+ get(canvasToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
19247
+ token: string;
19248
+ title: string;
19249
+ prompt: string;
19250
+ data?: components["schemas"]["CanvasData"];
19251
+ workspace_token: string;
19252
+ created_at: string;
19253
+ updated_at: string;
19254
+ }, null] : {
19255
+ token: string;
19256
+ title: string;
19257
+ prompt: string;
19258
+ data?: components["schemas"]["CanvasData"];
19259
+ workspace_token: string;
19260
+ created_at: string;
19261
+ updated_at: string;
19262
+ }>;
19263
+ /**
19264
+ * Update a Canvas.
19265
+ */
19266
+ update(canvasToken: string, body: UpdateCanvasRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
19267
+ token: string;
19268
+ title: string;
19269
+ prompt: string;
19270
+ data?: components["schemas"]["CanvasData"];
19271
+ workspace_token: string;
19272
+ created_at: string;
19273
+ updated_at: string;
19274
+ }, null] : {
19275
+ token: string;
19276
+ title: string;
19277
+ prompt: string;
19278
+ data?: components["schemas"]["CanvasData"];
19279
+ workspace_token: string;
19280
+ created_at: string;
19281
+ updated_at: string;
19282
+ }>;
19283
+ /**
19284
+ * Delete a Canvas.
19285
+ */
19286
+ delete(canvasToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
19287
+ }
18885
19288
  declare class CostAlertsApi<NeverThrow extends boolean> {
18886
19289
  private client;
18887
19290
  constructor(client: BaseClient<NeverThrow>);
@@ -19058,6 +19461,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
19058
19461
  folder_token?: string | null;
19059
19462
  saved_filter_tokens?: string[] | null;
19060
19463
  business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
19464
+ default_forecast: Record<string, any>;
19061
19465
  filter: string | null;
19062
19466
  groupings?: string | null;
19063
19467
  settings?: {
@@ -19087,6 +19491,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
19087
19491
  folder_token?: string | null;
19088
19492
  saved_filter_tokens?: string[] | null;
19089
19493
  business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
19494
+ default_forecast: Record<string, any>;
19090
19495
  filter: string | null;
19091
19496
  groupings?: string | null;
19092
19497
  settings?: {
@@ -19120,6 +19525,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
19120
19525
  folder_token?: string | null;
19121
19526
  saved_filter_tokens?: string[] | null;
19122
19527
  business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
19528
+ default_forecast: Record<string, any>;
19123
19529
  filter: string | null;
19124
19530
  groupings?: string | null;
19125
19531
  settings?: {
@@ -19149,6 +19555,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
19149
19555
  folder_token?: string | null;
19150
19556
  saved_filter_tokens?: string[] | null;
19151
19557
  business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
19558
+ default_forecast: Record<string, any>;
19152
19559
  filter: string | null;
19153
19560
  groupings?: string | null;
19154
19561
  settings?: {
@@ -19182,6 +19589,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
19182
19589
  folder_token?: string | null;
19183
19590
  saved_filter_tokens?: string[] | null;
19184
19591
  business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
19592
+ default_forecast: Record<string, any>;
19185
19593
  filter: string | null;
19186
19594
  groupings?: string | null;
19187
19595
  settings?: {
@@ -19211,6 +19619,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
19211
19619
  folder_token?: string | null;
19212
19620
  saved_filter_tokens?: string[] | null;
19213
19621
  business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
19622
+ default_forecast: Record<string, any>;
19214
19623
  filter: string | null;
19215
19624
  groupings?: string | null;
19216
19625
  settings?: {
@@ -21557,4 +21966,4 @@ declare class BaseClient<NeverThrow extends boolean> {
21557
21966
  request<RequestPath extends Path, RequestMethod extends SupportedMethods<RequestPath>>(path: RequestPath, method: RequestMethod, body: RequestBodyForPathAndMethod<RequestPath, RequestMethod>): Promise<NeverThrow extends true ? NeverThrowResult<ResponseBodyForPathAndMethod<RequestPath, RequestMethod>> : ResponseBodyForPathAndMethod<RequestPath, RequestMethod>>;
21558
21967
  }
21559
21968
 
21560
- export { APIV2Client, type AddTeamMemberRequest, type AddTeamMemberResponse, type CreateAccessGrantRequest, type CreateAccessGrantResponse, type CreateAnomalyNotificationRequest, type CreateAnomalyNotificationResponse, type CreateAzureIntegrationRequest, type CreateAzureIntegrationResponse, type CreateBillingProfileRequest, type CreateBillingProfileResponse, type CreateBillingRuleRequest, type CreateBillingRuleResponse, type CreateBudgetAlertRequest, type CreateBudgetAlertResponse, type CreateBudgetRequest, type CreateBudgetResponse, type CreateBusinessMetricRequest, type CreateBusinessMetricResponse, type CreateCostAlertRequest, type CreateCostAlertResponse, type CreateCostExportRequest, type CreateCostExportResponse, type CreateCostReportRequest, type CreateCostReportResponse, type CreateCustomProviderIntegrationRequest, type CreateCustomProviderIntegrationResponse, type CreateDashboardRequest, type CreateDashboardResponse, type CreateExchangeRatesViaCsvRequest, type CreateExchangeRatesViaCsvResponse, type CreateFinancialCommitmentReportRequest, type CreateFinancialCommitmentReportResponse, type CreateFolderRequest, type CreateFolderResponse, type CreateGCPIntegrationRequest, type CreateGCPIntegrationResponse, type CreateInvoiceRequest, type CreateInvoiceResponse, type CreateKubernetesEfficiencyReportExportRequest, type CreateKubernetesEfficiencyReportExportResponse, type CreateKubernetesEfficiencyReportRequest, type CreateKubernetesEfficiencyReportResponse, type CreateManagedAccountRequest, type CreateManagedAccountResponse, type CreateNetworkFlowReportRequest, type CreateNetworkFlowReportResponse, type CreateRecommendationViewRequest, type CreateRecommendationViewResponse, type CreateReportNotificationRequest, type CreateReportNotificationResponse, type CreateResourceReportRequest, type CreateResourceReportResponse, type CreateSavedFilterRequest, type CreateSavedFilterResponse, type CreateSegmentRequest, type CreateSegmentResponse, type CreateSsoConnectionForManagedAccountRequest, type CreateSsoConnectionForManagedAccountResponse, type CreateTeamRequest, type CreateTeamResponse, type CreateUnitCostsExportRequest, type CreateUnitCostsExportResponse, type CreateUserCostsUploadViaCsvRequest, type CreateUserCostsUploadViaCsvResponse, type CreateUserFeedbackRequest, type CreateUserFeedbackResponse, type CreateVirtualTagConfigRequest, type CreateVirtualTagConfigResponse, type CreateWorkspaceRequest, type CreateWorkspaceResponse, type DeleteAccessGrantResponse, type DeleteAnomalyNotificationResponse, type DeleteBillingProfileResponse, type DeleteBillingRuleResponse, type DeleteBudgetAlertResponse, type DeleteBudgetResponse, type DeleteBusinessMetricResponse, type DeleteBusinessMetricValuesRequest, type DeleteBusinessMetricValuesResponse, 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 DeleteSsoConnectionForManagedAccountResponse, type DeleteTeamResponse, type DeleteUserCostsUploadResponse, type DeleteVirtualTagConfigResponse, type DeleteWorkspaceResponse, type DownloadInvoiceRequest, type DownloadInvoiceResponse, type GetAccessGrantResponse, type GetAccessGrantsRequest, type GetAccessGrantsResponse, type GetAnomalyAlertResponse, type GetAnomalyAlertsRequest, type GetAnomalyAlertsResponse, type GetAnomalyNotificationResponse, type GetAnomalyNotificationsRequest, type GetAnomalyNotificationsResponse, type GetAsyncVirtualTagConfigStatusResponse, type GetAuditLogResponse, type GetAuditLogsRequest, type GetAuditLogsResponse, type GetBillingProfileResponse, type GetBillingProfilesRequest, type GetBillingProfilesResponse, type GetBillingRuleResponse, type GetBillingRulesRequest, type GetBillingRulesResponse, type GetBudgetAlertResponse, type GetBudgetAlertsRequest, type GetBudgetAlertsResponse, type GetBudgetRequest, type GetBudgetResponse, type GetBudgetsRequest, type GetBudgetsResponse, type GetBusinessMetricForecastedValuesRequest, type GetBusinessMetricForecastedValuesResponse, type GetBusinessMetricResponse, type GetBusinessMetricValuesRequest, type GetBusinessMetricValuesResponse, type GetBusinessMetricsRequest, type GetBusinessMetricsResponse, type GetCostAlertEventResponse, type GetCostAlertEventsRequest, type GetCostAlertEventsResponse, type GetCostAlertResponse, type GetCostAlertsResponse, type GetCostProviderAccountsRequest, type GetCostProviderAccountsResponse, type GetCostProvidersRequest, type GetCostProvidersResponse, type GetCostReportResponse, type GetCostReportsRequest, type GetCostReportsResponse, type GetCostServicesRequest, type GetCostServicesResponse, type GetCostsRequest, type GetCostsResponse, type GetDashboardResponse, type GetDashboardsRequest, type GetDashboardsResponse, type GetDataExportResponse, type GetExchangeRatesRequest, type GetExchangeRatesResponse, type GetFinancialCommitmentReportResponse, type GetFinancialCommitmentReportsRequest, type GetFinancialCommitmentReportsResponse, type GetFinancialCommitmentsRequest, type GetFinancialCommitmentsResponse, type GetFolderResponse, type GetFoldersRequest, type GetFoldersResponse, type GetForecastedCostsRequest, type GetForecastedCostsResponse, type GetIntegrationResponse, type GetIntegrationsRequest, type GetIntegrationsResponse, type GetInvoiceCostReportResponse, type GetInvoiceResponse, type GetInvoicesRequest, type GetInvoicesResponse, type GetKubernetesEfficiencyReportResponse, type GetKubernetesEfficiencyReportsRequest, type GetKubernetesEfficiencyReportsResponse, type GetManagedAccountResponse, type GetManagedAccountsRequest, type GetManagedAccountsResponse, type GetMeResponse, type GetNetworkFlowReportResponse, type GetNetworkFlowReportsRequest, type GetNetworkFlowReportsResponse, type GetPriceResponse, type GetPricesRequest, type GetPricesResponse, type GetProductResponse, type GetProductsRequest, type GetProductsResponse, type GetRecommendationResourceResponse, type GetRecommendationResourcesRequest, type GetRecommendationResourcesResponse, type GetRecommendationResponse, type GetRecommendationTypeResourcesRequest, type GetRecommendationTypeResourcesResponse, type GetRecommendationViewResponse, type GetRecommendationViewsRequest, type GetRecommendationViewsResponse, type GetRecommendationsRequest, type GetRecommendationsResponse, type GetReportNotificationResponse, type GetReportNotificationsRequest, type GetReportNotificationsResponse, type GetReportResourcesRequest, type GetReportResourcesResponse, type GetResourceReportColumnsRequest, type GetResourceReportColumnsResponse, type GetResourceReportResponse, type GetResourceReportsRequest, type GetResourceReportsResponse, type GetResourceRequest, type GetResourceResponse, type GetSavedFilterResponse, type GetSavedFiltersRequest, type GetSavedFiltersResponse, type GetSegmentResponse, type GetSegmentsRequest, type GetSegmentsResponse, type GetTagValuesRequest, type GetTagValuesResponse, type GetTagsRequest, type GetTagsResponse, type GetTeamMembersRequest, type GetTeamMembersResponse, type GetTeamResponse, type GetTeamsRequest, type GetTeamsResponse, type GetUnitCostsRequest, type GetUnitCostsResponse, type GetUserCostsUploadsResponse, type GetUserResponse, type GetUsersRequest, type GetUsersResponse, type GetVirtualTagConfigResponse, type GetVirtualTagConfigStatusResponse, type GetVirtualTagConfigsResponse, type GetWorkspaceResponse, type GetWorkspacesRequest, type GetWorkspacesResponse, type NoSlashString, type Path, type PathResponseEdgecases, 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 UpdateMeRequest, type UpdateMeResponse, type UpdateNetworkFlowReportRequest, type UpdateNetworkFlowReportResponse, type UpdateRecommendationViewRequest, type UpdateRecommendationViewResponse, type UpdateReportNotificationRequest, type UpdateReportNotificationResponse, type UpdateResourceReportRequest, type UpdateResourceReportResponse, type UpdateSavedFilterRequest, type UpdateSavedFilterResponse, type UpdateSegmentRequest, type UpdateSegmentResponse, type UpdateSsoConnectionForManagedAccountRequest, type UpdateSsoConnectionForManagedAccountResponse, type UpdateTagRequest, type UpdateTagResponse, type UpdateTeamRequest, type UpdateTeamResponse, type UpdateUserRequest, type UpdateUserResponse, type UpdateVirtualTagConfigRequest, type UpdateVirtualTagConfigResponse, type UpdateWorkspaceRequest, type UpdateWorkspaceResponse, VantageAPIError, pathEncode };
21969
+ 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 CreateCanvasRequest, type CreateCanvasResponse, type CreateCostAlertRequest, type CreateCostAlertResponse, type CreateCostExportRequest, type CreateCostExportResponse, type CreateCostReportRequest, type CreateCostReportResponse, type CreateCustomProviderIntegrationRequest, type CreateCustomProviderIntegrationResponse, type CreateDashboardRequest, type CreateDashboardResponse, type CreateExchangeRatesViaCsvRequest, type CreateExchangeRatesViaCsvResponse, type CreateFinancialCommitmentReportRequest, type CreateFinancialCommitmentReportResponse, type CreateFolderRequest, type CreateFolderResponse, type CreateGCPIntegrationRequest, type CreateGCPIntegrationResponse, type CreateInvoiceRequest, type CreateInvoiceResponse, type CreateKubernetesEfficiencyReportExportRequest, type CreateKubernetesEfficiencyReportExportResponse, type CreateKubernetesEfficiencyReportRequest, type CreateKubernetesEfficiencyReportResponse, type CreateManagedAccountRequest, type CreateManagedAccountResponse, type CreateNetworkFlowReportRequest, type CreateNetworkFlowReportResponse, type CreateRecommendationViewRequest, type CreateRecommendationViewResponse, type CreateReportNotificationRequest, type CreateReportNotificationResponse, type CreateResourceReportRequest, type CreateResourceReportResponse, type CreateSavedFilterRequest, type CreateSavedFilterResponse, type CreateSegmentRequest, type CreateSegmentResponse, type CreateSsoConnectionForManagedAccountRequest, type CreateSsoConnectionForManagedAccountResponse, type CreateTeamRequest, type CreateTeamResponse, type CreateUnitCostsExportRequest, type CreateUnitCostsExportResponse, type CreateUserCostsUploadViaCsvRequest, type CreateUserCostsUploadViaCsvResponse, type CreateUserFeedbackRequest, type CreateUserFeedbackResponse, type CreateVirtualTagConfigRequest, type CreateVirtualTagConfigResponse, type CreateWorkspaceRequest, type CreateWorkspaceResponse, type DeleteAccessGrantResponse, type DeleteAnomalyNotificationResponse, type DeleteBillingProfileResponse, type DeleteBillingRuleResponse, type DeleteBudgetAlertResponse, type DeleteBudgetResponse, type DeleteBusinessMetricResponse, type DeleteBusinessMetricValuesRequest, type DeleteBusinessMetricValuesResponse, type DeleteCanvasResponse, 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 DeleteSsoConnectionForManagedAccountResponse, type DeleteTeamResponse, type DeleteUserCostsUploadResponse, type DeleteVirtualTagConfigResponse, type DeleteWorkspaceResponse, 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 GetCanvasResponse, type GetCanvasesRequest, type GetCanvasesResponse, type GetCostAlertEventResponse, type GetCostAlertEventsRequest, type GetCostAlertEventsResponse, type GetCostAlertResponse, type GetCostAlertsResponse, type GetCostProviderAccountsRequest, type GetCostProviderAccountsResponse, type GetCostProvidersRequest, type GetCostProvidersResponse, type GetCostReportResponse, type GetCostReportsRequest, type GetCostReportsResponse, type GetCostServicesRequest, type GetCostServicesResponse, type GetCostsRequest, type GetCostsResponse, type GetDashboardResponse, type GetDashboardsRequest, type GetDashboardsResponse, type GetDataExportResponse, type GetExchangeRatesRequest, type GetExchangeRatesResponse, type GetFinancialCommitmentReportResponse, type GetFinancialCommitmentReportsRequest, type GetFinancialCommitmentReportsResponse, type GetFinancialCommitmentsRequest, type GetFinancialCommitmentsResponse, type GetFolderResponse, type GetFoldersRequest, type GetFoldersResponse, type GetForecastedCostsRequest, type GetForecastedCostsResponse, type GetIntegrationResponse, type GetIntegrationsRequest, type GetIntegrationsResponse, type GetInvoiceCostReportResponse, type GetInvoiceResponse, type GetInvoicesRequest, type GetInvoicesResponse, type GetKubernetesEfficiencyReportResponse, type GetKubernetesEfficiencyReportsRequest, type GetKubernetesEfficiencyReportsResponse, type GetManagedAccountResponse, type GetManagedAccountsRequest, type GetManagedAccountsResponse, type GetMeResponse, type GetNetworkFlowReportResponse, type GetNetworkFlowReportsRequest, type GetNetworkFlowReportsResponse, type GetPriceResponse, type GetPricesRequest, type GetPricesResponse, type GetProductResponse, type GetProductsRequest, type GetProductsResponse, type GetRecommendationResourceResponse, type GetRecommendationResourcesRequest, type GetRecommendationResourcesResponse, type GetRecommendationResponse, type GetRecommendationTypeResourcesRequest, type GetRecommendationTypeResourcesResponse, type GetRecommendationViewResponse, type GetRecommendationViewsRequest, type GetRecommendationViewsResponse, type GetRecommendationsRequest, type GetRecommendationsResponse, type GetReportNotificationResponse, type GetReportNotificationsRequest, type GetReportNotificationsResponse, type GetReportResourcesRequest, type GetReportResourcesResponse, type GetResourceReportColumnsRequest, type GetResourceReportColumnsResponse, type GetResourceReportResponse, type GetResourceReportsRequest, type GetResourceReportsResponse, type GetResourceRequest, type GetResourceResponse, type GetSavedFilterResponse, type GetSavedFiltersRequest, type GetSavedFiltersResponse, type GetSegmentResponse, type GetSegmentsRequest, type GetSegmentsResponse, type GetTagValuesRequest, type GetTagValuesResponse, type GetTagsRequest, type GetTagsResponse, type GetTeamMembersRequest, type GetTeamMembersResponse, type GetTeamResponse, type GetTeamsRequest, type GetTeamsResponse, type GetUnitCostsRequest, type GetUnitCostsResponse, type GetUserCostsUploadsResponse, type GetUserResponse, type GetUsersRequest, type GetUsersResponse, type GetVirtualTagConfigResponse, type GetVirtualTagConfigStatusResponse, type GetVirtualTagConfigsResponse, type GetWorkspaceResponse, type GetWorkspacesRequest, type GetWorkspacesResponse, type NoSlashString, type Path, type PathResponseEdgecases, 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 UpdateCanvasRequest, type UpdateCanvasResponse, 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 UpdateMeRequest, type UpdateMeResponse, type UpdateNetworkFlowReportRequest, type UpdateNetworkFlowReportResponse, type UpdateRecommendationViewRequest, type UpdateRecommendationViewResponse, type UpdateReportNotificationRequest, type UpdateReportNotificationResponse, type UpdateResourceReportRequest, type UpdateResourceReportResponse, type UpdateSavedFilterRequest, type UpdateSavedFilterResponse, type UpdateSegmentRequest, type UpdateSegmentResponse, type UpdateSsoConnectionForManagedAccountRequest, type UpdateSsoConnectionForManagedAccountResponse, type UpdateTagRequest, type UpdateTagResponse, type UpdateTeamRequest, type UpdateTeamResponse, type UpdateUserRequest, type UpdateUserResponse, type UpdateVirtualTagConfigRequest, type UpdateVirtualTagConfigResponse, type UpdateWorkspaceRequest, type UpdateWorkspaceResponse, VantageAPIError, pathEncode };