@finverse/sdk-typescript 0.0.45 → 0.0.48
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/dist/api.d.ts +301 -38
- package/dist/api.js +169 -65
- package/package.json +2 -2
package/dist/api.d.ts
CHANGED
|
@@ -244,6 +244,85 @@ export interface AllProductStatus {
|
|
|
244
244
|
*/
|
|
245
245
|
income_estimation?: ProductStatus;
|
|
246
246
|
}
|
|
247
|
+
/**
|
|
248
|
+
*
|
|
249
|
+
* @export
|
|
250
|
+
* @interface AuthChecklistFactor
|
|
251
|
+
*/
|
|
252
|
+
export interface AuthChecklistFactor {
|
|
253
|
+
/**
|
|
254
|
+
* Type of authorization factor
|
|
255
|
+
* @type {string}
|
|
256
|
+
* @memberof AuthChecklistFactor
|
|
257
|
+
*/
|
|
258
|
+
type: AuthChecklistFactorTypeEnum;
|
|
259
|
+
/**
|
|
260
|
+
* Allows grouping similar checklist item types together
|
|
261
|
+
* @type {string}
|
|
262
|
+
* @memberof AuthChecklistFactor
|
|
263
|
+
*/
|
|
264
|
+
group_id: string;
|
|
265
|
+
/**
|
|
266
|
+
* Indicates whether authorization factor is known to be required at this time. Possible values are YES, NO, OPTIONAL
|
|
267
|
+
* @type {string}
|
|
268
|
+
* @memberof AuthChecklistFactor
|
|
269
|
+
*/
|
|
270
|
+
required: AuthChecklistFactorRequiredEnum;
|
|
271
|
+
/**
|
|
272
|
+
* Array of the options accepted for a specific authorization factor
|
|
273
|
+
* @type {Array<AuthChecklistOptions>}
|
|
274
|
+
* @memberof AuthChecklistFactor
|
|
275
|
+
*/
|
|
276
|
+
options: Array<AuthChecklistOptions>;
|
|
277
|
+
}
|
|
278
|
+
export declare const AuthChecklistFactorTypeEnum: {
|
|
279
|
+
readonly AccountIdentification: "ACCOUNT_IDENTIFICATION";
|
|
280
|
+
readonly UserIdentification: "USER_IDENTIFICATION";
|
|
281
|
+
readonly EnduserConsent: "ENDUSER_CONSENT";
|
|
282
|
+
readonly AccountholderAuthentication: "ACCOUNTHOLDER_AUTHENTICATION";
|
|
283
|
+
};
|
|
284
|
+
export declare type AuthChecklistFactorTypeEnum = typeof AuthChecklistFactorTypeEnum[keyof typeof AuthChecklistFactorTypeEnum];
|
|
285
|
+
export declare const AuthChecklistFactorRequiredEnum: {
|
|
286
|
+
readonly Yes: "YES";
|
|
287
|
+
readonly No: "NO";
|
|
288
|
+
readonly Optional: "OPTIONAL";
|
|
289
|
+
};
|
|
290
|
+
export declare type AuthChecklistFactorRequiredEnum = typeof AuthChecklistFactorRequiredEnum[keyof typeof AuthChecklistFactorRequiredEnum];
|
|
291
|
+
/**
|
|
292
|
+
*
|
|
293
|
+
* @export
|
|
294
|
+
* @interface AuthChecklistOptions
|
|
295
|
+
*/
|
|
296
|
+
export interface AuthChecklistOptions {
|
|
297
|
+
/**
|
|
298
|
+
* Name of authorization factor. Possible values are INSTITUTION_CREDENTIALS_LOGIN, INSTITUTION_OAUTH_LOGIN,
|
|
299
|
+
* @type {string}
|
|
300
|
+
* @memberof AuthChecklistOptions
|
|
301
|
+
*/
|
|
302
|
+
name: AuthChecklistOptionsNameEnum;
|
|
303
|
+
/**
|
|
304
|
+
* Timestamp in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ) for when the authorization factor was submitted to Finverse
|
|
305
|
+
* @type {string}
|
|
306
|
+
* @memberof AuthChecklistOptions
|
|
307
|
+
*/
|
|
308
|
+
submitted_at: string;
|
|
309
|
+
/**
|
|
310
|
+
* Indicates who submitted the authorization factor to Finverse. Possible values are CUSTOMER_APP, FINVERSE_LINK
|
|
311
|
+
* @type {string}
|
|
312
|
+
* @memberof AuthChecklistOptions
|
|
313
|
+
*/
|
|
314
|
+
submitted_by: AuthChecklistOptionsSubmittedByEnum;
|
|
315
|
+
}
|
|
316
|
+
export declare const AuthChecklistOptionsNameEnum: {
|
|
317
|
+
readonly CredentialsLogin: "INSTITUTION_CREDENTIALS_LOGIN";
|
|
318
|
+
readonly OauthLogin: "INSTITUTION_OAUTH_LOGIN";
|
|
319
|
+
};
|
|
320
|
+
export declare type AuthChecklistOptionsNameEnum = typeof AuthChecklistOptionsNameEnum[keyof typeof AuthChecklistOptionsNameEnum];
|
|
321
|
+
export declare const AuthChecklistOptionsSubmittedByEnum: {
|
|
322
|
+
readonly CustomerApp: "CUSTOMER_APP";
|
|
323
|
+
readonly FinverseLink: "FINVERSE_LINK";
|
|
324
|
+
};
|
|
325
|
+
export declare type AuthChecklistOptionsSubmittedByEnum = typeof AuthChecklistOptionsSubmittedByEnum[keyof typeof AuthChecklistOptionsSubmittedByEnum];
|
|
247
326
|
/**
|
|
248
327
|
*
|
|
249
328
|
* @export
|
|
@@ -857,6 +936,19 @@ export interface GetIdentityResponse {
|
|
|
857
936
|
*/
|
|
858
937
|
institution?: InstitutionShort;
|
|
859
938
|
}
|
|
939
|
+
/**
|
|
940
|
+
*
|
|
941
|
+
* @export
|
|
942
|
+
* @interface GetJWKSResponse
|
|
943
|
+
*/
|
|
944
|
+
export interface GetJWKSResponse {
|
|
945
|
+
/**
|
|
946
|
+
*
|
|
947
|
+
* @type {Array<JWKSKey>}
|
|
948
|
+
* @memberof GetJWKSResponse
|
|
949
|
+
*/
|
|
950
|
+
keys?: Array<JWKSKey>;
|
|
951
|
+
}
|
|
860
952
|
/**
|
|
861
953
|
*
|
|
862
954
|
* @export
|
|
@@ -895,6 +987,73 @@ export interface GetLoginIdentityHistoryResponse {
|
|
|
895
987
|
*/
|
|
896
988
|
status_history?: Array<LoginIdentityStatusDetails>;
|
|
897
989
|
}
|
|
990
|
+
/**
|
|
991
|
+
*
|
|
992
|
+
* @export
|
|
993
|
+
* @interface GetMandateAuthResponse
|
|
994
|
+
*/
|
|
995
|
+
export interface GetMandateAuthResponse {
|
|
996
|
+
/**
|
|
997
|
+
* Finverse Mandate ID
|
|
998
|
+
* @type {string}
|
|
999
|
+
* @memberof GetMandateAuthResponse
|
|
1000
|
+
*/
|
|
1001
|
+
mandate_id: string;
|
|
1002
|
+
/**
|
|
1003
|
+
* Mandate status
|
|
1004
|
+
* @type {string}
|
|
1005
|
+
* @memberof GetMandateAuthResponse
|
|
1006
|
+
*/
|
|
1007
|
+
mandate_status: GetMandateAuthResponseMandateStatusEnum;
|
|
1008
|
+
/**
|
|
1009
|
+
* Merchant account ID assigned by Finverse
|
|
1010
|
+
* @type {string}
|
|
1011
|
+
* @memberof GetMandateAuthResponse
|
|
1012
|
+
*/
|
|
1013
|
+
recipient_account_id: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* Finverse Institution ID. Only returned if institution_id was included in the request.
|
|
1016
|
+
* @type {string}
|
|
1017
|
+
* @memberof GetMandateAuthResponse
|
|
1018
|
+
*/
|
|
1019
|
+
institution_id: string;
|
|
1020
|
+
/**
|
|
1021
|
+
* Type of account held by the Sender at the Institution. Possible values are PERSONAL, BUSINESS
|
|
1022
|
+
* @type {string}
|
|
1023
|
+
* @memberof GetMandateAuthResponse
|
|
1024
|
+
*/
|
|
1025
|
+
sender_type: GetMandateAuthResponseSenderTypeEnum;
|
|
1026
|
+
/**
|
|
1027
|
+
* Checklist of the authorization factors needed to complete Mandate authorization
|
|
1028
|
+
* @type {Array<AuthChecklistFactor>}
|
|
1029
|
+
* @memberof GetMandateAuthResponse
|
|
1030
|
+
*/
|
|
1031
|
+
auth_checklist: Array<AuthChecklistFactor>;
|
|
1032
|
+
/**
|
|
1033
|
+
*
|
|
1034
|
+
* @type {MandateAuthEncryptionInfo}
|
|
1035
|
+
* @memberof GetMandateAuthResponse
|
|
1036
|
+
*/
|
|
1037
|
+
encryption_info: MandateAuthEncryptionInfo;
|
|
1038
|
+
/**
|
|
1039
|
+
* Timestamp in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
|
|
1040
|
+
* @type {string}
|
|
1041
|
+
* @memberof GetMandateAuthResponse
|
|
1042
|
+
*/
|
|
1043
|
+
last_update: string;
|
|
1044
|
+
}
|
|
1045
|
+
export declare const GetMandateAuthResponseMandateStatusEnum: {
|
|
1046
|
+
readonly Created: "CREATED";
|
|
1047
|
+
readonly Processing: "PROCESSING";
|
|
1048
|
+
readonly Submitted: "SUBMITTED";
|
|
1049
|
+
readonly Error: "ERROR";
|
|
1050
|
+
};
|
|
1051
|
+
export declare type GetMandateAuthResponseMandateStatusEnum = typeof GetMandateAuthResponseMandateStatusEnum[keyof typeof GetMandateAuthResponseMandateStatusEnum];
|
|
1052
|
+
export declare const GetMandateAuthResponseSenderTypeEnum: {
|
|
1053
|
+
readonly Personal: "PERSONAL";
|
|
1054
|
+
readonly Business: "BUSINESS";
|
|
1055
|
+
};
|
|
1056
|
+
export declare type GetMandateAuthResponseSenderTypeEnum = typeof GetMandateAuthResponseSenderTypeEnum[keyof typeof GetMandateAuthResponseSenderTypeEnum];
|
|
898
1057
|
/**
|
|
899
1058
|
*
|
|
900
1059
|
* @export
|
|
@@ -940,7 +1099,7 @@ export interface GetMandateResponse {
|
|
|
940
1099
|
}
|
|
941
1100
|
export declare const GetMandateResponseMandateStatusEnum: {
|
|
942
1101
|
readonly Created: "CREATED";
|
|
943
|
-
readonly
|
|
1102
|
+
readonly Processing: "PROCESSING";
|
|
944
1103
|
readonly Submitted: "SUBMITTED";
|
|
945
1104
|
readonly Error: "ERROR";
|
|
946
1105
|
};
|
|
@@ -1649,6 +1808,49 @@ export interface InstitutionShort {
|
|
|
1649
1808
|
*/
|
|
1650
1809
|
portal_name?: string;
|
|
1651
1810
|
}
|
|
1811
|
+
/**
|
|
1812
|
+
*
|
|
1813
|
+
* @export
|
|
1814
|
+
* @interface JWKSKey
|
|
1815
|
+
*/
|
|
1816
|
+
export interface JWKSKey {
|
|
1817
|
+
/**
|
|
1818
|
+
* The \"kty\" (key type) parameter identifies the cryptographic algorithm family used with the key, such as \"RSA\" or \"EC\".
|
|
1819
|
+
* @type {string}
|
|
1820
|
+
* @memberof JWKSKey
|
|
1821
|
+
*/
|
|
1822
|
+
kty?: string;
|
|
1823
|
+
/**
|
|
1824
|
+
* The \"kid\" (key ID) parameter is used to match a specific key
|
|
1825
|
+
* @type {string}
|
|
1826
|
+
* @memberof JWKSKey
|
|
1827
|
+
*/
|
|
1828
|
+
kid?: string;
|
|
1829
|
+
/**
|
|
1830
|
+
* The \"use\" (public key use) parameter identifies the intended use of the public key
|
|
1831
|
+
* @type {string}
|
|
1832
|
+
* @memberof JWKSKey
|
|
1833
|
+
*/
|
|
1834
|
+
use?: string;
|
|
1835
|
+
/**
|
|
1836
|
+
* RSA key value \"e\"
|
|
1837
|
+
* @type {string}
|
|
1838
|
+
* @memberof JWKSKey
|
|
1839
|
+
*/
|
|
1840
|
+
e?: string;
|
|
1841
|
+
/**
|
|
1842
|
+
* RSA key value \"n\"
|
|
1843
|
+
* @type {string}
|
|
1844
|
+
* @memberof JWKSKey
|
|
1845
|
+
*/
|
|
1846
|
+
n?: string;
|
|
1847
|
+
/**
|
|
1848
|
+
* The \"x5c\" (X.509 certificate chain) parameter contains a chain of one or more PKIX certificates
|
|
1849
|
+
* @type {Array<string>}
|
|
1850
|
+
* @memberof JWKSKey
|
|
1851
|
+
*/
|
|
1852
|
+
x5c?: Array<string>;
|
|
1853
|
+
}
|
|
1652
1854
|
/**
|
|
1653
1855
|
*
|
|
1654
1856
|
* @export
|
|
@@ -2258,6 +2460,25 @@ export interface LoginMethod {
|
|
|
2258
2460
|
*/
|
|
2259
2461
|
login_fields?: Array<LoginField>;
|
|
2260
2462
|
}
|
|
2463
|
+
/**
|
|
2464
|
+
*
|
|
2465
|
+
* @export
|
|
2466
|
+
* @interface MandateAuthEncryptionInfo
|
|
2467
|
+
*/
|
|
2468
|
+
export interface MandateAuthEncryptionInfo {
|
|
2469
|
+
/**
|
|
2470
|
+
*
|
|
2471
|
+
* @type {string}
|
|
2472
|
+
* @memberof MandateAuthEncryptionInfo
|
|
2473
|
+
*/
|
|
2474
|
+
jwks_url: string;
|
|
2475
|
+
/**
|
|
2476
|
+
*
|
|
2477
|
+
* @type {string}
|
|
2478
|
+
* @memberof MandateAuthEncryptionInfo
|
|
2479
|
+
*/
|
|
2480
|
+
key_id: string;
|
|
2481
|
+
}
|
|
2261
2482
|
/**
|
|
2262
2483
|
*
|
|
2263
2484
|
* @export
|
|
@@ -3095,6 +3316,15 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3095
3316
|
* @throws {RequiredError}
|
|
3096
3317
|
*/
|
|
3097
3318
|
getMandate: (mandateId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3319
|
+
/**
|
|
3320
|
+
* Get Mandate Authorization by mandate id
|
|
3321
|
+
* @param {string} mandateId Finverse Mandate ID
|
|
3322
|
+
* @param {string} institutionId Finverse Institution ID
|
|
3323
|
+
* @param {'PERSONAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are PERSONAL, BUSINESS
|
|
3324
|
+
* @param {*} [options] Override http request option.
|
|
3325
|
+
* @throws {RequiredError}
|
|
3326
|
+
*/
|
|
3327
|
+
getMandateAuth: (mandateId: string, institutionId: string, senderType?: 'PERSONAL' | 'BUSINESS', options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3098
3328
|
/**
|
|
3099
3329
|
* Get Payment details by payment_id
|
|
3100
3330
|
* @param {string} paymentId payment id
|
|
@@ -3190,6 +3420,15 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
3190
3420
|
* @throws {RequiredError}
|
|
3191
3421
|
*/
|
|
3192
3422
|
getMandate(mandateId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMandateResponse>>;
|
|
3423
|
+
/**
|
|
3424
|
+
* Get Mandate Authorization by mandate id
|
|
3425
|
+
* @param {string} mandateId Finverse Mandate ID
|
|
3426
|
+
* @param {string} institutionId Finverse Institution ID
|
|
3427
|
+
* @param {'PERSONAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are PERSONAL, BUSINESS
|
|
3428
|
+
* @param {*} [options] Override http request option.
|
|
3429
|
+
* @throws {RequiredError}
|
|
3430
|
+
*/
|
|
3431
|
+
getMandateAuth(mandateId: string, institutionId: string, senderType?: 'PERSONAL' | 'BUSINESS', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMandateAuthResponse>>;
|
|
3193
3432
|
/**
|
|
3194
3433
|
* Get Payment details by payment_id
|
|
3195
3434
|
* @param {string} paymentId payment id
|
|
@@ -3285,6 +3524,15 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
3285
3524
|
* @throws {RequiredError}
|
|
3286
3525
|
*/
|
|
3287
3526
|
getMandate(mandateId: string, options?: any): AxiosPromise<GetMandateResponse>;
|
|
3527
|
+
/**
|
|
3528
|
+
* Get Mandate Authorization by mandate id
|
|
3529
|
+
* @param {string} mandateId Finverse Mandate ID
|
|
3530
|
+
* @param {string} institutionId Finverse Institution ID
|
|
3531
|
+
* @param {'PERSONAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are PERSONAL, BUSINESS
|
|
3532
|
+
* @param {*} [options] Override http request option.
|
|
3533
|
+
* @throws {RequiredError}
|
|
3534
|
+
*/
|
|
3535
|
+
getMandateAuth(mandateId: string, institutionId: string, senderType?: 'PERSONAL' | 'BUSINESS', options?: any): AxiosPromise<GetMandateAuthResponse>;
|
|
3288
3536
|
/**
|
|
3289
3537
|
* Get Payment details by payment_id
|
|
3290
3538
|
* @param {string} paymentId payment id
|
|
@@ -3389,6 +3637,16 @@ export interface CustomerApiInterface {
|
|
|
3389
3637
|
* @memberof CustomerApiInterface
|
|
3390
3638
|
*/
|
|
3391
3639
|
getMandate(mandateId: string, options?: AxiosRequestConfig): AxiosPromise<GetMandateResponse>;
|
|
3640
|
+
/**
|
|
3641
|
+
* Get Mandate Authorization by mandate id
|
|
3642
|
+
* @param {string} mandateId Finverse Mandate ID
|
|
3643
|
+
* @param {string} institutionId Finverse Institution ID
|
|
3644
|
+
* @param {'PERSONAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are PERSONAL, BUSINESS
|
|
3645
|
+
* @param {*} [options] Override http request option.
|
|
3646
|
+
* @throws {RequiredError}
|
|
3647
|
+
* @memberof CustomerApiInterface
|
|
3648
|
+
*/
|
|
3649
|
+
getMandateAuth(mandateId: string, institutionId: string, senderType?: 'PERSONAL' | 'BUSINESS', options?: AxiosRequestConfig): AxiosPromise<GetMandateAuthResponse>;
|
|
3392
3650
|
/**
|
|
3393
3651
|
* Get Payment details by payment_id
|
|
3394
3652
|
* @param {string} paymentId payment id
|
|
@@ -3498,6 +3756,16 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
3498
3756
|
* @memberof CustomerApi
|
|
3499
3757
|
*/
|
|
3500
3758
|
getMandate(mandateId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMandateResponse>>;
|
|
3759
|
+
/**
|
|
3760
|
+
* Get Mandate Authorization by mandate id
|
|
3761
|
+
* @param {string} mandateId Finverse Mandate ID
|
|
3762
|
+
* @param {string} institutionId Finverse Institution ID
|
|
3763
|
+
* @param {'PERSONAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are PERSONAL, BUSINESS
|
|
3764
|
+
* @param {*} [options] Override http request option.
|
|
3765
|
+
* @throws {RequiredError}
|
|
3766
|
+
* @memberof CustomerApi
|
|
3767
|
+
*/
|
|
3768
|
+
getMandateAuth(mandateId: string, institutionId: string, senderType?: 'PERSONAL' | 'BUSINESS', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMandateAuthResponse>>;
|
|
3501
3769
|
/**
|
|
3502
3770
|
* Get Payment details by payment_id
|
|
3503
3771
|
* @param {string} paymentId payment id
|
|
@@ -3849,13 +4117,6 @@ export declare const LoginIdentityApiAxiosParamCreator: (configuration?: Configu
|
|
|
3849
4117
|
* @throws {RequiredError}
|
|
3850
4118
|
*/
|
|
3851
4119
|
getStatement: (statementId: string, redirect?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3852
|
-
/**
|
|
3853
|
-
* (Deprecated) Get statement link for download
|
|
3854
|
-
* @param {string} statementId The statement id
|
|
3855
|
-
* @param {*} [options] Override http request option.
|
|
3856
|
-
* @throws {RequiredError}
|
|
3857
|
-
*/
|
|
3858
|
-
getStatementLink: (statementId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3859
4120
|
/**
|
|
3860
4121
|
* Get list of available statements
|
|
3861
4122
|
* @param {*} [options] Override http request option.
|
|
@@ -3964,13 +4225,6 @@ export declare const LoginIdentityApiFp: (configuration?: Configuration) => {
|
|
|
3964
4225
|
* @throws {RequiredError}
|
|
3965
4226
|
*/
|
|
3966
4227
|
getStatement(statementId: string, redirect?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStatementLinkResponse>>;
|
|
3967
|
-
/**
|
|
3968
|
-
* (Deprecated) Get statement link for download
|
|
3969
|
-
* @param {string} statementId The statement id
|
|
3970
|
-
* @param {*} [options] Override http request option.
|
|
3971
|
-
* @throws {RequiredError}
|
|
3972
|
-
*/
|
|
3973
|
-
getStatementLink(statementId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStatementLinkResponse>>;
|
|
3974
4228
|
/**
|
|
3975
4229
|
* Get list of available statements
|
|
3976
4230
|
* @param {*} [options] Override http request option.
|
|
@@ -4079,13 +4333,6 @@ export declare const LoginIdentityApiFactory: (configuration?: Configuration, ba
|
|
|
4079
4333
|
* @throws {RequiredError}
|
|
4080
4334
|
*/
|
|
4081
4335
|
getStatement(statementId: string, redirect?: boolean, options?: any): AxiosPromise<GetStatementLinkResponse>;
|
|
4082
|
-
/**
|
|
4083
|
-
* (Deprecated) Get statement link for download
|
|
4084
|
-
* @param {string} statementId The statement id
|
|
4085
|
-
* @param {*} [options] Override http request option.
|
|
4086
|
-
* @throws {RequiredError}
|
|
4087
|
-
*/
|
|
4088
|
-
getStatementLink(statementId: string, options?: any): AxiosPromise<GetStatementLinkResponse>;
|
|
4089
4336
|
/**
|
|
4090
4337
|
* Get list of available statements
|
|
4091
4338
|
* @param {*} [options] Override http request option.
|
|
@@ -4205,14 +4452,6 @@ export interface LoginIdentityApiInterface {
|
|
|
4205
4452
|
* @memberof LoginIdentityApiInterface
|
|
4206
4453
|
*/
|
|
4207
4454
|
getStatement(statementId: string, redirect?: boolean, options?: AxiosRequestConfig): AxiosPromise<GetStatementLinkResponse>;
|
|
4208
|
-
/**
|
|
4209
|
-
* (Deprecated) Get statement link for download
|
|
4210
|
-
* @param {string} statementId The statement id
|
|
4211
|
-
* @param {*} [options] Override http request option.
|
|
4212
|
-
* @throws {RequiredError}
|
|
4213
|
-
* @memberof LoginIdentityApiInterface
|
|
4214
|
-
*/
|
|
4215
|
-
getStatementLink(statementId: string, options?: AxiosRequestConfig): AxiosPromise<GetStatementLinkResponse>;
|
|
4216
4455
|
/**
|
|
4217
4456
|
* Get list of available statements
|
|
4218
4457
|
* @param {*} [options] Override http request option.
|
|
@@ -4338,14 +4577,6 @@ export declare class LoginIdentityApi extends BaseAPI implements LoginIdentityAp
|
|
|
4338
4577
|
* @memberof LoginIdentityApi
|
|
4339
4578
|
*/
|
|
4340
4579
|
getStatement(statementId: string, redirect?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetStatementLinkResponse>>;
|
|
4341
|
-
/**
|
|
4342
|
-
* (Deprecated) Get statement link for download
|
|
4343
|
-
* @param {string} statementId The statement id
|
|
4344
|
-
* @param {*} [options] Override http request option.
|
|
4345
|
-
* @throws {RequiredError}
|
|
4346
|
-
* @memberof LoginIdentityApi
|
|
4347
|
-
*/
|
|
4348
|
-
getStatementLink(statementId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetStatementLinkResponse>>;
|
|
4349
4580
|
/**
|
|
4350
4581
|
* Get list of available statements
|
|
4351
4582
|
* @param {*} [options] Override http request option.
|
|
@@ -4410,6 +4641,12 @@ export declare const PublicApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
4410
4641
|
* @throws {RequiredError}
|
|
4411
4642
|
*/
|
|
4412
4643
|
generateCustomerAccessToken: (tokenRequest?: TokenRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4644
|
+
/**
|
|
4645
|
+
* get payment jwks
|
|
4646
|
+
* @param {*} [options] Override http request option.
|
|
4647
|
+
* @throws {RequiredError}
|
|
4648
|
+
*/
|
|
4649
|
+
getPaymentsJwks: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4413
4650
|
};
|
|
4414
4651
|
/**
|
|
4415
4652
|
* PublicApi - functional programming interface
|
|
@@ -4434,6 +4671,12 @@ export declare const PublicApiFp: (configuration?: Configuration) => {
|
|
|
4434
4671
|
* @throws {RequiredError}
|
|
4435
4672
|
*/
|
|
4436
4673
|
generateCustomerAccessToken(tokenRequest?: TokenRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TokenResponse>>;
|
|
4674
|
+
/**
|
|
4675
|
+
* get payment jwks
|
|
4676
|
+
* @param {*} [options] Override http request option.
|
|
4677
|
+
* @throws {RequiredError}
|
|
4678
|
+
*/
|
|
4679
|
+
getPaymentsJwks(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetJWKSResponse>>;
|
|
4437
4680
|
};
|
|
4438
4681
|
/**
|
|
4439
4682
|
* PublicApi - factory interface
|
|
@@ -4458,6 +4701,12 @@ export declare const PublicApiFactory: (configuration?: Configuration, basePath?
|
|
|
4458
4701
|
* @throws {RequiredError}
|
|
4459
4702
|
*/
|
|
4460
4703
|
generateCustomerAccessToken(tokenRequest?: TokenRequest, options?: any): AxiosPromise<TokenResponse>;
|
|
4704
|
+
/**
|
|
4705
|
+
* get payment jwks
|
|
4706
|
+
* @param {*} [options] Override http request option.
|
|
4707
|
+
* @throws {RequiredError}
|
|
4708
|
+
*/
|
|
4709
|
+
getPaymentsJwks(options?: any): AxiosPromise<GetJWKSResponse>;
|
|
4461
4710
|
};
|
|
4462
4711
|
/**
|
|
4463
4712
|
* PublicApi - interface
|
|
@@ -4485,6 +4734,13 @@ export interface PublicApiInterface {
|
|
|
4485
4734
|
* @memberof PublicApiInterface
|
|
4486
4735
|
*/
|
|
4487
4736
|
generateCustomerAccessToken(tokenRequest?: TokenRequest, options?: AxiosRequestConfig): AxiosPromise<TokenResponse>;
|
|
4737
|
+
/**
|
|
4738
|
+
* get payment jwks
|
|
4739
|
+
* @param {*} [options] Override http request option.
|
|
4740
|
+
* @throws {RequiredError}
|
|
4741
|
+
* @memberof PublicApiInterface
|
|
4742
|
+
*/
|
|
4743
|
+
getPaymentsJwks(options?: AxiosRequestConfig): AxiosPromise<GetJWKSResponse>;
|
|
4488
4744
|
}
|
|
4489
4745
|
/**
|
|
4490
4746
|
* PublicApi - object-oriented interface
|
|
@@ -4513,4 +4769,11 @@ export declare class PublicApi extends BaseAPI implements PublicApiInterface {
|
|
|
4513
4769
|
* @memberof PublicApi
|
|
4514
4770
|
*/
|
|
4515
4771
|
generateCustomerAccessToken(tokenRequest?: TokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TokenResponse>>;
|
|
4772
|
+
/**
|
|
4773
|
+
* get payment jwks
|
|
4774
|
+
* @param {*} [options] Override http request option.
|
|
4775
|
+
* @throws {RequiredError}
|
|
4776
|
+
* @memberof PublicApi
|
|
4777
|
+
*/
|
|
4778
|
+
getPaymentsJwks(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetJWKSResponse>>;
|
|
4516
4779
|
}
|
package/dist/api.js
CHANGED
|
@@ -22,13 +22,32 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentInstructionTypeEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.GetPaymentResponseStatusEnum = exports.GetPaymentResponseTypeEnum = exports.GetMandateResponseMandateStatusEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreatePaymentRequestTypeEnum = void 0;
|
|
25
|
+
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentInstructionTypeEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.GetPaymentResponseStatusEnum = exports.GetPaymentResponseTypeEnum = exports.GetMandateResponseMandateStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
const common_1 = require("./common");
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
const base_1 = require("./base");
|
|
32
|
+
exports.AuthChecklistFactorTypeEnum = {
|
|
33
|
+
AccountIdentification: 'ACCOUNT_IDENTIFICATION',
|
|
34
|
+
UserIdentification: 'USER_IDENTIFICATION',
|
|
35
|
+
EnduserConsent: 'ENDUSER_CONSENT',
|
|
36
|
+
AccountholderAuthentication: 'ACCOUNTHOLDER_AUTHENTICATION',
|
|
37
|
+
};
|
|
38
|
+
exports.AuthChecklistFactorRequiredEnum = {
|
|
39
|
+
Yes: 'YES',
|
|
40
|
+
No: 'NO',
|
|
41
|
+
Optional: 'OPTIONAL',
|
|
42
|
+
};
|
|
43
|
+
exports.AuthChecklistOptionsNameEnum = {
|
|
44
|
+
CredentialsLogin: 'INSTITUTION_CREDENTIALS_LOGIN',
|
|
45
|
+
OauthLogin: 'INSTITUTION_OAUTH_LOGIN',
|
|
46
|
+
};
|
|
47
|
+
exports.AuthChecklistOptionsSubmittedByEnum = {
|
|
48
|
+
CustomerApp: 'CUSTOMER_APP',
|
|
49
|
+
FinverseLink: 'FINVERSE_LINK',
|
|
50
|
+
};
|
|
32
51
|
exports.CreatePaymentRequestTypeEnum = {
|
|
33
52
|
Mandate: 'MANDATE',
|
|
34
53
|
Single: 'SINGLE',
|
|
@@ -36,9 +55,19 @@ exports.CreatePaymentRequestTypeEnum = {
|
|
|
36
55
|
exports.CustomerPaymentInstructionTypeEnum = {
|
|
37
56
|
DebitAuthorization: 'DEBIT_AUTHORIZATION',
|
|
38
57
|
};
|
|
58
|
+
exports.GetMandateAuthResponseMandateStatusEnum = {
|
|
59
|
+
Created: 'CREATED',
|
|
60
|
+
Processing: 'PROCESSING',
|
|
61
|
+
Submitted: 'SUBMITTED',
|
|
62
|
+
Error: 'ERROR',
|
|
63
|
+
};
|
|
64
|
+
exports.GetMandateAuthResponseSenderTypeEnum = {
|
|
65
|
+
Personal: 'PERSONAL',
|
|
66
|
+
Business: 'BUSINESS',
|
|
67
|
+
};
|
|
39
68
|
exports.GetMandateResponseMandateStatusEnum = {
|
|
40
69
|
Created: 'CREATED',
|
|
41
|
-
|
|
70
|
+
Processing: 'PROCESSING',
|
|
42
71
|
Submitted: 'SUBMITTED',
|
|
43
72
|
Error: 'ERROR',
|
|
44
73
|
};
|
|
@@ -345,6 +374,46 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
345
374
|
options: localVarRequestOptions,
|
|
346
375
|
};
|
|
347
376
|
}),
|
|
377
|
+
/**
|
|
378
|
+
* Get Mandate Authorization by mandate id
|
|
379
|
+
* @param {string} mandateId Finverse Mandate ID
|
|
380
|
+
* @param {string} institutionId Finverse Institution ID
|
|
381
|
+
* @param {'PERSONAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are PERSONAL, BUSINESS
|
|
382
|
+
* @param {*} [options] Override http request option.
|
|
383
|
+
* @throws {RequiredError}
|
|
384
|
+
*/
|
|
385
|
+
getMandateAuth: (mandateId, institutionId, senderType, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
386
|
+
// verify required parameter 'mandateId' is not null or undefined
|
|
387
|
+
common_1.assertParamExists('getMandateAuth', 'mandateId', mandateId);
|
|
388
|
+
// verify required parameter 'institutionId' is not null or undefined
|
|
389
|
+
common_1.assertParamExists('getMandateAuth', 'institutionId', institutionId);
|
|
390
|
+
const localVarPath = `/mandates/{mandateId}/auth`.replace(`{${'mandateId'}}`, encodeURIComponent(String(mandateId)));
|
|
391
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
392
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
393
|
+
let baseOptions;
|
|
394
|
+
if (configuration) {
|
|
395
|
+
baseOptions = configuration.baseOptions;
|
|
396
|
+
}
|
|
397
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
398
|
+
const localVarHeaderParameter = {};
|
|
399
|
+
const localVarQueryParameter = {};
|
|
400
|
+
// authentication Oauth2 required
|
|
401
|
+
// oauth required
|
|
402
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
403
|
+
if (institutionId !== undefined) {
|
|
404
|
+
localVarQueryParameter['institution_id'] = institutionId;
|
|
405
|
+
}
|
|
406
|
+
if (senderType !== undefined) {
|
|
407
|
+
localVarQueryParameter['sender_type'] = senderType;
|
|
408
|
+
}
|
|
409
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
410
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
411
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
412
|
+
return {
|
|
413
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
414
|
+
options: localVarRequestOptions,
|
|
415
|
+
};
|
|
416
|
+
}),
|
|
348
417
|
/**
|
|
349
418
|
* Get Payment details by payment_id
|
|
350
419
|
* @param {string} paymentId payment id
|
|
@@ -587,6 +656,20 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
587
656
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
588
657
|
});
|
|
589
658
|
},
|
|
659
|
+
/**
|
|
660
|
+
* Get Mandate Authorization by mandate id
|
|
661
|
+
* @param {string} mandateId Finverse Mandate ID
|
|
662
|
+
* @param {string} institutionId Finverse Institution ID
|
|
663
|
+
* @param {'PERSONAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are PERSONAL, BUSINESS
|
|
664
|
+
* @param {*} [options] Override http request option.
|
|
665
|
+
* @throws {RequiredError}
|
|
666
|
+
*/
|
|
667
|
+
getMandateAuth(mandateId, institutionId, senderType, options) {
|
|
668
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
669
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMandateAuth(mandateId, institutionId, senderType, options);
|
|
670
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
671
|
+
});
|
|
672
|
+
},
|
|
590
673
|
/**
|
|
591
674
|
* Get Payment details by payment_id
|
|
592
675
|
* @param {string} paymentId payment id
|
|
@@ -727,6 +810,19 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
727
810
|
getMandate(mandateId, options) {
|
|
728
811
|
return localVarFp.getMandate(mandateId, options).then((request) => request(axios, basePath));
|
|
729
812
|
},
|
|
813
|
+
/**
|
|
814
|
+
* Get Mandate Authorization by mandate id
|
|
815
|
+
* @param {string} mandateId Finverse Mandate ID
|
|
816
|
+
* @param {string} institutionId Finverse Institution ID
|
|
817
|
+
* @param {'PERSONAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are PERSONAL, BUSINESS
|
|
818
|
+
* @param {*} [options] Override http request option.
|
|
819
|
+
* @throws {RequiredError}
|
|
820
|
+
*/
|
|
821
|
+
getMandateAuth(mandateId, institutionId, senderType, options) {
|
|
822
|
+
return localVarFp
|
|
823
|
+
.getMandateAuth(mandateId, institutionId, senderType, options)
|
|
824
|
+
.then((request) => request(axios, basePath));
|
|
825
|
+
},
|
|
730
826
|
/**
|
|
731
827
|
* Get Payment details by payment_id
|
|
732
828
|
* @param {string} paymentId payment id
|
|
@@ -877,6 +973,20 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
877
973
|
.getMandate(mandateId, options)
|
|
878
974
|
.then((request) => request(this.axios, this.basePath));
|
|
879
975
|
}
|
|
976
|
+
/**
|
|
977
|
+
* Get Mandate Authorization by mandate id
|
|
978
|
+
* @param {string} mandateId Finverse Mandate ID
|
|
979
|
+
* @param {string} institutionId Finverse Institution ID
|
|
980
|
+
* @param {'PERSONAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are PERSONAL, BUSINESS
|
|
981
|
+
* @param {*} [options] Override http request option.
|
|
982
|
+
* @throws {RequiredError}
|
|
983
|
+
* @memberof CustomerApi
|
|
984
|
+
*/
|
|
985
|
+
getMandateAuth(mandateId, institutionId, senderType, options) {
|
|
986
|
+
return exports.CustomerApiFp(this.configuration)
|
|
987
|
+
.getMandateAuth(mandateId, institutionId, senderType, options)
|
|
988
|
+
.then((request) => request(this.axios, this.basePath));
|
|
989
|
+
}
|
|
880
990
|
/**
|
|
881
991
|
* Get Payment details by payment_id
|
|
882
992
|
* @param {string} paymentId payment id
|
|
@@ -1638,36 +1748,6 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1638
1748
|
options: localVarRequestOptions,
|
|
1639
1749
|
};
|
|
1640
1750
|
}),
|
|
1641
|
-
/**
|
|
1642
|
-
* (Deprecated) Get statement link for download
|
|
1643
|
-
* @param {string} statementId The statement id
|
|
1644
|
-
* @param {*} [options] Override http request option.
|
|
1645
|
-
* @throws {RequiredError}
|
|
1646
|
-
*/
|
|
1647
|
-
getStatementLink: (statementId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1648
|
-
// verify required parameter 'statementId' is not null or undefined
|
|
1649
|
-
common_1.assertParamExists('getStatementLink', 'statementId', statementId);
|
|
1650
|
-
const localVarPath = `/statement_links/{statementId}`.replace(`{${'statementId'}}`, encodeURIComponent(String(statementId)));
|
|
1651
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1652
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1653
|
-
let baseOptions;
|
|
1654
|
-
if (configuration) {
|
|
1655
|
-
baseOptions = configuration.baseOptions;
|
|
1656
|
-
}
|
|
1657
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1658
|
-
const localVarHeaderParameter = {};
|
|
1659
|
-
const localVarQueryParameter = {};
|
|
1660
|
-
// authentication Oauth2 required
|
|
1661
|
-
// oauth required
|
|
1662
|
-
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1663
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1664
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1665
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1666
|
-
return {
|
|
1667
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
1668
|
-
options: localVarRequestOptions,
|
|
1669
|
-
};
|
|
1670
|
-
}),
|
|
1671
1751
|
/**
|
|
1672
1752
|
* Get list of available statements
|
|
1673
1753
|
* @param {*} [options] Override http request option.
|
|
@@ -1948,18 +2028,6 @@ exports.LoginIdentityApiFp = function (configuration) {
|
|
|
1948
2028
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1949
2029
|
});
|
|
1950
2030
|
},
|
|
1951
|
-
/**
|
|
1952
|
-
* (Deprecated) Get statement link for download
|
|
1953
|
-
* @param {string} statementId The statement id
|
|
1954
|
-
* @param {*} [options] Override http request option.
|
|
1955
|
-
* @throws {RequiredError}
|
|
1956
|
-
*/
|
|
1957
|
-
getStatementLink(statementId, options) {
|
|
1958
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1959
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getStatementLink(statementId, options);
|
|
1960
|
-
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1961
|
-
});
|
|
1962
|
-
},
|
|
1963
2031
|
/**
|
|
1964
2032
|
* Get list of available statements
|
|
1965
2033
|
* @param {*} [options] Override http request option.
|
|
@@ -2116,15 +2184,6 @@ exports.LoginIdentityApiFactory = function (configuration, basePath, axios) {
|
|
|
2116
2184
|
getStatement(statementId, redirect, options) {
|
|
2117
2185
|
return localVarFp.getStatement(statementId, redirect, options).then((request) => request(axios, basePath));
|
|
2118
2186
|
},
|
|
2119
|
-
/**
|
|
2120
|
-
* (Deprecated) Get statement link for download
|
|
2121
|
-
* @param {string} statementId The statement id
|
|
2122
|
-
* @param {*} [options] Override http request option.
|
|
2123
|
-
* @throws {RequiredError}
|
|
2124
|
-
*/
|
|
2125
|
-
getStatementLink(statementId, options) {
|
|
2126
|
-
return localVarFp.getStatementLink(statementId, options).then((request) => request(axios, basePath));
|
|
2127
|
-
},
|
|
2128
2187
|
/**
|
|
2129
2188
|
* Get list of available statements
|
|
2130
2189
|
* @param {*} [options] Override http request option.
|
|
@@ -2300,18 +2359,6 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2300
2359
|
.getStatement(statementId, redirect, options)
|
|
2301
2360
|
.then((request) => request(this.axios, this.basePath));
|
|
2302
2361
|
}
|
|
2303
|
-
/**
|
|
2304
|
-
* (Deprecated) Get statement link for download
|
|
2305
|
-
* @param {string} statementId The statement id
|
|
2306
|
-
* @param {*} [options] Override http request option.
|
|
2307
|
-
* @throws {RequiredError}
|
|
2308
|
-
* @memberof LoginIdentityApi
|
|
2309
|
-
*/
|
|
2310
|
-
getStatementLink(statementId, options) {
|
|
2311
|
-
return exports.LoginIdentityApiFp(this.configuration)
|
|
2312
|
-
.getStatementLink(statementId, options)
|
|
2313
|
-
.then((request) => request(this.axios, this.basePath));
|
|
2314
|
-
}
|
|
2315
2362
|
/**
|
|
2316
2363
|
* Get list of available statements
|
|
2317
2364
|
* @param {*} [options] Override http request option.
|
|
@@ -2459,6 +2506,33 @@ exports.PublicApiAxiosParamCreator = function (configuration) {
|
|
|
2459
2506
|
options: localVarRequestOptions,
|
|
2460
2507
|
};
|
|
2461
2508
|
}),
|
|
2509
|
+
/**
|
|
2510
|
+
* get payment jwks
|
|
2511
|
+
* @param {*} [options] Override http request option.
|
|
2512
|
+
* @throws {RequiredError}
|
|
2513
|
+
*/
|
|
2514
|
+
getPaymentsJwks: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2515
|
+
const localVarPath = `/payments/jwks`;
|
|
2516
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2517
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2518
|
+
let baseOptions;
|
|
2519
|
+
if (configuration) {
|
|
2520
|
+
baseOptions = configuration.baseOptions;
|
|
2521
|
+
}
|
|
2522
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2523
|
+
const localVarHeaderParameter = {};
|
|
2524
|
+
const localVarQueryParameter = {};
|
|
2525
|
+
// authentication Oauth2 required
|
|
2526
|
+
// oauth required
|
|
2527
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', ['test'], configuration);
|
|
2528
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2529
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2530
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2531
|
+
return {
|
|
2532
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
2533
|
+
options: localVarRequestOptions,
|
|
2534
|
+
};
|
|
2535
|
+
}),
|
|
2462
2536
|
};
|
|
2463
2537
|
};
|
|
2464
2538
|
/**
|
|
@@ -2496,6 +2570,17 @@ exports.PublicApiFp = function (configuration) {
|
|
|
2496
2570
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2497
2571
|
});
|
|
2498
2572
|
},
|
|
2573
|
+
/**
|
|
2574
|
+
* get payment jwks
|
|
2575
|
+
* @param {*} [options] Override http request option.
|
|
2576
|
+
* @throws {RequiredError}
|
|
2577
|
+
*/
|
|
2578
|
+
getPaymentsJwks(options) {
|
|
2579
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2580
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPaymentsJwks(options);
|
|
2581
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2582
|
+
});
|
|
2583
|
+
},
|
|
2499
2584
|
};
|
|
2500
2585
|
};
|
|
2501
2586
|
/**
|
|
@@ -2529,6 +2614,14 @@ exports.PublicApiFactory = function (configuration, basePath, axios) {
|
|
|
2529
2614
|
generateCustomerAccessToken(tokenRequest, options) {
|
|
2530
2615
|
return localVarFp.generateCustomerAccessToken(tokenRequest, options).then((request) => request(axios, basePath));
|
|
2531
2616
|
},
|
|
2617
|
+
/**
|
|
2618
|
+
* get payment jwks
|
|
2619
|
+
* @param {*} [options] Override http request option.
|
|
2620
|
+
* @throws {RequiredError}
|
|
2621
|
+
*/
|
|
2622
|
+
getPaymentsJwks(options) {
|
|
2623
|
+
return localVarFp.getPaymentsJwks(options).then((request) => request(axios, basePath));
|
|
2624
|
+
},
|
|
2532
2625
|
};
|
|
2533
2626
|
};
|
|
2534
2627
|
/**
|
|
@@ -2566,5 +2659,16 @@ class PublicApi extends base_1.BaseAPI {
|
|
|
2566
2659
|
.generateCustomerAccessToken(tokenRequest, options)
|
|
2567
2660
|
.then((request) => request(this.axios, this.basePath));
|
|
2568
2661
|
}
|
|
2662
|
+
/**
|
|
2663
|
+
* get payment jwks
|
|
2664
|
+
* @param {*} [options] Override http request option.
|
|
2665
|
+
* @throws {RequiredError}
|
|
2666
|
+
* @memberof PublicApi
|
|
2667
|
+
*/
|
|
2668
|
+
getPaymentsJwks(options) {
|
|
2669
|
+
return exports.PublicApiFp(this.configuration)
|
|
2670
|
+
.getPaymentsJwks(options)
|
|
2671
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2672
|
+
}
|
|
2569
2673
|
}
|
|
2570
2674
|
exports.PublicApi = PublicApi;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finverse/sdk-typescript",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.48",
|
|
4
4
|
"description": "OpenAPI client for @finverse/sdk-typescript",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"axios-mock-adapter": "^1.21.1",
|
|
28
28
|
"chai": "^4.3.6",
|
|
29
29
|
"mocha": "^10.0.0",
|
|
30
|
-
"ts-node": "^10.
|
|
30
|
+
"ts-node": "^10.9.1",
|
|
31
31
|
"typescript": "^3.6.4"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|