@finverse/sdk-typescript 0.0.47 → 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.
Files changed (3) hide show
  1. package/dist/api.d.ts +213 -1
  2. package/dist/api.js +112 -2
  3. package/package.json +1 -1
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
@@ -908,6 +987,73 @@ export interface GetLoginIdentityHistoryResponse {
908
987
  */
909
988
  status_history?: Array<LoginIdentityStatusDetails>;
910
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];
911
1057
  /**
912
1058
  *
913
1059
  * @export
@@ -953,7 +1099,7 @@ export interface GetMandateResponse {
953
1099
  }
954
1100
  export declare const GetMandateResponseMandateStatusEnum: {
955
1101
  readonly Created: "CREATED";
956
- readonly Used: "USED";
1102
+ readonly Processing: "PROCESSING";
957
1103
  readonly Submitted: "SUBMITTED";
958
1104
  readonly Error: "ERROR";
959
1105
  };
@@ -2314,6 +2460,25 @@ export interface LoginMethod {
2314
2460
  */
2315
2461
  login_fields?: Array<LoginField>;
2316
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
+ }
2317
2482
  /**
2318
2483
  *
2319
2484
  * @export
@@ -3151,6 +3316,15 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
3151
3316
  * @throws {RequiredError}
3152
3317
  */
3153
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>;
3154
3328
  /**
3155
3329
  * Get Payment details by payment_id
3156
3330
  * @param {string} paymentId payment id
@@ -3246,6 +3420,15 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
3246
3420
  * @throws {RequiredError}
3247
3421
  */
3248
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>>;
3249
3432
  /**
3250
3433
  * Get Payment details by payment_id
3251
3434
  * @param {string} paymentId payment id
@@ -3341,6 +3524,15 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
3341
3524
  * @throws {RequiredError}
3342
3525
  */
3343
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>;
3344
3536
  /**
3345
3537
  * Get Payment details by payment_id
3346
3538
  * @param {string} paymentId payment id
@@ -3445,6 +3637,16 @@ export interface CustomerApiInterface {
3445
3637
  * @memberof CustomerApiInterface
3446
3638
  */
3447
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>;
3448
3650
  /**
3449
3651
  * Get Payment details by payment_id
3450
3652
  * @param {string} paymentId payment id
@@ -3554,6 +3756,16 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
3554
3756
  * @memberof CustomerApi
3555
3757
  */
3556
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>>;
3557
3769
  /**
3558
3770
  * Get Payment details by payment_id
3559
3771
  * @param {string} paymentId payment id
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
- Used: 'USED',
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.47",
3
+ "version": "0.0.48",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [