@mobilerun/sdk 5.2.1 → 5.4.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.
Files changed (274) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/client.d.mts +13 -7
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +13 -7
  5. package/client.d.ts.map +1 -1
  6. package/client.js +9 -3
  7. package/client.js.map +1 -1
  8. package/client.mjs +9 -3
  9. package/client.mjs.map +1 -1
  10. package/core/streaming.d.mts +33 -0
  11. package/core/streaming.d.mts.map +1 -0
  12. package/core/streaming.d.ts +33 -0
  13. package/core/streaming.d.ts.map +1 -0
  14. package/core/streaming.js +263 -0
  15. package/core/streaming.js.map +1 -0
  16. package/core/streaming.mjs +258 -0
  17. package/core/streaming.mjs.map +1 -0
  18. package/internal/decoders/line.d.mts +17 -0
  19. package/internal/decoders/line.d.mts.map +1 -0
  20. package/internal/decoders/line.d.ts +17 -0
  21. package/internal/decoders/line.d.ts.map +1 -0
  22. package/internal/decoders/line.js +113 -0
  23. package/internal/decoders/line.js.map +1 -0
  24. package/internal/decoders/line.mjs +108 -0
  25. package/internal/decoders/line.mjs.map +1 -0
  26. package/internal/parse.d.mts.map +1 -1
  27. package/internal/parse.d.ts.map +1 -1
  28. package/internal/parse.js +10 -0
  29. package/internal/parse.js.map +1 -1
  30. package/internal/parse.mjs +10 -0
  31. package/internal/parse.mjs.map +1 -1
  32. package/internal/request-options.d.mts +2 -0
  33. package/internal/request-options.d.mts.map +1 -1
  34. package/internal/request-options.d.ts +2 -0
  35. package/internal/request-options.d.ts.map +1 -1
  36. package/internal/request-options.js.map +1 -1
  37. package/internal/request-options.mjs.map +1 -1
  38. package/internal/tslib.js +18 -18
  39. package/package.json +11 -1
  40. package/resources/apps.d.mts +2 -2
  41. package/resources/apps.d.mts.map +1 -1
  42. package/resources/apps.d.ts +2 -2
  43. package/resources/apps.d.ts.map +1 -1
  44. package/resources/assistant/assistant.d.mts +10 -0
  45. package/resources/assistant/assistant.d.mts.map +1 -0
  46. package/resources/assistant/assistant.d.ts +10 -0
  47. package/resources/assistant/assistant.d.ts.map +1 -0
  48. package/resources/assistant/assistant.js +17 -0
  49. package/resources/assistant/assistant.js.map +1 -0
  50. package/resources/assistant/assistant.mjs +12 -0
  51. package/resources/assistant/assistant.mjs.map +1 -0
  52. package/resources/assistant/conversations.d.mts +295 -0
  53. package/resources/assistant/conversations.d.mts.map +1 -0
  54. package/resources/assistant/conversations.d.ts +295 -0
  55. package/resources/assistant/conversations.d.ts.map +1 -0
  56. package/resources/assistant/conversations.js +109 -0
  57. package/resources/assistant/conversations.js.map +1 -0
  58. package/resources/assistant/conversations.mjs +105 -0
  59. package/resources/assistant/conversations.mjs.map +1 -0
  60. package/resources/assistant/index.d.mts +3 -0
  61. package/resources/assistant/index.d.mts.map +1 -0
  62. package/resources/assistant/index.d.ts +3 -0
  63. package/resources/assistant/index.d.ts.map +1 -0
  64. package/resources/assistant/index.js +9 -0
  65. package/resources/assistant/index.js.map +1 -0
  66. package/resources/assistant/index.mjs +4 -0
  67. package/resources/assistant/index.mjs.map +1 -0
  68. package/resources/assistant.d.mts +2 -0
  69. package/resources/assistant.d.mts.map +1 -0
  70. package/resources/assistant.d.ts +2 -0
  71. package/resources/assistant.d.ts.map +1 -0
  72. package/resources/assistant.js +6 -0
  73. package/resources/assistant.js.map +1 -0
  74. package/resources/assistant.mjs +3 -0
  75. package/resources/assistant.mjs.map +1 -0
  76. package/resources/devices/clipboard.d.mts +40 -0
  77. package/resources/devices/clipboard.d.mts.map +1 -0
  78. package/resources/devices/clipboard.d.ts +40 -0
  79. package/resources/devices/clipboard.d.ts.map +1 -0
  80. package/resources/devices/clipboard.js +50 -0
  81. package/resources/devices/clipboard.js.map +1 -0
  82. package/resources/devices/clipboard.mjs +46 -0
  83. package/resources/devices/clipboard.mjs.map +1 -0
  84. package/resources/devices/devices.d.mts +5 -0
  85. package/resources/devices/devices.d.mts.map +1 -1
  86. package/resources/devices/devices.d.ts +5 -0
  87. package/resources/devices/devices.d.ts.map +1 -1
  88. package/resources/devices/devices.js +4 -0
  89. package/resources/devices/devices.js.map +1 -1
  90. package/resources/devices/devices.mjs +4 -0
  91. package/resources/devices/devices.mjs.map +1 -1
  92. package/resources/devices/index.d.mts +1 -0
  93. package/resources/devices/index.d.mts.map +1 -1
  94. package/resources/devices/index.d.ts +1 -0
  95. package/resources/devices/index.d.ts.map +1 -1
  96. package/resources/devices/index.js +3 -1
  97. package/resources/devices/index.js.map +1 -1
  98. package/resources/devices/index.mjs +1 -0
  99. package/resources/devices/index.mjs.map +1 -1
  100. package/resources/esims/esims.d.mts +45 -45
  101. package/resources/esims/esims.d.mts.map +1 -1
  102. package/resources/esims/esims.d.ts +45 -45
  103. package/resources/esims/esims.d.ts.map +1 -1
  104. package/resources/esims/esims.js +3 -3
  105. package/resources/esims/esims.js.map +1 -1
  106. package/resources/esims/esims.mjs +3 -3
  107. package/resources/esims/esims.mjs.map +1 -1
  108. package/resources/esims/index.d.mts +1 -1
  109. package/resources/esims/index.d.mts.map +1 -1
  110. package/resources/esims/index.d.ts +1 -1
  111. package/resources/esims/index.d.ts.map +1 -1
  112. package/resources/esims/index.js.map +1 -1
  113. package/resources/esims/index.mjs.map +1 -1
  114. package/resources/esims/messages.d.mts +15 -20
  115. package/resources/esims/messages.d.mts.map +1 -1
  116. package/resources/esims/messages.d.ts +15 -20
  117. package/resources/esims/messages.d.ts.map +1 -1
  118. package/resources/files.d.mts +126 -0
  119. package/resources/files.d.mts.map +1 -0
  120. package/resources/files.d.ts +126 -0
  121. package/resources/files.d.ts.map +1 -0
  122. package/resources/files.js +68 -0
  123. package/resources/files.js.map +1 -0
  124. package/resources/files.mjs +64 -0
  125. package/resources/files.mjs.map +1 -0
  126. package/resources/index.d.mts +5 -3
  127. package/resources/index.d.mts.map +1 -1
  128. package/resources/index.d.ts +5 -3
  129. package/resources/index.d.ts.map +1 -1
  130. package/resources/index.js +7 -3
  131. package/resources/index.js.map +1 -1
  132. package/resources/index.mjs +3 -1
  133. package/resources/index.mjs.map +1 -1
  134. package/resources/mailboxes/index.d.mts +3 -0
  135. package/resources/mailboxes/index.d.mts.map +1 -0
  136. package/resources/mailboxes/index.d.ts +3 -0
  137. package/resources/mailboxes/index.d.ts.map +1 -0
  138. package/resources/mailboxes/index.js +9 -0
  139. package/resources/mailboxes/index.js.map +1 -0
  140. package/resources/mailboxes/index.mjs +4 -0
  141. package/resources/mailboxes/index.mjs.map +1 -0
  142. package/resources/mailboxes/mailboxes.d.mts +366 -0
  143. package/resources/mailboxes/mailboxes.d.mts.map +1 -0
  144. package/resources/mailboxes/mailboxes.d.ts +366 -0
  145. package/resources/mailboxes/mailboxes.d.ts.map +1 -0
  146. package/resources/mailboxes/mailboxes.js +146 -0
  147. package/resources/mailboxes/mailboxes.js.map +1 -0
  148. package/resources/mailboxes/mailboxes.mjs +141 -0
  149. package/resources/mailboxes/mailboxes.mjs.map +1 -0
  150. package/resources/mailboxes/messages.d.mts +82 -0
  151. package/resources/mailboxes/messages.d.mts.map +1 -0
  152. package/resources/mailboxes/messages.d.ts +82 -0
  153. package/resources/mailboxes/messages.d.ts.map +1 -0
  154. package/resources/mailboxes/messages.js +39 -0
  155. package/resources/mailboxes/messages.js.map +1 -0
  156. package/resources/mailboxes/messages.mjs +35 -0
  157. package/resources/mailboxes/messages.mjs.map +1 -0
  158. package/resources/mailboxes.d.mts +2 -0
  159. package/resources/mailboxes.d.mts.map +1 -0
  160. package/resources/mailboxes.d.ts +2 -0
  161. package/resources/mailboxes.d.ts.map +1 -0
  162. package/resources/mailboxes.js +6 -0
  163. package/resources/mailboxes.js.map +1 -0
  164. package/resources/mailboxes.mjs +3 -0
  165. package/resources/mailboxes.mjs.map +1 -0
  166. package/resources/messages/conversations.d.mts +18 -23
  167. package/resources/messages/conversations.d.mts.map +1 -1
  168. package/resources/messages/conversations.d.ts +18 -23
  169. package/resources/messages/conversations.d.ts.map +1 -1
  170. package/resources/messages/messages.d.mts +15 -20
  171. package/resources/messages/messages.d.mts.map +1 -1
  172. package/resources/messages/messages.d.ts +15 -20
  173. package/resources/messages/messages.d.ts.map +1 -1
  174. package/resources/messages/messages.js.map +1 -1
  175. package/resources/messages/messages.mjs.map +1 -1
  176. package/resources/models.d.mts +20 -5
  177. package/resources/models.d.mts.map +1 -1
  178. package/resources/models.d.ts +20 -5
  179. package/resources/models.d.ts.map +1 -1
  180. package/resources/models.js +1 -1
  181. package/resources/models.mjs +1 -1
  182. package/resources/numbers/index.d.mts +1 -1
  183. package/resources/numbers/index.d.mts.map +1 -1
  184. package/resources/numbers/index.d.ts +1 -1
  185. package/resources/numbers/index.d.ts.map +1 -1
  186. package/resources/numbers/index.js.map +1 -1
  187. package/resources/numbers/index.mjs.map +1 -1
  188. package/resources/numbers/messages.d.mts +15 -27
  189. package/resources/numbers/messages.d.mts.map +1 -1
  190. package/resources/numbers/messages.d.ts +15 -27
  191. package/resources/numbers/messages.d.ts.map +1 -1
  192. package/resources/numbers/messages.js.map +1 -1
  193. package/resources/numbers/messages.mjs.map +1 -1
  194. package/resources/numbers/numbers.d.mts +70 -22
  195. package/resources/numbers/numbers.d.mts.map +1 -1
  196. package/resources/numbers/numbers.d.ts +70 -22
  197. package/resources/numbers/numbers.d.ts.map +1 -1
  198. package/resources/numbers/numbers.js +17 -0
  199. package/resources/numbers/numbers.js.map +1 -1
  200. package/resources/numbers/numbers.mjs +17 -0
  201. package/resources/numbers/numbers.mjs.map +1 -1
  202. package/resources/store/apps.d.mts +2 -2
  203. package/resources/store/apps.d.mts.map +1 -1
  204. package/resources/store/apps.d.ts +2 -2
  205. package/resources/store/apps.d.ts.map +1 -1
  206. package/resources/workflows/events.d.mts +1 -0
  207. package/resources/workflows/events.d.mts.map +1 -1
  208. package/resources/workflows/events.d.ts +1 -0
  209. package/resources/workflows/events.d.ts.map +1 -1
  210. package/resources/workflows/executions.d.mts +21 -0
  211. package/resources/workflows/executions.d.mts.map +1 -1
  212. package/resources/workflows/executions.d.ts +21 -0
  213. package/resources/workflows/executions.d.ts.map +1 -1
  214. package/resources/workflows/flows/flows.d.mts +8 -0
  215. package/resources/workflows/flows/flows.d.mts.map +1 -1
  216. package/resources/workflows/flows/flows.d.ts +8 -0
  217. package/resources/workflows/flows/flows.d.ts.map +1 -1
  218. package/resources/workflows/flows/flows.js.map +1 -1
  219. package/resources/workflows/flows/flows.mjs.map +1 -1
  220. package/src/client.ts +74 -4
  221. package/src/core/streaming.ts +315 -0
  222. package/src/internal/decoders/line.ts +135 -0
  223. package/src/internal/parse.ts +14 -0
  224. package/src/internal/request-options.ts +2 -0
  225. package/src/resources/apps.ts +2 -2
  226. package/src/resources/assistant/assistant.ts +59 -0
  227. package/src/resources/assistant/conversations.ts +524 -0
  228. package/src/resources/assistant/index.ts +26 -0
  229. package/src/resources/assistant.ts +3 -0
  230. package/src/resources/devices/clipboard.ts +87 -0
  231. package/src/resources/devices/devices.ts +13 -0
  232. package/src/resources/devices/index.ts +6 -0
  233. package/src/resources/esims/esims.ts +63 -57
  234. package/src/resources/esims/index.ts +1 -0
  235. package/src/resources/esims/messages.ts +24 -30
  236. package/src/resources/files.ts +225 -0
  237. package/src/resources/index.ts +33 -1
  238. package/src/resources/mailboxes/index.ts +26 -0
  239. package/src/resources/mailboxes/mailboxes.ts +618 -0
  240. package/src/resources/mailboxes/messages.ts +134 -0
  241. package/src/resources/mailboxes.ts +3 -0
  242. package/src/resources/messages/conversations.ts +28 -34
  243. package/src/resources/messages/messages.ts +24 -30
  244. package/src/resources/models.ts +22 -7
  245. package/src/resources/numbers/index.ts +2 -0
  246. package/src/resources/numbers/messages.ts +24 -43
  247. package/src/resources/numbers/numbers.ts +97 -21
  248. package/src/resources/store/apps.ts +2 -2
  249. package/src/resources/workflows/events.ts +2 -0
  250. package/src/resources/workflows/executions.ts +27 -0
  251. package/src/resources/workflows/flows/flows.ts +16 -0
  252. package/src/streaming.ts +2 -0
  253. package/src/version.ts +1 -1
  254. package/streaming.d.mts +3 -0
  255. package/streaming.d.mts.map +1 -0
  256. package/streaming.d.ts +3 -0
  257. package/streaming.d.ts.map +1 -0
  258. package/streaming.js +6 -0
  259. package/streaming.js.map +1 -0
  260. package/streaming.mjs +3 -0
  261. package/streaming.mjs.map +1 -0
  262. package/version.d.mts +1 -1
  263. package/version.d.ts +1 -1
  264. package/version.js +1 -1
  265. package/version.mjs +1 -1
  266. package/resources/agents.d.mts +0 -27
  267. package/resources/agents.d.mts.map +0 -1
  268. package/resources/agents.d.ts +0 -27
  269. package/resources/agents.d.ts.map +0 -1
  270. package/resources/agents.js +0 -15
  271. package/resources/agents.js.map +0 -1
  272. package/resources/agents.mjs +0 -11
  273. package/resources/agents.mjs.map +0 -1
  274. package/src/resources/agents.ts +0 -42
@@ -77,6 +77,15 @@ export namespace ExecutionRetrieveResponse {
77
77
 
78
78
  kind: 'live' | 'dry_run';
79
79
 
80
+ recordingDeviceId: string | null;
81
+
82
+ /**
83
+ * Device-recording id (devices-api) for this execution, set once the worker starts
84
+ * a recording. Null when the flow has recording disabled, no device is bound, or
85
+ * the recording failed to start.
86
+ */
87
+ recordingId: string | null;
88
+
80
89
  startedAt: string | null;
81
90
 
82
91
  status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
@@ -133,6 +142,15 @@ export namespace ExecutionListResponse {
133
142
 
134
143
  kind: 'live' | 'dry_run';
135
144
 
145
+ recordingDeviceId: string | null;
146
+
147
+ /**
148
+ * Device-recording id (devices-api) for this execution, set once the worker starts
149
+ * a recording. Null when the flow has recording disabled, no device is bound, or
150
+ * the recording failed to start.
151
+ */
152
+ recordingId: string | null;
153
+
136
154
  startedAt: string | null;
137
155
 
138
156
  status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
@@ -173,6 +191,15 @@ export namespace ExecutionAbortResponse {
173
191
 
174
192
  kind: 'live' | 'dry_run';
175
193
 
194
+ recordingDeviceId: string | null;
195
+
196
+ /**
197
+ * Device-recording id (devices-api) for this execution, set once the worker starts
198
+ * a recording. Null when the flow has recording disabled, no device is bound, or
199
+ * the recording failed to start.
200
+ */
201
+ recordingId: string | null;
202
+
176
203
  startedAt: string | null;
177
204
 
178
205
  status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
@@ -176,6 +176,8 @@ export namespace FlowCreateResponse {
176
176
 
177
177
  ownerId: string;
178
178
 
179
+ recordingEnabled: boolean;
180
+
179
181
  selfHealingEnabled: boolean;
180
182
 
181
183
  selfHealingMaxAttempts: number;
@@ -252,6 +254,8 @@ export namespace FlowRetrieveResponse {
252
254
 
253
255
  ownerId: string;
254
256
 
257
+ recordingEnabled: boolean;
258
+
255
259
  selfHealingEnabled: boolean;
256
260
 
257
261
  selfHealingMaxAttempts: number;
@@ -328,6 +332,8 @@ export namespace FlowUpdateResponse {
328
332
 
329
333
  ownerId: string;
330
334
 
335
+ recordingEnabled: boolean;
336
+
331
337
  selfHealingEnabled: boolean;
332
338
 
333
339
  selfHealingMaxAttempts: number;
@@ -406,6 +412,8 @@ export namespace FlowListResponse {
406
412
 
407
413
  ownerId: string;
408
414
 
415
+ recordingEnabled: boolean;
416
+
409
417
  selfHealingEnabled: boolean;
410
418
 
411
419
  selfHealingMaxAttempts: number;
@@ -486,6 +494,8 @@ export namespace FlowCloneResponse {
486
494
 
487
495
  ownerId: string;
488
496
 
497
+ recordingEnabled: boolean;
498
+
489
499
  selfHealingEnabled: boolean;
490
500
 
491
501
  selfHealingMaxAttempts: number;
@@ -688,6 +698,8 @@ export namespace FlowUnblockResponse {
688
698
 
689
699
  ownerId: string;
690
700
 
701
+ recordingEnabled: boolean;
702
+
691
703
  selfHealingEnabled: boolean;
692
704
 
693
705
  selfHealingMaxAttempts: number;
@@ -738,6 +750,8 @@ export interface FlowCreateParams {
738
750
 
739
751
  notifyWebhookId?: string | null;
740
752
 
753
+ recordingEnabled?: boolean;
754
+
741
755
  selfHealingEnabled?: boolean;
742
756
 
743
757
  selfHealingMaxAttempts?: number;
@@ -804,6 +818,8 @@ export interface FlowUpdateParams {
804
818
 
805
819
  notifyWebhookId?: string | null;
806
820
 
821
+ recordingEnabled?: boolean;
822
+
807
823
  selfHealingEnabled?: boolean;
808
824
 
809
825
  selfHealingMaxAttempts?: number;
@@ -0,0 +1,2 @@
1
+ /** @deprecated Import from ./core/streaming instead */
2
+ export * from './core/streaming';
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '5.2.1'; // x-release-please-version
1
+ export const VERSION = '5.4.0'; // x-release-please-version
@@ -0,0 +1,3 @@
1
+ /** @deprecated Import from ./core/streaming instead */
2
+ export * from "./core/streaming.mjs";
3
+ //# sourceMappingURL=streaming.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"streaming.d.mts","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,qCAAiC"}
package/streaming.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ /** @deprecated Import from ./core/streaming instead */
2
+ export * from "./core/streaming.js";
3
+ //# sourceMappingURL=streaming.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"streaming.d.ts","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,oCAAiC"}
package/streaming.js ADDED
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("./internal/tslib.js");
4
+ /** @deprecated Import from ./core/streaming instead */
5
+ tslib_1.__exportStar(require("./core/streaming.js"), exports);
6
+ //# sourceMappingURL=streaming.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"streaming.js","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":";;;AAAA,uDAAuD;AACvD,8DAAiC"}
package/streaming.mjs ADDED
@@ -0,0 +1,3 @@
1
+ /** @deprecated Import from ./core/streaming instead */
2
+ export * from "./core/streaming.mjs";
3
+ //# sourceMappingURL=streaming.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"streaming.mjs","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,qCAAiC"}
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.2.1";
1
+ export declare const VERSION = "5.4.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.2.1";
1
+ export declare const VERSION = "5.4.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '5.2.1'; // x-release-please-version
4
+ exports.VERSION = '5.4.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '5.2.1'; // x-release-please-version
1
+ export const VERSION = '5.4.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map
@@ -1,27 +0,0 @@
1
- import { APIResource } from "../core/resource.mjs";
2
- import { APIPromise } from "../core/api-promise.mjs";
3
- import { RequestOptions } from "../internal/request-options.mjs";
4
- export declare class Agents extends APIResource {
5
- /**
6
- * List all available agents with their default configurations.
7
- */
8
- list(options?: RequestOptions): APIPromise<AgentListResponse>;
9
- }
10
- export type AgentListResponse = Array<AgentListResponse.AgentListResponseItem>;
11
- export declare namespace AgentListResponse {
12
- interface AgentListResponseItem {
13
- id: number;
14
- description: string | null;
15
- icon: string;
16
- llmModel: string;
17
- maxSteps: number;
18
- name: string;
19
- reasoning: boolean;
20
- subagentModel: string | null;
21
- vision: boolean;
22
- }
23
- }
24
- export declare namespace Agents {
25
- export { type AgentListResponse as AgentListResponse };
26
- }
27
- //# sourceMappingURL=agents.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agents.d.mts","sourceRoot":"","sources":["../src/resources/agents.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;CAG9D;AAED,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,CAAC;AAE/E,yBAAiB,iBAAiB,CAAC;IACjC,UAAiB,qBAAqB;QACpC,EAAE,EAAE,MAAM,CAAC;QAEX,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;QAE3B,IAAI,EAAE,MAAM,CAAC;QAEb,QAAQ,EAAE,MAAM,CAAC;QAEjB,QAAQ,EAAE,MAAM,CAAC;QAEjB,IAAI,EAAE,MAAM,CAAC;QAEb,SAAS,EAAE,OAAO,CAAC;QAEnB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;QAE7B,MAAM,EAAE,OAAO,CAAC;KACjB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACxD"}
@@ -1,27 +0,0 @@
1
- import { APIResource } from "../core/resource.js";
2
- import { APIPromise } from "../core/api-promise.js";
3
- import { RequestOptions } from "../internal/request-options.js";
4
- export declare class Agents extends APIResource {
5
- /**
6
- * List all available agents with their default configurations.
7
- */
8
- list(options?: RequestOptions): APIPromise<AgentListResponse>;
9
- }
10
- export type AgentListResponse = Array<AgentListResponse.AgentListResponseItem>;
11
- export declare namespace AgentListResponse {
12
- interface AgentListResponseItem {
13
- id: number;
14
- description: string | null;
15
- icon: string;
16
- llmModel: string;
17
- maxSteps: number;
18
- name: string;
19
- reasoning: boolean;
20
- subagentModel: string | null;
21
- vision: boolean;
22
- }
23
- }
24
- export declare namespace Agents {
25
- export { type AgentListResponse as AgentListResponse };
26
- }
27
- //# sourceMappingURL=agents.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../src/resources/agents.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;CAG9D;AAED,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,CAAC;AAE/E,yBAAiB,iBAAiB,CAAC;IACjC,UAAiB,qBAAqB;QACpC,EAAE,EAAE,MAAM,CAAC;QAEX,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;QAE3B,IAAI,EAAE,MAAM,CAAC;QAEb,QAAQ,EAAE,MAAM,CAAC;QAEjB,QAAQ,EAAE,MAAM,CAAC;QAEjB,IAAI,EAAE,MAAM,CAAC;QAEb,SAAS,EAAE,OAAO,CAAC;QAEnB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;QAE7B,MAAM,EAAE,OAAO,CAAC;KACjB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACxD"}
@@ -1,15 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Agents = void 0;
5
- const resource_1 = require("../core/resource.js");
6
- class Agents extends resource_1.APIResource {
7
- /**
8
- * List all available agents with their default configurations.
9
- */
10
- list(options) {
11
- return this._client.get('/agents', options);
12
- }
13
- }
14
- exports.Agents = Agents;
15
- //# sourceMappingURL=agents.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agents.js","sourceRoot":"","sources":["../src/resources/agents.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,MAAO,SAAQ,sBAAW;IACrC;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC9C,CAAC;CACF;AAPD,wBAOC"}
@@ -1,11 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../core/resource.mjs";
3
- export class Agents extends APIResource {
4
- /**
5
- * List all available agents with their default configurations.
6
- */
7
- list(options) {
8
- return this._client.get('/agents', options);
9
- }
10
- }
11
- //# sourceMappingURL=agents.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agents.mjs","sourceRoot":"","sources":["../src/resources/agents.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC9C,CAAC;CACF"}
@@ -1,42 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- import { APIResource } from '../core/resource';
4
- import { APIPromise } from '../core/api-promise';
5
- import { RequestOptions } from '../internal/request-options';
6
-
7
- export class Agents extends APIResource {
8
- /**
9
- * List all available agents with their default configurations.
10
- */
11
- list(options?: RequestOptions): APIPromise<AgentListResponse> {
12
- return this._client.get('/agents', options);
13
- }
14
- }
15
-
16
- export type AgentListResponse = Array<AgentListResponse.AgentListResponseItem>;
17
-
18
- export namespace AgentListResponse {
19
- export interface AgentListResponseItem {
20
- id: number;
21
-
22
- description: string | null;
23
-
24
- icon: string;
25
-
26
- llmModel: string;
27
-
28
- maxSteps: number;
29
-
30
- name: string;
31
-
32
- reasoning: boolean;
33
-
34
- subagentModel: string | null;
35
-
36
- vision: boolean;
37
- }
38
- }
39
-
40
- export declare namespace Agents {
41
- export { type AgentListResponse as AgentListResponse };
42
- }