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.
- checksums.yaml +7 -0
- data/README.md +4 -0
- data/lib/happyco.rb +20 -0
- data/lib/happyco/inspect/inspection/v1/inspection_pb.rb +122 -0
- data/lib/happyco/inspect/inspection/v1/inspection_services_pb.rb +83 -0
- data/lib/happyco/inspect/report/v1/report_pb.rb +84 -0
- data/lib/happyco/inspect/report/v1/report_services_pb.rb +67 -0
- data/lib/happyco/inspect/template/v1/template_pb.rb +76 -0
- data/lib/happyco/inspect/template/v1/template_services_pb.rb +32 -0
- data/lib/happyco/inspect/type/v1/inspect_type_pb.rb +231 -0
- data/lib/happyco/manage/account/v1/account_pb.rb +102 -0
- data/lib/happyco/manage/account/v1/account_services_pb.rb +46 -0
- data/lib/happyco/manage/account_provisioning/v1/account_provisioning_pb.rb +44 -0
- data/lib/happyco/manage/account_provisioning/v1/account_provisioning_services_pb.rb +29 -0
- data/lib/happyco/manage/asset/v1/asset_pb.rb +83 -0
- data/lib/happyco/manage/asset/v1/asset_services_pb.rb +32 -0
- data/lib/happyco/manage/folder/v1/folder_pb.rb +69 -0
- data/lib/happyco/manage/folder/v1/folder_services_pb.rb +31 -0
- data/lib/happyco/type/v1/date_pb.rb +20 -0
- data/lib/happyco/type/v1/event_pb.rb +30 -0
- data/lib/happyco/type/v1/integration_id_pb.rb +20 -0
- data/lib/happyco/type/v1/paging_pb.rb +20 -0
- data/lib/happyco/type/v1/varia_pb.rb +22 -0
- data/version.rb +4 -0
- metadata +80 -0
| @@ -0,0 +1,32 @@ | |
| 1 | 
            +
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 | 
            +
            # Source: happyco/inspect/template/v1/template.proto for package 'happyco.inspect.template.v1'
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            require 'grpc'
         | 
| 5 | 
            +
            require 'happyco/inspect/template/v1/template_pb'
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            module Happyco
         | 
| 8 | 
            +
              module Inspect
         | 
| 9 | 
            +
                module Template
         | 
| 10 | 
            +
                  module V1
         | 
| 11 | 
            +
                    module TemplateService
         | 
| 12 | 
            +
                      class Service
         | 
| 13 | 
            +
             | 
| 14 | 
            +
                        include GRPC::GenericService
         | 
| 15 | 
            +
             | 
| 16 | 
            +
                        self.marshal_class_method = :encode
         | 
| 17 | 
            +
                        self.unmarshal_class_method = :decode
         | 
| 18 | 
            +
                        self.service_name = 'happyco.inspect.template.v1.TemplateService'
         | 
| 19 | 
            +
             | 
| 20 | 
            +
                        rpc :ListTemplates, ListTemplatesRequest, ListTemplatesResponse
         | 
| 21 | 
            +
                        rpc :CreateTemplates, CreateTemplatesRequest, CreateTemplatesResponse
         | 
| 22 | 
            +
                        rpc :UpdateTemplates, UpdateTemplatesRequest, UpdateTemplatesResponse
         | 
| 23 | 
            +
                        rpc :ArchiveTemplates, SetTemplatesArchivedRequest, SetTemplatesArchivedResponse
         | 
| 24 | 
            +
                        rpc :UnarchiveTemplates, SetTemplatesArchivedRequest, SetTemplatesArchivedResponse
         | 
| 25 | 
            +
                      end
         | 
| 26 | 
            +
             | 
| 27 | 
            +
                      Stub = Service.rpc_stub_class
         | 
| 28 | 
            +
                    end
         | 
| 29 | 
            +
                  end
         | 
| 30 | 
            +
                end
         | 
| 31 | 
            +
              end
         | 
| 32 | 
            +
            end
         | 
| @@ -0,0 +1,231 @@ | |
| 1 | 
            +
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 | 
            +
            # source: happyco/inspect/type/v1/inspect_type.proto
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            require 'google/protobuf'
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            require 'happyco/type/v1/varia_pb'
         | 
| 7 | 
            +
            Google::Protobuf::DescriptorPool.generated_pool.build do
         | 
| 8 | 
            +
              add_message "happyco.inspect.type.v1.HeaderField" do
         | 
| 9 | 
            +
                optional :label, :string, 1
         | 
| 10 | 
            +
                optional :type, :string, 2
         | 
| 11 | 
            +
                optional :value, :string, 3
         | 
| 12 | 
            +
              end
         | 
| 13 | 
            +
              add_message "happyco.inspect.type.v1.Section" do
         | 
| 14 | 
            +
                optional :name, :string, 1
         | 
| 15 | 
            +
                repeated :items, :message, 2, "happyco.inspect.type.v1.Item"
         | 
| 16 | 
            +
              end
         | 
| 17 | 
            +
              add_message "happyco.inspect.type.v1.Item" do
         | 
| 18 | 
            +
                optional :name, :string, 1
         | 
| 19 | 
            +
                optional :notes, :string, 2
         | 
| 20 | 
            +
                optional :info, :string, 3
         | 
| 21 | 
            +
                repeated :photo_urls, :string, 4
         | 
| 22 | 
            +
                optional :rating_group_key, :string, 5
         | 
| 23 | 
            +
                map :values, :string, :message, 6, "happyco.inspect.type.v1.RatingValues"
         | 
| 24 | 
            +
                map :scores, :string, :message, 7, "happyco.type.v1.FloatArray"
         | 
| 25 | 
            +
              end
         | 
| 26 | 
            +
              add_message "happyco.inspect.type.v1.FooterField" do
         | 
| 27 | 
            +
                optional :label, :string, 1
         | 
| 28 | 
            +
                optional :type, :string, 2
         | 
| 29 | 
            +
                optional :value, :string, 3
         | 
| 30 | 
            +
              end
         | 
| 31 | 
            +
              add_message "happyco.inspect.type.v1.RatingGroups" do
         | 
| 32 | 
            +
                optional :label, :string, 1
         | 
| 33 | 
            +
                repeated :ratings, :message, 2, "happyco.inspect.type.v1.RatingControl"
         | 
| 34 | 
            +
              end
         | 
| 35 | 
            +
              add_message "happyco.inspect.type.v1.RatingControl" do
         | 
| 36 | 
            +
                optional :key, :string, 1
         | 
| 37 | 
            +
                oneof :control_type do
         | 
| 38 | 
            +
                  optional :checkbox, :message, 2, "happyco.inspect.type.v1.RatingCheckbox"
         | 
| 39 | 
            +
                  optional :radio_group, :message, 3, "happyco.inspect.type.v1.RatingRadioGroup"
         | 
| 40 | 
            +
                  optional :drop_down, :message, 4, "happyco.inspect.type.v1.RatingDropDown"
         | 
| 41 | 
            +
                end
         | 
| 42 | 
            +
              end
         | 
| 43 | 
            +
              add_message "happyco.inspect.type.v1.RatingCheckbox" do
         | 
| 44 | 
            +
                optional :label, :string, 1
         | 
| 45 | 
            +
                optional :value, :string, 2
         | 
| 46 | 
            +
                optional :score, :float, 3
         | 
| 47 | 
            +
                optional :color, :enum, 4, "happyco.inspect.type.v1.RatingColor"
         | 
| 48 | 
            +
                optional :image, :enum, 5, "happyco.inspect.type.v1.RatingImage"
         | 
| 49 | 
            +
              end
         | 
| 50 | 
            +
              add_message "happyco.inspect.type.v1.RatingRadioGroup" do
         | 
| 51 | 
            +
                optional :label, :string, 1
         | 
| 52 | 
            +
                repeated :options, :message, 2, "happyco.inspect.type.v1.RatingRadioGroupOption"
         | 
| 53 | 
            +
              end
         | 
| 54 | 
            +
              add_message "happyco.inspect.type.v1.RatingRadioGroupOption" do
         | 
| 55 | 
            +
                optional :value, :string, 2
         | 
| 56 | 
            +
                optional :score, :float, 3
         | 
| 57 | 
            +
                optional :color, :enum, 4, "happyco.inspect.type.v1.RatingColor"
         | 
| 58 | 
            +
                optional :image, :enum, 5, "happyco.inspect.type.v1.RatingImage"
         | 
| 59 | 
            +
              end
         | 
| 60 | 
            +
              add_message "happyco.inspect.type.v1.RatingDropDown" do
         | 
| 61 | 
            +
                optional :label, :string, 1
         | 
| 62 | 
            +
                repeated :options, :message, 2, "happyco.inspect.type.v1.RatingDropDownOption"
         | 
| 63 | 
            +
              end
         | 
| 64 | 
            +
              add_message "happyco.inspect.type.v1.RatingDropDownOption" do
         | 
| 65 | 
            +
                optional :label, :string, 1
         | 
| 66 | 
            +
                optional :value, :string, 2
         | 
| 67 | 
            +
                optional :score, :float, 3
         | 
| 68 | 
            +
                optional :color, :enum, 4, "happyco.inspect.type.v1.RatingColor"
         | 
| 69 | 
            +
                optional :image, :enum, 5, "happyco.inspect.type.v1.RatingImage"
         | 
| 70 | 
            +
              end
         | 
| 71 | 
            +
              add_message "happyco.inspect.type.v1.RatingValues" do
         | 
| 72 | 
            +
                oneof :rating_values do
         | 
| 73 | 
            +
                  optional :scalar, :string, 1
         | 
| 74 | 
            +
                  optional :array, :message, 2, "happyco.type.v1.StringArray"
         | 
| 75 | 
            +
                end
         | 
| 76 | 
            +
              end
         | 
| 77 | 
            +
              add_enum "happyco.inspect.type.v1.RatingColor" do
         | 
| 78 | 
            +
                value :UNKNOWN, 0
         | 
| 79 | 
            +
                value :RED, 1
         | 
| 80 | 
            +
                value :ORANGE, 2
         | 
| 81 | 
            +
                value :YELLOW, 3
         | 
| 82 | 
            +
                value :GREEN, 4
         | 
| 83 | 
            +
                value :LIGHT_BLUE, 5
         | 
| 84 | 
            +
                value :DARK_BLUE, 6
         | 
| 85 | 
            +
                value :PURPLE, 7
         | 
| 86 | 
            +
                value :PINK, 8
         | 
| 87 | 
            +
              end
         | 
| 88 | 
            +
              add_enum "happyco.inspect.type.v1.RatingImage" do
         | 
| 89 | 
            +
                value :UNDEFINED, 0
         | 
| 90 | 
            +
                value :STAR_FULL, 1
         | 
| 91 | 
            +
                value :STAR_HALF, 2
         | 
| 92 | 
            +
                value :STAR_EMPTY, 3
         | 
| 93 | 
            +
                value :TICK_ROUND, 4
         | 
| 94 | 
            +
                value :CLEAN, 5
         | 
| 95 | 
            +
                value :SCRATCHES, 6
         | 
| 96 | 
            +
                value :SPLAT, 7
         | 
| 97 | 
            +
                value :BROKEN, 8
         | 
| 98 | 
            +
                value :TICK, 9
         | 
| 99 | 
            +
                value :CROSS, 10
         | 
| 100 | 
            +
                value :A, 11
         | 
| 101 | 
            +
                value :B, 12
         | 
| 102 | 
            +
                value :C, 13
         | 
| 103 | 
            +
                value :D, 14
         | 
| 104 | 
            +
                value :E, 15
         | 
| 105 | 
            +
                value :F, 16
         | 
| 106 | 
            +
                value :G, 17
         | 
| 107 | 
            +
                value :H, 18
         | 
| 108 | 
            +
                value :I, 19
         | 
| 109 | 
            +
                value :J, 20
         | 
| 110 | 
            +
                value :K, 21
         | 
| 111 | 
            +
                value :L, 22
         | 
| 112 | 
            +
                value :M, 23
         | 
| 113 | 
            +
                value :N, 24
         | 
| 114 | 
            +
                value :O, 25
         | 
| 115 | 
            +
                value :P, 26
         | 
| 116 | 
            +
                value :Q, 27
         | 
| 117 | 
            +
                value :R, 28
         | 
| 118 | 
            +
                value :S, 29
         | 
| 119 | 
            +
                value :T, 30
         | 
| 120 | 
            +
                value :U, 31
         | 
| 121 | 
            +
                value :V, 32
         | 
| 122 | 
            +
                value :W, 33
         | 
| 123 | 
            +
                value :X, 34
         | 
| 124 | 
            +
                value :Y, 35
         | 
| 125 | 
            +
                value :Z, 36
         | 
| 126 | 
            +
                value :DIGIT_0, 37
         | 
| 127 | 
            +
                value :DIGIT_1, 38
         | 
| 128 | 
            +
                value :DIGIT_2, 39
         | 
| 129 | 
            +
                value :DIGIT_3, 40
         | 
| 130 | 
            +
                value :DIGIT_4, 41
         | 
| 131 | 
            +
                value :DIGIT_5, 42
         | 
| 132 | 
            +
                value :DIGIT_6, 43
         | 
| 133 | 
            +
                value :DIGIT_7, 44
         | 
| 134 | 
            +
                value :DIGIT_8, 45
         | 
| 135 | 
            +
                value :DIGIT_9, 46
         | 
| 136 | 
            +
                value :EXCLAMATION, 47
         | 
| 137 | 
            +
                value :QUESTION, 48
         | 
| 138 | 
            +
                value :EXCLAMATION_QUESTION, 49
         | 
| 139 | 
            +
                value :DOUBLE_EXCLAMATION, 50
         | 
| 140 | 
            +
                value :DOLLAR, 51
         | 
| 141 | 
            +
                value :POUND, 52
         | 
| 142 | 
            +
                value :CENTS, 53
         | 
| 143 | 
            +
                value :THUMBS_UP, 54
         | 
| 144 | 
            +
                value :THUMBS_DOWN, 55
         | 
| 145 | 
            +
                value :AWARD, 56
         | 
| 146 | 
            +
                value :FEMALE, 57
         | 
| 147 | 
            +
                value :MALE, 58
         | 
| 148 | 
            +
                value :CALENDAR, 59
         | 
| 149 | 
            +
                value :BUILDINGS, 60
         | 
| 150 | 
            +
                value :BUILDING, 61
         | 
| 151 | 
            +
                value :HOUSE, 62
         | 
| 152 | 
            +
                value :NO_ENTRY, 63
         | 
| 153 | 
            +
                value :DOG, 64
         | 
| 154 | 
            +
                value :CAT, 65
         | 
| 155 | 
            +
                value :RAT, 66
         | 
| 156 | 
            +
                value :CIGARETTE, 67
         | 
| 157 | 
            +
                value :NO_SMOKING, 68
         | 
| 158 | 
            +
                value :POOP, 69
         | 
| 159 | 
            +
                value :WEED, 70
         | 
| 160 | 
            +
                value :GUN, 71
         | 
| 161 | 
            +
                value :BROKEN_GLASS, 72
         | 
| 162 | 
            +
                value :CRACKED, 73
         | 
| 163 | 
            +
                value :DEAD_FACE, 74
         | 
| 164 | 
            +
                value :HANDICAP, 75
         | 
| 165 | 
            +
                value :BROKEN_HEART, 76
         | 
| 166 | 
            +
                value :HEART, 77
         | 
| 167 | 
            +
                value :SYRINGE, 78
         | 
| 168 | 
            +
                value :CLOCK, 79
         | 
| 169 | 
            +
                value :MUSIC_NOTE, 80
         | 
| 170 | 
            +
                value :PLANT, 81
         | 
| 171 | 
            +
                value :NOSE, 82
         | 
| 172 | 
            +
                value :DROPLET, 83
         | 
| 173 | 
            +
                value :ELECTRIC, 84
         | 
| 174 | 
            +
                value :BUG, 85
         | 
| 175 | 
            +
                value :ARROW_RIGHT, 86
         | 
| 176 | 
            +
                value :ARROW_LEFT, 87
         | 
| 177 | 
            +
                value :ARROW_UP, 88
         | 
| 178 | 
            +
                value :ARROW_DOWN, 89
         | 
| 179 | 
            +
                value :RECYCLE, 90
         | 
| 180 | 
            +
                value :TRASH, 91
         | 
| 181 | 
            +
                value :KEY, 92
         | 
| 182 | 
            +
                value :LOCK, 93
         | 
| 183 | 
            +
                value :UNLOCK, 94
         | 
| 184 | 
            +
                value :CLOUD, 95
         | 
| 185 | 
            +
                value :SUNSHINE, 96
         | 
| 186 | 
            +
                value :PLUS, 97
         | 
| 187 | 
            +
                value :MINUS, 98
         | 
| 188 | 
            +
                value :TEXTFIELD, 99
         | 
| 189 | 
            +
                value :METER, 100
         | 
| 190 | 
            +
                value :CAR, 101
         | 
| 191 | 
            +
                value :CHART, 102
         | 
| 192 | 
            +
                value :WRENCH, 103
         | 
| 193 | 
            +
                value :CALCULATOR, 104
         | 
| 194 | 
            +
                value :CREDIT_CARD, 105
         | 
| 195 | 
            +
                value :PAINTBRUSH, 106
         | 
| 196 | 
            +
                value :ROLLER, 107
         | 
| 197 | 
            +
                value :MOBILE, 108
         | 
| 198 | 
            +
                value :FLAG, 109
         | 
| 199 | 
            +
                value :DOOR_OPEN, 110
         | 
| 200 | 
            +
                value :DOOR_SHUT, 111
         | 
| 201 | 
            +
                value :BED, 112
         | 
| 202 | 
            +
                value :SHOWER, 113
         | 
| 203 | 
            +
                value :SMOKE_ALARM, 114
         | 
| 204 | 
            +
                value :LIGHT_BULB, 115
         | 
| 205 | 
            +
                value :SMILEY_HAPPY, 116
         | 
| 206 | 
            +
                value :SMILEY_SAD, 117
         | 
| 207 | 
            +
              end
         | 
| 208 | 
            +
            end
         | 
| 209 | 
            +
             | 
| 210 | 
            +
            module Happyco
         | 
| 211 | 
            +
              module Inspect
         | 
| 212 | 
            +
                module Type
         | 
| 213 | 
            +
                  module V1
         | 
| 214 | 
            +
                    HeaderField = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.type.v1.HeaderField").msgclass
         | 
| 215 | 
            +
                    Section = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.type.v1.Section").msgclass
         | 
| 216 | 
            +
                    Item = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.type.v1.Item").msgclass
         | 
| 217 | 
            +
                    FooterField = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.type.v1.FooterField").msgclass
         | 
| 218 | 
            +
                    RatingGroups = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.type.v1.RatingGroups").msgclass
         | 
| 219 | 
            +
                    RatingControl = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.type.v1.RatingControl").msgclass
         | 
| 220 | 
            +
                    RatingCheckbox = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.type.v1.RatingCheckbox").msgclass
         | 
| 221 | 
            +
                    RatingRadioGroup = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.type.v1.RatingRadioGroup").msgclass
         | 
| 222 | 
            +
                    RatingRadioGroupOption = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.type.v1.RatingRadioGroupOption").msgclass
         | 
| 223 | 
            +
                    RatingDropDown = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.type.v1.RatingDropDown").msgclass
         | 
| 224 | 
            +
                    RatingDropDownOption = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.type.v1.RatingDropDownOption").msgclass
         | 
| 225 | 
            +
                    RatingValues = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.type.v1.RatingValues").msgclass
         | 
| 226 | 
            +
                    RatingColor = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.type.v1.RatingColor").enummodule
         | 
| 227 | 
            +
                    RatingImage = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.inspect.type.v1.RatingImage").enummodule
         | 
| 228 | 
            +
                  end
         | 
| 229 | 
            +
                end
         | 
| 230 | 
            +
              end
         | 
| 231 | 
            +
            end
         | 
| @@ -0,0 +1,102 @@ | |
| 1 | 
            +
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 | 
            +
            # source: happyco/manage/account/v1/account.proto
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            require 'google/protobuf'
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            require 'happyco/type/v1/integration_id_pb'
         | 
| 7 | 
            +
            require 'happyco/type/v1/paging_pb'
         | 
| 8 | 
            +
            Google::Protobuf::DescriptorPool.generated_pool.build do
         | 
| 9 | 
            +
              add_message "happyco.manage.account.v1.Account" do
         | 
| 10 | 
            +
                optional :id, :message, 1, "happyco.type.v1.IntegrationID"
         | 
| 11 | 
            +
                optional :inactive, :bool, 2
         | 
| 12 | 
            +
                optional :name, :string, 3
         | 
| 13 | 
            +
                optional :phone, :string, 4
         | 
| 14 | 
            +
                optional :address_line_1, :string, 5
         | 
| 15 | 
            +
                optional :address_line_2, :string, 6
         | 
| 16 | 
            +
                optional :city, :string, 7
         | 
| 17 | 
            +
                optional :state, :string, 8
         | 
| 18 | 
            +
                optional :postal_code, :string, 9
         | 
| 19 | 
            +
                optional :country, :string, 10
         | 
| 20 | 
            +
              end
         | 
| 21 | 
            +
              add_message "happyco.manage.account.v1.ListAccountsRequest" do
         | 
| 22 | 
            +
                repeated :account_ids, :message, 1, "happyco.type.v1.IntegrationID"
         | 
| 23 | 
            +
                optional :include_inactive, :bool, 2
         | 
| 24 | 
            +
                optional :paging, :message, 3, "happyco.type.v1.Paging"
         | 
| 25 | 
            +
              end
         | 
| 26 | 
            +
              add_message "happyco.manage.account.v1.ListAccountsResponse" do
         | 
| 27 | 
            +
                repeated :accounts, :message, 1, "happyco.manage.account.v1.Account"
         | 
| 28 | 
            +
                optional :paging, :message, 2, "happyco.type.v1.PagingResponse"
         | 
| 29 | 
            +
              end
         | 
| 30 | 
            +
              add_message "happyco.manage.account.v1.UpdateAccountsRequest" do
         | 
| 31 | 
            +
                repeated :account_with_admin_ids, :message, 1, "happyco.manage.account.v1.UpdateAccountsRequest.AccountWithAdminId"
         | 
| 32 | 
            +
              end
         | 
| 33 | 
            +
              add_message "happyco.manage.account.v1.UpdateAccountsRequest.AccountWithAdminId" do
         | 
| 34 | 
            +
                optional :account, :message, 1, "happyco.manage.account.v1.Account"
         | 
| 35 | 
            +
                optional :admin_user_id, :message, 2, "happyco.type.v1.IntegrationID"
         | 
| 36 | 
            +
              end
         | 
| 37 | 
            +
              add_message "happyco.manage.account.v1.UpdateAccountsResponse" do
         | 
| 38 | 
            +
              end
         | 
| 39 | 
            +
              add_message "happyco.manage.account.v1.User" do
         | 
| 40 | 
            +
                optional :id, :message, 1, "happyco.type.v1.IntegrationID"
         | 
| 41 | 
            +
                optional :inactive, :bool, 2
         | 
| 42 | 
            +
                optional :first_name, :string, 3
         | 
| 43 | 
            +
                optional :last_name, :string, 4
         | 
| 44 | 
            +
                optional :email, :string, 5
         | 
| 45 | 
            +
                optional :phone, :string, 6
         | 
| 46 | 
            +
              end
         | 
| 47 | 
            +
              add_message "happyco.manage.account.v1.ListUsersRequest" do
         | 
| 48 | 
            +
                optional :account_id, :message, 1, "happyco.type.v1.IntegrationID"
         | 
| 49 | 
            +
                repeated :user_ids, :message, 2, "happyco.type.v1.IntegrationID"
         | 
| 50 | 
            +
                optional :include_inactive, :bool, 3
         | 
| 51 | 
            +
                optional :paging, :message, 4, "happyco.type.v1.Paging"
         | 
| 52 | 
            +
              end
         | 
| 53 | 
            +
              add_message "happyco.manage.account.v1.ListUsersResponse" do
         | 
| 54 | 
            +
                repeated :users, :message, 1, "happyco.manage.account.v1.User"
         | 
| 55 | 
            +
                optional :paging, :message, 2, "happyco.type.v1.PagingResponse"
         | 
| 56 | 
            +
              end
         | 
| 57 | 
            +
              add_message "happyco.manage.account.v1.AddUsersRequest" do
         | 
| 58 | 
            +
                optional :account_id, :message, 1, "happyco.type.v1.IntegrationID"
         | 
| 59 | 
            +
                repeated :users, :message, 2, "happyco.manage.account.v1.User"
         | 
| 60 | 
            +
              end
         | 
| 61 | 
            +
              add_message "happyco.manage.account.v1.AddUsersResponse" do
         | 
| 62 | 
            +
                repeated :user_ids, :message, 1, "happyco.type.v1.IntegrationID"
         | 
| 63 | 
            +
              end
         | 
| 64 | 
            +
              add_message "happyco.manage.account.v1.UpdateUsersRequest" do
         | 
| 65 | 
            +
                optional :account_id, :message, 1, "happyco.type.v1.IntegrationID"
         | 
| 66 | 
            +
                repeated :users, :message, 2, "happyco.manage.account.v1.User"
         | 
| 67 | 
            +
              end
         | 
| 68 | 
            +
              add_message "happyco.manage.account.v1.UpdateUsersResponse" do
         | 
| 69 | 
            +
                repeated :user_ids, :message, 1, "happyco.type.v1.IntegrationID"
         | 
| 70 | 
            +
              end
         | 
| 71 | 
            +
              add_message "happyco.manage.account.v1.UpdateUserStatusesRequest" do
         | 
| 72 | 
            +
                optional :account_id, :message, 1, "happyco.type.v1.IntegrationID"
         | 
| 73 | 
            +
                repeated :user_ids, :message, 2, "happyco.type.v1.IntegrationID"
         | 
| 74 | 
            +
                optional :active, :bool, 3
         | 
| 75 | 
            +
              end
         | 
| 76 | 
            +
              add_message "happyco.manage.account.v1.UpdateUserStatusesResponse" do
         | 
| 77 | 
            +
              end
         | 
| 78 | 
            +
            end
         | 
| 79 | 
            +
             | 
| 80 | 
            +
            module Happyco
         | 
| 81 | 
            +
              module Manage
         | 
| 82 | 
            +
                module Account
         | 
| 83 | 
            +
                  module V1
         | 
| 84 | 
            +
                    Account = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.manage.account.v1.Account").msgclass
         | 
| 85 | 
            +
                    ListAccountsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.manage.account.v1.ListAccountsRequest").msgclass
         | 
| 86 | 
            +
                    ListAccountsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.manage.account.v1.ListAccountsResponse").msgclass
         | 
| 87 | 
            +
                    UpdateAccountsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.manage.account.v1.UpdateAccountsRequest").msgclass
         | 
| 88 | 
            +
                    UpdateAccountsRequest::AccountWithAdminId = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.manage.account.v1.UpdateAccountsRequest.AccountWithAdminId").msgclass
         | 
| 89 | 
            +
                    UpdateAccountsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.manage.account.v1.UpdateAccountsResponse").msgclass
         | 
| 90 | 
            +
                    User = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.manage.account.v1.User").msgclass
         | 
| 91 | 
            +
                    ListUsersRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.manage.account.v1.ListUsersRequest").msgclass
         | 
| 92 | 
            +
                    ListUsersResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.manage.account.v1.ListUsersResponse").msgclass
         | 
| 93 | 
            +
                    AddUsersRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.manage.account.v1.AddUsersRequest").msgclass
         | 
| 94 | 
            +
                    AddUsersResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.manage.account.v1.AddUsersResponse").msgclass
         | 
| 95 | 
            +
                    UpdateUsersRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.manage.account.v1.UpdateUsersRequest").msgclass
         | 
| 96 | 
            +
                    UpdateUsersResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.manage.account.v1.UpdateUsersResponse").msgclass
         | 
| 97 | 
            +
                    UpdateUserStatusesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.manage.account.v1.UpdateUserStatusesRequest").msgclass
         | 
| 98 | 
            +
                    UpdateUserStatusesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.manage.account.v1.UpdateUserStatusesResponse").msgclass
         | 
| 99 | 
            +
                  end
         | 
| 100 | 
            +
                end
         | 
| 101 | 
            +
              end
         | 
| 102 | 
            +
            end
         | 
| @@ -0,0 +1,46 @@ | |
| 1 | 
            +
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 | 
            +
            # Source: happyco/manage/account/v1/account.proto for package 'happyco.manage.account.v1'
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            require 'grpc'
         | 
| 5 | 
            +
            require 'happyco/manage/account/v1/account_pb'
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            module Happyco
         | 
| 8 | 
            +
              module Manage
         | 
| 9 | 
            +
                module Account
         | 
| 10 | 
            +
                  module V1
         | 
| 11 | 
            +
                    module AccountService
         | 
| 12 | 
            +
                      class Service
         | 
| 13 | 
            +
             | 
| 14 | 
            +
                        include GRPC::GenericService
         | 
| 15 | 
            +
             | 
| 16 | 
            +
                        self.marshal_class_method = :encode
         | 
| 17 | 
            +
                        self.unmarshal_class_method = :decode
         | 
| 18 | 
            +
                        self.service_name = 'happyco.manage.account.v1.AccountService'
         | 
| 19 | 
            +
             | 
| 20 | 
            +
                        rpc :ListAccounts, ListAccountsRequest, ListAccountsResponse
         | 
| 21 | 
            +
                        rpc :UpdateAccounts, UpdateAccountsRequest, UpdateAccountsResponse
         | 
| 22 | 
            +
                      end
         | 
| 23 | 
            +
             | 
| 24 | 
            +
                      Stub = Service.rpc_stub_class
         | 
| 25 | 
            +
                    end
         | 
| 26 | 
            +
                    module AccountUsersService
         | 
| 27 | 
            +
                      class Service
         | 
| 28 | 
            +
             | 
| 29 | 
            +
                        include GRPC::GenericService
         | 
| 30 | 
            +
             | 
| 31 | 
            +
                        self.marshal_class_method = :encode
         | 
| 32 | 
            +
                        self.unmarshal_class_method = :decode
         | 
| 33 | 
            +
                        self.service_name = 'happyco.manage.account.v1.AccountUsersService'
         | 
| 34 | 
            +
             | 
| 35 | 
            +
                        rpc :ListUsers, ListUsersRequest, ListUsersResponse
         | 
| 36 | 
            +
                        rpc :AddUsers, AddUsersRequest, AddUsersResponse
         | 
| 37 | 
            +
                        rpc :UpdateUsers, UpdateUsersRequest, UpdateUsersResponse
         | 
| 38 | 
            +
                        rpc :UpdateUserStatuses, UpdateUserStatusesRequest, UpdateUserStatusesResponse
         | 
| 39 | 
            +
                      end
         | 
| 40 | 
            +
             | 
| 41 | 
            +
                      Stub = Service.rpc_stub_class
         | 
| 42 | 
            +
                    end
         | 
| 43 | 
            +
                  end
         | 
| 44 | 
            +
                end
         | 
| 45 | 
            +
              end
         | 
| 46 | 
            +
            end
         | 
| @@ -0,0 +1,44 @@ | |
| 1 | 
            +
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 | 
            +
            # source: happyco/manage/account_provisioning/v1/account_provisioning.proto
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            require 'google/protobuf'
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            require 'happyco/manage/account/v1/account_pb'
         | 
| 7 | 
            +
            require 'happyco/type/v1/integration_id_pb'
         | 
| 8 | 
            +
            Google::Protobuf::DescriptorPool.generated_pool.build do
         | 
| 9 | 
            +
              add_message "happyco.manage.account_provisioning.v1.CreateAccountsRequest" do
         | 
| 10 | 
            +
                repeated :account_with_admins, :message, 1, "happyco.manage.account_provisioning.v1.CreateAccountsRequest.AccountWithAdmin"
         | 
| 11 | 
            +
              end
         | 
| 12 | 
            +
              add_message "happyco.manage.account_provisioning.v1.CreateAccountsRequest.AccountWithAdmin" do
         | 
| 13 | 
            +
                optional :account, :message, 2, "happyco.manage.account.v1.Account"
         | 
| 14 | 
            +
                optional :admin, :message, 3, "happyco.manage.account.v1.User"
         | 
| 15 | 
            +
              end
         | 
| 16 | 
            +
              add_message "happyco.manage.account_provisioning.v1.CreateAccountsResponse" do
         | 
| 17 | 
            +
                repeated :account_id_with_admin_ids, :message, 1, "happyco.manage.account_provisioning.v1.CreateAccountsResponse.AccountIDWithAdminID"
         | 
| 18 | 
            +
              end
         | 
| 19 | 
            +
              add_message "happyco.manage.account_provisioning.v1.CreateAccountsResponse.AccountIDWithAdminID" do
         | 
| 20 | 
            +
                optional :account_id, :message, 1, "happyco.type.v1.IntegrationID"
         | 
| 21 | 
            +
                optional :admin_id, :message, 2, "happyco.type.v1.IntegrationID"
         | 
| 22 | 
            +
              end
         | 
| 23 | 
            +
              add_message "happyco.manage.account_provisioning.v1.UpdateAccountStatusesRequest" do
         | 
| 24 | 
            +
                repeated :account_ids, :message, 1, "happyco.type.v1.IntegrationID"
         | 
| 25 | 
            +
                optional :active, :bool, 2
         | 
| 26 | 
            +
              end
         | 
| 27 | 
            +
              add_message "happyco.manage.account_provisioning.v1.UpdateAccountStatusesResponse" do
         | 
| 28 | 
            +
              end
         | 
| 29 | 
            +
            end
         | 
| 30 | 
            +
             | 
| 31 | 
            +
            module Happyco
         | 
| 32 | 
            +
              module Manage
         | 
| 33 | 
            +
                module AccountProvisioning
         | 
| 34 | 
            +
                  module V1
         | 
| 35 | 
            +
                    CreateAccountsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.manage.account_provisioning.v1.CreateAccountsRequest").msgclass
         | 
| 36 | 
            +
                    CreateAccountsRequest::AccountWithAdmin = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.manage.account_provisioning.v1.CreateAccountsRequest.AccountWithAdmin").msgclass
         | 
| 37 | 
            +
                    CreateAccountsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.manage.account_provisioning.v1.CreateAccountsResponse").msgclass
         | 
| 38 | 
            +
                    CreateAccountsResponse::AccountIDWithAdminID = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.manage.account_provisioning.v1.CreateAccountsResponse.AccountIDWithAdminID").msgclass
         | 
| 39 | 
            +
                    UpdateAccountStatusesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.manage.account_provisioning.v1.UpdateAccountStatusesRequest").msgclass
         | 
| 40 | 
            +
                    UpdateAccountStatusesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("happyco.manage.account_provisioning.v1.UpdateAccountStatusesResponse").msgclass
         | 
| 41 | 
            +
                  end
         | 
| 42 | 
            +
                end
         | 
| 43 | 
            +
              end
         | 
| 44 | 
            +
            end
         |