@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,796 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Duration } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { ContinueAsNewInitiator, ParentClosePolicy, WorkflowIdReusePolicy } from "../../enums/v1/workflow_pb.js";
|
|
4
|
+
import type { CommandType } from "../../enums/v1/command_type_pb.js";
|
|
5
|
+
import type { ActivityType, Header, Memo, Payload, Payloads, Priority, RetryPolicy, SearchAttributes, WorkflowExecution, WorkflowType } from "../../common/v1/message_pb.js";
|
|
6
|
+
import type { Failure } from "../../failure/v1/message_pb.js";
|
|
7
|
+
import type { TaskQueue } from "../../taskqueue/v1/message_pb.js";
|
|
8
|
+
import type { UserMetadata } from "../../sdk/v1/user_metadata_pb.js";
|
|
9
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file temporal/api/command/v1/message.proto.
|
|
12
|
+
*/
|
|
13
|
+
export declare const file_temporal_api_command_v1_message: GenFile;
|
|
14
|
+
/**
|
|
15
|
+
* @generated from message temporal.api.command.v1.ScheduleActivityTaskCommandAttributes
|
|
16
|
+
*/
|
|
17
|
+
export type ScheduleActivityTaskCommandAttributes = Message<"temporal.api.command.v1.ScheduleActivityTaskCommandAttributes"> & {
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: string activity_id = 1;
|
|
20
|
+
*/
|
|
21
|
+
activityId: string;
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: temporal.api.common.v1.ActivityType activity_type = 2;
|
|
24
|
+
*/
|
|
25
|
+
activityType?: ActivityType;
|
|
26
|
+
/**
|
|
27
|
+
* @generated from field: temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
|
|
28
|
+
*/
|
|
29
|
+
taskQueue?: TaskQueue;
|
|
30
|
+
/**
|
|
31
|
+
* @generated from field: temporal.api.common.v1.Header header = 5;
|
|
32
|
+
*/
|
|
33
|
+
header?: Header;
|
|
34
|
+
/**
|
|
35
|
+
* @generated from field: temporal.api.common.v1.Payloads input = 6;
|
|
36
|
+
*/
|
|
37
|
+
input?: Payloads;
|
|
38
|
+
/**
|
|
39
|
+
* Indicates how long the caller is willing to wait for activity completion. The "schedule" time
|
|
40
|
+
* is when the activity is initially scheduled, not when the most recent retry is scheduled.
|
|
41
|
+
* Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be
|
|
42
|
+
* specified. When not specified, defaults to the workflow execution timeout.
|
|
43
|
+
*
|
|
44
|
+
* (-- api-linter: core::0140::prepositions=disabled
|
|
45
|
+
* aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: google.protobuf.Duration schedule_to_close_timeout = 7;
|
|
48
|
+
*/
|
|
49
|
+
scheduleToCloseTimeout?: Duration;
|
|
50
|
+
/**
|
|
51
|
+
* Limits the time an activity task can stay in a task queue before a worker picks it up. The
|
|
52
|
+
* "schedule" time is when the most recent retry is scheduled. This timeout should usually not
|
|
53
|
+
* be set: it's useful in specific scenarios like worker-specific task queues. This timeout is
|
|
54
|
+
* always non retryable, as all a retry would achieve is to put it back into the same queue.
|
|
55
|
+
* Defaults to `schedule_to_close_timeout` or workflow execution timeout if that is not
|
|
56
|
+
* specified. More info:
|
|
57
|
+
* https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/
|
|
58
|
+
*
|
|
59
|
+
* (-- api-linter: core::0140::prepositions=disabled
|
|
60
|
+
* aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: google.protobuf.Duration schedule_to_start_timeout = 8;
|
|
63
|
+
*/
|
|
64
|
+
scheduleToStartTimeout?: Duration;
|
|
65
|
+
/**
|
|
66
|
+
* Maximum time an activity is allowed to execute after being picked up by a worker. This
|
|
67
|
+
* timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified.
|
|
68
|
+
*
|
|
69
|
+
* (-- api-linter: core::0140::prepositions=disabled
|
|
70
|
+
* aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
71
|
+
*
|
|
72
|
+
* @generated from field: google.protobuf.Duration start_to_close_timeout = 9;
|
|
73
|
+
*/
|
|
74
|
+
startToCloseTimeout?: Duration;
|
|
75
|
+
/**
|
|
76
|
+
* Maximum permitted time between successful worker heartbeats.
|
|
77
|
+
*
|
|
78
|
+
* @generated from field: google.protobuf.Duration heartbeat_timeout = 10;
|
|
79
|
+
*/
|
|
80
|
+
heartbeatTimeout?: Duration;
|
|
81
|
+
/**
|
|
82
|
+
* Activities are provided by a default retry policy which is controlled through the service's
|
|
83
|
+
* dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has
|
|
84
|
+
* elapsed. To disable retries set retry_policy.maximum_attempts to 1.
|
|
85
|
+
*
|
|
86
|
+
* @generated from field: temporal.api.common.v1.RetryPolicy retry_policy = 11;
|
|
87
|
+
*/
|
|
88
|
+
retryPolicy?: RetryPolicy;
|
|
89
|
+
/**
|
|
90
|
+
* Request to start the activity directly bypassing matching service and worker polling
|
|
91
|
+
* The slot for executing the activity should be reserved when setting this field to true.
|
|
92
|
+
*
|
|
93
|
+
* @generated from field: bool request_eager_execution = 12;
|
|
94
|
+
*/
|
|
95
|
+
requestEagerExecution: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise,
|
|
98
|
+
* Assignment rules of the activity's Task Queue will be used to determine the Build ID.
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: bool use_workflow_build_id = 13;
|
|
101
|
+
*/
|
|
102
|
+
useWorkflowBuildId: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Priority metadata. If this message is not present, or any fields are not
|
|
105
|
+
* present, they inherit the values from the workflow.
|
|
106
|
+
*
|
|
107
|
+
* @generated from field: temporal.api.common.v1.Priority priority = 14;
|
|
108
|
+
*/
|
|
109
|
+
priority?: Priority;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Describes the message temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.
|
|
113
|
+
* Use `create(ScheduleActivityTaskCommandAttributesSchema)` to create a new message.
|
|
114
|
+
*/
|
|
115
|
+
export declare const ScheduleActivityTaskCommandAttributesSchema: GenMessage<ScheduleActivityTaskCommandAttributes>;
|
|
116
|
+
/**
|
|
117
|
+
* @generated from message temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes
|
|
118
|
+
*/
|
|
119
|
+
export type RequestCancelActivityTaskCommandAttributes = Message<"temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes"> & {
|
|
120
|
+
/**
|
|
121
|
+
* The `ACTIVITY_TASK_SCHEDULED` event id for the activity being cancelled.
|
|
122
|
+
*
|
|
123
|
+
* @generated from field: int64 scheduled_event_id = 1;
|
|
124
|
+
*/
|
|
125
|
+
scheduledEventId: bigint;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* Describes the message temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes.
|
|
129
|
+
* Use `create(RequestCancelActivityTaskCommandAttributesSchema)` to create a new message.
|
|
130
|
+
*/
|
|
131
|
+
export declare const RequestCancelActivityTaskCommandAttributesSchema: GenMessage<RequestCancelActivityTaskCommandAttributes>;
|
|
132
|
+
/**
|
|
133
|
+
* @generated from message temporal.api.command.v1.StartTimerCommandAttributes
|
|
134
|
+
*/
|
|
135
|
+
export type StartTimerCommandAttributes = Message<"temporal.api.command.v1.StartTimerCommandAttributes"> & {
|
|
136
|
+
/**
|
|
137
|
+
* An id for the timer, currently live timers must have different ids. Typically autogenerated
|
|
138
|
+
* by the SDK.
|
|
139
|
+
*
|
|
140
|
+
* @generated from field: string timer_id = 1;
|
|
141
|
+
*/
|
|
142
|
+
timerId: string;
|
|
143
|
+
/**
|
|
144
|
+
* How long until the timer fires, producing a `TIMER_FIRED` event.
|
|
145
|
+
*
|
|
146
|
+
* (-- api-linter: core::0140::prepositions=disabled
|
|
147
|
+
* aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: google.protobuf.Duration start_to_fire_timeout = 2;
|
|
150
|
+
*/
|
|
151
|
+
startToFireTimeout?: Duration;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* Describes the message temporal.api.command.v1.StartTimerCommandAttributes.
|
|
155
|
+
* Use `create(StartTimerCommandAttributesSchema)` to create a new message.
|
|
156
|
+
*/
|
|
157
|
+
export declare const StartTimerCommandAttributesSchema: GenMessage<StartTimerCommandAttributes>;
|
|
158
|
+
/**
|
|
159
|
+
* @generated from message temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes
|
|
160
|
+
*/
|
|
161
|
+
export type CompleteWorkflowExecutionCommandAttributes = Message<"temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes"> & {
|
|
162
|
+
/**
|
|
163
|
+
* @generated from field: temporal.api.common.v1.Payloads result = 1;
|
|
164
|
+
*/
|
|
165
|
+
result?: Payloads;
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* Describes the message temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes.
|
|
169
|
+
* Use `create(CompleteWorkflowExecutionCommandAttributesSchema)` to create a new message.
|
|
170
|
+
*/
|
|
171
|
+
export declare const CompleteWorkflowExecutionCommandAttributesSchema: GenMessage<CompleteWorkflowExecutionCommandAttributes>;
|
|
172
|
+
/**
|
|
173
|
+
* @generated from message temporal.api.command.v1.FailWorkflowExecutionCommandAttributes
|
|
174
|
+
*/
|
|
175
|
+
export type FailWorkflowExecutionCommandAttributes = Message<"temporal.api.command.v1.FailWorkflowExecutionCommandAttributes"> & {
|
|
176
|
+
/**
|
|
177
|
+
* @generated from field: temporal.api.failure.v1.Failure failure = 1;
|
|
178
|
+
*/
|
|
179
|
+
failure?: Failure;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* Describes the message temporal.api.command.v1.FailWorkflowExecutionCommandAttributes.
|
|
183
|
+
* Use `create(FailWorkflowExecutionCommandAttributesSchema)` to create a new message.
|
|
184
|
+
*/
|
|
185
|
+
export declare const FailWorkflowExecutionCommandAttributesSchema: GenMessage<FailWorkflowExecutionCommandAttributes>;
|
|
186
|
+
/**
|
|
187
|
+
* @generated from message temporal.api.command.v1.CancelTimerCommandAttributes
|
|
188
|
+
*/
|
|
189
|
+
export type CancelTimerCommandAttributes = Message<"temporal.api.command.v1.CancelTimerCommandAttributes"> & {
|
|
190
|
+
/**
|
|
191
|
+
* The same timer id from the start timer command
|
|
192
|
+
*
|
|
193
|
+
* @generated from field: string timer_id = 1;
|
|
194
|
+
*/
|
|
195
|
+
timerId: string;
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* Describes the message temporal.api.command.v1.CancelTimerCommandAttributes.
|
|
199
|
+
* Use `create(CancelTimerCommandAttributesSchema)` to create a new message.
|
|
200
|
+
*/
|
|
201
|
+
export declare const CancelTimerCommandAttributesSchema: GenMessage<CancelTimerCommandAttributes>;
|
|
202
|
+
/**
|
|
203
|
+
* @generated from message temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes
|
|
204
|
+
*/
|
|
205
|
+
export type CancelWorkflowExecutionCommandAttributes = Message<"temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes"> & {
|
|
206
|
+
/**
|
|
207
|
+
* @generated from field: temporal.api.common.v1.Payloads details = 1;
|
|
208
|
+
*/
|
|
209
|
+
details?: Payloads;
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
212
|
+
* Describes the message temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes.
|
|
213
|
+
* Use `create(CancelWorkflowExecutionCommandAttributesSchema)` to create a new message.
|
|
214
|
+
*/
|
|
215
|
+
export declare const CancelWorkflowExecutionCommandAttributesSchema: GenMessage<CancelWorkflowExecutionCommandAttributes>;
|
|
216
|
+
/**
|
|
217
|
+
* @generated from message temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes
|
|
218
|
+
*/
|
|
219
|
+
export type RequestCancelExternalWorkflowExecutionCommandAttributes = Message<"temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes"> & {
|
|
220
|
+
/**
|
|
221
|
+
* @generated from field: string namespace = 1;
|
|
222
|
+
*/
|
|
223
|
+
namespace: string;
|
|
224
|
+
/**
|
|
225
|
+
* @generated from field: string workflow_id = 2;
|
|
226
|
+
*/
|
|
227
|
+
workflowId: string;
|
|
228
|
+
/**
|
|
229
|
+
* @generated from field: string run_id = 3;
|
|
230
|
+
*/
|
|
231
|
+
runId: string;
|
|
232
|
+
/**
|
|
233
|
+
* Deprecated.
|
|
234
|
+
*
|
|
235
|
+
* @generated from field: string control = 4 [deprecated = true];
|
|
236
|
+
* @deprecated
|
|
237
|
+
*/
|
|
238
|
+
control: string;
|
|
239
|
+
/**
|
|
240
|
+
* Set this to true if the workflow being cancelled is a child of the workflow originating this
|
|
241
|
+
* command. The request will be rejected if it is set to true and the target workflow is *not*
|
|
242
|
+
* a child of the requesting workflow.
|
|
243
|
+
*
|
|
244
|
+
* @generated from field: bool child_workflow_only = 5;
|
|
245
|
+
*/
|
|
246
|
+
childWorkflowOnly: boolean;
|
|
247
|
+
/**
|
|
248
|
+
* Reason for requesting the cancellation
|
|
249
|
+
*
|
|
250
|
+
* @generated from field: string reason = 6;
|
|
251
|
+
*/
|
|
252
|
+
reason: string;
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* Describes the message temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.
|
|
256
|
+
* Use `create(RequestCancelExternalWorkflowExecutionCommandAttributesSchema)` to create a new message.
|
|
257
|
+
*/
|
|
258
|
+
export declare const RequestCancelExternalWorkflowExecutionCommandAttributesSchema: GenMessage<RequestCancelExternalWorkflowExecutionCommandAttributes>;
|
|
259
|
+
/**
|
|
260
|
+
* @generated from message temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes
|
|
261
|
+
*/
|
|
262
|
+
export type SignalExternalWorkflowExecutionCommandAttributes = Message<"temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes"> & {
|
|
263
|
+
/**
|
|
264
|
+
* @generated from field: string namespace = 1;
|
|
265
|
+
*/
|
|
266
|
+
namespace: string;
|
|
267
|
+
/**
|
|
268
|
+
* @generated from field: temporal.api.common.v1.WorkflowExecution execution = 2;
|
|
269
|
+
*/
|
|
270
|
+
execution?: WorkflowExecution;
|
|
271
|
+
/**
|
|
272
|
+
* The workflow author-defined name of the signal to send to the workflow.
|
|
273
|
+
*
|
|
274
|
+
* @generated from field: string signal_name = 3;
|
|
275
|
+
*/
|
|
276
|
+
signalName: string;
|
|
277
|
+
/**
|
|
278
|
+
* Serialized value(s) to provide with the signal.
|
|
279
|
+
*
|
|
280
|
+
* @generated from field: temporal.api.common.v1.Payloads input = 4;
|
|
281
|
+
*/
|
|
282
|
+
input?: Payloads;
|
|
283
|
+
/**
|
|
284
|
+
* Deprecated
|
|
285
|
+
*
|
|
286
|
+
* @generated from field: string control = 5 [deprecated = true];
|
|
287
|
+
* @deprecated
|
|
288
|
+
*/
|
|
289
|
+
control: string;
|
|
290
|
+
/**
|
|
291
|
+
* Set this to true if the workflow being cancelled is a child of the workflow originating this
|
|
292
|
+
* command. The request will be rejected if it is set to true and the target workflow is *not*
|
|
293
|
+
* a child of the requesting workflow.
|
|
294
|
+
*
|
|
295
|
+
* @generated from field: bool child_workflow_only = 6;
|
|
296
|
+
*/
|
|
297
|
+
childWorkflowOnly: boolean;
|
|
298
|
+
/**
|
|
299
|
+
* Headers that are passed by the workflow that is sending a signal to the external
|
|
300
|
+
* workflow that is receiving this signal.
|
|
301
|
+
*
|
|
302
|
+
* @generated from field: temporal.api.common.v1.Header header = 7;
|
|
303
|
+
*/
|
|
304
|
+
header?: Header;
|
|
305
|
+
};
|
|
306
|
+
/**
|
|
307
|
+
* Describes the message temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes.
|
|
308
|
+
* Use `create(SignalExternalWorkflowExecutionCommandAttributesSchema)` to create a new message.
|
|
309
|
+
*/
|
|
310
|
+
export declare const SignalExternalWorkflowExecutionCommandAttributesSchema: GenMessage<SignalExternalWorkflowExecutionCommandAttributes>;
|
|
311
|
+
/**
|
|
312
|
+
* @generated from message temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes
|
|
313
|
+
*/
|
|
314
|
+
export type UpsertWorkflowSearchAttributesCommandAttributes = Message<"temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes"> & {
|
|
315
|
+
/**
|
|
316
|
+
* @generated from field: temporal.api.common.v1.SearchAttributes search_attributes = 1;
|
|
317
|
+
*/
|
|
318
|
+
searchAttributes?: SearchAttributes;
|
|
319
|
+
};
|
|
320
|
+
/**
|
|
321
|
+
* Describes the message temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes.
|
|
322
|
+
* Use `create(UpsertWorkflowSearchAttributesCommandAttributesSchema)` to create a new message.
|
|
323
|
+
*/
|
|
324
|
+
export declare const UpsertWorkflowSearchAttributesCommandAttributesSchema: GenMessage<UpsertWorkflowSearchAttributesCommandAttributes>;
|
|
325
|
+
/**
|
|
326
|
+
* @generated from message temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes
|
|
327
|
+
*/
|
|
328
|
+
export type ModifyWorkflowPropertiesCommandAttributes = Message<"temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes"> & {
|
|
329
|
+
/**
|
|
330
|
+
* If set, update the workflow memo with the provided values. The values will be merged with
|
|
331
|
+
* the existing memo. If the user wants to delete values, a default/empty Payload should be
|
|
332
|
+
* used as the value for the key being deleted.
|
|
333
|
+
*
|
|
334
|
+
* @generated from field: temporal.api.common.v1.Memo upserted_memo = 1;
|
|
335
|
+
*/
|
|
336
|
+
upsertedMemo?: Memo;
|
|
337
|
+
};
|
|
338
|
+
/**
|
|
339
|
+
* Describes the message temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes.
|
|
340
|
+
* Use `create(ModifyWorkflowPropertiesCommandAttributesSchema)` to create a new message.
|
|
341
|
+
*/
|
|
342
|
+
export declare const ModifyWorkflowPropertiesCommandAttributesSchema: GenMessage<ModifyWorkflowPropertiesCommandAttributes>;
|
|
343
|
+
/**
|
|
344
|
+
* @generated from message temporal.api.command.v1.RecordMarkerCommandAttributes
|
|
345
|
+
*/
|
|
346
|
+
export type RecordMarkerCommandAttributes = Message<"temporal.api.command.v1.RecordMarkerCommandAttributes"> & {
|
|
347
|
+
/**
|
|
348
|
+
* @generated from field: string marker_name = 1;
|
|
349
|
+
*/
|
|
350
|
+
markerName: string;
|
|
351
|
+
/**
|
|
352
|
+
* @generated from field: map<string, temporal.api.common.v1.Payloads> details = 2;
|
|
353
|
+
*/
|
|
354
|
+
details: {
|
|
355
|
+
[key: string]: Payloads;
|
|
356
|
+
};
|
|
357
|
+
/**
|
|
358
|
+
* @generated from field: temporal.api.common.v1.Header header = 3;
|
|
359
|
+
*/
|
|
360
|
+
header?: Header;
|
|
361
|
+
/**
|
|
362
|
+
* @generated from field: temporal.api.failure.v1.Failure failure = 4;
|
|
363
|
+
*/
|
|
364
|
+
failure?: Failure;
|
|
365
|
+
};
|
|
366
|
+
/**
|
|
367
|
+
* Describes the message temporal.api.command.v1.RecordMarkerCommandAttributes.
|
|
368
|
+
* Use `create(RecordMarkerCommandAttributesSchema)` to create a new message.
|
|
369
|
+
*/
|
|
370
|
+
export declare const RecordMarkerCommandAttributesSchema: GenMessage<RecordMarkerCommandAttributes>;
|
|
371
|
+
/**
|
|
372
|
+
* @generated from message temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes
|
|
373
|
+
*/
|
|
374
|
+
export type ContinueAsNewWorkflowExecutionCommandAttributes = Message<"temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes"> & {
|
|
375
|
+
/**
|
|
376
|
+
* @generated from field: temporal.api.common.v1.WorkflowType workflow_type = 1;
|
|
377
|
+
*/
|
|
378
|
+
workflowType?: WorkflowType;
|
|
379
|
+
/**
|
|
380
|
+
* @generated from field: temporal.api.taskqueue.v1.TaskQueue task_queue = 2;
|
|
381
|
+
*/
|
|
382
|
+
taskQueue?: TaskQueue;
|
|
383
|
+
/**
|
|
384
|
+
* @generated from field: temporal.api.common.v1.Payloads input = 3;
|
|
385
|
+
*/
|
|
386
|
+
input?: Payloads;
|
|
387
|
+
/**
|
|
388
|
+
* Timeout of a single workflow run.
|
|
389
|
+
*
|
|
390
|
+
* @generated from field: google.protobuf.Duration workflow_run_timeout = 4;
|
|
391
|
+
*/
|
|
392
|
+
workflowRunTimeout?: Duration;
|
|
393
|
+
/**
|
|
394
|
+
* Timeout of a single workflow task.
|
|
395
|
+
*
|
|
396
|
+
* @generated from field: google.protobuf.Duration workflow_task_timeout = 5;
|
|
397
|
+
*/
|
|
398
|
+
workflowTaskTimeout?: Duration;
|
|
399
|
+
/**
|
|
400
|
+
* How long the workflow start will be delayed - not really a "backoff" in the traditional sense.
|
|
401
|
+
*
|
|
402
|
+
* @generated from field: google.protobuf.Duration backoff_start_interval = 6;
|
|
403
|
+
*/
|
|
404
|
+
backoffStartInterval?: Duration;
|
|
405
|
+
/**
|
|
406
|
+
* @generated from field: temporal.api.common.v1.RetryPolicy retry_policy = 7;
|
|
407
|
+
*/
|
|
408
|
+
retryPolicy?: RetryPolicy;
|
|
409
|
+
/**
|
|
410
|
+
* Should be removed
|
|
411
|
+
*
|
|
412
|
+
* @generated from field: temporal.api.enums.v1.ContinueAsNewInitiator initiator = 8;
|
|
413
|
+
*/
|
|
414
|
+
initiator: ContinueAsNewInitiator;
|
|
415
|
+
/**
|
|
416
|
+
* Should be removed
|
|
417
|
+
*
|
|
418
|
+
* @generated from field: temporal.api.failure.v1.Failure failure = 9;
|
|
419
|
+
*/
|
|
420
|
+
failure?: Failure;
|
|
421
|
+
/**
|
|
422
|
+
* Should be removed
|
|
423
|
+
*
|
|
424
|
+
* @generated from field: temporal.api.common.v1.Payloads last_completion_result = 10;
|
|
425
|
+
*/
|
|
426
|
+
lastCompletionResult?: Payloads;
|
|
427
|
+
/**
|
|
428
|
+
* Should be removed. Not necessarily unused but unclear and not exposed by SDKs.
|
|
429
|
+
*
|
|
430
|
+
* @generated from field: string cron_schedule = 11;
|
|
431
|
+
*/
|
|
432
|
+
cronSchedule: string;
|
|
433
|
+
/**
|
|
434
|
+
* @generated from field: temporal.api.common.v1.Header header = 12;
|
|
435
|
+
*/
|
|
436
|
+
header?: Header;
|
|
437
|
+
/**
|
|
438
|
+
* @generated from field: temporal.api.common.v1.Memo memo = 13;
|
|
439
|
+
*/
|
|
440
|
+
memo?: Memo;
|
|
441
|
+
/**
|
|
442
|
+
* @generated from field: temporal.api.common.v1.SearchAttributes search_attributes = 14;
|
|
443
|
+
*/
|
|
444
|
+
searchAttributes?: SearchAttributes;
|
|
445
|
+
/**
|
|
446
|
+
* If this is set, the new execution inherits the Build ID of the current execution. Otherwise,
|
|
447
|
+
* the assignment rules will be used to independently assign a Build ID to the new execution.
|
|
448
|
+
* Deprecated. Only considered for versioning v0.2.
|
|
449
|
+
*
|
|
450
|
+
* @generated from field: bool inherit_build_id = 15 [deprecated = true];
|
|
451
|
+
* @deprecated
|
|
452
|
+
*/
|
|
453
|
+
inheritBuildId: boolean;
|
|
454
|
+
};
|
|
455
|
+
/**
|
|
456
|
+
* Describes the message temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.
|
|
457
|
+
* Use `create(ContinueAsNewWorkflowExecutionCommandAttributesSchema)` to create a new message.
|
|
458
|
+
*/
|
|
459
|
+
export declare const ContinueAsNewWorkflowExecutionCommandAttributesSchema: GenMessage<ContinueAsNewWorkflowExecutionCommandAttributes>;
|
|
460
|
+
/**
|
|
461
|
+
* @generated from message temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes
|
|
462
|
+
*/
|
|
463
|
+
export type StartChildWorkflowExecutionCommandAttributes = Message<"temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes"> & {
|
|
464
|
+
/**
|
|
465
|
+
* @generated from field: string namespace = 1;
|
|
466
|
+
*/
|
|
467
|
+
namespace: string;
|
|
468
|
+
/**
|
|
469
|
+
* @generated from field: string workflow_id = 2;
|
|
470
|
+
*/
|
|
471
|
+
workflowId: string;
|
|
472
|
+
/**
|
|
473
|
+
* @generated from field: temporal.api.common.v1.WorkflowType workflow_type = 3;
|
|
474
|
+
*/
|
|
475
|
+
workflowType?: WorkflowType;
|
|
476
|
+
/**
|
|
477
|
+
* @generated from field: temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
|
|
478
|
+
*/
|
|
479
|
+
taskQueue?: TaskQueue;
|
|
480
|
+
/**
|
|
481
|
+
* @generated from field: temporal.api.common.v1.Payloads input = 5;
|
|
482
|
+
*/
|
|
483
|
+
input?: Payloads;
|
|
484
|
+
/**
|
|
485
|
+
* Total workflow execution timeout including retries and continue as new.
|
|
486
|
+
*
|
|
487
|
+
* @generated from field: google.protobuf.Duration workflow_execution_timeout = 6;
|
|
488
|
+
*/
|
|
489
|
+
workflowExecutionTimeout?: Duration;
|
|
490
|
+
/**
|
|
491
|
+
* Timeout of a single workflow run.
|
|
492
|
+
*
|
|
493
|
+
* @generated from field: google.protobuf.Duration workflow_run_timeout = 7;
|
|
494
|
+
*/
|
|
495
|
+
workflowRunTimeout?: Duration;
|
|
496
|
+
/**
|
|
497
|
+
* Timeout of a single workflow task.
|
|
498
|
+
*
|
|
499
|
+
* @generated from field: google.protobuf.Duration workflow_task_timeout = 8;
|
|
500
|
+
*/
|
|
501
|
+
workflowTaskTimeout?: Duration;
|
|
502
|
+
/**
|
|
503
|
+
* Default: PARENT_CLOSE_POLICY_TERMINATE.
|
|
504
|
+
*
|
|
505
|
+
* @generated from field: temporal.api.enums.v1.ParentClosePolicy parent_close_policy = 9;
|
|
506
|
+
*/
|
|
507
|
+
parentClosePolicy: ParentClosePolicy;
|
|
508
|
+
/**
|
|
509
|
+
* @generated from field: string control = 10;
|
|
510
|
+
*/
|
|
511
|
+
control: string;
|
|
512
|
+
/**
|
|
513
|
+
* Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
|
|
514
|
+
*
|
|
515
|
+
* @generated from field: temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 11;
|
|
516
|
+
*/
|
|
517
|
+
workflowIdReusePolicy: WorkflowIdReusePolicy;
|
|
518
|
+
/**
|
|
519
|
+
* @generated from field: temporal.api.common.v1.RetryPolicy retry_policy = 12;
|
|
520
|
+
*/
|
|
521
|
+
retryPolicy?: RetryPolicy;
|
|
522
|
+
/**
|
|
523
|
+
* Establish a cron schedule for the child workflow.
|
|
524
|
+
*
|
|
525
|
+
* @generated from field: string cron_schedule = 13;
|
|
526
|
+
*/
|
|
527
|
+
cronSchedule: string;
|
|
528
|
+
/**
|
|
529
|
+
* @generated from field: temporal.api.common.v1.Header header = 14;
|
|
530
|
+
*/
|
|
531
|
+
header?: Header;
|
|
532
|
+
/**
|
|
533
|
+
* @generated from field: temporal.api.common.v1.Memo memo = 15;
|
|
534
|
+
*/
|
|
535
|
+
memo?: Memo;
|
|
536
|
+
/**
|
|
537
|
+
* @generated from field: temporal.api.common.v1.SearchAttributes search_attributes = 16;
|
|
538
|
+
*/
|
|
539
|
+
searchAttributes?: SearchAttributes;
|
|
540
|
+
/**
|
|
541
|
+
* If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment
|
|
542
|
+
* rules of the child's Task Queue will be used to independently assign a Build ID to it.
|
|
543
|
+
* Deprecated. Only considered for versioning v0.2.
|
|
544
|
+
*
|
|
545
|
+
* @generated from field: bool inherit_build_id = 17 [deprecated = true];
|
|
546
|
+
* @deprecated
|
|
547
|
+
*/
|
|
548
|
+
inheritBuildId: boolean;
|
|
549
|
+
/**
|
|
550
|
+
* Priority metadata. If this message is not present, or any fields are not
|
|
551
|
+
* present, they inherit the values from the workflow.
|
|
552
|
+
*
|
|
553
|
+
* @generated from field: temporal.api.common.v1.Priority priority = 18;
|
|
554
|
+
*/
|
|
555
|
+
priority?: Priority;
|
|
556
|
+
};
|
|
557
|
+
/**
|
|
558
|
+
* Describes the message temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.
|
|
559
|
+
* Use `create(StartChildWorkflowExecutionCommandAttributesSchema)` to create a new message.
|
|
560
|
+
*/
|
|
561
|
+
export declare const StartChildWorkflowExecutionCommandAttributesSchema: GenMessage<StartChildWorkflowExecutionCommandAttributes>;
|
|
562
|
+
/**
|
|
563
|
+
* @generated from message temporal.api.command.v1.ProtocolMessageCommandAttributes
|
|
564
|
+
*/
|
|
565
|
+
export type ProtocolMessageCommandAttributes = Message<"temporal.api.command.v1.ProtocolMessageCommandAttributes"> & {
|
|
566
|
+
/**
|
|
567
|
+
* The message ID of the message to which this command is a pointer.
|
|
568
|
+
*
|
|
569
|
+
* @generated from field: string message_id = 1;
|
|
570
|
+
*/
|
|
571
|
+
messageId: string;
|
|
572
|
+
};
|
|
573
|
+
/**
|
|
574
|
+
* Describes the message temporal.api.command.v1.ProtocolMessageCommandAttributes.
|
|
575
|
+
* Use `create(ProtocolMessageCommandAttributesSchema)` to create a new message.
|
|
576
|
+
*/
|
|
577
|
+
export declare const ProtocolMessageCommandAttributesSchema: GenMessage<ProtocolMessageCommandAttributes>;
|
|
578
|
+
/**
|
|
579
|
+
* @generated from message temporal.api.command.v1.ScheduleNexusOperationCommandAttributes
|
|
580
|
+
*/
|
|
581
|
+
export type ScheduleNexusOperationCommandAttributes = Message<"temporal.api.command.v1.ScheduleNexusOperationCommandAttributes"> & {
|
|
582
|
+
/**
|
|
583
|
+
* Endpoint name, must exist in the endpoint registry or this command will fail.
|
|
584
|
+
*
|
|
585
|
+
* @generated from field: string endpoint = 1;
|
|
586
|
+
*/
|
|
587
|
+
endpoint: string;
|
|
588
|
+
/**
|
|
589
|
+
* Service name.
|
|
590
|
+
*
|
|
591
|
+
* @generated from field: string service = 2;
|
|
592
|
+
*/
|
|
593
|
+
service: string;
|
|
594
|
+
/**
|
|
595
|
+
* Operation name.
|
|
596
|
+
*
|
|
597
|
+
* @generated from field: string operation = 3;
|
|
598
|
+
*/
|
|
599
|
+
operation: string;
|
|
600
|
+
/**
|
|
601
|
+
* Input for the operation. The server converts this into Nexus request content and the appropriate content headers
|
|
602
|
+
* internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the
|
|
603
|
+
* content is transformed back to the original Payload sent in this command.
|
|
604
|
+
*
|
|
605
|
+
* @generated from field: temporal.api.common.v1.Payload input = 4;
|
|
606
|
+
*/
|
|
607
|
+
input?: Payload;
|
|
608
|
+
/**
|
|
609
|
+
* Schedule-to-close timeout for this operation.
|
|
610
|
+
* Indicates how long the caller is willing to wait for operation completion.
|
|
611
|
+
* Calls are retried internally by the server.
|
|
612
|
+
* (-- api-linter: core::0140::prepositions=disabled
|
|
613
|
+
* aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
614
|
+
*
|
|
615
|
+
* @generated from field: google.protobuf.Duration schedule_to_close_timeout = 5;
|
|
616
|
+
*/
|
|
617
|
+
scheduleToCloseTimeout?: Duration;
|
|
618
|
+
/**
|
|
619
|
+
* Header to attach to the Nexus request.
|
|
620
|
+
* Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and
|
|
621
|
+
* transmitted to external services as-is.
|
|
622
|
+
* This is useful for propagating tracing information.
|
|
623
|
+
* Note these headers are not the same as Temporal headers on internal activities and child workflows, these are
|
|
624
|
+
* transmitted to Nexus operations that may be external and are not traditional payloads.
|
|
625
|
+
*
|
|
626
|
+
* @generated from field: map<string, string> nexus_header = 6;
|
|
627
|
+
*/
|
|
628
|
+
nexusHeader: {
|
|
629
|
+
[key: string]: string;
|
|
630
|
+
};
|
|
631
|
+
};
|
|
632
|
+
/**
|
|
633
|
+
* Describes the message temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.
|
|
634
|
+
* Use `create(ScheduleNexusOperationCommandAttributesSchema)` to create a new message.
|
|
635
|
+
*/
|
|
636
|
+
export declare const ScheduleNexusOperationCommandAttributesSchema: GenMessage<ScheduleNexusOperationCommandAttributes>;
|
|
637
|
+
/**
|
|
638
|
+
* @generated from message temporal.api.command.v1.RequestCancelNexusOperationCommandAttributes
|
|
639
|
+
*/
|
|
640
|
+
export type RequestCancelNexusOperationCommandAttributes = Message<"temporal.api.command.v1.RequestCancelNexusOperationCommandAttributes"> & {
|
|
641
|
+
/**
|
|
642
|
+
* The `NEXUS_OPERATION_SCHEDULED` event ID (a unique identifier) for the operation to be canceled.
|
|
643
|
+
* The operation may ignore cancellation and end up with any completion state.
|
|
644
|
+
*
|
|
645
|
+
* @generated from field: int64 scheduled_event_id = 1;
|
|
646
|
+
*/
|
|
647
|
+
scheduledEventId: bigint;
|
|
648
|
+
};
|
|
649
|
+
/**
|
|
650
|
+
* Describes the message temporal.api.command.v1.RequestCancelNexusOperationCommandAttributes.
|
|
651
|
+
* Use `create(RequestCancelNexusOperationCommandAttributesSchema)` to create a new message.
|
|
652
|
+
*/
|
|
653
|
+
export declare const RequestCancelNexusOperationCommandAttributesSchema: GenMessage<RequestCancelNexusOperationCommandAttributes>;
|
|
654
|
+
/**
|
|
655
|
+
* @generated from message temporal.api.command.v1.Command
|
|
656
|
+
*/
|
|
657
|
+
export type Command = Message<"temporal.api.command.v1.Command"> & {
|
|
658
|
+
/**
|
|
659
|
+
* @generated from field: temporal.api.enums.v1.CommandType command_type = 1;
|
|
660
|
+
*/
|
|
661
|
+
commandType: CommandType;
|
|
662
|
+
/**
|
|
663
|
+
* Metadata on the command. This is sometimes carried over to the history event if one is
|
|
664
|
+
* created as a result of the command. Most commands won't have this information, and how this
|
|
665
|
+
* information is used is dependent upon the interface that reads it.
|
|
666
|
+
*
|
|
667
|
+
* Current well-known uses:
|
|
668
|
+
* * start_child_workflow_execution_command_attributes - populates
|
|
669
|
+
* temporal.api.workflow.v1.WorkflowExecutionInfo.user_metadata where the summary and details
|
|
670
|
+
* are used by user interfaces to show fixed as-of-start workflow summary and details.
|
|
671
|
+
* * start_timer_command_attributes - populates temporal.api.history.v1.HistoryEvent for timer
|
|
672
|
+
* started where the summary is used to identify the timer.
|
|
673
|
+
*
|
|
674
|
+
* @generated from field: temporal.api.sdk.v1.UserMetadata user_metadata = 301;
|
|
675
|
+
*/
|
|
676
|
+
userMetadata?: UserMetadata;
|
|
677
|
+
/**
|
|
678
|
+
* The command details. The type must match that in `command_type`.
|
|
679
|
+
*
|
|
680
|
+
* @generated from oneof temporal.api.command.v1.Command.attributes
|
|
681
|
+
*/
|
|
682
|
+
attributes: {
|
|
683
|
+
/**
|
|
684
|
+
* @generated from field: temporal.api.command.v1.ScheduleActivityTaskCommandAttributes schedule_activity_task_command_attributes = 2;
|
|
685
|
+
*/
|
|
686
|
+
value: ScheduleActivityTaskCommandAttributes;
|
|
687
|
+
case: "scheduleActivityTaskCommandAttributes";
|
|
688
|
+
} | {
|
|
689
|
+
/**
|
|
690
|
+
* @generated from field: temporal.api.command.v1.StartTimerCommandAttributes start_timer_command_attributes = 3;
|
|
691
|
+
*/
|
|
692
|
+
value: StartTimerCommandAttributes;
|
|
693
|
+
case: "startTimerCommandAttributes";
|
|
694
|
+
} | {
|
|
695
|
+
/**
|
|
696
|
+
* @generated from field: temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes complete_workflow_execution_command_attributes = 4;
|
|
697
|
+
*/
|
|
698
|
+
value: CompleteWorkflowExecutionCommandAttributes;
|
|
699
|
+
case: "completeWorkflowExecutionCommandAttributes";
|
|
700
|
+
} | {
|
|
701
|
+
/**
|
|
702
|
+
* @generated from field: temporal.api.command.v1.FailWorkflowExecutionCommandAttributes fail_workflow_execution_command_attributes = 5;
|
|
703
|
+
*/
|
|
704
|
+
value: FailWorkflowExecutionCommandAttributes;
|
|
705
|
+
case: "failWorkflowExecutionCommandAttributes";
|
|
706
|
+
} | {
|
|
707
|
+
/**
|
|
708
|
+
* @generated from field: temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes request_cancel_activity_task_command_attributes = 6;
|
|
709
|
+
*/
|
|
710
|
+
value: RequestCancelActivityTaskCommandAttributes;
|
|
711
|
+
case: "requestCancelActivityTaskCommandAttributes";
|
|
712
|
+
} | {
|
|
713
|
+
/**
|
|
714
|
+
* @generated from field: temporal.api.command.v1.CancelTimerCommandAttributes cancel_timer_command_attributes = 7;
|
|
715
|
+
*/
|
|
716
|
+
value: CancelTimerCommandAttributes;
|
|
717
|
+
case: "cancelTimerCommandAttributes";
|
|
718
|
+
} | {
|
|
719
|
+
/**
|
|
720
|
+
* @generated from field: temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes cancel_workflow_execution_command_attributes = 8;
|
|
721
|
+
*/
|
|
722
|
+
value: CancelWorkflowExecutionCommandAttributes;
|
|
723
|
+
case: "cancelWorkflowExecutionCommandAttributes";
|
|
724
|
+
} | {
|
|
725
|
+
/**
|
|
726
|
+
* @generated from field: temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes request_cancel_external_workflow_execution_command_attributes = 9;
|
|
727
|
+
*/
|
|
728
|
+
value: RequestCancelExternalWorkflowExecutionCommandAttributes;
|
|
729
|
+
case: "requestCancelExternalWorkflowExecutionCommandAttributes";
|
|
730
|
+
} | {
|
|
731
|
+
/**
|
|
732
|
+
* @generated from field: temporal.api.command.v1.RecordMarkerCommandAttributes record_marker_command_attributes = 10;
|
|
733
|
+
*/
|
|
734
|
+
value: RecordMarkerCommandAttributes;
|
|
735
|
+
case: "recordMarkerCommandAttributes";
|
|
736
|
+
} | {
|
|
737
|
+
/**
|
|
738
|
+
* @generated from field: temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes continue_as_new_workflow_execution_command_attributes = 11;
|
|
739
|
+
*/
|
|
740
|
+
value: ContinueAsNewWorkflowExecutionCommandAttributes;
|
|
741
|
+
case: "continueAsNewWorkflowExecutionCommandAttributes";
|
|
742
|
+
} | {
|
|
743
|
+
/**
|
|
744
|
+
* @generated from field: temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes start_child_workflow_execution_command_attributes = 12;
|
|
745
|
+
*/
|
|
746
|
+
value: StartChildWorkflowExecutionCommandAttributes;
|
|
747
|
+
case: "startChildWorkflowExecutionCommandAttributes";
|
|
748
|
+
} | {
|
|
749
|
+
/**
|
|
750
|
+
* @generated from field: temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes signal_external_workflow_execution_command_attributes = 13;
|
|
751
|
+
*/
|
|
752
|
+
value: SignalExternalWorkflowExecutionCommandAttributes;
|
|
753
|
+
case: "signalExternalWorkflowExecutionCommandAttributes";
|
|
754
|
+
} | {
|
|
755
|
+
/**
|
|
756
|
+
* @generated from field: temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes upsert_workflow_search_attributes_command_attributes = 14;
|
|
757
|
+
*/
|
|
758
|
+
value: UpsertWorkflowSearchAttributesCommandAttributes;
|
|
759
|
+
case: "upsertWorkflowSearchAttributesCommandAttributes";
|
|
760
|
+
} | {
|
|
761
|
+
/**
|
|
762
|
+
* @generated from field: temporal.api.command.v1.ProtocolMessageCommandAttributes protocol_message_command_attributes = 15;
|
|
763
|
+
*/
|
|
764
|
+
value: ProtocolMessageCommandAttributes;
|
|
765
|
+
case: "protocolMessageCommandAttributes";
|
|
766
|
+
} | {
|
|
767
|
+
/**
|
|
768
|
+
* 16 is available for use - it was used as part of a prototype that never made it into a release
|
|
769
|
+
*
|
|
770
|
+
* @generated from field: temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes modify_workflow_properties_command_attributes = 17;
|
|
771
|
+
*/
|
|
772
|
+
value: ModifyWorkflowPropertiesCommandAttributes;
|
|
773
|
+
case: "modifyWorkflowPropertiesCommandAttributes";
|
|
774
|
+
} | {
|
|
775
|
+
/**
|
|
776
|
+
* @generated from field: temporal.api.command.v1.ScheduleNexusOperationCommandAttributes schedule_nexus_operation_command_attributes = 18;
|
|
777
|
+
*/
|
|
778
|
+
value: ScheduleNexusOperationCommandAttributes;
|
|
779
|
+
case: "scheduleNexusOperationCommandAttributes";
|
|
780
|
+
} | {
|
|
781
|
+
/**
|
|
782
|
+
* @generated from field: temporal.api.command.v1.RequestCancelNexusOperationCommandAttributes request_cancel_nexus_operation_command_attributes = 19;
|
|
783
|
+
*/
|
|
784
|
+
value: RequestCancelNexusOperationCommandAttributes;
|
|
785
|
+
case: "requestCancelNexusOperationCommandAttributes";
|
|
786
|
+
} | {
|
|
787
|
+
case: undefined;
|
|
788
|
+
value?: undefined;
|
|
789
|
+
};
|
|
790
|
+
};
|
|
791
|
+
/**
|
|
792
|
+
* Describes the message temporal.api.command.v1.Command.
|
|
793
|
+
* Use `create(CommandSchema)` to create a new message.
|
|
794
|
+
*/
|
|
795
|
+
export declare const CommandSchema: GenMessage<Command>;
|
|
796
|
+
//# sourceMappingURL=message_pb.d.ts.map
|