|
9751 | 9751 | "type": "object", |
9752 | 9752 | "description": "Trigger for when the activity is closed." |
9753 | 9753 | }, |
| 9754 | + "CallbackInfoUpdateWorkflowExecutionCompleted": { |
| 9755 | + "type": "object", |
| 9756 | + "properties": { |
| 9757 | + "updateId": { |
| 9758 | + "type": "string" |
| 9759 | + } |
| 9760 | + }, |
| 9761 | + "description": "Trigger for when a workflow update is completed." |
| 9762 | + }, |
9754 | 9763 | "CallbackInfoWorkflowClosed": { |
9755 | 9764 | "type": "object", |
9756 | 9765 | "description": "Trigger for when the workflow is closed." |
|
9897 | 9906 | }, |
9898 | 9907 | "description": "A link to a standalone Nexus operation." |
9899 | 9908 | }, |
| 9909 | + "LinkWorkflow": { |
| 9910 | + "type": "object", |
| 9911 | + "properties": { |
| 9912 | + "namespace": { |
| 9913 | + "type": "string" |
| 9914 | + }, |
| 9915 | + "workflowId": { |
| 9916 | + "type": "string" |
| 9917 | + }, |
| 9918 | + "runId": { |
| 9919 | + "type": "string" |
| 9920 | + }, |
| 9921 | + "reason": { |
| 9922 | + "$ref": "#/definitions/v1LinkReason" |
| 9923 | + } |
| 9924 | + }, |
| 9925 | + "description": "A link to a workflow execution. This is a more general version of WorkflowEvent that doesn't specify a \nparticular event within the workflow, useful when you want to link to a workflow but there is no particular event to link to,\nsuch as a Query or a Rejected Update." |
| 9926 | + }, |
9900 | 9927 | "LinkWorkflowEvent": { |
9901 | 9928 | "type": "object", |
9902 | 9929 | "properties": { |
|
10234 | 10261 | }, |
10235 | 10262 | "description": "RequestIdReference is a indirect reference to a history event through the request ID." |
10236 | 10263 | }, |
| 10264 | + "WorkflowExecutionOptionsUpdatedEventAttributesWorkflowUpdateOptionsUpdate": { |
| 10265 | + "type": "object", |
| 10266 | + "properties": { |
| 10267 | + "updateId": { |
| 10268 | + "type": "string", |
| 10269 | + "description": "The ID of the workflow update this update options update corresponds to." |
| 10270 | + }, |
| 10271 | + "attachedRequestId": { |
| 10272 | + "type": "string", |
| 10273 | + "title": "Request ID attached to the running workflow update so that subsequent requests with same\nrequest ID will be deduped" |
| 10274 | + }, |
| 10275 | + "attachedCompletionCallbacks": { |
| 10276 | + "type": "array", |
| 10277 | + "items": { |
| 10278 | + "type": "object", |
| 10279 | + "$ref": "#/definitions/v1Callback" |
| 10280 | + }, |
| 10281 | + "description": "Completion callbacks attached to the running workflow update." |
| 10282 | + } |
| 10283 | + } |
| 10284 | + }, |
10237 | 10285 | "WorkflowRuleActionActionActivityPause": { |
10238 | 10286 | "type": "object" |
10239 | 10287 | }, |
|
11883 | 11931 | "description": "The arguments to pass to the named Update handler." |
11884 | 11932 | } |
11885 | 11933 | } |
| 11934 | + }, |
| 11935 | + "requestId": { |
| 11936 | + "type": "string", |
| 11937 | + "description": "The request ID of the request." |
| 11938 | + }, |
| 11939 | + "completionCallbacks": { |
| 11940 | + "type": "array", |
| 11941 | + "items": { |
| 11942 | + "type": "object", |
| 11943 | + "$ref": "#/definitions/v1Callback" |
| 11944 | + }, |
| 11945 | + "description": "Callbacks to be called by the server when this update reaches a terminal state." |
| 11946 | + }, |
| 11947 | + "links": { |
| 11948 | + "type": "array", |
| 11949 | + "items": { |
| 11950 | + "type": "object", |
| 11951 | + "$ref": "#/definitions/apiCommonV1Link" |
| 11952 | + }, |
| 11953 | + "description": "Links to be associated with this update." |
11886 | 11954 | } |
11887 | 11955 | }, |
11888 | 11956 | "description": "The request information that will be delivered all the way down to the\nWorkflow Execution." |
|
12078 | 12146 | "properties": { |
12079 | 12147 | "workflowClosed": { |
12080 | 12148 | "$ref": "#/definitions/CallbackInfoWorkflowClosed" |
| 12149 | + }, |
| 12150 | + "updateWorkflowExecutionCompleted": { |
| 12151 | + "$ref": "#/definitions/CallbackInfoUpdateWorkflowExecutionCompleted" |
12081 | 12152 | } |
12082 | 12153 | } |
12083 | 12154 | }, |
@@ -15018,10 +15089,23 @@ |
15018 | 15089 | }, |
15019 | 15090 | "nexusOperation": { |
15020 | 15091 | "$ref": "#/definitions/LinkNexusOperation" |
| 15092 | + }, |
| 15093 | + "workflow": { |
| 15094 | + "$ref": "#/definitions/LinkWorkflow" |
15021 | 15095 | } |
15022 | 15096 | }, |
15023 | 15097 | "description": "Link can be associated with history events. It might contain information about an external entity\nrelated to the history event. For example, workflow A makes a Nexus call that starts workflow B:\nin this case, a history event in workflow A could contain a Link to the workflow started event in\nworkflow B, and vice-versa." |
15024 | 15098 | }, |
| 15099 | + "v1LinkReason": { |
| 15100 | + "type": "string", |
| 15101 | + "enum": [ |
| 15102 | + "LINK_REASON_UNSPECIFIED", |
| 15103 | + "LINK_REASON_QUERY", |
| 15104 | + "LINK_REASON_UPDATE_REJECTED" |
| 15105 | + ], |
| 15106 | + "default": "LINK_REASON_UNSPECIFIED", |
| 15107 | + "description": "LinkReason is the reason for linking to a workflow execution." |
| 15108 | + }, |
15025 | 15109 | "v1ListActivityExecutionsResponse": { |
15026 | 15110 | "type": "object", |
15027 | 15111 | "properties": { |
|
15476 | 15560 | "pollerAutoscaling": { |
15477 | 15561 | "type": "boolean", |
15478 | 15562 | "title": "True if the namespace supports poller autoscaling" |
| 15563 | + }, |
| 15564 | + "workflowUpdateCallbacks": { |
| 15565 | + "type": "boolean", |
| 15566 | + "title": "True if the namespace supports attaching callbacks on workflow updates" |
15479 | 15567 | } |
15480 | 15568 | }, |
15481 | 15569 | "description": "Namespace capability details. Should contain what features are enabled in a namespace." |
|
16923 | 17011 | }, |
16924 | 17012 | "input": { |
16925 | 17013 | "$ref": "#/definitions/v1Input" |
| 17014 | + }, |
| 17015 | + "requestId": { |
| 17016 | + "type": "string", |
| 17017 | + "description": "The request ID of the request." |
| 17018 | + }, |
| 17019 | + "completionCallbacks": { |
| 17020 | + "type": "array", |
| 17021 | + "items": { |
| 17022 | + "type": "object", |
| 17023 | + "$ref": "#/definitions/v1Callback" |
| 17024 | + }, |
| 17025 | + "description": "Callbacks to be called by the server when this update reaches a terminal state." |
| 17026 | + }, |
| 17027 | + "links": { |
| 17028 | + "type": "array", |
| 17029 | + "items": { |
| 17030 | + "type": "object", |
| 17031 | + "$ref": "#/definitions/v1Link" |
| 17032 | + }, |
| 17033 | + "description": "Links to be associated with this update." |
16926 | 17034 | } |
16927 | 17035 | }, |
16928 | 17036 | "description": "The client request that triggers a Workflow Update." |
|
18673 | 18781 | "stage": { |
18674 | 18782 | "$ref": "#/definitions/v1UpdateWorkflowExecutionLifecycleStage", |
18675 | 18783 | "description": "The most advanced lifecycle stage that the Update is known to have\nreached, where lifecycle stages are ordered\nUPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED <\nUPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED <\nUPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED <\nUPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED.\nUNSPECIFIED will be returned if and only if the server's maximum wait\ntime was reached before the Update reached the stage specified in the\nrequest WaitPolicy, and before the context deadline expired; clients may\nmay then retry the call as needed." |
| 18784 | + }, |
| 18785 | + "link": { |
| 18786 | + "$ref": "#/definitions/v1Link", |
| 18787 | + "description": "Link to the update event. May be null if the update has not yet been accepted." |
18676 | 18788 | } |
18677 | 18789 | } |
18678 | 18790 | }, |
|
19695 | 19807 | "timeSkippingConfig": { |
19696 | 19808 | "$ref": "#/definitions/v1TimeSkippingConfig", |
19697 | 19809 | "description": "If set, the time-skipping configuration was changed. Contains the full updated configuration." |
| 19810 | + }, |
| 19811 | + "workflowUpdateOptions": { |
| 19812 | + "type": "array", |
| 19813 | + "items": { |
| 19814 | + "type": "object", |
| 19815 | + "$ref": "#/definitions/WorkflowExecutionOptionsUpdatedEventAttributesWorkflowUpdateOptionsUpdate" |
| 19816 | + }, |
| 19817 | + "description": "Updates to workflow updates options." |
19698 | 19818 | } |
19699 | 19819 | } |
19700 | 19820 | }, |
|
0 commit comments