@triveria/wallet 0.0.238 → 0.0.240
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.d.ts +36 -8
- package/api.js +20 -13
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -62,6 +62,12 @@ export interface AuthOffer {
|
|
|
62
62
|
* @memberof AuthOffer
|
|
63
63
|
*/
|
|
64
64
|
'validUntil': string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof AuthOffer
|
|
69
|
+
*/
|
|
70
|
+
'offerId': string;
|
|
65
71
|
}
|
|
66
72
|
/**
|
|
67
73
|
* Accompanying information about the verifiable credential draft - schema, type, format etc.
|
|
@@ -210,6 +216,12 @@ export interface CredentialIssuedNotification {
|
|
|
210
216
|
* @memberof CredentialIssuedNotification
|
|
211
217
|
*/
|
|
212
218
|
'holderDid': string;
|
|
219
|
+
/**
|
|
220
|
+
*
|
|
221
|
+
* @type {string}
|
|
222
|
+
* @memberof CredentialIssuedNotification
|
|
223
|
+
*/
|
|
224
|
+
'offerId': string;
|
|
213
225
|
/**
|
|
214
226
|
*
|
|
215
227
|
* @type {string}
|
|
@@ -1504,6 +1516,12 @@ export interface OfferReceivedNotification {
|
|
|
1504
1516
|
* @memberof OfferReceivedNotification
|
|
1505
1517
|
*/
|
|
1506
1518
|
'holderDid': string;
|
|
1519
|
+
/**
|
|
1520
|
+
*
|
|
1521
|
+
* @type {string}
|
|
1522
|
+
* @memberof OfferReceivedNotification
|
|
1523
|
+
*/
|
|
1524
|
+
'offerId': string;
|
|
1507
1525
|
/**
|
|
1508
1526
|
*
|
|
1509
1527
|
* @type {string}
|
|
@@ -1589,6 +1607,12 @@ export interface PreAuthOffer {
|
|
|
1589
1607
|
* @memberof PreAuthOffer
|
|
1590
1608
|
*/
|
|
1591
1609
|
'validUntil': string;
|
|
1610
|
+
/**
|
|
1611
|
+
*
|
|
1612
|
+
* @type {string}
|
|
1613
|
+
* @memberof PreAuthOffer
|
|
1614
|
+
*/
|
|
1615
|
+
'offerId': string;
|
|
1592
1616
|
}
|
|
1593
1617
|
/**
|
|
1594
1618
|
* Prepares to accredit legal entity\'s DID
|
|
@@ -2689,11 +2713,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2689
2713
|
/**
|
|
2690
2714
|
* Gets a specific notification by state
|
|
2691
2715
|
* @param {string} walletId Wallet ID
|
|
2692
|
-
* @param {string} state
|
|
2716
|
+
* @param {string} state Event identifier
|
|
2717
|
+
* @param {string} eventType Event type
|
|
2693
2718
|
* @param {*} [options] Override http request option.
|
|
2694
2719
|
* @throws {RequiredError}
|
|
2695
2720
|
*/
|
|
2696
|
-
walletNotificationGetByState: (walletId: string, state: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2721
|
+
walletNotificationGetByState: (walletId: string, state: string, eventType: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2697
2722
|
/**
|
|
2698
2723
|
* Provides wallet notifications that can be used to audit the wallet activity.
|
|
2699
2724
|
* @param {string} walletId Wallet ID
|
|
@@ -3067,11 +3092,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3067
3092
|
/**
|
|
3068
3093
|
* Gets a specific notification by state
|
|
3069
3094
|
* @param {string} walletId Wallet ID
|
|
3070
|
-
* @param {string} state
|
|
3095
|
+
* @param {string} state Event identifier
|
|
3096
|
+
* @param {string} eventType Event type
|
|
3071
3097
|
* @param {*} [options] Override http request option.
|
|
3072
3098
|
* @throws {RequiredError}
|
|
3073
3099
|
*/
|
|
3074
|
-
walletNotificationGetByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletNotification>>;
|
|
3100
|
+
walletNotificationGetByState(walletId: string, state: string, eventType: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletNotification>>;
|
|
3075
3101
|
/**
|
|
3076
3102
|
* Provides wallet notifications that can be used to audit the wallet activity.
|
|
3077
3103
|
* @param {string} walletId Wallet ID
|
|
@@ -3445,11 +3471,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3445
3471
|
/**
|
|
3446
3472
|
* Gets a specific notification by state
|
|
3447
3473
|
* @param {string} walletId Wallet ID
|
|
3448
|
-
* @param {string} state
|
|
3474
|
+
* @param {string} state Event identifier
|
|
3475
|
+
* @param {string} eventType Event type
|
|
3449
3476
|
* @param {*} [options] Override http request option.
|
|
3450
3477
|
* @throws {RequiredError}
|
|
3451
3478
|
*/
|
|
3452
|
-
walletNotificationGetByState(walletId: string, state: string, options?: RawAxiosRequestConfig): AxiosPromise<WalletNotification>;
|
|
3479
|
+
walletNotificationGetByState(walletId: string, state: string, eventType: string, options?: RawAxiosRequestConfig): AxiosPromise<WalletNotification>;
|
|
3453
3480
|
/**
|
|
3454
3481
|
* Provides wallet notifications that can be used to audit the wallet activity.
|
|
3455
3482
|
* @param {string} walletId Wallet ID
|
|
@@ -3865,12 +3892,13 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3865
3892
|
/**
|
|
3866
3893
|
* Gets a specific notification by state
|
|
3867
3894
|
* @param {string} walletId Wallet ID
|
|
3868
|
-
* @param {string} state
|
|
3895
|
+
* @param {string} state Event identifier
|
|
3896
|
+
* @param {string} eventType Event type
|
|
3869
3897
|
* @param {*} [options] Override http request option.
|
|
3870
3898
|
* @throws {RequiredError}
|
|
3871
3899
|
* @memberof DefaultApi
|
|
3872
3900
|
*/
|
|
3873
|
-
walletNotificationGetByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletNotification, any>>;
|
|
3901
|
+
walletNotificationGetByState(walletId: string, state: string, eventType: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletNotification, any>>;
|
|
3874
3902
|
/**
|
|
3875
3903
|
* Provides wallet notifications that can be used to audit the wallet activity.
|
|
3876
3904
|
* @param {string} walletId Wallet ID
|
package/api.js
CHANGED
|
@@ -1583,18 +1583,22 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1583
1583
|
/**
|
|
1584
1584
|
* Gets a specific notification by state
|
|
1585
1585
|
* @param {string} walletId Wallet ID
|
|
1586
|
-
* @param {string} state
|
|
1586
|
+
* @param {string} state Event identifier
|
|
1587
|
+
* @param {string} eventType Event type
|
|
1587
1588
|
* @param {*} [options] Override http request option.
|
|
1588
1589
|
* @throws {RequiredError}
|
|
1589
1590
|
*/
|
|
1590
|
-
walletNotificationGetByState: (walletId, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1591
|
+
walletNotificationGetByState: (walletId, state, eventType, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1591
1592
|
// verify required parameter 'walletId' is not null or undefined
|
|
1592
1593
|
(0, common_1.assertParamExists)('walletNotificationGetByState', 'walletId', walletId);
|
|
1593
1594
|
// verify required parameter 'state' is not null or undefined
|
|
1594
1595
|
(0, common_1.assertParamExists)('walletNotificationGetByState', 'state', state);
|
|
1595
|
-
|
|
1596
|
+
// verify required parameter 'eventType' is not null or undefined
|
|
1597
|
+
(0, common_1.assertParamExists)('walletNotificationGetByState', 'eventType', eventType);
|
|
1598
|
+
const localVarPath = `/wallets/{wallet_id}/notification_history/{event_type}/{state}`
|
|
1596
1599
|
.replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)))
|
|
1597
|
-
.replace(`{${"state"}}`, encodeURIComponent(String(state)))
|
|
1600
|
+
.replace(`{${"state"}}`, encodeURIComponent(String(state)))
|
|
1601
|
+
.replace(`{${"event_type"}}`, encodeURIComponent(String(eventType)));
|
|
1598
1602
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1599
1603
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1600
1604
|
let baseOptions;
|
|
@@ -2450,14 +2454,15 @@ const DefaultApiFp = function (configuration) {
|
|
|
2450
2454
|
/**
|
|
2451
2455
|
* Gets a specific notification by state
|
|
2452
2456
|
* @param {string} walletId Wallet ID
|
|
2453
|
-
* @param {string} state
|
|
2457
|
+
* @param {string} state Event identifier
|
|
2458
|
+
* @param {string} eventType Event type
|
|
2454
2459
|
* @param {*} [options] Override http request option.
|
|
2455
2460
|
* @throws {RequiredError}
|
|
2456
2461
|
*/
|
|
2457
|
-
walletNotificationGetByState(walletId, state, options) {
|
|
2462
|
+
walletNotificationGetByState(walletId, state, eventType, options) {
|
|
2458
2463
|
var _a, _b, _c;
|
|
2459
2464
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2460
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletNotificationGetByState(walletId, state, options);
|
|
2465
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletNotificationGetByState(walletId, state, eventType, options);
|
|
2461
2466
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2462
2467
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletNotificationGetByState']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2463
2468
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2958,12 +2963,13 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2958
2963
|
/**
|
|
2959
2964
|
* Gets a specific notification by state
|
|
2960
2965
|
* @param {string} walletId Wallet ID
|
|
2961
|
-
* @param {string} state
|
|
2966
|
+
* @param {string} state Event identifier
|
|
2967
|
+
* @param {string} eventType Event type
|
|
2962
2968
|
* @param {*} [options] Override http request option.
|
|
2963
2969
|
* @throws {RequiredError}
|
|
2964
2970
|
*/
|
|
2965
|
-
walletNotificationGetByState(walletId, state, options) {
|
|
2966
|
-
return localVarFp.walletNotificationGetByState(walletId, state, options).then((request) => request(axios, basePath));
|
|
2971
|
+
walletNotificationGetByState(walletId, state, eventType, options) {
|
|
2972
|
+
return localVarFp.walletNotificationGetByState(walletId, state, eventType, options).then((request) => request(axios, basePath));
|
|
2967
2973
|
},
|
|
2968
2974
|
/**
|
|
2969
2975
|
* Provides wallet notifications that can be used to audit the wallet activity.
|
|
@@ -3470,13 +3476,14 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3470
3476
|
/**
|
|
3471
3477
|
* Gets a specific notification by state
|
|
3472
3478
|
* @param {string} walletId Wallet ID
|
|
3473
|
-
* @param {string} state
|
|
3479
|
+
* @param {string} state Event identifier
|
|
3480
|
+
* @param {string} eventType Event type
|
|
3474
3481
|
* @param {*} [options] Override http request option.
|
|
3475
3482
|
* @throws {RequiredError}
|
|
3476
3483
|
* @memberof DefaultApi
|
|
3477
3484
|
*/
|
|
3478
|
-
walletNotificationGetByState(walletId, state, options) {
|
|
3479
|
-
return (0, exports.DefaultApiFp)(this.configuration).walletNotificationGetByState(walletId, state, options).then((request) => request(this.axios, this.basePath));
|
|
3485
|
+
walletNotificationGetByState(walletId, state, eventType, options) {
|
|
3486
|
+
return (0, exports.DefaultApiFp)(this.configuration).walletNotificationGetByState(walletId, state, eventType, options).then((request) => request(this.axios, this.basePath));
|
|
3480
3487
|
}
|
|
3481
3488
|
/**
|
|
3482
3489
|
* Provides wallet notifications that can be used to audit the wallet activity.
|