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
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class AccountSetAutoTopUpBillingResponse < Internal::Types::Model
|
|
7
|
+
field :plan, -> { Nordlet::Billing::Types::AccountSetAutoTopUpBillingResponsePlan }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :account_type, -> { Nordlet::Billing::Types::AccountSetAutoTopUpBillingResponseAccountType }, optional: false, nullable: false, api_name: "accountType"
|
|
10
|
+
|
|
11
|
+
field :status, -> { Nordlet::Billing::Types::AccountSetAutoTopUpBillingResponseStatus }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :balance_cents, -> { Integer }, optional: false, nullable: false, api_name: "balanceCents"
|
|
14
|
+
|
|
15
|
+
field :trial_ends_at, -> { String }, optional: false, nullable: true, api_name: "trialEndsAt"
|
|
16
|
+
|
|
17
|
+
field :first_top_up_at, -> { String }, optional: false, nullable: true, api_name: "firstTopUpAt"
|
|
18
|
+
|
|
19
|
+
field :last_charged_date, -> { String }, optional: false, nullable: true, api_name: "lastChargedDate"
|
|
20
|
+
|
|
21
|
+
field :payments_configured, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "paymentsConfigured"
|
|
22
|
+
|
|
23
|
+
field :has_payment_account, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasPaymentAccount"
|
|
24
|
+
|
|
25
|
+
field :has_subscription, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasSubscription"
|
|
26
|
+
|
|
27
|
+
field :payment_failed_at, -> { String }, optional: false, nullable: true, api_name: "paymentFailedAt"
|
|
28
|
+
|
|
29
|
+
field :payment_failed_invoice_url, -> { String }, optional: false, nullable: true, api_name: "paymentFailedInvoiceUrl"
|
|
30
|
+
|
|
31
|
+
field :month_to_date, -> { Nordlet::Billing::Types::AccountSetAutoTopUpBillingResponseMonthToDate }, optional: false, nullable: false, api_name: "monthToDate"
|
|
32
|
+
|
|
33
|
+
field :plans, -> { Internal::Types::Hash[String, Nordlet::Billing::Types::AccountSetAutoTopUpBillingResponsePlansValue] }, optional: false, nullable: false
|
|
34
|
+
|
|
35
|
+
field :api_request_eur, -> { String }, optional: false, nullable: false, api_name: "apiRequestEur"
|
|
36
|
+
|
|
37
|
+
field :top_up, -> { Nordlet::Billing::Types::AccountSetAutoTopUpBillingResponseTopUp }, optional: false, nullable: false, api_name: "topUp"
|
|
38
|
+
|
|
39
|
+
field :auto_top_up, -> { Nordlet::Billing::Types::AccountSetAutoTopUpBillingResponseAutoTopUp }, optional: false, nullable: false, api_name: "autoTopUp"
|
|
40
|
+
|
|
41
|
+
field :overdraft_cap_cents, -> { Integer }, optional: false, nullable: false, api_name: "overdraftCapCents"
|
|
42
|
+
|
|
43
|
+
field :overdraft_cap_max_cents, -> { Integer }, optional: false, nullable: false, api_name: "overdraftCapMaxCents"
|
|
44
|
+
|
|
45
|
+
field :trial_days, -> { Integer }, optional: false, nullable: false, api_name: "trialDays"
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
module AccountSetAutoTopUpBillingResponseAccountType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
FLAT_RATE = "flat_rate"
|
|
10
|
+
PER_REQUEST = "per_request"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class AccountSetAutoTopUpBillingResponseAutoTopUp < Internal::Types::Model
|
|
7
|
+
field :enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :amount_cents, -> { Integer }, optional: false, nullable: false, api_name: "amountCents"
|
|
10
|
+
|
|
11
|
+
field :pending, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class AccountSetAutoTopUpBillingResponseMonthToDate < Internal::Types::Model
|
|
7
|
+
field :from, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :to, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :api_requests, -> { Integer }, optional: false, nullable: false, api_name: "apiRequests"
|
|
12
|
+
|
|
13
|
+
field :sale_invoices, -> { Integer }, optional: false, nullable: false, api_name: "saleInvoices"
|
|
14
|
+
|
|
15
|
+
field :ocr_pages, -> { Integer }, optional: false, nullable: false, api_name: "ocrPages"
|
|
16
|
+
|
|
17
|
+
field :file_bytes, -> { Integer }, optional: false, nullable: false, api_name: "fileBytes"
|
|
18
|
+
|
|
19
|
+
field :database_bytes, -> { Integer }, optional: false, nullable: false, api_name: "databaseBytes"
|
|
20
|
+
|
|
21
|
+
field :archived_companies, -> { Integer }, optional: false, nullable: false, api_name: "archivedCompanies"
|
|
22
|
+
|
|
23
|
+
field :estimated_today_cents, -> { Integer }, optional: false, nullable: false, api_name: "estimatedTodayCents"
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
module AccountSetAutoTopUpBillingResponsePlan
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
STARTER = "starter"
|
|
10
|
+
BUSINESS = "business"
|
|
11
|
+
SCALE = "scale"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class AccountSetAutoTopUpBillingResponsePlansValue < Internal::Types::Model
|
|
7
|
+
field :monthly_fee_eur, -> { String }, optional: false, nullable: false, api_name: "monthlyFeeEur"
|
|
8
|
+
|
|
9
|
+
field :included_invoices, -> { Integer }, optional: false, nullable: false, api_name: "includedInvoices"
|
|
10
|
+
|
|
11
|
+
field :invoice_overage_eur, -> { String }, optional: false, nullable: false, api_name: "invoiceOverageEur"
|
|
12
|
+
|
|
13
|
+
field :included_database_bytes, -> { Integer }, optional: false, nullable: false, api_name: "includedDatabaseBytes"
|
|
14
|
+
|
|
15
|
+
field :included_file_bytes, -> { Integer }, optional: false, nullable: false, api_name: "includedFileBytes"
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
module AccountSetAutoTopUpBillingResponseStatus
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
TRIAL = "trial"
|
|
10
|
+
ACTIVE = "active"
|
|
11
|
+
SUSPENDED = "suspended"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class AccountSetAutoTopUpBillingResponseTopUp < Internal::Types::Model
|
|
7
|
+
field :min_cents, -> { Integer }, optional: false, nullable: false, api_name: "minCents"
|
|
8
|
+
|
|
9
|
+
field :max_cents, -> { Integer }, optional: false, nullable: false, api_name: "maxCents"
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class AccountSetOverdraftCapBillingRequest < Internal::Types::Model
|
|
7
|
+
field :cap_cents, -> { Integer }, optional: false, nullable: false, api_name: "capCents"
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class AccountSetOverdraftCapBillingResponse < Internal::Types::Model
|
|
7
|
+
field :plan, -> { Nordlet::Billing::Types::AccountSetOverdraftCapBillingResponsePlan }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :account_type, -> { Nordlet::Billing::Types::AccountSetOverdraftCapBillingResponseAccountType }, optional: false, nullable: false, api_name: "accountType"
|
|
10
|
+
|
|
11
|
+
field :status, -> { Nordlet::Billing::Types::AccountSetOverdraftCapBillingResponseStatus }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :balance_cents, -> { Integer }, optional: false, nullable: false, api_name: "balanceCents"
|
|
14
|
+
|
|
15
|
+
field :trial_ends_at, -> { String }, optional: false, nullable: true, api_name: "trialEndsAt"
|
|
16
|
+
|
|
17
|
+
field :first_top_up_at, -> { String }, optional: false, nullable: true, api_name: "firstTopUpAt"
|
|
18
|
+
|
|
19
|
+
field :last_charged_date, -> { String }, optional: false, nullable: true, api_name: "lastChargedDate"
|
|
20
|
+
|
|
21
|
+
field :payments_configured, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "paymentsConfigured"
|
|
22
|
+
|
|
23
|
+
field :has_payment_account, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasPaymentAccount"
|
|
24
|
+
|
|
25
|
+
field :has_subscription, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasSubscription"
|
|
26
|
+
|
|
27
|
+
field :payment_failed_at, -> { String }, optional: false, nullable: true, api_name: "paymentFailedAt"
|
|
28
|
+
|
|
29
|
+
field :payment_failed_invoice_url, -> { String }, optional: false, nullable: true, api_name: "paymentFailedInvoiceUrl"
|
|
30
|
+
|
|
31
|
+
field :month_to_date, -> { Nordlet::Billing::Types::AccountSetOverdraftCapBillingResponseMonthToDate }, optional: false, nullable: false, api_name: "monthToDate"
|
|
32
|
+
|
|
33
|
+
field :plans, -> { Internal::Types::Hash[String, Nordlet::Billing::Types::AccountSetOverdraftCapBillingResponsePlansValue] }, optional: false, nullable: false
|
|
34
|
+
|
|
35
|
+
field :api_request_eur, -> { String }, optional: false, nullable: false, api_name: "apiRequestEur"
|
|
36
|
+
|
|
37
|
+
field :top_up, -> { Nordlet::Billing::Types::AccountSetOverdraftCapBillingResponseTopUp }, optional: false, nullable: false, api_name: "topUp"
|
|
38
|
+
|
|
39
|
+
field :auto_top_up, -> { Nordlet::Billing::Types::AccountSetOverdraftCapBillingResponseAutoTopUp }, optional: false, nullable: false, api_name: "autoTopUp"
|
|
40
|
+
|
|
41
|
+
field :overdraft_cap_cents, -> { Integer }, optional: false, nullable: false, api_name: "overdraftCapCents"
|
|
42
|
+
|
|
43
|
+
field :overdraft_cap_max_cents, -> { Integer }, optional: false, nullable: false, api_name: "overdraftCapMaxCents"
|
|
44
|
+
|
|
45
|
+
field :trial_days, -> { Integer }, optional: false, nullable: false, api_name: "trialDays"
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
module AccountSetOverdraftCapBillingResponseAccountType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
FLAT_RATE = "flat_rate"
|
|
10
|
+
PER_REQUEST = "per_request"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class AccountSetOverdraftCapBillingResponseAutoTopUp < Internal::Types::Model
|
|
7
|
+
field :enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :amount_cents, -> { Integer }, optional: false, nullable: false, api_name: "amountCents"
|
|
10
|
+
|
|
11
|
+
field :pending, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class AccountSetOverdraftCapBillingResponseMonthToDate < Internal::Types::Model
|
|
7
|
+
field :from, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :to, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :api_requests, -> { Integer }, optional: false, nullable: false, api_name: "apiRequests"
|
|
12
|
+
|
|
13
|
+
field :sale_invoices, -> { Integer }, optional: false, nullable: false, api_name: "saleInvoices"
|
|
14
|
+
|
|
15
|
+
field :ocr_pages, -> { Integer }, optional: false, nullable: false, api_name: "ocrPages"
|
|
16
|
+
|
|
17
|
+
field :file_bytes, -> { Integer }, optional: false, nullable: false, api_name: "fileBytes"
|
|
18
|
+
|
|
19
|
+
field :database_bytes, -> { Integer }, optional: false, nullable: false, api_name: "databaseBytes"
|
|
20
|
+
|
|
21
|
+
field :archived_companies, -> { Integer }, optional: false, nullable: false, api_name: "archivedCompanies"
|
|
22
|
+
|
|
23
|
+
field :estimated_today_cents, -> { Integer }, optional: false, nullable: false, api_name: "estimatedTodayCents"
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
module AccountSetOverdraftCapBillingResponsePlan
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
STARTER = "starter"
|
|
10
|
+
BUSINESS = "business"
|
|
11
|
+
SCALE = "scale"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class AccountSetOverdraftCapBillingResponsePlansValue < Internal::Types::Model
|
|
7
|
+
field :monthly_fee_eur, -> { String }, optional: false, nullable: false, api_name: "monthlyFeeEur"
|
|
8
|
+
|
|
9
|
+
field :included_invoices, -> { Integer }, optional: false, nullable: false, api_name: "includedInvoices"
|
|
10
|
+
|
|
11
|
+
field :invoice_overage_eur, -> { String }, optional: false, nullable: false, api_name: "invoiceOverageEur"
|
|
12
|
+
|
|
13
|
+
field :included_database_bytes, -> { Integer }, optional: false, nullable: false, api_name: "includedDatabaseBytes"
|
|
14
|
+
|
|
15
|
+
field :included_file_bytes, -> { Integer }, optional: false, nullable: false, api_name: "includedFileBytes"
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
module AccountSetOverdraftCapBillingResponseStatus
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
TRIAL = "trial"
|
|
10
|
+
ACTIVE = "active"
|
|
11
|
+
SUSPENDED = "suspended"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class AccountSetOverdraftCapBillingResponseTopUp < Internal::Types::Model
|
|
7
|
+
field :min_cents, -> { Integer }, optional: false, nullable: false, api_name: "minCents"
|
|
8
|
+
|
|
9
|
+
field :max_cents, -> { Integer }, optional: false, nullable: false, api_name: "maxCents"
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -6,6 +6,8 @@ module Nordlet
|
|
|
6
6
|
class AccountSetPlanBillingResponse < Internal::Types::Model
|
|
7
7
|
field :plan, -> { Nordlet::Billing::Types::AccountSetPlanBillingResponsePlan }, optional: false, nullable: false
|
|
8
8
|
|
|
9
|
+
field :account_type, -> { Nordlet::Billing::Types::AccountSetPlanBillingResponseAccountType }, optional: false, nullable: false, api_name: "accountType"
|
|
10
|
+
|
|
9
11
|
field :status, -> { Nordlet::Billing::Types::AccountSetPlanBillingResponseStatus }, optional: false, nullable: false
|
|
10
12
|
|
|
11
13
|
field :balance_cents, -> { Integer }, optional: false, nullable: false, api_name: "balanceCents"
|
|
@@ -30,8 +32,16 @@ module Nordlet
|
|
|
30
32
|
|
|
31
33
|
field :plans, -> { Internal::Types::Hash[String, Nordlet::Billing::Types::AccountSetPlanBillingResponsePlansValue] }, optional: false, nullable: false
|
|
32
34
|
|
|
35
|
+
field :api_request_eur, -> { String }, optional: false, nullable: false, api_name: "apiRequestEur"
|
|
36
|
+
|
|
33
37
|
field :top_up, -> { Nordlet::Billing::Types::AccountSetPlanBillingResponseTopUp }, optional: false, nullable: false, api_name: "topUp"
|
|
34
38
|
|
|
39
|
+
field :auto_top_up, -> { Nordlet::Billing::Types::AccountSetPlanBillingResponseAutoTopUp }, optional: false, nullable: false, api_name: "autoTopUp"
|
|
40
|
+
|
|
41
|
+
field :overdraft_cap_cents, -> { Integer }, optional: false, nullable: false, api_name: "overdraftCapCents"
|
|
42
|
+
|
|
43
|
+
field :overdraft_cap_max_cents, -> { Integer }, optional: false, nullable: false, api_name: "overdraftCapMaxCents"
|
|
44
|
+
|
|
35
45
|
field :trial_days, -> { Integer }, optional: false, nullable: false, api_name: "trialDays"
|
|
36
46
|
end
|
|
37
47
|
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
module AccountSetPlanBillingResponseAccountType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
FLAT_RATE = "flat_rate"
|
|
10
|
+
PER_REQUEST = "per_request"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class AccountSetPlanBillingResponseAutoTopUp < Internal::Types::Model
|
|
7
|
+
field :enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :amount_cents, -> { Integer }, optional: false, nullable: false, api_name: "amountCents"
|
|
10
|
+
|
|
11
|
+
field :pending, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -10,6 +10,8 @@ module Nordlet
|
|
|
10
10
|
|
|
11
11
|
field :api_requests, -> { Integer }, optional: false, nullable: false, api_name: "apiRequests"
|
|
12
12
|
|
|
13
|
+
field :sale_invoices, -> { Integer }, optional: false, nullable: false, api_name: "saleInvoices"
|
|
14
|
+
|
|
13
15
|
field :ocr_pages, -> { Integer }, optional: false, nullable: false, api_name: "ocrPages"
|
|
14
16
|
|
|
15
17
|
field :file_bytes, -> { Integer }, optional: false, nullable: false, api_name: "fileBytes"
|
|
@@ -6,9 +6,9 @@ module Nordlet
|
|
|
6
6
|
class AccountSetPlanBillingResponsePlansValue < Internal::Types::Model
|
|
7
7
|
field :monthly_fee_eur, -> { String }, optional: false, nullable: false, api_name: "monthlyFeeEur"
|
|
8
8
|
|
|
9
|
-
field :
|
|
9
|
+
field :included_invoices, -> { Integer }, optional: false, nullable: false, api_name: "includedInvoices"
|
|
10
10
|
|
|
11
|
-
field :
|
|
11
|
+
field :invoice_overage_eur, -> { String }, optional: false, nullable: false, api_name: "invoiceOverageEur"
|
|
12
12
|
|
|
13
13
|
field :included_database_bytes, -> { Integer }, optional: false, nullable: false, api_name: "includedDatabaseBytes"
|
|
14
14
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class FlatRateConfirmBillingRequest < Internal::Types::Model
|
|
7
|
+
field :session_id, -> { String }, optional: false, nullable: false, api_name: "sessionId"
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class FlatRateConfirmBillingResponse < Internal::Types::Model
|
|
7
|
+
field :plan, -> { Nordlet::Billing::Types::FlatRateConfirmBillingResponsePlan }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :account_type, -> { Nordlet::Billing::Types::FlatRateConfirmBillingResponseAccountType }, optional: false, nullable: false, api_name: "accountType"
|
|
10
|
+
|
|
11
|
+
field :status, -> { Nordlet::Billing::Types::FlatRateConfirmBillingResponseStatus }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :balance_cents, -> { Integer }, optional: false, nullable: false, api_name: "balanceCents"
|
|
14
|
+
|
|
15
|
+
field :trial_ends_at, -> { String }, optional: false, nullable: true, api_name: "trialEndsAt"
|
|
16
|
+
|
|
17
|
+
field :first_top_up_at, -> { String }, optional: false, nullable: true, api_name: "firstTopUpAt"
|
|
18
|
+
|
|
19
|
+
field :last_charged_date, -> { String }, optional: false, nullable: true, api_name: "lastChargedDate"
|
|
20
|
+
|
|
21
|
+
field :payments_configured, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "paymentsConfigured"
|
|
22
|
+
|
|
23
|
+
field :has_payment_account, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasPaymentAccount"
|
|
24
|
+
|
|
25
|
+
field :has_subscription, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "hasSubscription"
|
|
26
|
+
|
|
27
|
+
field :payment_failed_at, -> { String }, optional: false, nullable: true, api_name: "paymentFailedAt"
|
|
28
|
+
|
|
29
|
+
field :payment_failed_invoice_url, -> { String }, optional: false, nullable: true, api_name: "paymentFailedInvoiceUrl"
|
|
30
|
+
|
|
31
|
+
field :month_to_date, -> { Nordlet::Billing::Types::FlatRateConfirmBillingResponseMonthToDate }, optional: false, nullable: false, api_name: "monthToDate"
|
|
32
|
+
|
|
33
|
+
field :plans, -> { Internal::Types::Hash[String, Nordlet::Billing::Types::FlatRateConfirmBillingResponsePlansValue] }, optional: false, nullable: false
|
|
34
|
+
|
|
35
|
+
field :api_request_eur, -> { String }, optional: false, nullable: false, api_name: "apiRequestEur"
|
|
36
|
+
|
|
37
|
+
field :top_up, -> { Nordlet::Billing::Types::FlatRateConfirmBillingResponseTopUp }, optional: false, nullable: false, api_name: "topUp"
|
|
38
|
+
|
|
39
|
+
field :auto_top_up, -> { Nordlet::Billing::Types::FlatRateConfirmBillingResponseAutoTopUp }, optional: false, nullable: false, api_name: "autoTopUp"
|
|
40
|
+
|
|
41
|
+
field :overdraft_cap_cents, -> { Integer }, optional: false, nullable: false, api_name: "overdraftCapCents"
|
|
42
|
+
|
|
43
|
+
field :overdraft_cap_max_cents, -> { Integer }, optional: false, nullable: false, api_name: "overdraftCapMaxCents"
|
|
44
|
+
|
|
45
|
+
field :trial_days, -> { Integer }, optional: false, nullable: false, api_name: "trialDays"
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
module FlatRateConfirmBillingResponseAccountType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
FLAT_RATE = "flat_rate"
|
|
10
|
+
PER_REQUEST = "per_request"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class FlatRateConfirmBillingResponseAutoTopUp < Internal::Types::Model
|
|
7
|
+
field :enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :amount_cents, -> { Integer }, optional: false, nullable: false, api_name: "amountCents"
|
|
10
|
+
|
|
11
|
+
field :pending, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class FlatRateConfirmBillingResponseMonthToDate < Internal::Types::Model
|
|
7
|
+
field :from, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :to, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :api_requests, -> { Integer }, optional: false, nullable: false, api_name: "apiRequests"
|
|
12
|
+
|
|
13
|
+
field :sale_invoices, -> { Integer }, optional: false, nullable: false, api_name: "saleInvoices"
|
|
14
|
+
|
|
15
|
+
field :ocr_pages, -> { Integer }, optional: false, nullable: false, api_name: "ocrPages"
|
|
16
|
+
|
|
17
|
+
field :file_bytes, -> { Integer }, optional: false, nullable: false, api_name: "fileBytes"
|
|
18
|
+
|
|
19
|
+
field :database_bytes, -> { Integer }, optional: false, nullable: false, api_name: "databaseBytes"
|
|
20
|
+
|
|
21
|
+
field :archived_companies, -> { Integer }, optional: false, nullable: false, api_name: "archivedCompanies"
|
|
22
|
+
|
|
23
|
+
field :estimated_today_cents, -> { Integer }, optional: false, nullable: false, api_name: "estimatedTodayCents"
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
module FlatRateConfirmBillingResponsePlan
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
STARTER = "starter"
|
|
10
|
+
BUSINESS = "business"
|
|
11
|
+
SCALE = "scale"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class FlatRateConfirmBillingResponsePlansValue < Internal::Types::Model
|
|
7
|
+
field :monthly_fee_eur, -> { String }, optional: false, nullable: false, api_name: "monthlyFeeEur"
|
|
8
|
+
|
|
9
|
+
field :included_invoices, -> { Integer }, optional: false, nullable: false, api_name: "includedInvoices"
|
|
10
|
+
|
|
11
|
+
field :invoice_overage_eur, -> { String }, optional: false, nullable: false, api_name: "invoiceOverageEur"
|
|
12
|
+
|
|
13
|
+
field :included_database_bytes, -> { Integer }, optional: false, nullable: false, api_name: "includedDatabaseBytes"
|
|
14
|
+
|
|
15
|
+
field :included_file_bytes, -> { Integer }, optional: false, nullable: false, api_name: "includedFileBytes"
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
module FlatRateConfirmBillingResponseStatus
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
TRIAL = "trial"
|
|
10
|
+
ACTIVE = "active"
|
|
11
|
+
SUSPENDED = "suspended"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Billing
|
|
5
|
+
module Types
|
|
6
|
+
class FlatRateConfirmBillingResponseTopUp < Internal::Types::Model
|
|
7
|
+
field :min_cents, -> { Integer }, optional: false, nullable: false, api_name: "minCents"
|
|
8
|
+
|
|
9
|
+
field :max_cents, -> { Integer }, optional: false, nullable: false, api_name: "maxCents"
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|