@proompteng/temporal-bun-sdk 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (448) hide show
  1. package/README.md +387 -0
  2. package/dist/bin/start-worker.js +3 -0
  3. package/dist/bin/temporal-bun.js +3 -0
  4. package/dist/src/activities/index.d.ts +6 -0
  5. package/dist/src/activities/index.d.ts.map +1 -0
  6. package/dist/src/activities/index.js +5 -0
  7. package/dist/src/activities/index.js.map +1 -0
  8. package/dist/src/activities/lifecycle.d.ts +48 -0
  9. package/dist/src/activities/lifecycle.d.ts.map +1 -0
  10. package/dist/src/activities/lifecycle.js +306 -0
  11. package/dist/src/activities/lifecycle.js.map +1 -0
  12. package/dist/src/bin/replay-command.d.ts +104 -0
  13. package/dist/src/bin/replay-command.d.ts.map +1 -0
  14. package/dist/src/bin/replay-command.js +582 -0
  15. package/dist/src/bin/replay-command.js.map +1 -0
  16. package/dist/src/bin/start-worker.d.ts +3 -0
  17. package/dist/src/bin/start-worker.d.ts.map +1 -0
  18. package/dist/src/bin/start-worker.js +29 -0
  19. package/dist/src/bin/start-worker.js.map +1 -0
  20. package/dist/src/bin/temporal-bun.d.ts +25 -0
  21. package/dist/src/bin/temporal-bun.d.ts.map +1 -0
  22. package/dist/src/bin/temporal-bun.js +427 -0
  23. package/dist/src/bin/temporal-bun.js.map +1 -0
  24. package/dist/src/build_id_preflight.d.ts +7 -0
  25. package/dist/src/build_id_preflight.d.ts.map +1 -0
  26. package/dist/src/build_id_preflight.js +123 -0
  27. package/dist/src/build_id_preflight.js.map +1 -0
  28. package/dist/src/client/headers.d.ts +4 -0
  29. package/dist/src/client/headers.d.ts.map +1 -0
  30. package/dist/src/client/headers.js +79 -0
  31. package/dist/src/client/headers.js.map +1 -0
  32. package/dist/src/client/index.d.ts +2 -0
  33. package/dist/src/client/index.d.ts.map +1 -0
  34. package/dist/src/client/index.js +2 -0
  35. package/dist/src/client/index.js.map +1 -0
  36. package/dist/src/client/interceptors.d.ts +17 -0
  37. package/dist/src/client/interceptors.d.ts.map +1 -0
  38. package/dist/src/client/interceptors.js +71 -0
  39. package/dist/src/client/interceptors.js.map +1 -0
  40. package/dist/src/client/layer.d.ts +10 -0
  41. package/dist/src/client/layer.d.ts.map +1 -0
  42. package/dist/src/client/layer.js +7 -0
  43. package/dist/src/client/layer.js.map +1 -0
  44. package/dist/src/client/retries.d.ts +13 -0
  45. package/dist/src/client/retries.d.ts.map +1 -0
  46. package/dist/src/client/retries.js +51 -0
  47. package/dist/src/client/retries.js.map +1 -0
  48. package/dist/src/client/serialization.d.ts +48 -0
  49. package/dist/src/client/serialization.d.ts.map +1 -0
  50. package/dist/src/client/serialization.js +310 -0
  51. package/dist/src/client/serialization.js.map +1 -0
  52. package/dist/src/client/serialization.test.d.ts +2 -0
  53. package/dist/src/client/serialization.test.d.ts.map +1 -0
  54. package/dist/src/client/serialization.test.js +251 -0
  55. package/dist/src/client/serialization.test.js.map +1 -0
  56. package/dist/src/client/transport.d.ts +12 -0
  57. package/dist/src/client/transport.d.ts.map +1 -0
  58. package/dist/src/client/transport.js +36 -0
  59. package/dist/src/client/transport.js.map +1 -0
  60. package/dist/src/client/types.d.ts +51 -0
  61. package/dist/src/client/types.d.ts.map +1 -0
  62. package/dist/src/client/types.js +7 -0
  63. package/dist/src/client/types.js.map +1 -0
  64. package/dist/src/client.d.ts +92 -0
  65. package/dist/src/client.d.ts.map +1 -0
  66. package/dist/src/client.js +666 -0
  67. package/dist/src/client.js.map +1 -0
  68. package/dist/src/common/duration.d.ts +4 -0
  69. package/dist/src/common/duration.d.ts.map +1 -0
  70. package/dist/src/common/duration.js +14 -0
  71. package/dist/src/common/duration.js.map +1 -0
  72. package/dist/src/common/index.d.ts +2 -0
  73. package/dist/src/common/index.d.ts.map +1 -0
  74. package/dist/src/common/index.js +2 -0
  75. package/dist/src/common/index.js.map +1 -0
  76. package/dist/src/common/payloads/converter.d.ts +16 -0
  77. package/dist/src/common/payloads/converter.d.ts.map +1 -0
  78. package/dist/src/common/payloads/converter.js +33 -0
  79. package/dist/src/common/payloads/converter.js.map +1 -0
  80. package/dist/src/common/payloads/failure.d.ts +7 -0
  81. package/dist/src/common/payloads/failure.d.ts.map +1 -0
  82. package/dist/src/common/payloads/failure.js +53 -0
  83. package/dist/src/common/payloads/failure.js.map +1 -0
  84. package/dist/src/common/payloads/index.d.ts +4 -0
  85. package/dist/src/common/payloads/index.d.ts.map +1 -0
  86. package/dist/src/common/payloads/index.js +4 -0
  87. package/dist/src/common/payloads/index.js.map +1 -0
  88. package/dist/src/common/payloads/json-codec.d.ts +16 -0
  89. package/dist/src/common/payloads/json-codec.d.ts.map +1 -0
  90. package/dist/src/common/payloads/json-codec.js +185 -0
  91. package/dist/src/common/payloads/json-codec.js.map +1 -0
  92. package/dist/src/common/sleep.d.ts +2 -0
  93. package/dist/src/common/sleep.d.ts.map +1 -0
  94. package/dist/src/common/sleep.js +3 -0
  95. package/dist/src/common/sleep.js.map +1 -0
  96. package/dist/src/config.d.ts +115 -0
  97. package/dist/src/config.d.ts.map +1 -0
  98. package/dist/src/config.js +505 -0
  99. package/dist/src/config.js.map +1 -0
  100. package/dist/src/core-bridge/client.d.ts +36 -0
  101. package/dist/src/core-bridge/client.d.ts.map +1 -0
  102. package/dist/src/core-bridge/client.js +111 -0
  103. package/dist/src/core-bridge/client.js.map +1 -0
  104. package/dist/src/core-bridge/index.d.ts +4 -0
  105. package/dist/src/core-bridge/index.d.ts.map +1 -0
  106. package/dist/src/core-bridge/index.js +4 -0
  107. package/dist/src/core-bridge/index.js.map +1 -0
  108. package/dist/src/core-bridge/runtime.d.ts +20 -0
  109. package/dist/src/core-bridge/runtime.d.ts.map +1 -0
  110. package/dist/src/core-bridge/runtime.js +62 -0
  111. package/dist/src/core-bridge/runtime.js.map +1 -0
  112. package/dist/src/core-bridge/runtime.test.d.ts +2 -0
  113. package/dist/src/core-bridge/runtime.test.d.ts.map +1 -0
  114. package/dist/src/core-bridge/runtime.test.js +68 -0
  115. package/dist/src/core-bridge/runtime.test.js.map +1 -0
  116. package/dist/src/index.d.ts +11 -0
  117. package/dist/src/index.d.ts.map +1 -0
  118. package/dist/src/index.js +7 -0
  119. package/dist/src/index.js.map +1 -0
  120. package/dist/src/internal/core-bridge/native.d.ts +176 -0
  121. package/dist/src/internal/core-bridge/native.d.ts.map +1 -0
  122. package/dist/src/internal/core-bridge/native.js +1208 -0
  123. package/dist/src/internal/core-bridge/native.js.map +1 -0
  124. package/dist/src/observability/index.d.ts +21 -0
  125. package/dist/src/observability/index.d.ts.map +1 -0
  126. package/dist/src/observability/index.js +19 -0
  127. package/dist/src/observability/index.js.map +1 -0
  128. package/dist/src/observability/logger.d.ts +28 -0
  129. package/dist/src/observability/logger.d.ts.map +1 -0
  130. package/dist/src/observability/logger.js +53 -0
  131. package/dist/src/observability/logger.js.map +1 -0
  132. package/dist/src/observability/metrics.d.ts +28 -0
  133. package/dist/src/observability/metrics.d.ts.map +1 -0
  134. package/dist/src/observability/metrics.js +355 -0
  135. package/dist/src/observability/metrics.js.map +1 -0
  136. package/dist/src/proto/google/api/annotations_pb.d.ts +14 -0
  137. package/dist/src/proto/google/api/annotations_pb.d.ts.map +1 -0
  138. package/dist/src/proto/google/api/annotations_pb.js +27 -0
  139. package/dist/src/proto/google/api/annotations_pb.js.map +1 -0
  140. package/dist/src/proto/google/api/http_pb.d.ts +441 -0
  141. package/dist/src/proto/google/api/http_pb.d.ts.map +1 -0
  142. package/dist/src/proto/google/api/http_pb.js +34 -0
  143. package/dist/src/proto/google/api/http_pb.js.map +1 -0
  144. package/dist/src/proto/temporal/api/activity/v1/message_pb.d.ts +67 -0
  145. package/dist/src/proto/temporal/api/activity/v1/message_pb.d.ts.map +1 -0
  146. package/dist/src/proto/temporal/api/activity/v1/message_pb.js +17 -0
  147. package/dist/src/proto/temporal/api/activity/v1/message_pb.js.map +1 -0
  148. package/dist/src/proto/temporal/api/batch/v1/message_pb.d.ts +464 -0
  149. package/dist/src/proto/temporal/api/batch/v1/message_pb.d.ts.map +1 -0
  150. package/dist/src/proto/temporal/api/batch/v1/message_pb.js +71 -0
  151. package/dist/src/proto/temporal/api/batch/v1/message_pb.js.map +1 -0
  152. package/dist/src/proto/temporal/api/command/v1/message_pb.d.ts +796 -0
  153. package/dist/src/proto/temporal/api/command/v1/message_pb.d.ts.map +1 -0
  154. package/dist/src/proto/temporal/api/command/v1/message_pb.js +106 -0
  155. package/dist/src/proto/temporal/api/command/v1/message_pb.js.map +1 -0
  156. package/dist/src/proto/temporal/api/common/v1/message_pb.d.ts +751 -0
  157. package/dist/src/proto/temporal/api/common/v1/message_pb.d.ts.map +1 -0
  158. package/dist/src/proto/temporal/api/common/v1/message_pb.js +133 -0
  159. package/dist/src/proto/temporal/api/common/v1/message_pb.js.map +1 -0
  160. package/dist/src/proto/temporal/api/deployment/v1/message_pb.d.ts +639 -0
  161. package/dist/src/proto/temporal/api/deployment/v1/message_pb.d.ts.map +1 -0
  162. package/dist/src/proto/temporal/api/deployment/v1/message_pb.js +83 -0
  163. package/dist/src/proto/temporal/api/deployment/v1/message_pb.js.map +1 -0
  164. package/dist/src/proto/temporal/api/enums/v1/batch_operation_pb.d.ts +80 -0
  165. package/dist/src/proto/temporal/api/enums/v1/batch_operation_pb.d.ts.map +1 -0
  166. package/dist/src/proto/temporal/api/enums/v1/batch_operation_pb.js +85 -0
  167. package/dist/src/proto/temporal/api/enums/v1/batch_operation_pb.js.map +1 -0
  168. package/dist/src/proto/temporal/api/enums/v1/command_type_pb.d.ts +89 -0
  169. package/dist/src/proto/temporal/api/enums/v1/command_type_pb.d.ts.map +1 -0
  170. package/dist/src/proto/temporal/api/enums/v1/command_type_pb.js +93 -0
  171. package/dist/src/proto/temporal/api/enums/v1/command_type_pb.js.map +1 -0
  172. package/dist/src/proto/temporal/api/enums/v1/common_pb.d.ts +314 -0
  173. package/dist/src/proto/temporal/api/enums/v1/common_pb.d.ts.map +1 -0
  174. package/dist/src/proto/temporal/api/enums/v1/common_pb.js +326 -0
  175. package/dist/src/proto/temporal/api/enums/v1/common_pb.js.map +1 -0
  176. package/dist/src/proto/temporal/api/enums/v1/deployment_pb.d.ts +186 -0
  177. package/dist/src/proto/temporal/api/enums/v1/deployment_pb.d.ts.map +1 -0
  178. package/dist/src/proto/temporal/api/enums/v1/deployment_pb.js +193 -0
  179. package/dist/src/proto/temporal/api/enums/v1/deployment_pb.js.map +1 -0
  180. package/dist/src/proto/temporal/api/enums/v1/event_type_pb.d.ts +407 -0
  181. package/dist/src/proto/temporal/api/enums/v1/event_type_pb.d.ts.map +1 -0
  182. package/dist/src/proto/temporal/api/enums/v1/event_type_pb.js +411 -0
  183. package/dist/src/proto/temporal/api/enums/v1/event_type_pb.js.map +1 -0
  184. package/dist/src/proto/temporal/api/enums/v1/failed_cause_pb.d.ts +371 -0
  185. package/dist/src/proto/temporal/api/enums/v1/failed_cause_pb.d.ts.map +1 -0
  186. package/dist/src/proto/temporal/api/enums/v1/failed_cause_pb.js +380 -0
  187. package/dist/src/proto/temporal/api/enums/v1/failed_cause_pb.js.map +1 -0
  188. package/dist/src/proto/temporal/api/enums/v1/namespace_pb.d.ts +73 -0
  189. package/dist/src/proto/temporal/api/enums/v1/namespace_pb.d.ts.map +1 -0
  190. package/dist/src/proto/temporal/api/enums/v1/namespace_pb.js +79 -0
  191. package/dist/src/proto/temporal/api/enums/v1/namespace_pb.js.map +1 -0
  192. package/dist/src/proto/temporal/api/enums/v1/nexus_pb.d.ts +35 -0
  193. package/dist/src/proto/temporal/api/enums/v1/nexus_pb.d.ts.map +1 -0
  194. package/dist/src/proto/temporal/api/enums/v1/nexus_pb.js +39 -0
  195. package/dist/src/proto/temporal/api/enums/v1/nexus_pb.js.map +1 -0
  196. package/dist/src/proto/temporal/api/enums/v1/query_pb.d.ts +58 -0
  197. package/dist/src/proto/temporal/api/enums/v1/query_pb.d.ts.map +1 -0
  198. package/dist/src/proto/temporal/api/enums/v1/query_pb.js +63 -0
  199. package/dist/src/proto/temporal/api/enums/v1/query_pb.js.map +1 -0
  200. package/dist/src/proto/temporal/api/enums/v1/reset_pb.d.ts +108 -0
  201. package/dist/src/proto/temporal/api/enums/v1/reset_pb.d.ts.map +1 -0
  202. package/dist/src/proto/temporal/api/enums/v1/reset_pb.js +114 -0
  203. package/dist/src/proto/temporal/api/enums/v1/reset_pb.js.map +1 -0
  204. package/dist/src/proto/temporal/api/enums/v1/schedule_pb.d.ts +67 -0
  205. package/dist/src/proto/temporal/api/enums/v1/schedule_pb.d.ts.map +1 -0
  206. package/dist/src/proto/temporal/api/enums/v1/schedule_pb.js +71 -0
  207. package/dist/src/proto/temporal/api/enums/v1/schedule_pb.js.map +1 -0
  208. package/dist/src/proto/temporal/api/enums/v1/task_queue_pb.d.ts +249 -0
  209. package/dist/src/proto/temporal/api/enums/v1/task_queue_pb.d.ts.map +1 -0
  210. package/dist/src/proto/temporal/api/enums/v1/task_queue_pb.js +259 -0
  211. package/dist/src/proto/temporal/api/enums/v1/task_queue_pb.js.map +1 -0
  212. package/dist/src/proto/temporal/api/enums/v1/update_pb.d.ts +78 -0
  213. package/dist/src/proto/temporal/api/enums/v1/update_pb.d.ts.map +1 -0
  214. package/dist/src/proto/temporal/api/enums/v1/update_pb.js +83 -0
  215. package/dist/src/proto/temporal/api/enums/v1/update_pb.js.map +1 -0
  216. package/dist/src/proto/temporal/api/enums/v1/workflow_pb.d.ts +408 -0
  217. package/dist/src/proto/temporal/api/enums/v1/workflow_pb.d.ts.map +1 -0
  218. package/dist/src/proto/temporal/api/enums/v1/workflow_pb.js +422 -0
  219. package/dist/src/proto/temporal/api/enums/v1/workflow_pb.js.map +1 -0
  220. package/dist/src/proto/temporal/api/errordetails/v1/message_pb.d.ts +331 -0
  221. package/dist/src/proto/temporal/api/errordetails/v1/message_pb.d.ts.map +1 -0
  222. package/dist/src/proto/temporal/api/errordetails/v1/message_pb.js +104 -0
  223. package/dist/src/proto/temporal/api/errordetails/v1/message_pb.js.map +1 -0
  224. package/dist/src/proto/temporal/api/export/v1/message_pb.d.ts +39 -0
  225. package/dist/src/proto/temporal/api/export/v1/message_pb.d.ts.map +1 -0
  226. package/dist/src/proto/temporal/api/export/v1/message_pb.js +20 -0
  227. package/dist/src/proto/temporal/api/export/v1/message_pb.js.map +1 -0
  228. package/dist/src/proto/temporal/api/failure/v1/message_pb.d.ts +381 -0
  229. package/dist/src/proto/temporal/api/failure/v1/message_pb.d.ts.map +1 -0
  230. package/dist/src/proto/temporal/api/failure/v1/message_pb.js +74 -0
  231. package/dist/src/proto/temporal/api/failure/v1/message_pb.js.map +1 -0
  232. package/dist/src/proto/temporal/api/filter/v1/message_pb.d.ts +73 -0
  233. package/dist/src/proto/temporal/api/filter/v1/message_pb.d.ts.map +1 -0
  234. package/dist/src/proto/temporal/api/filter/v1/message_pb.js +31 -0
  235. package/dist/src/proto/temporal/api/filter/v1/message_pb.js.map +1 -0
  236. package/dist/src/proto/temporal/api/history/v1/message_pb.d.ts +3136 -0
  237. package/dist/src/proto/temporal/api/history/v1/message_pb.d.ts.map +1 -0
  238. package/dist/src/proto/temporal/api/history/v1/message_pb.js +317 -0
  239. package/dist/src/proto/temporal/api/history/v1/message_pb.js.map +1 -0
  240. package/dist/src/proto/temporal/api/namespace/v1/message_pb.d.ts +242 -0
  241. package/dist/src/proto/temporal/api/namespace/v1/message_pb.d.ts.map +1 -0
  242. package/dist/src/proto/temporal/api/namespace/v1/message_pb.js +46 -0
  243. package/dist/src/proto/temporal/api/namespace/v1/message_pb.js.map +1 -0
  244. package/dist/src/proto/temporal/api/nexus/v1/message_pb.d.ts +549 -0
  245. package/dist/src/proto/temporal/api/nexus/v1/message_pb.d.ts.map +1 -0
  246. package/dist/src/proto/temporal/api/nexus/v1/message_pb.js +97 -0
  247. package/dist/src/proto/temporal/api/nexus/v1/message_pb.js.map +1 -0
  248. package/dist/src/proto/temporal/api/operatorservice/v1/request_response_pb.d.ts +499 -0
  249. package/dist/src/proto/temporal/api/operatorservice/v1/request_response_pb.d.ts.map +1 -0
  250. package/dist/src/proto/temporal/api/operatorservice/v1/request_response_pb.js +137 -0
  251. package/dist/src/proto/temporal/api/operatorservice/v1/request_response_pb.js.map +1 -0
  252. package/dist/src/proto/temporal/api/operatorservice/v1/service_pb.d.ts +153 -0
  253. package/dist/src/proto/temporal/api/operatorservice/v1/service_pb.d.ts.map +1 -0
  254. package/dist/src/proto/temporal/api/operatorservice/v1/service_pb.js +22 -0
  255. package/dist/src/proto/temporal/api/operatorservice/v1/service_pb.js.map +1 -0
  256. package/dist/src/proto/temporal/api/protocol/v1/message_pb.d.ts +64 -0
  257. package/dist/src/proto/temporal/api/protocol/v1/message_pb.d.ts.map +1 -0
  258. package/dist/src/proto/temporal/api/protocol/v1/message_pb.js +15 -0
  259. package/dist/src/proto/temporal/api/protocol/v1/message_pb.js.map +1 -0
  260. package/dist/src/proto/temporal/api/query/v1/message_pb.d.ts +96 -0
  261. package/dist/src/proto/temporal/api/query/v1/message_pb.d.ts.map +1 -0
  262. package/dist/src/proto/temporal/api/query/v1/message_pb.js +28 -0
  263. package/dist/src/proto/temporal/api/query/v1/message_pb.js.map +1 -0
  264. package/dist/src/proto/temporal/api/replication/v1/message_pb.d.ts +67 -0
  265. package/dist/src/proto/temporal/api/replication/v1/message_pb.d.ts.map +1 -0
  266. package/dist/src/proto/temporal/api/replication/v1/message_pb.js +26 -0
  267. package/dist/src/proto/temporal/api/replication/v1/message_pb.js.map +1 -0
  268. package/dist/src/proto/temporal/api/rules/v1/message_pb.d.ts +172 -0
  269. package/dist/src/proto/temporal/api/rules/v1/message_pb.d.ts.map +1 -0
  270. package/dist/src/proto/temporal/api/rules/v1/message_pb.js +35 -0
  271. package/dist/src/proto/temporal/api/rules/v1/message_pb.js.map +1 -0
  272. package/dist/src/proto/temporal/api/schedule/v1/message_pb.d.ts +779 -0
  273. package/dist/src/proto/temporal/api/schedule/v1/message_pb.d.ts.map +1 -0
  274. package/dist/src/proto/temporal/api/schedule/v1/message_pb.js +95 -0
  275. package/dist/src/proto/temporal/api/schedule/v1/message_pb.js.map +1 -0
  276. package/dist/src/proto/temporal/api/sdk/v1/enhanced_stack_trace_pb.d.ts +157 -0
  277. package/dist/src/proto/temporal/api/sdk/v1/enhanced_stack_trace_pb.d.ts.map +1 -0
  278. package/dist/src/proto/temporal/api/sdk/v1/enhanced_stack_trace_pb.js +34 -0
  279. package/dist/src/proto/temporal/api/sdk/v1/enhanced_stack_trace_pb.js.map +1 -0
  280. package/dist/src/proto/temporal/api/sdk/v1/task_complete_metadata_pb.d.ts +71 -0
  281. package/dist/src/proto/temporal/api/sdk/v1/task_complete_metadata_pb.d.ts.map +1 -0
  282. package/dist/src/proto/temporal/api/sdk/v1/task_complete_metadata_pb.js +14 -0
  283. package/dist/src/proto/temporal/api/sdk/v1/task_complete_metadata_pb.js.map +1 -0
  284. package/dist/src/proto/temporal/api/sdk/v1/user_metadata_pb.d.ts +37 -0
  285. package/dist/src/proto/temporal/api/sdk/v1/user_metadata_pb.d.ts.map +1 -0
  286. package/dist/src/proto/temporal/api/sdk/v1/user_metadata_pb.js +15 -0
  287. package/dist/src/proto/temporal/api/sdk/v1/user_metadata_pb.js.map +1 -0
  288. package/dist/src/proto/temporal/api/sdk/v1/worker_config_pb.d.ts +84 -0
  289. package/dist/src/proto/temporal/api/sdk/v1/worker_config_pb.d.ts.map +1 -0
  290. package/dist/src/proto/temporal/api/sdk/v1/worker_config_pb.js +24 -0
  291. package/dist/src/proto/temporal/api/sdk/v1/worker_config_pb.js.map +1 -0
  292. package/dist/src/proto/temporal/api/sdk/v1/workflow_metadata_pb.d.ts +99 -0
  293. package/dist/src/proto/temporal/api/sdk/v1/workflow_metadata_pb.d.ts.map +1 -0
  294. package/dist/src/proto/temporal/api/sdk/v1/workflow_metadata_pb.js +24 -0
  295. package/dist/src/proto/temporal/api/sdk/v1/workflow_metadata_pb.js.map +1 -0
  296. package/dist/src/proto/temporal/api/taskqueue/v1/message_pb.d.ts +757 -0
  297. package/dist/src/proto/temporal/api/taskqueue/v1/message_pb.d.ts.map +1 -0
  298. package/dist/src/proto/temporal/api/taskqueue/v1/message_pb.js +138 -0
  299. package/dist/src/proto/temporal/api/taskqueue/v1/message_pb.js.map +1 -0
  300. package/dist/src/proto/temporal/api/update/v1/message_pb.d.ts +230 -0
  301. package/dist/src/proto/temporal/api/update/v1/message_pb.d.ts.map +1 -0
  302. package/dist/src/proto/temporal/api/update/v1/message_pb.js +57 -0
  303. package/dist/src/proto/temporal/api/update/v1/message_pb.js.map +1 -0
  304. package/dist/src/proto/temporal/api/version/v1/message_pb.d.ts +85 -0
  305. package/dist/src/proto/temporal/api/version/v1/message_pb.d.ts.map +1 -0
  306. package/dist/src/proto/temporal/api/version/v1/message_pb.js +26 -0
  307. package/dist/src/proto/temporal/api/version/v1/message_pb.js.map +1 -0
  308. package/dist/src/proto/temporal/api/worker/v1/message_pb.d.ts +311 -0
  309. package/dist/src/proto/temporal/api/worker/v1/message_pb.d.ts.map +1 -0
  310. package/dist/src/proto/temporal/api/worker/v1/message_pb.js +42 -0
  311. package/dist/src/proto/temporal/api/worker/v1/message_pb.js.map +1 -0
  312. package/dist/src/proto/temporal/api/workflow/v1/message_pb.d.ts +1500 -0
  313. package/dist/src/proto/temporal/api/workflow/v1/message_pb.d.ts.map +1 -0
  314. package/dist/src/proto/temporal/api/workflow/v1/message_pb.js +183 -0
  315. package/dist/src/proto/temporal/api/workflow/v1/message_pb.js.map +1 -0
  316. package/dist/src/proto/temporal/api/workflowservice/v1/request_response_pb.d.ts +6967 -0
  317. package/dist/src/proto/temporal/api/workflowservice/v1/request_response_pb.d.ts.map +1 -0
  318. package/dist/src/proto/temporal/api/workflowservice/v1/request_response_pb.js +1073 -0
  319. package/dist/src/proto/temporal/api/workflowservice/v1/request_response_pb.js.map +1 -0
  320. package/dist/src/proto/temporal/api/workflowservice/v1/service_pb.d.ts +1305 -0
  321. package/dist/src/proto/temporal/api/workflowservice/v1/service_pb.d.ts.map +1 -0
  322. package/dist/src/proto/temporal/api/workflowservice/v1/service_pb.js +27 -0
  323. package/dist/src/proto/temporal/api/workflowservice/v1/service_pb.js.map +1 -0
  324. package/dist/src/runtime/cli-layer.d.ts +12 -0
  325. package/dist/src/runtime/cli-layer.d.ts.map +1 -0
  326. package/dist/src/runtime/cli-layer.js +19 -0
  327. package/dist/src/runtime/cli-layer.js.map +1 -0
  328. package/dist/src/runtime/config-layer.d.ts +9 -0
  329. package/dist/src/runtime/config-layer.d.ts.map +1 -0
  330. package/dist/src/runtime/config-layer.js +15 -0
  331. package/dist/src/runtime/config-layer.js.map +1 -0
  332. package/dist/src/runtime/effect-layers.d.ts +518 -0
  333. package/dist/src/runtime/effect-layers.d.ts.map +1 -0
  334. package/dist/src/runtime/effect-layers.js +68 -0
  335. package/dist/src/runtime/effect-layers.js.map +1 -0
  336. package/dist/src/runtime/worker-app.d.ts +14 -0
  337. package/dist/src/runtime/worker-app.d.ts.map +1 -0
  338. package/dist/src/runtime/worker-app.js +58 -0
  339. package/dist/src/runtime/worker-app.js.map +1 -0
  340. package/dist/src/telemetry/runtime.d.ts +5 -0
  341. package/dist/src/telemetry/runtime.d.ts.map +1 -0
  342. package/dist/src/telemetry/runtime.js +94 -0
  343. package/dist/src/telemetry/runtime.js.map +1 -0
  344. package/dist/src/worker/activity-context.d.ts +30 -0
  345. package/dist/src/worker/activity-context.d.ts.map +1 -0
  346. package/dist/src/worker/activity-context.js +9 -0
  347. package/dist/src/worker/activity-context.js.map +1 -0
  348. package/dist/src/worker/build-id.d.ts +20 -0
  349. package/dist/src/worker/build-id.d.ts.map +1 -0
  350. package/dist/src/worker/build-id.js +98 -0
  351. package/dist/src/worker/build-id.js.map +1 -0
  352. package/dist/src/worker/concurrency.d.ts +31 -0
  353. package/dist/src/worker/concurrency.d.ts.map +1 -0
  354. package/dist/src/worker/concurrency.js +129 -0
  355. package/dist/src/worker/concurrency.js.map +1 -0
  356. package/dist/src/worker/defaults.d.ts +9 -0
  357. package/dist/src/worker/defaults.d.ts.map +1 -0
  358. package/dist/src/worker/defaults.js +53 -0
  359. package/dist/src/worker/defaults.js.map +1 -0
  360. package/dist/src/worker/index.d.ts +7 -0
  361. package/dist/src/worker/index.d.ts.map +1 -0
  362. package/dist/src/worker/index.js +4 -0
  363. package/dist/src/worker/index.js.map +1 -0
  364. package/dist/src/worker/layer.d.ts +19 -0
  365. package/dist/src/worker/layer.d.ts.map +1 -0
  366. package/dist/src/worker/layer.js +71 -0
  367. package/dist/src/worker/layer.js.map +1 -0
  368. package/dist/src/worker/runtime.d.ts +59 -0
  369. package/dist/src/worker/runtime.d.ts.map +1 -0
  370. package/dist/src/worker/runtime.js +1415 -0
  371. package/dist/src/worker/runtime.js.map +1 -0
  372. package/dist/src/worker/service.d.ts +19 -0
  373. package/dist/src/worker/service.d.ts.map +1 -0
  374. package/dist/src/worker/service.js +14 -0
  375. package/dist/src/worker/service.js.map +1 -0
  376. package/dist/src/worker/sticky-cache.d.ts +41 -0
  377. package/dist/src/worker/sticky-cache.d.ts.map +1 -0
  378. package/dist/src/worker/sticky-cache.js +127 -0
  379. package/dist/src/worker/sticky-cache.js.map +1 -0
  380. package/dist/src/worker.d.ts +30 -0
  381. package/dist/src/worker.d.ts.map +1 -0
  382. package/dist/src/worker.js +82 -0
  383. package/dist/src/worker.js.map +1 -0
  384. package/dist/src/workflow/commands.d.ts +84 -0
  385. package/dist/src/workflow/commands.d.ts.map +1 -0
  386. package/dist/src/workflow/commands.js +159 -0
  387. package/dist/src/workflow/commands.js.map +1 -0
  388. package/dist/src/workflow/context.d.ts +119 -0
  389. package/dist/src/workflow/context.d.ts.map +1 -0
  390. package/dist/src/workflow/context.js +197 -0
  391. package/dist/src/workflow/context.js.map +1 -0
  392. package/dist/src/workflow/definition.d.ts +15 -0
  393. package/dist/src/workflow/definition.d.ts.map +1 -0
  394. package/dist/src/workflow/definition.js +19 -0
  395. package/dist/src/workflow/definition.js.map +1 -0
  396. package/dist/src/workflow/determinism.d.ts +54 -0
  397. package/dist/src/workflow/determinism.d.ts.map +1 -0
  398. package/dist/src/workflow/determinism.js +147 -0
  399. package/dist/src/workflow/determinism.js.map +1 -0
  400. package/dist/src/workflow/errors.d.ts +37 -0
  401. package/dist/src/workflow/errors.d.ts.map +1 -0
  402. package/dist/src/workflow/errors.js +35 -0
  403. package/dist/src/workflow/errors.js.map +1 -0
  404. package/dist/src/workflow/executor.d.ts +35 -0
  405. package/dist/src/workflow/executor.d.ts.map +1 -0
  406. package/dist/src/workflow/executor.js +178 -0
  407. package/dist/src/workflow/executor.js.map +1 -0
  408. package/dist/src/workflow/index.d.ts +8 -0
  409. package/dist/src/workflow/index.d.ts.map +1 -0
  410. package/dist/src/workflow/index.js +8 -0
  411. package/dist/src/workflow/index.js.map +1 -0
  412. package/dist/src/workflow/registry.d.ts +9 -0
  413. package/dist/src/workflow/registry.d.ts.map +1 -0
  414. package/dist/src/workflow/registry.js +51 -0
  415. package/dist/src/workflow/registry.js.map +1 -0
  416. package/dist/src/workflow/replay.d.ts +87 -0
  417. package/dist/src/workflow/replay.d.ts.map +1 -0
  418. package/dist/src/workflow/replay.js +759 -0
  419. package/dist/src/workflow/replay.js.map +1 -0
  420. package/dist/src/workflow/runtime/bootstrap.d.ts +15 -0
  421. package/dist/src/workflow/runtime/bootstrap.d.ts.map +1 -0
  422. package/dist/src/workflow/runtime/bootstrap.js +124 -0
  423. package/dist/src/workflow/runtime/bootstrap.js.map +1 -0
  424. package/dist/src/workflow/runtime/engine.d.ts +21 -0
  425. package/dist/src/workflow/runtime/engine.d.ts.map +1 -0
  426. package/dist/src/workflow/runtime/engine.js +73 -0
  427. package/dist/src/workflow/runtime/engine.js.map +1 -0
  428. package/dist/src/workflow/runtime/environment.d.ts +29 -0
  429. package/dist/src/workflow/runtime/environment.d.ts.map +1 -0
  430. package/dist/src/workflow/runtime/environment.js +298 -0
  431. package/dist/src/workflow/runtime/environment.js.map +1 -0
  432. package/dist/src/workflow/runtime/index.d.ts +7 -0
  433. package/dist/src/workflow/runtime/index.d.ts.map +1 -0
  434. package/dist/src/workflow/runtime/index.js +4 -0
  435. package/dist/src/workflow/runtime/index.js.map +1 -0
  436. package/dist/src/workflow/runtime/info.d.ts +5 -0
  437. package/dist/src/workflow/runtime/info.d.ts.map +1 -0
  438. package/dist/src/workflow/runtime/info.js +22 -0
  439. package/dist/src/workflow/runtime/info.js.map +1 -0
  440. package/dist/src/workflow/runtime/replay.d.ts +26 -0
  441. package/dist/src/workflow/runtime/replay.d.ts.map +1 -0
  442. package/dist/src/workflow/runtime/replay.js +254 -0
  443. package/dist/src/workflow/runtime/replay.js.map +1 -0
  444. package/dist/src/workflows/index.d.ts +3 -0
  445. package/dist/src/workflows/index.d.ts.map +1 -0
  446. package/dist/src/workflows/index.js +15 -0
  447. package/dist/src/workflows/index.js.map +1 -0
  448. package/package.json +74 -0
@@ -0,0 +1,249 @@
1
+ import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
2
+ /**
3
+ * Describes the file temporal/api/enums/v1/task_queue.proto.
4
+ */
5
+ export declare const file_temporal_api_enums_v1_task_queue: GenFile;
6
+ /**
7
+ * @generated from enum temporal.api.enums.v1.TaskQueueKind
8
+ */
9
+ export declare enum TaskQueueKind {
10
+ /**
11
+ * @generated from enum value: TASK_QUEUE_KIND_UNSPECIFIED = 0;
12
+ */
13
+ UNSPECIFIED = 0,
14
+ /**
15
+ * Tasks from a normal workflow task queue always include complete workflow history
16
+ *
17
+ * The task queue specified by the user is always a normal task queue. There can be as many
18
+ * workers as desired for a single normal task queue. All those workers may pick up tasks from
19
+ * that queue.
20
+ *
21
+ * @generated from enum value: TASK_QUEUE_KIND_NORMAL = 1;
22
+ */
23
+ NORMAL = 1,
24
+ /**
25
+ * A sticky queue only includes new history since the last workflow task, and they are
26
+ * per-worker.
27
+ *
28
+ * Sticky queues are created dynamically by each worker during their start up. They only exist
29
+ * for the lifetime of the worker process. Tasks in a sticky task queue are only available to
30
+ * the worker that created the sticky queue.
31
+ *
32
+ * Sticky queues are only for workflow tasks. There are no sticky task queues for activities.
33
+ *
34
+ * @generated from enum value: TASK_QUEUE_KIND_STICKY = 2;
35
+ */
36
+ STICKY = 2
37
+ }
38
+ /**
39
+ * Describes the enum temporal.api.enums.v1.TaskQueueKind.
40
+ */
41
+ export declare const TaskQueueKindSchema: GenEnum<TaskQueueKind>;
42
+ /**
43
+ * @generated from enum temporal.api.enums.v1.TaskQueueType
44
+ */
45
+ export declare enum TaskQueueType {
46
+ /**
47
+ * @generated from enum value: TASK_QUEUE_TYPE_UNSPECIFIED = 0;
48
+ */
49
+ UNSPECIFIED = 0,
50
+ /**
51
+ * Workflow type of task queue.
52
+ *
53
+ * @generated from enum value: TASK_QUEUE_TYPE_WORKFLOW = 1;
54
+ */
55
+ WORKFLOW = 1,
56
+ /**
57
+ * Activity type of task queue.
58
+ *
59
+ * @generated from enum value: TASK_QUEUE_TYPE_ACTIVITY = 2;
60
+ */
61
+ ACTIVITY = 2,
62
+ /**
63
+ * Task queue type for dispatching Nexus requests.
64
+ *
65
+ * @generated from enum value: TASK_QUEUE_TYPE_NEXUS = 3;
66
+ */
67
+ NEXUS = 3
68
+ }
69
+ /**
70
+ * Describes the enum temporal.api.enums.v1.TaskQueueType.
71
+ */
72
+ export declare const TaskQueueTypeSchema: GenEnum<TaskQueueType>;
73
+ /**
74
+ * Specifies which category of tasks may reach a worker on a versioned task queue.
75
+ * Used both in a reachability query and its response.
76
+ * Deprecated.
77
+ *
78
+ * @generated from enum temporal.api.enums.v1.TaskReachability
79
+ */
80
+ export declare enum TaskReachability {
81
+ /**
82
+ * @generated from enum value: TASK_REACHABILITY_UNSPECIFIED = 0;
83
+ */
84
+ UNSPECIFIED = 0,
85
+ /**
86
+ * There's a possiblity for a worker to receive new workflow tasks. Workers should *not* be retired.
87
+ *
88
+ * @generated from enum value: TASK_REACHABILITY_NEW_WORKFLOWS = 1;
89
+ */
90
+ NEW_WORKFLOWS = 1,
91
+ /**
92
+ * There's a possiblity for a worker to receive existing workflow and activity tasks from existing workflows. Workers
93
+ * should *not* be retired.
94
+ * This enum value does not distinguish between open and closed workflows.
95
+ *
96
+ * @generated from enum value: TASK_REACHABILITY_EXISTING_WORKFLOWS = 2;
97
+ */
98
+ EXISTING_WORKFLOWS = 2,
99
+ /**
100
+ * There's a possiblity for a worker to receive existing workflow and activity tasks from open workflows. Workers
101
+ * should *not* be retired.
102
+ *
103
+ * @generated from enum value: TASK_REACHABILITY_OPEN_WORKFLOWS = 3;
104
+ */
105
+ OPEN_WORKFLOWS = 3,
106
+ /**
107
+ * There's a possiblity for a worker to receive existing workflow tasks from closed workflows. Workers may be
108
+ * retired dependending on application requirements. For example, if there's no need to query closed workflows.
109
+ *
110
+ * @generated from enum value: TASK_REACHABILITY_CLOSED_WORKFLOWS = 4;
111
+ */
112
+ CLOSED_WORKFLOWS = 4
113
+ }
114
+ /**
115
+ * Describes the enum temporal.api.enums.v1.TaskReachability.
116
+ */
117
+ export declare const TaskReachabilitySchema: GenEnum<TaskReachability>;
118
+ /**
119
+ * Specifies which category of tasks may reach a versioned worker of a certain Build ID.
120
+ *
121
+ * Task Reachability is eventually consistent; there may be a delay (up to few minutes) until it
122
+ * converges to the most accurate value but it is designed in a way to take the more conservative
123
+ * side until it converges. For example REACHABLE is more conservative than CLOSED_WORKFLOWS_ONLY.
124
+ *
125
+ * Note: future activities who inherit their workflow's Build ID but not its Task Queue will not be
126
+ * accounted for reachability as server cannot know if they'll happen as they do not use
127
+ * assignment rules of their Task Queue. Same goes for Child Workflows or Continue-As-New Workflows
128
+ * who inherit the parent/previous workflow's Build ID but not its Task Queue. In those cases, make
129
+ * sure to query reachability for the parent/previous workflow's Task Queue as well.
130
+ *
131
+ * @generated from enum temporal.api.enums.v1.BuildIdTaskReachability
132
+ */
133
+ export declare enum BuildIdTaskReachability {
134
+ /**
135
+ * Task reachability is not reported
136
+ *
137
+ * @generated from enum value: BUILD_ID_TASK_REACHABILITY_UNSPECIFIED = 0;
138
+ */
139
+ UNSPECIFIED = 0,
140
+ /**
141
+ * Build ID may be used by new workflows or activities (base on versioning rules), or there MAY
142
+ * be open workflows or backlogged activities assigned to it.
143
+ *
144
+ * @generated from enum value: BUILD_ID_TASK_REACHABILITY_REACHABLE = 1;
145
+ */
146
+ REACHABLE = 1,
147
+ /**
148
+ * Build ID does not have open workflows and is not reachable by new workflows,
149
+ * but MAY have closed workflows within the namespace retention period.
150
+ * Not applicable to activity-only task queues.
151
+ *
152
+ * @generated from enum value: BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY = 2;
153
+ */
154
+ CLOSED_WORKFLOWS_ONLY = 2,
155
+ /**
156
+ * Build ID is not used for new executions, nor it has been used by any existing execution
157
+ * within the retention period.
158
+ *
159
+ * @generated from enum value: BUILD_ID_TASK_REACHABILITY_UNREACHABLE = 3;
160
+ */
161
+ UNREACHABLE = 3
162
+ }
163
+ /**
164
+ * Describes the enum temporal.api.enums.v1.BuildIdTaskReachability.
165
+ */
166
+ export declare const BuildIdTaskReachabilitySchema: GenEnum<BuildIdTaskReachability>;
167
+ /**
168
+ * @generated from enum temporal.api.enums.v1.DescribeTaskQueueMode
169
+ */
170
+ export declare enum DescribeTaskQueueMode {
171
+ /**
172
+ * Unspecified means legacy behavior.
173
+ *
174
+ * @generated from enum value: DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED = 0;
175
+ */
176
+ UNSPECIFIED = 0,
177
+ /**
178
+ * Enhanced mode reports aggregated results for all partitions, supports Build IDs, and reports richer info.
179
+ *
180
+ * @generated from enum value: DESCRIBE_TASK_QUEUE_MODE_ENHANCED = 1;
181
+ */
182
+ ENHANCED = 1
183
+ }
184
+ /**
185
+ * Describes the enum temporal.api.enums.v1.DescribeTaskQueueMode.
186
+ */
187
+ export declare const DescribeTaskQueueModeSchema: GenEnum<DescribeTaskQueueMode>;
188
+ /**
189
+ * Source for the effective rate limit.
190
+ *
191
+ * @generated from enum temporal.api.enums.v1.RateLimitSource
192
+ */
193
+ export declare enum RateLimitSource {
194
+ /**
195
+ * @generated from enum value: RATE_LIMIT_SOURCE_UNSPECIFIED = 0;
196
+ */
197
+ UNSPECIFIED = 0,
198
+ /**
199
+ * The value was set by the API.
200
+ *
201
+ * @generated from enum value: RATE_LIMIT_SOURCE_API = 1;
202
+ */
203
+ API = 1,
204
+ /**
205
+ * The value was set by a worker.
206
+ *
207
+ * @generated from enum value: RATE_LIMIT_SOURCE_WORKER = 2;
208
+ */
209
+ WORKER = 2,
210
+ /**
211
+ * The value was set as the system default.
212
+ *
213
+ * @generated from enum value: RATE_LIMIT_SOURCE_SYSTEM = 3;
214
+ */
215
+ SYSTEM = 3
216
+ }
217
+ /**
218
+ * Describes the enum temporal.api.enums.v1.RateLimitSource.
219
+ */
220
+ export declare const RateLimitSourceSchema: GenEnum<RateLimitSource>;
221
+ /**
222
+ * Indicates whether a change to the Routing Config has been
223
+ * propagated to all relevant Task Queues and their partitions.
224
+ *
225
+ * @generated from enum temporal.api.enums.v1.RoutingConfigUpdateState
226
+ */
227
+ export declare enum RoutingConfigUpdateState {
228
+ /**
229
+ * @generated from enum value: ROUTING_CONFIG_UPDATE_STATE_UNSPECIFIED = 0;
230
+ */
231
+ UNSPECIFIED = 0,
232
+ /**
233
+ * Update to the RoutingConfig is currently in progress.
234
+ *
235
+ * @generated from enum value: ROUTING_CONFIG_UPDATE_STATE_IN_PROGRESS = 1;
236
+ */
237
+ IN_PROGRESS = 1,
238
+ /**
239
+ * Update to the RoutingConfig has completed successfully.
240
+ *
241
+ * @generated from enum value: ROUTING_CONFIG_UPDATE_STATE_COMPLETED = 2;
242
+ */
243
+ COMPLETED = 2
244
+ }
245
+ /**
246
+ * Describes the enum temporal.api.enums.v1.RoutingConfigUpdateState.
247
+ */
248
+ export declare const RoutingConfigUpdateStateSchema: GenEnum<RoutingConfigUpdateState>;
249
+ //# sourceMappingURL=task_queue_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"task_queue_pb.d.ts","sourceRoot":"","sources":["../../../../../../../src/proto/temporal/api/enums/v1/task_que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W,IAAI;IAEf;;;;OAIG;IACH,QAAQ,IAAI;CACb;AAED;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,OAAO,CAAC,qBAAqB,CACnB,CAAC;AAErD;;;;GAIG;AACH,oBAAY,eAAe;IACzB;;OAEG;IACH,WAAW,IAAI;IAEf;;;;OAIG;IACH,GAAG,IAAI;IAEP;;;;OAIG;IACH,MAAM,IAAI;IAEV;;;;OAIG;IACH,MAAM,IAAI;CACX;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,OAAO,CAAC,eAAe,CACP,CAAC;AAErD;;;;;GAKG;AACH,oBAAY,wBAAwB;IAClC;;OAEG;IACH,WAAW,IAAI;IAEf;;;;OAIG;IACH,WAAW,IAAI;IAEf;;;;OAIG;IACH,SAAS,IAAI;CACd;AAED;;GAEG;AACH,eAAO,MAAM,8BAA8B,EAAE,OAAO,CAAC,wBAAwB,CACzB,CAAC"}
@@ -0,0 +1,259 @@
1
+ // @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=js"
2
+ // @generated from file temporal/api/enums/v1/task_queue.proto (package temporal.api.enums.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv2";
5
+ /**
6
+ * Describes the file temporal/api/enums/v1/task_queue.proto.
7
+ */
8
+ export const file_temporal_api_enums_v1_task_queue = /*@__PURE__*/ fileDesc("CiZ0ZW1wb3JhbC9hcGkvZW51bXMvdjEvdGFza19xdWV1ZS5wcm90bxIVdGVtcG9yYWwuYXBpLmVudW1zLnYxKmgKDVRhc2tRdWV1ZUtpbmQSHwobVEFTS19RVUVVRV9LSU5EX1VOU1BFQ0lGSUVEEAASGgoWVEFTS19RVUVVRV9LSU5EX05PUk1BTBABEhoKFlRBU0tfUVVFVUVfS0lORF9TVElDS1kQAiqHAQoNVGFza1F1ZXVlVHlwZRIfChtUQVNLX1FVRVVFX1RZUEVfVU5TUEVDSUZJRUQQABIcChhUQVNLX1FV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RBVEVfVU5TUEVDSUZJRUQQABIrCidST1VUSU5HX0NPTkZJR19VUERBVEVfU1RBVEVfSU5fUFJPR1JFU1MQARIpCiVST1VUSU5HX0NPTkZJR19VUERBVEVfU1RBVEVfQ09NUExFVEVEEAJChgEKGGlvLnRlbXBvcmFsLmFwaS5lbnVtcy52MUIOVGFza1F1ZXVlUHJvdG9QAVohZ28udGVtcG9yYWwuaW8vYXBpL2VudW1zL3YxO2VudW1zqgIXVGVtcG9yYWxpby5BcGkuRW51bXMuVjHqAhpUZW1wb3JhbGlvOjpBcGk6OkVudW1zOjpWMWIGcHJvdG8z");
9
+ /**
10
+ * @generated from enum temporal.api.enums.v1.TaskQueueKind
11
+ */
12
+ export var TaskQueueKind;
13
+ (function (TaskQueueKind) {
14
+ /**
15
+ * @generated from enum value: TASK_QUEUE_KIND_UNSPECIFIED = 0;
16
+ */
17
+ TaskQueueKind[TaskQueueKind["UNSPECIFIED"] = 0] = "UNSPECIFIED";
18
+ /**
19
+ * Tasks from a normal workflow task queue always include complete workflow history
20
+ *
21
+ * The task queue specified by the user is always a normal task queue. There can be as many
22
+ * workers as desired for a single normal task queue. All those workers may pick up tasks from
23
+ * that queue.
24
+ *
25
+ * @generated from enum value: TASK_QUEUE_KIND_NORMAL = 1;
26
+ */
27
+ TaskQueueKind[TaskQueueKind["NORMAL"] = 1] = "NORMAL";
28
+ /**
29
+ * A sticky queue only includes new history since the last workflow task, and they are
30
+ * per-worker.
31
+ *
32
+ * Sticky queues are created dynamically by each worker during their start up. They only exist
33
+ * for the lifetime of the worker process. Tasks in a sticky task queue are only available to
34
+ * the worker that created the sticky queue.
35
+ *
36
+ * Sticky queues are only for workflow tasks. There are no sticky task queues for activities.
37
+ *
38
+ * @generated from enum value: TASK_QUEUE_KIND_STICKY = 2;
39
+ */
40
+ TaskQueueKind[TaskQueueKind["STICKY"] = 2] = "STICKY";
41
+ })(TaskQueueKind || (TaskQueueKind = {}));
42
+ /**
43
+ * Describes the enum temporal.api.enums.v1.TaskQueueKind.
44
+ */
45
+ export const TaskQueueKindSchema = /*@__PURE__*/ enumDesc(file_temporal_api_enums_v1_task_queue, 0);
46
+ /**
47
+ * @generated from enum temporal.api.enums.v1.TaskQueueType
48
+ */
49
+ export var TaskQueueType;
50
+ (function (TaskQueueType) {
51
+ /**
52
+ * @generated from enum value: TASK_QUEUE_TYPE_UNSPECIFIED = 0;
53
+ */
54
+ TaskQueueType[TaskQueueType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
55
+ /**
56
+ * Workflow type of task queue.
57
+ *
58
+ * @generated from enum value: TASK_QUEUE_TYPE_WORKFLOW = 1;
59
+ */
60
+ TaskQueueType[TaskQueueType["WORKFLOW"] = 1] = "WORKFLOW";
61
+ /**
62
+ * Activity type of task queue.
63
+ *
64
+ * @generated from enum value: TASK_QUEUE_TYPE_ACTIVITY = 2;
65
+ */
66
+ TaskQueueType[TaskQueueType["ACTIVITY"] = 2] = "ACTIVITY";
67
+ /**
68
+ * Task queue type for dispatching Nexus requests.
69
+ *
70
+ * @generated from enum value: TASK_QUEUE_TYPE_NEXUS = 3;
71
+ */
72
+ TaskQueueType[TaskQueueType["NEXUS"] = 3] = "NEXUS";
73
+ })(TaskQueueType || (TaskQueueType = {}));
74
+ /**
75
+ * Describes the enum temporal.api.enums.v1.TaskQueueType.
76
+ */
77
+ export const TaskQueueTypeSchema = /*@__PURE__*/ enumDesc(file_temporal_api_enums_v1_task_queue, 1);
78
+ /**
79
+ * Specifies which category of tasks may reach a worker on a versioned task queue.
80
+ * Used both in a reachability query and its response.
81
+ * Deprecated.
82
+ *
83
+ * @generated from enum temporal.api.enums.v1.TaskReachability
84
+ */
85
+ export var TaskReachability;
86
+ (function (TaskReachability) {
87
+ /**
88
+ * @generated from enum value: TASK_REACHABILITY_UNSPECIFIED = 0;
89
+ */
90
+ TaskReachability[TaskReachability["UNSPECIFIED"] = 0] = "UNSPECIFIED";
91
+ /**
92
+ * There's a possiblity for a worker to receive new workflow tasks. Workers should *not* be retired.
93
+ *
94
+ * @generated from enum value: TASK_REACHABILITY_NEW_WORKFLOWS = 1;
95
+ */
96
+ TaskReachability[TaskReachability["NEW_WORKFLOWS"] = 1] = "NEW_WORKFLOWS";
97
+ /**
98
+ * There's a possiblity for a worker to receive existing workflow and activity tasks from existing workflows. Workers
99
+ * should *not* be retired.
100
+ * This enum value does not distinguish between open and closed workflows.
101
+ *
102
+ * @generated from enum value: TASK_REACHABILITY_EXISTING_WORKFLOWS = 2;
103
+ */
104
+ TaskReachability[TaskReachability["EXISTING_WORKFLOWS"] = 2] = "EXISTING_WORKFLOWS";
105
+ /**
106
+ * There's a possiblity for a worker to receive existing workflow and activity tasks from open workflows. Workers
107
+ * should *not* be retired.
108
+ *
109
+ * @generated from enum value: TASK_REACHABILITY_OPEN_WORKFLOWS = 3;
110
+ */
111
+ TaskReachability[TaskReachability["OPEN_WORKFLOWS"] = 3] = "OPEN_WORKFLOWS";
112
+ /**
113
+ * There's a possiblity for a worker to receive existing workflow tasks from closed workflows. Workers may be
114
+ * retired dependending on application requirements. For example, if there's no need to query closed workflows.
115
+ *
116
+ * @generated from enum value: TASK_REACHABILITY_CLOSED_WORKFLOWS = 4;
117
+ */
118
+ TaskReachability[TaskReachability["CLOSED_WORKFLOWS"] = 4] = "CLOSED_WORKFLOWS";
119
+ })(TaskReachability || (TaskReachability = {}));
120
+ /**
121
+ * Describes the enum temporal.api.enums.v1.TaskReachability.
122
+ */
123
+ export const TaskReachabilitySchema = /*@__PURE__*/ enumDesc(file_temporal_api_enums_v1_task_queue, 2);
124
+ /**
125
+ * Specifies which category of tasks may reach a versioned worker of a certain Build ID.
126
+ *
127
+ * Task Reachability is eventually consistent; there may be a delay (up to few minutes) until it
128
+ * converges to the most accurate value but it is designed in a way to take the more conservative
129
+ * side until it converges. For example REACHABLE is more conservative than CLOSED_WORKFLOWS_ONLY.
130
+ *
131
+ * Note: future activities who inherit their workflow's Build ID but not its Task Queue will not be
132
+ * accounted for reachability as server cannot know if they'll happen as they do not use
133
+ * assignment rules of their Task Queue. Same goes for Child Workflows or Continue-As-New Workflows
134
+ * who inherit the parent/previous workflow's Build ID but not its Task Queue. In those cases, make
135
+ * sure to query reachability for the parent/previous workflow's Task Queue as well.
136
+ *
137
+ * @generated from enum temporal.api.enums.v1.BuildIdTaskReachability
138
+ */
139
+ export var BuildIdTaskReachability;
140
+ (function (BuildIdTaskReachability) {
141
+ /**
142
+ * Task reachability is not reported
143
+ *
144
+ * @generated from enum value: BUILD_ID_TASK_REACHABILITY_UNSPECIFIED = 0;
145
+ */
146
+ BuildIdTaskReachability[BuildIdTaskReachability["UNSPECIFIED"] = 0] = "UNSPECIFIED";
147
+ /**
148
+ * Build ID may be used by new workflows or activities (base on versioning rules), or there MAY
149
+ * be open workflows or backlogged activities assigned to it.
150
+ *
151
+ * @generated from enum value: BUILD_ID_TASK_REACHABILITY_REACHABLE = 1;
152
+ */
153
+ BuildIdTaskReachability[BuildIdTaskReachability["REACHABLE"] = 1] = "REACHABLE";
154
+ /**
155
+ * Build ID does not have open workflows and is not reachable by new workflows,
156
+ * but MAY have closed workflows within the namespace retention period.
157
+ * Not applicable to activity-only task queues.
158
+ *
159
+ * @generated from enum value: BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY = 2;
160
+ */
161
+ BuildIdTaskReachability[BuildIdTaskReachability["CLOSED_WORKFLOWS_ONLY"] = 2] = "CLOSED_WORKFLOWS_ONLY";
162
+ /**
163
+ * Build ID is not used for new executions, nor it has been used by any existing execution
164
+ * within the retention period.
165
+ *
166
+ * @generated from enum value: BUILD_ID_TASK_REACHABILITY_UNREACHABLE = 3;
167
+ */
168
+ BuildIdTaskReachability[BuildIdTaskReachability["UNREACHABLE"] = 3] = "UNREACHABLE";
169
+ })(BuildIdTaskReachability || (BuildIdTaskReachability = {}));
170
+ /**
171
+ * Describes the enum temporal.api.enums.v1.BuildIdTaskReachability.
172
+ */
173
+ export const BuildIdTaskReachabilitySchema = /*@__PURE__*/ enumDesc(file_temporal_api_enums_v1_task_queue, 3);
174
+ /**
175
+ * @generated from enum temporal.api.enums.v1.DescribeTaskQueueMode
176
+ */
177
+ export var DescribeTaskQueueMode;
178
+ (function (DescribeTaskQueueMode) {
179
+ /**
180
+ * Unspecified means legacy behavior.
181
+ *
182
+ * @generated from enum value: DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED = 0;
183
+ */
184
+ DescribeTaskQueueMode[DescribeTaskQueueMode["UNSPECIFIED"] = 0] = "UNSPECIFIED";
185
+ /**
186
+ * Enhanced mode reports aggregated results for all partitions, supports Build IDs, and reports richer info.
187
+ *
188
+ * @generated from enum value: DESCRIBE_TASK_QUEUE_MODE_ENHANCED = 1;
189
+ */
190
+ DescribeTaskQueueMode[DescribeTaskQueueMode["ENHANCED"] = 1] = "ENHANCED";
191
+ })(DescribeTaskQueueMode || (DescribeTaskQueueMode = {}));
192
+ /**
193
+ * Describes the enum temporal.api.enums.v1.DescribeTaskQueueMode.
194
+ */
195
+ export const DescribeTaskQueueModeSchema = /*@__PURE__*/ enumDesc(file_temporal_api_enums_v1_task_queue, 4);
196
+ /**
197
+ * Source for the effective rate limit.
198
+ *
199
+ * @generated from enum temporal.api.enums.v1.RateLimitSource
200
+ */
201
+ export var RateLimitSource;
202
+ (function (RateLimitSource) {
203
+ /**
204
+ * @generated from enum value: RATE_LIMIT_SOURCE_UNSPECIFIED = 0;
205
+ */
206
+ RateLimitSource[RateLimitSource["UNSPECIFIED"] = 0] = "UNSPECIFIED";
207
+ /**
208
+ * The value was set by the API.
209
+ *
210
+ * @generated from enum value: RATE_LIMIT_SOURCE_API = 1;
211
+ */
212
+ RateLimitSource[RateLimitSource["API"] = 1] = "API";
213
+ /**
214
+ * The value was set by a worker.
215
+ *
216
+ * @generated from enum value: RATE_LIMIT_SOURCE_WORKER = 2;
217
+ */
218
+ RateLimitSource[RateLimitSource["WORKER"] = 2] = "WORKER";
219
+ /**
220
+ * The value was set as the system default.
221
+ *
222
+ * @generated from enum value: RATE_LIMIT_SOURCE_SYSTEM = 3;
223
+ */
224
+ RateLimitSource[RateLimitSource["SYSTEM"] = 3] = "SYSTEM";
225
+ })(RateLimitSource || (RateLimitSource = {}));
226
+ /**
227
+ * Describes the enum temporal.api.enums.v1.RateLimitSource.
228
+ */
229
+ export const RateLimitSourceSchema = /*@__PURE__*/ enumDesc(file_temporal_api_enums_v1_task_queue, 5);
230
+ /**
231
+ * Indicates whether a change to the Routing Config has been
232
+ * propagated to all relevant Task Queues and their partitions.
233
+ *
234
+ * @generated from enum temporal.api.enums.v1.RoutingConfigUpdateState
235
+ */
236
+ export var RoutingConfigUpdateState;
237
+ (function (RoutingConfigUpdateState) {
238
+ /**
239
+ * @generated from enum value: ROUTING_CONFIG_UPDATE_STATE_UNSPECIFIED = 0;
240
+ */
241
+ RoutingConfigUpdateState[RoutingConfigUpdateState["UNSPECIFIED"] = 0] = "UNSPECIFIED";
242
+ /**
243
+ * Update to the RoutingConfig is currently in progress.
244
+ *
245
+ * @generated from enum value: ROUTING_CONFIG_UPDATE_STATE_IN_PROGRESS = 1;
246
+ */
247
+ RoutingConfigUpdateState[RoutingConfigUpdateState["IN_PROGRESS"] = 1] = "IN_PROGRESS";
248
+ /**
249
+ * Update to the RoutingConfig has completed successfully.
250
+ *
251
+ * @generated from enum value: ROUTING_CONFIG_UPDATE_STATE_COMPLETED = 2;
252
+ */
253
+ RoutingConfigUpdateState[RoutingConfigUpdateState["COMPLETED"] = 2] = "COMPLETED";
254
+ })(RoutingConfigUpdateState || (RoutingConfigUpdateState = {}));
255
+ /**
256
+ * Describes the enum temporal.api.enums.v1.RoutingConfigUpdateState.
257
+ */
258
+ export const RoutingConfigUpdateStateSchema = /*@__PURE__*/ enumDesc(file_temporal_api_enums_v1_task_queue, 6);
259
+ //# sourceMappingURL=task_queue_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"task_queue_pb.js","sourceRoot":"","sources":["../../../../../../../src/proto/temporal/api/enums/v1/task_queue_pb.ts"],"names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;IAEf;;;;OAIG;IACH,iFAAa,CAAA;AACf,CAAC,EAnBW,wBAAwB,KAAxB,wBAAwB,QAmBnC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAsC,aAAa,CAC5F,QAAQ,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,78 @@
1
+ import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
2
+ /**
3
+ * Describes the file temporal/api/enums/v1/update.proto.
4
+ */
5
+ export declare const file_temporal_api_enums_v1_update: GenFile;
6
+ /**
7
+ * UpdateWorkflowExecutionLifecycleStage is specified by clients invoking
8
+ * Workflow Updates and used to indicate to the server how long the
9
+ * client wishes to wait for a return value from the API. If any value other
10
+ * than UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED is sent by the
11
+ * client then the API will complete before the Update is finished and will
12
+ * return a handle to the running Update so that it can later be polled for
13
+ * completion.
14
+ * If specified stage wasn't reached before server timeout, server returns
15
+ * actual stage reached.
16
+ *
17
+ * @generated from enum temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage
18
+ */
19
+ export declare enum UpdateWorkflowExecutionLifecycleStage {
20
+ /**
21
+ * An unspecified value for this enum.
22
+ *
23
+ * @generated from enum value: UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED = 0;
24
+ */
25
+ UNSPECIFIED = 0,
26
+ /**
27
+ * The API call will not return until the Update request has been admitted
28
+ * by the server - it may be the case that due to a considerations like load
29
+ * or resource limits that an Update is made to wait before the server will
30
+ * indicate that it has been received and will be processed. This value
31
+ * does not wait for any sort of acknowledgement from a worker.
32
+ *
33
+ * @generated from enum value: UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED = 1;
34
+ */
35
+ ADMITTED = 1,
36
+ /**
37
+ * The API call will not return until the Update has passed validation on a worker.
38
+ *
39
+ * @generated from enum value: UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED = 2;
40
+ */
41
+ ACCEPTED = 2,
42
+ /**
43
+ * The API call will not return until the Update has executed to completion
44
+ * on a worker and has either been rejected or returned a value or an error.
45
+ *
46
+ * @generated from enum value: UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED = 3;
47
+ */
48
+ COMPLETED = 3
49
+ }
50
+ /**
51
+ * Describes the enum temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage.
52
+ */
53
+ export declare const UpdateWorkflowExecutionLifecycleStageSchema: GenEnum<UpdateWorkflowExecutionLifecycleStage>;
54
+ /**
55
+ * Records why a WorkflowExecutionUpdateAdmittedEvent was written to history.
56
+ * Note that not all admitted Updates result in this event.
57
+ *
58
+ * @generated from enum temporal.api.enums.v1.UpdateAdmittedEventOrigin
59
+ */
60
+ export declare enum UpdateAdmittedEventOrigin {
61
+ /**
62
+ * @generated from enum value: UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED = 0;
63
+ */
64
+ UNSPECIFIED = 0,
65
+ /**
66
+ * The UpdateAdmitted event was created when reapplying events during reset
67
+ * or replication. I.e. an accepted Update on one branch of Workflow history
68
+ * was converted into an admitted Update on a different branch.
69
+ *
70
+ * @generated from enum value: UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY = 1;
71
+ */
72
+ REAPPLY = 1
73
+ }
74
+ /**
75
+ * Describes the enum temporal.api.enums.v1.UpdateAdmittedEventOrigin.
76
+ */
77
+ export declare const UpdateAdmittedEventOriginSchema: GenEnum<UpdateAdmittedEventOrigin>;
78
+ //# sourceMappingURL=update_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update_pb.d.ts","sourceRoot":"","sources":["../../../../../../../src/proto/temporal/api/enums/v1/update_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAGrE;;GAEG;AACH,eAAO,MAAM,iCAAiC,EAAE,OAC8uB,CAAC;AAE/xB;;;;;;;;;;;;GAYG;AACH,oBAAY,qCAAqC;IAC/C;;;;OAIG;IACH,WAAW,IAAI;IAEf;;;;;;;;OAQG;IACH,QAAQ,IAAI;IAEZ;;;;OAIG;IACH,QAAQ,IAAI;IAEZ;;;;;OAKG;IACH,SAAS,IAAI;CACd;AAED;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,OAAO,CAAC,qCAAqC,CACvD,CAAC;AAEjD;;;;;GAKG;AACH,oBAAY,yBAAyB;IACnC;;OAEG;IACH,WAAW,IAAI;IAEf;;;;;;OAMG;IACH,OAAO,IAAI;CACZ;AAED;;GAEG;AACH,eAAO,MAAM,+BAA+B,EAAE,OAAO,CAAC,yBAAyB,CAC/B,CAAC"}