@g2gs/contracts 1.0.72 → 1.0.74

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.
@@ -0,0 +1,80 @@
1
+ // @generated by protoc-gen-connect-es v1.6.1
2
+ // @generated from file admin/ai/v1/service.proto (package admin.ai.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { BanGeminiKeyRequest, CreateGeminiKeyRequest, CreateGeminiKeyResponse, DeleteGeminiKeyRequest, GetRequestRequest, GetRequestResponse, ListGeminiKeysRequest, ListGeminiKeysResponse, ListRequestsRequest, ListRequestsResponse, UnbanGeminiKeyRequest } from "./service_pb.js";
7
+ import { Empty, MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service admin.ai.v1.AIAdminService
11
+ */
12
+ export declare const AIAdminService: {
13
+ readonly typeName: "admin.ai.v1.AIAdminService",
14
+ readonly methods: {
15
+ /**
16
+ * @generated from rpc admin.ai.v1.AIAdminService.CreateGeminiKey
17
+ */
18
+ readonly createGeminiKey: {
19
+ readonly name: "CreateGeminiKey",
20
+ readonly I: typeof CreateGeminiKeyRequest,
21
+ readonly O: typeof CreateGeminiKeyResponse,
22
+ readonly kind: MethodKind.Unary,
23
+ },
24
+ /**
25
+ * @generated from rpc admin.ai.v1.AIAdminService.ListGeminiKeys
26
+ */
27
+ readonly listGeminiKeys: {
28
+ readonly name: "ListGeminiKeys",
29
+ readonly I: typeof ListGeminiKeysRequest,
30
+ readonly O: typeof ListGeminiKeysResponse,
31
+ readonly kind: MethodKind.Unary,
32
+ },
33
+ /**
34
+ * @generated from rpc admin.ai.v1.AIAdminService.DeleteGeminiKey
35
+ */
36
+ readonly deleteGeminiKey: {
37
+ readonly name: "DeleteGeminiKey",
38
+ readonly I: typeof DeleteGeminiKeyRequest,
39
+ readonly O: typeof Empty,
40
+ readonly kind: MethodKind.Unary,
41
+ },
42
+ /**
43
+ * @generated from rpc admin.ai.v1.AIAdminService.BanGeminiKey
44
+ */
45
+ readonly banGeminiKey: {
46
+ readonly name: "BanGeminiKey",
47
+ readonly I: typeof BanGeminiKeyRequest,
48
+ readonly O: typeof Empty,
49
+ readonly kind: MethodKind.Unary,
50
+ },
51
+ /**
52
+ * @generated from rpc admin.ai.v1.AIAdminService.UnbanGeminiKey
53
+ */
54
+ readonly unbanGeminiKey: {
55
+ readonly name: "UnbanGeminiKey",
56
+ readonly I: typeof UnbanGeminiKeyRequest,
57
+ readonly O: typeof Empty,
58
+ readonly kind: MethodKind.Unary,
59
+ },
60
+ /**
61
+ * @generated from rpc admin.ai.v1.AIAdminService.ListRequests
62
+ */
63
+ readonly listRequests: {
64
+ readonly name: "ListRequests",
65
+ readonly I: typeof ListRequestsRequest,
66
+ readonly O: typeof ListRequestsResponse,
67
+ readonly kind: MethodKind.Unary,
68
+ },
69
+ /**
70
+ * @generated from rpc admin.ai.v1.AIAdminService.GetRequest
71
+ */
72
+ readonly getRequest: {
73
+ readonly name: "GetRequest",
74
+ readonly I: typeof GetRequestRequest,
75
+ readonly O: typeof GetRequestResponse,
76
+ readonly kind: MethodKind.Unary,
77
+ },
78
+ }
79
+ };
80
+
@@ -0,0 +1,80 @@
1
+ // @generated by protoc-gen-connect-es v1.6.1
2
+ // @generated from file admin/ai/v1/service.proto (package admin.ai.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { BanGeminiKeyRequest, CreateGeminiKeyRequest, CreateGeminiKeyResponse, DeleteGeminiKeyRequest, GetRequestRequest, GetRequestResponse, ListGeminiKeysRequest, ListGeminiKeysResponse, ListRequestsRequest, ListRequestsResponse, UnbanGeminiKeyRequest } from "./service_pb.js";
7
+ import { Empty, MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service admin.ai.v1.AIAdminService
11
+ */
12
+ export const AIAdminService = {
13
+ typeName: "admin.ai.v1.AIAdminService",
14
+ methods: {
15
+ /**
16
+ * @generated from rpc admin.ai.v1.AIAdminService.CreateGeminiKey
17
+ */
18
+ createGeminiKey: {
19
+ name: "CreateGeminiKey",
20
+ I: CreateGeminiKeyRequest,
21
+ O: CreateGeminiKeyResponse,
22
+ kind: MethodKind.Unary,
23
+ },
24
+ /**
25
+ * @generated from rpc admin.ai.v1.AIAdminService.ListGeminiKeys
26
+ */
27
+ listGeminiKeys: {
28
+ name: "ListGeminiKeys",
29
+ I: ListGeminiKeysRequest,
30
+ O: ListGeminiKeysResponse,
31
+ kind: MethodKind.Unary,
32
+ },
33
+ /**
34
+ * @generated from rpc admin.ai.v1.AIAdminService.DeleteGeminiKey
35
+ */
36
+ deleteGeminiKey: {
37
+ name: "DeleteGeminiKey",
38
+ I: DeleteGeminiKeyRequest,
39
+ O: Empty,
40
+ kind: MethodKind.Unary,
41
+ },
42
+ /**
43
+ * @generated from rpc admin.ai.v1.AIAdminService.BanGeminiKey
44
+ */
45
+ banGeminiKey: {
46
+ name: "BanGeminiKey",
47
+ I: BanGeminiKeyRequest,
48
+ O: Empty,
49
+ kind: MethodKind.Unary,
50
+ },
51
+ /**
52
+ * @generated from rpc admin.ai.v1.AIAdminService.UnbanGeminiKey
53
+ */
54
+ unbanGeminiKey: {
55
+ name: "UnbanGeminiKey",
56
+ I: UnbanGeminiKeyRequest,
57
+ O: Empty,
58
+ kind: MethodKind.Unary,
59
+ },
60
+ /**
61
+ * @generated from rpc admin.ai.v1.AIAdminService.ListRequests
62
+ */
63
+ listRequests: {
64
+ name: "ListRequests",
65
+ I: ListRequestsRequest,
66
+ O: ListRequestsResponse,
67
+ kind: MethodKind.Unary,
68
+ },
69
+ /**
70
+ * @generated from rpc admin.ai.v1.AIAdminService.GetRequest
71
+ */
72
+ getRequest: {
73
+ name: "GetRequest",
74
+ I: GetRequestRequest,
75
+ O: GetRequestResponse,
76
+ kind: MethodKind.Unary,
77
+ },
78
+ }
79
+ };
80
+
@@ -0,0 +1,378 @@
1
+ // @generated by protoc-gen-es v2.11.0
2
+ // @generated from file admin/ai/v1/service.proto (package admin.ai.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+ import type { EmptySchema, Timestamp } from "@bufbuild/protobuf/wkt";
8
+
9
+ /**
10
+ * Describes the file admin/ai/v1/service.proto.
11
+ */
12
+ export declare const file_admin_ai_v1_service: GenFile;
13
+
14
+ /**
15
+ * @generated from message admin.ai.v1.GeminiKey
16
+ */
17
+ export declare type GeminiKey = Message<"admin.ai.v1.GeminiKey"> & {
18
+ /**
19
+ * @generated from field: uint64 id = 1;
20
+ */
21
+ id: bigint;
22
+
23
+ /**
24
+ * @generated from field: string api_key = 2;
25
+ */
26
+ apiKey: string;
27
+
28
+ /**
29
+ * @generated from field: bool banned = 3;
30
+ */
31
+ banned: boolean;
32
+
33
+ /**
34
+ * @generated from field: optional google.protobuf.Timestamp disabled_until = 4;
35
+ */
36
+ disabledUntil?: Timestamp;
37
+
38
+ /**
39
+ * @generated from field: google.protobuf.Timestamp last_used_at = 5;
40
+ */
41
+ lastUsedAt?: Timestamp;
42
+
43
+ /**
44
+ * @generated from field: int64 usage_count = 6;
45
+ */
46
+ usageCount: bigint;
47
+
48
+ /**
49
+ * @generated from field: int64 requests_today = 7;
50
+ */
51
+ requestsToday: bigint;
52
+ };
53
+
54
+ /**
55
+ * Describes the message admin.ai.v1.GeminiKey.
56
+ * Use `create(GeminiKeySchema)` to create a new message.
57
+ */
58
+ export declare const GeminiKeySchema: GenMessage<GeminiKey>;
59
+
60
+ /**
61
+ * @generated from message admin.ai.v1.AIRequestRecord
62
+ */
63
+ export declare type AIRequestRecord = Message<"admin.ai.v1.AIRequestRecord"> & {
64
+ /**
65
+ * @generated from field: uint64 id = 1;
66
+ */
67
+ id: bigint;
68
+
69
+ /**
70
+ * @generated from field: string request_id = 2;
71
+ */
72
+ requestId: string;
73
+
74
+ /**
75
+ * @generated from field: string status = 3;
76
+ */
77
+ status: string;
78
+
79
+ /**
80
+ * @generated from field: string prompt = 4;
81
+ */
82
+ prompt: string;
83
+
84
+ /**
85
+ * @generated from field: optional string result = 5;
86
+ */
87
+ result?: string;
88
+
89
+ /**
90
+ * @generated from field: optional string error = 6;
91
+ */
92
+ error?: string;
93
+
94
+ /**
95
+ * @generated from field: google.protobuf.Timestamp created_at = 7;
96
+ */
97
+ createdAt?: Timestamp;
98
+
99
+ /**
100
+ * @generated from field: optional google.protobuf.Timestamp finished_at = 8;
101
+ */
102
+ finishedAt?: Timestamp;
103
+ };
104
+
105
+ /**
106
+ * Describes the message admin.ai.v1.AIRequestRecord.
107
+ * Use `create(AIRequestRecordSchema)` to create a new message.
108
+ */
109
+ export declare const AIRequestRecordSchema: GenMessage<AIRequestRecord>;
110
+
111
+ /**
112
+ * @generated from message admin.ai.v1.CreateGeminiKeyRequest
113
+ */
114
+ export declare type CreateGeminiKeyRequest = Message<"admin.ai.v1.CreateGeminiKeyRequest"> & {
115
+ /**
116
+ * @generated from field: string api_key = 1;
117
+ */
118
+ apiKey: string;
119
+ };
120
+
121
+ /**
122
+ * Describes the message admin.ai.v1.CreateGeminiKeyRequest.
123
+ * Use `create(CreateGeminiKeyRequestSchema)` to create a new message.
124
+ */
125
+ export declare const CreateGeminiKeyRequestSchema: GenMessage<CreateGeminiKeyRequest>;
126
+
127
+ /**
128
+ * @generated from message admin.ai.v1.CreateGeminiKeyResponse
129
+ */
130
+ export declare type CreateGeminiKeyResponse = Message<"admin.ai.v1.CreateGeminiKeyResponse"> & {
131
+ /**
132
+ * @generated from field: admin.ai.v1.GeminiKey key = 1;
133
+ */
134
+ key?: GeminiKey;
135
+ };
136
+
137
+ /**
138
+ * Describes the message admin.ai.v1.CreateGeminiKeyResponse.
139
+ * Use `create(CreateGeminiKeyResponseSchema)` to create a new message.
140
+ */
141
+ export declare const CreateGeminiKeyResponseSchema: GenMessage<CreateGeminiKeyResponse>;
142
+
143
+ /**
144
+ * @generated from message admin.ai.v1.ListGeminiKeysRequest
145
+ */
146
+ export declare type ListGeminiKeysRequest = Message<"admin.ai.v1.ListGeminiKeysRequest"> & {
147
+ /**
148
+ * @generated from field: bool include_banned = 1;
149
+ */
150
+ includeBanned: boolean;
151
+
152
+ /**
153
+ * @generated from field: uint32 limit = 2;
154
+ */
155
+ limit: number;
156
+
157
+ /**
158
+ * @generated from field: uint64 offset = 3;
159
+ */
160
+ offset: bigint;
161
+ };
162
+
163
+ /**
164
+ * Describes the message admin.ai.v1.ListGeminiKeysRequest.
165
+ * Use `create(ListGeminiKeysRequestSchema)` to create a new message.
166
+ */
167
+ export declare const ListGeminiKeysRequestSchema: GenMessage<ListGeminiKeysRequest>;
168
+
169
+ /**
170
+ * @generated from message admin.ai.v1.ListGeminiKeysResponse
171
+ */
172
+ export declare type ListGeminiKeysResponse = Message<"admin.ai.v1.ListGeminiKeysResponse"> & {
173
+ /**
174
+ * @generated from field: repeated admin.ai.v1.GeminiKey keys = 1;
175
+ */
176
+ keys: GeminiKey[];
177
+
178
+ /**
179
+ * @generated from field: uint64 total = 2;
180
+ */
181
+ total: bigint;
182
+ };
183
+
184
+ /**
185
+ * Describes the message admin.ai.v1.ListGeminiKeysResponse.
186
+ * Use `create(ListGeminiKeysResponseSchema)` to create a new message.
187
+ */
188
+ export declare const ListGeminiKeysResponseSchema: GenMessage<ListGeminiKeysResponse>;
189
+
190
+ /**
191
+ * @generated from message admin.ai.v1.DeleteGeminiKeyRequest
192
+ */
193
+ export declare type DeleteGeminiKeyRequest = Message<"admin.ai.v1.DeleteGeminiKeyRequest"> & {
194
+ /**
195
+ * @generated from field: uint64 id = 1;
196
+ */
197
+ id: bigint;
198
+ };
199
+
200
+ /**
201
+ * Describes the message admin.ai.v1.DeleteGeminiKeyRequest.
202
+ * Use `create(DeleteGeminiKeyRequestSchema)` to create a new message.
203
+ */
204
+ export declare const DeleteGeminiKeyRequestSchema: GenMessage<DeleteGeminiKeyRequest>;
205
+
206
+ /**
207
+ * @generated from message admin.ai.v1.BanGeminiKeyRequest
208
+ */
209
+ export declare type BanGeminiKeyRequest = Message<"admin.ai.v1.BanGeminiKeyRequest"> & {
210
+ /**
211
+ * @generated from field: uint64 id = 1;
212
+ */
213
+ id: bigint;
214
+ };
215
+
216
+ /**
217
+ * Describes the message admin.ai.v1.BanGeminiKeyRequest.
218
+ * Use `create(BanGeminiKeyRequestSchema)` to create a new message.
219
+ */
220
+ export declare const BanGeminiKeyRequestSchema: GenMessage<BanGeminiKeyRequest>;
221
+
222
+ /**
223
+ * @generated from message admin.ai.v1.UnbanGeminiKeyRequest
224
+ */
225
+ export declare type UnbanGeminiKeyRequest = Message<"admin.ai.v1.UnbanGeminiKeyRequest"> & {
226
+ /**
227
+ * @generated from field: uint64 id = 1;
228
+ */
229
+ id: bigint;
230
+ };
231
+
232
+ /**
233
+ * Describes the message admin.ai.v1.UnbanGeminiKeyRequest.
234
+ * Use `create(UnbanGeminiKeyRequestSchema)` to create a new message.
235
+ */
236
+ export declare const UnbanGeminiKeyRequestSchema: GenMessage<UnbanGeminiKeyRequest>;
237
+
238
+ /**
239
+ * @generated from message admin.ai.v1.ListRequestsRequest
240
+ */
241
+ export declare type ListRequestsRequest = Message<"admin.ai.v1.ListRequestsRequest"> & {
242
+ /**
243
+ * @generated from field: string status = 1;
244
+ */
245
+ status: string;
246
+
247
+ /**
248
+ * @generated from field: uint32 limit = 2;
249
+ */
250
+ limit: number;
251
+
252
+ /**
253
+ * @generated from field: uint64 offset = 3;
254
+ */
255
+ offset: bigint;
256
+ };
257
+
258
+ /**
259
+ * Describes the message admin.ai.v1.ListRequestsRequest.
260
+ * Use `create(ListRequestsRequestSchema)` to create a new message.
261
+ */
262
+ export declare const ListRequestsRequestSchema: GenMessage<ListRequestsRequest>;
263
+
264
+ /**
265
+ * @generated from message admin.ai.v1.ListRequestsResponse
266
+ */
267
+ export declare type ListRequestsResponse = Message<"admin.ai.v1.ListRequestsResponse"> & {
268
+ /**
269
+ * @generated from field: repeated admin.ai.v1.AIRequestRecord requests = 1;
270
+ */
271
+ requests: AIRequestRecord[];
272
+
273
+ /**
274
+ * @generated from field: uint64 total = 2;
275
+ */
276
+ total: bigint;
277
+ };
278
+
279
+ /**
280
+ * Describes the message admin.ai.v1.ListRequestsResponse.
281
+ * Use `create(ListRequestsResponseSchema)` to create a new message.
282
+ */
283
+ export declare const ListRequestsResponseSchema: GenMessage<ListRequestsResponse>;
284
+
285
+ /**
286
+ * @generated from message admin.ai.v1.GetRequestRequest
287
+ */
288
+ export declare type GetRequestRequest = Message<"admin.ai.v1.GetRequestRequest"> & {
289
+ /**
290
+ * @generated from field: string request_id = 1;
291
+ */
292
+ requestId: string;
293
+ };
294
+
295
+ /**
296
+ * Describes the message admin.ai.v1.GetRequestRequest.
297
+ * Use `create(GetRequestRequestSchema)` to create a new message.
298
+ */
299
+ export declare const GetRequestRequestSchema: GenMessage<GetRequestRequest>;
300
+
301
+ /**
302
+ * @generated from message admin.ai.v1.GetRequestResponse
303
+ */
304
+ export declare type GetRequestResponse = Message<"admin.ai.v1.GetRequestResponse"> & {
305
+ /**
306
+ * @generated from field: admin.ai.v1.AIRequestRecord request = 1;
307
+ */
308
+ request?: AIRequestRecord;
309
+ };
310
+
311
+ /**
312
+ * Describes the message admin.ai.v1.GetRequestResponse.
313
+ * Use `create(GetRequestResponseSchema)` to create a new message.
314
+ */
315
+ export declare const GetRequestResponseSchema: GenMessage<GetRequestResponse>;
316
+
317
+ /**
318
+ * @generated from service admin.ai.v1.AIAdminService
319
+ */
320
+ export declare const AIAdminService: GenService<{
321
+ /**
322
+ * @generated from rpc admin.ai.v1.AIAdminService.CreateGeminiKey
323
+ */
324
+ createGeminiKey: {
325
+ methodKind: "unary";
326
+ input: typeof CreateGeminiKeyRequestSchema;
327
+ output: typeof CreateGeminiKeyResponseSchema;
328
+ },
329
+ /**
330
+ * @generated from rpc admin.ai.v1.AIAdminService.ListGeminiKeys
331
+ */
332
+ listGeminiKeys: {
333
+ methodKind: "unary";
334
+ input: typeof ListGeminiKeysRequestSchema;
335
+ output: typeof ListGeminiKeysResponseSchema;
336
+ },
337
+ /**
338
+ * @generated from rpc admin.ai.v1.AIAdminService.DeleteGeminiKey
339
+ */
340
+ deleteGeminiKey: {
341
+ methodKind: "unary";
342
+ input: typeof DeleteGeminiKeyRequestSchema;
343
+ output: typeof EmptySchema;
344
+ },
345
+ /**
346
+ * @generated from rpc admin.ai.v1.AIAdminService.BanGeminiKey
347
+ */
348
+ banGeminiKey: {
349
+ methodKind: "unary";
350
+ input: typeof BanGeminiKeyRequestSchema;
351
+ output: typeof EmptySchema;
352
+ },
353
+ /**
354
+ * @generated from rpc admin.ai.v1.AIAdminService.UnbanGeminiKey
355
+ */
356
+ unbanGeminiKey: {
357
+ methodKind: "unary";
358
+ input: typeof UnbanGeminiKeyRequestSchema;
359
+ output: typeof EmptySchema;
360
+ },
361
+ /**
362
+ * @generated from rpc admin.ai.v1.AIAdminService.ListRequests
363
+ */
364
+ listRequests: {
365
+ methodKind: "unary";
366
+ input: typeof ListRequestsRequestSchema;
367
+ output: typeof ListRequestsResponseSchema;
368
+ },
369
+ /**
370
+ * @generated from rpc admin.ai.v1.AIAdminService.GetRequest
371
+ */
372
+ getRequest: {
373
+ methodKind: "unary";
374
+ input: typeof GetRequestRequestSchema;
375
+ output: typeof GetRequestResponseSchema;
376
+ },
377
+ }>;
378
+
@@ -0,0 +1,111 @@
1
+ // @generated by protoc-gen-es v2.11.0
2
+ // @generated from file admin/ai/v1/service.proto (package admin.ai.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_google_api_annotations } from "../../../google/api/annotations_pb";
7
+ import { file_google_protobuf_empty, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
8
+
9
+ /**
10
+ * Describes the file admin/ai/v1/service.proto.
11
+ */
12
+ export const file_admin_ai_v1_service = /*@__PURE__*/
13
+ fileDesc("ChlhZG1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sZS5wcm90b2J1Zi5FbXB0eSIlgtPkkwIfOgEqIhovYWRtaW4vdjEvYWkva2V5cy97aWR9L2JhbhJ1Cg5VbmJhbkdlbWluaUtleRIiLmFkbWluLmFpLnYxLlVuYmFuR2VtaW5pS2V5UmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSIngtPkkwIhOgEqIhwvYWRtaW4vdjEvYWkva2V5cy97aWR9L3VuYmFuEnIKDExpc3RSZXF1ZXN0cxIgLmFkbWluLmFpLnYxLkxpc3RSZXF1ZXN0c1JlcXVlc3QaIS5hZG1pbi5haS52MS5MaXN0UmVxdWVzdHNSZXNwb25zZSIdgtPkkwIXEhUvYWRtaW4vdjEvYWkvcmVxdWVzdHMSeQoKR2V0UmVxdWVzdBIeLmFkbWluLmFpLnYxLkdldFJlcXVlc3RSZXF1ZXN0Gh8uYWRtaW4uYWkudjEuR2V0UmVxdWVzdFJlc3BvbnNlIiqC0+STAiQSIi9hZG1pbi92MS9haS9yZXF1ZXN0cy97cmVxdWVzdF9pZH1COFo2Z2l0aHViLmNvbS9HMkdzL2FwaS1jb250cmFjdHMtZ28vYWRtaW4vYWkvdjE7YWRtaW5haXYxYgZwcm90bzM", [file_google_api_annotations, file_google_protobuf_empty, file_google_protobuf_timestamp]);
14
+
15
+ /**
16
+ * Describes the message admin.ai.v1.GeminiKey.
17
+ * Use `create(GeminiKeySchema)` to create a new message.
18
+ */
19
+ export const GeminiKeySchema = /*@__PURE__*/
20
+ messageDesc(file_admin_ai_v1_service, 0);
21
+
22
+ /**
23
+ * Describes the message admin.ai.v1.AIRequestRecord.
24
+ * Use `create(AIRequestRecordSchema)` to create a new message.
25
+ */
26
+ export const AIRequestRecordSchema = /*@__PURE__*/
27
+ messageDesc(file_admin_ai_v1_service, 1);
28
+
29
+ /**
30
+ * Describes the message admin.ai.v1.CreateGeminiKeyRequest.
31
+ * Use `create(CreateGeminiKeyRequestSchema)` to create a new message.
32
+ */
33
+ export const CreateGeminiKeyRequestSchema = /*@__PURE__*/
34
+ messageDesc(file_admin_ai_v1_service, 2);
35
+
36
+ /**
37
+ * Describes the message admin.ai.v1.CreateGeminiKeyResponse.
38
+ * Use `create(CreateGeminiKeyResponseSchema)` to create a new message.
39
+ */
40
+ export const CreateGeminiKeyResponseSchema = /*@__PURE__*/
41
+ messageDesc(file_admin_ai_v1_service, 3);
42
+
43
+ /**
44
+ * Describes the message admin.ai.v1.ListGeminiKeysRequest.
45
+ * Use `create(ListGeminiKeysRequestSchema)` to create a new message.
46
+ */
47
+ export const ListGeminiKeysRequestSchema = /*@__PURE__*/
48
+ messageDesc(file_admin_ai_v1_service, 4);
49
+
50
+ /**
51
+ * Describes the message admin.ai.v1.ListGeminiKeysResponse.
52
+ * Use `create(ListGeminiKeysResponseSchema)` to create a new message.
53
+ */
54
+ export const ListGeminiKeysResponseSchema = /*@__PURE__*/
55
+ messageDesc(file_admin_ai_v1_service, 5);
56
+
57
+ /**
58
+ * Describes the message admin.ai.v1.DeleteGeminiKeyRequest.
59
+ * Use `create(DeleteGeminiKeyRequestSchema)` to create a new message.
60
+ */
61
+ export const DeleteGeminiKeyRequestSchema = /*@__PURE__*/
62
+ messageDesc(file_admin_ai_v1_service, 6);
63
+
64
+ /**
65
+ * Describes the message admin.ai.v1.BanGeminiKeyRequest.
66
+ * Use `create(BanGeminiKeyRequestSchema)` to create a new message.
67
+ */
68
+ export const BanGeminiKeyRequestSchema = /*@__PURE__*/
69
+ messageDesc(file_admin_ai_v1_service, 7);
70
+
71
+ /**
72
+ * Describes the message admin.ai.v1.UnbanGeminiKeyRequest.
73
+ * Use `create(UnbanGeminiKeyRequestSchema)` to create a new message.
74
+ */
75
+ export const UnbanGeminiKeyRequestSchema = /*@__PURE__*/
76
+ messageDesc(file_admin_ai_v1_service, 8);
77
+
78
+ /**
79
+ * Describes the message admin.ai.v1.ListRequestsRequest.
80
+ * Use `create(ListRequestsRequestSchema)` to create a new message.
81
+ */
82
+ export const ListRequestsRequestSchema = /*@__PURE__*/
83
+ messageDesc(file_admin_ai_v1_service, 9);
84
+
85
+ /**
86
+ * Describes the message admin.ai.v1.ListRequestsResponse.
87
+ * Use `create(ListRequestsResponseSchema)` to create a new message.
88
+ */
89
+ export const ListRequestsResponseSchema = /*@__PURE__*/
90
+ messageDesc(file_admin_ai_v1_service, 10);
91
+
92
+ /**
93
+ * Describes the message admin.ai.v1.GetRequestRequest.
94
+ * Use `create(GetRequestRequestSchema)` to create a new message.
95
+ */
96
+ export const GetRequestRequestSchema = /*@__PURE__*/
97
+ messageDesc(file_admin_ai_v1_service, 11);
98
+
99
+ /**
100
+ * Describes the message admin.ai.v1.GetRequestResponse.
101
+ * Use `create(GetRequestResponseSchema)` to create a new message.
102
+ */
103
+ export const GetRequestResponseSchema = /*@__PURE__*/
104
+ messageDesc(file_admin_ai_v1_service, 12);
105
+
106
+ /**
107
+ * @generated from service admin.ai.v1.AIAdminService
108
+ */
109
+ export const AIAdminService = /*@__PURE__*/
110
+ serviceDesc(file_admin_ai_v1_service, 0);
111
+
@@ -0,0 +1,44 @@
1
+ // @generated by protoc-gen-connect-es v1.6.1
2
+ // @generated from file admin/file/v1/service.proto (package admin.file.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { DeleteFileRequest, DeleteFileResponse, ListFilesRequest, ListFilesResponse, UploadFileRequest, UploadFileResponse } from "./service_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service admin.file.v1.FileAdminService
11
+ */
12
+ export declare const FileAdminService: {
13
+ readonly typeName: "admin.file.v1.FileAdminService",
14
+ readonly methods: {
15
+ /**
16
+ * @generated from rpc admin.file.v1.FileAdminService.UploadFile
17
+ */
18
+ readonly uploadFile: {
19
+ readonly name: "UploadFile",
20
+ readonly I: typeof UploadFileRequest,
21
+ readonly O: typeof UploadFileResponse,
22
+ readonly kind: MethodKind.Unary,
23
+ },
24
+ /**
25
+ * @generated from rpc admin.file.v1.FileAdminService.ListFiles
26
+ */
27
+ readonly listFiles: {
28
+ readonly name: "ListFiles",
29
+ readonly I: typeof ListFilesRequest,
30
+ readonly O: typeof ListFilesResponse,
31
+ readonly kind: MethodKind.Unary,
32
+ },
33
+ /**
34
+ * @generated from rpc admin.file.v1.FileAdminService.DeleteFile
35
+ */
36
+ readonly deleteFile: {
37
+ readonly name: "DeleteFile",
38
+ readonly I: typeof DeleteFileRequest,
39
+ readonly O: typeof DeleteFileResponse,
40
+ readonly kind: MethodKind.Unary,
41
+ },
42
+ }
43
+ };
44
+