@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.
- package/README.md +387 -0
- package/dist/bin/start-worker.js +3 -0
- package/dist/bin/temporal-bun.js +3 -0
- package/dist/src/activities/index.d.ts +6 -0
- package/dist/src/activities/index.d.ts.map +1 -0
- package/dist/src/activities/index.js +5 -0
- package/dist/src/activities/index.js.map +1 -0
- package/dist/src/activities/lifecycle.d.ts +48 -0
- package/dist/src/activities/lifecycle.d.ts.map +1 -0
- package/dist/src/activities/lifecycle.js +306 -0
- package/dist/src/activities/lifecycle.js.map +1 -0
- package/dist/src/bin/replay-command.d.ts +104 -0
- package/dist/src/bin/replay-command.d.ts.map +1 -0
- package/dist/src/bin/replay-command.js +582 -0
- package/dist/src/bin/replay-command.js.map +1 -0
- package/dist/src/bin/start-worker.d.ts +3 -0
- package/dist/src/bin/start-worker.d.ts.map +1 -0
- package/dist/src/bin/start-worker.js +29 -0
- package/dist/src/bin/start-worker.js.map +1 -0
- package/dist/src/bin/temporal-bun.d.ts +25 -0
- package/dist/src/bin/temporal-bun.d.ts.map +1 -0
- package/dist/src/bin/temporal-bun.js +427 -0
- package/dist/src/bin/temporal-bun.js.map +1 -0
- package/dist/src/build_id_preflight.d.ts +7 -0
- package/dist/src/build_id_preflight.d.ts.map +1 -0
- package/dist/src/build_id_preflight.js +123 -0
- package/dist/src/build_id_preflight.js.map +1 -0
- package/dist/src/client/headers.d.ts +4 -0
- package/dist/src/client/headers.d.ts.map +1 -0
- package/dist/src/client/headers.js +79 -0
- package/dist/src/client/headers.js.map +1 -0
- package/dist/src/client/index.d.ts +2 -0
- package/dist/src/client/index.d.ts.map +1 -0
- package/dist/src/client/index.js +2 -0
- package/dist/src/client/index.js.map +1 -0
- package/dist/src/client/interceptors.d.ts +17 -0
- package/dist/src/client/interceptors.d.ts.map +1 -0
- package/dist/src/client/interceptors.js +71 -0
- package/dist/src/client/interceptors.js.map +1 -0
- package/dist/src/client/layer.d.ts +10 -0
- package/dist/src/client/layer.d.ts.map +1 -0
- package/dist/src/client/layer.js +7 -0
- package/dist/src/client/layer.js.map +1 -0
- package/dist/src/client/retries.d.ts +13 -0
- package/dist/src/client/retries.d.ts.map +1 -0
- package/dist/src/client/retries.js +51 -0
- package/dist/src/client/retries.js.map +1 -0
- package/dist/src/client/serialization.d.ts +48 -0
- package/dist/src/client/serialization.d.ts.map +1 -0
- package/dist/src/client/serialization.js +310 -0
- package/dist/src/client/serialization.js.map +1 -0
- package/dist/src/client/serialization.test.d.ts +2 -0
- package/dist/src/client/serialization.test.d.ts.map +1 -0
- package/dist/src/client/serialization.test.js +251 -0
- package/dist/src/client/serialization.test.js.map +1 -0
- package/dist/src/client/transport.d.ts +12 -0
- package/dist/src/client/transport.d.ts.map +1 -0
- package/dist/src/client/transport.js +36 -0
- package/dist/src/client/transport.js.map +1 -0
- package/dist/src/client/types.d.ts +51 -0
- package/dist/src/client/types.d.ts.map +1 -0
- package/dist/src/client/types.js +7 -0
- package/dist/src/client/types.js.map +1 -0
- package/dist/src/client.d.ts +92 -0
- package/dist/src/client.d.ts.map +1 -0
- package/dist/src/client.js +666 -0
- package/dist/src/client.js.map +1 -0
- package/dist/src/common/duration.d.ts +4 -0
- package/dist/src/common/duration.d.ts.map +1 -0
- package/dist/src/common/duration.js +14 -0
- package/dist/src/common/duration.js.map +1 -0
- package/dist/src/common/index.d.ts +2 -0
- package/dist/src/common/index.d.ts.map +1 -0
- package/dist/src/common/index.js +2 -0
- package/dist/src/common/index.js.map +1 -0
- package/dist/src/common/payloads/converter.d.ts +16 -0
- package/dist/src/common/payloads/converter.d.ts.map +1 -0
- package/dist/src/common/payloads/converter.js +33 -0
- package/dist/src/common/payloads/converter.js.map +1 -0
- package/dist/src/common/payloads/failure.d.ts +7 -0
- package/dist/src/common/payloads/failure.d.ts.map +1 -0
- package/dist/src/common/payloads/failure.js +53 -0
- package/dist/src/common/payloads/failure.js.map +1 -0
- package/dist/src/common/payloads/index.d.ts +4 -0
- package/dist/src/common/payloads/index.d.ts.map +1 -0
- package/dist/src/common/payloads/index.js +4 -0
- package/dist/src/common/payloads/index.js.map +1 -0
- package/dist/src/common/payloads/json-codec.d.ts +16 -0
- package/dist/src/common/payloads/json-codec.d.ts.map +1 -0
- package/dist/src/common/payloads/json-codec.js +185 -0
- package/dist/src/common/payloads/json-codec.js.map +1 -0
- package/dist/src/common/sleep.d.ts +2 -0
- package/dist/src/common/sleep.d.ts.map +1 -0
- package/dist/src/common/sleep.js +3 -0
- package/dist/src/common/sleep.js.map +1 -0
- package/dist/src/config.d.ts +115 -0
- package/dist/src/config.d.ts.map +1 -0
- package/dist/src/config.js +505 -0
- package/dist/src/config.js.map +1 -0
- package/dist/src/core-bridge/client.d.ts +36 -0
- package/dist/src/core-bridge/client.d.ts.map +1 -0
- package/dist/src/core-bridge/client.js +111 -0
- package/dist/src/core-bridge/client.js.map +1 -0
- package/dist/src/core-bridge/index.d.ts +4 -0
- package/dist/src/core-bridge/index.d.ts.map +1 -0
- package/dist/src/core-bridge/index.js +4 -0
- package/dist/src/core-bridge/index.js.map +1 -0
- package/dist/src/core-bridge/runtime.d.ts +20 -0
- package/dist/src/core-bridge/runtime.d.ts.map +1 -0
- package/dist/src/core-bridge/runtime.js +62 -0
- package/dist/src/core-bridge/runtime.js.map +1 -0
- package/dist/src/core-bridge/runtime.test.d.ts +2 -0
- package/dist/src/core-bridge/runtime.test.d.ts.map +1 -0
- package/dist/src/core-bridge/runtime.test.js +68 -0
- package/dist/src/core-bridge/runtime.test.js.map +1 -0
- package/dist/src/index.d.ts +11 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +7 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/internal/core-bridge/native.d.ts +176 -0
- package/dist/src/internal/core-bridge/native.d.ts.map +1 -0
- package/dist/src/internal/core-bridge/native.js +1208 -0
- package/dist/src/internal/core-bridge/native.js.map +1 -0
- package/dist/src/observability/index.d.ts +21 -0
- package/dist/src/observability/index.d.ts.map +1 -0
- package/dist/src/observability/index.js +19 -0
- package/dist/src/observability/index.js.map +1 -0
- package/dist/src/observability/logger.d.ts +28 -0
- package/dist/src/observability/logger.d.ts.map +1 -0
- package/dist/src/observability/logger.js +53 -0
- package/dist/src/observability/logger.js.map +1 -0
- package/dist/src/observability/metrics.d.ts +28 -0
- package/dist/src/observability/metrics.d.ts.map +1 -0
- package/dist/src/observability/metrics.js +355 -0
- package/dist/src/observability/metrics.js.map +1 -0
- package/dist/src/proto/google/api/annotations_pb.d.ts +14 -0
- package/dist/src/proto/google/api/annotations_pb.d.ts.map +1 -0
- package/dist/src/proto/google/api/annotations_pb.js +27 -0
- package/dist/src/proto/google/api/annotations_pb.js.map +1 -0
- package/dist/src/proto/google/api/http_pb.d.ts +441 -0
- package/dist/src/proto/google/api/http_pb.d.ts.map +1 -0
- package/dist/src/proto/google/api/http_pb.js +34 -0
- package/dist/src/proto/google/api/http_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/activity/v1/message_pb.d.ts +67 -0
- package/dist/src/proto/temporal/api/activity/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/activity/v1/message_pb.js +17 -0
- package/dist/src/proto/temporal/api/activity/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/batch/v1/message_pb.d.ts +464 -0
- package/dist/src/proto/temporal/api/batch/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/batch/v1/message_pb.js +71 -0
- package/dist/src/proto/temporal/api/batch/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/command/v1/message_pb.d.ts +796 -0
- package/dist/src/proto/temporal/api/command/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/command/v1/message_pb.js +106 -0
- package/dist/src/proto/temporal/api/command/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/common/v1/message_pb.d.ts +751 -0
- package/dist/src/proto/temporal/api/common/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/common/v1/message_pb.js +133 -0
- package/dist/src/proto/temporal/api/common/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/deployment/v1/message_pb.d.ts +639 -0
- package/dist/src/proto/temporal/api/deployment/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/deployment/v1/message_pb.js +83 -0
- package/dist/src/proto/temporal/api/deployment/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/batch_operation_pb.d.ts +80 -0
- package/dist/src/proto/temporal/api/enums/v1/batch_operation_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/batch_operation_pb.js +85 -0
- package/dist/src/proto/temporal/api/enums/v1/batch_operation_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/command_type_pb.d.ts +89 -0
- package/dist/src/proto/temporal/api/enums/v1/command_type_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/command_type_pb.js +93 -0
- package/dist/src/proto/temporal/api/enums/v1/command_type_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/common_pb.d.ts +314 -0
- package/dist/src/proto/temporal/api/enums/v1/common_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/common_pb.js +326 -0
- package/dist/src/proto/temporal/api/enums/v1/common_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/deployment_pb.d.ts +186 -0
- package/dist/src/proto/temporal/api/enums/v1/deployment_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/deployment_pb.js +193 -0
- package/dist/src/proto/temporal/api/enums/v1/deployment_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/event_type_pb.d.ts +407 -0
- package/dist/src/proto/temporal/api/enums/v1/event_type_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/event_type_pb.js +411 -0
- package/dist/src/proto/temporal/api/enums/v1/event_type_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/failed_cause_pb.d.ts +371 -0
- package/dist/src/proto/temporal/api/enums/v1/failed_cause_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/failed_cause_pb.js +380 -0
- package/dist/src/proto/temporal/api/enums/v1/failed_cause_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/namespace_pb.d.ts +73 -0
- package/dist/src/proto/temporal/api/enums/v1/namespace_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/namespace_pb.js +79 -0
- package/dist/src/proto/temporal/api/enums/v1/namespace_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/nexus_pb.d.ts +35 -0
- package/dist/src/proto/temporal/api/enums/v1/nexus_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/nexus_pb.js +39 -0
- package/dist/src/proto/temporal/api/enums/v1/nexus_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/query_pb.d.ts +58 -0
- package/dist/src/proto/temporal/api/enums/v1/query_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/query_pb.js +63 -0
- package/dist/src/proto/temporal/api/enums/v1/query_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/reset_pb.d.ts +108 -0
- package/dist/src/proto/temporal/api/enums/v1/reset_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/reset_pb.js +114 -0
- package/dist/src/proto/temporal/api/enums/v1/reset_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/schedule_pb.d.ts +67 -0
- package/dist/src/proto/temporal/api/enums/v1/schedule_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/schedule_pb.js +71 -0
- package/dist/src/proto/temporal/api/enums/v1/schedule_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/task_queue_pb.d.ts +249 -0
- package/dist/src/proto/temporal/api/enums/v1/task_queue_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/task_queue_pb.js +259 -0
- package/dist/src/proto/temporal/api/enums/v1/task_queue_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/update_pb.d.ts +78 -0
- package/dist/src/proto/temporal/api/enums/v1/update_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/update_pb.js +83 -0
- package/dist/src/proto/temporal/api/enums/v1/update_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/workflow_pb.d.ts +408 -0
- package/dist/src/proto/temporal/api/enums/v1/workflow_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/workflow_pb.js +422 -0
- package/dist/src/proto/temporal/api/enums/v1/workflow_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/errordetails/v1/message_pb.d.ts +331 -0
- package/dist/src/proto/temporal/api/errordetails/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/errordetails/v1/message_pb.js +104 -0
- package/dist/src/proto/temporal/api/errordetails/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/export/v1/message_pb.d.ts +39 -0
- package/dist/src/proto/temporal/api/export/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/export/v1/message_pb.js +20 -0
- package/dist/src/proto/temporal/api/export/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/failure/v1/message_pb.d.ts +381 -0
- package/dist/src/proto/temporal/api/failure/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/failure/v1/message_pb.js +74 -0
- package/dist/src/proto/temporal/api/failure/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/filter/v1/message_pb.d.ts +73 -0
- package/dist/src/proto/temporal/api/filter/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/filter/v1/message_pb.js +31 -0
- package/dist/src/proto/temporal/api/filter/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/history/v1/message_pb.d.ts +3136 -0
- package/dist/src/proto/temporal/api/history/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/history/v1/message_pb.js +317 -0
- package/dist/src/proto/temporal/api/history/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/namespace/v1/message_pb.d.ts +242 -0
- package/dist/src/proto/temporal/api/namespace/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/namespace/v1/message_pb.js +46 -0
- package/dist/src/proto/temporal/api/namespace/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/nexus/v1/message_pb.d.ts +549 -0
- package/dist/src/proto/temporal/api/nexus/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/nexus/v1/message_pb.js +97 -0
- package/dist/src/proto/temporal/api/nexus/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/operatorservice/v1/request_response_pb.d.ts +499 -0
- package/dist/src/proto/temporal/api/operatorservice/v1/request_response_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/operatorservice/v1/request_response_pb.js +137 -0
- package/dist/src/proto/temporal/api/operatorservice/v1/request_response_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/operatorservice/v1/service_pb.d.ts +153 -0
- package/dist/src/proto/temporal/api/operatorservice/v1/service_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/operatorservice/v1/service_pb.js +22 -0
- package/dist/src/proto/temporal/api/operatorservice/v1/service_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/protocol/v1/message_pb.d.ts +64 -0
- package/dist/src/proto/temporal/api/protocol/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/protocol/v1/message_pb.js +15 -0
- package/dist/src/proto/temporal/api/protocol/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/query/v1/message_pb.d.ts +96 -0
- package/dist/src/proto/temporal/api/query/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/query/v1/message_pb.js +28 -0
- package/dist/src/proto/temporal/api/query/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/replication/v1/message_pb.d.ts +67 -0
- package/dist/src/proto/temporal/api/replication/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/replication/v1/message_pb.js +26 -0
- package/dist/src/proto/temporal/api/replication/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/rules/v1/message_pb.d.ts +172 -0
- package/dist/src/proto/temporal/api/rules/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/rules/v1/message_pb.js +35 -0
- package/dist/src/proto/temporal/api/rules/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/schedule/v1/message_pb.d.ts +779 -0
- package/dist/src/proto/temporal/api/schedule/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/schedule/v1/message_pb.js +95 -0
- package/dist/src/proto/temporal/api/schedule/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/enhanced_stack_trace_pb.d.ts +157 -0
- package/dist/src/proto/temporal/api/sdk/v1/enhanced_stack_trace_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/enhanced_stack_trace_pb.js +34 -0
- package/dist/src/proto/temporal/api/sdk/v1/enhanced_stack_trace_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/task_complete_metadata_pb.d.ts +71 -0
- package/dist/src/proto/temporal/api/sdk/v1/task_complete_metadata_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/task_complete_metadata_pb.js +14 -0
- package/dist/src/proto/temporal/api/sdk/v1/task_complete_metadata_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/user_metadata_pb.d.ts +37 -0
- package/dist/src/proto/temporal/api/sdk/v1/user_metadata_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/user_metadata_pb.js +15 -0
- package/dist/src/proto/temporal/api/sdk/v1/user_metadata_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/worker_config_pb.d.ts +84 -0
- package/dist/src/proto/temporal/api/sdk/v1/worker_config_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/worker_config_pb.js +24 -0
- package/dist/src/proto/temporal/api/sdk/v1/worker_config_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/workflow_metadata_pb.d.ts +99 -0
- package/dist/src/proto/temporal/api/sdk/v1/workflow_metadata_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/workflow_metadata_pb.js +24 -0
- package/dist/src/proto/temporal/api/sdk/v1/workflow_metadata_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/taskqueue/v1/message_pb.d.ts +757 -0
- package/dist/src/proto/temporal/api/taskqueue/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/taskqueue/v1/message_pb.js +138 -0
- package/dist/src/proto/temporal/api/taskqueue/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/update/v1/message_pb.d.ts +230 -0
- package/dist/src/proto/temporal/api/update/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/update/v1/message_pb.js +57 -0
- package/dist/src/proto/temporal/api/update/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/version/v1/message_pb.d.ts +85 -0
- package/dist/src/proto/temporal/api/version/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/version/v1/message_pb.js +26 -0
- package/dist/src/proto/temporal/api/version/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/worker/v1/message_pb.d.ts +311 -0
- package/dist/src/proto/temporal/api/worker/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/worker/v1/message_pb.js +42 -0
- package/dist/src/proto/temporal/api/worker/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/workflow/v1/message_pb.d.ts +1500 -0
- package/dist/src/proto/temporal/api/workflow/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/workflow/v1/message_pb.js +183 -0
- package/dist/src/proto/temporal/api/workflow/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/workflowservice/v1/request_response_pb.d.ts +6967 -0
- package/dist/src/proto/temporal/api/workflowservice/v1/request_response_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/workflowservice/v1/request_response_pb.js +1073 -0
- package/dist/src/proto/temporal/api/workflowservice/v1/request_response_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/workflowservice/v1/service_pb.d.ts +1305 -0
- package/dist/src/proto/temporal/api/workflowservice/v1/service_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/workflowservice/v1/service_pb.js +27 -0
- package/dist/src/proto/temporal/api/workflowservice/v1/service_pb.js.map +1 -0
- package/dist/src/runtime/cli-layer.d.ts +12 -0
- package/dist/src/runtime/cli-layer.d.ts.map +1 -0
- package/dist/src/runtime/cli-layer.js +19 -0
- package/dist/src/runtime/cli-layer.js.map +1 -0
- package/dist/src/runtime/config-layer.d.ts +9 -0
- package/dist/src/runtime/config-layer.d.ts.map +1 -0
- package/dist/src/runtime/config-layer.js +15 -0
- package/dist/src/runtime/config-layer.js.map +1 -0
- package/dist/src/runtime/effect-layers.d.ts +518 -0
- package/dist/src/runtime/effect-layers.d.ts.map +1 -0
- package/dist/src/runtime/effect-layers.js +68 -0
- package/dist/src/runtime/effect-layers.js.map +1 -0
- package/dist/src/runtime/worker-app.d.ts +14 -0
- package/dist/src/runtime/worker-app.d.ts.map +1 -0
- package/dist/src/runtime/worker-app.js +58 -0
- package/dist/src/runtime/worker-app.js.map +1 -0
- package/dist/src/telemetry/runtime.d.ts +5 -0
- package/dist/src/telemetry/runtime.d.ts.map +1 -0
- package/dist/src/telemetry/runtime.js +94 -0
- package/dist/src/telemetry/runtime.js.map +1 -0
- package/dist/src/worker/activity-context.d.ts +30 -0
- package/dist/src/worker/activity-context.d.ts.map +1 -0
- package/dist/src/worker/activity-context.js +9 -0
- package/dist/src/worker/activity-context.js.map +1 -0
- package/dist/src/worker/build-id.d.ts +20 -0
- package/dist/src/worker/build-id.d.ts.map +1 -0
- package/dist/src/worker/build-id.js +98 -0
- package/dist/src/worker/build-id.js.map +1 -0
- package/dist/src/worker/concurrency.d.ts +31 -0
- package/dist/src/worker/concurrency.d.ts.map +1 -0
- package/dist/src/worker/concurrency.js +129 -0
- package/dist/src/worker/concurrency.js.map +1 -0
- package/dist/src/worker/defaults.d.ts +9 -0
- package/dist/src/worker/defaults.d.ts.map +1 -0
- package/dist/src/worker/defaults.js +53 -0
- package/dist/src/worker/defaults.js.map +1 -0
- package/dist/src/worker/index.d.ts +7 -0
- package/dist/src/worker/index.d.ts.map +1 -0
- package/dist/src/worker/index.js +4 -0
- package/dist/src/worker/index.js.map +1 -0
- package/dist/src/worker/layer.d.ts +19 -0
- package/dist/src/worker/layer.d.ts.map +1 -0
- package/dist/src/worker/layer.js +71 -0
- package/dist/src/worker/layer.js.map +1 -0
- package/dist/src/worker/runtime.d.ts +59 -0
- package/dist/src/worker/runtime.d.ts.map +1 -0
- package/dist/src/worker/runtime.js +1415 -0
- package/dist/src/worker/runtime.js.map +1 -0
- package/dist/src/worker/service.d.ts +19 -0
- package/dist/src/worker/service.d.ts.map +1 -0
- package/dist/src/worker/service.js +14 -0
- package/dist/src/worker/service.js.map +1 -0
- package/dist/src/worker/sticky-cache.d.ts +41 -0
- package/dist/src/worker/sticky-cache.d.ts.map +1 -0
- package/dist/src/worker/sticky-cache.js +127 -0
- package/dist/src/worker/sticky-cache.js.map +1 -0
- package/dist/src/worker.d.ts +30 -0
- package/dist/src/worker.d.ts.map +1 -0
- package/dist/src/worker.js +82 -0
- package/dist/src/worker.js.map +1 -0
- package/dist/src/workflow/commands.d.ts +84 -0
- package/dist/src/workflow/commands.d.ts.map +1 -0
- package/dist/src/workflow/commands.js +159 -0
- package/dist/src/workflow/commands.js.map +1 -0
- package/dist/src/workflow/context.d.ts +119 -0
- package/dist/src/workflow/context.d.ts.map +1 -0
- package/dist/src/workflow/context.js +197 -0
- package/dist/src/workflow/context.js.map +1 -0
- package/dist/src/workflow/definition.d.ts +15 -0
- package/dist/src/workflow/definition.d.ts.map +1 -0
- package/dist/src/workflow/definition.js +19 -0
- package/dist/src/workflow/definition.js.map +1 -0
- package/dist/src/workflow/determinism.d.ts +54 -0
- package/dist/src/workflow/determinism.d.ts.map +1 -0
- package/dist/src/workflow/determinism.js +147 -0
- package/dist/src/workflow/determinism.js.map +1 -0
- package/dist/src/workflow/errors.d.ts +37 -0
- package/dist/src/workflow/errors.d.ts.map +1 -0
- package/dist/src/workflow/errors.js +35 -0
- package/dist/src/workflow/errors.js.map +1 -0
- package/dist/src/workflow/executor.d.ts +35 -0
- package/dist/src/workflow/executor.d.ts.map +1 -0
- package/dist/src/workflow/executor.js +178 -0
- package/dist/src/workflow/executor.js.map +1 -0
- package/dist/src/workflow/index.d.ts +8 -0
- package/dist/src/workflow/index.d.ts.map +1 -0
- package/dist/src/workflow/index.js +8 -0
- package/dist/src/workflow/index.js.map +1 -0
- package/dist/src/workflow/registry.d.ts +9 -0
- package/dist/src/workflow/registry.d.ts.map +1 -0
- package/dist/src/workflow/registry.js +51 -0
- package/dist/src/workflow/registry.js.map +1 -0
- package/dist/src/workflow/replay.d.ts +87 -0
- package/dist/src/workflow/replay.d.ts.map +1 -0
- package/dist/src/workflow/replay.js +759 -0
- package/dist/src/workflow/replay.js.map +1 -0
- package/dist/src/workflow/runtime/bootstrap.d.ts +15 -0
- package/dist/src/workflow/runtime/bootstrap.d.ts.map +1 -0
- package/dist/src/workflow/runtime/bootstrap.js +124 -0
- package/dist/src/workflow/runtime/bootstrap.js.map +1 -0
- package/dist/src/workflow/runtime/engine.d.ts +21 -0
- package/dist/src/workflow/runtime/engine.d.ts.map +1 -0
- package/dist/src/workflow/runtime/engine.js +73 -0
- package/dist/src/workflow/runtime/engine.js.map +1 -0
- package/dist/src/workflow/runtime/environment.d.ts +29 -0
- package/dist/src/workflow/runtime/environment.d.ts.map +1 -0
- package/dist/src/workflow/runtime/environment.js +298 -0
- package/dist/src/workflow/runtime/environment.js.map +1 -0
- package/dist/src/workflow/runtime/index.d.ts +7 -0
- package/dist/src/workflow/runtime/index.d.ts.map +1 -0
- package/dist/src/workflow/runtime/index.js +4 -0
- package/dist/src/workflow/runtime/index.js.map +1 -0
- package/dist/src/workflow/runtime/info.d.ts +5 -0
- package/dist/src/workflow/runtime/info.d.ts.map +1 -0
- package/dist/src/workflow/runtime/info.js +22 -0
- package/dist/src/workflow/runtime/info.js.map +1 -0
- package/dist/src/workflow/runtime/replay.d.ts +26 -0
- package/dist/src/workflow/runtime/replay.d.ts.map +1 -0
- package/dist/src/workflow/runtime/replay.js +254 -0
- package/dist/src/workflow/runtime/replay.js.map +1 -0
- package/dist/src/workflows/index.d.ts +3 -0
- package/dist/src/workflows/index.d.ts.map +1 -0
- package/dist/src/workflows/index.js +15 -0
- package/dist/src/workflows/index.js.map +1 -0
- package/package.json +74 -0
|
@@ -0,0 +1,1500 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Duration, Empty, FieldMask, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { ActivityOptions } from "../../activity/v1/message_pb.js";
|
|
4
|
+
import type { CallbackState, NexusOperationCancellationState, PendingNexusOperationState } from "../../enums/v1/common_pb.js";
|
|
5
|
+
import type { EventType } from "../../enums/v1/event_type_pb.js";
|
|
6
|
+
import type { ParentClosePolicy, PendingActivityState, PendingWorkflowTaskState, VersioningBehavior, WorkflowExecutionStatus, WorkflowIdReusePolicy } from "../../enums/v1/workflow_pb.js";
|
|
7
|
+
import type { ActivityType, Callback, Header, Link, Memo, Payloads, Priority, RetryPolicy, SearchAttributes, WorkerVersionStamp, WorkflowExecution, WorkflowType } from "../../common/v1/message_pb.js";
|
|
8
|
+
import type { Deployment, WorkerDeploymentVersion } from "../../deployment/v1/message_pb.js";
|
|
9
|
+
import type { Failure } from "../../failure/v1/message_pb.js";
|
|
10
|
+
import type { TaskQueue } from "../../taskqueue/v1/message_pb.js";
|
|
11
|
+
import type { UserMetadata } from "../../sdk/v1/user_metadata_pb.js";
|
|
12
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
13
|
+
/**
|
|
14
|
+
* Describes the file temporal/api/workflow/v1/message.proto.
|
|
15
|
+
*/
|
|
16
|
+
export declare const file_temporal_api_workflow_v1_message: GenFile;
|
|
17
|
+
/**
|
|
18
|
+
* Hold basic information about a workflow execution.
|
|
19
|
+
* This structure is a part of visibility, and thus contain a limited subset of information.
|
|
20
|
+
*
|
|
21
|
+
* @generated from message temporal.api.workflow.v1.WorkflowExecutionInfo
|
|
22
|
+
*/
|
|
23
|
+
export type WorkflowExecutionInfo = Message<"temporal.api.workflow.v1.WorkflowExecutionInfo"> & {
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: temporal.api.common.v1.WorkflowExecution execution = 1;
|
|
26
|
+
*/
|
|
27
|
+
execution?: WorkflowExecution;
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: temporal.api.common.v1.WorkflowType type = 2;
|
|
30
|
+
*/
|
|
31
|
+
type?: WorkflowType;
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: google.protobuf.Timestamp start_time = 3;
|
|
34
|
+
*/
|
|
35
|
+
startTime?: Timestamp;
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: google.protobuf.Timestamp close_time = 4;
|
|
38
|
+
*/
|
|
39
|
+
closeTime?: Timestamp;
|
|
40
|
+
/**
|
|
41
|
+
* @generated from field: temporal.api.enums.v1.WorkflowExecutionStatus status = 5;
|
|
42
|
+
*/
|
|
43
|
+
status: WorkflowExecutionStatus;
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: int64 history_length = 6;
|
|
46
|
+
*/
|
|
47
|
+
historyLength: bigint;
|
|
48
|
+
/**
|
|
49
|
+
* @generated from field: string parent_namespace_id = 7;
|
|
50
|
+
*/
|
|
51
|
+
parentNamespaceId: string;
|
|
52
|
+
/**
|
|
53
|
+
* @generated from field: temporal.api.common.v1.WorkflowExecution parent_execution = 8;
|
|
54
|
+
*/
|
|
55
|
+
parentExecution?: WorkflowExecution;
|
|
56
|
+
/**
|
|
57
|
+
* @generated from field: google.protobuf.Timestamp execution_time = 9;
|
|
58
|
+
*/
|
|
59
|
+
executionTime?: Timestamp;
|
|
60
|
+
/**
|
|
61
|
+
* @generated from field: temporal.api.common.v1.Memo memo = 10;
|
|
62
|
+
*/
|
|
63
|
+
memo?: Memo;
|
|
64
|
+
/**
|
|
65
|
+
* @generated from field: temporal.api.common.v1.SearchAttributes search_attributes = 11;
|
|
66
|
+
*/
|
|
67
|
+
searchAttributes?: SearchAttributes;
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
|
|
70
|
+
*/
|
|
71
|
+
autoResetPoints?: ResetPoints;
|
|
72
|
+
/**
|
|
73
|
+
* @generated from field: string task_queue = 13;
|
|
74
|
+
*/
|
|
75
|
+
taskQueue: string;
|
|
76
|
+
/**
|
|
77
|
+
* @generated from field: int64 state_transition_count = 14;
|
|
78
|
+
*/
|
|
79
|
+
stateTransitionCount: bigint;
|
|
80
|
+
/**
|
|
81
|
+
* @generated from field: int64 history_size_bytes = 15;
|
|
82
|
+
*/
|
|
83
|
+
historySizeBytes: bigint;
|
|
84
|
+
/**
|
|
85
|
+
* If set, the most recent worker version stamp that appeared in a workflow task completion
|
|
86
|
+
* Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16 [deprecated = true];
|
|
89
|
+
* @deprecated
|
|
90
|
+
*/
|
|
91
|
+
mostRecentWorkerVersionStamp?: WorkerVersionStamp;
|
|
92
|
+
/**
|
|
93
|
+
* Workflow execution duration is defined as difference between close time and execution time.
|
|
94
|
+
* This field is only populated if the workflow is closed.
|
|
95
|
+
*
|
|
96
|
+
* @generated from field: google.protobuf.Duration execution_duration = 17;
|
|
97
|
+
*/
|
|
98
|
+
executionDuration?: Duration;
|
|
99
|
+
/**
|
|
100
|
+
* Contains information about the root workflow execution.
|
|
101
|
+
* The root workflow execution is defined as follows:
|
|
102
|
+
* 1. A workflow without parent workflow is its own root workflow.
|
|
103
|
+
* 2. A workflow that has a parent workflow has the same root workflow as its parent workflow.
|
|
104
|
+
* Note: workflows continued as new or reseted may or may not have parents, check examples below.
|
|
105
|
+
*
|
|
106
|
+
* Examples:
|
|
107
|
+
* Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3.
|
|
108
|
+
* - The root workflow of all three workflows is W1.
|
|
109
|
+
* Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3.
|
|
110
|
+
* - The root workflow of all three workflows is W1.
|
|
111
|
+
* Scenario 3: Workflow W1 continued as new W2.
|
|
112
|
+
* - The root workflow of W1 is W1 and the root workflow of W2 is W2.
|
|
113
|
+
* Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3
|
|
114
|
+
* - The root workflow of all three workflows is W1.
|
|
115
|
+
* Scenario 5: Workflow W1 is reseted, creating W2.
|
|
116
|
+
* - The root workflow of W1 is W1 and the root workflow of W2 is W2.
|
|
117
|
+
*
|
|
118
|
+
* @generated from field: temporal.api.common.v1.WorkflowExecution root_execution = 18;
|
|
119
|
+
*/
|
|
120
|
+
rootExecution?: WorkflowExecution;
|
|
121
|
+
/**
|
|
122
|
+
* The currently assigned build ID for this execution. Presence of this value means worker versioning is used
|
|
123
|
+
* for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules
|
|
124
|
+
* when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled
|
|
125
|
+
* again, the assigned build ID may change according to the latest versioning rules.
|
|
126
|
+
* Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to
|
|
127
|
+
* this execution.
|
|
128
|
+
* Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: string assigned_build_id = 19 [deprecated = true];
|
|
131
|
+
* @deprecated
|
|
132
|
+
*/
|
|
133
|
+
assignedBuildId: string;
|
|
134
|
+
/**
|
|
135
|
+
* Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead
|
|
136
|
+
* of using the assignment rules.
|
|
137
|
+
* Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
138
|
+
*
|
|
139
|
+
* @generated from field: string inherited_build_id = 20 [deprecated = true];
|
|
140
|
+
* @deprecated
|
|
141
|
+
*/
|
|
142
|
+
inheritedBuildId: string;
|
|
143
|
+
/**
|
|
144
|
+
* The first run ID in the execution chain.
|
|
145
|
+
* Executions created via the following operations are considered to be in the same chain
|
|
146
|
+
* - ContinueAsNew
|
|
147
|
+
* - Workflow Retry
|
|
148
|
+
* - Workflow Reset
|
|
149
|
+
* - Cron Schedule
|
|
150
|
+
*
|
|
151
|
+
* @generated from field: string first_run_id = 21;
|
|
152
|
+
*/
|
|
153
|
+
firstRunId: string;
|
|
154
|
+
/**
|
|
155
|
+
* Absent value means the workflow execution is not versioned. When present, the execution might
|
|
156
|
+
* be versioned or unversioned, depending on `versioning_info.behavior` and `versioning_info.versioning_override`.
|
|
157
|
+
* Experimental. Versioning info is experimental and might change in the future.
|
|
158
|
+
*
|
|
159
|
+
* @generated from field: temporal.api.workflow.v1.WorkflowExecutionVersioningInfo versioning_info = 22;
|
|
160
|
+
*/
|
|
161
|
+
versioningInfo?: WorkflowExecutionVersioningInfo;
|
|
162
|
+
/**
|
|
163
|
+
* The name of Worker Deployment that completed the most recent workflow task.
|
|
164
|
+
* Experimental. Worker Deployments are experimental and might change in the future.
|
|
165
|
+
*
|
|
166
|
+
* @generated from field: string worker_deployment_name = 23;
|
|
167
|
+
*/
|
|
168
|
+
workerDeploymentName: string;
|
|
169
|
+
/**
|
|
170
|
+
* Priority metadata
|
|
171
|
+
*
|
|
172
|
+
* @generated from field: temporal.api.common.v1.Priority priority = 24;
|
|
173
|
+
*/
|
|
174
|
+
priority?: Priority;
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* Describes the message temporal.api.workflow.v1.WorkflowExecutionInfo.
|
|
178
|
+
* Use `create(WorkflowExecutionInfoSchema)` to create a new message.
|
|
179
|
+
*/
|
|
180
|
+
export declare const WorkflowExecutionInfoSchema: GenMessage<WorkflowExecutionInfo>;
|
|
181
|
+
/**
|
|
182
|
+
* Holds all the extra information about workflow execution that is not part of Visibility.
|
|
183
|
+
*
|
|
184
|
+
* @generated from message temporal.api.workflow.v1.WorkflowExecutionExtendedInfo
|
|
185
|
+
*/
|
|
186
|
+
export type WorkflowExecutionExtendedInfo = Message<"temporal.api.workflow.v1.WorkflowExecutionExtendedInfo"> & {
|
|
187
|
+
/**
|
|
188
|
+
* Workflow execution expiration time is defined as workflow start time plus expiration timeout.
|
|
189
|
+
* Workflow start time may change after workflow reset.
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: google.protobuf.Timestamp execution_expiration_time = 1;
|
|
192
|
+
*/
|
|
193
|
+
executionExpirationTime?: Timestamp;
|
|
194
|
+
/**
|
|
195
|
+
* Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.
|
|
196
|
+
*
|
|
197
|
+
* @generated from field: google.protobuf.Timestamp run_expiration_time = 2;
|
|
198
|
+
*/
|
|
199
|
+
runExpirationTime?: Timestamp;
|
|
200
|
+
/**
|
|
201
|
+
* indicates if the workflow received a cancel request
|
|
202
|
+
*
|
|
203
|
+
* @generated from field: bool cancel_requested = 3;
|
|
204
|
+
*/
|
|
205
|
+
cancelRequested: boolean;
|
|
206
|
+
/**
|
|
207
|
+
* Last workflow reset time. Nil if the workflow was never reset.
|
|
208
|
+
*
|
|
209
|
+
* @generated from field: google.protobuf.Timestamp last_reset_time = 4;
|
|
210
|
+
*/
|
|
211
|
+
lastResetTime?: Timestamp;
|
|
212
|
+
/**
|
|
213
|
+
* Original workflow start time.
|
|
214
|
+
*
|
|
215
|
+
* @generated from field: google.protobuf.Timestamp original_start_time = 5;
|
|
216
|
+
*/
|
|
217
|
+
originalStartTime?: Timestamp;
|
|
218
|
+
/**
|
|
219
|
+
* Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.
|
|
220
|
+
*
|
|
221
|
+
* @generated from field: string reset_run_id = 6;
|
|
222
|
+
*/
|
|
223
|
+
resetRunId: string;
|
|
224
|
+
/**
|
|
225
|
+
* Request ID information (eg: history event information associated with the request ID).
|
|
226
|
+
* Note: It only contains request IDs from StartWorkflowExecution requests, including indirect
|
|
227
|
+
* calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is
|
|
228
|
+
* used in the StartWorkflowExecution request).
|
|
229
|
+
*
|
|
230
|
+
* @generated from field: map<string, temporal.api.workflow.v1.RequestIdInfo> request_id_infos = 7;
|
|
231
|
+
*/
|
|
232
|
+
requestIdInfos: {
|
|
233
|
+
[key: string]: RequestIdInfo;
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
/**
|
|
237
|
+
* Describes the message temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.
|
|
238
|
+
* Use `create(WorkflowExecutionExtendedInfoSchema)` to create a new message.
|
|
239
|
+
*/
|
|
240
|
+
export declare const WorkflowExecutionExtendedInfoSchema: GenMessage<WorkflowExecutionExtendedInfo>;
|
|
241
|
+
/**
|
|
242
|
+
* Holds all the information about worker versioning for a particular workflow execution.
|
|
243
|
+
* Experimental. Versioning info is experimental and might change in the future.
|
|
244
|
+
*
|
|
245
|
+
* @generated from message temporal.api.workflow.v1.WorkflowExecutionVersioningInfo
|
|
246
|
+
*/
|
|
247
|
+
export type WorkflowExecutionVersioningInfo = Message<"temporal.api.workflow.v1.WorkflowExecutionVersioningInfo"> & {
|
|
248
|
+
/**
|
|
249
|
+
* Versioning behavior determines how the server should treat this execution when workers are
|
|
250
|
+
* upgraded. When present it means this workflow execution is versioned; UNSPECIFIED means
|
|
251
|
+
* unversioned. See the comments in `VersioningBehavior` enum for more info about different
|
|
252
|
+
* behaviors.
|
|
253
|
+
* This field is first set after an execution completes its first workflow task on a versioned
|
|
254
|
+
* worker, and set again on completion of every subsequent workflow task.
|
|
255
|
+
* For child workflows of Pinned parents, this will be set to Pinned (along with `deployment_version`) when
|
|
256
|
+
* the the child starts so that child's first workflow task goes to the same Version as the
|
|
257
|
+
* parent. After the first workflow task, it depends on the child workflow itself if it wants
|
|
258
|
+
* to stay pinned or become unpinned (according to Versioning Behavior set in the worker).
|
|
259
|
+
* Note that `behavior` is overridden by `versioning_override` if the latter is present.
|
|
260
|
+
*
|
|
261
|
+
* @generated from field: temporal.api.enums.v1.VersioningBehavior behavior = 1;
|
|
262
|
+
*/
|
|
263
|
+
behavior: VersioningBehavior;
|
|
264
|
+
/**
|
|
265
|
+
* The worker deployment that completed the last workflow task of this workflow execution. Must
|
|
266
|
+
* be present if `behavior` is set. Absent value means no workflow task is completed, or the
|
|
267
|
+
* last workflow task was completed by an unversioned worker. Unversioned workers may still send
|
|
268
|
+
* a deployment value which will be stored here, so the right way to check if an execution is
|
|
269
|
+
* versioned if an execution is versioned or not is via the `behavior` field.
|
|
270
|
+
* Note that `deployment` is overridden by `versioning_override` if the latter is present.
|
|
271
|
+
* Deprecated. Use `deployment_version`.
|
|
272
|
+
*
|
|
273
|
+
* @generated from field: temporal.api.deployment.v1.Deployment deployment = 2 [deprecated = true];
|
|
274
|
+
* @deprecated
|
|
275
|
+
*/
|
|
276
|
+
deployment?: Deployment;
|
|
277
|
+
/**
|
|
278
|
+
* Deprecated. Use `deployment_version`.
|
|
279
|
+
*
|
|
280
|
+
* @generated from field: string version = 5 [deprecated = true];
|
|
281
|
+
* @deprecated
|
|
282
|
+
*/
|
|
283
|
+
version: string;
|
|
284
|
+
/**
|
|
285
|
+
* The Worker Deployment Version that completed the last workflow task of this workflow execution.
|
|
286
|
+
* An absent value means no workflow task is completed, or the workflow is unversioned.
|
|
287
|
+
* If present, and `behavior` is UNSPECIFIED, the last task of this workflow execution was completed
|
|
288
|
+
* by a worker that is not using versioning but _is_ passing Deployment Name and Build ID.
|
|
289
|
+
*
|
|
290
|
+
* For child workflows of Pinned parents, this will be set to the parent's Pinned Version when
|
|
291
|
+
* the child starts, so that the child's first workflow task goes to the same Version as the parent.
|
|
292
|
+
* Note that if `versioning_override.behavior` is PINNED then `versioning_override.pinned_version`
|
|
293
|
+
* will override this value.
|
|
294
|
+
*
|
|
295
|
+
* @generated from field: temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 7;
|
|
296
|
+
*/
|
|
297
|
+
deploymentVersion?: WorkerDeploymentVersion;
|
|
298
|
+
/**
|
|
299
|
+
* Present if user has set an execution-specific versioning override. This override takes
|
|
300
|
+
* precedence over SDK-sent `behavior` (and `version` when override is PINNED). An
|
|
301
|
+
* override can be set when starting a new execution, as well as afterwards by calling the
|
|
302
|
+
* `UpdateWorkflowExecutionOptions` API.
|
|
303
|
+
* Pinned overrides are automatically inherited by child workflows, continue-as-new workflows,
|
|
304
|
+
* workflow retries, and cron workflows.
|
|
305
|
+
*
|
|
306
|
+
* @generated from field: temporal.api.workflow.v1.VersioningOverride versioning_override = 3;
|
|
307
|
+
*/
|
|
308
|
+
versioningOverride?: VersioningOverride;
|
|
309
|
+
/**
|
|
310
|
+
* When present, indicates the workflow is transitioning to a different deployment. Can
|
|
311
|
+
* indicate one of the following transitions: unversioned -> versioned, versioned -> versioned
|
|
312
|
+
* on a different deployment, or versioned -> unversioned.
|
|
313
|
+
* Not applicable to workflows with PINNED behavior.
|
|
314
|
+
* When a workflow with AUTO_UPGRADE behavior creates a new workflow task, it will automatically
|
|
315
|
+
* start a transition to the task queue's current deployment if the task queue's current
|
|
316
|
+
* deployment is different from the workflow's deployment.
|
|
317
|
+
* If the AUTO_UPGRADE workflow is stuck due to backlogged activity or workflow tasks, those
|
|
318
|
+
* tasks will be redirected to the task queue's current deployment. As soon as a poller from
|
|
319
|
+
* that deployment is available to receive the task, the workflow will automatically start a
|
|
320
|
+
* transition to that deployment and continue execution there.
|
|
321
|
+
* A deployment transition can only exist while there is a pending or started workflow task.
|
|
322
|
+
* Once the pending workflow task completes on the transition's target deployment, the
|
|
323
|
+
* transition completes and the workflow's `deployment` and `behavior` fields are updated per
|
|
324
|
+
* the worker's task completion response.
|
|
325
|
+
* Pending activities will not start new attempts during a transition. Once the transition is
|
|
326
|
+
* completed, pending activities will start their next attempt on the new deployment.
|
|
327
|
+
* Deprecated. Use version_transition.
|
|
328
|
+
*
|
|
329
|
+
* @generated from field: temporal.api.workflow.v1.DeploymentTransition deployment_transition = 4 [deprecated = true];
|
|
330
|
+
* @deprecated
|
|
331
|
+
*/
|
|
332
|
+
deploymentTransition?: DeploymentTransition;
|
|
333
|
+
/**
|
|
334
|
+
* When present, indicates the workflow is transitioning to a different deployment version
|
|
335
|
+
* (which may belong to the same deployment name or another). Can indicate one of the following
|
|
336
|
+
* transitions: unversioned -> versioned, versioned -> versioned
|
|
337
|
+
* on a different deployment version, or versioned -> unversioned.
|
|
338
|
+
* Not applicable to workflows with PINNED behavior.
|
|
339
|
+
* When a workflow with AUTO_UPGRADE behavior creates a new workflow task, it will automatically
|
|
340
|
+
* start a transition to the task queue's current version if the task queue's current version is
|
|
341
|
+
* different from the workflow's current deployment version.
|
|
342
|
+
* If the AUTO_UPGRADE workflow is stuck due to backlogged activity or workflow tasks, those
|
|
343
|
+
* tasks will be redirected to the task queue's current version. As soon as a poller from
|
|
344
|
+
* that deployment version is available to receive the task, the workflow will automatically
|
|
345
|
+
* start a transition to that version and continue execution there.
|
|
346
|
+
* A version transition can only exist while there is a pending or started workflow task.
|
|
347
|
+
* Once the pending workflow task completes on the transition's target version, the
|
|
348
|
+
* transition completes and the workflow's `behavior`, and `deployment_version` fields are updated per the
|
|
349
|
+
* worker's task completion response.
|
|
350
|
+
* Pending activities will not start new attempts during a transition. Once the transition is
|
|
351
|
+
* completed, pending activities will start their next attempt on the new version.
|
|
352
|
+
*
|
|
353
|
+
* @generated from field: temporal.api.workflow.v1.DeploymentVersionTransition version_transition = 6;
|
|
354
|
+
*/
|
|
355
|
+
versionTransition?: DeploymentVersionTransition;
|
|
356
|
+
/**
|
|
357
|
+
* Monotonic counter reflecting the latest routing decision for this workflow execution.
|
|
358
|
+
* Used for staleness detection between history and matching when dispatching tasks to workers.
|
|
359
|
+
* Incremented when a workflow execution routes to a new deployment version, which happens
|
|
360
|
+
* when a worker of the new deployment version completes a workflow task.
|
|
361
|
+
* Note: Pinned tasks and sticky tasks send a value of 0 for this field since these tasks do not
|
|
362
|
+
* face the problem of inconsistent dispatching that arises from eventual consistency between
|
|
363
|
+
* task queues and their partitions.
|
|
364
|
+
*
|
|
365
|
+
* @generated from field: int64 revision_number = 8;
|
|
366
|
+
*/
|
|
367
|
+
revisionNumber: bigint;
|
|
368
|
+
};
|
|
369
|
+
/**
|
|
370
|
+
* Describes the message temporal.api.workflow.v1.WorkflowExecutionVersioningInfo.
|
|
371
|
+
* Use `create(WorkflowExecutionVersioningInfoSchema)` to create a new message.
|
|
372
|
+
*/
|
|
373
|
+
export declare const WorkflowExecutionVersioningInfoSchema: GenMessage<WorkflowExecutionVersioningInfo>;
|
|
374
|
+
/**
|
|
375
|
+
* Holds information about ongoing transition of a workflow execution from one deployment to another.
|
|
376
|
+
* Deprecated. Use DeploymentVersionTransition.
|
|
377
|
+
*
|
|
378
|
+
* @generated from message temporal.api.workflow.v1.DeploymentTransition
|
|
379
|
+
*/
|
|
380
|
+
export type DeploymentTransition = Message<"temporal.api.workflow.v1.DeploymentTransition"> & {
|
|
381
|
+
/**
|
|
382
|
+
* The target deployment of the transition. Null means a so-far-versioned workflow is
|
|
383
|
+
* transitioning to unversioned workers.
|
|
384
|
+
*
|
|
385
|
+
* @generated from field: temporal.api.deployment.v1.Deployment deployment = 1;
|
|
386
|
+
*/
|
|
387
|
+
deployment?: Deployment;
|
|
388
|
+
};
|
|
389
|
+
/**
|
|
390
|
+
* Describes the message temporal.api.workflow.v1.DeploymentTransition.
|
|
391
|
+
* Use `create(DeploymentTransitionSchema)` to create a new message.
|
|
392
|
+
*/
|
|
393
|
+
export declare const DeploymentTransitionSchema: GenMessage<DeploymentTransition>;
|
|
394
|
+
/**
|
|
395
|
+
* Holds information about ongoing transition of a workflow execution from one worker
|
|
396
|
+
* deployment version to another.
|
|
397
|
+
* Experimental. Might change in the future.
|
|
398
|
+
*
|
|
399
|
+
* @generated from message temporal.api.workflow.v1.DeploymentVersionTransition
|
|
400
|
+
*/
|
|
401
|
+
export type DeploymentVersionTransition = Message<"temporal.api.workflow.v1.DeploymentVersionTransition"> & {
|
|
402
|
+
/**
|
|
403
|
+
* Deprecated. Use `deployment_version`.
|
|
404
|
+
*
|
|
405
|
+
* @generated from field: string version = 1 [deprecated = true];
|
|
406
|
+
* @deprecated
|
|
407
|
+
*/
|
|
408
|
+
version: string;
|
|
409
|
+
/**
|
|
410
|
+
* The target Version of the transition.
|
|
411
|
+
* If nil, a so-far-versioned workflow is transitioning to unversioned workers.
|
|
412
|
+
*
|
|
413
|
+
* @generated from field: temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 2;
|
|
414
|
+
*/
|
|
415
|
+
deploymentVersion?: WorkerDeploymentVersion;
|
|
416
|
+
};
|
|
417
|
+
/**
|
|
418
|
+
* Describes the message temporal.api.workflow.v1.DeploymentVersionTransition.
|
|
419
|
+
* Use `create(DeploymentVersionTransitionSchema)` to create a new message.
|
|
420
|
+
*/
|
|
421
|
+
export declare const DeploymentVersionTransitionSchema: GenMessage<DeploymentVersionTransition>;
|
|
422
|
+
/**
|
|
423
|
+
* @generated from message temporal.api.workflow.v1.WorkflowExecutionConfig
|
|
424
|
+
*/
|
|
425
|
+
export type WorkflowExecutionConfig = Message<"temporal.api.workflow.v1.WorkflowExecutionConfig"> & {
|
|
426
|
+
/**
|
|
427
|
+
* @generated from field: temporal.api.taskqueue.v1.TaskQueue task_queue = 1;
|
|
428
|
+
*/
|
|
429
|
+
taskQueue?: TaskQueue;
|
|
430
|
+
/**
|
|
431
|
+
* @generated from field: google.protobuf.Duration workflow_execution_timeout = 2;
|
|
432
|
+
*/
|
|
433
|
+
workflowExecutionTimeout?: Duration;
|
|
434
|
+
/**
|
|
435
|
+
* @generated from field: google.protobuf.Duration workflow_run_timeout = 3;
|
|
436
|
+
*/
|
|
437
|
+
workflowRunTimeout?: Duration;
|
|
438
|
+
/**
|
|
439
|
+
* @generated from field: google.protobuf.Duration default_workflow_task_timeout = 4;
|
|
440
|
+
*/
|
|
441
|
+
defaultWorkflowTaskTimeout?: Duration;
|
|
442
|
+
/**
|
|
443
|
+
* User metadata provided on start workflow.
|
|
444
|
+
*
|
|
445
|
+
* @generated from field: temporal.api.sdk.v1.UserMetadata user_metadata = 5;
|
|
446
|
+
*/
|
|
447
|
+
userMetadata?: UserMetadata;
|
|
448
|
+
};
|
|
449
|
+
/**
|
|
450
|
+
* Describes the message temporal.api.workflow.v1.WorkflowExecutionConfig.
|
|
451
|
+
* Use `create(WorkflowExecutionConfigSchema)` to create a new message.
|
|
452
|
+
*/
|
|
453
|
+
export declare const WorkflowExecutionConfigSchema: GenMessage<WorkflowExecutionConfig>;
|
|
454
|
+
/**
|
|
455
|
+
* @generated from message temporal.api.workflow.v1.PendingActivityInfo
|
|
456
|
+
*/
|
|
457
|
+
export type PendingActivityInfo = Message<"temporal.api.workflow.v1.PendingActivityInfo"> & {
|
|
458
|
+
/**
|
|
459
|
+
* @generated from field: string activity_id = 1;
|
|
460
|
+
*/
|
|
461
|
+
activityId: string;
|
|
462
|
+
/**
|
|
463
|
+
* @generated from field: temporal.api.common.v1.ActivityType activity_type = 2;
|
|
464
|
+
*/
|
|
465
|
+
activityType?: ActivityType;
|
|
466
|
+
/**
|
|
467
|
+
* @generated from field: temporal.api.enums.v1.PendingActivityState state = 3;
|
|
468
|
+
*/
|
|
469
|
+
state: PendingActivityState;
|
|
470
|
+
/**
|
|
471
|
+
* @generated from field: temporal.api.common.v1.Payloads heartbeat_details = 4;
|
|
472
|
+
*/
|
|
473
|
+
heartbeatDetails?: Payloads;
|
|
474
|
+
/**
|
|
475
|
+
* @generated from field: google.protobuf.Timestamp last_heartbeat_time = 5;
|
|
476
|
+
*/
|
|
477
|
+
lastHeartbeatTime?: Timestamp;
|
|
478
|
+
/**
|
|
479
|
+
* @generated from field: google.protobuf.Timestamp last_started_time = 6;
|
|
480
|
+
*/
|
|
481
|
+
lastStartedTime?: Timestamp;
|
|
482
|
+
/**
|
|
483
|
+
* @generated from field: int32 attempt = 7;
|
|
484
|
+
*/
|
|
485
|
+
attempt: number;
|
|
486
|
+
/**
|
|
487
|
+
* @generated from field: int32 maximum_attempts = 8;
|
|
488
|
+
*/
|
|
489
|
+
maximumAttempts: number;
|
|
490
|
+
/**
|
|
491
|
+
* @generated from field: google.protobuf.Timestamp scheduled_time = 9;
|
|
492
|
+
*/
|
|
493
|
+
scheduledTime?: Timestamp;
|
|
494
|
+
/**
|
|
495
|
+
* @generated from field: google.protobuf.Timestamp expiration_time = 10;
|
|
496
|
+
*/
|
|
497
|
+
expirationTime?: Timestamp;
|
|
498
|
+
/**
|
|
499
|
+
* @generated from field: temporal.api.failure.v1.Failure last_failure = 11;
|
|
500
|
+
*/
|
|
501
|
+
lastFailure?: Failure;
|
|
502
|
+
/**
|
|
503
|
+
* @generated from field: string last_worker_identity = 12;
|
|
504
|
+
*/
|
|
505
|
+
lastWorkerIdentity: string;
|
|
506
|
+
/**
|
|
507
|
+
* Absence of `assigned_build_id` generally means this task is on an "unversioned" task queue.
|
|
508
|
+
* In rare cases, it can also mean that the task queue is versioned but we failed to write activity's
|
|
509
|
+
* independently-assigned build ID to the database. This case heals automatically once the task is dispatched.
|
|
510
|
+
* Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
511
|
+
*
|
|
512
|
+
* @generated from oneof temporal.api.workflow.v1.PendingActivityInfo.assigned_build_id
|
|
513
|
+
*/
|
|
514
|
+
assignedBuildId: {
|
|
515
|
+
/**
|
|
516
|
+
* Deprecated. When present, it means this activity is assigned to the build ID of its workflow.
|
|
517
|
+
*
|
|
518
|
+
* @generated from field: google.protobuf.Empty use_workflow_build_id = 13 [deprecated = true];
|
|
519
|
+
* @deprecated
|
|
520
|
+
*/
|
|
521
|
+
value: Empty;
|
|
522
|
+
case: "useWorkflowBuildId";
|
|
523
|
+
} | {
|
|
524
|
+
/**
|
|
525
|
+
* Deprecated. This means the activity is independently versioned and not bound to the build ID of its workflow.
|
|
526
|
+
* The activity will use the build id in this field instead.
|
|
527
|
+
* If the task fails and is scheduled again, the assigned build ID may change according to the latest versioning
|
|
528
|
+
* rules.
|
|
529
|
+
*
|
|
530
|
+
* @generated from field: string last_independently_assigned_build_id = 14 [deprecated = true];
|
|
531
|
+
* @deprecated
|
|
532
|
+
*/
|
|
533
|
+
value: string;
|
|
534
|
+
case: "lastIndependentlyAssignedBuildId";
|
|
535
|
+
} | {
|
|
536
|
+
case: undefined;
|
|
537
|
+
value?: undefined;
|
|
538
|
+
};
|
|
539
|
+
/**
|
|
540
|
+
* Deprecated. The version stamp of the worker to whom this activity was most recently dispatched
|
|
541
|
+
* This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
542
|
+
*
|
|
543
|
+
* @generated from field: temporal.api.common.v1.WorkerVersionStamp last_worker_version_stamp = 15 [deprecated = true];
|
|
544
|
+
* @deprecated
|
|
545
|
+
*/
|
|
546
|
+
lastWorkerVersionStamp?: WorkerVersionStamp;
|
|
547
|
+
/**
|
|
548
|
+
* The time activity will wait until the next retry.
|
|
549
|
+
* If activity is currently running it will be next retry interval if activity failed.
|
|
550
|
+
* If activity is currently waiting it will be current retry interval.
|
|
551
|
+
* If there will be no retry it will be null.
|
|
552
|
+
*
|
|
553
|
+
* @generated from field: google.protobuf.Duration current_retry_interval = 16;
|
|
554
|
+
*/
|
|
555
|
+
currentRetryInterval?: Duration;
|
|
556
|
+
/**
|
|
557
|
+
* The time when the last activity attempt was completed. If activity has not been completed yet then it will be null.
|
|
558
|
+
*
|
|
559
|
+
* @generated from field: google.protobuf.Timestamp last_attempt_complete_time = 17;
|
|
560
|
+
*/
|
|
561
|
+
lastAttemptCompleteTime?: Timestamp;
|
|
562
|
+
/**
|
|
563
|
+
* Next time when activity will be scheduled.
|
|
564
|
+
* If activity is currently scheduled or started it will be null.
|
|
565
|
+
*
|
|
566
|
+
* @generated from field: google.protobuf.Timestamp next_attempt_schedule_time = 18;
|
|
567
|
+
*/
|
|
568
|
+
nextAttemptScheduleTime?: Timestamp;
|
|
569
|
+
/**
|
|
570
|
+
* Indicates if activity is paused.
|
|
571
|
+
*
|
|
572
|
+
* @generated from field: bool paused = 19;
|
|
573
|
+
*/
|
|
574
|
+
paused: boolean;
|
|
575
|
+
/**
|
|
576
|
+
* The deployment this activity was dispatched to most recently. Present only if the activity
|
|
577
|
+
* was dispatched to a versioned worker.
|
|
578
|
+
* Deprecated. Use `last_deployment_version`.
|
|
579
|
+
*
|
|
580
|
+
* @generated from field: temporal.api.deployment.v1.Deployment last_deployment = 20 [deprecated = true];
|
|
581
|
+
* @deprecated
|
|
582
|
+
*/
|
|
583
|
+
lastDeployment?: Deployment;
|
|
584
|
+
/**
|
|
585
|
+
* The Worker Deployment Version this activity was dispatched to most recently.
|
|
586
|
+
* Deprecated. Use `last_deployment_version`.
|
|
587
|
+
*
|
|
588
|
+
* @generated from field: string last_worker_deployment_version = 21 [deprecated = true];
|
|
589
|
+
* @deprecated
|
|
590
|
+
*/
|
|
591
|
+
lastWorkerDeploymentVersion: string;
|
|
592
|
+
/**
|
|
593
|
+
* The Worker Deployment Version this activity was dispatched to most recently.
|
|
594
|
+
* If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
|
|
595
|
+
*
|
|
596
|
+
* @generated from field: temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;
|
|
597
|
+
*/
|
|
598
|
+
lastDeploymentVersion?: WorkerDeploymentVersion;
|
|
599
|
+
/**
|
|
600
|
+
* Priority metadata
|
|
601
|
+
*
|
|
602
|
+
* @generated from field: temporal.api.common.v1.Priority priority = 22;
|
|
603
|
+
*/
|
|
604
|
+
priority?: Priority;
|
|
605
|
+
/**
|
|
606
|
+
* @generated from field: temporal.api.workflow.v1.PendingActivityInfo.PauseInfo pause_info = 23;
|
|
607
|
+
*/
|
|
608
|
+
pauseInfo?: PendingActivityInfo_PauseInfo;
|
|
609
|
+
/**
|
|
610
|
+
* Current activity options. May be different from the one used to start the activity.
|
|
611
|
+
*
|
|
612
|
+
* @generated from field: temporal.api.activity.v1.ActivityOptions activity_options = 24;
|
|
613
|
+
*/
|
|
614
|
+
activityOptions?: ActivityOptions;
|
|
615
|
+
};
|
|
616
|
+
/**
|
|
617
|
+
* Describes the message temporal.api.workflow.v1.PendingActivityInfo.
|
|
618
|
+
* Use `create(PendingActivityInfoSchema)` to create a new message.
|
|
619
|
+
*/
|
|
620
|
+
export declare const PendingActivityInfoSchema: GenMessage<PendingActivityInfo>;
|
|
621
|
+
/**
|
|
622
|
+
* @generated from message temporal.api.workflow.v1.PendingActivityInfo.PauseInfo
|
|
623
|
+
*/
|
|
624
|
+
export type PendingActivityInfo_PauseInfo = Message<"temporal.api.workflow.v1.PendingActivityInfo.PauseInfo"> & {
|
|
625
|
+
/**
|
|
626
|
+
* The time when the activity was paused.
|
|
627
|
+
*
|
|
628
|
+
* @generated from field: google.protobuf.Timestamp pause_time = 1;
|
|
629
|
+
*/
|
|
630
|
+
pauseTime?: Timestamp;
|
|
631
|
+
/**
|
|
632
|
+
* @generated from oneof temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.paused_by
|
|
633
|
+
*/
|
|
634
|
+
pausedBy: {
|
|
635
|
+
/**
|
|
636
|
+
* activity was paused by the manual intervention
|
|
637
|
+
*
|
|
638
|
+
* @generated from field: temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Manual manual = 2;
|
|
639
|
+
*/
|
|
640
|
+
value: PendingActivityInfo_PauseInfo_Manual;
|
|
641
|
+
case: "manual";
|
|
642
|
+
} | {
|
|
643
|
+
/**
|
|
644
|
+
* activity was paused by the rule
|
|
645
|
+
*
|
|
646
|
+
* @generated from field: temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Rule rule = 4;
|
|
647
|
+
*/
|
|
648
|
+
value: PendingActivityInfo_PauseInfo_Rule;
|
|
649
|
+
case: "rule";
|
|
650
|
+
} | {
|
|
651
|
+
case: undefined;
|
|
652
|
+
value?: undefined;
|
|
653
|
+
};
|
|
654
|
+
};
|
|
655
|
+
/**
|
|
656
|
+
* Describes the message temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.
|
|
657
|
+
* Use `create(PendingActivityInfo_PauseInfoSchema)` to create a new message.
|
|
658
|
+
*/
|
|
659
|
+
export declare const PendingActivityInfo_PauseInfoSchema: GenMessage<PendingActivityInfo_PauseInfo>;
|
|
660
|
+
/**
|
|
661
|
+
* @generated from message temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Manual
|
|
662
|
+
*/
|
|
663
|
+
export type PendingActivityInfo_PauseInfo_Manual = Message<"temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Manual"> & {
|
|
664
|
+
/**
|
|
665
|
+
* The identity of the actor that paused the activity.
|
|
666
|
+
*
|
|
667
|
+
* @generated from field: string identity = 1;
|
|
668
|
+
*/
|
|
669
|
+
identity: string;
|
|
670
|
+
/**
|
|
671
|
+
* Reason for pausing the activity.
|
|
672
|
+
*
|
|
673
|
+
* @generated from field: string reason = 2;
|
|
674
|
+
*/
|
|
675
|
+
reason: string;
|
|
676
|
+
};
|
|
677
|
+
/**
|
|
678
|
+
* Describes the message temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Manual.
|
|
679
|
+
* Use `create(PendingActivityInfo_PauseInfo_ManualSchema)` to create a new message.
|
|
680
|
+
*/
|
|
681
|
+
export declare const PendingActivityInfo_PauseInfo_ManualSchema: GenMessage<PendingActivityInfo_PauseInfo_Manual>;
|
|
682
|
+
/**
|
|
683
|
+
* @generated from message temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Rule
|
|
684
|
+
*/
|
|
685
|
+
export type PendingActivityInfo_PauseInfo_Rule = Message<"temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Rule"> & {
|
|
686
|
+
/**
|
|
687
|
+
* The rule that paused the activity.
|
|
688
|
+
*
|
|
689
|
+
* @generated from field: string rule_id = 1;
|
|
690
|
+
*/
|
|
691
|
+
ruleId: string;
|
|
692
|
+
/**
|
|
693
|
+
* The identity of the actor that created the rule.
|
|
694
|
+
*
|
|
695
|
+
* @generated from field: string identity = 2;
|
|
696
|
+
*/
|
|
697
|
+
identity: string;
|
|
698
|
+
/**
|
|
699
|
+
* Reason why rule was created. Populated from rule description.
|
|
700
|
+
*
|
|
701
|
+
* @generated from field: string reason = 3;
|
|
702
|
+
*/
|
|
703
|
+
reason: string;
|
|
704
|
+
};
|
|
705
|
+
/**
|
|
706
|
+
* Describes the message temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Rule.
|
|
707
|
+
* Use `create(PendingActivityInfo_PauseInfo_RuleSchema)` to create a new message.
|
|
708
|
+
*/
|
|
709
|
+
export declare const PendingActivityInfo_PauseInfo_RuleSchema: GenMessage<PendingActivityInfo_PauseInfo_Rule>;
|
|
710
|
+
/**
|
|
711
|
+
* @generated from message temporal.api.workflow.v1.PendingChildExecutionInfo
|
|
712
|
+
*/
|
|
713
|
+
export type PendingChildExecutionInfo = Message<"temporal.api.workflow.v1.PendingChildExecutionInfo"> & {
|
|
714
|
+
/**
|
|
715
|
+
* @generated from field: string workflow_id = 1;
|
|
716
|
+
*/
|
|
717
|
+
workflowId: string;
|
|
718
|
+
/**
|
|
719
|
+
* @generated from field: string run_id = 2;
|
|
720
|
+
*/
|
|
721
|
+
runId: string;
|
|
722
|
+
/**
|
|
723
|
+
* @generated from field: string workflow_type_name = 3;
|
|
724
|
+
*/
|
|
725
|
+
workflowTypeName: string;
|
|
726
|
+
/**
|
|
727
|
+
* @generated from field: int64 initiated_id = 4;
|
|
728
|
+
*/
|
|
729
|
+
initiatedId: bigint;
|
|
730
|
+
/**
|
|
731
|
+
* Default: PARENT_CLOSE_POLICY_TERMINATE.
|
|
732
|
+
*
|
|
733
|
+
* @generated from field: temporal.api.enums.v1.ParentClosePolicy parent_close_policy = 5;
|
|
734
|
+
*/
|
|
735
|
+
parentClosePolicy: ParentClosePolicy;
|
|
736
|
+
};
|
|
737
|
+
/**
|
|
738
|
+
* Describes the message temporal.api.workflow.v1.PendingChildExecutionInfo.
|
|
739
|
+
* Use `create(PendingChildExecutionInfoSchema)` to create a new message.
|
|
740
|
+
*/
|
|
741
|
+
export declare const PendingChildExecutionInfoSchema: GenMessage<PendingChildExecutionInfo>;
|
|
742
|
+
/**
|
|
743
|
+
* @generated from message temporal.api.workflow.v1.PendingWorkflowTaskInfo
|
|
744
|
+
*/
|
|
745
|
+
export type PendingWorkflowTaskInfo = Message<"temporal.api.workflow.v1.PendingWorkflowTaskInfo"> & {
|
|
746
|
+
/**
|
|
747
|
+
* @generated from field: temporal.api.enums.v1.PendingWorkflowTaskState state = 1;
|
|
748
|
+
*/
|
|
749
|
+
state: PendingWorkflowTaskState;
|
|
750
|
+
/**
|
|
751
|
+
* @generated from field: google.protobuf.Timestamp scheduled_time = 2;
|
|
752
|
+
*/
|
|
753
|
+
scheduledTime?: Timestamp;
|
|
754
|
+
/**
|
|
755
|
+
* original_scheduled_time is the scheduled time of the first workflow task during workflow task heartbeat.
|
|
756
|
+
* Heartbeat workflow task is done by RespondWorkflowTaskComplete with ForceCreateNewWorkflowTask == true and no command
|
|
757
|
+
* In this case, OriginalScheduledTime won't change. Then when current time - original_scheduled_time exceeds
|
|
758
|
+
* some threshold, the workflow task will be forced timeout.
|
|
759
|
+
*
|
|
760
|
+
* @generated from field: google.protobuf.Timestamp original_scheduled_time = 3;
|
|
761
|
+
*/
|
|
762
|
+
originalScheduledTime?: Timestamp;
|
|
763
|
+
/**
|
|
764
|
+
* @generated from field: google.protobuf.Timestamp started_time = 4;
|
|
765
|
+
*/
|
|
766
|
+
startedTime?: Timestamp;
|
|
767
|
+
/**
|
|
768
|
+
* @generated from field: int32 attempt = 5;
|
|
769
|
+
*/
|
|
770
|
+
attempt: number;
|
|
771
|
+
};
|
|
772
|
+
/**
|
|
773
|
+
* Describes the message temporal.api.workflow.v1.PendingWorkflowTaskInfo.
|
|
774
|
+
* Use `create(PendingWorkflowTaskInfoSchema)` to create a new message.
|
|
775
|
+
*/
|
|
776
|
+
export declare const PendingWorkflowTaskInfoSchema: GenMessage<PendingWorkflowTaskInfo>;
|
|
777
|
+
/**
|
|
778
|
+
* @generated from message temporal.api.workflow.v1.ResetPoints
|
|
779
|
+
*/
|
|
780
|
+
export type ResetPoints = Message<"temporal.api.workflow.v1.ResetPoints"> & {
|
|
781
|
+
/**
|
|
782
|
+
* @generated from field: repeated temporal.api.workflow.v1.ResetPointInfo points = 1;
|
|
783
|
+
*/
|
|
784
|
+
points: ResetPointInfo[];
|
|
785
|
+
};
|
|
786
|
+
/**
|
|
787
|
+
* Describes the message temporal.api.workflow.v1.ResetPoints.
|
|
788
|
+
* Use `create(ResetPointsSchema)` to create a new message.
|
|
789
|
+
*/
|
|
790
|
+
export declare const ResetPointsSchema: GenMessage<ResetPoints>;
|
|
791
|
+
/**
|
|
792
|
+
* ResetPointInfo records the workflow event id that is the first one processed by a given
|
|
793
|
+
* build id or binary checksum. A new reset point will be created if either build id or binary
|
|
794
|
+
* checksum changes (although in general only one or the other will be used at a time).
|
|
795
|
+
*
|
|
796
|
+
* @generated from message temporal.api.workflow.v1.ResetPointInfo
|
|
797
|
+
*/
|
|
798
|
+
export type ResetPointInfo = Message<"temporal.api.workflow.v1.ResetPointInfo"> & {
|
|
799
|
+
/**
|
|
800
|
+
* Worker build id.
|
|
801
|
+
*
|
|
802
|
+
* @generated from field: string build_id = 7;
|
|
803
|
+
*/
|
|
804
|
+
buildId: string;
|
|
805
|
+
/**
|
|
806
|
+
* Deprecated. A worker binary version identifier.
|
|
807
|
+
*
|
|
808
|
+
* @generated from field: string binary_checksum = 1 [deprecated = true];
|
|
809
|
+
* @deprecated
|
|
810
|
+
*/
|
|
811
|
+
binaryChecksum: string;
|
|
812
|
+
/**
|
|
813
|
+
* The first run ID in the execution chain that was touched by this worker build.
|
|
814
|
+
*
|
|
815
|
+
* @generated from field: string run_id = 2;
|
|
816
|
+
*/
|
|
817
|
+
runId: string;
|
|
818
|
+
/**
|
|
819
|
+
* Event ID of the first WorkflowTaskCompleted event processed by this worker build.
|
|
820
|
+
*
|
|
821
|
+
* @generated from field: int64 first_workflow_task_completed_id = 3;
|
|
822
|
+
*/
|
|
823
|
+
firstWorkflowTaskCompletedId: bigint;
|
|
824
|
+
/**
|
|
825
|
+
* @generated from field: google.protobuf.Timestamp create_time = 4;
|
|
826
|
+
*/
|
|
827
|
+
createTime?: Timestamp;
|
|
828
|
+
/**
|
|
829
|
+
* (-- api-linter: core::0214::resource-expiry=disabled
|
|
830
|
+
* aip.dev/not-precedent: TTL is not defined for ResetPointInfo. --)
|
|
831
|
+
* The time that the run is deleted due to retention.
|
|
832
|
+
*
|
|
833
|
+
* @generated from field: google.protobuf.Timestamp expire_time = 5;
|
|
834
|
+
*/
|
|
835
|
+
expireTime?: Timestamp;
|
|
836
|
+
/**
|
|
837
|
+
* false if the reset point has pending childWFs/reqCancels/signalExternals.
|
|
838
|
+
*
|
|
839
|
+
* @generated from field: bool resettable = 6;
|
|
840
|
+
*/
|
|
841
|
+
resettable: boolean;
|
|
842
|
+
};
|
|
843
|
+
/**
|
|
844
|
+
* Describes the message temporal.api.workflow.v1.ResetPointInfo.
|
|
845
|
+
* Use `create(ResetPointInfoSchema)` to create a new message.
|
|
846
|
+
*/
|
|
847
|
+
export declare const ResetPointInfoSchema: GenMessage<ResetPointInfo>;
|
|
848
|
+
/**
|
|
849
|
+
* NewWorkflowExecutionInfo is a shared message that encapsulates all the
|
|
850
|
+
* required arguments to starting a workflow in different contexts.
|
|
851
|
+
*
|
|
852
|
+
* @generated from message temporal.api.workflow.v1.NewWorkflowExecutionInfo
|
|
853
|
+
*/
|
|
854
|
+
export type NewWorkflowExecutionInfo = Message<"temporal.api.workflow.v1.NewWorkflowExecutionInfo"> & {
|
|
855
|
+
/**
|
|
856
|
+
* @generated from field: string workflow_id = 1;
|
|
857
|
+
*/
|
|
858
|
+
workflowId: string;
|
|
859
|
+
/**
|
|
860
|
+
* @generated from field: temporal.api.common.v1.WorkflowType workflow_type = 2;
|
|
861
|
+
*/
|
|
862
|
+
workflowType?: WorkflowType;
|
|
863
|
+
/**
|
|
864
|
+
* @generated from field: temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
|
|
865
|
+
*/
|
|
866
|
+
taskQueue?: TaskQueue;
|
|
867
|
+
/**
|
|
868
|
+
* Serialized arguments to the workflow.
|
|
869
|
+
*
|
|
870
|
+
* @generated from field: temporal.api.common.v1.Payloads input = 4;
|
|
871
|
+
*/
|
|
872
|
+
input?: Payloads;
|
|
873
|
+
/**
|
|
874
|
+
* Total workflow execution timeout including retries and continue as new.
|
|
875
|
+
*
|
|
876
|
+
* @generated from field: google.protobuf.Duration workflow_execution_timeout = 5;
|
|
877
|
+
*/
|
|
878
|
+
workflowExecutionTimeout?: Duration;
|
|
879
|
+
/**
|
|
880
|
+
* Timeout of a single workflow run.
|
|
881
|
+
*
|
|
882
|
+
* @generated from field: google.protobuf.Duration workflow_run_timeout = 6;
|
|
883
|
+
*/
|
|
884
|
+
workflowRunTimeout?: Duration;
|
|
885
|
+
/**
|
|
886
|
+
* Timeout of a single workflow task.
|
|
887
|
+
*
|
|
888
|
+
* @generated from field: google.protobuf.Duration workflow_task_timeout = 7;
|
|
889
|
+
*/
|
|
890
|
+
workflowTaskTimeout?: Duration;
|
|
891
|
+
/**
|
|
892
|
+
* Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
|
|
893
|
+
*
|
|
894
|
+
* @generated from field: temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 8;
|
|
895
|
+
*/
|
|
896
|
+
workflowIdReusePolicy: WorkflowIdReusePolicy;
|
|
897
|
+
/**
|
|
898
|
+
* The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
|
|
899
|
+
*
|
|
900
|
+
* @generated from field: temporal.api.common.v1.RetryPolicy retry_policy = 9;
|
|
901
|
+
*/
|
|
902
|
+
retryPolicy?: RetryPolicy;
|
|
903
|
+
/**
|
|
904
|
+
* See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
|
|
905
|
+
*
|
|
906
|
+
* @generated from field: string cron_schedule = 10;
|
|
907
|
+
*/
|
|
908
|
+
cronSchedule: string;
|
|
909
|
+
/**
|
|
910
|
+
* @generated from field: temporal.api.common.v1.Memo memo = 11;
|
|
911
|
+
*/
|
|
912
|
+
memo?: Memo;
|
|
913
|
+
/**
|
|
914
|
+
* @generated from field: temporal.api.common.v1.SearchAttributes search_attributes = 12;
|
|
915
|
+
*/
|
|
916
|
+
searchAttributes?: SearchAttributes;
|
|
917
|
+
/**
|
|
918
|
+
* @generated from field: temporal.api.common.v1.Header header = 13;
|
|
919
|
+
*/
|
|
920
|
+
header?: Header;
|
|
921
|
+
/**
|
|
922
|
+
* Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig
|
|
923
|
+
* for use by user interfaces to display the fixed as-of-start summary and details of the
|
|
924
|
+
* workflow.
|
|
925
|
+
*
|
|
926
|
+
* @generated from field: temporal.api.sdk.v1.UserMetadata user_metadata = 14;
|
|
927
|
+
*/
|
|
928
|
+
userMetadata?: UserMetadata;
|
|
929
|
+
/**
|
|
930
|
+
* If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
|
|
931
|
+
* To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.
|
|
932
|
+
*
|
|
933
|
+
* @generated from field: temporal.api.workflow.v1.VersioningOverride versioning_override = 15;
|
|
934
|
+
*/
|
|
935
|
+
versioningOverride?: VersioningOverride;
|
|
936
|
+
/**
|
|
937
|
+
* Priority metadata
|
|
938
|
+
*
|
|
939
|
+
* @generated from field: temporal.api.common.v1.Priority priority = 16;
|
|
940
|
+
*/
|
|
941
|
+
priority?: Priority;
|
|
942
|
+
};
|
|
943
|
+
/**
|
|
944
|
+
* Describes the message temporal.api.workflow.v1.NewWorkflowExecutionInfo.
|
|
945
|
+
* Use `create(NewWorkflowExecutionInfoSchema)` to create a new message.
|
|
946
|
+
*/
|
|
947
|
+
export declare const NewWorkflowExecutionInfoSchema: GenMessage<NewWorkflowExecutionInfo>;
|
|
948
|
+
/**
|
|
949
|
+
* CallbackInfo contains the state of an attached workflow callback.
|
|
950
|
+
*
|
|
951
|
+
* @generated from message temporal.api.workflow.v1.CallbackInfo
|
|
952
|
+
*/
|
|
953
|
+
export type CallbackInfo = Message<"temporal.api.workflow.v1.CallbackInfo"> & {
|
|
954
|
+
/**
|
|
955
|
+
* Information on how this callback should be invoked (e.g. its URL and type).
|
|
956
|
+
*
|
|
957
|
+
* @generated from field: temporal.api.common.v1.Callback callback = 1;
|
|
958
|
+
*/
|
|
959
|
+
callback?: Callback;
|
|
960
|
+
/**
|
|
961
|
+
* Trigger for this callback.
|
|
962
|
+
*
|
|
963
|
+
* @generated from field: temporal.api.workflow.v1.CallbackInfo.Trigger trigger = 2;
|
|
964
|
+
*/
|
|
965
|
+
trigger?: CallbackInfo_Trigger;
|
|
966
|
+
/**
|
|
967
|
+
* The time when the callback was registered.
|
|
968
|
+
*
|
|
969
|
+
* @generated from field: google.protobuf.Timestamp registration_time = 3;
|
|
970
|
+
*/
|
|
971
|
+
registrationTime?: Timestamp;
|
|
972
|
+
/**
|
|
973
|
+
* @generated from field: temporal.api.enums.v1.CallbackState state = 4;
|
|
974
|
+
*/
|
|
975
|
+
state: CallbackState;
|
|
976
|
+
/**
|
|
977
|
+
* The number of attempts made to deliver the callback.
|
|
978
|
+
* This number represents a minimum bound since the attempt is incremented after the callback request completes.
|
|
979
|
+
*
|
|
980
|
+
* @generated from field: int32 attempt = 5;
|
|
981
|
+
*/
|
|
982
|
+
attempt: number;
|
|
983
|
+
/**
|
|
984
|
+
* The time when the last attempt completed.
|
|
985
|
+
*
|
|
986
|
+
* @generated from field: google.protobuf.Timestamp last_attempt_complete_time = 6;
|
|
987
|
+
*/
|
|
988
|
+
lastAttemptCompleteTime?: Timestamp;
|
|
989
|
+
/**
|
|
990
|
+
* The last attempt's failure, if any.
|
|
991
|
+
*
|
|
992
|
+
* @generated from field: temporal.api.failure.v1.Failure last_attempt_failure = 7;
|
|
993
|
+
*/
|
|
994
|
+
lastAttemptFailure?: Failure;
|
|
995
|
+
/**
|
|
996
|
+
* The time when the next attempt is scheduled.
|
|
997
|
+
*
|
|
998
|
+
* @generated from field: google.protobuf.Timestamp next_attempt_schedule_time = 8;
|
|
999
|
+
*/
|
|
1000
|
+
nextAttemptScheduleTime?: Timestamp;
|
|
1001
|
+
/**
|
|
1002
|
+
* If the state is BLOCKED, blocked reason provides additional information.
|
|
1003
|
+
*
|
|
1004
|
+
* @generated from field: string blocked_reason = 9;
|
|
1005
|
+
*/
|
|
1006
|
+
blockedReason: string;
|
|
1007
|
+
};
|
|
1008
|
+
/**
|
|
1009
|
+
* Describes the message temporal.api.workflow.v1.CallbackInfo.
|
|
1010
|
+
* Use `create(CallbackInfoSchema)` to create a new message.
|
|
1011
|
+
*/
|
|
1012
|
+
export declare const CallbackInfoSchema: GenMessage<CallbackInfo>;
|
|
1013
|
+
/**
|
|
1014
|
+
* Trigger for when the workflow is closed.
|
|
1015
|
+
*
|
|
1016
|
+
* @generated from message temporal.api.workflow.v1.CallbackInfo.WorkflowClosed
|
|
1017
|
+
*/
|
|
1018
|
+
export type CallbackInfo_WorkflowClosed = Message<"temporal.api.workflow.v1.CallbackInfo.WorkflowClosed"> & {};
|
|
1019
|
+
/**
|
|
1020
|
+
* Describes the message temporal.api.workflow.v1.CallbackInfo.WorkflowClosed.
|
|
1021
|
+
* Use `create(CallbackInfo_WorkflowClosedSchema)` to create a new message.
|
|
1022
|
+
*/
|
|
1023
|
+
export declare const CallbackInfo_WorkflowClosedSchema: GenMessage<CallbackInfo_WorkflowClosed>;
|
|
1024
|
+
/**
|
|
1025
|
+
* @generated from message temporal.api.workflow.v1.CallbackInfo.Trigger
|
|
1026
|
+
*/
|
|
1027
|
+
export type CallbackInfo_Trigger = Message<"temporal.api.workflow.v1.CallbackInfo.Trigger"> & {
|
|
1028
|
+
/**
|
|
1029
|
+
* @generated from oneof temporal.api.workflow.v1.CallbackInfo.Trigger.variant
|
|
1030
|
+
*/
|
|
1031
|
+
variant: {
|
|
1032
|
+
/**
|
|
1033
|
+
* @generated from field: temporal.api.workflow.v1.CallbackInfo.WorkflowClosed workflow_closed = 1;
|
|
1034
|
+
*/
|
|
1035
|
+
value: CallbackInfo_WorkflowClosed;
|
|
1036
|
+
case: "workflowClosed";
|
|
1037
|
+
} | {
|
|
1038
|
+
case: undefined;
|
|
1039
|
+
value?: undefined;
|
|
1040
|
+
};
|
|
1041
|
+
};
|
|
1042
|
+
/**
|
|
1043
|
+
* Describes the message temporal.api.workflow.v1.CallbackInfo.Trigger.
|
|
1044
|
+
* Use `create(CallbackInfo_TriggerSchema)` to create a new message.
|
|
1045
|
+
*/
|
|
1046
|
+
export declare const CallbackInfo_TriggerSchema: GenMessage<CallbackInfo_Trigger>;
|
|
1047
|
+
/**
|
|
1048
|
+
* PendingNexusOperationInfo contains the state of a pending Nexus operation.
|
|
1049
|
+
*
|
|
1050
|
+
* @generated from message temporal.api.workflow.v1.PendingNexusOperationInfo
|
|
1051
|
+
*/
|
|
1052
|
+
export type PendingNexusOperationInfo = Message<"temporal.api.workflow.v1.PendingNexusOperationInfo"> & {
|
|
1053
|
+
/**
|
|
1054
|
+
* Endpoint name.
|
|
1055
|
+
* Resolved to a URL via the cluster's endpoint registry.
|
|
1056
|
+
*
|
|
1057
|
+
* @generated from field: string endpoint = 1;
|
|
1058
|
+
*/
|
|
1059
|
+
endpoint: string;
|
|
1060
|
+
/**
|
|
1061
|
+
* Service name.
|
|
1062
|
+
*
|
|
1063
|
+
* @generated from field: string service = 2;
|
|
1064
|
+
*/
|
|
1065
|
+
service: string;
|
|
1066
|
+
/**
|
|
1067
|
+
* Operation name.
|
|
1068
|
+
*
|
|
1069
|
+
* @generated from field: string operation = 3;
|
|
1070
|
+
*/
|
|
1071
|
+
operation: string;
|
|
1072
|
+
/**
|
|
1073
|
+
* Operation ID. Only set for asynchronous operations after a successful StartOperation call.
|
|
1074
|
+
*
|
|
1075
|
+
* Deprecated. Renamed to operation_token.
|
|
1076
|
+
*
|
|
1077
|
+
* @generated from field: string operation_id = 4 [deprecated = true];
|
|
1078
|
+
* @deprecated
|
|
1079
|
+
*/
|
|
1080
|
+
operationId: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* Schedule-to-close timeout for this operation.
|
|
1083
|
+
* This is the only timeout settable by a workflow.
|
|
1084
|
+
* (-- api-linter: core::0140::prepositions=disabled
|
|
1085
|
+
* aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
1086
|
+
*
|
|
1087
|
+
* @generated from field: google.protobuf.Duration schedule_to_close_timeout = 5;
|
|
1088
|
+
*/
|
|
1089
|
+
scheduleToCloseTimeout?: Duration;
|
|
1090
|
+
/**
|
|
1091
|
+
* The time when the operation was scheduled.
|
|
1092
|
+
*
|
|
1093
|
+
* @generated from field: google.protobuf.Timestamp scheduled_time = 6;
|
|
1094
|
+
*/
|
|
1095
|
+
scheduledTime?: Timestamp;
|
|
1096
|
+
/**
|
|
1097
|
+
* @generated from field: temporal.api.enums.v1.PendingNexusOperationState state = 7;
|
|
1098
|
+
*/
|
|
1099
|
+
state: PendingNexusOperationState;
|
|
1100
|
+
/**
|
|
1101
|
+
* The number of attempts made to deliver the start operation request.
|
|
1102
|
+
* This number represents a minimum bound since the attempt is incremented after the request completes.
|
|
1103
|
+
*
|
|
1104
|
+
* @generated from field: int32 attempt = 8;
|
|
1105
|
+
*/
|
|
1106
|
+
attempt: number;
|
|
1107
|
+
/**
|
|
1108
|
+
* The time when the last attempt completed.
|
|
1109
|
+
*
|
|
1110
|
+
* @generated from field: google.protobuf.Timestamp last_attempt_complete_time = 9;
|
|
1111
|
+
*/
|
|
1112
|
+
lastAttemptCompleteTime?: Timestamp;
|
|
1113
|
+
/**
|
|
1114
|
+
* The last attempt's failure, if any.
|
|
1115
|
+
*
|
|
1116
|
+
* @generated from field: temporal.api.failure.v1.Failure last_attempt_failure = 10;
|
|
1117
|
+
*/
|
|
1118
|
+
lastAttemptFailure?: Failure;
|
|
1119
|
+
/**
|
|
1120
|
+
* The time when the next attempt is scheduled.
|
|
1121
|
+
*
|
|
1122
|
+
* @generated from field: google.protobuf.Timestamp next_attempt_schedule_time = 11;
|
|
1123
|
+
*/
|
|
1124
|
+
nextAttemptScheduleTime?: Timestamp;
|
|
1125
|
+
/**
|
|
1126
|
+
* @generated from field: temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;
|
|
1127
|
+
*/
|
|
1128
|
+
cancellationInfo?: NexusOperationCancellationInfo;
|
|
1129
|
+
/**
|
|
1130
|
+
* The event ID of the NexusOperationScheduled event. Can be used to correlate an operation in the
|
|
1131
|
+
* DescribeWorkflowExecution response with workflow history.
|
|
1132
|
+
*
|
|
1133
|
+
* @generated from field: int64 scheduled_event_id = 13;
|
|
1134
|
+
*/
|
|
1135
|
+
scheduledEventId: bigint;
|
|
1136
|
+
/**
|
|
1137
|
+
* If the state is BLOCKED, blocked reason provides additional information.
|
|
1138
|
+
*
|
|
1139
|
+
* @generated from field: string blocked_reason = 14;
|
|
1140
|
+
*/
|
|
1141
|
+
blockedReason: string;
|
|
1142
|
+
/**
|
|
1143
|
+
* Operation token. Only set for asynchronous operations after a successful StartOperation call.
|
|
1144
|
+
*
|
|
1145
|
+
* @generated from field: string operation_token = 15;
|
|
1146
|
+
*/
|
|
1147
|
+
operationToken: string;
|
|
1148
|
+
};
|
|
1149
|
+
/**
|
|
1150
|
+
* Describes the message temporal.api.workflow.v1.PendingNexusOperationInfo.
|
|
1151
|
+
* Use `create(PendingNexusOperationInfoSchema)` to create a new message.
|
|
1152
|
+
*/
|
|
1153
|
+
export declare const PendingNexusOperationInfoSchema: GenMessage<PendingNexusOperationInfo>;
|
|
1154
|
+
/**
|
|
1155
|
+
* NexusOperationCancellationInfo contains the state of a nexus operation cancellation.
|
|
1156
|
+
*
|
|
1157
|
+
* @generated from message temporal.api.workflow.v1.NexusOperationCancellationInfo
|
|
1158
|
+
*/
|
|
1159
|
+
export type NexusOperationCancellationInfo = Message<"temporal.api.workflow.v1.NexusOperationCancellationInfo"> & {
|
|
1160
|
+
/**
|
|
1161
|
+
* The time when cancellation was requested.
|
|
1162
|
+
*
|
|
1163
|
+
* @generated from field: google.protobuf.Timestamp requested_time = 1;
|
|
1164
|
+
*/
|
|
1165
|
+
requestedTime?: Timestamp;
|
|
1166
|
+
/**
|
|
1167
|
+
* @generated from field: temporal.api.enums.v1.NexusOperationCancellationState state = 2;
|
|
1168
|
+
*/
|
|
1169
|
+
state: NexusOperationCancellationState;
|
|
1170
|
+
/**
|
|
1171
|
+
* The number of attempts made to deliver the cancel operation request.
|
|
1172
|
+
* This number represents a minimum bound since the attempt is incremented after the request completes.
|
|
1173
|
+
*
|
|
1174
|
+
* @generated from field: int32 attempt = 3;
|
|
1175
|
+
*/
|
|
1176
|
+
attempt: number;
|
|
1177
|
+
/**
|
|
1178
|
+
* The time when the last attempt completed.
|
|
1179
|
+
*
|
|
1180
|
+
* @generated from field: google.protobuf.Timestamp last_attempt_complete_time = 4;
|
|
1181
|
+
*/
|
|
1182
|
+
lastAttemptCompleteTime?: Timestamp;
|
|
1183
|
+
/**
|
|
1184
|
+
* The last attempt's failure, if any.
|
|
1185
|
+
*
|
|
1186
|
+
* @generated from field: temporal.api.failure.v1.Failure last_attempt_failure = 5;
|
|
1187
|
+
*/
|
|
1188
|
+
lastAttemptFailure?: Failure;
|
|
1189
|
+
/**
|
|
1190
|
+
* The time when the next attempt is scheduled.
|
|
1191
|
+
*
|
|
1192
|
+
* @generated from field: google.protobuf.Timestamp next_attempt_schedule_time = 6;
|
|
1193
|
+
*/
|
|
1194
|
+
nextAttemptScheduleTime?: Timestamp;
|
|
1195
|
+
/**
|
|
1196
|
+
* If the state is BLOCKED, blocked reason provides additional information.
|
|
1197
|
+
*
|
|
1198
|
+
* @generated from field: string blocked_reason = 7;
|
|
1199
|
+
*/
|
|
1200
|
+
blockedReason: string;
|
|
1201
|
+
};
|
|
1202
|
+
/**
|
|
1203
|
+
* Describes the message temporal.api.workflow.v1.NexusOperationCancellationInfo.
|
|
1204
|
+
* Use `create(NexusOperationCancellationInfoSchema)` to create a new message.
|
|
1205
|
+
*/
|
|
1206
|
+
export declare const NexusOperationCancellationInfoSchema: GenMessage<NexusOperationCancellationInfo>;
|
|
1207
|
+
/**
|
|
1208
|
+
* @generated from message temporal.api.workflow.v1.WorkflowExecutionOptions
|
|
1209
|
+
*/
|
|
1210
|
+
export type WorkflowExecutionOptions = Message<"temporal.api.workflow.v1.WorkflowExecutionOptions"> & {
|
|
1211
|
+
/**
|
|
1212
|
+
* If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
|
|
1213
|
+
*
|
|
1214
|
+
* @generated from field: temporal.api.workflow.v1.VersioningOverride versioning_override = 1;
|
|
1215
|
+
*/
|
|
1216
|
+
versioningOverride?: VersioningOverride;
|
|
1217
|
+
};
|
|
1218
|
+
/**
|
|
1219
|
+
* Describes the message temporal.api.workflow.v1.WorkflowExecutionOptions.
|
|
1220
|
+
* Use `create(WorkflowExecutionOptionsSchema)` to create a new message.
|
|
1221
|
+
*/
|
|
1222
|
+
export declare const WorkflowExecutionOptionsSchema: GenMessage<WorkflowExecutionOptions>;
|
|
1223
|
+
/**
|
|
1224
|
+
* Used to override the versioning behavior (and pinned deployment version, if applicable) of a
|
|
1225
|
+
* specific workflow execution. If set, takes precedence over the worker-sent values. See
|
|
1226
|
+
* `WorkflowExecutionInfo.VersioningInfo` for more information. To remove the override, call
|
|
1227
|
+
* `UpdateWorkflowExecutionOptions` with a null `VersioningOverride`, and use the `update_mask`
|
|
1228
|
+
* to indicate that it should be mutated.
|
|
1229
|
+
* Pinned overrides are automatically inherited by child workflows, continue-as-new workflows,
|
|
1230
|
+
* workflow retries, and cron workflows.
|
|
1231
|
+
*
|
|
1232
|
+
* @generated from message temporal.api.workflow.v1.VersioningOverride
|
|
1233
|
+
*/
|
|
1234
|
+
export type VersioningOverride = Message<"temporal.api.workflow.v1.VersioningOverride"> & {
|
|
1235
|
+
/**
|
|
1236
|
+
* Indicates whether to override the workflow to be AutoUpgrade or Pinned.
|
|
1237
|
+
*
|
|
1238
|
+
* @generated from oneof temporal.api.workflow.v1.VersioningOverride.override
|
|
1239
|
+
*/
|
|
1240
|
+
override: {
|
|
1241
|
+
/**
|
|
1242
|
+
* Send the next workflow task to the Version specified in the override.
|
|
1243
|
+
*
|
|
1244
|
+
* @generated from field: temporal.api.workflow.v1.VersioningOverride.PinnedOverride pinned = 3;
|
|
1245
|
+
*/
|
|
1246
|
+
value: VersioningOverride_PinnedOverride;
|
|
1247
|
+
case: "pinned";
|
|
1248
|
+
} | {
|
|
1249
|
+
/**
|
|
1250
|
+
* Send the next workflow task to the Current Deployment Version
|
|
1251
|
+
* of its Task Queue when the next workflow task is dispatched.
|
|
1252
|
+
*
|
|
1253
|
+
* @generated from field: bool auto_upgrade = 4;
|
|
1254
|
+
*/
|
|
1255
|
+
value: boolean;
|
|
1256
|
+
case: "autoUpgrade";
|
|
1257
|
+
} | {
|
|
1258
|
+
case: undefined;
|
|
1259
|
+
value?: undefined;
|
|
1260
|
+
};
|
|
1261
|
+
/**
|
|
1262
|
+
* Required.
|
|
1263
|
+
* Deprecated. Use `override`.
|
|
1264
|
+
*
|
|
1265
|
+
* @generated from field: temporal.api.enums.v1.VersioningBehavior behavior = 1 [deprecated = true];
|
|
1266
|
+
* @deprecated
|
|
1267
|
+
*/
|
|
1268
|
+
behavior: VersioningBehavior;
|
|
1269
|
+
/**
|
|
1270
|
+
* Required if behavior is `PINNED`. Must be null if behavior is `AUTO_UPGRADE`.
|
|
1271
|
+
* Identifies the worker deployment to pin the workflow to.
|
|
1272
|
+
* Deprecated. Use `override.pinned.version`.
|
|
1273
|
+
*
|
|
1274
|
+
* @generated from field: temporal.api.deployment.v1.Deployment deployment = 2 [deprecated = true];
|
|
1275
|
+
* @deprecated
|
|
1276
|
+
*/
|
|
1277
|
+
deployment?: Deployment;
|
|
1278
|
+
/**
|
|
1279
|
+
* Required if behavior is `PINNED`. Must be absent if behavior is not `PINNED`.
|
|
1280
|
+
* Identifies the worker deployment version to pin the workflow to, in the format
|
|
1281
|
+
* "<deployment_name>.<build_id>".
|
|
1282
|
+
* Deprecated. Use `override.pinned.version`.
|
|
1283
|
+
*
|
|
1284
|
+
* @generated from field: string pinned_version = 9 [deprecated = true];
|
|
1285
|
+
* @deprecated
|
|
1286
|
+
*/
|
|
1287
|
+
pinnedVersion: string;
|
|
1288
|
+
};
|
|
1289
|
+
/**
|
|
1290
|
+
* Describes the message temporal.api.workflow.v1.VersioningOverride.
|
|
1291
|
+
* Use `create(VersioningOverrideSchema)` to create a new message.
|
|
1292
|
+
*/
|
|
1293
|
+
export declare const VersioningOverrideSchema: GenMessage<VersioningOverride>;
|
|
1294
|
+
/**
|
|
1295
|
+
* @generated from message temporal.api.workflow.v1.VersioningOverride.PinnedOverride
|
|
1296
|
+
*/
|
|
1297
|
+
export type VersioningOverride_PinnedOverride = Message<"temporal.api.workflow.v1.VersioningOverride.PinnedOverride"> & {
|
|
1298
|
+
/**
|
|
1299
|
+
* Defaults to PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED.
|
|
1300
|
+
* See `PinnedOverrideBehavior` for details.
|
|
1301
|
+
*
|
|
1302
|
+
* @generated from field: temporal.api.workflow.v1.VersioningOverride.PinnedOverrideBehavior behavior = 1;
|
|
1303
|
+
*/
|
|
1304
|
+
behavior: VersioningOverride_PinnedOverrideBehavior;
|
|
1305
|
+
/**
|
|
1306
|
+
* Required.
|
|
1307
|
+
*
|
|
1308
|
+
* @generated from field: temporal.api.deployment.v1.WorkerDeploymentVersion version = 2;
|
|
1309
|
+
*/
|
|
1310
|
+
version?: WorkerDeploymentVersion;
|
|
1311
|
+
};
|
|
1312
|
+
/**
|
|
1313
|
+
* Describes the message temporal.api.workflow.v1.VersioningOverride.PinnedOverride.
|
|
1314
|
+
* Use `create(VersioningOverride_PinnedOverrideSchema)` to create a new message.
|
|
1315
|
+
*/
|
|
1316
|
+
export declare const VersioningOverride_PinnedOverrideSchema: GenMessage<VersioningOverride_PinnedOverride>;
|
|
1317
|
+
/**
|
|
1318
|
+
* Used to specify different sub-types of Pinned override that we plan to add in the future.
|
|
1319
|
+
*
|
|
1320
|
+
* @generated from enum temporal.api.workflow.v1.VersioningOverride.PinnedOverrideBehavior
|
|
1321
|
+
*/
|
|
1322
|
+
export declare enum VersioningOverride_PinnedOverrideBehavior {
|
|
1323
|
+
/**
|
|
1324
|
+
* Unspecified.
|
|
1325
|
+
*
|
|
1326
|
+
* @generated from enum value: PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED = 0;
|
|
1327
|
+
*/
|
|
1328
|
+
UNSPECIFIED = 0,
|
|
1329
|
+
/**
|
|
1330
|
+
* Override workflow behavior to be Pinned.
|
|
1331
|
+
*
|
|
1332
|
+
* @generated from enum value: PINNED_OVERRIDE_BEHAVIOR_PINNED = 1;
|
|
1333
|
+
*/
|
|
1334
|
+
PINNED = 1
|
|
1335
|
+
}
|
|
1336
|
+
/**
|
|
1337
|
+
* Describes the enum temporal.api.workflow.v1.VersioningOverride.PinnedOverrideBehavior.
|
|
1338
|
+
*/
|
|
1339
|
+
export declare const VersioningOverride_PinnedOverrideBehaviorSchema: GenEnum<VersioningOverride_PinnedOverrideBehavior>;
|
|
1340
|
+
/**
|
|
1341
|
+
* When StartWorkflowExecution uses the conflict policy WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING and
|
|
1342
|
+
* there is already an existing running workflow, OnConflictOptions defines actions to be taken on
|
|
1343
|
+
* the existing running workflow. In this case, it will create a WorkflowExecutionOptionsUpdatedEvent
|
|
1344
|
+
* history event in the running workflow with the changes requested in this object.
|
|
1345
|
+
*
|
|
1346
|
+
* @generated from message temporal.api.workflow.v1.OnConflictOptions
|
|
1347
|
+
*/
|
|
1348
|
+
export type OnConflictOptions = Message<"temporal.api.workflow.v1.OnConflictOptions"> & {
|
|
1349
|
+
/**
|
|
1350
|
+
* Attaches the request ID to the running workflow.
|
|
1351
|
+
*
|
|
1352
|
+
* @generated from field: bool attach_request_id = 1;
|
|
1353
|
+
*/
|
|
1354
|
+
attachRequestId: boolean;
|
|
1355
|
+
/**
|
|
1356
|
+
* Attaches the completion callbacks to the running workflow.
|
|
1357
|
+
*
|
|
1358
|
+
* @generated from field: bool attach_completion_callbacks = 2;
|
|
1359
|
+
*/
|
|
1360
|
+
attachCompletionCallbacks: boolean;
|
|
1361
|
+
/**
|
|
1362
|
+
* Attaches the links to the WorkflowExecutionOptionsUpdatedEvent history event.
|
|
1363
|
+
*
|
|
1364
|
+
* @generated from field: bool attach_links = 3;
|
|
1365
|
+
*/
|
|
1366
|
+
attachLinks: boolean;
|
|
1367
|
+
};
|
|
1368
|
+
/**
|
|
1369
|
+
* Describes the message temporal.api.workflow.v1.OnConflictOptions.
|
|
1370
|
+
* Use `create(OnConflictOptionsSchema)` to create a new message.
|
|
1371
|
+
*/
|
|
1372
|
+
export declare const OnConflictOptionsSchema: GenMessage<OnConflictOptions>;
|
|
1373
|
+
/**
|
|
1374
|
+
* RequestIdInfo contains details of a request ID.
|
|
1375
|
+
*
|
|
1376
|
+
* @generated from message temporal.api.workflow.v1.RequestIdInfo
|
|
1377
|
+
*/
|
|
1378
|
+
export type RequestIdInfo = Message<"temporal.api.workflow.v1.RequestIdInfo"> & {
|
|
1379
|
+
/**
|
|
1380
|
+
* The event type of the history event generated by the request.
|
|
1381
|
+
*
|
|
1382
|
+
* @generated from field: temporal.api.enums.v1.EventType event_type = 1;
|
|
1383
|
+
*/
|
|
1384
|
+
eventType: EventType;
|
|
1385
|
+
/**
|
|
1386
|
+
* The event id of the history event generated by the request. It's possible the event ID is not
|
|
1387
|
+
* known (unflushed buffered event). In this case, the value will be zero or a negative value,
|
|
1388
|
+
* representing an invalid ID.
|
|
1389
|
+
*
|
|
1390
|
+
* @generated from field: int64 event_id = 2;
|
|
1391
|
+
*/
|
|
1392
|
+
eventId: bigint;
|
|
1393
|
+
/**
|
|
1394
|
+
* Indicate if the request is still buffered. If so, the event ID is not known and its value
|
|
1395
|
+
* will be an invalid event ID.
|
|
1396
|
+
*
|
|
1397
|
+
* @generated from field: bool buffered = 3;
|
|
1398
|
+
*/
|
|
1399
|
+
buffered: boolean;
|
|
1400
|
+
};
|
|
1401
|
+
/**
|
|
1402
|
+
* Describes the message temporal.api.workflow.v1.RequestIdInfo.
|
|
1403
|
+
* Use `create(RequestIdInfoSchema)` to create a new message.
|
|
1404
|
+
*/
|
|
1405
|
+
export declare const RequestIdInfoSchema: GenMessage<RequestIdInfo>;
|
|
1406
|
+
/**
|
|
1407
|
+
* PostResetOperation represents an operation to be performed on the new workflow execution after a workflow reset.
|
|
1408
|
+
*
|
|
1409
|
+
* @generated from message temporal.api.workflow.v1.PostResetOperation
|
|
1410
|
+
*/
|
|
1411
|
+
export type PostResetOperation = Message<"temporal.api.workflow.v1.PostResetOperation"> & {
|
|
1412
|
+
/**
|
|
1413
|
+
* @generated from oneof temporal.api.workflow.v1.PostResetOperation.variant
|
|
1414
|
+
*/
|
|
1415
|
+
variant: {
|
|
1416
|
+
/**
|
|
1417
|
+
* @generated from field: temporal.api.workflow.v1.PostResetOperation.SignalWorkflow signal_workflow = 1;
|
|
1418
|
+
*/
|
|
1419
|
+
value: PostResetOperation_SignalWorkflow;
|
|
1420
|
+
case: "signalWorkflow";
|
|
1421
|
+
} | {
|
|
1422
|
+
/**
|
|
1423
|
+
* @generated from field: temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions update_workflow_options = 2;
|
|
1424
|
+
*/
|
|
1425
|
+
value: PostResetOperation_UpdateWorkflowOptions;
|
|
1426
|
+
case: "updateWorkflowOptions";
|
|
1427
|
+
} | {
|
|
1428
|
+
case: undefined;
|
|
1429
|
+
value?: undefined;
|
|
1430
|
+
};
|
|
1431
|
+
};
|
|
1432
|
+
/**
|
|
1433
|
+
* Describes the message temporal.api.workflow.v1.PostResetOperation.
|
|
1434
|
+
* Use `create(PostResetOperationSchema)` to create a new message.
|
|
1435
|
+
*/
|
|
1436
|
+
export declare const PostResetOperationSchema: GenMessage<PostResetOperation>;
|
|
1437
|
+
/**
|
|
1438
|
+
* SignalWorkflow represents sending a signal after a workflow reset.
|
|
1439
|
+
* Keep the parameter in sync with temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest.
|
|
1440
|
+
*
|
|
1441
|
+
* @generated from message temporal.api.workflow.v1.PostResetOperation.SignalWorkflow
|
|
1442
|
+
*/
|
|
1443
|
+
export type PostResetOperation_SignalWorkflow = Message<"temporal.api.workflow.v1.PostResetOperation.SignalWorkflow"> & {
|
|
1444
|
+
/**
|
|
1445
|
+
* The workflow author-defined name of the signal to send to the workflow.
|
|
1446
|
+
*
|
|
1447
|
+
* @generated from field: string signal_name = 1;
|
|
1448
|
+
*/
|
|
1449
|
+
signalName: string;
|
|
1450
|
+
/**
|
|
1451
|
+
* Serialized value(s) to provide with the signal.
|
|
1452
|
+
*
|
|
1453
|
+
* @generated from field: temporal.api.common.v1.Payloads input = 2;
|
|
1454
|
+
*/
|
|
1455
|
+
input?: Payloads;
|
|
1456
|
+
/**
|
|
1457
|
+
* Headers that are passed with the signal to the processing workflow.
|
|
1458
|
+
*
|
|
1459
|
+
* @generated from field: temporal.api.common.v1.Header header = 3;
|
|
1460
|
+
*/
|
|
1461
|
+
header?: Header;
|
|
1462
|
+
/**
|
|
1463
|
+
* Links to be associated with the WorkflowExecutionSignaled event.
|
|
1464
|
+
*
|
|
1465
|
+
* @generated from field: repeated temporal.api.common.v1.Link links = 4;
|
|
1466
|
+
*/
|
|
1467
|
+
links: Link[];
|
|
1468
|
+
};
|
|
1469
|
+
/**
|
|
1470
|
+
* Describes the message temporal.api.workflow.v1.PostResetOperation.SignalWorkflow.
|
|
1471
|
+
* Use `create(PostResetOperation_SignalWorkflowSchema)` to create a new message.
|
|
1472
|
+
*/
|
|
1473
|
+
export declare const PostResetOperation_SignalWorkflowSchema: GenMessage<PostResetOperation_SignalWorkflow>;
|
|
1474
|
+
/**
|
|
1475
|
+
* UpdateWorkflowOptions represents updating workflow execution options after a workflow reset.
|
|
1476
|
+
* Keep the parameters in sync with temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest.
|
|
1477
|
+
*
|
|
1478
|
+
* @generated from message temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions
|
|
1479
|
+
*/
|
|
1480
|
+
export type PostResetOperation_UpdateWorkflowOptions = Message<"temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions"> & {
|
|
1481
|
+
/**
|
|
1482
|
+
* Update Workflow options that were originally specified via StartWorkflowExecution. Partial updates are accepted and controlled by update_mask.
|
|
1483
|
+
*
|
|
1484
|
+
* @generated from field: temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 1;
|
|
1485
|
+
*/
|
|
1486
|
+
workflowExecutionOptions?: WorkflowExecutionOptions;
|
|
1487
|
+
/**
|
|
1488
|
+
* Controls which fields from `workflow_execution_options` will be applied.
|
|
1489
|
+
* To unset a field, set it to null and use the update mask to indicate that it should be mutated.
|
|
1490
|
+
*
|
|
1491
|
+
* @generated from field: google.protobuf.FieldMask update_mask = 2;
|
|
1492
|
+
*/
|
|
1493
|
+
updateMask?: FieldMask;
|
|
1494
|
+
};
|
|
1495
|
+
/**
|
|
1496
|
+
* Describes the message temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions.
|
|
1497
|
+
* Use `create(PostResetOperation_UpdateWorkflowOptionsSchema)` to create a new message.
|
|
1498
|
+
*/
|
|
1499
|
+
export declare const PostResetOperation_UpdateWorkflowOptionsSchema: GenMessage<PostResetOperation_UpdateWorkflowOptions>;
|
|
1500
|
+
//# sourceMappingURL=message_pb.d.ts.map
|