@gewis/sudosos-client 0.0.0-develop.b75eff4 → 0.0.0-develop.bc0d8ef

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/api.d.ts +80 -308
  2. package/dist/api.js +20 -277
  3. package/package.json +4 -4
package/dist/api.d.ts CHANGED
@@ -58,19 +58,6 @@ export interface AddRoleRequest {
58
58
  */
59
59
  'roleId': number;
60
60
  }
61
- /**
62
- *
63
- * @export
64
- * @interface AuthenticationEanRequest
65
- */
66
- export interface AuthenticationEanRequest {
67
- /**
68
- *
69
- * @type {string}
70
- * @memberof AuthenticationEanRequest
71
- */
72
- 'eanCode': string;
73
- }
74
61
  /**
75
62
  *
76
63
  * @export
@@ -147,38 +134,6 @@ export interface AuthenticationMockRequest {
147
134
  */
148
135
  'nonce': string;
149
136
  }
150
- /**
151
- *
152
- * @export
153
- * @interface AuthenticationNfcRequest
154
- */
155
- export interface AuthenticationNfcRequest {
156
- /**
157
- *
158
- * @type {string}
159
- * @memberof AuthenticationNfcRequest
160
- */
161
- 'nfcCode': string;
162
- }
163
- /**
164
- *
165
- * @export
166
- * @interface AuthenticationPinRequest
167
- */
168
- export interface AuthenticationPinRequest {
169
- /**
170
- *
171
- * @type {number}
172
- * @memberof AuthenticationPinRequest
173
- */
174
- 'userId': number;
175
- /**
176
- *
177
- * @type {string}
178
- * @memberof AuthenticationPinRequest
179
- */
180
- 'pin': string;
181
- }
182
137
  /**
183
138
  *
184
139
  * @export
@@ -1659,7 +1614,7 @@ export interface ContainerWithProductsResponse {
1659
1614
  'products': Array<ProductResponse>;
1660
1615
  }
1661
1616
  /**
1662
- *
1617
+ * API Request for creating a `container` entity.
1663
1618
  * @export
1664
1619
  * @interface CreateContainerRequest
1665
1620
  */
@@ -1856,7 +1811,7 @@ export interface CreatePermissionParams {
1856
1811
  'attributes': Array<string>;
1857
1812
  }
1858
1813
  /**
1859
- *
1814
+ * API Request for creating a `point of sale` entity.
1860
1815
  * @export
1861
1816
  * @interface CreatePointOfSaleRequest
1862
1817
  */
@@ -1880,7 +1835,7 @@ export interface CreatePointOfSaleRequest {
1880
1835
  */
1881
1836
  'containers': Array<number>;
1882
1837
  /**
1883
- * ID of the user who will own the POS, if undefined it will default to the token ID.
1838
+ * ID of the user who will own the POS.
1884
1839
  * @type {number}
1885
1840
  * @memberof CreatePointOfSaleRequest
1886
1841
  */
@@ -1893,7 +1848,7 @@ export interface CreatePointOfSaleRequest {
1893
1848
  'cashierRoleIds'?: Array<number>;
1894
1849
  }
1895
1850
  /**
1896
- *
1851
+ * API Request for creating a `product` entity.
1897
1852
  * @export
1898
1853
  * @interface CreateProductRequest
1899
1854
  */
@@ -3151,25 +3106,6 @@ export interface InvoiceUserResponse {
3151
3106
  */
3152
3107
  'automatic': boolean;
3153
3108
  }
3154
- /**
3155
- *
3156
- * @export
3157
- * @interface MemberAuthenticationPinRequest
3158
- */
3159
- export interface MemberAuthenticationPinRequest {
3160
- /**
3161
- *
3162
- * @type {number}
3163
- * @memberof MemberAuthenticationPinRequest
3164
- */
3165
- 'memberId': number;
3166
- /**
3167
- *
3168
- * @type {string}
3169
- * @memberof MemberAuthenticationPinRequest
3170
- */
3171
- 'pin': string;
3172
- }
3173
3109
  /**
3174
3110
  *
3175
3111
  * @export
@@ -3219,13 +3155,13 @@ export interface PaginatedBalanceResponse {
3219
3155
  * @type {PaginationResult}
3220
3156
  * @memberof PaginatedBalanceResponse
3221
3157
  */
3222
- '_pagination'?: PaginationResult;
3158
+ '_pagination': PaginationResult;
3223
3159
  /**
3224
3160
  * Returned balance responses
3225
3161
  * @type {Array<BalanceResponse>}
3226
3162
  * @memberof PaginatedBalanceResponse
3227
3163
  */
3228
- 'records'?: Array<BalanceResponse>;
3164
+ 'records': Array<BalanceResponse>;
3229
3165
  }
3230
3166
  /**
3231
3167
  * Paginated API Response for the `banner` entity.
@@ -3238,13 +3174,13 @@ export interface PaginatedBannerResponse {
3238
3174
  * @type {PaginationResult}
3239
3175
  * @memberof PaginatedBannerResponse
3240
3176
  */
3241
- '_pagination'?: PaginationResult;
3177
+ '_pagination': PaginationResult;
3242
3178
  /**
3243
3179
  * Returned banners
3244
3180
  * @type {Array<BannerResponse>}
3245
3181
  * @memberof PaginatedBannerResponse
3246
3182
  */
3247
- 'records'?: Array<BannerResponse>;
3183
+ 'records': Array<BannerResponse>;
3248
3184
  }
3249
3185
  /**
3250
3186
  *
@@ -3304,7 +3240,7 @@ export interface PaginatedBaseTransactionResponse {
3304
3240
  'records': Array<BaseTransactionResponse>;
3305
3241
  }
3306
3242
  /**
3307
- *
3243
+ * Paginated API Response for the `container` entity.
3308
3244
  * @export
3309
3245
  * @interface PaginatedContainerResponse
3310
3246
  */
@@ -3323,7 +3259,7 @@ export interface PaginatedContainerResponse {
3323
3259
  'records': Array<ContainerResponse>;
3324
3260
  }
3325
3261
  /**
3326
- *
3262
+ * Paginated API Response for the `container` entity, with each container\'s products inlined.
3327
3263
  * @export
3328
3264
  * @interface PaginatedContainerWithProductResponse
3329
3265
  */
@@ -3409,13 +3345,13 @@ export interface PaginatedInactiveAdministrativeCostResponse {
3409
3345
  * @type {PaginationResult}
3410
3346
  * @memberof PaginatedInactiveAdministrativeCostResponse
3411
3347
  */
3412
- '_pagination'?: PaginationResult;
3348
+ '_pagination': PaginationResult;
3413
3349
  /**
3414
3350
  * Returned InactiveAdministrativeCost
3415
3351
  * @type {Array<InactiveAdministrativeCostResponse>}
3416
3352
  * @memberof PaginatedInactiveAdministrativeCostResponse
3417
3353
  */
3418
- 'records'?: Array<InactiveAdministrativeCostResponse>;
3354
+ 'records': Array<InactiveAdministrativeCostResponse>;
3419
3355
  }
3420
3356
  /**
3421
3357
  *
@@ -3437,7 +3373,7 @@ export interface PaginatedInvoiceResponse {
3437
3373
  'records': Array<InvoiceResponseTypes>;
3438
3374
  }
3439
3375
  /**
3440
- *
3376
+ * Paginated API Response for the `point of sale` entity.
3441
3377
  * @export
3442
3378
  * @interface PaginatedPointOfSaleResponse
3443
3379
  */
@@ -3456,7 +3392,7 @@ export interface PaginatedPointOfSaleResponse {
3456
3392
  'records': Array<PointOfSaleResponse>;
3457
3393
  }
3458
3394
  /**
3459
- *
3395
+ * Paginated API Response for the `product category` entity.
3460
3396
  * @export
3461
3397
  * @interface PaginatedProductCategoryResponse
3462
3398
  */
@@ -3475,7 +3411,7 @@ export interface PaginatedProductCategoryResponse {
3475
3411
  'records': Array<ProductCategoryResponse>;
3476
3412
  }
3477
3413
  /**
3478
- *
3414
+ * Paginated API Response for the `product` entity.
3479
3415
  * @export
3480
3416
  * @interface PaginatedProductResponse
3481
3417
  */
@@ -3570,7 +3506,7 @@ export interface PaginatedUserResponse {
3570
3506
  'records': Array<UserResponse>;
3571
3507
  }
3572
3508
  /**
3573
- *
3509
+ * Paginated API Response for the `vat group` entity.
3574
3510
  * @export
3575
3511
  * @interface PaginatedVatGroupResponse
3576
3512
  */
@@ -3902,7 +3838,7 @@ export interface PermissionResponse {
3902
3838
  'actions': Array<ActionResponse>;
3903
3839
  }
3904
3840
  /**
3905
- *
3841
+ * API Response describing who is associated with a `point of sale`: its owner, the owner\'s organ members, and the cashier users (users holding at least one of the POS\'s cashier roles).
3906
3842
  * @export
3907
3843
  * @interface PointOfSaleAssociateUsersResponse
3908
3844
  */
@@ -4055,7 +3991,7 @@ export interface PointOfSaleWithContainersResponse {
4055
3991
  'containers': Array<ContainerWithProductsResponse>;
4056
3992
  }
4057
3993
  /**
4058
- *
3994
+ * API Request for creating or updating a `product category` entity.
4059
3995
  * @export
4060
3996
  * @interface ProductCategoryRequest
4061
3997
  */
@@ -5120,23 +5056,23 @@ export interface TotalBalanceResponse {
5120
5056
  */
5121
5057
  'date': string;
5122
5058
  /**
5123
- * The total amount of positive balance in SudoSOS
5124
- * @type {number}
5059
+ *
5060
+ * @type {DineroObjectResponse}
5125
5061
  * @memberof TotalBalanceResponse
5126
5062
  */
5127
- 'totalPositive': number;
5063
+ 'totalPositive': DineroObjectResponse;
5128
5064
  /**
5129
- * The total amount of negative balance in SudoSOS
5130
- * @type {number}
5065
+ *
5066
+ * @type {DineroObjectResponse}
5131
5067
  * @memberof TotalBalanceResponse
5132
5068
  */
5133
- 'totalNegative': number;
5069
+ 'totalNegative': DineroObjectResponse;
5134
5070
  /**
5135
- *
5136
- * @type {UserTypeTotalBalanceResponse}
5071
+ * The total balances for the different user types
5072
+ * @type {Array<UserTypeTotalBalanceResponse>}
5137
5073
  * @memberof TotalBalanceResponse
5138
5074
  */
5139
- 'userTypeBalances': UserTypeTotalBalanceResponse;
5075
+ 'userTypeBalances': Array<UserTypeTotalBalanceResponse>;
5140
5076
  }
5141
5077
  /**
5142
5078
  *
@@ -5721,7 +5657,7 @@ export interface TransferSummaryResponse {
5721
5657
  'manualDeletions': TransferAggregateResponse;
5722
5658
  }
5723
5659
  /**
5724
- *
5660
+ * API Request for updating a `container` entity.
5725
5661
  * @export
5726
5662
  * @interface UpdateContainerRequest
5727
5663
  */
@@ -5971,7 +5907,7 @@ export interface UpdatePinRequest {
5971
5907
  'pin': string;
5972
5908
  }
5973
5909
  /**
5974
- *
5910
+ * API Request for updating a `point of sale` entity.
5975
5911
  * @export
5976
5912
  * @interface UpdatePointOfSaleRequest
5977
5913
  */
@@ -6008,7 +5944,7 @@ export interface UpdatePointOfSaleRequest {
6008
5944
  'cashierRoleIds'?: Array<number>;
6009
5945
  }
6010
5946
  /**
6011
- *
5947
+ * API Request for updating a `product` entity.
6012
5948
  * @export
6013
5949
  * @interface UpdateProductRequest
6014
5950
  */
@@ -6173,9 +6109,15 @@ export interface UpdateUserRequest {
6173
6109
  * @memberof UpdateUserRequest
6174
6110
  */
6175
6111
  'inactiveNotificationSend'?: boolean;
6112
+ /**
6113
+ * ISO date at which the account expires; pass null to clear
6114
+ * @type {string}
6115
+ * @memberof UpdateUserRequest
6116
+ */
6117
+ 'expiryDate'?: string | null;
6176
6118
  }
6177
6119
  /**
6178
- *
6120
+ * API Request for updating an existing `vat group` entity. Only mutable fields; the rate itself cannot change on an existing group.
6179
6121
  * @export
6180
6122
  * @interface UpdateVatGroupRequest
6181
6123
  */
@@ -6389,6 +6331,12 @@ export interface UserResponse {
6389
6331
  * @memberof UserResponse
6390
6332
  */
6391
6333
  'pos'?: BasePointOfSaleInfoResponse;
6334
+ /**
6335
+ * ISO date at which the account expires (null for accounts without expiry)
6336
+ * @type {string}
6337
+ * @memberof UserResponse
6338
+ */
6339
+ 'expiryDate'?: string | null;
6392
6340
  }
6393
6341
  /**
6394
6342
  *
@@ -6537,7 +6485,7 @@ export interface UserTypeTotalBalanceResponse {
6537
6485
  'totalNegative': DineroObjectResponse;
6538
6486
  }
6539
6487
  /**
6540
- *
6488
+ * A `BaseUserResponse` augmented with a stable position index, used to keep ordered user lists (e.g. POS owner members) rendering in a consistent order across requests.
6541
6489
  * @export
6542
6490
  * @interface UserWithIndex
6543
6491
  */
@@ -6569,7 +6517,7 @@ export interface ValidationResponse {
6569
6517
  'errors': Array<string>;
6570
6518
  }
6571
6519
  /**
6572
- *
6520
+ * API Response for a complete VAT declaration — one result table for a given year and period, containing one {@link VatDeclarationRow} per VAT group.
6573
6521
  * @export
6574
6522
  * @interface VatDeclarationResponse
6575
6523
  */
@@ -6594,7 +6542,7 @@ export interface VatDeclarationResponse {
6594
6542
  'rows': Array<VatDeclarationRow>;
6595
6543
  }
6596
6544
  /**
6597
- *
6545
+ * One row of a VAT declaration — the VAT collected for a single group, broken down by period.
6598
6546
  * @export
6599
6547
  * @interface VatDeclarationRow
6600
6548
  */
@@ -7060,15 +7008,6 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
7060
7008
  * @throws {RequiredError}
7061
7009
  */
7062
7010
  confirmQRCode: (sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7063
- /**
7064
- *
7065
- * @summary EAN login and hand out token
7066
- * @param {AuthenticationEanRequest} authenticationEanRequest The EAN login.
7067
- * @param {*} [options] Override http request option.
7068
- * @deprecated
7069
- * @throws {RequiredError}
7070
- */
7071
- eanAuthentication: (authenticationEanRequest: AuthenticationEanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7072
7011
  /**
7073
7012
  *
7074
7013
  * @summary Generate a QR code for authentication
@@ -7138,15 +7077,6 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
7138
7077
  * @throws {RequiredError}
7139
7078
  */
7140
7079
  localAuthentication: (authenticationLocalRequest: AuthenticationLocalRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7141
- /**
7142
- *
7143
- * @summary PIN login for members using memberId.
7144
- * @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login.
7145
- * @param {*} [options] Override http request option.
7146
- * @deprecated
7147
- * @throws {RequiredError}
7148
- */
7149
- memberPinAuthentication: (memberAuthenticationPinRequest: MemberAuthenticationPinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7150
7080
  /**
7151
7081
  *
7152
7082
  * @summary Mock login and hand out token.
@@ -7155,24 +7085,6 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
7155
7085
  * @throws {RequiredError}
7156
7086
  */
7157
7087
  mockAuthentication: (authenticationMockRequest: AuthenticationMockRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7158
- /**
7159
- *
7160
- * @summary NFC login and hand out token
7161
- * @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login.
7162
- * @param {*} [options] Override http request option.
7163
- * @deprecated
7164
- * @throws {RequiredError}
7165
- */
7166
- nfcAuthentication: (authenticationNfcRequest: AuthenticationNfcRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7167
- /**
7168
- *
7169
- * @summary PIN login and hand out token
7170
- * @param {AuthenticationPinRequest} authenticationPinRequest The PIN login.
7171
- * @param {*} [options] Override http request option.
7172
- * @deprecated
7173
- * @throws {RequiredError}
7174
- */
7175
- pinAuthentication: (authenticationPinRequest: AuthenticationPinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7176
7088
  /**
7177
7089
  *
7178
7090
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -7258,15 +7170,6 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
7258
7170
  * @throws {RequiredError}
7259
7171
  */
7260
7172
  confirmQRCode(sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7261
- /**
7262
- *
7263
- * @summary EAN login and hand out token
7264
- * @param {AuthenticationEanRequest} authenticationEanRequest The EAN login.
7265
- * @param {*} [options] Override http request option.
7266
- * @deprecated
7267
- * @throws {RequiredError}
7268
- */
7269
- eanAuthentication(authenticationEanRequest: AuthenticationEanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7270
7173
  /**
7271
7174
  *
7272
7175
  * @summary Generate a QR code for authentication
@@ -7336,15 +7239,6 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
7336
7239
  * @throws {RequiredError}
7337
7240
  */
7338
7241
  localAuthentication(authenticationLocalRequest: AuthenticationLocalRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7339
- /**
7340
- *
7341
- * @summary PIN login for members using memberId.
7342
- * @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login.
7343
- * @param {*} [options] Override http request option.
7344
- * @deprecated
7345
- * @throws {RequiredError}
7346
- */
7347
- memberPinAuthentication(memberAuthenticationPinRequest: MemberAuthenticationPinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7348
7242
  /**
7349
7243
  *
7350
7244
  * @summary Mock login and hand out token.
@@ -7353,24 +7247,6 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
7353
7247
  * @throws {RequiredError}
7354
7248
  */
7355
7249
  mockAuthentication(authenticationMockRequest: AuthenticationMockRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7356
- /**
7357
- *
7358
- * @summary NFC login and hand out token
7359
- * @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login.
7360
- * @param {*} [options] Override http request option.
7361
- * @deprecated
7362
- * @throws {RequiredError}
7363
- */
7364
- nfcAuthentication(authenticationNfcRequest: AuthenticationNfcRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7365
- /**
7366
- *
7367
- * @summary PIN login and hand out token
7368
- * @param {AuthenticationPinRequest} authenticationPinRequest The PIN login.
7369
- * @param {*} [options] Override http request option.
7370
- * @deprecated
7371
- * @throws {RequiredError}
7372
- */
7373
- pinAuthentication(authenticationPinRequest: AuthenticationPinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7374
7250
  /**
7375
7251
  *
7376
7252
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -7456,15 +7332,6 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
7456
7332
  * @throws {RequiredError}
7457
7333
  */
7458
7334
  confirmQRCode(requestParameters: AuthenticateApiConfirmQRCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7459
- /**
7460
- *
7461
- * @summary EAN login and hand out token
7462
- * @param {AuthenticateApiEanAuthenticationRequest} requestParameters Request parameters.
7463
- * @param {*} [options] Override http request option.
7464
- * @deprecated
7465
- * @throws {RequiredError}
7466
- */
7467
- eanAuthentication(requestParameters: AuthenticateApiEanAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7468
7335
  /**
7469
7336
  *
7470
7337
  * @summary Generate a QR code for authentication
@@ -7534,15 +7401,6 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
7534
7401
  * @throws {RequiredError}
7535
7402
  */
7536
7403
  localAuthentication(requestParameters: AuthenticateApiLocalAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7537
- /**
7538
- *
7539
- * @summary PIN login for members using memberId.
7540
- * @param {AuthenticateApiMemberPinAuthenticationRequest} requestParameters Request parameters.
7541
- * @param {*} [options] Override http request option.
7542
- * @deprecated
7543
- * @throws {RequiredError}
7544
- */
7545
- memberPinAuthentication(requestParameters: AuthenticateApiMemberPinAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7546
7404
  /**
7547
7405
  *
7548
7406
  * @summary Mock login and hand out token.
@@ -7551,24 +7409,6 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
7551
7409
  * @throws {RequiredError}
7552
7410
  */
7553
7411
  mockAuthentication(requestParameters: AuthenticateApiMockAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7554
- /**
7555
- *
7556
- * @summary NFC login and hand out token
7557
- * @param {AuthenticateApiNfcAuthenticationRequest} requestParameters Request parameters.
7558
- * @param {*} [options] Override http request option.
7559
- * @deprecated
7560
- * @throws {RequiredError}
7561
- */
7562
- nfcAuthentication(requestParameters: AuthenticateApiNfcAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7563
- /**
7564
- *
7565
- * @summary PIN login and hand out token
7566
- * @param {AuthenticateApiPinAuthenticationRequest} requestParameters Request parameters.
7567
- * @param {*} [options] Override http request option.
7568
- * @deprecated
7569
- * @throws {RequiredError}
7570
- */
7571
- pinAuthentication(requestParameters: AuthenticateApiPinAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7572
7412
  /**
7573
7413
  *
7574
7414
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -7664,19 +7504,6 @@ export interface AuthenticateApiConfirmQRCodeRequest {
7664
7504
  */
7665
7505
  readonly sessionId: string;
7666
7506
  }
7667
- /**
7668
- * Request parameters for eanAuthentication operation in AuthenticateApi.
7669
- * @export
7670
- * @interface AuthenticateApiEanAuthenticationRequest
7671
- */
7672
- export interface AuthenticateApiEanAuthenticationRequest {
7673
- /**
7674
- * The EAN login.
7675
- * @type {AuthenticationEanRequest}
7676
- * @memberof AuthenticateApiEanAuthentication
7677
- */
7678
- readonly authenticationEanRequest: AuthenticationEanRequest;
7679
- }
7680
7507
  /**
7681
7508
  * Request parameters for getQRStatus operation in AuthenticateApi.
7682
7509
  * @export
@@ -7755,19 +7582,6 @@ export interface AuthenticateApiLocalAuthenticationRequest {
7755
7582
  */
7756
7583
  readonly authenticationLocalRequest: AuthenticationLocalRequest;
7757
7584
  }
7758
- /**
7759
- * Request parameters for memberPinAuthentication operation in AuthenticateApi.
7760
- * @export
7761
- * @interface AuthenticateApiMemberPinAuthenticationRequest
7762
- */
7763
- export interface AuthenticateApiMemberPinAuthenticationRequest {
7764
- /**
7765
- * The PIN login.
7766
- * @type {MemberAuthenticationPinRequest}
7767
- * @memberof AuthenticateApiMemberPinAuthentication
7768
- */
7769
- readonly memberAuthenticationPinRequest: MemberAuthenticationPinRequest;
7770
- }
7771
7585
  /**
7772
7586
  * Request parameters for mockAuthentication operation in AuthenticateApi.
7773
7587
  * @export
@@ -7781,32 +7595,6 @@ export interface AuthenticateApiMockAuthenticationRequest {
7781
7595
  */
7782
7596
  readonly authenticationMockRequest: AuthenticationMockRequest;
7783
7597
  }
7784
- /**
7785
- * Request parameters for nfcAuthentication operation in AuthenticateApi.
7786
- * @export
7787
- * @interface AuthenticateApiNfcAuthenticationRequest
7788
- */
7789
- export interface AuthenticateApiNfcAuthenticationRequest {
7790
- /**
7791
- * The NFC login.
7792
- * @type {AuthenticationNfcRequest}
7793
- * @memberof AuthenticateApiNfcAuthentication
7794
- */
7795
- readonly authenticationNfcRequest: AuthenticationNfcRequest;
7796
- }
7797
- /**
7798
- * Request parameters for pinAuthentication operation in AuthenticateApi.
7799
- * @export
7800
- * @interface AuthenticateApiPinAuthenticationRequest
7801
- */
7802
- export interface AuthenticateApiPinAuthenticationRequest {
7803
- /**
7804
- * The PIN login.
7805
- * @type {AuthenticationPinRequest}
7806
- * @memberof AuthenticateApiPinAuthentication
7807
- */
7808
- readonly authenticationPinRequest: AuthenticationPinRequest;
7809
- }
7810
7598
  /**
7811
7599
  * Request parameters for resetLocal operation in AuthenticateApi.
7812
7600
  * @export
@@ -7919,16 +7707,6 @@ export declare class AuthenticateApi extends BaseAPI {
7919
7707
  * @memberof AuthenticateApi
7920
7708
  */
7921
7709
  confirmQRCode(requestParameters: AuthenticateApiConfirmQRCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
7922
- /**
7923
- *
7924
- * @summary EAN login and hand out token
7925
- * @param {AuthenticateApiEanAuthenticationRequest} requestParameters Request parameters.
7926
- * @param {*} [options] Override http request option.
7927
- * @deprecated
7928
- * @throws {RequiredError}
7929
- * @memberof AuthenticateApi
7930
- */
7931
- eanAuthentication(requestParameters: AuthenticateApiEanAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
7932
7710
  /**
7933
7711
  *
7934
7712
  * @summary Generate a QR code for authentication
@@ -8007,16 +7785,6 @@ export declare class AuthenticateApi extends BaseAPI {
8007
7785
  * @memberof AuthenticateApi
8008
7786
  */
8009
7787
  localAuthentication(requestParameters: AuthenticateApiLocalAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8010
- /**
8011
- *
8012
- * @summary PIN login for members using memberId.
8013
- * @param {AuthenticateApiMemberPinAuthenticationRequest} requestParameters Request parameters.
8014
- * @param {*} [options] Override http request option.
8015
- * @deprecated
8016
- * @throws {RequiredError}
8017
- * @memberof AuthenticateApi
8018
- */
8019
- memberPinAuthentication(requestParameters: AuthenticateApiMemberPinAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8020
7788
  /**
8021
7789
  *
8022
7790
  * @summary Mock login and hand out token.
@@ -8026,26 +7794,6 @@ export declare class AuthenticateApi extends BaseAPI {
8026
7794
  * @memberof AuthenticateApi
8027
7795
  */
8028
7796
  mockAuthentication(requestParameters: AuthenticateApiMockAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8029
- /**
8030
- *
8031
- * @summary NFC login and hand out token
8032
- * @param {AuthenticateApiNfcAuthenticationRequest} requestParameters Request parameters.
8033
- * @param {*} [options] Override http request option.
8034
- * @deprecated
8035
- * @throws {RequiredError}
8036
- * @memberof AuthenticateApi
8037
- */
8038
- nfcAuthentication(requestParameters: AuthenticateApiNfcAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8039
- /**
8040
- *
8041
- * @summary PIN login and hand out token
8042
- * @param {AuthenticateApiPinAuthenticationRequest} requestParameters Request parameters.
8043
- * @param {*} [options] Override http request option.
8044
- * @deprecated
8045
- * @throws {RequiredError}
8046
- * @memberof AuthenticateApi
8047
- */
8048
- pinAuthentication(requestParameters: AuthenticateApiPinAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8049
7797
  /**
8050
7798
  *
8051
7799
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -10826,7 +10574,7 @@ export declare const InactiveAdministrativeCostsApiFp: (configuration?: Configur
10826
10574
  * @param {*} [options] Override http request option.
10827
10575
  * @throws {RequiredError}
10828
10576
  */
10829
- handoutInactiveAdministrativeCostsUsers(handoutInactiveAdministrativeCostsRequest: HandoutInactiveAdministrativeCostsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
10577
+ handoutInactiveAdministrativeCostsUsers(handoutInactiveAdministrativeCostsRequest: HandoutInactiveAdministrativeCostsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InactiveAdministrativeCostResponse>>>;
10830
10578
  /**
10831
10579
  *
10832
10580
  * @summary Notify all users which will pay administrative costs within a year
@@ -10904,7 +10652,7 @@ export declare const InactiveAdministrativeCostsApiFactory: (configuration?: Con
10904
10652
  * @param {*} [options] Override http request option.
10905
10653
  * @throws {RequiredError}
10906
10654
  */
10907
- handoutInactiveAdministrativeCostsUsers(requestParameters: InactiveAdministrativeCostsApiHandoutInactiveAdministrativeCostsUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
10655
+ handoutInactiveAdministrativeCostsUsers(requestParameters: InactiveAdministrativeCostsApiHandoutInactiveAdministrativeCostsUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InactiveAdministrativeCostResponse>>;
10908
10656
  /**
10909
10657
  *
10910
10658
  * @summary Notify all users which will pay administrative costs within a year
@@ -11127,7 +10875,7 @@ export declare class InactiveAdministrativeCostsApi extends BaseAPI {
11127
10875
  * @throws {RequiredError}
11128
10876
  * @memberof InactiveAdministrativeCostsApi
11129
10877
  */
11130
- handoutInactiveAdministrativeCostsUsers(requestParameters: InactiveAdministrativeCostsApiHandoutInactiveAdministrativeCostsUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
10878
+ handoutInactiveAdministrativeCostsUsers(requestParameters: InactiveAdministrativeCostsApiHandoutInactiveAdministrativeCostsUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InactiveAdministrativeCostResponse[], any, {}>>;
11131
10879
  /**
11132
10880
  *
11133
10881
  * @summary Notify all users which will pay administrative costs within a year
@@ -11315,7 +11063,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
11315
11063
  * @param {*} [options] Override http request option.
11316
11064
  * @throws {RequiredError}
11317
11065
  */
11318
- getInvoicePdf(id: number, force?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
11066
+ getInvoicePdf(id: number, force?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PdfUrlResponse>>;
11319
11067
  /**
11320
11068
  *
11321
11069
  * @summary Returns a single invoice in the system.
@@ -11411,7 +11159,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
11411
11159
  * @param {*} [options] Override http request option.
11412
11160
  * @throws {RequiredError}
11413
11161
  */
11414
- getInvoicePdf(requestParameters: InvoicesApiGetInvoicePdfRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
11162
+ getInvoicePdf(requestParameters: InvoicesApiGetInvoicePdfRequest, options?: RawAxiosRequestConfig): AxiosPromise<PdfUrlResponse>;
11415
11163
  /**
11416
11164
  *
11417
11165
  * @summary Returns a single invoice in the system.
@@ -11727,7 +11475,7 @@ export declare class InvoicesApi extends BaseAPI {
11727
11475
  * @throws {RequiredError}
11728
11476
  * @memberof InvoicesApi
11729
11477
  */
11730
- getInvoicePdf(requestParameters: InvoicesApiGetInvoicePdfRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
11478
+ getInvoicePdf(requestParameters: InvoicesApiGetInvoicePdfRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PdfUrlResponse, any, {}>>;
11731
11479
  /**
11732
11480
  *
11733
11481
  * @summary Returns a single invoice in the system.
@@ -15139,12 +14887,15 @@ export declare const TransfersApiAxiosParamCreator: (configuration?: Configurati
15139
14887
  * @summary Returns all existing transfers
15140
14888
  * @param {string} [fromDate] Start date for selected transfers (inclusive)
15141
14889
  * @param {string} [tillDate] End date for selected transfers (exclusive)
14890
+ * @param {number} [fromId] Filter transfers from this user ID
14891
+ * @param {number} [toId] Filter transfers to this user ID
14892
+ * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost, manualCreation, manualDeletion
15142
14893
  * @param {number} [take] How many transfers the endpoint should return
15143
14894
  * @param {number} [skip] How many transfers should be skipped (for pagination)
15144
14895
  * @param {*} [options] Override http request option.
15145
14896
  * @throws {RequiredError}
15146
14897
  */
15147
- getAllTransfers: (fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14898
+ getAllTransfers: (fromDate?: string, tillDate?: string, fromId?: number, toId?: number, category?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15148
14899
  /**
15149
14900
  *
15150
14901
  * @summary Returns the requested transfer
@@ -15211,12 +14962,15 @@ export declare const TransfersApiFp: (configuration?: Configuration) => {
15211
14962
  * @summary Returns all existing transfers
15212
14963
  * @param {string} [fromDate] Start date for selected transfers (inclusive)
15213
14964
  * @param {string} [tillDate] End date for selected transfers (exclusive)
14965
+ * @param {number} [fromId] Filter transfers from this user ID
14966
+ * @param {number} [toId] Filter transfers to this user ID
14967
+ * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost, manualCreation, manualDeletion
15214
14968
  * @param {number} [take] How many transfers the endpoint should return
15215
14969
  * @param {number} [skip] How many transfers should be skipped (for pagination)
15216
14970
  * @param {*} [options] Override http request option.
15217
14971
  * @throws {RequiredError}
15218
14972
  */
15219
- getAllTransfers(fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TransferResponse>>>;
14973
+ getAllTransfers(fromDate?: string, tillDate?: string, fromId?: number, toId?: number, category?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedTransferResponse>>;
15220
14974
  /**
15221
14975
  *
15222
14976
  * @summary Returns the requested transfer
@@ -15285,7 +15039,7 @@ export declare const TransfersApiFactory: (configuration?: Configuration, basePa
15285
15039
  * @param {*} [options] Override http request option.
15286
15040
  * @throws {RequiredError}
15287
15041
  */
15288
- getAllTransfers(requestParameters?: TransfersApiGetAllTransfersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<TransferResponse>>;
15042
+ getAllTransfers(requestParameters?: TransfersApiGetAllTransfersRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedTransferResponse>;
15289
15043
  /**
15290
15044
  *
15291
15045
  * @summary Returns the requested transfer
@@ -15363,6 +15117,24 @@ export interface TransfersApiGetAllTransfersRequest {
15363
15117
  * @memberof TransfersApiGetAllTransfers
15364
15118
  */
15365
15119
  readonly tillDate?: string;
15120
+ /**
15121
+ * Filter transfers from this user ID
15122
+ * @type {number}
15123
+ * @memberof TransfersApiGetAllTransfers
15124
+ */
15125
+ readonly fromId?: number;
15126
+ /**
15127
+ * Filter transfers to this user ID
15128
+ * @type {number}
15129
+ * @memberof TransfersApiGetAllTransfers
15130
+ */
15131
+ readonly toId?: number;
15132
+ /**
15133
+ * Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost, manualCreation, manualDeletion
15134
+ * @type {string}
15135
+ * @memberof TransfersApiGetAllTransfers
15136
+ */
15137
+ readonly category?: string;
15366
15138
  /**
15367
15139
  * How many transfers the endpoint should return
15368
15140
  * @type {number}
@@ -15503,7 +15275,7 @@ export declare class TransfersApi extends BaseAPI {
15503
15275
  * @throws {RequiredError}
15504
15276
  * @memberof TransfersApi
15505
15277
  */
15506
- getAllTransfers(requestParameters?: TransfersApiGetAllTransfersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TransferResponse[], any, {}>>;
15278
+ getAllTransfers(requestParameters?: TransfersApiGetAllTransfersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedTransferResponse, any, {}>>;
15507
15279
  /**
15508
15280
  *
15509
15281
  * @summary Returns the requested transfer
package/dist/api.js CHANGED
@@ -200,37 +200,6 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
200
200
  options: localVarRequestOptions,
201
201
  };
202
202
  },
203
- /**
204
- *
205
- * @summary EAN login and hand out token
206
- * @param {AuthenticationEanRequest} authenticationEanRequest The EAN login.
207
- * @param {*} [options] Override http request option.
208
- * @deprecated
209
- * @throws {RequiredError}
210
- */
211
- eanAuthentication: async (authenticationEanRequest, options = {}) => {
212
- // verify required parameter 'authenticationEanRequest' is not null or undefined
213
- (0, common_1.assertParamExists)('eanAuthentication', 'authenticationEanRequest', authenticationEanRequest);
214
- const localVarPath = `/authentication/ean`;
215
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
216
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
217
- let baseOptions;
218
- if (configuration) {
219
- baseOptions = configuration.baseOptions;
220
- }
221
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
222
- const localVarHeaderParameter = {};
223
- const localVarQueryParameter = {};
224
- localVarHeaderParameter['Content-Type'] = 'application/json';
225
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
226
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
227
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
228
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authenticationEanRequest, localVarRequestOptions, configuration);
229
- return {
230
- url: (0, common_1.toPathString)(localVarUrlObj),
231
- options: localVarRequestOptions,
232
- };
233
- },
234
203
  /**
235
204
  *
236
205
  * @summary Generate a QR code for authentication
@@ -485,37 +454,6 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
485
454
  options: localVarRequestOptions,
486
455
  };
487
456
  },
488
- /**
489
- *
490
- * @summary PIN login for members using memberId.
491
- * @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login.
492
- * @param {*} [options] Override http request option.
493
- * @deprecated
494
- * @throws {RequiredError}
495
- */
496
- memberPinAuthentication: async (memberAuthenticationPinRequest, options = {}) => {
497
- // verify required parameter 'memberAuthenticationPinRequest' is not null or undefined
498
- (0, common_1.assertParamExists)('memberPinAuthentication', 'memberAuthenticationPinRequest', memberAuthenticationPinRequest);
499
- const localVarPath = `/authentication/member/pin`;
500
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
501
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
502
- let baseOptions;
503
- if (configuration) {
504
- baseOptions = configuration.baseOptions;
505
- }
506
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
507
- const localVarHeaderParameter = {};
508
- const localVarQueryParameter = {};
509
- localVarHeaderParameter['Content-Type'] = 'application/json';
510
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
511
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
512
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
513
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(memberAuthenticationPinRequest, localVarRequestOptions, configuration);
514
- return {
515
- url: (0, common_1.toPathString)(localVarUrlObj),
516
- options: localVarRequestOptions,
517
- };
518
- },
519
457
  /**
520
458
  *
521
459
  * @summary Mock login and hand out token.
@@ -546,68 +484,6 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
546
484
  options: localVarRequestOptions,
547
485
  };
548
486
  },
549
- /**
550
- *
551
- * @summary NFC login and hand out token
552
- * @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login.
553
- * @param {*} [options] Override http request option.
554
- * @deprecated
555
- * @throws {RequiredError}
556
- */
557
- nfcAuthentication: async (authenticationNfcRequest, options = {}) => {
558
- // verify required parameter 'authenticationNfcRequest' is not null or undefined
559
- (0, common_1.assertParamExists)('nfcAuthentication', 'authenticationNfcRequest', authenticationNfcRequest);
560
- const localVarPath = `/authentication/nfc`;
561
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
562
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
563
- let baseOptions;
564
- if (configuration) {
565
- baseOptions = configuration.baseOptions;
566
- }
567
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
568
- const localVarHeaderParameter = {};
569
- const localVarQueryParameter = {};
570
- localVarHeaderParameter['Content-Type'] = 'application/json';
571
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
572
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
573
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
574
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authenticationNfcRequest, localVarRequestOptions, configuration);
575
- return {
576
- url: (0, common_1.toPathString)(localVarUrlObj),
577
- options: localVarRequestOptions,
578
- };
579
- },
580
- /**
581
- *
582
- * @summary PIN login and hand out token
583
- * @param {AuthenticationPinRequest} authenticationPinRequest The PIN login.
584
- * @param {*} [options] Override http request option.
585
- * @deprecated
586
- * @throws {RequiredError}
587
- */
588
- pinAuthentication: async (authenticationPinRequest, options = {}) => {
589
- // verify required parameter 'authenticationPinRequest' is not null or undefined
590
- (0, common_1.assertParamExists)('pinAuthentication', 'authenticationPinRequest', authenticationPinRequest);
591
- const localVarPath = `/authentication/pin`;
592
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
593
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
594
- let baseOptions;
595
- if (configuration) {
596
- baseOptions = configuration.baseOptions;
597
- }
598
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
599
- const localVarHeaderParameter = {};
600
- const localVarQueryParameter = {};
601
- localVarHeaderParameter['Content-Type'] = 'application/json';
602
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
603
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
604
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
605
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authenticationPinRequest, localVarRequestOptions, configuration);
606
- return {
607
- url: (0, common_1.toPathString)(localVarUrlObj),
608
- options: localVarRequestOptions,
609
- };
610
- },
611
487
  /**
612
488
  *
613
489
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -877,20 +753,6 @@ const AuthenticateApiFp = function (configuration) {
877
753
  const operationBasePath = base_1.operationServerMap['AuthenticateApi.confirmQRCode']?.[index]?.url;
878
754
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
879
755
  },
880
- /**
881
- *
882
- * @summary EAN login and hand out token
883
- * @param {AuthenticationEanRequest} authenticationEanRequest The EAN login.
884
- * @param {*} [options] Override http request option.
885
- * @deprecated
886
- * @throws {RequiredError}
887
- */
888
- async eanAuthentication(authenticationEanRequest, options) {
889
- const localVarAxiosArgs = await localVarAxiosParamCreator.eanAuthentication(authenticationEanRequest, options);
890
- const index = configuration?.serverIndex ?? 0;
891
- const operationBasePath = base_1.operationServerMap['AuthenticateApi.eanAuthentication']?.[index]?.url;
892
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
893
- },
894
756
  /**
895
757
  *
896
758
  * @summary Generate a QR code for authentication
@@ -1005,20 +867,6 @@ const AuthenticateApiFp = function (configuration) {
1005
867
  const operationBasePath = base_1.operationServerMap['AuthenticateApi.localAuthentication']?.[index]?.url;
1006
868
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1007
869
  },
1008
- /**
1009
- *
1010
- * @summary PIN login for members using memberId.
1011
- * @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login.
1012
- * @param {*} [options] Override http request option.
1013
- * @deprecated
1014
- * @throws {RequiredError}
1015
- */
1016
- async memberPinAuthentication(memberAuthenticationPinRequest, options) {
1017
- const localVarAxiosArgs = await localVarAxiosParamCreator.memberPinAuthentication(memberAuthenticationPinRequest, options);
1018
- const index = configuration?.serverIndex ?? 0;
1019
- const operationBasePath = base_1.operationServerMap['AuthenticateApi.memberPinAuthentication']?.[index]?.url;
1020
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1021
- },
1022
870
  /**
1023
871
  *
1024
872
  * @summary Mock login and hand out token.
@@ -1032,34 +880,6 @@ const AuthenticateApiFp = function (configuration) {
1032
880
  const operationBasePath = base_1.operationServerMap['AuthenticateApi.mockAuthentication']?.[index]?.url;
1033
881
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1034
882
  },
1035
- /**
1036
- *
1037
- * @summary NFC login and hand out token
1038
- * @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login.
1039
- * @param {*} [options] Override http request option.
1040
- * @deprecated
1041
- * @throws {RequiredError}
1042
- */
1043
- async nfcAuthentication(authenticationNfcRequest, options) {
1044
- const localVarAxiosArgs = await localVarAxiosParamCreator.nfcAuthentication(authenticationNfcRequest, options);
1045
- const index = configuration?.serverIndex ?? 0;
1046
- const operationBasePath = base_1.operationServerMap['AuthenticateApi.nfcAuthentication']?.[index]?.url;
1047
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1048
- },
1049
- /**
1050
- *
1051
- * @summary PIN login and hand out token
1052
- * @param {AuthenticationPinRequest} authenticationPinRequest The PIN login.
1053
- * @param {*} [options] Override http request option.
1054
- * @deprecated
1055
- * @throws {RequiredError}
1056
- */
1057
- async pinAuthentication(authenticationPinRequest, options) {
1058
- const localVarAxiosArgs = await localVarAxiosParamCreator.pinAuthentication(authenticationPinRequest, options);
1059
- const index = configuration?.serverIndex ?? 0;
1060
- const operationBasePath = base_1.operationServerMap['AuthenticateApi.pinAuthentication']?.[index]?.url;
1061
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1062
- },
1063
883
  /**
1064
884
  *
1065
885
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -1190,17 +1010,6 @@ const AuthenticateApiFactory = function (configuration, basePath, axios) {
1190
1010
  confirmQRCode(requestParameters, options) {
1191
1011
  return localVarFp.confirmQRCode(requestParameters.sessionId, options).then((request) => request(axios, basePath));
1192
1012
  },
1193
- /**
1194
- *
1195
- * @summary EAN login and hand out token
1196
- * @param {AuthenticateApiEanAuthenticationRequest} requestParameters Request parameters.
1197
- * @param {*} [options] Override http request option.
1198
- * @deprecated
1199
- * @throws {RequiredError}
1200
- */
1201
- eanAuthentication(requestParameters, options) {
1202
- return localVarFp.eanAuthentication(requestParameters.authenticationEanRequest, options).then((request) => request(axios, basePath));
1203
- },
1204
1013
  /**
1205
1014
  *
1206
1015
  * @summary Generate a QR code for authentication
@@ -1288,17 +1097,6 @@ const AuthenticateApiFactory = function (configuration, basePath, axios) {
1288
1097
  localAuthentication(requestParameters, options) {
1289
1098
  return localVarFp.localAuthentication(requestParameters.authenticationLocalRequest, options).then((request) => request(axios, basePath));
1290
1099
  },
1291
- /**
1292
- *
1293
- * @summary PIN login for members using memberId.
1294
- * @param {AuthenticateApiMemberPinAuthenticationRequest} requestParameters Request parameters.
1295
- * @param {*} [options] Override http request option.
1296
- * @deprecated
1297
- * @throws {RequiredError}
1298
- */
1299
- memberPinAuthentication(requestParameters, options) {
1300
- return localVarFp.memberPinAuthentication(requestParameters.memberAuthenticationPinRequest, options).then((request) => request(axios, basePath));
1301
- },
1302
1100
  /**
1303
1101
  *
1304
1102
  * @summary Mock login and hand out token.
@@ -1309,28 +1107,6 @@ const AuthenticateApiFactory = function (configuration, basePath, axios) {
1309
1107
  mockAuthentication(requestParameters, options) {
1310
1108
  return localVarFp.mockAuthentication(requestParameters.authenticationMockRequest, options).then((request) => request(axios, basePath));
1311
1109
  },
1312
- /**
1313
- *
1314
- * @summary NFC login and hand out token
1315
- * @param {AuthenticateApiNfcAuthenticationRequest} requestParameters Request parameters.
1316
- * @param {*} [options] Override http request option.
1317
- * @deprecated
1318
- * @throws {RequiredError}
1319
- */
1320
- nfcAuthentication(requestParameters, options) {
1321
- return localVarFp.nfcAuthentication(requestParameters.authenticationNfcRequest, options).then((request) => request(axios, basePath));
1322
- },
1323
- /**
1324
- *
1325
- * @summary PIN login and hand out token
1326
- * @param {AuthenticateApiPinAuthenticationRequest} requestParameters Request parameters.
1327
- * @param {*} [options] Override http request option.
1328
- * @deprecated
1329
- * @throws {RequiredError}
1330
- */
1331
- pinAuthentication(requestParameters, options) {
1332
- return localVarFp.pinAuthentication(requestParameters.authenticationPinRequest, options).then((request) => request(axios, basePath));
1333
- },
1334
1110
  /**
1335
1111
  *
1336
1112
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -1443,18 +1219,6 @@ class AuthenticateApi extends base_1.BaseAPI {
1443
1219
  confirmQRCode(requestParameters, options) {
1444
1220
  return (0, exports.AuthenticateApiFp)(this.configuration).confirmQRCode(requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
1445
1221
  }
1446
- /**
1447
- *
1448
- * @summary EAN login and hand out token
1449
- * @param {AuthenticateApiEanAuthenticationRequest} requestParameters Request parameters.
1450
- * @param {*} [options] Override http request option.
1451
- * @deprecated
1452
- * @throws {RequiredError}
1453
- * @memberof AuthenticateApi
1454
- */
1455
- eanAuthentication(requestParameters, options) {
1456
- return (0, exports.AuthenticateApiFp)(this.configuration).eanAuthentication(requestParameters.authenticationEanRequest, options).then((request) => request(this.axios, this.basePath));
1457
- }
1458
1222
  /**
1459
1223
  *
1460
1224
  * @summary Generate a QR code for authentication
@@ -1551,18 +1315,6 @@ class AuthenticateApi extends base_1.BaseAPI {
1551
1315
  localAuthentication(requestParameters, options) {
1552
1316
  return (0, exports.AuthenticateApiFp)(this.configuration).localAuthentication(requestParameters.authenticationLocalRequest, options).then((request) => request(this.axios, this.basePath));
1553
1317
  }
1554
- /**
1555
- *
1556
- * @summary PIN login for members using memberId.
1557
- * @param {AuthenticateApiMemberPinAuthenticationRequest} requestParameters Request parameters.
1558
- * @param {*} [options] Override http request option.
1559
- * @deprecated
1560
- * @throws {RequiredError}
1561
- * @memberof AuthenticateApi
1562
- */
1563
- memberPinAuthentication(requestParameters, options) {
1564
- return (0, exports.AuthenticateApiFp)(this.configuration).memberPinAuthentication(requestParameters.memberAuthenticationPinRequest, options).then((request) => request(this.axios, this.basePath));
1565
- }
1566
1318
  /**
1567
1319
  *
1568
1320
  * @summary Mock login and hand out token.
@@ -1574,30 +1326,6 @@ class AuthenticateApi extends base_1.BaseAPI {
1574
1326
  mockAuthentication(requestParameters, options) {
1575
1327
  return (0, exports.AuthenticateApiFp)(this.configuration).mockAuthentication(requestParameters.authenticationMockRequest, options).then((request) => request(this.axios, this.basePath));
1576
1328
  }
1577
- /**
1578
- *
1579
- * @summary NFC login and hand out token
1580
- * @param {AuthenticateApiNfcAuthenticationRequest} requestParameters Request parameters.
1581
- * @param {*} [options] Override http request option.
1582
- * @deprecated
1583
- * @throws {RequiredError}
1584
- * @memberof AuthenticateApi
1585
- */
1586
- nfcAuthentication(requestParameters, options) {
1587
- return (0, exports.AuthenticateApiFp)(this.configuration).nfcAuthentication(requestParameters.authenticationNfcRequest, options).then((request) => request(this.axios, this.basePath));
1588
- }
1589
- /**
1590
- *
1591
- * @summary PIN login and hand out token
1592
- * @param {AuthenticateApiPinAuthenticationRequest} requestParameters Request parameters.
1593
- * @param {*} [options] Override http request option.
1594
- * @deprecated
1595
- * @throws {RequiredError}
1596
- * @memberof AuthenticateApi
1597
- */
1598
- pinAuthentication(requestParameters, options) {
1599
- return (0, exports.AuthenticateApiFp)(this.configuration).pinAuthentication(requestParameters.authenticationPinRequest, options).then((request) => request(this.axios, this.basePath));
1600
- }
1601
1329
  /**
1602
1330
  *
1603
1331
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -11267,12 +10995,15 @@ const TransfersApiAxiosParamCreator = function (configuration) {
11267
10995
  * @summary Returns all existing transfers
11268
10996
  * @param {string} [fromDate] Start date for selected transfers (inclusive)
11269
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
11270
11001
  * @param {number} [take] How many transfers the endpoint should return
11271
11002
  * @param {number} [skip] How many transfers should be skipped (for pagination)
11272
11003
  * @param {*} [options] Override http request option.
11273
11004
  * @throws {RequiredError}
11274
11005
  */
11275
- getAllTransfers: async (fromDate, tillDate, take, skip, options = {}) => {
11006
+ getAllTransfers: async (fromDate, tillDate, fromId, toId, category, take, skip, options = {}) => {
11276
11007
  const localVarPath = `/transfers`;
11277
11008
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
11278
11009
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -11292,6 +11023,15 @@ const TransfersApiAxiosParamCreator = function (configuration) {
11292
11023
  if (tillDate !== undefined) {
11293
11024
  localVarQueryParameter['tillDate'] = tillDate;
11294
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
+ }
11295
11035
  if (take !== undefined) {
11296
11036
  localVarQueryParameter['take'] = take;
11297
11037
  }
@@ -11503,13 +11243,16 @@ const TransfersApiFp = function (configuration) {
11503
11243
  * @summary Returns all existing transfers
11504
11244
  * @param {string} [fromDate] Start date for selected transfers (inclusive)
11505
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
11506
11249
  * @param {number} [take] How many transfers the endpoint should return
11507
11250
  * @param {number} [skip] How many transfers should be skipped (for pagination)
11508
11251
  * @param {*} [options] Override http request option.
11509
11252
  * @throws {RequiredError}
11510
11253
  */
11511
- async getAllTransfers(fromDate, tillDate, take, skip, options) {
11512
- 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);
11513
11256
  const index = configuration?.serverIndex ?? 0;
11514
11257
  const operationBasePath = base_1.operationServerMap['TransfersApi.getAllTransfers']?.[index]?.url;
11515
11258
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
@@ -11611,7 +11354,7 @@ const TransfersApiFactory = function (configuration, basePath, axios) {
11611
11354
  * @throws {RequiredError}
11612
11355
  */
11613
11356
  getAllTransfers(requestParameters = {}, options) {
11614
- 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));
11615
11358
  },
11616
11359
  /**
11617
11360
  *
@@ -11694,7 +11437,7 @@ class TransfersApi extends base_1.BaseAPI {
11694
11437
  * @memberof TransfersApi
11695
11438
  */
11696
11439
  getAllTransfers(requestParameters = {}, options) {
11697
- 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));
11698
11441
  }
11699
11442
  /**
11700
11443
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gewis/sudosos-client",
3
- "version": "0.0.0-develop.b75eff4",
3
+ "version": "0.0.0-develop.bc0d8ef",
4
4
  "description": "Auto-generated TypeScript-Axios client for the SudoSOS API",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "main": "dist/index.js",
@@ -16,11 +16,11 @@
16
16
  "clean": "rm -rf src dist"
17
17
  },
18
18
  "dependencies": {
19
- "axios": "^1.6.3"
19
+ "axios": "1.16.0"
20
20
  },
21
21
  "devDependencies": {
22
- "@openapitools/openapi-generator-cli": "^2.7.0",
23
- "typescript": "~5.9.3"
22
+ "@openapitools/openapi-generator-cli": "2.32.0",
23
+ "typescript": "5.9.3"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",