nordlet 0.6.10 → 0.6.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/nordlet/account/client.rb +42 -0
- data/lib/nordlet/account/types/companies_context_account_request.rb +9 -0
- data/lib/nordlet/account/types/companies_context_account_response.rb +23 -0
- data/lib/nordlet/account/types/companies_context_account_response_bank_accounts_item.rb +23 -0
- data/lib/nordlet/account/types/companies_context_account_response_filings_item.rb +27 -0
- data/lib/nordlet/account/types/companies_context_account_response_filings_item_missing_settings.rb +17 -0
- data/lib/nordlet/account/types/companies_context_account_response_filings_item_missing_settings_operation.rb +13 -0
- data/lib/nordlet/account/types/companies_context_account_response_payroll.rb +15 -0
- data/lib/nordlet/account/types/companies_context_account_response_payroll_employee_fields_item.rb +17 -0
- data/lib/nordlet/account/types/companies_context_account_response_payroll_employee_fields_item_kind.rb +15 -0
- data/lib/nordlet/account/types/companies_context_account_response_periods.rb +13 -0
- data/lib/nordlet/account/types/companies_context_account_response_periods_locked_item.rb +13 -0
- data/lib/nordlet/account/types/companies_context_account_response_periods_open_item.rb +13 -0
- data/lib/nordlet/account/types/companies_context_account_response_profile.rb +95 -0
- data/lib/nordlet/account/types/companies_context_account_response_profile_accounts_kept_by.rb +14 -0
- data/lib/nordlet/account/types/companies_context_account_response_profile_address.rb +17 -0
- data/lib/nordlet/account/types/companies_context_account_response_profile_status.rb +15 -0
- data/lib/nordlet/account/types/companies_context_account_response_profile_vat_period.rb +17 -0
- data/lib/nordlet/account/types/companies_context_account_response_vat_types_used_item.rb +19 -0
- data/lib/nordlet/agreements/client.rb +3 -1
- data/lib/nordlet/assets/client.rb +9 -2
- data/lib/nordlet/assets/types/assets_create_assets_response.rb +2 -0
- data/lib/nordlet/assets/types/assets_dispose_assets_request.rb +2 -0
- data/lib/nordlet/assets/types/assets_dispose_assets_response.rb +2 -0
- data/lib/nordlet/assets/types/assets_get_assets_response.rb +2 -0
- data/lib/nordlet/assets/types/assets_input_vat_assets_response.rb +2 -0
- data/lib/nordlet/assets/types/assets_list_assets_response_rows_item.rb +2 -0
- data/lib/nordlet/assets/types/assets_modernize_assets_response.rb +2 -0
- data/lib/nordlet/assets/types/assets_update_assets_response.rb +2 -0
- data/lib/nordlet/audit/client.rb +3 -2
- data/lib/nordlet/bank/client.rb +38 -27
- data/lib/nordlet/bank/types/transactions_match_bank_request_document_type.rb +1 -0
- data/lib/nordlet/calendar/client.rb +6 -1
- data/lib/nordlet/calendar/types/create_calendar_response.rb +2 -0
- data/lib/nordlet/calendar/types/create_calendar_response_correction.rb +17 -0
- data/lib/nordlet/calendar/types/create_calendar_response_correction_optional_item.rb +16 -0
- data/lib/nordlet/calendar/types/create_calendar_response_correction_reason_codes_item.rb +13 -0
- data/lib/nordlet/calendar/types/create_calendar_response_correction_required_item.rb +16 -0
- data/lib/nordlet/calendar/types/create_calendar_response_submission.rb +4 -0
- data/lib/nordlet/calendar/types/create_calendar_response_submission_correction_input.rb +17 -0
- data/lib/nordlet/calendar/types/create_calendar_response_submissions_item.rb +4 -0
- data/lib/nordlet/calendar/types/create_calendar_response_submissions_item_correction_input.rb +17 -0
- data/lib/nordlet/calendar/types/get_calendar_response.rb +2 -0
- data/lib/nordlet/calendar/types/get_calendar_response_correction.rb +17 -0
- data/lib/nordlet/calendar/types/get_calendar_response_correction_optional_item.rb +16 -0
- data/lib/nordlet/calendar/types/get_calendar_response_correction_reason_codes_item.rb +13 -0
- data/lib/nordlet/calendar/types/get_calendar_response_correction_required_item.rb +16 -0
- data/lib/nordlet/calendar/types/get_calendar_response_submission.rb +4 -0
- data/lib/nordlet/calendar/types/get_calendar_response_submission_correction_input.rb +17 -0
- data/lib/nordlet/calendar/types/get_calendar_response_submissions_item.rb +4 -0
- data/lib/nordlet/calendar/types/get_calendar_response_submissions_item_correction_input.rb +17 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item.rb +2 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item_correction.rb +17 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item_correction_optional_item.rb +16 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item_correction_reason_codes_item.rb +13 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item_correction_required_item.rb +16 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item_submission.rb +4 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item_submission_correction_input.rb +17 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item_submissions_item.rb +4 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item_submissions_item_correction_input.rb +17 -0
- data/lib/nordlet/calendar/types/submit_calendar_request.rb +4 -0
- data/lib/nordlet/calendar/types/submit_calendar_request_correction.rb +17 -0
- data/lib/nordlet/calendar/types/submit_calendar_response.rb +4 -0
- data/lib/nordlet/calendar/types/submit_calendar_response_correction_input.rb +17 -0
- data/lib/nordlet/calendar/types/update_calendar_response.rb +2 -0
- data/lib/nordlet/calendar/types/update_calendar_response_correction.rb +17 -0
- data/lib/nordlet/calendar/types/update_calendar_response_correction_optional_item.rb +16 -0
- data/lib/nordlet/calendar/types/update_calendar_response_correction_reason_codes_item.rb +13 -0
- data/lib/nordlet/calendar/types/update_calendar_response_correction_required_item.rb +16 -0
- data/lib/nordlet/calendar/types/update_calendar_response_submission.rb +4 -0
- data/lib/nordlet/calendar/types/update_calendar_response_submission_correction_input.rb +17 -0
- data/lib/nordlet/calendar/types/update_calendar_response_submissions_item.rb +4 -0
- data/lib/nordlet/calendar/types/update_calendar_response_submissions_item_correction_input.rb +17 -0
- data/lib/nordlet/cash/client.rb +7 -5
- data/lib/nordlet/catalog/client.rb +3 -2
- data/lib/nordlet/client.rb +5 -0
- data/lib/nordlet/declarations/client.rb +154 -1
- data/lib/nordlet/declarations/types/submissions_confirm_declarations_response.rb +4 -0
- data/lib/nordlet/declarations/types/submissions_confirm_declarations_response_correction_input.rb +17 -0
- data/lib/nordlet/declarations/types/submissions_correction_preview_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/submissions_correction_preview_declarations_response.rb +15 -0
- data/lib/nordlet/declarations/types/submissions_correction_preview_declarations_response_changes_item.rb +17 -0
- data/lib/nordlet/declarations/types/submissions_create_declarations_response.rb +4 -0
- data/lib/nordlet/declarations/types/submissions_create_declarations_response_correction_input.rb +17 -0
- data/lib/nordlet/declarations/types/submissions_list_declarations_response_rows_item.rb +8 -0
- data/lib/nordlet/declarations/types/submissions_list_declarations_response_rows_item_correction.rb +17 -0
- data/lib/nordlet/declarations/types/submissions_list_declarations_response_rows_item_correction_input.rb +17 -0
- data/lib/nordlet/declarations/types/submissions_list_declarations_response_rows_item_correction_optional_item.rb +16 -0
- data/lib/nordlet/declarations/types/submissions_list_declarations_response_rows_item_correction_reason_codes_item.rb +13 -0
- data/lib/nordlet/declarations/types/submissions_list_declarations_response_rows_item_correction_required_item.rb +16 -0
- data/lib/nordlet/declarations/types/submissions_mark_declarations_response.rb +4 -0
- data/lib/nordlet/declarations/types/submissions_mark_declarations_response_correction_input.rb +17 -0
- data/lib/nordlet/declarations/types/submissions_retry_declarations_response.rb +4 -0
- data/lib/nordlet/declarations/types/submissions_retry_declarations_response_correction_input.rb +17 -0
- data/lib/nordlet/declarations/types/vat_prorata_get_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/vat_prorata_get_declarations_response.rb +13 -0
- data/lib/nordlet/declarations/types/vat_prorata_list_declarations_request.rb +9 -0
- data/lib/nordlet/declarations/types/vat_prorata_list_declarations_response.rb +11 -0
- data/lib/nordlet/declarations/types/vat_prorata_list_declarations_response_rows_item.rb +13 -0
- data/lib/nordlet/declarations/types/vat_prorata_set_declarations_request.rb +13 -0
- data/lib/nordlet/declarations/types/vat_prorata_set_declarations_response.rb +13 -0
- data/lib/nordlet/document_series/client.rb +2 -1
- data/lib/nordlet/files/client.rb +2 -2
- data/lib/nordlet/fleet/client.rb +3 -1
- data/lib/nordlet/hr/client.rb +9 -5
- data/lib/nordlet/inventory/client.rb +14 -6
- data/lib/nordlet/inventory/types/stock_receive_inventory_request.rb +2 -0
- data/lib/nordlet/inventory/types/stock_receive_inventory_response.rb +4 -0
- data/lib/nordlet/inventory/types/stock_receive_inventory_response_warnings_item.rb +15 -0
- data/lib/nordlet/leads/client.rb +2 -1
- data/lib/nordlet/ledger/client.rb +176 -11
- data/lib/nordlet/ledger/types/accruals_create_ledger_request.rb +15 -0
- data/lib/nordlet/ledger/types/accruals_create_ledger_request_lines_item.rb +19 -0
- data/lib/nordlet/ledger/types/accruals_create_ledger_response.rb +17 -0
- data/lib/nordlet/ledger/types/fx_revaluation_reverse_ledger_request.rb +13 -0
- data/lib/nordlet/ledger/types/fx_revaluation_reverse_ledger_response.rb +13 -0
- data/lib/nordlet/ledger/types/fx_revaluation_run_ledger_request.rb +11 -0
- data/lib/nordlet/ledger/types/fx_revaluation_run_ledger_response.rb +25 -0
- data/lib/nordlet/ledger/types/fx_revaluation_run_ledger_response_lines_item.rb +19 -0
- data/lib/nordlet/ledger/types/fx_revaluation_run_ledger_response_lines_item_kind.rb +15 -0
- data/lib/nordlet/ledger/types/journal_transactions_create_ledger_request_entries_item.rb +2 -0
- data/lib/nordlet/ledger/types/journal_transactions_get_ledger_response_entries_item.rb +2 -0
- data/lib/nordlet/ledger/types/posting_rules_update_ledger_request_rules_item_key.rb +5 -0
- data/lib/nordlet/ledger/types/tax_provision_post_ledger_request.rb +13 -0
- data/lib/nordlet/ledger/types/tax_provision_post_ledger_response.rb +17 -0
- data/lib/nordlet/migration/client.rb +5 -1
- data/lib/nordlet/operation_types/client.rb +4 -1
- data/lib/nordlet/partners/client.rb +14 -10
- data/lib/nordlet/partners/types/find_or_create_partners_request.rb +2 -0
- data/lib/nordlet/payroll/client.rb +24 -19
- data/lib/nordlet/payroll/types/runs_approve_payroll_request.rb +4 -0
- data/lib/nordlet/platform_sellers/client.rb +3 -1
- data/lib/nordlet/production/client.rb +4 -2
- data/lib/nordlet/projects/client.rb +3 -2
- data/lib/nordlet/public/types/invoices_get_public_response_status.rb +1 -0
- data/lib/nordlet/purchases/client.rb +20 -12
- data/lib/nordlet/purchases/types/invoices_create_purchases_response_warnings_item.rb +2 -0
- data/lib/nordlet/purchases/types/invoices_register_purchases_response_warnings_item.rb +2 -0
- data/lib/nordlet/reference/client.rb +4 -1
- data/lib/nordlet/review/client.rb +55 -0
- data/lib/nordlet/review/types/queue_list_review_request.rb +9 -0
- data/lib/nordlet/review/types/queue_list_review_response.rb +13 -0
- data/lib/nordlet/review/types/queue_list_review_response_items_item.rb +19 -0
- data/lib/nordlet/review/types/queue_list_review_response_items_item_kind.rb +16 -0
- data/lib/nordlet/sales/client.rb +65 -17
- data/lib/nordlet/sales/types/invoices_apply_advance_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_apply_advance_sales_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_apply_advance_sales_response_status.rb +1 -0
- data/lib/nordlet/sales/types/invoices_create_sales_request_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_create_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_create_sales_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_create_sales_response_status.rb +1 -0
- data/lib/nordlet/sales/types/invoices_create_sales_response_warnings_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_get_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_get_sales_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_get_sales_response_status.rb +1 -0
- data/lib/nordlet/sales/types/invoices_issue_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_issue_sales_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_issue_sales_response_status.rb +1 -0
- data/lib/nordlet/sales/types/invoices_issue_sales_response_warnings_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_list_sales_response_rows_item.rb +6 -0
- data/lib/nordlet/sales/types/invoices_list_sales_response_rows_item_status.rb +1 -0
- data/lib/nordlet/sales/types/invoices_lock_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_lock_sales_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_lock_sales_response_status.rb +1 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_request.rb +13 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response.rb +149 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_lines_item.rb +61 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_lines_item_recognition_method.rb +16 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_lines_item_recognition_milestones_item.rb +15 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_payment_status.rb +15 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_status.rb +15 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_type.rb +16 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_vat_evidence.rb +25 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_vat_evidence_location.rb +13 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_vat_evidence_partner.rb +17 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_vat_evidence_rate_table.rb +17 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_vat_evidence_rates_item.rb +15 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_vat_evidence_scheme.rb +15 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_vat_evidence_vies.rb +23 -0
- data/lib/nordlet/sales/types/invoices_reverse_sales_response_vat_scheme.rb +21 -0
- data/lib/nordlet/sales/types/invoices_unlock_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_unlock_sales_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_unlock_sales_response_status.rb +1 -0
- data/lib/nordlet/sales/types/invoices_update_sales_request_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_update_sales_response.rb +6 -0
- data/lib/nordlet/sales/types/invoices_update_sales_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_update_sales_response_status.rb +1 -0
- data/lib/nordlet/sales/types/invoices_view_sales_response_status.rb +1 -0
- data/lib/nordlet/transport/client.rb +2 -1
- data/lib/nordlet/version.rb +1 -1
- data/lib/nordlet/webhooks/types/subscriptions_create_webhooks_request_events_item.rb +3 -0
- data/lib/nordlet/webhooks/types/subscriptions_update_webhooks_request_events_item.rb +3 -0
- data/lib/nordlet.rb +96 -0
- data/reference.md +1258 -480
- metadata +98 -2
data/lib/nordlet/bank/client.rb
CHANGED
|
@@ -205,9 +205,10 @@ module Nordlet
|
|
|
205
205
|
end
|
|
206
206
|
|
|
207
207
|
# List the bank transactions of the company. Filterable by id, bankAccountId, status, matchedDocumentId, date,
|
|
208
|
-
# amount, counterpartyIban, counterpartyName, partnerId and externalId; sortable by date, createdAt
|
|
209
|
-
#
|
|
210
|
-
#
|
|
208
|
+
# amount, counterpartyIban, counterpartyName, partnerId and externalId; sortable by date, createdAt, amount,
|
|
209
|
+
# bankAccountName (the name of the bank account), partnerName (the name of the partner, else the counterparty
|
|
210
|
+
# name), description and status. `counterpartyName` is the name as the bank wrote it; `partnerId` and
|
|
211
|
+
# `partnerName` are the partner the line belongs to.
|
|
211
212
|
#
|
|
212
213
|
# @param request_options [Hash]
|
|
213
214
|
# @param params [Nordlet::Bank::Types::TransactionsListBankRequest]
|
|
@@ -242,24 +243,27 @@ module Nordlet
|
|
|
242
243
|
end
|
|
243
244
|
|
|
244
245
|
# Match one new bank transaction to a document: an issued sale invoice or advance for incoming money; an issued
|
|
245
|
-
# sale credit note, a registered purchase invoice
|
|
246
|
-
#
|
|
246
|
+
# sale credit note, a registered purchase invoice, an approved payroll run or an expense report (the last two in
|
|
247
|
+
# company currency only) for outgoing money. An expense report is paid to the employee by debiting the cash
|
|
248
|
+
# advances account (`cash.advances`) against the bank account, which settles the employee's advance balance in
|
|
249
|
+
# `cash/advance-holders/balances`; a report already paid in full or a payment above its remaining amount answers
|
|
250
|
+
# 409. Posts the payment journal transaction between the bank account and the receivable or payable account the
|
|
247
251
|
# invoice was posted to (the account of its operation type, else the posting rule) or the net payable account,
|
|
248
252
|
# with any exchange difference on the gain or loss account, raises the paid amount of the document and sets the
|
|
249
253
|
# line to matched. A payment in another currency is converted into the invoice currency at the rate of the line
|
|
250
254
|
# date, and the difference against the invoice's own rate is the exchange difference; `invoiceAmount` states the
|
|
251
255
|
# amount settled instead; in the same currency it must equal the payment (422). `remainder` settles a payment that
|
|
252
256
|
# differs from the remaining balance of a sale or purchase invoice in its own currency: `advance` books an
|
|
253
|
-
# overpayment beyond the balance to the advances-received posting rule (customer payments) or
|
|
254
|
-
#
|
|
255
|
-
# over- or underpayment to `remainder.accountCode`, else to the
|
|
256
|
-
# customer underpayment, a supplier overpayment, a credit note refund
|
|
257
|
-
# `bank.paymentDifferenceGain` rule (a supplier underpayment, a customer overpayment, a
|
|
258
|
-
# its balance), and settles the invoice in full; `leave_open` settles an underpayment as
|
|
259
|
-
# leaves the rest open. Answers 409 when the line is already matched or ignored, when the
|
|
260
|
-
# beyond one cent of the payment) exceeds the remaining balance of the document and no
|
|
261
|
-
# when the accounting period of the line date is locked. A document that becomes fully
|
|
262
|
-
# `sale_invoice.paid` or `purchase_invoice.paid`.
|
|
257
|
+
# overpayment beyond the balance to the advances-received posting rule (customer payments) or, for a supplier
|
|
258
|
+
# overpayment, to the `purchases.advancesPaid` posting rule, or to `remainder.accountCode` when given, on the
|
|
259
|
+
# line's partner; `write_off` books the over- or underpayment to `remainder.accountCode`, else to the
|
|
260
|
+
# `bank.paymentDifferenceLoss` posting rule (a customer underpayment, a supplier overpayment, a credit note refund
|
|
261
|
+
# beyond its balance) or the `bank.paymentDifferenceGain` rule (a supplier underpayment, a customer overpayment, a
|
|
262
|
+
# credit note refund below its balance), and settles the invoice in full; `leave_open` settles an underpayment as
|
|
263
|
+
# a partial payment and leaves the rest open. Answers 409 when the line is already matched or ignored, when the
|
|
264
|
+
# amount (converted, beyond one cent of the payment) exceeds the remaining balance of the document and no
|
|
265
|
+
# `remainder` is given, or when the accounting period of the line date is locked. A document that becomes fully
|
|
266
|
+
# paid is announced as `sale_invoice.paid` or `purchase_invoice.paid`.
|
|
263
267
|
#
|
|
264
268
|
# @param request_options [Hash]
|
|
265
269
|
# @param params [Nordlet::Bank::Types::TransactionsMatchBankRequest]
|
|
@@ -563,11 +567,13 @@ module Nordlet
|
|
|
563
567
|
end
|
|
564
568
|
end
|
|
565
569
|
|
|
566
|
-
# Build a
|
|
567
|
-
# invoice from the bank account on `executionDate` (default: today), to the partner's default bank
|
|
568
|
-
# bank account needs an IBAN and every invoice must be in
|
|
569
|
-
# otherwise, see `partners/bank-accounts/create`); an invoice that is already
|
|
570
|
-
#
|
|
570
|
+
# Build a credit transfer file (ISO 20022 pain.001.001.03) that pays the remaining amount of each registered
|
|
571
|
+
# purchase invoice from the bank account on `executionDate` (default: today), to the partner's default bank
|
|
572
|
+
# account. The bank account needs an IBAN and every invoice must be in the currency of the bank account and have a
|
|
573
|
+
# partner bank account on file (422 otherwise, see `partners/bank-accounts/create`); an invoice that is already
|
|
574
|
+
# paid answers 409. A file in EUR is a SEPA credit transfer (service level SEPA); a file in another currency is a
|
|
575
|
+
# generic pain.001 without the SEPA service level, in the currency of the account. The file is returned as `xml`;
|
|
576
|
+
# nothing is posted or marked paid.
|
|
571
577
|
#
|
|
572
578
|
# @param request_options [Hash]
|
|
573
579
|
# @param params [Nordlet::Bank::Types::PaymentsExportBankRequest]
|
|
@@ -1099,7 +1105,8 @@ module Nordlet
|
|
|
1099
1105
|
end
|
|
1100
1106
|
|
|
1101
1107
|
# List the mandates of the company. Filterable by partnerId, status, scheme, reference and iban; sortable by
|
|
1102
|
-
# createdAt
|
|
1108
|
+
# createdAt, signatureDate, reference, partnerName (the name of the partner, else the debtor name), iban, scheme,
|
|
1109
|
+
# sequenceType, collectionsCount, expiresOn (the last collection date, else the signature date) and status.
|
|
1103
1110
|
#
|
|
1104
1111
|
# @param request_options [Hash]
|
|
1105
1112
|
# @param params [Nordlet::Bank::Types::MandatesListBankRequest]
|
|
@@ -1135,8 +1142,9 @@ module Nordlet
|
|
|
1135
1142
|
|
|
1136
1143
|
# List the issued EUR sale invoices that are unpaid or partly paid and whose partner holds an active mandate, each
|
|
1137
1144
|
# with the mandate `bank/direct-debits/export` would use (the most recently signed active one). Filterable by
|
|
1138
|
-
# partnerId, fullNumber, issueDate and dueDate; sortable by issueDate, dueDate, fullNumber, grossTotal
|
|
1139
|
-
#
|
|
1145
|
+
# partnerId, fullNumber, issueDate and dueDate; sortable by issueDate, dueDate, fullNumber, grossTotal, createdAt,
|
|
1146
|
+
# partnerName (the name of the partner), remaining (the gross total less the paid amount) and mandateReference
|
|
1147
|
+
# (the reference of the mandate shown).
|
|
1140
1148
|
#
|
|
1141
1149
|
# @param request_options [Hash]
|
|
1142
1150
|
# @param params [Nordlet::Bank::Types::DirectDebitsCandidatesBankRequest]
|
|
@@ -1215,8 +1223,8 @@ module Nordlet
|
|
|
1215
1223
|
# purchase invoices, issued sale credit notes and approved payroll runs for outgoing money. Candidates are unpaid
|
|
1216
1224
|
# documents with any remaining balance, also one below the payment, scored by an equal remaining balance, the
|
|
1217
1225
|
# document number or payroll period in the payment description and a counterparty IBAN or name matching the
|
|
1218
|
-
# partner or an employee on the run; the best `limit` come back with their reasons
|
|
1219
|
-
# matched answers 409.
|
|
1226
|
+
# partner or an employee on the run; the best `limit` come back with their reasons; a candidate with no matching
|
|
1227
|
+
# reason (score 0) is left out. A transaction that is already matched answers 409.
|
|
1220
1228
|
#
|
|
1221
1229
|
# @param request_options [Hash]
|
|
1222
1230
|
# @param params [Nordlet::Bank::Types::TransactionsSuggestMatchesBankRequest]
|
|
@@ -1292,7 +1300,9 @@ module Nordlet
|
|
|
1292
1300
|
end
|
|
1293
1301
|
|
|
1294
1302
|
# List the settlement batches with their line counts and the clearing figures against the bank lines. Filterable
|
|
1295
|
-
# by provider, payoutId, status, currency and bankAccountId; sortable by payoutDate, createdAt
|
|
1303
|
+
# by provider, payoutId, status, currency and bankAccountId; sortable by payoutDate, createdAt, netTotal,
|
|
1304
|
+
# payoutId, provider, bankAccountName (the name of the bank account), grossTotal, feeTotal, lineCount (the number
|
|
1305
|
+
# of lines) and status.
|
|
1296
1306
|
#
|
|
1297
1307
|
# @param request_options [Hash]
|
|
1298
1308
|
# @param params [Nordlet::Bank::Types::SettlementsListBankRequest]
|
|
@@ -1657,7 +1667,8 @@ module Nordlet
|
|
|
1657
1667
|
end
|
|
1658
1668
|
|
|
1659
1669
|
# List the imported securities operations, newest first; filterable by `bankAccountId`, `kind`, `status`, `symbol`
|
|
1660
|
-
# and `date`, sortable by `date`
|
|
1670
|
+
# and `date`, sortable by `date`, `createdAt`, `bankAccountName` (the name of the bank account), `kind`, `symbol`,
|
|
1671
|
+
# `quantity`, `amount`, `fee`, `cashBase`, `costBase`, `realizedBase` and `status`.
|
|
1661
1672
|
#
|
|
1662
1673
|
# @param request_options [Hash]
|
|
1663
1674
|
# @param params [Nordlet::Bank::Types::SecuritiesOperationsListBankRequest]
|
|
@@ -84,7 +84,12 @@ module Nordlet
|
|
|
84
84
|
end
|
|
85
85
|
|
|
86
86
|
# With amend: true the return is filed again as a correction of the one already submitted or accepted for the
|
|
87
|
-
# period; only
|
|
87
|
+
# period; only deadlines whose `calendar/get` row has `correction` accept it. `correction` carries what that row's
|
|
88
|
+
# `correction.required` and `correction.optional` name: `reason`, `reasonCode` (one of `correction.reasonCodes`),
|
|
89
|
+
# `authorityReference`, the administration's own number of the filing being corrected, and `discoveredOn`, the
|
|
90
|
+
# date the error was found (YYYY-MM-DD, not after the company's today); a missing required one answers 422 with
|
|
91
|
+
# fieldErrors. For a deadline filed as one document per person, `documentKeys` limits the correction to those
|
|
92
|
+
# documents.
|
|
88
93
|
#
|
|
89
94
|
# @param request_options [Hash]
|
|
90
95
|
# @param params [Nordlet::Calendar::Types::SubmitCalendarRequest]
|
|
@@ -32,6 +32,8 @@ module Nordlet
|
|
|
32
32
|
|
|
33
33
|
field :can_amend, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "canAmend"
|
|
34
34
|
|
|
35
|
+
field :correction, -> { Nordlet::Calendar::Types::CreateCalendarResponseCorrection }, optional: false, nullable: true
|
|
36
|
+
|
|
35
37
|
field :can_download, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "canDownload"
|
|
36
38
|
|
|
37
39
|
field :automated, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Calendar
|
|
5
|
+
module Types
|
|
6
|
+
class CreateCalendarResponseCorrection < Internal::Types::Model
|
|
7
|
+
field :required, -> { Internal::Types::Array[Nordlet::Calendar::Types::CreateCalendarResponseCorrectionRequiredItem] }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :optional, -> { Internal::Types::Array[Nordlet::Calendar::Types::CreateCalendarResponseCorrectionOptionalItem] }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :reason_codes, -> { Internal::Types::Array[Nordlet::Calendar::Types::CreateCalendarResponseCorrectionReasonCodesItem] }, optional: false, nullable: false, api_name: "reasonCodes"
|
|
12
|
+
|
|
13
|
+
field :carry, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Calendar
|
|
5
|
+
module Types
|
|
6
|
+
module CreateCalendarResponseCorrectionOptionalItem
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
REASON = "reason"
|
|
10
|
+
REASON_CODE = "reasonCode"
|
|
11
|
+
AUTHORITY_REFERENCE = "authorityReference"
|
|
12
|
+
DISCOVERED_ON = "discoveredOn"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Calendar
|
|
5
|
+
module Types
|
|
6
|
+
class CreateCalendarResponseCorrectionReasonCodesItem < Internal::Types::Model
|
|
7
|
+
field :code, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :label, -> { String }, optional: false, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Calendar
|
|
5
|
+
module Types
|
|
6
|
+
module CreateCalendarResponseCorrectionRequiredItem
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
REASON = "reason"
|
|
10
|
+
REASON_CODE = "reasonCode"
|
|
11
|
+
AUTHORITY_REFERENCE = "authorityReference"
|
|
12
|
+
DISCOVERED_ON = "discoveredOn"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -32,6 +32,10 @@ module Nordlet
|
|
|
32
32
|
|
|
33
33
|
field :amendment, -> { Integer }, optional: false, nullable: false
|
|
34
34
|
|
|
35
|
+
field :authority_ref, -> { String }, optional: false, nullable: true, api_name: "authorityRef"
|
|
36
|
+
|
|
37
|
+
field :correction_input, -> { Nordlet::Calendar::Types::CreateCalendarResponseSubmissionCorrectionInput }, optional: false, nullable: true, api_name: "correctionInput"
|
|
38
|
+
|
|
35
39
|
field :origin, -> { String }, optional: false, nullable: false
|
|
36
40
|
|
|
37
41
|
field :transport_system, -> { String }, optional: false, nullable: true, api_name: "transportSystem"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Calendar
|
|
5
|
+
module Types
|
|
6
|
+
class CreateCalendarResponseSubmissionCorrectionInput < Internal::Types::Model
|
|
7
|
+
field :reason, -> { String }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :reason_code, -> { String }, optional: true, nullable: false, api_name: "reasonCode"
|
|
10
|
+
|
|
11
|
+
field :authority_reference, -> { String }, optional: true, nullable: false, api_name: "authorityReference"
|
|
12
|
+
|
|
13
|
+
field :discovered_on, -> { String }, optional: true, nullable: false, api_name: "discoveredOn"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -32,6 +32,10 @@ module Nordlet
|
|
|
32
32
|
|
|
33
33
|
field :amendment, -> { Integer }, optional: false, nullable: false
|
|
34
34
|
|
|
35
|
+
field :authority_ref, -> { String }, optional: false, nullable: true, api_name: "authorityRef"
|
|
36
|
+
|
|
37
|
+
field :correction_input, -> { Nordlet::Calendar::Types::CreateCalendarResponseSubmissionsItemCorrectionInput }, optional: false, nullable: true, api_name: "correctionInput"
|
|
38
|
+
|
|
35
39
|
field :origin, -> { String }, optional: false, nullable: false
|
|
36
40
|
|
|
37
41
|
field :transport_system, -> { String }, optional: false, nullable: true, api_name: "transportSystem"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Calendar
|
|
5
|
+
module Types
|
|
6
|
+
class CreateCalendarResponseSubmissionsItemCorrectionInput < Internal::Types::Model
|
|
7
|
+
field :reason, -> { String }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :reason_code, -> { String }, optional: true, nullable: false, api_name: "reasonCode"
|
|
10
|
+
|
|
11
|
+
field :authority_reference, -> { String }, optional: true, nullable: false, api_name: "authorityReference"
|
|
12
|
+
|
|
13
|
+
field :discovered_on, -> { String }, optional: true, nullable: false, api_name: "discoveredOn"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -32,6 +32,8 @@ module Nordlet
|
|
|
32
32
|
|
|
33
33
|
field :can_amend, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "canAmend"
|
|
34
34
|
|
|
35
|
+
field :correction, -> { Nordlet::Calendar::Types::GetCalendarResponseCorrection }, optional: false, nullable: true
|
|
36
|
+
|
|
35
37
|
field :can_download, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "canDownload"
|
|
36
38
|
|
|
37
39
|
field :automated, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Calendar
|
|
5
|
+
module Types
|
|
6
|
+
class GetCalendarResponseCorrection < Internal::Types::Model
|
|
7
|
+
field :required, -> { Internal::Types::Array[Nordlet::Calendar::Types::GetCalendarResponseCorrectionRequiredItem] }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :optional, -> { Internal::Types::Array[Nordlet::Calendar::Types::GetCalendarResponseCorrectionOptionalItem] }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :reason_codes, -> { Internal::Types::Array[Nordlet::Calendar::Types::GetCalendarResponseCorrectionReasonCodesItem] }, optional: false, nullable: false, api_name: "reasonCodes"
|
|
12
|
+
|
|
13
|
+
field :carry, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Calendar
|
|
5
|
+
module Types
|
|
6
|
+
module GetCalendarResponseCorrectionOptionalItem
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
REASON = "reason"
|
|
10
|
+
REASON_CODE = "reasonCode"
|
|
11
|
+
AUTHORITY_REFERENCE = "authorityReference"
|
|
12
|
+
DISCOVERED_ON = "discoveredOn"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Calendar
|
|
5
|
+
module Types
|
|
6
|
+
class GetCalendarResponseCorrectionReasonCodesItem < Internal::Types::Model
|
|
7
|
+
field :code, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :label, -> { String }, optional: false, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Calendar
|
|
5
|
+
module Types
|
|
6
|
+
module GetCalendarResponseCorrectionRequiredItem
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
REASON = "reason"
|
|
10
|
+
REASON_CODE = "reasonCode"
|
|
11
|
+
AUTHORITY_REFERENCE = "authorityReference"
|
|
12
|
+
DISCOVERED_ON = "discoveredOn"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -32,6 +32,10 @@ module Nordlet
|
|
|
32
32
|
|
|
33
33
|
field :amendment, -> { Integer }, optional: false, nullable: false
|
|
34
34
|
|
|
35
|
+
field :authority_ref, -> { String }, optional: false, nullable: true, api_name: "authorityRef"
|
|
36
|
+
|
|
37
|
+
field :correction_input, -> { Nordlet::Calendar::Types::GetCalendarResponseSubmissionCorrectionInput }, optional: false, nullable: true, api_name: "correctionInput"
|
|
38
|
+
|
|
35
39
|
field :origin, -> { String }, optional: false, nullable: false
|
|
36
40
|
|
|
37
41
|
field :transport_system, -> { String }, optional: false, nullable: true, api_name: "transportSystem"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Calendar
|
|
5
|
+
module Types
|
|
6
|
+
class GetCalendarResponseSubmissionCorrectionInput < Internal::Types::Model
|
|
7
|
+
field :reason, -> { String }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :reason_code, -> { String }, optional: true, nullable: false, api_name: "reasonCode"
|
|
10
|
+
|
|
11
|
+
field :authority_reference, -> { String }, optional: true, nullable: false, api_name: "authorityReference"
|
|
12
|
+
|
|
13
|
+
field :discovered_on, -> { String }, optional: true, nullable: false, api_name: "discoveredOn"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -32,6 +32,10 @@ module Nordlet
|
|
|
32
32
|
|
|
33
33
|
field :amendment, -> { Integer }, optional: false, nullable: false
|
|
34
34
|
|
|
35
|
+
field :authority_ref, -> { String }, optional: false, nullable: true, api_name: "authorityRef"
|
|
36
|
+
|
|
37
|
+
field :correction_input, -> { Nordlet::Calendar::Types::GetCalendarResponseSubmissionsItemCorrectionInput }, optional: false, nullable: true, api_name: "correctionInput"
|
|
38
|
+
|
|
35
39
|
field :origin, -> { String }, optional: false, nullable: false
|
|
36
40
|
|
|
37
41
|
field :transport_system, -> { String }, optional: false, nullable: true, api_name: "transportSystem"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Calendar
|
|
5
|
+
module Types
|
|
6
|
+
class GetCalendarResponseSubmissionsItemCorrectionInput < Internal::Types::Model
|
|
7
|
+
field :reason, -> { String }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :reason_code, -> { String }, optional: true, nullable: false, api_name: "reasonCode"
|
|
10
|
+
|
|
11
|
+
field :authority_reference, -> { String }, optional: true, nullable: false, api_name: "authorityReference"
|
|
12
|
+
|
|
13
|
+
field :discovered_on, -> { String }, optional: true, nullable: false, api_name: "discoveredOn"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -32,6 +32,8 @@ module Nordlet
|
|
|
32
32
|
|
|
33
33
|
field :can_amend, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "canAmend"
|
|
34
34
|
|
|
35
|
+
field :correction, -> { Nordlet::Calendar::Types::ListCalendarResponseRowsItemCorrection }, optional: false, nullable: true
|
|
36
|
+
|
|
35
37
|
field :can_download, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "canDownload"
|
|
36
38
|
|
|
37
39
|
field :automated, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Calendar
|
|
5
|
+
module Types
|
|
6
|
+
class ListCalendarResponseRowsItemCorrection < Internal::Types::Model
|
|
7
|
+
field :required, -> { Internal::Types::Array[Nordlet::Calendar::Types::ListCalendarResponseRowsItemCorrectionRequiredItem] }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :optional, -> { Internal::Types::Array[Nordlet::Calendar::Types::ListCalendarResponseRowsItemCorrectionOptionalItem] }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :reason_codes, -> { Internal::Types::Array[Nordlet::Calendar::Types::ListCalendarResponseRowsItemCorrectionReasonCodesItem] }, optional: false, nullable: false, api_name: "reasonCodes"
|
|
12
|
+
|
|
13
|
+
field :carry, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Calendar
|
|
5
|
+
module Types
|
|
6
|
+
module ListCalendarResponseRowsItemCorrectionOptionalItem
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
REASON = "reason"
|
|
10
|
+
REASON_CODE = "reasonCode"
|
|
11
|
+
AUTHORITY_REFERENCE = "authorityReference"
|
|
12
|
+
DISCOVERED_ON = "discoveredOn"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
data/lib/nordlet/calendar/types/list_calendar_response_rows_item_correction_reason_codes_item.rb
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Calendar
|
|
5
|
+
module Types
|
|
6
|
+
class ListCalendarResponseRowsItemCorrectionReasonCodesItem < Internal::Types::Model
|
|
7
|
+
field :code, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :label, -> { String }, optional: false, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Calendar
|
|
5
|
+
module Types
|
|
6
|
+
module ListCalendarResponseRowsItemCorrectionRequiredItem
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
REASON = "reason"
|
|
10
|
+
REASON_CODE = "reasonCode"
|
|
11
|
+
AUTHORITY_REFERENCE = "authorityReference"
|
|
12
|
+
DISCOVERED_ON = "discoveredOn"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -32,6 +32,10 @@ module Nordlet
|
|
|
32
32
|
|
|
33
33
|
field :amendment, -> { Integer }, optional: false, nullable: false
|
|
34
34
|
|
|
35
|
+
field :authority_ref, -> { String }, optional: false, nullable: true, api_name: "authorityRef"
|
|
36
|
+
|
|
37
|
+
field :correction_input, -> { Nordlet::Calendar::Types::ListCalendarResponseRowsItemSubmissionCorrectionInput }, optional: false, nullable: true, api_name: "correctionInput"
|
|
38
|
+
|
|
35
39
|
field :origin, -> { String }, optional: false, nullable: false
|
|
36
40
|
|
|
37
41
|
field :transport_system, -> { String }, optional: false, nullable: true, api_name: "transportSystem"
|
data/lib/nordlet/calendar/types/list_calendar_response_rows_item_submission_correction_input.rb
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Calendar
|
|
5
|
+
module Types
|
|
6
|
+
class ListCalendarResponseRowsItemSubmissionCorrectionInput < Internal::Types::Model
|
|
7
|
+
field :reason, -> { String }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :reason_code, -> { String }, optional: true, nullable: false, api_name: "reasonCode"
|
|
10
|
+
|
|
11
|
+
field :authority_reference, -> { String }, optional: true, nullable: false, api_name: "authorityReference"
|
|
12
|
+
|
|
13
|
+
field :discovered_on, -> { String }, optional: true, nullable: false, api_name: "discoveredOn"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -32,6 +32,10 @@ module Nordlet
|
|
|
32
32
|
|
|
33
33
|
field :amendment, -> { Integer }, optional: false, nullable: false
|
|
34
34
|
|
|
35
|
+
field :authority_ref, -> { String }, optional: false, nullable: true, api_name: "authorityRef"
|
|
36
|
+
|
|
37
|
+
field :correction_input, -> { Nordlet::Calendar::Types::ListCalendarResponseRowsItemSubmissionsItemCorrectionInput }, optional: false, nullable: true, api_name: "correctionInput"
|
|
38
|
+
|
|
35
39
|
field :origin, -> { String }, optional: false, nullable: false
|
|
36
40
|
|
|
37
41
|
field :transport_system, -> { String }, optional: false, nullable: true, api_name: "transportSystem"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Calendar
|
|
5
|
+
module Types
|
|
6
|
+
class ListCalendarResponseRowsItemSubmissionsItemCorrectionInput < Internal::Types::Model
|
|
7
|
+
field :reason, -> { String }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :reason_code, -> { String }, optional: true, nullable: false, api_name: "reasonCode"
|
|
10
|
+
|
|
11
|
+
field :authority_reference, -> { String }, optional: true, nullable: false, api_name: "authorityReference"
|
|
12
|
+
|
|
13
|
+
field :discovered_on, -> { String }, optional: true, nullable: false, api_name: "discoveredOn"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -7,6 +7,10 @@ module Nordlet
|
|
|
7
7
|
field :key, -> { String }, optional: false, nullable: false
|
|
8
8
|
|
|
9
9
|
field :amend, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
10
|
+
|
|
11
|
+
field :correction, -> { Nordlet::Calendar::Types::SubmitCalendarRequestCorrection }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :document_keys, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "documentKeys"
|
|
10
14
|
end
|
|
11
15
|
end
|
|
12
16
|
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Calendar
|
|
5
|
+
module Types
|
|
6
|
+
class SubmitCalendarRequestCorrection < Internal::Types::Model
|
|
7
|
+
field :reason, -> { String }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :reason_code, -> { String }, optional: true, nullable: false, api_name: "reasonCode"
|
|
10
|
+
|
|
11
|
+
field :authority_reference, -> { String }, optional: true, nullable: false, api_name: "authorityReference"
|
|
12
|
+
|
|
13
|
+
field :discovered_on, -> { String }, optional: true, nullable: false, api_name: "discoveredOn"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -32,6 +32,10 @@ module Nordlet
|
|
|
32
32
|
|
|
33
33
|
field :amendment, -> { Integer }, optional: false, nullable: false
|
|
34
34
|
|
|
35
|
+
field :authority_ref, -> { String }, optional: false, nullable: true, api_name: "authorityRef"
|
|
36
|
+
|
|
37
|
+
field :correction_input, -> { Nordlet::Calendar::Types::SubmitCalendarResponseCorrectionInput }, optional: false, nullable: true, api_name: "correctionInput"
|
|
38
|
+
|
|
35
39
|
field :origin, -> { String }, optional: false, nullable: false
|
|
36
40
|
|
|
37
41
|
field :transport_system, -> { String }, optional: false, nullable: true, api_name: "transportSystem"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Calendar
|
|
5
|
+
module Types
|
|
6
|
+
class SubmitCalendarResponseCorrectionInput < Internal::Types::Model
|
|
7
|
+
field :reason, -> { String }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :reason_code, -> { String }, optional: true, nullable: false, api_name: "reasonCode"
|
|
10
|
+
|
|
11
|
+
field :authority_reference, -> { String }, optional: true, nullable: false, api_name: "authorityReference"
|
|
12
|
+
|
|
13
|
+
field :discovered_on, -> { String }, optional: true, nullable: false, api_name: "discoveredOn"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|