@parallelworks/client 7.96.0 → 7.97.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/types/api.d.ts +75 -0
- package/package.json +1 -1
package/dist/types/api.d.ts
CHANGED
|
@@ -9848,6 +9848,28 @@ export interface paths {
|
|
|
9848
9848
|
patch?: never;
|
|
9849
9849
|
trace?: never;
|
|
9850
9850
|
};
|
|
9851
|
+
"/api/organizations/{organization}/users/{user}/clusters/{clusterName}/attachable-storages": {
|
|
9852
|
+
parameters: {
|
|
9853
|
+
query?: never;
|
|
9854
|
+
header?: never;
|
|
9855
|
+
path?: never;
|
|
9856
|
+
cookie?: never;
|
|
9857
|
+
};
|
|
9858
|
+
/**
|
|
9859
|
+
* Get Cluster Attachable Storages
|
|
9860
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
9861
|
+
*
|
|
9862
|
+
* Returns the filesystems that can be attached to a cluster, each bucket flagged with whether its mount is forced read-only. Existing clusters have none.
|
|
9863
|
+
*/
|
|
9864
|
+
get: operations["get-cluster-attachable-storages"];
|
|
9865
|
+
put?: never;
|
|
9866
|
+
post?: never;
|
|
9867
|
+
delete?: never;
|
|
9868
|
+
options?: never;
|
|
9869
|
+
head?: never;
|
|
9870
|
+
patch?: never;
|
|
9871
|
+
trace?: never;
|
|
9872
|
+
};
|
|
9851
9873
|
"/api/organizations/{organization}/users/{user}/clusters/{clusterName}/attached-storages": {
|
|
9852
9874
|
parameters: {
|
|
9853
9875
|
query?: never;
|
|
@@ -15962,6 +15984,15 @@ export interface components {
|
|
|
15962
15984
|
*/
|
|
15963
15985
|
storageId: string;
|
|
15964
15986
|
};
|
|
15987
|
+
AttachableStorage: {
|
|
15988
|
+
/**
|
|
15989
|
+
* @description The id of the storage resource.
|
|
15990
|
+
* @example 66f1a2b3c4d5e6f7a8b9c0d1
|
|
15991
|
+
*/
|
|
15992
|
+
id: string;
|
|
15993
|
+
/** @description Whether a bucket mount is forced read-only because the caller's or the cluster owner's access to the bucket is read-only. */
|
|
15994
|
+
readOnly: boolean;
|
|
15995
|
+
};
|
|
15965
15996
|
AttachmentResponse: {
|
|
15966
15997
|
/** @description MIME type */
|
|
15967
15998
|
contentType: string;
|
|
@@ -23939,6 +23970,8 @@ export interface components {
|
|
|
23939
23970
|
mounted: boolean;
|
|
23940
23971
|
/** @description Name of the cluster or instance the mount points to. */
|
|
23941
23972
|
name: string;
|
|
23973
|
+
/** @description Why the mount is still pending, such as the cluster not being connected. Empty while mounted or failed. */
|
|
23974
|
+
reason: string;
|
|
23942
23975
|
/** @description ID of the cluster or instance the mount points to. */
|
|
23943
23976
|
resourceId: string;
|
|
23944
23977
|
resourcePath: string;
|
|
@@ -26192,6 +26225,8 @@ export interface components {
|
|
|
26192
26225
|
useTLS?: boolean;
|
|
26193
26226
|
/** @description Target a specific compute worker by ID (Mode B). */
|
|
26194
26227
|
workerId?: string;
|
|
26228
|
+
/** @description For endpoint sessions, the slug of the workflow run launching the session (PW_RUN_SLUG inside a run). The session inherits that run's icon when the run belongs to the caller and the request is not already authenticated with the run's own token; otherwise it is ignored. */
|
|
26229
|
+
workflowRun?: string;
|
|
26195
26230
|
};
|
|
26196
26231
|
PostSkuBody: {
|
|
26197
26232
|
/** @description SKU code (e.g., SLURM_NODE_HOUR) */
|
|
@@ -27514,6 +27549,8 @@ export interface components {
|
|
|
27514
27549
|
* @enum {string}
|
|
27515
27550
|
*/
|
|
27516
27551
|
type: "endpoint";
|
|
27552
|
+
/** @description Slug of the workflow run launching the endpoint (PW_RUN_SLUG inside a run). The endpoint inherits that run's icon when the run belongs to the caller and the request is not already authenticated with the run's own token; otherwise it is ignored. */
|
|
27553
|
+
workflowRun?: string;
|
|
27517
27554
|
};
|
|
27518
27555
|
PutSlackConfigInputBody: {
|
|
27519
27556
|
/** @description Slack incoming webhook URL. Stored as a credential and never returned. */
|
|
@@ -30960,6 +30997,8 @@ export interface components {
|
|
|
30960
30997
|
WorkspaceMountStatus: {
|
|
30961
30998
|
error: string;
|
|
30962
30999
|
mounted: boolean;
|
|
31000
|
+
/** @description Why the mount is still pending, if it is neither mounted nor failed. */
|
|
31001
|
+
reason?: string;
|
|
30963
31002
|
workspacePath: string;
|
|
30964
31003
|
};
|
|
30965
31004
|
WorkspaceSettings: {
|
|
@@ -50487,6 +50526,42 @@ export interface operations {
|
|
|
50487
50526
|
};
|
|
50488
50527
|
};
|
|
50489
50528
|
};
|
|
50529
|
+
"get-cluster-attachable-storages": {
|
|
50530
|
+
parameters: {
|
|
50531
|
+
query?: never;
|
|
50532
|
+
header?: never;
|
|
50533
|
+
path: {
|
|
50534
|
+
/** @description The name of the organization. */
|
|
50535
|
+
organization: string;
|
|
50536
|
+
/** @description The username of the user that owns the cluster */
|
|
50537
|
+
user: string;
|
|
50538
|
+
/** @description The cluster name */
|
|
50539
|
+
clusterName: string;
|
|
50540
|
+
};
|
|
50541
|
+
cookie?: never;
|
|
50542
|
+
};
|
|
50543
|
+
requestBody?: never;
|
|
50544
|
+
responses: {
|
|
50545
|
+
/** @description OK */
|
|
50546
|
+
200: {
|
|
50547
|
+
headers: {
|
|
50548
|
+
[name: string]: unknown;
|
|
50549
|
+
};
|
|
50550
|
+
content: {
|
|
50551
|
+
"application/json": components["schemas"]["AttachableStorage"][] | null;
|
|
50552
|
+
};
|
|
50553
|
+
};
|
|
50554
|
+
/** @description Error */
|
|
50555
|
+
default: {
|
|
50556
|
+
headers: {
|
|
50557
|
+
[name: string]: unknown;
|
|
50558
|
+
};
|
|
50559
|
+
content: {
|
|
50560
|
+
"application/json": components["schemas"]["Error"];
|
|
50561
|
+
};
|
|
50562
|
+
};
|
|
50563
|
+
};
|
|
50564
|
+
};
|
|
50490
50565
|
"get-cluster-attached-storages": {
|
|
50491
50566
|
parameters: {
|
|
50492
50567
|
query?: never;
|