@parallelworks/client 7.90.0 → 7.92.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 +137 -19
- package/package.json +1 -1
package/dist/types/api.d.ts
CHANGED
|
@@ -12334,10 +12334,10 @@ export interface paths {
|
|
|
12334
12334
|
cookie?: never;
|
|
12335
12335
|
};
|
|
12336
12336
|
/**
|
|
12337
|
-
* Get
|
|
12337
|
+
* Get cost report data (legacy)
|
|
12338
12338
|
* @description > This is a system-level route, so the response will be independent of the currently authenticated user.
|
|
12339
12339
|
*
|
|
12340
|
-
*
|
|
12340
|
+
* Sums cloud cost rows for the groups the caller may report on, optionally grouped by day, group, user, type, resource, session, or instance type. Members see their own groups; organization admins and billing admins see the whole organization. This is a legacy endpoint.
|
|
12341
12341
|
*/
|
|
12342
12342
|
get: operations["get-reports-legacy-query"];
|
|
12343
12343
|
put?: never;
|
|
@@ -12348,6 +12348,28 @@ export interface paths {
|
|
|
12348
12348
|
patch?: never;
|
|
12349
12349
|
trace?: never;
|
|
12350
12350
|
};
|
|
12351
|
+
"/api/reports/legacy-query/filter-options": {
|
|
12352
|
+
parameters: {
|
|
12353
|
+
query?: never;
|
|
12354
|
+
header?: never;
|
|
12355
|
+
path?: never;
|
|
12356
|
+
cookie?: never;
|
|
12357
|
+
};
|
|
12358
|
+
/**
|
|
12359
|
+
* Get cost report filter options (legacy)
|
|
12360
|
+
* @description > This is a system-level route, so the response will be independent of the currently authenticated user.
|
|
12361
|
+
*
|
|
12362
|
+
* Returns the users, resources, and sessions that have cost rows in the requested scope, for populating report filters. This is a legacy endpoint.
|
|
12363
|
+
*/
|
|
12364
|
+
get: operations["get-reports-legacy-query-filter-options"];
|
|
12365
|
+
put?: never;
|
|
12366
|
+
post?: never;
|
|
12367
|
+
delete?: never;
|
|
12368
|
+
options?: never;
|
|
12369
|
+
head?: never;
|
|
12370
|
+
patch?: never;
|
|
12371
|
+
trace?: never;
|
|
12372
|
+
};
|
|
12351
12373
|
"/api/reserved-subdomains": {
|
|
12352
12374
|
parameters: {
|
|
12353
12375
|
query?: never;
|
|
@@ -16468,6 +16490,8 @@ export interface components {
|
|
|
16468
16490
|
BuiltinProviderResponse: {
|
|
16469
16491
|
caCertificate?: string;
|
|
16470
16492
|
cloudBoundary?: string;
|
|
16493
|
+
/** Format: int64 */
|
|
16494
|
+
connectionCount: number;
|
|
16471
16495
|
/** @description First-class provider type implied by the entry's kind */
|
|
16472
16496
|
csp: string;
|
|
16473
16497
|
displayName: string;
|
|
@@ -16482,6 +16506,8 @@ export interface components {
|
|
|
16482
16506
|
lifecycle: "draft" | "active" | "blocked" | "retired";
|
|
16483
16507
|
/** @enum {string} */
|
|
16484
16508
|
minimumTlsVersion: "1.2" | "1.3";
|
|
16509
|
+
/** Format: int64 */
|
|
16510
|
+
modelCount: number;
|
|
16485
16511
|
/** @enum {string} */
|
|
16486
16512
|
protocol: "azure-openai" | "bedrock-converse" | "codex" | "anthropic-messages" | "openai-chat" | "openai-responses";
|
|
16487
16513
|
region?: string;
|
|
@@ -17461,6 +17487,30 @@ export interface components {
|
|
|
17461
17487
|
sunkPreferredHomeDirectory?: string;
|
|
17462
17488
|
sunkSshKeys?: string[] | null;
|
|
17463
17489
|
};
|
|
17490
|
+
CostFilterOptions: {
|
|
17491
|
+
/** @description Resources with cost rows in scope, narrowed by the user filter. */
|
|
17492
|
+
resources: string[] | null;
|
|
17493
|
+
/** @description Sessions with cost rows in scope, narrowed by the user and resource filters, newest first. */
|
|
17494
|
+
sessions: string[] | null;
|
|
17495
|
+
/** @description Users with cost rows in scope. */
|
|
17496
|
+
users: string[] | null;
|
|
17497
|
+
};
|
|
17498
|
+
CostRow: {
|
|
17499
|
+
/**
|
|
17500
|
+
* Format: double
|
|
17501
|
+
* @description Summed cost, rounded to cents.
|
|
17502
|
+
*/
|
|
17503
|
+
cost: number;
|
|
17504
|
+
/** @description Calendar day in the requested time zone (YYYY-MM-DD). */
|
|
17505
|
+
day?: string;
|
|
17506
|
+
/** @description Group name. */
|
|
17507
|
+
group?: string;
|
|
17508
|
+
instanceType?: string;
|
|
17509
|
+
resource?: string;
|
|
17510
|
+
session?: string;
|
|
17511
|
+
type?: string;
|
|
17512
|
+
user?: string;
|
|
17513
|
+
};
|
|
17464
17514
|
CostTrackingRatesBody: {
|
|
17465
17515
|
/**
|
|
17466
17516
|
* Format: double
|
|
@@ -18402,6 +18452,8 @@ export interface components {
|
|
|
18402
18452
|
};
|
|
18403
18453
|
/** @description User-provided slug */
|
|
18404
18454
|
slug?: string;
|
|
18455
|
+
/** @description Treat this YAML as third-party code: never auto-grant, and apply only the consent echoed back on this request. */
|
|
18456
|
+
untrusted?: boolean;
|
|
18405
18457
|
/** @description Name of a saved workflow to run */
|
|
18406
18458
|
workflow?: string;
|
|
18407
18459
|
/** @description Inline YAML workflow content */
|
|
@@ -19176,8 +19228,6 @@ export interface components {
|
|
|
19176
19228
|
user: string;
|
|
19177
19229
|
/** @description The script input by users to bootstrap the instance. */
|
|
19178
19230
|
user_bootstrap: string;
|
|
19179
|
-
/** @description Mounts of local directories to instance directories. */
|
|
19180
|
-
workspace_mounts: string[] | null;
|
|
19181
19231
|
/** @description The zone of the instance, if applicable. */
|
|
19182
19232
|
zone: string;
|
|
19183
19233
|
};
|
|
@@ -23889,6 +23939,10 @@ export interface components {
|
|
|
23889
23939
|
* @example my-bucket
|
|
23890
23940
|
*/
|
|
23891
23941
|
name?: string;
|
|
23942
|
+
/** @description Whether the storage resource is persistent. Absent when the mount references a storage resource that no longer exists. */
|
|
23943
|
+
persistent?: boolean;
|
|
23944
|
+
/** @description Whether the storage resource is provisioned. Absent when the mount references a storage resource that no longer exists. */
|
|
23945
|
+
provisioned?: boolean;
|
|
23892
23946
|
/** @description Whether the mount uses read-only credentials. */
|
|
23893
23947
|
readOnly?: boolean;
|
|
23894
23948
|
/**
|
|
@@ -24166,7 +24220,7 @@ export interface components {
|
|
|
24166
24220
|
sentryTracesSampleRate: number;
|
|
24167
24221
|
/** @description Whether to advertise resumable SSH sessions, letting tunneled connections to supporting agents survive tunnel drops and ingress restarts. Off by default; turning it off instantly falls new connections back to plain bridging. */
|
|
24168
24222
|
sshResumeEnabled: boolean;
|
|
24169
|
-
/** @description Whether the stuck-run sweeper is enabled. When on, workflow runs whose executor stops sending heartbeats are automatically finalized.
|
|
24223
|
+
/** @description Whether the stuck-run sweeper is enabled. When on, workflow runs whose executor stops sending heartbeats are automatically finalized. On by default; turn it off only if a deployment cannot keep executor heartbeats flowing. */
|
|
24170
24224
|
stuckRunSweeperEnabled: boolean;
|
|
24171
24225
|
/** @description Markdown Terms & Conditions shown to new users during onboarding. Empty disables the prompt. */
|
|
24172
24226
|
termsAndConditions?: string;
|
|
@@ -26105,6 +26159,8 @@ export interface components {
|
|
|
26105
26159
|
group: string;
|
|
26106
26160
|
/** @description Cloud service provider reservation identifier */
|
|
26107
26161
|
id: string;
|
|
26162
|
+
/** @description Instance type the reservation holds capacity for */
|
|
26163
|
+
instanceType?: string;
|
|
26108
26164
|
};
|
|
26109
26165
|
ReserveSubdomainBody: {
|
|
26110
26166
|
/** @description The subdomain to reserve: a label ("my-app"), which lands on the platform's default sessions domain, or the full host under any registered sessions domain ("my-app.<sessions domain>"). */
|
|
@@ -53188,21 +53244,85 @@ export interface operations {
|
|
|
53188
53244
|
};
|
|
53189
53245
|
"get-reports-legacy-query": {
|
|
53190
53246
|
parameters: {
|
|
53191
|
-
query
|
|
53192
|
-
/** @description
|
|
53193
|
-
organization
|
|
53194
|
-
/** @description
|
|
53247
|
+
query?: {
|
|
53248
|
+
/** @description Organization name. Defaults to the caller's organization; reporting on another organization needs an organization admin or billing admin. */
|
|
53249
|
+
organization?: string;
|
|
53250
|
+
/** @description Group names or ids. Defaults to every group the caller may report on. */
|
|
53251
|
+
group?: string[] | null;
|
|
53252
|
+
/** @description Usernames as recorded on the cost rows. */
|
|
53195
53253
|
user?: string[] | null;
|
|
53196
|
-
/** @description
|
|
53254
|
+
/** @description Resource names. */
|
|
53255
|
+
resource?: string[] | null;
|
|
53256
|
+
/** @description Session numbers. */
|
|
53257
|
+
session?: string[] | null;
|
|
53258
|
+
/** @description Cost types. */
|
|
53259
|
+
type?: string[] | null;
|
|
53260
|
+
/** @description Cloud service provider. */
|
|
53261
|
+
csp?: "AWS" | "GCP" | "AZ";
|
|
53262
|
+
/** @description Only rows dated at or after this time (RFC 3339). */
|
|
53263
|
+
start?: string;
|
|
53264
|
+
/** @description Only rows dated at or before this time (RFC 3339). */
|
|
53265
|
+
end?: string;
|
|
53266
|
+
/** @description Include realtime estimates alongside billed rows. */
|
|
53267
|
+
realtime?: boolean;
|
|
53268
|
+
/** @description Include prorated rows. */
|
|
53269
|
+
prorated?: boolean;
|
|
53270
|
+
/** @description Dimensions to group by. Omit for a single total row. */
|
|
53271
|
+
groupBy?: ("day" | "group" | "user" | "type" | "resource" | "session" | "instanceType")[] | null;
|
|
53272
|
+
/** @description IANA time zone used to bucket days. */
|
|
53273
|
+
timezone?: string;
|
|
53274
|
+
};
|
|
53275
|
+
header?: never;
|
|
53276
|
+
path?: never;
|
|
53277
|
+
cookie?: never;
|
|
53278
|
+
};
|
|
53279
|
+
requestBody?: never;
|
|
53280
|
+
responses: {
|
|
53281
|
+
/** @description OK */
|
|
53282
|
+
200: {
|
|
53283
|
+
headers: {
|
|
53284
|
+
[name: string]: unknown;
|
|
53285
|
+
};
|
|
53286
|
+
content: {
|
|
53287
|
+
"application/json": components["schemas"]["CostRow"][] | null;
|
|
53288
|
+
};
|
|
53289
|
+
};
|
|
53290
|
+
/** @description Error */
|
|
53291
|
+
default: {
|
|
53292
|
+
headers: {
|
|
53293
|
+
[name: string]: unknown;
|
|
53294
|
+
};
|
|
53295
|
+
content: {
|
|
53296
|
+
"application/json": components["schemas"]["Error"];
|
|
53297
|
+
};
|
|
53298
|
+
};
|
|
53299
|
+
};
|
|
53300
|
+
};
|
|
53301
|
+
"get-reports-legacy-query-filter-options": {
|
|
53302
|
+
parameters: {
|
|
53303
|
+
query?: {
|
|
53304
|
+
/** @description Organization name. Defaults to the caller's organization; reporting on another organization needs an organization admin or billing admin. */
|
|
53305
|
+
organization?: string;
|
|
53306
|
+
/** @description Group names or ids. Defaults to every group the caller may report on. */
|
|
53197
53307
|
group?: string[] | null;
|
|
53198
|
-
/** @description
|
|
53308
|
+
/** @description Usernames as recorded on the cost rows. */
|
|
53309
|
+
user?: string[] | null;
|
|
53310
|
+
/** @description Resource names. */
|
|
53199
53311
|
resource?: string[] | null;
|
|
53200
|
-
/** @description
|
|
53312
|
+
/** @description Session numbers. */
|
|
53201
53313
|
session?: string[] | null;
|
|
53202
|
-
/** @description
|
|
53203
|
-
|
|
53204
|
-
/** @description
|
|
53205
|
-
|
|
53314
|
+
/** @description Cost types. */
|
|
53315
|
+
type?: string[] | null;
|
|
53316
|
+
/** @description Cloud service provider. */
|
|
53317
|
+
csp?: "AWS" | "GCP" | "AZ";
|
|
53318
|
+
/** @description Only rows dated at or after this time (RFC 3339). */
|
|
53319
|
+
start?: string;
|
|
53320
|
+
/** @description Only rows dated at or before this time (RFC 3339). */
|
|
53321
|
+
end?: string;
|
|
53322
|
+
/** @description Include realtime estimates alongside billed rows. */
|
|
53323
|
+
realtime?: boolean;
|
|
53324
|
+
/** @description Include prorated rows. */
|
|
53325
|
+
prorated?: boolean;
|
|
53206
53326
|
};
|
|
53207
53327
|
header?: never;
|
|
53208
53328
|
path?: never;
|
|
@@ -53216,9 +53336,7 @@ export interface operations {
|
|
|
53216
53336
|
[name: string]: unknown;
|
|
53217
53337
|
};
|
|
53218
53338
|
content: {
|
|
53219
|
-
"application/json":
|
|
53220
|
-
[key: string]: unknown;
|
|
53221
|
-
}[] | null;
|
|
53339
|
+
"application/json": components["schemas"]["CostFilterOptions"];
|
|
53222
53340
|
};
|
|
53223
53341
|
};
|
|
53224
53342
|
/** @description Error */
|