@parallelworks/client 7.118.0 → 7.119.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.
@@ -3061,6 +3061,28 @@ export interface paths {
3061
3061
  patch?: never;
3062
3062
  trace?: never;
3063
3063
  };
3064
+ "/api/events/resources/{targetType}/{targetId}/actors": {
3065
+ parameters: {
3066
+ query?: never;
3067
+ header?: never;
3068
+ path?: never;
3069
+ cookie?: never;
3070
+ };
3071
+ /**
3072
+ * List Resource Event Actors
3073
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
3074
+ *
3075
+ * List the distinct actor usernames that appear in a single resource's audit events. Requires view access to the resource.
3076
+ */
3077
+ get: operations["list-resource-event-actors"];
3078
+ put?: never;
3079
+ post?: never;
3080
+ delete?: never;
3081
+ options?: never;
3082
+ head?: never;
3083
+ patch?: never;
3084
+ trace?: never;
3085
+ };
3064
3086
  "/api/events/resources/{targetType}/{targetId}/export": {
3065
3087
  parameters: {
3066
3088
  query?: never;
@@ -23721,9 +23743,14 @@ export interface components {
23721
23743
  /** @description Actor username. */
23722
23744
  username?: string;
23723
23745
  };
23746
+ EventActorOption: {
23747
+ /** @description Avatar image URL; absent when no user record matches the username. */
23748
+ avatarUrl?: string;
23749
+ username: string;
23750
+ };
23724
23751
  EventActorsOutputBody: {
23725
- /** @description Distinct actor usernames, sorted. */
23726
- actors: string[] | null;
23752
+ /** @description Distinct actors, sorted by username. */
23753
+ actors: components["schemas"]["EventActorOption"][] | null;
23727
23754
  };
23728
23755
  EventHTTP: {
23729
23756
  /** @description HTTP method. */
@@ -30018,7 +30045,7 @@ export interface components {
30018
30045
  * @description Memory request (GB). Send null to clear.
30019
30046
  */
30020
30047
  memoryRequest?: number | null;
30021
- /** @description Host for user workspaces. Send null to clear. */
30048
+ /** @description Host for user workspaces. Only a platform admin can set a new value. Send null to clear. */
30022
30049
  userHost?: string | null;
30023
30050
  /** @description Container image for user workspaces. Send null to clear. */
30024
30051
  workspaceImage?: string | null;
@@ -35232,7 +35259,7 @@ export interface components {
35232
35259
  * @enum {string|null}
35233
35260
  */
35234
35261
  userWorkspaceType?: "docker" | "k8s" | null;
35235
- /** @description User host. Send null to revert to inherited. */
35262
+ /** @description User host. Only a platform admin can set a new value. Send null to revert to inherited. */
35236
35263
  userhost?: string | null;
35237
35264
  };
35238
35265
  VerifyOtpInputBody: {
@@ -35729,7 +35756,7 @@ export interface components {
35729
35756
  * @description Memory request (GB). Send null to clear.
35730
35757
  */
35731
35758
  memoryRequest?: number | null;
35732
- /** @description Host for user workspaces. Send null to clear. */
35759
+ /** @description Host for user workspaces. Only a platform admin can set a new value. Send null to clear. */
35733
35760
  userHost?: string | null;
35734
35761
  /** @description Container image for user workspaces. Send null to clear. */
35735
35762
  workspaceImage?: string | null;
@@ -36806,7 +36833,12 @@ export interface operations {
36806
36833
  };
36807
36834
  "list-admin-event-actors": {
36808
36835
  parameters: {
36809
- query?: never;
36836
+ query?: {
36837
+ /** @description Only actors with events at or after this time (RFC3339). */
36838
+ from?: string;
36839
+ /** @description Only actors with events at or before this time (RFC3339). */
36840
+ to?: string;
36841
+ };
36810
36842
  header?: never;
36811
36843
  path?: never;
36812
36844
  cookie?: never;
@@ -41086,6 +41118,45 @@ export interface operations {
41086
41118
  };
41087
41119
  };
41088
41120
  };
41121
+ "list-resource-event-actors": {
41122
+ parameters: {
41123
+ query?: {
41124
+ /** @description Only actors with events at or after this time (RFC3339). */
41125
+ from?: string;
41126
+ /** @description Only actors with events at or before this time (RFC3339). */
41127
+ to?: string;
41128
+ };
41129
+ header?: never;
41130
+ path: {
41131
+ /** @description Target resource type. */
41132
+ targetType: "cluster" | "storage" | "user";
41133
+ /** @description Target resource id (hex ObjectID). */
41134
+ targetId: string;
41135
+ };
41136
+ cookie?: never;
41137
+ };
41138
+ requestBody?: never;
41139
+ responses: {
41140
+ /** @description OK */
41141
+ 200: {
41142
+ headers: {
41143
+ [name: string]: unknown;
41144
+ };
41145
+ content: {
41146
+ "application/json": components["schemas"]["EventActorsOutputBody"];
41147
+ };
41148
+ };
41149
+ /** @description Error */
41150
+ default: {
41151
+ headers: {
41152
+ [name: string]: unknown;
41153
+ };
41154
+ content: {
41155
+ "application/json": components["schemas"]["Error"];
41156
+ };
41157
+ };
41158
+ };
41159
+ };
41089
41160
  "export-resource-events": {
41090
41161
  parameters: {
41091
41162
  query?: {
@@ -49013,7 +49084,12 @@ export interface operations {
49013
49084
  };
49014
49085
  "list-organization-event-actors": {
49015
49086
  parameters: {
49016
- query?: never;
49087
+ query?: {
49088
+ /** @description Only actors with events at or after this time (RFC3339). */
49089
+ from?: string;
49090
+ /** @description Only actors with events at or before this time (RFC3339). */
49091
+ to?: string;
49092
+ };
49017
49093
  header?: never;
49018
49094
  path: {
49019
49095
  /** @description The name of the organization. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parallelworks/client",
3
- "version": "7.118.0",
3
+ "version": "7.119.0",
4
4
  "description": "Official TypeScript client for Parallel Works ACTIVATE API",
5
5
  "type": "module",
6
6
  "exports": {