alula-ruby 1.9.3 → 1.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION.md +3 -1
- data/lib/alula/resources/device.rb +2 -0
- data/lib/alula/resources/video_verification_event.rb +130 -0
- data/lib/alula/version.rb +1 -1
- data/lib/alula.rb +3 -1
- 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: 64fe8a5500b4cfbf095cbf5c3b53fca2eb9f1c4218a3411e271940d3589276a9
|
4
|
+
data.tar.gz: d362964df225aba94db55bb628180ba1b6d3a74abbc34cdabbfc9506ca3b9531
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a926c38988aa0820391e29031cdaa5b542969fc43c1682dbed8556d6d27369b29eeeb06eb0ad47489b1e4c95c0739140c440d73bc982e669796eea46c62f834
|
7
|
+
data.tar.gz: d30ec56ba7099cfaae6e9ec723c4cfeee227cc5287729e0e6cbfd172920e8a3a51779116beb6f19c12456549dba53311b665e41728ff5c7fa74c21907f819cf9
|
data/VERSION.md
CHANGED
@@ -2,7 +2,9 @@
|
|
2
2
|
|
3
3
|
| Version | Date | Description |
|
4
4
|
| ------- | --------- | --------------------------------------------------------------------------- |
|
5
|
-
| v1.9.
|
5
|
+
| v1.9.5 | 2024-07-15 | Video Verification Event resource |
|
6
|
+
| v1.9.4 | 2024-07-15 | Add panel_downloading device feature |
|
7
|
+
| v1.9.3 | 2024-07-10 | Update video verification cameras relation and object |
|
6
8
|
| v1.9.2 | 2024-07-04 | Fix devices-notifications type pluralization and sms notification pluralization |
|
7
9
|
| v1.9.1 | 2024-07-03 | Add video and sms device features |
|
8
10
|
| v1.9.0 | 2024-07-03 | Add DeviceNotification resource with relationships |
|
@@ -19,6 +19,8 @@ module Alula
|
|
19
19
|
field :alula_messenger, type: :boolean
|
20
20
|
field :video_verification, type: :boolean
|
21
21
|
field :sms_notification, type: :boolean
|
22
|
+
field :panel_downloading, type: :boolean
|
23
|
+
# field :onvif_video_hub, type: :boolean # Set by the M2M portal, we don't want it for now
|
22
24
|
end
|
23
25
|
|
24
26
|
resource_path 'devices'
|
@@ -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
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
|
+
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
|
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
|