alula-ruby 2.24.0 → 2.25.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 +4 -4
- data/VERSION.md +1 -0
- data/lib/alula/resources/device.rb +1 -0
- data/lib/alula/resources/sim_card.rb +64 -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: 6c1511a2c32acc2df6a5d3ccc1fe9dffa85a61415ae6ad56cd8991d903a963c5
|
4
|
+
data.tar.gz: f1b05df79ff2ac44f88d73857cd467f38562673ba6628ceb1d410555f40514fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: affc3e01f5017ba2db4337d5b8a875d9eb78c32f3d9129c0f86bc750e80152813f8b4cdd70e0a0df95ee6a0952e448cec8f2d22fce36e653d68bfb2b85cac507
|
7
|
+
data.tar.gz: 9571dc1de6a0608a6cb2309d7303d0b56755c3fe4c5daaa238f3f5ec18a33d3499d7e0ffa8d61861dbfb67045aeecf6cbd996ec3a16bc679cc5eeccaac7fadfa
|
data/VERSION.md
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
| Version | Date | Description |
|
4
4
|
| ------- | ------------| --------------------------------------------------------------------------- |
|
5
|
+
| v2.25.0 | 2025-08-20 | Add SIM Cards |
|
5
6
|
| v2.24.0 | 2025-08-13 | Add app identifier fields to dealer branding |
|
6
7
|
| v2.23.0 | 2025-07-16 | Replace monitoring device feature with intrusion_services and video_monitoring_with_ai |
|
7
8
|
| v2.22.0 | 2025-07-07 | Add is_default config_template field |
|
@@ -44,6 +44,7 @@ module Alula
|
|
44
44
|
relationship :users, type: 'devices-users', cardinality: 'To-many'
|
45
45
|
relationship :features_prices, type: 'devices-features-prices', cardinality: 'To-one'
|
46
46
|
relationship :tags, type: 'tags', cardinality: 'To-many'
|
47
|
+
relationship :sims, type: 'devices-sims', cardinality: 'To-many'
|
47
48
|
# relationship :features_supported, type: 'devices-features-supported', cardinality: 'To-one'
|
48
49
|
# relationship :features_disabled, type: 'devices-features-disabled', cardinality: 'To-one'
|
49
50
|
|
@@ -0,0 +1,64 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Alula
|
4
|
+
class SimCard < Alula::RestResource
|
5
|
+
extend Alula::ResourceAttributes
|
6
|
+
extend Alula::RelationshipAttributes
|
7
|
+
extend Alula::ApiOperations::Request
|
8
|
+
extend Alula::ApiOperations::List
|
9
|
+
|
10
|
+
resource_path 'devices/sims'
|
11
|
+
type 'devices-sims'
|
12
|
+
|
13
|
+
relationship :device, type: 'devices', cardinality: 'To-one'
|
14
|
+
|
15
|
+
field :id,
|
16
|
+
type: :string,
|
17
|
+
sortable: false,
|
18
|
+
filterable: false,
|
19
|
+
creatable_by: [],
|
20
|
+
patchable_by: []
|
21
|
+
|
22
|
+
field :device_id,
|
23
|
+
type: :string,
|
24
|
+
sortable: false,
|
25
|
+
filterable: true,
|
26
|
+
creatable_by: [],
|
27
|
+
patchable_by: []
|
28
|
+
|
29
|
+
field :iccid,
|
30
|
+
type: :string,
|
31
|
+
sortable: false,
|
32
|
+
filterable: true,
|
33
|
+
creatable_by: [],
|
34
|
+
patchable_by: []
|
35
|
+
|
36
|
+
field :imei,
|
37
|
+
type: :string,
|
38
|
+
sortable: false,
|
39
|
+
filterable: true,
|
40
|
+
creatable_by: [],
|
41
|
+
patchable_by: []
|
42
|
+
|
43
|
+
field :eid,
|
44
|
+
type: :string,
|
45
|
+
sortable: false,
|
46
|
+
filterable: true,
|
47
|
+
creatable_by: [],
|
48
|
+
patchable_by: []
|
49
|
+
|
50
|
+
field :mno,
|
51
|
+
type: :string,
|
52
|
+
sortable: false,
|
53
|
+
filterable: true,
|
54
|
+
creatable_by: [],
|
55
|
+
patchable_by: []
|
56
|
+
|
57
|
+
field :type,
|
58
|
+
type: :string,
|
59
|
+
sortable: false,
|
60
|
+
filterable: true,
|
61
|
+
creatable_by: [],
|
62
|
+
patchable_by: []
|
63
|
+
end
|
64
|
+
end
|
data/lib/alula/version.rb
CHANGED
data/lib/alula.rb
CHANGED
@@ -145,6 +145,7 @@ require_relative 'alula/resources/feature_planvideo'
|
|
145
145
|
require_relative 'alula/resources/feature_price'
|
146
146
|
require_relative 'alula/resources/feature_bysubject'
|
147
147
|
require_relative 'alula/resources/nfc_tag'
|
148
|
+
require_relative 'alula/resources/sim_card'
|
148
149
|
require_relative 'alula/resources/dcp/config/synchronize'
|
149
150
|
require_relative 'alula/resources/video/base_resource'
|
150
151
|
require_relative 'alula/resources/video/device'
|
@@ -225,6 +226,7 @@ module Alula
|
|
225
226
|
Alula::FeaturePrice,
|
226
227
|
Alula::HelixUser,
|
227
228
|
Alula::NfcTag,
|
229
|
+
Alula::SimCard,
|
228
230
|
Alula::OAuthClient,
|
229
231
|
Alula::ReceiverGroup,
|
230
232
|
Alula::ReceiverDisabled,
|
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: 2.
|
4
|
+
version: 2.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Titus Johnson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -349,6 +349,7 @@ files:
|
|
349
349
|
- lib/alula/resources/receiver_group.rb
|
350
350
|
- lib/alula/resources/revision.rb
|
351
351
|
- lib/alula/resources/self.rb
|
352
|
+
- lib/alula/resources/sim_card.rb
|
352
353
|
- lib/alula/resources/station.rb
|
353
354
|
- lib/alula/resources/token_exchange.rb
|
354
355
|
- lib/alula/resources/user.rb
|