alula-ruby 1.9.2 → 1.9.3

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: 1f73f0bf2cfadf5600972d1058d3f7fd5ba866ce2084be4bb0736f934a13ba5a
4
- data.tar.gz: 3fcbd88590ac2d9063e5ca3d5a2a6c9cdece48c224a3f0e57de6abb11358bab4
3
+ metadata.gz: c9fda10242201f1b45a68931b9d4be414288a993e14b5aec0eeb2435cdad4c80
4
+ data.tar.gz: aeb5216b6ea157072231e5fae8a8ab16f26aa56631d9feec9b8294ed95a6d30f
5
5
  SHA512:
6
- metadata.gz: 625bc6433e7d44824b84dd94d1a7beffd70e3a0a609f0b276401004ea1eb070762c04bb4291064fa0e9ef0d987c120fa9be077bc4aac0ff094f598feb57e61ab
7
- data.tar.gz: 3a4861e7c50553ee487d10a17e769448028cb4da79943752d33b6c4853d684bdf65d4cda63f3a9924397d615cce30d0e397dcfc96bec9c47027a132e13fe042a
6
+ metadata.gz: 1e579d456f0600473a710e5db28c98e8e22a1fd9e3406d5eaaef7b31610e49ca5eca5a9f7166810e160e6ca5bf08d6397726195735a3a6d5d1e5892ecc172937
7
+ data.tar.gz: df396c343275834aee9567cb3be9cc4e4f9f9c957c980932621b1f18e5e854e8dda3ea7ae355060b5658ba8ac722a6efdd07845e6cbf40a82b919658d078edfe
data/VERSION.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  | Version | Date | Description |
4
4
  | ------- | --------- | --------------------------------------------------------------------------- |
5
+ | v1.9.2 | 2024-07-10 | Update video verification cameras relation and object |
5
6
  | v1.9.2 | 2024-07-04 | Fix devices-notifications type pluralization and sms notification pluralization |
6
7
  | v1.9.1 | 2024-07-03 | Add video and sms device features |
7
8
  | v1.9.0 | 2024-07-03 | Add DeviceNotification resource with relationships |
@@ -32,6 +32,7 @@ module Alula
32
32
  relationship :receiver_group, type: 'receivers-groups', cardinality: 'To-one'
33
33
  # relationship :helix_users, type: 'helix-user', cardinality: 'To-many'
34
34
  relationship :notifications, type: 'devices-notifications', cardinality: 'To-many'
35
+ relationship :video_verification_cameras, type: 'video-verification-cameras', cardinality: 'To-many'
35
36
  # relationship :users, type: 'devices-user', cardinality: 'To-many'
36
37
  # relationship :features_supported, type: 'devices-features-supported', cardinality: 'To-one'
37
38
  # relationship :features_disabled, type: 'devices-features-disabled', cardinality: 'To-one'
@@ -0,0 +1,49 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Alula
4
+ class VideoVerificationCamera < Alula::RestResource
5
+ extend Alula::ResourceAttributes
6
+ extend Alula::RelationshipAttributes
7
+ extend Alula::ApiOperations::Request
8
+ extend Alula::ApiOperations::List
9
+ extend Alula::ApiOperations::Save
10
+
11
+ resource_path 'video/verification/cameras'
12
+ type 'video-verification-cameras'
13
+
14
+ relationship :device, type: 'device', cardinality: 'To-one'
15
+ relationship :camera, type: 'camera', cardinality: 'To-one'
16
+
17
+ field :id,
18
+ type: :string,
19
+ sortable: false,
20
+ filterable: true,
21
+ creatable_by: %i[],
22
+ patchable_by: %i[]
23
+
24
+ field :camera_id,
25
+ type: :string,
26
+ sortable: false,
27
+ filterable: false,
28
+ creatable_by: %i[system dealer],
29
+ patchable_by: %i[system dealer]
30
+
31
+
32
+ field :device_id,
33
+ type: :string,
34
+ sortable: false,
35
+ filterable: true,
36
+ creatable_by: %i[system dealer],
37
+ creatable_by: %i[system dealer]
38
+
39
+
40
+
41
+ field :zone_index,
42
+ type: :string,
43
+ sortable: true,
44
+ filterable: true,
45
+ creatable_by: %i[system dealer],
46
+ patchable_by: %i[system dealer]
47
+
48
+ end
49
+ 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 = '1.9.2'
4
+ VERSION = '1.9.3'
5
5
  end
data/lib/alula.rb CHANGED
@@ -61,6 +61,7 @@ require_relative 'alula/resources/station'
61
61
  require_relative 'alula/resources/oauth_client'
62
62
  require_relative 'alula/resources/device_alias'
63
63
  require_relative 'alula/resources/device_notification'
64
+ require_relative 'alula/resources/video_verification_camera'
64
65
 
65
66
  require_relative 'alula/resources/feature_plan'
66
67
  require_relative 'alula/resources/feature_planvideo'
@@ -118,6 +119,7 @@ module Alula
118
119
  Alula::DeviceCredit,
119
120
  Alula::DeviceEventLog,
120
121
  Alula::DeviceNotification,
122
+ Alula::VideoVerificationCamera,
121
123
  Alula::DeviceProgram,
122
124
  Alula::DealerAddress,
123
125
  Alula::DeviceCellularStatus,
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.2
4
+ version: 1.9.3
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-08 00:00:00.000000000 Z
11
+ date: 2024-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -284,6 +284,7 @@ files:
284
284
  - lib/alula/resources/user_videoprofile.rb
285
285
  - lib/alula/resources/video/base_resource.rb
286
286
  - lib/alula/resources/video/device.rb
287
+ - lib/alula/resources/video_verification_camera.rb
287
288
  - lib/alula/rest_resource.rb
288
289
  - lib/alula/rpc_resource.rb
289
290
  - lib/alula/rpc_response.rb