alula-ruby 1.9.4 → 1.9.5

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: 616eeec22053f3a741455858c9770437c00672a8ce391e637a307ad6cc2b6ad6
4
- data.tar.gz: 62a5ea73aed37a1c3ad31a00f615372332a5b49cc3b6c30f6e210b2f28cdb2d1
3
+ metadata.gz: 64fe8a5500b4cfbf095cbf5c3b53fca2eb9f1c4218a3411e271940d3589276a9
4
+ data.tar.gz: d362964df225aba94db55bb628180ba1b6d3a74abbc34cdabbfc9506ca3b9531
5
5
  SHA512:
6
- metadata.gz: 91d70db2056e1b7a64603893c68f4d872a60a03840f84a78fb091fc259365deed7f402fccf205aa476fae8c257cecb6dc664f988dc23a12b10ad28194e49310e
7
- data.tar.gz: 9f4061bf81898c88ab0c3b2e63eb71c87ee15cbb91a8cfd76c870c9bf7f42230c4f5b4fd18ceeb5a09c518a3f4a14e09916fa139fe68b29bef79d247ae343a5f
6
+ metadata.gz: 9a926c38988aa0820391e29031cdaa5b542969fc43c1682dbed8556d6d27369b29eeeb06eb0ad47489b1e4c95c0739140c440d73bc982e669796eea46c62f834
7
+ data.tar.gz: d30ec56ba7099cfaae6e9ec723c4cfeee227cc5287729e0e6cbfd172920e8a3a51779116beb6f19c12456549dba53311b665e41728ff5c7fa74c21907f819cf9
data/VERSION.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  | Version | Date | Description |
4
4
  | ------- | --------- | --------------------------------------------------------------------------- |
5
+ | v1.9.5 | 2024-07-15 | Video Verification Event resource |
5
6
  | v1.9.4 | 2024-07-15 | Add panel_downloading device feature |
6
7
  | v1.9.3 | 2024-07-10 | Update video verification cameras relation and object |
7
8
  | v1.9.2 | 2024-07-04 | Fix devices-notifications type pluralization and sms notification pluralization |
@@ -0,0 +1,130 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Alula
4
+ class VideoVerificationEvent < Alula::RestResource
5
+ extend Alula::ResourceAttributes
6
+ extend Alula::ApiOperations::Request
7
+
8
+ resource_path 'video/verification/events'
9
+ type 'video-verification-events'
10
+
11
+ field :dealer_id,
12
+ type: :string,
13
+ sortable: false,
14
+ filterable: true,
15
+ creatable_by: %i[],
16
+ patchable_by: %i[]
17
+
18
+ field :device_id,
19
+ type: :string,
20
+ sortable: false,
21
+ filterable: true,
22
+ creatable_by: %i[],
23
+ patchable_by: %i[]
24
+
25
+ field :event_date,
26
+ type: :string,
27
+ sortable: true,
28
+ filterable: false,
29
+ creatable_by: %i[],
30
+ patchable_by: %i[]
31
+
32
+ field :event_id,
33
+ type: :string,
34
+ sortable: false,
35
+ filterable: true,
36
+ creatable_by: %i[],
37
+ patchable_by: %i[]
38
+
39
+ field :id,
40
+ type: :string,
41
+ sortable: false,
42
+ filterable: true,
43
+ creatable_by: %i[],
44
+ patchable_by: %i[]
45
+
46
+ field :access_token_id,
47
+ type: :string,
48
+ sortable: false,
49
+ filterable: false,
50
+ creatable_by: %i[],
51
+ patchable_by: %i[]
52
+
53
+ field :account_owner_id,
54
+ type: :string,
55
+ sortable: false,
56
+ filterable: false,
57
+ creatable_by: %i[],
58
+ patchable_by: %i[]
59
+
60
+ field :cameras,
61
+ type: :array,
62
+ sortable: false,
63
+ filterable: false,
64
+ creatable_by: %i[],
65
+ patchable_by: %i[]
66
+
67
+ field :dealer_company_name,
68
+ type: :string,
69
+ sortable: false,
70
+ filterable: false,
71
+ creatable_by: %i[],
72
+ patchable_by: %i[]
73
+
74
+ field :device_friendly_name,
75
+ type: :string,
76
+ sortable: false,
77
+ filterable: false,
78
+ creatable_by: %i[],
79
+ patchable_by: %i[]
80
+
81
+ field :event_partition,
82
+ type: :number,
83
+ sortable: false,
84
+ filterable: false,
85
+ creatable_by: %i[],
86
+ patchable_by: %i[]
87
+
88
+ field :mac,
89
+ type: :string,
90
+ sortable: false,
91
+ filterable: false,
92
+ creatable_by: %i[],
93
+ patchable_by: %i[]
94
+
95
+ field :owner_full_name,
96
+ type: :string,
97
+ sortable: false,
98
+ filterable: false,
99
+ creatable_by: %i[],
100
+ patchable_by: %i[]
101
+
102
+ field :receivers,
103
+ type: :array,
104
+ sortable: false,
105
+ filterable: false,
106
+ creatable_by: %i[],
107
+ patchable_by: %i[]
108
+
109
+ field :window_end_time,
110
+ type: :string,
111
+ sortable: false,
112
+ filterable: false,
113
+ creatable_by: %i[],
114
+ patchable_by: %i[]
115
+
116
+ field :window_start_time,
117
+ type: :string,
118
+ sortable: false,
119
+ filterable: false,
120
+ creatable_by: %i[],
121
+ patchable_by: %i[]
122
+
123
+ field :zone_or_user_index,
124
+ type: :number,
125
+ sortable: false,
126
+ filterable: false,
127
+ creatable_by: %i[],
128
+ patchable_by: %i[]
129
+ end
130
+ 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.4'
4
+ VERSION = '1.9.5'
5
5
  end
data/lib/alula.rb CHANGED
@@ -62,6 +62,7 @@ require_relative 'alula/resources/oauth_client'
62
62
  require_relative 'alula/resources/device_alias'
63
63
  require_relative 'alula/resources/device_notification'
64
64
  require_relative 'alula/resources/video_verification_camera'
65
+ require_relative 'alula/resources/video_verification_event'
65
66
 
66
67
  require_relative 'alula/resources/feature_plan'
67
68
  require_relative 'alula/resources/feature_planvideo'
@@ -138,7 +139,8 @@ module Alula
138
139
  Alula::UserPhone,
139
140
  Alula::UserPreferences,
140
141
  Alula::UserPushtoken,
141
- Alula::UserVideoProfile
142
+ Alula::UserVideoProfile,
143
+ Alula::VideoVerificationEvent
142
144
  ].each_with_object({}) do |klass, resource_map|
143
145
  resource_map[klass.get_type] = klass
144
146
  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.4
4
+ version: 1.9.5
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-16 00:00:00.000000000 Z
11
+ date: 2024-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -285,6 +285,7 @@ files:
285
285
  - lib/alula/resources/video/base_resource.rb
286
286
  - lib/alula/resources/video/device.rb
287
287
  - lib/alula/resources/video_verification_camera.rb
288
+ - lib/alula/resources/video_verification_event.rb
288
289
  - lib/alula/rest_resource.rb
289
290
  - lib/alula/rpc_resource.rb
290
291
  - lib/alula/rpc_response.rb