@linkt/sdk 0.2.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 (444) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/LICENSE +201 -0
  3. package/README.md +424 -0
  4. package/api-promise.d.mts +2 -0
  5. package/api-promise.d.mts.map +1 -0
  6. package/api-promise.d.ts +2 -0
  7. package/api-promise.d.ts.map +1 -0
  8. package/api-promise.js +6 -0
  9. package/api-promise.js.map +1 -0
  10. package/api-promise.mjs +2 -0
  11. package/api-promise.mjs.map +1 -0
  12. package/client.d.mts +206 -0
  13. package/client.d.mts.map +1 -0
  14. package/client.d.ts +206 -0
  15. package/client.d.ts.map +1 -0
  16. package/client.js +473 -0
  17. package/client.js.map +1 -0
  18. package/client.mjs +469 -0
  19. package/client.mjs.map +1 -0
  20. package/core/api-promise.d.mts +46 -0
  21. package/core/api-promise.d.mts.map +1 -0
  22. package/core/api-promise.d.ts +46 -0
  23. package/core/api-promise.d.ts.map +1 -0
  24. package/core/api-promise.js +74 -0
  25. package/core/api-promise.js.map +1 -0
  26. package/core/api-promise.mjs +70 -0
  27. package/core/api-promise.mjs.map +1 -0
  28. package/core/error.d.mts +46 -0
  29. package/core/error.d.mts.map +1 -0
  30. package/core/error.d.ts +46 -0
  31. package/core/error.d.ts.map +1 -0
  32. package/core/error.js +113 -0
  33. package/core/error.js.map +1 -0
  34. package/core/error.mjs +97 -0
  35. package/core/error.mjs.map +1 -0
  36. package/core/resource.d.mts +6 -0
  37. package/core/resource.d.mts.map +1 -0
  38. package/core/resource.d.ts +6 -0
  39. package/core/resource.d.ts.map +1 -0
  40. package/core/resource.js +11 -0
  41. package/core/resource.js.map +1 -0
  42. package/core/resource.mjs +7 -0
  43. package/core/resource.mjs.map +1 -0
  44. package/core/uploads.d.mts +3 -0
  45. package/core/uploads.d.mts.map +1 -0
  46. package/core/uploads.d.ts +3 -0
  47. package/core/uploads.d.ts.map +1 -0
  48. package/core/uploads.js +6 -0
  49. package/core/uploads.js.map +1 -0
  50. package/core/uploads.mjs +2 -0
  51. package/core/uploads.mjs.map +1 -0
  52. package/error.d.mts +2 -0
  53. package/error.d.mts.map +1 -0
  54. package/error.d.ts +2 -0
  55. package/error.d.ts.map +1 -0
  56. package/error.js +6 -0
  57. package/error.js.map +1 -0
  58. package/error.mjs +2 -0
  59. package/error.mjs.map +1 -0
  60. package/index.d.mts +6 -0
  61. package/index.d.mts.map +1 -0
  62. package/index.d.ts +6 -0
  63. package/index.d.ts.map +1 -0
  64. package/index.js +30 -0
  65. package/index.js.map +1 -0
  66. package/index.mjs +7 -0
  67. package/index.mjs.map +1 -0
  68. package/internal/builtin-types.d.mts +73 -0
  69. package/internal/builtin-types.d.mts.map +1 -0
  70. package/internal/builtin-types.d.ts +73 -0
  71. package/internal/builtin-types.d.ts.map +1 -0
  72. package/internal/builtin-types.js +4 -0
  73. package/internal/builtin-types.js.map +1 -0
  74. package/internal/builtin-types.mjs +3 -0
  75. package/internal/builtin-types.mjs.map +1 -0
  76. package/internal/detect-platform.d.mts +15 -0
  77. package/internal/detect-platform.d.mts.map +1 -0
  78. package/internal/detect-platform.d.ts +15 -0
  79. package/internal/detect-platform.d.ts.map +1 -0
  80. package/internal/detect-platform.js +162 -0
  81. package/internal/detect-platform.js.map +1 -0
  82. package/internal/detect-platform.mjs +157 -0
  83. package/internal/detect-platform.mjs.map +1 -0
  84. package/internal/errors.d.mts +3 -0
  85. package/internal/errors.d.mts.map +1 -0
  86. package/internal/errors.d.ts +3 -0
  87. package/internal/errors.d.ts.map +1 -0
  88. package/internal/errors.js +41 -0
  89. package/internal/errors.js.map +1 -0
  90. package/internal/errors.mjs +36 -0
  91. package/internal/errors.mjs.map +1 -0
  92. package/internal/headers.d.mts +20 -0
  93. package/internal/headers.d.mts.map +1 -0
  94. package/internal/headers.d.ts +20 -0
  95. package/internal/headers.d.ts.map +1 -0
  96. package/internal/headers.js +79 -0
  97. package/internal/headers.js.map +1 -0
  98. package/internal/headers.mjs +74 -0
  99. package/internal/headers.mjs.map +1 -0
  100. package/internal/parse.d.mts +12 -0
  101. package/internal/parse.d.mts.map +1 -0
  102. package/internal/parse.d.ts +12 -0
  103. package/internal/parse.d.ts.map +1 -0
  104. package/internal/parse.js +35 -0
  105. package/internal/parse.js.map +1 -0
  106. package/internal/parse.mjs +32 -0
  107. package/internal/parse.mjs.map +1 -0
  108. package/internal/qs/formats.d.mts +7 -0
  109. package/internal/qs/formats.d.mts.map +1 -0
  110. package/internal/qs/formats.d.ts +7 -0
  111. package/internal/qs/formats.d.ts.map +1 -0
  112. package/internal/qs/formats.js +13 -0
  113. package/internal/qs/formats.js.map +1 -0
  114. package/internal/qs/formats.mjs +9 -0
  115. package/internal/qs/formats.mjs.map +1 -0
  116. package/internal/qs/index.d.mts +10 -0
  117. package/internal/qs/index.d.mts.map +1 -0
  118. package/internal/qs/index.d.ts +10 -0
  119. package/internal/qs/index.d.ts.map +1 -0
  120. package/internal/qs/index.js +14 -0
  121. package/internal/qs/index.js.map +1 -0
  122. package/internal/qs/index.mjs +10 -0
  123. package/internal/qs/index.mjs.map +1 -0
  124. package/internal/qs/stringify.d.mts +3 -0
  125. package/internal/qs/stringify.d.mts.map +1 -0
  126. package/internal/qs/stringify.d.ts +3 -0
  127. package/internal/qs/stringify.d.ts.map +1 -0
  128. package/internal/qs/stringify.js +277 -0
  129. package/internal/qs/stringify.js.map +1 -0
  130. package/internal/qs/stringify.mjs +274 -0
  131. package/internal/qs/stringify.mjs.map +1 -0
  132. package/internal/qs/types.d.mts +57 -0
  133. package/internal/qs/types.d.mts.map +1 -0
  134. package/internal/qs/types.d.ts +57 -0
  135. package/internal/qs/types.d.ts.map +1 -0
  136. package/internal/qs/types.js +3 -0
  137. package/internal/qs/types.js.map +1 -0
  138. package/internal/qs/types.mjs +2 -0
  139. package/internal/qs/types.mjs.map +1 -0
  140. package/internal/qs/utils.d.mts +15 -0
  141. package/internal/qs/utils.d.mts.map +1 -0
  142. package/internal/qs/utils.d.ts +15 -0
  143. package/internal/qs/utils.d.ts.map +1 -0
  144. package/internal/qs/utils.js +230 -0
  145. package/internal/qs/utils.js.map +1 -0
  146. package/internal/qs/utils.mjs +217 -0
  147. package/internal/qs/utils.mjs.map +1 -0
  148. package/internal/request-options.d.mts +75 -0
  149. package/internal/request-options.d.mts.map +1 -0
  150. package/internal/request-options.d.ts +75 -0
  151. package/internal/request-options.d.ts.map +1 -0
  152. package/internal/request-options.js +14 -0
  153. package/internal/request-options.js.map +1 -0
  154. package/internal/request-options.mjs +10 -0
  155. package/internal/request-options.mjs.map +1 -0
  156. package/internal/shim-types.d.mts +17 -0
  157. package/internal/shim-types.d.mts.map +1 -0
  158. package/internal/shim-types.d.ts +17 -0
  159. package/internal/shim-types.d.ts.map +1 -0
  160. package/internal/shim-types.js +4 -0
  161. package/internal/shim-types.js.map +1 -0
  162. package/internal/shim-types.mjs +3 -0
  163. package/internal/shim-types.mjs.map +1 -0
  164. package/internal/shims.d.mts +20 -0
  165. package/internal/shims.d.mts.map +1 -0
  166. package/internal/shims.d.ts +20 -0
  167. package/internal/shims.d.ts.map +1 -0
  168. package/internal/shims.js +92 -0
  169. package/internal/shims.js.map +1 -0
  170. package/internal/shims.mjs +85 -0
  171. package/internal/shims.mjs.map +1 -0
  172. package/internal/to-file.d.mts +45 -0
  173. package/internal/to-file.d.mts.map +1 -0
  174. package/internal/to-file.d.ts +45 -0
  175. package/internal/to-file.d.ts.map +1 -0
  176. package/internal/to-file.js +91 -0
  177. package/internal/to-file.js.map +1 -0
  178. package/internal/to-file.mjs +88 -0
  179. package/internal/to-file.mjs.map +1 -0
  180. package/internal/tslib.js +81 -0
  181. package/internal/tslib.mjs +17 -0
  182. package/internal/types.d.mts +69 -0
  183. package/internal/types.d.mts.map +1 -0
  184. package/internal/types.d.ts +69 -0
  185. package/internal/types.d.ts.map +1 -0
  186. package/internal/types.js +4 -0
  187. package/internal/types.js.map +1 -0
  188. package/internal/types.mjs +3 -0
  189. package/internal/types.mjs.map +1 -0
  190. package/internal/uploads.d.mts +42 -0
  191. package/internal/uploads.d.mts.map +1 -0
  192. package/internal/uploads.d.ts +42 -0
  193. package/internal/uploads.d.ts.map +1 -0
  194. package/internal/uploads.js +141 -0
  195. package/internal/uploads.js.map +1 -0
  196. package/internal/uploads.mjs +131 -0
  197. package/internal/uploads.mjs.map +1 -0
  198. package/internal/utils/base64.d.mts +3 -0
  199. package/internal/utils/base64.d.mts.map +1 -0
  200. package/internal/utils/base64.d.ts +3 -0
  201. package/internal/utils/base64.d.ts.map +1 -0
  202. package/internal/utils/base64.js +38 -0
  203. package/internal/utils/base64.js.map +1 -0
  204. package/internal/utils/base64.mjs +33 -0
  205. package/internal/utils/base64.mjs.map +1 -0
  206. package/internal/utils/bytes.d.mts +4 -0
  207. package/internal/utils/bytes.d.mts.map +1 -0
  208. package/internal/utils/bytes.d.ts +4 -0
  209. package/internal/utils/bytes.d.ts.map +1 -0
  210. package/internal/utils/bytes.js +31 -0
  211. package/internal/utils/bytes.js.map +1 -0
  212. package/internal/utils/bytes.mjs +26 -0
  213. package/internal/utils/bytes.mjs.map +1 -0
  214. package/internal/utils/env.d.mts +9 -0
  215. package/internal/utils/env.d.mts.map +1 -0
  216. package/internal/utils/env.d.ts +9 -0
  217. package/internal/utils/env.d.ts.map +1 -0
  218. package/internal/utils/env.js +22 -0
  219. package/internal/utils/env.js.map +1 -0
  220. package/internal/utils/env.mjs +18 -0
  221. package/internal/utils/env.mjs.map +1 -0
  222. package/internal/utils/log.d.mts +37 -0
  223. package/internal/utils/log.d.mts.map +1 -0
  224. package/internal/utils/log.d.ts +37 -0
  225. package/internal/utils/log.d.ts.map +1 -0
  226. package/internal/utils/log.js +86 -0
  227. package/internal/utils/log.js.map +1 -0
  228. package/internal/utils/log.mjs +80 -0
  229. package/internal/utils/log.mjs.map +1 -0
  230. package/internal/utils/path.d.mts +15 -0
  231. package/internal/utils/path.d.mts.map +1 -0
  232. package/internal/utils/path.d.ts +15 -0
  233. package/internal/utils/path.d.ts.map +1 -0
  234. package/internal/utils/path.js +79 -0
  235. package/internal/utils/path.js.map +1 -0
  236. package/internal/utils/path.mjs +74 -0
  237. package/internal/utils/path.mjs.map +1 -0
  238. package/internal/utils/sleep.d.mts +2 -0
  239. package/internal/utils/sleep.d.mts.map +1 -0
  240. package/internal/utils/sleep.d.ts +2 -0
  241. package/internal/utils/sleep.d.ts.map +1 -0
  242. package/internal/utils/sleep.js +7 -0
  243. package/internal/utils/sleep.js.map +1 -0
  244. package/internal/utils/sleep.mjs +3 -0
  245. package/internal/utils/sleep.mjs.map +1 -0
  246. package/internal/utils/uuid.d.mts +5 -0
  247. package/internal/utils/uuid.d.mts.map +1 -0
  248. package/internal/utils/uuid.d.ts +5 -0
  249. package/internal/utils/uuid.d.ts.map +1 -0
  250. package/internal/utils/uuid.js +19 -0
  251. package/internal/utils/uuid.js.map +1 -0
  252. package/internal/utils/uuid.mjs +15 -0
  253. package/internal/utils/uuid.mjs.map +1 -0
  254. package/internal/utils/values.d.mts +18 -0
  255. package/internal/utils/values.d.mts.map +1 -0
  256. package/internal/utils/values.d.ts +18 -0
  257. package/internal/utils/values.d.ts.map +1 -0
  258. package/internal/utils/values.js +112 -0
  259. package/internal/utils/values.js.map +1 -0
  260. package/internal/utils/values.mjs +94 -0
  261. package/internal/utils/values.mjs.map +1 -0
  262. package/internal/utils.d.mts +7 -0
  263. package/internal/utils.d.mts.map +1 -0
  264. package/internal/utils.d.ts +7 -0
  265. package/internal/utils.d.ts.map +1 -0
  266. package/internal/utils.js +11 -0
  267. package/internal/utils.js.map +1 -0
  268. package/internal/utils.mjs +8 -0
  269. package/internal/utils.mjs.map +1 -0
  270. package/package.json +137 -0
  271. package/resource.d.mts +2 -0
  272. package/resource.d.mts.map +1 -0
  273. package/resource.d.ts +2 -0
  274. package/resource.d.ts.map +1 -0
  275. package/resource.js +6 -0
  276. package/resource.js.map +1 -0
  277. package/resource.mjs +2 -0
  278. package/resource.mjs.map +1 -0
  279. package/resources/files.d.mts +170 -0
  280. package/resources/files.d.mts.map +1 -0
  281. package/resources/files.d.ts +170 -0
  282. package/resources/files.d.ts.map +1 -0
  283. package/resources/files.js +39 -0
  284. package/resources/files.js.map +1 -0
  285. package/resources/files.mjs +35 -0
  286. package/resources/files.mjs.map +1 -0
  287. package/resources/icp.d.mts +162 -0
  288. package/resources/icp.d.mts.map +1 -0
  289. package/resources/icp.d.ts +162 -0
  290. package/resources/icp.d.ts.map +1 -0
  291. package/resources/icp.js +69 -0
  292. package/resources/icp.js.map +1 -0
  293. package/resources/icp.mjs +65 -0
  294. package/resources/icp.mjs.map +1 -0
  295. package/resources/index.d.mts +7 -0
  296. package/resources/index.d.mts.map +1 -0
  297. package/resources/index.d.ts +7 -0
  298. package/resources/index.d.ts.map +1 -0
  299. package/resources/index.js +17 -0
  300. package/resources/index.js.map +1 -0
  301. package/resources/index.mjs +8 -0
  302. package/resources/index.mjs.map +1 -0
  303. package/resources/run.d.mts +224 -0
  304. package/resources/run.d.mts.map +1 -0
  305. package/resources/run.d.ts +224 -0
  306. package/resources/run.d.ts.map +1 -0
  307. package/resources/run.js +107 -0
  308. package/resources/run.js.map +1 -0
  309. package/resources/run.mjs +103 -0
  310. package/resources/run.mjs.map +1 -0
  311. package/resources/sheet/entity.d.mts +52 -0
  312. package/resources/sheet/entity.d.mts.map +1 -0
  313. package/resources/sheet/entity.d.ts +52 -0
  314. package/resources/sheet/entity.d.ts.map +1 -0
  315. package/resources/sheet/entity.js +45 -0
  316. package/resources/sheet/entity.js.map +1 -0
  317. package/resources/sheet/entity.mjs +41 -0
  318. package/resources/sheet/entity.mjs.map +1 -0
  319. package/resources/sheet/index.d.mts +4 -0
  320. package/resources/sheet/index.d.mts.map +1 -0
  321. package/resources/sheet/index.d.ts +4 -0
  322. package/resources/sheet/index.d.ts.map +1 -0
  323. package/resources/sheet/index.js +11 -0
  324. package/resources/sheet/index.js.map +1 -0
  325. package/resources/sheet/index.mjs +5 -0
  326. package/resources/sheet/index.mjs.map +1 -0
  327. package/resources/sheet/schema.d.mts +207 -0
  328. package/resources/sheet/schema.d.mts.map +1 -0
  329. package/resources/sheet/schema.d.ts +207 -0
  330. package/resources/sheet/schema.d.ts.map +1 -0
  331. package/resources/sheet/schema.js +65 -0
  332. package/resources/sheet/schema.js.map +1 -0
  333. package/resources/sheet/schema.mjs +61 -0
  334. package/resources/sheet/schema.mjs.map +1 -0
  335. package/resources/sheet/sheet.d.mts +195 -0
  336. package/resources/sheet/sheet.d.mts.map +1 -0
  337. package/resources/sheet/sheet.d.ts +195 -0
  338. package/resources/sheet/sheet.d.ts.map +1 -0
  339. package/resources/sheet/sheet.js +90 -0
  340. package/resources/sheet/sheet.js.map +1 -0
  341. package/resources/sheet/sheet.mjs +85 -0
  342. package/resources/sheet/sheet.mjs.map +1 -0
  343. package/resources/sheet.d.mts +2 -0
  344. package/resources/sheet.d.mts.map +1 -0
  345. package/resources/sheet.d.ts +2 -0
  346. package/resources/sheet.d.ts.map +1 -0
  347. package/resources/sheet.js +6 -0
  348. package/resources/sheet.js.map +1 -0
  349. package/resources/sheet.mjs +3 -0
  350. package/resources/sheet.mjs.map +1 -0
  351. package/resources/signal.d.mts +79 -0
  352. package/resources/signal.d.mts.map +1 -0
  353. package/resources/signal.d.ts +79 -0
  354. package/resources/signal.d.ts.map +1 -0
  355. package/resources/signal.js +26 -0
  356. package/resources/signal.js.map +1 -0
  357. package/resources/signal.mjs +22 -0
  358. package/resources/signal.mjs.map +1 -0
  359. package/resources/task.d.mts +717 -0
  360. package/resources/task.d.mts.map +1 -0
  361. package/resources/task.d.ts +717 -0
  362. package/resources/task.d.ts.map +1 -0
  363. package/resources/task.js +108 -0
  364. package/resources/task.js.map +1 -0
  365. package/resources/task.mjs +104 -0
  366. package/resources/task.mjs.map +1 -0
  367. package/resources.d.mts +2 -0
  368. package/resources.d.mts.map +1 -0
  369. package/resources.d.ts +2 -0
  370. package/resources.d.ts.map +1 -0
  371. package/resources.js +5 -0
  372. package/resources.js.map +1 -0
  373. package/resources.mjs +2 -0
  374. package/resources.mjs.map +1 -0
  375. package/src/api-promise.ts +2 -0
  376. package/src/client.ts +877 -0
  377. package/src/core/README.md +3 -0
  378. package/src/core/api-promise.ts +92 -0
  379. package/src/core/error.ts +130 -0
  380. package/src/core/resource.ts +11 -0
  381. package/src/core/uploads.ts +2 -0
  382. package/src/error.ts +2 -0
  383. package/src/index.ts +22 -0
  384. package/src/internal/README.md +3 -0
  385. package/src/internal/builtin-types.ts +93 -0
  386. package/src/internal/detect-platform.ts +196 -0
  387. package/src/internal/errors.ts +33 -0
  388. package/src/internal/headers.ts +97 -0
  389. package/src/internal/parse.ts +50 -0
  390. package/src/internal/qs/LICENSE.md +13 -0
  391. package/src/internal/qs/README.md +3 -0
  392. package/src/internal/qs/formats.ts +10 -0
  393. package/src/internal/qs/index.ts +13 -0
  394. package/src/internal/qs/stringify.ts +385 -0
  395. package/src/internal/qs/types.ts +71 -0
  396. package/src/internal/qs/utils.ts +265 -0
  397. package/src/internal/request-options.ts +91 -0
  398. package/src/internal/shim-types.ts +26 -0
  399. package/src/internal/shims.ts +107 -0
  400. package/src/internal/to-file.ts +154 -0
  401. package/src/internal/types.ts +95 -0
  402. package/src/internal/uploads.ts +187 -0
  403. package/src/internal/utils/base64.ts +40 -0
  404. package/src/internal/utils/bytes.ts +32 -0
  405. package/src/internal/utils/env.ts +18 -0
  406. package/src/internal/utils/log.ts +127 -0
  407. package/src/internal/utils/path.ts +88 -0
  408. package/src/internal/utils/sleep.ts +3 -0
  409. package/src/internal/utils/uuid.ts +17 -0
  410. package/src/internal/utils/values.ts +105 -0
  411. package/src/internal/utils.ts +8 -0
  412. package/src/lib/.keep +4 -0
  413. package/src/resource.ts +2 -0
  414. package/src/resources/files.ts +219 -0
  415. package/src/resources/icp.ts +227 -0
  416. package/src/resources/index.ts +64 -0
  417. package/src/resources/run.ts +293 -0
  418. package/src/resources/sheet/entity.ts +97 -0
  419. package/src/resources/sheet/index.ts +30 -0
  420. package/src/resources/sheet/schema.ts +246 -0
  421. package/src/resources/sheet/sheet.ts +318 -0
  422. package/src/resources/sheet.ts +3 -0
  423. package/src/resources/signal.ts +117 -0
  424. package/src/resources/task.ts +912 -0
  425. package/src/resources.ts +1 -0
  426. package/src/tsconfig.json +11 -0
  427. package/src/uploads.ts +2 -0
  428. package/src/version.ts +1 -0
  429. package/uploads.d.mts +2 -0
  430. package/uploads.d.mts.map +1 -0
  431. package/uploads.d.ts +2 -0
  432. package/uploads.d.ts.map +1 -0
  433. package/uploads.js +6 -0
  434. package/uploads.js.map +1 -0
  435. package/uploads.mjs +2 -0
  436. package/uploads.mjs.map +1 -0
  437. package/version.d.mts +2 -0
  438. package/version.d.mts.map +1 -0
  439. package/version.d.ts +2 -0
  440. package/version.d.ts.map +1 -0
  441. package/version.js +5 -0
  442. package/version.js.map +1 -0
  443. package/version.mjs +2 -0
  444. package/version.mjs.map +1 -0
@@ -0,0 +1,717 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import * as TaskAPI from "./task.mjs";
3
+ import * as SheetAPI from "./sheet/sheet.mjs";
4
+ import { APIPromise } from "../core/api-promise.mjs";
5
+ import { RequestOptions } from "../internal/request-options.mjs";
6
+ export declare class Task extends APIResource {
7
+ /**
8
+ * Create a new task template.
9
+ *
10
+ * Tasks define reusable workflow configurations that reference Prefect
11
+ * deployments. Execute a task to create runs.
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * const task = await client.task.create({
16
+ * deployment_name: 'deployment_name',
17
+ * description: 'description',
18
+ * flow_name: 'flow_name',
19
+ * name: 'x',
20
+ * });
21
+ * ```
22
+ */
23
+ create(body: TaskCreateParams, options?: RequestOptions): APIPromise<TaskCreateResponse>;
24
+ /**
25
+ * Get a specific task by ID.
26
+ *
27
+ * @example
28
+ * ```ts
29
+ * const task = await client.task.retrieve(
30
+ * '5eb7cf5a86d9755df3a6c593',
31
+ * );
32
+ * ```
33
+ */
34
+ retrieve(taskID: string, options?: RequestOptions): APIPromise<TaskRetrieveResponse>;
35
+ /**
36
+ * Update an existing task.
37
+ *
38
+ * Only provided fields will be updated; omitted fields remain unchanged. The
39
+ * flow_name cannot be changed after creation.
40
+ *
41
+ * @example
42
+ * ```ts
43
+ * await client.task.update('5eb7cf5a86d9755df3a6c593');
44
+ * ```
45
+ */
46
+ update(taskID: string, body: TaskUpdateParams, options?: RequestOptions): APIPromise<void>;
47
+ /**
48
+ * List all tasks for the organization.
49
+ *
50
+ * Tasks are reusable workflow templates. Filter by flow_name to see specific
51
+ * workflow types (search, ingest, signal).
52
+ *
53
+ * @example
54
+ * ```ts
55
+ * const tasks = await client.task.list();
56
+ * ```
57
+ */
58
+ list(query?: TaskListParams | null | undefined, options?: RequestOptions): APIPromise<TaskListResponse>;
59
+ /**
60
+ * Delete a task.
61
+ *
62
+ * A task cannot be deleted if it has active (non-terminal) runs. This operation
63
+ * cannot be undone.
64
+ *
65
+ * @example
66
+ * ```ts
67
+ * await client.task.delete('5eb7cf5a86d9755df3a6c593');
68
+ * ```
69
+ */
70
+ delete(taskID: string, options?: RequestOptions): APIPromise<void>;
71
+ /**
72
+ * Execute a task by creating a new run.
73
+ *
74
+ * Creates a new workflow execution asynchronously and returns tracking information
75
+ * immediately. Monitor the run status using the returned run_id.
76
+ *
77
+ * @example
78
+ * ```ts
79
+ * const response = await client.task.execute(
80
+ * '5eb7cf5a86d9755df3a6c593',
81
+ * );
82
+ * ```
83
+ */
84
+ execute(taskID: string, body: TaskExecuteParams, options?: RequestOptions): APIPromise<TaskExecuteResponse>;
85
+ }
86
+ /**
87
+ * Configuration for one-time CSV enrichment tasks.
88
+ *
89
+ * Used by ingest_csv workflows to enrich entities from uploaded CSV files. The
90
+ * csv_entity_type tracks the entity type of rows IN THE CSV, which may differ from
91
+ * the ICP hierarchy (e.g., CSV has people, but ICP has company→person).
92
+ *
93
+ * Attributes: file_id: Reference to uploaded CSV file in S3 (via File document)
94
+ * primary_column: Column containing entity names for matching csv_entity_type:
95
+ * Entity type of rows in CSV (may differ from ICP hierarchy)
96
+ */
97
+ export interface IngestTaskConfig {
98
+ /**
99
+ * Entity type in the CSV (e.g., 'person', 'company')
100
+ */
101
+ csv_entity_type: string;
102
+ /**
103
+ * File ID referencing uploaded CSV in MongoDB
104
+ */
105
+ file_id: string;
106
+ /**
107
+ * Column containing entity names
108
+ */
109
+ primary_column: string;
110
+ /**
111
+ * Config type for ingest tasks
112
+ */
113
+ config_type?: 'ingest-task';
114
+ version?: 'v1.0';
115
+ /**
116
+ * Optional webhook URL to notify when workflow run completes
117
+ */
118
+ webhook_url?: string | null;
119
+ }
120
+ /**
121
+ * Search v2 dual-agent configuration.
122
+ */
123
+ export interface SearchV2Config {
124
+ /**
125
+ * Jinja2 analyst agent instructions
126
+ */
127
+ analyst_prompt: string;
128
+ /**
129
+ * Jinja2 discovery agent instructions
130
+ */
131
+ discovery_prompt: string;
132
+ /**
133
+ * Config type (search-prompt for legacy, search-task for normalized)
134
+ */
135
+ config_type?: 'search-prompt' | 'search-task';
136
+ version?: 'v2.0';
137
+ /**
138
+ * Optional webhook URL to notify when workflow run completes
139
+ */
140
+ webhook_url?: string | null;
141
+ }
142
+ /**
143
+ * Search v3.0 configuration with planning-driven approach.
144
+ *
145
+ * Key differences from v2.0:
146
+ *
147
+ * - No hardcoded discovery_prompt or analyst_prompt
148
+ * - desired_contact_count extracted from ICP builder session
149
+ * - user_feedback field for append-only feedback accumulation
150
+ */
151
+ export interface SearchV3Config {
152
+ /**
153
+ * Normalized config type for all search tasks
154
+ */
155
+ config_type?: 'search-task';
156
+ /**
157
+ * Number of contacts to find per company (from ICP builder session)
158
+ */
159
+ desired_contact_count?: number;
160
+ /**
161
+ * Accumulated user feedback (append-only)
162
+ */
163
+ user_feedback?: string;
164
+ version?: 'v3.0';
165
+ /**
166
+ * Optional webhook URL to notify when workflow run completes
167
+ */
168
+ webhook_url?: string | null;
169
+ }
170
+ /**
171
+ * CSV-based signal monitoring configuration.
172
+ *
173
+ * Monitors signals for companies/people uploaded via CSV file.
174
+ *
175
+ * Attributes: version: Config version (always "v2.0") config_type: Config type
176
+ * discriminator (always "signal-csv") entity_type: Type of entity being monitored
177
+ * (company, person, etc.) file_id: ID of the uploaded CSV file primary_column:
178
+ * Column containing entity names (defaults to "name") signal_types: Types of
179
+ * signals to monitor for these entities monitoring_frequency: How often to check
180
+ * for signals (daily/weekly/monthly) webhook_url: Optional webhook URL to notify
181
+ * when signal run completes
182
+ */
183
+ export interface SignalCsvConfigInput {
184
+ /**
185
+ * ID of the uploaded CSV file
186
+ */
187
+ file_id: string;
188
+ /**
189
+ * Types of signals to monitor for these entities
190
+ */
191
+ signal_types: Array<SignalTypeConfig>;
192
+ /**
193
+ * Config type discriminator
194
+ */
195
+ config_type?: 'signal-csv';
196
+ /**
197
+ * Type of entity being monitored (company, school district, person, etc.)
198
+ */
199
+ entity_type?: SheetAPI.EntityType;
200
+ /**
201
+ * How often to check for new signals (daily, weekly, monthly)
202
+ */
203
+ monitoring_frequency?: 'daily' | 'weekly' | 'monthly';
204
+ /**
205
+ * Column containing entity names. Defaults to 'name'. Used to extract entity names
206
+ * from CSV rows during signal workflow.
207
+ */
208
+ primary_column?: string;
209
+ /**
210
+ * Config version
211
+ */
212
+ version?: 'v2.0';
213
+ /**
214
+ * Optional webhook URL to notify when signal run completes
215
+ */
216
+ webhook_url?: string | null;
217
+ }
218
+ /**
219
+ * Sheet-based signal monitoring configuration.
220
+ *
221
+ * Monitors signals for entities from an existing discovery ICP's sheet. Unlike CSV
222
+ * mode, signals are deterministically linked to source entities without requiring
223
+ * analyst agent processing.
224
+ *
225
+ * UPDATED 2025-12-29: Removed source_sheet_id field. Sheets are uniquely
226
+ * identified by (source_icp_id, entity_type), so source_sheet_id was redundant and
227
+ * never used at runtime.
228
+ *
229
+ * Attributes: source_icp_id: ID of the discovery ICP containing entities to
230
+ * monitor entity_type: Type of entity being monitored (selects which sheet)
231
+ * entity_filters: Optional MongoDB query to filter entities signal_types: Types of
232
+ * signals to monitor monitoring_frequency: How often to check for signals
233
+ * webhook_url: Optional webhook URL to notify when signal run completes
234
+ */
235
+ export interface SignalSheetConfigInput {
236
+ /**
237
+ * Types of signals to monitor
238
+ */
239
+ signal_types: Array<SignalTypeConfig>;
240
+ /**
241
+ * ID of the discovery ICP containing entities to monitor
242
+ */
243
+ source_icp_id: string;
244
+ /**
245
+ * Config type discriminator
246
+ */
247
+ config_type?: 'signal-sheet';
248
+ /**
249
+ * Optional MongoDB query to filter entities within the sheet
250
+ */
251
+ entity_filters?: {
252
+ [key: string]: unknown;
253
+ } | null;
254
+ /**
255
+ * Type of entity being monitored (company, person, school_district, etc.)
256
+ */
257
+ entity_type?: SheetAPI.EntityType;
258
+ /**
259
+ * How often to check for new signals
260
+ */
261
+ monitoring_frequency?: 'daily' | 'weekly' | 'monthly';
262
+ /**
263
+ * Config version
264
+ */
265
+ version?: 'v2.0';
266
+ /**
267
+ * Optional webhook URL to notify when signal run completes
268
+ */
269
+ webhook_url?: string | null;
270
+ }
271
+ /**
272
+ * Topic-based signal monitoring configuration.
273
+ *
274
+ * Monitors signals based on criteria without requiring pre-existing entities.
275
+ *
276
+ * Attributes: version: Config version (always "v2.0") config_type: Config type
277
+ * discriminator (always "signal-topic") entity_type: Type of entity being
278
+ * monitored (company, person, etc.) topic_criteria: Natural language description
279
+ * of what to monitor signal_types: Types of signals to monitor for this topic
280
+ * monitoring_frequency: How often to check for signals (daily/weekly/monthly)
281
+ * geographic_filters: Optional geographic regions to focus on industry_filters:
282
+ * Optional industries to focus on company_size_filters: Optional company size
283
+ * criteria webhook_url: Optional webhook URL to notify when signal run completes
284
+ */
285
+ export interface SignalTopicConfigInput {
286
+ /**
287
+ * Types of signals to monitor for this topic
288
+ */
289
+ signal_types: Array<SignalTypeConfig>;
290
+ /**
291
+ * Natural language description of what to monitor
292
+ */
293
+ topic_criteria: string;
294
+ /**
295
+ * Company size criteria (e.g., employee count ranges)
296
+ */
297
+ company_size_filters?: Array<string> | null;
298
+ /**
299
+ * Config type discriminator
300
+ */
301
+ config_type?: 'signal-topic';
302
+ /**
303
+ * Type of entity being monitored (company, school district, person, etc.)
304
+ */
305
+ entity_type?: SheetAPI.EntityType;
306
+ /**
307
+ * Geographic regions to focus on
308
+ */
309
+ geographic_filters?: Array<string> | null;
310
+ /**
311
+ * Industries to focus on
312
+ */
313
+ industry_filters?: Array<string> | null;
314
+ /**
315
+ * How often to check for new signals (daily, weekly, monthly)
316
+ */
317
+ monitoring_frequency?: 'daily' | 'weekly' | 'monthly';
318
+ /**
319
+ * Config version
320
+ */
321
+ version?: 'v2.0';
322
+ /**
323
+ * Optional webhook URL to notify when signal run completes
324
+ */
325
+ webhook_url?: string | null;
326
+ }
327
+ /**
328
+ * Configuration for a single signal type to monitor.
329
+ *
330
+ * Allows both standard signal types and custom types using OTHER.
331
+ */
332
+ export interface SignalTypeConfig {
333
+ /**
334
+ * Detailed description of what to monitor
335
+ */
336
+ description: string;
337
+ /**
338
+ * Display name for this signal type
339
+ */
340
+ display: string;
341
+ /**
342
+ * Signal type to monitor (use OTHER for custom types)
343
+ */
344
+ type: 'funding' | 'leadership_change' | 'layoff' | 'product_launch' | 'partnership' | 'acquisition' | 'expansion' | 'award' | 'pivot' | 'regulatory' | 'rfp' | 'contract_renewal' | 'hiring_surge' | 'infrastructure' | 'compliance' | 'job_posting' | 'other';
345
+ }
346
+ /**
347
+ * Standard single-prompt configuration for most flows. Used by: ingest, profile,
348
+ * signal, and future single-prompt flows.
349
+ *
350
+ * NOTE: config_type should match flow_name (e.g., 'profile-prompt',
351
+ * 'ingest-prompt'). This is enforced by Task model validator.
352
+ */
353
+ export interface StandardPromptConfig {
354
+ /**
355
+ * Config type (e.g., 'profile-prompt', 'ingest-prompt')
356
+ */
357
+ config_type: string;
358
+ /**
359
+ * Jinja2 template for task instructions
360
+ */
361
+ prompt: string;
362
+ version?: 'v1.0';
363
+ /**
364
+ * Optional webhook URL to notify when workflow run completes
365
+ */
366
+ webhook_url?: string | null;
367
+ }
368
+ export type TaskCreateResponse = {
369
+ [key: string]: unknown;
370
+ };
371
+ export type TaskRetrieveResponse = {
372
+ [key: string]: unknown;
373
+ };
374
+ /**
375
+ * Response model for paginated task list.
376
+ */
377
+ export interface TaskListResponse {
378
+ /**
379
+ * Current page number (1-based)
380
+ */
381
+ page: number;
382
+ /**
383
+ * Number of items per page
384
+ */
385
+ page_size: number;
386
+ /**
387
+ * List of tasks
388
+ */
389
+ tasks: Array<TaskListResponse.Task>;
390
+ /**
391
+ * Total number of tasks matching filters
392
+ */
393
+ total: number;
394
+ }
395
+ export declare namespace TaskListResponse {
396
+ /**
397
+ * Response model for task data.
398
+ */
399
+ interface Task {
400
+ /**
401
+ * Task ID
402
+ */
403
+ id: string;
404
+ /**
405
+ * Creation timestamp
406
+ */
407
+ created_at: string;
408
+ /**
409
+ * Prefect deployment name
410
+ */
411
+ deployment_name: string;
412
+ /**
413
+ * Task description
414
+ */
415
+ description: string;
416
+ /**
417
+ * Prefect flow name
418
+ */
419
+ flow_name: string;
420
+ /**
421
+ * Task name
422
+ */
423
+ name: string;
424
+ /**
425
+ * Last update timestamp
426
+ */
427
+ updated_at: string;
428
+ /**
429
+ * Task ICP ID
430
+ */
431
+ icp_id?: string | null;
432
+ /**
433
+ * Template prompt for the task. Can include placeholders for runtime parameters.
434
+ */
435
+ prompt?: string | null;
436
+ /**
437
+ * Flow-specific task configuration with versioning
438
+ */
439
+ task_config?: {
440
+ [key: string]: unknown;
441
+ } | TaskAPI.StandardPromptConfig | TaskAPI.SearchV2Config | TaskAPI.SearchV3Config | TaskAPI.IngestTaskConfig | Task.SignalTopicConfigOutput | Task.SignalCsvConfigOutput | Task.SignalSheetConfigOutput | null;
442
+ }
443
+ namespace Task {
444
+ /**
445
+ * Topic-based signal monitoring configuration.
446
+ *
447
+ * Monitors signals based on criteria without requiring pre-existing entities.
448
+ *
449
+ * Attributes: version: Config version (always "v2.0") config_type: Config type
450
+ * discriminator (always "signal-topic") entity_type: Type of entity being
451
+ * monitored (company, person, etc.) topic_criteria: Natural language description
452
+ * of what to monitor signal_types: Types of signals to monitor for this topic
453
+ * monitoring_frequency: How often to check for signals (daily/weekly/monthly)
454
+ * geographic_filters: Optional geographic regions to focus on industry_filters:
455
+ * Optional industries to focus on company_size_filters: Optional company size
456
+ * criteria webhook_url: Optional webhook URL to notify when signal run completes
457
+ */
458
+ interface SignalTopicConfigOutput {
459
+ /**
460
+ * Types of signals to monitor for this topic
461
+ */
462
+ signal_types: Array<TaskAPI.SignalTypeConfig>;
463
+ /**
464
+ * Natural language description of what to monitor
465
+ */
466
+ topic_criteria: string;
467
+ /**
468
+ * Company size criteria (e.g., employee count ranges)
469
+ */
470
+ company_size_filters?: Array<string> | null;
471
+ /**
472
+ * Config type discriminator
473
+ */
474
+ config_type?: 'signal-topic';
475
+ /**
476
+ * Type of entity being monitored (company, school district, person, etc.)
477
+ */
478
+ entity_type?: SheetAPI.EntityType;
479
+ /**
480
+ * Geographic regions to focus on
481
+ */
482
+ geographic_filters?: Array<string> | null;
483
+ /**
484
+ * Industries to focus on
485
+ */
486
+ industry_filters?: Array<string> | null;
487
+ /**
488
+ * How often to check for new signals (daily, weekly, monthly)
489
+ */
490
+ monitoring_frequency?: 'daily' | 'weekly' | 'monthly';
491
+ /**
492
+ * Config version
493
+ */
494
+ version?: 'v2.0';
495
+ /**
496
+ * Optional webhook URL to notify when signal run completes
497
+ */
498
+ webhook_url?: string | null;
499
+ }
500
+ /**
501
+ * CSV-based signal monitoring configuration.
502
+ *
503
+ * Monitors signals for companies/people uploaded via CSV file.
504
+ *
505
+ * Attributes: version: Config version (always "v2.0") config_type: Config type
506
+ * discriminator (always "signal-csv") entity_type: Type of entity being monitored
507
+ * (company, person, etc.) file_id: ID of the uploaded CSV file primary_column:
508
+ * Column containing entity names (defaults to "name") signal_types: Types of
509
+ * signals to monitor for these entities monitoring_frequency: How often to check
510
+ * for signals (daily/weekly/monthly) webhook_url: Optional webhook URL to notify
511
+ * when signal run completes
512
+ */
513
+ interface SignalCsvConfigOutput {
514
+ /**
515
+ * ID of the uploaded CSV file
516
+ */
517
+ file_id: string;
518
+ /**
519
+ * Types of signals to monitor for these entities
520
+ */
521
+ signal_types: Array<TaskAPI.SignalTypeConfig>;
522
+ /**
523
+ * Config type discriminator
524
+ */
525
+ config_type?: 'signal-csv';
526
+ /**
527
+ * Type of entity being monitored (company, school district, person, etc.)
528
+ */
529
+ entity_type?: SheetAPI.EntityType;
530
+ /**
531
+ * How often to check for new signals (daily, weekly, monthly)
532
+ */
533
+ monitoring_frequency?: 'daily' | 'weekly' | 'monthly';
534
+ /**
535
+ * Column containing entity names. Defaults to 'name'. Used to extract entity names
536
+ * from CSV rows during signal workflow.
537
+ */
538
+ primary_column?: string;
539
+ /**
540
+ * Config version
541
+ */
542
+ version?: 'v2.0';
543
+ /**
544
+ * Optional webhook URL to notify when signal run completes
545
+ */
546
+ webhook_url?: string | null;
547
+ }
548
+ /**
549
+ * Sheet-based signal monitoring configuration.
550
+ *
551
+ * Monitors signals for entities from an existing discovery ICP's sheet. Unlike CSV
552
+ * mode, signals are deterministically linked to source entities without requiring
553
+ * analyst agent processing.
554
+ *
555
+ * UPDATED 2025-12-29: Removed source_sheet_id field. Sheets are uniquely
556
+ * identified by (source_icp_id, entity_type), so source_sheet_id was redundant and
557
+ * never used at runtime.
558
+ *
559
+ * Attributes: source_icp_id: ID of the discovery ICP containing entities to
560
+ * monitor entity_type: Type of entity being monitored (selects which sheet)
561
+ * entity_filters: Optional MongoDB query to filter entities signal_types: Types of
562
+ * signals to monitor monitoring_frequency: How often to check for signals
563
+ * webhook_url: Optional webhook URL to notify when signal run completes
564
+ */
565
+ interface SignalSheetConfigOutput {
566
+ /**
567
+ * Types of signals to monitor
568
+ */
569
+ signal_types: Array<TaskAPI.SignalTypeConfig>;
570
+ /**
571
+ * ID of the discovery ICP containing entities to monitor
572
+ */
573
+ source_icp_id: string;
574
+ /**
575
+ * Config type discriminator
576
+ */
577
+ config_type?: 'signal-sheet';
578
+ /**
579
+ * Optional MongoDB query to filter entities within the sheet
580
+ */
581
+ entity_filters?: {
582
+ [key: string]: unknown;
583
+ } | null;
584
+ /**
585
+ * Type of entity being monitored (company, person, school_district, etc.)
586
+ */
587
+ entity_type?: SheetAPI.EntityType;
588
+ /**
589
+ * How often to check for new signals
590
+ */
591
+ monitoring_frequency?: 'daily' | 'weekly' | 'monthly';
592
+ /**
593
+ * Config version
594
+ */
595
+ version?: 'v2.0';
596
+ /**
597
+ * Optional webhook URL to notify when signal run completes
598
+ */
599
+ webhook_url?: string | null;
600
+ }
601
+ }
602
+ }
603
+ /**
604
+ * Response model for task execution.
605
+ */
606
+ export interface TaskExecuteResponse {
607
+ /**
608
+ * The Prefect flow run ID
609
+ */
610
+ flow_run_id: string;
611
+ /**
612
+ * The ID of the created run
613
+ */
614
+ run_id: string;
615
+ /**
616
+ * Initial status of the run
617
+ */
618
+ status: string;
619
+ }
620
+ export interface TaskCreateParams {
621
+ /**
622
+ * The Prefect deployment name for this flow
623
+ */
624
+ deployment_name: string;
625
+ /**
626
+ * Detailed description of what this task accomplishes
627
+ */
628
+ description: string;
629
+ /**
630
+ * The Prefect flow name (e.g., 'search', 'ingest', 'signal')
631
+ */
632
+ flow_name: string;
633
+ /**
634
+ * Human-readable name for the task
635
+ */
636
+ name: string;
637
+ /**
638
+ * Optional ICP ID for signal monitoring tasks
639
+ */
640
+ icp_id?: string | null;
641
+ /**
642
+ * Template prompt for the task. Can include placeholders for runtime parameters.
643
+ */
644
+ prompt?: string | null;
645
+ /**
646
+ * Flow-specific task configuration with versioning
647
+ */
648
+ task_config?: {
649
+ [key: string]: unknown;
650
+ } | StandardPromptConfig | SearchV2Config | SearchV3Config | IngestTaskConfig | SignalTopicConfigInput | SignalCsvConfigInput | SignalSheetConfigInput | null;
651
+ }
652
+ export interface TaskUpdateParams {
653
+ /**
654
+ * Updated deployment name
655
+ */
656
+ deployment_name?: string | null;
657
+ /**
658
+ * Updated task description
659
+ */
660
+ description?: string | null;
661
+ /**
662
+ * Updated ICP Connection
663
+ */
664
+ icp_id?: string | null;
665
+ /**
666
+ * Updated task name
667
+ */
668
+ name?: string | null;
669
+ /**
670
+ * Updated task prompt template
671
+ */
672
+ prompt?: string | null;
673
+ /**
674
+ * Updated flow-specific task configuration with versioning
675
+ */
676
+ task_config?: {
677
+ [key: string]: unknown;
678
+ } | StandardPromptConfig | SearchV2Config | SearchV3Config | IngestTaskConfig | SignalTopicConfigInput | SignalCsvConfigInput | SignalSheetConfigInput | null;
679
+ }
680
+ export interface TaskListParams {
681
+ /**
682
+ * Filter by flow name
683
+ */
684
+ flow_name?: string | null;
685
+ /**
686
+ * Sort order: -1 for descending, 1 for ascending
687
+ */
688
+ order?: number | null;
689
+ /**
690
+ * Page number (1-based)
691
+ */
692
+ page?: number;
693
+ /**
694
+ * Items per page (max 100)
695
+ */
696
+ page_size?: number;
697
+ /**
698
+ * Field to sort by (e.g., 'created_at', 'updated_at', 'name')
699
+ */
700
+ sort_by?: string | null;
701
+ }
702
+ export interface TaskExecuteParams {
703
+ /**
704
+ * Optional ICP ID to attach to this run for workflows that require ICP context
705
+ */
706
+ icp_id?: string | null;
707
+ /**
708
+ * Runtime parameters to pass to the task execution
709
+ */
710
+ parameters?: {
711
+ [key: string]: unknown;
712
+ };
713
+ }
714
+ export declare namespace Task {
715
+ export { type IngestTaskConfig as IngestTaskConfig, type SearchV2Config as SearchV2Config, type SearchV3Config as SearchV3Config, type SignalCsvConfigInput as SignalCsvConfigInput, type SignalSheetConfigInput as SignalSheetConfigInput, type SignalTopicConfigInput as SignalTopicConfigInput, type SignalTypeConfig as SignalTypeConfig, type StandardPromptConfig as StandardPromptConfig, type TaskCreateResponse as TaskCreateResponse, type TaskRetrieveResponse as TaskRetrieveResponse, type TaskListResponse as TaskListResponse, type TaskExecuteResponse as TaskExecuteResponse, type TaskCreateParams as TaskCreateParams, type TaskUpdateParams as TaskUpdateParams, type TaskListParams as TaskListParams, type TaskExecuteParams as TaskExecuteParams, };
716
+ }
717
+ //# sourceMappingURL=task.d.mts.map