gomtm 0.0.0
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/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/conf/conf.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/conf/conf.js +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/mtps/mtpspb/mtps.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/mtps/mtpspb/mtps.js +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/ai.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/ai.js +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/av.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/av.js +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/bot.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/bot.js +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/cx.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/cx.js +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/events.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/events.js +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/job.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/job.js +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/mtm.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/mtm.js +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/sp.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/sp.js +0 -0
- package/dist/esm/lib/mtmclient/mtm/conf/conf-ConfService_connectquery.d.ts +53 -0
- package/dist/esm/lib/mtmclient/mtm/conf/conf-ConfService_connectquery.js +60 -0
- package/dist/esm/lib/mtmclient/mtm/conf/conf_connect.d.ts +38 -0
- package/dist/esm/lib/mtmclient/mtm/conf/conf_connect.js +56 -0
- package/dist/esm/lib/mtmclient/mtm/conf/conf_pb.d.ts +480 -0
- package/dist/esm/lib/mtmclient/mtm/conf/conf_pb.js +2360 -0
- package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps-PsService_connectquery.d.ts +52 -0
- package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps-PsService_connectquery.js +59 -0
- package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps_connect.d.ts +37 -0
- package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps_connect.js +55 -0
- package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps_pb.d.ts +154 -0
- package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps_pb.js +530 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/ai-AiService_connectquery.d.ts +22 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/ai-AiService_connectquery.js +26 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/ai_connect.d.ts +19 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/ai_connect.js +32 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/ai_pb.d.ts +47 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/ai_pb.js +149 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/av-AvService_connectquery.d.ts +53 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/av-AvService_connectquery.js +60 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/av_connect.d.ts +38 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/av_connect.js +56 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/av_pb.d.ts +77 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/av_pb.js +290 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/bot-BotService_connectquery.d.ts +53 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/bot-BotService_connectquery.js +60 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/bot_connect.d.ts +38 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/bot_connect.js +62 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/bot_pb.d.ts +419 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/bot_pb.js +1267 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/cx-CxService_connectquery.d.ts +133 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/cx-CxService_connectquery.js +148 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/cx_connect.d.ts +86 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/cx_connect.js +141 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/cx_pb.d.ts +335 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/cx_pb.js +1618 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/events_pb.d.ts +231 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/events_pb.js +874 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/job-JobService_connectquery.d.ts +63 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/job-JobService_connectquery.js +71 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/job_connect.d.ts +44 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/job_connect.js +71 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/job_pb.d.ts +208 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/job_pb.js +667 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/mtm-MtmService_connectquery.d.ts +512 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/mtm-MtmService_connectquery.js +565 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/mtm_connect.d.ts +313 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/mtm_connect.js +503 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/mtm_pb.d.ts +1886 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/mtm_pb.js +7664 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/sp-SpService_connectquery.d.ts +213 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/sp-SpService_connectquery.js +236 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/sp_connect.d.ts +134 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/sp_connect.js +208 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/sp_pb.d.ts +684 -0
- package/dist/esm/lib/mtmclient/mtm/sppb/sp_pb.js +2905 -0
- package/dist/tsconfig.type.tsbuildinfo +1 -0
- package/package.json +95 -0
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
+
var __publicField = (obj, key, value) => {
|
|
4
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
|
+
return value;
|
|
6
|
+
};
|
|
7
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
+
import { Paging } from "./mtm_pb";
|
|
9
|
+
const _AvItem = class _AvItem extends Message {
|
|
10
|
+
constructor(data) {
|
|
11
|
+
super();
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: uint32 id = 1;
|
|
14
|
+
*/
|
|
15
|
+
__publicField(this, "id", 0);
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: string title = 2;
|
|
18
|
+
*/
|
|
19
|
+
__publicField(this, "title", "");
|
|
20
|
+
proto3.util.initPartial(data, this);
|
|
21
|
+
}
|
|
22
|
+
static fromBinary(bytes, options) {
|
|
23
|
+
return new _AvItem().fromBinary(bytes, options);
|
|
24
|
+
}
|
|
25
|
+
static fromJson(jsonValue, options) {
|
|
26
|
+
return new _AvItem().fromJson(jsonValue, options);
|
|
27
|
+
}
|
|
28
|
+
static fromJsonString(jsonString, options) {
|
|
29
|
+
return new _AvItem().fromJsonString(jsonString, options);
|
|
30
|
+
}
|
|
31
|
+
static equals(a, b) {
|
|
32
|
+
return proto3.util.equals(_AvItem, a, b);
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
__publicField(_AvItem, "runtime", proto3);
|
|
36
|
+
__publicField(_AvItem, "typeName", "av.AvItem");
|
|
37
|
+
__publicField(_AvItem, "fields", proto3.util.newFieldList(() => [
|
|
38
|
+
{
|
|
39
|
+
no: 1,
|
|
40
|
+
name: "id",
|
|
41
|
+
kind: "scalar",
|
|
42
|
+
T: 13
|
|
43
|
+
/* ScalarType.UINT32 */
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
no: 2,
|
|
47
|
+
name: "title",
|
|
48
|
+
kind: "scalar",
|
|
49
|
+
T: 9
|
|
50
|
+
/* ScalarType.STRING */
|
|
51
|
+
}
|
|
52
|
+
]));
|
|
53
|
+
let AvItem = _AvItem;
|
|
54
|
+
const _AvItemListReq = class _AvItemListReq extends Message {
|
|
55
|
+
constructor(data) {
|
|
56
|
+
super();
|
|
57
|
+
/**
|
|
58
|
+
* @generated from field: sppb.Paging Pagination = 1;
|
|
59
|
+
*/
|
|
60
|
+
__publicField(this, "Pagination");
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: string q = 3;
|
|
63
|
+
*/
|
|
64
|
+
__publicField(this, "q", "");
|
|
65
|
+
proto3.util.initPartial(data, this);
|
|
66
|
+
}
|
|
67
|
+
static fromBinary(bytes, options) {
|
|
68
|
+
return new _AvItemListReq().fromBinary(bytes, options);
|
|
69
|
+
}
|
|
70
|
+
static fromJson(jsonValue, options) {
|
|
71
|
+
return new _AvItemListReq().fromJson(jsonValue, options);
|
|
72
|
+
}
|
|
73
|
+
static fromJsonString(jsonString, options) {
|
|
74
|
+
return new _AvItemListReq().fromJsonString(jsonString, options);
|
|
75
|
+
}
|
|
76
|
+
static equals(a, b) {
|
|
77
|
+
return proto3.util.equals(_AvItemListReq, a, b);
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
__publicField(_AvItemListReq, "runtime", proto3);
|
|
81
|
+
__publicField(_AvItemListReq, "typeName", "av.AvItemListReq");
|
|
82
|
+
__publicField(_AvItemListReq, "fields", proto3.util.newFieldList(() => [
|
|
83
|
+
{ no: 1, name: "Pagination", kind: "message", T: Paging },
|
|
84
|
+
{
|
|
85
|
+
no: 3,
|
|
86
|
+
name: "q",
|
|
87
|
+
kind: "scalar",
|
|
88
|
+
T: 9
|
|
89
|
+
/* ScalarType.STRING */
|
|
90
|
+
}
|
|
91
|
+
]));
|
|
92
|
+
let AvItemListReq = _AvItemListReq;
|
|
93
|
+
const _AvItemListReply = class _AvItemListReply extends Message {
|
|
94
|
+
constructor(data) {
|
|
95
|
+
super();
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: sppb.Paging Pagination = 1;
|
|
98
|
+
*/
|
|
99
|
+
__publicField(this, "Pagination");
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: repeated av.AvItem items = 2;
|
|
102
|
+
*/
|
|
103
|
+
__publicField(this, "items", []);
|
|
104
|
+
/**
|
|
105
|
+
* @generated from field: int32 Total = 3;
|
|
106
|
+
*/
|
|
107
|
+
__publicField(this, "Total", 0);
|
|
108
|
+
proto3.util.initPartial(data, this);
|
|
109
|
+
}
|
|
110
|
+
static fromBinary(bytes, options) {
|
|
111
|
+
return new _AvItemListReply().fromBinary(bytes, options);
|
|
112
|
+
}
|
|
113
|
+
static fromJson(jsonValue, options) {
|
|
114
|
+
return new _AvItemListReply().fromJson(jsonValue, options);
|
|
115
|
+
}
|
|
116
|
+
static fromJsonString(jsonString, options) {
|
|
117
|
+
return new _AvItemListReply().fromJsonString(jsonString, options);
|
|
118
|
+
}
|
|
119
|
+
static equals(a, b) {
|
|
120
|
+
return proto3.util.equals(_AvItemListReply, a, b);
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
__publicField(_AvItemListReply, "runtime", proto3);
|
|
124
|
+
__publicField(_AvItemListReply, "typeName", "av.AvItemListReply");
|
|
125
|
+
__publicField(_AvItemListReply, "fields", proto3.util.newFieldList(() => [
|
|
126
|
+
{ no: 1, name: "Pagination", kind: "message", T: Paging },
|
|
127
|
+
{ no: 2, name: "items", kind: "message", T: AvItem, repeated: true },
|
|
128
|
+
{
|
|
129
|
+
no: 3,
|
|
130
|
+
name: "Total",
|
|
131
|
+
kind: "scalar",
|
|
132
|
+
T: 5
|
|
133
|
+
/* ScalarType.INT32 */
|
|
134
|
+
}
|
|
135
|
+
]));
|
|
136
|
+
let AvItemListReply = _AvItemListReply;
|
|
137
|
+
const _AvItemGetReq = class _AvItemGetReq extends Message {
|
|
138
|
+
constructor(data) {
|
|
139
|
+
super();
|
|
140
|
+
/**
|
|
141
|
+
* @generated from field: uint32 id = 1;
|
|
142
|
+
*/
|
|
143
|
+
__publicField(this, "id", 0);
|
|
144
|
+
proto3.util.initPartial(data, this);
|
|
145
|
+
}
|
|
146
|
+
static fromBinary(bytes, options) {
|
|
147
|
+
return new _AvItemGetReq().fromBinary(bytes, options);
|
|
148
|
+
}
|
|
149
|
+
static fromJson(jsonValue, options) {
|
|
150
|
+
return new _AvItemGetReq().fromJson(jsonValue, options);
|
|
151
|
+
}
|
|
152
|
+
static fromJsonString(jsonString, options) {
|
|
153
|
+
return new _AvItemGetReq().fromJsonString(jsonString, options);
|
|
154
|
+
}
|
|
155
|
+
static equals(a, b) {
|
|
156
|
+
return proto3.util.equals(_AvItemGetReq, a, b);
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
__publicField(_AvItemGetReq, "runtime", proto3);
|
|
160
|
+
__publicField(_AvItemGetReq, "typeName", "av.AvItemGetReq");
|
|
161
|
+
__publicField(_AvItemGetReq, "fields", proto3.util.newFieldList(() => [
|
|
162
|
+
{
|
|
163
|
+
no: 1,
|
|
164
|
+
name: "id",
|
|
165
|
+
kind: "scalar",
|
|
166
|
+
T: 13
|
|
167
|
+
/* ScalarType.UINT32 */
|
|
168
|
+
}
|
|
169
|
+
]));
|
|
170
|
+
let AvItemGetReq = _AvItemGetReq;
|
|
171
|
+
const _AvItemCreateReq = class _AvItemCreateReq extends Message {
|
|
172
|
+
constructor(data) {
|
|
173
|
+
super();
|
|
174
|
+
/**
|
|
175
|
+
* @generated from field: uint32 id = 1;
|
|
176
|
+
*/
|
|
177
|
+
__publicField(this, "id", 0);
|
|
178
|
+
/**
|
|
179
|
+
* @generated from field: string title = 2;
|
|
180
|
+
*/
|
|
181
|
+
__publicField(this, "title", "");
|
|
182
|
+
/**
|
|
183
|
+
* @generated from field: string host = 3;
|
|
184
|
+
*/
|
|
185
|
+
__publicField(this, "host", "");
|
|
186
|
+
proto3.util.initPartial(data, this);
|
|
187
|
+
}
|
|
188
|
+
static fromBinary(bytes, options) {
|
|
189
|
+
return new _AvItemCreateReq().fromBinary(bytes, options);
|
|
190
|
+
}
|
|
191
|
+
static fromJson(jsonValue, options) {
|
|
192
|
+
return new _AvItemCreateReq().fromJson(jsonValue, options);
|
|
193
|
+
}
|
|
194
|
+
static fromJsonString(jsonString, options) {
|
|
195
|
+
return new _AvItemCreateReq().fromJsonString(jsonString, options);
|
|
196
|
+
}
|
|
197
|
+
static equals(a, b) {
|
|
198
|
+
return proto3.util.equals(_AvItemCreateReq, a, b);
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
__publicField(_AvItemCreateReq, "runtime", proto3);
|
|
202
|
+
__publicField(_AvItemCreateReq, "typeName", "av.AvItemCreateReq");
|
|
203
|
+
__publicField(_AvItemCreateReq, "fields", proto3.util.newFieldList(() => [
|
|
204
|
+
{
|
|
205
|
+
no: 1,
|
|
206
|
+
name: "id",
|
|
207
|
+
kind: "scalar",
|
|
208
|
+
T: 13
|
|
209
|
+
/* ScalarType.UINT32 */
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
no: 2,
|
|
213
|
+
name: "title",
|
|
214
|
+
kind: "scalar",
|
|
215
|
+
T: 9
|
|
216
|
+
/* ScalarType.STRING */
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
no: 3,
|
|
220
|
+
name: "host",
|
|
221
|
+
kind: "scalar",
|
|
222
|
+
T: 9
|
|
223
|
+
/* ScalarType.STRING */
|
|
224
|
+
}
|
|
225
|
+
]));
|
|
226
|
+
let AvItemCreateReq = _AvItemCreateReq;
|
|
227
|
+
const _AvItemUpdateReq = class _AvItemUpdateReq extends Message {
|
|
228
|
+
constructor(data) {
|
|
229
|
+
super();
|
|
230
|
+
/**
|
|
231
|
+
* @generated from field: uint32 id = 1;
|
|
232
|
+
*/
|
|
233
|
+
__publicField(this, "id", 0);
|
|
234
|
+
/**
|
|
235
|
+
* @generated from field: string title = 2;
|
|
236
|
+
*/
|
|
237
|
+
__publicField(this, "title", "");
|
|
238
|
+
/**
|
|
239
|
+
* @generated from field: string host = 3;
|
|
240
|
+
*/
|
|
241
|
+
__publicField(this, "host", "");
|
|
242
|
+
proto3.util.initPartial(data, this);
|
|
243
|
+
}
|
|
244
|
+
static fromBinary(bytes, options) {
|
|
245
|
+
return new _AvItemUpdateReq().fromBinary(bytes, options);
|
|
246
|
+
}
|
|
247
|
+
static fromJson(jsonValue, options) {
|
|
248
|
+
return new _AvItemUpdateReq().fromJson(jsonValue, options);
|
|
249
|
+
}
|
|
250
|
+
static fromJsonString(jsonString, options) {
|
|
251
|
+
return new _AvItemUpdateReq().fromJsonString(jsonString, options);
|
|
252
|
+
}
|
|
253
|
+
static equals(a, b) {
|
|
254
|
+
return proto3.util.equals(_AvItemUpdateReq, a, b);
|
|
255
|
+
}
|
|
256
|
+
};
|
|
257
|
+
__publicField(_AvItemUpdateReq, "runtime", proto3);
|
|
258
|
+
__publicField(_AvItemUpdateReq, "typeName", "av.AvItemUpdateReq");
|
|
259
|
+
__publicField(_AvItemUpdateReq, "fields", proto3.util.newFieldList(() => [
|
|
260
|
+
{
|
|
261
|
+
no: 1,
|
|
262
|
+
name: "id",
|
|
263
|
+
kind: "scalar",
|
|
264
|
+
T: 13
|
|
265
|
+
/* ScalarType.UINT32 */
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
no: 2,
|
|
269
|
+
name: "title",
|
|
270
|
+
kind: "scalar",
|
|
271
|
+
T: 9
|
|
272
|
+
/* ScalarType.STRING */
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
no: 3,
|
|
276
|
+
name: "host",
|
|
277
|
+
kind: "scalar",
|
|
278
|
+
T: 9
|
|
279
|
+
/* ScalarType.STRING */
|
|
280
|
+
}
|
|
281
|
+
]));
|
|
282
|
+
let AvItemUpdateReq = _AvItemUpdateReq;
|
|
283
|
+
export {
|
|
284
|
+
AvItem,
|
|
285
|
+
AvItemCreateReq,
|
|
286
|
+
AvItemGetReq,
|
|
287
|
+
AvItemListReply,
|
|
288
|
+
AvItemListReq,
|
|
289
|
+
AvItemUpdateReq
|
|
290
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
+
import { BotGetReq, BotListReq, BotListRes, BotNode, ConsumHandlerListReq, ConsumHandlerListRes, ConsumMessageReq, ConsumMessageRes } from "./bot_pb";
|
|
3
|
+
import { ResDeleteReq, Result } from "./mtm_pb";
|
|
4
|
+
export declare const botList: {
|
|
5
|
+
readonly localName: "botList";
|
|
6
|
+
readonly name: "BotList";
|
|
7
|
+
readonly kind: MethodKind.Unary;
|
|
8
|
+
readonly I: typeof BotListReq;
|
|
9
|
+
readonly O: typeof BotListRes;
|
|
10
|
+
readonly service: {
|
|
11
|
+
readonly typeName: "sppb.BotService";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export declare const botGet: {
|
|
15
|
+
readonly localName: "botGet";
|
|
16
|
+
readonly name: "BotGet";
|
|
17
|
+
readonly kind: MethodKind.Unary;
|
|
18
|
+
readonly I: typeof BotGetReq;
|
|
19
|
+
readonly O: typeof BotNode;
|
|
20
|
+
readonly service: {
|
|
21
|
+
readonly typeName: "sppb.BotService";
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export declare const botDelete: {
|
|
25
|
+
readonly localName: "botDelete";
|
|
26
|
+
readonly name: "BotDelete";
|
|
27
|
+
readonly kind: MethodKind.Unary;
|
|
28
|
+
readonly I: typeof ResDeleteReq;
|
|
29
|
+
readonly O: typeof Result;
|
|
30
|
+
readonly service: {
|
|
31
|
+
readonly typeName: "sppb.BotService";
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export declare const consumMessage: {
|
|
35
|
+
readonly localName: "consumMessage";
|
|
36
|
+
readonly name: "ConsumMessage";
|
|
37
|
+
readonly kind: MethodKind.Unary;
|
|
38
|
+
readonly I: typeof ConsumMessageReq;
|
|
39
|
+
readonly O: typeof ConsumMessageRes;
|
|
40
|
+
readonly service: {
|
|
41
|
+
readonly typeName: "sppb.BotService";
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export declare const consumHandlerList: {
|
|
45
|
+
readonly localName: "consumHandlerList";
|
|
46
|
+
readonly name: "ConsumHandlerList";
|
|
47
|
+
readonly kind: MethodKind.Unary;
|
|
48
|
+
readonly I: typeof ConsumHandlerListReq;
|
|
49
|
+
readonly O: typeof ConsumHandlerListRes;
|
|
50
|
+
readonly service: {
|
|
51
|
+
readonly typeName: "sppb.BotService";
|
|
52
|
+
};
|
|
53
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
+
import { BotGetReq, BotListReq, BotListRes, BotNode, ConsumHandlerListReq, ConsumHandlerListRes, ConsumMessageReq, ConsumMessageRes } from "./bot_pb";
|
|
3
|
+
import { ResDeleteReq, Result } from "./mtm_pb";
|
|
4
|
+
const botList = {
|
|
5
|
+
localName: "botList",
|
|
6
|
+
name: "BotList",
|
|
7
|
+
kind: MethodKind.Unary,
|
|
8
|
+
I: BotListReq,
|
|
9
|
+
O: BotListRes,
|
|
10
|
+
service: {
|
|
11
|
+
typeName: "sppb.BotService"
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
const botGet = {
|
|
15
|
+
localName: "botGet",
|
|
16
|
+
name: "BotGet",
|
|
17
|
+
kind: MethodKind.Unary,
|
|
18
|
+
I: BotGetReq,
|
|
19
|
+
O: BotNode,
|
|
20
|
+
service: {
|
|
21
|
+
typeName: "sppb.BotService"
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
const botDelete = {
|
|
25
|
+
localName: "botDelete",
|
|
26
|
+
name: "BotDelete",
|
|
27
|
+
kind: MethodKind.Unary,
|
|
28
|
+
I: ResDeleteReq,
|
|
29
|
+
O: Result,
|
|
30
|
+
service: {
|
|
31
|
+
typeName: "sppb.BotService"
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
const consumMessage = {
|
|
35
|
+
localName: "consumMessage",
|
|
36
|
+
name: "ConsumMessage",
|
|
37
|
+
kind: MethodKind.Unary,
|
|
38
|
+
I: ConsumMessageReq,
|
|
39
|
+
O: ConsumMessageRes,
|
|
40
|
+
service: {
|
|
41
|
+
typeName: "sppb.BotService"
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
const consumHandlerList = {
|
|
45
|
+
localName: "consumHandlerList",
|
|
46
|
+
name: "ConsumHandlerList",
|
|
47
|
+
kind: MethodKind.Unary,
|
|
48
|
+
I: ConsumHandlerListReq,
|
|
49
|
+
O: ConsumHandlerListRes,
|
|
50
|
+
service: {
|
|
51
|
+
typeName: "sppb.BotService"
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
export {
|
|
55
|
+
botDelete,
|
|
56
|
+
botGet,
|
|
57
|
+
botList,
|
|
58
|
+
consumHandlerList,
|
|
59
|
+
consumMessage
|
|
60
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { BotGetReq, BotListReq, BotListRes, BotNode, ConsumHandlerListReq, ConsumHandlerListRes, ConsumMessageReq, ConsumMessageRes } from "./bot_pb";
|
|
2
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
|
+
import { ResDeleteReq, Result } from "./mtm_pb";
|
|
4
|
+
export declare const BotService: {
|
|
5
|
+
readonly typeName: "sppb.BotService";
|
|
6
|
+
readonly methods: {
|
|
7
|
+
readonly botList: {
|
|
8
|
+
readonly name: "BotList";
|
|
9
|
+
readonly I: typeof BotListReq;
|
|
10
|
+
readonly O: typeof BotListRes;
|
|
11
|
+
readonly kind: MethodKind.Unary;
|
|
12
|
+
};
|
|
13
|
+
readonly botGet: {
|
|
14
|
+
readonly name: "BotGet";
|
|
15
|
+
readonly I: typeof BotGetReq;
|
|
16
|
+
readonly O: typeof BotNode;
|
|
17
|
+
readonly kind: MethodKind.Unary;
|
|
18
|
+
};
|
|
19
|
+
readonly botDelete: {
|
|
20
|
+
readonly name: "BotDelete";
|
|
21
|
+
readonly I: typeof ResDeleteReq;
|
|
22
|
+
readonly O: typeof Result;
|
|
23
|
+
readonly kind: MethodKind.Unary;
|
|
24
|
+
};
|
|
25
|
+
readonly consumMessage: {
|
|
26
|
+
readonly name: "ConsumMessage";
|
|
27
|
+
readonly I: typeof ConsumMessageReq;
|
|
28
|
+
readonly O: typeof ConsumMessageRes;
|
|
29
|
+
readonly kind: MethodKind.Unary;
|
|
30
|
+
};
|
|
31
|
+
readonly consumHandlerList: {
|
|
32
|
+
readonly name: "ConsumHandlerList";
|
|
33
|
+
readonly I: typeof ConsumHandlerListReq;
|
|
34
|
+
readonly O: typeof ConsumHandlerListRes;
|
|
35
|
+
readonly kind: MethodKind.Unary;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { BotGetReq, BotListReq, BotListRes, BotNode, ConsumHandlerListReq, ConsumHandlerListRes, ConsumMessageReq, ConsumMessageRes } from "./bot_pb";
|
|
2
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
|
+
import { ResDeleteReq, Result } from "./mtm_pb";
|
|
4
|
+
const BotService = {
|
|
5
|
+
typeName: "sppb.BotService",
|
|
6
|
+
methods: {
|
|
7
|
+
/**
|
|
8
|
+
* bot worker 上线后,通过调用这个服务获取任务基本配置,
|
|
9
|
+
* 例如 mq 地址,任务结果推送地址
|
|
10
|
+
* rpc BotGetConfig(BotGetConfigReq) returns (BotGetConfigRes) {}
|
|
11
|
+
*
|
|
12
|
+
* @generated from rpc sppb.BotService.BotList
|
|
13
|
+
*/
|
|
14
|
+
botList: {
|
|
15
|
+
name: "BotList",
|
|
16
|
+
I: BotListReq,
|
|
17
|
+
O: BotListRes,
|
|
18
|
+
kind: MethodKind.Unary
|
|
19
|
+
},
|
|
20
|
+
/**
|
|
21
|
+
* @generated from rpc sppb.BotService.BotGet
|
|
22
|
+
*/
|
|
23
|
+
botGet: {
|
|
24
|
+
name: "BotGet",
|
|
25
|
+
I: BotGetReq,
|
|
26
|
+
O: BotNode,
|
|
27
|
+
kind: MethodKind.Unary
|
|
28
|
+
},
|
|
29
|
+
/**
|
|
30
|
+
* @generated from rpc sppb.BotService.BotDelete
|
|
31
|
+
*/
|
|
32
|
+
botDelete: {
|
|
33
|
+
name: "BotDelete",
|
|
34
|
+
I: ResDeleteReq,
|
|
35
|
+
O: Result,
|
|
36
|
+
kind: MethodKind.Unary
|
|
37
|
+
},
|
|
38
|
+
/**
|
|
39
|
+
* 直接消费 由对方主动提交过来的消息
|
|
40
|
+
*
|
|
41
|
+
* @generated from rpc sppb.BotService.ConsumMessage
|
|
42
|
+
*/
|
|
43
|
+
consumMessage: {
|
|
44
|
+
name: "ConsumMessage",
|
|
45
|
+
I: ConsumMessageReq,
|
|
46
|
+
O: ConsumMessageRes,
|
|
47
|
+
kind: MethodKind.Unary
|
|
48
|
+
},
|
|
49
|
+
/**
|
|
50
|
+
* @generated from rpc sppb.BotService.ConsumHandlerList
|
|
51
|
+
*/
|
|
52
|
+
consumHandlerList: {
|
|
53
|
+
name: "ConsumHandlerList",
|
|
54
|
+
I: ConsumHandlerListReq,
|
|
55
|
+
O: ConsumHandlerListRes,
|
|
56
|
+
kind: MethodKind.Unary
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
export {
|
|
61
|
+
BotService
|
|
62
|
+
};
|