@gewis/sudosos-client 0.0.0-develop.d4ebe23 → 0.0.0-develop.da5f142

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.js CHANGED
@@ -13,15 +13,21 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.PayoutRequestsApiAxiosParamCreator = exports.GetAllInvoicesCurrentStateEnum = exports.InvoicesApi = exports.InvoicesApiFactory = exports.InvoicesApiFp = exports.InvoicesApiAxiosParamCreator = exports.InactiveAdministrativeCostsApi = exports.InactiveAdministrativeCostsApiFactory = exports.InactiveAdministrativeCostsApiFp = exports.InactiveAdministrativeCostsApiAxiosParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiAxiosParamCreator = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = exports.GetFineReportPdfFileTypeEnum = exports.DebtorsApi = exports.DebtorsApiFactory = exports.DebtorsApiFp = exports.DebtorsApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.BannersApi = exports.BannersApiFactory = exports.BannersApiFp = exports.BannersApiAxiosParamCreator = exports.GetAllBalanceOrderDirectionEnum = exports.GetAllBalanceUserTypesEnum = exports.BalanceApi = exports.BalanceApiFactory = exports.BalanceApiFp = exports.BalanceApiAxiosParamCreator = exports.AuthenticateApi = exports.AuthenticateApiFactory = exports.AuthenticateApiFp = exports.AuthenticateApiAxiosParamCreator = exports.UserSettingsResponseLanguageEnum = exports.UpdateInvoiceRequestStateEnum = exports.QRStatusResponseStatusEnum = exports.PayoutRequestStatusRequestStateEnum = exports.PayoutRequestResponseStatusEnum = exports.PatchUserSettingsRequestLanguageEnum = exports.InvoiceStatusResponseStateEnum = exports.FinancialMutationResponseTypeEnum = exports.BasePayoutRequestResponseStatusEnum = void 0;
17
- exports.TransactionSummariesApiFp = exports.TransactionSummariesApiAxiosParamCreator = exports.TestOperationsOfTheTestControllerApi = exports.TestOperationsOfTheTestControllerApiFactory = exports.TestOperationsOfTheTestControllerApiFp = exports.TestOperationsOfTheTestControllerApiAxiosParamCreator = exports.TermsOfServiceApi = exports.TermsOfServiceApiFactory = exports.TermsOfServiceApiFp = exports.TermsOfServiceApiAxiosParamCreator = exports.GetUserSyncResultsServiceEnum = exports.SyncApi = exports.SyncApiFactory = exports.SyncApiFp = exports.SyncApiAxiosParamCreator = exports.StripeApi = exports.StripeApiFactory = exports.StripeApiFp = exports.StripeApiAxiosParamCreator = exports.ServerSettingsApi = exports.ServerSettingsApiFactory = exports.ServerSettingsApiFp = exports.ServerSettingsApiAxiosParamCreator = exports.SellerPayoutsApi = exports.SellerPayoutsApiFactory = exports.SellerPayoutsApiFp = exports.SellerPayoutsApiAxiosParamCreator = exports.RootApi = exports.RootApiFactory = exports.RootApiFp = exports.RootApiAxiosParamCreator = exports.RbacApi = exports.RbacApiFactory = exports.RbacApiFp = exports.RbacApiAxiosParamCreator = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.ProductCategoriesApi = exports.ProductCategoriesApiFactory = exports.ProductCategoriesApiFp = exports.ProductCategoriesApiAxiosParamCreator = exports.PointofsaleApi = exports.PointofsaleApiFactory = exports.PointofsaleApiFp = exports.PointofsaleApiAxiosParamCreator = exports.PayoutRequestsApi = exports.PayoutRequestsApiFactory = exports.PayoutRequestsApiFp = void 0;
18
- exports.WriteoffsApi = exports.WriteoffsApiFactory = exports.WriteoffsApiFp = exports.WriteoffsApiAxiosParamCreator = exports.VouchergroupsApi = exports.VouchergroupsApiFactory = exports.VouchergroupsApiFp = exports.VouchergroupsApiAxiosParamCreator = exports.VatGroupsApi = exports.VatGroupsApiFactory = exports.VatGroupsApiFp = exports.VatGroupsApiAxiosParamCreator = exports.GetUsersSalesReportPdfFileTypeEnum = exports.GetUsersPurchaseReportPdfFileTypeEnum = exports.GetAllUsersTypeEnum = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserNotificationPreferencesApi = exports.UserNotificationPreferencesApiFactory = exports.UserNotificationPreferencesApiFp = exports.UserNotificationPreferencesApiAxiosParamCreator = exports.TransfersApi = exports.TransfersApiFactory = exports.TransfersApiFp = exports.TransfersApiAxiosParamCreator = exports.TransactionsApi = exports.TransactionsApiFactory = exports.TransactionsApiFp = exports.TransactionsApiAxiosParamCreator = exports.TransactionSummariesApi = exports.TransactionSummariesApiFactory = void 0;
16
+ exports.InvoicesApiFactory = exports.InvoicesApiFp = exports.InvoicesApiAxiosParamCreator = exports.InactiveAdministrativeCostsApi = exports.InactiveAdministrativeCostsApiFactory = exports.InactiveAdministrativeCostsApiFp = exports.InactiveAdministrativeCostsApiAxiosParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiAxiosParamCreator = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = exports.GetFineReportPdfFileTypeEnum = exports.DebtorsApi = exports.DebtorsApiFactory = exports.DebtorsApiFp = exports.DebtorsApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.BannersApi = exports.BannersApiFactory = exports.BannersApiFp = exports.BannersApiAxiosParamCreator = exports.GetAllBalanceOrderDirectionEnum = exports.BalanceApi = exports.BalanceApiFactory = exports.BalanceApiFp = exports.BalanceApiAxiosParamCreator = exports.AuthenticateApi = exports.AuthenticateApiFactory = exports.AuthenticateApiFp = exports.AuthenticateApiAxiosParamCreator = exports.UserType = exports.UserSettingsResponseLanguageEnum = exports.UpdateInvoiceRequestStateEnum = exports.QRStatusResponseStatusEnum = exports.PublicPaymentRequestResponseStatusEnum = exports.PayoutRequestStatusRequestStateEnum = exports.PayoutRequestResponseStatusEnum = exports.PatchUserSettingsRequestLanguageEnum = exports.InvoiceStatusResponseStateEnum = exports.GetAllInvoicesCurrentStateParameterInner = exports.FinancialMutationResponseTypeEnum = exports.BasePayoutRequestResponseStatusEnum = exports.BasePaymentRequestResponseStatusEnum = void 0;
17
+ exports.TestOperationsOfTheTestControllerApi = exports.TestOperationsOfTheTestControllerApiFactory = exports.TestOperationsOfTheTestControllerApiFp = exports.TestOperationsOfTheTestControllerApiAxiosParamCreator = exports.TermsOfServiceApi = exports.TermsOfServiceApiFactory = exports.TermsOfServiceApiFp = exports.TermsOfServiceApiAxiosParamCreator = exports.GetUserSyncResultsServiceEnum = exports.SyncApi = exports.SyncApiFactory = exports.SyncApiFp = exports.SyncApiAxiosParamCreator = exports.StripeApi = exports.StripeApiFactory = exports.StripeApiFp = exports.StripeApiAxiosParamCreator = exports.ServerSettingsApi = exports.ServerSettingsApiFactory = exports.ServerSettingsApiFp = exports.ServerSettingsApiAxiosParamCreator = exports.SellerPayoutsApi = exports.SellerPayoutsApiFactory = exports.SellerPayoutsApiFp = exports.SellerPayoutsApiAxiosParamCreator = exports.RootApi = exports.RootApiFactory = exports.RootApiFp = exports.RootApiAxiosParamCreator = exports.RbacApi = exports.RbacApiFactory = exports.RbacApiFp = exports.RbacApiAxiosParamCreator = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.ProductCategoriesApi = exports.ProductCategoriesApiFactory = exports.ProductCategoriesApiFp = exports.ProductCategoriesApiAxiosParamCreator = exports.PointofsaleApi = exports.PointofsaleApiFactory = exports.PointofsaleApiFp = exports.PointofsaleApiAxiosParamCreator = exports.PayoutRequestsApi = exports.PayoutRequestsApiFactory = exports.PayoutRequestsApiFp = exports.PayoutRequestsApiAxiosParamCreator = exports.InvoicesApi = void 0;
18
+ exports.WriteoffsApi = exports.WriteoffsApiFactory = exports.WriteoffsApiFp = exports.WriteoffsApiAxiosParamCreator = exports.VouchergroupsApi = exports.VouchergroupsApiFactory = exports.VouchergroupsApiFp = exports.VouchergroupsApiAxiosParamCreator = exports.VatGroupsApi = exports.VatGroupsApiFactory = exports.VatGroupsApiFp = exports.VatGroupsApiAxiosParamCreator = exports.GetUsersSalesReportPdfFileTypeEnum = exports.GetUsersPurchaseReportPdfFileTypeEnum = exports.GetAllUsersTypeEnum = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserNotificationPreferencesApi = exports.UserNotificationPreferencesApiFactory = exports.UserNotificationPreferencesApiFp = exports.UserNotificationPreferencesApiAxiosParamCreator = exports.TransfersApi = exports.TransfersApiFactory = exports.TransfersApiFp = exports.TransfersApiAxiosParamCreator = exports.TransactionsApi = exports.TransactionsApiFactory = exports.TransactionsApiFp = exports.TransactionsApiAxiosParamCreator = exports.TransactionSummariesApi = exports.TransactionSummariesApiFactory = exports.TransactionSummariesApiFp = exports.TransactionSummariesApiAxiosParamCreator = void 0;
19
19
  const axios_1 = require("axios");
20
20
  // Some imports not used depending on template conditions
21
21
  // @ts-ignore
22
22
  const common_1 = require("./common");
23
23
  // @ts-ignore
24
24
  const base_1 = require("./base");
25
+ exports.BasePaymentRequestResponseStatusEnum = {
26
+ Pending: 'PENDING',
27
+ Paid: 'PAID',
28
+ Expired: 'EXPIRED',
29
+ Cancelled: 'CANCELLED'
30
+ };
25
31
  exports.BasePayoutRequestResponseStatusEnum = {
26
32
  Created: 'CREATED',
27
33
  Approved: 'APPROVED',
@@ -32,6 +38,17 @@ exports.FinancialMutationResponseTypeEnum = {
32
38
  Transfer: 'transfer',
33
39
  Transaction: 'transaction'
34
40
  };
41
+ /**
42
+ *
43
+ * @export
44
+ * @enum {string}
45
+ */
46
+ exports.GetAllInvoicesCurrentStateParameterInner = {
47
+ Created: 'CREATED',
48
+ Sent: 'SENT',
49
+ Paid: 'PAID',
50
+ Deleted: 'DELETED'
51
+ };
35
52
  exports.InvoiceStatusResponseStateEnum = {
36
53
  Created: 'CREATED',
37
54
  Sent: 'SENT',
@@ -55,6 +72,12 @@ exports.PayoutRequestStatusRequestStateEnum = {
55
72
  Denied: 'DENIED',
56
73
  Cancelled: 'CANCELLED'
57
74
  };
75
+ exports.PublicPaymentRequestResponseStatusEnum = {
76
+ Pending: 'PENDING',
77
+ Paid: 'PAID',
78
+ Expired: 'EXPIRED',
79
+ Cancelled: 'CANCELLED'
80
+ };
58
81
  exports.QRStatusResponseStatusEnum = {
59
82
  Pending: 'PENDING',
60
83
  Confirmed: 'CONFIRMED',
@@ -72,6 +95,21 @@ exports.UserSettingsResponseLanguageEnum = {
72
95
  EnUs: 'en-US',
73
96
  PlPl: 'pl-PL'
74
97
  };
98
+ /**
99
+ * The type of a user
100
+ * @export
101
+ * @enum {string}
102
+ */
103
+ exports.UserType = {
104
+ Member: 'MEMBER',
105
+ Organ: 'ORGAN',
106
+ Voucher: 'VOUCHER',
107
+ LocalUser: 'LOCAL_USER',
108
+ LocalAdmin: 'LOCAL_ADMIN',
109
+ Invoice: 'INVOICE',
110
+ PointOfSale: 'POINT_OF_SALE',
111
+ Integration: 'INTEGRATION'
112
+ };
75
113
  /**
76
114
  * AuthenticateApi - axios parameter creator
77
115
  * @export
@@ -174,37 +212,6 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
174
212
  options: localVarRequestOptions,
175
213
  };
176
214
  },
177
- /**
178
- *
179
- * @summary EAN login and hand out token
180
- * @param {AuthenticationEanRequest} authenticationEanRequest The EAN login.
181
- * @param {*} [options] Override http request option.
182
- * @deprecated
183
- * @throws {RequiredError}
184
- */
185
- eanAuthentication: async (authenticationEanRequest, options = {}) => {
186
- // verify required parameter 'authenticationEanRequest' is not null or undefined
187
- (0, common_1.assertParamExists)('eanAuthentication', 'authenticationEanRequest', authenticationEanRequest);
188
- const localVarPath = `/authentication/ean`;
189
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
190
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
191
- let baseOptions;
192
- if (configuration) {
193
- baseOptions = configuration.baseOptions;
194
- }
195
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
196
- const localVarHeaderParameter = {};
197
- const localVarQueryParameter = {};
198
- localVarHeaderParameter['Content-Type'] = 'application/json';
199
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
200
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
201
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
202
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authenticationEanRequest, localVarRequestOptions, configuration);
203
- return {
204
- url: (0, common_1.toPathString)(localVarUrlObj),
205
- options: localVarRequestOptions,
206
- };
207
- },
208
215
  /**
209
216
  *
210
217
  * @summary Generate a QR code for authentication
@@ -459,37 +466,6 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
459
466
  options: localVarRequestOptions,
460
467
  };
461
468
  },
462
- /**
463
- *
464
- * @summary PIN login for members using memberId.
465
- * @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login.
466
- * @param {*} [options] Override http request option.
467
- * @deprecated
468
- * @throws {RequiredError}
469
- */
470
- memberPinAuthentication: async (memberAuthenticationPinRequest, options = {}) => {
471
- // verify required parameter 'memberAuthenticationPinRequest' is not null or undefined
472
- (0, common_1.assertParamExists)('memberPinAuthentication', 'memberAuthenticationPinRequest', memberAuthenticationPinRequest);
473
- const localVarPath = `/authentication/member/pin`;
474
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
475
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
476
- let baseOptions;
477
- if (configuration) {
478
- baseOptions = configuration.baseOptions;
479
- }
480
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
481
- const localVarHeaderParameter = {};
482
- const localVarQueryParameter = {};
483
- localVarHeaderParameter['Content-Type'] = 'application/json';
484
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
485
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
486
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
487
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(memberAuthenticationPinRequest, localVarRequestOptions, configuration);
488
- return {
489
- url: (0, common_1.toPathString)(localVarUrlObj),
490
- options: localVarRequestOptions,
491
- };
492
- },
493
469
  /**
494
470
  *
495
471
  * @summary Mock login and hand out token.
@@ -520,68 +496,6 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
520
496
  options: localVarRequestOptions,
521
497
  };
522
498
  },
523
- /**
524
- *
525
- * @summary NFC login and hand out token
526
- * @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login.
527
- * @param {*} [options] Override http request option.
528
- * @deprecated
529
- * @throws {RequiredError}
530
- */
531
- nfcAuthentication: async (authenticationNfcRequest, options = {}) => {
532
- // verify required parameter 'authenticationNfcRequest' is not null or undefined
533
- (0, common_1.assertParamExists)('nfcAuthentication', 'authenticationNfcRequest', authenticationNfcRequest);
534
- const localVarPath = `/authentication/nfc`;
535
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
536
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
537
- let baseOptions;
538
- if (configuration) {
539
- baseOptions = configuration.baseOptions;
540
- }
541
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
542
- const localVarHeaderParameter = {};
543
- const localVarQueryParameter = {};
544
- localVarHeaderParameter['Content-Type'] = 'application/json';
545
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
546
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
547
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
548
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authenticationNfcRequest, localVarRequestOptions, configuration);
549
- return {
550
- url: (0, common_1.toPathString)(localVarUrlObj),
551
- options: localVarRequestOptions,
552
- };
553
- },
554
- /**
555
- *
556
- * @summary PIN login and hand out token
557
- * @param {AuthenticationPinRequest} authenticationPinRequest The PIN login.
558
- * @param {*} [options] Override http request option.
559
- * @deprecated
560
- * @throws {RequiredError}
561
- */
562
- pinAuthentication: async (authenticationPinRequest, options = {}) => {
563
- // verify required parameter 'authenticationPinRequest' is not null or undefined
564
- (0, common_1.assertParamExists)('pinAuthentication', 'authenticationPinRequest', authenticationPinRequest);
565
- const localVarPath = `/authentication/pin`;
566
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
567
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
568
- let baseOptions;
569
- if (configuration) {
570
- baseOptions = configuration.baseOptions;
571
- }
572
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
573
- const localVarHeaderParameter = {};
574
- const localVarQueryParameter = {};
575
- localVarHeaderParameter['Content-Type'] = 'application/json';
576
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
577
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
578
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
579
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authenticationPinRequest, localVarRequestOptions, configuration);
580
- return {
581
- url: (0, common_1.toPathString)(localVarUrlObj),
582
- options: localVarRequestOptions,
583
- };
584
- },
585
499
  /**
586
500
  *
587
501
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -851,20 +765,6 @@ const AuthenticateApiFp = function (configuration) {
851
765
  const operationBasePath = base_1.operationServerMap['AuthenticateApi.confirmQRCode']?.[index]?.url;
852
766
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
853
767
  },
854
- /**
855
- *
856
- * @summary EAN login and hand out token
857
- * @param {AuthenticationEanRequest} authenticationEanRequest The EAN login.
858
- * @param {*} [options] Override http request option.
859
- * @deprecated
860
- * @throws {RequiredError}
861
- */
862
- async eanAuthentication(authenticationEanRequest, options) {
863
- const localVarAxiosArgs = await localVarAxiosParamCreator.eanAuthentication(authenticationEanRequest, options);
864
- const index = configuration?.serverIndex ?? 0;
865
- const operationBasePath = base_1.operationServerMap['AuthenticateApi.eanAuthentication']?.[index]?.url;
866
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
867
- },
868
768
  /**
869
769
  *
870
770
  * @summary Generate a QR code for authentication
@@ -979,20 +879,6 @@ const AuthenticateApiFp = function (configuration) {
979
879
  const operationBasePath = base_1.operationServerMap['AuthenticateApi.localAuthentication']?.[index]?.url;
980
880
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
981
881
  },
982
- /**
983
- *
984
- * @summary PIN login for members using memberId.
985
- * @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login.
986
- * @param {*} [options] Override http request option.
987
- * @deprecated
988
- * @throws {RequiredError}
989
- */
990
- async memberPinAuthentication(memberAuthenticationPinRequest, options) {
991
- const localVarAxiosArgs = await localVarAxiosParamCreator.memberPinAuthentication(memberAuthenticationPinRequest, options);
992
- const index = configuration?.serverIndex ?? 0;
993
- const operationBasePath = base_1.operationServerMap['AuthenticateApi.memberPinAuthentication']?.[index]?.url;
994
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
995
- },
996
882
  /**
997
883
  *
998
884
  * @summary Mock login and hand out token.
@@ -1006,34 +892,6 @@ const AuthenticateApiFp = function (configuration) {
1006
892
  const operationBasePath = base_1.operationServerMap['AuthenticateApi.mockAuthentication']?.[index]?.url;
1007
893
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1008
894
  },
1009
- /**
1010
- *
1011
- * @summary NFC login and hand out token
1012
- * @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login.
1013
- * @param {*} [options] Override http request option.
1014
- * @deprecated
1015
- * @throws {RequiredError}
1016
- */
1017
- async nfcAuthentication(authenticationNfcRequest, options) {
1018
- const localVarAxiosArgs = await localVarAxiosParamCreator.nfcAuthentication(authenticationNfcRequest, options);
1019
- const index = configuration?.serverIndex ?? 0;
1020
- const operationBasePath = base_1.operationServerMap['AuthenticateApi.nfcAuthentication']?.[index]?.url;
1021
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1022
- },
1023
- /**
1024
- *
1025
- * @summary PIN login and hand out token
1026
- * @param {AuthenticationPinRequest} authenticationPinRequest The PIN login.
1027
- * @param {*} [options] Override http request option.
1028
- * @deprecated
1029
- * @throws {RequiredError}
1030
- */
1031
- async pinAuthentication(authenticationPinRequest, options) {
1032
- const localVarAxiosArgs = await localVarAxiosParamCreator.pinAuthentication(authenticationPinRequest, options);
1033
- const index = configuration?.serverIndex ?? 0;
1034
- const operationBasePath = base_1.operationServerMap['AuthenticateApi.pinAuthentication']?.[index]?.url;
1035
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1036
- },
1037
895
  /**
1038
896
  *
1039
897
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -1164,17 +1022,6 @@ const AuthenticateApiFactory = function (configuration, basePath, axios) {
1164
1022
  confirmQRCode(requestParameters, options) {
1165
1023
  return localVarFp.confirmQRCode(requestParameters.sessionId, options).then((request) => request(axios, basePath));
1166
1024
  },
1167
- /**
1168
- *
1169
- * @summary EAN login and hand out token
1170
- * @param {AuthenticateApiEanAuthenticationRequest} requestParameters Request parameters.
1171
- * @param {*} [options] Override http request option.
1172
- * @deprecated
1173
- * @throws {RequiredError}
1174
- */
1175
- eanAuthentication(requestParameters, options) {
1176
- return localVarFp.eanAuthentication(requestParameters.authenticationEanRequest, options).then((request) => request(axios, basePath));
1177
- },
1178
1025
  /**
1179
1026
  *
1180
1027
  * @summary Generate a QR code for authentication
@@ -1262,17 +1109,6 @@ const AuthenticateApiFactory = function (configuration, basePath, axios) {
1262
1109
  localAuthentication(requestParameters, options) {
1263
1110
  return localVarFp.localAuthentication(requestParameters.authenticationLocalRequest, options).then((request) => request(axios, basePath));
1264
1111
  },
1265
- /**
1266
- *
1267
- * @summary PIN login for members using memberId.
1268
- * @param {AuthenticateApiMemberPinAuthenticationRequest} requestParameters Request parameters.
1269
- * @param {*} [options] Override http request option.
1270
- * @deprecated
1271
- * @throws {RequiredError}
1272
- */
1273
- memberPinAuthentication(requestParameters, options) {
1274
- return localVarFp.memberPinAuthentication(requestParameters.memberAuthenticationPinRequest, options).then((request) => request(axios, basePath));
1275
- },
1276
1112
  /**
1277
1113
  *
1278
1114
  * @summary Mock login and hand out token.
@@ -1283,28 +1119,6 @@ const AuthenticateApiFactory = function (configuration, basePath, axios) {
1283
1119
  mockAuthentication(requestParameters, options) {
1284
1120
  return localVarFp.mockAuthentication(requestParameters.authenticationMockRequest, options).then((request) => request(axios, basePath));
1285
1121
  },
1286
- /**
1287
- *
1288
- * @summary NFC login and hand out token
1289
- * @param {AuthenticateApiNfcAuthenticationRequest} requestParameters Request parameters.
1290
- * @param {*} [options] Override http request option.
1291
- * @deprecated
1292
- * @throws {RequiredError}
1293
- */
1294
- nfcAuthentication(requestParameters, options) {
1295
- return localVarFp.nfcAuthentication(requestParameters.authenticationNfcRequest, options).then((request) => request(axios, basePath));
1296
- },
1297
- /**
1298
- *
1299
- * @summary PIN login and hand out token
1300
- * @param {AuthenticateApiPinAuthenticationRequest} requestParameters Request parameters.
1301
- * @param {*} [options] Override http request option.
1302
- * @deprecated
1303
- * @throws {RequiredError}
1304
- */
1305
- pinAuthentication(requestParameters, options) {
1306
- return localVarFp.pinAuthentication(requestParameters.authenticationPinRequest, options).then((request) => request(axios, basePath));
1307
- },
1308
1122
  /**
1309
1123
  *
1310
1124
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -1417,18 +1231,6 @@ class AuthenticateApi extends base_1.BaseAPI {
1417
1231
  confirmQRCode(requestParameters, options) {
1418
1232
  return (0, exports.AuthenticateApiFp)(this.configuration).confirmQRCode(requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
1419
1233
  }
1420
- /**
1421
- *
1422
- * @summary EAN login and hand out token
1423
- * @param {AuthenticateApiEanAuthenticationRequest} requestParameters Request parameters.
1424
- * @param {*} [options] Override http request option.
1425
- * @deprecated
1426
- * @throws {RequiredError}
1427
- * @memberof AuthenticateApi
1428
- */
1429
- eanAuthentication(requestParameters, options) {
1430
- return (0, exports.AuthenticateApiFp)(this.configuration).eanAuthentication(requestParameters.authenticationEanRequest, options).then((request) => request(this.axios, this.basePath));
1431
- }
1432
1234
  /**
1433
1235
  *
1434
1236
  * @summary Generate a QR code for authentication
@@ -1525,18 +1327,6 @@ class AuthenticateApi extends base_1.BaseAPI {
1525
1327
  localAuthentication(requestParameters, options) {
1526
1328
  return (0, exports.AuthenticateApiFp)(this.configuration).localAuthentication(requestParameters.authenticationLocalRequest, options).then((request) => request(this.axios, this.basePath));
1527
1329
  }
1528
- /**
1529
- *
1530
- * @summary PIN login for members using memberId.
1531
- * @param {AuthenticateApiMemberPinAuthenticationRequest} requestParameters Request parameters.
1532
- * @param {*} [options] Override http request option.
1533
- * @deprecated
1534
- * @throws {RequiredError}
1535
- * @memberof AuthenticateApi
1536
- */
1537
- memberPinAuthentication(requestParameters, options) {
1538
- return (0, exports.AuthenticateApiFp)(this.configuration).memberPinAuthentication(requestParameters.memberAuthenticationPinRequest, options).then((request) => request(this.axios, this.basePath));
1539
- }
1540
1330
  /**
1541
1331
  *
1542
1332
  * @summary Mock login and hand out token.
@@ -1548,30 +1338,6 @@ class AuthenticateApi extends base_1.BaseAPI {
1548
1338
  mockAuthentication(requestParameters, options) {
1549
1339
  return (0, exports.AuthenticateApiFp)(this.configuration).mockAuthentication(requestParameters.authenticationMockRequest, options).then((request) => request(this.axios, this.basePath));
1550
1340
  }
1551
- /**
1552
- *
1553
- * @summary NFC login and hand out token
1554
- * @param {AuthenticateApiNfcAuthenticationRequest} requestParameters Request parameters.
1555
- * @param {*} [options] Override http request option.
1556
- * @deprecated
1557
- * @throws {RequiredError}
1558
- * @memberof AuthenticateApi
1559
- */
1560
- nfcAuthentication(requestParameters, options) {
1561
- return (0, exports.AuthenticateApiFp)(this.configuration).nfcAuthentication(requestParameters.authenticationNfcRequest, options).then((request) => request(this.axios, this.basePath));
1562
- }
1563
- /**
1564
- *
1565
- * @summary PIN login and hand out token
1566
- * @param {AuthenticateApiPinAuthenticationRequest} requestParameters Request parameters.
1567
- * @param {*} [options] Override http request option.
1568
- * @deprecated
1569
- * @throws {RequiredError}
1570
- * @memberof AuthenticateApi
1571
- */
1572
- pinAuthentication(requestParameters, options) {
1573
- return (0, exports.AuthenticateApiFp)(this.configuration).pinAuthentication(requestParameters.authenticationPinRequest, options).then((request) => request(this.axios, this.basePath));
1574
- }
1575
1341
  /**
1576
1342
  *
1577
1343
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -1703,7 +1469,7 @@ const BalanceApiAxiosParamCreator = function (configuration) {
1703
1469
  * @param {boolean} [hasFine] Only users with(out) fines
1704
1470
  * @param {number} [minFine] Minimum fine
1705
1471
  * @param {number} [maxFine] Maximum fine
1706
- * @param {GetAllBalanceUserTypesEnum} [userTypes] Filter based on user type.
1472
+ * @param {Array<UserType>} [userTypes] Filter based on user type.
1707
1473
  * @param {string} [orderBy] Column to order balance by - eg: id,amount
1708
1474
  * @param {GetAllBalanceOrderDirectionEnum} [orderDirection] Order direction
1709
1475
  * @param {boolean} [allowDeleted] Whether to include deleted users
@@ -1867,7 +1633,7 @@ const BalanceApiFp = function (configuration) {
1867
1633
  * @param {boolean} [hasFine] Only users with(out) fines
1868
1634
  * @param {number} [minFine] Minimum fine
1869
1635
  * @param {number} [maxFine] Maximum fine
1870
- * @param {GetAllBalanceUserTypesEnum} [userTypes] Filter based on user type.
1636
+ * @param {Array<UserType>} [userTypes] Filter based on user type.
1871
1637
  * @param {string} [orderBy] Column to order balance by - eg: id,amount
1872
1638
  * @param {GetAllBalanceOrderDirectionEnum} [orderDirection] Order direction
1873
1639
  * @param {boolean} [allowDeleted] Whether to include deleted users
@@ -2012,10 +1778,6 @@ class BalanceApi extends base_1.BaseAPI {
2012
1778
  }
2013
1779
  }
2014
1780
  exports.BalanceApi = BalanceApi;
2015
- /**
2016
- * @export
2017
- */
2018
- exports.GetAllBalanceUserTypesEnum = {};
2019
1781
  /**
2020
1782
  * @export
2021
1783
  */
@@ -5804,16 +5566,17 @@ const InvoicesApiAxiosParamCreator = function (configuration) {
5804
5566
  * @summary Returns all invoices in the system.
5805
5567
  * @param {number} [toId] Filter on Id of the debtor
5806
5568
  * @param {number} [invoiceId] Filter on invoice ID
5807
- * @param {GetAllInvoicesCurrentStateEnum} [currentState] Filter based on Invoice State.
5569
+ * @param {Array<GetAllInvoicesCurrentStateParameterInner>} [currentState] Filter based on Invoice State.
5808
5570
  * @param {boolean} [returnEntries] Boolean if invoice entries should be returned
5809
5571
  * @param {string} [fromDate] Start date for selected invoices (inclusive)
5810
5572
  * @param {string} [tillDate] End date for selected invoices (exclusive)
5573
+ * @param {string} [description] Filter invoices by description (partial match)
5811
5574
  * @param {number} [take] How many entries the endpoint should return
5812
5575
  * @param {number} [skip] How many entries should be skipped (for pagination)
5813
5576
  * @param {*} [options] Override http request option.
5814
5577
  * @throws {RequiredError}
5815
5578
  */
5816
- getAllInvoices: async (toId, invoiceId, currentState, returnEntries, fromDate, tillDate, take, skip, options = {}) => {
5579
+ getAllInvoices: async (toId, invoiceId, currentState, returnEntries, fromDate, tillDate, description, take, skip, options = {}) => {
5817
5580
  const localVarPath = `/invoices`;
5818
5581
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5819
5582
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -5845,6 +5608,9 @@ const InvoicesApiAxiosParamCreator = function (configuration) {
5845
5608
  if (tillDate !== undefined) {
5846
5609
  localVarQueryParameter['tillDate'] = tillDate;
5847
5610
  }
5611
+ if (description !== undefined) {
5612
+ localVarQueryParameter['description'] = description;
5613
+ }
5848
5614
  if (take !== undefined) {
5849
5615
  localVarQueryParameter['take'] = take;
5850
5616
  }
@@ -5903,6 +5669,34 @@ const InvoicesApiAxiosParamCreator = function (configuration) {
5903
5669
  options: localVarRequestOptions,
5904
5670
  };
5905
5671
  },
5672
+ /**
5673
+ *
5674
+ * @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
5675
+ * @param {*} [options] Override http request option.
5676
+ * @throws {RequiredError}
5677
+ */
5678
+ getInvoiceDrift: async (options = {}) => {
5679
+ const localVarPath = `/invoices/drift`;
5680
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5681
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
5682
+ let baseOptions;
5683
+ if (configuration) {
5684
+ baseOptions = configuration.baseOptions;
5685
+ }
5686
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
5687
+ const localVarHeaderParameter = {};
5688
+ const localVarQueryParameter = {};
5689
+ // authentication JWT required
5690
+ // http bearer authentication required
5691
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
5692
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5693
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5694
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
5695
+ return {
5696
+ url: (0, common_1.toPathString)(localVarUrlObj),
5697
+ options: localVarRequestOptions,
5698
+ };
5699
+ },
5906
5700
  /**
5907
5701
  *
5908
5702
  * @summary Get an invoice pdf.
@@ -6135,17 +5929,18 @@ const InvoicesApiFp = function (configuration) {
6135
5929
  * @summary Returns all invoices in the system.
6136
5930
  * @param {number} [toId] Filter on Id of the debtor
6137
5931
  * @param {number} [invoiceId] Filter on invoice ID
6138
- * @param {GetAllInvoicesCurrentStateEnum} [currentState] Filter based on Invoice State.
5932
+ * @param {Array<GetAllInvoicesCurrentStateParameterInner>} [currentState] Filter based on Invoice State.
6139
5933
  * @param {boolean} [returnEntries] Boolean if invoice entries should be returned
6140
5934
  * @param {string} [fromDate] Start date for selected invoices (inclusive)
6141
5935
  * @param {string} [tillDate] End date for selected invoices (exclusive)
5936
+ * @param {string} [description] Filter invoices by description (partial match)
6142
5937
  * @param {number} [take] How many entries the endpoint should return
6143
5938
  * @param {number} [skip] How many entries should be skipped (for pagination)
6144
5939
  * @param {*} [options] Override http request option.
6145
5940
  * @throws {RequiredError}
6146
5941
  */
6147
- async getAllInvoices(toId, invoiceId, currentState, returnEntries, fromDate, tillDate, take, skip, options) {
6148
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAllInvoices(toId, invoiceId, currentState, returnEntries, fromDate, tillDate, take, skip, options);
5942
+ async getAllInvoices(toId, invoiceId, currentState, returnEntries, fromDate, tillDate, description, take, skip, options) {
5943
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAllInvoices(toId, invoiceId, currentState, returnEntries, fromDate, tillDate, description, take, skip, options);
6149
5944
  const index = configuration?.serverIndex ?? 0;
6150
5945
  const operationBasePath = base_1.operationServerMap['InvoicesApi.getAllInvoices']?.[index]?.url;
6151
5946
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
@@ -6165,6 +5960,18 @@ const InvoicesApiFp = function (configuration) {
6165
5960
  const operationBasePath = base_1.operationServerMap['InvoicesApi.getEligibleTransactions']?.[index]?.url;
6166
5961
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
6167
5962
  },
5963
+ /**
5964
+ *
5965
+ * @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
5966
+ * @param {*} [options] Override http request option.
5967
+ * @throws {RequiredError}
5968
+ */
5969
+ async getInvoiceDrift(options) {
5970
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getInvoiceDrift(options);
5971
+ const index = configuration?.serverIndex ?? 0;
5972
+ const operationBasePath = base_1.operationServerMap['InvoicesApi.getInvoiceDrift']?.[index]?.url;
5973
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
5974
+ },
6168
5975
  /**
6169
5976
  *
6170
5977
  * @summary Get an invoice pdf.
@@ -6282,7 +6089,7 @@ const InvoicesApiFactory = function (configuration, basePath, axios) {
6282
6089
  * @throws {RequiredError}
6283
6090
  */
6284
6091
  getAllInvoices(requestParameters = {}, options) {
6285
- return localVarFp.getAllInvoices(requestParameters.toId, requestParameters.invoiceId, requestParameters.currentState, requestParameters.returnEntries, requestParameters.fromDate, requestParameters.tillDate, requestParameters.take, requestParameters.skip, options).then((request) => request(axios, basePath));
6092
+ return localVarFp.getAllInvoices(requestParameters.toId, requestParameters.invoiceId, requestParameters.currentState, requestParameters.returnEntries, requestParameters.fromDate, requestParameters.tillDate, requestParameters.description, requestParameters.take, requestParameters.skip, options).then((request) => request(axios, basePath));
6286
6093
  },
6287
6094
  /**
6288
6095
  *
@@ -6294,6 +6101,15 @@ const InvoicesApiFactory = function (configuration, basePath, axios) {
6294
6101
  getEligibleTransactions(requestParameters, options) {
6295
6102
  return localVarFp.getEligibleTransactions(requestParameters.forId, requestParameters.fromDate, requestParameters.tillDate, options).then((request) => request(axios, basePath));
6296
6103
  },
6104
+ /**
6105
+ *
6106
+ * @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
6107
+ * @param {*} [options] Override http request option.
6108
+ * @throws {RequiredError}
6109
+ */
6110
+ getInvoiceDrift(options) {
6111
+ return localVarFp.getInvoiceDrift(options).then((request) => request(axios, basePath));
6112
+ },
6297
6113
  /**
6298
6114
  *
6299
6115
  * @summary Get an invoice pdf.
@@ -6396,7 +6212,7 @@ class InvoicesApi extends base_1.BaseAPI {
6396
6212
  * @memberof InvoicesApi
6397
6213
  */
6398
6214
  getAllInvoices(requestParameters = {}, options) {
6399
- return (0, exports.InvoicesApiFp)(this.configuration).getAllInvoices(requestParameters.toId, requestParameters.invoiceId, requestParameters.currentState, requestParameters.returnEntries, requestParameters.fromDate, requestParameters.tillDate, requestParameters.take, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
6215
+ return (0, exports.InvoicesApiFp)(this.configuration).getAllInvoices(requestParameters.toId, requestParameters.invoiceId, requestParameters.currentState, requestParameters.returnEntries, requestParameters.fromDate, requestParameters.tillDate, requestParameters.description, requestParameters.take, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
6400
6216
  }
6401
6217
  /**
6402
6218
  *
@@ -6409,6 +6225,16 @@ class InvoicesApi extends base_1.BaseAPI {
6409
6225
  getEligibleTransactions(requestParameters, options) {
6410
6226
  return (0, exports.InvoicesApiFp)(this.configuration).getEligibleTransactions(requestParameters.forId, requestParameters.fromDate, requestParameters.tillDate, options).then((request) => request(this.axios, this.basePath));
6411
6227
  }
6228
+ /**
6229
+ *
6230
+ * @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
6231
+ * @param {*} [options] Override http request option.
6232
+ * @throws {RequiredError}
6233
+ * @memberof InvoicesApi
6234
+ */
6235
+ getInvoiceDrift(options) {
6236
+ return (0, exports.InvoicesApiFp)(this.configuration).getInvoiceDrift(options).then((request) => request(this.axios, this.basePath));
6237
+ }
6412
6238
  /**
6413
6239
  *
6414
6240
  * @summary Get an invoice pdf.
@@ -6466,10 +6292,6 @@ class InvoicesApi extends base_1.BaseAPI {
6466
6292
  }
6467
6293
  }
6468
6294
  exports.InvoicesApi = InvoicesApi;
6469
- /**
6470
- * @export
6471
- */
6472
- exports.GetAllInvoicesCurrentStateEnum = {};
6473
6295
  /**
6474
6296
  * PayoutRequestsApi - axios parameter creator
6475
6297
  * @export
@@ -10011,7 +9833,7 @@ const SyncApiAxiosParamCreator = function (configuration) {
10011
9833
  /**
10012
9834
  * Performs a dry-run synchronization of users using the specified services. This endpoint always performs a dry-run and does not apply any actual database changes.
10013
9835
  * @summary Get dry-run sync results for users
10014
- * @param {GetUserSyncResultsServiceEnum} [service] Array of sync services to use (ldap, gewisdb). If not provided, all available services will be used.
9836
+ * @param {Array<GetUserSyncResultsServiceEnum>} [service] Array of sync services to use (ldap, gewisdb). If not provided, all available services will be used.
10015
9837
  * @param {*} [options] Override http request option.
10016
9838
  * @throws {RequiredError}
10017
9839
  */
@@ -10053,7 +9875,7 @@ const SyncApiFp = function (configuration) {
10053
9875
  /**
10054
9876
  * Performs a dry-run synchronization of users using the specified services. This endpoint always performs a dry-run and does not apply any actual database changes.
10055
9877
  * @summary Get dry-run sync results for users
10056
- * @param {GetUserSyncResultsServiceEnum} [service] Array of sync services to use (ldap, gewisdb). If not provided, all available services will be used.
9878
+ * @param {Array<GetUserSyncResultsServiceEnum>} [service] Array of sync services to use (ldap, gewisdb). If not provided, all available services will be used.
10057
9879
  * @param {*} [options] Override http request option.
10058
9880
  * @throws {RequiredError}
10059
9881
  */
@@ -10109,7 +9931,10 @@ exports.SyncApi = SyncApi;
10109
9931
  /**
10110
9932
  * @export
10111
9933
  */
10112
- exports.GetUserSyncResultsServiceEnum = {};
9934
+ exports.GetUserSyncResultsServiceEnum = {
9935
+ Ldap: 'LDAP',
9936
+ Gewisdb: 'GEWISDB'
9937
+ };
10113
9938
  /**
10114
9939
  * TermsOfServiceApi - axios parameter creator
10115
9940
  * @export
@@ -11182,12 +11007,15 @@ const TransfersApiAxiosParamCreator = function (configuration) {
11182
11007
  * @summary Returns all existing transfers
11183
11008
  * @param {string} [fromDate] Start date for selected transfers (inclusive)
11184
11009
  * @param {string} [tillDate] End date for selected transfers (exclusive)
11010
+ * @param {number} [fromId] Filter transfers from this user ID
11011
+ * @param {number} [toId] Filter transfers to this user ID
11012
+ * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost, manualCreation, manualDeletion
11185
11013
  * @param {number} [take] How many transfers the endpoint should return
11186
11014
  * @param {number} [skip] How many transfers should be skipped (for pagination)
11187
11015
  * @param {*} [options] Override http request option.
11188
11016
  * @throws {RequiredError}
11189
11017
  */
11190
- getAllTransfers: async (fromDate, tillDate, take, skip, options = {}) => {
11018
+ getAllTransfers: async (fromDate, tillDate, fromId, toId, category, take, skip, options = {}) => {
11191
11019
  const localVarPath = `/transfers`;
11192
11020
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
11193
11021
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -11207,6 +11035,15 @@ const TransfersApiAxiosParamCreator = function (configuration) {
11207
11035
  if (tillDate !== undefined) {
11208
11036
  localVarQueryParameter['tillDate'] = tillDate;
11209
11037
  }
11038
+ if (fromId !== undefined) {
11039
+ localVarQueryParameter['fromId'] = fromId;
11040
+ }
11041
+ if (toId !== undefined) {
11042
+ localVarQueryParameter['toId'] = toId;
11043
+ }
11044
+ if (category !== undefined) {
11045
+ localVarQueryParameter['category'] = category;
11046
+ }
11210
11047
  if (take !== undefined) {
11211
11048
  localVarQueryParameter['take'] = take;
11212
11049
  }
@@ -11260,7 +11097,7 @@ const TransfersApiAxiosParamCreator = function (configuration) {
11260
11097
  * @param {string} [tillDate] End date for selected transfers (exclusive)
11261
11098
  * @param {number} [fromId] Filter transfers from this user ID
11262
11099
  * @param {number} [toId] Filter transfers to this user ID
11263
- * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, invoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
11100
+ * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
11264
11101
  * @param {*} [options] Override http request option.
11265
11102
  * @throws {RequiredError}
11266
11103
  */
@@ -11333,6 +11170,50 @@ const TransfersApiAxiosParamCreator = function (configuration) {
11333
11170
  options: localVarRequestOptions,
11334
11171
  };
11335
11172
  },
11173
+ /**
11174
+ *
11175
+ * @summary Returns an aggregate breakdown of transfers for every category plus an overall total
11176
+ * @param {string} [fromDate] Start date for selected transfers (inclusive)
11177
+ * @param {string} [tillDate] End date for selected transfers (exclusive)
11178
+ * @param {number} [fromId] Filter transfers from this user ID
11179
+ * @param {number} [toId] Filter transfers to this user ID
11180
+ * @param {*} [options] Override http request option.
11181
+ * @throws {RequiredError}
11182
+ */
11183
+ getTransferSummary: async (fromDate, tillDate, fromId, toId, options = {}) => {
11184
+ const localVarPath = `/transfers/summary`;
11185
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11186
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11187
+ let baseOptions;
11188
+ if (configuration) {
11189
+ baseOptions = configuration.baseOptions;
11190
+ }
11191
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
11192
+ const localVarHeaderParameter = {};
11193
+ const localVarQueryParameter = {};
11194
+ // authentication JWT required
11195
+ // http bearer authentication required
11196
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
11197
+ if (fromDate !== undefined) {
11198
+ localVarQueryParameter['fromDate'] = fromDate;
11199
+ }
11200
+ if (tillDate !== undefined) {
11201
+ localVarQueryParameter['tillDate'] = tillDate;
11202
+ }
11203
+ if (fromId !== undefined) {
11204
+ localVarQueryParameter['fromId'] = fromId;
11205
+ }
11206
+ if (toId !== undefined) {
11207
+ localVarQueryParameter['toId'] = toId;
11208
+ }
11209
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
11210
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11211
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
11212
+ return {
11213
+ url: (0, common_1.toPathString)(localVarUrlObj),
11214
+ options: localVarRequestOptions,
11215
+ };
11216
+ },
11336
11217
  };
11337
11218
  };
11338
11219
  exports.TransfersApiAxiosParamCreator = TransfersApiAxiosParamCreator;
@@ -11374,13 +11255,16 @@ const TransfersApiFp = function (configuration) {
11374
11255
  * @summary Returns all existing transfers
11375
11256
  * @param {string} [fromDate] Start date for selected transfers (inclusive)
11376
11257
  * @param {string} [tillDate] End date for selected transfers (exclusive)
11258
+ * @param {number} [fromId] Filter transfers from this user ID
11259
+ * @param {number} [toId] Filter transfers to this user ID
11260
+ * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost, manualCreation, manualDeletion
11377
11261
  * @param {number} [take] How many transfers the endpoint should return
11378
11262
  * @param {number} [skip] How many transfers should be skipped (for pagination)
11379
11263
  * @param {*} [options] Override http request option.
11380
11264
  * @throws {RequiredError}
11381
11265
  */
11382
- async getAllTransfers(fromDate, tillDate, take, skip, options) {
11383
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAllTransfers(fromDate, tillDate, take, skip, options);
11266
+ async getAllTransfers(fromDate, tillDate, fromId, toId, category, take, skip, options) {
11267
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAllTransfers(fromDate, tillDate, fromId, toId, category, take, skip, options);
11384
11268
  const index = configuration?.serverIndex ?? 0;
11385
11269
  const operationBasePath = base_1.operationServerMap['TransfersApi.getAllTransfers']?.[index]?.url;
11386
11270
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
@@ -11405,7 +11289,7 @@ const TransfersApiFp = function (configuration) {
11405
11289
  * @param {string} [tillDate] End date for selected transfers (exclusive)
11406
11290
  * @param {number} [fromId] Filter transfers from this user ID
11407
11291
  * @param {number} [toId] Filter transfers to this user ID
11408
- * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, invoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
11292
+ * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
11409
11293
  * @param {*} [options] Override http request option.
11410
11294
  * @throws {RequiredError}
11411
11295
  */
@@ -11428,6 +11312,22 @@ const TransfersApiFp = function (configuration) {
11428
11312
  const operationBasePath = base_1.operationServerMap['TransfersApi.getTransferPdf']?.[index]?.url;
11429
11313
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
11430
11314
  },
11315
+ /**
11316
+ *
11317
+ * @summary Returns an aggregate breakdown of transfers for every category plus an overall total
11318
+ * @param {string} [fromDate] Start date for selected transfers (inclusive)
11319
+ * @param {string} [tillDate] End date for selected transfers (exclusive)
11320
+ * @param {number} [fromId] Filter transfers from this user ID
11321
+ * @param {number} [toId] Filter transfers to this user ID
11322
+ * @param {*} [options] Override http request option.
11323
+ * @throws {RequiredError}
11324
+ */
11325
+ async getTransferSummary(fromDate, tillDate, fromId, toId, options) {
11326
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTransferSummary(fromDate, tillDate, fromId, toId, options);
11327
+ const index = configuration?.serverIndex ?? 0;
11328
+ const operationBasePath = base_1.operationServerMap['TransfersApi.getTransferSummary']?.[index]?.url;
11329
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
11330
+ },
11431
11331
  };
11432
11332
  };
11433
11333
  exports.TransfersApiFp = TransfersApiFp;
@@ -11466,7 +11366,7 @@ const TransfersApiFactory = function (configuration, basePath, axios) {
11466
11366
  * @throws {RequiredError}
11467
11367
  */
11468
11368
  getAllTransfers(requestParameters = {}, options) {
11469
- return localVarFp.getAllTransfers(requestParameters.fromDate, requestParameters.tillDate, requestParameters.take, requestParameters.skip, options).then((request) => request(axios, basePath));
11369
+ return localVarFp.getAllTransfers(requestParameters.fromDate, requestParameters.tillDate, requestParameters.fromId, requestParameters.toId, requestParameters.category, requestParameters.take, requestParameters.skip, options).then((request) => request(axios, basePath));
11470
11370
  },
11471
11371
  /**
11472
11372
  *
@@ -11498,6 +11398,16 @@ const TransfersApiFactory = function (configuration, basePath, axios) {
11498
11398
  getTransferPdf(requestParameters, options) {
11499
11399
  return localVarFp.getTransferPdf(requestParameters.id, options).then((request) => request(axios, basePath));
11500
11400
  },
11401
+ /**
11402
+ *
11403
+ * @summary Returns an aggregate breakdown of transfers for every category plus an overall total
11404
+ * @param {TransfersApiGetTransferSummaryRequest} requestParameters Request parameters.
11405
+ * @param {*} [options] Override http request option.
11406
+ * @throws {RequiredError}
11407
+ */
11408
+ getTransferSummary(requestParameters = {}, options) {
11409
+ return localVarFp.getTransferSummary(requestParameters.fromDate, requestParameters.tillDate, requestParameters.fromId, requestParameters.toId, options).then((request) => request(axios, basePath));
11410
+ },
11501
11411
  };
11502
11412
  };
11503
11413
  exports.TransfersApiFactory = TransfersApiFactory;
@@ -11539,7 +11449,7 @@ class TransfersApi extends base_1.BaseAPI {
11539
11449
  * @memberof TransfersApi
11540
11450
  */
11541
11451
  getAllTransfers(requestParameters = {}, options) {
11542
- return (0, exports.TransfersApiFp)(this.configuration).getAllTransfers(requestParameters.fromDate, requestParameters.tillDate, requestParameters.take, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
11452
+ return (0, exports.TransfersApiFp)(this.configuration).getAllTransfers(requestParameters.fromDate, requestParameters.tillDate, requestParameters.fromId, requestParameters.toId, requestParameters.category, requestParameters.take, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
11543
11453
  }
11544
11454
  /**
11545
11455
  *
@@ -11574,6 +11484,17 @@ class TransfersApi extends base_1.BaseAPI {
11574
11484
  getTransferPdf(requestParameters, options) {
11575
11485
  return (0, exports.TransfersApiFp)(this.configuration).getTransferPdf(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
11576
11486
  }
11487
+ /**
11488
+ *
11489
+ * @summary Returns an aggregate breakdown of transfers for every category plus an overall total
11490
+ * @param {TransfersApiGetTransferSummaryRequest} requestParameters Request parameters.
11491
+ * @param {*} [options] Override http request option.
11492
+ * @throws {RequiredError}
11493
+ * @memberof TransfersApi
11494
+ */
11495
+ getTransferSummary(requestParameters = {}, options) {
11496
+ return (0, exports.TransfersApiFp)(this.configuration).getTransferSummary(requestParameters.fromDate, requestParameters.tillDate, requestParameters.fromId, requestParameters.toId, options).then((request) => request(this.axios, this.basePath));
11497
+ }
11577
11498
  }
11578
11499
  exports.TransfersApi = TransfersApi;
11579
11500
  /**