openclaw-stepfun 0.2.2

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 (64) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +61 -0
  3. package/dist/index.d.ts +13 -0
  4. package/dist/index.js +18 -0
  5. package/dist/src/accounts.d.ts +22 -0
  6. package/dist/src/accounts.js +43 -0
  7. package/dist/src/bot.d.ts +16 -0
  8. package/dist/src/bot.js +100 -0
  9. package/dist/src/channel.d.ts +4 -0
  10. package/dist/src/channel.js +206 -0
  11. package/dist/src/client.d.ts +51 -0
  12. package/dist/src/client.js +206 -0
  13. package/dist/src/monitor.d.ts +19 -0
  14. package/dist/src/monitor.js +153 -0
  15. package/dist/src/proto/capy/botauth/auth_common_pb.d.ts +82 -0
  16. package/dist/src/proto/capy/botauth/auth_common_pb.js +35 -0
  17. package/dist/src/proto/capy/botauth/botauth_connect.d.ts +118 -0
  18. package/dist/src/proto/capy/botauth/botauth_connect.js +118 -0
  19. package/dist/src/proto/capy/botauth/botauth_pb.d.ts +1065 -0
  20. package/dist/src/proto/capy/botauth/botauth_pb.js +348 -0
  21. package/dist/src/proto/capy/botauth/public_connect.d.ts +62 -0
  22. package/dist/src/proto/capy/botauth/public_connect.js +62 -0
  23. package/dist/src/proto/capy/botauth/public_pb.d.ts +254 -0
  24. package/dist/src/proto/capy/botauth/public_pb.js +105 -0
  25. package/dist/src/proto/capy/botmsg/botmsg_connect.d.ts +72 -0
  26. package/dist/src/proto/capy/botmsg/botmsg_connect.js +72 -0
  27. package/dist/src/proto/capy/botmsg/botmsg_pb.d.ts +426 -0
  28. package/dist/src/proto/capy/botmsg/botmsg_pb.js +160 -0
  29. package/dist/src/proto/capy/botway/ctrl_connect.d.ts +61 -0
  30. package/dist/src/proto/capy/botway/ctrl_connect.js +61 -0
  31. package/dist/src/proto/capy/botway/ctrl_pb.d.ts +267 -0
  32. package/dist/src/proto/capy/botway/ctrl_pb.js +120 -0
  33. package/dist/src/proto/capy/botway/stream_connect.d.ts +26 -0
  34. package/dist/src/proto/capy/botway/stream_connect.js +26 -0
  35. package/dist/src/proto/capy/botway/stream_pb.d.ts +495 -0
  36. package/dist/src/proto/capy/botway/stream_pb.js +165 -0
  37. package/dist/src/reply-dispatcher.d.ts +17 -0
  38. package/dist/src/reply-dispatcher.js +234 -0
  39. package/dist/src/runtime.d.ts +4 -0
  40. package/dist/src/runtime.js +11 -0
  41. package/dist/src/send.d.ts +19 -0
  42. package/dist/src/send.js +66 -0
  43. package/dist/src/types.d.ts +65 -0
  44. package/dist/src/types.js +2 -0
  45. package/dist/src/websocket/cacheEvent.d.ts +17 -0
  46. package/dist/src/websocket/cacheEvent.js +61 -0
  47. package/dist/src/websocket/connect.d.ts +32 -0
  48. package/dist/src/websocket/connect.js +79 -0
  49. package/dist/src/websocket/constant.d.ts +8 -0
  50. package/dist/src/websocket/constant.js +10 -0
  51. package/dist/src/websocket/eventBus.d.ts +15 -0
  52. package/dist/src/websocket/eventBus.js +46 -0
  53. package/dist/src/websocket/index.d.ts +117 -0
  54. package/dist/src/websocket/index.js +637 -0
  55. package/dist/src/websocket/service.d.ts +36 -0
  56. package/dist/src/websocket/service.js +4 -0
  57. package/dist/src/websocket/stream.d.ts +10 -0
  58. package/dist/src/websocket/stream.js +24 -0
  59. package/dist/src/websocket/streamConnect.d.ts +40 -0
  60. package/dist/src/websocket/streamConnect.js +48 -0
  61. package/openclaw.plugin.json +23 -0
  62. package/package.json +69 -0
  63. package/scripts/setup.mjs +381 -0
  64. package/scripts/switch-env.mjs +98 -0
@@ -0,0 +1,348 @@
1
+ // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
2
+ // @generated from file capy/botauth/botauth.proto (package step.capy.botauth, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { proto3 } from "@bufbuild/protobuf";
7
+ import { BotAccount } from "./auth_common_pb.js";
8
+
9
+ /**
10
+ * @generated from enum step.capy.botauth.LoginStatus
11
+ */
12
+ export const LoginStatus = /*@__PURE__*/ proto3.makeEnum(
13
+ "step.capy.botauth.LoginStatus",
14
+ [
15
+ {no: 0, name: "OK"},
16
+ {no: 1, name: "Fail"},
17
+ {no: 2, name: "Expired"},
18
+ {no: 3, name: "Banned"},
19
+ {no: 4, name: "NotActivated"},
20
+ {no: 5, name: "SessionFail"},
21
+ ],
22
+ );
23
+
24
+ /**
25
+ * @generated from message step.capy.botauth.Node
26
+ */
27
+ export const Node = /*@__PURE__*/ proto3.makeMessageType(
28
+ "step.capy.botauth.Node",
29
+ () => [
30
+ { no: 1, name: "ip", kind: "scalar", T: 9 /* ScalarType.STRING */ },
31
+ { no: 2, name: "port", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
32
+ { no: 3, name: "network", kind: "scalar", T: 9 /* ScalarType.STRING */ },
33
+ { no: 4, name: "protocol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
34
+ ],
35
+ );
36
+
37
+ /**
38
+ * 长连接网关的鉴权
39
+ *
40
+ * @generated from message step.capy.botauth.LoginReq
41
+ */
42
+ export const LoginReq = /*@__PURE__*/ proto3.makeMessageType(
43
+ "step.capy.botauth.LoginReq",
44
+ () => [
45
+ { no: 1, name: "product", kind: "scalar", T: 9 /* ScalarType.STRING */ },
46
+ { no: 2, name: "uid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
47
+ { no: 3, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
48
+ { no: 4, name: "token_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
49
+ { no: 5, name: "platform", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
50
+ { no: 6, name: "device", kind: "scalar", T: 9 /* ScalarType.STRING */ },
51
+ { no: 7, name: "app_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
52
+ { no: 8, name: "conn_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
53
+ { no: 9, name: "client_addr", kind: "scalar", T: 9 /* ScalarType.STRING */ },
54
+ { no: 10, name: "node", kind: "message", T: Node },
55
+ { no: 11, name: "reserved", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
56
+ ],
57
+ );
58
+
59
+ /**
60
+ * @generated from message step.capy.botauth.LoginRes
61
+ */
62
+ export const LoginRes = /*@__PURE__*/ proto3.makeMessageType(
63
+ "step.capy.botauth.LoginRes",
64
+ () => [
65
+ { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(LoginStatus) },
66
+ { no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
67
+ { no: 3, name: "uid", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
68
+ { no: 4, name: "conn_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
69
+ { no: 5, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
70
+ { no: 6, name: "logined", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
71
+ { no: 7, name: "user_type", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
72
+ { no: 8, name: "new", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
73
+ ],
74
+ );
75
+
76
+ /**
77
+ * 长连接网关登出
78
+ *
79
+ * @generated from message step.capy.botauth.LogoutReq
80
+ */
81
+ export const LogoutReq = /*@__PURE__*/ proto3.makeMessageType(
82
+ "step.capy.botauth.LogoutReq",
83
+ () => [
84
+ { no: 1, name: "uid", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
85
+ { no: 2, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
86
+ { no: 3, name: "code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
87
+ { no: 4, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
88
+ { no: 5, name: "reserved", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
89
+ ],
90
+ );
91
+
92
+ /**
93
+ * @generated from message step.capy.botauth.LogoutRes
94
+ */
95
+ export const LogoutRes = /*@__PURE__*/ proto3.makeMessageType(
96
+ "step.capy.botauth.LogoutRes",
97
+ [],
98
+ );
99
+
100
+ /**
101
+ * 接入层对用户会话心跳保活
102
+ *
103
+ * @generated from message step.capy.botauth.HeartbeatReq
104
+ */
105
+ export const HeartbeatReq = /*@__PURE__*/ proto3.makeMessageType(
106
+ "step.capy.botauth.HeartbeatReq",
107
+ () => [
108
+ { no: 1, name: "uid", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
109
+ { no: 2, name: "conn_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
110
+ { no: 3, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
111
+ ],
112
+ );
113
+
114
+ /**
115
+ * @generated from message step.capy.botauth.HeartbeatRes
116
+ */
117
+ export const HeartbeatRes = /*@__PURE__*/ proto3.makeMessageType(
118
+ "step.capy.botauth.HeartbeatRes",
119
+ [],
120
+ );
121
+
122
+ /**
123
+ * 通用会话对象
124
+ *
125
+ * @generated from message step.capy.botauth.Session
126
+ */
127
+ export const Session = /*@__PURE__*/ proto3.makeMessageType(
128
+ "step.capy.botauth.Session",
129
+ () => [
130
+ { no: 1, name: "uid", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
131
+ { no: 2, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
132
+ { no: 3, name: "logined", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
133
+ { no: 4, name: "product", kind: "scalar", T: 9 /* ScalarType.STRING */ },
134
+ { no: 5, name: "platform", kind: "scalar", T: 9 /* ScalarType.STRING */ },
135
+ { no: 6, name: "device", kind: "scalar", T: 9 /* ScalarType.STRING */ },
136
+ { no: 7, name: "app_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
137
+ { no: 8, name: "client_addr", kind: "scalar", T: 9 /* ScalarType.STRING */ },
138
+ { no: 9, name: "logined_time", kind: "scalar", T: 9 /* ScalarType.STRING */ },
139
+ { no: 10, name: "heartbeat_time", kind: "scalar", T: 9 /* ScalarType.STRING */ },
140
+ { no: 11, name: "node", kind: "message", T: Node },
141
+ ],
142
+ );
143
+
144
+ /**
145
+ * 请求单个会话信息
146
+ *
147
+ * @generated from message step.capy.botauth.QuerySessionReq
148
+ */
149
+ export const QuerySessionReq = /*@__PURE__*/ proto3.makeMessageType(
150
+ "step.capy.botauth.QuerySessionReq",
151
+ () => [
152
+ { no: 1, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
153
+ ],
154
+ );
155
+
156
+ /**
157
+ * @generated from message step.capy.botauth.QuerySessionRes
158
+ */
159
+ export const QuerySessionRes = /*@__PURE__*/ proto3.makeMessageType(
160
+ "step.capy.botauth.QuerySessionRes",
161
+ () => [
162
+ { no: 1, name: "session", kind: "message", T: Session },
163
+ ],
164
+ );
165
+
166
+ /**
167
+ * 按用户请求所有会话信息
168
+ *
169
+ * @generated from message step.capy.botauth.QueryUserReq
170
+ */
171
+ export const QueryUserReq = /*@__PURE__*/ proto3.makeMessageType(
172
+ "step.capy.botauth.QueryUserReq",
173
+ () => [
174
+ { no: 1, name: "uid", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
175
+ ],
176
+ );
177
+
178
+ /**
179
+ * @generated from message step.capy.botauth.QueryUserRes
180
+ */
181
+ export const QueryUserRes = /*@__PURE__*/ proto3.makeMessageType(
182
+ "step.capy.botauth.QueryUserRes",
183
+ () => [
184
+ { no: 1, name: "sessions", kind: "message", T: Session, repeated: true },
185
+ ],
186
+ );
187
+
188
+ /**
189
+ * bot长连接网关的鉴权
190
+ *
191
+ * @generated from message step.capy.botauth.BotLoginReq
192
+ */
193
+ export const BotLoginReq = /*@__PURE__*/ proto3.makeMessageType(
194
+ "step.capy.botauth.BotLoginReq",
195
+ () => [
196
+ { no: 1, name: "app_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
197
+ { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
198
+ { no: 3, name: "app_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
199
+ { no: 4, name: "conn_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
200
+ { no: 5, name: "client_addr", kind: "scalar", T: 9 /* ScalarType.STRING */ },
201
+ { no: 6, name: "node", kind: "message", T: Node },
202
+ { no: 100, name: "reserved", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
203
+ ],
204
+ );
205
+
206
+ /**
207
+ * @generated from message step.capy.botauth.BotLoginRes
208
+ */
209
+ export const BotLoginRes = /*@__PURE__*/ proto3.makeMessageType(
210
+ "step.capy.botauth.BotLoginRes",
211
+ () => [
212
+ { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(LoginStatus) },
213
+ { no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
214
+ { no: 3, name: "uid", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
215
+ { no: 4, name: "app_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
216
+ { no: 5, name: "conn_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
217
+ { no: 6, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
218
+ ],
219
+ );
220
+
221
+ /**
222
+ * bot长连接网关登出
223
+ *
224
+ * @generated from message step.capy.botauth.BotLogoutReq
225
+ */
226
+ export const BotLogoutReq = /*@__PURE__*/ proto3.makeMessageType(
227
+ "step.capy.botauth.BotLogoutReq",
228
+ () => [
229
+ { no: 1, name: "app_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
230
+ { no: 2, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
231
+ { no: 3, name: "code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
232
+ { no: 4, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
233
+ { no: 5, name: "reserved", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
234
+ ],
235
+ );
236
+
237
+ /**
238
+ * @generated from message step.capy.botauth.BotLogoutRes
239
+ */
240
+ export const BotLogoutRes = /*@__PURE__*/ proto3.makeMessageType(
241
+ "step.capy.botauth.BotLogoutRes",
242
+ [],
243
+ );
244
+
245
+ /**
246
+ * @generated from message step.capy.botauth.BotHeartbeatReq
247
+ */
248
+ export const BotHeartbeatReq = /*@__PURE__*/ proto3.makeMessageType(
249
+ "step.capy.botauth.BotHeartbeatReq",
250
+ () => [
251
+ { no: 1, name: "app_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
252
+ { no: 2, name: "conn_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
253
+ { no: 3, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
254
+ ],
255
+ );
256
+
257
+ /**
258
+ * @generated from message step.capy.botauth.BotHeartbeatRes
259
+ */
260
+ export const BotHeartbeatRes = /*@__PURE__*/ proto3.makeMessageType(
261
+ "step.capy.botauth.BotHeartbeatRes",
262
+ [],
263
+ );
264
+
265
+ /**
266
+ * bot通用会话对象
267
+ *
268
+ * @generated from message step.capy.botauth.BotSession
269
+ */
270
+ export const BotSession = /*@__PURE__*/ proto3.makeMessageType(
271
+ "step.capy.botauth.BotSession",
272
+ () => [
273
+ { no: 1, name: "app_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
274
+ { no: 2, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
275
+ { no: 3, name: "app_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
276
+ { no: 4, name: "client_addr", kind: "scalar", T: 9 /* ScalarType.STRING */ },
277
+ { no: 5, name: "logined_time", kind: "scalar", T: 9 /* ScalarType.STRING */ },
278
+ { no: 6, name: "heartbeat_time", kind: "scalar", T: 9 /* ScalarType.STRING */ },
279
+ { no: 7, name: "node", kind: "message", T: Node },
280
+ ],
281
+ );
282
+
283
+ /**
284
+ * 请求单个会话信息
285
+ *
286
+ * @generated from message step.capy.botauth.QueryBotSessionReq
287
+ */
288
+ export const QueryBotSessionReq = /*@__PURE__*/ proto3.makeMessageType(
289
+ "step.capy.botauth.QueryBotSessionReq",
290
+ () => [
291
+ { no: 1, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
292
+ ],
293
+ );
294
+
295
+ /**
296
+ * @generated from message step.capy.botauth.QueryBotSessionRes
297
+ */
298
+ export const QueryBotSessionRes = /*@__PURE__*/ proto3.makeMessageType(
299
+ "step.capy.botauth.QueryBotSessionRes",
300
+ () => [
301
+ { no: 1, name: "session", kind: "message", T: BotSession },
302
+ ],
303
+ );
304
+
305
+ /**
306
+ * 按用户请求Bot会话信息
307
+ *
308
+ * @generated from message step.capy.botauth.QueryBotReq
309
+ */
310
+ export const QueryBotReq = /*@__PURE__*/ proto3.makeMessageType(
311
+ "step.capy.botauth.QueryBotReq",
312
+ () => [
313
+ { no: 1, name: "app_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
314
+ ],
315
+ );
316
+
317
+ /**
318
+ * @generated from message step.capy.botauth.QueryBotRes
319
+ */
320
+ export const QueryBotRes = /*@__PURE__*/ proto3.makeMessageType(
321
+ "step.capy.botauth.QueryBotRes",
322
+ () => [
323
+ { no: 1, name: "sessions", kind: "message", T: BotSession, repeated: true },
324
+ ],
325
+ );
326
+
327
+ /**
328
+ * 查询UserBotAccount 记录(不管在线状态)
329
+ *
330
+ * @generated from message step.capy.botauth.GetUserBotAccountReq
331
+ */
332
+ export const GetUserBotAccountReq = /*@__PURE__*/ proto3.makeMessageType(
333
+ "step.capy.botauth.GetUserBotAccountReq",
334
+ () => [
335
+ { no: 1, name: "app_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
336
+ ],
337
+ );
338
+
339
+ /**
340
+ * @generated from message step.capy.botauth.GetUserBotAccountRes
341
+ */
342
+ export const GetUserBotAccountRes = /*@__PURE__*/ proto3.makeMessageType(
343
+ "step.capy.botauth.GetUserBotAccountRes",
344
+ () => [
345
+ { no: 1, name: "bot_account", kind: "message", T: BotAccount },
346
+ ],
347
+ );
348
+
@@ -0,0 +1,62 @@
1
+ // @generated by protoc-gen-connect-es v1.4.0 with parameter "target=js+dts"
2
+ // @generated from file capy/botauth/public.proto (package step.capy.botauth, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { CreateBotAccountReq, CreateBotAccountRes, DisableBotAccountReq, DisableBotAccountRes, GetOrCreateBotAccountReq, GetOrCreateBotAccountRes, ListBotAccountsReq, ListBotAccountsRes } from "./public_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service step.capy.botauth.Public
11
+ */
12
+ export declare const Public: {
13
+ readonly typeName: "step.capy.botauth.Public",
14
+ readonly methods: {
15
+ /**
16
+ * @generated from rpc step.capy.botauth.Public.CreateBotAccount
17
+ */
18
+ readonly createBotAccount: {
19
+ readonly name: "CreateBotAccount",
20
+ readonly I: typeof CreateBotAccountReq,
21
+ readonly O: typeof CreateBotAccountRes,
22
+ readonly kind: MethodKind.Unary,
23
+ },
24
+ /**
25
+ * @generated from rpc step.capy.botauth.Public.DisableBotAccount
26
+ */
27
+ readonly disableBotAccount: {
28
+ readonly name: "DisableBotAccount",
29
+ readonly I: typeof DisableBotAccountReq,
30
+ readonly O: typeof DisableBotAccountRes,
31
+ readonly kind: MethodKind.Unary,
32
+ },
33
+ /**
34
+ * @generated from rpc step.capy.botauth.Public.DeleteBotAccount
35
+ */
36
+ readonly deleteBotAccount: {
37
+ readonly name: "DeleteBotAccount",
38
+ readonly I: typeof DisableBotAccountReq,
39
+ readonly O: typeof DisableBotAccountRes,
40
+ readonly kind: MethodKind.Unary,
41
+ },
42
+ /**
43
+ * @generated from rpc step.capy.botauth.Public.ListBotAccounts
44
+ */
45
+ readonly listBotAccounts: {
46
+ readonly name: "ListBotAccounts",
47
+ readonly I: typeof ListBotAccountsReq,
48
+ readonly O: typeof ListBotAccountsRes,
49
+ readonly kind: MethodKind.Unary,
50
+ },
51
+ /**
52
+ * @generated from rpc step.capy.botauth.Public.GetOrCreateBotAccount
53
+ */
54
+ readonly getOrCreateBotAccount: {
55
+ readonly name: "GetOrCreateBotAccount",
56
+ readonly I: typeof GetOrCreateBotAccountReq,
57
+ readonly O: typeof GetOrCreateBotAccountRes,
58
+ readonly kind: MethodKind.Unary,
59
+ },
60
+ }
61
+ };
62
+
@@ -0,0 +1,62 @@
1
+ // @generated by protoc-gen-connect-es v1.4.0 with parameter "target=js+dts"
2
+ // @generated from file capy/botauth/public.proto (package step.capy.botauth, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { CreateBotAccountReq, CreateBotAccountRes, DisableBotAccountReq, DisableBotAccountRes, GetOrCreateBotAccountReq, GetOrCreateBotAccountRes, ListBotAccountsReq, ListBotAccountsRes } from "./public_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service step.capy.botauth.Public
11
+ */
12
+ export const Public = {
13
+ typeName: "step.capy.botauth.Public",
14
+ methods: {
15
+ /**
16
+ * @generated from rpc step.capy.botauth.Public.CreateBotAccount
17
+ */
18
+ createBotAccount: {
19
+ name: "CreateBotAccount",
20
+ I: CreateBotAccountReq,
21
+ O: CreateBotAccountRes,
22
+ kind: MethodKind.Unary,
23
+ },
24
+ /**
25
+ * @generated from rpc step.capy.botauth.Public.DisableBotAccount
26
+ */
27
+ disableBotAccount: {
28
+ name: "DisableBotAccount",
29
+ I: DisableBotAccountReq,
30
+ O: DisableBotAccountRes,
31
+ kind: MethodKind.Unary,
32
+ },
33
+ /**
34
+ * @generated from rpc step.capy.botauth.Public.DeleteBotAccount
35
+ */
36
+ deleteBotAccount: {
37
+ name: "DeleteBotAccount",
38
+ I: DisableBotAccountReq,
39
+ O: DisableBotAccountRes,
40
+ kind: MethodKind.Unary,
41
+ },
42
+ /**
43
+ * @generated from rpc step.capy.botauth.Public.ListBotAccounts
44
+ */
45
+ listBotAccounts: {
46
+ name: "ListBotAccounts",
47
+ I: ListBotAccountsReq,
48
+ O: ListBotAccountsRes,
49
+ kind: MethodKind.Unary,
50
+ },
51
+ /**
52
+ * @generated from rpc step.capy.botauth.Public.GetOrCreateBotAccount
53
+ */
54
+ getOrCreateBotAccount: {
55
+ name: "GetOrCreateBotAccount",
56
+ I: GetOrCreateBotAccountReq,
57
+ O: GetOrCreateBotAccountRes,
58
+ kind: MethodKind.Unary,
59
+ },
60
+ }
61
+ };
62
+