@parallelworks/client 7.110.0 → 7.111.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/README.md CHANGED
@@ -112,4 +112,4 @@ For full API documentation, visit [https://parallelworks.com/docs](https://paral
112
112
 
113
113
  ## License
114
114
 
115
- MIT
115
+ Apache-2.0
@@ -12036,6 +12036,28 @@ export interface paths {
12036
12036
  patch?: never;
12037
12037
  trace?: never;
12038
12038
  };
12039
+ "/api/organizations/{organization}/users/{user}/kernel-hosts": {
12040
+ parameters: {
12041
+ query?: never;
12042
+ header?: never;
12043
+ path?: never;
12044
+ cookie?: never;
12045
+ };
12046
+ /**
12047
+ * List compute that can host a kernel
12048
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
12049
+ *
12050
+ * Returns which of the given clusters and instances can host a notebook kernel right now.
12051
+ */
12052
+ get: operations["list-kernel-hosts"];
12053
+ put?: never;
12054
+ post?: never;
12055
+ delete?: never;
12056
+ options?: never;
12057
+ head?: never;
12058
+ patch?: never;
12059
+ trace?: never;
12060
+ };
12039
12061
  "/api/organizations/{organization}/users/{user}/kernels": {
12040
12062
  parameters: {
12041
12063
  query?: never;
@@ -24190,6 +24212,14 @@ export interface components {
24190
24212
  toolArgs?: string;
24191
24213
  toolName?: string;
24192
24214
  };
24215
+ HostForwardSetting: {
24216
+ /** @description Exact hostname to match against the TLS SNI. No wildcards or ports. */
24217
+ host: string;
24218
+ /** @description Send a PROXY protocol v2 header before the TLS bytes so the backend sees the real client IP. The backend must accept PROXY protocol or every connection fails. */
24219
+ proxyProtocol?: boolean;
24220
+ /** @description Backend to pipe matching connections to: a DNS name or IP with an optional port (default 443). The backend terminates TLS with its own certificate. */
24221
+ target: string;
24222
+ };
24193
24223
  IconRef: {
24194
24224
  /** @description SHA256 hex of a blob already in the caller's thumbnail library. Mutually exclusive with presetUrl. */
24195
24225
  etag?: string;
@@ -24691,7 +24721,24 @@ export interface components {
24691
24721
  /** @description List of keys used for JWT verification */
24692
24722
  keys: components["schemas"]["JWK"][] | null;
24693
24723
  };
24724
+ KernelEvent: {
24725
+ /**
24726
+ * Format: date-time
24727
+ * @description When the step was recorded.
24728
+ */
24729
+ readonly at: string;
24730
+ /** @description What happened. */
24731
+ readonly message: string;
24732
+ /** @description Kernel status at this step. */
24733
+ readonly status: string;
24734
+ };
24735
+ KernelHostsOutputBody: {
24736
+ /** @description The subset of the given targets whose agent holds a tunnel on an ingress pod right now. */
24737
+ connected: string[] | null;
24738
+ };
24694
24739
  KernelResponse: {
24740
+ /** @description Whether the compute hosting the kernel holds a tunnel on an ingress pod. False means nothing can reach the kernel whatever its status says. */
24741
+ readonly agentConnected?: boolean;
24695
24742
  /** @description IDs of buckets whose credentials are injected into the kernel. */
24696
24743
  buckets?: string[] | null;
24697
24744
  /**
@@ -24703,6 +24750,8 @@ export interface components {
24703
24750
  environmentId?: string;
24704
24751
  /** @description Why the kernel failed to start. */
24705
24752
  readonly errorMessage?: string;
24753
+ /** @description What the kernel did while starting, oldest first. */
24754
+ readonly events?: components["schemas"]["KernelEvent"][] | null;
24706
24755
  /** @description Kernel ID. */
24707
24756
  readonly id: string;
24708
24757
  /**
@@ -28454,6 +28503,8 @@ export interface components {
28454
28503
  * @description Minutes between GCS HMAC rotation sweeps. Default 60.
28455
28504
  */
28456
28505
  gcsHmacRotationSweepMinutes: number;
28506
+ /** @description TLS passthrough rules: connections whose SNI exactly matches a rule's host are piped, still encrypted, to its target. */
28507
+ hostForwards: components["schemas"]["HostForwardSetting"][] | null;
28457
28508
  /**
28458
28509
  * Format: date-time
28459
28510
  * @description The expiration date of the platform license, if valid.
@@ -28980,6 +29031,19 @@ export interface components {
28980
29031
  /** Format: date-time */
28981
29032
  updatedAt: string;
28982
29033
  };
29034
+ ProvisionStatusChildInput: {
29035
+ /** @description Base64 encoded error message */
29036
+ errorMessage?: string;
29037
+ /** @description The child provision status ID */
29038
+ id: string;
29039
+ /** @description The child provision status label, used only when the child is first recorded */
29040
+ label?: string;
29041
+ /**
29042
+ * @description The child provision status
29043
+ * @enum {string}
29044
+ */
29045
+ status: "pending" | "provisioning" | "provisioned" | "failed" | "skipped" | "deleting" | "deleted" | "warning";
29046
+ };
28983
29047
  ProvisionStatusChildResponse: {
28984
29048
  /** @description Nested child records grouped by role. */
28985
29049
  children?: components["schemas"]["ProvisionStatusChildResponse"][] | null;
@@ -29071,6 +29135,8 @@ export interface components {
29071
29135
  childId?: string;
29072
29136
  /** @description The child provision status label */
29073
29137
  childLabel?: string;
29138
+ /** @description Child records to create or update in one call, as an alternative to childAction/childId */
29139
+ children?: components["schemas"]["ProvisionStatusChildInput"][] | null;
29074
29140
  /** @description Base64 encoded error message */
29075
29141
  errorMessage: string;
29076
29142
  /** @description The provision status ID */
@@ -32703,6 +32769,8 @@ export interface components {
32703
32769
  * @description Minutes between GCS HMAC rotation sweeps.
32704
32770
  */
32705
32771
  gcsHmacRotationSweepMinutes?: number;
32772
+ /** @description TLS passthrough rules, replacing the current list. Empty list removes all rules. */
32773
+ hostForwards?: components["schemas"]["HostForwardSetting"][];
32706
32774
  /** @description The maintenance message to show. */
32707
32775
  maintenanceMessage?: string;
32708
32776
  /** @description Whether to enable maintenance mode. */
@@ -36747,6 +36815,7 @@ export interface operations {
36747
36815
  /** @description OK */
36748
36816
  200: {
36749
36817
  headers: {
36818
+ "Cache-Control"?: string;
36750
36819
  [name: string]: unknown;
36751
36820
  };
36752
36821
  content: {
@@ -38220,6 +38289,7 @@ export interface operations {
38220
38289
  /** @description OK */
38221
38290
  200: {
38222
38291
  headers: {
38292
+ "Cache-Control"?: string;
38223
38293
  [name: string]: unknown;
38224
38294
  };
38225
38295
  content: {
@@ -38377,6 +38447,7 @@ export interface operations {
38377
38447
  /** @description OK */
38378
38448
  200: {
38379
38449
  headers: {
38450
+ "Cache-Control"?: string;
38380
38451
  [name: string]: unknown;
38381
38452
  };
38382
38453
  content: {
@@ -38409,6 +38480,7 @@ export interface operations {
38409
38480
  /** @description OK */
38410
38481
  200: {
38411
38482
  headers: {
38483
+ "Cache-Control"?: string;
38412
38484
  [name: string]: unknown;
38413
38485
  };
38414
38486
  content: {
@@ -42690,6 +42762,7 @@ export interface operations {
42690
42762
  /** @description OK */
42691
42763
  200: {
42692
42764
  headers: {
42765
+ "Cache-Control"?: string;
42693
42766
  [name: string]: unknown;
42694
42767
  };
42695
42768
  content: {
@@ -50013,6 +50086,7 @@ export interface operations {
50013
50086
  /** @description OK */
50014
50087
  200: {
50015
50088
  headers: {
50089
+ "Cache-Control"?: string;
50016
50090
  [name: string]: unknown;
50017
50091
  };
50018
50092
  content: {
@@ -50693,6 +50767,7 @@ export interface operations {
50693
50767
  /** @description Created */
50694
50768
  201: {
50695
50769
  headers: {
50770
+ "Cache-Control"?: string;
50696
50771
  [name: string]: unknown;
50697
50772
  };
50698
50773
  content: {
@@ -50731,6 +50806,7 @@ export interface operations {
50731
50806
  /** @description OK */
50732
50807
  200: {
50733
50808
  headers: {
50809
+ "Cache-Control"?: string;
50734
50810
  [name: string]: unknown;
50735
50811
  };
50736
50812
  content: {
@@ -50801,6 +50877,7 @@ export interface operations {
50801
50877
  /** @description OK */
50802
50878
  200: {
50803
50879
  headers: {
50880
+ "Cache-Control"?: string;
50804
50881
  [name: string]: unknown;
50805
50882
  };
50806
50883
  content: {
@@ -51976,6 +52053,7 @@ export interface operations {
51976
52053
  /** @description OK */
51977
52054
  200: {
51978
52055
  headers: {
52056
+ "Cache-Control"?: string;
51979
52057
  [name: string]: unknown;
51980
52058
  };
51981
52059
  content: {
@@ -57747,6 +57825,43 @@ export interface operations {
57747
57825
  };
57748
57826
  };
57749
57827
  };
57828
+ "list-kernel-hosts": {
57829
+ parameters: {
57830
+ query?: {
57831
+ /** @description IDs of the clusters and instances to ask about. */
57832
+ targets?: string[] | null;
57833
+ };
57834
+ header?: never;
57835
+ path: {
57836
+ /** @description The name of the organization. */
57837
+ organization: string;
57838
+ /** @description Username of the target user. */
57839
+ user: string;
57840
+ };
57841
+ cookie?: never;
57842
+ };
57843
+ requestBody?: never;
57844
+ responses: {
57845
+ /** @description OK */
57846
+ 200: {
57847
+ headers: {
57848
+ [name: string]: unknown;
57849
+ };
57850
+ content: {
57851
+ "application/json": components["schemas"]["KernelHostsOutputBody"];
57852
+ };
57853
+ };
57854
+ /** @description Error */
57855
+ default: {
57856
+ headers: {
57857
+ [name: string]: unknown;
57858
+ };
57859
+ content: {
57860
+ "application/json": components["schemas"]["Error"];
57861
+ };
57862
+ };
57863
+ };
57864
+ };
57750
57865
  "list-kernels": {
57751
57866
  parameters: {
57752
57867
  query?: never;
@@ -58194,6 +58309,7 @@ export interface operations {
58194
58309
  /** @description OK */
58195
58310
  200: {
58196
58311
  headers: {
58312
+ "Cache-Control"?: string;
58197
58313
  [name: string]: unknown;
58198
58314
  };
58199
58315
  content: {
@@ -58264,6 +58380,7 @@ export interface operations {
58264
58380
  /** @description OK */
58265
58381
  200: {
58266
58382
  headers: {
58383
+ "Cache-Control"?: string;
58267
58384
  [name: string]: unknown;
58268
58385
  };
58269
58386
  content: {
@@ -60183,6 +60300,7 @@ export interface operations {
60183
60300
  /** @description OK */
60184
60301
  200: {
60185
60302
  headers: {
60303
+ "Cache-Control"?: string;
60186
60304
  [name: string]: unknown;
60187
60305
  };
60188
60306
  content: {
@@ -64121,6 +64239,7 @@ export interface operations {
64121
64239
  /** @description OK */
64122
64240
  200: {
64123
64241
  headers: {
64242
+ "Cache-Control"?: string;
64124
64243
  [name: string]: unknown;
64125
64244
  };
64126
64245
  content: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parallelworks/client",
3
- "version": "7.110.0",
3
+ "version": "7.111.0",
4
4
  "description": "Official TypeScript client for Parallel Works ACTIVATE API",
5
5
  "type": "module",
6
6
  "exports": {
@@ -62,7 +62,7 @@
62
62
  "directory": "typescript"
63
63
  },
64
64
  "author": "Parallel Works <support@parallelworks.com>",
65
- "license": "MIT",
65
+ "license": "Apache-2.0",
66
66
  "scripts": {
67
67
  "build": "tsc",
68
68
  "generate": "openapi-typescript ../openapi.json -o ./src/types/api.d.ts",