alula-ruby 2.23.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9b2e1d48e1646a763687cc9763dba07211d94137d035767c6ff664dc33654ee
4
- data.tar.gz: eec78ab47319dbbe03b0982e9173ee75214c0ab0bdbb6631e4ef1494818929de
3
+ metadata.gz: 6c1511a2c32acc2df6a5d3ccc1fe9dffa85a61415ae6ad56cd8991d903a963c5
4
+ data.tar.gz: f1b05df79ff2ac44f88d73857cd467f38562673ba6628ceb1d410555f40514fc
5
5
  SHA512:
6
- metadata.gz: 110243f72ffab33fcac03ac569f7e6f300b9fb089eb76a03d0c83ad605dde4842e86081c418a068042ebc53013566f165b344096d11ccf8a9263d578d4b736ad
7
- data.tar.gz: eac6bd6a56157a00728197158ce84093959cda708a46882e7122867d5c81dcca49fad40a5cd4db5ba913dce4d30040fe1908e9d1c95258f7ae89e92991806890
6
+ metadata.gz: affc3e01f5017ba2db4337d5b8a875d9eb78c32f3d9129c0f86bc750e80152813f8b4cdd70e0a0df95ee6a0952e448cec8f2d22fce36e653d68bfb2b85cac507
7
+ data.tar.gz: 9571dc1de6a0608a6cb2309d7303d0b56755c3fe4c5daaa238f3f5ec18a33d3499d7e0ffa8d61861dbfb67045aeecf6cbd996ec3a16bc679cc5eeccaac7fadfa
data/VERSION.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  | Version | Date | Description |
4
4
  | ------- | ------------| --------------------------------------------------------------------------- |
5
+ | v2.25.0 | 2025-08-20 | Add SIM Cards |
6
+ | v2.24.0 | 2025-08-13 | Add app identifier fields to dealer branding |
5
7
  | v2.23.0 | 2025-07-16 | Replace monitoring device feature with intrusion_services and video_monitoring_with_ai |
6
8
  | v2.22.0 | 2025-07-07 | Add is_default config_template field |
7
9
  | v2.21.0 | 2025-07-16 | Add monitoring device feature for EUFY-HOMEBASE-PRO |
@@ -222,5 +222,32 @@ module Alula
222
222
  creatable_by: [],
223
223
  patchable_by: []
224
224
 
225
+ field :app_store_app_id,
226
+ type: :string,
227
+ sortable: false,
228
+ filterable: false,
229
+ creatable_by: [:system, :station, :dealer],
230
+ patchable_by: [:system, :station, :dealer]
231
+
232
+ field :app_store_app_name,
233
+ type: :string,
234
+ sortable: false,
235
+ filterable: false,
236
+ creatable_by: [:system, :station, :dealer],
237
+ patchable_by: [:system, :station, :dealer]
238
+
239
+ field :play_store_app_id,
240
+ type: :string,
241
+ sortable: false,
242
+ filterable: false,
243
+ creatable_by: [:system, :station, :dealer],
244
+ patchable_by: [:system, :station, :dealer]
245
+
246
+ field :play_store_app_name,
247
+ type: :string,
248
+ sortable: false,
249
+ filterable: false,
250
+ creatable_by: [:system, :station, :dealer],
251
+ patchable_by: [:system, :station, :dealer]
225
252
  end
226
253
  end
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alula
4
- VERSION = '2.23.0'
4
+ VERSION = '2.25.0'
5
5
  end
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.23.0
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-08 00:00:00.000000000 Z
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