@triveria/wallet 0.0.155 → 0.0.157

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 +174 -36
  2. package/api.js +344 -34
  3. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -912,6 +912,16 @@ export interface Jwks {
912
912
  */
913
913
  'keys': Array<object>;
914
914
  }
915
+ /**
916
+ * Sort flag controls the sort direction by the time created
917
+ * @export
918
+ * @enum {string}
919
+ */
920
+ export declare const ListSort: {
921
+ readonly Asc: "asc";
922
+ readonly Desc: "desc";
923
+ };
924
+ export type ListSort = typeof ListSort[keyof typeof ListSort];
915
925
  /**
916
926
  * Common error message
917
927
  * @export
@@ -1665,13 +1675,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1665
1675
  * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
1666
1676
  * @param {number} [limit] The number of items
1667
1677
  * @param {string} [nextMarker] Marking the next set of items
1668
- * @param {CredentialListSortEnum} [sort] Sort flag controls the sort direction by the time updated or issued
1678
+ * @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
1669
1679
  * @param {string} [path] JSON path specification for the filter to apply
1670
1680
  * @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
1671
1681
  * @param {*} [options] Override http request option.
1672
1682
  * @throws {RequiredError}
1673
1683
  */
1674
- credentialList: (walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: CredentialListSortEnum, path?: string, filter?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1684
+ credentialList: (walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: ListSort, path?: string, filter?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1675
1685
  /**
1676
1686
  * Verifiable Credential metadata may be updated even after the credential was issued. It is available as a key value storage for a client to store any additional data for the credential.
1677
1687
  * @param {string} credentialId Verifiable Credential Identifier
@@ -1743,16 +1753,35 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1743
1753
  issuerCredentialTypesList: (url: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1744
1754
  /**
1745
1755
  *
1756
+ * @param {string} clientId
1757
+ * @param {string} redirectUri
1758
+ * @param {string} responseType
1759
+ * @param {string} state
1746
1760
  * @param {string} verifierState
1761
+ * @param {string} [nonce]
1762
+ * @param {*} [options] Override http request option.
1763
+ * @throws {RequiredError}
1764
+ */
1765
+ oauth2Auth: (clientId: string, redirectUri: string, responseType: string, state: string, verifierState: string, nonce?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1766
+ /**
1767
+ *
1747
1768
  * @param {string} clientId
1748
1769
  * @param {string} redirectUri
1749
1770
  * @param {string} responseType
1750
1771
  * @param {string} state
1772
+ * @param {string} scope
1751
1773
  * @param {string} [nonce]
1752
1774
  * @param {*} [options] Override http request option.
1753
1775
  * @throws {RequiredError}
1754
1776
  */
1755
- oauth2Auth: (verifierState: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1777
+ oauth2AuthGet: (clientId: string, redirectUri: string, responseType: string, state: string, scope: string, nonce?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1778
+ /**
1779
+ *
1780
+ * @param {string} code
1781
+ * @param {*} [options] Override http request option.
1782
+ * @throws {RequiredError}
1783
+ */
1784
+ oauth2Callback: (code: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1756
1785
  /**
1757
1786
  *
1758
1787
  * @param {*} [options] Override http request option.
@@ -1938,11 +1967,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1938
1967
  * @param {number} [limit] The number of items
1939
1968
  * @param {string} [nextMarker] Marking the next set of items
1940
1969
  * @param {Array<WalletNotificationEventType>} [type] Notification types
1941
- * @param {WalletNotificationHistorySortEnum} [sort] Sort flag controls the sort direction by the time created
1970
+ * @param {ListSort} [sort] Sort flag controls the sort direction by the time created
1942
1971
  * @param {*} [options] Override http request option.
1943
1972
  * @throws {RequiredError}
1944
1973
  */
1945
- walletNotificationHistory: (walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: WalletNotificationHistorySortEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1974
+ walletNotificationHistory: (walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1946
1975
  /**
1947
1976
  * Provides first-in-first-out queue of notifications for a specific wallet.
1948
1977
  * @param {string} walletId Wallet ID
@@ -1958,6 +1987,22 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1958
1987
  * @throws {RequiredError}
1959
1988
  */
1960
1989
  walletPatch: (walletId: string, wallet?: Wallet, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1990
+ /**
1991
+ * Gets a specific verified profile (claims) by state
1992
+ * @param {string} walletId Wallet ID
1993
+ * @param {string} state Verifier state
1994
+ * @param {*} [options] Override http request option.
1995
+ * @throws {RequiredError}
1996
+ */
1997
+ walletVerifiedProfileByState: (walletId: string, state: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1998
+ /**
1999
+ * Deletes a specific verified profile (claims) by state
2000
+ * @param {string} walletId Wallet ID
2001
+ * @param {string} state Verifier state
2002
+ * @param {*} [options] Override http request option.
2003
+ * @throws {RequiredError}
2004
+ */
2005
+ walletVerifiedProfileDeleteByState: (walletId: string, state: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1961
2006
  };
1962
2007
  /**
1963
2008
  * DefaultApi - functional programming interface
@@ -2010,13 +2055,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2010
2055
  * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
2011
2056
  * @param {number} [limit] The number of items
2012
2057
  * @param {string} [nextMarker] Marking the next set of items
2013
- * @param {CredentialListSortEnum} [sort] Sort flag controls the sort direction by the time updated or issued
2058
+ * @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
2014
2059
  * @param {string} [path] JSON path specification for the filter to apply
2015
2060
  * @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
2016
2061
  * @param {*} [options] Override http request option.
2017
2062
  * @throws {RequiredError}
2018
2063
  */
2019
- credentialList(walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: CredentialListSortEnum, path?: string, filter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CredentialList>>;
2064
+ credentialList(walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: ListSort, path?: string, filter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CredentialList>>;
2020
2065
  /**
2021
2066
  * Verifiable Credential metadata may be updated even after the credential was issued. It is available as a key value storage for a client to store any additional data for the credential.
2022
2067
  * @param {string} credentialId Verifiable Credential Identifier
@@ -2088,16 +2133,35 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2088
2133
  issuerCredentialTypesList(url: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CredentialType>>>;
2089
2134
  /**
2090
2135
  *
2136
+ * @param {string} clientId
2137
+ * @param {string} redirectUri
2138
+ * @param {string} responseType
2139
+ * @param {string} state
2091
2140
  * @param {string} verifierState
2141
+ * @param {string} [nonce]
2142
+ * @param {*} [options] Override http request option.
2143
+ * @throws {RequiredError}
2144
+ */
2145
+ oauth2Auth(clientId: string, redirectUri: string, responseType: string, state: string, verifierState: string, nonce?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Oauth2RedirectUri>>;
2146
+ /**
2147
+ *
2092
2148
  * @param {string} clientId
2093
2149
  * @param {string} redirectUri
2094
2150
  * @param {string} responseType
2095
2151
  * @param {string} state
2152
+ * @param {string} scope
2096
2153
  * @param {string} [nonce]
2097
2154
  * @param {*} [options] Override http request option.
2098
2155
  * @throws {RequiredError}
2099
2156
  */
2100
- oauth2Auth(verifierState: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Oauth2RedirectUri>>;
2157
+ oauth2AuthGet(clientId: string, redirectUri: string, responseType: string, state: string, scope: string, nonce?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2158
+ /**
2159
+ *
2160
+ * @param {string} code
2161
+ * @param {*} [options] Override http request option.
2162
+ * @throws {RequiredError}
2163
+ */
2164
+ oauth2Callback(code: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2101
2165
  /**
2102
2166
  *
2103
2167
  * @param {*} [options] Override http request option.
@@ -2283,11 +2347,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2283
2347
  * @param {number} [limit] The number of items
2284
2348
  * @param {string} [nextMarker] Marking the next set of items
2285
2349
  * @param {Array<WalletNotificationEventType>} [type] Notification types
2286
- * @param {WalletNotificationHistorySortEnum} [sort] Sort flag controls the sort direction by the time created
2350
+ * @param {ListSort} [sort] Sort flag controls the sort direction by the time created
2287
2351
  * @param {*} [options] Override http request option.
2288
2352
  * @throws {RequiredError}
2289
2353
  */
2290
- walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: WalletNotificationHistorySortEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletNotificationHistory>>;
2354
+ walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletNotificationHistory>>;
2291
2355
  /**
2292
2356
  * Provides first-in-first-out queue of notifications for a specific wallet.
2293
2357
  * @param {string} walletId Wallet ID
@@ -2303,6 +2367,22 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2303
2367
  * @throws {RequiredError}
2304
2368
  */
2305
2369
  walletPatch(walletId: string, wallet?: Wallet, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletIdObject>>;
2370
+ /**
2371
+ * Gets a specific verified profile (claims) by state
2372
+ * @param {string} walletId Wallet ID
2373
+ * @param {string} state Verifier state
2374
+ * @param {*} [options] Override http request option.
2375
+ * @throws {RequiredError}
2376
+ */
2377
+ walletVerifiedProfileByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Credential>>>;
2378
+ /**
2379
+ * Deletes a specific verified profile (claims) by state
2380
+ * @param {string} walletId Wallet ID
2381
+ * @param {string} state Verifier state
2382
+ * @param {*} [options] Override http request option.
2383
+ * @throws {RequiredError}
2384
+ */
2385
+ walletVerifiedProfileDeleteByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2306
2386
  };
2307
2387
  /**
2308
2388
  * DefaultApi - factory interface
@@ -2355,13 +2435,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2355
2435
  * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
2356
2436
  * @param {number} [limit] The number of items
2357
2437
  * @param {string} [nextMarker] Marking the next set of items
2358
- * @param {CredentialListSortEnum} [sort] Sort flag controls the sort direction by the time updated or issued
2438
+ * @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
2359
2439
  * @param {string} [path] JSON path specification for the filter to apply
2360
2440
  * @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
2361
2441
  * @param {*} [options] Override http request option.
2362
2442
  * @throws {RequiredError}
2363
2443
  */
2364
- credentialList(walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: CredentialListSortEnum, path?: string, filter?: string, options?: any): AxiosPromise<CredentialList>;
2444
+ credentialList(walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: ListSort, path?: string, filter?: string, options?: any): AxiosPromise<CredentialList>;
2365
2445
  /**
2366
2446
  * Verifiable Credential metadata may be updated even after the credential was issued. It is available as a key value storage for a client to store any additional data for the credential.
2367
2447
  * @param {string} credentialId Verifiable Credential Identifier
@@ -2433,16 +2513,35 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2433
2513
  issuerCredentialTypesList(url: string, options?: any): AxiosPromise<Array<CredentialType>>;
2434
2514
  /**
2435
2515
  *
2516
+ * @param {string} clientId
2517
+ * @param {string} redirectUri
2518
+ * @param {string} responseType
2519
+ * @param {string} state
2436
2520
  * @param {string} verifierState
2521
+ * @param {string} [nonce]
2522
+ * @param {*} [options] Override http request option.
2523
+ * @throws {RequiredError}
2524
+ */
2525
+ oauth2Auth(clientId: string, redirectUri: string, responseType: string, state: string, verifierState: string, nonce?: string, options?: any): AxiosPromise<Oauth2RedirectUri>;
2526
+ /**
2527
+ *
2437
2528
  * @param {string} clientId
2438
2529
  * @param {string} redirectUri
2439
2530
  * @param {string} responseType
2440
2531
  * @param {string} state
2532
+ * @param {string} scope
2441
2533
  * @param {string} [nonce]
2442
2534
  * @param {*} [options] Override http request option.
2443
2535
  * @throws {RequiredError}
2444
2536
  */
2445
- oauth2Auth(verifierState: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: any): AxiosPromise<Oauth2RedirectUri>;
2537
+ oauth2AuthGet(clientId: string, redirectUri: string, responseType: string, state: string, scope: string, nonce?: string, options?: any): AxiosPromise<void>;
2538
+ /**
2539
+ *
2540
+ * @param {string} code
2541
+ * @param {*} [options] Override http request option.
2542
+ * @throws {RequiredError}
2543
+ */
2544
+ oauth2Callback(code: string, options?: any): AxiosPromise<void>;
2446
2545
  /**
2447
2546
  *
2448
2547
  * @param {*} [options] Override http request option.
@@ -2628,11 +2727,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2628
2727
  * @param {number} [limit] The number of items
2629
2728
  * @param {string} [nextMarker] Marking the next set of items
2630
2729
  * @param {Array<WalletNotificationEventType>} [type] Notification types
2631
- * @param {WalletNotificationHistorySortEnum} [sort] Sort flag controls the sort direction by the time created
2730
+ * @param {ListSort} [sort] Sort flag controls the sort direction by the time created
2632
2731
  * @param {*} [options] Override http request option.
2633
2732
  * @throws {RequiredError}
2634
2733
  */
2635
- walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: WalletNotificationHistorySortEnum, options?: any): AxiosPromise<WalletNotificationHistory>;
2734
+ walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, options?: any): AxiosPromise<WalletNotificationHistory>;
2636
2735
  /**
2637
2736
  * Provides first-in-first-out queue of notifications for a specific wallet.
2638
2737
  * @param {string} walletId Wallet ID
@@ -2648,6 +2747,22 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2648
2747
  * @throws {RequiredError}
2649
2748
  */
2650
2749
  walletPatch(walletId: string, wallet?: Wallet, options?: any): AxiosPromise<WalletIdObject>;
2750
+ /**
2751
+ * Gets a specific verified profile (claims) by state
2752
+ * @param {string} walletId Wallet ID
2753
+ * @param {string} state Verifier state
2754
+ * @param {*} [options] Override http request option.
2755
+ * @throws {RequiredError}
2756
+ */
2757
+ walletVerifiedProfileByState(walletId: string, state: string, options?: any): AxiosPromise<Array<Credential>>;
2758
+ /**
2759
+ * Deletes a specific verified profile (claims) by state
2760
+ * @param {string} walletId Wallet ID
2761
+ * @param {string} state Verifier state
2762
+ * @param {*} [options] Override http request option.
2763
+ * @throws {RequiredError}
2764
+ */
2765
+ walletVerifiedProfileDeleteByState(walletId: string, state: string, options?: any): AxiosPromise<void>;
2651
2766
  };
2652
2767
  /**
2653
2768
  * DefaultApi - object-oriented interface
@@ -2707,14 +2822,14 @@ export declare class DefaultApi extends BaseAPI {
2707
2822
  * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
2708
2823
  * @param {number} [limit] The number of items
2709
2824
  * @param {string} [nextMarker] Marking the next set of items
2710
- * @param {CredentialListSortEnum} [sort] Sort flag controls the sort direction by the time updated or issued
2825
+ * @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
2711
2826
  * @param {string} [path] JSON path specification for the filter to apply
2712
2827
  * @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
2713
2828
  * @param {*} [options] Override http request option.
2714
2829
  * @throws {RequiredError}
2715
2830
  * @memberof DefaultApi
2716
2831
  */
2717
- credentialList(walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: CredentialListSortEnum, path?: string, filter?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialList, any>>;
2832
+ credentialList(walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: ListSort, path?: string, filter?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialList, any>>;
2718
2833
  /**
2719
2834
  * Verifiable Credential metadata may be updated even after the credential was issued. It is available as a key value storage for a client to store any additional data for the credential.
2720
2835
  * @param {string} credentialId Verifiable Credential Identifier
@@ -2795,17 +2910,38 @@ export declare class DefaultApi extends BaseAPI {
2795
2910
  issuerCredentialTypesList(url: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialType[], any>>;
2796
2911
  /**
2797
2912
  *
2913
+ * @param {string} clientId
2914
+ * @param {string} redirectUri
2915
+ * @param {string} responseType
2916
+ * @param {string} state
2798
2917
  * @param {string} verifierState
2918
+ * @param {string} [nonce]
2919
+ * @param {*} [options] Override http request option.
2920
+ * @throws {RequiredError}
2921
+ * @memberof DefaultApi
2922
+ */
2923
+ oauth2Auth(clientId: string, redirectUri: string, responseType: string, state: string, verifierState: string, nonce?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Oauth2RedirectUri, any>>;
2924
+ /**
2925
+ *
2799
2926
  * @param {string} clientId
2800
2927
  * @param {string} redirectUri
2801
2928
  * @param {string} responseType
2802
2929
  * @param {string} state
2930
+ * @param {string} scope
2803
2931
  * @param {string} [nonce]
2804
2932
  * @param {*} [options] Override http request option.
2805
2933
  * @throws {RequiredError}
2806
2934
  * @memberof DefaultApi
2807
2935
  */
2808
- oauth2Auth(verifierState: string, clientId: string, redirectUri: string, responseType: string, state: string, nonce?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Oauth2RedirectUri, any>>;
2936
+ oauth2AuthGet(clientId: string, redirectUri: string, responseType: string, state: string, scope: string, nonce?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
2937
+ /**
2938
+ *
2939
+ * @param {string} code
2940
+ * @param {*} [options] Override http request option.
2941
+ * @throws {RequiredError}
2942
+ * @memberof DefaultApi
2943
+ */
2944
+ oauth2Callback(code: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
2809
2945
  /**
2810
2946
  *
2811
2947
  * @param {*} [options] Override http request option.
@@ -3014,12 +3150,12 @@ export declare class DefaultApi extends BaseAPI {
3014
3150
  * @param {number} [limit] The number of items
3015
3151
  * @param {string} [nextMarker] Marking the next set of items
3016
3152
  * @param {Array<WalletNotificationEventType>} [type] Notification types
3017
- * @param {WalletNotificationHistorySortEnum} [sort] Sort flag controls the sort direction by the time created
3153
+ * @param {ListSort} [sort] Sort flag controls the sort direction by the time created
3018
3154
  * @param {*} [options] Override http request option.
3019
3155
  * @throws {RequiredError}
3020
3156
  * @memberof DefaultApi
3021
3157
  */
3022
- walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: WalletNotificationHistorySortEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletNotificationHistory, any>>;
3158
+ walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletNotificationHistory, any>>;
3023
3159
  /**
3024
3160
  * Provides first-in-first-out queue of notifications for a specific wallet.
3025
3161
  * @param {string} walletId Wallet ID
@@ -3037,6 +3173,24 @@ export declare class DefaultApi extends BaseAPI {
3037
3173
  * @memberof DefaultApi
3038
3174
  */
3039
3175
  walletPatch(walletId: string, wallet?: Wallet, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletIdObject, any>>;
3176
+ /**
3177
+ * Gets a specific verified profile (claims) by state
3178
+ * @param {string} walletId Wallet ID
3179
+ * @param {string} state Verifier state
3180
+ * @param {*} [options] Override http request option.
3181
+ * @throws {RequiredError}
3182
+ * @memberof DefaultApi
3183
+ */
3184
+ walletVerifiedProfileByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Credential[], any>>;
3185
+ /**
3186
+ * Deletes a specific verified profile (claims) by state
3187
+ * @param {string} walletId Wallet ID
3188
+ * @param {string} state Verifier state
3189
+ * @param {*} [options] Override http request option.
3190
+ * @throws {RequiredError}
3191
+ * @memberof DefaultApi
3192
+ */
3193
+ walletVerifiedProfileDeleteByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
3040
3194
  }
3041
3195
  /**
3042
3196
  * @export
@@ -3048,19 +3202,3 @@ export declare const CredentialListInteractionEnum: {
3048
3202
  readonly TaoCredentials: "taoCredentials";
3049
3203
  };
3050
3204
  export type CredentialListInteractionEnum = typeof CredentialListInteractionEnum[keyof typeof CredentialListInteractionEnum];
3051
- /**
3052
- * @export
3053
- */
3054
- export declare const CredentialListSortEnum: {
3055
- readonly Asc: "asc";
3056
- readonly Desc: "desc";
3057
- };
3058
- export type CredentialListSortEnum = typeof CredentialListSortEnum[keyof typeof CredentialListSortEnum];
3059
- /**
3060
- * @export
3061
- */
3062
- export declare const WalletNotificationHistorySortEnum: {
3063
- readonly Asc: "asc";
3064
- readonly Desc: "desc";
3065
- };
3066
- export type WalletNotificationHistorySortEnum = typeof WalletNotificationHistorySortEnum[keyof typeof WalletNotificationHistorySortEnum];
package/api.js CHANGED
@@ -25,7 +25,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
25
25
  return (mod && mod.__esModule) ? mod : { "default": mod };
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.WalletNotificationHistorySortEnum = exports.CredentialListSortEnum = exports.CredentialListInteractionEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WalletNotificationEventType = exports.WalletConfigTrustFrameworkEnum = exports.WalletRoleEnum = exports.SystemImpactStatusEnum = exports.PresentationDefinitionSubmissionRequirementsRuleEnum = exports.PrepareToAccreditRequestTypeEnum = exports.InteractionAuthorizationRequirementsRequirementTypeEnum = exports.HealthStatusStatusEnum = exports.DeferredStatusEnum = exports.CredentialMetadataStatusEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.CredentialIssuerDefinitionCredentialFormatEnum = exports.AccreditationRequestTypeEnum = void 0;
28
+ exports.CredentialListInteractionEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WalletNotificationEventType = exports.WalletConfigTrustFrameworkEnum = exports.WalletRoleEnum = exports.SystemImpactStatusEnum = exports.PresentationDefinitionSubmissionRequirementsRuleEnum = exports.PrepareToAccreditRequestTypeEnum = exports.ListSort = exports.InteractionAuthorizationRequirementsRequirementTypeEnum = exports.HealthStatusStatusEnum = exports.DeferredStatusEnum = exports.CredentialMetadataStatusEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.CredentialIssuerDefinitionCredentialFormatEnum = exports.AccreditationRequestTypeEnum = void 0;
29
29
  const axios_1 = __importDefault(require("axios"));
30
30
  // Some imports not used depending on template conditions
31
31
  // @ts-ignore
@@ -64,6 +64,15 @@ exports.InteractionAuthorizationRequirementsRequirementTypeEnum = {
64
64
  VpToken: 'vp_token',
65
65
  Pin: 'pin'
66
66
  };
67
+ /**
68
+ * Sort flag controls the sort direction by the time created
69
+ * @export
70
+ * @enum {string}
71
+ */
72
+ exports.ListSort = {
73
+ Asc: 'asc',
74
+ Desc: 'desc'
75
+ };
67
76
  exports.PrepareToAccreditRequestTypeEnum = {
68
77
  TrustedIssuer: 'TrustedIssuer',
69
78
  TrustedAccreditationOrganisation: 'TrustedAccreditationOrganisation'
@@ -286,7 +295,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
286
295
  * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
287
296
  * @param {number} [limit] The number of items
288
297
  * @param {string} [nextMarker] Marking the next set of items
289
- * @param {CredentialListSortEnum} [sort] Sort flag controls the sort direction by the time updated or issued
298
+ * @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
290
299
  * @param {string} [path] JSON path specification for the filter to apply
291
300
  * @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
292
301
  * @param {*} [options] Override http request option.
@@ -646,18 +655,16 @@ const DefaultApiAxiosParamCreator = function (configuration) {
646
655
  }),
647
656
  /**
648
657
  *
649
- * @param {string} verifierState
650
658
  * @param {string} clientId
651
659
  * @param {string} redirectUri
652
660
  * @param {string} responseType
653
661
  * @param {string} state
662
+ * @param {string} verifierState
654
663
  * @param {string} [nonce]
655
664
  * @param {*} [options] Override http request option.
656
665
  * @throws {RequiredError}
657
666
  */
658
- oauth2Auth: (verifierState, clientId, redirectUri, responseType, state, nonce, options = {}) => __awaiter(this, void 0, void 0, function* () {
659
- // verify required parameter 'verifierState' is not null or undefined
660
- (0, common_1.assertParamExists)('oauth2Auth', 'verifierState', verifierState);
667
+ oauth2Auth: (clientId, redirectUri, responseType, state, verifierState, nonce, options = {}) => __awaiter(this, void 0, void 0, function* () {
661
668
  // verify required parameter 'clientId' is not null or undefined
662
669
  (0, common_1.assertParamExists)('oauth2Auth', 'clientId', clientId);
663
670
  // verify required parameter 'redirectUri' is not null or undefined
@@ -666,6 +673,8 @@ const DefaultApiAxiosParamCreator = function (configuration) {
666
673
  (0, common_1.assertParamExists)('oauth2Auth', 'responseType', responseType);
667
674
  // verify required parameter 'state' is not null or undefined
668
675
  (0, common_1.assertParamExists)('oauth2Auth', 'state', state);
676
+ // verify required parameter 'verifierState' is not null or undefined
677
+ (0, common_1.assertParamExists)('oauth2Auth', 'verifierState', verifierState);
669
678
  const localVarPath = `/oauth2/auth`;
670
679
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
671
680
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -702,6 +711,94 @@ const DefaultApiAxiosParamCreator = function (configuration) {
702
711
  options: localVarRequestOptions,
703
712
  };
704
713
  }),
714
+ /**
715
+ *
716
+ * @param {string} clientId
717
+ * @param {string} redirectUri
718
+ * @param {string} responseType
719
+ * @param {string} state
720
+ * @param {string} scope
721
+ * @param {string} [nonce]
722
+ * @param {*} [options] Override http request option.
723
+ * @throws {RequiredError}
724
+ */
725
+ oauth2AuthGet: (clientId, redirectUri, responseType, state, scope, nonce, options = {}) => __awaiter(this, void 0, void 0, function* () {
726
+ // verify required parameter 'clientId' is not null or undefined
727
+ (0, common_1.assertParamExists)('oauth2AuthGet', 'clientId', clientId);
728
+ // verify required parameter 'redirectUri' is not null or undefined
729
+ (0, common_1.assertParamExists)('oauth2AuthGet', 'redirectUri', redirectUri);
730
+ // verify required parameter 'responseType' is not null or undefined
731
+ (0, common_1.assertParamExists)('oauth2AuthGet', 'responseType', responseType);
732
+ // verify required parameter 'state' is not null or undefined
733
+ (0, common_1.assertParamExists)('oauth2AuthGet', 'state', state);
734
+ // verify required parameter 'scope' is not null or undefined
735
+ (0, common_1.assertParamExists)('oauth2AuthGet', 'scope', scope);
736
+ const localVarPath = `/oauth2/auth`;
737
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
738
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
739
+ let baseOptions;
740
+ if (configuration) {
741
+ baseOptions = configuration.baseOptions;
742
+ }
743
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
744
+ const localVarHeaderParameter = {};
745
+ const localVarQueryParameter = {};
746
+ if (clientId !== undefined) {
747
+ localVarQueryParameter['client_id'] = clientId;
748
+ }
749
+ if (redirectUri !== undefined) {
750
+ localVarQueryParameter['redirect_uri'] = redirectUri;
751
+ }
752
+ if (responseType !== undefined) {
753
+ localVarQueryParameter['response_type'] = responseType;
754
+ }
755
+ if (state !== undefined) {
756
+ localVarQueryParameter['state'] = state;
757
+ }
758
+ if (nonce !== undefined) {
759
+ localVarQueryParameter['nonce'] = nonce;
760
+ }
761
+ if (scope !== undefined) {
762
+ localVarQueryParameter['scope'] = scope;
763
+ }
764
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
765
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
766
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
767
+ return {
768
+ url: (0, common_1.toPathString)(localVarUrlObj),
769
+ options: localVarRequestOptions,
770
+ };
771
+ }),
772
+ /**
773
+ *
774
+ * @param {string} code
775
+ * @param {*} [options] Override http request option.
776
+ * @throws {RequiredError}
777
+ */
778
+ oauth2Callback: (code, options = {}) => __awaiter(this, void 0, void 0, function* () {
779
+ // verify required parameter 'code' is not null or undefined
780
+ (0, common_1.assertParamExists)('oauth2Callback', 'code', code);
781
+ const localVarPath = `/oauth2/callback`;
782
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
783
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
784
+ let baseOptions;
785
+ if (configuration) {
786
+ baseOptions = configuration.baseOptions;
787
+ }
788
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
789
+ const localVarHeaderParameter = {};
790
+ const localVarQueryParameter = {};
791
+ if (code !== undefined) {
792
+ localVarQueryParameter['code'] = code;
793
+ }
794
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
795
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
796
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
797
+ return {
798
+ url: (0, common_1.toPathString)(localVarUrlObj),
799
+ options: localVarRequestOptions,
800
+ };
801
+ }),
705
802
  /**
706
803
  *
707
804
  * @param {*} [options] Override http request option.
@@ -1504,7 +1601,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1504
1601
  * @param {number} [limit] The number of items
1505
1602
  * @param {string} [nextMarker] Marking the next set of items
1506
1603
  * @param {Array<WalletNotificationEventType>} [type] Notification types
1507
- * @param {WalletNotificationHistorySortEnum} [sort] Sort flag controls the sort direction by the time created
1604
+ * @param {ListSort} [sort] Sort flag controls the sort direction by the time created
1508
1605
  * @param {*} [options] Override http request option.
1509
1606
  * @throws {RequiredError}
1510
1607
  */
@@ -1610,6 +1707,76 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1610
1707
  options: localVarRequestOptions,
1611
1708
  };
1612
1709
  }),
1710
+ /**
1711
+ * Gets a specific verified profile (claims) by state
1712
+ * @param {string} walletId Wallet ID
1713
+ * @param {string} state Verifier state
1714
+ * @param {*} [options] Override http request option.
1715
+ * @throws {RequiredError}
1716
+ */
1717
+ walletVerifiedProfileByState: (walletId, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
1718
+ // verify required parameter 'walletId' is not null or undefined
1719
+ (0, common_1.assertParamExists)('walletVerifiedProfileByState', 'walletId', walletId);
1720
+ // verify required parameter 'state' is not null or undefined
1721
+ (0, common_1.assertParamExists)('walletVerifiedProfileByState', 'state', state);
1722
+ const localVarPath = `/wallets/{wallet_id}/profile/{state}`
1723
+ .replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)))
1724
+ .replace(`{${"state"}}`, encodeURIComponent(String(state)));
1725
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1726
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1727
+ let baseOptions;
1728
+ if (configuration) {
1729
+ baseOptions = configuration.baseOptions;
1730
+ }
1731
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1732
+ const localVarHeaderParameter = {};
1733
+ const localVarQueryParameter = {};
1734
+ // authentication accessToken required
1735
+ // http bearer authentication required
1736
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1737
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1738
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1739
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1740
+ return {
1741
+ url: (0, common_1.toPathString)(localVarUrlObj),
1742
+ options: localVarRequestOptions,
1743
+ };
1744
+ }),
1745
+ /**
1746
+ * Deletes a specific verified profile (claims) by state
1747
+ * @param {string} walletId Wallet ID
1748
+ * @param {string} state Verifier state
1749
+ * @param {*} [options] Override http request option.
1750
+ * @throws {RequiredError}
1751
+ */
1752
+ walletVerifiedProfileDeleteByState: (walletId, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
1753
+ // verify required parameter 'walletId' is not null or undefined
1754
+ (0, common_1.assertParamExists)('walletVerifiedProfileDeleteByState', 'walletId', walletId);
1755
+ // verify required parameter 'state' is not null or undefined
1756
+ (0, common_1.assertParamExists)('walletVerifiedProfileDeleteByState', 'state', state);
1757
+ const localVarPath = `/wallets/{wallet_id}/profile/{state}`
1758
+ .replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)))
1759
+ .replace(`{${"state"}}`, encodeURIComponent(String(state)));
1760
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1761
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1762
+ let baseOptions;
1763
+ if (configuration) {
1764
+ baseOptions = configuration.baseOptions;
1765
+ }
1766
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
1767
+ const localVarHeaderParameter = {};
1768
+ const localVarQueryParameter = {};
1769
+ // authentication accessToken required
1770
+ // http bearer authentication required
1771
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1772
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1773
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1774
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1775
+ return {
1776
+ url: (0, common_1.toPathString)(localVarUrlObj),
1777
+ options: localVarRequestOptions,
1778
+ };
1779
+ }),
1613
1780
  };
1614
1781
  };
1615
1782
  exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
@@ -1706,7 +1873,7 @@ const DefaultApiFp = function (configuration) {
1706
1873
  * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
1707
1874
  * @param {number} [limit] The number of items
1708
1875
  * @param {string} [nextMarker] Marking the next set of items
1709
- * @param {CredentialListSortEnum} [sort] Sort flag controls the sort direction by the time updated or issued
1876
+ * @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
1710
1877
  * @param {string} [path] JSON path specification for the filter to apply
1711
1878
  * @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
1712
1879
  * @param {*} [options] Override http request option.
@@ -1864,24 +2031,59 @@ const DefaultApiFp = function (configuration) {
1864
2031
  },
1865
2032
  /**
1866
2033
  *
1867
- * @param {string} verifierState
1868
2034
  * @param {string} clientId
1869
2035
  * @param {string} redirectUri
1870
2036
  * @param {string} responseType
1871
2037
  * @param {string} state
2038
+ * @param {string} verifierState
1872
2039
  * @param {string} [nonce]
1873
2040
  * @param {*} [options] Override http request option.
1874
2041
  * @throws {RequiredError}
1875
2042
  */
1876
- oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options) {
2043
+ oauth2Auth(clientId, redirectUri, responseType, state, verifierState, nonce, options) {
1877
2044
  var _a, _b, _c;
1878
2045
  return __awaiter(this, void 0, void 0, function* () {
1879
- const localVarAxiosArgs = yield localVarAxiosParamCreator.oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options);
2046
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.oauth2Auth(clientId, redirectUri, responseType, state, verifierState, nonce, options);
1880
2047
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1881
2048
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oauth2Auth']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1882
2049
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1883
2050
  });
1884
2051
  },
2052
+ /**
2053
+ *
2054
+ * @param {string} clientId
2055
+ * @param {string} redirectUri
2056
+ * @param {string} responseType
2057
+ * @param {string} state
2058
+ * @param {string} scope
2059
+ * @param {string} [nonce]
2060
+ * @param {*} [options] Override http request option.
2061
+ * @throws {RequiredError}
2062
+ */
2063
+ oauth2AuthGet(clientId, redirectUri, responseType, state, scope, nonce, options) {
2064
+ var _a, _b, _c;
2065
+ return __awaiter(this, void 0, void 0, function* () {
2066
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.oauth2AuthGet(clientId, redirectUri, responseType, state, scope, nonce, options);
2067
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2068
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oauth2AuthGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2069
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2070
+ });
2071
+ },
2072
+ /**
2073
+ *
2074
+ * @param {string} code
2075
+ * @param {*} [options] Override http request option.
2076
+ * @throws {RequiredError}
2077
+ */
2078
+ oauth2Callback(code, options) {
2079
+ var _a, _b, _c;
2080
+ return __awaiter(this, void 0, void 0, function* () {
2081
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.oauth2Callback(code, options);
2082
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2083
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oauth2Callback']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2084
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2085
+ });
2086
+ },
1885
2087
  /**
1886
2088
  *
1887
2089
  * @param {*} [options] Override http request option.
@@ -2251,7 +2453,7 @@ const DefaultApiFp = function (configuration) {
2251
2453
  * @param {number} [limit] The number of items
2252
2454
  * @param {string} [nextMarker] Marking the next set of items
2253
2455
  * @param {Array<WalletNotificationEventType>} [type] Notification types
2254
- * @param {WalletNotificationHistorySortEnum} [sort] Sort flag controls the sort direction by the time created
2456
+ * @param {ListSort} [sort] Sort flag controls the sort direction by the time created
2255
2457
  * @param {*} [options] Override http request option.
2256
2458
  * @throws {RequiredError}
2257
2459
  */
@@ -2295,6 +2497,38 @@ const DefaultApiFp = function (configuration) {
2295
2497
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2296
2498
  });
2297
2499
  },
2500
+ /**
2501
+ * Gets a specific verified profile (claims) by state
2502
+ * @param {string} walletId Wallet ID
2503
+ * @param {string} state Verifier state
2504
+ * @param {*} [options] Override http request option.
2505
+ * @throws {RequiredError}
2506
+ */
2507
+ walletVerifiedProfileByState(walletId, state, options) {
2508
+ var _a, _b, _c;
2509
+ return __awaiter(this, void 0, void 0, function* () {
2510
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.walletVerifiedProfileByState(walletId, state, options);
2511
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2512
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletVerifiedProfileByState']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2513
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2514
+ });
2515
+ },
2516
+ /**
2517
+ * Deletes a specific verified profile (claims) by state
2518
+ * @param {string} walletId Wallet ID
2519
+ * @param {string} state Verifier state
2520
+ * @param {*} [options] Override http request option.
2521
+ * @throws {RequiredError}
2522
+ */
2523
+ walletVerifiedProfileDeleteByState(walletId, state, options) {
2524
+ var _a, _b, _c;
2525
+ return __awaiter(this, void 0, void 0, function* () {
2526
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.walletVerifiedProfileDeleteByState(walletId, state, options);
2527
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2528
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletVerifiedProfileDeleteByState']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2529
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2530
+ });
2531
+ },
2298
2532
  };
2299
2533
  };
2300
2534
  exports.DefaultApiFp = DefaultApiFp;
@@ -2361,7 +2595,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2361
2595
  * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
2362
2596
  * @param {number} [limit] The number of items
2363
2597
  * @param {string} [nextMarker] Marking the next set of items
2364
- * @param {CredentialListSortEnum} [sort] Sort flag controls the sort direction by the time updated or issued
2598
+ * @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
2365
2599
  * @param {string} [path] JSON path specification for the filter to apply
2366
2600
  * @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
2367
2601
  * @param {*} [options] Override http request option.
@@ -2459,17 +2693,40 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2459
2693
  },
2460
2694
  /**
2461
2695
  *
2696
+ * @param {string} clientId
2697
+ * @param {string} redirectUri
2698
+ * @param {string} responseType
2699
+ * @param {string} state
2462
2700
  * @param {string} verifierState
2701
+ * @param {string} [nonce]
2702
+ * @param {*} [options] Override http request option.
2703
+ * @throws {RequiredError}
2704
+ */
2705
+ oauth2Auth(clientId, redirectUri, responseType, state, verifierState, nonce, options) {
2706
+ return localVarFp.oauth2Auth(clientId, redirectUri, responseType, state, verifierState, nonce, options).then((request) => request(axios, basePath));
2707
+ },
2708
+ /**
2709
+ *
2463
2710
  * @param {string} clientId
2464
2711
  * @param {string} redirectUri
2465
2712
  * @param {string} responseType
2466
2713
  * @param {string} state
2714
+ * @param {string} scope
2467
2715
  * @param {string} [nonce]
2468
2716
  * @param {*} [options] Override http request option.
2469
2717
  * @throws {RequiredError}
2470
2718
  */
2471
- oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options) {
2472
- return localVarFp.oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options).then((request) => request(axios, basePath));
2719
+ oauth2AuthGet(clientId, redirectUri, responseType, state, scope, nonce, options) {
2720
+ return localVarFp.oauth2AuthGet(clientId, redirectUri, responseType, state, scope, nonce, options).then((request) => request(axios, basePath));
2721
+ },
2722
+ /**
2723
+ *
2724
+ * @param {string} code
2725
+ * @param {*} [options] Override http request option.
2726
+ * @throws {RequiredError}
2727
+ */
2728
+ oauth2Callback(code, options) {
2729
+ return localVarFp.oauth2Callback(code, options).then((request) => request(axios, basePath));
2473
2730
  },
2474
2731
  /**
2475
2732
  *
@@ -2702,7 +2959,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2702
2959
  * @param {number} [limit] The number of items
2703
2960
  * @param {string} [nextMarker] Marking the next set of items
2704
2961
  * @param {Array<WalletNotificationEventType>} [type] Notification types
2705
- * @param {WalletNotificationHistorySortEnum} [sort] Sort flag controls the sort direction by the time created
2962
+ * @param {ListSort} [sort] Sort flag controls the sort direction by the time created
2706
2963
  * @param {*} [options] Override http request option.
2707
2964
  * @throws {RequiredError}
2708
2965
  */
@@ -2728,6 +2985,26 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2728
2985
  walletPatch(walletId, wallet, options) {
2729
2986
  return localVarFp.walletPatch(walletId, wallet, options).then((request) => request(axios, basePath));
2730
2987
  },
2988
+ /**
2989
+ * Gets a specific verified profile (claims) by state
2990
+ * @param {string} walletId Wallet ID
2991
+ * @param {string} state Verifier state
2992
+ * @param {*} [options] Override http request option.
2993
+ * @throws {RequiredError}
2994
+ */
2995
+ walletVerifiedProfileByState(walletId, state, options) {
2996
+ return localVarFp.walletVerifiedProfileByState(walletId, state, options).then((request) => request(axios, basePath));
2997
+ },
2998
+ /**
2999
+ * Deletes a specific verified profile (claims) by state
3000
+ * @param {string} walletId Wallet ID
3001
+ * @param {string} state Verifier state
3002
+ * @param {*} [options] Override http request option.
3003
+ * @throws {RequiredError}
3004
+ */
3005
+ walletVerifiedProfileDeleteByState(walletId, state, options) {
3006
+ return localVarFp.walletVerifiedProfileDeleteByState(walletId, state, options).then((request) => request(axios, basePath));
3007
+ },
2731
3008
  };
2732
3009
  };
2733
3010
  exports.DefaultApiFactory = DefaultApiFactory;
@@ -2799,7 +3076,7 @@ class DefaultApi extends base_1.BaseAPI {
2799
3076
  * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
2800
3077
  * @param {number} [limit] The number of items
2801
3078
  * @param {string} [nextMarker] Marking the next set of items
2802
- * @param {CredentialListSortEnum} [sort] Sort flag controls the sort direction by the time updated or issued
3079
+ * @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
2803
3080
  * @param {string} [path] JSON path specification for the filter to apply
2804
3081
  * @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
2805
3082
  * @param {*} [options] Override http request option.
@@ -2907,18 +3184,43 @@ class DefaultApi extends base_1.BaseAPI {
2907
3184
  }
2908
3185
  /**
2909
3186
  *
3187
+ * @param {string} clientId
3188
+ * @param {string} redirectUri
3189
+ * @param {string} responseType
3190
+ * @param {string} state
2910
3191
  * @param {string} verifierState
3192
+ * @param {string} [nonce]
3193
+ * @param {*} [options] Override http request option.
3194
+ * @throws {RequiredError}
3195
+ * @memberof DefaultApi
3196
+ */
3197
+ oauth2Auth(clientId, redirectUri, responseType, state, verifierState, nonce, options) {
3198
+ return (0, exports.DefaultApiFp)(this.configuration).oauth2Auth(clientId, redirectUri, responseType, state, verifierState, nonce, options).then((request) => request(this.axios, this.basePath));
3199
+ }
3200
+ /**
3201
+ *
2911
3202
  * @param {string} clientId
2912
3203
  * @param {string} redirectUri
2913
3204
  * @param {string} responseType
2914
3205
  * @param {string} state
3206
+ * @param {string} scope
2915
3207
  * @param {string} [nonce]
2916
3208
  * @param {*} [options] Override http request option.
2917
3209
  * @throws {RequiredError}
2918
3210
  * @memberof DefaultApi
2919
3211
  */
2920
- oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options) {
2921
- return (0, exports.DefaultApiFp)(this.configuration).oauth2Auth(verifierState, clientId, redirectUri, responseType, state, nonce, options).then((request) => request(this.axios, this.basePath));
3212
+ oauth2AuthGet(clientId, redirectUri, responseType, state, scope, nonce, options) {
3213
+ return (0, exports.DefaultApiFp)(this.configuration).oauth2AuthGet(clientId, redirectUri, responseType, state, scope, nonce, options).then((request) => request(this.axios, this.basePath));
3214
+ }
3215
+ /**
3216
+ *
3217
+ * @param {string} code
3218
+ * @param {*} [options] Override http request option.
3219
+ * @throws {RequiredError}
3220
+ * @memberof DefaultApi
3221
+ */
3222
+ oauth2Callback(code, options) {
3223
+ return (0, exports.DefaultApiFp)(this.configuration).oauth2Callback(code, options).then((request) => request(this.axios, this.basePath));
2922
3224
  }
2923
3225
  /**
2924
3226
  *
@@ -3174,7 +3476,7 @@ class DefaultApi extends base_1.BaseAPI {
3174
3476
  * @param {number} [limit] The number of items
3175
3477
  * @param {string} [nextMarker] Marking the next set of items
3176
3478
  * @param {Array<WalletNotificationEventType>} [type] Notification types
3177
- * @param {WalletNotificationHistorySortEnum} [sort] Sort flag controls the sort direction by the time created
3479
+ * @param {ListSort} [sort] Sort flag controls the sort direction by the time created
3178
3480
  * @param {*} [options] Override http request option.
3179
3481
  * @throws {RequiredError}
3180
3482
  * @memberof DefaultApi
@@ -3203,6 +3505,28 @@ class DefaultApi extends base_1.BaseAPI {
3203
3505
  walletPatch(walletId, wallet, options) {
3204
3506
  return (0, exports.DefaultApiFp)(this.configuration).walletPatch(walletId, wallet, options).then((request) => request(this.axios, this.basePath));
3205
3507
  }
3508
+ /**
3509
+ * Gets a specific verified profile (claims) by state
3510
+ * @param {string} walletId Wallet ID
3511
+ * @param {string} state Verifier state
3512
+ * @param {*} [options] Override http request option.
3513
+ * @throws {RequiredError}
3514
+ * @memberof DefaultApi
3515
+ */
3516
+ walletVerifiedProfileByState(walletId, state, options) {
3517
+ return (0, exports.DefaultApiFp)(this.configuration).walletVerifiedProfileByState(walletId, state, options).then((request) => request(this.axios, this.basePath));
3518
+ }
3519
+ /**
3520
+ * Deletes a specific verified profile (claims) by state
3521
+ * @param {string} walletId Wallet ID
3522
+ * @param {string} state Verifier state
3523
+ * @param {*} [options] Override http request option.
3524
+ * @throws {RequiredError}
3525
+ * @memberof DefaultApi
3526
+ */
3527
+ walletVerifiedProfileDeleteByState(walletId, state, options) {
3528
+ return (0, exports.DefaultApiFp)(this.configuration).walletVerifiedProfileDeleteByState(walletId, state, options).then((request) => request(this.axios, this.basePath));
3529
+ }
3206
3530
  }
3207
3531
  exports.DefaultApi = DefaultApi;
3208
3532
  /**
@@ -3214,17 +3538,3 @@ exports.CredentialListInteractionEnum = {
3214
3538
  StatusList: 'statusList',
3215
3539
  TaoCredentials: 'taoCredentials'
3216
3540
  };
3217
- /**
3218
- * @export
3219
- */
3220
- exports.CredentialListSortEnum = {
3221
- Asc: 'asc',
3222
- Desc: 'desc'
3223
- };
3224
- /**
3225
- * @export
3226
- */
3227
- exports.WalletNotificationHistorySortEnum = {
3228
- Asc: 'asc',
3229
- Desc: 'desc'
3230
- };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@triveria/wallet",
3
3
  "private": false,
4
- "version": "0.0.155",
4
+ "version": "0.0.157",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {