@parallelworks/client 7.101.0 → 7.103.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 +739 -45
  2. package/package.json +1 -1
@@ -294,6 +294,30 @@ export interface paths {
294
294
  patch?: never;
295
295
  trace?: never;
296
296
  };
297
+ "/api/admin/events/actors": {
298
+ parameters: {
299
+ query?: never;
300
+ header?: never;
301
+ path?: never;
302
+ cookie?: never;
303
+ };
304
+ /**
305
+ * List Platform Event Actors
306
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
307
+ *
308
+ * > This is a platform-admin only route.
309
+ *
310
+ * List the distinct actor usernames that appear in audit events across all organizations.
311
+ */
312
+ get: operations["list-admin-event-actors"];
313
+ put?: never;
314
+ post?: never;
315
+ delete?: never;
316
+ options?: never;
317
+ head?: never;
318
+ patch?: never;
319
+ trace?: never;
320
+ };
297
321
  "/api/admin/events/export": {
298
322
  parameters: {
299
323
  query?: never;
@@ -2595,6 +2619,28 @@ export interface paths {
2595
2619
  patch?: never;
2596
2620
  trace?: never;
2597
2621
  };
2622
+ "/api/integrations/github/token": {
2623
+ parameters: {
2624
+ query?: never;
2625
+ header?: never;
2626
+ path?: never;
2627
+ cookie?: never;
2628
+ };
2629
+ get?: never;
2630
+ /**
2631
+ * Connect GitHub with a personal access token
2632
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
2633
+ *
2634
+ * Connects the caller's GitHub account with a personal access token, for a deployment with no GitHub App and for an account the app cannot be installed on. The token is verified against GitHub, stored in the platform's secret store, and never returned.
2635
+ */
2636
+ put: operations["github-connect-token"];
2637
+ post?: never;
2638
+ delete?: never;
2639
+ options?: never;
2640
+ head?: never;
2641
+ patch?: never;
2642
+ trace?: never;
2643
+ };
2598
2644
  "/api/integrations/github/webhook": {
2599
2645
  parameters: {
2600
2646
  query?: never;
@@ -6145,6 +6191,28 @@ export interface paths {
6145
6191
  patch?: never;
6146
6192
  trace?: never;
6147
6193
  };
6194
+ "/api/organizations/{organization}/events/actors": {
6195
+ parameters: {
6196
+ query?: never;
6197
+ header?: never;
6198
+ path?: never;
6199
+ cookie?: never;
6200
+ };
6201
+ /**
6202
+ * List Organization Event Actors
6203
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
6204
+ *
6205
+ * List the distinct actor usernames that appear in the organization's audit events. Requires organization admin.
6206
+ */
6207
+ get: operations["list-organization-event-actors"];
6208
+ put?: never;
6209
+ post?: never;
6210
+ delete?: never;
6211
+ options?: never;
6212
+ head?: never;
6213
+ patch?: never;
6214
+ trace?: never;
6215
+ };
6148
6216
  "/api/organizations/{organization}/events/export": {
6149
6217
  parameters: {
6150
6218
  query?: never;
@@ -13444,6 +13512,28 @@ export interface paths {
13444
13512
  patch?: never;
13445
13513
  trace?: never;
13446
13514
  };
13515
+ "/api/platform/policies/workspace-retention-days": {
13516
+ parameters: {
13517
+ query?: never;
13518
+ header?: never;
13519
+ path?: never;
13520
+ cookie?: never;
13521
+ };
13522
+ get?: never;
13523
+ put?: never;
13524
+ /**
13525
+ * Set platform policy: workspace-retention-days
13526
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
13527
+ *
13528
+ * Sets the workspace-retention-days policy for the platform.
13529
+ */
13530
+ post: operations["set-platform-workspace-retention-days-policy"];
13531
+ delete?: never;
13532
+ options?: never;
13533
+ head?: never;
13534
+ patch?: never;
13535
+ trace?: never;
13536
+ };
13447
13537
  "/api/platform/policies/{policyname}": {
13448
13538
  parameters: {
13449
13539
  query?: never;
@@ -13726,6 +13816,138 @@ export interface paths {
13726
13816
  patch: operations["patch-provision-status"];
13727
13817
  trace?: never;
13728
13818
  };
13819
+ "/api/repo-suggestions/file": {
13820
+ parameters: {
13821
+ query?: never;
13822
+ header?: never;
13823
+ path?: never;
13824
+ cookie?: never;
13825
+ };
13826
+ /**
13827
+ * Read one file from a repository
13828
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
13829
+ *
13830
+ * Reads a single file from a GitHub or GitLab repository with the caller's connected account, so the editor can complete a referenced workflow's inputs. Only a repository and a path within it are accepted, never a URL.
13831
+ */
13832
+ get: operations["repo-suggestion-file"];
13833
+ put?: never;
13834
+ post?: never;
13835
+ delete?: never;
13836
+ options?: never;
13837
+ head?: never;
13838
+ patch?: never;
13839
+ trace?: never;
13840
+ };
13841
+ "/api/repo-suggestions/files": {
13842
+ parameters: {
13843
+ query?: never;
13844
+ header?: never;
13845
+ path?: never;
13846
+ cookie?: never;
13847
+ };
13848
+ /**
13849
+ * List a repository directory
13850
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
13851
+ *
13852
+ * Lists the entries directly under one directory of a GitHub or GitLab repository, read with the caller's connected account.
13853
+ */
13854
+ get: operations["repo-suggestion-files"];
13855
+ put?: never;
13856
+ post?: never;
13857
+ delete?: never;
13858
+ options?: never;
13859
+ head?: never;
13860
+ patch?: never;
13861
+ trace?: never;
13862
+ };
13863
+ "/api/repo-suggestions/gitlab-projects": {
13864
+ parameters: {
13865
+ query?: never;
13866
+ header?: never;
13867
+ path?: never;
13868
+ cookie?: never;
13869
+ };
13870
+ /**
13871
+ * Search GitLab projects across connected servers
13872
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
13873
+ *
13874
+ * Searches the projects the caller can see on every registered GitLab server they are connected to, so the editor can complete a gitlab/ reference that names no host. Each match reports the server it lives on, which is what $host must name.
13875
+ */
13876
+ get: operations["repo-suggestion-gitlab-projects"];
13877
+ put?: never;
13878
+ post?: never;
13879
+ delete?: never;
13880
+ options?: never;
13881
+ head?: never;
13882
+ patch?: never;
13883
+ trace?: never;
13884
+ };
13885
+ "/api/repo-suggestions/owners": {
13886
+ parameters: {
13887
+ query?: never;
13888
+ header?: never;
13889
+ path?: never;
13890
+ cookie?: never;
13891
+ };
13892
+ /**
13893
+ * List the owners a reference can name
13894
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
13895
+ *
13896
+ * Lists the accounts, organizations and GitLab groups the caller can reach, which is what a reference names before it names a repository. Cheaper than listing every repository only to derive the same names from their paths.
13897
+ */
13898
+ get: operations["repo-suggestion-owners"];
13899
+ put?: never;
13900
+ post?: never;
13901
+ delete?: never;
13902
+ options?: never;
13903
+ head?: never;
13904
+ patch?: never;
13905
+ trace?: never;
13906
+ };
13907
+ "/api/repo-suggestions/refs": {
13908
+ parameters: {
13909
+ query?: never;
13910
+ header?: never;
13911
+ path?: never;
13912
+ cookie?: never;
13913
+ };
13914
+ /**
13915
+ * List a repository's branches, tags and recent commits
13916
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
13917
+ *
13918
+ * Lists the branches, tags and most recent commits of a GitHub or GitLab repository, read with the caller's connected account so a private repository completes in the editor.
13919
+ */
13920
+ get: operations["repo-suggestion-refs"];
13921
+ put?: never;
13922
+ post?: never;
13923
+ delete?: never;
13924
+ options?: never;
13925
+ head?: never;
13926
+ patch?: never;
13927
+ trace?: never;
13928
+ };
13929
+ "/api/repo-suggestions/repos": {
13930
+ parameters: {
13931
+ query?: never;
13932
+ header?: never;
13933
+ path?: never;
13934
+ cookie?: never;
13935
+ };
13936
+ /**
13937
+ * List an owner's repositories
13938
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
13939
+ *
13940
+ * Lists the repositories under a GitHub owner, or the projects under a group on a registered GitLab server, read with the caller's connected account. Private repositories appear for an organization the account belongs to and for the account's own namespace.
13941
+ */
13942
+ get: operations["repo-suggestion-repos"];
13943
+ put?: never;
13944
+ post?: never;
13945
+ delete?: never;
13946
+ options?: never;
13947
+ head?: never;
13948
+ patch?: never;
13949
+ trace?: never;
13950
+ };
13729
13951
  "/api/reports/legacy-query": {
13730
13952
  parameters: {
13731
13953
  query?: never;
@@ -15517,6 +15739,8 @@ export type webhooks = Record<string, never>;
15517
15739
  export interface components {
15518
15740
  schemas: {
15519
15741
  AIModelConfig: {
15742
+ /** Format: double */
15743
+ cachedInputRate?: number;
15520
15744
  /** Format: int64 */
15521
15745
  contextWindow?: number;
15522
15746
  enabled: boolean;
@@ -19288,6 +19512,16 @@ export interface components {
19288
19512
  */
19289
19513
  status: "connecting" | "input_needed" | "failed" | "on" | "off";
19290
19514
  };
19515
+ ConnectTokenInputBody: {
19516
+ /** @description A GitHub personal access token, classic or fine-grained. */
19517
+ token: string;
19518
+ };
19519
+ ConnectTokenOutputBody: {
19520
+ /** @description Whether the token can read private repositories. */
19521
+ private: boolean;
19522
+ /** @description The GitHub account the token belongs to. */
19523
+ username: string;
19524
+ };
19291
19525
  ConnectWithTokenInputBody: {
19292
19526
  /** @description A personal access token from the GitLab server with the read_api scope. Stored in the platform vault and never returned. */
19293
19527
  token: string;
@@ -19870,6 +20104,8 @@ export interface components {
19870
20104
  environmentId?: string;
19871
20105
  /** @description Kernel name. Auto-generated if omitted. */
19872
20106
  name?: string;
20107
+ /** @description Run the kernel on the cluster's controller agent directly instead of scheduling a worker. Cluster targets only; starts immediately with no Slurm allocation. */
20108
+ runOnController?: boolean;
19873
20109
  /** @description Scheduling parameters for the kernel's worker. */
19874
20110
  schedulingParams?: {
19875
20111
  [key: string]: unknown;
@@ -21004,6 +21240,10 @@ export interface components {
21004
21240
  /** @description Actor username. */
21005
21241
  username?: string;
21006
21242
  };
21243
+ EventActorsOutputBody: {
21244
+ /** @description Distinct actor usernames, sorted. */
21245
+ actors: string[] | null;
21246
+ };
21007
21247
  EventHTTP: {
21008
21248
  /** @description HTTP method. */
21009
21249
  method?: string;
@@ -21079,6 +21319,8 @@ export interface components {
21079
21319
  total: number;
21080
21320
  };
21081
21321
  ExistingCluster: {
21322
+ /** @description Version the connected agent reported when its tunnel registered; empty when no tunnel is registered */
21323
+ agentVersion?: string;
21082
21324
  /**
21083
21325
  * Format: date-time
21084
21326
  * @description Set when the user explicitly disconnected this cluster; reconcilers use this to skip auto-reconnect
@@ -21216,6 +21458,12 @@ export interface components {
21216
21458
  /** @description The zone of the instance, if applicable. */
21217
21459
  zone: string;
21218
21460
  };
21461
+ FileOutputBody: {
21462
+ content: string;
21463
+ };
21464
+ FilesOutputBody: {
21465
+ entries: components["schemas"]["RepoTreeEntry"][] | null;
21466
+ };
21219
21467
  FilesystemInfo: {
21220
21468
  /** @description Device name (e.g., /dev/sda1) */
21221
21469
  device: string;
@@ -21519,7 +21767,25 @@ export interface components {
21519
21767
  /** @description The organization's user workspace bootstrap script, or empty when none is set. */
21520
21768
  script: string;
21521
21769
  };
21770
+ GitHubAppConfigRequest: {
21771
+ /** @description Whether a user may connect GitHub with a personal access token. Omit to leave unchanged. */
21772
+ allowPersonalAccessTokens?: boolean;
21773
+ /**
21774
+ * Format: int64
21775
+ * @description GitHub App ID. Omit for a personal-access-token-only deployment.
21776
+ */
21777
+ appId?: number;
21778
+ /** @description OAuth Client ID for user authentication. Omit for a personal-access-token-only deployment. */
21779
+ clientId?: string;
21780
+ /** @description OAuth Client Secret (only sent when updating) */
21781
+ clientSecret?: string;
21782
+ /** @description Private key in PEM format (only sent when updating) */
21783
+ privateKeyPEM?: string;
21784
+ /** @description Webhook secret for verifying GitHub webhook payloads (only sent when updating) */
21785
+ webhookSecret?: string;
21786
+ };
21522
21787
  GitHubAppConfigResponse: {
21788
+ allowPersonalAccessTokens: boolean;
21523
21789
  /** Format: int64 */
21524
21790
  appId: number;
21525
21791
  appName: string;
@@ -21639,6 +21905,18 @@ export interface components {
21639
21905
  */
21640
21906
  tlsVerification?: "public" | "ca-certificate" | "skip";
21641
21907
  };
21908
+ GitlabProjectListing: {
21909
+ description?: string;
21910
+ /** @description Server this project lives on, for $host. */
21911
+ host: string;
21912
+ /** @description GROUP/.../PROJECT, what follows gitlab/ in a uses: reference. */
21913
+ path: string;
21914
+ private: boolean;
21915
+ };
21916
+ GitlabProjectsOutputBody: {
21917
+ /** @description Matches across every server the caller is connected to. */
21918
+ projects: components["schemas"]["GitlabProjectListing"][] | null;
21919
+ };
21642
21920
  GoogleBucket: {
21643
21921
  /**
21644
21922
  * @description The requesting user's access level for this bucket.
@@ -22056,37 +22334,27 @@ export interface components {
22056
22334
  zone?: string;
22057
22335
  };
22058
22336
  Group: {
22059
- /**
22060
- * Format: double
22061
- * @description The total allocation for this group.
22062
- */
22063
- allocation?: number;
22064
- /**
22065
- * Format: double
22066
- * @description The allocation used for this group
22067
- */
22068
- allocationUsed?: number;
22069
22337
  /** @description Group allocation information, will only show up for groups you are in. Always shows for admins. */
22070
- allocations?: components["schemas"]["Allocations"];
22338
+ readonly allocations?: components["schemas"]["Allocations"];
22071
22339
  /**
22072
22340
  * Format: date-time
22073
22341
  * @description Group creation time
22074
22342
  */
22075
- createdAt?: string;
22343
+ readonly createdAt?: string;
22076
22344
  /** @description The group description. */
22077
22345
  description?: string;
22078
22346
  /**
22079
22347
  * Format: int64
22080
22348
  * @description POSIX group ID, used by user workspaces to create matching system groups.
22081
22349
  */
22082
- gid?: number;
22350
+ readonly gid?: number;
22083
22351
  /** @description The group ID. */
22084
22352
  readonly id?: string;
22085
22353
  /**
22086
22354
  * Format: int64
22087
22355
  * @description Number of group members
22088
22356
  */
22089
- members?: number;
22357
+ readonly members?: number;
22090
22358
  /** @description The group name. */
22091
22359
  name: string | null;
22092
22360
  /** @description Organization name */
@@ -22172,6 +22440,8 @@ export interface components {
22172
22440
  HealthSnapshot: {
22173
22441
  /** @description Per-domain certificate summary. */
22174
22442
  domains?: components["schemas"]["HealthSnapshotDomain"][] | null;
22443
+ /** @description Error tracker counts. */
22444
+ errors?: components["schemas"]["HealthSnapshotErrors"];
22175
22445
  /** @description Basic deployment health. */
22176
22446
  health: components["schemas"]["HealthSnapshotHealth"];
22177
22447
  /**
@@ -22185,6 +22455,8 @@ export interface components {
22185
22455
  usage: components["schemas"]["HealthSnapshotUsage"];
22186
22456
  /** @description Deployment version. */
22187
22457
  version?: string;
22458
+ } & {
22459
+ [key: string]: unknown;
22188
22460
  };
22189
22461
  HealthSnapshotDomain: {
22190
22462
  /**
@@ -22203,6 +22475,17 @@ export interface components {
22203
22475
  * @description Certificate expiry.
22204
22476
  */
22205
22477
  notAfter?: string;
22478
+ } & {
22479
+ [key: string]: unknown;
22480
+ };
22481
+ HealthSnapshotErrors: {
22482
+ /**
22483
+ * Format: int64
22484
+ * @description Unhandled errors recorded over the trailing 24 hours. The error log is a capped collection, so once it wraps this is a floor, not an exact total.
22485
+ */
22486
+ count24h?: number;
22487
+ } & {
22488
+ [key: string]: unknown;
22206
22489
  };
22207
22490
  HealthSnapshotHealth: {
22208
22491
  /** @description Whether the deployment can reach its database. */
@@ -22212,6 +22495,8 @@ export interface components {
22212
22495
  * @description Process start time.
22213
22496
  */
22214
22497
  startedAt?: string;
22498
+ } & {
22499
+ [key: string]: unknown;
22215
22500
  };
22216
22501
  HealthSnapshotLicense: {
22217
22502
  /** @description Whether the license is expired beyond the grace period. */
@@ -22223,8 +22508,28 @@ export interface components {
22223
22508
  expiresAt?: string;
22224
22509
  /** @description Whether the license is in its grace period. */
22225
22510
  gracePeriod?: boolean;
22511
+ } & {
22512
+ [key: string]: unknown;
22513
+ };
22514
+ HealthSnapshotOrgUsage: {
22515
+ /** @description Organization name. */
22516
+ name: string;
22517
+ /**
22518
+ * Format: int64
22519
+ * @description Users in the organization holding a license seat.
22520
+ */
22521
+ seatsAssigned: number;
22522
+ /**
22523
+ * Format: int64
22524
+ * @description Seats allocated to the organization, when an allocation exists.
22525
+ */
22526
+ seatsTotal?: number;
22527
+ } & {
22528
+ [key: string]: unknown;
22226
22529
  };
22227
22530
  HealthSnapshotUsage: {
22531
+ /** @description Per-organization seat usage for organizations with a seat allocation. */
22532
+ orgs?: components["schemas"]["HealthSnapshotOrgUsage"][] | null;
22228
22533
  /**
22229
22534
  * Format: int64
22230
22535
  * @description Users holding a license seat.
@@ -22245,6 +22550,8 @@ export interface components {
22245
22550
  * @description Monthly active users over the last 30 days.
22246
22551
  */
22247
22552
  totalMAU?: number;
22553
+ } & {
22554
+ [key: string]: unknown;
22248
22555
  };
22249
22556
  HeartbeatAccessManagement: {
22250
22557
  /** @description Enable pam_mkhomedir for automatic home directory creation; absent means unmanaged */
@@ -22987,7 +23294,7 @@ export interface components {
22987
23294
  * @description Compute the kernel runs on.
22988
23295
  * @enum {string}
22989
23296
  */
22990
- readonly targetType?: "cluster" | "instance";
23297
+ readonly targetType?: "cluster" | "instance" | "controller";
22991
23298
  /** @description Base path the kernel's Jupyter server is served at. */
22992
23299
  readonly url: string;
22993
23300
  /** @description ID of the compute worker running the kernel. */
@@ -24516,6 +24823,8 @@ export interface components {
24516
24823
  status: string | null;
24517
24824
  };
24518
24825
  ModelEntry: {
24826
+ /** Format: double */
24827
+ cached_input_rate?: number;
24519
24828
  /** Format: int64 */
24520
24829
  context_window?: number;
24521
24830
  /** Format: int64 */
@@ -24553,6 +24862,11 @@ export interface components {
24553
24862
  keys: string;
24554
24863
  };
24555
24864
  MonitoredDeploymentSummary: {
24865
+ /**
24866
+ * Format: int64
24867
+ * @description Unhandled errors the deployment recorded over the trailing 24 hours; a floor once its capped error log wraps.
24868
+ */
24869
+ errorCount24h?: number;
24556
24870
  /** @description Alert rules currently firing for this deployment, evaluated live from the latest snapshot. */
24557
24871
  firingAlerts: string[] | null;
24558
24872
  /**
@@ -25266,6 +25580,8 @@ export interface components {
25266
25580
  appSlug?: string;
25267
25581
  /** Format: date-time */
25268
25582
  connectedAt?: string;
25583
+ method?: string;
25584
+ tokensAllowed: boolean;
25269
25585
  username?: string;
25270
25586
  };
25271
25587
  Oidc: {
@@ -25810,6 +26126,11 @@ export interface components {
25810
26126
  type: string;
25811
26127
  };
25812
26128
  OrgModelEntry: {
26129
+ /**
26130
+ * Format: double
26131
+ * @description USD per input token served from the provider's prompt cache (0 = the input rate)
26132
+ */
26133
+ cachedInputRate?: number;
25813
26134
  /**
25814
26135
  * Format: int64
25815
26136
  * @description Model context window in tokens (0 = unknown)
@@ -26064,10 +26385,21 @@ export interface components {
26064
26385
  */
26065
26386
  totalCount: number;
26066
26387
  };
26388
+ OwnerListing: {
26389
+ /** @description GitLab only: the server this namespace is on. */
26390
+ host?: string;
26391
+ /** @description user, organization or group. */
26392
+ kind: string;
26393
+ /** @description What follows github/ or gitlab/ in a reference. */
26394
+ name: string;
26395
+ };
26067
26396
  OwnerOutputBody: {
26068
26397
  /** @description The username of the current organization owner, if set. */
26069
26398
  username?: string;
26070
26399
  };
26400
+ OwnersOutputBody: {
26401
+ owners: components["schemas"]["OwnerListing"][] | null;
26402
+ };
26071
26403
  PartitionInfo: {
26072
26404
  /**
26073
26405
  * Format: int64
@@ -26212,6 +26544,11 @@ export interface components {
26212
26544
  status?: string;
26213
26545
  };
26214
26546
  PatchModelConfigInputBody: {
26547
+ /**
26548
+ * Format: double
26549
+ * @description USD per input token served from the provider's prompt cache (0 = the input rate)
26550
+ */
26551
+ cachedInputRate?: number;
26215
26552
  /**
26216
26553
  * Format: int64
26217
26554
  * @description Model context window in tokens (0 = unknown)
@@ -27096,6 +27433,13 @@ export interface components {
27096
27433
  visibility: string;
27097
27434
  webUrl: string;
27098
27435
  };
27436
+ PromptTokensDetails: {
27437
+ /**
27438
+ * Format: int64
27439
+ * @description Prompt tokens served from the provider's prompt cache
27440
+ */
27441
+ cached_tokens: number;
27442
+ };
27099
27443
  ProvisionStatusAttribute: {
27100
27444
  /** @description The attribute key. */
27101
27445
  key: string;
@@ -28107,21 +28451,6 @@ export interface components {
28107
28451
  */
28108
28452
  type: "cloudclusters" | "userworkspaces";
28109
28453
  };
28110
- PutGitHubAppConfigInputBody: {
28111
- /**
28112
- * Format: int64
28113
- * @description GitHub App ID
28114
- */
28115
- appId: number;
28116
- /** @description OAuth Client ID for user authentication */
28117
- clientId: string;
28118
- /** @description OAuth Client Secret (only sent when updating) */
28119
- clientSecret?: string;
28120
- /** @description Private key in PEM format (only sent when updating) */
28121
- privateKeyPEM?: string;
28122
- /** @description Webhook secret for verifying GitHub webhook payloads (only sent when updating) */
28123
- webhookSecret?: string;
28124
- };
28125
28454
  PutImageInputBody: {
28126
28455
  /**
28127
28456
  * @description Image architecture
@@ -28448,6 +28777,10 @@ export interface components {
28448
28777
  /** Format: int64 */
28449
28778
  minFreeBytes: number;
28450
28779
  };
28780
+ RefsOutputBody: {
28781
+ /** @description Tags first, newest by version, then branches, then recent commits. */
28782
+ refs: components["schemas"]["RepoRefName"][] | null;
28783
+ };
28451
28784
  RegionResource: {
28452
28785
  cidr?: string;
28453
28786
  cspId?: string;
@@ -28560,6 +28893,19 @@ export interface components {
28560
28893
  */
28561
28894
  revision: string;
28562
28895
  };
28896
+ RepoListing: {
28897
+ description: string;
28898
+ /** @description Repository name, relative to the owner asked for: OWNER/REPO when no owner was given. */
28899
+ name: string;
28900
+ private: boolean;
28901
+ };
28902
+ RepoRefName: {
28903
+ /** @description A commit's subject line. Empty for a branch or a tag. */
28904
+ detail: string;
28905
+ /** @description branch, tag or commit. */
28906
+ kind: string;
28907
+ name: string;
28908
+ };
28563
28909
  RepoResponse: {
28564
28910
  defaultBranch: string;
28565
28911
  description: string;
@@ -28572,6 +28918,11 @@ export interface components {
28572
28918
  /** Format: date-time */
28573
28919
  updatedAt: string;
28574
28920
  };
28921
+ RepoTreeEntry: {
28922
+ path: string;
28923
+ /** @description blob for a file, tree for a directory. */
28924
+ type: string;
28925
+ };
28575
28926
  Report: {
28576
28927
  /**
28577
28928
  * Format: date-time
@@ -28618,6 +28969,9 @@ export interface components {
28618
28969
  ReportWorkspaceMountStatusInputBody: {
28619
28970
  mounts: components["schemas"]["WorkspaceMountStatus"][] | null;
28620
28971
  };
28972
+ ReposOutputBody: {
28973
+ repos: components["schemas"]["RepoListing"][] | null;
28974
+ };
28621
28975
  ReservationItem: {
28622
28976
  /** @description Name of the allocation the reservation bills under the flexible allocation system */
28623
28977
  allocation?: string;
@@ -28762,7 +29116,7 @@ export interface components {
28762
29116
  tags?: {
28763
29117
  [key: string]: string;
28764
29118
  };
28765
- /** @description Platform user from the resource tags. */
29119
+ /** @description Owning platform username when resolved; otherwise the recorded owner value. */
28766
29120
  username?: string;
28767
29121
  /** @description Availability zone. */
28768
29122
  zone?: string;
@@ -31057,9 +31411,10 @@ export interface components {
31057
31411
  completion_tokens: number;
31058
31412
  /**
31059
31413
  * Format: int64
31060
- * @description Tokens in the prompt
31414
+ * @description Tokens in the prompt, cached ones included
31061
31415
  */
31062
31416
  prompt_tokens: number;
31417
+ prompt_tokens_details?: components["schemas"]["PromptTokensDetails"];
31063
31418
  /**
31064
31419
  * Format: int64
31065
31420
  * @description Total tokens used
@@ -32358,8 +32713,8 @@ export interface operations {
32358
32713
  to?: string;
32359
32714
  /** @description Filter by event type (repeatable). */
32360
32715
  type?: string[] | null;
32361
- /** @description Filter by exact actor username. */
32362
- actor?: string;
32716
+ /** @description Filter by exact actor username (repeatable). */
32717
+ actor?: string[] | null;
32363
32718
  /** @description Filter by actor type. */
32364
32719
  actorType?: "user" | "apikey" | "workflow-token" | "cluster-token" | "scim" | "system" | "anonymous";
32365
32720
  /** @description Filter by target type. */
@@ -32405,6 +32760,35 @@ export interface operations {
32405
32760
  };
32406
32761
  };
32407
32762
  };
32763
+ "list-admin-event-actors": {
32764
+ parameters: {
32765
+ query?: never;
32766
+ header?: never;
32767
+ path?: never;
32768
+ cookie?: never;
32769
+ };
32770
+ requestBody?: never;
32771
+ responses: {
32772
+ /** @description OK */
32773
+ 200: {
32774
+ headers: {
32775
+ [name: string]: unknown;
32776
+ };
32777
+ content: {
32778
+ "application/json": components["schemas"]["EventActorsOutputBody"];
32779
+ };
32780
+ };
32781
+ /** @description Error */
32782
+ default: {
32783
+ headers: {
32784
+ [name: string]: unknown;
32785
+ };
32786
+ content: {
32787
+ "application/json": components["schemas"]["Error"];
32788
+ };
32789
+ };
32790
+ };
32791
+ };
32408
32792
  "export-admin-events": {
32409
32793
  parameters: {
32410
32794
  query?: {
@@ -32414,8 +32798,8 @@ export interface operations {
32414
32798
  to?: string;
32415
32799
  /** @description Filter by event type (repeatable). */
32416
32800
  type?: string[] | null;
32417
- /** @description Filter by exact actor username. */
32418
- actor?: string;
32801
+ /** @description Filter by exact actor username (repeatable). */
32802
+ actor?: string[] | null;
32419
32803
  /** @description Filter by actor type. */
32420
32804
  actorType?: "user" | "apikey" | "workflow-token" | "cluster-token" | "scim" | "system" | "anonymous";
32421
32805
  /** @description Filter by target type. */
@@ -35825,8 +36209,8 @@ export interface operations {
35825
36209
  to?: string;
35826
36210
  /** @description Filter by event type (repeatable). */
35827
36211
  type?: string[] | null;
35828
- /** @description Filter by exact actor username. */
35829
- actor?: string;
36212
+ /** @description Filter by exact actor username (repeatable). */
36213
+ actor?: string[] | null;
35830
36214
  /** @description Filter by actor type. */
35831
36215
  actorType?: "user" | "apikey" | "workflow-token" | "cluster-token" | "scim" | "system" | "anonymous";
35832
36216
  /** @description Filter by target type. */
@@ -35886,8 +36270,8 @@ export interface operations {
35886
36270
  to?: string;
35887
36271
  /** @description Filter by event type (repeatable). */
35888
36272
  type?: string[] | null;
35889
- /** @description Filter by exact actor username. */
35890
- actor?: string;
36273
+ /** @description Filter by exact actor username (repeatable). */
36274
+ actor?: string[] | null;
35891
36275
  /** @description Filter by actor type. */
35892
36276
  actorType?: "user" | "apikey" | "workflow-token" | "cluster-token" | "scim" | "system" | "anonymous";
35893
36277
  /** @description Filter by target type. */
@@ -36380,6 +36764,39 @@ export interface operations {
36380
36764
  };
36381
36765
  };
36382
36766
  };
36767
+ "github-connect-token": {
36768
+ parameters: {
36769
+ query?: never;
36770
+ header?: never;
36771
+ path?: never;
36772
+ cookie?: never;
36773
+ };
36774
+ requestBody: {
36775
+ content: {
36776
+ "application/json": components["schemas"]["ConnectTokenInputBody"];
36777
+ };
36778
+ };
36779
+ responses: {
36780
+ /** @description OK */
36781
+ 200: {
36782
+ headers: {
36783
+ [name: string]: unknown;
36784
+ };
36785
+ content: {
36786
+ "application/json": components["schemas"]["ConnectTokenOutputBody"];
36787
+ };
36788
+ };
36789
+ /** @description Error */
36790
+ default: {
36791
+ headers: {
36792
+ [name: string]: unknown;
36793
+ };
36794
+ content: {
36795
+ "application/json": components["schemas"]["Error"];
36796
+ };
36797
+ };
36798
+ };
36799
+ };
36383
36800
  "github-webhook": {
36384
36801
  parameters: {
36385
36802
  query?: never;
@@ -43277,8 +43694,8 @@ export interface operations {
43277
43694
  to?: string;
43278
43695
  /** @description Filter by event type (repeatable). */
43279
43696
  type?: string[] | null;
43280
- /** @description Filter by exact actor username. */
43281
- actor?: string;
43697
+ /** @description Filter by exact actor username (repeatable). */
43698
+ actor?: string[] | null;
43282
43699
  /** @description Filter by actor type. */
43283
43700
  actorType?: "user" | "apikey" | "workflow-token" | "cluster-token" | "scim" | "system" | "anonymous";
43284
43701
  /** @description Filter by target type. */
@@ -43325,6 +43742,38 @@ export interface operations {
43325
43742
  };
43326
43743
  };
43327
43744
  };
43745
+ "list-organization-event-actors": {
43746
+ parameters: {
43747
+ query?: never;
43748
+ header?: never;
43749
+ path: {
43750
+ /** @description The name of the organization. */
43751
+ organization: string;
43752
+ };
43753
+ cookie?: never;
43754
+ };
43755
+ requestBody?: never;
43756
+ responses: {
43757
+ /** @description OK */
43758
+ 200: {
43759
+ headers: {
43760
+ [name: string]: unknown;
43761
+ };
43762
+ content: {
43763
+ "application/json": components["schemas"]["EventActorsOutputBody"];
43764
+ };
43765
+ };
43766
+ /** @description Error */
43767
+ default: {
43768
+ headers: {
43769
+ [name: string]: unknown;
43770
+ };
43771
+ content: {
43772
+ "application/json": components["schemas"]["Error"];
43773
+ };
43774
+ };
43775
+ };
43776
+ };
43328
43777
  "export-organization-events": {
43329
43778
  parameters: {
43330
43779
  query?: {
@@ -43334,8 +43783,8 @@ export interface operations {
43334
43783
  to?: string;
43335
43784
  /** @description Filter by event type (repeatable). */
43336
43785
  type?: string[] | null;
43337
- /** @description Filter by exact actor username. */
43338
- actor?: string;
43786
+ /** @description Filter by exact actor username (repeatable). */
43787
+ actor?: string[] | null;
43339
43788
  /** @description Filter by actor type. */
43340
43789
  actorType?: "user" | "apikey" | "workflow-token" | "cluster-token" | "scim" | "system" | "anonymous";
43341
43790
  /** @description Filter by target type. */
@@ -57913,7 +58362,7 @@ export interface operations {
57913
58362
  };
57914
58363
  requestBody: {
57915
58364
  content: {
57916
- "application/json": components["schemas"]["PutGitHubAppConfigInputBody"];
58365
+ "application/json": components["schemas"]["GitHubAppConfigRequest"];
57917
58366
  };
57918
58367
  };
57919
58368
  responses: {
@@ -58750,6 +59199,41 @@ export interface operations {
58750
59199
  };
58751
59200
  };
58752
59201
  };
59202
+ "set-platform-workspace-retention-days-policy": {
59203
+ parameters: {
59204
+ query?: never;
59205
+ header?: never;
59206
+ path?: never;
59207
+ cookie?: never;
59208
+ };
59209
+ requestBody: {
59210
+ content: {
59211
+ "application/json": number;
59212
+ };
59213
+ };
59214
+ responses: {
59215
+ /** @description OK */
59216
+ 200: {
59217
+ headers: {
59218
+ [name: string]: unknown;
59219
+ };
59220
+ content: {
59221
+ "application/json": {
59222
+ [key: string]: components["schemas"]["IntPolicyOutput"];
59223
+ };
59224
+ };
59225
+ };
59226
+ /** @description Error */
59227
+ default: {
59228
+ headers: {
59229
+ [name: string]: unknown;
59230
+ };
59231
+ content: {
59232
+ "application/json": components["schemas"]["Error"];
59233
+ };
59234
+ };
59235
+ };
59236
+ };
58753
59237
  "delete-platform-policy": {
58754
59238
  parameters: {
58755
59239
  query?: never;
@@ -59260,6 +59744,216 @@ export interface operations {
59260
59744
  };
59261
59745
  };
59262
59746
  };
59747
+ "repo-suggestion-file": {
59748
+ parameters: {
59749
+ query: {
59750
+ /** @description Repository the file lives in. */
59751
+ repo: string;
59752
+ /** @description Branch, tag or commit. Defaults to the repository's default branch. */
59753
+ ref?: string;
59754
+ /** @description Path of the file within the repository. */
59755
+ path: string;
59756
+ };
59757
+ header?: never;
59758
+ path?: never;
59759
+ cookie?: never;
59760
+ };
59761
+ requestBody?: never;
59762
+ responses: {
59763
+ /** @description OK */
59764
+ 200: {
59765
+ headers: {
59766
+ [name: string]: unknown;
59767
+ };
59768
+ content: {
59769
+ "application/json": components["schemas"]["FileOutputBody"];
59770
+ };
59771
+ };
59772
+ /** @description Error */
59773
+ default: {
59774
+ headers: {
59775
+ [name: string]: unknown;
59776
+ };
59777
+ content: {
59778
+ "application/json": components["schemas"]["Error"];
59779
+ };
59780
+ };
59781
+ };
59782
+ };
59783
+ "repo-suggestion-files": {
59784
+ parameters: {
59785
+ query: {
59786
+ /** @description Repository to list files in. */
59787
+ repo: string;
59788
+ /** @description Branch, tag or commit. Defaults to the repository's default branch. */
59789
+ ref?: string;
59790
+ /** @description Directory to list. Defaults to the repository root. */
59791
+ path?: string;
59792
+ /** @description List every descendant instead of one directory, for completing a path in one pass. */
59793
+ recursive?: boolean;
59794
+ };
59795
+ header?: never;
59796
+ path?: never;
59797
+ cookie?: never;
59798
+ };
59799
+ requestBody?: never;
59800
+ responses: {
59801
+ /** @description OK */
59802
+ 200: {
59803
+ headers: {
59804
+ [name: string]: unknown;
59805
+ };
59806
+ content: {
59807
+ "application/json": components["schemas"]["FilesOutputBody"];
59808
+ };
59809
+ };
59810
+ /** @description Error */
59811
+ default: {
59812
+ headers: {
59813
+ [name: string]: unknown;
59814
+ };
59815
+ content: {
59816
+ "application/json": components["schemas"]["Error"];
59817
+ };
59818
+ };
59819
+ };
59820
+ };
59821
+ "repo-suggestion-gitlab-projects": {
59822
+ parameters: {
59823
+ query?: {
59824
+ /** @description Substring to match against GROUP/PROJECT paths. */
59825
+ search?: string;
59826
+ /** @description Limit to one registered server. Omit to search every server the caller is connected to. */
59827
+ host?: string;
59828
+ };
59829
+ header?: never;
59830
+ path?: never;
59831
+ cookie?: never;
59832
+ };
59833
+ requestBody?: never;
59834
+ responses: {
59835
+ /** @description OK */
59836
+ 200: {
59837
+ headers: {
59838
+ [name: string]: unknown;
59839
+ };
59840
+ content: {
59841
+ "application/json": components["schemas"]["GitlabProjectsOutputBody"];
59842
+ };
59843
+ };
59844
+ /** @description Error */
59845
+ default: {
59846
+ headers: {
59847
+ [name: string]: unknown;
59848
+ };
59849
+ content: {
59850
+ "application/json": components["schemas"]["Error"];
59851
+ };
59852
+ };
59853
+ };
59854
+ };
59855
+ "repo-suggestion-owners": {
59856
+ parameters: {
59857
+ query: {
59858
+ /** @description Which provider to list owners for. */
59859
+ provider: "github" | "gitlab";
59860
+ /** @description Substring to match against the owner name. */
59861
+ search?: string;
59862
+ /** @description GitLab only: limit to one registered server. */
59863
+ host?: string;
59864
+ };
59865
+ header?: never;
59866
+ path?: never;
59867
+ cookie?: never;
59868
+ };
59869
+ requestBody?: never;
59870
+ responses: {
59871
+ /** @description OK */
59872
+ 200: {
59873
+ headers: {
59874
+ [name: string]: unknown;
59875
+ };
59876
+ content: {
59877
+ "application/json": components["schemas"]["OwnersOutputBody"];
59878
+ };
59879
+ };
59880
+ /** @description Error */
59881
+ default: {
59882
+ headers: {
59883
+ [name: string]: unknown;
59884
+ };
59885
+ content: {
59886
+ "application/json": components["schemas"]["Error"];
59887
+ };
59888
+ };
59889
+ };
59890
+ };
59891
+ "repo-suggestion-refs": {
59892
+ parameters: {
59893
+ query: {
59894
+ /** @description Repository to list refs for: OWNER/REPO for GitHub, or the URL of a project on a registered GitLab server. */
59895
+ repo: string;
59896
+ };
59897
+ header?: never;
59898
+ path?: never;
59899
+ cookie?: never;
59900
+ };
59901
+ requestBody?: never;
59902
+ responses: {
59903
+ /** @description OK */
59904
+ 200: {
59905
+ headers: {
59906
+ [name: string]: unknown;
59907
+ };
59908
+ content: {
59909
+ "application/json": components["schemas"]["RefsOutputBody"];
59910
+ };
59911
+ };
59912
+ /** @description Error */
59913
+ default: {
59914
+ headers: {
59915
+ [name: string]: unknown;
59916
+ };
59917
+ content: {
59918
+ "application/json": components["schemas"]["Error"];
59919
+ };
59920
+ };
59921
+ };
59922
+ };
59923
+ "repo-suggestion-repos": {
59924
+ parameters: {
59925
+ query?: {
59926
+ /** @description Owner, organization or GitLab group whose repositories to list. Omit for every GitHub repository the caller can reach, across owners. */
59927
+ owner?: string;
59928
+ /** @description Host of a registered GitLab server. Omit for GitHub. */
59929
+ host?: string;
59930
+ };
59931
+ header?: never;
59932
+ path?: never;
59933
+ cookie?: never;
59934
+ };
59935
+ requestBody?: never;
59936
+ responses: {
59937
+ /** @description OK */
59938
+ 200: {
59939
+ headers: {
59940
+ [name: string]: unknown;
59941
+ };
59942
+ content: {
59943
+ "application/json": components["schemas"]["ReposOutputBody"];
59944
+ };
59945
+ };
59946
+ /** @description Error */
59947
+ default: {
59948
+ headers: {
59949
+ [name: string]: unknown;
59950
+ };
59951
+ content: {
59952
+ "application/json": components["schemas"]["Error"];
59953
+ };
59954
+ };
59955
+ };
59956
+ };
59263
59957
  "get-reports-legacy-query": {
59264
59958
  parameters: {
59265
59959
  query?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parallelworks/client",
3
- "version": "7.101.0",
3
+ "version": "7.103.0",
4
4
  "description": "Official TypeScript client for Parallel Works ACTIVATE API",
5
5
  "type": "module",
6
6
  "exports": {