nordlet 0.3.8 → 0.3.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.
- package/dist/Client.d.ts +6 -0
- package/dist/Client.js +28 -20
- package/dist/api/resources/account/types/ApiKeysListAccountResponse.d.ts +1 -0
- package/dist/api/resources/agreements/client/Client.d.ts +42 -0
- package/dist/api/resources/agreements/client/Client.js +158 -0
- package/dist/api/resources/agreements/client/requests/SettingsGetAgreementsRequest.d.ts +5 -0
- package/dist/api/resources/agreements/client/requests/SettingsGetAgreementsRequest.js +3 -0
- package/dist/api/resources/agreements/client/requests/SettingsUpdateAgreementsRequest.d.ts +9 -0
- package/dist/api/resources/agreements/client/requests/SettingsUpdateAgreementsRequest.js +3 -0
- package/dist/api/resources/agreements/client/requests/index.d.ts +2 -0
- package/dist/api/resources/agreements/types/SettingsGetAgreementsResponse.d.ts +3 -0
- package/dist/api/resources/agreements/types/SettingsGetAgreementsResponse.js +3 -0
- package/dist/api/resources/agreements/types/SettingsUpdateAgreementsResponse.d.ts +3 -0
- package/dist/api/resources/agreements/types/SettingsUpdateAgreementsResponse.js +3 -0
- package/dist/api/resources/agreements/types/index.d.ts +2 -0
- package/dist/api/resources/agreements/types/index.js +2 -0
- package/dist/api/resources/assets/client/Client.d.ts +42 -0
- package/dist/api/resources/assets/client/Client.js +155 -0
- package/dist/api/resources/assets/client/requests/SettingsGetAssetsRequest.d.ts +5 -0
- package/dist/api/resources/assets/client/requests/SettingsGetAssetsRequest.js +3 -0
- package/dist/api/resources/assets/client/requests/SettingsUpdateAssetsRequest.d.ts +9 -0
- package/dist/api/resources/assets/client/requests/SettingsUpdateAssetsRequest.js +3 -0
- package/dist/api/resources/assets/client/requests/index.d.ts +2 -0
- package/dist/api/resources/assets/types/SettingsGetAssetsResponse.d.ts +3 -0
- package/dist/api/resources/assets/types/SettingsGetAssetsResponse.js +3 -0
- package/dist/api/resources/assets/types/SettingsUpdateAssetsResponse.d.ts +3 -0
- package/dist/api/resources/assets/types/SettingsUpdateAssetsResponse.js +3 -0
- package/dist/api/resources/assets/types/index.d.ts +2 -0
- package/dist/api/resources/assets/types/index.js +2 -0
- package/dist/api/resources/bank/client/Client.d.ts +27 -0
- package/dist/api/resources/bank/client/Client.js +85 -0
- package/dist/api/resources/bank/client/requests/AccountsCreateBankRequest.d.ts +8 -0
- package/dist/api/resources/bank/client/requests/AccountsCreateBankRequest.js +8 -0
- package/dist/api/resources/bank/client/requests/AccountsUpdateBankRequest.d.ts +8 -0
- package/dist/api/resources/bank/client/requests/AccountsUpdateBankRequest.js +8 -0
- package/dist/api/resources/bank/client/requests/TransactionsMatchBankRequest.d.ts +1 -0
- package/dist/api/resources/bank/client/requests/TransactionsMatchBankRequest.js +1 -0
- package/dist/api/resources/bank/client/requests/TransactionsMatchManyBankRequest.d.ts +33 -0
- package/dist/api/resources/bank/client/requests/TransactionsMatchManyBankRequest.js +18 -0
- package/dist/api/resources/bank/client/requests/TransactionsRecordBankRequest.d.ts +1 -0
- package/dist/api/resources/bank/client/requests/TransactionsRecordBankRequest.js +1 -0
- package/dist/api/resources/bank/client/requests/index.d.ts +3 -2
- package/dist/api/resources/bank/client/requests/index.js +7 -1
- package/dist/api/resources/bank/types/AccountsCreateBankResponse.d.ts +8 -0
- package/dist/api/resources/bank/types/AccountsCreateBankResponse.js +8 -0
- package/dist/api/resources/bank/types/AccountsListBankResponse.d.ts +8 -0
- package/dist/api/resources/bank/types/AccountsListBankResponse.js +14 -0
- package/dist/api/resources/bank/types/AccountsUpdateBankResponse.d.ts +8 -0
- package/dist/api/resources/bank/types/AccountsUpdateBankResponse.js +8 -0
- package/dist/api/resources/bank/types/SettlementsCommissionBankResponse.d.ts +4 -0
- package/dist/api/resources/bank/types/SettlementsGetBankResponse.d.ts +7 -0
- package/dist/api/resources/bank/types/SettlementsImportBankResponse.d.ts +3 -0
- package/dist/api/resources/bank/types/SettlementsLinkBankResponse.d.ts +3 -0
- package/dist/api/resources/bank/types/SettlementsListBankResponse.d.ts +3 -0
- package/dist/api/resources/bank/types/SettlementsMatchBankResponse.d.ts +4 -0
- package/dist/api/resources/bank/types/SettlementsPostBankResponse.d.ts +4 -0
- package/dist/api/resources/bank/types/SettlementsUnlinkBankResponse.d.ts +3 -0
- package/dist/api/resources/bank/types/TransactionsMatchManyBankResponse.d.ts +23 -0
- package/dist/api/resources/bank/types/TransactionsMatchManyBankResponse.js +11 -0
- package/dist/api/resources/bank/types/TransactionsSuggestMatchesBankResponse.d.ts +1 -0
- package/dist/api/resources/bank/types/TransactionsSuggestMatchesBankResponse.js +1 -0
- package/dist/api/resources/bank/types/index.d.ts +1 -0
- package/dist/api/resources/bank/types/index.js +1 -0
- package/dist/api/resources/capture/client/Client.d.ts +2 -0
- package/dist/api/resources/capture/client/Client.js +2 -0
- package/dist/api/resources/capture/client/requests/DocumentsConfirmCaptureRequest.d.ts +31 -0
- package/dist/api/resources/capture/client/requests/DocumentsConfirmCaptureRequest.js +8 -0
- package/dist/api/resources/capture/client/requests/index.d.ts +1 -1
- package/dist/api/resources/capture/client/requests/index.js +3 -1
- package/dist/api/resources/capture/types/DocumentsConfirmCaptureResponse.d.ts +95 -0
- package/dist/api/resources/capture/types/DocumentsConfirmCaptureResponse.js +23 -0
- package/dist/api/resources/capture/types/DocumentsExtractCaptureResponse.d.ts +21 -0
- package/dist/api/resources/capture/types/DocumentsExtractCaptureResponse.js +7 -0
- package/dist/api/resources/capture/types/DocumentsGetCaptureResponse.d.ts +21 -0
- package/dist/api/resources/capture/types/DocumentsGetCaptureResponse.js +7 -0
- package/dist/api/resources/capture/types/DocumentsListCaptureResponse.d.ts +21 -0
- package/dist/api/resources/capture/types/DocumentsListCaptureResponse.js +7 -0
- package/dist/api/resources/capture/types/DocumentsUploadCaptureResponse.d.ts +21 -0
- package/dist/api/resources/capture/types/DocumentsUploadCaptureResponse.js +7 -0
- package/dist/api/resources/cash/client/Client.d.ts +71 -2
- package/dist/api/resources/cash/client/Client.js +245 -2
- package/dist/api/resources/cash/client/requests/ExpenseReportsCreateCashRequest.d.ts +30 -0
- package/dist/api/resources/cash/client/requests/ExpenseReportsCreateCashRequest.js +3 -0
- package/dist/api/resources/cash/client/requests/ExpenseReportsGetCashRequest.d.ts +9 -0
- package/dist/api/resources/cash/client/requests/ExpenseReportsGetCashRequest.js +3 -0
- package/dist/api/resources/cash/client/requests/ExpenseReportsListCashRequest.d.ts +48 -0
- package/dist/api/resources/cash/client/requests/ExpenseReportsListCashRequest.js +31 -0
- package/dist/api/resources/cash/client/requests/OrdersCreateCashRequest.d.ts +4 -3
- package/dist/api/resources/cash/client/requests/index.d.ts +3 -0
- package/dist/api/resources/cash/client/requests/index.js +3 -1
- package/dist/api/resources/cash/types/AdvanceHoldersBalancesCashResponse.d.ts +1 -0
- package/dist/api/resources/cash/types/ExpenseReportsCreateCashResponse.d.ts +26 -0
- package/dist/api/resources/cash/types/ExpenseReportsCreateCashResponse.js +3 -0
- package/dist/api/resources/cash/types/ExpenseReportsGetCashResponse.d.ts +26 -0
- package/dist/api/resources/cash/types/ExpenseReportsGetCashResponse.js +3 -0
- package/dist/api/resources/cash/types/ExpenseReportsListCashResponse.d.ts +26 -0
- package/dist/api/resources/cash/types/ExpenseReportsListCashResponse.js +3 -0
- package/dist/api/resources/cash/types/OrdersCreateCashResponse.d.ts +2 -0
- package/dist/api/resources/cash/types/OrdersGetCashResponse.d.ts +2 -0
- package/dist/api/resources/cash/types/OrdersListCashResponse.d.ts +2 -0
- package/dist/api/resources/cash/types/index.d.ts +3 -0
- package/dist/api/resources/cash/types/index.js +3 -0
- package/dist/api/resources/declarations/client/Client.d.ts +93 -1
- package/dist/api/resources/declarations/client/Client.js +325 -1
- package/dist/api/resources/declarations/client/requests/EuDac7PreviewDeclarationsRequest.d.ts +9 -0
- package/dist/api/resources/declarations/client/requests/EuDac7PreviewDeclarationsRequest.js +3 -0
- package/dist/api/resources/declarations/client/requests/EuDac7XmlDeclarationsRequest.d.ts +9 -0
- package/dist/api/resources/declarations/client/requests/EuDac7XmlDeclarationsRequest.js +3 -0
- package/dist/api/resources/declarations/client/requests/EuDigitalReportingListDeclarationsRequest.d.ts +11 -0
- package/dist/api/resources/declarations/client/requests/EuDigitalReportingListDeclarationsRequest.js +3 -0
- package/dist/api/resources/declarations/client/requests/EuOwnGoodsTransfersComputeDeclarationsRequest.d.ts +11 -0
- package/dist/api/resources/declarations/client/requests/EuOwnGoodsTransfersComputeDeclarationsRequest.js +3 -0
- package/dist/api/resources/declarations/client/requests/index.d.ts +4 -0
- package/dist/api/resources/declarations/types/EuDac7PreviewDeclarationsResponse.d.ts +25 -0
- package/dist/api/resources/declarations/types/EuDac7PreviewDeclarationsResponse.js +3 -0
- package/dist/api/resources/declarations/types/EuDac7XmlDeclarationsResponse.d.ts +6 -0
- package/dist/api/resources/declarations/types/EuDac7XmlDeclarationsResponse.js +3 -0
- package/dist/api/resources/declarations/types/EuDigitalReportingListDeclarationsResponse.d.ts +67 -0
- package/dist/api/resources/declarations/types/EuDigitalReportingListDeclarationsResponse.js +27 -0
- package/dist/api/resources/declarations/types/EuOwnGoodsTransfersComputeDeclarationsResponse.d.ts +38 -0
- package/dist/api/resources/declarations/types/EuOwnGoodsTransfersComputeDeclarationsResponse.js +3 -0
- package/dist/api/resources/declarations/types/index.d.ts +4 -0
- package/dist/api/resources/declarations/types/index.js +4 -0
- package/dist/api/resources/hr/client/Client.d.ts +178 -0
- package/dist/api/resources/hr/client/Client.js +642 -0
- package/dist/api/resources/hr/client/requests/BusinessTripsApproveHrRequest.d.ts +9 -0
- package/dist/api/resources/hr/client/requests/BusinessTripsApproveHrRequest.js +3 -0
- package/dist/api/resources/hr/client/requests/BusinessTripsCreateHrRequest.d.ts +17 -0
- package/dist/api/resources/hr/client/requests/BusinessTripsCreateHrRequest.js +3 -0
- package/dist/api/resources/hr/client/requests/BusinessTripsDeleteHrRequest.d.ts +9 -0
- package/dist/api/resources/hr/client/requests/BusinessTripsDeleteHrRequest.js +3 -0
- package/dist/api/resources/hr/client/requests/BusinessTripsGetHrRequest.d.ts +9 -0
- package/dist/api/resources/hr/client/requests/BusinessTripsGetHrRequest.js +3 -0
- package/dist/api/resources/hr/client/requests/BusinessTripsListHrRequest.d.ts +48 -0
- package/dist/api/resources/hr/client/requests/BusinessTripsListHrRequest.js +31 -0
- package/dist/api/resources/hr/client/requests/PerDiemRatesCreateHrRequest.d.ts +13 -0
- package/dist/api/resources/hr/client/requests/PerDiemRatesCreateHrRequest.js +3 -0
- package/dist/api/resources/hr/client/requests/PerDiemRatesDeleteHrRequest.d.ts +9 -0
- package/dist/api/resources/hr/client/requests/PerDiemRatesDeleteHrRequest.js +3 -0
- package/dist/api/resources/hr/client/requests/PerDiemRatesListHrRequest.d.ts +48 -0
- package/dist/api/resources/hr/client/requests/PerDiemRatesListHrRequest.js +31 -0
- package/dist/api/resources/hr/client/requests/index.d.ts +8 -0
- package/dist/api/resources/hr/client/requests/index.js +5 -1
- package/dist/api/resources/hr/types/BusinessTripsApproveHrResponse.d.ts +22 -0
- package/dist/api/resources/hr/types/BusinessTripsApproveHrResponse.js +11 -0
- package/dist/api/resources/hr/types/BusinessTripsCreateHrResponse.d.ts +22 -0
- package/dist/api/resources/hr/types/BusinessTripsCreateHrResponse.js +11 -0
- package/dist/api/resources/hr/types/BusinessTripsDeleteHrResponse.d.ts +3 -0
- package/dist/api/resources/hr/types/BusinessTripsDeleteHrResponse.js +3 -0
- package/dist/api/resources/hr/types/BusinessTripsGetHrResponse.d.ts +22 -0
- package/dist/api/resources/hr/types/BusinessTripsGetHrResponse.js +11 -0
- package/dist/api/resources/hr/types/BusinessTripsListHrResponse.d.ts +36 -0
- package/dist/api/resources/hr/types/BusinessTripsListHrResponse.js +17 -0
- package/dist/api/resources/hr/types/PerDiemRatesCreateHrResponse.d.ts +7 -0
- package/dist/api/resources/hr/types/PerDiemRatesCreateHrResponse.js +3 -0
- package/dist/api/resources/hr/types/PerDiemRatesDeleteHrResponse.d.ts +3 -0
- package/dist/api/resources/hr/types/PerDiemRatesDeleteHrResponse.js +3 -0
- package/dist/api/resources/hr/types/PerDiemRatesListHrResponse.d.ts +21 -0
- package/dist/api/resources/hr/types/PerDiemRatesListHrResponse.js +3 -0
- package/dist/api/resources/hr/types/index.d.ts +8 -0
- package/dist/api/resources/hr/types/index.js +8 -0
- package/dist/api/resources/index.d.ts +6 -0
- package/dist/api/resources/index.js +7 -1
- package/dist/api/resources/inventory/client/Client.d.ts +22 -0
- package/dist/api/resources/inventory/client/Client.js +80 -0
- package/dist/api/resources/inventory/client/requests/WarehousesCreateInventoryRequest.d.ts +1 -0
- package/dist/api/resources/inventory/client/requests/WarehousesUpdateInventoryRequest.d.ts +11 -0
- package/dist/api/resources/inventory/client/requests/WarehousesUpdateInventoryRequest.js +3 -0
- package/dist/api/resources/inventory/client/requests/index.d.ts +1 -0
- package/dist/api/resources/inventory/types/LandedCostsCreateInventoryResponse.d.ts +1 -0
- package/dist/api/resources/inventory/types/LandedCostsGetInventoryResponse.d.ts +1 -0
- package/dist/api/resources/inventory/types/WarehousesCreateInventoryResponse.d.ts +1 -0
- package/dist/api/resources/inventory/types/WarehousesListInventoryResponse.d.ts +1 -0
- package/dist/api/resources/inventory/types/WarehousesUpdateInventoryResponse.d.ts +8 -0
- package/dist/api/resources/inventory/types/WarehousesUpdateInventoryResponse.js +3 -0
- package/dist/api/resources/inventory/types/index.d.ts +1 -0
- package/dist/api/resources/inventory/types/index.js +1 -0
- package/dist/api/resources/ledger/client/requests/JournalTransactionsCreateLedgerRequest.d.ts +1 -0
- package/dist/api/resources/ledger/client/requests/PostingRulesUpdateLedgerRequest.d.ts +2 -0
- package/dist/api/resources/ledger/client/requests/PostingRulesUpdateLedgerRequest.js +2 -0
- package/dist/api/resources/partners/client/Client.d.ts +23 -0
- package/dist/api/resources/partners/client/Client.js +78 -0
- package/dist/api/resources/partners/client/requests/MergePartnersRequest.d.ts +11 -0
- package/dist/api/resources/partners/client/requests/MergePartnersRequest.js +3 -0
- package/dist/api/resources/partners/client/requests/index.d.ts +1 -0
- package/dist/api/resources/partners/types/MergePartnersResponse.d.ts +15 -0
- package/dist/api/resources/partners/types/MergePartnersResponse.js +3 -0
- package/dist/api/resources/partners/types/index.d.ts +1 -0
- package/dist/api/resources/partners/types/index.js +1 -0
- package/dist/api/resources/payroll/client/Client.d.ts +23 -0
- package/dist/api/resources/payroll/client/Client.js +81 -0
- package/dist/api/resources/payroll/client/requests/RunsReversePayrollRequest.d.ts +11 -0
- package/dist/api/resources/payroll/client/requests/RunsReversePayrollRequest.js +3 -0
- package/dist/api/resources/payroll/client/requests/index.d.ts +1 -0
- package/dist/api/resources/payroll/types/RunsApprovePayrollResponse.d.ts +5 -0
- package/dist/api/resources/payroll/types/RunsApprovePayrollResponse.js +1 -0
- package/dist/api/resources/payroll/types/RunsCreatePayrollResponse.d.ts +5 -0
- package/dist/api/resources/payroll/types/RunsCreatePayrollResponse.js +1 -0
- package/dist/api/resources/payroll/types/RunsGetPayrollResponse.d.ts +5 -0
- package/dist/api/resources/payroll/types/RunsGetPayrollResponse.js +1 -0
- package/dist/api/resources/payroll/types/RunsListPayrollResponse.d.ts +5 -0
- package/dist/api/resources/payroll/types/RunsListPayrollResponse.js +1 -0
- package/dist/api/resources/payroll/types/RunsReversePayrollResponse.d.ts +52 -0
- package/dist/api/resources/payroll/types/RunsReversePayrollResponse.js +25 -0
- package/dist/api/resources/payroll/types/index.d.ts +1 -0
- package/dist/api/resources/payroll/types/index.js +1 -0
- package/dist/api/resources/peppol/client/Client.d.ts +58 -0
- package/dist/api/resources/peppol/client/Client.js +207 -0
- package/dist/api/resources/peppol/client/index.d.ts +1 -0
- package/dist/api/resources/peppol/client/index.js +17 -0
- package/dist/api/resources/peppol/client/requests/ParticipantsLookupPeppolRequest.d.ts +8 -0
- package/dist/api/resources/peppol/client/requests/ParticipantsLookupPeppolRequest.js +3 -0
- package/dist/api/resources/peppol/client/requests/WebhooksPeppolRequest.d.ts +12 -0
- package/dist/api/resources/peppol/client/requests/WebhooksPeppolRequest.js +3 -0
- package/dist/api/resources/peppol/client/requests/index.d.ts +2 -0
- package/dist/api/resources/peppol/client/requests/index.js +2 -0
- package/dist/api/resources/peppol/exports.d.ts +2 -0
- package/dist/api/resources/peppol/exports.js +21 -0
- package/dist/api/resources/peppol/index.d.ts +2 -0
- package/dist/api/resources/peppol/index.js +18 -0
- package/dist/api/resources/peppol/types/ParticipantsLookupPeppolResponse.d.ts +9 -0
- package/dist/api/resources/peppol/types/ParticipantsLookupPeppolResponse.js +3 -0
- package/dist/api/resources/peppol/types/WebhooksPeppolRequestProvider.d.ts +6 -0
- package/dist/api/resources/peppol/types/WebhooksPeppolRequestProvider.js +9 -0
- package/dist/api/resources/peppol/types/WebhooksPeppolResponse.d.ts +3 -0
- package/dist/api/resources/peppol/types/WebhooksPeppolResponse.js +3 -0
- package/dist/api/resources/peppol/types/index.d.ts +3 -0
- package/dist/api/resources/peppol/types/index.js +19 -0
- package/dist/api/resources/platformSellers/client/Client.d.ts +130 -0
- package/dist/api/resources/platformSellers/client/Client.js +458 -0
- package/dist/api/resources/platformSellers/client/index.d.ts +1 -0
- package/dist/api/resources/platformSellers/client/index.js +17 -0
- package/dist/api/resources/platformSellers/client/requests/CreatePlatformSellersRequest.d.ts +98 -0
- package/dist/api/resources/platformSellers/client/requests/CreatePlatformSellersRequest.js +35 -0
- package/dist/api/resources/platformSellers/client/requests/DeletePlatformSellersRequest.d.ts +9 -0
- package/dist/api/resources/platformSellers/client/requests/DeletePlatformSellersRequest.js +3 -0
- package/dist/api/resources/platformSellers/client/requests/GetPlatformSellersRequest.d.ts +9 -0
- package/dist/api/resources/platformSellers/client/requests/GetPlatformSellersRequest.js +3 -0
- package/dist/api/resources/platformSellers/client/requests/ListPlatformSellersRequest.d.ts +48 -0
- package/dist/api/resources/platformSellers/client/requests/ListPlatformSellersRequest.js +31 -0
- package/dist/api/resources/platformSellers/client/requests/UpdatePlatformSellersRequest.d.ts +100 -0
- package/dist/api/resources/platformSellers/client/requests/UpdatePlatformSellersRequest.js +35 -0
- package/dist/api/resources/platformSellers/client/requests/index.d.ts +5 -0
- package/dist/api/resources/platformSellers/client/requests/index.js +9 -0
- package/dist/api/resources/platformSellers/exports.d.ts +2 -0
- package/dist/api/resources/platformSellers/exports.js +21 -0
- package/dist/api/resources/platformSellers/index.d.ts +2 -0
- package/dist/api/resources/platformSellers/index.js +18 -0
- package/dist/api/resources/platformSellers/types/CreatePlatformSellersResponse.d.ts +93 -0
- package/dist/api/resources/platformSellers/types/CreatePlatformSellersResponse.js +35 -0
- package/dist/api/resources/platformSellers/types/DeletePlatformSellersResponse.d.ts +4 -0
- package/dist/api/resources/platformSellers/types/DeletePlatformSellersResponse.js +3 -0
- package/dist/api/resources/platformSellers/types/GetPlatformSellersResponse.d.ts +93 -0
- package/dist/api/resources/platformSellers/types/GetPlatformSellersResponse.js +35 -0
- package/dist/api/resources/platformSellers/types/ListPlatformSellersResponse.d.ts +59 -0
- package/dist/api/resources/platformSellers/types/ListPlatformSellersResponse.js +17 -0
- package/dist/api/resources/platformSellers/types/UpdatePlatformSellersResponse.d.ts +93 -0
- package/dist/api/resources/platformSellers/types/UpdatePlatformSellersResponse.js +35 -0
- package/dist/api/resources/platformSellers/types/index.d.ts +5 -0
- package/dist/api/resources/platformSellers/types/index.js +21 -0
- package/dist/api/resources/pos/client/Client.d.ts +156 -0
- package/dist/api/resources/pos/client/Client.js +541 -0
- package/dist/api/resources/pos/client/requests/ReceiptsCreatePosRequest.d.ts +29 -0
- package/dist/api/resources/pos/client/requests/ReceiptsCreatePosRequest.js +3 -0
- package/dist/api/resources/pos/client/requests/ReceiptsGetPosRequest.d.ts +9 -0
- package/dist/api/resources/pos/client/requests/ReceiptsGetPosRequest.js +3 -0
- package/dist/api/resources/pos/client/requests/ReceiptsListPosRequest.d.ts +48 -0
- package/dist/api/resources/pos/client/requests/ReceiptsListPosRequest.js +31 -0
- package/dist/api/resources/pos/client/requests/ShiftsClosePosRequest.d.ts +13 -0
- package/dist/api/resources/pos/client/requests/ShiftsClosePosRequest.js +3 -0
- package/dist/api/resources/pos/client/requests/ShiftsGetPosRequest.d.ts +9 -0
- package/dist/api/resources/pos/client/requests/ShiftsGetPosRequest.js +3 -0
- package/dist/api/resources/pos/client/requests/ShiftsListPosRequest.d.ts +48 -0
- package/dist/api/resources/pos/client/requests/ShiftsListPosRequest.js +31 -0
- package/dist/api/resources/pos/client/requests/ShiftsOpenPosRequest.d.ts +11 -0
- package/dist/api/resources/pos/client/requests/ShiftsOpenPosRequest.js +3 -0
- package/dist/api/resources/pos/client/requests/index.d.ts +7 -0
- package/dist/api/resources/pos/client/requests/index.js +5 -1
- package/dist/api/resources/pos/types/ReceiptsCreatePosResponse.d.ts +28 -0
- package/dist/api/resources/pos/types/ReceiptsCreatePosResponse.js +3 -0
- package/dist/api/resources/pos/types/ReceiptsGetPosResponse.d.ts +28 -0
- package/dist/api/resources/pos/types/ReceiptsGetPosResponse.js +3 -0
- package/dist/api/resources/pos/types/ReceiptsListPosResponse.d.ts +25 -0
- package/dist/api/resources/pos/types/ReceiptsListPosResponse.js +3 -0
- package/dist/api/resources/pos/types/ShiftsClosePosResponse.d.ts +21 -0
- package/dist/api/resources/pos/types/ShiftsClosePosResponse.js +11 -0
- package/dist/api/resources/pos/types/ShiftsGetPosResponse.d.ts +19 -0
- package/dist/api/resources/pos/types/ShiftsGetPosResponse.js +11 -0
- package/dist/api/resources/pos/types/ShiftsListPosResponse.d.ts +33 -0
- package/dist/api/resources/pos/types/ShiftsListPosResponse.js +17 -0
- package/dist/api/resources/pos/types/ShiftsOpenPosResponse.d.ts +19 -0
- package/dist/api/resources/pos/types/ShiftsOpenPosResponse.js +11 -0
- package/dist/api/resources/pos/types/index.d.ts +7 -0
- package/dist/api/resources/pos/types/index.js +7 -0
- package/dist/api/resources/purchases/client/Client.d.ts +40 -0
- package/dist/api/resources/purchases/client/Client.js +156 -0
- package/dist/api/resources/purchases/client/requests/DeferralsListPurchasesRequest.d.ts +48 -0
- package/dist/api/resources/purchases/client/requests/DeferralsListPurchasesRequest.js +31 -0
- package/dist/api/resources/purchases/client/requests/DeferralsPostPurchasesRequest.d.ts +7 -0
- package/dist/api/resources/purchases/client/requests/DeferralsPostPurchasesRequest.js +3 -0
- package/dist/api/resources/purchases/client/requests/InvoicesCreatePurchasesRequest.d.ts +2 -0
- package/dist/api/resources/purchases/client/requests/InvoicesRegisterPurchasesRequest.d.ts +1 -0
- package/dist/api/resources/purchases/client/requests/InvoicesUpdatePurchasesRequest.d.ts +2 -0
- package/dist/api/resources/purchases/client/requests/OrdersCreatePurchasesRequest.d.ts +2 -0
- package/dist/api/resources/purchases/client/requests/OrdersUpdatePurchasesRequest.d.ts +2 -0
- package/dist/api/resources/purchases/client/requests/index.d.ts +2 -0
- package/dist/api/resources/purchases/client/requests/index.js +3 -1
- package/dist/api/resources/purchases/types/DeferralsListPurchasesResponse.d.ts +34 -0
- package/dist/api/resources/purchases/types/DeferralsListPurchasesResponse.js +18 -0
- package/dist/api/resources/purchases/types/DeferralsPostPurchasesResponse.d.ts +5 -0
- package/dist/api/resources/purchases/types/DeferralsPostPurchasesResponse.js +3 -0
- package/dist/api/resources/purchases/types/InvoicesCreatePurchasesResponse.d.ts +2 -0
- package/dist/api/resources/purchases/types/InvoicesGetPurchasesResponse.d.ts +2 -0
- package/dist/api/resources/purchases/types/InvoicesRegisterPurchasesResponse.d.ts +2 -0
- package/dist/api/resources/purchases/types/InvoicesUpdatePurchasesResponse.d.ts +2 -0
- package/dist/api/resources/purchases/types/index.d.ts +2 -0
- package/dist/api/resources/purchases/types/index.js +2 -0
- package/dist/api/resources/reference/client/requests/VatResolveReferenceRequest.d.ts +16 -0
- package/dist/api/resources/reference/client/requests/VatResolveReferenceRequest.js +8 -0
- package/dist/api/resources/reports/types/AdvanceReconciliationReportsResponse.d.ts +1 -0
- package/dist/api/resources/reports/types/OnlineSalesReportsResponse.d.ts +1 -0
- package/dist/api/resources/sales/client/Client.d.ts +26 -0
- package/dist/api/resources/sales/client/Client.js +84 -0
- package/dist/api/resources/sales/client/requests/InvoicesApplyAdvanceSalesRequest.d.ts +2 -0
- package/dist/api/resources/sales/client/requests/InvoicesIssueSalesRequest.d.ts +1 -0
- package/dist/api/resources/sales/client/requests/InvoicesPeppolStatusSalesRequest.d.ts +9 -0
- package/dist/api/resources/sales/client/requests/InvoicesPeppolStatusSalesRequest.js +3 -0
- package/dist/api/resources/sales/client/requests/index.d.ts +1 -0
- package/dist/api/resources/sales/types/InvoicesApplyAdvanceSalesResponse.d.ts +7 -0
- package/dist/api/resources/sales/types/InvoicesCreateSalesResponse.d.ts +7 -0
- package/dist/api/resources/sales/types/InvoicesGetSalesResponse.d.ts +7 -0
- package/dist/api/resources/sales/types/InvoicesIssueSalesResponse.d.ts +7 -0
- package/dist/api/resources/sales/types/InvoicesListSalesResponse.d.ts +5 -0
- package/dist/api/resources/sales/types/InvoicesLockSalesResponse.d.ts +7 -0
- package/dist/api/resources/sales/types/InvoicesPeppolSendSalesResponse.d.ts +11 -0
- package/dist/api/resources/sales/types/InvoicesPeppolSendSalesResponse.js +10 -0
- package/dist/api/resources/sales/types/InvoicesPeppolStatusSalesResponse.d.ts +15 -0
- package/dist/api/resources/sales/types/InvoicesPeppolStatusSalesResponse.js +13 -0
- package/dist/api/resources/sales/types/InvoicesUnlockSalesResponse.d.ts +7 -0
- package/dist/api/resources/sales/types/InvoicesUpdateSalesResponse.d.ts +7 -0
- package/dist/api/resources/sales/types/index.d.ts +1 -0
- package/dist/api/resources/sales/types/index.js +1 -0
- package/dist/api/resources/webhooks/client/requests/SubscriptionsCreateWebhooksRequest.d.ts +5 -0
- package/dist/api/resources/webhooks/client/requests/SubscriptionsCreateWebhooksRequest.js +5 -0
- package/dist/api/resources/webhooks/client/requests/SubscriptionsUpdateWebhooksRequest.d.ts +5 -0
- package/dist/api/resources/webhooks/client/requests/SubscriptionsUpdateWebhooksRequest.js +5 -0
- package/package.json +1 -1
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.AccountsUpdateBankResponse = void 0;
|
|
5
|
+
var AccountsUpdateBankResponse;
|
|
6
|
+
(function (AccountsUpdateBankResponse) {
|
|
7
|
+
AccountsUpdateBankResponse.Type = {
|
|
8
|
+
Bank: "bank",
|
|
9
|
+
Stripe: "stripe",
|
|
10
|
+
};
|
|
11
|
+
})(AccountsUpdateBankResponse || (exports.AccountsUpdateBankResponse = AccountsUpdateBankResponse = {}));
|
|
@@ -14,6 +14,10 @@ export interface SettlementsCommissionBankResponse {
|
|
|
14
14
|
reference: string | null;
|
|
15
15
|
matchedInvoiceId: string | null;
|
|
16
16
|
matchStatus: SettlementsCommissionBankResponse.MatchStatus;
|
|
17
|
+
clearingBankAccountId: string | null;
|
|
18
|
+
clearingBooked: string | null;
|
|
19
|
+
clearingDifference: string | null;
|
|
20
|
+
clearingUnposted: boolean;
|
|
17
21
|
}
|
|
18
22
|
export declare namespace SettlementsCommissionBankResponse {
|
|
19
23
|
const MatchStatus: {
|
|
@@ -15,6 +15,9 @@ export interface SettlementsGetBankResponse {
|
|
|
15
15
|
lineCount: number;
|
|
16
16
|
matchedCount: number;
|
|
17
17
|
unmatchedCount: number;
|
|
18
|
+
clearedNet: string | null;
|
|
19
|
+
clearingDifference: string | null;
|
|
20
|
+
clearingOpenCount: number;
|
|
18
21
|
createdAt: string;
|
|
19
22
|
updatedAt: string;
|
|
20
23
|
lines: SettlementsGetBankResponse.Lines.Item[];
|
|
@@ -43,6 +46,10 @@ export declare namespace SettlementsGetBankResponse {
|
|
|
43
46
|
reference: string | null;
|
|
44
47
|
matchedInvoiceId: string | null;
|
|
45
48
|
matchStatus: Item.MatchStatus;
|
|
49
|
+
clearingBankAccountId: string | null;
|
|
50
|
+
clearingBooked: string | null;
|
|
51
|
+
clearingDifference: string | null;
|
|
52
|
+
clearingUnposted: boolean;
|
|
46
53
|
}
|
|
47
54
|
namespace Item {
|
|
48
55
|
const MatchStatus: {
|
|
@@ -33,6 +33,9 @@ export declare namespace SettlementsImportBankResponse {
|
|
|
33
33
|
lineCount: number;
|
|
34
34
|
matchedCount: number;
|
|
35
35
|
unmatchedCount: number;
|
|
36
|
+
clearedNet: string | null;
|
|
37
|
+
clearingDifference: string | null;
|
|
38
|
+
clearingOpenCount: number;
|
|
36
39
|
createdAt: string;
|
|
37
40
|
updatedAt: string;
|
|
38
41
|
}
|
|
@@ -15,6 +15,9 @@ export interface SettlementsLinkBankResponse {
|
|
|
15
15
|
lineCount: number;
|
|
16
16
|
matchedCount: number;
|
|
17
17
|
unmatchedCount: number;
|
|
18
|
+
clearedNet: string | null;
|
|
19
|
+
clearingDifference: string | null;
|
|
20
|
+
clearingOpenCount: number;
|
|
18
21
|
createdAt: string;
|
|
19
22
|
updatedAt: string;
|
|
20
23
|
}
|
|
@@ -27,6 +27,9 @@ export declare namespace SettlementsListBankResponse {
|
|
|
27
27
|
lineCount: number;
|
|
28
28
|
matchedCount: number;
|
|
29
29
|
unmatchedCount: number;
|
|
30
|
+
clearedNet: string | null;
|
|
31
|
+
clearingDifference: string | null;
|
|
32
|
+
clearingOpenCount: number;
|
|
30
33
|
createdAt: string;
|
|
31
34
|
updatedAt: string;
|
|
32
35
|
}
|
|
@@ -14,6 +14,10 @@ export interface SettlementsMatchBankResponse {
|
|
|
14
14
|
reference: string | null;
|
|
15
15
|
matchedInvoiceId: string | null;
|
|
16
16
|
matchStatus: SettlementsMatchBankResponse.MatchStatus;
|
|
17
|
+
clearingBankAccountId: string | null;
|
|
18
|
+
clearingBooked: string | null;
|
|
19
|
+
clearingDifference: string | null;
|
|
20
|
+
clearingUnposted: boolean;
|
|
17
21
|
}
|
|
18
22
|
export declare namespace SettlementsMatchBankResponse {
|
|
19
23
|
const MatchStatus: {
|
|
@@ -15,6 +15,9 @@ export interface SettlementsPostBankResponse {
|
|
|
15
15
|
lineCount: number;
|
|
16
16
|
matchedCount: number;
|
|
17
17
|
unmatchedCount: number;
|
|
18
|
+
clearedNet: string | null;
|
|
19
|
+
clearingDifference: string | null;
|
|
20
|
+
clearingOpenCount: number;
|
|
18
21
|
createdAt: string;
|
|
19
22
|
updatedAt: string;
|
|
20
23
|
warnings: string[];
|
|
@@ -32,6 +35,7 @@ export declare namespace SettlementsPostBankResponse {
|
|
|
32
35
|
sellerAmount: string;
|
|
33
36
|
feeAmount: string;
|
|
34
37
|
suspenseAmount: string;
|
|
38
|
+
clearedAmount: string;
|
|
35
39
|
fxRate: string;
|
|
36
40
|
exchangeDifference: string;
|
|
37
41
|
}
|
|
@@ -15,6 +15,9 @@ export interface SettlementsUnlinkBankResponse {
|
|
|
15
15
|
lineCount: number;
|
|
16
16
|
matchedCount: number;
|
|
17
17
|
unmatchedCount: number;
|
|
18
|
+
clearedNet: string | null;
|
|
19
|
+
clearingDifference: string | null;
|
|
20
|
+
clearingOpenCount: number;
|
|
18
21
|
createdAt: string;
|
|
19
22
|
updatedAt: string;
|
|
20
23
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface TransactionsMatchManyBankResponse {
|
|
2
|
+
id: string;
|
|
3
|
+
bankAccountId: string;
|
|
4
|
+
date: string;
|
|
5
|
+
amount: string;
|
|
6
|
+
currency: string;
|
|
7
|
+
counterpartyName: string | null;
|
|
8
|
+
counterpartyIban: string | null;
|
|
9
|
+
description: string | null;
|
|
10
|
+
externalId: string | null;
|
|
11
|
+
status: TransactionsMatchManyBankResponse.Status;
|
|
12
|
+
matchedDocumentType: string | null;
|
|
13
|
+
matchedDocumentId: string | null;
|
|
14
|
+
journalTransactionId: string | null;
|
|
15
|
+
createdAt: string;
|
|
16
|
+
}
|
|
17
|
+
export declare namespace TransactionsMatchManyBankResponse {
|
|
18
|
+
const Status: {
|
|
19
|
+
readonly New: "new";
|
|
20
|
+
readonly Matched: "matched";
|
|
21
|
+
};
|
|
22
|
+
type Status = (typeof Status)[keyof typeof Status];
|
|
23
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.TransactionsMatchManyBankResponse = void 0;
|
|
5
|
+
var TransactionsMatchManyBankResponse;
|
|
6
|
+
(function (TransactionsMatchManyBankResponse) {
|
|
7
|
+
TransactionsMatchManyBankResponse.Status = {
|
|
8
|
+
New: "new",
|
|
9
|
+
Matched: "matched",
|
|
10
|
+
};
|
|
11
|
+
})(TransactionsMatchManyBankResponse || (exports.TransactionsMatchManyBankResponse = TransactionsMatchManyBankResponse = {}));
|
|
@@ -19,6 +19,7 @@ export declare namespace TransactionsSuggestMatchesBankResponse {
|
|
|
19
19
|
const DocumentType: {
|
|
20
20
|
readonly SaleInvoice: "sale_invoice";
|
|
21
21
|
readonly PurchaseInvoice: "purchase_invoice";
|
|
22
|
+
readonly PayrollRun: "payroll_run";
|
|
22
23
|
};
|
|
23
24
|
type DocumentType = (typeof DocumentType)[keyof typeof DocumentType];
|
|
24
25
|
}
|
|
@@ -11,6 +11,7 @@ var TransactionsSuggestMatchesBankResponse;
|
|
|
11
11
|
Item.DocumentType = {
|
|
12
12
|
SaleInvoice: "sale_invoice",
|
|
13
13
|
PurchaseInvoice: "purchase_invoice",
|
|
14
|
+
PayrollRun: "payroll_run",
|
|
14
15
|
};
|
|
15
16
|
})(Item = Suggestions.Item || (Suggestions.Item = {}));
|
|
16
17
|
})(Suggestions = TransactionsSuggestMatchesBankResponse.Suggestions || (TransactionsSuggestMatchesBankResponse.Suggestions = {}));
|
|
@@ -39,6 +39,7 @@ export * from "./StatementsImportBankResponse.js";
|
|
|
39
39
|
export * from "./TransactionsImportBankResponse.js";
|
|
40
40
|
export * from "./TransactionsListBankResponse.js";
|
|
41
41
|
export * from "./TransactionsMatchBankResponse.js";
|
|
42
|
+
export * from "./TransactionsMatchManyBankResponse.js";
|
|
42
43
|
export * from "./TransactionsRecordBankResponse.js";
|
|
43
44
|
export * from "./TransactionsSuggestMatchesBankResponse.js";
|
|
44
45
|
export * from "./TransactionsUnmatchBankResponse.js";
|
|
@@ -55,6 +55,7 @@ __exportStar(require("./StatementsImportBankResponse.js"), exports);
|
|
|
55
55
|
__exportStar(require("./TransactionsImportBankResponse.js"), exports);
|
|
56
56
|
__exportStar(require("./TransactionsListBankResponse.js"), exports);
|
|
57
57
|
__exportStar(require("./TransactionsMatchBankResponse.js"), exports);
|
|
58
|
+
__exportStar(require("./TransactionsMatchManyBankResponse.js"), exports);
|
|
58
59
|
__exportStar(require("./TransactionsRecordBankResponse.js"), exports);
|
|
59
60
|
__exportStar(require("./TransactionsSuggestMatchesBankResponse.js"), exports);
|
|
60
61
|
__exportStar(require("./TransactionsUnmatchBankResponse.js"), exports);
|
|
@@ -201,6 +201,8 @@ export declare class CaptureClient {
|
|
|
201
201
|
documentsDelete(request: NordletApi.DocumentsDeleteCaptureRequest, requestOptions?: CaptureClient.RequestOptions): core.HttpResponsePromise<NordletApi.DocumentsDeleteCaptureResponse>;
|
|
202
202
|
private __documentsDelete;
|
|
203
203
|
/**
|
|
204
|
+
* Creates the purchase invoice (or credit note, see `type`) from `lines`. Lines with the opposite sign go in `oppositeLines` and are saved as a second document of the opposite type for the same supplier: a purchase credit note against the new invoice, or a purchase invoice next to the new credit note. It is numbered `oppositeDocumentNumber`, by default the document number followed by "-CR" (credit note) or "-INV" (invoice).
|
|
205
|
+
*
|
|
204
206
|
* @param {NordletApi.DocumentsConfirmCaptureRequest} request
|
|
205
207
|
* @param {CaptureClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
206
208
|
*
|
|
@@ -760,6 +760,8 @@ class CaptureClient {
|
|
|
760
760
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/capture/documents/delete");
|
|
761
761
|
}
|
|
762
762
|
/**
|
|
763
|
+
* Creates the purchase invoice (or credit note, see `type`) from `lines`. Lines with the opposite sign go in `oppositeLines` and are saved as a second document of the opposite type for the same supplier: a purchase credit note against the new invoice, or a purchase invoice next to the new credit note. It is numbered `oppositeDocumentNumber`, by default the document number followed by "-CR" (credit note) or "-INV" (invoice).
|
|
764
|
+
*
|
|
763
765
|
* @param {NordletApi.DocumentsConfirmCaptureRequest} request
|
|
764
766
|
* @param {CaptureClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
765
767
|
*
|
|
@@ -11,12 +11,15 @@ export interface DocumentsConfirmCaptureRequest {
|
|
|
11
11
|
id: string;
|
|
12
12
|
partnerId?: string;
|
|
13
13
|
newSupplier?: DocumentsConfirmCaptureRequest.NewSupplier;
|
|
14
|
+
type?: DocumentsConfirmCaptureRequest.Type;
|
|
14
15
|
documentNumber: string;
|
|
15
16
|
documentDate: string;
|
|
16
17
|
dueDate?: string;
|
|
17
18
|
currency?: string;
|
|
18
19
|
notes?: string;
|
|
19
20
|
lines: DocumentsConfirmCaptureRequest.Lines.Item[];
|
|
21
|
+
oppositeLines?: DocumentsConfirmCaptureRequest.OppositeLines.Item[];
|
|
22
|
+
oppositeDocumentNumber?: string;
|
|
20
23
|
}
|
|
21
24
|
export declare namespace DocumentsConfirmCaptureRequest {
|
|
22
25
|
interface NewSupplier {
|
|
@@ -25,6 +28,11 @@ export declare namespace DocumentsConfirmCaptureRequest {
|
|
|
25
28
|
vatCode?: string | undefined;
|
|
26
29
|
countryCode?: string | undefined;
|
|
27
30
|
}
|
|
31
|
+
const Type: {
|
|
32
|
+
readonly Invoice: "invoice";
|
|
33
|
+
readonly CreditNote: "credit_note";
|
|
34
|
+
};
|
|
35
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
28
36
|
type Lines = Lines.Item[];
|
|
29
37
|
namespace Lines {
|
|
30
38
|
interface Item {
|
|
@@ -39,6 +47,29 @@ export declare namespace DocumentsConfirmCaptureRequest {
|
|
|
39
47
|
costCenterId?: string | undefined;
|
|
40
48
|
projectId?: string | undefined;
|
|
41
49
|
accountCode?: string | undefined;
|
|
50
|
+
deferralStartDate?: string | undefined;
|
|
51
|
+
deferralEndDate?: string | undefined;
|
|
52
|
+
}
|
|
53
|
+
namespace Item {
|
|
54
|
+
type Quantity = number | string;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
type OppositeLines = OppositeLines.Item[];
|
|
58
|
+
namespace OppositeLines {
|
|
59
|
+
interface Item {
|
|
60
|
+
itemId?: string | undefined;
|
|
61
|
+
description?: string | undefined;
|
|
62
|
+
unit?: string | undefined;
|
|
63
|
+
quantity?: Item.Quantity | undefined;
|
|
64
|
+
unitPriceExclVat?: string | undefined;
|
|
65
|
+
unitPriceInclVat?: string | undefined;
|
|
66
|
+
vatRatePercent?: string | undefined;
|
|
67
|
+
vatClassifierCode?: string | undefined;
|
|
68
|
+
costCenterId?: string | undefined;
|
|
69
|
+
projectId?: string | undefined;
|
|
70
|
+
accountCode?: string | undefined;
|
|
71
|
+
deferralStartDate?: string | undefined;
|
|
72
|
+
deferralEndDate?: string | undefined;
|
|
42
73
|
}
|
|
43
74
|
namespace Item {
|
|
44
75
|
type Quantity = number | string;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.DocumentsConfirmCaptureRequest = void 0;
|
|
5
|
+
var DocumentsConfirmCaptureRequest;
|
|
6
|
+
(function (DocumentsConfirmCaptureRequest) {
|
|
7
|
+
DocumentsConfirmCaptureRequest.Type = {
|
|
8
|
+
Invoice: "invoice",
|
|
9
|
+
CreditNote: "credit_note",
|
|
10
|
+
};
|
|
11
|
+
})(DocumentsConfirmCaptureRequest || (exports.DocumentsConfirmCaptureRequest = DocumentsConfirmCaptureRequest = {}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { DocumentsConfirmCaptureRequest } from "./DocumentsConfirmCaptureRequest.js";
|
|
2
2
|
export type { DocumentsDeleteCaptureRequest } from "./DocumentsDeleteCaptureRequest.js";
|
|
3
3
|
export type { DocumentsExtractCaptureRequest } from "./DocumentsExtractCaptureRequest.js";
|
|
4
4
|
export type { DocumentsGetCaptureRequest } from "./DocumentsGetCaptureRequest.js";
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DocumentsListCaptureRequest = void 0;
|
|
3
|
+
exports.DocumentsListCaptureRequest = exports.DocumentsConfirmCaptureRequest = void 0;
|
|
4
|
+
var DocumentsConfirmCaptureRequest_js_1 = require("./DocumentsConfirmCaptureRequest.js");
|
|
5
|
+
Object.defineProperty(exports, "DocumentsConfirmCaptureRequest", { enumerable: true, get: function () { return DocumentsConfirmCaptureRequest_js_1.DocumentsConfirmCaptureRequest; } });
|
|
4
6
|
var DocumentsListCaptureRequest_js_1 = require("./DocumentsListCaptureRequest.js");
|
|
5
7
|
Object.defineProperty(exports, "DocumentsListCaptureRequest", { enumerable: true, get: function () { return DocumentsListCaptureRequest_js_1.DocumentsListCaptureRequest; } });
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export interface DocumentsConfirmCaptureResponse {
|
|
2
2
|
capture: DocumentsConfirmCaptureResponse.Capture;
|
|
3
3
|
invoice: DocumentsConfirmCaptureResponse.Invoice;
|
|
4
|
+
oppositeInvoice: DocumentsConfirmCaptureResponse.OppositeInvoice | null;
|
|
4
5
|
}
|
|
5
6
|
export declare namespace DocumentsConfirmCaptureResponse {
|
|
6
7
|
interface Capture {
|
|
@@ -17,6 +18,7 @@ export declare namespace DocumentsConfirmCaptureResponse {
|
|
|
17
18
|
matchedPartnerId: string | null;
|
|
18
19
|
purchaseInvoiceId: string | null;
|
|
19
20
|
error: string | null;
|
|
21
|
+
senderId: string | null;
|
|
20
22
|
createdAt: string;
|
|
21
23
|
updatedAt: string;
|
|
22
24
|
}
|
|
@@ -29,6 +31,7 @@ export declare namespace DocumentsConfirmCaptureResponse {
|
|
|
29
31
|
};
|
|
30
32
|
type Status = (typeof Status)[keyof typeof Status];
|
|
31
33
|
interface Extraction {
|
|
34
|
+
documentType?: Extraction.DocumentType | undefined;
|
|
32
35
|
supplier: Extraction.Supplier;
|
|
33
36
|
documentNumber: string | null;
|
|
34
37
|
documentDate: string | null;
|
|
@@ -39,8 +42,14 @@ export declare namespace DocumentsConfirmCaptureResponse {
|
|
|
39
42
|
grossTotal: string | null;
|
|
40
43
|
notes: string | null;
|
|
41
44
|
lines: Extraction.Lines.Item[];
|
|
45
|
+
oppositeLines?: Extraction.OppositeLines.Item[] | undefined;
|
|
42
46
|
}
|
|
43
47
|
namespace Extraction {
|
|
48
|
+
const DocumentType: {
|
|
49
|
+
readonly Invoice: "invoice";
|
|
50
|
+
readonly CreditNote: "credit_note";
|
|
51
|
+
};
|
|
52
|
+
type DocumentType = (typeof DocumentType)[keyof typeof DocumentType];
|
|
44
53
|
interface Supplier {
|
|
45
54
|
name: string | null;
|
|
46
55
|
code: string | null;
|
|
@@ -61,6 +70,19 @@ export declare namespace DocumentsConfirmCaptureResponse {
|
|
|
61
70
|
lineGross: string | null;
|
|
62
71
|
}
|
|
63
72
|
}
|
|
73
|
+
type OppositeLines = OppositeLines.Item[];
|
|
74
|
+
namespace OppositeLines {
|
|
75
|
+
interface Item {
|
|
76
|
+
description: string;
|
|
77
|
+
quantity: string;
|
|
78
|
+
unit: string | null;
|
|
79
|
+
unitPriceExclVat: string | null;
|
|
80
|
+
vatRatePercent: string | null;
|
|
81
|
+
lineNet: string | null;
|
|
82
|
+
lineVat: string | null;
|
|
83
|
+
lineGross: string | null;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
64
86
|
}
|
|
65
87
|
}
|
|
66
88
|
interface Invoice {
|
|
@@ -125,6 +147,79 @@ export declare namespace DocumentsConfirmCaptureResponse {
|
|
|
125
147
|
costCenterId: string | null;
|
|
126
148
|
projectId: string | null;
|
|
127
149
|
accountCode: string | null;
|
|
150
|
+
deferralStartDate: string | null;
|
|
151
|
+
deferralEndDate: string | null;
|
|
152
|
+
lineNet: string;
|
|
153
|
+
lineVat: string;
|
|
154
|
+
lineGross: string;
|
|
155
|
+
sortOrder: number;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
interface OppositeInvoice {
|
|
160
|
+
id: string;
|
|
161
|
+
partnerId: string;
|
|
162
|
+
type: OppositeInvoice.Type;
|
|
163
|
+
status: OppositeInvoice.Status;
|
|
164
|
+
paymentStatus: OppositeInvoice.PaymentStatus;
|
|
165
|
+
documentNumber: string;
|
|
166
|
+
documentDate: string;
|
|
167
|
+
dueDate: string | null;
|
|
168
|
+
registrationDate: string | null;
|
|
169
|
+
currency: string;
|
|
170
|
+
netTotal: string;
|
|
171
|
+
vatTotal: string;
|
|
172
|
+
grossTotal: string;
|
|
173
|
+
paidAmount: string;
|
|
174
|
+
journalTransactionId: string | null;
|
|
175
|
+
creditedInvoiceId: string | null;
|
|
176
|
+
purchaseOrderId: string | null;
|
|
177
|
+
operationTypeId: string | null;
|
|
178
|
+
notes: string | null;
|
|
179
|
+
intrastatTransportMode: string | null;
|
|
180
|
+
intrastatDeliveryTerms: string | null;
|
|
181
|
+
intrastatRegion: string | null;
|
|
182
|
+
intrastatNatureOfTransaction: string | null;
|
|
183
|
+
einvoiceNumber: string | null;
|
|
184
|
+
documentRef: string | null;
|
|
185
|
+
createdAt: string;
|
|
186
|
+
updatedAt: string;
|
|
187
|
+
lines: OppositeInvoice.Lines.Item[];
|
|
188
|
+
}
|
|
189
|
+
namespace OppositeInvoice {
|
|
190
|
+
const Type: {
|
|
191
|
+
readonly Invoice: "invoice";
|
|
192
|
+
readonly CreditNote: "credit_note";
|
|
193
|
+
};
|
|
194
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
195
|
+
const Status: {
|
|
196
|
+
readonly Draft: "draft";
|
|
197
|
+
readonly Registered: "registered";
|
|
198
|
+
};
|
|
199
|
+
type Status = (typeof Status)[keyof typeof Status];
|
|
200
|
+
const PaymentStatus: {
|
|
201
|
+
readonly Unpaid: "unpaid";
|
|
202
|
+
readonly Partial: "partial";
|
|
203
|
+
readonly Paid: "paid";
|
|
204
|
+
};
|
|
205
|
+
type PaymentStatus = (typeof PaymentStatus)[keyof typeof PaymentStatus];
|
|
206
|
+
type Lines = Lines.Item[];
|
|
207
|
+
namespace Lines {
|
|
208
|
+
interface Item {
|
|
209
|
+
id: string;
|
|
210
|
+
itemId: string | null;
|
|
211
|
+
description: string;
|
|
212
|
+
unit: string;
|
|
213
|
+
quantity: string;
|
|
214
|
+
unitPriceExclVat: string | null;
|
|
215
|
+
unitPriceInclVat: string | null;
|
|
216
|
+
vatRatePercent: string;
|
|
217
|
+
vatClassifierCode: string | null;
|
|
218
|
+
costCenterId: string | null;
|
|
219
|
+
projectId: string | null;
|
|
220
|
+
accountCode: string | null;
|
|
221
|
+
deferralStartDate: string | null;
|
|
222
|
+
deferralEndDate: string | null;
|
|
128
223
|
lineNet: string;
|
|
129
224
|
lineVat: string;
|
|
130
225
|
lineGross: string;
|
|
@@ -12,6 +12,13 @@ var DocumentsConfirmCaptureResponse;
|
|
|
12
12
|
Failed: "failed",
|
|
13
13
|
Linked: "linked",
|
|
14
14
|
};
|
|
15
|
+
let Extraction;
|
|
16
|
+
(function (Extraction) {
|
|
17
|
+
Extraction.DocumentType = {
|
|
18
|
+
Invoice: "invoice",
|
|
19
|
+
CreditNote: "credit_note",
|
|
20
|
+
};
|
|
21
|
+
})(Extraction = Capture.Extraction || (Capture.Extraction = {}));
|
|
15
22
|
})(Capture = DocumentsConfirmCaptureResponse.Capture || (DocumentsConfirmCaptureResponse.Capture = {}));
|
|
16
23
|
let Invoice;
|
|
17
24
|
(function (Invoice) {
|
|
@@ -29,4 +36,20 @@ var DocumentsConfirmCaptureResponse;
|
|
|
29
36
|
Paid: "paid",
|
|
30
37
|
};
|
|
31
38
|
})(Invoice = DocumentsConfirmCaptureResponse.Invoice || (DocumentsConfirmCaptureResponse.Invoice = {}));
|
|
39
|
+
let OppositeInvoice;
|
|
40
|
+
(function (OppositeInvoice) {
|
|
41
|
+
OppositeInvoice.Type = {
|
|
42
|
+
Invoice: "invoice",
|
|
43
|
+
CreditNote: "credit_note",
|
|
44
|
+
};
|
|
45
|
+
OppositeInvoice.Status = {
|
|
46
|
+
Draft: "draft",
|
|
47
|
+
Registered: "registered",
|
|
48
|
+
};
|
|
49
|
+
OppositeInvoice.PaymentStatus = {
|
|
50
|
+
Unpaid: "unpaid",
|
|
51
|
+
Partial: "partial",
|
|
52
|
+
Paid: "paid",
|
|
53
|
+
};
|
|
54
|
+
})(OppositeInvoice = DocumentsConfirmCaptureResponse.OppositeInvoice || (DocumentsConfirmCaptureResponse.OppositeInvoice = {}));
|
|
32
55
|
})(DocumentsConfirmCaptureResponse || (exports.DocumentsConfirmCaptureResponse = DocumentsConfirmCaptureResponse = {}));
|
|
@@ -12,6 +12,7 @@ export interface DocumentsExtractCaptureResponse {
|
|
|
12
12
|
matchedPartnerId: string | null;
|
|
13
13
|
purchaseInvoiceId: string | null;
|
|
14
14
|
error: string | null;
|
|
15
|
+
senderId: string | null;
|
|
15
16
|
createdAt: string;
|
|
16
17
|
updatedAt: string;
|
|
17
18
|
rawText: string | null;
|
|
@@ -25,6 +26,7 @@ export declare namespace DocumentsExtractCaptureResponse {
|
|
|
25
26
|
};
|
|
26
27
|
type Status = (typeof Status)[keyof typeof Status];
|
|
27
28
|
interface Extraction {
|
|
29
|
+
documentType?: Extraction.DocumentType | undefined;
|
|
28
30
|
supplier: Extraction.Supplier;
|
|
29
31
|
documentNumber: string | null;
|
|
30
32
|
documentDate: string | null;
|
|
@@ -35,8 +37,14 @@ export declare namespace DocumentsExtractCaptureResponse {
|
|
|
35
37
|
grossTotal: string | null;
|
|
36
38
|
notes: string | null;
|
|
37
39
|
lines: Extraction.Lines.Item[];
|
|
40
|
+
oppositeLines?: Extraction.OppositeLines.Item[] | undefined;
|
|
38
41
|
}
|
|
39
42
|
namespace Extraction {
|
|
43
|
+
const DocumentType: {
|
|
44
|
+
readonly Invoice: "invoice";
|
|
45
|
+
readonly CreditNote: "credit_note";
|
|
46
|
+
};
|
|
47
|
+
type DocumentType = (typeof DocumentType)[keyof typeof DocumentType];
|
|
40
48
|
interface Supplier {
|
|
41
49
|
name: string | null;
|
|
42
50
|
code: string | null;
|
|
@@ -57,5 +65,18 @@ export declare namespace DocumentsExtractCaptureResponse {
|
|
|
57
65
|
lineGross: string | null;
|
|
58
66
|
}
|
|
59
67
|
}
|
|
68
|
+
type OppositeLines = OppositeLines.Item[];
|
|
69
|
+
namespace OppositeLines {
|
|
70
|
+
interface Item {
|
|
71
|
+
description: string;
|
|
72
|
+
quantity: string;
|
|
73
|
+
unit: string | null;
|
|
74
|
+
unitPriceExclVat: string | null;
|
|
75
|
+
vatRatePercent: string | null;
|
|
76
|
+
lineNet: string | null;
|
|
77
|
+
lineVat: string | null;
|
|
78
|
+
lineGross: string | null;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
60
81
|
}
|
|
61
82
|
}
|
|
@@ -10,4 +10,11 @@ var DocumentsExtractCaptureResponse;
|
|
|
10
10
|
Failed: "failed",
|
|
11
11
|
Linked: "linked",
|
|
12
12
|
};
|
|
13
|
+
let Extraction;
|
|
14
|
+
(function (Extraction) {
|
|
15
|
+
Extraction.DocumentType = {
|
|
16
|
+
Invoice: "invoice",
|
|
17
|
+
CreditNote: "credit_note",
|
|
18
|
+
};
|
|
19
|
+
})(Extraction = DocumentsExtractCaptureResponse.Extraction || (DocumentsExtractCaptureResponse.Extraction = {}));
|
|
13
20
|
})(DocumentsExtractCaptureResponse || (exports.DocumentsExtractCaptureResponse = DocumentsExtractCaptureResponse = {}));
|
|
@@ -12,6 +12,7 @@ export interface DocumentsGetCaptureResponse {
|
|
|
12
12
|
matchedPartnerId: string | null;
|
|
13
13
|
purchaseInvoiceId: string | null;
|
|
14
14
|
error: string | null;
|
|
15
|
+
senderId: string | null;
|
|
15
16
|
createdAt: string;
|
|
16
17
|
updatedAt: string;
|
|
17
18
|
rawText: string | null;
|
|
@@ -25,6 +26,7 @@ export declare namespace DocumentsGetCaptureResponse {
|
|
|
25
26
|
};
|
|
26
27
|
type Status = (typeof Status)[keyof typeof Status];
|
|
27
28
|
interface Extraction {
|
|
29
|
+
documentType?: Extraction.DocumentType | undefined;
|
|
28
30
|
supplier: Extraction.Supplier;
|
|
29
31
|
documentNumber: string | null;
|
|
30
32
|
documentDate: string | null;
|
|
@@ -35,8 +37,14 @@ export declare namespace DocumentsGetCaptureResponse {
|
|
|
35
37
|
grossTotal: string | null;
|
|
36
38
|
notes: string | null;
|
|
37
39
|
lines: Extraction.Lines.Item[];
|
|
40
|
+
oppositeLines?: Extraction.OppositeLines.Item[] | undefined;
|
|
38
41
|
}
|
|
39
42
|
namespace Extraction {
|
|
43
|
+
const DocumentType: {
|
|
44
|
+
readonly Invoice: "invoice";
|
|
45
|
+
readonly CreditNote: "credit_note";
|
|
46
|
+
};
|
|
47
|
+
type DocumentType = (typeof DocumentType)[keyof typeof DocumentType];
|
|
40
48
|
interface Supplier {
|
|
41
49
|
name: string | null;
|
|
42
50
|
code: string | null;
|
|
@@ -57,5 +65,18 @@ export declare namespace DocumentsGetCaptureResponse {
|
|
|
57
65
|
lineGross: string | null;
|
|
58
66
|
}
|
|
59
67
|
}
|
|
68
|
+
type OppositeLines = OppositeLines.Item[];
|
|
69
|
+
namespace OppositeLines {
|
|
70
|
+
interface Item {
|
|
71
|
+
description: string;
|
|
72
|
+
quantity: string;
|
|
73
|
+
unit: string | null;
|
|
74
|
+
unitPriceExclVat: string | null;
|
|
75
|
+
vatRatePercent: string | null;
|
|
76
|
+
lineNet: string | null;
|
|
77
|
+
lineVat: string | null;
|
|
78
|
+
lineGross: string | null;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
60
81
|
}
|
|
61
82
|
}
|
|
@@ -10,4 +10,11 @@ var DocumentsGetCaptureResponse;
|
|
|
10
10
|
Failed: "failed",
|
|
11
11
|
Linked: "linked",
|
|
12
12
|
};
|
|
13
|
+
let Extraction;
|
|
14
|
+
(function (Extraction) {
|
|
15
|
+
Extraction.DocumentType = {
|
|
16
|
+
Invoice: "invoice",
|
|
17
|
+
CreditNote: "credit_note",
|
|
18
|
+
};
|
|
19
|
+
})(Extraction = DocumentsGetCaptureResponse.Extraction || (DocumentsGetCaptureResponse.Extraction = {}));
|
|
13
20
|
})(DocumentsGetCaptureResponse || (exports.DocumentsGetCaptureResponse = DocumentsGetCaptureResponse = {}));
|
|
@@ -24,6 +24,7 @@ export declare namespace DocumentsListCaptureResponse {
|
|
|
24
24
|
matchedPartnerId: string | null;
|
|
25
25
|
purchaseInvoiceId: string | null;
|
|
26
26
|
error: string | null;
|
|
27
|
+
senderId: string | null;
|
|
27
28
|
createdAt: string;
|
|
28
29
|
updatedAt: string;
|
|
29
30
|
}
|
|
@@ -36,6 +37,7 @@ export declare namespace DocumentsListCaptureResponse {
|
|
|
36
37
|
};
|
|
37
38
|
type Status = (typeof Status)[keyof typeof Status];
|
|
38
39
|
interface Extraction {
|
|
40
|
+
documentType?: Extraction.DocumentType | undefined;
|
|
39
41
|
supplier: Extraction.Supplier;
|
|
40
42
|
documentNumber: string | null;
|
|
41
43
|
documentDate: string | null;
|
|
@@ -46,8 +48,14 @@ export declare namespace DocumentsListCaptureResponse {
|
|
|
46
48
|
grossTotal: string | null;
|
|
47
49
|
notes: string | null;
|
|
48
50
|
lines: Extraction.Lines.Item[];
|
|
51
|
+
oppositeLines?: Extraction.OppositeLines.Item[] | undefined;
|
|
49
52
|
}
|
|
50
53
|
namespace Extraction {
|
|
54
|
+
const DocumentType: {
|
|
55
|
+
readonly Invoice: "invoice";
|
|
56
|
+
readonly CreditNote: "credit_note";
|
|
57
|
+
};
|
|
58
|
+
type DocumentType = (typeof DocumentType)[keyof typeof DocumentType];
|
|
51
59
|
interface Supplier {
|
|
52
60
|
name: string | null;
|
|
53
61
|
code: string | null;
|
|
@@ -68,6 +76,19 @@ export declare namespace DocumentsListCaptureResponse {
|
|
|
68
76
|
lineGross: string | null;
|
|
69
77
|
}
|
|
70
78
|
}
|
|
79
|
+
type OppositeLines = OppositeLines.Item[];
|
|
80
|
+
namespace OppositeLines {
|
|
81
|
+
interface Item {
|
|
82
|
+
description: string;
|
|
83
|
+
quantity: string;
|
|
84
|
+
unit: string | null;
|
|
85
|
+
unitPriceExclVat: string | null;
|
|
86
|
+
vatRatePercent: string | null;
|
|
87
|
+
lineNet: string | null;
|
|
88
|
+
lineVat: string | null;
|
|
89
|
+
lineGross: string | null;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
71
92
|
}
|
|
72
93
|
}
|
|
73
94
|
}
|