nordlet 0.2.0 → 0.2.2
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/post_v1account_companies_create_request.rb +2 -0
- data/lib/nordlet/account/types/post_v1account_companies_profile_response.rb +2 -0
- data/lib/nordlet/account/types/post_v1account_companies_update_request.rb +2 -0
- data/lib/nordlet/account/types/post_v1account_companies_update_response.rb +2 -0
- data/lib/nordlet/account/types/post_v1account_me_response.rb +2 -0
- data/lib/nordlet/account/types/post_v1account_me_response_billing.rb +17 -0
- data/lib/nordlet/account/types/post_v1account_me_response_billing_status.rb +15 -0
- data/lib/nordlet/bank/client.rb +448 -0
- data/lib/nordlet/bank/types/post_v1bank_direct_debits_export_request.rb +15 -0
- data/lib/nordlet/bank/types/post_v1bank_direct_debits_export_response.rb +19 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_accounts_link_request.rb +17 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_accounts_link_request_create_bank_account.rb +13 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_accounts_link_response.rb +29 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_banks_list_request.rb +11 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_banks_list_response.rb +13 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_banks_list_response_banks_item.rb +19 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_banks_list_response_banks_item_psu_types_item.rb +14 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_complete_request.rb +13 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_complete_response.rb +35 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_complete_response_accounts_item.rb +29 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_complete_response_psu_type.rb +14 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_complete_response_status.rb +17 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_delete_request.rb +11 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_delete_response.rb +11 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_get_request.rb +11 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_get_response.rb +35 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_get_response_accounts_item.rb +29 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_get_response_psu_type.rb +14 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_get_response_status.rb +17 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_list_request.rb +17 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_list_request_filter_item.rb +15 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_list_request_filter_item_op.rb +18 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_list_request_filter_item_value.rb +19 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_list_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_list_request_sort_item.rb +13 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_list_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_list_response.rb +17 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_list_response_rows_item.rb +33 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_list_response_rows_item_psu_type.rb +14 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_list_response_rows_item_status.rb +17 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_start_request.rb +21 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_start_request_psu_type.rb +14 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_connections_start_response.rb +17 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_sync_request.rb +17 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_sync_response.rb +17 -0
- data/lib/nordlet/bank/types/post_v1bank_feeds_sync_response_accounts_item.rb +15 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_cancel_request.rb +11 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_cancel_response.rb +41 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_cancel_response_scheme.rb +14 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_cancel_response_sequence_type.rb +14 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_cancel_response_status.rb +15 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_create_request.rb +27 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_create_request_scheme.rb +14 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_create_request_sequence_type.rb +14 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_create_response.rb +41 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_create_response_scheme.rb +14 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_create_response_sequence_type.rb +14 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_create_response_status.rb +15 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_get_request.rb +11 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_get_response.rb +41 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_get_response_scheme.rb +14 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_get_response_sequence_type.rb +14 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_get_response_status.rb +15 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_list_request.rb +17 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_list_request_filter_item.rb +15 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_list_request_filter_item_op.rb +18 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_list_request_filter_item_value.rb +19 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_list_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_list_request_sort_item.rb +13 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_list_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_list_response.rb +17 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_list_response_rows_item.rb +41 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_list_response_rows_item_scheme.rb +14 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_list_response_rows_item_sequence_type.rb +14 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_list_response_rows_item_status.rb +15 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_update_request.rb +17 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_update_response.rb +41 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_update_response_scheme.rb +14 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_update_response_sequence_type.rb +14 -0
- data/lib/nordlet/bank/types/post_v1bank_mandates_update_response_status.rb +15 -0
- data/lib/nordlet/billing/client.rb +174 -0
- data/lib/nordlet/billing/types/post_v1billing_account_get_request.rb +9 -0
- data/lib/nordlet/billing/types/post_v1billing_account_get_response.rb +31 -0
- data/lib/nordlet/billing/types/post_v1billing_account_get_response_month_to_date.rb +25 -0
- data/lib/nordlet/billing/types/post_v1billing_account_get_response_plan.rb +15 -0
- data/lib/nordlet/billing/types/post_v1billing_account_get_response_plans_value.rb +19 -0
- data/lib/nordlet/billing/types/post_v1billing_account_get_response_status.rb +15 -0
- data/lib/nordlet/billing/types/post_v1billing_account_get_response_top_up.rb +13 -0
- data/lib/nordlet/billing/types/post_v1billing_account_set_plan_request.rb +11 -0
- data/lib/nordlet/billing/types/post_v1billing_account_set_plan_request_plan.rb +15 -0
- data/lib/nordlet/billing/types/post_v1billing_account_set_plan_response.rb +31 -0
- data/lib/nordlet/billing/types/post_v1billing_account_set_plan_response_month_to_date.rb +25 -0
- data/lib/nordlet/billing/types/post_v1billing_account_set_plan_response_plan.rb +15 -0
- data/lib/nordlet/billing/types/post_v1billing_account_set_plan_response_plans_value.rb +19 -0
- data/lib/nordlet/billing/types/post_v1billing_account_set_plan_response_status.rb +15 -0
- data/lib/nordlet/billing/types/post_v1billing_account_set_plan_response_top_up.rb +13 -0
- data/lib/nordlet/billing/types/post_v1billing_topup_create_request.rb +13 -0
- data/lib/nordlet/billing/types/post_v1billing_topup_create_request_locale.rb +15 -0
- data/lib/nordlet/billing/types/post_v1billing_topup_create_response.rb +13 -0
- data/lib/nordlet/billing/types/post_v1billing_transactions_list_request.rb +11 -0
- data/lib/nordlet/billing/types/post_v1billing_transactions_list_response.rb +11 -0
- data/lib/nordlet/billing/types/post_v1billing_transactions_list_response_rows_item.rb +25 -0
- data/lib/nordlet/billing/types/post_v1billing_transactions_list_response_rows_item_type.rb +17 -0
- data/lib/nordlet/billing/types/post_v1billing_usage_list_request.rb +13 -0
- data/lib/nordlet/billing/types/post_v1billing_usage_list_response.rb +11 -0
- data/lib/nordlet/billing/types/post_v1billing_usage_list_response_rows_item.rb +17 -0
- data/lib/nordlet/billing/types/post_v1billing_usage_list_response_rows_item_metric.rb +16 -0
- data/lib/nordlet/capture/client.rb +206 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_confirm_request.rb +27 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_confirm_request_lines_item.rb +31 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_confirm_request_lines_item_quantity.rb +15 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_confirm_request_new_supplier.rb +17 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_confirm_response.rb +13 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_confirm_response_capture.rb +39 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_confirm_response_capture_extraction.rb +29 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_confirm_response_capture_extraction_lines_item.rb +25 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_confirm_response_capture_extraction_supplier.rb +19 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_confirm_response_capture_status.rb +16 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_confirm_response_invoice.rb +51 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_confirm_response_invoice_lines_item.rb +41 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_confirm_response_invoice_payment_status.rb +15 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_confirm_response_invoice_status.rb +14 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_confirm_response_invoice_type.rb +14 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_delete_request.rb +11 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_delete_response.rb +11 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_extract_request.rb +11 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_extract_response.rb +41 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_extract_response_extraction.rb +29 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_extract_response_extraction_lines_item.rb +25 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_extract_response_extraction_supplier.rb +19 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_extract_response_status.rb +16 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_get_request.rb +11 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_get_response.rb +41 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_get_response_extraction.rb +29 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_get_response_extraction_lines_item.rb +25 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_get_response_extraction_supplier.rb +19 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_get_response_status.rb +16 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_list_request.rb +17 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_list_request_filter_item.rb +15 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_list_request_filter_item_op.rb +18 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_list_request_filter_item_value.rb +19 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_list_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_list_request_sort_item.rb +13 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_list_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_list_response.rb +17 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_list_response_rows_item.rb +39 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_list_response_rows_item_extraction.rb +29 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_list_response_rows_item_extraction_lines_item.rb +25 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_list_response_rows_item_extraction_supplier.rb +19 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_list_response_rows_item_status.rb +16 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_upload_request.rb +15 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_upload_response.rb +41 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_upload_response_extraction.rb +29 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_upload_response_extraction_lines_item.rb +25 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_upload_response_extraction_supplier.rb +19 -0
- data/lib/nordlet/capture/types/post_v1capture_documents_upload_response_status.rb +16 -0
- data/lib/nordlet/catalog/types/post_v1catalog_items_create_request.rb +2 -0
- data/lib/nordlet/catalog/types/post_v1catalog_items_create_request_tracking.rb +15 -0
- data/lib/nordlet/catalog/types/post_v1catalog_items_create_response.rb +2 -0
- data/lib/nordlet/catalog/types/post_v1catalog_items_create_response_tracking.rb +15 -0
- data/lib/nordlet/catalog/types/post_v1catalog_items_get_response.rb +2 -0
- data/lib/nordlet/catalog/types/post_v1catalog_items_get_response_tracking.rb +15 -0
- data/lib/nordlet/catalog/types/post_v1catalog_items_list_response_rows_item.rb +2 -0
- data/lib/nordlet/catalog/types/post_v1catalog_items_list_response_rows_item_tracking.rb +15 -0
- data/lib/nordlet/catalog/types/post_v1catalog_items_update_request.rb +2 -0
- data/lib/nordlet/catalog/types/post_v1catalog_items_update_request_tracking.rb +15 -0
- data/lib/nordlet/catalog/types/post_v1catalog_items_update_response.rb +2 -0
- data/lib/nordlet/catalog/types/post_v1catalog_items_update_response_tracking.rb +15 -0
- data/lib/nordlet/client.rb +25 -0
- data/lib/nordlet/consolidation/client.rb +172 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_candidates_request.rb +11 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_candidates_response.rb +11 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_candidates_response_rows_item.rb +27 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_candidates_response_rows_item_matched_on.rb +14 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_links_list_request.rb +11 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_links_list_response.rb +11 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_links_list_response_rows_item.rb +25 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_links_remove_request.rb +13 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_links_remove_response.rb +11 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_links_set_request.rb +15 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_links_set_response.rb +19 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_report_request.rb +15 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_report_response.rb +15 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_report_response_directions_item.rb +23 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_report_response_directions_item_documents_item.rb +27 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_report_response_directions_item_documents_item_counterpa_4ce182.rb +14 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_report_response_directions_item_documents_item_counterpa_c19d51.rb +15 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_report_response_directions_item_documents_item_counterpart.rb +19 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_report_response_directions_item_documents_item_match.rb +15 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_report_response_directions_item_documents_item_payment_status.rb +15 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_report_response_directions_item_documents_item_type.rb +14 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_report_response_directions_item_totals_item.rb +23 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_report_response_directions_item_unmatched_purchases_item.rb +21 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_intercompany_report_response_directions_item_unmatched_purchases_item_status.rb +14 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_report_response.rb +2 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_report_response_cash_flow.rb +23 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_report_response_cash_flow_financing.rb +17 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_report_response_cash_flow_financing_rows_item.rb +17 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_report_response_cash_flow_investing.rb +17 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_report_response_cash_flow_investing_rows_item.rb +17 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_report_response_cash_flow_operating.rb +17 -0
- data/lib/nordlet/consolidation/types/post_v1consolidation_report_response_cash_flow_operating_rows_item.rb +17 -0
- data/lib/nordlet/declarations/client.rb +36 -0
- data/lib/nordlet/declarations/types/post_v1declarations_pl_jpk_v7m_generate_request.rb +19 -0
- data/lib/nordlet/declarations/types/post_v1declarations_pl_jpk_v7m_generate_response.rb +25 -0
- data/lib/nordlet/declarations/types/post_v1declarations_pl_jpk_v7m_generate_response_counts.rb +13 -0
- data/lib/nordlet/declarations/types/post_v1declarations_pl_jpk_v7m_generate_response_declaration_item.rb +15 -0
- data/lib/nordlet/fleet/client.rb +270 -0
- data/lib/nordlet/fleet/types/post_v1fleet_assignments_create_request.rb +23 -0
- data/lib/nordlet/fleet/types/post_v1fleet_assignments_create_response.rb +31 -0
- data/lib/nordlet/fleet/types/post_v1fleet_assignments_end_request.rb +13 -0
- data/lib/nordlet/fleet/types/post_v1fleet_assignments_end_response.rb +31 -0
- data/lib/nordlet/fleet/types/post_v1fleet_assignments_list_request.rb +17 -0
- data/lib/nordlet/fleet/types/post_v1fleet_assignments_list_request_filter_item.rb +15 -0
- data/lib/nordlet/fleet/types/post_v1fleet_assignments_list_request_filter_item_op.rb +18 -0
- data/lib/nordlet/fleet/types/post_v1fleet_assignments_list_request_filter_item_value.rb +19 -0
- data/lib/nordlet/fleet/types/post_v1fleet_assignments_list_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/fleet/types/post_v1fleet_assignments_list_request_sort_item.rb +13 -0
- data/lib/nordlet/fleet/types/post_v1fleet_assignments_list_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/fleet/types/post_v1fleet_assignments_list_response.rb +17 -0
- data/lib/nordlet/fleet/types/post_v1fleet_assignments_list_response_rows_item.rb +31 -0
- data/lib/nordlet/fleet/types/post_v1fleet_natura_preview_request.rb +13 -0
- data/lib/nordlet/fleet/types/post_v1fleet_natura_preview_response.rb +13 -0
- data/lib/nordlet/fleet/types/post_v1fleet_natura_preview_response_rows_item.rb +29 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_create_request.rb +33 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_create_request_fuel_type.rb +18 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_create_response.rb +41 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_create_response_current_assignment.rb +21 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_create_response_status.rb +15 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_get_request.rb +11 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_get_response.rb +41 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_get_response_current_assignment.rb +21 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_get_response_status.rb +15 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_list_request.rb +17 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_list_request_filter_item.rb +15 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_list_request_filter_item_op.rb +18 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_list_request_filter_item_value.rb +19 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_list_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_list_request_sort_item.rb +13 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_list_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_list_response.rb +17 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_list_response_rows_item.rb +41 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_list_response_rows_item_current_assignment.rb +21 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_list_response_rows_item_status.rb +15 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_update_request.rb +37 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_update_request_fuel_type.rb +18 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_update_request_status.rb +15 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_update_response.rb +41 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_update_response_current_assignment.rb +21 -0
- data/lib/nordlet/fleet/types/post_v1fleet_vehicles_update_response_status.rb +15 -0
- data/lib/nordlet/inventory/client.rb +352 -0
- data/lib/nordlet/inventory/types/post_v1inventory_landed_costs_create_request.rb +23 -0
- data/lib/nordlet/inventory/types/post_v1inventory_landed_costs_create_request_method.rb +14 -0
- data/lib/nordlet/inventory/types/post_v1inventory_landed_costs_create_response.rb +27 -0
- data/lib/nordlet/inventory/types/post_v1inventory_landed_costs_create_response_lines_item.rb +15 -0
- data/lib/nordlet/inventory/types/post_v1inventory_landed_costs_create_response_method.rb +14 -0
- data/lib/nordlet/inventory/types/post_v1inventory_landed_costs_get_request.rb +11 -0
- data/lib/nordlet/inventory/types/post_v1inventory_landed_costs_get_response.rb +27 -0
- data/lib/nordlet/inventory/types/post_v1inventory_landed_costs_get_response_lines_item.rb +15 -0
- data/lib/nordlet/inventory/types/post_v1inventory_landed_costs_get_response_method.rb +14 -0
- data/lib/nordlet/inventory/types/post_v1inventory_landed_costs_list_request.rb +17 -0
- data/lib/nordlet/inventory/types/post_v1inventory_landed_costs_list_request_filter_item.rb +15 -0
- data/lib/nordlet/inventory/types/post_v1inventory_landed_costs_list_request_filter_item_op.rb +18 -0
- data/lib/nordlet/inventory/types/post_v1inventory_landed_costs_list_request_filter_item_value.rb +19 -0
- data/lib/nordlet/inventory/types/post_v1inventory_landed_costs_list_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/inventory/types/post_v1inventory_landed_costs_list_request_sort_item.rb +13 -0
- data/lib/nordlet/inventory/types/post_v1inventory_landed_costs_list_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/inventory/types/post_v1inventory_landed_costs_list_response.rb +17 -0
- data/lib/nordlet/inventory/types/post_v1inventory_landed_costs_list_response_rows_item.rb +25 -0
- data/lib/nordlet/inventory/types/post_v1inventory_landed_costs_list_response_rows_item_method.rb +14 -0
- data/lib/nordlet/inventory/types/post_v1inventory_lots_get_request.rb +11 -0
- data/lib/nordlet/inventory/types/post_v1inventory_lots_get_response.rb +25 -0
- data/lib/nordlet/inventory/types/post_v1inventory_lots_get_response_movements_item.rb +37 -0
- data/lib/nordlet/inventory/types/post_v1inventory_lots_get_response_movements_item_direction.rb +14 -0
- data/lib/nordlet/inventory/types/post_v1inventory_lots_list_request.rb +17 -0
- data/lib/nordlet/inventory/types/post_v1inventory_lots_list_request_filter_item.rb +15 -0
- data/lib/nordlet/inventory/types/post_v1inventory_lots_list_request_filter_item_op.rb +18 -0
- data/lib/nordlet/inventory/types/post_v1inventory_lots_list_request_filter_item_value.rb +19 -0
- data/lib/nordlet/inventory/types/post_v1inventory_lots_list_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/inventory/types/post_v1inventory_lots_list_request_sort_item.rb +13 -0
- data/lib/nordlet/inventory/types/post_v1inventory_lots_list_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/inventory/types/post_v1inventory_lots_list_response.rb +17 -0
- data/lib/nordlet/inventory/types/post_v1inventory_lots_list_response_rows_item.rb +23 -0
- data/lib/nordlet/inventory/types/post_v1inventory_lots_update_request.rb +15 -0
- data/lib/nordlet/inventory/types/post_v1inventory_lots_update_response.rb +23 -0
- data/lib/nordlet/inventory/types/post_v1inventory_reorder_rules_check_request.rb +9 -0
- data/lib/nordlet/inventory/types/post_v1inventory_reorder_rules_check_response.rb +11 -0
- data/lib/nordlet/inventory/types/post_v1inventory_reorder_rules_check_response_rows_item.rb +25 -0
- data/lib/nordlet/inventory/types/post_v1inventory_reorder_rules_create_request.rb +21 -0
- data/lib/nordlet/inventory/types/post_v1inventory_reorder_rules_create_response.rb +27 -0
- data/lib/nordlet/inventory/types/post_v1inventory_reorder_rules_delete_request.rb +11 -0
- data/lib/nordlet/inventory/types/post_v1inventory_reorder_rules_delete_response.rb +11 -0
- data/lib/nordlet/inventory/types/post_v1inventory_reorder_rules_list_request.rb +17 -0
- data/lib/nordlet/inventory/types/post_v1inventory_reorder_rules_list_request_filter_item.rb +15 -0
- data/lib/nordlet/inventory/types/post_v1inventory_reorder_rules_list_request_filter_item_op.rb +18 -0
- data/lib/nordlet/inventory/types/post_v1inventory_reorder_rules_list_request_filter_item_value.rb +19 -0
- data/lib/nordlet/inventory/types/post_v1inventory_reorder_rules_list_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/inventory/types/post_v1inventory_reorder_rules_list_request_sort_item.rb +13 -0
- data/lib/nordlet/inventory/types/post_v1inventory_reorder_rules_list_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/inventory/types/post_v1inventory_reorder_rules_list_response.rb +17 -0
- data/lib/nordlet/inventory/types/post_v1inventory_reorder_rules_list_response_rows_item.rb +27 -0
- data/lib/nordlet/inventory/types/post_v1inventory_reorder_rules_update_request.rb +19 -0
- data/lib/nordlet/inventory/types/post_v1inventory_reorder_rules_update_response.rb +27 -0
- data/lib/nordlet/inventory/types/post_v1inventory_stock_movements_list_response_rows_item.rb +2 -0
- data/lib/nordlet/inventory/types/post_v1inventory_stock_receive_request.rb +4 -0
- data/lib/nordlet/inventory/types/post_v1inventory_stock_take_request_lines_item.rb +4 -0
- data/lib/nordlet/inventory/types/post_v1inventory_stock_transfer_request.rb +2 -0
- data/lib/nordlet/inventory/types/post_v1inventory_stock_write_off_request.rb +2 -0
- data/lib/nordlet/ledger/types/post_v1ledger_journal_transactions_create_request_entries_item.rb +2 -0
- data/lib/nordlet/ledger/types/post_v1ledger_journal_transactions_get_response_entries_item.rb +2 -0
- data/lib/nordlet/ledger/types/post_v1ledger_posting_rules_update_request_rules_item_key.rb +2 -0
- data/lib/nordlet/migration/client.rb +86 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_request.rb +33 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_request_accounts_item.rb +19 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_request_accounts_item_type.rb +17 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_request_asset_groups_item.rb +21 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_request_fixed_assets_item.rb +31 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_request_items_item.rb +27 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_request_items_item_type.rb +14 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_request_journal_item.rb +17 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_request_journal_item_entries_item.rb +17 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_request_open_payables_item.rb +29 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_request_open_receivables_item.rb +29 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_request_opening_balances.rb +15 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_request_opening_balances_entries_item.rb +17 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_request_partners_item.rb +31 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_request_partners_item_address.rb +17 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_request_partners_item_type.rb +14 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_request_stock_item.rb +21 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_response.rb +37 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_response_accounts.rb +13 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_response_asset_groups.rb +13 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_response_fixed_assets.rb +15 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_response_items.rb +13 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_response_journal.rb +13 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_response_number_series_item.rb +15 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_response_open_payables.rb +13 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_response_open_receivables.rb +13 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_response_opening_balances.rb +21 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_response_partners.rb +13 -0
- data/lib/nordlet/migration/types/post_v1migration_books_import_response_stock.rb +13 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_request.rb +33 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_request_accounts_item.rb +19 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_request_accounts_item_type.rb +17 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_request_asset_groups_item.rb +21 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_request_fixed_assets_item.rb +31 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_request_items_item.rb +27 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_request_items_item_type.rb +14 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_request_journal_item.rb +17 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_request_journal_item_entries_item.rb +17 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_request_open_payables_item.rb +29 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_request_open_receivables_item.rb +29 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_request_opening_balances.rb +15 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_request_opening_balances_entries_item.rb +17 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_request_partners_item.rb +31 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_request_partners_item_address.rb +17 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_request_partners_item_type.rb +14 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_request_stock_item.rb +21 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_response.rb +37 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_response_accounts.rb +13 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_response_asset_groups.rb +13 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_response_fixed_assets.rb +15 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_response_items.rb +13 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_response_journal.rb +13 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_response_number_series_item.rb +15 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_response_open_payables.rb +13 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_response_open_receivables.rb +13 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_response_opening_balances.rb +21 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_response_partners.rb +13 -0
- data/lib/nordlet/migration/types/post_v1migration_books_validate_response_stock.rb +13 -0
- data/lib/nordlet/partners/client.rb +64 -0
- data/lib/nordlet/partners/types/post_v1partners_vat_reviews_list_request.rb +17 -0
- data/lib/nordlet/partners/types/post_v1partners_vat_reviews_list_request_filter_item.rb +15 -0
- data/lib/nordlet/partners/types/post_v1partners_vat_reviews_list_request_filter_item_op.rb +18 -0
- data/lib/nordlet/partners/types/post_v1partners_vat_reviews_list_request_filter_item_value.rb +19 -0
- data/lib/nordlet/partners/types/post_v1partners_vat_reviews_list_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/partners/types/post_v1partners_vat_reviews_list_request_sort_item.rb +13 -0
- data/lib/nordlet/partners/types/post_v1partners_vat_reviews_list_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/partners/types/post_v1partners_vat_reviews_list_response.rb +17 -0
- data/lib/nordlet/partners/types/post_v1partners_vat_reviews_list_response_rows_item.rb +31 -0
- data/lib/nordlet/partners/types/post_v1partners_vat_reviews_list_response_rows_item_details.rb +19 -0
- data/lib/nordlet/partners/types/post_v1partners_vat_reviews_list_response_rows_item_reason.rb +15 -0
- data/lib/nordlet/partners/types/post_v1partners_vat_reviews_list_response_rows_item_resolution.rb +17 -0
- data/lib/nordlet/partners/types/post_v1partners_vat_reviews_list_response_rows_item_status.rb +14 -0
- data/lib/nordlet/partners/types/post_v1partners_vat_reviews_resolve_request.rb +15 -0
- data/lib/nordlet/partners/types/post_v1partners_vat_reviews_resolve_request_resolution.rb +15 -0
- data/lib/nordlet/partners/types/post_v1partners_vat_reviews_resolve_response.rb +31 -0
- data/lib/nordlet/partners/types/post_v1partners_vat_reviews_resolve_response_details.rb +19 -0
- data/lib/nordlet/partners/types/post_v1partners_vat_reviews_resolve_response_reason.rb +15 -0
- data/lib/nordlet/partners/types/post_v1partners_vat_reviews_resolve_response_resolution.rb +17 -0
- data/lib/nordlet/partners/types/post_v1partners_vat_reviews_resolve_response_status.rb +14 -0
- data/lib/nordlet/payroll/types/post_v1payroll_runs_create_request.rb +2 -0
- data/lib/nordlet/payroll/types/post_v1payroll_runs_create_response_lines_item.rb +2 -0
- data/lib/nordlet/payroll/types/post_v1payroll_runs_get_response_lines_item.rb +2 -0
- data/lib/nordlet/production/client.rb +448 -0
- data/lib/nordlet/production/types/post_v1production_boms_create_request.rb +2 -0
- data/lib/nordlet/production/types/post_v1production_boms_create_request_lines_item.rb +2 -0
- data/lib/nordlet/production/types/post_v1production_boms_create_response.rb +2 -0
- data/lib/nordlet/production/types/post_v1production_boms_create_response_lines_item.rb +2 -0
- data/lib/nordlet/production/types/post_v1production_boms_get_response.rb +2 -0
- data/lib/nordlet/production/types/post_v1production_boms_get_response_lines_item.rb +2 -0
- data/lib/nordlet/production/types/post_v1production_boms_list_response_rows_item.rb +2 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_cancel_request.rb +11 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_cancel_response.rb +31 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_cancel_response_status.rb +15 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_cancel_response_type.rb +14 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_complete_request.rb +19 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_complete_response.rb +31 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_complete_response_status.rb +15 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_complete_response_type.rb +14 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_create_request.rb +19 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_create_request_type.rb +14 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_create_response.rb +31 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_create_response_status.rb +15 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_create_response_type.rb +14 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_list_request.rb +17 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_list_request_filter_item.rb +15 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_list_request_filter_item_op.rb +18 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_list_request_filter_item_value.rb +19 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_list_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_list_request_sort_item.rb +13 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_list_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_list_response.rb +17 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_list_response_rows_item.rb +31 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_list_response_rows_item_status.rb +15 -0
- data/lib/nordlet/production/types/post_v1production_maintenance_list_response_rows_item_type.rb +14 -0
- data/lib/nordlet/production/types/post_v1production_orders_complete_request.rb +2 -0
- data/lib/nordlet/production/types/post_v1production_orders_complete_response.rb +10 -0
- data/lib/nordlet/production/types/post_v1production_orders_create_request.rb +2 -0
- data/lib/nordlet/production/types/post_v1production_orders_create_response.rb +14 -0
- data/lib/nordlet/production/types/post_v1production_orders_create_response_operations_item.rb +27 -0
- data/lib/nordlet/production/types/post_v1production_orders_create_response_quality_checks_item.rb +27 -0
- data/lib/nordlet/production/types/post_v1production_orders_create_response_quality_checks_item_result.rb +15 -0
- data/lib/nordlet/production/types/post_v1production_orders_get_response.rb +14 -0
- data/lib/nordlet/production/types/post_v1production_orders_get_response_operations_item.rb +27 -0
- data/lib/nordlet/production/types/post_v1production_orders_get_response_quality_checks_item.rb +27 -0
- data/lib/nordlet/production/types/post_v1production_orders_get_response_quality_checks_item_result.rb +15 -0
- data/lib/nordlet/production/types/post_v1production_orders_list_response_rows_item.rb +10 -0
- data/lib/nordlet/production/types/post_v1production_orders_record_operation_request.rb +13 -0
- data/lib/nordlet/production/types/post_v1production_orders_record_operation_response.rb +27 -0
- data/lib/nordlet/production/types/post_v1production_quality_checks_add_request.rb +15 -0
- data/lib/nordlet/production/types/post_v1production_quality_checks_add_response.rb +27 -0
- data/lib/nordlet/production/types/post_v1production_quality_checks_add_response_result.rb +15 -0
- data/lib/nordlet/production/types/post_v1production_quality_checks_list_request.rb +17 -0
- data/lib/nordlet/production/types/post_v1production_quality_checks_list_request_filter_item.rb +15 -0
- data/lib/nordlet/production/types/post_v1production_quality_checks_list_request_filter_item_op.rb +18 -0
- data/lib/nordlet/production/types/post_v1production_quality_checks_list_request_filter_item_value.rb +19 -0
- data/lib/nordlet/production/types/post_v1production_quality_checks_list_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/production/types/post_v1production_quality_checks_list_request_sort_item.rb +13 -0
- data/lib/nordlet/production/types/post_v1production_quality_checks_list_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/production/types/post_v1production_quality_checks_list_response.rb +17 -0
- data/lib/nordlet/production/types/post_v1production_quality_checks_list_response_rows_item.rb +27 -0
- data/lib/nordlet/production/types/post_v1production_quality_checks_list_response_rows_item_result.rb +15 -0
- data/lib/nordlet/production/types/post_v1production_quality_checks_record_request.rb +15 -0
- data/lib/nordlet/production/types/post_v1production_quality_checks_record_request_result.rb +14 -0
- data/lib/nordlet/production/types/post_v1production_quality_checks_record_response.rb +27 -0
- data/lib/nordlet/production/types/post_v1production_quality_checks_record_response_result.rb +15 -0
- data/lib/nordlet/production/types/post_v1production_routings_create_request.rb +17 -0
- data/lib/nordlet/production/types/post_v1production_routings_create_request_operations_item.rb +23 -0
- data/lib/nordlet/production/types/post_v1production_routings_create_response.rb +23 -0
- data/lib/nordlet/production/types/post_v1production_routings_create_response_operations_item.rb +25 -0
- data/lib/nordlet/production/types/post_v1production_routings_get_request.rb +11 -0
- data/lib/nordlet/production/types/post_v1production_routings_get_response.rb +23 -0
- data/lib/nordlet/production/types/post_v1production_routings_get_response_operations_item.rb +25 -0
- data/lib/nordlet/production/types/post_v1production_routings_list_request.rb +17 -0
- data/lib/nordlet/production/types/post_v1production_routings_list_request_filter_item.rb +15 -0
- data/lib/nordlet/production/types/post_v1production_routings_list_request_filter_item_op.rb +18 -0
- data/lib/nordlet/production/types/post_v1production_routings_list_request_filter_item_value.rb +19 -0
- data/lib/nordlet/production/types/post_v1production_routings_list_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/production/types/post_v1production_routings_list_request_sort_item.rb +13 -0
- data/lib/nordlet/production/types/post_v1production_routings_list_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/production/types/post_v1production_routings_list_response.rb +17 -0
- data/lib/nordlet/production/types/post_v1production_routings_list_response_rows_item.rb +21 -0
- data/lib/nordlet/production/types/post_v1production_work_centers_create_request.rb +21 -0
- data/lib/nordlet/production/types/post_v1production_work_centers_create_response.rb +29 -0
- data/lib/nordlet/production/types/post_v1production_work_centers_list_request.rb +17 -0
- data/lib/nordlet/production/types/post_v1production_work_centers_list_request_filter_item.rb +15 -0
- data/lib/nordlet/production/types/post_v1production_work_centers_list_request_filter_item_op.rb +18 -0
- data/lib/nordlet/production/types/post_v1production_work_centers_list_request_filter_item_value.rb +19 -0
- data/lib/nordlet/production/types/post_v1production_work_centers_list_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/production/types/post_v1production_work_centers_list_request_sort_item.rb +13 -0
- data/lib/nordlet/production/types/post_v1production_work_centers_list_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/production/types/post_v1production_work_centers_list_response.rb +17 -0
- data/lib/nordlet/production/types/post_v1production_work_centers_list_response_rows_item.rb +29 -0
- data/lib/nordlet/production/types/post_v1production_work_centers_update_request.rb +25 -0
- data/lib/nordlet/production/types/post_v1production_work_centers_update_response.rb +29 -0
- data/lib/nordlet/projects/client.rb +334 -0
- data/lib/nordlet/projects/types/post_v1projects_create_request.rb +17 -0
- data/lib/nordlet/projects/types/post_v1projects_create_response.rb +25 -0
- data/lib/nordlet/projects/types/post_v1projects_create_response_status.rb +15 -0
- data/lib/nordlet/projects/types/post_v1projects_get_request.rb +11 -0
- data/lib/nordlet/projects/types/post_v1projects_get_response.rb +25 -0
- data/lib/nordlet/projects/types/post_v1projects_get_response_status.rb +15 -0
- data/lib/nordlet/projects/types/post_v1projects_list_request.rb +17 -0
- data/lib/nordlet/projects/types/post_v1projects_list_request_filter_item.rb +15 -0
- data/lib/nordlet/projects/types/post_v1projects_list_request_filter_item_op.rb +18 -0
- data/lib/nordlet/projects/types/post_v1projects_list_request_filter_item_value.rb +19 -0
- data/lib/nordlet/projects/types/post_v1projects_list_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/projects/types/post_v1projects_list_request_sort_item.rb +13 -0
- data/lib/nordlet/projects/types/post_v1projects_list_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/projects/types/post_v1projects_list_response.rb +17 -0
- data/lib/nordlet/projects/types/post_v1projects_list_response_rows_item.rb +25 -0
- data/lib/nordlet/projects/types/post_v1projects_list_response_rows_item_status.rb +15 -0
- data/lib/nordlet/projects/types/post_v1projects_report_request.rb +15 -0
- data/lib/nordlet/projects/types/post_v1projects_report_response.rb +11 -0
- data/lib/nordlet/projects/types/post_v1projects_report_response_rows_item.rb +33 -0
- data/lib/nordlet/projects/types/post_v1projects_report_response_rows_item_status.rb +15 -0
- data/lib/nordlet/projects/types/post_v1projects_time_entries_bill_request.rb +33 -0
- data/lib/nordlet/projects/types/post_v1projects_time_entries_bill_request_group_by.rb +14 -0
- data/lib/nordlet/projects/types/post_v1projects_time_entries_bill_response.rb +21 -0
- data/lib/nordlet/projects/types/post_v1projects_time_entries_create_request.rb +23 -0
- data/lib/nordlet/projects/types/post_v1projects_time_entries_create_response.rb +31 -0
- data/lib/nordlet/projects/types/post_v1projects_time_entries_delete_request.rb +11 -0
- data/lib/nordlet/projects/types/post_v1projects_time_entries_delete_response.rb +11 -0
- data/lib/nordlet/projects/types/post_v1projects_time_entries_list_request.rb +17 -0
- data/lib/nordlet/projects/types/post_v1projects_time_entries_list_request_filter_item.rb +15 -0
- data/lib/nordlet/projects/types/post_v1projects_time_entries_list_request_filter_item_op.rb +18 -0
- data/lib/nordlet/projects/types/post_v1projects_time_entries_list_request_filter_item_value.rb +19 -0
- data/lib/nordlet/projects/types/post_v1projects_time_entries_list_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/projects/types/post_v1projects_time_entries_list_request_sort_item.rb +13 -0
- data/lib/nordlet/projects/types/post_v1projects_time_entries_list_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/projects/types/post_v1projects_time_entries_list_response.rb +17 -0
- data/lib/nordlet/projects/types/post_v1projects_time_entries_list_response_rows_item.rb +31 -0
- data/lib/nordlet/projects/types/post_v1projects_time_entries_update_request.rb +21 -0
- data/lib/nordlet/projects/types/post_v1projects_time_entries_update_response.rb +31 -0
- data/lib/nordlet/projects/types/post_v1projects_update_request.rb +19 -0
- data/lib/nordlet/projects/types/post_v1projects_update_request_status.rb +15 -0
- data/lib/nordlet/projects/types/post_v1projects_update_response.rb +25 -0
- data/lib/nordlet/projects/types/post_v1projects_update_response_status.rb +15 -0
- data/lib/nordlet/purchases/client.rb +448 -0
- data/lib/nordlet/purchases/types/post_v1purchases_invoices_create_request.rb +2 -0
- data/lib/nordlet/purchases/types/post_v1purchases_invoices_create_request_lines_item.rb +2 -0
- data/lib/nordlet/purchases/types/post_v1purchases_invoices_create_response.rb +2 -0
- data/lib/nordlet/purchases/types/post_v1purchases_invoices_create_response_lines_item.rb +2 -0
- data/lib/nordlet/purchases/types/post_v1purchases_invoices_get_response.rb +2 -0
- data/lib/nordlet/purchases/types/post_v1purchases_invoices_get_response_lines_item.rb +2 -0
- data/lib/nordlet/purchases/types/post_v1purchases_invoices_list_response_rows_item.rb +2 -0
- data/lib/nordlet/purchases/types/post_v1purchases_invoices_match_request.rb +13 -0
- data/lib/nordlet/purchases/types/post_v1purchases_invoices_match_response.rb +17 -0
- data/lib/nordlet/purchases/types/post_v1purchases_invoices_match_response_rows_item.rb +27 -0
- data/lib/nordlet/purchases/types/post_v1purchases_invoices_match_response_rows_item_status.rb +18 -0
- data/lib/nordlet/purchases/types/post_v1purchases_invoices_match_response_status.rb +14 -0
- data/lib/nordlet/purchases/types/post_v1purchases_invoices_register_response.rb +2 -0
- data/lib/nordlet/purchases/types/post_v1purchases_invoices_register_response_lines_item.rb +2 -0
- data/lib/nordlet/purchases/types/post_v1purchases_invoices_update_request.rb +2 -0
- data/lib/nordlet/purchases/types/post_v1purchases_invoices_update_request_lines_item.rb +2 -0
- data/lib/nordlet/purchases/types/post_v1purchases_invoices_update_response.rb +2 -0
- data/lib/nordlet/purchases/types/post_v1purchases_invoices_update_response_lines_item.rb +2 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_approve_request.rb +13 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_approve_response.rb +43 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_approve_response_lines_item.rb +45 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_approve_response_status.rb +19 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_cancel_request.rb +13 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_cancel_response.rb +43 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_cancel_response_lines_item.rb +45 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_cancel_response_status.rb +19 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_close_request.rb +13 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_close_response.rb +43 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_close_response_lines_item.rb +45 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_close_response_status.rb +19 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_create_request.rb +25 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_create_request_lines_item.rb +31 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_create_request_lines_item_quantity.rb +15 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_create_response.rb +43 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_create_response_lines_item.rb +45 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_create_response_status.rb +19 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_delete_request.rb +11 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_delete_response.rb +11 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_get_request.rb +11 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_get_response.rb +43 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_get_response_lines_item.rb +45 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_get_response_status.rb +19 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_list_request.rb +17 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_list_request_filter_item.rb +15 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_list_request_filter_item_op.rb +18 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_list_request_filter_item_value.rb +19 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_list_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_list_request_sort_item.rb +13 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_list_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_list_response.rb +17 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_list_response_rows_item.rb +41 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_list_response_rows_item_status.rb +19 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_reject_request.rb +13 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_reject_response.rb +43 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_reject_response_lines_item.rb +45 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_reject_response_status.rb +19 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_submit_request.rb +13 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_submit_response.rb +43 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_submit_response_lines_item.rb +45 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_submit_response_status.rb +19 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_update_request.rb +25 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_update_request_lines_item.rb +31 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_update_request_lines_item_quantity.rb +15 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_update_response.rb +43 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_update_response_lines_item.rb +45 -0
- data/lib/nordlet/purchases/types/post_v1purchases_orders_update_response_status.rb +19 -0
- data/lib/nordlet/purchases/types/post_v1purchases_receipts_create_request.rb +19 -0
- data/lib/nordlet/purchases/types/post_v1purchases_receipts_create_request_lines_item.rb +17 -0
- data/lib/nordlet/purchases/types/post_v1purchases_receipts_create_response.rb +25 -0
- data/lib/nordlet/purchases/types/post_v1purchases_receipts_create_response_lines_item.rb +21 -0
- data/lib/nordlet/purchases/types/post_v1purchases_receipts_get_request.rb +11 -0
- data/lib/nordlet/purchases/types/post_v1purchases_receipts_get_response.rb +25 -0
- data/lib/nordlet/purchases/types/post_v1purchases_receipts_get_response_lines_item.rb +21 -0
- data/lib/nordlet/purchases/types/post_v1purchases_receipts_list_request.rb +17 -0
- data/lib/nordlet/purchases/types/post_v1purchases_receipts_list_request_filter_item.rb +15 -0
- data/lib/nordlet/purchases/types/post_v1purchases_receipts_list_request_filter_item_op.rb +18 -0
- data/lib/nordlet/purchases/types/post_v1purchases_receipts_list_request_filter_item_value.rb +19 -0
- data/lib/nordlet/purchases/types/post_v1purchases_receipts_list_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/purchases/types/post_v1purchases_receipts_list_request_sort_item.rb +13 -0
- data/lib/nordlet/purchases/types/post_v1purchases_receipts_list_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/purchases/types/post_v1purchases_receipts_list_response.rb +17 -0
- data/lib/nordlet/purchases/types/post_v1purchases_receipts_list_response_rows_item.rb +23 -0
- data/lib/nordlet/reference/client.rb +71 -0
- data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_imports_list_request.rb +11 -0
- data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_imports_list_response.rb +11 -0
- data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_imports_list_response_rows_item.rb +29 -0
- data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_imports_list_response_rows_item_status.rb +15 -0
- data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_imports_list_response_rows_item_trigger.rb +15 -0
- data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_sync_request.rb +9 -0
- data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_sync_response.rb +21 -0
- data/lib/nordlet/reference/types/post_v1reference_eu_vat_rates_sync_response_status.rb +15 -0
- data/lib/nordlet/sales/client.rb +71 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_apply_advance_response.rb +2 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_apply_advance_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_apply_advance_response_vat_evidence.rb +25 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_apply_advance_response_vat_evidence_location.rb +13 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_apply_advance_response_vat_evidence_partner.rb +17 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_apply_advance_response_vat_evidence_rate_table.rb +17 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_apply_advance_response_vat_evidence_rates_item.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_apply_advance_response_vat_evidence_scheme.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_apply_advance_response_vat_evidence_vies.rb +23 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_create_request_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_create_response.rb +2 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_create_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_create_response_vat_evidence.rb +25 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_create_response_vat_evidence_location.rb +13 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_create_response_vat_evidence_partner.rb +17 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_create_response_vat_evidence_rate_table.rb +17 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_create_response_vat_evidence_rates_item.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_create_response_vat_evidence_scheme.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_create_response_vat_evidence_vies.rb +23 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_einvoice_send_request.rb +11 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_einvoice_send_response.rb +21 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_einvoice_xml_request.rb +11 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_einvoice_xml_response.rb +21 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_get_response.rb +2 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_get_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_get_response_vat_evidence.rb +25 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_get_response_vat_evidence_location.rb +13 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_get_response_vat_evidence_partner.rb +17 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_get_response_vat_evidence_rate_table.rb +17 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_get_response_vat_evidence_rates_item.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_get_response_vat_evidence_scheme.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_get_response_vat_evidence_vies.rb +23 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_issue_response.rb +2 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_issue_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_issue_response_vat_evidence.rb +25 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_issue_response_vat_evidence_location.rb +13 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_issue_response_vat_evidence_partner.rb +17 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_issue_response_vat_evidence_rate_table.rb +17 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_issue_response_vat_evidence_rates_item.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_issue_response_vat_evidence_scheme.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_issue_response_vat_evidence_vies.rb +23 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_update_request_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_update_response.rb +2 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_update_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_update_response_vat_evidence.rb +25 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_update_response_vat_evidence_location.rb +13 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_update_response_vat_evidence_partner.rb +17 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_update_response_vat_evidence_rate_table.rb +17 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_update_response_vat_evidence_rates_item.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_update_response_vat_evidence_scheme.rb +15 -0
- data/lib/nordlet/sales/types/post_v1sales_invoices_update_response_vat_evidence_vies.rb +23 -0
- data/lib/nordlet/version.rb +1 -1
- data/lib/nordlet.rb +602 -0
- data/reference.md +9649 -2675
- metadata +604 -2
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Inventory
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1InventoryReorderRulesUpdateResponse < Internal::Types::Model
|
|
7
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :item_id, -> { String }, optional: false, nullable: false, api_name: "itemId"
|
|
10
|
+
|
|
11
|
+
field :warehouse_id, -> { String }, optional: false, nullable: true, api_name: "warehouseId"
|
|
12
|
+
|
|
13
|
+
field :min_qty, -> { String }, optional: false, nullable: false, api_name: "minQty"
|
|
14
|
+
|
|
15
|
+
field :reorder_qty, -> { String }, optional: false, nullable: true, api_name: "reorderQty"
|
|
16
|
+
|
|
17
|
+
field :is_active, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isActive"
|
|
18
|
+
|
|
19
|
+
field :notes, -> { String }, optional: false, nullable: true
|
|
20
|
+
|
|
21
|
+
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
22
|
+
|
|
23
|
+
field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt"
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
data/lib/nordlet/inventory/types/post_v1inventory_stock_movements_list_response_rows_item.rb
CHANGED
|
@@ -10,6 +10,8 @@ module Nordlet
|
|
|
10
10
|
|
|
11
11
|
field :item_id, -> { String }, optional: false, nullable: false, api_name: "itemId"
|
|
12
12
|
|
|
13
|
+
field :lot_id, -> { String }, optional: false, nullable: true, api_name: "lotId"
|
|
14
|
+
|
|
13
15
|
field :date, -> { String }, optional: false, nullable: false
|
|
14
16
|
|
|
15
17
|
field :direction, -> { Nordlet::Inventory::Types::PostV1InventoryStockMovementsListResponseRowsItemDirection }, optional: false, nullable: false
|
|
@@ -14,6 +14,10 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :unit_cost, -> { String }, optional: false, nullable: false, api_name: "unitCost"
|
|
16
16
|
|
|
17
|
+
field :lot_number, -> { String }, optional: true, nullable: false, api_name: "lotNumber"
|
|
18
|
+
|
|
19
|
+
field :expiry_date, -> { String }, optional: true, nullable: false, api_name: "expiryDate"
|
|
20
|
+
|
|
17
21
|
field :notes, -> { String }, optional: true, nullable: false
|
|
18
22
|
end
|
|
19
23
|
end
|
|
@@ -11,6 +11,10 @@ module Nordlet
|
|
|
11
11
|
field :counted_qty, -> { String }, optional: false, nullable: false, api_name: "countedQty"
|
|
12
12
|
|
|
13
13
|
field :unit_cost, -> { String }, optional: true, nullable: false, api_name: "unitCost"
|
|
14
|
+
|
|
15
|
+
field :lot_number, -> { String }, optional: true, nullable: false, api_name: "lotNumber"
|
|
16
|
+
|
|
17
|
+
field :expiry_date, -> { String }, optional: true, nullable: false, api_name: "expiryDate"
|
|
14
18
|
end
|
|
15
19
|
end
|
|
16
20
|
end
|
|
@@ -14,6 +14,8 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :quantity, -> { String }, optional: false, nullable: false
|
|
16
16
|
|
|
17
|
+
field :lot_number, -> { String }, optional: true, nullable: false, api_name: "lotNumber"
|
|
18
|
+
|
|
17
19
|
field :notes, -> { String }, optional: true, nullable: false
|
|
18
20
|
end
|
|
19
21
|
end
|
|
@@ -12,6 +12,8 @@ module Nordlet
|
|
|
12
12
|
|
|
13
13
|
field :quantity, -> { String }, optional: false, nullable: false
|
|
14
14
|
|
|
15
|
+
field :lot_number, -> { String }, optional: true, nullable: false, api_name: "lotNumber"
|
|
16
|
+
|
|
15
17
|
field :expense_account_code, -> { String }, optional: true, nullable: false, api_name: "expenseAccountCode"
|
|
16
18
|
|
|
17
19
|
field :inventory_account_code, -> { String }, optional: true, nullable: false, api_name: "inventoryAccountCode"
|
data/lib/nordlet/ledger/types/post_v1ledger_journal_transactions_create_request_entries_item.rb
CHANGED
|
@@ -8,6 +8,8 @@ module Nordlet
|
|
|
8
8
|
|
|
9
9
|
field :cost_center_id, -> { String }, optional: true, nullable: false, api_name: "costCenterId"
|
|
10
10
|
|
|
11
|
+
field :project_id, -> { String }, optional: true, nullable: false, api_name: "projectId"
|
|
12
|
+
|
|
11
13
|
field :debit, -> { String }, optional: true, nullable: false
|
|
12
14
|
|
|
13
15
|
field :credit, -> { String }, optional: true, nullable: false
|
data/lib/nordlet/ledger/types/post_v1ledger_journal_transactions_get_response_entries_item.rb
CHANGED
|
@@ -14,6 +14,8 @@ module Nordlet
|
|
|
14
14
|
|
|
15
15
|
field :cost_center_id, -> { String }, optional: false, nullable: true, api_name: "costCenterId"
|
|
16
16
|
|
|
17
|
+
field :project_id, -> { String }, optional: false, nullable: true, api_name: "projectId"
|
|
18
|
+
|
|
17
19
|
field :debit, -> { String }, optional: false, nullable: false
|
|
18
20
|
|
|
19
21
|
field :credit, -> { String }, optional: false, nullable: false
|
|
@@ -17,6 +17,8 @@ module Nordlet
|
|
|
17
17
|
PURCHASES_DEFAULT_EXPENSE = "purchases.defaultExpense"
|
|
18
18
|
INVENTORY_COGS = "inventory.cogs"
|
|
19
19
|
INVENTORY_STOCK = "inventory.stock"
|
|
20
|
+
PRODUCTION_LABOR_APPLIED = "production.laborApplied"
|
|
21
|
+
PRODUCTION_SCRAP = "production.scrap"
|
|
20
22
|
BANK_FX_GAIN = "bank.fxGain"
|
|
21
23
|
BANK_FX_LOSS = "bank.fxLoss"
|
|
22
24
|
SETTLEMENTS_FEES = "settlements.fees"
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Migration
|
|
5
|
+
class Client
|
|
6
|
+
# @param client [Nordlet::Internal::Http::RawClient]
|
|
7
|
+
#
|
|
8
|
+
# @return [void]
|
|
9
|
+
def initialize(client:)
|
|
10
|
+
@client = client
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
# Runs every check the import runs (accounts, partners, balances, open invoices, assets, stock) and returns the
|
|
14
|
+
# same summary and warnings, then rolls everything back. Nothing is stored.
|
|
15
|
+
#
|
|
16
|
+
# @param request_options [Hash]
|
|
17
|
+
# @param params [Nordlet::Migration::Types::PostV1MigrationBooksValidateRequest]
|
|
18
|
+
# @option request_options [String] :base_url
|
|
19
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
20
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
21
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
22
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
23
|
+
#
|
|
24
|
+
# @return [Nordlet::Migration::Types::PostV1MigrationBooksValidateResponse]
|
|
25
|
+
def check_a_historical_books_package_without_writing_anything(request_options: {}, **params)
|
|
26
|
+
params = Nordlet::Internal::Types::Utils.normalize_keys(params)
|
|
27
|
+
request = Nordlet::Internal::JSON::Request.new(
|
|
28
|
+
base_url: request_options[:base_url],
|
|
29
|
+
method: "POST",
|
|
30
|
+
path: "v1/migration/books/validate",
|
|
31
|
+
body: Nordlet::Migration::Types::PostV1MigrationBooksValidateRequest.new(params).to_h,
|
|
32
|
+
request_options: request_options
|
|
33
|
+
)
|
|
34
|
+
begin
|
|
35
|
+
response = @client.send(request)
|
|
36
|
+
rescue Net::HTTPRequestTimeout
|
|
37
|
+
raise Nordlet::Errors::TimeoutError
|
|
38
|
+
end
|
|
39
|
+
code = response.code.to_i
|
|
40
|
+
if code.between?(200, 299)
|
|
41
|
+
Nordlet::Migration::Types::PostV1MigrationBooksValidateResponse.load(response.body)
|
|
42
|
+
else
|
|
43
|
+
error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
|
|
44
|
+
raise error_class.new(response.body, code: code)
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# Brings a company over from another system in one call: chart of accounts, partners, items, opening balances (or
|
|
49
|
+
# the full journal history), open customer and supplier invoices, fixed assets with their accumulated
|
|
50
|
+
# depreciation, and stock on hand. The whole package is written in one database transaction — if any row fails,
|
|
51
|
+
# nothing is stored.
|
|
52
|
+
#
|
|
53
|
+
# @param request_options [Hash]
|
|
54
|
+
# @param params [Nordlet::Migration::Types::PostV1MigrationBooksImportRequest]
|
|
55
|
+
# @option request_options [String] :base_url
|
|
56
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
57
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
58
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
59
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
60
|
+
#
|
|
61
|
+
# @return [Nordlet::Migration::Types::PostV1MigrationBooksImportResponse]
|
|
62
|
+
def import_historical_books_from_a_previous_accounting_system(request_options: {}, **params)
|
|
63
|
+
params = Nordlet::Internal::Types::Utils.normalize_keys(params)
|
|
64
|
+
request = Nordlet::Internal::JSON::Request.new(
|
|
65
|
+
base_url: request_options[:base_url],
|
|
66
|
+
method: "POST",
|
|
67
|
+
path: "v1/migration/books/import",
|
|
68
|
+
body: Nordlet::Migration::Types::PostV1MigrationBooksImportRequest.new(params).to_h,
|
|
69
|
+
request_options: request_options
|
|
70
|
+
)
|
|
71
|
+
begin
|
|
72
|
+
response = @client.send(request)
|
|
73
|
+
rescue Net::HTTPRequestTimeout
|
|
74
|
+
raise Nordlet::Errors::TimeoutError
|
|
75
|
+
end
|
|
76
|
+
code = response.code.to_i
|
|
77
|
+
if code.between?(200, 299)
|
|
78
|
+
Nordlet::Migration::Types::PostV1MigrationBooksImportResponse.load(response.body)
|
|
79
|
+
else
|
|
80
|
+
error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
|
|
81
|
+
raise error_class.new(response.body, code: code)
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Migration
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1MigrationBooksImportRequest < Internal::Types::Model
|
|
7
|
+
field :cutover_date, -> { String }, optional: false, nullable: false, api_name: "cutoverDate"
|
|
8
|
+
|
|
9
|
+
field :source, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
11
|
+
field :accounts, -> { Internal::Types::Array[Nordlet::Migration::Types::PostV1MigrationBooksImportRequestAccountsItem] }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :partners, -> { Internal::Types::Array[Nordlet::Migration::Types::PostV1MigrationBooksImportRequestPartnersItem] }, optional: true, nullable: false
|
|
14
|
+
|
|
15
|
+
field :items, -> { Internal::Types::Array[Nordlet::Migration::Types::PostV1MigrationBooksImportRequestItemsItem] }, optional: true, nullable: false
|
|
16
|
+
|
|
17
|
+
field :opening_balances, -> { Nordlet::Migration::Types::PostV1MigrationBooksImportRequestOpeningBalances }, optional: true, nullable: false, api_name: "openingBalances"
|
|
18
|
+
|
|
19
|
+
field :journal, -> { Internal::Types::Array[Nordlet::Migration::Types::PostV1MigrationBooksImportRequestJournalItem] }, optional: true, nullable: false
|
|
20
|
+
|
|
21
|
+
field :open_receivables, -> { Internal::Types::Array[Nordlet::Migration::Types::PostV1MigrationBooksImportRequestOpenReceivablesItem] }, optional: true, nullable: false, api_name: "openReceivables"
|
|
22
|
+
|
|
23
|
+
field :open_payables, -> { Internal::Types::Array[Nordlet::Migration::Types::PostV1MigrationBooksImportRequestOpenPayablesItem] }, optional: true, nullable: false, api_name: "openPayables"
|
|
24
|
+
|
|
25
|
+
field :asset_groups, -> { Internal::Types::Array[Nordlet::Migration::Types::PostV1MigrationBooksImportRequestAssetGroupsItem] }, optional: true, nullable: false, api_name: "assetGroups"
|
|
26
|
+
|
|
27
|
+
field :fixed_assets, -> { Internal::Types::Array[Nordlet::Migration::Types::PostV1MigrationBooksImportRequestFixedAssetsItem] }, optional: true, nullable: false, api_name: "fixedAssets"
|
|
28
|
+
|
|
29
|
+
field :stock, -> { Internal::Types::Array[Nordlet::Migration::Types::PostV1MigrationBooksImportRequestStockItem] }, optional: true, nullable: false
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Migration
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1MigrationBooksImportRequestAccountsItem < Internal::Types::Model
|
|
7
|
+
field :code, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :name, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :type, -> { Nordlet::Migration::Types::PostV1MigrationBooksImportRequestAccountsItemType }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :parent_code, -> { String }, optional: true, nullable: false, api_name: "parentCode"
|
|
14
|
+
|
|
15
|
+
field :is_postable, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isPostable"
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Migration
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1MigrationBooksImportRequestAccountsItemType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
ASSET = "asset"
|
|
10
|
+
LIABILITY = "liability"
|
|
11
|
+
EQUITY = "equity"
|
|
12
|
+
INCOME = "income"
|
|
13
|
+
EXPENSE = "expense"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Migration
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1MigrationBooksImportRequestAssetGroupsItem < Internal::Types::Model
|
|
7
|
+
field :code, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :name, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :asset_account_code, -> { String }, optional: false, nullable: false, api_name: "assetAccountCode"
|
|
12
|
+
|
|
13
|
+
field :depreciation_account_code, -> { String }, optional: false, nullable: false, api_name: "depreciationAccountCode"
|
|
14
|
+
|
|
15
|
+
field :expense_account_code, -> { String }, optional: true, nullable: false, api_name: "expenseAccountCode"
|
|
16
|
+
|
|
17
|
+
field :default_useful_life_months, -> { Integer }, optional: true, nullable: false, api_name: "defaultUsefulLifeMonths"
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Migration
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1MigrationBooksImportRequestFixedAssetsItem < Internal::Types::Model
|
|
7
|
+
field :group_code, -> { String }, optional: false, nullable: false, api_name: "groupCode"
|
|
8
|
+
|
|
9
|
+
field :code, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :name, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :acquisition_date, -> { String }, optional: false, nullable: false, api_name: "acquisitionDate"
|
|
14
|
+
|
|
15
|
+
field :depreciation_start_date, -> { String }, optional: true, nullable: false, api_name: "depreciationStartDate"
|
|
16
|
+
|
|
17
|
+
field :acquisition_cost, -> { String }, optional: false, nullable: false, api_name: "acquisitionCost"
|
|
18
|
+
|
|
19
|
+
field :salvage_value, -> { String }, optional: true, nullable: false, api_name: "salvageValue"
|
|
20
|
+
|
|
21
|
+
field :useful_life_months, -> { Integer }, optional: true, nullable: false, api_name: "usefulLifeMonths"
|
|
22
|
+
|
|
23
|
+
field :accumulated_depreciation, -> { String }, optional: true, nullable: false, api_name: "accumulatedDepreciation"
|
|
24
|
+
|
|
25
|
+
field :depreciated_months, -> { Integer }, optional: true, nullable: false, api_name: "depreciatedMonths"
|
|
26
|
+
|
|
27
|
+
field :notes, -> { String }, optional: true, nullable: false
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Migration
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1MigrationBooksImportRequestItemsItem < Internal::Types::Model
|
|
7
|
+
field :code, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :name, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :type, -> { Nordlet::Migration::Types::PostV1MigrationBooksImportRequestItemsItemType }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :unit, -> { String }, optional: true, nullable: false
|
|
14
|
+
|
|
15
|
+
field :barcode, -> { String }, optional: true, nullable: false
|
|
16
|
+
|
|
17
|
+
field :vat_rate_percent, -> { String }, optional: true, nullable: false, api_name: "vatRatePercent"
|
|
18
|
+
|
|
19
|
+
field :sale_price_excl_vat, -> { String }, optional: true, nullable: false, api_name: "salePriceExclVat"
|
|
20
|
+
|
|
21
|
+
field :purchase_price_excl_vat, -> { String }, optional: true, nullable: false, api_name: "purchasePriceExclVat"
|
|
22
|
+
|
|
23
|
+
field :description, -> { String }, optional: true, nullable: false
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Migration
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1MigrationBooksImportRequestItemsItemType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
PRODUCT = "product"
|
|
10
|
+
SERVICE = "service"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Migration
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1MigrationBooksImportRequestJournalItem < Internal::Types::Model
|
|
7
|
+
field :date, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :description, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
11
|
+
field :reference, -> { String }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :entries, -> { Internal::Types::Array[Nordlet::Migration::Types::PostV1MigrationBooksImportRequestJournalItemEntriesItem] }, optional: false, nullable: false
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
data/lib/nordlet/migration/types/post_v1migration_books_import_request_journal_item_entries_item.rb
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Migration
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1MigrationBooksImportRequestJournalItemEntriesItem < Internal::Types::Model
|
|
7
|
+
field :account_code, -> { String }, optional: false, nullable: false, api_name: "accountCode"
|
|
8
|
+
|
|
9
|
+
field :debit, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
11
|
+
field :credit, -> { String }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :description, -> { String }, optional: true, nullable: false
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Migration
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1MigrationBooksImportRequestOpenPayablesItem < Internal::Types::Model
|
|
7
|
+
field :partner_code, -> { String }, optional: false, nullable: false, api_name: "partnerCode"
|
|
8
|
+
|
|
9
|
+
field :due_date, -> { String }, optional: true, nullable: false, api_name: "dueDate"
|
|
10
|
+
|
|
11
|
+
field :currency, -> { String }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :gross_total, -> { String }, optional: false, nullable: false, api_name: "grossTotal"
|
|
14
|
+
|
|
15
|
+
field :vat_total, -> { String }, optional: true, nullable: false, api_name: "vatTotal"
|
|
16
|
+
|
|
17
|
+
field :outstanding, -> { String }, optional: true, nullable: false
|
|
18
|
+
|
|
19
|
+
field :fx_rate, -> { String }, optional: true, nullable: false, api_name: "fxRate"
|
|
20
|
+
|
|
21
|
+
field :notes, -> { String }, optional: true, nullable: false
|
|
22
|
+
|
|
23
|
+
field :document_number, -> { String }, optional: false, nullable: false, api_name: "documentNumber"
|
|
24
|
+
|
|
25
|
+
field :document_date, -> { String }, optional: false, nullable: false, api_name: "documentDate"
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
data/lib/nordlet/migration/types/post_v1migration_books_import_request_open_receivables_item.rb
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Migration
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1MigrationBooksImportRequestOpenReceivablesItem < Internal::Types::Model
|
|
7
|
+
field :partner_code, -> { String }, optional: false, nullable: false, api_name: "partnerCode"
|
|
8
|
+
|
|
9
|
+
field :due_date, -> { String }, optional: true, nullable: false, api_name: "dueDate"
|
|
10
|
+
|
|
11
|
+
field :currency, -> { String }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :gross_total, -> { String }, optional: false, nullable: false, api_name: "grossTotal"
|
|
14
|
+
|
|
15
|
+
field :vat_total, -> { String }, optional: true, nullable: false, api_name: "vatTotal"
|
|
16
|
+
|
|
17
|
+
field :outstanding, -> { String }, optional: true, nullable: false
|
|
18
|
+
|
|
19
|
+
field :fx_rate, -> { String }, optional: true, nullable: false, api_name: "fxRate"
|
|
20
|
+
|
|
21
|
+
field :notes, -> { String }, optional: true, nullable: false
|
|
22
|
+
|
|
23
|
+
field :number, -> { String }, optional: false, nullable: false
|
|
24
|
+
|
|
25
|
+
field :issue_date, -> { String }, optional: false, nullable: false, api_name: "issueDate"
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Migration
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1MigrationBooksImportRequestOpeningBalances < Internal::Types::Model
|
|
7
|
+
field :date, -> { String }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :balancing_account_code, -> { String }, optional: true, nullable: false, api_name: "balancingAccountCode"
|
|
10
|
+
|
|
11
|
+
field :entries, -> { Internal::Types::Array[Nordlet::Migration::Types::PostV1MigrationBooksImportRequestOpeningBalancesEntriesItem] }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Migration
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1MigrationBooksImportRequestOpeningBalancesEntriesItem < Internal::Types::Model
|
|
7
|
+
field :account_code, -> { String }, optional: false, nullable: false, api_name: "accountCode"
|
|
8
|
+
|
|
9
|
+
field :debit, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
11
|
+
field :credit, -> { String }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :description, -> { String }, optional: true, nullable: false
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Migration
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1MigrationBooksImportRequestPartnersItem < Internal::Types::Model
|
|
7
|
+
field :code, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :name, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :type, -> { Nordlet::Migration::Types::PostV1MigrationBooksImportRequestPartnersItemType }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :vat_code, -> { String }, optional: true, nullable: false, api_name: "vatCode"
|
|
14
|
+
|
|
15
|
+
field :email, -> { String }, optional: true, nullable: false
|
|
16
|
+
|
|
17
|
+
field :phone, -> { String }, optional: true, nullable: false
|
|
18
|
+
|
|
19
|
+
field :is_customer, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isCustomer"
|
|
20
|
+
|
|
21
|
+
field :is_supplier, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isSupplier"
|
|
22
|
+
|
|
23
|
+
field :payment_term_days, -> { Integer }, optional: true, nullable: false, api_name: "paymentTermDays"
|
|
24
|
+
|
|
25
|
+
field :address, -> { Nordlet::Migration::Types::PostV1MigrationBooksImportRequestPartnersItemAddress }, optional: true, nullable: false
|
|
26
|
+
|
|
27
|
+
field :notes, -> { String }, optional: true, nullable: false
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
data/lib/nordlet/migration/types/post_v1migration_books_import_request_partners_item_address.rb
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Migration
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1MigrationBooksImportRequestPartnersItemAddress < Internal::Types::Model
|
|
7
|
+
field :street, -> { String }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :city, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
11
|
+
field :postal_code, -> { String }, optional: true, nullable: false, api_name: "postalCode"
|
|
12
|
+
|
|
13
|
+
field :country_code, -> { String }, optional: true, nullable: false, api_name: "countryCode"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Migration
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1MigrationBooksImportRequestPartnersItemType
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
COMPANY = "company"
|
|
10
|
+
PERSON = "person"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Migration
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1MigrationBooksImportRequestStockItem < Internal::Types::Model
|
|
7
|
+
field :warehouse_code, -> { String }, optional: true, nullable: false, api_name: "warehouseCode"
|
|
8
|
+
|
|
9
|
+
field :item_code, -> { String }, optional: false, nullable: false, api_name: "itemCode"
|
|
10
|
+
|
|
11
|
+
field :quantity, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :unit_cost, -> { String }, optional: false, nullable: false, api_name: "unitCost"
|
|
14
|
+
|
|
15
|
+
field :lot_number, -> { String }, optional: true, nullable: false, api_name: "lotNumber"
|
|
16
|
+
|
|
17
|
+
field :expiry_date, -> { String }, optional: true, nullable: false, api_name: "expiryDate"
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Migration
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1MigrationBooksImportResponse < Internal::Types::Model
|
|
7
|
+
field :dry_run, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "dryRun"
|
|
8
|
+
|
|
9
|
+
field :cutover_date, -> { String }, optional: false, nullable: false, api_name: "cutoverDate"
|
|
10
|
+
|
|
11
|
+
field :accounts, -> { Nordlet::Migration::Types::PostV1MigrationBooksImportResponseAccounts }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :partners, -> { Nordlet::Migration::Types::PostV1MigrationBooksImportResponsePartners }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :items, -> { Nordlet::Migration::Types::PostV1MigrationBooksImportResponseItems }, optional: false, nullable: false
|
|
16
|
+
|
|
17
|
+
field :asset_groups, -> { Nordlet::Migration::Types::PostV1MigrationBooksImportResponseAssetGroups }, optional: false, nullable: false, api_name: "assetGroups"
|
|
18
|
+
|
|
19
|
+
field :opening_balances, -> { Nordlet::Migration::Types::PostV1MigrationBooksImportResponseOpeningBalances }, optional: false, nullable: true, api_name: "openingBalances"
|
|
20
|
+
|
|
21
|
+
field :journal, -> { Nordlet::Migration::Types::PostV1MigrationBooksImportResponseJournal }, optional: false, nullable: false
|
|
22
|
+
|
|
23
|
+
field :open_receivables, -> { Nordlet::Migration::Types::PostV1MigrationBooksImportResponseOpenReceivables }, optional: false, nullable: false, api_name: "openReceivables"
|
|
24
|
+
|
|
25
|
+
field :open_payables, -> { Nordlet::Migration::Types::PostV1MigrationBooksImportResponseOpenPayables }, optional: false, nullable: false, api_name: "openPayables"
|
|
26
|
+
|
|
27
|
+
field :fixed_assets, -> { Nordlet::Migration::Types::PostV1MigrationBooksImportResponseFixedAssets }, optional: false, nullable: false, api_name: "fixedAssets"
|
|
28
|
+
|
|
29
|
+
field :stock, -> { Nordlet::Migration::Types::PostV1MigrationBooksImportResponseStock }, optional: false, nullable: false
|
|
30
|
+
|
|
31
|
+
field :number_series, -> { Internal::Types::Array[Nordlet::Migration::Types::PostV1MigrationBooksImportResponseNumberSeriesItem] }, optional: false, nullable: false, api_name: "numberSeries"
|
|
32
|
+
|
|
33
|
+
field :warnings, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Migration
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1MigrationBooksImportResponseAccounts < Internal::Types::Model
|
|
7
|
+
field :created, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :existing, -> { Integer }, optional: false, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|