@parallelworks/client 7.119.0 → 7.121.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;
@@ -2634,33 +2654,14 @@ export interface paths {
2634
2654
  };
2635
2655
  /**
2636
2656
  * Generate a user token
2657
+ * @deprecated
2637
2658
  * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
2638
2659
  *
2639
2660
  * Generates a token for the authenticated user. The token can be used for API authentication.
2640
- */
2641
- get: operations["get-auth-token"];
2642
- put?: never;
2643
- post?: never;
2644
- delete?: never;
2645
- options?: never;
2646
- head?: never;
2647
- patch?: never;
2648
- trace?: never;
2649
- };
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
  *
2661
- * Get an OIDC token for the logged in user to access a Kubernetes cluster.
2662
+ * This route is deprecated: sign in with `pw auth login` instead, and use an API key for automation.
2662
2663
  */
2663
- get: operations["get-auth-token-oidc"];
2664
+ get: operations["get-auth-token"];
2664
2665
  put?: never;
2665
2666
  post?: never;
2666
2667
  delete?: never;
@@ -3503,6 +3504,28 @@ export interface paths {
3503
3504
  patch?: never;
3504
3505
  trace?: never;
3505
3506
  };
3507
+ "/api/internal/usercontainer/clusters/{clusterId}/host-keys": {
3508
+ parameters: {
3509
+ query?: never;
3510
+ header?: never;
3511
+ path?: never;
3512
+ cookie?: never;
3513
+ };
3514
+ get?: never;
3515
+ put?: never;
3516
+ /**
3517
+ * Confirm Cluster Host Key
3518
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
3519
+ *
3520
+ * Records a host key the cluster owner accepted in the workspace's connect prompt and returns the cluster's host keys. Owner only.
3521
+ */
3522
+ post: operations["confirm-cluster-host-key"];
3523
+ delete?: never;
3524
+ options?: never;
3525
+ head?: never;
3526
+ patch?: never;
3527
+ trace?: never;
3528
+ };
3506
3529
  "/api/internal/usercontainer/existing": {
3507
3530
  parameters: {
3508
3531
  query?: never;
@@ -5203,6 +5226,28 @@ export interface paths {
5203
5226
  patch?: never;
5204
5227
  trace?: never;
5205
5228
  };
5229
+ "/api/oidc/connected-apps/{clientId}/devices/{deviceId}": {
5230
+ parameters: {
5231
+ query?: never;
5232
+ header?: never;
5233
+ path?: never;
5234
+ cookie?: never;
5235
+ };
5236
+ get?: never;
5237
+ put?: never;
5238
+ post?: never;
5239
+ /**
5240
+ * Sign a device out of the pw CLI or the ACTIVATE mobile app
5241
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
5242
+ *
5243
+ * 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.
5244
+ */
5245
+ delete: operations["sign-out-oidc-connected-device"];
5246
+ options?: never;
5247
+ head?: never;
5248
+ patch?: never;
5249
+ trace?: never;
5250
+ };
5206
5251
  "/api/oidc/consent": {
5207
5252
  parameters: {
5208
5253
  query?: never;
@@ -5231,6 +5276,72 @@ export interface paths {
5231
5276
  patch?: never;
5232
5277
  trace?: never;
5233
5278
  };
5279
+ "/api/oidc/device/decision": {
5280
+ parameters: {
5281
+ query?: never;
5282
+ header?: never;
5283
+ path?: never;
5284
+ cookie?: never;
5285
+ };
5286
+ get?: never;
5287
+ put?: never;
5288
+ /**
5289
+ * Approve or deny a pw CLI device sign-in
5290
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
5291
+ *
5292
+ * 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.
5293
+ */
5294
+ post: operations["decide-oidc-device-request"];
5295
+ delete?: never;
5296
+ options?: never;
5297
+ head?: never;
5298
+ patch?: never;
5299
+ trace?: never;
5300
+ };
5301
+ "/api/oidc/device/lookup": {
5302
+ parameters: {
5303
+ query?: never;
5304
+ header?: never;
5305
+ path?: never;
5306
+ cookie?: never;
5307
+ };
5308
+ get?: never;
5309
+ put?: never;
5310
+ /**
5311
+ * Describe a pw CLI device sign-in
5312
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
5313
+ *
5314
+ * 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.
5315
+ */
5316
+ post: operations["lookup-oidc-device-request"];
5317
+ delete?: never;
5318
+ options?: never;
5319
+ head?: never;
5320
+ patch?: never;
5321
+ trace?: never;
5322
+ };
5323
+ "/api/oidc/device_authorization": {
5324
+ parameters: {
5325
+ query?: never;
5326
+ header?: never;
5327
+ path?: never;
5328
+ cookie?: never;
5329
+ };
5330
+ get?: never;
5331
+ put?: never;
5332
+ /**
5333
+ * OAuth device authorization endpoint
5334
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
5335
+ *
5336
+ * 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.
5337
+ */
5338
+ post: operations["post-oidc-device-authorization"];
5339
+ delete?: never;
5340
+ options?: never;
5341
+ head?: never;
5342
+ patch?: never;
5343
+ trace?: never;
5344
+ };
5234
5345
  "/api/oidc/end_session": {
5235
5346
  parameters: {
5236
5347
  query?: never;
@@ -5341,30 +5452,12 @@ export interface paths {
5341
5452
  * 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
5453
  *
5343
5454
  * 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
5455
  *
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.
5456
+ * 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.
5457
+ *
5458
+ * 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
5459
  */
5365
- get: operations["get-oidc-token-direct"];
5366
- put?: never;
5367
- post?: never;
5460
+ post: operations["post-oidc-token"];
5368
5461
  delete?: never;
5369
5462
  options?: never;
5370
5463
  head?: never;
@@ -8610,7 +8703,7 @@ export interface paths {
8610
8703
  * Generate Node Token
8611
8704
  * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
8612
8705
  *
8613
- * Generates a token for registering a node with the cluster.
8706
+ * 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
8707
  */
8615
8708
  post: operations["generate-node-token"];
8616
8709
  delete?: never;
@@ -8619,6 +8712,50 @@ export interface paths {
8619
8712
  patch?: never;
8620
8713
  trace?: never;
8621
8714
  };
8715
+ "/api/organizations/{organization}/managed-clusters/{cluster}/node-tokens": {
8716
+ parameters: {
8717
+ query?: never;
8718
+ header?: never;
8719
+ path?: never;
8720
+ cookie?: never;
8721
+ };
8722
+ /**
8723
+ * List Node Tokens
8724
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
8725
+ *
8726
+ * Lists the cluster's unexpired node registration tokens.
8727
+ */
8728
+ get: operations["list-node-tokens"];
8729
+ put?: never;
8730
+ post?: never;
8731
+ delete?: never;
8732
+ options?: never;
8733
+ head?: never;
8734
+ patch?: never;
8735
+ trace?: never;
8736
+ };
8737
+ "/api/organizations/{organization}/managed-clusters/{cluster}/node-tokens/{id}": {
8738
+ parameters: {
8739
+ query?: never;
8740
+ header?: never;
8741
+ path?: never;
8742
+ cookie?: never;
8743
+ };
8744
+ get?: never;
8745
+ put?: never;
8746
+ post?: never;
8747
+ /**
8748
+ * Revoke Node Token
8749
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
8750
+ *
8751
+ * Revokes a node registration token so it registers no more nodes.
8752
+ */
8753
+ delete: operations["revoke-node-token"];
8754
+ options?: never;
8755
+ head?: never;
8756
+ patch?: never;
8757
+ trace?: never;
8758
+ };
8622
8759
  "/api/organizations/{organization}/managed-clusters/{cluster}/nodes/{hostname}": {
8623
8760
  parameters: {
8624
8761
  query?: never;
@@ -9205,6 +9342,28 @@ export interface paths {
9205
9342
  patch?: never;
9206
9343
  trace?: never;
9207
9344
  };
9345
+ "/api/organizations/{organization}/policies/disable-device-login": {
9346
+ parameters: {
9347
+ query?: never;
9348
+ header?: never;
9349
+ path?: never;
9350
+ cookie?: never;
9351
+ };
9352
+ get?: never;
9353
+ put?: never;
9354
+ /**
9355
+ * Set organization policy: disable-device-login
9356
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
9357
+ *
9358
+ * 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.
9359
+ */
9360
+ post: operations["set-organization-disable-device-login-policy"];
9361
+ delete?: never;
9362
+ options?: never;
9363
+ head?: never;
9364
+ patch?: never;
9365
+ trace?: never;
9366
+ };
9208
9367
  "/api/organizations/{organization}/policies/disable-password-login": {
9209
9368
  parameters: {
9210
9369
  query?: never;
@@ -11450,6 +11609,28 @@ export interface paths {
11450
11609
  patch?: never;
11451
11610
  trace?: never;
11452
11611
  };
11612
+ "/api/organizations/{organization}/users/{user}/clusters/{clusterName}/host-keys": {
11613
+ parameters: {
11614
+ query?: never;
11615
+ header?: never;
11616
+ path?: never;
11617
+ cookie?: never;
11618
+ };
11619
+ get?: never;
11620
+ put?: never;
11621
+ post?: never;
11622
+ /**
11623
+ * Forget Cluster Host Keys
11624
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
11625
+ *
11626
+ * 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.
11627
+ */
11628
+ delete: operations["forget-cluster-host-keys"];
11629
+ options?: never;
11630
+ head?: never;
11631
+ patch?: never;
11632
+ trace?: never;
11633
+ };
11453
11634
  "/api/organizations/{organization}/users/{user}/clusters/{clusterName}/icon": {
11454
11635
  parameters: {
11455
11636
  query?: never;
@@ -12749,7 +12930,7 @@ export interface paths {
12749
12930
  * List user login sessions
12750
12931
  * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
12751
12932
  *
12752
- * Lists the active login sessions for the specified user. IP addresses are only included when listing your own sessions.
12933
+ * 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
12934
  */
12754
12935
  get: operations["list-user-login-sessions"];
12755
12936
  put?: never;
@@ -12780,7 +12961,7 @@ export interface paths {
12780
12961
  * Revoke a user login session
12781
12962
  * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
12782
12963
  *
12783
- * Revokes a single login session for the specified user. Only callable via browser session authentication.
12964
+ * 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
12965
  */
12785
12966
  delete: operations["revoke-user-login-session"];
12786
12967
  options?: never;
@@ -14792,6 +14973,28 @@ export interface paths {
14792
14973
  patch?: never;
14793
14974
  trace?: never;
14794
14975
  };
14976
+ "/api/platform/policies/disable-device-login": {
14977
+ parameters: {
14978
+ query?: never;
14979
+ header?: never;
14980
+ path?: never;
14981
+ cookie?: never;
14982
+ };
14983
+ get?: never;
14984
+ put?: never;
14985
+ /**
14986
+ * Set platform policy: disable-device-login
14987
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
14988
+ *
14989
+ * 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.
14990
+ */
14991
+ post: operations["set-platform-disable-device-login-policy"];
14992
+ delete?: never;
14993
+ options?: never;
14994
+ head?: never;
14995
+ patch?: never;
14996
+ trace?: never;
14997
+ };
14795
14998
  "/api/platform/policies/disable-password-login": {
14796
14999
  parameters: {
14797
15000
  query?: never;
@@ -14814,6 +15017,50 @@ export interface paths {
14814
15017
  patch?: never;
14815
15018
  trace?: never;
14816
15019
  };
15020
+ "/api/platform/policies/disable-pw-cli-sign-in": {
15021
+ parameters: {
15022
+ query?: never;
15023
+ header?: never;
15024
+ path?: never;
15025
+ cookie?: never;
15026
+ };
15027
+ get?: never;
15028
+ put?: never;
15029
+ /**
15030
+ * Set platform policy: disable-pw-cli-sign-in
15031
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
15032
+ *
15033
+ * 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.
15034
+ */
15035
+ post: operations["set-platform-disable-pw-cli-sign-in-policy"];
15036
+ delete?: never;
15037
+ options?: never;
15038
+ head?: never;
15039
+ patch?: never;
15040
+ trace?: never;
15041
+ };
15042
+ "/api/platform/policies/disable-pw-mobile-sign-in": {
15043
+ parameters: {
15044
+ query?: never;
15045
+ header?: never;
15046
+ path?: never;
15047
+ cookie?: never;
15048
+ };
15049
+ get?: never;
15050
+ put?: never;
15051
+ /**
15052
+ * Set platform policy: disable-pw-mobile-sign-in
15053
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
15054
+ *
15055
+ * 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.
15056
+ */
15057
+ post: operations["set-platform-disable-pw-mobile-sign-in-policy"];
15058
+ delete?: never;
15059
+ options?: never;
15060
+ head?: never;
15061
+ patch?: never;
15062
+ trace?: never;
15063
+ };
14817
15064
  "/api/platform/policies/enforce-webauthn-mfa": {
14818
15065
  parameters: {
14819
15066
  query?: never;
@@ -15965,6 +16212,28 @@ export interface paths {
15965
16212
  patch?: never;
15966
16213
  trace?: never;
15967
16214
  };
16215
+ "/api/ssh/host-keys": {
16216
+ parameters: {
16217
+ query?: never;
16218
+ header?: never;
16219
+ path?: never;
16220
+ cookie?: never;
16221
+ };
16222
+ /**
16223
+ * Get SSH host keys
16224
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
16225
+ *
16226
+ * Returns the SSH host keys recorded for a resource the caller may connect to, so a client can verify the server it reaches.
16227
+ */
16228
+ get: operations["get-ssh-host-keys"];
16229
+ put?: never;
16230
+ post?: never;
16231
+ delete?: never;
16232
+ options?: never;
16233
+ head?: never;
16234
+ patch?: never;
16235
+ trace?: never;
16236
+ };
15968
16237
  "/api/sso/cac/redirect/{authID}": {
15969
16238
  parameters: {
15970
16239
  query?: never;
@@ -17576,6 +17845,8 @@ export interface components {
17576
17845
  expiration?: string;
17577
17846
  /** @description The unique identifier for the API key. */
17578
17847
  id: string;
17848
+ /** @description Username of the administrator who created the key while signed in as this user. */
17849
+ impersonatedBy?: string;
17579
17850
  /** @description Truncated preview of the key for identification. */
17580
17851
  keyHint?: string;
17581
17852
  /**
@@ -18162,18 +18433,28 @@ export interface components {
18162
18433
  AgentSession: {
18163
18434
  allocation?: string;
18164
18435
  approvals?: components["schemas"]["ApprovalRequest"][] | null;
18436
+ /** Format: date-time */
18437
+ archivedAt?: string;
18165
18438
  autoName?: string;
18439
+ branch?: string;
18166
18440
  /** Format: date-time */
18167
18441
  createdAt: string;
18168
18442
  effort?: string;
18169
18443
  id: string;
18444
+ /** Format: int64 */
18445
+ inputTokens?: number;
18446
+ lastError?: string;
18170
18447
  liveHost?: string;
18171
18448
  machineId: string;
18172
18449
  /** Format: int64 */
18173
18450
  messages: number;
18174
18451
  model: string;
18175
18452
  name?: string;
18453
+ /** Format: int64 */
18454
+ outputTokens?: number;
18176
18455
  permissionMode?: string;
18456
+ /** Format: date-time */
18457
+ pinnedAt?: string;
18177
18458
  preview: string;
18178
18459
  remoteControl?: boolean;
18179
18460
  /** @enum {string} */
@@ -18191,13 +18472,19 @@ export interface components {
18191
18472
  AgentSessionDetail: {
18192
18473
  allocation?: string;
18193
18474
  approvals?: components["schemas"]["ApprovalRequest"][] | null;
18475
+ /** Format: date-time */
18476
+ archivedAt?: string;
18194
18477
  autoName?: string;
18478
+ branch?: string;
18195
18479
  /** Format: date-time */
18196
18480
  createdAt: string;
18197
18481
  effort?: string;
18198
18482
  history: components["schemas"]["HistoryItem"][] | null;
18199
18483
  id: string;
18200
18484
  /** Format: int64 */
18485
+ inputTokens?: number;
18486
+ lastError?: string;
18487
+ /** Format: int64 */
18201
18488
  lastSeq?: number;
18202
18489
  liveHost?: string;
18203
18490
  machineId: string;
@@ -18205,7 +18492,11 @@ export interface components {
18205
18492
  messages: number;
18206
18493
  model: string;
18207
18494
  name?: string;
18495
+ /** Format: int64 */
18496
+ outputTokens?: number;
18208
18497
  permissionMode?: string;
18498
+ /** Format: date-time */
18499
+ pinnedAt?: string;
18209
18500
  preview: string;
18210
18501
  remoteControl?: boolean;
18211
18502
  /** @enum {string} */
@@ -18238,6 +18529,16 @@ export interface components {
18238
18529
  /** @description Every reachable machine's sessions, newest first. */
18239
18530
  sessions: components["schemas"]["AgentSession"][] | null;
18240
18531
  };
18532
+ AgentShellBody: {
18533
+ /** @description The command, without the leading !. */
18534
+ command: string;
18535
+ };
18536
+ AgentShellOutput: {
18537
+ /** @description What the command printed, stdout and stderr together. */
18538
+ output: string;
18539
+ /** @description Why the owner's hook asked that the model not react to the run. Send no follow-up message when it is set. */
18540
+ stop?: string;
18541
+ };
18241
18542
  AgentSlashCommand: {
18242
18543
  description?: string;
18243
18544
  name: string;
@@ -18561,7 +18862,7 @@ export interface components {
18561
18862
  /** @description Groups whose members may use the application. Empty means everyone in the organization. */
18562
18863
  allowedGroups?: string[] | null;
18563
18864
  /**
18564
- * @description Whether the user sees a consent screen. Defaults to none.
18865
+ * @description Whether the user sees a consent screen. Defaults to none. Always none for a service application, which shows no consent screen.
18565
18866
  * @enum {string}
18566
18867
  */
18567
18868
  consent?: "none" | "required";
@@ -18587,7 +18888,7 @@ export interface components {
18587
18888
  redirectUris?: string[] | null;
18588
18889
  /** @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
18890
  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. */
18891
+ /** @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
18892
  scopes?: string[] | null;
18592
18893
  /**
18593
18894
  * @description What the sub claim contains. Defaults to userId.
@@ -18658,7 +18959,7 @@ export interface components {
18658
18959
  /** @description Groups whose members may use the application. Empty means everyone in the organization. */
18659
18960
  allowedGroups?: string[] | null;
18660
18961
  /**
18661
- * @description Whether the user sees a consent screen. Defaults to none.
18962
+ * @description Whether the user sees a consent screen. Defaults to none. Always none for a service application, which shows no consent screen.
18662
18963
  * @enum {string}
18663
18964
  */
18664
18965
  consent?: "none" | "required";
@@ -18684,7 +18985,7 @@ export interface components {
18684
18985
  redirectUris?: string[] | null;
18685
18986
  /** @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
18987
  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. */
18988
+ /** @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
18989
  scopes?: string[] | null;
18689
18990
  /**
18690
18991
  * @description What the sub claim contains. Defaults to userId.
@@ -21759,6 +22060,17 @@ export interface components {
21759
22060
  cidr: string;
21760
22061
  region: string;
21761
22062
  };
22063
+ ConfirmHostKeyBody: {
22064
+ /** @description The login node the key belongs to, as configured on the cluster. Required for the login target. */
22065
+ host?: string;
22066
+ /** @description The host public key (authorized_keys line) the owner accepted. */
22067
+ key: string;
22068
+ /**
22069
+ * @description Which host the key belongs to.
22070
+ * @enum {string}
22071
+ */
22072
+ target: "login" | "jump";
22073
+ };
21762
22074
  ConnectStateBody: {
21763
22075
  /** @description Failure detail when status is failed. */
21764
22076
  error?: string;
@@ -21785,6 +22097,8 @@ export interface components {
21785
22097
  ConnectedApp: {
21786
22098
  /** @description Client ID of the application */
21787
22099
  clientId: string;
22100
+ /** @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 */
22101
+ devices?: components["schemas"]["ConnectedDevice"][] | null;
21788
22102
  /**
21789
22103
  * Format: date-time
21790
22104
  * @description When the user first granted access
@@ -21799,6 +22113,33 @@ export interface components {
21799
22113
  name: string;
21800
22114
  /** @description Scopes the user granted it */
21801
22115
  scopes: string[] | null;
22116
+ /** @description Whether a platform administrator turned off sign-in for this application, which stops its existing sign-ins too */
22117
+ signInDisabled?: boolean;
22118
+ };
22119
+ ConnectedDevice: {
22120
+ /** @description Whether this device made the request */
22121
+ current: boolean;
22122
+ /** @description Name the device reported; nothing verifies it */
22123
+ deviceName?: string;
22124
+ /**
22125
+ * Format: date-time
22126
+ * @description When the device is signed out unless it is used before then
22127
+ */
22128
+ expiresAt?: string;
22129
+ /** @description Identifies this device's sign-in */
22130
+ id: string;
22131
+ /** @description Address the device signed in from */
22132
+ ipAddress?: string;
22133
+ /**
22134
+ * Format: date-time
22135
+ * @description When the device last used the platform
22136
+ */
22137
+ lastUsedAt?: string;
22138
+ /**
22139
+ * Format: date-time
22140
+ * @description When the device signed in
22141
+ */
22142
+ signedInAt: string;
21802
22143
  };
21803
22144
  ConnectionPathInputBody: {
21804
22145
  catalogEntryId: string;
@@ -22027,10 +22368,15 @@ export interface components {
22027
22368
  CreateAPIKeyInputBody: {
22028
22369
  /** @description Budget allocation name (required for AI keys) */
22029
22370
  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. */
22371
+ /** @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. Not allowed with expiresIn. */
22031
22372
  duration?: string;
22032
- /** @description Display name for the API key */
22033
- title: string;
22373
+ /**
22374
+ * Format: int64
22375
+ * @description Seconds before the key expires, as in OAuth 2.0 expires_in, for lifetimes that are not whole days. At least 900 (15 minutes) and at most the organization's maximum API key lifetime. Not allowed with duration.
22376
+ */
22377
+ expiresIn?: number;
22378
+ /** @description Display name for the API key, unique among your keys. When omitted, the key is named token-YYYYMMDD-HHMMSS-xxxx, the time in UTC with a random suffix. */
22379
+ title?: string;
22034
22380
  /**
22035
22381
  * @description Key type
22036
22382
  * @default platform
@@ -22053,6 +22399,8 @@ export interface components {
22053
22399
  expiration?: string;
22054
22400
  /** @description The unique identifier for the API key. */
22055
22401
  id: string;
22402
+ /** @description Username of the administrator who created the key while signed in as this user. */
22403
+ impersonatedBy?: string;
22056
22404
  /** @description The full API key (only shown once) */
22057
22405
  key: string;
22058
22406
  /** @description Truncated preview of the key for identification. */
@@ -22254,6 +22602,8 @@ export interface components {
22254
22602
  userhostRegion?: string;
22255
22603
  };
22256
22604
  CreateClusterInputBody: {
22605
+ /** @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. */
22606
+ allowPrivateAddress?: boolean;
22257
22607
  /** @description PEM-encoded CA certificate. Leave empty when the cluster uses a publicly trusted certificate. */
22258
22608
  caCert?: string;
22259
22609
  /**
@@ -23219,6 +23569,16 @@ export interface components {
23219
23569
  */
23220
23570
  y: number;
23221
23571
  };
23572
+ DecideDeviceRequestInputBody: {
23573
+ /** @description True to sign the device in; false to refuse it */
23574
+ approve: boolean;
23575
+ /** @description The code shown by the device, with or without its dash */
23576
+ userCode: string;
23577
+ };
23578
+ DecideDeviceRequestOutputBody: {
23579
+ /** @description Whether the device is now signed in once it next polls */
23580
+ approved: boolean;
23581
+ };
23222
23582
  DeleteDeploymentBody: {
23223
23583
  /** @description Deployment id; matches resources tagged with it as session-id or pw-deployment-id. */
23224
23584
  deploymentId: string;
@@ -23389,6 +23749,40 @@ export interface components {
23389
23749
  sifPath?: string;
23390
23750
  useApptainer?: boolean;
23391
23751
  };
23752
+ DeviceAuthorizationBody: {
23753
+ /** @description Code the device polls the token endpoint with */
23754
+ device_code?: string;
23755
+ /** @description OAuth error code */
23756
+ error?: string;
23757
+ /** @description Human-readable error detail */
23758
+ error_description?: string;
23759
+ /** @description Page that explains the error */
23760
+ error_uri?: string;
23761
+ /**
23762
+ * Format: int64
23763
+ * @description Seconds until both codes expire
23764
+ */
23765
+ expires_in?: number;
23766
+ /**
23767
+ * Format: int64
23768
+ * @description Seconds to wait between polls
23769
+ */
23770
+ interval?: number;
23771
+ /** @description Code the user enters at the verification URI */
23772
+ user_code?: string;
23773
+ /** @description Page where the user enters the code */
23774
+ verification_uri?: string;
23775
+ /** @description The verification page with the code filled in */
23776
+ verification_uri_complete?: string;
23777
+ };
23778
+ DeviceCodeBody: {
23779
+ /** @description The code shown by the device, with or without its dash */
23780
+ userCode: string;
23781
+ };
23782
+ DeviceRequestBody: {
23783
+ /** @description Name of the application asking to sign in */
23784
+ clientName: string;
23785
+ };
23392
23786
  DiscoverCACertInputBody: {
23393
23787
  /**
23394
23788
  * @description Kubernetes API endpoint to dial
@@ -23836,6 +24230,8 @@ export interface components {
23836
24230
  disconnectedAt?: string;
23837
24231
  /** @description Group name */
23838
24232
  group?: string;
24233
+ /** @description SSH host keys the workspace verifies the cluster against */
24234
+ hostKeys: components["schemas"]["ExistingClusterHostKeys"];
23839
24235
  /** @description Cluster ID */
23840
24236
  readonly id: string;
23841
24237
  /** @description SSH key name */
@@ -23884,6 +24280,25 @@ export interface components {
23884
24280
  */
23885
24281
  type: "existing";
23886
24282
  };
24283
+ ExistingClusterHostKeys: {
24284
+ /** @description Host keys the owner accepted for the jump host. */
24285
+ jump: string[] | null;
24286
+ /** @description Host keys the owner accepted, per login node; a node with no entry has none recorded. */
24287
+ login: components["schemas"]["ExistingClusterLoginHostKeys"][] | null;
24288
+ /**
24289
+ * @description off skips verification; otherwise, when the list is empty, warn connects unverified and enforce refuses.
24290
+ * @enum {string}
24291
+ */
24292
+ policy: "off" | "warn" | "enforce";
24293
+ /** @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. */
24294
+ pwServer: string[] | null;
24295
+ };
24296
+ ExistingClusterLoginHostKeys: {
24297
+ /** @description The login node, as configured on the cluster. */
24298
+ host: string;
24299
+ /** @description Host public keys the owner accepted for this login node. */
24300
+ keys: string[] | null;
24301
+ };
23887
24302
  ExistingClusterLoginNode: {
23888
24303
  /** @description Login node hostname */
23889
24304
  node: string;
@@ -24331,6 +24746,8 @@ export interface components {
24331
24746
  schedulerType?: string;
24332
24747
  /** @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
24748
  shouldPlatformProxy: boolean;
24749
+ /** @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. */
24750
+ sshHostKeys?: string[] | null;
24334
24751
  /**
24335
24752
  * @description The status of the resource.
24336
24753
  * @example active
@@ -24361,6 +24778,15 @@ export interface components {
24361
24778
  */
24362
24779
  user?: string;
24363
24780
  };
24781
+ GenerateNodeTokenBody: {
24782
+ /**
24783
+ * Format: int64
24784
+ * @description Minutes until the token expires, at most 24 hours. Defaults to 60 for a reusable token and 1440 for a single-use one.
24785
+ */
24786
+ expiresInMinutes?: number;
24787
+ /** @description Register any number of nodes until the token expires or is revoked, instead of one node */
24788
+ reusable?: boolean;
24789
+ };
24364
24790
  GenerateNodeTokenOutputBody: {
24365
24791
  /** @description Cluster name */
24366
24792
  cluster: string;
@@ -24369,8 +24795,14 @@ export interface components {
24369
24795
  * @description Token expiration time
24370
24796
  */
24371
24797
  expiresAt: string;
24798
+ /** @description Short preview of the token */
24799
+ hint: string;
24800
+ /** @description Token id, for revoking it */
24801
+ id: string;
24372
24802
  /** @description Organization name */
24373
24803
  organization: string;
24804
+ /** @description Whether the token registers any number of nodes until it expires */
24805
+ reusable: boolean;
24374
24806
  /** @description Node registration token */
24375
24807
  token: string;
24376
24808
  };
@@ -25302,6 +25734,8 @@ export interface components {
25302
25734
  osRelease?: string;
25303
25735
  /** @description Scheduler information */
25304
25736
  scheduler?: components["schemas"]["SchedulerInfo"];
25737
+ /** @description The node's sshd host public keys (authorized_keys lines), which SSH clients verify the node against. */
25738
+ sshHostKeys?: string[] | null;
25305
25739
  /** @description Static system information */
25306
25740
  systemInfo?: components["schemas"]["SystemInfo"];
25307
25741
  };
@@ -26325,6 +26759,8 @@ export interface components {
26325
26759
  totalServices: number;
26326
26760
  };
26327
26761
  KubernetesSingleClusterResponse: {
26762
+ /** @description Whether a platform administrator allowed the endpoint to be on a private network */
26763
+ allowPrivateAddress: boolean;
26328
26764
  /**
26329
26765
  * @description Base64-encoded CA certificate
26330
26766
  * @example LS0tLS1CRUdJTi...
@@ -26588,9 +27024,11 @@ export interface components {
26588
27024
  language: "en" | "ja" | "ko" | "es" | "zh" | "";
26589
27025
  };
26590
27026
  Ldap: {
27027
+ /** @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. */
27028
+ allowPrivateAddress?: boolean;
26591
27029
  /** @description Base DN for LDAP authentication */
26592
27030
  baseDN?: string;
26593
- /** @description CA certificate used to verify the LDAP server */
27031
+ /** @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
27032
  caCert?: string;
26595
27033
  /** @description Client certificate for LDAP authentication */
26596
27034
  clientCert?: string;
@@ -26628,9 +27066,11 @@ export interface components {
26628
27066
  username?: string;
26629
27067
  };
26630
27068
  LdapConnectionTest: {
27069
+ /** @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. */
27070
+ allowPrivateAddress?: boolean;
26631
27071
  /** @description Base DN for LDAP authentication */
26632
27072
  baseDN?: string;
26633
- /** @description CA certificate used to verify the LDAP server */
27073
+ /** @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
27074
  caCert?: string;
26635
27075
  /** @description Client certificate for LDAP authentication */
26636
27076
  clientCert?: string;
@@ -26910,6 +27350,11 @@ export interface components {
26910
27350
  title?: string;
26911
27351
  } | null;
26912
27352
  LoginSessionResponse: {
27353
+ /**
27354
+ * @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.
27355
+ * @enum {string}
27356
+ */
27357
+ client?: "pw-cli" | "pw-mobile";
26913
27358
  /**
26914
27359
  * Format: date-time
26915
27360
  * @description When the session was created.
@@ -26917,6 +27362,8 @@ export interface components {
26917
27362
  createdAt: string;
26918
27363
  /** @description Whether this is the session making the request. */
26919
27364
  current: boolean;
27365
+ /** @description For a pw CLI or mobile app sign-in, the name the device reported; nothing verifies it. */
27366
+ deviceName?: string;
26920
27367
  /**
26921
27368
  * Format: date-time
26922
27369
  * @description When the session expires.
@@ -28351,6 +28798,26 @@ export interface components {
28351
28798
  /** Format: double */
28352
28799
  uptime: number;
28353
28800
  };
28801
+ NodeToken: {
28802
+ /**
28803
+ * Format: date-time
28804
+ * @description When the token was created
28805
+ */
28806
+ createdAt: string;
28807
+ /** @description Username of the user who created the token */
28808
+ createdBy?: string;
28809
+ /**
28810
+ * Format: date-time
28811
+ * @description When the token expires
28812
+ */
28813
+ expiresAt: string;
28814
+ /** @description Short preview of the token */
28815
+ hint: string;
28816
+ /** @description Token id */
28817
+ id: string;
28818
+ /** @description Whether the token registers any number of nodes until it expires */
28819
+ reusable: boolean;
28820
+ };
28354
28821
  NodesBody: {
28355
28822
  /** @description List of cluster errors, if any */
28356
28823
  errors?: components["schemas"]["ClusterError"][] | null;
@@ -28452,6 +28919,8 @@ export interface components {
28452
28919
  Oidc: {
28453
28920
  /** @description Whether to allow new user creation */
28454
28921
  allowNewUserCreation?: boolean | null;
28922
+ /** @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. */
28923
+ allowPrivateAddress?: boolean;
28455
28924
  /** @description Authorization endpoint of the OIDC authentication method */
28456
28925
  authorizationEndpoint?: string;
28457
28926
  /** @description Client ID of the OIDC authentication method */
@@ -28506,6 +28975,8 @@ export interface components {
28506
28975
  claims_supported: string[] | null;
28507
28976
  /** @description JSON array containing the supported PKCE code challenge methods */
28508
28977
  code_challenge_methods_supported: string[] | null;
28978
+ /** @description URL of the device authorization endpoint (RFC 8628), open to the pw CLI only */
28979
+ device_authorization_endpoint: string;
28509
28980
  /** @description URL of the RP-initiated logout endpoint */
28510
28981
  end_session_endpoint: string;
28511
28982
  /** @description JSON array containing the supported grant types */
@@ -29626,10 +30097,14 @@ export interface components {
29626
30097
  enabled: boolean | null;
29627
30098
  };
29628
30099
  PendingConsentOutputBody: {
30100
+ /** @description Present when the request is a pw CLI sign-in, which is confirmed every time */
30101
+ cliSignIn?: components["schemas"]["PendingNativeSignIn"];
29629
30102
  /** @description Client ID of the application asking for access */
29630
30103
  clientId: string;
29631
30104
  /** @description Description the organization gave the application */
29632
30105
  description?: string;
30106
+ /** @description Present when the request is an ACTIVATE mobile app sign-in, which is confirmed every time */
30107
+ mobileSignIn?: components["schemas"]["PendingNativeSignIn"];
29633
30108
  /** @description Display name of the application */
29634
30109
  name: string;
29635
30110
  /** @description Organization that registered the application */
@@ -29641,6 +30116,10 @@ export interface components {
29641
30116
  /** @description Scopes the application is asking for */
29642
30117
  scopes: string[] | null;
29643
30118
  };
30119
+ PendingNativeSignIn: {
30120
+ /** @description Username of the account the app will be signed in to */
30121
+ account: string;
30122
+ };
29644
30123
  PermissionEntry: {
29645
30124
  /** Format: date-time */
29646
30125
  createdAt: string;
@@ -29797,7 +30276,7 @@ export interface components {
29797
30276
  maintenanceMode?: boolean;
29798
30277
  /**
29799
30278
  * 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.
30279
+ * @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
30280
  */
29802
30281
  maxApiKeyTtlDays?: number;
29803
30282
  /** @description Indicates if the platform needs a license update (no license, expired, or in grace period). Only returned when true. */
@@ -29848,6 +30327,11 @@ export interface components {
29848
30327
  singleOrgName?: string;
29849
30328
  /** @description Indicates if the platform is a single organization platform. */
29850
30329
  singleOrgPlatform?: boolean;
30330
+ /**
30331
+ * @description Whether SSH clients verify server host keys: off (the default), warn (connect to unrecorded hosts and report them), or enforce (refuse them).
30332
+ * @enum {string}
30333
+ */
30334
+ sshHostKeyVerification: "off" | "warn" | "enforce";
29851
30335
  /** @description Indicates if the platform advertises resumable SSH sessions; hpcconnect relaxes generated ssh keepalives when set. */
29852
30336
  sshResumeEnabled: boolean;
29853
30337
  /**
@@ -29963,6 +30447,11 @@ export interface components {
29963
30447
  * @description Sentry traces sample rate (0.0-1.0).
29964
30448
  */
29965
30449
  sentryTracesSampleRate: number;
30450
+ /**
30451
+ * @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.
30452
+ * @enum {string}
30453
+ */
30454
+ sshHostKeyVerification: "off" | "warn" | "enforce";
29966
30455
  /** @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
30456
  sshResumeEnabled: boolean;
29968
30457
  /** @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 +33442,8 @@ export interface components {
32953
33442
  /** Format: date-time */
32954
33443
  createdAt: string;
32955
33444
  id: string;
33445
+ /** @description Username of the administrator who added the key while signed in as this user. */
33446
+ impersonatedBy?: string;
32956
33447
  key: string;
32957
33448
  title: string;
32958
33449
  };
@@ -33606,6 +34097,17 @@ export interface components {
33606
34097
  /** @description Username of the snapshot owner */
33607
34098
  user?: string;
33608
34099
  };
34100
+ SshHostKeys: {
34101
+ /** @description Recorded host public keys (authorized_keys lines) or SHA256 fingerprints for the login target; any match is accepted. */
34102
+ hostKeys: string[] | null;
34103
+ /** @description Recorded keys for the cluster's jump host, when the cluster connects through one. */
34104
+ jumpHostKeys?: string[] | null;
34105
+ /**
34106
+ * @description off skips verification; otherwise, when hostKeys is empty, warn connects unverified and enforce refuses.
34107
+ * @enum {string}
34108
+ */
34109
+ policy: "off" | "warn" | "enforce";
34110
+ };
33609
34111
  SshPrivateKey: {
33610
34112
  /**
33611
34113
  * Format: date-time
@@ -33616,6 +34118,8 @@ export interface components {
33616
34118
  readonly description?: string;
33617
34119
  /** @description The unique identifier of the SSH key */
33618
34120
  readonly id?: string;
34121
+ /** @description Username of the administrator who added the key while signed in as this user */
34122
+ readonly impersonatedBy?: string;
33619
34123
  /** @description The path to the key in the user workspace */
33620
34124
  readonly keyFile?: string;
33621
34125
  /** @description The name of the SSH key */
@@ -34162,24 +34666,28 @@ export interface components {
34162
34666
  totalCost: number;
34163
34667
  };
34164
34668
  TokenBody: {
34165
- /** @description Opaque access token for the userinfo endpoint */
34669
+ /** @description Opaque access token for the userinfo endpoint; for a token exchange, the issued token itself */
34166
34670
  access_token?: string;
34167
34671
  /** @description OAuth error code */
34168
34672
  error?: string;
34169
34673
  /** @description Human-readable error detail */
34170
34674
  error_description?: string;
34675
+ /** @description Page that explains the error */
34676
+ error_uri?: string;
34171
34677
  /**
34172
34678
  * Format: int64
34173
- * @description Access token lifetime in seconds
34679
+ * @description Lifetime in seconds of the access token, or of the issued token for a token exchange
34174
34680
  */
34175
34681
  expires_in?: number;
34176
34682
  /** @description Signed ID token */
34177
34683
  id_token?: string;
34684
+ /** @description Type of the issued token, set only for a token exchange (RFC 8693 section 2.2.1) */
34685
+ issued_token_type?: string;
34178
34686
  /** @description Opaque refresh token, issued when the offline_access scope was granted */
34179
34687
  refresh_token?: string;
34180
34688
  /** @description Space-delimited scopes actually granted */
34181
34689
  scope?: string;
34182
- /** @description Always Bearer */
34690
+ /** @description Bearer, or N_A for a token exchange whose issued token is not an access token */
34183
34691
  token_type?: string;
34184
34692
  };
34185
34693
  Tool: {
@@ -34382,6 +34890,11 @@ export interface components {
34382
34890
  singleOrgName?: string;
34383
34891
  /** @description Whether to enable single org platform. */
34384
34892
  singleOrgPlatform?: boolean;
34893
+ /**
34894
+ * @description Whether SSH clients verify server host keys: off, warn or enforce.
34895
+ * @enum {string}
34896
+ */
34897
+ sshHostKeyVerification?: "off" | "warn" | "enforce";
34385
34898
  /** @description Whether to advertise resumable SSH sessions to clients. */
34386
34899
  sshResumeEnabled?: boolean;
34387
34900
  /** @description Whether the stuck-run sweeper is enabled. */
@@ -34425,6 +34938,8 @@ export interface components {
34425
34938
  tags?: string[];
34426
34939
  };
34427
34940
  UpdateClusterInputBody: {
34941
+ /** @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. */
34942
+ allowPrivateAddress?: boolean;
34428
34943
  /** @description Base64-encoded CA certificate. Leave empty when the cluster uses a publicly trusted certificate. */
34429
34944
  caCert?: string;
34430
34945
  /**
@@ -39348,6 +39863,44 @@ export interface operations {
39348
39863
  };
39349
39864
  };
39350
39865
  };
39866
+ "run-agent-session-shell": {
39867
+ parameters: {
39868
+ query?: never;
39869
+ header?: never;
39870
+ path: {
39871
+ /** @description Machine id from the machines list. */
39872
+ machine: string;
39873
+ /** @description Session id as the daemon reports it. */
39874
+ id: string;
39875
+ };
39876
+ cookie?: never;
39877
+ };
39878
+ requestBody: {
39879
+ content: {
39880
+ "application/json": components["schemas"]["AgentShellBody"];
39881
+ };
39882
+ };
39883
+ responses: {
39884
+ /** @description OK */
39885
+ 200: {
39886
+ headers: {
39887
+ [name: string]: unknown;
39888
+ };
39889
+ content: {
39890
+ "application/json": components["schemas"]["AgentShellOutput"];
39891
+ };
39892
+ };
39893
+ /** @description Error */
39894
+ default: {
39895
+ headers: {
39896
+ [name: string]: unknown;
39897
+ };
39898
+ content: {
39899
+ "application/json": components["schemas"]["Error"];
39900
+ };
39901
+ };
39902
+ };
39903
+ };
39351
39904
  "list-agent-sessions": {
39352
39905
  parameters: {
39353
39906
  query?: never;
@@ -40410,39 +40963,6 @@ export interface operations {
40410
40963
  };
40411
40964
  };
40412
40965
  };
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
40966
  "get-whoami": {
40447
40967
  parameters: {
40448
40968
  query?: never;
@@ -41794,6 +42314,42 @@ export interface operations {
41794
42314
  };
41795
42315
  };
41796
42316
  };
42317
+ "confirm-cluster-host-key": {
42318
+ parameters: {
42319
+ query?: never;
42320
+ header?: never;
42321
+ path: {
42322
+ /** @description The cluster (pool) id. */
42323
+ clusterId: string;
42324
+ };
42325
+ cookie?: never;
42326
+ };
42327
+ requestBody: {
42328
+ content: {
42329
+ "application/json": components["schemas"]["ConfirmHostKeyBody"];
42330
+ };
42331
+ };
42332
+ responses: {
42333
+ /** @description OK */
42334
+ 200: {
42335
+ headers: {
42336
+ [name: string]: unknown;
42337
+ };
42338
+ content: {
42339
+ "application/json": components["schemas"]["ExistingClusterHostKeys"];
42340
+ };
42341
+ };
42342
+ /** @description Error */
42343
+ default: {
42344
+ headers: {
42345
+ [name: string]: unknown;
42346
+ };
42347
+ content: {
42348
+ "application/json": components["schemas"]["Error"];
42349
+ };
42350
+ };
42351
+ };
42352
+ };
41797
42353
  "get-existing-clusters": {
41798
42354
  parameters: {
41799
42355
  query?: never;
@@ -44703,6 +45259,38 @@ export interface operations {
44703
45259
  };
44704
45260
  };
44705
45261
  };
45262
+ "sign-out-oidc-connected-device": {
45263
+ parameters: {
45264
+ query?: never;
45265
+ header?: never;
45266
+ path: {
45267
+ /** @description Client ID of the application; only the pw CLI and the ACTIVATE mobile app have devices */
45268
+ clientId: string;
45269
+ /** @description ID of the device sign-in to end */
45270
+ deviceId: string;
45271
+ };
45272
+ cookie?: never;
45273
+ };
45274
+ requestBody?: never;
45275
+ responses: {
45276
+ /** @description No Content */
45277
+ 204: {
45278
+ headers: {
45279
+ [name: string]: unknown;
45280
+ };
45281
+ content?: never;
45282
+ };
45283
+ /** @description Error */
45284
+ default: {
45285
+ headers: {
45286
+ [name: string]: unknown;
45287
+ };
45288
+ content: {
45289
+ "application/json": components["schemas"]["Error"];
45290
+ };
45291
+ };
45292
+ };
45293
+ };
44706
45294
  "get-oidc-consent": {
44707
45295
  parameters: {
44708
45296
  query?: never;
@@ -44766,6 +45354,107 @@ export interface operations {
44766
45354
  };
44767
45355
  };
44768
45356
  };
45357
+ "decide-oidc-device-request": {
45358
+ parameters: {
45359
+ query?: never;
45360
+ header?: never;
45361
+ path?: never;
45362
+ cookie?: never;
45363
+ };
45364
+ requestBody: {
45365
+ content: {
45366
+ "application/json": components["schemas"]["DecideDeviceRequestInputBody"];
45367
+ };
45368
+ };
45369
+ responses: {
45370
+ /** @description OK */
45371
+ 200: {
45372
+ headers: {
45373
+ [name: string]: unknown;
45374
+ };
45375
+ content: {
45376
+ "application/json": components["schemas"]["DecideDeviceRequestOutputBody"];
45377
+ };
45378
+ };
45379
+ /** @description Error */
45380
+ default: {
45381
+ headers: {
45382
+ [name: string]: unknown;
45383
+ };
45384
+ content: {
45385
+ "application/json": components["schemas"]["Error"];
45386
+ };
45387
+ };
45388
+ };
45389
+ };
45390
+ "lookup-oidc-device-request": {
45391
+ parameters: {
45392
+ query?: never;
45393
+ header?: never;
45394
+ path?: never;
45395
+ cookie?: never;
45396
+ };
45397
+ requestBody: {
45398
+ content: {
45399
+ "application/json": components["schemas"]["DeviceCodeBody"];
45400
+ };
45401
+ };
45402
+ responses: {
45403
+ /** @description OK */
45404
+ 200: {
45405
+ headers: {
45406
+ [name: string]: unknown;
45407
+ };
45408
+ content: {
45409
+ "application/json": components["schemas"]["DeviceRequestBody"];
45410
+ };
45411
+ };
45412
+ /** @description Error */
45413
+ default: {
45414
+ headers: {
45415
+ [name: string]: unknown;
45416
+ };
45417
+ content: {
45418
+ "application/json": components["schemas"]["Error"];
45419
+ };
45420
+ };
45421
+ };
45422
+ };
45423
+ "post-oidc-device-authorization": {
45424
+ parameters: {
45425
+ query?: never;
45426
+ header?: never;
45427
+ path?: never;
45428
+ cookie?: never;
45429
+ };
45430
+ requestBody?: {
45431
+ content: {
45432
+ "application/x-www-form-urlencoded": string;
45433
+ };
45434
+ };
45435
+ responses: {
45436
+ /** @description OK */
45437
+ 200: {
45438
+ headers: {
45439
+ "Cache-Control"?: string;
45440
+ "WWW-Authenticate"?: string | null;
45441
+ [name: string]: unknown;
45442
+ };
45443
+ content: {
45444
+ "application/json": components["schemas"]["DeviceAuthorizationBody"];
45445
+ };
45446
+ };
45447
+ /** @description Error */
45448
+ default: {
45449
+ headers: {
45450
+ [name: string]: unknown;
45451
+ };
45452
+ content: {
45453
+ "application/json": components["schemas"]["Error"];
45454
+ };
45455
+ };
45456
+ };
45457
+ };
44769
45458
  "get-oidc-end-session": {
44770
45459
  parameters: {
44771
45460
  query?: {
@@ -44888,6 +45577,7 @@ export interface operations {
44888
45577
  200: {
44889
45578
  headers: {
44890
45579
  "Cache-Control"?: string;
45580
+ Pragma?: string;
44891
45581
  "WWW-Authenticate"?: string | null;
44892
45582
  [name: string]: unknown;
44893
45583
  };
@@ -44955,6 +45645,7 @@ export interface operations {
44955
45645
  200: {
44956
45646
  headers: {
44957
45647
  "Cache-Control"?: string;
45648
+ Pragma?: string;
44958
45649
  "WWW-Authenticate"?: string | null;
44959
45650
  [name: string]: unknown;
44960
45651
  };
@@ -44973,39 +45664,6 @@ export interface operations {
44973
45664
  };
44974
45665
  };
44975
45666
  };
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
45667
  "get-oidc-userinfo": {
45010
45668
  parameters: {
45011
45669
  query?: never;
@@ -52315,7 +52973,11 @@ export interface operations {
52315
52973
  };
52316
52974
  cookie?: never;
52317
52975
  };
52318
- requestBody?: never;
52976
+ requestBody?: {
52977
+ content: {
52978
+ "application/json": components["schemas"]["GenerateNodeTokenBody"];
52979
+ };
52980
+ };
52319
52981
  responses: {
52320
52982
  /** @description OK */
52321
52983
  200: {
@@ -52338,6 +53000,74 @@ export interface operations {
52338
53000
  };
52339
53001
  };
52340
53002
  };
53003
+ "list-node-tokens": {
53004
+ parameters: {
53005
+ query?: never;
53006
+ header?: never;
53007
+ path: {
53008
+ /** @description The name of the organization. */
53009
+ organization: string;
53010
+ /** @description Cluster name */
53011
+ cluster: string;
53012
+ };
53013
+ cookie?: never;
53014
+ };
53015
+ requestBody?: never;
53016
+ responses: {
53017
+ /** @description OK */
53018
+ 200: {
53019
+ headers: {
53020
+ [name: string]: unknown;
53021
+ };
53022
+ content: {
53023
+ "application/json": components["schemas"]["NodeToken"][] | null;
53024
+ };
53025
+ };
53026
+ /** @description Error */
53027
+ default: {
53028
+ headers: {
53029
+ [name: string]: unknown;
53030
+ };
53031
+ content: {
53032
+ "application/json": components["schemas"]["Error"];
53033
+ };
53034
+ };
53035
+ };
53036
+ };
53037
+ "revoke-node-token": {
53038
+ parameters: {
53039
+ query?: never;
53040
+ header?: never;
53041
+ path: {
53042
+ /** @description The name of the organization. */
53043
+ organization: string;
53044
+ /** @description Cluster name */
53045
+ cluster: string;
53046
+ /** @description Token id */
53047
+ id: string;
53048
+ };
53049
+ cookie?: never;
53050
+ };
53051
+ requestBody?: never;
53052
+ responses: {
53053
+ /** @description No Content */
53054
+ 204: {
53055
+ headers: {
53056
+ [name: string]: unknown;
53057
+ };
53058
+ content?: never;
53059
+ };
53060
+ /** @description Error */
53061
+ default: {
53062
+ headers: {
53063
+ [name: string]: unknown;
53064
+ };
53065
+ content: {
53066
+ "application/json": components["schemas"]["Error"];
53067
+ };
53068
+ };
53069
+ };
53070
+ };
52341
53071
  "delete-managed-cluster-node": {
52342
53072
  parameters: {
52343
53073
  query?: never;
@@ -53058,28 +53788,101 @@ export interface operations {
53058
53788
  };
53059
53789
  };
53060
53790
  };
53061
- "delete-org-oidc-app-secret": {
53791
+ "delete-org-oidc-app-secret": {
53792
+ parameters: {
53793
+ query?: never;
53794
+ header?: never;
53795
+ path: {
53796
+ /** @description The name of the organization. */
53797
+ organization: string;
53798
+ /** @description The application's client ID */
53799
+ clientId: string;
53800
+ /** @description The secret to delete */
53801
+ secretId: string;
53802
+ };
53803
+ cookie?: never;
53804
+ };
53805
+ requestBody?: never;
53806
+ responses: {
53807
+ /** @description No Content */
53808
+ 204: {
53809
+ headers: {
53810
+ [name: string]: unknown;
53811
+ };
53812
+ content?: never;
53813
+ };
53814
+ /** @description Error */
53815
+ default: {
53816
+ headers: {
53817
+ [name: string]: unknown;
53818
+ };
53819
+ content: {
53820
+ "application/json": components["schemas"]["Error"];
53821
+ };
53822
+ };
53823
+ };
53824
+ };
53825
+ "reveal-org-oidc-app-secret": {
53826
+ parameters: {
53827
+ query?: never;
53828
+ header?: never;
53829
+ path: {
53830
+ /** @description The name of the organization. */
53831
+ organization: string;
53832
+ /** @description The application's client ID */
53833
+ clientId: string;
53834
+ /** @description The secret to reveal */
53835
+ secretId: string;
53836
+ };
53837
+ cookie?: never;
53838
+ };
53839
+ requestBody?: never;
53840
+ responses: {
53841
+ /** @description OK */
53842
+ 200: {
53843
+ headers: {
53844
+ "Cache-Control"?: string;
53845
+ [name: string]: unknown;
53846
+ };
53847
+ content: {
53848
+ "application/json": components["schemas"]["SecretResponse"];
53849
+ };
53850
+ };
53851
+ /** @description Error */
53852
+ default: {
53853
+ headers: {
53854
+ [name: string]: unknown;
53855
+ };
53856
+ content: {
53857
+ "application/json": components["schemas"]["Error"];
53858
+ };
53859
+ };
53860
+ };
53861
+ };
53862
+ "set-organization-owner": {
53062
53863
  parameters: {
53063
53864
  query?: never;
53064
53865
  header?: never;
53065
53866
  path: {
53066
53867
  /** @description The name of the organization. */
53067
53868
  organization: string;
53068
- /** @description The application's client ID */
53069
- clientId: string;
53070
- /** @description The secret to delete */
53071
- secretId: string;
53072
53869
  };
53073
53870
  cookie?: never;
53074
53871
  };
53075
- requestBody?: never;
53872
+ requestBody: {
53873
+ content: {
53874
+ "application/json": components["schemas"]["SetOwnerInputBody"];
53875
+ };
53876
+ };
53076
53877
  responses: {
53077
- /** @description No Content */
53078
- 204: {
53878
+ /** @description OK */
53879
+ 200: {
53079
53880
  headers: {
53080
53881
  [name: string]: unknown;
53081
53882
  };
53082
- content?: never;
53883
+ content: {
53884
+ "application/json": components["schemas"]["OwnerOutputBody"];
53885
+ };
53083
53886
  };
53084
53887
  /** @description Error */
53085
53888
  default: {
@@ -53092,17 +53895,13 @@ export interface operations {
53092
53895
  };
53093
53896
  };
53094
53897
  };
53095
- "reveal-org-oidc-app-secret": {
53898
+ "get-partner-allowed-instance-types": {
53096
53899
  parameters: {
53097
53900
  query?: never;
53098
53901
  header?: never;
53099
53902
  path: {
53100
53903
  /** @description The name of the organization. */
53101
53904
  organization: string;
53102
- /** @description The application's client ID */
53103
- clientId: string;
53104
- /** @description The secret to reveal */
53105
- secretId: string;
53106
53905
  };
53107
53906
  cookie?: never;
53108
53907
  };
@@ -53111,11 +53910,10 @@ export interface operations {
53111
53910
  /** @description OK */
53112
53911
  200: {
53113
53912
  headers: {
53114
- "Cache-Control"?: string;
53115
53913
  [name: string]: unknown;
53116
53914
  };
53117
53915
  content: {
53118
- "application/json": components["schemas"]["SecretResponse"];
53916
+ "application/json": components["schemas"]["AllowedInstanceTypesOutputBody"];
53119
53917
  };
53120
53918
  };
53121
53919
  /** @description Error */
@@ -53129,7 +53927,7 @@ export interface operations {
53129
53927
  };
53130
53928
  };
53131
53929
  };
53132
- "set-organization-owner": {
53930
+ "update-partner-allowed-instance-types": {
53133
53931
  parameters: {
53134
53932
  query?: never;
53135
53933
  header?: never;
@@ -53141,7 +53939,7 @@ export interface operations {
53141
53939
  };
53142
53940
  requestBody: {
53143
53941
  content: {
53144
- "application/json": components["schemas"]["SetOwnerInputBody"];
53942
+ "application/json": components["schemas"]["AllowedInstanceTypes"];
53145
53943
  };
53146
53944
  };
53147
53945
  responses: {
@@ -53151,7 +53949,7 @@ export interface operations {
53151
53949
  [name: string]: unknown;
53152
53950
  };
53153
53951
  content: {
53154
- "application/json": components["schemas"]["OwnerOutputBody"];
53952
+ "application/json": components["schemas"]["AllowedInstanceTypesOutputBody"];
53155
53953
  };
53156
53954
  };
53157
53955
  /** @description Error */
@@ -53165,7 +53963,7 @@ export interface operations {
53165
53963
  };
53166
53964
  };
53167
53965
  };
53168
- "get-partner-allowed-instance-types": {
53966
+ "get-organization-policies": {
53169
53967
  parameters: {
53170
53968
  query?: never;
53171
53969
  header?: never;
@@ -53183,7 +53981,9 @@ export interface operations {
53183
53981
  [name: string]: unknown;
53184
53982
  };
53185
53983
  content: {
53186
- "application/json": components["schemas"]["AllowedInstanceTypesOutputBody"];
53984
+ "application/json": {
53985
+ [key: string]: components["schemas"]["Policy"];
53986
+ };
53187
53987
  };
53188
53988
  };
53189
53989
  /** @description Error */
@@ -53197,7 +53997,7 @@ export interface operations {
53197
53997
  };
53198
53998
  };
53199
53999
  };
53200
- "update-partner-allowed-instance-types": {
54000
+ "set-organization-allocation-start-date-policy": {
53201
54001
  parameters: {
53202
54002
  query?: never;
53203
54003
  header?: never;
@@ -53209,41 +54009,9 @@ export interface operations {
53209
54009
  };
53210
54010
  requestBody: {
53211
54011
  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;
54012
+ "application/json": string;
53243
54013
  };
53244
- cookie?: never;
53245
54014
  };
53246
- requestBody?: never;
53247
54015
  responses: {
53248
54016
  /** @description OK */
53249
54017
  200: {
@@ -53252,7 +54020,7 @@ export interface operations {
53252
54020
  };
53253
54021
  content: {
53254
54022
  "application/json": {
53255
- [key: string]: components["schemas"]["Policy"];
54023
+ [key: string]: components["schemas"]["StringPolicyOutput"];
53256
54024
  };
53257
54025
  };
53258
54026
  };
@@ -53267,7 +54035,7 @@ export interface operations {
53267
54035
  };
53268
54036
  };
53269
54037
  };
53270
- "set-organization-allocation-start-date-policy": {
54038
+ "set-organization-allow-organization-session-sharing-policy": {
53271
54039
  parameters: {
53272
54040
  query?: never;
53273
54041
  header?: never;
@@ -53279,7 +54047,7 @@ export interface operations {
53279
54047
  };
53280
54048
  requestBody: {
53281
54049
  content: {
53282
- "application/json": string;
54050
+ "application/json": boolean;
53283
54051
  };
53284
54052
  };
53285
54053
  responses: {
@@ -53290,7 +54058,7 @@ export interface operations {
53290
54058
  };
53291
54059
  content: {
53292
54060
  "application/json": {
53293
- [key: string]: components["schemas"]["StringPolicyOutput"];
54061
+ [key: string]: components["schemas"]["BooleanPolicyOutput"];
53294
54062
  };
53295
54063
  };
53296
54064
  };
@@ -53305,7 +54073,7 @@ export interface operations {
53305
54073
  };
53306
54074
  };
53307
54075
  };
53308
- "set-organization-allow-organization-session-sharing-policy": {
54076
+ "set-organization-allow-public-sessions-policy": {
53309
54077
  parameters: {
53310
54078
  query?: never;
53311
54079
  header?: never;
@@ -53343,7 +54111,7 @@ export interface operations {
53343
54111
  };
53344
54112
  };
53345
54113
  };
53346
- "set-organization-allow-public-sessions-policy": {
54114
+ "set-organization-archive-cost-data-policy": {
53347
54115
  parameters: {
53348
54116
  query?: never;
53349
54117
  header?: never;
@@ -53355,7 +54123,7 @@ export interface operations {
53355
54123
  };
53356
54124
  requestBody: {
53357
54125
  content: {
53358
- "application/json": boolean;
54126
+ "application/json": number;
53359
54127
  };
53360
54128
  };
53361
54129
  responses: {
@@ -53366,7 +54134,7 @@ export interface operations {
53366
54134
  };
53367
54135
  content: {
53368
54136
  "application/json": {
53369
- [key: string]: components["schemas"]["BooleanPolicyOutput"];
54137
+ [key: string]: components["schemas"]["IntPolicyOutput"];
53370
54138
  };
53371
54139
  };
53372
54140
  };
@@ -53381,7 +54149,7 @@ export interface operations {
53381
54149
  };
53382
54150
  };
53383
54151
  };
53384
- "set-organization-archive-cost-data-policy": {
54152
+ "set-organization-default-billing-username-policy": {
53385
54153
  parameters: {
53386
54154
  query?: never;
53387
54155
  header?: never;
@@ -53393,7 +54161,7 @@ export interface operations {
53393
54161
  };
53394
54162
  requestBody: {
53395
54163
  content: {
53396
- "application/json": number;
54164
+ "application/json": string;
53397
54165
  };
53398
54166
  };
53399
54167
  responses: {
@@ -53404,7 +54172,7 @@ export interface operations {
53404
54172
  };
53405
54173
  content: {
53406
54174
  "application/json": {
53407
- [key: string]: components["schemas"]["IntPolicyOutput"];
54175
+ [key: string]: components["schemas"]["StringPolicyOutput"];
53408
54176
  };
53409
54177
  };
53410
54178
  };
@@ -53419,7 +54187,7 @@ export interface operations {
53419
54187
  };
53420
54188
  };
53421
54189
  };
53422
- "set-organization-default-billing-username-policy": {
54190
+ "set-organization-disable-device-login-policy": {
53423
54191
  parameters: {
53424
54192
  query?: never;
53425
54193
  header?: never;
@@ -53431,7 +54199,7 @@ export interface operations {
53431
54199
  };
53432
54200
  requestBody: {
53433
54201
  content: {
53434
- "application/json": string;
54202
+ "application/json": boolean;
53435
54203
  };
53436
54204
  };
53437
54205
  responses: {
@@ -53442,7 +54210,7 @@ export interface operations {
53442
54210
  };
53443
54211
  content: {
53444
54212
  "application/json": {
53445
- [key: string]: components["schemas"]["StringPolicyOutput"];
54213
+ [key: string]: components["schemas"]["BooleanPolicyOutput"];
53446
54214
  };
53447
54215
  };
53448
54216
  };
@@ -58207,6 +58975,40 @@ export interface operations {
58207
58975
  };
58208
58976
  };
58209
58977
  };
58978
+ "forget-cluster-host-keys": {
58979
+ parameters: {
58980
+ query?: never;
58981
+ header?: never;
58982
+ path: {
58983
+ /** @description The organization name. */
58984
+ organization: string;
58985
+ /** @description The username of the cluster owner. */
58986
+ user: string;
58987
+ /** @description The cluster name. */
58988
+ clusterName: string;
58989
+ };
58990
+ cookie?: never;
58991
+ };
58992
+ requestBody?: never;
58993
+ responses: {
58994
+ /** @description No Content */
58995
+ 204: {
58996
+ headers: {
58997
+ [name: string]: unknown;
58998
+ };
58999
+ content?: never;
59000
+ };
59001
+ /** @description Error */
59002
+ default: {
59003
+ headers: {
59004
+ [name: string]: unknown;
59005
+ };
59006
+ content: {
59007
+ "application/json": components["schemas"]["Error"];
59008
+ };
59009
+ };
59010
+ };
59011
+ };
58210
59012
  "delete-elastic-cluster-icon": {
58211
59013
  parameters: {
58212
59014
  query?: never;
@@ -62732,6 +63534,7 @@ export interface operations {
62732
63534
  CreatedAt?: string;
62733
63535
  Description?: string;
62734
63536
  Id?: string;
63537
+ ImpersonatedBy?: string | null;
62735
63538
  KeyFile?: string;
62736
63539
  Name?: string;
62737
63540
  PublicKey?: string;
@@ -65076,6 +65879,41 @@ export interface operations {
65076
65879
  };
65077
65880
  };
65078
65881
  };
65882
+ "set-platform-disable-device-login-policy": {
65883
+ parameters: {
65884
+ query?: never;
65885
+ header?: never;
65886
+ path?: never;
65887
+ cookie?: never;
65888
+ };
65889
+ requestBody: {
65890
+ content: {
65891
+ "application/json": boolean;
65892
+ };
65893
+ };
65894
+ responses: {
65895
+ /** @description OK */
65896
+ 200: {
65897
+ headers: {
65898
+ [name: string]: unknown;
65899
+ };
65900
+ content: {
65901
+ "application/json": {
65902
+ [key: string]: components["schemas"]["BooleanPolicyOutput"];
65903
+ };
65904
+ };
65905
+ };
65906
+ /** @description Error */
65907
+ default: {
65908
+ headers: {
65909
+ [name: string]: unknown;
65910
+ };
65911
+ content: {
65912
+ "application/json": components["schemas"]["Error"];
65913
+ };
65914
+ };
65915
+ };
65916
+ };
65079
65917
  "set-platform-disable-password-login-policy": {
65080
65918
  parameters: {
65081
65919
  query?: never;
@@ -65111,6 +65949,76 @@ export interface operations {
65111
65949
  };
65112
65950
  };
65113
65951
  };
65952
+ "set-platform-disable-pw-cli-sign-in-policy": {
65953
+ parameters: {
65954
+ query?: never;
65955
+ header?: never;
65956
+ path?: never;
65957
+ cookie?: never;
65958
+ };
65959
+ requestBody: {
65960
+ content: {
65961
+ "application/json": boolean;
65962
+ };
65963
+ };
65964
+ responses: {
65965
+ /** @description OK */
65966
+ 200: {
65967
+ headers: {
65968
+ [name: string]: unknown;
65969
+ };
65970
+ content: {
65971
+ "application/json": {
65972
+ [key: string]: components["schemas"]["BooleanPolicyOutput"];
65973
+ };
65974
+ };
65975
+ };
65976
+ /** @description Error */
65977
+ default: {
65978
+ headers: {
65979
+ [name: string]: unknown;
65980
+ };
65981
+ content: {
65982
+ "application/json": components["schemas"]["Error"];
65983
+ };
65984
+ };
65985
+ };
65986
+ };
65987
+ "set-platform-disable-pw-mobile-sign-in-policy": {
65988
+ parameters: {
65989
+ query?: never;
65990
+ header?: never;
65991
+ path?: never;
65992
+ cookie?: never;
65993
+ };
65994
+ requestBody: {
65995
+ content: {
65996
+ "application/json": boolean;
65997
+ };
65998
+ };
65999
+ responses: {
66000
+ /** @description OK */
66001
+ 200: {
66002
+ headers: {
66003
+ [name: string]: unknown;
66004
+ };
66005
+ content: {
66006
+ "application/json": {
66007
+ [key: string]: components["schemas"]["BooleanPolicyOutput"];
66008
+ };
66009
+ };
66010
+ };
66011
+ /** @description Error */
66012
+ default: {
66013
+ headers: {
66014
+ [name: string]: unknown;
66015
+ };
66016
+ content: {
66017
+ "application/json": components["schemas"]["Error"];
66018
+ };
66019
+ };
66020
+ };
66021
+ };
65114
66022
  "set-platform-enforce-webauthn-mfa-policy": {
65115
66023
  parameters: {
65116
66024
  query?: never;
@@ -67086,6 +67994,38 @@ export interface operations {
67086
67994
  };
67087
67995
  };
67088
67996
  };
67997
+ "get-ssh-host-keys": {
67998
+ parameters: {
67999
+ query: {
68000
+ /** @description The SSH resource, as accepted by pw ssh: workspace, pw://<user>/<cluster>, or worker/<id>. */
68001
+ resource: string;
68002
+ };
68003
+ header?: never;
68004
+ path?: never;
68005
+ cookie?: never;
68006
+ };
68007
+ requestBody?: never;
68008
+ responses: {
68009
+ /** @description OK */
68010
+ 200: {
68011
+ headers: {
68012
+ [name: string]: unknown;
68013
+ };
68014
+ content: {
68015
+ "application/json": components["schemas"]["SshHostKeys"];
68016
+ };
68017
+ };
68018
+ /** @description Error */
68019
+ default: {
68020
+ headers: {
68021
+ [name: string]: unknown;
68022
+ };
68023
+ content: {
68024
+ "application/json": components["schemas"]["Error"];
68025
+ };
68026
+ };
68027
+ };
68028
+ };
67089
68029
  "get-cac-redirect": {
67090
68030
  parameters: {
67091
68031
  query?: never;