merge_hris_client 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/BankInfo.md +3 -1
- data/docs/Benefit.md +3 -1
- data/docs/Company.md +3 -1
- data/docs/Deduction.md +3 -1
- data/docs/Earning.md +4 -2
- data/docs/Employee.md +3 -1
- data/docs/EmployeePayrollRun.md +3 -1
- data/docs/EmployeesApi.md +8 -0
- data/docs/Employment.md +4 -2
- data/docs/EndUserDetailsRequest.md +1 -1
- data/docs/ForceResyncApi.md +4 -4
- data/docs/Group.md +3 -1
- data/docs/LinkedAccountsApi.md +14 -14
- data/docs/Location.md +4 -2
- data/docs/PayGroup.md +3 -1
- data/docs/PayrollRun.md +3 -1
- data/docs/Tax.md +4 -2
- data/docs/Team.md +3 -1
- data/docs/TimeOff.md +3 -1
- data/docs/TimeOffBalance.md +3 -1
- data/lib/merge_hris_client/api/bank_info_api.rb +0 -1
- data/lib/merge_hris_client/api/employees_api.rb +16 -0
- data/lib/merge_hris_client/api/force_resync_api.rb +3 -3
- data/lib/merge_hris_client/api/linked_accounts_api.rb +14 -14
- data/lib/merge_hris_client/models/account_details_and_actions_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/account_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/bank_info.rb +15 -5
- data/lib/merge_hris_client/models/benefit.rb +15 -5
- data/lib/merge_hris_client/models/categories_enum.rb +2 -1
- data/lib/merge_hris_client/models/category_enum.rb +2 -1
- data/lib/merge_hris_client/models/company.rb +15 -5
- data/lib/merge_hris_client/models/country_enum.rb +0 -1
- data/lib/merge_hris_client/models/deduction.rb +15 -5
- data/lib/merge_hris_client/models/earning.rb +18 -6
- data/lib/merge_hris_client/models/earning_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/employee.rb +14 -5
- data/lib/merge_hris_client/models/employee_payroll_run.rb +15 -5
- data/lib/merge_hris_client/models/employment.rb +15 -5
- data/lib/merge_hris_client/models/employment_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/employment_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/encoding_enum.rb +0 -1
- data/lib/merge_hris_client/models/ethnicity_enum.rb +0 -1
- data/lib/merge_hris_client/models/flsa_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/gender_enum.rb +0 -1
- data/lib/merge_hris_client/models/group.rb +15 -5
- data/lib/merge_hris_client/models/group_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/issue_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/location.rb +15 -5
- data/lib/merge_hris_client/models/location_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/marital_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/method_enum.rb +0 -1
- data/lib/merge_hris_client/models/pay_currency_enum.rb +0 -1
- data/lib/merge_hris_client/models/pay_frequency_enum.rb +0 -1
- data/lib/merge_hris_client/models/pay_group.rb +15 -5
- data/lib/merge_hris_client/models/pay_period_enum.rb +0 -1
- data/lib/merge_hris_client/models/payroll_run.rb +15 -5
- data/lib/merge_hris_client/models/policy_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/reason_enum.rb +0 -1
- data/lib/merge_hris_client/models/request_format_enum.rb +0 -1
- data/lib/merge_hris_client/models/request_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/run_state_enum.rb +0 -1
- data/lib/merge_hris_client/models/run_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/sync_status_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/tax.rb +18 -6
- data/lib/merge_hris_client/models/team.rb +15 -5
- data/lib/merge_hris_client/models/time_off.rb +14 -5
- data/lib/merge_hris_client/models/time_off_balance.rb +15 -5
- data/lib/merge_hris_client/models/time_off_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/units_enum.rb +0 -1
- data/lib/merge_hris_client/version.rb +1 -1
- data/spec/api/employees_api_spec.rb +4 -0
- data/spec/api/force_resync_api_spec.rb +1 -1
- data/spec/api/linked_accounts_api_spec.rb +7 -7
- data/spec/api/webhook_receivers_api_spec.rb +58 -0
- data/spec/models/bank_info_spec.rb +6 -0
- data/spec/models/benefit_spec.rb +6 -0
- data/spec/models/company_spec.rb +6 -0
- data/spec/models/deduction_spec.rb +6 -0
- data/spec/models/earning_spec.rb +6 -0
- data/spec/models/employee_payroll_run_spec.rb +6 -0
- data/spec/models/employee_spec.rb +6 -0
- data/spec/models/employment_spec.rb +6 -0
- data/spec/models/group_spec.rb +6 -0
- data/spec/models/linked_account_status_spec.rb +40 -0
- data/spec/models/location_spec.rb +6 -0
- data/spec/models/meta_response_spec.rb +52 -0
- data/spec/models/pay_group_spec.rb +6 -0
- data/spec/models/payroll_run_spec.rb +6 -0
- data/spec/models/tax_spec.rb +6 -0
- data/spec/models/team_spec.rb +6 -0
- data/spec/models/time_off_balance_spec.rb +6 -0
- data/spec/models/time_off_spec.rb +6 -0
- data/spec/models/webhook_receiver_request_spec.rb +46 -0
- data/spec/models/webhook_receiver_spec.rb +46 -0
- metadata +107 -110
- data/docs/BenefitPlanTypeEnum.md +0 -15
- data/docs/TypeEnum.md +0 -15
- data/lib/merge_hris_client/api/time_off_balance_api.rb +0 -196
- data/lib/merge_hris_client/models/benefit_plan_type_enum.rb +0 -56
- data/lib/merge_hris_client/models/data_passthrough.rb +0 -262
- data/lib/merge_hris_client/models/end_user_details.rb +0 -289
- data/lib/merge_hris_client/models/remote_key_for_regeneration.rb +0 -224
- data/lib/merge_hris_client/models/state_enum.rb +0 -93
- data/lib/merge_hris_client/models/type_enum.rb +0 -38
- data/spec/models/benefit_plan_type_enum_spec.rb +0 -28
- data/spec/models/type_enum_spec.rb +0 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c73e43de1aa010c37a121b4edad287773e0ffdb7b1de22ba15749a75b9836f0c
|
4
|
+
data.tar.gz: d324ddf4785b69c6dc3ac3ceeb36411334b7adc35f3aa6aa34f5d078a58572c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f538c0f8271d2698b7f4229313267fbd0d5b19801040b07958c28e8c6631aee77be89f43f6130c1d233b5b206f7ab238bb4850fa8829dea88f663225299a158
|
7
|
+
data.tar.gz: bccabbf556031e866b1e83eae70d5011d1ad0eb5b1e621b59b30ccef1e7ebcebce5f6622bed1a41ce5a5fcb8ee38caad52a64483ff63a4551e15cd1b6e83d102
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ The unified API for building rich integrations with multiple HR Information Syst
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 1.0
|
10
|
-
- Package version: 2.0.
|
10
|
+
- Package version: 2.0.3
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://www.merge.dev/](https://www.merge.dev/)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build merge_hris_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./merge_hris_client-2.0.
|
27
|
+
gem install ./merge_hris_client-2.0.3.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./merge_hris_client-2.0.
|
30
|
+
(for development, run `gem install --dev ./merge_hris_client-2.0.3.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'merge_hris_client', '~> 2.0.
|
36
|
+
gem 'merge_hris_client', '~> 2.0.3'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/BankInfo.md
CHANGED
@@ -13,6 +13,7 @@
|
|
13
13
|
| **account_type** | [**AccountTypeEnum**](AccountTypeEnum.md) | The bank account type | [optional] |
|
14
14
|
| **remote_created_at** | **Time** | When the matching bank object was created in the third party system. | [optional] |
|
15
15
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
16
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted on the third-party. | [optional][readonly] |
|
16
17
|
|
17
18
|
## Example
|
18
19
|
|
@@ -28,7 +29,8 @@ instance = MergeHRISClient::BankInfo.new(
|
|
28
29
|
bank_name: Chase,
|
29
30
|
account_type: CHECKING,
|
30
31
|
remote_created_at: 2021-12-06T10:11:26Z,
|
31
|
-
remote_data: [{"path":"/bank-info","data":["Varies by platform"]}]
|
32
|
+
remote_data: [{"path":"/bank-info","data":["Varies by platform"]}],
|
33
|
+
remote_was_deleted: null
|
32
34
|
)
|
33
35
|
```
|
34
36
|
|
data/docs/Benefit.md
CHANGED
@@ -12,6 +12,7 @@
|
|
12
12
|
| **employee_contribution** | **Float** | The employee's contribution. | [optional] |
|
13
13
|
| **company_contribution** | **Float** | The company's contribution. | [optional] |
|
14
14
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
15
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted on the third-party. | [optional][readonly] |
|
15
16
|
|
16
17
|
## Example
|
17
18
|
|
@@ -26,7 +27,8 @@ instance = MergeHRISClient::Benefit.new(
|
|
26
27
|
benefit_plan_type: MEDICAL,
|
27
28
|
employee_contribution: 23.65,
|
28
29
|
company_contribution: 150.0,
|
29
|
-
remote_data: [{"path":"/benefits","data":["Varies by platform"]}]
|
30
|
+
remote_data: [{"path":"/benefits","data":["Varies by platform"]}],
|
31
|
+
remote_was_deleted: null
|
30
32
|
)
|
31
33
|
```
|
32
34
|
|
data/docs/Company.md
CHANGED
@@ -10,6 +10,7 @@
|
|
10
10
|
| **display_name** | **String** | The company's display name. | [optional] |
|
11
11
|
| **eins** | **Array<String>** | The company's Employer Identification Numbers. | [optional] |
|
12
12
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
13
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted on the third-party. | [optional][readonly] |
|
13
14
|
|
14
15
|
## Example
|
15
16
|
|
@@ -22,7 +23,8 @@ instance = MergeHRISClient::Company.new(
|
|
22
23
|
legal_name: Waystar Royco, Inc.,
|
23
24
|
display_name: Waystar Royco,
|
24
25
|
eins: ["12-3456789","12-3451111","11-0011000"],
|
25
|
-
remote_data: [{"path":"/companies","data":["Varies by platform"]}]
|
26
|
+
remote_data: [{"path":"/companies","data":["Varies by platform"]}],
|
27
|
+
remote_was_deleted: null
|
26
28
|
)
|
27
29
|
```
|
28
30
|
|
data/docs/Deduction.md
CHANGED
@@ -10,6 +10,7 @@
|
|
10
10
|
| **employee_deduction** | **Float** | The amount the employee is deducting. | [optional] |
|
11
11
|
| **company_deduction** | **Float** | The amount the company is deducting. | [optional] |
|
12
12
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
13
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted on the third-party. | [optional] |
|
13
14
|
|
14
15
|
## Example
|
15
16
|
|
@@ -22,7 +23,8 @@ instance = MergeHRISClient::Deduction.new(
|
|
22
23
|
name: Social Security,
|
23
24
|
employee_deduction: 34.54,
|
24
25
|
company_deduction: 78.78,
|
25
|
-
remote_data: [{"path":"/payroll-deduction","data":["Varies by platform"]}]
|
26
|
+
remote_data: [{"path":"/payroll-deduction","data":["Varies by platform"]}],
|
27
|
+
remote_was_deleted: null
|
26
28
|
)
|
27
29
|
```
|
28
30
|
|
data/docs/Earning.md
CHANGED
@@ -8,7 +8,8 @@
|
|
8
8
|
| **employee_payroll_run** | **String** | | [optional] |
|
9
9
|
| **amount** | **Float** | The amount earned. | [optional] |
|
10
10
|
| **type** | [**EarningTypeEnum**](EarningTypeEnum.md) | The type of earning. | [optional] |
|
11
|
-
| **remote_data** | **String
|
11
|
+
| **remote_data** | **Array<Hash<String, AnyType>>** | | [optional] |
|
12
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted on the third-party. | [optional] |
|
12
13
|
|
13
14
|
## Example
|
14
15
|
|
@@ -20,7 +21,8 @@ instance = MergeHRISClient::Earning.new(
|
|
20
21
|
employee_payroll_run: 35347df1-95e7-46e2-93cc-66f1191edca5,
|
21
22
|
amount: 1002.34,
|
22
23
|
type: SALARY,
|
23
|
-
remote_data: [{"path":"/payroll-earnings","data":["Varies by platform"]}]
|
24
|
+
remote_data: [{"path":"/payroll-earnings","data":["Varies by platform"]}],
|
25
|
+
remote_was_deleted: null
|
24
26
|
)
|
25
27
|
```
|
26
28
|
|
data/docs/Employee.md
CHANGED
@@ -33,6 +33,7 @@
|
|
33
33
|
| **avatar** | **String** | The URL of the employee's avatar image. | [optional] |
|
34
34
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
35
35
|
| **custom_fields** | [**Hash<String, AnyType>**](AnyType.md) | Custom fields configured for a given model. | [optional] |
|
36
|
+
| **remote_was_deleted** | **Boolean** | | [optional][readonly] |
|
36
37
|
|
37
38
|
## Example
|
38
39
|
|
@@ -68,7 +69,8 @@ instance = MergeHRISClient::Employee.new(
|
|
68
69
|
termination_date: 2021-10-12T00:00Z,
|
69
70
|
avatar: http://alturl.com/h2h8m,
|
70
71
|
remote_data: [{"path":"/people","data":["Varies by platform"]}],
|
71
|
-
custom_fields: null
|
72
|
+
custom_fields: null,
|
73
|
+
remote_was_deleted: null
|
72
74
|
)
|
73
75
|
```
|
74
76
|
|
data/docs/EmployeePayrollRun.md
CHANGED
@@ -17,6 +17,7 @@
|
|
17
17
|
| **deductions** | [**Array<Deduction>**](Deduction.md) | | [optional][readonly] |
|
18
18
|
| **taxes** | [**Array<Tax>**](Tax.md) | | [optional][readonly] |
|
19
19
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
20
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted on the third-party. | [optional][readonly] |
|
20
21
|
|
21
22
|
## Example
|
22
23
|
|
@@ -36,7 +37,8 @@ instance = MergeHRISClient::EmployeePayrollRun.new(
|
|
36
37
|
earnings: [{"employee_payroll_run":"35347df1-95e7-46e2-93cc-66f1191edca5","amount":1002.34,"type":"SALARY"},{"employee_payroll_run":"35347df1-95e7-46e2-93cc-66f1191edca5","amount":8342.34,"type":"OVERTIME"}],
|
37
38
|
deductions: [{"employee_payroll_run":"35347df1-95e7-46e2-93cc-66f1191edca5","name":"Social Security","employee_deduction":34.54,"company_deduction":78.78}],
|
38
39
|
taxes: [{"employee_payroll_run":"35347df1-95e7-46e2-93cc-66f1191edca5","name":"California State Income Tax","amount":100.25,"employer_tax":"False"}],
|
39
|
-
remote_data: [{"path":"/employee-payroll","data":["Varies by platform"]}]
|
40
|
+
remote_data: [{"path":"/employee-payroll","data":["Varies by platform"]}],
|
41
|
+
remote_was_deleted: null
|
40
42
|
)
|
41
43
|
```
|
42
44
|
|
data/docs/EmployeesApi.md
CHANGED
@@ -193,10 +193,14 @@ opts = {
|
|
193
193
|
created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
|
194
194
|
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
195
195
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
196
|
+
display_full_name: 'display_full_name_example', # String | If provided, will only return employees with this display name.
|
197
|
+
employment_status: 'ACTIVE', # String | If provided, will only return employees with this employment status.
|
196
198
|
expand: 'company', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
199
|
+
first_name: 'first_name_example', # String | If provided, will only return employees with this first name.
|
197
200
|
include_deleted_data: true, # Boolean | Whether to include data that was deleted in the third-party service.
|
198
201
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
199
202
|
include_sensitive_fields: true, # Boolean | Whether to include sensitive fields (such as social security numbers) in the response.
|
203
|
+
last_name: 'last_name_example', # String | If provided, will only return employees with this last name.
|
200
204
|
manager_id: 'manager_id_example', # String | If provided, will only return employees for this manager.
|
201
205
|
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
|
202
206
|
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
|
@@ -245,10 +249,14 @@ end
|
|
245
249
|
| **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
|
246
250
|
| **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
247
251
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
252
|
+
| **display_full_name** | **String** | If provided, will only return employees with this display name. | [optional] |
|
253
|
+
| **employment_status** | **String** | If provided, will only return employees with this employment status. | [optional] |
|
248
254
|
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
255
|
+
| **first_name** | **String** | If provided, will only return employees with this first name. | [optional] |
|
249
256
|
| **include_deleted_data** | **Boolean** | Whether to include data that was deleted in the third-party service. | [optional] |
|
250
257
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
251
258
|
| **include_sensitive_fields** | **Boolean** | Whether to include sensitive fields (such as social security numbers) in the response. | [optional] |
|
259
|
+
| **last_name** | **String** | If provided, will only return employees with this last name. | [optional] |
|
252
260
|
| **manager_id** | **String** | If provided, will only return employees for this manager. | [optional] |
|
253
261
|
| **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
|
254
262
|
| **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
|
data/docs/Employment.md
CHANGED
@@ -17,6 +17,7 @@
|
|
17
17
|
| **effective_date** | **Time** | The position's effective date. | [optional] |
|
18
18
|
| **employment_type** | [**EmploymentTypeEnum**](EmploymentTypeEnum.md) | The position's type of employment. | [optional] |
|
19
19
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
20
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted on the third-party. | [optional][readonly] |
|
20
21
|
|
21
22
|
## Example
|
22
23
|
|
@@ -28,7 +29,7 @@ instance = MergeHRISClient::Employment.new(
|
|
28
29
|
remote_id: 19202938,
|
29
30
|
employee: 0958cbc6-6040-430a-848e-aafacbadf4ae,
|
30
31
|
job_title: Executive Assistant to Tom Wambsgans,
|
31
|
-
pay_rate:
|
32
|
+
pay_rate: 50000.00,
|
32
33
|
pay_period: YEAR,
|
33
34
|
pay_frequency: BIWEEKLY,
|
34
35
|
pay_currency: USD,
|
@@ -36,7 +37,8 @@ instance = MergeHRISClient::Employment.new(
|
|
36
37
|
flsa_status: EXEMPT,
|
37
38
|
effective_date: 2023-10-06T18:42:34Z,
|
38
39
|
employment_type: FULL TIME,
|
39
|
-
remote_data: [{"path":"/jobs","data":["Varies by platform"]}]
|
40
|
+
remote_data: [{"path":"/jobs","data":["Varies by platform"]}],
|
41
|
+
remote_was_deleted: null
|
40
42
|
)
|
41
43
|
```
|
42
44
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
| **end_user_email_address** | **String** | | |
|
8
8
|
| **end_user_organization_name** | **String** | | |
|
9
9
|
| **end_user_origin_id** | **String** | | |
|
10
|
-
| **categories** | [**Array<
|
10
|
+
| **categories** | [**Array<CategoriesEnum>**](CategoriesEnum.md) | | |
|
11
11
|
| **integration** | **String** | The slug of a specific pre-selected integration for this linking flow token, for examples of slugs see https://www.merge.dev/docs/basics/integration-metadata | [optional] |
|
12
12
|
| **link_expiry_mins** | **Integer** | An integer number of minutes between [30, 720] for how long this token is valid. Defaults to 30 | [optional][default to 30] |
|
13
13
|
|
data/docs/ForceResyncApi.md
CHANGED
@@ -9,7 +9,7 @@ All URIs are relative to *https://api.merge.dev/api/hris/v1*
|
|
9
9
|
|
10
10
|
## sync_status_resync_create
|
11
11
|
|
12
|
-
> <SyncStatus
|
12
|
+
> <Array<SyncStatus>> sync_status_resync_create(x_account_token)
|
13
13
|
|
14
14
|
|
15
15
|
|
@@ -44,7 +44,7 @@ end
|
|
44
44
|
|
45
45
|
This returns an Array which contains the response data, status code and headers.
|
46
46
|
|
47
|
-
> <Array(<SyncStatus
|
47
|
+
> <Array(<Array<SyncStatus>>, Integer, Hash)> sync_status_resync_create_with_http_info(x_account_token)
|
48
48
|
|
49
49
|
```ruby
|
50
50
|
begin
|
@@ -52,7 +52,7 @@ begin
|
|
52
52
|
data, status_code, headers = api_instance.sync_status_resync_create_with_http_info(x_account_token)
|
53
53
|
p status_code # => 2xx
|
54
54
|
p headers # => { ... }
|
55
|
-
p data # => <SyncStatus
|
55
|
+
p data # => <Array<SyncStatus>>
|
56
56
|
rescue MergeHRISClient::ApiError => e
|
57
57
|
puts "Error when calling ForceResyncApi->sync_status_resync_create_with_http_info: #{e}"
|
58
58
|
end
|
@@ -66,7 +66,7 @@ end
|
|
66
66
|
|
67
67
|
### Return type
|
68
68
|
|
69
|
-
[**SyncStatus
|
69
|
+
[**Array<SyncStatus>**](SyncStatus.md)
|
70
70
|
|
71
71
|
### Authorization
|
72
72
|
|
data/docs/Group.md
CHANGED
@@ -10,6 +10,7 @@
|
|
10
10
|
| **name** | **String** | The group name. | [optional] |
|
11
11
|
| **type** | [**GroupTypeEnum**](GroupTypeEnum.md) | The group type | [optional] |
|
12
12
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
13
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted on the third-party. | [optional][readonly] |
|
13
14
|
|
14
15
|
## Example
|
15
16
|
|
@@ -22,7 +23,8 @@ instance = MergeHRISClient::Group.new(
|
|
22
23
|
parent_group: 2ef51b11-2c4e-4b02-8d1d-50592d9e96ef,
|
23
24
|
name: COST_CENTER_US,
|
24
25
|
type: COST_CENTER,
|
25
|
-
remote_data: [{"path":"/group","data":["Varies by platform"]}]
|
26
|
+
remote_data: [{"path":"/group","data":["Varies by platform"]}],
|
27
|
+
remote_was_deleted: null
|
26
28
|
)
|
27
29
|
```
|
28
30
|
|
data/docs/LinkedAccountsApi.md
CHANGED
@@ -32,14 +32,14 @@ api_instance = MergeHRISClient::LinkedAccountsApi.new
|
|
32
32
|
opts = {
|
33
33
|
category: 'accounting', # String |
|
34
34
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
35
|
-
end_user_email_address: 'end_user_email_address_example', # String |
|
36
|
-
end_user_organization_name: 'end_user_organization_name_example', # String |
|
37
|
-
end_user_origin_id: 'end_user_origin_id_example', # String |
|
38
|
-
end_user_origin_ids: 'end_user_origin_ids_example', # String | Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once
|
35
|
+
end_user_email_address: 'end_user_email_address_example', # String | If provided, will only return linked accounts associated with the given email address.
|
36
|
+
end_user_organization_name: 'end_user_organization_name_example', # String | If provided, will only return linked accounts associated with the given organization name.
|
37
|
+
end_user_origin_id: 'end_user_origin_id_example', # String | If provided, will only return linked accounts associated with the given origin ID.
|
38
|
+
end_user_origin_ids: 'end_user_origin_ids_example', # String | Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once.
|
39
39
|
id: TODO, # String |
|
40
|
-
ids: 'ids_example', # String | Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once
|
41
|
-
integration_name: 'integration_name_example', # String |
|
42
|
-
is_test_account: 'is_test_account_example', # String | If included, will only include test linked accounts. If not included, will only include non-test linked accounts
|
40
|
+
ids: 'ids_example', # String | Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once.
|
41
|
+
integration_name: 'integration_name_example', # String | If provided, will only return linked accounts associated with the given integration name.
|
42
|
+
is_test_account: 'is_test_account_example', # String | If included, will only include test linked accounts. If not included, will only include non-test linked accounts.
|
43
43
|
page_size: 56, # Integer | Number of results to return per page.
|
44
44
|
status: 'status_example' # String | Filter by status. Options: `COMPLETE`, `INCOMPLETE`, `RELINK_NEEDED`
|
45
45
|
}
|
@@ -77,14 +77,14 @@ end
|
|
77
77
|
| ---- | ---- | ----------- | ----- |
|
78
78
|
| **category** | **String** | | [optional] |
|
79
79
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
80
|
-
| **end_user_email_address** | **String** |
|
81
|
-
| **end_user_organization_name** | **String** |
|
82
|
-
| **end_user_origin_id** | **String** |
|
83
|
-
| **end_user_origin_ids** | **String** | Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once | [optional] |
|
80
|
+
| **end_user_email_address** | **String** | If provided, will only return linked accounts associated with the given email address. | [optional] |
|
81
|
+
| **end_user_organization_name** | **String** | If provided, will only return linked accounts associated with the given organization name. | [optional] |
|
82
|
+
| **end_user_origin_id** | **String** | If provided, will only return linked accounts associated with the given origin ID. | [optional] |
|
83
|
+
| **end_user_origin_ids** | **String** | Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. | [optional] |
|
84
84
|
| **id** | [**String**](.md) | | [optional] |
|
85
|
-
| **ids** | **String** | Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once | [optional] |
|
86
|
-
| **integration_name** | **String** |
|
87
|
-
| **is_test_account** | **String** | If included, will only include test linked accounts. If not included, will only include non-test linked accounts | [optional] |
|
85
|
+
| **ids** | **String** | Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. | [optional] |
|
86
|
+
| **integration_name** | **String** | If provided, will only return linked accounts associated with the given integration name. | [optional] |
|
87
|
+
| **is_test_account** | **String** | If included, will only include test linked accounts. If not included, will only include non-test linked accounts. | [optional] |
|
88
88
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
89
89
|
| **status** | **String** | Filter by status. Options: `COMPLETE`, `INCOMPLETE`, `RELINK_NEEDED` | [optional] |
|
90
90
|
|
data/docs/Location.md
CHANGED
@@ -16,6 +16,7 @@
|
|
16
16
|
| **country** | [**CountryEnum**](CountryEnum.md) | The location's country. | [optional] |
|
17
17
|
| **location_type** | [**LocationTypeEnum**](LocationTypeEnum.md) | The location's type. Can be either WORK or HOME | [optional] |
|
18
18
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
19
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted on the third-party. | [optional][readonly] |
|
19
20
|
|
20
21
|
## Example
|
21
22
|
|
@@ -23,7 +24,7 @@
|
|
23
24
|
require 'merge_hris_client'
|
24
25
|
|
25
26
|
instance = MergeHRISClient::Location.new(
|
26
|
-
id:
|
27
|
+
id: f5e6a151-f44e-449a-afb1-8fd781905958,
|
27
28
|
remote_id: 93018402,
|
28
29
|
name: NYC Office,
|
29
30
|
phone_number: +1111111111,
|
@@ -34,7 +35,8 @@ instance = MergeHRISClient::Location.new(
|
|
34
35
|
zip_code: 10027,
|
35
36
|
country: USA,
|
36
37
|
location_type: WORK,
|
37
|
-
remote_data: [{"path":"/locations","data":["Varies by platform"]}]
|
38
|
+
remote_data: [{"path":"/locations","data":["Varies by platform"]}],
|
39
|
+
remote_was_deleted: null
|
38
40
|
)
|
39
41
|
```
|
40
42
|
|
data/docs/PayGroup.md
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
9
9
|
| **pay_group_name** | **String** | The pay group name. | [optional] |
|
10
10
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
11
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted on the third-party. | [optional][readonly] |
|
11
12
|
|
12
13
|
## Example
|
13
14
|
|
@@ -18,7 +19,8 @@ instance = MergeHRISClient::PayGroup.new(
|
|
18
19
|
id: fd1e0fb5-8f92-4ec9-9f32-179cf732867d,
|
19
20
|
remote_id: 800293,
|
20
21
|
pay_group_name: contractor,
|
21
|
-
remote_data: [{"path":"/pay-group","data":["Varies by platform"]}]
|
22
|
+
remote_data: [{"path":"/pay-group","data":["Varies by platform"]}],
|
23
|
+
remote_was_deleted: null
|
22
24
|
)
|
23
25
|
```
|
24
26
|
|
data/docs/PayrollRun.md
CHANGED
@@ -12,6 +12,7 @@
|
|
12
12
|
| **end_date** | **Time** | The day and time the payroll run ended. | [optional] |
|
13
13
|
| **check_date** | **Time** | The day and time the payroll run was checked. | [optional] |
|
14
14
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
15
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted on the third-party. | [optional][readonly] |
|
15
16
|
|
16
17
|
## Example
|
17
18
|
|
@@ -26,7 +27,8 @@ instance = MergeHRISClient::PayrollRun.new(
|
|
26
27
|
start_date: 2020-11-08T00:00Z,
|
27
28
|
end_date: 2020-11-15T00:00Z,
|
28
29
|
check_date: 2020-11-15T00:00Z,
|
29
|
-
remote_data: [{"path":"/payroll","data":["Varies by platform"]}]
|
30
|
+
remote_data: [{"path":"/payroll","data":["Varies by platform"]}],
|
31
|
+
remote_was_deleted: null
|
30
32
|
)
|
31
33
|
```
|
32
34
|
|
data/docs/Tax.md
CHANGED
@@ -9,7 +9,8 @@
|
|
9
9
|
| **name** | **String** | The tax's name. | [optional] |
|
10
10
|
| **amount** | **Float** | The tax amount. | [optional] |
|
11
11
|
| **employer_tax** | **Boolean** | Whether or not the employer is responsible for paying the tax. | [optional] |
|
12
|
-
| **remote_data** | **String
|
12
|
+
| **remote_data** | **Array<Hash<String, AnyType>>** | | [optional] |
|
13
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted on the third-party. | [optional] |
|
13
14
|
|
14
15
|
## Example
|
15
16
|
|
@@ -22,7 +23,8 @@ instance = MergeHRISClient::Tax.new(
|
|
22
23
|
name: California State Income Tax,
|
23
24
|
amount: 100.25,
|
24
25
|
employer_tax: false,
|
25
|
-
remote_data: [{"path":"/tax","data":["Varies by platform"]}]
|
26
|
+
remote_data: [{"path":"/tax","data":["Varies by platform"]}],
|
27
|
+
remote_was_deleted: null
|
26
28
|
)
|
27
29
|
```
|
28
30
|
|
data/docs/Team.md
CHANGED
@@ -9,6 +9,7 @@
|
|
9
9
|
| **name** | **String** | The team's name. | [optional] |
|
10
10
|
| **parent_team** | **String** | | [optional] |
|
11
11
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
12
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted on the third-party. | [optional][readonly] |
|
12
13
|
|
13
14
|
## Example
|
14
15
|
|
@@ -20,7 +21,8 @@ instance = MergeHRISClient::Team.new(
|
|
20
21
|
remote_id: 19202938,
|
21
22
|
name: Engineering,
|
22
23
|
parent_team: 1b998423-db0a-4037-a4cf-f79c60cb67b3,
|
23
|
-
remote_data: [{"path":"/teams","data":["Varies by platform"]}]
|
24
|
+
remote_data: [{"path":"/teams","data":["Varies by platform"]}],
|
25
|
+
remote_was_deleted: null
|
24
26
|
)
|
25
27
|
```
|
26
28
|
|
data/docs/TimeOff.md
CHANGED
@@ -16,6 +16,7 @@
|
|
16
16
|
| **start_time** | **Time** | The day and time of the start of the time requested off. | [optional] |
|
17
17
|
| **end_time** | **Time** | The day and time of the end of the time requested off. | [optional] |
|
18
18
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
19
|
+
| **remote_was_deleted** | **Boolean** | | [optional][readonly] |
|
19
20
|
|
20
21
|
## Example
|
21
22
|
|
@@ -34,7 +35,8 @@ instance = MergeHRISClient::TimeOff.new(
|
|
34
35
|
request_type: VACATION,
|
35
36
|
start_time: 2020-11-10T00:00Z,
|
36
37
|
end_time: 2020-11-17T00:00Z,
|
37
|
-
remote_data: [{"path":"/leave","data":["Varies by platform"]}]
|
38
|
+
remote_data: [{"path":"/leave","data":["Varies by platform"]}],
|
39
|
+
remote_was_deleted: null
|
38
40
|
)
|
39
41
|
```
|
40
42
|
|
data/docs/TimeOffBalance.md
CHANGED
@@ -11,6 +11,7 @@
|
|
11
11
|
| **used** | **Float** | The amount of PTO used in terms of hours. | [optional] |
|
12
12
|
| **policy_type** | [**PolicyTypeEnum**](PolicyTypeEnum.md) | The policy type of this time off balance. | [optional] |
|
13
13
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
14
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted on the third-party. | [optional][readonly] |
|
14
15
|
|
15
16
|
## Example
|
16
17
|
|
@@ -24,7 +25,8 @@ instance = MergeHRISClient::TimeOffBalance.new(
|
|
24
25
|
balance: 60.0,
|
25
26
|
used: 45.0,
|
26
27
|
policy_type: VACATION,
|
27
|
-
remote_data: [{"path":"/leave","data":["Varies by platform"]}]
|
28
|
+
remote_data: [{"path":"/leave","data":["Varies by platform"]}],
|
29
|
+
remote_was_deleted: null
|
28
30
|
)
|
29
31
|
```
|
30
32
|
|
@@ -90,7 +90,6 @@ module MergeHRISClient
|
|
90
90
|
query_params[:'created_after'] = opts[:'created_after'] if !opts[:'created_after'].nil?
|
91
91
|
query_params[:'created_before'] = opts[:'created_before'] if !opts[:'created_before'].nil?
|
92
92
|
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
93
|
-
query_params[:'employee'] = opts[:'employee'] if !opts[:'employee'].nil?
|
94
93
|
query_params[:'employee_id'] = opts[:'employee_id'] if !opts[:'employee_id'].nil?
|
95
94
|
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
96
95
|
query_params[:'include_deleted_data'] = opts[:'include_deleted_data'] if !opts[:'include_deleted_data'].nil?
|
@@ -178,10 +178,14 @@ module MergeHRISClient
|
|
178
178
|
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
179
179
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
180
180
|
# @option opts [String] :cursor The pagination cursor value.
|
181
|
+
# @option opts [String] :display_full_name If provided, will only return employees with this display name.
|
182
|
+
# @option opts [String] :employment_status If provided, will only return employees with this employment status.
|
181
183
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
184
|
+
# @option opts [String] :first_name If provided, will only return employees with this first name.
|
182
185
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted in the third-party service.
|
183
186
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
184
187
|
# @option opts [Boolean] :include_sensitive_fields Whether to include sensitive fields (such as social security numbers) in the response.
|
188
|
+
# @option opts [String] :last_name If provided, will only return employees with this last name.
|
185
189
|
# @option opts [String] :manager_id If provided, will only return employees for this manager.
|
186
190
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
187
191
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
@@ -205,10 +209,14 @@ module MergeHRISClient
|
|
205
209
|
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
206
210
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
207
211
|
# @option opts [String] :cursor The pagination cursor value.
|
212
|
+
# @option opts [String] :display_full_name If provided, will only return employees with this display name.
|
213
|
+
# @option opts [String] :employment_status If provided, will only return employees with this employment status.
|
208
214
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
215
|
+
# @option opts [String] :first_name If provided, will only return employees with this first name.
|
209
216
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted in the third-party service.
|
210
217
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
211
218
|
# @option opts [Boolean] :include_sensitive_fields Whether to include sensitive fields (such as social security numbers) in the response.
|
219
|
+
# @option opts [String] :last_name If provided, will only return employees with this last name.
|
212
220
|
# @option opts [String] :manager_id If provided, will only return employees for this manager.
|
213
221
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
214
222
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
@@ -228,6 +236,10 @@ module MergeHRISClient
|
|
228
236
|
if @api_client.config.client_side_validation && x_account_token.nil?
|
229
237
|
fail ArgumentError, "Missing the required parameter 'x_account_token' when calling EmployeesApi.employees_list"
|
230
238
|
end
|
239
|
+
allowable_values = ["ACTIVE", "INACTIVE", "PENDING"]
|
240
|
+
if @api_client.config.client_side_validation && opts[:'employment_status'] && !allowable_values.include?(opts[:'employment_status'])
|
241
|
+
fail ArgumentError, "invalid value for \"employment_status\", must be one of #{allowable_values}"
|
242
|
+
end
|
231
243
|
allowable_values = ["company", "company,pay_group", "employments", "employments,company", "employments,company,pay_group", "employments,groups", "employments,groups,company", "employments,groups,company,pay_group", "employments,groups,home_location", "employments,groups,home_location,company", "employments,groups,home_location,company,pay_group", "employments,groups,home_location,manager", "employments,groups,home_location,manager,company", "employments,groups,home_location,manager,company,pay_group", "employments,groups,home_location,manager,pay_group", "employments,groups,home_location,manager,team", "employments,groups,home_location,manager,team,company", "employments,groups,home_location,manager,team,company,pay_group", "employments,groups,home_location,manager,team,pay_group", "employments,groups,home_location,pay_group", "employments,groups,home_location,team", "employments,groups,home_location,team,company", "employments,groups,home_location,team,company,pay_group", "employments,groups,home_location,team,pay_group", "employments,groups,home_location,work_location", "employments,groups,home_location,work_location,company", "employments,groups,home_location,work_location,company,pay_group", "employments,groups,home_location,work_location,manager", "employments,groups,home_location,work_location,manager,company", "employments,groups,home_location,work_location,manager,company,pay_group", "employments,groups,home_location,work_location,manager,pay_group", "employments,groups,home_location,work_location,manager,team", "employments,groups,home_location,work_location,manager,team,company", "employments,groups,home_location,work_location,manager,team,company,pay_group", "employments,groups,home_location,work_location,manager,team,pay_group", "employments,groups,home_location,work_location,pay_group", "employments,groups,home_location,work_location,team", "employments,groups,home_location,work_location,team,company", "employments,groups,home_location,work_location,team,company,pay_group", "employments,groups,home_location,work_location,team,pay_group", "employments,groups,manager", "employments,groups,manager,company", "employments,groups,manager,company,pay_group", "employments,groups,manager,pay_group", "employments,groups,manager,team", "employments,groups,manager,team,company", "employments,groups,manager,team,company,pay_group", "employments,groups,manager,team,pay_group", "employments,groups,pay_group", "employments,groups,team", "employments,groups,team,company", "employments,groups,team,company,pay_group", "employments,groups,team,pay_group", "employments,groups,work_location", "employments,groups,work_location,company", "employments,groups,work_location,company,pay_group", "employments,groups,work_location,manager", "employments,groups,work_location,manager,company", "employments,groups,work_location,manager,company,pay_group", "employments,groups,work_location,manager,pay_group", "employments,groups,work_location,manager,team", "employments,groups,work_location,manager,team,company", "employments,groups,work_location,manager,team,company,pay_group", "employments,groups,work_location,manager,team,pay_group", "employments,groups,work_location,pay_group", "employments,groups,work_location,team", "employments,groups,work_location,team,company", "employments,groups,work_location,team,company,pay_group", "employments,groups,work_location,team,pay_group", "employments,home_location", "employments,home_location,company", "employments,home_location,company,pay_group", "employments,home_location,manager", "employments,home_location,manager,company", "employments,home_location,manager,company,pay_group", "employments,home_location,manager,pay_group", "employments,home_location,manager,team", "employments,home_location,manager,team,company", "employments,home_location,manager,team,company,pay_group", "employments,home_location,manager,team,pay_group", "employments,home_location,pay_group", "employments,home_location,team", "employments,home_location,team,company", "employments,home_location,team,company,pay_group", "employments,home_location,team,pay_group", "employments,home_location,work_location", "employments,home_location,work_location,company", "employments,home_location,work_location,company,pay_group", "employments,home_location,work_location,manager", "employments,home_location,work_location,manager,company", "employments,home_location,work_location,manager,company,pay_group", "employments,home_location,work_location,manager,pay_group", "employments,home_location,work_location,manager,team", "employments,home_location,work_location,manager,team,company", "employments,home_location,work_location,manager,team,company,pay_group", "employments,home_location,work_location,manager,team,pay_group", "employments,home_location,work_location,pay_group", "employments,home_location,work_location,team", "employments,home_location,work_location,team,company", "employments,home_location,work_location,team,company,pay_group", "employments,home_location,work_location,team,pay_group", "employments,manager", "employments,manager,company", "employments,manager,company,pay_group", "employments,manager,pay_group", "employments,manager,team", "employments,manager,team,company", "employments,manager,team,company,pay_group", "employments,manager,team,pay_group", "employments,pay_group", "employments,team", "employments,team,company", "employments,team,company,pay_group", "employments,team,pay_group", "employments,work_location", "employments,work_location,company", "employments,work_location,company,pay_group", "employments,work_location,manager", "employments,work_location,manager,company", "employments,work_location,manager,company,pay_group", "employments,work_location,manager,pay_group", "employments,work_location,manager,team", "employments,work_location,manager,team,company", "employments,work_location,manager,team,company,pay_group", "employments,work_location,manager,team,pay_group", "employments,work_location,pay_group", "employments,work_location,team", "employments,work_location,team,company", "employments,work_location,team,company,pay_group", "employments,work_location,team,pay_group", "groups", "groups,company", "groups,company,pay_group", "groups,home_location", "groups,home_location,company", "groups,home_location,company,pay_group", "groups,home_location,manager", "groups,home_location,manager,company", "groups,home_location,manager,company,pay_group", "groups,home_location,manager,pay_group", "groups,home_location,manager,team", "groups,home_location,manager,team,company", "groups,home_location,manager,team,company,pay_group", "groups,home_location,manager,team,pay_group", "groups,home_location,pay_group", "groups,home_location,team", "groups,home_location,team,company", "groups,home_location,team,company,pay_group", "groups,home_location,team,pay_group", "groups,home_location,work_location", "groups,home_location,work_location,company", "groups,home_location,work_location,company,pay_group", "groups,home_location,work_location,manager", "groups,home_location,work_location,manager,company", "groups,home_location,work_location,manager,company,pay_group", "groups,home_location,work_location,manager,pay_group", "groups,home_location,work_location,manager,team", "groups,home_location,work_location,manager,team,company", "groups,home_location,work_location,manager,team,company,pay_group", "groups,home_location,work_location,manager,team,pay_group", "groups,home_location,work_location,pay_group", "groups,home_location,work_location,team", "groups,home_location,work_location,team,company", "groups,home_location,work_location,team,company,pay_group", "groups,home_location,work_location,team,pay_group", "groups,manager", "groups,manager,company", "groups,manager,company,pay_group", "groups,manager,pay_group", "groups,manager,team", "groups,manager,team,company", "groups,manager,team,company,pay_group", "groups,manager,team,pay_group", "groups,pay_group", "groups,team", "groups,team,company", "groups,team,company,pay_group", "groups,team,pay_group", "groups,work_location", "groups,work_location,company", "groups,work_location,company,pay_group", "groups,work_location,manager", "groups,work_location,manager,company", "groups,work_location,manager,company,pay_group", "groups,work_location,manager,pay_group", "groups,work_location,manager,team", "groups,work_location,manager,team,company", "groups,work_location,manager,team,company,pay_group", "groups,work_location,manager,team,pay_group", "groups,work_location,pay_group", "groups,work_location,team", "groups,work_location,team,company", "groups,work_location,team,company,pay_group", "groups,work_location,team,pay_group", "home_location", "home_location,company", "home_location,company,pay_group", "home_location,manager", "home_location,manager,company", "home_location,manager,company,pay_group", "home_location,manager,pay_group", "home_location,manager,team", "home_location,manager,team,company", "home_location,manager,team,company,pay_group", "home_location,manager,team,pay_group", "home_location,pay_group", "home_location,team", "home_location,team,company", "home_location,team,company,pay_group", "home_location,team,pay_group", "home_location,work_location", "home_location,work_location,company", "home_location,work_location,company,pay_group", "home_location,work_location,manager", "home_location,work_location,manager,company", "home_location,work_location,manager,company,pay_group", "home_location,work_location,manager,pay_group", "home_location,work_location,manager,team", "home_location,work_location,manager,team,company", "home_location,work_location,manager,team,company,pay_group", "home_location,work_location,manager,team,pay_group", "home_location,work_location,pay_group", "home_location,work_location,team", "home_location,work_location,team,company", "home_location,work_location,team,company,pay_group", "home_location,work_location,team,pay_group", "manager", "manager,company", "manager,company,pay_group", "manager,pay_group", "manager,team", "manager,team,company", "manager,team,company,pay_group", "manager,team,pay_group", "pay_group", "team", "team,company", "team,company,pay_group", "team,pay_group", "work_location", "work_location,company", "work_location,company,pay_group", "work_location,manager", "work_location,manager,company", "work_location,manager,company,pay_group", "work_location,manager,pay_group", "work_location,manager,team", "work_location,manager,team,company", "work_location,manager,team,company,pay_group", "work_location,manager,team,pay_group", "work_location,pay_group", "work_location,team", "work_location,team,company", "work_location,team,company,pay_group", "work_location,team,pay_group"]
|
232
244
|
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
233
245
|
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
@@ -241,10 +253,14 @@ module MergeHRISClient
|
|
241
253
|
query_params[:'created_after'] = opts[:'created_after'] if !opts[:'created_after'].nil?
|
242
254
|
query_params[:'created_before'] = opts[:'created_before'] if !opts[:'created_before'].nil?
|
243
255
|
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
256
|
+
query_params[:'display_full_name'] = opts[:'display_full_name'] if !opts[:'display_full_name'].nil?
|
257
|
+
query_params[:'employment_status'] = opts[:'employment_status'] if !opts[:'employment_status'].nil?
|
244
258
|
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
259
|
+
query_params[:'first_name'] = opts[:'first_name'] if !opts[:'first_name'].nil?
|
245
260
|
query_params[:'include_deleted_data'] = opts[:'include_deleted_data'] if !opts[:'include_deleted_data'].nil?
|
246
261
|
query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
|
247
262
|
query_params[:'include_sensitive_fields'] = opts[:'include_sensitive_fields'] if !opts[:'include_sensitive_fields'].nil?
|
263
|
+
query_params[:'last_name'] = opts[:'last_name'] if !opts[:'last_name'].nil?
|
248
264
|
query_params[:'manager_id'] = opts[:'manager_id'] if !opts[:'manager_id'].nil?
|
249
265
|
query_params[:'modified_after'] = opts[:'modified_after'] if !opts[:'modified_after'].nil?
|
250
266
|
query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
|
@@ -22,7 +22,7 @@ module MergeHRISClient
|
|
22
22
|
# Force re-sync of all models. This is only available for organizations on Merge's Grow and Expand plans.
|
23
23
|
# @param x_account_token [String] Token identifying the end user.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @return [SyncStatus]
|
25
|
+
# @return [Array<SyncStatus>]
|
26
26
|
def sync_status_resync_create(x_account_token, opts = {})
|
27
27
|
data, _status_code, _headers = sync_status_resync_create_with_http_info(x_account_token, opts)
|
28
28
|
data
|
@@ -31,7 +31,7 @@ module MergeHRISClient
|
|
31
31
|
# Force re-sync of all models. This is only available for organizations on Merge's Grow and Expand plans.
|
32
32
|
# @param x_account_token [String] Token identifying the end user.
|
33
33
|
# @param [Hash] opts the optional parameters
|
34
|
-
# @return [Array<(SyncStatus
|
34
|
+
# @return [Array<(Array<SyncStatus>, Integer, Hash)>] Array<SyncStatus> data, response status code and response headers
|
35
35
|
def sync_status_resync_create_with_http_info(x_account_token, opts = {})
|
36
36
|
if @api_client.config.debugging
|
37
37
|
@api_client.config.logger.debug 'Calling API: ForceResyncApi.sync_status_resync_create ...'
|
@@ -59,7 +59,7 @@ module MergeHRISClient
|
|
59
59
|
post_body = opts[:debug_body]
|
60
60
|
|
61
61
|
# return_type
|
62
|
-
return_type = opts[:debug_return_type] || 'SyncStatus'
|
62
|
+
return_type = opts[:debug_return_type] || 'Array<SyncStatus>'
|
63
63
|
|
64
64
|
# auth_names
|
65
65
|
auth_names = opts[:debug_auth_names] || ['tokenAuth']
|