@parallelworks/client 7.96.1 → 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.
@@ -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;
@@ -30964,6 +30997,8 @@ export interface components {
30964
30997
  WorkspaceMountStatus: {
30965
30998
  error: string;
30966
30999
  mounted: boolean;
31000
+ /** @description Why the mount is still pending, if it is neither mounted nor failed. */
31001
+ reason?: string;
30967
31002
  workspacePath: string;
30968
31003
  };
30969
31004
  WorkspaceSettings: {
@@ -50491,6 +50526,42 @@ export interface operations {
50491
50526
  };
50492
50527
  };
50493
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
+ };
50494
50565
  "get-cluster-attached-storages": {
50495
50566
  parameters: {
50496
50567
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parallelworks/client",
3
- "version": "7.96.1",
3
+ "version": "7.97.0",
4
4
  "description": "Official TypeScript client for Parallel Works ACTIVATE API",
5
5
  "type": "module",
6
6
  "exports": {