@enumco/client 2026.4.2 → 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
 
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { GetKubernetesClusterRequest, GetKubernetesClusterResponse, ListKubernetesClustersRequest, ListKubernetesClustersResponse } from "./kubernetes_clusters_service_pb.js";
6
+ import { GetKubeconfigRequest, GetKubeconfigResponse, GetKubernetesClusterByNameRequest, GetKubernetesClusterByNameResponse, GetKubernetesClusterRequest, GetKubernetesClusterResponse, ListKubernetesClustersRequest, ListKubernetesClustersResponse } from "./kubernetes_clusters_service_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -30,6 +30,24 @@ export const KubernetesClusterService = {
30
30
  O: GetKubernetesClusterResponse,
31
31
  kind: MethodKind.Unary,
32
32
  },
33
+ /**
34
+ * @generated from rpc enum.api.v1.KubernetesClusterService.GetKubernetesClusterByName
35
+ */
36
+ getKubernetesClusterByName: {
37
+ name: "GetKubernetesClusterByName",
38
+ I: GetKubernetesClusterByNameRequest,
39
+ O: GetKubernetesClusterByNameResponse,
40
+ kind: MethodKind.Unary,
41
+ },
42
+ /**
43
+ * @generated from rpc enum.api.v1.KubernetesClusterService.GetKubeconfig
44
+ */
45
+ getKubeconfig: {
46
+ name: "GetKubeconfig",
47
+ I: GetKubeconfigRequest,
48
+ O: GetKubeconfigResponse,
49
+ kind: MethodKind.Unary,
50
+ },
33
51
  }
34
52
  } as const;
35
53
 
@@ -168,3 +168,165 @@ export class GetKubernetesClusterResponse extends Message<GetKubernetesClusterRe
168
168
  }
169
169
  }
170
170
 
171
+ /**
172
+ * @generated from message enum.api.v1.GetKubernetesClusterByNameRequest
173
+ */
174
+ export class GetKubernetesClusterByNameRequest extends Message<GetKubernetesClusterByNameRequest> {
175
+ /**
176
+ * @generated from field: string project_id = 1;
177
+ */
178
+ projectId = "";
179
+
180
+ /**
181
+ * @generated from field: string name = 2;
182
+ */
183
+ name = "";
184
+
185
+ constructor(data?: PartialMessage<GetKubernetesClusterByNameRequest>) {
186
+ super();
187
+ proto3.util.initPartial(data, this);
188
+ }
189
+
190
+ static readonly runtime: typeof proto3 = proto3;
191
+ static readonly typeName = "enum.api.v1.GetKubernetesClusterByNameRequest";
192
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
193
+ { no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
194
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
195
+ ]);
196
+
197
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetKubernetesClusterByNameRequest {
198
+ return new GetKubernetesClusterByNameRequest().fromBinary(bytes, options);
199
+ }
200
+
201
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetKubernetesClusterByNameRequest {
202
+ return new GetKubernetesClusterByNameRequest().fromJson(jsonValue, options);
203
+ }
204
+
205
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetKubernetesClusterByNameRequest {
206
+ return new GetKubernetesClusterByNameRequest().fromJsonString(jsonString, options);
207
+ }
208
+
209
+ static equals(a: GetKubernetesClusterByNameRequest | PlainMessage<GetKubernetesClusterByNameRequest> | undefined, b: GetKubernetesClusterByNameRequest | PlainMessage<GetKubernetesClusterByNameRequest> | undefined): boolean {
210
+ return proto3.util.equals(GetKubernetesClusterByNameRequest, a, b);
211
+ }
212
+ }
213
+
214
+ /**
215
+ * @generated from message enum.api.v1.GetKubernetesClusterByNameResponse
216
+ */
217
+ export class GetKubernetesClusterByNameResponse extends Message<GetKubernetesClusterByNameResponse> {
218
+ /**
219
+ * @generated from field: enum.api.v1.KubernetesCluster cluster = 1;
220
+ */
221
+ cluster?: KubernetesCluster;
222
+
223
+ constructor(data?: PartialMessage<GetKubernetesClusterByNameResponse>) {
224
+ super();
225
+ proto3.util.initPartial(data, this);
226
+ }
227
+
228
+ static readonly runtime: typeof proto3 = proto3;
229
+ static readonly typeName = "enum.api.v1.GetKubernetesClusterByNameResponse";
230
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
231
+ { no: 1, name: "cluster", kind: "message", T: KubernetesCluster },
232
+ ]);
233
+
234
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetKubernetesClusterByNameResponse {
235
+ return new GetKubernetesClusterByNameResponse().fromBinary(bytes, options);
236
+ }
237
+
238
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetKubernetesClusterByNameResponse {
239
+ return new GetKubernetesClusterByNameResponse().fromJson(jsonValue, options);
240
+ }
241
+
242
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetKubernetesClusterByNameResponse {
243
+ return new GetKubernetesClusterByNameResponse().fromJsonString(jsonString, options);
244
+ }
245
+
246
+ static equals(a: GetKubernetesClusterByNameResponse | PlainMessage<GetKubernetesClusterByNameResponse> | undefined, b: GetKubernetesClusterByNameResponse | PlainMessage<GetKubernetesClusterByNameResponse> | undefined): boolean {
247
+ return proto3.util.equals(GetKubernetesClusterByNameResponse, a, b);
248
+ }
249
+ }
250
+
251
+ /**
252
+ * @generated from message enum.api.v1.GetKubeconfigRequest
253
+ */
254
+ export class GetKubeconfigRequest extends Message<GetKubeconfigRequest> {
255
+ /**
256
+ * @generated from field: string project_id = 1;
257
+ */
258
+ projectId = "";
259
+
260
+ /**
261
+ * @generated from field: string name = 2;
262
+ */
263
+ name = "";
264
+
265
+ constructor(data?: PartialMessage<GetKubeconfigRequest>) {
266
+ super();
267
+ proto3.util.initPartial(data, this);
268
+ }
269
+
270
+ static readonly runtime: typeof proto3 = proto3;
271
+ static readonly typeName = "enum.api.v1.GetKubeconfigRequest";
272
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
273
+ { no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
274
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
275
+ ]);
276
+
277
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetKubeconfigRequest {
278
+ return new GetKubeconfigRequest().fromBinary(bytes, options);
279
+ }
280
+
281
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetKubeconfigRequest {
282
+ return new GetKubeconfigRequest().fromJson(jsonValue, options);
283
+ }
284
+
285
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetKubeconfigRequest {
286
+ return new GetKubeconfigRequest().fromJsonString(jsonString, options);
287
+ }
288
+
289
+ static equals(a: GetKubeconfigRequest | PlainMessage<GetKubeconfigRequest> | undefined, b: GetKubeconfigRequest | PlainMessage<GetKubeconfigRequest> | undefined): boolean {
290
+ return proto3.util.equals(GetKubeconfigRequest, a, b);
291
+ }
292
+ }
293
+
294
+ /**
295
+ * @generated from message enum.api.v1.GetKubeconfigResponse
296
+ */
297
+ export class GetKubeconfigResponse extends Message<GetKubeconfigResponse> {
298
+ /**
299
+ * YAML-encoded kubeconfig ready to merge into ~/.kube/config.
300
+ *
301
+ * @generated from field: string kubeconfig = 1;
302
+ */
303
+ kubeconfig = "";
304
+
305
+ constructor(data?: PartialMessage<GetKubeconfigResponse>) {
306
+ super();
307
+ proto3.util.initPartial(data, this);
308
+ }
309
+
310
+ static readonly runtime: typeof proto3 = proto3;
311
+ static readonly typeName = "enum.api.v1.GetKubeconfigResponse";
312
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
313
+ { no: 1, name: "kubeconfig", kind: "scalar", T: 9 /* ScalarType.STRING */ },
314
+ ]);
315
+
316
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetKubeconfigResponse {
317
+ return new GetKubeconfigResponse().fromBinary(bytes, options);
318
+ }
319
+
320
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetKubeconfigResponse {
321
+ return new GetKubeconfigResponse().fromJson(jsonValue, options);
322
+ }
323
+
324
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetKubeconfigResponse {
325
+ return new GetKubeconfigResponse().fromJsonString(jsonString, options);
326
+ }
327
+
328
+ static equals(a: GetKubeconfigResponse | PlainMessage<GetKubeconfigResponse> | undefined, b: GetKubeconfigResponse | PlainMessage<GetKubeconfigResponse> | undefined): boolean {
329
+ return proto3.util.equals(GetKubeconfigResponse, a, b);
330
+ }
331
+ }
332
+
@@ -12,7 +12,12 @@ import { ObjectStorageAccessKey } from "./object_storage_access_keys_pb.js";
12
12
  */
13
13
  export class ListObjectStorageAccessKeysRequest extends Message<ListObjectStorageAccessKeysRequest> {
14
14
  /**
15
- * @generated from field: string object_storage_user_id = 1;
15
+ * @generated from field: string project_id = 1;
16
+ */
17
+ projectId = "";
18
+
19
+ /**
20
+ * @generated from field: string object_storage_user_id = 2;
16
21
  */
17
22
  objectStorageUserId = "";
18
23
 
@@ -24,7 +29,8 @@ export class ListObjectStorageAccessKeysRequest extends Message<ListObjectStorag
24
29
  static readonly runtime: typeof proto3 = proto3;
25
30
  static readonly typeName = "enum.api.v1.ListObjectStorageAccessKeysRequest";
26
31
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
27
- { no: 1, name: "object_storage_user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
32
+ { no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
33
+ { no: 2, name: "object_storage_user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
28
34
  ]);
29
35
 
30
36
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListObjectStorageAccessKeysRequest {
@@ -86,7 +92,12 @@ export class ListObjectStorageAccessKeysResponse extends Message<ListObjectStora
86
92
  */
87
93
  export class CreateObjectStorageAccessKeyRequest extends Message<CreateObjectStorageAccessKeyRequest> {
88
94
  /**
89
- * @generated from field: string object_storage_user_id = 1;
95
+ * @generated from field: string project_id = 1;
96
+ */
97
+ projectId = "";
98
+
99
+ /**
100
+ * @generated from field: string object_storage_user_id = 2;
90
101
  */
91
102
  objectStorageUserId = "";
92
103
 
@@ -98,7 +109,8 @@ export class CreateObjectStorageAccessKeyRequest extends Message<CreateObjectSto
98
109
  static readonly runtime: typeof proto3 = proto3;
99
110
  static readonly typeName = "enum.api.v1.CreateObjectStorageAccessKeyRequest";
100
111
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
101
- { no: 1, name: "object_storage_user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
112
+ { no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
113
+ { no: 2, name: "object_storage_user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
102
114
  ]);
103
115
 
104
116
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateObjectStorageAccessKeyRequest {
@@ -168,7 +180,12 @@ export class CreateObjectStorageAccessKeyResponse extends Message<CreateObjectSt
168
180
  */
169
181
  export class GetObjectStorageAccessKeyRequest extends Message<GetObjectStorageAccessKeyRequest> {
170
182
  /**
171
- * @generated from field: string id = 1;
183
+ * @generated from field: string project_id = 1;
184
+ */
185
+ projectId = "";
186
+
187
+ /**
188
+ * @generated from field: string id = 2;
172
189
  */
173
190
  id = "";
174
191
 
@@ -180,7 +197,8 @@ export class GetObjectStorageAccessKeyRequest extends Message<GetObjectStorageAc
180
197
  static readonly runtime: typeof proto3 = proto3;
181
198
  static readonly typeName = "enum.api.v1.GetObjectStorageAccessKeyRequest";
182
199
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
183
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
200
+ { no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
201
+ { no: 2, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
184
202
  ]);
185
203
 
186
204
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetObjectStorageAccessKeyRequest {
@@ -242,7 +260,12 @@ export class GetObjectStorageAccessKeyResponse extends Message<GetObjectStorageA
242
260
  */
243
261
  export class GetObjectStorageAccessKeyByKeyIdRequest extends Message<GetObjectStorageAccessKeyByKeyIdRequest> {
244
262
  /**
245
- * @generated from field: string access_key_id = 1;
263
+ * @generated from field: string project_id = 1;
264
+ */
265
+ projectId = "";
266
+
267
+ /**
268
+ * @generated from field: string access_key_id = 2;
246
269
  */
247
270
  accessKeyId = "";
248
271
 
@@ -254,7 +277,8 @@ export class GetObjectStorageAccessKeyByKeyIdRequest extends Message<GetObjectSt
254
277
  static readonly runtime: typeof proto3 = proto3;
255
278
  static readonly typeName = "enum.api.v1.GetObjectStorageAccessKeyByKeyIdRequest";
256
279
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
257
- { no: 1, name: "access_key_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
280
+ { no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
281
+ { no: 2, name: "access_key_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
258
282
  ]);
259
283
 
260
284
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetObjectStorageAccessKeyByKeyIdRequest {
@@ -316,7 +340,12 @@ export class GetObjectStorageAccessKeyByKeyIdResponse extends Message<GetObjectS
316
340
  */
317
341
  export class DeleteObjectStorageAccessKeyRequest extends Message<DeleteObjectStorageAccessKeyRequest> {
318
342
  /**
319
- * @generated from field: string id = 1;
343
+ * @generated from field: string project_id = 1;
344
+ */
345
+ projectId = "";
346
+
347
+ /**
348
+ * @generated from field: string id = 2;
320
349
  */
321
350
  id = "";
322
351
 
@@ -328,7 +357,8 @@ export class DeleteObjectStorageAccessKeyRequest extends Message<DeleteObjectSto
328
357
  static readonly runtime: typeof proto3 = proto3;
329
358
  static readonly typeName = "enum.api.v1.DeleteObjectStorageAccessKeyRequest";
330
359
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
331
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
360
+ { no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
361
+ { no: 2, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
332
362
  ]);
333
363
 
334
364
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteObjectStorageAccessKeyRequest {
@@ -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
@@ -99,7 +100,12 @@ export class ListObjectStorageUsersResponse extends Message<ListObjectStorageUse
99
100
  */
100
101
  export class GetObjectStorageUserRequest extends Message<GetObjectStorageUserRequest> {
101
102
  /**
102
- * @generated from field: string id = 1;
103
+ * @generated from field: string project_id = 1;
104
+ */
105
+ projectId = "";
106
+
107
+ /**
108
+ * @generated from field: string id = 2;
103
109
  */
104
110
  id = "";
105
111
 
@@ -111,7 +117,8 @@ export class GetObjectStorageUserRequest extends Message<GetObjectStorageUserReq
111
117
  static readonly runtime: typeof proto3 = proto3;
112
118
  static readonly typeName = "enum.api.v1.GetObjectStorageUserRequest";
113
119
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
114
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
120
+ { no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
121
+ { no: 2, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
115
122
  ]);
116
123
 
117
124
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetObjectStorageUserRequest {
@@ -220,6 +227,18 @@ export class CreateObjectStorageUserResponse extends Message<CreateObjectStorage
220
227
  */
221
228
  objectStorageUser?: ObjectStorageUser;
222
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
+
223
242
  constructor(data?: PartialMessage<CreateObjectStorageUserResponse>) {
224
243
  super();
225
244
  proto3.util.initPartial(data, this);
@@ -229,6 +248,8 @@ export class CreateObjectStorageUserResponse extends Message<CreateObjectStorage
229
248
  static readonly typeName = "enum.api.v1.CreateObjectStorageUserResponse";
230
249
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
231
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 */ },
232
253
  ]);
233
254
 
234
255
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateObjectStorageUserResponse {
@@ -253,12 +274,17 @@ export class CreateObjectStorageUserResponse extends Message<CreateObjectStorage
253
274
  */
254
275
  export class UpdateObjectStorageUserRequest extends Message<UpdateObjectStorageUserRequest> {
255
276
  /**
256
- * @generated from field: string id = 1;
277
+ * @generated from field: string project_id = 1;
278
+ */
279
+ projectId = "";
280
+
281
+ /**
282
+ * @generated from field: string id = 2;
257
283
  */
258
284
  id = "";
259
285
 
260
286
  /**
261
- * @generated from field: string display_name = 2;
287
+ * @generated from field: string display_name = 3;
262
288
  */
263
289
  displayName = "";
264
290
 
@@ -270,8 +296,9 @@ export class UpdateObjectStorageUserRequest extends Message<UpdateObjectStorageU
270
296
  static readonly runtime: typeof proto3 = proto3;
271
297
  static readonly typeName = "enum.api.v1.UpdateObjectStorageUserRequest";
272
298
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
273
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
274
- { no: 2, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
299
+ { no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
300
+ { no: 2, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
301
+ { no: 3, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
275
302
  ]);
276
303
 
277
304
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateObjectStorageUserRequest {
@@ -333,7 +360,12 @@ export class UpdateObjectStorageUserResponse extends Message<UpdateObjectStorage
333
360
  */
334
361
  export class DeleteObjectStorageUserRequest extends Message<DeleteObjectStorageUserRequest> {
335
362
  /**
336
- * @generated from field: string id = 1;
363
+ * @generated from field: string project_id = 1;
364
+ */
365
+ projectId = "";
366
+
367
+ /**
368
+ * @generated from field: string id = 2;
337
369
  */
338
370
  id = "";
339
371
 
@@ -345,7 +377,8 @@ export class DeleteObjectStorageUserRequest extends Message<DeleteObjectStorageU
345
377
  static readonly runtime: typeof proto3 = proto3;
346
378
  static readonly typeName = "enum.api.v1.DeleteObjectStorageUserRequest";
347
379
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
348
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
380
+ { no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
381
+ { no: 2, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
349
382
  ]);
350
383
 
351
384
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteObjectStorageUserRequest {
@@ -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
 
@@ -37,6 +37,11 @@ export class User extends Message<User> {
37
37
  */
38
38
  createdAt?: Timestamp;
39
39
 
40
+ /**
41
+ * @generated from field: google.protobuf.Timestamp updated_at = 6;
42
+ */
43
+ updatedAt?: Timestamp;
44
+
40
45
  constructor(data?: PartialMessage<User>) {
41
46
  super();
42
47
  proto3.util.initPartial(data, this);
@@ -50,6 +55,7 @@ export class User extends Message<User> {
50
55
  { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
51
56
  { no: 4, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
52
57
  { no: 5, name: "created_at", kind: "message", T: Timestamp },
58
+ { no: 6, name: "updated_at", kind: "message", T: Timestamp },
53
59
  ]);
54
60
 
55
61
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): User {
@@ -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.2",
3
+ "version": "2026.4.4",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "dependencies": {