@enumco/client 2026.4.3 → 2026.4.5

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 (105) hide show
  1. package/README.md +3 -3
  2. package/dist/gen/enum/api/v1/common_pb.d.ts +45 -0
  3. package/dist/gen/enum/api/v1/common_pb.d.ts.map +1 -0
  4. package/dist/gen/enum/api/v1/common_pb.js +76 -0
  5. package/dist/gen/enum/api/v1/common_pb.js.map +1 -0
  6. package/dist/gen/enum/api/v1/kubernetes_clusters_pb.d.ts +56 -0
  7. package/dist/gen/enum/api/v1/kubernetes_clusters_pb.d.ts.map +1 -0
  8. package/dist/gen/enum/api/v1/kubernetes_clusters_pb.js +76 -0
  9. package/dist/gen/enum/api/v1/kubernetes_clusters_pb.js.map +1 -0
  10. package/dist/gen/enum/api/v1/kubernetes_clusters_service_connect.d.ts +47 -0
  11. package/dist/gen/enum/api/v1/kubernetes_clusters_service_connect.d.ts.map +1 -0
  12. package/dist/gen/enum/api/v1/kubernetes_clusters_service_connect.js +51 -0
  13. package/dist/gen/enum/api/v1/kubernetes_clusters_service_connect.js.map +1 -0
  14. package/dist/gen/enum/api/v1/kubernetes_clusters_service_pb.d.ts +159 -0
  15. package/dist/gen/enum/api/v1/kubernetes_clusters_service_pb.d.ts.map +1 -0
  16. package/dist/gen/enum/api/v1/kubernetes_clusters_service_pb.js +270 -0
  17. package/dist/gen/enum/api/v1/kubernetes_clusters_service_pb.js.map +1 -0
  18. package/dist/gen/enum/api/v1/object_storage_access_keys_pb.d.ts +36 -0
  19. package/dist/gen/enum/api/v1/object_storage_access_keys_pb.d.ts.map +1 -0
  20. package/dist/gen/enum/api/v1/object_storage_access_keys_pb.js +56 -0
  21. package/dist/gen/enum/api/v1/object_storage_access_keys_pb.js.map +1 -0
  22. package/dist/gen/enum/api/v1/object_storage_access_keys_service_connect.d.ts +56 -0
  23. package/dist/gen/enum/api/v1/object_storage_access_keys_service_connect.d.ts.map +1 -0
  24. package/dist/gen/enum/api/v1/object_storage_access_keys_service_connect.js +60 -0
  25. package/dist/gen/enum/api/v1/object_storage_access_keys_service_connect.js.map +1 -0
  26. package/dist/gen/enum/api/v1/object_storage_access_keys_service_pb.d.ts +196 -0
  27. package/dist/gen/enum/api/v1/object_storage_access_keys_service_pb.d.ts.map +1 -0
  28. package/dist/gen/enum/api/v1/object_storage_access_keys_service_pb.js +333 -0
  29. package/dist/gen/enum/api/v1/object_storage_access_keys_service_pb.js.map +1 -0
  30. package/dist/gen/enum/api/v1/object_storage_users_pb.d.ts +40 -0
  31. package/dist/gen/enum/api/v1/object_storage_users_pb.d.ts.map +1 -0
  32. package/dist/gen/enum/api/v1/object_storage_users_pb.js +61 -0
  33. package/dist/gen/enum/api/v1/object_storage_users_pb.js.map +1 -0
  34. package/dist/gen/enum/api/v1/object_storage_users_service_connect.d.ts +56 -0
  35. package/dist/gen/enum/api/v1/object_storage_users_service_connect.d.ts.map +1 -0
  36. package/dist/gen/enum/api/v1/object_storage_users_service_connect.js +60 -0
  37. package/dist/gen/enum/api/v1/object_storage_users_service_connect.js.map +1 -0
  38. package/dist/gen/enum/api/v1/object_storage_users_service_pb.d.ts +210 -0
  39. package/dist/gen/enum/api/v1/object_storage_users_service_pb.d.ts.map +1 -0
  40. package/dist/gen/enum/api/v1/object_storage_users_service_pb.js +350 -0
  41. package/dist/gen/enum/api/v1/object_storage_users_service_pb.js.map +1 -0
  42. package/dist/gen/enum/api/v1/options_pb.d.ts +6 -0
  43. package/dist/gen/enum/api/v1/options_pb.d.ts.map +1 -0
  44. package/{gen/enum/api/v1/options_pb.ts → dist/gen/enum/api/v1/options_pb.js} +2 -8
  45. package/dist/gen/enum/api/v1/options_pb.js.map +1 -0
  46. package/dist/gen/enum/api/v1/organizations_pb.d.ts +36 -0
  47. package/dist/gen/enum/api/v1/organizations_pb.d.ts.map +1 -0
  48. package/dist/gen/enum/api/v1/organizations_pb.js +56 -0
  49. package/dist/gen/enum/api/v1/organizations_pb.js.map +1 -0
  50. package/dist/gen/enum/api/v1/organizations_service_connect.d.ts +29 -0
  51. package/dist/gen/enum/api/v1/organizations_service_connect.d.ts.map +1 -0
  52. package/dist/gen/enum/api/v1/organizations_service_connect.js +33 -0
  53. package/dist/gen/enum/api/v1/organizations_service_connect.js.map +1 -0
  54. package/dist/gen/enum/api/v1/organizations_service_pb.d.ts +161 -0
  55. package/dist/gen/enum/api/v1/organizations_service_pb.d.ts.map +1 -0
  56. package/dist/gen/enum/api/v1/organizations_service_pb.js +273 -0
  57. package/dist/gen/enum/api/v1/organizations_service_pb.js.map +1 -0
  58. package/dist/gen/enum/api/v1/projects_pb.d.ts +46 -0
  59. package/dist/gen/enum/api/v1/projects_pb.d.ts.map +1 -0
  60. package/dist/gen/enum/api/v1/projects_pb.js +66 -0
  61. package/dist/gen/enum/api/v1/projects_pb.js.map +1 -0
  62. package/dist/gen/enum/api/v1/projects_service_connect.d.ts +38 -0
  63. package/dist/gen/enum/api/v1/projects_service_connect.d.ts.map +1 -0
  64. package/dist/gen/enum/api/v1/projects_service_connect.js +42 -0
  65. package/dist/gen/enum/api/v1/projects_service_connect.js.map +1 -0
  66. package/dist/gen/enum/api/v1/projects_service_pb.d.ts +280 -0
  67. package/dist/gen/enum/api/v1/projects_service_pb.d.ts.map +1 -0
  68. package/dist/gen/enum/api/v1/projects_service_pb.js +467 -0
  69. package/dist/gen/enum/api/v1/projects_service_pb.js.map +1 -0
  70. package/dist/gen/enum/api/v1/users_pb.d.ts +42 -0
  71. package/dist/gen/enum/api/v1/users_pb.d.ts.map +1 -0
  72. package/dist/gen/enum/api/v1/users_pb.js +63 -0
  73. package/dist/gen/enum/api/v1/users_pb.js.map +1 -0
  74. package/dist/gen/enum/api/v1/users_service_connect.d.ts +38 -0
  75. package/dist/gen/enum/api/v1/users_service_connect.d.ts.map +1 -0
  76. package/dist/gen/enum/api/v1/users_service_connect.js +42 -0
  77. package/dist/gen/enum/api/v1/users_service_connect.js.map +1 -0
  78. package/dist/gen/enum/api/v1/users_service_pb.d.ts +200 -0
  79. package/dist/gen/enum/api/v1/users_service_pb.d.ts.map +1 -0
  80. package/dist/gen/enum/api/v1/users_service_pb.js +339 -0
  81. package/dist/gen/enum/api/v1/users_service_pb.js.map +1 -0
  82. package/dist/index.d.ts +39 -0
  83. package/dist/index.d.ts.map +1 -0
  84. package/{index.ts → dist/index.js} +24 -46
  85. package/dist/index.js.map +1 -0
  86. package/package.json +17 -2
  87. package/gen/enum/api/v1/common_pb.ts +0 -94
  88. package/gen/enum/api/v1/kubernetes_clusters_pb.ts +0 -93
  89. package/gen/enum/api/v1/kubernetes_clusters_service_connect.ts +0 -53
  90. package/gen/enum/api/v1/kubernetes_clusters_service_pb.ts +0 -332
  91. package/gen/enum/api/v1/object_storage_access_keys_pb.ts +0 -69
  92. package/gen/enum/api/v1/object_storage_access_keys_service_connect.ts +0 -62
  93. package/gen/enum/api/v1/object_storage_access_keys_service_pb.ts +0 -411
  94. package/gen/enum/api/v1/object_storage_users_pb.ts +0 -75
  95. package/gen/enum/api/v1/object_storage_users_service_connect.ts +0 -62
  96. package/gen/enum/api/v1/object_storage_users_service_pb.ts +0 -416
  97. package/gen/enum/api/v1/organizations_pb.ts +0 -69
  98. package/gen/enum/api/v1/organizations_service_connect.ts +0 -53
  99. package/gen/enum/api/v1/organizations_service_pb.ts +0 -336
  100. package/gen/enum/api/v1/projects_pb.ts +0 -81
  101. package/gen/enum/api/v1/projects_service_connect.ts +0 -80
  102. package/gen/enum/api/v1/projects_service_pb.ts +0 -577
  103. package/gen/enum/api/v1/users_pb.ts +0 -77
  104. package/gen/enum/api/v1/users_service_connect.ts +0 -62
  105. package/gen/enum/api/v1/users_service_pb.ts +0 -417
@@ -1,411 +0,0 @@
1
- // @generated by protoc-gen-es v1.10.1 with parameter "target=ts"
2
- // @generated from file enum/api/v1/object_storage_access_keys_service.proto (package enum.api.v1, syntax proto3)
3
- /* eslint-disable */
4
- // @ts-nocheck
5
-
6
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
- import { Message, proto3 } from "@bufbuild/protobuf";
8
- import { ObjectStorageAccessKey } from "./object_storage_access_keys_pb.js";
9
-
10
- /**
11
- * @generated from message enum.api.v1.ListObjectStorageAccessKeysRequest
12
- */
13
- export class ListObjectStorageAccessKeysRequest extends Message<ListObjectStorageAccessKeysRequest> {
14
- /**
15
- * @generated from field: string project_id = 1;
16
- */
17
- projectId = "";
18
-
19
- /**
20
- * @generated from field: string object_storage_user_id = 2;
21
- */
22
- objectStorageUserId = "";
23
-
24
- constructor(data?: PartialMessage<ListObjectStorageAccessKeysRequest>) {
25
- super();
26
- proto3.util.initPartial(data, this);
27
- }
28
-
29
- static readonly runtime: typeof proto3 = proto3;
30
- static readonly typeName = "enum.api.v1.ListObjectStorageAccessKeysRequest";
31
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
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 */ },
34
- ]);
35
-
36
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListObjectStorageAccessKeysRequest {
37
- return new ListObjectStorageAccessKeysRequest().fromBinary(bytes, options);
38
- }
39
-
40
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListObjectStorageAccessKeysRequest {
41
- return new ListObjectStorageAccessKeysRequest().fromJson(jsonValue, options);
42
- }
43
-
44
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListObjectStorageAccessKeysRequest {
45
- return new ListObjectStorageAccessKeysRequest().fromJsonString(jsonString, options);
46
- }
47
-
48
- static equals(a: ListObjectStorageAccessKeysRequest | PlainMessage<ListObjectStorageAccessKeysRequest> | undefined, b: ListObjectStorageAccessKeysRequest | PlainMessage<ListObjectStorageAccessKeysRequest> | undefined): boolean {
49
- return proto3.util.equals(ListObjectStorageAccessKeysRequest, a, b);
50
- }
51
- }
52
-
53
- /**
54
- * @generated from message enum.api.v1.ListObjectStorageAccessKeysResponse
55
- */
56
- export class ListObjectStorageAccessKeysResponse extends Message<ListObjectStorageAccessKeysResponse> {
57
- /**
58
- * @generated from field: repeated enum.api.v1.ObjectStorageAccessKey object_storage_access_keys = 1;
59
- */
60
- objectStorageAccessKeys: ObjectStorageAccessKey[] = [];
61
-
62
- constructor(data?: PartialMessage<ListObjectStorageAccessKeysResponse>) {
63
- super();
64
- proto3.util.initPartial(data, this);
65
- }
66
-
67
- static readonly runtime: typeof proto3 = proto3;
68
- static readonly typeName = "enum.api.v1.ListObjectStorageAccessKeysResponse";
69
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
70
- { no: 1, name: "object_storage_access_keys", kind: "message", T: ObjectStorageAccessKey, repeated: true },
71
- ]);
72
-
73
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListObjectStorageAccessKeysResponse {
74
- return new ListObjectStorageAccessKeysResponse().fromBinary(bytes, options);
75
- }
76
-
77
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListObjectStorageAccessKeysResponse {
78
- return new ListObjectStorageAccessKeysResponse().fromJson(jsonValue, options);
79
- }
80
-
81
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListObjectStorageAccessKeysResponse {
82
- return new ListObjectStorageAccessKeysResponse().fromJsonString(jsonString, options);
83
- }
84
-
85
- static equals(a: ListObjectStorageAccessKeysResponse | PlainMessage<ListObjectStorageAccessKeysResponse> | undefined, b: ListObjectStorageAccessKeysResponse | PlainMessage<ListObjectStorageAccessKeysResponse> | undefined): boolean {
86
- return proto3.util.equals(ListObjectStorageAccessKeysResponse, a, b);
87
- }
88
- }
89
-
90
- /**
91
- * @generated from message enum.api.v1.CreateObjectStorageAccessKeyRequest
92
- */
93
- export class CreateObjectStorageAccessKeyRequest extends Message<CreateObjectStorageAccessKeyRequest> {
94
- /**
95
- * @generated from field: string project_id = 1;
96
- */
97
- projectId = "";
98
-
99
- /**
100
- * @generated from field: string object_storage_user_id = 2;
101
- */
102
- objectStorageUserId = "";
103
-
104
- constructor(data?: PartialMessage<CreateObjectStorageAccessKeyRequest>) {
105
- super();
106
- proto3.util.initPartial(data, this);
107
- }
108
-
109
- static readonly runtime: typeof proto3 = proto3;
110
- static readonly typeName = "enum.api.v1.CreateObjectStorageAccessKeyRequest";
111
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
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 */ },
114
- ]);
115
-
116
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateObjectStorageAccessKeyRequest {
117
- return new CreateObjectStorageAccessKeyRequest().fromBinary(bytes, options);
118
- }
119
-
120
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateObjectStorageAccessKeyRequest {
121
- return new CreateObjectStorageAccessKeyRequest().fromJson(jsonValue, options);
122
- }
123
-
124
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateObjectStorageAccessKeyRequest {
125
- return new CreateObjectStorageAccessKeyRequest().fromJsonString(jsonString, options);
126
- }
127
-
128
- static equals(a: CreateObjectStorageAccessKeyRequest | PlainMessage<CreateObjectStorageAccessKeyRequest> | undefined, b: CreateObjectStorageAccessKeyRequest | PlainMessage<CreateObjectStorageAccessKeyRequest> | undefined): boolean {
129
- return proto3.util.equals(CreateObjectStorageAccessKeyRequest, a, b);
130
- }
131
- }
132
-
133
- /**
134
- * @generated from message enum.api.v1.CreateObjectStorageAccessKeyResponse
135
- */
136
- export class CreateObjectStorageAccessKeyResponse extends Message<CreateObjectStorageAccessKeyResponse> {
137
- /**
138
- * @generated from field: enum.api.v1.ObjectStorageAccessKey object_storage_access_key = 1;
139
- */
140
- objectStorageAccessKey?: ObjectStorageAccessKey;
141
-
142
- /**
143
- * Secret key is only returned on creation and not stored retrievably.
144
- *
145
- * @generated from field: string secret_access_key = 2;
146
- */
147
- secretAccessKey = "";
148
-
149
- constructor(data?: PartialMessage<CreateObjectStorageAccessKeyResponse>) {
150
- super();
151
- proto3.util.initPartial(data, this);
152
- }
153
-
154
- static readonly runtime: typeof proto3 = proto3;
155
- static readonly typeName = "enum.api.v1.CreateObjectStorageAccessKeyResponse";
156
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
157
- { no: 1, name: "object_storage_access_key", kind: "message", T: ObjectStorageAccessKey },
158
- { no: 2, name: "secret_access_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
159
- ]);
160
-
161
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateObjectStorageAccessKeyResponse {
162
- return new CreateObjectStorageAccessKeyResponse().fromBinary(bytes, options);
163
- }
164
-
165
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateObjectStorageAccessKeyResponse {
166
- return new CreateObjectStorageAccessKeyResponse().fromJson(jsonValue, options);
167
- }
168
-
169
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateObjectStorageAccessKeyResponse {
170
- return new CreateObjectStorageAccessKeyResponse().fromJsonString(jsonString, options);
171
- }
172
-
173
- static equals(a: CreateObjectStorageAccessKeyResponse | PlainMessage<CreateObjectStorageAccessKeyResponse> | undefined, b: CreateObjectStorageAccessKeyResponse | PlainMessage<CreateObjectStorageAccessKeyResponse> | undefined): boolean {
174
- return proto3.util.equals(CreateObjectStorageAccessKeyResponse, a, b);
175
- }
176
- }
177
-
178
- /**
179
- * @generated from message enum.api.v1.GetObjectStorageAccessKeyRequest
180
- */
181
- export class GetObjectStorageAccessKeyRequest extends Message<GetObjectStorageAccessKeyRequest> {
182
- /**
183
- * @generated from field: string project_id = 1;
184
- */
185
- projectId = "";
186
-
187
- /**
188
- * @generated from field: string id = 2;
189
- */
190
- id = "";
191
-
192
- constructor(data?: PartialMessage<GetObjectStorageAccessKeyRequest>) {
193
- super();
194
- proto3.util.initPartial(data, this);
195
- }
196
-
197
- static readonly runtime: typeof proto3 = proto3;
198
- static readonly typeName = "enum.api.v1.GetObjectStorageAccessKeyRequest";
199
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
200
- { no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
201
- { no: 2, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
202
- ]);
203
-
204
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetObjectStorageAccessKeyRequest {
205
- return new GetObjectStorageAccessKeyRequest().fromBinary(bytes, options);
206
- }
207
-
208
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetObjectStorageAccessKeyRequest {
209
- return new GetObjectStorageAccessKeyRequest().fromJson(jsonValue, options);
210
- }
211
-
212
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetObjectStorageAccessKeyRequest {
213
- return new GetObjectStorageAccessKeyRequest().fromJsonString(jsonString, options);
214
- }
215
-
216
- static equals(a: GetObjectStorageAccessKeyRequest | PlainMessage<GetObjectStorageAccessKeyRequest> | undefined, b: GetObjectStorageAccessKeyRequest | PlainMessage<GetObjectStorageAccessKeyRequest> | undefined): boolean {
217
- return proto3.util.equals(GetObjectStorageAccessKeyRequest, a, b);
218
- }
219
- }
220
-
221
- /**
222
- * @generated from message enum.api.v1.GetObjectStorageAccessKeyResponse
223
- */
224
- export class GetObjectStorageAccessKeyResponse extends Message<GetObjectStorageAccessKeyResponse> {
225
- /**
226
- * @generated from field: enum.api.v1.ObjectStorageAccessKey access_key = 1;
227
- */
228
- accessKey?: ObjectStorageAccessKey;
229
-
230
- constructor(data?: PartialMessage<GetObjectStorageAccessKeyResponse>) {
231
- super();
232
- proto3.util.initPartial(data, this);
233
- }
234
-
235
- static readonly runtime: typeof proto3 = proto3;
236
- static readonly typeName = "enum.api.v1.GetObjectStorageAccessKeyResponse";
237
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
238
- { no: 1, name: "access_key", kind: "message", T: ObjectStorageAccessKey },
239
- ]);
240
-
241
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetObjectStorageAccessKeyResponse {
242
- return new GetObjectStorageAccessKeyResponse().fromBinary(bytes, options);
243
- }
244
-
245
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetObjectStorageAccessKeyResponse {
246
- return new GetObjectStorageAccessKeyResponse().fromJson(jsonValue, options);
247
- }
248
-
249
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetObjectStorageAccessKeyResponse {
250
- return new GetObjectStorageAccessKeyResponse().fromJsonString(jsonString, options);
251
- }
252
-
253
- static equals(a: GetObjectStorageAccessKeyResponse | PlainMessage<GetObjectStorageAccessKeyResponse> | undefined, b: GetObjectStorageAccessKeyResponse | PlainMessage<GetObjectStorageAccessKeyResponse> | undefined): boolean {
254
- return proto3.util.equals(GetObjectStorageAccessKeyResponse, a, b);
255
- }
256
- }
257
-
258
- /**
259
- * @generated from message enum.api.v1.GetObjectStorageAccessKeyByKeyIdRequest
260
- */
261
- export class GetObjectStorageAccessKeyByKeyIdRequest extends Message<GetObjectStorageAccessKeyByKeyIdRequest> {
262
- /**
263
- * @generated from field: string project_id = 1;
264
- */
265
- projectId = "";
266
-
267
- /**
268
- * @generated from field: string access_key_id = 2;
269
- */
270
- accessKeyId = "";
271
-
272
- constructor(data?: PartialMessage<GetObjectStorageAccessKeyByKeyIdRequest>) {
273
- super();
274
- proto3.util.initPartial(data, this);
275
- }
276
-
277
- static readonly runtime: typeof proto3 = proto3;
278
- static readonly typeName = "enum.api.v1.GetObjectStorageAccessKeyByKeyIdRequest";
279
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
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 */ },
282
- ]);
283
-
284
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetObjectStorageAccessKeyByKeyIdRequest {
285
- return new GetObjectStorageAccessKeyByKeyIdRequest().fromBinary(bytes, options);
286
- }
287
-
288
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetObjectStorageAccessKeyByKeyIdRequest {
289
- return new GetObjectStorageAccessKeyByKeyIdRequest().fromJson(jsonValue, options);
290
- }
291
-
292
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetObjectStorageAccessKeyByKeyIdRequest {
293
- return new GetObjectStorageAccessKeyByKeyIdRequest().fromJsonString(jsonString, options);
294
- }
295
-
296
- static equals(a: GetObjectStorageAccessKeyByKeyIdRequest | PlainMessage<GetObjectStorageAccessKeyByKeyIdRequest> | undefined, b: GetObjectStorageAccessKeyByKeyIdRequest | PlainMessage<GetObjectStorageAccessKeyByKeyIdRequest> | undefined): boolean {
297
- return proto3.util.equals(GetObjectStorageAccessKeyByKeyIdRequest, a, b);
298
- }
299
- }
300
-
301
- /**
302
- * @generated from message enum.api.v1.GetObjectStorageAccessKeyByKeyIdResponse
303
- */
304
- export class GetObjectStorageAccessKeyByKeyIdResponse extends Message<GetObjectStorageAccessKeyByKeyIdResponse> {
305
- /**
306
- * @generated from field: enum.api.v1.ObjectStorageAccessKey access_key = 1;
307
- */
308
- accessKey?: ObjectStorageAccessKey;
309
-
310
- constructor(data?: PartialMessage<GetObjectStorageAccessKeyByKeyIdResponse>) {
311
- super();
312
- proto3.util.initPartial(data, this);
313
- }
314
-
315
- static readonly runtime: typeof proto3 = proto3;
316
- static readonly typeName = "enum.api.v1.GetObjectStorageAccessKeyByKeyIdResponse";
317
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
318
- { no: 1, name: "access_key", kind: "message", T: ObjectStorageAccessKey },
319
- ]);
320
-
321
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetObjectStorageAccessKeyByKeyIdResponse {
322
- return new GetObjectStorageAccessKeyByKeyIdResponse().fromBinary(bytes, options);
323
- }
324
-
325
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetObjectStorageAccessKeyByKeyIdResponse {
326
- return new GetObjectStorageAccessKeyByKeyIdResponse().fromJson(jsonValue, options);
327
- }
328
-
329
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetObjectStorageAccessKeyByKeyIdResponse {
330
- return new GetObjectStorageAccessKeyByKeyIdResponse().fromJsonString(jsonString, options);
331
- }
332
-
333
- static equals(a: GetObjectStorageAccessKeyByKeyIdResponse | PlainMessage<GetObjectStorageAccessKeyByKeyIdResponse> | undefined, b: GetObjectStorageAccessKeyByKeyIdResponse | PlainMessage<GetObjectStorageAccessKeyByKeyIdResponse> | undefined): boolean {
334
- return proto3.util.equals(GetObjectStorageAccessKeyByKeyIdResponse, a, b);
335
- }
336
- }
337
-
338
- /**
339
- * @generated from message enum.api.v1.DeleteObjectStorageAccessKeyRequest
340
- */
341
- export class DeleteObjectStorageAccessKeyRequest extends Message<DeleteObjectStorageAccessKeyRequest> {
342
- /**
343
- * @generated from field: string project_id = 1;
344
- */
345
- projectId = "";
346
-
347
- /**
348
- * @generated from field: string id = 2;
349
- */
350
- id = "";
351
-
352
- constructor(data?: PartialMessage<DeleteObjectStorageAccessKeyRequest>) {
353
- super();
354
- proto3.util.initPartial(data, this);
355
- }
356
-
357
- static readonly runtime: typeof proto3 = proto3;
358
- static readonly typeName = "enum.api.v1.DeleteObjectStorageAccessKeyRequest";
359
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
360
- { no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
361
- { no: 2, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
362
- ]);
363
-
364
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteObjectStorageAccessKeyRequest {
365
- return new DeleteObjectStorageAccessKeyRequest().fromBinary(bytes, options);
366
- }
367
-
368
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteObjectStorageAccessKeyRequest {
369
- return new DeleteObjectStorageAccessKeyRequest().fromJson(jsonValue, options);
370
- }
371
-
372
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteObjectStorageAccessKeyRequest {
373
- return new DeleteObjectStorageAccessKeyRequest().fromJsonString(jsonString, options);
374
- }
375
-
376
- static equals(a: DeleteObjectStorageAccessKeyRequest | PlainMessage<DeleteObjectStorageAccessKeyRequest> | undefined, b: DeleteObjectStorageAccessKeyRequest | PlainMessage<DeleteObjectStorageAccessKeyRequest> | undefined): boolean {
377
- return proto3.util.equals(DeleteObjectStorageAccessKeyRequest, a, b);
378
- }
379
- }
380
-
381
- /**
382
- * @generated from message enum.api.v1.DeleteObjectStorageAccessKeyResponse
383
- */
384
- export class DeleteObjectStorageAccessKeyResponse extends Message<DeleteObjectStorageAccessKeyResponse> {
385
- constructor(data?: PartialMessage<DeleteObjectStorageAccessKeyResponse>) {
386
- super();
387
- proto3.util.initPartial(data, this);
388
- }
389
-
390
- static readonly runtime: typeof proto3 = proto3;
391
- static readonly typeName = "enum.api.v1.DeleteObjectStorageAccessKeyResponse";
392
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
393
- ]);
394
-
395
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteObjectStorageAccessKeyResponse {
396
- return new DeleteObjectStorageAccessKeyResponse().fromBinary(bytes, options);
397
- }
398
-
399
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteObjectStorageAccessKeyResponse {
400
- return new DeleteObjectStorageAccessKeyResponse().fromJson(jsonValue, options);
401
- }
402
-
403
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteObjectStorageAccessKeyResponse {
404
- return new DeleteObjectStorageAccessKeyResponse().fromJsonString(jsonString, options);
405
- }
406
-
407
- static equals(a: DeleteObjectStorageAccessKeyResponse | PlainMessage<DeleteObjectStorageAccessKeyResponse> | undefined, b: DeleteObjectStorageAccessKeyResponse | PlainMessage<DeleteObjectStorageAccessKeyResponse> | undefined): boolean {
408
- return proto3.util.equals(DeleteObjectStorageAccessKeyResponse, a, b);
409
- }
410
- }
411
-
@@ -1,75 +0,0 @@
1
- // @generated by protoc-gen-es v1.10.1 with parameter "target=ts"
2
- // @generated from file enum/api/v1/object_storage_users.proto (package enum.api.v1, syntax proto3)
3
- /* eslint-disable */
4
- // @ts-nocheck
5
-
6
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
- import { Message, proto3, Timestamp } from "@bufbuild/protobuf";
8
-
9
- /**
10
- * @generated from message enum.api.v1.ObjectStorageUser
11
- */
12
- export class ObjectStorageUser extends Message<ObjectStorageUser> {
13
- /**
14
- * @generated from field: string id = 1;
15
- */
16
- id = "";
17
-
18
- /**
19
- * @generated from field: string project_id = 2;
20
- */
21
- projectId = "";
22
-
23
- /**
24
- * @generated from field: string display_name = 3;
25
- */
26
- displayName = "";
27
-
28
- /**
29
- * @generated from field: string created_by = 4;
30
- */
31
- createdBy = "";
32
-
33
- /**
34
- * @generated from field: google.protobuf.Timestamp created_at = 5;
35
- */
36
- createdAt?: Timestamp;
37
-
38
- /**
39
- * @generated from field: google.protobuf.Timestamp updated_at = 6;
40
- */
41
- updatedAt?: Timestamp;
42
-
43
- constructor(data?: PartialMessage<ObjectStorageUser>) {
44
- super();
45
- proto3.util.initPartial(data, this);
46
- }
47
-
48
- static readonly runtime: typeof proto3 = proto3;
49
- static readonly typeName = "enum.api.v1.ObjectStorageUser";
50
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
51
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
52
- { no: 2, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
53
- { no: 3, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
54
- { no: 4, name: "created_by", kind: "scalar", T: 9 /* ScalarType.STRING */ },
55
- { no: 5, name: "created_at", kind: "message", T: Timestamp },
56
- { no: 6, name: "updated_at", kind: "message", T: Timestamp },
57
- ]);
58
-
59
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ObjectStorageUser {
60
- return new ObjectStorageUser().fromBinary(bytes, options);
61
- }
62
-
63
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ObjectStorageUser {
64
- return new ObjectStorageUser().fromJson(jsonValue, options);
65
- }
66
-
67
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ObjectStorageUser {
68
- return new ObjectStorageUser().fromJsonString(jsonString, options);
69
- }
70
-
71
- static equals(a: ObjectStorageUser | PlainMessage<ObjectStorageUser> | undefined, b: ObjectStorageUser | PlainMessage<ObjectStorageUser> | undefined): boolean {
72
- return proto3.util.equals(ObjectStorageUser, a, b);
73
- }
74
- }
75
-
@@ -1,62 +0,0 @@
1
- // @generated by protoc-gen-connect-es v1.7.0 with parameter "target=ts"
2
- // @generated from file enum/api/v1/object_storage_users_service.proto (package enum.api.v1, syntax proto3)
3
- /* eslint-disable */
4
- // @ts-nocheck
5
-
6
- import { CreateObjectStorageUserRequest, CreateObjectStorageUserResponse, DeleteObjectStorageUserRequest, DeleteObjectStorageUserResponse, GetObjectStorageUserRequest, GetObjectStorageUserResponse, ListObjectStorageUsersRequest, ListObjectStorageUsersResponse, UpdateObjectStorageUserRequest, UpdateObjectStorageUserResponse } from "./object_storage_users_service_pb.js";
7
- import { MethodKind } from "@bufbuild/protobuf";
8
-
9
- /**
10
- * @generated from service enum.api.v1.ObjectStorageUserService
11
- */
12
- export const ObjectStorageUserService = {
13
- typeName: "enum.api.v1.ObjectStorageUserService",
14
- methods: {
15
- /**
16
- * @generated from rpc enum.api.v1.ObjectStorageUserService.ListObjectStorageUsers
17
- */
18
- listObjectStorageUsers: {
19
- name: "ListObjectStorageUsers",
20
- I: ListObjectStorageUsersRequest,
21
- O: ListObjectStorageUsersResponse,
22
- kind: MethodKind.Unary,
23
- },
24
- /**
25
- * @generated from rpc enum.api.v1.ObjectStorageUserService.GetObjectStorageUser
26
- */
27
- getObjectStorageUser: {
28
- name: "GetObjectStorageUser",
29
- I: GetObjectStorageUserRequest,
30
- O: GetObjectStorageUserResponse,
31
- kind: MethodKind.Unary,
32
- },
33
- /**
34
- * @generated from rpc enum.api.v1.ObjectStorageUserService.CreateObjectStorageUser
35
- */
36
- createObjectStorageUser: {
37
- name: "CreateObjectStorageUser",
38
- I: CreateObjectStorageUserRequest,
39
- O: CreateObjectStorageUserResponse,
40
- kind: MethodKind.Unary,
41
- },
42
- /**
43
- * @generated from rpc enum.api.v1.ObjectStorageUserService.UpdateObjectStorageUser
44
- */
45
- updateObjectStorageUser: {
46
- name: "UpdateObjectStorageUser",
47
- I: UpdateObjectStorageUserRequest,
48
- O: UpdateObjectStorageUserResponse,
49
- kind: MethodKind.Unary,
50
- },
51
- /**
52
- * @generated from rpc enum.api.v1.ObjectStorageUserService.DeleteObjectStorageUser
53
- */
54
- deleteObjectStorageUser: {
55
- name: "DeleteObjectStorageUser",
56
- I: DeleteObjectStorageUserRequest,
57
- O: DeleteObjectStorageUserResponse,
58
- kind: MethodKind.Unary,
59
- },
60
- }
61
- } as const;
62
-