stackone_hris_client 1.5.2 → 1.7.0

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.
Files changed (163) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +49 -30
  4. data/docs/Account.md +3 -1
  5. data/docs/AccountMeta.md +22 -0
  6. data/docs/AccountsApi.md +82 -14
  7. data/docs/CompaniesApi.md +25 -25
  8. data/docs/ConnectSession.md +1 -1
  9. data/docs/ConnectSessionCreate.md +1 -1
  10. data/docs/ConnectSessionToken.md +1 -1
  11. data/docs/ConnectSessionsApi.md +9 -9
  12. data/docs/CreateEmployeeResult.md +22 -0
  13. data/docs/Employee.md +56 -52
  14. data/docs/EmployeeApiModel.md +80 -0
  15. data/docs/EmployeeApiModelAvatar.md +20 -0
  16. data/docs/EmployeeApiModelEmploymentStatus.md +20 -0
  17. data/docs/EmployeeApiModelEmploymentType.md +20 -0
  18. data/docs/EmployeeApiModelEthnicity.md +20 -0
  19. data/docs/EmployeeApiModelGender.md +20 -0
  20. data/docs/EmployeeApiModelHomeLocation.md +38 -0
  21. data/docs/EmployeeApiModelMaritalStatus.md +20 -0
  22. data/docs/EmployeeApiModelWorkLocation.md +38 -0
  23. data/docs/EmployeeCustomFieldTypeEnum.md +20 -0
  24. data/docs/EmployeeCustomFields.md +30 -0
  25. data/docs/EmployeeCustomFieldsType.md +20 -0
  26. data/docs/EmployeeResult.md +1 -1
  27. data/docs/EmployeesApi.md +242 -28
  28. data/docs/EmployeesPaginated.md +1 -1
  29. data/docs/Employment.md +17 -15
  30. data/docs/EmploymentEmploymentContractType.md +20 -0
  31. data/docs/EmploymentEmploymentType.md +20 -0
  32. data/docs/EmploymentPayFrequency.md +20 -0
  33. data/docs/EmploymentPayPeriod.md +20 -0
  34. data/docs/EmploymentScheduleTypeEnum.md +20 -0
  35. data/docs/EmploymentsApi.md +27 -27
  36. data/docs/HrisCreateEmployeeRequestDto.md +80 -0
  37. data/docs/Location.md +20 -20
  38. data/docs/LocationCountry.md +20 -0
  39. data/docs/LocationLocationType.md +20 -0
  40. data/docs/LocationsApi.md +9 -9
  41. data/gem-config.yml +2 -2
  42. data/generate_gem.sh +0 -0
  43. data/lib/stackone_hris_client/api/accounts_api.rb +68 -7
  44. data/lib/stackone_hris_client/api/companies_api.rb +20 -20
  45. data/lib/stackone_hris_client/api/connect_sessions_api.rb +5 -5
  46. data/lib/stackone_hris_client/api/employees_api.rb +251 -20
  47. data/lib/stackone_hris_client/api/employments_api.rb +20 -20
  48. data/lib/stackone_hris_client/api/locations_api.rb +5 -5
  49. data/lib/stackone_hris_client/api_client.rb +1 -1
  50. data/lib/stackone_hris_client/api_error.rb +1 -1
  51. data/lib/stackone_hris_client/configuration.rb +2 -2
  52. data/lib/stackone_hris_client/models/account.rb +16 -7
  53. data/lib/stackone_hris_client/models/account_meta.rb +284 -0
  54. data/lib/stackone_hris_client/models/companies_paginated.rb +1 -1
  55. data/lib/stackone_hris_client/models/company.rb +1 -1
  56. data/lib/stackone_hris_client/models/company_result.rb +1 -1
  57. data/lib/stackone_hris_client/models/connect_session.rb +1 -1
  58. data/lib/stackone_hris_client/models/connect_session_authenticate.rb +1 -1
  59. data/lib/stackone_hris_client/models/connect_session_create.rb +1 -1
  60. data/lib/stackone_hris_client/models/connect_session_token.rb +1 -1
  61. data/lib/stackone_hris_client/models/country_code_enum.rb +1 -7
  62. data/lib/stackone_hris_client/models/create_employee_result.rb +250 -0
  63. data/lib/stackone_hris_client/models/employee.rb +117 -124
  64. data/lib/stackone_hris_client/models/employee_api_model.rb +523 -0
  65. data/lib/stackone_hris_client/models/employee_api_model_avatar.rb +234 -0
  66. data/lib/stackone_hris_client/models/employee_api_model_employment_status.rb +272 -0
  67. data/lib/stackone_hris_client/models/employee_api_model_employment_type.rb +272 -0
  68. data/lib/stackone_hris_client/models/employee_api_model_ethnicity.rb +272 -0
  69. data/lib/stackone_hris_client/models/employee_api_model_gender.rb +272 -0
  70. data/lib/stackone_hris_client/models/employee_api_model_home_location.rb +324 -0
  71. data/lib/stackone_hris_client/models/employee_api_model_marital_status.rb +272 -0
  72. data/lib/stackone_hris_client/models/employee_api_model_work_location.rb +324 -0
  73. data/lib/stackone_hris_client/models/employee_custom_field_type_enum.rb +264 -0
  74. data/lib/stackone_hris_client/models/employee_custom_fields.rb +279 -0
  75. data/lib/stackone_hris_client/models/employee_custom_fields_type.rb +272 -0
  76. data/lib/stackone_hris_client/models/employee_result.rb +1 -1
  77. data/lib/stackone_hris_client/models/employees_paginated.rb +1 -1
  78. data/lib/stackone_hris_client/models/employment.rb +22 -7
  79. data/lib/stackone_hris_client/models/employment_employment_contract_type.rb +272 -0
  80. data/lib/stackone_hris_client/models/employment_employment_type.rb +272 -0
  81. data/lib/stackone_hris_client/models/employment_pay_frequency.rb +272 -0
  82. data/lib/stackone_hris_client/models/employment_pay_period.rb +272 -0
  83. data/lib/stackone_hris_client/models/employment_result.rb +1 -1
  84. data/lib/stackone_hris_client/models/employment_schedule_type_enum.rb +264 -0
  85. data/lib/stackone_hris_client/models/employment_status_enum.rb +1 -7
  86. data/lib/stackone_hris_client/models/employment_type_enum.rb +1 -7
  87. data/lib/stackone_hris_client/models/employments_paginated.rb +1 -1
  88. data/lib/stackone_hris_client/models/ethnicity_enum.rb +1 -7
  89. data/lib/stackone_hris_client/models/gender_enum.rb +1 -7
  90. data/lib/stackone_hris_client/models/hris_create_employee_request_dto.rb +523 -0
  91. data/lib/stackone_hris_client/models/image.rb +1 -1
  92. data/lib/stackone_hris_client/models/location.rb +12 -8
  93. data/lib/stackone_hris_client/models/location_country.rb +272 -0
  94. data/lib/stackone_hris_client/models/location_location_type.rb +272 -0
  95. data/lib/stackone_hris_client/models/location_result.rb +1 -1
  96. data/lib/stackone_hris_client/models/location_type_enum.rb +1 -7
  97. data/lib/stackone_hris_client/models/locations_paginated.rb +1 -1
  98. data/lib/stackone_hris_client/models/marital_status_enum.rb +1 -7
  99. data/lib/stackone_hris_client/models/pay_frequency_enum.rb +1 -7
  100. data/lib/stackone_hris_client/models/pay_period_enum.rb +1 -7
  101. data/lib/stackone_hris_client/version.rb +2 -2
  102. data/lib/stackone_hris_client.rb +23 -1
  103. data/spec/api/accounts_api_spec.rb +30 -8
  104. data/spec/api/companies_api_spec.rb +13 -13
  105. data/spec/api/connect_sessions_api_spec.rb +8 -8
  106. data/spec/api/employees_api_spec.rb +60 -18
  107. data/spec/api/employments_api_spec.rb +13 -13
  108. data/spec/api/locations_api_spec.rb +9 -9
  109. data/spec/api_client_spec.rb +1 -1
  110. data/spec/configuration_spec.rb +1 -1
  111. data/spec/models/account_meta_spec.rb +50 -0
  112. data/spec/models/account_spec.rb +18 -12
  113. data/spec/models/companies_paginated_spec.rb +4 -4
  114. data/spec/models/company_result_spec.rb +3 -3
  115. data/spec/models/company_spec.rb +4 -4
  116. data/spec/models/connect_session_authenticate_spec.rb +5 -5
  117. data/spec/models/connect_session_create_spec.rb +17 -11
  118. data/spec/models/connect_session_spec.rb +14 -14
  119. data/spec/models/connect_session_token_spec.rb +15 -15
  120. data/spec/models/country_code_enum_spec.rb +4 -4
  121. data/spec/models/create_employee_result_spec.rb +46 -0
  122. data/spec/models/employee.rb +220 -0
  123. data/spec/models/employee_api_model_avatar_spec.rb +40 -0
  124. data/spec/models/employee_api_model_employment_status_spec.rb +44 -0
  125. data/spec/models/employee_api_model_employment_type_spec.rb +44 -0
  126. data/spec/models/employee_api_model_ethnicity_spec.rb +44 -0
  127. data/spec/models/employee_api_model_gender_spec.rb +44 -0
  128. data/spec/models/employee_api_model_home_location_spec.rb +94 -0
  129. data/spec/models/employee_api_model_marital_status_spec.rb +44 -0
  130. data/spec/models/employee_api_model_spec.rb +220 -0
  131. data/spec/models/employee_api_model_work_location_spec.rb +94 -0
  132. data/spec/models/employee_custom_field_type_enum_spec.rb +44 -0
  133. data/spec/models/employee_custom_fields_spec.rb +70 -0
  134. data/spec/models/employee_custom_fields_type_spec.rb +44 -0
  135. data/spec/models/employee_result_spec.rb +6 -6
  136. data/spec/models/employees_paginated_spec.rb +7 -7
  137. data/spec/models/employment_employment_contract_type_spec.rb +44 -0
  138. data/spec/models/employment_employment_type_spec.rb +44 -0
  139. data/spec/models/employment_pay_frequency_spec.rb +44 -0
  140. data/spec/models/employment_pay_period_spec.rb +44 -0
  141. data/spec/models/employment_result_spec.rb +3 -3
  142. data/spec/models/employment_schedule_type_enum_spec.rb +44 -0
  143. data/spec/models/employment_spec.rb +16 -10
  144. data/spec/models/employment_status_enum_spec.rb +4 -4
  145. data/spec/models/employment_type_enum_spec.rb +4 -4
  146. data/spec/models/employments_paginated_spec.rb +4 -4
  147. data/spec/models/ethnicity_enum_spec.rb +4 -4
  148. data/spec/models/gender_enum_spec.rb +4 -4
  149. data/spec/models/hris_create_employee_request_dto_spec.rb +220 -0
  150. data/spec/models/image_spec.rb +3 -3
  151. data/spec/models/location_country_spec.rb +44 -0
  152. data/spec/models/location_location_type_spec.rb +44 -0
  153. data/spec/models/location_result_spec.rb +3 -3
  154. data/spec/models/location_spec.rb +12 -12
  155. data/spec/models/location_type_enum_spec.rb +3 -3
  156. data/spec/models/locations_paginated_spec.rb +4 -4
  157. data/spec/models/marital_status_enum_spec.rb +4 -4
  158. data/spec/models/pay_frequency_enum_spec.rb +4 -4
  159. data/spec/models/pay_period_enum_spec.rb +3 -3
  160. data/spec/spec_helper.rb +1 -1
  161. data/stackone_hris_client.gemspec +1 -1
  162. metadata +92 -4
  163. data/spec/models/employee_spec.rb +0 -124
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -18,6 +18,7 @@ require 'stackone_hris_client/configuration'
18
18
 
19
19
  # Models
20
20
  require 'stackone_hris_client/models/account'
21
+ require 'stackone_hris_client/models/account_meta'
21
22
  require 'stackone_hris_client/models/companies_paginated'
22
23
  require 'stackone_hris_client/models/company'
23
24
  require 'stackone_hris_client/models/company_result'
@@ -26,18 +27,39 @@ require 'stackone_hris_client/models/connect_session_authenticate'
26
27
  require 'stackone_hris_client/models/connect_session_create'
27
28
  require 'stackone_hris_client/models/connect_session_token'
28
29
  require 'stackone_hris_client/models/country_code_enum'
30
+ require 'stackone_hris_client/models/create_employee_result'
29
31
  require 'stackone_hris_client/models/employee'
32
+ require 'stackone_hris_client/models/employee_api_model'
33
+ require 'stackone_hris_client/models/employee_api_model_avatar'
34
+ require 'stackone_hris_client/models/employee_api_model_employment_status'
35
+ require 'stackone_hris_client/models/employee_api_model_employment_type'
36
+ require 'stackone_hris_client/models/employee_api_model_ethnicity'
37
+ require 'stackone_hris_client/models/employee_api_model_gender'
38
+ require 'stackone_hris_client/models/employee_api_model_home_location'
39
+ require 'stackone_hris_client/models/employee_api_model_marital_status'
40
+ require 'stackone_hris_client/models/employee_api_model_work_location'
41
+ require 'stackone_hris_client/models/employee_custom_field_type_enum'
42
+ require 'stackone_hris_client/models/employee_custom_fields'
43
+ require 'stackone_hris_client/models/employee_custom_fields_type'
30
44
  require 'stackone_hris_client/models/employee_result'
31
45
  require 'stackone_hris_client/models/employees_paginated'
32
46
  require 'stackone_hris_client/models/employment'
47
+ require 'stackone_hris_client/models/employment_employment_contract_type'
48
+ require 'stackone_hris_client/models/employment_employment_type'
49
+ require 'stackone_hris_client/models/employment_pay_frequency'
50
+ require 'stackone_hris_client/models/employment_pay_period'
33
51
  require 'stackone_hris_client/models/employment_result'
52
+ require 'stackone_hris_client/models/employment_schedule_type_enum'
34
53
  require 'stackone_hris_client/models/employment_status_enum'
35
54
  require 'stackone_hris_client/models/employment_type_enum'
36
55
  require 'stackone_hris_client/models/employments_paginated'
37
56
  require 'stackone_hris_client/models/ethnicity_enum'
38
57
  require 'stackone_hris_client/models/gender_enum'
58
+ require 'stackone_hris_client/models/hris_create_employee_request_dto'
39
59
  require 'stackone_hris_client/models/image'
40
60
  require 'stackone_hris_client/models/location'
61
+ require 'stackone_hris_client/models/location_country'
62
+ require 'stackone_hris_client/models/location_location_type'
41
63
  require 'stackone_hris_client/models/location_result'
42
64
  require 'stackone_hris_client/models/location_type_enum'
43
65
  require 'stackone_hris_client/models/locations_paginated'
@@ -1,12 +1,12 @@
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
- OpenAPI Generator version: 6.4.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -32,26 +32,48 @@ describe 'AccountsApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for accounts_delete
36
+ # Delete Account
37
+ # @param id
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [Account]
40
+ describe 'accounts_delete test' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
35
46
  # unit tests for accounts_get
36
- #
47
+ # Get Account
37
48
  # @param id
38
49
  # @param [Hash] opts the optional parameters
39
50
  # @return [Account]
40
51
  describe 'accounts_get test' do
41
52
  it 'should work' do
42
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
54
  end
44
55
  end
45
56
 
46
57
  # unit tests for accounts_list
47
- #
58
+ # List Accounts
48
59
  # @param [Hash] opts the optional parameters
49
60
  # @option opts [String] :provider The provider of the results to fetch
50
61
  # @option opts [String] :origin_owner_id The origin owner identifier of the results to fetch
51
62
  # @return [Array<Account>]
52
63
  describe 'accounts_list test' do
53
64
  it 'should work' do
54
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
65
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
66
+ end
67
+ end
68
+
69
+ # unit tests for accounts_meta_get
70
+ # Get meta information of the account
71
+ # @param id
72
+ # @param [Hash] opts the optional parameters
73
+ # @return [AccountMeta]
74
+ describe 'accounts_meta_get test' do
75
+ it 'should work' do
76
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
77
  end
56
78
  end
57
79
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.4.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -32,38 +32,38 @@ describe 'CompaniesApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for companies_get
36
- #
35
+ # unit tests for hris_companies_get
36
+ # Get Company
37
37
  # @param id
38
38
  # @param x_account_id The account identifier
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @option opts [String] :page The page number of the results to fetch
41
41
  # @option opts [String] :page_size The number of results per page
42
42
  # @option opts [Boolean] :raw Indicates that the raw request result is returned
43
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
44
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
43
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned)
45
44
  # @option opts [String] :sync_token The sync token to select the only updated results
45
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
46
46
  # @return [CompanyResult]
47
- describe 'companies_get test' do
47
+ describe 'hris_companies_get test' do
48
48
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
50
50
  end
51
51
  end
52
52
 
53
- # unit tests for companies_list
54
- #
53
+ # unit tests for hris_companies_list
54
+ # List Companies
55
55
  # @param x_account_id The account identifier
56
56
  # @param [Hash] opts the optional parameters
57
57
  # @option opts [String] :page The page number of the results to fetch
58
58
  # @option opts [String] :page_size The number of results per page
59
59
  # @option opts [Boolean] :raw Indicates that the raw request result is returned
60
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
61
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
60
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned)
62
61
  # @option opts [String] :sync_token The sync token to select the only updated results
62
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
63
63
  # @return [CompaniesPaginated]
64
- describe 'companies_list test' do
64
+ describe 'hris_companies_list test' do
65
65
  it 'should work' do
66
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
66
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
67
  end
68
68
  end
69
69
 
@@ -1,12 +1,12 @@
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
- OpenAPI Generator version: 6.4.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -33,24 +33,24 @@ describe 'ConnectSessionsApi' do
33
33
  end
34
34
 
35
35
  # unit tests for connect_sessions_authenticate
36
- #
36
+ # Authenticate Session
37
37
  # @param connect_session_authenticate The parameters to authenticate
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @return [ConnectSession]
40
40
  describe 'connect_sessions_authenticate test' do
41
41
  it 'should work' do
42
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
43
  end
44
44
  end
45
45
 
46
46
  # unit tests for connect_sessions_create
47
- #
47
+ # Create Session
48
48
  # @param connect_session_create
49
49
  # @param [Hash] opts the optional parameters
50
50
  # @return [ConnectSessionToken]
51
51
  describe 'connect_sessions_create test' do
52
52
  it 'should work' do
53
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
54
54
  end
55
55
  end
56
56
 
@@ -1,12 +1,12 @@
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
- OpenAPI Generator version: 6.4.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -32,36 +32,78 @@ describe 'EmployeesApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for employees_get
36
- #
35
+ # unit tests for employee_create
36
+ # Creates an employee
37
+ # @param x_account_id The account identifier
38
+ # @param hris_create_employee_request_dto
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [CreateEmployeeResult]
41
+ describe 'employee_create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for employee_replace
48
+ # Replaces an employee
49
+ # @param id
50
+ # @param x_account_id The account identifier
51
+ # @param hris_create_employee_request_dto
52
+ # @param [Hash] opts the optional parameters
53
+ # @return [CreateEmployeeResult]
54
+ describe 'employee_replace test' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ # unit tests for employee_update
61
+ # Updates an employee
62
+ # @param id
63
+ # @param x_account_id The account identifier
64
+ # @param hris_create_employee_request_dto
65
+ # @param [Hash] opts the optional parameters
66
+ # @return [CreateEmployeeResult]
67
+ describe 'employee_update test' do
68
+ it 'should work' do
69
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
70
+ end
71
+ end
72
+
73
+ # unit tests for hris_employees_get
74
+ # Get Employee
37
75
  # @param id
38
76
  # @param x_account_id The account identifier
39
77
  # @param [Hash] opts the optional parameters
40
78
  # @option opts [String] :page The page number of the results to fetch
41
79
  # @option opts [String] :page_size The number of results per page
42
80
  # @option opts [Boolean] :raw Indicates that the raw request result is returned
43
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
44
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
45
- # @return [Employee]
46
- describe 'employees_get test' do
81
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned)
82
+ # @option opts [String] :sync_token The sync token to select the only updated results
83
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
84
+ # @option opts [String] :expand The comma separated list of fields that will be expanded in the response
85
+ # @return [EmployeeResult]
86
+ describe 'hris_employees_get test' do
47
87
  it 'should work' do
48
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
88
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
49
89
  end
50
90
  end
51
91
 
52
- # unit tests for employees_list
53
- #
92
+ # unit tests for hris_employees_list
93
+ # List Employees
54
94
  # @param x_account_id The account identifier
55
95
  # @param [Hash] opts the optional parameters
56
96
  # @option opts [String] :page The page number of the results to fetch
57
97
  # @option opts [String] :page_size The number of results per page
58
98
  # @option opts [Boolean] :raw Indicates that the raw request result is returned
59
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
60
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
61
- # @return [Array<Employee>]
62
- describe 'employees_list test' do
99
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned)
100
+ # @option opts [String] :sync_token The sync token to select the only updated results
101
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
102
+ # @option opts [String] :expand The comma separated list of fields that will be expanded in the response
103
+ # @return [EmployeesPaginated]
104
+ describe 'hris_employees_list test' do
63
105
  it 'should work' do
64
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
106
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
65
107
  end
66
108
  end
67
109
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.4.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -32,38 +32,38 @@ describe 'EmploymentsApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for employments_get
36
- #
35
+ # unit tests for hris_employments_get
36
+ # Get Employment
37
37
  # @param id
38
38
  # @param x_account_id The account identifier
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @option opts [String] :page The page number of the results to fetch
41
41
  # @option opts [String] :page_size The number of results per page
42
42
  # @option opts [Boolean] :raw Indicates that the raw request result is returned
43
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
44
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
43
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned)
45
44
  # @option opts [String] :sync_token The sync token to select the only updated results
45
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
46
46
  # @return [EmploymentResult]
47
- describe 'employments_get test' do
47
+ describe 'hris_employments_get test' do
48
48
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
50
50
  end
51
51
  end
52
52
 
53
- # unit tests for employments_list
54
- #
53
+ # unit tests for hris_employments_list
54
+ # List Employments
55
55
  # @param x_account_id The account identifier
56
56
  # @param [Hash] opts the optional parameters
57
57
  # @option opts [String] :page The page number of the results to fetch
58
58
  # @option opts [String] :page_size The number of results per page
59
59
  # @option opts [Boolean] :raw Indicates that the raw request result is returned
60
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
61
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
60
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned)
62
61
  # @option opts [String] :sync_token The sync token to select the only updated results
62
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
63
63
  # @return [EmploymentsPaginated]
64
- describe 'employments_list test' do
64
+ describe 'hris_employments_list test' do
65
65
  it 'should work' do
66
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
66
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
67
  end
68
68
  end
69
69
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.4.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -33,37 +33,37 @@ describe 'LocationsApi' do
33
33
  end
34
34
 
35
35
  # unit tests for hris_locations_get
36
- #
36
+ # Get location
37
37
  # @param id
38
38
  # @param x_account_id The account identifier
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @option opts [String] :page The page number of the results to fetch
41
41
  # @option opts [String] :page_size The number of results per page
42
42
  # @option opts [Boolean] :raw Indicates that the raw request result is returned
43
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
44
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
43
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned)
45
44
  # @option opts [String] :sync_token The sync token to select the only updated results
45
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
46
46
  # @return [LocationResult]
47
47
  describe 'hris_locations_get test' do
48
48
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
50
50
  end
51
51
  end
52
52
 
53
53
  # unit tests for hris_locations_list
54
- #
54
+ # List locations
55
55
  # @param x_account_id The account identifier
56
56
  # @param [Hash] opts the optional parameters
57
57
  # @option opts [String] :page The page number of the results to fetch
58
58
  # @option opts [String] :page_size The number of results per page
59
59
  # @option opts [Boolean] :raw Indicates that the raw request result is returned
60
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
61
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
60
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned)
62
61
  # @option opts [String] :sync_token The sync token to select the only updated results
62
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
63
63
  # @return [LocationsPaginated]
64
64
  describe 'hris_locations_list test' do
65
65
  it 'should work' do
66
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
66
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
67
  end
68
68
  end
69
69
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -0,0 +1,50 @@
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.6.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for StackOneHRIS::AccountMeta
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe StackOneHRIS::AccountMeta do
21
+ let(:instance) { StackOneHRIS::AccountMeta.new }
22
+
23
+ describe 'test an instance of AccountMeta' do
24
+ it 'should create an instance of AccountMeta' do
25
+ expect(instance).to be_instance_of(StackOneHRIS::AccountMeta)
26
+ end
27
+ end
28
+ describe 'test attribute "provider"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "category"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
37
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ats", "hris", "crm", "marketing", "common"])
38
+ # validator.allowable_values.each do |value|
39
+ # expect { instance.category = value }.not_to raise_error
40
+ # end
41
+ end
42
+ end
43
+
44
+ describe 'test attribute "models"' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
47
+ end
48
+ end
49
+
50
+ end
@@ -1,12 +1,12 @@
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
- OpenAPI Generator version: 6.4.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -27,49 +27,55 @@ describe StackOneHRIS::Account do
27
27
  end
28
28
  describe 'test attribute "id"' do
29
29
  it 'should work' do
30
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
30
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
31
  end
32
32
  end
33
33
 
34
34
  describe 'test attribute "provider"' do
35
35
  it 'should work' do
36
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
36
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "active"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
37
43
  end
38
44
  end
39
45
 
40
46
  describe 'test attribute "origin_owner_id"' do
41
47
  it 'should work' do
42
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
48
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
49
  end
44
50
  end
45
51
 
46
52
  describe 'test attribute "origin_owner_name"' do
47
53
  it 'should work' do
48
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
49
55
  end
50
56
  end
51
57
 
52
58
  describe 'test attribute "origin_username"' do
53
59
  it 'should work' do
54
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
60
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
61
  end
56
62
  end
57
63
 
58
64
  describe 'test attribute "credentials"' do
59
65
  it 'should work' do
60
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
66
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
61
67
  end
62
68
  end
63
69
 
64
70
  describe 'test attribute "created_at"' do
65
71
  it 'should work' do
66
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
72
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
73
  end
68
74
  end
69
75
 
70
76
  describe 'test attribute "updated_at"' do
71
77
  it 'should work' do
72
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
78
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
79
  end
74
80
  end
75
81
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.4.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -27,19 +27,19 @@ describe StackOneHRIS::CompaniesPaginated do
27
27
  end
28
28
  describe 'test attribute "next_page"' do
29
29
  it 'should work' do
30
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
30
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
31
  end
32
32
  end
33
33
 
34
34
  describe 'test attribute "data"' do
35
35
  it 'should work' do
36
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
36
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
37
37
  end
38
38
  end
39
39
 
40
40
  describe 'test attribute "raw"' do
41
41
  it 'should work' do
42
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
43
  end
44
44
  end
45
45