merge_hris_client 2.0.3 → 2.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/AccountDetails.md +3 -1
  4. data/docs/AccountDetailsAndActions.md +2 -0
  5. data/docs/BankInfo.md +1 -1
  6. data/docs/BankInfoApi.md +7 -3
  7. data/docs/Benefit.md +1 -1
  8. data/docs/BenefitsApi.md +2 -2
  9. data/docs/CompaniesApi.md +2 -2
  10. data/docs/Company.md +1 -1
  11. data/docs/DataPassthroughRequest.md +3 -1
  12. data/docs/Deduction.md +1 -1
  13. data/docs/DeductionsApi.md +2 -2
  14. data/docs/Earning.md +1 -3
  15. data/docs/Employee.md +4 -0
  16. data/docs/EmployeePayrollRun.md +1 -1
  17. data/docs/EmployeePayrollRunsApi.md +2 -2
  18. data/docs/EmployeeRequest.md +4 -0
  19. data/docs/EmployeesApi.md +7 -3
  20. data/docs/Employment.md +1 -1
  21. data/docs/EmploymentsApi.md +7 -3
  22. data/docs/EndUserDetailsRequest.md +9 -7
  23. data/docs/Group.md +1 -1
  24. data/docs/GroupsApi.md +7 -3
  25. data/docs/LinkToken.md +3 -1
  26. data/docs/LinkedAccountsApi.md +2 -0
  27. data/docs/Location.md +1 -1
  28. data/docs/LocationsApi.md +7 -3
  29. data/docs/PayGroup.md +1 -1
  30. data/docs/PayGroupsApi.md +2 -2
  31. data/docs/PayrollRun.md +1 -1
  32. data/docs/PayrollRunsApi.md +7 -3
  33. data/docs/RemoteResponse.md +5 -1
  34. data/docs/ResponseTypeEnum.md +15 -0
  35. data/docs/SyncStatus.md +2 -2
  36. data/docs/SyncStatusApi.md +1 -1
  37. data/docs/Tax.md +1 -3
  38. data/docs/Team.md +1 -1
  39. data/docs/TeamsApi.md +2 -2
  40. data/docs/TimeOffApi.md +7 -3
  41. data/docs/TimeOffBalance.md +1 -1
  42. data/docs/TimeOffBalancesApi.md +7 -3
  43. data/lib/merge_hris_client/api/bank_info_api.rb +16 -2
  44. data/lib/merge_hris_client/api/benefits_api.rb +2 -2
  45. data/lib/merge_hris_client/api/companies_api.rb +2 -2
  46. data/lib/merge_hris_client/api/deductions_api.rb +2 -2
  47. data/lib/merge_hris_client/api/employee_payroll_runs_api.rb +2 -2
  48. data/lib/merge_hris_client/api/employees_api.rb +16 -2
  49. data/lib/merge_hris_client/api/employments_api.rb +16 -2
  50. data/lib/merge_hris_client/api/groups_api.rb +16 -2
  51. data/lib/merge_hris_client/api/linked_accounts_api.rb +3 -0
  52. data/lib/merge_hris_client/api/locations_api.rb +16 -2
  53. data/lib/merge_hris_client/api/pay_groups_api.rb +2 -2
  54. data/lib/merge_hris_client/api/payroll_runs_api.rb +16 -2
  55. data/lib/merge_hris_client/api/sync_status_api.rb +2 -2
  56. data/lib/merge_hris_client/api/teams_api.rb +2 -2
  57. data/lib/merge_hris_client/api/time_off_api.rb +16 -2
  58. data/lib/merge_hris_client/api/time_off_balances_api.rb +16 -2
  59. data/lib/merge_hris_client/models/account_details.rb +15 -4
  60. data/lib/merge_hris_client/models/account_details_and_actions.rb +12 -1
  61. data/lib/merge_hris_client/models/account_details_and_actions_status_enum.rb +17 -7
  62. data/lib/merge_hris_client/models/account_type_enum.rb +17 -7
  63. data/lib/merge_hris_client/models/bank_info.rb +1 -1
  64. data/lib/merge_hris_client/models/benefit.rb +1 -1
  65. data/lib/merge_hris_client/models/categories_enum.rb +17 -7
  66. data/lib/merge_hris_client/models/category_enum.rb +17 -7
  67. data/lib/merge_hris_client/models/company.rb +1 -1
  68. data/lib/merge_hris_client/models/country_enum.rb +17 -7
  69. data/lib/merge_hris_client/models/data_passthrough_request.rb +15 -6
  70. data/lib/merge_hris_client/models/deduction.rb +1 -1
  71. data/lib/merge_hris_client/models/earning.rb +2 -14
  72. data/lib/merge_hris_client/models/earning_type_enum.rb +17 -7
  73. data/lib/merge_hris_client/models/employee.rb +24 -2
  74. data/lib/merge_hris_client/models/employee_payroll_run.rb +1 -1
  75. data/lib/merge_hris_client/models/employee_request.rb +24 -2
  76. data/lib/merge_hris_client/models/employment.rb +1 -1
  77. data/lib/merge_hris_client/models/employment_status_enum.rb +17 -7
  78. data/lib/merge_hris_client/models/employment_type_enum.rb +17 -7
  79. data/lib/merge_hris_client/models/encoding_enum.rb +18 -7
  80. data/lib/merge_hris_client/models/end_user_details_request.rb +28 -11
  81. data/lib/merge_hris_client/models/ethnicity_enum.rb +17 -7
  82. data/lib/merge_hris_client/models/flsa_status_enum.rb +17 -7
  83. data/lib/merge_hris_client/models/gender_enum.rb +17 -7
  84. data/lib/merge_hris_client/models/group.rb +1 -1
  85. data/lib/merge_hris_client/models/group_type_enum.rb +17 -7
  86. data/lib/merge_hris_client/models/issue.rb +1 -1
  87. data/lib/merge_hris_client/models/issue_status_enum.rb +17 -7
  88. data/lib/merge_hris_client/models/link_token.rb +13 -4
  89. data/lib/merge_hris_client/models/location.rb +1 -1
  90. data/lib/merge_hris_client/models/location_type_enum.rb +17 -7
  91. data/lib/merge_hris_client/models/marital_status_enum.rb +17 -7
  92. data/lib/merge_hris_client/models/meta_response.rb +1 -1
  93. data/lib/merge_hris_client/models/method_enum.rb +17 -7
  94. data/lib/merge_hris_client/models/pay_currency_enum.rb +17 -7
  95. data/lib/merge_hris_client/models/pay_frequency_enum.rb +17 -7
  96. data/lib/merge_hris_client/models/pay_group.rb +1 -1
  97. data/lib/merge_hris_client/models/pay_period_enum.rb +17 -7
  98. data/lib/merge_hris_client/models/payroll_run.rb +1 -1
  99. data/lib/merge_hris_client/models/policy_type_enum.rb +17 -7
  100. data/lib/merge_hris_client/models/reason_enum.rb +17 -7
  101. data/lib/merge_hris_client/models/remote_response.rb +23 -9
  102. data/lib/merge_hris_client/models/request_format_enum.rb +17 -7
  103. data/lib/merge_hris_client/models/request_type_enum.rb +17 -7
  104. data/lib/merge_hris_client/models/response_type_enum.rb +45 -0
  105. data/lib/merge_hris_client/models/run_state_enum.rb +17 -7
  106. data/lib/merge_hris_client/models/run_type_enum.rb +17 -7
  107. data/lib/merge_hris_client/models/sync_status.rb +0 -10
  108. data/lib/merge_hris_client/models/sync_status_status_enum.rb +18 -7
  109. data/lib/merge_hris_client/models/tax.rb +2 -14
  110. data/lib/merge_hris_client/models/team.rb +1 -1
  111. data/lib/merge_hris_client/models/time_off_balance.rb +1 -1
  112. data/lib/merge_hris_client/models/time_off_status_enum.rb +17 -7
  113. data/lib/merge_hris_client/models/units_enum.rb +17 -7
  114. data/lib/merge_hris_client/version.rb +1 -1
  115. data/lib/merge_hris_client.rb +1 -1
  116. data/spec/api/bank_info_api_spec.rb +3 -1
  117. data/spec/api/benefits_api_spec.rb +1 -1
  118. data/spec/api/companies_api_spec.rb +1 -1
  119. data/spec/api/deductions_api_spec.rb +1 -1
  120. data/spec/api/employee_payroll_runs_api_spec.rb +1 -1
  121. data/spec/api/employees_api_spec.rb +3 -1
  122. data/spec/api/employments_api_spec.rb +3 -1
  123. data/spec/api/groups_api_spec.rb +3 -1
  124. data/spec/api/linked_accounts_api_spec.rb +1 -0
  125. data/spec/api/locations_api_spec.rb +3 -1
  126. data/spec/api/pay_groups_api_spec.rb +1 -1
  127. data/spec/api/payroll_runs_api_spec.rb +3 -1
  128. data/spec/api/sync_status_api_spec.rb +1 -1
  129. data/spec/api/teams_api_spec.rb +1 -1
  130. data/spec/api/time_off_api_spec.rb +3 -1
  131. data/spec/api/time_off_balances_api_spec.rb +3 -1
  132. data/spec/models/account_details_and_actions_spec.rb +6 -0
  133. data/spec/models/account_details_spec.rb +6 -0
  134. data/spec/models/data_passthrough_request_spec.rb +6 -0
  135. data/spec/models/earning_spec.rb +0 -6
  136. data/spec/models/employee_request_spec.rb +12 -0
  137. data/spec/models/employee_spec.rb +12 -0
  138. data/spec/models/end_user_details_request_spec.rb +6 -0
  139. data/spec/models/link_token_spec.rb +6 -0
  140. data/spec/models/remote_response_spec.rb +12 -0
  141. data/spec/models/response_type_enum_spec.rb +28 -0
  142. data/spec/models/tax_spec.rb +0 -6
  143. metadata +105 -101
@@ -21,18 +21,28 @@ module MergeHRISClient
21
21
  FAILED = "FAILED".freeze
22
22
  CLOSED = "CLOSED".freeze
23
23
 
24
- # Builds the enum from string
25
- # @param [String] The enum value in the form of the string
26
- # @return [String] The enum value
27
- def self.build_from_hash(value)
28
- new.build_from_hash(value)
29
- end
24
+ MERGE_NONSTANDARD_VALUE = "MERGE_NONSTANDARD_VALUE".freeze
25
+
26
+ attr_accessor :value
27
+ attr_accessor :raw_value
30
28
 
31
29
  # Builds the enum from string
32
30
  # @param [String] The enum value in the form of the string
33
31
  # @return [String] The enum value
34
32
  def build_from_hash(value)
35
- value
33
+ @raw_value = value
34
+ if ["PAID", "DRAFT", "APPROVED", "FAILED", "CLOSED", ].include? value
35
+ @value = value
36
+ else
37
+ @value = MERGE_NONSTANDARD_VALUE
38
+ end
39
+
40
+ self
41
+ end
42
+
43
+ def self.build_from_hash(value)
44
+ IssueStatusEnum.new.build_from_hash(value)
36
45
  end
37
46
  end
47
+
38
48
  end
@@ -21,18 +21,28 @@ module MergeHRISClient
21
21
  TERMINATION = "TERMINATION".freeze
22
22
  SIGN_ON_BONUS = "SIGN_ON_BONUS".freeze
23
23
 
24
- # Builds the enum from string
25
- # @param [String] The enum value in the form of the string
26
- # @return [String] The enum value
27
- def self.build_from_hash(value)
28
- new.build_from_hash(value)
29
- end
24
+ MERGE_NONSTANDARD_VALUE = "MERGE_NONSTANDARD_VALUE".freeze
25
+
26
+ attr_accessor :value
27
+ attr_accessor :raw_value
30
28
 
31
29
  # Builds the enum from string
32
30
  # @param [String] The enum value in the form of the string
33
31
  # @return [String] The enum value
34
32
  def build_from_hash(value)
35
- value
33
+ @raw_value = value
34
+ if ["REGULAR", "OFF_CYCLE", "CORRECTION", "TERMINATION", "SIGN_ON_BONUS", ].include? value
35
+ @value = value
36
+ else
37
+ @value = MERGE_NONSTANDARD_VALUE
38
+ end
39
+
40
+ self
41
+ end
42
+
43
+ def self.build_from_hash(value)
44
+ IssueStatusEnum.new.build_from_hash(value)
36
45
  end
37
46
  end
47
+
38
48
  end
@@ -115,14 +115,6 @@ module MergeHRISClient
115
115
  invalid_properties.push('invalid value for "model_id", model_id cannot be nil.')
116
116
  end
117
117
 
118
- if @last_sync_start.nil?
119
- invalid_properties.push('invalid value for "last_sync_start", last_sync_start cannot be nil.')
120
- end
121
-
122
- if @next_sync_start.nil?
123
- invalid_properties.push('invalid value for "next_sync_start", next_sync_start cannot be nil.')
124
- end
125
-
126
118
  if @status.nil?
127
119
  invalid_properties.push('invalid value for "status", status cannot be nil.')
128
120
  end
@@ -139,8 +131,6 @@ module MergeHRISClient
139
131
  def valid?
140
132
  return false if @model_name.nil?
141
133
  return false if @model_id.nil?
142
- return false if @last_sync_start.nil?
143
- return false if @next_sync_start.nil?
144
134
  return false if @status.nil?
145
135
  return false if @is_initial_sync.nil?
146
136
  true
@@ -19,19 +19,30 @@ module MergeHRISClient
19
19
  DONE = "DONE".freeze
20
20
  FAILED = "FAILED".freeze
21
21
  DISABLED = "DISABLED".freeze
22
+ PAUSED = "PAUSED".freeze
22
23
 
23
- # Builds the enum from string
24
- # @param [String] The enum value in the form of the string
25
- # @return [String] The enum value
26
- def self.build_from_hash(value)
27
- new.build_from_hash(value)
28
- end
24
+ MERGE_NONSTANDARD_VALUE = "MERGE_NONSTANDARD_VALUE".freeze
25
+
26
+ attr_accessor :value
27
+ attr_accessor :raw_value
29
28
 
30
29
  # Builds the enum from string
31
30
  # @param [String] The enum value in the form of the string
32
31
  # @return [String] The enum value
33
32
  def build_from_hash(value)
34
- value
33
+ @raw_value = value
34
+ if ["SYNCING", "DONE", "FAILED", "DISABLED", "PAUSED", ].include? value
35
+ @value = value
36
+ else
37
+ @value = MERGE_NONSTANDARD_VALUE
38
+ end
39
+
40
+ self
41
+ end
42
+
43
+ def self.build_from_hash(value)
44
+ IssueStatusEnum.new.build_from_hash(value)
35
45
  end
36
46
  end
47
+
37
48
  end
@@ -29,9 +29,7 @@ module MergeHRISClient
29
29
  # Whether or not the employer is responsible for paying the tax.
30
30
  attr_accessor :employer_tax
31
31
 
32
- attr_accessor :remote_data
33
-
34
- # Indicates whether or not this object has been deleted on the third-party.
32
+ # Indicates whether or not this object has been deleted by third party webhooks.
35
33
  attr_accessor :remote_was_deleted
36
34
 
37
35
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -42,7 +40,6 @@ module MergeHRISClient
42
40
  :'name' => :'name',
43
41
  :'amount' => :'amount',
44
42
  :'employer_tax' => :'employer_tax',
45
- :'remote_data' => :'remote_data',
46
43
  :'remote_was_deleted' => :'remote_was_deleted'
47
44
  }
48
45
  end
@@ -60,7 +57,6 @@ module MergeHRISClient
60
57
  :'name' => :'String',
61
58
  :'amount' => :'Float',
62
59
  :'employer_tax' => :'Boolean',
63
- :'remote_data' => :'Array<Hash<String, AnyType>>',
64
60
  :'remote_was_deleted' => :'Boolean'
65
61
  }
66
62
  end
@@ -72,7 +68,6 @@ module MergeHRISClient
72
68
  :'name',
73
69
  :'amount',
74
70
  :'employer_tax',
75
- :'remote_data',
76
71
  ])
77
72
  end
78
73
 
@@ -111,12 +106,6 @@ module MergeHRISClient
111
106
  self.employer_tax = attributes[:'employer_tax']
112
107
  end
113
108
 
114
- if attributes.key?(:'remote_data')
115
- if (value = attributes[:'remote_data']).is_a?(Array)
116
- self.remote_data = value
117
- end
118
- end
119
-
120
109
  if attributes.key?(:'remote_was_deleted')
121
110
  self.remote_was_deleted = attributes[:'remote_was_deleted']
122
111
  end
@@ -145,7 +134,6 @@ module MergeHRISClient
145
134
  name == o.name &&
146
135
  amount == o.amount &&
147
136
  employer_tax == o.employer_tax &&
148
- remote_data == o.remote_data &&
149
137
  remote_was_deleted == o.remote_was_deleted
150
138
  end
151
139
 
@@ -158,7 +146,7 @@ module MergeHRISClient
158
146
  # Calculates hash code according to all attributes.
159
147
  # @return [Integer] Hash code
160
148
  def hash
161
- [id, employee_payroll_run, name, amount, employer_tax, remote_data, remote_was_deleted].hash
149
+ [id, employee_payroll_run, name, amount, employer_tax, remote_was_deleted].hash
162
150
  end
163
151
 
164
152
  # Builds the object from hash
@@ -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 on the third-party.
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 on the third-party.
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.
@@ -21,18 +21,28 @@ module MergeHRISClient
21
21
  CANCELLED = "CANCELLED".freeze
22
22
  DELETED = "DELETED".freeze
23
23
 
24
- # Builds the enum from string
25
- # @param [String] The enum value in the form of the string
26
- # @return [String] The enum value
27
- def self.build_from_hash(value)
28
- new.build_from_hash(value)
29
- end
24
+ MERGE_NONSTANDARD_VALUE = "MERGE_NONSTANDARD_VALUE".freeze
25
+
26
+ attr_accessor :value
27
+ attr_accessor :raw_value
30
28
 
31
29
  # Builds the enum from string
32
30
  # @param [String] The enum value in the form of the string
33
31
  # @return [String] The enum value
34
32
  def build_from_hash(value)
35
- value
33
+ @raw_value = value
34
+ if ["REQUESTED", "APPROVED", "DECLINED", "CANCELLED", "DELETED", ].include? value
35
+ @value = value
36
+ else
37
+ @value = MERGE_NONSTANDARD_VALUE
38
+ end
39
+
40
+ self
41
+ end
42
+
43
+ def self.build_from_hash(value)
44
+ IssueStatusEnum.new.build_from_hash(value)
36
45
  end
37
46
  end
47
+
38
48
  end
@@ -18,18 +18,28 @@ module MergeHRISClient
18
18
  HOURS = "HOURS".freeze
19
19
  DAYS = "DAYS".freeze
20
20
 
21
- # Builds the enum from string
22
- # @param [String] The enum value in the form of the string
23
- # @return [String] The enum value
24
- def self.build_from_hash(value)
25
- new.build_from_hash(value)
26
- end
21
+ MERGE_NONSTANDARD_VALUE = "MERGE_NONSTANDARD_VALUE".freeze
22
+
23
+ attr_accessor :value
24
+ attr_accessor :raw_value
27
25
 
28
26
  # Builds the enum from string
29
27
  # @param [String] The enum value in the form of the string
30
28
  # @return [String] The enum value
31
29
  def build_from_hash(value)
32
- value
30
+ @raw_value = value
31
+ if ["HOURS", "DAYS", ].include? value
32
+ @value = value
33
+ else
34
+ @value = MERGE_NONSTANDARD_VALUE
35
+ end
36
+
37
+ self
38
+ end
39
+
40
+ def self.build_from_hash(value)
41
+ IssueStatusEnum.new.build_from_hash(value)
33
42
  end
34
43
  end
44
+
35
45
  end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.1.1
11
11
  =end
12
12
 
13
13
  module MergeHRISClient
14
- VERSION = '2.0.3'
14
+ VERSION = '2.0.5'
15
15
  end
@@ -92,12 +92,12 @@ require 'merge_hris_client/models/payroll_run'
92
92
  require 'merge_hris_client/models/policy_type_enum'
93
93
  require 'merge_hris_client/models/reason_enum'
94
94
  require 'merge_hris_client/models/remote_data'
95
- require 'merge_hris_client/models/remote_data_request'
96
95
  require 'merge_hris_client/models/remote_key'
97
96
  require 'merge_hris_client/models/remote_key_for_regeneration_request'
98
97
  require 'merge_hris_client/models/remote_response'
99
98
  require 'merge_hris_client/models/request_format_enum'
100
99
  require 'merge_hris_client/models/request_type_enum'
100
+ require 'merge_hris_client/models/response_type_enum'
101
101
  require 'merge_hris_client/models/run_state_enum'
102
102
  require 'merge_hris_client/models/run_type_enum'
103
103
  require 'merge_hris_client/models/sync_status'
@@ -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 in the third-party service.
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&#39;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 in the third-party service.
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 in the third-party service.
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 in the third-party service.
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 in the third-party service.
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 in the third-party service.
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&#39;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 in the third-party service.
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&#39;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
@@ -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 in the third-party service.
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&#39;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
@@ -43,6 +43,7 @@ describe 'LinkedAccountsApi' do
43
43
  # @option opts [String] :end_user_origin_ids Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once.
44
44
  # @option opts [String] :id
45
45
  # @option opts [String] :ids Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once.
46
+ # @option opts [Boolean] :include_duplicates If &#x60;true&#x60;, will include complete production duplicates of the account specified by the &#x60;id&#x60; query parameter in the response. &#x60;id&#x60; must be for a complete production linked account.
46
47
  # @option opts [String] :integration_name If provided, will only return linked accounts associated with the given integration name.
47
48
  # @option opts [String] :is_test_account If included, will only include test linked accounts. If not included, will only include non-test linked accounts.
48
49
  # @option opts [Integer] :page_size Number of results to return per page.
@@ -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 in the third-party service.
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&#39;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 in the third-party service.
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 in the third-party service.
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&#39;s ID for the given object.
50
51
  # @option opts [String] :run_type If provided, will only return PayrollRun&#39;s with this status. Options: (&#39;REGULAR&#39;, &#39;OFF_CYCLE&#39;, &#39;CORRECTION&#39;, &#39;TERMINATION&#39;, &#39;SIGN_ON_BONUS&#39;)
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
@@ -33,7 +33,7 @@ describe 'SyncStatusApi' do
33
33
  end
34
34
 
35
35
  # unit tests for sync_status_list
36
- # Get syncing status. Possible values: &#x60;DISABLED&#x60;, &#x60;DONE&#x60;, &#x60;FAILED&#x60;, &#x60;SYNCING&#x60;
36
+ # Get syncing status. Possible values: &#x60;DISABLED&#x60;, &#x60;DONE&#x60;, &#x60;FAILED&#x60;, &#x60;PAUSED&#x60;, &#x60;SYNCING&#x60;
37
37
  # @param x_account_token Token identifying the end user.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [String] :cursor The pagination cursor value.
@@ -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 in the third-party service.
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 in the third-party service.
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&#39;s ID for the given object.
65
66
  # @option opts [String] :request_type If provided, will only return TimeOff with this request type. Options: (&#39;VACATION&#39;, &#39;SICK&#39;, &#39;PERSONAL&#39;, &#39;JURY_DUTY&#39;, &#39;VOLUNTEER&#39;, &#39;BEREAVEMENT&#39;)
66
67
  # @option opts [String] :status If provided, will only return TimeOff with this status. Options: (&#39;REQUESTED&#39;, &#39;APPROVED&#39;, &#39;DECLINED&#39;, &#39;CANCELLED&#39;, &#39;DELETED&#39;)
@@ -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 in the third-party service.
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: (&#39;VACATION&#39;, &#39;SICK&#39;, &#39;PERSONAL&#39;, &#39;JURY_DUTY&#39;, &#39;VOLUNTEER&#39;, &#39;BEREAVEMENT&#39;)
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&#39;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,6 +73,12 @@ describe MergeHRISClient::AccountDetailsAndActions do
73
73
  end
74
74
  end
75
75
 
76
+ describe 'test attribute "is_duplicate"' 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
+
76
82
  describe 'test attribute "integration"' do
77
83
  it 'should work' do
78
84
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -79,4 +79,10 @@ describe MergeHRISClient::AccountDetails do
79
79
  end
80
80
  end
81
81
 
82
+ describe 'test attribute "is_duplicate"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
82
88
  end
@@ -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