alula-ruby 0.68.0 → 0.69.1

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: c52cf1f690e3d36d17501014f0d63e110369db506b9320da8fff018be825d0d9
4
- data.tar.gz: dc14560b5cd9770ac265c2f2a62d43674fe80a78b166b96c706f30ff9ea0b647
3
+ metadata.gz: 0b1de8643b1fb3c81e11e6282448709b0dcbc1e4c588ff0b7ad5889150e5342d
4
+ data.tar.gz: d8bdf0865036bbf8223ae319b6b7f168c77137c226aea9ef51da54e7d076e884
5
5
  SHA512:
6
- metadata.gz: d17211be04dccbf9a4e872a4b8fc73b414d6774cc1165b419422645230a119487f035b93df1a17ec88e7d77c8335d05009ad509c4d19a50e63629f2436217278
7
- data.tar.gz: 2dfb3bb567eac518ccabd75c2ecbf21293ee054f67893f2d9aafd5bb4ba1dd22b29cd3d70914cb9a866259be3b13d14f945f62f4e9349986a9453b8549a8c29e
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
@@ -100,3 +100,5 @@
100
100
  | v0.66.0 | 2022-11-16 | Receivers Disabled |
101
101
  | v0.67.0 | 2022-11-29 | Renew Programs RPC |
102
102
  | v0.68.0 | 2022-11-29 | Minimum fee attribute |
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
@@ -4,6 +4,7 @@ module Alula
4
4
  extend Alula::ApiOperations::Request
5
5
  extend Alula::ApiOperations::List
6
6
  extend Alula::ApiOperations::Save
7
+ extend Alula::ApiOperations::Delete
7
8
 
8
9
  resource_path 'oauth/clients'
9
10
  type 'oauth-clients'
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.68.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.68.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-11-30 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