gomtm 0.0.38 → 0.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/esm/gomtmpb/mtm/sppb/bot-BotService_connectquery.d.ts +84 -4
  2. package/dist/esm/gomtmpb/mtm/sppb/bot-BotService_connectquery.js +93 -5
  3. package/dist/esm/gomtmpb/mtm/sppb/bot_connect.d.ts +52 -4
  4. package/dist/esm/gomtmpb/mtm/sppb/bot_connect.js +78 -4
  5. package/dist/esm/gomtmpb/mtm/sppb/bot_pb.d.ts +237 -28
  6. package/dist/esm/gomtmpb/mtm/sppb/bot_pb.js +764 -66
  7. package/dist/esm/gomtmpb/mtm/sppb/cx-CxService_connectquery.d.ts +3 -3
  8. package/dist/esm/gomtmpb/mtm/sppb/cx-CxService_connectquery.js +3 -3
  9. package/dist/esm/gomtmpb/mtm/sppb/cx_connect.d.ts +3 -3
  10. package/dist/esm/gomtmpb/mtm/sppb/cx_connect.js +3 -3
  11. package/dist/esm/gomtmpb/mtm/sppb/mtm-MtmService_connectquery.d.ts +29 -9
  12. package/dist/esm/gomtmpb/mtm/sppb/mtm-MtmService_connectquery.js +31 -9
  13. package/dist/esm/gomtmpb/mtm/sppb/mtm_connect.d.ts +21 -9
  14. package/dist/esm/gomtmpb/mtm/sppb/mtm_connect.js +27 -9
  15. package/dist/esm/gomtmpb/mtm/sppb/mtm_pb.d.ts +27 -36
  16. package/dist/esm/gomtmpb/mtm/sppb/mtm_pb.js +67 -73
  17. package/dist/esm/messageTypeRegistry.js +0 -2
  18. package/dist/esm/validations/spContentModi.d.ts +4 -4
  19. package/dist/tsconfig.type.tsbuildinfo +1 -1
  20. package/package.json +1 -1
  21. package/dist/esm/gomtmpb/descriptions/mtm/sppb/job.d.ts +0 -0
  22. package/dist/esm/gomtmpb/descriptions/mtm/sppb/job.js +0 -0
  23. package/dist/esm/gomtmpb/mtm/sppb/job-JobService_connectquery.d.ts +0 -63
  24. package/dist/esm/gomtmpb/mtm/sppb/job-JobService_connectquery.js +0 -71
  25. package/dist/esm/gomtmpb/mtm/sppb/job_connect.d.ts +0 -44
  26. package/dist/esm/gomtmpb/mtm/sppb/job_connect.js +0 -71
  27. package/dist/esm/gomtmpb/mtm/sppb/job_pb.d.ts +0 -208
  28. package/dist/esm/gomtmpb/mtm/sppb/job_pb.js +0 -667
@@ -6,6 +6,17 @@ var __publicField = (obj, key, value) => {
6
6
  };
7
7
  import { Any, Message, proto3 } from "@bufbuild/protobuf";
8
8
  import { Paging } from "./mtm_pb";
9
+ var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
10
+ JobStatus2[JobStatus2["PADDING"] = 0] = "PADDING";
11
+ JobStatus2[JobStatus2["RUNNING"] = 1] = "RUNNING";
12
+ JobStatus2[JobStatus2["END"] = 2] = "END";
13
+ return JobStatus2;
14
+ })(JobStatus || {});
15
+ proto3.util.setEnumType(JobStatus, "sppb.JobStatus", [
16
+ { no: 0, name: "PADDING" },
17
+ { no: 1, name: "RUNNING" },
18
+ { no: 2, name: "END" }
19
+ ]);
9
20
  var MtBotConsumerType = /* @__PURE__ */ ((MtBotConsumerType2) => {
10
21
  MtBotConsumerType2[MtBotConsumerType2["COMMON"] = 0] = "COMMON";
11
22
  MtBotConsumerType2[MtBotConsumerType2["DEV"] = 1] = "DEV";
@@ -15,6 +26,645 @@ proto3.util.setEnumType(MtBotConsumerType, "sppb.MtBotConsumerType", [
15
26
  { no: 0, name: "COMMON" },
16
27
  { no: 1, name: "DEV" }
17
28
  ]);
29
+ const _JobRunReq = class _JobRunReq extends Message {
30
+ constructor(data) {
31
+ super();
32
+ /**
33
+ * @generated from field: string name = 1;
34
+ */
35
+ __publicField(this, "name", "");
36
+ proto3.util.initPartial(data, this);
37
+ }
38
+ static fromBinary(bytes, options) {
39
+ return new _JobRunReq().fromBinary(bytes, options);
40
+ }
41
+ static fromJson(jsonValue, options) {
42
+ return new _JobRunReq().fromJson(jsonValue, options);
43
+ }
44
+ static fromJsonString(jsonString, options) {
45
+ return new _JobRunReq().fromJsonString(jsonString, options);
46
+ }
47
+ static equals(a, b) {
48
+ return proto3.util.equals(_JobRunReq, a, b);
49
+ }
50
+ };
51
+ __publicField(_JobRunReq, "runtime", proto3);
52
+ __publicField(_JobRunReq, "typeName", "sppb.JobRunReq");
53
+ __publicField(_JobRunReq, "fields", proto3.util.newFieldList(() => [
54
+ {
55
+ no: 1,
56
+ name: "name",
57
+ kind: "scalar",
58
+ T: 9
59
+ /* ScalarType.STRING */
60
+ }
61
+ ]));
62
+ let JobRunReq = _JobRunReq;
63
+ const _JobRunReply = class _JobRunReply extends Message {
64
+ constructor(data) {
65
+ super();
66
+ /**
67
+ * @generated from field: string log_session_id = 1;
68
+ */
69
+ __publicField(this, "logSessionId", "");
70
+ proto3.util.initPartial(data, this);
71
+ }
72
+ static fromBinary(bytes, options) {
73
+ return new _JobRunReply().fromBinary(bytes, options);
74
+ }
75
+ static fromJson(jsonValue, options) {
76
+ return new _JobRunReply().fromJson(jsonValue, options);
77
+ }
78
+ static fromJsonString(jsonString, options) {
79
+ return new _JobRunReply().fromJsonString(jsonString, options);
80
+ }
81
+ static equals(a, b) {
82
+ return proto3.util.equals(_JobRunReply, a, b);
83
+ }
84
+ };
85
+ __publicField(_JobRunReply, "runtime", proto3);
86
+ __publicField(_JobRunReply, "typeName", "sppb.JobRunReply");
87
+ __publicField(_JobRunReply, "fields", proto3.util.newFieldList(() => [
88
+ {
89
+ no: 1,
90
+ name: "log_session_id",
91
+ kind: "scalar",
92
+ T: 9
93
+ /* ScalarType.STRING */
94
+ }
95
+ ]));
96
+ let JobRunReply = _JobRunReply;
97
+ const _JobDefine = class _JobDefine extends Message {
98
+ constructor(data) {
99
+ super();
100
+ /**
101
+ * @generated from field: string id = 1;
102
+ */
103
+ __publicField(this, "id", "");
104
+ /**
105
+ * @gotags: yaml:"name,omitempty"
106
+ *
107
+ * @generated from field: string name = 2;
108
+ */
109
+ __publicField(this, "name", "");
110
+ /**
111
+ * @gotags: yaml:"title,omitempty"
112
+ *
113
+ * @generated from field: string title = 3;
114
+ */
115
+ __publicField(this, "title", "");
116
+ /**
117
+ * @gotags: yaml:"type,omitempty"
118
+ *
119
+ * @generated from field: string type = 4;
120
+ */
121
+ __publicField(this, "type", "");
122
+ /**
123
+ * @gotags: yaml:"dependents,omitempty"
124
+ *
125
+ * @generated from field: repeated string dependents = 5;
126
+ */
127
+ __publicField(this, "dependents", []);
128
+ /**
129
+ * @gotags: yaml:"timeoutSeconds,omitempty"
130
+ *
131
+ * @generated from field: uint32 timeout_second = 6;
132
+ */
133
+ __publicField(this, "timeoutSecond", 0);
134
+ proto3.util.initPartial(data, this);
135
+ }
136
+ static fromBinary(bytes, options) {
137
+ return new _JobDefine().fromBinary(bytes, options);
138
+ }
139
+ static fromJson(jsonValue, options) {
140
+ return new _JobDefine().fromJson(jsonValue, options);
141
+ }
142
+ static fromJsonString(jsonString, options) {
143
+ return new _JobDefine().fromJsonString(jsonString, options);
144
+ }
145
+ static equals(a, b) {
146
+ return proto3.util.equals(_JobDefine, a, b);
147
+ }
148
+ };
149
+ __publicField(_JobDefine, "runtime", proto3);
150
+ __publicField(_JobDefine, "typeName", "sppb.JobDefine");
151
+ __publicField(_JobDefine, "fields", proto3.util.newFieldList(() => [
152
+ {
153
+ no: 1,
154
+ name: "id",
155
+ kind: "scalar",
156
+ T: 9
157
+ /* ScalarType.STRING */
158
+ },
159
+ {
160
+ no: 2,
161
+ name: "name",
162
+ kind: "scalar",
163
+ T: 9
164
+ /* ScalarType.STRING */
165
+ },
166
+ {
167
+ no: 3,
168
+ name: "title",
169
+ kind: "scalar",
170
+ T: 9
171
+ /* ScalarType.STRING */
172
+ },
173
+ {
174
+ no: 4,
175
+ name: "type",
176
+ kind: "scalar",
177
+ T: 9
178
+ /* ScalarType.STRING */
179
+ },
180
+ { no: 5, name: "dependents", kind: "scalar", T: 9, repeated: true },
181
+ {
182
+ no: 6,
183
+ name: "timeout_second",
184
+ kind: "scalar",
185
+ T: 13
186
+ /* ScalarType.UINT32 */
187
+ }
188
+ ]));
189
+ let JobDefine = _JobDefine;
190
+ const _Job = class _Job extends Message {
191
+ constructor(data) {
192
+ super();
193
+ /**
194
+ * @generated from field: string id = 1;
195
+ */
196
+ __publicField(this, "id", "");
197
+ /**
198
+ * @generated from field: string name = 2;
199
+ */
200
+ __publicField(this, "name", "");
201
+ /**
202
+ * @generated from field: sppb.JobStatus status = 3;
203
+ */
204
+ __publicField(this, "status", 0 /* PADDING */);
205
+ proto3.util.initPartial(data, this);
206
+ }
207
+ static fromBinary(bytes, options) {
208
+ return new _Job().fromBinary(bytes, options);
209
+ }
210
+ static fromJson(jsonValue, options) {
211
+ return new _Job().fromJson(jsonValue, options);
212
+ }
213
+ static fromJsonString(jsonString, options) {
214
+ return new _Job().fromJsonString(jsonString, options);
215
+ }
216
+ static equals(a, b) {
217
+ return proto3.util.equals(_Job, a, b);
218
+ }
219
+ };
220
+ __publicField(_Job, "runtime", proto3);
221
+ __publicField(_Job, "typeName", "sppb.Job");
222
+ __publicField(_Job, "fields", proto3.util.newFieldList(() => [
223
+ {
224
+ no: 1,
225
+ name: "id",
226
+ kind: "scalar",
227
+ T: 9
228
+ /* ScalarType.STRING */
229
+ },
230
+ {
231
+ no: 2,
232
+ name: "name",
233
+ kind: "scalar",
234
+ T: 9
235
+ /* ScalarType.STRING */
236
+ },
237
+ { no: 3, name: "status", kind: "enum", T: proto3.getEnumType(JobStatus) }
238
+ ]));
239
+ let Job = _Job;
240
+ const _JobDependan = class _JobDependan extends Message {
241
+ constructor(data) {
242
+ super();
243
+ /**
244
+ * @generated from field: string name = 1;
245
+ */
246
+ __publicField(this, "name", "");
247
+ proto3.util.initPartial(data, this);
248
+ }
249
+ static fromBinary(bytes, options) {
250
+ return new _JobDependan().fromBinary(bytes, options);
251
+ }
252
+ static fromJson(jsonValue, options) {
253
+ return new _JobDependan().fromJson(jsonValue, options);
254
+ }
255
+ static fromJsonString(jsonString, options) {
256
+ return new _JobDependan().fromJsonString(jsonString, options);
257
+ }
258
+ static equals(a, b) {
259
+ return proto3.util.equals(_JobDependan, a, b);
260
+ }
261
+ };
262
+ __publicField(_JobDependan, "runtime", proto3);
263
+ __publicField(_JobDependan, "typeName", "sppb.JobDependan");
264
+ __publicField(_JobDependan, "fields", proto3.util.newFieldList(() => [
265
+ {
266
+ no: 1,
267
+ name: "name",
268
+ kind: "scalar",
269
+ T: 9
270
+ /* ScalarType.STRING */
271
+ }
272
+ ]));
273
+ let JobDependan = _JobDependan;
274
+ const _JobDefineCreateReq = class _JobDefineCreateReq extends Message {
275
+ constructor(data) {
276
+ super();
277
+ /**
278
+ * @generated from field: string name = 1;
279
+ */
280
+ __publicField(this, "name", "");
281
+ proto3.util.initPartial(data, this);
282
+ }
283
+ static fromBinary(bytes, options) {
284
+ return new _JobDefineCreateReq().fromBinary(bytes, options);
285
+ }
286
+ static fromJson(jsonValue, options) {
287
+ return new _JobDefineCreateReq().fromJson(jsonValue, options);
288
+ }
289
+ static fromJsonString(jsonString, options) {
290
+ return new _JobDefineCreateReq().fromJsonString(jsonString, options);
291
+ }
292
+ static equals(a, b) {
293
+ return proto3.util.equals(_JobDefineCreateReq, a, b);
294
+ }
295
+ };
296
+ __publicField(_JobDefineCreateReq, "runtime", proto3);
297
+ __publicField(_JobDefineCreateReq, "typeName", "sppb.JobDefineCreateReq");
298
+ __publicField(_JobDefineCreateReq, "fields", proto3.util.newFieldList(() => [
299
+ {
300
+ no: 1,
301
+ name: "name",
302
+ kind: "scalar",
303
+ T: 9
304
+ /* ScalarType.STRING */
305
+ }
306
+ ]));
307
+ let JobDefineCreateReq = _JobDefineCreateReq;
308
+ const _CornTask = class _CornTask extends Message {
309
+ constructor(data) {
310
+ super();
311
+ /**
312
+ * @gotags: yaml:"name,omitempty"
313
+ *
314
+ * @generated from field: string name = 1;
315
+ */
316
+ __publicField(this, "name", "");
317
+ /**
318
+ * @gotags: yaml:"params,omitempty"
319
+ *
320
+ * @generated from field: repeated string params = 2;
321
+ */
322
+ __publicField(this, "params", []);
323
+ proto3.util.initPartial(data, this);
324
+ }
325
+ static fromBinary(bytes, options) {
326
+ return new _CornTask().fromBinary(bytes, options);
327
+ }
328
+ static fromJson(jsonValue, options) {
329
+ return new _CornTask().fromJson(jsonValue, options);
330
+ }
331
+ static fromJsonString(jsonString, options) {
332
+ return new _CornTask().fromJsonString(jsonString, options);
333
+ }
334
+ static equals(a, b) {
335
+ return proto3.util.equals(_CornTask, a, b);
336
+ }
337
+ };
338
+ __publicField(_CornTask, "runtime", proto3);
339
+ __publicField(_CornTask, "typeName", "sppb.CornTask");
340
+ __publicField(_CornTask, "fields", proto3.util.newFieldList(() => [
341
+ {
342
+ no: 1,
343
+ name: "name",
344
+ kind: "scalar",
345
+ T: 9
346
+ /* ScalarType.STRING */
347
+ },
348
+ { no: 2, name: "params", kind: "scalar", T: 9, repeated: true }
349
+ ]));
350
+ let CornTask = _CornTask;
351
+ const _CornJob = class _CornJob extends Message {
352
+ constructor(data) {
353
+ super();
354
+ /**
355
+ * @gotags: yaml:"name,omitempty"
356
+ *
357
+ * @generated from field: string name = 1;
358
+ */
359
+ __publicField(this, "name", "");
360
+ /**
361
+ * @gotags: yaml:"type,omitempty"
362
+ *
363
+ * @generated from field: string type = 2;
364
+ */
365
+ __publicField(this, "type", "");
366
+ /**
367
+ * 定时任务的值,例如多少秒s
368
+ *
369
+ * @gotags: yaml:"value,omitempty"
370
+ *
371
+ * @generated from field: string value = 3;
372
+ */
373
+ __publicField(this, "value", "");
374
+ /**
375
+ * @gotags: yaml:"tasks,omitempty"
376
+ *
377
+ * @generated from field: repeated sppb.CornTask tasks = 4;
378
+ */
379
+ __publicField(this, "tasks", []);
380
+ proto3.util.initPartial(data, this);
381
+ }
382
+ static fromBinary(bytes, options) {
383
+ return new _CornJob().fromBinary(bytes, options);
384
+ }
385
+ static fromJson(jsonValue, options) {
386
+ return new _CornJob().fromJson(jsonValue, options);
387
+ }
388
+ static fromJsonString(jsonString, options) {
389
+ return new _CornJob().fromJsonString(jsonString, options);
390
+ }
391
+ static equals(a, b) {
392
+ return proto3.util.equals(_CornJob, a, b);
393
+ }
394
+ };
395
+ __publicField(_CornJob, "runtime", proto3);
396
+ __publicField(_CornJob, "typeName", "sppb.CornJob");
397
+ __publicField(_CornJob, "fields", proto3.util.newFieldList(() => [
398
+ {
399
+ no: 1,
400
+ name: "name",
401
+ kind: "scalar",
402
+ T: 9
403
+ /* ScalarType.STRING */
404
+ },
405
+ {
406
+ no: 2,
407
+ name: "type",
408
+ kind: "scalar",
409
+ T: 9
410
+ /* ScalarType.STRING */
411
+ },
412
+ {
413
+ no: 3,
414
+ name: "value",
415
+ kind: "scalar",
416
+ T: 9
417
+ /* ScalarType.STRING */
418
+ },
419
+ { no: 4, name: "tasks", kind: "message", T: CornTask, repeated: true }
420
+ ]));
421
+ let CornJob = _CornJob;
422
+ const _CornJobConfig = class _CornJobConfig extends Message {
423
+ constructor(data) {
424
+ super();
425
+ /**
426
+ * @gotags: yaml:"jobs,omitempty"
427
+ *
428
+ * @generated from field: repeated sppb.CornJob jobs = 1;
429
+ */
430
+ __publicField(this, "jobs", []);
431
+ proto3.util.initPartial(data, this);
432
+ }
433
+ static fromBinary(bytes, options) {
434
+ return new _CornJobConfig().fromBinary(bytes, options);
435
+ }
436
+ static fromJson(jsonValue, options) {
437
+ return new _CornJobConfig().fromJson(jsonValue, options);
438
+ }
439
+ static fromJsonString(jsonString, options) {
440
+ return new _CornJobConfig().fromJsonString(jsonString, options);
441
+ }
442
+ static equals(a, b) {
443
+ return proto3.util.equals(_CornJobConfig, a, b);
444
+ }
445
+ };
446
+ __publicField(_CornJobConfig, "runtime", proto3);
447
+ __publicField(_CornJobConfig, "typeName", "sppb.CornJobConfig");
448
+ __publicField(_CornJobConfig, "fields", proto3.util.newFieldList(() => [
449
+ { no: 1, name: "jobs", kind: "message", T: CornJob, repeated: true }
450
+ ]));
451
+ let CornJobConfig = _CornJobConfig;
452
+ const _JobListReq = class _JobListReq extends Message {
453
+ constructor(data) {
454
+ super();
455
+ proto3.util.initPartial(data, this);
456
+ }
457
+ static fromBinary(bytes, options) {
458
+ return new _JobListReq().fromBinary(bytes, options);
459
+ }
460
+ static fromJson(jsonValue, options) {
461
+ return new _JobListReq().fromJson(jsonValue, options);
462
+ }
463
+ static fromJsonString(jsonString, options) {
464
+ return new _JobListReq().fromJsonString(jsonString, options);
465
+ }
466
+ static equals(a, b) {
467
+ return proto3.util.equals(_JobListReq, a, b);
468
+ }
469
+ };
470
+ __publicField(_JobListReq, "runtime", proto3);
471
+ __publicField(_JobListReq, "typeName", "sppb.JobListReq");
472
+ __publicField(_JobListReq, "fields", proto3.util.newFieldList(() => []));
473
+ let JobListReq = _JobListReq;
474
+ const _DevJob = class _DevJob extends Message {
475
+ constructor(data) {
476
+ super();
477
+ /**
478
+ * @generated from field: string name = 1;
479
+ */
480
+ __publicField(this, "name", "");
481
+ proto3.util.initPartial(data, this);
482
+ }
483
+ static fromBinary(bytes, options) {
484
+ return new _DevJob().fromBinary(bytes, options);
485
+ }
486
+ static fromJson(jsonValue, options) {
487
+ return new _DevJob().fromJson(jsonValue, options);
488
+ }
489
+ static fromJsonString(jsonString, options) {
490
+ return new _DevJob().fromJsonString(jsonString, options);
491
+ }
492
+ static equals(a, b) {
493
+ return proto3.util.equals(_DevJob, a, b);
494
+ }
495
+ };
496
+ __publicField(_DevJob, "runtime", proto3);
497
+ __publicField(_DevJob, "typeName", "sppb.DevJob");
498
+ __publicField(_DevJob, "fields", proto3.util.newFieldList(() => [
499
+ {
500
+ no: 1,
501
+ name: "name",
502
+ kind: "scalar",
503
+ T: 9
504
+ /* ScalarType.STRING */
505
+ }
506
+ ]));
507
+ let DevJob = _DevJob;
508
+ const _JobListRes = class _JobListRes extends Message {
509
+ constructor(data) {
510
+ super();
511
+ /**
512
+ * @generated from field: repeated sppb.DevJob items = 1;
513
+ */
514
+ __publicField(this, "items", []);
515
+ proto3.util.initPartial(data, this);
516
+ }
517
+ static fromBinary(bytes, options) {
518
+ return new _JobListRes().fromBinary(bytes, options);
519
+ }
520
+ static fromJson(jsonValue, options) {
521
+ return new _JobListRes().fromJson(jsonValue, options);
522
+ }
523
+ static fromJsonString(jsonString, options) {
524
+ return new _JobListRes().fromJsonString(jsonString, options);
525
+ }
526
+ static equals(a, b) {
527
+ return proto3.util.equals(_JobListRes, a, b);
528
+ }
529
+ };
530
+ __publicField(_JobListRes, "runtime", proto3);
531
+ __publicField(_JobListRes, "typeName", "sppb.JobListRes");
532
+ __publicField(_JobListRes, "fields", proto3.util.newFieldList(() => [
533
+ { no: 1, name: "items", kind: "message", T: DevJob, repeated: true }
534
+ ]));
535
+ let JobListRes = _JobListRes;
536
+ const _DevGitCommitReq = class _DevGitCommitReq extends Message {
537
+ constructor(data) {
538
+ super();
539
+ proto3.util.initPartial(data, this);
540
+ }
541
+ static fromBinary(bytes, options) {
542
+ return new _DevGitCommitReq().fromBinary(bytes, options);
543
+ }
544
+ static fromJson(jsonValue, options) {
545
+ return new _DevGitCommitReq().fromJson(jsonValue, options);
546
+ }
547
+ static fromJsonString(jsonString, options) {
548
+ return new _DevGitCommitReq().fromJsonString(jsonString, options);
549
+ }
550
+ static equals(a, b) {
551
+ return proto3.util.equals(_DevGitCommitReq, a, b);
552
+ }
553
+ };
554
+ __publicField(_DevGitCommitReq, "runtime", proto3);
555
+ __publicField(_DevGitCommitReq, "typeName", "sppb.DevGitCommitReq");
556
+ __publicField(_DevGitCommitReq, "fields", proto3.util.newFieldList(() => []));
557
+ let DevGitCommitReq = _DevGitCommitReq;
558
+ const _DevGitCommitRes = class _DevGitCommitRes extends Message {
559
+ constructor(data) {
560
+ super();
561
+ proto3.util.initPartial(data, this);
562
+ }
563
+ static fromBinary(bytes, options) {
564
+ return new _DevGitCommitRes().fromBinary(bytes, options);
565
+ }
566
+ static fromJson(jsonValue, options) {
567
+ return new _DevGitCommitRes().fromJson(jsonValue, options);
568
+ }
569
+ static fromJsonString(jsonString, options) {
570
+ return new _DevGitCommitRes().fromJsonString(jsonString, options);
571
+ }
572
+ static equals(a, b) {
573
+ return proto3.util.equals(_DevGitCommitRes, a, b);
574
+ }
575
+ };
576
+ __publicField(_DevGitCommitRes, "runtime", proto3);
577
+ __publicField(_DevGitCommitRes, "typeName", "sppb.DevGitCommitRes");
578
+ __publicField(_DevGitCommitRes, "fields", proto3.util.newFieldList(() => []));
579
+ let DevGitCommitRes = _DevGitCommitRes;
580
+ const _DevStartChromeReq = class _DevStartChromeReq extends Message {
581
+ constructor(data) {
582
+ super();
583
+ proto3.util.initPartial(data, this);
584
+ }
585
+ static fromBinary(bytes, options) {
586
+ return new _DevStartChromeReq().fromBinary(bytes, options);
587
+ }
588
+ static fromJson(jsonValue, options) {
589
+ return new _DevStartChromeReq().fromJson(jsonValue, options);
590
+ }
591
+ static fromJsonString(jsonString, options) {
592
+ return new _DevStartChromeReq().fromJsonString(jsonString, options);
593
+ }
594
+ static equals(a, b) {
595
+ return proto3.util.equals(_DevStartChromeReq, a, b);
596
+ }
597
+ };
598
+ __publicField(_DevStartChromeReq, "runtime", proto3);
599
+ __publicField(_DevStartChromeReq, "typeName", "sppb.DevStartChromeReq");
600
+ __publicField(_DevStartChromeReq, "fields", proto3.util.newFieldList(() => []));
601
+ let DevStartChromeReq = _DevStartChromeReq;
602
+ const _DevStartChromeRes = class _DevStartChromeRes extends Message {
603
+ constructor(data) {
604
+ super();
605
+ proto3.util.initPartial(data, this);
606
+ }
607
+ static fromBinary(bytes, options) {
608
+ return new _DevStartChromeRes().fromBinary(bytes, options);
609
+ }
610
+ static fromJson(jsonValue, options) {
611
+ return new _DevStartChromeRes().fromJson(jsonValue, options);
612
+ }
613
+ static fromJsonString(jsonString, options) {
614
+ return new _DevStartChromeRes().fromJsonString(jsonString, options);
615
+ }
616
+ static equals(a, b) {
617
+ return proto3.util.equals(_DevStartChromeRes, a, b);
618
+ }
619
+ };
620
+ __publicField(_DevStartChromeRes, "runtime", proto3);
621
+ __publicField(_DevStartChromeRes, "typeName", "sppb.DevStartChromeRes");
622
+ __publicField(_DevStartChromeRes, "fields", proto3.util.newFieldList(() => []));
623
+ let DevStartChromeRes = _DevStartChromeRes;
624
+ const _DevDockerBuildMtmReq = class _DevDockerBuildMtmReq extends Message {
625
+ constructor(data) {
626
+ super();
627
+ proto3.util.initPartial(data, this);
628
+ }
629
+ static fromBinary(bytes, options) {
630
+ return new _DevDockerBuildMtmReq().fromBinary(bytes, options);
631
+ }
632
+ static fromJson(jsonValue, options) {
633
+ return new _DevDockerBuildMtmReq().fromJson(jsonValue, options);
634
+ }
635
+ static fromJsonString(jsonString, options) {
636
+ return new _DevDockerBuildMtmReq().fromJsonString(jsonString, options);
637
+ }
638
+ static equals(a, b) {
639
+ return proto3.util.equals(_DevDockerBuildMtmReq, a, b);
640
+ }
641
+ };
642
+ __publicField(_DevDockerBuildMtmReq, "runtime", proto3);
643
+ __publicField(_DevDockerBuildMtmReq, "typeName", "sppb.DevDockerBuildMtmReq");
644
+ __publicField(_DevDockerBuildMtmReq, "fields", proto3.util.newFieldList(() => []));
645
+ let DevDockerBuildMtmReq = _DevDockerBuildMtmReq;
646
+ const _DevDockerBuildMtmRes = class _DevDockerBuildMtmRes extends Message {
647
+ constructor(data) {
648
+ super();
649
+ proto3.util.initPartial(data, this);
650
+ }
651
+ static fromBinary(bytes, options) {
652
+ return new _DevDockerBuildMtmRes().fromBinary(bytes, options);
653
+ }
654
+ static fromJson(jsonValue, options) {
655
+ return new _DevDockerBuildMtmRes().fromJson(jsonValue, options);
656
+ }
657
+ static fromJsonString(jsonString, options) {
658
+ return new _DevDockerBuildMtmRes().fromJsonString(jsonString, options);
659
+ }
660
+ static equals(a, b) {
661
+ return proto3.util.equals(_DevDockerBuildMtmRes, a, b);
662
+ }
663
+ };
664
+ __publicField(_DevDockerBuildMtmRes, "runtime", proto3);
665
+ __publicField(_DevDockerBuildMtmRes, "typeName", "sppb.DevDockerBuildMtmRes");
666
+ __publicField(_DevDockerBuildMtmRes, "fields", proto3.util.newFieldList(() => []));
667
+ let DevDockerBuildMtmRes = _DevDockerBuildMtmRes;
18
668
  const _BotSiteTaskStartReq = class _BotSiteTaskStartReq extends Message {
19
669
  constructor(data) {
20
670
  super();
@@ -1034,95 +1684,56 @@ __publicField(_CxPageReq, "fields", proto3.util.newFieldList(() => [
1034
1684
  }
1035
1685
  ]));
1036
1686
  let CxPageReq = _CxPageReq;
1037
- const _MtBotConsumerHandlerInfo = class _MtBotConsumerHandlerInfo extends Message {
1687
+ const _ConsumHandler = class _ConsumHandler extends Message {
1038
1688
  constructor(data) {
1039
1689
  super();
1040
1690
  /**
1041
- * @generated from field: sppb.MtBotConsumerType type = 1;
1691
+ * @generated from field: string id = 1;
1692
+ */
1693
+ __publicField(this, "id", "");
1694
+ /**
1695
+ * @generated from field: sppb.MtBotConsumerType type = 2;
1042
1696
  */
1043
1697
  __publicField(this, "type", 0 /* COMMON */);
1044
1698
  /**
1045
- * @generated from field: string name = 2;
1699
+ * @generated from field: string name = 3;
1046
1700
  */
1047
1701
  __publicField(this, "name", "");
1048
1702
  proto3.util.initPartial(data, this);
1049
1703
  }
1050
1704
  static fromBinary(bytes, options) {
1051
- return new _MtBotConsumerHandlerInfo().fromBinary(bytes, options);
1705
+ return new _ConsumHandler().fromBinary(bytes, options);
1052
1706
  }
1053
1707
  static fromJson(jsonValue, options) {
1054
- return new _MtBotConsumerHandlerInfo().fromJson(jsonValue, options);
1708
+ return new _ConsumHandler().fromJson(jsonValue, options);
1055
1709
  }
1056
1710
  static fromJsonString(jsonString, options) {
1057
- return new _MtBotConsumerHandlerInfo().fromJsonString(jsonString, options);
1711
+ return new _ConsumHandler().fromJsonString(jsonString, options);
1058
1712
  }
1059
1713
  static equals(a, b) {
1060
- return proto3.util.equals(_MtBotConsumerHandlerInfo, a, b);
1714
+ return proto3.util.equals(_ConsumHandler, a, b);
1061
1715
  }
1062
1716
  };
1063
- __publicField(_MtBotConsumerHandlerInfo, "runtime", proto3);
1064
- __publicField(_MtBotConsumerHandlerInfo, "typeName", "sppb.MtBotConsumerHandlerInfo");
1065
- __publicField(_MtBotConsumerHandlerInfo, "fields", proto3.util.newFieldList(() => [
1066
- { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(MtBotConsumerType) },
1717
+ __publicField(_ConsumHandler, "runtime", proto3);
1718
+ __publicField(_ConsumHandler, "typeName", "sppb.ConsumHandler");
1719
+ __publicField(_ConsumHandler, "fields", proto3.util.newFieldList(() => [
1067
1720
  {
1068
- no: 2,
1721
+ no: 1,
1722
+ name: "id",
1723
+ kind: "scalar",
1724
+ T: 9
1725
+ /* ScalarType.STRING */
1726
+ },
1727
+ { no: 2, name: "type", kind: "enum", T: proto3.getEnumType(MtBotConsumerType) },
1728
+ {
1729
+ no: 3,
1069
1730
  name: "name",
1070
1731
  kind: "scalar",
1071
1732
  T: 9
1072
1733
  /* ScalarType.STRING */
1073
1734
  }
1074
1735
  ]));
1075
- let MtBotConsumerHandlerInfo = _MtBotConsumerHandlerInfo;
1076
- const _ConsumHandlerListReq = class _ConsumHandlerListReq extends Message {
1077
- constructor(data) {
1078
- super();
1079
- proto3.util.initPartial(data, this);
1080
- }
1081
- static fromBinary(bytes, options) {
1082
- return new _ConsumHandlerListReq().fromBinary(bytes, options);
1083
- }
1084
- static fromJson(jsonValue, options) {
1085
- return new _ConsumHandlerListReq().fromJson(jsonValue, options);
1086
- }
1087
- static fromJsonString(jsonString, options) {
1088
- return new _ConsumHandlerListReq().fromJsonString(jsonString, options);
1089
- }
1090
- static equals(a, b) {
1091
- return proto3.util.equals(_ConsumHandlerListReq, a, b);
1092
- }
1093
- };
1094
- __publicField(_ConsumHandlerListReq, "runtime", proto3);
1095
- __publicField(_ConsumHandlerListReq, "typeName", "sppb.ConsumHandlerListReq");
1096
- __publicField(_ConsumHandlerListReq, "fields", proto3.util.newFieldList(() => []));
1097
- let ConsumHandlerListReq = _ConsumHandlerListReq;
1098
- const _ConsumHandlerListRes = class _ConsumHandlerListRes extends Message {
1099
- constructor(data) {
1100
- super();
1101
- /**
1102
- * @generated from field: repeated sppb.MtBotConsumerHandlerInfo items = 1;
1103
- */
1104
- __publicField(this, "items", []);
1105
- proto3.util.initPartial(data, this);
1106
- }
1107
- static fromBinary(bytes, options) {
1108
- return new _ConsumHandlerListRes().fromBinary(bytes, options);
1109
- }
1110
- static fromJson(jsonValue, options) {
1111
- return new _ConsumHandlerListRes().fromJson(jsonValue, options);
1112
- }
1113
- static fromJsonString(jsonString, options) {
1114
- return new _ConsumHandlerListRes().fromJsonString(jsonString, options);
1115
- }
1116
- static equals(a, b) {
1117
- return proto3.util.equals(_ConsumHandlerListRes, a, b);
1118
- }
1119
- };
1120
- __publicField(_ConsumHandlerListRes, "runtime", proto3);
1121
- __publicField(_ConsumHandlerListRes, "typeName", "sppb.ConsumHandlerListRes");
1122
- __publicField(_ConsumHandlerListRes, "fields", proto3.util.newFieldList(() => [
1123
- { no: 1, name: "items", kind: "message", T: MtBotConsumerHandlerInfo, repeated: true }
1124
- ]));
1125
- let ConsumHandlerListRes = _ConsumHandlerListRes;
1736
+ let ConsumHandler = _ConsumHandler;
1126
1737
  const _CmdStartNoVnc = class _CmdStartNoVnc extends Message {
1127
1738
  constructor(data) {
1128
1739
  super();
@@ -1225,6 +1836,74 @@ __publicField(_CmdStartSimpleCrawler, "fields", proto3.util.newFieldList(() => [
1225
1836
  }
1226
1837
  ]));
1227
1838
  let CmdStartSimpleCrawler = _CmdStartSimpleCrawler;
1839
+ const _ConsumHandlerGetReq = class _ConsumHandlerGetReq extends Message {
1840
+ constructor(data) {
1841
+ super();
1842
+ /**
1843
+ * @generated from field: string id = 1;
1844
+ */
1845
+ __publicField(this, "id", "");
1846
+ proto3.util.initPartial(data, this);
1847
+ }
1848
+ static fromBinary(bytes, options) {
1849
+ return new _ConsumHandlerGetReq().fromBinary(bytes, options);
1850
+ }
1851
+ static fromJson(jsonValue, options) {
1852
+ return new _ConsumHandlerGetReq().fromJson(jsonValue, options);
1853
+ }
1854
+ static fromJsonString(jsonString, options) {
1855
+ return new _ConsumHandlerGetReq().fromJsonString(jsonString, options);
1856
+ }
1857
+ static equals(a, b) {
1858
+ return proto3.util.equals(_ConsumHandlerGetReq, a, b);
1859
+ }
1860
+ };
1861
+ __publicField(_ConsumHandlerGetReq, "runtime", proto3);
1862
+ __publicField(_ConsumHandlerGetReq, "typeName", "sppb.ConsumHandlerGetReq");
1863
+ __publicField(_ConsumHandlerGetReq, "fields", proto3.util.newFieldList(() => [
1864
+ {
1865
+ no: 1,
1866
+ name: "id",
1867
+ kind: "scalar",
1868
+ T: 9
1869
+ /* ScalarType.STRING */
1870
+ }
1871
+ ]));
1872
+ let ConsumHandlerGetReq = _ConsumHandlerGetReq;
1873
+ const _JobDefineGetReq = class _JobDefineGetReq extends Message {
1874
+ constructor(data) {
1875
+ super();
1876
+ /**
1877
+ * @generated from field: string id = 1;
1878
+ */
1879
+ __publicField(this, "id", "");
1880
+ proto3.util.initPartial(data, this);
1881
+ }
1882
+ static fromBinary(bytes, options) {
1883
+ return new _JobDefineGetReq().fromBinary(bytes, options);
1884
+ }
1885
+ static fromJson(jsonValue, options) {
1886
+ return new _JobDefineGetReq().fromJson(jsonValue, options);
1887
+ }
1888
+ static fromJsonString(jsonString, options) {
1889
+ return new _JobDefineGetReq().fromJsonString(jsonString, options);
1890
+ }
1891
+ static equals(a, b) {
1892
+ return proto3.util.equals(_JobDefineGetReq, a, b);
1893
+ }
1894
+ };
1895
+ __publicField(_JobDefineGetReq, "runtime", proto3);
1896
+ __publicField(_JobDefineGetReq, "typeName", "sppb.JobDefineGetReq");
1897
+ __publicField(_JobDefineGetReq, "fields", proto3.util.newFieldList(() => [
1898
+ {
1899
+ no: 1,
1900
+ name: "id",
1901
+ kind: "scalar",
1902
+ T: 9
1903
+ /* ScalarType.STRING */
1904
+ }
1905
+ ]));
1906
+ let JobDefineGetReq = _JobDefineGetReq;
1228
1907
  export {
1229
1908
  BotGetReq,
1230
1909
  BotListReq,
@@ -1243,19 +1922,38 @@ export {
1243
1922
  CmdStartBrowser,
1244
1923
  CmdStartNoVnc,
1245
1924
  CmdStartSimpleCrawler,
1246
- ConsumHandlerListReq,
1247
- ConsumHandlerListRes,
1925
+ ConsumHandler,
1926
+ ConsumHandlerGetReq,
1248
1927
  ConsumMessageReq,
1249
1928
  ConsumMessageRes,
1929
+ CornJob,
1930
+ CornJobConfig,
1931
+ CornTask,
1250
1932
  CxPageReq,
1933
+ DevDockerBuildMtmReq,
1934
+ DevDockerBuildMtmRes,
1935
+ DevGitCommitReq,
1936
+ DevGitCommitRes,
1937
+ DevJob,
1938
+ DevStartChromeReq,
1939
+ DevStartChromeRes,
1251
1940
  HelloBotMessage,
1941
+ Job,
1942
+ JobDefine,
1943
+ JobDefineCreateReq,
1944
+ JobDefineGetReq,
1945
+ JobDependan,
1946
+ JobListReq,
1947
+ JobListRes,
1948
+ JobRunReply,
1949
+ JobRunReq,
1950
+ JobStatus,
1252
1951
  JqGetReply,
1253
1952
  JqGetReq,
1254
1953
  JqPullReply,
1255
1954
  JqPullReq,
1256
1955
  JqPushReply,
1257
1956
  JqPushReq,
1258
- MtBotConsumerHandlerInfo,
1259
1957
  MtBotConsumerType,
1260
1958
  MtMessage,
1261
1959
  P2pInfoReq,