@parallelworks/client 7.93.0 → 7.95.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -259,9 +259,9 @@ export class Client {
259
259
  const record = body && typeof body === 'object'
260
260
  ? body
261
261
  : {};
262
- record.status = response.status;
263
- if (typeof record.message !== 'string' || !record.message) {
264
- record.message =
262
+ record['status'] = response.status;
263
+ if (typeof record['message'] !== 'string' || !record['message']) {
264
+ record['message'] =
265
265
  response.statusText ||
266
266
  `Request failed with status ${response.status}`;
267
267
  }
@@ -926,6 +926,30 @@ export interface paths {
926
926
  patch: operations["set-ai-integration-icon"];
927
927
  trace?: never;
928
928
  };
929
+ "/api/admin/products/ai/catalog/{catalogEntryId}/models": {
930
+ parameters: {
931
+ query?: never;
932
+ header?: never;
933
+ path?: never;
934
+ cookie?: never;
935
+ };
936
+ /**
937
+ * List models reported for an AI integration
938
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
939
+ *
940
+ * > This is a platform-admin only route.
941
+ *
942
+ * Aggregates the model IDs existing connections report live for this integration, as a picking aid for the allowed-models list.
943
+ */
944
+ get: operations["list-ai-integration-catalog-models"];
945
+ put?: never;
946
+ post?: never;
947
+ delete?: never;
948
+ options?: never;
949
+ head?: never;
950
+ patch?: never;
951
+ trace?: never;
952
+ };
929
953
  "/api/admin/products/ai/connections/{connectionId}": {
930
954
  parameters: {
931
955
  query?: never;
@@ -5261,7 +5285,7 @@ export interface paths {
5261
5285
  * Set organization bootstrap script
5262
5286
  * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
5263
5287
  *
5264
- * Sets the organization's bootstrap script of the given type, replacing any existing script of that type. Cloud cluster bootstrap scripts run on every cloud cluster before any user bootstrap or health check scripts.
5288
+ * Sets the organization's bootstrap script of the given type, replacing any existing script of that type. Cloud cluster bootstrap scripts run on every cloud cluster before any user bootstrap or health check scripts. User workspace bootstrap scripts run as root in every user workspace in the organization at startup, before the home directory is prepared, receive the username as the first argument, and stop the workspace from starting when they exit non-zero. Every user can read the workspace script from inside their workspace, so it must not contain secrets.
5265
5289
  */
5266
5290
  put: operations["put-organization-bootstrap-script"];
5267
5291
  post?: never;
@@ -6071,6 +6095,28 @@ export interface paths {
6071
6095
  patch?: never;
6072
6096
  trace?: never;
6073
6097
  };
6098
+ "/api/organizations/{organization}/gitlab-servers/ca-cert": {
6099
+ parameters: {
6100
+ query?: never;
6101
+ header?: never;
6102
+ path?: never;
6103
+ cookie?: never;
6104
+ };
6105
+ get?: never;
6106
+ put?: never;
6107
+ /**
6108
+ * Discover a GitLab server's CA certificate
6109
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
6110
+ *
6111
+ * Dials the GitLab server and returns the CA certificate its TLS chain is issued by, for registrations that verify against a custom CA.
6112
+ */
6113
+ post: operations["discover-organization-gitlab-server-ca-cert"];
6114
+ delete?: never;
6115
+ options?: never;
6116
+ head?: never;
6117
+ patch?: never;
6118
+ trace?: never;
6119
+ };
6074
6120
  "/api/organizations/{organization}/gitlab-servers/{server}": {
6075
6121
  parameters: {
6076
6122
  query?: never;
@@ -7739,6 +7785,28 @@ export interface paths {
7739
7785
  patch?: never;
7740
7786
  trace?: never;
7741
7787
  };
7788
+ "/api/organizations/{organization}/policies/disable-password-login": {
7789
+ parameters: {
7790
+ query?: never;
7791
+ header?: never;
7792
+ path?: never;
7793
+ cookie?: never;
7794
+ };
7795
+ get?: never;
7796
+ put?: never;
7797
+ /**
7798
+ * Set organization policy: disable-password-login
7799
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
7800
+ *
7801
+ * Sets disable-password-login policy for the organization.
7802
+ */
7803
+ post: operations["set-organization-disable-password-login-policy"];
7804
+ delete?: never;
7805
+ options?: never;
7806
+ head?: never;
7807
+ patch?: never;
7808
+ trace?: never;
7809
+ };
7742
7810
  "/api/organizations/{organization}/policies/enforce-mfa": {
7743
7811
  parameters: {
7744
7812
  query?: never;
@@ -11694,6 +11762,34 @@ export interface paths {
11694
11762
  patch?: never;
11695
11763
  trace?: never;
11696
11764
  };
11765
+ "/api/organizations/{organization}/users/{user}/storage/{name}/permissions": {
11766
+ parameters: {
11767
+ query?: never;
11768
+ header?: never;
11769
+ path?: never;
11770
+ cookie?: never;
11771
+ };
11772
+ /**
11773
+ * Get storage permissions
11774
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
11775
+ *
11776
+ * Returns the set of permissions granted on a storage.
11777
+ */
11778
+ get: operations["get-storage-permissions"];
11779
+ put?: never;
11780
+ post?: never;
11781
+ delete?: never;
11782
+ options?: never;
11783
+ head?: never;
11784
+ /**
11785
+ * Update storage permissions
11786
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
11787
+ *
11788
+ * Replaces the set of permissions granted on a storage.
11789
+ */
11790
+ patch: operations["update-storage-permissions"];
11791
+ trace?: never;
11792
+ };
11697
11793
  "/api/organizations/{organization}/users/{user}/user-workspace": {
11698
11794
  parameters: {
11699
11795
  query?: never;
@@ -12568,6 +12664,28 @@ export interface paths {
12568
12664
  patch?: never;
12569
12665
  trace?: never;
12570
12666
  };
12667
+ "/api/platform/policies/disable-password-login": {
12668
+ parameters: {
12669
+ query?: never;
12670
+ header?: never;
12671
+ path?: never;
12672
+ cookie?: never;
12673
+ };
12674
+ get?: never;
12675
+ put?: never;
12676
+ /**
12677
+ * Set platform policy: disable-password-login
12678
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
12679
+ *
12680
+ * Sets the disable-password-login policy for the platform.
12681
+ */
12682
+ post: operations["set-platform-disable-password-login-policy"];
12683
+ delete?: never;
12684
+ options?: never;
12685
+ head?: never;
12686
+ patch?: never;
12687
+ trace?: never;
12688
+ };
12571
12689
  "/api/platform/policies/enforce-webauthn-mfa": {
12572
12690
  parameters: {
12573
12691
  query?: never;
@@ -13855,6 +13973,28 @@ export interface paths {
13855
13973
  patch?: never;
13856
13974
  trace?: never;
13857
13975
  };
13976
+ "/api/user-workspace/bootstrap-script": {
13977
+ parameters: {
13978
+ query?: never;
13979
+ header?: never;
13980
+ path?: never;
13981
+ cookie?: never;
13982
+ };
13983
+ /**
13984
+ * Get user workspace bootstrap script
13985
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
13986
+ *
13987
+ * Returns the bootstrap script the currently authenticated user's organization runs in every user workspace at startup, or an empty script when none is set.
13988
+ */
13989
+ get: operations["get-user-workspace-bootstrap-script"];
13990
+ put?: never;
13991
+ post?: never;
13992
+ delete?: never;
13993
+ options?: never;
13994
+ head?: never;
13995
+ patch?: never;
13996
+ trace?: never;
13997
+ };
13858
13998
  "/api/user-workspace/status": {
13859
13999
  parameters: {
13860
14000
  query?: never;
@@ -14504,28 +14644,6 @@ export interface paths {
14504
14644
  patch: operations["update-workflow"];
14505
14645
  trace?: never;
14506
14646
  };
14507
- "/api/workflows/{workflow}/duplicate": {
14508
- parameters: {
14509
- query?: never;
14510
- header?: never;
14511
- path?: never;
14512
- cookie?: never;
14513
- };
14514
- get?: never;
14515
- put?: never;
14516
- /**
14517
- * Duplicate Workflow
14518
- * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
14519
- *
14520
- * Creates a copy of an existing workflow with a new name.
14521
- */
14522
- post: operations["duplicate-workflow"];
14523
- delete?: never;
14524
- options?: never;
14525
- head?: never;
14526
- patch?: never;
14527
- trace?: never;
14528
- };
14529
14647
  "/api/workflows/{workflow}/fork": {
14530
14648
  parameters: {
14531
14649
  query?: never;
@@ -14852,14 +14970,14 @@ export interface components {
14852
14970
  termsAcceptedAt: string;
14853
14971
  };
14854
14972
  AccessManagementBody: {
14855
- /** @description Enable pam_mkhomedir for automatic home directory creation */
14856
- homeDirectories: boolean;
14857
- /** @description Enable AuthorizedKeysCommand for SSH key lookup */
14858
- sshKeys: boolean;
14859
- /** @description Enable sudoers.d for pwsudo group */
14860
- sudoAccess: boolean;
14861
- /** @description Enable libnss_cache, nsswitch, and user/group cache file sync */
14862
- userPopulation: boolean;
14973
+ /** @description Enable pam_mkhomedir for automatic home directory creation; absent means unmanaged */
14974
+ homeDirectories?: boolean;
14975
+ /** @description Enable AuthorizedKeysCommand for SSH key lookup; absent means unmanaged */
14976
+ sshKeys?: boolean;
14977
+ /** @description Enable sudoers.d for pwsudo group; absent means unmanaged */
14978
+ sudoAccess?: boolean;
14979
+ /** @description Enable libnss_cache, nsswitch, and user/group cache file sync; absent means unmanaged */
14980
+ userPopulation?: boolean;
14863
14981
  };
14864
14982
  AccessibleAIProviderResponse: {
14865
14983
  /** @description Friendly display name */
@@ -15347,6 +15465,8 @@ export interface components {
15347
15465
  accountEmail?: string;
15348
15466
  /** @description Login of the connected GitHub account (copilot provider) */
15349
15467
  accountLogin?: string;
15468
+ /** @description Admin allowlist from the catalog entry; empty allows every model the provider reports */
15469
+ allowedModels?: string[] | null;
15350
15470
  /** @description Attached storage bucket infrastructure ID */
15351
15471
  bucketId?: string;
15352
15472
  /** @description Attached storage bucket name */
@@ -15367,8 +15487,6 @@ export interface components {
15367
15487
  endpoint?: string;
15368
15488
  /** @description Billing group the provider is provisioned under (managed providers) */
15369
15489
  group?: string;
15370
- /** @description Whether a custom CA certificate is configured */
15371
- hasCaCertificate?: boolean;
15372
15490
  /** @description Unique identifier for the resource */
15373
15491
  id: string;
15374
15492
  /** @description Current icon configured on the provider's catalog entry */
@@ -15391,6 +15509,11 @@ export interface components {
15391
15509
  supportsResponses?: boolean;
15392
15510
  /** @description Whether the provider reports usage information */
15393
15511
  supportsUsage?: boolean;
15512
+ /**
15513
+ * @description How the integration's TLS certificate is verified
15514
+ * @enum {string}
15515
+ */
15516
+ tlsVerification?: "public" | "ca-certificate" | "skip";
15394
15517
  /** @description The username of the user that owns this resource */
15395
15518
  user: string;
15396
15519
  };
@@ -17066,7 +17189,7 @@ export interface components {
17066
17189
  * @example cloudclusters
17067
17190
  * @enum {string}
17068
17191
  */
17069
- type: "cloudclusters";
17192
+ type: "cloudclusters" | "userworkspaces";
17070
17193
  /**
17071
17194
  * Format: date-time
17072
17195
  * @description The last update timestamp of the bootstrap script.
@@ -17284,6 +17407,8 @@ export interface components {
17284
17407
  workspaceType: string;
17285
17408
  };
17286
17409
  BuiltinProviderResponse: {
17410
+ /** @description Model IDs users may see and enable; empty allows every model the provider reports */
17411
+ allowedModels?: string[] | null;
17287
17412
  caCertificate?: string;
17288
17413
  /** Format: int64 */
17289
17414
  connectionCount: number;
@@ -17308,9 +17433,13 @@ export interface components {
17308
17433
  /** @description Connections carry a credential */
17309
17434
  requiresApiKey: boolean;
17310
17435
  /** @enum {string} */
17436
+ tlsVerification?: "public" | "ca-certificate" | "skip";
17437
+ /** @enum {string} */
17311
17438
  toolCallingMode?: "native" | "emulated" | "none";
17312
17439
  };
17313
17440
  CatalogEntryBody: {
17441
+ /** @description Model IDs users may see and enable; empty allows every model the provider reports */
17442
+ allowedModels?: string[] | null;
17314
17443
  caCertificate?: string;
17315
17444
  displayName: string;
17316
17445
  endpointOrigin: string;
@@ -17325,9 +17454,13 @@ export interface components {
17325
17454
  /** @enum {string} */
17326
17455
  protocol: "azure-foundry" | "bedrock-converse" | "codex" | "anthropic-messages" | "openai-chat" | "openai-responses";
17327
17456
  /** @enum {string} */
17457
+ tlsVerification?: "public" | "ca-certificate" | "skip";
17458
+ /** @enum {string} */
17328
17459
  toolCallingMode?: "native" | "emulated" | "none";
17329
17460
  };
17330
17461
  CatalogEntryResponse: {
17462
+ /** @description Model IDs users may see and enable; empty allows every model the provider reports */
17463
+ allowedModels?: string[] | null;
17331
17464
  caCertificate?: string;
17332
17465
  /** Format: int64 */
17333
17466
  connectionCount: number;
@@ -17357,10 +17490,21 @@ export interface components {
17357
17490
  /** @description Connections carry a credential */
17358
17491
  requiresApiKey: boolean;
17359
17492
  /** @enum {string} */
17493
+ tlsVerification: "public" | "ca-certificate" | "skip";
17494
+ /** @enum {string} */
17360
17495
  toolCallingMode: "native" | "emulated" | "none";
17361
17496
  /** Format: date-time */
17362
17497
  updatedAt: string;
17363
17498
  };
17499
+ CatalogModelsOutputBody: {
17500
+ /**
17501
+ * Format: int64
17502
+ * @description Connections that reported models
17503
+ */
17504
+ connections: number;
17505
+ /** @description Union of model IDs reported live by connections mapped to this integration */
17506
+ models: string[] | null;
17507
+ };
17364
17508
  CertInfo: {
17365
17509
  /** @description DNS names the certificate covers */
17366
17510
  dnsNames?: string[] | null;
@@ -17660,6 +17804,7 @@ export interface components {
17660
17804
  csp: string;
17661
17805
  dnsZoneId?: string;
17662
17806
  dnsZoneName?: string;
17807
+ firewallRules?: components["schemas"]["NetworkFirewallRule"][] | null;
17663
17808
  id: string;
17664
17809
  name: string;
17665
17810
  natGateway: boolean;
@@ -18927,6 +19072,8 @@ export interface components {
18927
19072
  name: string;
18928
19073
  };
18929
19074
  CreateNetworkBody: {
19075
+ /** @description Custom ingress security group rules applied to resources provisioned on this network */
19076
+ firewallRules?: components["schemas"]["NetworkFirewallRule"][] | null;
18930
19077
  /** @description Name of the network */
18931
19078
  name: string;
18932
19079
  /** @description Whether to provision a NAT gateway for outbound internet access (only applies when provisioning mode is private and not peered to platform) */
@@ -19346,8 +19493,12 @@ export interface components {
19346
19493
  CreateWorkflowBody: {
19347
19494
  /** @description Resource description */
19348
19495
  description?: string;
19496
+ /** @description Markdown description of the workflow */
19497
+ descriptionMarkdown?: string;
19349
19498
  /** @description Display name of the workflow */
19350
19499
  displayName?: string;
19500
+ /** @description URL of the workflow icon */
19501
+ imageUrl?: string;
19351
19502
  /** @description Resource name */
19352
19503
  name: string;
19353
19504
  /** @description Remote workflow configuration (required for remote type) */
@@ -19364,6 +19515,8 @@ export interface components {
19364
19515
  * @enum {string}
19365
19516
  */
19366
19517
  type: "remote" | "local";
19518
+ /** @description Workflow YAML definition as a YAML string. If not provided, a default template is used. */
19519
+ yaml?: string;
19367
19520
  };
19368
19521
  CreateWorkflowRunInputBody: {
19369
19522
  /** @description Auto-grant each workflow's declared user-variable needs (no consent prompt). */
@@ -19711,10 +19864,20 @@ export interface components {
19711
19864
  */
19712
19865
  endpoint: string;
19713
19866
  };
19867
+ DiscoverCACertInputBody1: {
19868
+ /** @description Whether the server may sit on a private network address. Platform administrators only. */
19869
+ allowPrivateAddress?: boolean;
19870
+ /** @description Origin of the GitLab instance to dial, for example https://gitlab.example.com. */
19871
+ baseUrl: string;
19872
+ };
19714
19873
  DiscoverCACertOutputBody: {
19715
19874
  /** @description PEM-encoded CA certificate served by the endpoint */
19716
19875
  caCert: string;
19717
19876
  };
19877
+ DiscoverCACertOutputBody1: {
19878
+ /** @description PEM-encoded CA certificate served by the endpoint. */
19879
+ caCert: string;
19880
+ };
19718
19881
  Disk: {
19719
19882
  /** @description Cloud service provider of the disk */
19720
19883
  csp: string;
@@ -19786,10 +19949,6 @@ export interface components {
19786
19949
  /** @description A list of mounts to be used in docker workspaces. */
19787
19950
  mounts: string[] | null;
19788
19951
  };
19789
- DuplicateWorkflowBody: {
19790
- /** @description Display name for the duplicated workflow */
19791
- newName: string;
19792
- };
19793
19952
  EffectiveProduct: {
19794
19953
  id: string;
19795
19954
  name: string;
@@ -20453,6 +20612,10 @@ export interface components {
20453
20612
  enforceWebAuthnMfa: boolean;
20454
20613
  /** @description List of configured MFA methods */
20455
20614
  mfaSettings: components["schemas"]["MfaSettingResponse"][] | null;
20615
+ /** @description Whether the user's registered security key does not meet the required level and must be replaced */
20616
+ webAuthnKeyRequiresReplacement: boolean;
20617
+ /** @description Required security key level (hardware or fips); empty when not enforced */
20618
+ webAuthnMfaLevel?: string;
20456
20619
  };
20457
20620
  GetNodeMetricsOutputBody: {
20458
20621
  dataPoints: components["schemas"]["MetricsDataPoint"][] | null;
@@ -20478,6 +20641,10 @@ export interface components {
20478
20641
  /** @description Resources that are unprovisioned, stopped, off, or deleted and do not need deprovisioning */
20479
20642
  inactive: components["schemas"]["UserResource"][] | null;
20480
20643
  };
20644
+ GetUserWorkspaceBootstrapScriptOutputBody: {
20645
+ /** @description The organization's user workspace bootstrap script, or empty when none is set. */
20646
+ script: string;
20647
+ };
20481
20648
  GitHubAppConfigResponse: {
20482
20649
  /** Format: int64 */
20483
20650
  appId: number;
@@ -20517,6 +20684,8 @@ export interface components {
20517
20684
  allowPrivateAddress: boolean;
20518
20685
  /** @description Origin of the GitLab instance, for example https://gitlab.example.com. */
20519
20686
  baseUrl: string;
20687
+ /** @description PEM-encoded CA certificate the server's certificate chains to, when tlsVerification is ca-certificate. */
20688
+ caCertificate?: string;
20520
20689
  /** @description Application ID of the OAuth application registered on the server, when members may connect through OAuth. */
20521
20690
  clientId?: string;
20522
20691
  /** @description Whether the application secret is stored. */
@@ -20529,10 +20698,20 @@ export interface components {
20529
20698
  readonly id: string;
20530
20699
  /** @description How members may connect: oauth, token, or both. */
20531
20700
  readonly methods: ("oauth" | "token")[] | null;
20701
+ /**
20702
+ * @description Lowest TLS version the platform negotiates with the server.
20703
+ * @enum {string}
20704
+ */
20705
+ minimumTlsVersion: "1.2" | "1.3";
20532
20706
  /** @description Short name of the server, unique within the organization. */
20533
20707
  name: string;
20534
20708
  /** @description Redirect URI to configure on the OAuth application. */
20535
20709
  readonly redirectUri: string;
20710
+ /**
20711
+ * @description How the server's certificate is verified: against the public roots, against the supplied CA certificate, or not at all.
20712
+ * @enum {string}
20713
+ */
20714
+ tlsVerification: "public" | "ca-certificate" | "skip";
20536
20715
  };
20537
20716
  GitLabServerCreateBody: {
20538
20717
  /** @description Let members connect by pasting a personal access token with the read_api scope. */
@@ -20541,12 +20720,24 @@ export interface components {
20541
20720
  allowPrivateAddress?: boolean;
20542
20721
  /** @description Origin of the GitLab instance, for example https://gitlab.example.com. */
20543
20722
  baseUrl: string;
20723
+ /** @description PEM-encoded CA certificate the server's certificate chains to. Required for ca-certificate verification and not accepted otherwise. */
20724
+ caCertificate?: string;
20544
20725
  /** @description Application ID of the OAuth application registered on the server. Give it together with clientSecret to let members connect through OAuth. */
20545
20726
  clientId?: string;
20546
20727
  /** @description Secret of the OAuth application. Stored in the platform vault and never returned. */
20547
20728
  clientSecret?: string;
20729
+ /**
20730
+ * @description Lowest TLS version the platform negotiates with the server. Defaults to 1.2.
20731
+ * @enum {string}
20732
+ */
20733
+ minimumTlsVersion?: "1.2" | "1.3";
20548
20734
  /** @description Short name of the server, unique within the organization. */
20549
20735
  name: string;
20736
+ /**
20737
+ * @description How the server's certificate is verified. Defaults to public, or ca-certificate when one is supplied.
20738
+ * @enum {string}
20739
+ */
20740
+ tlsVerification?: "public" | "ca-certificate" | "skip";
20550
20741
  };
20551
20742
  GitLabServerPatchBody: {
20552
20743
  /** @description Let members connect by pasting a personal access token with the read_api scope. */
@@ -20555,12 +20746,24 @@ export interface components {
20555
20746
  allowPrivateAddress?: boolean;
20556
20747
  /** @description New origin of the GitLab instance. */
20557
20748
  baseUrl?: string;
20749
+ /** @description PEM-encoded CA certificate the server's certificate chains to. Only accepted with ca-certificate verification. */
20750
+ caCertificate?: string;
20558
20751
  /** @description New application ID. */
20559
20752
  clientId?: string;
20560
20753
  /** @description New application secret. */
20561
20754
  clientSecret?: string;
20755
+ /**
20756
+ * @description Lowest TLS version the platform negotiates with the server.
20757
+ * @enum {string}
20758
+ */
20759
+ minimumTlsVersion?: "1.2" | "1.3";
20562
20760
  /** @description New short name of the server. */
20563
20761
  name?: string;
20762
+ /**
20763
+ * @description How the server's certificate is verified. Switching away from ca-certificate discards the stored CA certificate.
20764
+ * @enum {string}
20765
+ */
20766
+ tlsVerification?: "public" | "ca-certificate" | "skip";
20564
20767
  };
20565
20768
  GoogleBucket: {
20566
20769
  /**
@@ -21168,14 +21371,14 @@ export interface components {
21168
21371
  totalMAU?: number;
21169
21372
  };
21170
21373
  HeartbeatAccessManagement: {
21171
- /** @description Enable pam_mkhomedir for automatic home directory creation */
21172
- homeDirectories: boolean;
21173
- /** @description Enable AuthorizedKeysCommand for SSH key lookup */
21174
- sshKeys: boolean;
21175
- /** @description Enable sudoers.d for pwsudo group */
21176
- sudoAccess: boolean;
21177
- /** @description Enable libnss_cache, nsswitch, and user/group cache file sync */
21178
- userPopulation: boolean;
21374
+ /** @description Enable pam_mkhomedir for automatic home directory creation; absent means unmanaged */
21375
+ homeDirectories?: boolean;
21376
+ /** @description Enable AuthorizedKeysCommand for SSH key lookup; absent means unmanaged */
21377
+ sshKeys?: boolean;
21378
+ /** @description Enable sudoers.d for pwsudo group; absent means unmanaged */
21379
+ sudoAccess?: boolean;
21380
+ /** @description Enable libnss_cache, nsswitch, and user/group cache file sync; absent means unmanaged */
21381
+ userPopulation?: boolean;
21179
21382
  };
21180
21383
  HeartbeatGroup: {
21181
21384
  /**
@@ -21221,6 +21424,8 @@ export interface components {
21221
21424
  nodeOverrides?: {
21222
21425
  [key: string]: components["schemas"]["HeartbeatAccessManagement"];
21223
21426
  };
21427
+ /** @description Whether this node should report cluster-wide scheduler partitions and jobs on its next heartbeat */
21428
+ schedulerReporter: boolean;
21224
21429
  /** @description Heartbeat status */
21225
21430
  status: string;
21226
21431
  /** @description Users with access to this cluster */
@@ -23585,6 +23790,25 @@ export interface components {
23585
23790
  /** @description Zone for a zonal RDMA network. */
23586
23791
  zone?: string;
23587
23792
  };
23793
+ NetworkFirewallRule: {
23794
+ /** @description Source CIDR block allowed by this rule */
23795
+ cidr: string;
23796
+ /**
23797
+ * Format: int64
23798
+ * @description Start of the destination port range
23799
+ */
23800
+ fromPort: number;
23801
+ /**
23802
+ * @description Protocol for the rule
23803
+ * @enum {string}
23804
+ */
23805
+ protocol: "tcp" | "udp";
23806
+ /**
23807
+ * Format: int64
23808
+ * @description End of the destination port range
23809
+ */
23810
+ toPort: number;
23811
+ };
23588
23812
  NetworkInterface: {
23589
23813
  /**
23590
23814
  * @description The resource to which this network interface is attached.
@@ -24527,8 +24751,6 @@ export interface components {
24527
24751
  emulatedToolCalling?: boolean;
24528
24752
  /** @description Provider endpoint URL */
24529
24753
  endpoint?: string;
24530
- /** @description Whether a custom CA certificate is configured */
24531
- hasCaCertificate?: boolean;
24532
24754
  /** @description Unique identifier */
24533
24755
  id: string;
24534
24756
  /** @description Current icon configured on the provider's catalog entry */
@@ -24539,6 +24761,11 @@ export interface components {
24539
24761
  supportsResponses?: boolean;
24540
24762
  /** @description Whether the provider reports plan usage limits */
24541
24763
  supportsUsage?: boolean;
24764
+ /**
24765
+ * @description How the integration's TLS certificate is verified
24766
+ * @enum {string}
24767
+ */
24768
+ tlsVerification?: "public" | "ca-certificate" | "skip";
24542
24769
  /** @description AI provider type */
24543
24770
  type: string;
24544
24771
  };
@@ -24752,6 +24979,8 @@ export interface components {
24752
24979
  selfService: boolean;
24753
24980
  };
24754
24981
  OrganizationCatalogEntry: {
24982
+ /** @description Model IDs users may see and enable; empty allows every model the provider reports */
24983
+ allowedModels?: string[] | null;
24755
24984
  caCertificate?: string;
24756
24985
  /** Format: date-time */
24757
24986
  createdAt: string;
@@ -24777,6 +25006,8 @@ export interface components {
24777
25006
  /** @description Connections carry a credential */
24778
25007
  requiresApiKey: boolean;
24779
25008
  /** @enum {string} */
25009
+ tlsVerification: "public" | "ca-certificate" | "skip";
25010
+ /** @enum {string} */
24780
25011
  toolCallingMode: "native" | "emulated" | "none";
24781
25012
  /** Format: date-time */
24782
25013
  updatedAt: string;
@@ -25037,6 +25268,8 @@ export interface components {
25037
25268
  outputRate?: number;
25038
25269
  };
25039
25270
  PatchNetworkBody: {
25271
+ /** @description Custom ingress security group rules applied to resources provisioned on this network; omit to leave unchanged */
25272
+ firewallRules?: components["schemas"]["NetworkFirewallRule"][] | null;
25040
25273
  /** @description List of regions with corresponding CIDR ranges */
25041
25274
  regions: {
25042
25275
  [key: string]: string;
@@ -26900,12 +27133,12 @@ export interface components {
26900
27133
  */
26901
27134
  script: string;
26902
27135
  /**
26903
- * @description The type of the bootstrap script.
27136
+ * @description The type of the bootstrap script. cloudclusters runs on every cloud cluster before user bootstrap and health check scripts. userworkspaces runs as root in every user workspace at startup, before the home directory is prepared, with the username as the first argument; a non-zero exit stops the workspace from starting. Every user can read it from inside their workspace, so it must not contain secrets.
26904
27137
  * @default cloudclusters
26905
27138
  * @example cloudclusters
26906
27139
  * @enum {string}
26907
27140
  */
26908
- type: "cloudclusters";
27141
+ type: "cloudclusters" | "userworkspaces";
26909
27142
  };
26910
27143
  PutGitHubAppConfigInputBody: {
26911
27144
  /**
@@ -28524,6 +28757,10 @@ export interface components {
28524
28757
  /** @description Step status. */
28525
28758
  status?: string;
28526
28759
  };
28760
+ StopClusterOptions: {
28761
+ /** @description Stop the controller through the cloud provider instead of waiting for the cluster agent to shut it down from inside the guest. */
28762
+ force?: boolean;
28763
+ };
28527
28764
  StorageAttachment: {
28528
28765
  /** @description ID of the resource. */
28529
28766
  id: string;
@@ -29071,14 +29308,14 @@ export interface components {
29071
29308
  };
29072
29309
  };
29073
29310
  UpdateAccessManagementBody: {
29074
- /** @description Enable pam_mkhomedir for automatic home directory creation */
29075
- homeDirectories?: boolean;
29076
- /** @description Enable AuthorizedKeysCommand for SSH key lookup */
29077
- sshKeys?: boolean;
29078
- /** @description Enable sudoers.d for pwsudo group */
29079
- sudoAccess?: boolean;
29080
- /** @description Enable libnss_cache, nsswitch, and user/group cache file sync */
29081
- userPopulation?: boolean;
29311
+ /** @description Enable pam_mkhomedir for automatic home directory creation. Send null to stop managing it. */
29312
+ homeDirectories?: boolean | null;
29313
+ /** @description Enable AuthorizedKeysCommand for SSH key lookup. Send null to stop managing it. */
29314
+ sshKeys?: boolean | null;
29315
+ /** @description Enable sudoers.d for pwsudo group. Send null to stop managing it. */
29316
+ sudoAccess?: boolean | null;
29317
+ /** @description Enable libnss_cache, nsswitch, and user/group cache file sync. Send null to stop managing it. */
29318
+ userPopulation?: boolean | null;
29082
29319
  };
29083
29320
  UpdateAdminPlatformSettingsInputBody: {
29084
29321
  /** @description Contact email registered with the ACME account. */
@@ -29858,12 +30095,12 @@ export interface components {
29858
30095
  createdAt: string;
29859
30096
  /**
29860
30097
  * @description the image the user workspace is currently running. This will be always be set to the same as Image when the workspace restarts.
29861
- * @example ghcr.io/parallelworks/usercontainer-theia:latest
30098
+ * @example ghcr.io/parallelworks/usercontainer-vscode:latest
29862
30099
  */
29863
30100
  currentImage: string;
29864
30101
  /**
29865
30102
  * @description the image set for the user workspace
29866
- * @example ghcr.io/parallelworks/usercontainer-theia:latest
30103
+ * @example ghcr.io/parallelworks/usercontainer-vscode:latest
29867
30104
  */
29868
30105
  image: string;
29869
30106
  /**
@@ -29876,6 +30113,11 @@ export interface components {
29876
30113
  * @example User has running workflows
29877
30114
  */
29878
30115
  notSafeToKillReason?: string;
30116
+ /**
30117
+ * @description the organization of the user associated with the workspace
30118
+ * @example parallelworks
30119
+ */
30120
+ organization?: string;
29879
30121
  /**
29880
30122
  * @description the resolved version number of the image the workspace is actually running. Read from the image tag for pinned deployments, or resolved from the running image digest via the workspace's API for 'latest'-tag deployments.
29881
30123
  * @example v7.62.0
@@ -30008,7 +30250,7 @@ export interface components {
30008
30250
  * @example hardware
30009
30251
  * @enum {string}
30010
30252
  */
30011
- value: "hardware";
30253
+ value: "hardware" | "fips";
30012
30254
  };
30013
30255
  WebAuthnRegAuthenticatorSelection: {
30014
30256
  /** @description Required authenticator attachment */
@@ -31949,6 +32191,37 @@ export interface operations {
31949
32191
  };
31950
32192
  };
31951
32193
  };
32194
+ "list-ai-integration-catalog-models": {
32195
+ parameters: {
32196
+ query?: never;
32197
+ header?: never;
32198
+ path: {
32199
+ catalogEntryId: string;
32200
+ };
32201
+ cookie?: never;
32202
+ };
32203
+ requestBody?: never;
32204
+ responses: {
32205
+ /** @description OK */
32206
+ 200: {
32207
+ headers: {
32208
+ [name: string]: unknown;
32209
+ };
32210
+ content: {
32211
+ "application/json": components["schemas"]["CatalogModelsOutputBody"];
32212
+ };
32213
+ };
32214
+ /** @description Error */
32215
+ default: {
32216
+ headers: {
32217
+ [name: string]: unknown;
32218
+ };
32219
+ content: {
32220
+ "application/json": components["schemas"]["Error"];
32221
+ };
32222
+ };
32223
+ };
32224
+ };
31952
32225
  "delete-ai-connection": {
31953
32226
  parameters: {
31954
32227
  query?: never;
@@ -39947,7 +40220,7 @@ export interface operations {
39947
40220
  parameters: {
39948
40221
  query?: {
39949
40222
  /** @description The type of the bootstrap script. */
39950
- type?: string;
40223
+ type?: "cloudclusters" | "userworkspaces";
39951
40224
  };
39952
40225
  header?: never;
39953
40226
  path: {
@@ -41761,6 +42034,42 @@ export interface operations {
41761
42034
  };
41762
42035
  };
41763
42036
  };
42037
+ "discover-organization-gitlab-server-ca-cert": {
42038
+ parameters: {
42039
+ query?: never;
42040
+ header?: never;
42041
+ path: {
42042
+ /** @description The name of the organization. */
42043
+ organization: string;
42044
+ };
42045
+ cookie?: never;
42046
+ };
42047
+ requestBody: {
42048
+ content: {
42049
+ "application/json": components["schemas"]["DiscoverCACertInputBody1"];
42050
+ };
42051
+ };
42052
+ responses: {
42053
+ /** @description OK */
42054
+ 200: {
42055
+ headers: {
42056
+ [name: string]: unknown;
42057
+ };
42058
+ content: {
42059
+ "application/json": components["schemas"]["DiscoverCACertOutputBody1"];
42060
+ };
42061
+ };
42062
+ /** @description Error */
42063
+ default: {
42064
+ headers: {
42065
+ [name: string]: unknown;
42066
+ };
42067
+ content: {
42068
+ "application/json": components["schemas"]["Error"];
42069
+ };
42070
+ };
42071
+ };
42072
+ };
41764
42073
  "get-organization-gitlab-server": {
41765
42074
  parameters: {
41766
42075
  query?: never;
@@ -45510,6 +45819,44 @@ export interface operations {
45510
45819
  };
45511
45820
  };
45512
45821
  };
45822
+ "set-organization-disable-password-login-policy": {
45823
+ parameters: {
45824
+ query?: never;
45825
+ header?: never;
45826
+ path: {
45827
+ /** @description The name of the organization. */
45828
+ organization: string;
45829
+ };
45830
+ cookie?: never;
45831
+ };
45832
+ requestBody: {
45833
+ content: {
45834
+ "application/json": boolean;
45835
+ };
45836
+ };
45837
+ responses: {
45838
+ /** @description OK */
45839
+ 200: {
45840
+ headers: {
45841
+ [name: string]: unknown;
45842
+ };
45843
+ content: {
45844
+ "application/json": {
45845
+ [key: string]: components["schemas"]["BooleanPolicyOutput"];
45846
+ };
45847
+ };
45848
+ };
45849
+ /** @description Error */
45850
+ default: {
45851
+ headers: {
45852
+ [name: string]: unknown;
45853
+ };
45854
+ content: {
45855
+ "application/json": components["schemas"]["Error"];
45856
+ };
45857
+ };
45858
+ };
45859
+ };
45513
45860
  "set-organization-enforce-mfa-policy": {
45514
45861
  parameters: {
45515
45862
  query?: never;
@@ -45560,7 +45907,7 @@ export interface operations {
45560
45907
  };
45561
45908
  requestBody: {
45562
45909
  content: {
45563
- "application/json": "hardware";
45910
+ "application/json": "hardware" | "fips";
45564
45911
  };
45565
45912
  };
45566
45913
  responses: {
@@ -48830,6 +49177,8 @@ export interface operations {
48830
49177
  expiresIn?: number;
48831
49178
  /** @description The permissions for the pre-signed URL. Default is read (r). Combine: r,w,d,c. */
48832
49179
  permissions?: string;
49180
+ /** @description Content-Disposition the file is served with, so a browser download can be given a filename. Omit to serve the file as stored. */
49181
+ contentDisposition?: string;
48833
49182
  };
48834
49183
  header?: never;
48835
49184
  path: {
@@ -49019,6 +49368,8 @@ export interface operations {
49019
49368
  expiresIn?: number;
49020
49369
  /** @description The permissions for the pre-signed URL. Default is read (r). Other permissions include write (w), delete (d), list (l), add (a), create (c). Combine multiple permissions as needed. */
49021
49370
  permissions?: string;
49371
+ /** @description Content-Disposition the blob is served with, so a browser download can be given a filename. Omit to serve the blob as stored. */
49372
+ contentDisposition?: string;
49022
49373
  };
49023
49374
  header?: never;
49024
49375
  path: {
@@ -50630,7 +50981,11 @@ export interface operations {
50630
50981
  };
50631
50982
  cookie?: never;
50632
50983
  };
50633
- requestBody?: never;
50984
+ requestBody?: {
50985
+ content: {
50986
+ "application/json": components["schemas"]["StopClusterOptions"];
50987
+ };
50988
+ };
50634
50989
  responses: {
50635
50990
  /** @description No Content */
50636
50991
  204: {
@@ -51518,6 +51873,8 @@ export interface operations {
51518
51873
  objectName: string;
51519
51874
  /** @description The expiration time in seconds for the pre-signed URL. Default is 12 hours. */
51520
51875
  expiresIn?: number;
51876
+ /** @description Content-Disposition the object is served with, so a browser download can be given a filename. Omit to serve the object as stored. */
51877
+ contentDisposition?: string;
51521
51878
  };
51522
51879
  header?: never;
51523
51880
  path: {
@@ -53701,6 +54058,80 @@ export interface operations {
53701
54058
  };
53702
54059
  };
53703
54060
  };
54061
+ "get-storage-permissions": {
54062
+ parameters: {
54063
+ query?: never;
54064
+ header?: never;
54065
+ path: {
54066
+ /** @description The name of the organization. */
54067
+ organization: string;
54068
+ /** @description Username of the target user. */
54069
+ user: string;
54070
+ /** @description Platform name of the storage. */
54071
+ name: string;
54072
+ };
54073
+ cookie?: never;
54074
+ };
54075
+ requestBody?: never;
54076
+ responses: {
54077
+ /** @description OK */
54078
+ 200: {
54079
+ headers: {
54080
+ [name: string]: unknown;
54081
+ };
54082
+ content: {
54083
+ "application/json": components["schemas"]["SubjectPermissions"];
54084
+ };
54085
+ };
54086
+ /** @description Error */
54087
+ default: {
54088
+ headers: {
54089
+ [name: string]: unknown;
54090
+ };
54091
+ content: {
54092
+ "application/json": components["schemas"]["Error"];
54093
+ };
54094
+ };
54095
+ };
54096
+ };
54097
+ "update-storage-permissions": {
54098
+ parameters: {
54099
+ query?: never;
54100
+ header?: never;
54101
+ path: {
54102
+ /** @description The name of the organization. */
54103
+ organization: string;
54104
+ /** @description Username of the target user. */
54105
+ user: string;
54106
+ /** @description Platform name of the storage. */
54107
+ name: string;
54108
+ };
54109
+ cookie?: never;
54110
+ };
54111
+ requestBody: {
54112
+ content: {
54113
+ "application/json": components["schemas"]["SubjectPermissions"];
54114
+ };
54115
+ };
54116
+ responses: {
54117
+ /** @description No Content */
54118
+ 204: {
54119
+ headers: {
54120
+ [name: string]: unknown;
54121
+ };
54122
+ content?: never;
54123
+ };
54124
+ /** @description Error */
54125
+ default: {
54126
+ headers: {
54127
+ [name: string]: unknown;
54128
+ };
54129
+ content: {
54130
+ "application/json": components["schemas"]["Error"];
54131
+ };
54132
+ };
54133
+ };
54134
+ };
53704
54135
  "get-user-workspace": {
53705
54136
  parameters: {
53706
54137
  query?: never;
@@ -55605,6 +56036,41 @@ export interface operations {
55605
56036
  };
55606
56037
  };
55607
56038
  };
56039
+ "set-platform-disable-password-login-policy": {
56040
+ parameters: {
56041
+ query?: never;
56042
+ header?: never;
56043
+ path?: never;
56044
+ cookie?: never;
56045
+ };
56046
+ requestBody: {
56047
+ content: {
56048
+ "application/json": boolean;
56049
+ };
56050
+ };
56051
+ responses: {
56052
+ /** @description OK */
56053
+ 200: {
56054
+ headers: {
56055
+ [name: string]: unknown;
56056
+ };
56057
+ content: {
56058
+ "application/json": {
56059
+ [key: string]: components["schemas"]["BooleanPolicyOutput"];
56060
+ };
56061
+ };
56062
+ };
56063
+ /** @description Error */
56064
+ default: {
56065
+ headers: {
56066
+ [name: string]: unknown;
56067
+ };
56068
+ content: {
56069
+ "application/json": components["schemas"]["Error"];
56070
+ };
56071
+ };
56072
+ };
56073
+ };
55608
56074
  "set-platform-enforce-webauthn-mfa-policy": {
55609
56075
  parameters: {
55610
56076
  query?: never;
@@ -55614,7 +56080,7 @@ export interface operations {
55614
56080
  };
55615
56081
  requestBody: {
55616
56082
  content: {
55617
- "application/json": "hardware";
56083
+ "application/json": "hardware" | "fips";
55618
56084
  };
55619
56085
  };
55620
56086
  responses: {
@@ -57753,6 +58219,35 @@ export interface operations {
57753
58219
  };
57754
58220
  };
57755
58221
  };
58222
+ "get-user-workspace-bootstrap-script": {
58223
+ parameters: {
58224
+ query?: never;
58225
+ header?: never;
58226
+ path?: never;
58227
+ cookie?: never;
58228
+ };
58229
+ requestBody?: never;
58230
+ responses: {
58231
+ /** @description OK */
58232
+ 200: {
58233
+ headers: {
58234
+ [name: string]: unknown;
58235
+ };
58236
+ content: {
58237
+ "application/json": components["schemas"]["GetUserWorkspaceBootstrapScriptOutputBody"];
58238
+ };
58239
+ };
58240
+ /** @description Error */
58241
+ default: {
58242
+ headers: {
58243
+ [name: string]: unknown;
58244
+ };
58245
+ content: {
58246
+ "application/json": components["schemas"]["Error"];
58247
+ };
58248
+ };
58249
+ };
58250
+ };
57756
58251
  "get-user-workspace-status": {
57757
58252
  parameters: {
57758
58253
  query?: never;
@@ -58987,42 +59482,6 @@ export interface operations {
58987
59482
  };
58988
59483
  };
58989
59484
  };
58990
- "duplicate-workflow": {
58991
- parameters: {
58992
- query?: never;
58993
- header?: never;
58994
- path: {
58995
- /** @description Name of the workflow to duplicate. */
58996
- workflow: string;
58997
- };
58998
- cookie?: never;
58999
- };
59000
- requestBody: {
59001
- content: {
59002
- "application/json": components["schemas"]["DuplicateWorkflowBody"];
59003
- };
59004
- };
59005
- responses: {
59006
- /** @description OK */
59007
- 200: {
59008
- headers: {
59009
- [name: string]: unknown;
59010
- };
59011
- content: {
59012
- "application/json": components["schemas"]["WorkflowItem"];
59013
- };
59014
- };
59015
- /** @description Error */
59016
- default: {
59017
- headers: {
59018
- [name: string]: unknown;
59019
- };
59020
- content: {
59021
- "application/json": components["schemas"]["Error"];
59022
- };
59023
- };
59024
- };
59025
- };
59026
59485
  "fork-workflow": {
59027
59486
  parameters: {
59028
59487
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parallelworks/client",
3
- "version": "7.93.0",
3
+ "version": "7.95.0",
4
4
  "description": "Official TypeScript client for Parallel Works ACTIVATE API",
5
5
  "type": "module",
6
6
  "exports": {