alula-ruby 0.69.0 → 0.69.1

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: 0b1de8643b1fb3c81e11e6282448709b0dcbc1e4c588ff0b7ad5889150e5342d
4
+ data.tar.gz: d8bdf0865036bbf8223ae319b6b7f168c77137c226aea9ef51da54e7d076e884
5
5
  SHA512:
6
- metadata.gz: 0d8db1a7f164e7f7ed96c927a8a1eceeffdf4c7e08e67ff3f31fb5b3bc7de1a53fbc8502b0a5215b4563ec3b91cd43e0575f18d42ef61c3764675d61db6fb947
7
- data.tar.gz: 847228ef33921bf26364416217eeecf58615797a40ea625ddf0a57d4cc8e3658af7ae9636e00bbe912a592390d16f97365147aea4f281475f5c78da4079748ed
6
+ metadata.gz: a97ab90760b0aca2c67382bbe11aed46f5342dea3ae14841be6543089957435ce471e7db8965495ef458bbcdb86b2a31401ed62fd5257c32315f314e490311dc
7
+ data.tar.gz: 1260dd740b25a4b45dba3e06703aaab93f114f102936871f6a81c7fc1b1ca810a5ae42cd0c0fb3684a88ed9972733a024dc76c48a031bc60d629180e9c59f70b
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,4 @@
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 |
@@ -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.1'
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.1
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: 2022-12-16 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