alula-ruby 0.69.0 → 0.69.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: ac8f673cbecf62994d368325fd18eb4df25d4aa23becdb9590dc1a4d1b5c756d
4
- data.tar.gz: 4f68be77d35b52ad2c7c89a95fe4749c001114c91f5c760ea655e47928497c48
3
+ metadata.gz: 9d87f2ed90fecba977bf1428673b12cecf860200438d10cf07ee65540e8e2a3f
4
+ data.tar.gz: 29f80d81aa00b1263b4a781b21551b7ccd73678fad6ba2dd6b1448ebe75b8c93
5
5
  SHA512:
6
- metadata.gz: 0d8db1a7f164e7f7ed96c927a8a1eceeffdf4c7e08e67ff3f31fb5b3bc7de1a53fbc8502b0a5215b4563ec3b91cd43e0575f18d42ef61c3764675d61db6fb947
7
- data.tar.gz: 847228ef33921bf26364416217eeecf58615797a40ea625ddf0a57d4cc8e3658af7ae9636e00bbe912a592390d16f97365147aea4f281475f5c78da4079748ed
6
+ metadata.gz: d147bf5b8418df44789d7ef6c23ccb5db5589556147e80256c7ca84a2e918b68b35bf04038215236220815e163990f69dfc9841b9a1c641bba564987bafed6c7
7
+ data.tar.gz: c0bf4ba0a7748330434d5faeca5622372a5be738e2964ff52f11304e66b36a4ea8b5182d828f3e0b1a0995e2a64737833df6e84c0dd8a08a979a1267acc1522e
data/README.md CHANGED
@@ -427,5 +427,6 @@ In your PR:
427
427
  After merging your PR:
428
428
 
429
429
  - Check out `master` and pull to get the latest
430
+ <!--
430
431
  - Run `bundle exec rake release`.
431
- _A tag will be pushed to Github and then the UI will ask you input to push to a nonexistant URL. Just spam the enter key and let it error out. It's the tag on github that we care about._
432
+ _A tag will be pushed to Github and then the UI will ask you input to push to a nonexistant URL. Just spam the enter key and let it error out. It's the tag on github that we care about._ [[ github action takes care of this ]] -->
data/VERSION.md CHANGED
@@ -101,3 +101,5 @@
101
101
  | v0.67.0 | 2022-11-29 | Renew Programs RPC |
102
102
  | v0.68.0 | 2022-11-29 | Minimum fee attribute |
103
103
  | v0.69.0 | 2022-12-01 | Be able to NICEly delete OAuth clients |
104
+ | v0.69.1 | 2022-12-16 | Alias model added |
105
+ | v0.69.2 | 2023-01-05 | Whitelisted camera vendors dealer attribute |
@@ -228,5 +228,11 @@ module Alula
228
228
  creatable_by: [:system],
229
229
  patchable_by: [:system]
230
230
 
231
+ field :whitelisted_camera_vendors,
232
+ type: :array,
233
+ sortable: false,
234
+ filterable: false,
235
+ creatable_by: [],
236
+ patchable_by: []
231
237
  end
232
238
  end
@@ -0,0 +1,47 @@
1
+ module Alula
2
+ class DeviceAlias < Alula::RestResource
3
+ extend Alula::ResourceAttributes
4
+ extend Alula::ApiOperations::Request
5
+ extend Alula::ApiOperations::List
6
+ extend Alula::ApiOperations::Save
7
+ extend Alula::ApiOperations::Delete
8
+
9
+ resource_path 'devices/aliases'
10
+ type 'devices-aliases'
11
+
12
+ field :id,
13
+ type: :string,
14
+ sortable: false,
15
+ filterable: false,
16
+ creatable_by: [:system],
17
+ patchable_by: []
18
+
19
+ field :device_id,
20
+ type: :string,
21
+ sortable: false,
22
+ filterable: true,
23
+ creatable_by: [:system, :station, :dealer, :technician, :user],
24
+ patchable_by: []
25
+
26
+ field :alias_type,
27
+ type: :string,
28
+ sortable: true,
29
+ filterable: true,
30
+ creatable_by: [:system, :station, :dealer, :technician, :user],
31
+ patchable_by: [:system, :station, :dealer, :technician, :user]
32
+
33
+ field :text,
34
+ type: :string,
35
+ sortable: false,
36
+ filterable: false,
37
+ creatable_by: [:system, :station, :dealer, :technician, :user],
38
+ patchable_by: [:system, :station, :dealer, :technician, :user]
39
+
40
+ field :zone_or_user_index,
41
+ type: :string,
42
+ sortable: true,
43
+ filterable: true,
44
+ creatable_by: [:system, :station, :dealer, :technician, :user],
45
+ patchable_by: [:system, :station, :dealer, :technician, :user]
46
+ end
47
+ 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 = '0.69.0'
4
+ VERSION = '0.69.2'
5
5
  end
data/lib/alula.rb CHANGED
@@ -58,6 +58,7 @@ require_relative 'alula/resources/receiver_disabled'
58
58
  require_relative 'alula/resources/revision'
59
59
  require_relative 'alula/resources/station'
60
60
  require_relative 'alula/resources/oauth_client'
61
+ require_relative 'alula/resources/device_alias'
61
62
 
62
63
  require_relative 'alula/resources/feature_plan'
63
64
  require_relative 'alula/resources/feature_planvideo'
@@ -103,6 +104,7 @@ module Alula
103
104
  @@resource_map = [
104
105
  Alula::BillingProgram,
105
106
  Alula::Device,
107
+ Alula::DeviceAlias,
106
108
  Alula::DeviceCharge,
107
109
  Alula::DeviceCredit,
108
110
  Alula::DeviceEventLog,
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: 0.69.0
4
+ version: 0.69.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: 2022-12-01 00:00:00.000000000 Z
11
+ date: 2023-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -246,6 +246,7 @@ files:
246
246
  - lib/alula/resources/dealer_program.rb
247
247
  - lib/alula/resources/dealer_suspension_log.rb
248
248
  - lib/alula/resources/device.rb
249
+ - lib/alula/resources/device_alias.rb
249
250
  - lib/alula/resources/device_cellular_status.rb
250
251
  - lib/alula/resources/device_charge.rb
251
252
  - lib/alula/resources/device_credit.rb