stackone_hris_client 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +15 -4
- data/docs/Account.md +32 -0
- data/docs/AccountsApi.md +147 -0
- data/docs/ConnectSession.md +34 -0
- data/docs/ConnectSessionAuthenticate.md +18 -0
- data/docs/ConnectSessionCreate.md +28 -0
- data/docs/ConnectSessionToken.md +36 -0
- data/docs/ConnectSessionsApi.md +143 -0
- data/docs/EmployeesApi.md +6 -2
- data/gem-config.yml +1 -1
- data/lib/stackone_hris_client/api/accounts_api.rb +144 -0
- data/lib/stackone_hris_client/api/connect_sessions_api.rb +154 -0
- data/lib/stackone_hris_client/api/employees_api.rb +6 -0
- data/lib/stackone_hris_client/configuration.rb +9 -8
- data/lib/stackone_hris_client/models/account.rb +320 -0
- data/lib/stackone_hris_client/models/connect_session.rb +348 -0
- data/lib/stackone_hris_client/models/connect_session_authenticate.rb +223 -0
- data/lib/stackone_hris_client/models/connect_session_create.rb +302 -0
- data/lib/stackone_hris_client/models/connect_session_token.rb +362 -0
- data/lib/stackone_hris_client/version.rb +1 -1
- data/lib/stackone_hris_client.rb +7 -0
- data/spec/api/accounts_api_spec.rb +58 -0
- data/spec/api/connect_sessions_api_spec.rb +57 -0
- data/spec/models/account_spec.rb +76 -0
- data/spec/models/connect_session_authenticate_spec.rb +34 -0
- data/spec/models/connect_session_create_spec.rb +68 -0
- data/spec/models/connect_session_spec.rb +86 -0
- data/spec/models/connect_session_token_spec.rb +92 -0
- metadata +30 -2
@@ -0,0 +1,86 @@
|
|
1
|
+
=begin
|
2
|
+
#StackOne Unified API
|
3
|
+
|
4
|
+
#The documentation for the StackOne Unified API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.4.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for StackOneHrisClient::ConnectSession
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe StackOneHrisClient::ConnectSession do
|
21
|
+
let(:instance) { StackOneHrisClient::ConnectSession.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ConnectSession' do
|
24
|
+
it 'should create an instance of ConnectSession' do
|
25
|
+
expect(instance).to be_instance_of(StackOneHrisClient::ConnectSession)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "id"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "organization_id"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "project_id"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "categories"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["ats", "hris", "crm"])
|
50
|
+
# validator.allowable_values.each do |value|
|
51
|
+
# expect { instance.categories = value }.not_to raise_error
|
52
|
+
# end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
describe 'test attribute "provider"' do
|
57
|
+
it 'should work' do
|
58
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
describe 'test attribute "origin_owner_id"' do
|
63
|
+
it 'should work' do
|
64
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
describe 'test attribute "origin_owner_name"' do
|
69
|
+
it 'should work' do
|
70
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
describe 'test attribute "origin_username"' do
|
75
|
+
it 'should work' do
|
76
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
describe 'test attribute "created_at"' do
|
81
|
+
it 'should work' do
|
82
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
end
|
@@ -0,0 +1,92 @@
|
|
1
|
+
=begin
|
2
|
+
#StackOne Unified API
|
3
|
+
|
4
|
+
#The documentation for the StackOne Unified API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.4.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for StackOneHrisClient::ConnectSessionToken
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe StackOneHrisClient::ConnectSessionToken do
|
21
|
+
let(:instance) { StackOneHrisClient::ConnectSessionToken.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ConnectSessionToken' do
|
24
|
+
it 'should create an instance of ConnectSessionToken' do
|
25
|
+
expect(instance).to be_instance_of(StackOneHrisClient::ConnectSessionToken)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "id"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "organization_id"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "project_id"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "categories"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["ats", "hris", "crm"])
|
50
|
+
# validator.allowable_values.each do |value|
|
51
|
+
# expect { instance.categories = value }.not_to raise_error
|
52
|
+
# end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
describe 'test attribute "provider"' do
|
57
|
+
it 'should work' do
|
58
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
describe 'test attribute "origin_owner_id"' do
|
63
|
+
it 'should work' do
|
64
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
describe 'test attribute "origin_owner_name"' do
|
69
|
+
it 'should work' do
|
70
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
describe 'test attribute "origin_username"' do
|
75
|
+
it 'should work' do
|
76
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
describe 'test attribute "created_at"' do
|
81
|
+
it 'should work' do
|
82
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
describe 'test attribute "token"' do
|
87
|
+
it 'should work' do
|
88
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stackone_hris_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- StackOne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -61,6 +61,13 @@ files:
|
|
61
61
|
- Gemfile.lock
|
62
62
|
- README.md
|
63
63
|
- Rakefile
|
64
|
+
- docs/Account.md
|
65
|
+
- docs/AccountsApi.md
|
66
|
+
- docs/ConnectSession.md
|
67
|
+
- docs/ConnectSessionAuthenticate.md
|
68
|
+
- docs/ConnectSessionCreate.md
|
69
|
+
- docs/ConnectSessionToken.md
|
70
|
+
- docs/ConnectSessionsApi.md
|
64
71
|
- docs/Employee.md
|
65
72
|
- docs/EmployeeResult.md
|
66
73
|
- docs/EmployeesApi.md
|
@@ -69,17 +76,31 @@ files:
|
|
69
76
|
- generate_gem.sh
|
70
77
|
- git_push.sh
|
71
78
|
- lib/stackone_hris_client.rb
|
79
|
+
- lib/stackone_hris_client/api/accounts_api.rb
|
80
|
+
- lib/stackone_hris_client/api/connect_sessions_api.rb
|
72
81
|
- lib/stackone_hris_client/api/employees_api.rb
|
73
82
|
- lib/stackone_hris_client/api_client.rb
|
74
83
|
- lib/stackone_hris_client/api_error.rb
|
75
84
|
- lib/stackone_hris_client/configuration.rb
|
85
|
+
- lib/stackone_hris_client/models/account.rb
|
86
|
+
- lib/stackone_hris_client/models/connect_session.rb
|
87
|
+
- lib/stackone_hris_client/models/connect_session_authenticate.rb
|
88
|
+
- lib/stackone_hris_client/models/connect_session_create.rb
|
89
|
+
- lib/stackone_hris_client/models/connect_session_token.rb
|
76
90
|
- lib/stackone_hris_client/models/employee.rb
|
77
91
|
- lib/stackone_hris_client/models/employee_result.rb
|
78
92
|
- lib/stackone_hris_client/models/employees_paginated.rb
|
79
93
|
- lib/stackone_hris_client/version.rb
|
94
|
+
- spec/api/accounts_api_spec.rb
|
95
|
+
- spec/api/connect_sessions_api_spec.rb
|
80
96
|
- spec/api/employees_api_spec.rb
|
81
97
|
- spec/api_client_spec.rb
|
82
98
|
- spec/configuration_spec.rb
|
99
|
+
- spec/models/account_spec.rb
|
100
|
+
- spec/models/connect_session_authenticate_spec.rb
|
101
|
+
- spec/models/connect_session_create_spec.rb
|
102
|
+
- spec/models/connect_session_spec.rb
|
103
|
+
- spec/models/connect_session_token_spec.rb
|
83
104
|
- spec/models/employee_result_spec.rb
|
84
105
|
- spec/models/employee_spec.rb
|
85
106
|
- spec/models/employees_paginated_spec.rb
|
@@ -110,9 +131,16 @@ specification_version: 4
|
|
110
131
|
summary: StackOne HRIS client gem
|
111
132
|
test_files:
|
112
133
|
- spec/api/employees_api_spec.rb
|
134
|
+
- spec/api/connect_sessions_api_spec.rb
|
135
|
+
- spec/api/accounts_api_spec.rb
|
113
136
|
- spec/api_client_spec.rb
|
114
137
|
- spec/configuration_spec.rb
|
115
138
|
- spec/models/employee_spec.rb
|
139
|
+
- spec/models/account_spec.rb
|
116
140
|
- spec/models/employee_result_spec.rb
|
141
|
+
- spec/models/connect_session_token_spec.rb
|
117
142
|
- spec/models/employees_paginated_spec.rb
|
143
|
+
- spec/models/connect_session_authenticate_spec.rb
|
144
|
+
- spec/models/connect_session_create_spec.rb
|
145
|
+
- spec/models/connect_session_spec.rb
|
118
146
|
- spec/spec_helper.rb
|