@parallelworks/client 7.119.0 → 7.120.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.
@@ -1588,9 +1588,7 @@ export interface paths {
1588
1588
  * Delete every cloud resource belonging to a deployment
1589
1589
  * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
1590
1590
  *
1591
- * > This is a platform-admin only route.
1592
- *
1593
- * Deletes every live cloud resource tagged with the deployment id (as session-id or pw-deployment-id). Resources with a live platform record are deleted through it; the rest are swept directly in the cloud by gaia. Always dry-run first.
1591
+ * Deletes every live cloud resource tagged with the deployment id (as session-id or pw-deployment-id). Resources with a live platform record are deleted through it; the rest are swept directly in the cloud by gaia. Platform administrators can delete any deployment; organization administrators can delete one whose resources all belong to their organization. Always dry-run first.
1594
1592
  */
1595
1593
  post: operations["delete-deployment-resources"];
1596
1594
  delete?: never;
@@ -2107,6 +2105,28 @@ export interface paths {
2107
2105
  patch: operations["update-agent-session-settings"];
2108
2106
  trace?: never;
2109
2107
  };
2108
+ "/api/agents/machines/{machine}/sessions/{id}/shell": {
2109
+ parameters: {
2110
+ query?: never;
2111
+ header?: never;
2112
+ path?: never;
2113
+ cookie?: never;
2114
+ };
2115
+ get?: never;
2116
+ put?: never;
2117
+ /**
2118
+ * Run a ! shell command in a pw code session
2119
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
2120
+ *
2121
+ * Runs a command in the session's workspace, as typing ! in the terminal does, and answers with its output. The command and output join the conversation; send an empty message to have the model react to them. The machine refuses a command its owner could not approve from a remote origin or that its PreToolUse hooks deny, and stops one that runs longer than about 20 seconds.
2122
+ */
2123
+ post: operations["run-agent-session-shell"];
2124
+ delete?: never;
2125
+ options?: never;
2126
+ head?: never;
2127
+ patch?: never;
2128
+ trace?: never;
2129
+ };
2110
2130
  "/api/agents/sessions": {
2111
2131
  parameters: {
2112
2132
  query?: never;
@@ -2647,28 +2667,6 @@ export interface paths {
2647
2667
  patch?: never;
2648
2668
  trace?: never;
2649
2669
  };
2650
- "/api/auth/token/oidc": {
2651
- parameters: {
2652
- query?: never;
2653
- header?: never;
2654
- path?: never;
2655
- cookie?: never;
2656
- };
2657
- /**
2658
- * Get OIDC token
2659
- * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
2660
- *
2661
- * Get an OIDC token for the logged in user to access a Kubernetes cluster.
2662
- */
2663
- get: operations["get-auth-token-oidc"];
2664
- put?: never;
2665
- post?: never;
2666
- delete?: never;
2667
- options?: never;
2668
- head?: never;
2669
- patch?: never;
2670
- trace?: never;
2671
- };
2672
2670
  "/api/auth/whoami": {
2673
2671
  parameters: {
2674
2672
  query?: never;
@@ -3503,6 +3501,28 @@ export interface paths {
3503
3501
  patch?: never;
3504
3502
  trace?: never;
3505
3503
  };
3504
+ "/api/internal/usercontainer/clusters/{clusterId}/host-keys": {
3505
+ parameters: {
3506
+ query?: never;
3507
+ header?: never;
3508
+ path?: never;
3509
+ cookie?: never;
3510
+ };
3511
+ get?: never;
3512
+ put?: never;
3513
+ /**
3514
+ * Confirm Cluster Host Key
3515
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
3516
+ *
3517
+ * Records a host key the cluster owner accepted in the workspace's connect prompt and returns the cluster's host keys. Owner only.
3518
+ */
3519
+ post: operations["confirm-cluster-host-key"];
3520
+ delete?: never;
3521
+ options?: never;
3522
+ head?: never;
3523
+ patch?: never;
3524
+ trace?: never;
3525
+ };
3506
3526
  "/api/internal/usercontainer/existing": {
3507
3527
  parameters: {
3508
3528
  query?: never;
@@ -5203,6 +5223,28 @@ export interface paths {
5203
5223
  patch?: never;
5204
5224
  trace?: never;
5205
5225
  };
5226
+ "/api/oidc/connected-apps/{clientId}/devices/{deviceId}": {
5227
+ parameters: {
5228
+ query?: never;
5229
+ header?: never;
5230
+ path?: never;
5231
+ cookie?: never;
5232
+ };
5233
+ get?: never;
5234
+ put?: never;
5235
+ post?: never;
5236
+ /**
5237
+ * Sign a device out of the pw CLI or the ACTIVATE mobile app
5238
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
5239
+ *
5240
+ * Ends one device's sign-in to the pw CLI or the ACTIVATE mobile app, revoking its tokens at once, and leaves the user's other devices signed in. The device IDs are listed under `devices` on the app's connected application.
5241
+ */
5242
+ delete: operations["sign-out-oidc-connected-device"];
5243
+ options?: never;
5244
+ head?: never;
5245
+ patch?: never;
5246
+ trace?: never;
5247
+ };
5206
5248
  "/api/oidc/consent": {
5207
5249
  parameters: {
5208
5250
  query?: never;
@@ -5231,6 +5273,72 @@ export interface paths {
5231
5273
  patch?: never;
5232
5274
  trace?: never;
5233
5275
  };
5276
+ "/api/oidc/device/decision": {
5277
+ parameters: {
5278
+ query?: never;
5279
+ header?: never;
5280
+ path?: never;
5281
+ cookie?: never;
5282
+ };
5283
+ get?: never;
5284
+ put?: never;
5285
+ /**
5286
+ * Approve or deny a pw CLI device sign-in
5287
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
5288
+ *
5289
+ * Approves or denies the pw CLI sign-in a user code belongs to. An approval signs the device in as the calling user when it next polls. Only a browser session can call this.
5290
+ */
5291
+ post: operations["decide-oidc-device-request"];
5292
+ delete?: never;
5293
+ options?: never;
5294
+ head?: never;
5295
+ patch?: never;
5296
+ trace?: never;
5297
+ };
5298
+ "/api/oidc/device/lookup": {
5299
+ parameters: {
5300
+ query?: never;
5301
+ header?: never;
5302
+ path?: never;
5303
+ cookie?: never;
5304
+ };
5305
+ get?: never;
5306
+ put?: never;
5307
+ /**
5308
+ * Describe a pw CLI device sign-in
5309
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
5310
+ *
5311
+ * Checks that a user code belongs to a pending pw CLI sign-in and names the application asking, so the user can confirm it before approving. The code is sent in the body so it stays out of URLs and logs. Only a browser session can call this, and failed codes are rate limited.
5312
+ */
5313
+ post: operations["lookup-oidc-device-request"];
5314
+ delete?: never;
5315
+ options?: never;
5316
+ head?: never;
5317
+ patch?: never;
5318
+ trace?: never;
5319
+ };
5320
+ "/api/oidc/device_authorization": {
5321
+ parameters: {
5322
+ query?: never;
5323
+ header?: never;
5324
+ path?: never;
5325
+ cookie?: never;
5326
+ };
5327
+ get?: never;
5328
+ put?: never;
5329
+ /**
5330
+ * OAuth device authorization endpoint
5331
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
5332
+ *
5333
+ * Starts a pw CLI sign-in on a device without a usable browser (RFC 8628). The body is `application/x-www-form-urlencoded` with `client_id`, an optional `scope`, and an optional `device_name` naming the host. The response carries a `user_code` the user enters at `verification_uri` and a `device_code` the device polls the token endpoint with, using `grant_type=urn:ietf:params:oauth:grant-type:device_code`. Codes expire after 10 minutes and are single use.
5334
+ */
5335
+ post: operations["post-oidc-device-authorization"];
5336
+ delete?: never;
5337
+ options?: never;
5338
+ head?: never;
5339
+ patch?: never;
5340
+ trace?: never;
5341
+ };
5234
5342
  "/api/oidc/end_session": {
5235
5343
  parameters: {
5236
5344
  query?: never;
@@ -5341,30 +5449,12 @@ export interface paths {
5341
5449
  * Redeems an authorization code, or rotates a refresh token, for an ID token and an opaque access token (RFC 6749 sections 4.1.3 and 6).
5342
5450
  *
5343
5451
  * The body is `application/x-www-form-urlencoded`. To redeem a code, send `grant_type=authorization_code`, `code`, `redirect_uri`, and `code_verifier` for PKCE. To refresh, send `grant_type=refresh_token`, a `refresh_token` issued for the `offline_access` scope, and an optional `scope` that can narrow but never widen the original grant; the response carries a new refresh token, and presenting a spent one again revokes every token descended from it. A confidential client authenticates with `client_id` and `client_secret`, either in the body or with HTTP Basic; a public client sends `client_id` and relies on PKCE.
5344
- */
5345
- post: operations["post-oidc-token"];
5346
- delete?: never;
5347
- options?: never;
5348
- head?: never;
5349
- patch?: never;
5350
- trace?: never;
5351
- };
5352
- "/api/oidc/token/direct": {
5353
- parameters: {
5354
- query?: never;
5355
- header?: never;
5356
- path?: never;
5357
- cookie?: never;
5358
- };
5359
- /**
5360
- * Get an identity token by direct grant
5361
- * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
5362
5452
  *
5363
- * Mints an identity token for the logged-in user against a registered application, without a browser redirect. This is the exec-credential pattern used by kubectl.
5453
+ * The pw CLI polls here with `grant_type=urn:ietf:params:oauth:grant-type:device_code` and the `device_code` from the device authorization endpoint, and is told `authorization_pending`, `slow_down`, `expired_token`, or `access_denied` until the user decides.
5454
+ *
5455
+ * A service application or Kubernetes cluster gets an ID token for a user through the token exchange grant (RFC 8693), the exec-credential pattern kubectl uses. Send `grant_type=urn:ietf:params:oauth:grant-type:token-exchange`, the application's `client_id` (or `audience`), `subject_token` set to the user's platform API key or pw CLI access token (a Kubernetes cluster also accepts the user's platform token; an ACTIVATE mobile app access token is refused), `subject_token_type=urn:ietf:params:oauth:token-type:access_token`, and optionally `requested_token_type=urn:ietf:params:oauth:token-type:id_token` and a narrowing `scope`. These clients hold no secret, so none is sent. The response carries the ID token in `access_token`, with `issued_token_type=urn:ietf:params:oauth:token-type:id_token` and `token_type=N_A`. Any other kind of application is refused with `unauthorized_client`, or with `invalid_target` when only `audience` names it.
5364
5456
  */
5365
- get: operations["get-oidc-token-direct"];
5366
- put?: never;
5367
- post?: never;
5457
+ post: operations["post-oidc-token"];
5368
5458
  delete?: never;
5369
5459
  options?: never;
5370
5460
  head?: never;
@@ -8610,7 +8700,7 @@ export interface paths {
8610
8700
  * Generate Node Token
8611
8701
  * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
8612
8702
  *
8613
- * Generates a token for registering a node with the cluster.
8703
+ * Generates a token for registering nodes with the cluster. A single-use token registers one node and expires in 24 hours by default; a reusable token registers any number of nodes until it expires (1 hour by default, at most 24 hours) or is revoked.
8614
8704
  */
8615
8705
  post: operations["generate-node-token"];
8616
8706
  delete?: never;
@@ -8619,6 +8709,50 @@ export interface paths {
8619
8709
  patch?: never;
8620
8710
  trace?: never;
8621
8711
  };
8712
+ "/api/organizations/{organization}/managed-clusters/{cluster}/node-tokens": {
8713
+ parameters: {
8714
+ query?: never;
8715
+ header?: never;
8716
+ path?: never;
8717
+ cookie?: never;
8718
+ };
8719
+ /**
8720
+ * List Node Tokens
8721
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
8722
+ *
8723
+ * Lists the cluster's unexpired node registration tokens.
8724
+ */
8725
+ get: operations["list-node-tokens"];
8726
+ put?: never;
8727
+ post?: never;
8728
+ delete?: never;
8729
+ options?: never;
8730
+ head?: never;
8731
+ patch?: never;
8732
+ trace?: never;
8733
+ };
8734
+ "/api/organizations/{organization}/managed-clusters/{cluster}/node-tokens/{id}": {
8735
+ parameters: {
8736
+ query?: never;
8737
+ header?: never;
8738
+ path?: never;
8739
+ cookie?: never;
8740
+ };
8741
+ get?: never;
8742
+ put?: never;
8743
+ post?: never;
8744
+ /**
8745
+ * Revoke Node Token
8746
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
8747
+ *
8748
+ * Revokes a node registration token so it registers no more nodes.
8749
+ */
8750
+ delete: operations["revoke-node-token"];
8751
+ options?: never;
8752
+ head?: never;
8753
+ patch?: never;
8754
+ trace?: never;
8755
+ };
8622
8756
  "/api/organizations/{organization}/managed-clusters/{cluster}/nodes/{hostname}": {
8623
8757
  parameters: {
8624
8758
  query?: never;
@@ -9205,6 +9339,28 @@ export interface paths {
9205
9339
  patch?: never;
9206
9340
  trace?: never;
9207
9341
  };
9342
+ "/api/organizations/{organization}/policies/disable-device-login": {
9343
+ parameters: {
9344
+ query?: never;
9345
+ header?: never;
9346
+ path?: never;
9347
+ cookie?: never;
9348
+ };
9349
+ get?: never;
9350
+ put?: never;
9351
+ /**
9352
+ * Set organization policy: disable-device-login
9353
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
9354
+ *
9355
+ * Sets whether members can sign in to the pw CLI with a device code. Allowed when unset; true leaves only browser sign-in, which needs a browser on the same computer.
9356
+ */
9357
+ post: operations["set-organization-disable-device-login-policy"];
9358
+ delete?: never;
9359
+ options?: never;
9360
+ head?: never;
9361
+ patch?: never;
9362
+ trace?: never;
9363
+ };
9208
9364
  "/api/organizations/{organization}/policies/disable-password-login": {
9209
9365
  parameters: {
9210
9366
  query?: never;
@@ -11450,6 +11606,28 @@ export interface paths {
11450
11606
  patch?: never;
11451
11607
  trace?: never;
11452
11608
  };
11609
+ "/api/organizations/{organization}/users/{user}/clusters/{clusterName}/host-keys": {
11610
+ parameters: {
11611
+ query?: never;
11612
+ header?: never;
11613
+ path?: never;
11614
+ cookie?: never;
11615
+ };
11616
+ get?: never;
11617
+ put?: never;
11618
+ post?: never;
11619
+ /**
11620
+ * Forget Cluster Host Keys
11621
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
11622
+ *
11623
+ * Clears the SSH host keys accepted for a user-added cluster, so the next connect asks to trust the keys its login and jump hosts present. Use it after a cluster's host keys change legitimately.
11624
+ */
11625
+ delete: operations["forget-cluster-host-keys"];
11626
+ options?: never;
11627
+ head?: never;
11628
+ patch?: never;
11629
+ trace?: never;
11630
+ };
11453
11631
  "/api/organizations/{organization}/users/{user}/clusters/{clusterName}/icon": {
11454
11632
  parameters: {
11455
11633
  query?: never;
@@ -12749,7 +12927,7 @@ export interface paths {
12749
12927
  * List user login sessions
12750
12928
  * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
12751
12929
  *
12752
- * Lists the active login sessions for the specified user. IP addresses are only included when listing your own sessions.
12930
+ * Lists the active login sessions for the specified user. IP addresses are only included when listing your own sessions. Another user's list also includes each device they are signed in to the pw CLI on, marked with `client: pw-cli`; your own devices are listed under connected applications.
12753
12931
  */
12754
12932
  get: operations["list-user-login-sessions"];
12755
12933
  put?: never;
@@ -12780,7 +12958,7 @@ export interface paths {
12780
12958
  * Revoke a user login session
12781
12959
  * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
12782
12960
  *
12783
- * Revokes a single login session for the specified user. Only callable via browser session authentication.
12961
+ * Revokes a single login session for the specified user. A pw CLI device in another user's list is signed out along with every token issued to it. Only callable via browser session authentication.
12784
12962
  */
12785
12963
  delete: operations["revoke-user-login-session"];
12786
12964
  options?: never;
@@ -14792,6 +14970,28 @@ export interface paths {
14792
14970
  patch?: never;
14793
14971
  trace?: never;
14794
14972
  };
14973
+ "/api/platform/policies/disable-device-login": {
14974
+ parameters: {
14975
+ query?: never;
14976
+ header?: never;
14977
+ path?: never;
14978
+ cookie?: never;
14979
+ };
14980
+ get?: never;
14981
+ put?: never;
14982
+ /**
14983
+ * Set platform policy: disable-device-login
14984
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
14985
+ *
14986
+ * Sets whether users in every organization can sign in to the pw CLI with a device code. Allowed when unset; true leaves only browser sign-in.
14987
+ */
14988
+ post: operations["set-platform-disable-device-login-policy"];
14989
+ delete?: never;
14990
+ options?: never;
14991
+ head?: never;
14992
+ patch?: never;
14993
+ trace?: never;
14994
+ };
14795
14995
  "/api/platform/policies/disable-password-login": {
14796
14996
  parameters: {
14797
14997
  query?: never;
@@ -14814,6 +15014,50 @@ export interface paths {
14814
15014
  patch?: never;
14815
15015
  trace?: never;
14816
15016
  };
15017
+ "/api/platform/policies/disable-pw-cli-sign-in": {
15018
+ parameters: {
15019
+ query?: never;
15020
+ header?: never;
15021
+ path?: never;
15022
+ cookie?: never;
15023
+ };
15024
+ get?: never;
15025
+ put?: never;
15026
+ /**
15027
+ * Set platform policy: disable-pw-cli-sign-in
15028
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
15029
+ *
15030
+ * Sets whether anyone can sign in through the pw CLI. Allowed when unset; true refuses new sign-ins and stops existing ones, which work again once it is false or removed. API keys are not affected.
15031
+ */
15032
+ post: operations["set-platform-disable-pw-cli-sign-in-policy"];
15033
+ delete?: never;
15034
+ options?: never;
15035
+ head?: never;
15036
+ patch?: never;
15037
+ trace?: never;
15038
+ };
15039
+ "/api/platform/policies/disable-pw-mobile-sign-in": {
15040
+ parameters: {
15041
+ query?: never;
15042
+ header?: never;
15043
+ path?: never;
15044
+ cookie?: never;
15045
+ };
15046
+ get?: never;
15047
+ put?: never;
15048
+ /**
15049
+ * Set platform policy: disable-pw-mobile-sign-in
15050
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
15051
+ *
15052
+ * Sets whether anyone can sign in through the ACTIVATE mobile app. Allowed when unset; true refuses new sign-ins and stops existing ones, which work again once it is false or removed. API keys are not affected.
15053
+ */
15054
+ post: operations["set-platform-disable-pw-mobile-sign-in-policy"];
15055
+ delete?: never;
15056
+ options?: never;
15057
+ head?: never;
15058
+ patch?: never;
15059
+ trace?: never;
15060
+ };
14817
15061
  "/api/platform/policies/enforce-webauthn-mfa": {
14818
15062
  parameters: {
14819
15063
  query?: never;
@@ -15965,6 +16209,28 @@ export interface paths {
15965
16209
  patch?: never;
15966
16210
  trace?: never;
15967
16211
  };
16212
+ "/api/ssh/host-keys": {
16213
+ parameters: {
16214
+ query?: never;
16215
+ header?: never;
16216
+ path?: never;
16217
+ cookie?: never;
16218
+ };
16219
+ /**
16220
+ * Get SSH host keys
16221
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
16222
+ *
16223
+ * Returns the SSH host keys recorded for a resource the caller may connect to, so a client can verify the server it reaches.
16224
+ */
16225
+ get: operations["get-ssh-host-keys"];
16226
+ put?: never;
16227
+ post?: never;
16228
+ delete?: never;
16229
+ options?: never;
16230
+ head?: never;
16231
+ patch?: never;
16232
+ trace?: never;
16233
+ };
15968
16234
  "/api/sso/cac/redirect/{authID}": {
15969
16235
  parameters: {
15970
16236
  query?: never;
@@ -17576,6 +17842,8 @@ export interface components {
17576
17842
  expiration?: string;
17577
17843
  /** @description The unique identifier for the API key. */
17578
17844
  id: string;
17845
+ /** @description Username of the administrator who created the key while signed in as this user. */
17846
+ impersonatedBy?: string;
17579
17847
  /** @description Truncated preview of the key for identification. */
17580
17848
  keyHint?: string;
17581
17849
  /**
@@ -18162,18 +18430,28 @@ export interface components {
18162
18430
  AgentSession: {
18163
18431
  allocation?: string;
18164
18432
  approvals?: components["schemas"]["ApprovalRequest"][] | null;
18433
+ /** Format: date-time */
18434
+ archivedAt?: string;
18165
18435
  autoName?: string;
18436
+ branch?: string;
18166
18437
  /** Format: date-time */
18167
18438
  createdAt: string;
18168
18439
  effort?: string;
18169
18440
  id: string;
18441
+ /** Format: int64 */
18442
+ inputTokens?: number;
18443
+ lastError?: string;
18170
18444
  liveHost?: string;
18171
18445
  machineId: string;
18172
18446
  /** Format: int64 */
18173
18447
  messages: number;
18174
18448
  model: string;
18175
18449
  name?: string;
18450
+ /** Format: int64 */
18451
+ outputTokens?: number;
18176
18452
  permissionMode?: string;
18453
+ /** Format: date-time */
18454
+ pinnedAt?: string;
18177
18455
  preview: string;
18178
18456
  remoteControl?: boolean;
18179
18457
  /** @enum {string} */
@@ -18191,13 +18469,19 @@ export interface components {
18191
18469
  AgentSessionDetail: {
18192
18470
  allocation?: string;
18193
18471
  approvals?: components["schemas"]["ApprovalRequest"][] | null;
18472
+ /** Format: date-time */
18473
+ archivedAt?: string;
18194
18474
  autoName?: string;
18475
+ branch?: string;
18195
18476
  /** Format: date-time */
18196
18477
  createdAt: string;
18197
18478
  effort?: string;
18198
18479
  history: components["schemas"]["HistoryItem"][] | null;
18199
18480
  id: string;
18200
18481
  /** Format: int64 */
18482
+ inputTokens?: number;
18483
+ lastError?: string;
18484
+ /** Format: int64 */
18201
18485
  lastSeq?: number;
18202
18486
  liveHost?: string;
18203
18487
  machineId: string;
@@ -18205,7 +18489,11 @@ export interface components {
18205
18489
  messages: number;
18206
18490
  model: string;
18207
18491
  name?: string;
18492
+ /** Format: int64 */
18493
+ outputTokens?: number;
18208
18494
  permissionMode?: string;
18495
+ /** Format: date-time */
18496
+ pinnedAt?: string;
18209
18497
  preview: string;
18210
18498
  remoteControl?: boolean;
18211
18499
  /** @enum {string} */
@@ -18238,6 +18526,16 @@ export interface components {
18238
18526
  /** @description Every reachable machine's sessions, newest first. */
18239
18527
  sessions: components["schemas"]["AgentSession"][] | null;
18240
18528
  };
18529
+ AgentShellBody: {
18530
+ /** @description The command, without the leading !. */
18531
+ command: string;
18532
+ };
18533
+ AgentShellOutput: {
18534
+ /** @description What the command printed, stdout and stderr together. */
18535
+ output: string;
18536
+ /** @description Why the owner's hook asked that the model not react to the run. Send no follow-up message when it is set. */
18537
+ stop?: string;
18538
+ };
18241
18539
  AgentSlashCommand: {
18242
18540
  description?: string;
18243
18541
  name: string;
@@ -18561,7 +18859,7 @@ export interface components {
18561
18859
  /** @description Groups whose members may use the application. Empty means everyone in the organization. */
18562
18860
  allowedGroups?: string[] | null;
18563
18861
  /**
18564
- * @description Whether the user sees a consent screen. Defaults to none.
18862
+ * @description Whether the user sees a consent screen. Defaults to none. Always none for a service application, which shows no consent screen.
18565
18863
  * @enum {string}
18566
18864
  */
18567
18865
  consent?: "none" | "required";
@@ -18587,7 +18885,7 @@ export interface components {
18587
18885
  redirectUris?: string[] | null;
18588
18886
  /** @description Whether the user's session must have completed two-step verification. Turning it on revokes the credentials issued to sessions that had not. */
18589
18887
  requireMfa?: boolean;
18590
- /** @description Scopes the application may request. Omitted at registration, it defaults to openid, profile, and email; groups and offline_access must be listed. */
18888
+ /** @description Scopes the application may request. Omitted at registration, it defaults to openid, profile, and email; groups and offline_access must be listed. A service application gets no refresh tokens, so offline_access is dropped from its list. */
18591
18889
  scopes?: string[] | null;
18592
18890
  /**
18593
18891
  * @description What the sub claim contains. Defaults to userId.
@@ -18658,7 +18956,7 @@ export interface components {
18658
18956
  /** @description Groups whose members may use the application. Empty means everyone in the organization. */
18659
18957
  allowedGroups?: string[] | null;
18660
18958
  /**
18661
- * @description Whether the user sees a consent screen. Defaults to none.
18959
+ * @description Whether the user sees a consent screen. Defaults to none. Always none for a service application, which shows no consent screen.
18662
18960
  * @enum {string}
18663
18961
  */
18664
18962
  consent?: "none" | "required";
@@ -18684,7 +18982,7 @@ export interface components {
18684
18982
  redirectUris?: string[] | null;
18685
18983
  /** @description Whether the user's session must have completed two-step verification. Turning it on revokes the credentials issued to sessions that had not. */
18686
18984
  requireMfa?: boolean;
18687
- /** @description Scopes the application may request. Omitted at registration, it defaults to openid, profile, and email; groups and offline_access must be listed. */
18985
+ /** @description Scopes the application may request. Omitted at registration, it defaults to openid, profile, and email; groups and offline_access must be listed. A service application gets no refresh tokens, so offline_access is dropped from its list. */
18688
18986
  scopes?: string[] | null;
18689
18987
  /**
18690
18988
  * @description What the sub claim contains. Defaults to userId.
@@ -21759,6 +22057,17 @@ export interface components {
21759
22057
  cidr: string;
21760
22058
  region: string;
21761
22059
  };
22060
+ ConfirmHostKeyBody: {
22061
+ /** @description The login node the key belongs to, as configured on the cluster. Required for the login target. */
22062
+ host?: string;
22063
+ /** @description The host public key (authorized_keys line) the owner accepted. */
22064
+ key: string;
22065
+ /**
22066
+ * @description Which host the key belongs to.
22067
+ * @enum {string}
22068
+ */
22069
+ target: "login" | "jump";
22070
+ };
21762
22071
  ConnectStateBody: {
21763
22072
  /** @description Failure detail when status is failed. */
21764
22073
  error?: string;
@@ -21785,6 +22094,8 @@ export interface components {
21785
22094
  ConnectedApp: {
21786
22095
  /** @description Client ID of the application */
21787
22096
  clientId: string;
22097
+ /** @description For the pw CLI and the ACTIVATE mobile app, each device it is signed in on; each can be signed out on its own */
22098
+ devices?: components["schemas"]["ConnectedDevice"][] | null;
21788
22099
  /**
21789
22100
  * Format: date-time
21790
22101
  * @description When the user first granted access
@@ -21799,6 +22110,33 @@ export interface components {
21799
22110
  name: string;
21800
22111
  /** @description Scopes the user granted it */
21801
22112
  scopes: string[] | null;
22113
+ /** @description Whether a platform administrator turned off sign-in for this application, which stops its existing sign-ins too */
22114
+ signInDisabled?: boolean;
22115
+ };
22116
+ ConnectedDevice: {
22117
+ /** @description Whether this device made the request */
22118
+ current: boolean;
22119
+ /** @description Name the device reported; nothing verifies it */
22120
+ deviceName?: string;
22121
+ /**
22122
+ * Format: date-time
22123
+ * @description When the device is signed out unless it is used before then
22124
+ */
22125
+ expiresAt?: string;
22126
+ /** @description Identifies this device's sign-in */
22127
+ id: string;
22128
+ /** @description Address the device signed in from */
22129
+ ipAddress?: string;
22130
+ /**
22131
+ * Format: date-time
22132
+ * @description When the device last used the platform
22133
+ */
22134
+ lastUsedAt?: string;
22135
+ /**
22136
+ * Format: date-time
22137
+ * @description When the device signed in
22138
+ */
22139
+ signedInAt: string;
21802
22140
  };
21803
22141
  ConnectionPathInputBody: {
21804
22142
  catalogEntryId: string;
@@ -22027,7 +22365,7 @@ export interface components {
22027
22365
  CreateAPIKeyInputBody: {
22028
22366
  /** @description Budget allocation name (required for AI keys) */
22029
22367
  allocation?: string;
22030
- /** @description Days before the key expires (platform keys). Empty or 0 creates a key that does not expire, unless the organization's maximum API key lifetime requires one. */
22368
+ /** @description Days before the key expires, at most the organization's maximum API key lifetime, which is 730 days when no policy sets it. Empty or 0 creates a key that does not expire, which only an Unlimited policy allows. */
22031
22369
  duration?: string;
22032
22370
  /** @description Display name for the API key */
22033
22371
  title: string;
@@ -22053,6 +22391,8 @@ export interface components {
22053
22391
  expiration?: string;
22054
22392
  /** @description The unique identifier for the API key. */
22055
22393
  id: string;
22394
+ /** @description Username of the administrator who created the key while signed in as this user. */
22395
+ impersonatedBy?: string;
22056
22396
  /** @description The full API key (only shown once) */
22057
22397
  key: string;
22058
22398
  /** @description Truncated preview of the key for identification. */
@@ -22254,6 +22594,8 @@ export interface components {
22254
22594
  userhostRegion?: string;
22255
22595
  };
22256
22596
  CreateClusterInputBody: {
22597
+ /** @description Lets the endpoint be on a private network. Only a platform administrator can turn this on, and while it is on only a platform administrator can change the endpoint or CA certificate. */
22598
+ allowPrivateAddress?: boolean;
22257
22599
  /** @description PEM-encoded CA certificate. Leave empty when the cluster uses a publicly trusted certificate. */
22258
22600
  caCert?: string;
22259
22601
  /**
@@ -23219,6 +23561,16 @@ export interface components {
23219
23561
  */
23220
23562
  y: number;
23221
23563
  };
23564
+ DecideDeviceRequestInputBody: {
23565
+ /** @description True to sign the device in; false to refuse it */
23566
+ approve: boolean;
23567
+ /** @description The code shown by the device, with or without its dash */
23568
+ userCode: string;
23569
+ };
23570
+ DecideDeviceRequestOutputBody: {
23571
+ /** @description Whether the device is now signed in once it next polls */
23572
+ approved: boolean;
23573
+ };
23222
23574
  DeleteDeploymentBody: {
23223
23575
  /** @description Deployment id; matches resources tagged with it as session-id or pw-deployment-id. */
23224
23576
  deploymentId: string;
@@ -23389,6 +23741,40 @@ export interface components {
23389
23741
  sifPath?: string;
23390
23742
  useApptainer?: boolean;
23391
23743
  };
23744
+ DeviceAuthorizationBody: {
23745
+ /** @description Code the device polls the token endpoint with */
23746
+ device_code?: string;
23747
+ /** @description OAuth error code */
23748
+ error?: string;
23749
+ /** @description Human-readable error detail */
23750
+ error_description?: string;
23751
+ /** @description Page that explains the error */
23752
+ error_uri?: string;
23753
+ /**
23754
+ * Format: int64
23755
+ * @description Seconds until both codes expire
23756
+ */
23757
+ expires_in?: number;
23758
+ /**
23759
+ * Format: int64
23760
+ * @description Seconds to wait between polls
23761
+ */
23762
+ interval?: number;
23763
+ /** @description Code the user enters at the verification URI */
23764
+ user_code?: string;
23765
+ /** @description Page where the user enters the code */
23766
+ verification_uri?: string;
23767
+ /** @description The verification page with the code filled in */
23768
+ verification_uri_complete?: string;
23769
+ };
23770
+ DeviceCodeBody: {
23771
+ /** @description The code shown by the device, with or without its dash */
23772
+ userCode: string;
23773
+ };
23774
+ DeviceRequestBody: {
23775
+ /** @description Name of the application asking to sign in */
23776
+ clientName: string;
23777
+ };
23392
23778
  DiscoverCACertInputBody: {
23393
23779
  /**
23394
23780
  * @description Kubernetes API endpoint to dial
@@ -23836,6 +24222,8 @@ export interface components {
23836
24222
  disconnectedAt?: string;
23837
24223
  /** @description Group name */
23838
24224
  group?: string;
24225
+ /** @description SSH host keys the workspace verifies the cluster against */
24226
+ hostKeys: components["schemas"]["ExistingClusterHostKeys"];
23839
24227
  /** @description Cluster ID */
23840
24228
  readonly id: string;
23841
24229
  /** @description SSH key name */
@@ -23884,6 +24272,25 @@ export interface components {
23884
24272
  */
23885
24273
  type: "existing";
23886
24274
  };
24275
+ ExistingClusterHostKeys: {
24276
+ /** @description Host keys the owner accepted for the jump host. */
24277
+ jump: string[] | null;
24278
+ /** @description Host keys the owner accepted, per login node; a node with no entry has none recorded. */
24279
+ login: components["schemas"]["ExistingClusterLoginHostKeys"][] | null;
24280
+ /**
24281
+ * @description off skips verification; otherwise, when the list is empty, warn connects unverified and enforce refuses.
24282
+ * @enum {string}
24283
+ */
24284
+ policy: "off" | "warn" | "enforce";
24285
+ /** @description Keys pw ssh --proxy-command connections reach: the agent's own SSH server when the platform tunnels the cluster, otherwise the login node's sshd. */
24286
+ pwServer: string[] | null;
24287
+ };
24288
+ ExistingClusterLoginHostKeys: {
24289
+ /** @description The login node, as configured on the cluster. */
24290
+ host: string;
24291
+ /** @description Host public keys the owner accepted for this login node. */
24292
+ keys: string[] | null;
24293
+ };
23887
24294
  ExistingClusterLoginNode: {
23888
24295
  /** @description Login node hostname */
23889
24296
  node: string;
@@ -24331,6 +24738,8 @@ export interface components {
24331
24738
  schedulerType?: string;
24332
24739
  /** @description True when SSH to this cluster routes through the platform. False when it is dialed directly, which a cluster on a public address does unless an administrator has whitelisted it. */
24333
24740
  shouldPlatformProxy: boolean;
24741
+ /** @description Cloud and managed clusters: the sshd host public keys the controller or login node's agent reported, which SSH clients verify the server against. */
24742
+ sshHostKeys?: string[] | null;
24334
24743
  /**
24335
24744
  * @description The status of the resource.
24336
24745
  * @example active
@@ -24361,6 +24770,15 @@ export interface components {
24361
24770
  */
24362
24771
  user?: string;
24363
24772
  };
24773
+ GenerateNodeTokenBody: {
24774
+ /**
24775
+ * Format: int64
24776
+ * @description Minutes until the token expires, at most 24 hours. Defaults to 60 for a reusable token and 1440 for a single-use one.
24777
+ */
24778
+ expiresInMinutes?: number;
24779
+ /** @description Register any number of nodes until the token expires or is revoked, instead of one node */
24780
+ reusable?: boolean;
24781
+ };
24364
24782
  GenerateNodeTokenOutputBody: {
24365
24783
  /** @description Cluster name */
24366
24784
  cluster: string;
@@ -24369,8 +24787,14 @@ export interface components {
24369
24787
  * @description Token expiration time
24370
24788
  */
24371
24789
  expiresAt: string;
24790
+ /** @description Short preview of the token */
24791
+ hint: string;
24792
+ /** @description Token id, for revoking it */
24793
+ id: string;
24372
24794
  /** @description Organization name */
24373
24795
  organization: string;
24796
+ /** @description Whether the token registers any number of nodes until it expires */
24797
+ reusable: boolean;
24374
24798
  /** @description Node registration token */
24375
24799
  token: string;
24376
24800
  };
@@ -25302,6 +25726,8 @@ export interface components {
25302
25726
  osRelease?: string;
25303
25727
  /** @description Scheduler information */
25304
25728
  scheduler?: components["schemas"]["SchedulerInfo"];
25729
+ /** @description The node's sshd host public keys (authorized_keys lines), which SSH clients verify the node against. */
25730
+ sshHostKeys?: string[] | null;
25305
25731
  /** @description Static system information */
25306
25732
  systemInfo?: components["schemas"]["SystemInfo"];
25307
25733
  };
@@ -26325,6 +26751,8 @@ export interface components {
26325
26751
  totalServices: number;
26326
26752
  };
26327
26753
  KubernetesSingleClusterResponse: {
26754
+ /** @description Whether a platform administrator allowed the endpoint to be on a private network */
26755
+ allowPrivateAddress: boolean;
26328
26756
  /**
26329
26757
  * @description Base64-encoded CA certificate
26330
26758
  * @example LS0tLS1CRUdJTi...
@@ -26588,9 +27016,11 @@ export interface components {
26588
27016
  language: "en" | "ja" | "ko" | "es" | "zh" | "";
26589
27017
  };
26590
27018
  Ldap: {
27019
+ /** @description Lets the LDAP server be on a private network. Only a platform administrator can turn this on, and while it is on only a platform administrator can change the server or weaken its TLS settings. */
27020
+ allowPrivateAddress?: boolean;
26591
27021
  /** @description Base DN for LDAP authentication */
26592
27022
  baseDN?: string;
26593
- /** @description CA certificate used to verify the LDAP server */
27023
+ /** @description CA certificate used to verify the LDAP server. On update, an omitted value keeps the stored certificate and an empty value removes it */
26594
27024
  caCert?: string;
26595
27025
  /** @description Client certificate for LDAP authentication */
26596
27026
  clientCert?: string;
@@ -26628,9 +27058,11 @@ export interface components {
26628
27058
  username?: string;
26629
27059
  };
26630
27060
  LdapConnectionTest: {
27061
+ /** @description Lets the LDAP server be on a private network. Only a platform administrator can turn this on, and while it is on only a platform administrator can change the server or weaken its TLS settings. */
27062
+ allowPrivateAddress?: boolean;
26631
27063
  /** @description Base DN for LDAP authentication */
26632
27064
  baseDN?: string;
26633
- /** @description CA certificate used to verify the LDAP server */
27065
+ /** @description CA certificate used to verify the LDAP server. On update, an omitted value keeps the stored certificate and an empty value removes it */
26634
27066
  caCert?: string;
26635
27067
  /** @description Client certificate for LDAP authentication */
26636
27068
  clientCert?: string;
@@ -26910,6 +27342,11 @@ export interface components {
26910
27342
  title?: string;
26911
27343
  } | null;
26912
27344
  LoginSessionResponse: {
27345
+ /**
27346
+ * @description Set to pw-cli for a device signed in to the pw CLI, or pw-mobile for one signed in to the ACTIVATE mobile app. Only listed for another user's sessions; your own are under connected applications.
27347
+ * @enum {string}
27348
+ */
27349
+ client?: "pw-cli" | "pw-mobile";
26913
27350
  /**
26914
27351
  * Format: date-time
26915
27352
  * @description When the session was created.
@@ -26917,6 +27354,8 @@ export interface components {
26917
27354
  createdAt: string;
26918
27355
  /** @description Whether this is the session making the request. */
26919
27356
  current: boolean;
27357
+ /** @description For a pw CLI or mobile app sign-in, the name the device reported; nothing verifies it. */
27358
+ deviceName?: string;
26920
27359
  /**
26921
27360
  * Format: date-time
26922
27361
  * @description When the session expires.
@@ -28351,6 +28790,26 @@ export interface components {
28351
28790
  /** Format: double */
28352
28791
  uptime: number;
28353
28792
  };
28793
+ NodeToken: {
28794
+ /**
28795
+ * Format: date-time
28796
+ * @description When the token was created
28797
+ */
28798
+ createdAt: string;
28799
+ /** @description Username of the user who created the token */
28800
+ createdBy?: string;
28801
+ /**
28802
+ * Format: date-time
28803
+ * @description When the token expires
28804
+ */
28805
+ expiresAt: string;
28806
+ /** @description Short preview of the token */
28807
+ hint: string;
28808
+ /** @description Token id */
28809
+ id: string;
28810
+ /** @description Whether the token registers any number of nodes until it expires */
28811
+ reusable: boolean;
28812
+ };
28354
28813
  NodesBody: {
28355
28814
  /** @description List of cluster errors, if any */
28356
28815
  errors?: components["schemas"]["ClusterError"][] | null;
@@ -28452,6 +28911,8 @@ export interface components {
28452
28911
  Oidc: {
28453
28912
  /** @description Whether to allow new user creation */
28454
28913
  allowNewUserCreation?: boolean | null;
28914
+ /** @description Lets the issuer and endpoint hosts be on a private network. Only a platform administrator can turn this on, and while it is on only a platform administrator can change the issuer or endpoints. */
28915
+ allowPrivateAddress?: boolean;
28455
28916
  /** @description Authorization endpoint of the OIDC authentication method */
28456
28917
  authorizationEndpoint?: string;
28457
28918
  /** @description Client ID of the OIDC authentication method */
@@ -28506,6 +28967,8 @@ export interface components {
28506
28967
  claims_supported: string[] | null;
28507
28968
  /** @description JSON array containing the supported PKCE code challenge methods */
28508
28969
  code_challenge_methods_supported: string[] | null;
28970
+ /** @description URL of the device authorization endpoint (RFC 8628), open to the pw CLI only */
28971
+ device_authorization_endpoint: string;
28509
28972
  /** @description URL of the RP-initiated logout endpoint */
28510
28973
  end_session_endpoint: string;
28511
28974
  /** @description JSON array containing the supported grant types */
@@ -29626,10 +30089,14 @@ export interface components {
29626
30089
  enabled: boolean | null;
29627
30090
  };
29628
30091
  PendingConsentOutputBody: {
30092
+ /** @description Present when the request is a pw CLI sign-in, which is confirmed every time */
30093
+ cliSignIn?: components["schemas"]["PendingNativeSignIn"];
29629
30094
  /** @description Client ID of the application asking for access */
29630
30095
  clientId: string;
29631
30096
  /** @description Description the organization gave the application */
29632
30097
  description?: string;
30098
+ /** @description Present when the request is an ACTIVATE mobile app sign-in, which is confirmed every time */
30099
+ mobileSignIn?: components["schemas"]["PendingNativeSignIn"];
29633
30100
  /** @description Display name of the application */
29634
30101
  name: string;
29635
30102
  /** @description Organization that registered the application */
@@ -29641,6 +30108,10 @@ export interface components {
29641
30108
  /** @description Scopes the application is asking for */
29642
30109
  scopes: string[] | null;
29643
30110
  };
30111
+ PendingNativeSignIn: {
30112
+ /** @description Username of the account the app will be signed in to */
30113
+ account: string;
30114
+ };
29644
30115
  PermissionEntry: {
29645
30116
  /** Format: date-time */
29646
30117
  createdAt: string;
@@ -29797,7 +30268,7 @@ export interface components {
29797
30268
  maintenanceMode?: boolean;
29798
30269
  /**
29799
30270
  * Format: int64
29800
- * @description The maximum number of days an API key or SCIM token can be valid for, resolved from the max-api-key-ttl policy. Omitted when no cap applies. Only returned if the user is authenticated.
30271
+ * @description The maximum number of days an API key can be valid for, resolved from the max-api-key-ttl policy, or 730 when no policy is set. Omitted when the policy is Unlimited. Only returned if the user is authenticated.
29801
30272
  */
29802
30273
  maxApiKeyTtlDays?: number;
29803
30274
  /** @description Indicates if the platform needs a license update (no license, expired, or in grace period). Only returned when true. */
@@ -29848,6 +30319,11 @@ export interface components {
29848
30319
  singleOrgName?: string;
29849
30320
  /** @description Indicates if the platform is a single organization platform. */
29850
30321
  singleOrgPlatform?: boolean;
30322
+ /**
30323
+ * @description Whether SSH clients verify server host keys: off (the default), warn (connect to unrecorded hosts and report them), or enforce (refuse them).
30324
+ * @enum {string}
30325
+ */
30326
+ sshHostKeyVerification: "off" | "warn" | "enforce";
29851
30327
  /** @description Indicates if the platform advertises resumable SSH sessions; hpcconnect relaxes generated ssh keepalives when set. */
29852
30328
  sshResumeEnabled: boolean;
29853
30329
  /**
@@ -29963,6 +30439,11 @@ export interface components {
29963
30439
  * @description Sentry traces sample rate (0.0-1.0).
29964
30440
  */
29965
30441
  sentryTracesSampleRate: number;
30442
+ /**
30443
+ * @description Whether SSH clients verify server host keys: off (the default) skips verification; warn connects to a host with no recorded key and reports it; enforce refuses that host. Under warn and enforce a recorded key that differs from the presented one always fails.
30444
+ * @enum {string}
30445
+ */
30446
+ sshHostKeyVerification: "off" | "warn" | "enforce";
29966
30447
  /** @description Whether to advertise resumable SSH sessions, letting tunneled connections to supporting agents survive tunnel drops and ingress restarts. Off by default; turning it off instantly falls new connections back to plain bridging. */
29967
30448
  sshResumeEnabled: boolean;
29968
30449
  /** @description Whether the stuck-run sweeper is enabled. When on, workflow runs whose executor stops sending heartbeats are automatically finalized. On by default; turn it off only if a deployment cannot keep executor heartbeats flowing. */
@@ -32953,6 +33434,8 @@ export interface components {
32953
33434
  /** Format: date-time */
32954
33435
  createdAt: string;
32955
33436
  id: string;
33437
+ /** @description Username of the administrator who added the key while signed in as this user. */
33438
+ impersonatedBy?: string;
32956
33439
  key: string;
32957
33440
  title: string;
32958
33441
  };
@@ -33606,6 +34089,17 @@ export interface components {
33606
34089
  /** @description Username of the snapshot owner */
33607
34090
  user?: string;
33608
34091
  };
34092
+ SshHostKeys: {
34093
+ /** @description Recorded host public keys (authorized_keys lines) or SHA256 fingerprints for the login target; any match is accepted. */
34094
+ hostKeys: string[] | null;
34095
+ /** @description Recorded keys for the cluster's jump host, when the cluster connects through one. */
34096
+ jumpHostKeys?: string[] | null;
34097
+ /**
34098
+ * @description off skips verification; otherwise, when hostKeys is empty, warn connects unverified and enforce refuses.
34099
+ * @enum {string}
34100
+ */
34101
+ policy: "off" | "warn" | "enforce";
34102
+ };
33609
34103
  SshPrivateKey: {
33610
34104
  /**
33611
34105
  * Format: date-time
@@ -33616,6 +34110,8 @@ export interface components {
33616
34110
  readonly description?: string;
33617
34111
  /** @description The unique identifier of the SSH key */
33618
34112
  readonly id?: string;
34113
+ /** @description Username of the administrator who added the key while signed in as this user */
34114
+ readonly impersonatedBy?: string;
33619
34115
  /** @description The path to the key in the user workspace */
33620
34116
  readonly keyFile?: string;
33621
34117
  /** @description The name of the SSH key */
@@ -34162,24 +34658,28 @@ export interface components {
34162
34658
  totalCost: number;
34163
34659
  };
34164
34660
  TokenBody: {
34165
- /** @description Opaque access token for the userinfo endpoint */
34661
+ /** @description Opaque access token for the userinfo endpoint; for a token exchange, the issued token itself */
34166
34662
  access_token?: string;
34167
34663
  /** @description OAuth error code */
34168
34664
  error?: string;
34169
34665
  /** @description Human-readable error detail */
34170
34666
  error_description?: string;
34667
+ /** @description Page that explains the error */
34668
+ error_uri?: string;
34171
34669
  /**
34172
34670
  * Format: int64
34173
- * @description Access token lifetime in seconds
34671
+ * @description Lifetime in seconds of the access token, or of the issued token for a token exchange
34174
34672
  */
34175
34673
  expires_in?: number;
34176
34674
  /** @description Signed ID token */
34177
34675
  id_token?: string;
34676
+ /** @description Type of the issued token, set only for a token exchange (RFC 8693 section 2.2.1) */
34677
+ issued_token_type?: string;
34178
34678
  /** @description Opaque refresh token, issued when the offline_access scope was granted */
34179
34679
  refresh_token?: string;
34180
34680
  /** @description Space-delimited scopes actually granted */
34181
34681
  scope?: string;
34182
- /** @description Always Bearer */
34682
+ /** @description Bearer, or N_A for a token exchange whose issued token is not an access token */
34183
34683
  token_type?: string;
34184
34684
  };
34185
34685
  Tool: {
@@ -34382,6 +34882,11 @@ export interface components {
34382
34882
  singleOrgName?: string;
34383
34883
  /** @description Whether to enable single org platform. */
34384
34884
  singleOrgPlatform?: boolean;
34885
+ /**
34886
+ * @description Whether SSH clients verify server host keys: off, warn or enforce.
34887
+ * @enum {string}
34888
+ */
34889
+ sshHostKeyVerification?: "off" | "warn" | "enforce";
34385
34890
  /** @description Whether to advertise resumable SSH sessions to clients. */
34386
34891
  sshResumeEnabled?: boolean;
34387
34892
  /** @description Whether the stuck-run sweeper is enabled. */
@@ -34425,6 +34930,8 @@ export interface components {
34425
34930
  tags?: string[];
34426
34931
  };
34427
34932
  UpdateClusterInputBody: {
34933
+ /** @description Lets the endpoint be on a private network. Only a platform administrator can turn this on, and while it is on only a platform administrator can change the endpoint or CA certificate. */
34934
+ allowPrivateAddress?: boolean;
34428
34935
  /** @description Base64-encoded CA certificate. Leave empty when the cluster uses a publicly trusted certificate. */
34429
34936
  caCert?: string;
34430
34937
  /**
@@ -39348,6 +39855,44 @@ export interface operations {
39348
39855
  };
39349
39856
  };
39350
39857
  };
39858
+ "run-agent-session-shell": {
39859
+ parameters: {
39860
+ query?: never;
39861
+ header?: never;
39862
+ path: {
39863
+ /** @description Machine id from the machines list. */
39864
+ machine: string;
39865
+ /** @description Session id as the daemon reports it. */
39866
+ id: string;
39867
+ };
39868
+ cookie?: never;
39869
+ };
39870
+ requestBody: {
39871
+ content: {
39872
+ "application/json": components["schemas"]["AgentShellBody"];
39873
+ };
39874
+ };
39875
+ responses: {
39876
+ /** @description OK */
39877
+ 200: {
39878
+ headers: {
39879
+ [name: string]: unknown;
39880
+ };
39881
+ content: {
39882
+ "application/json": components["schemas"]["AgentShellOutput"];
39883
+ };
39884
+ };
39885
+ /** @description Error */
39886
+ default: {
39887
+ headers: {
39888
+ [name: string]: unknown;
39889
+ };
39890
+ content: {
39891
+ "application/json": components["schemas"]["Error"];
39892
+ };
39893
+ };
39894
+ };
39895
+ };
39351
39896
  "list-agent-sessions": {
39352
39897
  parameters: {
39353
39898
  query?: never;
@@ -40410,39 +40955,6 @@ export interface operations {
40410
40955
  };
40411
40956
  };
40412
40957
  };
40413
- "get-auth-token-oidc": {
40414
- parameters: {
40415
- query?: {
40416
- /** @description Name of the Kubernetes cluster */
40417
- clusterName?: string;
40418
- };
40419
- header?: never;
40420
- path?: never;
40421
- cookie?: never;
40422
- };
40423
- requestBody?: never;
40424
- responses: {
40425
- /** @description OK */
40426
- 200: {
40427
- headers: {
40428
- "Cache-Control"?: string;
40429
- [name: string]: unknown;
40430
- };
40431
- content: {
40432
- "application/json": string;
40433
- };
40434
- };
40435
- /** @description Error */
40436
- default: {
40437
- headers: {
40438
- [name: string]: unknown;
40439
- };
40440
- content: {
40441
- "application/json": components["schemas"]["Error"];
40442
- };
40443
- };
40444
- };
40445
- };
40446
40958
  "get-whoami": {
40447
40959
  parameters: {
40448
40960
  query?: never;
@@ -41794,6 +42306,42 @@ export interface operations {
41794
42306
  };
41795
42307
  };
41796
42308
  };
42309
+ "confirm-cluster-host-key": {
42310
+ parameters: {
42311
+ query?: never;
42312
+ header?: never;
42313
+ path: {
42314
+ /** @description The cluster (pool) id. */
42315
+ clusterId: string;
42316
+ };
42317
+ cookie?: never;
42318
+ };
42319
+ requestBody: {
42320
+ content: {
42321
+ "application/json": components["schemas"]["ConfirmHostKeyBody"];
42322
+ };
42323
+ };
42324
+ responses: {
42325
+ /** @description OK */
42326
+ 200: {
42327
+ headers: {
42328
+ [name: string]: unknown;
42329
+ };
42330
+ content: {
42331
+ "application/json": components["schemas"]["ExistingClusterHostKeys"];
42332
+ };
42333
+ };
42334
+ /** @description Error */
42335
+ default: {
42336
+ headers: {
42337
+ [name: string]: unknown;
42338
+ };
42339
+ content: {
42340
+ "application/json": components["schemas"]["Error"];
42341
+ };
42342
+ };
42343
+ };
42344
+ };
41797
42345
  "get-existing-clusters": {
41798
42346
  parameters: {
41799
42347
  query?: never;
@@ -44703,6 +45251,38 @@ export interface operations {
44703
45251
  };
44704
45252
  };
44705
45253
  };
45254
+ "sign-out-oidc-connected-device": {
45255
+ parameters: {
45256
+ query?: never;
45257
+ header?: never;
45258
+ path: {
45259
+ /** @description Client ID of the application; only the pw CLI and the ACTIVATE mobile app have devices */
45260
+ clientId: string;
45261
+ /** @description ID of the device sign-in to end */
45262
+ deviceId: string;
45263
+ };
45264
+ cookie?: never;
45265
+ };
45266
+ requestBody?: never;
45267
+ responses: {
45268
+ /** @description No Content */
45269
+ 204: {
45270
+ headers: {
45271
+ [name: string]: unknown;
45272
+ };
45273
+ content?: never;
45274
+ };
45275
+ /** @description Error */
45276
+ default: {
45277
+ headers: {
45278
+ [name: string]: unknown;
45279
+ };
45280
+ content: {
45281
+ "application/json": components["schemas"]["Error"];
45282
+ };
45283
+ };
45284
+ };
45285
+ };
44706
45286
  "get-oidc-consent": {
44707
45287
  parameters: {
44708
45288
  query?: never;
@@ -44766,6 +45346,107 @@ export interface operations {
44766
45346
  };
44767
45347
  };
44768
45348
  };
45349
+ "decide-oidc-device-request": {
45350
+ parameters: {
45351
+ query?: never;
45352
+ header?: never;
45353
+ path?: never;
45354
+ cookie?: never;
45355
+ };
45356
+ requestBody: {
45357
+ content: {
45358
+ "application/json": components["schemas"]["DecideDeviceRequestInputBody"];
45359
+ };
45360
+ };
45361
+ responses: {
45362
+ /** @description OK */
45363
+ 200: {
45364
+ headers: {
45365
+ [name: string]: unknown;
45366
+ };
45367
+ content: {
45368
+ "application/json": components["schemas"]["DecideDeviceRequestOutputBody"];
45369
+ };
45370
+ };
45371
+ /** @description Error */
45372
+ default: {
45373
+ headers: {
45374
+ [name: string]: unknown;
45375
+ };
45376
+ content: {
45377
+ "application/json": components["schemas"]["Error"];
45378
+ };
45379
+ };
45380
+ };
45381
+ };
45382
+ "lookup-oidc-device-request": {
45383
+ parameters: {
45384
+ query?: never;
45385
+ header?: never;
45386
+ path?: never;
45387
+ cookie?: never;
45388
+ };
45389
+ requestBody: {
45390
+ content: {
45391
+ "application/json": components["schemas"]["DeviceCodeBody"];
45392
+ };
45393
+ };
45394
+ responses: {
45395
+ /** @description OK */
45396
+ 200: {
45397
+ headers: {
45398
+ [name: string]: unknown;
45399
+ };
45400
+ content: {
45401
+ "application/json": components["schemas"]["DeviceRequestBody"];
45402
+ };
45403
+ };
45404
+ /** @description Error */
45405
+ default: {
45406
+ headers: {
45407
+ [name: string]: unknown;
45408
+ };
45409
+ content: {
45410
+ "application/json": components["schemas"]["Error"];
45411
+ };
45412
+ };
45413
+ };
45414
+ };
45415
+ "post-oidc-device-authorization": {
45416
+ parameters: {
45417
+ query?: never;
45418
+ header?: never;
45419
+ path?: never;
45420
+ cookie?: never;
45421
+ };
45422
+ requestBody?: {
45423
+ content: {
45424
+ "application/x-www-form-urlencoded": string;
45425
+ };
45426
+ };
45427
+ responses: {
45428
+ /** @description OK */
45429
+ 200: {
45430
+ headers: {
45431
+ "Cache-Control"?: string;
45432
+ "WWW-Authenticate"?: string | null;
45433
+ [name: string]: unknown;
45434
+ };
45435
+ content: {
45436
+ "application/json": components["schemas"]["DeviceAuthorizationBody"];
45437
+ };
45438
+ };
45439
+ /** @description Error */
45440
+ default: {
45441
+ headers: {
45442
+ [name: string]: unknown;
45443
+ };
45444
+ content: {
45445
+ "application/json": components["schemas"]["Error"];
45446
+ };
45447
+ };
45448
+ };
45449
+ };
44769
45450
  "get-oidc-end-session": {
44770
45451
  parameters: {
44771
45452
  query?: {
@@ -44888,6 +45569,7 @@ export interface operations {
44888
45569
  200: {
44889
45570
  headers: {
44890
45571
  "Cache-Control"?: string;
45572
+ Pragma?: string;
44891
45573
  "WWW-Authenticate"?: string | null;
44892
45574
  [name: string]: unknown;
44893
45575
  };
@@ -44955,6 +45637,7 @@ export interface operations {
44955
45637
  200: {
44956
45638
  headers: {
44957
45639
  "Cache-Control"?: string;
45640
+ Pragma?: string;
44958
45641
  "WWW-Authenticate"?: string | null;
44959
45642
  [name: string]: unknown;
44960
45643
  };
@@ -44973,39 +45656,6 @@ export interface operations {
44973
45656
  };
44974
45657
  };
44975
45658
  };
44976
- "get-oidc-token-direct": {
44977
- parameters: {
44978
- query: {
44979
- /** @description The client ID of the application to mint a token for */
44980
- clientId: string;
44981
- };
44982
- header?: never;
44983
- path?: never;
44984
- cookie?: never;
44985
- };
44986
- requestBody?: never;
44987
- responses: {
44988
- /** @description OK */
44989
- 200: {
44990
- headers: {
44991
- "Cache-Control"?: string;
44992
- [name: string]: unknown;
44993
- };
44994
- content: {
44995
- "application/json": string;
44996
- };
44997
- };
44998
- /** @description Error */
44999
- default: {
45000
- headers: {
45001
- [name: string]: unknown;
45002
- };
45003
- content: {
45004
- "application/json": components["schemas"]["Error"];
45005
- };
45006
- };
45007
- };
45008
- };
45009
45659
  "get-oidc-userinfo": {
45010
45660
  parameters: {
45011
45661
  query?: never;
@@ -52315,7 +52965,11 @@ export interface operations {
52315
52965
  };
52316
52966
  cookie?: never;
52317
52967
  };
52318
- requestBody?: never;
52968
+ requestBody?: {
52969
+ content: {
52970
+ "application/json": components["schemas"]["GenerateNodeTokenBody"];
52971
+ };
52972
+ };
52319
52973
  responses: {
52320
52974
  /** @description OK */
52321
52975
  200: {
@@ -52338,6 +52992,74 @@ export interface operations {
52338
52992
  };
52339
52993
  };
52340
52994
  };
52995
+ "list-node-tokens": {
52996
+ parameters: {
52997
+ query?: never;
52998
+ header?: never;
52999
+ path: {
53000
+ /** @description The name of the organization. */
53001
+ organization: string;
53002
+ /** @description Cluster name */
53003
+ cluster: string;
53004
+ };
53005
+ cookie?: never;
53006
+ };
53007
+ requestBody?: never;
53008
+ responses: {
53009
+ /** @description OK */
53010
+ 200: {
53011
+ headers: {
53012
+ [name: string]: unknown;
53013
+ };
53014
+ content: {
53015
+ "application/json": components["schemas"]["NodeToken"][] | null;
53016
+ };
53017
+ };
53018
+ /** @description Error */
53019
+ default: {
53020
+ headers: {
53021
+ [name: string]: unknown;
53022
+ };
53023
+ content: {
53024
+ "application/json": components["schemas"]["Error"];
53025
+ };
53026
+ };
53027
+ };
53028
+ };
53029
+ "revoke-node-token": {
53030
+ parameters: {
53031
+ query?: never;
53032
+ header?: never;
53033
+ path: {
53034
+ /** @description The name of the organization. */
53035
+ organization: string;
53036
+ /** @description Cluster name */
53037
+ cluster: string;
53038
+ /** @description Token id */
53039
+ id: string;
53040
+ };
53041
+ cookie?: never;
53042
+ };
53043
+ requestBody?: never;
53044
+ responses: {
53045
+ /** @description No Content */
53046
+ 204: {
53047
+ headers: {
53048
+ [name: string]: unknown;
53049
+ };
53050
+ content?: never;
53051
+ };
53052
+ /** @description Error */
53053
+ default: {
53054
+ headers: {
53055
+ [name: string]: unknown;
53056
+ };
53057
+ content: {
53058
+ "application/json": components["schemas"]["Error"];
53059
+ };
53060
+ };
53061
+ };
53062
+ };
52341
53063
  "delete-managed-cluster-node": {
52342
53064
  parameters: {
52343
53065
  query?: never;
@@ -53058,28 +53780,101 @@ export interface operations {
53058
53780
  };
53059
53781
  };
53060
53782
  };
53061
- "delete-org-oidc-app-secret": {
53783
+ "delete-org-oidc-app-secret": {
53784
+ parameters: {
53785
+ query?: never;
53786
+ header?: never;
53787
+ path: {
53788
+ /** @description The name of the organization. */
53789
+ organization: string;
53790
+ /** @description The application's client ID */
53791
+ clientId: string;
53792
+ /** @description The secret to delete */
53793
+ secretId: string;
53794
+ };
53795
+ cookie?: never;
53796
+ };
53797
+ requestBody?: never;
53798
+ responses: {
53799
+ /** @description No Content */
53800
+ 204: {
53801
+ headers: {
53802
+ [name: string]: unknown;
53803
+ };
53804
+ content?: never;
53805
+ };
53806
+ /** @description Error */
53807
+ default: {
53808
+ headers: {
53809
+ [name: string]: unknown;
53810
+ };
53811
+ content: {
53812
+ "application/json": components["schemas"]["Error"];
53813
+ };
53814
+ };
53815
+ };
53816
+ };
53817
+ "reveal-org-oidc-app-secret": {
53818
+ parameters: {
53819
+ query?: never;
53820
+ header?: never;
53821
+ path: {
53822
+ /** @description The name of the organization. */
53823
+ organization: string;
53824
+ /** @description The application's client ID */
53825
+ clientId: string;
53826
+ /** @description The secret to reveal */
53827
+ secretId: string;
53828
+ };
53829
+ cookie?: never;
53830
+ };
53831
+ requestBody?: never;
53832
+ responses: {
53833
+ /** @description OK */
53834
+ 200: {
53835
+ headers: {
53836
+ "Cache-Control"?: string;
53837
+ [name: string]: unknown;
53838
+ };
53839
+ content: {
53840
+ "application/json": components["schemas"]["SecretResponse"];
53841
+ };
53842
+ };
53843
+ /** @description Error */
53844
+ default: {
53845
+ headers: {
53846
+ [name: string]: unknown;
53847
+ };
53848
+ content: {
53849
+ "application/json": components["schemas"]["Error"];
53850
+ };
53851
+ };
53852
+ };
53853
+ };
53854
+ "set-organization-owner": {
53062
53855
  parameters: {
53063
53856
  query?: never;
53064
53857
  header?: never;
53065
53858
  path: {
53066
53859
  /** @description The name of the organization. */
53067
53860
  organization: string;
53068
- /** @description The application's client ID */
53069
- clientId: string;
53070
- /** @description The secret to delete */
53071
- secretId: string;
53072
53861
  };
53073
53862
  cookie?: never;
53074
53863
  };
53075
- requestBody?: never;
53864
+ requestBody: {
53865
+ content: {
53866
+ "application/json": components["schemas"]["SetOwnerInputBody"];
53867
+ };
53868
+ };
53076
53869
  responses: {
53077
- /** @description No Content */
53078
- 204: {
53870
+ /** @description OK */
53871
+ 200: {
53079
53872
  headers: {
53080
53873
  [name: string]: unknown;
53081
53874
  };
53082
- content?: never;
53875
+ content: {
53876
+ "application/json": components["schemas"]["OwnerOutputBody"];
53877
+ };
53083
53878
  };
53084
53879
  /** @description Error */
53085
53880
  default: {
@@ -53092,17 +53887,13 @@ export interface operations {
53092
53887
  };
53093
53888
  };
53094
53889
  };
53095
- "reveal-org-oidc-app-secret": {
53890
+ "get-partner-allowed-instance-types": {
53096
53891
  parameters: {
53097
53892
  query?: never;
53098
53893
  header?: never;
53099
53894
  path: {
53100
53895
  /** @description The name of the organization. */
53101
53896
  organization: string;
53102
- /** @description The application's client ID */
53103
- clientId: string;
53104
- /** @description The secret to reveal */
53105
- secretId: string;
53106
53897
  };
53107
53898
  cookie?: never;
53108
53899
  };
@@ -53111,11 +53902,10 @@ export interface operations {
53111
53902
  /** @description OK */
53112
53903
  200: {
53113
53904
  headers: {
53114
- "Cache-Control"?: string;
53115
53905
  [name: string]: unknown;
53116
53906
  };
53117
53907
  content: {
53118
- "application/json": components["schemas"]["SecretResponse"];
53908
+ "application/json": components["schemas"]["AllowedInstanceTypesOutputBody"];
53119
53909
  };
53120
53910
  };
53121
53911
  /** @description Error */
@@ -53129,7 +53919,7 @@ export interface operations {
53129
53919
  };
53130
53920
  };
53131
53921
  };
53132
- "set-organization-owner": {
53922
+ "update-partner-allowed-instance-types": {
53133
53923
  parameters: {
53134
53924
  query?: never;
53135
53925
  header?: never;
@@ -53141,7 +53931,7 @@ export interface operations {
53141
53931
  };
53142
53932
  requestBody: {
53143
53933
  content: {
53144
- "application/json": components["schemas"]["SetOwnerInputBody"];
53934
+ "application/json": components["schemas"]["AllowedInstanceTypes"];
53145
53935
  };
53146
53936
  };
53147
53937
  responses: {
@@ -53151,7 +53941,7 @@ export interface operations {
53151
53941
  [name: string]: unknown;
53152
53942
  };
53153
53943
  content: {
53154
- "application/json": components["schemas"]["OwnerOutputBody"];
53944
+ "application/json": components["schemas"]["AllowedInstanceTypesOutputBody"];
53155
53945
  };
53156
53946
  };
53157
53947
  /** @description Error */
@@ -53165,7 +53955,7 @@ export interface operations {
53165
53955
  };
53166
53956
  };
53167
53957
  };
53168
- "get-partner-allowed-instance-types": {
53958
+ "get-organization-policies": {
53169
53959
  parameters: {
53170
53960
  query?: never;
53171
53961
  header?: never;
@@ -53183,7 +53973,9 @@ export interface operations {
53183
53973
  [name: string]: unknown;
53184
53974
  };
53185
53975
  content: {
53186
- "application/json": components["schemas"]["AllowedInstanceTypesOutputBody"];
53976
+ "application/json": {
53977
+ [key: string]: components["schemas"]["Policy"];
53978
+ };
53187
53979
  };
53188
53980
  };
53189
53981
  /** @description Error */
@@ -53197,7 +53989,7 @@ export interface operations {
53197
53989
  };
53198
53990
  };
53199
53991
  };
53200
- "update-partner-allowed-instance-types": {
53992
+ "set-organization-allocation-start-date-policy": {
53201
53993
  parameters: {
53202
53994
  query?: never;
53203
53995
  header?: never;
@@ -53209,41 +54001,9 @@ export interface operations {
53209
54001
  };
53210
54002
  requestBody: {
53211
54003
  content: {
53212
- "application/json": components["schemas"]["AllowedInstanceTypes"];
53213
- };
53214
- };
53215
- responses: {
53216
- /** @description OK */
53217
- 200: {
53218
- headers: {
53219
- [name: string]: unknown;
53220
- };
53221
- content: {
53222
- "application/json": components["schemas"]["AllowedInstanceTypesOutputBody"];
53223
- };
53224
- };
53225
- /** @description Error */
53226
- default: {
53227
- headers: {
53228
- [name: string]: unknown;
53229
- };
53230
- content: {
53231
- "application/json": components["schemas"]["Error"];
53232
- };
53233
- };
53234
- };
53235
- };
53236
- "get-organization-policies": {
53237
- parameters: {
53238
- query?: never;
53239
- header?: never;
53240
- path: {
53241
- /** @description The name of the organization. */
53242
- organization: string;
54004
+ "application/json": string;
53243
54005
  };
53244
- cookie?: never;
53245
54006
  };
53246
- requestBody?: never;
53247
54007
  responses: {
53248
54008
  /** @description OK */
53249
54009
  200: {
@@ -53252,7 +54012,7 @@ export interface operations {
53252
54012
  };
53253
54013
  content: {
53254
54014
  "application/json": {
53255
- [key: string]: components["schemas"]["Policy"];
54015
+ [key: string]: components["schemas"]["StringPolicyOutput"];
53256
54016
  };
53257
54017
  };
53258
54018
  };
@@ -53267,7 +54027,7 @@ export interface operations {
53267
54027
  };
53268
54028
  };
53269
54029
  };
53270
- "set-organization-allocation-start-date-policy": {
54030
+ "set-organization-allow-organization-session-sharing-policy": {
53271
54031
  parameters: {
53272
54032
  query?: never;
53273
54033
  header?: never;
@@ -53279,7 +54039,7 @@ export interface operations {
53279
54039
  };
53280
54040
  requestBody: {
53281
54041
  content: {
53282
- "application/json": string;
54042
+ "application/json": boolean;
53283
54043
  };
53284
54044
  };
53285
54045
  responses: {
@@ -53290,7 +54050,7 @@ export interface operations {
53290
54050
  };
53291
54051
  content: {
53292
54052
  "application/json": {
53293
- [key: string]: components["schemas"]["StringPolicyOutput"];
54053
+ [key: string]: components["schemas"]["BooleanPolicyOutput"];
53294
54054
  };
53295
54055
  };
53296
54056
  };
@@ -53305,7 +54065,7 @@ export interface operations {
53305
54065
  };
53306
54066
  };
53307
54067
  };
53308
- "set-organization-allow-organization-session-sharing-policy": {
54068
+ "set-organization-allow-public-sessions-policy": {
53309
54069
  parameters: {
53310
54070
  query?: never;
53311
54071
  header?: never;
@@ -53343,7 +54103,7 @@ export interface operations {
53343
54103
  };
53344
54104
  };
53345
54105
  };
53346
- "set-organization-allow-public-sessions-policy": {
54106
+ "set-organization-archive-cost-data-policy": {
53347
54107
  parameters: {
53348
54108
  query?: never;
53349
54109
  header?: never;
@@ -53355,7 +54115,7 @@ export interface operations {
53355
54115
  };
53356
54116
  requestBody: {
53357
54117
  content: {
53358
- "application/json": boolean;
54118
+ "application/json": number;
53359
54119
  };
53360
54120
  };
53361
54121
  responses: {
@@ -53366,7 +54126,7 @@ export interface operations {
53366
54126
  };
53367
54127
  content: {
53368
54128
  "application/json": {
53369
- [key: string]: components["schemas"]["BooleanPolicyOutput"];
54129
+ [key: string]: components["schemas"]["IntPolicyOutput"];
53370
54130
  };
53371
54131
  };
53372
54132
  };
@@ -53381,7 +54141,7 @@ export interface operations {
53381
54141
  };
53382
54142
  };
53383
54143
  };
53384
- "set-organization-archive-cost-data-policy": {
54144
+ "set-organization-default-billing-username-policy": {
53385
54145
  parameters: {
53386
54146
  query?: never;
53387
54147
  header?: never;
@@ -53393,7 +54153,7 @@ export interface operations {
53393
54153
  };
53394
54154
  requestBody: {
53395
54155
  content: {
53396
- "application/json": number;
54156
+ "application/json": string;
53397
54157
  };
53398
54158
  };
53399
54159
  responses: {
@@ -53404,7 +54164,7 @@ export interface operations {
53404
54164
  };
53405
54165
  content: {
53406
54166
  "application/json": {
53407
- [key: string]: components["schemas"]["IntPolicyOutput"];
54167
+ [key: string]: components["schemas"]["StringPolicyOutput"];
53408
54168
  };
53409
54169
  };
53410
54170
  };
@@ -53419,7 +54179,7 @@ export interface operations {
53419
54179
  };
53420
54180
  };
53421
54181
  };
53422
- "set-organization-default-billing-username-policy": {
54182
+ "set-organization-disable-device-login-policy": {
53423
54183
  parameters: {
53424
54184
  query?: never;
53425
54185
  header?: never;
@@ -53431,7 +54191,7 @@ export interface operations {
53431
54191
  };
53432
54192
  requestBody: {
53433
54193
  content: {
53434
- "application/json": string;
54194
+ "application/json": boolean;
53435
54195
  };
53436
54196
  };
53437
54197
  responses: {
@@ -53442,7 +54202,7 @@ export interface operations {
53442
54202
  };
53443
54203
  content: {
53444
54204
  "application/json": {
53445
- [key: string]: components["schemas"]["StringPolicyOutput"];
54205
+ [key: string]: components["schemas"]["BooleanPolicyOutput"];
53446
54206
  };
53447
54207
  };
53448
54208
  };
@@ -58207,6 +58967,40 @@ export interface operations {
58207
58967
  };
58208
58968
  };
58209
58969
  };
58970
+ "forget-cluster-host-keys": {
58971
+ parameters: {
58972
+ query?: never;
58973
+ header?: never;
58974
+ path: {
58975
+ /** @description The organization name. */
58976
+ organization: string;
58977
+ /** @description The username of the cluster owner. */
58978
+ user: string;
58979
+ /** @description The cluster name. */
58980
+ clusterName: string;
58981
+ };
58982
+ cookie?: never;
58983
+ };
58984
+ requestBody?: never;
58985
+ responses: {
58986
+ /** @description No Content */
58987
+ 204: {
58988
+ headers: {
58989
+ [name: string]: unknown;
58990
+ };
58991
+ content?: never;
58992
+ };
58993
+ /** @description Error */
58994
+ default: {
58995
+ headers: {
58996
+ [name: string]: unknown;
58997
+ };
58998
+ content: {
58999
+ "application/json": components["schemas"]["Error"];
59000
+ };
59001
+ };
59002
+ };
59003
+ };
58210
59004
  "delete-elastic-cluster-icon": {
58211
59005
  parameters: {
58212
59006
  query?: never;
@@ -62732,6 +63526,7 @@ export interface operations {
62732
63526
  CreatedAt?: string;
62733
63527
  Description?: string;
62734
63528
  Id?: string;
63529
+ ImpersonatedBy?: string | null;
62735
63530
  KeyFile?: string;
62736
63531
  Name?: string;
62737
63532
  PublicKey?: string;
@@ -65076,6 +65871,41 @@ export interface operations {
65076
65871
  };
65077
65872
  };
65078
65873
  };
65874
+ "set-platform-disable-device-login-policy": {
65875
+ parameters: {
65876
+ query?: never;
65877
+ header?: never;
65878
+ path?: never;
65879
+ cookie?: never;
65880
+ };
65881
+ requestBody: {
65882
+ content: {
65883
+ "application/json": boolean;
65884
+ };
65885
+ };
65886
+ responses: {
65887
+ /** @description OK */
65888
+ 200: {
65889
+ headers: {
65890
+ [name: string]: unknown;
65891
+ };
65892
+ content: {
65893
+ "application/json": {
65894
+ [key: string]: components["schemas"]["BooleanPolicyOutput"];
65895
+ };
65896
+ };
65897
+ };
65898
+ /** @description Error */
65899
+ default: {
65900
+ headers: {
65901
+ [name: string]: unknown;
65902
+ };
65903
+ content: {
65904
+ "application/json": components["schemas"]["Error"];
65905
+ };
65906
+ };
65907
+ };
65908
+ };
65079
65909
  "set-platform-disable-password-login-policy": {
65080
65910
  parameters: {
65081
65911
  query?: never;
@@ -65111,6 +65941,76 @@ export interface operations {
65111
65941
  };
65112
65942
  };
65113
65943
  };
65944
+ "set-platform-disable-pw-cli-sign-in-policy": {
65945
+ parameters: {
65946
+ query?: never;
65947
+ header?: never;
65948
+ path?: never;
65949
+ cookie?: never;
65950
+ };
65951
+ requestBody: {
65952
+ content: {
65953
+ "application/json": boolean;
65954
+ };
65955
+ };
65956
+ responses: {
65957
+ /** @description OK */
65958
+ 200: {
65959
+ headers: {
65960
+ [name: string]: unknown;
65961
+ };
65962
+ content: {
65963
+ "application/json": {
65964
+ [key: string]: components["schemas"]["BooleanPolicyOutput"];
65965
+ };
65966
+ };
65967
+ };
65968
+ /** @description Error */
65969
+ default: {
65970
+ headers: {
65971
+ [name: string]: unknown;
65972
+ };
65973
+ content: {
65974
+ "application/json": components["schemas"]["Error"];
65975
+ };
65976
+ };
65977
+ };
65978
+ };
65979
+ "set-platform-disable-pw-mobile-sign-in-policy": {
65980
+ parameters: {
65981
+ query?: never;
65982
+ header?: never;
65983
+ path?: never;
65984
+ cookie?: never;
65985
+ };
65986
+ requestBody: {
65987
+ content: {
65988
+ "application/json": boolean;
65989
+ };
65990
+ };
65991
+ responses: {
65992
+ /** @description OK */
65993
+ 200: {
65994
+ headers: {
65995
+ [name: string]: unknown;
65996
+ };
65997
+ content: {
65998
+ "application/json": {
65999
+ [key: string]: components["schemas"]["BooleanPolicyOutput"];
66000
+ };
66001
+ };
66002
+ };
66003
+ /** @description Error */
66004
+ default: {
66005
+ headers: {
66006
+ [name: string]: unknown;
66007
+ };
66008
+ content: {
66009
+ "application/json": components["schemas"]["Error"];
66010
+ };
66011
+ };
66012
+ };
66013
+ };
65114
66014
  "set-platform-enforce-webauthn-mfa-policy": {
65115
66015
  parameters: {
65116
66016
  query?: never;
@@ -67086,6 +67986,38 @@ export interface operations {
67086
67986
  };
67087
67987
  };
67088
67988
  };
67989
+ "get-ssh-host-keys": {
67990
+ parameters: {
67991
+ query: {
67992
+ /** @description The SSH resource, as accepted by pw ssh: workspace, pw://<user>/<cluster>, or worker/<id>. */
67993
+ resource: string;
67994
+ };
67995
+ header?: never;
67996
+ path?: never;
67997
+ cookie?: never;
67998
+ };
67999
+ requestBody?: never;
68000
+ responses: {
68001
+ /** @description OK */
68002
+ 200: {
68003
+ headers: {
68004
+ [name: string]: unknown;
68005
+ };
68006
+ content: {
68007
+ "application/json": components["schemas"]["SshHostKeys"];
68008
+ };
68009
+ };
68010
+ /** @description Error */
68011
+ default: {
68012
+ headers: {
68013
+ [name: string]: unknown;
68014
+ };
68015
+ content: {
68016
+ "application/json": components["schemas"]["Error"];
68017
+ };
68018
+ };
68019
+ };
68020
+ };
67089
68021
  "get-cac-redirect": {
67090
68022
  parameters: {
67091
68023
  query?: never;