@gewis/sudosos-client 1.33.0 → 1.35.0
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 +239 -233
- package/dist/api.js +207 -207
- package/package.json +3 -3
package/dist/api.js
CHANGED
|
@@ -212,6 +212,39 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
|
|
|
212
212
|
options: localVarRequestOptions,
|
|
213
213
|
};
|
|
214
214
|
},
|
|
215
|
+
/**
|
|
216
|
+
*
|
|
217
|
+
* @summary EAN authentication that requires POS user authentication
|
|
218
|
+
* @param {AuthenticationEanRequest} authenticationEanRequest The EAN login request with posId
|
|
219
|
+
* @param {*} [options] Override http request option.
|
|
220
|
+
* @throws {RequiredError}
|
|
221
|
+
*/
|
|
222
|
+
eanAuthentication: async (authenticationEanRequest, options = {}) => {
|
|
223
|
+
// verify required parameter 'authenticationEanRequest' is not null or undefined
|
|
224
|
+
(0, common_1.assertParamExists)('eanAuthentication', 'authenticationEanRequest', authenticationEanRequest);
|
|
225
|
+
const localVarPath = `/authentication/ean`;
|
|
226
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
227
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
228
|
+
let baseOptions;
|
|
229
|
+
if (configuration) {
|
|
230
|
+
baseOptions = configuration.baseOptions;
|
|
231
|
+
}
|
|
232
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
233
|
+
const localVarHeaderParameter = {};
|
|
234
|
+
const localVarQueryParameter = {};
|
|
235
|
+
// authentication JWT required
|
|
236
|
+
// http bearer authentication required
|
|
237
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
238
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
239
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
240
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
241
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
242
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authenticationEanRequest, localVarRequestOptions, configuration);
|
|
243
|
+
return {
|
|
244
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
245
|
+
options: localVarRequestOptions,
|
|
246
|
+
};
|
|
247
|
+
},
|
|
215
248
|
/**
|
|
216
249
|
*
|
|
217
250
|
* @summary Generate a QR code for authentication
|
|
@@ -468,15 +501,15 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
|
|
|
468
501
|
},
|
|
469
502
|
/**
|
|
470
503
|
*
|
|
471
|
-
* @summary
|
|
472
|
-
* @param {
|
|
504
|
+
* @summary Member PIN authentication that requires POS user authentication
|
|
505
|
+
* @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login request with posId
|
|
473
506
|
* @param {*} [options] Override http request option.
|
|
474
507
|
* @throws {RequiredError}
|
|
475
508
|
*/
|
|
476
|
-
|
|
477
|
-
// verify required parameter '
|
|
478
|
-
(0, common_1.assertParamExists)('
|
|
479
|
-
const localVarPath = `/authentication/
|
|
509
|
+
memberPINAuthentication: async (memberAuthenticationPinRequest, options = {}) => {
|
|
510
|
+
// verify required parameter 'memberAuthenticationPinRequest' is not null or undefined
|
|
511
|
+
(0, common_1.assertParamExists)('memberPINAuthentication', 'memberAuthenticationPinRequest', memberAuthenticationPinRequest);
|
|
512
|
+
const localVarPath = `/authentication/member/pin`;
|
|
480
513
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
481
514
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
482
515
|
let baseOptions;
|
|
@@ -486,39 +519,14 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
|
|
|
486
519
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
487
520
|
const localVarHeaderParameter = {};
|
|
488
521
|
const localVarQueryParameter = {};
|
|
489
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
490
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
491
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
492
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
493
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authenticationMockRequest, localVarRequestOptions, configuration);
|
|
494
|
-
return {
|
|
495
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
496
|
-
options: localVarRequestOptions,
|
|
497
|
-
};
|
|
498
|
-
},
|
|
499
|
-
/**
|
|
500
|
-
*
|
|
501
|
-
* @summary Get a new JWT token, maintaining the same access level (posId) as the original token
|
|
502
|
-
* @param {*} [options] Override http request option.
|
|
503
|
-
* @throws {RequiredError}
|
|
504
|
-
*/
|
|
505
|
-
refreshToken: async (options = {}) => {
|
|
506
|
-
const localVarPath = `/authentication/refreshToken`;
|
|
507
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
508
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
509
|
-
let baseOptions;
|
|
510
|
-
if (configuration) {
|
|
511
|
-
baseOptions = configuration.baseOptions;
|
|
512
|
-
}
|
|
513
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
514
|
-
const localVarHeaderParameter = {};
|
|
515
|
-
const localVarQueryParameter = {};
|
|
516
522
|
// authentication JWT required
|
|
517
523
|
// http bearer authentication required
|
|
518
524
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
525
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
519
526
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
520
527
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
521
528
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
529
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(memberAuthenticationPinRequest, localVarRequestOptions, configuration);
|
|
522
530
|
return {
|
|
523
531
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
524
532
|
options: localVarRequestOptions,
|
|
@@ -526,15 +534,15 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
|
|
|
526
534
|
},
|
|
527
535
|
/**
|
|
528
536
|
*
|
|
529
|
-
* @summary
|
|
530
|
-
* @param {
|
|
537
|
+
* @summary Mock login and hand out token.
|
|
538
|
+
* @param {AuthenticationMockRequest} authenticationMockRequest The mock login.
|
|
531
539
|
* @param {*} [options] Override http request option.
|
|
532
540
|
* @throws {RequiredError}
|
|
533
541
|
*/
|
|
534
|
-
|
|
535
|
-
// verify required parameter '
|
|
536
|
-
(0, common_1.assertParamExists)('
|
|
537
|
-
const localVarPath = `/authentication/
|
|
542
|
+
mockAuthentication: async (authenticationMockRequest, options = {}) => {
|
|
543
|
+
// verify required parameter 'authenticationMockRequest' is not null or undefined
|
|
544
|
+
(0, common_1.assertParamExists)('mockAuthentication', 'authenticationMockRequest', authenticationMockRequest);
|
|
545
|
+
const localVarPath = `/authentication/mock`;
|
|
538
546
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
539
547
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
540
548
|
let baseOptions;
|
|
@@ -548,7 +556,7 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
|
|
|
548
556
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
549
557
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
550
558
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
551
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
559
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authenticationMockRequest, localVarRequestOptions, configuration);
|
|
552
560
|
return {
|
|
553
561
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
554
562
|
options: localVarRequestOptions,
|
|
@@ -556,29 +564,32 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
|
|
|
556
564
|
},
|
|
557
565
|
/**
|
|
558
566
|
*
|
|
559
|
-
* @summary
|
|
560
|
-
* @param {
|
|
567
|
+
* @summary NFC authentication that requires POS user authentication
|
|
568
|
+
* @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login request with posId
|
|
561
569
|
* @param {*} [options] Override http request option.
|
|
562
570
|
* @throws {RequiredError}
|
|
563
571
|
*/
|
|
564
|
-
|
|
565
|
-
// verify required parameter '
|
|
566
|
-
(0, common_1.assertParamExists)('
|
|
567
|
-
const localVarPath = `/authentication/
|
|
572
|
+
nfcAuthentication: async (authenticationNfcRequest, options = {}) => {
|
|
573
|
+
// verify required parameter 'authenticationNfcRequest' is not null or undefined
|
|
574
|
+
(0, common_1.assertParamExists)('nfcAuthentication', 'authenticationNfcRequest', authenticationNfcRequest);
|
|
575
|
+
const localVarPath = `/authentication/nfc`;
|
|
568
576
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
569
577
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
570
578
|
let baseOptions;
|
|
571
579
|
if (configuration) {
|
|
572
580
|
baseOptions = configuration.baseOptions;
|
|
573
581
|
}
|
|
574
|
-
const localVarRequestOptions = { method: '
|
|
582
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
575
583
|
const localVarHeaderParameter = {};
|
|
576
584
|
const localVarQueryParameter = {};
|
|
585
|
+
// authentication JWT required
|
|
586
|
+
// http bearer authentication required
|
|
587
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
577
588
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
578
589
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
579
590
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
580
591
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
581
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
592
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authenticationNfcRequest, localVarRequestOptions, configuration);
|
|
582
593
|
return {
|
|
583
594
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
584
595
|
options: localVarRequestOptions,
|
|
@@ -586,15 +597,15 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
|
|
|
586
597
|
},
|
|
587
598
|
/**
|
|
588
599
|
*
|
|
589
|
-
* @summary
|
|
590
|
-
* @param {
|
|
600
|
+
* @summary PIN authentication that requires POS user authentication
|
|
601
|
+
* @param {AuthenticationPinRequest} authenticationPinRequest The PIN login request with posId
|
|
591
602
|
* @param {*} [options] Override http request option.
|
|
592
603
|
* @throws {RequiredError}
|
|
593
604
|
*/
|
|
594
|
-
|
|
595
|
-
// verify required parameter '
|
|
596
|
-
(0, common_1.assertParamExists)('
|
|
597
|
-
const localVarPath = `/authentication/
|
|
605
|
+
pinAuthentication: async (authenticationPinRequest, options = {}) => {
|
|
606
|
+
// verify required parameter 'authenticationPinRequest' is not null or undefined
|
|
607
|
+
(0, common_1.assertParamExists)('pinAuthentication', 'authenticationPinRequest', authenticationPinRequest);
|
|
608
|
+
const localVarPath = `/authentication/pin`;
|
|
598
609
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
599
610
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
600
611
|
let baseOptions;
|
|
@@ -611,7 +622,7 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
|
|
|
611
622
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
612
623
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
613
624
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
614
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
625
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authenticationPinRequest, localVarRequestOptions, configuration);
|
|
615
626
|
return {
|
|
616
627
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
617
628
|
options: localVarRequestOptions,
|
|
@@ -619,32 +630,27 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
|
|
|
619
630
|
},
|
|
620
631
|
/**
|
|
621
632
|
*
|
|
622
|
-
* @summary
|
|
623
|
-
* @param {MemberAuthenticationSecurePinRequest} memberAuthenticationSecurePinRequest The PIN login request with posId
|
|
633
|
+
* @summary Get a new JWT token, maintaining the same access level (posId) as the original token
|
|
624
634
|
* @param {*} [options] Override http request option.
|
|
625
635
|
* @throws {RequiredError}
|
|
626
636
|
*/
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
(0, common_1.assertParamExists)('secureMemberPINAuthentication', 'memberAuthenticationSecurePinRequest', memberAuthenticationSecurePinRequest);
|
|
630
|
-
const localVarPath = `/authentication/member/pin-secure`;
|
|
637
|
+
refreshToken: async (options = {}) => {
|
|
638
|
+
const localVarPath = `/authentication/refreshToken`;
|
|
631
639
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
632
640
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
633
641
|
let baseOptions;
|
|
634
642
|
if (configuration) {
|
|
635
643
|
baseOptions = configuration.baseOptions;
|
|
636
644
|
}
|
|
637
|
-
const localVarRequestOptions = { method: '
|
|
645
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
638
646
|
const localVarHeaderParameter = {};
|
|
639
647
|
const localVarQueryParameter = {};
|
|
640
648
|
// authentication JWT required
|
|
641
649
|
// http bearer authentication required
|
|
642
650
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
643
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
644
651
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
645
652
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
646
653
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
647
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(memberAuthenticationSecurePinRequest, localVarRequestOptions, configuration);
|
|
648
654
|
return {
|
|
649
655
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
650
656
|
options: localVarRequestOptions,
|
|
@@ -652,15 +658,15 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
|
|
|
652
658
|
},
|
|
653
659
|
/**
|
|
654
660
|
*
|
|
655
|
-
* @summary
|
|
656
|
-
* @param {
|
|
661
|
+
* @summary Creates a reset token for the local authentication
|
|
662
|
+
* @param {ResetLocalRequest} resetLocalRequest The reset info.
|
|
657
663
|
* @param {*} [options] Override http request option.
|
|
658
664
|
* @throws {RequiredError}
|
|
659
665
|
*/
|
|
660
|
-
|
|
661
|
-
// verify required parameter '
|
|
662
|
-
(0, common_1.assertParamExists)('
|
|
663
|
-
const localVarPath = `/authentication/
|
|
666
|
+
resetLocal: async (resetLocalRequest, options = {}) => {
|
|
667
|
+
// verify required parameter 'resetLocalRequest' is not null or undefined
|
|
668
|
+
(0, common_1.assertParamExists)('resetLocal', 'resetLocalRequest', resetLocalRequest);
|
|
669
|
+
const localVarPath = `/authentication/local/reset`;
|
|
664
670
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
665
671
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
666
672
|
let baseOptions;
|
|
@@ -670,14 +676,11 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
|
|
|
670
676
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
671
677
|
const localVarHeaderParameter = {};
|
|
672
678
|
const localVarQueryParameter = {};
|
|
673
|
-
// authentication JWT required
|
|
674
|
-
// http bearer authentication required
|
|
675
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
676
679
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
677
680
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
678
681
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
679
682
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
680
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
683
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(resetLocalRequest, localVarRequestOptions, configuration);
|
|
681
684
|
return {
|
|
682
685
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
683
686
|
options: localVarRequestOptions,
|
|
@@ -685,32 +688,29 @@ const AuthenticateApiAxiosParamCreator = function (configuration) {
|
|
|
685
688
|
},
|
|
686
689
|
/**
|
|
687
690
|
*
|
|
688
|
-
* @summary
|
|
689
|
-
* @param {
|
|
691
|
+
* @summary Reset local authentication using the provided token
|
|
692
|
+
* @param {AuthenticationResetTokenRequest} authenticationResetTokenRequest The reset token.
|
|
690
693
|
* @param {*} [options] Override http request option.
|
|
691
694
|
* @throws {RequiredError}
|
|
692
695
|
*/
|
|
693
|
-
|
|
694
|
-
// verify required parameter '
|
|
695
|
-
(0, common_1.assertParamExists)('
|
|
696
|
-
const localVarPath = `/authentication/
|
|
696
|
+
resetLocalWithToken: async (authenticationResetTokenRequest, options = {}) => {
|
|
697
|
+
// verify required parameter 'authenticationResetTokenRequest' is not null or undefined
|
|
698
|
+
(0, common_1.assertParamExists)('resetLocalWithToken', 'authenticationResetTokenRequest', authenticationResetTokenRequest);
|
|
699
|
+
const localVarPath = `/authentication/local`;
|
|
697
700
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
698
701
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
699
702
|
let baseOptions;
|
|
700
703
|
if (configuration) {
|
|
701
704
|
baseOptions = configuration.baseOptions;
|
|
702
705
|
}
|
|
703
|
-
const localVarRequestOptions = { method: '
|
|
706
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
704
707
|
const localVarHeaderParameter = {};
|
|
705
708
|
const localVarQueryParameter = {};
|
|
706
|
-
// authentication JWT required
|
|
707
|
-
// http bearer authentication required
|
|
708
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
709
709
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
710
710
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
711
711
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
712
712
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
713
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
713
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authenticationResetTokenRequest, localVarRequestOptions, configuration);
|
|
714
714
|
return {
|
|
715
715
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
716
716
|
options: localVarRequestOptions,
|
|
@@ -765,6 +765,19 @@ const AuthenticateApiFp = function (configuration) {
|
|
|
765
765
|
const operationBasePath = base_1.operationServerMap['AuthenticateApi.confirmQRCode']?.[index]?.url;
|
|
766
766
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
767
767
|
},
|
|
768
|
+
/**
|
|
769
|
+
*
|
|
770
|
+
* @summary EAN authentication that requires POS user authentication
|
|
771
|
+
* @param {AuthenticationEanRequest} authenticationEanRequest The EAN login request with posId
|
|
772
|
+
* @param {*} [options] Override http request option.
|
|
773
|
+
* @throws {RequiredError}
|
|
774
|
+
*/
|
|
775
|
+
async eanAuthentication(authenticationEanRequest, options) {
|
|
776
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.eanAuthentication(authenticationEanRequest, options);
|
|
777
|
+
const index = configuration?.serverIndex ?? 0;
|
|
778
|
+
const operationBasePath = base_1.operationServerMap['AuthenticateApi.eanAuthentication']?.[index]?.url;
|
|
779
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
780
|
+
},
|
|
768
781
|
/**
|
|
769
782
|
*
|
|
770
783
|
* @summary Generate a QR code for authentication
|
|
@@ -881,105 +894,92 @@ const AuthenticateApiFp = function (configuration) {
|
|
|
881
894
|
},
|
|
882
895
|
/**
|
|
883
896
|
*
|
|
884
|
-
* @summary
|
|
885
|
-
* @param {
|
|
886
|
-
* @param {*} [options] Override http request option.
|
|
887
|
-
* @throws {RequiredError}
|
|
888
|
-
*/
|
|
889
|
-
async mockAuthentication(authenticationMockRequest, options) {
|
|
890
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.mockAuthentication(authenticationMockRequest, options);
|
|
891
|
-
const index = configuration?.serverIndex ?? 0;
|
|
892
|
-
const operationBasePath = base_1.operationServerMap['AuthenticateApi.mockAuthentication']?.[index]?.url;
|
|
893
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
894
|
-
},
|
|
895
|
-
/**
|
|
896
|
-
*
|
|
897
|
-
* @summary Get a new JWT token, maintaining the same access level (posId) as the original token
|
|
897
|
+
* @summary Member PIN authentication that requires POS user authentication
|
|
898
|
+
* @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login request with posId
|
|
898
899
|
* @param {*} [options] Override http request option.
|
|
899
900
|
* @throws {RequiredError}
|
|
900
901
|
*/
|
|
901
|
-
async
|
|
902
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
902
|
+
async memberPINAuthentication(memberAuthenticationPinRequest, options) {
|
|
903
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.memberPINAuthentication(memberAuthenticationPinRequest, options);
|
|
903
904
|
const index = configuration?.serverIndex ?? 0;
|
|
904
|
-
const operationBasePath = base_1.operationServerMap['AuthenticateApi.
|
|
905
|
+
const operationBasePath = base_1.operationServerMap['AuthenticateApi.memberPINAuthentication']?.[index]?.url;
|
|
905
906
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
906
907
|
},
|
|
907
908
|
/**
|
|
908
909
|
*
|
|
909
|
-
* @summary
|
|
910
|
-
* @param {
|
|
910
|
+
* @summary Mock login and hand out token.
|
|
911
|
+
* @param {AuthenticationMockRequest} authenticationMockRequest The mock login.
|
|
911
912
|
* @param {*} [options] Override http request option.
|
|
912
913
|
* @throws {RequiredError}
|
|
913
914
|
*/
|
|
914
|
-
async
|
|
915
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
915
|
+
async mockAuthentication(authenticationMockRequest, options) {
|
|
916
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mockAuthentication(authenticationMockRequest, options);
|
|
916
917
|
const index = configuration?.serverIndex ?? 0;
|
|
917
|
-
const operationBasePath = base_1.operationServerMap['AuthenticateApi.
|
|
918
|
+
const operationBasePath = base_1.operationServerMap['AuthenticateApi.mockAuthentication']?.[index]?.url;
|
|
918
919
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
919
920
|
},
|
|
920
921
|
/**
|
|
921
922
|
*
|
|
922
|
-
* @summary
|
|
923
|
-
* @param {
|
|
923
|
+
* @summary NFC authentication that requires POS user authentication
|
|
924
|
+
* @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login request with posId
|
|
924
925
|
* @param {*} [options] Override http request option.
|
|
925
926
|
* @throws {RequiredError}
|
|
926
927
|
*/
|
|
927
|
-
async
|
|
928
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
928
|
+
async nfcAuthentication(authenticationNfcRequest, options) {
|
|
929
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.nfcAuthentication(authenticationNfcRequest, options);
|
|
929
930
|
const index = configuration?.serverIndex ?? 0;
|
|
930
|
-
const operationBasePath = base_1.operationServerMap['AuthenticateApi.
|
|
931
|
+
const operationBasePath = base_1.operationServerMap['AuthenticateApi.nfcAuthentication']?.[index]?.url;
|
|
931
932
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
932
933
|
},
|
|
933
934
|
/**
|
|
934
935
|
*
|
|
935
|
-
* @summary
|
|
936
|
-
* @param {
|
|
936
|
+
* @summary PIN authentication that requires POS user authentication
|
|
937
|
+
* @param {AuthenticationPinRequest} authenticationPinRequest The PIN login request with posId
|
|
937
938
|
* @param {*} [options] Override http request option.
|
|
938
939
|
* @throws {RequiredError}
|
|
939
940
|
*/
|
|
940
|
-
async
|
|
941
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
941
|
+
async pinAuthentication(authenticationPinRequest, options) {
|
|
942
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.pinAuthentication(authenticationPinRequest, options);
|
|
942
943
|
const index = configuration?.serverIndex ?? 0;
|
|
943
|
-
const operationBasePath = base_1.operationServerMap['AuthenticateApi.
|
|
944
|
+
const operationBasePath = base_1.operationServerMap['AuthenticateApi.pinAuthentication']?.[index]?.url;
|
|
944
945
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
945
946
|
},
|
|
946
947
|
/**
|
|
947
948
|
*
|
|
948
|
-
* @summary
|
|
949
|
-
* @param {MemberAuthenticationSecurePinRequest} memberAuthenticationSecurePinRequest The PIN login request with posId
|
|
949
|
+
* @summary Get a new JWT token, maintaining the same access level (posId) as the original token
|
|
950
950
|
* @param {*} [options] Override http request option.
|
|
951
951
|
* @throws {RequiredError}
|
|
952
952
|
*/
|
|
953
|
-
async
|
|
954
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
953
|
+
async refreshToken(options) {
|
|
954
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.refreshToken(options);
|
|
955
955
|
const index = configuration?.serverIndex ?? 0;
|
|
956
|
-
const operationBasePath = base_1.operationServerMap['AuthenticateApi.
|
|
956
|
+
const operationBasePath = base_1.operationServerMap['AuthenticateApi.refreshToken']?.[index]?.url;
|
|
957
957
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
958
958
|
},
|
|
959
959
|
/**
|
|
960
960
|
*
|
|
961
|
-
* @summary
|
|
962
|
-
* @param {
|
|
961
|
+
* @summary Creates a reset token for the local authentication
|
|
962
|
+
* @param {ResetLocalRequest} resetLocalRequest The reset info.
|
|
963
963
|
* @param {*} [options] Override http request option.
|
|
964
964
|
* @throws {RequiredError}
|
|
965
965
|
*/
|
|
966
|
-
async
|
|
967
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
966
|
+
async resetLocal(resetLocalRequest, options) {
|
|
967
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resetLocal(resetLocalRequest, options);
|
|
968
968
|
const index = configuration?.serverIndex ?? 0;
|
|
969
|
-
const operationBasePath = base_1.operationServerMap['AuthenticateApi.
|
|
969
|
+
const operationBasePath = base_1.operationServerMap['AuthenticateApi.resetLocal']?.[index]?.url;
|
|
970
970
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
971
971
|
},
|
|
972
972
|
/**
|
|
973
973
|
*
|
|
974
|
-
* @summary
|
|
975
|
-
* @param {
|
|
974
|
+
* @summary Reset local authentication using the provided token
|
|
975
|
+
* @param {AuthenticationResetTokenRequest} authenticationResetTokenRequest The reset token.
|
|
976
976
|
* @param {*} [options] Override http request option.
|
|
977
977
|
* @throws {RequiredError}
|
|
978
978
|
*/
|
|
979
|
-
async
|
|
980
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
979
|
+
async resetLocalWithToken(authenticationResetTokenRequest, options) {
|
|
980
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resetLocalWithToken(authenticationResetTokenRequest, options);
|
|
981
981
|
const index = configuration?.serverIndex ?? 0;
|
|
982
|
-
const operationBasePath = base_1.operationServerMap['AuthenticateApi.
|
|
982
|
+
const operationBasePath = base_1.operationServerMap['AuthenticateApi.resetLocalWithToken']?.[index]?.url;
|
|
983
983
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
984
984
|
},
|
|
985
985
|
};
|
|
@@ -1022,6 +1022,16 @@ const AuthenticateApiFactory = function (configuration, basePath, axios) {
|
|
|
1022
1022
|
confirmQRCode(requestParameters, options) {
|
|
1023
1023
|
return localVarFp.confirmQRCode(requestParameters.sessionId, options).then((request) => request(axios, basePath));
|
|
1024
1024
|
},
|
|
1025
|
+
/**
|
|
1026
|
+
*
|
|
1027
|
+
* @summary EAN authentication that requires POS user authentication
|
|
1028
|
+
* @param {AuthenticateApiEanAuthenticationRequest} requestParameters Request parameters.
|
|
1029
|
+
* @param {*} [options] Override http request option.
|
|
1030
|
+
* @throws {RequiredError}
|
|
1031
|
+
*/
|
|
1032
|
+
eanAuthentication(requestParameters, options) {
|
|
1033
|
+
return localVarFp.eanAuthentication(requestParameters.authenticationEanRequest, options).then((request) => request(axios, basePath));
|
|
1034
|
+
},
|
|
1025
1035
|
/**
|
|
1026
1036
|
*
|
|
1027
1037
|
* @summary Generate a QR code for authentication
|
|
@@ -1111,82 +1121,72 @@ const AuthenticateApiFactory = function (configuration, basePath, axios) {
|
|
|
1111
1121
|
},
|
|
1112
1122
|
/**
|
|
1113
1123
|
*
|
|
1114
|
-
* @summary
|
|
1115
|
-
* @param {
|
|
1116
|
-
* @param {*} [options] Override http request option.
|
|
1117
|
-
* @throws {RequiredError}
|
|
1118
|
-
*/
|
|
1119
|
-
mockAuthentication(requestParameters, options) {
|
|
1120
|
-
return localVarFp.mockAuthentication(requestParameters.authenticationMockRequest, options).then((request) => request(axios, basePath));
|
|
1121
|
-
},
|
|
1122
|
-
/**
|
|
1123
|
-
*
|
|
1124
|
-
* @summary Get a new JWT token, maintaining the same access level (posId) as the original token
|
|
1124
|
+
* @summary Member PIN authentication that requires POS user authentication
|
|
1125
|
+
* @param {AuthenticateApiMemberPINAuthenticationRequest} requestParameters Request parameters.
|
|
1125
1126
|
* @param {*} [options] Override http request option.
|
|
1126
1127
|
* @throws {RequiredError}
|
|
1127
1128
|
*/
|
|
1128
|
-
|
|
1129
|
-
return localVarFp.
|
|
1129
|
+
memberPINAuthentication(requestParameters, options) {
|
|
1130
|
+
return localVarFp.memberPINAuthentication(requestParameters.memberAuthenticationPinRequest, options).then((request) => request(axios, basePath));
|
|
1130
1131
|
},
|
|
1131
1132
|
/**
|
|
1132
1133
|
*
|
|
1133
|
-
* @summary
|
|
1134
|
-
* @param {
|
|
1134
|
+
* @summary Mock login and hand out token.
|
|
1135
|
+
* @param {AuthenticateApiMockAuthenticationRequest} requestParameters Request parameters.
|
|
1135
1136
|
* @param {*} [options] Override http request option.
|
|
1136
1137
|
* @throws {RequiredError}
|
|
1137
1138
|
*/
|
|
1138
|
-
|
|
1139
|
-
return localVarFp.
|
|
1139
|
+
mockAuthentication(requestParameters, options) {
|
|
1140
|
+
return localVarFp.mockAuthentication(requestParameters.authenticationMockRequest, options).then((request) => request(axios, basePath));
|
|
1140
1141
|
},
|
|
1141
1142
|
/**
|
|
1142
1143
|
*
|
|
1143
|
-
* @summary
|
|
1144
|
-
* @param {
|
|
1144
|
+
* @summary NFC authentication that requires POS user authentication
|
|
1145
|
+
* @param {AuthenticateApiNfcAuthenticationRequest} requestParameters Request parameters.
|
|
1145
1146
|
* @param {*} [options] Override http request option.
|
|
1146
1147
|
* @throws {RequiredError}
|
|
1147
1148
|
*/
|
|
1148
|
-
|
|
1149
|
-
return localVarFp.
|
|
1149
|
+
nfcAuthentication(requestParameters, options) {
|
|
1150
|
+
return localVarFp.nfcAuthentication(requestParameters.authenticationNfcRequest, options).then((request) => request(axios, basePath));
|
|
1150
1151
|
},
|
|
1151
1152
|
/**
|
|
1152
1153
|
*
|
|
1153
|
-
* @summary
|
|
1154
|
-
* @param {
|
|
1154
|
+
* @summary PIN authentication that requires POS user authentication
|
|
1155
|
+
* @param {AuthenticateApiPinAuthenticationRequest} requestParameters Request parameters.
|
|
1155
1156
|
* @param {*} [options] Override http request option.
|
|
1156
1157
|
* @throws {RequiredError}
|
|
1157
1158
|
*/
|
|
1158
|
-
|
|
1159
|
-
return localVarFp.
|
|
1159
|
+
pinAuthentication(requestParameters, options) {
|
|
1160
|
+
return localVarFp.pinAuthentication(requestParameters.authenticationPinRequest, options).then((request) => request(axios, basePath));
|
|
1160
1161
|
},
|
|
1161
1162
|
/**
|
|
1162
1163
|
*
|
|
1163
|
-
* @summary
|
|
1164
|
-
* @param {AuthenticateApiSecureMemberPINAuthenticationRequest} requestParameters Request parameters.
|
|
1164
|
+
* @summary Get a new JWT token, maintaining the same access level (posId) as the original token
|
|
1165
1165
|
* @param {*} [options] Override http request option.
|
|
1166
1166
|
* @throws {RequiredError}
|
|
1167
1167
|
*/
|
|
1168
|
-
|
|
1169
|
-
return localVarFp.
|
|
1168
|
+
refreshToken(options) {
|
|
1169
|
+
return localVarFp.refreshToken(options).then((request) => request(axios, basePath));
|
|
1170
1170
|
},
|
|
1171
1171
|
/**
|
|
1172
1172
|
*
|
|
1173
|
-
* @summary
|
|
1174
|
-
* @param {
|
|
1173
|
+
* @summary Creates a reset token for the local authentication
|
|
1174
|
+
* @param {AuthenticateApiResetLocalRequest} requestParameters Request parameters.
|
|
1175
1175
|
* @param {*} [options] Override http request option.
|
|
1176
1176
|
* @throws {RequiredError}
|
|
1177
1177
|
*/
|
|
1178
|
-
|
|
1179
|
-
return localVarFp.
|
|
1178
|
+
resetLocal(requestParameters, options) {
|
|
1179
|
+
return localVarFp.resetLocal(requestParameters.resetLocalRequest, options).then((request) => request(axios, basePath));
|
|
1180
1180
|
},
|
|
1181
1181
|
/**
|
|
1182
1182
|
*
|
|
1183
|
-
* @summary
|
|
1184
|
-
* @param {
|
|
1183
|
+
* @summary Reset local authentication using the provided token
|
|
1184
|
+
* @param {AuthenticateApiResetLocalWithTokenRequest} requestParameters Request parameters.
|
|
1185
1185
|
* @param {*} [options] Override http request option.
|
|
1186
1186
|
* @throws {RequiredError}
|
|
1187
1187
|
*/
|
|
1188
|
-
|
|
1189
|
-
return localVarFp.
|
|
1188
|
+
resetLocalWithToken(requestParameters, options) {
|
|
1189
|
+
return localVarFp.resetLocalWithToken(requestParameters.authenticationResetTokenRequest, options).then((request) => request(axios, basePath));
|
|
1190
1190
|
},
|
|
1191
1191
|
};
|
|
1192
1192
|
};
|
|
@@ -1231,6 +1231,17 @@ class AuthenticateApi extends base_1.BaseAPI {
|
|
|
1231
1231
|
confirmQRCode(requestParameters, options) {
|
|
1232
1232
|
return (0, exports.AuthenticateApiFp)(this.configuration).confirmQRCode(requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
1233
1233
|
}
|
|
1234
|
+
/**
|
|
1235
|
+
*
|
|
1236
|
+
* @summary EAN authentication that requires POS user authentication
|
|
1237
|
+
* @param {AuthenticateApiEanAuthenticationRequest} requestParameters Request parameters.
|
|
1238
|
+
* @param {*} [options] Override http request option.
|
|
1239
|
+
* @throws {RequiredError}
|
|
1240
|
+
* @memberof AuthenticateApi
|
|
1241
|
+
*/
|
|
1242
|
+
eanAuthentication(requestParameters, options) {
|
|
1243
|
+
return (0, exports.AuthenticateApiFp)(this.configuration).eanAuthentication(requestParameters.authenticationEanRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1244
|
+
}
|
|
1234
1245
|
/**
|
|
1235
1246
|
*
|
|
1236
1247
|
* @summary Generate a QR code for authentication
|
|
@@ -1329,90 +1340,79 @@ class AuthenticateApi extends base_1.BaseAPI {
|
|
|
1329
1340
|
}
|
|
1330
1341
|
/**
|
|
1331
1342
|
*
|
|
1332
|
-
* @summary
|
|
1333
|
-
* @param {
|
|
1343
|
+
* @summary Member PIN authentication that requires POS user authentication
|
|
1344
|
+
* @param {AuthenticateApiMemberPINAuthenticationRequest} requestParameters Request parameters.
|
|
1334
1345
|
* @param {*} [options] Override http request option.
|
|
1335
1346
|
* @throws {RequiredError}
|
|
1336
1347
|
* @memberof AuthenticateApi
|
|
1337
1348
|
*/
|
|
1338
|
-
|
|
1339
|
-
return (0, exports.AuthenticateApiFp)(this.configuration).
|
|
1349
|
+
memberPINAuthentication(requestParameters, options) {
|
|
1350
|
+
return (0, exports.AuthenticateApiFp)(this.configuration).memberPINAuthentication(requestParameters.memberAuthenticationPinRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1340
1351
|
}
|
|
1341
1352
|
/**
|
|
1342
1353
|
*
|
|
1343
|
-
* @summary
|
|
1344
|
-
* @param {
|
|
1345
|
-
* @throws {RequiredError}
|
|
1346
|
-
* @memberof AuthenticateApi
|
|
1347
|
-
*/
|
|
1348
|
-
refreshToken(options) {
|
|
1349
|
-
return (0, exports.AuthenticateApiFp)(this.configuration).refreshToken(options).then((request) => request(this.axios, this.basePath));
|
|
1350
|
-
}
|
|
1351
|
-
/**
|
|
1352
|
-
*
|
|
1353
|
-
* @summary Creates a reset token for the local authentication
|
|
1354
|
-
* @param {AuthenticateApiResetLocalRequest} requestParameters Request parameters.
|
|
1354
|
+
* @summary Mock login and hand out token.
|
|
1355
|
+
* @param {AuthenticateApiMockAuthenticationRequest} requestParameters Request parameters.
|
|
1355
1356
|
* @param {*} [options] Override http request option.
|
|
1356
1357
|
* @throws {RequiredError}
|
|
1357
1358
|
* @memberof AuthenticateApi
|
|
1358
1359
|
*/
|
|
1359
|
-
|
|
1360
|
-
return (0, exports.AuthenticateApiFp)(this.configuration).
|
|
1360
|
+
mockAuthentication(requestParameters, options) {
|
|
1361
|
+
return (0, exports.AuthenticateApiFp)(this.configuration).mockAuthentication(requestParameters.authenticationMockRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1361
1362
|
}
|
|
1362
1363
|
/**
|
|
1363
1364
|
*
|
|
1364
|
-
* @summary
|
|
1365
|
-
* @param {
|
|
1365
|
+
* @summary NFC authentication that requires POS user authentication
|
|
1366
|
+
* @param {AuthenticateApiNfcAuthenticationRequest} requestParameters Request parameters.
|
|
1366
1367
|
* @param {*} [options] Override http request option.
|
|
1367
1368
|
* @throws {RequiredError}
|
|
1368
1369
|
* @memberof AuthenticateApi
|
|
1369
1370
|
*/
|
|
1370
|
-
|
|
1371
|
-
return (0, exports.AuthenticateApiFp)(this.configuration).
|
|
1371
|
+
nfcAuthentication(requestParameters, options) {
|
|
1372
|
+
return (0, exports.AuthenticateApiFp)(this.configuration).nfcAuthentication(requestParameters.authenticationNfcRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1372
1373
|
}
|
|
1373
1374
|
/**
|
|
1374
1375
|
*
|
|
1375
|
-
* @summary
|
|
1376
|
-
* @param {
|
|
1376
|
+
* @summary PIN authentication that requires POS user authentication
|
|
1377
|
+
* @param {AuthenticateApiPinAuthenticationRequest} requestParameters Request parameters.
|
|
1377
1378
|
* @param {*} [options] Override http request option.
|
|
1378
1379
|
* @throws {RequiredError}
|
|
1379
1380
|
* @memberof AuthenticateApi
|
|
1380
1381
|
*/
|
|
1381
|
-
|
|
1382
|
-
return (0, exports.AuthenticateApiFp)(this.configuration).
|
|
1382
|
+
pinAuthentication(requestParameters, options) {
|
|
1383
|
+
return (0, exports.AuthenticateApiFp)(this.configuration).pinAuthentication(requestParameters.authenticationPinRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1383
1384
|
}
|
|
1384
1385
|
/**
|
|
1385
1386
|
*
|
|
1386
|
-
* @summary
|
|
1387
|
-
* @param {AuthenticateApiSecureMemberPINAuthenticationRequest} requestParameters Request parameters.
|
|
1387
|
+
* @summary Get a new JWT token, maintaining the same access level (posId) as the original token
|
|
1388
1388
|
* @param {*} [options] Override http request option.
|
|
1389
1389
|
* @throws {RequiredError}
|
|
1390
1390
|
* @memberof AuthenticateApi
|
|
1391
1391
|
*/
|
|
1392
|
-
|
|
1393
|
-
return (0, exports.AuthenticateApiFp)(this.configuration).
|
|
1392
|
+
refreshToken(options) {
|
|
1393
|
+
return (0, exports.AuthenticateApiFp)(this.configuration).refreshToken(options).then((request) => request(this.axios, this.basePath));
|
|
1394
1394
|
}
|
|
1395
1395
|
/**
|
|
1396
1396
|
*
|
|
1397
|
-
* @summary
|
|
1398
|
-
* @param {
|
|
1397
|
+
* @summary Creates a reset token for the local authentication
|
|
1398
|
+
* @param {AuthenticateApiResetLocalRequest} requestParameters Request parameters.
|
|
1399
1399
|
* @param {*} [options] Override http request option.
|
|
1400
1400
|
* @throws {RequiredError}
|
|
1401
1401
|
* @memberof AuthenticateApi
|
|
1402
1402
|
*/
|
|
1403
|
-
|
|
1404
|
-
return (0, exports.AuthenticateApiFp)(this.configuration).
|
|
1403
|
+
resetLocal(requestParameters, options) {
|
|
1404
|
+
return (0, exports.AuthenticateApiFp)(this.configuration).resetLocal(requestParameters.resetLocalRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1405
1405
|
}
|
|
1406
1406
|
/**
|
|
1407
1407
|
*
|
|
1408
|
-
* @summary
|
|
1409
|
-
* @param {
|
|
1408
|
+
* @summary Reset local authentication using the provided token
|
|
1409
|
+
* @param {AuthenticateApiResetLocalWithTokenRequest} requestParameters Request parameters.
|
|
1410
1410
|
* @param {*} [options] Override http request option.
|
|
1411
1411
|
* @throws {RequiredError}
|
|
1412
1412
|
* @memberof AuthenticateApi
|
|
1413
1413
|
*/
|
|
1414
|
-
|
|
1415
|
-
return (0, exports.AuthenticateApiFp)(this.configuration).
|
|
1414
|
+
resetLocalWithToken(requestParameters, options) {
|
|
1415
|
+
return (0, exports.AuthenticateApiFp)(this.configuration).resetLocalWithToken(requestParameters.authenticationResetTokenRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1416
1416
|
}
|
|
1417
1417
|
}
|
|
1418
1418
|
exports.AuthenticateApi = AuthenticateApi;
|