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
|
@@ -14,7 +14,7 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :options, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
16
16
|
|
|
17
|
-
field :company_field, -> {
|
|
17
|
+
field :company_field, -> { String }, optional: true, nullable: false, api_name: "companyField"
|
|
18
18
|
end
|
|
19
19
|
end
|
|
20
20
|
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbCorporationTaxComputeDeclarationsRequest < Internal::Types::Model
|
|
7
|
+
field :period_start, -> { String }, optional: false, nullable: false, api_name: "periodStart"
|
|
8
|
+
|
|
9
|
+
field :period_end, -> { String }, optional: false, nullable: false, api_name: "periodEnd"
|
|
10
|
+
|
|
11
|
+
field :taxable_total_profits, -> { String }, optional: false, nullable: false, api_name: "taxableTotalProfits"
|
|
12
|
+
|
|
13
|
+
field :exempt_distributions, -> { String }, optional: true, nullable: false, api_name: "exemptDistributions"
|
|
14
|
+
|
|
15
|
+
field :associated_companies, -> { Integer }, optional: true, nullable: false, api_name: "associatedCompanies"
|
|
16
|
+
|
|
17
|
+
field :close_investment_holding, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "closeInvestmentHolding"
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbCorporationTaxComputeDeclarationsResponse < Internal::Types::Model
|
|
7
|
+
field :period_start, -> { String }, optional: false, nullable: false, api_name: "periodStart"
|
|
8
|
+
|
|
9
|
+
field :period_end, -> { String }, optional: false, nullable: false, api_name: "periodEnd"
|
|
10
|
+
|
|
11
|
+
field :days, -> { Integer }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :taxable_total_profits, -> { String }, optional: false, nullable: false, api_name: "taxableTotalProfits"
|
|
14
|
+
|
|
15
|
+
field :augmented_profits, -> { String }, optional: false, nullable: false, api_name: "augmentedProfits"
|
|
16
|
+
|
|
17
|
+
field :parts, -> { Internal::Types::Array[Nordlet::Declarations::Types::GbCorporationTaxComputeDeclarationsResponsePartsItem] }, optional: false, nullable: false
|
|
18
|
+
|
|
19
|
+
field :marginal_relief, -> { String }, optional: false, nullable: false, api_name: "marginalRelief"
|
|
20
|
+
|
|
21
|
+
field :tax, -> { String }, optional: false, nullable: false
|
|
22
|
+
|
|
23
|
+
field :notes, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
24
|
+
|
|
25
|
+
field :source, -> { String }, optional: false, nullable: false
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
data/lib/nordlet/declarations/types/gb_corporation_tax_compute_declarations_response_parts_item.rb
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbCorporationTaxComputeDeclarationsResponsePartsItem < Internal::Types::Model
|
|
7
|
+
field :financial_year, -> { Integer }, optional: false, nullable: false, api_name: "financialYear"
|
|
8
|
+
|
|
9
|
+
field :from, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :to, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :days, -> { Integer }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :profits, -> { String }, optional: false, nullable: false
|
|
16
|
+
|
|
17
|
+
field :augmented_profits, -> { String }, optional: false, nullable: false, api_name: "augmentedProfits"
|
|
18
|
+
|
|
19
|
+
field :lower_limit, -> { String }, optional: false, nullable: true, api_name: "lowerLimit"
|
|
20
|
+
|
|
21
|
+
field :upper_limit, -> { String }, optional: false, nullable: true, api_name: "upperLimit"
|
|
22
|
+
|
|
23
|
+
field :rate, -> { Nordlet::Declarations::Types::GbCorporationTaxComputeDeclarationsResponsePartsItemRate }, optional: false, nullable: false
|
|
24
|
+
|
|
25
|
+
field :tax_at_main_rate, -> { String }, optional: false, nullable: false, api_name: "taxAtMainRate"
|
|
26
|
+
|
|
27
|
+
field :marginal_relief, -> { String }, optional: false, nullable: false, api_name: "marginalRelief"
|
|
28
|
+
|
|
29
|
+
field :tax, -> { String }, optional: false, nullable: false
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
module GbCorporationTaxComputeDeclarationsResponsePartsItemRate
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
MAIN = "main"
|
|
10
|
+
SMALL_PROFITS = "small_profits"
|
|
11
|
+
MARGINAL_RELIEF = "marginal_relief"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbHmrcConnectDeclarationsRequest < Internal::Types::Model
|
|
7
|
+
field :code, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :state, -> { String }, optional: false, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbHmrcConnectDeclarationsResponse < Internal::Types::Model
|
|
7
|
+
field :access_token_expires_at, -> { String }, optional: false, nullable: false, api_name: "accessTokenExpiresAt"
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbVatLiabilitiesListDeclarationsRequest < Internal::Types::Model
|
|
7
|
+
field :device, -> { Nordlet::Declarations::Types::GbVatLiabilitiesListDeclarationsRequestDevice }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :from, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :to, -> { String }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
# Facts of the browser the user files from, which HMRC requires with every VAT (MTD) API call:
|
|
7
|
+
# `navigator.userAgent`, a UUID the browser keeps for the device, every screen (width, height, scaling factor,
|
|
8
|
+
# colour depth in bits), the window size in pixels and the time zone as `UTC±hh:mm`.
|
|
9
|
+
class GbVatLiabilitiesListDeclarationsRequestDevice < Internal::Types::Model
|
|
10
|
+
field :user_agent, -> { String }, optional: false, nullable: false, api_name: "userAgent"
|
|
11
|
+
|
|
12
|
+
field :device_id, -> { String }, optional: false, nullable: false, api_name: "deviceId"
|
|
13
|
+
|
|
14
|
+
field :screens, -> { Internal::Types::Array[Nordlet::Declarations::Types::GbVatLiabilitiesListDeclarationsRequestDeviceScreensItem] }, optional: false, nullable: false
|
|
15
|
+
|
|
16
|
+
field :window_size, -> { Nordlet::Declarations::Types::GbVatLiabilitiesListDeclarationsRequestDeviceWindowSize }, optional: false, nullable: false, api_name: "windowSize"
|
|
17
|
+
|
|
18
|
+
field :timezone, -> { String }, optional: false, nullable: false
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbVatLiabilitiesListDeclarationsRequestDeviceScreensItem < Internal::Types::Model
|
|
7
|
+
field :width, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :height, -> { Integer }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :scaling_factor, -> { Integer }, optional: false, nullable: false, api_name: "scalingFactor"
|
|
12
|
+
|
|
13
|
+
field :colour_depth, -> { Integer }, optional: false, nullable: false, api_name: "colourDepth"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbVatLiabilitiesListDeclarationsRequestDeviceWindowSize < Internal::Types::Model
|
|
7
|
+
field :width, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :height, -> { Integer }, optional: false, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbVatLiabilitiesListDeclarationsResponse < Internal::Types::Model
|
|
7
|
+
field :liabilities, -> { Internal::Types::Array[Nordlet::Declarations::Types::GbVatLiabilitiesListDeclarationsResponseLiabilitiesItem] }, optional: false, nullable: false
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbVatLiabilitiesListDeclarationsResponseLiabilitiesItem < Internal::Types::Model
|
|
7
|
+
field :tax_period, -> { Nordlet::Declarations::Types::GbVatLiabilitiesListDeclarationsResponseLiabilitiesItemTaxPeriod }, optional: true, nullable: false, api_name: "taxPeriod"
|
|
8
|
+
|
|
9
|
+
field :type, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :original_amount, -> { Integer }, optional: false, nullable: false, api_name: "originalAmount"
|
|
12
|
+
|
|
13
|
+
field :outstanding_amount, -> { Integer }, optional: true, nullable: false, api_name: "outstandingAmount"
|
|
14
|
+
|
|
15
|
+
field :due, -> { String }, optional: true, nullable: false
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbVatLiabilitiesListDeclarationsResponseLiabilitiesItemTaxPeriod < Internal::Types::Model
|
|
7
|
+
field :from, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :to, -> { String }, optional: false, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbVatObligationsListDeclarationsRequest < Internal::Types::Model
|
|
7
|
+
field :device, -> { Nordlet::Declarations::Types::GbVatObligationsListDeclarationsRequestDevice }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :from, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
11
|
+
field :to, -> { String }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :status, -> { Nordlet::Declarations::Types::GbVatObligationsListDeclarationsRequestStatus }, optional: true, nullable: false
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
# Facts of the browser the user files from, which HMRC requires with every VAT (MTD) API call:
|
|
7
|
+
# `navigator.userAgent`, a UUID the browser keeps for the device, every screen (width, height, scaling factor,
|
|
8
|
+
# colour depth in bits), the window size in pixels and the time zone as `UTC±hh:mm`.
|
|
9
|
+
class GbVatObligationsListDeclarationsRequestDevice < Internal::Types::Model
|
|
10
|
+
field :user_agent, -> { String }, optional: false, nullable: false, api_name: "userAgent"
|
|
11
|
+
|
|
12
|
+
field :device_id, -> { String }, optional: false, nullable: false, api_name: "deviceId"
|
|
13
|
+
|
|
14
|
+
field :screens, -> { Internal::Types::Array[Nordlet::Declarations::Types::GbVatObligationsListDeclarationsRequestDeviceScreensItem] }, optional: false, nullable: false
|
|
15
|
+
|
|
16
|
+
field :window_size, -> { Nordlet::Declarations::Types::GbVatObligationsListDeclarationsRequestDeviceWindowSize }, optional: false, nullable: false, api_name: "windowSize"
|
|
17
|
+
|
|
18
|
+
field :timezone, -> { String }, optional: false, nullable: false
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbVatObligationsListDeclarationsRequestDeviceScreensItem < Internal::Types::Model
|
|
7
|
+
field :width, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :height, -> { Integer }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :scaling_factor, -> { Integer }, optional: false, nullable: false, api_name: "scalingFactor"
|
|
12
|
+
|
|
13
|
+
field :colour_depth, -> { Integer }, optional: false, nullable: false, api_name: "colourDepth"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbVatObligationsListDeclarationsRequestDeviceWindowSize < Internal::Types::Model
|
|
7
|
+
field :width, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :height, -> { Integer }, optional: false, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
module Nordlet
|
|
4
4
|
module Declarations
|
|
5
5
|
module Types
|
|
6
|
-
module
|
|
6
|
+
module GbVatObligationsListDeclarationsRequestStatus
|
|
7
7
|
extend Nordlet::Internal::Types::Enum
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
O = "O"
|
|
10
|
+
F = "F"
|
|
11
11
|
end
|
|
12
12
|
end
|
|
13
13
|
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbVatObligationsListDeclarationsResponse < Internal::Types::Model
|
|
7
|
+
field :obligations, -> { Internal::Types::Array[Nordlet::Declarations::Types::GbVatObligationsListDeclarationsResponseObligationsItem] }, optional: false, nullable: false
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbVatObligationsListDeclarationsResponseObligationsItem < Internal::Types::Model
|
|
7
|
+
field :period_key, -> { String }, optional: false, nullable: false, api_name: "periodKey"
|
|
8
|
+
|
|
9
|
+
field :start, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :end_, -> { String }, optional: false, nullable: false, api_name: "end"
|
|
12
|
+
|
|
13
|
+
field :due, -> { String }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :status, -> { Nordlet::Declarations::Types::GbVatObligationsListDeclarationsResponseObligationsItemStatus }, optional: false, nullable: false
|
|
16
|
+
|
|
17
|
+
field :received, -> { String }, optional: true, nullable: false
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
module Nordlet
|
|
4
4
|
module Declarations
|
|
5
5
|
module Types
|
|
6
|
-
module
|
|
6
|
+
module GbVatObligationsListDeclarationsResponseObligationsItemStatus
|
|
7
7
|
extend Nordlet::Internal::Types::Enum
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
O = "O"
|
|
10
|
+
F = "F"
|
|
11
11
|
end
|
|
12
12
|
end
|
|
13
13
|
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbVatPaymentsListDeclarationsRequest < Internal::Types::Model
|
|
7
|
+
field :device, -> { Nordlet::Declarations::Types::GbVatPaymentsListDeclarationsRequestDevice }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :from, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :to, -> { String }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
# Facts of the browser the user files from, which HMRC requires with every VAT (MTD) API call:
|
|
7
|
+
# `navigator.userAgent`, a UUID the browser keeps for the device, every screen (width, height, scaling factor,
|
|
8
|
+
# colour depth in bits), the window size in pixels and the time zone as `UTC±hh:mm`.
|
|
9
|
+
class GbVatPaymentsListDeclarationsRequestDevice < Internal::Types::Model
|
|
10
|
+
field :user_agent, -> { String }, optional: false, nullable: false, api_name: "userAgent"
|
|
11
|
+
|
|
12
|
+
field :device_id, -> { String }, optional: false, nullable: false, api_name: "deviceId"
|
|
13
|
+
|
|
14
|
+
field :screens, -> { Internal::Types::Array[Nordlet::Declarations::Types::GbVatPaymentsListDeclarationsRequestDeviceScreensItem] }, optional: false, nullable: false
|
|
15
|
+
|
|
16
|
+
field :window_size, -> { Nordlet::Declarations::Types::GbVatPaymentsListDeclarationsRequestDeviceWindowSize }, optional: false, nullable: false, api_name: "windowSize"
|
|
17
|
+
|
|
18
|
+
field :timezone, -> { String }, optional: false, nullable: false
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
data/lib/nordlet/declarations/types/gb_vat_payments_list_declarations_request_device_screens_item.rb
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbVatPaymentsListDeclarationsRequestDeviceScreensItem < Internal::Types::Model
|
|
7
|
+
field :width, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :height, -> { Integer }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :scaling_factor, -> { Integer }, optional: false, nullable: false, api_name: "scalingFactor"
|
|
12
|
+
|
|
13
|
+
field :colour_depth, -> { Integer }, optional: false, nullable: false, api_name: "colourDepth"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
data/lib/nordlet/declarations/types/gb_vat_payments_list_declarations_request_device_window_size.rb
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbVatPaymentsListDeclarationsRequestDeviceWindowSize < Internal::Types::Model
|
|
7
|
+
field :width, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :height, -> { Integer }, optional: false, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbVatPaymentsListDeclarationsResponse < Internal::Types::Model
|
|
7
|
+
field :payments, -> { Internal::Types::Array[Nordlet::Declarations::Types::GbVatPaymentsListDeclarationsResponsePaymentsItem] }, optional: false, nullable: false
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
data/lib/nordlet/declarations/types/gb_vat_payments_list_declarations_response_payments_item.rb
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbVatPaymentsListDeclarationsResponsePaymentsItem < Internal::Types::Model
|
|
7
|
+
field :amount, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :received, -> { String }, optional: true, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbVatPenaltiesGetDeclarationsRequest < Internal::Types::Model
|
|
7
|
+
field :device, -> { Nordlet::Declarations::Types::GbVatPenaltiesGetDeclarationsRequestDevice }, optional: false, nullable: false
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
# Facts of the browser the user files from, which HMRC requires with every VAT (MTD) API call:
|
|
7
|
+
# `navigator.userAgent`, a UUID the browser keeps for the device, every screen (width, height, scaling factor,
|
|
8
|
+
# colour depth in bits), the window size in pixels and the time zone as `UTC±hh:mm`.
|
|
9
|
+
class GbVatPenaltiesGetDeclarationsRequestDevice < Internal::Types::Model
|
|
10
|
+
field :user_agent, -> { String }, optional: false, nullable: false, api_name: "userAgent"
|
|
11
|
+
|
|
12
|
+
field :device_id, -> { String }, optional: false, nullable: false, api_name: "deviceId"
|
|
13
|
+
|
|
14
|
+
field :screens, -> { Internal::Types::Array[Nordlet::Declarations::Types::GbVatPenaltiesGetDeclarationsRequestDeviceScreensItem] }, optional: false, nullable: false
|
|
15
|
+
|
|
16
|
+
field :window_size, -> { Nordlet::Declarations::Types::GbVatPenaltiesGetDeclarationsRequestDeviceWindowSize }, optional: false, nullable: false, api_name: "windowSize"
|
|
17
|
+
|
|
18
|
+
field :timezone, -> { String }, optional: false, nullable: false
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
data/lib/nordlet/declarations/types/gb_vat_penalties_get_declarations_request_device_screens_item.rb
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbVatPenaltiesGetDeclarationsRequestDeviceScreensItem < Internal::Types::Model
|
|
7
|
+
field :width, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :height, -> { Integer }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :scaling_factor, -> { Integer }, optional: false, nullable: false, api_name: "scalingFactor"
|
|
12
|
+
|
|
13
|
+
field :colour_depth, -> { Integer }, optional: false, nullable: false, api_name: "colourDepth"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
data/lib/nordlet/declarations/types/gb_vat_penalties_get_declarations_request_device_window_size.rb
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbVatPenaltiesGetDeclarationsRequestDeviceWindowSize < Internal::Types::Model
|
|
7
|
+
field :width, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :height, -> { Integer }, optional: false, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
class GbVatReturnsGetDeclarationsRequest < Internal::Types::Model
|
|
7
|
+
field :device, -> { Nordlet::Declarations::Types::GbVatReturnsGetDeclarationsRequestDevice }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :period_key, -> { String }, optional: false, nullable: false, api_name: "periodKey"
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Declarations
|
|
5
|
+
module Types
|
|
6
|
+
# Facts of the browser the user files from, which HMRC requires with every VAT (MTD) API call:
|
|
7
|
+
# `navigator.userAgent`, a UUID the browser keeps for the device, every screen (width, height, scaling factor,
|
|
8
|
+
# colour depth in bits), the window size in pixels and the time zone as `UTC±hh:mm`.
|
|
9
|
+
class GbVatReturnsGetDeclarationsRequestDevice < Internal::Types::Model
|
|
10
|
+
field :user_agent, -> { String }, optional: false, nullable: false, api_name: "userAgent"
|
|
11
|
+
|
|
12
|
+
field :device_id, -> { String }, optional: false, nullable: false, api_name: "deviceId"
|
|
13
|
+
|
|
14
|
+
field :screens, -> { Internal::Types::Array[Nordlet::Declarations::Types::GbVatReturnsGetDeclarationsRequestDeviceScreensItem] }, optional: false, nullable: false
|
|
15
|
+
|
|
16
|
+
field :window_size, -> { Nordlet::Declarations::Types::GbVatReturnsGetDeclarationsRequestDeviceWindowSize }, optional: false, nullable: false, api_name: "windowSize"
|
|
17
|
+
|
|
18
|
+
field :timezone, -> { String }, optional: false, nullable: false
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|