nordlet 0.3.9 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (303) hide show
  1. checksums.yaml +4 -4
  2. data/lib/nordlet/account/types/me_account_response_billing.rb +6 -0
  3. data/lib/nordlet/bank/client.rb +96 -0
  4. data/lib/nordlet/bank/types/accounts_create_bank_request.rb +2 -0
  5. data/lib/nordlet/bank/types/accounts_create_bank_request_type.rb +15 -0
  6. data/lib/nordlet/bank/types/accounts_create_bank_response.rb +2 -0
  7. data/lib/nordlet/bank/types/accounts_create_bank_response_type.rb +15 -0
  8. data/lib/nordlet/bank/types/accounts_list_bank_response_rows_item.rb +2 -0
  9. data/lib/nordlet/bank/types/accounts_list_bank_response_rows_item_type.rb +15 -0
  10. data/lib/nordlet/bank/types/accounts_update_bank_request.rb +2 -0
  11. data/lib/nordlet/bank/types/accounts_update_bank_request_type.rb +15 -0
  12. data/lib/nordlet/bank/types/accounts_update_bank_response.rb +2 -0
  13. data/lib/nordlet/bank/types/accounts_update_bank_response_type.rb +15 -0
  14. data/lib/nordlet/bank/types/securities_get_bank_request.rb +11 -0
  15. data/lib/nordlet/bank/types/securities_get_bank_response.rb +35 -0
  16. data/lib/nordlet/bank/types/securities_get_bank_response_operations_item.rb +51 -0
  17. data/lib/nordlet/bank/types/securities_get_bank_response_operations_item_status.rb +14 -0
  18. data/lib/nordlet/bank/types/securities_import_bank_request.rb +15 -0
  19. data/lib/nordlet/bank/types/securities_import_bank_response.rb +33 -0
  20. data/lib/nordlet/bank/types/securities_list_bank_request.rb +19 -0
  21. data/lib/nordlet/bank/types/securities_list_bank_request_filter_item.rb +15 -0
  22. data/lib/nordlet/bank/types/securities_list_bank_request_filter_item_op.rb +18 -0
  23. data/lib/nordlet/bank/types/securities_list_bank_request_filter_item_value.rb +19 -0
  24. data/lib/nordlet/bank/types/securities_list_bank_request_filter_item_value_three_item.rb +15 -0
  25. data/lib/nordlet/bank/types/securities_list_bank_request_sort_item.rb +13 -0
  26. data/lib/nordlet/bank/types/securities_list_bank_request_sort_item_dir.rb +14 -0
  27. data/lib/nordlet/bank/types/securities_list_bank_response.rb +21 -0
  28. data/lib/nordlet/bank/types/securities_list_bank_response_rows_item.rb +33 -0
  29. data/lib/nordlet/bank/types/settlements_commission_bank_response.rb +8 -0
  30. data/lib/nordlet/bank/types/settlements_get_bank_response.rb +6 -0
  31. data/lib/nordlet/bank/types/settlements_get_bank_response_lines_item.rb +8 -0
  32. data/lib/nordlet/bank/types/settlements_import_bank_response_batches_item.rb +6 -0
  33. data/lib/nordlet/bank/types/settlements_link_bank_response.rb +6 -0
  34. data/lib/nordlet/bank/types/settlements_list_bank_response_rows_item.rb +6 -0
  35. data/lib/nordlet/bank/types/settlements_match_bank_response.rb +8 -0
  36. data/lib/nordlet/bank/types/settlements_post_bank_response.rb +6 -0
  37. data/lib/nordlet/bank/types/settlements_post_bank_response_summary.rb +2 -0
  38. data/lib/nordlet/bank/types/settlements_unlink_bank_response.rb +6 -0
  39. data/lib/nordlet/bank/types/transactions_match_bank_request_document_type.rb +1 -0
  40. data/lib/nordlet/bank/types/transactions_match_many_bank_request_allocations_item_document_type.rb +1 -0
  41. data/lib/nordlet/bank/types/transactions_record_bank_request_document_type.rb +1 -0
  42. data/lib/nordlet/bank/types/transactions_suggest_matches_bank_response_suggestions_item_document_type.rb +1 -0
  43. data/lib/nordlet/billing/client.rb +192 -0
  44. data/lib/nordlet/billing/types/account_get_billing_response.rb +10 -0
  45. data/lib/nordlet/billing/types/account_get_billing_response_account_type.rb +14 -0
  46. data/lib/nordlet/billing/types/account_get_billing_response_auto_top_up.rb +15 -0
  47. data/lib/nordlet/billing/types/account_get_billing_response_month_to_date.rb +2 -0
  48. data/lib/nordlet/billing/types/account_get_billing_response_plans_value.rb +2 -2
  49. data/lib/nordlet/billing/types/account_set_account_type_billing_request.rb +11 -0
  50. data/lib/nordlet/billing/types/account_set_account_type_billing_request_account_type.rb +14 -0
  51. data/lib/nordlet/billing/types/account_set_account_type_billing_response.rb +49 -0
  52. data/lib/nordlet/billing/types/account_set_account_type_billing_response_account_type.rb +14 -0
  53. data/lib/nordlet/billing/types/account_set_account_type_billing_response_auto_top_up.rb +15 -0
  54. data/lib/nordlet/billing/types/account_set_account_type_billing_response_month_to_date.rb +27 -0
  55. data/lib/nordlet/billing/types/account_set_account_type_billing_response_plan.rb +15 -0
  56. data/lib/nordlet/billing/types/account_set_account_type_billing_response_plans_value.rb +19 -0
  57. data/lib/nordlet/billing/types/account_set_account_type_billing_response_status.rb +15 -0
  58. data/lib/nordlet/billing/types/account_set_account_type_billing_response_top_up.rb +13 -0
  59. data/lib/nordlet/billing/types/account_set_auto_top_up_billing_request.rb +13 -0
  60. data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response.rb +49 -0
  61. data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_account_type.rb +14 -0
  62. data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_auto_top_up.rb +15 -0
  63. data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_month_to_date.rb +27 -0
  64. data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_plan.rb +15 -0
  65. data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_plans_value.rb +19 -0
  66. data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_status.rb +15 -0
  67. data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_top_up.rb +13 -0
  68. data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_request.rb +11 -0
  69. data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response.rb +49 -0
  70. data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_account_type.rb +14 -0
  71. data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_auto_top_up.rb +15 -0
  72. data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_month_to_date.rb +27 -0
  73. data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_plan.rb +15 -0
  74. data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_plans_value.rb +19 -0
  75. data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_status.rb +15 -0
  76. data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_top_up.rb +13 -0
  77. data/lib/nordlet/billing/types/account_set_plan_billing_response.rb +10 -0
  78. data/lib/nordlet/billing/types/account_set_plan_billing_response_account_type.rb +14 -0
  79. data/lib/nordlet/billing/types/account_set_plan_billing_response_auto_top_up.rb +15 -0
  80. data/lib/nordlet/billing/types/account_set_plan_billing_response_month_to_date.rb +2 -0
  81. data/lib/nordlet/billing/types/account_set_plan_billing_response_plans_value.rb +2 -2
  82. data/lib/nordlet/billing/types/flat_rate_confirm_billing_request.rb +11 -0
  83. data/lib/nordlet/billing/types/flat_rate_confirm_billing_response.rb +49 -0
  84. data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_account_type.rb +14 -0
  85. data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_auto_top_up.rb +15 -0
  86. data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_month_to_date.rb +27 -0
  87. data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_plan.rb +15 -0
  88. data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_plans_value.rb +19 -0
  89. data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_status.rb +15 -0
  90. data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_top_up.rb +13 -0
  91. data/lib/nordlet/billing/types/flat_rate_create_billing_request.rb +13 -0
  92. data/lib/nordlet/billing/types/flat_rate_create_billing_request_locale.rb +15 -0
  93. data/lib/nordlet/billing/types/flat_rate_create_billing_request_plan.rb +15 -0
  94. data/lib/nordlet/billing/types/flat_rate_create_billing_response.rb +13 -0
  95. data/lib/nordlet/billing/types/topup_confirm_billing_request.rb +11 -0
  96. data/lib/nordlet/billing/types/topup_confirm_billing_response.rb +49 -0
  97. data/lib/nordlet/billing/types/topup_confirm_billing_response_account_type.rb +14 -0
  98. data/lib/nordlet/billing/types/topup_confirm_billing_response_auto_top_up.rb +15 -0
  99. data/lib/nordlet/billing/types/topup_confirm_billing_response_month_to_date.rb +27 -0
  100. data/lib/nordlet/billing/types/topup_confirm_billing_response_plan.rb +15 -0
  101. data/lib/nordlet/billing/types/topup_confirm_billing_response_plans_value.rb +19 -0
  102. data/lib/nordlet/billing/types/topup_confirm_billing_response_status.rb +15 -0
  103. data/lib/nordlet/billing/types/topup_confirm_billing_response_top_up.rb +13 -0
  104. data/lib/nordlet/billing/types/topup_create_billing_request.rb +2 -0
  105. data/lib/nordlet/billing/types/topup_create_billing_request_return_to.rb +14 -0
  106. data/lib/nordlet/billing/types/usage_list_billing_response_rows_item_metric.rb +1 -0
  107. data/lib/nordlet/capture/client.rb +5 -0
  108. data/lib/nordlet/capture/types/documents_confirm_capture_request.rb +6 -0
  109. data/lib/nordlet/capture/types/documents_confirm_capture_request_opposite_lines_item.rb +35 -0
  110. data/lib/nordlet/capture/types/documents_confirm_capture_request_opposite_lines_item_quantity.rb +15 -0
  111. data/lib/nordlet/capture/types/documents_confirm_capture_request_type.rb +14 -0
  112. data/lib/nordlet/capture/types/documents_confirm_capture_response.rb +2 -0
  113. data/lib/nordlet/capture/types/documents_confirm_capture_response_capture.rb +2 -0
  114. data/lib/nordlet/capture/types/documents_confirm_capture_response_capture_extraction.rb +4 -0
  115. data/lib/nordlet/capture/types/documents_confirm_capture_response_capture_extraction_document_type.rb +14 -0
  116. data/lib/nordlet/capture/types/documents_confirm_capture_response_capture_extraction_opposite_lines_item.rb +25 -0
  117. data/lib/nordlet/capture/types/documents_confirm_capture_response_opposite_invoice.rb +65 -0
  118. data/lib/nordlet/capture/types/documents_confirm_capture_response_opposite_invoice_lines_item.rb +45 -0
  119. data/lib/nordlet/capture/types/documents_confirm_capture_response_opposite_invoice_payment_status.rb +15 -0
  120. data/lib/nordlet/capture/types/documents_confirm_capture_response_opposite_invoice_status.rb +14 -0
  121. data/lib/nordlet/capture/types/documents_confirm_capture_response_opposite_invoice_type.rb +14 -0
  122. data/lib/nordlet/capture/types/documents_extract_capture_response.rb +2 -0
  123. data/lib/nordlet/capture/types/documents_extract_capture_response_extraction.rb +4 -0
  124. data/lib/nordlet/capture/types/documents_extract_capture_response_extraction_document_type.rb +14 -0
  125. data/lib/nordlet/capture/types/documents_extract_capture_response_extraction_opposite_lines_item.rb +25 -0
  126. data/lib/nordlet/capture/types/documents_get_capture_response.rb +2 -0
  127. data/lib/nordlet/capture/types/documents_get_capture_response_extraction.rb +4 -0
  128. data/lib/nordlet/capture/types/documents_get_capture_response_extraction_document_type.rb +14 -0
  129. data/lib/nordlet/capture/types/documents_get_capture_response_extraction_opposite_lines_item.rb +25 -0
  130. data/lib/nordlet/capture/types/documents_list_capture_response_rows_item.rb +2 -0
  131. data/lib/nordlet/capture/types/documents_list_capture_response_rows_item_extraction.rb +4 -0
  132. data/lib/nordlet/capture/types/documents_list_capture_response_rows_item_extraction_document_type.rb +14 -0
  133. data/lib/nordlet/capture/types/documents_list_capture_response_rows_item_extraction_opposite_lines_item.rb +25 -0
  134. data/lib/nordlet/capture/types/documents_upload_capture_response.rb +2 -0
  135. data/lib/nordlet/capture/types/documents_upload_capture_response_extraction.rb +4 -0
  136. data/lib/nordlet/capture/types/documents_upload_capture_response_extraction_document_type.rb +14 -0
  137. data/lib/nordlet/capture/types/documents_upload_capture_response_extraction_opposite_lines_item.rb +25 -0
  138. data/lib/nordlet/client.rb +10 -0
  139. data/lib/nordlet/declarations/client.rb +133 -1
  140. data/lib/nordlet/declarations/types/eu_dac7preview_declarations_request.rb +11 -0
  141. data/lib/nordlet/declarations/types/eu_dac7preview_declarations_response.rb +27 -0
  142. data/lib/nordlet/declarations/types/eu_dac7preview_declarations_response_sellers_item.rb +23 -0
  143. data/lib/nordlet/declarations/types/eu_dac7xml_declarations_request.rb +11 -0
  144. data/lib/nordlet/declarations/types/eu_dac7xml_declarations_response.rb +17 -0
  145. data/lib/nordlet/declarations/types/eu_digital_reporting_list_declarations_request.rb +13 -0
  146. data/lib/nordlet/declarations/types/eu_digital_reporting_list_declarations_response.rb +23 -0
  147. data/lib/nordlet/declarations/types/eu_digital_reporting_list_declarations_response_transactions_item.rb +49 -0
  148. data/lib/nordlet/declarations/types/eu_digital_reporting_list_declarations_response_transactions_item_article.rb +16 -0
  149. data/lib/nordlet/declarations/types/eu_digital_reporting_list_declarations_response_transactions_item_direction.rb +14 -0
  150. data/lib/nordlet/declarations/types/eu_digital_reporting_list_declarations_response_transactions_item_document_type.rb +14 -0
  151. data/lib/nordlet/declarations/types/eu_digital_reporting_list_declarations_response_transactions_item_lines_item.rb +23 -0
  152. data/lib/nordlet/declarations/types/eu_own_goods_transfers_compute_declarations_request.rb +13 -0
  153. data/lib/nordlet/declarations/types/eu_own_goods_transfers_compute_declarations_response.rb +33 -0
  154. data/lib/nordlet/declarations/types/eu_own_goods_transfers_compute_declarations_response_rows_item.rb +17 -0
  155. data/lib/nordlet/declarations/types/eu_own_goods_transfers_compute_declarations_response_transfers_item.rb +25 -0
  156. data/lib/nordlet/inventory/client.rb +32 -0
  157. data/lib/nordlet/inventory/types/landed_costs_create_inventory_response.rb +2 -0
  158. data/lib/nordlet/inventory/types/landed_costs_get_inventory_response.rb +2 -0
  159. data/lib/nordlet/inventory/types/warehouses_create_inventory_request.rb +2 -0
  160. data/lib/nordlet/inventory/types/warehouses_create_inventory_response.rb +2 -0
  161. data/lib/nordlet/inventory/types/warehouses_list_inventory_response_rows_item.rb +2 -0
  162. data/lib/nordlet/inventory/types/warehouses_update_inventory_request.rb +15 -0
  163. data/lib/nordlet/inventory/types/warehouses_update_inventory_response.rb +21 -0
  164. data/lib/nordlet/ledger/types/journal_transactions_create_ledger_request.rb +2 -0
  165. data/lib/nordlet/ledger/types/posting_rules_update_ledger_request_rules_item_key.rb +8 -0
  166. data/lib/nordlet/partners/types/create_partners_request.rb +0 -4
  167. data/lib/nordlet/partners/types/create_partners_response.rb +0 -4
  168. data/lib/nordlet/partners/types/find_or_create_partners_request.rb +0 -4
  169. data/lib/nordlet/partners/types/find_or_create_partners_response_partner.rb +0 -4
  170. data/lib/nordlet/partners/types/get_partners_response.rb +0 -4
  171. data/lib/nordlet/partners/types/list_partners_response_rows_item.rb +0 -4
  172. data/lib/nordlet/partners/types/update_partners_request.rb +0 -4
  173. data/lib/nordlet/partners/types/update_partners_response.rb +0 -4
  174. data/lib/nordlet/payroll/types/runs_approve_payroll_response.rb +2 -0
  175. data/lib/nordlet/payroll/types/runs_create_payroll_response.rb +2 -0
  176. data/lib/nordlet/payroll/types/runs_get_payroll_response.rb +2 -0
  177. data/lib/nordlet/payroll/types/runs_list_payroll_response_rows_item.rb +2 -0
  178. data/lib/nordlet/payroll/types/runs_reverse_payroll_response.rb +2 -0
  179. data/lib/nordlet/peppol/client.rb +83 -0
  180. data/lib/nordlet/peppol/types/participants_lookup_peppol_request.rb +13 -0
  181. data/lib/nordlet/peppol/types/participants_lookup_peppol_response.rb +23 -0
  182. data/lib/nordlet/peppol/types/webhooks_peppol_request.rb +13 -0
  183. data/lib/nordlet/peppol/types/webhooks_peppol_request_provider.rb +15 -0
  184. data/lib/nordlet/peppol/types/webhooks_peppol_response.rb +11 -0
  185. data/lib/nordlet/platform_sellers/client.rb +177 -0
  186. data/lib/nordlet/platform_sellers/types/create_platform_sellers_request.rb +47 -0
  187. data/lib/nordlet/platform_sellers/types/create_platform_sellers_request_activities_item.rb +31 -0
  188. data/lib/nordlet/platform_sellers/types/create_platform_sellers_request_activities_item_activity.rb +16 -0
  189. data/lib/nordlet/platform_sellers/types/create_platform_sellers_request_activities_item_property_address.rb +21 -0
  190. data/lib/nordlet/platform_sellers/types/create_platform_sellers_request_activities_item_property_type.rb +22 -0
  191. data/lib/nordlet/platform_sellers/types/create_platform_sellers_request_address.rb +21 -0
  192. data/lib/nordlet/platform_sellers/types/create_platform_sellers_request_kind.rb +14 -0
  193. data/lib/nordlet/platform_sellers/types/create_platform_sellers_request_tax_residences_item.rb +13 -0
  194. data/lib/nordlet/platform_sellers/types/create_platform_sellers_response.rb +53 -0
  195. data/lib/nordlet/platform_sellers/types/create_platform_sellers_response_activities_item.rb +33 -0
  196. data/lib/nordlet/platform_sellers/types/create_platform_sellers_response_activities_item_activity.rb +16 -0
  197. data/lib/nordlet/platform_sellers/types/create_platform_sellers_response_activities_item_property_address.rb +21 -0
  198. data/lib/nordlet/platform_sellers/types/create_platform_sellers_response_activities_item_property_type.rb +22 -0
  199. data/lib/nordlet/platform_sellers/types/create_platform_sellers_response_address.rb +21 -0
  200. data/lib/nordlet/platform_sellers/types/create_platform_sellers_response_kind.rb +14 -0
  201. data/lib/nordlet/platform_sellers/types/create_platform_sellers_response_tax_residences_item.rb +13 -0
  202. data/lib/nordlet/platform_sellers/types/delete_platform_sellers_request.rb +11 -0
  203. data/lib/nordlet/platform_sellers/types/delete_platform_sellers_response.rb +13 -0
  204. data/lib/nordlet/platform_sellers/types/get_platform_sellers_request.rb +11 -0
  205. data/lib/nordlet/platform_sellers/types/get_platform_sellers_response.rb +53 -0
  206. data/lib/nordlet/platform_sellers/types/get_platform_sellers_response_activities_item.rb +33 -0
  207. data/lib/nordlet/platform_sellers/types/get_platform_sellers_response_activities_item_activity.rb +16 -0
  208. data/lib/nordlet/platform_sellers/types/get_platform_sellers_response_activities_item_property_address.rb +21 -0
  209. data/lib/nordlet/platform_sellers/types/get_platform_sellers_response_activities_item_property_type.rb +22 -0
  210. data/lib/nordlet/platform_sellers/types/get_platform_sellers_response_address.rb +21 -0
  211. data/lib/nordlet/platform_sellers/types/get_platform_sellers_response_kind.rb +14 -0
  212. data/lib/nordlet/platform_sellers/types/get_platform_sellers_response_tax_residences_item.rb +13 -0
  213. data/lib/nordlet/platform_sellers/types/list_platform_sellers_request.rb +19 -0
  214. data/lib/nordlet/platform_sellers/types/list_platform_sellers_request_filter_item.rb +15 -0
  215. data/lib/nordlet/platform_sellers/types/list_platform_sellers_request_filter_item_op.rb +18 -0
  216. data/lib/nordlet/platform_sellers/types/list_platform_sellers_request_filter_item_value.rb +19 -0
  217. data/lib/nordlet/platform_sellers/types/list_platform_sellers_request_filter_item_value_three_item.rb +15 -0
  218. data/lib/nordlet/platform_sellers/types/list_platform_sellers_request_sort_item.rb +13 -0
  219. data/lib/nordlet/platform_sellers/types/list_platform_sellers_request_sort_item_dir.rb +14 -0
  220. data/lib/nordlet/platform_sellers/types/list_platform_sellers_response.rb +21 -0
  221. data/lib/nordlet/platform_sellers/types/list_platform_sellers_response_rows_item.rb +51 -0
  222. data/lib/nordlet/platform_sellers/types/list_platform_sellers_response_rows_item_address.rb +21 -0
  223. data/lib/nordlet/platform_sellers/types/list_platform_sellers_response_rows_item_kind.rb +14 -0
  224. data/lib/nordlet/platform_sellers/types/list_platform_sellers_response_rows_item_tax_residences_item.rb +13 -0
  225. data/lib/nordlet/platform_sellers/types/update_platform_sellers_request.rb +49 -0
  226. data/lib/nordlet/platform_sellers/types/update_platform_sellers_request_activities_item.rb +31 -0
  227. data/lib/nordlet/platform_sellers/types/update_platform_sellers_request_activities_item_activity.rb +16 -0
  228. data/lib/nordlet/platform_sellers/types/update_platform_sellers_request_activities_item_property_address.rb +21 -0
  229. data/lib/nordlet/platform_sellers/types/update_platform_sellers_request_activities_item_property_type.rb +22 -0
  230. data/lib/nordlet/platform_sellers/types/update_platform_sellers_request_address.rb +21 -0
  231. data/lib/nordlet/platform_sellers/types/update_platform_sellers_request_kind.rb +14 -0
  232. data/lib/nordlet/platform_sellers/types/update_platform_sellers_request_tax_residences_item.rb +13 -0
  233. data/lib/nordlet/platform_sellers/types/update_platform_sellers_response.rb +53 -0
  234. data/lib/nordlet/platform_sellers/types/update_platform_sellers_response_activities_item.rb +33 -0
  235. data/lib/nordlet/platform_sellers/types/update_platform_sellers_response_activities_item_activity.rb +16 -0
  236. data/lib/nordlet/platform_sellers/types/update_platform_sellers_response_activities_item_property_address.rb +21 -0
  237. data/lib/nordlet/platform_sellers/types/update_platform_sellers_response_activities_item_property_type.rb +22 -0
  238. data/lib/nordlet/platform_sellers/types/update_platform_sellers_response_address.rb +21 -0
  239. data/lib/nordlet/platform_sellers/types/update_platform_sellers_response_kind.rb +14 -0
  240. data/lib/nordlet/platform_sellers/types/update_platform_sellers_response_tax_residences_item.rb +13 -0
  241. data/lib/nordlet/purchases/types/invoices_register_purchases_request.rb +2 -0
  242. data/lib/nordlet/reference/types/vat_resolve_reference_request.rb +12 -0
  243. data/lib/nordlet/reference/types/vat_resolve_reference_request_goods_kind.rb +14 -0
  244. data/lib/nordlet/reference/types/vat_resolve_reference_request_service_kind.rb +14 -0
  245. data/lib/nordlet/reports/types/online_sales_reports_response_rows_item.rb +2 -0
  246. data/lib/nordlet/sales/client.rb +205 -0
  247. data/lib/nordlet/sales/types/invoice_templates_create_sales_request.rb +57 -0
  248. data/lib/nordlet/sales/types/invoice_templates_create_sales_request_document_type.rb +14 -0
  249. data/lib/nordlet/sales/types/invoice_templates_create_sales_request_lines_item.rb +25 -0
  250. data/lib/nordlet/sales/types/invoice_templates_create_sales_request_supply_type.rb +15 -0
  251. data/lib/nordlet/sales/types/invoice_templates_create_sales_request_vat_scheme.rb +21 -0
  252. data/lib/nordlet/sales/types/invoice_templates_create_sales_response.rb +63 -0
  253. data/lib/nordlet/sales/types/invoice_templates_create_sales_response_document_type.rb +14 -0
  254. data/lib/nordlet/sales/types/invoice_templates_create_sales_response_lines_item.rb +25 -0
  255. data/lib/nordlet/sales/types/invoice_templates_create_sales_response_supply_type.rb +15 -0
  256. data/lib/nordlet/sales/types/invoice_templates_delete_sales_request.rb +11 -0
  257. data/lib/nordlet/sales/types/invoice_templates_delete_sales_response.rb +11 -0
  258. data/lib/nordlet/sales/types/invoice_templates_get_sales_request.rb +11 -0
  259. data/lib/nordlet/sales/types/invoice_templates_get_sales_response.rb +63 -0
  260. data/lib/nordlet/sales/types/invoice_templates_get_sales_response_document_type.rb +14 -0
  261. data/lib/nordlet/sales/types/invoice_templates_get_sales_response_lines_item.rb +25 -0
  262. data/lib/nordlet/sales/types/invoice_templates_get_sales_response_supply_type.rb +15 -0
  263. data/lib/nordlet/sales/types/invoice_templates_list_sales_request.rb +19 -0
  264. data/lib/nordlet/sales/types/invoice_templates_list_sales_request_filter_item.rb +15 -0
  265. data/lib/nordlet/sales/types/invoice_templates_list_sales_request_filter_item_op.rb +18 -0
  266. data/lib/nordlet/sales/types/invoice_templates_list_sales_request_filter_item_value.rb +19 -0
  267. data/lib/nordlet/sales/types/invoice_templates_list_sales_request_filter_item_value_three_item.rb +15 -0
  268. data/lib/nordlet/sales/types/invoice_templates_list_sales_request_sort_item.rb +13 -0
  269. data/lib/nordlet/sales/types/invoice_templates_list_sales_request_sort_item_dir.rb +14 -0
  270. data/lib/nordlet/sales/types/invoice_templates_list_sales_response.rb +21 -0
  271. data/lib/nordlet/sales/types/invoice_templates_list_sales_response_rows_item.rb +63 -0
  272. data/lib/nordlet/sales/types/invoice_templates_list_sales_response_rows_item_document_type.rb +14 -0
  273. data/lib/nordlet/sales/types/invoice_templates_list_sales_response_rows_item_lines_item.rb +25 -0
  274. data/lib/nordlet/sales/types/invoice_templates_list_sales_response_rows_item_supply_type.rb +15 -0
  275. data/lib/nordlet/sales/types/invoice_templates_update_sales_request.rb +59 -0
  276. data/lib/nordlet/sales/types/invoice_templates_update_sales_request_document_type.rb +14 -0
  277. data/lib/nordlet/sales/types/invoice_templates_update_sales_request_lines_item.rb +25 -0
  278. data/lib/nordlet/sales/types/invoice_templates_update_sales_request_supply_type.rb +15 -0
  279. data/lib/nordlet/sales/types/invoice_templates_update_sales_request_vat_scheme.rb +21 -0
  280. data/lib/nordlet/sales/types/invoice_templates_update_sales_response.rb +63 -0
  281. data/lib/nordlet/sales/types/invoice_templates_update_sales_response_document_type.rb +14 -0
  282. data/lib/nordlet/sales/types/invoice_templates_update_sales_response_lines_item.rb +25 -0
  283. data/lib/nordlet/sales/types/invoice_templates_update_sales_response_supply_type.rb +15 -0
  284. data/lib/nordlet/sales/types/invoices_apply_advance_sales_request.rb +2 -0
  285. data/lib/nordlet/sales/types/invoices_apply_advance_sales_response.rb +12 -0
  286. data/lib/nordlet/sales/types/invoices_create_sales_response.rb +12 -0
  287. data/lib/nordlet/sales/types/invoices_get_sales_response.rb +12 -0
  288. data/lib/nordlet/sales/types/invoices_issue_sales_response.rb +12 -0
  289. data/lib/nordlet/sales/types/invoices_list_sales_response_rows_item.rb +10 -0
  290. data/lib/nordlet/sales/types/invoices_lock_sales_response.rb +12 -0
  291. data/lib/nordlet/sales/types/invoices_peppol_send_sales_response.rb +4 -0
  292. data/lib/nordlet/sales/types/invoices_peppol_send_sales_response_status.rb +16 -0
  293. data/lib/nordlet/sales/types/invoices_peppol_status_sales_request.rb +11 -0
  294. data/lib/nordlet/sales/types/invoices_peppol_status_sales_response.rb +17 -0
  295. data/lib/nordlet/sales/types/invoices_peppol_status_sales_response_status.rb +16 -0
  296. data/lib/nordlet/sales/types/invoices_unlock_sales_response.rb +12 -0
  297. data/lib/nordlet/sales/types/invoices_update_sales_response.rb +12 -0
  298. data/lib/nordlet/version.rb +1 -1
  299. data/lib/nordlet/webhooks/types/subscriptions_create_webhooks_request_events_item.rb +4 -0
  300. data/lib/nordlet/webhooks/types/subscriptions_update_webhooks_request_events_item.rb +4 -0
  301. data/lib/nordlet.rb +216 -0
  302. data/reference.md +5692 -3356
  303. metadata +218 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40edab76752d62c12976ea25aa22c307a1c2c2a52fd801074759ea18e102e3cd
4
- data.tar.gz: cc8582d45c2734c4489b590bb4ca73941ed43d5587748292fb9d100058b8619b
3
+ metadata.gz: cef62c162fd27612cf4d79742b14dbbd444e8ba9cbd077da6337da8dd3480a25
4
+ data.tar.gz: 1dfc6d30060d06f8a6b4f8bb01a944c72c629a1f13d8992920a168cfd71c366f
5
5
  SHA512:
6
- metadata.gz: 41eba2a472f776cbf34918b7262ebb401f7e31abaa444397a8c49f5883ec0f35cac1ce54463c257024c10eaea0ce27c85d38cf5501b85f7576bbc4afde85a3e6
7
- data.tar.gz: 9f1520d7476ec6724ce98b79f3de9804be8360dadf7e4b549aa7edf5ed278fd8b443dc0fe573ef4aad4724907fddce9ce89ed99471cbab83565bdfce1cedb32f
6
+ metadata.gz: 92285d921c655b61639a8e199948b9fe52951729df99174ee83541f8ca4c01c486d4a8d40086459cdb4a59437f77eda4398073222c25feb80d45265e74402d00
7
+ data.tar.gz: 0a0983ff68c8a0db43be91f0c1cd3b162302fd1dca6c87f766bf9a134a720532439c950084717c154919a451b138d5738e5739722011228b1f0b9c443a8e8f51
@@ -10,6 +10,8 @@ module Nordlet
10
10
 
11
11
  field :balance_cents, -> { Integer }, optional: false, nullable: false, api_name: "balanceCents"
12
12
 
13
+ field :overdraft_allowance_cents, -> { Integer }, optional: false, nullable: false, api_name: "overdraftAllowanceCents"
14
+
13
15
  field :trial_ends_at, -> { String }, optional: false, nullable: true, api_name: "trialEndsAt"
14
16
 
15
17
  field :payer_user_id, -> { String }, optional: false, nullable: false, api_name: "payerUserId"
@@ -17,6 +19,10 @@ module Nordlet
17
19
  field :payer_email, -> { String }, optional: false, nullable: false, api_name: "payerEmail"
18
20
 
19
21
  field :is_payer, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isPayer"
22
+
23
+ field :plan_chosen, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "planChosen"
24
+
25
+ field :flat_rate, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "flatRate"
20
26
  end
21
27
  end
22
28
  end
@@ -1174,6 +1174,102 @@ module Nordlet
1174
1174
  end
1175
1175
  end
1176
1176
 
1177
+ # @param request_options [Hash]
1178
+ # @param params [Nordlet::Bank::Types::SecuritiesImportBankRequest]
1179
+ # @option request_options [String] :base_url
1180
+ # @option request_options [Hash{String => Object}] :additional_headers
1181
+ # @option request_options [Hash{String => Object}] :additional_query_parameters
1182
+ # @option request_options [Hash{String => Object}] :additional_body_parameters
1183
+ # @option request_options [Integer] :timeout_in_seconds
1184
+ #
1185
+ # @return [Nordlet::Bank::Types::SecuritiesImportBankResponse]
1186
+ def securities_import(request_options: {}, **params)
1187
+ params = Nordlet::Internal::Types::Utils.normalize_keys(params)
1188
+ request = Nordlet::Internal::JSON::Request.new(
1189
+ base_url: request_options[:base_url],
1190
+ method: "POST",
1191
+ path: "v1/bank/securities/import",
1192
+ body: Nordlet::Bank::Types::SecuritiesImportBankRequest.new(params).to_h,
1193
+ request_options: request_options
1194
+ )
1195
+ begin
1196
+ response = @client.send(request)
1197
+ rescue Net::HTTPRequestTimeout
1198
+ raise Nordlet::Errors::TimeoutError
1199
+ end
1200
+ code = response.code.to_i
1201
+ if code.between?(200, 299)
1202
+ Nordlet::Bank::Types::SecuritiesImportBankResponse.load(response.body)
1203
+ else
1204
+ error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
1205
+ raise error_class.new(response.body, code: code)
1206
+ end
1207
+ end
1208
+
1209
+ # @param request_options [Hash]
1210
+ # @param params [Nordlet::Bank::Types::SecuritiesListBankRequest]
1211
+ # @option request_options [String] :base_url
1212
+ # @option request_options [Hash{String => Object}] :additional_headers
1213
+ # @option request_options [Hash{String => Object}] :additional_query_parameters
1214
+ # @option request_options [Hash{String => Object}] :additional_body_parameters
1215
+ # @option request_options [Integer] :timeout_in_seconds
1216
+ #
1217
+ # @return [Nordlet::Bank::Types::SecuritiesListBankResponse]
1218
+ def securities_list(request_options: {}, **params)
1219
+ params = Nordlet::Internal::Types::Utils.normalize_keys(params)
1220
+ request = Nordlet::Internal::JSON::Request.new(
1221
+ base_url: request_options[:base_url],
1222
+ method: "POST",
1223
+ path: "v1/bank/securities/list",
1224
+ body: Nordlet::Bank::Types::SecuritiesListBankRequest.new(params).to_h,
1225
+ request_options: request_options
1226
+ )
1227
+ begin
1228
+ response = @client.send(request)
1229
+ rescue Net::HTTPRequestTimeout
1230
+ raise Nordlet::Errors::TimeoutError
1231
+ end
1232
+ code = response.code.to_i
1233
+ if code.between?(200, 299)
1234
+ Nordlet::Bank::Types::SecuritiesListBankResponse.load(response.body)
1235
+ else
1236
+ error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
1237
+ raise error_class.new(response.body, code: code)
1238
+ end
1239
+ end
1240
+
1241
+ # @param request_options [Hash]
1242
+ # @param params [Nordlet::Bank::Types::SecuritiesGetBankRequest]
1243
+ # @option request_options [String] :base_url
1244
+ # @option request_options [Hash{String => Object}] :additional_headers
1245
+ # @option request_options [Hash{String => Object}] :additional_query_parameters
1246
+ # @option request_options [Hash{String => Object}] :additional_body_parameters
1247
+ # @option request_options [Integer] :timeout_in_seconds
1248
+ #
1249
+ # @return [Nordlet::Bank::Types::SecuritiesGetBankResponse]
1250
+ def securities_get(request_options: {}, **params)
1251
+ params = Nordlet::Internal::Types::Utils.normalize_keys(params)
1252
+ request = Nordlet::Internal::JSON::Request.new(
1253
+ base_url: request_options[:base_url],
1254
+ method: "POST",
1255
+ path: "v1/bank/securities/get",
1256
+ body: Nordlet::Bank::Types::SecuritiesGetBankRequest.new(params).to_h,
1257
+ request_options: request_options
1258
+ )
1259
+ begin
1260
+ response = @client.send(request)
1261
+ rescue Net::HTTPRequestTimeout
1262
+ raise Nordlet::Errors::TimeoutError
1263
+ end
1264
+ code = response.code.to_i
1265
+ if code.between?(200, 299)
1266
+ Nordlet::Bank::Types::SecuritiesGetBankResponse.load(response.body)
1267
+ else
1268
+ error_class = Nordlet::Errors::ResponseError.subclass_for_code(code)
1269
+ raise error_class.new(response.body, code: code)
1270
+ end
1271
+ end
1272
+
1177
1273
  # @param request_options [Hash]
1178
1274
  # @param params [Nordlet::Bank::Types::FeedsBanksListBankRequest]
1179
1275
  # @option request_options [String] :base_url
@@ -6,6 +6,8 @@ module Nordlet
6
6
  class AccountsCreateBankRequest < Internal::Types::Model
7
7
  field :name, -> { String }, optional: false, nullable: false
8
8
 
9
+ field :type, -> { Nordlet::Bank::Types::AccountsCreateBankRequestType }, optional: true, nullable: false
10
+
9
11
  field :iban, -> { String }, optional: true, nullable: false
10
12
 
11
13
  field :currency, -> { String }, optional: true, nullable: false
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Bank
5
+ module Types
6
+ module AccountsCreateBankRequestType
7
+ extend Nordlet::Internal::Types::Enum
8
+
9
+ BANK = "bank"
10
+ STRIPE = "stripe"
11
+ BROKER = "broker"
12
+ end
13
+ end
14
+ end
15
+ end
@@ -8,6 +8,8 @@ module Nordlet
8
8
 
9
9
  field :name, -> { String }, optional: false, nullable: false
10
10
 
11
+ field :type, -> { Nordlet::Bank::Types::AccountsCreateBankResponseType }, optional: false, nullable: false
12
+
11
13
  field :iban, -> { String }, optional: false, nullable: true
12
14
 
13
15
  field :currency, -> { String }, optional: false, nullable: false
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Bank
5
+ module Types
6
+ module AccountsCreateBankResponseType
7
+ extend Nordlet::Internal::Types::Enum
8
+
9
+ BANK = "bank"
10
+ STRIPE = "stripe"
11
+ BROKER = "broker"
12
+ end
13
+ end
14
+ end
15
+ end
@@ -8,6 +8,8 @@ module Nordlet
8
8
 
9
9
  field :name, -> { String }, optional: false, nullable: false
10
10
 
11
+ field :type, -> { Nordlet::Bank::Types::AccountsListBankResponseRowsItemType }, optional: false, nullable: false
12
+
11
13
  field :iban, -> { String }, optional: false, nullable: true
12
14
 
13
15
  field :currency, -> { String }, optional: false, nullable: false
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Bank
5
+ module Types
6
+ module AccountsListBankResponseRowsItemType
7
+ extend Nordlet::Internal::Types::Enum
8
+
9
+ BANK = "bank"
10
+ STRIPE = "stripe"
11
+ BROKER = "broker"
12
+ end
13
+ end
14
+ end
15
+ end
@@ -8,6 +8,8 @@ module Nordlet
8
8
 
9
9
  field :name, -> { String }, optional: true, nullable: false
10
10
 
11
+ field :type, -> { Nordlet::Bank::Types::AccountsUpdateBankRequestType }, optional: true, nullable: false
12
+
11
13
  field :iban, -> { String }, optional: true, nullable: false
12
14
 
13
15
  field :account_code, -> { String }, optional: true, nullable: false, api_name: "accountCode"
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Bank
5
+ module Types
6
+ module AccountsUpdateBankRequestType
7
+ extend Nordlet::Internal::Types::Enum
8
+
9
+ BANK = "bank"
10
+ STRIPE = "stripe"
11
+ BROKER = "broker"
12
+ end
13
+ end
14
+ end
15
+ end
@@ -8,6 +8,8 @@ module Nordlet
8
8
 
9
9
  field :name, -> { String }, optional: false, nullable: false
10
10
 
11
+ field :type, -> { Nordlet::Bank::Types::AccountsUpdateBankResponseType }, optional: false, nullable: false
12
+
11
13
  field :iban, -> { String }, optional: false, nullable: true
12
14
 
13
15
  field :currency, -> { String }, optional: false, nullable: false
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Bank
5
+ module Types
6
+ module AccountsUpdateBankResponseType
7
+ extend Nordlet::Internal::Types::Enum
8
+
9
+ BANK = "bank"
10
+ STRIPE = "stripe"
11
+ BROKER = "broker"
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Bank
5
+ module Types
6
+ class SecuritiesGetBankRequest < Internal::Types::Model
7
+ field :id, -> { String }, optional: false, nullable: false
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Bank
5
+ module Types
6
+ class SecuritiesGetBankResponse < Internal::Types::Model
7
+ field :id, -> { String }, optional: false, nullable: false
8
+
9
+ field :bank_account_id, -> { String }, optional: false, nullable: false, api_name: "bankAccountId"
10
+
11
+ field :broker, -> { String }, optional: false, nullable: false
12
+
13
+ field :broker_account, -> { String }, optional: false, nullable: false, api_name: "brokerAccount"
14
+
15
+ field :period, -> { String }, optional: false, nullable: false
16
+
17
+ field :file_name, -> { String }, optional: false, nullable: true, api_name: "fileName"
18
+
19
+ field :operation_count, -> { Integer }, optional: false, nullable: false, api_name: "operationCount"
20
+
21
+ field :duplicate_count, -> { Integer }, optional: false, nullable: false, api_name: "duplicateCount"
22
+
23
+ field :posted_count, -> { Integer }, optional: false, nullable: false, api_name: "postedCount"
24
+
25
+ field :not_posted_count, -> { Integer }, optional: false, nullable: false, api_name: "notPostedCount"
26
+
27
+ field :realized_total, -> { String }, optional: false, nullable: false, api_name: "realizedTotal"
28
+
29
+ field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
30
+
31
+ field :operations, -> { Internal::Types::Array[Nordlet::Bank::Types::SecuritiesGetBankResponseOperationsItem] }, optional: false, nullable: false
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Bank
5
+ module Types
6
+ class SecuritiesGetBankResponseOperationsItem < Internal::Types::Model
7
+ field :id, -> { String }, optional: false, nullable: false
8
+
9
+ field :kind, -> { String }, optional: false, nullable: false
10
+
11
+ field :date, -> { String }, optional: false, nullable: false
12
+
13
+ field :time, -> { String }, optional: false, nullable: true
14
+
15
+ field :asset_category, -> { String }, optional: false, nullable: true, api_name: "assetCategory"
16
+
17
+ field :symbol, -> { String }, optional: false, nullable: true
18
+
19
+ field :description, -> { String }, optional: false, nullable: true
20
+
21
+ field :currency, -> { String }, optional: false, nullable: false
22
+
23
+ field :quantity, -> { String }, optional: false, nullable: true
24
+
25
+ field :price, -> { String }, optional: false, nullable: true
26
+
27
+ field :amount, -> { String }, optional: false, nullable: true
28
+
29
+ field :fee, -> { String }, optional: false, nullable: true
30
+
31
+ field :broker_realized, -> { String }, optional: false, nullable: true, api_name: "brokerRealized"
32
+
33
+ field :code, -> { String }, optional: false, nullable: true
34
+
35
+ field :fx_rate, -> { String }, optional: false, nullable: true, api_name: "fxRate"
36
+
37
+ field :cash_base, -> { String }, optional: false, nullable: true, api_name: "cashBase"
38
+
39
+ field :cost_base, -> { String }, optional: false, nullable: true, api_name: "costBase"
40
+
41
+ field :realized_base, -> { String }, optional: false, nullable: true, api_name: "realizedBase"
42
+
43
+ field :status, -> { Nordlet::Bank::Types::SecuritiesGetBankResponseOperationsItemStatus }, optional: false, nullable: false
44
+
45
+ field :note, -> { String }, optional: false, nullable: true
46
+
47
+ field :journal_transaction_id, -> { String }, optional: false, nullable: true, api_name: "journalTransactionId"
48
+ end
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Bank
5
+ module Types
6
+ module SecuritiesGetBankResponseOperationsItemStatus
7
+ extend Nordlet::Internal::Types::Enum
8
+
9
+ POSTED = "posted"
10
+ NOT_POSTED = "not_posted"
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Bank
5
+ module Types
6
+ class SecuritiesImportBankRequest < Internal::Types::Model
7
+ field :bank_account_id, -> { String }, optional: false, nullable: false, api_name: "bankAccountId"
8
+
9
+ field :content, -> { String }, optional: false, nullable: false
10
+
11
+ field :file_name, -> { String }, optional: true, nullable: false, api_name: "fileName"
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,33 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Bank
5
+ module Types
6
+ class SecuritiesImportBankResponse < Internal::Types::Model
7
+ field :id, -> { String }, optional: false, nullable: false
8
+
9
+ field :bank_account_id, -> { String }, optional: false, nullable: false, api_name: "bankAccountId"
10
+
11
+ field :broker, -> { String }, optional: false, nullable: false
12
+
13
+ field :broker_account, -> { String }, optional: false, nullable: false, api_name: "brokerAccount"
14
+
15
+ field :period, -> { String }, optional: false, nullable: false
16
+
17
+ field :file_name, -> { String }, optional: false, nullable: true, api_name: "fileName"
18
+
19
+ field :operation_count, -> { Integer }, optional: false, nullable: false, api_name: "operationCount"
20
+
21
+ field :duplicate_count, -> { Integer }, optional: false, nullable: false, api_name: "duplicateCount"
22
+
23
+ field :posted_count, -> { Integer }, optional: false, nullable: false, api_name: "postedCount"
24
+
25
+ field :not_posted_count, -> { Integer }, optional: false, nullable: false, api_name: "notPostedCount"
26
+
27
+ field :realized_total, -> { String }, optional: false, nullable: false, api_name: "realizedTotal"
28
+
29
+ field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Bank
5
+ module Types
6
+ class SecuritiesListBankRequest < Internal::Types::Model
7
+ field :page, -> { Integer }, optional: true, nullable: false
8
+
9
+ field :page_size, -> { Integer }, optional: true, nullable: false, api_name: "pageSize"
10
+
11
+ field :sort, -> { Internal::Types::Array[Nordlet::Bank::Types::SecuritiesListBankRequestSortItem] }, optional: true, nullable: false
12
+
13
+ field :filter, -> { Internal::Types::Array[Nordlet::Bank::Types::SecuritiesListBankRequestFilterItem] }, optional: true, nullable: false
14
+
15
+ field :totals, -> { Internal::Types::Array[String] }, optional: true, nullable: false
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Bank
5
+ module Types
6
+ class SecuritiesListBankRequestFilterItem < Internal::Types::Model
7
+ field :field, -> { String }, optional: false, nullable: false
8
+
9
+ field :op, -> { Nordlet::Bank::Types::SecuritiesListBankRequestFilterItemOp }, optional: false, nullable: false
10
+
11
+ field :value, -> { Nordlet::Bank::Types::SecuritiesListBankRequestFilterItemValue }, optional: false, nullable: false
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Bank
5
+ module Types
6
+ module SecuritiesListBankRequestFilterItemOp
7
+ extend Nordlet::Internal::Types::Enum
8
+
9
+ EQ = "eq"
10
+ NE = "ne"
11
+ CONTAINS = "contains"
12
+ GTE = "gte"
13
+ LTE = "lte"
14
+ IN = "in"
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Bank
5
+ module Types
6
+ class SecuritiesListBankRequestFilterItemValue < Internal::Types::Model
7
+ extend Nordlet::Internal::Types::Union
8
+
9
+ member -> { String }
10
+
11
+ member -> { Integer }
12
+
13
+ member -> { Internal::Types::Boolean }
14
+
15
+ member -> { Internal::Types::Array[Nordlet::Bank::Types::SecuritiesListBankRequestFilterItemValueThreeItem] }
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Bank
5
+ module Types
6
+ class SecuritiesListBankRequestFilterItemValueThreeItem < Internal::Types::Model
7
+ extend Nordlet::Internal::Types::Union
8
+
9
+ member -> { String }
10
+
11
+ member -> { Integer }
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Bank
5
+ module Types
6
+ class SecuritiesListBankRequestSortItem < Internal::Types::Model
7
+ field :field, -> { String }, optional: false, nullable: false
8
+
9
+ field :dir, -> { Nordlet::Bank::Types::SecuritiesListBankRequestSortItemDir }, optional: true, nullable: false
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Bank
5
+ module Types
6
+ module SecuritiesListBankRequestSortItemDir
7
+ extend Nordlet::Internal::Types::Enum
8
+
9
+ ASC = "asc"
10
+ DESC = "desc"
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Bank
5
+ module Types
6
+ class SecuritiesListBankResponse < Internal::Types::Model
7
+ field :rows, -> { Internal::Types::Array[Nordlet::Bank::Types::SecuritiesListBankResponseRowsItem] }, optional: false, nullable: false
8
+
9
+ field :page, -> { Integer }, optional: false, nullable: false
10
+
11
+ field :page_size, -> { Integer }, optional: false, nullable: false, api_name: "pageSize"
12
+
13
+ field :total, -> { Integer }, optional: false, nullable: false
14
+
15
+ field :totals, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
16
+
17
+ field :totals_by_currency, -> { Internal::Types::Hash[String, Internal::Types::Hash[String, String]] }, optional: true, nullable: false, api_name: "totalsByCurrency"
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,33 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nordlet
4
+ module Bank
5
+ module Types
6
+ class SecuritiesListBankResponseRowsItem < Internal::Types::Model
7
+ field :id, -> { String }, optional: false, nullable: false
8
+
9
+ field :bank_account_id, -> { String }, optional: false, nullable: false, api_name: "bankAccountId"
10
+
11
+ field :broker, -> { String }, optional: false, nullable: false
12
+
13
+ field :broker_account, -> { String }, optional: false, nullable: false, api_name: "brokerAccount"
14
+
15
+ field :period, -> { String }, optional: false, nullable: false
16
+
17
+ field :file_name, -> { String }, optional: false, nullable: true, api_name: "fileName"
18
+
19
+ field :operation_count, -> { Integer }, optional: false, nullable: false, api_name: "operationCount"
20
+
21
+ field :duplicate_count, -> { Integer }, optional: false, nullable: false, api_name: "duplicateCount"
22
+
23
+ field :posted_count, -> { Integer }, optional: false, nullable: false, api_name: "postedCount"
24
+
25
+ field :not_posted_count, -> { Integer }, optional: false, nullable: false, api_name: "notPostedCount"
26
+
27
+ field :realized_total, -> { String }, optional: false, nullable: false, api_name: "realizedTotal"
28
+
29
+ field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
30
+ end
31
+ end
32
+ end
33
+ end
@@ -33,6 +33,14 @@ module Nordlet
33
33
  field :matched_invoice_id, -> { String }, optional: false, nullable: true, api_name: "matchedInvoiceId"
34
34
 
35
35
  field :match_status, -> { Nordlet::Bank::Types::SettlementsCommissionBankResponseMatchStatus }, optional: false, nullable: false, api_name: "matchStatus"
36
+
37
+ field :clearing_bank_account_id, -> { String }, optional: false, nullable: true, api_name: "clearingBankAccountId"
38
+
39
+ field :clearing_booked, -> { String }, optional: false, nullable: true, api_name: "clearingBooked"
40
+
41
+ field :clearing_difference, -> { String }, optional: false, nullable: true, api_name: "clearingDifference"
42
+
43
+ field :clearing_unposted, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "clearingUnposted"
36
44
  end
37
45
  end
38
46
  end
@@ -36,6 +36,12 @@ module Nordlet
36
36
 
37
37
  field :unmatched_count, -> { Integer }, optional: false, nullable: false, api_name: "unmatchedCount"
38
38
 
39
+ field :cleared_net, -> { String }, optional: false, nullable: true, api_name: "clearedNet"
40
+
41
+ field :clearing_difference, -> { String }, optional: false, nullable: true, api_name: "clearingDifference"
42
+
43
+ field :clearing_open_count, -> { Integer }, optional: false, nullable: false, api_name: "clearingOpenCount"
44
+
39
45
  field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
40
46
 
41
47
  field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt"
@@ -33,6 +33,14 @@ module Nordlet
33
33
  field :matched_invoice_id, -> { String }, optional: false, nullable: true, api_name: "matchedInvoiceId"
34
34
 
35
35
  field :match_status, -> { Nordlet::Bank::Types::SettlementsGetBankResponseLinesItemMatchStatus }, optional: false, nullable: false, api_name: "matchStatus"
36
+
37
+ field :clearing_bank_account_id, -> { String }, optional: false, nullable: true, api_name: "clearingBankAccountId"
38
+
39
+ field :clearing_booked, -> { String }, optional: false, nullable: true, api_name: "clearingBooked"
40
+
41
+ field :clearing_difference, -> { String }, optional: false, nullable: true, api_name: "clearingDifference"
42
+
43
+ field :clearing_unposted, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "clearingUnposted"
36
44
  end
37
45
  end
38
46
  end