@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,779 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Memo, SearchAttributes, WorkflowExecution, WorkflowType } from "../../common/v1/message_pb.js";
|
|
4
|
+
import type { ScheduleOverlapPolicy } from "../../enums/v1/schedule_pb.js";
|
|
5
|
+
import type { WorkflowExecutionStatus } from "../../enums/v1/workflow_pb.js";
|
|
6
|
+
import type { NewWorkflowExecutionInfo } from "../../workflow/v1/message_pb.js";
|
|
7
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file temporal/api/schedule/v1/message.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_temporal_api_schedule_v1_message: GenFile;
|
|
12
|
+
/**
|
|
13
|
+
* CalendarSpec describes an event specification relative to the calendar,
|
|
14
|
+
* similar to a traditional cron specification, but with labeled fields. Each
|
|
15
|
+
* field can be one of:
|
|
16
|
+
* *: matches always
|
|
17
|
+
* x: matches when the field equals x
|
|
18
|
+
* x/y : matches when the field equals x+n*y where n is an integer
|
|
19
|
+
* x-z: matches when the field is between x and z inclusive
|
|
20
|
+
* w,x,y,...: matches when the field is one of the listed values
|
|
21
|
+
* Each x, y, z, ... is either a decimal integer, or a month or day of week name
|
|
22
|
+
* or abbreviation (in the appropriate fields).
|
|
23
|
+
* A timestamp matches if all fields match.
|
|
24
|
+
* Note that fields have different default values, for convenience.
|
|
25
|
+
* Note that the special case that some cron implementations have for treating
|
|
26
|
+
* day_of_month and day_of_week as "or" instead of "and" when both are set is
|
|
27
|
+
* not implemented.
|
|
28
|
+
* day_of_week can accept 0 or 7 as Sunday
|
|
29
|
+
* CalendarSpec gets compiled into StructuredCalendarSpec, which is what will be
|
|
30
|
+
* returned if you describe the schedule.
|
|
31
|
+
*
|
|
32
|
+
* @generated from message temporal.api.schedule.v1.CalendarSpec
|
|
33
|
+
*/
|
|
34
|
+
export type CalendarSpec = Message<"temporal.api.schedule.v1.CalendarSpec"> & {
|
|
35
|
+
/**
|
|
36
|
+
* Expression to match seconds. Default: 0
|
|
37
|
+
*
|
|
38
|
+
* @generated from field: string second = 1;
|
|
39
|
+
*/
|
|
40
|
+
second: string;
|
|
41
|
+
/**
|
|
42
|
+
* Expression to match minutes. Default: 0
|
|
43
|
+
*
|
|
44
|
+
* @generated from field: string minute = 2;
|
|
45
|
+
*/
|
|
46
|
+
minute: string;
|
|
47
|
+
/**
|
|
48
|
+
* Expression to match hours. Default: 0
|
|
49
|
+
*
|
|
50
|
+
* @generated from field: string hour = 3;
|
|
51
|
+
*/
|
|
52
|
+
hour: string;
|
|
53
|
+
/**
|
|
54
|
+
* Expression to match days of the month. Default: *
|
|
55
|
+
* (-- api-linter: core::0140::prepositions=disabled
|
|
56
|
+
* aip.dev/not-precedent: standard name of field --)
|
|
57
|
+
*
|
|
58
|
+
* @generated from field: string day_of_month = 4;
|
|
59
|
+
*/
|
|
60
|
+
dayOfMonth: string;
|
|
61
|
+
/**
|
|
62
|
+
* Expression to match months. Default: *
|
|
63
|
+
*
|
|
64
|
+
* @generated from field: string month = 5;
|
|
65
|
+
*/
|
|
66
|
+
month: string;
|
|
67
|
+
/**
|
|
68
|
+
* Expression to match years. Default: *
|
|
69
|
+
*
|
|
70
|
+
* @generated from field: string year = 6;
|
|
71
|
+
*/
|
|
72
|
+
year: string;
|
|
73
|
+
/**
|
|
74
|
+
* Expression to match days of the week. Default: *
|
|
75
|
+
*
|
|
76
|
+
* @generated from field: string day_of_week = 7;
|
|
77
|
+
*/
|
|
78
|
+
dayOfWeek: string;
|
|
79
|
+
/**
|
|
80
|
+
* Free-form comment describing the intention of this spec.
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: string comment = 8;
|
|
83
|
+
*/
|
|
84
|
+
comment: string;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Describes the message temporal.api.schedule.v1.CalendarSpec.
|
|
88
|
+
* Use `create(CalendarSpecSchema)` to create a new message.
|
|
89
|
+
*/
|
|
90
|
+
export declare const CalendarSpecSchema: GenMessage<CalendarSpec>;
|
|
91
|
+
/**
|
|
92
|
+
* Range represents a set of integer values, used to match fields of a calendar
|
|
93
|
+
* time in StructuredCalendarSpec. If end < start, then end is interpreted as
|
|
94
|
+
* equal to start. This means you can use a Range with start set to a value, and
|
|
95
|
+
* end and step unset (defaulting to 0) to represent a single value.
|
|
96
|
+
*
|
|
97
|
+
* @generated from message temporal.api.schedule.v1.Range
|
|
98
|
+
*/
|
|
99
|
+
export type Range = Message<"temporal.api.schedule.v1.Range"> & {
|
|
100
|
+
/**
|
|
101
|
+
* Start of range (inclusive).
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: int32 start = 1;
|
|
104
|
+
*/
|
|
105
|
+
start: number;
|
|
106
|
+
/**
|
|
107
|
+
* End of range (inclusive).
|
|
108
|
+
*
|
|
109
|
+
* @generated from field: int32 end = 2;
|
|
110
|
+
*/
|
|
111
|
+
end: number;
|
|
112
|
+
/**
|
|
113
|
+
* Step (optional, default 1).
|
|
114
|
+
*
|
|
115
|
+
* @generated from field: int32 step = 3;
|
|
116
|
+
*/
|
|
117
|
+
step: number;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* Describes the message temporal.api.schedule.v1.Range.
|
|
121
|
+
* Use `create(RangeSchema)` to create a new message.
|
|
122
|
+
*/
|
|
123
|
+
export declare const RangeSchema: GenMessage<Range>;
|
|
124
|
+
/**
|
|
125
|
+
* StructuredCalendarSpec describes an event specification relative to the
|
|
126
|
+
* calendar, in a form that's easy to work with programmatically. Each field can
|
|
127
|
+
* be one or more ranges.
|
|
128
|
+
* A timestamp matches if at least one range of each field matches the
|
|
129
|
+
* corresponding fields of the timestamp, except for year: if year is missing,
|
|
130
|
+
* that means all years match. For all fields besides year, at least one Range
|
|
131
|
+
* must be present to match anything.
|
|
132
|
+
* Relative expressions such as "last day of the month" or "third Monday" are not currently
|
|
133
|
+
* representable; callers must enumerate the concrete days they require.
|
|
134
|
+
*
|
|
135
|
+
* @generated from message temporal.api.schedule.v1.StructuredCalendarSpec
|
|
136
|
+
*/
|
|
137
|
+
export type StructuredCalendarSpec = Message<"temporal.api.schedule.v1.StructuredCalendarSpec"> & {
|
|
138
|
+
/**
|
|
139
|
+
* Match seconds (0-59)
|
|
140
|
+
*
|
|
141
|
+
* @generated from field: repeated temporal.api.schedule.v1.Range second = 1;
|
|
142
|
+
*/
|
|
143
|
+
second: Range[];
|
|
144
|
+
/**
|
|
145
|
+
* Match minutes (0-59)
|
|
146
|
+
*
|
|
147
|
+
* @generated from field: repeated temporal.api.schedule.v1.Range minute = 2;
|
|
148
|
+
*/
|
|
149
|
+
minute: Range[];
|
|
150
|
+
/**
|
|
151
|
+
* Match hours (0-23)
|
|
152
|
+
*
|
|
153
|
+
* @generated from field: repeated temporal.api.schedule.v1.Range hour = 3;
|
|
154
|
+
*/
|
|
155
|
+
hour: Range[];
|
|
156
|
+
/**
|
|
157
|
+
* Match days of the month (1-31)
|
|
158
|
+
* (-- api-linter: core::0140::prepositions=disabled
|
|
159
|
+
* aip.dev/not-precedent: standard name of field --)
|
|
160
|
+
*
|
|
161
|
+
* @generated from field: repeated temporal.api.schedule.v1.Range day_of_month = 4;
|
|
162
|
+
*/
|
|
163
|
+
dayOfMonth: Range[];
|
|
164
|
+
/**
|
|
165
|
+
* Match months (1-12)
|
|
166
|
+
*
|
|
167
|
+
* @generated from field: repeated temporal.api.schedule.v1.Range month = 5;
|
|
168
|
+
*/
|
|
169
|
+
month: Range[];
|
|
170
|
+
/**
|
|
171
|
+
* Match years.
|
|
172
|
+
*
|
|
173
|
+
* @generated from field: repeated temporal.api.schedule.v1.Range year = 6;
|
|
174
|
+
*/
|
|
175
|
+
year: Range[];
|
|
176
|
+
/**
|
|
177
|
+
* Match days of the week (0-6; 0 is Sunday).
|
|
178
|
+
*
|
|
179
|
+
* @generated from field: repeated temporal.api.schedule.v1.Range day_of_week = 7;
|
|
180
|
+
*/
|
|
181
|
+
dayOfWeek: Range[];
|
|
182
|
+
/**
|
|
183
|
+
* Free-form comment describing the intention of this spec.
|
|
184
|
+
*
|
|
185
|
+
* @generated from field: string comment = 8;
|
|
186
|
+
*/
|
|
187
|
+
comment: string;
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* Describes the message temporal.api.schedule.v1.StructuredCalendarSpec.
|
|
191
|
+
* Use `create(StructuredCalendarSpecSchema)` to create a new message.
|
|
192
|
+
*/
|
|
193
|
+
export declare const StructuredCalendarSpecSchema: GenMessage<StructuredCalendarSpec>;
|
|
194
|
+
/**
|
|
195
|
+
* IntervalSpec matches times that can be expressed as:
|
|
196
|
+
* epoch + n * interval + phase
|
|
197
|
+
* where n is an integer.
|
|
198
|
+
* phase defaults to zero if missing. interval is required.
|
|
199
|
+
* Both interval and phase must be non-negative and are truncated to the nearest
|
|
200
|
+
* second before any calculations.
|
|
201
|
+
* For example, an interval of 1 hour with phase of zero would match every hour,
|
|
202
|
+
* on the hour. The same interval but a phase of 19 minutes would match every
|
|
203
|
+
* xx:19:00. An interval of 28 days with phase zero would match
|
|
204
|
+
* 2022-02-17T00:00:00Z (among other times). The same interval with a phase of 3
|
|
205
|
+
* days, 5 hours, and 23 minutes would match 2022-02-20T05:23:00Z instead.
|
|
206
|
+
*
|
|
207
|
+
* @generated from message temporal.api.schedule.v1.IntervalSpec
|
|
208
|
+
*/
|
|
209
|
+
export type IntervalSpec = Message<"temporal.api.schedule.v1.IntervalSpec"> & {
|
|
210
|
+
/**
|
|
211
|
+
* @generated from field: google.protobuf.Duration interval = 1;
|
|
212
|
+
*/
|
|
213
|
+
interval?: Duration;
|
|
214
|
+
/**
|
|
215
|
+
* @generated from field: google.protobuf.Duration phase = 2;
|
|
216
|
+
*/
|
|
217
|
+
phase?: Duration;
|
|
218
|
+
};
|
|
219
|
+
/**
|
|
220
|
+
* Describes the message temporal.api.schedule.v1.IntervalSpec.
|
|
221
|
+
* Use `create(IntervalSpecSchema)` to create a new message.
|
|
222
|
+
*/
|
|
223
|
+
export declare const IntervalSpecSchema: GenMessage<IntervalSpec>;
|
|
224
|
+
/**
|
|
225
|
+
* ScheduleSpec is a complete description of a set of absolute timestamps
|
|
226
|
+
* (possibly infinite) that an action should occur at. The meaning of a
|
|
227
|
+
* ScheduleSpec depends only on its contents and never changes, except that the
|
|
228
|
+
* definition of a time zone can change over time (most commonly, when daylight
|
|
229
|
+
* saving time policy changes for an area). To create a totally self-contained
|
|
230
|
+
* ScheduleSpec, use UTC or include timezone_data.
|
|
231
|
+
*
|
|
232
|
+
* For input, you can provide zero or more of: structured_calendar, calendar,
|
|
233
|
+
* cron_string, interval, and exclude_structured_calendar, and all of them will
|
|
234
|
+
* be used (the schedule will take action at the union of all of their times,
|
|
235
|
+
* minus the ones that match exclude_structured_calendar).
|
|
236
|
+
*
|
|
237
|
+
* On input, calendar and cron_string fields will be compiled into
|
|
238
|
+
* structured_calendar (and maybe interval and timezone_name), so if you
|
|
239
|
+
* Describe a schedule, you'll see only structured_calendar, interval, etc.
|
|
240
|
+
*
|
|
241
|
+
* If a spec has no matching times after the current time, then the schedule
|
|
242
|
+
* will be subject to automatic deletion (after several days).
|
|
243
|
+
*
|
|
244
|
+
* @generated from message temporal.api.schedule.v1.ScheduleSpec
|
|
245
|
+
*/
|
|
246
|
+
export type ScheduleSpec = Message<"temporal.api.schedule.v1.ScheduleSpec"> & {
|
|
247
|
+
/**
|
|
248
|
+
* Calendar-based specifications of times.
|
|
249
|
+
*
|
|
250
|
+
* @generated from field: repeated temporal.api.schedule.v1.StructuredCalendarSpec structured_calendar = 7;
|
|
251
|
+
*/
|
|
252
|
+
structuredCalendar: StructuredCalendarSpec[];
|
|
253
|
+
/**
|
|
254
|
+
* cron_string holds a traditional cron specification as a string. It
|
|
255
|
+
* accepts 5, 6, or 7 fields, separated by spaces, and interprets them the
|
|
256
|
+
* same way as CalendarSpec.
|
|
257
|
+
* 5 fields: minute, hour, day_of_month, month, day_of_week
|
|
258
|
+
* 6 fields: minute, hour, day_of_month, month, day_of_week, year
|
|
259
|
+
* 7 fields: second, minute, hour, day_of_month, month, day_of_week, year
|
|
260
|
+
* If year is not given, it defaults to *. If second is not given, it
|
|
261
|
+
* defaults to 0.
|
|
262
|
+
* Shorthands @yearly, @monthly, @weekly, @daily, and @hourly are also
|
|
263
|
+
* accepted instead of the 5-7 time fields.
|
|
264
|
+
* Optionally, the string can be preceded by CRON_TZ=<timezone name> or
|
|
265
|
+
* TZ=<timezone name>, which will get copied to timezone_name. (There must
|
|
266
|
+
* not also be a timezone_name present.)
|
|
267
|
+
* Optionally "#" followed by a comment can appear at the end of the string.
|
|
268
|
+
* Note that the special case that some cron implementations have for
|
|
269
|
+
* treating day_of_month and day_of_week as "or" instead of "and" when both
|
|
270
|
+
* are set is not implemented.
|
|
271
|
+
* @every <interval>[/<phase>] is accepted and gets compiled into an
|
|
272
|
+
* IntervalSpec instead. <interval> and <phase> should be a decimal integer
|
|
273
|
+
* with a unit suffix s, m, h, or d.
|
|
274
|
+
*
|
|
275
|
+
* @generated from field: repeated string cron_string = 8;
|
|
276
|
+
*/
|
|
277
|
+
cronString: string[];
|
|
278
|
+
/**
|
|
279
|
+
* Calendar-based specifications of times.
|
|
280
|
+
*
|
|
281
|
+
* @generated from field: repeated temporal.api.schedule.v1.CalendarSpec calendar = 1;
|
|
282
|
+
*/
|
|
283
|
+
calendar: CalendarSpec[];
|
|
284
|
+
/**
|
|
285
|
+
* Interval-based specifications of times.
|
|
286
|
+
*
|
|
287
|
+
* @generated from field: repeated temporal.api.schedule.v1.IntervalSpec interval = 2;
|
|
288
|
+
*/
|
|
289
|
+
interval: IntervalSpec[];
|
|
290
|
+
/**
|
|
291
|
+
* Any timestamps matching any of exclude_* will be skipped.
|
|
292
|
+
* Deprecated. Use exclude_structured_calendar.
|
|
293
|
+
*
|
|
294
|
+
* @generated from field: repeated temporal.api.schedule.v1.CalendarSpec exclude_calendar = 3 [deprecated = true];
|
|
295
|
+
* @deprecated
|
|
296
|
+
*/
|
|
297
|
+
excludeCalendar: CalendarSpec[];
|
|
298
|
+
/**
|
|
299
|
+
* @generated from field: repeated temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;
|
|
300
|
+
*/
|
|
301
|
+
excludeStructuredCalendar: StructuredCalendarSpec[];
|
|
302
|
+
/**
|
|
303
|
+
* If start_time is set, any timestamps before start_time will be skipped.
|
|
304
|
+
* (Together, start_time and end_time make an inclusive interval.)
|
|
305
|
+
*
|
|
306
|
+
* @generated from field: google.protobuf.Timestamp start_time = 4;
|
|
307
|
+
*/
|
|
308
|
+
startTime?: Timestamp;
|
|
309
|
+
/**
|
|
310
|
+
* If end_time is set, any timestamps after end_time will be skipped.
|
|
311
|
+
*
|
|
312
|
+
* @generated from field: google.protobuf.Timestamp end_time = 5;
|
|
313
|
+
*/
|
|
314
|
+
endTime?: Timestamp;
|
|
315
|
+
/**
|
|
316
|
+
* All timestamps will be incremented by a random value from 0 to this
|
|
317
|
+
* amount of jitter. Default: 0
|
|
318
|
+
*
|
|
319
|
+
* @generated from field: google.protobuf.Duration jitter = 6;
|
|
320
|
+
*/
|
|
321
|
+
jitter?: Duration;
|
|
322
|
+
/**
|
|
323
|
+
* Time zone to interpret all calendar-based specs in.
|
|
324
|
+
*
|
|
325
|
+
* If unset, defaults to UTC. We recommend using UTC for your application if
|
|
326
|
+
* at all possible, to avoid various surprising properties of time zones.
|
|
327
|
+
*
|
|
328
|
+
* Time zones may be provided by name, corresponding to names in the IANA
|
|
329
|
+
* time zone database (see https://www.iana.org/time-zones). The definition
|
|
330
|
+
* will be loaded by the Temporal server from the environment it runs in.
|
|
331
|
+
*
|
|
332
|
+
* If your application requires more control over the time zone definition
|
|
333
|
+
* used, it may pass in a complete definition in the form of a TZif file
|
|
334
|
+
* from the time zone database. If present, this will be used instead of
|
|
335
|
+
* loading anything from the environment. You are then responsible for
|
|
336
|
+
* updating timezone_data when the definition changes.
|
|
337
|
+
*
|
|
338
|
+
* Calendar spec matching is based on literal matching of the clock time
|
|
339
|
+
* with no special handling of DST: if you write a calendar spec that fires
|
|
340
|
+
* at 2:30am and specify a time zone that follows DST, that action will not
|
|
341
|
+
* be triggered on the day that has no 2:30am. Similarly, an action that
|
|
342
|
+
* fires at 1:30am will be triggered twice on the day that has two 1:30s.
|
|
343
|
+
*
|
|
344
|
+
* Also note that no actions are taken on leap-seconds (e.g. 23:59:60 UTC).
|
|
345
|
+
*
|
|
346
|
+
* @generated from field: string timezone_name = 10;
|
|
347
|
+
*/
|
|
348
|
+
timezoneName: string;
|
|
349
|
+
/**
|
|
350
|
+
* @generated from field: bytes timezone_data = 11;
|
|
351
|
+
*/
|
|
352
|
+
timezoneData: Uint8Array;
|
|
353
|
+
};
|
|
354
|
+
/**
|
|
355
|
+
* Describes the message temporal.api.schedule.v1.ScheduleSpec.
|
|
356
|
+
* Use `create(ScheduleSpecSchema)` to create a new message.
|
|
357
|
+
*/
|
|
358
|
+
export declare const ScheduleSpecSchema: GenMessage<ScheduleSpec>;
|
|
359
|
+
/**
|
|
360
|
+
* @generated from message temporal.api.schedule.v1.SchedulePolicies
|
|
361
|
+
*/
|
|
362
|
+
export type SchedulePolicies = Message<"temporal.api.schedule.v1.SchedulePolicies"> & {
|
|
363
|
+
/**
|
|
364
|
+
* Policy for overlaps.
|
|
365
|
+
* Note that this can be changed after a schedule has taken some actions,
|
|
366
|
+
* and some changes might produce unintuitive results. In general, the later
|
|
367
|
+
* policy overrides the earlier policy.
|
|
368
|
+
*
|
|
369
|
+
* @generated from field: temporal.api.enums.v1.ScheduleOverlapPolicy overlap_policy = 1;
|
|
370
|
+
*/
|
|
371
|
+
overlapPolicy: ScheduleOverlapPolicy;
|
|
372
|
+
/**
|
|
373
|
+
* Policy for catchups:
|
|
374
|
+
* If the Temporal server misses an action due to one or more components
|
|
375
|
+
* being down, and comes back up, the action will be run if the scheduled
|
|
376
|
+
* time is within this window from the current time.
|
|
377
|
+
* This value defaults to one year, and can't be less than 10 seconds.
|
|
378
|
+
*
|
|
379
|
+
* @generated from field: google.protobuf.Duration catchup_window = 2;
|
|
380
|
+
*/
|
|
381
|
+
catchupWindow?: Duration;
|
|
382
|
+
/**
|
|
383
|
+
* If true, and a workflow run fails or times out, turn on "paused".
|
|
384
|
+
* This applies after retry policies: the full chain of retries must fail to
|
|
385
|
+
* trigger a pause here.
|
|
386
|
+
*
|
|
387
|
+
* @generated from field: bool pause_on_failure = 3;
|
|
388
|
+
*/
|
|
389
|
+
pauseOnFailure: boolean;
|
|
390
|
+
/**
|
|
391
|
+
* If true, and the action would start a workflow, a timestamp will not be
|
|
392
|
+
* appended to the scheduled workflow id.
|
|
393
|
+
*
|
|
394
|
+
* @generated from field: bool keep_original_workflow_id = 4;
|
|
395
|
+
*/
|
|
396
|
+
keepOriginalWorkflowId: boolean;
|
|
397
|
+
};
|
|
398
|
+
/**
|
|
399
|
+
* Describes the message temporal.api.schedule.v1.SchedulePolicies.
|
|
400
|
+
* Use `create(SchedulePoliciesSchema)` to create a new message.
|
|
401
|
+
*/
|
|
402
|
+
export declare const SchedulePoliciesSchema: GenMessage<SchedulePolicies>;
|
|
403
|
+
/**
|
|
404
|
+
* @generated from message temporal.api.schedule.v1.ScheduleAction
|
|
405
|
+
*/
|
|
406
|
+
export type ScheduleAction = Message<"temporal.api.schedule.v1.ScheduleAction"> & {
|
|
407
|
+
/**
|
|
408
|
+
* @generated from oneof temporal.api.schedule.v1.ScheduleAction.action
|
|
409
|
+
*/
|
|
410
|
+
action: {
|
|
411
|
+
/**
|
|
412
|
+
* All fields of NewWorkflowExecutionInfo are valid except for:
|
|
413
|
+
* - workflow_id_reuse_policy
|
|
414
|
+
* - cron_schedule
|
|
415
|
+
* The workflow id of the started workflow may not match this exactly,
|
|
416
|
+
* it may have a timestamp appended for uniqueness.
|
|
417
|
+
*
|
|
418
|
+
* @generated from field: temporal.api.workflow.v1.NewWorkflowExecutionInfo start_workflow = 1;
|
|
419
|
+
*/
|
|
420
|
+
value: NewWorkflowExecutionInfo;
|
|
421
|
+
case: "startWorkflow";
|
|
422
|
+
} | {
|
|
423
|
+
case: undefined;
|
|
424
|
+
value?: undefined;
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
/**
|
|
428
|
+
* Describes the message temporal.api.schedule.v1.ScheduleAction.
|
|
429
|
+
* Use `create(ScheduleActionSchema)` to create a new message.
|
|
430
|
+
*/
|
|
431
|
+
export declare const ScheduleActionSchema: GenMessage<ScheduleAction>;
|
|
432
|
+
/**
|
|
433
|
+
* @generated from message temporal.api.schedule.v1.ScheduleActionResult
|
|
434
|
+
*/
|
|
435
|
+
export type ScheduleActionResult = Message<"temporal.api.schedule.v1.ScheduleActionResult"> & {
|
|
436
|
+
/**
|
|
437
|
+
* Time that the action was taken (according to the schedule, including jitter).
|
|
438
|
+
*
|
|
439
|
+
* @generated from field: google.protobuf.Timestamp schedule_time = 1;
|
|
440
|
+
*/
|
|
441
|
+
scheduleTime?: Timestamp;
|
|
442
|
+
/**
|
|
443
|
+
* Time that the action was taken (real time).
|
|
444
|
+
*
|
|
445
|
+
* @generated from field: google.protobuf.Timestamp actual_time = 2;
|
|
446
|
+
*/
|
|
447
|
+
actualTime?: Timestamp;
|
|
448
|
+
/**
|
|
449
|
+
* If action was start_workflow:
|
|
450
|
+
*
|
|
451
|
+
* @generated from field: temporal.api.common.v1.WorkflowExecution start_workflow_result = 11;
|
|
452
|
+
*/
|
|
453
|
+
startWorkflowResult?: WorkflowExecution;
|
|
454
|
+
/**
|
|
455
|
+
* If the action was start_workflow, this field will reflect an
|
|
456
|
+
* eventually-consistent view of the started workflow's status.
|
|
457
|
+
*
|
|
458
|
+
* @generated from field: temporal.api.enums.v1.WorkflowExecutionStatus start_workflow_status = 12;
|
|
459
|
+
*/
|
|
460
|
+
startWorkflowStatus: WorkflowExecutionStatus;
|
|
461
|
+
};
|
|
462
|
+
/**
|
|
463
|
+
* Describes the message temporal.api.schedule.v1.ScheduleActionResult.
|
|
464
|
+
* Use `create(ScheduleActionResultSchema)` to create a new message.
|
|
465
|
+
*/
|
|
466
|
+
export declare const ScheduleActionResultSchema: GenMessage<ScheduleActionResult>;
|
|
467
|
+
/**
|
|
468
|
+
* @generated from message temporal.api.schedule.v1.ScheduleState
|
|
469
|
+
*/
|
|
470
|
+
export type ScheduleState = Message<"temporal.api.schedule.v1.ScheduleState"> & {
|
|
471
|
+
/**
|
|
472
|
+
* Informative human-readable message with contextual notes, e.g. the reason
|
|
473
|
+
* a schedule is paused. The system may overwrite this message on certain
|
|
474
|
+
* conditions, e.g. when pause-on-failure happens.
|
|
475
|
+
*
|
|
476
|
+
* @generated from field: string notes = 1;
|
|
477
|
+
*/
|
|
478
|
+
notes: string;
|
|
479
|
+
/**
|
|
480
|
+
* If true, do not take any actions based on the schedule spec.
|
|
481
|
+
*
|
|
482
|
+
* @generated from field: bool paused = 2;
|
|
483
|
+
*/
|
|
484
|
+
paused: boolean;
|
|
485
|
+
/**
|
|
486
|
+
* If limited_actions is true, decrement remaining_actions after each
|
|
487
|
+
* action, and do not take any more scheduled actions if remaining_actions
|
|
488
|
+
* is zero. Actions may still be taken by explicit request (i.e. trigger
|
|
489
|
+
* immediately or backfill). Skipped actions (due to overlap policy) do not
|
|
490
|
+
* count against remaining actions.
|
|
491
|
+
* If a schedule has no more remaining actions, then the schedule will be
|
|
492
|
+
* subject to automatic deletion (after several days).
|
|
493
|
+
*
|
|
494
|
+
* @generated from field: bool limited_actions = 3;
|
|
495
|
+
*/
|
|
496
|
+
limitedActions: boolean;
|
|
497
|
+
/**
|
|
498
|
+
* @generated from field: int64 remaining_actions = 4;
|
|
499
|
+
*/
|
|
500
|
+
remainingActions: bigint;
|
|
501
|
+
};
|
|
502
|
+
/**
|
|
503
|
+
* Describes the message temporal.api.schedule.v1.ScheduleState.
|
|
504
|
+
* Use `create(ScheduleStateSchema)` to create a new message.
|
|
505
|
+
*/
|
|
506
|
+
export declare const ScheduleStateSchema: GenMessage<ScheduleState>;
|
|
507
|
+
/**
|
|
508
|
+
* @generated from message temporal.api.schedule.v1.TriggerImmediatelyRequest
|
|
509
|
+
*/
|
|
510
|
+
export type TriggerImmediatelyRequest = Message<"temporal.api.schedule.v1.TriggerImmediatelyRequest"> & {
|
|
511
|
+
/**
|
|
512
|
+
* If set, override overlap policy for this one request.
|
|
513
|
+
*
|
|
514
|
+
* @generated from field: temporal.api.enums.v1.ScheduleOverlapPolicy overlap_policy = 1;
|
|
515
|
+
*/
|
|
516
|
+
overlapPolicy: ScheduleOverlapPolicy;
|
|
517
|
+
/**
|
|
518
|
+
* Timestamp used for the identity of the target workflow.
|
|
519
|
+
* If not set the default value is the current time.
|
|
520
|
+
*
|
|
521
|
+
* @generated from field: google.protobuf.Timestamp scheduled_time = 2;
|
|
522
|
+
*/
|
|
523
|
+
scheduledTime?: Timestamp;
|
|
524
|
+
};
|
|
525
|
+
/**
|
|
526
|
+
* Describes the message temporal.api.schedule.v1.TriggerImmediatelyRequest.
|
|
527
|
+
* Use `create(TriggerImmediatelyRequestSchema)` to create a new message.
|
|
528
|
+
*/
|
|
529
|
+
export declare const TriggerImmediatelyRequestSchema: GenMessage<TriggerImmediatelyRequest>;
|
|
530
|
+
/**
|
|
531
|
+
* @generated from message temporal.api.schedule.v1.BackfillRequest
|
|
532
|
+
*/
|
|
533
|
+
export type BackfillRequest = Message<"temporal.api.schedule.v1.BackfillRequest"> & {
|
|
534
|
+
/**
|
|
535
|
+
* Time range to evaluate schedule in. Currently, this time range is
|
|
536
|
+
* exclusive on start_time and inclusive on end_time. (This is admittedly
|
|
537
|
+
* counterintuitive and it may change in the future, so to be safe, use a
|
|
538
|
+
* start time strictly before a scheduled time.) Also note that an action
|
|
539
|
+
* nominally scheduled in the interval but with jitter that pushes it after
|
|
540
|
+
* end_time will not be included.
|
|
541
|
+
*
|
|
542
|
+
* @generated from field: google.protobuf.Timestamp start_time = 1;
|
|
543
|
+
*/
|
|
544
|
+
startTime?: Timestamp;
|
|
545
|
+
/**
|
|
546
|
+
* @generated from field: google.protobuf.Timestamp end_time = 2;
|
|
547
|
+
*/
|
|
548
|
+
endTime?: Timestamp;
|
|
549
|
+
/**
|
|
550
|
+
* If set, override overlap policy for this request.
|
|
551
|
+
*
|
|
552
|
+
* @generated from field: temporal.api.enums.v1.ScheduleOverlapPolicy overlap_policy = 3;
|
|
553
|
+
*/
|
|
554
|
+
overlapPolicy: ScheduleOverlapPolicy;
|
|
555
|
+
};
|
|
556
|
+
/**
|
|
557
|
+
* Describes the message temporal.api.schedule.v1.BackfillRequest.
|
|
558
|
+
* Use `create(BackfillRequestSchema)` to create a new message.
|
|
559
|
+
*/
|
|
560
|
+
export declare const BackfillRequestSchema: GenMessage<BackfillRequest>;
|
|
561
|
+
/**
|
|
562
|
+
* @generated from message temporal.api.schedule.v1.SchedulePatch
|
|
563
|
+
*/
|
|
564
|
+
export type SchedulePatch = Message<"temporal.api.schedule.v1.SchedulePatch"> & {
|
|
565
|
+
/**
|
|
566
|
+
* If set, trigger one action immediately.
|
|
567
|
+
*
|
|
568
|
+
* @generated from field: temporal.api.schedule.v1.TriggerImmediatelyRequest trigger_immediately = 1;
|
|
569
|
+
*/
|
|
570
|
+
triggerImmediately?: TriggerImmediatelyRequest;
|
|
571
|
+
/**
|
|
572
|
+
* If set, runs though the specified time period(s) and takes actions as if that time
|
|
573
|
+
* passed by right now, all at once. The overlap policy can be overridden for the
|
|
574
|
+
* scope of the backfill.
|
|
575
|
+
*
|
|
576
|
+
* @generated from field: repeated temporal.api.schedule.v1.BackfillRequest backfill_request = 2;
|
|
577
|
+
*/
|
|
578
|
+
backfillRequest: BackfillRequest[];
|
|
579
|
+
/**
|
|
580
|
+
* If set, change the state to paused or unpaused (respectively) and set the
|
|
581
|
+
* notes field to the value of the string.
|
|
582
|
+
*
|
|
583
|
+
* @generated from field: string pause = 3;
|
|
584
|
+
*/
|
|
585
|
+
pause: string;
|
|
586
|
+
/**
|
|
587
|
+
* @generated from field: string unpause = 4;
|
|
588
|
+
*/
|
|
589
|
+
unpause: string;
|
|
590
|
+
};
|
|
591
|
+
/**
|
|
592
|
+
* Describes the message temporal.api.schedule.v1.SchedulePatch.
|
|
593
|
+
* Use `create(SchedulePatchSchema)` to create a new message.
|
|
594
|
+
*/
|
|
595
|
+
export declare const SchedulePatchSchema: GenMessage<SchedulePatch>;
|
|
596
|
+
/**
|
|
597
|
+
* @generated from message temporal.api.schedule.v1.ScheduleInfo
|
|
598
|
+
*/
|
|
599
|
+
export type ScheduleInfo = Message<"temporal.api.schedule.v1.ScheduleInfo"> & {
|
|
600
|
+
/**
|
|
601
|
+
* Number of actions taken so far.
|
|
602
|
+
*
|
|
603
|
+
* @generated from field: int64 action_count = 1;
|
|
604
|
+
*/
|
|
605
|
+
actionCount: bigint;
|
|
606
|
+
/**
|
|
607
|
+
* Number of times a scheduled action was skipped due to missing the catchup window.
|
|
608
|
+
*
|
|
609
|
+
* @generated from field: int64 missed_catchup_window = 2;
|
|
610
|
+
*/
|
|
611
|
+
missedCatchupWindow: bigint;
|
|
612
|
+
/**
|
|
613
|
+
* Number of skipped actions due to overlap.
|
|
614
|
+
*
|
|
615
|
+
* @generated from field: int64 overlap_skipped = 3;
|
|
616
|
+
*/
|
|
617
|
+
overlapSkipped: bigint;
|
|
618
|
+
/**
|
|
619
|
+
* Number of dropped actions due to buffer limit.
|
|
620
|
+
*
|
|
621
|
+
* @generated from field: int64 buffer_dropped = 10;
|
|
622
|
+
*/
|
|
623
|
+
bufferDropped: bigint;
|
|
624
|
+
/**
|
|
625
|
+
* Number of actions in the buffer. The buffer holds the actions that cannot
|
|
626
|
+
* be immediately triggered (due to the overlap policy). These actions can be a result of
|
|
627
|
+
* the normal schedule or a backfill.
|
|
628
|
+
*
|
|
629
|
+
* @generated from field: int64 buffer_size = 11;
|
|
630
|
+
*/
|
|
631
|
+
bufferSize: bigint;
|
|
632
|
+
/**
|
|
633
|
+
* Currently-running workflows started by this schedule. (There might be
|
|
634
|
+
* more than one if the overlap policy allows overlaps.)
|
|
635
|
+
* Note that the run_ids in here are the original execution run ids as
|
|
636
|
+
* started by the schedule. If the workflows retried, did continue-as-new,
|
|
637
|
+
* or were reset, they might still be running but with a different run_id.
|
|
638
|
+
*
|
|
639
|
+
* @generated from field: repeated temporal.api.common.v1.WorkflowExecution running_workflows = 9;
|
|
640
|
+
*/
|
|
641
|
+
runningWorkflows: WorkflowExecution[];
|
|
642
|
+
/**
|
|
643
|
+
* Most recent ten actual action times (including manual triggers).
|
|
644
|
+
*
|
|
645
|
+
* @generated from field: repeated temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;
|
|
646
|
+
*/
|
|
647
|
+
recentActions: ScheduleActionResult[];
|
|
648
|
+
/**
|
|
649
|
+
* Next ten scheduled action times.
|
|
650
|
+
*
|
|
651
|
+
* @generated from field: repeated google.protobuf.Timestamp future_action_times = 5;
|
|
652
|
+
*/
|
|
653
|
+
futureActionTimes: Timestamp[];
|
|
654
|
+
/**
|
|
655
|
+
* Timestamps of schedule creation and last update.
|
|
656
|
+
*
|
|
657
|
+
* @generated from field: google.protobuf.Timestamp create_time = 6;
|
|
658
|
+
*/
|
|
659
|
+
createTime?: Timestamp;
|
|
660
|
+
/**
|
|
661
|
+
* @generated from field: google.protobuf.Timestamp update_time = 7;
|
|
662
|
+
*/
|
|
663
|
+
updateTime?: Timestamp;
|
|
664
|
+
/**
|
|
665
|
+
* Deprecated.
|
|
666
|
+
*
|
|
667
|
+
* @generated from field: string invalid_schedule_error = 8 [deprecated = true];
|
|
668
|
+
* @deprecated
|
|
669
|
+
*/
|
|
670
|
+
invalidScheduleError: string;
|
|
671
|
+
};
|
|
672
|
+
/**
|
|
673
|
+
* Describes the message temporal.api.schedule.v1.ScheduleInfo.
|
|
674
|
+
* Use `create(ScheduleInfoSchema)` to create a new message.
|
|
675
|
+
*/
|
|
676
|
+
export declare const ScheduleInfoSchema: GenMessage<ScheduleInfo>;
|
|
677
|
+
/**
|
|
678
|
+
* @generated from message temporal.api.schedule.v1.Schedule
|
|
679
|
+
*/
|
|
680
|
+
export type Schedule = Message<"temporal.api.schedule.v1.Schedule"> & {
|
|
681
|
+
/**
|
|
682
|
+
* @generated from field: temporal.api.schedule.v1.ScheduleSpec spec = 1;
|
|
683
|
+
*/
|
|
684
|
+
spec?: ScheduleSpec;
|
|
685
|
+
/**
|
|
686
|
+
* @generated from field: temporal.api.schedule.v1.ScheduleAction action = 2;
|
|
687
|
+
*/
|
|
688
|
+
action?: ScheduleAction;
|
|
689
|
+
/**
|
|
690
|
+
* @generated from field: temporal.api.schedule.v1.SchedulePolicies policies = 3;
|
|
691
|
+
*/
|
|
692
|
+
policies?: SchedulePolicies;
|
|
693
|
+
/**
|
|
694
|
+
* @generated from field: temporal.api.schedule.v1.ScheduleState state = 4;
|
|
695
|
+
*/
|
|
696
|
+
state?: ScheduleState;
|
|
697
|
+
};
|
|
698
|
+
/**
|
|
699
|
+
* Describes the message temporal.api.schedule.v1.Schedule.
|
|
700
|
+
* Use `create(ScheduleSchema)` to create a new message.
|
|
701
|
+
*/
|
|
702
|
+
export declare const ScheduleSchema: GenMessage<Schedule>;
|
|
703
|
+
/**
|
|
704
|
+
* ScheduleListInfo is an abbreviated set of values from Schedule and ScheduleInfo
|
|
705
|
+
* that's returned in ListSchedules.
|
|
706
|
+
*
|
|
707
|
+
* @generated from message temporal.api.schedule.v1.ScheduleListInfo
|
|
708
|
+
*/
|
|
709
|
+
export type ScheduleListInfo = Message<"temporal.api.schedule.v1.ScheduleListInfo"> & {
|
|
710
|
+
/**
|
|
711
|
+
* From spec:
|
|
712
|
+
* Some fields are dropped from this copy of spec: timezone_data
|
|
713
|
+
*
|
|
714
|
+
* @generated from field: temporal.api.schedule.v1.ScheduleSpec spec = 1;
|
|
715
|
+
*/
|
|
716
|
+
spec?: ScheduleSpec;
|
|
717
|
+
/**
|
|
718
|
+
* From action:
|
|
719
|
+
* Action is a oneof field, but we need to encode this in JSON and oneof fields don't work
|
|
720
|
+
* well with JSON. If action is start_workflow, this is set:
|
|
721
|
+
*
|
|
722
|
+
* @generated from field: temporal.api.common.v1.WorkflowType workflow_type = 2;
|
|
723
|
+
*/
|
|
724
|
+
workflowType?: WorkflowType;
|
|
725
|
+
/**
|
|
726
|
+
* From state:
|
|
727
|
+
*
|
|
728
|
+
* @generated from field: string notes = 3;
|
|
729
|
+
*/
|
|
730
|
+
notes: string;
|
|
731
|
+
/**
|
|
732
|
+
* @generated from field: bool paused = 4;
|
|
733
|
+
*/
|
|
734
|
+
paused: boolean;
|
|
735
|
+
/**
|
|
736
|
+
* From info (maybe fewer entries):
|
|
737
|
+
*
|
|
738
|
+
* @generated from field: repeated temporal.api.schedule.v1.ScheduleActionResult recent_actions = 5;
|
|
739
|
+
*/
|
|
740
|
+
recentActions: ScheduleActionResult[];
|
|
741
|
+
/**
|
|
742
|
+
* @generated from field: repeated google.protobuf.Timestamp future_action_times = 6;
|
|
743
|
+
*/
|
|
744
|
+
futureActionTimes: Timestamp[];
|
|
745
|
+
};
|
|
746
|
+
/**
|
|
747
|
+
* Describes the message temporal.api.schedule.v1.ScheduleListInfo.
|
|
748
|
+
* Use `create(ScheduleListInfoSchema)` to create a new message.
|
|
749
|
+
*/
|
|
750
|
+
export declare const ScheduleListInfoSchema: GenMessage<ScheduleListInfo>;
|
|
751
|
+
/**
|
|
752
|
+
* ScheduleListEntry is returned by ListSchedules.
|
|
753
|
+
*
|
|
754
|
+
* @generated from message temporal.api.schedule.v1.ScheduleListEntry
|
|
755
|
+
*/
|
|
756
|
+
export type ScheduleListEntry = Message<"temporal.api.schedule.v1.ScheduleListEntry"> & {
|
|
757
|
+
/**
|
|
758
|
+
* @generated from field: string schedule_id = 1;
|
|
759
|
+
*/
|
|
760
|
+
scheduleId: string;
|
|
761
|
+
/**
|
|
762
|
+
* @generated from field: temporal.api.common.v1.Memo memo = 2;
|
|
763
|
+
*/
|
|
764
|
+
memo?: Memo;
|
|
765
|
+
/**
|
|
766
|
+
* @generated from field: temporal.api.common.v1.SearchAttributes search_attributes = 3;
|
|
767
|
+
*/
|
|
768
|
+
searchAttributes?: SearchAttributes;
|
|
769
|
+
/**
|
|
770
|
+
* @generated from field: temporal.api.schedule.v1.ScheduleListInfo info = 4;
|
|
771
|
+
*/
|
|
772
|
+
info?: ScheduleListInfo;
|
|
773
|
+
};
|
|
774
|
+
/**
|
|
775
|
+
* Describes the message temporal.api.schedule.v1.ScheduleListEntry.
|
|
776
|
+
* Use `create(ScheduleListEntrySchema)` to create a new message.
|
|
777
|
+
*/
|
|
778
|
+
export declare const ScheduleListEntrySchema: GenMessage<ScheduleListEntry>;
|
|
779
|
+
//# sourceMappingURL=message_pb.d.ts.map
|