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
|
@@ -1372,6 +1372,648 @@ class HrClient {
|
|
|
1372
1372
|
}
|
|
1373
1373
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/hr/incapacity-certificates/list");
|
|
1374
1374
|
}
|
|
1375
|
+
/**
|
|
1376
|
+
* @param {NordletApi.PerDiemRatesCreateHrRequest} request
|
|
1377
|
+
* @param {HrClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1378
|
+
*
|
|
1379
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
1380
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
1381
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
1382
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
1383
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
1384
|
+
* @throws {@link NordletApi.ConflictError}
|
|
1385
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
1386
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
1387
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
1388
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
1389
|
+
*
|
|
1390
|
+
* @example
|
|
1391
|
+
* await client.hr.perDiemRatesCreate({
|
|
1392
|
+
* countryCode: "countryCode",
|
|
1393
|
+
* dailyAmount: "121.00",
|
|
1394
|
+
* validFrom: "2026-07-01"
|
|
1395
|
+
* })
|
|
1396
|
+
*/
|
|
1397
|
+
perDiemRatesCreate(request, requestOptions) {
|
|
1398
|
+
return core.HttpResponsePromise.fromPromise(this.__perDiemRatesCreate(request, requestOptions));
|
|
1399
|
+
}
|
|
1400
|
+
async __perDiemRatesCreate(request, requestOptions) {
|
|
1401
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1402
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
1403
|
+
const _response = await core.fetcher({
|
|
1404
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
1405
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
1406
|
+
environments.NordletApiEnvironment.Production, "v1/hr/per-diem-rates/create"),
|
|
1407
|
+
method: "POST",
|
|
1408
|
+
headers: _headers,
|
|
1409
|
+
contentType: "application/json",
|
|
1410
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
1411
|
+
requestType: "json",
|
|
1412
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
|
|
1413
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
1414
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1415
|
+
abortSignal: requestOptions?.abortSignal,
|
|
1416
|
+
fetchFn: this._options?.fetch,
|
|
1417
|
+
logging: this._options.logging,
|
|
1418
|
+
});
|
|
1419
|
+
if (_response.ok) {
|
|
1420
|
+
return {
|
|
1421
|
+
data: _response.body,
|
|
1422
|
+
rawResponse: _response.rawResponse,
|
|
1423
|
+
};
|
|
1424
|
+
}
|
|
1425
|
+
if (_response.error.reason === "status-code") {
|
|
1426
|
+
switch (_response.error.statusCode) {
|
|
1427
|
+
case 400:
|
|
1428
|
+
throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
|
|
1429
|
+
case 401:
|
|
1430
|
+
throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
1431
|
+
case 402:
|
|
1432
|
+
throw new NordletApi.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
1433
|
+
case 403:
|
|
1434
|
+
throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1435
|
+
case 404:
|
|
1436
|
+
throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1437
|
+
case 409:
|
|
1438
|
+
throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
|
|
1439
|
+
case 413:
|
|
1440
|
+
throw new NordletApi.ContentTooLargeError(_response.error.body, _response.rawResponse);
|
|
1441
|
+
case 422:
|
|
1442
|
+
throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1443
|
+
case 429:
|
|
1444
|
+
throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
1445
|
+
case 500:
|
|
1446
|
+
throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1447
|
+
default:
|
|
1448
|
+
throw new errors.NordletApiError({
|
|
1449
|
+
statusCode: _response.error.statusCode,
|
|
1450
|
+
body: _response.error.body,
|
|
1451
|
+
rawResponse: _response.rawResponse,
|
|
1452
|
+
});
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/hr/per-diem-rates/create");
|
|
1456
|
+
}
|
|
1457
|
+
/**
|
|
1458
|
+
* @param {NordletApi.PerDiemRatesListHrRequest} request
|
|
1459
|
+
* @param {HrClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1460
|
+
*
|
|
1461
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
1462
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
1463
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
1464
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
1465
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
1466
|
+
* @throws {@link NordletApi.ConflictError}
|
|
1467
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
1468
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
1469
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
1470
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
1471
|
+
*
|
|
1472
|
+
* @example
|
|
1473
|
+
* await client.hr.perDiemRatesList()
|
|
1474
|
+
*/
|
|
1475
|
+
perDiemRatesList(request = {}, requestOptions) {
|
|
1476
|
+
return core.HttpResponsePromise.fromPromise(this.__perDiemRatesList(request, requestOptions));
|
|
1477
|
+
}
|
|
1478
|
+
async __perDiemRatesList(request = {}, requestOptions) {
|
|
1479
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1480
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
1481
|
+
const _response = await core.fetcher({
|
|
1482
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
1483
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
1484
|
+
environments.NordletApiEnvironment.Production, "v1/hr/per-diem-rates/list"),
|
|
1485
|
+
method: "POST",
|
|
1486
|
+
headers: _headers,
|
|
1487
|
+
contentType: "application/json",
|
|
1488
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
1489
|
+
requestType: "json",
|
|
1490
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
|
|
1491
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
1492
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1493
|
+
abortSignal: requestOptions?.abortSignal,
|
|
1494
|
+
fetchFn: this._options?.fetch,
|
|
1495
|
+
logging: this._options.logging,
|
|
1496
|
+
});
|
|
1497
|
+
if (_response.ok) {
|
|
1498
|
+
return {
|
|
1499
|
+
data: _response.body,
|
|
1500
|
+
rawResponse: _response.rawResponse,
|
|
1501
|
+
};
|
|
1502
|
+
}
|
|
1503
|
+
if (_response.error.reason === "status-code") {
|
|
1504
|
+
switch (_response.error.statusCode) {
|
|
1505
|
+
case 400:
|
|
1506
|
+
throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
|
|
1507
|
+
case 401:
|
|
1508
|
+
throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
1509
|
+
case 402:
|
|
1510
|
+
throw new NordletApi.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
1511
|
+
case 403:
|
|
1512
|
+
throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1513
|
+
case 404:
|
|
1514
|
+
throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1515
|
+
case 409:
|
|
1516
|
+
throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
|
|
1517
|
+
case 413:
|
|
1518
|
+
throw new NordletApi.ContentTooLargeError(_response.error.body, _response.rawResponse);
|
|
1519
|
+
case 422:
|
|
1520
|
+
throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1521
|
+
case 429:
|
|
1522
|
+
throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
1523
|
+
case 500:
|
|
1524
|
+
throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1525
|
+
default:
|
|
1526
|
+
throw new errors.NordletApiError({
|
|
1527
|
+
statusCode: _response.error.statusCode,
|
|
1528
|
+
body: _response.error.body,
|
|
1529
|
+
rawResponse: _response.rawResponse,
|
|
1530
|
+
});
|
|
1531
|
+
}
|
|
1532
|
+
}
|
|
1533
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/hr/per-diem-rates/list");
|
|
1534
|
+
}
|
|
1535
|
+
/**
|
|
1536
|
+
* @param {NordletApi.PerDiemRatesDeleteHrRequest} request
|
|
1537
|
+
* @param {HrClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1538
|
+
*
|
|
1539
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
1540
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
1541
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
1542
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
1543
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
1544
|
+
* @throws {@link NordletApi.ConflictError}
|
|
1545
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
1546
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
1547
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
1548
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
1549
|
+
*
|
|
1550
|
+
* @example
|
|
1551
|
+
* await client.hr.perDiemRatesDelete({
|
|
1552
|
+
* id: "id"
|
|
1553
|
+
* })
|
|
1554
|
+
*/
|
|
1555
|
+
perDiemRatesDelete(request, requestOptions) {
|
|
1556
|
+
return core.HttpResponsePromise.fromPromise(this.__perDiemRatesDelete(request, requestOptions));
|
|
1557
|
+
}
|
|
1558
|
+
async __perDiemRatesDelete(request, requestOptions) {
|
|
1559
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1560
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
1561
|
+
const _response = await core.fetcher({
|
|
1562
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
1563
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
1564
|
+
environments.NordletApiEnvironment.Production, "v1/hr/per-diem-rates/delete"),
|
|
1565
|
+
method: "POST",
|
|
1566
|
+
headers: _headers,
|
|
1567
|
+
contentType: "application/json",
|
|
1568
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
1569
|
+
requestType: "json",
|
|
1570
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
|
|
1571
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
1572
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1573
|
+
abortSignal: requestOptions?.abortSignal,
|
|
1574
|
+
fetchFn: this._options?.fetch,
|
|
1575
|
+
logging: this._options.logging,
|
|
1576
|
+
});
|
|
1577
|
+
if (_response.ok) {
|
|
1578
|
+
return {
|
|
1579
|
+
data: _response.body,
|
|
1580
|
+
rawResponse: _response.rawResponse,
|
|
1581
|
+
};
|
|
1582
|
+
}
|
|
1583
|
+
if (_response.error.reason === "status-code") {
|
|
1584
|
+
switch (_response.error.statusCode) {
|
|
1585
|
+
case 400:
|
|
1586
|
+
throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
|
|
1587
|
+
case 401:
|
|
1588
|
+
throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
1589
|
+
case 402:
|
|
1590
|
+
throw new NordletApi.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
1591
|
+
case 403:
|
|
1592
|
+
throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1593
|
+
case 404:
|
|
1594
|
+
throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1595
|
+
case 409:
|
|
1596
|
+
throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
|
|
1597
|
+
case 413:
|
|
1598
|
+
throw new NordletApi.ContentTooLargeError(_response.error.body, _response.rawResponse);
|
|
1599
|
+
case 422:
|
|
1600
|
+
throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1601
|
+
case 429:
|
|
1602
|
+
throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
1603
|
+
case 500:
|
|
1604
|
+
throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1605
|
+
default:
|
|
1606
|
+
throw new errors.NordletApiError({
|
|
1607
|
+
statusCode: _response.error.statusCode,
|
|
1608
|
+
body: _response.error.body,
|
|
1609
|
+
rawResponse: _response.rawResponse,
|
|
1610
|
+
});
|
|
1611
|
+
}
|
|
1612
|
+
}
|
|
1613
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/hr/per-diem-rates/delete");
|
|
1614
|
+
}
|
|
1615
|
+
/**
|
|
1616
|
+
* @param {NordletApi.BusinessTripsCreateHrRequest} request
|
|
1617
|
+
* @param {HrClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1618
|
+
*
|
|
1619
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
1620
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
1621
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
1622
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
1623
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
1624
|
+
* @throws {@link NordletApi.ConflictError}
|
|
1625
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
1626
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
1627
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
1628
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
1629
|
+
*
|
|
1630
|
+
* @example
|
|
1631
|
+
* await client.hr.businessTripsCreate({
|
|
1632
|
+
* employeeId: "employeeId",
|
|
1633
|
+
* destinationCountryCode: "destinationCountryCode",
|
|
1634
|
+
* purpose: "purpose",
|
|
1635
|
+
* startDate: "2026-07-01",
|
|
1636
|
+
* endDate: "2026-07-01"
|
|
1637
|
+
* })
|
|
1638
|
+
*/
|
|
1639
|
+
businessTripsCreate(request, requestOptions) {
|
|
1640
|
+
return core.HttpResponsePromise.fromPromise(this.__businessTripsCreate(request, requestOptions));
|
|
1641
|
+
}
|
|
1642
|
+
async __businessTripsCreate(request, requestOptions) {
|
|
1643
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1644
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
1645
|
+
const _response = await core.fetcher({
|
|
1646
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
1647
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
1648
|
+
environments.NordletApiEnvironment.Production, "v1/hr/business-trips/create"),
|
|
1649
|
+
method: "POST",
|
|
1650
|
+
headers: _headers,
|
|
1651
|
+
contentType: "application/json",
|
|
1652
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
1653
|
+
requestType: "json",
|
|
1654
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
|
|
1655
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
1656
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1657
|
+
abortSignal: requestOptions?.abortSignal,
|
|
1658
|
+
fetchFn: this._options?.fetch,
|
|
1659
|
+
logging: this._options.logging,
|
|
1660
|
+
});
|
|
1661
|
+
if (_response.ok) {
|
|
1662
|
+
return {
|
|
1663
|
+
data: _response.body,
|
|
1664
|
+
rawResponse: _response.rawResponse,
|
|
1665
|
+
};
|
|
1666
|
+
}
|
|
1667
|
+
if (_response.error.reason === "status-code") {
|
|
1668
|
+
switch (_response.error.statusCode) {
|
|
1669
|
+
case 400:
|
|
1670
|
+
throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
|
|
1671
|
+
case 401:
|
|
1672
|
+
throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
1673
|
+
case 402:
|
|
1674
|
+
throw new NordletApi.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
1675
|
+
case 403:
|
|
1676
|
+
throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1677
|
+
case 404:
|
|
1678
|
+
throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1679
|
+
case 409:
|
|
1680
|
+
throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
|
|
1681
|
+
case 413:
|
|
1682
|
+
throw new NordletApi.ContentTooLargeError(_response.error.body, _response.rawResponse);
|
|
1683
|
+
case 422:
|
|
1684
|
+
throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1685
|
+
case 429:
|
|
1686
|
+
throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
1687
|
+
case 500:
|
|
1688
|
+
throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1689
|
+
default:
|
|
1690
|
+
throw new errors.NordletApiError({
|
|
1691
|
+
statusCode: _response.error.statusCode,
|
|
1692
|
+
body: _response.error.body,
|
|
1693
|
+
rawResponse: _response.rawResponse,
|
|
1694
|
+
});
|
|
1695
|
+
}
|
|
1696
|
+
}
|
|
1697
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/hr/business-trips/create");
|
|
1698
|
+
}
|
|
1699
|
+
/**
|
|
1700
|
+
* @param {NordletApi.BusinessTripsGetHrRequest} request
|
|
1701
|
+
* @param {HrClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1702
|
+
*
|
|
1703
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
1704
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
1705
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
1706
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
1707
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
1708
|
+
* @throws {@link NordletApi.ConflictError}
|
|
1709
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
1710
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
1711
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
1712
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
1713
|
+
*
|
|
1714
|
+
* @example
|
|
1715
|
+
* await client.hr.businessTripsGet({
|
|
1716
|
+
* id: "id"
|
|
1717
|
+
* })
|
|
1718
|
+
*/
|
|
1719
|
+
businessTripsGet(request, requestOptions) {
|
|
1720
|
+
return core.HttpResponsePromise.fromPromise(this.__businessTripsGet(request, requestOptions));
|
|
1721
|
+
}
|
|
1722
|
+
async __businessTripsGet(request, requestOptions) {
|
|
1723
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1724
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
1725
|
+
const _response = await core.fetcher({
|
|
1726
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
1727
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
1728
|
+
environments.NordletApiEnvironment.Production, "v1/hr/business-trips/get"),
|
|
1729
|
+
method: "POST",
|
|
1730
|
+
headers: _headers,
|
|
1731
|
+
contentType: "application/json",
|
|
1732
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
1733
|
+
requestType: "json",
|
|
1734
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
|
|
1735
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
1736
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1737
|
+
abortSignal: requestOptions?.abortSignal,
|
|
1738
|
+
fetchFn: this._options?.fetch,
|
|
1739
|
+
logging: this._options.logging,
|
|
1740
|
+
});
|
|
1741
|
+
if (_response.ok) {
|
|
1742
|
+
return {
|
|
1743
|
+
data: _response.body,
|
|
1744
|
+
rawResponse: _response.rawResponse,
|
|
1745
|
+
};
|
|
1746
|
+
}
|
|
1747
|
+
if (_response.error.reason === "status-code") {
|
|
1748
|
+
switch (_response.error.statusCode) {
|
|
1749
|
+
case 400:
|
|
1750
|
+
throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
|
|
1751
|
+
case 401:
|
|
1752
|
+
throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
1753
|
+
case 402:
|
|
1754
|
+
throw new NordletApi.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
1755
|
+
case 403:
|
|
1756
|
+
throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1757
|
+
case 404:
|
|
1758
|
+
throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1759
|
+
case 409:
|
|
1760
|
+
throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
|
|
1761
|
+
case 413:
|
|
1762
|
+
throw new NordletApi.ContentTooLargeError(_response.error.body, _response.rawResponse);
|
|
1763
|
+
case 422:
|
|
1764
|
+
throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1765
|
+
case 429:
|
|
1766
|
+
throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
1767
|
+
case 500:
|
|
1768
|
+
throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1769
|
+
default:
|
|
1770
|
+
throw new errors.NordletApiError({
|
|
1771
|
+
statusCode: _response.error.statusCode,
|
|
1772
|
+
body: _response.error.body,
|
|
1773
|
+
rawResponse: _response.rawResponse,
|
|
1774
|
+
});
|
|
1775
|
+
}
|
|
1776
|
+
}
|
|
1777
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/hr/business-trips/get");
|
|
1778
|
+
}
|
|
1779
|
+
/**
|
|
1780
|
+
* @param {NordletApi.BusinessTripsListHrRequest} request
|
|
1781
|
+
* @param {HrClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1782
|
+
*
|
|
1783
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
1784
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
1785
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
1786
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
1787
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
1788
|
+
* @throws {@link NordletApi.ConflictError}
|
|
1789
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
1790
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
1791
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
1792
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
1793
|
+
*
|
|
1794
|
+
* @example
|
|
1795
|
+
* await client.hr.businessTripsList()
|
|
1796
|
+
*/
|
|
1797
|
+
businessTripsList(request = {}, requestOptions) {
|
|
1798
|
+
return core.HttpResponsePromise.fromPromise(this.__businessTripsList(request, requestOptions));
|
|
1799
|
+
}
|
|
1800
|
+
async __businessTripsList(request = {}, requestOptions) {
|
|
1801
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1802
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
1803
|
+
const _response = await core.fetcher({
|
|
1804
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
1805
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
1806
|
+
environments.NordletApiEnvironment.Production, "v1/hr/business-trips/list"),
|
|
1807
|
+
method: "POST",
|
|
1808
|
+
headers: _headers,
|
|
1809
|
+
contentType: "application/json",
|
|
1810
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
1811
|
+
requestType: "json",
|
|
1812
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
|
|
1813
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
1814
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1815
|
+
abortSignal: requestOptions?.abortSignal,
|
|
1816
|
+
fetchFn: this._options?.fetch,
|
|
1817
|
+
logging: this._options.logging,
|
|
1818
|
+
});
|
|
1819
|
+
if (_response.ok) {
|
|
1820
|
+
return {
|
|
1821
|
+
data: _response.body,
|
|
1822
|
+
rawResponse: _response.rawResponse,
|
|
1823
|
+
};
|
|
1824
|
+
}
|
|
1825
|
+
if (_response.error.reason === "status-code") {
|
|
1826
|
+
switch (_response.error.statusCode) {
|
|
1827
|
+
case 400:
|
|
1828
|
+
throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
|
|
1829
|
+
case 401:
|
|
1830
|
+
throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
1831
|
+
case 402:
|
|
1832
|
+
throw new NordletApi.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
1833
|
+
case 403:
|
|
1834
|
+
throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1835
|
+
case 404:
|
|
1836
|
+
throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1837
|
+
case 409:
|
|
1838
|
+
throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
|
|
1839
|
+
case 413:
|
|
1840
|
+
throw new NordletApi.ContentTooLargeError(_response.error.body, _response.rawResponse);
|
|
1841
|
+
case 422:
|
|
1842
|
+
throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1843
|
+
case 429:
|
|
1844
|
+
throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
1845
|
+
case 500:
|
|
1846
|
+
throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1847
|
+
default:
|
|
1848
|
+
throw new errors.NordletApiError({
|
|
1849
|
+
statusCode: _response.error.statusCode,
|
|
1850
|
+
body: _response.error.body,
|
|
1851
|
+
rawResponse: _response.rawResponse,
|
|
1852
|
+
});
|
|
1853
|
+
}
|
|
1854
|
+
}
|
|
1855
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/hr/business-trips/list");
|
|
1856
|
+
}
|
|
1857
|
+
/**
|
|
1858
|
+
* @param {NordletApi.BusinessTripsApproveHrRequest} request
|
|
1859
|
+
* @param {HrClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1860
|
+
*
|
|
1861
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
1862
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
1863
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
1864
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
1865
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
1866
|
+
* @throws {@link NordletApi.ConflictError}
|
|
1867
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
1868
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
1869
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
1870
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
1871
|
+
*
|
|
1872
|
+
* @example
|
|
1873
|
+
* await client.hr.businessTripsApprove({
|
|
1874
|
+
* id: "id"
|
|
1875
|
+
* })
|
|
1876
|
+
*/
|
|
1877
|
+
businessTripsApprove(request, requestOptions) {
|
|
1878
|
+
return core.HttpResponsePromise.fromPromise(this.__businessTripsApprove(request, requestOptions));
|
|
1879
|
+
}
|
|
1880
|
+
async __businessTripsApprove(request, requestOptions) {
|
|
1881
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1882
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
1883
|
+
const _response = await core.fetcher({
|
|
1884
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
1885
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
1886
|
+
environments.NordletApiEnvironment.Production, "v1/hr/business-trips/approve"),
|
|
1887
|
+
method: "POST",
|
|
1888
|
+
headers: _headers,
|
|
1889
|
+
contentType: "application/json",
|
|
1890
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
1891
|
+
requestType: "json",
|
|
1892
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
|
|
1893
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
1894
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1895
|
+
abortSignal: requestOptions?.abortSignal,
|
|
1896
|
+
fetchFn: this._options?.fetch,
|
|
1897
|
+
logging: this._options.logging,
|
|
1898
|
+
});
|
|
1899
|
+
if (_response.ok) {
|
|
1900
|
+
return {
|
|
1901
|
+
data: _response.body,
|
|
1902
|
+
rawResponse: _response.rawResponse,
|
|
1903
|
+
};
|
|
1904
|
+
}
|
|
1905
|
+
if (_response.error.reason === "status-code") {
|
|
1906
|
+
switch (_response.error.statusCode) {
|
|
1907
|
+
case 400:
|
|
1908
|
+
throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
|
|
1909
|
+
case 401:
|
|
1910
|
+
throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
1911
|
+
case 402:
|
|
1912
|
+
throw new NordletApi.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
1913
|
+
case 403:
|
|
1914
|
+
throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1915
|
+
case 404:
|
|
1916
|
+
throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1917
|
+
case 409:
|
|
1918
|
+
throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
|
|
1919
|
+
case 413:
|
|
1920
|
+
throw new NordletApi.ContentTooLargeError(_response.error.body, _response.rawResponse);
|
|
1921
|
+
case 422:
|
|
1922
|
+
throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1923
|
+
case 429:
|
|
1924
|
+
throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
1925
|
+
case 500:
|
|
1926
|
+
throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1927
|
+
default:
|
|
1928
|
+
throw new errors.NordletApiError({
|
|
1929
|
+
statusCode: _response.error.statusCode,
|
|
1930
|
+
body: _response.error.body,
|
|
1931
|
+
rawResponse: _response.rawResponse,
|
|
1932
|
+
});
|
|
1933
|
+
}
|
|
1934
|
+
}
|
|
1935
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/hr/business-trips/approve");
|
|
1936
|
+
}
|
|
1937
|
+
/**
|
|
1938
|
+
* @param {NordletApi.BusinessTripsDeleteHrRequest} request
|
|
1939
|
+
* @param {HrClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1940
|
+
*
|
|
1941
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
1942
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
1943
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
1944
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
1945
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
1946
|
+
* @throws {@link NordletApi.ConflictError}
|
|
1947
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
1948
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
1949
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
1950
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
1951
|
+
*
|
|
1952
|
+
* @example
|
|
1953
|
+
* await client.hr.businessTripsDelete({
|
|
1954
|
+
* id: "id"
|
|
1955
|
+
* })
|
|
1956
|
+
*/
|
|
1957
|
+
businessTripsDelete(request, requestOptions) {
|
|
1958
|
+
return core.HttpResponsePromise.fromPromise(this.__businessTripsDelete(request, requestOptions));
|
|
1959
|
+
}
|
|
1960
|
+
async __businessTripsDelete(request, requestOptions) {
|
|
1961
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1962
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
1963
|
+
const _response = await core.fetcher({
|
|
1964
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
1965
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
1966
|
+
environments.NordletApiEnvironment.Production, "v1/hr/business-trips/delete"),
|
|
1967
|
+
method: "POST",
|
|
1968
|
+
headers: _headers,
|
|
1969
|
+
contentType: "application/json",
|
|
1970
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
1971
|
+
requestType: "json",
|
|
1972
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
|
|
1973
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
1974
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1975
|
+
abortSignal: requestOptions?.abortSignal,
|
|
1976
|
+
fetchFn: this._options?.fetch,
|
|
1977
|
+
logging: this._options.logging,
|
|
1978
|
+
});
|
|
1979
|
+
if (_response.ok) {
|
|
1980
|
+
return {
|
|
1981
|
+
data: _response.body,
|
|
1982
|
+
rawResponse: _response.rawResponse,
|
|
1983
|
+
};
|
|
1984
|
+
}
|
|
1985
|
+
if (_response.error.reason === "status-code") {
|
|
1986
|
+
switch (_response.error.statusCode) {
|
|
1987
|
+
case 400:
|
|
1988
|
+
throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
|
|
1989
|
+
case 401:
|
|
1990
|
+
throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
1991
|
+
case 402:
|
|
1992
|
+
throw new NordletApi.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
1993
|
+
case 403:
|
|
1994
|
+
throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1995
|
+
case 404:
|
|
1996
|
+
throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1997
|
+
case 409:
|
|
1998
|
+
throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
|
|
1999
|
+
case 413:
|
|
2000
|
+
throw new NordletApi.ContentTooLargeError(_response.error.body, _response.rawResponse);
|
|
2001
|
+
case 422:
|
|
2002
|
+
throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
2003
|
+
case 429:
|
|
2004
|
+
throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
2005
|
+
case 500:
|
|
2006
|
+
throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
|
|
2007
|
+
default:
|
|
2008
|
+
throw new errors.NordletApiError({
|
|
2009
|
+
statusCode: _response.error.statusCode,
|
|
2010
|
+
body: _response.error.body,
|
|
2011
|
+
rawResponse: _response.rawResponse,
|
|
2012
|
+
});
|
|
2013
|
+
}
|
|
2014
|
+
}
|
|
2015
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/hr/business-trips/delete");
|
|
2016
|
+
}
|
|
1375
2017
|
/**
|
|
1376
2018
|
* @param {NordletApi.EmployeesRecordsCreateHrRequest} request
|
|
1377
2019
|
* @param {HrClient.RequestOptions} requestOptions - Request-specific configuration.
|