@gewis/sudosos-client 0.0.0-develop.b8bab32 → 0.0.0-develop.bb0eaaa

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.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * sudosos-back-end
2
+ * sudosos-backend
3
3
  * SudoSOS
4
4
  *
5
5
  * The version of the OpenAPI document: 0.1.0
@@ -25,6 +25,12 @@ export interface AcceptTosRequest {
25
25
  * @memberof AcceptTosRequest
26
26
  */
27
27
  'extensiveDataProcessing': boolean;
28
+ /**
29
+ * The TOS version being accepted.
30
+ * @type {string}
31
+ * @memberof AcceptTosRequest
32
+ */
33
+ 'version': string;
28
34
  }
29
35
  /**
30
36
  *
@@ -58,6 +64,25 @@ export interface AddRoleRequest {
58
64
  */
59
65
  'roleId': number;
60
66
  }
67
+ /**
68
+ *
69
+ * @export
70
+ * @interface AuthenticationEanRequest
71
+ */
72
+ export interface AuthenticationEanRequest {
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof AuthenticationEanRequest
77
+ */
78
+ 'eanCode': string;
79
+ /**
80
+ * POS identifier
81
+ * @type {number}
82
+ * @memberof AuthenticationEanRequest
83
+ */
84
+ 'posId': number;
85
+ }
61
86
  /**
62
87
  *
63
88
  * @export
@@ -134,6 +159,50 @@ export interface AuthenticationMockRequest {
134
159
  */
135
160
  'nonce': string;
136
161
  }
162
+ /**
163
+ *
164
+ * @export
165
+ * @interface AuthenticationNfcRequest
166
+ */
167
+ export interface AuthenticationNfcRequest {
168
+ /**
169
+ *
170
+ * @type {string}
171
+ * @memberof AuthenticationNfcRequest
172
+ */
173
+ 'nfcCode': string;
174
+ /**
175
+ * POS identifier
176
+ * @type {number}
177
+ * @memberof AuthenticationNfcRequest
178
+ */
179
+ 'posId': number;
180
+ }
181
+ /**
182
+ *
183
+ * @export
184
+ * @interface AuthenticationPinRequest
185
+ */
186
+ export interface AuthenticationPinRequest {
187
+ /**
188
+ *
189
+ * @type {number}
190
+ * @memberof AuthenticationPinRequest
191
+ */
192
+ 'userId': number;
193
+ /**
194
+ *
195
+ * @type {string}
196
+ * @memberof AuthenticationPinRequest
197
+ */
198
+ 'pin': string;
199
+ /**
200
+ * POS identifier
201
+ * @type {number}
202
+ * @memberof AuthenticationPinRequest
203
+ */
204
+ 'posId': number;
205
+ }
137
206
  /**
138
207
  *
139
208
  * @export
@@ -215,69 +284,6 @@ export interface AuthenticationResponse {
215
284
  */
216
285
  'rolesWithPermissions': Array<RoleWithPermissionsResponse>;
217
286
  }
218
- /**
219
- *
220
- * @export
221
- * @interface AuthenticationSecureEanRequest
222
- */
223
- export interface AuthenticationSecureEanRequest {
224
- /**
225
- *
226
- * @type {string}
227
- * @memberof AuthenticationSecureEanRequest
228
- */
229
- 'eanCode': string;
230
- /**
231
- * POS identifier
232
- * @type {number}
233
- * @memberof AuthenticationSecureEanRequest
234
- */
235
- 'posId': number;
236
- }
237
- /**
238
- *
239
- * @export
240
- * @interface AuthenticationSecureNfcRequest
241
- */
242
- export interface AuthenticationSecureNfcRequest {
243
- /**
244
- *
245
- * @type {string}
246
- * @memberof AuthenticationSecureNfcRequest
247
- */
248
- 'nfcCode': string;
249
- /**
250
- * POS identifier
251
- * @type {number}
252
- * @memberof AuthenticationSecureNfcRequest
253
- */
254
- 'posId': number;
255
- }
256
- /**
257
- *
258
- * @export
259
- * @interface AuthenticationSecurePinRequest
260
- */
261
- export interface AuthenticationSecurePinRequest {
262
- /**
263
- *
264
- * @type {number}
265
- * @memberof AuthenticationSecurePinRequest
266
- */
267
- 'userId': number;
268
- /**
269
- *
270
- * @type {string}
271
- * @memberof AuthenticationSecurePinRequest
272
- */
273
- 'pin': string;
274
- /**
275
- * POS identifier (required for secure authentication)
276
- * @type {number}
277
- * @memberof AuthenticationSecurePinRequest
278
- */
279
- 'posId': number;
280
- }
281
287
  /**
282
288
  *
283
289
  * @export
@@ -2112,6 +2118,19 @@ export interface CreateShiftRequest {
2112
2118
  */
2113
2119
  'roles': Array<string>;
2114
2120
  }
2121
+ /**
2122
+ *
2123
+ * @export
2124
+ * @interface CreateTerminalPaymentRequest
2125
+ */
2126
+ export interface CreateTerminalPaymentRequest {
2127
+ /**
2128
+ *
2129
+ * @type {TransactionRequest}
2130
+ * @memberof CreateTerminalPaymentRequest
2131
+ */
2132
+ 'transaction': TransactionRequest;
2133
+ }
2115
2134
  /**
2116
2135
  *
2117
2136
  * @export
@@ -3276,25 +3295,25 @@ export interface MarkFulfilledExternallyRequest {
3276
3295
  /**
3277
3296
  *
3278
3297
  * @export
3279
- * @interface MemberAuthenticationSecurePinRequest
3298
+ * @interface MemberAuthenticationPinRequest
3280
3299
  */
3281
- export interface MemberAuthenticationSecurePinRequest {
3300
+ export interface MemberAuthenticationPinRequest {
3282
3301
  /**
3283
3302
  *
3284
3303
  * @type {number}
3285
- * @memberof MemberAuthenticationSecurePinRequest
3304
+ * @memberof MemberAuthenticationPinRequest
3286
3305
  */
3287
3306
  'memberId': number;
3288
3307
  /**
3289
3308
  *
3290
3309
  * @type {string}
3291
- * @memberof MemberAuthenticationSecurePinRequest
3310
+ * @memberof MemberAuthenticationPinRequest
3292
3311
  */
3293
3312
  'pin': string;
3294
3313
  /**
3295
3314
  * POS identifier
3296
3315
  * @type {number}
3297
- * @memberof MemberAuthenticationSecurePinRequest
3316
+ * @memberof MemberAuthenticationPinRequest
3298
3317
  */
3299
3318
  'posId': number;
3300
3319
  }
@@ -4201,6 +4220,19 @@ export interface PointOfSaleWithContainersResponse {
4201
4220
  */
4202
4221
  'containers': Array<ContainerWithProductsResponse>;
4203
4222
  }
4223
+ /**
4224
+ *
4225
+ * @export
4226
+ * @interface ProcessTerminalPaymentRequest
4227
+ */
4228
+ export interface ProcessTerminalPaymentRequest {
4229
+ /**
4230
+ * The ID of the Stripe terminal to perform the payment with
4231
+ * @type {string}
4232
+ * @memberof ProcessTerminalPaymentRequest
4233
+ */
4234
+ 'stripeTerminalId': string;
4235
+ }
4204
4236
  /**
4205
4237
  * API Request for creating or updating a `product category` entity.
4206
4238
  * @export
@@ -5093,6 +5125,37 @@ export interface StripePaymentIntentStatusResponse {
5093
5125
  */
5094
5126
  'state': number;
5095
5127
  }
5128
+ /**
5129
+ *
5130
+ * @export
5131
+ * @interface StripePaymentTerminalResponse
5132
+ */
5133
+ export interface StripePaymentTerminalResponse {
5134
+ /**
5135
+ * The ID of the payment terminal
5136
+ * @type {string}
5137
+ * @memberof StripePaymentTerminalResponse
5138
+ */
5139
+ 'id': string;
5140
+ /**
5141
+ * The name of the payment terminal
5142
+ * @type {string}
5143
+ * @memberof StripePaymentTerminalResponse
5144
+ */
5145
+ 'name': string;
5146
+ /**
5147
+ * When the terminal was last seen. If more than 1 minute ago, the terminal might be offline. If more than 5 minutes ago, it is definitely offline.
5148
+ * @type {string}
5149
+ * @memberof StripePaymentTerminalResponse
5150
+ */
5151
+ 'lastSeenAt': string;
5152
+ /**
5153
+ * Whether the terminal is available to start processing a payment
5154
+ * @type {boolean}
5155
+ * @memberof StripePaymentTerminalResponse
5156
+ */
5157
+ 'available': boolean;
5158
+ }
5096
5159
  /**
5097
5160
  *
5098
5161
  * @export
@@ -5285,6 +5348,67 @@ export interface SubTransactionRowResponse {
5285
5348
  */
5286
5349
  'totalPriceInclVat': DineroObjectResponse;
5287
5350
  }
5351
+ /**
5352
+ *
5353
+ * @export
5354
+ * @interface TerminalPaymentResponse
5355
+ */
5356
+ export interface TerminalPaymentResponse {
5357
+ /**
5358
+ * The unique id of the entity.
5359
+ * @type {number}
5360
+ * @memberof TerminalPaymentResponse
5361
+ */
5362
+ 'id': number;
5363
+ /**
5364
+ * The creation Date of the entity.
5365
+ * @type {string}
5366
+ * @memberof TerminalPaymentResponse
5367
+ */
5368
+ 'createdAt'?: string;
5369
+ /**
5370
+ * The last update Date of the entity.
5371
+ * @type {string}
5372
+ * @memberof TerminalPaymentResponse
5373
+ */
5374
+ 'updatedAt'?: string;
5375
+ /**
5376
+ * The version of the entity.
5377
+ * @type {number}
5378
+ * @memberof TerminalPaymentResponse
5379
+ */
5380
+ 'version'?: number;
5381
+ /**
5382
+ *
5383
+ * @type {TransactionResponse}
5384
+ * @memberof TerminalPaymentResponse
5385
+ */
5386
+ 'transaction'?: TransactionResponse;
5387
+ /**
5388
+ *
5389
+ * @type {TransferResponse}
5390
+ * @memberof TerminalPaymentResponse
5391
+ */
5392
+ 'transfer'?: TransferResponse;
5393
+ /**
5394
+ *
5395
+ * @type {BaseUserResponse}
5396
+ * @memberof TerminalPaymentResponse
5397
+ */
5398
+ 'createdBy': BaseUserResponse;
5399
+ /**
5400
+ * The state of the terminal payment. One of \'created\', \'processing\', \'paid\' or \'cancelled\'.
5401
+ * @type {string}
5402
+ * @memberof TerminalPaymentResponse
5403
+ */
5404
+ 'state': string;
5405
+ /**
5406
+ *
5407
+ * @type {DineroObjectResponse}
5408
+ * @memberof TerminalPaymentResponse
5409
+ */
5410
+ 'amount': DineroObjectResponse;
5411
+ }
5288
5412
  /**
5289
5413
  *
5290
5414
  * @export
@@ -5297,6 +5421,12 @@ export interface TermsOfServiceResponse {
5297
5421
  * @memberof TermsOfServiceResponse
5298
5422
  */
5299
5423
  'versionNumber': string;
5424
+ /**
5425
+ * The date this version took effect.
5426
+ * @type {string}
5427
+ * @memberof TermsOfServiceResponse
5428
+ */
5429
+ 'date': string;
5300
5430
  /**
5301
5431
  * The terms of service content.
5302
5432
  * @type {string}
@@ -5304,6 +5434,17 @@ export interface TermsOfServiceResponse {
5304
5434
  */
5305
5435
  'content': string;
5306
5436
  }
5437
+ /**
5438
+ * The terms of service status of a user
5439
+ * @export
5440
+ * @enum {string}
5441
+ */
5442
+ export declare const TermsOfServiceStatus: {
5443
+ readonly Accepted: "ACCEPTED";
5444
+ readonly NotAccepted: "NOT_ACCEPTED";
5445
+ readonly NotRequired: "NOT_REQUIRED";
5446
+ };
5447
+ export type TermsOfServiceStatus = typeof TermsOfServiceStatus[keyof typeof TermsOfServiceStatus];
5307
5448
  /**
5308
5449
  *
5309
5450
  * @export
@@ -6376,6 +6517,12 @@ export interface UpdateUserRequest {
6376
6517
  * @memberof UpdateUserRequest
6377
6518
  */
6378
6519
  'expiryDate'?: string | null;
6520
+ /**
6521
+ * Whether organ members can manage this organ\'s products and containers without BAC/GEWIS PM. Only meaningful for organ users.
6522
+ * @type {boolean}
6523
+ * @memberof UpdateUserRequest
6524
+ */
6525
+ 'productSelfService'?: boolean;
6379
6526
  }
6380
6527
  /**
6381
6528
  * API Request for updating an existing `vat group` entity. Only mutable fields; the rate itself cannot change on an existing group.
@@ -6551,11 +6698,17 @@ export interface UserResponse {
6551
6698
  */
6552
6699
  'email'?: string;
6553
6700
  /**
6554
- * Whether this user has accepted the TOS
6555
- * @type {string}
6701
+ * Whether this user is required to accept the TOS
6702
+ * @type {boolean}
6556
6703
  * @memberof UserResponse
6557
6704
  */
6558
- 'acceptedToS'?: string;
6705
+ 'tosRequired'?: boolean;
6706
+ /**
6707
+ *
6708
+ * @type {TermsOfServiceStatus}
6709
+ * @memberof UserResponse
6710
+ */
6711
+ 'acceptedToS'?: TermsOfServiceStatus;
6559
6712
  /**
6560
6713
  * Whether data about this user can be used (non-anonymously) for more data science!
6561
6714
  * @type {boolean}
@@ -6704,6 +6857,50 @@ export interface UserToInactiveAdministrativeCostResponse {
6704
6857
  */
6705
6858
  'nickname'?: string;
6706
6859
  }
6860
+ /**
6861
+ *
6862
+ * @export
6863
+ * @interface UserTosAcceptanceResponse
6864
+ */
6865
+ export interface UserTosAcceptanceResponse {
6866
+ /**
6867
+ * The accepted terms of service version number.
6868
+ * @type {string}
6869
+ * @memberof UserTosAcceptanceResponse
6870
+ */
6871
+ 'versionNumber': string;
6872
+ /**
6873
+ * The date at which this version was accepted.
6874
+ * @type {string}
6875
+ * @memberof UserTosAcceptanceResponse
6876
+ */
6877
+ 'acceptedAt': string;
6878
+ }
6879
+ /**
6880
+ *
6881
+ * @export
6882
+ * @interface UserTosResponse
6883
+ */
6884
+ export interface UserTosResponse {
6885
+ /**
6886
+ *
6887
+ * @type {TermsOfServiceStatus}
6888
+ * @memberof UserTosResponse
6889
+ */
6890
+ 'status': TermsOfServiceStatus;
6891
+ /**
6892
+ * The current terms of service version number.
6893
+ * @type {string}
6894
+ * @memberof UserTosResponse
6895
+ */
6896
+ 'currentVersion': string;
6897
+ /**
6898
+ * All TOS versions the user has accepted.
6899
+ * @type {Array<UserTosAcceptanceResponse>}
6900
+ * @memberof UserTosResponse
6901
+ */
6902
+ 'acceptances': Array<UserTosAcceptanceResponse>;
6903
+ }
6707
6904
  /**
6708
6905
  * The type of a user
6709
6906
  * @export
@@ -7269,6 +7466,14 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
7269
7466
  * @throws {RequiredError}
7270
7467
  */
7271
7468
  confirmQRCode: (sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7469
+ /**
7470
+ *
7471
+ * @summary EAN authentication that requires POS user authentication
7472
+ * @param {AuthenticationEanRequest} authenticationEanRequest The EAN login request with posId
7473
+ * @param {*} [options] Override http request option.
7474
+ * @throws {RequiredError}
7475
+ */
7476
+ eanAuthentication: (authenticationEanRequest: AuthenticationEanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7272
7477
  /**
7273
7478
  *
7274
7479
  * @summary Generate a QR code for authentication
@@ -7340,67 +7545,59 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
7340
7545
  localAuthentication: (authenticationLocalRequest: AuthenticationLocalRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7341
7546
  /**
7342
7547
  *
7343
- * @summary Mock login and hand out token.
7344
- * @param {AuthenticationMockRequest} authenticationMockRequest The mock login.
7548
+ * @summary Member PIN authentication that requires POS user authentication
7549
+ * @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login request with posId
7345
7550
  * @param {*} [options] Override http request option.
7346
7551
  * @throws {RequiredError}
7347
7552
  */
7348
- mockAuthentication: (authenticationMockRequest: AuthenticationMockRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7553
+ memberPINAuthentication: (memberAuthenticationPinRequest: MemberAuthenticationPinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7349
7554
  /**
7350
7555
  *
7351
- * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
7352
- * @param {*} [options] Override http request option.
7353
- * @throws {RequiredError}
7354
- */
7355
- refreshToken: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7356
- /**
7357
- *
7358
- * @summary Creates a reset token for the local authentication
7359
- * @param {ResetLocalRequest} resetLocalRequest The reset info.
7556
+ * @summary Mock login and hand out token.
7557
+ * @param {AuthenticationMockRequest} authenticationMockRequest The mock login.
7360
7558
  * @param {*} [options] Override http request option.
7361
7559
  * @throws {RequiredError}
7362
7560
  */
7363
- resetLocal: (resetLocalRequest: ResetLocalRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7561
+ mockAuthentication: (authenticationMockRequest: AuthenticationMockRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7364
7562
  /**
7365
7563
  *
7366
- * @summary Reset local authentication using the provided token
7367
- * @param {AuthenticationResetTokenRequest} authenticationResetTokenRequest The reset token.
7564
+ * @summary NFC authentication that requires POS user authentication
7565
+ * @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login request with posId
7368
7566
  * @param {*} [options] Override http request option.
7369
7567
  * @throws {RequiredError}
7370
7568
  */
7371
- resetLocalWithToken: (authenticationResetTokenRequest: AuthenticationResetTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7569
+ nfcAuthentication: (authenticationNfcRequest: AuthenticationNfcRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7372
7570
  /**
7373
7571
  *
7374
- * @summary Secure EAN authentication that requires POS user authentication
7375
- * @param {AuthenticationSecureEanRequest} authenticationSecureEanRequest The EAN login request with posId
7572
+ * @summary PIN authentication that requires POS user authentication
7573
+ * @param {AuthenticationPinRequest} authenticationPinRequest The PIN login request with posId
7376
7574
  * @param {*} [options] Override http request option.
7377
7575
  * @throws {RequiredError}
7378
7576
  */
7379
- secureEanAuthentication: (authenticationSecureEanRequest: AuthenticationSecureEanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7577
+ pinAuthentication: (authenticationPinRequest: AuthenticationPinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7380
7578
  /**
7381
7579
  *
7382
- * @summary Secure member PIN authentication that requires POS user authentication
7383
- * @param {MemberAuthenticationSecurePinRequest} memberAuthenticationSecurePinRequest The PIN login request with posId
7580
+ * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
7384
7581
  * @param {*} [options] Override http request option.
7385
7582
  * @throws {RequiredError}
7386
7583
  */
7387
- secureMemberPINAuthentication: (memberAuthenticationSecurePinRequest: MemberAuthenticationSecurePinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7584
+ refreshToken: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7388
7585
  /**
7389
7586
  *
7390
- * @summary Secure NFC authentication that requires POS user authentication
7391
- * @param {AuthenticationSecureNfcRequest} authenticationSecureNfcRequest The NFC login request with posId
7587
+ * @summary Creates a reset token for the local authentication
7588
+ * @param {ResetLocalRequest} resetLocalRequest The reset info.
7392
7589
  * @param {*} [options] Override http request option.
7393
7590
  * @throws {RequiredError}
7394
7591
  */
7395
- secureNfcAuthentication: (authenticationSecureNfcRequest: AuthenticationSecureNfcRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7592
+ resetLocal: (resetLocalRequest: ResetLocalRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7396
7593
  /**
7397
7594
  *
7398
- * @summary Secure PIN authentication that requires POS user authentication
7399
- * @param {AuthenticationSecurePinRequest} authenticationSecurePinRequest The PIN login request with posId
7595
+ * @summary Reset local authentication using the provided token
7596
+ * @param {AuthenticationResetTokenRequest} authenticationResetTokenRequest The reset token.
7400
7597
  * @param {*} [options] Override http request option.
7401
7598
  * @throws {RequiredError}
7402
7599
  */
7403
- securePINAuthentication: (authenticationSecurePinRequest: AuthenticationSecurePinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7600
+ resetLocalWithToken: (authenticationResetTokenRequest: AuthenticationResetTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7404
7601
  };
7405
7602
  /**
7406
7603
  * AuthenticateApi - functional programming interface
@@ -7431,6 +7628,14 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
7431
7628
  * @throws {RequiredError}
7432
7629
  */
7433
7630
  confirmQRCode(sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7631
+ /**
7632
+ *
7633
+ * @summary EAN authentication that requires POS user authentication
7634
+ * @param {AuthenticationEanRequest} authenticationEanRequest The EAN login request with posId
7635
+ * @param {*} [options] Override http request option.
7636
+ * @throws {RequiredError}
7637
+ */
7638
+ eanAuthentication(authenticationEanRequest: AuthenticationEanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7434
7639
  /**
7435
7640
  *
7436
7641
  * @summary Generate a QR code for authentication
@@ -7502,67 +7707,59 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
7502
7707
  localAuthentication(authenticationLocalRequest: AuthenticationLocalRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7503
7708
  /**
7504
7709
  *
7505
- * @summary Mock login and hand out token.
7506
- * @param {AuthenticationMockRequest} authenticationMockRequest The mock login.
7710
+ * @summary Member PIN authentication that requires POS user authentication
7711
+ * @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login request with posId
7507
7712
  * @param {*} [options] Override http request option.
7508
7713
  * @throws {RequiredError}
7509
7714
  */
7510
- mockAuthentication(authenticationMockRequest: AuthenticationMockRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7715
+ memberPINAuthentication(memberAuthenticationPinRequest: MemberAuthenticationPinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7511
7716
  /**
7512
7717
  *
7513
- * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
7514
- * @param {*} [options] Override http request option.
7515
- * @throws {RequiredError}
7516
- */
7517
- refreshToken(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7518
- /**
7519
- *
7520
- * @summary Creates a reset token for the local authentication
7521
- * @param {ResetLocalRequest} resetLocalRequest The reset info.
7718
+ * @summary Mock login and hand out token.
7719
+ * @param {AuthenticationMockRequest} authenticationMockRequest The mock login.
7522
7720
  * @param {*} [options] Override http request option.
7523
7721
  * @throws {RequiredError}
7524
7722
  */
7525
- resetLocal(resetLocalRequest: ResetLocalRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7723
+ mockAuthentication(authenticationMockRequest: AuthenticationMockRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7526
7724
  /**
7527
7725
  *
7528
- * @summary Reset local authentication using the provided token
7529
- * @param {AuthenticationResetTokenRequest} authenticationResetTokenRequest The reset token.
7726
+ * @summary NFC authentication that requires POS user authentication
7727
+ * @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login request with posId
7530
7728
  * @param {*} [options] Override http request option.
7531
7729
  * @throws {RequiredError}
7532
7730
  */
7533
- resetLocalWithToken(authenticationResetTokenRequest: AuthenticationResetTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7731
+ nfcAuthentication(authenticationNfcRequest: AuthenticationNfcRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7534
7732
  /**
7535
7733
  *
7536
- * @summary Secure EAN authentication that requires POS user authentication
7537
- * @param {AuthenticationSecureEanRequest} authenticationSecureEanRequest The EAN login request with posId
7734
+ * @summary PIN authentication that requires POS user authentication
7735
+ * @param {AuthenticationPinRequest} authenticationPinRequest The PIN login request with posId
7538
7736
  * @param {*} [options] Override http request option.
7539
7737
  * @throws {RequiredError}
7540
7738
  */
7541
- secureEanAuthentication(authenticationSecureEanRequest: AuthenticationSecureEanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7739
+ pinAuthentication(authenticationPinRequest: AuthenticationPinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7542
7740
  /**
7543
7741
  *
7544
- * @summary Secure member PIN authentication that requires POS user authentication
7545
- * @param {MemberAuthenticationSecurePinRequest} memberAuthenticationSecurePinRequest The PIN login request with posId
7742
+ * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
7546
7743
  * @param {*} [options] Override http request option.
7547
7744
  * @throws {RequiredError}
7548
7745
  */
7549
- secureMemberPINAuthentication(memberAuthenticationSecurePinRequest: MemberAuthenticationSecurePinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7746
+ refreshToken(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7550
7747
  /**
7551
7748
  *
7552
- * @summary Secure NFC authentication that requires POS user authentication
7553
- * @param {AuthenticationSecureNfcRequest} authenticationSecureNfcRequest The NFC login request with posId
7749
+ * @summary Creates a reset token for the local authentication
7750
+ * @param {ResetLocalRequest} resetLocalRequest The reset info.
7554
7751
  * @param {*} [options] Override http request option.
7555
7752
  * @throws {RequiredError}
7556
7753
  */
7557
- secureNfcAuthentication(authenticationSecureNfcRequest: AuthenticationSecureNfcRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7754
+ resetLocal(resetLocalRequest: ResetLocalRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7558
7755
  /**
7559
7756
  *
7560
- * @summary Secure PIN authentication that requires POS user authentication
7561
- * @param {AuthenticationSecurePinRequest} authenticationSecurePinRequest The PIN login request with posId
7757
+ * @summary Reset local authentication using the provided token
7758
+ * @param {AuthenticationResetTokenRequest} authenticationResetTokenRequest The reset token.
7562
7759
  * @param {*} [options] Override http request option.
7563
7760
  * @throws {RequiredError}
7564
7761
  */
7565
- securePINAuthentication(authenticationSecurePinRequest: AuthenticationSecurePinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7762
+ resetLocalWithToken(authenticationResetTokenRequest: AuthenticationResetTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7566
7763
  };
7567
7764
  /**
7568
7765
  * AuthenticateApi - factory interface
@@ -7593,6 +7790,14 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
7593
7790
  * @throws {RequiredError}
7594
7791
  */
7595
7792
  confirmQRCode(requestParameters: AuthenticateApiConfirmQRCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7793
+ /**
7794
+ *
7795
+ * @summary EAN authentication that requires POS user authentication
7796
+ * @param {AuthenticateApiEanAuthenticationRequest} requestParameters Request parameters.
7797
+ * @param {*} [options] Override http request option.
7798
+ * @throws {RequiredError}
7799
+ */
7800
+ eanAuthentication(requestParameters: AuthenticateApiEanAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7596
7801
  /**
7597
7802
  *
7598
7803
  * @summary Generate a QR code for authentication
@@ -7664,67 +7869,59 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
7664
7869
  localAuthentication(requestParameters: AuthenticateApiLocalAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7665
7870
  /**
7666
7871
  *
7667
- * @summary Mock login and hand out token.
7668
- * @param {AuthenticateApiMockAuthenticationRequest} requestParameters Request parameters.
7669
- * @param {*} [options] Override http request option.
7670
- * @throws {RequiredError}
7671
- */
7672
- mockAuthentication(requestParameters: AuthenticateApiMockAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7673
- /**
7674
- *
7675
- * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
7872
+ * @summary Member PIN authentication that requires POS user authentication
7873
+ * @param {AuthenticateApiMemberPINAuthenticationRequest} requestParameters Request parameters.
7676
7874
  * @param {*} [options] Override http request option.
7677
7875
  * @throws {RequiredError}
7678
7876
  */
7679
- refreshToken(options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7877
+ memberPINAuthentication(requestParameters: AuthenticateApiMemberPINAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7680
7878
  /**
7681
7879
  *
7682
- * @summary Creates a reset token for the local authentication
7683
- * @param {AuthenticateApiResetLocalRequest} requestParameters Request parameters.
7880
+ * @summary Mock login and hand out token.
7881
+ * @param {AuthenticateApiMockAuthenticationRequest} requestParameters Request parameters.
7684
7882
  * @param {*} [options] Override http request option.
7685
7883
  * @throws {RequiredError}
7686
7884
  */
7687
- resetLocal(requestParameters: AuthenticateApiResetLocalRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7885
+ mockAuthentication(requestParameters: AuthenticateApiMockAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7688
7886
  /**
7689
7887
  *
7690
- * @summary Reset local authentication using the provided token
7691
- * @param {AuthenticateApiResetLocalWithTokenRequest} requestParameters Request parameters.
7888
+ * @summary NFC authentication that requires POS user authentication
7889
+ * @param {AuthenticateApiNfcAuthenticationRequest} requestParameters Request parameters.
7692
7890
  * @param {*} [options] Override http request option.
7693
7891
  * @throws {RequiredError}
7694
7892
  */
7695
- resetLocalWithToken(requestParameters: AuthenticateApiResetLocalWithTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7893
+ nfcAuthentication(requestParameters: AuthenticateApiNfcAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7696
7894
  /**
7697
7895
  *
7698
- * @summary Secure EAN authentication that requires POS user authentication
7699
- * @param {AuthenticateApiSecureEanAuthenticationRequest} requestParameters Request parameters.
7896
+ * @summary PIN authentication that requires POS user authentication
7897
+ * @param {AuthenticateApiPinAuthenticationRequest} requestParameters Request parameters.
7700
7898
  * @param {*} [options] Override http request option.
7701
7899
  * @throws {RequiredError}
7702
7900
  */
7703
- secureEanAuthentication(requestParameters: AuthenticateApiSecureEanAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7901
+ pinAuthentication(requestParameters: AuthenticateApiPinAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7704
7902
  /**
7705
7903
  *
7706
- * @summary Secure member PIN authentication that requires POS user authentication
7707
- * @param {AuthenticateApiSecureMemberPINAuthenticationRequest} requestParameters Request parameters.
7904
+ * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
7708
7905
  * @param {*} [options] Override http request option.
7709
7906
  * @throws {RequiredError}
7710
7907
  */
7711
- secureMemberPINAuthentication(requestParameters: AuthenticateApiSecureMemberPINAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7908
+ refreshToken(options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7712
7909
  /**
7713
7910
  *
7714
- * @summary Secure NFC authentication that requires POS user authentication
7715
- * @param {AuthenticateApiSecureNfcAuthenticationRequest} requestParameters Request parameters.
7911
+ * @summary Creates a reset token for the local authentication
7912
+ * @param {AuthenticateApiResetLocalRequest} requestParameters Request parameters.
7716
7913
  * @param {*} [options] Override http request option.
7717
7914
  * @throws {RequiredError}
7718
7915
  */
7719
- secureNfcAuthentication(requestParameters: AuthenticateApiSecureNfcAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7916
+ resetLocal(requestParameters: AuthenticateApiResetLocalRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7720
7917
  /**
7721
7918
  *
7722
- * @summary Secure PIN authentication that requires POS user authentication
7723
- * @param {AuthenticateApiSecurePINAuthenticationRequest} requestParameters Request parameters.
7919
+ * @summary Reset local authentication using the provided token
7920
+ * @param {AuthenticateApiResetLocalWithTokenRequest} requestParameters Request parameters.
7724
7921
  * @param {*} [options] Override http request option.
7725
7922
  * @throws {RequiredError}
7726
7923
  */
7727
- securePINAuthentication(requestParameters: AuthenticateApiSecurePINAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7924
+ resetLocalWithToken(requestParameters: AuthenticateApiResetLocalWithTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7728
7925
  };
7729
7926
  /**
7730
7927
  * Request parameters for authenticatePointOfSale operation in AuthenticateApi.
@@ -7765,6 +7962,19 @@ export interface AuthenticateApiConfirmQRCodeRequest {
7765
7962
  */
7766
7963
  readonly sessionId: string;
7767
7964
  }
7965
+ /**
7966
+ * Request parameters for eanAuthentication operation in AuthenticateApi.
7967
+ * @export
7968
+ * @interface AuthenticateApiEanAuthenticationRequest
7969
+ */
7970
+ export interface AuthenticateApiEanAuthenticationRequest {
7971
+ /**
7972
+ * The EAN login request with posId
7973
+ * @type {AuthenticationEanRequest}
7974
+ * @memberof AuthenticateApiEanAuthentication
7975
+ */
7976
+ readonly authenticationEanRequest: AuthenticationEanRequest;
7977
+ }
7768
7978
  /**
7769
7979
  * Request parameters for getQRStatus operation in AuthenticateApi.
7770
7980
  * @export
@@ -7844,95 +8054,82 @@ export interface AuthenticateApiLocalAuthenticationRequest {
7844
8054
  readonly authenticationLocalRequest: AuthenticationLocalRequest;
7845
8055
  }
7846
8056
  /**
7847
- * Request parameters for mockAuthentication operation in AuthenticateApi.
8057
+ * Request parameters for memberPINAuthentication operation in AuthenticateApi.
7848
8058
  * @export
7849
- * @interface AuthenticateApiMockAuthenticationRequest
8059
+ * @interface AuthenticateApiMemberPINAuthenticationRequest
7850
8060
  */
7851
- export interface AuthenticateApiMockAuthenticationRequest {
8061
+ export interface AuthenticateApiMemberPINAuthenticationRequest {
7852
8062
  /**
7853
- * The mock login.
7854
- * @type {AuthenticationMockRequest}
7855
- * @memberof AuthenticateApiMockAuthentication
7856
- */
7857
- readonly authenticationMockRequest: AuthenticationMockRequest;
7858
- }
7859
- /**
7860
- * Request parameters for resetLocal operation in AuthenticateApi.
7861
- * @export
7862
- * @interface AuthenticateApiResetLocalRequest
7863
- */
7864
- export interface AuthenticateApiResetLocalRequest {
7865
- /**
7866
- * The reset info.
7867
- * @type {ResetLocalRequest}
7868
- * @memberof AuthenticateApiResetLocal
8063
+ * The PIN login request with posId
8064
+ * @type {MemberAuthenticationPinRequest}
8065
+ * @memberof AuthenticateApiMemberPINAuthentication
7869
8066
  */
7870
- readonly resetLocalRequest: ResetLocalRequest;
8067
+ readonly memberAuthenticationPinRequest: MemberAuthenticationPinRequest;
7871
8068
  }
7872
8069
  /**
7873
- * Request parameters for resetLocalWithToken operation in AuthenticateApi.
8070
+ * Request parameters for mockAuthentication operation in AuthenticateApi.
7874
8071
  * @export
7875
- * @interface AuthenticateApiResetLocalWithTokenRequest
8072
+ * @interface AuthenticateApiMockAuthenticationRequest
7876
8073
  */
7877
- export interface AuthenticateApiResetLocalWithTokenRequest {
8074
+ export interface AuthenticateApiMockAuthenticationRequest {
7878
8075
  /**
7879
- * The reset token.
7880
- * @type {AuthenticationResetTokenRequest}
7881
- * @memberof AuthenticateApiResetLocalWithToken
8076
+ * The mock login.
8077
+ * @type {AuthenticationMockRequest}
8078
+ * @memberof AuthenticateApiMockAuthentication
7882
8079
  */
7883
- readonly authenticationResetTokenRequest: AuthenticationResetTokenRequest;
8080
+ readonly authenticationMockRequest: AuthenticationMockRequest;
7884
8081
  }
7885
8082
  /**
7886
- * Request parameters for secureEanAuthentication operation in AuthenticateApi.
8083
+ * Request parameters for nfcAuthentication operation in AuthenticateApi.
7887
8084
  * @export
7888
- * @interface AuthenticateApiSecureEanAuthenticationRequest
8085
+ * @interface AuthenticateApiNfcAuthenticationRequest
7889
8086
  */
7890
- export interface AuthenticateApiSecureEanAuthenticationRequest {
8087
+ export interface AuthenticateApiNfcAuthenticationRequest {
7891
8088
  /**
7892
- * The EAN login request with posId
7893
- * @type {AuthenticationSecureEanRequest}
7894
- * @memberof AuthenticateApiSecureEanAuthentication
8089
+ * The NFC login request with posId
8090
+ * @type {AuthenticationNfcRequest}
8091
+ * @memberof AuthenticateApiNfcAuthentication
7895
8092
  */
7896
- readonly authenticationSecureEanRequest: AuthenticationSecureEanRequest;
8093
+ readonly authenticationNfcRequest: AuthenticationNfcRequest;
7897
8094
  }
7898
8095
  /**
7899
- * Request parameters for secureMemberPINAuthentication operation in AuthenticateApi.
8096
+ * Request parameters for pinAuthentication operation in AuthenticateApi.
7900
8097
  * @export
7901
- * @interface AuthenticateApiSecureMemberPINAuthenticationRequest
8098
+ * @interface AuthenticateApiPinAuthenticationRequest
7902
8099
  */
7903
- export interface AuthenticateApiSecureMemberPINAuthenticationRequest {
8100
+ export interface AuthenticateApiPinAuthenticationRequest {
7904
8101
  /**
7905
8102
  * The PIN login request with posId
7906
- * @type {MemberAuthenticationSecurePinRequest}
7907
- * @memberof AuthenticateApiSecureMemberPINAuthentication
8103
+ * @type {AuthenticationPinRequest}
8104
+ * @memberof AuthenticateApiPinAuthentication
7908
8105
  */
7909
- readonly memberAuthenticationSecurePinRequest: MemberAuthenticationSecurePinRequest;
8106
+ readonly authenticationPinRequest: AuthenticationPinRequest;
7910
8107
  }
7911
8108
  /**
7912
- * Request parameters for secureNfcAuthentication operation in AuthenticateApi.
8109
+ * Request parameters for resetLocal operation in AuthenticateApi.
7913
8110
  * @export
7914
- * @interface AuthenticateApiSecureNfcAuthenticationRequest
8111
+ * @interface AuthenticateApiResetLocalRequest
7915
8112
  */
7916
- export interface AuthenticateApiSecureNfcAuthenticationRequest {
8113
+ export interface AuthenticateApiResetLocalRequest {
7917
8114
  /**
7918
- * The NFC login request with posId
7919
- * @type {AuthenticationSecureNfcRequest}
7920
- * @memberof AuthenticateApiSecureNfcAuthentication
8115
+ * The reset info.
8116
+ * @type {ResetLocalRequest}
8117
+ * @memberof AuthenticateApiResetLocal
7921
8118
  */
7922
- readonly authenticationSecureNfcRequest: AuthenticationSecureNfcRequest;
8119
+ readonly resetLocalRequest: ResetLocalRequest;
7923
8120
  }
7924
8121
  /**
7925
- * Request parameters for securePINAuthentication operation in AuthenticateApi.
8122
+ * Request parameters for resetLocalWithToken operation in AuthenticateApi.
7926
8123
  * @export
7927
- * @interface AuthenticateApiSecurePINAuthenticationRequest
8124
+ * @interface AuthenticateApiResetLocalWithTokenRequest
7928
8125
  */
7929
- export interface AuthenticateApiSecurePINAuthenticationRequest {
8126
+ export interface AuthenticateApiResetLocalWithTokenRequest {
7930
8127
  /**
7931
- * The PIN login request with posId
7932
- * @type {AuthenticationSecurePinRequest}
7933
- * @memberof AuthenticateApiSecurePINAuthentication
8128
+ * The reset token.
8129
+ * @type {AuthenticationResetTokenRequest}
8130
+ * @memberof AuthenticateApiResetLocalWithToken
7934
8131
  */
7935
- readonly authenticationSecurePinRequest: AuthenticationSecurePinRequest;
8132
+ readonly authenticationResetTokenRequest: AuthenticationResetTokenRequest;
7936
8133
  }
7937
8134
  /**
7938
8135
  * AuthenticateApi - object-oriented interface
@@ -7968,6 +8165,15 @@ export declare class AuthenticateApi extends BaseAPI {
7968
8165
  * @memberof AuthenticateApi
7969
8166
  */
7970
8167
  confirmQRCode(requestParameters: AuthenticateApiConfirmQRCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8168
+ /**
8169
+ *
8170
+ * @summary EAN authentication that requires POS user authentication
8171
+ * @param {AuthenticateApiEanAuthenticationRequest} requestParameters Request parameters.
8172
+ * @param {*} [options] Override http request option.
8173
+ * @throws {RequiredError}
8174
+ * @memberof AuthenticateApi
8175
+ */
8176
+ eanAuthentication(requestParameters: AuthenticateApiEanAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
7971
8177
  /**
7972
8178
  *
7973
8179
  * @summary Generate a QR code for authentication
@@ -8048,75 +8254,66 @@ export declare class AuthenticateApi extends BaseAPI {
8048
8254
  localAuthentication(requestParameters: AuthenticateApiLocalAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8049
8255
  /**
8050
8256
  *
8051
- * @summary Mock login and hand out token.
8052
- * @param {AuthenticateApiMockAuthenticationRequest} requestParameters Request parameters.
8053
- * @param {*} [options] Override http request option.
8054
- * @throws {RequiredError}
8055
- * @memberof AuthenticateApi
8056
- */
8057
- mockAuthentication(requestParameters: AuthenticateApiMockAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8058
- /**
8059
- *
8060
- * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
8257
+ * @summary Member PIN authentication that requires POS user authentication
8258
+ * @param {AuthenticateApiMemberPINAuthenticationRequest} requestParameters Request parameters.
8061
8259
  * @param {*} [options] Override http request option.
8062
8260
  * @throws {RequiredError}
8063
8261
  * @memberof AuthenticateApi
8064
8262
  */
8065
- refreshToken(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8263
+ memberPINAuthentication(requestParameters: AuthenticateApiMemberPINAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8066
8264
  /**
8067
8265
  *
8068
- * @summary Creates a reset token for the local authentication
8069
- * @param {AuthenticateApiResetLocalRequest} requestParameters Request parameters.
8266
+ * @summary Mock login and hand out token.
8267
+ * @param {AuthenticateApiMockAuthenticationRequest} requestParameters Request parameters.
8070
8268
  * @param {*} [options] Override http request option.
8071
8269
  * @throws {RequiredError}
8072
8270
  * @memberof AuthenticateApi
8073
8271
  */
8074
- resetLocal(requestParameters: AuthenticateApiResetLocalRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8272
+ mockAuthentication(requestParameters: AuthenticateApiMockAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8075
8273
  /**
8076
8274
  *
8077
- * @summary Reset local authentication using the provided token
8078
- * @param {AuthenticateApiResetLocalWithTokenRequest} requestParameters Request parameters.
8275
+ * @summary NFC authentication that requires POS user authentication
8276
+ * @param {AuthenticateApiNfcAuthenticationRequest} requestParameters Request parameters.
8079
8277
  * @param {*} [options] Override http request option.
8080
8278
  * @throws {RequiredError}
8081
8279
  * @memberof AuthenticateApi
8082
8280
  */
8083
- resetLocalWithToken(requestParameters: AuthenticateApiResetLocalWithTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8281
+ nfcAuthentication(requestParameters: AuthenticateApiNfcAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8084
8282
  /**
8085
8283
  *
8086
- * @summary Secure EAN authentication that requires POS user authentication
8087
- * @param {AuthenticateApiSecureEanAuthenticationRequest} requestParameters Request parameters.
8284
+ * @summary PIN authentication that requires POS user authentication
8285
+ * @param {AuthenticateApiPinAuthenticationRequest} requestParameters Request parameters.
8088
8286
  * @param {*} [options] Override http request option.
8089
8287
  * @throws {RequiredError}
8090
8288
  * @memberof AuthenticateApi
8091
8289
  */
8092
- secureEanAuthentication(requestParameters: AuthenticateApiSecureEanAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8290
+ pinAuthentication(requestParameters: AuthenticateApiPinAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8093
8291
  /**
8094
8292
  *
8095
- * @summary Secure member PIN authentication that requires POS user authentication
8096
- * @param {AuthenticateApiSecureMemberPINAuthenticationRequest} requestParameters Request parameters.
8293
+ * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
8097
8294
  * @param {*} [options] Override http request option.
8098
8295
  * @throws {RequiredError}
8099
8296
  * @memberof AuthenticateApi
8100
8297
  */
8101
- secureMemberPINAuthentication(requestParameters: AuthenticateApiSecureMemberPINAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8298
+ refreshToken(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8102
8299
  /**
8103
8300
  *
8104
- * @summary Secure NFC authentication that requires POS user authentication
8105
- * @param {AuthenticateApiSecureNfcAuthenticationRequest} requestParameters Request parameters.
8301
+ * @summary Creates a reset token for the local authentication
8302
+ * @param {AuthenticateApiResetLocalRequest} requestParameters Request parameters.
8106
8303
  * @param {*} [options] Override http request option.
8107
8304
  * @throws {RequiredError}
8108
8305
  * @memberof AuthenticateApi
8109
8306
  */
8110
- secureNfcAuthentication(requestParameters: AuthenticateApiSecureNfcAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8307
+ resetLocal(requestParameters: AuthenticateApiResetLocalRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8111
8308
  /**
8112
8309
  *
8113
- * @summary Secure PIN authentication that requires POS user authentication
8114
- * @param {AuthenticateApiSecurePINAuthenticationRequest} requestParameters Request parameters.
8310
+ * @summary Reset local authentication using the provided token
8311
+ * @param {AuthenticateApiResetLocalWithTokenRequest} requestParameters Request parameters.
8115
8312
  * @param {*} [options] Override http request option.
8116
8313
  * @throws {RequiredError}
8117
8314
  * @memberof AuthenticateApi
8118
8315
  */
8119
- securePINAuthentication(requestParameters: AuthenticateApiSecurePINAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8316
+ resetLocalWithToken(requestParameters: AuthenticateApiResetLocalWithTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8120
8317
  }
8121
8318
  /**
8122
8319
  * BalanceApi - axios parameter creator
@@ -14725,6 +14922,13 @@ export declare const StripeApiAxiosParamCreator: (configuration?: Configuration)
14725
14922
  * @throws {RequiredError}
14726
14923
  */
14727
14924
  getStripePublicKey: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14925
+ /**
14926
+ *
14927
+ * @summary Webhook for Stripe event updates
14928
+ * @param {*} [options] Override http request option.
14929
+ * @throws {RequiredError}
14930
+ */
14931
+ webhook: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14728
14932
  };
14729
14933
  /**
14730
14934
  * StripeApi - functional programming interface
@@ -14746,6 +14950,13 @@ export declare const StripeApiFp: (configuration?: Configuration) => {
14746
14950
  * @throws {RequiredError}
14747
14951
  */
14748
14952
  getStripePublicKey(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
14953
+ /**
14954
+ *
14955
+ * @summary Webhook for Stripe event updates
14956
+ * @param {*} [options] Override http request option.
14957
+ * @throws {RequiredError}
14958
+ */
14959
+ webhook(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
14749
14960
  };
14750
14961
  /**
14751
14962
  * StripeApi - factory interface
@@ -14767,6 +14978,13 @@ export declare const StripeApiFactory: (configuration?: Configuration, basePath?
14767
14978
  * @throws {RequiredError}
14768
14979
  */
14769
14980
  getStripePublicKey(options?: RawAxiosRequestConfig): AxiosPromise<string>;
14981
+ /**
14982
+ *
14983
+ * @summary Webhook for Stripe event updates
14984
+ * @param {*} [options] Override http request option.
14985
+ * @throws {RequiredError}
14986
+ */
14987
+ webhook(options?: RawAxiosRequestConfig): AxiosPromise<void>;
14770
14988
  };
14771
14989
  /**
14772
14990
  * Request parameters for deposit operation in StripeApi.
@@ -14805,6 +15023,14 @@ export declare class StripeApi extends BaseAPI {
14805
15023
  * @memberof StripeApi
14806
15024
  */
14807
15025
  getStripePublicKey(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
15026
+ /**
15027
+ *
15028
+ * @summary Webhook for Stripe event updates
15029
+ * @param {*} [options] Override http request option.
15030
+ * @throws {RequiredError}
15031
+ * @memberof StripeApi
15032
+ */
15033
+ webhook(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
14808
15034
  }
14809
15035
  /**
14810
15036
  * SyncApi - axios parameter creator
@@ -14886,6 +15112,253 @@ export declare const GetUserSyncResultsServiceEnum: {
14886
15112
  readonly Gewisdb: "GEWISDB";
14887
15113
  };
14888
15114
  export type GetUserSyncResultsServiceEnum = typeof GetUserSyncResultsServiceEnum[keyof typeof GetUserSyncResultsServiceEnum];
15115
+ /**
15116
+ * TerminalPaymentsApi - axios parameter creator
15117
+ * @export
15118
+ */
15119
+ export declare const TerminalPaymentsApiAxiosParamCreator: (configuration?: Configuration) => {
15120
+ /**
15121
+ *
15122
+ * @summary Cancel a Terminal Payment that is created/processing
15123
+ * @param {number} id The ID of the terminal payment
15124
+ * @param {*} [options] Override http request option.
15125
+ * @throws {RequiredError}
15126
+ */
15127
+ cancelTerminalPayment: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15128
+ /**
15129
+ *
15130
+ * @summary Create a terminal payment before executing.
15131
+ * @param {CreateTerminalPaymentRequest} createTerminalPaymentRequest The terminal payment that should be created.
15132
+ * @param {*} [options] Override http request option.
15133
+ * @throws {RequiredError}
15134
+ */
15135
+ createTerminalPayment: (createTerminalPaymentRequest: CreateTerminalPaymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15136
+ /**
15137
+ *
15138
+ * @summary Get single terminal payment by ID
15139
+ * @param {number} id The ID of the terminal payment
15140
+ * @param {*} [options] Override http request option.
15141
+ * @throws {RequiredError}
15142
+ */
15143
+ getSingleTerminalPayment: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15144
+ /**
15145
+ *
15146
+ * @summary Get all Stripe terminals
15147
+ * @param {*} [options] Override http request option.
15148
+ * @throws {RequiredError}
15149
+ */
15150
+ getStripeTerminals: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15151
+ /**
15152
+ *
15153
+ * @summary Start the payment process on the terminal for the TerminalPayment with the given ID
15154
+ * @param {number} id The ID of the terminal payment
15155
+ * @param {ProcessTerminalPaymentRequest} processTerminalPaymentRequest Payment options
15156
+ * @param {*} [options] Override http request option.
15157
+ * @throws {RequiredError}
15158
+ */
15159
+ startTerminalPayment: (id: number, processTerminalPaymentRequest: ProcessTerminalPaymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15160
+ };
15161
+ /**
15162
+ * TerminalPaymentsApi - functional programming interface
15163
+ * @export
15164
+ */
15165
+ export declare const TerminalPaymentsApiFp: (configuration?: Configuration) => {
15166
+ /**
15167
+ *
15168
+ * @summary Cancel a Terminal Payment that is created/processing
15169
+ * @param {number} id The ID of the terminal payment
15170
+ * @param {*} [options] Override http request option.
15171
+ * @throws {RequiredError}
15172
+ */
15173
+ cancelTerminalPayment(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerminalPaymentResponse>>;
15174
+ /**
15175
+ *
15176
+ * @summary Create a terminal payment before executing.
15177
+ * @param {CreateTerminalPaymentRequest} createTerminalPaymentRequest The terminal payment that should be created.
15178
+ * @param {*} [options] Override http request option.
15179
+ * @throws {RequiredError}
15180
+ */
15181
+ createTerminalPayment(createTerminalPaymentRequest: CreateTerminalPaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerminalPaymentResponse>>;
15182
+ /**
15183
+ *
15184
+ * @summary Get single terminal payment by ID
15185
+ * @param {number} id The ID of the terminal payment
15186
+ * @param {*} [options] Override http request option.
15187
+ * @throws {RequiredError}
15188
+ */
15189
+ getSingleTerminalPayment(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerminalPaymentResponse>>;
15190
+ /**
15191
+ *
15192
+ * @summary Get all Stripe terminals
15193
+ * @param {*} [options] Override http request option.
15194
+ * @throws {RequiredError}
15195
+ */
15196
+ getStripeTerminals(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StripePaymentTerminalResponse>>>;
15197
+ /**
15198
+ *
15199
+ * @summary Start the payment process on the terminal for the TerminalPayment with the given ID
15200
+ * @param {number} id The ID of the terminal payment
15201
+ * @param {ProcessTerminalPaymentRequest} processTerminalPaymentRequest Payment options
15202
+ * @param {*} [options] Override http request option.
15203
+ * @throws {RequiredError}
15204
+ */
15205
+ startTerminalPayment(id: number, processTerminalPaymentRequest: ProcessTerminalPaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
15206
+ };
15207
+ /**
15208
+ * TerminalPaymentsApi - factory interface
15209
+ * @export
15210
+ */
15211
+ export declare const TerminalPaymentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
15212
+ /**
15213
+ *
15214
+ * @summary Cancel a Terminal Payment that is created/processing
15215
+ * @param {TerminalPaymentsApiCancelTerminalPaymentRequest} requestParameters Request parameters.
15216
+ * @param {*} [options] Override http request option.
15217
+ * @throws {RequiredError}
15218
+ */
15219
+ cancelTerminalPayment(requestParameters: TerminalPaymentsApiCancelTerminalPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerminalPaymentResponse>;
15220
+ /**
15221
+ *
15222
+ * @summary Create a terminal payment before executing.
15223
+ * @param {TerminalPaymentsApiCreateTerminalPaymentRequest} requestParameters Request parameters.
15224
+ * @param {*} [options] Override http request option.
15225
+ * @throws {RequiredError}
15226
+ */
15227
+ createTerminalPayment(requestParameters: TerminalPaymentsApiCreateTerminalPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerminalPaymentResponse>;
15228
+ /**
15229
+ *
15230
+ * @summary Get single terminal payment by ID
15231
+ * @param {TerminalPaymentsApiGetSingleTerminalPaymentRequest} requestParameters Request parameters.
15232
+ * @param {*} [options] Override http request option.
15233
+ * @throws {RequiredError}
15234
+ */
15235
+ getSingleTerminalPayment(requestParameters: TerminalPaymentsApiGetSingleTerminalPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerminalPaymentResponse>;
15236
+ /**
15237
+ *
15238
+ * @summary Get all Stripe terminals
15239
+ * @param {*} [options] Override http request option.
15240
+ * @throws {RequiredError}
15241
+ */
15242
+ getStripeTerminals(options?: RawAxiosRequestConfig): AxiosPromise<Array<StripePaymentTerminalResponse>>;
15243
+ /**
15244
+ *
15245
+ * @summary Start the payment process on the terminal for the TerminalPayment with the given ID
15246
+ * @param {TerminalPaymentsApiStartTerminalPaymentRequest} requestParameters Request parameters.
15247
+ * @param {*} [options] Override http request option.
15248
+ * @throws {RequiredError}
15249
+ */
15250
+ startTerminalPayment(requestParameters: TerminalPaymentsApiStartTerminalPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
15251
+ };
15252
+ /**
15253
+ * Request parameters for cancelTerminalPayment operation in TerminalPaymentsApi.
15254
+ * @export
15255
+ * @interface TerminalPaymentsApiCancelTerminalPaymentRequest
15256
+ */
15257
+ export interface TerminalPaymentsApiCancelTerminalPaymentRequest {
15258
+ /**
15259
+ * The ID of the terminal payment
15260
+ * @type {number}
15261
+ * @memberof TerminalPaymentsApiCancelTerminalPayment
15262
+ */
15263
+ readonly id: number;
15264
+ }
15265
+ /**
15266
+ * Request parameters for createTerminalPayment operation in TerminalPaymentsApi.
15267
+ * @export
15268
+ * @interface TerminalPaymentsApiCreateTerminalPaymentRequest
15269
+ */
15270
+ export interface TerminalPaymentsApiCreateTerminalPaymentRequest {
15271
+ /**
15272
+ * The terminal payment that should be created.
15273
+ * @type {CreateTerminalPaymentRequest}
15274
+ * @memberof TerminalPaymentsApiCreateTerminalPayment
15275
+ */
15276
+ readonly createTerminalPaymentRequest: CreateTerminalPaymentRequest;
15277
+ }
15278
+ /**
15279
+ * Request parameters for getSingleTerminalPayment operation in TerminalPaymentsApi.
15280
+ * @export
15281
+ * @interface TerminalPaymentsApiGetSingleTerminalPaymentRequest
15282
+ */
15283
+ export interface TerminalPaymentsApiGetSingleTerminalPaymentRequest {
15284
+ /**
15285
+ * The ID of the terminal payment
15286
+ * @type {number}
15287
+ * @memberof TerminalPaymentsApiGetSingleTerminalPayment
15288
+ */
15289
+ readonly id: number;
15290
+ }
15291
+ /**
15292
+ * Request parameters for startTerminalPayment operation in TerminalPaymentsApi.
15293
+ * @export
15294
+ * @interface TerminalPaymentsApiStartTerminalPaymentRequest
15295
+ */
15296
+ export interface TerminalPaymentsApiStartTerminalPaymentRequest {
15297
+ /**
15298
+ * The ID of the terminal payment
15299
+ * @type {number}
15300
+ * @memberof TerminalPaymentsApiStartTerminalPayment
15301
+ */
15302
+ readonly id: number;
15303
+ /**
15304
+ * Payment options
15305
+ * @type {ProcessTerminalPaymentRequest}
15306
+ * @memberof TerminalPaymentsApiStartTerminalPayment
15307
+ */
15308
+ readonly processTerminalPaymentRequest: ProcessTerminalPaymentRequest;
15309
+ }
15310
+ /**
15311
+ * TerminalPaymentsApi - object-oriented interface
15312
+ * @export
15313
+ * @class TerminalPaymentsApi
15314
+ * @extends {BaseAPI}
15315
+ */
15316
+ export declare class TerminalPaymentsApi extends BaseAPI {
15317
+ /**
15318
+ *
15319
+ * @summary Cancel a Terminal Payment that is created/processing
15320
+ * @param {TerminalPaymentsApiCancelTerminalPaymentRequest} requestParameters Request parameters.
15321
+ * @param {*} [options] Override http request option.
15322
+ * @throws {RequiredError}
15323
+ * @memberof TerminalPaymentsApi
15324
+ */
15325
+ cancelTerminalPayment(requestParameters: TerminalPaymentsApiCancelTerminalPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerminalPaymentResponse, any, {}>>;
15326
+ /**
15327
+ *
15328
+ * @summary Create a terminal payment before executing.
15329
+ * @param {TerminalPaymentsApiCreateTerminalPaymentRequest} requestParameters Request parameters.
15330
+ * @param {*} [options] Override http request option.
15331
+ * @throws {RequiredError}
15332
+ * @memberof TerminalPaymentsApi
15333
+ */
15334
+ createTerminalPayment(requestParameters: TerminalPaymentsApiCreateTerminalPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerminalPaymentResponse, any, {}>>;
15335
+ /**
15336
+ *
15337
+ * @summary Get single terminal payment by ID
15338
+ * @param {TerminalPaymentsApiGetSingleTerminalPaymentRequest} requestParameters Request parameters.
15339
+ * @param {*} [options] Override http request option.
15340
+ * @throws {RequiredError}
15341
+ * @memberof TerminalPaymentsApi
15342
+ */
15343
+ getSingleTerminalPayment(requestParameters: TerminalPaymentsApiGetSingleTerminalPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerminalPaymentResponse, any, {}>>;
15344
+ /**
15345
+ *
15346
+ * @summary Get all Stripe terminals
15347
+ * @param {*} [options] Override http request option.
15348
+ * @throws {RequiredError}
15349
+ * @memberof TerminalPaymentsApi
15350
+ */
15351
+ getStripeTerminals(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StripePaymentTerminalResponse[], any, {}>>;
15352
+ /**
15353
+ *
15354
+ * @summary Start the payment process on the terminal for the TerminalPayment with the given ID
15355
+ * @param {TerminalPaymentsApiStartTerminalPaymentRequest} requestParameters Request parameters.
15356
+ * @param {*} [options] Override http request option.
15357
+ * @throws {RequiredError}
15358
+ * @memberof TerminalPaymentsApi
15359
+ */
15360
+ startTerminalPayment(requestParameters: TerminalPaymentsApiStartTerminalPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
15361
+ }
14889
15362
  /**
14890
15363
  * TermsOfServiceApi - axios parameter creator
14891
15364
  * @export
@@ -16271,7 +16744,7 @@ export declare class UserNotificationPreferencesApi extends BaseAPI {
16271
16744
  export declare const UsersApiAxiosParamCreator: (configuration?: Configuration) => {
16272
16745
  /**
16273
16746
  *
16274
- * @summary Accept the Terms of Service if you have not accepted it yet
16747
+ * @summary Accept the current Terms of Service version
16275
16748
  * @param {AcceptTosRequest} acceptTosRequest \&quot;Tosrequest body\&quot;
16276
16749
  * @param {*} [options] Override http request option.
16277
16750
  * @throws {RequiredError}
@@ -16401,6 +16874,14 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
16401
16874
  * @throws {RequiredError}
16402
16875
  */
16403
16876
  getUserSettings: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16877
+ /**
16878
+ *
16879
+ * @summary Get a user\'s terms of service status and acceptance history
16880
+ * @param {number} id The id of the user
16881
+ * @param {*} [options] Override http request option.
16882
+ * @throws {RequiredError}
16883
+ */
16884
+ getUserTos: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16404
16885
  /**
16405
16886
  *
16406
16887
  * @summary Returns the user\'s containers
@@ -16647,7 +17128,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
16647
17128
  export declare const UsersApiFp: (configuration?: Configuration) => {
16648
17129
  /**
16649
17130
  *
16650
- * @summary Accept the Terms of Service if you have not accepted it yet
17131
+ * @summary Accept the current Terms of Service version
16651
17132
  * @param {AcceptTosRequest} acceptTosRequest \&quot;Tosrequest body\&quot;
16652
17133
  * @param {*} [options] Override http request option.
16653
17134
  * @throws {RequiredError}
@@ -16777,6 +17258,14 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
16777
17258
  * @throws {RequiredError}
16778
17259
  */
16779
17260
  getUserSettings(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserSettingsResponse>>;
17261
+ /**
17262
+ *
17263
+ * @summary Get a user\'s terms of service status and acceptance history
17264
+ * @param {number} id The id of the user
17265
+ * @param {*} [options] Override http request option.
17266
+ * @throws {RequiredError}
17267
+ */
17268
+ getUserTos(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserTosResponse>>;
16780
17269
  /**
16781
17270
  *
16782
17271
  * @summary Returns the user\'s containers
@@ -17023,7 +17512,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
17023
17512
  export declare const UsersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
17024
17513
  /**
17025
17514
  *
17026
- * @summary Accept the Terms of Service if you have not accepted it yet
17515
+ * @summary Accept the current Terms of Service version
17027
17516
  * @param {UsersApiAcceptTosRequest} requestParameters Request parameters.
17028
17517
  * @param {*} [options] Override http request option.
17029
17518
  * @throws {RequiredError}
@@ -17141,6 +17630,14 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
17141
17630
  * @throws {RequiredError}
17142
17631
  */
17143
17632
  getUserSettings(requestParameters: UsersApiGetUserSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserSettingsResponse>;
17633
+ /**
17634
+ *
17635
+ * @summary Get a user\'s terms of service status and acceptance history
17636
+ * @param {UsersApiGetUserTosRequest} requestParameters Request parameters.
17637
+ * @param {*} [options] Override http request option.
17638
+ * @throws {RequiredError}
17639
+ */
17640
+ getUserTos(requestParameters: UsersApiGetUserTosRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserTosResponse>;
17144
17641
  /**
17145
17642
  *
17146
17643
  * @summary Returns the user\'s containers
@@ -17594,6 +18091,19 @@ export interface UsersApiGetUserSettingsRequest {
17594
18091
  */
17595
18092
  readonly id: number;
17596
18093
  }
18094
+ /**
18095
+ * Request parameters for getUserTos operation in UsersApi.
18096
+ * @export
18097
+ * @interface UsersApiGetUserTosRequest
18098
+ */
18099
+ export interface UsersApiGetUserTosRequest {
18100
+ /**
18101
+ * The id of the user
18102
+ * @type {number}
18103
+ * @memberof UsersApiGetUserTos
18104
+ */
18105
+ readonly id: number;
18106
+ }
17597
18107
  /**
17598
18108
  * Request parameters for getUsersContainers operation in UsersApi.
17599
18109
  * @export
@@ -18220,7 +18730,7 @@ export interface UsersApiWaiveUserFinesRequest {
18220
18730
  export declare class UsersApi extends BaseAPI {
18221
18731
  /**
18222
18732
  *
18223
- * @summary Accept the Terms of Service if you have not accepted it yet
18733
+ * @summary Accept the current Terms of Service version
18224
18734
  * @param {UsersApiAcceptTosRequest} requestParameters Request parameters.
18225
18735
  * @param {*} [options] Override http request option.
18226
18736
  * @throws {RequiredError}
@@ -18353,6 +18863,15 @@ export declare class UsersApi extends BaseAPI {
18353
18863
  * @memberof UsersApi
18354
18864
  */
18355
18865
  getUserSettings(requestParameters: UsersApiGetUserSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserSettingsResponse, any, {}>>;
18866
+ /**
18867
+ *
18868
+ * @summary Get a user\'s terms of service status and acceptance history
18869
+ * @param {UsersApiGetUserTosRequest} requestParameters Request parameters.
18870
+ * @param {*} [options] Override http request option.
18871
+ * @throws {RequiredError}
18872
+ * @memberof UsersApi
18873
+ */
18874
+ getUserTos(requestParameters: UsersApiGetUserTosRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserTosResponse, any, {}>>;
18356
18875
  /**
18357
18876
  *
18358
18877
  * @summary Returns the user\'s containers