@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.
- 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/file/v1/service_connect.d.ts +44 -0
- package/admin/file/v1/service_connect.js +44 -0
- package/admin/file/v1/service_pb.d.ts +211 -0
- package/admin/file/v1/service_pb.js +69 -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
- package/public/file/v1/service_connect.d.ts +29 -0
- package/public/file/v1/service_connect.js +29 -0
- package/public/file/v1/service_pb.d.ts +45 -0
- package/public/file/v1/service_pb.js +27 -0
|
@@ -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 const FileAdminService = {
|
|
13
|
+
typeName: "admin.file.v1.FileAdminService",
|
|
14
|
+
methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc admin.file.v1.FileAdminService.UploadFile
|
|
17
|
+
*/
|
|
18
|
+
uploadFile: {
|
|
19
|
+
name: "UploadFile",
|
|
20
|
+
I: UploadFileRequest,
|
|
21
|
+
O: UploadFileResponse,
|
|
22
|
+
kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @generated from rpc admin.file.v1.FileAdminService.ListFiles
|
|
26
|
+
*/
|
|
27
|
+
listFiles: {
|
|
28
|
+
name: "ListFiles",
|
|
29
|
+
I: ListFilesRequest,
|
|
30
|
+
O: ListFilesResponse,
|
|
31
|
+
kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc admin.file.v1.FileAdminService.DeleteFile
|
|
35
|
+
*/
|
|
36
|
+
deleteFile: {
|
|
37
|
+
name: "DeleteFile",
|
|
38
|
+
I: DeleteFileRequest,
|
|
39
|
+
O: DeleteFileResponse,
|
|
40
|
+
kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0
|
|
2
|
+
// @generated from file admin/file/v1/service.proto (package admin.file.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 { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file admin/file/v1/service.proto.
|
|
11
|
+
*/
|
|
12
|
+
export declare const file_admin_file_v1_service: GenFile;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @generated from message admin.file.v1.FileInfo
|
|
16
|
+
*/
|
|
17
|
+
export declare type FileInfo = Message<"admin.file.v1.FileInfo"> & {
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: uint64 id = 1;
|
|
20
|
+
*/
|
|
21
|
+
id: bigint;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: string original_name = 2;
|
|
25
|
+
*/
|
|
26
|
+
originalName: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: string unique_name = 3;
|
|
30
|
+
*/
|
|
31
|
+
uniqueName: string;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: string file_type = 4;
|
|
35
|
+
*/
|
|
36
|
+
fileType: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: string mime_type = 5;
|
|
40
|
+
*/
|
|
41
|
+
mimeType: string;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: int64 size_bytes = 6;
|
|
45
|
+
*/
|
|
46
|
+
sizeBytes: bigint;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @generated from field: string public_url = 7;
|
|
50
|
+
*/
|
|
51
|
+
publicUrl: string;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: google.protobuf.Timestamp created_at = 8;
|
|
55
|
+
*/
|
|
56
|
+
createdAt?: Timestamp;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Describes the message admin.file.v1.FileInfo.
|
|
61
|
+
* Use `create(FileInfoSchema)` to create a new message.
|
|
62
|
+
*/
|
|
63
|
+
export declare const FileInfoSchema: GenMessage<FileInfo>;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @generated from message admin.file.v1.UploadFileRequest
|
|
67
|
+
*/
|
|
68
|
+
export declare type UploadFileRequest = Message<"admin.file.v1.UploadFileRequest"> & {
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: string name = 1;
|
|
71
|
+
*/
|
|
72
|
+
name: string;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @generated from field: string type = 2;
|
|
76
|
+
*/
|
|
77
|
+
type: string;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @generated from field: bytes data = 3;
|
|
81
|
+
*/
|
|
82
|
+
data: Uint8Array;
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Describes the message admin.file.v1.UploadFileRequest.
|
|
87
|
+
* Use `create(UploadFileRequestSchema)` to create a new message.
|
|
88
|
+
*/
|
|
89
|
+
export declare const UploadFileRequestSchema: GenMessage<UploadFileRequest>;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @generated from message admin.file.v1.UploadFileResponse
|
|
93
|
+
*/
|
|
94
|
+
export declare type UploadFileResponse = Message<"admin.file.v1.UploadFileResponse"> & {
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: admin.file.v1.FileInfo file = 1;
|
|
97
|
+
*/
|
|
98
|
+
file?: FileInfo;
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Describes the message admin.file.v1.UploadFileResponse.
|
|
103
|
+
* Use `create(UploadFileResponseSchema)` to create a new message.
|
|
104
|
+
*/
|
|
105
|
+
export declare const UploadFileResponseSchema: GenMessage<UploadFileResponse>;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @generated from message admin.file.v1.ListFilesRequest
|
|
109
|
+
*/
|
|
110
|
+
export declare type ListFilesRequest = Message<"admin.file.v1.ListFilesRequest"> & {
|
|
111
|
+
/**
|
|
112
|
+
* @generated from field: uint32 limit = 1;
|
|
113
|
+
*/
|
|
114
|
+
limit: number;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: uint64 offset = 2;
|
|
118
|
+
*/
|
|
119
|
+
offset: bigint;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: optional string type = 3;
|
|
123
|
+
*/
|
|
124
|
+
type?: string;
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Describes the message admin.file.v1.ListFilesRequest.
|
|
129
|
+
* Use `create(ListFilesRequestSchema)` to create a new message.
|
|
130
|
+
*/
|
|
131
|
+
export declare const ListFilesRequestSchema: GenMessage<ListFilesRequest>;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @generated from message admin.file.v1.ListFilesResponse
|
|
135
|
+
*/
|
|
136
|
+
export declare type ListFilesResponse = Message<"admin.file.v1.ListFilesResponse"> & {
|
|
137
|
+
/**
|
|
138
|
+
* @generated from field: repeated admin.file.v1.FileInfo items = 1;
|
|
139
|
+
*/
|
|
140
|
+
items: FileInfo[];
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: uint64 total = 2;
|
|
144
|
+
*/
|
|
145
|
+
total: bigint;
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Describes the message admin.file.v1.ListFilesResponse.
|
|
150
|
+
* Use `create(ListFilesResponseSchema)` to create a new message.
|
|
151
|
+
*/
|
|
152
|
+
export declare const ListFilesResponseSchema: GenMessage<ListFilesResponse>;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @generated from message admin.file.v1.DeleteFileRequest
|
|
156
|
+
*/
|
|
157
|
+
export declare type DeleteFileRequest = Message<"admin.file.v1.DeleteFileRequest"> & {
|
|
158
|
+
/**
|
|
159
|
+
* @generated from field: uint64 file_id = 1;
|
|
160
|
+
*/
|
|
161
|
+
fileId: bigint;
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Describes the message admin.file.v1.DeleteFileRequest.
|
|
166
|
+
* Use `create(DeleteFileRequestSchema)` to create a new message.
|
|
167
|
+
*/
|
|
168
|
+
export declare const DeleteFileRequestSchema: GenMessage<DeleteFileRequest>;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* @generated from message admin.file.v1.DeleteFileResponse
|
|
172
|
+
*/
|
|
173
|
+
export declare type DeleteFileResponse = Message<"admin.file.v1.DeleteFileResponse"> & {
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Describes the message admin.file.v1.DeleteFileResponse.
|
|
178
|
+
* Use `create(DeleteFileResponseSchema)` to create a new message.
|
|
179
|
+
*/
|
|
180
|
+
export declare const DeleteFileResponseSchema: GenMessage<DeleteFileResponse>;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @generated from service admin.file.v1.FileAdminService
|
|
184
|
+
*/
|
|
185
|
+
export declare const FileAdminService: GenService<{
|
|
186
|
+
/**
|
|
187
|
+
* @generated from rpc admin.file.v1.FileAdminService.UploadFile
|
|
188
|
+
*/
|
|
189
|
+
uploadFile: {
|
|
190
|
+
methodKind: "unary";
|
|
191
|
+
input: typeof UploadFileRequestSchema;
|
|
192
|
+
output: typeof UploadFileResponseSchema;
|
|
193
|
+
},
|
|
194
|
+
/**
|
|
195
|
+
* @generated from rpc admin.file.v1.FileAdminService.ListFiles
|
|
196
|
+
*/
|
|
197
|
+
listFiles: {
|
|
198
|
+
methodKind: "unary";
|
|
199
|
+
input: typeof ListFilesRequestSchema;
|
|
200
|
+
output: typeof ListFilesResponseSchema;
|
|
201
|
+
},
|
|
202
|
+
/**
|
|
203
|
+
* @generated from rpc admin.file.v1.FileAdminService.DeleteFile
|
|
204
|
+
*/
|
|
205
|
+
deleteFile: {
|
|
206
|
+
methodKind: "unary";
|
|
207
|
+
input: typeof DeleteFileRequestSchema;
|
|
208
|
+
output: typeof DeleteFileResponseSchema;
|
|
209
|
+
},
|
|
210
|
+
}>;
|
|
211
|
+
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0
|
|
2
|
+
// @generated from file admin/file/v1/service.proto (package admin.file.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_timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file admin/file/v1/service.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_admin_file_v1_service = /*@__PURE__*/
|
|
13
|
+
fileDesc("ChthZG1pbi9maWxlL3YxL3NlcnZpY2UucHJvdG8SDWFkbWluLmZpbGUudjEiwAEKCEZpbGVJbmZvEgoKAmlkGAEgASgEEhUKDW9yaWdpbmFsX25hbWUYAiABKAkSEwoLdW5pcXVlX25hbWUYAyABKAkSEQoJZmlsZV90eXBlGAQgASgJEhEKCW1pbWVfdHlwZRgFIAEoCRISCgpzaXplX2J5dGVzGAYgASgDEhIKCnB1YmxpY191cmwYByABKAkSLgoKY3JlYXRlZF9hdBgIIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiPQoRVXBsb2FkRmlsZVJlcXVlc3QSDAoEbmFtZRgBIAEoCRIMCgR0eXBlGAIgASgJEgwKBGRhdGEYAyABKAwiOwoSVXBsb2FkRmlsZVJlc3BvbnNlEiUKBGZpbGUYASABKAsyFy5hZG1pbi5maWxlLnYxLkZpbGVJbmZvIk0KEExpc3RGaWxlc1JlcXVlc3QSDQoFbGltaXQYASABKA0SDgoGb2Zmc2V0GAIgASgEEhEKBHR5cGUYAyABKAlIAIgBAUIHCgVfdHlwZSJKChFMaXN0RmlsZXNSZXNwb25zZRImCgVpdGVtcxgBIAMoCzIXLmFkbWluLmZpbGUudjEuRmlsZUluZm8SDQoFdG90YWwYAiABKAQiJAoRRGVsZXRlRmlsZVJlcXVlc3QSDwoHZmlsZV9pZBgBIAEoBCIUChJEZWxldGVGaWxlUmVzcG9uc2Uy4AIKEEZpbGVBZG1pblNlcnZpY2USbQoKVXBsb2FkRmlsZRIgLmFkbWluLmZpbGUudjEuVXBsb2FkRmlsZVJlcXVlc3QaIS5hZG1pbi5maWxlLnYxLlVwbG9hZEZpbGVSZXNwb25zZSIagtPkkwIUOgEqIg8vYWRtaW4vdjEvZmlsZXMSZwoJTGlzdEZpbGVzEh8uYWRtaW4uZmlsZS52MS5MaXN0RmlsZXNSZXF1ZXN0GiAuYWRtaW4uZmlsZS52MS5MaXN0RmlsZXNSZXNwb25zZSIXgtPkkwIREg8vYWRtaW4vdjEvZmlsZXMSdAoKRGVsZXRlRmlsZRIgLmFkbWluLmZpbGUudjEuRGVsZXRlRmlsZVJlcXVlc3QaIS5hZG1pbi5maWxlLnYxLkRlbGV0ZUZpbGVSZXNwb25zZSIhgtPkkwIbKhkvYWRtaW4vdjEvZmlsZXMve2ZpbGVfaWR9QjxaOmdpdGh1Yi5jb20vRzJHcy9hcGktY29udHJhY3RzLWdvL2FkbWluL2ZpbGUvdjE7YWRtaW5maWxldjFiBnByb3RvMw", [file_google_api_annotations, file_google_protobuf_timestamp]);
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message admin.file.v1.FileInfo.
|
|
17
|
+
* Use `create(FileInfoSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const FileInfoSchema = /*@__PURE__*/
|
|
20
|
+
messageDesc(file_admin_file_v1_service, 0);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message admin.file.v1.UploadFileRequest.
|
|
24
|
+
* Use `create(UploadFileRequestSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const UploadFileRequestSchema = /*@__PURE__*/
|
|
27
|
+
messageDesc(file_admin_file_v1_service, 1);
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message admin.file.v1.UploadFileResponse.
|
|
31
|
+
* Use `create(UploadFileResponseSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
export const UploadFileResponseSchema = /*@__PURE__*/
|
|
34
|
+
messageDesc(file_admin_file_v1_service, 2);
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message admin.file.v1.ListFilesRequest.
|
|
38
|
+
* Use `create(ListFilesRequestSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const ListFilesRequestSchema = /*@__PURE__*/
|
|
41
|
+
messageDesc(file_admin_file_v1_service, 3);
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message admin.file.v1.ListFilesResponse.
|
|
45
|
+
* Use `create(ListFilesResponseSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export const ListFilesResponseSchema = /*@__PURE__*/
|
|
48
|
+
messageDesc(file_admin_file_v1_service, 4);
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message admin.file.v1.DeleteFileRequest.
|
|
52
|
+
* Use `create(DeleteFileRequestSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export const DeleteFileRequestSchema = /*@__PURE__*/
|
|
55
|
+
messageDesc(file_admin_file_v1_service, 5);
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message admin.file.v1.DeleteFileResponse.
|
|
59
|
+
* Use `create(DeleteFileResponseSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
export const DeleteFileResponseSchema = /*@__PURE__*/
|
|
62
|
+
messageDesc(file_admin_file_v1_service, 6);
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @generated from service admin.file.v1.FileAdminService
|
|
66
|
+
*/
|
|
67
|
+
export const FileAdminService = /*@__PURE__*/
|
|
68
|
+
serviceDesc(file_admin_file_v1_service, 0);
|
|
69
|
+
|
|
@@ -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
|
+
|