strongdm 6.8.0 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/.git/ORIG_HEAD +1 -1
  3. data/.git/index +0 -0
  4. data/.git/logs/HEAD +3 -3
  5. data/.git/logs/refs/heads/master +2 -2
  6. data/.git/logs/refs/remotes/origin/HEAD +1 -1
  7. data/.git/objects/pack/{pack-8e713d387f255f0ec0181dce3e2a505478deb064.idx → pack-35100f17336a9a56e777373870676ef90dc420dc.idx} +0 -0
  8. data/.git/objects/pack/{pack-8e713d387f255f0ec0181dce3e2a505478deb064.pack → pack-35100f17336a9a56e777373870676ef90dc420dc.pack} +0 -0
  9. data/.git/packed-refs +4 -2
  10. data/.git/refs/heads/master +1 -1
  11. data/lib/constants.rb +1 -0
  12. data/lib/grpc/accounts_pb.rb +2 -0
  13. data/lib/grpc/approval_workflow_approvers_history_pb.rb +49 -0
  14. data/lib/grpc/approval_workflow_approvers_history_services_pb.rb +37 -0
  15. data/lib/grpc/approval_workflow_approvers_pb.rb +81 -0
  16. data/lib/grpc/approval_workflow_approvers_services_pb.rb +43 -0
  17. data/lib/grpc/approval_workflow_steps_history_pb.rb +49 -0
  18. data/lib/grpc/approval_workflow_steps_history_services_pb.rb +37 -0
  19. data/lib/grpc/approval_workflow_steps_pb.rb +78 -0
  20. data/lib/grpc/approval_workflow_steps_services_pb.rb +43 -0
  21. data/lib/grpc/approval_workflows_history_pb.rb +49 -0
  22. data/lib/grpc/approval_workflows_history_services_pb.rb +37 -0
  23. data/lib/grpc/approval_workflows_pb.rb +91 -0
  24. data/lib/grpc/approval_workflows_services_pb.rb +46 -0
  25. data/lib/grpc/plumbing.rb +716 -62
  26. data/lib/models/porcelain.rb +516 -2
  27. data/lib/strongdm.rb +55 -2
  28. data/lib/svc.rb +738 -0
  29. data/lib/version +1 -1
  30. data/lib/version.rb +1 -1
  31. metadata +16 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cee096670378ec3e7e89c03bbe3833a20a1c75535ab8d2e5df9d78870478ed35
4
- data.tar.gz: 84d8cdbdd73b915adcb2744b04b271b0abcb43f3eecb59e4450845c8b1212eba
3
+ metadata.gz: 0760de79267673cdb950eee0db3fd85393fd67a99af0eade61452a44211576fe
4
+ data.tar.gz: a9d0ef8500ace7013543a8c1a744c4cf726f3b570606512d96af8dab867d148d
5
5
  SHA512:
6
- metadata.gz: d2e1ae613131799b7897faf477944cde91f2f1c6a8fbd0c039c679f88514d39fd8da9587a6f5b1bb274affd349457f0e138ef5637871f2b45a3e6c21f15397b2
7
- data.tar.gz: 30023190f2566eba0e67770b3311ee98445dd16005a4ddd7a614f9116c2346c48938a917781286fbbe7e9fd648a8aa3776abf6747c95dc687f31067e8cbd64ca
6
+ metadata.gz: f189580f1ba7e1a2829be6b31037ec97636d7a0ccdbebf1e0d81b98fc91fcdcc21ab13139cca1d09d95ac04eba5f672c1d5f381ec9bba98bb73fb8937dcb922f
7
+ data.tar.gz: ec158df54db66b17e634ae0cafb277a53ad5e997c6d8f70cfcde29b80e02fe580bb223333b493bd272126ae84ea3eda44eb46d1bda199aec83a9c9cb04f1bb1d
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- 3e28afb8b757876c463b22aac13ee618d9ead204
1
+ d8a1092c15d3618de31ada43875014d96bd21e36
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 3e28afb8b757876c463b22aac13ee618d9ead204 sdmrelease <support@strongdm.com> 1709578850 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 3e28afb8b757876c463b22aac13ee618d9ead204 3e28afb8b757876c463b22aac13ee618d9ead204 sdmrelease <support@strongdm.com> 1709578850 +0000 checkout: moving from master to master
3
- 3e28afb8b757876c463b22aac13ee618d9ead204 0429c9a2739f699ea33db7e6dd85e6be47e9190e sdmrelease <support@strongdm.com> 1709578850 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 d8a1092c15d3618de31ada43875014d96bd21e36 sdmrelease <support@strongdm.com> 1710517159 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ d8a1092c15d3618de31ada43875014d96bd21e36 d8a1092c15d3618de31ada43875014d96bd21e36 sdmrelease <support@strongdm.com> 1710517159 +0000 checkout: moving from master to master
3
+ d8a1092c15d3618de31ada43875014d96bd21e36 c69cd1f08e014470bbe2e4dbc4ad494d4bf78d6c sdmrelease <support@strongdm.com> 1710517159 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 3e28afb8b757876c463b22aac13ee618d9ead204 sdmrelease <support@strongdm.com> 1709578850 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 3e28afb8b757876c463b22aac13ee618d9ead204 0429c9a2739f699ea33db7e6dd85e6be47e9190e sdmrelease <support@strongdm.com> 1709578850 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 d8a1092c15d3618de31ada43875014d96bd21e36 sdmrelease <support@strongdm.com> 1710517159 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ d8a1092c15d3618de31ada43875014d96bd21e36 c69cd1f08e014470bbe2e4dbc4ad494d4bf78d6c sdmrelease <support@strongdm.com> 1710517159 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 3e28afb8b757876c463b22aac13ee618d9ead204 sdmrelease <support@strongdm.com> 1709578850 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 d8a1092c15d3618de31ada43875014d96bd21e36 sdmrelease <support@strongdm.com> 1710517159 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
data/.git/packed-refs CHANGED
@@ -1,6 +1,6 @@
1
1
  # pack-refs with: peeled fully-peeled sorted
2
- 0429c9a2739f699ea33db7e6dd85e6be47e9190e refs/remotes/origin/development
3
- 3e28afb8b757876c463b22aac13ee618d9ead204 refs/remotes/origin/master
2
+ c69cd1f08e014470bbe2e4dbc4ad494d4bf78d6c refs/remotes/origin/development
3
+ d8a1092c15d3618de31ada43875014d96bd21e36 refs/remotes/origin/master
4
4
  2e4fe8087177ddea9b3991ca499f758384839c89 refs/tags/untagged-84fd83a4484c785cce63
5
5
  04f604866214fab4d5663b5171a3e596331577bd refs/tags/v0.9.4
6
6
  6f9a7b75b345c65fb554884907b7060680c807b7 refs/tags/v0.9.5
@@ -100,3 +100,5 @@ e015e0386c2f0b99314bb46ae71631afdbcf4ed0 refs/tags/v6.4.0
100
100
  b28e0cc368d9174e5858abd41992efff0a030bcb refs/tags/v6.6.0
101
101
  e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 refs/tags/v6.7.0
102
102
  3e28afb8b757876c463b22aac13ee618d9ead204 refs/tags/v6.7.1
103
+ 0429c9a2739f699ea33db7e6dd85e6be47e9190e refs/tags/v6.8.0
104
+ d8a1092c15d3618de31ada43875014d96bd21e36 refs/tags/v6.9.0
@@ -1 +1 @@
1
- 0429c9a2739f699ea33db7e6dd85e6be47e9190e
1
+ c69cd1f08e014470bbe2e4dbc4ad494d4bf78d6c
data/lib/constants.rb CHANGED
@@ -327,6 +327,7 @@ module SDM
327
327
  ORG_AUDIT_REMOTE_IDENTITY_GROUPS = "audit:remoteidentitygroups"
328
328
  ORG_AUDIT_SECRET_STORES = "audit:secretstores"
329
329
  ORG_AUDIT_WORKFLOWS = "audit:workflows"
330
+ ORG_AUDIT_APPROVAL_FLOWS = "audit:approvalflows"
330
331
  ORG_AUDIT_ACCESS_REQUESTS = "audit:accessrequests"
331
332
  WORKFLOW_LIST = "workflow:list"
332
333
  WORKFLOW_EDIT = "workflow:edit"
@@ -87,6 +87,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
87
87
  optional :permission_level, :string, 7
88
88
  optional :managed_by, :string, 8
89
89
  optional :external_id, :string, 9
90
+ optional :suspendedRO, :bool, 10
91
+ optional :permission_levelRW, :string, 11
90
92
  end
91
93
  add_message "v1.Service" do
92
94
  optional :id, :string, 1
@@ -0,0 +1,49 @@
1
+ # Copyright 2020 StrongDM Inc
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ #
15
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
16
+ # source: approval_workflow_approvers_history.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "google/protobuf/timestamp_pb"
21
+ require "approval_workflow_approvers_pb"
22
+ require "options_pb"
23
+ require "spec_pb"
24
+
25
+ Google::Protobuf::DescriptorPool.generated_pool.build do
26
+ add_file("approval_workflow_approvers_history.proto", :syntax => :proto3) do
27
+ add_message "v1.ApprovalWorkflowApproverHistoryListRequest" do
28
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
29
+ optional :filter, :string, 2
30
+ end
31
+ add_message "v1.ApprovalWorkflowApproverHistoryListResponse" do
32
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
33
+ repeated :history, :message, 2, "v1.ApprovalWorkflowApproverHistory"
34
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
35
+ end
36
+ add_message "v1.ApprovalWorkflowApproverHistory" do
37
+ optional :activity_id, :string, 1
38
+ optional :timestamp, :message, 2, "google.protobuf.Timestamp"
39
+ optional :approval_workflow_approver, :message, 3, "v1.ApprovalWorkflowApprover"
40
+ optional :deleted_at, :message, 4, "google.protobuf.Timestamp"
41
+ end
42
+ end
43
+ end
44
+
45
+ module V1
46
+ ApprovalWorkflowApproverHistoryListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverHistoryListRequest").msgclass
47
+ ApprovalWorkflowApproverHistoryListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverHistoryListResponse").msgclass
48
+ ApprovalWorkflowApproverHistory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverHistory").msgclass
49
+ end
@@ -0,0 +1,37 @@
1
+ # Copyright 2020 StrongDM Inc
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ #
15
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
16
+ # Source: approval_workflow_approvers_history.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "approval_workflow_approvers_history_pb"
20
+
21
+ module V1
22
+ module ApprovalWorkflowApproversHistory
23
+ # ApprovalWorkflowApproversHistory records all changes to the state of an ApprovalWorkflowApprover.
24
+ class Service
25
+ include ::GRPC::GenericService
26
+
27
+ self.marshal_class_method = :encode
28
+ self.unmarshal_class_method = :decode
29
+ self.service_name = "v1.ApprovalWorkflowApproversHistory"
30
+
31
+ # List gets a list of ApprovalWorkflowApproverHistory records matching a given set of criteria.
32
+ rpc :List, ::V1::ApprovalWorkflowApproverHistoryListRequest, ::V1::ApprovalWorkflowApproverHistoryListResponse
33
+ end
34
+
35
+ Stub = Service.rpc_stub_class
36
+ end
37
+ end
@@ -0,0 +1,81 @@
1
+ # Copyright 2020 StrongDM Inc
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ #
15
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
16
+ # source: approval_workflow_approvers.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "options_pb"
21
+ require "spec_pb"
22
+
23
+ Google::Protobuf::DescriptorPool.generated_pool.build do
24
+ add_file("approval_workflow_approvers.proto", :syntax => :proto3) do
25
+ add_message "v1.ApprovalWorkflowApproverCreateRequest" do
26
+ optional :meta, :message, 1, "v1.CreateRequestMetadata"
27
+ optional :approval_workflow_approver, :message, 2, "v1.ApprovalWorkflowApprover"
28
+ end
29
+ add_message "v1.ApprovalWorkflowApproverCreateResponse" do
30
+ optional :meta, :message, 1, "v1.CreateResponseMetadata"
31
+ optional :approval_workflow_approver, :message, 2, "v1.ApprovalWorkflowApprover"
32
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
33
+ end
34
+ add_message "v1.ApprovalWorkflowApproverGetRequest" do
35
+ optional :meta, :message, 1, "v1.GetRequestMetadata"
36
+ optional :id, :string, 2
37
+ end
38
+ add_message "v1.ApprovalWorkflowApproverGetResponse" do
39
+ optional :meta, :message, 1, "v1.GetResponseMetadata"
40
+ optional :approval_workflow_approver, :message, 2, "v1.ApprovalWorkflowApprover"
41
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
42
+ end
43
+ add_message "v1.ApprovalWorkflowApproverDeleteRequest" do
44
+ optional :meta, :message, 1, "v1.DeleteRequestMetadata"
45
+ optional :id, :string, 2
46
+ end
47
+ add_message "v1.ApprovalWorkflowApproverDeleteResponse" do
48
+ optional :meta, :message, 1, "v1.DeleteResponseMetadata"
49
+ optional :id, :string, 2
50
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
51
+ end
52
+ add_message "v1.ApprovalWorkflowApproverListRequest" do
53
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
54
+ optional :filter, :string, 2
55
+ end
56
+ add_message "v1.ApprovalWorkflowApproverListResponse" do
57
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
58
+ repeated :approval_workflow_approvers, :message, 2, "v1.ApprovalWorkflowApprover"
59
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
60
+ end
61
+ add_message "v1.ApprovalWorkflowApprover" do
62
+ optional :id, :string, 1
63
+ optional :approval_flow_id, :string, 2
64
+ optional :approval_step_id, :string, 3
65
+ optional :account_id, :string, 4
66
+ optional :role_id, :string, 5
67
+ end
68
+ end
69
+ end
70
+
71
+ module V1
72
+ ApprovalWorkflowApproverCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverCreateRequest").msgclass
73
+ ApprovalWorkflowApproverCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverCreateResponse").msgclass
74
+ ApprovalWorkflowApproverGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverGetRequest").msgclass
75
+ ApprovalWorkflowApproverGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverGetResponse").msgclass
76
+ ApprovalWorkflowApproverDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverDeleteRequest").msgclass
77
+ ApprovalWorkflowApproverDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverDeleteResponse").msgclass
78
+ ApprovalWorkflowApproverListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverListRequest").msgclass
79
+ ApprovalWorkflowApproverListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApproverListResponse").msgclass
80
+ ApprovalWorkflowApprover = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowApprover").msgclass
81
+ end
@@ -0,0 +1,43 @@
1
+ # Copyright 2020 StrongDM Inc
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ #
15
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
16
+ # Source: approval_workflow_approvers.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "approval_workflow_approvers_pb"
20
+
21
+ module V1
22
+ module ApprovalWorkflowApprovers
23
+ # ApprovalWorkflowApprovers link approval workflow approvers to an ApprovalWorkflowStep
24
+ class Service
25
+ include ::GRPC::GenericService
26
+
27
+ self.marshal_class_method = :encode
28
+ self.unmarshal_class_method = :decode
29
+ self.service_name = "v1.ApprovalWorkflowApprovers"
30
+
31
+ # Create creates a new approval workflow approver.
32
+ rpc :Create, ::V1::ApprovalWorkflowApproverCreateRequest, ::V1::ApprovalWorkflowApproverCreateResponse
33
+ # Get reads one approval workflow approver by ID.
34
+ rpc :Get, ::V1::ApprovalWorkflowApproverGetRequest, ::V1::ApprovalWorkflowApproverGetResponse
35
+ # Delete deletes an existing approval workflow approver.
36
+ rpc :Delete, ::V1::ApprovalWorkflowApproverDeleteRequest, ::V1::ApprovalWorkflowApproverDeleteResponse
37
+ # Lists existing approval workflow approvers.
38
+ rpc :List, ::V1::ApprovalWorkflowApproverListRequest, ::V1::ApprovalWorkflowApproverListResponse
39
+ end
40
+
41
+ Stub = Service.rpc_stub_class
42
+ end
43
+ end
@@ -0,0 +1,49 @@
1
+ # Copyright 2020 StrongDM Inc
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ #
15
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
16
+ # source: approval_workflow_steps_history.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "google/protobuf/timestamp_pb"
21
+ require "approval_workflow_steps_pb"
22
+ require "options_pb"
23
+ require "spec_pb"
24
+
25
+ Google::Protobuf::DescriptorPool.generated_pool.build do
26
+ add_file("approval_workflow_steps_history.proto", :syntax => :proto3) do
27
+ add_message "v1.ApprovalWorkflowStepHistoryListRequest" do
28
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
29
+ optional :filter, :string, 2
30
+ end
31
+ add_message "v1.ApprovalWorkflowStepHistoryListResponse" do
32
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
33
+ repeated :history, :message, 2, "v1.ApprovalWorkflowStepHistory"
34
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
35
+ end
36
+ add_message "v1.ApprovalWorkflowStepHistory" do
37
+ optional :activity_id, :string, 1
38
+ optional :timestamp, :message, 2, "google.protobuf.Timestamp"
39
+ optional :approval_workflow_step, :message, 3, "v1.ApprovalWorkflowStep"
40
+ optional :deleted_at, :message, 4, "google.protobuf.Timestamp"
41
+ end
42
+ end
43
+ end
44
+
45
+ module V1
46
+ ApprovalWorkflowStepHistoryListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepHistoryListRequest").msgclass
47
+ ApprovalWorkflowStepHistoryListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepHistoryListResponse").msgclass
48
+ ApprovalWorkflowStepHistory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepHistory").msgclass
49
+ end
@@ -0,0 +1,37 @@
1
+ # Copyright 2020 StrongDM Inc
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ #
15
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
16
+ # Source: approval_workflow_steps_history.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "approval_workflow_steps_history_pb"
20
+
21
+ module V1
22
+ module ApprovalWorkflowStepsHistory
23
+ # ApprovalWorkflowStepsHistory records all changes to the state of an ApprovalWorkflowStep.
24
+ class Service
25
+ include ::GRPC::GenericService
26
+
27
+ self.marshal_class_method = :encode
28
+ self.unmarshal_class_method = :decode
29
+ self.service_name = "v1.ApprovalWorkflowStepsHistory"
30
+
31
+ # List gets a list of ApprovalWorkflowStepHistory records matching a given set of criteria.
32
+ rpc :List, ::V1::ApprovalWorkflowStepHistoryListRequest, ::V1::ApprovalWorkflowStepHistoryListResponse
33
+ end
34
+
35
+ Stub = Service.rpc_stub_class
36
+ end
37
+ end
@@ -0,0 +1,78 @@
1
+ # Copyright 2020 StrongDM Inc
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ #
15
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
16
+ # source: approval_workflow_steps.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "options_pb"
21
+ require "spec_pb"
22
+
23
+ Google::Protobuf::DescriptorPool.generated_pool.build do
24
+ add_file("approval_workflow_steps.proto", :syntax => :proto3) do
25
+ add_message "v1.ApprovalWorkflowStepCreateRequest" do
26
+ optional :meta, :message, 1, "v1.CreateRequestMetadata"
27
+ optional :approval_workflow_step, :message, 2, "v1.ApprovalWorkflowStep"
28
+ end
29
+ add_message "v1.ApprovalWorkflowStepCreateResponse" do
30
+ optional :meta, :message, 1, "v1.CreateResponseMetadata"
31
+ optional :approval_workflow_step, :message, 2, "v1.ApprovalWorkflowStep"
32
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
33
+ end
34
+ add_message "v1.ApprovalWorkflowStepGetRequest" do
35
+ optional :meta, :message, 1, "v1.GetRequestMetadata"
36
+ optional :id, :string, 2
37
+ end
38
+ add_message "v1.ApprovalWorkflowStepGetResponse" do
39
+ optional :meta, :message, 1, "v1.GetResponseMetadata"
40
+ optional :approval_workflow_step, :message, 2, "v1.ApprovalWorkflowStep"
41
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
42
+ end
43
+ add_message "v1.ApprovalWorkflowStepDeleteRequest" do
44
+ optional :meta, :message, 1, "v1.DeleteRequestMetadata"
45
+ optional :id, :string, 2
46
+ end
47
+ add_message "v1.ApprovalWorkflowStepDeleteResponse" do
48
+ optional :meta, :message, 1, "v1.DeleteResponseMetadata"
49
+ optional :id, :string, 2
50
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
51
+ end
52
+ add_message "v1.ApprovalWorkflowStepListRequest" do
53
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
54
+ optional :filter, :string, 2
55
+ end
56
+ add_message "v1.ApprovalWorkflowStepListResponse" do
57
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
58
+ repeated :approval_workflow_steps, :message, 2, "v1.ApprovalWorkflowStep"
59
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
60
+ end
61
+ add_message "v1.ApprovalWorkflowStep" do
62
+ optional :id, :string, 1
63
+ optional :approval_flow_id, :string, 2
64
+ end
65
+ end
66
+ end
67
+
68
+ module V1
69
+ ApprovalWorkflowStepCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepCreateRequest").msgclass
70
+ ApprovalWorkflowStepCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepCreateResponse").msgclass
71
+ ApprovalWorkflowStepGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepGetRequest").msgclass
72
+ ApprovalWorkflowStepGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepGetResponse").msgclass
73
+ ApprovalWorkflowStepDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepDeleteRequest").msgclass
74
+ ApprovalWorkflowStepDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepDeleteResponse").msgclass
75
+ ApprovalWorkflowStepListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepListRequest").msgclass
76
+ ApprovalWorkflowStepListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStepListResponse").msgclass
77
+ ApprovalWorkflowStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowStep").msgclass
78
+ end
@@ -0,0 +1,43 @@
1
+ # Copyright 2020 StrongDM Inc
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ #
15
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
16
+ # Source: approval_workflow_steps.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "approval_workflow_steps_pb"
20
+
21
+ module V1
22
+ module ApprovalWorkflowSteps
23
+ # ApprovalWorkflowSteps link approval workflow steps to an ApprovalWorkflow
24
+ class Service
25
+ include ::GRPC::GenericService
26
+
27
+ self.marshal_class_method = :encode
28
+ self.unmarshal_class_method = :decode
29
+ self.service_name = "v1.ApprovalWorkflowSteps"
30
+
31
+ # Create creates a new approval workflow step.
32
+ rpc :Create, ::V1::ApprovalWorkflowStepCreateRequest, ::V1::ApprovalWorkflowStepCreateResponse
33
+ # Get reads one approval workflow step by ID.
34
+ rpc :Get, ::V1::ApprovalWorkflowStepGetRequest, ::V1::ApprovalWorkflowStepGetResponse
35
+ # Delete deletes an existing approval workflow step.
36
+ rpc :Delete, ::V1::ApprovalWorkflowStepDeleteRequest, ::V1::ApprovalWorkflowStepDeleteResponse
37
+ # Lists existing approval workflow steps.
38
+ rpc :List, ::V1::ApprovalWorkflowStepListRequest, ::V1::ApprovalWorkflowStepListResponse
39
+ end
40
+
41
+ Stub = Service.rpc_stub_class
42
+ end
43
+ end
@@ -0,0 +1,49 @@
1
+ # Copyright 2020 StrongDM Inc
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ #
15
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
16
+ # source: approval_workflows_history.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "google/protobuf/timestamp_pb"
21
+ require "approval_workflows_pb"
22
+ require "options_pb"
23
+ require "spec_pb"
24
+
25
+ Google::Protobuf::DescriptorPool.generated_pool.build do
26
+ add_file("approval_workflows_history.proto", :syntax => :proto3) do
27
+ add_message "v1.ApprovalWorkflowHistoryListRequest" do
28
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
29
+ optional :filter, :string, 2
30
+ end
31
+ add_message "v1.ApprovalWorkflowHistoryListResponse" do
32
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
33
+ repeated :history, :message, 2, "v1.ApprovalWorkflowHistory"
34
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
35
+ end
36
+ add_message "v1.ApprovalWorkflowHistory" do
37
+ optional :activity_id, :string, 1
38
+ optional :timestamp, :message, 2, "google.protobuf.Timestamp"
39
+ optional :approval_workflow, :message, 3, "v1.ApprovalWorkflow"
40
+ optional :deleted_at, :message, 4, "google.protobuf.Timestamp"
41
+ end
42
+ end
43
+ end
44
+
45
+ module V1
46
+ ApprovalWorkflowHistoryListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowHistoryListRequest").msgclass
47
+ ApprovalWorkflowHistoryListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowHistoryListResponse").msgclass
48
+ ApprovalWorkflowHistory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowHistory").msgclass
49
+ end
@@ -0,0 +1,37 @@
1
+ # Copyright 2020 StrongDM Inc
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ #
15
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
16
+ # Source: approval_workflows_history.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "approval_workflows_history_pb"
20
+
21
+ module V1
22
+ module ApprovalWorkflowsHistory
23
+ # ApprovalWorkflowsHistory records all changes to the state of an ApprovalWorkflow.
24
+ class Service
25
+ include ::GRPC::GenericService
26
+
27
+ self.marshal_class_method = :encode
28
+ self.unmarshal_class_method = :decode
29
+ self.service_name = "v1.ApprovalWorkflowsHistory"
30
+
31
+ # List gets a list of ApprovalWorkflowHistory records matching a given set of criteria.
32
+ rpc :List, ::V1::ApprovalWorkflowHistoryListRequest, ::V1::ApprovalWorkflowHistoryListResponse
33
+ end
34
+
35
+ Stub = Service.rpc_stub_class
36
+ end
37
+ end