finch-api 0.1.0.pre.alpha.13 → 0.1.0.pre.alpha.14
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 +38 -0
- data/README.md +6 -6
- data/lib/finch_api/file_part.rb +2 -2
- data/lib/finch_api/internal/individuals_page.rb +5 -5
- data/lib/finch_api/internal/page.rb +5 -5
- data/lib/finch_api/internal/responses_page.rb +2 -2
- data/lib/finch_api/internal/transport/base_client.rb +3 -3
- data/lib/finch_api/internal/type/base_model.rb +1 -9
- data/lib/finch_api/internal/type/enum.rb +4 -4
- data/lib/finch_api/internal/type/request_parameters.rb +6 -12
- data/lib/finch_api/internal/type/union.rb +2 -2
- data/lib/finch_api/internal/util.rb +21 -5
- data/lib/finch_api/models/account_update_event.rb +202 -148
- data/lib/finch_api/models/base_webhook_event.rb +1 -3
- data/lib/finch_api/models/company_event.rb +3 -3
- data/lib/finch_api/models/connect/session_new_params.rb +13 -14
- data/lib/finch_api/models/connect/session_reauthenticate_params.rb +5 -4
- data/lib/finch_api/models/create_access_token_response.rb +9 -12
- data/lib/finch_api/models/directory_event.rb +6 -6
- data/lib/finch_api/models/employment_event.rb +6 -6
- data/lib/finch_api/models/hris/benefit_contribution.rb +4 -4
- data/lib/finch_api/models/hris/benefit_create_params.rb +18 -17
- data/lib/finch_api/models/hris/benefit_features_and_operations.rb +32 -36
- data/lib/finch_api/models/hris/benefit_list_supported_benefits_response.rb +3 -7
- data/lib/finch_api/models/hris/benefits/individual_benefit.rb +15 -17
- data/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb +42 -33
- data/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rb +0 -1
- data/lib/finch_api/models/hris/benefits_support.rb +36 -36
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rb +21 -16
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_create_response.rb +0 -1
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rb +0 -1
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_list_response.rb +0 -1
- data/lib/finch_api/models/hris/company/pay_statement_item/rule_update_response.rb +0 -1
- data/lib/finch_api/models/hris/company/pay_statement_item_list_params.rb +5 -6
- data/lib/finch_api/models/hris/company/pay_statement_item_list_response.rb +0 -3
- data/lib/finch_api/models/hris/company.rb +35 -33
- data/lib/finch_api/models/hris/company_benefit.rb +19 -19
- data/lib/finch_api/models/hris/document_list_params.rb +5 -5
- data/lib/finch_api/models/hris/document_list_response.rb +6 -6
- data/lib/finch_api/models/hris/document_response.rb +5 -7
- data/lib/finch_api/models/hris/document_retreive_response.rb +3 -3
- data/lib/finch_api/models/hris/employment_data.rb +326 -258
- data/lib/finch_api/models/hris/employment_data_response.rb +8 -8
- data/lib/finch_api/models/hris/employment_retrieve_many_params.rb +6 -6
- data/lib/finch_api/models/hris/individual.rb +34 -31
- data/lib/finch_api/models/hris/individual_in_directory.rb +8 -8
- data/lib/finch_api/models/hris/individual_response.rb +3 -3
- data/lib/finch_api/models/hris/individual_retrieve_many_params.rb +8 -6
- data/lib/finch_api/models/hris/pay_statement.rb +105 -100
- data/lib/finch_api/models/hris/pay_statement_response.rb +3 -3
- data/lib/finch_api/models/hris/pay_statement_response_body.rb +6 -6
- data/lib/finch_api/models/hris/pay_statement_retrieve_many_params.rb +5 -3
- data/lib/finch_api/models/hris/payment.rb +22 -22
- data/lib/finch_api/models/hris/payment_list_params.rb +0 -2
- data/lib/finch_api/models/hris/support_per_benefit_type.rb +6 -6
- data/lib/finch_api/models/hris/supported_benefit.rb +22 -17
- data/lib/finch_api/models/hris/w42005.rb +16 -16
- data/lib/finch_api/models/hris/w42020.rb +13 -14
- data/lib/finch_api/models/income.rb +10 -11
- data/lib/finch_api/models/individual_event.rb +6 -6
- data/lib/finch_api/models/introspection.rb +31 -39
- data/lib/finch_api/models/job_completion_event.rb +6 -6
- data/lib/finch_api/models/jobs/automated_async_job.rb +13 -15
- data/lib/finch_api/models/jobs/automated_create_params.rb +6 -6
- data/lib/finch_api/models/jobs/automated_list_response.rb +3 -4
- data/lib/finch_api/models/jobs/manual_async_job.rb +4 -4
- data/lib/finch_api/models/operation_support_matrix.rb +13 -13
- data/lib/finch_api/models/pay_statement_event.rb +6 -6
- data/lib/finch_api/models/payment_event.rb +6 -6
- data/lib/finch_api/models/provider.rb +178 -140
- data/lib/finch_api/models/request_forwarding_forward_params.rb +0 -5
- data/lib/finch_api/models/request_forwarding_forward_response.rb +0 -8
- data/lib/finch_api/models/sandbox/company_update_params.rb +34 -33
- data/lib/finch_api/models/sandbox/company_update_response.rb +5 -5
- data/lib/finch_api/models/sandbox/connection_create_params.rb +5 -4
- data/lib/finch_api/models/sandbox/connections/account_create_params.rb +3 -4
- data/lib/finch_api/models/sandbox/connections/account_update_params.rb +3 -3
- data/lib/finch_api/models/sandbox/directory_create_params.rb +83 -77
- data/lib/finch_api/models/sandbox/employment_update_params.rb +37 -39
- data/lib/finch_api/models/sandbox/employment_update_response.rb +9 -12
- data/lib/finch_api/models/sandbox/individual_update_params.rb +28 -25
- data/lib/finch_api/models/sandbox/individual_update_response.rb +3 -5
- data/lib/finch_api/models/sandbox/job_create_params.rb +3 -3
- data/lib/finch_api/models/sandbox/jobs/configuration_retrieve_response.rb +1 -1
- data/lib/finch_api/models/sandbox/jobs/sandbox_job_configuration.rb +8 -8
- data/lib/finch_api/models/sandbox/payment_create_params.rb +124 -99
- data/lib/finch_api/models/webhook_event.rb +9 -9
- data/lib/finch_api/models.rb +65 -0
- data/lib/finch_api/resources/access_tokens.rb +3 -3
- data/lib/finch_api/resources/account.rb +4 -4
- data/lib/finch_api/resources/connect/sessions.rb +6 -8
- data/lib/finch_api/resources/hris/benefits/individuals.rb +10 -12
- data/lib/finch_api/resources/hris/benefits.rb +13 -14
- data/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb +5 -7
- data/lib/finch_api/resources/hris/company/pay_statement_item.rb +2 -5
- data/lib/finch_api/resources/hris/company.rb +2 -2
- data/lib/finch_api/resources/hris/directory.rb +3 -3
- data/lib/finch_api/resources/hris/documents.rb +3 -5
- data/lib/finch_api/resources/hris/employments.rb +4 -4
- data/lib/finch_api/resources/hris/individuals.rb +5 -5
- data/lib/finch_api/resources/hris/pay_statements.rb +4 -4
- data/lib/finch_api/resources/hris/payments.rb +3 -5
- data/lib/finch_api/resources/jobs/automated.rb +6 -6
- data/lib/finch_api/resources/jobs/manual.rb +2 -2
- data/lib/finch_api/resources/payroll/pay_groups.rb +1 -1
- data/lib/finch_api/resources/providers.rb +2 -2
- data/lib/finch_api/resources/request_forwarding.rb +1 -6
- data/lib/finch_api/resources/sandbox/company.rb +5 -6
- data/lib/finch_api/resources/sandbox/connections/accounts.rb +4 -5
- data/lib/finch_api/resources/sandbox/connections.rb +2 -3
- data/lib/finch_api/resources/sandbox/directory.rb +2 -3
- data/lib/finch_api/resources/sandbox/employment.rb +9 -11
- data/lib/finch_api/resources/sandbox/individual.rb +6 -8
- data/lib/finch_api/resources/sandbox/jobs/configuration.rb +7 -7
- data/lib/finch_api/resources/sandbox/jobs.rb +2 -2
- data/lib/finch_api/resources/sandbox/payment.rb +2 -2
- data/lib/finch_api/version.rb +1 -1
- data/lib/finch_api.rb +1 -0
- data/rbi/finch_api/client.rbi +9 -6
- data/rbi/finch_api/errors.rbi +34 -15
- data/rbi/finch_api/file_part.rbi +9 -6
- data/rbi/finch_api/internal/individuals_page.rbi +3 -2
- data/rbi/finch_api/internal/page.rbi +3 -2
- data/rbi/finch_api/internal/responses_page.rbi +2 -1
- data/rbi/finch_api/internal/single_page.rbi +8 -4
- data/rbi/finch_api/internal/transport/base_client.rbi +140 -75
- data/rbi/finch_api/internal/transport/pooled_net_requester.rbi +26 -12
- data/rbi/finch_api/internal/type/array_of.rbi +34 -24
- data/rbi/finch_api/internal/type/base_model.rbi +129 -69
- data/rbi/finch_api/internal/type/base_page.rbi +13 -8
- data/rbi/finch_api/internal/type/boolean.rbi +16 -14
- data/rbi/finch_api/internal/type/converter.rbi +68 -28
- data/rbi/finch_api/internal/type/enum.rbi +27 -15
- data/rbi/finch_api/internal/type/file_input.rbi +8 -4
- data/rbi/finch_api/internal/type/hash_of.rbi +34 -24
- data/rbi/finch_api/internal/type/request_parameters.rbi +12 -4
- data/rbi/finch_api/internal/type/union.rbi +54 -19
- data/rbi/finch_api/internal/type/unknown.rbi +16 -6
- data/rbi/finch_api/internal/util.rbi +215 -86
- data/rbi/finch_api/models/access_token_create_params.rbi +23 -15
- data/rbi/finch_api/models/account_disconnect_params.rbi +10 -5
- data/rbi/finch_api/models/account_introspect_params.rbi +10 -5
- data/rbi/finch_api/models/account_update_event.rbi +968 -731
- data/rbi/finch_api/models/base_webhook_event.rbi +19 -4
- data/rbi/finch_api/models/company_event.rbi +34 -18
- data/rbi/finch_api/models/connect/session_new_params.rbi +202 -69
- data/rbi/finch_api/models/connect/session_new_response.rbi +14 -4
- data/rbi/finch_api/models/connect/session_reauthenticate_params.rbi +97 -30
- data/rbi/finch_api/models/connect/session_reauthenticate_response.rbi +14 -4
- data/rbi/finch_api/models/connection_status_type.rbi +19 -9
- data/rbi/finch_api/models/create_access_token_response.rbi +86 -34
- data/rbi/finch_api/models/directory_event.rbi +53 -26
- data/rbi/finch_api/models/disconnect_response.rbi +8 -3
- data/rbi/finch_api/models/employment_event.rbi +53 -26
- data/rbi/finch_api/models/hris/benefit_contribution.rbi +45 -15
- data/rbi/finch_api/models/hris/benefit_create_params.rbi +121 -56
- data/rbi/finch_api/models/hris/benefit_features_and_operations.rbi +145 -99
- data/rbi/finch_api/models/hris/benefit_frequency.rbi +15 -6
- data/rbi/finch_api/models/hris/benefit_list_params.rbi +11 -5
- data/rbi/finch_api/models/hris/benefit_list_supported_benefits_params.rbi +11 -5
- data/rbi/finch_api/models/hris/benefit_list_supported_benefits_response.rbi +126 -50
- data/rbi/finch_api/models/hris/benefit_retrieve_params.rbi +11 -5
- data/rbi/finch_api/models/hris/benefit_type.rbi +41 -22
- data/rbi/finch_api/models/hris/benefit_update_params.rbi +15 -9
- data/rbi/finch_api/models/hris/benefits/enrolled_individual_benefit_response.rbi +8 -3
- data/rbi/finch_api/models/hris/benefits/individual_benefit.rbi +82 -49
- data/rbi/finch_api/models/hris/benefits/individual_enroll_many_params.rbi +188 -153
- data/rbi/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbi +13 -5
- data/rbi/finch_api/models/hris/benefits/individual_enrolled_ids_response.rbi +19 -4
- data/rbi/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi +18 -6
- data/rbi/finch_api/models/hris/benefits/individual_unenroll_many_params.rbi +16 -6
- data/rbi/finch_api/models/hris/benefits/unenrolled_individual_benefit_response.rbi +8 -3
- data/rbi/finch_api/models/hris/benefits_support.rbi +106 -82
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbi +126 -82
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_create_response.rbi +125 -81
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbi +13 -5
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rbi +126 -82
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbi +13 -5
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_list_response.rbi +125 -81
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbi +15 -6
- data/rbi/finch_api/models/hris/company/pay_statement_item/rule_update_response.rbi +125 -81
- data/rbi/finch_api/models/hris/company/pay_statement_item_list_params.rbi +60 -29
- data/rbi/finch_api/models/hris/company/pay_statement_item_list_response.rbi +83 -45
- data/rbi/finch_api/models/hris/company.rbi +258 -98
- data/rbi/finch_api/models/hris/company_benefit.rbi +122 -50
- data/rbi/finch_api/models/hris/company_retrieve_params.rbi +11 -5
- data/rbi/finch_api/models/hris/create_company_benefits_response.rbi +12 -4
- data/rbi/finch_api/models/hris/directory_list_individuals_params.rbi +19 -6
- data/rbi/finch_api/models/hris/directory_list_params.rbi +19 -6
- data/rbi/finch_api/models/hris/document_list_params.rbi +54 -23
- data/rbi/finch_api/models/hris/document_list_response.rbi +19 -11
- data/rbi/finch_api/models/hris/document_response.rbi +48 -22
- data/rbi/finch_api/models/hris/document_retreive_params.rbi +11 -5
- data/rbi/finch_api/models/hris/document_retreive_response.rbi +10 -2
- data/rbi/finch_api/models/hris/employment_data.rbi +616 -278
- data/rbi/finch_api/models/hris/employment_data_response.rbi +42 -23
- data/rbi/finch_api/models/hris/employment_retrieve_many_params.rbi +35 -17
- data/rbi/finch_api/models/hris/individual.rbi +302 -103
- data/rbi/finch_api/models/hris/individual_in_directory.rbi +60 -32
- data/rbi/finch_api/models/hris/individual_response.rbi +28 -18
- data/rbi/finch_api/models/hris/individual_retrieve_many_params.rbi +66 -33
- data/rbi/finch_api/models/hris/pay_statement.rbi +632 -252
- data/rbi/finch_api/models/hris/pay_statement_response.rbi +20 -9
- data/rbi/finch_api/models/hris/pay_statement_response_body.rbi +23 -15
- data/rbi/finch_api/models/hris/pay_statement_retrieve_many_params.rbi +46 -18
- data/rbi/finch_api/models/hris/payment.rbi +122 -61
- data/rbi/finch_api/models/hris/payment_list_params.rbi +17 -6
- data/rbi/finch_api/models/hris/support_per_benefit_type.rbi +24 -18
- data/rbi/finch_api/models/hris/supported_benefit.rbi +173 -40
- data/rbi/finch_api/models/hris/update_company_benefit_response.rbi +12 -4
- data/rbi/finch_api/models/hris/w42005.rbi +119 -52
- data/rbi/finch_api/models/hris/w42020.rbi +84 -47
- data/rbi/finch_api/models/income.rbi +36 -31
- data/rbi/finch_api/models/individual_event.rbi +53 -26
- data/rbi/finch_api/models/introspection.rbi +195 -99
- data/rbi/finch_api/models/job_completion_event.rbi +74 -30
- data/rbi/finch_api/models/jobs/automated_async_job.rbi +100 -44
- data/rbi/finch_api/models/jobs/automated_create_params.rbi +50 -26
- data/rbi/finch_api/models/jobs/automated_create_response.rbi +22 -11
- data/rbi/finch_api/models/jobs/automated_list_params.rbi +19 -6
- data/rbi/finch_api/models/jobs/automated_list_response.rbi +93 -45
- data/rbi/finch_api/models/jobs/automated_retrieve_params.rbi +11 -5
- data/rbi/finch_api/models/jobs/manual_async_job.rbi +46 -21
- data/rbi/finch_api/models/jobs/manual_retrieve_params.rbi +11 -5
- data/rbi/finch_api/models/location.rbi +20 -17
- data/rbi/finch_api/models/money.rbi +13 -4
- data/rbi/finch_api/models/operation_support.rbi +15 -7
- data/rbi/finch_api/models/operation_support_matrix.rbi +28 -25
- data/rbi/finch_api/models/paging.rbi +8 -3
- data/rbi/finch_api/models/pay_statement_event.rbi +60 -27
- data/rbi/finch_api/models/payment_event.rbi +59 -27
- data/rbi/finch_api/models/payroll/pay_group_list_params.rbi +20 -13
- data/rbi/finch_api/models/payroll/pay_group_list_response.rbi +94 -28
- data/rbi/finch_api/models/payroll/pay_group_retrieve_params.rbi +11 -5
- data/rbi/finch_api/models/payroll/pay_group_retrieve_response.rbi +83 -27
- data/rbi/finch_api/models/provider.rbi +1000 -711
- data/rbi/finch_api/models/provider_list_params.rbi +10 -5
- data/rbi/finch_api/models/request_forwarding_forward_params.rbi +19 -16
- data/rbi/finch_api/models/request_forwarding_forward_response.rbi +43 -32
- data/rbi/finch_api/models/sandbox/company_update_params.rbi +283 -110
- data/rbi/finch_api/models/sandbox/company_update_response.rbi +296 -112
- data/rbi/finch_api/models/sandbox/connection_create_params.rbi +61 -28
- data/rbi/finch_api/models/sandbox/connection_create_response.rbi +58 -27
- data/rbi/finch_api/models/sandbox/connections/account_create_params.rbi +45 -30
- data/rbi/finch_api/models/sandbox/connections/account_create_response.rbi +41 -24
- data/rbi/finch_api/models/sandbox/connections/account_update_params.rbi +22 -15
- data/rbi/finch_api/models/sandbox/connections/account_update_response.rbi +40 -23
- data/rbi/finch_api/models/sandbox/directory_create_params.rbi +565 -221
- data/rbi/finch_api/models/sandbox/employment_update_params.rbi +296 -119
- data/rbi/finch_api/models/sandbox/employment_update_response.rbi +304 -121
- data/rbi/finch_api/models/sandbox/individual_update_params.rbi +275 -94
- data/rbi/finch_api/models/sandbox/individual_update_response.rbi +276 -93
- data/rbi/finch_api/models/sandbox/job_create_params.rbi +34 -15
- data/rbi/finch_api/models/sandbox/job_create_response.rbi +22 -11
- data/rbi/finch_api/models/sandbox/jobs/configuration_retrieve_params.rbi +13 -5
- data/rbi/finch_api/models/sandbox/jobs/configuration_retrieve_response.rbi +3 -1
- data/rbi/finch_api/models/sandbox/jobs/configuration_update_params.rbi +13 -5
- data/rbi/finch_api/models/sandbox/jobs/sandbox_job_configuration.rbi +72 -29
- data/rbi/finch_api/models/sandbox/payment_create_params.rbi +658 -355
- data/rbi/finch_api/models/sandbox/payment_create_response.rbi +12 -4
- data/rbi/finch_api/models/webhook_event.rbi +15 -5
- data/rbi/finch_api/models.rbi +66 -0
- data/rbi/finch_api/request_options.rbi +15 -7
- data/rbi/finch_api/resources/access_tokens.rbi +12 -5
- data/rbi/finch_api/resources/account.rbi +16 -5
- data/rbi/finch_api/resources/connect/sessions.rbi +26 -13
- data/rbi/finch_api/resources/connect.rbi +2 -1
- data/rbi/finch_api/resources/hris/benefits/individuals.rbi +38 -19
- data/rbi/finch_api/resources/hris/benefits.rbi +39 -22
- data/rbi/finch_api/resources/hris/company/pay_statement_item/rules.rbi +40 -26
- data/rbi/finch_api/resources/hris/company/pay_statement_item.rbi +17 -6
- data/rbi/finch_api/resources/hris/company.rbi +9 -3
- data/rbi/finch_api/resources/hris/directory.rbi +14 -4
- data/rbi/finch_api/resources/hris/documents.rbi +15 -9
- data/rbi/finch_api/resources/hris/employments.rbi +14 -5
- data/rbi/finch_api/resources/hris/individuals.rbi +17 -8
- data/rbi/finch_api/resources/hris/pay_statements.rbi +14 -5
- data/rbi/finch_api/resources/hris/payments.rbi +10 -4
- data/rbi/finch_api/resources/hris.rbi +2 -1
- data/rbi/finch_api/resources/jobs/automated.rbi +23 -13
- data/rbi/finch_api/resources/jobs/manual.rbi +8 -4
- data/rbi/finch_api/resources/jobs.rbi +2 -1
- data/rbi/finch_api/resources/payroll/pay_groups.rbi +15 -7
- data/rbi/finch_api/resources/payroll.rbi +2 -1
- data/rbi/finch_api/resources/providers.rbi +7 -4
- data/rbi/finch_api/resources/request_forwarding.rbi +7 -5
- data/rbi/finch_api/resources/sandbox/company.rbi +25 -13
- data/rbi/finch_api/resources/sandbox/connections/accounts.rbi +16 -9
- data/rbi/finch_api/resources/sandbox/connections.rbi +9 -6
- data/rbi/finch_api/resources/sandbox/directory.rbi +9 -6
- data/rbi/finch_api/resources/sandbox/employment.rbi +31 -17
- data/rbi/finch_api/resources/sandbox/individual.rbi +30 -18
- data/rbi/finch_api/resources/sandbox/jobs/configuration.rbi +15 -10
- data/rbi/finch_api/resources/sandbox/jobs.rbi +8 -6
- data/rbi/finch_api/resources/sandbox/payment.rbi +15 -6
- data/rbi/finch_api/resources/sandbox.rbi +2 -1
- data/rbi/finch_api/resources/webhooks.rbi +2 -1
- data/sig/finch_api/internal/individuals_page.rbs +1 -1
- data/sig/finch_api/internal/page.rbs +1 -1
- data/sig/finch_api/internal/type/request_parameters.rbs +3 -1
- data/sig/finch_api/internal/util.rbs +2 -0
- data/sig/finch_api/models/access_token_create_params.rbs +0 -2
- data/sig/finch_api/models/account_disconnect_params.rbs +0 -2
- data/sig/finch_api/models/account_introspect_params.rbs +0 -2
- data/sig/finch_api/models/account_update_event.rbs +176 -244
- data/sig/finch_api/models/base_webhook_event.rbs +0 -2
- data/sig/finch_api/models/company_event.rbs +6 -8
- data/sig/finch_api/models/connect/session_new_params.rbs +11 -15
- data/sig/finch_api/models/connect/session_new_response.rbs +0 -2
- data/sig/finch_api/models/connect/session_reauthenticate_params.rbs +4 -6
- data/sig/finch_api/models/connect/session_reauthenticate_response.rbs +0 -2
- data/sig/finch_api/models/create_access_token_response.rbs +8 -10
- data/sig/finch_api/models/directory_event.rbs +11 -15
- data/sig/finch_api/models/disconnect_response.rbs +0 -2
- data/sig/finch_api/models/employment_event.rbs +11 -15
- data/sig/finch_api/models/hris/benefit_contribution.rbs +4 -9
- data/sig/finch_api/models/hris/benefit_create_params.rbs +14 -20
- data/sig/finch_api/models/hris/benefit_features_and_operations.rbs +22 -26
- data/sig/finch_api/models/hris/benefit_list_params.rbs +0 -2
- data/sig/finch_api/models/hris/benefit_list_supported_benefits_params.rbs +0 -2
- data/sig/finch_api/models/hris/benefit_list_supported_benefits_response.rbs +0 -2
- data/sig/finch_api/models/hris/benefit_retrieve_params.rbs +0 -2
- data/sig/finch_api/models/hris/benefit_update_params.rbs +0 -2
- data/sig/finch_api/models/hris/benefits/enrolled_individual_benefit_response.rbs +0 -2
- data/sig/finch_api/models/hris/benefits/individual_benefit.rbs +15 -19
- data/sig/finch_api/models/hris/benefits/individual_enroll_many_params.rbs +38 -48
- data/sig/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbs +0 -2
- data/sig/finch_api/models/hris/benefits/individual_enrolled_ids_response.rbs +0 -2
- data/sig/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbs +0 -2
- data/sig/finch_api/models/hris/benefits/individual_unenroll_many_params.rbs +0 -2
- data/sig/finch_api/models/hris/benefits/unenrolled_individual_benefit_response.rbs +0 -2
- data/sig/finch_api/models/hris/benefits_support.rbs +36 -38
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbs +16 -22
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_create_response.rbs +0 -6
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbs +0 -2
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rbs +0 -6
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbs +0 -2
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_list_response.rbs +0 -6
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbs +0 -2
- data/sig/finch_api/models/hris/company/pay_statement_item/rule_update_response.rbs +0 -6
- data/sig/finch_api/models/hris/company/pay_statement_item_list_params.rbs +6 -8
- data/sig/finch_api/models/hris/company/pay_statement_item_list_response.rbs +0 -4
- data/sig/finch_api/models/hris/company.rbs +27 -37
- data/sig/finch_api/models/hris/company_benefit.rbs +14 -20
- data/sig/finch_api/models/hris/company_retrieve_params.rbs +0 -2
- data/sig/finch_api/models/hris/create_company_benefits_response.rbs +0 -2
- data/sig/finch_api/models/hris/directory_list_individuals_params.rbs +0 -2
- data/sig/finch_api/models/hris/directory_list_params.rbs +0 -2
- data/sig/finch_api/models/hris/document_list_params.rbs +6 -8
- data/sig/finch_api/models/hris/document_list_response.rbs +6 -8
- data/sig/finch_api/models/hris/document_response.rbs +6 -8
- data/sig/finch_api/models/hris/document_retreive_params.rbs +0 -2
- data/sig/finch_api/models/hris/document_retreive_response.rbs +2 -2
- data/sig/finch_api/models/hris/employment_data.rbs +177 -144
- data/sig/finch_api/models/hris/employment_data_response.rbs +7 -17
- data/sig/finch_api/models/hris/employment_retrieve_many_params.rbs +3 -7
- data/sig/finch_api/models/hris/individual.rbs +28 -36
- data/sig/finch_api/models/hris/individual_in_directory.rbs +6 -12
- data/sig/finch_api/models/hris/individual_response.rbs +0 -2
- data/sig/finch_api/models/hris/individual_retrieve_many_params.rbs +8 -14
- data/sig/finch_api/models/hris/pay_statement.rbs +82 -108
- data/sig/finch_api/models/hris/pay_statement_response.rbs +5 -7
- data/sig/finch_api/models/hris/pay_statement_response_body.rbs +9 -11
- data/sig/finch_api/models/hris/pay_statement_retrieve_many_params.rbs +3 -7
- data/sig/finch_api/models/hris/payment.rbs +22 -26
- data/sig/finch_api/models/hris/payment_list_params.rbs +0 -2
- data/sig/finch_api/models/hris/support_per_benefit_type.rbs +10 -12
- data/sig/finch_api/models/hris/supported_benefit.rbs +12 -14
- data/sig/finch_api/models/hris/update_company_benefit_response.rbs +0 -2
- data/sig/finch_api/models/hris/w42005.rbs +21 -25
- data/sig/finch_api/models/hris/w42020.rbs +15 -19
- data/sig/finch_api/models/income.rbs +7 -9
- data/sig/finch_api/models/individual_event.rbs +11 -15
- data/sig/finch_api/models/introspection.rbs +25 -33
- data/sig/finch_api/models/job_completion_event.rbs +11 -15
- data/sig/finch_api/models/jobs/automated_async_job.rbs +11 -15
- data/sig/finch_api/models/jobs/automated_create_params.rbs +3 -7
- data/sig/finch_api/models/jobs/automated_create_response.rbs +0 -2
- data/sig/finch_api/models/jobs/automated_list_params.rbs +0 -2
- data/sig/finch_api/models/jobs/automated_list_response.rbs +3 -11
- data/sig/finch_api/models/jobs/automated_retrieve_params.rbs +0 -2
- data/sig/finch_api/models/jobs/manual_async_job.rbs +4 -6
- data/sig/finch_api/models/jobs/manual_retrieve_params.rbs +0 -2
- data/sig/finch_api/models/location.rbs +0 -2
- data/sig/finch_api/models/money.rbs +0 -2
- data/sig/finch_api/models/operation_support_matrix.rbs +0 -2
- data/sig/finch_api/models/paging.rbs +0 -2
- data/sig/finch_api/models/pay_statement_event.rbs +11 -15
- data/sig/finch_api/models/payment_event.rbs +11 -15
- data/sig/finch_api/models/payroll/pay_group_list_params.rbs +0 -2
- data/sig/finch_api/models/payroll/pay_group_list_response.rbs +0 -2
- data/sig/finch_api/models/payroll/pay_group_retrieve_params.rbs +0 -2
- data/sig/finch_api/models/payroll/pay_group_retrieve_response.rbs +0 -2
- data/sig/finch_api/models/provider.rbs +167 -233
- data/sig/finch_api/models/provider_list_params.rbs +0 -2
- data/sig/finch_api/models/request_forwarding_forward_params.rbs +0 -2
- data/sig/finch_api/models/request_forwarding_forward_response.rbs +0 -4
- data/sig/finch_api/models/sandbox/company_update_params.rbs +27 -37
- data/sig/finch_api/models/sandbox/company_update_response.rbs +3 -13
- data/sig/finch_api/models/sandbox/connection_create_params.rbs +0 -2
- data/sig/finch_api/models/sandbox/connection_create_response.rbs +0 -2
- data/sig/finch_api/models/sandbox/connections/account_create_params.rbs +0 -2
- data/sig/finch_api/models/sandbox/connections/account_create_response.rbs +0 -2
- data/sig/finch_api/models/sandbox/connections/account_update_params.rbs +0 -2
- data/sig/finch_api/models/sandbox/connections/account_update_response.rbs +0 -2
- data/sig/finch_api/models/sandbox/directory_create_params.rbs +65 -83
- data/sig/finch_api/models/sandbox/employment_update_params.rbs +31 -41
- data/sig/finch_api/models/sandbox/employment_update_response.rbs +9 -19
- data/sig/finch_api/models/sandbox/individual_update_params.rbs +17 -23
- data/sig/finch_api/models/sandbox/individual_update_response.rbs +3 -9
- data/sig/finch_api/models/sandbox/job_create_params.rbs +0 -2
- data/sig/finch_api/models/sandbox/job_create_response.rbs +0 -2
- data/sig/finch_api/models/sandbox/jobs/configuration_retrieve_params.rbs +0 -2
- data/sig/finch_api/models/sandbox/jobs/configuration_retrieve_response.rbs +1 -1
- data/sig/finch_api/models/sandbox/jobs/configuration_update_params.rbs +0 -2
- data/sig/finch_api/models/sandbox/jobs/sandbox_job_configuration.rbs +8 -10
- data/sig/finch_api/models/sandbox/payment_create_params.rbs +87 -115
- data/sig/finch_api/models/sandbox/payment_create_response.rbs +0 -2
- data/sig/finch_api/models/webhook_event.rbs +9 -9
- data/sig/finch_api/models.rbs +63 -0
- data/sig/finch_api/request_options.rbs +1 -1
- data/sig/finch_api/resources/access_tokens.rbs +1 -1
- data/sig/finch_api/resources/account.rbs +2 -2
- data/sig/finch_api/resources/connect/sessions.rbs +3 -3
- data/sig/finch_api/resources/hris/benefits/individuals.rbs +4 -4
- data/sig/finch_api/resources/hris/benefits.rbs +5 -5
- data/sig/finch_api/resources/hris/company/pay_statement_item/rules.rbs +2 -2
- data/sig/finch_api/resources/hris/company/pay_statement_item.rbs +1 -1
- data/sig/finch_api/resources/hris/company.rbs +1 -1
- data/sig/finch_api/resources/hris/directory.rbs +1 -1
- data/sig/finch_api/resources/hris/documents.rbs +1 -1
- data/sig/finch_api/resources/hris/employments.rbs +2 -2
- data/sig/finch_api/resources/hris/individuals.rbs +3 -3
- data/sig/finch_api/resources/hris/pay_statements.rbs +2 -2
- data/sig/finch_api/resources/hris/payments.rbs +1 -1
- data/sig/finch_api/resources/jobs/automated.rbs +2 -2
- data/sig/finch_api/resources/jobs/manual.rbs +1 -1
- data/sig/finch_api/resources/providers.rbs +1 -1
- data/sig/finch_api/resources/sandbox/company.rbs +4 -4
- data/sig/finch_api/resources/sandbox/directory.rbs +1 -1
- data/sig/finch_api/resources/sandbox/employment.rbs +7 -7
- data/sig/finch_api/resources/sandbox/individual.rbs +3 -3
- data/sig/finch_api/resources/sandbox/jobs/configuration.rbs +1 -1
- data/sig/finch_api/resources/sandbox/payment.rbs +1 -1
- metadata +7 -4
@@ -3,123 +3,156 @@
|
|
3
3
|
module FinchAPI
|
4
4
|
module Models
|
5
5
|
class AccountUpdateEvent < FinchAPI::Models::BaseWebhookEvent
|
6
|
-
|
6
|
+
OrHash = T.type_alias { T.any(T.self_type, FinchAPI::Internal::AnyHash) }
|
7
|
+
|
8
|
+
sig { returns(T.nilable(FinchAPI::AccountUpdateEvent::Data)) }
|
7
9
|
attr_reader :data
|
8
10
|
|
9
|
-
sig { params(data:
|
11
|
+
sig { params(data: FinchAPI::AccountUpdateEvent::Data::OrHash).void }
|
10
12
|
attr_writer :data
|
11
13
|
|
12
|
-
sig
|
14
|
+
sig do
|
15
|
+
returns(
|
16
|
+
T.nilable(FinchAPI::AccountUpdateEvent::EventType::TaggedSymbol)
|
17
|
+
)
|
18
|
+
end
|
13
19
|
attr_reader :event_type
|
14
20
|
|
15
|
-
sig
|
21
|
+
sig do
|
22
|
+
params(
|
23
|
+
event_type: FinchAPI::AccountUpdateEvent::EventType::OrSymbol
|
24
|
+
).void
|
25
|
+
end
|
16
26
|
attr_writer :event_type
|
17
27
|
|
18
28
|
sig do
|
19
29
|
params(
|
20
|
-
data:
|
21
|
-
event_type: FinchAPI::
|
22
|
-
)
|
23
|
-
|
30
|
+
data: FinchAPI::AccountUpdateEvent::Data::OrHash,
|
31
|
+
event_type: FinchAPI::AccountUpdateEvent::EventType::OrSymbol
|
32
|
+
).returns(T.attached_class)
|
33
|
+
end
|
34
|
+
def self.new(data: nil, event_type: nil)
|
24
35
|
end
|
25
|
-
def self.new(data: nil, event_type: nil); end
|
26
36
|
|
27
37
|
sig do
|
28
|
-
override
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
38
|
+
override.returns(
|
39
|
+
{
|
40
|
+
data: FinchAPI::AccountUpdateEvent::Data,
|
41
|
+
event_type: FinchAPI::AccountUpdateEvent::EventType::TaggedSymbol
|
42
|
+
}
|
43
|
+
)
|
44
|
+
end
|
45
|
+
def to_hash
|
35
46
|
end
|
36
|
-
def to_hash; end
|
37
47
|
|
38
48
|
class Data < FinchAPI::Internal::Type::BaseModel
|
39
|
-
|
49
|
+
OrHash =
|
50
|
+
T.type_alias { T.any(T.self_type, FinchAPI::Internal::AnyHash) }
|
51
|
+
|
52
|
+
sig do
|
53
|
+
returns(FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod)
|
54
|
+
end
|
40
55
|
attr_reader :authentication_method
|
41
56
|
|
42
57
|
sig do
|
43
58
|
params(
|
44
|
-
authentication_method:
|
45
|
-
|
46
|
-
|
59
|
+
authentication_method:
|
60
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::OrHash
|
61
|
+
).void
|
47
62
|
end
|
48
63
|
attr_writer :authentication_method
|
49
64
|
|
50
|
-
sig { returns(FinchAPI::
|
65
|
+
sig { returns(FinchAPI::ConnectionStatusType::TaggedSymbol) }
|
51
66
|
attr_accessor :status
|
52
67
|
|
53
68
|
sig do
|
54
69
|
params(
|
55
|
-
authentication_method:
|
56
|
-
|
57
|
-
|
58
|
-
|
70
|
+
authentication_method:
|
71
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::OrHash,
|
72
|
+
status: FinchAPI::ConnectionStatusType::OrSymbol
|
73
|
+
).returns(T.attached_class)
|
74
|
+
end
|
75
|
+
def self.new(authentication_method:, status:)
|
59
76
|
end
|
60
|
-
def self.new(authentication_method:, status:); end
|
61
77
|
|
62
78
|
sig do
|
63
|
-
override
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
79
|
+
override.returns(
|
80
|
+
{
|
81
|
+
authentication_method:
|
82
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod,
|
83
|
+
status: FinchAPI::ConnectionStatusType::TaggedSymbol
|
84
|
+
}
|
85
|
+
)
|
86
|
+
end
|
87
|
+
def to_hash
|
70
88
|
end
|
71
|
-
def to_hash; end
|
72
89
|
|
73
90
|
class AuthenticationMethod < FinchAPI::Internal::Type::BaseModel
|
91
|
+
OrHash =
|
92
|
+
T.type_alias { T.any(T.self_type, FinchAPI::Internal::AnyHash) }
|
93
|
+
|
74
94
|
# Each benefit type and their supported features. If the benefit type is not
|
75
95
|
# supported, the property will be null
|
76
|
-
sig { returns(T.nilable(FinchAPI::
|
96
|
+
sig { returns(T.nilable(FinchAPI::HRIS::BenefitsSupport)) }
|
77
97
|
attr_reader :benefits_support
|
78
98
|
|
79
99
|
sig do
|
80
100
|
params(
|
81
|
-
benefits_support:
|
82
|
-
|
83
|
-
|
101
|
+
benefits_support:
|
102
|
+
T.nilable(FinchAPI::HRIS::BenefitsSupport::OrHash)
|
103
|
+
).void
|
84
104
|
end
|
85
105
|
attr_writer :benefits_support
|
86
106
|
|
87
107
|
# The supported data fields returned by our HR and payroll endpoints
|
88
|
-
sig
|
108
|
+
sig do
|
109
|
+
returns(
|
110
|
+
T.nilable(
|
111
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields
|
112
|
+
)
|
113
|
+
)
|
114
|
+
end
|
89
115
|
attr_reader :supported_fields
|
90
116
|
|
91
117
|
sig do
|
92
118
|
params(
|
93
|
-
supported_fields:
|
94
|
-
T.
|
95
|
-
FinchAPI::
|
96
|
-
FinchAPI::Internal::AnyHash
|
119
|
+
supported_fields:
|
120
|
+
T.nilable(
|
121
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::OrHash
|
97
122
|
)
|
98
|
-
|
99
|
-
)
|
100
|
-
.void
|
123
|
+
).void
|
101
124
|
end
|
102
125
|
attr_writer :supported_fields
|
103
126
|
|
104
127
|
# The type of authentication method.
|
105
|
-
sig
|
128
|
+
sig do
|
129
|
+
returns(
|
130
|
+
T.nilable(
|
131
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::Type::TaggedSymbol
|
132
|
+
)
|
133
|
+
)
|
134
|
+
end
|
106
135
|
attr_reader :type
|
107
136
|
|
108
|
-
sig
|
137
|
+
sig do
|
138
|
+
params(
|
139
|
+
type:
|
140
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::Type::OrSymbol
|
141
|
+
).void
|
142
|
+
end
|
109
143
|
attr_writer :type
|
110
144
|
|
111
145
|
sig do
|
112
146
|
params(
|
113
|
-
benefits_support:
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
FinchAPI::
|
118
|
-
)
|
119
|
-
|
120
|
-
|
121
|
-
)
|
122
|
-
.returns(T.attached_class)
|
147
|
+
benefits_support:
|
148
|
+
T.nilable(FinchAPI::HRIS::BenefitsSupport::OrHash),
|
149
|
+
supported_fields:
|
150
|
+
T.nilable(
|
151
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::OrHash
|
152
|
+
),
|
153
|
+
type:
|
154
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::Type::OrSymbol
|
155
|
+
).returns(T.attached_class)
|
123
156
|
end
|
124
157
|
def self.new(
|
125
158
|
# Each benefit type and their supported features. If the benefit type is not
|
@@ -129,179 +162,166 @@ module FinchAPI
|
|
129
162
|
supported_fields: nil,
|
130
163
|
# The type of authentication method.
|
131
164
|
type: nil
|
132
|
-
)
|
165
|
+
)
|
166
|
+
end
|
167
|
+
|
133
168
|
sig do
|
134
|
-
override
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
169
|
+
override.returns(
|
170
|
+
{
|
171
|
+
benefits_support: T.nilable(FinchAPI::HRIS::BenefitsSupport),
|
172
|
+
supported_fields:
|
173
|
+
T.nilable(
|
174
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields
|
175
|
+
),
|
176
|
+
type:
|
177
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::Type::TaggedSymbol
|
178
|
+
}
|
179
|
+
)
|
180
|
+
end
|
181
|
+
def to_hash
|
142
182
|
end
|
143
|
-
def to_hash; end
|
144
183
|
|
145
184
|
class SupportedFields < FinchAPI::Internal::Type::BaseModel
|
185
|
+
OrHash =
|
186
|
+
T.type_alias { T.any(T.self_type, FinchAPI::Internal::AnyHash) }
|
187
|
+
|
146
188
|
sig do
|
147
189
|
returns(
|
148
|
-
T.nilable(
|
190
|
+
T.nilable(
|
191
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company
|
192
|
+
)
|
149
193
|
)
|
150
194
|
end
|
151
195
|
attr_reader :company
|
152
196
|
|
153
197
|
sig do
|
154
198
|
params(
|
155
|
-
company:
|
156
|
-
FinchAPI::
|
157
|
-
|
158
|
-
)
|
159
|
-
)
|
160
|
-
.void
|
199
|
+
company:
|
200
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::OrHash
|
201
|
+
).void
|
161
202
|
end
|
162
203
|
attr_writer :company
|
163
204
|
|
164
205
|
sig do
|
165
206
|
returns(
|
166
|
-
T.nilable(
|
207
|
+
T.nilable(
|
208
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory
|
209
|
+
)
|
167
210
|
)
|
168
211
|
end
|
169
212
|
attr_reader :directory
|
170
213
|
|
171
214
|
sig do
|
172
215
|
params(
|
173
|
-
directory:
|
174
|
-
FinchAPI::
|
175
|
-
|
176
|
-
)
|
177
|
-
)
|
178
|
-
.void
|
216
|
+
directory:
|
217
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::OrHash
|
218
|
+
).void
|
179
219
|
end
|
180
220
|
attr_writer :directory
|
181
221
|
|
182
222
|
sig do
|
183
223
|
returns(
|
184
|
-
T.nilable(
|
224
|
+
T.nilable(
|
225
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment
|
226
|
+
)
|
185
227
|
)
|
186
228
|
end
|
187
229
|
attr_reader :employment
|
188
230
|
|
189
231
|
sig do
|
190
232
|
params(
|
191
|
-
employment:
|
192
|
-
FinchAPI::
|
193
|
-
|
194
|
-
)
|
195
|
-
)
|
196
|
-
.void
|
233
|
+
employment:
|
234
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::OrHash
|
235
|
+
).void
|
197
236
|
end
|
198
237
|
attr_writer :employment
|
199
238
|
|
200
239
|
sig do
|
201
240
|
returns(
|
202
|
-
T.nilable(
|
241
|
+
T.nilable(
|
242
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual
|
243
|
+
)
|
203
244
|
)
|
204
245
|
end
|
205
246
|
attr_reader :individual
|
206
247
|
|
207
248
|
sig do
|
208
249
|
params(
|
209
|
-
individual:
|
210
|
-
FinchAPI::
|
211
|
-
|
212
|
-
)
|
213
|
-
)
|
214
|
-
.void
|
250
|
+
individual:
|
251
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::OrHash
|
252
|
+
).void
|
215
253
|
end
|
216
254
|
attr_writer :individual
|
217
255
|
|
218
256
|
sig do
|
219
257
|
returns(
|
220
|
-
T.nilable(
|
258
|
+
T.nilable(
|
259
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayGroup
|
260
|
+
)
|
221
261
|
)
|
222
262
|
end
|
223
263
|
attr_reader :pay_group
|
224
264
|
|
225
265
|
sig do
|
226
266
|
params(
|
227
|
-
pay_group:
|
228
|
-
FinchAPI::
|
229
|
-
|
230
|
-
)
|
231
|
-
)
|
232
|
-
.void
|
267
|
+
pay_group:
|
268
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayGroup::OrHash
|
269
|
+
).void
|
233
270
|
end
|
234
271
|
attr_writer :pay_group
|
235
272
|
|
236
273
|
sig do
|
237
274
|
returns(
|
238
|
-
T.nilable(
|
275
|
+
T.nilable(
|
276
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement
|
277
|
+
)
|
239
278
|
)
|
240
279
|
end
|
241
280
|
attr_reader :pay_statement
|
242
281
|
|
243
282
|
sig do
|
244
283
|
params(
|
245
|
-
pay_statement:
|
246
|
-
FinchAPI::
|
247
|
-
|
248
|
-
)
|
249
|
-
)
|
250
|
-
.void
|
284
|
+
pay_statement:
|
285
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::OrHash
|
286
|
+
).void
|
251
287
|
end
|
252
288
|
attr_writer :pay_statement
|
253
289
|
|
254
290
|
sig do
|
255
291
|
returns(
|
256
|
-
T.nilable(
|
292
|
+
T.nilable(
|
293
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment
|
294
|
+
)
|
257
295
|
)
|
258
296
|
end
|
259
297
|
attr_reader :payment
|
260
298
|
|
261
299
|
sig do
|
262
300
|
params(
|
263
|
-
payment:
|
264
|
-
FinchAPI::
|
265
|
-
|
266
|
-
)
|
267
|
-
)
|
268
|
-
.void
|
301
|
+
payment:
|
302
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment::OrHash
|
303
|
+
).void
|
269
304
|
end
|
270
305
|
attr_writer :payment
|
271
306
|
|
272
307
|
# The supported data fields returned by our HR and payroll endpoints
|
273
308
|
sig do
|
274
309
|
params(
|
275
|
-
company:
|
276
|
-
FinchAPI::
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
FinchAPI::
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
FinchAPI::
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
FinchAPI::
|
289
|
-
|
290
|
-
),
|
291
|
-
pay_group: T.any(
|
292
|
-
FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayGroup,
|
293
|
-
FinchAPI::Internal::AnyHash
|
294
|
-
),
|
295
|
-
pay_statement: T.any(
|
296
|
-
FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement,
|
297
|
-
FinchAPI::Internal::AnyHash
|
298
|
-
),
|
299
|
-
payment: T.any(
|
300
|
-
FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment,
|
301
|
-
FinchAPI::Internal::AnyHash
|
302
|
-
)
|
303
|
-
)
|
304
|
-
.returns(T.attached_class)
|
310
|
+
company:
|
311
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::OrHash,
|
312
|
+
directory:
|
313
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::OrHash,
|
314
|
+
employment:
|
315
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::OrHash,
|
316
|
+
individual:
|
317
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::OrHash,
|
318
|
+
pay_group:
|
319
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayGroup::OrHash,
|
320
|
+
pay_statement:
|
321
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::OrHash,
|
322
|
+
payment:
|
323
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment::OrHash
|
324
|
+
).returns(T.attached_class)
|
305
325
|
end
|
306
326
|
def self.new(
|
307
327
|
company: nil,
|
@@ -311,24 +331,36 @@ module FinchAPI
|
|
311
331
|
pay_group: nil,
|
312
332
|
pay_statement: nil,
|
313
333
|
payment: nil
|
314
|
-
)
|
334
|
+
)
|
335
|
+
end
|
336
|
+
|
315
337
|
sig do
|
316
|
-
override
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
338
|
+
override.returns(
|
339
|
+
{
|
340
|
+
company:
|
341
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company,
|
342
|
+
directory:
|
343
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory,
|
344
|
+
employment:
|
345
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment,
|
346
|
+
individual:
|
347
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual,
|
348
|
+
pay_group:
|
349
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayGroup,
|
350
|
+
pay_statement:
|
351
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement,
|
352
|
+
payment:
|
353
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment
|
354
|
+
}
|
355
|
+
)
|
356
|
+
end
|
357
|
+
def to_hash
|
328
358
|
end
|
329
|
-
def to_hash; end
|
330
359
|
|
331
360
|
class Company < FinchAPI::Internal::Type::BaseModel
|
361
|
+
OrHash =
|
362
|
+
T.type_alias { T.any(T.self_type, FinchAPI::Internal::AnyHash) }
|
363
|
+
|
332
364
|
sig { returns(T.nilable(T::Boolean)) }
|
333
365
|
attr_reader :id
|
334
366
|
|
@@ -338,7 +370,7 @@ module FinchAPI
|
|
338
370
|
sig do
|
339
371
|
returns(
|
340
372
|
T.nilable(
|
341
|
-
FinchAPI::
|
373
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Accounts
|
342
374
|
)
|
343
375
|
)
|
344
376
|
end
|
@@ -346,19 +378,16 @@ module FinchAPI
|
|
346
378
|
|
347
379
|
sig do
|
348
380
|
params(
|
349
|
-
accounts:
|
350
|
-
FinchAPI::
|
351
|
-
|
352
|
-
)
|
353
|
-
)
|
354
|
-
.void
|
381
|
+
accounts:
|
382
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Accounts::OrHash
|
383
|
+
).void
|
355
384
|
end
|
356
385
|
attr_writer :accounts
|
357
386
|
|
358
387
|
sig do
|
359
388
|
returns(
|
360
389
|
T.nilable(
|
361
|
-
FinchAPI::
|
390
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments
|
362
391
|
)
|
363
392
|
)
|
364
393
|
end
|
@@ -366,12 +395,9 @@ module FinchAPI
|
|
366
395
|
|
367
396
|
sig do
|
368
397
|
params(
|
369
|
-
departments:
|
370
|
-
FinchAPI::
|
371
|
-
|
372
|
-
)
|
373
|
-
)
|
374
|
-
.void
|
398
|
+
departments:
|
399
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments::OrHash
|
400
|
+
).void
|
375
401
|
end
|
376
402
|
attr_writer :departments
|
377
403
|
|
@@ -384,7 +410,7 @@ module FinchAPI
|
|
384
410
|
sig do
|
385
411
|
returns(
|
386
412
|
T.nilable(
|
387
|
-
FinchAPI::
|
413
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Entity
|
388
414
|
)
|
389
415
|
)
|
390
416
|
end
|
@@ -392,12 +418,9 @@ module FinchAPI
|
|
392
418
|
|
393
419
|
sig do
|
394
420
|
params(
|
395
|
-
entity:
|
396
|
-
FinchAPI::
|
397
|
-
|
398
|
-
)
|
399
|
-
)
|
400
|
-
.void
|
421
|
+
entity:
|
422
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Entity::OrHash
|
423
|
+
).void
|
401
424
|
end
|
402
425
|
attr_writer :entity
|
403
426
|
|
@@ -410,7 +433,7 @@ module FinchAPI
|
|
410
433
|
sig do
|
411
434
|
returns(
|
412
435
|
T.nilable(
|
413
|
-
FinchAPI::
|
436
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Locations
|
414
437
|
)
|
415
438
|
)
|
416
439
|
end
|
@@ -418,12 +441,9 @@ module FinchAPI
|
|
418
441
|
|
419
442
|
sig do
|
420
443
|
params(
|
421
|
-
locations:
|
422
|
-
FinchAPI::
|
423
|
-
|
424
|
-
)
|
425
|
-
)
|
426
|
-
.void
|
444
|
+
locations:
|
445
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Locations::OrHash
|
446
|
+
).void
|
427
447
|
end
|
428
448
|
attr_writer :locations
|
429
449
|
|
@@ -442,28 +462,19 @@ module FinchAPI
|
|
442
462
|
sig do
|
443
463
|
params(
|
444
464
|
id: T::Boolean,
|
445
|
-
accounts:
|
446
|
-
FinchAPI::
|
447
|
-
|
448
|
-
|
449
|
-
departments: T.any(
|
450
|
-
FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments,
|
451
|
-
FinchAPI::Internal::AnyHash
|
452
|
-
),
|
465
|
+
accounts:
|
466
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Accounts::OrHash,
|
467
|
+
departments:
|
468
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments::OrHash,
|
453
469
|
ein: T::Boolean,
|
454
|
-
entity:
|
455
|
-
FinchAPI::
|
456
|
-
FinchAPI::Internal::AnyHash
|
457
|
-
),
|
470
|
+
entity:
|
471
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Entity::OrHash,
|
458
472
|
legal_name: T::Boolean,
|
459
|
-
locations:
|
460
|
-
FinchAPI::
|
461
|
-
FinchAPI::Internal::AnyHash
|
462
|
-
),
|
473
|
+
locations:
|
474
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Locations::OrHash,
|
463
475
|
primary_email: T::Boolean,
|
464
476
|
primary_phone_number: T::Boolean
|
465
|
-
)
|
466
|
-
.returns(T.attached_class)
|
477
|
+
).returns(T.attached_class)
|
467
478
|
end
|
468
479
|
def self.new(
|
469
480
|
id: nil,
|
@@ -475,26 +486,37 @@ module FinchAPI
|
|
475
486
|
locations: nil,
|
476
487
|
primary_email: nil,
|
477
488
|
primary_phone_number: nil
|
478
|
-
)
|
489
|
+
)
|
490
|
+
end
|
491
|
+
|
479
492
|
sig do
|
480
|
-
override
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
493
|
+
override.returns(
|
494
|
+
{
|
495
|
+
id: T::Boolean,
|
496
|
+
accounts:
|
497
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Accounts,
|
498
|
+
departments:
|
499
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments,
|
500
|
+
ein: T::Boolean,
|
501
|
+
entity:
|
502
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Entity,
|
503
|
+
legal_name: T::Boolean,
|
504
|
+
locations:
|
505
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Locations,
|
506
|
+
primary_email: T::Boolean,
|
507
|
+
primary_phone_number: T::Boolean
|
508
|
+
}
|
509
|
+
)
|
510
|
+
end
|
511
|
+
def to_hash
|
494
512
|
end
|
495
|
-
def to_hash; end
|
496
513
|
|
497
514
|
class Accounts < FinchAPI::Internal::Type::BaseModel
|
515
|
+
OrHash =
|
516
|
+
T.type_alias do
|
517
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
518
|
+
end
|
519
|
+
|
498
520
|
sig { returns(T.nilable(T::Boolean)) }
|
499
521
|
attr_reader :account_name
|
500
522
|
|
@@ -532,8 +554,7 @@ module FinchAPI
|
|
532
554
|
account_type: T::Boolean,
|
533
555
|
institution_name: T::Boolean,
|
534
556
|
routing_number: T::Boolean
|
535
|
-
)
|
536
|
-
.returns(T.attached_class)
|
557
|
+
).returns(T.attached_class)
|
537
558
|
end
|
538
559
|
def self.new(
|
539
560
|
account_name: nil,
|
@@ -545,21 +566,26 @@ module FinchAPI
|
|
545
566
|
end
|
546
567
|
|
547
568
|
sig do
|
548
|
-
override
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
569
|
+
override.returns(
|
570
|
+
{
|
571
|
+
account_name: T::Boolean,
|
572
|
+
account_number: T::Boolean,
|
573
|
+
account_type: T::Boolean,
|
574
|
+
institution_name: T::Boolean,
|
575
|
+
routing_number: T::Boolean
|
576
|
+
}
|
577
|
+
)
|
578
|
+
end
|
579
|
+
def to_hash
|
558
580
|
end
|
559
|
-
def to_hash; end
|
560
581
|
end
|
561
582
|
|
562
583
|
class Departments < FinchAPI::Internal::Type::BaseModel
|
584
|
+
OrHash =
|
585
|
+
T.type_alias do
|
586
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
587
|
+
end
|
588
|
+
|
563
589
|
sig { returns(T.nilable(T::Boolean)) }
|
564
590
|
attr_reader :name
|
565
591
|
|
@@ -569,7 +595,7 @@ module FinchAPI
|
|
569
595
|
sig do
|
570
596
|
returns(
|
571
597
|
T.nilable(
|
572
|
-
FinchAPI::
|
598
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments::Parent
|
573
599
|
)
|
574
600
|
)
|
575
601
|
end
|
@@ -577,39 +603,40 @@ module FinchAPI
|
|
577
603
|
|
578
604
|
sig do
|
579
605
|
params(
|
580
|
-
parent:
|
581
|
-
FinchAPI::
|
582
|
-
|
583
|
-
)
|
584
|
-
)
|
585
|
-
.void
|
606
|
+
parent:
|
607
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments::Parent::OrHash
|
608
|
+
).void
|
586
609
|
end
|
587
610
|
attr_writer :parent
|
588
611
|
|
589
612
|
sig do
|
590
613
|
params(
|
591
614
|
name: T::Boolean,
|
592
|
-
parent:
|
593
|
-
FinchAPI::
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
.returns(T.attached_class)
|
615
|
+
parent:
|
616
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments::Parent::OrHash
|
617
|
+
).returns(T.attached_class)
|
618
|
+
end
|
619
|
+
def self.new(name: nil, parent: nil)
|
598
620
|
end
|
599
|
-
def self.new(name: nil, parent: nil); end
|
600
621
|
|
601
622
|
sig do
|
602
|
-
override
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
623
|
+
override.returns(
|
624
|
+
{
|
625
|
+
name: T::Boolean,
|
626
|
+
parent:
|
627
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments::Parent
|
628
|
+
}
|
629
|
+
)
|
630
|
+
end
|
631
|
+
def to_hash
|
609
632
|
end
|
610
|
-
def to_hash; end
|
611
633
|
|
612
634
|
class Parent < FinchAPI::Internal::Type::BaseModel
|
635
|
+
OrHash =
|
636
|
+
T.type_alias do
|
637
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
638
|
+
end
|
639
|
+
|
613
640
|
sig { returns(T.nilable(T::Boolean)) }
|
614
641
|
attr_reader :name
|
615
642
|
|
@@ -617,14 +644,21 @@ module FinchAPI
|
|
617
644
|
attr_writer :name
|
618
645
|
|
619
646
|
sig { params(name: T::Boolean).returns(T.attached_class) }
|
620
|
-
def self.new(name: nil)
|
647
|
+
def self.new(name: nil)
|
648
|
+
end
|
621
649
|
|
622
|
-
sig { override.returns({name: T::Boolean}) }
|
623
|
-
def to_hash
|
650
|
+
sig { override.returns({ name: T::Boolean }) }
|
651
|
+
def to_hash
|
652
|
+
end
|
624
653
|
end
|
625
654
|
end
|
626
655
|
|
627
656
|
class Entity < FinchAPI::Internal::Type::BaseModel
|
657
|
+
OrHash =
|
658
|
+
T.type_alias do
|
659
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
660
|
+
end
|
661
|
+
|
628
662
|
sig { returns(T.nilable(T::Boolean)) }
|
629
663
|
attr_reader :subtype
|
630
664
|
|
@@ -637,14 +671,27 @@ module FinchAPI
|
|
637
671
|
sig { params(type: T::Boolean).void }
|
638
672
|
attr_writer :type
|
639
673
|
|
640
|
-
sig
|
641
|
-
|
674
|
+
sig do
|
675
|
+
params(subtype: T::Boolean, type: T::Boolean).returns(
|
676
|
+
T.attached_class
|
677
|
+
)
|
678
|
+
end
|
679
|
+
def self.new(subtype: nil, type: nil)
|
680
|
+
end
|
642
681
|
|
643
|
-
sig
|
644
|
-
|
682
|
+
sig do
|
683
|
+
override.returns({ subtype: T::Boolean, type: T::Boolean })
|
684
|
+
end
|
685
|
+
def to_hash
|
686
|
+
end
|
645
687
|
end
|
646
688
|
|
647
689
|
class Locations < FinchAPI::Internal::Type::BaseModel
|
690
|
+
OrHash =
|
691
|
+
T.type_alias do
|
692
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
693
|
+
end
|
694
|
+
|
648
695
|
sig { returns(T.nilable(T::Boolean)) }
|
649
696
|
attr_reader :city
|
650
697
|
|
@@ -689,34 +736,43 @@ module FinchAPI
|
|
689
736
|
line2: T::Boolean,
|
690
737
|
postal_code: T::Boolean,
|
691
738
|
state: T::Boolean
|
692
|
-
)
|
693
|
-
.returns(T.attached_class)
|
739
|
+
).returns(T.attached_class)
|
694
740
|
end
|
695
|
-
def self.new(
|
741
|
+
def self.new(
|
742
|
+
city: nil,
|
743
|
+
country: nil,
|
744
|
+
line1: nil,
|
745
|
+
line2: nil,
|
746
|
+
postal_code: nil,
|
747
|
+
state: nil
|
748
|
+
)
|
696
749
|
end
|
697
750
|
|
698
751
|
sig do
|
699
|
-
override
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
752
|
+
override.returns(
|
753
|
+
{
|
754
|
+
city: T::Boolean,
|
755
|
+
country: T::Boolean,
|
756
|
+
line1: T::Boolean,
|
757
|
+
line2: T::Boolean,
|
758
|
+
postal_code: T::Boolean,
|
759
|
+
state: T::Boolean
|
760
|
+
}
|
761
|
+
)
|
762
|
+
end
|
763
|
+
def to_hash
|
710
764
|
end
|
711
|
-
def to_hash; end
|
712
765
|
end
|
713
766
|
end
|
714
767
|
|
715
768
|
class Directory < FinchAPI::Internal::Type::BaseModel
|
769
|
+
OrHash =
|
770
|
+
T.type_alias { T.any(T.self_type, FinchAPI::Internal::AnyHash) }
|
771
|
+
|
716
772
|
sig do
|
717
773
|
returns(
|
718
774
|
T.nilable(
|
719
|
-
FinchAPI::
|
775
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals
|
720
776
|
)
|
721
777
|
)
|
722
778
|
end
|
@@ -724,19 +780,16 @@ module FinchAPI
|
|
724
780
|
|
725
781
|
sig do
|
726
782
|
params(
|
727
|
-
individuals:
|
728
|
-
FinchAPI::
|
729
|
-
|
730
|
-
)
|
731
|
-
)
|
732
|
-
.void
|
783
|
+
individuals:
|
784
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals::OrHash
|
785
|
+
).void
|
733
786
|
end
|
734
787
|
attr_writer :individuals
|
735
788
|
|
736
789
|
sig do
|
737
790
|
returns(
|
738
791
|
T.nilable(
|
739
|
-
FinchAPI::
|
792
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Paging
|
740
793
|
)
|
741
794
|
)
|
742
795
|
end
|
@@ -744,42 +797,42 @@ module FinchAPI
|
|
744
797
|
|
745
798
|
sig do
|
746
799
|
params(
|
747
|
-
paging:
|
748
|
-
FinchAPI::
|
749
|
-
|
750
|
-
)
|
751
|
-
)
|
752
|
-
.void
|
800
|
+
paging:
|
801
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Paging::OrHash
|
802
|
+
).void
|
753
803
|
end
|
754
804
|
attr_writer :paging
|
755
805
|
|
756
806
|
sig do
|
757
807
|
params(
|
758
|
-
individuals:
|
759
|
-
FinchAPI::
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
)
|
766
|
-
)
|
767
|
-
.returns(T.attached_class)
|
808
|
+
individuals:
|
809
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals::OrHash,
|
810
|
+
paging:
|
811
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Paging::OrHash
|
812
|
+
).returns(T.attached_class)
|
813
|
+
end
|
814
|
+
def self.new(individuals: nil, paging: nil)
|
768
815
|
end
|
769
|
-
def self.new(individuals: nil, paging: nil); end
|
770
816
|
|
771
817
|
sig do
|
772
|
-
override
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
818
|
+
override.returns(
|
819
|
+
{
|
820
|
+
individuals:
|
821
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals,
|
822
|
+
paging:
|
823
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Paging
|
824
|
+
}
|
825
|
+
)
|
826
|
+
end
|
827
|
+
def to_hash
|
779
828
|
end
|
780
|
-
def to_hash; end
|
781
829
|
|
782
830
|
class Individuals < FinchAPI::Internal::Type::BaseModel
|
831
|
+
OrHash =
|
832
|
+
T.type_alias do
|
833
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
834
|
+
end
|
835
|
+
|
783
836
|
sig { returns(T.nilable(T::Boolean)) }
|
784
837
|
attr_reader :id
|
785
838
|
|
@@ -813,7 +866,7 @@ module FinchAPI
|
|
813
866
|
sig do
|
814
867
|
returns(
|
815
868
|
T.nilable(
|
816
|
-
FinchAPI::
|
869
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager
|
817
870
|
)
|
818
871
|
)
|
819
872
|
end
|
@@ -821,12 +874,9 @@ module FinchAPI
|
|
821
874
|
|
822
875
|
sig do
|
823
876
|
params(
|
824
|
-
manager:
|
825
|
-
FinchAPI::
|
826
|
-
|
827
|
-
)
|
828
|
-
)
|
829
|
-
.void
|
877
|
+
manager:
|
878
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager::OrHash
|
879
|
+
).void
|
830
880
|
end
|
831
881
|
attr_writer :manager
|
832
882
|
|
@@ -843,13 +893,10 @@ module FinchAPI
|
|
843
893
|
first_name: T::Boolean,
|
844
894
|
is_active: T::Boolean,
|
845
895
|
last_name: T::Boolean,
|
846
|
-
manager:
|
847
|
-
FinchAPI::
|
848
|
-
FinchAPI::Internal::AnyHash
|
849
|
-
),
|
896
|
+
manager:
|
897
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager::OrHash,
|
850
898
|
middle_name: T::Boolean
|
851
|
-
)
|
852
|
-
.returns(T.attached_class)
|
899
|
+
).returns(T.attached_class)
|
853
900
|
end
|
854
901
|
def self.new(
|
855
902
|
id: nil,
|
@@ -863,22 +910,28 @@ module FinchAPI
|
|
863
910
|
end
|
864
911
|
|
865
912
|
sig do
|
866
|
-
override
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
913
|
+
override.returns(
|
914
|
+
{
|
915
|
+
id: T::Boolean,
|
916
|
+
department: T::Boolean,
|
917
|
+
first_name: T::Boolean,
|
918
|
+
is_active: T::Boolean,
|
919
|
+
last_name: T::Boolean,
|
920
|
+
manager:
|
921
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager,
|
922
|
+
middle_name: T::Boolean
|
923
|
+
}
|
924
|
+
)
|
925
|
+
end
|
926
|
+
def to_hash
|
878
927
|
end
|
879
|
-
def to_hash; end
|
880
928
|
|
881
929
|
class Manager < FinchAPI::Internal::Type::BaseModel
|
930
|
+
OrHash =
|
931
|
+
T.type_alias do
|
932
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
933
|
+
end
|
934
|
+
|
882
935
|
sig { returns(T.nilable(T::Boolean)) }
|
883
936
|
attr_reader :id
|
884
937
|
|
@@ -886,14 +939,21 @@ module FinchAPI
|
|
886
939
|
attr_writer :id
|
887
940
|
|
888
941
|
sig { params(id: T::Boolean).returns(T.attached_class) }
|
889
|
-
def self.new(id: nil)
|
942
|
+
def self.new(id: nil)
|
943
|
+
end
|
890
944
|
|
891
|
-
sig { override.returns({id: T::Boolean}) }
|
892
|
-
def to_hash
|
945
|
+
sig { override.returns({ id: T::Boolean }) }
|
946
|
+
def to_hash
|
947
|
+
end
|
893
948
|
end
|
894
949
|
end
|
895
950
|
|
896
951
|
class Paging < FinchAPI::Internal::Type::BaseModel
|
952
|
+
OrHash =
|
953
|
+
T.type_alias do
|
954
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
955
|
+
end
|
956
|
+
|
897
957
|
sig { returns(T.nilable(T::Boolean)) }
|
898
958
|
attr_reader :count
|
899
959
|
|
@@ -906,15 +966,26 @@ module FinchAPI
|
|
906
966
|
sig { params(offset: T::Boolean).void }
|
907
967
|
attr_writer :offset
|
908
968
|
|
909
|
-
sig
|
910
|
-
|
969
|
+
sig do
|
970
|
+
params(count: T::Boolean, offset: T::Boolean).returns(
|
971
|
+
T.attached_class
|
972
|
+
)
|
973
|
+
end
|
974
|
+
def self.new(count: nil, offset: nil)
|
975
|
+
end
|
911
976
|
|
912
|
-
sig
|
913
|
-
|
977
|
+
sig do
|
978
|
+
override.returns({ count: T::Boolean, offset: T::Boolean })
|
979
|
+
end
|
980
|
+
def to_hash
|
981
|
+
end
|
914
982
|
end
|
915
983
|
end
|
916
984
|
|
917
985
|
class Employment < FinchAPI::Internal::Type::BaseModel
|
986
|
+
OrHash =
|
987
|
+
T.type_alias { T.any(T.self_type, FinchAPI::Internal::AnyHash) }
|
988
|
+
|
918
989
|
sig { returns(T.nilable(T::Boolean)) }
|
919
990
|
attr_reader :id
|
920
991
|
|
@@ -936,7 +1007,7 @@ module FinchAPI
|
|
936
1007
|
sig do
|
937
1008
|
returns(
|
938
1009
|
T.nilable(
|
939
|
-
FinchAPI::
|
1010
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Department
|
940
1011
|
)
|
941
1012
|
)
|
942
1013
|
end
|
@@ -944,19 +1015,16 @@ module FinchAPI
|
|
944
1015
|
|
945
1016
|
sig do
|
946
1017
|
params(
|
947
|
-
department:
|
948
|
-
FinchAPI::
|
949
|
-
|
950
|
-
)
|
951
|
-
)
|
952
|
-
.void
|
1018
|
+
department:
|
1019
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Department::OrHash
|
1020
|
+
).void
|
953
1021
|
end
|
954
1022
|
attr_writer :department
|
955
1023
|
|
956
1024
|
sig do
|
957
1025
|
returns(
|
958
1026
|
T.nilable(
|
959
|
-
FinchAPI::
|
1027
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Employment
|
960
1028
|
)
|
961
1029
|
)
|
962
1030
|
end
|
@@ -964,12 +1032,9 @@ module FinchAPI
|
|
964
1032
|
|
965
1033
|
sig do
|
966
1034
|
params(
|
967
|
-
employment:
|
968
|
-
FinchAPI::
|
969
|
-
|
970
|
-
)
|
971
|
-
)
|
972
|
-
.void
|
1035
|
+
employment:
|
1036
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Employment::OrHash
|
1037
|
+
).void
|
973
1038
|
end
|
974
1039
|
attr_writer :employment
|
975
1040
|
|
@@ -994,7 +1059,7 @@ module FinchAPI
|
|
994
1059
|
sig do
|
995
1060
|
returns(
|
996
1061
|
T.nilable(
|
997
|
-
FinchAPI::
|
1062
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Income
|
998
1063
|
)
|
999
1064
|
)
|
1000
1065
|
end
|
@@ -1002,12 +1067,9 @@ module FinchAPI
|
|
1002
1067
|
|
1003
1068
|
sig do
|
1004
1069
|
params(
|
1005
|
-
income:
|
1006
|
-
FinchAPI::
|
1007
|
-
|
1008
|
-
)
|
1009
|
-
)
|
1010
|
-
.void
|
1070
|
+
income:
|
1071
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Income::OrHash
|
1072
|
+
).void
|
1011
1073
|
end
|
1012
1074
|
attr_writer :income
|
1013
1075
|
|
@@ -1032,7 +1094,7 @@ module FinchAPI
|
|
1032
1094
|
sig do
|
1033
1095
|
returns(
|
1034
1096
|
T.nilable(
|
1035
|
-
FinchAPI::
|
1097
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Location
|
1036
1098
|
)
|
1037
1099
|
)
|
1038
1100
|
end
|
@@ -1040,19 +1102,16 @@ module FinchAPI
|
|
1040
1102
|
|
1041
1103
|
sig do
|
1042
1104
|
params(
|
1043
|
-
location:
|
1044
|
-
FinchAPI::
|
1045
|
-
|
1046
|
-
)
|
1047
|
-
)
|
1048
|
-
.void
|
1105
|
+
location:
|
1106
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Location::OrHash
|
1107
|
+
).void
|
1049
1108
|
end
|
1050
1109
|
attr_writer :location
|
1051
1110
|
|
1052
1111
|
sig do
|
1053
1112
|
returns(
|
1054
1113
|
T.nilable(
|
1055
|
-
FinchAPI::
|
1114
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager
|
1056
1115
|
)
|
1057
1116
|
)
|
1058
1117
|
end
|
@@ -1060,12 +1119,9 @@ module FinchAPI
|
|
1060
1119
|
|
1061
1120
|
sig do
|
1062
1121
|
params(
|
1063
|
-
manager:
|
1064
|
-
FinchAPI::
|
1065
|
-
|
1066
|
-
)
|
1067
|
-
)
|
1068
|
-
.void
|
1122
|
+
manager:
|
1123
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager::OrHash
|
1124
|
+
).void
|
1069
1125
|
end
|
1070
1126
|
attr_writer :manager
|
1071
1127
|
|
@@ -1092,37 +1148,26 @@ module FinchAPI
|
|
1092
1148
|
id: T::Boolean,
|
1093
1149
|
class_code: T::Boolean,
|
1094
1150
|
custom_fields: T::Boolean,
|
1095
|
-
department:
|
1096
|
-
FinchAPI::
|
1097
|
-
|
1098
|
-
|
1099
|
-
employment: T.any(
|
1100
|
-
FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Employment,
|
1101
|
-
FinchAPI::Internal::AnyHash
|
1102
|
-
),
|
1151
|
+
department:
|
1152
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Department::OrHash,
|
1153
|
+
employment:
|
1154
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Employment::OrHash,
|
1103
1155
|
employment_status: T::Boolean,
|
1104
1156
|
end_date: T::Boolean,
|
1105
1157
|
first_name: T::Boolean,
|
1106
|
-
income:
|
1107
|
-
FinchAPI::
|
1108
|
-
FinchAPI::Internal::AnyHash
|
1109
|
-
),
|
1158
|
+
income:
|
1159
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Income::OrHash,
|
1110
1160
|
income_history: T::Boolean,
|
1111
1161
|
is_active: T::Boolean,
|
1112
1162
|
last_name: T::Boolean,
|
1113
|
-
location:
|
1114
|
-
FinchAPI::
|
1115
|
-
|
1116
|
-
|
1117
|
-
manager: T.any(
|
1118
|
-
FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager,
|
1119
|
-
FinchAPI::Internal::AnyHash
|
1120
|
-
),
|
1163
|
+
location:
|
1164
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Location::OrHash,
|
1165
|
+
manager:
|
1166
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager::OrHash,
|
1121
1167
|
middle_name: T::Boolean,
|
1122
1168
|
start_date: T::Boolean,
|
1123
1169
|
title: T::Boolean
|
1124
|
-
)
|
1125
|
-
.returns(T.attached_class)
|
1170
|
+
).returns(T.attached_class)
|
1126
1171
|
end
|
1127
1172
|
def self.new(
|
1128
1173
|
id: nil,
|
@@ -1142,34 +1187,46 @@ module FinchAPI
|
|
1142
1187
|
middle_name: nil,
|
1143
1188
|
start_date: nil,
|
1144
1189
|
title: nil
|
1145
|
-
)
|
1190
|
+
)
|
1191
|
+
end
|
1192
|
+
|
1146
1193
|
sig do
|
1147
|
-
override
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1168
|
-
|
1194
|
+
override.returns(
|
1195
|
+
{
|
1196
|
+
id: T::Boolean,
|
1197
|
+
class_code: T::Boolean,
|
1198
|
+
custom_fields: T::Boolean,
|
1199
|
+
department:
|
1200
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Department,
|
1201
|
+
employment:
|
1202
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Employment,
|
1203
|
+
employment_status: T::Boolean,
|
1204
|
+
end_date: T::Boolean,
|
1205
|
+
first_name: T::Boolean,
|
1206
|
+
income:
|
1207
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Income,
|
1208
|
+
income_history: T::Boolean,
|
1209
|
+
is_active: T::Boolean,
|
1210
|
+
last_name: T::Boolean,
|
1211
|
+
location:
|
1212
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Location,
|
1213
|
+
manager:
|
1214
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager,
|
1215
|
+
middle_name: T::Boolean,
|
1216
|
+
start_date: T::Boolean,
|
1217
|
+
title: T::Boolean
|
1218
|
+
}
|
1219
|
+
)
|
1220
|
+
end
|
1221
|
+
def to_hash
|
1169
1222
|
end
|
1170
|
-
def to_hash; end
|
1171
1223
|
|
1172
1224
|
class Department < FinchAPI::Internal::Type::BaseModel
|
1225
|
+
OrHash =
|
1226
|
+
T.type_alias do
|
1227
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
1228
|
+
end
|
1229
|
+
|
1173
1230
|
sig { returns(T.nilable(T::Boolean)) }
|
1174
1231
|
attr_reader :name
|
1175
1232
|
|
@@ -1177,13 +1234,20 @@ module FinchAPI
|
|
1177
1234
|
attr_writer :name
|
1178
1235
|
|
1179
1236
|
sig { params(name: T::Boolean).returns(T.attached_class) }
|
1180
|
-
def self.new(name: nil)
|
1237
|
+
def self.new(name: nil)
|
1238
|
+
end
|
1181
1239
|
|
1182
|
-
sig { override.returns({name: T::Boolean}) }
|
1183
|
-
def to_hash
|
1240
|
+
sig { override.returns({ name: T::Boolean }) }
|
1241
|
+
def to_hash
|
1242
|
+
end
|
1184
1243
|
end
|
1185
1244
|
|
1186
1245
|
class Employment < FinchAPI::Internal::Type::BaseModel
|
1246
|
+
OrHash =
|
1247
|
+
T.type_alias do
|
1248
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
1249
|
+
end
|
1250
|
+
|
1187
1251
|
sig { returns(T.nilable(T::Boolean)) }
|
1188
1252
|
attr_reader :subtype
|
1189
1253
|
|
@@ -1196,14 +1260,27 @@ module FinchAPI
|
|
1196
1260
|
sig { params(type: T::Boolean).void }
|
1197
1261
|
attr_writer :type
|
1198
1262
|
|
1199
|
-
sig
|
1200
|
-
|
1263
|
+
sig do
|
1264
|
+
params(subtype: T::Boolean, type: T::Boolean).returns(
|
1265
|
+
T.attached_class
|
1266
|
+
)
|
1267
|
+
end
|
1268
|
+
def self.new(subtype: nil, type: nil)
|
1269
|
+
end
|
1201
1270
|
|
1202
|
-
sig
|
1203
|
-
|
1271
|
+
sig do
|
1272
|
+
override.returns({ subtype: T::Boolean, type: T::Boolean })
|
1273
|
+
end
|
1274
|
+
def to_hash
|
1275
|
+
end
|
1204
1276
|
end
|
1205
1277
|
|
1206
1278
|
class Income < FinchAPI::Internal::Type::BaseModel
|
1279
|
+
OrHash =
|
1280
|
+
T.type_alias do
|
1281
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
1282
|
+
end
|
1283
|
+
|
1207
1284
|
sig { returns(T.nilable(T::Boolean)) }
|
1208
1285
|
attr_reader :amount
|
1209
1286
|
|
@@ -1223,15 +1300,34 @@ module FinchAPI
|
|
1223
1300
|
attr_writer :unit
|
1224
1301
|
|
1225
1302
|
sig do
|
1226
|
-
params(
|
1303
|
+
params(
|
1304
|
+
amount: T::Boolean,
|
1305
|
+
currency: T::Boolean,
|
1306
|
+
unit: T::Boolean
|
1307
|
+
).returns(T.attached_class)
|
1308
|
+
end
|
1309
|
+
def self.new(amount: nil, currency: nil, unit: nil)
|
1227
1310
|
end
|
1228
|
-
def self.new(amount: nil, currency: nil, unit: nil); end
|
1229
1311
|
|
1230
|
-
sig
|
1231
|
-
|
1312
|
+
sig do
|
1313
|
+
override.returns(
|
1314
|
+
{
|
1315
|
+
amount: T::Boolean,
|
1316
|
+
currency: T::Boolean,
|
1317
|
+
unit: T::Boolean
|
1318
|
+
}
|
1319
|
+
)
|
1320
|
+
end
|
1321
|
+
def to_hash
|
1322
|
+
end
|
1232
1323
|
end
|
1233
1324
|
|
1234
1325
|
class Location < FinchAPI::Internal::Type::BaseModel
|
1326
|
+
OrHash =
|
1327
|
+
T.type_alias do
|
1328
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
1329
|
+
end
|
1330
|
+
|
1235
1331
|
sig { returns(T.nilable(T::Boolean)) }
|
1236
1332
|
attr_reader :city
|
1237
1333
|
|
@@ -1276,29 +1372,40 @@ module FinchAPI
|
|
1276
1372
|
line2: T::Boolean,
|
1277
1373
|
postal_code: T::Boolean,
|
1278
1374
|
state: T::Boolean
|
1279
|
-
)
|
1280
|
-
.returns(T.attached_class)
|
1375
|
+
).returns(T.attached_class)
|
1281
1376
|
end
|
1282
|
-
def self.new(
|
1377
|
+
def self.new(
|
1378
|
+
city: nil,
|
1379
|
+
country: nil,
|
1380
|
+
line1: nil,
|
1381
|
+
line2: nil,
|
1382
|
+
postal_code: nil,
|
1383
|
+
state: nil
|
1384
|
+
)
|
1283
1385
|
end
|
1284
1386
|
|
1285
1387
|
sig do
|
1286
|
-
override
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1388
|
+
override.returns(
|
1389
|
+
{
|
1390
|
+
city: T::Boolean,
|
1391
|
+
country: T::Boolean,
|
1392
|
+
line1: T::Boolean,
|
1393
|
+
line2: T::Boolean,
|
1394
|
+
postal_code: T::Boolean,
|
1395
|
+
state: T::Boolean
|
1396
|
+
}
|
1397
|
+
)
|
1398
|
+
end
|
1399
|
+
def to_hash
|
1297
1400
|
end
|
1298
|
-
def to_hash; end
|
1299
1401
|
end
|
1300
1402
|
|
1301
1403
|
class Manager < FinchAPI::Internal::Type::BaseModel
|
1404
|
+
OrHash =
|
1405
|
+
T.type_alias do
|
1406
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
1407
|
+
end
|
1408
|
+
|
1302
1409
|
sig { returns(T.nilable(T::Boolean)) }
|
1303
1410
|
attr_reader :id
|
1304
1411
|
|
@@ -1306,14 +1413,19 @@ module FinchAPI
|
|
1306
1413
|
attr_writer :id
|
1307
1414
|
|
1308
1415
|
sig { params(id: T::Boolean).returns(T.attached_class) }
|
1309
|
-
def self.new(id: nil)
|
1416
|
+
def self.new(id: nil)
|
1417
|
+
end
|
1310
1418
|
|
1311
|
-
sig { override.returns({id: T::Boolean}) }
|
1312
|
-
def to_hash
|
1419
|
+
sig { override.returns({ id: T::Boolean }) }
|
1420
|
+
def to_hash
|
1421
|
+
end
|
1313
1422
|
end
|
1314
1423
|
end
|
1315
1424
|
|
1316
1425
|
class Individual < FinchAPI::Internal::Type::BaseModel
|
1426
|
+
OrHash =
|
1427
|
+
T.type_alias { T.any(T.self_type, FinchAPI::Internal::AnyHash) }
|
1428
|
+
|
1317
1429
|
sig { returns(T.nilable(T::Boolean)) }
|
1318
1430
|
attr_reader :id
|
1319
1431
|
|
@@ -1329,7 +1441,7 @@ module FinchAPI
|
|
1329
1441
|
sig do
|
1330
1442
|
returns(
|
1331
1443
|
T.nilable(
|
1332
|
-
FinchAPI::
|
1444
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::Emails
|
1333
1445
|
)
|
1334
1446
|
)
|
1335
1447
|
end
|
@@ -1337,12 +1449,9 @@ module FinchAPI
|
|
1337
1449
|
|
1338
1450
|
sig do
|
1339
1451
|
params(
|
1340
|
-
emails:
|
1341
|
-
FinchAPI::
|
1342
|
-
|
1343
|
-
)
|
1344
|
-
)
|
1345
|
-
.void
|
1452
|
+
emails:
|
1453
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::Emails::OrHash
|
1454
|
+
).void
|
1346
1455
|
end
|
1347
1456
|
attr_writer :emails
|
1348
1457
|
|
@@ -1385,7 +1494,7 @@ module FinchAPI
|
|
1385
1494
|
sig do
|
1386
1495
|
returns(
|
1387
1496
|
T.nilable(
|
1388
|
-
FinchAPI::
|
1497
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers
|
1389
1498
|
)
|
1390
1499
|
)
|
1391
1500
|
end
|
@@ -1393,12 +1502,9 @@ module FinchAPI
|
|
1393
1502
|
|
1394
1503
|
sig do
|
1395
1504
|
params(
|
1396
|
-
phone_numbers:
|
1397
|
-
FinchAPI::
|
1398
|
-
|
1399
|
-
)
|
1400
|
-
)
|
1401
|
-
.void
|
1505
|
+
phone_numbers:
|
1506
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers::OrHash
|
1507
|
+
).void
|
1402
1508
|
end
|
1403
1509
|
attr_writer :phone_numbers
|
1404
1510
|
|
@@ -1411,7 +1517,7 @@ module FinchAPI
|
|
1411
1517
|
sig do
|
1412
1518
|
returns(
|
1413
1519
|
T.nilable(
|
1414
|
-
FinchAPI::
|
1520
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::Residence
|
1415
1521
|
)
|
1416
1522
|
)
|
1417
1523
|
end
|
@@ -1419,12 +1525,9 @@ module FinchAPI
|
|
1419
1525
|
|
1420
1526
|
sig do
|
1421
1527
|
params(
|
1422
|
-
residence:
|
1423
|
-
FinchAPI::
|
1424
|
-
|
1425
|
-
)
|
1426
|
-
)
|
1427
|
-
.void
|
1528
|
+
residence:
|
1529
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::Residence::OrHash
|
1530
|
+
).void
|
1428
1531
|
end
|
1429
1532
|
attr_writer :residence
|
1430
1533
|
|
@@ -1438,28 +1541,21 @@ module FinchAPI
|
|
1438
1541
|
params(
|
1439
1542
|
id: T::Boolean,
|
1440
1543
|
dob: T::Boolean,
|
1441
|
-
emails:
|
1442
|
-
FinchAPI::
|
1443
|
-
FinchAPI::Internal::AnyHash
|
1444
|
-
),
|
1544
|
+
emails:
|
1545
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::Emails::OrHash,
|
1445
1546
|
encrypted_ssn: T::Boolean,
|
1446
1547
|
ethnicity: T::Boolean,
|
1447
1548
|
first_name: T::Boolean,
|
1448
1549
|
gender: T::Boolean,
|
1449
1550
|
last_name: T::Boolean,
|
1450
1551
|
middle_name: T::Boolean,
|
1451
|
-
phone_numbers:
|
1452
|
-
FinchAPI::
|
1453
|
-
FinchAPI::Internal::AnyHash
|
1454
|
-
),
|
1552
|
+
phone_numbers:
|
1553
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers::OrHash,
|
1455
1554
|
preferred_name: T::Boolean,
|
1456
|
-
residence:
|
1457
|
-
FinchAPI::
|
1458
|
-
FinchAPI::Internal::AnyHash
|
1459
|
-
),
|
1555
|
+
residence:
|
1556
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::Residence::OrHash,
|
1460
1557
|
ssn: T::Boolean
|
1461
|
-
)
|
1462
|
-
.returns(T.attached_class)
|
1558
|
+
).returns(T.attached_class)
|
1463
1559
|
end
|
1464
1560
|
def self.new(
|
1465
1561
|
id: nil,
|
@@ -1475,30 +1571,40 @@ module FinchAPI
|
|
1475
1571
|
preferred_name: nil,
|
1476
1572
|
residence: nil,
|
1477
1573
|
ssn: nil
|
1478
|
-
)
|
1574
|
+
)
|
1575
|
+
end
|
1576
|
+
|
1479
1577
|
sig do
|
1480
|
-
override
|
1481
|
-
|
1482
|
-
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
1488
|
-
|
1489
|
-
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1578
|
+
override.returns(
|
1579
|
+
{
|
1580
|
+
id: T::Boolean,
|
1581
|
+
dob: T::Boolean,
|
1582
|
+
emails:
|
1583
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::Emails,
|
1584
|
+
encrypted_ssn: T::Boolean,
|
1585
|
+
ethnicity: T::Boolean,
|
1586
|
+
first_name: T::Boolean,
|
1587
|
+
gender: T::Boolean,
|
1588
|
+
last_name: T::Boolean,
|
1589
|
+
middle_name: T::Boolean,
|
1590
|
+
phone_numbers:
|
1591
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers,
|
1592
|
+
preferred_name: T::Boolean,
|
1593
|
+
residence:
|
1594
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::Residence,
|
1595
|
+
ssn: T::Boolean
|
1596
|
+
}
|
1597
|
+
)
|
1598
|
+
end
|
1599
|
+
def to_hash
|
1498
1600
|
end
|
1499
|
-
def to_hash; end
|
1500
1601
|
|
1501
1602
|
class Emails < FinchAPI::Internal::Type::BaseModel
|
1603
|
+
OrHash =
|
1604
|
+
T.type_alias do
|
1605
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
1606
|
+
end
|
1607
|
+
|
1502
1608
|
sig { returns(T.nilable(T::Boolean)) }
|
1503
1609
|
attr_reader :data
|
1504
1610
|
|
@@ -1511,14 +1617,25 @@ module FinchAPI
|
|
1511
1617
|
sig { params(type: T::Boolean).void }
|
1512
1618
|
attr_writer :type
|
1513
1619
|
|
1514
|
-
sig
|
1515
|
-
|
1620
|
+
sig do
|
1621
|
+
params(data: T::Boolean, type: T::Boolean).returns(
|
1622
|
+
T.attached_class
|
1623
|
+
)
|
1624
|
+
end
|
1625
|
+
def self.new(data: nil, type: nil)
|
1626
|
+
end
|
1516
1627
|
|
1517
|
-
sig { override.returns({data: T::Boolean, type: T::Boolean}) }
|
1518
|
-
def to_hash
|
1628
|
+
sig { override.returns({ data: T::Boolean, type: T::Boolean }) }
|
1629
|
+
def to_hash
|
1630
|
+
end
|
1519
1631
|
end
|
1520
1632
|
|
1521
1633
|
class PhoneNumbers < FinchAPI::Internal::Type::BaseModel
|
1634
|
+
OrHash =
|
1635
|
+
T.type_alias do
|
1636
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
1637
|
+
end
|
1638
|
+
|
1522
1639
|
sig { returns(T.nilable(T::Boolean)) }
|
1523
1640
|
attr_reader :data
|
1524
1641
|
|
@@ -1531,14 +1648,25 @@ module FinchAPI
|
|
1531
1648
|
sig { params(type: T::Boolean).void }
|
1532
1649
|
attr_writer :type
|
1533
1650
|
|
1534
|
-
sig
|
1535
|
-
|
1651
|
+
sig do
|
1652
|
+
params(data: T::Boolean, type: T::Boolean).returns(
|
1653
|
+
T.attached_class
|
1654
|
+
)
|
1655
|
+
end
|
1656
|
+
def self.new(data: nil, type: nil)
|
1657
|
+
end
|
1536
1658
|
|
1537
|
-
sig { override.returns({data: T::Boolean, type: T::Boolean}) }
|
1538
|
-
def to_hash
|
1659
|
+
sig { override.returns({ data: T::Boolean, type: T::Boolean }) }
|
1660
|
+
def to_hash
|
1661
|
+
end
|
1539
1662
|
end
|
1540
1663
|
|
1541
1664
|
class Residence < FinchAPI::Internal::Type::BaseModel
|
1665
|
+
OrHash =
|
1666
|
+
T.type_alias do
|
1667
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
1668
|
+
end
|
1669
|
+
|
1542
1670
|
sig { returns(T.nilable(T::Boolean)) }
|
1543
1671
|
attr_reader :city
|
1544
1672
|
|
@@ -1583,30 +1711,39 @@ module FinchAPI
|
|
1583
1711
|
line2: T::Boolean,
|
1584
1712
|
postal_code: T::Boolean,
|
1585
1713
|
state: T::Boolean
|
1586
|
-
)
|
1587
|
-
.returns(T.attached_class)
|
1714
|
+
).returns(T.attached_class)
|
1588
1715
|
end
|
1589
|
-
def self.new(
|
1716
|
+
def self.new(
|
1717
|
+
city: nil,
|
1718
|
+
country: nil,
|
1719
|
+
line1: nil,
|
1720
|
+
line2: nil,
|
1721
|
+
postal_code: nil,
|
1722
|
+
state: nil
|
1723
|
+
)
|
1590
1724
|
end
|
1591
1725
|
|
1592
1726
|
sig do
|
1593
|
-
override
|
1594
|
-
|
1595
|
-
|
1596
|
-
|
1597
|
-
|
1598
|
-
|
1599
|
-
|
1600
|
-
|
1601
|
-
|
1602
|
-
|
1603
|
-
|
1727
|
+
override.returns(
|
1728
|
+
{
|
1729
|
+
city: T::Boolean,
|
1730
|
+
country: T::Boolean,
|
1731
|
+
line1: T::Boolean,
|
1732
|
+
line2: T::Boolean,
|
1733
|
+
postal_code: T::Boolean,
|
1734
|
+
state: T::Boolean
|
1735
|
+
}
|
1736
|
+
)
|
1737
|
+
end
|
1738
|
+
def to_hash
|
1604
1739
|
end
|
1605
|
-
def to_hash; end
|
1606
1740
|
end
|
1607
1741
|
end
|
1608
1742
|
|
1609
1743
|
class PayGroup < FinchAPI::Internal::Type::BaseModel
|
1744
|
+
OrHash =
|
1745
|
+
T.type_alias { T.any(T.self_type, FinchAPI::Internal::AnyHash) }
|
1746
|
+
|
1610
1747
|
sig { returns(T.nilable(T::Boolean)) }
|
1611
1748
|
attr_reader :id
|
1612
1749
|
|
@@ -1637,28 +1774,38 @@ module FinchAPI
|
|
1637
1774
|
individual_ids: T::Boolean,
|
1638
1775
|
name: T::Boolean,
|
1639
1776
|
pay_frequencies: T::Boolean
|
1640
|
-
)
|
1641
|
-
|
1777
|
+
).returns(T.attached_class)
|
1778
|
+
end
|
1779
|
+
def self.new(
|
1780
|
+
id: nil,
|
1781
|
+
individual_ids: nil,
|
1782
|
+
name: nil,
|
1783
|
+
pay_frequencies: nil
|
1784
|
+
)
|
1642
1785
|
end
|
1643
|
-
def self.new(id: nil, individual_ids: nil, name: nil, pay_frequencies: nil); end
|
1644
1786
|
|
1645
1787
|
sig do
|
1646
|
-
override
|
1647
|
-
|
1648
|
-
|
1649
|
-
|
1650
|
-
|
1651
|
-
|
1652
|
-
|
1653
|
-
|
1654
|
-
|
1788
|
+
override.returns(
|
1789
|
+
{
|
1790
|
+
id: T::Boolean,
|
1791
|
+
individual_ids: T::Boolean,
|
1792
|
+
name: T::Boolean,
|
1793
|
+
pay_frequencies: T::Boolean
|
1794
|
+
}
|
1795
|
+
)
|
1796
|
+
end
|
1797
|
+
def to_hash
|
1798
|
+
end
|
1655
1799
|
end
|
1656
1800
|
|
1657
1801
|
class PayStatement < FinchAPI::Internal::Type::BaseModel
|
1802
|
+
OrHash =
|
1803
|
+
T.type_alias { T.any(T.self_type, FinchAPI::Internal::AnyHash) }
|
1804
|
+
|
1658
1805
|
sig do
|
1659
1806
|
returns(
|
1660
1807
|
T.nilable(
|
1661
|
-
FinchAPI::
|
1808
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::Paging
|
1662
1809
|
)
|
1663
1810
|
)
|
1664
1811
|
end
|
@@ -1666,19 +1813,16 @@ module FinchAPI
|
|
1666
1813
|
|
1667
1814
|
sig do
|
1668
1815
|
params(
|
1669
|
-
paging:
|
1670
|
-
FinchAPI::
|
1671
|
-
|
1672
|
-
)
|
1673
|
-
)
|
1674
|
-
.void
|
1816
|
+
paging:
|
1817
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::Paging::OrHash
|
1818
|
+
).void
|
1675
1819
|
end
|
1676
1820
|
attr_writer :paging
|
1677
1821
|
|
1678
1822
|
sig do
|
1679
1823
|
returns(
|
1680
1824
|
T.nilable(
|
1681
|
-
FinchAPI::
|
1825
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements
|
1682
1826
|
)
|
1683
1827
|
)
|
1684
1828
|
end
|
@@ -1686,60 +1830,73 @@ module FinchAPI
|
|
1686
1830
|
|
1687
1831
|
sig do
|
1688
1832
|
params(
|
1689
|
-
pay_statements:
|
1690
|
-
FinchAPI::
|
1691
|
-
|
1692
|
-
)
|
1693
|
-
)
|
1694
|
-
.void
|
1833
|
+
pay_statements:
|
1834
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::OrHash
|
1835
|
+
).void
|
1695
1836
|
end
|
1696
1837
|
attr_writer :pay_statements
|
1697
1838
|
|
1698
1839
|
sig do
|
1699
1840
|
params(
|
1700
|
-
paging:
|
1701
|
-
FinchAPI::
|
1702
|
-
|
1703
|
-
|
1704
|
-
|
1705
|
-
|
1706
|
-
|
1707
|
-
)
|
1708
|
-
)
|
1709
|
-
.returns(T.attached_class)
|
1841
|
+
paging:
|
1842
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::Paging::OrHash,
|
1843
|
+
pay_statements:
|
1844
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::OrHash
|
1845
|
+
).returns(T.attached_class)
|
1846
|
+
end
|
1847
|
+
def self.new(paging: nil, pay_statements: nil)
|
1710
1848
|
end
|
1711
|
-
def self.new(paging: nil, pay_statements: nil); end
|
1712
1849
|
|
1713
1850
|
sig do
|
1714
|
-
override
|
1715
|
-
|
1716
|
-
|
1717
|
-
|
1718
|
-
|
1719
|
-
|
1720
|
-
|
1851
|
+
override.returns(
|
1852
|
+
{
|
1853
|
+
paging:
|
1854
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::Paging,
|
1855
|
+
pay_statements:
|
1856
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements
|
1857
|
+
}
|
1858
|
+
)
|
1859
|
+
end
|
1860
|
+
def to_hash
|
1721
1861
|
end
|
1722
|
-
def to_hash; end
|
1723
1862
|
|
1724
1863
|
class Paging < FinchAPI::Internal::Type::BaseModel
|
1864
|
+
OrHash =
|
1865
|
+
T.type_alias do
|
1866
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
1867
|
+
end
|
1868
|
+
|
1725
1869
|
sig { returns(T::Boolean) }
|
1726
1870
|
attr_accessor :count
|
1727
1871
|
|
1728
1872
|
sig { returns(T::Boolean) }
|
1729
1873
|
attr_accessor :offset
|
1730
1874
|
|
1731
|
-
sig
|
1732
|
-
|
1875
|
+
sig do
|
1876
|
+
params(count: T::Boolean, offset: T::Boolean).returns(
|
1877
|
+
T.attached_class
|
1878
|
+
)
|
1879
|
+
end
|
1880
|
+
def self.new(count:, offset:)
|
1881
|
+
end
|
1733
1882
|
|
1734
|
-
sig
|
1735
|
-
|
1883
|
+
sig do
|
1884
|
+
override.returns({ count: T::Boolean, offset: T::Boolean })
|
1885
|
+
end
|
1886
|
+
def to_hash
|
1887
|
+
end
|
1736
1888
|
end
|
1737
1889
|
|
1738
1890
|
class PayStatements < FinchAPI::Internal::Type::BaseModel
|
1891
|
+
OrHash =
|
1892
|
+
T.type_alias do
|
1893
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
1894
|
+
end
|
1895
|
+
|
1739
1896
|
sig do
|
1740
1897
|
returns(
|
1741
1898
|
T.nilable(
|
1742
|
-
FinchAPI::
|
1899
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings
|
1743
1900
|
)
|
1744
1901
|
)
|
1745
1902
|
end
|
@@ -1747,19 +1904,16 @@ module FinchAPI
|
|
1747
1904
|
|
1748
1905
|
sig do
|
1749
1906
|
params(
|
1750
|
-
earnings:
|
1751
|
-
FinchAPI::
|
1752
|
-
|
1753
|
-
)
|
1754
|
-
)
|
1755
|
-
.void
|
1907
|
+
earnings:
|
1908
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings::OrHash
|
1909
|
+
).void
|
1756
1910
|
end
|
1757
1911
|
attr_writer :earnings
|
1758
1912
|
|
1759
1913
|
sig do
|
1760
1914
|
returns(
|
1761
1915
|
T.nilable(
|
1762
|
-
FinchAPI::
|
1916
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions
|
1763
1917
|
)
|
1764
1918
|
)
|
1765
1919
|
end
|
@@ -1767,19 +1921,16 @@ module FinchAPI
|
|
1767
1921
|
|
1768
1922
|
sig do
|
1769
1923
|
params(
|
1770
|
-
employee_deductions:
|
1771
|
-
FinchAPI::
|
1772
|
-
|
1773
|
-
)
|
1774
|
-
)
|
1775
|
-
.void
|
1924
|
+
employee_deductions:
|
1925
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions::OrHash
|
1926
|
+
).void
|
1776
1927
|
end
|
1777
1928
|
attr_writer :employee_deductions
|
1778
1929
|
|
1779
1930
|
sig do
|
1780
1931
|
returns(
|
1781
1932
|
T.nilable(
|
1782
|
-
FinchAPI::
|
1933
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions
|
1783
1934
|
)
|
1784
1935
|
)
|
1785
1936
|
end
|
@@ -1787,12 +1938,9 @@ module FinchAPI
|
|
1787
1938
|
|
1788
1939
|
sig do
|
1789
1940
|
params(
|
1790
|
-
employer_contributions:
|
1791
|
-
FinchAPI::
|
1792
|
-
|
1793
|
-
)
|
1794
|
-
)
|
1795
|
-
.void
|
1941
|
+
employer_contributions:
|
1942
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions::OrHash
|
1943
|
+
).void
|
1796
1944
|
end
|
1797
1945
|
attr_writer :employer_contributions
|
1798
1946
|
|
@@ -1823,7 +1971,7 @@ module FinchAPI
|
|
1823
1971
|
sig do
|
1824
1972
|
returns(
|
1825
1973
|
T.nilable(
|
1826
|
-
FinchAPI::
|
1974
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes
|
1827
1975
|
)
|
1828
1976
|
)
|
1829
1977
|
end
|
@@ -1831,12 +1979,9 @@ module FinchAPI
|
|
1831
1979
|
|
1832
1980
|
sig do
|
1833
1981
|
params(
|
1834
|
-
taxes:
|
1835
|
-
FinchAPI::
|
1836
|
-
|
1837
|
-
)
|
1838
|
-
)
|
1839
|
-
.void
|
1982
|
+
taxes:
|
1983
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes::OrHash
|
1984
|
+
).void
|
1840
1985
|
end
|
1841
1986
|
attr_writer :taxes
|
1842
1987
|
|
@@ -1854,30 +1999,21 @@ module FinchAPI
|
|
1854
1999
|
|
1855
2000
|
sig do
|
1856
2001
|
params(
|
1857
|
-
earnings:
|
1858
|
-
FinchAPI::
|
1859
|
-
|
1860
|
-
|
1861
|
-
|
1862
|
-
FinchAPI::
|
1863
|
-
FinchAPI::Internal::AnyHash
|
1864
|
-
),
|
1865
|
-
employer_contributions: T.any(
|
1866
|
-
FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions,
|
1867
|
-
FinchAPI::Internal::AnyHash
|
1868
|
-
),
|
2002
|
+
earnings:
|
2003
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings::OrHash,
|
2004
|
+
employee_deductions:
|
2005
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions::OrHash,
|
2006
|
+
employer_contributions:
|
2007
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions::OrHash,
|
1869
2008
|
gross_pay: T::Boolean,
|
1870
2009
|
individual_id: T::Boolean,
|
1871
2010
|
net_pay: T::Boolean,
|
1872
2011
|
payment_method: T::Boolean,
|
1873
|
-
taxes:
|
1874
|
-
FinchAPI::
|
1875
|
-
FinchAPI::Internal::AnyHash
|
1876
|
-
),
|
2012
|
+
taxes:
|
2013
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes::OrHash,
|
1877
2014
|
total_hours: T::Boolean,
|
1878
2015
|
type: T::Boolean
|
1879
|
-
)
|
1880
|
-
.returns(T.attached_class)
|
2016
|
+
).returns(T.attached_class)
|
1881
2017
|
end
|
1882
2018
|
def self.new(
|
1883
2019
|
earnings: nil,
|
@@ -1890,27 +2026,38 @@ module FinchAPI
|
|
1890
2026
|
taxes: nil,
|
1891
2027
|
total_hours: nil,
|
1892
2028
|
type: nil
|
1893
|
-
)
|
2029
|
+
)
|
2030
|
+
end
|
2031
|
+
|
1894
2032
|
sig do
|
1895
|
-
override
|
1896
|
-
|
1897
|
-
|
1898
|
-
|
1899
|
-
|
1900
|
-
|
1901
|
-
|
1902
|
-
|
1903
|
-
|
1904
|
-
|
1905
|
-
|
1906
|
-
|
1907
|
-
|
1908
|
-
|
1909
|
-
|
2033
|
+
override.returns(
|
2034
|
+
{
|
2035
|
+
earnings:
|
2036
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings,
|
2037
|
+
employee_deductions:
|
2038
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions,
|
2039
|
+
employer_contributions:
|
2040
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions,
|
2041
|
+
gross_pay: T::Boolean,
|
2042
|
+
individual_id: T::Boolean,
|
2043
|
+
net_pay: T::Boolean,
|
2044
|
+
payment_method: T::Boolean,
|
2045
|
+
taxes:
|
2046
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes,
|
2047
|
+
total_hours: T::Boolean,
|
2048
|
+
type: T::Boolean
|
2049
|
+
}
|
2050
|
+
)
|
2051
|
+
end
|
2052
|
+
def to_hash
|
1910
2053
|
end
|
1911
|
-
def to_hash; end
|
1912
2054
|
|
1913
2055
|
class Earnings < FinchAPI::Internal::Type::BaseModel
|
2056
|
+
OrHash =
|
2057
|
+
T.type_alias do
|
2058
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
2059
|
+
end
|
2060
|
+
|
1914
2061
|
sig { returns(T.nilable(T::Boolean)) }
|
1915
2062
|
attr_reader :amount
|
1916
2063
|
|
@@ -1936,10 +2083,15 @@ module FinchAPI
|
|
1936
2083
|
attr_writer :type
|
1937
2084
|
|
1938
2085
|
sig do
|
1939
|
-
params(
|
1940
|
-
|
2086
|
+
params(
|
2087
|
+
amount: T::Boolean,
|
2088
|
+
currency: T::Boolean,
|
2089
|
+
name: T::Boolean,
|
2090
|
+
type: T::Boolean
|
2091
|
+
).returns(T.attached_class)
|
2092
|
+
end
|
2093
|
+
def self.new(amount: nil, currency: nil, name: nil, type: nil)
|
1941
2094
|
end
|
1942
|
-
def self.new(amount: nil, currency: nil, name: nil, type: nil); end
|
1943
2095
|
|
1944
2096
|
sig do
|
1945
2097
|
override.returns(
|
@@ -1951,10 +2103,16 @@ module FinchAPI
|
|
1951
2103
|
}
|
1952
2104
|
)
|
1953
2105
|
end
|
1954
|
-
def to_hash
|
2106
|
+
def to_hash
|
2107
|
+
end
|
1955
2108
|
end
|
1956
2109
|
|
1957
2110
|
class EmployeeDeductions < FinchAPI::Internal::Type::BaseModel
|
2111
|
+
OrHash =
|
2112
|
+
T.type_alias do
|
2113
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
2114
|
+
end
|
2115
|
+
|
1958
2116
|
sig { returns(T.nilable(T::Boolean)) }
|
1959
2117
|
attr_reader :amount
|
1960
2118
|
|
@@ -1992,27 +2150,38 @@ module FinchAPI
|
|
1992
2150
|
name: T::Boolean,
|
1993
2151
|
pre_tax: T::Boolean,
|
1994
2152
|
type: T::Boolean
|
1995
|
-
)
|
1996
|
-
|
2153
|
+
).returns(T.attached_class)
|
2154
|
+
end
|
2155
|
+
def self.new(
|
2156
|
+
amount: nil,
|
2157
|
+
currency: nil,
|
2158
|
+
name: nil,
|
2159
|
+
pre_tax: nil,
|
2160
|
+
type: nil
|
2161
|
+
)
|
1997
2162
|
end
|
1998
|
-
def self.new(amount: nil, currency: nil, name: nil, pre_tax: nil, type: nil); end
|
1999
2163
|
|
2000
2164
|
sig do
|
2001
|
-
override
|
2002
|
-
|
2003
|
-
|
2004
|
-
|
2005
|
-
|
2006
|
-
|
2007
|
-
|
2008
|
-
|
2009
|
-
|
2010
|
-
|
2165
|
+
override.returns(
|
2166
|
+
{
|
2167
|
+
amount: T::Boolean,
|
2168
|
+
currency: T::Boolean,
|
2169
|
+
name: T::Boolean,
|
2170
|
+
pre_tax: T::Boolean,
|
2171
|
+
type: T::Boolean
|
2172
|
+
}
|
2173
|
+
)
|
2174
|
+
end
|
2175
|
+
def to_hash
|
2011
2176
|
end
|
2012
|
-
def to_hash; end
|
2013
2177
|
end
|
2014
2178
|
|
2015
2179
|
class EmployerContributions < FinchAPI::Internal::Type::BaseModel
|
2180
|
+
OrHash =
|
2181
|
+
T.type_alias do
|
2182
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
2183
|
+
end
|
2184
|
+
|
2016
2185
|
sig { returns(T.nilable(T::Boolean)) }
|
2017
2186
|
attr_reader :amount
|
2018
2187
|
|
@@ -2038,13 +2207,28 @@ module FinchAPI
|
|
2038
2207
|
name: T::Boolean
|
2039
2208
|
).returns(T.attached_class)
|
2040
2209
|
end
|
2041
|
-
def self.new(amount: nil, currency: nil, name: nil)
|
2210
|
+
def self.new(amount: nil, currency: nil, name: nil)
|
2211
|
+
end
|
2042
2212
|
|
2043
|
-
sig
|
2044
|
-
|
2213
|
+
sig do
|
2214
|
+
override.returns(
|
2215
|
+
{
|
2216
|
+
amount: T::Boolean,
|
2217
|
+
currency: T::Boolean,
|
2218
|
+
name: T::Boolean
|
2219
|
+
}
|
2220
|
+
)
|
2221
|
+
end
|
2222
|
+
def to_hash
|
2223
|
+
end
|
2045
2224
|
end
|
2046
2225
|
|
2047
2226
|
class Taxes < FinchAPI::Internal::Type::BaseModel
|
2227
|
+
OrHash =
|
2228
|
+
T.type_alias do
|
2229
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
2230
|
+
end
|
2231
|
+
|
2048
2232
|
sig { returns(T.nilable(T::Boolean)) }
|
2049
2233
|
attr_reader :amount
|
2050
2234
|
|
@@ -2082,29 +2266,38 @@ module FinchAPI
|
|
2082
2266
|
employer: T::Boolean,
|
2083
2267
|
name: T::Boolean,
|
2084
2268
|
type: T::Boolean
|
2085
|
-
)
|
2086
|
-
|
2269
|
+
).returns(T.attached_class)
|
2270
|
+
end
|
2271
|
+
def self.new(
|
2272
|
+
amount: nil,
|
2273
|
+
currency: nil,
|
2274
|
+
employer: nil,
|
2275
|
+
name: nil,
|
2276
|
+
type: nil
|
2277
|
+
)
|
2087
2278
|
end
|
2088
|
-
def self.new(amount: nil, currency: nil, employer: nil, name: nil, type: nil); end
|
2089
2279
|
|
2090
2280
|
sig do
|
2091
|
-
override
|
2092
|
-
|
2093
|
-
|
2094
|
-
|
2095
|
-
|
2096
|
-
|
2097
|
-
|
2098
|
-
|
2099
|
-
|
2100
|
-
|
2281
|
+
override.returns(
|
2282
|
+
{
|
2283
|
+
amount: T::Boolean,
|
2284
|
+
currency: T::Boolean,
|
2285
|
+
employer: T::Boolean,
|
2286
|
+
name: T::Boolean,
|
2287
|
+
type: T::Boolean
|
2288
|
+
}
|
2289
|
+
)
|
2290
|
+
end
|
2291
|
+
def to_hash
|
2101
2292
|
end
|
2102
|
-
def to_hash; end
|
2103
2293
|
end
|
2104
2294
|
end
|
2105
2295
|
end
|
2106
2296
|
|
2107
2297
|
class Payment < FinchAPI::Internal::Type::BaseModel
|
2298
|
+
OrHash =
|
2299
|
+
T.type_alias { T.any(T.self_type, FinchAPI::Internal::AnyHash) }
|
2300
|
+
|
2108
2301
|
sig { returns(T.nilable(T::Boolean)) }
|
2109
2302
|
attr_reader :id
|
2110
2303
|
|
@@ -2174,7 +2367,7 @@ module FinchAPI
|
|
2174
2367
|
sig do
|
2175
2368
|
returns(
|
2176
2369
|
T.nilable(
|
2177
|
-
FinchAPI::
|
2370
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment::PayPeriod
|
2178
2371
|
)
|
2179
2372
|
)
|
2180
2373
|
end
|
@@ -2182,12 +2375,9 @@ module FinchAPI
|
|
2182
2375
|
|
2183
2376
|
sig do
|
2184
2377
|
params(
|
2185
|
-
pay_period:
|
2186
|
-
FinchAPI::
|
2187
|
-
|
2188
|
-
)
|
2189
|
-
)
|
2190
|
-
.void
|
2378
|
+
pay_period:
|
2379
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment::PayPeriod::OrHash
|
2380
|
+
).void
|
2191
2381
|
end
|
2192
2382
|
attr_writer :pay_period
|
2193
2383
|
|
@@ -2204,12 +2394,9 @@ module FinchAPI
|
|
2204
2394
|
pay_date: T::Boolean,
|
2205
2395
|
pay_frequencies: T::Boolean,
|
2206
2396
|
pay_group_ids: T::Boolean,
|
2207
|
-
pay_period:
|
2208
|
-
FinchAPI::
|
2209
|
-
|
2210
|
-
)
|
2211
|
-
)
|
2212
|
-
.returns(T.attached_class)
|
2397
|
+
pay_period:
|
2398
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment::PayPeriod::OrHash
|
2399
|
+
).returns(T.attached_class)
|
2213
2400
|
end
|
2214
2401
|
def self.new(
|
2215
2402
|
id: nil,
|
@@ -2224,29 +2411,37 @@ module FinchAPI
|
|
2224
2411
|
pay_frequencies: nil,
|
2225
2412
|
pay_group_ids: nil,
|
2226
2413
|
pay_period: nil
|
2227
|
-
)
|
2414
|
+
)
|
2415
|
+
end
|
2416
|
+
|
2228
2417
|
sig do
|
2229
|
-
override
|
2230
|
-
|
2231
|
-
|
2232
|
-
|
2233
|
-
|
2234
|
-
|
2235
|
-
|
2236
|
-
|
2237
|
-
|
2238
|
-
|
2239
|
-
|
2240
|
-
|
2241
|
-
|
2242
|
-
|
2243
|
-
|
2244
|
-
|
2245
|
-
|
2418
|
+
override.returns(
|
2419
|
+
{
|
2420
|
+
id: T::Boolean,
|
2421
|
+
company_debit: T::Boolean,
|
2422
|
+
debit_date: T::Boolean,
|
2423
|
+
employee_taxes: T::Boolean,
|
2424
|
+
employer_taxes: T::Boolean,
|
2425
|
+
gross_pay: T::Boolean,
|
2426
|
+
individual_ids: T::Boolean,
|
2427
|
+
net_pay: T::Boolean,
|
2428
|
+
pay_date: T::Boolean,
|
2429
|
+
pay_frequencies: T::Boolean,
|
2430
|
+
pay_group_ids: T::Boolean,
|
2431
|
+
pay_period:
|
2432
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment::PayPeriod
|
2433
|
+
}
|
2434
|
+
)
|
2435
|
+
end
|
2436
|
+
def to_hash
|
2246
2437
|
end
|
2247
|
-
def to_hash; end
|
2248
2438
|
|
2249
2439
|
class PayPeriod < FinchAPI::Internal::Type::BaseModel
|
2440
|
+
OrHash =
|
2441
|
+
T.type_alias do
|
2442
|
+
T.any(T.self_type, FinchAPI::Internal::AnyHash)
|
2443
|
+
end
|
2444
|
+
|
2250
2445
|
sig { returns(T.nilable(T::Boolean)) }
|
2251
2446
|
attr_reader :end_date
|
2252
2447
|
|
@@ -2259,11 +2454,21 @@ module FinchAPI
|
|
2259
2454
|
sig { params(start_date: T::Boolean).void }
|
2260
2455
|
attr_writer :start_date
|
2261
2456
|
|
2262
|
-
sig
|
2263
|
-
|
2457
|
+
sig do
|
2458
|
+
params(end_date: T::Boolean, start_date: T::Boolean).returns(
|
2459
|
+
T.attached_class
|
2460
|
+
)
|
2461
|
+
end
|
2462
|
+
def self.new(end_date: nil, start_date: nil)
|
2463
|
+
end
|
2264
2464
|
|
2265
|
-
sig
|
2266
|
-
|
2465
|
+
sig do
|
2466
|
+
override.returns(
|
2467
|
+
{ end_date: T::Boolean, start_date: T::Boolean }
|
2468
|
+
)
|
2469
|
+
end
|
2470
|
+
def to_hash
|
2471
|
+
end
|
2267
2472
|
end
|
2268
2473
|
end
|
2269
2474
|
end
|
@@ -2273,28 +2478,49 @@ module FinchAPI
|
|
2273
2478
|
extend FinchAPI::Internal::Type::Enum
|
2274
2479
|
|
2275
2480
|
TaggedSymbol =
|
2276
|
-
T.type_alias
|
2481
|
+
T.type_alias do
|
2482
|
+
T.all(
|
2483
|
+
Symbol,
|
2484
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::Type
|
2485
|
+
)
|
2486
|
+
end
|
2277
2487
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2278
2488
|
|
2279
2489
|
ASSISTED =
|
2280
|
-
T.let(
|
2490
|
+
T.let(
|
2491
|
+
:assisted,
|
2492
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::Type::TaggedSymbol
|
2493
|
+
)
|
2281
2494
|
CREDENTIAL =
|
2282
|
-
T.let(
|
2495
|
+
T.let(
|
2496
|
+
:credential,
|
2497
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::Type::TaggedSymbol
|
2498
|
+
)
|
2283
2499
|
API_TOKEN =
|
2284
|
-
T.let(
|
2500
|
+
T.let(
|
2501
|
+
:api_token,
|
2502
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::Type::TaggedSymbol
|
2503
|
+
)
|
2285
2504
|
API_CREDENTIAL =
|
2286
2505
|
T.let(
|
2287
2506
|
:api_credential,
|
2288
|
-
FinchAPI::
|
2507
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::Type::TaggedSymbol
|
2289
2508
|
)
|
2290
2509
|
OAUTH =
|
2291
|
-
T.let(
|
2510
|
+
T.let(
|
2511
|
+
:oauth,
|
2512
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::Type::TaggedSymbol
|
2513
|
+
)
|
2292
2514
|
|
2293
2515
|
sig do
|
2294
|
-
override
|
2295
|
-
|
2516
|
+
override.returns(
|
2517
|
+
T::Array[
|
2518
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::Type::TaggedSymbol
|
2519
|
+
]
|
2520
|
+
)
|
2521
|
+
end
|
2522
|
+
def self.values
|
2296
2523
|
end
|
2297
|
-
def self.values; end
|
2298
2524
|
end
|
2299
2525
|
end
|
2300
2526
|
end
|
@@ -2302,14 +2528,25 @@ module FinchAPI
|
|
2302
2528
|
module EventType
|
2303
2529
|
extend FinchAPI::Internal::Type::Enum
|
2304
2530
|
|
2305
|
-
TaggedSymbol =
|
2531
|
+
TaggedSymbol =
|
2532
|
+
T.type_alias do
|
2533
|
+
T.all(Symbol, FinchAPI::AccountUpdateEvent::EventType)
|
2534
|
+
end
|
2306
2535
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2307
2536
|
|
2308
2537
|
ACCOUNT_UPDATED =
|
2309
|
-
T.let(
|
2538
|
+
T.let(
|
2539
|
+
:"account.updated",
|
2540
|
+
FinchAPI::AccountUpdateEvent::EventType::TaggedSymbol
|
2541
|
+
)
|
2310
2542
|
|
2311
|
-
sig
|
2312
|
-
|
2543
|
+
sig do
|
2544
|
+
override.returns(
|
2545
|
+
T::Array[FinchAPI::AccountUpdateEvent::EventType::TaggedSymbol]
|
2546
|
+
)
|
2547
|
+
end
|
2548
|
+
def self.values
|
2549
|
+
end
|
2313
2550
|
end
|
2314
2551
|
end
|
2315
2552
|
end
|