nordlet 0.3.9 → 0.4.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/types/me_account_response_billing.rb +6 -0
- data/lib/nordlet/bank/client.rb +96 -0
- data/lib/nordlet/bank/types/accounts_create_bank_request.rb +2 -0
- data/lib/nordlet/bank/types/accounts_create_bank_request_type.rb +15 -0
- data/lib/nordlet/bank/types/accounts_create_bank_response.rb +2 -0
- data/lib/nordlet/bank/types/accounts_create_bank_response_type.rb +15 -0
- data/lib/nordlet/bank/types/accounts_list_bank_response_rows_item.rb +2 -0
- data/lib/nordlet/bank/types/accounts_list_bank_response_rows_item_type.rb +15 -0
- data/lib/nordlet/bank/types/accounts_update_bank_request.rb +2 -0
- data/lib/nordlet/bank/types/accounts_update_bank_request_type.rb +15 -0
- data/lib/nordlet/bank/types/accounts_update_bank_response.rb +2 -0
- data/lib/nordlet/bank/types/accounts_update_bank_response_type.rb +15 -0
- data/lib/nordlet/bank/types/securities_get_bank_request.rb +11 -0
- data/lib/nordlet/bank/types/securities_get_bank_response.rb +35 -0
- data/lib/nordlet/bank/types/securities_get_bank_response_operations_item.rb +51 -0
- data/lib/nordlet/bank/types/securities_get_bank_response_operations_item_status.rb +14 -0
- data/lib/nordlet/bank/types/securities_import_bank_request.rb +15 -0
- data/lib/nordlet/bank/types/securities_import_bank_response.rb +33 -0
- data/lib/nordlet/bank/types/securities_list_bank_request.rb +19 -0
- data/lib/nordlet/bank/types/securities_list_bank_request_filter_item.rb +15 -0
- data/lib/nordlet/bank/types/securities_list_bank_request_filter_item_op.rb +18 -0
- data/lib/nordlet/bank/types/securities_list_bank_request_filter_item_value.rb +19 -0
- data/lib/nordlet/bank/types/securities_list_bank_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/bank/types/securities_list_bank_request_sort_item.rb +13 -0
- data/lib/nordlet/bank/types/securities_list_bank_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/bank/types/securities_list_bank_response.rb +21 -0
- data/lib/nordlet/bank/types/securities_list_bank_response_rows_item.rb +33 -0
- data/lib/nordlet/bank/types/settlements_commission_bank_response.rb +8 -0
- data/lib/nordlet/bank/types/settlements_get_bank_response.rb +6 -0
- data/lib/nordlet/bank/types/settlements_get_bank_response_lines_item.rb +8 -0
- data/lib/nordlet/bank/types/settlements_import_bank_response_batches_item.rb +6 -0
- data/lib/nordlet/bank/types/settlements_link_bank_response.rb +6 -0
- data/lib/nordlet/bank/types/settlements_list_bank_response_rows_item.rb +6 -0
- data/lib/nordlet/bank/types/settlements_match_bank_response.rb +8 -0
- data/lib/nordlet/bank/types/settlements_post_bank_response.rb +6 -0
- data/lib/nordlet/bank/types/settlements_post_bank_response_summary.rb +2 -0
- data/lib/nordlet/bank/types/settlements_unlink_bank_response.rb +6 -0
- data/lib/nordlet/bank/types/transactions_match_bank_request_document_type.rb +1 -0
- data/lib/nordlet/bank/types/transactions_match_many_bank_request_allocations_item_document_type.rb +1 -0
- data/lib/nordlet/bank/types/transactions_record_bank_request_document_type.rb +1 -0
- data/lib/nordlet/bank/types/transactions_suggest_matches_bank_response_suggestions_item_document_type.rb +1 -0
- data/lib/nordlet/billing/client.rb +192 -0
- data/lib/nordlet/billing/types/account_get_billing_response.rb +10 -0
- data/lib/nordlet/billing/types/account_get_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/account_get_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/account_get_billing_response_month_to_date.rb +2 -0
- data/lib/nordlet/billing/types/account_get_billing_response_plans_value.rb +2 -2
- data/lib/nordlet/billing/types/account_set_account_type_billing_request.rb +11 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_request_account_type.rb +14 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response.rb +49 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_month_to_date.rb +27 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_plan.rb +15 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_plans_value.rb +19 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_status.rb +15 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_top_up.rb +13 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_request.rb +13 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response.rb +49 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_month_to_date.rb +27 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_plan.rb +15 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_plans_value.rb +19 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_status.rb +15 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_top_up.rb +13 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_request.rb +11 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response.rb +49 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_month_to_date.rb +27 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_plan.rb +15 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_plans_value.rb +19 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_status.rb +15 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_top_up.rb +13 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_response.rb +10 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_response_month_to_date.rb +2 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_response_plans_value.rb +2 -2
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_request.rb +11 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response.rb +49 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_month_to_date.rb +27 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_plan.rb +15 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_plans_value.rb +19 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_status.rb +15 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_top_up.rb +13 -0
- data/lib/nordlet/billing/types/flat_rate_create_billing_request.rb +13 -0
- data/lib/nordlet/billing/types/flat_rate_create_billing_request_locale.rb +15 -0
- data/lib/nordlet/billing/types/flat_rate_create_billing_request_plan.rb +15 -0
- data/lib/nordlet/billing/types/flat_rate_create_billing_response.rb +13 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_request.rb +11 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response.rb +49 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_account_type.rb +14 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_auto_top_up.rb +15 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_month_to_date.rb +27 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_plan.rb +15 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_plans_value.rb +19 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_status.rb +15 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_top_up.rb +13 -0
- data/lib/nordlet/billing/types/topup_create_billing_request.rb +2 -0
- data/lib/nordlet/billing/types/topup_create_billing_request_return_to.rb +14 -0
- data/lib/nordlet/billing/types/usage_list_billing_response_rows_item_metric.rb +1 -0
- data/lib/nordlet/capture/client.rb +5 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_request.rb +6 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_request_opposite_lines_item.rb +35 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_request_opposite_lines_item_quantity.rb +15 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_request_type.rb +14 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response.rb +2 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_capture.rb +2 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_capture_extraction.rb +4 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_capture_extraction_document_type.rb +14 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_capture_extraction_opposite_lines_item.rb +25 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_opposite_invoice.rb +65 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_opposite_invoice_lines_item.rb +45 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_opposite_invoice_payment_status.rb +15 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_opposite_invoice_status.rb +14 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_opposite_invoice_type.rb +14 -0
- data/lib/nordlet/capture/types/documents_extract_capture_response.rb +2 -0
- data/lib/nordlet/capture/types/documents_extract_capture_response_extraction.rb +4 -0
- data/lib/nordlet/capture/types/documents_extract_capture_response_extraction_document_type.rb +14 -0
- data/lib/nordlet/capture/types/documents_extract_capture_response_extraction_opposite_lines_item.rb +25 -0
- data/lib/nordlet/capture/types/documents_get_capture_response.rb +2 -0
- data/lib/nordlet/capture/types/documents_get_capture_response_extraction.rb +4 -0
- data/lib/nordlet/capture/types/documents_get_capture_response_extraction_document_type.rb +14 -0
- data/lib/nordlet/capture/types/documents_get_capture_response_extraction_opposite_lines_item.rb +25 -0
- data/lib/nordlet/capture/types/documents_list_capture_response_rows_item.rb +2 -0
- data/lib/nordlet/capture/types/documents_list_capture_response_rows_item_extraction.rb +4 -0
- data/lib/nordlet/capture/types/documents_list_capture_response_rows_item_extraction_document_type.rb +14 -0
- data/lib/nordlet/capture/types/documents_list_capture_response_rows_item_extraction_opposite_lines_item.rb +25 -0
- data/lib/nordlet/capture/types/documents_upload_capture_response.rb +2 -0
- data/lib/nordlet/capture/types/documents_upload_capture_response_extraction.rb +4 -0
- data/lib/nordlet/capture/types/documents_upload_capture_response_extraction_document_type.rb +14 -0
- data/lib/nordlet/capture/types/documents_upload_capture_response_extraction_opposite_lines_item.rb +25 -0
- data/lib/nordlet/client.rb +10 -0
- data/lib/nordlet/declarations/client.rb +133 -1
- data/lib/nordlet/declarations/types/eu_dac7preview_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/eu_dac7preview_declarations_response.rb +27 -0
- data/lib/nordlet/declarations/types/eu_dac7preview_declarations_response_sellers_item.rb +23 -0
- data/lib/nordlet/declarations/types/eu_dac7xml_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/eu_dac7xml_declarations_response.rb +17 -0
- data/lib/nordlet/declarations/types/eu_digital_reporting_list_declarations_request.rb +13 -0
- data/lib/nordlet/declarations/types/eu_digital_reporting_list_declarations_response.rb +23 -0
- data/lib/nordlet/declarations/types/eu_digital_reporting_list_declarations_response_transactions_item.rb +49 -0
- data/lib/nordlet/declarations/types/eu_digital_reporting_list_declarations_response_transactions_item_article.rb +16 -0
- data/lib/nordlet/declarations/types/eu_digital_reporting_list_declarations_response_transactions_item_direction.rb +14 -0
- data/lib/nordlet/declarations/types/eu_digital_reporting_list_declarations_response_transactions_item_document_type.rb +14 -0
- data/lib/nordlet/declarations/types/eu_digital_reporting_list_declarations_response_transactions_item_lines_item.rb +23 -0
- data/lib/nordlet/declarations/types/eu_own_goods_transfers_compute_declarations_request.rb +13 -0
- data/lib/nordlet/declarations/types/eu_own_goods_transfers_compute_declarations_response.rb +33 -0
- data/lib/nordlet/declarations/types/eu_own_goods_transfers_compute_declarations_response_rows_item.rb +17 -0
- data/lib/nordlet/declarations/types/eu_own_goods_transfers_compute_declarations_response_transfers_item.rb +25 -0
- data/lib/nordlet/inventory/client.rb +32 -0
- data/lib/nordlet/inventory/types/landed_costs_create_inventory_response.rb +2 -0
- data/lib/nordlet/inventory/types/landed_costs_get_inventory_response.rb +2 -0
- data/lib/nordlet/inventory/types/warehouses_create_inventory_request.rb +2 -0
- data/lib/nordlet/inventory/types/warehouses_create_inventory_response.rb +2 -0
- data/lib/nordlet/inventory/types/warehouses_list_inventory_response_rows_item.rb +2 -0
- data/lib/nordlet/inventory/types/warehouses_update_inventory_request.rb +15 -0
- data/lib/nordlet/inventory/types/warehouses_update_inventory_response.rb +21 -0
- data/lib/nordlet/ledger/types/journal_transactions_create_ledger_request.rb +2 -0
- data/lib/nordlet/ledger/types/posting_rules_update_ledger_request_rules_item_key.rb +8 -0
- data/lib/nordlet/partners/types/create_partners_request.rb +0 -4
- data/lib/nordlet/partners/types/create_partners_response.rb +0 -4
- data/lib/nordlet/partners/types/find_or_create_partners_request.rb +0 -4
- data/lib/nordlet/partners/types/find_or_create_partners_response_partner.rb +0 -4
- data/lib/nordlet/partners/types/get_partners_response.rb +0 -4
- data/lib/nordlet/partners/types/list_partners_response_rows_item.rb +0 -4
- data/lib/nordlet/partners/types/update_partners_request.rb +0 -4
- data/lib/nordlet/partners/types/update_partners_response.rb +0 -4
- data/lib/nordlet/payroll/types/runs_approve_payroll_response.rb +2 -0
- data/lib/nordlet/payroll/types/runs_create_payroll_response.rb +2 -0
- data/lib/nordlet/payroll/types/runs_get_payroll_response.rb +2 -0
- data/lib/nordlet/payroll/types/runs_list_payroll_response_rows_item.rb +2 -0
- data/lib/nordlet/payroll/types/runs_reverse_payroll_response.rb +2 -0
- data/lib/nordlet/peppol/client.rb +83 -0
- data/lib/nordlet/peppol/types/participants_lookup_peppol_request.rb +13 -0
- data/lib/nordlet/peppol/types/participants_lookup_peppol_response.rb +23 -0
- data/lib/nordlet/peppol/types/webhooks_peppol_request.rb +13 -0
- data/lib/nordlet/peppol/types/webhooks_peppol_request_provider.rb +15 -0
- data/lib/nordlet/peppol/types/webhooks_peppol_response.rb +11 -0
- data/lib/nordlet/platform_sellers/client.rb +177 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_request.rb +47 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_request_activities_item.rb +31 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_request_activities_item_activity.rb +16 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_request_activities_item_property_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_request_activities_item_property_type.rb +22 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_request_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_request_kind.rb +14 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_request_tax_residences_item.rb +13 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_response.rb +53 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_response_activities_item.rb +33 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_response_activities_item_activity.rb +16 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_response_activities_item_property_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_response_activities_item_property_type.rb +22 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_response_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_response_kind.rb +14 -0
- data/lib/nordlet/platform_sellers/types/create_platform_sellers_response_tax_residences_item.rb +13 -0
- data/lib/nordlet/platform_sellers/types/delete_platform_sellers_request.rb +11 -0
- data/lib/nordlet/platform_sellers/types/delete_platform_sellers_response.rb +13 -0
- data/lib/nordlet/platform_sellers/types/get_platform_sellers_request.rb +11 -0
- data/lib/nordlet/platform_sellers/types/get_platform_sellers_response.rb +53 -0
- data/lib/nordlet/platform_sellers/types/get_platform_sellers_response_activities_item.rb +33 -0
- data/lib/nordlet/platform_sellers/types/get_platform_sellers_response_activities_item_activity.rb +16 -0
- data/lib/nordlet/platform_sellers/types/get_platform_sellers_response_activities_item_property_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/get_platform_sellers_response_activities_item_property_type.rb +22 -0
- data/lib/nordlet/platform_sellers/types/get_platform_sellers_response_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/get_platform_sellers_response_kind.rb +14 -0
- data/lib/nordlet/platform_sellers/types/get_platform_sellers_response_tax_residences_item.rb +13 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_request.rb +19 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_request_filter_item.rb +15 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_request_filter_item_op.rb +18 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_request_filter_item_value.rb +19 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_request_sort_item.rb +13 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_response.rb +21 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_response_rows_item.rb +51 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_response_rows_item_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_response_rows_item_kind.rb +14 -0
- data/lib/nordlet/platform_sellers/types/list_platform_sellers_response_rows_item_tax_residences_item.rb +13 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_request.rb +49 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_request_activities_item.rb +31 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_request_activities_item_activity.rb +16 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_request_activities_item_property_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_request_activities_item_property_type.rb +22 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_request_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_request_kind.rb +14 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_request_tax_residences_item.rb +13 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_response.rb +53 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_response_activities_item.rb +33 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_response_activities_item_activity.rb +16 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_response_activities_item_property_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_response_activities_item_property_type.rb +22 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_response_address.rb +21 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_response_kind.rb +14 -0
- data/lib/nordlet/platform_sellers/types/update_platform_sellers_response_tax_residences_item.rb +13 -0
- data/lib/nordlet/purchases/types/invoices_register_purchases_request.rb +2 -0
- data/lib/nordlet/reference/types/vat_resolve_reference_request.rb +12 -0
- data/lib/nordlet/reference/types/vat_resolve_reference_request_goods_kind.rb +14 -0
- data/lib/nordlet/reference/types/vat_resolve_reference_request_service_kind.rb +14 -0
- data/lib/nordlet/reports/types/online_sales_reports_response_rows_item.rb +2 -0
- data/lib/nordlet/sales/client.rb +205 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_request.rb +57 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_request_document_type.rb +14 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_request_lines_item.rb +25 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_request_supply_type.rb +15 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_request_vat_scheme.rb +21 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_response.rb +63 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_response_document_type.rb +14 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_response_lines_item.rb +25 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_response_supply_type.rb +15 -0
- data/lib/nordlet/sales/types/invoice_templates_delete_sales_request.rb +11 -0
- data/lib/nordlet/sales/types/invoice_templates_delete_sales_response.rb +11 -0
- data/lib/nordlet/sales/types/invoice_templates_get_sales_request.rb +11 -0
- data/lib/nordlet/sales/types/invoice_templates_get_sales_response.rb +63 -0
- data/lib/nordlet/sales/types/invoice_templates_get_sales_response_document_type.rb +14 -0
- data/lib/nordlet/sales/types/invoice_templates_get_sales_response_lines_item.rb +25 -0
- data/lib/nordlet/sales/types/invoice_templates_get_sales_response_supply_type.rb +15 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_request.rb +19 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_request_filter_item.rb +15 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_request_filter_item_op.rb +18 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_request_filter_item_value.rb +19 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_request_sort_item.rb +13 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_response.rb +21 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_response_rows_item.rb +63 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_response_rows_item_document_type.rb +14 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_response_rows_item_lines_item.rb +25 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_response_rows_item_supply_type.rb +15 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_request.rb +59 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_request_document_type.rb +14 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_request_lines_item.rb +25 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_request_supply_type.rb +15 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_request_vat_scheme.rb +21 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_response.rb +63 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_response_document_type.rb +14 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_response_lines_item.rb +25 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_response_supply_type.rb +15 -0
- data/lib/nordlet/sales/types/invoices_apply_advance_sales_request.rb +2 -0
- data/lib/nordlet/sales/types/invoices_apply_advance_sales_response.rb +12 -0
- data/lib/nordlet/sales/types/invoices_create_sales_response.rb +12 -0
- data/lib/nordlet/sales/types/invoices_get_sales_response.rb +12 -0
- data/lib/nordlet/sales/types/invoices_issue_sales_response.rb +12 -0
- data/lib/nordlet/sales/types/invoices_list_sales_response_rows_item.rb +10 -0
- data/lib/nordlet/sales/types/invoices_lock_sales_response.rb +12 -0
- data/lib/nordlet/sales/types/invoices_peppol_send_sales_response.rb +4 -0
- data/lib/nordlet/sales/types/invoices_peppol_send_sales_response_status.rb +16 -0
- data/lib/nordlet/sales/types/invoices_peppol_status_sales_request.rb +11 -0
- data/lib/nordlet/sales/types/invoices_peppol_status_sales_response.rb +17 -0
- data/lib/nordlet/sales/types/invoices_peppol_status_sales_response_status.rb +16 -0
- data/lib/nordlet/sales/types/invoices_unlock_sales_response.rb +12 -0
- data/lib/nordlet/sales/types/invoices_update_sales_response.rb +12 -0
- data/lib/nordlet/version.rb +1 -1
- data/lib/nordlet/webhooks/types/subscriptions_create_webhooks_request_events_item.rb +4 -0
- data/lib/nordlet/webhooks/types/subscriptions_update_webhooks_request_events_item.rb +4 -0
- data/lib/nordlet.rb +216 -0
- data/reference.md +5692 -3356
- metadata +218 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cef62c162fd27612cf4d79742b14dbbd444e8ba9cbd077da6337da8dd3480a25
|
|
4
|
+
data.tar.gz: 1dfc6d30060d06f8a6b4f8bb01a944c72c629a1f13d8992920a168cfd71c366f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 92285d921c655b61639a8e199948b9fe52951729df99174ee83541f8ca4c01c486d4a8d40086459cdb4a59437f77eda4398073222c25feb80d45265e74402d00
|
|
7
|
+
data.tar.gz: 0a0983ff68c8a0db43be91f0c1cd3b162302fd1dca6c87f766bf9a134a720532439c950084717c154919a451b138d5738e5739722011228b1f0b9c443a8e8f51
|
|
@@ -10,6 +10,8 @@ module Nordlet
|
|
|
10
10
|
|
|
11
11
|
field :balance_cents, -> { Integer }, optional: false, nullable: false, api_name: "balanceCents"
|
|
12
12
|
|
|
13
|
+
field :overdraft_allowance_cents, -> { Integer }, optional: false, nullable: false, api_name: "overdraftAllowanceCents"
|
|
14
|
+
|
|
13
15
|
field :trial_ends_at, -> { String }, optional: false, nullable: true, api_name: "trialEndsAt"
|
|
14
16
|
|
|
15
17
|
field :payer_user_id, -> { String }, optional: false, nullable: false, api_name: "payerUserId"
|
|
@@ -17,6 +19,10 @@ module Nordlet
|
|
|
17
19
|
field :payer_email, -> { String }, optional: false, nullable: false, api_name: "payerEmail"
|
|
18
20
|
|
|
19
21
|
field :is_payer, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isPayer"
|
|
22
|
+
|
|
23
|
+
field :plan_chosen, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "planChosen"
|
|
24
|
+
|
|
25
|
+
field :flat_rate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "flatRate"
|
|
20
26
|
end
|
|
21
27
|
end
|
|
22
28
|
end
|
data/lib/nordlet/bank/client.rb
CHANGED
|
@@ -1174,6 +1174,102 @@ module Nordlet
|
|
|
1174
1174
|
end
|
|
1175
1175
|
end
|
|
1176
1176
|
|
|
1177
|
+
# @param request_options [Hash]
|
|
1178
|
+
# @param params [Nordlet::Bank::Types::SecuritiesImportBankRequest]
|
|
1179
|
+
# @option request_options [String] :base_url
|
|
1180
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
1181
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
1182
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
1183
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
1184
|
+
#
|
|
1185
|
+
# @return [Nordlet::Bank::Types::SecuritiesImportBankResponse]
|
|
1186
|
+
def securities_import(request_options: {}, **params)
|
|
1187
|
+
params = Nordlet::Internal::Types::Utils.normalize_keys(params)
|
|
1188
|
+
request = Nordlet::Internal::JSON::Request.new(
|
|
1189
|
+
base_url: request_options[:base_url],
|
|
1190
|
+
method: "POST",
|
|
1191
|
+
path: "v1/bank/securities/import",
|
|
1192
|
+
body: Nordlet::Bank::Types::SecuritiesImportBankRequest.new(params).to_h,
|
|
1193
|
+
request_options: request_options
|
|
1194
|
+
)
|
|
1195
|
+
begin
|
|
1196
|
+
response = @client.send(request)
|
|
1197
|
+
rescue Net::HTTPRequestTimeout
|
|
1198
|
+
raise Nordlet::Errors::TimeoutError
|
|
1199
|
+
end
|
|
1200
|
+
code = response.code.to_i
|
|
1201
|
+
if code.between?(200, 299)
|
|
1202
|
+
Nordlet::Bank::Types::SecuritiesImportBankResponse.load(response.body)
|
|
1203
|
+
else
|
|
1204
|
+
error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
|
|
1205
|
+
raise error_class.new(response.body, code: code)
|
|
1206
|
+
end
|
|
1207
|
+
end
|
|
1208
|
+
|
|
1209
|
+
# @param request_options [Hash]
|
|
1210
|
+
# @param params [Nordlet::Bank::Types::SecuritiesListBankRequest]
|
|
1211
|
+
# @option request_options [String] :base_url
|
|
1212
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
1213
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
1214
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
1215
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
1216
|
+
#
|
|
1217
|
+
# @return [Nordlet::Bank::Types::SecuritiesListBankResponse]
|
|
1218
|
+
def securities_list(request_options: {}, **params)
|
|
1219
|
+
params = Nordlet::Internal::Types::Utils.normalize_keys(params)
|
|
1220
|
+
request = Nordlet::Internal::JSON::Request.new(
|
|
1221
|
+
base_url: request_options[:base_url],
|
|
1222
|
+
method: "POST",
|
|
1223
|
+
path: "v1/bank/securities/list",
|
|
1224
|
+
body: Nordlet::Bank::Types::SecuritiesListBankRequest.new(params).to_h,
|
|
1225
|
+
request_options: request_options
|
|
1226
|
+
)
|
|
1227
|
+
begin
|
|
1228
|
+
response = @client.send(request)
|
|
1229
|
+
rescue Net::HTTPRequestTimeout
|
|
1230
|
+
raise Nordlet::Errors::TimeoutError
|
|
1231
|
+
end
|
|
1232
|
+
code = response.code.to_i
|
|
1233
|
+
if code.between?(200, 299)
|
|
1234
|
+
Nordlet::Bank::Types::SecuritiesListBankResponse.load(response.body)
|
|
1235
|
+
else
|
|
1236
|
+
error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
|
|
1237
|
+
raise error_class.new(response.body, code: code)
|
|
1238
|
+
end
|
|
1239
|
+
end
|
|
1240
|
+
|
|
1241
|
+
# @param request_options [Hash]
|
|
1242
|
+
# @param params [Nordlet::Bank::Types::SecuritiesGetBankRequest]
|
|
1243
|
+
# @option request_options [String] :base_url
|
|
1244
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
1245
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
1246
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
1247
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
1248
|
+
#
|
|
1249
|
+
# @return [Nordlet::Bank::Types::SecuritiesGetBankResponse]
|
|
1250
|
+
def securities_get(request_options: {}, **params)
|
|
1251
|
+
params = Nordlet::Internal::Types::Utils.normalize_keys(params)
|
|
1252
|
+
request = Nordlet::Internal::JSON::Request.new(
|
|
1253
|
+
base_url: request_options[:base_url],
|
|
1254
|
+
method: "POST",
|
|
1255
|
+
path: "v1/bank/securities/get",
|
|
1256
|
+
body: Nordlet::Bank::Types::SecuritiesGetBankRequest.new(params).to_h,
|
|
1257
|
+
request_options: request_options
|
|
1258
|
+
)
|
|
1259
|
+
begin
|
|
1260
|
+
response = @client.send(request)
|
|
1261
|
+
rescue Net::HTTPRequestTimeout
|
|
1262
|
+
raise Nordlet::Errors::TimeoutError
|
|
1263
|
+
end
|
|
1264
|
+
code = response.code.to_i
|
|
1265
|
+
if code.between?(200, 299)
|
|
1266
|
+
Nordlet::Bank::Types::SecuritiesGetBankResponse.load(response.body)
|
|
1267
|
+
else
|
|
1268
|
+
error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
|
|
1269
|
+
raise error_class.new(response.body, code: code)
|
|
1270
|
+
end
|
|
1271
|
+
end
|
|
1272
|
+
|
|
1177
1273
|
# @param request_options [Hash]
|
|
1178
1274
|
# @param params [Nordlet::Bank::Types::FeedsBanksListBankRequest]
|
|
1179
1275
|
# @option request_options [String] :base_url
|
|
@@ -6,6 +6,8 @@ module Nordlet
|
|
|
6
6
|
class AccountsCreateBankRequest < Internal::Types::Model
|
|
7
7
|
field :name, -> { String }, optional: false, nullable: false
|
|
8
8
|
|
|
9
|
+
field :type, -> { Nordlet::Bank::Types::AccountsCreateBankRequestType }, optional: true, nullable: false
|
|
10
|
+
|
|
9
11
|
field :iban, -> { String }, optional: true, nullable: false
|
|
10
12
|
|
|
11
13
|
field :currency, -> { String }, optional: true, nullable: false
|
|
@@ -8,6 +8,8 @@ module Nordlet
|
|
|
8
8
|
|
|
9
9
|
field :name, -> { String }, optional: false, nullable: false
|
|
10
10
|
|
|
11
|
+
field :type, -> { Nordlet::Bank::Types::AccountsCreateBankResponseType }, optional: false, nullable: false
|
|
12
|
+
|
|
11
13
|
field :iban, -> { String }, optional: false, nullable: true
|
|
12
14
|
|
|
13
15
|
field :currency, -> { String }, optional: false, nullable: false
|
|
@@ -8,6 +8,8 @@ module Nordlet
|
|
|
8
8
|
|
|
9
9
|
field :name, -> { String }, optional: false, nullable: false
|
|
10
10
|
|
|
11
|
+
field :type, -> { Nordlet::Bank::Types::AccountsListBankResponseRowsItemType }, optional: false, nullable: false
|
|
12
|
+
|
|
11
13
|
field :iban, -> { String }, optional: false, nullable: true
|
|
12
14
|
|
|
13
15
|
field :currency, -> { String }, optional: false, nullable: false
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
module AccountsListBankResponseRowsItemType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
BANK = "bank"
|
|
10
|
+
STRIPE = "stripe"
|
|
11
|
+
BROKER = "broker"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -8,6 +8,8 @@ module Nordlet
|
|
|
8
8
|
|
|
9
9
|
field :name, -> { String }, optional: true, nullable: false
|
|
10
10
|
|
|
11
|
+
field :type, -> { Nordlet::Bank::Types::AccountsUpdateBankRequestType }, optional: true, nullable: false
|
|
12
|
+
|
|
11
13
|
field :iban, -> { String }, optional: true, nullable: false
|
|
12
14
|
|
|
13
15
|
field :account_code, -> { String }, optional: true, nullable: false, api_name: "accountCode"
|
|
@@ -8,6 +8,8 @@ module Nordlet
|
|
|
8
8
|
|
|
9
9
|
field :name, -> { String }, optional: false, nullable: false
|
|
10
10
|
|
|
11
|
+
field :type, -> { Nordlet::Bank::Types::AccountsUpdateBankResponseType }, optional: false, nullable: false
|
|
12
|
+
|
|
11
13
|
field :iban, -> { String }, optional: false, nullable: true
|
|
12
14
|
|
|
13
15
|
field :currency, -> { String }, optional: false, nullable: false
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class SecuritiesGetBankResponse < Internal::Types::Model
|
|
7
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :bank_account_id, -> { String }, optional: false, nullable: false, api_name: "bankAccountId"
|
|
10
|
+
|
|
11
|
+
field :broker, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :broker_account, -> { String }, optional: false, nullable: false, api_name: "brokerAccount"
|
|
14
|
+
|
|
15
|
+
field :period, -> { String }, optional: false, nullable: false
|
|
16
|
+
|
|
17
|
+
field :file_name, -> { String }, optional: false, nullable: true, api_name: "fileName"
|
|
18
|
+
|
|
19
|
+
field :operation_count, -> { Integer }, optional: false, nullable: false, api_name: "operationCount"
|
|
20
|
+
|
|
21
|
+
field :duplicate_count, -> { Integer }, optional: false, nullable: false, api_name: "duplicateCount"
|
|
22
|
+
|
|
23
|
+
field :posted_count, -> { Integer }, optional: false, nullable: false, api_name: "postedCount"
|
|
24
|
+
|
|
25
|
+
field :not_posted_count, -> { Integer }, optional: false, nullable: false, api_name: "notPostedCount"
|
|
26
|
+
|
|
27
|
+
field :realized_total, -> { String }, optional: false, nullable: false, api_name: "realizedTotal"
|
|
28
|
+
|
|
29
|
+
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
30
|
+
|
|
31
|
+
field :operations, -> { Internal::Types::Array[Nordlet::Bank::Types::SecuritiesGetBankResponseOperationsItem] }, optional: false, nullable: false
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class SecuritiesGetBankResponseOperationsItem < Internal::Types::Model
|
|
7
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :kind, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :date, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :time, -> { String }, optional: false, nullable: true
|
|
14
|
+
|
|
15
|
+
field :asset_category, -> { String }, optional: false, nullable: true, api_name: "assetCategory"
|
|
16
|
+
|
|
17
|
+
field :symbol, -> { String }, optional: false, nullable: true
|
|
18
|
+
|
|
19
|
+
field :description, -> { String }, optional: false, nullable: true
|
|
20
|
+
|
|
21
|
+
field :currency, -> { String }, optional: false, nullable: false
|
|
22
|
+
|
|
23
|
+
field :quantity, -> { String }, optional: false, nullable: true
|
|
24
|
+
|
|
25
|
+
field :price, -> { String }, optional: false, nullable: true
|
|
26
|
+
|
|
27
|
+
field :amount, -> { String }, optional: false, nullable: true
|
|
28
|
+
|
|
29
|
+
field :fee, -> { String }, optional: false, nullable: true
|
|
30
|
+
|
|
31
|
+
field :broker_realized, -> { String }, optional: false, nullable: true, api_name: "brokerRealized"
|
|
32
|
+
|
|
33
|
+
field :code, -> { String }, optional: false, nullable: true
|
|
34
|
+
|
|
35
|
+
field :fx_rate, -> { String }, optional: false, nullable: true, api_name: "fxRate"
|
|
36
|
+
|
|
37
|
+
field :cash_base, -> { String }, optional: false, nullable: true, api_name: "cashBase"
|
|
38
|
+
|
|
39
|
+
field :cost_base, -> { String }, optional: false, nullable: true, api_name: "costBase"
|
|
40
|
+
|
|
41
|
+
field :realized_base, -> { String }, optional: false, nullable: true, api_name: "realizedBase"
|
|
42
|
+
|
|
43
|
+
field :status, -> { Nordlet::Bank::Types::SecuritiesGetBankResponseOperationsItemStatus }, optional: false, nullable: false
|
|
44
|
+
|
|
45
|
+
field :note, -> { String }, optional: false, nullable: true
|
|
46
|
+
|
|
47
|
+
field :journal_transaction_id, -> { String }, optional: false, nullable: true, api_name: "journalTransactionId"
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class SecuritiesImportBankRequest < Internal::Types::Model
|
|
7
|
+
field :bank_account_id, -> { String }, optional: false, nullable: false, api_name: "bankAccountId"
|
|
8
|
+
|
|
9
|
+
field :content, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :file_name, -> { String }, optional: true, nullable: false, api_name: "fileName"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class SecuritiesImportBankResponse < Internal::Types::Model
|
|
7
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :bank_account_id, -> { String }, optional: false, nullable: false, api_name: "bankAccountId"
|
|
10
|
+
|
|
11
|
+
field :broker, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :broker_account, -> { String }, optional: false, nullable: false, api_name: "brokerAccount"
|
|
14
|
+
|
|
15
|
+
field :period, -> { String }, optional: false, nullable: false
|
|
16
|
+
|
|
17
|
+
field :file_name, -> { String }, optional: false, nullable: true, api_name: "fileName"
|
|
18
|
+
|
|
19
|
+
field :operation_count, -> { Integer }, optional: false, nullable: false, api_name: "operationCount"
|
|
20
|
+
|
|
21
|
+
field :duplicate_count, -> { Integer }, optional: false, nullable: false, api_name: "duplicateCount"
|
|
22
|
+
|
|
23
|
+
field :posted_count, -> { Integer }, optional: false, nullable: false, api_name: "postedCount"
|
|
24
|
+
|
|
25
|
+
field :not_posted_count, -> { Integer }, optional: false, nullable: false, api_name: "notPostedCount"
|
|
26
|
+
|
|
27
|
+
field :realized_total, -> { String }, optional: false, nullable: false, api_name: "realizedTotal"
|
|
28
|
+
|
|
29
|
+
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class SecuritiesListBankRequest < Internal::Types::Model
|
|
7
|
+
field :page, -> { Integer }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :page_size, -> { Integer }, optional: true, nullable: false, api_name: "pageSize"
|
|
10
|
+
|
|
11
|
+
field :sort, -> { Internal::Types::Array[Nordlet::Bank::Types::SecuritiesListBankRequestSortItem] }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :filter, -> { Internal::Types::Array[Nordlet::Bank::Types::SecuritiesListBankRequestFilterItem] }, optional: true, nullable: false
|
|
14
|
+
|
|
15
|
+
field :totals, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class SecuritiesListBankRequestFilterItem < Internal::Types::Model
|
|
7
|
+
field :field, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :op, -> { Nordlet::Bank::Types::SecuritiesListBankRequestFilterItemOp }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :value, -> { Nordlet::Bank::Types::SecuritiesListBankRequestFilterItemValue }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
module SecuritiesListBankRequestFilterItemOp
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
EQ = "eq"
|
|
10
|
+
NE = "ne"
|
|
11
|
+
CONTAINS = "contains"
|
|
12
|
+
GTE = "gte"
|
|
13
|
+
LTE = "lte"
|
|
14
|
+
IN = "in"
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class SecuritiesListBankRequestFilterItemValue < Internal::Types::Model
|
|
7
|
+
extend Nordlet::Internal::Types::Union
|
|
8
|
+
|
|
9
|
+
member -> { String }
|
|
10
|
+
|
|
11
|
+
member -> { Integer }
|
|
12
|
+
|
|
13
|
+
member -> { Internal::Types::Boolean }
|
|
14
|
+
|
|
15
|
+
member -> { Internal::Types::Array[Nordlet::Bank::Types::SecuritiesListBankRequestFilterItemValueThreeItem] }
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class SecuritiesListBankRequestFilterItemValueThreeItem < Internal::Types::Model
|
|
7
|
+
extend Nordlet::Internal::Types::Union
|
|
8
|
+
|
|
9
|
+
member -> { String }
|
|
10
|
+
|
|
11
|
+
member -> { Integer }
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class SecuritiesListBankRequestSortItem < Internal::Types::Model
|
|
7
|
+
field :field, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :dir, -> { Nordlet::Bank::Types::SecuritiesListBankRequestSortItemDir }, optional: true, 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 Bank
|
|
5
|
+
module Types
|
|
6
|
+
class SecuritiesListBankResponse < Internal::Types::Model
|
|
7
|
+
field :rows, -> { Internal::Types::Array[Nordlet::Bank::Types::SecuritiesListBankResponseRowsItem] }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :page, -> { Integer }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :page_size, -> { Integer }, optional: false, nullable: false, api_name: "pageSize"
|
|
12
|
+
|
|
13
|
+
field :total, -> { Integer }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :totals, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
|
|
16
|
+
|
|
17
|
+
field :totals_by_currency, -> { Internal::Types::Hash[String, Internal::Types::Hash[String, String]] }, optional: true, nullable: false, api_name: "totalsByCurrency"
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class SecuritiesListBankResponseRowsItem < Internal::Types::Model
|
|
7
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :bank_account_id, -> { String }, optional: false, nullable: false, api_name: "bankAccountId"
|
|
10
|
+
|
|
11
|
+
field :broker, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :broker_account, -> { String }, optional: false, nullable: false, api_name: "brokerAccount"
|
|
14
|
+
|
|
15
|
+
field :period, -> { String }, optional: false, nullable: false
|
|
16
|
+
|
|
17
|
+
field :file_name, -> { String }, optional: false, nullable: true, api_name: "fileName"
|
|
18
|
+
|
|
19
|
+
field :operation_count, -> { Integer }, optional: false, nullable: false, api_name: "operationCount"
|
|
20
|
+
|
|
21
|
+
field :duplicate_count, -> { Integer }, optional: false, nullable: false, api_name: "duplicateCount"
|
|
22
|
+
|
|
23
|
+
field :posted_count, -> { Integer }, optional: false, nullable: false, api_name: "postedCount"
|
|
24
|
+
|
|
25
|
+
field :not_posted_count, -> { Integer }, optional: false, nullable: false, api_name: "notPostedCount"
|
|
26
|
+
|
|
27
|
+
field :realized_total, -> { String }, optional: false, nullable: false, api_name: "realizedTotal"
|
|
28
|
+
|
|
29
|
+
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -33,6 +33,14 @@ module Nordlet
|
|
|
33
33
|
field :matched_invoice_id, -> { String }, optional: false, nullable: true, api_name: "matchedInvoiceId"
|
|
34
34
|
|
|
35
35
|
field :match_status, -> { Nordlet::Bank::Types::SettlementsCommissionBankResponseMatchStatus }, optional: false, nullable: false, api_name: "matchStatus"
|
|
36
|
+
|
|
37
|
+
field :clearing_bank_account_id, -> { String }, optional: false, nullable: true, api_name: "clearingBankAccountId"
|
|
38
|
+
|
|
39
|
+
field :clearing_booked, -> { String }, optional: false, nullable: true, api_name: "clearingBooked"
|
|
40
|
+
|
|
41
|
+
field :clearing_difference, -> { String }, optional: false, nullable: true, api_name: "clearingDifference"
|
|
42
|
+
|
|
43
|
+
field :clearing_unposted, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "clearingUnposted"
|
|
36
44
|
end
|
|
37
45
|
end
|
|
38
46
|
end
|
|
@@ -36,6 +36,12 @@ module Nordlet
|
|
|
36
36
|
|
|
37
37
|
field :unmatched_count, -> { Integer }, optional: false, nullable: false, api_name: "unmatchedCount"
|
|
38
38
|
|
|
39
|
+
field :cleared_net, -> { String }, optional: false, nullable: true, api_name: "clearedNet"
|
|
40
|
+
|
|
41
|
+
field :clearing_difference, -> { String }, optional: false, nullable: true, api_name: "clearingDifference"
|
|
42
|
+
|
|
43
|
+
field :clearing_open_count, -> { Integer }, optional: false, nullable: false, api_name: "clearingOpenCount"
|
|
44
|
+
|
|
39
45
|
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
40
46
|
|
|
41
47
|
field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt"
|
|
@@ -33,6 +33,14 @@ module Nordlet
|
|
|
33
33
|
field :matched_invoice_id, -> { String }, optional: false, nullable: true, api_name: "matchedInvoiceId"
|
|
34
34
|
|
|
35
35
|
field :match_status, -> { Nordlet::Bank::Types::SettlementsGetBankResponseLinesItemMatchStatus }, optional: false, nullable: false, api_name: "matchStatus"
|
|
36
|
+
|
|
37
|
+
field :clearing_bank_account_id, -> { String }, optional: false, nullable: true, api_name: "clearingBankAccountId"
|
|
38
|
+
|
|
39
|
+
field :clearing_booked, -> { String }, optional: false, nullable: true, api_name: "clearingBooked"
|
|
40
|
+
|
|
41
|
+
field :clearing_difference, -> { String }, optional: false, nullable: true, api_name: "clearingDifference"
|
|
42
|
+
|
|
43
|
+
field :clearing_unposted, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "clearingUnposted"
|
|
36
44
|
end
|
|
37
45
|
end
|
|
38
46
|
end
|