nordlet 0.6.11 → 0.7.0
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/lib/nordlet/account/client.rb +13 -7
- data/lib/nordlet/account/types/companies_context_account_response_profile.rb +11 -1
- data/lib/nordlet/account/types/companies_context_account_response_profile_address.rb +2 -0
- data/lib/nordlet/account/types/companies_context_account_response_profile_fiscal_year_week_rule.rb +14 -0
- data/lib/nordlet/account/types/companies_create_account_request.rb +10 -0
- data/lib/nordlet/account/types/companies_create_account_request_address.rb +2 -0
- data/lib/nordlet/account/types/companies_create_account_request_country_code.rb +4 -221
- data/lib/nordlet/account/types/companies_create_account_request_fiscal_year_week_rule.rb +14 -0
- data/lib/nordlet/account/types/companies_profile_account_response.rb +11 -1
- data/lib/nordlet/account/types/companies_profile_account_response_address.rb +2 -0
- data/lib/nordlet/account/types/companies_profile_account_response_fiscal_year_week_rule.rb +14 -0
- data/lib/nordlet/account/types/companies_update_account_request.rb +10 -0
- data/lib/nordlet/account/types/companies_update_account_request_address.rb +2 -0
- data/lib/nordlet/account/types/companies_update_account_request_fiscal_year_week_rule.rb +14 -0
- data/lib/nordlet/account/types/companies_update_account_response.rb +11 -1
- data/lib/nordlet/account/types/companies_update_account_response_address.rb +2 -0
- data/lib/nordlet/account/types/companies_update_account_response_fiscal_year_week_rule.rb +14 -0
- data/lib/nordlet/bank/client.rb +96 -27
- data/lib/nordlet/bank/types/accounts_create_bank_request.rb +6 -0
- data/lib/nordlet/bank/types/accounts_create_bank_request_payment_file_settings.rb +27 -0
- data/lib/nordlet/bank/types/accounts_create_bank_response.rb +6 -0
- data/lib/nordlet/bank/types/accounts_create_bank_response_payment_file_settings.rb +25 -0
- data/lib/nordlet/bank/types/accounts_list_bank_response_rows_item.rb +6 -0
- data/lib/nordlet/bank/types/accounts_list_bank_response_rows_item_payment_file_settings.rb +25 -0
- data/lib/nordlet/bank/types/accounts_update_bank_request.rb +6 -0
- data/lib/nordlet/bank/types/accounts_update_bank_request_payment_file_settings.rb +27 -0
- data/lib/nordlet/bank/types/accounts_update_bank_response.rb +6 -0
- data/lib/nordlet/bank/types/accounts_update_bank_response_payment_file_settings.rb +25 -0
- data/lib/nordlet/bank/types/direct_debits_export_bank_response.rb +7 -1
- data/lib/nordlet/bank/types/direct_debits_export_bank_response_format.rb +16 -0
- data/lib/nordlet/bank/types/mandates_auddis_export_bank_request.rb +15 -0
- data/lib/nordlet/bank/types/mandates_auddis_export_bank_response.rb +29 -0
- data/lib/nordlet/bank/types/mandates_auddis_export_bank_response_format.rb +16 -0
- data/lib/nordlet/bank/types/mandates_cancel_bank_response.rb +12 -2
- data/lib/nordlet/bank/types/mandates_cancel_bank_response_account_type.rb +14 -0
- data/lib/nordlet/bank/types/mandates_cancel_bank_response_scheme.rb +3 -0
- data/lib/nordlet/bank/types/mandates_create_bank_request.rb +7 -1
- data/lib/nordlet/bank/types/mandates_create_bank_request_account_type.rb +14 -0
- data/lib/nordlet/bank/types/mandates_create_bank_request_scheme.rb +3 -0
- data/lib/nordlet/bank/types/mandates_create_bank_response.rb +12 -2
- data/lib/nordlet/bank/types/mandates_create_bank_response_account_type.rb +14 -0
- data/lib/nordlet/bank/types/mandates_create_bank_response_scheme.rb +3 -0
- data/lib/nordlet/bank/types/mandates_get_bank_response.rb +12 -2
- data/lib/nordlet/bank/types/mandates_get_bank_response_account_type.rb +14 -0
- data/lib/nordlet/bank/types/mandates_get_bank_response_scheme.rb +3 -0
- data/lib/nordlet/bank/types/mandates_list_bank_response_rows_item.rb +12 -2
- data/lib/nordlet/bank/types/mandates_list_bank_response_rows_item_account_type.rb +14 -0
- data/lib/nordlet/bank/types/mandates_list_bank_response_rows_item_scheme.rb +3 -0
- data/lib/nordlet/bank/types/mandates_update_bank_response.rb +12 -2
- data/lib/nordlet/bank/types/mandates_update_bank_response_account_type.rb +14 -0
- data/lib/nordlet/bank/types/mandates_update_bank_response_scheme.rb +3 -0
- data/lib/nordlet/bank/types/payments_export_bank_response.rb +5 -1
- data/lib/nordlet/bank/types/payments_export_bank_response_format.rb +16 -0
- data/lib/nordlet/calendar/client.rb +2 -1
- data/lib/nordlet/calendar/types/submit_calendar_request.rb +2 -0
- data/lib/nordlet/calendar/types/submit_calendar_request_device.rb +22 -0
- data/lib/nordlet/calendar/types/submit_calendar_request_device_screens_item.rb +17 -0
- data/lib/nordlet/calendar/types/submit_calendar_request_device_window_size.rb +13 -0
- data/lib/nordlet/catalog/client.rb +4 -3
- data/lib/nordlet/declarations/client.rb +642 -3
- data/lib/nordlet/declarations/types/configs_list_declarations_response_rows_item_fields_item.rb +1 -1
- data/lib/nordlet/declarations/types/configs_update_declarations_response_fields_item.rb +1 -1
- data/lib/nordlet/declarations/types/gb_corporation_tax_compute_declarations_request.rb +21 -0
- data/lib/nordlet/declarations/types/gb_corporation_tax_compute_declarations_response.rb +29 -0
- data/lib/nordlet/declarations/types/gb_corporation_tax_compute_declarations_response_parts_item.rb +33 -0
- data/lib/nordlet/declarations/types/gb_corporation_tax_compute_declarations_response_parts_item_rate.rb +15 -0
- data/lib/nordlet/declarations/types/gb_hmrc_authorize_url_get_declarations_request.rb +9 -0
- data/lib/nordlet/declarations/types/gb_hmrc_authorize_url_get_declarations_response.rb +11 -0
- data/lib/nordlet/declarations/types/gb_hmrc_connect_declarations_request.rb +13 -0
- data/lib/nordlet/declarations/types/gb_hmrc_connect_declarations_response.rb +11 -0
- data/lib/nordlet/declarations/types/gb_vat_liabilities_list_declarations_request.rb +15 -0
- data/lib/nordlet/declarations/types/gb_vat_liabilities_list_declarations_request_device.rb +22 -0
- data/lib/nordlet/declarations/types/gb_vat_liabilities_list_declarations_request_device_screens_item.rb +17 -0
- data/lib/nordlet/declarations/types/gb_vat_liabilities_list_declarations_request_device_window_size.rb +13 -0
- data/lib/nordlet/declarations/types/gb_vat_liabilities_list_declarations_response.rb +11 -0
- data/lib/nordlet/declarations/types/gb_vat_liabilities_list_declarations_response_liabilities_item.rb +19 -0
- data/lib/nordlet/declarations/types/gb_vat_liabilities_list_declarations_response_liabilities_item_tax_period.rb +13 -0
- data/lib/nordlet/declarations/types/gb_vat_obligations_list_declarations_request.rb +17 -0
- data/lib/nordlet/declarations/types/gb_vat_obligations_list_declarations_request_device.rb +22 -0
- data/lib/nordlet/declarations/types/gb_vat_obligations_list_declarations_request_device_screens_item.rb +17 -0
- data/lib/nordlet/declarations/types/gb_vat_obligations_list_declarations_request_device_window_size.rb +13 -0
- data/lib/nordlet/declarations/types/{configs_update_declarations_response_fields_item_company_field.rb → gb_vat_obligations_list_declarations_request_status.rb} +3 -3
- data/lib/nordlet/declarations/types/gb_vat_obligations_list_declarations_response.rb +11 -0
- data/lib/nordlet/declarations/types/gb_vat_obligations_list_declarations_response_obligations_item.rb +21 -0
- data/lib/nordlet/declarations/types/{configs_list_declarations_response_rows_item_fields_item_company_field.rb → gb_vat_obligations_list_declarations_response_obligations_item_status.rb} +3 -3
- data/lib/nordlet/declarations/types/gb_vat_payments_list_declarations_request.rb +15 -0
- data/lib/nordlet/declarations/types/gb_vat_payments_list_declarations_request_device.rb +22 -0
- data/lib/nordlet/declarations/types/gb_vat_payments_list_declarations_request_device_screens_item.rb +17 -0
- data/lib/nordlet/declarations/types/gb_vat_payments_list_declarations_request_device_window_size.rb +13 -0
- data/lib/nordlet/declarations/types/gb_vat_payments_list_declarations_response.rb +11 -0
- data/lib/nordlet/declarations/types/gb_vat_payments_list_declarations_response_payments_item.rb +13 -0
- data/lib/nordlet/declarations/types/gb_vat_penalties_get_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/gb_vat_penalties_get_declarations_request_device.rb +22 -0
- data/lib/nordlet/declarations/types/gb_vat_penalties_get_declarations_request_device_screens_item.rb +17 -0
- data/lib/nordlet/declarations/types/gb_vat_penalties_get_declarations_request_device_window_size.rb +13 -0
- data/lib/nordlet/declarations/types/gb_vat_returns_get_declarations_request.rb +13 -0
- data/lib/nordlet/declarations/types/gb_vat_returns_get_declarations_request_device.rb +22 -0
- data/lib/nordlet/declarations/types/gb_vat_returns_get_declarations_request_device_screens_item.rb +17 -0
- data/lib/nordlet/declarations/types/gb_vat_returns_get_declarations_request_device_window_size.rb +13 -0
- data/lib/nordlet/declarations/types/gb_vat_returns_get_declarations_response.rb +29 -0
- data/lib/nordlet/declarations/types/us940get_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/us940get_declarations_response.rb +31 -0
- data/lib/nordlet/declarations/types/us940get_declarations_response_part5.rb +13 -0
- data/lib/nordlet/declarations/types/us941get_declarations_request.rb +15 -0
- data/lib/nordlet/declarations/types/us941get_declarations_response.rb +47 -0
- data/lib/nordlet/declarations/types/us941get_declarations_response_line16.rb +13 -0
- data/lib/nordlet/declarations/types/us941get_declarations_response_line16months_item.rb +13 -0
- data/lib/nordlet/declarations/types/us941get_declarations_response_line5a.rb +13 -0
- data/lib/nordlet/declarations/types/us941get_declarations_response_line5c.rb +13 -0
- data/lib/nordlet/declarations/types/us941get_declarations_response_line5d.rb +13 -0
- data/lib/nordlet/declarations/types/us941get_declarations_response_schedule_b_item.rb +13 -0
- data/lib/nordlet/declarations/types/us_de_franchise_tax_compute_declarations_request.rb +17 -0
- data/lib/nordlet/declarations/types/us_de_franchise_tax_compute_declarations_request_authorized_shares_item.rb +13 -0
- data/lib/nordlet/declarations/types/us_de_franchise_tax_compute_declarations_response.rb +27 -0
- data/lib/nordlet/declarations/types/us_de_franchise_tax_compute_declarations_response_method.rb +15 -0
- data/lib/nordlet/declarations/types/us_de_gross_receipts_get_declarations_request.rb +15 -0
- data/lib/nordlet/declarations/types/us_de_gross_receipts_get_declarations_request_activity.rb +24 -0
- data/lib/nordlet/declarations/types/us_de_gross_receipts_get_declarations_response.rb +29 -0
- data/lib/nordlet/declarations/types/us_de_unemployment_get_declarations_request.rb +13 -0
- data/lib/nordlet/declarations/types/us_de_unemployment_get_declarations_response.rb +23 -0
- data/lib/nordlet/declarations/types/us_de_unemployment_get_declarations_response_employees_item.rb +19 -0
- data/lib/nordlet/declarations/types/us_de_withholding_get_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/us_de_withholding_get_declarations_response.rb +19 -0
- data/lib/nordlet/declarations/types/us_state_sales_get_declarations_request.rb +13 -0
- data/lib/nordlet/declarations/types/us_state_sales_get_declarations_response.rb +21 -0
- data/lib/nordlet/declarations/types/us_state_sales_get_declarations_response_outside_us.rb +13 -0
- data/lib/nordlet/declarations/types/us_state_sales_get_declarations_response_states_item.rb +15 -0
- data/lib/nordlet/declarations/types/us_state_sales_get_declarations_response_without_state.rb +13 -0
- data/lib/nordlet/declarations/types/us_w2list_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/us_w2list_declarations_response.rb +15 -0
- data/lib/nordlet/declarations/types/us_w2list_declarations_response_forms_item.rb +29 -0
- data/lib/nordlet/declarations/types/us_w2list_declarations_response_forms_item_box_e.rb +13 -0
- data/lib/nordlet/declarations/types/us_w2list_declarations_response_forms_item_states_item.rb +15 -0
- data/lib/nordlet/declarations/types/us_w2list_declarations_response_forms_item_states_item_box15.rb +13 -0
- data/lib/nordlet/declarations/types/us_w2list_declarations_response_w3.rb +31 -0
- data/lib/nordlet/declarations/types/us_workweeks_list_declarations_request.rb +15 -0
- data/lib/nordlet/declarations/types/us_workweeks_list_declarations_response.rb +17 -0
- data/lib/nordlet/declarations/types/us_workweeks_list_declarations_response_employees_item.rb +21 -0
- data/lib/nordlet/declarations/types/us_workweeks_list_declarations_response_employees_item_weeks_item.rb +19 -0
- data/lib/nordlet/declarations/types/us_workweeks_list_declarations_response_employees_item_weeks_item_days_item.rb +13 -0
- data/lib/nordlet/hr/client.rb +6 -5
- data/lib/nordlet/hr/types/contracts_create_hr_request.rb +2 -0
- data/lib/nordlet/hr/types/contracts_create_hr_request_pay_frequency.rb +17 -0
- data/lib/nordlet/hr/types/contracts_create_hr_response.rb +2 -0
- data/lib/nordlet/hr/types/contracts_create_hr_response_pay_frequency.rb +17 -0
- data/lib/nordlet/hr/types/contracts_end_hr_response.rb +2 -0
- data/lib/nordlet/hr/types/contracts_end_hr_response_pay_frequency.rb +17 -0
- data/lib/nordlet/hr/types/contracts_list_hr_response_rows_item.rb +2 -0
- data/lib/nordlet/hr/types/contracts_list_hr_response_rows_item_pay_frequency.rb +17 -0
- data/lib/nordlet/hr/types/employees_anonymize_hr_response.rb +6 -0
- data/lib/nordlet/hr/types/employees_anonymize_hr_response_address.rb +2 -0
- data/lib/nordlet/hr/types/employees_anonymize_hr_response_bank_account_type.rb +14 -0
- data/lib/nordlet/hr/types/employees_create_hr_request.rb +6 -0
- data/lib/nordlet/hr/types/employees_create_hr_request_address.rb +2 -0
- data/lib/nordlet/hr/types/employees_create_hr_request_bank_account_type.rb +14 -0
- data/lib/nordlet/hr/types/employees_create_hr_response.rb +6 -0
- data/lib/nordlet/hr/types/employees_create_hr_response_address.rb +2 -0
- data/lib/nordlet/hr/types/employees_create_hr_response_bank_account_type.rb +14 -0
- data/lib/nordlet/hr/types/employees_get_hr_response.rb +6 -0
- data/lib/nordlet/hr/types/employees_get_hr_response_address.rb +2 -0
- data/lib/nordlet/hr/types/employees_get_hr_response_bank_account_type.rb +14 -0
- data/lib/nordlet/hr/types/employees_list_hr_response_rows_item.rb +6 -0
- data/lib/nordlet/hr/types/employees_list_hr_response_rows_item_address.rb +2 -0
- data/lib/nordlet/hr/types/employees_list_hr_response_rows_item_bank_account_type.rb +14 -0
- data/lib/nordlet/hr/types/employees_update_hr_request.rb +6 -0
- data/lib/nordlet/hr/types/employees_update_hr_request_address.rb +2 -0
- data/lib/nordlet/hr/types/employees_update_hr_request_bank_account_type.rb +14 -0
- data/lib/nordlet/hr/types/employees_update_hr_response.rb +6 -0
- data/lib/nordlet/hr/types/employees_update_hr_response_address.rb +2 -0
- data/lib/nordlet/hr/types/employees_update_hr_response_bank_account_type.rb +14 -0
- data/lib/nordlet/partners/client.rb +58 -14
- data/lib/nordlet/partners/types/bank_accounts_create_partners_request.rb +7 -1
- data/lib/nordlet/partners/types/bank_accounts_create_partners_request_account_type.rb +14 -0
- data/lib/nordlet/partners/types/bank_accounts_create_partners_response.rb +7 -1
- data/lib/nordlet/partners/types/bank_accounts_create_partners_response_account_type.rb +14 -0
- data/lib/nordlet/partners/types/bank_accounts_list_partners_response_rows_item.rb +7 -1
- data/lib/nordlet/partners/types/bank_accounts_list_partners_response_rows_item_account_type.rb +14 -0
- data/lib/nordlet/partners/types/bank_accounts_update_partners_request.rb +6 -0
- data/lib/nordlet/partners/types/bank_accounts_update_partners_request_account_type.rb +14 -0
- data/lib/nordlet/partners/types/bank_accounts_update_partners_response.rb +7 -1
- data/lib/nordlet/partners/types/bank_accounts_update_partners_response_account_type.rb +14 -0
- data/lib/nordlet/partners/types/companies_house_get_partners_request.rb +11 -0
- data/lib/nordlet/partners/types/companies_house_get_partners_response.rb +33 -0
- data/lib/nordlet/partners/types/companies_house_get_partners_response_accounting_reference_date.rb +13 -0
- data/lib/nordlet/partners/types/companies_house_get_partners_response_address.rb +21 -0
- data/lib/nordlet/partners/types/companies_house_get_partners_response_address_country_code.rb +13 -0
- data/lib/nordlet/partners/types/create_partners_request.rb +2 -0
- data/lib/nordlet/partners/types/create_partners_request_address.rb +2 -0
- data/lib/nordlet/partners/types/create_partners_request_correspondence_address.rb +2 -0
- data/lib/nordlet/partners/types/create_partners_response.rb +2 -0
- data/lib/nordlet/partners/types/create_partners_response_address.rb +2 -0
- data/lib/nordlet/partners/types/create_partners_response_correspondence_address.rb +2 -0
- data/lib/nordlet/partners/types/find_or_create_partners_request.rb +2 -0
- data/lib/nordlet/partners/types/find_or_create_partners_request_address.rb +2 -0
- data/lib/nordlet/partners/types/find_or_create_partners_request_correspondence_address.rb +2 -0
- data/lib/nordlet/partners/types/find_or_create_partners_response_partner.rb +2 -0
- data/lib/nordlet/partners/types/find_or_create_partners_response_partner_address.rb +2 -0
- data/lib/nordlet/partners/types/find_or_create_partners_response_partner_correspondence_address.rb +2 -0
- data/lib/nordlet/partners/types/get_partners_response.rb +2 -0
- data/lib/nordlet/partners/types/get_partners_response_address.rb +2 -0
- data/lib/nordlet/partners/types/get_partners_response_correspondence_address.rb +2 -0
- data/lib/nordlet/partners/types/list_partners_response_rows_item.rb +2 -0
- data/lib/nordlet/partners/types/list_partners_response_rows_item_address.rb +2 -0
- data/lib/nordlet/partners/types/list_partners_response_rows_item_correspondence_address.rb +2 -0
- data/lib/nordlet/partners/types/update_partners_request.rb +2 -0
- data/lib/nordlet/partners/types/update_partners_request_address.rb +2 -0
- data/lib/nordlet/partners/types/update_partners_request_correspondence_address.rb +2 -0
- data/lib/nordlet/partners/types/update_partners_response.rb +2 -0
- data/lib/nordlet/partners/types/update_partners_response_address.rb +2 -0
- data/lib/nordlet/partners/types/update_partners_response_correspondence_address.rb +2 -0
- data/lib/nordlet/payroll/client.rb +92 -37
- data/lib/nordlet/payroll/types/frequencies_list_payroll_request.rb +9 -0
- data/lib/nordlet/payroll/types/frequencies_list_payroll_response.rb +13 -0
- data/lib/nordlet/payroll/types/frequencies_list_payroll_response_frequencies_item.rb +17 -0
- data/lib/nordlet/payroll/types/payments_export_payroll_response.rb +5 -1
- data/lib/nordlet/payroll/types/payments_export_payroll_response_format.rb +16 -0
- data/lib/nordlet/payroll/types/runs_approve_payroll_request.rb +0 -4
- data/lib/nordlet/payroll/types/runs_approve_payroll_response.rb +10 -0
- data/lib/nordlet/payroll/types/runs_approve_payroll_response_frequency.rb +17 -0
- data/lib/nordlet/payroll/types/runs_create_payroll_request.rb +6 -2
- data/lib/nordlet/payroll/types/runs_create_payroll_request_frequency.rb +17 -0
- data/lib/nordlet/payroll/types/runs_create_payroll_response.rb +10 -0
- data/lib/nordlet/payroll/types/runs_create_payroll_response_frequency.rb +17 -0
- data/lib/nordlet/payroll/types/runs_get_payroll_response.rb +10 -0
- data/lib/nordlet/payroll/types/runs_get_payroll_response_frequency.rb +17 -0
- data/lib/nordlet/payroll/types/runs_list_payroll_response_rows_item.rb +10 -0
- data/lib/nordlet/payroll/types/runs_list_payroll_response_rows_item_frequency.rb +17 -0
- data/lib/nordlet/payroll/types/runs_reverse_payroll_response.rb +10 -0
- data/lib/nordlet/payroll/types/runs_reverse_payroll_response_frequency.rb +17 -0
- data/lib/nordlet/reference/client.rb +14 -8
- data/lib/nordlet/reference/types/exchange_rates_list_reference_response_rows_item.rb +2 -0
- data/lib/nordlet/reference/types/exchange_rates_sync_reference_response.rb +2 -0
- data/lib/nordlet/reference/types/vat_classifiers_list_reference_response_rows_item_scheme.rb +1 -0
- data/lib/nordlet/reference/types/vat_resolve_reference_response_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_request_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_request_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_apply_advance_sales_response_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_create_sales_request_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_create_sales_response_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_get_sales_response_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_issue_sales_response_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_list_sales_response_rows_item_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_lock_sales_response_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_unlock_sales_response_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_update_sales_request_vat_scheme.rb +1 -0
- data/lib/nordlet/sales/types/invoices_update_sales_response_vat_scheme.rb +1 -0
- data/lib/nordlet/version.rb +1 -1
- data/lib/nordlet.rb +133 -2
- data/reference.md +6936 -5110
- metadata +135 -4
|
@@ -282,8 +282,10 @@ module Nordlet
|
|
|
282
282
|
end
|
|
283
283
|
end
|
|
284
284
|
|
|
285
|
-
# Adds a bank account to the partner in `partnerId
|
|
286
|
-
#
|
|
285
|
+
# Adds a bank account to the partner in `partnerId`, identified by `iban` or, where the country has no IBAN, by
|
|
286
|
+
# `bankAccountNumber` with `bankCode` (sort code, routing number); one of them is required (422). The IBAN is
|
|
287
|
+
# stored without spaces in upper case and the bank code and account number without spaces and hyphens; an IBAN
|
|
288
|
+
# whose check digits fail (ISO 13616) is refused with 422 and an account the partner already has with 409. With
|
|
287
289
|
# `isDefault` true the partner's other accounts lose their default mark.
|
|
288
290
|
#
|
|
289
291
|
# @param request_options [Hash]
|
|
@@ -645,13 +647,16 @@ module Nordlet
|
|
|
645
647
|
end
|
|
646
648
|
end
|
|
647
649
|
|
|
648
|
-
# Checks a VAT number against VIES,
|
|
649
|
-
#
|
|
650
|
-
#
|
|
651
|
-
#
|
|
652
|
-
#
|
|
653
|
-
#
|
|
654
|
-
#
|
|
650
|
+
# Checks a VAT number against VIES, or a UK number (`GB` and 9 or 12 digits) with HMRC's Check a UK VAT number
|
|
651
|
+
# service, either a free `vatCode` or the VAT code of the partner in `partnerId` (exactly one of the two); a code
|
|
652
|
+
# without an EU country prefix and 2 to 12 alphanumeric characters or a UK prefix and 9 or 12 digits is refused
|
|
653
|
+
# with 422, as is a partner without a VAT code, and a VIES or HMRC outage, or a UK check that is not set up,
|
|
654
|
+
# answers 503. A UK check gives HMRC's consultation number as `requestIdentifier` when the company's own `vatCode`
|
|
655
|
+
# is a UK number HMRC knows. With a partner the outcome is written to it (`vatValid`, `vatValidatedAt`): an
|
|
656
|
+
# invalid number or a VIES name that shares no word with the partner's name opens or refreshes the partner's VAT
|
|
657
|
+
# review (`vat_review.opened`), a VIES failure opens one with reason `service_error`, and a valid matching number
|
|
658
|
+
# resolves the open review as `revalidated` (`vat_review.resolved`). Reviews are listed and closed with
|
|
659
|
+
# `partners/vat-reviews/list` and `partners/vat-reviews/resolve`.
|
|
655
660
|
#
|
|
656
661
|
# @param request_options [Hash]
|
|
657
662
|
# @param params [Nordlet::Partners::Types::ValidateVatPartnersRequest]
|
|
@@ -685,6 +690,45 @@ module Nordlet
|
|
|
685
690
|
end
|
|
686
691
|
end
|
|
687
692
|
|
|
693
|
+
# Reads a UK company from the Companies House register by `companyNumber` (letters and digits; spaces are removed
|
|
694
|
+
# and letters upper-cased): its name, status, type, incorporation and cessation dates, registered office address
|
|
695
|
+
# (`subdivision` from the office's country: England, Wales, Scotland or Northern Ireland), accounting reference
|
|
696
|
+
# date, the next due dates of its accounts and confirmation statement, and SIC codes. Nothing is stored. A number
|
|
697
|
+
# Companies House does not know answers 404; a lookup that is not set up, Companies House being unreachable or its
|
|
698
|
+
# rate limit answers 503.
|
|
699
|
+
#
|
|
700
|
+
# @param request_options [Hash]
|
|
701
|
+
# @param params [Nordlet::Partners::Types::CompaniesHouseGetPartnersRequest]
|
|
702
|
+
# @option request_options [String] :base_url
|
|
703
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
704
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
705
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
706
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
707
|
+
#
|
|
708
|
+
# @return [Nordlet::Partners::Types::CompaniesHouseGetPartnersResponse]
|
|
709
|
+
def companies_house_get(request_options: {}, **params)
|
|
710
|
+
params = Nordlet::Internal::Types::Utils.normalize_keys(params)
|
|
711
|
+
request = Nordlet::Internal::JSON::Request.new(
|
|
712
|
+
base_url: request_options[:base_url],
|
|
713
|
+
method: "POST",
|
|
714
|
+
path: "v1/partners/companies-house/get",
|
|
715
|
+
body: Nordlet::Partners::Types::CompaniesHouseGetPartnersRequest.new(params).to_h,
|
|
716
|
+
request_options: request_options
|
|
717
|
+
)
|
|
718
|
+
begin
|
|
719
|
+
response = @client.send(request)
|
|
720
|
+
rescue Net::HTTPRequestTimeout
|
|
721
|
+
raise Nordlet::Errors::TimeoutError
|
|
722
|
+
end
|
|
723
|
+
code = response.code.to_i
|
|
724
|
+
if code.between?(200, 299)
|
|
725
|
+
Nordlet::Partners::Types::CompaniesHouseGetPartnersResponse.load(response.body)
|
|
726
|
+
else
|
|
727
|
+
error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
|
|
728
|
+
raise error_class.new(response.body, code: code)
|
|
729
|
+
end
|
|
730
|
+
end
|
|
731
|
+
|
|
688
732
|
# Lists the VAT reviews opened by VIES checks of partners' VAT codes, with reason `invalid`, `name_mismatch` or
|
|
689
733
|
# `service_error`; filterable by `partnerId`, `status`, `reason` and `vatCode`, sortable by `createdAt`,
|
|
690
734
|
# `partnerName` (the name of the partner), `vatCode`, `reason`, `details` (the service message for a service
|
|
@@ -762,10 +806,10 @@ module Nordlet
|
|
|
762
806
|
# Creates a partner; without `isCustomer` it is a customer unless `isSupplier` is true. `groupId`, `statusId` and
|
|
763
807
|
# `priceListId` must belong to the company; without `legalCountryClass` the class is derived from the address
|
|
764
808
|
# country (`lt`, `eu` or `non_eu`); `documentRef` attaches an uploaded file that is not yet linked to a record; a
|
|
765
|
-
# `code` already used by a live partner of the company is refused with 409. A `vatCode` is checked
|
|
766
|
-
#
|
|
767
|
-
# name, or a VIES failure opens a VAT review (`vat_review.opened`), while a code that
|
|
768
|
-
# stored unchecked (see `partners/validate-vat`).
|
|
809
|
+
# `code` already used by a live partner of the company is refused with 409. A `vatCode` is checked at once against
|
|
810
|
+
# VIES, or a UK number with HMRC and the result stored on the partner: an invalid number, a VIES name that shares
|
|
811
|
+
# no word with the partner's name, or a VIES failure opens a VAT review (`vat_review.opened`), while a code that
|
|
812
|
+
# neither service can check is stored unchecked (see `partners/validate-vat`).
|
|
769
813
|
#
|
|
770
814
|
# @param request_options [Hash]
|
|
771
815
|
# @param params [Nordlet::Partners::Types::CreatePartnersRequest]
|
|
@@ -876,7 +920,7 @@ module Nordlet
|
|
|
876
920
|
# Changes the given fields of a partner; the clearable fields accept null. A new address country re-derives
|
|
877
921
|
# `legalCountryClass` unless the class is given, and a `code` already used by another live partner of the company
|
|
878
922
|
# is refused with 409. A changed `vatCode` resets the VIES result and is checked at once as in `partners/create`;
|
|
879
|
-
# a removed code, or one that
|
|
923
|
+
# a removed code, or one that neither service can check, resolves the partner's open VAT review as `superseded`
|
|
880
924
|
# (`vat_review.resolved`).
|
|
881
925
|
#
|
|
882
926
|
# @param request_options [Hash]
|
|
@@ -4,7 +4,13 @@ module Nordlet
|
|
|
4
4
|
module Partners
|
|
5
5
|
module Types
|
|
6
6
|
class BankAccountsCreatePartnersRequest < Internal::Types::Model
|
|
7
|
-
field :iban, -> { String }, optional:
|
|
7
|
+
field :iban, -> { String }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :bank_code, -> { String }, optional: true, nullable: false, api_name: "bankCode"
|
|
10
|
+
|
|
11
|
+
field :bank_account_number, -> { String }, optional: true, nullable: false, api_name: "bankAccountNumber"
|
|
12
|
+
|
|
13
|
+
field :account_type, -> { Nordlet::Partners::Types::BankAccountsCreatePartnersRequestAccountType }, optional: true, nullable: false, api_name: "accountType"
|
|
8
14
|
|
|
9
15
|
field :bank_name, -> { String }, optional: true, nullable: false, api_name: "bankName"
|
|
10
16
|
|
|
@@ -8,7 +8,13 @@ module Nordlet
|
|
|
8
8
|
|
|
9
9
|
field :partner_id, -> { String }, optional: false, nullable: false, api_name: "partnerId"
|
|
10
10
|
|
|
11
|
-
field :iban, -> { String }, optional: false, nullable:
|
|
11
|
+
field :iban, -> { String }, optional: false, nullable: true
|
|
12
|
+
|
|
13
|
+
field :bank_code, -> { String }, optional: false, nullable: true, api_name: "bankCode"
|
|
14
|
+
|
|
15
|
+
field :bank_account_number, -> { String }, optional: false, nullable: true, api_name: "bankAccountNumber"
|
|
16
|
+
|
|
17
|
+
field :account_type, -> { Nordlet::Partners::Types::BankAccountsCreatePartnersResponseAccountType }, optional: false, nullable: true, api_name: "accountType"
|
|
12
18
|
|
|
13
19
|
field :bank_name, -> { String }, optional: false, nullable: true, api_name: "bankName"
|
|
14
20
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Partners
|
|
5
|
+
module Types
|
|
6
|
+
module BankAccountsCreatePartnersResponseAccountType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
CHECKING = "checking"
|
|
10
|
+
SAVINGS = "savings"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -8,7 +8,13 @@ module Nordlet
|
|
|
8
8
|
|
|
9
9
|
field :partner_id, -> { String }, optional: false, nullable: false, api_name: "partnerId"
|
|
10
10
|
|
|
11
|
-
field :iban, -> { String }, optional: false, nullable:
|
|
11
|
+
field :iban, -> { String }, optional: false, nullable: true
|
|
12
|
+
|
|
13
|
+
field :bank_code, -> { String }, optional: false, nullable: true, api_name: "bankCode"
|
|
14
|
+
|
|
15
|
+
field :bank_account_number, -> { String }, optional: false, nullable: true, api_name: "bankAccountNumber"
|
|
16
|
+
|
|
17
|
+
field :account_type, -> { Nordlet::Partners::Types::BankAccountsListPartnersResponseRowsItemAccountType }, optional: false, nullable: true, api_name: "accountType"
|
|
12
18
|
|
|
13
19
|
field :bank_name, -> { String }, optional: false, nullable: true, api_name: "bankName"
|
|
14
20
|
|
data/lib/nordlet/partners/types/bank_accounts_list_partners_response_rows_item_account_type.rb
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Partners
|
|
5
|
+
module Types
|
|
6
|
+
module BankAccountsListPartnersResponseRowsItemAccountType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
CHECKING = "checking"
|
|
10
|
+
SAVINGS = "savings"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -6,6 +6,12 @@ module Nordlet
|
|
|
6
6
|
class BankAccountsUpdatePartnersRequest < Internal::Types::Model
|
|
7
7
|
field :iban, -> { String }, optional: true, nullable: false
|
|
8
8
|
|
|
9
|
+
field :bank_code, -> { String }, optional: true, nullable: false, api_name: "bankCode"
|
|
10
|
+
|
|
11
|
+
field :bank_account_number, -> { String }, optional: true, nullable: false, api_name: "bankAccountNumber"
|
|
12
|
+
|
|
13
|
+
field :account_type, -> { Nordlet::Partners::Types::BankAccountsUpdatePartnersRequestAccountType }, optional: true, nullable: false, api_name: "accountType"
|
|
14
|
+
|
|
9
15
|
field :bank_name, -> { String }, optional: true, nullable: false, api_name: "bankName"
|
|
10
16
|
|
|
11
17
|
field :bic, -> { String }, optional: true, nullable: false
|
|
@@ -8,7 +8,13 @@ module Nordlet
|
|
|
8
8
|
|
|
9
9
|
field :partner_id, -> { String }, optional: false, nullable: false, api_name: "partnerId"
|
|
10
10
|
|
|
11
|
-
field :iban, -> { String }, optional: false, nullable:
|
|
11
|
+
field :iban, -> { String }, optional: false, nullable: true
|
|
12
|
+
|
|
13
|
+
field :bank_code, -> { String }, optional: false, nullable: true, api_name: "bankCode"
|
|
14
|
+
|
|
15
|
+
field :bank_account_number, -> { String }, optional: false, nullable: true, api_name: "bankAccountNumber"
|
|
16
|
+
|
|
17
|
+
field :account_type, -> { Nordlet::Partners::Types::BankAccountsUpdatePartnersResponseAccountType }, optional: false, nullable: true, api_name: "accountType"
|
|
12
18
|
|
|
13
19
|
field :bank_name, -> { String }, optional: false, nullable: true, api_name: "bankName"
|
|
14
20
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Partners
|
|
5
|
+
module Types
|
|
6
|
+
module BankAccountsUpdatePartnersResponseAccountType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
CHECKING = "checking"
|
|
10
|
+
SAVINGS = "savings"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Partners
|
|
5
|
+
module Types
|
|
6
|
+
class CompaniesHouseGetPartnersRequest < Internal::Types::Model
|
|
7
|
+
field :company_number, -> { String }, optional: false, nullable: false, api_name: "companyNumber"
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Partners
|
|
5
|
+
module Types
|
|
6
|
+
class CompaniesHouseGetPartnersResponse < Internal::Types::Model
|
|
7
|
+
field :company_number, -> { String }, optional: false, nullable: false, api_name: "companyNumber"
|
|
8
|
+
|
|
9
|
+
field :name, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :status, -> { String }, optional: false, nullable: true
|
|
12
|
+
|
|
13
|
+
field :type, -> { String }, optional: false, nullable: true
|
|
14
|
+
|
|
15
|
+
field :jurisdiction, -> { String }, optional: false, nullable: true
|
|
16
|
+
|
|
17
|
+
field :incorporated_on, -> { String }, optional: false, nullable: true, api_name: "incorporatedOn"
|
|
18
|
+
|
|
19
|
+
field :ceased_on, -> { String }, optional: false, nullable: true, api_name: "ceasedOn"
|
|
20
|
+
|
|
21
|
+
field :address, -> { Nordlet::Partners::Types::CompaniesHouseGetPartnersResponseAddress }, optional: false, nullable: true
|
|
22
|
+
|
|
23
|
+
field :accounting_reference_date, -> { Nordlet::Partners::Types::CompaniesHouseGetPartnersResponseAccountingReferenceDate }, optional: false, nullable: true, api_name: "accountingReferenceDate"
|
|
24
|
+
|
|
25
|
+
field :next_accounts_due, -> { String }, optional: false, nullable: true, api_name: "nextAccountsDue"
|
|
26
|
+
|
|
27
|
+
field :next_confirmation_statement_due, -> { String }, optional: false, nullable: true, api_name: "nextConfirmationStatementDue"
|
|
28
|
+
|
|
29
|
+
field :sic_codes, -> { Internal::Types::Array[String] }, optional: false, nullable: false, api_name: "sicCodes"
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
data/lib/nordlet/partners/types/companies_house_get_partners_response_accounting_reference_date.rb
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Partners
|
|
5
|
+
module Types
|
|
6
|
+
class CompaniesHouseGetPartnersResponseAccountingReferenceDate < Internal::Types::Model
|
|
7
|
+
field :day, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :month, -> { Integer }, optional: false, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Partners
|
|
5
|
+
module Types
|
|
6
|
+
class CompaniesHouseGetPartnersResponseAddress < Internal::Types::Model
|
|
7
|
+
field :street, -> { String }, optional: false, nullable: true
|
|
8
|
+
|
|
9
|
+
field :city, -> { String }, optional: false, nullable: true
|
|
10
|
+
|
|
11
|
+
field :county, -> { String }, optional: false, nullable: true
|
|
12
|
+
|
|
13
|
+
field :postal_code, -> { String }, optional: false, nullable: true, api_name: "postalCode"
|
|
14
|
+
|
|
15
|
+
field :country_code, -> { Nordlet::Partners::Types::CompaniesHouseGetPartnersResponseAddressCountryCode }, optional: false, nullable: false, api_name: "countryCode"
|
|
16
|
+
|
|
17
|
+
field :subdivision, -> { String }, optional: false, nullable: true
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -22,6 +22,8 @@ module Nordlet
|
|
|
22
22
|
|
|
23
23
|
field :birth_date, -> { String }, optional: true, nullable: false, api_name: "birthDate"
|
|
24
24
|
|
|
25
|
+
field :is_business, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isBusiness"
|
|
26
|
+
|
|
25
27
|
field :is_customer, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isCustomer"
|
|
26
28
|
|
|
27
29
|
field :is_supplier, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isSupplier"
|
|
@@ -15,6 +15,8 @@ module Nordlet
|
|
|
15
15
|
field :postal_code, -> { String }, optional: true, nullable: false, api_name: "postalCode"
|
|
16
16
|
|
|
17
17
|
field :country_code, -> { String }, optional: true, nullable: false, api_name: "countryCode"
|
|
18
|
+
|
|
19
|
+
field :subdivision, -> { String }, optional: true, nullable: false
|
|
18
20
|
end
|
|
19
21
|
end
|
|
20
22
|
end
|
|
@@ -15,6 +15,8 @@ module Nordlet
|
|
|
15
15
|
field :postal_code, -> { String }, optional: true, nullable: false, api_name: "postalCode"
|
|
16
16
|
|
|
17
17
|
field :country_code, -> { String }, optional: true, nullable: false, api_name: "countryCode"
|
|
18
|
+
|
|
19
|
+
field :subdivision, -> { String }, optional: true, nullable: false
|
|
18
20
|
end
|
|
19
21
|
end
|
|
20
22
|
end
|
|
@@ -24,6 +24,8 @@ module Nordlet
|
|
|
24
24
|
|
|
25
25
|
field :birth_date, -> { String }, optional: false, nullable: true, api_name: "birthDate"
|
|
26
26
|
|
|
27
|
+
field :is_business, -> { Internal::Types::Boolean }, optional: false, nullable: true, api_name: "isBusiness"
|
|
28
|
+
|
|
27
29
|
field :is_customer, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isCustomer"
|
|
28
30
|
|
|
29
31
|
field :is_supplier, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isSupplier"
|
|
@@ -15,6 +15,8 @@ module Nordlet
|
|
|
15
15
|
field :postal_code, -> { String }, optional: true, nullable: false, api_name: "postalCode"
|
|
16
16
|
|
|
17
17
|
field :country_code, -> { String }, optional: true, nullable: false, api_name: "countryCode"
|
|
18
|
+
|
|
19
|
+
field :subdivision, -> { String }, optional: true, nullable: false
|
|
18
20
|
end
|
|
19
21
|
end
|
|
20
22
|
end
|
|
@@ -15,6 +15,8 @@ module Nordlet
|
|
|
15
15
|
field :postal_code, -> { String }, optional: true, nullable: false, api_name: "postalCode"
|
|
16
16
|
|
|
17
17
|
field :country_code, -> { String }, optional: true, nullable: false, api_name: "countryCode"
|
|
18
|
+
|
|
19
|
+
field :subdivision, -> { String }, optional: true, nullable: false
|
|
18
20
|
end
|
|
19
21
|
end
|
|
20
22
|
end
|
|
@@ -22,6 +22,8 @@ module Nordlet
|
|
|
22
22
|
|
|
23
23
|
field :birth_date, -> { String }, optional: true, nullable: false, api_name: "birthDate"
|
|
24
24
|
|
|
25
|
+
field :is_business, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isBusiness"
|
|
26
|
+
|
|
25
27
|
field :is_customer, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isCustomer"
|
|
26
28
|
|
|
27
29
|
field :is_supplier, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isSupplier"
|
|
@@ -15,6 +15,8 @@ module Nordlet
|
|
|
15
15
|
field :postal_code, -> { String }, optional: true, nullable: false, api_name: "postalCode"
|
|
16
16
|
|
|
17
17
|
field :country_code, -> { String }, optional: true, nullable: false, api_name: "countryCode"
|
|
18
|
+
|
|
19
|
+
field :subdivision, -> { String }, optional: true, nullable: false
|
|
18
20
|
end
|
|
19
21
|
end
|
|
20
22
|
end
|
|
@@ -15,6 +15,8 @@ module Nordlet
|
|
|
15
15
|
field :postal_code, -> { String }, optional: true, nullable: false, api_name: "postalCode"
|
|
16
16
|
|
|
17
17
|
field :country_code, -> { String }, optional: true, nullable: false, api_name: "countryCode"
|
|
18
|
+
|
|
19
|
+
field :subdivision, -> { String }, optional: true, nullable: false
|
|
18
20
|
end
|
|
19
21
|
end
|
|
20
22
|
end
|
|
@@ -24,6 +24,8 @@ module Nordlet
|
|
|
24
24
|
|
|
25
25
|
field :birth_date, -> { String }, optional: false, nullable: true, api_name: "birthDate"
|
|
26
26
|
|
|
27
|
+
field :is_business, -> { Internal::Types::Boolean }, optional: false, nullable: true, api_name: "isBusiness"
|
|
28
|
+
|
|
27
29
|
field :is_customer, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isCustomer"
|
|
28
30
|
|
|
29
31
|
field :is_supplier, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isSupplier"
|
|
@@ -15,6 +15,8 @@ module Nordlet
|
|
|
15
15
|
field :postal_code, -> { String }, optional: true, nullable: false, api_name: "postalCode"
|
|
16
16
|
|
|
17
17
|
field :country_code, -> { String }, optional: true, nullable: false, api_name: "countryCode"
|
|
18
|
+
|
|
19
|
+
field :subdivision, -> { String }, optional: true, nullable: false
|
|
18
20
|
end
|
|
19
21
|
end
|
|
20
22
|
end
|
data/lib/nordlet/partners/types/find_or_create_partners_response_partner_correspondence_address.rb
CHANGED
|
@@ -15,6 +15,8 @@ module Nordlet
|
|
|
15
15
|
field :postal_code, -> { String }, optional: true, nullable: false, api_name: "postalCode"
|
|
16
16
|
|
|
17
17
|
field :country_code, -> { String }, optional: true, nullable: false, api_name: "countryCode"
|
|
18
|
+
|
|
19
|
+
field :subdivision, -> { String }, optional: true, nullable: false
|
|
18
20
|
end
|
|
19
21
|
end
|
|
20
22
|
end
|
|
@@ -24,6 +24,8 @@ module Nordlet
|
|
|
24
24
|
|
|
25
25
|
field :birth_date, -> { String }, optional: false, nullable: true, api_name: "birthDate"
|
|
26
26
|
|
|
27
|
+
field :is_business, -> { Internal::Types::Boolean }, optional: false, nullable: true, api_name: "isBusiness"
|
|
28
|
+
|
|
27
29
|
field :is_customer, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isCustomer"
|
|
28
30
|
|
|
29
31
|
field :is_supplier, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isSupplier"
|
|
@@ -15,6 +15,8 @@ module Nordlet
|
|
|
15
15
|
field :postal_code, -> { String }, optional: true, nullable: false, api_name: "postalCode"
|
|
16
16
|
|
|
17
17
|
field :country_code, -> { String }, optional: true, nullable: false, api_name: "countryCode"
|
|
18
|
+
|
|
19
|
+
field :subdivision, -> { String }, optional: true, nullable: false
|
|
18
20
|
end
|
|
19
21
|
end
|
|
20
22
|
end
|
|
@@ -15,6 +15,8 @@ module Nordlet
|
|
|
15
15
|
field :postal_code, -> { String }, optional: true, nullable: false, api_name: "postalCode"
|
|
16
16
|
|
|
17
17
|
field :country_code, -> { String }, optional: true, nullable: false, api_name: "countryCode"
|
|
18
|
+
|
|
19
|
+
field :subdivision, -> { String }, optional: true, nullable: false
|
|
18
20
|
end
|
|
19
21
|
end
|
|
20
22
|
end
|
|
@@ -24,6 +24,8 @@ module Nordlet
|
|
|
24
24
|
|
|
25
25
|
field :birth_date, -> { String }, optional: false, nullable: true, api_name: "birthDate"
|
|
26
26
|
|
|
27
|
+
field :is_business, -> { Internal::Types::Boolean }, optional: false, nullable: true, api_name: "isBusiness"
|
|
28
|
+
|
|
27
29
|
field :is_customer, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isCustomer"
|
|
28
30
|
|
|
29
31
|
field :is_supplier, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isSupplier"
|
|
@@ -15,6 +15,8 @@ module Nordlet
|
|
|
15
15
|
field :postal_code, -> { String }, optional: true, nullable: false, api_name: "postalCode"
|
|
16
16
|
|
|
17
17
|
field :country_code, -> { String }, optional: true, nullable: false, api_name: "countryCode"
|
|
18
|
+
|
|
19
|
+
field :subdivision, -> { String }, optional: true, nullable: false
|
|
18
20
|
end
|
|
19
21
|
end
|
|
20
22
|
end
|
|
@@ -15,6 +15,8 @@ module Nordlet
|
|
|
15
15
|
field :postal_code, -> { String }, optional: true, nullable: false, api_name: "postalCode"
|
|
16
16
|
|
|
17
17
|
field :country_code, -> { String }, optional: true, nullable: false, api_name: "countryCode"
|
|
18
|
+
|
|
19
|
+
field :subdivision, -> { String }, optional: true, nullable: false
|
|
18
20
|
end
|
|
19
21
|
end
|
|
20
22
|
end
|
|
@@ -24,6 +24,8 @@ module Nordlet
|
|
|
24
24
|
|
|
25
25
|
field :birth_date, -> { String }, optional: true, nullable: false, api_name: "birthDate"
|
|
26
26
|
|
|
27
|
+
field :is_business, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isBusiness"
|
|
28
|
+
|
|
27
29
|
field :is_customer, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isCustomer"
|
|
28
30
|
|
|
29
31
|
field :is_supplier, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isSupplier"
|
|
@@ -15,6 +15,8 @@ module Nordlet
|
|
|
15
15
|
field :postal_code, -> { String }, optional: true, nullable: false, api_name: "postalCode"
|
|
16
16
|
|
|
17
17
|
field :country_code, -> { String }, optional: true, nullable: false, api_name: "countryCode"
|
|
18
|
+
|
|
19
|
+
field :subdivision, -> { String }, optional: true, nullable: false
|
|
18
20
|
end
|
|
19
21
|
end
|
|
20
22
|
end
|
|
@@ -15,6 +15,8 @@ module Nordlet
|
|
|
15
15
|
field :postal_code, -> { String }, optional: true, nullable: false, api_name: "postalCode"
|
|
16
16
|
|
|
17
17
|
field :country_code, -> { String }, optional: true, nullable: false, api_name: "countryCode"
|
|
18
|
+
|
|
19
|
+
field :subdivision, -> { String }, optional: true, nullable: false
|
|
18
20
|
end
|
|
19
21
|
end
|
|
20
22
|
end
|
|
@@ -24,6 +24,8 @@ module Nordlet
|
|
|
24
24
|
|
|
25
25
|
field :birth_date, -> { String }, optional: false, nullable: true, api_name: "birthDate"
|
|
26
26
|
|
|
27
|
+
field :is_business, -> { Internal::Types::Boolean }, optional: false, nullable: true, api_name: "isBusiness"
|
|
28
|
+
|
|
27
29
|
field :is_customer, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isCustomer"
|
|
28
30
|
|
|
29
31
|
field :is_supplier, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isSupplier"
|
|
@@ -15,6 +15,8 @@ module Nordlet
|
|
|
15
15
|
field :postal_code, -> { String }, optional: true, nullable: false, api_name: "postalCode"
|
|
16
16
|
|
|
17
17
|
field :country_code, -> { String }, optional: true, nullable: false, api_name: "countryCode"
|
|
18
|
+
|
|
19
|
+
field :subdivision, -> { String }, optional: true, nullable: false
|
|
18
20
|
end
|
|
19
21
|
end
|
|
20
22
|
end
|
|
@@ -15,6 +15,8 @@ module Nordlet
|
|
|
15
15
|
field :postal_code, -> { String }, optional: true, nullable: false, api_name: "postalCode"
|
|
16
16
|
|
|
17
17
|
field :country_code, -> { String }, optional: true, nullable: false, api_name: "countryCode"
|
|
18
|
+
|
|
19
|
+
field :subdivision, -> { String }, optional: true, nullable: false
|
|
18
20
|
end
|
|
19
21
|
end
|
|
20
22
|
end
|