@enumco/client 2026.4.3 → 2026.4.4

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/README.md CHANGED
@@ -35,8 +35,8 @@ const { project } = await client.projects.getProject({ id: "proj-456" });
35
35
 
36
36
  ```ts
37
37
  createClient({
38
- token: string; // required - API token
39
- baseUrl?: string; // optional - defaults to https://api.enum.co
38
+ token: string; // required - API token
39
+ baseUrl?: string; // optional - defaults to https://api.enum.co
40
40
  })
41
41
  ```
42
42
 
@@ -7,6 +7,7 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialM
7
7
  import { Message, proto3 } from "@bufbuild/protobuf";
8
8
  import { PageRequest, PageResponse } from "./common_pb.js";
9
9
  import { ObjectStorageUser } from "./object_storage_users_pb.js";
10
+ import { ObjectStorageAccessKey } from "./object_storage_access_keys_pb.js";
10
11
 
11
12
  /**
12
13
  * @generated from message enum.api.v1.ListObjectStorageUsersRequest
@@ -226,6 +227,18 @@ export class CreateObjectStorageUserResponse extends Message<CreateObjectStorage
226
227
  */
227
228
  objectStorageUser?: ObjectStorageUser;
228
229
 
230
+ /**
231
+ * @generated from field: enum.api.v1.ObjectStorageAccessKey initial_access_key = 2;
232
+ */
233
+ initialAccessKey?: ObjectStorageAccessKey;
234
+
235
+ /**
236
+ * Secret key is only returned on creation and not stored retrievably.
237
+ *
238
+ * @generated from field: string secret_access_key = 3;
239
+ */
240
+ secretAccessKey = "";
241
+
229
242
  constructor(data?: PartialMessage<CreateObjectStorageUserResponse>) {
230
243
  super();
231
244
  proto3.util.initPartial(data, this);
@@ -235,6 +248,8 @@ export class CreateObjectStorageUserResponse extends Message<CreateObjectStorage
235
248
  static readonly typeName = "enum.api.v1.CreateObjectStorageUserResponse";
236
249
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
237
250
  { no: 1, name: "object_storage_user", kind: "message", T: ObjectStorageUser },
251
+ { no: 2, name: "initial_access_key", kind: "message", T: ObjectStorageAccessKey },
252
+ { no: 3, name: "secret_access_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
238
253
  ]);
239
254
 
240
255
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateObjectStorageUserResponse {
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse, ListOrganizationsRequest, ListOrganizationsResponse, UpdateOrganizationRequest, UpdateOrganizationResponse } from "./organizations_service_pb.js";
6
+ import { GetOrganizationRequest, GetOrganizationResponse, ListOrganizationsRequest, ListOrganizationsResponse } from "./organizations_service_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -30,24 +30,6 @@ export const OrganizationService = {
30
30
  O: GetOrganizationResponse,
31
31
  kind: MethodKind.Unary,
32
32
  },
33
- /**
34
- * @generated from rpc enum.api.v1.OrganizationService.CreateOrganization
35
- */
36
- createOrganization: {
37
- name: "CreateOrganization",
38
- I: CreateOrganizationRequest,
39
- O: CreateOrganizationResponse,
40
- kind: MethodKind.Unary,
41
- },
42
- /**
43
- * @generated from rpc enum.api.v1.OrganizationService.UpdateOrganization
44
- */
45
- updateOrganization: {
46
- name: "UpdateOrganization",
47
- I: UpdateOrganizationRequest,
48
- O: UpdateOrganizationResponse,
49
- kind: MethodKind.Unary,
50
- },
51
33
  }
52
34
  } as const;
53
35
 
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { AttachUserToProjectRequest, AttachUserToProjectResponse, CreateProjectRequest, CreateProjectResponse, DetachUserFromProjectRequest, DetachUserFromProjectResponse, GetProjectRequest, GetProjectResponse, ListProjectMembersRequest, ListProjectMembersResponse, ListProjectsRequest, ListProjectsResponse, UpdateProjectRequest, UpdateProjectResponse } from "./projects_service_pb.js";
6
+ import { GetProjectRequest, GetProjectResponse, ListProjectMembersRequest, ListProjectMembersResponse, ListProjectsRequest, ListProjectsResponse } from "./projects_service_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -30,24 +30,6 @@ export const ProjectService = {
30
30
  O: GetProjectResponse,
31
31
  kind: MethodKind.Unary,
32
32
  },
33
- /**
34
- * @generated from rpc enum.api.v1.ProjectService.CreateProject
35
- */
36
- createProject: {
37
- name: "CreateProject",
38
- I: CreateProjectRequest,
39
- O: CreateProjectResponse,
40
- kind: MethodKind.Unary,
41
- },
42
- /**
43
- * @generated from rpc enum.api.v1.ProjectService.UpdateProject
44
- */
45
- updateProject: {
46
- name: "UpdateProject",
47
- I: UpdateProjectRequest,
48
- O: UpdateProjectResponse,
49
- kind: MethodKind.Unary,
50
- },
51
33
  /**
52
34
  * @generated from rpc enum.api.v1.ProjectService.ListProjectMembers
53
35
  */
@@ -57,24 +39,6 @@ export const ProjectService = {
57
39
  O: ListProjectMembersResponse,
58
40
  kind: MethodKind.Unary,
59
41
  },
60
- /**
61
- * @generated from rpc enum.api.v1.ProjectService.AttachUserToProject
62
- */
63
- attachUserToProject: {
64
- name: "AttachUserToProject",
65
- I: AttachUserToProjectRequest,
66
- O: AttachUserToProjectResponse,
67
- kind: MethodKind.Unary,
68
- },
69
- /**
70
- * @generated from rpc enum.api.v1.ProjectService.DetachUserFromProject
71
- */
72
- detachUserFromProject: {
73
- name: "DetachUserFromProject",
74
- I: DetachUserFromProjectRequest,
75
- O: DetachUserFromProjectResponse,
76
- kind: MethodKind.Unary,
77
- },
78
42
  }
79
43
  } as const;
80
44
 
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { CreateUserRequest, CreateUserResponse, GetUserRequest, GetUserResponse, ListUserProjectsRequest, ListUserProjectsResponse, ListUsersRequest, ListUsersResponse, UpdateUserRequest, UpdateUserResponse } from "./users_service_pb.js";
6
+ import { GetUserRequest, GetUserResponse, ListUserProjectsRequest, ListUserProjectsResponse, ListUsersRequest, ListUsersResponse } from "./users_service_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -30,24 +30,6 @@ export const UserService = {
30
30
  O: GetUserResponse,
31
31
  kind: MethodKind.Unary,
32
32
  },
33
- /**
34
- * @generated from rpc enum.api.v1.UserService.CreateUser
35
- */
36
- createUser: {
37
- name: "CreateUser",
38
- I: CreateUserRequest,
39
- O: CreateUserResponse,
40
- kind: MethodKind.Unary,
41
- },
42
- /**
43
- * @generated from rpc enum.api.v1.UserService.UpdateUser
44
- */
45
- updateUser: {
46
- name: "UpdateUser",
47
- I: UpdateUserRequest,
48
- O: UpdateUserResponse,
49
- kind: MethodKind.Unary,
50
- },
51
33
  /**
52
34
  * @generated from rpc enum.api.v1.UserService.ListUserProjects
53
35
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enumco/client",
3
- "version": "2026.4.3",
3
+ "version": "2026.4.4",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "dependencies": {