@parallelworks/client 7.103.0 → 7.105.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 +985 -12
  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;
@@ -126,6 +150,138 @@ export interface paths {
126
150
  patch?: never;
127
151
  trace?: never;
128
152
  };
153
+ "/api/admin/billing/realtime-accuracy": {
154
+ parameters: {
155
+ query?: never;
156
+ header?: never;
157
+ path?: never;
158
+ cookie?: never;
159
+ };
160
+ /**
161
+ * Get realtime estimator accuracy summary
162
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
163
+ *
164
+ * Returns per-CSP accuracy of the flexA realtime cost estimator against invoiced costs, from a periodically refreshed view. Requires platform admin or billing admin.
165
+ */
166
+ get: operations["get-realtime-accuracy-summary"];
167
+ put?: never;
168
+ post?: never;
169
+ delete?: never;
170
+ options?: never;
171
+ head?: never;
172
+ patch?: never;
173
+ trace?: never;
174
+ };
175
+ "/api/admin/billing/realtime-accuracy/categories": {
176
+ parameters: {
177
+ query?: never;
178
+ header?: never;
179
+ path?: never;
180
+ cookie?: never;
181
+ };
182
+ /**
183
+ * Get realtime estimator accuracy by category
184
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
185
+ *
186
+ * Returns estimator accuracy per CSP, cost type and subtype. Requires platform admin or billing admin.
187
+ */
188
+ get: operations["get-realtime-accuracy-categories"];
189
+ put?: never;
190
+ post?: never;
191
+ delete?: never;
192
+ options?: never;
193
+ head?: never;
194
+ patch?: never;
195
+ trace?: never;
196
+ };
197
+ "/api/admin/billing/realtime-accuracy/export": {
198
+ parameters: {
199
+ query?: never;
200
+ header?: never;
201
+ path?: never;
202
+ cookie?: never;
203
+ };
204
+ /**
205
+ * Export realtime estimator accuracy data
206
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
207
+ *
208
+ * Downloads the accuracy data with its definitions and a code map, as a Markdown report or as JSON. Requires platform admin or billing admin.
209
+ */
210
+ get: operations["export-realtime-accuracy"];
211
+ put?: never;
212
+ post?: never;
213
+ delete?: never;
214
+ options?: never;
215
+ head?: never;
216
+ patch?: never;
217
+ trace?: never;
218
+ };
219
+ "/api/admin/billing/realtime-accuracy/outliers": {
220
+ parameters: {
221
+ query?: never;
222
+ header?: never;
223
+ path?: never;
224
+ cookie?: never;
225
+ };
226
+ /**
227
+ * Get realtime estimator accuracy outliers
228
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
229
+ *
230
+ * Returns the deployment-days where the realtime estimate missed the invoice by the most. Requires platform admin or billing admin.
231
+ */
232
+ get: operations["get-realtime-accuracy-outliers"];
233
+ put?: never;
234
+ post?: never;
235
+ delete?: never;
236
+ options?: never;
237
+ head?: never;
238
+ patch?: never;
239
+ trace?: never;
240
+ };
241
+ "/api/admin/billing/realtime-accuracy/refresh": {
242
+ parameters: {
243
+ query?: never;
244
+ header?: never;
245
+ path?: never;
246
+ cookie?: never;
247
+ };
248
+ get?: never;
249
+ put?: never;
250
+ /**
251
+ * Rebuild realtime estimator accuracy data
252
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
253
+ *
254
+ * Starts a background rebuild of the realtime accuracy view. Responds 409 while a rebuild is already running. Requires platform admin or billing admin.
255
+ */
256
+ post: operations["refresh-realtime-accuracy"];
257
+ delete?: never;
258
+ options?: never;
259
+ head?: never;
260
+ patch?: never;
261
+ trace?: never;
262
+ };
263
+ "/api/admin/billing/realtime-accuracy/trend": {
264
+ parameters: {
265
+ query?: never;
266
+ header?: never;
267
+ path?: never;
268
+ cookie?: never;
269
+ };
270
+ /**
271
+ * Get realtime estimator accuracy trend
272
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
273
+ *
274
+ * Returns the daily estimate-to-invoice ratio per CSP. Requires platform admin or billing admin.
275
+ */
276
+ get: operations["get-realtime-accuracy-trend"];
277
+ put?: never;
278
+ post?: never;
279
+ delete?: never;
280
+ options?: never;
281
+ head?: never;
282
+ patch?: never;
283
+ trace?: never;
284
+ };
129
285
  "/api/admin/billing/runs": {
130
286
  parameters: {
131
287
  query?: never;
@@ -14389,7 +14545,7 @@ export interface paths {
14389
14545
  patch?: never;
14390
14546
  trace?: never;
14391
14547
  };
14392
- "/api/sso/cac/redirect": {
14548
+ "/api/sso/cac/redirect/{authID}": {
14393
14549
  parameters: {
14394
14550
  query?: never;
14395
14551
  header?: never;
@@ -14963,6 +15119,34 @@ export interface paths {
14963
15119
  patch?: never;
14964
15120
  trace?: never;
14965
15121
  };
15122
+ "/api/user/preferences": {
15123
+ parameters: {
15124
+ query?: never;
15125
+ header?: never;
15126
+ path?: never;
15127
+ cookie?: never;
15128
+ };
15129
+ /**
15130
+ * Get user preferences
15131
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
15132
+ *
15133
+ * Returns the current user's saved UI preferences, such as list page display options and filters, keyed by view id.
15134
+ */
15135
+ get: operations["get-user-preferences"];
15136
+ put?: never;
15137
+ post?: never;
15138
+ delete?: never;
15139
+ options?: never;
15140
+ head?: never;
15141
+ /**
15142
+ * Update user preferences
15143
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
15144
+ *
15145
+ * Writes the given preference keys for the current user. A null value removes a key; keys not in the request are left unchanged.
15146
+ */
15147
+ patch: operations["update-user-preferences"];
15148
+ trace?: never;
15149
+ };
14966
15150
  "/api/user/profile": {
14967
15151
  parameters: {
14968
15152
  query?: never;
@@ -15396,6 +15580,28 @@ export interface paths {
15396
15580
  patch?: never;
15397
15581
  trace?: never;
15398
15582
  };
15583
+ "/api/workflow-runs/{slug}/running-steps": {
15584
+ parameters: {
15585
+ query?: never;
15586
+ header?: never;
15587
+ path?: never;
15588
+ cookie?: never;
15589
+ };
15590
+ /**
15591
+ * Get Workflow Run Running Steps
15592
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
15593
+ *
15594
+ * Reads where each running job of a workflow run has got to.
15595
+ */
15596
+ get: operations["get-workflow-run-running-steps"];
15597
+ put?: never;
15598
+ post?: never;
15599
+ delete?: never;
15600
+ options?: never;
15601
+ head?: never;
15602
+ patch?: never;
15603
+ trace?: never;
15604
+ };
15399
15605
  "/api/workflow-variables": {
15400
15606
  parameters: {
15401
15607
  query?: never;
@@ -17041,6 +17247,21 @@ export interface components {
17041
17247
  /** @description User associated with the storage. */
17042
17248
  user: string;
17043
17249
  };
17250
+ AwsEfsDefinition: {
17251
+ /** @description EFS filesystem id at AWS. */
17252
+ fileSystemId?: string;
17253
+ /** @description Mount targets by subnet. */
17254
+ mountTargets?: {
17255
+ [key: string]: string;
17256
+ };
17257
+ /** @description Throughput mode of the filesystem. */
17258
+ throughputMode?: string;
17259
+ /**
17260
+ * @description Type discriminator. (enum property replaced by openapi-typescript)
17261
+ * @enum {string}
17262
+ */
17263
+ type: "aws-efs";
17264
+ };
17044
17265
  AwsEfsVersionSettings: {
17045
17266
  efs_encrypted?: boolean;
17046
17267
  efs_performance_mode?: string;
@@ -17346,6 +17567,19 @@ export interface components {
17346
17567
  userBootstrapController?: boolean;
17347
17568
  zone?: string;
17348
17569
  };
17570
+ AzureAzfilesDefinition: {
17571
+ /** @description Name of the file share at Azure, which can differ from the platform name. */
17572
+ azfilesName?: string;
17573
+ /** @description Azure resource group the storage account belongs to. */
17574
+ azureResourceGroup?: string;
17575
+ /** @description Azure storage account hosting the share. */
17576
+ storageAccountName?: string;
17577
+ /**
17578
+ * @description Type discriminator. (enum property replaced by openapi-typescript)
17579
+ * @enum {string}
17580
+ */
17581
+ type: "azure-azfiles";
17582
+ };
17349
17583
  AzureAzfilesVersionSettings: {
17350
17584
  region?: string;
17351
17585
  /** Format: int64 */
@@ -17900,6 +18134,19 @@ export interface components {
17900
18134
  /** @description User associated with the storage. */
17901
18135
  user: string;
17902
18136
  };
18137
+ AzureNetappFilesDefinition: {
18138
+ /** @description Export path of the volume. */
18139
+ exportPath?: string;
18140
+ /** @description IP address clients mount the volume from. */
18141
+ mountIp?: string;
18142
+ /** @description Service level of the volume. */
18143
+ service?: string;
18144
+ /**
18145
+ * @description Type discriminator. (enum property replaced by openapi-typescript)
18146
+ * @enum {string}
18147
+ */
18148
+ type: "azure-netappfiles";
18149
+ };
17903
18150
  AzureNetappFilesVersionSettings: {
17904
18151
  region?: string;
17905
18152
  service?: string;
@@ -20635,7 +20882,10 @@ export interface components {
20635
20882
  yaml?: string;
20636
20883
  };
20637
20884
  CreateWorkflowRunOutputBody: {
20885
+ /** @description Name of the session to open once the run starts. */
20638
20886
  redirect?: string;
20887
+ /** @description Key into the run's links of the link to open once it resolves. */
20888
+ redirectLink?: string;
20639
20889
  run: components["schemas"]["WorkflowRunResponse"];
20640
20890
  };
20641
20891
  CreateWorkflowSavedInputsInputBody: {
@@ -21511,6 +21761,105 @@ export interface components {
21511
21761
  /** @description OpenStack flavor ID */
21512
21762
  id: string;
21513
21763
  };
21764
+ FleetAgent: {
21765
+ /** @description CPU architecture reported by the agent. */
21766
+ arch?: string;
21767
+ /** @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. */
21768
+ belowMinimum: boolean;
21769
+ /** @description Id of the cluster or endpoint session the agent belongs to. */
21770
+ clusterId: string;
21771
+ /** @description Name of the cluster or endpoint session. */
21772
+ clusterName: string;
21773
+ /** @description Whether the agent is reporting right now. */
21774
+ connected: boolean;
21775
+ /** @description Cluster display name. */
21776
+ displayName?: string;
21777
+ /** @description Node hostname, for managed cluster node agents. */
21778
+ hostname?: string;
21779
+ /** @description Stable row id: the cluster id, plus the node hostname for managed cluster nodes. */
21780
+ id: string;
21781
+ /** @description Custom cluster icon, when one was uploaded. */
21782
+ imageUrl?: string;
21783
+ /**
21784
+ * @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.
21785
+ * @enum {string}
21786
+ */
21787
+ kind: "cloud" | "instance" | "existing" | "managed" | "endpoint";
21788
+ /**
21789
+ * Format: date-time
21790
+ * @description When the agent last reported.
21791
+ */
21792
+ lastSeenAt?: string;
21793
+ /** @description Organization the cluster belongs to. */
21794
+ organization?: string;
21795
+ /** @description Operating system reported by the agent. */
21796
+ os?: string;
21797
+ /** @description OS release reported by the agent. */
21798
+ osRelease?: string;
21799
+ /** @description Whether the reported version is older than the platform version. */
21800
+ outdated: boolean;
21801
+ /** @description Resource type the icon is derived from: the cloud provider for cloud clusters and instances, existing, or managed-cluster. */
21802
+ resourceType?: string;
21803
+ /** @description Scheduler on the cluster, used as the existing-cluster icon. */
21804
+ schedulerType?: string;
21805
+ /** @description In-flight agent update state: updating or failed. */
21806
+ updateStatus?: string;
21807
+ /** @description Owner of the cluster. */
21808
+ username?: string;
21809
+ /** @description Last reported agent version. Empty when the agent has never reported one. */
21810
+ version?: string;
21811
+ };
21812
+ FleetSummary: {
21813
+ /**
21814
+ * Format: int64
21815
+ * @description Agents below the configured minimum agent version, including those that never reported one. Endpoints are exempt, matching the tunnel gate.
21816
+ */
21817
+ belowMinimum: number;
21818
+ /**
21819
+ * Format: int64
21820
+ * @description Agents reporting right now.
21821
+ */
21822
+ connected: number;
21823
+ /** @description Configured minimum agent version. Empty when enforcement is off. */
21824
+ minimumAgentVersion?: string;
21825
+ /** @description Oldest version any reporting agent runs. This is the version gate the fleet has actually reached. */
21826
+ oldestVersion?: string;
21827
+ /**
21828
+ * Format: int64
21829
+ * @description Agents older than the platform version.
21830
+ */
21831
+ outdated: number;
21832
+ /** @description Version of the platform the agents are compared against. */
21833
+ platformVersion: string;
21834
+ /** @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. */
21835
+ platformVersionComparable: boolean;
21836
+ /**
21837
+ * Format: int64
21838
+ * @description Agents in the fleet.
21839
+ */
21840
+ total: number;
21841
+ /**
21842
+ * Format: int64
21843
+ * @description Agents that have never reported a version.
21844
+ */
21845
+ unreported: number;
21846
+ /** @description Version distribution across the whole fleet, newest first. */
21847
+ versions: components["schemas"]["FleetVersionCount"][] | null;
21848
+ };
21849
+ FleetVersionCount: {
21850
+ /**
21851
+ * Format: int64
21852
+ * @description Agents on this version that are reporting right now.
21853
+ */
21854
+ connected: number;
21855
+ /**
21856
+ * Format: int64
21857
+ * @description Agents on this version.
21858
+ */
21859
+ count: number;
21860
+ /** @description Reported agent version, or empty for agents that never reported one. */
21861
+ version: string;
21862
+ };
21514
21863
  ForkMarketplaceItemBody: {
21515
21864
  /** @description For remote workflows, convert to local by fetching the YAML. */
21516
21865
  convertToLocal?: boolean;
@@ -22148,6 +22497,17 @@ export interface components {
22148
22497
  /** @description Zone the Google Filestore is in */
22149
22498
  zone?: string;
22150
22499
  };
22500
+ GoogleFilestoreDefinition: {
22501
+ /** @description IP address of the file server. */
22502
+ fileserverIp?: string;
22503
+ /** @description Service tier of the instance. */
22504
+ filestoreTier?: string;
22505
+ /**
22506
+ * @description Type discriminator. (enum property replaced by openapi-typescript)
22507
+ * @enum {string}
22508
+ */
22509
+ type: "google-filestore";
22510
+ };
22151
22511
  GoogleFilestoreVersionSettings: {
22152
22512
  filestore_tier?: string;
22153
22513
  region?: string;
@@ -23897,8 +24257,23 @@ export interface components {
23897
24257
  ListAdminProductsOutputBody: {
23898
24258
  products: components["schemas"]["AdminProduct"][] | null;
23899
24259
  };
24260
+ ListAgentsBody: {
24261
+ /** @description One page of agents. */
24262
+ agents: components["schemas"]["FleetAgent"][] | null;
24263
+ /** @description Fleet-wide totals, unaffected by the filters. */
24264
+ summary: components["schemas"]["FleetSummary"];
24265
+ /**
24266
+ * Format: int64
24267
+ * @description Agents matching the filters.
24268
+ */
24269
+ total: number;
24270
+ };
23900
24271
  ListAttachmentsBody: {
23901
24272
  attachments: components["schemas"]["AttachmentResponse"][] | null;
24273
+ /** @description Whether another page follows */
24274
+ hasMore: boolean;
24275
+ /** @description Pass as cursor to read the next page */
24276
+ nextCursor?: string;
23902
24277
  };
23903
24278
  ListConversationsBody: {
23904
24279
  conversations: components["schemas"]["ConversationSummary"][] | null;
@@ -24024,7 +24399,14 @@ export interface components {
24024
24399
  };
24025
24400
  ListUserAttachmentsBody: {
24026
24401
  attachments: components["schemas"]["AttachmentResponse"][] | null;
24027
- /** Format: int64 */
24402
+ /** @description Whether another page follows */
24403
+ hasMore: boolean;
24404
+ /** @description Pass as cursor to read the next page */
24405
+ nextCursor?: string;
24406
+ /**
24407
+ * Format: int64
24408
+ * @description Matching attachments, capped at 10000
24409
+ */
24028
24410
  total: number;
24029
24411
  };
24030
24412
  ListUserThumbnailsOutputBody: {
@@ -25911,6 +26293,19 @@ export interface components {
25911
26293
  /** @description User associated with the storage. */
25912
26294
  user: string;
25913
26295
  };
26296
+ OracleFsDefinition: {
26297
+ /** @description Availability domain the file system is in. */
26298
+ availabilityDomain?: string;
26299
+ /** @description Export path of the file system. */
26300
+ exportPath?: string;
26301
+ /** @description IP address of the mount target. */
26302
+ mountTargetIp?: string;
26303
+ /**
26304
+ * @description Type discriminator. (enum property replaced by openapi-typescript)
26305
+ * @enum {string}
26306
+ */
26307
+ type: "oracle-oraclefs";
26308
+ };
25914
26309
  OracleOraclefsVersionSettings: {
25915
26310
  availability_domain?: string;
25916
26311
  region?: string;
@@ -28727,6 +29122,192 @@ export interface components {
28727
29122
  /** @description Zones whose project offers an IRDMA (Falcon) network profile. */
28728
29123
  zones: string[] | null;
28729
29124
  };
29125
+ RealtimeAccuracyCategoryRow: {
29126
+ /** @description Cloud service provider */
29127
+ csp: string;
29128
+ /**
29129
+ * Format: double
29130
+ * @description Sum of estimates
29131
+ */
29132
+ estimated: number;
29133
+ /**
29134
+ * Format: double
29135
+ * @description Sum of prorated invoice amounts
29136
+ */
29137
+ invoiced: number;
29138
+ /**
29139
+ * Format: int64
29140
+ * @description Deployment-day keys
29141
+ */
29142
+ keys: number;
29143
+ /**
29144
+ * Format: double
29145
+ * @description Median per-key ratio over measurable keys
29146
+ */
29147
+ medianRatio: number | null;
29148
+ /**
29149
+ * Format: int64
29150
+ * @description Keys with an estimate but no invoice line
29151
+ */
29152
+ noInvoiceLine: number;
29153
+ /**
29154
+ * Format: double
29155
+ * @description Estimated divided by invoiced; null without a measurable invoice
29156
+ */
29157
+ ratio: number | null;
29158
+ /** @description Cost subtype */
29159
+ subtype: string;
29160
+ /** @description Cost type */
29161
+ type: string;
29162
+ /**
29163
+ * Format: double
29164
+ * @description Percentage of measurable keys whose ratio is within 0.9 to 1.1
29165
+ */
29166
+ withinTenPct: number | null;
29167
+ };
29168
+ RealtimeAccuracyOutlier: {
29169
+ /** @description Cloud service provider */
29170
+ csp: string;
29171
+ /** @description Calendar day, YYYY-MM-DD */
29172
+ day: string;
29173
+ /** @description Deployment the estimate was attributed to */
29174
+ deploymentId: string;
29175
+ /**
29176
+ * Format: double
29177
+ * @description Estimated minus prorated invoice
29178
+ */
29179
+ error: number;
29180
+ /**
29181
+ * Format: double
29182
+ * @description Estimate for the key
29183
+ */
29184
+ estimated: number;
29185
+ /**
29186
+ * Format: double
29187
+ * @description Full-day invoice amount; null when no invoice line exists
29188
+ */
29189
+ invoiced: number | null;
29190
+ /**
29191
+ * Format: double
29192
+ * @description Invoice amount prorated to the estimated hours
29193
+ */
29194
+ invoicedProrated: number | null;
29195
+ /**
29196
+ * Format: double
29197
+ * @description Estimated divided by prorated invoice; null without a measurable invoice
29198
+ */
29199
+ ratio: number | null;
29200
+ /** @description The estimate came from a reprocess */
29201
+ reprocessed: boolean;
29202
+ /** @description One of the resources behind the estimate */
29203
+ resourceName: string | null;
29204
+ /** @description Cost subtype */
29205
+ subtype: string;
29206
+ /** @description Cost type */
29207
+ type: string;
29208
+ };
29209
+ RealtimeAccuracySummary: {
29210
+ /**
29211
+ * Format: int64
29212
+ * @description How long the last successful rebuild took
29213
+ */
29214
+ durationMs: number | null;
29215
+ /** @description Error from the most recent failed rebuild, if any */
29216
+ lastError: string | null;
29217
+ /**
29218
+ * Format: date-time
29219
+ * @description When the accuracy data was last rebuilt; null before the first refresh
29220
+ */
29221
+ refreshedAt: string | null;
29222
+ /** @description Whether a rebuild is currently running */
29223
+ refreshing: boolean;
29224
+ /** @description One row per CSP */
29225
+ summary: components["schemas"]["RealtimeAccuracySummaryRow"][] | null;
29226
+ /** @description All CSPs in the window combined; csp is empty */
29227
+ total: components["schemas"]["RealtimeAccuracySummaryRow"];
29228
+ };
29229
+ RealtimeAccuracySummaryRow: {
29230
+ /** @description Cloud service provider */
29231
+ csp: string;
29232
+ /**
29233
+ * Format: double
29234
+ * @description Sum of estimates
29235
+ */
29236
+ estimated: number;
29237
+ /**
29238
+ * Format: double
29239
+ * @description Sum of invoice amounts, prorated to the estimated hours
29240
+ */
29241
+ invoiced: number;
29242
+ /**
29243
+ * Format: int64
29244
+ * @description Deployment-day-category keys with a frozen estimate
29245
+ */
29246
+ keys: number;
29247
+ /**
29248
+ * Format: int64
29249
+ * @description Keys estimated by the running loop
29250
+ */
29251
+ liveKeys: number;
29252
+ /**
29253
+ * Format: int64
29254
+ * @description Keys with an estimate but no invoice line
29255
+ */
29256
+ noInvoiceLine: number;
29257
+ /**
29258
+ * Format: double
29259
+ * @description Estimated divided by invoiced; null without a measurable invoice
29260
+ */
29261
+ ratio: number | null;
29262
+ /**
29263
+ * Format: int64
29264
+ * @description Keys regenerated by a reprocess after the fact
29265
+ */
29266
+ reprocessedKeys: number;
29267
+ /**
29268
+ * Format: double
29269
+ * @description Tagged invoice amount for deployments the estimator never covered
29270
+ */
29271
+ unestimatedInvoiced: number;
29272
+ /**
29273
+ * Format: double
29274
+ * @description Weighted absolute percentage error over keys with an invoice line
29275
+ */
29276
+ wape: number | null;
29277
+ /**
29278
+ * Format: double
29279
+ * @description Percentage of measurable keys whose ratio is within 0.9 to 1.1
29280
+ */
29281
+ withinTenPct: number | null;
29282
+ };
29283
+ RealtimeAccuracyTrendPoint: {
29284
+ /** @description Cloud service provider */
29285
+ csp: string;
29286
+ /** @description Calendar day, YYYY-MM-DD */
29287
+ day: string;
29288
+ /**
29289
+ * Format: double
29290
+ * @description Sum of estimates
29291
+ */
29292
+ estimated: number;
29293
+ /**
29294
+ * Format: double
29295
+ * @description Sum of prorated invoice amounts
29296
+ */
29297
+ invoiced: number;
29298
+ /**
29299
+ * Format: int64
29300
+ * @description Keys contributing to the point
29301
+ */
29302
+ keys: number;
29303
+ /**
29304
+ * Format: double
29305
+ * @description Estimated divided by invoiced; null without a measurable invoice
29306
+ */
29307
+ ratio: number | null;
29308
+ /** @description Every key that day came from a reprocess */
29309
+ reprocessed: boolean;
29310
+ };
28730
29311
  RecommendedResource: {
28731
29312
  /** @description Cloud provider (aws, google, azure) */
28732
29313
  csp?: string;
@@ -29455,6 +30036,12 @@ export interface components {
29455
30036
  */
29456
30037
  timeoutSec?: number;
29457
30038
  };
30039
+ RunStep: {
30040
+ /** @description Step name. */
30041
+ name?: string;
30042
+ /** @description Step status. */
30043
+ status?: string;
30044
+ };
29458
30045
  RunSummary: {
29459
30046
  /**
29460
30047
  * Format: int64
@@ -29895,7 +30482,7 @@ export interface components {
29895
30482
  /** @description Workflow run information. */
29896
30483
  readonly workflowRun?: components["schemas"]["WorkflowRunInfo"];
29897
30484
  /** @description Workflow running steps. */
29898
- readonly workflowRunningSteps?: components["schemas"]["StepStruct"][] | null;
30485
+ readonly workflowRunningSteps?: components["schemas"]["RunStep"][] | null;
29899
30486
  };
29900
30487
  SessionAlert: {
29901
30488
  /** @description Indicates if the storage will be automatically terminated when the cost limit is reached. */
@@ -30239,12 +30826,6 @@ export interface components {
30239
30826
  /** @description Reconnect an existing Codex provider in place */
30240
30827
  reconnect?: boolean;
30241
30828
  };
30242
- StepStruct: {
30243
- /** @description Step name. */
30244
- name?: string;
30245
- /** @description Step status. */
30246
- status?: string;
30247
- };
30248
30829
  StopClusterOptions: {
30249
30830
  /** @description Stop the controller through the cloud provider instead of waiting for the cluster agent to shut it down from inside the guest. */
30250
30831
  force?: boolean;
@@ -30303,7 +30884,7 @@ export interface components {
30303
30884
  * StorageDefinition
30304
30885
  * @description The storage's typed configuration.
30305
30886
  */
30306
- definition: components["schemas"]["AwsLustreDefinition"] | components["schemas"]["AzureManagedLustreDefinition"] | components["schemas"]["GoogleManagedLustreDefinition"] | components["schemas"]["BucketDefinition"] | components["schemas"]["DiskDefinition"];
30887
+ 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
30888
  /** @description Display name of the storage. */
30308
30889
  displayName: string;
30309
30890
  /** @description Whether the storage is ephemeral. */
@@ -31285,6 +31866,12 @@ export interface components {
31285
31866
  */
31286
31867
  resourceGroup: string;
31287
31868
  };
31869
+ UpdateUserPreferencesInputBody: {
31870
+ /** @description Preference keys to write. A null value removes the key; keys not present are left unchanged. */
31871
+ preferences: {
31872
+ [key: string]: unknown;
31873
+ };
31874
+ };
31288
31875
  UpdateUserProfileBody: {
31289
31876
  /** @description Full name of the user */
31290
31877
  name: string;
@@ -31518,6 +32105,12 @@ export interface components {
31518
32105
  resourceType?: string;
31519
32106
  type?: string;
31520
32107
  };
32108
+ UserPreferencesBody: {
32109
+ /** @description The user's saved UI preferences keyed by view id. Values are opaque JSON owned by the client. */
32110
+ preferences: {
32111
+ [key: string]: unknown;
32112
+ };
32113
+ };
31521
32114
  UserProfile: {
31522
32115
  /** @description Cache-buster for the user's avatar image. */
31523
32116
  avatarEtag?: string;
@@ -31776,6 +32369,8 @@ export interface components {
31776
32369
  allowCredentials?: components["schemas"]["WebAuthnCredentialDescriptor"][] | null;
31777
32370
  /** @description Base64url-encoded challenge */
31778
32371
  challenge: string;
32372
+ /** @description Authenticator types the relying party prefers */
32373
+ hints?: string[] | null;
31779
32374
  /** @description Relying party ID */
31780
32375
  rpId?: string;
31781
32376
  /**
@@ -31843,6 +32438,8 @@ export interface components {
31843
32438
  challenge: string;
31844
32439
  /** @description Credentials that may not be re-registered */
31845
32440
  excludeCredentials?: components["schemas"]["WebAuthnCredentialDescriptor"][] | null;
32441
+ /** @description Authenticator types the relying party prefers */
32442
+ hints?: string[] | null;
31846
32443
  /** @description Acceptable credential algorithms */
31847
32444
  pubKeyCredParams: components["schemas"]["WebAuthnRegCredParam"][] | null;
31848
32445
  /** @description Relying party */
@@ -31978,6 +32575,8 @@ export interface components {
31978
32575
  stoppedAt?: string;
31979
32576
  /** @description Worker authentication token. Only returned on creation. */
31980
32577
  readonly token?: string;
32578
+ /** @description Parallel Works URI for the cluster. */
32579
+ readonly uri?: string;
31981
32580
  /** @description User ID. */
31982
32581
  userId?: string;
31983
32582
  };
@@ -32056,9 +32655,13 @@ export interface components {
32056
32655
  inputs?: {
32057
32656
  [key: string]: unknown;
32058
32657
  };
32658
+ links?: {
32659
+ [key: string]: components["schemas"]["WorkflowRunLink"];
32660
+ };
32059
32661
  marketplace: boolean;
32060
32662
  /** Format: int64 */
32061
32663
  number?: number;
32664
+ redirect?: components["schemas"]["WorkflowRunRedirect"];
32062
32665
  resolvedYaml?: {
32063
32666
  [key: string]: unknown;
32064
32667
  };
@@ -32087,6 +32690,16 @@ export interface components {
32087
32690
  /** @description Workflow type. */
32088
32691
  readonly type?: string;
32089
32692
  };
32693
+ WorkflowRunLink: {
32694
+ detach?: boolean;
32695
+ endpoint?: string;
32696
+ url?: string;
32697
+ };
32698
+ WorkflowRunRedirect: {
32699
+ /** @enum {string} */
32700
+ kind: "session" | "link";
32701
+ name: string;
32702
+ };
32090
32703
  WorkflowRunResponse: {
32091
32704
  /** Format: date-time */
32092
32705
  completedAt?: string;
@@ -32105,6 +32718,9 @@ export interface components {
32105
32718
  user: string;
32106
32719
  workflowName?: string;
32107
32720
  };
32721
+ WorkflowRunRunningStepsResponse: {
32722
+ runningSteps: components["schemas"]["RunStep"][] | null;
32723
+ };
32108
32724
  WorkflowRunsCleanupPreviewBody: {
32109
32725
  /**
32110
32726
  * Format: int64
@@ -32345,6 +32961,48 @@ export interface operations {
32345
32961
  };
32346
32962
  };
32347
32963
  };
32964
+ "list-fleet-agents": {
32965
+ parameters: {
32966
+ query?: {
32967
+ /** @description Filter by where the agent runs. */
32968
+ kind?: ("cloud" | "instance" | "existing" | "managed" | "endpoint")[] | null;
32969
+ /** @description Filter by whether the agent is reporting right now. */
32970
+ connected?: "true" | "false";
32971
+ /** @description Only agents older than the platform version. */
32972
+ outdated?: boolean;
32973
+ /** @description Case-insensitive match on cluster name, display name, hostname, user, organization, or version. */
32974
+ search?: string;
32975
+ /** @description Page size. */
32976
+ limit?: number;
32977
+ /** @description Page offset. */
32978
+ offset?: number;
32979
+ };
32980
+ header?: never;
32981
+ path?: never;
32982
+ cookie?: never;
32983
+ };
32984
+ requestBody?: never;
32985
+ responses: {
32986
+ /** @description OK */
32987
+ 200: {
32988
+ headers: {
32989
+ [name: string]: unknown;
32990
+ };
32991
+ content: {
32992
+ "application/json": components["schemas"]["ListAgentsBody"];
32993
+ };
32994
+ };
32995
+ /** @description Error */
32996
+ default: {
32997
+ headers: {
32998
+ [name: string]: unknown;
32999
+ };
33000
+ content: {
33001
+ "application/json": components["schemas"]["Error"];
33002
+ };
33003
+ };
33004
+ };
33005
+ };
32348
33006
  "get-platform-alerts": {
32349
33007
  parameters: {
32350
33008
  query?: {
@@ -32471,6 +33129,217 @@ export interface operations {
32471
33129
  };
32472
33130
  };
32473
33131
  };
33132
+ "get-realtime-accuracy-summary": {
33133
+ parameters: {
33134
+ query?: {
33135
+ /** @description Days to include, counted back from today */
33136
+ window?: 14 | 30 | 60 | 90;
33137
+ /** @description Restrict to one cloud service provider */
33138
+ csp?: string;
33139
+ };
33140
+ header?: never;
33141
+ path?: never;
33142
+ cookie?: never;
33143
+ };
33144
+ requestBody?: never;
33145
+ responses: {
33146
+ /** @description OK */
33147
+ 200: {
33148
+ headers: {
33149
+ [name: string]: unknown;
33150
+ };
33151
+ content: {
33152
+ "application/json": components["schemas"]["RealtimeAccuracySummary"];
33153
+ };
33154
+ };
33155
+ /** @description Error */
33156
+ default: {
33157
+ headers: {
33158
+ [name: string]: unknown;
33159
+ };
33160
+ content: {
33161
+ "application/json": components["schemas"]["Error"];
33162
+ };
33163
+ };
33164
+ };
33165
+ };
33166
+ "get-realtime-accuracy-categories": {
33167
+ parameters: {
33168
+ query?: {
33169
+ /** @description Days to include, counted back from today */
33170
+ window?: 14 | 30 | 60 | 90;
33171
+ /** @description Restrict to one cloud service provider */
33172
+ csp?: string;
33173
+ };
33174
+ header?: never;
33175
+ path?: never;
33176
+ cookie?: never;
33177
+ };
33178
+ requestBody?: never;
33179
+ responses: {
33180
+ /** @description OK */
33181
+ 200: {
33182
+ headers: {
33183
+ [name: string]: unknown;
33184
+ };
33185
+ content: {
33186
+ "application/json": components["schemas"]["RealtimeAccuracyCategoryRow"][] | null;
33187
+ };
33188
+ };
33189
+ /** @description Error */
33190
+ default: {
33191
+ headers: {
33192
+ [name: string]: unknown;
33193
+ };
33194
+ content: {
33195
+ "application/json": components["schemas"]["Error"];
33196
+ };
33197
+ };
33198
+ };
33199
+ };
33200
+ "export-realtime-accuracy": {
33201
+ parameters: {
33202
+ query?: {
33203
+ /** @description Days to include, counted back from today */
33204
+ window?: 14 | 30 | 60 | 90;
33205
+ /** @description Restrict to one cloud service provider */
33206
+ csp?: string;
33207
+ /** @description Restrict to one cost type, e.g. Compute */
33208
+ type?: string;
33209
+ /** @description Restrict to one cost subtype, e.g. Instance */
33210
+ subtype?: string;
33211
+ /** @description md = self-describing Markdown report, json = the same data as an object */
33212
+ format?: "md" | "json";
33213
+ };
33214
+ header?: never;
33215
+ path?: never;
33216
+ cookie?: never;
33217
+ };
33218
+ requestBody?: never;
33219
+ responses: {
33220
+ /** @description OK */
33221
+ 200: {
33222
+ headers: {
33223
+ [name: string]: unknown;
33224
+ };
33225
+ content?: never;
33226
+ };
33227
+ /** @description Error */
33228
+ default: {
33229
+ headers: {
33230
+ [name: string]: unknown;
33231
+ };
33232
+ content: {
33233
+ "application/json": components["schemas"]["Error"];
33234
+ };
33235
+ };
33236
+ };
33237
+ };
33238
+ "get-realtime-accuracy-outliers": {
33239
+ parameters: {
33240
+ query?: {
33241
+ /** @description Days to include, counted back from today */
33242
+ window?: 14 | 30 | 60 | 90;
33243
+ /** @description Restrict to one cloud service provider */
33244
+ csp?: string;
33245
+ /** @description Restrict to one cost type, e.g. Compute */
33246
+ type?: string;
33247
+ /** @description Restrict to one cost subtype, e.g. Instance */
33248
+ subtype?: string;
33249
+ /** @description Maximum rows to return */
33250
+ limit?: number;
33251
+ };
33252
+ header?: never;
33253
+ path?: never;
33254
+ cookie?: never;
33255
+ };
33256
+ requestBody?: never;
33257
+ responses: {
33258
+ /** @description OK */
33259
+ 200: {
33260
+ headers: {
33261
+ [name: string]: unknown;
33262
+ };
33263
+ content: {
33264
+ "application/json": components["schemas"]["RealtimeAccuracyOutlier"][] | null;
33265
+ };
33266
+ };
33267
+ /** @description Error */
33268
+ default: {
33269
+ headers: {
33270
+ [name: string]: unknown;
33271
+ };
33272
+ content: {
33273
+ "application/json": components["schemas"]["Error"];
33274
+ };
33275
+ };
33276
+ };
33277
+ };
33278
+ "refresh-realtime-accuracy": {
33279
+ parameters: {
33280
+ query?: never;
33281
+ header?: never;
33282
+ path?: never;
33283
+ cookie?: never;
33284
+ };
33285
+ requestBody?: never;
33286
+ responses: {
33287
+ /** @description Accepted */
33288
+ 202: {
33289
+ headers: {
33290
+ [name: string]: unknown;
33291
+ };
33292
+ content?: never;
33293
+ };
33294
+ /** @description Error */
33295
+ default: {
33296
+ headers: {
33297
+ [name: string]: unknown;
33298
+ };
33299
+ content: {
33300
+ "application/json": components["schemas"]["Error"];
33301
+ };
33302
+ };
33303
+ };
33304
+ };
33305
+ "get-realtime-accuracy-trend": {
33306
+ parameters: {
33307
+ query?: {
33308
+ /** @description Days to include, counted back from today */
33309
+ window?: 14 | 30 | 60 | 90;
33310
+ /** @description Restrict to one cloud service provider */
33311
+ csp?: string;
33312
+ /** @description Restrict to one cost type, e.g. Compute */
33313
+ type?: string;
33314
+ /** @description Restrict to one cost subtype, e.g. Instance */
33315
+ subtype?: string;
33316
+ };
33317
+ header?: never;
33318
+ path?: never;
33319
+ cookie?: never;
33320
+ };
33321
+ requestBody?: never;
33322
+ responses: {
33323
+ /** @description OK */
33324
+ 200: {
33325
+ headers: {
33326
+ [name: string]: unknown;
33327
+ };
33328
+ content: {
33329
+ "application/json": components["schemas"]["RealtimeAccuracyTrendPoint"][] | null;
33330
+ };
33331
+ };
33332
+ /** @description Error */
33333
+ default: {
33334
+ headers: {
33335
+ [name: string]: unknown;
33336
+ };
33337
+ content: {
33338
+ "application/json": components["schemas"]["Error"];
33339
+ };
33340
+ };
33341
+ };
33342
+ };
32474
33343
  "list-billing-runs": {
32475
33344
  parameters: {
32476
33345
  query?: {
@@ -34771,8 +35640,10 @@ export interface operations {
34771
35640
  query?: {
34772
35641
  /** @description Max attachments to return */
34773
35642
  limit?: number;
34774
- /** @description Pagination offset */
35643
+ /** @description Pagination offset, ignored when a cursor is given */
34775
35644
  offset?: number;
35645
+ /** @description Cursor from a previous page */
35646
+ cursor?: string;
34776
35647
  /** @description Filter by content type prefix (e.g. image/) */
34777
35648
  contentType?: string;
34778
35649
  };
@@ -34980,6 +35851,10 @@ export interface operations {
34980
35851
  query?: {
34981
35852
  /** @description Filter by message ID (optional) */
34982
35853
  messageId?: string;
35854
+ /** @description Page size */
35855
+ limit?: number;
35856
+ /** @description Cursor from a previous page */
35857
+ cursor?: string;
34983
35858
  };
34984
35859
  header?: never;
34985
35860
  path: {
@@ -60730,7 +61605,10 @@ export interface operations {
60730
61605
  parameters: {
60731
61606
  query?: never;
60732
61607
  header?: never;
60733
- path?: never;
61608
+ path: {
61609
+ /** @description ID of the CAC authentication method */
61610
+ authID: string;
61611
+ };
60734
61612
  cookie?: never;
60735
61613
  };
60736
61614
  requestBody?: never;
@@ -60739,6 +61617,7 @@ export interface operations {
60739
61617
  204: {
60740
61618
  headers: {
60741
61619
  Location?: string;
61620
+ "Set-Cookie"?: string;
60742
61621
  [name: string]: unknown;
60743
61622
  };
60744
61623
  content?: never;
@@ -61595,6 +62474,68 @@ export interface operations {
61595
62474
  };
61596
62475
  };
61597
62476
  };
62477
+ "get-user-preferences": {
62478
+ parameters: {
62479
+ query?: never;
62480
+ header?: never;
62481
+ path?: never;
62482
+ cookie?: never;
62483
+ };
62484
+ requestBody?: never;
62485
+ responses: {
62486
+ /** @description OK */
62487
+ 200: {
62488
+ headers: {
62489
+ [name: string]: unknown;
62490
+ };
62491
+ content: {
62492
+ "application/json": components["schemas"]["UserPreferencesBody"];
62493
+ };
62494
+ };
62495
+ /** @description Error */
62496
+ default: {
62497
+ headers: {
62498
+ [name: string]: unknown;
62499
+ };
62500
+ content: {
62501
+ "application/json": components["schemas"]["Error"];
62502
+ };
62503
+ };
62504
+ };
62505
+ };
62506
+ "update-user-preferences": {
62507
+ parameters: {
62508
+ query?: never;
62509
+ header?: never;
62510
+ path?: never;
62511
+ cookie?: never;
62512
+ };
62513
+ requestBody: {
62514
+ content: {
62515
+ "application/json": components["schemas"]["UpdateUserPreferencesInputBody"];
62516
+ };
62517
+ };
62518
+ responses: {
62519
+ /** @description OK */
62520
+ 200: {
62521
+ headers: {
62522
+ [name: string]: unknown;
62523
+ };
62524
+ content: {
62525
+ "application/json": components["schemas"]["UserPreferencesBody"];
62526
+ };
62527
+ };
62528
+ /** @description Error */
62529
+ default: {
62530
+ headers: {
62531
+ [name: string]: unknown;
62532
+ };
62533
+ content: {
62534
+ "application/json": components["schemas"]["Error"];
62535
+ };
62536
+ };
62537
+ };
62538
+ };
61598
62539
  "update-user-profile": {
61599
62540
  parameters: {
61600
62541
  query?: never;
@@ -62387,6 +63328,38 @@ export interface operations {
62387
63328
  };
62388
63329
  };
62389
63330
  };
63331
+ "get-workflow-run-running-steps": {
63332
+ parameters: {
63333
+ query?: never;
63334
+ header?: never;
63335
+ path: {
63336
+ /** @description The slug identifier of the workflow run */
63337
+ slug: string;
63338
+ };
63339
+ cookie?: never;
63340
+ };
63341
+ requestBody?: never;
63342
+ responses: {
63343
+ /** @description OK */
63344
+ 200: {
63345
+ headers: {
63346
+ [name: string]: unknown;
63347
+ };
63348
+ content: {
63349
+ "application/json": components["schemas"]["WorkflowRunRunningStepsResponse"];
63350
+ };
63351
+ };
63352
+ /** @description Error */
63353
+ default: {
63354
+ headers: {
63355
+ [name: string]: unknown;
63356
+ };
63357
+ content: {
63358
+ "application/json": components["schemas"]["Error"];
63359
+ };
63360
+ };
63361
+ };
63362
+ };
62390
63363
  "list-user-variables": {
62391
63364
  parameters: {
62392
63365
  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.105.0",
4
4
  "description": "Official TypeScript client for Parallel Works ACTIVATE API",
5
5
  "type": "module",
6
6
  "exports": {