happyco 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: acb5aeaf9100abcd732c5508ffba6b102cad59c7
4
+ data.tar.gz: c5d84086ce6253ba07518afad886b005b0b68812
5
+ SHA512:
6
+ metadata.gz: 5842979e8c7b687b0b0a54c0e19c77b6cbfd2de7adb95e90bcf55095d1e35a7191e1d2dd0ef6d3a0607fd3fc453647564daeb069b645ff405c81b50cdc5bb244
7
+ data.tar.gz: a0c2af1eb645903b4d33e9b3ade6e682f7db9b7e0c3e254251d6eb63a9a5872f36a011f0b9b10ca7190b8d2334639132c3a365a11d2caf93a0ab3bd19299475c
@@ -0,0 +1,4 @@
1
+ # HappyCo
2
+ Generated ruby client for HappyCo API.
3
+
4
+
@@ -0,0 +1,20 @@
1
+ require 'happyco/inspect/inspection/v1/inspection_pb'
2
+ require 'happyco/inspect/inspection/v1/inspection_services_pb'
3
+ require 'happyco/inspect/report/v1/report_pb'
4
+ require 'happyco/inspect/report/v1/report_services_pb'
5
+ require 'happyco/inspect/template/v1/template_pb'
6
+ require 'happyco/inspect/template/v1/template_services_pb'
7
+ require 'happyco/inspect/type/v1/inspect_type_pb'
8
+ require 'happyco/manage/account/v1/account_pb'
9
+ require 'happyco/manage/account/v1/account_services_pb'
10
+ require 'happyco/manage/account_provisioning/v1/account_provisioning_pb'
11
+ require 'happyco/manage/account_provisioning/v1/account_provisioning_services_pb'
12
+ require 'happyco/manage/asset/v1/asset_pb'
13
+ require 'happyco/manage/asset/v1/asset_services_pb'
14
+ require 'happyco/manage/folder/v1/folder_pb'
15
+ require 'happyco/manage/folder/v1/folder_services_pb'
16
+ require 'happyco/type/v1/date_pb'
17
+ require 'happyco/type/v1/event_pb'
18
+ require 'happyco/type/v1/integration_id_pb'
19
+ require 'happyco/type/v1/paging_pb'
20
+ require 'happyco/type/v1/varia_pb'
@@ -0,0 +1,122 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: happyco/inspect/inspection/v1/inspection.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'happyco/type/v1/integration_id_pb'
7
+ require 'happyco/type/v1/date_pb'
8
+ require 'happyco/type/v1/paging_pb'
9
+ require 'happyco/type/v1/event_pb'
10
+ require 'happyco/inspect/type/v1/inspect_type_pb'
11
+ Google::Protobuf::DescriptorPool.generated_pool.build do
12
+ add_message "happyco.inspect.inspection.v1.Inspection" do
13
+ optional :id, :message, 1, "happyco.type.v1.IntegrationID"
14
+ optional :account_id, :message, 2, "happyco.type.v1.IntegrationID"
15
+ optional :folder_id, :message, 3, "happyco.type.v1.IntegrationID"
16
+ optional :asset_id, :message, 4, "happyco.type.v1.IntegrationID"
17
+ optional :template_id, :message, 5, "happyco.type.v1.IntegrationID"
18
+ optional :template_outline, :string, 6
19
+ oneof :status do
20
+ optional :scheduled, :message, 7, "happyco.inspect.inspection.v1.ScheduledInspection"
21
+ optional :in_progress, :message, 8, "happyco.inspect.inspection.v1.InspectionData"
22
+ optional :completed, :message, 9, "happyco.inspect.inspection.v1.InspectionData"
23
+ end
24
+ end
25
+ add_message "happyco.inspect.inspection.v1.ScheduledInspection" do
26
+ optional :schedule_date, :message, 1, "happyco.type.v1.Date"
27
+ repeated :header_fields, :message, 2, "happyco.inspect.type.v1.HeaderField"
28
+ repeated :footer_fields, :message, 3, "happyco.inspect.type.v1.FooterField"
29
+ repeated :sections, :message, 4, "happyco.inspect.type.v1.Section"
30
+ end
31
+ add_message "happyco.inspect.inspection.v1.InspectionData" do
32
+ optional :started_at, :message, 1, "happyco.type.v1.Date"
33
+ optional :ended_at, :message, 2, "happyco.type.v1.Date"
34
+ optional :user_started_at, :message, 3, "happyco.type.v1.Date"
35
+ optional :user_ended_at, :message, 4, "happyco.type.v1.Date"
36
+ repeated :header_fields, :message, 7, "happyco.inspect.type.v1.HeaderField"
37
+ repeated :sections, :message, 6, "happyco.inspect.type.v1.Section"
38
+ repeated :footer_fields, :message, 8, "happyco.inspect.type.v1.FooterField"
39
+ map :rating_groups, :string, :message, 5, "happyco.inspect.type.v1.RatingGroups"
40
+ end
41
+ add_message "happyco.inspect.inspection.v1.ListInspectionsRequest" do
42
+ optional :account_id, :message, 1, "happyco.type.v1.IntegrationID"
43
+ repeated :folder_ids, :message, 2, "happyco.type.v1.IntegrationID"
44
+ repeated :asset_ids, :message, 3, "happyco.type.v1.IntegrationID"
45
+ repeated :inspection_ids, :message, 4, "happyco.type.v1.IntegrationID"
46
+ optional :archived, :bool, 5
47
+ optional :paging, :message, 6, "happyco.type.v1.Paging"
48
+ end
49
+ add_message "happyco.inspect.inspection.v1.ListInspectionsResponse" do
50
+ repeated :inspections, :message, 1, "happyco.inspect.inspection.v1.Inspection"
51
+ optional :previous_page, :message, 2, "happyco.type.v1.Paging"
52
+ optional :next_page, :message, 3, "happyco.type.v1.Paging"
53
+ end
54
+ add_message "happyco.inspect.inspection.v1.CreateInspectionsRequest" do
55
+ optional :account_id, :message, 1, "happyco.type.v1.IntegrationID"
56
+ repeated :inspections, :message, 2, "happyco.inspect.inspection.v1.Inspection"
57
+ end
58
+ add_message "happyco.inspect.inspection.v1.CreateInspectionsResponse" do
59
+ repeated :inspection_ids, :message, 1, "happyco.type.v1.IntegrationID"
60
+ end
61
+ add_message "happyco.inspect.inspection.v1.UpdateInspectionsRequest" do
62
+ optional :account_id, :message, 1, "happyco.type.v1.IntegrationID"
63
+ repeated :inspections, :message, 2, "happyco.inspect.inspection.v1.Inspection"
64
+ end
65
+ add_message "happyco.inspect.inspection.v1.UpdateInspectionsResponse" do
66
+ end
67
+ add_message "happyco.inspect.inspection.v1.SetInspectionsArchivedRequest" do
68
+ optional :account_id, :message, 1, "happyco.type.v1.IntegrationID"
69
+ repeated :inspection_ids, :message, 3, "happyco.type.v1.IntegrationID"
70
+ end
71
+ add_message "happyco.inspect.inspection.v1.SetInspectionsArchivedResponse" do
72
+ end
73
+ add_message "happyco.inspect.inspection.v1.InspectionStatusChangesEventRequest" do
74
+ optional :account_id, :message, 1, "happyco.type.v1.IntegrationID"
75
+ optional :options, :message, 2, "happyco.type.v1.EventHandlerOptions"
76
+ end
77
+ add_message "happyco.inspect.inspection.v1.InspectionStatusChangesEvent" do
78
+ optional :event, :message, 1, "happyco.type.v1.Event"
79
+ repeated :changes, :message, 2, "happyco.inspect.inspection.v1.InspectionStatusChangesEvent.InspectionStatusChange"
80
+ end
81
+ add_message "happyco.inspect.inspection.v1.InspectionStatusChangesEvent.InspectionStatusChange" do
82
+ optional :inspection_id, :message, 1, "happyco.type.v1.IntegrationID"
83
+ optional :from_status, :enum, 2, "happyco.inspect.inspection.v1.InspectionStatusChangesEvent.InspectionStatusChange.Status"
84
+ optional :to_status, :enum, 3, "happyco.inspect.inspection.v1.InspectionStatusChangesEvent.InspectionStatusChange.Status"
85
+ end
86
+ add_enum "happyco.inspect.inspection.v1.InspectionStatusChangesEvent.InspectionStatusChange.Status" do
87
+ value :SCHEDULED, 0
88
+ value :IN_PROGRESS, 1
89
+ value :COMPLETED, 2
90
+ end
91
+ add_message "happyco.inspect.inspection.v1.InspectionStatusChangesEventAck" do
92
+ optional :ack, :message, 1, "happyco.type.v1.EventAck"
93
+ end
94
+ add_message "happyco.inspect.inspection.v1.InspectionStatusChangesEventAckResponse" do
95
+ end
96
+ end
97
+
98
+ module Happyco
99
+ module Inspect
100
+ module Inspection
101
+ module V1
102
+ Inspection = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.inspection.v1.Inspection").msgclass
103
+ ScheduledInspection = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.inspection.v1.ScheduledInspection").msgclass
104
+ InspectionData = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.inspection.v1.InspectionData").msgclass
105
+ ListInspectionsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.inspection.v1.ListInspectionsRequest").msgclass
106
+ ListInspectionsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.inspection.v1.ListInspectionsResponse").msgclass
107
+ CreateInspectionsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.inspection.v1.CreateInspectionsRequest").msgclass
108
+ CreateInspectionsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.inspection.v1.CreateInspectionsResponse").msgclass
109
+ UpdateInspectionsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.inspection.v1.UpdateInspectionsRequest").msgclass
110
+ UpdateInspectionsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.inspection.v1.UpdateInspectionsResponse").msgclass
111
+ SetInspectionsArchivedRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.inspection.v1.SetInspectionsArchivedRequest").msgclass
112
+ SetInspectionsArchivedResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.inspection.v1.SetInspectionsArchivedResponse").msgclass
113
+ InspectionStatusChangesEventRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.inspection.v1.InspectionStatusChangesEventRequest").msgclass
114
+ InspectionStatusChangesEvent = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.inspection.v1.InspectionStatusChangesEvent").msgclass
115
+ InspectionStatusChangesEvent::InspectionStatusChange = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.inspection.v1.InspectionStatusChangesEvent.InspectionStatusChange").msgclass
116
+ InspectionStatusChangesEvent::InspectionStatusChange::Status = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.inspection.v1.InspectionStatusChangesEvent.InspectionStatusChange.Status").enummodule
117
+ InspectionStatusChangesEventAck = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.inspection.v1.InspectionStatusChangesEventAck").msgclass
118
+ InspectionStatusChangesEventAckResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.inspection.v1.InspectionStatusChangesEventAckResponse").msgclass
119
+ end
120
+ end
121
+ end
122
+ end
@@ -0,0 +1,83 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: happyco/inspect/inspection/v1/inspection.proto for package 'happyco.inspect.inspection.v1'
3
+
4
+ require 'grpc'
5
+ require 'happyco/inspect/inspection/v1/inspection_pb'
6
+
7
+ module Happyco
8
+ module Inspect
9
+ module Inspection
10
+ module V1
11
+ module InspectionService
12
+ # * Inspection service is used for creating, updating and archiving
13
+ # inspections. Unless otherwise noted all bulk methods occur inside of a
14
+ # transaction and in the event of an error all requested changes on that
15
+ # method call will be rolled back.
16
+ class Service
17
+
18
+ include GRPC::GenericService
19
+
20
+ self.marshal_class_method = :encode
21
+ self.unmarshal_class_method = :decode
22
+ self.service_name = 'happyco.inspect.inspection.v1.InspectionService'
23
+
24
+ # * List inspections gets a paginated and optionally filtered list of
25
+ # inspections from one or more folders.
26
+ rpc :ListInspections, ListInspectionsRequest, ListInspectionsResponse
27
+ # * Create inspections can create inspections with any status (normally
28
+ # scheduled).
29
+ rpc :CreateInspections, CreateInspectionsRequest, CreateInspectionsResponse
30
+ # * Update inspections can change the contents of inspections.
31
+ # Currently an inspection cannot have its asset_id or template_id
32
+ # updated.
33
+ rpc :UpdateInspections, UpdateInspectionsRequest, UpdateInspectionsResponse
34
+ # * Archive inspections should be used to delete inspections that are no
35
+ # longer wanted. No method for purging archived inspections is
36
+ # available via the API.
37
+ rpc :ArchiveInspections, SetInspectionsArchivedRequest, SetInspectionsArchivedResponse
38
+ # * Unarchive inspections should be used if previously archived
39
+ # inspections need to be restored.
40
+ rpc :UnarchiveInspections, SetInspectionsArchivedRequest, SetInspectionsArchivedResponse
41
+ end
42
+
43
+ Stub = Service.rpc_stub_class
44
+ end
45
+ module InspectionEventService
46
+ # * InspectionEventService is the simplest way to be notified of inspection
47
+ # status changes. Any number of clients can connect to the service and be
48
+ # pushed the events. HappyCo guarantees to only send one client the event at a
49
+ # time (in a round robin fashion). This means that you can scale event
50
+ # processing as easily as your web servers.
51
+ #
52
+ # For this to work events must be acknowledged or time extensions requested
53
+ # before the timeout peroid. If neither of these occurs, the event will be
54
+ # sent to a new client. This covers 99% of cases, but if it's essential that
55
+ # in the event of a frozen client (that unfreezes) that the event is not sent
56
+ # to another client. You can de-duplicate requests using the event ID.
57
+ #
58
+ # When selecting a timeout and possible requesting time extensions please be
59
+ # wary of network travel time. We recommend setting large timeouts (10mins+)
60
+ # unless there is a critical reason to be resent events faster.
61
+ class Service
62
+
63
+ include GRPC::GenericService
64
+
65
+ self.marshal_class_method = :encode
66
+ self.unmarshal_class_method = :decode
67
+ self.service_name = 'happyco.inspect.inspection.v1.InspectionEventService'
68
+
69
+ # * On inspection status changes returns a stream that will be pushed
70
+ # events as they occur
71
+ rpc :OnInspectionStatusChanges, InspectionStatusChangesEventRequest, stream(InspectionStatusChangesEvent)
72
+ # * On inspection status changes ack should be called when events have
73
+ # been processed. Unless this is called events will be sent again
74
+ # after the timeout period.
75
+ rpc :OnInspectionStatusChangesAck, InspectionStatusChangesEventAck, InspectionStatusChangesEventAckResponse
76
+ end
77
+
78
+ Stub = Service.rpc_stub_class
79
+ end
80
+ end
81
+ end
82
+ end
83
+ end
@@ -0,0 +1,84 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: happyco/inspect/report/v1/report.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'happyco/type/v1/integration_id_pb'
7
+ require 'happyco/type/v1/date_pb'
8
+ require 'happyco/type/v1/paging_pb'
9
+ require 'happyco/type/v1/event_pb'
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_message "happyco.inspect.report.v1.Report" do
12
+ optional :id, :message, 1, "happyco.type.v1.IntegrationID"
13
+ optional :public_url, :string, 2
14
+ optional :name, :string, 3
15
+ optional :title, :string, 4
16
+ optional :revision, :int32, 5
17
+ optional :account_id, :message, 6, "happyco.type.v1.IntegrationID"
18
+ optional :folder_id, :message, 7, "happyco.type.v1.IntegrationID"
19
+ optional :asset_id, :message, 8, "happyco.type.v1.IntegrationID"
20
+ repeated :inspection_ids, :message, 9, "happyco.type.v1.IntegrationID"
21
+ optional :generated_at, :message, 10, "happyco.type.v1.Date"
22
+ optional :finalized_at, :message, 11, "happyco.type.v1.Date"
23
+ optional :inspector_id, :message, 12, "happyco.type.v1.IntegrationID"
24
+ optional :inspector_name, :string, 13
25
+ optional :data, :string, 14
26
+ map :signatories, :string, :message, 15, "happyco.inspect.report.v1.Signatory"
27
+ end
28
+ add_message "happyco.inspect.report.v1.Signatory" do
29
+ optional :name, :string, 1
30
+ optional :role, :string, 2
31
+ optional :generated_at, :message, 3, "happyco.type.v1.Date"
32
+ optional :signed_at, :message, 4, "happyco.type.v1.Date"
33
+ optional :user_signed_at, :message, 5, "happyco.type.v1.Date"
34
+ end
35
+ add_message "happyco.inspect.report.v1.ListReportsRequest" do
36
+ optional :account_id, :message, 1, "happyco.type.v1.IntegrationID"
37
+ repeated :folder_ids, :message, 2, "happyco.type.v1.IntegrationID"
38
+ repeated :asset_ids, :message, 3, "happyco.type.v1.IntegrationID"
39
+ repeated :inspection_ids, :message, 4, "happyco.type.v1.IntegrationID"
40
+ repeated :report_ids, :message, 5, "happyco.type.v1.IntegrationID"
41
+ optional :archived, :bool, 6
42
+ optional :paging, :message, 7, "happyco.type.v1.Paging"
43
+ end
44
+ add_message "happyco.inspect.report.v1.ListReportsResponse" do
45
+ repeated :reports, :message, 1, "happyco.inspect.report.v1.Report"
46
+ optional :previous_page, :message, 2, "happyco.type.v1.Paging"
47
+ optional :next_page, :message, 3, "happyco.type.v1.Paging"
48
+ end
49
+ add_message "happyco.inspect.report.v1.ReportsCreatedEventRequest" do
50
+ optional :account_id, :message, 1, "happyco.type.v1.IntegrationID"
51
+ optional :options, :message, 2, "happyco.type.v1.EventHandlerOptions"
52
+ end
53
+ add_message "happyco.inspect.report.v1.ReportsCreatedEvent" do
54
+ optional :event, :message, 1, "happyco.type.v1.Event"
55
+ repeated :reports, :message, 2, "happyco.inspect.report.v1.ReportsCreatedEvent.ReportCreated"
56
+ end
57
+ add_message "happyco.inspect.report.v1.ReportsCreatedEvent.ReportCreated" do
58
+ optional :report_id, :message, 1, "happyco.type.v1.IntegrationID"
59
+ optional :version, :int32, 2
60
+ end
61
+ add_message "happyco.inspect.report.v1.ReportsCreatedEventAck" do
62
+ optional :ack, :message, 1, "happyco.type.v1.EventAck"
63
+ end
64
+ add_message "happyco.inspect.report.v1.ReportsCreatedEventAckResponse" do
65
+ end
66
+ end
67
+
68
+ module Happyco
69
+ module Inspect
70
+ module Report
71
+ module V1
72
+ Report = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.report.v1.Report").msgclass
73
+ Signatory = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.report.v1.Signatory").msgclass
74
+ ListReportsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.report.v1.ListReportsRequest").msgclass
75
+ ListReportsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.report.v1.ListReportsResponse").msgclass
76
+ ReportsCreatedEventRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.report.v1.ReportsCreatedEventRequest").msgclass
77
+ ReportsCreatedEvent = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.report.v1.ReportsCreatedEvent").msgclass
78
+ ReportsCreatedEvent::ReportCreated = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.report.v1.ReportsCreatedEvent.ReportCreated").msgclass
79
+ ReportsCreatedEventAck = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.report.v1.ReportsCreatedEventAck").msgclass
80
+ ReportsCreatedEventAckResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.report.v1.ReportsCreatedEventAckResponse").msgclass
81
+ end
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,67 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: happyco/inspect/report/v1/report.proto for package 'happyco.inspect.report.v1'
3
+
4
+ require 'grpc'
5
+ require 'happyco/inspect/report/v1/report_pb'
6
+
7
+ module Happyco
8
+ module Inspect
9
+ module Report
10
+ module V1
11
+ module ReportService
12
+ # * Report service is used for acceing reports generated from
13
+ # one or two inspections that are linked to the same asset.
14
+ class Service
15
+
16
+ include GRPC::GenericService
17
+
18
+ self.marshal_class_method = :encode
19
+ self.unmarshal_class_method = :decode
20
+ self.service_name = 'happyco.inspect.report.v1.ReportService'
21
+
22
+ # * List reports gets a paginated and optionally filtered list of
23
+ # reports from one or more folders.
24
+ rpc :ListReports, ListReportsRequest, ListReportsResponse
25
+ end
26
+
27
+ Stub = Service.rpc_stub_class
28
+ end
29
+ module ReportEventService
30
+ # * ReportEventService is the simplest way to be notified of reports being
31
+ # created Any number of clients can connect to the service and be pushed the
32
+ # events. HappyCo guarantees to only send one client the event at a time (in a
33
+ # round robin fashion). This means that you can scale event processing as
34
+ # easily as your web servers.
35
+ #
36
+ # For this to work events must be acknowledged or time extensions requested
37
+ # before the timeout peroid. If neither of these occurs, the event will be
38
+ # sent to a new client. This covers 99% of cases, but if it's essential that
39
+ # in the event of a frozen client (that unfreezes) that the event is not sent
40
+ # to another client. You can de-duplicate requests using the event ID.
41
+ #
42
+ # When selecting a timeout and possible requesting time extensions please be
43
+ # wary of network travel time. We recommend setting large timeouts (10mins+)
44
+ # unless there is a critical reason to be resent events faster.
45
+ class Service
46
+
47
+ include GRPC::GenericService
48
+
49
+ self.marshal_class_method = :encode
50
+ self.unmarshal_class_method = :decode
51
+ self.service_name = 'happyco.inspect.report.v1.ReportEventService'
52
+
53
+ # * On reports created returns a stream that will be pushed events as
54
+ # they occur
55
+ rpc :OnReportsCreated, ReportsCreatedEventRequest, stream(ReportsCreatedEvent)
56
+ # * On reports created ack should be called when events have
57
+ # been processed. Unless this is called events will be sent again
58
+ # after the timeout period.
59
+ rpc :OnReportsCreatedAck, ReportsCreatedEventAck, ReportsCreatedEventAckResponse
60
+ end
61
+
62
+ Stub = Service.rpc_stub_class
63
+ end
64
+ end
65
+ end
66
+ end
67
+ end
@@ -0,0 +1,76 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: happyco/inspect/template/v1/template.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'happyco/type/v1/integration_id_pb'
7
+ require 'happyco/type/v1/paging_pb'
8
+ require 'happyco/type/v1/varia_pb'
9
+ require 'happyco/inspect/type/v1/inspect_type_pb'
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_message "happyco.inspect.template.v1.Template" do
12
+ optional :id, :message, 1, "happyco.type.v1.IntegrationID"
13
+ optional :account_id, :message, 2, "happyco.type.v1.IntegrationID"
14
+ optional :folder_id, :message, 3, "happyco.type.v1.IntegrationID"
15
+ optional :name, :string, 4
16
+ optional :edition, :int32, 5
17
+ optional :description, :string, 6
18
+ map :sections, :string, :message, 7, "happyco.inspect.type.v1.Section"
19
+ map :outlines, :string, :message, 8, "happyco.type.v1.StringArray"
20
+ map :rating_groups, :string, :message, 9, "happyco.inspect.type.v1.RatingGroups"
21
+ repeated :header_fields, :message, 10, "happyco.inspect.type.v1.HeaderField"
22
+ repeated :footer_fields, :message, 11, "happyco.inspect.type.v1.FooterField"
23
+ end
24
+ add_message "happyco.inspect.template.v1.ListTemplatesRequest" do
25
+ optional :account_id, :message, 1, "happyco.type.v1.IntegrationID"
26
+ repeated :folder_ids, :message, 2, "happyco.type.v1.IntegrationID"
27
+ repeated :template_ids, :message, 3, "happyco.type.v1.IntegrationID"
28
+ optional :archived, :bool, 4
29
+ optional :paging, :message, 5, "happyco.type.v1.Paging"
30
+ end
31
+ add_message "happyco.inspect.template.v1.ListTemplatesResponse" do
32
+ repeated :templates, :message, 1, "happyco.inspect.template.v1.Template"
33
+ optional :previous_page, :message, 2, "happyco.type.v1.Paging"
34
+ optional :next_page, :message, 3, "happyco.type.v1.Paging"
35
+ end
36
+ add_message "happyco.inspect.template.v1.CreateTemplatesRequest" do
37
+ optional :account_id, :message, 1, "happyco.type.v1.IntegrationID"
38
+ optional :folder_id, :message, 2, "happyco.type.v1.IntegrationID"
39
+ repeated :templates, :message, 3, "happyco.inspect.template.v1.Template"
40
+ end
41
+ add_message "happyco.inspect.template.v1.CreateTemplatesResponse" do
42
+ repeated :template_ids, :message, 1, "happyco.type.v1.IntegrationID"
43
+ end
44
+ add_message "happyco.inspect.template.v1.UpdateTemplatesRequest" do
45
+ optional :account_id, :message, 1, "happyco.type.v1.IntegrationID"
46
+ optional :folder_id, :message, 2, "happyco.type.v1.IntegrationID"
47
+ repeated :templates, :message, 3, "happyco.inspect.template.v1.Template"
48
+ end
49
+ add_message "happyco.inspect.template.v1.UpdateTemplatesResponse" do
50
+ end
51
+ add_message "happyco.inspect.template.v1.SetTemplatesArchivedRequest" do
52
+ optional :account_id, :message, 1, "happyco.type.v1.IntegrationID"
53
+ optional :folder_id, :message, 2, "happyco.type.v1.IntegrationID"
54
+ repeated :template_ids, :message, 3, "happyco.type.v1.IntegrationID"
55
+ end
56
+ add_message "happyco.inspect.template.v1.SetTemplatesArchivedResponse" do
57
+ end
58
+ end
59
+
60
+ module Happyco
61
+ module Inspect
62
+ module Template
63
+ module V1
64
+ Template = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.template.v1.Template").msgclass
65
+ ListTemplatesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.template.v1.ListTemplatesRequest").msgclass
66
+ ListTemplatesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.template.v1.ListTemplatesResponse").msgclass
67
+ CreateTemplatesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.template.v1.CreateTemplatesRequest").msgclass
68
+ CreateTemplatesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.template.v1.CreateTemplatesResponse").msgclass
69
+ UpdateTemplatesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.template.v1.UpdateTemplatesRequest").msgclass
70
+ UpdateTemplatesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.template.v1.UpdateTemplatesResponse").msgclass
71
+ SetTemplatesArchivedRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.template.v1.SetTemplatesArchivedRequest").msgclass
72
+ SetTemplatesArchivedResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.template.v1.SetTemplatesArchivedResponse").msgclass
73
+ end
74
+ end
75
+ end
76
+ end