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
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface ExpenseReportsListCashResponse {
|
|
2
|
+
rows: ExpenseReportsListCashResponse.Rows.Item[];
|
|
3
|
+
page: number;
|
|
4
|
+
pageSize: number;
|
|
5
|
+
total: number;
|
|
6
|
+
totals?: Record<string, string> | undefined;
|
|
7
|
+
/** The requested totals split by currency code, present when the listed records carry a currency */
|
|
8
|
+
totalsByCurrency?: Record<string, Record<string, string>> | undefined;
|
|
9
|
+
}
|
|
10
|
+
export declare namespace ExpenseReportsListCashResponse {
|
|
11
|
+
type Rows = Rows.Item[];
|
|
12
|
+
namespace Rows {
|
|
13
|
+
interface Item {
|
|
14
|
+
id: string;
|
|
15
|
+
number: string;
|
|
16
|
+
employeeId: string;
|
|
17
|
+
date: string;
|
|
18
|
+
netTotal: string;
|
|
19
|
+
vatTotal: string;
|
|
20
|
+
total: string;
|
|
21
|
+
journalTransactionId: string | null;
|
|
22
|
+
notes: string | null;
|
|
23
|
+
createdAt: string;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -13,6 +13,8 @@ export interface OrdersCreateCashResponse {
|
|
|
13
13
|
cashAccountCode: string;
|
|
14
14
|
counterAccountCode: string;
|
|
15
15
|
journalTransactionId: string | null;
|
|
16
|
+
saleInvoiceId: string | null;
|
|
17
|
+
purchaseInvoiceId: string | null;
|
|
16
18
|
notes: string | null;
|
|
17
19
|
createdAt: string;
|
|
18
20
|
}
|
|
@@ -13,6 +13,8 @@ export interface OrdersGetCashResponse {
|
|
|
13
13
|
cashAccountCode: string;
|
|
14
14
|
counterAccountCode: string;
|
|
15
15
|
journalTransactionId: string | null;
|
|
16
|
+
saleInvoiceId: string | null;
|
|
17
|
+
purchaseInvoiceId: string | null;
|
|
16
18
|
notes: string | null;
|
|
17
19
|
createdAt: string;
|
|
18
20
|
}
|
|
@@ -25,6 +25,8 @@ export declare namespace OrdersListCashResponse {
|
|
|
25
25
|
cashAccountCode: string;
|
|
26
26
|
counterAccountCode: string;
|
|
27
27
|
journalTransactionId: string | null;
|
|
28
|
+
saleInvoiceId: string | null;
|
|
29
|
+
purchaseInvoiceId: string | null;
|
|
28
30
|
notes: string | null;
|
|
29
31
|
createdAt: string;
|
|
30
32
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export * from "./AdvanceHoldersBalancesCashResponse.js";
|
|
2
2
|
export * from "./BalanceCashResponse.js";
|
|
3
|
+
export * from "./ExpenseReportsCreateCashResponse.js";
|
|
4
|
+
export * from "./ExpenseReportsGetCashResponse.js";
|
|
5
|
+
export * from "./ExpenseReportsListCashResponse.js";
|
|
3
6
|
export * from "./OrdersCreateCashResponse.js";
|
|
4
7
|
export * from "./OrdersGetCashResponse.js";
|
|
5
8
|
export * from "./OrdersListCashResponse.js";
|
|
@@ -16,6 +16,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./AdvanceHoldersBalancesCashResponse.js"), exports);
|
|
18
18
|
__exportStar(require("./BalanceCashResponse.js"), exports);
|
|
19
|
+
__exportStar(require("./ExpenseReportsCreateCashResponse.js"), exports);
|
|
20
|
+
__exportStar(require("./ExpenseReportsGetCashResponse.js"), exports);
|
|
21
|
+
__exportStar(require("./ExpenseReportsListCashResponse.js"), exports);
|
|
19
22
|
__exportStar(require("./OrdersCreateCashResponse.js"), exports);
|
|
20
23
|
__exportStar(require("./OrdersGetCashResponse.js"), exports);
|
|
21
24
|
__exportStar(require("./OrdersListCashResponse.js"), exports);
|
|
@@ -377,6 +377,98 @@ export declare class DeclarationsClient {
|
|
|
377
377
|
*/
|
|
378
378
|
euIossCompute(request: NordletApi.EuIossComputeDeclarationsRequest, requestOptions?: DeclarationsClient.RequestOptions): core.HttpResponsePromise<NordletApi.EuIossComputeDeclarationsResponse>;
|
|
379
379
|
private __euIossCompute;
|
|
380
|
+
/**
|
|
381
|
+
* @param {NordletApi.EuOwnGoodsTransfersComputeDeclarationsRequest} request
|
|
382
|
+
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
383
|
+
*
|
|
384
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
385
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
386
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
387
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
388
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
389
|
+
* @throws {@link NordletApi.ConflictError}
|
|
390
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
391
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
392
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
393
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
394
|
+
*
|
|
395
|
+
* @example
|
|
396
|
+
* await client.declarations.euOwnGoodsTransfersCompute({
|
|
397
|
+
* year: 1000000,
|
|
398
|
+
* month: 1000000
|
|
399
|
+
* })
|
|
400
|
+
*/
|
|
401
|
+
euOwnGoodsTransfersCompute(request: NordletApi.EuOwnGoodsTransfersComputeDeclarationsRequest, requestOptions?: DeclarationsClient.RequestOptions): core.HttpResponsePromise<NordletApi.EuOwnGoodsTransfersComputeDeclarationsResponse>;
|
|
402
|
+
private __euOwnGoodsTransfersCompute;
|
|
403
|
+
/**
|
|
404
|
+
* @param {NordletApi.EuDigitalReportingListDeclarationsRequest} request
|
|
405
|
+
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
406
|
+
*
|
|
407
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
408
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
409
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
410
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
411
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
412
|
+
* @throws {@link NordletApi.ConflictError}
|
|
413
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
414
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
415
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
416
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
417
|
+
*
|
|
418
|
+
* @example
|
|
419
|
+
* await client.declarations.euDigitalReportingList({
|
|
420
|
+
* fromDate: "2026-07-01",
|
|
421
|
+
* toDate: "2026-07-01"
|
|
422
|
+
* })
|
|
423
|
+
*/
|
|
424
|
+
euDigitalReportingList(request: NordletApi.EuDigitalReportingListDeclarationsRequest, requestOptions?: DeclarationsClient.RequestOptions): core.HttpResponsePromise<NordletApi.EuDigitalReportingListDeclarationsResponse>;
|
|
425
|
+
private __euDigitalReportingList;
|
|
426
|
+
/**
|
|
427
|
+
* Which platform sellers are reportable for the year (Council Directive (EU) 2021/514, Annex V) and why the others are excluded, the data still missing, and how the company files the report in its Member State.
|
|
428
|
+
*
|
|
429
|
+
* @param {NordletApi.EuDac7PreviewDeclarationsRequest} request
|
|
430
|
+
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
431
|
+
*
|
|
432
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
433
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
434
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
435
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
436
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
437
|
+
* @throws {@link NordletApi.ConflictError}
|
|
438
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
439
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
440
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
441
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
442
|
+
*
|
|
443
|
+
* @example
|
|
444
|
+
* await client.declarations.euDac7Preview({
|
|
445
|
+
* year: 1000000
|
|
446
|
+
* })
|
|
447
|
+
*/
|
|
448
|
+
euDac7Preview(request: NordletApi.EuDac7PreviewDeclarationsRequest, requestOptions?: DeclarationsClient.RequestOptions): core.HttpResponsePromise<NordletApi.EuDac7PreviewDeclarationsResponse>;
|
|
449
|
+
private __euDac7Preview;
|
|
450
|
+
/**
|
|
451
|
+
* @param {NordletApi.EuDac7XmlDeclarationsRequest} request
|
|
452
|
+
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
453
|
+
*
|
|
454
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
455
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
456
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
457
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
458
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
459
|
+
* @throws {@link NordletApi.ConflictError}
|
|
460
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
461
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
462
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
463
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
464
|
+
*
|
|
465
|
+
* @example
|
|
466
|
+
* await client.declarations.euDac7Xml({
|
|
467
|
+
* year: 1000000
|
|
468
|
+
* })
|
|
469
|
+
*/
|
|
470
|
+
euDac7Xml(request: NordletApi.EuDac7XmlDeclarationsRequest, requestOptions?: DeclarationsClient.RequestOptions): core.HttpResponsePromise<NordletApi.EuDac7XmlDeclarationsResponse>;
|
|
471
|
+
private __euDac7Xml;
|
|
380
472
|
/**
|
|
381
473
|
* @param {NordletApi.EuDistanceSalesThresholdGetDeclarationsRequest} request
|
|
382
474
|
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1640,7 +1732,7 @@ export declare class DeclarationsClient {
|
|
|
1640
1732
|
plJpkMagGenerate(request: NordletApi.PlJpkMagGenerateDeclarationsRequest, requestOptions?: DeclarationsClient.RequestOptions): core.HttpResponsePromise<NordletApi.PlJpkMagGenerateDeclarationsResponse>;
|
|
1641
1733
|
private __plJpkMagGenerate;
|
|
1642
1734
|
/**
|
|
1643
|
-
* Generate PIT-11(29) for every person on the payroll of one year: the pay, the deductible costs, the advance withheld and the social and health contributions taken off it. One document per person, because that is how the form is filed.
|
|
1735
|
+
* Generate PIT-11(29) for every person on the payroll of one year: the pay, the deductible costs, the advance withheld and the social and health contributions taken off it. One document per person, because that is how the form is filed, addressed to the tax office of the place of residence of that person (employee field plKodUrzedu); a person without that code is refused with 422.
|
|
1644
1736
|
*
|
|
1645
1737
|
* @param {NordletApi.PlPit11GenerateDeclarationsRequest} request
|
|
1646
1738
|
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1342,6 +1342,330 @@ class DeclarationsClient {
|
|
|
1342
1342
|
}
|
|
1343
1343
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/declarations/eu/ioss/compute");
|
|
1344
1344
|
}
|
|
1345
|
+
/**
|
|
1346
|
+
* @param {NordletApi.EuOwnGoodsTransfersComputeDeclarationsRequest} request
|
|
1347
|
+
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1348
|
+
*
|
|
1349
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
1350
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
1351
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
1352
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
1353
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
1354
|
+
* @throws {@link NordletApi.ConflictError}
|
|
1355
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
1356
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
1357
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
1358
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
1359
|
+
*
|
|
1360
|
+
* @example
|
|
1361
|
+
* await client.declarations.euOwnGoodsTransfersCompute({
|
|
1362
|
+
* year: 1000000,
|
|
1363
|
+
* month: 1000000
|
|
1364
|
+
* })
|
|
1365
|
+
*/
|
|
1366
|
+
euOwnGoodsTransfersCompute(request, requestOptions) {
|
|
1367
|
+
return core.HttpResponsePromise.fromPromise(this.__euOwnGoodsTransfersCompute(request, requestOptions));
|
|
1368
|
+
}
|
|
1369
|
+
async __euOwnGoodsTransfersCompute(request, requestOptions) {
|
|
1370
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1371
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
1372
|
+
const _response = await core.fetcher({
|
|
1373
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
1374
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
1375
|
+
environments.NordletApiEnvironment.Production, "v1/declarations/eu/own-goods-transfers/compute"),
|
|
1376
|
+
method: "POST",
|
|
1377
|
+
headers: _headers,
|
|
1378
|
+
contentType: "application/json",
|
|
1379
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
1380
|
+
requestType: "json",
|
|
1381
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
|
|
1382
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
1383
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1384
|
+
abortSignal: requestOptions?.abortSignal,
|
|
1385
|
+
fetchFn: this._options?.fetch,
|
|
1386
|
+
logging: this._options.logging,
|
|
1387
|
+
});
|
|
1388
|
+
if (_response.ok) {
|
|
1389
|
+
return {
|
|
1390
|
+
data: _response.body,
|
|
1391
|
+
rawResponse: _response.rawResponse,
|
|
1392
|
+
};
|
|
1393
|
+
}
|
|
1394
|
+
if (_response.error.reason === "status-code") {
|
|
1395
|
+
switch (_response.error.statusCode) {
|
|
1396
|
+
case 400:
|
|
1397
|
+
throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
|
|
1398
|
+
case 401:
|
|
1399
|
+
throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
1400
|
+
case 402:
|
|
1401
|
+
throw new NordletApi.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
1402
|
+
case 403:
|
|
1403
|
+
throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1404
|
+
case 404:
|
|
1405
|
+
throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1406
|
+
case 409:
|
|
1407
|
+
throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
|
|
1408
|
+
case 413:
|
|
1409
|
+
throw new NordletApi.ContentTooLargeError(_response.error.body, _response.rawResponse);
|
|
1410
|
+
case 422:
|
|
1411
|
+
throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1412
|
+
case 429:
|
|
1413
|
+
throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
1414
|
+
case 500:
|
|
1415
|
+
throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1416
|
+
default:
|
|
1417
|
+
throw new errors.NordletApiError({
|
|
1418
|
+
statusCode: _response.error.statusCode,
|
|
1419
|
+
body: _response.error.body,
|
|
1420
|
+
rawResponse: _response.rawResponse,
|
|
1421
|
+
});
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/declarations/eu/own-goods-transfers/compute");
|
|
1425
|
+
}
|
|
1426
|
+
/**
|
|
1427
|
+
* @param {NordletApi.EuDigitalReportingListDeclarationsRequest} request
|
|
1428
|
+
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1429
|
+
*
|
|
1430
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
1431
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
1432
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
1433
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
1434
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
1435
|
+
* @throws {@link NordletApi.ConflictError}
|
|
1436
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
1437
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
1438
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
1439
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
1440
|
+
*
|
|
1441
|
+
* @example
|
|
1442
|
+
* await client.declarations.euDigitalReportingList({
|
|
1443
|
+
* fromDate: "2026-07-01",
|
|
1444
|
+
* toDate: "2026-07-01"
|
|
1445
|
+
* })
|
|
1446
|
+
*/
|
|
1447
|
+
euDigitalReportingList(request, requestOptions) {
|
|
1448
|
+
return core.HttpResponsePromise.fromPromise(this.__euDigitalReportingList(request, requestOptions));
|
|
1449
|
+
}
|
|
1450
|
+
async __euDigitalReportingList(request, requestOptions) {
|
|
1451
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1452
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
1453
|
+
const _response = await core.fetcher({
|
|
1454
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
1455
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
1456
|
+
environments.NordletApiEnvironment.Production, "v1/declarations/eu/digital-reporting/list"),
|
|
1457
|
+
method: "POST",
|
|
1458
|
+
headers: _headers,
|
|
1459
|
+
contentType: "application/json",
|
|
1460
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
1461
|
+
requestType: "json",
|
|
1462
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
|
|
1463
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
1464
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1465
|
+
abortSignal: requestOptions?.abortSignal,
|
|
1466
|
+
fetchFn: this._options?.fetch,
|
|
1467
|
+
logging: this._options.logging,
|
|
1468
|
+
});
|
|
1469
|
+
if (_response.ok) {
|
|
1470
|
+
return {
|
|
1471
|
+
data: _response.body,
|
|
1472
|
+
rawResponse: _response.rawResponse,
|
|
1473
|
+
};
|
|
1474
|
+
}
|
|
1475
|
+
if (_response.error.reason === "status-code") {
|
|
1476
|
+
switch (_response.error.statusCode) {
|
|
1477
|
+
case 400:
|
|
1478
|
+
throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
|
|
1479
|
+
case 401:
|
|
1480
|
+
throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
1481
|
+
case 402:
|
|
1482
|
+
throw new NordletApi.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
1483
|
+
case 403:
|
|
1484
|
+
throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1485
|
+
case 404:
|
|
1486
|
+
throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1487
|
+
case 409:
|
|
1488
|
+
throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
|
|
1489
|
+
case 413:
|
|
1490
|
+
throw new NordletApi.ContentTooLargeError(_response.error.body, _response.rawResponse);
|
|
1491
|
+
case 422:
|
|
1492
|
+
throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1493
|
+
case 429:
|
|
1494
|
+
throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
1495
|
+
case 500:
|
|
1496
|
+
throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1497
|
+
default:
|
|
1498
|
+
throw new errors.NordletApiError({
|
|
1499
|
+
statusCode: _response.error.statusCode,
|
|
1500
|
+
body: _response.error.body,
|
|
1501
|
+
rawResponse: _response.rawResponse,
|
|
1502
|
+
});
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/declarations/eu/digital-reporting/list");
|
|
1506
|
+
}
|
|
1507
|
+
/**
|
|
1508
|
+
* Which platform sellers are reportable for the year (Council Directive (EU) 2021/514, Annex V) and why the others are excluded, the data still missing, and how the company files the report in its Member State.
|
|
1509
|
+
*
|
|
1510
|
+
* @param {NordletApi.EuDac7PreviewDeclarationsRequest} request
|
|
1511
|
+
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1512
|
+
*
|
|
1513
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
1514
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
1515
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
1516
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
1517
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
1518
|
+
* @throws {@link NordletApi.ConflictError}
|
|
1519
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
1520
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
1521
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
1522
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
1523
|
+
*
|
|
1524
|
+
* @example
|
|
1525
|
+
* await client.declarations.euDac7Preview({
|
|
1526
|
+
* year: 1000000
|
|
1527
|
+
* })
|
|
1528
|
+
*/
|
|
1529
|
+
euDac7Preview(request, requestOptions) {
|
|
1530
|
+
return core.HttpResponsePromise.fromPromise(this.__euDac7Preview(request, requestOptions));
|
|
1531
|
+
}
|
|
1532
|
+
async __euDac7Preview(request, requestOptions) {
|
|
1533
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1534
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
1535
|
+
const _response = await core.fetcher({
|
|
1536
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
1537
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
1538
|
+
environments.NordletApiEnvironment.Production, "v1/declarations/eu/dac7/preview"),
|
|
1539
|
+
method: "POST",
|
|
1540
|
+
headers: _headers,
|
|
1541
|
+
contentType: "application/json",
|
|
1542
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
1543
|
+
requestType: "json",
|
|
1544
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
|
|
1545
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
1546
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1547
|
+
abortSignal: requestOptions?.abortSignal,
|
|
1548
|
+
fetchFn: this._options?.fetch,
|
|
1549
|
+
logging: this._options.logging,
|
|
1550
|
+
});
|
|
1551
|
+
if (_response.ok) {
|
|
1552
|
+
return {
|
|
1553
|
+
data: _response.body,
|
|
1554
|
+
rawResponse: _response.rawResponse,
|
|
1555
|
+
};
|
|
1556
|
+
}
|
|
1557
|
+
if (_response.error.reason === "status-code") {
|
|
1558
|
+
switch (_response.error.statusCode) {
|
|
1559
|
+
case 400:
|
|
1560
|
+
throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
|
|
1561
|
+
case 401:
|
|
1562
|
+
throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
1563
|
+
case 402:
|
|
1564
|
+
throw new NordletApi.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
1565
|
+
case 403:
|
|
1566
|
+
throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1567
|
+
case 404:
|
|
1568
|
+
throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1569
|
+
case 409:
|
|
1570
|
+
throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
|
|
1571
|
+
case 413:
|
|
1572
|
+
throw new NordletApi.ContentTooLargeError(_response.error.body, _response.rawResponse);
|
|
1573
|
+
case 422:
|
|
1574
|
+
throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1575
|
+
case 429:
|
|
1576
|
+
throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
1577
|
+
case 500:
|
|
1578
|
+
throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1579
|
+
default:
|
|
1580
|
+
throw new errors.NordletApiError({
|
|
1581
|
+
statusCode: _response.error.statusCode,
|
|
1582
|
+
body: _response.error.body,
|
|
1583
|
+
rawResponse: _response.rawResponse,
|
|
1584
|
+
});
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1587
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/declarations/eu/dac7/preview");
|
|
1588
|
+
}
|
|
1589
|
+
/**
|
|
1590
|
+
* @param {NordletApi.EuDac7XmlDeclarationsRequest} request
|
|
1591
|
+
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1592
|
+
*
|
|
1593
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
1594
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
1595
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
1596
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
1597
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
1598
|
+
* @throws {@link NordletApi.ConflictError}
|
|
1599
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
1600
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
1601
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
1602
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
1603
|
+
*
|
|
1604
|
+
* @example
|
|
1605
|
+
* await client.declarations.euDac7Xml({
|
|
1606
|
+
* year: 1000000
|
|
1607
|
+
* })
|
|
1608
|
+
*/
|
|
1609
|
+
euDac7Xml(request, requestOptions) {
|
|
1610
|
+
return core.HttpResponsePromise.fromPromise(this.__euDac7Xml(request, requestOptions));
|
|
1611
|
+
}
|
|
1612
|
+
async __euDac7Xml(request, requestOptions) {
|
|
1613
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1614
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
1615
|
+
const _response = await core.fetcher({
|
|
1616
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
1617
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
1618
|
+
environments.NordletApiEnvironment.Production, "v1/declarations/eu/dac7/xml"),
|
|
1619
|
+
method: "POST",
|
|
1620
|
+
headers: _headers,
|
|
1621
|
+
contentType: "application/json",
|
|
1622
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
1623
|
+
requestType: "json",
|
|
1624
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
|
|
1625
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
1626
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1627
|
+
abortSignal: requestOptions?.abortSignal,
|
|
1628
|
+
fetchFn: this._options?.fetch,
|
|
1629
|
+
logging: this._options.logging,
|
|
1630
|
+
});
|
|
1631
|
+
if (_response.ok) {
|
|
1632
|
+
return {
|
|
1633
|
+
data: _response.body,
|
|
1634
|
+
rawResponse: _response.rawResponse,
|
|
1635
|
+
};
|
|
1636
|
+
}
|
|
1637
|
+
if (_response.error.reason === "status-code") {
|
|
1638
|
+
switch (_response.error.statusCode) {
|
|
1639
|
+
case 400:
|
|
1640
|
+
throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
|
|
1641
|
+
case 401:
|
|
1642
|
+
throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
1643
|
+
case 402:
|
|
1644
|
+
throw new NordletApi.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
1645
|
+
case 403:
|
|
1646
|
+
throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1647
|
+
case 404:
|
|
1648
|
+
throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1649
|
+
case 409:
|
|
1650
|
+
throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
|
|
1651
|
+
case 413:
|
|
1652
|
+
throw new NordletApi.ContentTooLargeError(_response.error.body, _response.rawResponse);
|
|
1653
|
+
case 422:
|
|
1654
|
+
throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1655
|
+
case 429:
|
|
1656
|
+
throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
1657
|
+
case 500:
|
|
1658
|
+
throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1659
|
+
default:
|
|
1660
|
+
throw new errors.NordletApiError({
|
|
1661
|
+
statusCode: _response.error.statusCode,
|
|
1662
|
+
body: _response.error.body,
|
|
1663
|
+
rawResponse: _response.rawResponse,
|
|
1664
|
+
});
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/declarations/eu/dac7/xml");
|
|
1668
|
+
}
|
|
1345
1669
|
/**
|
|
1346
1670
|
* @param {NordletApi.EuDistanceSalesThresholdGetDeclarationsRequest} request
|
|
1347
1671
|
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -5679,7 +6003,7 @@ class DeclarationsClient {
|
|
|
5679
6003
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/declarations/pl/jpk-mag/generate");
|
|
5680
6004
|
}
|
|
5681
6005
|
/**
|
|
5682
|
-
* Generate PIT-11(29) for every person on the payroll of one year: the pay, the deductible costs, the advance withheld and the social and health contributions taken off it. One document per person, because that is how the form is filed.
|
|
6006
|
+
* Generate PIT-11(29) for every person on the payroll of one year: the pay, the deductible costs, the advance withheld and the social and health contributions taken off it. One document per person, because that is how the form is filed, addressed to the tax office of the place of residence of that person (employee field plKodUrzedu); a person without that code is refused with 422.
|
|
5683
6007
|
*
|
|
5684
6008
|
* @param {NordletApi.PlPit11GenerateDeclarationsRequest} request
|
|
5685
6009
|
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -25,9 +25,13 @@ export { DeReturnsGenerateDeclarationsRequest } from "./DeReturnsGenerateDeclara
|
|
|
25
25
|
export type { DkSelskabsskatGenerateDeclarationsRequest } from "./DkSelskabsskatGenerateDeclarationsRequest.js";
|
|
26
26
|
export { EeEmploymentRegisterSendDeclarationsRequest } from "./EeEmploymentRegisterSendDeclarationsRequest.js";
|
|
27
27
|
export type { EsVerifactuDeclaracionResponsableDeclarationsRequest } from "./EsVerifactuDeclaracionResponsableDeclarationsRequest.js";
|
|
28
|
+
export type { EuDac7PreviewDeclarationsRequest } from "./EuDac7PreviewDeclarationsRequest.js";
|
|
29
|
+
export type { EuDac7XmlDeclarationsRequest } from "./EuDac7XmlDeclarationsRequest.js";
|
|
30
|
+
export type { EuDigitalReportingListDeclarationsRequest } from "./EuDigitalReportingListDeclarationsRequest.js";
|
|
28
31
|
export type { EuDistanceSalesThresholdGetDeclarationsRequest } from "./EuDistanceSalesThresholdGetDeclarationsRequest.js";
|
|
29
32
|
export type { EuIossComputeDeclarationsRequest } from "./EuIossComputeDeclarationsRequest.js";
|
|
30
33
|
export type { EuOssComputeDeclarationsRequest } from "./EuOssComputeDeclarationsRequest.js";
|
|
34
|
+
export type { EuOwnGoodsTransfersComputeDeclarationsRequest } from "./EuOwnGoodsTransfersComputeDeclarationsRequest.js";
|
|
31
35
|
export type { EuSmeCrossBorderReportComputeDeclarationsRequest } from "./EuSmeCrossBorderReportComputeDeclarationsRequest.js";
|
|
32
36
|
export type { EuSmeThresholdGetDeclarationsRequest } from "./EuSmeThresholdGetDeclarationsRequest.js";
|
|
33
37
|
export type { EuSmeThresholdsListDeclarationsRequest } from "./EuSmeThresholdsListDeclarationsRequest.js";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface EuDac7PreviewDeclarationsResponse {
|
|
2
|
+
year: number;
|
|
3
|
+
country: string;
|
|
4
|
+
system: string;
|
|
5
|
+
sendsDirectly: boolean;
|
|
6
|
+
messageTypeIndic: string;
|
|
7
|
+
currency: string;
|
|
8
|
+
sellers: EuDac7PreviewDeclarationsResponse.Sellers.Item[];
|
|
9
|
+
warnings: string[];
|
|
10
|
+
source: string;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace EuDac7PreviewDeclarationsResponse {
|
|
13
|
+
type Sellers = Sellers.Item[];
|
|
14
|
+
namespace Sellers {
|
|
15
|
+
interface Item {
|
|
16
|
+
sellerId: string;
|
|
17
|
+
name: string;
|
|
18
|
+
reportable: boolean;
|
|
19
|
+
reason: string | null;
|
|
20
|
+
consideration: string;
|
|
21
|
+
activities: number;
|
|
22
|
+
warnings: string[];
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|