nordlet 0.3.8 → 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/dist/api/resources/account/types/ApiKeysListAccountResponse.d.ts +1 -0
- package/dist/api/resources/agreements/client/Client.d.ts +42 -0
- package/dist/api/resources/agreements/client/Client.js +158 -0
- package/dist/api/resources/agreements/client/requests/SettingsGetAgreementsRequest.d.ts +5 -0
- package/dist/api/resources/agreements/client/requests/SettingsGetAgreementsRequest.js +3 -0
- package/dist/api/resources/agreements/client/requests/SettingsUpdateAgreementsRequest.d.ts +9 -0
- package/dist/api/resources/agreements/client/requests/SettingsUpdateAgreementsRequest.js +3 -0
- package/dist/api/resources/agreements/client/requests/index.d.ts +2 -0
- package/dist/api/resources/agreements/types/SettingsGetAgreementsResponse.d.ts +3 -0
- package/dist/api/resources/agreements/types/SettingsGetAgreementsResponse.js +3 -0
- package/dist/api/resources/agreements/types/SettingsUpdateAgreementsResponse.d.ts +3 -0
- package/dist/api/resources/agreements/types/SettingsUpdateAgreementsResponse.js +3 -0
- package/dist/api/resources/agreements/types/index.d.ts +2 -0
- package/dist/api/resources/agreements/types/index.js +2 -0
- package/dist/api/resources/assets/client/Client.d.ts +42 -0
- package/dist/api/resources/assets/client/Client.js +155 -0
- package/dist/api/resources/assets/client/requests/SettingsGetAssetsRequest.d.ts +5 -0
- package/dist/api/resources/assets/client/requests/SettingsGetAssetsRequest.js +3 -0
- package/dist/api/resources/assets/client/requests/SettingsUpdateAssetsRequest.d.ts +9 -0
- package/dist/api/resources/assets/client/requests/SettingsUpdateAssetsRequest.js +3 -0
- package/dist/api/resources/assets/client/requests/index.d.ts +2 -0
- package/dist/api/resources/assets/types/SettingsGetAssetsResponse.d.ts +3 -0
- package/dist/api/resources/assets/types/SettingsGetAssetsResponse.js +3 -0
- package/dist/api/resources/assets/types/SettingsUpdateAssetsResponse.d.ts +3 -0
- package/dist/api/resources/assets/types/SettingsUpdateAssetsResponse.js +3 -0
- package/dist/api/resources/assets/types/index.d.ts +2 -0
- package/dist/api/resources/assets/types/index.js +2 -0
- package/dist/api/resources/bank/client/Client.d.ts +27 -0
- package/dist/api/resources/bank/client/Client.js +85 -0
- package/dist/api/resources/bank/client/requests/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 +1 -0
- package/dist/api/resources/bank/client/requests/index.js +3 -1
- 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 +1 -0
- package/dist/api/resources/bank/types/index.js +1 -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/cash/client/Client.d.ts +71 -2
- package/dist/api/resources/cash/client/Client.js +245 -2
- package/dist/api/resources/cash/client/requests/ExpenseReportsCreateCashRequest.d.ts +30 -0
- package/dist/api/resources/cash/client/requests/ExpenseReportsCreateCashRequest.js +3 -0
- package/dist/api/resources/cash/client/requests/ExpenseReportsGetCashRequest.d.ts +9 -0
- package/dist/api/resources/cash/client/requests/ExpenseReportsGetCashRequest.js +3 -0
- package/dist/api/resources/cash/client/requests/ExpenseReportsListCashRequest.d.ts +48 -0
- package/dist/api/resources/cash/client/requests/ExpenseReportsListCashRequest.js +31 -0
- package/dist/api/resources/cash/client/requests/OrdersCreateCashRequest.d.ts +4 -3
- package/dist/api/resources/cash/client/requests/index.d.ts +3 -0
- package/dist/api/resources/cash/client/requests/index.js +3 -1
- package/dist/api/resources/cash/types/AdvanceHoldersBalancesCashResponse.d.ts +1 -0
- package/dist/api/resources/cash/types/ExpenseReportsCreateCashResponse.d.ts +26 -0
- package/dist/api/resources/cash/types/ExpenseReportsCreateCashResponse.js +3 -0
- package/dist/api/resources/cash/types/ExpenseReportsGetCashResponse.d.ts +26 -0
- package/dist/api/resources/cash/types/ExpenseReportsGetCashResponse.js +3 -0
- package/dist/api/resources/cash/types/ExpenseReportsListCashResponse.d.ts +26 -0
- package/dist/api/resources/cash/types/ExpenseReportsListCashResponse.js +3 -0
- package/dist/api/resources/cash/types/OrdersCreateCashResponse.d.ts +2 -0
- package/dist/api/resources/cash/types/OrdersGetCashResponse.d.ts +2 -0
- package/dist/api/resources/cash/types/OrdersListCashResponse.d.ts +2 -0
- package/dist/api/resources/cash/types/index.d.ts +3 -0
- package/dist/api/resources/cash/types/index.js +3 -0
- package/dist/api/resources/hr/client/Client.d.ts +178 -0
- package/dist/api/resources/hr/client/Client.js +642 -0
- package/dist/api/resources/hr/client/requests/BusinessTripsApproveHrRequest.d.ts +9 -0
- package/dist/api/resources/hr/client/requests/BusinessTripsApproveHrRequest.js +3 -0
- package/dist/api/resources/hr/client/requests/BusinessTripsCreateHrRequest.d.ts +17 -0
- package/dist/api/resources/hr/client/requests/BusinessTripsCreateHrRequest.js +3 -0
- package/dist/api/resources/hr/client/requests/BusinessTripsDeleteHrRequest.d.ts +9 -0
- package/dist/api/resources/hr/client/requests/BusinessTripsDeleteHrRequest.js +3 -0
- package/dist/api/resources/hr/client/requests/BusinessTripsGetHrRequest.d.ts +9 -0
- package/dist/api/resources/hr/client/requests/BusinessTripsGetHrRequest.js +3 -0
- package/dist/api/resources/hr/client/requests/BusinessTripsListHrRequest.d.ts +48 -0
- package/dist/api/resources/hr/client/requests/BusinessTripsListHrRequest.js +31 -0
- package/dist/api/resources/hr/client/requests/PerDiemRatesCreateHrRequest.d.ts +13 -0
- package/dist/api/resources/hr/client/requests/PerDiemRatesCreateHrRequest.js +3 -0
- package/dist/api/resources/hr/client/requests/PerDiemRatesDeleteHrRequest.d.ts +9 -0
- package/dist/api/resources/hr/client/requests/PerDiemRatesDeleteHrRequest.js +3 -0
- package/dist/api/resources/hr/client/requests/PerDiemRatesListHrRequest.d.ts +48 -0
- package/dist/api/resources/hr/client/requests/PerDiemRatesListHrRequest.js +31 -0
- package/dist/api/resources/hr/client/requests/index.d.ts +8 -0
- package/dist/api/resources/hr/client/requests/index.js +5 -1
- package/dist/api/resources/hr/types/BusinessTripsApproveHrResponse.d.ts +22 -0
- package/dist/api/resources/hr/types/BusinessTripsApproveHrResponse.js +11 -0
- package/dist/api/resources/hr/types/BusinessTripsCreateHrResponse.d.ts +22 -0
- package/dist/api/resources/hr/types/BusinessTripsCreateHrResponse.js +11 -0
- package/dist/api/resources/hr/types/BusinessTripsDeleteHrResponse.d.ts +3 -0
- package/dist/api/resources/hr/types/BusinessTripsDeleteHrResponse.js +3 -0
- package/dist/api/resources/hr/types/BusinessTripsGetHrResponse.d.ts +22 -0
- package/dist/api/resources/hr/types/BusinessTripsGetHrResponse.js +11 -0
- package/dist/api/resources/hr/types/BusinessTripsListHrResponse.d.ts +36 -0
- package/dist/api/resources/hr/types/BusinessTripsListHrResponse.js +17 -0
- package/dist/api/resources/hr/types/PerDiemRatesCreateHrResponse.d.ts +7 -0
- package/dist/api/resources/hr/types/PerDiemRatesCreateHrResponse.js +3 -0
- package/dist/api/resources/hr/types/PerDiemRatesDeleteHrResponse.d.ts +3 -0
- package/dist/api/resources/hr/types/PerDiemRatesDeleteHrResponse.js +3 -0
- package/dist/api/resources/hr/types/PerDiemRatesListHrResponse.d.ts +21 -0
- package/dist/api/resources/hr/types/PerDiemRatesListHrResponse.js +3 -0
- package/dist/api/resources/hr/types/index.d.ts +8 -0
- package/dist/api/resources/hr/types/index.js +8 -0
- package/dist/api/resources/ledger/client/requests/PostingRulesUpdateLedgerRequest.d.ts +2 -0
- package/dist/api/resources/ledger/client/requests/PostingRulesUpdateLedgerRequest.js +2 -0
- package/dist/api/resources/partners/client/Client.d.ts +23 -0
- package/dist/api/resources/partners/client/Client.js +78 -0
- package/dist/api/resources/partners/client/requests/MergePartnersRequest.d.ts +11 -0
- package/dist/api/resources/partners/client/requests/MergePartnersRequest.js +3 -0
- package/dist/api/resources/partners/client/requests/index.d.ts +1 -0
- package/dist/api/resources/partners/types/MergePartnersResponse.d.ts +15 -0
- package/dist/api/resources/partners/types/MergePartnersResponse.js +3 -0
- package/dist/api/resources/partners/types/index.d.ts +1 -0
- package/dist/api/resources/partners/types/index.js +1 -0
- package/dist/api/resources/payroll/client/Client.d.ts +23 -0
- package/dist/api/resources/payroll/client/Client.js +81 -0
- package/dist/api/resources/payroll/client/requests/RunsReversePayrollRequest.d.ts +11 -0
- package/dist/api/resources/payroll/client/requests/RunsReversePayrollRequest.js +3 -0
- package/dist/api/resources/payroll/client/requests/index.d.ts +1 -0
- package/dist/api/resources/payroll/types/RunsApprovePayrollResponse.d.ts +4 -0
- package/dist/api/resources/payroll/types/RunsApprovePayrollResponse.js +1 -0
- package/dist/api/resources/payroll/types/RunsCreatePayrollResponse.d.ts +4 -0
- package/dist/api/resources/payroll/types/RunsCreatePayrollResponse.js +1 -0
- package/dist/api/resources/payroll/types/RunsGetPayrollResponse.d.ts +4 -0
- package/dist/api/resources/payroll/types/RunsGetPayrollResponse.js +1 -0
- package/dist/api/resources/payroll/types/RunsListPayrollResponse.d.ts +4 -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/ReceiptsCreatePosResponse.d.ts +28 -0
- package/dist/api/resources/pos/types/ReceiptsCreatePosResponse.js +3 -0
- package/dist/api/resources/pos/types/ReceiptsGetPosResponse.d.ts +28 -0
- package/dist/api/resources/pos/types/ReceiptsGetPosResponse.js +3 -0
- package/dist/api/resources/pos/types/ReceiptsListPosResponse.d.ts +25 -0
- package/dist/api/resources/pos/types/ReceiptsListPosResponse.js +3 -0
- package/dist/api/resources/pos/types/ShiftsClosePosResponse.d.ts +21 -0
- package/dist/api/resources/pos/types/ShiftsClosePosResponse.js +11 -0
- package/dist/api/resources/pos/types/ShiftsGetPosResponse.d.ts +19 -0
- package/dist/api/resources/pos/types/ShiftsGetPosResponse.js +11 -0
- package/dist/api/resources/pos/types/ShiftsListPosResponse.d.ts +33 -0
- package/dist/api/resources/pos/types/ShiftsListPosResponse.js +17 -0
- package/dist/api/resources/pos/types/ShiftsOpenPosResponse.d.ts +19 -0
- package/dist/api/resources/pos/types/ShiftsOpenPosResponse.js +11 -0
- package/dist/api/resources/pos/types/index.d.ts +7 -0
- package/dist/api/resources/pos/types/index.js +7 -0
- package/dist/api/resources/purchases/client/Client.d.ts +40 -0
- package/dist/api/resources/purchases/client/Client.js +156 -0
- package/dist/api/resources/purchases/client/requests/DeferralsListPurchasesRequest.d.ts +48 -0
- package/dist/api/resources/purchases/client/requests/DeferralsListPurchasesRequest.js +31 -0
- package/dist/api/resources/purchases/client/requests/DeferralsPostPurchasesRequest.d.ts +7 -0
- package/dist/api/resources/purchases/client/requests/DeferralsPostPurchasesRequest.js +3 -0
- package/dist/api/resources/purchases/client/requests/InvoicesCreatePurchasesRequest.d.ts +2 -0
- package/dist/api/resources/purchases/client/requests/InvoicesUpdatePurchasesRequest.d.ts +2 -0
- package/dist/api/resources/purchases/client/requests/OrdersCreatePurchasesRequest.d.ts +2 -0
- package/dist/api/resources/purchases/client/requests/OrdersUpdatePurchasesRequest.d.ts +2 -0
- package/dist/api/resources/purchases/client/requests/index.d.ts +2 -0
- package/dist/api/resources/purchases/client/requests/index.js +3 -1
- package/dist/api/resources/purchases/types/DeferralsListPurchasesResponse.d.ts +34 -0
- package/dist/api/resources/purchases/types/DeferralsListPurchasesResponse.js +18 -0
- package/dist/api/resources/purchases/types/DeferralsPostPurchasesResponse.d.ts +5 -0
- package/dist/api/resources/purchases/types/DeferralsPostPurchasesResponse.js +3 -0
- package/dist/api/resources/purchases/types/InvoicesCreatePurchasesResponse.d.ts +2 -0
- package/dist/api/resources/purchases/types/InvoicesGetPurchasesResponse.d.ts +2 -0
- package/dist/api/resources/purchases/types/InvoicesRegisterPurchasesResponse.d.ts +2 -0
- package/dist/api/resources/purchases/types/InvoicesUpdatePurchasesResponse.d.ts +2 -0
- package/dist/api/resources/purchases/types/index.d.ts +2 -0
- package/dist/api/resources/purchases/types/index.js +2 -0
- package/dist/api/resources/reports/types/AdvanceReconciliationReportsResponse.d.ts +1 -0
- package/dist/api/resources/sales/client/requests/InvoicesIssueSalesRequest.d.ts +1 -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/package.json +1 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {}
|
|
4
|
+
*/
|
|
5
|
+
export interface ExpenseReportsListCashRequest {
|
|
6
|
+
page?: number;
|
|
7
|
+
pageSize?: number;
|
|
8
|
+
sort?: ExpenseReportsListCashRequest.Sort.Item[];
|
|
9
|
+
filter?: ExpenseReportsListCashRequest.Filter.Item[];
|
|
10
|
+
/** Numeric fields to sum over every row matching the filter (not only the current page) */
|
|
11
|
+
totals?: string[];
|
|
12
|
+
}
|
|
13
|
+
export declare namespace ExpenseReportsListCashRequest {
|
|
14
|
+
type Sort = Sort.Item[];
|
|
15
|
+
namespace Sort {
|
|
16
|
+
interface Item {
|
|
17
|
+
field: string;
|
|
18
|
+
dir?: Item.Dir | undefined;
|
|
19
|
+
}
|
|
20
|
+
namespace Item {
|
|
21
|
+
const Dir: {
|
|
22
|
+
readonly Asc: "asc";
|
|
23
|
+
readonly Desc: "desc";
|
|
24
|
+
};
|
|
25
|
+
type Dir = (typeof Dir)[keyof typeof Dir];
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
type Filter = Filter.Item[];
|
|
29
|
+
namespace Filter {
|
|
30
|
+
interface Item {
|
|
31
|
+
field: string;
|
|
32
|
+
op: Item.Op;
|
|
33
|
+
value: Item.Value;
|
|
34
|
+
}
|
|
35
|
+
namespace Item {
|
|
36
|
+
const Op: {
|
|
37
|
+
readonly Eq: "eq";
|
|
38
|
+
readonly Ne: "ne";
|
|
39
|
+
readonly Contains: "contains";
|
|
40
|
+
readonly Gte: "gte";
|
|
41
|
+
readonly Lte: "lte";
|
|
42
|
+
readonly In: "in";
|
|
43
|
+
};
|
|
44
|
+
type Op = (typeof Op)[keyof typeof Op];
|
|
45
|
+
type Value = string | number | boolean | (string | number)[];
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ExpenseReportsListCashRequest = void 0;
|
|
5
|
+
var ExpenseReportsListCashRequest;
|
|
6
|
+
(function (ExpenseReportsListCashRequest) {
|
|
7
|
+
let Sort;
|
|
8
|
+
(function (Sort) {
|
|
9
|
+
let Item;
|
|
10
|
+
(function (Item) {
|
|
11
|
+
Item.Dir = {
|
|
12
|
+
Asc: "asc",
|
|
13
|
+
Desc: "desc",
|
|
14
|
+
};
|
|
15
|
+
})(Item = Sort.Item || (Sort.Item = {}));
|
|
16
|
+
})(Sort = ExpenseReportsListCashRequest.Sort || (ExpenseReportsListCashRequest.Sort = {}));
|
|
17
|
+
let Filter;
|
|
18
|
+
(function (Filter) {
|
|
19
|
+
let Item;
|
|
20
|
+
(function (Item) {
|
|
21
|
+
Item.Op = {
|
|
22
|
+
Eq: "eq",
|
|
23
|
+
Ne: "ne",
|
|
24
|
+
Contains: "contains",
|
|
25
|
+
Gte: "gte",
|
|
26
|
+
Lte: "lte",
|
|
27
|
+
In: "in",
|
|
28
|
+
};
|
|
29
|
+
})(Item = Filter.Item || (Filter.Item = {}));
|
|
30
|
+
})(Filter = ExpenseReportsListCashRequest.Filter || (ExpenseReportsListCashRequest.Filter = {}));
|
|
31
|
+
})(ExpenseReportsListCashRequest || (exports.ExpenseReportsListCashRequest = ExpenseReportsListCashRequest = {}));
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
* type: "receipt",
|
|
5
5
|
* date: "2026-07-01",
|
|
6
6
|
* amount: "121.0000",
|
|
7
|
-
* purpose: "purpose"
|
|
8
|
-
* counterAccountCode: "counterAccountCode"
|
|
7
|
+
* purpose: "purpose"
|
|
9
8
|
* }
|
|
10
9
|
*/
|
|
11
10
|
export interface OrdersCreateCashRequest {
|
|
@@ -13,8 +12,10 @@ export interface OrdersCreateCashRequest {
|
|
|
13
12
|
date: string;
|
|
14
13
|
amount: string;
|
|
15
14
|
purpose: string;
|
|
16
|
-
counterAccountCode
|
|
15
|
+
counterAccountCode?: string;
|
|
17
16
|
cashAccountCode?: string;
|
|
17
|
+
saleInvoiceId?: string;
|
|
18
|
+
purchaseInvoiceId?: string;
|
|
18
19
|
series?: string;
|
|
19
20
|
partnerId?: string;
|
|
20
21
|
employeeId?: string;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export type { AdvanceHoldersBalancesCashRequest } from "./AdvanceHoldersBalancesCashRequest.js";
|
|
2
2
|
export type { BalanceCashRequest } from "./BalanceCashRequest.js";
|
|
3
|
+
export type { ExpenseReportsCreateCashRequest } from "./ExpenseReportsCreateCashRequest.js";
|
|
4
|
+
export type { ExpenseReportsGetCashRequest } from "./ExpenseReportsGetCashRequest.js";
|
|
5
|
+
export { ExpenseReportsListCashRequest } from "./ExpenseReportsListCashRequest.js";
|
|
3
6
|
export { OrdersCreateCashRequest } from "./OrdersCreateCashRequest.js";
|
|
4
7
|
export type { OrdersGetCashRequest } from "./OrdersGetCashRequest.js";
|
|
5
8
|
export { OrdersListCashRequest } from "./OrdersListCashRequest.js";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OrdersListCashRequest = exports.OrdersCreateCashRequest = void 0;
|
|
3
|
+
exports.OrdersListCashRequest = exports.OrdersCreateCashRequest = exports.ExpenseReportsListCashRequest = void 0;
|
|
4
|
+
var ExpenseReportsListCashRequest_js_1 = require("./ExpenseReportsListCashRequest.js");
|
|
5
|
+
Object.defineProperty(exports, "ExpenseReportsListCashRequest", { enumerable: true, get: function () { return ExpenseReportsListCashRequest_js_1.ExpenseReportsListCashRequest; } });
|
|
4
6
|
var OrdersCreateCashRequest_js_1 = require("./OrdersCreateCashRequest.js");
|
|
5
7
|
Object.defineProperty(exports, "OrdersCreateCashRequest", { enumerable: true, get: function () { return OrdersCreateCashRequest_js_1.OrdersCreateCashRequest; } });
|
|
6
8
|
var OrdersListCashRequest_js_1 = require("./OrdersListCashRequest.js");
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface ExpenseReportsCreateCashResponse {
|
|
2
|
+
id: string;
|
|
3
|
+
number: string;
|
|
4
|
+
employeeId: string;
|
|
5
|
+
date: string;
|
|
6
|
+
netTotal: string;
|
|
7
|
+
vatTotal: string;
|
|
8
|
+
total: string;
|
|
9
|
+
journalTransactionId: string | null;
|
|
10
|
+
notes: string | null;
|
|
11
|
+
createdAt: string;
|
|
12
|
+
lines: ExpenseReportsCreateCashResponse.Lines.Item[];
|
|
13
|
+
}
|
|
14
|
+
export declare namespace ExpenseReportsCreateCashResponse {
|
|
15
|
+
type Lines = Lines.Item[];
|
|
16
|
+
namespace Lines {
|
|
17
|
+
interface Item {
|
|
18
|
+
id: string;
|
|
19
|
+
description: string;
|
|
20
|
+
documentNumber: string | null;
|
|
21
|
+
accountCode: string;
|
|
22
|
+
netAmount: string;
|
|
23
|
+
vatAmount: string;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface ExpenseReportsGetCashResponse {
|
|
2
|
+
id: string;
|
|
3
|
+
number: string;
|
|
4
|
+
employeeId: string;
|
|
5
|
+
date: string;
|
|
6
|
+
netTotal: string;
|
|
7
|
+
vatTotal: string;
|
|
8
|
+
total: string;
|
|
9
|
+
journalTransactionId: string | null;
|
|
10
|
+
notes: string | null;
|
|
11
|
+
createdAt: string;
|
|
12
|
+
lines: ExpenseReportsGetCashResponse.Lines.Item[];
|
|
13
|
+
}
|
|
14
|
+
export declare namespace ExpenseReportsGetCashResponse {
|
|
15
|
+
type Lines = Lines.Item[];
|
|
16
|
+
namespace Lines {
|
|
17
|
+
interface Item {
|
|
18
|
+
id: string;
|
|
19
|
+
description: string;
|
|
20
|
+
documentNumber: string | null;
|
|
21
|
+
accountCode: string;
|
|
22
|
+
netAmount: string;
|
|
23
|
+
vatAmount: string;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface ExpenseReportsListCashResponse {
|
|
2
|
+
rows: ExpenseReportsListCashResponse.Rows.Item[];
|
|
3
|
+
page: number;
|
|
4
|
+
pageSize: number;
|
|
5
|
+
total: number;
|
|
6
|
+
totals?: Record<string, string> | undefined;
|
|
7
|
+
/** The requested totals split by currency code, present when the listed records carry a currency */
|
|
8
|
+
totalsByCurrency?: Record<string, Record<string, string>> | undefined;
|
|
9
|
+
}
|
|
10
|
+
export declare namespace ExpenseReportsListCashResponse {
|
|
11
|
+
type Rows = Rows.Item[];
|
|
12
|
+
namespace Rows {
|
|
13
|
+
interface Item {
|
|
14
|
+
id: string;
|
|
15
|
+
number: string;
|
|
16
|
+
employeeId: string;
|
|
17
|
+
date: string;
|
|
18
|
+
netTotal: string;
|
|
19
|
+
vatTotal: string;
|
|
20
|
+
total: string;
|
|
21
|
+
journalTransactionId: string | null;
|
|
22
|
+
notes: string | null;
|
|
23
|
+
createdAt: string;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -13,6 +13,8 @@ export interface OrdersCreateCashResponse {
|
|
|
13
13
|
cashAccountCode: string;
|
|
14
14
|
counterAccountCode: string;
|
|
15
15
|
journalTransactionId: string | null;
|
|
16
|
+
saleInvoiceId: string | null;
|
|
17
|
+
purchaseInvoiceId: string | null;
|
|
16
18
|
notes: string | null;
|
|
17
19
|
createdAt: string;
|
|
18
20
|
}
|
|
@@ -13,6 +13,8 @@ export interface OrdersGetCashResponse {
|
|
|
13
13
|
cashAccountCode: string;
|
|
14
14
|
counterAccountCode: string;
|
|
15
15
|
journalTransactionId: string | null;
|
|
16
|
+
saleInvoiceId: string | null;
|
|
17
|
+
purchaseInvoiceId: string | null;
|
|
16
18
|
notes: string | null;
|
|
17
19
|
createdAt: string;
|
|
18
20
|
}
|
|
@@ -25,6 +25,8 @@ export declare namespace OrdersListCashResponse {
|
|
|
25
25
|
cashAccountCode: string;
|
|
26
26
|
counterAccountCode: string;
|
|
27
27
|
journalTransactionId: string | null;
|
|
28
|
+
saleInvoiceId: string | null;
|
|
29
|
+
purchaseInvoiceId: string | null;
|
|
28
30
|
notes: string | null;
|
|
29
31
|
createdAt: string;
|
|
30
32
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export * from "./AdvanceHoldersBalancesCashResponse.js";
|
|
2
2
|
export * from "./BalanceCashResponse.js";
|
|
3
|
+
export * from "./ExpenseReportsCreateCashResponse.js";
|
|
4
|
+
export * from "./ExpenseReportsGetCashResponse.js";
|
|
5
|
+
export * from "./ExpenseReportsListCashResponse.js";
|
|
3
6
|
export * from "./OrdersCreateCashResponse.js";
|
|
4
7
|
export * from "./OrdersGetCashResponse.js";
|
|
5
8
|
export * from "./OrdersListCashResponse.js";
|
|
@@ -16,6 +16,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./AdvanceHoldersBalancesCashResponse.js"), exports);
|
|
18
18
|
__exportStar(require("./BalanceCashResponse.js"), exports);
|
|
19
|
+
__exportStar(require("./ExpenseReportsCreateCashResponse.js"), exports);
|
|
20
|
+
__exportStar(require("./ExpenseReportsGetCashResponse.js"), exports);
|
|
21
|
+
__exportStar(require("./ExpenseReportsListCashResponse.js"), exports);
|
|
19
22
|
__exportStar(require("./OrdersCreateCashResponse.js"), exports);
|
|
20
23
|
__exportStar(require("./OrdersGetCashResponse.js"), exports);
|
|
21
24
|
__exportStar(require("./OrdersListCashResponse.js"), exports);
|
|
@@ -385,6 +385,184 @@ export declare class HrClient {
|
|
|
385
385
|
*/
|
|
386
386
|
incapacityCertificatesList(request?: NordletApi.IncapacityCertificatesListHrRequest, requestOptions?: HrClient.RequestOptions): core.HttpResponsePromise<NordletApi.IncapacityCertificatesListHrResponse>;
|
|
387
387
|
private __incapacityCertificatesList;
|
|
388
|
+
/**
|
|
389
|
+
* @param {NordletApi.PerDiemRatesCreateHrRequest} request
|
|
390
|
+
* @param {HrClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
391
|
+
*
|
|
392
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
393
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
394
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
395
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
396
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
397
|
+
* @throws {@link NordletApi.ConflictError}
|
|
398
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
399
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
400
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
401
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
402
|
+
*
|
|
403
|
+
* @example
|
|
404
|
+
* await client.hr.perDiemRatesCreate({
|
|
405
|
+
* countryCode: "countryCode",
|
|
406
|
+
* dailyAmount: "121.00",
|
|
407
|
+
* validFrom: "2026-07-01"
|
|
408
|
+
* })
|
|
409
|
+
*/
|
|
410
|
+
perDiemRatesCreate(request: NordletApi.PerDiemRatesCreateHrRequest, requestOptions?: HrClient.RequestOptions): core.HttpResponsePromise<NordletApi.PerDiemRatesCreateHrResponse>;
|
|
411
|
+
private __perDiemRatesCreate;
|
|
412
|
+
/**
|
|
413
|
+
* @param {NordletApi.PerDiemRatesListHrRequest} request
|
|
414
|
+
* @param {HrClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
415
|
+
*
|
|
416
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
417
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
418
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
419
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
420
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
421
|
+
* @throws {@link NordletApi.ConflictError}
|
|
422
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
423
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
424
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
425
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
426
|
+
*
|
|
427
|
+
* @example
|
|
428
|
+
* await client.hr.perDiemRatesList()
|
|
429
|
+
*/
|
|
430
|
+
perDiemRatesList(request?: NordletApi.PerDiemRatesListHrRequest, requestOptions?: HrClient.RequestOptions): core.HttpResponsePromise<NordletApi.PerDiemRatesListHrResponse>;
|
|
431
|
+
private __perDiemRatesList;
|
|
432
|
+
/**
|
|
433
|
+
* @param {NordletApi.PerDiemRatesDeleteHrRequest} request
|
|
434
|
+
* @param {HrClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
435
|
+
*
|
|
436
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
437
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
438
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
439
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
440
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
441
|
+
* @throws {@link NordletApi.ConflictError}
|
|
442
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
443
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
444
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
445
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
446
|
+
*
|
|
447
|
+
* @example
|
|
448
|
+
* await client.hr.perDiemRatesDelete({
|
|
449
|
+
* id: "id"
|
|
450
|
+
* })
|
|
451
|
+
*/
|
|
452
|
+
perDiemRatesDelete(request: NordletApi.PerDiemRatesDeleteHrRequest, requestOptions?: HrClient.RequestOptions): core.HttpResponsePromise<NordletApi.PerDiemRatesDeleteHrResponse>;
|
|
453
|
+
private __perDiemRatesDelete;
|
|
454
|
+
/**
|
|
455
|
+
* @param {NordletApi.BusinessTripsCreateHrRequest} request
|
|
456
|
+
* @param {HrClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
457
|
+
*
|
|
458
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
459
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
460
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
461
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
462
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
463
|
+
* @throws {@link NordletApi.ConflictError}
|
|
464
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
465
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
466
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
467
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
468
|
+
*
|
|
469
|
+
* @example
|
|
470
|
+
* await client.hr.businessTripsCreate({
|
|
471
|
+
* employeeId: "employeeId",
|
|
472
|
+
* destinationCountryCode: "destinationCountryCode",
|
|
473
|
+
* purpose: "purpose",
|
|
474
|
+
* startDate: "2026-07-01",
|
|
475
|
+
* endDate: "2026-07-01"
|
|
476
|
+
* })
|
|
477
|
+
*/
|
|
478
|
+
businessTripsCreate(request: NordletApi.BusinessTripsCreateHrRequest, requestOptions?: HrClient.RequestOptions): core.HttpResponsePromise<NordletApi.BusinessTripsCreateHrResponse>;
|
|
479
|
+
private __businessTripsCreate;
|
|
480
|
+
/**
|
|
481
|
+
* @param {NordletApi.BusinessTripsGetHrRequest} request
|
|
482
|
+
* @param {HrClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
483
|
+
*
|
|
484
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
485
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
486
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
487
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
488
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
489
|
+
* @throws {@link NordletApi.ConflictError}
|
|
490
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
491
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
492
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
493
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
494
|
+
*
|
|
495
|
+
* @example
|
|
496
|
+
* await client.hr.businessTripsGet({
|
|
497
|
+
* id: "id"
|
|
498
|
+
* })
|
|
499
|
+
*/
|
|
500
|
+
businessTripsGet(request: NordletApi.BusinessTripsGetHrRequest, requestOptions?: HrClient.RequestOptions): core.HttpResponsePromise<NordletApi.BusinessTripsGetHrResponse>;
|
|
501
|
+
private __businessTripsGet;
|
|
502
|
+
/**
|
|
503
|
+
* @param {NordletApi.BusinessTripsListHrRequest} request
|
|
504
|
+
* @param {HrClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
505
|
+
*
|
|
506
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
507
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
508
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
509
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
510
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
511
|
+
* @throws {@link NordletApi.ConflictError}
|
|
512
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
513
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
514
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
515
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
516
|
+
*
|
|
517
|
+
* @example
|
|
518
|
+
* await client.hr.businessTripsList()
|
|
519
|
+
*/
|
|
520
|
+
businessTripsList(request?: NordletApi.BusinessTripsListHrRequest, requestOptions?: HrClient.RequestOptions): core.HttpResponsePromise<NordletApi.BusinessTripsListHrResponse>;
|
|
521
|
+
private __businessTripsList;
|
|
522
|
+
/**
|
|
523
|
+
* @param {NordletApi.BusinessTripsApproveHrRequest} request
|
|
524
|
+
* @param {HrClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
525
|
+
*
|
|
526
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
527
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
528
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
529
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
530
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
531
|
+
* @throws {@link NordletApi.ConflictError}
|
|
532
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
533
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
534
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
535
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
536
|
+
*
|
|
537
|
+
* @example
|
|
538
|
+
* await client.hr.businessTripsApprove({
|
|
539
|
+
* id: "id"
|
|
540
|
+
* })
|
|
541
|
+
*/
|
|
542
|
+
businessTripsApprove(request: NordletApi.BusinessTripsApproveHrRequest, requestOptions?: HrClient.RequestOptions): core.HttpResponsePromise<NordletApi.BusinessTripsApproveHrResponse>;
|
|
543
|
+
private __businessTripsApprove;
|
|
544
|
+
/**
|
|
545
|
+
* @param {NordletApi.BusinessTripsDeleteHrRequest} request
|
|
546
|
+
* @param {HrClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
547
|
+
*
|
|
548
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
549
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
550
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
551
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
552
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
553
|
+
* @throws {@link NordletApi.ConflictError}
|
|
554
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
555
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
556
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
557
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
558
|
+
*
|
|
559
|
+
* @example
|
|
560
|
+
* await client.hr.businessTripsDelete({
|
|
561
|
+
* id: "id"
|
|
562
|
+
* })
|
|
563
|
+
*/
|
|
564
|
+
businessTripsDelete(request: NordletApi.BusinessTripsDeleteHrRequest, requestOptions?: HrClient.RequestOptions): core.HttpResponsePromise<NordletApi.BusinessTripsDeleteHrResponse>;
|
|
565
|
+
private __businessTripsDelete;
|
|
388
566
|
/**
|
|
389
567
|
* @param {NordletApi.EmployeesRecordsCreateHrRequest} request
|
|
390
568
|
* @param {HrClient.RequestOptions} requestOptions - Request-specific configuration.
|