@mobilerun/sdk 2.0.0 → 2.1.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 (185) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/README.md +2 -2
  3. package/client.d.mts +12 -11
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +12 -11
  6. package/client.d.ts.map +1 -1
  7. package/client.js +20 -17
  8. package/client.js.map +1 -1
  9. package/client.mjs +21 -18
  10. package/client.mjs.map +1 -1
  11. package/internal/parse.d.mts.map +1 -1
  12. package/internal/parse.d.ts.map +1 -1
  13. package/internal/parse.js +5 -0
  14. package/internal/parse.js.map +1 -1
  15. package/internal/parse.mjs +5 -0
  16. package/internal/parse.mjs.map +1 -1
  17. package/internal/qs/formats.d.mts +7 -0
  18. package/internal/qs/formats.d.mts.map +1 -0
  19. package/internal/qs/formats.d.ts +7 -0
  20. package/internal/qs/formats.d.ts.map +1 -0
  21. package/internal/qs/formats.js +13 -0
  22. package/internal/qs/formats.js.map +1 -0
  23. package/internal/qs/formats.mjs +9 -0
  24. package/internal/qs/formats.mjs.map +1 -0
  25. package/internal/qs/index.d.mts +10 -0
  26. package/internal/qs/index.d.mts.map +1 -0
  27. package/internal/qs/index.d.ts +10 -0
  28. package/internal/qs/index.d.ts.map +1 -0
  29. package/internal/qs/index.js +14 -0
  30. package/internal/qs/index.js.map +1 -0
  31. package/internal/qs/index.mjs +10 -0
  32. package/internal/qs/index.mjs.map +1 -0
  33. package/internal/qs/stringify.d.mts +3 -0
  34. package/internal/qs/stringify.d.mts.map +1 -0
  35. package/internal/qs/stringify.d.ts +3 -0
  36. package/internal/qs/stringify.d.ts.map +1 -0
  37. package/internal/qs/stringify.js +277 -0
  38. package/internal/qs/stringify.js.map +1 -0
  39. package/internal/qs/stringify.mjs +274 -0
  40. package/internal/qs/stringify.mjs.map +1 -0
  41. package/internal/qs/types.d.mts +57 -0
  42. package/internal/qs/types.d.mts.map +1 -0
  43. package/internal/qs/types.d.ts +57 -0
  44. package/internal/qs/types.d.ts.map +1 -0
  45. package/internal/qs/types.js +3 -0
  46. package/internal/qs/types.js.map +1 -0
  47. package/internal/qs/types.mjs +2 -0
  48. package/internal/qs/types.mjs.map +1 -0
  49. package/internal/qs/utils.d.mts +15 -0
  50. package/internal/qs/utils.d.mts.map +1 -0
  51. package/internal/qs/utils.d.ts +15 -0
  52. package/internal/qs/utils.d.ts.map +1 -0
  53. package/internal/qs/utils.js +230 -0
  54. package/internal/qs/utils.js.map +1 -0
  55. package/internal/qs/utils.mjs +217 -0
  56. package/internal/qs/utils.mjs.map +1 -0
  57. package/package.json +1 -1
  58. package/resources/apps.d.mts +1 -0
  59. package/resources/apps.d.mts.map +1 -1
  60. package/resources/apps.d.ts +1 -0
  61. package/resources/apps.d.ts.map +1 -1
  62. package/resources/credentials/credentials.d.mts +18 -3
  63. package/resources/credentials/credentials.d.mts.map +1 -1
  64. package/resources/credentials/credentials.d.ts +18 -3
  65. package/resources/credentials/credentials.d.ts.map +1 -1
  66. package/resources/credentials/credentials.js +2 -2
  67. package/resources/credentials/credentials.js.map +1 -1
  68. package/resources/credentials/credentials.mjs +2 -2
  69. package/resources/credentials/credentials.mjs.map +1 -1
  70. package/resources/credentials/index.d.mts +1 -1
  71. package/resources/credentials/index.d.mts.map +1 -1
  72. package/resources/credentials/index.d.ts +1 -1
  73. package/resources/credentials/index.d.ts.map +1 -1
  74. package/resources/credentials/index.js.map +1 -1
  75. package/resources/credentials/index.mjs.map +1 -1
  76. package/resources/credentials/packages/credentials/fields.d.mts +6 -6
  77. package/resources/credentials/packages/credentials/fields.d.ts +6 -6
  78. package/resources/devices/actions.d.mts +10 -10
  79. package/resources/devices/actions.d.ts +10 -10
  80. package/resources/devices/apps.d.mts +24 -10
  81. package/resources/devices/apps.d.mts.map +1 -1
  82. package/resources/devices/apps.d.ts +24 -10
  83. package/resources/devices/apps.d.ts.map +1 -1
  84. package/resources/devices/apps.js +19 -0
  85. package/resources/devices/apps.js.map +1 -1
  86. package/resources/devices/apps.mjs +19 -0
  87. package/resources/devices/apps.mjs.map +1 -1
  88. package/resources/devices/devices.d.mts +26 -14
  89. package/resources/devices/devices.d.mts.map +1 -1
  90. package/resources/devices/devices.d.ts +26 -14
  91. package/resources/devices/devices.d.ts.map +1 -1
  92. package/resources/devices/devices.js +8 -1
  93. package/resources/devices/devices.js.map +1 -1
  94. package/resources/devices/devices.mjs +8 -1
  95. package/resources/devices/devices.mjs.map +1 -1
  96. package/resources/devices/index.d.mts +2 -2
  97. package/resources/devices/index.d.mts.map +1 -1
  98. package/resources/devices/index.d.ts +2 -2
  99. package/resources/devices/index.d.ts.map +1 -1
  100. package/resources/devices/index.js.map +1 -1
  101. package/resources/devices/index.mjs.map +1 -1
  102. package/resources/devices/keyboard.d.mts +5 -5
  103. package/resources/devices/keyboard.d.ts +5 -5
  104. package/resources/devices/packages.d.mts +2 -2
  105. package/resources/devices/packages.d.ts +2 -2
  106. package/resources/devices/state.d.mts +4 -4
  107. package/resources/devices/state.d.ts +4 -4
  108. package/resources/hooks.d.mts +7 -2
  109. package/resources/hooks.d.mts.map +1 -1
  110. package/resources/hooks.d.ts +7 -2
  111. package/resources/hooks.d.ts.map +1 -1
  112. package/resources/hooks.js +4 -3
  113. package/resources/hooks.js.map +1 -1
  114. package/resources/hooks.mjs +4 -3
  115. package/resources/hooks.mjs.map +1 -1
  116. package/resources/index.d.mts +5 -4
  117. package/resources/index.d.mts.map +1 -1
  118. package/resources/index.d.ts +5 -4
  119. package/resources/index.d.ts.map +1 -1
  120. package/resources/index.js +3 -1
  121. package/resources/index.js.map +1 -1
  122. package/resources/index.mjs +2 -1
  123. package/resources/index.mjs.map +1 -1
  124. package/resources/models.d.mts +28 -0
  125. package/resources/models.d.mts.map +1 -0
  126. package/resources/models.d.ts +28 -0
  127. package/resources/models.d.ts.map +1 -0
  128. package/resources/models.js +15 -0
  129. package/resources/models.js.map +1 -0
  130. package/resources/models.mjs +11 -0
  131. package/resources/models.mjs.map +1 -0
  132. package/resources/tasks/index.d.mts +1 -1
  133. package/resources/tasks/index.d.mts.map +1 -1
  134. package/resources/tasks/index.d.ts +1 -1
  135. package/resources/tasks/index.d.ts.map +1 -1
  136. package/resources/tasks/index.js.map +1 -1
  137. package/resources/tasks/index.mjs.map +1 -1
  138. package/resources/tasks/screenshots.d.mts +2 -2
  139. package/resources/tasks/screenshots.d.ts +2 -2
  140. package/resources/tasks/screenshots.js +2 -2
  141. package/resources/tasks/screenshots.mjs +2 -2
  142. package/resources/tasks/tasks.d.mts +103 -363
  143. package/resources/tasks/tasks.d.mts.map +1 -1
  144. package/resources/tasks/tasks.d.ts +103 -363
  145. package/resources/tasks/tasks.d.ts.map +1 -1
  146. package/resources/tasks/tasks.js +12 -10
  147. package/resources/tasks/tasks.js.map +1 -1
  148. package/resources/tasks/tasks.mjs +12 -10
  149. package/resources/tasks/tasks.mjs.map +1 -1
  150. package/resources/tasks/ui-states.d.mts +2 -2
  151. package/resources/tasks/ui-states.d.ts +2 -2
  152. package/resources/tasks/ui-states.js +2 -2
  153. package/resources/tasks/ui-states.mjs +2 -2
  154. package/src/client.ts +41 -26
  155. package/src/internal/parse.ts +6 -0
  156. package/src/internal/qs/LICENSE.md +13 -0
  157. package/src/internal/qs/README.md +3 -0
  158. package/src/internal/qs/formats.ts +10 -0
  159. package/src/internal/qs/index.ts +13 -0
  160. package/src/internal/qs/stringify.ts +385 -0
  161. package/src/internal/qs/types.ts +71 -0
  162. package/src/internal/qs/utils.ts +265 -0
  163. package/src/resources/apps.ts +2 -0
  164. package/src/resources/credentials/credentials.ts +34 -4
  165. package/src/resources/credentials/index.ts +1 -1
  166. package/src/resources/credentials/packages/credentials/fields.ts +6 -6
  167. package/src/resources/devices/actions.ts +10 -10
  168. package/src/resources/devices/apps.ts +42 -9
  169. package/src/resources/devices/devices.ts +37 -11
  170. package/src/resources/devices/index.ts +3 -0
  171. package/src/resources/devices/keyboard.ts +5 -5
  172. package/src/resources/devices/packages.ts +2 -2
  173. package/src/resources/devices/state.ts +4 -4
  174. package/src/resources/hooks.ts +9 -3
  175. package/src/resources/index.ts +9 -3
  176. package/src/resources/models.ts +39 -0
  177. package/src/resources/tasks/index.ts +0 -2
  178. package/src/resources/tasks/screenshots.ts +2 -2
  179. package/src/resources/tasks/tasks.ts +114 -493
  180. package/src/resources/tasks/ui-states.ts +2 -2
  181. package/src/version.ts +1 -1
  182. package/version.d.mts +1 -1
  183. package/version.d.ts +1 -1
  184. package/version.js +1 -1
  185. package/version.mjs +1 -1
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Tasks = exports.Hooks = exports.Devices = exports.Credentials = exports.Apps = void 0;
4
+ exports.Tasks = exports.Models = exports.Hooks = exports.Devices = exports.Credentials = exports.Apps = void 0;
5
5
  var apps_1 = require("./apps.js");
6
6
  Object.defineProperty(exports, "Apps", { enumerable: true, get: function () { return apps_1.Apps; } });
7
7
  var credentials_1 = require("./credentials/credentials.js");
@@ -10,6 +10,8 @@ var devices_1 = require("./devices/devices.js");
10
10
  Object.defineProperty(exports, "Devices", { enumerable: true, get: function () { return devices_1.Devices; } });
11
11
  var hooks_1 = require("./hooks.js");
12
12
  Object.defineProperty(exports, "Hooks", { enumerable: true, get: function () { return hooks_1.Hooks; } });
13
+ var models_1 = require("./models.js");
14
+ Object.defineProperty(exports, "Models", { enumerable: true, get: function () { return models_1.Models; } });
13
15
  var tasks_1 = require("./tasks/tasks.js");
14
16
  Object.defineProperty(exports, "Tasks", { enumerable: true, get: function () { return tasks_1.Tasks; } });
15
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kCAAwE;AAA/D,4FAAA,IAAI,OAAA;AACb,4DAAqF;AAA5E,0GAAA,WAAW,OAAA;AACpB,gDAM2B;AALzB,kGAAA,OAAO,OAAA;AAMT,oCAYiB;AAXf,8FAAA,KAAK,OAAA;AAYP,0CAeuB;AAdrB,8FAAA,KAAK,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kCAAwE;AAA/D,4FAAA,IAAI,OAAA;AACb,4DAImC;AAHjC,0GAAA,WAAW,OAAA;AAIb,gDAQ2B;AAPzB,kGAAA,OAAO,OAAA;AAQT,oCAaiB;AAZf,8FAAA,KAAK,OAAA;AAaP,sCAA0D;AAAjD,gGAAA,MAAM,OAAA;AACf,0CAauB;AAZrB,8FAAA,KAAK,OAAA"}
@@ -1,7 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  export { Apps } from "./apps.mjs";
3
- export { Credentials } from "./credentials/credentials.mjs";
3
+ export { Credentials, } from "./credentials/credentials.mjs";
4
4
  export { Devices, } from "./devices/devices.mjs";
5
5
  export { Hooks, } from "./hooks.mjs";
6
+ export { Models } from "./models.mjs";
6
7
  export { Tasks, } from "./tasks/tasks.mjs";
7
8
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,IAAI,EAA4C;OAClD,EAAE,WAAW,EAA+B;OAC5C,EACL,OAAO,GAKR;OACM,EACL,KAAK,GAWN;OACM,EACL,KAAK,GAcN"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,IAAI,EAA4C;OAClD,EACL,WAAW,GAGZ;OACM,EACL,OAAO,GAOR;OACM,EACL,KAAK,GAYN;OACM,EAAE,MAAM,EAA0B;OAClC,EACL,KAAK,GAYN"}
@@ -0,0 +1,28 @@
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 Models extends APIResource {
5
+ /**
6
+ * Get all LLM models
7
+ */
8
+ list(options?: RequestOptions): APIPromise<ModelListResponse>;
9
+ }
10
+ export interface ModelListResponse {
11
+ data?: Array<ModelListResponse.Data>;
12
+ /**
13
+ * Always "list" for list responses
14
+ */
15
+ object?: string;
16
+ }
17
+ export declare namespace ModelListResponse {
18
+ interface Data {
19
+ id?: string;
20
+ created?: number;
21
+ object?: string;
22
+ owned_by?: string;
23
+ }
24
+ }
25
+ export declare namespace Models {
26
+ export { type ModelListResponse as ModelListResponse };
27
+ }
28
+ //# sourceMappingURL=models.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.d.mts","sourceRoot":"","sources":["../src/resources/models.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;CAG9D;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAErC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,yBAAiB,iBAAiB,CAAC;IACjC,UAAiB,IAAI;QACnB,EAAE,CAAC,EAAE,MAAM,CAAC;QAEZ,OAAO,CAAC,EAAE,MAAM,CAAC;QAEjB,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACxD"}
@@ -0,0 +1,28 @@
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 Models extends APIResource {
5
+ /**
6
+ * Get all LLM models
7
+ */
8
+ list(options?: RequestOptions): APIPromise<ModelListResponse>;
9
+ }
10
+ export interface ModelListResponse {
11
+ data?: Array<ModelListResponse.Data>;
12
+ /**
13
+ * Always "list" for list responses
14
+ */
15
+ object?: string;
16
+ }
17
+ export declare namespace ModelListResponse {
18
+ interface Data {
19
+ id?: string;
20
+ created?: number;
21
+ object?: string;
22
+ owned_by?: string;
23
+ }
24
+ }
25
+ export declare namespace Models {
26
+ export { type ModelListResponse as ModelListResponse };
27
+ }
28
+ //# sourceMappingURL=models.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../src/resources/models.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;CAG9D;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAErC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,yBAAiB,iBAAiB,CAAC;IACjC,UAAiB,IAAI;QACnB,EAAE,CAAC,EAAE,MAAM,CAAC;QAEZ,OAAO,CAAC,EAAE,MAAM,CAAC;QAEjB,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACxD"}
@@ -0,0 +1,15 @@
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.Models = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ class Models extends resource_1.APIResource {
7
+ /**
8
+ * Get all LLM models
9
+ */
10
+ list(options) {
11
+ return this._client.get('/models', options);
12
+ }
13
+ }
14
+ exports.Models = Models;
15
+ //# sourceMappingURL=models.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../src/resources/models.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"}
@@ -0,0 +1,11 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ export class Models extends APIResource {
4
+ /**
5
+ * Get all LLM models
6
+ */
7
+ list(options) {
8
+ return this._client.get('/models', options);
9
+ }
10
+ }
11
+ //# sourceMappingURL=models.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.mjs","sourceRoot":"","sources":["../src/resources/models.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,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,4 +1,4 @@
1
1
  export { Screenshots, type MediaResponse, type ScreenshotListResponse, type ScreenshotRetrieveParams, } from "./screenshots.mjs";
2
- export { Tasks, type LlmModel, type Task, type TaskCreate, type TaskStatus, type TaskRetrieveResponse, type TaskListResponse, type TaskGetStatusResponse, type TaskGetTrajectoryResponse, type TaskRunResponse, type TaskStopResponse, type TaskListParams, type TaskRunParams, type TaskRunStreamedParams, } from "./tasks.mjs";
2
+ export { Tasks, type Task, type TaskStatus, type TaskRetrieveResponse, type TaskListResponse, type TaskGetStatusResponse, type TaskGetTrajectoryResponse, type TaskRunResponse, type TaskStopResponse, type TaskListParams, type TaskRunParams, type TaskRunStreamedParams, } from "./tasks.mjs";
3
3
  export { UiStates, type UiStateListResponse, type UiStateRetrieveParams } from "./ui-states.mjs";
4
4
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/tasks/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B;OACM,EACL,KAAK,EACL,KAAK,QAAQ,EACb,KAAK,IAAI,EACT,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,qBAAqB,GAC3B;OACM,EAAE,QAAQ,EAAE,KAAK,mBAAmB,EAAE,KAAK,qBAAqB,EAAE"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/tasks/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B;OACM,EACL,KAAK,EACL,KAAK,IAAI,EACT,KAAK,UAAU,EACf,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,qBAAqB,GAC3B;OACM,EAAE,QAAQ,EAAE,KAAK,mBAAmB,EAAE,KAAK,qBAAqB,EAAE"}
@@ -1,4 +1,4 @@
1
1
  export { Screenshots, type MediaResponse, type ScreenshotListResponse, type ScreenshotRetrieveParams, } from "./screenshots.js";
2
- export { Tasks, type LlmModel, type Task, type TaskCreate, type TaskStatus, type TaskRetrieveResponse, type TaskListResponse, type TaskGetStatusResponse, type TaskGetTrajectoryResponse, type TaskRunResponse, type TaskStopResponse, type TaskListParams, type TaskRunParams, type TaskRunStreamedParams, } from "./tasks.js";
2
+ export { Tasks, type Task, type TaskStatus, type TaskRetrieveResponse, type TaskListResponse, type TaskGetStatusResponse, type TaskGetTrajectoryResponse, type TaskRunResponse, type TaskStopResponse, type TaskListParams, type TaskRunParams, type TaskRunStreamedParams, } from "./tasks.js";
3
3
  export { UiStates, type UiStateListResponse, type UiStateRetrieveParams } from "./ui-states.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/tasks/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B;OACM,EACL,KAAK,EACL,KAAK,QAAQ,EACb,KAAK,IAAI,EACT,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,qBAAqB,GAC3B;OACM,EAAE,QAAQ,EAAE,KAAK,mBAAmB,EAAE,KAAK,qBAAqB,EAAE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/tasks/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B;OACM,EACL,KAAK,EACL,KAAK,IAAI,EACT,KAAK,UAAU,EACf,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,qBAAqB,GAC3B;OACM,EAAE,QAAQ,EAAE,KAAK,mBAAmB,EAAE,KAAK,qBAAqB,EAAE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/tasks/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAKuB;AAJrB,0GAAA,WAAW,OAAA;AAKb,oCAeiB;AAdf,8FAAA,KAAK,OAAA;AAeP,4CAA6F;AAApF,qGAAA,QAAQ,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/tasks/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAKuB;AAJrB,0GAAA,WAAW,OAAA;AAKb,oCAaiB;AAZf,8FAAA,KAAK,OAAA;AAaP,4CAA6F;AAApF,qGAAA,QAAQ,OAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/tasks/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,WAAW,GAIZ;OACM,EACL,KAAK,GAcN;OACM,EAAE,QAAQ,EAAwD"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/tasks/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,WAAW,GAIZ;OACM,EACL,KAAK,GAYN;OACM,EAAE,QAAQ,EAAwD"}
@@ -3,11 +3,11 @@ import { APIPromise } from "../../core/api-promise.mjs";
3
3
  import { RequestOptions } from "../../internal/request-options.mjs";
4
4
  export declare class Screenshots extends APIResource {
5
5
  /**
6
- * Get Task Screenshot
6
+ * Get a specific screenshot by index.
7
7
  */
8
8
  retrieve(index: number, params: ScreenshotRetrieveParams, options?: RequestOptions): APIPromise<MediaResponse>;
9
9
  /**
10
- * Get Task Screenshots
10
+ * List all screenshot URLs for a task.
11
11
  */
12
12
  list(taskID: string, options?: RequestOptions): APIPromise<ScreenshotListResponse>;
13
13
  }
@@ -3,11 +3,11 @@ import { APIPromise } from "../../core/api-promise.js";
3
3
  import { RequestOptions } from "../../internal/request-options.js";
4
4
  export declare class Screenshots extends APIResource {
5
5
  /**
6
- * Get Task Screenshot
6
+ * Get a specific screenshot by index.
7
7
  */
8
8
  retrieve(index: number, params: ScreenshotRetrieveParams, options?: RequestOptions): APIPromise<MediaResponse>;
9
9
  /**
10
- * Get Task Screenshots
10
+ * List all screenshot URLs for a task.
11
11
  */
12
12
  list(taskID: string, options?: RequestOptions): APIPromise<ScreenshotListResponse>;
13
13
  }
@@ -6,14 +6,14 @@ const resource_1 = require("../../core/resource.js");
6
6
  const path_1 = require("../../internal/utils/path.js");
7
7
  class Screenshots extends resource_1.APIResource {
8
8
  /**
9
- * Get Task Screenshot
9
+ * Get a specific screenshot by index.
10
10
  */
11
11
  retrieve(index, params, options) {
12
12
  const { task_id } = params;
13
13
  return this._client.get((0, path_1.path) `/tasks/${task_id}/screenshots/${index}`, options);
14
14
  }
15
15
  /**
16
- * Get Task Screenshots
16
+ * List all screenshot URLs for a task.
17
17
  */
18
18
  list(taskID, options) {
19
19
  return this._client.get((0, path_1.path) `/tasks/${taskID}/screenshots`, options);
@@ -3,14 +3,14 @@ import { APIResource } from "../../core/resource.mjs";
3
3
  import { path } from "../../internal/utils/path.mjs";
4
4
  export class Screenshots extends APIResource {
5
5
  /**
6
- * Get Task Screenshot
6
+ * Get a specific screenshot by index.
7
7
  */
8
8
  retrieve(index, params, options) {
9
9
  const { task_id } = params;
10
10
  return this._client.get(path `/tasks/${task_id}/screenshots/${index}`, options);
11
11
  }
12
12
  /**
13
- * Get Task Screenshots
13
+ * List all screenshot URLs for a task.
14
14
  */
15
15
  list(taskID, options) {
16
16
  return this._client.get(path `/tasks/${taskID}/screenshots`, options);