stackone_hris_client 1.3.2 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +14 -5
- data/docs/AccountsApi.md +4 -7
- data/docs/CompaniesApi.md +3 -5
- data/docs/ConnectSessionsApi.md +3 -5
- data/docs/CountryCodeEnum.md +20 -0
- data/docs/Employee.md +5 -9
- data/docs/EmployeesApi.md +5 -7
- data/docs/Employment.md +3 -3
- data/docs/EmploymentStatusEnum.md +20 -0
- data/docs/EmploymentTypeEnum.md +20 -0
- data/docs/EmploymentsApi.md +3 -5
- data/docs/EthnicityEnum.md +20 -0
- data/docs/GenderEnum.md +20 -0
- data/docs/Location.md +2 -2
- data/docs/LocationTypeEnum.md +20 -0
- data/docs/LocationsApi.md +3 -5
- data/docs/MaritalStatusEnum.md +20 -0
- data/docs/PayFrequencyEnum.md +20 -0
- data/docs/PayPeriodEnum.md +20 -0
- data/gem-config.yml +1 -1
- data/lib/stackone_hris_client/models/country_code_enum.rb +270 -0
- data/lib/stackone_hris_client/models/employee.rb +6 -106
- data/lib/stackone_hris_client/models/employment.rb +3 -61
- data/lib/stackone_hris_client/models/employment_status_enum.rb +270 -0
- data/lib/stackone_hris_client/models/employment_type_enum.rb +270 -0
- data/lib/stackone_hris_client/models/ethnicity_enum.rb +270 -0
- data/lib/stackone_hris_client/models/gender_enum.rb +270 -0
- data/lib/stackone_hris_client/models/location.rb +2 -36
- data/lib/stackone_hris_client/models/location_type_enum.rb +270 -0
- data/lib/stackone_hris_client/models/marital_status_enum.rb +270 -0
- data/lib/stackone_hris_client/models/pay_frequency_enum.rb +270 -0
- data/lib/stackone_hris_client/models/pay_period_enum.rb +270 -0
- data/lib/stackone_hris_client/version.rb +1 -1
- data/lib/stackone_hris_client.rb +9 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/country_code_enum_spec.rb +44 -0
- data/spec/models/employment_status_enum_spec.rb +44 -0
- data/spec/models/employment_type_enum_spec.rb +44 -0
- data/spec/models/ethnicity_enum_spec.rb +44 -0
- data/spec/models/gender_enum_spec.rb +44 -0
- data/spec/models/location_type_enum_spec.rb +44 -0
- data/spec/models/marital_status_enum_spec.rb +44 -0
- data/spec/models/pay_frequency_enum_spec.rb +44 -0
- data/spec/models/pay_period_enum_spec.rb +44 -0
- metadata +38 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da4a386cd807b9e7ed4262e75b4418c00ec6bc1e862547a5b9ffb92da3f83b51
|
4
|
+
data.tar.gz: fc10dca7b51b565d7a93e7527b539cf346c622d75fe2ffaa24797083afc28cda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a67ac297917f7204c48d717758c32aad94b140bd7894415d01ffc63638220b99d7e1ccfa98f411bcf601089c3efd6773fadec9ed688a388fb40ff61c4ee5ee22
|
7
|
+
data.tar.gz: 017b4a5ecf74b0f216809cc0941063c86161b4b45a2c5c9ddff1f2e6e097ee6a6bce9a33111225abf8c16310d4e9d6daa129df629e5743d2541fdfae8aa75b5b
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -7,7 +7,7 @@ The documentation for the StackOne Unified API - HRIS
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 1.0.0
|
10
|
-
- Package version: 1.
|
10
|
+
- Package version: 1.5.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,16 +23,16 @@ gem build stackone_hris_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./stackone_hris_client-1.
|
26
|
+
gem install ./stackone_hris_client-1.5.0.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./stackone_hris_client-1.
|
29
|
+
(for development, run `gem install --dev ./stackone_hris_client-1.5.0.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'stackone_hris_client', '~> 1.
|
35
|
+
gem 'stackone_hris_client', '~> 1.5.0'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -85,7 +85,7 @@ end
|
|
85
85
|
|
86
86
|
## Documentation for API Endpoints
|
87
87
|
|
88
|
-
All URIs are relative to *
|
88
|
+
All URIs are relative to *https://api.stackone.com*
|
89
89
|
|
90
90
|
Class | Method | HTTP request | Description
|
91
91
|
------------ | ------------- | ------------- | -------------
|
@@ -114,15 +114,24 @@ Class | Method | HTTP request | Description
|
|
114
114
|
- [StackOneHRIS::ConnectSessionAuthenticate](docs/ConnectSessionAuthenticate.md)
|
115
115
|
- [StackOneHRIS::ConnectSessionCreate](docs/ConnectSessionCreate.md)
|
116
116
|
- [StackOneHRIS::ConnectSessionToken](docs/ConnectSessionToken.md)
|
117
|
+
- [StackOneHRIS::CountryCodeEnum](docs/CountryCodeEnum.md)
|
117
118
|
- [StackOneHRIS::Employee](docs/Employee.md)
|
118
119
|
- [StackOneHRIS::EmployeeResult](docs/EmployeeResult.md)
|
119
120
|
- [StackOneHRIS::EmployeesPaginated](docs/EmployeesPaginated.md)
|
120
121
|
- [StackOneHRIS::Employment](docs/Employment.md)
|
121
122
|
- [StackOneHRIS::EmploymentResult](docs/EmploymentResult.md)
|
123
|
+
- [StackOneHRIS::EmploymentStatusEnum](docs/EmploymentStatusEnum.md)
|
124
|
+
- [StackOneHRIS::EmploymentTypeEnum](docs/EmploymentTypeEnum.md)
|
122
125
|
- [StackOneHRIS::EmploymentsPaginated](docs/EmploymentsPaginated.md)
|
126
|
+
- [StackOneHRIS::EthnicityEnum](docs/EthnicityEnum.md)
|
127
|
+
- [StackOneHRIS::GenderEnum](docs/GenderEnum.md)
|
123
128
|
- [StackOneHRIS::Location](docs/Location.md)
|
124
129
|
- [StackOneHRIS::LocationResult](docs/LocationResult.md)
|
130
|
+
- [StackOneHRIS::LocationTypeEnum](docs/LocationTypeEnum.md)
|
125
131
|
- [StackOneHRIS::LocationsPaginated](docs/LocationsPaginated.md)
|
132
|
+
- [StackOneHRIS::MaritalStatusEnum](docs/MaritalStatusEnum.md)
|
133
|
+
- [StackOneHRIS::PayFrequencyEnum](docs/PayFrequencyEnum.md)
|
134
|
+
- [StackOneHRIS::PayPeriodEnum](docs/PayPeriodEnum.md)
|
126
135
|
|
127
136
|
|
128
137
|
## Documentation for Authorization
|
data/docs/AccountsApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# StackOneHRIS::AccountsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://api.stackone.com*
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
@@ -23,8 +23,7 @@ require 'stackone_hris_client'
|
|
23
23
|
# setup authorization
|
24
24
|
StackOneHRIS.configure do |config|
|
25
25
|
# Configure HTTP basic authorization: basic
|
26
|
-
config.
|
27
|
-
config.password = 'YOUR PASSWORD'
|
26
|
+
config.api_key_token = 'YOUR API KEY'
|
28
27
|
end
|
29
28
|
|
30
29
|
api_instance = StackOneHRIS::AccountsApi.new
|
@@ -91,8 +90,7 @@ require 'stackone_hris_client'
|
|
91
90
|
# setup authorization
|
92
91
|
StackOneHRIS.configure do |config|
|
93
92
|
# Configure HTTP basic authorization: basic
|
94
|
-
config.
|
95
|
-
config.password = 'YOUR PASSWORD'
|
93
|
+
config.api_key_token = 'YOUR API KEY'
|
96
94
|
end
|
97
95
|
|
98
96
|
api_instance = StackOneHRIS::AccountsApi.new
|
@@ -159,8 +157,7 @@ require 'stackone_hris_client'
|
|
159
157
|
# setup authorization
|
160
158
|
StackOneHRIS.configure do |config|
|
161
159
|
# Configure HTTP basic authorization: basic
|
162
|
-
config.
|
163
|
-
config.password = 'YOUR PASSWORD'
|
160
|
+
config.api_key_token = 'YOUR API KEY'
|
164
161
|
end
|
165
162
|
|
166
163
|
api_instance = StackOneHRIS::AccountsApi.new
|
data/docs/CompaniesApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# StackOneHRIS::CompaniesApi
|
2
2
|
|
3
|
-
All URIs are relative to *https://api.
|
3
|
+
All URIs are relative to *https://api.stackone.com*
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
@@ -22,8 +22,7 @@ require 'stackone_hris_client'
|
|
22
22
|
# setup authorization
|
23
23
|
StackOneHRIS.configure do |config|
|
24
24
|
# Configure HTTP basic authorization: basic
|
25
|
-
config.
|
26
|
-
config.password = 'YOUR PASSWORD'
|
25
|
+
config.api_key_token = 'YOUR API KEY'
|
27
26
|
end
|
28
27
|
|
29
28
|
api_instance = StackOneHRIS::CompaniesApi.new
|
@@ -106,8 +105,7 @@ require 'stackone_hris_client'
|
|
106
105
|
# setup authorization
|
107
106
|
StackOneHRIS.configure do |config|
|
108
107
|
# Configure HTTP basic authorization: basic
|
109
|
-
config.
|
110
|
-
config.password = 'YOUR PASSWORD'
|
108
|
+
config.api_key_token = 'YOUR API KEY'
|
111
109
|
end
|
112
110
|
|
113
111
|
api_instance = StackOneHRIS::CompaniesApi.new
|
data/docs/ConnectSessionsApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# StackOneHRIS::ConnectSessionsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://api.stackone.com*
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
@@ -22,8 +22,7 @@ require 'stackone_hris_client'
|
|
22
22
|
# setup authorization
|
23
23
|
StackOneHRIS.configure do |config|
|
24
24
|
# Configure HTTP basic authorization: basic
|
25
|
-
config.
|
26
|
-
config.password = 'YOUR PASSWORD'
|
25
|
+
config.api_key_token = 'YOUR API KEY'
|
27
26
|
end
|
28
27
|
|
29
28
|
api_instance = StackOneHRIS::ConnectSessionsApi.new
|
@@ -90,8 +89,7 @@ require 'stackone_hris_client'
|
|
90
89
|
# setup authorization
|
91
90
|
StackOneHRIS.configure do |config|
|
92
91
|
# Configure HTTP basic authorization: basic
|
93
|
-
config.
|
94
|
-
config.password = 'YOUR PASSWORD'
|
92
|
+
config.api_key_token = 'YOUR API KEY'
|
95
93
|
end
|
96
94
|
|
97
95
|
api_instance = StackOneHRIS::ConnectSessionsApi.new
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# StackOneHRIS::CountryCodeEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **value** | **String** | | |
|
8
|
+
| **source_value** | **String** | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'stackone_hris_client'
|
14
|
+
|
15
|
+
instance = StackOneHRIS::CountryCodeEnum.new(
|
16
|
+
value: null,
|
17
|
+
source_value: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/Employee.md
CHANGED
@@ -9,11 +9,11 @@
|
|
9
9
|
| **last_name** | **String** | | |
|
10
10
|
| **name** | **String** | | |
|
11
11
|
| **display_name** | **String** | | |
|
12
|
-
| **gender** | **
|
13
|
-
| **ethnicity** | **
|
12
|
+
| **gender** | [**GenderEnum**](GenderEnum.md) | | |
|
13
|
+
| **ethnicity** | [**EthnicityEnum**](EthnicityEnum.md) | | [optional] |
|
14
14
|
| **date_of_birth** | **Time** | | [optional] |
|
15
15
|
| **birthday** | **Time** | | [optional] |
|
16
|
-
| **marital_status** | **
|
16
|
+
| **marital_status** | [**MaritalStatusEnum**](MaritalStatusEnum.md) | | [optional] |
|
17
17
|
| **avatar_url** | **String** | | [optional] |
|
18
18
|
| **personal_email** | **String** | | [optional] |
|
19
19
|
| **personal_phone_number** | **String** | | |
|
@@ -26,12 +26,10 @@
|
|
26
26
|
| **start_date** | **Time** | | [optional] |
|
27
27
|
| **tenure** | **Float** | | [optional] |
|
28
28
|
| **work_anniversary** | **Time** | | [optional] |
|
29
|
-
| **employment_type** | **
|
30
|
-
| **employment_status** | **
|
29
|
+
| **employment_type** | [**EmploymentTypeEnum**](EmploymentTypeEnum.md) | | [optional] |
|
30
|
+
| **employment_status** | [**EmploymentStatusEnum**](EmploymentStatusEnum.md) | | [optional] |
|
31
31
|
| **termination_date** | **Time** | | [optional] |
|
32
32
|
| **company_name** | **String** | | [optional] |
|
33
|
-
| **home_country_location** | **String** | | [optional] |
|
34
|
-
| **work_country_location** | **String** | | [optional] |
|
35
33
|
| **home_location** | [**Location**](Location.md) | | [optional] |
|
36
34
|
| **work_location** | [**Location**](Location.md) | | [optional] |
|
37
35
|
| **company** | **String** | | [optional] |
|
@@ -69,8 +67,6 @@ instance = StackOneHRIS::Employee.new(
|
|
69
67
|
employment_status: null,
|
70
68
|
termination_date: null,
|
71
69
|
company_name: null,
|
72
|
-
home_country_location: null,
|
73
|
-
work_country_location: null,
|
74
70
|
home_location: null,
|
75
71
|
work_location: null,
|
76
72
|
company: null,
|
data/docs/EmployeesApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# StackOneHRIS::EmployeesApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://api.stackone.com*
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
@@ -22,8 +22,7 @@ require 'stackone_hris_client'
|
|
22
22
|
# setup authorization
|
23
23
|
StackOneHRIS.configure do |config|
|
24
24
|
# Configure HTTP basic authorization: basic
|
25
|
-
config.
|
26
|
-
config.password = 'YOUR PASSWORD'
|
25
|
+
config.api_key_token = 'YOUR API KEY'
|
27
26
|
end
|
28
27
|
|
29
28
|
api_instance = StackOneHRIS::EmployeesApi.new
|
@@ -33,7 +32,7 @@ opts = {
|
|
33
32
|
page: 'page_example', # String | The page number of the results to fetch
|
34
33
|
page_size: 'page_size_example', # String | The number of results per page
|
35
34
|
raw: true, # Boolean | Indicates that the raw request result is returned
|
36
|
-
fields: 'id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,personal_email,personal_phone_number,work_email,work_phone_number,job_title,department,manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_status,termination_date,company_name
|
35
|
+
fields: 'id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,personal_email,personal_phone_number,work_email,work_phone_number,job_title,department,manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_status,termination_date,company_name', # String | The comma separated list of fields to return in the response (if empty, all fields are returned)
|
37
36
|
sync_token: 'sync_token_example', # String | The sync token to select the only updated results
|
38
37
|
updated_after: 'updated_after_example', # String | Use a string with a date to only select results updated after that given date
|
39
38
|
expand: 'work_location,home_location,employments' # String | The comma separated list of fields that will be expanded in the response
|
@@ -108,8 +107,7 @@ require 'stackone_hris_client'
|
|
108
107
|
# setup authorization
|
109
108
|
StackOneHRIS.configure do |config|
|
110
109
|
# Configure HTTP basic authorization: basic
|
111
|
-
config.
|
112
|
-
config.password = 'YOUR PASSWORD'
|
110
|
+
config.api_key_token = 'YOUR API KEY'
|
113
111
|
end
|
114
112
|
|
115
113
|
api_instance = StackOneHRIS::EmployeesApi.new
|
@@ -118,7 +116,7 @@ opts = {
|
|
118
116
|
page: 'page_example', # String | The page number of the results to fetch
|
119
117
|
page_size: 'page_size_example', # String | The number of results per page
|
120
118
|
raw: true, # Boolean | Indicates that the raw request result is returned
|
121
|
-
fields: 'id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,personal_email,personal_phone_number,work_email,work_phone_number,job_title,department,manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_status,termination_date,company_name
|
119
|
+
fields: 'id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,personal_email,personal_phone_number,work_email,work_phone_number,job_title,department,manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_status,termination_date,company_name', # String | The comma separated list of fields to return in the response (if empty, all fields are returned)
|
122
120
|
sync_token: 'sync_token_example', # String | The sync token to select the only updated results
|
123
121
|
updated_after: 'updated_after_example', # String | Use a string with a date to only select results updated after that given date
|
124
122
|
expand: 'work_location,home_location,employments' # String | The comma separated list of fields that will be expanded in the response
|
data/docs/Employment.md
CHANGED
@@ -8,11 +8,11 @@
|
|
8
8
|
| **employee_id** | **String** | | |
|
9
9
|
| **job_title** | **String** | | [optional] |
|
10
10
|
| **pay_rate** | **String** | | [optional] |
|
11
|
-
| **pay_period** | **
|
12
|
-
| **pay_frequency** | **
|
11
|
+
| **pay_period** | [**PayPeriodEnum**](PayPeriodEnum.md) | | [optional] |
|
12
|
+
| **pay_frequency** | [**PayFrequencyEnum**](PayFrequencyEnum.md) | | [optional] |
|
13
13
|
| **pay_currency** | **String** | | [optional] |
|
14
14
|
| **effective_date** | **Time** | | [optional] |
|
15
|
-
| **employment_type** | **
|
15
|
+
| **employment_type** | [**EmploymentTypeEnum**](EmploymentTypeEnum.md) | | [optional] |
|
16
16
|
|
17
17
|
## Example
|
18
18
|
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# StackOneHRIS::EmploymentStatusEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **value** | **String** | | |
|
8
|
+
| **source_value** | **String** | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'stackone_hris_client'
|
14
|
+
|
15
|
+
instance = StackOneHRIS::EmploymentStatusEnum.new(
|
16
|
+
value: null,
|
17
|
+
source_value: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# StackOneHRIS::EmploymentTypeEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **value** | **String** | | |
|
8
|
+
| **source_value** | **String** | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'stackone_hris_client'
|
14
|
+
|
15
|
+
instance = StackOneHRIS::EmploymentTypeEnum.new(
|
16
|
+
value: null,
|
17
|
+
source_value: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/EmploymentsApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# StackOneHRIS::EmploymentsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://api.stackone.com*
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
@@ -22,8 +22,7 @@ require 'stackone_hris_client'
|
|
22
22
|
# setup authorization
|
23
23
|
StackOneHRIS.configure do |config|
|
24
24
|
# Configure HTTP basic authorization: basic
|
25
|
-
config.
|
26
|
-
config.password = 'YOUR PASSWORD'
|
25
|
+
config.api_key_token = 'YOUR API KEY'
|
27
26
|
end
|
28
27
|
|
29
28
|
api_instance = StackOneHRIS::EmploymentsApi.new
|
@@ -106,8 +105,7 @@ require 'stackone_hris_client'
|
|
106
105
|
# setup authorization
|
107
106
|
StackOneHRIS.configure do |config|
|
108
107
|
# Configure HTTP basic authorization: basic
|
109
|
-
config.
|
110
|
-
config.password = 'YOUR PASSWORD'
|
108
|
+
config.api_key_token = 'YOUR API KEY'
|
111
109
|
end
|
112
110
|
|
113
111
|
api_instance = StackOneHRIS::EmploymentsApi.new
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# StackOneHRIS::EthnicityEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **value** | **String** | | |
|
8
|
+
| **source_value** | **String** | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'stackone_hris_client'
|
14
|
+
|
15
|
+
instance = StackOneHRIS::EthnicityEnum.new(
|
16
|
+
value: null,
|
17
|
+
source_value: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/GenderEnum.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# StackOneHRIS::GenderEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **value** | **String** | | |
|
8
|
+
| **source_value** | **String** | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'stackone_hris_client'
|
14
|
+
|
15
|
+
instance = StackOneHRIS::GenderEnum.new(
|
16
|
+
value: null,
|
17
|
+
source_value: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/Location.md
CHANGED
@@ -13,8 +13,8 @@
|
|
13
13
|
| **city** | **String** | | [optional] |
|
14
14
|
| **state** | **String** | | [optional] |
|
15
15
|
| **zip_code** | **String** | | [optional] |
|
16
|
-
| **country** | **
|
17
|
-
| **location_type** | **
|
16
|
+
| **country** | [**CountryCodeEnum**](CountryCodeEnum.md) | | [optional] |
|
17
|
+
| **location_type** | [**LocationTypeEnum**](LocationTypeEnum.md) | | [optional] |
|
18
18
|
|
19
19
|
## Example
|
20
20
|
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# StackOneHRIS::LocationTypeEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **value** | **String** | | |
|
8
|
+
| **source_value** | **String** | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'stackone_hris_client'
|
14
|
+
|
15
|
+
instance = StackOneHRIS::LocationTypeEnum.new(
|
16
|
+
value: null,
|
17
|
+
source_value: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/LocationsApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# StackOneHRIS::LocationsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://api.stackone.com*
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
@@ -22,8 +22,7 @@ require 'stackone_hris_client'
|
|
22
22
|
# setup authorization
|
23
23
|
StackOneHRIS.configure do |config|
|
24
24
|
# Configure HTTP basic authorization: basic
|
25
|
-
config.
|
26
|
-
config.password = 'YOUR PASSWORD'
|
25
|
+
config.api_key_token = 'YOUR API KEY'
|
27
26
|
end
|
28
27
|
|
29
28
|
api_instance = StackOneHRIS::LocationsApi.new
|
@@ -106,8 +105,7 @@ require 'stackone_hris_client'
|
|
106
105
|
# setup authorization
|
107
106
|
StackOneHRIS.configure do |config|
|
108
107
|
# Configure HTTP basic authorization: basic
|
109
|
-
config.
|
110
|
-
config.password = 'YOUR PASSWORD'
|
108
|
+
config.api_key_token = 'YOUR API KEY'
|
111
109
|
end
|
112
110
|
|
113
111
|
api_instance = StackOneHRIS::LocationsApi.new
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# StackOneHRIS::MaritalStatusEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **value** | **String** | | |
|
8
|
+
| **source_value** | **String** | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'stackone_hris_client'
|
14
|
+
|
15
|
+
instance = StackOneHRIS::MaritalStatusEnum.new(
|
16
|
+
value: null,
|
17
|
+
source_value: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# StackOneHRIS::PayFrequencyEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **value** | **String** | | |
|
8
|
+
| **source_value** | **String** | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'stackone_hris_client'
|
14
|
+
|
15
|
+
instance = StackOneHRIS::PayFrequencyEnum.new(
|
16
|
+
value: null,
|
17
|
+
source_value: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# StackOneHRIS::PayPeriodEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **value** | **String** | | |
|
8
|
+
| **source_value** | **String** | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'stackone_hris_client'
|
14
|
+
|
15
|
+
instance = StackOneHRIS::PayPeriodEnum.new(
|
16
|
+
value: null,
|
17
|
+
source_value: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/gem-config.yml
CHANGED