@gewis/sudosos-client 0.0.0-develop.f2b7926 → 0.0.0-develop.f5251b0

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 +235 -270
  2. package/dist/api.js +15 -275
  3. package/package.json +3 -3
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
@@ -946,6 +901,104 @@ export interface BaseInvoiceResponse {
946
901
  */
947
902
  'totalInclVat': DineroObjectResponse;
948
903
  }
904
+ /**
905
+ * PaymentRequest is UUID-keyed. To avoid overloading the `id` slot (which on other responses is the numeric DB id), the UUID is exposed under a semantically named field, mirroring how `QRAuthenticator` exposes its UUID as `sessionId`. The response therefore extends `BaseResponseWithoutId` (timestamps + version, no `id`) and declares a `uuid` of its own.
906
+ * @export
907
+ * @interface BasePaymentRequestResponse
908
+ */
909
+ export interface BasePaymentRequestResponse {
910
+ /**
911
+ * UUID v4 identifier (also the public share-link id).
912
+ * @type {string}
913
+ * @memberof BasePaymentRequestResponse
914
+ */
915
+ 'uuid': string;
916
+ /**
917
+ * ISO-8601 creation timestamp.
918
+ * @type {string}
919
+ * @memberof BasePaymentRequestResponse
920
+ */
921
+ 'createdAt'?: string;
922
+ /**
923
+ * ISO-8601 last update timestamp.
924
+ * @type {string}
925
+ * @memberof BasePaymentRequestResponse
926
+ */
927
+ 'updatedAt'?: string;
928
+ /**
929
+ * Optimistic-locking version.
930
+ * @type {number}
931
+ * @memberof BasePaymentRequestResponse
932
+ */
933
+ 'version'?: number;
934
+ /**
935
+ *
936
+ * @type {BaseUserResponse}
937
+ * @memberof BasePaymentRequestResponse
938
+ */
939
+ 'for': BaseUserResponse;
940
+ /**
941
+ *
942
+ * @type {BaseUserResponse}
943
+ * @memberof BasePaymentRequestResponse
944
+ */
945
+ 'createdBy': BaseUserResponse;
946
+ /**
947
+ *
948
+ * @type {DineroObjectResponse}
949
+ * @memberof BasePaymentRequestResponse
950
+ */
951
+ 'amount': DineroObjectResponse;
952
+ /**
953
+ * ISO-8601 timestamp after which payments stop being accepted.
954
+ * @type {string}
955
+ * @memberof BasePaymentRequestResponse
956
+ */
957
+ 'expiresAt': string;
958
+ /**
959
+ * ISO-8601 timestamp the request was marked paid (null if not paid).
960
+ * @type {string}
961
+ * @memberof BasePaymentRequestResponse
962
+ */
963
+ 'paidAt'?: string;
964
+ /**
965
+ * ISO-8601 timestamp the request was cancelled (null if not cancelled).
966
+ * @type {string}
967
+ * @memberof BasePaymentRequestResponse
968
+ */
969
+ 'cancelledAt'?: string;
970
+ /**
971
+ *
972
+ * @type {BaseUserResponse}
973
+ * @memberof BasePaymentRequestResponse
974
+ */
975
+ 'cancelledBy'?: BaseUserResponse;
976
+ /**
977
+ *
978
+ * @type {BaseUserResponse}
979
+ * @memberof BasePaymentRequestResponse
980
+ */
981
+ 'fulfilledBy'?: BaseUserResponse;
982
+ /**
983
+ * Optional human-readable description.
984
+ * @type {string}
985
+ * @memberof BasePaymentRequestResponse
986
+ */
987
+ 'description'?: string;
988
+ /**
989
+ * Derived lifecycle status.
990
+ * @type {string}
991
+ * @memberof BasePaymentRequestResponse
992
+ */
993
+ 'status': BasePaymentRequestResponseStatusEnum;
994
+ }
995
+ export declare const BasePaymentRequestResponseStatusEnum: {
996
+ readonly Pending: "PENDING";
997
+ readonly Paid: "PAID";
998
+ readonly Expired: "EXPIRED";
999
+ readonly Cancelled: "CANCELLED";
1000
+ };
1001
+ export type BasePaymentRequestResponseStatusEnum = typeof BasePaymentRequestResponseStatusEnum[keyof typeof BasePaymentRequestResponseStatusEnum];
949
1002
  /**
950
1003
  *
951
1004
  * @export
@@ -1186,6 +1239,31 @@ export interface BaseResponse {
1186
1239
  */
1187
1240
  'version'?: number;
1188
1241
  }
1242
+ /**
1243
+ * Standard timestamp/version fields every response shares, without an `id`. Responses that key on a UUID (or any non-integer identifier) extend this and add their own `id` field. Responses keyed on an integer id extend `BaseResponse` instead, which adds `id: number`. Parallel to `BaseEntityWithoutId` on the entity side.
1244
+ * @export
1245
+ * @interface BaseResponseWithoutId
1246
+ */
1247
+ export interface BaseResponseWithoutId {
1248
+ /**
1249
+ * The creation Date of the entity.
1250
+ * @type {string}
1251
+ * @memberof BaseResponseWithoutId
1252
+ */
1253
+ 'createdAt'?: string;
1254
+ /**
1255
+ * The last update Date of the entity.
1256
+ * @type {string}
1257
+ * @memberof BaseResponseWithoutId
1258
+ */
1259
+ 'updatedAt'?: string;
1260
+ /**
1261
+ * The version of the entity.
1262
+ * @type {number}
1263
+ * @memberof BaseResponseWithoutId
1264
+ */
1265
+ 'version'?: number;
1266
+ }
1189
1267
  /**
1190
1268
  *
1191
1269
  * @export
@@ -3151,25 +3229,6 @@ export interface InvoiceUserResponse {
3151
3229
  */
3152
3230
  'automatic': boolean;
3153
3231
  }
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
3232
  /**
3174
3233
  *
3175
3234
  * @export
@@ -3265,6 +3324,25 @@ export interface PaginatedBaseEventResponse {
3265
3324
  */
3266
3325
  'records': Array<BaseEventResponse>;
3267
3326
  }
3327
+ /**
3328
+ *
3329
+ * @export
3330
+ * @interface PaginatedBasePaymentRequestResponse
3331
+ */
3332
+ export interface PaginatedBasePaymentRequestResponse {
3333
+ /**
3334
+ *
3335
+ * @type {PaginationResult}
3336
+ * @memberof PaginatedBasePaymentRequestResponse
3337
+ */
3338
+ '_pagination': PaginationResult;
3339
+ /**
3340
+ * Returned payment requests
3341
+ * @type {Array<BasePaymentRequestResponse>}
3342
+ * @memberof PaginatedBasePaymentRequestResponse
3343
+ */
3344
+ 'records': Array<BasePaymentRequestResponse>;
3345
+ }
3268
3346
  /**
3269
3347
  *
3270
3348
  * @export
@@ -3695,6 +3773,31 @@ export interface PatchUserTypeRequest {
3695
3773
  */
3696
3774
  'userType': string;
3697
3775
  }
3776
+ /**
3777
+ * Response returned from the \"start payment\" endpoint. Contains just enough to let the browser redirect into the Stripe Payment Element.
3778
+ * @export
3779
+ * @interface PaymentRequestStartResponse
3780
+ */
3781
+ export interface PaymentRequestStartResponse {
3782
+ /**
3783
+ * The PaymentRequest id the intent is linked to.
3784
+ * @type {string}
3785
+ * @memberof PaymentRequestStartResponse
3786
+ */
3787
+ 'paymentRequestId': string;
3788
+ /**
3789
+ * Stripe payment intent id.
3790
+ * @type {string}
3791
+ * @memberof PaymentRequestStartResponse
3792
+ */
3793
+ 'stripeId': string;
3794
+ /**
3795
+ * Stripe client secret for the intent.
3796
+ * @type {string}
3797
+ * @memberof PaymentRequestStartResponse
3798
+ */
3799
+ 'clientSecret': string;
3800
+ }
3698
3801
  /**
3699
3802
  *
3700
3803
  * @export
@@ -4219,6 +4322,56 @@ export interface ProductResponse {
4219
4322
  */
4220
4323
  'priceList': boolean;
4221
4324
  }
4325
+ /**
4326
+ * Minimal response returned to unauthenticated callers of the public share link endpoint. It deliberately omits `createdBy`, `cancelledBy`, and other internal audit fields — anyone with the link can see it, so we leak as little user info as possible.
4327
+ * @export
4328
+ * @interface PublicPaymentRequestResponse
4329
+ */
4330
+ export interface PublicPaymentRequestResponse {
4331
+ /**
4332
+ * UUID v4 identifier.
4333
+ * @type {string}
4334
+ * @memberof PublicPaymentRequestResponse
4335
+ */
4336
+ 'uuid': string;
4337
+ /**
4338
+ * Recipient display name (e.g. \"John D.\").
4339
+ * @type {string}
4340
+ * @memberof PublicPaymentRequestResponse
4341
+ */
4342
+ 'forDisplayName': string;
4343
+ /**
4344
+ *
4345
+ * @type {DineroObjectResponse}
4346
+ * @memberof PublicPaymentRequestResponse
4347
+ */
4348
+ 'amount': DineroObjectResponse;
4349
+ /**
4350
+ * ISO-8601 timestamp after which payments stop being accepted.
4351
+ * @type {string}
4352
+ * @memberof PublicPaymentRequestResponse
4353
+ */
4354
+ 'expiresAt': string;
4355
+ /**
4356
+ * Optional human-readable description.
4357
+ * @type {string}
4358
+ * @memberof PublicPaymentRequestResponse
4359
+ */
4360
+ 'description'?: string;
4361
+ /**
4362
+ * Derived lifecycle status.
4363
+ * @type {string}
4364
+ * @memberof PublicPaymentRequestResponse
4365
+ */
4366
+ 'status': PublicPaymentRequestResponseStatusEnum;
4367
+ }
4368
+ export declare const PublicPaymentRequestResponseStatusEnum: {
4369
+ readonly Pending: "PENDING";
4370
+ readonly Paid: "PAID";
4371
+ readonly Expired: "EXPIRED";
4372
+ readonly Cancelled: "CANCELLED";
4373
+ };
4374
+ export type PublicPaymentRequestResponseStatusEnum = typeof PublicPaymentRequestResponseStatusEnum[keyof typeof PublicPaymentRequestResponseStatusEnum];
4222
4375
  /**
4223
4376
  *
4224
4377
  * @export
@@ -6173,6 +6326,12 @@ export interface UpdateUserRequest {
6173
6326
  * @memberof UpdateUserRequest
6174
6327
  */
6175
6328
  'inactiveNotificationSend'?: boolean;
6329
+ /**
6330
+ * ISO date at which the account expires; pass null to clear
6331
+ * @type {string}
6332
+ * @memberof UpdateUserRequest
6333
+ */
6334
+ 'expiryDate'?: string | null;
6176
6335
  }
6177
6336
  /**
6178
6337
  * API Request for updating an existing `vat group` entity. Only mutable fields; the rate itself cannot change on an existing group.
@@ -6389,6 +6548,12 @@ export interface UserResponse {
6389
6548
  * @memberof UserResponse
6390
6549
  */
6391
6550
  'pos'?: BasePointOfSaleInfoResponse;
6551
+ /**
6552
+ * ISO date at which the account expires (null for accounts without expiry)
6553
+ * @type {string}
6554
+ * @memberof UserResponse
6555
+ */
6556
+ 'expiryDate'?: string | null;
6392
6557
  }
6393
6558
  /**
6394
6559
  *
@@ -7060,15 +7225,6 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
7060
7225
  * @throws {RequiredError}
7061
7226
  */
7062
7227
  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
7228
  /**
7073
7229
  *
7074
7230
  * @summary Generate a QR code for authentication
@@ -7138,15 +7294,6 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
7138
7294
  * @throws {RequiredError}
7139
7295
  */
7140
7296
  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
7297
  /**
7151
7298
  *
7152
7299
  * @summary Mock login and hand out token.
@@ -7155,24 +7302,6 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
7155
7302
  * @throws {RequiredError}
7156
7303
  */
7157
7304
  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
7305
  /**
7177
7306
  *
7178
7307
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -7258,15 +7387,6 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
7258
7387
  * @throws {RequiredError}
7259
7388
  */
7260
7389
  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
7390
  /**
7271
7391
  *
7272
7392
  * @summary Generate a QR code for authentication
@@ -7336,15 +7456,6 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
7336
7456
  * @throws {RequiredError}
7337
7457
  */
7338
7458
  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
7459
  /**
7349
7460
  *
7350
7461
  * @summary Mock login and hand out token.
@@ -7353,24 +7464,6 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
7353
7464
  * @throws {RequiredError}
7354
7465
  */
7355
7466
  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
7467
  /**
7375
7468
  *
7376
7469
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -7456,15 +7549,6 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
7456
7549
  * @throws {RequiredError}
7457
7550
  */
7458
7551
  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
7552
  /**
7469
7553
  *
7470
7554
  * @summary Generate a QR code for authentication
@@ -7534,15 +7618,6 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
7534
7618
  * @throws {RequiredError}
7535
7619
  */
7536
7620
  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
7621
  /**
7547
7622
  *
7548
7623
  * @summary Mock login and hand out token.
@@ -7551,24 +7626,6 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
7551
7626
  * @throws {RequiredError}
7552
7627
  */
7553
7628
  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
7629
  /**
7573
7630
  *
7574
7631
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -7664,19 +7721,6 @@ export interface AuthenticateApiConfirmQRCodeRequest {
7664
7721
  */
7665
7722
  readonly sessionId: string;
7666
7723
  }
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
7724
  /**
7681
7725
  * Request parameters for getQRStatus operation in AuthenticateApi.
7682
7726
  * @export
@@ -7755,19 +7799,6 @@ export interface AuthenticateApiLocalAuthenticationRequest {
7755
7799
  */
7756
7800
  readonly authenticationLocalRequest: AuthenticationLocalRequest;
7757
7801
  }
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
7802
  /**
7772
7803
  * Request parameters for mockAuthentication operation in AuthenticateApi.
7773
7804
  * @export
@@ -7781,32 +7812,6 @@ export interface AuthenticateApiMockAuthenticationRequest {
7781
7812
  */
7782
7813
  readonly authenticationMockRequest: AuthenticationMockRequest;
7783
7814
  }
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
7815
  /**
7811
7816
  * Request parameters for resetLocal operation in AuthenticateApi.
7812
7817
  * @export
@@ -7919,16 +7924,6 @@ export declare class AuthenticateApi extends BaseAPI {
7919
7924
  * @memberof AuthenticateApi
7920
7925
  */
7921
7926
  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
7927
  /**
7933
7928
  *
7934
7929
  * @summary Generate a QR code for authentication
@@ -8007,16 +8002,6 @@ export declare class AuthenticateApi extends BaseAPI {
8007
8002
  * @memberof AuthenticateApi
8008
8003
  */
8009
8004
  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
8005
  /**
8021
8006
  *
8022
8007
  * @summary Mock login and hand out token.
@@ -8026,26 +8011,6 @@ export declare class AuthenticateApi extends BaseAPI {
8026
8011
  * @memberof AuthenticateApi
8027
8012
  */
8028
8013
  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
8014
  /**
8050
8015
  *
8051
8016
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -11299,7 +11264,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
11299
11264
  * @param {*} [options] Override http request option.
11300
11265
  * @throws {RequiredError}
11301
11266
  */
11302
- getEligibleTransactions(forId: number, fromDate: string, tillDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionResponse>>;
11267
+ getEligibleTransactions(forId: number, fromDate: string, tillDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TransactionResponse>>>;
11303
11268
  /**
11304
11269
  *
11305
11270
  * @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
@@ -11396,7 +11361,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
11396
11361
  * @param {*} [options] Override http request option.
11397
11362
  * @throws {RequiredError}
11398
11363
  */
11399
- getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransactionResponse>;
11364
+ getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<TransactionResponse>>;
11400
11365
  /**
11401
11366
  *
11402
11367
  * @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
@@ -11710,7 +11675,7 @@ export declare class InvoicesApi extends BaseAPI {
11710
11675
  * @throws {RequiredError}
11711
11676
  * @memberof InvoicesApi
11712
11677
  */
11713
- getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionResponse, any, {}>>;
11678
+ getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionResponse[], any, {}>>;
11714
11679
  /**
11715
11680
  *
11716
11681
  * @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
@@ -15222,7 +15187,7 @@ export declare const TransfersApiFp: (configuration?: Configuration) => {
15222
15187
  * @param {*} [options] Override http request option.
15223
15188
  * @throws {RequiredError}
15224
15189
  */
15225
- getAllTransfers(fromDate?: string, tillDate?: string, fromId?: number, toId?: number, category?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TransferResponse>>>;
15190
+ getAllTransfers(fromDate?: string, tillDate?: string, fromId?: number, toId?: number, category?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedTransferResponse>>;
15226
15191
  /**
15227
15192
  *
15228
15193
  * @summary Returns the requested transfer
@@ -15291,7 +15256,7 @@ export declare const TransfersApiFactory: (configuration?: Configuration, basePa
15291
15256
  * @param {*} [options] Override http request option.
15292
15257
  * @throws {RequiredError}
15293
15258
  */
15294
- getAllTransfers(requestParameters?: TransfersApiGetAllTransfersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<TransferResponse>>;
15259
+ getAllTransfers(requestParameters?: TransfersApiGetAllTransfersRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedTransferResponse>;
15295
15260
  /**
15296
15261
  *
15297
15262
  * @summary Returns the requested transfer
@@ -15527,7 +15492,7 @@ export declare class TransfersApi extends BaseAPI {
15527
15492
  * @throws {RequiredError}
15528
15493
  * @memberof TransfersApi
15529
15494
  */
15530
- getAllTransfers(requestParameters?: TransfersApiGetAllTransfersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TransferResponse[], any, {}>>;
15495
+ getAllTransfers(requestParameters?: TransfersApiGetAllTransfersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedTransferResponse, any, {}>>;
15531
15496
  /**
15532
15497
  *
15533
15498
  * @summary Returns the requested transfer
package/dist/api.js CHANGED
@@ -13,15 +13,21 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.PayoutRequestsApiAxiosParamCreator = exports.InvoicesApi = exports.InvoicesApiFactory = exports.InvoicesApiFp = exports.InvoicesApiAxiosParamCreator = exports.InactiveAdministrativeCostsApi = exports.InactiveAdministrativeCostsApiFactory = exports.InactiveAdministrativeCostsApiFp = exports.InactiveAdministrativeCostsApiAxiosParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiAxiosParamCreator = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = exports.GetFineReportPdfFileTypeEnum = exports.DebtorsApi = exports.DebtorsApiFactory = exports.DebtorsApiFp = exports.DebtorsApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.BannersApi = exports.BannersApiFactory = exports.BannersApiFp = exports.BannersApiAxiosParamCreator = exports.GetAllBalanceOrderDirectionEnum = exports.BalanceApi = exports.BalanceApiFactory = exports.BalanceApiFp = exports.BalanceApiAxiosParamCreator = exports.AuthenticateApi = exports.AuthenticateApiFactory = exports.AuthenticateApiFp = exports.AuthenticateApiAxiosParamCreator = exports.UserType = exports.UserSettingsResponseLanguageEnum = exports.UpdateInvoiceRequestStateEnum = exports.QRStatusResponseStatusEnum = exports.PayoutRequestStatusRequestStateEnum = exports.PayoutRequestResponseStatusEnum = exports.PatchUserSettingsRequestLanguageEnum = exports.InvoiceStatusResponseStateEnum = exports.GetAllInvoicesCurrentStateParameterInner = exports.FinancialMutationResponseTypeEnum = exports.BasePayoutRequestResponseStatusEnum = void 0;
17
- exports.TransactionSummariesApiFp = exports.TransactionSummariesApiAxiosParamCreator = exports.TestOperationsOfTheTestControllerApi = exports.TestOperationsOfTheTestControllerApiFactory = exports.TestOperationsOfTheTestControllerApiFp = exports.TestOperationsOfTheTestControllerApiAxiosParamCreator = exports.TermsOfServiceApi = exports.TermsOfServiceApiFactory = exports.TermsOfServiceApiFp = exports.TermsOfServiceApiAxiosParamCreator = exports.GetUserSyncResultsServiceEnum = exports.SyncApi = exports.SyncApiFactory = exports.SyncApiFp = exports.SyncApiAxiosParamCreator = exports.StripeApi = exports.StripeApiFactory = exports.StripeApiFp = exports.StripeApiAxiosParamCreator = exports.ServerSettingsApi = exports.ServerSettingsApiFactory = exports.ServerSettingsApiFp = exports.ServerSettingsApiAxiosParamCreator = exports.SellerPayoutsApi = exports.SellerPayoutsApiFactory = exports.SellerPayoutsApiFp = exports.SellerPayoutsApiAxiosParamCreator = exports.RootApi = exports.RootApiFactory = exports.RootApiFp = exports.RootApiAxiosParamCreator = exports.RbacApi = exports.RbacApiFactory = exports.RbacApiFp = exports.RbacApiAxiosParamCreator = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.ProductCategoriesApi = exports.ProductCategoriesApiFactory = exports.ProductCategoriesApiFp = exports.ProductCategoriesApiAxiosParamCreator = exports.PointofsaleApi = exports.PointofsaleApiFactory = exports.PointofsaleApiFp = exports.PointofsaleApiAxiosParamCreator = exports.PayoutRequestsApi = exports.PayoutRequestsApiFactory = exports.PayoutRequestsApiFp = void 0;
18
- exports.WriteoffsApi = exports.WriteoffsApiFactory = exports.WriteoffsApiFp = exports.WriteoffsApiAxiosParamCreator = exports.VouchergroupsApi = exports.VouchergroupsApiFactory = exports.VouchergroupsApiFp = exports.VouchergroupsApiAxiosParamCreator = exports.VatGroupsApi = exports.VatGroupsApiFactory = exports.VatGroupsApiFp = exports.VatGroupsApiAxiosParamCreator = exports.GetUsersSalesReportPdfFileTypeEnum = exports.GetUsersPurchaseReportPdfFileTypeEnum = exports.GetAllUsersTypeEnum = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserNotificationPreferencesApi = exports.UserNotificationPreferencesApiFactory = exports.UserNotificationPreferencesApiFp = exports.UserNotificationPreferencesApiAxiosParamCreator = exports.TransfersApi = exports.TransfersApiFactory = exports.TransfersApiFp = exports.TransfersApiAxiosParamCreator = exports.TransactionsApi = exports.TransactionsApiFactory = exports.TransactionsApiFp = exports.TransactionsApiAxiosParamCreator = exports.TransactionSummariesApi = exports.TransactionSummariesApiFactory = void 0;
16
+ exports.InvoicesApiFactory = exports.InvoicesApiFp = exports.InvoicesApiAxiosParamCreator = exports.InactiveAdministrativeCostsApi = exports.InactiveAdministrativeCostsApiFactory = exports.InactiveAdministrativeCostsApiFp = exports.InactiveAdministrativeCostsApiAxiosParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiAxiosParamCreator = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = exports.GetFineReportPdfFileTypeEnum = exports.DebtorsApi = exports.DebtorsApiFactory = exports.DebtorsApiFp = exports.DebtorsApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.BannersApi = exports.BannersApiFactory = exports.BannersApiFp = exports.BannersApiAxiosParamCreator = exports.GetAllBalanceOrderDirectionEnum = exports.BalanceApi = exports.BalanceApiFactory = exports.BalanceApiFp = exports.BalanceApiAxiosParamCreator = exports.AuthenticateApi = exports.AuthenticateApiFactory = exports.AuthenticateApiFp = exports.AuthenticateApiAxiosParamCreator = exports.UserType = exports.UserSettingsResponseLanguageEnum = exports.UpdateInvoiceRequestStateEnum = exports.QRStatusResponseStatusEnum = exports.PublicPaymentRequestResponseStatusEnum = exports.PayoutRequestStatusRequestStateEnum = exports.PayoutRequestResponseStatusEnum = exports.PatchUserSettingsRequestLanguageEnum = exports.InvoiceStatusResponseStateEnum = exports.GetAllInvoicesCurrentStateParameterInner = exports.FinancialMutationResponseTypeEnum = exports.BasePayoutRequestResponseStatusEnum = exports.BasePaymentRequestResponseStatusEnum = void 0;
17
+ exports.TestOperationsOfTheTestControllerApi = exports.TestOperationsOfTheTestControllerApiFactory = exports.TestOperationsOfTheTestControllerApiFp = exports.TestOperationsOfTheTestControllerApiAxiosParamCreator = exports.TermsOfServiceApi = exports.TermsOfServiceApiFactory = exports.TermsOfServiceApiFp = exports.TermsOfServiceApiAxiosParamCreator = exports.GetUserSyncResultsServiceEnum = exports.SyncApi = exports.SyncApiFactory = exports.SyncApiFp = exports.SyncApiAxiosParamCreator = exports.StripeApi = exports.StripeApiFactory = exports.StripeApiFp = exports.StripeApiAxiosParamCreator = exports.ServerSettingsApi = exports.ServerSettingsApiFactory = exports.ServerSettingsApiFp = exports.ServerSettingsApiAxiosParamCreator = exports.SellerPayoutsApi = exports.SellerPayoutsApiFactory = exports.SellerPayoutsApiFp = exports.SellerPayoutsApiAxiosParamCreator = exports.RootApi = exports.RootApiFactory = exports.RootApiFp = exports.RootApiAxiosParamCreator = exports.RbacApi = exports.RbacApiFactory = exports.RbacApiFp = exports.RbacApiAxiosParamCreator = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.ProductCategoriesApi = exports.ProductCategoriesApiFactory = exports.ProductCategoriesApiFp = exports.ProductCategoriesApiAxiosParamCreator = exports.PointofsaleApi = exports.PointofsaleApiFactory = exports.PointofsaleApiFp = exports.PointofsaleApiAxiosParamCreator = exports.PayoutRequestsApi = exports.PayoutRequestsApiFactory = exports.PayoutRequestsApiFp = exports.PayoutRequestsApiAxiosParamCreator = exports.InvoicesApi = void 0;
18
+ exports.WriteoffsApi = exports.WriteoffsApiFactory = exports.WriteoffsApiFp = exports.WriteoffsApiAxiosParamCreator = exports.VouchergroupsApi = exports.VouchergroupsApiFactory = exports.VouchergroupsApiFp = exports.VouchergroupsApiAxiosParamCreator = exports.VatGroupsApi = exports.VatGroupsApiFactory = exports.VatGroupsApiFp = exports.VatGroupsApiAxiosParamCreator = exports.GetUsersSalesReportPdfFileTypeEnum = exports.GetUsersPurchaseReportPdfFileTypeEnum = exports.GetAllUsersTypeEnum = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserNotificationPreferencesApi = exports.UserNotificationPreferencesApiFactory = exports.UserNotificationPreferencesApiFp = exports.UserNotificationPreferencesApiAxiosParamCreator = exports.TransfersApi = exports.TransfersApiFactory = exports.TransfersApiFp = exports.TransfersApiAxiosParamCreator = exports.TransactionsApi = exports.TransactionsApiFactory = exports.TransactionsApiFp = exports.TransactionsApiAxiosParamCreator = exports.TransactionSummariesApi = exports.TransactionSummariesApiFactory = exports.TransactionSummariesApiFp = exports.TransactionSummariesApiAxiosParamCreator = void 0;
19
19
  const axios_1 = require("axios");
20
20
  // Some imports not used depending on template conditions
21
21
  // @ts-ignore
22
22
  const common_1 = require("./common");
23
23
  // @ts-ignore
24
24
  const base_1 = require("./base");
25
+ exports.BasePaymentRequestResponseStatusEnum = {
26
+ Pending: 'PENDING',
27
+ Paid: 'PAID',
28
+ Expired: 'EXPIRED',
29
+ Cancelled: 'CANCELLED'
30
+ };
25
31
  exports.BasePayoutRequestResponseStatusEnum = {
26
32
  Created: 'CREATED',
27
33
  Approved: 'APPROVED',
@@ -66,6 +72,12 @@ exports.PayoutRequestStatusRequestStateEnum = {
66
72
  Denied: 'DENIED',
67
73
  Cancelled: 'CANCELLED'
68
74
  };
75
+ exports.PublicPaymentRequestResponseStatusEnum = {
76
+ Pending: 'PENDING',
77
+ Paid: 'PAID',
78
+ Expired: 'EXPIRED',
79
+ Cancelled: 'CANCELLED'
80
+ };
69
81
  exports.QRStatusResponseStatusEnum = {
70
82
  Pending: 'PENDING',
71
83
  Confirmed: 'CONFIRMED',
@@ -200,37 +212,6 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
200
212
  options: localVarRequestOptions,
201
213
  };
202
214
  },
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
215
  /**
235
216
  *
236
217
  * @summary Generate a QR code for authentication
@@ -485,37 +466,6 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
485
466
  options: localVarRequestOptions,
486
467
  };
487
468
  },
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
469
  /**
520
470
  *
521
471
  * @summary Mock login and hand out token.
@@ -546,68 +496,6 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
546
496
  options: localVarRequestOptions,
547
497
  };
548
498
  },
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
499
  /**
612
500
  *
613
501
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -877,20 +765,6 @@ const AuthenticateApiFp = function (configuration) {
877
765
  const operationBasePath = base_1.operationServerMap['AuthenticateApi.confirmQRCode']?.[index]?.url;
878
766
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
879
767
  },
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
768
  /**
895
769
  *
896
770
  * @summary Generate a QR code for authentication
@@ -1005,20 +879,6 @@ const AuthenticateApiFp = function (configuration) {
1005
879
  const operationBasePath = base_1.operationServerMap['AuthenticateApi.localAuthentication']?.[index]?.url;
1006
880
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1007
881
  },
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
882
  /**
1023
883
  *
1024
884
  * @summary Mock login and hand out token.
@@ -1032,34 +892,6 @@ const AuthenticateApiFp = function (configuration) {
1032
892
  const operationBasePath = base_1.operationServerMap['AuthenticateApi.mockAuthentication']?.[index]?.url;
1033
893
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1034
894
  },
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
895
  /**
1064
896
  *
1065
897
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -1190,17 +1022,6 @@ const AuthenticateApiFactory = function (configuration, basePath, axios) {
1190
1022
  confirmQRCode(requestParameters, options) {
1191
1023
  return localVarFp.confirmQRCode(requestParameters.sessionId, options).then((request) => request(axios, basePath));
1192
1024
  },
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
1025
  /**
1205
1026
  *
1206
1027
  * @summary Generate a QR code for authentication
@@ -1288,17 +1109,6 @@ const AuthenticateApiFactory = function (configuration, basePath, axios) {
1288
1109
  localAuthentication(requestParameters, options) {
1289
1110
  return localVarFp.localAuthentication(requestParameters.authenticationLocalRequest, options).then((request) => request(axios, basePath));
1290
1111
  },
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
1112
  /**
1303
1113
  *
1304
1114
  * @summary Mock login and hand out token.
@@ -1309,28 +1119,6 @@ const AuthenticateApiFactory = function (configuration, basePath, axios) {
1309
1119
  mockAuthentication(requestParameters, options) {
1310
1120
  return localVarFp.mockAuthentication(requestParameters.authenticationMockRequest, options).then((request) => request(axios, basePath));
1311
1121
  },
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
1122
  /**
1335
1123
  *
1336
1124
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -1443,18 +1231,6 @@ class AuthenticateApi extends base_1.BaseAPI {
1443
1231
  confirmQRCode(requestParameters, options) {
1444
1232
  return (0, exports.AuthenticateApiFp)(this.configuration).confirmQRCode(requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
1445
1233
  }
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
1234
  /**
1459
1235
  *
1460
1236
  * @summary Generate a QR code for authentication
@@ -1551,18 +1327,6 @@ class AuthenticateApi extends base_1.BaseAPI {
1551
1327
  localAuthentication(requestParameters, options) {
1552
1328
  return (0, exports.AuthenticateApiFp)(this.configuration).localAuthentication(requestParameters.authenticationLocalRequest, options).then((request) => request(this.axios, this.basePath));
1553
1329
  }
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
1330
  /**
1567
1331
  *
1568
1332
  * @summary Mock login and hand out token.
@@ -1574,30 +1338,6 @@ class AuthenticateApi extends base_1.BaseAPI {
1574
1338
  mockAuthentication(requestParameters, options) {
1575
1339
  return (0, exports.AuthenticateApiFp)(this.configuration).mockAuthentication(requestParameters.authenticationMockRequest, options).then((request) => request(this.axios, this.basePath));
1576
1340
  }
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
1341
  /**
1602
1342
  *
1603
1343
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gewis/sudosos-client",
3
- "version": "0.0.0-develop.f2b7926",
3
+ "version": "0.0.0-develop.f5251b0",
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,10 +16,10 @@
16
16
  "clean": "rm -rf src dist"
17
17
  },
18
18
  "dependencies": {
19
- "axios": "1.15.2"
19
+ "axios": "1.16.1"
20
20
  },
21
21
  "devDependencies": {
22
- "@openapitools/openapi-generator-cli": "2.31.1",
22
+ "@openapitools/openapi-generator-cli": "2.32.0",
23
23
  "typescript": "5.9.3"
24
24
  },
25
25
  "repository": {