stackone_hris_client 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +40 -24
  3. data/docs/Account.md +2 -2
  4. data/docs/AccountsApi.md +82 -11
  5. data/docs/CompaniesApi.md +175 -0
  6. data/docs/CompaniesPaginated.md +22 -0
  7. data/docs/Company.md +22 -0
  8. data/docs/CompanyResult.md +20 -0
  9. data/docs/ConnectSession.md +2 -2
  10. data/docs/ConnectSessionAuthenticate.md +2 -2
  11. data/docs/ConnectSessionCreate.md +2 -2
  12. data/docs/ConnectSessionToken.md +2 -2
  13. data/docs/ConnectSessionsApi.md +15 -13
  14. data/docs/Employee.md +36 -12
  15. data/docs/EmployeeResult.md +2 -2
  16. data/docs/EmployeesApi.md +13 -11
  17. data/docs/EmployeesPaginated.md +2 -2
  18. data/docs/Employment.md +34 -0
  19. data/docs/EmploymentResult.md +20 -0
  20. data/docs/EmploymentsApi.md +175 -0
  21. data/docs/EmploymentsPaginated.md +22 -0
  22. data/docs/Location.md +38 -0
  23. data/docs/LocationResult.md +20 -0
  24. data/docs/LocationsApi.md +175 -0
  25. data/docs/LocationsPaginated.md +22 -0
  26. data/gem-config.yml +4 -4
  27. data/lib/stackone_hris_client/api/accounts_api.rb +65 -4
  28. data/lib/stackone_hris_client/api/companies_api.rb +188 -0
  29. data/lib/stackone_hris_client/api/connect_sessions_api.rb +5 -5
  30. data/lib/stackone_hris_client/api/employees_api.rb +4 -4
  31. data/lib/stackone_hris_client/api/employments_api.rb +188 -0
  32. data/lib/stackone_hris_client/api/locations_api.rb +188 -0
  33. data/lib/stackone_hris_client/api_client.rb +5 -5
  34. data/lib/stackone_hris_client/api_error.rb +4 -4
  35. data/lib/stackone_hris_client/configuration.rb +4 -4
  36. data/lib/stackone_hris_client/models/account.rb +9 -7
  37. data/lib/stackone_hris_client/models/companies_paginated.rb +249 -0
  38. data/lib/stackone_hris_client/models/company.rb +237 -0
  39. data/lib/stackone_hris_client/models/company_result.rb +233 -0
  40. data/lib/stackone_hris_client/models/connect_session.rb +9 -7
  41. data/lib/stackone_hris_client/models/connect_session_authenticate.rb +9 -7
  42. data/lib/stackone_hris_client/models/connect_session_create.rb +9 -7
  43. data/lib/stackone_hris_client/models/connect_session_token.rb +9 -7
  44. data/lib/stackone_hris_client/models/employee.rb +145 -60
  45. data/lib/stackone_hris_client/models/employee_result.rb +9 -7
  46. data/lib/stackone_hris_client/models/employees_paginated.rb +9 -7
  47. data/lib/stackone_hris_client/models/employment.rb +296 -0
  48. data/lib/stackone_hris_client/models/employment_result.rb +233 -0
  49. data/lib/stackone_hris_client/models/employments_paginated.rb +249 -0
  50. data/lib/stackone_hris_client/models/location.rb +314 -0
  51. data/lib/stackone_hris_client/models/location_result.rb +233 -0
  52. data/lib/stackone_hris_client/models/locations_paginated.rb +249 -0
  53. data/lib/stackone_hris_client/version.rb +5 -5
  54. data/lib/stackone_hris_client.rb +16 -4
  55. data/spec/api/companies_api_spec.rb +70 -0
  56. data/spec/api/employments_api_spec.rb +70 -0
  57. data/spec/api/locations_api_spec.rb +70 -0
  58. data/spec/api_client_spec.rb +32 -32
  59. data/spec/configuration_spec.rb +6 -6
  60. data/spec/models/companies_paginated_spec.rb +46 -0
  61. data/spec/models/company_result_spec.rb +40 -0
  62. data/spec/models/company_spec.rb +46 -0
  63. data/spec/models/employment_result_spec.rb +40 -0
  64. data/spec/models/employment_spec.rb +82 -0
  65. data/spec/models/employments_paginated_spec.rb +46 -0
  66. data/spec/models/location_result_spec.rb +40 -0
  67. data/spec/models/location_spec.rb +94 -0
  68. data/spec/models/locations_paginated_spec.rb +46 -0
  69. data/spec/spec_helper.rb +3 -3
  70. data/stackone_hris_client.gemspec +5 -5
  71. metadata +51 -3
@@ -0,0 +1,94 @@
1
+ =begin
2
+ #StackOne Unified API - HRIS
3
+
4
+ #The documentation for the StackOne Unified API - HRIS
5
+
6
+ The version of the OpenAPI document: 1.0.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 StackOneHRIS::Location
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe StackOneHRIS::Location do
21
+ let(:instance) { StackOneHRIS::Location.new }
22
+
23
+ describe 'test an instance of Location' do
24
+ it 'should create an instance of Location' do
25
+ expect(instance).to be_instance_of(StackOneHRIS::Location)
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 "employee_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 "name"' 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 "phone_number"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "street_1"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "street_2"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "city"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "state"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "zip_code"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ describe 'test attribute "country"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
88
+ describe 'test attribute "location_type"' do
89
+ it 'should work' do
90
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
+ end
92
+ end
93
+
94
+ end
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #StackOne Unified API - HRIS
3
+
4
+ #The documentation for the StackOne Unified API - HRIS
5
+
6
+ The version of the OpenAPI document: 1.0.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 StackOneHRIS::LocationsPaginated
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe StackOneHRIS::LocationsPaginated do
21
+ let(:instance) { StackOneHRIS::LocationsPaginated.new }
22
+
23
+ describe 'test an instance of LocationsPaginated' do
24
+ it 'should create an instance of LocationsPaginated' do
25
+ expect(instance).to be_instance_of(StackOneHRIS::LocationsPaginated)
26
+ end
27
+ end
28
+ describe 'test attribute "next_page"' 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 "data"' 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 "raw"' 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
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  =begin
2
- #StackOne Unified API
2
+ #StackOne Unified API - HRIS
3
3
 
4
- #The documentation for the StackOne Unified API
4
+ #The documentation for the StackOne Unified API - HRIS
5
5
 
6
- The version of the OpenAPI document: 1.0
6
+ The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.4.0
@@ -1,11 +1,11 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  =begin
4
- #StackOne Unified API
4
+ #StackOne Unified API - HRIS
5
5
 
6
- #The documentation for the StackOne Unified API
6
+ #The documentation for the StackOne Unified API - HRIS
7
7
 
8
- The version of the OpenAPI document: 1.0
8
+ The version of the OpenAPI document: 1.0.0
9
9
 
10
10
  Generated by: https://openapi-generator.tech
11
11
  OpenAPI Generator version: 6.4.0
@@ -17,10 +17,10 @@ require "stackone_hris_client/version"
17
17
 
18
18
  Gem::Specification.new do |s|
19
19
  s.name = "stackone_hris_client"
20
- s.version = StackOneHrisClient::VERSION
20
+ s.version = StackOneHRIS::VERSION
21
21
  s.platform = Gem::Platform::RUBY
22
22
  s.authors = ["StackOne"]
23
- s.email = ["developer-support@stackone.comm"]
23
+ s.email = ["developer-support@stackone.com"]
24
24
  s.homepage = "https://stackone.com"
25
25
  s.summary = "StackOne HRIS client gem"
26
26
  s.description = "StackOne Unified API client for enhanced integrations with HRIS systems"
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.1.0
4
+ version: 1.2.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-23 00:00:00.000000000 Z
11
+ date: 2023-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -52,7 +52,7 @@ dependencies:
52
52
  version: 3.6.0
53
53
  description: StackOne Unified API client for enhanced integrations with HRIS systems
54
54
  email:
55
- - developer-support@stackone.comm
55
+ - developer-support@stackone.com
56
56
  executables: []
57
57
  extensions: []
58
58
  extra_rdoc_files: []
@@ -63,6 +63,10 @@ files:
63
63
  - Rakefile
64
64
  - docs/Account.md
65
65
  - docs/AccountsApi.md
66
+ - docs/CompaniesApi.md
67
+ - docs/CompaniesPaginated.md
68
+ - docs/Company.md
69
+ - docs/CompanyResult.md
66
70
  - docs/ConnectSession.md
67
71
  - docs/ConnectSessionAuthenticate.md
68
72
  - docs/ConnectSessionCreate.md
@@ -72,17 +76,31 @@ files:
72
76
  - docs/EmployeeResult.md
73
77
  - docs/EmployeesApi.md
74
78
  - docs/EmployeesPaginated.md
79
+ - docs/Employment.md
80
+ - docs/EmploymentResult.md
81
+ - docs/EmploymentsApi.md
82
+ - docs/EmploymentsPaginated.md
83
+ - docs/Location.md
84
+ - docs/LocationResult.md
85
+ - docs/LocationsApi.md
86
+ - docs/LocationsPaginated.md
75
87
  - gem-config.yml
76
88
  - generate_gem.sh
77
89
  - git_push.sh
78
90
  - lib/stackone_hris_client.rb
79
91
  - lib/stackone_hris_client/api/accounts_api.rb
92
+ - lib/stackone_hris_client/api/companies_api.rb
80
93
  - lib/stackone_hris_client/api/connect_sessions_api.rb
81
94
  - lib/stackone_hris_client/api/employees_api.rb
95
+ - lib/stackone_hris_client/api/employments_api.rb
96
+ - lib/stackone_hris_client/api/locations_api.rb
82
97
  - lib/stackone_hris_client/api_client.rb
83
98
  - lib/stackone_hris_client/api_error.rb
84
99
  - lib/stackone_hris_client/configuration.rb
85
100
  - lib/stackone_hris_client/models/account.rb
101
+ - lib/stackone_hris_client/models/companies_paginated.rb
102
+ - lib/stackone_hris_client/models/company.rb
103
+ - lib/stackone_hris_client/models/company_result.rb
86
104
  - lib/stackone_hris_client/models/connect_session.rb
87
105
  - lib/stackone_hris_client/models/connect_session_authenticate.rb
88
106
  - lib/stackone_hris_client/models/connect_session_create.rb
@@ -90,13 +108,25 @@ files:
90
108
  - lib/stackone_hris_client/models/employee.rb
91
109
  - lib/stackone_hris_client/models/employee_result.rb
92
110
  - lib/stackone_hris_client/models/employees_paginated.rb
111
+ - lib/stackone_hris_client/models/employment.rb
112
+ - lib/stackone_hris_client/models/employment_result.rb
113
+ - lib/stackone_hris_client/models/employments_paginated.rb
114
+ - lib/stackone_hris_client/models/location.rb
115
+ - lib/stackone_hris_client/models/location_result.rb
116
+ - lib/stackone_hris_client/models/locations_paginated.rb
93
117
  - lib/stackone_hris_client/version.rb
94
118
  - spec/api/accounts_api_spec.rb
119
+ - spec/api/companies_api_spec.rb
95
120
  - spec/api/connect_sessions_api_spec.rb
96
121
  - spec/api/employees_api_spec.rb
122
+ - spec/api/employments_api_spec.rb
123
+ - spec/api/locations_api_spec.rb
97
124
  - spec/api_client_spec.rb
98
125
  - spec/configuration_spec.rb
99
126
  - spec/models/account_spec.rb
127
+ - spec/models/companies_paginated_spec.rb
128
+ - spec/models/company_result_spec.rb
129
+ - spec/models/company_spec.rb
100
130
  - spec/models/connect_session_authenticate_spec.rb
101
131
  - spec/models/connect_session_create_spec.rb
102
132
  - spec/models/connect_session_spec.rb
@@ -104,6 +134,12 @@ files:
104
134
  - spec/models/employee_result_spec.rb
105
135
  - spec/models/employee_spec.rb
106
136
  - spec/models/employees_paginated_spec.rb
137
+ - spec/models/employment_result_spec.rb
138
+ - spec/models/employment_spec.rb
139
+ - spec/models/employments_paginated_spec.rb
140
+ - spec/models/location_result_spec.rb
141
+ - spec/models/location_spec.rb
142
+ - spec/models/locations_paginated_spec.rb
107
143
  - spec/spec_helper.rb
108
144
  - stackone_hris_client.gemspec
109
145
  homepage: https://stackone.com
@@ -130,17 +166,29 @@ signing_key:
130
166
  specification_version: 4
131
167
  summary: StackOne HRIS client gem
132
168
  test_files:
169
+ - spec/api/locations_api_spec.rb
133
170
  - spec/api/employees_api_spec.rb
171
+ - spec/api/companies_api_spec.rb
134
172
  - spec/api/connect_sessions_api_spec.rb
135
173
  - spec/api/accounts_api_spec.rb
174
+ - spec/api/employments_api_spec.rb
136
175
  - spec/api_client_spec.rb
137
176
  - spec/configuration_spec.rb
177
+ - spec/models/companies_paginated_spec.rb
138
178
  - spec/models/employee_spec.rb
139
179
  - spec/models/account_spec.rb
140
180
  - spec/models/employee_result_spec.rb
141
181
  - spec/models/connect_session_token_spec.rb
182
+ - spec/models/employments_paginated_spec.rb
142
183
  - spec/models/employees_paginated_spec.rb
184
+ - spec/models/employment_spec.rb
185
+ - spec/models/company_spec.rb
143
186
  - spec/models/connect_session_authenticate_spec.rb
187
+ - spec/models/location_spec.rb
188
+ - spec/models/location_result_spec.rb
144
189
  - spec/models/connect_session_create_spec.rb
190
+ - spec/models/locations_paginated_spec.rb
145
191
  - spec/models/connect_session_spec.rb
192
+ - spec/models/company_result_spec.rb
193
+ - spec/models/employment_result_spec.rb
146
194
  - spec/spec_helper.rb