stackone_hris_client 1.6.0 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +31 -5
  4. data/docs/Account.md +1 -1
  5. data/docs/AccountMeta.md +22 -0
  6. data/docs/AccountsApi.md +70 -2
  7. data/docs/CompaniesApi.md +1 -1
  8. data/docs/ConnectSessionsApi.md +1 -1
  9. data/docs/CreateEmployeeResult.md +22 -0
  10. data/docs/Employee.md +56 -54
  11. data/docs/EmployeeApiModel.md +80 -0
  12. data/docs/EmployeeApiModelAvatar.md +20 -0
  13. data/docs/EmployeeApiModelEmploymentStatus.md +20 -0
  14. data/docs/EmployeeApiModelEmploymentType.md +20 -0
  15. data/docs/EmployeeApiModelEthnicity.md +20 -0
  16. data/docs/EmployeeApiModelGender.md +20 -0
  17. data/docs/EmployeeApiModelHomeLocation.md +38 -0
  18. data/docs/EmployeeApiModelMaritalStatus.md +20 -0
  19. data/docs/EmployeeApiModelWorkLocation.md +38 -0
  20. data/docs/EmployeeCustomFieldTypeEnum.md +20 -0
  21. data/docs/EmployeeCustomFields.md +30 -0
  22. data/docs/EmployeeCustomFieldsType.md +20 -0
  23. data/docs/EmployeeResult.md +1 -1
  24. data/docs/EmployeesApi.md +219 -5
  25. data/docs/EmployeesPaginated.md +1 -1
  26. data/docs/Employment.md +17 -15
  27. data/docs/EmploymentEmploymentContractType.md +20 -0
  28. data/docs/EmploymentEmploymentType.md +20 -0
  29. data/docs/EmploymentPayFrequency.md +20 -0
  30. data/docs/EmploymentPayPeriod.md +20 -0
  31. data/docs/EmploymentScheduleTypeEnum.md +20 -0
  32. data/docs/EmploymentsApi.md +3 -3
  33. data/docs/HrisCreateEmployeeRequestDto.md +80 -0
  34. data/docs/Location.md +20 -20
  35. data/docs/LocationCountry.md +20 -0
  36. data/docs/LocationLocationType.md +20 -0
  37. data/docs/LocationsApi.md +1 -1
  38. data/gem-config.yml +2 -2
  39. data/generate_gem.sh +0 -0
  40. data/lib/stackone_hris_client/api/accounts_api.rb +61 -0
  41. data/lib/stackone_hris_client/api/employees_api.rb +231 -0
  42. data/lib/stackone_hris_client/models/account.rb +0 -5
  43. data/lib/stackone_hris_client/models/account_meta.rb +284 -0
  44. data/lib/stackone_hris_client/models/country_code_enum.rb +0 -6
  45. data/lib/stackone_hris_client/models/create_employee_result.rb +250 -0
  46. data/lib/stackone_hris_client/models/employee.rb +110 -126
  47. data/lib/stackone_hris_client/models/employee_api_model.rb +523 -0
  48. data/lib/stackone_hris_client/models/employee_api_model_avatar.rb +234 -0
  49. data/lib/stackone_hris_client/models/employee_api_model_employment_status.rb +272 -0
  50. data/lib/stackone_hris_client/models/employee_api_model_employment_type.rb +272 -0
  51. data/lib/stackone_hris_client/models/employee_api_model_ethnicity.rb +272 -0
  52. data/lib/stackone_hris_client/models/employee_api_model_gender.rb +272 -0
  53. data/lib/stackone_hris_client/models/employee_api_model_home_location.rb +324 -0
  54. data/lib/stackone_hris_client/models/employee_api_model_marital_status.rb +272 -0
  55. data/lib/stackone_hris_client/models/employee_api_model_work_location.rb +324 -0
  56. data/lib/stackone_hris_client/models/employee_custom_field_type_enum.rb +264 -0
  57. data/lib/stackone_hris_client/models/employee_custom_fields.rb +279 -0
  58. data/lib/stackone_hris_client/models/employee_custom_fields_type.rb +272 -0
  59. data/lib/stackone_hris_client/models/employment.rb +21 -6
  60. data/lib/stackone_hris_client/models/employment_employment_contract_type.rb +272 -0
  61. data/lib/stackone_hris_client/models/employment_employment_type.rb +272 -0
  62. data/lib/stackone_hris_client/models/employment_pay_frequency.rb +272 -0
  63. data/lib/stackone_hris_client/models/employment_pay_period.rb +272 -0
  64. data/lib/stackone_hris_client/models/employment_schedule_type_enum.rb +264 -0
  65. data/lib/stackone_hris_client/models/employment_status_enum.rb +0 -6
  66. data/lib/stackone_hris_client/models/employment_type_enum.rb +0 -6
  67. data/lib/stackone_hris_client/models/ethnicity_enum.rb +0 -6
  68. data/lib/stackone_hris_client/models/gender_enum.rb +0 -6
  69. data/lib/stackone_hris_client/models/hris_create_employee_request_dto.rb +523 -0
  70. data/lib/stackone_hris_client/models/location.rb +11 -7
  71. data/lib/stackone_hris_client/models/location_country.rb +272 -0
  72. data/lib/stackone_hris_client/models/location_location_type.rb +272 -0
  73. data/lib/stackone_hris_client/models/location_type_enum.rb +0 -6
  74. data/lib/stackone_hris_client/models/marital_status_enum.rb +0 -6
  75. data/lib/stackone_hris_client/models/pay_frequency_enum.rb +0 -6
  76. data/lib/stackone_hris_client/models/pay_period_enum.rb +0 -6
  77. data/lib/stackone_hris_client/version.rb +1 -1
  78. data/lib/stackone_hris_client.rb +22 -0
  79. data/spec/api/accounts_api_spec.rb +30 -8
  80. data/spec/api/companies_api_spec.rb +13 -13
  81. data/spec/api/connect_sessions_api_spec.rb +8 -8
  82. data/spec/api/employees_api_spec.rb +60 -18
  83. data/spec/api/employments_api_spec.rb +13 -13
  84. data/spec/api/locations_api_spec.rb +9 -9
  85. data/spec/models/account_meta_spec.rb +50 -0
  86. data/spec/models/account_spec.rb +18 -12
  87. data/spec/models/companies_paginated_spec.rb +4 -4
  88. data/spec/models/company_result_spec.rb +3 -3
  89. data/spec/models/company_spec.rb +4 -4
  90. data/spec/models/connect_session_authenticate_spec.rb +5 -5
  91. data/spec/models/connect_session_create_spec.rb +17 -11
  92. data/spec/models/connect_session_spec.rb +14 -14
  93. data/spec/models/connect_session_token_spec.rb +15 -15
  94. data/spec/models/country_code_enum_spec.rb +4 -4
  95. data/spec/models/create_employee_result_spec.rb +46 -0
  96. data/spec/models/employee.rb +220 -0
  97. data/spec/models/employee_api_model_avatar_spec.rb +40 -0
  98. data/spec/models/employee_api_model_employment_status_spec.rb +44 -0
  99. data/spec/models/employee_api_model_employment_type_spec.rb +44 -0
  100. data/spec/models/employee_api_model_ethnicity_spec.rb +44 -0
  101. data/spec/models/employee_api_model_gender_spec.rb +44 -0
  102. data/spec/models/employee_api_model_home_location_spec.rb +94 -0
  103. data/spec/models/employee_api_model_marital_status_spec.rb +44 -0
  104. data/spec/models/employee_api_model_spec.rb +220 -0
  105. data/spec/models/employee_api_model_work_location_spec.rb +94 -0
  106. data/spec/models/employee_custom_field_type_enum_spec.rb +44 -0
  107. data/spec/models/employee_custom_fields_spec.rb +70 -0
  108. data/spec/models/employee_custom_fields_type_spec.rb +44 -0
  109. data/spec/models/employee_result_spec.rb +6 -6
  110. data/spec/models/employees_paginated_spec.rb +7 -7
  111. data/spec/models/employment_employment_contract_type_spec.rb +44 -0
  112. data/spec/models/employment_employment_type_spec.rb +44 -0
  113. data/spec/models/employment_pay_frequency_spec.rb +44 -0
  114. data/spec/models/employment_pay_period_spec.rb +44 -0
  115. data/spec/models/employment_result_spec.rb +3 -3
  116. data/spec/models/employment_schedule_type_enum_spec.rb +44 -0
  117. data/spec/models/employment_spec.rb +16 -10
  118. data/spec/models/employment_status_enum_spec.rb +4 -4
  119. data/spec/models/employment_type_enum_spec.rb +4 -4
  120. data/spec/models/employments_paginated_spec.rb +4 -4
  121. data/spec/models/ethnicity_enum_spec.rb +4 -4
  122. data/spec/models/gender_enum_spec.rb +4 -4
  123. data/spec/models/hris_create_employee_request_dto_spec.rb +220 -0
  124. data/spec/models/image_spec.rb +3 -3
  125. data/spec/models/location_country_spec.rb +44 -0
  126. data/spec/models/location_location_type_spec.rb +44 -0
  127. data/spec/models/location_result_spec.rb +3 -3
  128. data/spec/models/location_spec.rb +12 -12
  129. data/spec/models/location_type_enum_spec.rb +3 -3
  130. data/spec/models/locations_paginated_spec.rb +4 -4
  131. data/spec/models/marital_status_enum_spec.rb +4 -4
  132. data/spec/models/pay_frequency_enum_spec.rb +4 -4
  133. data/spec/models/pay_period_enum_spec.rb +3 -3
  134. metadata +92 -4
  135. data/spec/models/employee_spec.rb +0 -124
@@ -0,0 +1,70 @@
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::EmployeeCustomFields
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe StackOneHRIS::EmployeeCustomFields do
21
+ let(:instance) { StackOneHRIS::EmployeeCustomFields.new }
22
+
23
+ describe 'test an instance of EmployeeCustomFields' do
24
+ it 'should create an instance of EmployeeCustomFields' do
25
+ expect(instance).to be_instance_of(StackOneHRIS::EmployeeCustomFields)
26
+ end
27
+ end
28
+ describe 'test attribute "id"' 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 "name"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "description"' 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
+
46
+ describe 'test attribute "type"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "value"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "value_id"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "options"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
+ end
68
+ end
69
+
70
+ end
@@ -0,0 +1,44 @@
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::EmployeeCustomFieldsType
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe StackOneHRIS::EmployeeCustomFieldsType do
21
+ let(:instance) { StackOneHRIS::EmployeeCustomFieldsType.new }
22
+
23
+ describe 'test an instance of EmployeeCustomFieldsType' do
24
+ it 'should create an instance of EmployeeCustomFieldsType' do
25
+ expect(instance).to be_instance_of(StackOneHRIS::EmployeeCustomFieldsType)
26
+ end
27
+ end
28
+ describe 'test attribute "value"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["date", "float", "integer", "list", "text", "unmapped_value"])
32
+ # validator.allowable_values.each do |value|
33
+ # expect { instance.value = value }.not_to raise_error
34
+ # end
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "source_value"' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
41
+ end
42
+ end
43
+
44
+ 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,13 +27,13 @@ describe StackOneHRIS::EmployeeResult do
27
27
  end
28
28
  describe 'test attribute "data"' 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 "raw"' 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
 
@@ -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,19 +27,19 @@ describe StackOneHRIS::EmployeesPaginated 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
 
@@ -0,0 +1,44 @@
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::EmploymentEmploymentContractType
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe StackOneHRIS::EmploymentEmploymentContractType do
21
+ let(:instance) { StackOneHRIS::EmploymentEmploymentContractType.new }
22
+
23
+ describe 'test an instance of EmploymentEmploymentContractType' do
24
+ it 'should create an instance of EmploymentEmploymentContractType' do
25
+ expect(instance).to be_instance_of(StackOneHRIS::EmploymentEmploymentContractType)
26
+ end
27
+ end
28
+ describe 'test attribute "value"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["full_time", "shifts", "part_time", "unmapped_value"])
32
+ # validator.allowable_values.each do |value|
33
+ # expect { instance.value = value }.not_to raise_error
34
+ # end
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "source_value"' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
41
+ end
42
+ end
43
+
44
+ end
@@ -0,0 +1,44 @@
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::EmploymentEmploymentType
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe StackOneHRIS::EmploymentEmploymentType do
21
+ let(:instance) { StackOneHRIS::EmploymentEmploymentType.new }
22
+
23
+ describe 'test an instance of EmploymentEmploymentType' do
24
+ it 'should create an instance of EmploymentEmploymentType' do
25
+ expect(instance).to be_instance_of(StackOneHRIS::EmploymentEmploymentType)
26
+ end
27
+ end
28
+ describe 'test attribute "value"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "intern", "permanent", "apprentice", "freelance", "terminated", "temporary", "seasonal", "volunteer", "probation", "internal", "external", "employer_of_record", "unmapped_value"])
32
+ # validator.allowable_values.each do |value|
33
+ # expect { instance.value = value }.not_to raise_error
34
+ # end
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "source_value"' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
41
+ end
42
+ end
43
+
44
+ end
@@ -0,0 +1,44 @@
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::EmploymentPayFrequency
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe StackOneHRIS::EmploymentPayFrequency do
21
+ let(:instance) { StackOneHRIS::EmploymentPayFrequency.new }
22
+
23
+ describe 'test an instance of EmploymentPayFrequency' do
24
+ it 'should create an instance of EmploymentPayFrequency' do
25
+ expect(instance).to be_instance_of(StackOneHRIS::EmploymentPayFrequency)
26
+ end
27
+ end
28
+ describe 'test attribute "value"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["hourly", "weekly", "bi_weekly", "four_weekly", "semi_monthly", "monthly", "bi_monthly", "quarterly", "semi_annually", "yearly", "thirteen_monthly", "pro_rata", "unmapped_value", "half_yearly"])
32
+ # validator.allowable_values.each do |value|
33
+ # expect { instance.value = value }.not_to raise_error
34
+ # end
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "source_value"' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
41
+ end
42
+ end
43
+
44
+ end
@@ -0,0 +1,44 @@
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::EmploymentPayPeriod
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe StackOneHRIS::EmploymentPayPeriod do
21
+ let(:instance) { StackOneHRIS::EmploymentPayPeriod.new }
22
+
23
+ describe 'test an instance of EmploymentPayPeriod' do
24
+ it 'should create an instance of EmploymentPayPeriod' do
25
+ expect(instance).to be_instance_of(StackOneHRIS::EmploymentPayPeriod)
26
+ end
27
+ end
28
+ describe 'test attribute "value"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["hour", "day", "week", "every_two_weeks", "month", "quarter", "every_six_months", "year", "unmapped_value"])
32
+ # validator.allowable_values.each do |value|
33
+ # expect { instance.value = value }.not_to raise_error
34
+ # end
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "source_value"' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
41
+ end
42
+ end
43
+
44
+ end
@@ -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,13 +27,13 @@ describe StackOneHRIS::EmploymentResult do
27
27
  end
28
28
  describe 'test attribute "data"' 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 "raw"' 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
 
@@ -0,0 +1,44 @@
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::EmploymentScheduleTypeEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe StackOneHRIS::EmploymentScheduleTypeEnum do
21
+ let(:instance) { StackOneHRIS::EmploymentScheduleTypeEnum.new }
22
+
23
+ describe 'test an instance of EmploymentScheduleTypeEnum' do
24
+ it 'should create an instance of EmploymentScheduleTypeEnum' do
25
+ expect(instance).to be_instance_of(StackOneHRIS::EmploymentScheduleTypeEnum)
26
+ end
27
+ end
28
+ describe 'test attribute "value"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["full_time", "shifts", "part_time", "unmapped_value"])
32
+ # validator.allowable_values.each do |value|
33
+ # expect { instance.value = value }.not_to raise_error
34
+ # end
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "source_value"' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
41
+ end
42
+ end
43
+
44
+ end
@@ -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,55 +27,61 @@ describe StackOneHRIS::Employment 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 "employee_id"' 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 "job_title"' 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
  describe 'test attribute "pay_rate"' do
47
47
  it 'should work' do
48
- # 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/
49
49
  end
50
50
  end
51
51
 
52
52
  describe 'test attribute "pay_period"' do
53
53
  it 'should work' do
54
- # 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/
55
55
  end
56
56
  end
57
57
 
58
58
  describe 'test attribute "pay_frequency"' do
59
59
  it 'should work' do
60
- # 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/
61
61
  end
62
62
  end
63
63
 
64
64
  describe 'test attribute "pay_currency"' 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
 
70
70
  describe 'test attribute "effective_date"' do
71
71
  it 'should work' do
72
- # 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/
73
73
  end
74
74
  end
75
75
 
76
76
  describe 'test attribute "employment_type"' do
77
77
  it 'should work' do
78
- # 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/
79
+ end
80
+ end
81
+
82
+ describe 'test attribute "employment_contract_type"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
79
85
  end
80
86
  end
81
87
 
@@ -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
 
@@ -27,8 +27,8 @@ describe StackOneHRIS::EmploymentStatusEnum do
27
27
  end
28
28
  describe 'test attribute "value"' do
29
29
  it 'should work' do
30
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["active", "pending", "terminated", "unmapped_value"])
30
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["active", "pending", "terminated", "leave", "unmapped_value"])
32
32
  # validator.allowable_values.each do |value|
33
33
  # expect { instance.value = value }.not_to raise_error
34
34
  # end
@@ -37,7 +37,7 @@ describe StackOneHRIS::EmploymentStatusEnum do
37
37
 
38
38
  describe 'test attribute "source_value"' do
39
39
  it 'should work' do
40
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
40
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
41
41
  end
42
42
  end
43
43
 
@@ -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
 
@@ -27,8 +27,8 @@ describe StackOneHRIS::EmploymentTypeEnum do
27
27
  end
28
28
  describe 'test attribute "value"' do
29
29
  it 'should work' do
30
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "intern", "freelance", "terminated", "unmapped_value", "temporary", "seasonal", "volunteer"])
30
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "intern", "permanent", "apprentice", "freelance", "terminated", "temporary", "seasonal", "volunteer", "probation", "internal", "external", "employer_of_record", "unmapped_value"])
32
32
  # validator.allowable_values.each do |value|
33
33
  # expect { instance.value = value }.not_to raise_error
34
34
  # end
@@ -37,7 +37,7 @@ describe StackOneHRIS::EmploymentTypeEnum do
37
37
 
38
38
  describe 'test attribute "source_value"' do
39
39
  it 'should work' do
40
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
40
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
41
41
  end
42
42
  end
43
43
 
@@ -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::EmploymentsPaginated 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
 
@@ -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
 
@@ -27,8 +27,8 @@ describe StackOneHRIS::EthnicityEnum do
27
27
  end
28
28
  describe 'test attribute "value"' do
29
29
  it 'should work' do
30
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["white", "black_or_african_american", "asian", "hispanic_or_latino", "american_indian_or_alaska_native", "native_hawaiian_or_pacific_islander", "two_or_more_races", "not_disclosed", "unmapped_value"])
30
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["white", "black_or_african_american", "asian", "hispanic_or_latino", "american_indian_or_alaska_native", "native_hawaiian_or_pacific_islander", "two_or_more_races", "not_disclosed", "other", "unmapped_value"])
32
32
  # validator.allowable_values.each do |value|
33
33
  # expect { instance.value = value }.not_to raise_error
34
34
  # end
@@ -37,7 +37,7 @@ describe StackOneHRIS::EthnicityEnum do
37
37
 
38
38
  describe 'test attribute "source_value"' do
39
39
  it 'should work' do
40
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
40
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
41
41
  end
42
42
  end
43
43