@@ -162,7 +162,9 @@ defmodule InternalApi.PlumberWF.ScheduleRequest do
162162 label: String . t ( ) ,
163163 triggered_by: InternalApi.PlumberWF.TriggeredBy . t ( ) ,
164164 scheduler_task_id: String . t ( ) ,
165- env_vars: [ InternalApi.PlumberWF.ScheduleRequest.EnvVar . t ( ) ]
165+ env_vars: [ InternalApi.PlumberWF.ScheduleRequest.EnvVar . t ( ) ] ,
166+ start_in_conceived_state: boolean ,
167+ git_reference: String . t ( )
166168 }
167169
168170 defstruct [
@@ -179,7 +181,9 @@ defmodule InternalApi.PlumberWF.ScheduleRequest do
179181 :label ,
180182 :triggered_by ,
181183 :scheduler_task_id ,
182- :env_vars
184+ :env_vars ,
185+ :start_in_conceived_state ,
186+ :git_reference
183187 ]
184188
185189 field ( :service , 2 , type: InternalApi.PlumberWF.ScheduleRequest.ServiceType , enum: true )
@@ -196,6 +200,8 @@ defmodule InternalApi.PlumberWF.ScheduleRequest do
196200 field ( :triggered_by , 15 , type: InternalApi.PlumberWF.TriggeredBy , enum: true )
197201 field ( :scheduler_task_id , 16 , type: :string )
198202 field ( :env_vars , 17 , repeated: true , type: InternalApi.PlumberWF.ScheduleRequest.EnvVar )
203+ field ( :start_in_conceived_state , 18 , type: :bool )
204+ field ( :git_reference , 19 , type: :string )
199205end
200206
201207defmodule InternalApi.PlumberWF.ScheduleResponse do
@@ -781,44 +787,25 @@ defmodule InternalApi.PlumberWF.GetProjectIdResponse do
781787 field ( :project_id , 2 , type: :string )
782788end
783789
784- defmodule InternalApi.PlumberWF.CreateRequest do
790+ defmodule InternalApi.PlumberWF.WorkflowDeleted do
785791 @ moduledoc false
786792 use Protobuf , syntax: :proto3
787793
788794 @ type t :: % __MODULE__ {
795+ workflow_id: String . t ( ) ,
796+ organization_id: String . t ( ) ,
789797 project_id: String . t ( ) ,
790- label: String . t ( ) ,
791- hook_id: String . t ( ) ,
792- request_token: String . t ( ) ,
793- definition_file: String . t ( ) ,
794- requester_id: String . t ( )
798+ artifact_store_id: String . t ( ) ,
799+ deleted_at: Google.Protobuf.Timestamp . t ( ) | nil
795800 }
796801
797- defstruct [ :project_id , :label , :hook_id , :request_token , :definition_file , :requester_id ]
798-
799- field ( :project_id , 1 , type: :string )
800- field ( :label , 2 , type: :string )
801- field ( :hook_id , 3 , type: :string )
802- field ( :request_token , 4 , type: :string )
803- field ( :definition_file , 5 , type: :string )
804- field ( :requester_id , 6 , type: :string )
805- end
806-
807- defmodule InternalApi.PlumberWF.CreateResponse do
808- @ moduledoc false
809- use Protobuf , syntax: :proto3
802+ defstruct [ :workflow_id , :organization_id , :project_id , :artifact_store_id , :deleted_at ]
810803
811- @ type t :: % __MODULE__ {
812- wf_id: String . t ( ) ,
813- status: InternalApi.Status . t ( ) | nil ,
814- ppl_id: String . t ( )
815- }
816-
817- defstruct [ :wf_id , :status , :ppl_id ]
818-
819- field ( :wf_id , 1 , type: :string )
820- field ( :status , 2 , type: InternalApi.Status )
821- field ( :ppl_id , 3 , type: :string )
804+ field ( :workflow_id , 1 , type: :string )
805+ field ( :organization_id , 2 , type: :string )
806+ field ( :project_id , 3 , type: :string )
807+ field ( :artifact_store_id , 4 , type: :string )
808+ field ( :deleted_at , 5 , type: Google.Protobuf.Timestamp )
822809end
823810
824811defmodule InternalApi.PlumberWF.WorkflowService.Service do
@@ -882,8 +869,6 @@ defmodule InternalApi.PlumberWF.WorkflowService.Service do
882869 InternalApi.PlumberWF.GetProjectIdRequest ,
883870 InternalApi.PlumberWF.GetProjectIdResponse
884871 )
885-
886- rpc ( :Create , InternalApi.PlumberWF.CreateRequest , InternalApi.PlumberWF.CreateResponse )
887872end
888873
889874defmodule InternalApi.PlumberWF.WorkflowService.Stub do
0 commit comments