@parallelworks/client 7.91.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.
Files changed (2) hide show
  1. package/dist/types/api.d.ts +137 -17
  2. package/package.json +1 -1
@@ -12334,10 +12334,10 @@ export interface paths {
12334
12334
  cookie?: never;
12335
12335
  };
12336
12336
  /**
12337
- * Get daily cost report data (legacy)
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
- * Returns daily cost data grouped by type with support for various filters. This is a legacy endpoint.
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 */
@@ -23887,6 +23939,10 @@ export interface components {
23887
23939
  * @example my-bucket
23888
23940
  */
23889
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;
23890
23946
  /** @description Whether the mount uses read-only credentials. */
23891
23947
  readOnly?: boolean;
23892
23948
  /**
@@ -24164,7 +24220,7 @@ export interface components {
24164
24220
  sentryTracesSampleRate: number;
24165
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. */
24166
24222
  sshResumeEnabled: boolean;
24167
- /** @description Whether the stuck-run sweeper is enabled. When on, workflow runs whose executor stops sending heartbeats are automatically finalized. Off by default. */
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. */
24168
24224
  stuckRunSweeperEnabled: boolean;
24169
24225
  /** @description Markdown Terms & Conditions shown to new users during onboarding. Empty disables the prompt. */
24170
24226
  termsAndConditions?: string;
@@ -26103,6 +26159,8 @@ export interface components {
26103
26159
  group: string;
26104
26160
  /** @description Cloud service provider reservation identifier */
26105
26161
  id: string;
26162
+ /** @description Instance type the reservation holds capacity for */
26163
+ instanceType?: string;
26106
26164
  };
26107
26165
  ReserveSubdomainBody: {
26108
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>"). */
@@ -53186,21 +53244,85 @@ export interface operations {
53186
53244
  };
53187
53245
  "get-reports-legacy-query": {
53188
53246
  parameters: {
53189
- query: {
53190
- /** @description Filter by organization */
53191
- organization: string;
53192
- /** @description Filter by users */
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. */
53193
53253
  user?: string[] | null;
53194
- /** @description Filter by groups */
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. */
53195
53307
  group?: string[] | null;
53196
- /** @description Filter by resource names */
53308
+ /** @description Usernames as recorded on the cost rows. */
53309
+ user?: string[] | null;
53310
+ /** @description Resource names. */
53197
53311
  resource?: string[] | null;
53198
- /** @description Filter by sessions */
53312
+ /** @description Session numbers. */
53199
53313
  session?: string[] | null;
53200
- /** @description Start date, specified in UTC */
53201
- startDate: string;
53202
- /** @description End date, specified in UTC Optional; defaults to current UTC time */
53203
- endDate?: string;
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;
53204
53326
  };
53205
53327
  header?: never;
53206
53328
  path?: never;
@@ -53214,9 +53336,7 @@ export interface operations {
53214
53336
  [name: string]: unknown;
53215
53337
  };
53216
53338
  content: {
53217
- "application/json": {
53218
- [key: string]: unknown;
53219
- }[] | null;
53339
+ "application/json": components["schemas"]["CostFilterOptions"];
53220
53340
  };
53221
53341
  };
53222
53342
  /** @description Error */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parallelworks/client",
3
- "version": "7.91.0",
3
+ "version": "7.92.0",
4
4
  "description": "Official TypeScript client for Parallel Works ACTIVATE API",
5
5
  "type": "module",
6
6
  "exports": {