@hatchet-dev/typescript-sdk 1.15.0 → 1.15.1

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 (584) hide show
  1. package/{src/clients → clients}/admin/admin-client.d.ts +9 -9
  2. package/{src/clients → clients}/admin/admin-client.js +6 -6
  3. package/{src/clients → clients}/dispatcher/action-listener.d.ts +4 -4
  4. package/{src/clients → clients}/dispatcher/action-listener.js +3 -3
  5. package/{src/clients → clients}/dispatcher/dispatcher-client.d.ts +9 -9
  6. package/{src/clients → clients}/dispatcher/dispatcher-client.js +5 -5
  7. package/{src/clients → clients}/dispatcher/heartbeat/heartbeat-controller.d.ts +2 -2
  8. package/{src/clients → clients}/dispatcher/heartbeat/heartbeat-controller.js +1 -1
  9. package/{src/clients → clients}/dispatcher/heartbeat/heartbeat-worker.js +3 -3
  10. package/{src/clients → clients}/event/event-client.d.ts +7 -7
  11. package/{src/clients → clients}/event/event-client.js +4 -4
  12. package/{src/clients → clients}/hatchet-client/client-config.d.ts +2 -2
  13. package/{src/clients → clients}/hatchet-client/hatchet-logger.d.ts +1 -1
  14. package/{src/clients → clients}/hatchet-client/hatchet-logger.js +1 -1
  15. package/clients/hatchet-client/index.d.ts +3 -0
  16. package/{src/clients → clients}/hatchet-client/index.js +1 -1
  17. package/{src/clients → clients}/listeners/durable-listener/durable-listener-client.d.ts +6 -6
  18. package/{src/clients → clients}/listeners/durable-listener/durable-listener-client.js +1 -1
  19. package/{src/clients → clients}/listeners/durable-listener/pooled-durable-listener-client.d.ts +2 -2
  20. package/{src/clients → clients}/listeners/durable-listener/pooled-durable-listener-client.js +2 -2
  21. package/{src/clients → clients}/listeners/run-listener/child-listener-client.d.ts +3 -3
  22. package/{src/clients → clients}/listeners/run-listener/child-listener-client.js +3 -3
  23. package/{src/clients → clients}/listeners/run-listener/pooled-child-listener-client.d.ts +1 -1
  24. package/{src/clients → clients}/listeners/run-listener/pooled-child-listener-client.js +3 -3
  25. package/{src/index.d.ts → index.d.ts} +1 -1
  26. package/{src/index.js → index.js} +1 -1
  27. package/{src/legacy → legacy}/examples/affinity-workers.js +1 -1
  28. package/{src/v1/examples/logger → legacy/examples}/byo-logger.js +1 -1
  29. package/{src/legacy → legacy}/legacy-client.d.ts +9 -9
  30. package/{src/legacy → legacy}/legacy-client.js +10 -10
  31. package/{src/legacy → legacy}/legacy-transformer.d.ts +2 -2
  32. package/{src/legacy → legacy}/legacy-transformer.js +1 -1
  33. package/{src/legacy → legacy}/step.js +1 -1
  34. package/package.json +1 -1
  35. package/sdk.d.ts +2 -0
  36. package/{src/sdk.js → sdk.js} +1 -1
  37. package/{src/util → util}/config-loader/config-loader.d.ts +1 -1
  38. package/{src/util → util}/config-loader/config-loader.js +1 -1
  39. package/{src/util → util}/grpc-helpers.d.ts +1 -1
  40. package/{src/util → util}/logger/logger.d.ts +1 -1
  41. package/{src/util → util}/workflow-run-ref.d.ts +2 -2
  42. package/{src/v1 → v1}/client/admin.d.ts +9 -9
  43. package/{src/v1 → v1}/client/admin.js +9 -9
  44. package/{src/v1 → v1}/client/client.d.ts +8 -8
  45. package/{src/v1 → v1}/client/client.interface.d.ts +3 -3
  46. package/{src/v1 → v1}/client/client.js +9 -9
  47. package/{src/v1 → v1}/client/features/cel.d.ts +1 -1
  48. package/{src/v1 → v1}/client/features/cel.js +1 -1
  49. package/{src/v1 → v1}/client/features/crons.d.ts +3 -3
  50. package/{src/v1 → v1}/client/features/crons.js +2 -2
  51. package/{src/v1 → v1}/client/features/ratelimits.d.ts +3 -3
  52. package/{src/v1 → v1}/client/features/ratelimits.js +2 -2
  53. package/{src/v1 → v1}/client/features/runs.d.ts +7 -7
  54. package/{src/v1 → v1}/client/features/runs.js +2 -2
  55. package/{src/v1 → v1}/client/features/schedules.d.ts +3 -3
  56. package/{src/v1 → v1}/client/features/schedules.js +2 -2
  57. package/{src/v1 → v1}/client/features/tenant.d.ts +1 -1
  58. package/{src/v1 → v1}/client/features/webhooks.d.ts +1 -1
  59. package/{src/v1 → v1}/client/features/webhooks.js +1 -1
  60. package/{src/v1 → v1}/client/features/workflows.d.ts +2 -2
  61. package/{src/v1 → v1}/client/features/workflows.js +2 -2
  62. package/{src/v1 → v1}/client/worker/context.d.ts +10 -10
  63. package/{src/v1 → v1}/client/worker/context.js +8 -8
  64. package/{src/v1 → v1}/client/worker/deprecated/deprecation.d.ts +1 -1
  65. package/{src/v1 → v1}/client/worker/deprecated/legacy-registration.d.ts +2 -2
  66. package/{src/v1 → v1}/client/worker/deprecated/legacy-registration.js +2 -2
  67. package/{src/v1 → v1}/client/worker/deprecated/legacy-v1-worker.d.ts +2 -2
  68. package/{src/v1 → v1}/client/worker/health-server.d.ts +1 -1
  69. package/{src/v1 → v1}/client/worker/worker-internal.d.ts +8 -8
  70. package/{src/v1 → v1}/client/worker/worker-internal.js +10 -10
  71. package/{src/v1 → v1}/client/worker/worker.d.ts +1 -1
  72. package/{src/v1 → v1}/client/worker/worker.js +1 -1
  73. package/{src/v1 → v1}/conditions/transformer.d.ts +1 -1
  74. package/{src/v1 → v1}/declaration.d.ts +4 -4
  75. package/{src/v1 → v1}/declaration.js +1 -1
  76. package/{src/v1 → v1}/examples/__e2e__/harness.d.ts +2 -2
  77. package/{src/v1 → v1}/examples/__e2e__/harness.js +2 -2
  78. package/{src/v1 → v1}/examples/affinity/affinity-workers.js +1 -1
  79. package/{src/v1 → v1}/examples/cancellation/cancellation-workflow.js +1 -1
  80. package/{src/v1 → v1}/examples/cancellation/run.js +1 -1
  81. package/{src/v1 → v1}/examples/cancellations/run.js +1 -1
  82. package/{src/v1 → v1}/examples/cancellations/workflow.js +1 -1
  83. package/{src/v1 → v1}/examples/concurrency-rr/workflow.js +1 -1
  84. package/{src/v1 → v1}/examples/concurrency_cancel_in_progress/workflow.d.ts +1 -1
  85. package/{src/v1 → v1}/examples/concurrency_cancel_in_progress/workflow.js +2 -2
  86. package/{src/v1 → v1}/examples/concurrency_cancel_newest/workflow.d.ts +1 -1
  87. package/{src/v1 → v1}/examples/concurrency_cancel_newest/workflow.js +2 -2
  88. package/v1/examples/concurrency_limit_rr/workflow.d.ts +12 -0
  89. package/{src/v1 → v1}/examples/concurrency_limit_rr/workflow.js +1 -1
  90. package/{src/v1 → v1}/examples/concurrency_multiple_keys/workflow.d.ts +1 -1
  91. package/{src/v1 → v1}/examples/concurrency_multiple_keys/workflow.js +1 -1
  92. package/{src/v1 → v1}/examples/concurrency_workflow_level/workflow.d.ts +1 -1
  93. package/{src/v1 → v1}/examples/concurrency_workflow_level/workflow.js +1 -1
  94. package/{src/v1 → v1}/examples/conditions/complex-workflow.js +2 -2
  95. package/{src/v1 → v1}/examples/conditions/workflow.js +2 -2
  96. package/{src/v1 → v1}/examples/dag/interface-workflow.d.ts +2 -2
  97. package/{src/v1 → v1}/examples/dag_match_condition/complex-workflow.js +2 -2
  98. package/{src/v1 → v1}/examples/dag_match_condition/workflow.js +2 -2
  99. package/{src/v1 → v1}/examples/deep/workflow.js +1 -1
  100. package/{src/v1 → v1}/examples/durable/workflow.js +1 -1
  101. package/{src/v1/examples/durable_event → v1/examples/durable-event}/workflow.js +1 -1
  102. package/{src/v1 → v1}/examples/durable-sleep/workflow.js +1 -1
  103. package/{src/v1/examples/durable-event → v1/examples/durable_event}/workflow.js +1 -1
  104. package/{src/v1 → v1}/examples/durable_sleep/workflow.js +1 -1
  105. package/{src/v1 → v1}/examples/hatchet-client.d.ts +1 -1
  106. package/{src/v1 → v1}/examples/hatchet-client.js +1 -1
  107. package/{src/v1 → v1}/examples/landing_page/durable-excution.js +1 -1
  108. package/{src/v1 → v1}/examples/landing_page/flow-control.js +1 -1
  109. package/v1/examples/legacy/workflow.d.ts +2 -0
  110. package/v1/examples/logger/workflow.d.ts +2 -0
  111. package/{src/v1 → v1}/examples/logging/byo-logger.js +1 -1
  112. package/{src/v1 → v1}/examples/middleware/client.d.ts +1 -1
  113. package/{src/v1 → v1}/examples/middleware/client.js +1 -1
  114. package/{src/v1 → v1}/examples/middleware/recipes.js +1 -1
  115. package/{src/v1 → v1}/examples/migration-guides/hatchet-client.d.ts +1 -1
  116. package/{src/v1 → v1}/examples/migration-guides/hatchet-client.js +1 -1
  117. package/{src/v1 → v1}/examples/multiple_wf_concurrency/workflow.d.ts +1 -1
  118. package/{src/v1 → v1}/examples/multiple_wf_concurrency/workflow.js +1 -1
  119. package/{src/v1 → v1}/examples/non_retryable/workflow.js +1 -1
  120. package/{src/v1 → v1}/examples/priority/run.js +1 -1
  121. package/v1/examples/priority/workflow.d.ts +8 -0
  122. package/{src/v1 → v1}/examples/priority/workflow.js +1 -1
  123. package/{src/v1 → v1}/examples/quickstart/hatchet-client.d.ts +1 -1
  124. package/{src/v1 → v1}/examples/quickstart/hatchet-client.js +1 -1
  125. package/{src/v1 → v1}/examples/rate_limit/workflow.js +1 -1
  126. package/{src/v1 → v1}/examples/run_details/workflow.js +1 -1
  127. package/v1/examples/simple/e2e-workflows.d.ts +14 -0
  128. package/{src/v1 → v1}/examples/simple/replay-cancel.js +1 -1
  129. package/v1/examples/sticky/workflow.d.ts +5 -0
  130. package/{src/v1 → v1}/examples/sticky/workflow.js +1 -1
  131. package/{src/v1 → v1}/examples/timeout/workflow.js +1 -1
  132. package/{src/v1 → v1}/examples/timeouts/workflow.js +1 -1
  133. package/{src/v1 → v1}/examples/with_timeouts/workflow.js +1 -1
  134. package/{src/v1 → v1}/task.d.ts +1 -1
  135. package/{src/v1 → v1}/task.js +1 -1
  136. package/{src/v1 → v1}/types.d.ts +1 -1
  137. package/version.d.ts +1 -0
  138. package/{src/version.js → version.js} +1 -1
  139. package/{src/workflow.d.ts → workflow.d.ts} +1 -1
  140. package/{src/workflow.js → workflow.js} +1 -1
  141. package/docs/doc_types.d.ts +0 -12
  142. package/docs/doc_types.js +0 -62
  143. package/docs/generate.d.ts +0 -1
  144. package/docs/generate.js +0 -87
  145. package/docs/paths.d.ts +0 -2
  146. package/docs/paths.js +0 -16
  147. package/docs/shared.d.ts +0 -3
  148. package/docs/shared.js +0 -6
  149. package/src/clients/hatchet-client/index.d.ts +0 -3
  150. package/src/sdk.d.ts +0 -2
  151. package/src/v1/examples/concurrency_limit_rr/workflow.d.ts +0 -12
  152. package/src/v1/examples/legacy/workflow.d.ts +0 -2
  153. package/src/v1/examples/logger/workflow.d.ts +0 -2
  154. package/src/v1/examples/priority/workflow.d.ts +0 -8
  155. package/src/v1/examples/simple/e2e-workflows.d.ts +0 -14
  156. package/src/v1/examples/sticky/workflow.d.ts +0 -5
  157. package/src/version.d.ts +0 -1
  158. /package/{src/clients → clients}/admin/index.d.ts +0 -0
  159. /package/{src/clients → clients}/admin/index.js +0 -0
  160. /package/{src/clients → clients}/dispatcher/heartbeat/heartbeat-worker.d.ts +0 -0
  161. /package/{src/clients → clients}/hatchet-client/client-config.js +0 -0
  162. /package/{src/clients → clients}/rest/api.d.ts +0 -0
  163. /package/{src/clients → clients}/rest/api.js +0 -0
  164. /package/{src/clients → clients}/rest/generated/Api.d.ts +0 -0
  165. /package/{src/clients → clients}/rest/generated/Api.js +0 -0
  166. /package/{src/clients → clients}/rest/generated/data-contracts.d.ts +0 -0
  167. /package/{src/clients → clients}/rest/generated/data-contracts.js +0 -0
  168. /package/{src/clients → clients}/rest/generated/http-client.d.ts +0 -0
  169. /package/{src/clients → clients}/rest/generated/http-client.js +0 -0
  170. /package/{src/clients → clients}/rest/index.d.ts +0 -0
  171. /package/{src/clients → clients}/rest/index.js +0 -0
  172. /package/{src/legacy → legacy}/examples/affinity-workers.d.ts +0 -0
  173. /package/{src/legacy → legacy}/examples/bulk-fanout-trigger.d.ts +0 -0
  174. /package/{src/legacy → legacy}/examples/bulk-fanout-trigger.js +0 -0
  175. /package/{src/legacy → legacy}/examples/bulk-fanout-worker.d.ts +0 -0
  176. /package/{src/legacy → legacy}/examples/bulk-fanout-worker.js +0 -0
  177. /package/{src/legacy → legacy}/examples/bulk-trigger.d.ts +0 -0
  178. /package/{src/legacy → legacy}/examples/bulk-trigger.js +0 -0
  179. /package/{src/legacy → legacy}/examples/byo-logger.d.ts +0 -0
  180. /package/{src/legacy → legacy}/examples/concurrency/cancel-in-progress/concurrency-event.d.ts +0 -0
  181. /package/{src/legacy → legacy}/examples/concurrency/cancel-in-progress/concurrency-event.js +0 -0
  182. /package/{src/legacy → legacy}/examples/concurrency/cancel-in-progress/concurrency-worker.d.ts +0 -0
  183. /package/{src/legacy → legacy}/examples/concurrency/cancel-in-progress/concurrency-worker.js +0 -0
  184. /package/{src/legacy → legacy}/examples/concurrency/group-round-robin/concurrency-event.d.ts +0 -0
  185. /package/{src/legacy → legacy}/examples/concurrency/group-round-robin/concurrency-event.js +0 -0
  186. /package/{src/legacy → legacy}/examples/concurrency/group-round-robin/concurrency-worker-expression.d.ts +0 -0
  187. /package/{src/legacy → legacy}/examples/concurrency/group-round-robin/concurrency-worker-expression.js +0 -0
  188. /package/{src/legacy → legacy}/examples/concurrency/group-round-robin/concurrency-worker-key-fn.d.ts +0 -0
  189. /package/{src/legacy → legacy}/examples/concurrency/group-round-robin/concurrency-worker-key-fn.js +0 -0
  190. /package/{src/legacy → legacy}/examples/crons/cron-worker.d.ts +0 -0
  191. /package/{src/legacy → legacy}/examples/crons/cron-worker.js +0 -0
  192. /package/{src/legacy → legacy}/examples/crons/programatic-crons.d.ts +0 -0
  193. /package/{src/legacy → legacy}/examples/crons/programatic-crons.js +0 -0
  194. /package/{src/legacy → legacy}/examples/dag-worker.d.ts +0 -0
  195. /package/{src/legacy → legacy}/examples/dag-worker.js +0 -0
  196. /package/{src/legacy → legacy}/examples/example-event-with-results.d.ts +0 -0
  197. /package/{src/legacy → legacy}/examples/example-event-with-results.js +0 -0
  198. /package/{src/legacy → legacy}/examples/example-event.d.ts +0 -0
  199. /package/{src/legacy → legacy}/examples/example-event.js +0 -0
  200. /package/{src/legacy → legacy}/examples/fanout-worker.d.ts +0 -0
  201. /package/{src/legacy → legacy}/examples/fanout-worker.js +0 -0
  202. /package/{src/legacy → legacy}/examples/logger.d.ts +0 -0
  203. /package/{src/legacy → legacy}/examples/logger.js +0 -0
  204. /package/{src/legacy → legacy}/examples/manual-trigger.d.ts +0 -0
  205. /package/{src/legacy → legacy}/examples/manual-trigger.js +0 -0
  206. /package/{src/legacy → legacy}/examples/multi-workflow.d.ts +0 -0
  207. /package/{src/legacy → legacy}/examples/multi-workflow.js +0 -0
  208. /package/{src/legacy → legacy}/examples/namespaced-worker.d.ts +0 -0
  209. /package/{src/legacy → legacy}/examples/namespaced-worker.js +0 -0
  210. /package/{src/legacy → legacy}/examples/on-failure.d.ts +0 -0
  211. /package/{src/legacy → legacy}/examples/on-failure.js +0 -0
  212. /package/{src/legacy → legacy}/examples/rate-limit/events.d.ts +0 -0
  213. /package/{src/legacy → legacy}/examples/rate-limit/events.js +0 -0
  214. /package/{src/legacy → legacy}/examples/rate-limit/worker.d.ts +0 -0
  215. /package/{src/legacy → legacy}/examples/rate-limit/worker.js +0 -0
  216. /package/{src/legacy → legacy}/examples/retries-with-backoff.d.ts +0 -0
  217. /package/{src/legacy → legacy}/examples/retries-with-backoff.js +0 -0
  218. /package/{src/legacy → legacy}/examples/retries-worker.d.ts +0 -0
  219. /package/{src/legacy → legacy}/examples/retries-worker.js +0 -0
  220. /package/{src/legacy → legacy}/examples/scheduled-runs/programatic-schedules.d.ts +0 -0
  221. /package/{src/legacy → legacy}/examples/scheduled-runs/programatic-schedules.js +0 -0
  222. /package/{src/legacy → legacy}/examples/simple-worker.d.ts +0 -0
  223. /package/{src/legacy → legacy}/examples/simple-worker.js +0 -0
  224. /package/{src/legacy → legacy}/examples/sticky-trigger.d.ts +0 -0
  225. /package/{src/legacy → legacy}/examples/sticky-trigger.js +0 -0
  226. /package/{src/legacy → legacy}/examples/sticky-worker-with-check.d.ts +0 -0
  227. /package/{src/legacy → legacy}/examples/sticky-worker-with-check.js +0 -0
  228. /package/{src/legacy → legacy}/examples/sticky-worker.d.ts +0 -0
  229. /package/{src/legacy → legacy}/examples/sticky-worker.js +0 -0
  230. /package/{src/legacy → legacy}/examples/stream-by-additional-meta.d.ts +0 -0
  231. /package/{src/legacy → legacy}/examples/stream-by-additional-meta.js +0 -0
  232. /package/{src/legacy → legacy}/step.d.ts +0 -0
  233. /package/{src/legacy → legacy}/workflow.d.ts +0 -0
  234. /package/{src/legacy → legacy}/workflow.js +0 -0
  235. /package/{src/protoc → protoc}/dispatcher/dispatcher.d.ts +0 -0
  236. /package/{src/protoc → protoc}/dispatcher/dispatcher.js +0 -0
  237. /package/{src/protoc → protoc}/dispatcher/index.d.ts +0 -0
  238. /package/{src/protoc → protoc}/dispatcher/index.js +0 -0
  239. /package/{src/protoc → protoc}/events/events.d.ts +0 -0
  240. /package/{src/protoc → protoc}/events/events.js +0 -0
  241. /package/{src/protoc → protoc}/events/index.d.ts +0 -0
  242. /package/{src/protoc → protoc}/events/index.js +0 -0
  243. /package/{src/protoc → protoc}/google/protobuf/timestamp.d.ts +0 -0
  244. /package/{src/protoc → protoc}/google/protobuf/timestamp.js +0 -0
  245. /package/{src/protoc → protoc}/google/protobuf/wrappers.d.ts +0 -0
  246. /package/{src/protoc → protoc}/google/protobuf/wrappers.js +0 -0
  247. /package/{src/protoc → protoc}/v1/dispatcher.d.ts +0 -0
  248. /package/{src/protoc → protoc}/v1/dispatcher.js +0 -0
  249. /package/{src/protoc → protoc}/v1/shared/condition.d.ts +0 -0
  250. /package/{src/protoc → protoc}/v1/shared/condition.js +0 -0
  251. /package/{src/protoc → protoc}/v1/workflows.d.ts +0 -0
  252. /package/{src/protoc → protoc}/v1/workflows.js +0 -0
  253. /package/{src/protoc → protoc}/workflows/index.d.ts +0 -0
  254. /package/{src/protoc → protoc}/workflows/index.js +0 -0
  255. /package/{src/protoc → protoc}/workflows/v1-admin.d.ts +0 -0
  256. /package/{src/protoc → protoc}/workflows/v1-admin.js +0 -0
  257. /package/{src/protoc → protoc}/workflows/workflows.d.ts +0 -0
  258. /package/{src/protoc → protoc}/workflows/workflows.js +0 -0
  259. /package/{src/step.d.ts → step.d.ts} +0 -0
  260. /package/{src/step.js → step.js} +0 -0
  261. /package/{src/util → util}/abort-error.d.ts +0 -0
  262. /package/{src/util → util}/abort-error.js +0 -0
  263. /package/{src/util → util}/apply-namespace.d.ts +0 -0
  264. /package/{src/util → util}/apply-namespace.js +0 -0
  265. /package/{src/util → util}/batch.d.ts +0 -0
  266. /package/{src/util → util}/batch.js +0 -0
  267. /package/{src/util → util}/config-loader/index.d.ts +0 -0
  268. /package/{src/util → util}/config-loader/index.js +0 -0
  269. /package/{src/util → util}/config-loader/token.d.ts +0 -0
  270. /package/{src/util → util}/config-loader/token.js +0 -0
  271. /package/{src/util → util}/errors/hatchet-error.d.ts +0 -0
  272. /package/{src/util → util}/errors/hatchet-error.js +0 -0
  273. /package/{src/util → util}/grpc-helpers.js +0 -0
  274. /package/{src/util → util}/hatchet-promise/hatchet-promise.d.ts +0 -0
  275. /package/{src/util → util}/hatchet-promise/hatchet-promise.js +0 -0
  276. /package/{src/util → util}/logger/index.d.ts +0 -0
  277. /package/{src/util → util}/logger/index.js +0 -0
  278. /package/{src/util → util}/logger/logger.js +0 -0
  279. /package/{src/util → util}/logger/task-run-log.d.ts +0 -0
  280. /package/{src/util → util}/logger/task-run-log.js +0 -0
  281. /package/{src/util → util}/parse.d.ts +0 -0
  282. /package/{src/util → util}/parse.js +0 -0
  283. /package/{src/util → util}/retrier.d.ts +0 -0
  284. /package/{src/util → util}/retrier.js +0 -0
  285. /package/{src/util → util}/sleep.d.ts +0 -0
  286. /package/{src/util → util}/sleep.js +0 -0
  287. /package/{src/util → util}/thread-helper.d.ts +0 -0
  288. /package/{src/util → util}/thread-helper.js +0 -0
  289. /package/{src/util → util}/uuid.d.ts +0 -0
  290. /package/{src/util → util}/uuid.js +0 -0
  291. /package/{src/util → util}/workflow-run-ref.js +0 -0
  292. /package/{src/v1 → v1}/client/client.interface.js +0 -0
  293. /package/{src/v1 → v1}/client/duration.d.ts +0 -0
  294. /package/{src/v1 → v1}/client/duration.js +0 -0
  295. /package/{src/v1 → v1}/client/features/filters.d.ts +0 -0
  296. /package/{src/v1 → v1}/client/features/filters.js +0 -0
  297. /package/{src/v1 → v1}/client/features/index.d.ts +0 -0
  298. /package/{src/v1 → v1}/client/features/index.js +0 -0
  299. /package/{src/v1 → v1}/client/features/metrics.d.ts +0 -0
  300. /package/{src/v1 → v1}/client/features/metrics.js +0 -0
  301. /package/{src/v1 → v1}/client/features/tenant.js +0 -0
  302. /package/{src/v1 → v1}/client/features/workers.d.ts +0 -0
  303. /package/{src/v1 → v1}/client/features/workers.js +0 -0
  304. /package/{src/v1 → v1}/client/worker/deprecated/deprecation.js +0 -0
  305. /package/{src/v1 → v1}/client/worker/deprecated/index.d.ts +0 -0
  306. /package/{src/v1 → v1}/client/worker/deprecated/index.js +0 -0
  307. /package/{src/v1 → v1}/client/worker/deprecated/legacy-v1-worker.js +0 -0
  308. /package/{src/v1 → v1}/client/worker/deprecated/legacy-worker.d.ts +0 -0
  309. /package/{src/v1 → v1}/client/worker/deprecated/legacy-worker.js +0 -0
  310. /package/{src/v1 → v1}/client/worker/health-server.js +0 -0
  311. /package/{src/v1 → v1}/client/worker/slot-utils.d.ts +0 -0
  312. /package/{src/v1 → v1}/client/worker/slot-utils.js +0 -0
  313. /package/{src/v1 → v1}/conditions/base.d.ts +0 -0
  314. /package/{src/v1 → v1}/conditions/base.js +0 -0
  315. /package/{src/v1 → v1}/conditions/index.d.ts +0 -0
  316. /package/{src/v1 → v1}/conditions/index.js +0 -0
  317. /package/{src/v1 → v1}/conditions/parent-condition.d.ts +0 -0
  318. /package/{src/v1 → v1}/conditions/parent-condition.js +0 -0
  319. /package/{src/v1 → v1}/conditions/sleep-condition.d.ts +0 -0
  320. /package/{src/v1 → v1}/conditions/sleep-condition.js +0 -0
  321. /package/{src/v1 → v1}/conditions/transformer.js +0 -0
  322. /package/{src/v1 → v1}/conditions/user-event-condition.d.ts +0 -0
  323. /package/{src/v1 → v1}/conditions/user-event-condition.js +0 -0
  324. /package/{src/v1 → v1}/examples/affinity/affinity-workers.d.ts +0 -0
  325. /package/{src/v1 → v1}/examples/bulk_fanout/workflow.d.ts +0 -0
  326. /package/{src/v1 → v1}/examples/bulk_fanout/workflow.js +0 -0
  327. /package/{src/v1 → v1}/examples/bulk_operations/workflow.d.ts +0 -0
  328. /package/{src/v1 → v1}/examples/bulk_operations/workflow.js +0 -0
  329. /package/{src/v1 → v1}/examples/cancellation/cancellation-workflow.d.ts +0 -0
  330. /package/{src/v1 → v1}/examples/cancellation/run.d.ts +0 -0
  331. /package/{src/v1 → v1}/examples/cancellation/worker.d.ts +0 -0
  332. /package/{src/v1 → v1}/examples/cancellation/worker.js +0 -0
  333. /package/{src/v1 → v1}/examples/cancellations/run.d.ts +0 -0
  334. /package/{src/v1 → v1}/examples/cancellations/worker.d.ts +0 -0
  335. /package/{src/v1 → v1}/examples/cancellations/worker.js +0 -0
  336. /package/{src/v1 → v1}/examples/cancellations/workflow.d.ts +0 -0
  337. /package/{src/v1 → v1}/examples/child_workflows/run.d.ts +0 -0
  338. /package/{src/v1 → v1}/examples/child_workflows/run.js +0 -0
  339. /package/{src/v1 → v1}/examples/child_workflows/worker.d.ts +0 -0
  340. /package/{src/v1 → v1}/examples/child_workflows/worker.js +0 -0
  341. /package/{src/v1 → v1}/examples/child_workflows/workflow.d.ts +0 -0
  342. /package/{src/v1 → v1}/examples/child_workflows/workflow.js +0 -0
  343. /package/{src/v1 → v1}/examples/concurrency-rr/load.d.ts +0 -0
  344. /package/{src/v1 → v1}/examples/concurrency-rr/load.js +0 -0
  345. /package/{src/v1 → v1}/examples/concurrency-rr/run.d.ts +0 -0
  346. /package/{src/v1 → v1}/examples/concurrency-rr/run.js +0 -0
  347. /package/{src/v1 → v1}/examples/concurrency-rr/worker.d.ts +0 -0
  348. /package/{src/v1 → v1}/examples/concurrency-rr/worker.js +0 -0
  349. /package/{src/v1 → v1}/examples/concurrency-rr/workflow.d.ts +0 -0
  350. /package/{src/v1 → v1}/examples/concurrency-types.d.ts +0 -0
  351. /package/{src/v1 → v1}/examples/concurrency-types.js +0 -0
  352. /package/{src/v1 → v1}/examples/concurrency_limit_rr/load.d.ts +0 -0
  353. /package/{src/v1 → v1}/examples/concurrency_limit_rr/load.js +0 -0
  354. /package/{src/v1 → v1}/examples/concurrency_limit_rr/run.d.ts +0 -0
  355. /package/{src/v1 → v1}/examples/concurrency_limit_rr/run.js +0 -0
  356. /package/{src/v1 → v1}/examples/concurrency_limit_rr/worker.d.ts +0 -0
  357. /package/{src/v1 → v1}/examples/concurrency_limit_rr/worker.js +0 -0
  358. /package/{src/v1 → v1}/examples/conditions/complex-workflow.d.ts +0 -0
  359. /package/{src/v1 → v1}/examples/conditions/event.d.ts +0 -0
  360. /package/{src/v1 → v1}/examples/conditions/event.js +0 -0
  361. /package/{src/v1 → v1}/examples/conditions/run.d.ts +0 -0
  362. /package/{src/v1 → v1}/examples/conditions/run.js +0 -0
  363. /package/{src/v1 → v1}/examples/conditions/worker.d.ts +0 -0
  364. /package/{src/v1 → v1}/examples/conditions/worker.js +0 -0
  365. /package/{src/v1 → v1}/examples/conditions/workflow.d.ts +0 -0
  366. /package/{src/v1 → v1}/examples/dag/interface-workflow.js +0 -0
  367. /package/{src/v1 → v1}/examples/dag/run.d.ts +0 -0
  368. /package/{src/v1 → v1}/examples/dag/run.js +0 -0
  369. /package/{src/v1 → v1}/examples/dag/worker.d.ts +0 -0
  370. /package/{src/v1 → v1}/examples/dag/worker.js +0 -0
  371. /package/{src/v1 → v1}/examples/dag/workflow.d.ts +0 -0
  372. /package/{src/v1 → v1}/examples/dag/workflow.js +0 -0
  373. /package/{src/v1 → v1}/examples/dag_match_condition/complex-workflow.d.ts +0 -0
  374. /package/{src/v1 → v1}/examples/dag_match_condition/event.d.ts +0 -0
  375. /package/{src/v1 → v1}/examples/dag_match_condition/event.js +0 -0
  376. /package/{src/v1 → v1}/examples/dag_match_condition/run.d.ts +0 -0
  377. /package/{src/v1 → v1}/examples/dag_match_condition/run.js +0 -0
  378. /package/{src/v1 → v1}/examples/dag_match_condition/worker.d.ts +0 -0
  379. /package/{src/v1 → v1}/examples/dag_match_condition/worker.js +0 -0
  380. /package/{src/v1 → v1}/examples/dag_match_condition/workflow.d.ts +0 -0
  381. /package/{src/v1 → v1}/examples/deep/run.d.ts +0 -0
  382. /package/{src/v1 → v1}/examples/deep/run.js +0 -0
  383. /package/{src/v1 → v1}/examples/deep/worker.d.ts +0 -0
  384. /package/{src/v1 → v1}/examples/deep/worker.js +0 -0
  385. /package/{src/v1 → v1}/examples/deep/workflow.d.ts +0 -0
  386. /package/{src/v1 → v1}/examples/durable/workflow.d.ts +0 -0
  387. /package/{src/v1 → v1}/examples/durable-event/event.d.ts +0 -0
  388. /package/{src/v1 → v1}/examples/durable-event/event.js +0 -0
  389. /package/{src/v1 → v1}/examples/durable-event/run.d.ts +0 -0
  390. /package/{src/v1 → v1}/examples/durable-event/run.js +0 -0
  391. /package/{src/v1 → v1}/examples/durable-event/worker.d.ts +0 -0
  392. /package/{src/v1 → v1}/examples/durable-event/worker.js +0 -0
  393. /package/{src/v1 → v1}/examples/durable-event/workflow.d.ts +0 -0
  394. /package/{src/v1 → v1}/examples/durable-sleep/event.d.ts +0 -0
  395. /package/{src/v1 → v1}/examples/durable-sleep/event.js +0 -0
  396. /package/{src/v1 → v1}/examples/durable-sleep/run.d.ts +0 -0
  397. /package/{src/v1 → v1}/examples/durable-sleep/run.js +0 -0
  398. /package/{src/v1 → v1}/examples/durable-sleep/worker.d.ts +0 -0
  399. /package/{src/v1 → v1}/examples/durable-sleep/worker.js +0 -0
  400. /package/{src/v1 → v1}/examples/durable-sleep/workflow.d.ts +0 -0
  401. /package/{src/v1 → v1}/examples/durable_event/event.d.ts +0 -0
  402. /package/{src/v1 → v1}/examples/durable_event/event.js +0 -0
  403. /package/{src/v1 → v1}/examples/durable_event/run.d.ts +0 -0
  404. /package/{src/v1 → v1}/examples/durable_event/run.js +0 -0
  405. /package/{src/v1 → v1}/examples/durable_event/worker.d.ts +0 -0
  406. /package/{src/v1 → v1}/examples/durable_event/worker.js +0 -0
  407. /package/{src/v1 → v1}/examples/durable_event/workflow.d.ts +0 -0
  408. /package/{src/v1 → v1}/examples/durable_sleep/event.d.ts +0 -0
  409. /package/{src/v1 → v1}/examples/durable_sleep/event.js +0 -0
  410. /package/{src/v1 → v1}/examples/durable_sleep/run.d.ts +0 -0
  411. /package/{src/v1 → v1}/examples/durable_sleep/run.js +0 -0
  412. /package/{src/v1 → v1}/examples/durable_sleep/worker.d.ts +0 -0
  413. /package/{src/v1 → v1}/examples/durable_sleep/worker.js +0 -0
  414. /package/{src/v1 → v1}/examples/durable_sleep/workflow.d.ts +0 -0
  415. /package/{src/v1 → v1}/examples/e2e-worker.d.ts +0 -0
  416. /package/{src/v1 → v1}/examples/e2e-worker.js +0 -0
  417. /package/{src/v1 → v1}/examples/events/event.d.ts +0 -0
  418. /package/{src/v1 → v1}/examples/events/event.js +0 -0
  419. /package/{src/v1 → v1}/examples/events/filter.d.ts +0 -0
  420. /package/{src/v1 → v1}/examples/events/filter.js +0 -0
  421. /package/{src/v1 → v1}/examples/events/worker.d.ts +0 -0
  422. /package/{src/v1 → v1}/examples/events/worker.js +0 -0
  423. /package/{src/v1 → v1}/examples/events/workflow.d.ts +0 -0
  424. /package/{src/v1 → v1}/examples/events/workflow.js +0 -0
  425. /package/{src/v1 → v1}/examples/high-memory/child-worker.d.ts +0 -0
  426. /package/{src/v1 → v1}/examples/high-memory/child-worker.js +0 -0
  427. /package/{src/v1 → v1}/examples/high-memory/parent-worker.d.ts +0 -0
  428. /package/{src/v1 → v1}/examples/high-memory/parent-worker.js +0 -0
  429. /package/{src/v1 → v1}/examples/high-memory/run.d.ts +0 -0
  430. /package/{src/v1 → v1}/examples/high-memory/run.js +0 -0
  431. /package/{src/v1 → v1}/examples/high-memory/workflow-with-child.d.ts +0 -0
  432. /package/{src/v1 → v1}/examples/high-memory/workflow-with-child.js +0 -0
  433. /package/{src/v1 → v1}/examples/inferred-typing/run.d.ts +0 -0
  434. /package/{src/v1 → v1}/examples/inferred-typing/run.js +0 -0
  435. /package/{src/v1 → v1}/examples/inferred-typing/worker.d.ts +0 -0
  436. /package/{src/v1 → v1}/examples/inferred-typing/worker.js +0 -0
  437. /package/{src/v1 → v1}/examples/inferred-typing/workflow.d.ts +0 -0
  438. /package/{src/v1 → v1}/examples/inferred-typing/workflow.js +0 -0
  439. /package/{src/v1 → v1}/examples/landing_page/durable-excution.d.ts +0 -0
  440. /package/{src/v1 → v1}/examples/landing_page/event-signaling.d.ts +0 -0
  441. /package/{src/v1 → v1}/examples/landing_page/event-signaling.js +0 -0
  442. /package/{src/v1 → v1}/examples/landing_page/flow-control.d.ts +0 -0
  443. /package/{src/v1 → v1}/examples/landing_page/queues.d.ts +0 -0
  444. /package/{src/v1 → v1}/examples/landing_page/queues.js +0 -0
  445. /package/{src/v1 → v1}/examples/landing_page/scheduling.d.ts +0 -0
  446. /package/{src/v1 → v1}/examples/landing_page/scheduling.js +0 -0
  447. /package/{src/v1 → v1}/examples/landing_page/task-routing.d.ts +0 -0
  448. /package/{src/v1 → v1}/examples/landing_page/task-routing.js +0 -0
  449. /package/{src/v1 → v1}/examples/legacy/run.d.ts +0 -0
  450. /package/{src/v1 → v1}/examples/legacy/run.js +0 -0
  451. /package/{src/v1 → v1}/examples/legacy/worker.d.ts +0 -0
  452. /package/{src/v1 → v1}/examples/legacy/worker.js +0 -0
  453. /package/{src/v1 → v1}/examples/legacy/workflow.js +0 -0
  454. /package/{src/v1 → v1}/examples/logger/byo-logger.d.ts +0 -0
  455. /package/{src/legacy/examples → v1/examples/logger}/byo-logger.js +0 -0
  456. /package/{src/v1 → v1}/examples/logger/logger.d.ts +0 -0
  457. /package/{src/v1 → v1}/examples/logger/logger.js +0 -0
  458. /package/{src/v1 → v1}/examples/logger/workflow.js +0 -0
  459. /package/{src/v1 → v1}/examples/logging/byo-logger.d.ts +0 -0
  460. /package/{src/v1 → v1}/examples/logging/logger.d.ts +0 -0
  461. /package/{src/v1 → v1}/examples/logging/logger.js +0 -0
  462. /package/{src/v1 → v1}/examples/middleware/recipes.d.ts +0 -0
  463. /package/{src/v1 → v1}/examples/middleware/run.d.ts +0 -0
  464. /package/{src/v1 → v1}/examples/middleware/run.js +0 -0
  465. /package/{src/v1 → v1}/examples/middleware/worker.d.ts +0 -0
  466. /package/{src/v1 → v1}/examples/middleware/worker.js +0 -0
  467. /package/{src/v1 → v1}/examples/middleware/workflow.d.ts +0 -0
  468. /package/{src/v1 → v1}/examples/middleware/workflow.js +0 -0
  469. /package/{src/v1 → v1}/examples/migration-guides/mergent.d.ts +0 -0
  470. /package/{src/v1 → v1}/examples/migration-guides/mergent.js +0 -0
  471. /package/{src/v1 → v1}/examples/multiple_wf_concurrency/run.d.ts +0 -0
  472. /package/{src/v1 → v1}/examples/multiple_wf_concurrency/run.js +0 -0
  473. /package/{src/v1 → v1}/examples/multiple_wf_concurrency/worker.d.ts +0 -0
  474. /package/{src/v1 → v1}/examples/multiple_wf_concurrency/worker.js +0 -0
  475. /package/{src/v1 → v1}/examples/non_retryable/run.d.ts +0 -0
  476. /package/{src/v1 → v1}/examples/non_retryable/run.js +0 -0
  477. /package/{src/v1 → v1}/examples/non_retryable/worker.d.ts +0 -0
  478. /package/{src/v1 → v1}/examples/non_retryable/worker.js +0 -0
  479. /package/{src/v1 → v1}/examples/non_retryable/workflow.d.ts +0 -0
  480. /package/{src/v1 → v1}/examples/on_cron/worker.d.ts +0 -0
  481. /package/{src/v1 → v1}/examples/on_cron/worker.js +0 -0
  482. /package/{src/v1 → v1}/examples/on_cron/workflow.d.ts +0 -0
  483. /package/{src/v1 → v1}/examples/on_cron/workflow.js +0 -0
  484. /package/{src/v1 → v1}/examples/on_event/event.d.ts +0 -0
  485. /package/{src/v1 → v1}/examples/on_event/event.js +0 -0
  486. /package/{src/v1 → v1}/examples/on_event/filter.d.ts +0 -0
  487. /package/{src/v1 → v1}/examples/on_event/filter.js +0 -0
  488. /package/{src/v1 → v1}/examples/on_event/worker.d.ts +0 -0
  489. /package/{src/v1 → v1}/examples/on_event/worker.js +0 -0
  490. /package/{src/v1 → v1}/examples/on_event/workflow.d.ts +0 -0
  491. /package/{src/v1 → v1}/examples/on_event/workflow.js +0 -0
  492. /package/{src/v1 → v1}/examples/on_failure/run.d.ts +0 -0
  493. /package/{src/v1 → v1}/examples/on_failure/run.js +0 -0
  494. /package/{src/v1 → v1}/examples/on_failure/worker.d.ts +0 -0
  495. /package/{src/v1 → v1}/examples/on_failure/worker.js +0 -0
  496. /package/{src/v1 → v1}/examples/on_failure/workflow.d.ts +0 -0
  497. /package/{src/v1 → v1}/examples/on_failure/workflow.js +0 -0
  498. /package/{src/v1 → v1}/examples/on_success/run.d.ts +0 -0
  499. /package/{src/v1 → v1}/examples/on_success/run.js +0 -0
  500. /package/{src/v1 → v1}/examples/on_success/worker.d.ts +0 -0
  501. /package/{src/v1 → v1}/examples/on_success/worker.js +0 -0
  502. /package/{src/v1 → v1}/examples/on_success/workflow.d.ts +0 -0
  503. /package/{src/v1 → v1}/examples/on_success/workflow.js +0 -0
  504. /package/{src/v1 → v1}/examples/priority/run.d.ts +0 -0
  505. /package/{src/v1 → v1}/examples/priority/worker.d.ts +0 -0
  506. /package/{src/v1 → v1}/examples/priority/worker.js +0 -0
  507. /package/{src/v1 → v1}/examples/quickstart/run.d.ts +0 -0
  508. /package/{src/v1 → v1}/examples/quickstart/run.js +0 -0
  509. /package/{src/v1 → v1}/examples/quickstart/worker.d.ts +0 -0
  510. /package/{src/v1 → v1}/examples/quickstart/worker.js +0 -0
  511. /package/{src/v1 → v1}/examples/quickstart/workflows/first-task.d.ts +0 -0
  512. /package/{src/v1 → v1}/examples/quickstart/workflows/first-task.js +0 -0
  513. /package/{src/v1 → v1}/examples/rate_limit/workflow.d.ts +0 -0
  514. /package/{src/v1 → v1}/examples/retries/run.d.ts +0 -0
  515. /package/{src/v1 → v1}/examples/retries/run.js +0 -0
  516. /package/{src/v1 → v1}/examples/retries/worker.d.ts +0 -0
  517. /package/{src/v1 → v1}/examples/retries/worker.js +0 -0
  518. /package/{src/v1 → v1}/examples/retries/workflow.d.ts +0 -0
  519. /package/{src/v1 → v1}/examples/retries/workflow.js +0 -0
  520. /package/{src/v1 → v1}/examples/return_exceptions/workflow.d.ts +0 -0
  521. /package/{src/v1 → v1}/examples/return_exceptions/workflow.js +0 -0
  522. /package/{src/v1 → v1}/examples/run_details/workflow.d.ts +0 -0
  523. /package/{src/v1 → v1}/examples/runtime_affinity/workflow.d.ts +0 -0
  524. /package/{src/v1 → v1}/examples/runtime_affinity/workflow.js +0 -0
  525. /package/{src/v1 → v1}/examples/simple/bulk.d.ts +0 -0
  526. /package/{src/v1 → v1}/examples/simple/bulk.js +0 -0
  527. /package/{src/v1 → v1}/examples/simple/client-run.d.ts +0 -0
  528. /package/{src/v1 → v1}/examples/simple/client-run.js +0 -0
  529. /package/{src/v1 → v1}/examples/simple/cron.d.ts +0 -0
  530. /package/{src/v1 → v1}/examples/simple/cron.js +0 -0
  531. /package/{src/v1 → v1}/examples/simple/delay.d.ts +0 -0
  532. /package/{src/v1 → v1}/examples/simple/delay.js +0 -0
  533. /package/{src/v1 → v1}/examples/simple/e2e-workflows.js +0 -0
  534. /package/{src/v1 → v1}/examples/simple/enqueue.d.ts +0 -0
  535. /package/{src/v1 → v1}/examples/simple/enqueue.js +0 -0
  536. /package/{src/v1 → v1}/examples/simple/replay-cancel.d.ts +0 -0
  537. /package/{src/v1 → v1}/examples/simple/run.d.ts +0 -0
  538. /package/{src/v1 → v1}/examples/simple/run.js +0 -0
  539. /package/{src/v1 → v1}/examples/simple/schedule.d.ts +0 -0
  540. /package/{src/v1 → v1}/examples/simple/schedule.js +0 -0
  541. /package/{src/v1 → v1}/examples/simple/stub-workflow.d.ts +0 -0
  542. /package/{src/v1 → v1}/examples/simple/stub-workflow.js +0 -0
  543. /package/{src/v1 → v1}/examples/simple/typed-run-methods.d.ts +0 -0
  544. /package/{src/v1 → v1}/examples/simple/typed-run-methods.js +0 -0
  545. /package/{src/v1 → v1}/examples/simple/worker.d.ts +0 -0
  546. /package/{src/v1 → v1}/examples/simple/worker.js +0 -0
  547. /package/{src/v1 → v1}/examples/simple/workflow-with-child.d.ts +0 -0
  548. /package/{src/v1 → v1}/examples/simple/workflow-with-child.js +0 -0
  549. /package/{src/v1 → v1}/examples/simple/workflow.d.ts +0 -0
  550. /package/{src/v1 → v1}/examples/simple/workflow.js +0 -0
  551. /package/{src/v1 → v1}/examples/simple/zod.d.ts +0 -0
  552. /package/{src/v1 → v1}/examples/simple/zod.js +0 -0
  553. /package/{src/v1 → v1}/examples/sticky/run.d.ts +0 -0
  554. /package/{src/v1 → v1}/examples/sticky/run.js +0 -0
  555. /package/{src/v1 → v1}/examples/sticky/worker.d.ts +0 -0
  556. /package/{src/v1 → v1}/examples/sticky/worker.js +0 -0
  557. /package/{src/v1 → v1}/examples/streaming/nextjs-proxy.d.ts +0 -0
  558. /package/{src/v1 → v1}/examples/streaming/nextjs-proxy.js +0 -0
  559. /package/{src/v1 → v1}/examples/streaming/run.d.ts +0 -0
  560. /package/{src/v1 → v1}/examples/streaming/run.js +0 -0
  561. /package/{src/v1 → v1}/examples/streaming/worker.d.ts +0 -0
  562. /package/{src/v1 → v1}/examples/streaming/worker.js +0 -0
  563. /package/{src/v1 → v1}/examples/streaming/workflow.d.ts +0 -0
  564. /package/{src/v1 → v1}/examples/streaming/workflow.js +0 -0
  565. /package/{src/v1 → v1}/examples/timeout/run.d.ts +0 -0
  566. /package/{src/v1 → v1}/examples/timeout/run.js +0 -0
  567. /package/{src/v1 → v1}/examples/timeout/worker.d.ts +0 -0
  568. /package/{src/v1 → v1}/examples/timeout/worker.js +0 -0
  569. /package/{src/v1 → v1}/examples/timeout/workflow.d.ts +0 -0
  570. /package/{src/v1 → v1}/examples/timeouts/run.d.ts +0 -0
  571. /package/{src/v1 → v1}/examples/timeouts/run.js +0 -0
  572. /package/{src/v1 → v1}/examples/timeouts/worker.d.ts +0 -0
  573. /package/{src/v1 → v1}/examples/timeouts/worker.js +0 -0
  574. /package/{src/v1 → v1}/examples/timeouts/workflow.d.ts +0 -0
  575. /package/{src/v1 → v1}/examples/webhooks/workflow.d.ts +0 -0
  576. /package/{src/v1 → v1}/examples/webhooks/workflow.js +0 -0
  577. /package/{src/v1 → v1}/examples/with_timeouts/workflow.d.ts +0 -0
  578. /package/{src/v1 → v1}/index.d.ts +0 -0
  579. /package/{src/v1 → v1}/index.js +0 -0
  580. /package/{src/v1 → v1}/parent-run-context-vars.d.ts +0 -0
  581. /package/{src/v1 → v1}/parent-run-context-vars.js +0 -0
  582. /package/{src/v1 → v1}/slot-types.d.ts +0 -0
  583. /package/{src/v1 → v1}/slot-types.js +0 -0
  584. /package/{src/v1 → v1}/types.js +0 -0
@@ -24,15 +24,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.AdminClient = void 0;
27
- const hatchet_error_1 = __importDefault(require("../../../util/errors/hatchet-error"));
28
- const workflow_run_ref_1 = __importDefault(require("../../../util/workflow-run-ref"));
29
- const grpc_helpers_1 = require("../../../util/grpc-helpers");
30
- const child_listener_client_1 = require("../../../clients/listeners/run-listener/child-listener-client");
31
- const workflows_1 = require("../../../protoc/workflows");
32
- const workflows_2 = require("../../../protoc/v1/workflows");
33
- const retrier_1 = require("../../../util/retrier");
34
- const batch_1 = require("../../../util/batch");
35
- const apply_namespace_1 = require("../../../util/apply-namespace");
27
+ const hatchet_error_1 = __importDefault(require("../../util/errors/hatchet-error"));
28
+ const workflow_run_ref_1 = __importDefault(require("../../util/workflow-run-ref"));
29
+ const grpc_helpers_1 = require("../../util/grpc-helpers");
30
+ const child_listener_client_1 = require("../../clients/listeners/run-listener/child-listener-client");
31
+ const workflows_1 = require("../../protoc/workflows");
32
+ const workflows_2 = require("../../protoc/v1/workflows");
33
+ const retrier_1 = require("../../util/retrier");
34
+ const batch_1 = require("../../util/batch");
35
+ const apply_namespace_1 = require("../../util/apply-namespace");
36
36
  function convertDesiredWorkerLabels(labels) {
37
37
  return Object.fromEntries(Object.entries(labels).map(([key, label]) => [
38
38
  key,
@@ -4,15 +4,15 @@
4
4
  *
5
5
  * @module Hatchet TypeScript SDK Reference
6
6
  */
7
- import { ClientConfig, HatchetClientOptions, LegacyHatchetClient, TaskMiddleware, InferMiddlewareBefore, InferMiddlewareAfter } from '../../../clients/hatchet-client';
7
+ import { ClientConfig, HatchetClientOptions, LegacyHatchetClient, TaskMiddleware, InferMiddlewareBefore, InferMiddlewareAfter } from '../../clients/hatchet-client';
8
8
  import { AxiosRequestConfig } from 'axios';
9
- import WorkflowRunRef from '../../../util/workflow-run-ref';
10
- import { Api } from '../../../clients/rest';
11
- import { EventClient } from '../../../clients/event/event-client';
12
- import { DispatcherClient } from '../../../clients/dispatcher/dispatcher-client';
13
- import { Logger } from '../../../util/logger';
14
- import { RunListenerClient } from '../../../clients/listeners/run-listener/child-listener-client';
15
- import { DurableListenerClient } from '../../../clients/listeners/durable-listener/durable-listener-client';
9
+ import WorkflowRunRef from '../../util/workflow-run-ref';
10
+ import { Api } from '../../clients/rest';
11
+ import { EventClient } from '../../clients/event/event-client';
12
+ import { DispatcherClient } from '../../clients/dispatcher/dispatcher-client';
13
+ import { Logger } from '../../util/logger';
14
+ import { RunListenerClient } from '../../clients/listeners/run-listener/child-listener-client';
15
+ import { DurableListenerClient } from '../../clients/listeners/durable-listener/durable-listener-client';
16
16
  import { CreateTaskWorkflowOpts, CreateWorkflowOpts, RunOpts, BaseWorkflowDeclaration, WorkflowDeclaration, TaskWorkflowDeclaration, CreateDurableTaskWorkflowOpts } from '../declaration';
17
17
  import type { LegacyWorkflow } from '../../legacy/legacy-transformer';
18
18
  import { IHatchetClient } from './client.interface';
@@ -1,6 +1,6 @@
1
- import { EventClient } from '../../../clients/event/event-client';
2
- import { DispatcherClient } from '../../../clients/dispatcher/dispatcher-client';
3
- import { Logger } from '../../../util/logger';
1
+ import { EventClient } from '../../clients/event/event-client';
2
+ import { DispatcherClient } from '../../clients/dispatcher/dispatcher-client';
3
+ import { Logger } from '../../util/logger';
4
4
  import { LegacyHatchetClient } from '../../legacy/legacy-client';
5
5
  import { MetricsClient } from './features/metrics';
6
6
  import { RunsClient } from './features/runs';
@@ -21,16 +21,16 @@ exports.HatchetClient = void 0;
21
21
  */
22
22
  /* eslint-disable no-dupe-class-members */
23
23
  /* eslint-disable no-underscore-dangle */
24
- const hatchet_client_1 = require("../../../clients/hatchet-client");
25
- const rest_1 = __importDefault(require("../../../clients/rest"));
26
- const config_loader_1 = require("../../../util/config-loader");
27
- const hatchet_logger_1 = require("../../../clients/hatchet-client/hatchet-logger");
24
+ const hatchet_client_1 = require("../../clients/hatchet-client");
25
+ const rest_1 = __importDefault(require("../../clients/rest"));
26
+ const config_loader_1 = require("../../util/config-loader");
27
+ const hatchet_logger_1 = require("../../clients/hatchet-client/hatchet-logger");
28
28
  const zod_1 = require("zod");
29
- const event_client_1 = require("../../../clients/event/event-client");
30
- const dispatcher_client_1 = require("../../../clients/dispatcher/dispatcher-client");
31
- const child_listener_client_1 = require("../../../clients/listeners/run-listener/child-listener-client");
32
- const durable_listener_client_1 = require("../../../clients/listeners/durable-listener/durable-listener-client");
33
- const grpc_helpers_1 = require("../../../util/grpc-helpers");
29
+ const event_client_1 = require("../../clients/event/event-client");
30
+ const dispatcher_client_1 = require("../../clients/dispatcher/dispatcher-client");
31
+ const child_listener_client_1 = require("../../clients/listeners/run-listener/child-listener-client");
32
+ const durable_listener_client_1 = require("../../clients/listeners/durable-listener/durable-listener-client");
33
+ const grpc_helpers_1 = require("../../util/grpc-helpers");
34
34
  const nice_grpc_1 = require("nice-grpc");
35
35
  const declaration_1 = require("../declaration");
36
36
  const legacy_transformer_1 = require("../../legacy/legacy-transformer");
@@ -1,4 +1,4 @@
1
- import { V1CELDebugResponseStatus } from '../../../../clients/rest/generated/data-contracts';
1
+ import { V1CELDebugResponseStatus } from '../../../clients/rest/generated/data-contracts';
2
2
  import { HatchetClient } from '../client';
3
3
  export type DebugCELInput = {
4
4
  expression: string;
@@ -11,7 +11,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CELClient = void 0;
13
13
  const axios_1 = require("axios");
14
- const data_contracts_1 = require("../../../../clients/rest/generated/data-contracts");
14
+ const data_contracts_1 = require("../../../clients/rest/generated/data-contracts");
15
15
  /**
16
16
  * Client for debugging CEL expressions.
17
17
  */
@@ -1,7 +1,7 @@
1
- import { CronWorkflows, CronWorkflowsList } from '../../../../clients/rest/generated/data-contracts';
1
+ import { CronWorkflows, CronWorkflowsList } from '../../../clients/rest/generated/data-contracts';
2
2
  import { z } from 'zod';
3
- import { BaseWorkflowDeclaration } from '../../../../v1';
4
- import type { LegacyWorkflow } from '../../../../legacy/legacy-transformer';
3
+ import { BaseWorkflowDeclaration } from '../..';
4
+ import type { LegacyWorkflow } from '../../../legacy/legacy-transformer';
5
5
  import { HatchetClient } from '../client';
6
6
  import { WorkflowsClient } from './workflows';
7
7
  /**
@@ -23,8 +23,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
23
23
  exports.CronClient = exports.CreateCronTriggerSchema = void 0;
24
24
  const zod_1 = require("zod");
25
25
  const axios_1 = require("axios");
26
- const uuid_1 = require("../../../../util/uuid");
27
- const apply_namespace_1 = require("../../../../util/apply-namespace");
26
+ const uuid_1 = require("../../../util/uuid");
27
+ const apply_namespace_1 = require("../../../util/apply-namespace");
28
28
  const workflows_1 = require("./workflows");
29
29
  /**
30
30
  * Schema for creating a Cron Trigger.
@@ -1,5 +1,5 @@
1
- import { RateLimitDuration } from '../../../../protoc/workflows';
2
- import { RateLimitOrderByField, RateLimitOrderByDirection } from '../../../../clients/rest/generated/data-contracts';
1
+ import { RateLimitDuration } from '../../../protoc/workflows';
2
+ import { RateLimitOrderByField, RateLimitOrderByDirection } from '../../../clients/rest/generated/data-contracts';
3
3
  import { HatchetClient } from '../client';
4
4
  export { RateLimitDuration, RateLimitOrderByField, RateLimitOrderByDirection };
5
5
  export type CreateRateLimitOpts = {
@@ -26,5 +26,5 @@ export declare class RatelimitsClient {
26
26
  * @param opts - The options for the list operation.
27
27
  * @returns A promise that resolves to the list of rate limits.
28
28
  */
29
- list(opts: Parameters<typeof this.api.rateLimitList>[1]): Promise<import("../../../../clients/rest/generated/data-contracts").RateLimitList>;
29
+ list(opts: Parameters<typeof this.api.rateLimitList>[1]): Promise<import("../../../clients/rest/generated/data-contracts").RateLimitList>;
30
30
  }
@@ -10,9 +10,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.RatelimitsClient = exports.RateLimitOrderByDirection = exports.RateLimitOrderByField = exports.RateLimitDuration = void 0;
13
- const workflows_1 = require("../../../../protoc/workflows");
13
+ const workflows_1 = require("../../../protoc/workflows");
14
14
  Object.defineProperty(exports, "RateLimitDuration", { enumerable: true, get: function () { return workflows_1.RateLimitDuration; } });
15
- const data_contracts_1 = require("../../../../clients/rest/generated/data-contracts");
15
+ const data_contracts_1 = require("../../../clients/rest/generated/data-contracts");
16
16
  Object.defineProperty(exports, "RateLimitOrderByField", { enumerable: true, get: function () { return data_contracts_1.RateLimitOrderByField; } });
17
17
  Object.defineProperty(exports, "RateLimitOrderByDirection", { enumerable: true, get: function () { return data_contracts_1.RateLimitOrderByDirection; } });
18
18
  /**
@@ -1,6 +1,6 @@
1
- import WorkflowRunRef from '../../../../util/workflow-run-ref';
2
- import { V1TaskStatus } from '../../../../clients/rest/generated/data-contracts';
3
- import { RunListenerClient } from '../../../../clients/listeners/run-listener/child-listener-client';
1
+ import WorkflowRunRef from '../../../util/workflow-run-ref';
2
+ import { V1TaskStatus } from '../../../clients/rest/generated/data-contracts';
3
+ import { RunListenerClient } from '../../../clients/listeners/run-listener/child-listener-client';
4
4
  import { WorkflowsClient } from './workflows';
5
5
  import { HatchetClient } from '../client';
6
6
  export type RunFilter = {
@@ -78,7 +78,7 @@ export declare class RunsClient {
78
78
  * @param run - The ID of the run to get.
79
79
  * @returns A promise that resolves to the run.
80
80
  */
81
- get<T = any>(run: string | WorkflowRunRef<T>): Promise<import("../../../../clients/rest/generated/data-contracts").V1WorkflowRunDetails>;
81
+ get<T = any>(run: string | WorkflowRunRef<T>): Promise<import("../../../clients/rest/generated/data-contracts").V1WorkflowRunDetails>;
82
82
  /**
83
83
  * Gets the status of a task or workflow run by its ID.
84
84
  * @param run - The ID of the run to get the status of.
@@ -90,19 +90,19 @@ export declare class RunsClient {
90
90
  * @param opts - The options for the list operation.
91
91
  * @returns A promise that resolves to the list of runs.
92
92
  */
93
- list(opts?: Partial<ListRunsOpts>): Promise<import("../../../../clients/rest/generated/data-contracts").V1TaskSummaryList>;
93
+ list(opts?: Partial<ListRunsOpts>): Promise<import("../../../clients/rest/generated/data-contracts").V1TaskSummaryList>;
94
94
  /**
95
95
  * Cancels a task or workflow run by its ID.
96
96
  * @param opts - The options for the cancel operation.
97
97
  * @returns A promise that resolves to the cancelled run.
98
98
  */
99
- cancel(opts: CancelRunOpts): Promise<import("axios").AxiosResponse<import("../../../../clients/rest/generated/data-contracts").V1CancelledTasks, any, {}>>;
99
+ cancel(opts: CancelRunOpts): Promise<import("axios").AxiosResponse<import("../../../clients/rest/generated/data-contracts").V1CancelledTasks, any, {}>>;
100
100
  /**
101
101
  * Replays a task or workflow run by its ID.
102
102
  * @param opts - The options for the replay operation.
103
103
  * @returns A promise that resolves to the replayed run.
104
104
  */
105
- replay(opts: ReplayRunOpts): Promise<import("axios").AxiosResponse<import("../../../../clients/rest/generated/data-contracts").V1ReplayedTasks, any, {}>>;
105
+ replay(opts: ReplayRunOpts): Promise<import("axios").AxiosResponse<import("../../../clients/rest/generated/data-contracts").V1ReplayedTasks, any, {}>>;
106
106
  private prepareFilter;
107
107
  private prepareListFilter;
108
108
  /**
@@ -33,8 +33,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
33
33
  };
34
34
  Object.defineProperty(exports, "__esModule", { value: true });
35
35
  exports.RunsClient = void 0;
36
- const workflow_run_ref_1 = __importDefault(require("../../../../util/workflow-run-ref"));
37
- const child_listener_client_1 = require("../../../../clients/listeners/run-listener/child-listener-client");
36
+ const workflow_run_ref_1 = __importDefault(require("../../../util/workflow-run-ref"));
37
+ const child_listener_client_1 = require("../../../clients/listeners/run-listener/child-listener-client");
38
38
  /**
39
39
  * The runs client is a client for interacting with task and workflow runs within Hatchet.
40
40
  */
@@ -1,7 +1,7 @@
1
- import { ScheduledWorkflows, ScheduledWorkflowsBulkDeleteFilter, ScheduledWorkflowsBulkDeleteResponse, ScheduledWorkflowsBulkUpdateResponse, ScheduledWorkflowsList } from '../../../../clients/rest/generated/data-contracts';
1
+ import { ScheduledWorkflows, ScheduledWorkflowsBulkDeleteFilter, ScheduledWorkflowsBulkDeleteResponse, ScheduledWorkflowsBulkUpdateResponse, ScheduledWorkflowsList } from '../../../clients/rest/generated/data-contracts';
2
2
  import { z } from 'zod';
3
- import { Workflow } from '../../../../workflow';
4
- import { BaseWorkflowDeclaration, WorkflowDefinition } from '../../../../v1';
3
+ import { Workflow } from '../../../workflow';
4
+ import { BaseWorkflowDeclaration, WorkflowDefinition } from '../..';
5
5
  import { HatchetClient } from '../client';
6
6
  import { WorkflowsClient } from './workflows';
7
7
  /**
@@ -23,8 +23,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
23
23
  exports.ScheduleClient = exports.UpdateScheduledRunTriggerSchema = exports.CreateScheduledRunTriggerSchema = void 0;
24
24
  const zod_1 = require("zod");
25
25
  const axios_1 = require("axios");
26
- const uuid_1 = require("../../../../util/uuid");
27
- const apply_namespace_1 = require("../../../../util/apply-namespace");
26
+ const uuid_1 = require("../../../util/uuid");
27
+ const apply_namespace_1 = require("../../../util/apply-namespace");
28
28
  const workflows_1 = require("./workflows");
29
29
  /**
30
30
  * Schema for creating a Scheduled Run Trigger.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module Tenant Client
3
3
  */
4
- import { Tenant } from '../../../../clients/rest/generated/data-contracts';
4
+ import { Tenant } from '../../../clients/rest/generated/data-contracts';
5
5
  import { HatchetClient } from '../client';
6
6
  /**
7
7
  * Client for managing Tenants
@@ -1,4 +1,4 @@
1
- import { V1CreateWebhookRequestBase, V1UpdateWebhookRequest, V1Webhook, V1WebhookList, V1WebhookSourceName, V1WebhookAPIKeyAuth, V1WebhookBasicAuth, V1WebhookHMACAuth } from '../../../../clients/rest/generated/data-contracts';
1
+ import { V1CreateWebhookRequestBase, V1UpdateWebhookRequest, V1Webhook, V1WebhookList, V1WebhookSourceName, V1WebhookAPIKeyAuth, V1WebhookBasicAuth, V1WebhookHMACAuth } from '../../../clients/rest/generated/data-contracts';
2
2
  import { HatchetClient } from '../client';
3
3
  export type CreateWebhookOptions = V1CreateWebhookRequestBase & {
4
4
  auth: V1WebhookBasicAuth | V1WebhookAPIKeyAuth | V1WebhookHMACAuth;
@@ -21,7 +21,7 @@ var __rest = (this && this.__rest) || function (s, e) {
21
21
  };
22
22
  Object.defineProperty(exports, "__esModule", { value: true });
23
23
  exports.WebhooksClient = void 0;
24
- const data_contracts_1 = require("../../../../clients/rest/generated/data-contracts");
24
+ const data_contracts_1 = require("../../../clients/rest/generated/data-contracts");
25
25
  function getAuthType(auth) {
26
26
  if ('username' in auth && 'password' in auth)
27
27
  return data_contracts_1.V1WebhookAuthType.BASIC;
@@ -1,5 +1,5 @@
1
- import { BaseWorkflowDeclaration, WorkflowDefinition } from '../../../../v1';
2
- import type { LegacyWorkflow } from '../../../../legacy/legacy-transformer';
1
+ import { BaseWorkflowDeclaration, WorkflowDefinition } from '../..';
2
+ import type { LegacyWorkflow } from '../../../legacy/legacy-transformer';
3
3
  import { HatchetClient } from '../client';
4
4
  export declare const workflowNameString: (workflow: string | WorkflowDefinition | BaseWorkflowDeclaration<any, any> | LegacyWorkflow) => string;
5
5
  /**
@@ -10,8 +10,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.WorkflowsClient = exports.workflowNameString = void 0;
13
- const legacy_transformer_1 = require("../../../../legacy/legacy-transformer");
14
- const uuid_1 = require("../../../../util/uuid");
13
+ const legacy_transformer_1 = require("../../../legacy/legacy-transformer");
14
+ const uuid_1 = require("../../../util/uuid");
15
15
  const workflowNameString = (workflow) => {
16
16
  if (typeof workflow === 'string') {
17
17
  return workflow;
@@ -7,17 +7,17 @@
7
7
  * - DurableContext - An extended context for durable tasks that includes additional methods for durable execution.
8
8
  * @module Context
9
9
  */
10
- import { Priority, RunOpts, TaskWorkflowDeclaration, BaseWorkflowDeclaration as WorkflowV1 } from '../../../../v1/declaration';
10
+ import { Priority, RunOpts, TaskWorkflowDeclaration, BaseWorkflowDeclaration as WorkflowV1 } from '../../declaration';
11
11
  import { JsonObject } from '@bufbuild/protobuf';
12
- import { Action } from '../../../../clients/dispatcher/action-listener';
13
- import { Logger, LogLevel } from '../../../../util/logger';
14
- import WorkflowRunRef from '../../../../util/workflow-run-ref';
15
- import { Conditions } from '../../../../v1/conditions';
16
- import { CreateWorkflowDurableTaskOpts, CreateWorkflowTaskOpts } from '../../../../v1/task';
17
- import { OutputType } from '../../../../v1/types';
18
- import { HatchetClient } from '../../../../v1';
19
- import { WorkerLabels } from '../../../../clients/dispatcher/dispatcher-client';
20
- import { NextStep } from '../../../../legacy/step';
12
+ import { Action } from '../../../clients/dispatcher/action-listener';
13
+ import { Logger, LogLevel } from '../../../util/logger';
14
+ import WorkflowRunRef from '../../../util/workflow-run-ref';
15
+ import { Conditions } from '../../conditions';
16
+ import { CreateWorkflowDurableTaskOpts, CreateWorkflowTaskOpts } from '../../task';
17
+ import { OutputType } from '../../types';
18
+ import { HatchetClient } from '../..';
19
+ import { WorkerLabels } from '../../../clients/dispatcher/dispatcher-client';
20
+ import { NextStep } from '../../../legacy/step';
21
21
  import { InternalWorker } from './worker-internal';
22
22
  import { Duration } from '../duration';
23
23
  type TriggerData = Record<string, Record<string, any>>;
@@ -24,14 +24,14 @@ exports.DurableContext = exports.Context = exports.ContextWorker = void 0;
24
24
  */
25
25
  /* eslint-disable no-underscore-dangle */
26
26
  /* eslint-disable max-classes-per-file */
27
- const declaration_1 = require("../../../../v1/declaration");
28
- const hatchet_error_1 = __importDefault(require("../../../../util/errors/hatchet-error"));
29
- const parse_1 = require("../../../../util/parse");
30
- const conditions_1 = require("../../../../v1/conditions");
31
- const transformer_1 = require("../../../../v1/conditions/transformer");
32
- const condition_1 = require("../../../../protoc/v1/shared/condition");
33
- const apply_namespace_1 = require("../../../../util/apply-namespace");
34
- const abort_error_1 = require("../../../../util/abort-error");
27
+ const declaration_1 = require("../../declaration");
28
+ const hatchet_error_1 = __importDefault(require("../../../util/errors/hatchet-error"));
29
+ const parse_1 = require("../../../util/parse");
30
+ const conditions_1 = require("../../conditions");
31
+ const transformer_1 = require("../../conditions/transformer");
32
+ const condition_1 = require("../../../protoc/v1/shared/condition");
33
+ const apply_namespace_1 = require("../../../util/apply-namespace");
34
+ const abort_error_1 = require("../../../util/abort-error");
35
35
  /**
36
36
  * ContextWorker is a wrapper around the V1Worker class that provides a more user-friendly interface for the worker from the context of a run.
37
37
  */
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * Defaults: warnDays=90, errorDays=undefined (error phase disabled unless set).
10
10
  */
11
- import { Logger } from '../../../../../util/logger';
11
+ import { Logger } from '../../../../util/logger';
12
12
  export declare class DeprecationError extends Error {
13
13
  feature: string;
14
14
  constructor(feature: string, message: string);
@@ -3,8 +3,8 @@
3
3
  * instead of `slotConfig`. For backward compatibility with engines
4
4
  * that do not support multiple slot types.
5
5
  */
6
- import { DispatcherClient, WorkerLabels } from '../../../../../clients/dispatcher/dispatcher-client';
7
- import { ActionListener } from '../../../../../clients/dispatcher/action-listener';
6
+ import { DispatcherClient, WorkerLabels } from '../../../../clients/dispatcher/dispatcher-client';
7
+ import { ActionListener } from '../../../../clients/dispatcher/action-listener';
8
8
  export interface LegacyRegistrationOptions {
9
9
  workerName: string;
10
10
  services: string[];
@@ -15,8 +15,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.legacyGetActionListener = legacyGetActionListener;
18
- const dispatcher_client_1 = require("../../../../../clients/dispatcher/dispatcher-client");
19
- const action_listener_1 = require("../../../../../clients/dispatcher/action-listener");
18
+ const dispatcher_client_1 = require("../../../../clients/dispatcher/dispatcher-client");
19
+ const action_listener_1 = require("../../../../clients/dispatcher/action-listener");
20
20
  /**
21
21
  * Registers a worker using the legacy `slots` proto field instead of `slotConfig`.
22
22
  */
@@ -2,8 +2,8 @@
2
2
  * Legacy V1Worker subclass that registers with the old `slots` proto field
3
3
  * instead of `slotConfig`. Used when connected to pre-slot-config engines.
4
4
  */
5
- import { ActionListener } from '../../../../../clients/dispatcher/action-listener';
6
- import { HatchetClient } from '../../../../../v1';
5
+ import { ActionListener } from '../../../../clients/dispatcher/action-listener';
6
+ import { HatchetClient } from '../../..';
7
7
  import { InternalWorker } from '../worker-internal';
8
8
  export declare class LegacyV1Worker extends InternalWorker {
9
9
  private _legacySlotCount;
@@ -1,4 +1,4 @@
1
- import { Logger } from '../../../../util/logger';
1
+ import { Logger } from '../../../util/logger';
2
2
  export declare const workerStatus: {
3
3
  readonly INITIALIZED: "INITIALIZED";
4
4
  readonly STARTING: "STARTING";
@@ -1,11 +1,11 @@
1
- import { Action, ActionListener } from '../../../../clients/dispatcher/action-listener';
2
- import { StepActionEvent, StepActionEventType, GroupKeyActionEvent, GroupKeyActionEventType } from '../../../../protoc/dispatcher';
3
- import HatchetPromise from '../../../../util/hatchet-promise/hatchet-promise';
4
- import { CreateStepRateLimit } from '../../../../protoc/workflows';
5
- import { Logger } from '../../../../util/logger';
6
- import { BaseWorkflowDeclaration, WorkflowDefinition, HatchetClient } from '../../../../v1';
7
- import { CreateWorkflowTaskOpts } from '../../../../v1/task';
8
- import { WorkerLabels } from '../../../../clients/dispatcher/dispatcher-client';
1
+ import { Action, ActionListener } from '../../../clients/dispatcher/action-listener';
2
+ import { StepActionEvent, StepActionEventType, GroupKeyActionEvent, GroupKeyActionEventType } from '../../../protoc/dispatcher';
3
+ import HatchetPromise from '../../../util/hatchet-promise/hatchet-promise';
4
+ import { CreateStepRateLimit } from '../../../protoc/workflows';
5
+ import { Logger } from '../../../util/logger';
6
+ import { BaseWorkflowDeclaration, WorkflowDefinition, HatchetClient } from '../..';
7
+ import { CreateWorkflowTaskOpts } from '../../task';
8
+ import { WorkerLabels } from '../../../clients/dispatcher/dispatcher-client';
9
9
  import { Context } from './context';
10
10
  import { SlotConfig } from '../../slot-types';
11
11
  export type ActionRegistry = Record<Action['actionId'], Function>;
@@ -23,17 +23,17 @@ exports.InternalWorker = void 0;
23
23
  exports.mapRateLimitPb = mapRateLimitPb;
24
24
  /* eslint-disable no-underscore-dangle */
25
25
  /* eslint-disable no-nested-ternary */
26
- const hatchet_error_1 = __importDefault(require("../../../../util/errors/hatchet-error"));
27
- const dispatcher_1 = require("../../../../protoc/dispatcher");
28
- const hatchet_promise_1 = __importDefault(require("../../../../util/hatchet-promise/hatchet-promise"));
29
- const workflows_1 = require("../../../../protoc/workflows");
30
- const logger_1 = require("../../../../util/logger");
31
- const task_1 = require("../../../../v1/task");
32
- const transformer_1 = require("../../../../v1/conditions/transformer");
26
+ const hatchet_error_1 = __importDefault(require("../../../util/errors/hatchet-error"));
27
+ const dispatcher_1 = require("../../../protoc/dispatcher");
28
+ const hatchet_promise_1 = __importDefault(require("../../../util/hatchet-promise/hatchet-promise"));
29
+ const workflows_1 = require("../../../protoc/workflows");
30
+ const logger_1 = require("../../../util/logger");
31
+ const task_1 = require("../../task");
32
+ const transformer_1 = require("../../conditions/transformer");
33
33
  const zod_to_json_schema_1 = require("zod-to-json-schema");
34
- const apply_namespace_1 = require("../../../../util/apply-namespace");
35
- const sleep_1 = __importDefault(require("../../../../util/sleep"));
36
- const abort_error_1 = require("../../../../util/abort-error");
34
+ const apply_namespace_1 = require("../../../util/apply-namespace");
35
+ const sleep_1 = __importDefault(require("../../../util/sleep"));
36
+ const abort_error_1 = require("../../../util/abort-error");
37
37
  const context_1 = require("./context");
38
38
  const parent_run_context_vars_1 = require("../../parent-run-context-vars");
39
39
  const health_server_1 = require("./health-server");
@@ -1,4 +1,4 @@
1
- import { WorkerLabels } from '../../../../clients/dispatcher/dispatcher-client';
1
+ import { WorkerLabels } from '../../../clients/dispatcher/dispatcher-client';
2
2
  import { BaseWorkflowDeclaration } from '../../declaration';
3
3
  import type { LegacyWorkflow } from '../../../legacy/legacy-transformer';
4
4
  import { HatchetClient } from '../..';
@@ -13,7 +13,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
13
13
  };
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.__testing = exports.Worker = void 0;
16
- const sleep_1 = __importDefault(require("../../../../util/sleep"));
16
+ const sleep_1 = __importDefault(require("../../../util/sleep"));
17
17
  const legacy_transformer_1 = require("../../../legacy/legacy-transformer");
18
18
  const worker_internal_1 = require("./worker-internal");
19
19
  const slot_utils_1 = require("./slot-utils");
@@ -1,4 +1,4 @@
1
- import { TaskConditions } from '../../../protoc/v1/shared/condition';
1
+ import { TaskConditions } from '../../protoc/v1/shared/condition';
2
2
  import { CreateWorkflowTaskOpts } from '../task';
3
3
  import { Condition } from './base';
4
4
  export declare function taskConditionsToPb(task: Omit<CreateWorkflowTaskOpts<any, any>, 'fn'>): TaskConditions;
@@ -5,10 +5,10 @@
5
5
  * - `TaskWorkflowDeclaration`, returned by `hatchet.task(...)`, which is a single standalone task that exposes the same execution helpers as a workflow.
6
6
  * @module Runnables
7
7
  */
8
- import WorkflowRunRef from '../../util/workflow-run-ref';
9
- import { CronWorkflows, ScheduledWorkflows, V1CreateFilterRequest } from '../../clients/rest/generated/data-contracts';
8
+ import WorkflowRunRef from '../util/workflow-run-ref';
9
+ import { CronWorkflows, ScheduledWorkflows, V1CreateFilterRequest } from '../clients/rest/generated/data-contracts';
10
10
  import { z } from 'zod';
11
- import { WorkerLabelComparator } from '../../protoc/v1/workflows';
11
+ import { WorkerLabelComparator } from '../protoc/v1/workflows';
12
12
  import { IHatchetClient } from './client/client.interface';
13
13
  import { CreateWorkflowTaskOpts, CreateOnFailureTaskOpts, TaskFn, CreateWorkflowDurableTaskOpts, CreateBaseTaskOpts, CreateOnSuccessTaskOpts, Concurrency, DurableTaskFn } from './task';
14
14
  import { Duration } from './client/duration';
@@ -328,7 +328,7 @@ export declare class BaseWorkflowDeclaration<I extends InputType = UnknownInputT
328
328
  * @returns A promise that resolves with the workflow state.
329
329
  * @throws Error if the workflow is not bound to a Hatchet client.
330
330
  */
331
- get(): Promise<import("../../clients/rest/generated/data-contracts").Workflow>;
331
+ get(): Promise<import("../clients/rest/generated/data-contracts").Workflow>;
332
332
  /**
333
333
  * @deprecated use definition.name instead
334
334
  * @hidden
@@ -13,7 +13,7 @@ exports.TaskWorkflowDeclaration = exports.WorkflowDeclaration = exports.BaseWork
13
13
  exports.CreateTaskWorkflow = CreateTaskWorkflow;
14
14
  exports.CreateWorkflow = CreateWorkflow;
15
15
  exports.CreateDurableTaskWorkflow = CreateDurableTaskWorkflow;
16
- const abort_error_1 = require("../../util/abort-error");
16
+ const abort_error_1 = require("../util/abort-error");
17
17
  const parent_run_context_vars_1 = require("./parent-run-context-vars");
18
18
  const UNBOUND_ERR = new Error('workflow unbound to hatchet client, hint: use client.run instead');
19
19
  // eslint-disable-next-line no-shadow
@@ -1,5 +1,5 @@
1
- import { HatchetClient } from '../../../../v1';
2
- import type { BaseWorkflowDeclaration } from '../../../../v1';
1
+ import { HatchetClient } from '../..';
2
+ import type { BaseWorkflowDeclaration } from '../..';
3
3
  import { Worker } from '../../client/worker/worker';
4
4
  export declare function requireEnv(name: string): string;
5
5
  export declare function makeE2EClient(): HatchetClient;
@@ -18,9 +18,9 @@ exports.makeTestScope = makeTestScope;
18
18
  exports.startWorker = startWorker;
19
19
  exports.stopWorker = stopWorker;
20
20
  exports.poll = poll;
21
- const sleep_1 = __importDefault(require("../../../../util/sleep"));
21
+ const sleep_1 = __importDefault(require("../../../util/sleep"));
22
22
  const crypto_1 = require("crypto");
23
- const v1_1 = require("../../../../v1");
23
+ const v1_1 = require("../..");
24
24
  function requireEnv(name) {
25
25
  const value = process.env[name];
26
26
  if (!value) {
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- const v1_1 = require("../../../../v1");
12
+ const v1_1 = require("../..");
13
13
  const hatchet_client_1 = require("../hatchet-client");
14
14
  // > AffinityWorkflow
15
15
  const workflow = hatchet_client_1.hatchet.workflow({
@@ -14,7 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.abortSignal = exports.cancellationWorkflow = void 0;
16
16
  const axios_1 = __importDefault(require("axios"));
17
- const sleep_1 = __importDefault(require("../../../../util/sleep"));
17
+ const sleep_1 = __importDefault(require("../../../util/sleep"));
18
18
  const hatchet_client_1 = require("../hatchet-client");
19
19
  // > Self-cancelling workflow (mirrors Python example)
20
20
  exports.cancellationWorkflow = hatchet_client_1.hatchet.workflow({
@@ -14,7 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  /* eslint-disable no-console */
16
16
  // > Running a Task with Results
17
- const sleep_1 = __importDefault(require("../../../../util/sleep"));
17
+ const sleep_1 = __importDefault(require("../../../util/sleep"));
18
18
  const cancellation_workflow_1 = require("./cancellation-workflow");
19
19
  const hatchet_client_1 = require("../hatchet-client");
20
20
  // ...
@@ -14,7 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  /* eslint-disable no-console */
16
16
  // > Running a Task with Results
17
- const sleep_1 = __importDefault(require("../../../../util/sleep"));
17
+ const sleep_1 = __importDefault(require("../../../util/sleep"));
18
18
  const workflow_1 = require("./workflow");
19
19
  const hatchet_client_1 = require("../hatchet-client");
20
20
  // ...
@@ -13,7 +13,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
13
13
  };
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.abortSignal = exports.cancellation = void 0;
16
- const sleep_1 = __importDefault(require("../../../../util/sleep"));
16
+ const sleep_1 = __importDefault(require("../../../util/sleep"));
17
17
  const axios_1 = __importDefault(require("axios"));
18
18
  const hatchet_client_1 = require("../hatchet-client");
19
19
  // > Declaring a Task