@vantage-sh/vantage-client 2.2.1 → 2.3.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
@@ -1421,7 +1421,11 @@ interface paths {
1421
1421
  * @description Configure SSO for a Managed Account.
1422
1422
  */
1423
1423
  post: operations["createSsoConnectionForManagedAccount"];
1424
- delete?: never;
1424
+ /**
1425
+ * Delete SSO connection for managed account
1426
+ * @description Delete SSO connection for a Managed Account.
1427
+ */
1428
+ delete: operations["deleteSsoConnectionForManagedAccount"];
1425
1429
  options?: never;
1426
1430
  head?: never;
1427
1431
  patch?: never;
@@ -1439,7 +1443,11 @@ interface paths {
1439
1443
  * @description Get information about the authenticated BearerToken.
1440
1444
  */
1441
1445
  get: operations["getMe"];
1442
- put?: never;
1446
+ /**
1447
+ * Update authenticated user
1448
+ * @description Update the authenticated User.
1449
+ */
1450
+ put: operations["updateMe"];
1443
1451
  post?: never;
1444
1452
  delete?: never;
1445
1453
  options?: never;
@@ -2271,7 +2279,11 @@ interface paths {
2271
2279
  * @description Return a specific User.
2272
2280
  */
2273
2281
  get: operations["getUser"];
2274
- put?: never;
2282
+ /**
2283
+ * Update a user
2284
+ * @description Update a specific User.
2285
+ */
2286
+ put: operations["updateUser"];
2275
2287
  post?: never;
2276
2288
  delete?: never;
2277
2289
  options?: never;
@@ -3123,7 +3135,7 @@ interface components {
3123
3135
  */
3124
3136
  created_at: string;
3125
3137
  /** @description The token for the Workspace the ResourceReport is a part of. */
3126
- workspace_token: string;
3138
+ workspace_token: string | null;
3127
3139
  /** @description The token for the User who created this BudgetAlert. */
3128
3140
  user_token?: string | null;
3129
3141
  /** @description The Users that receive the alert. */
@@ -3971,21 +3983,21 @@ interface components {
3971
3983
  /** @description Report settings. */
3972
3984
  settings?: {
3973
3985
  /** @description Report will include credits. */
3974
- include_credits?: boolean;
3986
+ include_credits?: boolean | null;
3975
3987
  /** @description Report will include refunds. */
3976
- include_refunds?: boolean;
3988
+ include_refunds?: boolean | null;
3977
3989
  /** @description Report will include discounts. */
3978
- include_discounts?: boolean;
3990
+ include_discounts?: boolean | null;
3979
3991
  /** @description Report will include tax. */
3980
- include_tax?: boolean;
3992
+ include_tax?: boolean | null;
3981
3993
  /** @description Report will amortize. */
3982
- amortize?: boolean;
3994
+ amortize?: boolean | null;
3983
3995
  /** @description Report will show unallocated costs. */
3984
- unallocated?: boolean;
3996
+ unallocated?: boolean | null;
3985
3997
  /** @description Report will aggregate by cost or usage. */
3986
- aggregate_by?: string;
3998
+ aggregate_by?: string | null;
3987
3999
  /** @description Report will show previous period costs or usage comparison. */
3988
- show_previous_period?: boolean;
4000
+ show_previous_period?: boolean | null;
3989
4001
  };
3990
4002
  /** @description Report chart settings. */
3991
4003
  chart_settings?: {
@@ -4042,7 +4054,7 @@ interface components {
4042
4054
  * @default vntg
4043
4055
  * @enum {string}
4044
4056
  */
4045
- schema?: "vntg" | "focus";
4057
+ schema?: "vntg" | "focus" | "comparison";
4046
4058
  };
4047
4059
  /** @description Costs model */
4048
4060
  Costs: {
@@ -4739,6 +4751,14 @@ interface components {
4739
4751
  */
4740
4752
  file_type: "pdf" | "csv";
4741
4753
  };
4754
+ /** @description DownloadInvoice model */
4755
+ DownloadInvoice: {
4756
+ /**
4757
+ * @description The URL to download the invoice file.
4758
+ * @example https://example.com/invoice.pdf
4759
+ */
4760
+ download_url: string;
4761
+ };
4742
4762
  /** @description SendInvoice model */
4743
4763
  SendInvoice: {
4744
4764
  recipients: string[];
@@ -4913,6 +4933,13 @@ interface components {
4913
4933
  email_domain?: string | null;
4914
4934
  /** @description Token of the MSP billing profile used for this managed account (MSP invoicing accounts only) */
4915
4935
  msp_billing_profile_token?: string | null;
4936
+ /**
4937
+ * Format: int32
4938
+ * @description Number of days until payment is due after invoice date (MSP invoicing accounts only)
4939
+ */
4940
+ payment_terms_days?: number | null;
4941
+ /** @description Whether to include managed account's own integrations in invoice cost calculations (MSP invoicing accounts only) */
4942
+ include_managed_account_integrations?: boolean | null;
4916
4943
  billing_information_attributes?: components["schemas"]["BillingInformation"];
4917
4944
  business_information_attributes?: components["schemas"]["BusinessInformation"];
4918
4945
  };
@@ -4943,6 +4970,13 @@ interface components {
4943
4970
  email_domain?: string;
4944
4971
  /** @description Token of the MSP billing profile to use for this managed account (MSP invoicing accounts only). */
4945
4972
  msp_billing_profile_token?: string;
4973
+ /**
4974
+ * Format: int32
4975
+ * @description Number of days until payment is due after invoice date (MSP invoicing accounts only). Defaults to 10.
4976
+ */
4977
+ payment_terms_days?: number;
4978
+ /** @description Whether to include managed account's own integrations in invoice cost calculations (MSP invoicing accounts only). Defaults to false. */
4979
+ include_managed_account_integrations?: boolean;
4946
4980
  /** @description Billing address and contact information (MSP invoicing accounts only) */
4947
4981
  billing_information_attributes?: {
4948
4982
  /** Format: int32 */
@@ -5004,6 +5038,8 @@ interface components {
5004
5038
  /** @description Me model */
5005
5039
  Me: {
5006
5040
  default_workspace_token: string | null;
5041
+ /** @description The token of the default Dashboard for the User. */
5042
+ default_dashboard_token?: string | null;
5007
5043
  workspaces: components["schemas"]["Workspace"][];
5008
5044
  bearer_token: components["schemas"]["BearerToken"];
5009
5045
  };
@@ -5041,6 +5077,11 @@ interface components {
5041
5077
  /** @description The scopes applied to the BearerToken used to authenticate this request. */
5042
5078
  scope: string[];
5043
5079
  };
5080
+ /** @description Update the authenticated User. */
5081
+ updateMe: {
5082
+ /** @description The token of a Dashboard to set as the User default. Send null to clear. */
5083
+ default_dashboard_token?: string;
5084
+ };
5044
5085
  /** @description CostProviders model */
5045
5086
  CostProviders: {
5046
5087
  links?: components["schemas"]["Links"];
@@ -5771,15 +5812,15 @@ interface components {
5771
5812
  /** @description Report settings configurable on top-level Segments. */
5772
5813
  report_settings?: {
5773
5814
  /** @description Reports created under this Segment will include credits. */
5774
- include_credits?: boolean;
5815
+ include_credits?: boolean | null;
5775
5816
  /** @description Reports created under this Segment will include refunds. */
5776
- include_refunds?: boolean;
5817
+ include_refunds?: boolean | null;
5777
5818
  /** @description Reports created under this Segment will include discounts. */
5778
- include_discounts?: boolean;
5819
+ include_discounts?: boolean | null;
5779
5820
  /** @description Reports created under this Segment will include tax. */
5780
- include_tax?: boolean;
5821
+ include_tax?: boolean | null;
5781
5822
  /** @description Reports created under this Segment will amortize. */
5782
- amortize?: boolean;
5823
+ amortize?: boolean | null;
5783
5824
  };
5784
5825
  /** @description The token of the Workspace to add the Segment to. Ignored if 'segment_token' is set. Required if the API token is associated with multiple Workspaces. */
5785
5826
  workspace_token?: string;
@@ -5807,15 +5848,15 @@ interface components {
5807
5848
  /** @description Report settings configurable on top-level Segments. */
5808
5849
  report_settings?: {
5809
5850
  /** @description Reports created under this Segment will include credits. */
5810
- include_credits?: boolean;
5851
+ include_credits?: boolean | null;
5811
5852
  /** @description Reports created under this Segment will include refunds. */
5812
- include_refunds?: boolean;
5853
+ include_refunds?: boolean | null;
5813
5854
  /** @description Reports created under this Segment will include discounts. */
5814
- include_discounts?: boolean;
5855
+ include_discounts?: boolean | null;
5815
5856
  /** @description Reports created under this Segment will include tax. */
5816
- include_tax?: boolean;
5857
+ include_tax?: boolean | null;
5817
5858
  /** @description Reports created under this Segment will amortize. */
5818
- amortize?: boolean;
5859
+ amortize?: boolean | null;
5819
5860
  };
5820
5861
  /** @description The filter query language to apply to the Segment. Additional documentation available at https://docs.vantage.sh/vql. */
5821
5862
  filter?: string;
@@ -5883,6 +5924,11 @@ interface components {
5883
5924
  user_emails: string[];
5884
5925
  /** @description The tokens for Users that belong to the Team */
5885
5926
  user_tokens: string[];
5927
+ /**
5928
+ * @description The token of the default Dashboard for the Team.
5929
+ * @example dshbrd_abcd1234
5930
+ */
5931
+ default_dashboard_token: string | null;
5886
5932
  };
5887
5933
  /** @description Create a new Team. */
5888
5934
  createTeam: {
@@ -5901,6 +5947,8 @@ interface components {
5901
5947
  * @enum {string}
5902
5948
  */
5903
5949
  role?: "owner" | "editor" | "viewer";
5950
+ /** @description The token of a Dashboard to set as the Team default. Send null to clear. */
5951
+ default_dashboard_token?: string | null;
5904
5952
  };
5905
5953
  /** @description Update a Team. */
5906
5954
  updateTeam: {
@@ -5919,6 +5967,8 @@ interface components {
5919
5967
  * @enum {string}
5920
5968
  */
5921
5969
  role?: "owner" | "editor" | "viewer";
5970
+ /** @description The token of a Dashboard to set as the Team default. Send null to clear. */
5971
+ default_dashboard_token?: string | null;
5922
5972
  };
5923
5973
  /** @description TeamMembers model */
5924
5974
  TeamMembers: {
@@ -6037,12 +6087,22 @@ interface components {
6037
6087
  * @example Admin
6038
6088
  */
6039
6089
  role: string;
6090
+ /**
6091
+ * @description The token of the default Dashboard for the User.
6092
+ * @example dshbrd_abcdef123456
6093
+ */
6094
+ default_dashboard_token?: string | null;
6040
6095
  /**
6041
6096
  * @description The last time the User logged in.
6042
6097
  * @example 2024-01-01T00:00:00Z
6043
6098
  */
6044
6099
  last_seen_at?: string | null;
6045
6100
  };
6101
+ /** @description Update a specific User. */
6102
+ updateUser: {
6103
+ /** @description The token of a Dashboard to set as the User default. Send null to clear. */
6104
+ default_dashboard_token?: string;
6105
+ };
6046
6106
  /** @description VirtualTagConfigs model */
6047
6107
  VirtualTagConfigs: {
6048
6108
  virtual_tag_configs: components["schemas"]["VirtualTagConfig"][];
@@ -6068,7 +6128,7 @@ interface components {
6068
6128
  overridable: boolean;
6069
6129
  /**
6070
6130
  * @description The earliest month VirtualTagConfig should be backfilled to.
6071
- * @example 2025-08-01
6131
+ * @example 2025-09-01
6072
6132
  */
6073
6133
  backfill_until: string;
6074
6134
  /** @description Tag keys to collapse values for. */
@@ -6250,6 +6310,19 @@ interface components {
6250
6310
  }[];
6251
6311
  }[];
6252
6312
  };
6313
+ /** @description AsyncVirtualTagConfigUpdate model */
6314
+ AsyncVirtualTagConfigUpdate: {
6315
+ /**
6316
+ * @description The request ID of the async virtual tag config update.
6317
+ * @example 550e8400-e29b-41d4-a716-446655440000
6318
+ */
6319
+ request_id: string;
6320
+ /**
6321
+ * @description The status path of the async virtual tag config update.
6322
+ * @example /v2/virtual_tag_configs/async/550e8400-e29b-41d4-a716-446655440000
6323
+ */
6324
+ status_url: string;
6325
+ };
6253
6326
  /** @description Asynchronously updates an existing VirtualTagConfig. */
6254
6327
  updateAsyncVirtualTagConfig: {
6255
6328
  /** @description The key of the VirtualTagConfig. */
@@ -11312,7 +11385,9 @@ interface operations {
11312
11385
  headers: {
11313
11386
  [name: string]: unknown;
11314
11387
  };
11315
- content?: never;
11388
+ content: {
11389
+ "application/json": components["schemas"]["DownloadInvoice"];
11390
+ };
11316
11391
  };
11317
11392
  /** @description NotFound */
11318
11393
  404: {
@@ -12060,6 +12135,45 @@ interface operations {
12060
12135
  };
12061
12136
  };
12062
12137
  };
12138
+ deleteSsoConnectionForManagedAccount: {
12139
+ parameters: {
12140
+ query?: never;
12141
+ header?: never;
12142
+ path: {
12143
+ managed_account_token: string;
12144
+ };
12145
+ cookie?: never;
12146
+ };
12147
+ requestBody?: never;
12148
+ responses: {
12149
+ 204: {
12150
+ headers: {
12151
+ [name: string]: unknown;
12152
+ };
12153
+ content: {
12154
+ "application/json": components["schemas"]["ManagedAccount"];
12155
+ };
12156
+ };
12157
+ /** @description BadRequest */
12158
+ 400: {
12159
+ headers: {
12160
+ [name: string]: unknown;
12161
+ };
12162
+ content: {
12163
+ "application/json": components["schemas"]["Errors"];
12164
+ };
12165
+ };
12166
+ /** @description NotFound */
12167
+ 404: {
12168
+ headers: {
12169
+ [name: string]: unknown;
12170
+ };
12171
+ content: {
12172
+ "application/json": components["schemas"]["Errors"];
12173
+ };
12174
+ };
12175
+ };
12176
+ };
12063
12177
  getMe: {
12064
12178
  parameters: {
12065
12179
  query?: never;
@@ -12080,6 +12194,38 @@ interface operations {
12080
12194
  };
12081
12195
  };
12082
12196
  };
12197
+ updateMe: {
12198
+ parameters: {
12199
+ query?: never;
12200
+ header?: never;
12201
+ path?: never;
12202
+ cookie?: never;
12203
+ };
12204
+ requestBody: {
12205
+ content: {
12206
+ "application/json": components["schemas"]["updateMe"];
12207
+ };
12208
+ };
12209
+ responses: {
12210
+ 200: {
12211
+ headers: {
12212
+ [name: string]: unknown;
12213
+ };
12214
+ content: {
12215
+ "application/json": components["schemas"]["Me"];
12216
+ };
12217
+ };
12218
+ /** @description UnprocessableEntity */
12219
+ 422: {
12220
+ headers: {
12221
+ [name: string]: unknown;
12222
+ };
12223
+ content: {
12224
+ "application/json": components["schemas"]["Errors"];
12225
+ };
12226
+ };
12227
+ };
12228
+ };
12083
12229
  getCostProviders: {
12084
12230
  parameters: {
12085
12231
  query?: {
@@ -14768,7 +14914,8 @@ interface operations {
14768
14914
  * ],
14769
14915
  * "user_tokens": [
14770
14916
  * "usr_c59398553e838116"
14771
- * ]
14917
+ * ],
14918
+ * "default_dashboard_token": null
14772
14919
  * }
14773
14920
  * ]
14774
14921
  * }
@@ -14806,7 +14953,8 @@ interface operations {
14806
14953
  * ],
14807
14954
  * "user_tokens": [
14808
14955
  * "usr_a00e614b5843c234"
14809
- * ]
14956
+ * ],
14957
+ * "default_dashboard_token": null
14810
14958
  * }
14811
14959
  */
14812
14960
  "application/json": components["schemas"]["Team"];
@@ -14876,7 +15024,8 @@ interface operations {
14876
15024
  * ],
14877
15025
  * "user_tokens": [
14878
15026
  * "usr_7c309915e847cfc6"
14879
- * ]
15027
+ * ],
15028
+ * "default_dashboard_token": null
14880
15029
  * }
14881
15030
  */
14882
15031
  "application/json": components["schemas"]["Team"];
@@ -14923,7 +15072,8 @@ interface operations {
14923
15072
  * ],
14924
15073
  * "user_tokens": [
14925
15074
  * "usr_d268561e520c7aac"
14926
- * ]
15075
+ * ],
15076
+ * "default_dashboard_token": null
14927
15077
  * }
14928
15078
  */
14929
15079
  "application/json": components["schemas"]["Team"];
@@ -15462,6 +15612,49 @@ interface operations {
15462
15612
  };
15463
15613
  };
15464
15614
  };
15615
+ updateUser: {
15616
+ parameters: {
15617
+ query?: never;
15618
+ header?: never;
15619
+ path: {
15620
+ user_token: string;
15621
+ };
15622
+ cookie?: never;
15623
+ };
15624
+ requestBody: {
15625
+ content: {
15626
+ "application/json": components["schemas"]["updateUser"];
15627
+ };
15628
+ };
15629
+ responses: {
15630
+ 200: {
15631
+ headers: {
15632
+ [name: string]: unknown;
15633
+ };
15634
+ content: {
15635
+ "application/json": components["schemas"]["User"];
15636
+ };
15637
+ };
15638
+ /** @description NotFound */
15639
+ 404: {
15640
+ headers: {
15641
+ [name: string]: unknown;
15642
+ };
15643
+ content: {
15644
+ "application/json": components["schemas"]["Errors"];
15645
+ };
15646
+ };
15647
+ /** @description UnprocessableEntity */
15648
+ 422: {
15649
+ headers: {
15650
+ [name: string]: unknown;
15651
+ };
15652
+ content: {
15653
+ "application/json": components["schemas"]["Errors"];
15654
+ };
15655
+ };
15656
+ };
15657
+ };
15465
15658
  getVirtualTagConfigs: {
15466
15659
  parameters: {
15467
15660
  query?: never;
@@ -15717,6 +15910,15 @@ interface operations {
15717
15910
  "application/json": components["schemas"]["VirtualTagConfig"];
15718
15911
  };
15719
15912
  };
15913
+ /** @description Request accepted for processing */
15914
+ 202: {
15915
+ headers: {
15916
+ [name: string]: unknown;
15917
+ };
15918
+ content: {
15919
+ "application/json": components["schemas"]["AsyncVirtualTagConfigUpdate"];
15920
+ };
15921
+ };
15720
15922
  /** @description BadRequest */
15721
15923
  400: {
15722
15924
  headers: {
@@ -15886,7 +16088,9 @@ interface operations {
15886
16088
  headers: {
15887
16089
  [name: string]: unknown;
15888
16090
  };
15889
- content?: never;
16091
+ content: {
16092
+ "application/json": components["schemas"]["AsyncVirtualTagConfigUpdate"];
16093
+ };
15890
16094
  };
15891
16095
  /** @description BadRequest */
15892
16096
  400: {
@@ -16147,112 +16351,12 @@ interface operations {
16147
16351
  };
16148
16352
  }
16149
16353
 
16150
- /** A string that is guaranteed to not contain slashes. Can be generated with {@link pathEncode} */
16151
- type NoSlashString = string & {
16152
- readonly __noSlash: unique symbol;
16153
- };
16154
- /** Encodes a path segment then returns a type that guarantees to TS it does not contain slashes. */
16155
- declare function pathEncode(value: string): NoSlashString;
16156
- type UnBracket<S extends string> = S extends `${infer X}{${string}}${infer Z}` ? UnBracket<`${X}${NoSlashString}${Z}`> : S;
16157
- type PathsRedefined = {
16158
- [K in keyof paths as `/v2${UnBracket<K>}`]: [paths[K], K];
16159
- };
16160
- /** Defines a union of paths supported by the client. */
16161
- type Path = keyof PathsRedefined;
16162
- type MethodsCased = {
16163
- get: "GET";
16164
- post: "POST";
16165
- put: "PUT";
16166
- delete: "DELETE";
16167
- patch: "PATCH";
16168
- head: "HEAD";
16169
- options: "OPTIONS";
16170
- trace: "TRACE";
16171
- };
16172
- type MethodsInverted = {
16173
- [K in keyof MethodsCased as MethodsCased[K]]: K;
16174
- };
16175
- type MethodsPossiblyUndefined = {
16176
- [K in keyof MethodsCased]?: any;
16177
- };
16178
- type Methods<P extends MethodsPossiblyUndefined> = {
16179
- [K in keyof MethodsCased]: P[K] extends undefined ? never : MethodsCased[K];
16180
- }[keyof MethodsCased];
16181
- /** Defines the supported request methods for a given path. */
16182
- type SupportedMethods<P extends Path> = Methods<PathsRedefined[P][0]>;
16183
- type Query<T extends {
16184
- parameters?: {
16185
- query?: any;
16186
- };
16187
- } | undefined> = T["parameters"]["query"] extends never | undefined ? {} : T["parameters"]["query"];
16188
- type ReqBody<T extends {
16189
- requestBody?: {
16190
- content: any;
16191
- };
16192
- } | undefined> = T extends {
16193
- requestBody: {
16194
- content: {
16195
- "application/json": infer R;
16196
- };
16197
- };
16198
- } ? R : T extends {
16199
- requestBody: {
16200
- content: {
16201
- "multipart/form-data": infer R;
16202
- };
16203
- };
16204
- } ? R : {};
16205
- /** Defines the request body type for a given path and method. */
16206
- type RequestBodyForPathAndMethod<P extends Path, M extends SupportedMethods<P>> = M extends "GET" ? Query<PathsRedefined[P][0][MethodsInverted[M]]> : ReqBody<PathsRedefined[P][0][MethodsInverted[M]]>;
16207
- type ExtendsGoodResponseCode<Code extends number, Output> = {
16208
- [C in Code]: {
16209
- responses: {
16210
- [_ in C]: {
16211
- content: {
16212
- "application/json": Output;
16213
- };
16214
- };
16215
- };
16216
- };
16217
- }[Code];
16218
- /** Patches for specific endpoints go here. This is useful for when the OpenAPI spec is not specific enough for our liking. */
16219
- type PathAndMethodSpecificPatches = {
16220
- "/v2/costs": {
16221
- GET: {
16222
- total_usage?: {
16223
- [usageUnit: string]: string;
16224
- };
16225
- };
16226
- };
16227
- };
16228
- type LookupTableType = {
16229
- [P in Path]: Partial<{
16230
- [M in SupportedMethods<P>]: any;
16231
- }>;
16232
- };
16233
- type ExecutePatch<Patch, Response> = keyof Patch extends never ? Response : Omit<Response, keyof Patch> & Patch;
16234
- type DoPathSpecificPatches<P extends Path, M extends SupportedMethods<P>, Response, LookupTable extends Partial<LookupTableType>> = LookupTable[P] extends never ? Response : ExecutePatch<LookupTable[P][M], Response>;
16235
- /** Defines the response body type for a given path and method. */
16236
- type ResponseBodyForPathAndMethod<P extends Path, M extends SupportedMethods<P>> = PathsRedefined[P][0][MethodsInverted[M]] extends ExtendsGoodResponseCode<200 | 201 | 202 | 203, infer R> ? DoPathSpecificPatches<P, M, R, PathAndMethodSpecificPatches> : void;
16237
- /** Defines a vantage API failure */
16238
- declare class VantageAPIError extends Error {
16239
- readonly status: number | null;
16240
- readonly statusText: string | null;
16241
- readonly body: string;
16242
- readonly errors: string[] | null;
16243
- constructor(status: number | null, statusText: string | null, body: string);
16244
- }
16245
- type NeverThrowResult<T> = [null, VantageAPIError] | [T, null];
16246
- /** Defines the base client for all API requests. */
16247
- declare class BaseClient<NeverThrow extends boolean> {
16248
- private readonly bearerToken;
16249
- private readonly neverThrow;
16250
- readonly baseUrl: string;
16251
- constructor(bearerToken: string, neverThrow: NeverThrow, baseUrl: string);
16252
- /** Sends a request to the API. */
16253
- 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>>;
16354
+ interface PathResponseEdgecases {
16355
+ "POST /v2/costs/data_exports": string;
16356
+ "POST /v2/kubernetes_efficiency_reports/data_exports": string;
16357
+ "POST /v2/unit_costs/data_exports": string;
16358
+ [key: `GET /v2/virtual_tag_configs/async/${NoSlashString}`]: boolean;
16254
16359
  }
16255
-
16256
16360
  /**
16257
16361
  * Return all Access Grants that the current API token has access to.
16258
16362
  */
@@ -16961,10 +17065,22 @@ type CreateSsoConnectionForManagedAccountRequest = RequestBodyForPathAndMethod<`
16961
17065
  * Response type for Configure SSO for managed account
16962
17066
  */
16963
17067
  type CreateSsoConnectionForManagedAccountResponse = ResponseBodyForPathAndMethod<`/v2/managed_accounts/${NoSlashString}/sso_connection`, "POST">;
17068
+ /**
17069
+ * Response type for Delete SSO connection for managed account
17070
+ */
17071
+ type DeleteSsoConnectionForManagedAccountResponse = ResponseBodyForPathAndMethod<`/v2/managed_accounts/${NoSlashString}/sso_connection`, "DELETE">;
16964
17072
  /**
16965
17073
  * Response type for Get authenticated user info
16966
17074
  */
16967
17075
  type GetMeResponse = ResponseBodyForPathAndMethod<"/v2/me", "GET">;
17076
+ /**
17077
+ * Update the authenticated User.
17078
+ */
17079
+ type UpdateMeRequest = RequestBodyForPathAndMethod<"/v2/me", "PUT">;
17080
+ /**
17081
+ * Response type for Update authenticated user
17082
+ */
17083
+ type UpdateMeResponse = ResponseBodyForPathAndMethod<"/v2/me", "PUT">;
16968
17084
  /**
16969
17085
  * List CostProviders available to query in a given Workspace.
16970
17086
  */
@@ -17365,6 +17481,14 @@ type GetUsersResponse = ResponseBodyForPathAndMethod<"/v2/users", "GET">;
17365
17481
  * Response type for Get user by token
17366
17482
  */
17367
17483
  type GetUserResponse = ResponseBodyForPathAndMethod<`/v2/users/${NoSlashString}`, "GET">;
17484
+ /**
17485
+ * Update a specific User.
17486
+ */
17487
+ type UpdateUserRequest = RequestBodyForPathAndMethod<`/v2/users/${NoSlashString}`, "PUT">;
17488
+ /**
17489
+ * Response type for Update a user
17490
+ */
17491
+ type UpdateUserResponse = ResponseBodyForPathAndMethod<`/v2/users/${NoSlashString}`, "PUT">;
17368
17492
  /**
17369
17493
  * Response type for Get all virtual tag configs
17370
17494
  */
@@ -17447,6 +17571,7 @@ declare class APIV2Client<NeverThrow extends boolean = false> extends BaseClient
17447
17571
  * @param baseUrl The base URL for the API. Defaults to "https://api.vantage.sh".
17448
17572
  */
17449
17573
  constructor(bearerToken: string, neverThrow?: NeverThrow, baseUrl?: string);
17574
+ protected routeEdgecases: ReadonlyMap<string, string>;
17450
17575
  private _accessGrants?;
17451
17576
  private _anomalyAlerts?;
17452
17577
  private _anomalyNotifications?;
@@ -18052,7 +18177,7 @@ declare class BudgetAlertsApi<NeverThrow extends boolean> {
18052
18177
  token: string;
18053
18178
  budget_tokens: string[];
18054
18179
  created_at: string;
18055
- workspace_token: string;
18180
+ workspace_token: string | null;
18056
18181
  user_token?: string | null;
18057
18182
  user_tokens: string[];
18058
18183
  duration_in_days: number | null;
@@ -18064,7 +18189,7 @@ declare class BudgetAlertsApi<NeverThrow extends boolean> {
18064
18189
  token: string;
18065
18190
  budget_tokens: string[];
18066
18191
  created_at: string;
18067
- workspace_token: string;
18192
+ workspace_token: string | null;
18068
18193
  user_token?: string | null;
18069
18194
  user_tokens: string[];
18070
18195
  duration_in_days: number | null;
@@ -18080,7 +18205,7 @@ declare class BudgetAlertsApi<NeverThrow extends boolean> {
18080
18205
  token: string;
18081
18206
  budget_tokens: string[];
18082
18207
  created_at: string;
18083
- workspace_token: string;
18208
+ workspace_token: string | null;
18084
18209
  user_token?: string | null;
18085
18210
  user_tokens: string[];
18086
18211
  duration_in_days: number | null;
@@ -18092,7 +18217,7 @@ declare class BudgetAlertsApi<NeverThrow extends boolean> {
18092
18217
  token: string;
18093
18218
  budget_tokens: string[];
18094
18219
  created_at: string;
18095
- workspace_token: string;
18220
+ workspace_token: string | null;
18096
18221
  user_token?: string | null;
18097
18222
  user_tokens: string[];
18098
18223
  duration_in_days: number | null;
@@ -18108,7 +18233,7 @@ declare class BudgetAlertsApi<NeverThrow extends boolean> {
18108
18233
  token: string;
18109
18234
  budget_tokens: string[];
18110
18235
  created_at: string;
18111
- workspace_token: string;
18236
+ workspace_token: string | null;
18112
18237
  user_token?: string | null;
18113
18238
  user_tokens: string[];
18114
18239
  duration_in_days: number | null;
@@ -18120,7 +18245,7 @@ declare class BudgetAlertsApi<NeverThrow extends boolean> {
18120
18245
  token: string;
18121
18246
  budget_tokens: string[];
18122
18247
  created_at: string;
18123
- workspace_token: string;
18248
+ workspace_token: string | null;
18124
18249
  user_token?: string | null;
18125
18250
  user_tokens: string[];
18126
18251
  duration_in_days: number | null;
@@ -18706,7 +18831,7 @@ declare class CostsApi<NeverThrow extends boolean> {
18706
18831
  /**
18707
18832
  * Generate a DataExport of costs.
18708
18833
  */
18709
- createExport(body: CreateCostExportRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
18834
+ createExport(body: CreateCostExportRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [string, null] : string>;
18710
18835
  }
18711
18836
  declare class DashboardsApi<NeverThrow extends boolean> {
18712
18837
  private client;
@@ -19292,7 +19417,11 @@ declare class InvoicesApi<NeverThrow extends boolean> {
19292
19417
  /**
19293
19418
  * Download invoice file (PDF or CSV).
19294
19419
  */
19295
- downloadInvoice(invoiceToken: string, body: DownloadInvoiceRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
19420
+ downloadInvoice(invoiceToken: string, body: DownloadInvoiceRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
19421
+ download_url: string;
19422
+ }, null] : {
19423
+ download_url: string;
19424
+ }>;
19296
19425
  /**
19297
19426
  * Send invoice via email.
19298
19427
  */
@@ -19462,21 +19591,7 @@ declare class KubernetesEfficiencyReportsApi<NeverThrow extends boolean> {
19462
19591
  /**
19463
19592
  * Generate a DataExport of Kubernetes efficiency data.
19464
19593
  */
19465
- createExport(body: CreateKubernetesEfficiencyReportExportRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
19466
- token: string;
19467
- status: string;
19468
- created_at: string;
19469
- export_type: string;
19470
- manifest: components["schemas"]["DataExportManifest"];
19471
- attributes: Record<string, any>;
19472
- }, null] : {
19473
- token: string;
19474
- status: string;
19475
- created_at: string;
19476
- export_type: string;
19477
- manifest: components["schemas"]["DataExportManifest"];
19478
- attributes: Record<string, any>;
19479
- }>;
19594
+ createExport(body: CreateKubernetesEfficiencyReportExportRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [string, null] : string>;
19480
19595
  }
19481
19596
  declare class ManagedAccountsApi<NeverThrow extends boolean> {
19482
19597
  private client;
@@ -19503,6 +19618,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
19503
19618
  billing_rule_tokens: string[];
19504
19619
  email_domain?: string | null;
19505
19620
  msp_billing_profile_token?: string | null;
19621
+ payment_terms_days?: number | null;
19622
+ include_managed_account_integrations?: boolean | null;
19506
19623
  billing_information_attributes?: components["schemas"]["BillingInformation"];
19507
19624
  business_information_attributes?: components["schemas"]["BusinessInformation"];
19508
19625
  }, null] : {
@@ -19514,6 +19631,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
19514
19631
  billing_rule_tokens: string[];
19515
19632
  email_domain?: string | null;
19516
19633
  msp_billing_profile_token?: string | null;
19634
+ payment_terms_days?: number | null;
19635
+ include_managed_account_integrations?: boolean | null;
19517
19636
  billing_information_attributes?: components["schemas"]["BillingInformation"];
19518
19637
  business_information_attributes?: components["schemas"]["BusinessInformation"];
19519
19638
  }>;
@@ -19529,6 +19648,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
19529
19648
  billing_rule_tokens: string[];
19530
19649
  email_domain?: string | null;
19531
19650
  msp_billing_profile_token?: string | null;
19651
+ payment_terms_days?: number | null;
19652
+ include_managed_account_integrations?: boolean | null;
19532
19653
  billing_information_attributes?: components["schemas"]["BillingInformation"];
19533
19654
  business_information_attributes?: components["schemas"]["BusinessInformation"];
19534
19655
  }, null] : {
@@ -19540,6 +19661,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
19540
19661
  billing_rule_tokens: string[];
19541
19662
  email_domain?: string | null;
19542
19663
  msp_billing_profile_token?: string | null;
19664
+ payment_terms_days?: number | null;
19665
+ include_managed_account_integrations?: boolean | null;
19543
19666
  billing_information_attributes?: components["schemas"]["BillingInformation"];
19544
19667
  business_information_attributes?: components["schemas"]["BusinessInformation"];
19545
19668
  }>;
@@ -19555,6 +19678,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
19555
19678
  billing_rule_tokens: string[];
19556
19679
  email_domain?: string | null;
19557
19680
  msp_billing_profile_token?: string | null;
19681
+ payment_terms_days?: number | null;
19682
+ include_managed_account_integrations?: boolean | null;
19558
19683
  billing_information_attributes?: components["schemas"]["BillingInformation"];
19559
19684
  business_information_attributes?: components["schemas"]["BusinessInformation"];
19560
19685
  }, null] : {
@@ -19566,6 +19691,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
19566
19691
  billing_rule_tokens: string[];
19567
19692
  email_domain?: string | null;
19568
19693
  msp_billing_profile_token?: string | null;
19694
+ payment_terms_days?: number | null;
19695
+ include_managed_account_integrations?: boolean | null;
19569
19696
  billing_information_attributes?: components["schemas"]["BillingInformation"];
19570
19697
  business_information_attributes?: components["schemas"]["BusinessInformation"];
19571
19698
  }>;
@@ -19585,6 +19712,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
19585
19712
  billing_rule_tokens: string[];
19586
19713
  email_domain?: string | null;
19587
19714
  msp_billing_profile_token?: string | null;
19715
+ payment_terms_days?: number | null;
19716
+ include_managed_account_integrations?: boolean | null;
19588
19717
  billing_information_attributes?: components["schemas"]["BillingInformation"];
19589
19718
  business_information_attributes?: components["schemas"]["BusinessInformation"];
19590
19719
  }, null] : {
@@ -19596,6 +19725,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
19596
19725
  billing_rule_tokens: string[];
19597
19726
  email_domain?: string | null;
19598
19727
  msp_billing_profile_token?: string | null;
19728
+ payment_terms_days?: number | null;
19729
+ include_managed_account_integrations?: boolean | null;
19599
19730
  billing_information_attributes?: components["schemas"]["BillingInformation"];
19600
19731
  business_information_attributes?: components["schemas"]["BusinessInformation"];
19601
19732
  }>;
@@ -19611,6 +19742,8 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
19611
19742
  billing_rule_tokens: string[];
19612
19743
  email_domain?: string | null;
19613
19744
  msp_billing_profile_token?: string | null;
19745
+ payment_terms_days?: number | null;
19746
+ include_managed_account_integrations?: boolean | null;
19614
19747
  billing_information_attributes?: components["schemas"]["BillingInformation"];
19615
19748
  business_information_attributes?: components["schemas"]["BusinessInformation"];
19616
19749
  }, null] : {
@@ -19622,9 +19755,15 @@ declare class ManagedAccountsApi<NeverThrow extends boolean> {
19622
19755
  billing_rule_tokens: string[];
19623
19756
  email_domain?: string | null;
19624
19757
  msp_billing_profile_token?: string | null;
19758
+ payment_terms_days?: number | null;
19759
+ include_managed_account_integrations?: boolean | null;
19625
19760
  billing_information_attributes?: components["schemas"]["BillingInformation"];
19626
19761
  business_information_attributes?: components["schemas"]["BusinessInformation"];
19627
19762
  }>;
19763
+ /**
19764
+ * Delete SSO connection for a Managed Account.
19765
+ */
19766
+ deleteSsoConnectionForManagedAccount(managedAccountToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
19628
19767
  }
19629
19768
  declare class MeApi<NeverThrow extends boolean> {
19630
19769
  private client;
@@ -19634,10 +19773,12 @@ declare class MeApi<NeverThrow extends boolean> {
19634
19773
  */
19635
19774
  get(): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
19636
19775
  default_workspace_token: string | null;
19776
+ default_dashboard_token?: string | null;
19637
19777
  workspaces: components["schemas"]["Workspace"][];
19638
19778
  bearer_token: components["schemas"]["BearerToken"];
19639
19779
  }, null] : {
19640
19780
  default_workspace_token: string | null;
19781
+ default_dashboard_token?: string | null;
19641
19782
  workspaces: components["schemas"]["Workspace"][];
19642
19783
  bearer_token: components["schemas"]["BearerToken"];
19643
19784
  }>;
@@ -20505,6 +20646,7 @@ declare class TeamsApi<NeverThrow extends boolean> {
20505
20646
  workspace_tokens: string[];
20506
20647
  user_emails: string[];
20507
20648
  user_tokens: string[];
20649
+ default_dashboard_token: string | null;
20508
20650
  }, null] : {
20509
20651
  token: string;
20510
20652
  name: string;
@@ -20512,6 +20654,7 @@ declare class TeamsApi<NeverThrow extends boolean> {
20512
20654
  workspace_tokens: string[];
20513
20655
  user_emails: string[];
20514
20656
  user_tokens: string[];
20657
+ default_dashboard_token: string | null;
20515
20658
  }>;
20516
20659
  /**
20517
20660
  * Return a specific Team.
@@ -20523,6 +20666,7 @@ declare class TeamsApi<NeverThrow extends boolean> {
20523
20666
  workspace_tokens: string[];
20524
20667
  user_emails: string[];
20525
20668
  user_tokens: string[];
20669
+ default_dashboard_token: string | null;
20526
20670
  }, null] : {
20527
20671
  token: string;
20528
20672
  name: string;
@@ -20530,6 +20674,7 @@ declare class TeamsApi<NeverThrow extends boolean> {
20530
20674
  workspace_tokens: string[];
20531
20675
  user_emails: string[];
20532
20676
  user_tokens: string[];
20677
+ default_dashboard_token: string | null;
20533
20678
  }>;
20534
20679
  /**
20535
20680
  * Update a Team.
@@ -20541,6 +20686,7 @@ declare class TeamsApi<NeverThrow extends boolean> {
20541
20686
  workspace_tokens: string[];
20542
20687
  user_emails: string[];
20543
20688
  user_tokens: string[];
20689
+ default_dashboard_token: string | null;
20544
20690
  }, null] : {
20545
20691
  token: string;
20546
20692
  name: string;
@@ -20548,6 +20694,7 @@ declare class TeamsApi<NeverThrow extends boolean> {
20548
20694
  workspace_tokens: string[];
20549
20695
  user_emails: string[];
20550
20696
  user_tokens: string[];
20697
+ default_dashboard_token: string | null;
20551
20698
  }>;
20552
20699
  /**
20553
20700
  * Delete a Team.
@@ -20598,21 +20745,7 @@ declare class UnitCostsApi<NeverThrow extends boolean> {
20598
20745
  /**
20599
20746
  * Generate a DataExport of unit costs.
20600
20747
  */
20601
- createExport(body: CreateUnitCostsExportRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
20602
- token: string;
20603
- status: string;
20604
- created_at: string;
20605
- export_type: string;
20606
- manifest: components["schemas"]["DataExportManifest"];
20607
- attributes: Record<string, any>;
20608
- }, null] : {
20609
- token: string;
20610
- status: string;
20611
- created_at: string;
20612
- export_type: string;
20613
- manifest: components["schemas"]["DataExportManifest"];
20614
- attributes: Record<string, any>;
20615
- }>;
20748
+ createExport(body: CreateUnitCostsExportRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [string, null] : string>;
20616
20749
  }
20617
20750
  declare class UsersApi<NeverThrow extends boolean> {
20618
20751
  private client;
@@ -20635,12 +20768,32 @@ declare class UsersApi<NeverThrow extends boolean> {
20635
20768
  name: string | null;
20636
20769
  email: string;
20637
20770
  role: string;
20771
+ default_dashboard_token?: string | null;
20638
20772
  last_seen_at?: string | null;
20639
20773
  }, null] : {
20640
20774
  token: string;
20641
20775
  name: string | null;
20642
20776
  email: string;
20643
20777
  role: string;
20778
+ default_dashboard_token?: string | null;
20779
+ last_seen_at?: string | null;
20780
+ }>;
20781
+ /**
20782
+ * Update a specific User.
20783
+ */
20784
+ update(userToken: string, body: UpdateUserRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
20785
+ token: string;
20786
+ name: string | null;
20787
+ email: string;
20788
+ role: string;
20789
+ default_dashboard_token?: string | null;
20790
+ last_seen_at?: string | null;
20791
+ }, null] : {
20792
+ token: string;
20793
+ name: string | null;
20794
+ email: string;
20795
+ role: string;
20796
+ default_dashboard_token?: string | null;
20644
20797
  last_seen_at?: string | null;
20645
20798
  }>;
20646
20799
  }
@@ -20686,6 +20839,9 @@ declare class VirtualTagConfigsApi<NeverThrow extends boolean> {
20686
20839
  backfill_until: string;
20687
20840
  collapsed_tag_keys?: components["schemas"]["VirtualTagConfigCollapsedTagKey"][];
20688
20841
  values: components["schemas"]["VirtualTagConfigValue"][];
20842
+ } | {
20843
+ request_id: string;
20844
+ status_url: string;
20689
20845
  }, null] : {
20690
20846
  token: string;
20691
20847
  created_by_token: string | null;
@@ -20694,6 +20850,9 @@ declare class VirtualTagConfigsApi<NeverThrow extends boolean> {
20694
20850
  backfill_until: string;
20695
20851
  collapsed_tag_keys?: components["schemas"]["VirtualTagConfigCollapsedTagKey"][];
20696
20852
  values: components["schemas"]["VirtualTagConfigValue"][];
20853
+ } | {
20854
+ request_id: string;
20855
+ status_url: string;
20697
20856
  }>;
20698
20857
  /**
20699
20858
  * Deletes an existing VirtualTagConfig.
@@ -20714,11 +20873,17 @@ declare class VirtualTagConfigsApi<NeverThrow extends boolean> {
20714
20873
  /**
20715
20874
  * Asynchronously updates an existing VirtualTagConfig.
20716
20875
  */
20717
- updateAsyncVirtualTagConfig(token: string, body: UpdateAsyncVirtualTagConfigRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
20876
+ updateAsyncVirtualTagConfig(token: string, body: UpdateAsyncVirtualTagConfigRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
20877
+ request_id: string;
20878
+ status_url: string;
20879
+ }, null] : {
20880
+ request_id: string;
20881
+ status_url: string;
20882
+ }>;
20718
20883
  /**
20719
20884
  * Check the status of an async VirtualTagConfig update.
20720
20885
  */
20721
- getAsyncVirtualTagConfigStatus(requestId: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
20886
+ getAsyncVirtualTagConfigStatus(requestId: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [boolean, null] : boolean>;
20722
20887
  }
20723
20888
  declare class WorkspacesApi<NeverThrow extends boolean> {
20724
20889
  private client;
@@ -20797,4 +20962,112 @@ declare class PingApi<NeverThrow extends boolean> {
20797
20962
  get(): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
20798
20963
  }
20799
20964
 
20800
- 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 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 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 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 UpdateSsoConnectionForManagedAccountRequest, type UpdateSsoConnectionForManagedAccountResponse, type UpdateTagRequest, type UpdateTagResponse, type UpdateTeamRequest, type UpdateTeamResponse, type UpdateVirtualTagConfigRequest, type UpdateVirtualTagConfigResponse, type UpdateWorkspaceRequest, type UpdateWorkspaceResponse, VantageAPIError, pathEncode };
20965
+ /** A string that is guaranteed to not contain slashes. Can be generated with {@link pathEncode} */
20966
+ type NoSlashString = string & {
20967
+ readonly __noSlash: unique symbol;
20968
+ };
20969
+ /** Encodes a path segment then returns a type that guarantees to TS it does not contain slashes. */
20970
+ declare function pathEncode(value: string): NoSlashString;
20971
+ type UnBracket<S extends string> = S extends `${infer X}{${string}}${infer Z}` ? UnBracket<`${X}${NoSlashString}${Z}`> : S;
20972
+ type PathsRedefined = {
20973
+ [K in keyof paths as `/v2${UnBracket<K>}`]: [paths[K], K];
20974
+ };
20975
+ /** Defines a union of paths supported by the client. */
20976
+ type Path = keyof PathsRedefined;
20977
+ type MethodsCased = {
20978
+ get: "GET";
20979
+ post: "POST";
20980
+ put: "PUT";
20981
+ delete: "DELETE";
20982
+ patch: "PATCH";
20983
+ head: "HEAD";
20984
+ options: "OPTIONS";
20985
+ trace: "TRACE";
20986
+ };
20987
+ type MethodsInverted = {
20988
+ [K in keyof MethodsCased as MethodsCased[K]]: K;
20989
+ };
20990
+ type MethodsPossiblyUndefined = {
20991
+ [K in keyof MethodsCased]?: any;
20992
+ };
20993
+ type Methods<P extends MethodsPossiblyUndefined> = {
20994
+ [K in keyof MethodsCased]: P[K] extends undefined ? never : MethodsCased[K];
20995
+ }[keyof MethodsCased];
20996
+ /** Defines the supported request methods for a given path. */
20997
+ type SupportedMethods<P extends Path> = Methods<PathsRedefined[P][0]>;
20998
+ type Query<T extends {
20999
+ parameters?: {
21000
+ query?: any;
21001
+ };
21002
+ } | undefined> = T["parameters"]["query"] extends never | undefined ? {} : T["parameters"]["query"];
21003
+ type ReqBody<T extends {
21004
+ requestBody?: {
21005
+ content: any;
21006
+ };
21007
+ } | undefined> = T extends {
21008
+ requestBody: {
21009
+ content: {
21010
+ "application/json": infer R;
21011
+ };
21012
+ };
21013
+ } ? R : T extends {
21014
+ requestBody: {
21015
+ content: {
21016
+ "multipart/form-data": infer R;
21017
+ };
21018
+ };
21019
+ } ? R : {};
21020
+ /** Defines the request body type for a given path and method. */
21021
+ type RequestBodyForPathAndMethod<P extends Path, M extends SupportedMethods<P>> = M extends "GET" ? Query<PathsRedefined[P][0][MethodsInverted[M]]> : ReqBody<PathsRedefined[P][0][MethodsInverted[M]]>;
21022
+ type ExtendsGoodResponseCode<Code extends number, Output> = {
21023
+ [C in Code]: {
21024
+ responses: {
21025
+ [_ in C]: {
21026
+ content: {
21027
+ "application/json": Output;
21028
+ };
21029
+ };
21030
+ };
21031
+ };
21032
+ }[Code];
21033
+ /** Patches for specific endpoints go here. This is useful for when the OpenAPI spec is not specific enough for our liking. */
21034
+ type PathAndMethodSpecificPatches = {
21035
+ "/v2/costs": {
21036
+ GET: {
21037
+ total_usage?: {
21038
+ [usageUnit: string]: string;
21039
+ };
21040
+ };
21041
+ };
21042
+ };
21043
+ type LookupTableType = {
21044
+ [P in Path]: Partial<{
21045
+ [M in SupportedMethods<P>]: any;
21046
+ }>;
21047
+ };
21048
+ type ExecutePatch<Patch, Response> = keyof Patch extends never ? Response : Omit<Response, keyof Patch> & Patch;
21049
+ type DoPathSpecificPatches<P extends Path, M extends SupportedMethods<P>, Response, LookupTable extends Partial<LookupTableType>> = LookupTable[P] extends never ? Response : ExecutePatch<LookupTable[P][M], Response>;
21050
+ /** Defines the response body type for a given path and method. */
21051
+ type ResponseBodyForPathAndMethod<P extends Path, M extends SupportedMethods<P>> = `${M} ${P}` extends keyof PathResponseEdgecases ? PathResponseEdgecases[`${M} ${P}` & keyof PathResponseEdgecases] : PathsRedefined[P][0][MethodsInverted[M]] extends ExtendsGoodResponseCode<200 | 201 | 202 | 203, infer R> ? DoPathSpecificPatches<P, M, R, PathAndMethodSpecificPatches> : void;
21052
+ /** Defines a vantage API failure */
21053
+ declare class VantageAPIError extends Error {
21054
+ readonly status: number | null;
21055
+ readonly statusText: string | null;
21056
+ readonly body: string;
21057
+ readonly errors: string[] | null;
21058
+ constructor(status: number | null, statusText: string | null, body: string);
21059
+ }
21060
+ type NeverThrowResult<T> = [null, VantageAPIError] | [T, null];
21061
+ /** Defines the base client for all API requests. */
21062
+ declare class BaseClient<NeverThrow extends boolean> {
21063
+ private readonly bearerToken;
21064
+ private readonly neverThrow;
21065
+ readonly baseUrl: string;
21066
+ /** Overridden by the generated client. Maps a route key prefix ("METHOD /path/prefix") to its edgecase handler name. */
21067
+ protected routeEdgecases: ReadonlyMap<string, string>;
21068
+ constructor(bearerToken: string, neverThrow: NeverThrow, baseUrl: string);
21069
+ /** Sends a request to the API. */
21070
+ 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>>;
21071
+ }
21072
+
21073
+ 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 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 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 };