@@ -39,6 +39,7 @@ defmodule InternalApi.Projecthub.Project.Spec.Repository.RunType do
39
39
field ( :TAGS , 1 )
40
40
field ( :PULL_REQUESTS , 2 )
41
41
field ( :FORKED_PULL_REQUESTS , 3 )
42
+ field ( :DRAFT_PULL_REQUESTS , 4 )
42
43
end
43
44
44
45
defmodule InternalApi.Projecthub.Project.Spec.Repository.Status.PipelineFile.Level do
@@ -391,6 +392,7 @@ defmodule InternalApi.Projecthub.ListRequest do
391
392
field ( :pagination , 2 , type: InternalApi.Projecthub.PaginationRequest )
392
393
field ( :owner_id , 3 , type: :string , json_name: "ownerId" )
393
394
field ( :repo_url , 4 , type: :string , json_name: "repoUrl" )
395
+ field ( :soft_deleted , 5 , type: :bool , json_name: "softDeleted" )
394
396
end
395
397
396
398
defmodule InternalApi.Projecthub.ListResponse do
@@ -437,6 +439,7 @@ defmodule InternalApi.Projecthub.DescribeRequest do
437
439
field ( :id , 2 , type: :string )
438
440
field ( :name , 3 , type: :string )
439
441
field ( :detailed , 4 , type: :bool )
442
+ field ( :soft_deleted , 5 , type: :bool , json_name: "softDeleted" )
440
443
end
441
444
442
445
defmodule InternalApi.Projecthub.DescribeResponse do
@@ -455,6 +458,7 @@ defmodule InternalApi.Projecthub.DescribeManyRequest do
455
458
456
459
field ( :metadata , 1 , type: InternalApi.Projecthub.RequestMeta )
457
460
field ( :ids , 2 , repeated: true , type: :string )
461
+ field ( :soft_deleted , 3 , type: :bool , json_name: "softDeleted" )
458
462
end
459
463
460
464
defmodule InternalApi.Projecthub.DescribeManyResponse do
@@ -522,6 +526,23 @@ defmodule InternalApi.Projecthub.DestroyResponse do
522
526
field ( :metadata , 1 , type: InternalApi.Projecthub.ResponseMeta )
523
527
end
524
528
529
+ defmodule InternalApi.Projecthub.RestoreRequest do
530
+ @ moduledoc false
531
+
532
+ use Protobuf , syntax: :proto3 , protoc_gen_elixir_version: "0.13.0"
533
+
534
+ field ( :metadata , 1 , type: InternalApi.Projecthub.RequestMeta )
535
+ field ( :id , 2 , type: :string )
536
+ end
537
+
538
+ defmodule InternalApi.Projecthub.RestoreResponse do
539
+ @ moduledoc false
540
+
541
+ use Protobuf , syntax: :proto3 , protoc_gen_elixir_version: "0.13.0"
542
+
543
+ field ( :metadata , 1 , type: InternalApi.Projecthub.ResponseMeta )
544
+ end
545
+
525
546
defmodule InternalApi.Projecthub.UsersRequest do
526
547
@ moduledoc false
527
548
@@ -557,6 +578,7 @@ defmodule InternalApi.Projecthub.CheckDeployKeyResponse.DeployKey do
557
578
field ( :title , 1 , type: :string )
558
579
field ( :fingerprint , 2 , type: :string )
559
580
field ( :created_at , 3 , type: Google.Protobuf.Timestamp , json_name: "createdAt" )
581
+ field ( :public_key , 4 , type: :string , json_name: "publicKey" )
560
582
end
561
583
562
584
defmodule InternalApi.Projecthub.CheckDeployKeyResponse do
@@ -589,6 +611,7 @@ defmodule InternalApi.Projecthub.RegenerateDeployKeyResponse.DeployKey do
589
611
field ( :title , 1 , type: :string )
590
612
field ( :fingerprint , 2 , type: :string )
591
613
field ( :created_at , 3 , type: Google.Protobuf.Timestamp , json_name: "createdAt" )
614
+ field ( :public_key , 4 , type: :string , json_name: "publicKey" )
592
615
end
593
616
594
617
defmodule InternalApi.Projecthub.RegenerateDeployKeyResponse do
@@ -718,6 +741,24 @@ defmodule InternalApi.Projecthub.FinishOnboardingResponse do
718
741
field ( :metadata , 1 , type: InternalApi.Projecthub.ResponseMeta )
719
742
end
720
743
744
+ defmodule InternalApi.Projecthub.RegenerateWebhookSecretRequest do
745
+ @ moduledoc false
746
+
747
+ use Protobuf , syntax: :proto3 , protoc_gen_elixir_version: "0.13.0"
748
+
749
+ field ( :metadata , 1 , type: InternalApi.Projecthub.RequestMeta )
750
+ field ( :id , 2 , type: :string )
751
+ end
752
+
753
+ defmodule InternalApi.Projecthub.RegenerateWebhookSecretResponse do
754
+ @ moduledoc false
755
+
756
+ use Protobuf , syntax: :proto3 , protoc_gen_elixir_version: "0.13.0"
757
+
758
+ field ( :metadata , 1 , type: InternalApi.Projecthub.ResponseMeta )
759
+ field ( :secret , 2 , type: :string )
760
+ end
761
+
721
762
defmodule InternalApi.Projecthub.ProjectCreated do
722
763
@ moduledoc false
723
764
@@ -738,6 +779,16 @@ defmodule InternalApi.Projecthub.ProjectDeleted do
738
779
field ( :org_id , 3 , type: :string , json_name: "orgId" )
739
780
end
740
781
782
+ defmodule InternalApi.Projecthub.ProjectRestored do
783
+ @ moduledoc false
784
+
785
+ use Protobuf , syntax: :proto3 , protoc_gen_elixir_version: "0.13.0"
786
+
787
+ field ( :project_id , 1 , type: :string , json_name: "projectId" )
788
+ field ( :timestamp , 2 , type: Google.Protobuf.Timestamp )
789
+ field ( :org_id , 3 , type: :string , json_name: "orgId" )
790
+ end
791
+
741
792
defmodule InternalApi.Projecthub.ProjectUpdated do
742
793
@ moduledoc false
743
794
@@ -786,6 +837,8 @@ defmodule InternalApi.Projecthub.ProjectService.Service do
786
837
787
838
rpc ( :Destroy , InternalApi.Projecthub.DestroyRequest , InternalApi.Projecthub.DestroyResponse )
788
839
840
+ rpc ( :Restore , InternalApi.Projecthub.RestoreRequest , InternalApi.Projecthub.RestoreResponse )
841
+
789
842
rpc ( :Users , InternalApi.Projecthub.UsersRequest , InternalApi.Projecthub.UsersResponse )
790
843
791
844
rpc (
@@ -812,6 +865,12 @@ defmodule InternalApi.Projecthub.ProjectService.Service do
812
865
InternalApi.Projecthub.RegenerateWebhookResponse
813
866
)
814
867
868
+ rpc (
869
+ :RegenerateWebhookSecret ,
870
+ InternalApi.Projecthub.RegenerateWebhookSecretRequest ,
871
+ InternalApi.Projecthub.RegenerateWebhookSecretResponse
872
+ )
873
+
815
874
rpc (
816
875
:ChangeProjectOwner ,
817
876
InternalApi.Projecthub.ChangeProjectOwnerRequest ,
0 commit comments