nordlet 0.3.7 → 0.3.8

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.
Files changed (132) hide show
  1. package/README.md +2 -2
  2. package/dist/api/resources/agreements/types/AgreementsListAgreementsResponse.d.ts +2 -0
  3. package/dist/api/resources/agreements/types/InsurancePoliciesListAgreementsResponse.d.ts +2 -0
  4. package/dist/api/resources/agreements/types/TypesListAgreementsResponse.d.ts +2 -0
  5. package/dist/api/resources/assets/types/AssetsListAssetsResponse.d.ts +2 -0
  6. package/dist/api/resources/assets/types/GroupsListAssetsResponse.d.ts +2 -0
  7. package/dist/api/resources/audit/types/ListAuditResponse.d.ts +2 -0
  8. package/dist/api/resources/bank/client/Client.d.ts +20 -0
  9. package/dist/api/resources/bank/client/Client.js +78 -0
  10. package/dist/api/resources/bank/client/requests/DirectDebitsCandidatesBankRequest.d.ts +48 -0
  11. package/dist/api/resources/bank/client/requests/DirectDebitsCandidatesBankRequest.js +31 -0
  12. package/dist/api/resources/bank/client/requests/index.d.ts +1 -0
  13. package/dist/api/resources/bank/client/requests/index.js +3 -1
  14. package/dist/api/resources/bank/types/AccountsListBankResponse.d.ts +2 -0
  15. package/dist/api/resources/bank/types/DirectDebitsCandidatesBankResponse.d.ts +29 -0
  16. package/dist/api/resources/bank/types/DirectDebitsCandidatesBankResponse.js +3 -0
  17. package/dist/api/resources/bank/types/FeedsConnectionsListBankResponse.d.ts +2 -0
  18. package/dist/api/resources/bank/types/ImportTemplatesListBankResponse.d.ts +2 -0
  19. package/dist/api/resources/bank/types/MandatesListBankResponse.d.ts +2 -0
  20. package/dist/api/resources/bank/types/SettlementsListBankResponse.d.ts +2 -0
  21. package/dist/api/resources/bank/types/TransactionsListBankResponse.d.ts +2 -0
  22. package/dist/api/resources/bank/types/index.d.ts +1 -0
  23. package/dist/api/resources/bank/types/index.js +1 -0
  24. package/dist/api/resources/capture/types/DocumentsListCaptureResponse.d.ts +2 -0
  25. package/dist/api/resources/cash/types/OrdersListCashResponse.d.ts +2 -0
  26. package/dist/api/resources/catalog/types/ItemsListCatalogResponse.d.ts +2 -0
  27. package/dist/api/resources/declarations/client/Client.d.ts +1 -1
  28. package/dist/api/resources/declarations/client/Client.js +1 -1
  29. package/dist/api/resources/declarations/types/SubmissionsListDeclarationsResponse.d.ts +2 -0
  30. package/dist/api/resources/documentSeries/types/ListDocumentSeriesResponse.d.ts +2 -0
  31. package/dist/api/resources/ecommerce/types/OrdersListEcommerceResponse.d.ts +2 -0
  32. package/dist/api/resources/files/types/ListFilesResponse.d.ts +2 -0
  33. package/dist/api/resources/fleet/types/AssignmentsListFleetResponse.d.ts +2 -0
  34. package/dist/api/resources/fleet/types/VehiclesListFleetResponse.d.ts +2 -0
  35. package/dist/api/resources/hr/types/ContractsListHrResponse.d.ts +2 -0
  36. package/dist/api/resources/hr/types/EmployeesListHrResponse.d.ts +2 -0
  37. package/dist/api/resources/hr/types/EmployeesRecordsListHrResponse.d.ts +2 -0
  38. package/dist/api/resources/hr/types/IncapacityCertificatesListHrResponse.d.ts +2 -0
  39. package/dist/api/resources/hr/types/PositionsListHrResponse.d.ts +2 -0
  40. package/dist/api/resources/inventory/types/LandedCostsListInventoryResponse.d.ts +2 -0
  41. package/dist/api/resources/inventory/types/LotsListInventoryResponse.d.ts +2 -0
  42. package/dist/api/resources/inventory/types/ReorderRulesListInventoryResponse.d.ts +2 -0
  43. package/dist/api/resources/inventory/types/StockMovementsListInventoryResponse.d.ts +2 -0
  44. package/dist/api/resources/inventory/types/WarehousesListInventoryResponse.d.ts +2 -0
  45. package/dist/api/resources/leads/client/Client.d.ts +106 -0
  46. package/dist/api/resources/leads/client/Client.js +381 -0
  47. package/dist/api/resources/leads/client/requests/CreateLeadsRequest.d.ts +1 -0
  48. package/dist/api/resources/leads/client/requests/TypesCreateLeadsRequest.d.ts +10 -0
  49. package/dist/api/resources/leads/client/requests/TypesCreateLeadsRequest.js +3 -0
  50. package/dist/api/resources/leads/client/requests/TypesDeleteLeadsRequest.d.ts +9 -0
  51. package/dist/api/resources/leads/client/requests/TypesDeleteLeadsRequest.js +3 -0
  52. package/dist/api/resources/leads/client/requests/TypesListLeadsRequest.d.ts +5 -0
  53. package/dist/api/resources/leads/client/requests/TypesListLeadsRequest.js +3 -0
  54. package/dist/api/resources/leads/client/requests/TypesOptionsLeadsRequest.d.ts +5 -0
  55. package/dist/api/resources/leads/client/requests/TypesOptionsLeadsRequest.js +3 -0
  56. package/dist/api/resources/leads/client/requests/TypesUpdateLeadsRequest.d.ts +11 -0
  57. package/dist/api/resources/leads/client/requests/TypesUpdateLeadsRequest.js +3 -0
  58. package/dist/api/resources/leads/client/requests/UpdateLeadsRequest.d.ts +1 -0
  59. package/dist/api/resources/leads/client/requests/index.d.ts +5 -0
  60. package/dist/api/resources/leads/types/ConvertLeadsResponse.d.ts +2 -0
  61. package/dist/api/resources/leads/types/CreateLeadsResponse.d.ts +2 -0
  62. package/dist/api/resources/leads/types/GetLeadsResponse.d.ts +2 -0
  63. package/dist/api/resources/leads/types/ListLeadsResponse.d.ts +4 -0
  64. package/dist/api/resources/leads/types/TypesCreateLeadsResponse.d.ts +6 -0
  65. package/dist/api/resources/leads/types/TypesCreateLeadsResponse.js +3 -0
  66. package/dist/api/resources/leads/types/TypesDeleteLeadsResponse.d.ts +3 -0
  67. package/dist/api/resources/leads/types/TypesDeleteLeadsResponse.js +3 -0
  68. package/dist/api/resources/leads/types/TypesListLeadsResponse.d.ts +14 -0
  69. package/dist/api/resources/leads/types/TypesListLeadsResponse.js +3 -0
  70. package/dist/api/resources/leads/types/TypesOptionsLeadsResponse.d.ts +12 -0
  71. package/dist/api/resources/leads/types/TypesOptionsLeadsResponse.js +3 -0
  72. package/dist/api/resources/leads/types/TypesUpdateLeadsResponse.d.ts +6 -0
  73. package/dist/api/resources/leads/types/TypesUpdateLeadsResponse.js +3 -0
  74. package/dist/api/resources/leads/types/UpdateLeadsResponse.d.ts +2 -0
  75. package/dist/api/resources/leads/types/index.d.ts +5 -0
  76. package/dist/api/resources/leads/types/index.js +5 -0
  77. package/dist/api/resources/ledger/types/AccountsListLedgerResponse.d.ts +2 -0
  78. package/dist/api/resources/ledger/types/CostCenterGroupsListLedgerResponse.d.ts +2 -0
  79. package/dist/api/resources/ledger/types/CostCentersListLedgerResponse.d.ts +2 -0
  80. package/dist/api/resources/ledger/types/JournalTransactionsListLedgerResponse.d.ts +3 -0
  81. package/dist/api/resources/ledger/types/OwnersListLedgerResponse.d.ts +2 -0
  82. package/dist/api/resources/ledger/types/PeriodsListLedgerResponse.d.ts +2 -0
  83. package/dist/api/resources/migration/client/Client.d.ts +1 -1
  84. package/dist/api/resources/migration/client/Client.js +1 -1
  85. package/dist/api/resources/operationTypes/types/ListOperationTypesResponse.d.ts +2 -0
  86. package/dist/api/resources/partners/types/AddressesListPartnersResponse.d.ts +2 -0
  87. package/dist/api/resources/partners/types/BankAccountsListPartnersResponse.d.ts +2 -0
  88. package/dist/api/resources/partners/types/ContactsListPartnersResponse.d.ts +2 -0
  89. package/dist/api/resources/partners/types/DebtRemindersListPartnersResponse.d.ts +2 -0
  90. package/dist/api/resources/partners/types/DebtRemindersPreviewPartnersResponse.d.ts +10 -3
  91. package/dist/api/resources/partners/types/InquiriesListPartnersResponse.d.ts +2 -0
  92. package/dist/api/resources/partners/types/ListPartnersResponse.d.ts +2 -0
  93. package/dist/api/resources/partners/types/VatReviewsListPartnersResponse.d.ts +2 -0
  94. package/dist/api/resources/payroll/client/requests/RunsCreatePayrollRequest.d.ts +1 -0
  95. package/dist/api/resources/payroll/types/RunsApprovePayrollResponse.d.ts +1 -0
  96. package/dist/api/resources/payroll/types/RunsCreatePayrollResponse.d.ts +1 -0
  97. package/dist/api/resources/payroll/types/RunsGetPayrollResponse.d.ts +1 -0
  98. package/dist/api/resources/payroll/types/RunsListPayrollResponse.d.ts +3 -0
  99. package/dist/api/resources/pos/types/DevicesListPosResponse.d.ts +2 -0
  100. package/dist/api/resources/pos/types/ReportsListPosResponse.d.ts +2 -0
  101. package/dist/api/resources/production/types/BomsListProductionResponse.d.ts +2 -0
  102. package/dist/api/resources/production/types/MaintenanceListProductionResponse.d.ts +2 -0
  103. package/dist/api/resources/production/types/OrdersListProductionResponse.d.ts +2 -0
  104. package/dist/api/resources/production/types/QualityChecksListProductionResponse.d.ts +2 -0
  105. package/dist/api/resources/production/types/RoutingsListProductionResponse.d.ts +2 -0
  106. package/dist/api/resources/production/types/WorkCentersListProductionResponse.d.ts +2 -0
  107. package/dist/api/resources/projects/types/ListProjectsResponse.d.ts +2 -0
  108. package/dist/api/resources/projects/types/TimeEntriesListProjectsResponse.d.ts +2 -0
  109. package/dist/api/resources/purchases/types/InvoicesListPurchasesResponse.d.ts +2 -0
  110. package/dist/api/resources/purchases/types/OrdersListPurchasesResponse.d.ts +2 -0
  111. package/dist/api/resources/purchases/types/ReceiptsListPurchasesResponse.d.ts +2 -0
  112. package/dist/api/resources/reference/types/BanksListReferenceResponse.d.ts +2 -0
  113. package/dist/api/resources/reference/types/CnCodesListReferenceResponse.d.ts +2 -0
  114. package/dist/api/resources/reference/types/CurrenciesListReferenceResponse.d.ts +2 -0
  115. package/dist/api/resources/reference/types/ExchangeRatesListReferenceResponse.d.ts +2 -0
  116. package/dist/api/resources/reference/types/ExchangeRatesOverridesListReferenceResponse.d.ts +2 -0
  117. package/dist/api/resources/reference/types/SeriesListReferenceResponse.d.ts +2 -0
  118. package/dist/api/resources/reference/types/UnitsListReferenceResponse.d.ts +2 -0
  119. package/dist/api/resources/reference/types/VatClassifiersListReferenceResponse.d.ts +2 -0
  120. package/dist/api/resources/reports/types/JobsListReportsResponse.d.ts +2 -0
  121. package/dist/api/resources/reports/types/PartnerBalancesReportsResponse.d.ts +5 -0
  122. package/dist/api/resources/sales/types/ActsListSalesResponse.d.ts +2 -0
  123. package/dist/api/resources/sales/types/InvoicesEinvoiceSendSalesResponse.d.ts +1 -1
  124. package/dist/api/resources/sales/types/InvoicesListSalesResponse.d.ts +2 -0
  125. package/dist/api/resources/sales/types/InvoicesPeppolSendSalesResponse.d.ts +1 -1
  126. package/dist/api/resources/sales/types/RecognitionRunsListSalesResponse.d.ts +2 -0
  127. package/dist/api/resources/sales/types/RecognitionSchedulesListSalesResponse.d.ts +2 -0
  128. package/dist/api/resources/sales/types/RefundLiabilityListSalesResponse.d.ts +2 -0
  129. package/dist/api/resources/transport/types/WaybillsListTransportResponse.d.ts +2 -0
  130. package/dist/api/resources/webhooks/types/DeliveriesListWebhooksResponse.d.ts +2 -0
  131. package/dist/api/resources/webhooks/types/SubscriptionsListWebhooksResponse.d.ts +2 -0
  132. package/package.json +1 -1
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=Nordlet%2FTypeScript)
4
4
  [![npm shield](https://img.shields.io/npm/v/nordlet)](https://www.npmjs.com/package/nordlet)
5
5
 
6
- The Nordlet TypeScript library provides convenient access to the Nordlet Accounting API from TypeScript and JavaScript (Node.js ≥ 18, browsers, and edge runtimes — anywhere `fetch` is available).
6
+ The Nordlet TypeScript library provides convenient access to the Nordlet Accounting API from TypeScript and JavaScript (Node.js ≥ 18, browsers, and edge runtimes - anywhere `fetch` is available).
7
7
 
8
8
  ## Installation
9
9
 
@@ -53,7 +53,7 @@ await client.sales.postV1SalesInvoicesList({}, { maxRetries: 5, timeoutInSeconds
53
53
 
54
54
  ## Documentation
55
55
 
56
- The full API reference lives at [docs.nordlet.com](https://docs.nordlet.com) — every endpoint, request/response schema, error envelope, idempotency and webhook conventions.
56
+ The full API reference lives at [docs.nordlet.com](https://docs.nordlet.com) - every endpoint, request/response schema, error envelope, idempotency and webhook conventions.
57
57
 
58
58
  ## Contributing
59
59
 
@@ -4,6 +4,8 @@ export interface AgreementsListAgreementsResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace AgreementsListAgreementsResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface InsurancePoliciesListAgreementsResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace InsurancePoliciesListAgreementsResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface TypesListAgreementsResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace TypesListAgreementsResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface AssetsListAssetsResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace AssetsListAssetsResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface GroupsListAssetsResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace GroupsListAssetsResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface ListAuditResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace ListAuditResponse {
9
11
  type Rows = Rows.Item[];
@@ -546,6 +546,26 @@ export declare class BankClient {
546
546
  */
547
547
  mandatesList(request?: NordletApi.MandatesListBankRequest, requestOptions?: BankClient.RequestOptions): core.HttpResponsePromise<NordletApi.MandatesListBankResponse>;
548
548
  private __mandatesList;
549
+ /**
550
+ * @param {NordletApi.DirectDebitsCandidatesBankRequest} request
551
+ * @param {BankClient.RequestOptions} requestOptions - Request-specific configuration.
552
+ *
553
+ * @throws {@link NordletApi.BadRequestError}
554
+ * @throws {@link NordletApi.UnauthorizedError}
555
+ * @throws {@link NordletApi.PaymentRequiredError}
556
+ * @throws {@link NordletApi.ForbiddenError}
557
+ * @throws {@link NordletApi.NotFoundError}
558
+ * @throws {@link NordletApi.ConflictError}
559
+ * @throws {@link NordletApi.ContentTooLargeError}
560
+ * @throws {@link NordletApi.UnprocessableEntityError}
561
+ * @throws {@link NordletApi.TooManyRequestsError}
562
+ * @throws {@link NordletApi.InternalServerError}
563
+ *
564
+ * @example
565
+ * await client.bank.directDebitsCandidates()
566
+ */
567
+ directDebitsCandidates(request?: NordletApi.DirectDebitsCandidatesBankRequest, requestOptions?: BankClient.RequestOptions): core.HttpResponsePromise<NordletApi.DirectDebitsCandidatesBankResponse>;
568
+ private __directDebitsCandidates;
549
569
  /**
550
570
  * @param {NordletApi.DirectDebitsExportBankRequest} request
551
571
  * @param {BankClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -1966,6 +1966,84 @@ class BankClient {
1966
1966
  }
1967
1967
  return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/bank/mandates/list");
1968
1968
  }
1969
+ /**
1970
+ * @param {NordletApi.DirectDebitsCandidatesBankRequest} request
1971
+ * @param {BankClient.RequestOptions} requestOptions - Request-specific configuration.
1972
+ *
1973
+ * @throws {@link NordletApi.BadRequestError}
1974
+ * @throws {@link NordletApi.UnauthorizedError}
1975
+ * @throws {@link NordletApi.PaymentRequiredError}
1976
+ * @throws {@link NordletApi.ForbiddenError}
1977
+ * @throws {@link NordletApi.NotFoundError}
1978
+ * @throws {@link NordletApi.ConflictError}
1979
+ * @throws {@link NordletApi.ContentTooLargeError}
1980
+ * @throws {@link NordletApi.UnprocessableEntityError}
1981
+ * @throws {@link NordletApi.TooManyRequestsError}
1982
+ * @throws {@link NordletApi.InternalServerError}
1983
+ *
1984
+ * @example
1985
+ * await client.bank.directDebitsCandidates()
1986
+ */
1987
+ directDebitsCandidates(request = {}, requestOptions) {
1988
+ return core.HttpResponsePromise.fromPromise(this.__directDebitsCandidates(request, requestOptions));
1989
+ }
1990
+ async __directDebitsCandidates(request = {}, requestOptions) {
1991
+ const _authRequest = await this._options.authProvider.getAuthRequest();
1992
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
1993
+ const _response = await core.fetcher({
1994
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
1995
+ (await core.Supplier.get(this._options.environment)) ??
1996
+ environments.NordletApiEnvironment.Production, "v1/bank/direct-debits/candidates"),
1997
+ method: "POST",
1998
+ headers: _headers,
1999
+ contentType: "application/json",
2000
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
2001
+ requestType: "json",
2002
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
2003
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
2004
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
2005
+ abortSignal: requestOptions?.abortSignal,
2006
+ fetchFn: this._options?.fetch,
2007
+ logging: this._options.logging,
2008
+ });
2009
+ if (_response.ok) {
2010
+ return {
2011
+ data: _response.body,
2012
+ rawResponse: _response.rawResponse,
2013
+ };
2014
+ }
2015
+ if (_response.error.reason === "status-code") {
2016
+ switch (_response.error.statusCode) {
2017
+ case 400:
2018
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
2019
+ case 401:
2020
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
2021
+ case 402:
2022
+ throw new NordletApi.PaymentRequiredError(_response.error.body, _response.rawResponse);
2023
+ case 403:
2024
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
2025
+ case 404:
2026
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
2027
+ case 409:
2028
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
2029
+ case 413:
2030
+ throw new NordletApi.ContentTooLargeError(_response.error.body, _response.rawResponse);
2031
+ case 422:
2032
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
2033
+ case 429:
2034
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
2035
+ case 500:
2036
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
2037
+ default:
2038
+ throw new errors.NordletApiError({
2039
+ statusCode: _response.error.statusCode,
2040
+ body: _response.error.body,
2041
+ rawResponse: _response.rawResponse,
2042
+ });
2043
+ }
2044
+ }
2045
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/bank/direct-debits/candidates");
2046
+ }
1969
2047
  /**
1970
2048
  * @param {NordletApi.DirectDebitsExportBankRequest} request
1971
2049
  * @param {BankClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -0,0 +1,48 @@
1
+ /**
2
+ * @example
3
+ * {}
4
+ */
5
+ export interface DirectDebitsCandidatesBankRequest {
6
+ page?: number;
7
+ pageSize?: number;
8
+ sort?: DirectDebitsCandidatesBankRequest.Sort.Item[];
9
+ filter?: DirectDebitsCandidatesBankRequest.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 DirectDebitsCandidatesBankRequest {
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.DirectDebitsCandidatesBankRequest = void 0;
5
+ var DirectDebitsCandidatesBankRequest;
6
+ (function (DirectDebitsCandidatesBankRequest) {
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 = DirectDebitsCandidatesBankRequest.Sort || (DirectDebitsCandidatesBankRequest.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 = DirectDebitsCandidatesBankRequest.Filter || (DirectDebitsCandidatesBankRequest.Filter = {}));
31
+ })(DirectDebitsCandidatesBankRequest || (exports.DirectDebitsCandidatesBankRequest = DirectDebitsCandidatesBankRequest = {}));
@@ -1,6 +1,7 @@
1
1
  export type { AccountsCreateBankRequest } from "./AccountsCreateBankRequest.js";
2
2
  export { AccountsListBankRequest } from "./AccountsListBankRequest.js";
3
3
  export type { AccountsUpdateBankRequest } from "./AccountsUpdateBankRequest.js";
4
+ export { DirectDebitsCandidatesBankRequest } from "./DirectDebitsCandidatesBankRequest.js";
4
5
  export type { DirectDebitsExportBankRequest } from "./DirectDebitsExportBankRequest.js";
5
6
  export { FeedsAccountsConfigureBankRequest } from "./FeedsAccountsConfigureBankRequest.js";
6
7
  export type { FeedsAccountsLinkBankRequest } from "./FeedsAccountsLinkBankRequest.js";
@@ -1,8 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TransactionsRecordBankRequest = exports.TransactionsMatchBankRequest = exports.TransactionsListBankRequest = exports.StatementsImportBankRequest = exports.SettlementsListBankRequest = exports.SettlementsImportBankRequest = exports.MandatesListBankRequest = exports.MandatesCreateBankRequest = exports.ImportTemplatesUpdateBankRequest = exports.ImportTemplatesListBankRequest = exports.ImportTemplatesCreateBankRequest = exports.FeedsConnectionsStartBankRequest = exports.FeedsConnectionsListBankRequest = exports.FeedsAccountsConfigureBankRequest = exports.AccountsListBankRequest = void 0;
3
+ exports.TransactionsRecordBankRequest = exports.TransactionsMatchBankRequest = exports.TransactionsListBankRequest = exports.StatementsImportBankRequest = exports.SettlementsListBankRequest = exports.SettlementsImportBankRequest = exports.MandatesListBankRequest = exports.MandatesCreateBankRequest = exports.ImportTemplatesUpdateBankRequest = exports.ImportTemplatesListBankRequest = exports.ImportTemplatesCreateBankRequest = exports.FeedsConnectionsStartBankRequest = exports.FeedsConnectionsListBankRequest = exports.FeedsAccountsConfigureBankRequest = exports.DirectDebitsCandidatesBankRequest = exports.AccountsListBankRequest = void 0;
4
4
  var AccountsListBankRequest_js_1 = require("./AccountsListBankRequest.js");
5
5
  Object.defineProperty(exports, "AccountsListBankRequest", { enumerable: true, get: function () { return AccountsListBankRequest_js_1.AccountsListBankRequest; } });
6
+ var DirectDebitsCandidatesBankRequest_js_1 = require("./DirectDebitsCandidatesBankRequest.js");
7
+ Object.defineProperty(exports, "DirectDebitsCandidatesBankRequest", { enumerable: true, get: function () { return DirectDebitsCandidatesBankRequest_js_1.DirectDebitsCandidatesBankRequest; } });
6
8
  var FeedsAccountsConfigureBankRequest_js_1 = require("./FeedsAccountsConfigureBankRequest.js");
7
9
  Object.defineProperty(exports, "FeedsAccountsConfigureBankRequest", { enumerable: true, get: function () { return FeedsAccountsConfigureBankRequest_js_1.FeedsAccountsConfigureBankRequest; } });
8
10
  var FeedsConnectionsListBankRequest_js_1 = require("./FeedsConnectionsListBankRequest.js");
@@ -4,6 +4,8 @@ export interface AccountsListBankResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace AccountsListBankResponse {
9
11
  type Rows = Rows.Item[];
@@ -0,0 +1,29 @@
1
+ export interface DirectDebitsCandidatesBankResponse {
2
+ rows: DirectDebitsCandidatesBankResponse.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 DirectDebitsCandidatesBankResponse {
11
+ type Rows = Rows.Item[];
12
+ namespace Rows {
13
+ interface Item {
14
+ id: string;
15
+ fullNumber: string | null;
16
+ issueDate: string | null;
17
+ dueDate: string | null;
18
+ partnerId: string;
19
+ partnerName: string | null;
20
+ currency: string;
21
+ grossTotal: string;
22
+ paidAmount: string;
23
+ remaining: string;
24
+ mandateId: string | null;
25
+ mandateReference: string | null;
26
+ mandateSignatureDate: string | null;
27
+ }
28
+ }
29
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -4,6 +4,8 @@ export interface FeedsConnectionsListBankResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace FeedsConnectionsListBankResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface ImportTemplatesListBankResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace ImportTemplatesListBankResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface MandatesListBankResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace MandatesListBankResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface SettlementsListBankResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace SettlementsListBankResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface TransactionsListBankResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace TransactionsListBankResponse {
9
11
  type Rows = Rows.Item[];
@@ -1,6 +1,7 @@
1
1
  export * from "./AccountsCreateBankResponse.js";
2
2
  export * from "./AccountsListBankResponse.js";
3
3
  export * from "./AccountsUpdateBankResponse.js";
4
+ export * from "./DirectDebitsCandidatesBankResponse.js";
4
5
  export * from "./DirectDebitsExportBankResponse.js";
5
6
  export * from "./FeedsAccountsConfigureBankResponse.js";
6
7
  export * from "./FeedsAccountsLinkBankResponse.js";
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./AccountsCreateBankResponse.js"), exports);
18
18
  __exportStar(require("./AccountsListBankResponse.js"), exports);
19
19
  __exportStar(require("./AccountsUpdateBankResponse.js"), exports);
20
+ __exportStar(require("./DirectDebitsCandidatesBankResponse.js"), exports);
20
21
  __exportStar(require("./DirectDebitsExportBankResponse.js"), exports);
21
22
  __exportStar(require("./FeedsAccountsConfigureBankResponse.js"), exports);
22
23
  __exportStar(require("./FeedsAccountsLinkBankResponse.js"), exports);
@@ -4,6 +4,8 @@ export interface DocumentsListCaptureResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace DocumentsListCaptureResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface OrdersListCashResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace OrdersListCashResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface ItemsListCatalogResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace ItemsListCatalogResponse {
9
11
  type Rows = Rows.Item[];
@@ -1370,7 +1370,7 @@ export declare class DeclarationsClient {
1370
1370
  ieCt1Generate(request: NordletApi.IeCt1GenerateDeclarationsRequest, requestOptions?: DeclarationsClient.RequestOptions): core.HttpResponsePromise<NordletApi.IeCt1GenerateDeclarationsResponse>;
1371
1371
  private __ieCt1Generate;
1372
1372
  /**
1373
- * Build the working paper for the Form B1 annual return of a financial year — company details, registered office, directors and secretary from Settings → Officers, the members from Settings → Shareholders, the issued share capital and the figures of the financial statements — in the order the CORE screens ask for them. The CRO publishes no file format for the B1, so it is keyed into CORE.
1373
+ * Build the working paper for the Form B1 annual return of a financial year - company details, registered office, directors and secretary from Settings → Officers, the members from Settings → Shareholders, the issued share capital and the figures of the financial statements - in the order the CORE screens ask for them. The CRO publishes no file format for the B1, so it is keyed into CORE.
1374
1374
  *
1375
1375
  * @param {NordletApi.IeB1GenerateDeclarationsRequest} request
1376
1376
  * @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -4771,7 +4771,7 @@ class DeclarationsClient {
4771
4771
  return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/declarations/ie/ct1/generate");
4772
4772
  }
4773
4773
  /**
4774
- * Build the working paper for the Form B1 annual return of a financial year — company details, registered office, directors and secretary from Settings → Officers, the members from Settings → Shareholders, the issued share capital and the figures of the financial statements — in the order the CORE screens ask for them. The CRO publishes no file format for the B1, so it is keyed into CORE.
4774
+ * Build the working paper for the Form B1 annual return of a financial year - company details, registered office, directors and secretary from Settings → Officers, the members from Settings → Shareholders, the issued share capital and the figures of the financial statements - in the order the CORE screens ask for them. The CRO publishes no file format for the B1, so it is keyed into CORE.
4775
4775
  *
4776
4776
  * @param {NordletApi.IeB1GenerateDeclarationsRequest} request
4777
4777
  * @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -4,6 +4,8 @@ export interface SubmissionsListDeclarationsResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace SubmissionsListDeclarationsResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface ListDocumentSeriesResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace ListDocumentSeriesResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface OrdersListEcommerceResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace OrdersListEcommerceResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface ListFilesResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace ListFilesResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface AssignmentsListFleetResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace AssignmentsListFleetResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface VehiclesListFleetResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace VehiclesListFleetResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface ContractsListHrResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace ContractsListHrResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface EmployeesListHrResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace EmployeesListHrResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface EmployeesRecordsListHrResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace EmployeesRecordsListHrResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface IncapacityCertificatesListHrResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace IncapacityCertificatesListHrResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface PositionsListHrResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace PositionsListHrResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface LandedCostsListInventoryResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace LandedCostsListInventoryResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface LotsListInventoryResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace LotsListInventoryResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface ReorderRulesListInventoryResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace ReorderRulesListInventoryResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface StockMovementsListInventoryResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace StockMovementsListInventoryResponse {
9
11
  type Rows = Rows.Item[];
@@ -4,6 +4,8 @@ export interface WarehousesListInventoryResponse {
4
4
  pageSize: number;
5
5
  total: number;
6
6
  totals?: Record<string, string> | undefined;
7
+ /** The requested totals split by currency code, present when the listed records carry a currency */
8
+ totalsByCurrency?: Record<string, Record<string, string>> | undefined;
7
9
  }
8
10
  export declare namespace WarehousesListInventoryResponse {
9
11
  type Rows = Rows.Item[];