nordlet 0.6.6 → 0.6.8
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 +89 -6
- data/lib/nordlet/account/types/brand_get_account_request.rb +9 -0
- data/lib/nordlet/account/types/brand_get_account_response.rb +17 -0
- data/lib/nordlet/account/types/brand_update_account_request.rb +17 -0
- data/lib/nordlet/account/types/brand_update_account_response.rb +17 -0
- data/lib/nordlet/account/types/companies_create_account_response.rb +10 -0
- data/lib/nordlet/account/types/companies_create_account_response_vat_period.rb +17 -0
- data/lib/nordlet/account/types/me_account_response_companies_item.rb +10 -0
- data/lib/nordlet/account/types/me_account_response_companies_item_vat_period.rb +17 -0
- data/lib/nordlet/account/types/me_account_response_user.rb +2 -0
- data/lib/nordlet/bank/client.rb +183 -14
- data/lib/nordlet/bank/types/reconciliation_get_bank_request.rb +15 -0
- data/lib/nordlet/bank/types/reconciliation_get_bank_response.rb +35 -0
- data/lib/nordlet/bank/types/reconciliation_get_bank_response_statement_balance_source.rb +14 -0
- data/lib/nordlet/bank/types/reconciliation_get_bank_response_unbooked_lines_item.rb +39 -0
- data/lib/nordlet/bank/types/reconciliation_get_bank_response_unbooked_lines_item_status.rb +15 -0
- data/lib/nordlet/bank/types/transactions_ignore_bank_request.rb +13 -0
- data/lib/nordlet/bank/types/transactions_ignore_bank_response.rb +39 -0
- data/lib/nordlet/bank/types/transactions_ignore_bank_response_status.rb +15 -0
- data/lib/nordlet/bank/types/transactions_import_bank_request.rb +4 -0
- data/lib/nordlet/bank/types/transactions_import_bank_response.rb +2 -0
- data/lib/nordlet/bank/types/transactions_import_bank_response_duplicates_item.rb +17 -0
- data/lib/nordlet/bank/types/transactions_list_bank_response_rows_item.rb +2 -0
- data/lib/nordlet/bank/types/transactions_list_bank_response_rows_item_status.rb +1 -0
- data/lib/nordlet/bank/types/transactions_match_bank_request.rb +2 -0
- data/lib/nordlet/bank/types/transactions_match_bank_request_remainder.rb +13 -0
- data/lib/nordlet/bank/types/transactions_match_bank_request_remainder_treatment.rb +15 -0
- data/lib/nordlet/bank/types/transactions_match_bank_response.rb +2 -0
- data/lib/nordlet/bank/types/transactions_match_bank_response_status.rb +1 -0
- data/lib/nordlet/bank/types/transactions_match_many_bank_response.rb +2 -0
- data/lib/nordlet/bank/types/transactions_match_many_bank_response_status.rb +1 -0
- data/lib/nordlet/bank/types/transactions_post_bank_request.rb +25 -0
- data/lib/nordlet/bank/types/transactions_post_bank_response.rb +39 -0
- data/lib/nordlet/bank/types/transactions_post_bank_response_status.rb +15 -0
- data/lib/nordlet/bank/types/transactions_record_bank_response.rb +2 -0
- data/lib/nordlet/bank/types/transactions_record_bank_response_status.rb +1 -0
- data/lib/nordlet/bank/types/transactions_unignore_bank_request.rb +11 -0
- data/lib/nordlet/bank/types/transactions_unignore_bank_response.rb +39 -0
- data/lib/nordlet/bank/types/transactions_unignore_bank_response_status.rb +15 -0
- data/lib/nordlet/bank/types/transactions_unmatch_bank_response.rb +2 -0
- data/lib/nordlet/bank/types/transactions_unmatch_bank_response_status.rb +1 -0
- data/lib/nordlet/billing/client.rb +3 -2
- data/lib/nordlet/billing/types/account_get_billing_response_month_to_date.rb +0 -2
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_month_to_date.rb +0 -2
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_month_to_date.rb +0 -2
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_month_to_date.rb +0 -2
- data/lib/nordlet/billing/types/account_set_plan_billing_response_month_to_date.rb +0 -2
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_month_to_date.rb +0 -2
- data/lib/nordlet/billing/types/free_sandbox_start_billing_response_month_to_date.rb +0 -2
- data/lib/nordlet/billing/types/subscription_cancel_billing_response_month_to_date.rb +0 -2
- data/lib/nordlet/billing/types/topup_confirm_billing_response_month_to_date.rb +0 -2
- data/lib/nordlet/calendar/client.rb +3 -1
- data/lib/nordlet/capture/client.rb +6 -188
- data/lib/nordlet/capture/types/documents_confirm_capture_response_invoice.rb +6 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_invoice_status.rb +1 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_opposite_invoice.rb +6 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_opposite_invoice_status.rb +1 -0
- data/lib/nordlet/cash/client.rb +11 -10
- data/lib/nordlet/declarations/client.rb +7 -3
- data/lib/nordlet/declarations/types/configs_list_declarations_response_rows_item_fields_item.rb +2 -0
- data/lib/nordlet/declarations/types/configs_update_declarations_response_fields_item.rb +2 -0
- data/lib/nordlet/hr/client.rb +3 -2
- data/lib/nordlet/ledger/client.rb +46 -5
- data/lib/nordlet/ledger/types/journal_transactions_get_ledger_response.rb +2 -0
- data/lib/nordlet/ledger/types/journal_transactions_reverse_ledger_request.rb +15 -0
- data/lib/nordlet/ledger/types/journal_transactions_reverse_ledger_response.rb +27 -0
- data/lib/nordlet/ledger/types/journal_transactions_reverse_ledger_response_status.rb +14 -0
- data/lib/nordlet/ledger/types/periods_lock_ledger_response.rb +2 -0
- data/lib/nordlet/ledger/types/periods_lock_ledger_response_warnings_item.rb +17 -0
- data/lib/nordlet/ledger/types/periods_lock_ledger_response_warnings_item_code.rb +21 -0
- data/lib/nordlet/partners/client.rb +10 -8
- data/lib/nordlet/public/types/invoices_get_public_response.rb +2 -0
- data/lib/nordlet/purchases/client.rb +77 -20
- data/lib/nordlet/purchases/types/invoices_create_purchases_request.rb +6 -0
- data/lib/nordlet/purchases/types/invoices_create_purchases_response.rb +8 -0
- data/lib/nordlet/purchases/types/invoices_create_purchases_response_status.rb +1 -0
- data/lib/nordlet/purchases/types/invoices_create_purchases_response_warnings_item.rb +13 -0
- data/lib/nordlet/purchases/types/invoices_get_purchases_response.rb +6 -0
- data/lib/nordlet/purchases/types/invoices_get_purchases_response_status.rb +1 -0
- data/lib/nordlet/purchases/types/invoices_list_purchases_response_rows_item.rb +6 -0
- data/lib/nordlet/purchases/types/invoices_list_purchases_response_rows_item_status.rb +1 -0
- data/lib/nordlet/purchases/types/invoices_register_purchases_response.rb +8 -0
- data/lib/nordlet/purchases/types/invoices_register_purchases_response_status.rb +1 -0
- data/lib/nordlet/purchases/types/invoices_register_purchases_response_warnings_item.rb +13 -0
- data/lib/nordlet/purchases/types/invoices_reverse_purchases_request.rb +15 -0
- data/lib/nordlet/purchases/types/invoices_reverse_purchases_response.rb +71 -0
- data/lib/nordlet/purchases/types/invoices_reverse_purchases_response_lines_item.rb +53 -0
- data/lib/nordlet/purchases/types/invoices_reverse_purchases_response_payment_status.rb +15 -0
- data/lib/nordlet/purchases/types/invoices_reverse_purchases_response_status.rb +15 -0
- data/lib/nordlet/{capture/types/documents_upload_capture_response_extraction_document_type.rb → purchases/types/invoices_reverse_purchases_response_type.rb} +2 -2
- data/lib/nordlet/purchases/types/invoices_update_purchases_request.rb +6 -0
- data/lib/nordlet/purchases/types/invoices_update_purchases_response.rb +6 -0
- data/lib/nordlet/purchases/types/invoices_update_purchases_response_status.rb +1 -0
- data/lib/nordlet/reference/client.rb +8 -2
- data/lib/nordlet/reference/types/vat_resolve_reference_request.rb +2 -0
- data/lib/nordlet/reference/types/vat_resolve_reference_request_side.rb +14 -0
- data/lib/nordlet/reference/types/vat_resolve_reference_response.rb +2 -0
- data/lib/nordlet/reports/client.rb +42 -0
- data/lib/nordlet/reports/types/period_checklist_reports_request.rb +11 -0
- data/lib/nordlet/reports/types/period_checklist_reports_response.rb +17 -0
- data/lib/nordlet/reports/types/period_checklist_reports_response_items_item.rb +17 -0
- data/lib/nordlet/reports/types/period_checklist_reports_response_items_item_code.rb +21 -0
- data/lib/nordlet/sales/client.rb +19 -8
- data/lib/nordlet/sales/types/invoices_create_sales_response.rb +2 -0
- data/lib/nordlet/sales/types/invoices_create_sales_response_warnings_item.rb +13 -0
- data/lib/nordlet/sales/types/invoices_issue_sales_response.rb +2 -0
- data/lib/nordlet/sales/types/invoices_issue_sales_response_warnings_item.rb +13 -0
- data/lib/nordlet/sales/types/invoices_view_sales_response.rb +2 -0
- data/lib/nordlet/version.rb +1 -1
- data/lib/nordlet.rb +43 -19
- data/reference.md +863 -468
- metadata +45 -21
- data/lib/nordlet/capture/types/documents_upload_capture_request.rb +0 -15
- data/lib/nordlet/capture/types/documents_upload_capture_response.rb +0 -43
- data/lib/nordlet/capture/types/documents_upload_capture_response_extraction.rb +0 -33
- data/lib/nordlet/capture/types/documents_upload_capture_response_extraction_lines_item.rb +0 -25
- data/lib/nordlet/capture/types/documents_upload_capture_response_extraction_opposite_lines_item.rb +0 -25
- data/lib/nordlet/capture/types/documents_upload_capture_response_extraction_supplier.rb +0 -19
- data/lib/nordlet/capture/types/documents_upload_capture_response_status.rb +0 -16
- data/lib/nordlet/capture/types/inbound_email_capture_request.rb +0 -27
- data/lib/nordlet/capture/types/inbound_email_capture_request_attachments_item.rb +0 -21
- data/lib/nordlet/capture/types/inbound_email_capture_request_to.rb +0 -15
- data/lib/nordlet/capture/types/inbound_email_capture_request_to_full_item.rb +0 -11
- data/lib/nordlet/capture/types/inbound_email_capture_response.rb +0 -15
- data/lib/nordlet/capture/types/settings_get_capture_request.rb +0 -9
- data/lib/nordlet/capture/types/settings_get_capture_response.rb +0 -17
- data/lib/nordlet/capture/types/settings_regenerate_intake_capture_request.rb +0 -9
- data/lib/nordlet/capture/types/settings_regenerate_intake_capture_response.rb +0 -17
- data/lib/nordlet/capture/types/settings_update_capture_request.rb +0 -13
- data/lib/nordlet/capture/types/settings_update_capture_response.rb +0 -17
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class TransactionsIgnoreBankRequest < Internal::Types::Model
|
|
7
|
+
field :transaction_id, -> { String }, optional: false, nullable: false, api_name: "transactionId"
|
|
8
|
+
|
|
9
|
+
field :reason, -> { String }, optional: false, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class TransactionsIgnoreBankResponse < 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 :date, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :amount, -> { String }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :currency, -> { String }, optional: false, nullable: false
|
|
16
|
+
|
|
17
|
+
field :counterparty_name, -> { String }, optional: false, nullable: true, api_name: "counterpartyName"
|
|
18
|
+
|
|
19
|
+
field :counterparty_iban, -> { String }, optional: false, nullable: true, api_name: "counterpartyIban"
|
|
20
|
+
|
|
21
|
+
field :description, -> { String }, optional: false, nullable: true
|
|
22
|
+
|
|
23
|
+
field :external_id, -> { String }, optional: false, nullable: true, api_name: "externalId"
|
|
24
|
+
|
|
25
|
+
field :status, -> { Nordlet::Bank::Types::TransactionsIgnoreBankResponseStatus }, optional: false, nullable: false
|
|
26
|
+
|
|
27
|
+
field :matched_document_type, -> { String }, optional: false, nullable: true, api_name: "matchedDocumentType"
|
|
28
|
+
|
|
29
|
+
field :matched_document_id, -> { String }, optional: false, nullable: true, api_name: "matchedDocumentId"
|
|
30
|
+
|
|
31
|
+
field :journal_transaction_id, -> { String }, optional: false, nullable: true, api_name: "journalTransactionId"
|
|
32
|
+
|
|
33
|
+
field :ignore_reason, -> { String }, optional: false, nullable: true, api_name: "ignoreReason"
|
|
34
|
+
|
|
35
|
+
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
module TransactionsIgnoreBankResponseStatus
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
NEW = "new"
|
|
10
|
+
MATCHED = "matched"
|
|
11
|
+
IGNORED = "ignored"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -7,6 +7,10 @@ module Nordlet
|
|
|
7
7
|
field :bank_account_id, -> { String }, optional: false, nullable: false, api_name: "bankAccountId"
|
|
8
8
|
|
|
9
9
|
field :transactions, -> { Internal::Types::Array[Nordlet::Bank::Types::TransactionsImportBankRequestTransactionsItem] }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :opening_balance, -> { String }, optional: true, nullable: false, api_name: "openingBalance"
|
|
12
|
+
|
|
13
|
+
field :closing_balance, -> { String }, optional: true, nullable: false, api_name: "closingBalance"
|
|
10
14
|
end
|
|
11
15
|
end
|
|
12
16
|
end
|
|
@@ -7,6 +7,8 @@ module Nordlet
|
|
|
7
7
|
field :imported, -> { Integer }, optional: false, nullable: false
|
|
8
8
|
|
|
9
9
|
field :skipped, -> { Integer }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :duplicates, -> { Internal::Types::Array[Nordlet::Bank::Types::TransactionsImportBankResponseDuplicatesItem] }, optional: false, nullable: false
|
|
10
12
|
end
|
|
11
13
|
end
|
|
12
14
|
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class TransactionsImportBankResponseDuplicatesItem < Internal::Types::Model
|
|
7
|
+
field :index, -> { Integer }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :existing_transaction_id, -> { String }, optional: false, nullable: false, api_name: "existingTransactionId"
|
|
10
|
+
|
|
11
|
+
field :date, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :amount, -> { String }, optional: false, nullable: false
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -30,6 +30,8 @@ module Nordlet
|
|
|
30
30
|
|
|
31
31
|
field :journal_transaction_id, -> { String }, optional: false, nullable: true, api_name: "journalTransactionId"
|
|
32
32
|
|
|
33
|
+
field :ignore_reason, -> { String }, optional: false, nullable: true, api_name: "ignoreReason"
|
|
34
|
+
|
|
33
35
|
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
34
36
|
end
|
|
35
37
|
end
|
|
@@ -11,6 +11,8 @@ module Nordlet
|
|
|
11
11
|
field :document_id, -> { String }, optional: false, nullable: false, api_name: "documentId"
|
|
12
12
|
|
|
13
13
|
field :invoice_amount, -> { String }, optional: true, nullable: false, api_name: "invoiceAmount"
|
|
14
|
+
|
|
15
|
+
field :remainder, -> { Nordlet::Bank::Types::TransactionsMatchBankRequestRemainder }, optional: true, nullable: false
|
|
14
16
|
end
|
|
15
17
|
end
|
|
16
18
|
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class TransactionsMatchBankRequestRemainder < Internal::Types::Model
|
|
7
|
+
field :treatment, -> { Nordlet::Bank::Types::TransactionsMatchBankRequestRemainderTreatment }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :account_code, -> { String }, optional: true, nullable: false, api_name: "accountCode"
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
module TransactionsMatchBankRequestRemainderTreatment
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
ADVANCE = "advance"
|
|
10
|
+
LEAVE_OPEN = "leave_open"
|
|
11
|
+
WRITE_OFF = "write_off"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -30,6 +30,8 @@ module Nordlet
|
|
|
30
30
|
|
|
31
31
|
field :journal_transaction_id, -> { String }, optional: false, nullable: true, api_name: "journalTransactionId"
|
|
32
32
|
|
|
33
|
+
field :ignore_reason, -> { String }, optional: false, nullable: true, api_name: "ignoreReason"
|
|
34
|
+
|
|
33
35
|
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
34
36
|
end
|
|
35
37
|
end
|
|
@@ -30,6 +30,8 @@ module Nordlet
|
|
|
30
30
|
|
|
31
31
|
field :journal_transaction_id, -> { String }, optional: false, nullable: true, api_name: "journalTransactionId"
|
|
32
32
|
|
|
33
|
+
field :ignore_reason, -> { String }, optional: false, nullable: true, api_name: "ignoreReason"
|
|
34
|
+
|
|
33
35
|
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
34
36
|
end
|
|
35
37
|
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class TransactionsPostBankRequest < Internal::Types::Model
|
|
7
|
+
field :transaction_id, -> { String }, optional: false, nullable: false, api_name: "transactionId"
|
|
8
|
+
|
|
9
|
+
field :account_code, -> { String }, optional: false, nullable: false, api_name: "accountCode"
|
|
10
|
+
|
|
11
|
+
field :tax_payment_id, -> { String }, optional: true, nullable: false, api_name: "taxPaymentId"
|
|
12
|
+
|
|
13
|
+
field :partner_id, -> { String }, optional: true, nullable: false, api_name: "partnerId"
|
|
14
|
+
|
|
15
|
+
field :cost_center_id, -> { String }, optional: true, nullable: false, api_name: "costCenterId"
|
|
16
|
+
|
|
17
|
+
field :project_id, -> { String }, optional: true, nullable: false, api_name: "projectId"
|
|
18
|
+
|
|
19
|
+
field :description, -> { String }, optional: true, nullable: false
|
|
20
|
+
|
|
21
|
+
field :vat_classifier_code, -> { String }, optional: true, nullable: false, api_name: "vatClassifierCode"
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class TransactionsPostBankResponse < 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 :date, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :amount, -> { String }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :currency, -> { String }, optional: false, nullable: false
|
|
16
|
+
|
|
17
|
+
field :counterparty_name, -> { String }, optional: false, nullable: true, api_name: "counterpartyName"
|
|
18
|
+
|
|
19
|
+
field :counterparty_iban, -> { String }, optional: false, nullable: true, api_name: "counterpartyIban"
|
|
20
|
+
|
|
21
|
+
field :description, -> { String }, optional: false, nullable: true
|
|
22
|
+
|
|
23
|
+
field :external_id, -> { String }, optional: false, nullable: true, api_name: "externalId"
|
|
24
|
+
|
|
25
|
+
field :status, -> { Nordlet::Bank::Types::TransactionsPostBankResponseStatus }, optional: false, nullable: false
|
|
26
|
+
|
|
27
|
+
field :matched_document_type, -> { String }, optional: false, nullable: true, api_name: "matchedDocumentType"
|
|
28
|
+
|
|
29
|
+
field :matched_document_id, -> { String }, optional: false, nullable: true, api_name: "matchedDocumentId"
|
|
30
|
+
|
|
31
|
+
field :journal_transaction_id, -> { String }, optional: false, nullable: true, api_name: "journalTransactionId"
|
|
32
|
+
|
|
33
|
+
field :ignore_reason, -> { String }, optional: false, nullable: true, api_name: "ignoreReason"
|
|
34
|
+
|
|
35
|
+
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
module TransactionsPostBankResponseStatus
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
NEW = "new"
|
|
10
|
+
MATCHED = "matched"
|
|
11
|
+
IGNORED = "ignored"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -30,6 +30,8 @@ module Nordlet
|
|
|
30
30
|
|
|
31
31
|
field :journal_transaction_id, -> { String }, optional: false, nullable: true, api_name: "journalTransactionId"
|
|
32
32
|
|
|
33
|
+
field :ignore_reason, -> { String }, optional: false, nullable: true, api_name: "ignoreReason"
|
|
34
|
+
|
|
33
35
|
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
34
36
|
end
|
|
35
37
|
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class TransactionsUnignoreBankRequest < Internal::Types::Model
|
|
7
|
+
field :transaction_id, -> { String }, optional: false, nullable: false, api_name: "transactionId"
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
class TransactionsUnignoreBankResponse < 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 :date, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :amount, -> { String }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :currency, -> { String }, optional: false, nullable: false
|
|
16
|
+
|
|
17
|
+
field :counterparty_name, -> { String }, optional: false, nullable: true, api_name: "counterpartyName"
|
|
18
|
+
|
|
19
|
+
field :counterparty_iban, -> { String }, optional: false, nullable: true, api_name: "counterpartyIban"
|
|
20
|
+
|
|
21
|
+
field :description, -> { String }, optional: false, nullable: true
|
|
22
|
+
|
|
23
|
+
field :external_id, -> { String }, optional: false, nullable: true, api_name: "externalId"
|
|
24
|
+
|
|
25
|
+
field :status, -> { Nordlet::Bank::Types::TransactionsUnignoreBankResponseStatus }, optional: false, nullable: false
|
|
26
|
+
|
|
27
|
+
field :matched_document_type, -> { String }, optional: false, nullable: true, api_name: "matchedDocumentType"
|
|
28
|
+
|
|
29
|
+
field :matched_document_id, -> { String }, optional: false, nullable: true, api_name: "matchedDocumentId"
|
|
30
|
+
|
|
31
|
+
field :journal_transaction_id, -> { String }, optional: false, nullable: true, api_name: "journalTransactionId"
|
|
32
|
+
|
|
33
|
+
field :ignore_reason, -> { String }, optional: false, nullable: true, api_name: "ignoreReason"
|
|
34
|
+
|
|
35
|
+
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Nordlet
|
|
4
|
+
module Bank
|
|
5
|
+
module Types
|
|
6
|
+
module TransactionsUnignoreBankResponseStatus
|
|
7
|
+
extend Nordlet::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
NEW = "new"
|
|
10
|
+
MATCHED = "matched"
|
|
11
|
+
IGNORED = "ignored"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -30,6 +30,8 @@ module Nordlet
|
|
|
30
30
|
|
|
31
31
|
field :journal_transaction_id, -> { String }, optional: false, nullable: true, api_name: "journalTransactionId"
|
|
32
32
|
|
|
33
|
+
field :ignore_reason, -> { String }, optional: false, nullable: true, api_name: "ignoreReason"
|
|
34
|
+
|
|
33
35
|
field :created_at, -> { String }, optional: false, nullable: false, api_name: "createdAt"
|
|
34
36
|
end
|
|
35
37
|
end
|
|
@@ -493,8 +493,9 @@ module Nordlet
|
|
|
493
493
|
end
|
|
494
494
|
|
|
495
495
|
# List the daily usage records of the request's site in the companies the user pays for, from `from` to `to`: one
|
|
496
|
-
# row per company, date and metric (API requests,
|
|
497
|
-
#
|
|
496
|
+
# row per company, date and metric (API requests, file storage bytes, database bytes, sale invoices; `ocr_page`
|
|
497
|
+
# rows remain from the time document scanning was charged). Requests and invoices count on the site the request
|
|
498
|
+
# came from; storage counts on the `app` site.
|
|
498
499
|
#
|
|
499
500
|
# @param request_options [Hash]
|
|
500
501
|
# @param params [Nordlet::Billing::Types::UsageListBillingRequest]
|
|
@@ -12,8 +12,6 @@ module Nordlet
|
|
|
12
12
|
|
|
13
13
|
field :sale_invoices, -> { Integer }, optional: false, nullable: false, api_name: "saleInvoices"
|
|
14
14
|
|
|
15
|
-
field :ocr_pages, -> { Integer }, optional: false, nullable: false, api_name: "ocrPages"
|
|
16
|
-
|
|
17
15
|
field :file_bytes, -> { Integer }, optional: false, nullable: false, api_name: "fileBytes"
|
|
18
16
|
|
|
19
17
|
field :database_bytes, -> { Integer }, optional: false, nullable: false, api_name: "databaseBytes"
|
|
@@ -12,8 +12,6 @@ module Nordlet
|
|
|
12
12
|
|
|
13
13
|
field :sale_invoices, -> { Integer }, optional: false, nullable: false, api_name: "saleInvoices"
|
|
14
14
|
|
|
15
|
-
field :ocr_pages, -> { Integer }, optional: false, nullable: false, api_name: "ocrPages"
|
|
16
|
-
|
|
17
15
|
field :file_bytes, -> { Integer }, optional: false, nullable: false, api_name: "fileBytes"
|
|
18
16
|
|
|
19
17
|
field :database_bytes, -> { Integer }, optional: false, nullable: false, api_name: "databaseBytes"
|
|
@@ -12,8 +12,6 @@ module Nordlet
|
|
|
12
12
|
|
|
13
13
|
field :sale_invoices, -> { Integer }, optional: false, nullable: false, api_name: "saleInvoices"
|
|
14
14
|
|
|
15
|
-
field :ocr_pages, -> { Integer }, optional: false, nullable: false, api_name: "ocrPages"
|
|
16
|
-
|
|
17
15
|
field :file_bytes, -> { Integer }, optional: false, nullable: false, api_name: "fileBytes"
|
|
18
16
|
|
|
19
17
|
field :database_bytes, -> { Integer }, optional: false, nullable: false, api_name: "databaseBytes"
|
|
@@ -12,8 +12,6 @@ module Nordlet
|
|
|
12
12
|
|
|
13
13
|
field :sale_invoices, -> { Integer }, optional: false, nullable: false, api_name: "saleInvoices"
|
|
14
14
|
|
|
15
|
-
field :ocr_pages, -> { Integer }, optional: false, nullable: false, api_name: "ocrPages"
|
|
16
|
-
|
|
17
15
|
field :file_bytes, -> { Integer }, optional: false, nullable: false, api_name: "fileBytes"
|
|
18
16
|
|
|
19
17
|
field :database_bytes, -> { Integer }, optional: false, nullable: false, api_name: "databaseBytes"
|
|
@@ -12,8 +12,6 @@ module Nordlet
|
|
|
12
12
|
|
|
13
13
|
field :sale_invoices, -> { Integer }, optional: false, nullable: false, api_name: "saleInvoices"
|
|
14
14
|
|
|
15
|
-
field :ocr_pages, -> { Integer }, optional: false, nullable: false, api_name: "ocrPages"
|
|
16
|
-
|
|
17
15
|
field :file_bytes, -> { Integer }, optional: false, nullable: false, api_name: "fileBytes"
|
|
18
16
|
|
|
19
17
|
field :database_bytes, -> { Integer }, optional: false, nullable: false, api_name: "databaseBytes"
|
|
@@ -12,8 +12,6 @@ module Nordlet
|
|
|
12
12
|
|
|
13
13
|
field :sale_invoices, -> { Integer }, optional: false, nullable: false, api_name: "saleInvoices"
|
|
14
14
|
|
|
15
|
-
field :ocr_pages, -> { Integer }, optional: false, nullable: false, api_name: "ocrPages"
|
|
16
|
-
|
|
17
15
|
field :file_bytes, -> { Integer }, optional: false, nullable: false, api_name: "fileBytes"
|
|
18
16
|
|
|
19
17
|
field :database_bytes, -> { Integer }, optional: false, nullable: false, api_name: "databaseBytes"
|
|
@@ -12,8 +12,6 @@ module Nordlet
|
|
|
12
12
|
|
|
13
13
|
field :sale_invoices, -> { Integer }, optional: false, nullable: false, api_name: "saleInvoices"
|
|
14
14
|
|
|
15
|
-
field :ocr_pages, -> { Integer }, optional: false, nullable: false, api_name: "ocrPages"
|
|
16
|
-
|
|
17
15
|
field :file_bytes, -> { Integer }, optional: false, nullable: false, api_name: "fileBytes"
|
|
18
16
|
|
|
19
17
|
field :database_bytes, -> { Integer }, optional: false, nullable: false, api_name: "databaseBytes"
|
|
@@ -12,8 +12,6 @@ module Nordlet
|
|
|
12
12
|
|
|
13
13
|
field :sale_invoices, -> { Integer }, optional: false, nullable: false, api_name: "saleInvoices"
|
|
14
14
|
|
|
15
|
-
field :ocr_pages, -> { Integer }, optional: false, nullable: false, api_name: "ocrPages"
|
|
16
|
-
|
|
17
15
|
field :file_bytes, -> { Integer }, optional: false, nullable: false, api_name: "fileBytes"
|
|
18
16
|
|
|
19
17
|
field :database_bytes, -> { Integer }, optional: false, nullable: false, api_name: "databaseBytes"
|
|
@@ -12,8 +12,6 @@ module Nordlet
|
|
|
12
12
|
|
|
13
13
|
field :sale_invoices, -> { Integer }, optional: false, nullable: false, api_name: "saleInvoices"
|
|
14
14
|
|
|
15
|
-
field :ocr_pages, -> { Integer }, optional: false, nullable: false, api_name: "ocrPages"
|
|
16
|
-
|
|
17
15
|
field :file_bytes, -> { Integer }, optional: false, nullable: false, api_name: "fileBytes"
|
|
18
16
|
|
|
19
17
|
field :database_bytes, -> { Integer }, optional: false, nullable: false, api_name: "databaseBytes"
|
|
@@ -119,7 +119,9 @@ module Nordlet
|
|
|
119
119
|
end
|
|
120
120
|
|
|
121
121
|
# Builds the file of a deadline whose format Nordlet produces but whose administration takes it only through the
|
|
122
|
-
# company's own account or program. Nothing is sent and no filing is recorded.
|
|
122
|
+
# company's own account or program. Nothing is sent and no filing is recorded. `key` is `<ruleKey>:<period>` as
|
|
123
|
+
# `calendar/list` returns it. Answers 404 for an unknown rule or an invalid period, and 422 with the reason when
|
|
124
|
+
# Nordlet builds no single file for the deadline.
|
|
123
125
|
#
|
|
124
126
|
# @param request_options [Hash]
|
|
125
127
|
# @param params [Nordlet::Calendar::Types::DownloadCalendarRequest]
|