@triveria/wallet 0.0.36 → 0.0.38

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 +101 -65
  2. package/api.js +59 -52
  3. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -484,34 +484,47 @@ export type HealthStatusStatusEnum = typeof HealthStatusStatusEnum[keyof typeof
484
484
  /**
485
485
  * Request for the creation of a holder initiated authorized flow offer.
486
486
  * @export
487
- * @interface HolderAuthOfferCreationReq
487
+ * @interface HolderAuthOfferCreationRequest
488
488
  */
489
- export interface HolderAuthOfferCreationReq {
489
+ export interface HolderAuthOfferCreationRequest {
490
490
  /**
491
491
  *
492
492
  * @type {string}
493
- * @memberof HolderAuthOfferCreationReq
493
+ * @memberof HolderAuthOfferCreationRequest
494
494
  */
495
495
  'issuerUrl': string;
496
496
  /**
497
497
  *
498
498
  * @type {Array<string>}
499
- * @memberof HolderAuthOfferCreationReq
499
+ * @memberof HolderAuthOfferCreationRequest
500
500
  */
501
501
  'types': Array<string>;
502
502
  /**
503
503
  *
504
504
  * @type {string}
505
- * @memberof HolderAuthOfferCreationReq
505
+ * @memberof HolderAuthOfferCreationRequest
506
506
  */
507
507
  'state': string;
508
508
  /**
509
509
  *
510
510
  * @type {boolean}
511
- * @memberof HolderAuthOfferCreationReq
511
+ * @memberof HolderAuthOfferCreationRequest
512
512
  */
513
513
  'deferred': boolean;
514
514
  }
515
+ /**
516
+ *
517
+ * @export
518
+ * @interface IdTokenReceivedNotification
519
+ */
520
+ export interface IdTokenReceivedNotification {
521
+ /**
522
+ *
523
+ * @type {string}
524
+ * @memberof IdTokenReceivedNotification
525
+ */
526
+ 'idTokenRequestId': string;
527
+ }
515
528
  /**
516
529
  *
517
530
  * @export
@@ -534,13 +547,13 @@ export interface IdTokenRequest {
534
547
  /**
535
548
  *
536
549
  * @export
537
- * @interface IdTokenSendReq
550
+ * @interface IdTokenSendRequest
538
551
  */
539
- export interface IdTokenSendReq {
552
+ export interface IdTokenSendRequest {
540
553
  /**
541
554
  *
542
555
  * @type {string}
543
- * @memberof IdTokenSendReq
556
+ * @memberof IdTokenSendRequest
544
557
  */
545
558
  'requestUrl': string;
546
559
  }
@@ -597,19 +610,19 @@ export interface InitPreAuthOffer {
597
610
  /**
598
611
  * 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.
599
612
  * @export
600
- * @interface IssuanceQueueCredAdd
613
+ * @interface IssuanceQueueCredentialAdd
601
614
  */
602
- export interface IssuanceQueueCredAdd {
615
+ export interface IssuanceQueueCredentialAdd {
603
616
  /**
604
617
  *
605
618
  * @type {string}
606
- * @memberof IssuanceQueueCredAdd
619
+ * @memberof IssuanceQueueCredentialAdd
607
620
  */
608
621
  'clientId'?: string;
609
622
  /**
610
623
  *
611
624
  * @type {string}
612
- * @memberof IssuanceQueueCredAdd
625
+ * @memberof IssuanceQueueCredentialAdd
613
626
  */
614
627
  'idTokenRequestId'?: string;
615
628
  }
@@ -629,31 +642,31 @@ export interface ModelError {
629
642
  /**
630
643
  * Result of the preauthorized issuance process start. Consists of the preauthorized code, pin, and the issuer url.
631
644
  * @export
632
- * @interface PreauthOffer
645
+ * @interface PreAuthOffer
633
646
  */
634
- export interface PreauthOffer {
647
+ export interface PreAuthOffer {
635
648
  /**
636
649
  *
637
650
  * @type {string}
638
- * @memberof PreauthOffer
651
+ * @memberof PreAuthOffer
639
652
  */
640
653
  'preauthCode': string;
641
654
  /**
642
655
  *
643
656
  * @type {string}
644
- * @memberof PreauthOffer
657
+ * @memberof PreAuthOffer
645
658
  */
646
659
  'pin': string;
647
660
  /**
648
661
  *
649
662
  * @type {string}
650
- * @memberof PreauthOffer
663
+ * @memberof PreAuthOffer
651
664
  */
652
665
  'issuerUrl': string;
653
666
  /**
654
667
  *
655
668
  * @type {string}
656
- * @memberof PreauthOffer
669
+ * @memberof PreAuthOffer
657
670
  */
658
671
  'offer': string;
659
672
  }
@@ -945,41 +958,54 @@ export interface VcOffer {
945
958
  /**
946
959
  * Request for the creation of URL used by holder to present credentials to a verifier. Either clientId or idTokenRequestId MUST be present.
947
960
  * @export
948
- * @interface VerifyInitUrlReq
961
+ * @interface VerifyInitRequest
949
962
  */
950
- export interface VerifyInitUrlReq {
963
+ export interface VerifyInitRequest {
951
964
  /**
952
965
  * DID of client for which verification url is created
953
966
  * @type {string}
954
- * @memberof VerifyInitUrlReq
967
+ * @memberof VerifyInitRequest
955
968
  */
956
969
  'clientId'?: string;
957
970
  /**
958
971
  * Id of ID token request with which the client shares its did
959
972
  * @type {string}
960
- * @memberof VerifyInitUrlReq
973
+ * @memberof VerifyInitRequest
961
974
  */
962
975
  'idTokenRequestId'?: string;
963
976
  /**
964
977
  *
965
978
  * @type {string}
966
- * @memberof VerifyInitUrlReq
979
+ * @memberof VerifyInitRequest
967
980
  */
968
981
  'verifierScope': string;
969
982
  }
970
983
  /**
971
984
  *
972
985
  * @export
973
- * @interface VerifyInitUrlResp
986
+ * @interface VerifyInitResponse
974
987
  */
975
- export interface VerifyInitUrlResp {
988
+ export interface VerifyInitResponse {
976
989
  /**
977
990
  * Url of verifier authorization server that contains the requested verifier scope.
978
991
  * @type {string}
979
- * @memberof VerifyInitUrlResp
992
+ * @memberof VerifyInitResponse
980
993
  */
981
994
  'verifierUrl': string;
982
995
  }
996
+ /**
997
+ *
998
+ * @export
999
+ * @interface VpVerifiedNotification
1000
+ */
1001
+ export interface VpVerifiedNotification {
1002
+ /**
1003
+ *
1004
+ * @type {string}
1005
+ * @memberof VpVerifiedNotification
1006
+ */
1007
+ 'verifierScope': string;
1008
+ }
983
1009
  /**
984
1010
  * Wallet details
985
1011
  * @export
@@ -1047,13 +1073,13 @@ export interface WalletNotification {
1047
1073
  * @type {string}
1048
1074
  * @memberof WalletNotification
1049
1075
  */
1050
- 'eventType': string;
1076
+ 'eventType': WalletNotificationEventTypeEnum;
1051
1077
  /**
1052
1078
  *
1053
- * @type {string}
1079
+ * @type {WalletNotificationEventDetails}
1054
1080
  * @memberof WalletNotification
1055
1081
  */
1056
- 'message': string;
1082
+ 'eventDetails'?: WalletNotificationEventDetails;
1057
1083
  /**
1058
1084
  *
1059
1085
  * @type {string}
@@ -1061,6 +1087,16 @@ export interface WalletNotification {
1061
1087
  */
1062
1088
  'time': string;
1063
1089
  }
1090
+ export declare const WalletNotificationEventTypeEnum: {
1091
+ readonly VpVerified: "vp.verified";
1092
+ readonly IdTokenReceived: "idToken.received";
1093
+ };
1094
+ export type WalletNotificationEventTypeEnum = typeof WalletNotificationEventTypeEnum[keyof typeof WalletNotificationEventTypeEnum];
1095
+ /**
1096
+ * @type WalletNotificationEventDetails
1097
+ * @export
1098
+ */
1099
+ export type WalletNotificationEventDetails = IdTokenReceivedNotification | VpVerifiedNotification;
1064
1100
  /**
1065
1101
  * DefaultApi - axios parameter creator
1066
1102
  * @export
@@ -1130,11 +1166,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1130
1166
  /**
1131
1167
  * Creates an authorized credential offer (deferred or instant) for holder-initiated credential request using provided parameters. The offer is an URL that the creator should provide to the client via a redirect, link, or QR code.
1132
1168
  * @param {string} walletId
1133
- * @param {HolderAuthOfferCreationReq} [holderAuthOfferCreationReq]
1169
+ * @param {HolderAuthOfferCreationRequest} [holderAuthOfferCreationRequest]
1134
1170
  * @param {*} [options] Override http request option.
1135
1171
  * @throws {RequiredError}
1136
1172
  */
1137
- holderCreateAuthOffer: (walletId: string, holderAuthOfferCreationReq?: HolderAuthOfferCreationReq, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1173
+ holderCreateAuthOffer: (walletId: string, holderAuthOfferCreationRequest?: HolderAuthOfferCreationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1138
1174
  /**
1139
1175
  * Returns verifiable credential format and types that are supported by the issuer. - format: the verifiable credential format (for example \"jwt_vc\") - type: a list of strings that define supported verifiable credential type(s)
1140
1176
  * @param {string} url
@@ -1154,11 +1190,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1154
1190
  * Add already created VC to issuance queue for a specified client using authorized in-time or deferred flow.
1155
1191
  * @param {string} credentialId
1156
1192
  * @param {string} walletId
1157
- * @param {IssuanceQueueCredAdd} [issuanceQueueCredAdd]
1193
+ * @param {IssuanceQueueCredentialAdd} [issuanceQueueCredentialAdd]
1158
1194
  * @param {*} [options] Override http request option.
1159
1195
  * @throws {RequiredError}
1160
1196
  */
1161
- oidcAddCredToIssuanceQueue: (credentialId: string, walletId: string, issuanceQueueCredAdd?: IssuanceQueueCredAdd, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1197
+ oidcAddCredToIssuanceQueue: (credentialId: string, walletId: string, issuanceQueueCredentialAdd?: IssuanceQueueCredentialAdd, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1162
1198
  /**
1163
1199
  * Creates an ID token request.
1164
1200
  * @param {string} walletId
@@ -1201,19 +1237,19 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1201
1237
  /**
1202
1238
  * Responds to an ID token request
1203
1239
  * @param {string} walletId
1204
- * @param {IdTokenSendReq} [idTokenSendReq]
1240
+ * @param {IdTokenSendRequest} [idTokenSendRequest]
1205
1241
  * @param {*} [options] Override http request option.
1206
1242
  * @throws {RequiredError}
1207
1243
  */
1208
- oidcSendIdToken: (walletId: string, idTokenSendReq?: IdTokenSendReq, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1244
+ oidcSendIdToken: (walletId: string, idTokenSendRequest?: IdTokenSendRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1209
1245
  /**
1210
1246
  * Returns an url where verifier accepts presentations.
1211
1247
  * @param {string} walletId
1212
- * @param {VerifyInitUrlReq} [verifyInitUrlReq]
1248
+ * @param {VerifyInitRequest} [verifyInitRequest]
1213
1249
  * @param {*} [options] Override http request option.
1214
1250
  * @throws {RequiredError}
1215
1251
  */
1216
- oidcVerifyInitUrl: (walletId: string, verifyInitUrlReq?: VerifyInitUrlReq, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1252
+ oidcVerifyInitUrl: (walletId: string, verifyInitRequest?: VerifyInitRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1217
1253
  /**
1218
1254
  * Provides wallet details
1219
1255
  * @param {string} walletId
@@ -1312,11 +1348,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1312
1348
  /**
1313
1349
  * Creates an authorized credential offer (deferred or instant) for holder-initiated credential request using provided parameters. The offer is an URL that the creator should provide to the client via a redirect, link, or QR code.
1314
1350
  * @param {string} walletId
1315
- * @param {HolderAuthOfferCreationReq} [holderAuthOfferCreationReq]
1351
+ * @param {HolderAuthOfferCreationRequest} [holderAuthOfferCreationRequest]
1316
1352
  * @param {*} [options] Override http request option.
1317
1353
  * @throws {RequiredError}
1318
1354
  */
1319
- holderCreateAuthOffer(walletId: string, holderAuthOfferCreationReq?: HolderAuthOfferCreationReq, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1355
+ holderCreateAuthOffer(walletId: string, holderAuthOfferCreationRequest?: HolderAuthOfferCreationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1320
1356
  /**
1321
1357
  * Returns verifiable credential format and types that are supported by the issuer. - format: the verifiable credential format (for example \"jwt_vc\") - type: a list of strings that define supported verifiable credential type(s)
1322
1358
  * @param {string} url
@@ -1336,11 +1372,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1336
1372
  * Add already created VC to issuance queue for a specified client using authorized in-time or deferred flow.
1337
1373
  * @param {string} credentialId
1338
1374
  * @param {string} walletId
1339
- * @param {IssuanceQueueCredAdd} [issuanceQueueCredAdd]
1375
+ * @param {IssuanceQueueCredentialAdd} [issuanceQueueCredentialAdd]
1340
1376
  * @param {*} [options] Override http request option.
1341
1377
  * @throws {RequiredError}
1342
1378
  */
1343
- oidcAddCredToIssuanceQueue(credentialId: string, walletId: string, issuanceQueueCredAdd?: IssuanceQueueCredAdd, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1379
+ oidcAddCredToIssuanceQueue(credentialId: string, walletId: string, issuanceQueueCredentialAdd?: IssuanceQueueCredentialAdd, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1344
1380
  /**
1345
1381
  * Creates an ID token request.
1346
1382
  * @param {string} walletId
@@ -1371,7 +1407,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1371
1407
  * @param {*} [options] Override http request option.
1372
1408
  * @throws {RequiredError}
1373
1409
  */
1374
- oidcInitiatePreauth(walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PreauthOffer>>;
1410
+ oidcInitiatePreauth(walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PreAuthOffer>>;
1375
1411
  /**
1376
1412
  * Initiates a presentation of credentials to a verifier.
1377
1413
  * @param {string} walletId
@@ -1383,19 +1419,19 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1383
1419
  /**
1384
1420
  * Responds to an ID token request
1385
1421
  * @param {string} walletId
1386
- * @param {IdTokenSendReq} [idTokenSendReq]
1422
+ * @param {IdTokenSendRequest} [idTokenSendRequest]
1387
1423
  * @param {*} [options] Override http request option.
1388
1424
  * @throws {RequiredError}
1389
1425
  */
1390
- oidcSendIdToken(walletId: string, idTokenSendReq?: IdTokenSendReq, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1426
+ oidcSendIdToken(walletId: string, idTokenSendRequest?: IdTokenSendRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1391
1427
  /**
1392
1428
  * Returns an url where verifier accepts presentations.
1393
1429
  * @param {string} walletId
1394
- * @param {VerifyInitUrlReq} [verifyInitUrlReq]
1430
+ * @param {VerifyInitRequest} [verifyInitRequest]
1395
1431
  * @param {*} [options] Override http request option.
1396
1432
  * @throws {RequiredError}
1397
1433
  */
1398
- oidcVerifyInitUrl(walletId: string, verifyInitUrlReq?: VerifyInitUrlReq, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerifyInitUrlResp>>;
1434
+ oidcVerifyInitUrl(walletId: string, verifyInitRequest?: VerifyInitRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerifyInitResponse>>;
1399
1435
  /**
1400
1436
  * Provides wallet details
1401
1437
  * @param {string} walletId
@@ -1494,11 +1530,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
1494
1530
  /**
1495
1531
  * Creates an authorized credential offer (deferred or instant) for holder-initiated credential request using provided parameters. The offer is an URL that the creator should provide to the client via a redirect, link, or QR code.
1496
1532
  * @param {string} walletId
1497
- * @param {HolderAuthOfferCreationReq} [holderAuthOfferCreationReq]
1533
+ * @param {HolderAuthOfferCreationRequest} [holderAuthOfferCreationRequest]
1498
1534
  * @param {*} [options] Override http request option.
1499
1535
  * @throws {RequiredError}
1500
1536
  */
1501
- holderCreateAuthOffer(walletId: string, holderAuthOfferCreationReq?: HolderAuthOfferCreationReq, options?: any): AxiosPromise<void>;
1537
+ holderCreateAuthOffer(walletId: string, holderAuthOfferCreationRequest?: HolderAuthOfferCreationRequest, options?: any): AxiosPromise<void>;
1502
1538
  /**
1503
1539
  * Returns verifiable credential format and types that are supported by the issuer. - format: the verifiable credential format (for example \"jwt_vc\") - type: a list of strings that define supported verifiable credential type(s)
1504
1540
  * @param {string} url
@@ -1518,11 +1554,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
1518
1554
  * Add already created VC to issuance queue for a specified client using authorized in-time or deferred flow.
1519
1555
  * @param {string} credentialId
1520
1556
  * @param {string} walletId
1521
- * @param {IssuanceQueueCredAdd} [issuanceQueueCredAdd]
1557
+ * @param {IssuanceQueueCredentialAdd} [issuanceQueueCredentialAdd]
1522
1558
  * @param {*} [options] Override http request option.
1523
1559
  * @throws {RequiredError}
1524
1560
  */
1525
- oidcAddCredToIssuanceQueue(credentialId: string, walletId: string, issuanceQueueCredAdd?: IssuanceQueueCredAdd, options?: any): AxiosPromise<void>;
1561
+ oidcAddCredToIssuanceQueue(credentialId: string, walletId: string, issuanceQueueCredentialAdd?: IssuanceQueueCredentialAdd, options?: any): AxiosPromise<void>;
1526
1562
  /**
1527
1563
  * Creates an ID token request.
1528
1564
  * @param {string} walletId
@@ -1553,7 +1589,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
1553
1589
  * @param {*} [options] Override http request option.
1554
1590
  * @throws {RequiredError}
1555
1591
  */
1556
- oidcInitiatePreauth(walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?: any): AxiosPromise<PreauthOffer>;
1592
+ oidcInitiatePreauth(walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?: any): AxiosPromise<PreAuthOffer>;
1557
1593
  /**
1558
1594
  * Initiates a presentation of credentials to a verifier.
1559
1595
  * @param {string} walletId
@@ -1565,19 +1601,19 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
1565
1601
  /**
1566
1602
  * Responds to an ID token request
1567
1603
  * @param {string} walletId
1568
- * @param {IdTokenSendReq} [idTokenSendReq]
1604
+ * @param {IdTokenSendRequest} [idTokenSendRequest]
1569
1605
  * @param {*} [options] Override http request option.
1570
1606
  * @throws {RequiredError}
1571
1607
  */
1572
- oidcSendIdToken(walletId: string, idTokenSendReq?: IdTokenSendReq, options?: any): AxiosPromise<void>;
1608
+ oidcSendIdToken(walletId: string, idTokenSendRequest?: IdTokenSendRequest, options?: any): AxiosPromise<void>;
1573
1609
  /**
1574
1610
  * Returns an url where verifier accepts presentations.
1575
1611
  * @param {string} walletId
1576
- * @param {VerifyInitUrlReq} [verifyInitUrlReq]
1612
+ * @param {VerifyInitRequest} [verifyInitRequest]
1577
1613
  * @param {*} [options] Override http request option.
1578
1614
  * @throws {RequiredError}
1579
1615
  */
1580
- oidcVerifyInitUrl(walletId: string, verifyInitUrlReq?: VerifyInitUrlReq, options?: any): AxiosPromise<VerifyInitUrlResp>;
1616
+ oidcVerifyInitUrl(walletId: string, verifyInitRequest?: VerifyInitRequest, options?: any): AxiosPromise<VerifyInitResponse>;
1581
1617
  /**
1582
1618
  * Provides wallet details
1583
1619
  * @param {string} walletId
@@ -1686,12 +1722,12 @@ export declare class DefaultApi extends BaseAPI {
1686
1722
  /**
1687
1723
  * Creates an authorized credential offer (deferred or instant) for holder-initiated credential request using provided parameters. The offer is an URL that the creator should provide to the client via a redirect, link, or QR code.
1688
1724
  * @param {string} walletId
1689
- * @param {HolderAuthOfferCreationReq} [holderAuthOfferCreationReq]
1725
+ * @param {HolderAuthOfferCreationRequest} [holderAuthOfferCreationRequest]
1690
1726
  * @param {*} [options] Override http request option.
1691
1727
  * @throws {RequiredError}
1692
1728
  * @memberof DefaultApi
1693
1729
  */
1694
- holderCreateAuthOffer(walletId: string, holderAuthOfferCreationReq?: HolderAuthOfferCreationReq, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1730
+ holderCreateAuthOffer(walletId: string, holderAuthOfferCreationRequest?: HolderAuthOfferCreationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1695
1731
  /**
1696
1732
  * Returns verifiable credential format and types that are supported by the issuer. - format: the verifiable credential format (for example \"jwt_vc\") - type: a list of strings that define supported verifiable credential type(s)
1697
1733
  * @param {string} url
@@ -1713,12 +1749,12 @@ export declare class DefaultApi extends BaseAPI {
1713
1749
  * Add already created VC to issuance queue for a specified client using authorized in-time or deferred flow.
1714
1750
  * @param {string} credentialId
1715
1751
  * @param {string} walletId
1716
- * @param {IssuanceQueueCredAdd} [issuanceQueueCredAdd]
1752
+ * @param {IssuanceQueueCredentialAdd} [issuanceQueueCredentialAdd]
1717
1753
  * @param {*} [options] Override http request option.
1718
1754
  * @throws {RequiredError}
1719
1755
  * @memberof DefaultApi
1720
1756
  */
1721
- oidcAddCredToIssuanceQueue(credentialId: string, walletId: string, issuanceQueueCredAdd?: IssuanceQueueCredAdd, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1757
+ oidcAddCredToIssuanceQueue(credentialId: string, walletId: string, issuanceQueueCredentialAdd?: IssuanceQueueCredentialAdd, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1722
1758
  /**
1723
1759
  * Creates an ID token request.
1724
1760
  * @param {string} walletId
@@ -1753,7 +1789,7 @@ export declare class DefaultApi extends BaseAPI {
1753
1789
  * @throws {RequiredError}
1754
1790
  * @memberof DefaultApi
1755
1791
  */
1756
- oidcInitiatePreauth(walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PreauthOffer, any>>;
1792
+ oidcInitiatePreauth(walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PreAuthOffer, any>>;
1757
1793
  /**
1758
1794
  * Initiates a presentation of credentials to a verifier.
1759
1795
  * @param {string} walletId
@@ -1766,21 +1802,21 @@ export declare class DefaultApi extends BaseAPI {
1766
1802
  /**
1767
1803
  * Responds to an ID token request
1768
1804
  * @param {string} walletId
1769
- * @param {IdTokenSendReq} [idTokenSendReq]
1805
+ * @param {IdTokenSendRequest} [idTokenSendRequest]
1770
1806
  * @param {*} [options] Override http request option.
1771
1807
  * @throws {RequiredError}
1772
1808
  * @memberof DefaultApi
1773
1809
  */
1774
- oidcSendIdToken(walletId: string, idTokenSendReq?: IdTokenSendReq, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1810
+ oidcSendIdToken(walletId: string, idTokenSendRequest?: IdTokenSendRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1775
1811
  /**
1776
1812
  * Returns an url where verifier accepts presentations.
1777
1813
  * @param {string} walletId
1778
- * @param {VerifyInitUrlReq} [verifyInitUrlReq]
1814
+ * @param {VerifyInitRequest} [verifyInitRequest]
1779
1815
  * @param {*} [options] Override http request option.
1780
1816
  * @throws {RequiredError}
1781
1817
  * @memberof DefaultApi
1782
1818
  */
1783
- oidcVerifyInitUrl(walletId: string, verifyInitUrlReq?: VerifyInitUrlReq, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyInitUrlResp, any>>;
1819
+ oidcVerifyInitUrl(walletId: string, verifyInitRequest?: VerifyInitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyInitResponse, any>>;
1784
1820
  /**
1785
1821
  * Provides wallet details
1786
1822
  * @param {string} walletId
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.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.SystemImpactStatusEnum = exports.HealthStatusStatusEnum = exports.DeferredStatusEnum = exports.CredentialMetadataStatusEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.CredentialIssuerDefinitionCredentialFormatEnum = void 0;
28
+ exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WalletNotificationEventTypeEnum = exports.SystemImpactStatusEnum = exports.HealthStatusStatusEnum = exports.DeferredStatusEnum = exports.CredentialMetadataStatusEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.CredentialIssuerDefinitionCredentialFormatEnum = 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,6 +59,10 @@ exports.SystemImpactStatusEnum = {
59
59
  Limited: 'limited',
60
60
  Critical: 'critical'
61
61
  };
62
+ exports.WalletNotificationEventTypeEnum = {
63
+ VpVerified: 'vp.verified',
64
+ IdTokenReceived: 'idToken.received'
65
+ };
62
66
  /**
63
67
  * DefaultApi - axios parameter creator
64
68
  * @export
@@ -342,11 +346,11 @@ const DefaultApiAxiosParamCreator = function (configuration) {
342
346
  /**
343
347
  * Creates an authorized credential offer (deferred or instant) for holder-initiated credential request using provided parameters. The offer is an URL that the creator should provide to the client via a redirect, link, or QR code.
344
348
  * @param {string} walletId
345
- * @param {HolderAuthOfferCreationReq} [holderAuthOfferCreationReq]
349
+ * @param {HolderAuthOfferCreationRequest} [holderAuthOfferCreationRequest]
346
350
  * @param {*} [options] Override http request option.
347
351
  * @throws {RequiredError}
348
352
  */
349
- holderCreateAuthOffer: (walletId, holderAuthOfferCreationReq, options = {}) => __awaiter(this, void 0, void 0, function* () {
353
+ holderCreateAuthOffer: (walletId, holderAuthOfferCreationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
350
354
  // verify required parameter 'walletId' is not null or undefined
351
355
  (0, common_1.assertParamExists)('holderCreateAuthOffer', 'walletId', walletId);
352
356
  const localVarPath = `/offer/create/intime`;
@@ -369,7 +373,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
369
373
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
370
374
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
371
375
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
372
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(holderAuthOfferCreationReq, localVarRequestOptions, configuration);
376
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(holderAuthOfferCreationRequest, localVarRequestOptions, configuration);
373
377
  return {
374
378
  url: (0, common_1.toPathString)(localVarUrlObj),
375
379
  options: localVarRequestOptions,
@@ -415,7 +419,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
415
419
  oidcAcceptOffer: (walletId, vcOffer, options = {}) => __awaiter(this, void 0, void 0, function* () {
416
420
  // verify required parameter 'walletId' is not null or undefined
417
421
  (0, common_1.assertParamExists)('oidcAcceptOffer', 'walletId', walletId);
418
- const localVarPath = `/offer/accept`;
422
+ const localVarPath = `/holder/offer/accept`;
419
423
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
420
424
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
421
425
  let baseOptions;
@@ -445,11 +449,11 @@ const DefaultApiAxiosParamCreator = function (configuration) {
445
449
  * Add already created VC to issuance queue for a specified client using authorized in-time or deferred flow.
446
450
  * @param {string} credentialId
447
451
  * @param {string} walletId
448
- * @param {IssuanceQueueCredAdd} [issuanceQueueCredAdd]
452
+ * @param {IssuanceQueueCredentialAdd} [issuanceQueueCredentialAdd]
449
453
  * @param {*} [options] Override http request option.
450
454
  * @throws {RequiredError}
451
455
  */
452
- oidcAddCredToIssuanceQueue: (credentialId, walletId, issuanceQueueCredAdd, options = {}) => __awaiter(this, void 0, void 0, function* () {
456
+ oidcAddCredToIssuanceQueue: (credentialId, walletId, issuanceQueueCredentialAdd, options = {}) => __awaiter(this, void 0, void 0, function* () {
453
457
  // verify required parameter 'credentialId' is not null or undefined
454
458
  (0, common_1.assertParamExists)('oidcAddCredToIssuanceQueue', 'credentialId', credentialId);
455
459
  // verify required parameter 'walletId' is not null or undefined
@@ -475,7 +479,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
475
479
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
476
480
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
477
481
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
478
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(issuanceQueueCredAdd, localVarRequestOptions, configuration);
482
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(issuanceQueueCredentialAdd, localVarRequestOptions, configuration);
479
483
  return {
480
484
  url: (0, common_1.toPathString)(localVarUrlObj),
481
485
  options: localVarRequestOptions,
@@ -661,14 +665,14 @@ const DefaultApiAxiosParamCreator = function (configuration) {
661
665
  /**
662
666
  * Responds to an ID token request
663
667
  * @param {string} walletId
664
- * @param {IdTokenSendReq} [idTokenSendReq]
668
+ * @param {IdTokenSendRequest} [idTokenSendRequest]
665
669
  * @param {*} [options] Override http request option.
666
670
  * @throws {RequiredError}
667
671
  */
668
- oidcSendIdToken: (walletId, idTokenSendReq, options = {}) => __awaiter(this, void 0, void 0, function* () {
672
+ oidcSendIdToken: (walletId, idTokenSendRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
669
673
  // verify required parameter 'walletId' is not null or undefined
670
674
  (0, common_1.assertParamExists)('oidcSendIdToken', 'walletId', walletId);
671
- const localVarPath = `/id-token/send`;
675
+ const localVarPath = `/holder/id-token/send`;
672
676
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
673
677
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
674
678
  let baseOptions;
@@ -678,6 +682,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
678
682
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
679
683
  const localVarHeaderParameter = {};
680
684
  const localVarQueryParameter = {};
685
+ // authentication accessToken required
686
+ // http bearer authentication required
687
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
681
688
  if (walletId != null) {
682
689
  localVarHeaderParameter['wallet-id'] = String(walletId);
683
690
  }
@@ -685,7 +692,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
685
692
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
686
693
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
687
694
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
688
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(idTokenSendReq, localVarRequestOptions, configuration);
695
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(idTokenSendRequest, localVarRequestOptions, configuration);
689
696
  return {
690
697
  url: (0, common_1.toPathString)(localVarUrlObj),
691
698
  options: localVarRequestOptions,
@@ -694,14 +701,14 @@ const DefaultApiAxiosParamCreator = function (configuration) {
694
701
  /**
695
702
  * Returns an url where verifier accepts presentations.
696
703
  * @param {string} walletId
697
- * @param {VerifyInitUrlReq} [verifyInitUrlReq]
704
+ * @param {VerifyInitRequest} [verifyInitRequest]
698
705
  * @param {*} [options] Override http request option.
699
706
  * @throws {RequiredError}
700
707
  */
701
- oidcVerifyInitUrl: (walletId, verifyInitUrlReq, options = {}) => __awaiter(this, void 0, void 0, function* () {
708
+ oidcVerifyInitUrl: (walletId, verifyInitRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
702
709
  // verify required parameter 'walletId' is not null or undefined
703
710
  (0, common_1.assertParamExists)('oidcVerifyInitUrl', 'walletId', walletId);
704
- const localVarPath = `/verifier/init-url`;
711
+ const localVarPath = `/verifier/init`;
705
712
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
706
713
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
707
714
  let baseOptions;
@@ -718,7 +725,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
718
725
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
719
726
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
720
727
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
721
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(verifyInitUrlReq, localVarRequestOptions, configuration);
728
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(verifyInitRequest, localVarRequestOptions, configuration);
722
729
  return {
723
730
  url: (0, common_1.toPathString)(localVarUrlObj),
724
731
  options: localVarRequestOptions,
@@ -987,14 +994,14 @@ const DefaultApiFp = function (configuration) {
987
994
  /**
988
995
  * Creates an authorized credential offer (deferred or instant) for holder-initiated credential request using provided parameters. The offer is an URL that the creator should provide to the client via a redirect, link, or QR code.
989
996
  * @param {string} walletId
990
- * @param {HolderAuthOfferCreationReq} [holderAuthOfferCreationReq]
997
+ * @param {HolderAuthOfferCreationRequest} [holderAuthOfferCreationRequest]
991
998
  * @param {*} [options] Override http request option.
992
999
  * @throws {RequiredError}
993
1000
  */
994
- holderCreateAuthOffer(walletId, holderAuthOfferCreationReq, options) {
1001
+ holderCreateAuthOffer(walletId, holderAuthOfferCreationRequest, options) {
995
1002
  var _a, _b, _c;
996
1003
  return __awaiter(this, void 0, void 0, function* () {
997
- const localVarAxiosArgs = yield localVarAxiosParamCreator.holderCreateAuthOffer(walletId, holderAuthOfferCreationReq, options);
1004
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.holderCreateAuthOffer(walletId, holderAuthOfferCreationRequest, options);
998
1005
  const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
999
1006
  const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.holderCreateAuthOffer']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1000
1007
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
@@ -1035,14 +1042,14 @@ const DefaultApiFp = function (configuration) {
1035
1042
  * Add already created VC to issuance queue for a specified client using authorized in-time or deferred flow.
1036
1043
  * @param {string} credentialId
1037
1044
  * @param {string} walletId
1038
- * @param {IssuanceQueueCredAdd} [issuanceQueueCredAdd]
1045
+ * @param {IssuanceQueueCredentialAdd} [issuanceQueueCredentialAdd]
1039
1046
  * @param {*} [options] Override http request option.
1040
1047
  * @throws {RequiredError}
1041
1048
  */
1042
- oidcAddCredToIssuanceQueue(credentialId, walletId, issuanceQueueCredAdd, options) {
1049
+ oidcAddCredToIssuanceQueue(credentialId, walletId, issuanceQueueCredentialAdd, options) {
1043
1050
  var _a, _b, _c;
1044
1051
  return __awaiter(this, void 0, void 0, function* () {
1045
- const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcAddCredToIssuanceQueue(credentialId, walletId, issuanceQueueCredAdd, options);
1052
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcAddCredToIssuanceQueue(credentialId, walletId, issuanceQueueCredentialAdd, options);
1046
1053
  const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1047
1054
  const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcAddCredToIssuanceQueue']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1048
1055
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
@@ -1130,14 +1137,14 @@ const DefaultApiFp = function (configuration) {
1130
1137
  /**
1131
1138
  * Responds to an ID token request
1132
1139
  * @param {string} walletId
1133
- * @param {IdTokenSendReq} [idTokenSendReq]
1140
+ * @param {IdTokenSendRequest} [idTokenSendRequest]
1134
1141
  * @param {*} [options] Override http request option.
1135
1142
  * @throws {RequiredError}
1136
1143
  */
1137
- oidcSendIdToken(walletId, idTokenSendReq, options) {
1144
+ oidcSendIdToken(walletId, idTokenSendRequest, options) {
1138
1145
  var _a, _b, _c;
1139
1146
  return __awaiter(this, void 0, void 0, function* () {
1140
- const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcSendIdToken(walletId, idTokenSendReq, options);
1147
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcSendIdToken(walletId, idTokenSendRequest, options);
1141
1148
  const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1142
1149
  const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcSendIdToken']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1143
1150
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
@@ -1146,14 +1153,14 @@ const DefaultApiFp = function (configuration) {
1146
1153
  /**
1147
1154
  * Returns an url where verifier accepts presentations.
1148
1155
  * @param {string} walletId
1149
- * @param {VerifyInitUrlReq} [verifyInitUrlReq]
1156
+ * @param {VerifyInitRequest} [verifyInitRequest]
1150
1157
  * @param {*} [options] Override http request option.
1151
1158
  * @throws {RequiredError}
1152
1159
  */
1153
- oidcVerifyInitUrl(walletId, verifyInitUrlReq, options) {
1160
+ oidcVerifyInitUrl(walletId, verifyInitRequest, options) {
1154
1161
  var _a, _b, _c;
1155
1162
  return __awaiter(this, void 0, void 0, function* () {
1156
- const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcVerifyInitUrl(walletId, verifyInitUrlReq, options);
1163
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcVerifyInitUrl(walletId, verifyInitRequest, options);
1157
1164
  const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1158
1165
  const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcVerifyInitUrl']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1159
1166
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
@@ -1309,12 +1316,12 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1309
1316
  /**
1310
1317
  * Creates an authorized credential offer (deferred or instant) for holder-initiated credential request using provided parameters. The offer is an URL that the creator should provide to the client via a redirect, link, or QR code.
1311
1318
  * @param {string} walletId
1312
- * @param {HolderAuthOfferCreationReq} [holderAuthOfferCreationReq]
1319
+ * @param {HolderAuthOfferCreationRequest} [holderAuthOfferCreationRequest]
1313
1320
  * @param {*} [options] Override http request option.
1314
1321
  * @throws {RequiredError}
1315
1322
  */
1316
- holderCreateAuthOffer(walletId, holderAuthOfferCreationReq, options) {
1317
- return localVarFp.holderCreateAuthOffer(walletId, holderAuthOfferCreationReq, options).then((request) => request(axios, basePath));
1323
+ holderCreateAuthOffer(walletId, holderAuthOfferCreationRequest, options) {
1324
+ return localVarFp.holderCreateAuthOffer(walletId, holderAuthOfferCreationRequest, options).then((request) => request(axios, basePath));
1318
1325
  },
1319
1326
  /**
1320
1327
  * Returns verifiable credential format and types that are supported by the issuer. - format: the verifiable credential format (for example \"jwt_vc\") - type: a list of strings that define supported verifiable credential type(s)
@@ -1339,12 +1346,12 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1339
1346
  * Add already created VC to issuance queue for a specified client using authorized in-time or deferred flow.
1340
1347
  * @param {string} credentialId
1341
1348
  * @param {string} walletId
1342
- * @param {IssuanceQueueCredAdd} [issuanceQueueCredAdd]
1349
+ * @param {IssuanceQueueCredentialAdd} [issuanceQueueCredentialAdd]
1343
1350
  * @param {*} [options] Override http request option.
1344
1351
  * @throws {RequiredError}
1345
1352
  */
1346
- oidcAddCredToIssuanceQueue(credentialId, walletId, issuanceQueueCredAdd, options) {
1347
- return localVarFp.oidcAddCredToIssuanceQueue(credentialId, walletId, issuanceQueueCredAdd, options).then((request) => request(axios, basePath));
1353
+ oidcAddCredToIssuanceQueue(credentialId, walletId, issuanceQueueCredentialAdd, options) {
1354
+ return localVarFp.oidcAddCredToIssuanceQueue(credentialId, walletId, issuanceQueueCredentialAdd, options).then((request) => request(axios, basePath));
1348
1355
  },
1349
1356
  /**
1350
1357
  * Creates an ID token request.
@@ -1398,22 +1405,22 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1398
1405
  /**
1399
1406
  * Responds to an ID token request
1400
1407
  * @param {string} walletId
1401
- * @param {IdTokenSendReq} [idTokenSendReq]
1408
+ * @param {IdTokenSendRequest} [idTokenSendRequest]
1402
1409
  * @param {*} [options] Override http request option.
1403
1410
  * @throws {RequiredError}
1404
1411
  */
1405
- oidcSendIdToken(walletId, idTokenSendReq, options) {
1406
- return localVarFp.oidcSendIdToken(walletId, idTokenSendReq, options).then((request) => request(axios, basePath));
1412
+ oidcSendIdToken(walletId, idTokenSendRequest, options) {
1413
+ return localVarFp.oidcSendIdToken(walletId, idTokenSendRequest, options).then((request) => request(axios, basePath));
1407
1414
  },
1408
1415
  /**
1409
1416
  * Returns an url where verifier accepts presentations.
1410
1417
  * @param {string} walletId
1411
- * @param {VerifyInitUrlReq} [verifyInitUrlReq]
1418
+ * @param {VerifyInitRequest} [verifyInitRequest]
1412
1419
  * @param {*} [options] Override http request option.
1413
1420
  * @throws {RequiredError}
1414
1421
  */
1415
- oidcVerifyInitUrl(walletId, verifyInitUrlReq, options) {
1416
- return localVarFp.oidcVerifyInitUrl(walletId, verifyInitUrlReq, options).then((request) => request(axios, basePath));
1422
+ oidcVerifyInitUrl(walletId, verifyInitRequest, options) {
1423
+ return localVarFp.oidcVerifyInitUrl(walletId, verifyInitRequest, options).then((request) => request(axios, basePath));
1417
1424
  },
1418
1425
  /**
1419
1426
  * Provides wallet details
@@ -1549,13 +1556,13 @@ class DefaultApi extends base_1.BaseAPI {
1549
1556
  /**
1550
1557
  * Creates an authorized credential offer (deferred or instant) for holder-initiated credential request using provided parameters. The offer is an URL that the creator should provide to the client via a redirect, link, or QR code.
1551
1558
  * @param {string} walletId
1552
- * @param {HolderAuthOfferCreationReq} [holderAuthOfferCreationReq]
1559
+ * @param {HolderAuthOfferCreationRequest} [holderAuthOfferCreationRequest]
1553
1560
  * @param {*} [options] Override http request option.
1554
1561
  * @throws {RequiredError}
1555
1562
  * @memberof DefaultApi
1556
1563
  */
1557
- holderCreateAuthOffer(walletId, holderAuthOfferCreationReq, options) {
1558
- return (0, exports.DefaultApiFp)(this.configuration).holderCreateAuthOffer(walletId, holderAuthOfferCreationReq, options).then((request) => request(this.axios, this.basePath));
1564
+ holderCreateAuthOffer(walletId, holderAuthOfferCreationRequest, options) {
1565
+ return (0, exports.DefaultApiFp)(this.configuration).holderCreateAuthOffer(walletId, holderAuthOfferCreationRequest, options).then((request) => request(this.axios, this.basePath));
1559
1566
  }
1560
1567
  /**
1561
1568
  * Returns verifiable credential format and types that are supported by the issuer. - format: the verifiable credential format (for example \"jwt_vc\") - type: a list of strings that define supported verifiable credential type(s)
@@ -1582,13 +1589,13 @@ class DefaultApi extends base_1.BaseAPI {
1582
1589
  * Add already created VC to issuance queue for a specified client using authorized in-time or deferred flow.
1583
1590
  * @param {string} credentialId
1584
1591
  * @param {string} walletId
1585
- * @param {IssuanceQueueCredAdd} [issuanceQueueCredAdd]
1592
+ * @param {IssuanceQueueCredentialAdd} [issuanceQueueCredentialAdd]
1586
1593
  * @param {*} [options] Override http request option.
1587
1594
  * @throws {RequiredError}
1588
1595
  * @memberof DefaultApi
1589
1596
  */
1590
- oidcAddCredToIssuanceQueue(credentialId, walletId, issuanceQueueCredAdd, options) {
1591
- return (0, exports.DefaultApiFp)(this.configuration).oidcAddCredToIssuanceQueue(credentialId, walletId, issuanceQueueCredAdd, options).then((request) => request(this.axios, this.basePath));
1597
+ oidcAddCredToIssuanceQueue(credentialId, walletId, issuanceQueueCredentialAdd, options) {
1598
+ return (0, exports.DefaultApiFp)(this.configuration).oidcAddCredToIssuanceQueue(credentialId, walletId, issuanceQueueCredentialAdd, options).then((request) => request(this.axios, this.basePath));
1592
1599
  }
1593
1600
  /**
1594
1601
  * Creates an ID token request.
@@ -1647,24 +1654,24 @@ class DefaultApi extends base_1.BaseAPI {
1647
1654
  /**
1648
1655
  * Responds to an ID token request
1649
1656
  * @param {string} walletId
1650
- * @param {IdTokenSendReq} [idTokenSendReq]
1657
+ * @param {IdTokenSendRequest} [idTokenSendRequest]
1651
1658
  * @param {*} [options] Override http request option.
1652
1659
  * @throws {RequiredError}
1653
1660
  * @memberof DefaultApi
1654
1661
  */
1655
- oidcSendIdToken(walletId, idTokenSendReq, options) {
1656
- return (0, exports.DefaultApiFp)(this.configuration).oidcSendIdToken(walletId, idTokenSendReq, options).then((request) => request(this.axios, this.basePath));
1662
+ oidcSendIdToken(walletId, idTokenSendRequest, options) {
1663
+ return (0, exports.DefaultApiFp)(this.configuration).oidcSendIdToken(walletId, idTokenSendRequest, options).then((request) => request(this.axios, this.basePath));
1657
1664
  }
1658
1665
  /**
1659
1666
  * Returns an url where verifier accepts presentations.
1660
1667
  * @param {string} walletId
1661
- * @param {VerifyInitUrlReq} [verifyInitUrlReq]
1668
+ * @param {VerifyInitRequest} [verifyInitRequest]
1662
1669
  * @param {*} [options] Override http request option.
1663
1670
  * @throws {RequiredError}
1664
1671
  * @memberof DefaultApi
1665
1672
  */
1666
- oidcVerifyInitUrl(walletId, verifyInitUrlReq, options) {
1667
- return (0, exports.DefaultApiFp)(this.configuration).oidcVerifyInitUrl(walletId, verifyInitUrlReq, options).then((request) => request(this.axios, this.basePath));
1673
+ oidcVerifyInitUrl(walletId, verifyInitRequest, options) {
1674
+ return (0, exports.DefaultApiFp)(this.configuration).oidcVerifyInitUrl(walletId, verifyInitRequest, options).then((request) => request(this.axios, this.basePath));
1668
1675
  }
1669
1676
  /**
1670
1677
  * Provides wallet details
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@triveria/wallet",
3
3
  "private": false,
4
- "version": "0.0.36",
4
+ "version": "0.0.38",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {