alula-ruby 1.9.0 → 1.9.2

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: d2d96c37fe6b396ea7da51191870f6cf2fdf2161ba4c584886de23ca13f71286
4
- data.tar.gz: 7762865147e3ef70241bfdc8122cde25b0349f516cd264296f0b7c98cb745923
3
+ metadata.gz: 1f73f0bf2cfadf5600972d1058d3f7fd5ba866ce2084be4bb0736f934a13ba5a
4
+ data.tar.gz: 3fcbd88590ac2d9063e5ca3d5a2a6c9cdece48c224a3f0e57de6abb11358bab4
5
5
  SHA512:
6
- metadata.gz: 6b7d9e60e505aed16f071afdbaff707ecfd63bcec9e2cd5b537c36b341744406dea9e3ad182a57e88327432069a7d15df6d427b5dd0664d7cad68feb8b6019e6
7
- data.tar.gz: 7bd25d2a60a166e68ac1e8cf8daed1928b40260384cf806f7f9c4c12aef543e5187af00eefc613088842d25cd1dcff257d1a2f41e93a1a455d6367d1a9ed03ea
6
+ metadata.gz: 625bc6433e7d44824b84dd94d1a7beffd70e3a0a609f0b276401004ea1eb070762c04bb4291064fa0e9ef0d987c120fa9be077bc4aac0ff094f598feb57e61ab
7
+ data.tar.gz: 3a4861e7c50553ee487d10a17e769448028cb4da79943752d33b6c4853d684bdf65d4cda63f3a9924397d615cce30d0e397dcfc96bec9c47027a132e13fe042a
data/VERSION.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  | Version | Date | Description |
4
4
  | ------- | --------- | --------------------------------------------------------------------------- |
5
+ | v1.9.2 | 2024-07-04 | Fix devices-notifications type pluralization and sms notification pluralization |
6
+ | v1.9.1 | 2024-07-03 | Add video and sms device features |
5
7
  | v1.9.0 | 2024-07-03 | Add DeviceNotification resource with relationships |
6
8
  | v1.8.1 | 2024-06-25 | Update client to accept impersonator authorization to change admin user langauge preference from dealer app |
7
9
  | v1.8.0 | 2024-06-19 | Use Video API endpoints instead of core API passthrough |
@@ -8,7 +8,6 @@ module Alula
8
8
 
9
9
  include Alula::DeviceAttributeTranslations
10
10
 
11
-
12
11
  class FeaturesSelected < Alula::ObjectField
13
12
  field :alarm_transmission, type: :boolean
14
13
  field :alarm_notifications, type: :boolean
@@ -18,8 +17,10 @@ module Alula
18
17
  field :vigilance, type: :boolean
19
18
  field :alarm_verification, type: :boolean
20
19
  field :alula_messenger, type: :boolean
21
- end
22
-
20
+ field :video_verification, type: :boolean
21
+ field :sms_notification, type: :boolean
22
+ end
23
+
23
24
  resource_path 'devices'
24
25
  type 'devices'
25
26
 
@@ -30,7 +31,7 @@ module Alula
30
31
  # relationship :eventlog, type: 'devices-eventlog', cardinality: 'To-many'
31
32
  relationship :receiver_group, type: 'receivers-groups', cardinality: 'To-one'
32
33
  # relationship :helix_users, type: 'helix-user', cardinality: 'To-many'
33
- relationship :notifications, type: 'device-notifications', cardinality: 'To-many'
34
+ relationship :notifications, type: 'devices-notifications', cardinality: 'To-many'
34
35
  # relationship :users, type: 'devices-user', cardinality: 'To-many'
35
36
  # relationship :features_supported, type: 'devices-features-supported', cardinality: 'To-one'
36
37
  # relationship :features_disabled, type: 'devices-features-disabled', cardinality: 'To-one'
@@ -697,6 +698,5 @@ module Alula
697
698
  filterable: false,
698
699
  creatable_by: [],
699
700
  patchable_by: [:system]
700
-
701
701
  end
702
702
  end
@@ -9,7 +9,7 @@ module Alula
9
9
  extend Alula::ApiOperations::Save
10
10
 
11
11
  resource_path 'devices/notifications'
12
- type 'device-notifications'
12
+ type 'devices-notifications'
13
13
 
14
14
  relationship :device, type: 'devices', cardinality: 'To-one'
15
15
  relationship :revisions, type: 'revisions', cardinality: 'To-many'
@@ -13,7 +13,7 @@ module Alula
13
13
  # Relationships
14
14
  relationship :creator, type: 'users', cardinality: 'To-one'
15
15
  relationship :device, type: 'devices', cardinality: 'To-one'
16
- relationship :device_notification, type: 'device-notifications', cardinality: 'To-one'
16
+ relationship :device_notification, type: 'devices-notifications', cardinality: 'To-one'
17
17
  relationship :user, type: 'users', cardinality: 'To-one'
18
18
  relationship :dealer, type: 'dealers', cardinality: 'To-one'
19
19
 
@@ -12,7 +12,7 @@ module Alula
12
12
  type 'users'
13
13
 
14
14
  relationship :devices, type: 'devices', cardinality: 'To-many'
15
- relationship :device_notifications, type: 'device-notifications', cardinality: 'To-many'
15
+ relationship :device_notifications, type: 'devices-notifications', cardinality: 'To-many'
16
16
  relationship :dealer, type: 'dealers', cardinality: 'To-one'
17
17
  relationship :phone, type: 'users-phones', cardinality: 'To-one'
18
18
  relationship :address, type: 'users-addresses', cardinality: 'To-one'
data/lib/alula/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alula
4
- VERSION = '1.9.0'
4
+ VERSION = '1.9.2'
5
5
  end
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: 1.9.0
4
+ version: 1.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Titus Johnson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-03 00:00:00.000000000 Z
11
+ date: 2024-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty