nordlet 0.3.7 → 0.3.9
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/README.md +2 -2
- 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/AgreementsListAgreementsResponse.d.ts +2 -0
- package/dist/api/resources/agreements/types/InsurancePoliciesListAgreementsResponse.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/TypesListAgreementsResponse.d.ts +2 -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/AssetsListAssetsResponse.d.ts +2 -0
- package/dist/api/resources/assets/types/GroupsListAssetsResponse.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/audit/types/ListAuditResponse.d.ts +2 -0
- package/dist/api/resources/bank/client/Client.d.ts +47 -0
- package/dist/api/resources/bank/client/Client.js +163 -0
- package/dist/api/resources/bank/client/requests/DirectDebitsCandidatesBankRequest.d.ts +48 -0
- package/dist/api/resources/bank/client/requests/DirectDebitsCandidatesBankRequest.js +31 -0
- package/dist/api/resources/bank/client/requests/TransactionsMatchManyBankRequest.d.ts +32 -0
- package/dist/api/resources/bank/client/requests/TransactionsMatchManyBankRequest.js +17 -0
- package/dist/api/resources/bank/client/requests/index.d.ts +2 -0
- package/dist/api/resources/bank/client/requests/index.js +5 -1
- package/dist/api/resources/bank/types/AccountsListBankResponse.d.ts +2 -0
- package/dist/api/resources/bank/types/DirectDebitsCandidatesBankResponse.d.ts +29 -0
- package/dist/api/resources/bank/types/DirectDebitsCandidatesBankResponse.js +3 -0
- package/dist/api/resources/bank/types/FeedsConnectionsListBankResponse.d.ts +2 -0
- package/dist/api/resources/bank/types/ImportTemplatesListBankResponse.d.ts +2 -0
- package/dist/api/resources/bank/types/MandatesListBankResponse.d.ts +2 -0
- package/dist/api/resources/bank/types/SettlementsListBankResponse.d.ts +2 -0
- package/dist/api/resources/bank/types/TransactionsListBankResponse.d.ts +2 -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/index.d.ts +2 -0
- package/dist/api/resources/bank/types/index.js +2 -0
- package/dist/api/resources/capture/client/requests/DocumentsConfirmCaptureRequest.d.ts +2 -0
- package/dist/api/resources/capture/types/DocumentsConfirmCaptureResponse.d.ts +2 -0
- package/dist/api/resources/capture/types/DocumentsListCaptureResponse.d.ts +2 -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 +4 -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/catalog/types/ItemsListCatalogResponse.d.ts +2 -0
- package/dist/api/resources/declarations/client/Client.d.ts +1 -1
- package/dist/api/resources/declarations/client/Client.js +1 -1
- package/dist/api/resources/declarations/types/SubmissionsListDeclarationsResponse.d.ts +2 -0
- package/dist/api/resources/documentSeries/types/ListDocumentSeriesResponse.d.ts +2 -0
- package/dist/api/resources/ecommerce/types/OrdersListEcommerceResponse.d.ts +2 -0
- package/dist/api/resources/files/types/ListFilesResponse.d.ts +2 -0
- package/dist/api/resources/fleet/types/AssignmentsListFleetResponse.d.ts +2 -0
- package/dist/api/resources/fleet/types/VehiclesListFleetResponse.d.ts +2 -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/ContractsListHrResponse.d.ts +2 -0
- package/dist/api/resources/hr/types/EmployeesListHrResponse.d.ts +2 -0
- package/dist/api/resources/hr/types/EmployeesRecordsListHrResponse.d.ts +2 -0
- package/dist/api/resources/hr/types/IncapacityCertificatesListHrResponse.d.ts +2 -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/PositionsListHrResponse.d.ts +2 -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/inventory/types/LandedCostsListInventoryResponse.d.ts +2 -0
- package/dist/api/resources/inventory/types/LotsListInventoryResponse.d.ts +2 -0
- package/dist/api/resources/inventory/types/ReorderRulesListInventoryResponse.d.ts +2 -0
- package/dist/api/resources/inventory/types/StockMovementsListInventoryResponse.d.ts +2 -0
- package/dist/api/resources/inventory/types/WarehousesListInventoryResponse.d.ts +2 -0
- package/dist/api/resources/leads/client/Client.d.ts +106 -0
- package/dist/api/resources/leads/client/Client.js +381 -0
- package/dist/api/resources/leads/client/requests/CreateLeadsRequest.d.ts +1 -0
- package/dist/api/resources/leads/client/requests/TypesCreateLeadsRequest.d.ts +10 -0
- package/dist/api/resources/leads/client/requests/TypesCreateLeadsRequest.js +3 -0
- package/dist/api/resources/leads/client/requests/TypesDeleteLeadsRequest.d.ts +9 -0
- package/dist/api/resources/leads/client/requests/TypesDeleteLeadsRequest.js +3 -0
- package/dist/api/resources/leads/client/requests/TypesListLeadsRequest.d.ts +5 -0
- package/dist/api/resources/leads/client/requests/TypesListLeadsRequest.js +3 -0
- package/dist/api/resources/leads/client/requests/TypesOptionsLeadsRequest.d.ts +5 -0
- package/dist/api/resources/leads/client/requests/TypesOptionsLeadsRequest.js +3 -0
- package/dist/api/resources/leads/client/requests/TypesUpdateLeadsRequest.d.ts +11 -0
- package/dist/api/resources/leads/client/requests/TypesUpdateLeadsRequest.js +3 -0
- package/dist/api/resources/leads/client/requests/UpdateLeadsRequest.d.ts +1 -0
- package/dist/api/resources/leads/client/requests/index.d.ts +5 -0
- package/dist/api/resources/leads/types/ConvertLeadsResponse.d.ts +2 -0
- package/dist/api/resources/leads/types/CreateLeadsResponse.d.ts +2 -0
- package/dist/api/resources/leads/types/GetLeadsResponse.d.ts +2 -0
- package/dist/api/resources/leads/types/ListLeadsResponse.d.ts +4 -0
- package/dist/api/resources/leads/types/TypesCreateLeadsResponse.d.ts +6 -0
- package/dist/api/resources/leads/types/TypesCreateLeadsResponse.js +3 -0
- package/dist/api/resources/leads/types/TypesDeleteLeadsResponse.d.ts +3 -0
- package/dist/api/resources/leads/types/TypesDeleteLeadsResponse.js +3 -0
- package/dist/api/resources/leads/types/TypesListLeadsResponse.d.ts +14 -0
- package/dist/api/resources/leads/types/TypesListLeadsResponse.js +3 -0
- package/dist/api/resources/leads/types/TypesOptionsLeadsResponse.d.ts +12 -0
- package/dist/api/resources/leads/types/TypesOptionsLeadsResponse.js +3 -0
- package/dist/api/resources/leads/types/TypesUpdateLeadsResponse.d.ts +6 -0
- package/dist/api/resources/leads/types/TypesUpdateLeadsResponse.js +3 -0
- package/dist/api/resources/leads/types/UpdateLeadsResponse.d.ts +2 -0
- package/dist/api/resources/leads/types/index.d.ts +5 -0
- package/dist/api/resources/leads/types/index.js +5 -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/ledger/types/AccountsListLedgerResponse.d.ts +2 -0
- package/dist/api/resources/ledger/types/CostCenterGroupsListLedgerResponse.d.ts +2 -0
- package/dist/api/resources/ledger/types/CostCentersListLedgerResponse.d.ts +2 -0
- package/dist/api/resources/ledger/types/JournalTransactionsListLedgerResponse.d.ts +3 -0
- package/dist/api/resources/ledger/types/OwnersListLedgerResponse.d.ts +2 -0
- package/dist/api/resources/ledger/types/PeriodsListLedgerResponse.d.ts +2 -0
- package/dist/api/resources/migration/client/Client.d.ts +1 -1
- package/dist/api/resources/migration/client/Client.js +1 -1
- package/dist/api/resources/operationTypes/types/ListOperationTypesResponse.d.ts +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/AddressesListPartnersResponse.d.ts +2 -0
- package/dist/api/resources/partners/types/BankAccountsListPartnersResponse.d.ts +2 -0
- package/dist/api/resources/partners/types/ContactsListPartnersResponse.d.ts +2 -0
- package/dist/api/resources/partners/types/DebtRemindersListPartnersResponse.d.ts +2 -0
- package/dist/api/resources/partners/types/DebtRemindersPreviewPartnersResponse.d.ts +10 -3
- package/dist/api/resources/partners/types/InquiriesListPartnersResponse.d.ts +2 -0
- package/dist/api/resources/partners/types/ListPartnersResponse.d.ts +2 -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/VatReviewsListPartnersResponse.d.ts +2 -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/RunsCreatePayrollRequest.d.ts +1 -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 +7 -0
- package/dist/api/resources/payroll/types/RunsListPayrollResponse.js +1 -0
- package/dist/api/resources/payroll/types/RunsReversePayrollResponse.d.ts +51 -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/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/DevicesListPosResponse.d.ts +2 -0
- 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/ReportsListPosResponse.d.ts +2 -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/production/types/BomsListProductionResponse.d.ts +2 -0
- package/dist/api/resources/production/types/MaintenanceListProductionResponse.d.ts +2 -0
- package/dist/api/resources/production/types/OrdersListProductionResponse.d.ts +2 -0
- package/dist/api/resources/production/types/QualityChecksListProductionResponse.d.ts +2 -0
- package/dist/api/resources/production/types/RoutingsListProductionResponse.d.ts +2 -0
- package/dist/api/resources/production/types/WorkCentersListProductionResponse.d.ts +2 -0
- package/dist/api/resources/projects/types/ListProjectsResponse.d.ts +2 -0
- package/dist/api/resources/projects/types/TimeEntriesListProjectsResponse.d.ts +2 -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/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/InvoicesListPurchasesResponse.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/OrdersListPurchasesResponse.d.ts +2 -0
- package/dist/api/resources/purchases/types/ReceiptsListPurchasesResponse.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/types/BanksListReferenceResponse.d.ts +2 -0
- package/dist/api/resources/reference/types/CnCodesListReferenceResponse.d.ts +2 -0
- package/dist/api/resources/reference/types/CurrenciesListReferenceResponse.d.ts +2 -0
- package/dist/api/resources/reference/types/ExchangeRatesListReferenceResponse.d.ts +2 -0
- package/dist/api/resources/reference/types/ExchangeRatesOverridesListReferenceResponse.d.ts +2 -0
- package/dist/api/resources/reference/types/SeriesListReferenceResponse.d.ts +2 -0
- package/dist/api/resources/reference/types/UnitsListReferenceResponse.d.ts +2 -0
- package/dist/api/resources/reference/types/VatClassifiersListReferenceResponse.d.ts +2 -0
- package/dist/api/resources/reports/types/AdvanceReconciliationReportsResponse.d.ts +1 -0
- package/dist/api/resources/reports/types/JobsListReportsResponse.d.ts +2 -0
- package/dist/api/resources/reports/types/PartnerBalancesReportsResponse.d.ts +5 -0
- package/dist/api/resources/sales/client/requests/InvoicesIssueSalesRequest.d.ts +1 -0
- package/dist/api/resources/sales/types/ActsListSalesResponse.d.ts +2 -0
- package/dist/api/resources/sales/types/InvoicesEinvoiceSendSalesResponse.d.ts +1 -1
- package/dist/api/resources/sales/types/InvoicesListSalesResponse.d.ts +2 -0
- package/dist/api/resources/sales/types/InvoicesPeppolSendSalesResponse.d.ts +1 -1
- package/dist/api/resources/sales/types/RecognitionRunsListSalesResponse.d.ts +2 -0
- package/dist/api/resources/sales/types/RecognitionSchedulesListSalesResponse.d.ts +2 -0
- package/dist/api/resources/sales/types/RefundLiabilityListSalesResponse.d.ts +2 -0
- package/dist/api/resources/transport/types/WaybillsListTransportResponse.d.ts +2 -0
- package/dist/api/resources/webhooks/client/requests/SubscriptionsCreateWebhooksRequest.d.ts +1 -0
- package/dist/api/resources/webhooks/client/requests/SubscriptionsCreateWebhooksRequest.js +1 -0
- package/dist/api/resources/webhooks/client/requests/SubscriptionsUpdateWebhooksRequest.d.ts +1 -0
- package/dist/api/resources/webhooks/client/requests/SubscriptionsUpdateWebhooksRequest.js +1 -0
- package/dist/api/resources/webhooks/types/DeliveriesListWebhooksResponse.d.ts +2 -0
- package/dist/api/resources/webhooks/types/SubscriptionsListWebhooksResponse.d.ts +2 -0
- package/package.json +1 -1
|
@@ -4,6 +4,8 @@ export interface ListLeadsResponse {
|
|
|
4
4
|
pageSize: number;
|
|
5
5
|
total: number;
|
|
6
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;
|
|
7
9
|
}
|
|
8
10
|
export declare namespace ListLeadsResponse {
|
|
9
11
|
type Rows = Rows.Item[];
|
|
@@ -18,6 +20,8 @@ export declare namespace ListLeadsResponse {
|
|
|
18
20
|
countryCode: string | null;
|
|
19
21
|
sourceId: string | null;
|
|
20
22
|
sourceName: string | null;
|
|
23
|
+
typeId: string | null;
|
|
24
|
+
typeName: string | null;
|
|
21
25
|
status: Item.Status;
|
|
22
26
|
estimatedValue: string | null;
|
|
23
27
|
currency: string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface TypesListLeadsResponse {
|
|
2
|
+
rows: TypesListLeadsResponse.Rows.Item[];
|
|
3
|
+
}
|
|
4
|
+
export declare namespace TypesListLeadsResponse {
|
|
5
|
+
type Rows = Rows.Item[];
|
|
6
|
+
namespace Rows {
|
|
7
|
+
interface Item {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
isActive: boolean;
|
|
11
|
+
createdAt: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface TypesOptionsLeadsResponse {
|
|
2
|
+
rows: TypesOptionsLeadsResponse.Rows.Item[];
|
|
3
|
+
}
|
|
4
|
+
export declare namespace TypesOptionsLeadsResponse {
|
|
5
|
+
type Rows = Rows.Item[];
|
|
6
|
+
namespace Rows {
|
|
7
|
+
interface Item {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -8,6 +8,8 @@ export interface UpdateLeadsResponse {
|
|
|
8
8
|
countryCode: string | null;
|
|
9
9
|
sourceId: string | null;
|
|
10
10
|
sourceName: string | null;
|
|
11
|
+
typeId: string | null;
|
|
12
|
+
typeName: string | null;
|
|
11
13
|
status: UpdateLeadsResponse.Status;
|
|
12
14
|
estimatedValue: string | null;
|
|
13
15
|
currency: string;
|
|
@@ -12,4 +12,9 @@ export * from "./SourcesDeleteLeadsResponse.js";
|
|
|
12
12
|
export * from "./SourcesListLeadsResponse.js";
|
|
13
13
|
export * from "./SourcesOptionsLeadsResponse.js";
|
|
14
14
|
export * from "./SourcesUpdateLeadsResponse.js";
|
|
15
|
+
export * from "./TypesCreateLeadsResponse.js";
|
|
16
|
+
export * from "./TypesDeleteLeadsResponse.js";
|
|
17
|
+
export * from "./TypesListLeadsResponse.js";
|
|
18
|
+
export * from "./TypesOptionsLeadsResponse.js";
|
|
19
|
+
export * from "./TypesUpdateLeadsResponse.js";
|
|
15
20
|
export * from "./UpdateLeadsResponse.js";
|
|
@@ -28,4 +28,9 @@ __exportStar(require("./SourcesDeleteLeadsResponse.js"), exports);
|
|
|
28
28
|
__exportStar(require("./SourcesListLeadsResponse.js"), exports);
|
|
29
29
|
__exportStar(require("./SourcesOptionsLeadsResponse.js"), exports);
|
|
30
30
|
__exportStar(require("./SourcesUpdateLeadsResponse.js"), exports);
|
|
31
|
+
__exportStar(require("./TypesCreateLeadsResponse.js"), exports);
|
|
32
|
+
__exportStar(require("./TypesDeleteLeadsResponse.js"), exports);
|
|
33
|
+
__exportStar(require("./TypesListLeadsResponse.js"), exports);
|
|
34
|
+
__exportStar(require("./TypesOptionsLeadsResponse.js"), exports);
|
|
35
|
+
__exportStar(require("./TypesUpdateLeadsResponse.js"), exports);
|
|
31
36
|
__exportStar(require("./UpdateLeadsResponse.js"), exports);
|
|
@@ -27,6 +27,7 @@ export declare namespace PostingRulesUpdateLedgerRequest {
|
|
|
27
27
|
readonly PurchasesVatReceivable: "purchases.vatReceivable";
|
|
28
28
|
readonly PurchasesGoodsForResale: "purchases.goodsForResale";
|
|
29
29
|
readonly PurchasesDefaultExpense: "purchases.defaultExpense";
|
|
30
|
+
readonly PurchasesPrepaidExpenses: "purchases.prepaidExpenses";
|
|
30
31
|
readonly InventoryCogs: "inventory.cogs";
|
|
31
32
|
readonly InventoryStock: "inventory.stock";
|
|
32
33
|
readonly ProductionLaborApplied: "production.laborApplied";
|
|
@@ -43,6 +44,7 @@ export declare namespace PostingRulesUpdateLedgerRequest {
|
|
|
43
44
|
readonly AssetsDisposalGain: "assets.disposalGain";
|
|
44
45
|
readonly AssetsDisposalLoss: "assets.disposalLoss";
|
|
45
46
|
readonly AssetsDisposalProceeds: "assets.disposalProceeds";
|
|
47
|
+
readonly CashAdvances: "cash.advances";
|
|
46
48
|
readonly ClosingRetainedEarnings: "closing.retainedEarnings";
|
|
47
49
|
};
|
|
48
50
|
type Key = (typeof Key)[keyof typeof Key];
|
|
@@ -18,6 +18,7 @@ var PostingRulesUpdateLedgerRequest;
|
|
|
18
18
|
PurchasesVatReceivable: "purchases.vatReceivable",
|
|
19
19
|
PurchasesGoodsForResale: "purchases.goodsForResale",
|
|
20
20
|
PurchasesDefaultExpense: "purchases.defaultExpense",
|
|
21
|
+
PurchasesPrepaidExpenses: "purchases.prepaidExpenses",
|
|
21
22
|
InventoryCogs: "inventory.cogs",
|
|
22
23
|
InventoryStock: "inventory.stock",
|
|
23
24
|
ProductionLaborApplied: "production.laborApplied",
|
|
@@ -34,6 +35,7 @@ var PostingRulesUpdateLedgerRequest;
|
|
|
34
35
|
AssetsDisposalGain: "assets.disposalGain",
|
|
35
36
|
AssetsDisposalLoss: "assets.disposalLoss",
|
|
36
37
|
AssetsDisposalProceeds: "assets.disposalProceeds",
|
|
38
|
+
CashAdvances: "cash.advances",
|
|
37
39
|
ClosingRetainedEarnings: "closing.retainedEarnings",
|
|
38
40
|
};
|
|
39
41
|
})(Item = Rules.Item || (Rules.Item = {}));
|
|
@@ -4,6 +4,8 @@ export interface AccountsListLedgerResponse {
|
|
|
4
4
|
pageSize: number;
|
|
5
5
|
total: number;
|
|
6
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;
|
|
7
9
|
}
|
|
8
10
|
export declare namespace AccountsListLedgerResponse {
|
|
9
11
|
type Rows = Rows.Item[];
|
|
@@ -4,6 +4,8 @@ export interface CostCenterGroupsListLedgerResponse {
|
|
|
4
4
|
pageSize: number;
|
|
5
5
|
total: number;
|
|
6
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;
|
|
7
9
|
}
|
|
8
10
|
export declare namespace CostCenterGroupsListLedgerResponse {
|
|
9
11
|
type Rows = Rows.Item[];
|
|
@@ -4,6 +4,8 @@ export interface CostCentersListLedgerResponse {
|
|
|
4
4
|
pageSize: number;
|
|
5
5
|
total: number;
|
|
6
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;
|
|
7
9
|
}
|
|
8
10
|
export declare namespace CostCentersListLedgerResponse {
|
|
9
11
|
type Rows = Rows.Item[];
|
|
@@ -4,6 +4,8 @@ export interface JournalTransactionsListLedgerResponse {
|
|
|
4
4
|
pageSize: number;
|
|
5
5
|
total: number;
|
|
6
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;
|
|
7
9
|
}
|
|
8
10
|
export declare namespace JournalTransactionsListLedgerResponse {
|
|
9
11
|
type Rows = Rows.Item[];
|
|
@@ -18,6 +20,7 @@ export declare namespace JournalTransactionsListLedgerResponse {
|
|
|
18
20
|
status: Item.Status;
|
|
19
21
|
createdAt: string;
|
|
20
22
|
postedAt: string | null;
|
|
23
|
+
partnerName: string | null;
|
|
21
24
|
}
|
|
22
25
|
namespace Item {
|
|
23
26
|
const Status: {
|
|
@@ -4,6 +4,8 @@ export interface OwnersListLedgerResponse {
|
|
|
4
4
|
pageSize: number;
|
|
5
5
|
total: number;
|
|
6
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;
|
|
7
9
|
}
|
|
8
10
|
export declare namespace OwnersListLedgerResponse {
|
|
9
11
|
type Rows = Rows.Item[];
|
|
@@ -4,6 +4,8 @@ export interface PeriodsListLedgerResponse {
|
|
|
4
4
|
pageSize: number;
|
|
5
5
|
total: number;
|
|
6
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;
|
|
7
9
|
}
|
|
8
10
|
export declare namespace PeriodsListLedgerResponse {
|
|
9
11
|
type Rows = Rows.Item[];
|
|
@@ -35,7 +35,7 @@ export declare class MigrationClient {
|
|
|
35
35
|
booksValidate(request: NordletApi.BooksValidateMigrationRequest, requestOptions?: MigrationClient.RequestOptions): core.HttpResponsePromise<NordletApi.BooksValidateMigrationResponse>;
|
|
36
36
|
private __booksValidate;
|
|
37
37
|
/**
|
|
38
|
-
* Brings a company over from another system in one call: chart of accounts, partners, items, opening balances (or the full journal history), open customer and supplier invoices, fixed assets with their accumulated depreciation, and stock on hand. The whole package is written in one database transaction
|
|
38
|
+
* Brings a company over from another system in one call: chart of accounts, partners, items, opening balances (or the full journal history), open customer and supplier invoices, fixed assets with their accumulated depreciation, and stock on hand. The whole package is written in one database transaction - if any row fails, nothing is stored.
|
|
39
39
|
*
|
|
40
40
|
* @param {NordletApi.BooksImportMigrationRequest} request
|
|
41
41
|
* @param {MigrationClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -130,7 +130,7 @@ class MigrationClient {
|
|
|
130
130
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/migration/books/validate");
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
|
-
* Brings a company over from another system in one call: chart of accounts, partners, items, opening balances (or the full journal history), open customer and supplier invoices, fixed assets with their accumulated depreciation, and stock on hand. The whole package is written in one database transaction
|
|
133
|
+
* Brings a company over from another system in one call: chart of accounts, partners, items, opening balances (or the full journal history), open customer and supplier invoices, fixed assets with their accumulated depreciation, and stock on hand. The whole package is written in one database transaction - if any row fails, nothing is stored.
|
|
134
134
|
*
|
|
135
135
|
* @param {NordletApi.BooksImportMigrationRequest} request
|
|
136
136
|
* @param {MigrationClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -4,6 +4,8 @@ export interface ListOperationTypesResponse {
|
|
|
4
4
|
pageSize: number;
|
|
5
5
|
total: number;
|
|
6
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;
|
|
7
9
|
}
|
|
8
10
|
export declare namespace ListOperationTypesResponse {
|
|
9
11
|
type Rows = Rows.Item[];
|
|
@@ -505,6 +505,29 @@ export declare class PartnersClient {
|
|
|
505
505
|
*/
|
|
506
506
|
delete(request: NordletApi.DeletePartnersRequest, requestOptions?: PartnersClient.RequestOptions): core.HttpResponsePromise<NordletApi.DeletePartnersResponse>;
|
|
507
507
|
private __delete;
|
|
508
|
+
/**
|
|
509
|
+
* @param {NordletApi.MergePartnersRequest} request
|
|
510
|
+
* @param {PartnersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
511
|
+
*
|
|
512
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
513
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
514
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
515
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
516
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
517
|
+
* @throws {@link NordletApi.ConflictError}
|
|
518
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
519
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
520
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
521
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
522
|
+
*
|
|
523
|
+
* @example
|
|
524
|
+
* await client.partners.merge({
|
|
525
|
+
* sourceId: "sourceId",
|
|
526
|
+
* targetId: "targetId"
|
|
527
|
+
* })
|
|
528
|
+
*/
|
|
529
|
+
merge(request: NordletApi.MergePartnersRequest, requestOptions?: PartnersClient.RequestOptions): core.HttpResponsePromise<NordletApi.MergePartnersResponse>;
|
|
530
|
+
private __merge;
|
|
508
531
|
/**
|
|
509
532
|
* Removes birth date, self-employment certificate number, email, phone, address, notes, contacts, addresses and bank accounts, then hides the partner. The name, code and VAT number stay because issued invoices must keep identifying the counterparty for the statutory retention period.
|
|
510
533
|
*
|
|
@@ -1861,6 +1861,84 @@ class PartnersClient {
|
|
|
1861
1861
|
}
|
|
1862
1862
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/partners/delete");
|
|
1863
1863
|
}
|
|
1864
|
+
/**
|
|
1865
|
+
* @param {NordletApi.MergePartnersRequest} request
|
|
1866
|
+
* @param {PartnersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1867
|
+
*
|
|
1868
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
1869
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
1870
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
1871
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
1872
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
1873
|
+
* @throws {@link NordletApi.ConflictError}
|
|
1874
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
1875
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
1876
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
1877
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
1878
|
+
*
|
|
1879
|
+
* @example
|
|
1880
|
+
* await client.partners.merge({
|
|
1881
|
+
* sourceId: "sourceId",
|
|
1882
|
+
* targetId: "targetId"
|
|
1883
|
+
* })
|
|
1884
|
+
*/
|
|
1885
|
+
merge(request, requestOptions) {
|
|
1886
|
+
return core.HttpResponsePromise.fromPromise(this.__merge(request, requestOptions));
|
|
1887
|
+
}
|
|
1888
|
+
async __merge(request, requestOptions) {
|
|
1889
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1890
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
1891
|
+
const _response = await core.fetcher({
|
|
1892
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
1893
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
1894
|
+
environments.NordletApiEnvironment.Production, "v1/partners/merge"),
|
|
1895
|
+
method: "POST",
|
|
1896
|
+
headers: _headers,
|
|
1897
|
+
contentType: "application/json",
|
|
1898
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
1899
|
+
requestType: "json",
|
|
1900
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
|
|
1901
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
1902
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1903
|
+
abortSignal: requestOptions?.abortSignal,
|
|
1904
|
+
fetchFn: this._options?.fetch,
|
|
1905
|
+
logging: this._options.logging,
|
|
1906
|
+
});
|
|
1907
|
+
if (_response.ok) {
|
|
1908
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1909
|
+
}
|
|
1910
|
+
if (_response.error.reason === "status-code") {
|
|
1911
|
+
switch (_response.error.statusCode) {
|
|
1912
|
+
case 400:
|
|
1913
|
+
throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
|
|
1914
|
+
case 401:
|
|
1915
|
+
throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
1916
|
+
case 402:
|
|
1917
|
+
throw new NordletApi.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
1918
|
+
case 403:
|
|
1919
|
+
throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1920
|
+
case 404:
|
|
1921
|
+
throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1922
|
+
case 409:
|
|
1923
|
+
throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
|
|
1924
|
+
case 413:
|
|
1925
|
+
throw new NordletApi.ContentTooLargeError(_response.error.body, _response.rawResponse);
|
|
1926
|
+
case 422:
|
|
1927
|
+
throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1928
|
+
case 429:
|
|
1929
|
+
throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
1930
|
+
case 500:
|
|
1931
|
+
throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1932
|
+
default:
|
|
1933
|
+
throw new errors.NordletApiError({
|
|
1934
|
+
statusCode: _response.error.statusCode,
|
|
1935
|
+
body: _response.error.body,
|
|
1936
|
+
rawResponse: _response.rawResponse,
|
|
1937
|
+
});
|
|
1938
|
+
}
|
|
1939
|
+
}
|
|
1940
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/partners/merge");
|
|
1941
|
+
}
|
|
1864
1942
|
/**
|
|
1865
1943
|
* Removes birth date, self-employment certificate number, email, phone, address, notes, contacts, addresses and bank accounts, then hides the partner. The name, code and VAT number stay because issued invoices must keep identifying the counterparty for the statutory retention period.
|
|
1866
1944
|
*
|
|
@@ -28,6 +28,7 @@ export type { InquiriesGetPartnersRequest } from "./InquiriesGetPartnersRequest.
|
|
|
28
28
|
export { InquiriesListPartnersRequest } from "./InquiriesListPartnersRequest.js";
|
|
29
29
|
export { InquiriesUpdatePartnersRequest } from "./InquiriesUpdatePartnersRequest.js";
|
|
30
30
|
export { ListPartnersRequest } from "./ListPartnersRequest.js";
|
|
31
|
+
export type { MergePartnersRequest } from "./MergePartnersRequest.js";
|
|
31
32
|
export type { StatusesCreatePartnersRequest } from "./StatusesCreatePartnersRequest.js";
|
|
32
33
|
export type { StatusesDeletePartnersRequest } from "./StatusesDeletePartnersRequest.js";
|
|
33
34
|
export type { StatusesListPartnersRequest } from "./StatusesListPartnersRequest.js";
|
|
@@ -4,6 +4,8 @@ export interface AddressesListPartnersResponse {
|
|
|
4
4
|
pageSize: number;
|
|
5
5
|
total: number;
|
|
6
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;
|
|
7
9
|
}
|
|
8
10
|
export declare namespace AddressesListPartnersResponse {
|
|
9
11
|
type Rows = Rows.Item[];
|
|
@@ -4,6 +4,8 @@ export interface BankAccountsListPartnersResponse {
|
|
|
4
4
|
pageSize: number;
|
|
5
5
|
total: number;
|
|
6
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;
|
|
7
9
|
}
|
|
8
10
|
export declare namespace BankAccountsListPartnersResponse {
|
|
9
11
|
type Rows = Rows.Item[];
|
|
@@ -4,6 +4,8 @@ export interface ContactsListPartnersResponse {
|
|
|
4
4
|
pageSize: number;
|
|
5
5
|
total: number;
|
|
6
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;
|
|
7
9
|
}
|
|
8
10
|
export declare namespace ContactsListPartnersResponse {
|
|
9
11
|
type Rows = Rows.Item[];
|
|
@@ -4,6 +4,8 @@ export interface DebtRemindersListPartnersResponse {
|
|
|
4
4
|
pageSize: number;
|
|
5
5
|
total: number;
|
|
6
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;
|
|
7
9
|
}
|
|
8
10
|
export declare namespace DebtRemindersListPartnersResponse {
|
|
9
11
|
type Rows = Rows.Item[];
|
|
@@ -9,10 +9,8 @@ export declare namespace DebtRemindersPreviewPartnersResponse {
|
|
|
9
9
|
partnerName: string;
|
|
10
10
|
email: string;
|
|
11
11
|
locale: Item.Locale;
|
|
12
|
-
currency: string;
|
|
13
12
|
invoices: Item.Invoices.Item[];
|
|
14
|
-
|
|
15
|
-
interestDue: string;
|
|
13
|
+
totals: Item.Totals.Item[];
|
|
16
14
|
}
|
|
17
15
|
namespace Item {
|
|
18
16
|
const Locale: {
|
|
@@ -28,11 +26,20 @@ export declare namespace DebtRemindersPreviewPartnersResponse {
|
|
|
28
26
|
fullNumber: string;
|
|
29
27
|
issueDate: string;
|
|
30
28
|
dueDate: string;
|
|
29
|
+
currency: string;
|
|
31
30
|
remaining: string;
|
|
32
31
|
daysLate: number;
|
|
33
32
|
interest: string;
|
|
34
33
|
}
|
|
35
34
|
}
|
|
35
|
+
type Totals = Totals.Item[];
|
|
36
|
+
namespace Totals {
|
|
37
|
+
interface Item {
|
|
38
|
+
currency: string;
|
|
39
|
+
totalDue: string;
|
|
40
|
+
interestDue: string;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
36
43
|
}
|
|
37
44
|
}
|
|
38
45
|
}
|
|
@@ -4,6 +4,8 @@ export interface InquiriesListPartnersResponse {
|
|
|
4
4
|
pageSize: number;
|
|
5
5
|
total: number;
|
|
6
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;
|
|
7
9
|
}
|
|
8
10
|
export declare namespace InquiriesListPartnersResponse {
|
|
9
11
|
type Rows = Rows.Item[];
|
|
@@ -4,6 +4,8 @@ export interface ListPartnersResponse {
|
|
|
4
4
|
pageSize: number;
|
|
5
5
|
total: number;
|
|
6
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;
|
|
7
9
|
}
|
|
8
10
|
export declare namespace ListPartnersResponse {
|
|
9
11
|
type Rows = Rows.Item[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface MergePartnersResponse {
|
|
2
|
+
targetId: string;
|
|
3
|
+
sourceId: string;
|
|
4
|
+
moved: MergePartnersResponse.Moved.Item[];
|
|
5
|
+
}
|
|
6
|
+
export declare namespace MergePartnersResponse {
|
|
7
|
+
type Moved = Moved.Item[];
|
|
8
|
+
namespace Moved {
|
|
9
|
+
interface Item {
|
|
10
|
+
table: string;
|
|
11
|
+
column: string;
|
|
12
|
+
rows: number;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -4,6 +4,8 @@ export interface VatReviewsListPartnersResponse {
|
|
|
4
4
|
pageSize: number;
|
|
5
5
|
total: number;
|
|
6
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;
|
|
7
9
|
}
|
|
8
10
|
export declare namespace VatReviewsListPartnersResponse {
|
|
9
11
|
type Rows = Rows.Item[];
|
|
@@ -28,6 +28,7 @@ export * from "./InquiriesGetPartnersResponse.js";
|
|
|
28
28
|
export * from "./InquiriesListPartnersResponse.js";
|
|
29
29
|
export * from "./InquiriesUpdatePartnersResponse.js";
|
|
30
30
|
export * from "./ListPartnersResponse.js";
|
|
31
|
+
export * from "./MergePartnersResponse.js";
|
|
31
32
|
export * from "./StatusesCreatePartnersResponse.js";
|
|
32
33
|
export * from "./StatusesDeletePartnersResponse.js";
|
|
33
34
|
export * from "./StatusesListPartnersResponse.js";
|
|
@@ -44,6 +44,7 @@ __exportStar(require("./InquiriesGetPartnersResponse.js"), exports);
|
|
|
44
44
|
__exportStar(require("./InquiriesListPartnersResponse.js"), exports);
|
|
45
45
|
__exportStar(require("./InquiriesUpdatePartnersResponse.js"), exports);
|
|
46
46
|
__exportStar(require("./ListPartnersResponse.js"), exports);
|
|
47
|
+
__exportStar(require("./MergePartnersResponse.js"), exports);
|
|
47
48
|
__exportStar(require("./StatusesCreatePartnersResponse.js"), exports);
|
|
48
49
|
__exportStar(require("./StatusesDeletePartnersResponse.js"), exports);
|
|
49
50
|
__exportStar(require("./StatusesListPartnersResponse.js"), exports);
|
|
@@ -230,6 +230,29 @@ export declare class PayrollClient {
|
|
|
230
230
|
*/
|
|
231
231
|
runsApprove(request: NordletApi.RunsApprovePayrollRequest, requestOptions?: PayrollClient.RequestOptions): core.HttpResponsePromise<NordletApi.RunsApprovePayrollResponse>;
|
|
232
232
|
private __runsApprove;
|
|
233
|
+
/**
|
|
234
|
+
* @param {NordletApi.RunsReversePayrollRequest} request
|
|
235
|
+
* @param {PayrollClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
236
|
+
*
|
|
237
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
238
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
239
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
240
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
241
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
242
|
+
* @throws {@link NordletApi.ConflictError}
|
|
243
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
244
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
245
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
246
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
247
|
+
*
|
|
248
|
+
* @example
|
|
249
|
+
* await client.payroll.runsReverse({
|
|
250
|
+
* id: "id",
|
|
251
|
+
* reason: "reason"
|
|
252
|
+
* })
|
|
253
|
+
*/
|
|
254
|
+
runsReverse(request: NordletApi.RunsReversePayrollRequest, requestOptions?: PayrollClient.RequestOptions): core.HttpResponsePromise<NordletApi.RunsReversePayrollResponse>;
|
|
255
|
+
private __runsReverse;
|
|
233
256
|
/**
|
|
234
257
|
* @param {NordletApi.RunsCancelPayrollRequest} request
|
|
235
258
|
* @param {PayrollClient.RequestOptions} requestOptions - Request-specific configuration.
|