@parallelworks/client 7.118.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;
@@ -3061,6 +3059,28 @@ export interface paths {
3061
3059
  patch?: never;
3062
3060
  trace?: never;
3063
3061
  };
3062
+ "/api/events/resources/{targetType}/{targetId}/actors": {
3063
+ parameters: {
3064
+ query?: never;
3065
+ header?: never;
3066
+ path?: never;
3067
+ cookie?: never;
3068
+ };
3069
+ /**
3070
+ * List Resource Event Actors
3071
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
3072
+ *
3073
+ * List the distinct actor usernames that appear in a single resource's audit events. Requires view access to the resource.
3074
+ */
3075
+ get: operations["list-resource-event-actors"];
3076
+ put?: never;
3077
+ post?: never;
3078
+ delete?: never;
3079
+ options?: never;
3080
+ head?: never;
3081
+ patch?: never;
3082
+ trace?: never;
3083
+ };
3064
3084
  "/api/events/resources/{targetType}/{targetId}/export": {
3065
3085
  parameters: {
3066
3086
  query?: never;
@@ -3481,6 +3501,28 @@ export interface paths {
3481
3501
  patch?: never;
3482
3502
  trace?: never;
3483
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
+ };
3484
3526
  "/api/internal/usercontainer/existing": {
3485
3527
  parameters: {
3486
3528
  query?: never;
@@ -5181,6 +5223,28 @@ export interface paths {
5181
5223
  patch?: never;
5182
5224
  trace?: never;
5183
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
+ };
5184
5248
  "/api/oidc/consent": {
5185
5249
  parameters: {
5186
5250
  query?: never;
@@ -5209,6 +5273,72 @@ export interface paths {
5209
5273
  patch?: never;
5210
5274
  trace?: never;
5211
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
+ };
5212
5342
  "/api/oidc/end_session": {
5213
5343
  parameters: {
5214
5344
  query?: never;
@@ -5319,30 +5449,12 @@ export interface paths {
5319
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).
5320
5450
  *
5321
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.
5322
- */
5323
- post: operations["post-oidc-token"];
5324
- delete?: never;
5325
- options?: never;
5326
- head?: never;
5327
- patch?: never;
5328
- trace?: never;
5329
- };
5330
- "/api/oidc/token/direct": {
5331
- parameters: {
5332
- query?: never;
5333
- header?: never;
5334
- path?: never;
5335
- cookie?: never;
5336
- };
5337
- /**
5338
- * Get an identity token by direct grant
5339
- * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
5340
5452
  *
5341
- * 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.
5342
5456
  */
5343
- get: operations["get-oidc-token-direct"];
5344
- put?: never;
5345
- post?: never;
5457
+ post: operations["post-oidc-token"];
5346
5458
  delete?: never;
5347
5459
  options?: never;
5348
5460
  head?: never;
@@ -8588,7 +8700,7 @@ export interface paths {
8588
8700
  * Generate Node Token
8589
8701
  * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
8590
8702
  *
8591
- * 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.
8592
8704
  */
8593
8705
  post: operations["generate-node-token"];
8594
8706
  delete?: never;
@@ -8597,6 +8709,50 @@ export interface paths {
8597
8709
  patch?: never;
8598
8710
  trace?: never;
8599
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
+ };
8600
8756
  "/api/organizations/{organization}/managed-clusters/{cluster}/nodes/{hostname}": {
8601
8757
  parameters: {
8602
8758
  query?: never;
@@ -9183,6 +9339,28 @@ export interface paths {
9183
9339
  patch?: never;
9184
9340
  trace?: never;
9185
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
+ };
9186
9364
  "/api/organizations/{organization}/policies/disable-password-login": {
9187
9365
  parameters: {
9188
9366
  query?: never;
@@ -11428,6 +11606,28 @@ export interface paths {
11428
11606
  patch?: never;
11429
11607
  trace?: never;
11430
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
+ };
11431
11631
  "/api/organizations/{organization}/users/{user}/clusters/{clusterName}/icon": {
11432
11632
  parameters: {
11433
11633
  query?: never;
@@ -12727,7 +12927,7 @@ export interface paths {
12727
12927
  * List user login sessions
12728
12928
  * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
12729
12929
  *
12730
- * 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.
12731
12931
  */
12732
12932
  get: operations["list-user-login-sessions"];
12733
12933
  put?: never;
@@ -12758,7 +12958,7 @@ export interface paths {
12758
12958
  * Revoke a user login session
12759
12959
  * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
12760
12960
  *
12761
- * 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.
12762
12962
  */
12763
12963
  delete: operations["revoke-user-login-session"];
12764
12964
  options?: never;
@@ -14770,6 +14970,28 @@ export interface paths {
14770
14970
  patch?: never;
14771
14971
  trace?: never;
14772
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
+ };
14773
14995
  "/api/platform/policies/disable-password-login": {
14774
14996
  parameters: {
14775
14997
  query?: never;
@@ -14792,6 +15014,50 @@ export interface paths {
14792
15014
  patch?: never;
14793
15015
  trace?: never;
14794
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
+ };
14795
15061
  "/api/platform/policies/enforce-webauthn-mfa": {
14796
15062
  parameters: {
14797
15063
  query?: never;
@@ -15943,6 +16209,28 @@ export interface paths {
15943
16209
  patch?: never;
15944
16210
  trace?: never;
15945
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
+ };
15946
16234
  "/api/sso/cac/redirect/{authID}": {
15947
16235
  parameters: {
15948
16236
  query?: never;
@@ -17554,6 +17842,8 @@ export interface components {
17554
17842
  expiration?: string;
17555
17843
  /** @description The unique identifier for the API key. */
17556
17844
  id: string;
17845
+ /** @description Username of the administrator who created the key while signed in as this user. */
17846
+ impersonatedBy?: string;
17557
17847
  /** @description Truncated preview of the key for identification. */
17558
17848
  keyHint?: string;
17559
17849
  /**
@@ -18140,18 +18430,28 @@ export interface components {
18140
18430
  AgentSession: {
18141
18431
  allocation?: string;
18142
18432
  approvals?: components["schemas"]["ApprovalRequest"][] | null;
18433
+ /** Format: date-time */
18434
+ archivedAt?: string;
18143
18435
  autoName?: string;
18436
+ branch?: string;
18144
18437
  /** Format: date-time */
18145
18438
  createdAt: string;
18146
18439
  effort?: string;
18147
18440
  id: string;
18441
+ /** Format: int64 */
18442
+ inputTokens?: number;
18443
+ lastError?: string;
18148
18444
  liveHost?: string;
18149
18445
  machineId: string;
18150
18446
  /** Format: int64 */
18151
18447
  messages: number;
18152
18448
  model: string;
18153
18449
  name?: string;
18450
+ /** Format: int64 */
18451
+ outputTokens?: number;
18154
18452
  permissionMode?: string;
18453
+ /** Format: date-time */
18454
+ pinnedAt?: string;
18155
18455
  preview: string;
18156
18456
  remoteControl?: boolean;
18157
18457
  /** @enum {string} */
@@ -18169,13 +18469,19 @@ export interface components {
18169
18469
  AgentSessionDetail: {
18170
18470
  allocation?: string;
18171
18471
  approvals?: components["schemas"]["ApprovalRequest"][] | null;
18472
+ /** Format: date-time */
18473
+ archivedAt?: string;
18172
18474
  autoName?: string;
18475
+ branch?: string;
18173
18476
  /** Format: date-time */
18174
18477
  createdAt: string;
18175
18478
  effort?: string;
18176
18479
  history: components["schemas"]["HistoryItem"][] | null;
18177
18480
  id: string;
18178
18481
  /** Format: int64 */
18482
+ inputTokens?: number;
18483
+ lastError?: string;
18484
+ /** Format: int64 */
18179
18485
  lastSeq?: number;
18180
18486
  liveHost?: string;
18181
18487
  machineId: string;
@@ -18183,7 +18489,11 @@ export interface components {
18183
18489
  messages: number;
18184
18490
  model: string;
18185
18491
  name?: string;
18492
+ /** Format: int64 */
18493
+ outputTokens?: number;
18186
18494
  permissionMode?: string;
18495
+ /** Format: date-time */
18496
+ pinnedAt?: string;
18187
18497
  preview: string;
18188
18498
  remoteControl?: boolean;
18189
18499
  /** @enum {string} */
@@ -18216,6 +18526,16 @@ export interface components {
18216
18526
  /** @description Every reachable machine's sessions, newest first. */
18217
18527
  sessions: components["schemas"]["AgentSession"][] | null;
18218
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
+ };
18219
18539
  AgentSlashCommand: {
18220
18540
  description?: string;
18221
18541
  name: string;
@@ -18539,7 +18859,7 @@ export interface components {
18539
18859
  /** @description Groups whose members may use the application. Empty means everyone in the organization. */
18540
18860
  allowedGroups?: string[] | null;
18541
18861
  /**
18542
- * @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.
18543
18863
  * @enum {string}
18544
18864
  */
18545
18865
  consent?: "none" | "required";
@@ -18565,7 +18885,7 @@ export interface components {
18565
18885
  redirectUris?: string[] | null;
18566
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. */
18567
18887
  requireMfa?: boolean;
18568
- /** @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. */
18569
18889
  scopes?: string[] | null;
18570
18890
  /**
18571
18891
  * @description What the sub claim contains. Defaults to userId.
@@ -18636,7 +18956,7 @@ export interface components {
18636
18956
  /** @description Groups whose members may use the application. Empty means everyone in the organization. */
18637
18957
  allowedGroups?: string[] | null;
18638
18958
  /**
18639
- * @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.
18640
18960
  * @enum {string}
18641
18961
  */
18642
18962
  consent?: "none" | "required";
@@ -18662,7 +18982,7 @@ export interface components {
18662
18982
  redirectUris?: string[] | null;
18663
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. */
18664
18984
  requireMfa?: boolean;
18665
- /** @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. */
18666
18986
  scopes?: string[] | null;
18667
18987
  /**
18668
18988
  * @description What the sub claim contains. Defaults to userId.
@@ -21737,6 +22057,17 @@ export interface components {
21737
22057
  cidr: string;
21738
22058
  region: string;
21739
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
+ };
21740
22071
  ConnectStateBody: {
21741
22072
  /** @description Failure detail when status is failed. */
21742
22073
  error?: string;
@@ -21763,6 +22094,8 @@ export interface components {
21763
22094
  ConnectedApp: {
21764
22095
  /** @description Client ID of the application */
21765
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;
21766
22099
  /**
21767
22100
  * Format: date-time
21768
22101
  * @description When the user first granted access
@@ -21777,6 +22110,33 @@ export interface components {
21777
22110
  name: string;
21778
22111
  /** @description Scopes the user granted it */
21779
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;
21780
22140
  };
21781
22141
  ConnectionPathInputBody: {
21782
22142
  catalogEntryId: string;
@@ -22005,7 +22365,7 @@ export interface components {
22005
22365
  CreateAPIKeyInputBody: {
22006
22366
  /** @description Budget allocation name (required for AI keys) */
22007
22367
  allocation?: string;
22008
- /** @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. */
22009
22369
  duration?: string;
22010
22370
  /** @description Display name for the API key */
22011
22371
  title: string;
@@ -22031,6 +22391,8 @@ export interface components {
22031
22391
  expiration?: string;
22032
22392
  /** @description The unique identifier for the API key. */
22033
22393
  id: string;
22394
+ /** @description Username of the administrator who created the key while signed in as this user. */
22395
+ impersonatedBy?: string;
22034
22396
  /** @description The full API key (only shown once) */
22035
22397
  key: string;
22036
22398
  /** @description Truncated preview of the key for identification. */
@@ -22232,6 +22594,8 @@ export interface components {
22232
22594
  userhostRegion?: string;
22233
22595
  };
22234
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;
22235
22599
  /** @description PEM-encoded CA certificate. Leave empty when the cluster uses a publicly trusted certificate. */
22236
22600
  caCert?: string;
22237
22601
  /**
@@ -23197,6 +23561,16 @@ export interface components {
23197
23561
  */
23198
23562
  y: number;
23199
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
+ };
23200
23574
  DeleteDeploymentBody: {
23201
23575
  /** @description Deployment id; matches resources tagged with it as session-id or pw-deployment-id. */
23202
23576
  deploymentId: string;
@@ -23367,6 +23741,40 @@ export interface components {
23367
23741
  sifPath?: string;
23368
23742
  useApptainer?: boolean;
23369
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
+ };
23370
23778
  DiscoverCACertInputBody: {
23371
23779
  /**
23372
23780
  * @description Kubernetes API endpoint to dial
@@ -23721,9 +24129,14 @@ export interface components {
23721
24129
  /** @description Actor username. */
23722
24130
  username?: string;
23723
24131
  };
24132
+ EventActorOption: {
24133
+ /** @description Avatar image URL; absent when no user record matches the username. */
24134
+ avatarUrl?: string;
24135
+ username: string;
24136
+ };
23724
24137
  EventActorsOutputBody: {
23725
- /** @description Distinct actor usernames, sorted. */
23726
- actors: string[] | null;
24138
+ /** @description Distinct actors, sorted by username. */
24139
+ actors: components["schemas"]["EventActorOption"][] | null;
23727
24140
  };
23728
24141
  EventHTTP: {
23729
24142
  /** @description HTTP method. */
@@ -23809,6 +24222,8 @@ export interface components {
23809
24222
  disconnectedAt?: string;
23810
24223
  /** @description Group name */
23811
24224
  group?: string;
24225
+ /** @description SSH host keys the workspace verifies the cluster against */
24226
+ hostKeys: components["schemas"]["ExistingClusterHostKeys"];
23812
24227
  /** @description Cluster ID */
23813
24228
  readonly id: string;
23814
24229
  /** @description SSH key name */
@@ -23857,6 +24272,25 @@ export interface components {
23857
24272
  */
23858
24273
  type: "existing";
23859
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
+ };
23860
24294
  ExistingClusterLoginNode: {
23861
24295
  /** @description Login node hostname */
23862
24296
  node: string;
@@ -24304,6 +24738,8 @@ export interface components {
24304
24738
  schedulerType?: string;
24305
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. */
24306
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;
24307
24743
  /**
24308
24744
  * @description The status of the resource.
24309
24745
  * @example active
@@ -24334,6 +24770,15 @@ export interface components {
24334
24770
  */
24335
24771
  user?: string;
24336
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
+ };
24337
24782
  GenerateNodeTokenOutputBody: {
24338
24783
  /** @description Cluster name */
24339
24784
  cluster: string;
@@ -24342,8 +24787,14 @@ export interface components {
24342
24787
  * @description Token expiration time
24343
24788
  */
24344
24789
  expiresAt: string;
24790
+ /** @description Short preview of the token */
24791
+ hint: string;
24792
+ /** @description Token id, for revoking it */
24793
+ id: string;
24345
24794
  /** @description Organization name */
24346
24795
  organization: string;
24796
+ /** @description Whether the token registers any number of nodes until it expires */
24797
+ reusable: boolean;
24347
24798
  /** @description Node registration token */
24348
24799
  token: string;
24349
24800
  };
@@ -25275,6 +25726,8 @@ export interface components {
25275
25726
  osRelease?: string;
25276
25727
  /** @description Scheduler information */
25277
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;
25278
25731
  /** @description Static system information */
25279
25732
  systemInfo?: components["schemas"]["SystemInfo"];
25280
25733
  };
@@ -26298,6 +26751,8 @@ export interface components {
26298
26751
  totalServices: number;
26299
26752
  };
26300
26753
  KubernetesSingleClusterResponse: {
26754
+ /** @description Whether a platform administrator allowed the endpoint to be on a private network */
26755
+ allowPrivateAddress: boolean;
26301
26756
  /**
26302
26757
  * @description Base64-encoded CA certificate
26303
26758
  * @example LS0tLS1CRUdJTi...
@@ -26561,9 +27016,11 @@ export interface components {
26561
27016
  language: "en" | "ja" | "ko" | "es" | "zh" | "";
26562
27017
  };
26563
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;
26564
27021
  /** @description Base DN for LDAP authentication */
26565
27022
  baseDN?: string;
26566
- /** @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 */
26567
27024
  caCert?: string;
26568
27025
  /** @description Client certificate for LDAP authentication */
26569
27026
  clientCert?: string;
@@ -26601,9 +27058,11 @@ export interface components {
26601
27058
  username?: string;
26602
27059
  };
26603
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;
26604
27063
  /** @description Base DN for LDAP authentication */
26605
27064
  baseDN?: string;
26606
- /** @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 */
26607
27066
  caCert?: string;
26608
27067
  /** @description Client certificate for LDAP authentication */
26609
27068
  clientCert?: string;
@@ -26883,6 +27342,11 @@ export interface components {
26883
27342
  title?: string;
26884
27343
  } | null;
26885
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";
26886
27350
  /**
26887
27351
  * Format: date-time
26888
27352
  * @description When the session was created.
@@ -26890,6 +27354,8 @@ export interface components {
26890
27354
  createdAt: string;
26891
27355
  /** @description Whether this is the session making the request. */
26892
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;
26893
27359
  /**
26894
27360
  * Format: date-time
26895
27361
  * @description When the session expires.
@@ -28324,6 +28790,26 @@ export interface components {
28324
28790
  /** Format: double */
28325
28791
  uptime: number;
28326
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
+ };
28327
28813
  NodesBody: {
28328
28814
  /** @description List of cluster errors, if any */
28329
28815
  errors?: components["schemas"]["ClusterError"][] | null;
@@ -28425,6 +28911,8 @@ export interface components {
28425
28911
  Oidc: {
28426
28912
  /** @description Whether to allow new user creation */
28427
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;
28428
28916
  /** @description Authorization endpoint of the OIDC authentication method */
28429
28917
  authorizationEndpoint?: string;
28430
28918
  /** @description Client ID of the OIDC authentication method */
@@ -28479,6 +28967,8 @@ export interface components {
28479
28967
  claims_supported: string[] | null;
28480
28968
  /** @description JSON array containing the supported PKCE code challenge methods */
28481
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;
28482
28972
  /** @description URL of the RP-initiated logout endpoint */
28483
28973
  end_session_endpoint: string;
28484
28974
  /** @description JSON array containing the supported grant types */
@@ -29599,10 +30089,14 @@ export interface components {
29599
30089
  enabled: boolean | null;
29600
30090
  };
29601
30091
  PendingConsentOutputBody: {
30092
+ /** @description Present when the request is a pw CLI sign-in, which is confirmed every time */
30093
+ cliSignIn?: components["schemas"]["PendingNativeSignIn"];
29602
30094
  /** @description Client ID of the application asking for access */
29603
30095
  clientId: string;
29604
30096
  /** @description Description the organization gave the application */
29605
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"];
29606
30100
  /** @description Display name of the application */
29607
30101
  name: string;
29608
30102
  /** @description Organization that registered the application */
@@ -29614,6 +30108,10 @@ export interface components {
29614
30108
  /** @description Scopes the application is asking for */
29615
30109
  scopes: string[] | null;
29616
30110
  };
30111
+ PendingNativeSignIn: {
30112
+ /** @description Username of the account the app will be signed in to */
30113
+ account: string;
30114
+ };
29617
30115
  PermissionEntry: {
29618
30116
  /** Format: date-time */
29619
30117
  createdAt: string;
@@ -29770,7 +30268,7 @@ export interface components {
29770
30268
  maintenanceMode?: boolean;
29771
30269
  /**
29772
30270
  * Format: int64
29773
- * @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.
29774
30272
  */
29775
30273
  maxApiKeyTtlDays?: number;
29776
30274
  /** @description Indicates if the platform needs a license update (no license, expired, or in grace period). Only returned when true. */
@@ -29821,6 +30319,11 @@ export interface components {
29821
30319
  singleOrgName?: string;
29822
30320
  /** @description Indicates if the platform is a single organization platform. */
29823
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";
29824
30327
  /** @description Indicates if the platform advertises resumable SSH sessions; hpcconnect relaxes generated ssh keepalives when set. */
29825
30328
  sshResumeEnabled: boolean;
29826
30329
  /**
@@ -29936,6 +30439,11 @@ export interface components {
29936
30439
  * @description Sentry traces sample rate (0.0-1.0).
29937
30440
  */
29938
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";
29939
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. */
29940
30448
  sshResumeEnabled: boolean;
29941
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. */
@@ -30018,7 +30526,7 @@ export interface components {
30018
30526
  * @description Memory request (GB). Send null to clear.
30019
30527
  */
30020
30528
  memoryRequest?: number | null;
30021
- /** @description Host for user workspaces. Send null to clear. */
30529
+ /** @description Host for user workspaces. Only a platform admin can set a new value. Send null to clear. */
30022
30530
  userHost?: string | null;
30023
30531
  /** @description Container image for user workspaces. Send null to clear. */
30024
30532
  workspaceImage?: string | null;
@@ -32926,6 +33434,8 @@ export interface components {
32926
33434
  /** Format: date-time */
32927
33435
  createdAt: string;
32928
33436
  id: string;
33437
+ /** @description Username of the administrator who added the key while signed in as this user. */
33438
+ impersonatedBy?: string;
32929
33439
  key: string;
32930
33440
  title: string;
32931
33441
  };
@@ -33579,6 +34089,17 @@ export interface components {
33579
34089
  /** @description Username of the snapshot owner */
33580
34090
  user?: string;
33581
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
+ };
33582
34103
  SshPrivateKey: {
33583
34104
  /**
33584
34105
  * Format: date-time
@@ -33589,6 +34110,8 @@ export interface components {
33589
34110
  readonly description?: string;
33590
34111
  /** @description The unique identifier of the SSH key */
33591
34112
  readonly id?: string;
34113
+ /** @description Username of the administrator who added the key while signed in as this user */
34114
+ readonly impersonatedBy?: string;
33592
34115
  /** @description The path to the key in the user workspace */
33593
34116
  readonly keyFile?: string;
33594
34117
  /** @description The name of the SSH key */
@@ -34135,24 +34658,28 @@ export interface components {
34135
34658
  totalCost: number;
34136
34659
  };
34137
34660
  TokenBody: {
34138
- /** @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 */
34139
34662
  access_token?: string;
34140
34663
  /** @description OAuth error code */
34141
34664
  error?: string;
34142
34665
  /** @description Human-readable error detail */
34143
34666
  error_description?: string;
34667
+ /** @description Page that explains the error */
34668
+ error_uri?: string;
34144
34669
  /**
34145
34670
  * Format: int64
34146
- * @description Access token lifetime in seconds
34671
+ * @description Lifetime in seconds of the access token, or of the issued token for a token exchange
34147
34672
  */
34148
34673
  expires_in?: number;
34149
34674
  /** @description Signed ID token */
34150
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;
34151
34678
  /** @description Opaque refresh token, issued when the offline_access scope was granted */
34152
34679
  refresh_token?: string;
34153
34680
  /** @description Space-delimited scopes actually granted */
34154
34681
  scope?: string;
34155
- /** @description Always Bearer */
34682
+ /** @description Bearer, or N_A for a token exchange whose issued token is not an access token */
34156
34683
  token_type?: string;
34157
34684
  };
34158
34685
  Tool: {
@@ -34355,6 +34882,11 @@ export interface components {
34355
34882
  singleOrgName?: string;
34356
34883
  /** @description Whether to enable single org platform. */
34357
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";
34358
34890
  /** @description Whether to advertise resumable SSH sessions to clients. */
34359
34891
  sshResumeEnabled?: boolean;
34360
34892
  /** @description Whether the stuck-run sweeper is enabled. */
@@ -34398,6 +34930,8 @@ export interface components {
34398
34930
  tags?: string[];
34399
34931
  };
34400
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;
34401
34935
  /** @description Base64-encoded CA certificate. Leave empty when the cluster uses a publicly trusted certificate. */
34402
34936
  caCert?: string;
34403
34937
  /**
@@ -35232,7 +35766,7 @@ export interface components {
35232
35766
  * @enum {string|null}
35233
35767
  */
35234
35768
  userWorkspaceType?: "docker" | "k8s" | null;
35235
- /** @description User host. Send null to revert to inherited. */
35769
+ /** @description User host. Only a platform admin can set a new value. Send null to revert to inherited. */
35236
35770
  userhost?: string | null;
35237
35771
  };
35238
35772
  VerifyOtpInputBody: {
@@ -35729,7 +36263,7 @@ export interface components {
35729
36263
  * @description Memory request (GB). Send null to clear.
35730
36264
  */
35731
36265
  memoryRequest?: number | null;
35732
- /** @description Host for user workspaces. Send null to clear. */
36266
+ /** @description Host for user workspaces. Only a platform admin can set a new value. Send null to clear. */
35733
36267
  userHost?: string | null;
35734
36268
  /** @description Container image for user workspaces. Send null to clear. */
35735
36269
  workspaceImage?: string | null;
@@ -36806,7 +37340,12 @@ export interface operations {
36806
37340
  };
36807
37341
  "list-admin-event-actors": {
36808
37342
  parameters: {
36809
- query?: never;
37343
+ query?: {
37344
+ /** @description Only actors with events at or after this time (RFC3339). */
37345
+ from?: string;
37346
+ /** @description Only actors with events at or before this time (RFC3339). */
37347
+ to?: string;
37348
+ };
36810
37349
  header?: never;
36811
37350
  path?: never;
36812
37351
  cookie?: never;
@@ -39316,6 +39855,44 @@ export interface operations {
39316
39855
  };
39317
39856
  };
39318
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
+ };
39319
39896
  "list-agent-sessions": {
39320
39897
  parameters: {
39321
39898
  query?: never;
@@ -40378,39 +40955,6 @@ export interface operations {
40378
40955
  };
40379
40956
  };
40380
40957
  };
40381
- "get-auth-token-oidc": {
40382
- parameters: {
40383
- query?: {
40384
- /** @description Name of the Kubernetes cluster */
40385
- clusterName?: string;
40386
- };
40387
- header?: never;
40388
- path?: never;
40389
- cookie?: never;
40390
- };
40391
- requestBody?: never;
40392
- responses: {
40393
- /** @description OK */
40394
- 200: {
40395
- headers: {
40396
- "Cache-Control"?: string;
40397
- [name: string]: unknown;
40398
- };
40399
- content: {
40400
- "application/json": string;
40401
- };
40402
- };
40403
- /** @description Error */
40404
- default: {
40405
- headers: {
40406
- [name: string]: unknown;
40407
- };
40408
- content: {
40409
- "application/json": components["schemas"]["Error"];
40410
- };
40411
- };
40412
- };
40413
- };
40414
40958
  "get-whoami": {
40415
40959
  parameters: {
40416
40960
  query?: never;
@@ -41086,6 +41630,45 @@ export interface operations {
41086
41630
  };
41087
41631
  };
41088
41632
  };
41633
+ "list-resource-event-actors": {
41634
+ parameters: {
41635
+ query?: {
41636
+ /** @description Only actors with events at or after this time (RFC3339). */
41637
+ from?: string;
41638
+ /** @description Only actors with events at or before this time (RFC3339). */
41639
+ to?: string;
41640
+ };
41641
+ header?: never;
41642
+ path: {
41643
+ /** @description Target resource type. */
41644
+ targetType: "cluster" | "storage" | "user";
41645
+ /** @description Target resource id (hex ObjectID). */
41646
+ targetId: string;
41647
+ };
41648
+ cookie?: never;
41649
+ };
41650
+ requestBody?: never;
41651
+ responses: {
41652
+ /** @description OK */
41653
+ 200: {
41654
+ headers: {
41655
+ [name: string]: unknown;
41656
+ };
41657
+ content: {
41658
+ "application/json": components["schemas"]["EventActorsOutputBody"];
41659
+ };
41660
+ };
41661
+ /** @description Error */
41662
+ default: {
41663
+ headers: {
41664
+ [name: string]: unknown;
41665
+ };
41666
+ content: {
41667
+ "application/json": components["schemas"]["Error"];
41668
+ };
41669
+ };
41670
+ };
41671
+ };
41089
41672
  "export-resource-events": {
41090
41673
  parameters: {
41091
41674
  query?: {
@@ -41723,6 +42306,42 @@ export interface operations {
41723
42306
  };
41724
42307
  };
41725
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
+ };
41726
42345
  "get-existing-clusters": {
41727
42346
  parameters: {
41728
42347
  query?: never;
@@ -44632,6 +45251,38 @@ export interface operations {
44632
45251
  };
44633
45252
  };
44634
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
+ };
44635
45286
  "get-oidc-consent": {
44636
45287
  parameters: {
44637
45288
  query?: never;
@@ -44695,6 +45346,107 @@ export interface operations {
44695
45346
  };
44696
45347
  };
44697
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
+ };
44698
45450
  "get-oidc-end-session": {
44699
45451
  parameters: {
44700
45452
  query?: {
@@ -44817,6 +45569,7 @@ export interface operations {
44817
45569
  200: {
44818
45570
  headers: {
44819
45571
  "Cache-Control"?: string;
45572
+ Pragma?: string;
44820
45573
  "WWW-Authenticate"?: string | null;
44821
45574
  [name: string]: unknown;
44822
45575
  };
@@ -44884,6 +45637,7 @@ export interface operations {
44884
45637
  200: {
44885
45638
  headers: {
44886
45639
  "Cache-Control"?: string;
45640
+ Pragma?: string;
44887
45641
  "WWW-Authenticate"?: string | null;
44888
45642
  [name: string]: unknown;
44889
45643
  };
@@ -44902,39 +45656,6 @@ export interface operations {
44902
45656
  };
44903
45657
  };
44904
45658
  };
44905
- "get-oidc-token-direct": {
44906
- parameters: {
44907
- query: {
44908
- /** @description The client ID of the application to mint a token for */
44909
- clientId: string;
44910
- };
44911
- header?: never;
44912
- path?: never;
44913
- cookie?: never;
44914
- };
44915
- requestBody?: never;
44916
- responses: {
44917
- /** @description OK */
44918
- 200: {
44919
- headers: {
44920
- "Cache-Control"?: string;
44921
- [name: string]: unknown;
44922
- };
44923
- content: {
44924
- "application/json": string;
44925
- };
44926
- };
44927
- /** @description Error */
44928
- default: {
44929
- headers: {
44930
- [name: string]: unknown;
44931
- };
44932
- content: {
44933
- "application/json": components["schemas"]["Error"];
44934
- };
44935
- };
44936
- };
44937
- };
44938
45659
  "get-oidc-userinfo": {
44939
45660
  parameters: {
44940
45661
  query?: never;
@@ -49013,7 +49734,12 @@ export interface operations {
49013
49734
  };
49014
49735
  "list-organization-event-actors": {
49015
49736
  parameters: {
49016
- query?: never;
49737
+ query?: {
49738
+ /** @description Only actors with events at or after this time (RFC3339). */
49739
+ from?: string;
49740
+ /** @description Only actors with events at or before this time (RFC3339). */
49741
+ to?: string;
49742
+ };
49017
49743
  header?: never;
49018
49744
  path: {
49019
49745
  /** @description The name of the organization. */
@@ -52239,7 +52965,11 @@ export interface operations {
52239
52965
  };
52240
52966
  cookie?: never;
52241
52967
  };
52242
- requestBody?: never;
52968
+ requestBody?: {
52969
+ content: {
52970
+ "application/json": components["schemas"]["GenerateNodeTokenBody"];
52971
+ };
52972
+ };
52243
52973
  responses: {
52244
52974
  /** @description OK */
52245
52975
  200: {
@@ -52262,6 +52992,74 @@ export interface operations {
52262
52992
  };
52263
52993
  };
52264
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
+ };
52265
53063
  "delete-managed-cluster-node": {
52266
53064
  parameters: {
52267
53065
  query?: never;
@@ -52982,28 +53780,101 @@ export interface operations {
52982
53780
  };
52983
53781
  };
52984
53782
  };
52985
- "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": {
52986
53855
  parameters: {
52987
53856
  query?: never;
52988
53857
  header?: never;
52989
53858
  path: {
52990
53859
  /** @description The name of the organization. */
52991
53860
  organization: string;
52992
- /** @description The application's client ID */
52993
- clientId: string;
52994
- /** @description The secret to delete */
52995
- secretId: string;
52996
53861
  };
52997
53862
  cookie?: never;
52998
53863
  };
52999
- requestBody?: never;
53864
+ requestBody: {
53865
+ content: {
53866
+ "application/json": components["schemas"]["SetOwnerInputBody"];
53867
+ };
53868
+ };
53000
53869
  responses: {
53001
- /** @description No Content */
53002
- 204: {
53870
+ /** @description OK */
53871
+ 200: {
53003
53872
  headers: {
53004
53873
  [name: string]: unknown;
53005
53874
  };
53006
- content?: never;
53875
+ content: {
53876
+ "application/json": components["schemas"]["OwnerOutputBody"];
53877
+ };
53007
53878
  };
53008
53879
  /** @description Error */
53009
53880
  default: {
@@ -53016,17 +53887,13 @@ export interface operations {
53016
53887
  };
53017
53888
  };
53018
53889
  };
53019
- "reveal-org-oidc-app-secret": {
53890
+ "get-partner-allowed-instance-types": {
53020
53891
  parameters: {
53021
53892
  query?: never;
53022
53893
  header?: never;
53023
53894
  path: {
53024
53895
  /** @description The name of the organization. */
53025
53896
  organization: string;
53026
- /** @description The application's client ID */
53027
- clientId: string;
53028
- /** @description The secret to reveal */
53029
- secretId: string;
53030
53897
  };
53031
53898
  cookie?: never;
53032
53899
  };
@@ -53035,11 +53902,10 @@ export interface operations {
53035
53902
  /** @description OK */
53036
53903
  200: {
53037
53904
  headers: {
53038
- "Cache-Control"?: string;
53039
53905
  [name: string]: unknown;
53040
53906
  };
53041
53907
  content: {
53042
- "application/json": components["schemas"]["SecretResponse"];
53908
+ "application/json": components["schemas"]["AllowedInstanceTypesOutputBody"];
53043
53909
  };
53044
53910
  };
53045
53911
  /** @description Error */
@@ -53053,7 +53919,7 @@ export interface operations {
53053
53919
  };
53054
53920
  };
53055
53921
  };
53056
- "set-organization-owner": {
53922
+ "update-partner-allowed-instance-types": {
53057
53923
  parameters: {
53058
53924
  query?: never;
53059
53925
  header?: never;
@@ -53065,7 +53931,7 @@ export interface operations {
53065
53931
  };
53066
53932
  requestBody: {
53067
53933
  content: {
53068
- "application/json": components["schemas"]["SetOwnerInputBody"];
53934
+ "application/json": components["schemas"]["AllowedInstanceTypes"];
53069
53935
  };
53070
53936
  };
53071
53937
  responses: {
@@ -53075,7 +53941,7 @@ export interface operations {
53075
53941
  [name: string]: unknown;
53076
53942
  };
53077
53943
  content: {
53078
- "application/json": components["schemas"]["OwnerOutputBody"];
53944
+ "application/json": components["schemas"]["AllowedInstanceTypesOutputBody"];
53079
53945
  };
53080
53946
  };
53081
53947
  /** @description Error */
@@ -53089,7 +53955,7 @@ export interface operations {
53089
53955
  };
53090
53956
  };
53091
53957
  };
53092
- "get-partner-allowed-instance-types": {
53958
+ "get-organization-policies": {
53093
53959
  parameters: {
53094
53960
  query?: never;
53095
53961
  header?: never;
@@ -53107,7 +53973,9 @@ export interface operations {
53107
53973
  [name: string]: unknown;
53108
53974
  };
53109
53975
  content: {
53110
- "application/json": components["schemas"]["AllowedInstanceTypesOutputBody"];
53976
+ "application/json": {
53977
+ [key: string]: components["schemas"]["Policy"];
53978
+ };
53111
53979
  };
53112
53980
  };
53113
53981
  /** @description Error */
@@ -53121,7 +53989,7 @@ export interface operations {
53121
53989
  };
53122
53990
  };
53123
53991
  };
53124
- "update-partner-allowed-instance-types": {
53992
+ "set-organization-allocation-start-date-policy": {
53125
53993
  parameters: {
53126
53994
  query?: never;
53127
53995
  header?: never;
@@ -53133,41 +54001,9 @@ export interface operations {
53133
54001
  };
53134
54002
  requestBody: {
53135
54003
  content: {
53136
- "application/json": components["schemas"]["AllowedInstanceTypes"];
53137
- };
53138
- };
53139
- responses: {
53140
- /** @description OK */
53141
- 200: {
53142
- headers: {
53143
- [name: string]: unknown;
53144
- };
53145
- content: {
53146
- "application/json": components["schemas"]["AllowedInstanceTypesOutputBody"];
53147
- };
53148
- };
53149
- /** @description Error */
53150
- default: {
53151
- headers: {
53152
- [name: string]: unknown;
53153
- };
53154
- content: {
53155
- "application/json": components["schemas"]["Error"];
53156
- };
53157
- };
53158
- };
53159
- };
53160
- "get-organization-policies": {
53161
- parameters: {
53162
- query?: never;
53163
- header?: never;
53164
- path: {
53165
- /** @description The name of the organization. */
53166
- organization: string;
54004
+ "application/json": string;
53167
54005
  };
53168
- cookie?: never;
53169
54006
  };
53170
- requestBody?: never;
53171
54007
  responses: {
53172
54008
  /** @description OK */
53173
54009
  200: {
@@ -53176,7 +54012,7 @@ export interface operations {
53176
54012
  };
53177
54013
  content: {
53178
54014
  "application/json": {
53179
- [key: string]: components["schemas"]["Policy"];
54015
+ [key: string]: components["schemas"]["StringPolicyOutput"];
53180
54016
  };
53181
54017
  };
53182
54018
  };
@@ -53191,7 +54027,7 @@ export interface operations {
53191
54027
  };
53192
54028
  };
53193
54029
  };
53194
- "set-organization-allocation-start-date-policy": {
54030
+ "set-organization-allow-organization-session-sharing-policy": {
53195
54031
  parameters: {
53196
54032
  query?: never;
53197
54033
  header?: never;
@@ -53203,7 +54039,7 @@ export interface operations {
53203
54039
  };
53204
54040
  requestBody: {
53205
54041
  content: {
53206
- "application/json": string;
54042
+ "application/json": boolean;
53207
54043
  };
53208
54044
  };
53209
54045
  responses: {
@@ -53214,7 +54050,7 @@ export interface operations {
53214
54050
  };
53215
54051
  content: {
53216
54052
  "application/json": {
53217
- [key: string]: components["schemas"]["StringPolicyOutput"];
54053
+ [key: string]: components["schemas"]["BooleanPolicyOutput"];
53218
54054
  };
53219
54055
  };
53220
54056
  };
@@ -53229,7 +54065,7 @@ export interface operations {
53229
54065
  };
53230
54066
  };
53231
54067
  };
53232
- "set-organization-allow-organization-session-sharing-policy": {
54068
+ "set-organization-allow-public-sessions-policy": {
53233
54069
  parameters: {
53234
54070
  query?: never;
53235
54071
  header?: never;
@@ -53267,7 +54103,7 @@ export interface operations {
53267
54103
  };
53268
54104
  };
53269
54105
  };
53270
- "set-organization-allow-public-sessions-policy": {
54106
+ "set-organization-archive-cost-data-policy": {
53271
54107
  parameters: {
53272
54108
  query?: never;
53273
54109
  header?: never;
@@ -53279,7 +54115,7 @@ export interface operations {
53279
54115
  };
53280
54116
  requestBody: {
53281
54117
  content: {
53282
- "application/json": boolean;
54118
+ "application/json": number;
53283
54119
  };
53284
54120
  };
53285
54121
  responses: {
@@ -53290,7 +54126,7 @@ export interface operations {
53290
54126
  };
53291
54127
  content: {
53292
54128
  "application/json": {
53293
- [key: string]: components["schemas"]["BooleanPolicyOutput"];
54129
+ [key: string]: components["schemas"]["IntPolicyOutput"];
53294
54130
  };
53295
54131
  };
53296
54132
  };
@@ -53305,7 +54141,7 @@ export interface operations {
53305
54141
  };
53306
54142
  };
53307
54143
  };
53308
- "set-organization-archive-cost-data-policy": {
54144
+ "set-organization-default-billing-username-policy": {
53309
54145
  parameters: {
53310
54146
  query?: never;
53311
54147
  header?: never;
@@ -53317,7 +54153,7 @@ export interface operations {
53317
54153
  };
53318
54154
  requestBody: {
53319
54155
  content: {
53320
- "application/json": number;
54156
+ "application/json": string;
53321
54157
  };
53322
54158
  };
53323
54159
  responses: {
@@ -53328,7 +54164,7 @@ export interface operations {
53328
54164
  };
53329
54165
  content: {
53330
54166
  "application/json": {
53331
- [key: string]: components["schemas"]["IntPolicyOutput"];
54167
+ [key: string]: components["schemas"]["StringPolicyOutput"];
53332
54168
  };
53333
54169
  };
53334
54170
  };
@@ -53343,7 +54179,7 @@ export interface operations {
53343
54179
  };
53344
54180
  };
53345
54181
  };
53346
- "set-organization-default-billing-username-policy": {
54182
+ "set-organization-disable-device-login-policy": {
53347
54183
  parameters: {
53348
54184
  query?: never;
53349
54185
  header?: never;
@@ -53355,7 +54191,7 @@ export interface operations {
53355
54191
  };
53356
54192
  requestBody: {
53357
54193
  content: {
53358
- "application/json": string;
54194
+ "application/json": boolean;
53359
54195
  };
53360
54196
  };
53361
54197
  responses: {
@@ -53366,7 +54202,7 @@ export interface operations {
53366
54202
  };
53367
54203
  content: {
53368
54204
  "application/json": {
53369
- [key: string]: components["schemas"]["StringPolicyOutput"];
54205
+ [key: string]: components["schemas"]["BooleanPolicyOutput"];
53370
54206
  };
53371
54207
  };
53372
54208
  };
@@ -58131,6 +58967,40 @@ export interface operations {
58131
58967
  };
58132
58968
  };
58133
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
+ };
58134
59004
  "delete-elastic-cluster-icon": {
58135
59005
  parameters: {
58136
59006
  query?: never;
@@ -62656,6 +63526,7 @@ export interface operations {
62656
63526
  CreatedAt?: string;
62657
63527
  Description?: string;
62658
63528
  Id?: string;
63529
+ ImpersonatedBy?: string | null;
62659
63530
  KeyFile?: string;
62660
63531
  Name?: string;
62661
63532
  PublicKey?: string;
@@ -65000,6 +65871,41 @@ export interface operations {
65000
65871
  };
65001
65872
  };
65002
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
+ };
65003
65909
  "set-platform-disable-password-login-policy": {
65004
65910
  parameters: {
65005
65911
  query?: never;
@@ -65035,6 +65941,76 @@ export interface operations {
65035
65941
  };
65036
65942
  };
65037
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
+ };
65038
66014
  "set-platform-enforce-webauthn-mfa-policy": {
65039
66015
  parameters: {
65040
66016
  query?: never;
@@ -67010,6 +67986,38 @@ export interface operations {
67010
67986
  };
67011
67987
  };
67012
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
+ };
67013
68021
  "get-cac-redirect": {
67014
68022
  parameters: {
67015
68023
  query?: never;