1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# frozen_string_literal: true
module Types
module CustomerRelations
class OrganizationType < BaseObject
graphql_name 'CustomerRelationsOrganization'
authorize :read_organization
field :id,
GraphQL::Types::ID,
null: false,
description: 'Internal ID of the organization.'
field :name,
GraphQL::Types::String,
null: false,
description: 'Name of the organization.'
field :default_rate,
GraphQL::Types::Float,
null: true,
description: 'Standard billing rate for the organization.'
field :description,
GraphQL::Types::String,
null: true,
description: 'Description of or notes for the organization.'
field :created_at,
Types::TimeType,
null: false,
description: 'Timestamp the organization was created.'
field :updated_at,
Types::TimeType,
null: false,
description: 'Timestamp the organization was last updated.'
end
end
end
|