stackone_hris_client 1.3.1 → 1.3.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1f1bac9ffe1525736d5a4ee2b28ee7e86cc2dd02bad121ecca41aa0ab4e63626
4
- data.tar.gz: feabaa81170c42b918e0b38779adc0c3f7880fdd6986af237b3a7b71c553c0d6
3
+ metadata.gz: 8384c72c8ca74df5d3066f2e0aad2dd2e26ce09f3e71e9c8877401110fc5256f
4
+ data.tar.gz: 253d08b7bcd87e240974cd07c7fd2b82e177ed4c1d814304a2f38e4947ecb4f5
5
5
  SHA512:
6
- metadata.gz: ddc9ed201b396bdd1bece98c4a182ce9fa922c613a5559b6e708d15ad271238ae40c8713b29ce8913ce712fb3b9caf5942423ad264b3587dc44fd02a28204117
7
- data.tar.gz: 1e21f2116a2d4808dd455e3b9ea6759c3c12b79a86a6dfede62b10cda78b2927e15c58ba9c893d80dc4f275812ea994522fe64f0455e702770af37ce508a4a23
6
+ metadata.gz: 3d905f4f3e5f72e7926e017823f6f61076283ab22526ba611a358878f2d81187bd6ff0663576a180b5a74264d4914b32f8391d36ffa7e51b060242d2ff71fae6
7
+ data.tar.gz: 2bbc0739da10c921f00ddc22563240409208d5145b7ab6f7128505215da082f3ab4db05395f7091b20309baf6a9f47c548d62980bc0511f8874715cf436d3393
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stackone_hris_client (1.3.1)
4
+ stackone_hris_client (1.3.2)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -16,8 +16,8 @@ GEM
16
16
  ffi (1.15.5)
17
17
  json (2.6.3)
18
18
  method_source (1.0.0)
19
- parallel (1.22.1)
20
- parser (3.2.1.1)
19
+ parallel (1.23.0)
20
+ parser (3.2.2.1)
21
21
  ast (~> 2.4.1)
22
22
  pry (0.14.2)
23
23
  coderay (~> 1.1)
@@ -27,7 +27,7 @@ GEM
27
27
  pry (>= 0.13, < 0.15)
28
28
  rainbow (3.1.1)
29
29
  rake (13.0.6)
30
- regexp_parser (2.7.0)
30
+ regexp_parser (2.8.0)
31
31
  rexml (3.2.5)
32
32
  rspec (3.12.0)
33
33
  rspec-core (~> 3.12.0)
@@ -52,7 +52,7 @@ GEM
52
52
  rubocop-ast (>= 1.26.0, < 2.0)
53
53
  ruby-progressbar (~> 1.7)
54
54
  unicode-display_width (>= 2.4.0, < 3.0)
55
- rubocop-ast (1.28.0)
55
+ rubocop-ast (1.28.1)
56
56
  parser (>= 3.2.1.0)
57
57
  ruby-progressbar (1.13.0)
58
58
  typhoeus (1.4.0)
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.3.1
10
+ - Package version: 1.3.2
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.3.1.gem
26
+ gem install ./stackone_hris_client-1.3.2.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./stackone_hris_client-1.3.1.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./stackone_hris_client-1.3.2.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.3.1'
35
+ gem 'stackone_hris_client', '~> 1.3.2'
36
36
 
37
37
  ### Install from Git
38
38
 
data/docs/CompaniesApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # StackOneHRIS::CompaniesApi
2
2
 
3
- All URIs are relative to *http://localhost*
3
+ All URIs are relative to *https://api.eu1.stackone.com/api.stackone.com*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
@@ -33,9 +33,9 @@ opts = {
33
33
  page: 'page_example', # String | The page number of the results to fetch
34
34
  page_size: 'page_size_example', # String | The number of results per page
35
35
  raw: true, # Boolean | Indicates that the raw request result is returned
36
- fields: ['inner_example'], # Array<String> | The list of fields to return in the response (if empty, all fields are returned)
37
- expand: ['inner_example'], # Array<String> | The list of fields that will be expanded in the response
38
- sync_token: 'sync_token_example' # String | The sync token to select the only updated results
36
+ fields: 'id,full_name,display_name', # String | The comma separated list of fields to return in the response (if empty, all fields are returned)
37
+ sync_token: 'sync_token_example', # String | The sync token to select the only updated results
38
+ updated_after: 'updated_after_example' # String | Use a string with a date to only select results updated after that given date
39
39
  }
40
40
 
41
41
  begin
@@ -74,9 +74,9 @@ end
74
74
  | **page** | **String** | The page number of the results to fetch | [optional] |
75
75
  | **page_size** | **String** | The number of results per page | [optional][default to &#39;25&#39;] |
76
76
  | **raw** | **Boolean** | Indicates that the raw request result is returned | [optional][default to false] |
77
- | **fields** | [**Array&lt;String&gt;**](String.md) | The list of fields to return in the response (if empty, all fields are returned) | [optional] |
78
- | **expand** | [**Array&lt;String&gt;**](String.md) | The list of fields that will be expanded in the response | [optional] |
77
+ | **fields** | **String** | The comma separated list of fields to return in the response (if empty, all fields are returned) | [optional][default to &#39;&#39;] |
79
78
  | **sync_token** | **String** | The sync token to select the only updated results | [optional] |
79
+ | **updated_after** | **String** | Use a string with a date to only select results updated after that given date | [optional] |
80
80
 
81
81
  ### Return type
82
82
 
@@ -116,9 +116,9 @@ opts = {
116
116
  page: 'page_example', # String | The page number of the results to fetch
117
117
  page_size: 'page_size_example', # String | The number of results per page
118
118
  raw: true, # Boolean | Indicates that the raw request result is returned
119
- fields: ['inner_example'], # Array<String> | The list of fields to return in the response (if empty, all fields are returned)
120
- expand: ['inner_example'], # Array<String> | The list of fields that will be expanded in the response
121
- sync_token: 'sync_token_example' # String | The sync token to select the only updated results
119
+ fields: 'id,full_name,display_name', # String | The comma separated list of fields to return in the response (if empty, all fields are returned)
120
+ sync_token: 'sync_token_example', # String | The sync token to select the only updated results
121
+ updated_after: 'updated_after_example' # String | Use a string with a date to only select results updated after that given date
122
122
  }
123
123
 
124
124
  begin
@@ -156,9 +156,9 @@ end
156
156
  | **page** | **String** | The page number of the results to fetch | [optional] |
157
157
  | **page_size** | **String** | The number of results per page | [optional][default to &#39;25&#39;] |
158
158
  | **raw** | **Boolean** | Indicates that the raw request result is returned | [optional][default to false] |
159
- | **fields** | [**Array&lt;String&gt;**](String.md) | The list of fields to return in the response (if empty, all fields are returned) | [optional] |
160
- | **expand** | [**Array&lt;String&gt;**](String.md) | The list of fields that will be expanded in the response | [optional] |
159
+ | **fields** | **String** | The comma separated list of fields to return in the response (if empty, all fields are returned) | [optional][default to &#39;&#39;] |
161
160
  | **sync_token** | **String** | The sync token to select the only updated results | [optional] |
161
+ | **updated_after** | **String** | Use a string with a date to only select results updated after that given date | [optional] |
162
162
 
163
163
  ### Return type
164
164
 
@@ -23,7 +23,7 @@ instance = StackOneHRIS::ConnectSession.new(
23
23
  id: null,
24
24
  organization_id: null,
25
25
  project_id: null,
26
- categories: [&quot;ats&quot;,&quot;hris&quot;,&quot;crm&quot;],
26
+ categories: [&quot;ats&quot;,&quot;hris&quot;,&quot;crm&quot;,&quot;common&quot;],
27
27
  provider: null,
28
28
  origin_owner_id: null,
29
29
  origin_owner_name: null,
@@ -9,6 +9,7 @@
9
9
  | **origin_owner_id** | **String** | The origin owner identifier | |
10
10
  | **origin_owner_name** | **String** | The origin owner name | |
11
11
  | **origin_username** | **String** | The origin username | [optional] |
12
+ | **expires_in** | **Float** | How long the session should be valid for in seconds | [optional][default to 1800] |
12
13
  | **metadata** | **Object** | The metadata for the connection | [optional] |
13
14
 
14
15
  ## Example
@@ -17,11 +18,12 @@
17
18
  require 'stackone_hris_client'
18
19
 
19
20
  instance = StackOneHRIS::ConnectSessionCreate.new(
20
- categories: [&quot;ats&quot;,&quot;hris&quot;,&quot;crm&quot;],
21
+ categories: [&quot;ats&quot;,&quot;hris&quot;,&quot;crm&quot;,&quot;common&quot;],
21
22
  provider: null,
22
23
  origin_owner_id: null,
23
24
  origin_owner_name: null,
24
25
  origin_username: null,
26
+ expires_in: null,
25
27
  metadata: null
26
28
  )
27
29
  ```
@@ -24,7 +24,7 @@ instance = StackOneHRIS::ConnectSessionToken.new(
24
24
  id: null,
25
25
  organization_id: null,
26
26
  project_id: null,
27
- categories: [&quot;ats&quot;,&quot;hris&quot;,&quot;crm&quot;],
27
+ categories: [&quot;ats&quot;,&quot;hris&quot;,&quot;crm&quot;,&quot;common&quot;],
28
28
  provider: null,
29
29
  origin_owner_id: null,
30
30
  origin_owner_name: null,
data/docs/Employee.md CHANGED
@@ -32,10 +32,10 @@
32
32
  | **company_name** | **String** | | [optional] |
33
33
  | **home_country_location** | **String** | | [optional] |
34
34
  | **work_country_location** | **String** | | [optional] |
35
- | **home_location** | **String** | | [optional] |
36
- | **work_location** | **String** | | [optional] |
35
+ | **home_location** | [**Location**](Location.md) | | [optional] |
36
+ | **work_location** | [**Location**](Location.md) | | [optional] |
37
37
  | **company** | **String** | | [optional] |
38
- | **employments** | **Array&lt;String&gt;** | | [optional] |
38
+ | **employments** | [**Array&lt;Employment&gt;**](Employment.md) | | [optional] |
39
39
 
40
40
  ## Example
41
41
 
data/docs/EmployeesApi.md CHANGED
@@ -33,9 +33,10 @@ opts = {
33
33
  page: 'page_example', # String | The page number of the results to fetch
34
34
  page_size: 'page_size_example', # String | The number of results per page
35
35
  raw: true, # Boolean | Indicates that the raw request result is returned
36
- fields: ['inner_example'], # Array<String> | The list of fields to return in the response (if empty, all fields are returned)
37
- expand: ['inner_example'], # Array<String> | The list of fields that will be expanded in the response
38
- sync_token: 'sync_token_example' # String | The sync token to select the only updated results
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,home_country_location,work_country_location', # String | The comma separated list of fields to return in the response (if empty, all fields are returned)
37
+ sync_token: 'sync_token_example', # String | The sync token to select the only updated results
38
+ updated_after: 'updated_after_example', # String | Use a string with a date to only select results updated after that given date
39
+ expand: 'work_location,home_location,employments' # String | The comma separated list of fields that will be expanded in the response
39
40
  }
40
41
 
41
42
  begin
@@ -74,9 +75,10 @@ end
74
75
  | **page** | **String** | The page number of the results to fetch | [optional] |
75
76
  | **page_size** | **String** | The number of results per page | [optional][default to &#39;25&#39;] |
76
77
  | **raw** | **Boolean** | Indicates that the raw request result is returned | [optional][default to false] |
77
- | **fields** | [**Array&lt;String&gt;**](String.md) | The list of fields to return in the response (if empty, all fields are returned) | [optional] |
78
- | **expand** | [**Array&lt;String&gt;**](String.md) | The list of fields that will be expanded in the response | [optional] |
78
+ | **fields** | **String** | The comma separated list of fields to return in the response (if empty, all fields are returned) | [optional][default to &#39;&#39;] |
79
79
  | **sync_token** | **String** | The sync token to select the only updated results | [optional] |
80
+ | **updated_after** | **String** | Use a string with a date to only select results updated after that given date | [optional] |
81
+ | **expand** | **String** | The comma separated list of fields that will be expanded in the response | [optional][default to &#39;&#39;] |
80
82
 
81
83
  ### Return type
82
84
 
@@ -116,9 +118,10 @@ opts = {
116
118
  page: 'page_example', # String | The page number of the results to fetch
117
119
  page_size: 'page_size_example', # String | The number of results per page
118
120
  raw: true, # Boolean | Indicates that the raw request result is returned
119
- fields: ['inner_example'], # Array<String> | The list of fields to return in the response (if empty, all fields are returned)
120
- expand: ['inner_example'], # Array<String> | The list of fields that will be expanded in the response
121
- sync_token: 'sync_token_example' # String | The sync token to select the only updated results
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,home_country_location,work_country_location', # String | The comma separated list of fields to return in the response (if empty, all fields are returned)
122
+ sync_token: 'sync_token_example', # String | The sync token to select the only updated results
123
+ updated_after: 'updated_after_example', # String | Use a string with a date to only select results updated after that given date
124
+ expand: 'work_location,home_location,employments' # String | The comma separated list of fields that will be expanded in the response
122
125
  }
123
126
 
124
127
  begin
@@ -156,9 +159,10 @@ end
156
159
  | **page** | **String** | The page number of the results to fetch | [optional] |
157
160
  | **page_size** | **String** | The number of results per page | [optional][default to &#39;25&#39;] |
158
161
  | **raw** | **Boolean** | Indicates that the raw request result is returned | [optional][default to false] |
159
- | **fields** | [**Array&lt;String&gt;**](String.md) | The list of fields to return in the response (if empty, all fields are returned) | [optional] |
160
- | **expand** | [**Array&lt;String&gt;**](String.md) | The list of fields that will be expanded in the response | [optional] |
162
+ | **fields** | **String** | The comma separated list of fields to return in the response (if empty, all fields are returned) | [optional][default to &#39;&#39;] |
161
163
  | **sync_token** | **String** | The sync token to select the only updated results | [optional] |
164
+ | **updated_after** | **String** | Use a string with a date to only select results updated after that given date | [optional] |
165
+ | **expand** | **String** | The comma separated list of fields that will be expanded in the response | [optional][default to &#39;&#39;] |
162
166
 
163
167
  ### Return type
164
168
 
@@ -33,9 +33,9 @@ opts = {
33
33
  page: 'page_example', # String | The page number of the results to fetch
34
34
  page_size: 'page_size_example', # String | The number of results per page
35
35
  raw: true, # Boolean | Indicates that the raw request result is returned
36
- fields: ['inner_example'], # Array<String> | The list of fields to return in the response (if empty, all fields are returned)
37
- expand: ['inner_example'], # Array<String> | The list of fields that will be expanded in the response
38
- sync_token: 'sync_token_example' # String | The sync token to select the only updated results
36
+ fields: 'id,employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type', # String | The comma separated list of fields to return in the response (if empty, all fields are returned)
37
+ sync_token: 'sync_token_example', # String | The sync token to select the only updated results
38
+ updated_after: 'updated_after_example' # String | Use a string with a date to only select results updated after that given date
39
39
  }
40
40
 
41
41
  begin
@@ -74,9 +74,9 @@ end
74
74
  | **page** | **String** | The page number of the results to fetch | [optional] |
75
75
  | **page_size** | **String** | The number of results per page | [optional][default to &#39;25&#39;] |
76
76
  | **raw** | **Boolean** | Indicates that the raw request result is returned | [optional][default to false] |
77
- | **fields** | [**Array&lt;String&gt;**](String.md) | The list of fields to return in the response (if empty, all fields are returned) | [optional] |
78
- | **expand** | [**Array&lt;String&gt;**](String.md) | The list of fields that will be expanded in the response | [optional] |
77
+ | **fields** | **String** | The comma separated list of fields to return in the response (if empty, all fields are returned) | [optional][default to &#39;&#39;] |
79
78
  | **sync_token** | **String** | The sync token to select the only updated results | [optional] |
79
+ | **updated_after** | **String** | Use a string with a date to only select results updated after that given date | [optional] |
80
80
 
81
81
  ### Return type
82
82
 
@@ -116,9 +116,9 @@ opts = {
116
116
  page: 'page_example', # String | The page number of the results to fetch
117
117
  page_size: 'page_size_example', # String | The number of results per page
118
118
  raw: true, # Boolean | Indicates that the raw request result is returned
119
- fields: ['inner_example'], # Array<String> | The list of fields to return in the response (if empty, all fields are returned)
120
- expand: ['inner_example'], # Array<String> | The list of fields that will be expanded in the response
121
- sync_token: 'sync_token_example' # String | The sync token to select the only updated results
119
+ fields: 'id,employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type', # String | The comma separated list of fields to return in the response (if empty, all fields are returned)
120
+ sync_token: 'sync_token_example', # String | The sync token to select the only updated results
121
+ updated_after: 'updated_after_example' # String | Use a string with a date to only select results updated after that given date
122
122
  }
123
123
 
124
124
  begin
@@ -156,9 +156,9 @@ end
156
156
  | **page** | **String** | The page number of the results to fetch | [optional] |
157
157
  | **page_size** | **String** | The number of results per page | [optional][default to &#39;25&#39;] |
158
158
  | **raw** | **Boolean** | Indicates that the raw request result is returned | [optional][default to false] |
159
- | **fields** | [**Array&lt;String&gt;**](String.md) | The list of fields to return in the response (if empty, all fields are returned) | [optional] |
160
- | **expand** | [**Array&lt;String&gt;**](String.md) | The list of fields that will be expanded in the response | [optional] |
159
+ | **fields** | **String** | The comma separated list of fields to return in the response (if empty, all fields are returned) | [optional][default to &#39;&#39;] |
161
160
  | **sync_token** | **String** | The sync token to select the only updated results | [optional] |
161
+ | **updated_after** | **String** | Use a string with a date to only select results updated after that given date | [optional] |
162
162
 
163
163
  ### Return type
164
164
 
data/docs/LocationsApi.md CHANGED
@@ -33,9 +33,9 @@ opts = {
33
33
  page: 'page_example', # String | The page number of the results to fetch
34
34
  page_size: 'page_size_example', # String | The number of results per page
35
35
  raw: true, # Boolean | Indicates that the raw request result is returned
36
- fields: ['inner_example'], # Array<String> | The list of fields to return in the response (if empty, all fields are returned)
37
- expand: ['inner_example'], # Array<String> | The list of fields that will be expanded in the response
38
- sync_token: 'sync_token_example' # String | The sync token to select the only updated results
36
+ fields: 'id,employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type', # String | The comma separated list of fields to return in the response (if empty, all fields are returned)
37
+ sync_token: 'sync_token_example', # String | The sync token to select the only updated results
38
+ updated_after: 'updated_after_example' # String | Use a string with a date to only select results updated after that given date
39
39
  }
40
40
 
41
41
  begin
@@ -74,9 +74,9 @@ end
74
74
  | **page** | **String** | The page number of the results to fetch | [optional] |
75
75
  | **page_size** | **String** | The number of results per page | [optional][default to &#39;25&#39;] |
76
76
  | **raw** | **Boolean** | Indicates that the raw request result is returned | [optional][default to false] |
77
- | **fields** | [**Array&lt;String&gt;**](String.md) | The list of fields to return in the response (if empty, all fields are returned) | [optional] |
78
- | **expand** | [**Array&lt;String&gt;**](String.md) | The list of fields that will be expanded in the response | [optional] |
77
+ | **fields** | **String** | The comma separated list of fields to return in the response (if empty, all fields are returned) | [optional][default to &#39;&#39;] |
79
78
  | **sync_token** | **String** | The sync token to select the only updated results | [optional] |
79
+ | **updated_after** | **String** | Use a string with a date to only select results updated after that given date | [optional] |
80
80
 
81
81
  ### Return type
82
82
 
@@ -116,9 +116,9 @@ opts = {
116
116
  page: 'page_example', # String | The page number of the results to fetch
117
117
  page_size: 'page_size_example', # String | The number of results per page
118
118
  raw: true, # Boolean | Indicates that the raw request result is returned
119
- fields: ['inner_example'], # Array<String> | The list of fields to return in the response (if empty, all fields are returned)
120
- expand: ['inner_example'], # Array<String> | The list of fields that will be expanded in the response
121
- sync_token: 'sync_token_example' # String | The sync token to select the only updated results
119
+ fields: 'id,employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type', # String | The comma separated list of fields to return in the response (if empty, all fields are returned)
120
+ sync_token: 'sync_token_example', # String | The sync token to select the only updated results
121
+ updated_after: 'updated_after_example' # String | Use a string with a date to only select results updated after that given date
122
122
  }
123
123
 
124
124
  begin
@@ -156,9 +156,9 @@ end
156
156
  | **page** | **String** | The page number of the results to fetch | [optional] |
157
157
  | **page_size** | **String** | The number of results per page | [optional][default to &#39;25&#39;] |
158
158
  | **raw** | **Boolean** | Indicates that the raw request result is returned | [optional][default to false] |
159
- | **fields** | [**Array&lt;String&gt;**](String.md) | The list of fields to return in the response (if empty, all fields are returned) | [optional] |
160
- | **expand** | [**Array&lt;String&gt;**](String.md) | The list of fields that will be expanded in the response | [optional] |
159
+ | **fields** | **String** | The comma separated list of fields to return in the response (if empty, all fields are returned) | [optional][default to &#39;&#39;] |
161
160
  | **sync_token** | **String** | The sync token to select the only updated results | [optional] |
161
+ | **updated_after** | **String** | Use a string with a date to only select results updated after that given date | [optional] |
162
162
 
163
163
  ### Return type
164
164
 
data/gem-config.yml CHANGED
@@ -10,5 +10,5 @@ additionalProperties:
10
10
  gemName: "stackone_hris_client"
11
11
  gemRequiredRubyVersion: ">= 2.7"
12
12
  gemSummary: "StackOne HRIS client gem"
13
- gemVersion: "1.3.1"
13
+ gemVersion: "1.3.2"
14
14
  library: "typhoeus"
@@ -26,9 +26,9 @@ module StackOneHRIS
26
26
  # @option opts [String] :page The page number of the results to fetch
27
27
  # @option opts [String] :page_size The number of results per page (default to '25')
28
28
  # @option opts [Boolean] :raw Indicates that the raw request result is returned (default to false)
29
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
30
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
29
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned) (default to '')
31
30
  # @option opts [String] :sync_token The sync token to select the only updated results
31
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
32
32
  # @return [CompanyResult]
33
33
  def companies_get(id, x_account_id, opts = {})
34
34
  data, _status_code, _headers = companies_get_with_http_info(id, x_account_id, opts)
@@ -42,9 +42,9 @@ module StackOneHRIS
42
42
  # @option opts [String] :page The page number of the results to fetch
43
43
  # @option opts [String] :page_size The number of results per page (default to '25')
44
44
  # @option opts [Boolean] :raw Indicates that the raw request result is returned (default to false)
45
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
46
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
45
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned) (default to '')
47
46
  # @option opts [String] :sync_token The sync token to select the only updated results
47
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
48
48
  # @return [Array<(CompanyResult, Integer, Hash)>] CompanyResult data, response status code and response headers
49
49
  def companies_get_with_http_info(id, x_account_id, opts = {})
50
50
  if @api_client.config.debugging
@@ -66,9 +66,9 @@ module StackOneHRIS
66
66
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
67
67
  query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
68
68
  query_params[:'raw'] = opts[:'raw'] if !opts[:'raw'].nil?
69
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
70
- query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if !opts[:'expand'].nil?
69
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
71
70
  query_params[:'sync_token'] = opts[:'sync_token'] if !opts[:'sync_token'].nil?
71
+ query_params[:'updated_after'] = opts[:'updated_after'] if !opts[:'updated_after'].nil?
72
72
 
73
73
  # header parameters
74
74
  header_params = opts[:header_params] || {}
@@ -111,9 +111,9 @@ module StackOneHRIS
111
111
  # @option opts [String] :page The page number of the results to fetch
112
112
  # @option opts [String] :page_size The number of results per page (default to '25')
113
113
  # @option opts [Boolean] :raw Indicates that the raw request result is returned (default to false)
114
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
115
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
114
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned) (default to '')
116
115
  # @option opts [String] :sync_token The sync token to select the only updated results
116
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
117
117
  # @return [CompaniesPaginated]
118
118
  def companies_list(x_account_id, opts = {})
119
119
  data, _status_code, _headers = companies_list_with_http_info(x_account_id, opts)
@@ -126,9 +126,9 @@ module StackOneHRIS
126
126
  # @option opts [String] :page The page number of the results to fetch
127
127
  # @option opts [String] :page_size The number of results per page (default to '25')
128
128
  # @option opts [Boolean] :raw Indicates that the raw request result is returned (default to false)
129
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
130
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
129
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned) (default to '')
131
130
  # @option opts [String] :sync_token The sync token to select the only updated results
131
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
132
132
  # @return [Array<(CompaniesPaginated, Integer, Hash)>] CompaniesPaginated data, response status code and response headers
133
133
  def companies_list_with_http_info(x_account_id, opts = {})
134
134
  if @api_client.config.debugging
@@ -146,9 +146,9 @@ module StackOneHRIS
146
146
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
147
147
  query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
148
148
  query_params[:'raw'] = opts[:'raw'] if !opts[:'raw'].nil?
149
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
150
- query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if !opts[:'expand'].nil?
149
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
151
150
  query_params[:'sync_token'] = opts[:'sync_token'] if !opts[:'sync_token'].nil?
151
+ query_params[:'updated_after'] = opts[:'updated_after'] if !opts[:'updated_after'].nil?
152
152
 
153
153
  # header parameters
154
154
  header_params = opts[:header_params] || {}
@@ -26,9 +26,10 @@ module StackOneHRIS
26
26
  # @option opts [String] :page The page number of the results to fetch
27
27
  # @option opts [String] :page_size The number of results per page (default to '25')
28
28
  # @option opts [Boolean] :raw Indicates that the raw request result is returned (default to false)
29
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
30
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
29
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned) (default to '')
31
30
  # @option opts [String] :sync_token The sync token to select the only updated results
31
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
32
+ # @option opts [String] :expand The comma separated list of fields that will be expanded in the response (default to '')
32
33
  # @return [EmployeeResult]
33
34
  def employees_get(id, x_account_id, opts = {})
34
35
  data, _status_code, _headers = employees_get_with_http_info(id, x_account_id, opts)
@@ -42,9 +43,10 @@ module StackOneHRIS
42
43
  # @option opts [String] :page The page number of the results to fetch
43
44
  # @option opts [String] :page_size The number of results per page (default to '25')
44
45
  # @option opts [Boolean] :raw Indicates that the raw request result is returned (default to false)
45
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
46
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
46
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned) (default to '')
47
47
  # @option opts [String] :sync_token The sync token to select the only updated results
48
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
49
+ # @option opts [String] :expand The comma separated list of fields that will be expanded in the response (default to '')
48
50
  # @return [Array<(EmployeeResult, Integer, Hash)>] EmployeeResult data, response status code and response headers
49
51
  def employees_get_with_http_info(id, x_account_id, opts = {})
50
52
  if @api_client.config.debugging
@@ -66,9 +68,10 @@ module StackOneHRIS
66
68
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
67
69
  query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
68
70
  query_params[:'raw'] = opts[:'raw'] if !opts[:'raw'].nil?
69
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
70
- query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if !opts[:'expand'].nil?
71
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
71
72
  query_params[:'sync_token'] = opts[:'sync_token'] if !opts[:'sync_token'].nil?
73
+ query_params[:'updated_after'] = opts[:'updated_after'] if !opts[:'updated_after'].nil?
74
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
72
75
 
73
76
  # header parameters
74
77
  header_params = opts[:header_params] || {}
@@ -111,9 +114,10 @@ module StackOneHRIS
111
114
  # @option opts [String] :page The page number of the results to fetch
112
115
  # @option opts [String] :page_size The number of results per page (default to '25')
113
116
  # @option opts [Boolean] :raw Indicates that the raw request result is returned (default to false)
114
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
115
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
117
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned) (default to '')
116
118
  # @option opts [String] :sync_token The sync token to select the only updated results
119
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
120
+ # @option opts [String] :expand The comma separated list of fields that will be expanded in the response (default to '')
117
121
  # @return [EmployeesPaginated]
118
122
  def employees_list(x_account_id, opts = {})
119
123
  data, _status_code, _headers = employees_list_with_http_info(x_account_id, opts)
@@ -126,9 +130,10 @@ module StackOneHRIS
126
130
  # @option opts [String] :page The page number of the results to fetch
127
131
  # @option opts [String] :page_size The number of results per page (default to '25')
128
132
  # @option opts [Boolean] :raw Indicates that the raw request result is returned (default to false)
129
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
130
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
133
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned) (default to '')
131
134
  # @option opts [String] :sync_token The sync token to select the only updated results
135
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
136
+ # @option opts [String] :expand The comma separated list of fields that will be expanded in the response (default to '')
132
137
  # @return [Array<(EmployeesPaginated, Integer, Hash)>] EmployeesPaginated data, response status code and response headers
133
138
  def employees_list_with_http_info(x_account_id, opts = {})
134
139
  if @api_client.config.debugging
@@ -146,9 +151,10 @@ module StackOneHRIS
146
151
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
147
152
  query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
148
153
  query_params[:'raw'] = opts[:'raw'] if !opts[:'raw'].nil?
149
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
150
- query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if !opts[:'expand'].nil?
154
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
151
155
  query_params[:'sync_token'] = opts[:'sync_token'] if !opts[:'sync_token'].nil?
156
+ query_params[:'updated_after'] = opts[:'updated_after'] if !opts[:'updated_after'].nil?
157
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
152
158
 
153
159
  # header parameters
154
160
  header_params = opts[:header_params] || {}
@@ -26,9 +26,9 @@ module StackOneHRIS
26
26
  # @option opts [String] :page The page number of the results to fetch
27
27
  # @option opts [String] :page_size The number of results per page (default to '25')
28
28
  # @option opts [Boolean] :raw Indicates that the raw request result is returned (default to false)
29
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
30
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
29
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned) (default to '')
31
30
  # @option opts [String] :sync_token The sync token to select the only updated results
31
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
32
32
  # @return [EmploymentResult]
33
33
  def employments_get(id, x_account_id, opts = {})
34
34
  data, _status_code, _headers = employments_get_with_http_info(id, x_account_id, opts)
@@ -42,9 +42,9 @@ module StackOneHRIS
42
42
  # @option opts [String] :page The page number of the results to fetch
43
43
  # @option opts [String] :page_size The number of results per page (default to '25')
44
44
  # @option opts [Boolean] :raw Indicates that the raw request result is returned (default to false)
45
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
46
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
45
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned) (default to '')
47
46
  # @option opts [String] :sync_token The sync token to select the only updated results
47
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
48
48
  # @return [Array<(EmploymentResult, Integer, Hash)>] EmploymentResult data, response status code and response headers
49
49
  def employments_get_with_http_info(id, x_account_id, opts = {})
50
50
  if @api_client.config.debugging
@@ -66,9 +66,9 @@ module StackOneHRIS
66
66
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
67
67
  query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
68
68
  query_params[:'raw'] = opts[:'raw'] if !opts[:'raw'].nil?
69
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
70
- query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if !opts[:'expand'].nil?
69
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
71
70
  query_params[:'sync_token'] = opts[:'sync_token'] if !opts[:'sync_token'].nil?
71
+ query_params[:'updated_after'] = opts[:'updated_after'] if !opts[:'updated_after'].nil?
72
72
 
73
73
  # header parameters
74
74
  header_params = opts[:header_params] || {}
@@ -111,9 +111,9 @@ module StackOneHRIS
111
111
  # @option opts [String] :page The page number of the results to fetch
112
112
  # @option opts [String] :page_size The number of results per page (default to '25')
113
113
  # @option opts [Boolean] :raw Indicates that the raw request result is returned (default to false)
114
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
115
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
114
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned) (default to '')
116
115
  # @option opts [String] :sync_token The sync token to select the only updated results
116
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
117
117
  # @return [EmploymentsPaginated]
118
118
  def employments_list(x_account_id, opts = {})
119
119
  data, _status_code, _headers = employments_list_with_http_info(x_account_id, opts)
@@ -126,9 +126,9 @@ module StackOneHRIS
126
126
  # @option opts [String] :page The page number of the results to fetch
127
127
  # @option opts [String] :page_size The number of results per page (default to '25')
128
128
  # @option opts [Boolean] :raw Indicates that the raw request result is returned (default to false)
129
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
130
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
129
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned) (default to '')
131
130
  # @option opts [String] :sync_token The sync token to select the only updated results
131
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
132
132
  # @return [Array<(EmploymentsPaginated, Integer, Hash)>] EmploymentsPaginated data, response status code and response headers
133
133
  def employments_list_with_http_info(x_account_id, opts = {})
134
134
  if @api_client.config.debugging
@@ -146,9 +146,9 @@ module StackOneHRIS
146
146
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
147
147
  query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
148
148
  query_params[:'raw'] = opts[:'raw'] if !opts[:'raw'].nil?
149
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
150
- query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if !opts[:'expand'].nil?
149
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
151
150
  query_params[:'sync_token'] = opts[:'sync_token'] if !opts[:'sync_token'].nil?
151
+ query_params[:'updated_after'] = opts[:'updated_after'] if !opts[:'updated_after'].nil?
152
152
 
153
153
  # header parameters
154
154
  header_params = opts[:header_params] || {}
@@ -26,9 +26,9 @@ module StackOneHRIS
26
26
  # @option opts [String] :page The page number of the results to fetch
27
27
  # @option opts [String] :page_size The number of results per page (default to '25')
28
28
  # @option opts [Boolean] :raw Indicates that the raw request result is returned (default to false)
29
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
30
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
29
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned) (default to '')
31
30
  # @option opts [String] :sync_token The sync token to select the only updated results
31
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
32
32
  # @return [LocationResult]
33
33
  def hris_locations_get(id, x_account_id, opts = {})
34
34
  data, _status_code, _headers = hris_locations_get_with_http_info(id, x_account_id, opts)
@@ -42,9 +42,9 @@ module StackOneHRIS
42
42
  # @option opts [String] :page The page number of the results to fetch
43
43
  # @option opts [String] :page_size The number of results per page (default to '25')
44
44
  # @option opts [Boolean] :raw Indicates that the raw request result is returned (default to false)
45
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
46
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
45
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned) (default to '')
47
46
  # @option opts [String] :sync_token The sync token to select the only updated results
47
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
48
48
  # @return [Array<(LocationResult, Integer, Hash)>] LocationResult data, response status code and response headers
49
49
  def hris_locations_get_with_http_info(id, x_account_id, opts = {})
50
50
  if @api_client.config.debugging
@@ -66,9 +66,9 @@ module StackOneHRIS
66
66
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
67
67
  query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
68
68
  query_params[:'raw'] = opts[:'raw'] if !opts[:'raw'].nil?
69
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
70
- query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if !opts[:'expand'].nil?
69
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
71
70
  query_params[:'sync_token'] = opts[:'sync_token'] if !opts[:'sync_token'].nil?
71
+ query_params[:'updated_after'] = opts[:'updated_after'] if !opts[:'updated_after'].nil?
72
72
 
73
73
  # header parameters
74
74
  header_params = opts[:header_params] || {}
@@ -111,9 +111,9 @@ module StackOneHRIS
111
111
  # @option opts [String] :page The page number of the results to fetch
112
112
  # @option opts [String] :page_size The number of results per page (default to '25')
113
113
  # @option opts [Boolean] :raw Indicates that the raw request result is returned (default to false)
114
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
115
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
114
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned) (default to '')
116
115
  # @option opts [String] :sync_token The sync token to select the only updated results
116
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
117
117
  # @return [LocationsPaginated]
118
118
  def hris_locations_list(x_account_id, opts = {})
119
119
  data, _status_code, _headers = hris_locations_list_with_http_info(x_account_id, opts)
@@ -126,9 +126,9 @@ module StackOneHRIS
126
126
  # @option opts [String] :page The page number of the results to fetch
127
127
  # @option opts [String] :page_size The number of results per page (default to '25')
128
128
  # @option opts [Boolean] :raw Indicates that the raw request result is returned (default to false)
129
- # @option opts [Array<String>] :fields The list of fields to return in the response (if empty, all fields are returned)
130
- # @option opts [Array<String>] :expand The list of fields that will be expanded in the response
129
+ # @option opts [String] :fields The comma separated list of fields to return in the response (if empty, all fields are returned) (default to '')
131
130
  # @option opts [String] :sync_token The sync token to select the only updated results
131
+ # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
132
132
  # @return [Array<(LocationsPaginated, Integer, Hash)>] LocationsPaginated data, response status code and response headers
133
133
  def hris_locations_list_with_http_info(x_account_id, opts = {})
134
134
  if @api_client.config.debugging
@@ -146,9 +146,9 @@ module StackOneHRIS
146
146
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
147
147
  query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
148
148
  query_params[:'raw'] = opts[:'raw'] if !opts[:'raw'].nil?
149
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
150
- query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if !opts[:'expand'].nil?
149
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
151
150
  query_params[:'sync_token'] = opts[:'sync_token'] if !opts[:'sync_token'].nil?
151
+ query_params[:'updated_after'] = opts[:'updated_after'] if !opts[:'updated_after'].nil?
152
152
 
153
153
  # header parameters
154
154
  header_params = opts[:header_params] || {}
@@ -30,6 +30,9 @@ module StackOneHRIS
30
30
  # The origin username
31
31
  attr_accessor :origin_username
32
32
 
33
+ # How long the session should be valid for in seconds
34
+ attr_accessor :expires_in
35
+
33
36
  # The metadata for the connection
34
37
  attr_accessor :metadata
35
38
 
@@ -63,6 +66,7 @@ module StackOneHRIS
63
66
  :'origin_owner_id' => :'origin_owner_id',
64
67
  :'origin_owner_name' => :'origin_owner_name',
65
68
  :'origin_username' => :'origin_username',
69
+ :'expires_in' => :'expires_in',
66
70
  :'metadata' => :'metadata'
67
71
  }
68
72
  end
@@ -80,6 +84,7 @@ module StackOneHRIS
80
84
  :'origin_owner_id' => :'String',
81
85
  :'origin_owner_name' => :'String',
82
86
  :'origin_username' => :'String',
87
+ :'expires_in' => :'Float',
83
88
  :'metadata' => :'Object'
84
89
  }
85
90
  end
@@ -127,6 +132,12 @@ module StackOneHRIS
127
132
  self.origin_username = attributes[:'origin_username']
128
133
  end
129
134
 
135
+ if attributes.key?(:'expires_in')
136
+ self.expires_in = attributes[:'expires_in']
137
+ else
138
+ self.expires_in = 1800
139
+ end
140
+
130
141
  if attributes.key?(:'metadata')
131
142
  self.metadata = attributes[:'metadata']
132
143
  end
@@ -165,6 +176,7 @@ module StackOneHRIS
165
176
  origin_owner_id == o.origin_owner_id &&
166
177
  origin_owner_name == o.origin_owner_name &&
167
178
  origin_username == o.origin_username &&
179
+ expires_in == o.expires_in &&
168
180
  metadata == o.metadata
169
181
  end
170
182
 
@@ -177,7 +189,7 @@ module StackOneHRIS
177
189
  # Calculates hash code according to all attributes.
178
190
  # @return [Integer] Hash code
179
191
  def hash
180
- [categories, provider, origin_owner_id, origin_owner_name, origin_username, metadata].hash
192
+ [categories, provider, origin_owner_id, origin_owner_name, origin_username, expires_in, metadata].hash
181
193
  end
182
194
 
183
195
  # Builds the object from hash
@@ -175,10 +175,10 @@ module StackOneHRIS
175
175
  :'company_name' => :'String',
176
176
  :'home_country_location' => :'String',
177
177
  :'work_country_location' => :'String',
178
- :'home_location' => :'String',
179
- :'work_location' => :'String',
178
+ :'home_location' => :'Location',
179
+ :'work_location' => :'Location',
180
180
  :'company' => :'String',
181
- :'employments' => :'Array<String>'
181
+ :'employments' => :'Array<Employment>'
182
182
  }
183
183
  end
184
184
 
@@ -400,7 +400,7 @@ module StackOneHRIS
400
400
  return false if @work_email.nil?
401
401
  return false if @work_phone_number.nil?
402
402
  return false if @department.nil?
403
- employment_type_validator = EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "intern", "freelance", "terminated", "unmapped_value"])
403
+ employment_type_validator = EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "intern", "freelance", "terminated", "unmapped_value", "temporary", "seasonal", "volunteer"])
404
404
  return false unless employment_type_validator.valid?(@employment_type)
405
405
  employment_status_validator = EnumAttributeValidator.new('String', ["active", "pending", "terminated", "unmapped_value"])
406
406
  return false unless employment_status_validator.valid?(@employment_status)
@@ -440,7 +440,7 @@ module StackOneHRIS
440
440
  # Custom attribute writer method checking allowed values (enum).
441
441
  # @param [Object] employment_type Object to be assigned
442
442
  def employment_type=(employment_type)
443
- validator = EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "intern", "freelance", "terminated", "unmapped_value"])
443
+ validator = EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "intern", "freelance", "terminated", "unmapped_value", "temporary", "seasonal", "volunteer"])
444
444
  unless validator.valid?(employment_type)
445
445
  fail ArgumentError, "invalid value for \"employment_type\", must be one of #{validator.allowable_values}."
446
446
  end
@@ -165,9 +165,9 @@ module StackOneHRIS
165
165
  return false if @employee_id.nil?
166
166
  pay_period_validator = EnumAttributeValidator.new('String', ["hour", "day", "week", "every_two_weeks", "month", "quarter", "every_six_months", "year", "unmapped_value"])
167
167
  return false unless pay_period_validator.valid?(@pay_period)
168
- pay_frequency_validator = EnumAttributeValidator.new('String', ["hourly", "weekly", "bi_weekly", "monthly", "quarterly", "semi_annually", "yearly", "thirteen_monthly", "pro_rata", "unmapped_value"])
168
+ pay_frequency_validator = EnumAttributeValidator.new('String', ["hourly", "weekly", "bi_weekly", "four_weekly", "semi_monthly", "monthly", "quarterly", "semi_annually", "yearly", "thirteen_monthly", "pro_rata", "unmapped_value"])
169
169
  return false unless pay_frequency_validator.valid?(@pay_frequency)
170
- employment_type_validator = EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "intern", "freelance", "terminated", "unmapped_value"])
170
+ employment_type_validator = EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "intern", "freelance", "terminated", "unmapped_value", "temporary", "seasonal", "volunteer"])
171
171
  return false unless employment_type_validator.valid?(@employment_type)
172
172
  true
173
173
  end
@@ -185,7 +185,7 @@ module StackOneHRIS
185
185
  # Custom attribute writer method checking allowed values (enum).
186
186
  # @param [Object] pay_frequency Object to be assigned
187
187
  def pay_frequency=(pay_frequency)
188
- validator = EnumAttributeValidator.new('String', ["hourly", "weekly", "bi_weekly", "monthly", "quarterly", "semi_annually", "yearly", "thirteen_monthly", "pro_rata", "unmapped_value"])
188
+ validator = EnumAttributeValidator.new('String', ["hourly", "weekly", "bi_weekly", "four_weekly", "semi_monthly", "monthly", "quarterly", "semi_annually", "yearly", "thirteen_monthly", "pro_rata", "unmapped_value"])
189
189
  unless validator.valid?(pay_frequency)
190
190
  fail ArgumentError, "invalid value for \"pay_frequency\", must be one of #{validator.allowable_values}."
191
191
  end
@@ -195,7 +195,7 @@ module StackOneHRIS
195
195
  # Custom attribute writer method checking allowed values (enum).
196
196
  # @param [Object] employment_type Object to be assigned
197
197
  def employment_type=(employment_type)
198
- validator = EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "intern", "freelance", "terminated", "unmapped_value"])
198
+ validator = EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "intern", "freelance", "terminated", "unmapped_value", "temporary", "seasonal", "volunteer"])
199
199
  unless validator.valid?(employment_type)
200
200
  fail ArgumentError, "invalid value for \"employment_type\", must be one of #{validator.allowable_values}."
201
201
  end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.5.0
11
11
  =end
12
12
 
13
13
  module StackOneHRIS
14
- VERSION = '1.3.1'
14
+ VERSION = '1.3.2'
15
15
  end
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.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - StackOne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-21 00:00:00.000000000 Z
11
+ date: 2023-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus