merge_hris_client 2.0.3 → 2.0.4
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 +4 -4
- data/README.md +4 -4
- data/docs/BankInfo.md +1 -1
- data/docs/BankInfoApi.md +7 -3
- data/docs/Benefit.md +1 -1
- data/docs/BenefitsApi.md +2 -2
- data/docs/CompaniesApi.md +2 -2
- data/docs/Company.md +1 -1
- data/docs/DataPassthroughRequest.md +3 -1
- data/docs/Deduction.md +1 -1
- data/docs/DeductionsApi.md +2 -2
- data/docs/Earning.md +1 -1
- data/docs/EmployeePayrollRun.md +1 -1
- data/docs/EmployeePayrollRunsApi.md +2 -2
- data/docs/EmployeesApi.md +7 -3
- data/docs/Employment.md +1 -1
- data/docs/EmploymentsApi.md +7 -3
- data/docs/Group.md +1 -1
- data/docs/GroupsApi.md +7 -3
- data/docs/Location.md +1 -1
- data/docs/LocationsApi.md +7 -3
- data/docs/PayGroup.md +1 -1
- data/docs/PayGroupsApi.md +2 -2
- data/docs/PayrollRun.md +1 -1
- data/docs/PayrollRunsApi.md +7 -3
- data/docs/RemoteResponse.md +2 -0
- data/docs/Tax.md +1 -1
- data/docs/Team.md +1 -1
- data/docs/TeamsApi.md +2 -2
- data/docs/TimeOffApi.md +7 -3
- data/docs/TimeOffBalance.md +1 -1
- data/docs/TimeOffBalancesApi.md +7 -3
- data/lib/merge_hris_client/api/bank_info_api.rb +16 -2
- data/lib/merge_hris_client/api/benefits_api.rb +2 -2
- data/lib/merge_hris_client/api/companies_api.rb +2 -2
- data/lib/merge_hris_client/api/deductions_api.rb +2 -2
- data/lib/merge_hris_client/api/employee_payroll_runs_api.rb +2 -2
- data/lib/merge_hris_client/api/employees_api.rb +16 -2
- data/lib/merge_hris_client/api/employments_api.rb +16 -2
- data/lib/merge_hris_client/api/groups_api.rb +16 -2
- data/lib/merge_hris_client/api/locations_api.rb +16 -2
- data/lib/merge_hris_client/api/pay_groups_api.rb +2 -2
- data/lib/merge_hris_client/api/payroll_runs_api.rb +16 -2
- data/lib/merge_hris_client/api/teams_api.rb +2 -2
- data/lib/merge_hris_client/api/time_off_api.rb +16 -2
- data/lib/merge_hris_client/api/time_off_balances_api.rb +16 -2
- data/lib/merge_hris_client/models/bank_info.rb +1 -1
- data/lib/merge_hris_client/models/benefit.rb +1 -1
- data/lib/merge_hris_client/models/company.rb +1 -1
- data/lib/merge_hris_client/models/data_passthrough_request.rb +14 -5
- data/lib/merge_hris_client/models/deduction.rb +1 -1
- data/lib/merge_hris_client/models/earning.rb +1 -1
- data/lib/merge_hris_client/models/employee_payroll_run.rb +1 -1
- data/lib/merge_hris_client/models/employment.rb +1 -1
- data/lib/merge_hris_client/models/encoding_enum.rb +1 -0
- data/lib/merge_hris_client/models/group.rb +1 -1
- data/lib/merge_hris_client/models/location.rb +1 -1
- data/lib/merge_hris_client/models/pay_group.rb +1 -1
- data/lib/merge_hris_client/models/payroll_run.rb +1 -1
- data/lib/merge_hris_client/models/remote_response.rb +13 -2
- data/lib/merge_hris_client/models/tax.rb +1 -1
- data/lib/merge_hris_client/models/team.rb +1 -1
- data/lib/merge_hris_client/models/time_off_balance.rb +1 -1
- data/lib/merge_hris_client/version.rb +1 -1
- data/spec/api/bank_info_api_spec.rb +3 -1
- data/spec/api/benefits_api_spec.rb +1 -1
- data/spec/api/companies_api_spec.rb +1 -1
- data/spec/api/deductions_api_spec.rb +1 -1
- data/spec/api/employee_payroll_runs_api_spec.rb +1 -1
- data/spec/api/employees_api_spec.rb +3 -1
- data/spec/api/employments_api_spec.rb +3 -1
- data/spec/api/groups_api_spec.rb +3 -1
- data/spec/api/locations_api_spec.rb +3 -1
- data/spec/api/pay_groups_api_spec.rb +1 -1
- data/spec/api/payroll_runs_api_spec.rb +3 -1
- data/spec/api/teams_api_spec.rb +1 -1
- data/spec/api/time_off_api_spec.rb +3 -1
- data/spec/api/time_off_balances_api_spec.rb +3 -1
- data/spec/models/bank_info_spec.rb +0 -6
- data/spec/models/benefit_spec.rb +0 -6
- data/spec/models/company_spec.rb +0 -6
- data/spec/models/data_passthrough_request_spec.rb +6 -0
- data/spec/models/deduction_spec.rb +0 -6
- data/spec/models/earning_spec.rb +0 -6
- data/spec/models/employee_payroll_run_spec.rb +0 -6
- data/spec/models/employee_spec.rb +0 -6
- data/spec/models/employment_spec.rb +0 -6
- data/spec/models/group_spec.rb +0 -6
- data/spec/models/location_spec.rb +0 -6
- data/spec/models/pay_group_spec.rb +0 -6
- data/spec/models/payroll_run_spec.rb +0 -6
- data/spec/models/remote_response_spec.rb +6 -0
- data/spec/models/tax_spec.rb +0 -6
- data/spec/models/team_spec.rb +0 -6
- data/spec/models/time_off_balance_spec.rb +0 -6
- data/spec/models/time_off_spec.rb +0 -6
- metadata +102 -102
@@ -28,7 +28,7 @@ module MergeHRISClient
|
|
28
28
|
|
29
29
|
attr_accessor :remote_data
|
30
30
|
|
31
|
-
# Indicates whether or not this object has been deleted
|
31
|
+
# Indicates whether or not this object has been deleted by third party webhooks.
|
32
32
|
attr_accessor :remote_was_deleted
|
33
33
|
|
34
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -34,7 +34,7 @@ module MergeHRISClient
|
|
34
34
|
|
35
35
|
attr_accessor :remote_data
|
36
36
|
|
37
|
-
# Indicates whether or not this object has been deleted
|
37
|
+
# Indicates whether or not this object has been deleted by third party webhooks.
|
38
38
|
attr_accessor :remote_was_deleted
|
39
39
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -43,12 +43,13 @@ describe 'BankInfoApi' do
|
|
43
43
|
# @option opts [String] :cursor The pagination cursor value.
|
44
44
|
# @option opts [String] :employee_id If provided, will only return bank accounts for this employee.
|
45
45
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
46
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
46
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
47
47
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
48
48
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
49
49
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
50
50
|
# @option opts [String] :order_by Overrides the default ordering for this endpoint.
|
51
51
|
# @option opts [Integer] :page_size Number of results to return per page.
|
52
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
52
53
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
53
54
|
# @return [PaginatedBankInfoList]
|
54
55
|
describe 'bank_info_list test' do
|
@@ -64,6 +65,7 @@ describe 'BankInfoApi' do
|
|
64
65
|
# @param [Hash] opts the optional parameters
|
65
66
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
66
67
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
68
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
67
69
|
# @return [BankInfo]
|
68
70
|
describe 'bank_info_retrieve test' do
|
69
71
|
it 'should work' do
|
@@ -41,7 +41,7 @@ describe 'BenefitsApi' do
|
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
42
42
|
# @option opts [String] :employee_id If provided, will only return time off for this employee.
|
43
43
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
44
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
44
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
45
45
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
46
46
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
47
47
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
@@ -39,7 +39,7 @@ describe 'CompaniesApi' do
|
|
39
39
|
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
40
40
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
42
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
42
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
43
43
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
44
44
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
45
45
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
@@ -40,7 +40,7 @@ describe 'DeductionsApi' do
|
|
40
40
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
42
42
|
# @option opts [String] :employee_payroll_run_id If provided, will only return deductions for this employee payroll run.
|
43
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
43
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
44
44
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
45
45
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
46
46
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
@@ -43,7 +43,7 @@ describe 'EmployeePayrollRunsApi' do
|
|
43
43
|
# @option opts [Time] :ended_after If provided, will only return employee payroll runs ended after this datetime.
|
44
44
|
# @option opts [Time] :ended_before If provided, will only return employee payroll runs ended before this datetime.
|
45
45
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
46
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
46
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
47
47
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
48
48
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
49
49
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
@@ -71,7 +71,7 @@ describe 'EmployeesApi' do
|
|
71
71
|
# @option opts [String] :employment_status If provided, will only return employees with this employment status.
|
72
72
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
73
73
|
# @option opts [String] :first_name If provided, will only return employees with this first name.
|
74
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
74
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
75
75
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
76
76
|
# @option opts [Boolean] :include_sensitive_fields Whether to include sensitive fields (such as social security numbers) in the response.
|
77
77
|
# @option opts [String] :last_name If provided, will only return employees with this last name.
|
@@ -81,6 +81,7 @@ describe 'EmployeesApi' do
|
|
81
81
|
# @option opts [Integer] :page_size Number of results to return per page.
|
82
82
|
# @option opts [String] :pay_group_id If provided, will only return employees for this pay group
|
83
83
|
# @option opts [String] :personal_email If provided, will only return Employees with this personal email
|
84
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
84
85
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
85
86
|
# @option opts [String] :team_id If provided, will only return employees for this team.
|
86
87
|
# @option opts [String] :work_email If provided, will only return Employees with this work email
|
@@ -111,6 +112,7 @@ describe 'EmployeesApi' do
|
|
111
112
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
112
113
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
113
114
|
# @option opts [Boolean] :include_sensitive_fields Whether to include sensitive fields (such as social security numbers) in the response.
|
115
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
114
116
|
# @return [Employee]
|
115
117
|
describe 'employees_retrieve test' do
|
116
118
|
it 'should work' do
|
@@ -41,12 +41,13 @@ describe 'EmploymentsApi' do
|
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
42
42
|
# @option opts [String] :employee_id If provided, will only return employments for this employee.
|
43
43
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
44
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
44
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
45
45
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
46
46
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
47
47
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
48
48
|
# @option opts [String] :order_by Overrides the default ordering for this endpoint.
|
49
49
|
# @option opts [Integer] :page_size Number of results to return per page.
|
50
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
50
51
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
51
52
|
# @return [PaginatedEmploymentList]
|
52
53
|
describe 'employments_list test' do
|
@@ -62,6 +63,7 @@ describe 'EmploymentsApi' do
|
|
62
63
|
# @param [Hash] opts the optional parameters
|
63
64
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
64
65
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
66
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
65
67
|
# @return [Employment]
|
66
68
|
describe 'employments_retrieve test' do
|
67
69
|
it 'should work' do
|
data/spec/api/groups_api_spec.rb
CHANGED
@@ -39,11 +39,12 @@ describe 'GroupsApi' do
|
|
39
39
|
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
40
40
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
42
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
42
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
43
43
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
44
44
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
45
45
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
46
46
|
# @option opts [Integer] :page_size Number of results to return per page.
|
47
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
47
48
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
48
49
|
# @return [PaginatedGroupList]
|
49
50
|
describe 'groups_list test' do
|
@@ -58,6 +59,7 @@ describe 'GroupsApi' do
|
|
58
59
|
# @param id
|
59
60
|
# @param [Hash] opts the optional parameters
|
60
61
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
62
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
61
63
|
# @return [Group]
|
62
64
|
describe 'groups_retrieve test' do
|
63
65
|
it 'should work' do
|
@@ -39,11 +39,12 @@ describe 'LocationsApi' do
|
|
39
39
|
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
40
40
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
42
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
42
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
43
43
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
44
44
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
45
45
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
46
46
|
# @option opts [Integer] :page_size Number of results to return per page.
|
47
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
47
48
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
48
49
|
# @return [PaginatedLocationList]
|
49
50
|
describe 'locations_list test' do
|
@@ -58,6 +59,7 @@ describe 'LocationsApi' do
|
|
58
59
|
# @param id
|
59
60
|
# @param [Hash] opts the optional parameters
|
60
61
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
62
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
61
63
|
# @return [Location]
|
62
64
|
describe 'locations_retrieve test' do
|
63
65
|
it 'should work' do
|
@@ -39,7 +39,7 @@ describe 'PayGroupsApi' do
|
|
39
39
|
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
40
40
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
42
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
42
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
43
43
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
44
44
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
45
45
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
@@ -41,11 +41,12 @@ describe 'PayrollRunsApi' do
|
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
42
42
|
# @option opts [Time] :ended_after If provided, will only return payroll runs ended after this datetime.
|
43
43
|
# @option opts [Time] :ended_before If provided, will only return payroll runs ended before this datetime.
|
44
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
44
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
45
45
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
46
46
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
47
47
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
48
48
|
# @option opts [Integer] :page_size Number of results to return per page.
|
49
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
49
50
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
50
51
|
# @option opts [String] :run_type If provided, will only return PayrollRun's with this status. Options: ('REGULAR', 'OFF_CYCLE', 'CORRECTION', 'TERMINATION', 'SIGN_ON_BONUS')
|
51
52
|
# @option opts [Time] :started_after If provided, will only return payroll runs started after this datetime.
|
@@ -63,6 +64,7 @@ describe 'PayrollRunsApi' do
|
|
63
64
|
# @param id
|
64
65
|
# @param [Hash] opts the optional parameters
|
65
66
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
67
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
66
68
|
# @return [PayrollRun]
|
67
69
|
describe 'payroll_runs_retrieve test' do
|
68
70
|
it 'should work' do
|
data/spec/api/teams_api_spec.rb
CHANGED
@@ -40,7 +40,7 @@ describe 'TeamsApi' do
|
|
40
40
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
42
42
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
43
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
43
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
44
44
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
45
45
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
46
46
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
@@ -56,11 +56,12 @@ describe 'TimeOffApi' do
|
|
56
56
|
# @option opts [String] :cursor The pagination cursor value.
|
57
57
|
# @option opts [String] :employee_id If provided, will only return time off for this employee.
|
58
58
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
59
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
59
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
60
60
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
61
61
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
62
62
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
63
63
|
# @option opts [Integer] :page_size Number of results to return per page.
|
64
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
64
65
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
65
66
|
# @option opts [String] :request_type If provided, will only return TimeOff with this request type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT')
|
66
67
|
# @option opts [String] :status If provided, will only return TimeOff with this status. Options: ('REQUESTED', 'APPROVED', 'DECLINED', 'CANCELLED', 'DELETED')
|
@@ -89,6 +90,7 @@ describe 'TimeOffApi' do
|
|
89
90
|
# @param [Hash] opts the optional parameters
|
90
91
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
91
92
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
93
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
92
94
|
# @return [TimeOff]
|
93
95
|
describe 'time_off_retrieve test' do
|
94
96
|
it 'should work' do
|
@@ -41,12 +41,13 @@ describe 'TimeOffBalancesApi' do
|
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
42
42
|
# @option opts [String] :employee_id If provided, will only return time off balances for this employee.
|
43
43
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
44
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
44
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
45
45
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
46
46
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
47
47
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
48
48
|
# @option opts [Integer] :page_size Number of results to return per page.
|
49
49
|
# @option opts [String] :policy_type If provided, will only return TimeOffBalance with this policy type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT')
|
50
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
50
51
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
51
52
|
# @return [PaginatedTimeOffBalanceList]
|
52
53
|
describe 'time_off_balances_list test' do
|
@@ -62,6 +63,7 @@ describe 'TimeOffBalancesApi' do
|
|
62
63
|
# @param [Hash] opts the optional parameters
|
63
64
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
64
65
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
66
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
65
67
|
# @return [TimeOffBalance]
|
66
68
|
describe 'time_off_balances_retrieve test' do
|
67
69
|
it 'should work' do
|
@@ -73,12 +73,6 @@ describe MergeHRISClient::BankInfo do
|
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
76
|
-
describe 'test attribute "remote_data"' do
|
77
|
-
it 'should work' do
|
78
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
-
end
|
80
|
-
end
|
81
|
-
|
82
76
|
describe 'test attribute "remote_was_deleted"' do
|
83
77
|
it 'should work' do
|
84
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/models/benefit_spec.rb
CHANGED
@@ -67,12 +67,6 @@ describe MergeHRISClient::Benefit do
|
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
70
|
-
describe 'test attribute "remote_data"' do
|
71
|
-
it 'should work' do
|
72
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
-
end
|
74
|
-
end
|
75
|
-
|
76
70
|
describe 'test attribute "remote_was_deleted"' do
|
77
71
|
it 'should work' do
|
78
72
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/models/company_spec.rb
CHANGED
@@ -55,12 +55,6 @@ describe MergeHRISClient::Company do
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
-
describe 'test attribute "remote_data"' do
|
59
|
-
it 'should work' do
|
60
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
58
|
describe 'test attribute "remote_was_deleted"' do
|
65
59
|
it 'should work' do
|
66
60
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -67,4 +67,10 @@ describe MergeHRISClient::DataPassthroughRequest do
|
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
70
|
+
describe 'test attribute "normalize_response"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
70
76
|
end
|
@@ -55,12 +55,6 @@ describe MergeHRISClient::Deduction do
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
-
describe 'test attribute "remote_data"' do
|
59
|
-
it 'should work' do
|
60
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
58
|
describe 'test attribute "remote_was_deleted"' do
|
65
59
|
it 'should work' do
|
66
60
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/models/earning_spec.rb
CHANGED
@@ -49,12 +49,6 @@ describe MergeHRISClient::Earning do
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
-
describe 'test attribute "remote_data"' do
|
53
|
-
it 'should work' do
|
54
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
52
|
describe 'test attribute "remote_was_deleted"' do
|
59
53
|
it 'should work' do
|
60
54
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -97,12 +97,6 @@ describe MergeHRISClient::EmployeePayrollRun do
|
|
97
97
|
end
|
98
98
|
end
|
99
99
|
|
100
|
-
describe 'test attribute "remote_data"' do
|
101
|
-
it 'should work' do
|
102
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
-
end
|
104
|
-
end
|
105
|
-
|
106
100
|
describe 'test attribute "remote_was_deleted"' do
|
107
101
|
it 'should work' do
|
108
102
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -187,12 +187,6 @@ describe MergeHRISClient::Employee do
|
|
187
187
|
end
|
188
188
|
end
|
189
189
|
|
190
|
-
describe 'test attribute "remote_data"' do
|
191
|
-
it 'should work' do
|
192
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
193
|
-
end
|
194
|
-
end
|
195
|
-
|
196
190
|
describe 'test attribute "custom_fields"' do
|
197
191
|
it 'should work' do
|
198
192
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -97,12 +97,6 @@ describe MergeHRISClient::Employment do
|
|
97
97
|
end
|
98
98
|
end
|
99
99
|
|
100
|
-
describe 'test attribute "remote_data"' do
|
101
|
-
it 'should work' do
|
102
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
-
end
|
104
|
-
end
|
105
|
-
|
106
100
|
describe 'test attribute "remote_was_deleted"' do
|
107
101
|
it 'should work' do
|
108
102
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/models/group_spec.rb
CHANGED
@@ -55,12 +55,6 @@ describe MergeHRISClient::Group do
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
-
describe 'test attribute "remote_data"' do
|
59
|
-
it 'should work' do
|
60
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
58
|
describe 'test attribute "remote_was_deleted"' do
|
65
59
|
it 'should work' do
|
66
60
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -91,12 +91,6 @@ describe MergeHRISClient::Location do
|
|
91
91
|
end
|
92
92
|
end
|
93
93
|
|
94
|
-
describe 'test attribute "remote_data"' do
|
95
|
-
it 'should work' do
|
96
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
|
-
end
|
98
|
-
end
|
99
|
-
|
100
94
|
describe 'test attribute "remote_was_deleted"' do
|
101
95
|
it 'should work' do
|
102
96
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -43,12 +43,6 @@ describe MergeHRISClient::PayGroup do
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
-
describe 'test attribute "remote_data"' do
|
47
|
-
it 'should work' do
|
48
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
46
|
describe 'test attribute "remote_was_deleted"' do
|
53
47
|
it 'should work' do
|
54
48
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -67,12 +67,6 @@ describe MergeHRISClient::PayrollRun do
|
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
70
|
-
describe 'test attribute "remote_data"' do
|
71
|
-
it 'should work' do
|
72
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
-
end
|
74
|
-
end
|
75
|
-
|
76
70
|
describe 'test attribute "remote_was_deleted"' do
|
77
71
|
it 'should work' do
|
78
72
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -49,6 +49,12 @@ describe MergeHRISClient::RemoteResponse do
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
+
describe 'test attribute "response_headers"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
52
58
|
describe 'test attribute "headers"' do
|
53
59
|
it 'should work' do
|
54
60
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/models/tax_spec.rb
CHANGED
@@ -55,12 +55,6 @@ describe MergeHRISClient::Tax do
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
-
describe 'test attribute "remote_data"' do
|
59
|
-
it 'should work' do
|
60
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
58
|
describe 'test attribute "remote_was_deleted"' do
|
65
59
|
it 'should work' do
|
66
60
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/models/team_spec.rb
CHANGED
@@ -49,12 +49,6 @@ describe MergeHRISClient::Team do
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
-
describe 'test attribute "remote_data"' do
|
53
|
-
it 'should work' do
|
54
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
52
|
describe 'test attribute "remote_was_deleted"' do
|
59
53
|
it 'should work' do
|
60
54
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -61,12 +61,6 @@ describe MergeHRISClient::TimeOffBalance do
|
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
64
|
-
describe 'test attribute "remote_data"' do
|
65
|
-
it 'should work' do
|
66
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
-
end
|
68
|
-
end
|
69
|
-
|
70
64
|
describe 'test attribute "remote_was_deleted"' do
|
71
65
|
it 'should work' do
|
72
66
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -91,12 +91,6 @@ describe MergeHRISClient::TimeOff do
|
|
91
91
|
end
|
92
92
|
end
|
93
93
|
|
94
|
-
describe 'test attribute "remote_data"' do
|
95
|
-
it 'should work' do
|
96
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
|
-
end
|
98
|
-
end
|
99
|
-
|
100
94
|
describe 'test attribute "remote_was_deleted"' do
|
101
95
|
it 'should work' do
|
102
96
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|