alula-ruby 0.69.5 → 0.69.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 959f0e72516b633c4160f4f42574099c124e704e0d74e4e5f09a29acb6a6cc22
4
- data.tar.gz: 17d63410726e0e6ecf0498b89e0200fed8c39d0de35e3cfc574da6d2e3ac5257
3
+ metadata.gz: affddc64575e256220c112d6e6ff8b0392a965dbe17465e2475acaf93387a3e7
4
+ data.tar.gz: ee67c011d8b92a203ecf2aa93d00f7fa74583bf708b931063a2af483cd50f8ed
5
5
  SHA512:
6
- metadata.gz: eb9a45c6dd92b174ec16cf063d16b968337733352156e7c6c4ba11d1dd28bf58318b594eb685738ff4066949481c2c3f5a9222fd072d0915fde0850890ab82cb
7
- data.tar.gz: a824eb61bd6b2110db326da025c56cb4985d34e16cab30d61ffce0d799840a0226156c0301a3f14b8246042ce9b52c1dc3da4228f38acb17ec2b3348829aa798
6
+ metadata.gz: 6554c850eeb499452577249494646cd98a021f3cff5fd2066519c4af171f5145804ff917ee15683ebf72916655295f4ba62f1717b2c906733b016f03dfdec670
7
+ data.tar.gz: e10026170e30170be6b93f81259afd90dace268a4c522f7d40bd93a3a9e352c9ff11ff7e3e2d777916d777c77c6f026aa5b438ce901d97339c7d1a9a07680e7c
data/VERSION.md CHANGED
@@ -106,3 +106,4 @@
106
106
  | v0.69.3 | 2023-01-13 | Password reset RPC |
107
107
  | v0.69.4 | 2023-01-26 | User video Profile and readme update |
108
108
  | v0.69.5 | 2023-03-14 | Dealer patchable whitelisted camera vendors |
109
+ | v0.69.6 | 2023-03-17 | Add Dealer Phone resource |
@@ -0,0 +1,103 @@
1
+ module Alula
2
+ class DealerPhone < Alula::RestResource
3
+ extend Alula::ResourceAttributes
4
+ extend Alula::RelationshipAttributes
5
+ extend Alula::ApiOperations::Request
6
+ extend Alula::ApiOperations::List
7
+ extend Alula::ApiOperations::Save
8
+
9
+ resource_path 'dealers/phones'
10
+ type 'dealers-phones'
11
+
12
+ # Relationships
13
+ # None
14
+
15
+ # Resource Fields
16
+ # Not all params are used at the moment. See Alula::ResourceAttributes for details
17
+ # on how params are parsed,
18
+ field :id,
19
+ type: :string,
20
+ sortable: false,
21
+ filterable: false,
22
+ creatable_by: [],
23
+ patchable_by: []
24
+
25
+ field :company_name,
26
+ type: :string,
27
+ sortable: true,
28
+ filterable: true,
29
+ creatable_by: [],
30
+ patchable_by: []
31
+
32
+ field :phone_pri_contact,
33
+ type: :string,
34
+ sortable: false,
35
+ filterable: false,
36
+ creatable_by: [],
37
+ patchable_by: [:system, :station, :dealer]
38
+
39
+ field :phone_pri_ct,
40
+ type: :string,
41
+ sortable: false,
42
+ filterable: false,
43
+ creatable_by: [],
44
+ patchable_by: [:system, :station, :dealer]
45
+
46
+ field :phone_sec_contact,
47
+ type: :string,
48
+ sortable: false,
49
+ filterable: false,
50
+ creatable_by: [],
51
+ patchable_by: [:system, :station, :dealer]
52
+
53
+ field :phone_sec_ct,
54
+ type: :string,
55
+ sortable: false,
56
+ filterable: false,
57
+ creatable_by: [],
58
+ patchable_by: [:system, :station, :dealer]
59
+
60
+ field :contact_type,
61
+ type: :string,
62
+ sortable: false,
63
+ filterable: false,
64
+ creatable_by: [],
65
+ patchable_by: [:system, :station, :dealer]
66
+
67
+ field :co_ph_pri,
68
+ type: :string,
69
+ sortable: false,
70
+ filterable: false,
71
+ creatable_by: [],
72
+ patchable_by: [:system, :station, :dealer]
73
+
74
+ field :co_ph_sec,
75
+ type: :string,
76
+ sortable: false,
77
+ filterable: false,
78
+ creatable_by: [],
79
+ patchable_by: [:system, :station, :dealer]
80
+
81
+ field :co_ph_sales,
82
+ type: :string,
83
+ sortable: false,
84
+ filterable: false,
85
+ creatable_by: [],
86
+ patchable_by: []
87
+
88
+ field :co_ph_service,
89
+ type: :string,
90
+ sortable: false,
91
+ filterable: false,
92
+ creatable_by: [],
93
+ patchable_by: []
94
+
95
+ field :co_ph_billing,
96
+ type: :string,
97
+ sortable: false,
98
+ filterable: false,
99
+ creatable_by: [],
100
+ patchable_by: []
101
+
102
+ end
103
+ end
data/lib/alula/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alula
4
- VERSION = '0.69.5'
4
+ VERSION = '0.69.6'
5
5
  end
data/lib/alula.rb CHANGED
@@ -37,6 +37,7 @@ require_relative 'alula/resources/device_event_log'
37
37
  require_relative 'alula/resources/device_cellular_status'
38
38
  require_relative 'alula/resources/device_program'
39
39
  require_relative 'alula/resources/dealer_address'
40
+ require_relative 'alula/resources/dealer_phone'
40
41
  require_relative 'alula/resources/dealer_account_transfer'
41
42
  require_relative 'alula/resources/dealer_suspension_log'
42
43
  require_relative 'alula/resources/dealer_program'
@@ -111,6 +112,7 @@ module Alula
111
112
  Alula::DeviceEventLog,
112
113
  Alula::DeviceProgram,
113
114
  Alula::DealerAddress,
115
+ Alula::DealerPhone,
114
116
  Alula::DealerProgram,
115
117
  Alula::DeviceCellularStatus,
116
118
  Alula::Self,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alula-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.69.5
4
+ version: 0.69.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Titus Johnson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-14 00:00:00.000000000 Z
11
+ date: 2023-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -244,6 +244,7 @@ files:
244
244
  - lib/alula/resources/dealer_account_transfer.rb
245
245
  - lib/alula/resources/dealer_address.rb
246
246
  - lib/alula/resources/dealer_branding.rb
247
+ - lib/alula/resources/dealer_phone.rb
247
248
  - lib/alula/resources/dealer_program.rb
248
249
  - lib/alula/resources/dealer_suspension_log.rb
249
250
  - lib/alula/resources/device.rb