@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,1305 @@
1
+ import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { CountWorkflowExecutionsRequestSchema, CountWorkflowExecutionsResponseSchema, CreateScheduleRequestSchema, CreateScheduleResponseSchema, CreateWorkflowRuleRequestSchema, CreateWorkflowRuleResponseSchema, DeleteScheduleRequestSchema, DeleteScheduleResponseSchema, DeleteWorkerDeploymentRequestSchema, DeleteWorkerDeploymentResponseSchema, DeleteWorkerDeploymentVersionRequestSchema, DeleteWorkerDeploymentVersionResponseSchema, DeleteWorkflowExecutionRequestSchema, DeleteWorkflowExecutionResponseSchema, DeleteWorkflowRuleRequestSchema, DeleteWorkflowRuleResponseSchema, DeprecateNamespaceRequestSchema, DeprecateNamespaceResponseSchema, DescribeBatchOperationRequestSchema, DescribeBatchOperationResponseSchema, DescribeDeploymentRequestSchema, DescribeDeploymentResponseSchema, DescribeNamespaceRequestSchema, DescribeNamespaceResponseSchema, DescribeScheduleRequestSchema, DescribeScheduleResponseSchema, DescribeTaskQueueRequestSchema, DescribeTaskQueueResponseSchema, DescribeWorkerDeploymentRequestSchema, DescribeWorkerDeploymentResponseSchema, DescribeWorkerDeploymentVersionRequestSchema, DescribeWorkerDeploymentVersionResponseSchema, DescribeWorkerRequestSchema, DescribeWorkerResponseSchema, DescribeWorkflowExecutionRequestSchema, DescribeWorkflowExecutionResponseSchema, DescribeWorkflowRuleRequestSchema, DescribeWorkflowRuleResponseSchema, ExecuteMultiOperationRequestSchema, ExecuteMultiOperationResponseSchema, FetchWorkerConfigRequestSchema, FetchWorkerConfigResponseSchema, GetClusterInfoRequestSchema, GetClusterInfoResponseSchema, GetCurrentDeploymentRequestSchema, GetCurrentDeploymentResponseSchema, GetDeploymentReachabilityRequestSchema, GetDeploymentReachabilityResponseSchema, GetSearchAttributesRequestSchema, GetSearchAttributesResponseSchema, GetSystemInfoRequestSchema, GetSystemInfoResponseSchema, GetWorkerBuildIdCompatibilityRequestSchema, GetWorkerBuildIdCompatibilityResponseSchema, GetWorkerTaskReachabilityRequestSchema, GetWorkerTaskReachabilityResponseSchema, GetWorkerVersioningRulesRequestSchema, GetWorkerVersioningRulesResponseSchema, GetWorkflowExecutionHistoryRequestSchema, GetWorkflowExecutionHistoryResponseSchema, GetWorkflowExecutionHistoryReverseRequestSchema, GetWorkflowExecutionHistoryReverseResponseSchema, ListArchivedWorkflowExecutionsRequestSchema, ListArchivedWorkflowExecutionsResponseSchema, ListBatchOperationsRequestSchema, ListBatchOperationsResponseSchema, ListClosedWorkflowExecutionsRequestSchema, ListClosedWorkflowExecutionsResponseSchema, ListDeploymentsRequestSchema, ListDeploymentsResponseSchema, ListNamespacesRequestSchema, ListNamespacesResponseSchema, ListOpenWorkflowExecutionsRequestSchema, ListOpenWorkflowExecutionsResponseSchema, ListScheduleMatchingTimesRequestSchema, ListScheduleMatchingTimesResponseSchema, ListSchedulesRequestSchema, ListSchedulesResponseSchema, ListTaskQueuePartitionsRequestSchema, ListTaskQueuePartitionsResponseSchema, ListWorkerDeploymentsRequestSchema, ListWorkerDeploymentsResponseSchema, ListWorkersRequestSchema, ListWorkersResponseSchema, ListWorkflowExecutionsRequestSchema, ListWorkflowExecutionsResponseSchema, ListWorkflowRulesRequestSchema, ListWorkflowRulesResponseSchema, PatchScheduleRequestSchema, PatchScheduleResponseSchema, PauseActivityRequestSchema, PauseActivityResponseSchema, PollActivityTaskQueueRequestSchema, PollActivityTaskQueueResponseSchema, PollNexusTaskQueueRequestSchema, PollNexusTaskQueueResponseSchema, PollWorkflowExecutionUpdateRequestSchema, PollWorkflowExecutionUpdateResponseSchema, PollWorkflowTaskQueueRequestSchema, PollWorkflowTaskQueueResponseSchema, QueryWorkflowRequestSchema, QueryWorkflowResponseSchema, RecordActivityTaskHeartbeatByIdRequestSchema, RecordActivityTaskHeartbeatByIdResponseSchema, RecordActivityTaskHeartbeatRequestSchema, RecordActivityTaskHeartbeatResponseSchema, RecordWorkerHeartbeatRequestSchema, RecordWorkerHeartbeatResponseSchema, RegisterNamespaceRequestSchema, RegisterNamespaceResponseSchema, RequestCancelWorkflowExecutionRequestSchema, RequestCancelWorkflowExecutionResponseSchema, ResetActivityRequestSchema, ResetActivityResponseSchema, ResetStickyTaskQueueRequestSchema, ResetStickyTaskQueueResponseSchema, ResetWorkflowExecutionRequestSchema, ResetWorkflowExecutionResponseSchema, RespondActivityTaskCanceledByIdRequestSchema, RespondActivityTaskCanceledByIdResponseSchema, RespondActivityTaskCanceledRequestSchema, RespondActivityTaskCanceledResponseSchema, RespondActivityTaskCompletedByIdRequestSchema, RespondActivityTaskCompletedByIdResponseSchema, RespondActivityTaskCompletedRequestSchema, RespondActivityTaskCompletedResponseSchema, RespondActivityTaskFailedByIdRequestSchema, RespondActivityTaskFailedByIdResponseSchema, RespondActivityTaskFailedRequestSchema, RespondActivityTaskFailedResponseSchema, RespondNexusTaskCompletedRequestSchema, RespondNexusTaskCompletedResponseSchema, RespondNexusTaskFailedRequestSchema, RespondNexusTaskFailedResponseSchema, RespondQueryTaskCompletedRequestSchema, RespondQueryTaskCompletedResponseSchema, RespondWorkflowTaskCompletedRequestSchema, RespondWorkflowTaskCompletedResponseSchema, RespondWorkflowTaskFailedRequestSchema, RespondWorkflowTaskFailedResponseSchema, ScanWorkflowExecutionsRequestSchema, ScanWorkflowExecutionsResponseSchema, SetCurrentDeploymentRequestSchema, SetCurrentDeploymentResponseSchema, SetWorkerDeploymentCurrentVersionRequestSchema, SetWorkerDeploymentCurrentVersionResponseSchema, SetWorkerDeploymentManagerRequestSchema, SetWorkerDeploymentManagerResponseSchema, SetWorkerDeploymentRampingVersionRequestSchema, SetWorkerDeploymentRampingVersionResponseSchema, ShutdownWorkerRequestSchema, ShutdownWorkerResponseSchema, SignalWithStartWorkflowExecutionRequestSchema, SignalWithStartWorkflowExecutionResponseSchema, SignalWorkflowExecutionRequestSchema, SignalWorkflowExecutionResponseSchema, StartBatchOperationRequestSchema, StartBatchOperationResponseSchema, StartWorkflowExecutionRequestSchema, StartWorkflowExecutionResponseSchema, StopBatchOperationRequestSchema, StopBatchOperationResponseSchema, TerminateWorkflowExecutionRequestSchema, TerminateWorkflowExecutionResponseSchema, TriggerWorkflowRuleRequestSchema, TriggerWorkflowRuleResponseSchema, UnpauseActivityRequestSchema, UnpauseActivityResponseSchema, UpdateActivityOptionsRequestSchema, UpdateActivityOptionsResponseSchema, UpdateNamespaceRequestSchema, UpdateNamespaceResponseSchema, UpdateScheduleRequestSchema, UpdateScheduleResponseSchema, UpdateTaskQueueConfigRequestSchema, UpdateTaskQueueConfigResponseSchema, UpdateWorkerBuildIdCompatibilityRequestSchema, UpdateWorkerBuildIdCompatibilityResponseSchema, UpdateWorkerConfigRequestSchema, UpdateWorkerConfigResponseSchema, UpdateWorkerDeploymentVersionMetadataRequestSchema, UpdateWorkerDeploymentVersionMetadataResponseSchema, UpdateWorkerVersioningRulesRequestSchema, UpdateWorkerVersioningRulesResponseSchema, UpdateWorkflowExecutionOptionsRequestSchema, UpdateWorkflowExecutionOptionsResponseSchema, UpdateWorkflowExecutionRequestSchema, UpdateWorkflowExecutionResponseSchema } from "./request_response_pb.js";
3
+ /**
4
+ * Describes the file temporal/api/workflowservice/v1/service.proto.
5
+ */
6
+ export declare const file_temporal_api_workflowservice_v1_service: GenFile;
7
+ /**
8
+ * WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server
9
+ * to create and interact with workflows and activities.
10
+ *
11
+ * Users are expected to call `StartWorkflowExecution` to create a new workflow execution.
12
+ *
13
+ * To drive workflows, a worker using a Temporal SDK must exist which regularly polls for workflow
14
+ * and activity tasks from the service. For each workflow task, the sdk must process the
15
+ * (incremental or complete) event history and respond back with any newly generated commands.
16
+ *
17
+ * For each activity task, the worker is expected to execute the user's code which implements that
18
+ * activity, responding with completion or failure.
19
+ *
20
+ * @generated from service temporal.api.workflowservice.v1.WorkflowService
21
+ */
22
+ export declare const WorkflowService: GenService<{
23
+ /**
24
+ * RegisterNamespace creates a new namespace which can be used as a container for all resources.
25
+ *
26
+ * A Namespace is a top level entity within Temporal, and is used as a container for resources
27
+ * like workflow executions, task queues, etc. A Namespace acts as a sandbox and provides
28
+ * isolation for all resources within the namespace. All resources belongs to exactly one
29
+ * namespace.
30
+ *
31
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.RegisterNamespace
32
+ */
33
+ registerNamespace: {
34
+ methodKind: "unary";
35
+ input: typeof RegisterNamespaceRequestSchema;
36
+ output: typeof RegisterNamespaceResponseSchema;
37
+ };
38
+ /**
39
+ * DescribeNamespace returns the information and configuration for a registered namespace.
40
+ *
41
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.DescribeNamespace
42
+ */
43
+ describeNamespace: {
44
+ methodKind: "unary";
45
+ input: typeof DescribeNamespaceRequestSchema;
46
+ output: typeof DescribeNamespaceResponseSchema;
47
+ };
48
+ /**
49
+ * ListNamespaces returns the information and configuration for all namespaces.
50
+ *
51
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.ListNamespaces
52
+ */
53
+ listNamespaces: {
54
+ methodKind: "unary";
55
+ input: typeof ListNamespacesRequestSchema;
56
+ output: typeof ListNamespacesResponseSchema;
57
+ };
58
+ /**
59
+ * UpdateNamespace is used to update the information and configuration of a registered
60
+ * namespace.
61
+ *
62
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.UpdateNamespace
63
+ */
64
+ updateNamespace: {
65
+ methodKind: "unary";
66
+ input: typeof UpdateNamespaceRequestSchema;
67
+ output: typeof UpdateNamespaceResponseSchema;
68
+ };
69
+ /**
70
+ * DeprecateNamespace is used to update the state of a registered namespace to DEPRECATED.
71
+ *
72
+ * Once the namespace is deprecated it cannot be used to start new workflow executions. Existing
73
+ * workflow executions will continue to run on deprecated namespaces.
74
+ * Deprecated.
75
+ *
76
+ * (-- api-linter: core::0127::http-annotation=disabled
77
+ * aip.dev/not-precedent: Deprecated --)
78
+ *
79
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.DeprecateNamespace
80
+ */
81
+ deprecateNamespace: {
82
+ methodKind: "unary";
83
+ input: typeof DeprecateNamespaceRequestSchema;
84
+ output: typeof DeprecateNamespaceResponseSchema;
85
+ };
86
+ /**
87
+ * StartWorkflowExecution starts a new workflow execution.
88
+ *
89
+ * It will create the execution with a `WORKFLOW_EXECUTION_STARTED` event in its history and
90
+ * also schedule the first workflow task. Returns `WorkflowExecutionAlreadyStarted`, if an
91
+ * instance already exists with same workflow id.
92
+ *
93
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.StartWorkflowExecution
94
+ */
95
+ startWorkflowExecution: {
96
+ methodKind: "unary";
97
+ input: typeof StartWorkflowExecutionRequestSchema;
98
+ output: typeof StartWorkflowExecutionResponseSchema;
99
+ };
100
+ /**
101
+ * ExecuteMultiOperation executes multiple operations within a single workflow.
102
+ *
103
+ * Operations are started atomically, meaning if *any* operation fails to be started, none are,
104
+ * and the request fails. Upon start, the API returns only when *all* operations have a response.
105
+ *
106
+ * Upon failure, it returns `MultiOperationExecutionFailure` where the status code
107
+ * equals the status code of the *first* operation that failed to be started.
108
+ *
109
+ * NOTE: Experimental API.
110
+ *
111
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.ExecuteMultiOperation
112
+ */
113
+ executeMultiOperation: {
114
+ methodKind: "unary";
115
+ input: typeof ExecuteMultiOperationRequestSchema;
116
+ output: typeof ExecuteMultiOperationResponseSchema;
117
+ };
118
+ /**
119
+ * GetWorkflowExecutionHistory returns the history of specified workflow execution. Fails with
120
+ * `NotFound` if the specified workflow execution is unknown to the service.
121
+ *
122
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.GetWorkflowExecutionHistory
123
+ */
124
+ getWorkflowExecutionHistory: {
125
+ methodKind: "unary";
126
+ input: typeof GetWorkflowExecutionHistoryRequestSchema;
127
+ output: typeof GetWorkflowExecutionHistoryResponseSchema;
128
+ };
129
+ /**
130
+ * GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse
131
+ * order (starting from last event). Fails with`NotFound` if the specified workflow execution is
132
+ * unknown to the service.
133
+ *
134
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.GetWorkflowExecutionHistoryReverse
135
+ */
136
+ getWorkflowExecutionHistoryReverse: {
137
+ methodKind: "unary";
138
+ input: typeof GetWorkflowExecutionHistoryReverseRequestSchema;
139
+ output: typeof GetWorkflowExecutionHistoryReverseResponseSchema;
140
+ };
141
+ /**
142
+ * PollWorkflowTaskQueue is called by workers to make progress on workflows.
143
+ *
144
+ * A WorkflowTask is dispatched to callers for active workflow executions with pending workflow
145
+ * tasks. The worker is expected to call `RespondWorkflowTaskCompleted` when it is done
146
+ * processing the task. The service will create a `WorkflowTaskStarted` event in the history for
147
+ * this task before handing it to the worker.
148
+ *
149
+ * (-- api-linter: core::0127::http-annotation=disabled
150
+ * aip.dev/not-precedent: We do not expose worker API to HTTP. --)
151
+ *
152
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.PollWorkflowTaskQueue
153
+ */
154
+ pollWorkflowTaskQueue: {
155
+ methodKind: "unary";
156
+ input: typeof PollWorkflowTaskQueueRequestSchema;
157
+ output: typeof PollWorkflowTaskQueueResponseSchema;
158
+ };
159
+ /**
160
+ * RespondWorkflowTaskCompleted is called by workers to successfully complete workflow tasks
161
+ * they received from `PollWorkflowTaskQueue`.
162
+ *
163
+ * Completing a WorkflowTask will write a `WORKFLOW_TASK_COMPLETED` event to the workflow's
164
+ * history, along with events corresponding to whatever commands the SDK generated while
165
+ * executing the task (ex timer started, activity task scheduled, etc).
166
+ *
167
+ * (-- api-linter: core::0127::http-annotation=disabled
168
+ * aip.dev/not-precedent: We do not expose worker API to HTTP. --)
169
+ *
170
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.RespondWorkflowTaskCompleted
171
+ */
172
+ respondWorkflowTaskCompleted: {
173
+ methodKind: "unary";
174
+ input: typeof RespondWorkflowTaskCompletedRequestSchema;
175
+ output: typeof RespondWorkflowTaskCompletedResponseSchema;
176
+ };
177
+ /**
178
+ * RespondWorkflowTaskFailed is called by workers to indicate the processing of a workflow task
179
+ * failed.
180
+ *
181
+ * This results in a `WORKFLOW_TASK_FAILED` event written to the history, and a new workflow
182
+ * task will be scheduled. This API can be used to report unhandled failures resulting from
183
+ * applying the workflow task.
184
+ *
185
+ * Temporal will only append first WorkflowTaskFailed event to the history of workflow execution
186
+ * for consecutive failures.
187
+ *
188
+ * (-- api-linter: core::0127::http-annotation=disabled
189
+ * aip.dev/not-precedent: We do not expose worker API to HTTP. --)
190
+ *
191
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.RespondWorkflowTaskFailed
192
+ */
193
+ respondWorkflowTaskFailed: {
194
+ methodKind: "unary";
195
+ input: typeof RespondWorkflowTaskFailedRequestSchema;
196
+ output: typeof RespondWorkflowTaskFailedResponseSchema;
197
+ };
198
+ /**
199
+ * PollActivityTaskQueue is called by workers to process activity tasks from a specific task
200
+ * queue.
201
+ *
202
+ * The worker is expected to call one of the `RespondActivityTaskXXX` methods when it is done
203
+ * processing the task.
204
+ *
205
+ * An activity task is dispatched whenever a `SCHEDULE_ACTIVITY_TASK` command is produced during
206
+ * workflow execution. An in memory `ACTIVITY_TASK_STARTED` event is written to mutable state
207
+ * before the task is dispatched to the worker. The started event, and the final event
208
+ * (`ACTIVITY_TASK_COMPLETED` / `ACTIVITY_TASK_FAILED` / `ACTIVITY_TASK_TIMED_OUT`) will both be
209
+ * written permanently to Workflow execution history when Activity is finished. This is done to
210
+ * avoid writing many events in the case of a failure/retry loop.
211
+ *
212
+ * (-- api-linter: core::0127::http-annotation=disabled
213
+ * aip.dev/not-precedent: We do not expose worker API to HTTP. --)
214
+ *
215
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.PollActivityTaskQueue
216
+ */
217
+ pollActivityTaskQueue: {
218
+ methodKind: "unary";
219
+ input: typeof PollActivityTaskQueueRequestSchema;
220
+ output: typeof PollActivityTaskQueueResponseSchema;
221
+ };
222
+ /**
223
+ * RecordActivityTaskHeartbeat is optionally called by workers while they execute activities.
224
+ *
225
+ * If worker fails to heartbeat within the `heartbeat_timeout` interval for the activity task,
226
+ * then it will be marked as timed out and an `ACTIVITY_TASK_TIMED_OUT` event will be written to
227
+ * the workflow history. Calling `RecordActivityTaskHeartbeat` will fail with `NotFound` in
228
+ * such situations, in that event, the SDK should request cancellation of the activity.
229
+ *
230
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.RecordActivityTaskHeartbeat
231
+ */
232
+ recordActivityTaskHeartbeat: {
233
+ methodKind: "unary";
234
+ input: typeof RecordActivityTaskHeartbeatRequestSchema;
235
+ output: typeof RecordActivityTaskHeartbeatResponseSchema;
236
+ };
237
+ /**
238
+ * See `RecordActivityTaskHeartbeat`. This version allows clients to record heartbeats by
239
+ * namespace/workflow id/activity id instead of task token.
240
+ *
241
+ * (-- api-linter: core::0136::prepositions=disabled
242
+ * aip.dev/not-precedent: "By" is used to indicate request type. --)
243
+ *
244
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.RecordActivityTaskHeartbeatById
245
+ */
246
+ recordActivityTaskHeartbeatById: {
247
+ methodKind: "unary";
248
+ input: typeof RecordActivityTaskHeartbeatByIdRequestSchema;
249
+ output: typeof RecordActivityTaskHeartbeatByIdResponseSchema;
250
+ };
251
+ /**
252
+ * RespondActivityTaskCompleted is called by workers when they successfully complete an activity
253
+ * task.
254
+ *
255
+ * This results in a new `ACTIVITY_TASK_COMPLETED` event being written to the workflow history
256
+ * and a new workflow task created for the workflow. Fails with `NotFound` if the task token is
257
+ * no longer valid due to activity timeout, already being completed, or never having existed.
258
+ *
259
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.RespondActivityTaskCompleted
260
+ */
261
+ respondActivityTaskCompleted: {
262
+ methodKind: "unary";
263
+ input: typeof RespondActivityTaskCompletedRequestSchema;
264
+ output: typeof RespondActivityTaskCompletedResponseSchema;
265
+ };
266
+ /**
267
+ * See `RecordActivityTaskCompleted`. This version allows clients to record completions by
268
+ * namespace/workflow id/activity id instead of task token.
269
+ *
270
+ * (-- api-linter: core::0136::prepositions=disabled
271
+ * aip.dev/not-precedent: "By" is used to indicate request type. --)
272
+ *
273
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.RespondActivityTaskCompletedById
274
+ */
275
+ respondActivityTaskCompletedById: {
276
+ methodKind: "unary";
277
+ input: typeof RespondActivityTaskCompletedByIdRequestSchema;
278
+ output: typeof RespondActivityTaskCompletedByIdResponseSchema;
279
+ };
280
+ /**
281
+ * RespondActivityTaskFailed is called by workers when processing an activity task fails.
282
+ *
283
+ * This results in a new `ACTIVITY_TASK_FAILED` event being written to the workflow history and
284
+ * a new workflow task created for the workflow. Fails with `NotFound` if the task token is no
285
+ * longer valid due to activity timeout, already being completed, or never having existed.
286
+ *
287
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.RespondActivityTaskFailed
288
+ */
289
+ respondActivityTaskFailed: {
290
+ methodKind: "unary";
291
+ input: typeof RespondActivityTaskFailedRequestSchema;
292
+ output: typeof RespondActivityTaskFailedResponseSchema;
293
+ };
294
+ /**
295
+ * See `RecordActivityTaskFailed`. This version allows clients to record failures by
296
+ * namespace/workflow id/activity id instead of task token.
297
+ *
298
+ * (-- api-linter: core::0136::prepositions=disabled
299
+ * aip.dev/not-precedent: "By" is used to indicate request type. --)
300
+ *
301
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.RespondActivityTaskFailedById
302
+ */
303
+ respondActivityTaskFailedById: {
304
+ methodKind: "unary";
305
+ input: typeof RespondActivityTaskFailedByIdRequestSchema;
306
+ output: typeof RespondActivityTaskFailedByIdResponseSchema;
307
+ };
308
+ /**
309
+ * RespondActivityTaskFailed is called by workers when processing an activity task fails.
310
+ *
311
+ * This results in a new `ACTIVITY_TASK_CANCELED` event being written to the workflow history
312
+ * and a new workflow task created for the workflow. Fails with `NotFound` if the task token is
313
+ * no longer valid due to activity timeout, already being completed, or never having existed.
314
+ *
315
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.RespondActivityTaskCanceled
316
+ */
317
+ respondActivityTaskCanceled: {
318
+ methodKind: "unary";
319
+ input: typeof RespondActivityTaskCanceledRequestSchema;
320
+ output: typeof RespondActivityTaskCanceledResponseSchema;
321
+ };
322
+ /**
323
+ * See `RecordActivityTaskCanceled`. This version allows clients to record failures by
324
+ * namespace/workflow id/activity id instead of task token.
325
+ *
326
+ * (-- api-linter: core::0136::prepositions=disabled
327
+ * aip.dev/not-precedent: "By" is used to indicate request type. --)
328
+ *
329
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.RespondActivityTaskCanceledById
330
+ */
331
+ respondActivityTaskCanceledById: {
332
+ methodKind: "unary";
333
+ input: typeof RespondActivityTaskCanceledByIdRequestSchema;
334
+ output: typeof RespondActivityTaskCanceledByIdResponseSchema;
335
+ };
336
+ /**
337
+ * RequestCancelWorkflowExecution is called by workers when they want to request cancellation of
338
+ * a workflow execution.
339
+ *
340
+ * This results in a new `WORKFLOW_EXECUTION_CANCEL_REQUESTED` event being written to the
341
+ * workflow history and a new workflow task created for the workflow. It returns success if the requested
342
+ * workflow is already closed. It fails with 'NotFound' if the requested workflow doesn't exist.
343
+ *
344
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.RequestCancelWorkflowExecution
345
+ */
346
+ requestCancelWorkflowExecution: {
347
+ methodKind: "unary";
348
+ input: typeof RequestCancelWorkflowExecutionRequestSchema;
349
+ output: typeof RequestCancelWorkflowExecutionResponseSchema;
350
+ };
351
+ /**
352
+ * SignalWorkflowExecution is used to send a signal to a running workflow execution.
353
+ *
354
+ * This results in a `WORKFLOW_EXECUTION_SIGNALED` event recorded in the history and a workflow
355
+ * task being created for the execution.
356
+ *
357
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.SignalWorkflowExecution
358
+ */
359
+ signalWorkflowExecution: {
360
+ methodKind: "unary";
361
+ input: typeof SignalWorkflowExecutionRequestSchema;
362
+ output: typeof SignalWorkflowExecutionResponseSchema;
363
+ };
364
+ /**
365
+ * SignalWithStartWorkflowExecution is used to ensure a signal is sent to a workflow, even if
366
+ * it isn't yet started.
367
+ *
368
+ * If the workflow is running, a `WORKFLOW_EXECUTION_SIGNALED` event is recorded in the history
369
+ * and a workflow task is generated.
370
+ *
371
+ * If the workflow is not running or not found, then the workflow is created with
372
+ * `WORKFLOW_EXECUTION_STARTED` and `WORKFLOW_EXECUTION_SIGNALED` events in its history, and a
373
+ * workflow task is generated.
374
+ *
375
+ * (-- api-linter: core::0136::prepositions=disabled
376
+ * aip.dev/not-precedent: "With" is used to indicate combined operation. --)
377
+ *
378
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.SignalWithStartWorkflowExecution
379
+ */
380
+ signalWithStartWorkflowExecution: {
381
+ methodKind: "unary";
382
+ input: typeof SignalWithStartWorkflowExecutionRequestSchema;
383
+ output: typeof SignalWithStartWorkflowExecutionResponseSchema;
384
+ };
385
+ /**
386
+ * ResetWorkflowExecution will reset an existing workflow execution to a specified
387
+ * `WORKFLOW_TASK_COMPLETED` event (exclusive). It will immediately terminate the current
388
+ * execution instance. "Exclusive" means the identified completed event itself is not replayed
389
+ * in the reset history; the preceding `WORKFLOW_TASK_STARTED` event remains and will be marked as failed
390
+ * immediately, and a new workflow task will be scheduled to retry it.
391
+ *
392
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.ResetWorkflowExecution
393
+ */
394
+ resetWorkflowExecution: {
395
+ methodKind: "unary";
396
+ input: typeof ResetWorkflowExecutionRequestSchema;
397
+ output: typeof ResetWorkflowExecutionResponseSchema;
398
+ };
399
+ /**
400
+ * TerminateWorkflowExecution terminates an existing workflow execution by recording a
401
+ * `WORKFLOW_EXECUTION_TERMINATED` event in the history and immediately terminating the
402
+ * execution instance.
403
+ *
404
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.TerminateWorkflowExecution
405
+ */
406
+ terminateWorkflowExecution: {
407
+ methodKind: "unary";
408
+ input: typeof TerminateWorkflowExecutionRequestSchema;
409
+ output: typeof TerminateWorkflowExecutionResponseSchema;
410
+ };
411
+ /**
412
+ * DeleteWorkflowExecution asynchronously deletes a specific Workflow Execution (when
413
+ * WorkflowExecution.run_id is provided) or the latest Workflow Execution (when
414
+ * WorkflowExecution.run_id is not provided). If the Workflow Execution is Running, it will be
415
+ * terminated before deletion.
416
+ *
417
+ * (-- api-linter: core::0127::http-annotation=disabled
418
+ * aip.dev/not-precedent: Workflow deletion not exposed to HTTP, users should use cancel or terminate. --)
419
+ *
420
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.DeleteWorkflowExecution
421
+ */
422
+ deleteWorkflowExecution: {
423
+ methodKind: "unary";
424
+ input: typeof DeleteWorkflowExecutionRequestSchema;
425
+ output: typeof DeleteWorkflowExecutionResponseSchema;
426
+ };
427
+ /**
428
+ * ListOpenWorkflowExecutions is a visibility API to list the open executions in a specific namespace.
429
+ *
430
+ * (-- api-linter: core::0127::http-annotation=disabled
431
+ * aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --)
432
+ *
433
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.ListOpenWorkflowExecutions
434
+ */
435
+ listOpenWorkflowExecutions: {
436
+ methodKind: "unary";
437
+ input: typeof ListOpenWorkflowExecutionsRequestSchema;
438
+ output: typeof ListOpenWorkflowExecutionsResponseSchema;
439
+ };
440
+ /**
441
+ * ListClosedWorkflowExecutions is a visibility API to list the closed executions in a specific namespace.
442
+ *
443
+ * (-- api-linter: core::0127::http-annotation=disabled
444
+ * aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --)
445
+ *
446
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.ListClosedWorkflowExecutions
447
+ */
448
+ listClosedWorkflowExecutions: {
449
+ methodKind: "unary";
450
+ input: typeof ListClosedWorkflowExecutionsRequestSchema;
451
+ output: typeof ListClosedWorkflowExecutionsResponseSchema;
452
+ };
453
+ /**
454
+ * ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace.
455
+ *
456
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.ListWorkflowExecutions
457
+ */
458
+ listWorkflowExecutions: {
459
+ methodKind: "unary";
460
+ input: typeof ListWorkflowExecutionsRequestSchema;
461
+ output: typeof ListWorkflowExecutionsResponseSchema;
462
+ };
463
+ /**
464
+ * ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace.
465
+ *
466
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.ListArchivedWorkflowExecutions
467
+ */
468
+ listArchivedWorkflowExecutions: {
469
+ methodKind: "unary";
470
+ input: typeof ListArchivedWorkflowExecutionsRequestSchema;
471
+ output: typeof ListArchivedWorkflowExecutionsResponseSchema;
472
+ };
473
+ /**
474
+ * ScanWorkflowExecutions _was_ a visibility API to list large amount of workflow executions in a specific namespace without order.
475
+ * It has since been deprecated in favor of `ListWorkflowExecutions` and rewritten to use `ListWorkflowExecutions` internally.
476
+ *
477
+ * Deprecated: Replaced with `ListWorkflowExecutions`.
478
+ * (-- api-linter: core::0127::http-annotation=disabled
479
+ * aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --)
480
+ *
481
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.ScanWorkflowExecutions
482
+ */
483
+ scanWorkflowExecutions: {
484
+ methodKind: "unary";
485
+ input: typeof ScanWorkflowExecutionsRequestSchema;
486
+ output: typeof ScanWorkflowExecutionsResponseSchema;
487
+ };
488
+ /**
489
+ * CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace.
490
+ *
491
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.CountWorkflowExecutions
492
+ */
493
+ countWorkflowExecutions: {
494
+ methodKind: "unary";
495
+ input: typeof CountWorkflowExecutionsRequestSchema;
496
+ output: typeof CountWorkflowExecutionsResponseSchema;
497
+ };
498
+ /**
499
+ * GetSearchAttributes is a visibility API to get all legal keys that could be used in list APIs
500
+ *
501
+ * (-- api-linter: core::0127::http-annotation=disabled
502
+ * aip.dev/not-precedent: We do not expose this search attribute API to HTTP (but may expose on OperatorService). --)
503
+ *
504
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.GetSearchAttributes
505
+ */
506
+ getSearchAttributes: {
507
+ methodKind: "unary";
508
+ input: typeof GetSearchAttributesRequestSchema;
509
+ output: typeof GetSearchAttributesResponseSchema;
510
+ };
511
+ /**
512
+ * RespondQueryTaskCompleted is called by workers to complete queries which were delivered on
513
+ * the `query` (not `queries`) field of a `PollWorkflowTaskQueueResponse`.
514
+ *
515
+ * Completing the query will unblock the corresponding client call to `QueryWorkflow` and return
516
+ * the query result a response.
517
+ *
518
+ * (-- api-linter: core::0127::http-annotation=disabled
519
+ * aip.dev/not-precedent: We do not expose worker API to HTTP. --)
520
+ *
521
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.RespondQueryTaskCompleted
522
+ */
523
+ respondQueryTaskCompleted: {
524
+ methodKind: "unary";
525
+ input: typeof RespondQueryTaskCompletedRequestSchema;
526
+ output: typeof RespondQueryTaskCompletedResponseSchema;
527
+ };
528
+ /**
529
+ * ResetStickyTaskQueue resets the sticky task queue related information in the mutable state of
530
+ * a given workflow. This is prudent for workers to perform if a workflow has been paged out of
531
+ * their cache.
532
+ *
533
+ * Things cleared are:
534
+ * 1. StickyTaskQueue
535
+ * 2. StickyScheduleToStartTimeout
536
+ *
537
+ * When possible, ShutdownWorker should be preferred over
538
+ * ResetStickyTaskQueue (particularly when a worker is shutting down or
539
+ * cycling).
540
+ *
541
+ * (-- api-linter: core::0127::http-annotation=disabled
542
+ * aip.dev/not-precedent: We do not expose worker API to HTTP. --)
543
+ *
544
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.ResetStickyTaskQueue
545
+ */
546
+ resetStickyTaskQueue: {
547
+ methodKind: "unary";
548
+ input: typeof ResetStickyTaskQueueRequestSchema;
549
+ output: typeof ResetStickyTaskQueueResponseSchema;
550
+ };
551
+ /**
552
+ * ShutdownWorker is used to indicate that the given sticky task
553
+ * queue is no longer being polled by its worker. Following the completion of
554
+ * ShutdownWorker, newly-added workflow tasks will instead be placed
555
+ * in the normal task queue, eligible for any worker to pick up.
556
+ *
557
+ * ShutdownWorker should be called by workers while shutting down,
558
+ * after they've shut down their pollers. If another sticky poll
559
+ * request is issued, the sticky task queue will be revived.
560
+ *
561
+ * As of Temporal Server v1.25.0, ShutdownWorker hasn't yet been implemented.
562
+ *
563
+ * (-- api-linter: core::0127::http-annotation=disabled
564
+ * aip.dev/not-precedent: We do not expose worker API to HTTP. --)
565
+ *
566
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.ShutdownWorker
567
+ */
568
+ shutdownWorker: {
569
+ methodKind: "unary";
570
+ input: typeof ShutdownWorkerRequestSchema;
571
+ output: typeof ShutdownWorkerResponseSchema;
572
+ };
573
+ /**
574
+ * QueryWorkflow requests a query be executed for a specified workflow execution.
575
+ *
576
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.QueryWorkflow
577
+ */
578
+ queryWorkflow: {
579
+ methodKind: "unary";
580
+ input: typeof QueryWorkflowRequestSchema;
581
+ output: typeof QueryWorkflowResponseSchema;
582
+ };
583
+ /**
584
+ * DescribeWorkflowExecution returns information about the specified workflow execution.
585
+ *
586
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.DescribeWorkflowExecution
587
+ */
588
+ describeWorkflowExecution: {
589
+ methodKind: "unary";
590
+ input: typeof DescribeWorkflowExecutionRequestSchema;
591
+ output: typeof DescribeWorkflowExecutionResponseSchema;
592
+ };
593
+ /**
594
+ * DescribeTaskQueue returns the following information about the target task queue, broken down by Build ID:
595
+ * - List of pollers
596
+ * - Workflow Reachability status
597
+ * - Backlog info for Workflow and/or Activity tasks
598
+ *
599
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.DescribeTaskQueue
600
+ */
601
+ describeTaskQueue: {
602
+ methodKind: "unary";
603
+ input: typeof DescribeTaskQueueRequestSchema;
604
+ output: typeof DescribeTaskQueueResponseSchema;
605
+ };
606
+ /**
607
+ * GetClusterInfo returns information about temporal cluster
608
+ *
609
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.GetClusterInfo
610
+ */
611
+ getClusterInfo: {
612
+ methodKind: "unary";
613
+ input: typeof GetClusterInfoRequestSchema;
614
+ output: typeof GetClusterInfoResponseSchema;
615
+ };
616
+ /**
617
+ * GetSystemInfo returns information about the system.
618
+ *
619
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.GetSystemInfo
620
+ */
621
+ getSystemInfo: {
622
+ methodKind: "unary";
623
+ input: typeof GetSystemInfoRequestSchema;
624
+ output: typeof GetSystemInfoResponseSchema;
625
+ };
626
+ /**
627
+ * (-- api-linter: core::0127::http-annotation=disabled
628
+ * aip.dev/not-precedent: We do not expose this low-level API to HTTP. --)
629
+ *
630
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.ListTaskQueuePartitions
631
+ */
632
+ listTaskQueuePartitions: {
633
+ methodKind: "unary";
634
+ input: typeof ListTaskQueuePartitionsRequestSchema;
635
+ output: typeof ListTaskQueuePartitionsResponseSchema;
636
+ };
637
+ /**
638
+ * Creates a new schedule.
639
+ *
640
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.CreateSchedule
641
+ */
642
+ createSchedule: {
643
+ methodKind: "unary";
644
+ input: typeof CreateScheduleRequestSchema;
645
+ output: typeof CreateScheduleResponseSchema;
646
+ };
647
+ /**
648
+ * Returns the schedule description and current state of an existing schedule.
649
+ *
650
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.DescribeSchedule
651
+ */
652
+ describeSchedule: {
653
+ methodKind: "unary";
654
+ input: typeof DescribeScheduleRequestSchema;
655
+ output: typeof DescribeScheduleResponseSchema;
656
+ };
657
+ /**
658
+ * Changes the configuration or state of an existing schedule.
659
+ *
660
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.UpdateSchedule
661
+ */
662
+ updateSchedule: {
663
+ methodKind: "unary";
664
+ input: typeof UpdateScheduleRequestSchema;
665
+ output: typeof UpdateScheduleResponseSchema;
666
+ };
667
+ /**
668
+ * Makes a specific change to a schedule or triggers an immediate action.
669
+ *
670
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.PatchSchedule
671
+ */
672
+ patchSchedule: {
673
+ methodKind: "unary";
674
+ input: typeof PatchScheduleRequestSchema;
675
+ output: typeof PatchScheduleResponseSchema;
676
+ };
677
+ /**
678
+ * Lists matching times within a range.
679
+ *
680
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.ListScheduleMatchingTimes
681
+ */
682
+ listScheduleMatchingTimes: {
683
+ methodKind: "unary";
684
+ input: typeof ListScheduleMatchingTimesRequestSchema;
685
+ output: typeof ListScheduleMatchingTimesResponseSchema;
686
+ };
687
+ /**
688
+ * Deletes a schedule, removing it from the system.
689
+ *
690
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.DeleteSchedule
691
+ */
692
+ deleteSchedule: {
693
+ methodKind: "unary";
694
+ input: typeof DeleteScheduleRequestSchema;
695
+ output: typeof DeleteScheduleResponseSchema;
696
+ };
697
+ /**
698
+ * List all schedules in a namespace.
699
+ *
700
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.ListSchedules
701
+ */
702
+ listSchedules: {
703
+ methodKind: "unary";
704
+ input: typeof ListSchedulesRequestSchema;
705
+ output: typeof ListSchedulesResponseSchema;
706
+ };
707
+ /**
708
+ * Deprecated. Use `UpdateWorkerVersioningRules`.
709
+ *
710
+ * Allows users to specify sets of worker build id versions on a per task queue basis. Versions
711
+ * are ordered, and may be either compatible with some extant version, or a new incompatible
712
+ * version, forming sets of ids which are incompatible with each other, but whose contained
713
+ * members are compatible with one another.
714
+ *
715
+ * A single build id may be mapped to multiple task queues using this API for cases where a single process hosts
716
+ * multiple workers.
717
+ *
718
+ * To query which workers can be retired, use the `GetWorkerTaskReachability` API.
719
+ *
720
+ * NOTE: The number of task queues mapped to a single build id is limited by the `limit.taskQueuesPerBuildId`
721
+ * (default is 20), if this limit is exceeded this API will error with a FailedPrecondition.
722
+ *
723
+ * (-- api-linter: core::0127::http-annotation=disabled
724
+ * aip.dev/not-precedent: We do yet expose versioning API to HTTP. --)
725
+ *
726
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.UpdateWorkerBuildIdCompatibility
727
+ */
728
+ updateWorkerBuildIdCompatibility: {
729
+ methodKind: "unary";
730
+ input: typeof UpdateWorkerBuildIdCompatibilityRequestSchema;
731
+ output: typeof UpdateWorkerBuildIdCompatibilityResponseSchema;
732
+ };
733
+ /**
734
+ * Deprecated. Use `GetWorkerVersioningRules`.
735
+ * Fetches the worker build id versioning sets for a task queue.
736
+ *
737
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.GetWorkerBuildIdCompatibility
738
+ */
739
+ getWorkerBuildIdCompatibility: {
740
+ methodKind: "unary";
741
+ input: typeof GetWorkerBuildIdCompatibilityRequestSchema;
742
+ output: typeof GetWorkerBuildIdCompatibilityResponseSchema;
743
+ };
744
+ /**
745
+ * Use this API to manage Worker Versioning Rules for a given Task Queue. There are two types of
746
+ * rules: Build ID Assignment rules and Compatible Build ID Redirect rules.
747
+ *
748
+ * Assignment rules determine how to assign new executions to a Build IDs. Their primary
749
+ * use case is to specify the latest Build ID but they have powerful features for gradual rollout
750
+ * of a new Build ID.
751
+ *
752
+ * Once a workflow execution is assigned to a Build ID and it completes its first Workflow Task,
753
+ * the workflow stays on the assigned Build ID regardless of changes in assignment rules. This
754
+ * eliminates the need for compatibility between versions when you only care about using the new
755
+ * version for new workflows and let existing workflows finish in their own version.
756
+ *
757
+ * Activities, Child Workflows and Continue-as-New executions have the option to inherit the
758
+ * Build ID of their parent/previous workflow or use the latest assignment rules to independently
759
+ * select a Build ID.
760
+ *
761
+ * Redirect rules should only be used when you want to move workflows and activities assigned to
762
+ * one Build ID (source) to another compatible Build ID (target). You are responsible to make sure
763
+ * the target Build ID of a redirect rule is able to process event histories made by the source
764
+ * Build ID by using [Patching](https://docs.temporal.io/workflows#patching) or other means.
765
+ *
766
+ * WARNING: Worker Versioning is not yet stable and the API and behavior may change incompatibly.
767
+ * (-- api-linter: core::0127::http-annotation=disabled
768
+ * aip.dev/not-precedent: We do yet expose versioning API to HTTP. --)
769
+ *
770
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.UpdateWorkerVersioningRules
771
+ */
772
+ updateWorkerVersioningRules: {
773
+ methodKind: "unary";
774
+ input: typeof UpdateWorkerVersioningRulesRequestSchema;
775
+ output: typeof UpdateWorkerVersioningRulesResponseSchema;
776
+ };
777
+ /**
778
+ * Fetches the Build ID assignment and redirect rules for a Task Queue.
779
+ * WARNING: Worker Versioning is not yet stable and the API and behavior may change incompatibly.
780
+ *
781
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.GetWorkerVersioningRules
782
+ */
783
+ getWorkerVersioningRules: {
784
+ methodKind: "unary";
785
+ input: typeof GetWorkerVersioningRulesRequestSchema;
786
+ output: typeof GetWorkerVersioningRulesResponseSchema;
787
+ };
788
+ /**
789
+ * Deprecated. Use `DescribeTaskQueue`.
790
+ *
791
+ * Fetches task reachability to determine whether a worker may be retired.
792
+ * The request may specify task queues to query for or let the server fetch all task queues mapped to the given
793
+ * build IDs.
794
+ *
795
+ * When requesting a large number of task queues or all task queues associated with the given build ids in a
796
+ * namespace, all task queues will be listed in the response but some of them may not contain reachability
797
+ * information due to a server enforced limit. When reaching the limit, task queues that reachability information
798
+ * could not be retrieved for will be marked with a single TASK_REACHABILITY_UNSPECIFIED entry. The caller may issue
799
+ * another call to get the reachability for those task queues.
800
+ *
801
+ * Open source users can adjust this limit by setting the server's dynamic config value for
802
+ * `limit.reachabilityTaskQueueScan` with the caveat that this call can strain the visibility store.
803
+ *
804
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.GetWorkerTaskReachability
805
+ */
806
+ getWorkerTaskReachability: {
807
+ methodKind: "unary";
808
+ input: typeof GetWorkerTaskReachabilityRequestSchema;
809
+ output: typeof GetWorkerTaskReachabilityResponseSchema;
810
+ };
811
+ /**
812
+ * Describes a worker deployment.
813
+ * Experimental. This API might significantly change or be removed in a future release.
814
+ * Deprecated. Replaced with `DescribeWorkerDeploymentVersion`.
815
+ *
816
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.DescribeDeployment
817
+ */
818
+ describeDeployment: {
819
+ methodKind: "unary";
820
+ input: typeof DescribeDeploymentRequestSchema;
821
+ output: typeof DescribeDeploymentResponseSchema;
822
+ };
823
+ /**
824
+ * Describes a worker deployment version.
825
+ * Experimental. This API might significantly change or be removed in a future release.
826
+ *
827
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.DescribeWorkerDeploymentVersion
828
+ */
829
+ describeWorkerDeploymentVersion: {
830
+ methodKind: "unary";
831
+ input: typeof DescribeWorkerDeploymentVersionRequestSchema;
832
+ output: typeof DescribeWorkerDeploymentVersionResponseSchema;
833
+ };
834
+ /**
835
+ * Lists worker deployments in the namespace. Optionally can filter based on deployment series
836
+ * name.
837
+ * Experimental. This API might significantly change or be removed in a future release.
838
+ * Deprecated. Replaced with `ListWorkerDeployments`.
839
+ *
840
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.ListDeployments
841
+ */
842
+ listDeployments: {
843
+ methodKind: "unary";
844
+ input: typeof ListDeploymentsRequestSchema;
845
+ output: typeof ListDeploymentsResponseSchema;
846
+ };
847
+ /**
848
+ * Returns the reachability level of a worker deployment to help users decide when it is time
849
+ * to decommission a deployment. Reachability level is calculated based on the deployment's
850
+ * `status` and existing workflows that depend on the given deployment for their execution.
851
+ * Calculating reachability is relatively expensive. Therefore, server might return a recently
852
+ * cached value. In such a case, the `last_update_time` will inform you about the actual
853
+ * reachability calculation time.
854
+ * Experimental. This API might significantly change or be removed in a future release.
855
+ * Deprecated. Replaced with `DrainageInfo` returned by `DescribeWorkerDeploymentVersion`.
856
+ *
857
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.GetDeploymentReachability
858
+ */
859
+ getDeploymentReachability: {
860
+ methodKind: "unary";
861
+ input: typeof GetDeploymentReachabilityRequestSchema;
862
+ output: typeof GetDeploymentReachabilityResponseSchema;
863
+ };
864
+ /**
865
+ * Returns the current deployment (and its info) for a given deployment series.
866
+ * Experimental. This API might significantly change or be removed in a future release.
867
+ * Deprecated. Replaced by `current_version` returned by `DescribeWorkerDeployment`.
868
+ *
869
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.GetCurrentDeployment
870
+ */
871
+ getCurrentDeployment: {
872
+ methodKind: "unary";
873
+ input: typeof GetCurrentDeploymentRequestSchema;
874
+ output: typeof GetCurrentDeploymentResponseSchema;
875
+ };
876
+ /**
877
+ * Sets a deployment as the current deployment for its deployment series. Can optionally update
878
+ * the metadata of the deployment as well.
879
+ * Experimental. This API might significantly change or be removed in a future release.
880
+ * Deprecated. Replaced by `SetWorkerDeploymentCurrentVersion`.
881
+ *
882
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.SetCurrentDeployment
883
+ */
884
+ setCurrentDeployment: {
885
+ methodKind: "unary";
886
+ input: typeof SetCurrentDeploymentRequestSchema;
887
+ output: typeof SetCurrentDeploymentResponseSchema;
888
+ };
889
+ /**
890
+ * Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping
891
+ * Version if it is the Version being set as Current.
892
+ * Experimental. This API might significantly change or be removed in a future release.
893
+ *
894
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.SetWorkerDeploymentCurrentVersion
895
+ */
896
+ setWorkerDeploymentCurrentVersion: {
897
+ methodKind: "unary";
898
+ input: typeof SetWorkerDeploymentCurrentVersionRequestSchema;
899
+ output: typeof SetWorkerDeploymentCurrentVersionResponseSchema;
900
+ };
901
+ /**
902
+ * Describes a Worker Deployment.
903
+ * Experimental. This API might significantly change or be removed in a future release.
904
+ *
905
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.DescribeWorkerDeployment
906
+ */
907
+ describeWorkerDeployment: {
908
+ methodKind: "unary";
909
+ input: typeof DescribeWorkerDeploymentRequestSchema;
910
+ output: typeof DescribeWorkerDeploymentResponseSchema;
911
+ };
912
+ /**
913
+ * Deletes records of (an old) Deployment. A deployment can only be deleted if
914
+ * it has no Version in it.
915
+ * Experimental. This API might significantly change or be removed in a future release.
916
+ *
917
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.DeleteWorkerDeployment
918
+ */
919
+ deleteWorkerDeployment: {
920
+ methodKind: "unary";
921
+ input: typeof DeleteWorkerDeploymentRequestSchema;
922
+ output: typeof DeleteWorkerDeploymentResponseSchema;
923
+ };
924
+ /**
925
+ * Used for manual deletion of Versions. User can delete a Version only when all the
926
+ * following conditions are met:
927
+ * - It is not the Current or Ramping Version of its Deployment.
928
+ * - It has no active pollers (none of the task queues in the Version have pollers)
929
+ * - It is not draining (see WorkerDeploymentVersionInfo.drainage_info). This condition
930
+ * can be skipped by passing `skip-drainage=true`.
931
+ * Experimental. This API might significantly change or be removed in a future release.
932
+ *
933
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.DeleteWorkerDeploymentVersion
934
+ */
935
+ deleteWorkerDeploymentVersion: {
936
+ methodKind: "unary";
937
+ input: typeof DeleteWorkerDeploymentVersionRequestSchema;
938
+ output: typeof DeleteWorkerDeploymentVersionResponseSchema;
939
+ };
940
+ /**
941
+ * Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for
942
+ * gradual ramp to unversioned workers too.
943
+ * Experimental. This API might significantly change or be removed in a future release.
944
+ *
945
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.SetWorkerDeploymentRampingVersion
946
+ */
947
+ setWorkerDeploymentRampingVersion: {
948
+ methodKind: "unary";
949
+ input: typeof SetWorkerDeploymentRampingVersionRequestSchema;
950
+ output: typeof SetWorkerDeploymentRampingVersionResponseSchema;
951
+ };
952
+ /**
953
+ * Lists all Worker Deployments that are tracked in the Namespace.
954
+ * Experimental. This API might significantly change or be removed in a future release.
955
+ *
956
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.ListWorkerDeployments
957
+ */
958
+ listWorkerDeployments: {
959
+ methodKind: "unary";
960
+ input: typeof ListWorkerDeploymentsRequestSchema;
961
+ output: typeof ListWorkerDeploymentsResponseSchema;
962
+ };
963
+ /**
964
+ * Updates the user-given metadata attached to a Worker Deployment Version.
965
+ * Experimental. This API might significantly change or be removed in a future release.
966
+ *
967
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.UpdateWorkerDeploymentVersionMetadata
968
+ */
969
+ updateWorkerDeploymentVersionMetadata: {
970
+ methodKind: "unary";
971
+ input: typeof UpdateWorkerDeploymentVersionMetadataRequestSchema;
972
+ output: typeof UpdateWorkerDeploymentVersionMetadataResponseSchema;
973
+ };
974
+ /**
975
+ * Set/unset the ManagerIdentity of a Worker Deployment.
976
+ * Experimental. This API might significantly change or be removed in a future release.
977
+ *
978
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.SetWorkerDeploymentManager
979
+ */
980
+ setWorkerDeploymentManager: {
981
+ methodKind: "unary";
982
+ input: typeof SetWorkerDeploymentManagerRequestSchema;
983
+ output: typeof SetWorkerDeploymentManagerResponseSchema;
984
+ };
985
+ /**
986
+ * Invokes the specified Update function on user Workflow code.
987
+ *
988
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.UpdateWorkflowExecution
989
+ */
990
+ updateWorkflowExecution: {
991
+ methodKind: "unary";
992
+ input: typeof UpdateWorkflowExecutionRequestSchema;
993
+ output: typeof UpdateWorkflowExecutionResponseSchema;
994
+ };
995
+ /**
996
+ * Polls a Workflow Execution for the outcome of a Workflow Update
997
+ * previously issued through the UpdateWorkflowExecution RPC. The effective
998
+ * timeout on this call will be shorter of the the caller-supplied gRPC
999
+ * timeout and the server's configured long-poll timeout.
1000
+ *
1001
+ * (-- api-linter: core::0127::http-annotation=disabled
1002
+ * aip.dev/not-precedent: We don't expose update polling API to HTTP in favor of a potential future non-blocking form. --)
1003
+ *
1004
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.PollWorkflowExecutionUpdate
1005
+ */
1006
+ pollWorkflowExecutionUpdate: {
1007
+ methodKind: "unary";
1008
+ input: typeof PollWorkflowExecutionUpdateRequestSchema;
1009
+ output: typeof PollWorkflowExecutionUpdateResponseSchema;
1010
+ };
1011
+ /**
1012
+ * StartBatchOperation starts a new batch operation
1013
+ *
1014
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.StartBatchOperation
1015
+ */
1016
+ startBatchOperation: {
1017
+ methodKind: "unary";
1018
+ input: typeof StartBatchOperationRequestSchema;
1019
+ output: typeof StartBatchOperationResponseSchema;
1020
+ };
1021
+ /**
1022
+ * StopBatchOperation stops a batch operation
1023
+ *
1024
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.StopBatchOperation
1025
+ */
1026
+ stopBatchOperation: {
1027
+ methodKind: "unary";
1028
+ input: typeof StopBatchOperationRequestSchema;
1029
+ output: typeof StopBatchOperationResponseSchema;
1030
+ };
1031
+ /**
1032
+ * DescribeBatchOperation returns the information about a batch operation
1033
+ *
1034
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.DescribeBatchOperation
1035
+ */
1036
+ describeBatchOperation: {
1037
+ methodKind: "unary";
1038
+ input: typeof DescribeBatchOperationRequestSchema;
1039
+ output: typeof DescribeBatchOperationResponseSchema;
1040
+ };
1041
+ /**
1042
+ * ListBatchOperations returns a list of batch operations
1043
+ *
1044
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.ListBatchOperations
1045
+ */
1046
+ listBatchOperations: {
1047
+ methodKind: "unary";
1048
+ input: typeof ListBatchOperationsRequestSchema;
1049
+ output: typeof ListBatchOperationsResponseSchema;
1050
+ };
1051
+ /**
1052
+ * PollNexusTaskQueue is a long poll call used by workers to receive Nexus tasks.
1053
+ * (-- api-linter: core::0127::http-annotation=disabled
1054
+ * aip.dev/not-precedent: We do not expose worker API to HTTP. --)
1055
+ *
1056
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.PollNexusTaskQueue
1057
+ */
1058
+ pollNexusTaskQueue: {
1059
+ methodKind: "unary";
1060
+ input: typeof PollNexusTaskQueueRequestSchema;
1061
+ output: typeof PollNexusTaskQueueResponseSchema;
1062
+ };
1063
+ /**
1064
+ * RespondNexusTaskCompleted is called by workers to respond to Nexus tasks received via PollNexusTaskQueue.
1065
+ * (-- api-linter: core::0127::http-annotation=disabled
1066
+ * aip.dev/not-precedent: We do not expose worker API to HTTP. --)
1067
+ *
1068
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.RespondNexusTaskCompleted
1069
+ */
1070
+ respondNexusTaskCompleted: {
1071
+ methodKind: "unary";
1072
+ input: typeof RespondNexusTaskCompletedRequestSchema;
1073
+ output: typeof RespondNexusTaskCompletedResponseSchema;
1074
+ };
1075
+ /**
1076
+ * RespondNexusTaskFailed is called by workers to fail Nexus tasks received via PollNexusTaskQueue.
1077
+ * (-- api-linter: core::0127::http-annotation=disabled
1078
+ * aip.dev/not-precedent: We do not expose worker API to HTTP. --)
1079
+ *
1080
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.RespondNexusTaskFailed
1081
+ */
1082
+ respondNexusTaskFailed: {
1083
+ methodKind: "unary";
1084
+ input: typeof RespondNexusTaskFailedRequestSchema;
1085
+ output: typeof RespondNexusTaskFailedResponseSchema;
1086
+ };
1087
+ /**
1088
+ * UpdateActivityOptions is called by the client to update the options of an activity by its ID or type.
1089
+ * If there are multiple pending activities of the provided type - all of them will be updated.
1090
+ *
1091
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.UpdateActivityOptions
1092
+ */
1093
+ updateActivityOptions: {
1094
+ methodKind: "unary";
1095
+ input: typeof UpdateActivityOptionsRequestSchema;
1096
+ output: typeof UpdateActivityOptionsResponseSchema;
1097
+ };
1098
+ /**
1099
+ * UpdateWorkflowExecutionOptions partially updates the WorkflowExecutionOptions of an existing workflow execution.
1100
+ *
1101
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.UpdateWorkflowExecutionOptions
1102
+ */
1103
+ updateWorkflowExecutionOptions: {
1104
+ methodKind: "unary";
1105
+ input: typeof UpdateWorkflowExecutionOptionsRequestSchema;
1106
+ output: typeof UpdateWorkflowExecutionOptionsResponseSchema;
1107
+ };
1108
+ /**
1109
+ * PauseActivity pauses the execution of an activity specified by its ID or type.
1110
+ * If there are multiple pending activities of the provided type - all of them will be paused
1111
+ *
1112
+ * Pausing an activity means:
1113
+ * - If the activity is currently waiting for a retry or is running and subsequently fails,
1114
+ * it will not be rescheduled until it is unpaused.
1115
+ * - If the activity is already paused, calling this method will have no effect.
1116
+ * - If the activity is running and finishes successfully, the activity will be completed.
1117
+ * - If the activity is running and finishes with failure:
1118
+ * * if there is no retry left - the activity will be completed.
1119
+ * * if there are more retries left - the activity will be paused.
1120
+ * For long-running activities:
1121
+ * - activities in paused state will send a cancellation with "activity_paused" set to 'true' in response to 'RecordActivityTaskHeartbeat'.
1122
+ * - The activity should respond to the cancellation accordingly.
1123
+ *
1124
+ * Returns a `NotFound` error if there is no pending activity with the provided ID or type
1125
+ *
1126
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.PauseActivity
1127
+ */
1128
+ pauseActivity: {
1129
+ methodKind: "unary";
1130
+ input: typeof PauseActivityRequestSchema;
1131
+ output: typeof PauseActivityResponseSchema;
1132
+ };
1133
+ /**
1134
+ * UnpauseActivity unpauses the execution of an activity specified by its ID or type.
1135
+ * If there are multiple pending activities of the provided type - all of them will be unpaused.
1136
+ *
1137
+ * If activity is not paused, this call will have no effect.
1138
+ * If the activity was paused while waiting for retry, it will be scheduled immediately (* see 'jitter' flag).
1139
+ * Once the activity is unpaused, all timeout timers will be regenerated.
1140
+ *
1141
+ * Flags:
1142
+ * 'jitter': the activity will be scheduled at a random time within the jitter duration.
1143
+ * 'reset_attempts': the number of attempts will be reset.
1144
+ * 'reset_heartbeat': the activity heartbeat timer and heartbeats will be reset.
1145
+ *
1146
+ * Returns a `NotFound` error if there is no pending activity with the provided ID or type
1147
+ *
1148
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.UnpauseActivity
1149
+ */
1150
+ unpauseActivity: {
1151
+ methodKind: "unary";
1152
+ input: typeof UnpauseActivityRequestSchema;
1153
+ output: typeof UnpauseActivityResponseSchema;
1154
+ };
1155
+ /**
1156
+ * ResetActivity resets the execution of an activity specified by its ID or type.
1157
+ * If there are multiple pending activities of the provided type - all of them will be reset.
1158
+ *
1159
+ * Resetting an activity means:
1160
+ * * number of attempts will be reset to 0.
1161
+ * * activity timeouts will be reset.
1162
+ * * if the activity is waiting for retry, and it is not paused or 'keep_paused' is not provided:
1163
+ * it will be scheduled immediately (* see 'jitter' flag),
1164
+ *
1165
+ * Flags:
1166
+ *
1167
+ * 'jitter': the activity will be scheduled at a random time within the jitter duration.
1168
+ * If the activity currently paused it will be unpaused, unless 'keep_paused' flag is provided.
1169
+ * 'reset_heartbeats': the activity heartbeat timer and heartbeats will be reset.
1170
+ * 'keep_paused': if the activity is paused, it will remain paused.
1171
+ *
1172
+ * Returns a `NotFound` error if there is no pending activity with the provided ID or type.
1173
+ *
1174
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.ResetActivity
1175
+ */
1176
+ resetActivity: {
1177
+ methodKind: "unary";
1178
+ input: typeof ResetActivityRequestSchema;
1179
+ output: typeof ResetActivityResponseSchema;
1180
+ };
1181
+ /**
1182
+ * Create a new workflow rule. The rules are used to control the workflow execution.
1183
+ * The rule will be applied to all running and new workflows in the namespace.
1184
+ * If the rule with such ID already exist this call will fail
1185
+ * Note: the rules are part of namespace configuration and will be stored in the namespace config.
1186
+ * Namespace config is eventually consistent.
1187
+ *
1188
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.CreateWorkflowRule
1189
+ */
1190
+ createWorkflowRule: {
1191
+ methodKind: "unary";
1192
+ input: typeof CreateWorkflowRuleRequestSchema;
1193
+ output: typeof CreateWorkflowRuleResponseSchema;
1194
+ };
1195
+ /**
1196
+ * DescribeWorkflowRule return the rule specification for existing rule id.
1197
+ * If there is no rule with such id - NOT FOUND error will be returned.
1198
+ *
1199
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.DescribeWorkflowRule
1200
+ */
1201
+ describeWorkflowRule: {
1202
+ methodKind: "unary";
1203
+ input: typeof DescribeWorkflowRuleRequestSchema;
1204
+ output: typeof DescribeWorkflowRuleResponseSchema;
1205
+ };
1206
+ /**
1207
+ * Delete rule by rule id
1208
+ *
1209
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.DeleteWorkflowRule
1210
+ */
1211
+ deleteWorkflowRule: {
1212
+ methodKind: "unary";
1213
+ input: typeof DeleteWorkflowRuleRequestSchema;
1214
+ output: typeof DeleteWorkflowRuleResponseSchema;
1215
+ };
1216
+ /**
1217
+ * Return all namespace workflow rules
1218
+ *
1219
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.ListWorkflowRules
1220
+ */
1221
+ listWorkflowRules: {
1222
+ methodKind: "unary";
1223
+ input: typeof ListWorkflowRulesRequestSchema;
1224
+ output: typeof ListWorkflowRulesResponseSchema;
1225
+ };
1226
+ /**
1227
+ * TriggerWorkflowRule allows to:
1228
+ * * trigger existing rule for a specific workflow execution;
1229
+ * * trigger rule for a specific workflow execution without creating a rule;
1230
+ * This is useful for one-off operations.
1231
+ *
1232
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.TriggerWorkflowRule
1233
+ */
1234
+ triggerWorkflowRule: {
1235
+ methodKind: "unary";
1236
+ input: typeof TriggerWorkflowRuleRequestSchema;
1237
+ output: typeof TriggerWorkflowRuleResponseSchema;
1238
+ };
1239
+ /**
1240
+ * WorkerHeartbeat receive heartbeat request from the worker.
1241
+ *
1242
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.RecordWorkerHeartbeat
1243
+ */
1244
+ recordWorkerHeartbeat: {
1245
+ methodKind: "unary";
1246
+ input: typeof RecordWorkerHeartbeatRequestSchema;
1247
+ output: typeof RecordWorkerHeartbeatResponseSchema;
1248
+ };
1249
+ /**
1250
+ * ListWorkers is a visibility API to list worker status information in a specific namespace.
1251
+ *
1252
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.ListWorkers
1253
+ */
1254
+ listWorkers: {
1255
+ methodKind: "unary";
1256
+ input: typeof ListWorkersRequestSchema;
1257
+ output: typeof ListWorkersResponseSchema;
1258
+ };
1259
+ /**
1260
+ * Updates task queue configuration.
1261
+ * For the overall queue rate limit: the rate limit set by this api overrides the worker-set rate limit,
1262
+ * which uncouples the rate limit from the worker lifecycle.
1263
+ * If the overall queue rate limit is unset, the worker-set rate limit takes effect.
1264
+ *
1265
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.UpdateTaskQueueConfig
1266
+ */
1267
+ updateTaskQueueConfig: {
1268
+ methodKind: "unary";
1269
+ input: typeof UpdateTaskQueueConfigRequestSchema;
1270
+ output: typeof UpdateTaskQueueConfigResponseSchema;
1271
+ };
1272
+ /**
1273
+ * FetchWorkerConfig returns the worker configuration for a specific worker.
1274
+ *
1275
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.FetchWorkerConfig
1276
+ */
1277
+ fetchWorkerConfig: {
1278
+ methodKind: "unary";
1279
+ input: typeof FetchWorkerConfigRequestSchema;
1280
+ output: typeof FetchWorkerConfigResponseSchema;
1281
+ };
1282
+ /**
1283
+ * UpdateWorkerConfig updates the worker configuration of one or more workers.
1284
+ * Can be used to partially update the worker configuration.
1285
+ * Can be used to update the configuration of multiple workers.
1286
+ *
1287
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.UpdateWorkerConfig
1288
+ */
1289
+ updateWorkerConfig: {
1290
+ methodKind: "unary";
1291
+ input: typeof UpdateWorkerConfigRequestSchema;
1292
+ output: typeof UpdateWorkerConfigResponseSchema;
1293
+ };
1294
+ /**
1295
+ * DescribeWorker returns information about the specified worker.
1296
+ *
1297
+ * @generated from rpc temporal.api.workflowservice.v1.WorkflowService.DescribeWorker
1298
+ */
1299
+ describeWorker: {
1300
+ methodKind: "unary";
1301
+ input: typeof DescribeWorkerRequestSchema;
1302
+ output: typeof DescribeWorkerResponseSchema;
1303
+ };
1304
+ }>;
1305
+ //# sourceMappingURL=service_pb.d.ts.map