@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,3136 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { EventType } from "../../enums/v1/event_type_pb.js";
|
|
4
|
+
import type { CancelExternalWorkflowExecutionFailedCause, SignalExternalWorkflowExecutionFailedCause, StartChildWorkflowExecutionFailedCause, WorkflowTaskFailedCause } from "../../enums/v1/failed_cause_pb.js";
|
|
5
|
+
import type { UpdateAdmittedEventOrigin } from "../../enums/v1/update_pb.js";
|
|
6
|
+
import type { ContinueAsNewInitiator, ParentClosePolicy, RetryState, TimeoutType, VersioningBehavior, WorkflowIdReusePolicy } from "../../enums/v1/workflow_pb.js";
|
|
7
|
+
import type { ActivityType, Callback, Header, Link, Memo, MeteringMetadata, Payload, 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 { Meta, Outcome, Request } from "../../update/v1/message_pb.js";
|
|
12
|
+
import type { ResetPoints, VersioningOverride } from "../../workflow/v1/message_pb.js";
|
|
13
|
+
import type { WorkflowTaskCompletedMetadata } from "../../sdk/v1/task_complete_metadata_pb.js";
|
|
14
|
+
import type { UserMetadata } from "../../sdk/v1/user_metadata_pb.js";
|
|
15
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
16
|
+
/**
|
|
17
|
+
* Describes the file temporal/api/history/v1/message.proto.
|
|
18
|
+
*/
|
|
19
|
+
export declare const file_temporal_api_history_v1_message: GenFile;
|
|
20
|
+
/**
|
|
21
|
+
* Always the first event in workflow history
|
|
22
|
+
*
|
|
23
|
+
* @generated from message temporal.api.history.v1.WorkflowExecutionStartedEventAttributes
|
|
24
|
+
*/
|
|
25
|
+
export type WorkflowExecutionStartedEventAttributes = Message<"temporal.api.history.v1.WorkflowExecutionStartedEventAttributes"> & {
|
|
26
|
+
/**
|
|
27
|
+
* @generated from field: temporal.api.common.v1.WorkflowType workflow_type = 1;
|
|
28
|
+
*/
|
|
29
|
+
workflowType?: WorkflowType;
|
|
30
|
+
/**
|
|
31
|
+
* If this workflow is a child, the namespace our parent lives in.
|
|
32
|
+
* SDKs and UI tools should use `parent_workflow_namespace` field but server must use `parent_workflow_namespace_id` only.
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: string parent_workflow_namespace = 2;
|
|
35
|
+
*/
|
|
36
|
+
parentWorkflowNamespace: string;
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: string parent_workflow_namespace_id = 27;
|
|
39
|
+
*/
|
|
40
|
+
parentWorkflowNamespaceId: string;
|
|
41
|
+
/**
|
|
42
|
+
* Contains information about parent workflow execution that initiated the child workflow these attributes belong to.
|
|
43
|
+
* If the workflow these attributes belong to is not a child workflow of any other execution, this field will not be populated.
|
|
44
|
+
*
|
|
45
|
+
* @generated from field: temporal.api.common.v1.WorkflowExecution parent_workflow_execution = 3;
|
|
46
|
+
*/
|
|
47
|
+
parentWorkflowExecution?: WorkflowExecution;
|
|
48
|
+
/**
|
|
49
|
+
* EventID of the child execution initiated event in parent workflow
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: int64 parent_initiated_event_id = 4;
|
|
52
|
+
*/
|
|
53
|
+
parentInitiatedEventId: bigint;
|
|
54
|
+
/**
|
|
55
|
+
* @generated from field: temporal.api.taskqueue.v1.TaskQueue task_queue = 5;
|
|
56
|
+
*/
|
|
57
|
+
taskQueue?: TaskQueue;
|
|
58
|
+
/**
|
|
59
|
+
* SDK will deserialize this and provide it as arguments to the workflow function
|
|
60
|
+
*
|
|
61
|
+
* @generated from field: temporal.api.common.v1.Payloads input = 6;
|
|
62
|
+
*/
|
|
63
|
+
input?: Payloads;
|
|
64
|
+
/**
|
|
65
|
+
* Total workflow execution timeout including retries and continue as new.
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: google.protobuf.Duration workflow_execution_timeout = 7;
|
|
68
|
+
*/
|
|
69
|
+
workflowExecutionTimeout?: Duration;
|
|
70
|
+
/**
|
|
71
|
+
* Timeout of a single workflow run.
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: google.protobuf.Duration workflow_run_timeout = 8;
|
|
74
|
+
*/
|
|
75
|
+
workflowRunTimeout?: Duration;
|
|
76
|
+
/**
|
|
77
|
+
* Timeout of a single workflow task.
|
|
78
|
+
*
|
|
79
|
+
* @generated from field: google.protobuf.Duration workflow_task_timeout = 9;
|
|
80
|
+
*/
|
|
81
|
+
workflowTaskTimeout?: Duration;
|
|
82
|
+
/**
|
|
83
|
+
* Run id of the previous workflow which continued-as-new or retried or cron executed into this
|
|
84
|
+
* workflow.
|
|
85
|
+
*
|
|
86
|
+
* @generated from field: string continued_execution_run_id = 10;
|
|
87
|
+
*/
|
|
88
|
+
continuedExecutionRunId: string;
|
|
89
|
+
/**
|
|
90
|
+
* @generated from field: temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;
|
|
91
|
+
*/
|
|
92
|
+
initiator: ContinueAsNewInitiator;
|
|
93
|
+
/**
|
|
94
|
+
* @generated from field: temporal.api.failure.v1.Failure continued_failure = 12;
|
|
95
|
+
*/
|
|
96
|
+
continuedFailure?: Failure;
|
|
97
|
+
/**
|
|
98
|
+
* @generated from field: temporal.api.common.v1.Payloads last_completion_result = 13;
|
|
99
|
+
*/
|
|
100
|
+
lastCompletionResult?: Payloads;
|
|
101
|
+
/**
|
|
102
|
+
* This is the run id when the WorkflowExecutionStarted event was written.
|
|
103
|
+
* A workflow reset changes the execution run_id, but preserves this field.
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: string original_execution_run_id = 14;
|
|
106
|
+
*/
|
|
107
|
+
originalExecutionRunId: string;
|
|
108
|
+
/**
|
|
109
|
+
* Identity of the client who requested this execution
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: string identity = 15;
|
|
112
|
+
*/
|
|
113
|
+
identity: string;
|
|
114
|
+
/**
|
|
115
|
+
* This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset.
|
|
116
|
+
* Used to identify a chain.
|
|
117
|
+
*
|
|
118
|
+
* @generated from field: string first_execution_run_id = 16;
|
|
119
|
+
*/
|
|
120
|
+
firstExecutionRunId: string;
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: temporal.api.common.v1.RetryPolicy retry_policy = 17;
|
|
123
|
+
*/
|
|
124
|
+
retryPolicy?: RetryPolicy;
|
|
125
|
+
/**
|
|
126
|
+
* Starting at 1, the number of times we have tried to execute this workflow
|
|
127
|
+
*
|
|
128
|
+
* @generated from field: int32 attempt = 18;
|
|
129
|
+
*/
|
|
130
|
+
attempt: number;
|
|
131
|
+
/**
|
|
132
|
+
* The absolute time at which the workflow will be timed out.
|
|
133
|
+
* This is passed without change to the next run/retry of a workflow.
|
|
134
|
+
*
|
|
135
|
+
* @generated from field: google.protobuf.Timestamp workflow_execution_expiration_time = 19;
|
|
136
|
+
*/
|
|
137
|
+
workflowExecutionExpirationTime?: Timestamp;
|
|
138
|
+
/**
|
|
139
|
+
* If this workflow runs on a cron schedule, it will appear here
|
|
140
|
+
*
|
|
141
|
+
* @generated from field: string cron_schedule = 20;
|
|
142
|
+
*/
|
|
143
|
+
cronSchedule: string;
|
|
144
|
+
/**
|
|
145
|
+
* For a cron workflow, this contains the amount of time between when this iteration of
|
|
146
|
+
* the cron workflow was scheduled and when it should run next per its cron_schedule.
|
|
147
|
+
*
|
|
148
|
+
* @generated from field: google.protobuf.Duration first_workflow_task_backoff = 21;
|
|
149
|
+
*/
|
|
150
|
+
firstWorkflowTaskBackoff?: Duration;
|
|
151
|
+
/**
|
|
152
|
+
* @generated from field: temporal.api.common.v1.Memo memo = 22;
|
|
153
|
+
*/
|
|
154
|
+
memo?: Memo;
|
|
155
|
+
/**
|
|
156
|
+
* @generated from field: temporal.api.common.v1.SearchAttributes search_attributes = 23;
|
|
157
|
+
*/
|
|
158
|
+
searchAttributes?: SearchAttributes;
|
|
159
|
+
/**
|
|
160
|
+
* @generated from field: temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;
|
|
161
|
+
*/
|
|
162
|
+
prevAutoResetPoints?: ResetPoints;
|
|
163
|
+
/**
|
|
164
|
+
* @generated from field: temporal.api.common.v1.Header header = 25;
|
|
165
|
+
*/
|
|
166
|
+
header?: Header;
|
|
167
|
+
/**
|
|
168
|
+
* Version of the child execution initiated event in parent workflow
|
|
169
|
+
* It should be used together with parent_initiated_event_id to identify
|
|
170
|
+
* a child initiated event for global namespace
|
|
171
|
+
*
|
|
172
|
+
* @generated from field: int64 parent_initiated_event_version = 26;
|
|
173
|
+
*/
|
|
174
|
+
parentInitiatedEventVersion: bigint;
|
|
175
|
+
/**
|
|
176
|
+
* This field is new in 1.21.
|
|
177
|
+
*
|
|
178
|
+
* @generated from field: string workflow_id = 28;
|
|
179
|
+
*/
|
|
180
|
+
workflowId: string;
|
|
181
|
+
/**
|
|
182
|
+
* If this workflow intends to use anything other than the current overall default version for
|
|
183
|
+
* the queue, then we include it here.
|
|
184
|
+
* Deprecated. [cleanup-experimental-wv]
|
|
185
|
+
*
|
|
186
|
+
* @generated from field: temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29 [deprecated = true];
|
|
187
|
+
* @deprecated
|
|
188
|
+
*/
|
|
189
|
+
sourceVersionStamp?: WorkerVersionStamp;
|
|
190
|
+
/**
|
|
191
|
+
* Completion callbacks attached when this workflow was started.
|
|
192
|
+
*
|
|
193
|
+
* @generated from field: repeated temporal.api.common.v1.Callback completion_callbacks = 30;
|
|
194
|
+
*/
|
|
195
|
+
completionCallbacks: Callback[];
|
|
196
|
+
/**
|
|
197
|
+
* Contains information about the root workflow execution.
|
|
198
|
+
* The root workflow execution is defined as follows:
|
|
199
|
+
* 1. A workflow without parent workflow is its own root workflow.
|
|
200
|
+
* 2. A workflow that has a parent workflow has the same root workflow as its parent workflow.
|
|
201
|
+
* When the workflow is its own root workflow, then root_workflow_execution is nil.
|
|
202
|
+
* Note: workflows continued as new or reseted may or may not have parents, check examples below.
|
|
203
|
+
*
|
|
204
|
+
* Examples:
|
|
205
|
+
* Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3.
|
|
206
|
+
* - The root workflow of all three workflows is W1.
|
|
207
|
+
* - W1 has root_workflow_execution set to nil.
|
|
208
|
+
* - W2 and W3 have root_workflow_execution set to W1.
|
|
209
|
+
* Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3.
|
|
210
|
+
* - The root workflow of all three workflows is W1.
|
|
211
|
+
* - W1 has root_workflow_execution set to nil.
|
|
212
|
+
* - W2 and W3 have root_workflow_execution set to W1.
|
|
213
|
+
* Scenario 3: Workflow W1 continued as new W2.
|
|
214
|
+
* - The root workflow of W1 is W1 and the root workflow of W2 is W2.
|
|
215
|
+
* - W1 and W2 have root_workflow_execution set to nil.
|
|
216
|
+
* Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3
|
|
217
|
+
* - The root workflow of all three workflows is W1.
|
|
218
|
+
* - W1 has root_workflow_execution set to nil.
|
|
219
|
+
* - W2 and W3 have root_workflow_execution set to W1.
|
|
220
|
+
* Scenario 5: Workflow W1 is reseted, creating W2.
|
|
221
|
+
* - The root workflow of W1 is W1 and the root workflow of W2 is W2.
|
|
222
|
+
* - W1 and W2 have root_workflow_execution set to nil.
|
|
223
|
+
*
|
|
224
|
+
* @generated from field: temporal.api.common.v1.WorkflowExecution root_workflow_execution = 31;
|
|
225
|
+
*/
|
|
226
|
+
rootWorkflowExecution?: WorkflowExecution;
|
|
227
|
+
/**
|
|
228
|
+
* When present, this execution is assigned to the build ID of its parent or previous execution.
|
|
229
|
+
* Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
230
|
+
*
|
|
231
|
+
* @generated from field: string inherited_build_id = 32 [deprecated = true];
|
|
232
|
+
* @deprecated
|
|
233
|
+
*/
|
|
234
|
+
inheritedBuildId: string;
|
|
235
|
+
/**
|
|
236
|
+
* Versioning override applied to this workflow when it was started.
|
|
237
|
+
* Children, crons, retries, and continue-as-new will inherit source run's override if pinned
|
|
238
|
+
* and if the new workflow's Task Queue belongs to the override version.
|
|
239
|
+
*
|
|
240
|
+
* @generated from field: temporal.api.workflow.v1.VersioningOverride versioning_override = 33;
|
|
241
|
+
*/
|
|
242
|
+
versioningOverride?: VersioningOverride;
|
|
243
|
+
/**
|
|
244
|
+
* When present, it means this is a child workflow of a parent that is Pinned to this Worker
|
|
245
|
+
* Deployment Version. In this case, child workflow will start as Pinned to this Version instead
|
|
246
|
+
* of starting on the Current Version of its Task Queue.
|
|
247
|
+
* This is set only if the child workflow is starting on a Task Queue belonging to the same
|
|
248
|
+
* Worker Deployment Version.
|
|
249
|
+
* Deprecated. Use `parent_versioning_info`.
|
|
250
|
+
*
|
|
251
|
+
* @generated from field: string parent_pinned_worker_deployment_version = 34 [deprecated = true];
|
|
252
|
+
* @deprecated
|
|
253
|
+
*/
|
|
254
|
+
parentPinnedWorkerDeploymentVersion: string;
|
|
255
|
+
/**
|
|
256
|
+
* Priority metadata
|
|
257
|
+
*
|
|
258
|
+
* @generated from field: temporal.api.common.v1.Priority priority = 35;
|
|
259
|
+
*/
|
|
260
|
+
priority?: Priority;
|
|
261
|
+
/**
|
|
262
|
+
* If present, the new workflow should start on this version with pinned base behavior.
|
|
263
|
+
* Child of pinned parent will inherit the parent's version if the Child's Task Queue belongs to that version.
|
|
264
|
+
*
|
|
265
|
+
* New run initiated by workflow ContinueAsNew of pinned run, will inherit the previous run's version if the
|
|
266
|
+
* new run's Task Queue belongs to that version.
|
|
267
|
+
*
|
|
268
|
+
* New run initiated by workflow Cron will never inherit.
|
|
269
|
+
*
|
|
270
|
+
* New run initiated by workflow Retry will only inherit if the retried run is effectively pinned at the time
|
|
271
|
+
* of retry, and the retried run inherited a pinned version when it started (ie. it is a child of a pinned
|
|
272
|
+
* parent, or a CaN of a pinned run, and is running on a Task Queue in the inherited version).
|
|
273
|
+
*
|
|
274
|
+
* Pinned override is inherited if Task Queue of new run is compatible with the override version.
|
|
275
|
+
* Override is inherited separately and takes precedence over inherited base version.
|
|
276
|
+
*
|
|
277
|
+
* @generated from field: temporal.api.deployment.v1.WorkerDeploymentVersion inherited_pinned_version = 37;
|
|
278
|
+
*/
|
|
279
|
+
inheritedPinnedVersion?: WorkerDeploymentVersion;
|
|
280
|
+
/**
|
|
281
|
+
* A boolean indicating whether the SDK has asked to eagerly execute the first workflow task for this workflow and
|
|
282
|
+
* eager execution was accepted by the server.
|
|
283
|
+
* Only populated by server with version >= 1.29.0.
|
|
284
|
+
*
|
|
285
|
+
* @generated from field: bool eager_execution_accepted = 38;
|
|
286
|
+
*/
|
|
287
|
+
eagerExecutionAccepted: boolean;
|
|
288
|
+
};
|
|
289
|
+
/**
|
|
290
|
+
* Describes the message temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.
|
|
291
|
+
* Use `create(WorkflowExecutionStartedEventAttributesSchema)` to create a new message.
|
|
292
|
+
*/
|
|
293
|
+
export declare const WorkflowExecutionStartedEventAttributesSchema: GenMessage<WorkflowExecutionStartedEventAttributes>;
|
|
294
|
+
/**
|
|
295
|
+
* @generated from message temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes
|
|
296
|
+
*/
|
|
297
|
+
export type WorkflowExecutionCompletedEventAttributes = Message<"temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes"> & {
|
|
298
|
+
/**
|
|
299
|
+
* Serialized result of workflow completion (ie: The return value of the workflow function)
|
|
300
|
+
*
|
|
301
|
+
* @generated from field: temporal.api.common.v1.Payloads result = 1;
|
|
302
|
+
*/
|
|
303
|
+
result?: Payloads;
|
|
304
|
+
/**
|
|
305
|
+
* The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
|
|
306
|
+
*
|
|
307
|
+
* @generated from field: int64 workflow_task_completed_event_id = 2;
|
|
308
|
+
*/
|
|
309
|
+
workflowTaskCompletedEventId: bigint;
|
|
310
|
+
/**
|
|
311
|
+
* If another run is started by cron, this contains the new run id.
|
|
312
|
+
*
|
|
313
|
+
* @generated from field: string new_execution_run_id = 3;
|
|
314
|
+
*/
|
|
315
|
+
newExecutionRunId: string;
|
|
316
|
+
};
|
|
317
|
+
/**
|
|
318
|
+
* Describes the message temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes.
|
|
319
|
+
* Use `create(WorkflowExecutionCompletedEventAttributesSchema)` to create a new message.
|
|
320
|
+
*/
|
|
321
|
+
export declare const WorkflowExecutionCompletedEventAttributesSchema: GenMessage<WorkflowExecutionCompletedEventAttributes>;
|
|
322
|
+
/**
|
|
323
|
+
* @generated from message temporal.api.history.v1.WorkflowExecutionFailedEventAttributes
|
|
324
|
+
*/
|
|
325
|
+
export type WorkflowExecutionFailedEventAttributes = Message<"temporal.api.history.v1.WorkflowExecutionFailedEventAttributes"> & {
|
|
326
|
+
/**
|
|
327
|
+
* Serialized result of workflow failure (ex: An exception thrown, or error returned)
|
|
328
|
+
*
|
|
329
|
+
* @generated from field: temporal.api.failure.v1.Failure failure = 1;
|
|
330
|
+
*/
|
|
331
|
+
failure?: Failure;
|
|
332
|
+
/**
|
|
333
|
+
* @generated from field: temporal.api.enums.v1.RetryState retry_state = 2;
|
|
334
|
+
*/
|
|
335
|
+
retryState: RetryState;
|
|
336
|
+
/**
|
|
337
|
+
* The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
|
|
338
|
+
*
|
|
339
|
+
* @generated from field: int64 workflow_task_completed_event_id = 3;
|
|
340
|
+
*/
|
|
341
|
+
workflowTaskCompletedEventId: bigint;
|
|
342
|
+
/**
|
|
343
|
+
* If another run is started by cron or retry, this contains the new run id.
|
|
344
|
+
*
|
|
345
|
+
* @generated from field: string new_execution_run_id = 4;
|
|
346
|
+
*/
|
|
347
|
+
newExecutionRunId: string;
|
|
348
|
+
};
|
|
349
|
+
/**
|
|
350
|
+
* Describes the message temporal.api.history.v1.WorkflowExecutionFailedEventAttributes.
|
|
351
|
+
* Use `create(WorkflowExecutionFailedEventAttributesSchema)` to create a new message.
|
|
352
|
+
*/
|
|
353
|
+
export declare const WorkflowExecutionFailedEventAttributesSchema: GenMessage<WorkflowExecutionFailedEventAttributes>;
|
|
354
|
+
/**
|
|
355
|
+
* @generated from message temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes
|
|
356
|
+
*/
|
|
357
|
+
export type WorkflowExecutionTimedOutEventAttributes = Message<"temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes"> & {
|
|
358
|
+
/**
|
|
359
|
+
* @generated from field: temporal.api.enums.v1.RetryState retry_state = 1;
|
|
360
|
+
*/
|
|
361
|
+
retryState: RetryState;
|
|
362
|
+
/**
|
|
363
|
+
* If another run is started by cron or retry, this contains the new run id.
|
|
364
|
+
*
|
|
365
|
+
* @generated from field: string new_execution_run_id = 2;
|
|
366
|
+
*/
|
|
367
|
+
newExecutionRunId: string;
|
|
368
|
+
};
|
|
369
|
+
/**
|
|
370
|
+
* Describes the message temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes.
|
|
371
|
+
* Use `create(WorkflowExecutionTimedOutEventAttributesSchema)` to create a new message.
|
|
372
|
+
*/
|
|
373
|
+
export declare const WorkflowExecutionTimedOutEventAttributesSchema: GenMessage<WorkflowExecutionTimedOutEventAttributes>;
|
|
374
|
+
/**
|
|
375
|
+
* @generated from message temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes
|
|
376
|
+
*/
|
|
377
|
+
export type WorkflowExecutionContinuedAsNewEventAttributes = Message<"temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes"> & {
|
|
378
|
+
/**
|
|
379
|
+
* The run ID of the new workflow started by this continue-as-new
|
|
380
|
+
*
|
|
381
|
+
* @generated from field: string new_execution_run_id = 1;
|
|
382
|
+
*/
|
|
383
|
+
newExecutionRunId: string;
|
|
384
|
+
/**
|
|
385
|
+
* @generated from field: temporal.api.common.v1.WorkflowType workflow_type = 2;
|
|
386
|
+
*/
|
|
387
|
+
workflowType?: WorkflowType;
|
|
388
|
+
/**
|
|
389
|
+
* @generated from field: temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
|
|
390
|
+
*/
|
|
391
|
+
taskQueue?: TaskQueue;
|
|
392
|
+
/**
|
|
393
|
+
* @generated from field: temporal.api.common.v1.Payloads input = 4;
|
|
394
|
+
*/
|
|
395
|
+
input?: Payloads;
|
|
396
|
+
/**
|
|
397
|
+
* Timeout of a single workflow run.
|
|
398
|
+
*
|
|
399
|
+
* @generated from field: google.protobuf.Duration workflow_run_timeout = 5;
|
|
400
|
+
*/
|
|
401
|
+
workflowRunTimeout?: Duration;
|
|
402
|
+
/**
|
|
403
|
+
* Timeout of a single workflow task.
|
|
404
|
+
*
|
|
405
|
+
* @generated from field: google.protobuf.Duration workflow_task_timeout = 6;
|
|
406
|
+
*/
|
|
407
|
+
workflowTaskTimeout?: Duration;
|
|
408
|
+
/**
|
|
409
|
+
* The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
|
|
410
|
+
*
|
|
411
|
+
* @generated from field: int64 workflow_task_completed_event_id = 7;
|
|
412
|
+
*/
|
|
413
|
+
workflowTaskCompletedEventId: bigint;
|
|
414
|
+
/**
|
|
415
|
+
* How long the server will wait before scheduling the first workflow task for the new run.
|
|
416
|
+
* Used for cron, retry, and other continue-as-new cases that server may enforce some minimal
|
|
417
|
+
* delay between new runs for system protection purpose.
|
|
418
|
+
*
|
|
419
|
+
* @generated from field: google.protobuf.Duration backoff_start_interval = 8;
|
|
420
|
+
*/
|
|
421
|
+
backoffStartInterval?: Duration;
|
|
422
|
+
/**
|
|
423
|
+
* @generated from field: temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;
|
|
424
|
+
*/
|
|
425
|
+
initiator: ContinueAsNewInitiator;
|
|
426
|
+
/**
|
|
427
|
+
* Deprecated. If a workflow's retry policy would cause a new run to start when the current one
|
|
428
|
+
* has failed, this field would be populated with that failure. Now (when supported by server
|
|
429
|
+
* and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
|
|
430
|
+
*
|
|
431
|
+
* @generated from field: temporal.api.failure.v1.Failure failure = 10 [deprecated = true];
|
|
432
|
+
* @deprecated
|
|
433
|
+
*/
|
|
434
|
+
failure?: Failure;
|
|
435
|
+
/**
|
|
436
|
+
* The result from the most recent completed run of this workflow. The SDK surfaces this to the
|
|
437
|
+
* new run via APIs such as `GetLastCompletionResult`.
|
|
438
|
+
*
|
|
439
|
+
* @generated from field: temporal.api.common.v1.Payloads last_completion_result = 11;
|
|
440
|
+
*/
|
|
441
|
+
lastCompletionResult?: Payloads;
|
|
442
|
+
/**
|
|
443
|
+
* @generated from field: temporal.api.common.v1.Header header = 12;
|
|
444
|
+
*/
|
|
445
|
+
header?: Header;
|
|
446
|
+
/**
|
|
447
|
+
* @generated from field: temporal.api.common.v1.Memo memo = 13;
|
|
448
|
+
*/
|
|
449
|
+
memo?: Memo;
|
|
450
|
+
/**
|
|
451
|
+
* @generated from field: temporal.api.common.v1.SearchAttributes search_attributes = 14;
|
|
452
|
+
*/
|
|
453
|
+
searchAttributes?: SearchAttributes;
|
|
454
|
+
/**
|
|
455
|
+
* If this is set, the new execution inherits the Build ID of the current execution. Otherwise,
|
|
456
|
+
* the assignment rules will be used to independently assign a Build ID to the new execution.
|
|
457
|
+
* Deprecated. Only considered for versioning v0.2.
|
|
458
|
+
*
|
|
459
|
+
* @generated from field: bool inherit_build_id = 15 [deprecated = true];
|
|
460
|
+
* @deprecated
|
|
461
|
+
*/
|
|
462
|
+
inheritBuildId: boolean;
|
|
463
|
+
};
|
|
464
|
+
/**
|
|
465
|
+
* Describes the message temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.
|
|
466
|
+
* Use `create(WorkflowExecutionContinuedAsNewEventAttributesSchema)` to create a new message.
|
|
467
|
+
*/
|
|
468
|
+
export declare const WorkflowExecutionContinuedAsNewEventAttributesSchema: GenMessage<WorkflowExecutionContinuedAsNewEventAttributes>;
|
|
469
|
+
/**
|
|
470
|
+
* @generated from message temporal.api.history.v1.WorkflowTaskScheduledEventAttributes
|
|
471
|
+
*/
|
|
472
|
+
export type WorkflowTaskScheduledEventAttributes = Message<"temporal.api.history.v1.WorkflowTaskScheduledEventAttributes"> & {
|
|
473
|
+
/**
|
|
474
|
+
* The task queue this workflow task was enqueued in, which could be a normal or sticky queue
|
|
475
|
+
*
|
|
476
|
+
* @generated from field: temporal.api.taskqueue.v1.TaskQueue task_queue = 1;
|
|
477
|
+
*/
|
|
478
|
+
taskQueue?: TaskQueue;
|
|
479
|
+
/**
|
|
480
|
+
* How long the worker has to process this task once receiving it before it times out
|
|
481
|
+
*
|
|
482
|
+
* (-- api-linter: core::0140::prepositions=disabled
|
|
483
|
+
* aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
484
|
+
*
|
|
485
|
+
* @generated from field: google.protobuf.Duration start_to_close_timeout = 2;
|
|
486
|
+
*/
|
|
487
|
+
startToCloseTimeout?: Duration;
|
|
488
|
+
/**
|
|
489
|
+
* Starting at 1, how many attempts there have been to complete this task
|
|
490
|
+
*
|
|
491
|
+
* @generated from field: int32 attempt = 3;
|
|
492
|
+
*/
|
|
493
|
+
attempt: number;
|
|
494
|
+
};
|
|
495
|
+
/**
|
|
496
|
+
* Describes the message temporal.api.history.v1.WorkflowTaskScheduledEventAttributes.
|
|
497
|
+
* Use `create(WorkflowTaskScheduledEventAttributesSchema)` to create a new message.
|
|
498
|
+
*/
|
|
499
|
+
export declare const WorkflowTaskScheduledEventAttributesSchema: GenMessage<WorkflowTaskScheduledEventAttributes>;
|
|
500
|
+
/**
|
|
501
|
+
* @generated from message temporal.api.history.v1.WorkflowTaskStartedEventAttributes
|
|
502
|
+
*/
|
|
503
|
+
export type WorkflowTaskStartedEventAttributes = Message<"temporal.api.history.v1.WorkflowTaskStartedEventAttributes"> & {
|
|
504
|
+
/**
|
|
505
|
+
* The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
|
|
506
|
+
*
|
|
507
|
+
* @generated from field: int64 scheduled_event_id = 1;
|
|
508
|
+
*/
|
|
509
|
+
scheduledEventId: bigint;
|
|
510
|
+
/**
|
|
511
|
+
* Identity of the worker who picked up this task
|
|
512
|
+
*
|
|
513
|
+
* @generated from field: string identity = 2;
|
|
514
|
+
*/
|
|
515
|
+
identity: string;
|
|
516
|
+
/**
|
|
517
|
+
* This field is populated from the RecordWorkflowTaskStartedRequest. Matching service would
|
|
518
|
+
* set the request_id on the RecordWorkflowTaskStartedRequest to a new UUID. This is useful
|
|
519
|
+
* in case a RecordWorkflowTaskStarted call succeed but matching doesn't get that response,
|
|
520
|
+
* so matching could retry and history service would return success if the request_id matches.
|
|
521
|
+
* In that case, matching will continue to deliver the task to worker. Without this field, history
|
|
522
|
+
* service would return AlreadyStarted error, and matching would drop the task.
|
|
523
|
+
*
|
|
524
|
+
* @generated from field: string request_id = 3;
|
|
525
|
+
*/
|
|
526
|
+
requestId: string;
|
|
527
|
+
/**
|
|
528
|
+
* True if this workflow should continue-as-new soon because its history size (in
|
|
529
|
+
* either event count or bytes) is getting large.
|
|
530
|
+
*
|
|
531
|
+
* @generated from field: bool suggest_continue_as_new = 4;
|
|
532
|
+
*/
|
|
533
|
+
suggestContinueAsNew: boolean;
|
|
534
|
+
/**
|
|
535
|
+
* Total history size in bytes, which the workflow might use to decide when to
|
|
536
|
+
* continue-as-new regardless of the suggestion. Note that history event count is
|
|
537
|
+
* just the event id of this event, so we don't include it explicitly here.
|
|
538
|
+
*
|
|
539
|
+
* @generated from field: int64 history_size_bytes = 5;
|
|
540
|
+
*/
|
|
541
|
+
historySizeBytes: bigint;
|
|
542
|
+
/**
|
|
543
|
+
* Version info of the worker to whom this task was dispatched.
|
|
544
|
+
* Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
545
|
+
*
|
|
546
|
+
* @generated from field: temporal.api.common.v1.WorkerVersionStamp worker_version = 6 [deprecated = true];
|
|
547
|
+
* @deprecated
|
|
548
|
+
*/
|
|
549
|
+
workerVersion?: WorkerVersionStamp;
|
|
550
|
+
/**
|
|
551
|
+
* Used by server internally to properly reapply build ID redirects to an execution
|
|
552
|
+
* when rebuilding it from events.
|
|
553
|
+
* Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
554
|
+
*
|
|
555
|
+
* @generated from field: int64 build_id_redirect_counter = 7 [deprecated = true];
|
|
556
|
+
* @deprecated
|
|
557
|
+
*/
|
|
558
|
+
buildIdRedirectCounter: bigint;
|
|
559
|
+
};
|
|
560
|
+
/**
|
|
561
|
+
* Describes the message temporal.api.history.v1.WorkflowTaskStartedEventAttributes.
|
|
562
|
+
* Use `create(WorkflowTaskStartedEventAttributesSchema)` to create a new message.
|
|
563
|
+
*/
|
|
564
|
+
export declare const WorkflowTaskStartedEventAttributesSchema: GenMessage<WorkflowTaskStartedEventAttributes>;
|
|
565
|
+
/**
|
|
566
|
+
* @generated from message temporal.api.history.v1.WorkflowTaskCompletedEventAttributes
|
|
567
|
+
*/
|
|
568
|
+
export type WorkflowTaskCompletedEventAttributes = Message<"temporal.api.history.v1.WorkflowTaskCompletedEventAttributes"> & {
|
|
569
|
+
/**
|
|
570
|
+
* The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
|
|
571
|
+
*
|
|
572
|
+
* @generated from field: int64 scheduled_event_id = 1;
|
|
573
|
+
*/
|
|
574
|
+
scheduledEventId: bigint;
|
|
575
|
+
/**
|
|
576
|
+
* The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
|
|
577
|
+
*
|
|
578
|
+
* @generated from field: int64 started_event_id = 2;
|
|
579
|
+
*/
|
|
580
|
+
startedEventId: bigint;
|
|
581
|
+
/**
|
|
582
|
+
* Identity of the worker who completed this task
|
|
583
|
+
*
|
|
584
|
+
* @generated from field: string identity = 3;
|
|
585
|
+
*/
|
|
586
|
+
identity: string;
|
|
587
|
+
/**
|
|
588
|
+
* Binary ID of the worker who completed this task
|
|
589
|
+
* Deprecated. Replaced with `deployment_version`.
|
|
590
|
+
*
|
|
591
|
+
* @generated from field: string binary_checksum = 4 [deprecated = true];
|
|
592
|
+
* @deprecated
|
|
593
|
+
*/
|
|
594
|
+
binaryChecksum: string;
|
|
595
|
+
/**
|
|
596
|
+
* Version info of the worker who processed this workflow task. If present, the `build_id` field
|
|
597
|
+
* within is also used as `binary_checksum`, which may be omitted in that case (it may also be
|
|
598
|
+
* populated to preserve compatibility).
|
|
599
|
+
* Deprecated. Use `deployment_version` and `versioning_behavior` instead.
|
|
600
|
+
*
|
|
601
|
+
* @generated from field: temporal.api.common.v1.WorkerVersionStamp worker_version = 5 [deprecated = true];
|
|
602
|
+
* @deprecated
|
|
603
|
+
*/
|
|
604
|
+
workerVersion?: WorkerVersionStamp;
|
|
605
|
+
/**
|
|
606
|
+
* Data the SDK wishes to record for itself, but server need not interpret, and does not
|
|
607
|
+
* directly impact workflow state.
|
|
608
|
+
*
|
|
609
|
+
* @generated from field: temporal.api.sdk.v1.WorkflowTaskCompletedMetadata sdk_metadata = 6;
|
|
610
|
+
*/
|
|
611
|
+
sdkMetadata?: WorkflowTaskCompletedMetadata;
|
|
612
|
+
/**
|
|
613
|
+
* Local usage data sent during workflow task completion and recorded here for posterity
|
|
614
|
+
*
|
|
615
|
+
* @generated from field: temporal.api.common.v1.MeteringMetadata metering_metadata = 13;
|
|
616
|
+
*/
|
|
617
|
+
meteringMetadata?: MeteringMetadata;
|
|
618
|
+
/**
|
|
619
|
+
* The deployment that completed this task. May or may not be set for unversioned workers,
|
|
620
|
+
* depending on whether a value is sent by the SDK. This value updates workflow execution's
|
|
621
|
+
* `versioning_info.deployment`.
|
|
622
|
+
* Deprecated. Replaced with `deployment_version`.
|
|
623
|
+
*
|
|
624
|
+
* @generated from field: temporal.api.deployment.v1.Deployment deployment = 7 [deprecated = true];
|
|
625
|
+
* @deprecated
|
|
626
|
+
*/
|
|
627
|
+
deployment?: Deployment;
|
|
628
|
+
/**
|
|
629
|
+
* Versioning behavior sent by the worker that completed this task for this particular workflow
|
|
630
|
+
* execution. UNSPECIFIED means the task was completed by an unversioned worker. This value
|
|
631
|
+
* updates workflow execution's `versioning_info.behavior`.
|
|
632
|
+
*
|
|
633
|
+
* @generated from field: temporal.api.enums.v1.VersioningBehavior versioning_behavior = 8;
|
|
634
|
+
*/
|
|
635
|
+
versioningBehavior: VersioningBehavior;
|
|
636
|
+
/**
|
|
637
|
+
* The Worker Deployment Version that completed this task. Must be set if `versioning_behavior`
|
|
638
|
+
* is set. This value updates workflow execution's `versioning_info.version`.
|
|
639
|
+
* Experimental. Worker Deployments are experimental and might significantly change in the future.
|
|
640
|
+
* Deprecated. Replaced with `deployment_version`.
|
|
641
|
+
*
|
|
642
|
+
* @generated from field: string worker_deployment_version = 9 [deprecated = true];
|
|
643
|
+
* @deprecated
|
|
644
|
+
*/
|
|
645
|
+
workerDeploymentVersion: string;
|
|
646
|
+
/**
|
|
647
|
+
* The name of Worker Deployment that completed this task. Must be set if `versioning_behavior`
|
|
648
|
+
* is set. This value updates workflow execution's `worker_deployment_name`.
|
|
649
|
+
* Experimental. Worker Deployments are experimental and might significantly change in the future.
|
|
650
|
+
*
|
|
651
|
+
* @generated from field: string worker_deployment_name = 10;
|
|
652
|
+
*/
|
|
653
|
+
workerDeploymentName: string;
|
|
654
|
+
/**
|
|
655
|
+
* The Worker Deployment Version that completed this task. Must be set if `versioning_behavior`
|
|
656
|
+
* is set. This value updates workflow execution's `versioning_info.deployment_version`.
|
|
657
|
+
* Experimental. Worker Deployments are experimental and might significantly change in the future.
|
|
658
|
+
*
|
|
659
|
+
* @generated from field: temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 11;
|
|
660
|
+
*/
|
|
661
|
+
deploymentVersion?: WorkerDeploymentVersion;
|
|
662
|
+
};
|
|
663
|
+
/**
|
|
664
|
+
* Describes the message temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.
|
|
665
|
+
* Use `create(WorkflowTaskCompletedEventAttributesSchema)` to create a new message.
|
|
666
|
+
*/
|
|
667
|
+
export declare const WorkflowTaskCompletedEventAttributesSchema: GenMessage<WorkflowTaskCompletedEventAttributes>;
|
|
668
|
+
/**
|
|
669
|
+
* @generated from message temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes
|
|
670
|
+
*/
|
|
671
|
+
export type WorkflowTaskTimedOutEventAttributes = Message<"temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes"> & {
|
|
672
|
+
/**
|
|
673
|
+
* The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
|
|
674
|
+
*
|
|
675
|
+
* @generated from field: int64 scheduled_event_id = 1;
|
|
676
|
+
*/
|
|
677
|
+
scheduledEventId: bigint;
|
|
678
|
+
/**
|
|
679
|
+
* The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
|
|
680
|
+
*
|
|
681
|
+
* @generated from field: int64 started_event_id = 2;
|
|
682
|
+
*/
|
|
683
|
+
startedEventId: bigint;
|
|
684
|
+
/**
|
|
685
|
+
* @generated from field: temporal.api.enums.v1.TimeoutType timeout_type = 3;
|
|
686
|
+
*/
|
|
687
|
+
timeoutType: TimeoutType;
|
|
688
|
+
};
|
|
689
|
+
/**
|
|
690
|
+
* Describes the message temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes.
|
|
691
|
+
* Use `create(WorkflowTaskTimedOutEventAttributesSchema)` to create a new message.
|
|
692
|
+
*/
|
|
693
|
+
export declare const WorkflowTaskTimedOutEventAttributesSchema: GenMessage<WorkflowTaskTimedOutEventAttributes>;
|
|
694
|
+
/**
|
|
695
|
+
* @generated from message temporal.api.history.v1.WorkflowTaskFailedEventAttributes
|
|
696
|
+
*/
|
|
697
|
+
export type WorkflowTaskFailedEventAttributes = Message<"temporal.api.history.v1.WorkflowTaskFailedEventAttributes"> & {
|
|
698
|
+
/**
|
|
699
|
+
* The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
|
|
700
|
+
*
|
|
701
|
+
* @generated from field: int64 scheduled_event_id = 1;
|
|
702
|
+
*/
|
|
703
|
+
scheduledEventId: bigint;
|
|
704
|
+
/**
|
|
705
|
+
* The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
|
|
706
|
+
*
|
|
707
|
+
* @generated from field: int64 started_event_id = 2;
|
|
708
|
+
*/
|
|
709
|
+
startedEventId: bigint;
|
|
710
|
+
/**
|
|
711
|
+
* @generated from field: temporal.api.enums.v1.WorkflowTaskFailedCause cause = 3;
|
|
712
|
+
*/
|
|
713
|
+
cause: WorkflowTaskFailedCause;
|
|
714
|
+
/**
|
|
715
|
+
* The failure details
|
|
716
|
+
*
|
|
717
|
+
* @generated from field: temporal.api.failure.v1.Failure failure = 4;
|
|
718
|
+
*/
|
|
719
|
+
failure?: Failure;
|
|
720
|
+
/**
|
|
721
|
+
* If a worker explicitly failed this task, this field contains the worker's identity.
|
|
722
|
+
* When the server generates the failure internally this field is set as 'history-service'.
|
|
723
|
+
*
|
|
724
|
+
* @generated from field: string identity = 5;
|
|
725
|
+
*/
|
|
726
|
+
identity: string;
|
|
727
|
+
/**
|
|
728
|
+
* The original run id of the workflow. For reset workflow.
|
|
729
|
+
*
|
|
730
|
+
* @generated from field: string base_run_id = 6;
|
|
731
|
+
*/
|
|
732
|
+
baseRunId: string;
|
|
733
|
+
/**
|
|
734
|
+
* If the workflow is being reset, the new run id.
|
|
735
|
+
*
|
|
736
|
+
* @generated from field: string new_run_id = 7;
|
|
737
|
+
*/
|
|
738
|
+
newRunId: string;
|
|
739
|
+
/**
|
|
740
|
+
* Version of the event where the history branch was forked. Used by multi-cluster replication
|
|
741
|
+
* during resets to identify the correct history branch.
|
|
742
|
+
*
|
|
743
|
+
* @generated from field: int64 fork_event_version = 8;
|
|
744
|
+
*/
|
|
745
|
+
forkEventVersion: bigint;
|
|
746
|
+
/**
|
|
747
|
+
* Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
748
|
+
* If a worker explicitly failed this task, its binary id
|
|
749
|
+
*
|
|
750
|
+
* @generated from field: string binary_checksum = 9 [deprecated = true];
|
|
751
|
+
* @deprecated
|
|
752
|
+
*/
|
|
753
|
+
binaryChecksum: string;
|
|
754
|
+
/**
|
|
755
|
+
* Version info of the worker who processed this workflow task. If present, the `build_id` field
|
|
756
|
+
* within is also used as `binary_checksum`, which may be omitted in that case (it may also be
|
|
757
|
+
* populated to preserve compatibility).
|
|
758
|
+
* Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
759
|
+
*
|
|
760
|
+
* @generated from field: temporal.api.common.v1.WorkerVersionStamp worker_version = 10 [deprecated = true];
|
|
761
|
+
* @deprecated
|
|
762
|
+
*/
|
|
763
|
+
workerVersion?: WorkerVersionStamp;
|
|
764
|
+
};
|
|
765
|
+
/**
|
|
766
|
+
* Describes the message temporal.api.history.v1.WorkflowTaskFailedEventAttributes.
|
|
767
|
+
* Use `create(WorkflowTaskFailedEventAttributesSchema)` to create a new message.
|
|
768
|
+
*/
|
|
769
|
+
export declare const WorkflowTaskFailedEventAttributesSchema: GenMessage<WorkflowTaskFailedEventAttributes>;
|
|
770
|
+
/**
|
|
771
|
+
* @generated from message temporal.api.history.v1.ActivityTaskScheduledEventAttributes
|
|
772
|
+
*/
|
|
773
|
+
export type ActivityTaskScheduledEventAttributes = Message<"temporal.api.history.v1.ActivityTaskScheduledEventAttributes"> & {
|
|
774
|
+
/**
|
|
775
|
+
* The worker/user assigned identifier for the activity
|
|
776
|
+
*
|
|
777
|
+
* @generated from field: string activity_id = 1;
|
|
778
|
+
*/
|
|
779
|
+
activityId: string;
|
|
780
|
+
/**
|
|
781
|
+
* @generated from field: temporal.api.common.v1.ActivityType activity_type = 2;
|
|
782
|
+
*/
|
|
783
|
+
activityType?: ActivityType;
|
|
784
|
+
/**
|
|
785
|
+
* @generated from field: temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
|
|
786
|
+
*/
|
|
787
|
+
taskQueue?: TaskQueue;
|
|
788
|
+
/**
|
|
789
|
+
* @generated from field: temporal.api.common.v1.Header header = 5;
|
|
790
|
+
*/
|
|
791
|
+
header?: Header;
|
|
792
|
+
/**
|
|
793
|
+
* @generated from field: temporal.api.common.v1.Payloads input = 6;
|
|
794
|
+
*/
|
|
795
|
+
input?: Payloads;
|
|
796
|
+
/**
|
|
797
|
+
* Indicates how long the caller is willing to wait for an activity completion. Limits how long
|
|
798
|
+
* retries will be attempted. Either this or `start_to_close_timeout` must be specified.
|
|
799
|
+
*
|
|
800
|
+
* (-- api-linter: core::0140::prepositions=disabled
|
|
801
|
+
* aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
802
|
+
*
|
|
803
|
+
* @generated from field: google.protobuf.Duration schedule_to_close_timeout = 7;
|
|
804
|
+
*/
|
|
805
|
+
scheduleToCloseTimeout?: Duration;
|
|
806
|
+
/**
|
|
807
|
+
* Limits time an activity task can stay in a task queue before a worker picks it up. This
|
|
808
|
+
* timeout is always non retryable, as all a retry would achieve is to put it back into the same
|
|
809
|
+
* queue. Defaults to `schedule_to_close_timeout` or workflow execution timeout if not
|
|
810
|
+
* specified.
|
|
811
|
+
*
|
|
812
|
+
* (-- api-linter: core::0140::prepositions=disabled
|
|
813
|
+
* aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
814
|
+
*
|
|
815
|
+
* @generated from field: google.protobuf.Duration schedule_to_start_timeout = 8;
|
|
816
|
+
*/
|
|
817
|
+
scheduleToStartTimeout?: Duration;
|
|
818
|
+
/**
|
|
819
|
+
* Maximum time an activity is allowed to execute after being picked up by a worker. This
|
|
820
|
+
* timeout is always retryable. Either this or `schedule_to_close_timeout` must be
|
|
821
|
+
* specified.
|
|
822
|
+
*
|
|
823
|
+
* (-- api-linter: core::0140::prepositions=disabled
|
|
824
|
+
* aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
825
|
+
*
|
|
826
|
+
* @generated from field: google.protobuf.Duration start_to_close_timeout = 9;
|
|
827
|
+
*/
|
|
828
|
+
startToCloseTimeout?: Duration;
|
|
829
|
+
/**
|
|
830
|
+
* Maximum permitted time between successful worker heartbeats.
|
|
831
|
+
*
|
|
832
|
+
* @generated from field: google.protobuf.Duration heartbeat_timeout = 10;
|
|
833
|
+
*/
|
|
834
|
+
heartbeatTimeout?: Duration;
|
|
835
|
+
/**
|
|
836
|
+
* The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
|
|
837
|
+
*
|
|
838
|
+
* @generated from field: int64 workflow_task_completed_event_id = 11;
|
|
839
|
+
*/
|
|
840
|
+
workflowTaskCompletedEventId: bigint;
|
|
841
|
+
/**
|
|
842
|
+
* Activities are assigned a default retry policy controlled by the service's dynamic
|
|
843
|
+
* configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set
|
|
844
|
+
* retry_policy.maximum_attempts to 1.
|
|
845
|
+
*
|
|
846
|
+
* @generated from field: temporal.api.common.v1.RetryPolicy retry_policy = 12;
|
|
847
|
+
*/
|
|
848
|
+
retryPolicy?: RetryPolicy;
|
|
849
|
+
/**
|
|
850
|
+
* If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise,
|
|
851
|
+
* Assignment rules of the activity's Task Queue will be used to determine the Build ID.
|
|
852
|
+
* Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
853
|
+
*
|
|
854
|
+
* @generated from field: bool use_workflow_build_id = 13 [deprecated = true];
|
|
855
|
+
* @deprecated
|
|
856
|
+
*/
|
|
857
|
+
useWorkflowBuildId: boolean;
|
|
858
|
+
/**
|
|
859
|
+
* Priority metadata. If this message is not present, or any fields are not
|
|
860
|
+
* present, they inherit the values from the workflow.
|
|
861
|
+
*
|
|
862
|
+
* @generated from field: temporal.api.common.v1.Priority priority = 14;
|
|
863
|
+
*/
|
|
864
|
+
priority?: Priority;
|
|
865
|
+
};
|
|
866
|
+
/**
|
|
867
|
+
* Describes the message temporal.api.history.v1.ActivityTaskScheduledEventAttributes.
|
|
868
|
+
* Use `create(ActivityTaskScheduledEventAttributesSchema)` to create a new message.
|
|
869
|
+
*/
|
|
870
|
+
export declare const ActivityTaskScheduledEventAttributesSchema: GenMessage<ActivityTaskScheduledEventAttributes>;
|
|
871
|
+
/**
|
|
872
|
+
* @generated from message temporal.api.history.v1.ActivityTaskStartedEventAttributes
|
|
873
|
+
*/
|
|
874
|
+
export type ActivityTaskStartedEventAttributes = Message<"temporal.api.history.v1.ActivityTaskStartedEventAttributes"> & {
|
|
875
|
+
/**
|
|
876
|
+
* The id of the `ACTIVITY_TASK_SCHEDULED` event this task corresponds to
|
|
877
|
+
*
|
|
878
|
+
* @generated from field: int64 scheduled_event_id = 1;
|
|
879
|
+
*/
|
|
880
|
+
scheduledEventId: bigint;
|
|
881
|
+
/**
|
|
882
|
+
* id of the worker that picked up this task
|
|
883
|
+
*
|
|
884
|
+
* @generated from field: string identity = 2;
|
|
885
|
+
*/
|
|
886
|
+
identity: string;
|
|
887
|
+
/**
|
|
888
|
+
* This field is populated from the RecordActivityTaskStartedRequest. Matching service would
|
|
889
|
+
* set the request_id on the RecordActivityTaskStartedRequest to a new UUID. This is useful
|
|
890
|
+
* in case a RecordActivityTaskStarted call succeed but matching doesn't get that response,
|
|
891
|
+
* so matching could retry and history service would return success if the request_id matches.
|
|
892
|
+
* In that case, matching will continue to deliver the task to worker. Without this field, history
|
|
893
|
+
* service would return AlreadyStarted error, and matching would drop the task.
|
|
894
|
+
*
|
|
895
|
+
* @generated from field: string request_id = 3;
|
|
896
|
+
*/
|
|
897
|
+
requestId: string;
|
|
898
|
+
/**
|
|
899
|
+
* Starting at 1, the number of times this task has been attempted
|
|
900
|
+
*
|
|
901
|
+
* @generated from field: int32 attempt = 4;
|
|
902
|
+
*/
|
|
903
|
+
attempt: number;
|
|
904
|
+
/**
|
|
905
|
+
* Will be set to the most recent failure details, if this task has previously failed and then
|
|
906
|
+
* been retried.
|
|
907
|
+
*
|
|
908
|
+
* @generated from field: temporal.api.failure.v1.Failure last_failure = 5;
|
|
909
|
+
*/
|
|
910
|
+
lastFailure?: Failure;
|
|
911
|
+
/**
|
|
912
|
+
* Version info of the worker to whom this task was dispatched.
|
|
913
|
+
* Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
914
|
+
*
|
|
915
|
+
* @generated from field: temporal.api.common.v1.WorkerVersionStamp worker_version = 6 [deprecated = true];
|
|
916
|
+
* @deprecated
|
|
917
|
+
*/
|
|
918
|
+
workerVersion?: WorkerVersionStamp;
|
|
919
|
+
/**
|
|
920
|
+
* Used by server internally to properly reapply build ID redirects to an execution
|
|
921
|
+
* when rebuilding it from events.
|
|
922
|
+
* Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
923
|
+
*
|
|
924
|
+
* @generated from field: int64 build_id_redirect_counter = 7 [deprecated = true];
|
|
925
|
+
* @deprecated
|
|
926
|
+
*/
|
|
927
|
+
buildIdRedirectCounter: bigint;
|
|
928
|
+
};
|
|
929
|
+
/**
|
|
930
|
+
* Describes the message temporal.api.history.v1.ActivityTaskStartedEventAttributes.
|
|
931
|
+
* Use `create(ActivityTaskStartedEventAttributesSchema)` to create a new message.
|
|
932
|
+
*/
|
|
933
|
+
export declare const ActivityTaskStartedEventAttributesSchema: GenMessage<ActivityTaskStartedEventAttributes>;
|
|
934
|
+
/**
|
|
935
|
+
* @generated from message temporal.api.history.v1.ActivityTaskCompletedEventAttributes
|
|
936
|
+
*/
|
|
937
|
+
export type ActivityTaskCompletedEventAttributes = Message<"temporal.api.history.v1.ActivityTaskCompletedEventAttributes"> & {
|
|
938
|
+
/**
|
|
939
|
+
* Serialized results of the activity. IE: The return value of the activity function
|
|
940
|
+
*
|
|
941
|
+
* @generated from field: temporal.api.common.v1.Payloads result = 1;
|
|
942
|
+
*/
|
|
943
|
+
result?: Payloads;
|
|
944
|
+
/**
|
|
945
|
+
* The id of the `ACTIVITY_TASK_SCHEDULED` event this completion corresponds to
|
|
946
|
+
*
|
|
947
|
+
* @generated from field: int64 scheduled_event_id = 2;
|
|
948
|
+
*/
|
|
949
|
+
scheduledEventId: bigint;
|
|
950
|
+
/**
|
|
951
|
+
* The id of the `ACTIVITY_TASK_STARTED` event this completion corresponds to
|
|
952
|
+
*
|
|
953
|
+
* @generated from field: int64 started_event_id = 3;
|
|
954
|
+
*/
|
|
955
|
+
startedEventId: bigint;
|
|
956
|
+
/**
|
|
957
|
+
* id of the worker that completed this task
|
|
958
|
+
*
|
|
959
|
+
* @generated from field: string identity = 4;
|
|
960
|
+
*/
|
|
961
|
+
identity: string;
|
|
962
|
+
/**
|
|
963
|
+
* Version info of the worker who processed this workflow task.
|
|
964
|
+
* Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
965
|
+
*
|
|
966
|
+
* @generated from field: temporal.api.common.v1.WorkerVersionStamp worker_version = 5 [deprecated = true];
|
|
967
|
+
* @deprecated
|
|
968
|
+
*/
|
|
969
|
+
workerVersion?: WorkerVersionStamp;
|
|
970
|
+
};
|
|
971
|
+
/**
|
|
972
|
+
* Describes the message temporal.api.history.v1.ActivityTaskCompletedEventAttributes.
|
|
973
|
+
* Use `create(ActivityTaskCompletedEventAttributesSchema)` to create a new message.
|
|
974
|
+
*/
|
|
975
|
+
export declare const ActivityTaskCompletedEventAttributesSchema: GenMessage<ActivityTaskCompletedEventAttributes>;
|
|
976
|
+
/**
|
|
977
|
+
* @generated from message temporal.api.history.v1.ActivityTaskFailedEventAttributes
|
|
978
|
+
*/
|
|
979
|
+
export type ActivityTaskFailedEventAttributes = Message<"temporal.api.history.v1.ActivityTaskFailedEventAttributes"> & {
|
|
980
|
+
/**
|
|
981
|
+
* Failure details
|
|
982
|
+
*
|
|
983
|
+
* @generated from field: temporal.api.failure.v1.Failure failure = 1;
|
|
984
|
+
*/
|
|
985
|
+
failure?: Failure;
|
|
986
|
+
/**
|
|
987
|
+
* The id of the `ACTIVITY_TASK_SCHEDULED` event this failure corresponds to
|
|
988
|
+
*
|
|
989
|
+
* @generated from field: int64 scheduled_event_id = 2;
|
|
990
|
+
*/
|
|
991
|
+
scheduledEventId: bigint;
|
|
992
|
+
/**
|
|
993
|
+
* The id of the `ACTIVITY_TASK_STARTED` event this failure corresponds to
|
|
994
|
+
*
|
|
995
|
+
* @generated from field: int64 started_event_id = 3;
|
|
996
|
+
*/
|
|
997
|
+
startedEventId: bigint;
|
|
998
|
+
/**
|
|
999
|
+
* id of the worker that failed this task
|
|
1000
|
+
*
|
|
1001
|
+
* @generated from field: string identity = 4;
|
|
1002
|
+
*/
|
|
1003
|
+
identity: string;
|
|
1004
|
+
/**
|
|
1005
|
+
* @generated from field: temporal.api.enums.v1.RetryState retry_state = 5;
|
|
1006
|
+
*/
|
|
1007
|
+
retryState: RetryState;
|
|
1008
|
+
/**
|
|
1009
|
+
* Version info of the worker who processed this workflow task.
|
|
1010
|
+
* Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
1011
|
+
*
|
|
1012
|
+
* @generated from field: temporal.api.common.v1.WorkerVersionStamp worker_version = 6 [deprecated = true];
|
|
1013
|
+
* @deprecated
|
|
1014
|
+
*/
|
|
1015
|
+
workerVersion?: WorkerVersionStamp;
|
|
1016
|
+
};
|
|
1017
|
+
/**
|
|
1018
|
+
* Describes the message temporal.api.history.v1.ActivityTaskFailedEventAttributes.
|
|
1019
|
+
* Use `create(ActivityTaskFailedEventAttributesSchema)` to create a new message.
|
|
1020
|
+
*/
|
|
1021
|
+
export declare const ActivityTaskFailedEventAttributesSchema: GenMessage<ActivityTaskFailedEventAttributes>;
|
|
1022
|
+
/**
|
|
1023
|
+
* @generated from message temporal.api.history.v1.ActivityTaskTimedOutEventAttributes
|
|
1024
|
+
*/
|
|
1025
|
+
export type ActivityTaskTimedOutEventAttributes = Message<"temporal.api.history.v1.ActivityTaskTimedOutEventAttributes"> & {
|
|
1026
|
+
/**
|
|
1027
|
+
* If this activity had failed, was retried, and then timed out, that failure is stored as the
|
|
1028
|
+
* `cause` in here.
|
|
1029
|
+
*
|
|
1030
|
+
* @generated from field: temporal.api.failure.v1.Failure failure = 1;
|
|
1031
|
+
*/
|
|
1032
|
+
failure?: Failure;
|
|
1033
|
+
/**
|
|
1034
|
+
* The id of the `ACTIVITY_TASK_SCHEDULED` event this timeout corresponds to
|
|
1035
|
+
*
|
|
1036
|
+
* @generated from field: int64 scheduled_event_id = 2;
|
|
1037
|
+
*/
|
|
1038
|
+
scheduledEventId: bigint;
|
|
1039
|
+
/**
|
|
1040
|
+
* The id of the `ACTIVITY_TASK_STARTED` event this timeout corresponds to
|
|
1041
|
+
*
|
|
1042
|
+
* @generated from field: int64 started_event_id = 3;
|
|
1043
|
+
*/
|
|
1044
|
+
startedEventId: bigint;
|
|
1045
|
+
/**
|
|
1046
|
+
* @generated from field: temporal.api.enums.v1.RetryState retry_state = 4;
|
|
1047
|
+
*/
|
|
1048
|
+
retryState: RetryState;
|
|
1049
|
+
};
|
|
1050
|
+
/**
|
|
1051
|
+
* Describes the message temporal.api.history.v1.ActivityTaskTimedOutEventAttributes.
|
|
1052
|
+
* Use `create(ActivityTaskTimedOutEventAttributesSchema)` to create a new message.
|
|
1053
|
+
*/
|
|
1054
|
+
export declare const ActivityTaskTimedOutEventAttributesSchema: GenMessage<ActivityTaskTimedOutEventAttributes>;
|
|
1055
|
+
/**
|
|
1056
|
+
* @generated from message temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes
|
|
1057
|
+
*/
|
|
1058
|
+
export type ActivityTaskCancelRequestedEventAttributes = Message<"temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes"> & {
|
|
1059
|
+
/**
|
|
1060
|
+
* The id of the `ACTIVITY_TASK_SCHEDULED` event this cancel request corresponds to
|
|
1061
|
+
*
|
|
1062
|
+
* @generated from field: int64 scheduled_event_id = 1;
|
|
1063
|
+
*/
|
|
1064
|
+
scheduledEventId: bigint;
|
|
1065
|
+
/**
|
|
1066
|
+
* The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
|
|
1067
|
+
*
|
|
1068
|
+
* @generated from field: int64 workflow_task_completed_event_id = 2;
|
|
1069
|
+
*/
|
|
1070
|
+
workflowTaskCompletedEventId: bigint;
|
|
1071
|
+
};
|
|
1072
|
+
/**
|
|
1073
|
+
* Describes the message temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes.
|
|
1074
|
+
* Use `create(ActivityTaskCancelRequestedEventAttributesSchema)` to create a new message.
|
|
1075
|
+
*/
|
|
1076
|
+
export declare const ActivityTaskCancelRequestedEventAttributesSchema: GenMessage<ActivityTaskCancelRequestedEventAttributes>;
|
|
1077
|
+
/**
|
|
1078
|
+
* @generated from message temporal.api.history.v1.ActivityTaskCanceledEventAttributes
|
|
1079
|
+
*/
|
|
1080
|
+
export type ActivityTaskCanceledEventAttributes = Message<"temporal.api.history.v1.ActivityTaskCanceledEventAttributes"> & {
|
|
1081
|
+
/**
|
|
1082
|
+
* Additional information that the activity reported upon confirming cancellation
|
|
1083
|
+
*
|
|
1084
|
+
* @generated from field: temporal.api.common.v1.Payloads details = 1;
|
|
1085
|
+
*/
|
|
1086
|
+
details?: Payloads;
|
|
1087
|
+
/**
|
|
1088
|
+
* id of the most recent `ACTIVITY_TASK_CANCEL_REQUESTED` event which refers to the same
|
|
1089
|
+
* activity
|
|
1090
|
+
*
|
|
1091
|
+
* @generated from field: int64 latest_cancel_requested_event_id = 2;
|
|
1092
|
+
*/
|
|
1093
|
+
latestCancelRequestedEventId: bigint;
|
|
1094
|
+
/**
|
|
1095
|
+
* The id of the `ACTIVITY_TASK_SCHEDULED` event this cancel confirmation corresponds to
|
|
1096
|
+
*
|
|
1097
|
+
* @generated from field: int64 scheduled_event_id = 3;
|
|
1098
|
+
*/
|
|
1099
|
+
scheduledEventId: bigint;
|
|
1100
|
+
/**
|
|
1101
|
+
* The id of the `ACTIVITY_TASK_STARTED` event this cancel confirmation corresponds to
|
|
1102
|
+
*
|
|
1103
|
+
* @generated from field: int64 started_event_id = 4;
|
|
1104
|
+
*/
|
|
1105
|
+
startedEventId: bigint;
|
|
1106
|
+
/**
|
|
1107
|
+
* id of the worker who canceled this activity
|
|
1108
|
+
*
|
|
1109
|
+
* @generated from field: string identity = 5;
|
|
1110
|
+
*/
|
|
1111
|
+
identity: string;
|
|
1112
|
+
/**
|
|
1113
|
+
* Version info of the worker who processed this workflow task.
|
|
1114
|
+
* Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
1115
|
+
*
|
|
1116
|
+
* @generated from field: temporal.api.common.v1.WorkerVersionStamp worker_version = 6 [deprecated = true];
|
|
1117
|
+
* @deprecated
|
|
1118
|
+
*/
|
|
1119
|
+
workerVersion?: WorkerVersionStamp;
|
|
1120
|
+
};
|
|
1121
|
+
/**
|
|
1122
|
+
* Describes the message temporal.api.history.v1.ActivityTaskCanceledEventAttributes.
|
|
1123
|
+
* Use `create(ActivityTaskCanceledEventAttributesSchema)` to create a new message.
|
|
1124
|
+
*/
|
|
1125
|
+
export declare const ActivityTaskCanceledEventAttributesSchema: GenMessage<ActivityTaskCanceledEventAttributes>;
|
|
1126
|
+
/**
|
|
1127
|
+
* @generated from message temporal.api.history.v1.TimerStartedEventAttributes
|
|
1128
|
+
*/
|
|
1129
|
+
export type TimerStartedEventAttributes = Message<"temporal.api.history.v1.TimerStartedEventAttributes"> & {
|
|
1130
|
+
/**
|
|
1131
|
+
* The worker/user assigned id for this timer
|
|
1132
|
+
*
|
|
1133
|
+
* @generated from field: string timer_id = 1;
|
|
1134
|
+
*/
|
|
1135
|
+
timerId: string;
|
|
1136
|
+
/**
|
|
1137
|
+
* How long until this timer fires
|
|
1138
|
+
*
|
|
1139
|
+
* (-- api-linter: core::0140::prepositions=disabled
|
|
1140
|
+
* aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
1141
|
+
*
|
|
1142
|
+
* @generated from field: google.protobuf.Duration start_to_fire_timeout = 2;
|
|
1143
|
+
*/
|
|
1144
|
+
startToFireTimeout?: Duration;
|
|
1145
|
+
/**
|
|
1146
|
+
* The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
|
|
1147
|
+
*
|
|
1148
|
+
* @generated from field: int64 workflow_task_completed_event_id = 3;
|
|
1149
|
+
*/
|
|
1150
|
+
workflowTaskCompletedEventId: bigint;
|
|
1151
|
+
};
|
|
1152
|
+
/**
|
|
1153
|
+
* Describes the message temporal.api.history.v1.TimerStartedEventAttributes.
|
|
1154
|
+
* Use `create(TimerStartedEventAttributesSchema)` to create a new message.
|
|
1155
|
+
*/
|
|
1156
|
+
export declare const TimerStartedEventAttributesSchema: GenMessage<TimerStartedEventAttributes>;
|
|
1157
|
+
/**
|
|
1158
|
+
* @generated from message temporal.api.history.v1.TimerFiredEventAttributes
|
|
1159
|
+
*/
|
|
1160
|
+
export type TimerFiredEventAttributes = Message<"temporal.api.history.v1.TimerFiredEventAttributes"> & {
|
|
1161
|
+
/**
|
|
1162
|
+
* Will match the `timer_id` from `TIMER_STARTED` event for this timer
|
|
1163
|
+
*
|
|
1164
|
+
* @generated from field: string timer_id = 1;
|
|
1165
|
+
*/
|
|
1166
|
+
timerId: string;
|
|
1167
|
+
/**
|
|
1168
|
+
* The id of the `TIMER_STARTED` event itself
|
|
1169
|
+
*
|
|
1170
|
+
* @generated from field: int64 started_event_id = 2;
|
|
1171
|
+
*/
|
|
1172
|
+
startedEventId: bigint;
|
|
1173
|
+
};
|
|
1174
|
+
/**
|
|
1175
|
+
* Describes the message temporal.api.history.v1.TimerFiredEventAttributes.
|
|
1176
|
+
* Use `create(TimerFiredEventAttributesSchema)` to create a new message.
|
|
1177
|
+
*/
|
|
1178
|
+
export declare const TimerFiredEventAttributesSchema: GenMessage<TimerFiredEventAttributes>;
|
|
1179
|
+
/**
|
|
1180
|
+
* @generated from message temporal.api.history.v1.TimerCanceledEventAttributes
|
|
1181
|
+
*/
|
|
1182
|
+
export type TimerCanceledEventAttributes = Message<"temporal.api.history.v1.TimerCanceledEventAttributes"> & {
|
|
1183
|
+
/**
|
|
1184
|
+
* Will match the `timer_id` from `TIMER_STARTED` event for this timer
|
|
1185
|
+
*
|
|
1186
|
+
* @generated from field: string timer_id = 1;
|
|
1187
|
+
*/
|
|
1188
|
+
timerId: string;
|
|
1189
|
+
/**
|
|
1190
|
+
* The id of the `TIMER_STARTED` event itself
|
|
1191
|
+
*
|
|
1192
|
+
* @generated from field: int64 started_event_id = 2;
|
|
1193
|
+
*/
|
|
1194
|
+
startedEventId: bigint;
|
|
1195
|
+
/**
|
|
1196
|
+
* The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
|
|
1197
|
+
*
|
|
1198
|
+
* @generated from field: int64 workflow_task_completed_event_id = 3;
|
|
1199
|
+
*/
|
|
1200
|
+
workflowTaskCompletedEventId: bigint;
|
|
1201
|
+
/**
|
|
1202
|
+
* The id of the worker who requested this cancel
|
|
1203
|
+
*
|
|
1204
|
+
* @generated from field: string identity = 4;
|
|
1205
|
+
*/
|
|
1206
|
+
identity: string;
|
|
1207
|
+
};
|
|
1208
|
+
/**
|
|
1209
|
+
* Describes the message temporal.api.history.v1.TimerCanceledEventAttributes.
|
|
1210
|
+
* Use `create(TimerCanceledEventAttributesSchema)` to create a new message.
|
|
1211
|
+
*/
|
|
1212
|
+
export declare const TimerCanceledEventAttributesSchema: GenMessage<TimerCanceledEventAttributes>;
|
|
1213
|
+
/**
|
|
1214
|
+
* @generated from message temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes
|
|
1215
|
+
*/
|
|
1216
|
+
export type WorkflowExecutionCancelRequestedEventAttributes = Message<"temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes"> & {
|
|
1217
|
+
/**
|
|
1218
|
+
* User provided reason for requesting cancellation
|
|
1219
|
+
*
|
|
1220
|
+
* @generated from field: string cause = 1;
|
|
1221
|
+
*/
|
|
1222
|
+
cause: string;
|
|
1223
|
+
/**
|
|
1224
|
+
* The ID of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event in the external
|
|
1225
|
+
* workflow history when the cancellation was requested by another workflow.
|
|
1226
|
+
*
|
|
1227
|
+
* @generated from field: int64 external_initiated_event_id = 2;
|
|
1228
|
+
*/
|
|
1229
|
+
externalInitiatedEventId: bigint;
|
|
1230
|
+
/**
|
|
1231
|
+
* @generated from field: temporal.api.common.v1.WorkflowExecution external_workflow_execution = 3;
|
|
1232
|
+
*/
|
|
1233
|
+
externalWorkflowExecution?: WorkflowExecution;
|
|
1234
|
+
/**
|
|
1235
|
+
* id of the worker or client who requested this cancel
|
|
1236
|
+
*
|
|
1237
|
+
* @generated from field: string identity = 4;
|
|
1238
|
+
*/
|
|
1239
|
+
identity: string;
|
|
1240
|
+
};
|
|
1241
|
+
/**
|
|
1242
|
+
* Describes the message temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes.
|
|
1243
|
+
* Use `create(WorkflowExecutionCancelRequestedEventAttributesSchema)` to create a new message.
|
|
1244
|
+
*/
|
|
1245
|
+
export declare const WorkflowExecutionCancelRequestedEventAttributesSchema: GenMessage<WorkflowExecutionCancelRequestedEventAttributes>;
|
|
1246
|
+
/**
|
|
1247
|
+
* @generated from message temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes
|
|
1248
|
+
*/
|
|
1249
|
+
export type WorkflowExecutionCanceledEventAttributes = Message<"temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes"> & {
|
|
1250
|
+
/**
|
|
1251
|
+
* The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
|
|
1252
|
+
*
|
|
1253
|
+
* @generated from field: int64 workflow_task_completed_event_id = 1;
|
|
1254
|
+
*/
|
|
1255
|
+
workflowTaskCompletedEventId: bigint;
|
|
1256
|
+
/**
|
|
1257
|
+
* @generated from field: temporal.api.common.v1.Payloads details = 2;
|
|
1258
|
+
*/
|
|
1259
|
+
details?: Payloads;
|
|
1260
|
+
};
|
|
1261
|
+
/**
|
|
1262
|
+
* Describes the message temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes.
|
|
1263
|
+
* Use `create(WorkflowExecutionCanceledEventAttributesSchema)` to create a new message.
|
|
1264
|
+
*/
|
|
1265
|
+
export declare const WorkflowExecutionCanceledEventAttributesSchema: GenMessage<WorkflowExecutionCanceledEventAttributes>;
|
|
1266
|
+
/**
|
|
1267
|
+
* @generated from message temporal.api.history.v1.MarkerRecordedEventAttributes
|
|
1268
|
+
*/
|
|
1269
|
+
export type MarkerRecordedEventAttributes = Message<"temporal.api.history.v1.MarkerRecordedEventAttributes"> & {
|
|
1270
|
+
/**
|
|
1271
|
+
* Workers use this to identify the "types" of various markers. Ex: Local activity, side effect.
|
|
1272
|
+
*
|
|
1273
|
+
* @generated from field: string marker_name = 1;
|
|
1274
|
+
*/
|
|
1275
|
+
markerName: string;
|
|
1276
|
+
/**
|
|
1277
|
+
* Serialized information recorded in the marker
|
|
1278
|
+
*
|
|
1279
|
+
* @generated from field: map<string, temporal.api.common.v1.Payloads> details = 2;
|
|
1280
|
+
*/
|
|
1281
|
+
details: {
|
|
1282
|
+
[key: string]: Payloads;
|
|
1283
|
+
};
|
|
1284
|
+
/**
|
|
1285
|
+
* The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
|
|
1286
|
+
*
|
|
1287
|
+
* @generated from field: int64 workflow_task_completed_event_id = 3;
|
|
1288
|
+
*/
|
|
1289
|
+
workflowTaskCompletedEventId: bigint;
|
|
1290
|
+
/**
|
|
1291
|
+
* @generated from field: temporal.api.common.v1.Header header = 4;
|
|
1292
|
+
*/
|
|
1293
|
+
header?: Header;
|
|
1294
|
+
/**
|
|
1295
|
+
* Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
|
|
1296
|
+
*
|
|
1297
|
+
* @generated from field: temporal.api.failure.v1.Failure failure = 5;
|
|
1298
|
+
*/
|
|
1299
|
+
failure?: Failure;
|
|
1300
|
+
};
|
|
1301
|
+
/**
|
|
1302
|
+
* Describes the message temporal.api.history.v1.MarkerRecordedEventAttributes.
|
|
1303
|
+
* Use `create(MarkerRecordedEventAttributesSchema)` to create a new message.
|
|
1304
|
+
*/
|
|
1305
|
+
export declare const MarkerRecordedEventAttributesSchema: GenMessage<MarkerRecordedEventAttributes>;
|
|
1306
|
+
/**
|
|
1307
|
+
* @generated from message temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes
|
|
1308
|
+
*/
|
|
1309
|
+
export type WorkflowExecutionSignaledEventAttributes = Message<"temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes"> & {
|
|
1310
|
+
/**
|
|
1311
|
+
* The name/type of the signal to fire
|
|
1312
|
+
*
|
|
1313
|
+
* @generated from field: string signal_name = 1;
|
|
1314
|
+
*/
|
|
1315
|
+
signalName: string;
|
|
1316
|
+
/**
|
|
1317
|
+
* Will be deserialized and provided as argument(s) to the signal handler
|
|
1318
|
+
*
|
|
1319
|
+
* @generated from field: temporal.api.common.v1.Payloads input = 2;
|
|
1320
|
+
*/
|
|
1321
|
+
input?: Payloads;
|
|
1322
|
+
/**
|
|
1323
|
+
* id of the worker/client who sent this signal
|
|
1324
|
+
*
|
|
1325
|
+
* @generated from field: string identity = 3;
|
|
1326
|
+
*/
|
|
1327
|
+
identity: string;
|
|
1328
|
+
/**
|
|
1329
|
+
* Headers that were passed by the sender of the signal and copied by temporal
|
|
1330
|
+
* server into the workflow task.
|
|
1331
|
+
*
|
|
1332
|
+
* @generated from field: temporal.api.common.v1.Header header = 4;
|
|
1333
|
+
*/
|
|
1334
|
+
header?: Header;
|
|
1335
|
+
/**
|
|
1336
|
+
* Deprecated. This field is never respected and should always be set to false.
|
|
1337
|
+
*
|
|
1338
|
+
* @generated from field: bool skip_generate_workflow_task = 5 [deprecated = true];
|
|
1339
|
+
* @deprecated
|
|
1340
|
+
*/
|
|
1341
|
+
skipGenerateWorkflowTask: boolean;
|
|
1342
|
+
/**
|
|
1343
|
+
* When signal origin is a workflow execution, this field is set.
|
|
1344
|
+
*
|
|
1345
|
+
* @generated from field: temporal.api.common.v1.WorkflowExecution external_workflow_execution = 6;
|
|
1346
|
+
*/
|
|
1347
|
+
externalWorkflowExecution?: WorkflowExecution;
|
|
1348
|
+
};
|
|
1349
|
+
/**
|
|
1350
|
+
* Describes the message temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.
|
|
1351
|
+
* Use `create(WorkflowExecutionSignaledEventAttributesSchema)` to create a new message.
|
|
1352
|
+
*/
|
|
1353
|
+
export declare const WorkflowExecutionSignaledEventAttributesSchema: GenMessage<WorkflowExecutionSignaledEventAttributes>;
|
|
1354
|
+
/**
|
|
1355
|
+
* @generated from message temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes
|
|
1356
|
+
*/
|
|
1357
|
+
export type WorkflowExecutionTerminatedEventAttributes = Message<"temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes"> & {
|
|
1358
|
+
/**
|
|
1359
|
+
* User/client provided reason for termination
|
|
1360
|
+
*
|
|
1361
|
+
* @generated from field: string reason = 1;
|
|
1362
|
+
*/
|
|
1363
|
+
reason: string;
|
|
1364
|
+
/**
|
|
1365
|
+
* @generated from field: temporal.api.common.v1.Payloads details = 2;
|
|
1366
|
+
*/
|
|
1367
|
+
details?: Payloads;
|
|
1368
|
+
/**
|
|
1369
|
+
* id of the client who requested termination
|
|
1370
|
+
*
|
|
1371
|
+
* @generated from field: string identity = 3;
|
|
1372
|
+
*/
|
|
1373
|
+
identity: string;
|
|
1374
|
+
};
|
|
1375
|
+
/**
|
|
1376
|
+
* Describes the message temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes.
|
|
1377
|
+
* Use `create(WorkflowExecutionTerminatedEventAttributesSchema)` to create a new message.
|
|
1378
|
+
*/
|
|
1379
|
+
export declare const WorkflowExecutionTerminatedEventAttributesSchema: GenMessage<WorkflowExecutionTerminatedEventAttributes>;
|
|
1380
|
+
/**
|
|
1381
|
+
* @generated from message temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
|
|
1382
|
+
*/
|
|
1383
|
+
export type RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = Message<"temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes"> & {
|
|
1384
|
+
/**
|
|
1385
|
+
* The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
|
|
1386
|
+
*
|
|
1387
|
+
* @generated from field: int64 workflow_task_completed_event_id = 1;
|
|
1388
|
+
*/
|
|
1389
|
+
workflowTaskCompletedEventId: bigint;
|
|
1390
|
+
/**
|
|
1391
|
+
* The namespace the workflow to be cancelled lives in.
|
|
1392
|
+
* SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
|
|
1393
|
+
*
|
|
1394
|
+
* @generated from field: string namespace = 2;
|
|
1395
|
+
*/
|
|
1396
|
+
namespace: string;
|
|
1397
|
+
/**
|
|
1398
|
+
* @generated from field: string namespace_id = 7;
|
|
1399
|
+
*/
|
|
1400
|
+
namespaceId: string;
|
|
1401
|
+
/**
|
|
1402
|
+
* @generated from field: temporal.api.common.v1.WorkflowExecution workflow_execution = 3;
|
|
1403
|
+
*/
|
|
1404
|
+
workflowExecution?: WorkflowExecution;
|
|
1405
|
+
/**
|
|
1406
|
+
* Deprecated.
|
|
1407
|
+
*
|
|
1408
|
+
* @generated from field: string control = 4 [deprecated = true];
|
|
1409
|
+
* @deprecated
|
|
1410
|
+
*/
|
|
1411
|
+
control: string;
|
|
1412
|
+
/**
|
|
1413
|
+
* Workers are expected to set this to true if the workflow they are requesting to cancel is
|
|
1414
|
+
* a child of the workflow which issued the request
|
|
1415
|
+
*
|
|
1416
|
+
* @generated from field: bool child_workflow_only = 5;
|
|
1417
|
+
*/
|
|
1418
|
+
childWorkflowOnly: boolean;
|
|
1419
|
+
/**
|
|
1420
|
+
* Reason for requesting the cancellation
|
|
1421
|
+
*
|
|
1422
|
+
* @generated from field: string reason = 6;
|
|
1423
|
+
*/
|
|
1424
|
+
reason: string;
|
|
1425
|
+
};
|
|
1426
|
+
/**
|
|
1427
|
+
* Describes the message temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.
|
|
1428
|
+
* Use `create(RequestCancelExternalWorkflowExecutionInitiatedEventAttributesSchema)` to create a new message.
|
|
1429
|
+
*/
|
|
1430
|
+
export declare const RequestCancelExternalWorkflowExecutionInitiatedEventAttributesSchema: GenMessage<RequestCancelExternalWorkflowExecutionInitiatedEventAttributes>;
|
|
1431
|
+
/**
|
|
1432
|
+
* @generated from message temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes
|
|
1433
|
+
*/
|
|
1434
|
+
export type RequestCancelExternalWorkflowExecutionFailedEventAttributes = Message<"temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes"> & {
|
|
1435
|
+
/**
|
|
1436
|
+
* @generated from field: temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause cause = 1;
|
|
1437
|
+
*/
|
|
1438
|
+
cause: CancelExternalWorkflowExecutionFailedCause;
|
|
1439
|
+
/**
|
|
1440
|
+
* The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
|
|
1441
|
+
*
|
|
1442
|
+
* @generated from field: int64 workflow_task_completed_event_id = 2;
|
|
1443
|
+
*/
|
|
1444
|
+
workflowTaskCompletedEventId: bigint;
|
|
1445
|
+
/**
|
|
1446
|
+
* Namespace of the workflow which failed to cancel.
|
|
1447
|
+
* SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
|
|
1448
|
+
*
|
|
1449
|
+
* @generated from field: string namespace = 3;
|
|
1450
|
+
*/
|
|
1451
|
+
namespace: string;
|
|
1452
|
+
/**
|
|
1453
|
+
* @generated from field: string namespace_id = 7;
|
|
1454
|
+
*/
|
|
1455
|
+
namespaceId: string;
|
|
1456
|
+
/**
|
|
1457
|
+
* @generated from field: temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
|
|
1458
|
+
*/
|
|
1459
|
+
workflowExecution?: WorkflowExecution;
|
|
1460
|
+
/**
|
|
1461
|
+
* id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this failure
|
|
1462
|
+
* corresponds to
|
|
1463
|
+
*
|
|
1464
|
+
* @generated from field: int64 initiated_event_id = 5;
|
|
1465
|
+
*/
|
|
1466
|
+
initiatedEventId: bigint;
|
|
1467
|
+
/**
|
|
1468
|
+
* Deprecated.
|
|
1469
|
+
*
|
|
1470
|
+
* @generated from field: string control = 6 [deprecated = true];
|
|
1471
|
+
* @deprecated
|
|
1472
|
+
*/
|
|
1473
|
+
control: string;
|
|
1474
|
+
};
|
|
1475
|
+
/**
|
|
1476
|
+
* Describes the message temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.
|
|
1477
|
+
* Use `create(RequestCancelExternalWorkflowExecutionFailedEventAttributesSchema)` to create a new message.
|
|
1478
|
+
*/
|
|
1479
|
+
export declare const RequestCancelExternalWorkflowExecutionFailedEventAttributesSchema: GenMessage<RequestCancelExternalWorkflowExecutionFailedEventAttributes>;
|
|
1480
|
+
/**
|
|
1481
|
+
* @generated from message temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes
|
|
1482
|
+
*/
|
|
1483
|
+
export type ExternalWorkflowExecutionCancelRequestedEventAttributes = Message<"temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes"> & {
|
|
1484
|
+
/**
|
|
1485
|
+
* id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this event corresponds
|
|
1486
|
+
* to
|
|
1487
|
+
*
|
|
1488
|
+
* @generated from field: int64 initiated_event_id = 1;
|
|
1489
|
+
*/
|
|
1490
|
+
initiatedEventId: bigint;
|
|
1491
|
+
/**
|
|
1492
|
+
* Namespace of the to-be-cancelled workflow.
|
|
1493
|
+
* SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
|
|
1494
|
+
*
|
|
1495
|
+
* @generated from field: string namespace = 2;
|
|
1496
|
+
*/
|
|
1497
|
+
namespace: string;
|
|
1498
|
+
/**
|
|
1499
|
+
* @generated from field: string namespace_id = 4;
|
|
1500
|
+
*/
|
|
1501
|
+
namespaceId: string;
|
|
1502
|
+
/**
|
|
1503
|
+
* @generated from field: temporal.api.common.v1.WorkflowExecution workflow_execution = 3;
|
|
1504
|
+
*/
|
|
1505
|
+
workflowExecution?: WorkflowExecution;
|
|
1506
|
+
};
|
|
1507
|
+
/**
|
|
1508
|
+
* Describes the message temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes.
|
|
1509
|
+
* Use `create(ExternalWorkflowExecutionCancelRequestedEventAttributesSchema)` to create a new message.
|
|
1510
|
+
*/
|
|
1511
|
+
export declare const ExternalWorkflowExecutionCancelRequestedEventAttributesSchema: GenMessage<ExternalWorkflowExecutionCancelRequestedEventAttributes>;
|
|
1512
|
+
/**
|
|
1513
|
+
* @generated from message temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes
|
|
1514
|
+
*/
|
|
1515
|
+
export type SignalExternalWorkflowExecutionInitiatedEventAttributes = Message<"temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes"> & {
|
|
1516
|
+
/**
|
|
1517
|
+
* The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
|
|
1518
|
+
*
|
|
1519
|
+
* @generated from field: int64 workflow_task_completed_event_id = 1;
|
|
1520
|
+
*/
|
|
1521
|
+
workflowTaskCompletedEventId: bigint;
|
|
1522
|
+
/**
|
|
1523
|
+
* Namespace of the to-be-signalled workflow.
|
|
1524
|
+
* SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
|
|
1525
|
+
*
|
|
1526
|
+
* @generated from field: string namespace = 2;
|
|
1527
|
+
*/
|
|
1528
|
+
namespace: string;
|
|
1529
|
+
/**
|
|
1530
|
+
* @generated from field: string namespace_id = 9;
|
|
1531
|
+
*/
|
|
1532
|
+
namespaceId: string;
|
|
1533
|
+
/**
|
|
1534
|
+
* @generated from field: temporal.api.common.v1.WorkflowExecution workflow_execution = 3;
|
|
1535
|
+
*/
|
|
1536
|
+
workflowExecution?: WorkflowExecution;
|
|
1537
|
+
/**
|
|
1538
|
+
* name/type of the signal to fire in the external workflow
|
|
1539
|
+
*
|
|
1540
|
+
* @generated from field: string signal_name = 4;
|
|
1541
|
+
*/
|
|
1542
|
+
signalName: string;
|
|
1543
|
+
/**
|
|
1544
|
+
* Serialized arguments to provide to the signal handler
|
|
1545
|
+
*
|
|
1546
|
+
* @generated from field: temporal.api.common.v1.Payloads input = 5;
|
|
1547
|
+
*/
|
|
1548
|
+
input?: Payloads;
|
|
1549
|
+
/**
|
|
1550
|
+
* Deprecated.
|
|
1551
|
+
*
|
|
1552
|
+
* @generated from field: string control = 6 [deprecated = true];
|
|
1553
|
+
* @deprecated
|
|
1554
|
+
*/
|
|
1555
|
+
control: string;
|
|
1556
|
+
/**
|
|
1557
|
+
* Workers are expected to set this to true if the workflow they are requesting to cancel is
|
|
1558
|
+
* a child of the workflow which issued the request
|
|
1559
|
+
*
|
|
1560
|
+
* @generated from field: bool child_workflow_only = 7;
|
|
1561
|
+
*/
|
|
1562
|
+
childWorkflowOnly: boolean;
|
|
1563
|
+
/**
|
|
1564
|
+
* @generated from field: temporal.api.common.v1.Header header = 8;
|
|
1565
|
+
*/
|
|
1566
|
+
header?: Header;
|
|
1567
|
+
};
|
|
1568
|
+
/**
|
|
1569
|
+
* Describes the message temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.
|
|
1570
|
+
* Use `create(SignalExternalWorkflowExecutionInitiatedEventAttributesSchema)` to create a new message.
|
|
1571
|
+
*/
|
|
1572
|
+
export declare const SignalExternalWorkflowExecutionInitiatedEventAttributesSchema: GenMessage<SignalExternalWorkflowExecutionInitiatedEventAttributes>;
|
|
1573
|
+
/**
|
|
1574
|
+
* @generated from message temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes
|
|
1575
|
+
*/
|
|
1576
|
+
export type SignalExternalWorkflowExecutionFailedEventAttributes = Message<"temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes"> & {
|
|
1577
|
+
/**
|
|
1578
|
+
* @generated from field: temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause cause = 1;
|
|
1579
|
+
*/
|
|
1580
|
+
cause: SignalExternalWorkflowExecutionFailedCause;
|
|
1581
|
+
/**
|
|
1582
|
+
* The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
|
|
1583
|
+
*
|
|
1584
|
+
* @generated from field: int64 workflow_task_completed_event_id = 2;
|
|
1585
|
+
*/
|
|
1586
|
+
workflowTaskCompletedEventId: bigint;
|
|
1587
|
+
/**
|
|
1588
|
+
* Namespace of the workflow which failed the signal.
|
|
1589
|
+
* SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
|
|
1590
|
+
*
|
|
1591
|
+
* @generated from field: string namespace = 3;
|
|
1592
|
+
*/
|
|
1593
|
+
namespace: string;
|
|
1594
|
+
/**
|
|
1595
|
+
* @generated from field: string namespace_id = 7;
|
|
1596
|
+
*/
|
|
1597
|
+
namespaceId: string;
|
|
1598
|
+
/**
|
|
1599
|
+
* @generated from field: temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
|
|
1600
|
+
*/
|
|
1601
|
+
workflowExecution?: WorkflowExecution;
|
|
1602
|
+
/**
|
|
1603
|
+
* @generated from field: int64 initiated_event_id = 5;
|
|
1604
|
+
*/
|
|
1605
|
+
initiatedEventId: bigint;
|
|
1606
|
+
/**
|
|
1607
|
+
* Deprecated.
|
|
1608
|
+
*
|
|
1609
|
+
* @generated from field: string control = 6 [deprecated = true];
|
|
1610
|
+
* @deprecated
|
|
1611
|
+
*/
|
|
1612
|
+
control: string;
|
|
1613
|
+
};
|
|
1614
|
+
/**
|
|
1615
|
+
* Describes the message temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.
|
|
1616
|
+
* Use `create(SignalExternalWorkflowExecutionFailedEventAttributesSchema)` to create a new message.
|
|
1617
|
+
*/
|
|
1618
|
+
export declare const SignalExternalWorkflowExecutionFailedEventAttributesSchema: GenMessage<SignalExternalWorkflowExecutionFailedEventAttributes>;
|
|
1619
|
+
/**
|
|
1620
|
+
* @generated from message temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes
|
|
1621
|
+
*/
|
|
1622
|
+
export type ExternalWorkflowExecutionSignaledEventAttributes = Message<"temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes"> & {
|
|
1623
|
+
/**
|
|
1624
|
+
* id of the `SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this event corresponds to
|
|
1625
|
+
*
|
|
1626
|
+
* @generated from field: int64 initiated_event_id = 1;
|
|
1627
|
+
*/
|
|
1628
|
+
initiatedEventId: bigint;
|
|
1629
|
+
/**
|
|
1630
|
+
* Namespace of the workflow which was signaled.
|
|
1631
|
+
* SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
|
|
1632
|
+
*
|
|
1633
|
+
* @generated from field: string namespace = 2;
|
|
1634
|
+
*/
|
|
1635
|
+
namespace: string;
|
|
1636
|
+
/**
|
|
1637
|
+
* @generated from field: string namespace_id = 5;
|
|
1638
|
+
*/
|
|
1639
|
+
namespaceId: string;
|
|
1640
|
+
/**
|
|
1641
|
+
* @generated from field: temporal.api.common.v1.WorkflowExecution workflow_execution = 3;
|
|
1642
|
+
*/
|
|
1643
|
+
workflowExecution?: WorkflowExecution;
|
|
1644
|
+
/**
|
|
1645
|
+
* Deprecated.
|
|
1646
|
+
*
|
|
1647
|
+
* @generated from field: string control = 4 [deprecated = true];
|
|
1648
|
+
* @deprecated
|
|
1649
|
+
*/
|
|
1650
|
+
control: string;
|
|
1651
|
+
};
|
|
1652
|
+
/**
|
|
1653
|
+
* Describes the message temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes.
|
|
1654
|
+
* Use `create(ExternalWorkflowExecutionSignaledEventAttributesSchema)` to create a new message.
|
|
1655
|
+
*/
|
|
1656
|
+
export declare const ExternalWorkflowExecutionSignaledEventAttributesSchema: GenMessage<ExternalWorkflowExecutionSignaledEventAttributes>;
|
|
1657
|
+
/**
|
|
1658
|
+
* @generated from message temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes
|
|
1659
|
+
*/
|
|
1660
|
+
export type UpsertWorkflowSearchAttributesEventAttributes = Message<"temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes"> & {
|
|
1661
|
+
/**
|
|
1662
|
+
* The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
|
|
1663
|
+
*
|
|
1664
|
+
* @generated from field: int64 workflow_task_completed_event_id = 1;
|
|
1665
|
+
*/
|
|
1666
|
+
workflowTaskCompletedEventId: bigint;
|
|
1667
|
+
/**
|
|
1668
|
+
* @generated from field: temporal.api.common.v1.SearchAttributes search_attributes = 2;
|
|
1669
|
+
*/
|
|
1670
|
+
searchAttributes?: SearchAttributes;
|
|
1671
|
+
};
|
|
1672
|
+
/**
|
|
1673
|
+
* Describes the message temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes.
|
|
1674
|
+
* Use `create(UpsertWorkflowSearchAttributesEventAttributesSchema)` to create a new message.
|
|
1675
|
+
*/
|
|
1676
|
+
export declare const UpsertWorkflowSearchAttributesEventAttributesSchema: GenMessage<UpsertWorkflowSearchAttributesEventAttributes>;
|
|
1677
|
+
/**
|
|
1678
|
+
* @generated from message temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes
|
|
1679
|
+
*/
|
|
1680
|
+
export type WorkflowPropertiesModifiedEventAttributes = Message<"temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes"> & {
|
|
1681
|
+
/**
|
|
1682
|
+
* The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
|
|
1683
|
+
*
|
|
1684
|
+
* @generated from field: int64 workflow_task_completed_event_id = 1;
|
|
1685
|
+
*/
|
|
1686
|
+
workflowTaskCompletedEventId: bigint;
|
|
1687
|
+
/**
|
|
1688
|
+
* If set, update the workflow memo with the provided values. The values will be merged with
|
|
1689
|
+
* the existing memo. If the user wants to delete values, a default/empty Payload should be
|
|
1690
|
+
* used as the value for the key being deleted.
|
|
1691
|
+
*
|
|
1692
|
+
* @generated from field: temporal.api.common.v1.Memo upserted_memo = 2;
|
|
1693
|
+
*/
|
|
1694
|
+
upsertedMemo?: Memo;
|
|
1695
|
+
};
|
|
1696
|
+
/**
|
|
1697
|
+
* Describes the message temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes.
|
|
1698
|
+
* Use `create(WorkflowPropertiesModifiedEventAttributesSchema)` to create a new message.
|
|
1699
|
+
*/
|
|
1700
|
+
export declare const WorkflowPropertiesModifiedEventAttributesSchema: GenMessage<WorkflowPropertiesModifiedEventAttributes>;
|
|
1701
|
+
/**
|
|
1702
|
+
* @generated from message temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes
|
|
1703
|
+
*/
|
|
1704
|
+
export type StartChildWorkflowExecutionInitiatedEventAttributes = Message<"temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes"> & {
|
|
1705
|
+
/**
|
|
1706
|
+
* Namespace of the child workflow.
|
|
1707
|
+
* SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
|
|
1708
|
+
*
|
|
1709
|
+
* @generated from field: string namespace = 1;
|
|
1710
|
+
*/
|
|
1711
|
+
namespace: string;
|
|
1712
|
+
/**
|
|
1713
|
+
* @generated from field: string namespace_id = 18;
|
|
1714
|
+
*/
|
|
1715
|
+
namespaceId: string;
|
|
1716
|
+
/**
|
|
1717
|
+
* @generated from field: string workflow_id = 2;
|
|
1718
|
+
*/
|
|
1719
|
+
workflowId: string;
|
|
1720
|
+
/**
|
|
1721
|
+
* @generated from field: temporal.api.common.v1.WorkflowType workflow_type = 3;
|
|
1722
|
+
*/
|
|
1723
|
+
workflowType?: WorkflowType;
|
|
1724
|
+
/**
|
|
1725
|
+
* @generated from field: temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
|
|
1726
|
+
*/
|
|
1727
|
+
taskQueue?: TaskQueue;
|
|
1728
|
+
/**
|
|
1729
|
+
* @generated from field: temporal.api.common.v1.Payloads input = 5;
|
|
1730
|
+
*/
|
|
1731
|
+
input?: Payloads;
|
|
1732
|
+
/**
|
|
1733
|
+
* Total workflow execution timeout including retries and continue as new.
|
|
1734
|
+
*
|
|
1735
|
+
* @generated from field: google.protobuf.Duration workflow_execution_timeout = 6;
|
|
1736
|
+
*/
|
|
1737
|
+
workflowExecutionTimeout?: Duration;
|
|
1738
|
+
/**
|
|
1739
|
+
* Timeout of a single workflow run.
|
|
1740
|
+
*
|
|
1741
|
+
* @generated from field: google.protobuf.Duration workflow_run_timeout = 7;
|
|
1742
|
+
*/
|
|
1743
|
+
workflowRunTimeout?: Duration;
|
|
1744
|
+
/**
|
|
1745
|
+
* Timeout of a single workflow task.
|
|
1746
|
+
*
|
|
1747
|
+
* @generated from field: google.protobuf.Duration workflow_task_timeout = 8;
|
|
1748
|
+
*/
|
|
1749
|
+
workflowTaskTimeout?: Duration;
|
|
1750
|
+
/**
|
|
1751
|
+
* Default: PARENT_CLOSE_POLICY_TERMINATE.
|
|
1752
|
+
*
|
|
1753
|
+
* @generated from field: temporal.api.enums.v1.ParentClosePolicy parent_close_policy = 9;
|
|
1754
|
+
*/
|
|
1755
|
+
parentClosePolicy: ParentClosePolicy;
|
|
1756
|
+
/**
|
|
1757
|
+
* Deprecated.
|
|
1758
|
+
*
|
|
1759
|
+
* @generated from field: string control = 10 [deprecated = true];
|
|
1760
|
+
* @deprecated
|
|
1761
|
+
*/
|
|
1762
|
+
control: string;
|
|
1763
|
+
/**
|
|
1764
|
+
* The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
|
|
1765
|
+
*
|
|
1766
|
+
* @generated from field: int64 workflow_task_completed_event_id = 11;
|
|
1767
|
+
*/
|
|
1768
|
+
workflowTaskCompletedEventId: bigint;
|
|
1769
|
+
/**
|
|
1770
|
+
* Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
|
|
1771
|
+
*
|
|
1772
|
+
* @generated from field: temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 12;
|
|
1773
|
+
*/
|
|
1774
|
+
workflowIdReusePolicy: WorkflowIdReusePolicy;
|
|
1775
|
+
/**
|
|
1776
|
+
* @generated from field: temporal.api.common.v1.RetryPolicy retry_policy = 13;
|
|
1777
|
+
*/
|
|
1778
|
+
retryPolicy?: RetryPolicy;
|
|
1779
|
+
/**
|
|
1780
|
+
* If this child runs on a cron schedule, it will appear here
|
|
1781
|
+
*
|
|
1782
|
+
* @generated from field: string cron_schedule = 14;
|
|
1783
|
+
*/
|
|
1784
|
+
cronSchedule: string;
|
|
1785
|
+
/**
|
|
1786
|
+
* @generated from field: temporal.api.common.v1.Header header = 15;
|
|
1787
|
+
*/
|
|
1788
|
+
header?: Header;
|
|
1789
|
+
/**
|
|
1790
|
+
* @generated from field: temporal.api.common.v1.Memo memo = 16;
|
|
1791
|
+
*/
|
|
1792
|
+
memo?: Memo;
|
|
1793
|
+
/**
|
|
1794
|
+
* @generated from field: temporal.api.common.v1.SearchAttributes search_attributes = 17;
|
|
1795
|
+
*/
|
|
1796
|
+
searchAttributes?: SearchAttributes;
|
|
1797
|
+
/**
|
|
1798
|
+
* If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment
|
|
1799
|
+
* rules of the child's Task Queue will be used to independently assign a Build ID to it.
|
|
1800
|
+
* Deprecated. Only considered for versioning v0.2.
|
|
1801
|
+
*
|
|
1802
|
+
* @generated from field: bool inherit_build_id = 19 [deprecated = true];
|
|
1803
|
+
* @deprecated
|
|
1804
|
+
*/
|
|
1805
|
+
inheritBuildId: boolean;
|
|
1806
|
+
/**
|
|
1807
|
+
* Priority metadata
|
|
1808
|
+
*
|
|
1809
|
+
* @generated from field: temporal.api.common.v1.Priority priority = 20;
|
|
1810
|
+
*/
|
|
1811
|
+
priority?: Priority;
|
|
1812
|
+
};
|
|
1813
|
+
/**
|
|
1814
|
+
* Describes the message temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.
|
|
1815
|
+
* Use `create(StartChildWorkflowExecutionInitiatedEventAttributesSchema)` to create a new message.
|
|
1816
|
+
*/
|
|
1817
|
+
export declare const StartChildWorkflowExecutionInitiatedEventAttributesSchema: GenMessage<StartChildWorkflowExecutionInitiatedEventAttributes>;
|
|
1818
|
+
/**
|
|
1819
|
+
* @generated from message temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes
|
|
1820
|
+
*/
|
|
1821
|
+
export type StartChildWorkflowExecutionFailedEventAttributes = Message<"temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes"> & {
|
|
1822
|
+
/**
|
|
1823
|
+
* Namespace of the child workflow.
|
|
1824
|
+
* SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
|
|
1825
|
+
*
|
|
1826
|
+
* @generated from field: string namespace = 1;
|
|
1827
|
+
*/
|
|
1828
|
+
namespace: string;
|
|
1829
|
+
/**
|
|
1830
|
+
* @generated from field: string namespace_id = 8;
|
|
1831
|
+
*/
|
|
1832
|
+
namespaceId: string;
|
|
1833
|
+
/**
|
|
1834
|
+
* @generated from field: string workflow_id = 2;
|
|
1835
|
+
*/
|
|
1836
|
+
workflowId: string;
|
|
1837
|
+
/**
|
|
1838
|
+
* @generated from field: temporal.api.common.v1.WorkflowType workflow_type = 3;
|
|
1839
|
+
*/
|
|
1840
|
+
workflowType?: WorkflowType;
|
|
1841
|
+
/**
|
|
1842
|
+
* @generated from field: temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause cause = 4;
|
|
1843
|
+
*/
|
|
1844
|
+
cause: StartChildWorkflowExecutionFailedCause;
|
|
1845
|
+
/**
|
|
1846
|
+
* Deprecated.
|
|
1847
|
+
*
|
|
1848
|
+
* @generated from field: string control = 5 [deprecated = true];
|
|
1849
|
+
* @deprecated
|
|
1850
|
+
*/
|
|
1851
|
+
control: string;
|
|
1852
|
+
/**
|
|
1853
|
+
* Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
|
|
1854
|
+
*
|
|
1855
|
+
* @generated from field: int64 initiated_event_id = 6;
|
|
1856
|
+
*/
|
|
1857
|
+
initiatedEventId: bigint;
|
|
1858
|
+
/**
|
|
1859
|
+
* The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
|
|
1860
|
+
*
|
|
1861
|
+
* @generated from field: int64 workflow_task_completed_event_id = 7;
|
|
1862
|
+
*/
|
|
1863
|
+
workflowTaskCompletedEventId: bigint;
|
|
1864
|
+
};
|
|
1865
|
+
/**
|
|
1866
|
+
* Describes the message temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes.
|
|
1867
|
+
* Use `create(StartChildWorkflowExecutionFailedEventAttributesSchema)` to create a new message.
|
|
1868
|
+
*/
|
|
1869
|
+
export declare const StartChildWorkflowExecutionFailedEventAttributesSchema: GenMessage<StartChildWorkflowExecutionFailedEventAttributes>;
|
|
1870
|
+
/**
|
|
1871
|
+
* @generated from message temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes
|
|
1872
|
+
*/
|
|
1873
|
+
export type ChildWorkflowExecutionStartedEventAttributes = Message<"temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes"> & {
|
|
1874
|
+
/**
|
|
1875
|
+
* Namespace of the child workflow.
|
|
1876
|
+
* SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
|
|
1877
|
+
*
|
|
1878
|
+
* @generated from field: string namespace = 1;
|
|
1879
|
+
*/
|
|
1880
|
+
namespace: string;
|
|
1881
|
+
/**
|
|
1882
|
+
* @generated from field: string namespace_id = 6;
|
|
1883
|
+
*/
|
|
1884
|
+
namespaceId: string;
|
|
1885
|
+
/**
|
|
1886
|
+
* Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
|
|
1887
|
+
*
|
|
1888
|
+
* @generated from field: int64 initiated_event_id = 2;
|
|
1889
|
+
*/
|
|
1890
|
+
initiatedEventId: bigint;
|
|
1891
|
+
/**
|
|
1892
|
+
* @generated from field: temporal.api.common.v1.WorkflowExecution workflow_execution = 3;
|
|
1893
|
+
*/
|
|
1894
|
+
workflowExecution?: WorkflowExecution;
|
|
1895
|
+
/**
|
|
1896
|
+
* @generated from field: temporal.api.common.v1.WorkflowType workflow_type = 4;
|
|
1897
|
+
*/
|
|
1898
|
+
workflowType?: WorkflowType;
|
|
1899
|
+
/**
|
|
1900
|
+
* @generated from field: temporal.api.common.v1.Header header = 5;
|
|
1901
|
+
*/
|
|
1902
|
+
header?: Header;
|
|
1903
|
+
};
|
|
1904
|
+
/**
|
|
1905
|
+
* Describes the message temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes.
|
|
1906
|
+
* Use `create(ChildWorkflowExecutionStartedEventAttributesSchema)` to create a new message.
|
|
1907
|
+
*/
|
|
1908
|
+
export declare const ChildWorkflowExecutionStartedEventAttributesSchema: GenMessage<ChildWorkflowExecutionStartedEventAttributes>;
|
|
1909
|
+
/**
|
|
1910
|
+
* @generated from message temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes
|
|
1911
|
+
*/
|
|
1912
|
+
export type ChildWorkflowExecutionCompletedEventAttributes = Message<"temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes"> & {
|
|
1913
|
+
/**
|
|
1914
|
+
* @generated from field: temporal.api.common.v1.Payloads result = 1;
|
|
1915
|
+
*/
|
|
1916
|
+
result?: Payloads;
|
|
1917
|
+
/**
|
|
1918
|
+
* Namespace of the child workflow.
|
|
1919
|
+
* SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
|
|
1920
|
+
*
|
|
1921
|
+
* @generated from field: string namespace = 2;
|
|
1922
|
+
*/
|
|
1923
|
+
namespace: string;
|
|
1924
|
+
/**
|
|
1925
|
+
* @generated from field: string namespace_id = 7;
|
|
1926
|
+
*/
|
|
1927
|
+
namespaceId: string;
|
|
1928
|
+
/**
|
|
1929
|
+
* @generated from field: temporal.api.common.v1.WorkflowExecution workflow_execution = 3;
|
|
1930
|
+
*/
|
|
1931
|
+
workflowExecution?: WorkflowExecution;
|
|
1932
|
+
/**
|
|
1933
|
+
* @generated from field: temporal.api.common.v1.WorkflowType workflow_type = 4;
|
|
1934
|
+
*/
|
|
1935
|
+
workflowType?: WorkflowType;
|
|
1936
|
+
/**
|
|
1937
|
+
* Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
|
|
1938
|
+
*
|
|
1939
|
+
* @generated from field: int64 initiated_event_id = 5;
|
|
1940
|
+
*/
|
|
1941
|
+
initiatedEventId: bigint;
|
|
1942
|
+
/**
|
|
1943
|
+
* Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
|
|
1944
|
+
*
|
|
1945
|
+
* @generated from field: int64 started_event_id = 6;
|
|
1946
|
+
*/
|
|
1947
|
+
startedEventId: bigint;
|
|
1948
|
+
};
|
|
1949
|
+
/**
|
|
1950
|
+
* Describes the message temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes.
|
|
1951
|
+
* Use `create(ChildWorkflowExecutionCompletedEventAttributesSchema)` to create a new message.
|
|
1952
|
+
*/
|
|
1953
|
+
export declare const ChildWorkflowExecutionCompletedEventAttributesSchema: GenMessage<ChildWorkflowExecutionCompletedEventAttributes>;
|
|
1954
|
+
/**
|
|
1955
|
+
* @generated from message temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes
|
|
1956
|
+
*/
|
|
1957
|
+
export type ChildWorkflowExecutionFailedEventAttributes = Message<"temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes"> & {
|
|
1958
|
+
/**
|
|
1959
|
+
* @generated from field: temporal.api.failure.v1.Failure failure = 1;
|
|
1960
|
+
*/
|
|
1961
|
+
failure?: Failure;
|
|
1962
|
+
/**
|
|
1963
|
+
* Namespace of the child workflow.
|
|
1964
|
+
* SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
|
|
1965
|
+
*
|
|
1966
|
+
* @generated from field: string namespace = 2;
|
|
1967
|
+
*/
|
|
1968
|
+
namespace: string;
|
|
1969
|
+
/**
|
|
1970
|
+
* @generated from field: string namespace_id = 8;
|
|
1971
|
+
*/
|
|
1972
|
+
namespaceId: string;
|
|
1973
|
+
/**
|
|
1974
|
+
* @generated from field: temporal.api.common.v1.WorkflowExecution workflow_execution = 3;
|
|
1975
|
+
*/
|
|
1976
|
+
workflowExecution?: WorkflowExecution;
|
|
1977
|
+
/**
|
|
1978
|
+
* @generated from field: temporal.api.common.v1.WorkflowType workflow_type = 4;
|
|
1979
|
+
*/
|
|
1980
|
+
workflowType?: WorkflowType;
|
|
1981
|
+
/**
|
|
1982
|
+
* Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
|
|
1983
|
+
*
|
|
1984
|
+
* @generated from field: int64 initiated_event_id = 5;
|
|
1985
|
+
*/
|
|
1986
|
+
initiatedEventId: bigint;
|
|
1987
|
+
/**
|
|
1988
|
+
* Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
|
|
1989
|
+
*
|
|
1990
|
+
* @generated from field: int64 started_event_id = 6;
|
|
1991
|
+
*/
|
|
1992
|
+
startedEventId: bigint;
|
|
1993
|
+
/**
|
|
1994
|
+
* @generated from field: temporal.api.enums.v1.RetryState retry_state = 7;
|
|
1995
|
+
*/
|
|
1996
|
+
retryState: RetryState;
|
|
1997
|
+
};
|
|
1998
|
+
/**
|
|
1999
|
+
* Describes the message temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes.
|
|
2000
|
+
* Use `create(ChildWorkflowExecutionFailedEventAttributesSchema)` to create a new message.
|
|
2001
|
+
*/
|
|
2002
|
+
export declare const ChildWorkflowExecutionFailedEventAttributesSchema: GenMessage<ChildWorkflowExecutionFailedEventAttributes>;
|
|
2003
|
+
/**
|
|
2004
|
+
* @generated from message temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes
|
|
2005
|
+
*/
|
|
2006
|
+
export type ChildWorkflowExecutionCanceledEventAttributes = Message<"temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes"> & {
|
|
2007
|
+
/**
|
|
2008
|
+
* @generated from field: temporal.api.common.v1.Payloads details = 1;
|
|
2009
|
+
*/
|
|
2010
|
+
details?: Payloads;
|
|
2011
|
+
/**
|
|
2012
|
+
* Namespace of the child workflow.
|
|
2013
|
+
* SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
|
|
2014
|
+
*
|
|
2015
|
+
* @generated from field: string namespace = 2;
|
|
2016
|
+
*/
|
|
2017
|
+
namespace: string;
|
|
2018
|
+
/**
|
|
2019
|
+
* @generated from field: string namespace_id = 7;
|
|
2020
|
+
*/
|
|
2021
|
+
namespaceId: string;
|
|
2022
|
+
/**
|
|
2023
|
+
* @generated from field: temporal.api.common.v1.WorkflowExecution workflow_execution = 3;
|
|
2024
|
+
*/
|
|
2025
|
+
workflowExecution?: WorkflowExecution;
|
|
2026
|
+
/**
|
|
2027
|
+
* @generated from field: temporal.api.common.v1.WorkflowType workflow_type = 4;
|
|
2028
|
+
*/
|
|
2029
|
+
workflowType?: WorkflowType;
|
|
2030
|
+
/**
|
|
2031
|
+
* Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
|
|
2032
|
+
*
|
|
2033
|
+
* @generated from field: int64 initiated_event_id = 5;
|
|
2034
|
+
*/
|
|
2035
|
+
initiatedEventId: bigint;
|
|
2036
|
+
/**
|
|
2037
|
+
* Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
|
|
2038
|
+
*
|
|
2039
|
+
* @generated from field: int64 started_event_id = 6;
|
|
2040
|
+
*/
|
|
2041
|
+
startedEventId: bigint;
|
|
2042
|
+
};
|
|
2043
|
+
/**
|
|
2044
|
+
* Describes the message temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes.
|
|
2045
|
+
* Use `create(ChildWorkflowExecutionCanceledEventAttributesSchema)` to create a new message.
|
|
2046
|
+
*/
|
|
2047
|
+
export declare const ChildWorkflowExecutionCanceledEventAttributesSchema: GenMessage<ChildWorkflowExecutionCanceledEventAttributes>;
|
|
2048
|
+
/**
|
|
2049
|
+
* @generated from message temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes
|
|
2050
|
+
*/
|
|
2051
|
+
export type ChildWorkflowExecutionTimedOutEventAttributes = Message<"temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes"> & {
|
|
2052
|
+
/**
|
|
2053
|
+
* Namespace of the child workflow.
|
|
2054
|
+
* SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
|
|
2055
|
+
*
|
|
2056
|
+
* @generated from field: string namespace = 1;
|
|
2057
|
+
*/
|
|
2058
|
+
namespace: string;
|
|
2059
|
+
/**
|
|
2060
|
+
* @generated from field: string namespace_id = 7;
|
|
2061
|
+
*/
|
|
2062
|
+
namespaceId: string;
|
|
2063
|
+
/**
|
|
2064
|
+
* @generated from field: temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
|
|
2065
|
+
*/
|
|
2066
|
+
workflowExecution?: WorkflowExecution;
|
|
2067
|
+
/**
|
|
2068
|
+
* @generated from field: temporal.api.common.v1.WorkflowType workflow_type = 3;
|
|
2069
|
+
*/
|
|
2070
|
+
workflowType?: WorkflowType;
|
|
2071
|
+
/**
|
|
2072
|
+
* Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
|
|
2073
|
+
*
|
|
2074
|
+
* @generated from field: int64 initiated_event_id = 4;
|
|
2075
|
+
*/
|
|
2076
|
+
initiatedEventId: bigint;
|
|
2077
|
+
/**
|
|
2078
|
+
* Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
|
|
2079
|
+
*
|
|
2080
|
+
* @generated from field: int64 started_event_id = 5;
|
|
2081
|
+
*/
|
|
2082
|
+
startedEventId: bigint;
|
|
2083
|
+
/**
|
|
2084
|
+
* @generated from field: temporal.api.enums.v1.RetryState retry_state = 6;
|
|
2085
|
+
*/
|
|
2086
|
+
retryState: RetryState;
|
|
2087
|
+
};
|
|
2088
|
+
/**
|
|
2089
|
+
* Describes the message temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes.
|
|
2090
|
+
* Use `create(ChildWorkflowExecutionTimedOutEventAttributesSchema)` to create a new message.
|
|
2091
|
+
*/
|
|
2092
|
+
export declare const ChildWorkflowExecutionTimedOutEventAttributesSchema: GenMessage<ChildWorkflowExecutionTimedOutEventAttributes>;
|
|
2093
|
+
/**
|
|
2094
|
+
* @generated from message temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes
|
|
2095
|
+
*/
|
|
2096
|
+
export type ChildWorkflowExecutionTerminatedEventAttributes = Message<"temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes"> & {
|
|
2097
|
+
/**
|
|
2098
|
+
* Namespace of the child workflow.
|
|
2099
|
+
* SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
|
|
2100
|
+
*
|
|
2101
|
+
* @generated from field: string namespace = 1;
|
|
2102
|
+
*/
|
|
2103
|
+
namespace: string;
|
|
2104
|
+
/**
|
|
2105
|
+
* @generated from field: string namespace_id = 6;
|
|
2106
|
+
*/
|
|
2107
|
+
namespaceId: string;
|
|
2108
|
+
/**
|
|
2109
|
+
* @generated from field: temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
|
|
2110
|
+
*/
|
|
2111
|
+
workflowExecution?: WorkflowExecution;
|
|
2112
|
+
/**
|
|
2113
|
+
* @generated from field: temporal.api.common.v1.WorkflowType workflow_type = 3;
|
|
2114
|
+
*/
|
|
2115
|
+
workflowType?: WorkflowType;
|
|
2116
|
+
/**
|
|
2117
|
+
* Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
|
|
2118
|
+
*
|
|
2119
|
+
* @generated from field: int64 initiated_event_id = 4;
|
|
2120
|
+
*/
|
|
2121
|
+
initiatedEventId: bigint;
|
|
2122
|
+
/**
|
|
2123
|
+
* Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
|
|
2124
|
+
*
|
|
2125
|
+
* @generated from field: int64 started_event_id = 5;
|
|
2126
|
+
*/
|
|
2127
|
+
startedEventId: bigint;
|
|
2128
|
+
};
|
|
2129
|
+
/**
|
|
2130
|
+
* Describes the message temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.
|
|
2131
|
+
* Use `create(ChildWorkflowExecutionTerminatedEventAttributesSchema)` to create a new message.
|
|
2132
|
+
*/
|
|
2133
|
+
export declare const ChildWorkflowExecutionTerminatedEventAttributesSchema: GenMessage<ChildWorkflowExecutionTerminatedEventAttributes>;
|
|
2134
|
+
/**
|
|
2135
|
+
* @generated from message temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes
|
|
2136
|
+
*/
|
|
2137
|
+
export type WorkflowExecutionOptionsUpdatedEventAttributes = Message<"temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes"> & {
|
|
2138
|
+
/**
|
|
2139
|
+
* Versioning override upserted in this event.
|
|
2140
|
+
* Ignored if nil or if unset_versioning_override is true.
|
|
2141
|
+
*
|
|
2142
|
+
* @generated from field: temporal.api.workflow.v1.VersioningOverride versioning_override = 1;
|
|
2143
|
+
*/
|
|
2144
|
+
versioningOverride?: VersioningOverride;
|
|
2145
|
+
/**
|
|
2146
|
+
* Versioning override removed in this event.
|
|
2147
|
+
*
|
|
2148
|
+
* @generated from field: bool unset_versioning_override = 2;
|
|
2149
|
+
*/
|
|
2150
|
+
unsetVersioningOverride: boolean;
|
|
2151
|
+
/**
|
|
2152
|
+
* Request ID attachedto the running workflow execution so that subsequent requests with same
|
|
2153
|
+
* request ID will be deduped.
|
|
2154
|
+
*
|
|
2155
|
+
* @generated from field: string attached_request_id = 3;
|
|
2156
|
+
*/
|
|
2157
|
+
attachedRequestId: string;
|
|
2158
|
+
/**
|
|
2159
|
+
* Completion callbacks attached to the running workflow execution.
|
|
2160
|
+
*
|
|
2161
|
+
* @generated from field: repeated temporal.api.common.v1.Callback attached_completion_callbacks = 4;
|
|
2162
|
+
*/
|
|
2163
|
+
attachedCompletionCallbacks: Callback[];
|
|
2164
|
+
/**
|
|
2165
|
+
* Optional. The identity of the client who initiated the request that created this event.
|
|
2166
|
+
*
|
|
2167
|
+
* @generated from field: string identity = 5;
|
|
2168
|
+
*/
|
|
2169
|
+
identity: string;
|
|
2170
|
+
};
|
|
2171
|
+
/**
|
|
2172
|
+
* Describes the message temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes.
|
|
2173
|
+
* Use `create(WorkflowExecutionOptionsUpdatedEventAttributesSchema)` to create a new message.
|
|
2174
|
+
*/
|
|
2175
|
+
export declare const WorkflowExecutionOptionsUpdatedEventAttributesSchema: GenMessage<WorkflowExecutionOptionsUpdatedEventAttributes>;
|
|
2176
|
+
/**
|
|
2177
|
+
* Not used anywhere. Use case is replaced by WorkflowExecutionOptionsUpdatedEventAttributes
|
|
2178
|
+
*
|
|
2179
|
+
* @generated from message temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes
|
|
2180
|
+
*/
|
|
2181
|
+
export type WorkflowPropertiesModifiedExternallyEventAttributes = Message<"temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes"> & {
|
|
2182
|
+
/**
|
|
2183
|
+
* Not used.
|
|
2184
|
+
*
|
|
2185
|
+
* @generated from field: string new_task_queue = 1;
|
|
2186
|
+
*/
|
|
2187
|
+
newTaskQueue: string;
|
|
2188
|
+
/**
|
|
2189
|
+
* Not used.
|
|
2190
|
+
*
|
|
2191
|
+
* @generated from field: google.protobuf.Duration new_workflow_task_timeout = 2;
|
|
2192
|
+
*/
|
|
2193
|
+
newWorkflowTaskTimeout?: Duration;
|
|
2194
|
+
/**
|
|
2195
|
+
* Not used.
|
|
2196
|
+
*
|
|
2197
|
+
* @generated from field: google.protobuf.Duration new_workflow_run_timeout = 3;
|
|
2198
|
+
*/
|
|
2199
|
+
newWorkflowRunTimeout?: Duration;
|
|
2200
|
+
/**
|
|
2201
|
+
* Not used.
|
|
2202
|
+
*
|
|
2203
|
+
* @generated from field: google.protobuf.Duration new_workflow_execution_timeout = 4;
|
|
2204
|
+
*/
|
|
2205
|
+
newWorkflowExecutionTimeout?: Duration;
|
|
2206
|
+
/**
|
|
2207
|
+
* Not used.
|
|
2208
|
+
*
|
|
2209
|
+
* @generated from field: temporal.api.common.v1.Memo upserted_memo = 5;
|
|
2210
|
+
*/
|
|
2211
|
+
upsertedMemo?: Memo;
|
|
2212
|
+
};
|
|
2213
|
+
/**
|
|
2214
|
+
* Describes the message temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.
|
|
2215
|
+
* Use `create(WorkflowPropertiesModifiedExternallyEventAttributesSchema)` to create a new message.
|
|
2216
|
+
*/
|
|
2217
|
+
export declare const WorkflowPropertiesModifiedExternallyEventAttributesSchema: GenMessage<WorkflowPropertiesModifiedExternallyEventAttributes>;
|
|
2218
|
+
/**
|
|
2219
|
+
* @generated from message temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes
|
|
2220
|
+
*/
|
|
2221
|
+
export type ActivityPropertiesModifiedExternallyEventAttributes = Message<"temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes"> & {
|
|
2222
|
+
/**
|
|
2223
|
+
* The id of the `ACTIVITY_TASK_SCHEDULED` event this modification corresponds to.
|
|
2224
|
+
*
|
|
2225
|
+
* @generated from field: int64 scheduled_event_id = 1;
|
|
2226
|
+
*/
|
|
2227
|
+
scheduledEventId: bigint;
|
|
2228
|
+
/**
|
|
2229
|
+
* If set, update the retry policy of the activity, replacing it with the specified one.
|
|
2230
|
+
* The number of attempts at the activity is preserved.
|
|
2231
|
+
*
|
|
2232
|
+
* @generated from field: temporal.api.common.v1.RetryPolicy new_retry_policy = 2;
|
|
2233
|
+
*/
|
|
2234
|
+
newRetryPolicy?: RetryPolicy;
|
|
2235
|
+
};
|
|
2236
|
+
/**
|
|
2237
|
+
* Describes the message temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes.
|
|
2238
|
+
* Use `create(ActivityPropertiesModifiedExternallyEventAttributesSchema)` to create a new message.
|
|
2239
|
+
*/
|
|
2240
|
+
export declare const ActivityPropertiesModifiedExternallyEventAttributesSchema: GenMessage<ActivityPropertiesModifiedExternallyEventAttributes>;
|
|
2241
|
+
/**
|
|
2242
|
+
* @generated from message temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes
|
|
2243
|
+
*/
|
|
2244
|
+
export type WorkflowExecutionUpdateAcceptedEventAttributes = Message<"temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes"> & {
|
|
2245
|
+
/**
|
|
2246
|
+
* The instance ID of the update protocol that generated this event.
|
|
2247
|
+
*
|
|
2248
|
+
* @generated from field: string protocol_instance_id = 1;
|
|
2249
|
+
*/
|
|
2250
|
+
protocolInstanceId: string;
|
|
2251
|
+
/**
|
|
2252
|
+
* The message ID of the original request message that initiated this
|
|
2253
|
+
* update. Needed so that the worker can recreate and deliver that same
|
|
2254
|
+
* message as part of replay.
|
|
2255
|
+
*
|
|
2256
|
+
* @generated from field: string accepted_request_message_id = 2;
|
|
2257
|
+
*/
|
|
2258
|
+
acceptedRequestMessageId: string;
|
|
2259
|
+
/**
|
|
2260
|
+
* The event ID used to sequence the original request message.
|
|
2261
|
+
*
|
|
2262
|
+
* @generated from field: int64 accepted_request_sequencing_event_id = 3;
|
|
2263
|
+
*/
|
|
2264
|
+
acceptedRequestSequencingEventId: bigint;
|
|
2265
|
+
/**
|
|
2266
|
+
* The message payload of the original request message that initiated this
|
|
2267
|
+
* update.
|
|
2268
|
+
*
|
|
2269
|
+
* @generated from field: temporal.api.update.v1.Request accepted_request = 4;
|
|
2270
|
+
*/
|
|
2271
|
+
acceptedRequest?: Request;
|
|
2272
|
+
};
|
|
2273
|
+
/**
|
|
2274
|
+
* Describes the message temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes.
|
|
2275
|
+
* Use `create(WorkflowExecutionUpdateAcceptedEventAttributesSchema)` to create a new message.
|
|
2276
|
+
*/
|
|
2277
|
+
export declare const WorkflowExecutionUpdateAcceptedEventAttributesSchema: GenMessage<WorkflowExecutionUpdateAcceptedEventAttributes>;
|
|
2278
|
+
/**
|
|
2279
|
+
* @generated from message temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes
|
|
2280
|
+
*/
|
|
2281
|
+
export type WorkflowExecutionUpdateCompletedEventAttributes = Message<"temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes"> & {
|
|
2282
|
+
/**
|
|
2283
|
+
* The metadata about this update.
|
|
2284
|
+
*
|
|
2285
|
+
* @generated from field: temporal.api.update.v1.Meta meta = 1;
|
|
2286
|
+
*/
|
|
2287
|
+
meta?: Meta;
|
|
2288
|
+
/**
|
|
2289
|
+
* The event ID indicating the acceptance of this update.
|
|
2290
|
+
*
|
|
2291
|
+
* @generated from field: int64 accepted_event_id = 3;
|
|
2292
|
+
*/
|
|
2293
|
+
acceptedEventId: bigint;
|
|
2294
|
+
/**
|
|
2295
|
+
* The outcome of executing the workflow update function.
|
|
2296
|
+
*
|
|
2297
|
+
* @generated from field: temporal.api.update.v1.Outcome outcome = 2;
|
|
2298
|
+
*/
|
|
2299
|
+
outcome?: Outcome;
|
|
2300
|
+
};
|
|
2301
|
+
/**
|
|
2302
|
+
* Describes the message temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes.
|
|
2303
|
+
* Use `create(WorkflowExecutionUpdateCompletedEventAttributesSchema)` to create a new message.
|
|
2304
|
+
*/
|
|
2305
|
+
export declare const WorkflowExecutionUpdateCompletedEventAttributesSchema: GenMessage<WorkflowExecutionUpdateCompletedEventAttributes>;
|
|
2306
|
+
/**
|
|
2307
|
+
* @generated from message temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes
|
|
2308
|
+
*/
|
|
2309
|
+
export type WorkflowExecutionUpdateRejectedEventAttributes = Message<"temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes"> & {
|
|
2310
|
+
/**
|
|
2311
|
+
* The instance ID of the update protocol that generated this event.
|
|
2312
|
+
*
|
|
2313
|
+
* @generated from field: string protocol_instance_id = 1;
|
|
2314
|
+
*/
|
|
2315
|
+
protocolInstanceId: string;
|
|
2316
|
+
/**
|
|
2317
|
+
* The message ID of the original request message that initiated this
|
|
2318
|
+
* update. Needed so that the worker can recreate and deliver that same
|
|
2319
|
+
* message as part of replay.
|
|
2320
|
+
*
|
|
2321
|
+
* @generated from field: string rejected_request_message_id = 2;
|
|
2322
|
+
*/
|
|
2323
|
+
rejectedRequestMessageId: string;
|
|
2324
|
+
/**
|
|
2325
|
+
* The event ID used to sequence the original request message.
|
|
2326
|
+
*
|
|
2327
|
+
* @generated from field: int64 rejected_request_sequencing_event_id = 3;
|
|
2328
|
+
*/
|
|
2329
|
+
rejectedRequestSequencingEventId: bigint;
|
|
2330
|
+
/**
|
|
2331
|
+
* The message payload of the original request message that initiated this
|
|
2332
|
+
* update.
|
|
2333
|
+
*
|
|
2334
|
+
* @generated from field: temporal.api.update.v1.Request rejected_request = 4;
|
|
2335
|
+
*/
|
|
2336
|
+
rejectedRequest?: Request;
|
|
2337
|
+
/**
|
|
2338
|
+
* The cause of rejection.
|
|
2339
|
+
*
|
|
2340
|
+
* @generated from field: temporal.api.failure.v1.Failure failure = 5;
|
|
2341
|
+
*/
|
|
2342
|
+
failure?: Failure;
|
|
2343
|
+
};
|
|
2344
|
+
/**
|
|
2345
|
+
* Describes the message temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.
|
|
2346
|
+
* Use `create(WorkflowExecutionUpdateRejectedEventAttributesSchema)` to create a new message.
|
|
2347
|
+
*/
|
|
2348
|
+
export declare const WorkflowExecutionUpdateRejectedEventAttributesSchema: GenMessage<WorkflowExecutionUpdateRejectedEventAttributes>;
|
|
2349
|
+
/**
|
|
2350
|
+
* @generated from message temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributes
|
|
2351
|
+
*/
|
|
2352
|
+
export type WorkflowExecutionUpdateAdmittedEventAttributes = Message<"temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributes"> & {
|
|
2353
|
+
/**
|
|
2354
|
+
* The update request associated with this event.
|
|
2355
|
+
*
|
|
2356
|
+
* @generated from field: temporal.api.update.v1.Request request = 1;
|
|
2357
|
+
*/
|
|
2358
|
+
request?: Request;
|
|
2359
|
+
/**
|
|
2360
|
+
* An explanation of why this event was written to history.
|
|
2361
|
+
*
|
|
2362
|
+
* @generated from field: temporal.api.enums.v1.UpdateAdmittedEventOrigin origin = 2;
|
|
2363
|
+
*/
|
|
2364
|
+
origin: UpdateAdmittedEventOrigin;
|
|
2365
|
+
};
|
|
2366
|
+
/**
|
|
2367
|
+
* Describes the message temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributes.
|
|
2368
|
+
* Use `create(WorkflowExecutionUpdateAdmittedEventAttributesSchema)` to create a new message.
|
|
2369
|
+
*/
|
|
2370
|
+
export declare const WorkflowExecutionUpdateAdmittedEventAttributesSchema: GenMessage<WorkflowExecutionUpdateAdmittedEventAttributes>;
|
|
2371
|
+
/**
|
|
2372
|
+
* Event marking that an operation was scheduled by a workflow via the ScheduleNexusOperation command.
|
|
2373
|
+
*
|
|
2374
|
+
* @generated from message temporal.api.history.v1.NexusOperationScheduledEventAttributes
|
|
2375
|
+
*/
|
|
2376
|
+
export type NexusOperationScheduledEventAttributes = Message<"temporal.api.history.v1.NexusOperationScheduledEventAttributes"> & {
|
|
2377
|
+
/**
|
|
2378
|
+
* Endpoint name, must exist in the endpoint registry.
|
|
2379
|
+
*
|
|
2380
|
+
* @generated from field: string endpoint = 1;
|
|
2381
|
+
*/
|
|
2382
|
+
endpoint: string;
|
|
2383
|
+
/**
|
|
2384
|
+
* Service name.
|
|
2385
|
+
*
|
|
2386
|
+
* @generated from field: string service = 2;
|
|
2387
|
+
*/
|
|
2388
|
+
service: string;
|
|
2389
|
+
/**
|
|
2390
|
+
* Operation name.
|
|
2391
|
+
*
|
|
2392
|
+
* @generated from field: string operation = 3;
|
|
2393
|
+
*/
|
|
2394
|
+
operation: string;
|
|
2395
|
+
/**
|
|
2396
|
+
* Input for the operation. The server converts this into Nexus request content and the appropriate content headers
|
|
2397
|
+
* internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the
|
|
2398
|
+
* content is transformed back to the original Payload stored in this event.
|
|
2399
|
+
*
|
|
2400
|
+
* @generated from field: temporal.api.common.v1.Payload input = 4;
|
|
2401
|
+
*/
|
|
2402
|
+
input?: Payload;
|
|
2403
|
+
/**
|
|
2404
|
+
* Schedule-to-close timeout for this operation.
|
|
2405
|
+
* Indicates how long the caller is willing to wait for operation completion.
|
|
2406
|
+
* Calls are retried internally by the server.
|
|
2407
|
+
* (-- api-linter: core::0140::prepositions=disabled
|
|
2408
|
+
* aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
2409
|
+
*
|
|
2410
|
+
* @generated from field: google.protobuf.Duration schedule_to_close_timeout = 5;
|
|
2411
|
+
*/
|
|
2412
|
+
scheduleToCloseTimeout?: Duration;
|
|
2413
|
+
/**
|
|
2414
|
+
* Header to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal
|
|
2415
|
+
* activities and child workflows, these are transmitted to Nexus operations that may be external and are not
|
|
2416
|
+
* traditional payloads.
|
|
2417
|
+
*
|
|
2418
|
+
* @generated from field: map<string, string> nexus_header = 6;
|
|
2419
|
+
*/
|
|
2420
|
+
nexusHeader: {
|
|
2421
|
+
[key: string]: string;
|
|
2422
|
+
};
|
|
2423
|
+
/**
|
|
2424
|
+
* The `WORKFLOW_TASK_COMPLETED` event that the corresponding ScheduleNexusOperation command was reported with.
|
|
2425
|
+
*
|
|
2426
|
+
* @generated from field: int64 workflow_task_completed_event_id = 7;
|
|
2427
|
+
*/
|
|
2428
|
+
workflowTaskCompletedEventId: bigint;
|
|
2429
|
+
/**
|
|
2430
|
+
* A unique ID generated by the history service upon creation of this event.
|
|
2431
|
+
* The ID will be transmitted with all nexus StartOperation requests and is used as an idempotentency key.
|
|
2432
|
+
*
|
|
2433
|
+
* @generated from field: string request_id = 8;
|
|
2434
|
+
*/
|
|
2435
|
+
requestId: string;
|
|
2436
|
+
/**
|
|
2437
|
+
* Endpoint ID as resolved in the endpoint registry at the time this event was generated.
|
|
2438
|
+
* This is stored on the event and used internally by the server in case the endpoint is renamed from the time the
|
|
2439
|
+
* event was originally scheduled.
|
|
2440
|
+
*
|
|
2441
|
+
* @generated from field: string endpoint_id = 9;
|
|
2442
|
+
*/
|
|
2443
|
+
endpointId: string;
|
|
2444
|
+
};
|
|
2445
|
+
/**
|
|
2446
|
+
* Describes the message temporal.api.history.v1.NexusOperationScheduledEventAttributes.
|
|
2447
|
+
* Use `create(NexusOperationScheduledEventAttributesSchema)` to create a new message.
|
|
2448
|
+
*/
|
|
2449
|
+
export declare const NexusOperationScheduledEventAttributesSchema: GenMessage<NexusOperationScheduledEventAttributes>;
|
|
2450
|
+
/**
|
|
2451
|
+
* Event marking an asynchronous operation was started by the responding Nexus handler.
|
|
2452
|
+
* If the operation completes synchronously, this event is not generated.
|
|
2453
|
+
* In rare situations, such as request timeouts, the service may fail to record the actual start time and will fabricate
|
|
2454
|
+
* this event upon receiving the operation completion via callback.
|
|
2455
|
+
*
|
|
2456
|
+
* @generated from message temporal.api.history.v1.NexusOperationStartedEventAttributes
|
|
2457
|
+
*/
|
|
2458
|
+
export type NexusOperationStartedEventAttributes = Message<"temporal.api.history.v1.NexusOperationStartedEventAttributes"> & {
|
|
2459
|
+
/**
|
|
2460
|
+
* The ID of the `NEXUS_OPERATION_SCHEDULED` event this task corresponds to.
|
|
2461
|
+
*
|
|
2462
|
+
* @generated from field: int64 scheduled_event_id = 1;
|
|
2463
|
+
*/
|
|
2464
|
+
scheduledEventId: bigint;
|
|
2465
|
+
/**
|
|
2466
|
+
* The operation ID returned by the Nexus handler in the response to the StartOperation request.
|
|
2467
|
+
* This ID is used when canceling the operation.
|
|
2468
|
+
*
|
|
2469
|
+
* Deprecated: Renamed to operation_token.
|
|
2470
|
+
*
|
|
2471
|
+
* @generated from field: string operation_id = 3 [deprecated = true];
|
|
2472
|
+
* @deprecated
|
|
2473
|
+
*/
|
|
2474
|
+
operationId: string;
|
|
2475
|
+
/**
|
|
2476
|
+
* The request ID allocated at schedule time.
|
|
2477
|
+
*
|
|
2478
|
+
* @generated from field: string request_id = 4;
|
|
2479
|
+
*/
|
|
2480
|
+
requestId: string;
|
|
2481
|
+
/**
|
|
2482
|
+
* The operation token returned by the Nexus handler in the response to the StartOperation request.
|
|
2483
|
+
* This token is used when canceling the operation.
|
|
2484
|
+
*
|
|
2485
|
+
* @generated from field: string operation_token = 5;
|
|
2486
|
+
*/
|
|
2487
|
+
operationToken: string;
|
|
2488
|
+
};
|
|
2489
|
+
/**
|
|
2490
|
+
* Describes the message temporal.api.history.v1.NexusOperationStartedEventAttributes.
|
|
2491
|
+
* Use `create(NexusOperationStartedEventAttributesSchema)` to create a new message.
|
|
2492
|
+
*/
|
|
2493
|
+
export declare const NexusOperationStartedEventAttributesSchema: GenMessage<NexusOperationStartedEventAttributes>;
|
|
2494
|
+
/**
|
|
2495
|
+
* Nexus operation completed successfully.
|
|
2496
|
+
*
|
|
2497
|
+
* @generated from message temporal.api.history.v1.NexusOperationCompletedEventAttributes
|
|
2498
|
+
*/
|
|
2499
|
+
export type NexusOperationCompletedEventAttributes = Message<"temporal.api.history.v1.NexusOperationCompletedEventAttributes"> & {
|
|
2500
|
+
/**
|
|
2501
|
+
* The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation.
|
|
2502
|
+
*
|
|
2503
|
+
* @generated from field: int64 scheduled_event_id = 1;
|
|
2504
|
+
*/
|
|
2505
|
+
scheduledEventId: bigint;
|
|
2506
|
+
/**
|
|
2507
|
+
* Serialized result of the Nexus operation. The response of the Nexus handler.
|
|
2508
|
+
* Delivered either via a completion callback or as a response to a synchronous operation.
|
|
2509
|
+
*
|
|
2510
|
+
* @generated from field: temporal.api.common.v1.Payload result = 2;
|
|
2511
|
+
*/
|
|
2512
|
+
result?: Payload;
|
|
2513
|
+
/**
|
|
2514
|
+
* The request ID allocated at schedule time.
|
|
2515
|
+
*
|
|
2516
|
+
* @generated from field: string request_id = 3;
|
|
2517
|
+
*/
|
|
2518
|
+
requestId: string;
|
|
2519
|
+
};
|
|
2520
|
+
/**
|
|
2521
|
+
* Describes the message temporal.api.history.v1.NexusOperationCompletedEventAttributes.
|
|
2522
|
+
* Use `create(NexusOperationCompletedEventAttributesSchema)` to create a new message.
|
|
2523
|
+
*/
|
|
2524
|
+
export declare const NexusOperationCompletedEventAttributesSchema: GenMessage<NexusOperationCompletedEventAttributes>;
|
|
2525
|
+
/**
|
|
2526
|
+
* Nexus operation failed.
|
|
2527
|
+
*
|
|
2528
|
+
* @generated from message temporal.api.history.v1.NexusOperationFailedEventAttributes
|
|
2529
|
+
*/
|
|
2530
|
+
export type NexusOperationFailedEventAttributes = Message<"temporal.api.history.v1.NexusOperationFailedEventAttributes"> & {
|
|
2531
|
+
/**
|
|
2532
|
+
* The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation.
|
|
2533
|
+
*
|
|
2534
|
+
* @generated from field: int64 scheduled_event_id = 1;
|
|
2535
|
+
*/
|
|
2536
|
+
scheduledEventId: bigint;
|
|
2537
|
+
/**
|
|
2538
|
+
* Failure details. A NexusOperationFailureInfo wrapping an ApplicationFailureInfo.
|
|
2539
|
+
*
|
|
2540
|
+
* @generated from field: temporal.api.failure.v1.Failure failure = 2;
|
|
2541
|
+
*/
|
|
2542
|
+
failure?: Failure;
|
|
2543
|
+
/**
|
|
2544
|
+
* The request ID allocated at schedule time.
|
|
2545
|
+
*
|
|
2546
|
+
* @generated from field: string request_id = 3;
|
|
2547
|
+
*/
|
|
2548
|
+
requestId: string;
|
|
2549
|
+
};
|
|
2550
|
+
/**
|
|
2551
|
+
* Describes the message temporal.api.history.v1.NexusOperationFailedEventAttributes.
|
|
2552
|
+
* Use `create(NexusOperationFailedEventAttributesSchema)` to create a new message.
|
|
2553
|
+
*/
|
|
2554
|
+
export declare const NexusOperationFailedEventAttributesSchema: GenMessage<NexusOperationFailedEventAttributes>;
|
|
2555
|
+
/**
|
|
2556
|
+
* Nexus operation timed out.
|
|
2557
|
+
*
|
|
2558
|
+
* @generated from message temporal.api.history.v1.NexusOperationTimedOutEventAttributes
|
|
2559
|
+
*/
|
|
2560
|
+
export type NexusOperationTimedOutEventAttributes = Message<"temporal.api.history.v1.NexusOperationTimedOutEventAttributes"> & {
|
|
2561
|
+
/**
|
|
2562
|
+
* The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation.
|
|
2563
|
+
*
|
|
2564
|
+
* @generated from field: int64 scheduled_event_id = 1;
|
|
2565
|
+
*/
|
|
2566
|
+
scheduledEventId: bigint;
|
|
2567
|
+
/**
|
|
2568
|
+
* Failure details. A NexusOperationFailureInfo wrapping a CanceledFailureInfo.
|
|
2569
|
+
*
|
|
2570
|
+
* @generated from field: temporal.api.failure.v1.Failure failure = 2;
|
|
2571
|
+
*/
|
|
2572
|
+
failure?: Failure;
|
|
2573
|
+
/**
|
|
2574
|
+
* The request ID allocated at schedule time.
|
|
2575
|
+
*
|
|
2576
|
+
* @generated from field: string request_id = 3;
|
|
2577
|
+
*/
|
|
2578
|
+
requestId: string;
|
|
2579
|
+
};
|
|
2580
|
+
/**
|
|
2581
|
+
* Describes the message temporal.api.history.v1.NexusOperationTimedOutEventAttributes.
|
|
2582
|
+
* Use `create(NexusOperationTimedOutEventAttributesSchema)` to create a new message.
|
|
2583
|
+
*/
|
|
2584
|
+
export declare const NexusOperationTimedOutEventAttributesSchema: GenMessage<NexusOperationTimedOutEventAttributes>;
|
|
2585
|
+
/**
|
|
2586
|
+
* Nexus operation completed as canceled. May or may not have been due to a cancellation request by the workflow.
|
|
2587
|
+
*
|
|
2588
|
+
* @generated from message temporal.api.history.v1.NexusOperationCanceledEventAttributes
|
|
2589
|
+
*/
|
|
2590
|
+
export type NexusOperationCanceledEventAttributes = Message<"temporal.api.history.v1.NexusOperationCanceledEventAttributes"> & {
|
|
2591
|
+
/**
|
|
2592
|
+
* The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation.
|
|
2593
|
+
*
|
|
2594
|
+
* @generated from field: int64 scheduled_event_id = 1;
|
|
2595
|
+
*/
|
|
2596
|
+
scheduledEventId: bigint;
|
|
2597
|
+
/**
|
|
2598
|
+
* Cancellation details.
|
|
2599
|
+
*
|
|
2600
|
+
* @generated from field: temporal.api.failure.v1.Failure failure = 2;
|
|
2601
|
+
*/
|
|
2602
|
+
failure?: Failure;
|
|
2603
|
+
/**
|
|
2604
|
+
* The request ID allocated at schedule time.
|
|
2605
|
+
*
|
|
2606
|
+
* @generated from field: string request_id = 3;
|
|
2607
|
+
*/
|
|
2608
|
+
requestId: string;
|
|
2609
|
+
};
|
|
2610
|
+
/**
|
|
2611
|
+
* Describes the message temporal.api.history.v1.NexusOperationCanceledEventAttributes.
|
|
2612
|
+
* Use `create(NexusOperationCanceledEventAttributesSchema)` to create a new message.
|
|
2613
|
+
*/
|
|
2614
|
+
export declare const NexusOperationCanceledEventAttributesSchema: GenMessage<NexusOperationCanceledEventAttributes>;
|
|
2615
|
+
/**
|
|
2616
|
+
* @generated from message temporal.api.history.v1.NexusOperationCancelRequestedEventAttributes
|
|
2617
|
+
*/
|
|
2618
|
+
export type NexusOperationCancelRequestedEventAttributes = Message<"temporal.api.history.v1.NexusOperationCancelRequestedEventAttributes"> & {
|
|
2619
|
+
/**
|
|
2620
|
+
* The id of the `NEXUS_OPERATION_SCHEDULED` event this cancel request corresponds to.
|
|
2621
|
+
*
|
|
2622
|
+
* @generated from field: int64 scheduled_event_id = 1;
|
|
2623
|
+
*/
|
|
2624
|
+
scheduledEventId: bigint;
|
|
2625
|
+
/**
|
|
2626
|
+
* The `WORKFLOW_TASK_COMPLETED` event that the corresponding RequestCancelNexusOperation command was reported
|
|
2627
|
+
* with.
|
|
2628
|
+
*
|
|
2629
|
+
* @generated from field: int64 workflow_task_completed_event_id = 2;
|
|
2630
|
+
*/
|
|
2631
|
+
workflowTaskCompletedEventId: bigint;
|
|
2632
|
+
};
|
|
2633
|
+
/**
|
|
2634
|
+
* Describes the message temporal.api.history.v1.NexusOperationCancelRequestedEventAttributes.
|
|
2635
|
+
* Use `create(NexusOperationCancelRequestedEventAttributesSchema)` to create a new message.
|
|
2636
|
+
*/
|
|
2637
|
+
export declare const NexusOperationCancelRequestedEventAttributesSchema: GenMessage<NexusOperationCancelRequestedEventAttributes>;
|
|
2638
|
+
/**
|
|
2639
|
+
* @generated from message temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributes
|
|
2640
|
+
*/
|
|
2641
|
+
export type NexusOperationCancelRequestCompletedEventAttributes = Message<"temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributes"> & {
|
|
2642
|
+
/**
|
|
2643
|
+
* The ID of the `NEXUS_OPERATION_CANCEL_REQUESTED` event.
|
|
2644
|
+
*
|
|
2645
|
+
* @generated from field: int64 requested_event_id = 1;
|
|
2646
|
+
*/
|
|
2647
|
+
requestedEventId: bigint;
|
|
2648
|
+
/**
|
|
2649
|
+
* The `WORKFLOW_TASK_COMPLETED` event that the corresponding RequestCancelNexusOperation command was reported
|
|
2650
|
+
* with.
|
|
2651
|
+
*
|
|
2652
|
+
* @generated from field: int64 workflow_task_completed_event_id = 2;
|
|
2653
|
+
*/
|
|
2654
|
+
workflowTaskCompletedEventId: bigint;
|
|
2655
|
+
/**
|
|
2656
|
+
* The id of the `NEXUS_OPERATION_SCHEDULED` event this cancel request corresponds to.
|
|
2657
|
+
*
|
|
2658
|
+
* @generated from field: int64 scheduled_event_id = 3;
|
|
2659
|
+
*/
|
|
2660
|
+
scheduledEventId: bigint;
|
|
2661
|
+
};
|
|
2662
|
+
/**
|
|
2663
|
+
* Describes the message temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributes.
|
|
2664
|
+
* Use `create(NexusOperationCancelRequestCompletedEventAttributesSchema)` to create a new message.
|
|
2665
|
+
*/
|
|
2666
|
+
export declare const NexusOperationCancelRequestCompletedEventAttributesSchema: GenMessage<NexusOperationCancelRequestCompletedEventAttributes>;
|
|
2667
|
+
/**
|
|
2668
|
+
* @generated from message temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributes
|
|
2669
|
+
*/
|
|
2670
|
+
export type NexusOperationCancelRequestFailedEventAttributes = Message<"temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributes"> & {
|
|
2671
|
+
/**
|
|
2672
|
+
* The ID of the `NEXUS_OPERATION_CANCEL_REQUESTED` event.
|
|
2673
|
+
*
|
|
2674
|
+
* @generated from field: int64 requested_event_id = 1;
|
|
2675
|
+
*/
|
|
2676
|
+
requestedEventId: bigint;
|
|
2677
|
+
/**
|
|
2678
|
+
* The `WORKFLOW_TASK_COMPLETED` event that the corresponding RequestCancelNexusOperation command was reported
|
|
2679
|
+
* with.
|
|
2680
|
+
*
|
|
2681
|
+
* @generated from field: int64 workflow_task_completed_event_id = 2;
|
|
2682
|
+
*/
|
|
2683
|
+
workflowTaskCompletedEventId: bigint;
|
|
2684
|
+
/**
|
|
2685
|
+
* Failure details. A NexusOperationFailureInfo wrapping a CanceledFailureInfo.
|
|
2686
|
+
*
|
|
2687
|
+
* @generated from field: temporal.api.failure.v1.Failure failure = 3;
|
|
2688
|
+
*/
|
|
2689
|
+
failure?: Failure;
|
|
2690
|
+
/**
|
|
2691
|
+
* The id of the `NEXUS_OPERATION_SCHEDULED` event this cancel request corresponds to.
|
|
2692
|
+
*
|
|
2693
|
+
* @generated from field: int64 scheduled_event_id = 4;
|
|
2694
|
+
*/
|
|
2695
|
+
scheduledEventId: bigint;
|
|
2696
|
+
};
|
|
2697
|
+
/**
|
|
2698
|
+
* Describes the message temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributes.
|
|
2699
|
+
* Use `create(NexusOperationCancelRequestFailedEventAttributesSchema)` to create a new message.
|
|
2700
|
+
*/
|
|
2701
|
+
export declare const NexusOperationCancelRequestFailedEventAttributesSchema: GenMessage<NexusOperationCancelRequestFailedEventAttributes>;
|
|
2702
|
+
/**
|
|
2703
|
+
* History events are the method by which Temporal SDKs advance (or recreate) workflow state.
|
|
2704
|
+
* See the `EventType` enum for more info about what each event is for.
|
|
2705
|
+
*
|
|
2706
|
+
* @generated from message temporal.api.history.v1.HistoryEvent
|
|
2707
|
+
*/
|
|
2708
|
+
export type HistoryEvent = Message<"temporal.api.history.v1.HistoryEvent"> & {
|
|
2709
|
+
/**
|
|
2710
|
+
* Monotonically increasing event number, starts at 1.
|
|
2711
|
+
*
|
|
2712
|
+
* @generated from field: int64 event_id = 1;
|
|
2713
|
+
*/
|
|
2714
|
+
eventId: bigint;
|
|
2715
|
+
/**
|
|
2716
|
+
* @generated from field: google.protobuf.Timestamp event_time = 2;
|
|
2717
|
+
*/
|
|
2718
|
+
eventTime?: Timestamp;
|
|
2719
|
+
/**
|
|
2720
|
+
* @generated from field: temporal.api.enums.v1.EventType event_type = 3;
|
|
2721
|
+
*/
|
|
2722
|
+
eventType: EventType;
|
|
2723
|
+
/**
|
|
2724
|
+
* Failover version of the event, used by the server for multi-cluster replication and history
|
|
2725
|
+
* versioning. SDKs generally ignore this field.
|
|
2726
|
+
*
|
|
2727
|
+
* @generated from field: int64 version = 4;
|
|
2728
|
+
*/
|
|
2729
|
+
version: bigint;
|
|
2730
|
+
/**
|
|
2731
|
+
* Identifier used by the service to order replication and transfer tasks associated with this
|
|
2732
|
+
* event. SDKs generally ignore this field.
|
|
2733
|
+
*
|
|
2734
|
+
* @generated from field: int64 task_id = 5;
|
|
2735
|
+
*/
|
|
2736
|
+
taskId: bigint;
|
|
2737
|
+
/**
|
|
2738
|
+
* Set to true when the SDK may ignore the event as it does not impact workflow state or
|
|
2739
|
+
* information in any way that the SDK need be concerned with. If an SDK encounters an event
|
|
2740
|
+
* type which it does not understand, it must error unless this is true. If it is true, it's
|
|
2741
|
+
* acceptable for the event type and/or attributes to be uninterpretable.
|
|
2742
|
+
*
|
|
2743
|
+
* @generated from field: bool worker_may_ignore = 300;
|
|
2744
|
+
*/
|
|
2745
|
+
workerMayIgnore: boolean;
|
|
2746
|
+
/**
|
|
2747
|
+
* Metadata on the event. This is often carried over from commands and client calls. Most events
|
|
2748
|
+
* won't have this information, and how this information is used is dependent upon the interface
|
|
2749
|
+
* that reads it.
|
|
2750
|
+
*
|
|
2751
|
+
* Current well-known uses:
|
|
2752
|
+
* * workflow_execution_started_event_attributes - summary and details from start workflow.
|
|
2753
|
+
* * timer_started_event_attributes - summary represents an identifier for the timer for use by
|
|
2754
|
+
* user interfaces.
|
|
2755
|
+
*
|
|
2756
|
+
* @generated from field: temporal.api.sdk.v1.UserMetadata user_metadata = 301;
|
|
2757
|
+
*/
|
|
2758
|
+
userMetadata?: UserMetadata;
|
|
2759
|
+
/**
|
|
2760
|
+
* Links associated with the event.
|
|
2761
|
+
*
|
|
2762
|
+
* @generated from field: repeated temporal.api.common.v1.Link links = 302;
|
|
2763
|
+
*/
|
|
2764
|
+
links: Link[];
|
|
2765
|
+
/**
|
|
2766
|
+
* The event details. The type must match that in `event_type`.
|
|
2767
|
+
*
|
|
2768
|
+
* @generated from oneof temporal.api.history.v1.HistoryEvent.attributes
|
|
2769
|
+
*/
|
|
2770
|
+
attributes: {
|
|
2771
|
+
/**
|
|
2772
|
+
* @generated from field: temporal.api.history.v1.WorkflowExecutionStartedEventAttributes workflow_execution_started_event_attributes = 6;
|
|
2773
|
+
*/
|
|
2774
|
+
value: WorkflowExecutionStartedEventAttributes;
|
|
2775
|
+
case: "workflowExecutionStartedEventAttributes";
|
|
2776
|
+
} | {
|
|
2777
|
+
/**
|
|
2778
|
+
* @generated from field: temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes workflow_execution_completed_event_attributes = 7;
|
|
2779
|
+
*/
|
|
2780
|
+
value: WorkflowExecutionCompletedEventAttributes;
|
|
2781
|
+
case: "workflowExecutionCompletedEventAttributes";
|
|
2782
|
+
} | {
|
|
2783
|
+
/**
|
|
2784
|
+
* @generated from field: temporal.api.history.v1.WorkflowExecutionFailedEventAttributes workflow_execution_failed_event_attributes = 8;
|
|
2785
|
+
*/
|
|
2786
|
+
value: WorkflowExecutionFailedEventAttributes;
|
|
2787
|
+
case: "workflowExecutionFailedEventAttributes";
|
|
2788
|
+
} | {
|
|
2789
|
+
/**
|
|
2790
|
+
* @generated from field: temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes workflow_execution_timed_out_event_attributes = 9;
|
|
2791
|
+
*/
|
|
2792
|
+
value: WorkflowExecutionTimedOutEventAttributes;
|
|
2793
|
+
case: "workflowExecutionTimedOutEventAttributes";
|
|
2794
|
+
} | {
|
|
2795
|
+
/**
|
|
2796
|
+
* @generated from field: temporal.api.history.v1.WorkflowTaskScheduledEventAttributes workflow_task_scheduled_event_attributes = 10;
|
|
2797
|
+
*/
|
|
2798
|
+
value: WorkflowTaskScheduledEventAttributes;
|
|
2799
|
+
case: "workflowTaskScheduledEventAttributes";
|
|
2800
|
+
} | {
|
|
2801
|
+
/**
|
|
2802
|
+
* @generated from field: temporal.api.history.v1.WorkflowTaskStartedEventAttributes workflow_task_started_event_attributes = 11;
|
|
2803
|
+
*/
|
|
2804
|
+
value: WorkflowTaskStartedEventAttributes;
|
|
2805
|
+
case: "workflowTaskStartedEventAttributes";
|
|
2806
|
+
} | {
|
|
2807
|
+
/**
|
|
2808
|
+
* @generated from field: temporal.api.history.v1.WorkflowTaskCompletedEventAttributes workflow_task_completed_event_attributes = 12;
|
|
2809
|
+
*/
|
|
2810
|
+
value: WorkflowTaskCompletedEventAttributes;
|
|
2811
|
+
case: "workflowTaskCompletedEventAttributes";
|
|
2812
|
+
} | {
|
|
2813
|
+
/**
|
|
2814
|
+
* @generated from field: temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes workflow_task_timed_out_event_attributes = 13;
|
|
2815
|
+
*/
|
|
2816
|
+
value: WorkflowTaskTimedOutEventAttributes;
|
|
2817
|
+
case: "workflowTaskTimedOutEventAttributes";
|
|
2818
|
+
} | {
|
|
2819
|
+
/**
|
|
2820
|
+
* @generated from field: temporal.api.history.v1.WorkflowTaskFailedEventAttributes workflow_task_failed_event_attributes = 14;
|
|
2821
|
+
*/
|
|
2822
|
+
value: WorkflowTaskFailedEventAttributes;
|
|
2823
|
+
case: "workflowTaskFailedEventAttributes";
|
|
2824
|
+
} | {
|
|
2825
|
+
/**
|
|
2826
|
+
* @generated from field: temporal.api.history.v1.ActivityTaskScheduledEventAttributes activity_task_scheduled_event_attributes = 15;
|
|
2827
|
+
*/
|
|
2828
|
+
value: ActivityTaskScheduledEventAttributes;
|
|
2829
|
+
case: "activityTaskScheduledEventAttributes";
|
|
2830
|
+
} | {
|
|
2831
|
+
/**
|
|
2832
|
+
* @generated from field: temporal.api.history.v1.ActivityTaskStartedEventAttributes activity_task_started_event_attributes = 16;
|
|
2833
|
+
*/
|
|
2834
|
+
value: ActivityTaskStartedEventAttributes;
|
|
2835
|
+
case: "activityTaskStartedEventAttributes";
|
|
2836
|
+
} | {
|
|
2837
|
+
/**
|
|
2838
|
+
* @generated from field: temporal.api.history.v1.ActivityTaskCompletedEventAttributes activity_task_completed_event_attributes = 17;
|
|
2839
|
+
*/
|
|
2840
|
+
value: ActivityTaskCompletedEventAttributes;
|
|
2841
|
+
case: "activityTaskCompletedEventAttributes";
|
|
2842
|
+
} | {
|
|
2843
|
+
/**
|
|
2844
|
+
* @generated from field: temporal.api.history.v1.ActivityTaskFailedEventAttributes activity_task_failed_event_attributes = 18;
|
|
2845
|
+
*/
|
|
2846
|
+
value: ActivityTaskFailedEventAttributes;
|
|
2847
|
+
case: "activityTaskFailedEventAttributes";
|
|
2848
|
+
} | {
|
|
2849
|
+
/**
|
|
2850
|
+
* @generated from field: temporal.api.history.v1.ActivityTaskTimedOutEventAttributes activity_task_timed_out_event_attributes = 19;
|
|
2851
|
+
*/
|
|
2852
|
+
value: ActivityTaskTimedOutEventAttributes;
|
|
2853
|
+
case: "activityTaskTimedOutEventAttributes";
|
|
2854
|
+
} | {
|
|
2855
|
+
/**
|
|
2856
|
+
* @generated from field: temporal.api.history.v1.TimerStartedEventAttributes timer_started_event_attributes = 20;
|
|
2857
|
+
*/
|
|
2858
|
+
value: TimerStartedEventAttributes;
|
|
2859
|
+
case: "timerStartedEventAttributes";
|
|
2860
|
+
} | {
|
|
2861
|
+
/**
|
|
2862
|
+
* @generated from field: temporal.api.history.v1.TimerFiredEventAttributes timer_fired_event_attributes = 21;
|
|
2863
|
+
*/
|
|
2864
|
+
value: TimerFiredEventAttributes;
|
|
2865
|
+
case: "timerFiredEventAttributes";
|
|
2866
|
+
} | {
|
|
2867
|
+
/**
|
|
2868
|
+
* @generated from field: temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes activity_task_cancel_requested_event_attributes = 22;
|
|
2869
|
+
*/
|
|
2870
|
+
value: ActivityTaskCancelRequestedEventAttributes;
|
|
2871
|
+
case: "activityTaskCancelRequestedEventAttributes";
|
|
2872
|
+
} | {
|
|
2873
|
+
/**
|
|
2874
|
+
* @generated from field: temporal.api.history.v1.ActivityTaskCanceledEventAttributes activity_task_canceled_event_attributes = 23;
|
|
2875
|
+
*/
|
|
2876
|
+
value: ActivityTaskCanceledEventAttributes;
|
|
2877
|
+
case: "activityTaskCanceledEventAttributes";
|
|
2878
|
+
} | {
|
|
2879
|
+
/**
|
|
2880
|
+
* @generated from field: temporal.api.history.v1.TimerCanceledEventAttributes timer_canceled_event_attributes = 24;
|
|
2881
|
+
*/
|
|
2882
|
+
value: TimerCanceledEventAttributes;
|
|
2883
|
+
case: "timerCanceledEventAttributes";
|
|
2884
|
+
} | {
|
|
2885
|
+
/**
|
|
2886
|
+
* @generated from field: temporal.api.history.v1.MarkerRecordedEventAttributes marker_recorded_event_attributes = 25;
|
|
2887
|
+
*/
|
|
2888
|
+
value: MarkerRecordedEventAttributes;
|
|
2889
|
+
case: "markerRecordedEventAttributes";
|
|
2890
|
+
} | {
|
|
2891
|
+
/**
|
|
2892
|
+
* @generated from field: temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes workflow_execution_signaled_event_attributes = 26;
|
|
2893
|
+
*/
|
|
2894
|
+
value: WorkflowExecutionSignaledEventAttributes;
|
|
2895
|
+
case: "workflowExecutionSignaledEventAttributes";
|
|
2896
|
+
} | {
|
|
2897
|
+
/**
|
|
2898
|
+
* @generated from field: temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes workflow_execution_terminated_event_attributes = 27;
|
|
2899
|
+
*/
|
|
2900
|
+
value: WorkflowExecutionTerminatedEventAttributes;
|
|
2901
|
+
case: "workflowExecutionTerminatedEventAttributes";
|
|
2902
|
+
} | {
|
|
2903
|
+
/**
|
|
2904
|
+
* @generated from field: temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes workflow_execution_cancel_requested_event_attributes = 28;
|
|
2905
|
+
*/
|
|
2906
|
+
value: WorkflowExecutionCancelRequestedEventAttributes;
|
|
2907
|
+
case: "workflowExecutionCancelRequestedEventAttributes";
|
|
2908
|
+
} | {
|
|
2909
|
+
/**
|
|
2910
|
+
* @generated from field: temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes workflow_execution_canceled_event_attributes = 29;
|
|
2911
|
+
*/
|
|
2912
|
+
value: WorkflowExecutionCanceledEventAttributes;
|
|
2913
|
+
case: "workflowExecutionCanceledEventAttributes";
|
|
2914
|
+
} | {
|
|
2915
|
+
/**
|
|
2916
|
+
* @generated from field: temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes request_cancel_external_workflow_execution_initiated_event_attributes = 30;
|
|
2917
|
+
*/
|
|
2918
|
+
value: RequestCancelExternalWorkflowExecutionInitiatedEventAttributes;
|
|
2919
|
+
case: "requestCancelExternalWorkflowExecutionInitiatedEventAttributes";
|
|
2920
|
+
} | {
|
|
2921
|
+
/**
|
|
2922
|
+
* @generated from field: temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes request_cancel_external_workflow_execution_failed_event_attributes = 31;
|
|
2923
|
+
*/
|
|
2924
|
+
value: RequestCancelExternalWorkflowExecutionFailedEventAttributes;
|
|
2925
|
+
case: "requestCancelExternalWorkflowExecutionFailedEventAttributes";
|
|
2926
|
+
} | {
|
|
2927
|
+
/**
|
|
2928
|
+
* @generated from field: temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes external_workflow_execution_cancel_requested_event_attributes = 32;
|
|
2929
|
+
*/
|
|
2930
|
+
value: ExternalWorkflowExecutionCancelRequestedEventAttributes;
|
|
2931
|
+
case: "externalWorkflowExecutionCancelRequestedEventAttributes";
|
|
2932
|
+
} | {
|
|
2933
|
+
/**
|
|
2934
|
+
* @generated from field: temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes workflow_execution_continued_as_new_event_attributes = 33;
|
|
2935
|
+
*/
|
|
2936
|
+
value: WorkflowExecutionContinuedAsNewEventAttributes;
|
|
2937
|
+
case: "workflowExecutionContinuedAsNewEventAttributes";
|
|
2938
|
+
} | {
|
|
2939
|
+
/**
|
|
2940
|
+
* @generated from field: temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes start_child_workflow_execution_initiated_event_attributes = 34;
|
|
2941
|
+
*/
|
|
2942
|
+
value: StartChildWorkflowExecutionInitiatedEventAttributes;
|
|
2943
|
+
case: "startChildWorkflowExecutionInitiatedEventAttributes";
|
|
2944
|
+
} | {
|
|
2945
|
+
/**
|
|
2946
|
+
* @generated from field: temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes start_child_workflow_execution_failed_event_attributes = 35;
|
|
2947
|
+
*/
|
|
2948
|
+
value: StartChildWorkflowExecutionFailedEventAttributes;
|
|
2949
|
+
case: "startChildWorkflowExecutionFailedEventAttributes";
|
|
2950
|
+
} | {
|
|
2951
|
+
/**
|
|
2952
|
+
* @generated from field: temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes child_workflow_execution_started_event_attributes = 36;
|
|
2953
|
+
*/
|
|
2954
|
+
value: ChildWorkflowExecutionStartedEventAttributes;
|
|
2955
|
+
case: "childWorkflowExecutionStartedEventAttributes";
|
|
2956
|
+
} | {
|
|
2957
|
+
/**
|
|
2958
|
+
* @generated from field: temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes child_workflow_execution_completed_event_attributes = 37;
|
|
2959
|
+
*/
|
|
2960
|
+
value: ChildWorkflowExecutionCompletedEventAttributes;
|
|
2961
|
+
case: "childWorkflowExecutionCompletedEventAttributes";
|
|
2962
|
+
} | {
|
|
2963
|
+
/**
|
|
2964
|
+
* @generated from field: temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes child_workflow_execution_failed_event_attributes = 38;
|
|
2965
|
+
*/
|
|
2966
|
+
value: ChildWorkflowExecutionFailedEventAttributes;
|
|
2967
|
+
case: "childWorkflowExecutionFailedEventAttributes";
|
|
2968
|
+
} | {
|
|
2969
|
+
/**
|
|
2970
|
+
* @generated from field: temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes child_workflow_execution_canceled_event_attributes = 39;
|
|
2971
|
+
*/
|
|
2972
|
+
value: ChildWorkflowExecutionCanceledEventAttributes;
|
|
2973
|
+
case: "childWorkflowExecutionCanceledEventAttributes";
|
|
2974
|
+
} | {
|
|
2975
|
+
/**
|
|
2976
|
+
* @generated from field: temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes child_workflow_execution_timed_out_event_attributes = 40;
|
|
2977
|
+
*/
|
|
2978
|
+
value: ChildWorkflowExecutionTimedOutEventAttributes;
|
|
2979
|
+
case: "childWorkflowExecutionTimedOutEventAttributes";
|
|
2980
|
+
} | {
|
|
2981
|
+
/**
|
|
2982
|
+
* @generated from field: temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes child_workflow_execution_terminated_event_attributes = 41;
|
|
2983
|
+
*/
|
|
2984
|
+
value: ChildWorkflowExecutionTerminatedEventAttributes;
|
|
2985
|
+
case: "childWorkflowExecutionTerminatedEventAttributes";
|
|
2986
|
+
} | {
|
|
2987
|
+
/**
|
|
2988
|
+
* @generated from field: temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes signal_external_workflow_execution_initiated_event_attributes = 42;
|
|
2989
|
+
*/
|
|
2990
|
+
value: SignalExternalWorkflowExecutionInitiatedEventAttributes;
|
|
2991
|
+
case: "signalExternalWorkflowExecutionInitiatedEventAttributes";
|
|
2992
|
+
} | {
|
|
2993
|
+
/**
|
|
2994
|
+
* @generated from field: temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes signal_external_workflow_execution_failed_event_attributes = 43;
|
|
2995
|
+
*/
|
|
2996
|
+
value: SignalExternalWorkflowExecutionFailedEventAttributes;
|
|
2997
|
+
case: "signalExternalWorkflowExecutionFailedEventAttributes";
|
|
2998
|
+
} | {
|
|
2999
|
+
/**
|
|
3000
|
+
* @generated from field: temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes external_workflow_execution_signaled_event_attributes = 44;
|
|
3001
|
+
*/
|
|
3002
|
+
value: ExternalWorkflowExecutionSignaledEventAttributes;
|
|
3003
|
+
case: "externalWorkflowExecutionSignaledEventAttributes";
|
|
3004
|
+
} | {
|
|
3005
|
+
/**
|
|
3006
|
+
* @generated from field: temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes upsert_workflow_search_attributes_event_attributes = 45;
|
|
3007
|
+
*/
|
|
3008
|
+
value: UpsertWorkflowSearchAttributesEventAttributes;
|
|
3009
|
+
case: "upsertWorkflowSearchAttributesEventAttributes";
|
|
3010
|
+
} | {
|
|
3011
|
+
/**
|
|
3012
|
+
* @generated from field: temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes workflow_execution_update_accepted_event_attributes = 46;
|
|
3013
|
+
*/
|
|
3014
|
+
value: WorkflowExecutionUpdateAcceptedEventAttributes;
|
|
3015
|
+
case: "workflowExecutionUpdateAcceptedEventAttributes";
|
|
3016
|
+
} | {
|
|
3017
|
+
/**
|
|
3018
|
+
* @generated from field: temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes workflow_execution_update_rejected_event_attributes = 47;
|
|
3019
|
+
*/
|
|
3020
|
+
value: WorkflowExecutionUpdateRejectedEventAttributes;
|
|
3021
|
+
case: "workflowExecutionUpdateRejectedEventAttributes";
|
|
3022
|
+
} | {
|
|
3023
|
+
/**
|
|
3024
|
+
* @generated from field: temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes workflow_execution_update_completed_event_attributes = 48;
|
|
3025
|
+
*/
|
|
3026
|
+
value: WorkflowExecutionUpdateCompletedEventAttributes;
|
|
3027
|
+
case: "workflowExecutionUpdateCompletedEventAttributes";
|
|
3028
|
+
} | {
|
|
3029
|
+
/**
|
|
3030
|
+
* @generated from field: temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes workflow_properties_modified_externally_event_attributes = 49;
|
|
3031
|
+
*/
|
|
3032
|
+
value: WorkflowPropertiesModifiedExternallyEventAttributes;
|
|
3033
|
+
case: "workflowPropertiesModifiedExternallyEventAttributes";
|
|
3034
|
+
} | {
|
|
3035
|
+
/**
|
|
3036
|
+
* @generated from field: temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes activity_properties_modified_externally_event_attributes = 50;
|
|
3037
|
+
*/
|
|
3038
|
+
value: ActivityPropertiesModifiedExternallyEventAttributes;
|
|
3039
|
+
case: "activityPropertiesModifiedExternallyEventAttributes";
|
|
3040
|
+
} | {
|
|
3041
|
+
/**
|
|
3042
|
+
* @generated from field: temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes workflow_properties_modified_event_attributes = 51;
|
|
3043
|
+
*/
|
|
3044
|
+
value: WorkflowPropertiesModifiedEventAttributes;
|
|
3045
|
+
case: "workflowPropertiesModifiedEventAttributes";
|
|
3046
|
+
} | {
|
|
3047
|
+
/**
|
|
3048
|
+
* @generated from field: temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributes workflow_execution_update_admitted_event_attributes = 52;
|
|
3049
|
+
*/
|
|
3050
|
+
value: WorkflowExecutionUpdateAdmittedEventAttributes;
|
|
3051
|
+
case: "workflowExecutionUpdateAdmittedEventAttributes";
|
|
3052
|
+
} | {
|
|
3053
|
+
/**
|
|
3054
|
+
* @generated from field: temporal.api.history.v1.NexusOperationScheduledEventAttributes nexus_operation_scheduled_event_attributes = 53;
|
|
3055
|
+
*/
|
|
3056
|
+
value: NexusOperationScheduledEventAttributes;
|
|
3057
|
+
case: "nexusOperationScheduledEventAttributes";
|
|
3058
|
+
} | {
|
|
3059
|
+
/**
|
|
3060
|
+
* @generated from field: temporal.api.history.v1.NexusOperationStartedEventAttributes nexus_operation_started_event_attributes = 54;
|
|
3061
|
+
*/
|
|
3062
|
+
value: NexusOperationStartedEventAttributes;
|
|
3063
|
+
case: "nexusOperationStartedEventAttributes";
|
|
3064
|
+
} | {
|
|
3065
|
+
/**
|
|
3066
|
+
* @generated from field: temporal.api.history.v1.NexusOperationCompletedEventAttributes nexus_operation_completed_event_attributes = 55;
|
|
3067
|
+
*/
|
|
3068
|
+
value: NexusOperationCompletedEventAttributes;
|
|
3069
|
+
case: "nexusOperationCompletedEventAttributes";
|
|
3070
|
+
} | {
|
|
3071
|
+
/**
|
|
3072
|
+
* @generated from field: temporal.api.history.v1.NexusOperationFailedEventAttributes nexus_operation_failed_event_attributes = 56;
|
|
3073
|
+
*/
|
|
3074
|
+
value: NexusOperationFailedEventAttributes;
|
|
3075
|
+
case: "nexusOperationFailedEventAttributes";
|
|
3076
|
+
} | {
|
|
3077
|
+
/**
|
|
3078
|
+
* @generated from field: temporal.api.history.v1.NexusOperationCanceledEventAttributes nexus_operation_canceled_event_attributes = 57;
|
|
3079
|
+
*/
|
|
3080
|
+
value: NexusOperationCanceledEventAttributes;
|
|
3081
|
+
case: "nexusOperationCanceledEventAttributes";
|
|
3082
|
+
} | {
|
|
3083
|
+
/**
|
|
3084
|
+
* @generated from field: temporal.api.history.v1.NexusOperationTimedOutEventAttributes nexus_operation_timed_out_event_attributes = 58;
|
|
3085
|
+
*/
|
|
3086
|
+
value: NexusOperationTimedOutEventAttributes;
|
|
3087
|
+
case: "nexusOperationTimedOutEventAttributes";
|
|
3088
|
+
} | {
|
|
3089
|
+
/**
|
|
3090
|
+
* @generated from field: temporal.api.history.v1.NexusOperationCancelRequestedEventAttributes nexus_operation_cancel_requested_event_attributes = 59;
|
|
3091
|
+
*/
|
|
3092
|
+
value: NexusOperationCancelRequestedEventAttributes;
|
|
3093
|
+
case: "nexusOperationCancelRequestedEventAttributes";
|
|
3094
|
+
} | {
|
|
3095
|
+
/**
|
|
3096
|
+
* @generated from field: temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes workflow_execution_options_updated_event_attributes = 60;
|
|
3097
|
+
*/
|
|
3098
|
+
value: WorkflowExecutionOptionsUpdatedEventAttributes;
|
|
3099
|
+
case: "workflowExecutionOptionsUpdatedEventAttributes";
|
|
3100
|
+
} | {
|
|
3101
|
+
/**
|
|
3102
|
+
* @generated from field: temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributes nexus_operation_cancel_request_completed_event_attributes = 61;
|
|
3103
|
+
*/
|
|
3104
|
+
value: NexusOperationCancelRequestCompletedEventAttributes;
|
|
3105
|
+
case: "nexusOperationCancelRequestCompletedEventAttributes";
|
|
3106
|
+
} | {
|
|
3107
|
+
/**
|
|
3108
|
+
* @generated from field: temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributes nexus_operation_cancel_request_failed_event_attributes = 62;
|
|
3109
|
+
*/
|
|
3110
|
+
value: NexusOperationCancelRequestFailedEventAttributes;
|
|
3111
|
+
case: "nexusOperationCancelRequestFailedEventAttributes";
|
|
3112
|
+
} | {
|
|
3113
|
+
case: undefined;
|
|
3114
|
+
value?: undefined;
|
|
3115
|
+
};
|
|
3116
|
+
};
|
|
3117
|
+
/**
|
|
3118
|
+
* Describes the message temporal.api.history.v1.HistoryEvent.
|
|
3119
|
+
* Use `create(HistoryEventSchema)` to create a new message.
|
|
3120
|
+
*/
|
|
3121
|
+
export declare const HistoryEventSchema: GenMessage<HistoryEvent>;
|
|
3122
|
+
/**
|
|
3123
|
+
* @generated from message temporal.api.history.v1.History
|
|
3124
|
+
*/
|
|
3125
|
+
export type History = Message<"temporal.api.history.v1.History"> & {
|
|
3126
|
+
/**
|
|
3127
|
+
* @generated from field: repeated temporal.api.history.v1.HistoryEvent events = 1;
|
|
3128
|
+
*/
|
|
3129
|
+
events: HistoryEvent[];
|
|
3130
|
+
};
|
|
3131
|
+
/**
|
|
3132
|
+
* Describes the message temporal.api.history.v1.History.
|
|
3133
|
+
* Use `create(HistorySchema)` to create a new message.
|
|
3134
|
+
*/
|
|
3135
|
+
export declare const HistorySchema: GenMessage<History>;
|
|
3136
|
+
//# sourceMappingURL=message_pb.d.ts.map
|