alula-ruby 0.64.0 → 0.66.0

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: 94fdf18500f7fac5a2e3a770748187e8cdd1620fd7bfc91b19a12ab1e5c0c035
4
- data.tar.gz: ff49725fb08a79c772fa690a04089f18acb18e107dfe414f47eebac84337afec
3
+ metadata.gz: c4cbe39c4e2fa60837e68df662197c6a72ddeca6aaa32007ae2197771ef31867
4
+ data.tar.gz: 326e36d8245bbf414b20d063cd1c6d18ab356a3ddb61675adba445ec60bfaa0f
5
5
  SHA512:
6
- metadata.gz: 7a6833adf51ceac69329420eb427d2ee566815c5721108126f20f033439a17d233649c5be0b10e493df430a2ef4ed29ace26b60349bacbea054a180719c047f3
7
- data.tar.gz: cb12c6057d5b8f3489d0e0e09fbd840d0c9c70de3aaf1353efc73d398fb5885892267daad298bfd81ff3cd27a2e324f2735a4b741a8643c57059836deece72cd
6
+ metadata.gz: 5c2ff625c820cc614528d85fe6dd4946c0ab12be56d55bbc03cf90ad5ebe96ab8008de2e5cf4bc861dff2050736b90883eb01b242788e04736c25225bfab4e05
7
+ data.tar.gz: 49a97ceae85c37b107c63a4f82ac0c1eb023aa10d487b04b90a501d97a9152a9038d971a36ab23bb10ddd0c7eeddbe1883d2d7c376d7cd5134c2519d145dc0da
@@ -2,7 +2,7 @@ name: Ruby Gem
2
2
 
3
3
  on:
4
4
  push:
5
- branches: [ master ]
5
+ branches: [ main, github-action-update ]
6
6
 
7
7
  jobs:
8
8
  build:
@@ -15,9 +15,9 @@ jobs:
15
15
  steps:
16
16
  - uses: actions/checkout@v2
17
17
  - name: Set up Ruby 2.6
18
- uses: actions/setup-ruby@v1
18
+ uses: ruby/setup-ruby@v1
19
19
  with:
20
- ruby-version: 2.6.x
20
+ ruby-version: '2.6'
21
21
 
22
22
  - name: Publish to GPR
23
23
  run: |
data/VERSION.md CHANGED
@@ -96,3 +96,5 @@
96
96
  | v0.62.0 | 2022-08-19 | Remove Admin User resource map |
97
97
  | v0.63.0 | 2022-08-25 | Gateway Error |
98
98
  | v0.64.0 | 2022-09-28 | Add procedures for unlocking and locking |
99
+ | v0.65.0 | 2022-11-08 | OAuth Client model |
100
+ | v0.66.0 | 2022-11-16 | Receivers Disabled |
@@ -0,0 +1,63 @@
1
+ module Alula
2
+ class OAuthClient < Alula::RestResource
3
+ extend Alula::ResourceAttributes
4
+ extend Alula::ApiOperations::Request
5
+ extend Alula::ApiOperations::List
6
+ extend Alula::ApiOperations::Save
7
+
8
+ resource_path 'oauth/clients'
9
+ type 'oauth-clients'
10
+
11
+ # Resource Fields
12
+ # Not all params are used at the moment. See Alula::ResourceAttributes for details
13
+ # on how params are parsed,
14
+ field :id,
15
+ type: :string,
16
+ sortable: false,
17
+ filterable: false,
18
+ creatable_by: [:system],
19
+ patchable_by: [:system]
20
+
21
+ field :client_secret,
22
+ type: :string,
23
+ sortable: false,
24
+ filterable: false,
25
+ creatable_by: [:system],
26
+ patchable_by: [:system]
27
+
28
+ field :redirect_uri,
29
+ type: :array,
30
+ sortable: false,
31
+ filterable: false,
32
+ creatable_by: [:system],
33
+ patchable_by: [:system]
34
+
35
+ field :client_name,
36
+ type: :string,
37
+ sortable: true,
38
+ filterable: true,
39
+ creatable_by: [:system],
40
+ patchable_by: [:system]
41
+
42
+ field :client_author,
43
+ type: :string,
44
+ sortable: true,
45
+ filterable: true,
46
+ creatable_by: [:system],
47
+ patchable_by: [:system]
48
+
49
+ field :scope,
50
+ type: :date,
51
+ sortable: false,
52
+ filterable: false,
53
+ creatable_by: [:system],
54
+ patchable_by: [:system]
55
+
56
+ field :user_id,
57
+ type: :date,
58
+ sortable: false,
59
+ filterable: true,
60
+ creatable_by: [:system],
61
+ patchable_by: [:system]
62
+ end
63
+ end
@@ -0,0 +1,60 @@
1
+ module Alula
2
+ class ReceiverDisabled < Alula::RestResource
3
+ extend Alula::ResourceAttributes
4
+ extend Alula::ApiOperations::List
5
+ extend Alula::ApiOperations::Request
6
+ extend Alula::ApiOperations::Save
7
+ extend Alula::ApiOperations::Delete
8
+
9
+ # You should update this to be a slash-separated, literal path to the resource
10
+ # without the prefix /api/v1 or the suffix of an ID
11
+ resource_path 'receivers/disabled'
12
+ type 'receivers-disabled'
13
+
14
+ # Relationships
15
+ # None
16
+
17
+ # Resource Fields
18
+ field :id,
19
+ type: :string,
20
+ sortable: false,
21
+ filterable: false,
22
+ creatable_by: [],
23
+ patchable_by: []
24
+
25
+ field :receiver_path,
26
+ type: :string,
27
+ sortable: true,
28
+ filterable: true,
29
+ creatable_by: [:system],
30
+ patchable_by: [:system]
31
+
32
+ field :caller_phone_number,
33
+ type: :string,
34
+ sortable: true,
35
+ filterable: true,
36
+ creatable_by: [:system],
37
+ patchable_by: [:system]
38
+
39
+ field :enable,
40
+ type: :boolean,
41
+ sortable: true,
42
+ filterable: true,
43
+ creatable_by: [:system],
44
+ patchable_by: [:system]
45
+
46
+ field :date_created,
47
+ type: :date,
48
+ sortable: false,
49
+ filterable: false,
50
+ creatable_by: [],
51
+ patchable_by: []
52
+
53
+ field :date_modified,
54
+ type: :date,
55
+ sortable: true,
56
+ filterable: false,
57
+ creatable_by: [],
58
+ patchable_by: []
59
+ end
60
+ 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.64.0'
4
+ VERSION = '0.66.0'
5
5
  end
data/lib/alula.rb CHANGED
@@ -54,8 +54,10 @@ require_relative 'alula/resources/dealer_branding'
54
54
  require_relative 'alula/resources/token_exchange'
55
55
  require_relative 'alula/resources/receiver_connection'
56
56
  require_relative 'alula/resources/receiver_group'
57
+ require_relative 'alula/resources/receiver_disabled'
57
58
  require_relative 'alula/resources/revision'
58
59
  require_relative 'alula/resources/station'
60
+ require_relative 'alula/resources/oauth_client'
59
61
 
60
62
  require_relative 'alula/resources/feature_plan'
61
63
  require_relative 'alula/resources/feature_planvideo'
@@ -117,12 +119,14 @@ module Alula
117
119
  Alula::Dealer,
118
120
  Alula::DealerBranding,
119
121
  Alula::ReceiverGroup,
122
+ Alula::ReceiverDisabled,
120
123
  Alula::Station,
121
124
  Alula::DealerAccountTransfer,
122
125
  Alula::FeaturePlan,
123
126
  Alula::FeaturePlanVideo,
124
127
  Alula::FeaturePrice,
125
128
  Alula::FeatureBySubject,
129
+ Alula::OAuthClient,
126
130
  ].each_with_object({}) do |klass, resource_map|
127
131
  resource_map[klass.get_type] = klass
128
132
  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: 0.64.0
4
+ version: 0.66.0
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-09-29 00:00:00.000000000 Z
11
+ date: 2022-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -256,7 +256,9 @@ files:
256
256
  - lib/alula/resources/feature_plan.rb
257
257
  - lib/alula/resources/feature_planvideo.rb
258
258
  - lib/alula/resources/feature_price.rb
259
+ - lib/alula/resources/oauth_client.rb
259
260
  - lib/alula/resources/receiver_connection.rb
261
+ - lib/alula/resources/receiver_disabled.rb
260
262
  - lib/alula/resources/receiver_group.rb
261
263
  - lib/alula/resources/revision.rb
262
264
  - lib/alula/resources/self.rb