@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.d.ts CHANGED
@@ -799,6 +799,81 @@ export interface InitPreAuthOffer {
799
799
  */
800
800
  'offerEndpoint'?: string;
801
801
  }
802
+ /**
803
+ *
804
+ * @export
805
+ * @interface InputDescriptorSuitableCredentials
806
+ */
807
+ export interface InputDescriptorSuitableCredentials {
808
+ /**
809
+ * ID of presentation definition input descriptor for which the credential list is suitable.
810
+ * @type {string}
811
+ * @memberof InputDescriptorSuitableCredentials
812
+ */
813
+ 'descriptorId': string;
814
+ /**
815
+ * Credential ID list of credentials suitable for presentation according to the specified input descriptor.
816
+ * @type {Array<CredentialMetadata>}
817
+ * @memberof InputDescriptorSuitableCredentials
818
+ */
819
+ 'credentials': Array<CredentialMetadata>;
820
+ }
821
+ /**
822
+ *
823
+ * @export
824
+ * @interface InteractionAuthorizationConsent
825
+ */
826
+ export interface InteractionAuthorizationConsent {
827
+ /**
828
+ * Pin code needed for pre-authorized credential offers. Required when authorization requirement type is `pin`
829
+ * @type {string}
830
+ * @memberof InteractionAuthorizationConsent
831
+ */
832
+ 'pin'?: string;
833
+ /**
834
+ * Array of IDs of credentials that will be presented in the interaction. Must be a subset of authorization requirements presentation candidates. Required when authorization requirement type is `vp_token`.
835
+ * @type {Array<InputDescriptorSuitableCredentials>}
836
+ * @memberof InteractionAuthorizationConsent
837
+ */
838
+ 'credentialsToPresent'?: Array<InputDescriptorSuitableCredentials>;
839
+ }
840
+ /**
841
+ *
842
+ * @export
843
+ * @interface InteractionAuthorizationRequirements
844
+ */
845
+ export interface InteractionAuthorizationRequirements {
846
+ /**
847
+ *
848
+ * @type {string}
849
+ * @memberof InteractionAuthorizationRequirements
850
+ */
851
+ 'requirementType': InteractionAuthorizationRequirementsRequirementTypeEnum;
852
+ /**
853
+ *
854
+ * @type {PresentationDefinition}
855
+ * @memberof InteractionAuthorizationRequirements
856
+ */
857
+ 'presentationDefinition'?: PresentationDefinition;
858
+ /**
859
+ * List of credentials suitable for presentation.
860
+ * @type {Array<InputDescriptorSuitableCredentials>}
861
+ * @memberof InteractionAuthorizationRequirements
862
+ */
863
+ 'presentationCandidates'?: Array<InputDescriptorSuitableCredentials>;
864
+ /**
865
+ *
866
+ * @type {string}
867
+ * @memberof InteractionAuthorizationRequirements
868
+ */
869
+ 'interactionId': string;
870
+ }
871
+ export declare const InteractionAuthorizationRequirementsRequirementTypeEnum: {
872
+ readonly IdToken: "id_token";
873
+ readonly VpToken: "vp_token";
874
+ readonly Pin: "pin";
875
+ };
876
+ export type InteractionAuthorizationRequirementsRequirementTypeEnum = typeof InteractionAuthorizationRequirementsRequirementTypeEnum[keyof typeof InteractionAuthorizationRequirementsRequirementTypeEnum];
802
877
  /**
803
878
  * Request for addition of already created VC to issuance queue for a client specified either by client_id or idTokenRequestId. Either clientId or idTokenRequestId MUST be present.
804
879
  * @export
@@ -818,6 +893,19 @@ export interface IssuanceQueueCredentialAdd {
818
893
  */
819
894
  'idTokenRequestId'?: string;
820
895
  }
896
+ /**
897
+ * TBD
898
+ * @export
899
+ * @interface Jwks
900
+ */
901
+ export interface Jwks {
902
+ /**
903
+ *
904
+ * @type {Array<object>}
905
+ * @memberof Jwks
906
+ */
907
+ 'keys': Array<object>;
908
+ }
821
909
  /**
822
910
  * Common error message
823
911
  * @export
@@ -999,6 +1087,12 @@ export interface PresentationDefinition {
999
1087
  * @memberof PresentationDefinition
1000
1088
  */
1001
1089
  'input_descriptors': Array<PresentationDefinitionInputDescriptor>;
1090
+ /**
1091
+ *
1092
+ * @type {Array<PresentationDefinitionSubmissionRequirements>}
1093
+ * @memberof PresentationDefinition
1094
+ */
1095
+ 'submission_requirements'?: Array<PresentationDefinitionSubmissionRequirements>;
1002
1096
  }
1003
1097
  /**
1004
1098
  *
@@ -1088,7 +1182,67 @@ export interface PresentationDefinitionInputDescriptor {
1088
1182
  * @memberof PresentationDefinitionInputDescriptor
1089
1183
  */
1090
1184
  'constraints': PresentationDefinitionInputConstraint;
1185
+ /**
1186
+ *
1187
+ * @type {Array<string>}
1188
+ * @memberof PresentationDefinitionInputDescriptor
1189
+ */
1190
+ 'group'?: Array<string>;
1091
1191
  }
1192
+ /**
1193
+ *
1194
+ * @export
1195
+ * @interface PresentationDefinitionSubmissionRequirements
1196
+ */
1197
+ export interface PresentationDefinitionSubmissionRequirements {
1198
+ /**
1199
+ *
1200
+ * @type {string}
1201
+ * @memberof PresentationDefinitionSubmissionRequirements
1202
+ */
1203
+ 'rule': PresentationDefinitionSubmissionRequirementsRuleEnum;
1204
+ /**
1205
+ *
1206
+ * @type {number}
1207
+ * @memberof PresentationDefinitionSubmissionRequirements
1208
+ */
1209
+ 'count'?: number;
1210
+ /**
1211
+ *
1212
+ * @type {number}
1213
+ * @memberof PresentationDefinitionSubmissionRequirements
1214
+ */
1215
+ 'min'?: number;
1216
+ /**
1217
+ *
1218
+ * @type {number}
1219
+ * @memberof PresentationDefinitionSubmissionRequirements
1220
+ */
1221
+ 'max'?: number;
1222
+ /**
1223
+ *
1224
+ * @type {string}
1225
+ * @memberof PresentationDefinitionSubmissionRequirements
1226
+ */
1227
+ 'from'?: string;
1228
+ /**
1229
+ *
1230
+ * @type {Array<PresentationDefinitionSubmissionRequirements>}
1231
+ * @memberof PresentationDefinitionSubmissionRequirements
1232
+ */
1233
+ 'from_nested'?: Array<PresentationDefinitionSubmissionRequirements>;
1234
+ /**
1235
+ *
1236
+ * @type {string}
1237
+ * @memberof PresentationDefinitionSubmissionRequirements
1238
+ */
1239
+ 'name'?: string;
1240
+ }
1241
+ export declare const PresentationDefinitionSubmissionRequirementsRuleEnum: {
1242
+ readonly All: "all";
1243
+ readonly Pick: "pick";
1244
+ };
1245
+ export type PresentationDefinitionSubmissionRequirementsRuleEnum = typeof PresentationDefinitionSubmissionRequirementsRuleEnum[keyof typeof PresentationDefinitionSubmissionRequirementsRuleEnum];
1092
1246
  /**
1093
1247
  *
1094
1248
  * @export
@@ -1216,7 +1370,7 @@ export interface TermsOfUse {
1216
1370
  'type': string;
1217
1371
  }
1218
1372
  /**
1219
- * The offer to be accepted. The offer URL is mandatory and the pin is required only in case of the pre-authorized flow.
1373
+ * The offer to be accepted. The offer URL is mandatory.
1220
1374
  * @export
1221
1375
  * @interface VcOffer
1222
1376
  */
@@ -1227,12 +1381,6 @@ export interface VcOffer {
1227
1381
  * @memberof VcOffer
1228
1382
  */
1229
1383
  'Url': string;
1230
- /**
1231
- *
1232
- * @type {string}
1233
- * @memberof VcOffer
1234
- */
1235
- 'Pin'?: string;
1236
1384
  /**
1237
1385
  *
1238
1386
  * @type {boolean}
@@ -1534,14 +1682,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1534
1682
  * @throws {RequiredError}
1535
1683
  */
1536
1684
  credentialPatch: (credentialId: string, walletId: string, credentialPayload?: CredentialPayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1537
- /**
1538
- * TBD
1539
- * @param {string} walletId
1540
- * @param {CredentialRequest} [credentialRequest] A Verifiable Credential request: types and URL of the issuer
1541
- * @param {*} [options] Override http request option.
1542
- * @throws {RequiredError}
1543
- */
1544
- credentialRequest: (walletId: string, credentialRequest?: CredentialRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1545
1685
  /**
1546
1686
  *
1547
1687
  * @param {string} credentialId Verifiable Credential Identifier
@@ -1605,6 +1745,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1605
1745
  * @throws {RequiredError}
1606
1746
  */
1607
1747
  oauth2Auth: (verifierState: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1748
+ /**
1749
+ *
1750
+ * @param {*} [options] Override http request option.
1751
+ * @throws {RequiredError}
1752
+ */
1753
+ oauth2Keys: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1608
1754
  /**
1609
1755
  *
1610
1756
  * @param {*} [options] Override http request option.
@@ -1622,14 +1768,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1622
1768
  * @throws {RequiredError}
1623
1769
  */
1624
1770
  oauth2Token: (grantType: string, code: string, redirectUri: string, clientId: string, clientSecret: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1625
- /**
1626
- * Issue verifiable credential using OIDC4VCI offer acceptance
1627
- * @param {string} walletId
1628
- * @param {VcOffer} [vcOffer] Offer URL and optional PIN for the request
1629
- * @param {*} [options] Override http request option.
1630
- * @throws {RequiredError}
1631
- */
1632
- oidcAcceptOffer: (walletId: string, vcOffer?: VcOffer, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1633
1771
  /**
1634
1772
  * Adds created Verifiable Credential draft to issuance queue for a specified client using authorized in-time or deferred flow.
1635
1773
  * @param {string} credentialId
@@ -1646,6 +1784,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1646
1784
  * @throws {RequiredError}
1647
1785
  */
1648
1786
  oidcCreateIdTokenRequest: (walletId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1787
+ /**
1788
+ * Requests a credential issuance from the issuer and retrieves requirements for holder authorization.
1789
+ * @param {string} walletId
1790
+ * @param {CredentialRequest} [credentialRequest] A Verifiable Credential request: types and URL of the issuer
1791
+ * @param {*} [options] Override http request option.
1792
+ * @throws {RequiredError}
1793
+ */
1794
+ oidcCredentialRequestInit: (walletId: string, credentialRequest?: CredentialRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1649
1795
  /**
1650
1796
  * Initiates issuing of the credential using the authorized deferred flow, in which the holder will receive credential asynchronously.
1651
1797
  * @param {string} walletId
@@ -1670,6 +1816,23 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1670
1816
  * @throws {RequiredError}
1671
1817
  */
1672
1818
  oidcInitiatePreauth: (walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1819
+ /**
1820
+ * Issue verifiable credential using OIDC4VCI offer acceptance
1821
+ * @param {string} walletId
1822
+ * @param {VcOffer} [vcOffer] Offer URL and optional PIN for the request
1823
+ * @param {*} [options] Override http request option.
1824
+ * @throws {RequiredError}
1825
+ */
1826
+ oidcPassOfferAuthInfo: (walletId: string, vcOffer?: VcOffer, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1827
+ /**
1828
+ *
1829
+ * @param {string} walletId
1830
+ * @param {string} interactionId
1831
+ * @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
1832
+ * @param {*} [options] Override http request option.
1833
+ * @throws {RequiredError}
1834
+ */
1835
+ oidcPresentCredentialsAfterConsent: (walletId: string, interactionId: string, interactionAuthorizationConsent?: InteractionAuthorizationConsent, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1673
1836
  /**
1674
1837
  * Initiates a presentation of credentials to a verifier.
1675
1838
  * @param {string} walletId
@@ -1677,7 +1840,16 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1677
1840
  * @param {*} [options] Override http request option.
1678
1841
  * @throws {RequiredError}
1679
1842
  */
1680
- oidcPresentCredentials: (walletId: string, presentationRequest?: PresentationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1843
+ oidcPresentPassAuthInfo: (walletId: string, presentationRequest?: PresentationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1844
+ /**
1845
+ * Gives consent to process credential offer specified by `interaction_id`
1846
+ * @param {string} walletId
1847
+ * @param {string} interactionId
1848
+ * @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
1849
+ * @param {*} [options] Override http request option.
1850
+ * @throws {RequiredError}
1851
+ */
1852
+ oidcProcessOfferAfterConsent: (walletId: string, interactionId: string, interactionAuthorizationConsent?: InteractionAuthorizationConsent, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1681
1853
  /**
1682
1854
  * Responds to an ID token request
1683
1855
  * @param {string} walletId
@@ -1845,14 +2017,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1845
2017
  * @throws {RequiredError}
1846
2018
  */
1847
2019
  credentialPatch(credentialId: string, walletId: string, credentialPayload?: CredentialPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CredentialIdObject>>;
1848
- /**
1849
- * TBD
1850
- * @param {string} walletId
1851
- * @param {CredentialRequest} [credentialRequest] A Verifiable Credential request: types and URL of the issuer
1852
- * @param {*} [options] Override http request option.
1853
- * @throws {RequiredError}
1854
- */
1855
- credentialRequest(walletId: string, credentialRequest?: CredentialRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
1856
2020
  /**
1857
2021
  *
1858
2022
  * @param {string} credentialId Verifiable Credential Identifier
@@ -1916,6 +2080,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1916
2080
  * @throws {RequiredError}
1917
2081
  */
1918
2082
  oauth2Auth(verifierState: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Oauth2RedirectUri>>;
2083
+ /**
2084
+ *
2085
+ * @param {*} [options] Override http request option.
2086
+ * @throws {RequiredError}
2087
+ */
2088
+ oauth2Keys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Jwks>>;
1919
2089
  /**
1920
2090
  *
1921
2091
  * @param {*} [options] Override http request option.
@@ -1933,14 +2103,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1933
2103
  * @throws {RequiredError}
1934
2104
  */
1935
2105
  oauth2Token(grantType: string, code: string, redirectUri: string, clientId: string, clientSecret: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Oauth2AccessToken>>;
1936
- /**
1937
- * Issue verifiable credential using OIDC4VCI offer acceptance
1938
- * @param {string} walletId
1939
- * @param {VcOffer} [vcOffer] Offer URL and optional PIN for the request
1940
- * @param {*} [options] Override http request option.
1941
- * @throws {RequiredError}
1942
- */
1943
- oidcAcceptOffer(walletId: string, vcOffer?: VcOffer, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
1944
2106
  /**
1945
2107
  * Adds created Verifiable Credential draft to issuance queue for a specified client using authorized in-time or deferred flow.
1946
2108
  * @param {string} credentialId
@@ -1957,6 +2119,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1957
2119
  * @throws {RequiredError}
1958
2120
  */
1959
2121
  oidcCreateIdTokenRequest(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IdTokenRequest>>;
2122
+ /**
2123
+ * Requests a credential issuance from the issuer and retrieves requirements for holder authorization.
2124
+ * @param {string} walletId
2125
+ * @param {CredentialRequest} [credentialRequest] A Verifiable Credential request: types and URL of the issuer
2126
+ * @param {*} [options] Override http request option.
2127
+ * @throws {RequiredError}
2128
+ */
2129
+ oidcCredentialRequestInit(walletId: string, credentialRequest?: CredentialRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InteractionAuthorizationRequirements>>>;
1960
2130
  /**
1961
2131
  * Initiates issuing of the credential using the authorized deferred flow, in which the holder will receive credential asynchronously.
1962
2132
  * @param {string} walletId
@@ -1981,6 +2151,23 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1981
2151
  * @throws {RequiredError}
1982
2152
  */
1983
2153
  oidcInitiatePreauth(walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PreAuthOffer>>;
2154
+ /**
2155
+ * Issue verifiable credential using OIDC4VCI offer acceptance
2156
+ * @param {string} walletId
2157
+ * @param {VcOffer} [vcOffer] Offer URL and optional PIN for the request
2158
+ * @param {*} [options] Override http request option.
2159
+ * @throws {RequiredError}
2160
+ */
2161
+ oidcPassOfferAuthInfo(walletId: string, vcOffer?: VcOffer, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InteractionAuthorizationRequirements>>;
2162
+ /**
2163
+ *
2164
+ * @param {string} walletId
2165
+ * @param {string} interactionId
2166
+ * @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
2167
+ * @param {*} [options] Override http request option.
2168
+ * @throws {RequiredError}
2169
+ */
2170
+ oidcPresentCredentialsAfterConsent(walletId: string, interactionId: string, interactionAuthorizationConsent?: InteractionAuthorizationConsent, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1984
2171
  /**
1985
2172
  * Initiates a presentation of credentials to a verifier.
1986
2173
  * @param {string} walletId
@@ -1988,7 +2175,16 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1988
2175
  * @param {*} [options] Override http request option.
1989
2176
  * @throws {RequiredError}
1990
2177
  */
1991
- oidcPresentCredentials(walletId: string, presentationRequest?: PresentationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2178
+ oidcPresentPassAuthInfo(walletId: string, presentationRequest?: PresentationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InteractionAuthorizationRequirements>>;
2179
+ /**
2180
+ * Gives consent to process credential offer specified by `interaction_id`
2181
+ * @param {string} walletId
2182
+ * @param {string} interactionId
2183
+ * @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
2184
+ * @param {*} [options] Override http request option.
2185
+ * @throws {RequiredError}
2186
+ */
2187
+ oidcProcessOfferAfterConsent(walletId: string, interactionId: string, interactionAuthorizationConsent?: InteractionAuthorizationConsent, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
1992
2188
  /**
1993
2189
  * Responds to an ID token request
1994
2190
  * @param {string} walletId
@@ -2156,14 +2352,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2156
2352
  * @throws {RequiredError}
2157
2353
  */
2158
2354
  credentialPatch(credentialId: string, walletId: string, credentialPayload?: CredentialPayload, options?: any): AxiosPromise<CredentialIdObject>;
2159
- /**
2160
- * TBD
2161
- * @param {string} walletId
2162
- * @param {CredentialRequest} [credentialRequest] A Verifiable Credential request: types and URL of the issuer
2163
- * @param {*} [options] Override http request option.
2164
- * @throws {RequiredError}
2165
- */
2166
- credentialRequest(walletId: string, credentialRequest?: CredentialRequest, options?: any): AxiosPromise<Array<string>>;
2167
2355
  /**
2168
2356
  *
2169
2357
  * @param {string} credentialId Verifiable Credential Identifier
@@ -2227,6 +2415,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2227
2415
  * @throws {RequiredError}
2228
2416
  */
2229
2417
  oauth2Auth(verifierState: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: any): AxiosPromise<Oauth2RedirectUri>;
2418
+ /**
2419
+ *
2420
+ * @param {*} [options] Override http request option.
2421
+ * @throws {RequiredError}
2422
+ */
2423
+ oauth2Keys(options?: any): AxiosPromise<Jwks>;
2230
2424
  /**
2231
2425
  *
2232
2426
  * @param {*} [options] Override http request option.
@@ -2244,14 +2438,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2244
2438
  * @throws {RequiredError}
2245
2439
  */
2246
2440
  oauth2Token(grantType: string, code: string, redirectUri: string, clientId: string, clientSecret: string, options?: any): AxiosPromise<Oauth2AccessToken>;
2247
- /**
2248
- * Issue verifiable credential using OIDC4VCI offer acceptance
2249
- * @param {string} walletId
2250
- * @param {VcOffer} [vcOffer] Offer URL and optional PIN for the request
2251
- * @param {*} [options] Override http request option.
2252
- * @throws {RequiredError}
2253
- */
2254
- oidcAcceptOffer(walletId: string, vcOffer?: VcOffer, options?: any): AxiosPromise<Array<string>>;
2255
2441
  /**
2256
2442
  * Adds created Verifiable Credential draft to issuance queue for a specified client using authorized in-time or deferred flow.
2257
2443
  * @param {string} credentialId
@@ -2268,6 +2454,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2268
2454
  * @throws {RequiredError}
2269
2455
  */
2270
2456
  oidcCreateIdTokenRequest(walletId: string, options?: any): AxiosPromise<IdTokenRequest>;
2457
+ /**
2458
+ * Requests a credential issuance from the issuer and retrieves requirements for holder authorization.
2459
+ * @param {string} walletId
2460
+ * @param {CredentialRequest} [credentialRequest] A Verifiable Credential request: types and URL of the issuer
2461
+ * @param {*} [options] Override http request option.
2462
+ * @throws {RequiredError}
2463
+ */
2464
+ oidcCredentialRequestInit(walletId: string, credentialRequest?: CredentialRequest, options?: any): AxiosPromise<Array<InteractionAuthorizationRequirements>>;
2271
2465
  /**
2272
2466
  * Initiates issuing of the credential using the authorized deferred flow, in which the holder will receive credential asynchronously.
2273
2467
  * @param {string} walletId
@@ -2292,6 +2486,23 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2292
2486
  * @throws {RequiredError}
2293
2487
  */
2294
2488
  oidcInitiatePreauth(walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?: any): AxiosPromise<PreAuthOffer>;
2489
+ /**
2490
+ * Issue verifiable credential using OIDC4VCI offer acceptance
2491
+ * @param {string} walletId
2492
+ * @param {VcOffer} [vcOffer] Offer URL and optional PIN for the request
2493
+ * @param {*} [options] Override http request option.
2494
+ * @throws {RequiredError}
2495
+ */
2496
+ oidcPassOfferAuthInfo(walletId: string, vcOffer?: VcOffer, options?: any): AxiosPromise<InteractionAuthorizationRequirements>;
2497
+ /**
2498
+ *
2499
+ * @param {string} walletId
2500
+ * @param {string} interactionId
2501
+ * @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
2502
+ * @param {*} [options] Override http request option.
2503
+ * @throws {RequiredError}
2504
+ */
2505
+ oidcPresentCredentialsAfterConsent(walletId: string, interactionId: string, interactionAuthorizationConsent?: InteractionAuthorizationConsent, options?: any): AxiosPromise<void>;
2295
2506
  /**
2296
2507
  * Initiates a presentation of credentials to a verifier.
2297
2508
  * @param {string} walletId
@@ -2299,7 +2510,16 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2299
2510
  * @param {*} [options] Override http request option.
2300
2511
  * @throws {RequiredError}
2301
2512
  */
2302
- oidcPresentCredentials(walletId: string, presentationRequest?: PresentationRequest, options?: any): AxiosPromise<void>;
2513
+ oidcPresentPassAuthInfo(walletId: string, presentationRequest?: PresentationRequest, options?: any): AxiosPromise<InteractionAuthorizationRequirements>;
2514
+ /**
2515
+ * Gives consent to process credential offer specified by `interaction_id`
2516
+ * @param {string} walletId
2517
+ * @param {string} interactionId
2518
+ * @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
2519
+ * @param {*} [options] Override http request option.
2520
+ * @throws {RequiredError}
2521
+ */
2522
+ oidcProcessOfferAfterConsent(walletId: string, interactionId: string, interactionAuthorizationConsent?: InteractionAuthorizationConsent, options?: any): AxiosPromise<Array<string>>;
2303
2523
  /**
2304
2524
  * Responds to an ID token request
2305
2525
  * @param {string} walletId
@@ -2477,15 +2697,6 @@ export declare class DefaultApi extends BaseAPI {
2477
2697
  * @memberof DefaultApi
2478
2698
  */
2479
2699
  credentialPatch(credentialId: string, walletId: string, credentialPayload?: CredentialPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialIdObject, any>>;
2480
- /**
2481
- * TBD
2482
- * @param {string} walletId
2483
- * @param {CredentialRequest} [credentialRequest] A Verifiable Credential request: types and URL of the issuer
2484
- * @param {*} [options] Override http request option.
2485
- * @throws {RequiredError}
2486
- * @memberof DefaultApi
2487
- */
2488
- credentialRequest(walletId: string, credentialRequest?: CredentialRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any>>;
2489
2700
  /**
2490
2701
  *
2491
2702
  * @param {string} credentialId Verifiable Credential Identifier
@@ -2557,6 +2768,13 @@ export declare class DefaultApi extends BaseAPI {
2557
2768
  * @memberof DefaultApi
2558
2769
  */
2559
2770
  oauth2Auth(verifierState: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Oauth2RedirectUri, any>>;
2771
+ /**
2772
+ *
2773
+ * @param {*} [options] Override http request option.
2774
+ * @throws {RequiredError}
2775
+ * @memberof DefaultApi
2776
+ */
2777
+ oauth2Keys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Jwks, any>>;
2560
2778
  /**
2561
2779
  *
2562
2780
  * @param {*} [options] Override http request option.
@@ -2576,15 +2794,6 @@ export declare class DefaultApi extends BaseAPI {
2576
2794
  * @memberof DefaultApi
2577
2795
  */
2578
2796
  oauth2Token(grantType: string, code: string, redirectUri: string, clientId: string, clientSecret: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Oauth2AccessToken, any>>;
2579
- /**
2580
- * Issue verifiable credential using OIDC4VCI offer acceptance
2581
- * @param {string} walletId
2582
- * @param {VcOffer} [vcOffer] Offer URL and optional PIN for the request
2583
- * @param {*} [options] Override http request option.
2584
- * @throws {RequiredError}
2585
- * @memberof DefaultApi
2586
- */
2587
- oidcAcceptOffer(walletId: string, vcOffer?: VcOffer, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any>>;
2588
2797
  /**
2589
2798
  * Adds created Verifiable Credential draft to issuance queue for a specified client using authorized in-time or deferred flow.
2590
2799
  * @param {string} credentialId
@@ -2603,6 +2812,15 @@ export declare class DefaultApi extends BaseAPI {
2603
2812
  * @memberof DefaultApi
2604
2813
  */
2605
2814
  oidcCreateIdTokenRequest(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IdTokenRequest, any>>;
2815
+ /**
2816
+ * Requests a credential issuance from the issuer and retrieves requirements for holder authorization.
2817
+ * @param {string} walletId
2818
+ * @param {CredentialRequest} [credentialRequest] A Verifiable Credential request: types and URL of the issuer
2819
+ * @param {*} [options] Override http request option.
2820
+ * @throws {RequiredError}
2821
+ * @memberof DefaultApi
2822
+ */
2823
+ oidcCredentialRequestInit(walletId: string, credentialRequest?: CredentialRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InteractionAuthorizationRequirements[], any>>;
2606
2824
  /**
2607
2825
  * Initiates issuing of the credential using the authorized deferred flow, in which the holder will receive credential asynchronously.
2608
2826
  * @param {string} walletId
@@ -2630,6 +2848,25 @@ export declare class DefaultApi extends BaseAPI {
2630
2848
  * @memberof DefaultApi
2631
2849
  */
2632
2850
  oidcInitiatePreauth(walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PreAuthOffer, any>>;
2851
+ /**
2852
+ * Issue verifiable credential using OIDC4VCI offer acceptance
2853
+ * @param {string} walletId
2854
+ * @param {VcOffer} [vcOffer] Offer URL and optional PIN for the request
2855
+ * @param {*} [options] Override http request option.
2856
+ * @throws {RequiredError}
2857
+ * @memberof DefaultApi
2858
+ */
2859
+ oidcPassOfferAuthInfo(walletId: string, vcOffer?: VcOffer, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InteractionAuthorizationRequirements, any>>;
2860
+ /**
2861
+ *
2862
+ * @param {string} walletId
2863
+ * @param {string} interactionId
2864
+ * @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
2865
+ * @param {*} [options] Override http request option.
2866
+ * @throws {RequiredError}
2867
+ * @memberof DefaultApi
2868
+ */
2869
+ oidcPresentCredentialsAfterConsent(walletId: string, interactionId: string, interactionAuthorizationConsent?: InteractionAuthorizationConsent, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
2633
2870
  /**
2634
2871
  * Initiates a presentation of credentials to a verifier.
2635
2872
  * @param {string} walletId
@@ -2638,7 +2875,17 @@ export declare class DefaultApi extends BaseAPI {
2638
2875
  * @throws {RequiredError}
2639
2876
  * @memberof DefaultApi
2640
2877
  */
2641
- oidcPresentCredentials(walletId: string, presentationRequest?: PresentationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
2878
+ oidcPresentPassAuthInfo(walletId: string, presentationRequest?: PresentationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InteractionAuthorizationRequirements, any>>;
2879
+ /**
2880
+ * Gives consent to process credential offer specified by `interaction_id`
2881
+ * @param {string} walletId
2882
+ * @param {string} interactionId
2883
+ * @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
2884
+ * @param {*} [options] Override http request option.
2885
+ * @throws {RequiredError}
2886
+ * @memberof DefaultApi
2887
+ */
2888
+ oidcProcessOfferAfterConsent(walletId: string, interactionId: string, interactionAuthorizationConsent?: InteractionAuthorizationConsent, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any>>;
2642
2889
  /**
2643
2890
  * Responds to an ID token request
2644
2891
  * @param {string} walletId