finch-api 0.1.0.pre.alpha.44 → 0.1.0.pre.alpha.45
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/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/finch_api/models/hris/pay_statement_item/rule_create_params.rb +133 -0
- data/lib/finch_api/models/hris/pay_statement_item/rule_create_response.rb +157 -0
- data/lib/finch_api/models/hris/pay_statement_item/rule_delete_params.rb +33 -0
- data/lib/finch_api/models/hris/pay_statement_item/rule_delete_response.rb +165 -0
- data/lib/finch_api/models/hris/pay_statement_item/rule_list_params.rb +26 -0
- data/lib/finch_api/models/hris/pay_statement_item/rule_list_response.rb +156 -0
- data/lib/finch_api/models/hris/pay_statement_item/rule_update_params.rb +40 -0
- data/lib/finch_api/models/hris/pay_statement_item/rule_update_response.rb +157 -0
- data/lib/finch_api/models/hris/pay_statement_item_list_params.rb +83 -0
- data/lib/finch_api/models/hris/pay_statement_item_list_response.rb +97 -0
- data/lib/finch_api/resources/hris/company.rb +0 -4
- data/lib/finch_api/resources/hris/pay_statement_item/rules.rb +141 -0
- data/lib/finch_api/resources/hris/pay_statement_item.rb +59 -0
- data/lib/finch_api/resources/hris.rb +4 -0
- data/lib/finch_api/version.rb +1 -1
- data/lib/finch_api.rb +12 -12
- data/rbi/finch_api/models/hris/pay_statement_item/rule_create_params.rbi +315 -0
- data/rbi/finch_api/models/hris/pay_statement_item/rule_create_response.rbi +342 -0
- data/rbi/finch_api/models/hris/pay_statement_item/rule_delete_params.rbi +59 -0
- data/rbi/finch_api/models/hris/pay_statement_item/rule_delete_response.rbi +353 -0
- data/rbi/finch_api/models/hris/pay_statement_item/rule_list_params.rbi +53 -0
- data/rbi/finch_api/models/hris/pay_statement_item/rule_list_response.rbi +342 -0
- data/rbi/finch_api/models/hris/pay_statement_item/rule_update_params.rbi +68 -0
- data/rbi/finch_api/models/hris/pay_statement_item/rule_update_response.rbi +342 -0
- data/rbi/finch_api/models/hris/pay_statement_item_list_params.rbi +177 -0
- data/rbi/finch_api/models/hris/pay_statement_item_list_response.rbi +189 -0
- data/rbi/finch_api/resources/hris/company.rbi +0 -3
- data/rbi/finch_api/resources/hris/pay_statement_item/rules.rbi +114 -0
- data/rbi/finch_api/resources/hris/pay_statement_item.rbi +57 -0
- data/rbi/finch_api/resources/hris.rbi +3 -0
- data/sig/finch_api/models/hris/pay_statement_item/rule_create_params.rbs +136 -0
- data/sig/finch_api/models/hris/pay_statement_item/rule_create_response.rbs +151 -0
- data/sig/finch_api/models/hris/pay_statement_item/rule_delete_params.rbs +34 -0
- data/sig/finch_api/models/hris/pay_statement_item/rule_delete_response.rbs +158 -0
- data/sig/finch_api/models/hris/pay_statement_item/rule_list_params.rbs +30 -0
- data/sig/finch_api/models/hris/pay_statement_item/rule_list_response.rbs +151 -0
- data/sig/finch_api/models/hris/pay_statement_item/rule_update_params.rbs +44 -0
- data/sig/finch_api/models/hris/pay_statement_item/rule_update_response.rbs +151 -0
- data/sig/finch_api/models/hris/pay_statement_item_list_params.rbs +81 -0
- data/sig/finch_api/models/hris/pay_statement_item_list_response.rbs +78 -0
- data/sig/finch_api/resources/hris/company.rbs +0 -2
- data/sig/finch_api/resources/hris/pay_statement_item/rules.rbs +39 -0
- data/sig/finch_api/resources/hris/pay_statement_item.rbs +21 -0
- data/sig/finch_api/resources/hris.rbs +2 -0
- metadata +37 -37
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rb +0 -137
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_create_response.rb +0 -160
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rb +0 -35
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rb +0 -168
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_list_params.rb +0 -28
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_list_response.rb +0 -160
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_update_params.rb +0 -42
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_update_response.rb +0 -160
- data/lib/finch_api/models/hris/company/pay_statement_item_list_params.rb +0 -85
- data/lib/finch_api/models/hris/company/pay_statement_item_list_response.rb +0 -99
- data/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb +0 -144
- data/lib/finch_api/resources/hris/company/pay_statement_item.rb +0 -61
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbi +0 -319
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_create_response.rbi +0 -346
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbi +0 -61
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rbi +0 -357
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbi +0 -55
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_list_response.rbi +0 -346
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbi +0 -70
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_update_response.rbi +0 -346
- data/rbi/finch_api/models/hris/company/pay_statement_item_list_params.rbi +0 -179
- data/rbi/finch_api/models/hris/company/pay_statement_item_list_response.rbi +0 -191
- data/rbi/finch_api/resources/hris/company/pay_statement_item/rules.rbi +0 -116
- data/rbi/finch_api/resources/hris/company/pay_statement_item.rbi +0 -61
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbs +0 -138
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_create_response.rbs +0 -153
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbs +0 -36
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rbs +0 -160
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbs +0 -32
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_list_response.rbs +0 -153
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbs +0 -46
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_update_response.rbs +0 -153
- data/sig/finch_api/models/hris/company/pay_statement_item_list_params.rbs +0 -83
- data/sig/finch_api/models/hris/company/pay_statement_item_list_response.rbs +0 -80
- data/sig/finch_api/resources/hris/company/pay_statement_item/rules.rbs +0 -41
- data/sig/finch_api/resources/hris/company/pay_statement_item.rbs +0 -23
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: finch-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.0.pre.alpha.
|
|
4
|
+
version: 0.1.0.pre.alpha.45
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Finch
|
|
@@ -111,16 +111,6 @@ files:
|
|
|
111
111
|
- lib/finch_api/models/hris/benefits_support.rb
|
|
112
112
|
- lib/finch_api/models/hris/benfit_contribution.rb
|
|
113
113
|
- lib/finch_api/models/hris/company.rb
|
|
114
|
-
- lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rb
|
|
115
|
-
- lib/finch_api/models/hris/company/pay_statement_item/rule_create_response.rb
|
|
116
|
-
- lib/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rb
|
|
117
|
-
- lib/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rb
|
|
118
|
-
- lib/finch_api/models/hris/company/pay_statement_item/rule_list_params.rb
|
|
119
|
-
- lib/finch_api/models/hris/company/pay_statement_item/rule_list_response.rb
|
|
120
|
-
- lib/finch_api/models/hris/company/pay_statement_item/rule_update_params.rb
|
|
121
|
-
- lib/finch_api/models/hris/company/pay_statement_item/rule_update_response.rb
|
|
122
|
-
- lib/finch_api/models/hris/company/pay_statement_item_list_params.rb
|
|
123
|
-
- lib/finch_api/models/hris/company/pay_statement_item_list_response.rb
|
|
124
114
|
- lib/finch_api/models/hris/company_benefit.rb
|
|
125
115
|
- lib/finch_api/models/hris/company_retrieve_params.rb
|
|
126
116
|
- lib/finch_api/models/hris/create_company_benefits_response.rb
|
|
@@ -141,6 +131,16 @@ files:
|
|
|
141
131
|
- lib/finch_api/models/hris/pay_statement.rb
|
|
142
132
|
- lib/finch_api/models/hris/pay_statement_data.rb
|
|
143
133
|
- lib/finch_api/models/hris/pay_statement_data_sync_in_progress.rb
|
|
134
|
+
- lib/finch_api/models/hris/pay_statement_item/rule_create_params.rb
|
|
135
|
+
- lib/finch_api/models/hris/pay_statement_item/rule_create_response.rb
|
|
136
|
+
- lib/finch_api/models/hris/pay_statement_item/rule_delete_params.rb
|
|
137
|
+
- lib/finch_api/models/hris/pay_statement_item/rule_delete_response.rb
|
|
138
|
+
- lib/finch_api/models/hris/pay_statement_item/rule_list_params.rb
|
|
139
|
+
- lib/finch_api/models/hris/pay_statement_item/rule_list_response.rb
|
|
140
|
+
- lib/finch_api/models/hris/pay_statement_item/rule_update_params.rb
|
|
141
|
+
- lib/finch_api/models/hris/pay_statement_item/rule_update_response.rb
|
|
142
|
+
- lib/finch_api/models/hris/pay_statement_item_list_params.rb
|
|
143
|
+
- lib/finch_api/models/hris/pay_statement_item_list_response.rb
|
|
144
144
|
- lib/finch_api/models/hris/pay_statement_response.rb
|
|
145
145
|
- lib/finch_api/models/hris/pay_statement_retrieve_many_params.rb
|
|
146
146
|
- lib/finch_api/models/hris/payment.rb
|
|
@@ -211,12 +211,12 @@ files:
|
|
|
211
211
|
- lib/finch_api/resources/hris/benefits.rb
|
|
212
212
|
- lib/finch_api/resources/hris/benefits/individuals.rb
|
|
213
213
|
- lib/finch_api/resources/hris/company.rb
|
|
214
|
-
- lib/finch_api/resources/hris/company/pay_statement_item.rb
|
|
215
|
-
- lib/finch_api/resources/hris/company/pay_statement_item/rules.rb
|
|
216
214
|
- lib/finch_api/resources/hris/directory.rb
|
|
217
215
|
- lib/finch_api/resources/hris/documents.rb
|
|
218
216
|
- lib/finch_api/resources/hris/employments.rb
|
|
219
217
|
- lib/finch_api/resources/hris/individuals.rb
|
|
218
|
+
- lib/finch_api/resources/hris/pay_statement_item.rb
|
|
219
|
+
- lib/finch_api/resources/hris/pay_statement_item/rules.rb
|
|
220
220
|
- lib/finch_api/resources/hris/pay_statements.rb
|
|
221
221
|
- lib/finch_api/resources/hris/payments.rb
|
|
222
222
|
- lib/finch_api/resources/jobs.rb
|
|
@@ -300,16 +300,6 @@ files:
|
|
|
300
300
|
- rbi/finch_api/models/hris/benefits_support.rbi
|
|
301
301
|
- rbi/finch_api/models/hris/benfit_contribution.rbi
|
|
302
302
|
- rbi/finch_api/models/hris/company.rbi
|
|
303
|
-
- rbi/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbi
|
|
304
|
-
- rbi/finch_api/models/hris/company/pay_statement_item/rule_create_response.rbi
|
|
305
|
-
- rbi/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbi
|
|
306
|
-
- rbi/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rbi
|
|
307
|
-
- rbi/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbi
|
|
308
|
-
- rbi/finch_api/models/hris/company/pay_statement_item/rule_list_response.rbi
|
|
309
|
-
- rbi/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbi
|
|
310
|
-
- rbi/finch_api/models/hris/company/pay_statement_item/rule_update_response.rbi
|
|
311
|
-
- rbi/finch_api/models/hris/company/pay_statement_item_list_params.rbi
|
|
312
|
-
- rbi/finch_api/models/hris/company/pay_statement_item_list_response.rbi
|
|
313
303
|
- rbi/finch_api/models/hris/company_benefit.rbi
|
|
314
304
|
- rbi/finch_api/models/hris/company_retrieve_params.rbi
|
|
315
305
|
- rbi/finch_api/models/hris/create_company_benefits_response.rbi
|
|
@@ -330,6 +320,16 @@ files:
|
|
|
330
320
|
- rbi/finch_api/models/hris/pay_statement.rbi
|
|
331
321
|
- rbi/finch_api/models/hris/pay_statement_data.rbi
|
|
332
322
|
- rbi/finch_api/models/hris/pay_statement_data_sync_in_progress.rbi
|
|
323
|
+
- rbi/finch_api/models/hris/pay_statement_item/rule_create_params.rbi
|
|
324
|
+
- rbi/finch_api/models/hris/pay_statement_item/rule_create_response.rbi
|
|
325
|
+
- rbi/finch_api/models/hris/pay_statement_item/rule_delete_params.rbi
|
|
326
|
+
- rbi/finch_api/models/hris/pay_statement_item/rule_delete_response.rbi
|
|
327
|
+
- rbi/finch_api/models/hris/pay_statement_item/rule_list_params.rbi
|
|
328
|
+
- rbi/finch_api/models/hris/pay_statement_item/rule_list_response.rbi
|
|
329
|
+
- rbi/finch_api/models/hris/pay_statement_item/rule_update_params.rbi
|
|
330
|
+
- rbi/finch_api/models/hris/pay_statement_item/rule_update_response.rbi
|
|
331
|
+
- rbi/finch_api/models/hris/pay_statement_item_list_params.rbi
|
|
332
|
+
- rbi/finch_api/models/hris/pay_statement_item_list_response.rbi
|
|
333
333
|
- rbi/finch_api/models/hris/pay_statement_response.rbi
|
|
334
334
|
- rbi/finch_api/models/hris/pay_statement_retrieve_many_params.rbi
|
|
335
335
|
- rbi/finch_api/models/hris/payment.rbi
|
|
@@ -400,12 +400,12 @@ files:
|
|
|
400
400
|
- rbi/finch_api/resources/hris/benefits.rbi
|
|
401
401
|
- rbi/finch_api/resources/hris/benefits/individuals.rbi
|
|
402
402
|
- rbi/finch_api/resources/hris/company.rbi
|
|
403
|
-
- rbi/finch_api/resources/hris/company/pay_statement_item.rbi
|
|
404
|
-
- rbi/finch_api/resources/hris/company/pay_statement_item/rules.rbi
|
|
405
403
|
- rbi/finch_api/resources/hris/directory.rbi
|
|
406
404
|
- rbi/finch_api/resources/hris/documents.rbi
|
|
407
405
|
- rbi/finch_api/resources/hris/employments.rbi
|
|
408
406
|
- rbi/finch_api/resources/hris/individuals.rbi
|
|
407
|
+
- rbi/finch_api/resources/hris/pay_statement_item.rbi
|
|
408
|
+
- rbi/finch_api/resources/hris/pay_statement_item/rules.rbi
|
|
409
409
|
- rbi/finch_api/resources/hris/pay_statements.rbi
|
|
410
410
|
- rbi/finch_api/resources/hris/payments.rbi
|
|
411
411
|
- rbi/finch_api/resources/jobs.rbi
|
|
@@ -488,16 +488,6 @@ files:
|
|
|
488
488
|
- sig/finch_api/models/hris/benefits_support.rbs
|
|
489
489
|
- sig/finch_api/models/hris/benfit_contribution.rbs
|
|
490
490
|
- sig/finch_api/models/hris/company.rbs
|
|
491
|
-
- sig/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbs
|
|
492
|
-
- sig/finch_api/models/hris/company/pay_statement_item/rule_create_response.rbs
|
|
493
|
-
- sig/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbs
|
|
494
|
-
- sig/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rbs
|
|
495
|
-
- sig/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbs
|
|
496
|
-
- sig/finch_api/models/hris/company/pay_statement_item/rule_list_response.rbs
|
|
497
|
-
- sig/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbs
|
|
498
|
-
- sig/finch_api/models/hris/company/pay_statement_item/rule_update_response.rbs
|
|
499
|
-
- sig/finch_api/models/hris/company/pay_statement_item_list_params.rbs
|
|
500
|
-
- sig/finch_api/models/hris/company/pay_statement_item_list_response.rbs
|
|
501
491
|
- sig/finch_api/models/hris/company_benefit.rbs
|
|
502
492
|
- sig/finch_api/models/hris/company_retrieve_params.rbs
|
|
503
493
|
- sig/finch_api/models/hris/create_company_benefits_response.rbs
|
|
@@ -518,6 +508,16 @@ files:
|
|
|
518
508
|
- sig/finch_api/models/hris/pay_statement.rbs
|
|
519
509
|
- sig/finch_api/models/hris/pay_statement_data.rbs
|
|
520
510
|
- sig/finch_api/models/hris/pay_statement_data_sync_in_progress.rbs
|
|
511
|
+
- sig/finch_api/models/hris/pay_statement_item/rule_create_params.rbs
|
|
512
|
+
- sig/finch_api/models/hris/pay_statement_item/rule_create_response.rbs
|
|
513
|
+
- sig/finch_api/models/hris/pay_statement_item/rule_delete_params.rbs
|
|
514
|
+
- sig/finch_api/models/hris/pay_statement_item/rule_delete_response.rbs
|
|
515
|
+
- sig/finch_api/models/hris/pay_statement_item/rule_list_params.rbs
|
|
516
|
+
- sig/finch_api/models/hris/pay_statement_item/rule_list_response.rbs
|
|
517
|
+
- sig/finch_api/models/hris/pay_statement_item/rule_update_params.rbs
|
|
518
|
+
- sig/finch_api/models/hris/pay_statement_item/rule_update_response.rbs
|
|
519
|
+
- sig/finch_api/models/hris/pay_statement_item_list_params.rbs
|
|
520
|
+
- sig/finch_api/models/hris/pay_statement_item_list_response.rbs
|
|
521
521
|
- sig/finch_api/models/hris/pay_statement_response.rbs
|
|
522
522
|
- sig/finch_api/models/hris/pay_statement_retrieve_many_params.rbs
|
|
523
523
|
- sig/finch_api/models/hris/payment.rbs
|
|
@@ -588,12 +588,12 @@ files:
|
|
|
588
588
|
- sig/finch_api/resources/hris/benefits.rbs
|
|
589
589
|
- sig/finch_api/resources/hris/benefits/individuals.rbs
|
|
590
590
|
- sig/finch_api/resources/hris/company.rbs
|
|
591
|
-
- sig/finch_api/resources/hris/company/pay_statement_item.rbs
|
|
592
|
-
- sig/finch_api/resources/hris/company/pay_statement_item/rules.rbs
|
|
593
591
|
- sig/finch_api/resources/hris/directory.rbs
|
|
594
592
|
- sig/finch_api/resources/hris/documents.rbs
|
|
595
593
|
- sig/finch_api/resources/hris/employments.rbs
|
|
596
594
|
- sig/finch_api/resources/hris/individuals.rbs
|
|
595
|
+
- sig/finch_api/resources/hris/pay_statement_item.rbs
|
|
596
|
+
- sig/finch_api/resources/hris/pay_statement_item/rules.rbs
|
|
597
597
|
- sig/finch_api/resources/hris/pay_statements.rbs
|
|
598
598
|
- sig/finch_api/resources/hris/payments.rbs
|
|
599
599
|
- sig/finch_api/resources/jobs.rbs
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module FinchAPI
|
|
4
|
-
module Models
|
|
5
|
-
module HRIS
|
|
6
|
-
module Company
|
|
7
|
-
module PayStatementItem
|
|
8
|
-
# @see FinchAPI::Resources::HRIS::Company::PayStatementItem::Rules#create
|
|
9
|
-
class RuleCreateParams < FinchAPI::Internal::Type::BaseModel
|
|
10
|
-
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
11
|
-
include FinchAPI::Internal::Type::RequestParameters
|
|
12
|
-
|
|
13
|
-
# @!attribute entity_ids
|
|
14
|
-
# The entity IDs to create the rule for.
|
|
15
|
-
#
|
|
16
|
-
# @return [Array<String>, nil]
|
|
17
|
-
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
18
|
-
|
|
19
|
-
# @!attribute attributes
|
|
20
|
-
# Specifies the fields to be applied when the condition is met.
|
|
21
|
-
#
|
|
22
|
-
# @return [FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Attributes, nil]
|
|
23
|
-
optional :attributes, -> { FinchAPI::HRIS::Company::PayStatementItem::RuleCreateParams::Attributes }
|
|
24
|
-
|
|
25
|
-
# @!attribute conditions
|
|
26
|
-
#
|
|
27
|
-
# @return [Array<FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Condition>, nil]
|
|
28
|
-
optional :conditions,
|
|
29
|
-
-> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::Company::PayStatementItem::RuleCreateParams::Condition] }
|
|
30
|
-
|
|
31
|
-
# @!attribute effective_end_date
|
|
32
|
-
# Specifies when the rules should stop applying rules based on the date.
|
|
33
|
-
#
|
|
34
|
-
# @return [String, nil]
|
|
35
|
-
optional :effective_end_date, String, nil?: true
|
|
36
|
-
|
|
37
|
-
# @!attribute effective_start_date
|
|
38
|
-
# Specifies when the rule should begin applying based on the date.
|
|
39
|
-
#
|
|
40
|
-
# @return [String, nil]
|
|
41
|
-
optional :effective_start_date, String, nil?: true
|
|
42
|
-
|
|
43
|
-
# @!attribute entity_type
|
|
44
|
-
# The entity type to which the rule is applied.
|
|
45
|
-
#
|
|
46
|
-
# @return [Symbol, FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::EntityType, nil]
|
|
47
|
-
optional :entity_type,
|
|
48
|
-
enum: -> { FinchAPI::HRIS::Company::PayStatementItem::RuleCreateParams::EntityType }
|
|
49
|
-
|
|
50
|
-
# @!method initialize(entity_ids: nil, attributes: nil, conditions: nil, effective_end_date: nil, effective_start_date: nil, entity_type: nil, request_options: {})
|
|
51
|
-
# @param entity_ids [Array<String>] The entity IDs to create the rule for.
|
|
52
|
-
#
|
|
53
|
-
# @param attributes [FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Attributes] Specifies the fields to be applied when the condition is met.
|
|
54
|
-
#
|
|
55
|
-
# @param conditions [Array<FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Condition>]
|
|
56
|
-
#
|
|
57
|
-
# @param effective_end_date [String, nil] Specifies when the rules should stop applying rules based on the date.
|
|
58
|
-
#
|
|
59
|
-
# @param effective_start_date [String, nil] Specifies when the rule should begin applying based on the date.
|
|
60
|
-
#
|
|
61
|
-
# @param entity_type [Symbol, FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::EntityType] The entity type to which the rule is applied.
|
|
62
|
-
#
|
|
63
|
-
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
64
|
-
|
|
65
|
-
class Attributes < FinchAPI::Internal::Type::BaseModel
|
|
66
|
-
# @!attribute metadata
|
|
67
|
-
# The metadata to be attached in the entity. It is a key-value pairs where the
|
|
68
|
-
# values can be of any type (string, number, boolean, object, array, etc.).
|
|
69
|
-
#
|
|
70
|
-
# @return [Hash{Symbol=>Object}, nil]
|
|
71
|
-
optional :metadata, FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown]
|
|
72
|
-
|
|
73
|
-
# @!method initialize(metadata: nil)
|
|
74
|
-
# Some parameter documentations has been truncated, see
|
|
75
|
-
# {FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Attributes}
|
|
76
|
-
# for more details.
|
|
77
|
-
#
|
|
78
|
-
# Specifies the fields to be applied when the condition is met.
|
|
79
|
-
#
|
|
80
|
-
# @param metadata [Hash{Symbol=>Object}] The metadata to be attached in the entity. It is a key-value pairs where the val
|
|
81
|
-
end
|
|
82
|
-
|
|
83
|
-
class Condition < FinchAPI::Internal::Type::BaseModel
|
|
84
|
-
# @!attribute field
|
|
85
|
-
# The field to be checked in the rule.
|
|
86
|
-
#
|
|
87
|
-
# @return [String, nil]
|
|
88
|
-
optional :field, String
|
|
89
|
-
|
|
90
|
-
# @!attribute operator
|
|
91
|
-
# The operator to be used in the rule.
|
|
92
|
-
#
|
|
93
|
-
# @return [Symbol, FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Condition::Operator, nil]
|
|
94
|
-
optional :operator,
|
|
95
|
-
enum: -> { FinchAPI::HRIS::Company::PayStatementItem::RuleCreateParams::Condition::Operator }
|
|
96
|
-
|
|
97
|
-
# @!attribute value
|
|
98
|
-
# The value of the field to be checked in the rule.
|
|
99
|
-
#
|
|
100
|
-
# @return [String, nil]
|
|
101
|
-
optional :value, String
|
|
102
|
-
|
|
103
|
-
# @!method initialize(field: nil, operator: nil, value: nil)
|
|
104
|
-
# @param field [String] The field to be checked in the rule.
|
|
105
|
-
#
|
|
106
|
-
# @param operator [Symbol, FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Condition::Operator] The operator to be used in the rule.
|
|
107
|
-
#
|
|
108
|
-
# @param value [String] The value of the field to be checked in the rule.
|
|
109
|
-
|
|
110
|
-
# The operator to be used in the rule.
|
|
111
|
-
#
|
|
112
|
-
# @see FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Condition#operator
|
|
113
|
-
module Operator
|
|
114
|
-
extend FinchAPI::Internal::Type::Enum
|
|
115
|
-
|
|
116
|
-
EQUALS = :equals
|
|
117
|
-
|
|
118
|
-
# @!method self.values
|
|
119
|
-
# @return [Array<Symbol>]
|
|
120
|
-
end
|
|
121
|
-
end
|
|
122
|
-
|
|
123
|
-
# The entity type to which the rule is applied.
|
|
124
|
-
module EntityType
|
|
125
|
-
extend FinchAPI::Internal::Type::Enum
|
|
126
|
-
|
|
127
|
-
PAY_STATEMENT_ITEM = :pay_statement_item
|
|
128
|
-
|
|
129
|
-
# @!method self.values
|
|
130
|
-
# @return [Array<Symbol>]
|
|
131
|
-
end
|
|
132
|
-
end
|
|
133
|
-
end
|
|
134
|
-
end
|
|
135
|
-
end
|
|
136
|
-
end
|
|
137
|
-
end
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module FinchAPI
|
|
4
|
-
module Models
|
|
5
|
-
module HRIS
|
|
6
|
-
module Company
|
|
7
|
-
module PayStatementItem
|
|
8
|
-
# @see FinchAPI::Resources::HRIS::Company::PayStatementItem::Rules#create
|
|
9
|
-
class RuleCreateResponse < FinchAPI::Internal::Type::BaseModel
|
|
10
|
-
# @!attribute id
|
|
11
|
-
# Finch id (uuidv4) for the rule.
|
|
12
|
-
#
|
|
13
|
-
# @return [String, nil]
|
|
14
|
-
optional :id, String
|
|
15
|
-
|
|
16
|
-
# @!attribute attributes
|
|
17
|
-
# Specifies the fields to be applied when the condition is met.
|
|
18
|
-
#
|
|
19
|
-
# @return [FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse::Attributes, nil]
|
|
20
|
-
optional :attributes,
|
|
21
|
-
-> { FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse::Attributes }
|
|
22
|
-
|
|
23
|
-
# @!attribute conditions
|
|
24
|
-
#
|
|
25
|
-
# @return [Array<FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse::Condition>, nil]
|
|
26
|
-
optional :conditions,
|
|
27
|
-
-> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse::Condition] }
|
|
28
|
-
|
|
29
|
-
# @!attribute created_at
|
|
30
|
-
# The datetime when the rule was created.
|
|
31
|
-
#
|
|
32
|
-
# @return [Time, nil]
|
|
33
|
-
optional :created_at, Time
|
|
34
|
-
|
|
35
|
-
# @!attribute effective_end_date
|
|
36
|
-
# Specifies when the rules should stop applying rules based on the date.
|
|
37
|
-
#
|
|
38
|
-
# @return [String, nil]
|
|
39
|
-
optional :effective_end_date, String, nil?: true
|
|
40
|
-
|
|
41
|
-
# @!attribute effective_start_date
|
|
42
|
-
# Specifies when the rule should begin applying based on the date.
|
|
43
|
-
#
|
|
44
|
-
# @return [String, nil]
|
|
45
|
-
optional :effective_start_date, String, nil?: true
|
|
46
|
-
|
|
47
|
-
# @!attribute entity_type
|
|
48
|
-
# The entity type to which the rule is applied.
|
|
49
|
-
#
|
|
50
|
-
# @return [Symbol, FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse::EntityType, nil]
|
|
51
|
-
optional :entity_type,
|
|
52
|
-
enum: -> { FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse::EntityType }
|
|
53
|
-
|
|
54
|
-
# @!attribute priority
|
|
55
|
-
# The priority of the rule.
|
|
56
|
-
#
|
|
57
|
-
# @return [Integer, nil]
|
|
58
|
-
optional :priority, Integer
|
|
59
|
-
|
|
60
|
-
# @!attribute updated_at
|
|
61
|
-
# The datetime when the rule was last updated.
|
|
62
|
-
#
|
|
63
|
-
# @return [Time, nil]
|
|
64
|
-
optional :updated_at, Time
|
|
65
|
-
|
|
66
|
-
# @!method initialize(id: nil, attributes: nil, conditions: nil, created_at: nil, effective_end_date: nil, effective_start_date: nil, entity_type: nil, priority: nil, updated_at: nil)
|
|
67
|
-
# @param id [String] Finch id (uuidv4) for the rule.
|
|
68
|
-
#
|
|
69
|
-
# @param attributes [FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse::Attributes] Specifies the fields to be applied when the condition is met.
|
|
70
|
-
#
|
|
71
|
-
# @param conditions [Array<FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse::Condition>]
|
|
72
|
-
#
|
|
73
|
-
# @param created_at [Time] The datetime when the rule was created.
|
|
74
|
-
#
|
|
75
|
-
# @param effective_end_date [String, nil] Specifies when the rules should stop applying rules based on the date.
|
|
76
|
-
#
|
|
77
|
-
# @param effective_start_date [String, nil] Specifies when the rule should begin applying based on the date.
|
|
78
|
-
#
|
|
79
|
-
# @param entity_type [Symbol, FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse::EntityType] The entity type to which the rule is applied.
|
|
80
|
-
#
|
|
81
|
-
# @param priority [Integer] The priority of the rule.
|
|
82
|
-
#
|
|
83
|
-
# @param updated_at [Time] The datetime when the rule was last updated.
|
|
84
|
-
|
|
85
|
-
# @see FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse#attributes
|
|
86
|
-
class Attributes < FinchAPI::Internal::Type::BaseModel
|
|
87
|
-
# @!attribute metadata
|
|
88
|
-
# The metadata to be attached in the entity. It is a key-value pairs where the
|
|
89
|
-
# values can be of any type (string, number, boolean, object, array, etc.).
|
|
90
|
-
#
|
|
91
|
-
# @return [Hash{Symbol=>Object}, nil]
|
|
92
|
-
optional :metadata, FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown]
|
|
93
|
-
|
|
94
|
-
# @!method initialize(metadata: nil)
|
|
95
|
-
# Some parameter documentations has been truncated, see
|
|
96
|
-
# {FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse::Attributes}
|
|
97
|
-
# for more details.
|
|
98
|
-
#
|
|
99
|
-
# Specifies the fields to be applied when the condition is met.
|
|
100
|
-
#
|
|
101
|
-
# @param metadata [Hash{Symbol=>Object}] The metadata to be attached in the entity. It is a key-value pairs where the val
|
|
102
|
-
end
|
|
103
|
-
|
|
104
|
-
class Condition < FinchAPI::Internal::Type::BaseModel
|
|
105
|
-
# @!attribute field
|
|
106
|
-
# The field to be checked in the rule.
|
|
107
|
-
#
|
|
108
|
-
# @return [String, nil]
|
|
109
|
-
optional :field, String
|
|
110
|
-
|
|
111
|
-
# @!attribute operator
|
|
112
|
-
# The operator to be used in the rule.
|
|
113
|
-
#
|
|
114
|
-
# @return [Symbol, FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse::Condition::Operator, nil]
|
|
115
|
-
optional :operator,
|
|
116
|
-
enum: -> { FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse::Condition::Operator }
|
|
117
|
-
|
|
118
|
-
# @!attribute value
|
|
119
|
-
# The value of the field to be checked in the rule.
|
|
120
|
-
#
|
|
121
|
-
# @return [String, nil]
|
|
122
|
-
optional :value, String
|
|
123
|
-
|
|
124
|
-
# @!method initialize(field: nil, operator: nil, value: nil)
|
|
125
|
-
# @param field [String] The field to be checked in the rule.
|
|
126
|
-
#
|
|
127
|
-
# @param operator [Symbol, FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse::Condition::Operator] The operator to be used in the rule.
|
|
128
|
-
#
|
|
129
|
-
# @param value [String] The value of the field to be checked in the rule.
|
|
130
|
-
|
|
131
|
-
# The operator to be used in the rule.
|
|
132
|
-
#
|
|
133
|
-
# @see FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse::Condition#operator
|
|
134
|
-
module Operator
|
|
135
|
-
extend FinchAPI::Internal::Type::Enum
|
|
136
|
-
|
|
137
|
-
EQUALS = :equals
|
|
138
|
-
|
|
139
|
-
# @!method self.values
|
|
140
|
-
# @return [Array<Symbol>]
|
|
141
|
-
end
|
|
142
|
-
end
|
|
143
|
-
|
|
144
|
-
# The entity type to which the rule is applied.
|
|
145
|
-
#
|
|
146
|
-
# @see FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse#entity_type
|
|
147
|
-
module EntityType
|
|
148
|
-
extend FinchAPI::Internal::Type::Enum
|
|
149
|
-
|
|
150
|
-
PAY_STATEMENT_ITEM = :pay_statement_item
|
|
151
|
-
|
|
152
|
-
# @!method self.values
|
|
153
|
-
# @return [Array<Symbol>]
|
|
154
|
-
end
|
|
155
|
-
end
|
|
156
|
-
end
|
|
157
|
-
end
|
|
158
|
-
end
|
|
159
|
-
end
|
|
160
|
-
end
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module FinchAPI
|
|
4
|
-
module Models
|
|
5
|
-
module HRIS
|
|
6
|
-
module Company
|
|
7
|
-
module PayStatementItem
|
|
8
|
-
# @see FinchAPI::Resources::HRIS::Company::PayStatementItem::Rules#delete
|
|
9
|
-
class RuleDeleteParams < FinchAPI::Internal::Type::BaseModel
|
|
10
|
-
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
11
|
-
include FinchAPI::Internal::Type::RequestParameters
|
|
12
|
-
|
|
13
|
-
# @!attribute rule_id
|
|
14
|
-
#
|
|
15
|
-
# @return [String]
|
|
16
|
-
required :rule_id, String
|
|
17
|
-
|
|
18
|
-
# @!attribute entity_ids
|
|
19
|
-
# The entity IDs to delete the rule for.
|
|
20
|
-
#
|
|
21
|
-
# @return [Array<String>, nil]
|
|
22
|
-
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
23
|
-
|
|
24
|
-
# @!method initialize(rule_id:, entity_ids: nil, request_options: {})
|
|
25
|
-
# @param rule_id [String]
|
|
26
|
-
#
|
|
27
|
-
# @param entity_ids [Array<String>] The entity IDs to delete the rule for.
|
|
28
|
-
#
|
|
29
|
-
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
30
|
-
end
|
|
31
|
-
end
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
end
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module FinchAPI
|
|
4
|
-
module Models
|
|
5
|
-
module HRIS
|
|
6
|
-
module Company
|
|
7
|
-
module PayStatementItem
|
|
8
|
-
# @see FinchAPI::Resources::HRIS::Company::PayStatementItem::Rules#delete
|
|
9
|
-
class RuleDeleteResponse < FinchAPI::Internal::Type::BaseModel
|
|
10
|
-
# @!attribute id
|
|
11
|
-
# Finch id (uuidv4) for the rule.
|
|
12
|
-
#
|
|
13
|
-
# @return [String, nil]
|
|
14
|
-
optional :id, String
|
|
15
|
-
|
|
16
|
-
# @!attribute attributes
|
|
17
|
-
# Specifies the fields to be applied when the condition is met.
|
|
18
|
-
#
|
|
19
|
-
# @return [FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse::Attributes, nil]
|
|
20
|
-
optional :attributes,
|
|
21
|
-
-> { FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse::Attributes }
|
|
22
|
-
|
|
23
|
-
# @!attribute conditions
|
|
24
|
-
#
|
|
25
|
-
# @return [Array<FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse::Condition>, nil]
|
|
26
|
-
optional :conditions,
|
|
27
|
-
-> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse::Condition] }
|
|
28
|
-
|
|
29
|
-
# @!attribute created_at
|
|
30
|
-
# The datetime when the rule was created.
|
|
31
|
-
#
|
|
32
|
-
# @return [Time, nil]
|
|
33
|
-
optional :created_at, Time
|
|
34
|
-
|
|
35
|
-
# @!attribute deleted_at
|
|
36
|
-
# The datetime when the rule was deleted.
|
|
37
|
-
#
|
|
38
|
-
# @return [Time, nil]
|
|
39
|
-
optional :deleted_at, Time
|
|
40
|
-
|
|
41
|
-
# @!attribute effective_end_date
|
|
42
|
-
# Specifies when the rules should stop applying rules based on the date.
|
|
43
|
-
#
|
|
44
|
-
# @return [String, nil]
|
|
45
|
-
optional :effective_end_date, String, nil?: true
|
|
46
|
-
|
|
47
|
-
# @!attribute effective_start_date
|
|
48
|
-
# Specifies when the rule should begin applying based on the date.
|
|
49
|
-
#
|
|
50
|
-
# @return [String, nil]
|
|
51
|
-
optional :effective_start_date, String, nil?: true
|
|
52
|
-
|
|
53
|
-
# @!attribute entity_type
|
|
54
|
-
# The entity type to which the rule is applied.
|
|
55
|
-
#
|
|
56
|
-
# @return [Symbol, FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse::EntityType, nil]
|
|
57
|
-
optional :entity_type,
|
|
58
|
-
enum: -> { FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse::EntityType }
|
|
59
|
-
|
|
60
|
-
# @!attribute priority
|
|
61
|
-
# The priority of the rule.
|
|
62
|
-
#
|
|
63
|
-
# @return [Integer, nil]
|
|
64
|
-
optional :priority, Integer
|
|
65
|
-
|
|
66
|
-
# @!attribute updated_at
|
|
67
|
-
# The datetime when the rule was last updated.
|
|
68
|
-
#
|
|
69
|
-
# @return [Time, nil]
|
|
70
|
-
optional :updated_at, Time
|
|
71
|
-
|
|
72
|
-
# @!method initialize(id: nil, attributes: nil, conditions: nil, created_at: nil, deleted_at: nil, effective_end_date: nil, effective_start_date: nil, entity_type: nil, priority: nil, updated_at: nil)
|
|
73
|
-
# @param id [String] Finch id (uuidv4) for the rule.
|
|
74
|
-
#
|
|
75
|
-
# @param attributes [FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse::Attributes] Specifies the fields to be applied when the condition is met.
|
|
76
|
-
#
|
|
77
|
-
# @param conditions [Array<FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse::Condition>]
|
|
78
|
-
#
|
|
79
|
-
# @param created_at [Time] The datetime when the rule was created.
|
|
80
|
-
#
|
|
81
|
-
# @param deleted_at [Time] The datetime when the rule was deleted.
|
|
82
|
-
#
|
|
83
|
-
# @param effective_end_date [String, nil] Specifies when the rules should stop applying rules based on the date.
|
|
84
|
-
#
|
|
85
|
-
# @param effective_start_date [String, nil] Specifies when the rule should begin applying based on the date.
|
|
86
|
-
#
|
|
87
|
-
# @param entity_type [Symbol, FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse::EntityType] The entity type to which the rule is applied.
|
|
88
|
-
#
|
|
89
|
-
# @param priority [Integer] The priority of the rule.
|
|
90
|
-
#
|
|
91
|
-
# @param updated_at [Time] The datetime when the rule was last updated.
|
|
92
|
-
|
|
93
|
-
# @see FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse#attributes
|
|
94
|
-
class Attributes < FinchAPI::Internal::Type::BaseModel
|
|
95
|
-
# @!attribute metadata
|
|
96
|
-
# The metadata to be attached in the entity. It is a key-value pairs where the
|
|
97
|
-
# values can be of any type (string, number, boolean, object, array, etc.).
|
|
98
|
-
#
|
|
99
|
-
# @return [Hash{Symbol=>Object}, nil]
|
|
100
|
-
optional :metadata, FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown]
|
|
101
|
-
|
|
102
|
-
# @!method initialize(metadata: nil)
|
|
103
|
-
# Some parameter documentations has been truncated, see
|
|
104
|
-
# {FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse::Attributes}
|
|
105
|
-
# for more details.
|
|
106
|
-
#
|
|
107
|
-
# Specifies the fields to be applied when the condition is met.
|
|
108
|
-
#
|
|
109
|
-
# @param metadata [Hash{Symbol=>Object}] The metadata to be attached in the entity. It is a key-value pairs where the val
|
|
110
|
-
end
|
|
111
|
-
|
|
112
|
-
class Condition < FinchAPI::Internal::Type::BaseModel
|
|
113
|
-
# @!attribute field
|
|
114
|
-
# The field to be checked in the rule.
|
|
115
|
-
#
|
|
116
|
-
# @return [String, nil]
|
|
117
|
-
optional :field, String
|
|
118
|
-
|
|
119
|
-
# @!attribute operator
|
|
120
|
-
# The operator to be used in the rule.
|
|
121
|
-
#
|
|
122
|
-
# @return [Symbol, FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse::Condition::Operator, nil]
|
|
123
|
-
optional :operator,
|
|
124
|
-
enum: -> { FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse::Condition::Operator }
|
|
125
|
-
|
|
126
|
-
# @!attribute value
|
|
127
|
-
# The value of the field to be checked in the rule.
|
|
128
|
-
#
|
|
129
|
-
# @return [String, nil]
|
|
130
|
-
optional :value, String
|
|
131
|
-
|
|
132
|
-
# @!method initialize(field: nil, operator: nil, value: nil)
|
|
133
|
-
# @param field [String] The field to be checked in the rule.
|
|
134
|
-
#
|
|
135
|
-
# @param operator [Symbol, FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse::Condition::Operator] The operator to be used in the rule.
|
|
136
|
-
#
|
|
137
|
-
# @param value [String] The value of the field to be checked in the rule.
|
|
138
|
-
|
|
139
|
-
# The operator to be used in the rule.
|
|
140
|
-
#
|
|
141
|
-
# @see FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse::Condition#operator
|
|
142
|
-
module Operator
|
|
143
|
-
extend FinchAPI::Internal::Type::Enum
|
|
144
|
-
|
|
145
|
-
EQUALS = :equals
|
|
146
|
-
|
|
147
|
-
# @!method self.values
|
|
148
|
-
# @return [Array<Symbol>]
|
|
149
|
-
end
|
|
150
|
-
end
|
|
151
|
-
|
|
152
|
-
# The entity type to which the rule is applied.
|
|
153
|
-
#
|
|
154
|
-
# @see FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse#entity_type
|
|
155
|
-
module EntityType
|
|
156
|
-
extend FinchAPI::Internal::Type::Enum
|
|
157
|
-
|
|
158
|
-
PAY_STATEMENT_ITEM = :pay_statement_item
|
|
159
|
-
|
|
160
|
-
# @!method self.values
|
|
161
|
-
# @return [Array<Symbol>]
|
|
162
|
-
end
|
|
163
|
-
end
|
|
164
|
-
end
|
|
165
|
-
end
|
|
166
|
-
end
|
|
167
|
-
end
|
|
168
|
-
end
|