alula-ruby 0.69.5 → 0.69.6
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 +4 -4
- data/VERSION.md +1 -0
- data/lib/alula/resources/dealer_phone.rb +103 -0
- data/lib/alula/version.rb +1 -1
- data/lib/alula.rb +2 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: affddc64575e256220c112d6e6ff8b0392a965dbe17465e2475acaf93387a3e7
|
|
4
|
+
data.tar.gz: ee67c011d8b92a203ecf2aa93d00f7fa74583bf708b931063a2af483cd50f8ed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6554c850eeb499452577249494646cd98a021f3cff5fd2066519c4af171f5145804ff917ee15683ebf72916655295f4ba62f1717b2c906733b016f03dfdec670
|
|
7
|
+
data.tar.gz: e10026170e30170be6b93f81259afd90dace268a4c522f7d40bd93a3a9e352c9ff11ff7e3e2d777916d777c77c6f026aa5b438ce901d97339c7d1a9a07680e7c
|
data/VERSION.md
CHANGED
|
@@ -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
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.
|
|
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-
|
|
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
|