@parallelworks/client 7.103.0 → 7.104.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.
Files changed (2) hide show
  1. package/dist/types/api.d.ts +356 -3
  2. package/package.json +1 -1
@@ -48,6 +48,30 @@ export interface paths {
48
48
  patch?: never;
49
49
  trace?: never;
50
50
  };
51
+ "/api/admin/agents": {
52
+ parameters: {
53
+ query?: never;
54
+ header?: never;
55
+ path?: never;
56
+ cookie?: never;
57
+ };
58
+ /**
59
+ * List agents
60
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
61
+ *
62
+ * > This is a platform-admin only route.
63
+ *
64
+ * Returns every agent the platform knows about with the version it reports, plus the fleet-wide version distribution
65
+ */
66
+ get: operations["list-fleet-agents"];
67
+ put?: never;
68
+ post?: never;
69
+ delete?: never;
70
+ options?: never;
71
+ head?: never;
72
+ patch?: never;
73
+ trace?: never;
74
+ };
51
75
  "/api/admin/alerts": {
52
76
  parameters: {
53
77
  query?: never;
@@ -14389,7 +14413,7 @@ export interface paths {
14389
14413
  patch?: never;
14390
14414
  trace?: never;
14391
14415
  };
14392
- "/api/sso/cac/redirect": {
14416
+ "/api/sso/cac/redirect/{authID}": {
14393
14417
  parameters: {
14394
14418
  query?: never;
14395
14419
  header?: never;
@@ -14963,6 +14987,34 @@ export interface paths {
14963
14987
  patch?: never;
14964
14988
  trace?: never;
14965
14989
  };
14990
+ "/api/user/preferences": {
14991
+ parameters: {
14992
+ query?: never;
14993
+ header?: never;
14994
+ path?: never;
14995
+ cookie?: never;
14996
+ };
14997
+ /**
14998
+ * Get user preferences
14999
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
15000
+ *
15001
+ * Returns the current user's saved UI preferences, such as list page display options and filters, keyed by view id.
15002
+ */
15003
+ get: operations["get-user-preferences"];
15004
+ put?: never;
15005
+ post?: never;
15006
+ delete?: never;
15007
+ options?: never;
15008
+ head?: never;
15009
+ /**
15010
+ * Update user preferences
15011
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
15012
+ *
15013
+ * Writes the given preference keys for the current user. A null value removes a key; keys not in the request are left unchanged.
15014
+ */
15015
+ patch: operations["update-user-preferences"];
15016
+ trace?: never;
15017
+ };
14966
15018
  "/api/user/profile": {
14967
15019
  parameters: {
14968
15020
  query?: never;
@@ -17041,6 +17093,21 @@ export interface components {
17041
17093
  /** @description User associated with the storage. */
17042
17094
  user: string;
17043
17095
  };
17096
+ AwsEfsDefinition: {
17097
+ /** @description EFS filesystem id at AWS. */
17098
+ fileSystemId?: string;
17099
+ /** @description Mount targets by subnet. */
17100
+ mountTargets?: {
17101
+ [key: string]: string;
17102
+ };
17103
+ /** @description Throughput mode of the filesystem. */
17104
+ throughputMode?: string;
17105
+ /**
17106
+ * @description Type discriminator. (enum property replaced by openapi-typescript)
17107
+ * @enum {string}
17108
+ */
17109
+ type: "aws-efs";
17110
+ };
17044
17111
  AwsEfsVersionSettings: {
17045
17112
  efs_encrypted?: boolean;
17046
17113
  efs_performance_mode?: string;
@@ -17346,6 +17413,19 @@ export interface components {
17346
17413
  userBootstrapController?: boolean;
17347
17414
  zone?: string;
17348
17415
  };
17416
+ AzureAzfilesDefinition: {
17417
+ /** @description Name of the file share at Azure, which can differ from the platform name. */
17418
+ azfilesName?: string;
17419
+ /** @description Azure resource group the storage account belongs to. */
17420
+ azureResourceGroup?: string;
17421
+ /** @description Azure storage account hosting the share. */
17422
+ storageAccountName?: string;
17423
+ /**
17424
+ * @description Type discriminator. (enum property replaced by openapi-typescript)
17425
+ * @enum {string}
17426
+ */
17427
+ type: "azure-azfiles";
17428
+ };
17349
17429
  AzureAzfilesVersionSettings: {
17350
17430
  region?: string;
17351
17431
  /** Format: int64 */
@@ -17900,6 +17980,19 @@ export interface components {
17900
17980
  /** @description User associated with the storage. */
17901
17981
  user: string;
17902
17982
  };
17983
+ AzureNetappFilesDefinition: {
17984
+ /** @description Export path of the volume. */
17985
+ exportPath?: string;
17986
+ /** @description IP address clients mount the volume from. */
17987
+ mountIp?: string;
17988
+ /** @description Service level of the volume. */
17989
+ service?: string;
17990
+ /**
17991
+ * @description Type discriminator. (enum property replaced by openapi-typescript)
17992
+ * @enum {string}
17993
+ */
17994
+ type: "azure-netappfiles";
17995
+ };
17903
17996
  AzureNetappFilesVersionSettings: {
17904
17997
  region?: string;
17905
17998
  service?: string;
@@ -21511,6 +21604,105 @@ export interface components {
21511
21604
  /** @description OpenStack flavor ID */
21512
21605
  id: string;
21513
21606
  };
21607
+ FleetAgent: {
21608
+ /** @description CPU architecture reported by the agent. */
21609
+ arch?: string;
21610
+ /** @description Whether the agent is below the configured minimum agent version. An agent that never reported a version counts as below it, matching how the tunnel gate treats one. Always false for endpoints, which the gate exempts. */
21611
+ belowMinimum: boolean;
21612
+ /** @description Id of the cluster or endpoint session the agent belongs to. */
21613
+ clusterId: string;
21614
+ /** @description Name of the cluster or endpoint session. */
21615
+ clusterName: string;
21616
+ /** @description Whether the agent is reporting right now. */
21617
+ connected: boolean;
21618
+ /** @description Cluster display name. */
21619
+ displayName?: string;
21620
+ /** @description Node hostname, for managed cluster node agents. */
21621
+ hostname?: string;
21622
+ /** @description Stable row id: the cluster id, plus the node hostname for managed cluster nodes. */
21623
+ id: string;
21624
+ /** @description Custom cluster icon, when one was uploaded. */
21625
+ imageUrl?: string;
21626
+ /**
21627
+ * @description Where the agent runs: a cloud cluster, a standalone instance, an existing cluster, a managed cluster node, or a pw CLI serving an endpoint session.
21628
+ * @enum {string}
21629
+ */
21630
+ kind: "cloud" | "instance" | "existing" | "managed" | "endpoint";
21631
+ /**
21632
+ * Format: date-time
21633
+ * @description When the agent last reported.
21634
+ */
21635
+ lastSeenAt?: string;
21636
+ /** @description Organization the cluster belongs to. */
21637
+ organization?: string;
21638
+ /** @description Operating system reported by the agent. */
21639
+ os?: string;
21640
+ /** @description OS release reported by the agent. */
21641
+ osRelease?: string;
21642
+ /** @description Whether the reported version is older than the platform version. */
21643
+ outdated: boolean;
21644
+ /** @description Resource type the icon is derived from: the cloud provider for cloud clusters and instances, existing, or managed-cluster. */
21645
+ resourceType?: string;
21646
+ /** @description Scheduler on the cluster, used as the existing-cluster icon. */
21647
+ schedulerType?: string;
21648
+ /** @description In-flight agent update state: updating or failed. */
21649
+ updateStatus?: string;
21650
+ /** @description Owner of the cluster. */
21651
+ username?: string;
21652
+ /** @description Last reported agent version. Empty when the agent has never reported one. */
21653
+ version?: string;
21654
+ };
21655
+ FleetSummary: {
21656
+ /**
21657
+ * Format: int64
21658
+ * @description Agents below the configured minimum agent version, including those that never reported one. Endpoints are exempt, matching the tunnel gate.
21659
+ */
21660
+ belowMinimum: number;
21661
+ /**
21662
+ * Format: int64
21663
+ * @description Agents reporting right now.
21664
+ */
21665
+ connected: number;
21666
+ /** @description Configured minimum agent version. Empty when enforcement is off. */
21667
+ minimumAgentVersion?: string;
21668
+ /** @description Oldest version any reporting agent runs. This is the version gate the fleet has actually reached. */
21669
+ oldestVersion?: string;
21670
+ /**
21671
+ * Format: int64
21672
+ * @description Agents older than the platform version.
21673
+ */
21674
+ outdated: number;
21675
+ /** @description Version of the platform the agents are compared against. */
21676
+ platformVersion: string;
21677
+ /** @description Whether the platform version is a version agents can be compared against. False for a local development build, where the drift counts carry no meaning. */
21678
+ platformVersionComparable: boolean;
21679
+ /**
21680
+ * Format: int64
21681
+ * @description Agents in the fleet.
21682
+ */
21683
+ total: number;
21684
+ /**
21685
+ * Format: int64
21686
+ * @description Agents that have never reported a version.
21687
+ */
21688
+ unreported: number;
21689
+ /** @description Version distribution across the whole fleet, newest first. */
21690
+ versions: components["schemas"]["FleetVersionCount"][] | null;
21691
+ };
21692
+ FleetVersionCount: {
21693
+ /**
21694
+ * Format: int64
21695
+ * @description Agents on this version that are reporting right now.
21696
+ */
21697
+ connected: number;
21698
+ /**
21699
+ * Format: int64
21700
+ * @description Agents on this version.
21701
+ */
21702
+ count: number;
21703
+ /** @description Reported agent version, or empty for agents that never reported one. */
21704
+ version: string;
21705
+ };
21514
21706
  ForkMarketplaceItemBody: {
21515
21707
  /** @description For remote workflows, convert to local by fetching the YAML. */
21516
21708
  convertToLocal?: boolean;
@@ -22148,6 +22340,17 @@ export interface components {
22148
22340
  /** @description Zone the Google Filestore is in */
22149
22341
  zone?: string;
22150
22342
  };
22343
+ GoogleFilestoreDefinition: {
22344
+ /** @description IP address of the file server. */
22345
+ fileserverIp?: string;
22346
+ /** @description Service tier of the instance. */
22347
+ filestoreTier?: string;
22348
+ /**
22349
+ * @description Type discriminator. (enum property replaced by openapi-typescript)
22350
+ * @enum {string}
22351
+ */
22352
+ type: "google-filestore";
22353
+ };
22151
22354
  GoogleFilestoreVersionSettings: {
22152
22355
  filestore_tier?: string;
22153
22356
  region?: string;
@@ -23897,6 +24100,17 @@ export interface components {
23897
24100
  ListAdminProductsOutputBody: {
23898
24101
  products: components["schemas"]["AdminProduct"][] | null;
23899
24102
  };
24103
+ ListAgentsBody: {
24104
+ /** @description One page of agents. */
24105
+ agents: components["schemas"]["FleetAgent"][] | null;
24106
+ /** @description Fleet-wide totals, unaffected by the filters. */
24107
+ summary: components["schemas"]["FleetSummary"];
24108
+ /**
24109
+ * Format: int64
24110
+ * @description Agents matching the filters.
24111
+ */
24112
+ total: number;
24113
+ };
23900
24114
  ListAttachmentsBody: {
23901
24115
  attachments: components["schemas"]["AttachmentResponse"][] | null;
23902
24116
  };
@@ -25911,6 +26125,19 @@ export interface components {
25911
26125
  /** @description User associated with the storage. */
25912
26126
  user: string;
25913
26127
  };
26128
+ OracleFsDefinition: {
26129
+ /** @description Availability domain the file system is in. */
26130
+ availabilityDomain?: string;
26131
+ /** @description Export path of the file system. */
26132
+ exportPath?: string;
26133
+ /** @description IP address of the mount target. */
26134
+ mountTargetIp?: string;
26135
+ /**
26136
+ * @description Type discriminator. (enum property replaced by openapi-typescript)
26137
+ * @enum {string}
26138
+ */
26139
+ type: "oracle-oraclefs";
26140
+ };
25914
26141
  OracleOraclefsVersionSettings: {
25915
26142
  availability_domain?: string;
25916
26143
  region?: string;
@@ -30303,7 +30530,7 @@ export interface components {
30303
30530
  * StorageDefinition
30304
30531
  * @description The storage's typed configuration.
30305
30532
  */
30306
- definition: components["schemas"]["AwsLustreDefinition"] | components["schemas"]["AzureManagedLustreDefinition"] | components["schemas"]["GoogleManagedLustreDefinition"] | components["schemas"]["BucketDefinition"] | components["schemas"]["DiskDefinition"];
30533
+ definition: components["schemas"]["AwsLustreDefinition"] | components["schemas"]["AzureManagedLustreDefinition"] | components["schemas"]["GoogleManagedLustreDefinition"] | components["schemas"]["BucketDefinition"] | components["schemas"]["DiskDefinition"] | components["schemas"]["AwsEfsDefinition"] | components["schemas"]["AzureAzfilesDefinition"] | components["schemas"]["AzureNetappFilesDefinition"] | components["schemas"]["GoogleFilestoreDefinition"] | components["schemas"]["OracleFsDefinition"];
30307
30534
  /** @description Display name of the storage. */
30308
30535
  displayName: string;
30309
30536
  /** @description Whether the storage is ephemeral. */
@@ -31285,6 +31512,12 @@ export interface components {
31285
31512
  */
31286
31513
  resourceGroup: string;
31287
31514
  };
31515
+ UpdateUserPreferencesInputBody: {
31516
+ /** @description Preference keys to write. A null value removes the key; keys not present are left unchanged. */
31517
+ preferences: {
31518
+ [key: string]: unknown;
31519
+ };
31520
+ };
31288
31521
  UpdateUserProfileBody: {
31289
31522
  /** @description Full name of the user */
31290
31523
  name: string;
@@ -31518,6 +31751,12 @@ export interface components {
31518
31751
  resourceType?: string;
31519
31752
  type?: string;
31520
31753
  };
31754
+ UserPreferencesBody: {
31755
+ /** @description The user's saved UI preferences keyed by view id. Values are opaque JSON owned by the client. */
31756
+ preferences: {
31757
+ [key: string]: unknown;
31758
+ };
31759
+ };
31521
31760
  UserProfile: {
31522
31761
  /** @description Cache-buster for the user's avatar image. */
31523
31762
  avatarEtag?: string;
@@ -31776,6 +32015,8 @@ export interface components {
31776
32015
  allowCredentials?: components["schemas"]["WebAuthnCredentialDescriptor"][] | null;
31777
32016
  /** @description Base64url-encoded challenge */
31778
32017
  challenge: string;
32018
+ /** @description Authenticator types the relying party prefers */
32019
+ hints?: string[] | null;
31779
32020
  /** @description Relying party ID */
31780
32021
  rpId?: string;
31781
32022
  /**
@@ -31843,6 +32084,8 @@ export interface components {
31843
32084
  challenge: string;
31844
32085
  /** @description Credentials that may not be re-registered */
31845
32086
  excludeCredentials?: components["schemas"]["WebAuthnCredentialDescriptor"][] | null;
32087
+ /** @description Authenticator types the relying party prefers */
32088
+ hints?: string[] | null;
31846
32089
  /** @description Acceptable credential algorithms */
31847
32090
  pubKeyCredParams: components["schemas"]["WebAuthnRegCredParam"][] | null;
31848
32091
  /** @description Relying party */
@@ -31978,6 +32221,8 @@ export interface components {
31978
32221
  stoppedAt?: string;
31979
32222
  /** @description Worker authentication token. Only returned on creation. */
31980
32223
  readonly token?: string;
32224
+ /** @description Parallel Works URI for the cluster. */
32225
+ readonly uri?: string;
31981
32226
  /** @description User ID. */
31982
32227
  userId?: string;
31983
32228
  };
@@ -32345,6 +32590,48 @@ export interface operations {
32345
32590
  };
32346
32591
  };
32347
32592
  };
32593
+ "list-fleet-agents": {
32594
+ parameters: {
32595
+ query?: {
32596
+ /** @description Filter by where the agent runs. */
32597
+ kind?: ("cloud" | "instance" | "existing" | "managed" | "endpoint")[] | null;
32598
+ /** @description Filter by whether the agent is reporting right now. */
32599
+ connected?: "true" | "false";
32600
+ /** @description Only agents older than the platform version. */
32601
+ outdated?: boolean;
32602
+ /** @description Case-insensitive match on cluster name, display name, hostname, user, organization, or version. */
32603
+ search?: string;
32604
+ /** @description Page size. */
32605
+ limit?: number;
32606
+ /** @description Page offset. */
32607
+ offset?: number;
32608
+ };
32609
+ header?: never;
32610
+ path?: never;
32611
+ cookie?: never;
32612
+ };
32613
+ requestBody?: never;
32614
+ responses: {
32615
+ /** @description OK */
32616
+ 200: {
32617
+ headers: {
32618
+ [name: string]: unknown;
32619
+ };
32620
+ content: {
32621
+ "application/json": components["schemas"]["ListAgentsBody"];
32622
+ };
32623
+ };
32624
+ /** @description Error */
32625
+ default: {
32626
+ headers: {
32627
+ [name: string]: unknown;
32628
+ };
32629
+ content: {
32630
+ "application/json": components["schemas"]["Error"];
32631
+ };
32632
+ };
32633
+ };
32634
+ };
32348
32635
  "get-platform-alerts": {
32349
32636
  parameters: {
32350
32637
  query?: {
@@ -60730,7 +61017,10 @@ export interface operations {
60730
61017
  parameters: {
60731
61018
  query?: never;
60732
61019
  header?: never;
60733
- path?: never;
61020
+ path: {
61021
+ /** @description ID of the CAC authentication method */
61022
+ authID: string;
61023
+ };
60734
61024
  cookie?: never;
60735
61025
  };
60736
61026
  requestBody?: never;
@@ -60739,6 +61029,7 @@ export interface operations {
60739
61029
  204: {
60740
61030
  headers: {
60741
61031
  Location?: string;
61032
+ "Set-Cookie"?: string;
60742
61033
  [name: string]: unknown;
60743
61034
  };
60744
61035
  content?: never;
@@ -61595,6 +61886,68 @@ export interface operations {
61595
61886
  };
61596
61887
  };
61597
61888
  };
61889
+ "get-user-preferences": {
61890
+ parameters: {
61891
+ query?: never;
61892
+ header?: never;
61893
+ path?: never;
61894
+ cookie?: never;
61895
+ };
61896
+ requestBody?: never;
61897
+ responses: {
61898
+ /** @description OK */
61899
+ 200: {
61900
+ headers: {
61901
+ [name: string]: unknown;
61902
+ };
61903
+ content: {
61904
+ "application/json": components["schemas"]["UserPreferencesBody"];
61905
+ };
61906
+ };
61907
+ /** @description Error */
61908
+ default: {
61909
+ headers: {
61910
+ [name: string]: unknown;
61911
+ };
61912
+ content: {
61913
+ "application/json": components["schemas"]["Error"];
61914
+ };
61915
+ };
61916
+ };
61917
+ };
61918
+ "update-user-preferences": {
61919
+ parameters: {
61920
+ query?: never;
61921
+ header?: never;
61922
+ path?: never;
61923
+ cookie?: never;
61924
+ };
61925
+ requestBody: {
61926
+ content: {
61927
+ "application/json": components["schemas"]["UpdateUserPreferencesInputBody"];
61928
+ };
61929
+ };
61930
+ responses: {
61931
+ /** @description OK */
61932
+ 200: {
61933
+ headers: {
61934
+ [name: string]: unknown;
61935
+ };
61936
+ content: {
61937
+ "application/json": components["schemas"]["UserPreferencesBody"];
61938
+ };
61939
+ };
61940
+ /** @description Error */
61941
+ default: {
61942
+ headers: {
61943
+ [name: string]: unknown;
61944
+ };
61945
+ content: {
61946
+ "application/json": components["schemas"]["Error"];
61947
+ };
61948
+ };
61949
+ };
61950
+ };
61598
61951
  "update-user-profile": {
61599
61952
  parameters: {
61600
61953
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parallelworks/client",
3
- "version": "7.103.0",
3
+ "version": "7.104.0",
4
4
  "description": "Official TypeScript client for Parallel Works ACTIVATE API",
5
5
  "type": "module",
6
6
  "exports": {