finch-api 0.1.0.pre.alpha.30 → 0.1.0.pre.alpha.31
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 +40 -0
- data/README.md +1 -1
- data/lib/finch_api/errors.rb +25 -11
- data/lib/finch_api/file_part.rb +10 -7
- data/lib/finch_api/internal/individuals_page.rb +1 -1
- data/lib/finch_api/internal/page.rb +1 -1
- data/lib/finch_api/internal/responses_page.rb +1 -1
- data/lib/finch_api/internal/single_page.rb +1 -1
- data/lib/finch_api/internal/transport/base_client.rb +11 -7
- data/lib/finch_api/internal/transport/pooled_net_requester.rb +34 -31
- data/lib/finch_api/internal/type/base_page.rb +1 -1
- data/lib/finch_api/internal/type/file_input.rb +7 -4
- data/lib/finch_api/internal/util.rb +8 -7
- data/lib/finch_api/models/connect/session_new_params.rb +66 -50
- data/lib/finch_api/models/connect/session_reauthenticate_params.rb +10 -10
- data/lib/finch_api/models/create_access_token_response.rb +9 -1
- data/lib/finch_api/models/hris/benefit_contribution.rb +124 -29
- data/lib/finch_api/models/hris/benefit_create_params.rb +9 -1
- data/lib/finch_api/models/hris/benefit_list_params.rb +9 -1
- data/lib/finch_api/models/hris/benefit_list_supported_benefits_params.rb +9 -1
- data/lib/finch_api/models/hris/benefit_retrieve_params.rb +9 -1
- data/lib/finch_api/models/hris/benefit_update_params.rb +9 -1
- data/lib/finch_api/models/hris/benefits/individual_benefit.rb +222 -6
- data/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb +40 -2
- data/lib/finch_api/models/hris/benefits/individual_enrolled_ids_params.rb +9 -1
- data/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rb +9 -1
- data/lib/finch_api/models/hris/benefits/individual_unenroll_many_params.rb +9 -1
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rb +9 -1
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rb +9 -1
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_list_params.rb +9 -1
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_update_params.rb +10 -1
- data/lib/finch_api/models/hris/company/pay_statement_item_list_params.rb +9 -1
- data/lib/finch_api/models/hris/company_retrieve_params.rb +9 -1
- data/lib/finch_api/models/hris/directory_list_individuals_params.rb +9 -1
- data/lib/finch_api/models/hris/directory_list_params.rb +9 -1
- data/lib/finch_api/models/hris/document_list_params.rb +9 -1
- data/lib/finch_api/models/hris/document_response.rb +11 -11
- data/lib/finch_api/models/hris/document_retreive_params.rb +9 -1
- data/lib/finch_api/models/hris/employment_retrieve_many_params.rb +9 -1
- data/lib/finch_api/models/hris/individual_retrieve_many_params.rb +11 -1
- data/lib/finch_api/models/hris/pay_statement.rb +11 -15
- data/lib/finch_api/models/hris/pay_statement_retrieve_many_params.rb +9 -1
- data/lib/finch_api/models/hris/payment_list_params.rb +9 -1
- data/lib/finch_api/models/hris/supported_benefit.rb +1 -0
- data/lib/finch_api/models/hris/w42005.rb +20 -20
- data/lib/finch_api/models/hris/w42020.rb +30 -30
- data/lib/finch_api/models/introspection.rb +38 -23
- data/lib/finch_api/models/jobs/automated_list_params.rb +1 -14
- data/lib/finch_api/models/jobs/automated_retrieve_params.rb +1 -14
- data/lib/finch_api/models/jobs/manual_retrieve_params.rb +1 -14
- data/lib/finch_api/models/payroll/pay_group_list_params.rb +11 -1
- data/lib/finch_api/models/payroll/pay_group_retrieve_params.rb +9 -1
- data/lib/finch_api/models/provider.rb +42 -1092
- data/lib/finch_api/models/provider_list_response.rb +143 -0
- data/lib/finch_api/models/request_forwarding_forward_params.rb +10 -6
- data/lib/finch_api/models/request_forwarding_forward_response.rb +69 -48
- data/lib/finch_api/resources/connect/sessions.rb +12 -12
- data/lib/finch_api/resources/hris/benefits/individuals.rb +24 -10
- data/lib/finch_api/resources/hris/benefits.rb +37 -16
- data/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb +38 -15
- data/lib/finch_api/resources/hris/company/pay_statement_item.rb +3 -1
- data/lib/finch_api/resources/hris/company.rb +6 -2
- data/lib/finch_api/resources/hris/directory.rb +3 -1
- data/lib/finch_api/resources/hris/documents.rb +9 -3
- data/lib/finch_api/resources/hris/employments.rb +7 -3
- data/lib/finch_api/resources/hris/individuals.rb +10 -4
- data/lib/finch_api/resources/hris/pay_statements.rb +7 -3
- data/lib/finch_api/resources/hris/payments.rb +3 -1
- data/lib/finch_api/resources/jobs/automated.rb +3 -16
- data/lib/finch_api/resources/jobs/manual.rb +2 -10
- data/lib/finch_api/resources/payroll/pay_groups.rb +12 -3
- data/lib/finch_api/resources/providers.rb +2 -2
- data/lib/finch_api/resources/request_forwarding.rb +2 -2
- data/lib/finch_api/version.rb +1 -1
- data/lib/finch_api.rb +1 -0
- data/rbi/finch_api/errors.rbi +29 -2
- data/rbi/finch_api/file_part.rbi +1 -1
- data/rbi/finch_api/internal/transport/base_client.rbi +4 -5
- data/rbi/finch_api/internal/type/base_page.rbi +1 -1
- data/rbi/finch_api/internal/util.rbi +1 -1
- data/rbi/finch_api/models/connect/session_new_params.rbi +124 -98
- data/rbi/finch_api/models/connect/session_reauthenticate_params.rbi +23 -23
- data/rbi/finch_api/models/create_access_token_response.rbi +8 -0
- data/rbi/finch_api/models/hris/benefit_contribution.rbi +270 -52
- data/rbi/finch_api/models/hris/benefit_create_params.rbi +11 -0
- data/rbi/finch_api/models/hris/benefit_list_params.rbi +24 -5
- data/rbi/finch_api/models/hris/benefit_list_supported_benefits_params.rbi +24 -5
- data/rbi/finch_api/models/hris/benefit_retrieve_params.rbi +24 -5
- data/rbi/finch_api/models/hris/benefit_update_params.rbi +15 -1
- data/rbi/finch_api/models/hris/benefits/individual_benefit.rbi +515 -20
- data/rbi/finch_api/models/hris/benefits/individual_enroll_many_params.rbi +87 -0
- data/rbi/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbi +22 -5
- data/rbi/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi +11 -0
- data/rbi/finch_api/models/hris/benefits/individual_unenroll_many_params.rbi +11 -0
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbi +11 -0
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbi +22 -5
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbi +22 -5
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbi +15 -1
- data/rbi/finch_api/models/hris/company/pay_statement_item_list_params.rbi +11 -0
- data/rbi/finch_api/models/hris/company_retrieve_params.rbi +24 -5
- data/rbi/finch_api/models/hris/directory_list_individuals_params.rbi +11 -0
- data/rbi/finch_api/models/hris/directory_list_params.rbi +11 -0
- data/rbi/finch_api/models/hris/document_list_params.rbi +11 -0
- data/rbi/finch_api/models/hris/document_response.rbi +14 -29
- data/rbi/finch_api/models/hris/document_retreive_params.rbi +24 -5
- data/rbi/finch_api/models/hris/employment_retrieve_many_params.rbi +11 -0
- data/rbi/finch_api/models/hris/individual_retrieve_many_params.rbi +16 -1
- data/rbi/finch_api/models/hris/pay_statement.rbi +9 -34
- data/rbi/finch_api/models/hris/pay_statement_retrieve_many_params.rbi +11 -0
- data/rbi/finch_api/models/hris/payment_list_params.rbi +11 -0
- data/rbi/finch_api/models/hris/supported_benefit.rbi +5 -0
- data/rbi/finch_api/models/hris/w42005.rbi +28 -38
- data/rbi/finch_api/models/hris/w42020.rbi +37 -43
- data/rbi/finch_api/models/introspection.rbi +57 -33
- data/rbi/finch_api/models/jobs/automated_list_params.rbi +0 -15
- data/rbi/finch_api/models/jobs/automated_retrieve_params.rbi +5 -25
- data/rbi/finch_api/models/jobs/manual_retrieve_params.rbi +5 -25
- data/rbi/finch_api/models/payroll/pay_group_list_params.rbi +11 -0
- data/rbi/finch_api/models/payroll/pay_group_retrieve_params.rbi +24 -5
- data/rbi/finch_api/models/provider.rbi +75 -2507
- data/rbi/finch_api/models/provider_list_response.rbi +280 -0
- data/rbi/finch_api/models/request_forwarding_forward_params.rbi +6 -6
- data/rbi/finch_api/models/request_forwarding_forward_response.rbi +93 -60
- data/rbi/finch_api/resources/connect/sessions.rbi +22 -14
- data/rbi/finch_api/resources/hris/benefits/individuals.rbi +20 -3
- data/rbi/finch_api/resources/hris/benefits.rbi +39 -12
- data/rbi/finch_api/resources/hris/company/pay_statement_item/rules.rbi +35 -8
- data/rbi/finch_api/resources/hris/company/pay_statement_item.rbi +3 -0
- data/rbi/finch_api/resources/hris/company.rbi +9 -4
- data/rbi/finch_api/resources/hris/directory.rbi +3 -0
- data/rbi/finch_api/resources/hris/documents.rbi +6 -0
- data/rbi/finch_api/resources/hris/employments.rbi +4 -1
- data/rbi/finch_api/resources/hris/individuals.rbi +10 -1
- data/rbi/finch_api/resources/hris/pay_statements.rbi +4 -1
- data/rbi/finch_api/resources/hris/payments.rbi +3 -0
- data/rbi/finch_api/resources/jobs/automated.rbi +1 -14
- data/rbi/finch_api/resources/jobs/manual.rbi +1 -9
- data/rbi/finch_api/resources/payroll/pay_groups.rbi +15 -2
- data/rbi/finch_api/resources/providers.rbi +1 -1
- data/rbi/finch_api/resources/request_forwarding.rbi +2 -2
- data/sig/finch_api/errors.rbs +7 -0
- data/sig/finch_api/file_part.rbs +1 -1
- data/sig/finch_api/models/connect/session_new_params.rbs +45 -45
- data/sig/finch_api/models/connect/session_reauthenticate_params.rbs +15 -15
- data/sig/finch_api/models/create_access_token_response.rbs +5 -0
- data/sig/finch_api/models/hris/benefit_contribution.rbs +107 -21
- data/sig/finch_api/models/hris/benefit_create_params.rbs +7 -0
- data/sig/finch_api/models/hris/benefit_list_params.rbs +14 -3
- data/sig/finch_api/models/hris/benefit_list_supported_benefits_params.rbs +14 -3
- data/sig/finch_api/models/hris/benefit_retrieve_params.rbs +14 -3
- data/sig/finch_api/models/hris/benefit_update_params.rbs +8 -1
- data/sig/finch_api/models/hris/benefits/individual_benefit.rbs +201 -8
- data/sig/finch_api/models/hris/benefits/individual_enroll_many_params.rbs +30 -1
- data/sig/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbs +14 -3
- data/sig/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbs +7 -1
- data/sig/finch_api/models/hris/benefits/individual_unenroll_many_params.rbs +7 -1
- data/sig/finch_api/models/hris/benfit_contribution.rbs +1 -1
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbs +7 -0
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbs +14 -3
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbs +14 -3
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbs +7 -1
- data/sig/finch_api/models/hris/company/pay_statement_item_list_params.rbs +7 -0
- data/sig/finch_api/models/hris/company_retrieve_params.rbs +14 -3
- data/sig/finch_api/models/hris/directory_list_individuals_params.rbs +7 -1
- data/sig/finch_api/models/hris/directory_list_params.rbs +7 -1
- data/sig/finch_api/models/hris/document_list_params.rbs +7 -0
- data/sig/finch_api/models/hris/document_response.rbs +11 -19
- data/sig/finch_api/models/hris/document_retreive_params.rbs +14 -3
- data/sig/finch_api/models/hris/employment_retrieve_many_params.rbs +8 -1
- data/sig/finch_api/models/hris/individual_retrieve_many_params.rbs +7 -0
- data/sig/finch_api/models/hris/pay_statement.rbs +12 -12
- data/sig/finch_api/models/hris/pay_statement_retrieve_many_params.rbs +8 -1
- data/sig/finch_api/models/hris/payment_list_params.rbs +7 -1
- data/sig/finch_api/models/hris/supported_benefit.rbs +2 -1
- data/sig/finch_api/models/hris/w42005.rbs +23 -37
- data/sig/finch_api/models/hris/w42020.rbs +35 -45
- data/sig/finch_api/models/introspection.rbs +29 -20
- data/sig/finch_api/models/jobs/automated_list_params.rbs +1 -7
- data/sig/finch_api/models/jobs/automated_retrieve_params.rbs +3 -13
- data/sig/finch_api/models/jobs/manual_retrieve_params.rbs +3 -13
- data/sig/finch_api/models/payroll/pay_group_list_params.rbs +11 -1
- data/sig/finch_api/models/payroll/pay_group_retrieve_params.rbs +14 -3
- data/sig/finch_api/models/provider.rbs +31 -1366
- data/sig/finch_api/models/provider_list_response.rbs +128 -0
- data/sig/finch_api/models/request_forwarding_forward_params.rbs +8 -8
- data/sig/finch_api/models/request_forwarding_forward_response.rbs +40 -30
- data/sig/finch_api/resources/connect/sessions.rbs +9 -9
- data/sig/finch_api/resources/hris/benefits/individuals.rbs +4 -0
- data/sig/finch_api/resources/hris/benefits.rbs +5 -0
- data/sig/finch_api/resources/hris/company/pay_statement_item/rules.rbs +4 -0
- data/sig/finch_api/resources/hris/company/pay_statement_item.rbs +1 -0
- data/sig/finch_api/resources/hris/company.rbs +1 -0
- data/sig/finch_api/resources/hris/directory.rbs +1 -0
- data/sig/finch_api/resources/hris/documents.rbs +2 -0
- data/sig/finch_api/resources/hris/employments.rbs +1 -0
- data/sig/finch_api/resources/hris/individuals.rbs +1 -0
- data/sig/finch_api/resources/hris/pay_statements.rbs +1 -0
- data/sig/finch_api/resources/hris/payments.rbs +1 -0
- data/sig/finch_api/resources/jobs/automated.rbs +0 -2
- data/sig/finch_api/resources/jobs/manual.rbs +0 -1
- data/sig/finch_api/resources/payroll/pay_groups.rbs +2 -0
- data/sig/finch_api/resources/providers.rbs +1 -1
- data/sig/finch_api/resources/request_forwarding.rbs +2 -2
- metadata +5 -2
|
@@ -7,36 +7,36 @@ module FinchAPI
|
|
|
7
7
|
# @!attribute id
|
|
8
8
|
# A stable Finch id for the document.
|
|
9
9
|
#
|
|
10
|
-
# @return [String
|
|
11
|
-
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :id, String
|
|
12
12
|
|
|
13
13
|
# @!attribute individual_id
|
|
14
14
|
# The ID of the individual associated with the document. This will be null for
|
|
15
15
|
# employer-level documents.
|
|
16
16
|
#
|
|
17
17
|
# @return [String, nil]
|
|
18
|
-
|
|
18
|
+
required :individual_id, String, nil?: true
|
|
19
19
|
|
|
20
20
|
# @!attribute type
|
|
21
21
|
# The type of document.
|
|
22
22
|
#
|
|
23
|
-
# @return [Symbol, FinchAPI::Models::HRIS::DocumentResponse::Type
|
|
24
|
-
|
|
23
|
+
# @return [Symbol, FinchAPI::Models::HRIS::DocumentResponse::Type]
|
|
24
|
+
required :type, enum: -> { FinchAPI::HRIS::DocumentResponse::Type }
|
|
25
25
|
|
|
26
26
|
# @!attribute url
|
|
27
27
|
# A URL to access the document. Format:
|
|
28
28
|
# `https://api.tryfinch.com/employer/documents/:document_id`.
|
|
29
29
|
#
|
|
30
|
-
# @return [String
|
|
31
|
-
|
|
30
|
+
# @return [String]
|
|
31
|
+
required :url, String
|
|
32
32
|
|
|
33
33
|
# @!attribute year
|
|
34
34
|
# The year the document applies to, if available.
|
|
35
35
|
#
|
|
36
|
-
# @return [Float
|
|
37
|
-
|
|
36
|
+
# @return [Float]
|
|
37
|
+
required :year, Float
|
|
38
38
|
|
|
39
|
-
# @!method initialize(id
|
|
39
|
+
# @!method initialize(id:, individual_id:, type:, url:, year:)
|
|
40
40
|
# Some parameter documentations has been truncated, see
|
|
41
41
|
# {FinchAPI::Models::HRIS::DocumentResponse} for more details.
|
|
42
42
|
#
|
|
@@ -48,7 +48,7 @@ module FinchAPI
|
|
|
48
48
|
#
|
|
49
49
|
# @param url [String] A URL to access the document. Format: `https://api.tryfinch.com/employer/documen
|
|
50
50
|
#
|
|
51
|
-
# @param year [Float
|
|
51
|
+
# @param year [Float] The year the document applies to, if available.
|
|
52
52
|
|
|
53
53
|
# The type of document.
|
|
54
54
|
#
|
|
@@ -8,7 +8,15 @@ module FinchAPI
|
|
|
8
8
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
|
-
# @!
|
|
11
|
+
# @!attribute entity_ids
|
|
12
|
+
# The entity IDs to specify which entities' data to access.
|
|
13
|
+
#
|
|
14
|
+
# @return [Array<String>, nil]
|
|
15
|
+
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
16
|
+
|
|
17
|
+
# @!method initialize(entity_ids: nil, request_options: {})
|
|
18
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
19
|
+
#
|
|
12
20
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
13
21
|
end
|
|
14
22
|
end
|
|
@@ -15,9 +15,17 @@ module FinchAPI
|
|
|
15
15
|
required :requests,
|
|
16
16
|
-> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::EmploymentRetrieveManyParams::Request] }
|
|
17
17
|
|
|
18
|
-
# @!
|
|
18
|
+
# @!attribute entity_ids
|
|
19
|
+
# The entity IDs to specify which entities' data to access.
|
|
20
|
+
#
|
|
21
|
+
# @return [Array<String>, nil]
|
|
22
|
+
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
23
|
+
|
|
24
|
+
# @!method initialize(requests:, entity_ids: nil, request_options: {})
|
|
19
25
|
# @param requests [Array<FinchAPI::Models::HRIS::EmploymentRetrieveManyParams::Request>] The array of batch requests.
|
|
20
26
|
#
|
|
27
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
28
|
+
#
|
|
21
29
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
22
30
|
|
|
23
31
|
class Request < FinchAPI::Internal::Type::BaseModel
|
|
@@ -8,6 +8,12 @@ module FinchAPI
|
|
|
8
8
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
|
+
# @!attribute entity_ids
|
|
12
|
+
# The entity IDs to specify which entities' data to access.
|
|
13
|
+
#
|
|
14
|
+
# @return [Array<String>, nil]
|
|
15
|
+
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
16
|
+
|
|
11
17
|
# @!attribute options
|
|
12
18
|
#
|
|
13
19
|
# @return [FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Options, nil]
|
|
@@ -19,9 +25,13 @@ module FinchAPI
|
|
|
19
25
|
optional :requests,
|
|
20
26
|
-> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::IndividualRetrieveManyParams::Request] }
|
|
21
27
|
|
|
22
|
-
# @!method initialize(options: nil, requests: nil, request_options: {})
|
|
28
|
+
# @!method initialize(entity_ids: nil, options: nil, requests: nil, request_options: {})
|
|
29
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
30
|
+
#
|
|
23
31
|
# @param options [FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Options, nil]
|
|
32
|
+
#
|
|
24
33
|
# @param requests [Array<FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Request>]
|
|
34
|
+
#
|
|
25
35
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
26
36
|
|
|
27
37
|
class Options < FinchAPI::Internal::Type::BaseModel
|
|
@@ -15,22 +15,16 @@ module FinchAPI
|
|
|
15
15
|
# @!attribute employee_deductions
|
|
16
16
|
# The array of deductions objects associated with this pay statement.
|
|
17
17
|
#
|
|
18
|
-
# @return [Array<FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction
|
|
18
|
+
# @return [Array<FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction>, nil]
|
|
19
19
|
required :employee_deductions,
|
|
20
|
-
-> {
|
|
21
|
-
FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::PayStatement::EmployeeDeduction,
|
|
22
|
-
nil?: true]
|
|
23
|
-
},
|
|
20
|
+
-> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::PayStatement::EmployeeDeduction] },
|
|
24
21
|
nil?: true
|
|
25
22
|
|
|
26
23
|
# @!attribute employer_contributions
|
|
27
24
|
#
|
|
28
|
-
# @return [Array<FinchAPI::Models::HRIS::PayStatement::EmployerContribution
|
|
25
|
+
# @return [Array<FinchAPI::Models::HRIS::PayStatement::EmployerContribution>, nil]
|
|
29
26
|
required :employer_contributions,
|
|
30
|
-
-> {
|
|
31
|
-
FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::PayStatement::EmployerContribution,
|
|
32
|
-
nil?: true]
|
|
33
|
-
},
|
|
27
|
+
-> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::PayStatement::EmployerContribution] },
|
|
34
28
|
nil?: true
|
|
35
29
|
|
|
36
30
|
# @!attribute gross_pay
|
|
@@ -58,9 +52,11 @@ module FinchAPI
|
|
|
58
52
|
# @!attribute taxes
|
|
59
53
|
# The array of taxes objects associated with this pay statement.
|
|
60
54
|
#
|
|
61
|
-
# @return [Array<FinchAPI::Models::HRIS::PayStatement::Tax
|
|
55
|
+
# @return [Array<FinchAPI::Models::HRIS::PayStatement::Tax>, nil]
|
|
62
56
|
required :taxes,
|
|
63
|
-
-> {
|
|
57
|
+
-> {
|
|
58
|
+
FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::PayStatement::Tax]
|
|
59
|
+
},
|
|
64
60
|
nil?: true
|
|
65
61
|
|
|
66
62
|
# @!attribute total_hours
|
|
@@ -78,9 +74,9 @@ module FinchAPI
|
|
|
78
74
|
# @!method initialize(earnings:, employee_deductions:, employer_contributions:, gross_pay:, individual_id:, net_pay:, payment_method:, taxes:, total_hours:, type:)
|
|
79
75
|
# @param earnings [Array<FinchAPI::Models::HRIS::PayStatement::Earning, nil>, nil] The array of earnings objects associated with this pay statement
|
|
80
76
|
#
|
|
81
|
-
# @param employee_deductions [Array<FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction
|
|
77
|
+
# @param employee_deductions [Array<FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction>, nil] The array of deductions objects associated with this pay statement.
|
|
82
78
|
#
|
|
83
|
-
# @param employer_contributions [Array<FinchAPI::Models::HRIS::PayStatement::EmployerContribution
|
|
79
|
+
# @param employer_contributions [Array<FinchAPI::Models::HRIS::PayStatement::EmployerContribution>, nil]
|
|
84
80
|
#
|
|
85
81
|
# @param gross_pay [FinchAPI::Models::Money, nil]
|
|
86
82
|
#
|
|
@@ -90,7 +86,7 @@ module FinchAPI
|
|
|
90
86
|
#
|
|
91
87
|
# @param payment_method [Symbol, FinchAPI::Models::HRIS::PayStatement::PaymentMethod, nil] The payment method.
|
|
92
88
|
#
|
|
93
|
-
# @param taxes [Array<FinchAPI::Models::HRIS::PayStatement::Tax
|
|
89
|
+
# @param taxes [Array<FinchAPI::Models::HRIS::PayStatement::Tax>, nil] The array of taxes objects associated with this pay statement.
|
|
94
90
|
#
|
|
95
91
|
# @param total_hours [Float, nil] The number of hours worked for this pay period
|
|
96
92
|
#
|
|
@@ -15,9 +15,17 @@ module FinchAPI
|
|
|
15
15
|
required :requests,
|
|
16
16
|
-> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::PayStatementRetrieveManyParams::Request] }
|
|
17
17
|
|
|
18
|
-
# @!
|
|
18
|
+
# @!attribute entity_ids
|
|
19
|
+
# The entity IDs to specify which entities' data to access.
|
|
20
|
+
#
|
|
21
|
+
# @return [Array<String>, nil]
|
|
22
|
+
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
23
|
+
|
|
24
|
+
# @!method initialize(requests:, entity_ids: nil, request_options: {})
|
|
19
25
|
# @param requests [Array<FinchAPI::Models::HRIS::PayStatementRetrieveManyParams::Request>] The array of batch requests.
|
|
20
26
|
#
|
|
27
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
28
|
+
#
|
|
21
29
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
22
30
|
|
|
23
31
|
class Request < FinchAPI::Internal::Type::BaseModel
|
|
@@ -22,7 +22,13 @@ module FinchAPI
|
|
|
22
22
|
# @return [Date]
|
|
23
23
|
required :start_date, Date
|
|
24
24
|
|
|
25
|
-
# @!
|
|
25
|
+
# @!attribute entity_ids
|
|
26
|
+
# The entity IDs to specify which entities' data to access.
|
|
27
|
+
#
|
|
28
|
+
# @return [Array<String>, nil]
|
|
29
|
+
optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
|
|
30
|
+
|
|
31
|
+
# @!method initialize(end_date:, start_date:, entity_ids: nil, request_options: {})
|
|
26
32
|
# Some parameter documentations has been truncated, see
|
|
27
33
|
# {FinchAPI::Models::HRIS::PaymentListParams} for more details.
|
|
28
34
|
#
|
|
@@ -30,6 +36,8 @@ module FinchAPI
|
|
|
30
36
|
#
|
|
31
37
|
# @param start_date [Date] The start date to retrieve payments by a company (inclusive) in `YYYY-MM-DD` for
|
|
32
38
|
#
|
|
39
|
+
# @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
|
|
40
|
+
#
|
|
33
41
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
34
42
|
end
|
|
35
43
|
end
|
|
@@ -7,22 +7,22 @@ module FinchAPI
|
|
|
7
7
|
# @!attribute data
|
|
8
8
|
# Detailed information specific to the 2005 W4 form.
|
|
9
9
|
#
|
|
10
|
-
# @return [FinchAPI::Models::HRIS::W42005::Data
|
|
11
|
-
|
|
10
|
+
# @return [FinchAPI::Models::HRIS::W42005::Data]
|
|
11
|
+
required :data, -> { FinchAPI::HRIS::W42005::Data }
|
|
12
12
|
|
|
13
13
|
# @!attribute type
|
|
14
14
|
# Specifies the form type, indicating that this document is a 2005 W4 form.
|
|
15
15
|
#
|
|
16
|
-
# @return [Symbol, FinchAPI::Models::HRIS::W42005::Type
|
|
17
|
-
|
|
16
|
+
# @return [Symbol, FinchAPI::Models::HRIS::W42005::Type]
|
|
17
|
+
required :type, enum: -> { FinchAPI::HRIS::W42005::Type }
|
|
18
18
|
|
|
19
19
|
# @!attribute year
|
|
20
20
|
# The tax year this W4 document applies to.
|
|
21
21
|
#
|
|
22
|
-
# @return [Float
|
|
23
|
-
|
|
22
|
+
# @return [Float]
|
|
23
|
+
required :year, Float
|
|
24
24
|
|
|
25
|
-
# @!method initialize(data
|
|
25
|
+
# @!method initialize(data:, type:, year:)
|
|
26
26
|
# A 2005 version of the W-4 tax form containing information on an individual's
|
|
27
27
|
# filing status, dependents, and withholding details.
|
|
28
28
|
#
|
|
@@ -30,52 +30,52 @@ module FinchAPI
|
|
|
30
30
|
#
|
|
31
31
|
# @param type [Symbol, FinchAPI::Models::HRIS::W42005::Type] Specifies the form type, indicating that this document is a 2005 W4 form.
|
|
32
32
|
#
|
|
33
|
-
# @param year [Float
|
|
33
|
+
# @param year [Float] The tax year this W4 document applies to.
|
|
34
34
|
|
|
35
35
|
# @see FinchAPI::Models::HRIS::W42005#data
|
|
36
36
|
class Data < FinchAPI::Internal::Type::BaseModel
|
|
37
37
|
# @!attribute additional_withholding
|
|
38
38
|
# Additional withholding amount (in cents).
|
|
39
39
|
#
|
|
40
|
-
# @return [Integer
|
|
41
|
-
|
|
40
|
+
# @return [Integer]
|
|
41
|
+
required :additional_withholding, Integer
|
|
42
42
|
|
|
43
43
|
# @!attribute exemption
|
|
44
44
|
# Indicates exemption status from federal tax withholding.
|
|
45
45
|
#
|
|
46
46
|
# @return [Symbol, FinchAPI::Models::HRIS::W42005::Data::Exemption, nil]
|
|
47
|
-
|
|
47
|
+
required :exemption, enum: -> { FinchAPI::HRIS::W42005::Data::Exemption }, nil?: true
|
|
48
48
|
|
|
49
49
|
# @!attribute filing_status
|
|
50
50
|
# The individual's filing status for tax purposes.
|
|
51
51
|
#
|
|
52
52
|
# @return [Symbol, FinchAPI::Models::HRIS::W42005::Data::FilingStatus, nil]
|
|
53
|
-
|
|
53
|
+
required :filing_status, enum: -> { FinchAPI::HRIS::W42005::Data::FilingStatus }, nil?: true
|
|
54
54
|
|
|
55
55
|
# @!attribute individual_id
|
|
56
56
|
# The unique identifier for the individual associated with this 2005 W4 form.
|
|
57
57
|
#
|
|
58
|
-
# @return [String
|
|
59
|
-
|
|
58
|
+
# @return [String]
|
|
59
|
+
required :individual_id, String
|
|
60
60
|
|
|
61
61
|
# @!attribute total_number_of_allowances
|
|
62
62
|
# Total number of allowances claimed (in cents).
|
|
63
63
|
#
|
|
64
|
-
# @return [Integer
|
|
65
|
-
|
|
64
|
+
# @return [Integer]
|
|
65
|
+
required :total_number_of_allowances, Integer
|
|
66
66
|
|
|
67
|
-
# @!method initialize(additional_withholding
|
|
67
|
+
# @!method initialize(additional_withholding:, exemption:, filing_status:, individual_id:, total_number_of_allowances:)
|
|
68
68
|
# Detailed information specific to the 2005 W4 form.
|
|
69
69
|
#
|
|
70
|
-
# @param additional_withholding [Integer
|
|
70
|
+
# @param additional_withholding [Integer] Additional withholding amount (in cents).
|
|
71
71
|
#
|
|
72
|
-
# @param exemption [Symbol, FinchAPI::Models::HRIS::W42005::Data::Exemption] Indicates exemption status from federal tax withholding.
|
|
72
|
+
# @param exemption [Symbol, FinchAPI::Models::HRIS::W42005::Data::Exemption, nil] Indicates exemption status from federal tax withholding.
|
|
73
73
|
#
|
|
74
74
|
# @param filing_status [Symbol, FinchAPI::Models::HRIS::W42005::Data::FilingStatus, nil] The individual's filing status for tax purposes.
|
|
75
75
|
#
|
|
76
76
|
# @param individual_id [String] The unique identifier for the individual associated with this 2005 W4 form.
|
|
77
77
|
#
|
|
78
|
-
# @param total_number_of_allowances [Integer
|
|
78
|
+
# @param total_number_of_allowances [Integer] Total number of allowances claimed (in cents).
|
|
79
79
|
|
|
80
80
|
# Indicates exemption status from federal tax withholding.
|
|
81
81
|
#
|
|
@@ -7,22 +7,22 @@ module FinchAPI
|
|
|
7
7
|
# @!attribute data
|
|
8
8
|
# Detailed information specific to the 2020 W4 form.
|
|
9
9
|
#
|
|
10
|
-
# @return [FinchAPI::Models::HRIS::W42020::Data
|
|
11
|
-
|
|
10
|
+
# @return [FinchAPI::Models::HRIS::W42020::Data]
|
|
11
|
+
required :data, -> { FinchAPI::HRIS::W42020::Data }
|
|
12
12
|
|
|
13
13
|
# @!attribute type
|
|
14
14
|
# Specifies the form type, indicating that this document is a 2020 W4 form.
|
|
15
15
|
#
|
|
16
|
-
# @return [Symbol, FinchAPI::Models::HRIS::W42020::Type
|
|
17
|
-
|
|
16
|
+
# @return [Symbol, FinchAPI::Models::HRIS::W42020::Type]
|
|
17
|
+
required :type, enum: -> { FinchAPI::HRIS::W42020::Type }
|
|
18
18
|
|
|
19
19
|
# @!attribute year
|
|
20
20
|
# The tax year this W4 document applies to.
|
|
21
21
|
#
|
|
22
|
-
# @return [Float
|
|
23
|
-
|
|
22
|
+
# @return [Float]
|
|
23
|
+
required :year, Float
|
|
24
24
|
|
|
25
|
-
# @!method initialize(data
|
|
25
|
+
# @!method initialize(data:, type:, year:)
|
|
26
26
|
# A 2020 version of the W-4 tax form containing information on an individual's
|
|
27
27
|
# filing status, dependents, and withholding details.
|
|
28
28
|
#
|
|
@@ -30,7 +30,7 @@ module FinchAPI
|
|
|
30
30
|
#
|
|
31
31
|
# @param type [Symbol, FinchAPI::Models::HRIS::W42020::Type] Specifies the form type, indicating that this document is a 2020 W4 form.
|
|
32
32
|
#
|
|
33
|
-
# @param year [Float
|
|
33
|
+
# @param year [Float] The tax year this W4 document applies to.
|
|
34
34
|
|
|
35
35
|
# @see FinchAPI::Models::HRIS::W42020#data
|
|
36
36
|
class Data < FinchAPI::Internal::Type::BaseModel
|
|
@@ -38,72 +38,72 @@ module FinchAPI
|
|
|
38
38
|
# Amount claimed for dependents other than qualifying children under 17 (in
|
|
39
39
|
# cents).
|
|
40
40
|
#
|
|
41
|
-
# @return [Integer
|
|
42
|
-
|
|
41
|
+
# @return [Integer]
|
|
42
|
+
required :amount_for_other_dependents, Integer
|
|
43
43
|
|
|
44
44
|
# @!attribute amount_for_qualifying_children_under_17
|
|
45
45
|
# Amount claimed for dependents under 17 years old (in cents).
|
|
46
46
|
#
|
|
47
|
-
# @return [Integer
|
|
48
|
-
|
|
47
|
+
# @return [Integer]
|
|
48
|
+
required :amount_for_qualifying_children_under_17, Integer
|
|
49
49
|
|
|
50
50
|
# @!attribute deductions
|
|
51
51
|
# Deductible expenses (in cents).
|
|
52
52
|
#
|
|
53
|
-
# @return [Integer
|
|
54
|
-
|
|
53
|
+
# @return [Integer]
|
|
54
|
+
required :deductions, Integer
|
|
55
55
|
|
|
56
56
|
# @!attribute extra_withholding
|
|
57
57
|
# Additional withholding amount (in cents).
|
|
58
58
|
#
|
|
59
|
-
# @return [Integer
|
|
60
|
-
|
|
59
|
+
# @return [Integer]
|
|
60
|
+
required :extra_withholding, Integer
|
|
61
61
|
|
|
62
62
|
# @!attribute filing_status
|
|
63
63
|
# The individual's filing status for tax purposes.
|
|
64
64
|
#
|
|
65
65
|
# @return [Symbol, FinchAPI::Models::HRIS::W42020::Data::FilingStatus, nil]
|
|
66
|
-
|
|
66
|
+
required :filing_status, enum: -> { FinchAPI::HRIS::W42020::Data::FilingStatus }, nil?: true
|
|
67
67
|
|
|
68
68
|
# @!attribute individual_id
|
|
69
69
|
# The unique identifier for the individual associated with this document.
|
|
70
70
|
#
|
|
71
|
-
# @return [String
|
|
72
|
-
|
|
71
|
+
# @return [String]
|
|
72
|
+
required :individual_id, String
|
|
73
73
|
|
|
74
74
|
# @!attribute other_income
|
|
75
75
|
# Additional income from sources outside of primary employment (in cents).
|
|
76
76
|
#
|
|
77
|
-
# @return [Integer
|
|
78
|
-
|
|
77
|
+
# @return [Integer]
|
|
78
|
+
required :other_income, Integer
|
|
79
79
|
|
|
80
80
|
# @!attribute total_claim_dependent_and_other_credits
|
|
81
81
|
# Total amount claimed for dependents and other credits (in cents).
|
|
82
82
|
#
|
|
83
|
-
# @return [Integer
|
|
84
|
-
|
|
83
|
+
# @return [Integer]
|
|
84
|
+
required :total_claim_dependent_and_other_credits, Integer
|
|
85
85
|
|
|
86
|
-
# @!method initialize(amount_for_other_dependents
|
|
86
|
+
# @!method initialize(amount_for_other_dependents:, amount_for_qualifying_children_under_17:, deductions:, extra_withholding:, filing_status:, individual_id:, other_income:, total_claim_dependent_and_other_credits:)
|
|
87
87
|
# Some parameter documentations has been truncated, see
|
|
88
88
|
# {FinchAPI::Models::HRIS::W42020::Data} for more details.
|
|
89
89
|
#
|
|
90
90
|
# Detailed information specific to the 2020 W4 form.
|
|
91
91
|
#
|
|
92
|
-
# @param amount_for_other_dependents [Integer
|
|
92
|
+
# @param amount_for_other_dependents [Integer] Amount claimed for dependents other than qualifying children under 17 (in cents)
|
|
93
93
|
#
|
|
94
|
-
# @param amount_for_qualifying_children_under_17 [Integer
|
|
94
|
+
# @param amount_for_qualifying_children_under_17 [Integer] Amount claimed for dependents under 17 years old (in cents).
|
|
95
95
|
#
|
|
96
|
-
# @param deductions [Integer
|
|
96
|
+
# @param deductions [Integer] Deductible expenses (in cents).
|
|
97
97
|
#
|
|
98
|
-
# @param extra_withholding [Integer
|
|
98
|
+
# @param extra_withholding [Integer] Additional withholding amount (in cents).
|
|
99
99
|
#
|
|
100
100
|
# @param filing_status [Symbol, FinchAPI::Models::HRIS::W42020::Data::FilingStatus, nil] The individual's filing status for tax purposes.
|
|
101
101
|
#
|
|
102
102
|
# @param individual_id [String] The unique identifier for the individual associated with this document.
|
|
103
103
|
#
|
|
104
|
-
# @param other_income [Integer
|
|
104
|
+
# @param other_income [Integer] Additional income from sources outside of primary employment (in cents).
|
|
105
105
|
#
|
|
106
|
-
# @param total_claim_dependent_and_other_credits [Integer
|
|
106
|
+
# @param total_claim_dependent_and_other_credits [Integer] Total amount claimed for dependents and other credits (in cents).
|
|
107
107
|
|
|
108
108
|
# The individual's filing status for tax purposes.
|
|
109
109
|
#
|
|
@@ -99,17 +99,12 @@ module FinchAPI
|
|
|
99
99
|
# @return [String, nil]
|
|
100
100
|
optional :customer_name, String, nil?: true
|
|
101
101
|
|
|
102
|
-
# @!attribute
|
|
103
|
-
# Array of entity
|
|
102
|
+
# @!attribute entities
|
|
103
|
+
# Array of detailed entity information for each connected account in multi-account
|
|
104
|
+
# mode
|
|
104
105
|
#
|
|
105
|
-
# @return [Array<
|
|
106
|
-
optional :
|
|
107
|
-
|
|
108
|
-
# @!attribute entity_mode
|
|
109
|
-
# Indicates whether this connection manages a single entity or multiple entities.
|
|
110
|
-
#
|
|
111
|
-
# @return [Symbol, FinchAPI::Models::Introspection::EntityMode, nil]
|
|
112
|
-
optional :entity_mode, enum: -> { FinchAPI::Introspection::EntityMode }
|
|
106
|
+
# @return [Array<FinchAPI::Models::Introspection::Entity>, nil]
|
|
107
|
+
optional :entities, -> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::Introspection::Entity] }
|
|
113
108
|
|
|
114
109
|
# @!attribute manual
|
|
115
110
|
# Whether the connection associated with the `access_token` uses the Assisted
|
|
@@ -134,7 +129,7 @@ module FinchAPI
|
|
|
134
129
|
# @return [String, nil]
|
|
135
130
|
optional :username, String, nil?: true
|
|
136
131
|
|
|
137
|
-
# @!method initialize(id:, client_id:, client_type:, connection_id:, connection_status:, connection_type:, products:, provider_id:, account_id: nil, authentication_methods: nil, company_id: nil, customer_email: nil, customer_id: nil, customer_name: nil,
|
|
132
|
+
# @!method initialize(id:, client_id:, client_type:, connection_id:, connection_status:, connection_type:, products:, provider_id:, account_id: nil, authentication_methods: nil, company_id: nil, customer_email: nil, customer_id: nil, customer_name: nil, entities: nil, manual: nil, payroll_provider_id: nil, username: nil)
|
|
138
133
|
# Some parameter documentations has been truncated, see
|
|
139
134
|
# {FinchAPI::Models::Introspection} for more details.
|
|
140
135
|
#
|
|
@@ -166,9 +161,7 @@ module FinchAPI
|
|
|
166
161
|
#
|
|
167
162
|
# @param customer_name [String, nil] The name of your customer you provided to Finch when a connect session was creat
|
|
168
163
|
#
|
|
169
|
-
# @param
|
|
170
|
-
#
|
|
171
|
-
# @param entity_mode [Symbol, FinchAPI::Models::Introspection::EntityMode] Indicates whether this connection manages a single entity or multiple entities.
|
|
164
|
+
# @param entities [Array<FinchAPI::Models::Introspection::Entity>] Array of detailed entity information for each connected account in multi-account
|
|
172
165
|
#
|
|
173
166
|
# @param manual [Boolean] Whether the connection associated with the `access_token` uses the Assisted Conn
|
|
174
167
|
#
|
|
@@ -334,17 +327,39 @@ module FinchAPI
|
|
|
334
327
|
end
|
|
335
328
|
end
|
|
336
329
|
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
330
|
+
class Entity < FinchAPI::Internal::Type::BaseModel
|
|
331
|
+
# @!attribute id
|
|
332
|
+
# The connection account ID for this entity
|
|
333
|
+
#
|
|
334
|
+
# @return [String]
|
|
335
|
+
required :id, String
|
|
342
336
|
|
|
343
|
-
|
|
344
|
-
|
|
337
|
+
# @!attribute name
|
|
338
|
+
# The name of the entity (payroll provider company name)
|
|
339
|
+
#
|
|
340
|
+
# @return [String, nil]
|
|
341
|
+
required :name, String, nil?: true
|
|
345
342
|
|
|
346
|
-
# @!
|
|
347
|
-
#
|
|
343
|
+
# @!attribute source_id
|
|
344
|
+
# The source ID of the entity
|
|
345
|
+
#
|
|
346
|
+
# @return [String, nil]
|
|
347
|
+
required :source_id, String, nil?: true
|
|
348
|
+
|
|
349
|
+
# @!attribute type
|
|
350
|
+
# The type of entity
|
|
351
|
+
#
|
|
352
|
+
# @return [String, nil]
|
|
353
|
+
required :type, String, nil?: true
|
|
354
|
+
|
|
355
|
+
# @!method initialize(id:, name:, source_id:, type:)
|
|
356
|
+
# @param id [String] The connection account ID for this entity
|
|
357
|
+
#
|
|
358
|
+
# @param name [String, nil] The name of the entity (payroll provider company name)
|
|
359
|
+
#
|
|
360
|
+
# @param source_id [String, nil] The source ID of the entity
|
|
361
|
+
#
|
|
362
|
+
# @param type [String, nil] The type of entity
|
|
348
363
|
end
|
|
349
364
|
end
|
|
350
365
|
end
|
|
@@ -8,14 +8,6 @@ module FinchAPI
|
|
|
8
8
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
|
-
# @!attribute entity_id
|
|
12
|
-
# The entity ID to use when authenticating with a multi-account token. Required
|
|
13
|
-
# when using a multi-account token to specify which entity's data to access.
|
|
14
|
-
# Example: `123e4567-e89b-12d3-a456-426614174000`
|
|
15
|
-
#
|
|
16
|
-
# @return [String, nil]
|
|
17
|
-
optional :entity_id, String
|
|
18
|
-
|
|
19
11
|
# @!attribute limit
|
|
20
12
|
# Number of items to return
|
|
21
13
|
#
|
|
@@ -28,12 +20,7 @@ module FinchAPI
|
|
|
28
20
|
# @return [Integer, nil]
|
|
29
21
|
optional :offset, Integer
|
|
30
22
|
|
|
31
|
-
# @!method initialize(
|
|
32
|
-
# Some parameter documentations has been truncated, see
|
|
33
|
-
# {FinchAPI::Models::Jobs::AutomatedListParams} for more details.
|
|
34
|
-
#
|
|
35
|
-
# @param entity_id [String] The entity ID to use when authenticating with a multi-account token. Required wh
|
|
36
|
-
#
|
|
23
|
+
# @!method initialize(limit: nil, offset: nil, request_options: {})
|
|
37
24
|
# @param limit [Integer] Number of items to return
|
|
38
25
|
#
|
|
39
26
|
# @param offset [Integer] Index to start from (defaults to 0)
|
|
@@ -8,20 +8,7 @@ module FinchAPI
|
|
|
8
8
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
|
-
# @!
|
|
12
|
-
# The entity ID to use when authenticating with a multi-account token. Required
|
|
13
|
-
# when using a multi-account token to specify which entity's data to access.
|
|
14
|
-
# Example: `123e4567-e89b-12d3-a456-426614174000`
|
|
15
|
-
#
|
|
16
|
-
# @return [String, nil]
|
|
17
|
-
optional :entity_id, String
|
|
18
|
-
|
|
19
|
-
# @!method initialize(entity_id: nil, request_options: {})
|
|
20
|
-
# Some parameter documentations has been truncated, see
|
|
21
|
-
# {FinchAPI::Models::Jobs::AutomatedRetrieveParams} for more details.
|
|
22
|
-
#
|
|
23
|
-
# @param entity_id [String] The entity ID to use when authenticating with a multi-account token. Required wh
|
|
24
|
-
#
|
|
11
|
+
# @!method initialize(request_options: {})
|
|
25
12
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
26
13
|
end
|
|
27
14
|
end
|
|
@@ -8,20 +8,7 @@ module FinchAPI
|
|
|
8
8
|
extend FinchAPI::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include FinchAPI::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
|
-
# @!
|
|
12
|
-
# The entity ID to use when authenticating with a multi-account token. Required
|
|
13
|
-
# when using a multi-account token to specify which entity's data to access.
|
|
14
|
-
# Example: `123e4567-e89b-12d3-a456-426614174000`
|
|
15
|
-
#
|
|
16
|
-
# @return [String, nil]
|
|
17
|
-
optional :entity_id, String
|
|
18
|
-
|
|
19
|
-
# @!method initialize(entity_id: nil, request_options: {})
|
|
20
|
-
# Some parameter documentations has been truncated, see
|
|
21
|
-
# {FinchAPI::Models::Jobs::ManualRetrieveParams} for more details.
|
|
22
|
-
#
|
|
23
|
-
# @param entity_id [String] The entity ID to use when authenticating with a multi-account token. Required wh
|
|
24
|
-
#
|
|
11
|
+
# @!method initialize(request_options: {})
|
|
25
12
|
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
26
13
|
end
|
|
27
14
|
end
|