@@ -573,18 +573,45 @@ async fn call_workflow_service(
573573 "CountActivityExecutions" => {
574574 rpc_call_on_trait ! ( client, call, WorkflowService , count_activity_executions)
575575 }
576+ "CountNexusOperationExecutions" => {
577+ rpc_call_on_trait ! (
578+ client,
579+ call,
580+ WorkflowService ,
581+ count_nexus_operation_executions
582+ )
583+ }
576584 "CountSchedules" => rpc_call_on_trait ! ( client, call, WorkflowService , count_schedules) ,
577585 "CountWorkflowExecutions" => {
578586 rpc_call_on_trait ! ( client, call, WorkflowService , count_workflow_executions)
579587 }
580588 "CreateSchedule" => rpc_call_on_trait ! ( client, call, WorkflowService , create_schedule) ,
589+ "CreateWorkerDeployment" => {
590+ rpc_call_on_trait ! ( client, call, WorkflowService , create_worker_deployment)
591+ }
592+ "CreateWorkerDeploymentVersion" => {
593+ rpc_call_on_trait ! (
594+ client,
595+ call,
596+ WorkflowService ,
597+ create_worker_deployment_version
598+ )
599+ }
581600 "CreateWorkflowRule" => {
582601 rpc_call_on_trait ! ( client, call, WorkflowService , create_workflow_rule)
583602 }
584603 "DeleteSchedule" => rpc_call_on_trait ! ( client, call, WorkflowService , delete_schedule) ,
585604 "DeleteActivityExecution" => {
586605 rpc_call_on_trait ! ( client, call, WorkflowService , delete_activity_execution)
587606 }
607+ "DeleteNexusOperationExecution" => {
608+ rpc_call_on_trait ! (
609+ client,
610+ call,
611+ WorkflowService ,
612+ delete_nexus_operation_execution
613+ )
614+ }
588615 "DeleteWorkerDeployment" => {
589616 rpc_call_on_trait ! ( client, call, WorkflowService , delete_worker_deployment)
590617 }
@@ -617,6 +644,14 @@ async fn call_workflow_service(
617644 "DescribeNamespace" => {
618645 rpc_call_on_trait ! ( client, call, WorkflowService , describe_namespace)
619646 }
647+ "DescribeNexusOperationExecution" => {
648+ rpc_call_on_trait ! (
649+ client,
650+ call,
651+ WorkflowService ,
652+ describe_nexus_operation_execution
653+ )
654+ }
620655 "DescribeSchedule" => rpc_call_on_trait ! ( client, call, WorkflowService , describe_schedule) ,
621656 "DescribeTaskQueue" => {
622657 rpc_call_on_trait ! ( client, call, WorkflowService , describe_task_queue)
@@ -708,6 +743,14 @@ async fn call_workflow_service(
708743 ) ,
709744 "ListDeployments" => rpc_call_on_trait ! ( client, call, WorkflowService , list_deployments) ,
710745 "ListNamespaces" => rpc_call_on_trait ! ( client, call, WorkflowService , list_namespaces) ,
746+ "ListNexusOperationExecutions" => {
747+ rpc_call_on_trait ! (
748+ client,
749+ call,
750+ WorkflowService ,
751+ list_nexus_operation_executions
752+ )
753+ }
711754 "ListOpenWorkflowExecutions" => {
712755 rpc_call_on_trait ! ( client, call, WorkflowService , list_open_workflow_executions)
713756 }
@@ -739,6 +782,14 @@ async fn call_workflow_service(
739782 "PollActivityTaskQueue" => {
740783 rpc_call_on_trait ! ( client, call, WorkflowService , poll_activity_task_queue)
741784 }
785+ "PollNexusOperationExecution" => {
786+ rpc_call_on_trait ! (
787+ client,
788+ call,
789+ WorkflowService ,
790+ poll_nexus_operation_execution
791+ )
792+ }
742793 "PollNexusTaskQueue" => {
743794 rpc_call_on_trait ! ( client, call, WorkflowService , poll_nexus_task_queue)
744795 }
@@ -780,6 +831,14 @@ async fn call_workflow_service(
780831 request_cancel_activity_execution
781832 )
782833 }
834+ "RequestCancelNexusOperationExecution" => {
835+ rpc_call_on_trait ! (
836+ client,
837+ call,
838+ WorkflowService ,
839+ request_cancel_nexus_operation_execution
840+ )
841+ }
783842 "RequestCancelWorkflowExecution" => {
784843 rpc_call_on_trait ! (
785844 client,
@@ -895,6 +954,14 @@ async fn call_workflow_service(
895954 "StartBatchOperation" => {
896955 rpc_call_on_trait ! ( client, call, WorkflowService , start_batch_operation)
897956 }
957+ "StartNexusOperationExecution" => {
958+ rpc_call_on_trait ! (
959+ client,
960+ call,
961+ WorkflowService ,
962+ start_nexus_operation_execution
963+ )
964+ }
898965 "StartWorkflowExecution" => {
899966 rpc_call_on_trait ! ( client, call, WorkflowService , start_workflow_execution)
900967 }
@@ -904,6 +971,14 @@ async fn call_workflow_service(
904971 "TerminateActivityExecution" => {
905972 rpc_call_on_trait ! ( client, call, WorkflowService , terminate_activity_execution)
906973 }
974+ "TerminateNexusOperationExecution" => {
975+ rpc_call_on_trait ! (
976+ client,
977+ call,
978+ WorkflowService ,
979+ terminate_nexus_operation_execution
980+ )
981+ }
907982 "TerminateWorkflowExecution" => {
908983 rpc_call_on_trait ! ( client, call, WorkflowService , terminate_workflow_execution)
909984 }
@@ -927,6 +1002,14 @@ async fn call_workflow_service(
9271002 "UpdateWorkerConfig" => {
9281003 rpc_call_on_trait ! ( client, call, WorkflowService , update_worker_config)
9291004 }
1005+ "UpdateWorkerDeploymentVersionComputeConfig" => {
1006+ rpc_call_on_trait ! (
1007+ client,
1008+ call,
1009+ WorkflowService ,
1010+ update_worker_deployment_version_compute_config
1011+ )
1012+ }
9301013 "UpdateWorkerDeploymentVersionMetadata" => {
9311014 rpc_call_on_trait ! (
9321015 client,
@@ -960,6 +1043,14 @@ async fn call_workflow_service(
9601043 update_worker_build_id_compatibility
9611044 )
9621045 }
1046+ "ValidateWorkerDeploymentVersionComputeConfig" => {
1047+ rpc_call_on_trait ! (
1048+ client,
1049+ call,
1050+ WorkflowService ,
1051+ validate_worker_deployment_version_compute_config
1052+ )
1053+ }
9631054 rpc => Err ( anyhow:: anyhow!( "Unknown RPC call {rpc}" ) ) ,
9641055 }
9651056}
0 commit comments