@parallelworks/client 7.114.0 → 7.116.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 +97 -0
- package/package.json +1 -1
package/dist/types/api.d.ts
CHANGED
|
@@ -11804,6 +11804,28 @@ export interface paths {
|
|
|
11804
11804
|
patch?: never;
|
|
11805
11805
|
trace?: never;
|
|
11806
11806
|
};
|
|
11807
|
+
"/api/organizations/{organization}/users/{user}/compute/{targetId}/files": {
|
|
11808
|
+
parameters: {
|
|
11809
|
+
query?: never;
|
|
11810
|
+
header?: never;
|
|
11811
|
+
path?: never;
|
|
11812
|
+
cookie?: never;
|
|
11813
|
+
};
|
|
11814
|
+
/**
|
|
11815
|
+
* List files on a cluster or instance
|
|
11816
|
+
* @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
|
|
11817
|
+
*
|
|
11818
|
+
* Lists a folder on a connected cluster or instance as the caller's Linux account, one page at a time.
|
|
11819
|
+
*/
|
|
11820
|
+
get: operations["list-compute-files"];
|
|
11821
|
+
put?: never;
|
|
11822
|
+
post?: never;
|
|
11823
|
+
delete?: never;
|
|
11824
|
+
options?: never;
|
|
11825
|
+
head?: never;
|
|
11826
|
+
patch?: never;
|
|
11827
|
+
trace?: never;
|
|
11828
|
+
};
|
|
11807
11829
|
"/api/organizations/{organization}/users/{user}/disks/{diskName}/snapshot": {
|
|
11808
11830
|
parameters: {
|
|
11809
11831
|
query?: never;
|
|
@@ -23499,6 +23521,28 @@ export interface components {
|
|
|
23499
23521
|
*/
|
|
23500
23522
|
type: string;
|
|
23501
23523
|
};
|
|
23524
|
+
FileEntry: {
|
|
23525
|
+
mode: string;
|
|
23526
|
+
/** Format: date-time */
|
|
23527
|
+
modified: string;
|
|
23528
|
+
name: string;
|
|
23529
|
+
/** Format: int64 */
|
|
23530
|
+
size: number;
|
|
23531
|
+
symlink?: boolean;
|
|
23532
|
+
/** @enum {string} */
|
|
23533
|
+
type: "file" | "directory" | "other";
|
|
23534
|
+
};
|
|
23535
|
+
FileListing: {
|
|
23536
|
+
entries: components["schemas"]["FileEntry"][] | null;
|
|
23537
|
+
/** @description Pass as cursor to read the next page; absent on the last page. */
|
|
23538
|
+
nextCursor?: string;
|
|
23539
|
+
/** @description Absolute path of the listed directory on the target. */
|
|
23540
|
+
path: string;
|
|
23541
|
+
/** @description The root the path is relative to, as configured (for example ~). */
|
|
23542
|
+
root: string;
|
|
23543
|
+
/** @description The directory holds more entries than a listing reads. */
|
|
23544
|
+
truncated?: boolean;
|
|
23545
|
+
};
|
|
23502
23546
|
FileOutputBody: {
|
|
23503
23547
|
content: string;
|
|
23504
23548
|
};
|
|
@@ -23706,6 +23750,8 @@ export interface components {
|
|
|
23706
23750
|
allocationThreshold?: components["schemas"]["CrossedThreshold"];
|
|
23707
23751
|
/** @description Whether the requesting user may change this cluster's configuration. */
|
|
23708
23752
|
canEdit?: boolean;
|
|
23753
|
+
/** @description Features the cluster's connected agent supports, such as files. Absent when no agent is connected. */
|
|
23754
|
+
capabilities?: "files"[] | null;
|
|
23709
23755
|
/**
|
|
23710
23756
|
* @description The SSH connection string for the resource.
|
|
23711
23757
|
* @example user@192.168.1.1
|
|
@@ -25089,6 +25135,8 @@ export interface components {
|
|
|
25089
25135
|
* @example x86_64
|
|
25090
25136
|
*/
|
|
25091
25137
|
architecture?: string;
|
|
25138
|
+
/** @description Features the instance's connected agent supports, such as files. Absent when no agent is connected. */
|
|
25139
|
+
readonly capabilities?: "files"[] | null;
|
|
25092
25140
|
/**
|
|
25093
25141
|
* @description The cloud service provider for the Instance.
|
|
25094
25142
|
* @example aws
|
|
@@ -31740,6 +31788,8 @@ export interface components {
|
|
|
31740
31788
|
* @description When the resource was first detected as orphaned.
|
|
31741
31789
|
*/
|
|
31742
31790
|
orphanedAt?: string;
|
|
31791
|
+
/** @description Whether a platform install created the resource (deployment, network, or another install's tags); false for resources created outside the platform. */
|
|
31792
|
+
platformManaged: boolean;
|
|
31743
31793
|
/** @description Private IP address. */
|
|
31744
31794
|
privateIp?: string;
|
|
31745
31795
|
/** @description Public IP address. */
|
|
@@ -34761,6 +34811,8 @@ export interface components {
|
|
|
34761
34811
|
* @description Port of the worker's SSH server on the compute node. Present when the worker accepts SSH sessions through its own tunnel.
|
|
34762
34812
|
*/
|
|
34763
34813
|
readonly sshServerPort?: number;
|
|
34814
|
+
/** @description Named pw ssh target (pw://username/cluster/worker) for reaching the worker's compute node. */
|
|
34815
|
+
readonly sshTarget?: string;
|
|
34764
34816
|
/**
|
|
34765
34817
|
* @description Worker status.
|
|
34766
34818
|
* @enum {string}
|
|
@@ -37541,6 +37593,8 @@ export interface operations {
|
|
|
37541
37593
|
organization?: string;
|
|
37542
37594
|
/** @description Only resources flagged as orphaned. */
|
|
37543
37595
|
orphan?: boolean;
|
|
37596
|
+
/** @description Only resources created by the platform (platform) or outside it (external). */
|
|
37597
|
+
managed?: "platform" | "external";
|
|
37544
37598
|
/** @description Only resources that still exist in the cloud (hides terminated/deleted). */
|
|
37545
37599
|
live?: boolean;
|
|
37546
37600
|
/** @description Only resources last seen within this preset window. */
|
|
@@ -58189,6 +58243,49 @@ export interface operations {
|
|
|
58189
58243
|
};
|
|
58190
58244
|
};
|
|
58191
58245
|
};
|
|
58246
|
+
"list-compute-files": {
|
|
58247
|
+
parameters: {
|
|
58248
|
+
query?: {
|
|
58249
|
+
/** @description Folder to list, relative to the root. Empty lists the root. */
|
|
58250
|
+
path?: string;
|
|
58251
|
+
/** @description The nextCursor of the previous page. */
|
|
58252
|
+
cursor?: string;
|
|
58253
|
+
/** @description Entries per page. Defaults to 1000. */
|
|
58254
|
+
limit?: number;
|
|
58255
|
+
};
|
|
58256
|
+
header?: never;
|
|
58257
|
+
path: {
|
|
58258
|
+
/** @description The name of the organization. */
|
|
58259
|
+
organization: string;
|
|
58260
|
+
/** @description Username of the target user. */
|
|
58261
|
+
user: string;
|
|
58262
|
+
/** @description ID of the cluster or instance. */
|
|
58263
|
+
targetId: string;
|
|
58264
|
+
};
|
|
58265
|
+
cookie?: never;
|
|
58266
|
+
};
|
|
58267
|
+
requestBody?: never;
|
|
58268
|
+
responses: {
|
|
58269
|
+
/** @description OK */
|
|
58270
|
+
200: {
|
|
58271
|
+
headers: {
|
|
58272
|
+
[name: string]: unknown;
|
|
58273
|
+
};
|
|
58274
|
+
content: {
|
|
58275
|
+
"application/json": components["schemas"]["FileListing"];
|
|
58276
|
+
};
|
|
58277
|
+
};
|
|
58278
|
+
/** @description Error */
|
|
58279
|
+
default: {
|
|
58280
|
+
headers: {
|
|
58281
|
+
[name: string]: unknown;
|
|
58282
|
+
};
|
|
58283
|
+
content: {
|
|
58284
|
+
"application/json": components["schemas"]["Error"];
|
|
58285
|
+
};
|
|
58286
|
+
};
|
|
58287
|
+
};
|
|
58288
|
+
};
|
|
58192
58289
|
"create-disk-snapshot": {
|
|
58193
58290
|
parameters: {
|
|
58194
58291
|
query?: never;
|