@triveria/wallet 0.0.133 → 0.0.135

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/api.d.ts +324 -77
  2. package/api.js +359 -141
  3. package/package.json +1 -1
package/api.js CHANGED
@@ -25,7 +25,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
25
25
  return (mod && mod.__esModule) ? mod : { "default": mod };
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.WalletNotificationHistorySortEnum = exports.CredentialListSortEnum = exports.CredentialListInteractionEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WalletNotificationEventType = exports.WalletConfigTrustFrameworkEnum = exports.WalletRoleEnum = exports.SystemImpactStatusEnum = exports.PrepareToAccreditRequestTypeEnum = exports.HealthStatusStatusEnum = exports.DeferredStatusEnum = exports.CredentialMetadataStatusEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.CredentialIssuerDefinitionCredentialFormatEnum = exports.AccreditationRequestTypeEnum = void 0;
28
+ exports.WalletNotificationHistorySortEnum = exports.CredentialListSortEnum = exports.CredentialListInteractionEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WalletNotificationEventType = exports.WalletConfigTrustFrameworkEnum = exports.WalletRoleEnum = exports.SystemImpactStatusEnum = exports.PresentationDefinitionSubmissionRequirementsRuleEnum = exports.PrepareToAccreditRequestTypeEnum = exports.InteractionAuthorizationRequirementsRequirementTypeEnum = exports.HealthStatusStatusEnum = exports.DeferredStatusEnum = exports.CredentialMetadataStatusEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.CredentialIssuerDefinitionCredentialFormatEnum = exports.AccreditationRequestTypeEnum = void 0;
29
29
  const axios_1 = __importDefault(require("axios"));
30
30
  // Some imports not used depending on template conditions
31
31
  // @ts-ignore
@@ -59,10 +59,19 @@ exports.HealthStatusStatusEnum = {
59
59
  Limited: 'limited',
60
60
  Critical: 'critical'
61
61
  };
62
+ exports.InteractionAuthorizationRequirementsRequirementTypeEnum = {
63
+ IdToken: 'id_token',
64
+ VpToken: 'vp_token',
65
+ Pin: 'pin'
66
+ };
62
67
  exports.PrepareToAccreditRequestTypeEnum = {
63
68
  TrustedIssuer: 'TrustedIssuer',
64
69
  TrustedAccreditationOrganisation: 'TrustedAccreditationOrganisation'
65
70
  };
71
+ exports.PresentationDefinitionSubmissionRequirementsRuleEnum = {
72
+ All: 'all',
73
+ Pick: 'pick'
74
+ };
66
75
  exports.SystemImpactStatusEnum = {
67
76
  Ok: 'ok',
68
77
  Limited: 'limited',
@@ -399,42 +408,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
399
408
  options: localVarRequestOptions,
400
409
  };
401
410
  }),
402
- /**
403
- * TBD
404
- * @param {string} walletId
405
- * @param {CredentialRequest} [credentialRequest] A Verifiable Credential request: types and URL of the issuer
406
- * @param {*} [options] Override http request option.
407
- * @throws {RequiredError}
408
- */
409
- credentialRequest: (walletId, credentialRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
410
- // verify required parameter 'walletId' is not null or undefined
411
- (0, common_1.assertParamExists)('credentialRequest', 'walletId', walletId);
412
- const localVarPath = `/credentials/request`;
413
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
414
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
415
- let baseOptions;
416
- if (configuration) {
417
- baseOptions = configuration.baseOptions;
418
- }
419
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
420
- const localVarHeaderParameter = {};
421
- const localVarQueryParameter = {};
422
- // authentication accessToken required
423
- // http bearer authentication required
424
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
425
- if (walletId != null) {
426
- localVarHeaderParameter['wallet-id'] = String(walletId);
427
- }
428
- localVarHeaderParameter['Content-Type'] = 'application/json';
429
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
430
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
431
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
432
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(credentialRequest, localVarRequestOptions, configuration);
433
- return {
434
- url: (0, common_1.toPathString)(localVarUrlObj),
435
- options: localVarRequestOptions,
436
- };
437
- }),
438
411
  /**
439
412
  *
440
413
  * @param {string} credentialId Verifiable Credential Identifier
@@ -721,6 +694,30 @@ const DefaultApiAxiosParamCreator = function (configuration) {
721
694
  options: localVarRequestOptions,
722
695
  };
723
696
  }),
697
+ /**
698
+ *
699
+ * @param {*} [options] Override http request option.
700
+ * @throws {RequiredError}
701
+ */
702
+ oauth2Keys: (options = {}) => __awaiter(this, void 0, void 0, function* () {
703
+ const localVarPath = `/oauth2/keys`;
704
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
705
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
706
+ let baseOptions;
707
+ if (configuration) {
708
+ baseOptions = configuration.baseOptions;
709
+ }
710
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
711
+ const localVarHeaderParameter = {};
712
+ const localVarQueryParameter = {};
713
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
714
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
715
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
716
+ return {
717
+ url: (0, common_1.toPathString)(localVarUrlObj),
718
+ options: localVarRequestOptions,
719
+ };
720
+ }),
724
721
  /**
725
722
  *
726
723
  * @param {*} [options] Override http request option.
@@ -806,16 +803,20 @@ const DefaultApiAxiosParamCreator = function (configuration) {
806
803
  };
807
804
  }),
808
805
  /**
809
- * Issue verifiable credential using OIDC4VCI offer acceptance
806
+ * Adds created Verifiable Credential draft to issuance queue for a specified client using authorized in-time or deferred flow.
807
+ * @param {string} credentialId
810
808
  * @param {string} walletId
811
- * @param {VcOffer} [vcOffer] Offer URL and optional PIN for the request
809
+ * @param {IssuanceQueueCredentialAdd} [issuanceQueueCredentialAdd]
812
810
  * @param {*} [options] Override http request option.
813
811
  * @throws {RequiredError}
814
812
  */
815
- oidcAcceptOffer: (walletId, vcOffer, options = {}) => __awaiter(this, void 0, void 0, function* () {
813
+ oidcAddCredToIssuanceQueue: (credentialId, walletId, issuanceQueueCredentialAdd, options = {}) => __awaiter(this, void 0, void 0, function* () {
814
+ // verify required parameter 'credentialId' is not null or undefined
815
+ (0, common_1.assertParamExists)('oidcAddCredToIssuanceQueue', 'credentialId', credentialId);
816
816
  // verify required parameter 'walletId' is not null or undefined
817
- (0, common_1.assertParamExists)('oidcAcceptOffer', 'walletId', walletId);
818
- const localVarPath = `/holder/offer/accept`;
817
+ (0, common_1.assertParamExists)('oidcAddCredToIssuanceQueue', 'walletId', walletId);
818
+ const localVarPath = `/credentials/{credential_id}/add`
819
+ .replace(`{${"credential_id"}}`, encodeURIComponent(String(credentialId)));
819
820
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
820
821
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
821
822
  let baseOptions;
@@ -835,27 +836,22 @@ const DefaultApiAxiosParamCreator = function (configuration) {
835
836
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
836
837
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
837
838
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
838
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(vcOffer, localVarRequestOptions, configuration);
839
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(issuanceQueueCredentialAdd, localVarRequestOptions, configuration);
839
840
  return {
840
841
  url: (0, common_1.toPathString)(localVarUrlObj),
841
842
  options: localVarRequestOptions,
842
843
  };
843
844
  }),
844
845
  /**
845
- * Adds created Verifiable Credential draft to issuance queue for a specified client using authorized in-time or deferred flow.
846
- * @param {string} credentialId
846
+ * Creates an ID token request.
847
847
  * @param {string} walletId
848
- * @param {IssuanceQueueCredentialAdd} [issuanceQueueCredentialAdd]
849
848
  * @param {*} [options] Override http request option.
850
849
  * @throws {RequiredError}
851
850
  */
852
- oidcAddCredToIssuanceQueue: (credentialId, walletId, issuanceQueueCredentialAdd, options = {}) => __awaiter(this, void 0, void 0, function* () {
853
- // verify required parameter 'credentialId' is not null or undefined
854
- (0, common_1.assertParamExists)('oidcAddCredToIssuanceQueue', 'credentialId', credentialId);
851
+ oidcCreateIdTokenRequest: (walletId, options = {}) => __awaiter(this, void 0, void 0, function* () {
855
852
  // verify required parameter 'walletId' is not null or undefined
856
- (0, common_1.assertParamExists)('oidcAddCredToIssuanceQueue', 'walletId', walletId);
857
- const localVarPath = `/credentials/{credential_id}/add`
858
- .replace(`{${"credential_id"}}`, encodeURIComponent(String(credentialId)));
853
+ (0, common_1.assertParamExists)('oidcCreateIdTokenRequest', 'walletId', walletId);
854
+ const localVarPath = `/id-token/request`;
859
855
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
860
856
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
861
857
  let baseOptions;
@@ -871,26 +867,25 @@ const DefaultApiAxiosParamCreator = function (configuration) {
871
867
  if (walletId != null) {
872
868
  localVarHeaderParameter['wallet-id'] = String(walletId);
873
869
  }
874
- localVarHeaderParameter['Content-Type'] = 'application/json';
875
870
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
876
871
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
877
872
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
878
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(issuanceQueueCredentialAdd, localVarRequestOptions, configuration);
879
873
  return {
880
874
  url: (0, common_1.toPathString)(localVarUrlObj),
881
875
  options: localVarRequestOptions,
882
876
  };
883
877
  }),
884
878
  /**
885
- * Creates an ID token request.
879
+ * Requests a credential issuance from the issuer and retrieves requirements for holder authorization.
886
880
  * @param {string} walletId
881
+ * @param {CredentialRequest} [credentialRequest] A Verifiable Credential request: types and URL of the issuer
887
882
  * @param {*} [options] Override http request option.
888
883
  * @throws {RequiredError}
889
884
  */
890
- oidcCreateIdTokenRequest: (walletId, options = {}) => __awaiter(this, void 0, void 0, function* () {
885
+ oidcCredentialRequestInit: (walletId, credentialRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
891
886
  // verify required parameter 'walletId' is not null or undefined
892
- (0, common_1.assertParamExists)('oidcCreateIdTokenRequest', 'walletId', walletId);
893
- const localVarPath = `/id-token/request`;
887
+ (0, common_1.assertParamExists)('oidcCredentialRequestInit', 'walletId', walletId);
888
+ const localVarPath = `/credentials/request/init`;
894
889
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
895
890
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
896
891
  let baseOptions;
@@ -906,9 +901,11 @@ const DefaultApiAxiosParamCreator = function (configuration) {
906
901
  if (walletId != null) {
907
902
  localVarHeaderParameter['wallet-id'] = String(walletId);
908
903
  }
904
+ localVarHeaderParameter['Content-Type'] = 'application/json';
909
905
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
910
906
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
911
907
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
908
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(credentialRequest, localVarRequestOptions, configuration);
912
909
  return {
913
910
  url: (0, common_1.toPathString)(localVarUrlObj),
914
911
  options: localVarRequestOptions,
@@ -1022,6 +1019,79 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1022
1019
  options: localVarRequestOptions,
1023
1020
  };
1024
1021
  }),
1022
+ /**
1023
+ * Issue verifiable credential using OIDC4VCI offer acceptance
1024
+ * @param {string} walletId
1025
+ * @param {VcOffer} [vcOffer] Offer URL and optional PIN for the request
1026
+ * @param {*} [options] Override http request option.
1027
+ * @throws {RequiredError}
1028
+ */
1029
+ oidcPassOfferAuthInfo: (walletId, vcOffer, options = {}) => __awaiter(this, void 0, void 0, function* () {
1030
+ // verify required parameter 'walletId' is not null or undefined
1031
+ (0, common_1.assertParamExists)('oidcPassOfferAuthInfo', 'walletId', walletId);
1032
+ const localVarPath = `/holder/offer/pass-auth-info`;
1033
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1034
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1035
+ let baseOptions;
1036
+ if (configuration) {
1037
+ baseOptions = configuration.baseOptions;
1038
+ }
1039
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1040
+ const localVarHeaderParameter = {};
1041
+ const localVarQueryParameter = {};
1042
+ // authentication accessToken required
1043
+ // http bearer authentication required
1044
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1045
+ if (walletId != null) {
1046
+ localVarHeaderParameter['wallet-id'] = String(walletId);
1047
+ }
1048
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1049
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1050
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1051
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1052
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(vcOffer, localVarRequestOptions, configuration);
1053
+ return {
1054
+ url: (0, common_1.toPathString)(localVarUrlObj),
1055
+ options: localVarRequestOptions,
1056
+ };
1057
+ }),
1058
+ /**
1059
+ *
1060
+ * @param {string} walletId
1061
+ * @param {string} interactionId
1062
+ * @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
1063
+ * @param {*} [options] Override http request option.
1064
+ * @throws {RequiredError}
1065
+ */
1066
+ oidcPresentCredentialsAfterConsent: (walletId, interactionId, interactionAuthorizationConsent, options = {}) => __awaiter(this, void 0, void 0, function* () {
1067
+ // verify required parameter 'walletId' is not null or undefined
1068
+ (0, common_1.assertParamExists)('oidcPresentCredentialsAfterConsent', 'walletId', walletId);
1069
+ // verify required parameter 'interactionId' is not null or undefined
1070
+ (0, common_1.assertParamExists)('oidcPresentCredentialsAfterConsent', 'interactionId', interactionId);
1071
+ const localVarPath = `/holder/present/{interaction_id}`
1072
+ .replace(`{${"interaction_id"}}`, encodeURIComponent(String(interactionId)));
1073
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1074
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1075
+ let baseOptions;
1076
+ if (configuration) {
1077
+ baseOptions = configuration.baseOptions;
1078
+ }
1079
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1080
+ const localVarHeaderParameter = {};
1081
+ const localVarQueryParameter = {};
1082
+ if (walletId != null) {
1083
+ localVarHeaderParameter['wallet-id'] = String(walletId);
1084
+ }
1085
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1086
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1087
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1088
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1089
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(interactionAuthorizationConsent, localVarRequestOptions, configuration);
1090
+ return {
1091
+ url: (0, common_1.toPathString)(localVarUrlObj),
1092
+ options: localVarRequestOptions,
1093
+ };
1094
+ }),
1025
1095
  /**
1026
1096
  * Initiates a presentation of credentials to a verifier.
1027
1097
  * @param {string} walletId
@@ -1029,10 +1099,10 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1029
1099
  * @param {*} [options] Override http request option.
1030
1100
  * @throws {RequiredError}
1031
1101
  */
1032
- oidcPresentCredentials: (walletId, presentationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1102
+ oidcPresentPassAuthInfo: (walletId, presentationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1033
1103
  // verify required parameter 'walletId' is not null or undefined
1034
- (0, common_1.assertParamExists)('oidcPresentCredentials', 'walletId', walletId);
1035
- const localVarPath = `/present`;
1104
+ (0, common_1.assertParamExists)('oidcPresentPassAuthInfo', 'walletId', walletId);
1105
+ const localVarPath = `/holder/present/pass-auth-info`;
1036
1106
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1037
1107
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1038
1108
  let baseOptions;
@@ -1058,6 +1128,43 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1058
1128
  options: localVarRequestOptions,
1059
1129
  };
1060
1130
  }),
1131
+ /**
1132
+ * Gives consent to process credential offer specified by `interaction_id`
1133
+ * @param {string} walletId
1134
+ * @param {string} interactionId
1135
+ * @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
1136
+ * @param {*} [options] Override http request option.
1137
+ * @throws {RequiredError}
1138
+ */
1139
+ oidcProcessOfferAfterConsent: (walletId, interactionId, interactionAuthorizationConsent, options = {}) => __awaiter(this, void 0, void 0, function* () {
1140
+ // verify required parameter 'walletId' is not null or undefined
1141
+ (0, common_1.assertParamExists)('oidcProcessOfferAfterConsent', 'walletId', walletId);
1142
+ // verify required parameter 'interactionId' is not null or undefined
1143
+ (0, common_1.assertParamExists)('oidcProcessOfferAfterConsent', 'interactionId', interactionId);
1144
+ const localVarPath = `/holder/offer/{interaction_id}/process`
1145
+ .replace(`{${"interaction_id"}}`, encodeURIComponent(String(interactionId)));
1146
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1147
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1148
+ let baseOptions;
1149
+ if (configuration) {
1150
+ baseOptions = configuration.baseOptions;
1151
+ }
1152
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1153
+ const localVarHeaderParameter = {};
1154
+ const localVarQueryParameter = {};
1155
+ if (walletId != null) {
1156
+ localVarHeaderParameter['wallet-id'] = String(walletId);
1157
+ }
1158
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1159
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1160
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1161
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1162
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(interactionAuthorizationConsent, localVarRequestOptions, configuration);
1163
+ return {
1164
+ url: (0, common_1.toPathString)(localVarUrlObj),
1165
+ options: localVarRequestOptions,
1166
+ };
1167
+ }),
1061
1168
  /**
1062
1169
  * Responds to an ID token request
1063
1170
  * @param {string} walletId
@@ -1603,22 +1710,6 @@ const DefaultApiFp = function (configuration) {
1603
1710
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1604
1711
  });
1605
1712
  },
1606
- /**
1607
- * TBD
1608
- * @param {string} walletId
1609
- * @param {CredentialRequest} [credentialRequest] A Verifiable Credential request: types and URL of the issuer
1610
- * @param {*} [options] Override http request option.
1611
- * @throws {RequiredError}
1612
- */
1613
- credentialRequest(walletId, credentialRequest, options) {
1614
- var _a, _b, _c;
1615
- return __awaiter(this, void 0, void 0, function* () {
1616
- const localVarAxiosArgs = yield localVarAxiosParamCreator.credentialRequest(walletId, credentialRequest, options);
1617
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1618
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.credentialRequest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1619
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1620
- });
1621
- },
1622
1713
  /**
1623
1714
  *
1624
1715
  * @param {string} credentialId Verifiable Credential Identifier
@@ -1746,6 +1837,20 @@ const DefaultApiFp = function (configuration) {
1746
1837
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1747
1838
  });
1748
1839
  },
1840
+ /**
1841
+ *
1842
+ * @param {*} [options] Override http request option.
1843
+ * @throws {RequiredError}
1844
+ */
1845
+ oauth2Keys(options) {
1846
+ var _a, _b, _c;
1847
+ return __awaiter(this, void 0, void 0, function* () {
1848
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.oauth2Keys(options);
1849
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1850
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oauth2Keys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1851
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1852
+ });
1853
+ },
1749
1854
  /**
1750
1855
  *
1751
1856
  * @param {*} [options] Override http request option.
@@ -1780,50 +1885,50 @@ const DefaultApiFp = function (configuration) {
1780
1885
  });
1781
1886
  },
1782
1887
  /**
1783
- * Issue verifiable credential using OIDC4VCI offer acceptance
1888
+ * Adds created Verifiable Credential draft to issuance queue for a specified client using authorized in-time or deferred flow.
1889
+ * @param {string} credentialId
1784
1890
  * @param {string} walletId
1785
- * @param {VcOffer} [vcOffer] Offer URL and optional PIN for the request
1891
+ * @param {IssuanceQueueCredentialAdd} [issuanceQueueCredentialAdd]
1786
1892
  * @param {*} [options] Override http request option.
1787
1893
  * @throws {RequiredError}
1788
1894
  */
1789
- oidcAcceptOffer(walletId, vcOffer, options) {
1895
+ oidcAddCredToIssuanceQueue(credentialId, walletId, issuanceQueueCredentialAdd, options) {
1790
1896
  var _a, _b, _c;
1791
1897
  return __awaiter(this, void 0, void 0, function* () {
1792
- const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcAcceptOffer(walletId, vcOffer, options);
1898
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcAddCredToIssuanceQueue(credentialId, walletId, issuanceQueueCredentialAdd, options);
1793
1899
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1794
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcAcceptOffer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1900
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcAddCredToIssuanceQueue']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1795
1901
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1796
1902
  });
1797
1903
  },
1798
1904
  /**
1799
- * Adds created Verifiable Credential draft to issuance queue for a specified client using authorized in-time or deferred flow.
1800
- * @param {string} credentialId
1905
+ * Creates an ID token request.
1801
1906
  * @param {string} walletId
1802
- * @param {IssuanceQueueCredentialAdd} [issuanceQueueCredentialAdd]
1803
1907
  * @param {*} [options] Override http request option.
1804
1908
  * @throws {RequiredError}
1805
1909
  */
1806
- oidcAddCredToIssuanceQueue(credentialId, walletId, issuanceQueueCredentialAdd, options) {
1910
+ oidcCreateIdTokenRequest(walletId, options) {
1807
1911
  var _a, _b, _c;
1808
1912
  return __awaiter(this, void 0, void 0, function* () {
1809
- const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcAddCredToIssuanceQueue(credentialId, walletId, issuanceQueueCredentialAdd, options);
1913
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcCreateIdTokenRequest(walletId, options);
1810
1914
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1811
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcAddCredToIssuanceQueue']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1915
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcCreateIdTokenRequest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1812
1916
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1813
1917
  });
1814
1918
  },
1815
1919
  /**
1816
- * Creates an ID token request.
1920
+ * Requests a credential issuance from the issuer and retrieves requirements for holder authorization.
1817
1921
  * @param {string} walletId
1922
+ * @param {CredentialRequest} [credentialRequest] A Verifiable Credential request: types and URL of the issuer
1818
1923
  * @param {*} [options] Override http request option.
1819
1924
  * @throws {RequiredError}
1820
1925
  */
1821
- oidcCreateIdTokenRequest(walletId, options) {
1926
+ oidcCredentialRequestInit(walletId, credentialRequest, options) {
1822
1927
  var _a, _b, _c;
1823
1928
  return __awaiter(this, void 0, void 0, function* () {
1824
- const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcCreateIdTokenRequest(walletId, options);
1929
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcCredentialRequestInit(walletId, credentialRequest, options);
1825
1930
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1826
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcCreateIdTokenRequest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1931
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcCredentialRequestInit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1827
1932
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1828
1933
  });
1829
1934
  },
@@ -1875,6 +1980,39 @@ const DefaultApiFp = function (configuration) {
1875
1980
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1876
1981
  });
1877
1982
  },
1983
+ /**
1984
+ * Issue verifiable credential using OIDC4VCI offer acceptance
1985
+ * @param {string} walletId
1986
+ * @param {VcOffer} [vcOffer] Offer URL and optional PIN for the request
1987
+ * @param {*} [options] Override http request option.
1988
+ * @throws {RequiredError}
1989
+ */
1990
+ oidcPassOfferAuthInfo(walletId, vcOffer, options) {
1991
+ var _a, _b, _c;
1992
+ return __awaiter(this, void 0, void 0, function* () {
1993
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcPassOfferAuthInfo(walletId, vcOffer, options);
1994
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1995
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcPassOfferAuthInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1996
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1997
+ });
1998
+ },
1999
+ /**
2000
+ *
2001
+ * @param {string} walletId
2002
+ * @param {string} interactionId
2003
+ * @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
2004
+ * @param {*} [options] Override http request option.
2005
+ * @throws {RequiredError}
2006
+ */
2007
+ oidcPresentCredentialsAfterConsent(walletId, interactionId, interactionAuthorizationConsent, options) {
2008
+ var _a, _b, _c;
2009
+ return __awaiter(this, void 0, void 0, function* () {
2010
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcPresentCredentialsAfterConsent(walletId, interactionId, interactionAuthorizationConsent, options);
2011
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2012
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcPresentCredentialsAfterConsent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2013
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2014
+ });
2015
+ },
1878
2016
  /**
1879
2017
  * Initiates a presentation of credentials to a verifier.
1880
2018
  * @param {string} walletId
@@ -1882,12 +2020,29 @@ const DefaultApiFp = function (configuration) {
1882
2020
  * @param {*} [options] Override http request option.
1883
2021
  * @throws {RequiredError}
1884
2022
  */
1885
- oidcPresentCredentials(walletId, presentationRequest, options) {
2023
+ oidcPresentPassAuthInfo(walletId, presentationRequest, options) {
2024
+ var _a, _b, _c;
2025
+ return __awaiter(this, void 0, void 0, function* () {
2026
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcPresentPassAuthInfo(walletId, presentationRequest, options);
2027
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2028
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcPresentPassAuthInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2029
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2030
+ });
2031
+ },
2032
+ /**
2033
+ * Gives consent to process credential offer specified by `interaction_id`
2034
+ * @param {string} walletId
2035
+ * @param {string} interactionId
2036
+ * @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
2037
+ * @param {*} [options] Override http request option.
2038
+ * @throws {RequiredError}
2039
+ */
2040
+ oidcProcessOfferAfterConsent(walletId, interactionId, interactionAuthorizationConsent, options) {
1886
2041
  var _a, _b, _c;
1887
2042
  return __awaiter(this, void 0, void 0, function* () {
1888
- const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcPresentCredentials(walletId, presentationRequest, options);
2043
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcProcessOfferAfterConsent(walletId, interactionId, interactionAuthorizationConsent, options);
1889
2044
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1890
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcPresentCredentials']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2045
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcProcessOfferAfterConsent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1891
2046
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1892
2047
  });
1893
2048
  },
@@ -2174,16 +2329,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2174
2329
  credentialPatch(credentialId, walletId, credentialPayload, options) {
2175
2330
  return localVarFp.credentialPatch(credentialId, walletId, credentialPayload, options).then((request) => request(axios, basePath));
2176
2331
  },
2177
- /**
2178
- * TBD
2179
- * @param {string} walletId
2180
- * @param {CredentialRequest} [credentialRequest] A Verifiable Credential request: types and URL of the issuer
2181
- * @param {*} [options] Override http request option.
2182
- * @throws {RequiredError}
2183
- */
2184
- credentialRequest(walletId, credentialRequest, options) {
2185
- return localVarFp.credentialRequest(walletId, credentialRequest, options).then((request) => request(axios, basePath));
2186
- },
2187
2332
  /**
2188
2333
  *
2189
2334
  * @param {string} credentialId Verifiable Credential Identifier
@@ -2263,6 +2408,14 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2263
2408
  oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options) {
2264
2409
  return localVarFp.oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options).then((request) => request(axios, basePath));
2265
2410
  },
2411
+ /**
2412
+ *
2413
+ * @param {*} [options] Override http request option.
2414
+ * @throws {RequiredError}
2415
+ */
2416
+ oauth2Keys(options) {
2417
+ return localVarFp.oauth2Keys(options).then((request) => request(axios, basePath));
2418
+ },
2266
2419
  /**
2267
2420
  *
2268
2421
  * @param {*} [options] Override http request option.
@@ -2284,16 +2437,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2284
2437
  oauth2Token(grantType, code, redirectUri, clientId, clientSecret, options) {
2285
2438
  return localVarFp.oauth2Token(grantType, code, redirectUri, clientId, clientSecret, options).then((request) => request(axios, basePath));
2286
2439
  },
2287
- /**
2288
- * Issue verifiable credential using OIDC4VCI offer acceptance
2289
- * @param {string} walletId
2290
- * @param {VcOffer} [vcOffer] Offer URL and optional PIN for the request
2291
- * @param {*} [options] Override http request option.
2292
- * @throws {RequiredError}
2293
- */
2294
- oidcAcceptOffer(walletId, vcOffer, options) {
2295
- return localVarFp.oidcAcceptOffer(walletId, vcOffer, options).then((request) => request(axios, basePath));
2296
- },
2297
2440
  /**
2298
2441
  * Adds created Verifiable Credential draft to issuance queue for a specified client using authorized in-time or deferred flow.
2299
2442
  * @param {string} credentialId
@@ -2314,6 +2457,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2314
2457
  oidcCreateIdTokenRequest(walletId, options) {
2315
2458
  return localVarFp.oidcCreateIdTokenRequest(walletId, options).then((request) => request(axios, basePath));
2316
2459
  },
2460
+ /**
2461
+ * Requests a credential issuance from the issuer and retrieves requirements for holder authorization.
2462
+ * @param {string} walletId
2463
+ * @param {CredentialRequest} [credentialRequest] A Verifiable Credential request: types and URL of the issuer
2464
+ * @param {*} [options] Override http request option.
2465
+ * @throws {RequiredError}
2466
+ */
2467
+ oidcCredentialRequestInit(walletId, credentialRequest, options) {
2468
+ return localVarFp.oidcCredentialRequestInit(walletId, credentialRequest, options).then((request) => request(axios, basePath));
2469
+ },
2317
2470
  /**
2318
2471
  * Initiates issuing of the credential using the authorized deferred flow, in which the holder will receive credential asynchronously.
2319
2472
  * @param {string} walletId
@@ -2344,6 +2497,27 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2344
2497
  oidcInitiatePreauth(walletId, initPreAuthOffer, options) {
2345
2498
  return localVarFp.oidcInitiatePreauth(walletId, initPreAuthOffer, options).then((request) => request(axios, basePath));
2346
2499
  },
2500
+ /**
2501
+ * Issue verifiable credential using OIDC4VCI offer acceptance
2502
+ * @param {string} walletId
2503
+ * @param {VcOffer} [vcOffer] Offer URL and optional PIN for the request
2504
+ * @param {*} [options] Override http request option.
2505
+ * @throws {RequiredError}
2506
+ */
2507
+ oidcPassOfferAuthInfo(walletId, vcOffer, options) {
2508
+ return localVarFp.oidcPassOfferAuthInfo(walletId, vcOffer, options).then((request) => request(axios, basePath));
2509
+ },
2510
+ /**
2511
+ *
2512
+ * @param {string} walletId
2513
+ * @param {string} interactionId
2514
+ * @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
2515
+ * @param {*} [options] Override http request option.
2516
+ * @throws {RequiredError}
2517
+ */
2518
+ oidcPresentCredentialsAfterConsent(walletId, interactionId, interactionAuthorizationConsent, options) {
2519
+ return localVarFp.oidcPresentCredentialsAfterConsent(walletId, interactionId, interactionAuthorizationConsent, options).then((request) => request(axios, basePath));
2520
+ },
2347
2521
  /**
2348
2522
  * Initiates a presentation of credentials to a verifier.
2349
2523
  * @param {string} walletId
@@ -2351,8 +2525,19 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2351
2525
  * @param {*} [options] Override http request option.
2352
2526
  * @throws {RequiredError}
2353
2527
  */
2354
- oidcPresentCredentials(walletId, presentationRequest, options) {
2355
- return localVarFp.oidcPresentCredentials(walletId, presentationRequest, options).then((request) => request(axios, basePath));
2528
+ oidcPresentPassAuthInfo(walletId, presentationRequest, options) {
2529
+ return localVarFp.oidcPresentPassAuthInfo(walletId, presentationRequest, options).then((request) => request(axios, basePath));
2530
+ },
2531
+ /**
2532
+ * Gives consent to process credential offer specified by `interaction_id`
2533
+ * @param {string} walletId
2534
+ * @param {string} interactionId
2535
+ * @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
2536
+ * @param {*} [options] Override http request option.
2537
+ * @throws {RequiredError}
2538
+ */
2539
+ oidcProcessOfferAfterConsent(walletId, interactionId, interactionAuthorizationConsent, options) {
2540
+ return localVarFp.oidcProcessOfferAfterConsent(walletId, interactionId, interactionAuthorizationConsent, options).then((request) => request(axios, basePath));
2356
2541
  },
2357
2542
  /**
2358
2543
  * Responds to an ID token request
@@ -2573,17 +2758,6 @@ class DefaultApi extends base_1.BaseAPI {
2573
2758
  credentialPatch(credentialId, walletId, credentialPayload, options) {
2574
2759
  return (0, exports.DefaultApiFp)(this.configuration).credentialPatch(credentialId, walletId, credentialPayload, options).then((request) => request(this.axios, this.basePath));
2575
2760
  }
2576
- /**
2577
- * TBD
2578
- * @param {string} walletId
2579
- * @param {CredentialRequest} [credentialRequest] A Verifiable Credential request: types and URL of the issuer
2580
- * @param {*} [options] Override http request option.
2581
- * @throws {RequiredError}
2582
- * @memberof DefaultApi
2583
- */
2584
- credentialRequest(walletId, credentialRequest, options) {
2585
- return (0, exports.DefaultApiFp)(this.configuration).credentialRequest(walletId, credentialRequest, options).then((request) => request(this.axios, this.basePath));
2586
- }
2587
2761
  /**
2588
2762
  *
2589
2763
  * @param {string} credentialId Verifiable Credential Identifier
@@ -2671,6 +2845,15 @@ class DefaultApi extends base_1.BaseAPI {
2671
2845
  oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options) {
2672
2846
  return (0, exports.DefaultApiFp)(this.configuration).oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options).then((request) => request(this.axios, this.basePath));
2673
2847
  }
2848
+ /**
2849
+ *
2850
+ * @param {*} [options] Override http request option.
2851
+ * @throws {RequiredError}
2852
+ * @memberof DefaultApi
2853
+ */
2854
+ oauth2Keys(options) {
2855
+ return (0, exports.DefaultApiFp)(this.configuration).oauth2Keys(options).then((request) => request(this.axios, this.basePath));
2856
+ }
2674
2857
  /**
2675
2858
  *
2676
2859
  * @param {*} [options] Override http request option.
@@ -2694,17 +2877,6 @@ class DefaultApi extends base_1.BaseAPI {
2694
2877
  oauth2Token(grantType, code, redirectUri, clientId, clientSecret, options) {
2695
2878
  return (0, exports.DefaultApiFp)(this.configuration).oauth2Token(grantType, code, redirectUri, clientId, clientSecret, options).then((request) => request(this.axios, this.basePath));
2696
2879
  }
2697
- /**
2698
- * Issue verifiable credential using OIDC4VCI offer acceptance
2699
- * @param {string} walletId
2700
- * @param {VcOffer} [vcOffer] Offer URL and optional PIN for the request
2701
- * @param {*} [options] Override http request option.
2702
- * @throws {RequiredError}
2703
- * @memberof DefaultApi
2704
- */
2705
- oidcAcceptOffer(walletId, vcOffer, options) {
2706
- return (0, exports.DefaultApiFp)(this.configuration).oidcAcceptOffer(walletId, vcOffer, options).then((request) => request(this.axios, this.basePath));
2707
- }
2708
2880
  /**
2709
2881
  * Adds created Verifiable Credential draft to issuance queue for a specified client using authorized in-time or deferred flow.
2710
2882
  * @param {string} credentialId
@@ -2727,6 +2899,17 @@ class DefaultApi extends base_1.BaseAPI {
2727
2899
  oidcCreateIdTokenRequest(walletId, options) {
2728
2900
  return (0, exports.DefaultApiFp)(this.configuration).oidcCreateIdTokenRequest(walletId, options).then((request) => request(this.axios, this.basePath));
2729
2901
  }
2902
+ /**
2903
+ * Requests a credential issuance from the issuer and retrieves requirements for holder authorization.
2904
+ * @param {string} walletId
2905
+ * @param {CredentialRequest} [credentialRequest] A Verifiable Credential request: types and URL of the issuer
2906
+ * @param {*} [options] Override http request option.
2907
+ * @throws {RequiredError}
2908
+ * @memberof DefaultApi
2909
+ */
2910
+ oidcCredentialRequestInit(walletId, credentialRequest, options) {
2911
+ return (0, exports.DefaultApiFp)(this.configuration).oidcCredentialRequestInit(walletId, credentialRequest, options).then((request) => request(this.axios, this.basePath));
2912
+ }
2730
2913
  /**
2731
2914
  * Initiates issuing of the credential using the authorized deferred flow, in which the holder will receive credential asynchronously.
2732
2915
  * @param {string} walletId
@@ -2760,6 +2943,29 @@ class DefaultApi extends base_1.BaseAPI {
2760
2943
  oidcInitiatePreauth(walletId, initPreAuthOffer, options) {
2761
2944
  return (0, exports.DefaultApiFp)(this.configuration).oidcInitiatePreauth(walletId, initPreAuthOffer, options).then((request) => request(this.axios, this.basePath));
2762
2945
  }
2946
+ /**
2947
+ * Issue verifiable credential using OIDC4VCI offer acceptance
2948
+ * @param {string} walletId
2949
+ * @param {VcOffer} [vcOffer] Offer URL and optional PIN for the request
2950
+ * @param {*} [options] Override http request option.
2951
+ * @throws {RequiredError}
2952
+ * @memberof DefaultApi
2953
+ */
2954
+ oidcPassOfferAuthInfo(walletId, vcOffer, options) {
2955
+ return (0, exports.DefaultApiFp)(this.configuration).oidcPassOfferAuthInfo(walletId, vcOffer, options).then((request) => request(this.axios, this.basePath));
2956
+ }
2957
+ /**
2958
+ *
2959
+ * @param {string} walletId
2960
+ * @param {string} interactionId
2961
+ * @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
2962
+ * @param {*} [options] Override http request option.
2963
+ * @throws {RequiredError}
2964
+ * @memberof DefaultApi
2965
+ */
2966
+ oidcPresentCredentialsAfterConsent(walletId, interactionId, interactionAuthorizationConsent, options) {
2967
+ return (0, exports.DefaultApiFp)(this.configuration).oidcPresentCredentialsAfterConsent(walletId, interactionId, interactionAuthorizationConsent, options).then((request) => request(this.axios, this.basePath));
2968
+ }
2763
2969
  /**
2764
2970
  * Initiates a presentation of credentials to a verifier.
2765
2971
  * @param {string} walletId
@@ -2768,8 +2974,20 @@ class DefaultApi extends base_1.BaseAPI {
2768
2974
  * @throws {RequiredError}
2769
2975
  * @memberof DefaultApi
2770
2976
  */
2771
- oidcPresentCredentials(walletId, presentationRequest, options) {
2772
- return (0, exports.DefaultApiFp)(this.configuration).oidcPresentCredentials(walletId, presentationRequest, options).then((request) => request(this.axios, this.basePath));
2977
+ oidcPresentPassAuthInfo(walletId, presentationRequest, options) {
2978
+ return (0, exports.DefaultApiFp)(this.configuration).oidcPresentPassAuthInfo(walletId, presentationRequest, options).then((request) => request(this.axios, this.basePath));
2979
+ }
2980
+ /**
2981
+ * Gives consent to process credential offer specified by `interaction_id`
2982
+ * @param {string} walletId
2983
+ * @param {string} interactionId
2984
+ * @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
2985
+ * @param {*} [options] Override http request option.
2986
+ * @throws {RequiredError}
2987
+ * @memberof DefaultApi
2988
+ */
2989
+ oidcProcessOfferAfterConsent(walletId, interactionId, interactionAuthorizationConsent, options) {
2990
+ return (0, exports.DefaultApiFp)(this.configuration).oidcProcessOfferAfterConsent(walletId, interactionId, interactionAuthorizationConsent, options).then((request) => request(this.axios, this.basePath));
2773
2991
  }
2774
2992
  /**
2775
2993
  * Responds to an ID token request