@gewis/sudosos-client 0.0.0-develop.6e7fadc → 0.0.0-develop.6f05c94

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,7 +13,7 @@
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;
16
+ exports.PayoutRequestsApiAxiosParamCreator = 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.BalanceApi = exports.BalanceApiFactory = exports.BalanceApiFp = exports.BalanceApiAxiosParamCreator = exports.AuthenticateApi = exports.AuthenticateApiFactory = exports.AuthenticateApiFp = exports.AuthenticateApiAxiosParamCreator = exports.UserType = exports.UserSettingsResponseLanguageEnum = exports.UpdateInvoiceRequestStateEnum = exports.QRStatusResponseStatusEnum = exports.PayoutRequestStatusRequestStateEnum = exports.PayoutRequestResponseStatusEnum = exports.PatchUserSettingsRequestLanguageEnum = exports.InvoiceStatusResponseStateEnum = exports.GetAllInvoicesCurrentStateParameterInner = exports.FinancialMutationResponseTypeEnum = exports.BasePayoutRequestResponseStatusEnum = void 0;
17
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
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;
19
19
  const axios_1 = require("axios");
@@ -32,6 +32,17 @@ exports.FinancialMutationResponseTypeEnum = {
32
32
  Transfer: 'transfer',
33
33
  Transaction: 'transaction'
34
34
  };
35
+ /**
36
+ *
37
+ * @export
38
+ * @enum {string}
39
+ */
40
+ exports.GetAllInvoicesCurrentStateParameterInner = {
41
+ Created: 'CREATED',
42
+ Sent: 'SENT',
43
+ Paid: 'PAID',
44
+ Deleted: 'DELETED'
45
+ };
35
46
  exports.InvoiceStatusResponseStateEnum = {
36
47
  Created: 'CREATED',
37
48
  Sent: 'SENT',
@@ -72,6 +83,21 @@ exports.UserSettingsResponseLanguageEnum = {
72
83
  EnUs: 'en-US',
73
84
  PlPl: 'pl-PL'
74
85
  };
86
+ /**
87
+ * The type of a user
88
+ * @export
89
+ * @enum {string}
90
+ */
91
+ exports.UserType = {
92
+ Member: 'MEMBER',
93
+ Organ: 'ORGAN',
94
+ Voucher: 'VOUCHER',
95
+ LocalUser: 'LOCAL_USER',
96
+ LocalAdmin: 'LOCAL_ADMIN',
97
+ Invoice: 'INVOICE',
98
+ PointOfSale: 'POINT_OF_SALE',
99
+ Integration: 'INTEGRATION'
100
+ };
75
101
  /**
76
102
  * AuthenticateApi - axios parameter creator
77
103
  * @export
@@ -174,37 +200,6 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
174
200
  options: localVarRequestOptions,
175
201
  };
176
202
  },
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
203
  /**
209
204
  *
210
205
  * @summary Generate a QR code for authentication
@@ -459,37 +454,6 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
459
454
  options: localVarRequestOptions,
460
455
  };
461
456
  },
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
457
  /**
494
458
  *
495
459
  * @summary Mock login and hand out token.
@@ -520,68 +484,6 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
520
484
  options: localVarRequestOptions,
521
485
  };
522
486
  },
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
487
  /**
586
488
  *
587
489
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -851,20 +753,6 @@ const AuthenticateApiFp = function (configuration) {
851
753
  const operationBasePath = base_1.operationServerMap['AuthenticateApi.confirmQRCode']?.[index]?.url;
852
754
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
853
755
  },
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
756
  /**
869
757
  *
870
758
  * @summary Generate a QR code for authentication
@@ -979,20 +867,6 @@ const AuthenticateApiFp = function (configuration) {
979
867
  const operationBasePath = base_1.operationServerMap['AuthenticateApi.localAuthentication']?.[index]?.url;
980
868
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
981
869
  },
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
870
  /**
997
871
  *
998
872
  * @summary Mock login and hand out token.
@@ -1006,34 +880,6 @@ const AuthenticateApiFp = function (configuration) {
1006
880
  const operationBasePath = base_1.operationServerMap['AuthenticateApi.mockAuthentication']?.[index]?.url;
1007
881
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1008
882
  },
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
883
  /**
1038
884
  *
1039
885
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -1164,17 +1010,6 @@ const AuthenticateApiFactory = function (configuration, basePath, axios) {
1164
1010
  confirmQRCode(requestParameters, options) {
1165
1011
  return localVarFp.confirmQRCode(requestParameters.sessionId, options).then((request) => request(axios, basePath));
1166
1012
  },
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
1013
  /**
1179
1014
  *
1180
1015
  * @summary Generate a QR code for authentication
@@ -1262,17 +1097,6 @@ const AuthenticateApiFactory = function (configuration, basePath, axios) {
1262
1097
  localAuthentication(requestParameters, options) {
1263
1098
  return localVarFp.localAuthentication(requestParameters.authenticationLocalRequest, options).then((request) => request(axios, basePath));
1264
1099
  },
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
1100
  /**
1277
1101
  *
1278
1102
  * @summary Mock login and hand out token.
@@ -1283,28 +1107,6 @@ const AuthenticateApiFactory = function (configuration, basePath, axios) {
1283
1107
  mockAuthentication(requestParameters, options) {
1284
1108
  return localVarFp.mockAuthentication(requestParameters.authenticationMockRequest, options).then((request) => request(axios, basePath));
1285
1109
  },
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
1110
  /**
1309
1111
  *
1310
1112
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -1417,18 +1219,6 @@ class AuthenticateApi extends base_1.BaseAPI {
1417
1219
  confirmQRCode(requestParameters, options) {
1418
1220
  return (0, exports.AuthenticateApiFp)(this.configuration).confirmQRCode(requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
1419
1221
  }
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
1222
  /**
1433
1223
  *
1434
1224
  * @summary Generate a QR code for authentication
@@ -1525,18 +1315,6 @@ class AuthenticateApi extends base_1.BaseAPI {
1525
1315
  localAuthentication(requestParameters, options) {
1526
1316
  return (0, exports.AuthenticateApiFp)(this.configuration).localAuthentication(requestParameters.authenticationLocalRequest, options).then((request) => request(this.axios, this.basePath));
1527
1317
  }
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
1318
  /**
1541
1319
  *
1542
1320
  * @summary Mock login and hand out token.
@@ -1548,30 +1326,6 @@ class AuthenticateApi extends base_1.BaseAPI {
1548
1326
  mockAuthentication(requestParameters, options) {
1549
1327
  return (0, exports.AuthenticateApiFp)(this.configuration).mockAuthentication(requestParameters.authenticationMockRequest, options).then((request) => request(this.axios, this.basePath));
1550
1328
  }
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
1329
  /**
1576
1330
  *
1577
1331
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -1703,7 +1457,7 @@ const BalanceApiAxiosParamCreator = function (configuration) {
1703
1457
  * @param {boolean} [hasFine] Only users with(out) fines
1704
1458
  * @param {number} [minFine] Minimum fine
1705
1459
  * @param {number} [maxFine] Maximum fine
1706
- * @param {GetAllBalanceUserTypesEnum} [userTypes] Filter based on user type.
1460
+ * @param {Array<UserType>} [userTypes] Filter based on user type.
1707
1461
  * @param {string} [orderBy] Column to order balance by - eg: id,amount
1708
1462
  * @param {GetAllBalanceOrderDirectionEnum} [orderDirection] Order direction
1709
1463
  * @param {boolean} [allowDeleted] Whether to include deleted users
@@ -1867,7 +1621,7 @@ const BalanceApiFp = function (configuration) {
1867
1621
  * @param {boolean} [hasFine] Only users with(out) fines
1868
1622
  * @param {number} [minFine] Minimum fine
1869
1623
  * @param {number} [maxFine] Maximum fine
1870
- * @param {GetAllBalanceUserTypesEnum} [userTypes] Filter based on user type.
1624
+ * @param {Array<UserType>} [userTypes] Filter based on user type.
1871
1625
  * @param {string} [orderBy] Column to order balance by - eg: id,amount
1872
1626
  * @param {GetAllBalanceOrderDirectionEnum} [orderDirection] Order direction
1873
1627
  * @param {boolean} [allowDeleted] Whether to include deleted users
@@ -2012,10 +1766,6 @@ class BalanceApi extends base_1.BaseAPI {
2012
1766
  }
2013
1767
  }
2014
1768
  exports.BalanceApi = BalanceApi;
2015
- /**
2016
- * @export
2017
- */
2018
- exports.GetAllBalanceUserTypesEnum = {};
2019
1769
  /**
2020
1770
  * @export
2021
1771
  */
@@ -5804,16 +5554,17 @@ const InvoicesApiAxiosParamCreator = function (configuration) {
5804
5554
  * @summary Returns all invoices in the system.
5805
5555
  * @param {number} [toId] Filter on Id of the debtor
5806
5556
  * @param {number} [invoiceId] Filter on invoice ID
5807
- * @param {GetAllInvoicesCurrentStateEnum} [currentState] Filter based on Invoice State.
5557
+ * @param {Array<GetAllInvoicesCurrentStateParameterInner>} [currentState] Filter based on Invoice State.
5808
5558
  * @param {boolean} [returnEntries] Boolean if invoice entries should be returned
5809
5559
  * @param {string} [fromDate] Start date for selected invoices (inclusive)
5810
5560
  * @param {string} [tillDate] End date for selected invoices (exclusive)
5561
+ * @param {string} [description] Filter invoices by description (partial match)
5811
5562
  * @param {number} [take] How many entries the endpoint should return
5812
5563
  * @param {number} [skip] How many entries should be skipped (for pagination)
5813
5564
  * @param {*} [options] Override http request option.
5814
5565
  * @throws {RequiredError}
5815
5566
  */
5816
- getAllInvoices: async (toId, invoiceId, currentState, returnEntries, fromDate, tillDate, take, skip, options = {}) => {
5567
+ getAllInvoices: async (toId, invoiceId, currentState, returnEntries, fromDate, tillDate, description, take, skip, options = {}) => {
5817
5568
  const localVarPath = `/invoices`;
5818
5569
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5819
5570
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -5845,6 +5596,9 @@ const InvoicesApiAxiosParamCreator = function (configuration) {
5845
5596
  if (tillDate !== undefined) {
5846
5597
  localVarQueryParameter['tillDate'] = tillDate;
5847
5598
  }
5599
+ if (description !== undefined) {
5600
+ localVarQueryParameter['description'] = description;
5601
+ }
5848
5602
  if (take !== undefined) {
5849
5603
  localVarQueryParameter['take'] = take;
5850
5604
  }
@@ -5903,6 +5657,34 @@ const InvoicesApiAxiosParamCreator = function (configuration) {
5903
5657
  options: localVarRequestOptions,
5904
5658
  };
5905
5659
  },
5660
+ /**
5661
+ *
5662
+ * @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
5663
+ * @param {*} [options] Override http request option.
5664
+ * @throws {RequiredError}
5665
+ */
5666
+ getInvoiceDrift: async (options = {}) => {
5667
+ const localVarPath = `/invoices/drift`;
5668
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5669
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
5670
+ let baseOptions;
5671
+ if (configuration) {
5672
+ baseOptions = configuration.baseOptions;
5673
+ }
5674
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
5675
+ const localVarHeaderParameter = {};
5676
+ const localVarQueryParameter = {};
5677
+ // authentication JWT required
5678
+ // http bearer authentication required
5679
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
5680
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5681
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5682
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
5683
+ return {
5684
+ url: (0, common_1.toPathString)(localVarUrlObj),
5685
+ options: localVarRequestOptions,
5686
+ };
5687
+ },
5906
5688
  /**
5907
5689
  *
5908
5690
  * @summary Get an invoice pdf.
@@ -6135,17 +5917,18 @@ const InvoicesApiFp = function (configuration) {
6135
5917
  * @summary Returns all invoices in the system.
6136
5918
  * @param {number} [toId] Filter on Id of the debtor
6137
5919
  * @param {number} [invoiceId] Filter on invoice ID
6138
- * @param {GetAllInvoicesCurrentStateEnum} [currentState] Filter based on Invoice State.
5920
+ * @param {Array<GetAllInvoicesCurrentStateParameterInner>} [currentState] Filter based on Invoice State.
6139
5921
  * @param {boolean} [returnEntries] Boolean if invoice entries should be returned
6140
5922
  * @param {string} [fromDate] Start date for selected invoices (inclusive)
6141
5923
  * @param {string} [tillDate] End date for selected invoices (exclusive)
5924
+ * @param {string} [description] Filter invoices by description (partial match)
6142
5925
  * @param {number} [take] How many entries the endpoint should return
6143
5926
  * @param {number} [skip] How many entries should be skipped (for pagination)
6144
5927
  * @param {*} [options] Override http request option.
6145
5928
  * @throws {RequiredError}
6146
5929
  */
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);
5930
+ async getAllInvoices(toId, invoiceId, currentState, returnEntries, fromDate, tillDate, description, take, skip, options) {
5931
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAllInvoices(toId, invoiceId, currentState, returnEntries, fromDate, tillDate, description, take, skip, options);
6149
5932
  const index = configuration?.serverIndex ?? 0;
6150
5933
  const operationBasePath = base_1.operationServerMap['InvoicesApi.getAllInvoices']?.[index]?.url;
6151
5934
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
@@ -6165,6 +5948,18 @@ const InvoicesApiFp = function (configuration) {
6165
5948
  const operationBasePath = base_1.operationServerMap['InvoicesApi.getEligibleTransactions']?.[index]?.url;
6166
5949
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
6167
5950
  },
5951
+ /**
5952
+ *
5953
+ * @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
5954
+ * @param {*} [options] Override http request option.
5955
+ * @throws {RequiredError}
5956
+ */
5957
+ async getInvoiceDrift(options) {
5958
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getInvoiceDrift(options);
5959
+ const index = configuration?.serverIndex ?? 0;
5960
+ const operationBasePath = base_1.operationServerMap['InvoicesApi.getInvoiceDrift']?.[index]?.url;
5961
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
5962
+ },
6168
5963
  /**
6169
5964
  *
6170
5965
  * @summary Get an invoice pdf.
@@ -6282,7 +6077,7 @@ const InvoicesApiFactory = function (configuration, basePath, axios) {
6282
6077
  * @throws {RequiredError}
6283
6078
  */
6284
6079
  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));
6080
+ 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
6081
  },
6287
6082
  /**
6288
6083
  *
@@ -6294,6 +6089,15 @@ const InvoicesApiFactory = function (configuration, basePath, axios) {
6294
6089
  getEligibleTransactions(requestParameters, options) {
6295
6090
  return localVarFp.getEligibleTransactions(requestParameters.forId, requestParameters.fromDate, requestParameters.tillDate, options).then((request) => request(axios, basePath));
6296
6091
  },
6092
+ /**
6093
+ *
6094
+ * @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
6095
+ * @param {*} [options] Override http request option.
6096
+ * @throws {RequiredError}
6097
+ */
6098
+ getInvoiceDrift(options) {
6099
+ return localVarFp.getInvoiceDrift(options).then((request) => request(axios, basePath));
6100
+ },
6297
6101
  /**
6298
6102
  *
6299
6103
  * @summary Get an invoice pdf.
@@ -6396,7 +6200,7 @@ class InvoicesApi extends base_1.BaseAPI {
6396
6200
  * @memberof InvoicesApi
6397
6201
  */
6398
6202
  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));
6203
+ 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
6204
  }
6401
6205
  /**
6402
6206
  *
@@ -6409,6 +6213,16 @@ class InvoicesApi extends base_1.BaseAPI {
6409
6213
  getEligibleTransactions(requestParameters, options) {
6410
6214
  return (0, exports.InvoicesApiFp)(this.configuration).getEligibleTransactions(requestParameters.forId, requestParameters.fromDate, requestParameters.tillDate, options).then((request) => request(this.axios, this.basePath));
6411
6215
  }
6216
+ /**
6217
+ *
6218
+ * @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
6219
+ * @param {*} [options] Override http request option.
6220
+ * @throws {RequiredError}
6221
+ * @memberof InvoicesApi
6222
+ */
6223
+ getInvoiceDrift(options) {
6224
+ return (0, exports.InvoicesApiFp)(this.configuration).getInvoiceDrift(options).then((request) => request(this.axios, this.basePath));
6225
+ }
6412
6226
  /**
6413
6227
  *
6414
6228
  * @summary Get an invoice pdf.
@@ -6466,10 +6280,6 @@ class InvoicesApi extends base_1.BaseAPI {
6466
6280
  }
6467
6281
  }
6468
6282
  exports.InvoicesApi = InvoicesApi;
6469
- /**
6470
- * @export
6471
- */
6472
- exports.GetAllInvoicesCurrentStateEnum = {};
6473
6283
  /**
6474
6284
  * PayoutRequestsApi - axios parameter creator
6475
6285
  * @export
@@ -10011,7 +9821,7 @@ const SyncApiAxiosParamCreator = function (configuration) {
10011
9821
  /**
10012
9822
  * 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
9823
  * @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.
9824
+ * @param {Array<GetUserSyncResultsServiceEnum>} [service] Array of sync services to use (ldap, gewisdb). If not provided, all available services will be used.
10015
9825
  * @param {*} [options] Override http request option.
10016
9826
  * @throws {RequiredError}
10017
9827
  */
@@ -10053,7 +9863,7 @@ const SyncApiFp = function (configuration) {
10053
9863
  /**
10054
9864
  * 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
9865
  * @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.
9866
+ * @param {Array<GetUserSyncResultsServiceEnum>} [service] Array of sync services to use (ldap, gewisdb). If not provided, all available services will be used.
10057
9867
  * @param {*} [options] Override http request option.
10058
9868
  * @throws {RequiredError}
10059
9869
  */
@@ -10109,7 +9919,10 @@ exports.SyncApi = SyncApi;
10109
9919
  /**
10110
9920
  * @export
10111
9921
  */
10112
- exports.GetUserSyncResultsServiceEnum = {};
9922
+ exports.GetUserSyncResultsServiceEnum = {
9923
+ Ldap: 'LDAP',
9924
+ Gewisdb: 'GEWISDB'
9925
+ };
10113
9926
  /**
10114
9927
  * TermsOfServiceApi - axios parameter creator
10115
9928
  * @export
@@ -11182,12 +10995,15 @@ const TransfersApiAxiosParamCreator = function (configuration) {
11182
10995
  * @summary Returns all existing transfers
11183
10996
  * @param {string} [fromDate] Start date for selected transfers (inclusive)
11184
10997
  * @param {string} [tillDate] End date for selected transfers (exclusive)
10998
+ * @param {number} [fromId] Filter transfers from this user ID
10999
+ * @param {number} [toId] Filter transfers to this user ID
11000
+ * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost, manualCreation, manualDeletion
11185
11001
  * @param {number} [take] How many transfers the endpoint should return
11186
11002
  * @param {number} [skip] How many transfers should be skipped (for pagination)
11187
11003
  * @param {*} [options] Override http request option.
11188
11004
  * @throws {RequiredError}
11189
11005
  */
11190
- getAllTransfers: async (fromDate, tillDate, take, skip, options = {}) => {
11006
+ getAllTransfers: async (fromDate, tillDate, fromId, toId, category, take, skip, options = {}) => {
11191
11007
  const localVarPath = `/transfers`;
11192
11008
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
11193
11009
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -11207,6 +11023,15 @@ const TransfersApiAxiosParamCreator = function (configuration) {
11207
11023
  if (tillDate !== undefined) {
11208
11024
  localVarQueryParameter['tillDate'] = tillDate;
11209
11025
  }
11026
+ if (fromId !== undefined) {
11027
+ localVarQueryParameter['fromId'] = fromId;
11028
+ }
11029
+ if (toId !== undefined) {
11030
+ localVarQueryParameter['toId'] = toId;
11031
+ }
11032
+ if (category !== undefined) {
11033
+ localVarQueryParameter['category'] = category;
11034
+ }
11210
11035
  if (take !== undefined) {
11211
11036
  localVarQueryParameter['take'] = take;
11212
11037
  }
@@ -11260,7 +11085,7 @@ const TransfersApiAxiosParamCreator = function (configuration) {
11260
11085
  * @param {string} [tillDate] End date for selected transfers (exclusive)
11261
11086
  * @param {number} [fromId] Filter transfers from this user ID
11262
11087
  * @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
11088
+ * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
11264
11089
  * @param {*} [options] Override http request option.
11265
11090
  * @throws {RequiredError}
11266
11091
  */
@@ -11333,6 +11158,50 @@ const TransfersApiAxiosParamCreator = function (configuration) {
11333
11158
  options: localVarRequestOptions,
11334
11159
  };
11335
11160
  },
11161
+ /**
11162
+ *
11163
+ * @summary Returns an aggregate breakdown of transfers for every category plus an overall total
11164
+ * @param {string} [fromDate] Start date for selected transfers (inclusive)
11165
+ * @param {string} [tillDate] End date for selected transfers (exclusive)
11166
+ * @param {number} [fromId] Filter transfers from this user ID
11167
+ * @param {number} [toId] Filter transfers to this user ID
11168
+ * @param {*} [options] Override http request option.
11169
+ * @throws {RequiredError}
11170
+ */
11171
+ getTransferSummary: async (fromDate, tillDate, fromId, toId, options = {}) => {
11172
+ const localVarPath = `/transfers/summary`;
11173
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11174
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11175
+ let baseOptions;
11176
+ if (configuration) {
11177
+ baseOptions = configuration.baseOptions;
11178
+ }
11179
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
11180
+ const localVarHeaderParameter = {};
11181
+ const localVarQueryParameter = {};
11182
+ // authentication JWT required
11183
+ // http bearer authentication required
11184
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
11185
+ if (fromDate !== undefined) {
11186
+ localVarQueryParameter['fromDate'] = fromDate;
11187
+ }
11188
+ if (tillDate !== undefined) {
11189
+ localVarQueryParameter['tillDate'] = tillDate;
11190
+ }
11191
+ if (fromId !== undefined) {
11192
+ localVarQueryParameter['fromId'] = fromId;
11193
+ }
11194
+ if (toId !== undefined) {
11195
+ localVarQueryParameter['toId'] = toId;
11196
+ }
11197
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
11198
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11199
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
11200
+ return {
11201
+ url: (0, common_1.toPathString)(localVarUrlObj),
11202
+ options: localVarRequestOptions,
11203
+ };
11204
+ },
11336
11205
  };
11337
11206
  };
11338
11207
  exports.TransfersApiAxiosParamCreator = TransfersApiAxiosParamCreator;
@@ -11374,13 +11243,16 @@ const TransfersApiFp = function (configuration) {
11374
11243
  * @summary Returns all existing transfers
11375
11244
  * @param {string} [fromDate] Start date for selected transfers (inclusive)
11376
11245
  * @param {string} [tillDate] End date for selected transfers (exclusive)
11246
+ * @param {number} [fromId] Filter transfers from this user ID
11247
+ * @param {number} [toId] Filter transfers to this user ID
11248
+ * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost, manualCreation, manualDeletion
11377
11249
  * @param {number} [take] How many transfers the endpoint should return
11378
11250
  * @param {number} [skip] How many transfers should be skipped (for pagination)
11379
11251
  * @param {*} [options] Override http request option.
11380
11252
  * @throws {RequiredError}
11381
11253
  */
11382
- async getAllTransfers(fromDate, tillDate, take, skip, options) {
11383
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAllTransfers(fromDate, tillDate, take, skip, options);
11254
+ async getAllTransfers(fromDate, tillDate, fromId, toId, category, take, skip, options) {
11255
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAllTransfers(fromDate, tillDate, fromId, toId, category, take, skip, options);
11384
11256
  const index = configuration?.serverIndex ?? 0;
11385
11257
  const operationBasePath = base_1.operationServerMap['TransfersApi.getAllTransfers']?.[index]?.url;
11386
11258
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
@@ -11405,7 +11277,7 @@ const TransfersApiFp = function (configuration) {
11405
11277
  * @param {string} [tillDate] End date for selected transfers (exclusive)
11406
11278
  * @param {number} [fromId] Filter transfers from this user ID
11407
11279
  * @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
11280
+ * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost
11409
11281
  * @param {*} [options] Override http request option.
11410
11282
  * @throws {RequiredError}
11411
11283
  */
@@ -11428,6 +11300,22 @@ const TransfersApiFp = function (configuration) {
11428
11300
  const operationBasePath = base_1.operationServerMap['TransfersApi.getTransferPdf']?.[index]?.url;
11429
11301
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
11430
11302
  },
11303
+ /**
11304
+ *
11305
+ * @summary Returns an aggregate breakdown of transfers for every category plus an overall total
11306
+ * @param {string} [fromDate] Start date for selected transfers (inclusive)
11307
+ * @param {string} [tillDate] End date for selected transfers (exclusive)
11308
+ * @param {number} [fromId] Filter transfers from this user ID
11309
+ * @param {number} [toId] Filter transfers to this user ID
11310
+ * @param {*} [options] Override http request option.
11311
+ * @throws {RequiredError}
11312
+ */
11313
+ async getTransferSummary(fromDate, tillDate, fromId, toId, options) {
11314
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTransferSummary(fromDate, tillDate, fromId, toId, options);
11315
+ const index = configuration?.serverIndex ?? 0;
11316
+ const operationBasePath = base_1.operationServerMap['TransfersApi.getTransferSummary']?.[index]?.url;
11317
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
11318
+ },
11431
11319
  };
11432
11320
  };
11433
11321
  exports.TransfersApiFp = TransfersApiFp;
@@ -11466,7 +11354,7 @@ const TransfersApiFactory = function (configuration, basePath, axios) {
11466
11354
  * @throws {RequiredError}
11467
11355
  */
11468
11356
  getAllTransfers(requestParameters = {}, options) {
11469
- return localVarFp.getAllTransfers(requestParameters.fromDate, requestParameters.tillDate, requestParameters.take, requestParameters.skip, options).then((request) => request(axios, basePath));
11357
+ return localVarFp.getAllTransfers(requestParameters.fromDate, requestParameters.tillDate, requestParameters.fromId, requestParameters.toId, requestParameters.category, requestParameters.take, requestParameters.skip, options).then((request) => request(axios, basePath));
11470
11358
  },
11471
11359
  /**
11472
11360
  *
@@ -11498,6 +11386,16 @@ const TransfersApiFactory = function (configuration, basePath, axios) {
11498
11386
  getTransferPdf(requestParameters, options) {
11499
11387
  return localVarFp.getTransferPdf(requestParameters.id, options).then((request) => request(axios, basePath));
11500
11388
  },
11389
+ /**
11390
+ *
11391
+ * @summary Returns an aggregate breakdown of transfers for every category plus an overall total
11392
+ * @param {TransfersApiGetTransferSummaryRequest} requestParameters Request parameters.
11393
+ * @param {*} [options] Override http request option.
11394
+ * @throws {RequiredError}
11395
+ */
11396
+ getTransferSummary(requestParameters = {}, options) {
11397
+ return localVarFp.getTransferSummary(requestParameters.fromDate, requestParameters.tillDate, requestParameters.fromId, requestParameters.toId, options).then((request) => request(axios, basePath));
11398
+ },
11501
11399
  };
11502
11400
  };
11503
11401
  exports.TransfersApiFactory = TransfersApiFactory;
@@ -11539,7 +11437,7 @@ class TransfersApi extends base_1.BaseAPI {
11539
11437
  * @memberof TransfersApi
11540
11438
  */
11541
11439
  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));
11440
+ 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
11441
  }
11544
11442
  /**
11545
11443
  *
@@ -11574,6 +11472,17 @@ class TransfersApi extends base_1.BaseAPI {
11574
11472
  getTransferPdf(requestParameters, options) {
11575
11473
  return (0, exports.TransfersApiFp)(this.configuration).getTransferPdf(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
11576
11474
  }
11475
+ /**
11476
+ *
11477
+ * @summary Returns an aggregate breakdown of transfers for every category plus an overall total
11478
+ * @param {TransfersApiGetTransferSummaryRequest} requestParameters Request parameters.
11479
+ * @param {*} [options] Override http request option.
11480
+ * @throws {RequiredError}
11481
+ * @memberof TransfersApi
11482
+ */
11483
+ getTransferSummary(requestParameters = {}, options) {
11484
+ return (0, exports.TransfersApiFp)(this.configuration).getTransferSummary(requestParameters.fromDate, requestParameters.tillDate, requestParameters.fromId, requestParameters.toId, options).then((request) => request(this.axios, this.basePath));
11485
+ }
11577
11486
  }
11578
11487
  exports.TransfersApi = TransfersApi;
11579
11488
  /**