stackone_hris_client 1.5.2 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +22 -29
  4. data/docs/Account.md +2 -0
  5. data/docs/AccountsApi.md +12 -12
  6. data/docs/CompaniesApi.md +24 -24
  7. data/docs/ConnectSession.md +1 -1
  8. data/docs/ConnectSessionCreate.md +1 -1
  9. data/docs/ConnectSessionToken.md +1 -1
  10. data/docs/ConnectSessionsApi.md +8 -8
  11. data/docs/Employee.md +2 -0
  12. data/docs/EmployeesApi.md +26 -26
  13. data/docs/EmploymentsApi.md +24 -24
  14. data/docs/LocationsApi.md +8 -8
  15. data/gem-config.yml +2 -2
  16. data/lib/stackone_hris_client/api/accounts_api.rb +7 -7
  17. data/lib/stackone_hris_client/api/companies_api.rb +20 -20
  18. data/lib/stackone_hris_client/api/connect_sessions_api.rb +5 -5
  19. data/lib/stackone_hris_client/api/employees_api.rb +20 -20
  20. data/lib/stackone_hris_client/api/employments_api.rb +20 -20
  21. data/lib/stackone_hris_client/api/locations_api.rb +5 -5
  22. data/lib/stackone_hris_client/api_client.rb +1 -1
  23. data/lib/stackone_hris_client/api_error.rb +1 -1
  24. data/lib/stackone_hris_client/configuration.rb +2 -2
  25. data/lib/stackone_hris_client/models/account.rb +16 -2
  26. data/lib/stackone_hris_client/models/companies_paginated.rb +1 -1
  27. data/lib/stackone_hris_client/models/company.rb +1 -1
  28. data/lib/stackone_hris_client/models/company_result.rb +1 -1
  29. data/lib/stackone_hris_client/models/connect_session.rb +1 -1
  30. data/lib/stackone_hris_client/models/connect_session_authenticate.rb +1 -1
  31. data/lib/stackone_hris_client/models/connect_session_create.rb +1 -1
  32. data/lib/stackone_hris_client/models/connect_session_token.rb +1 -1
  33. data/lib/stackone_hris_client/models/country_code_enum.rb +1 -1
  34. data/lib/stackone_hris_client/models/employee.rb +11 -2
  35. data/lib/stackone_hris_client/models/employee_result.rb +1 -1
  36. data/lib/stackone_hris_client/models/employees_paginated.rb +1 -1
  37. data/lib/stackone_hris_client/models/employment.rb +1 -1
  38. data/lib/stackone_hris_client/models/employment_result.rb +1 -1
  39. data/lib/stackone_hris_client/models/employment_status_enum.rb +3 -3
  40. data/lib/stackone_hris_client/models/employment_type_enum.rb +3 -3
  41. data/lib/stackone_hris_client/models/employments_paginated.rb +1 -1
  42. data/lib/stackone_hris_client/models/ethnicity_enum.rb +3 -3
  43. data/lib/stackone_hris_client/models/gender_enum.rb +3 -3
  44. data/lib/stackone_hris_client/models/image.rb +1 -1
  45. data/lib/stackone_hris_client/models/location.rb +1 -1
  46. data/lib/stackone_hris_client/models/location_result.rb +1 -1
  47. data/lib/stackone_hris_client/models/location_type_enum.rb +1 -1
  48. data/lib/stackone_hris_client/models/locations_paginated.rb +1 -1
  49. data/lib/stackone_hris_client/models/marital_status_enum.rb +3 -3
  50. data/lib/stackone_hris_client/models/pay_frequency_enum.rb +3 -3
  51. data/lib/stackone_hris_client/models/pay_period_enum.rb +1 -1
  52. data/lib/stackone_hris_client/version.rb +2 -2
  53. data/lib/stackone_hris_client.rb +1 -1
  54. data/spec/api_client_spec.rb +1 -1
  55. data/spec/configuration_spec.rb +1 -1
  56. data/spec/spec_helper.rb +1 -1
  57. data/stackone_hris_client.gemspec +1 -1
  58. metadata +2 -2
@@ -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
 
@@ -111,7 +111,7 @@ module StackOneHRIS
111
111
  # @return true if the model is valid
112
112
  def valid?
113
113
  return false if @value.nil?
114
- value_validator = EnumAttributeValidator.new('String', ["single", "married", "divorced", "widowed", "domestic_partnership", "separated", "other", "unmapped_value"])
114
+ value_validator = EnumAttributeValidator.new('String', ["single", "married", "common_law", "divorced", "widowed", "domestic_partnership", "separated", "other", "not_disclosed", "unmapped_value"])
115
115
  return false unless value_validator.valid?(@value)
116
116
  return false if @source_value.nil?
117
117
  true
@@ -120,7 +120,7 @@ module StackOneHRIS
120
120
  # Custom attribute writer method checking allowed values (enum).
121
121
  # @param [Object] value Object to be assigned
122
122
  def value=(value)
123
- validator = EnumAttributeValidator.new('String', ["single", "married", "divorced", "widowed", "domestic_partnership", "separated", "other", "unmapped_value"])
123
+ validator = EnumAttributeValidator.new('String', ["single", "married", "common_law", "divorced", "widowed", "domestic_partnership", "separated", "other", "not_disclosed", "unmapped_value"])
124
124
  unless validator.valid?(value)
125
125
  fail ArgumentError, "invalid value for \"value\", must be one of #{validator.allowable_values}."
126
126
  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.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -111,7 +111,7 @@ module StackOneHRIS
111
111
  # @return true if the model is valid
112
112
  def valid?
113
113
  return false if @value.nil?
114
- value_validator = EnumAttributeValidator.new('String', ["hourly", "weekly", "bi_weekly", "four_weekly", "semi_monthly", "monthly", "quarterly", "semi_annually", "yearly", "thirteen_monthly", "pro_rata", "unmapped_value"])
114
+ value_validator = EnumAttributeValidator.new('String', ["hourly", "weekly", "bi_weekly", "four_weekly", "semi_monthly", "monthly", "bi_monthly", "quarterly", "semi_annually", "yearly", "thirteen_monthly", "pro_rata", "unmapped_value"])
115
115
  return false unless value_validator.valid?(@value)
116
116
  return false if @source_value.nil?
117
117
  true
@@ -120,7 +120,7 @@ module StackOneHRIS
120
120
  # Custom attribute writer method checking allowed values (enum).
121
121
  # @param [Object] value Object to be assigned
122
122
  def value=(value)
123
- validator = EnumAttributeValidator.new('String', ["hourly", "weekly", "bi_weekly", "four_weekly", "semi_monthly", "monthly", "quarterly", "semi_annually", "yearly", "thirteen_monthly", "pro_rata", "unmapped_value"])
123
+ validator = EnumAttributeValidator.new('String', ["hourly", "weekly", "bi_weekly", "four_weekly", "semi_monthly", "monthly", "bi_monthly", "quarterly", "semi_annually", "yearly", "thirteen_monthly", "pro_rata", "unmapped_value"])
124
124
  unless validator.valid?(value)
125
125
  fail ArgumentError, "invalid value for \"value\", must be one of #{validator.allowable_values}."
126
126
  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.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,10 +6,10 @@
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
 
13
13
  module StackOneHRIS
14
- VERSION = '1.5.2'
14
+ VERSION = '1.6.0'
15
15
  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.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
 
@@ -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
 
data/spec/spec_helper.rb CHANGED
@@ -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
 
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: 1.0.0
9
9
 
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 6.5.0
11
+ OpenAPI Generator version: 6.6.0
12
12
 
13
13
  =end
14
14
 
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.5.2
4
+ version: 1.6.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-05-18 00:00:00.000000000 Z
11
+ date: 2023-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus