@g2gs/contracts 1.0.72 → 1.0.73
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/admin/ai/v1/service_connect.d.ts +80 -0
- package/admin/ai/v1/service_connect.js +80 -0
- package/admin/ai/v1/service_pb.d.ts +378 -0
- package/admin/ai/v1/service_pb.js +111 -0
- package/admin/proxy/v1/service_connect.d.ts +53 -0
- package/admin/proxy/v1/service_connect.js +53 -0
- package/admin/proxy/v1/service_pb.d.ts +204 -0
- package/admin/proxy/v1/service_pb.js +76 -0
- package/package.json +1 -1
|
@@ -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("ChlhZG1pbi9haS92MS9zZXJ2aWNlLnByb3RvEgthZG1pbi5haS52MSLjAQoJR2VtaW5pS2V5EgoKAmlkGAEgASgEEg8KB2FwaV9rZXkYAiABKAkSDgoGYmFubmVkGAMgASgIEjcKDmRpc2FibGVkX3VudGlsGAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEgAiAEBEjAKDGxhc3RfdXNlZF9hdBgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASEwoLdXNhZ2VfY291bnQYBiABKAMSFgoOcmVxdWVzdHNfdG9kYXkYByABKANCEQoPX2Rpc2FibGVkX3VudGlsIoUCCg9BSVJlcXVlc3RSZWNvcmQSCgoCaWQYASABKAQSEgoKcmVxdWVzdF9pZBgCIAEoCRIOCgZzdGF0dXMYAyABKAkSDgoGcHJvbXB0GAQgASgJEhMKBnJlc3VsdBgFIAEoCUg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VxdWVzdFJlc3BvbnNlIiqC0+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,53 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1
|
|
2
|
+
// @generated from file admin/proxy/v1/service.proto (package admin.proxy.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { CreateProxyRequest, CreateProxyResponse, DeleteProxyRequest, ListProxiesRequest, ListProxiesResponse, UpdateProxyRequest, UpdateProxyResponse } from "./service_pb.js";
|
|
7
|
+
import { Empty, MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service admin.proxy.v1.ProxyAdminService
|
|
11
|
+
*/
|
|
12
|
+
export declare const ProxyAdminService: {
|
|
13
|
+
readonly typeName: "admin.proxy.v1.ProxyAdminService",
|
|
14
|
+
readonly methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc admin.proxy.v1.ProxyAdminService.CreateProxy
|
|
17
|
+
*/
|
|
18
|
+
readonly createProxy: {
|
|
19
|
+
readonly name: "CreateProxy",
|
|
20
|
+
readonly I: typeof CreateProxyRequest,
|
|
21
|
+
readonly O: typeof CreateProxyResponse,
|
|
22
|
+
readonly kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @generated from rpc admin.proxy.v1.ProxyAdminService.ListProxies
|
|
26
|
+
*/
|
|
27
|
+
readonly listProxies: {
|
|
28
|
+
readonly name: "ListProxies",
|
|
29
|
+
readonly I: typeof ListProxiesRequest,
|
|
30
|
+
readonly O: typeof ListProxiesResponse,
|
|
31
|
+
readonly kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc admin.proxy.v1.ProxyAdminService.UpdateProxy
|
|
35
|
+
*/
|
|
36
|
+
readonly updateProxy: {
|
|
37
|
+
readonly name: "UpdateProxy",
|
|
38
|
+
readonly I: typeof UpdateProxyRequest,
|
|
39
|
+
readonly O: typeof UpdateProxyResponse,
|
|
40
|
+
readonly kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc admin.proxy.v1.ProxyAdminService.DeleteProxy
|
|
44
|
+
*/
|
|
45
|
+
readonly deleteProxy: {
|
|
46
|
+
readonly name: "DeleteProxy",
|
|
47
|
+
readonly I: typeof DeleteProxyRequest,
|
|
48
|
+
readonly O: typeof Empty,
|
|
49
|
+
readonly kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1
|
|
2
|
+
// @generated from file admin/proxy/v1/service.proto (package admin.proxy.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { CreateProxyRequest, CreateProxyResponse, DeleteProxyRequest, ListProxiesRequest, ListProxiesResponse, UpdateProxyRequest, UpdateProxyResponse } from "./service_pb.js";
|
|
7
|
+
import { Empty, MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service admin.proxy.v1.ProxyAdminService
|
|
11
|
+
*/
|
|
12
|
+
export const ProxyAdminService = {
|
|
13
|
+
typeName: "admin.proxy.v1.ProxyAdminService",
|
|
14
|
+
methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc admin.proxy.v1.ProxyAdminService.CreateProxy
|
|
17
|
+
*/
|
|
18
|
+
createProxy: {
|
|
19
|
+
name: "CreateProxy",
|
|
20
|
+
I: CreateProxyRequest,
|
|
21
|
+
O: CreateProxyResponse,
|
|
22
|
+
kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @generated from rpc admin.proxy.v1.ProxyAdminService.ListProxies
|
|
26
|
+
*/
|
|
27
|
+
listProxies: {
|
|
28
|
+
name: "ListProxies",
|
|
29
|
+
I: ListProxiesRequest,
|
|
30
|
+
O: ListProxiesResponse,
|
|
31
|
+
kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc admin.proxy.v1.ProxyAdminService.UpdateProxy
|
|
35
|
+
*/
|
|
36
|
+
updateProxy: {
|
|
37
|
+
name: "UpdateProxy",
|
|
38
|
+
I: UpdateProxyRequest,
|
|
39
|
+
O: UpdateProxyResponse,
|
|
40
|
+
kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc admin.proxy.v1.ProxyAdminService.DeleteProxy
|
|
44
|
+
*/
|
|
45
|
+
deleteProxy: {
|
|
46
|
+
name: "DeleteProxy",
|
|
47
|
+
I: DeleteProxyRequest,
|
|
48
|
+
O: Empty,
|
|
49
|
+
kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0
|
|
2
|
+
// @generated from file admin/proxy/v1/service.proto (package admin.proxy.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/proxy/v1/service.proto.
|
|
11
|
+
*/
|
|
12
|
+
export declare const file_admin_proxy_v1_service: GenFile;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @generated from message admin.proxy.v1.Proxy
|
|
16
|
+
*/
|
|
17
|
+
export declare type Proxy = Message<"admin.proxy.v1.Proxy"> & {
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: uint64 id = 1;
|
|
20
|
+
*/
|
|
21
|
+
id: bigint;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: string proxy_url = 2;
|
|
25
|
+
*/
|
|
26
|
+
proxyUrl: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: google.protobuf.Timestamp created_at = 3;
|
|
30
|
+
*/
|
|
31
|
+
createdAt?: Timestamp;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message admin.proxy.v1.Proxy.
|
|
36
|
+
* Use `create(ProxySchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export declare const ProxySchema: GenMessage<Proxy>;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @generated from message admin.proxy.v1.CreateProxyRequest
|
|
42
|
+
*/
|
|
43
|
+
export declare type CreateProxyRequest = Message<"admin.proxy.v1.CreateProxyRequest"> & {
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: string proxy_url = 1;
|
|
46
|
+
*/
|
|
47
|
+
proxyUrl: string;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message admin.proxy.v1.CreateProxyRequest.
|
|
52
|
+
* Use `create(CreateProxyRequestSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export declare const CreateProxyRequestSchema: GenMessage<CreateProxyRequest>;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @generated from message admin.proxy.v1.CreateProxyResponse
|
|
58
|
+
*/
|
|
59
|
+
export declare type CreateProxyResponse = Message<"admin.proxy.v1.CreateProxyResponse"> & {
|
|
60
|
+
/**
|
|
61
|
+
* @generated from field: admin.proxy.v1.Proxy proxy = 1;
|
|
62
|
+
*/
|
|
63
|
+
proxy?: Proxy;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Describes the message admin.proxy.v1.CreateProxyResponse.
|
|
68
|
+
* Use `create(CreateProxyResponseSchema)` to create a new message.
|
|
69
|
+
*/
|
|
70
|
+
export declare const CreateProxyResponseSchema: GenMessage<CreateProxyResponse>;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* @generated from message admin.proxy.v1.ListProxiesRequest
|
|
74
|
+
*/
|
|
75
|
+
export declare type ListProxiesRequest = Message<"admin.proxy.v1.ListProxiesRequest"> & {
|
|
76
|
+
/**
|
|
77
|
+
* @generated from field: uint32 limit = 1;
|
|
78
|
+
*/
|
|
79
|
+
limit: number;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* @generated from field: uint64 offset = 2;
|
|
83
|
+
*/
|
|
84
|
+
offset: bigint;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Describes the message admin.proxy.v1.ListProxiesRequest.
|
|
89
|
+
* Use `create(ListProxiesRequestSchema)` to create a new message.
|
|
90
|
+
*/
|
|
91
|
+
export declare const ListProxiesRequestSchema: GenMessage<ListProxiesRequest>;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @generated from message admin.proxy.v1.ListProxiesResponse
|
|
95
|
+
*/
|
|
96
|
+
export declare type ListProxiesResponse = Message<"admin.proxy.v1.ListProxiesResponse"> & {
|
|
97
|
+
/**
|
|
98
|
+
* @generated from field: repeated admin.proxy.v1.Proxy proxies = 1;
|
|
99
|
+
*/
|
|
100
|
+
proxies: Proxy[];
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @generated from field: uint64 total = 2;
|
|
104
|
+
*/
|
|
105
|
+
total: bigint;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Describes the message admin.proxy.v1.ListProxiesResponse.
|
|
110
|
+
* Use `create(ListProxiesResponseSchema)` to create a new message.
|
|
111
|
+
*/
|
|
112
|
+
export declare const ListProxiesResponseSchema: GenMessage<ListProxiesResponse>;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @generated from message admin.proxy.v1.UpdateProxyRequest
|
|
116
|
+
*/
|
|
117
|
+
export declare type UpdateProxyRequest = Message<"admin.proxy.v1.UpdateProxyRequest"> & {
|
|
118
|
+
/**
|
|
119
|
+
* @generated from field: uint64 id = 1;
|
|
120
|
+
*/
|
|
121
|
+
id: bigint;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* @generated from field: string proxy_url = 2;
|
|
125
|
+
*/
|
|
126
|
+
proxyUrl: string;
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Describes the message admin.proxy.v1.UpdateProxyRequest.
|
|
131
|
+
* Use `create(UpdateProxyRequestSchema)` to create a new message.
|
|
132
|
+
*/
|
|
133
|
+
export declare const UpdateProxyRequestSchema: GenMessage<UpdateProxyRequest>;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* @generated from message admin.proxy.v1.UpdateProxyResponse
|
|
137
|
+
*/
|
|
138
|
+
export declare type UpdateProxyResponse = Message<"admin.proxy.v1.UpdateProxyResponse"> & {
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: admin.proxy.v1.Proxy proxy = 1;
|
|
141
|
+
*/
|
|
142
|
+
proxy?: Proxy;
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Describes the message admin.proxy.v1.UpdateProxyResponse.
|
|
147
|
+
* Use `create(UpdateProxyResponseSchema)` to create a new message.
|
|
148
|
+
*/
|
|
149
|
+
export declare const UpdateProxyResponseSchema: GenMessage<UpdateProxyResponse>;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* @generated from message admin.proxy.v1.DeleteProxyRequest
|
|
153
|
+
*/
|
|
154
|
+
export declare type DeleteProxyRequest = Message<"admin.proxy.v1.DeleteProxyRequest"> & {
|
|
155
|
+
/**
|
|
156
|
+
* @generated from field: uint64 id = 1;
|
|
157
|
+
*/
|
|
158
|
+
id: bigint;
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Describes the message admin.proxy.v1.DeleteProxyRequest.
|
|
163
|
+
* Use `create(DeleteProxyRequestSchema)` to create a new message.
|
|
164
|
+
*/
|
|
165
|
+
export declare const DeleteProxyRequestSchema: GenMessage<DeleteProxyRequest>;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* @generated from service admin.proxy.v1.ProxyAdminService
|
|
169
|
+
*/
|
|
170
|
+
export declare const ProxyAdminService: GenService<{
|
|
171
|
+
/**
|
|
172
|
+
* @generated from rpc admin.proxy.v1.ProxyAdminService.CreateProxy
|
|
173
|
+
*/
|
|
174
|
+
createProxy: {
|
|
175
|
+
methodKind: "unary";
|
|
176
|
+
input: typeof CreateProxyRequestSchema;
|
|
177
|
+
output: typeof CreateProxyResponseSchema;
|
|
178
|
+
},
|
|
179
|
+
/**
|
|
180
|
+
* @generated from rpc admin.proxy.v1.ProxyAdminService.ListProxies
|
|
181
|
+
*/
|
|
182
|
+
listProxies: {
|
|
183
|
+
methodKind: "unary";
|
|
184
|
+
input: typeof ListProxiesRequestSchema;
|
|
185
|
+
output: typeof ListProxiesResponseSchema;
|
|
186
|
+
},
|
|
187
|
+
/**
|
|
188
|
+
* @generated from rpc admin.proxy.v1.ProxyAdminService.UpdateProxy
|
|
189
|
+
*/
|
|
190
|
+
updateProxy: {
|
|
191
|
+
methodKind: "unary";
|
|
192
|
+
input: typeof UpdateProxyRequestSchema;
|
|
193
|
+
output: typeof UpdateProxyResponseSchema;
|
|
194
|
+
},
|
|
195
|
+
/**
|
|
196
|
+
* @generated from rpc admin.proxy.v1.ProxyAdminService.DeleteProxy
|
|
197
|
+
*/
|
|
198
|
+
deleteProxy: {
|
|
199
|
+
methodKind: "unary";
|
|
200
|
+
input: typeof DeleteProxyRequestSchema;
|
|
201
|
+
output: typeof EmptySchema;
|
|
202
|
+
},
|
|
203
|
+
}>;
|
|
204
|
+
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0
|
|
2
|
+
// @generated from file admin/proxy/v1/service.proto (package admin.proxy.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/proxy/v1/service.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_admin_proxy_v1_service = /*@__PURE__*/
|
|
13
|
+
fileDesc("ChxhZG1pbi9wcm94eS92MS9zZXJ2aWN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5VcGRhdGVQcm94eVJlc3BvbnNlIiGC0+STAhs6ASoaFi9hZG1pbi92MS9wcm94aWVzL3tpZH0SaQoLRGVsZXRlUHJveHkSIi5hZG1pbi5wcm94eS52MS5EZWxldGVQcm94eVJlcXVlc3QaFi5nb29nbGUucHJvdG9idWYuRW1wdHkiHoLT5JMCGCoWL2FkbWluL3YxL3Byb3hpZXMve2lkfUI+WjxnaXRodWIuY29tL0cyR3MvYXBpLWNvbnRyYWN0cy1nby9hZG1pbi9wcm94eS92MTthZG1pbnByb3h5djFiBnByb3RvMw", [file_google_api_annotations, file_google_protobuf_empty, file_google_protobuf_timestamp]);
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message admin.proxy.v1.Proxy.
|
|
17
|
+
* Use `create(ProxySchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const ProxySchema = /*@__PURE__*/
|
|
20
|
+
messageDesc(file_admin_proxy_v1_service, 0);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message admin.proxy.v1.CreateProxyRequest.
|
|
24
|
+
* Use `create(CreateProxyRequestSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const CreateProxyRequestSchema = /*@__PURE__*/
|
|
27
|
+
messageDesc(file_admin_proxy_v1_service, 1);
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message admin.proxy.v1.CreateProxyResponse.
|
|
31
|
+
* Use `create(CreateProxyResponseSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
export const CreateProxyResponseSchema = /*@__PURE__*/
|
|
34
|
+
messageDesc(file_admin_proxy_v1_service, 2);
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message admin.proxy.v1.ListProxiesRequest.
|
|
38
|
+
* Use `create(ListProxiesRequestSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const ListProxiesRequestSchema = /*@__PURE__*/
|
|
41
|
+
messageDesc(file_admin_proxy_v1_service, 3);
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message admin.proxy.v1.ListProxiesResponse.
|
|
45
|
+
* Use `create(ListProxiesResponseSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export const ListProxiesResponseSchema = /*@__PURE__*/
|
|
48
|
+
messageDesc(file_admin_proxy_v1_service, 4);
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message admin.proxy.v1.UpdateProxyRequest.
|
|
52
|
+
* Use `create(UpdateProxyRequestSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export const UpdateProxyRequestSchema = /*@__PURE__*/
|
|
55
|
+
messageDesc(file_admin_proxy_v1_service, 5);
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message admin.proxy.v1.UpdateProxyResponse.
|
|
59
|
+
* Use `create(UpdateProxyResponseSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
export const UpdateProxyResponseSchema = /*@__PURE__*/
|
|
62
|
+
messageDesc(file_admin_proxy_v1_service, 6);
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message admin.proxy.v1.DeleteProxyRequest.
|
|
66
|
+
* Use `create(DeleteProxyRequestSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export const DeleteProxyRequestSchema = /*@__PURE__*/
|
|
69
|
+
messageDesc(file_admin_proxy_v1_service, 7);
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @generated from service admin.proxy.v1.ProxyAdminService
|
|
73
|
+
*/
|
|
74
|
+
export const ProxyAdminService = /*@__PURE__*/
|
|
75
|
+
serviceDesc(file_admin_proxy_v1_service, 0);
|
|
76
|
+
|