@finverse/sdk-typescript 0.0.54 → 0.0.55

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 +16 -20
  2. package/dist/api.js +16 -30
  3. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -2991,6 +2991,12 @@ export interface Principal {
2991
2991
  * @memberof Principal
2992
2992
  */
2993
2993
  customization_id?: string;
2994
+ /**
2995
+ *
2996
+ * @type {string}
2997
+ * @memberof Principal
2998
+ */
2999
+ mandate_id?: string;
2994
3000
  /**
2995
3001
  *
2996
3002
  * @type {number}
@@ -3536,13 +3542,12 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
3536
3542
  getMandate: (mandateId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3537
3543
  /**
3538
3544
  * Get Mandate Authorization by mandate id
3539
- * @param {string} mandateId Finverse Mandate ID
3540
3545
  * @param {string} institutionId Finverse Institution ID
3541
3546
  * @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
3542
3547
  * @param {*} [options] Override http request option.
3543
3548
  * @throws {RequiredError}
3544
3549
  */
3545
- getMandateAuth: (mandateId: string, institutionId: string, senderType?: 'PERSONAL' | 'BUSINESS', options?: AxiosRequestConfig) => Promise<RequestArgs>;
3550
+ getMandateAuth: (institutionId: string, senderType?: 'PERSONAL' | 'BUSINESS', options?: AxiosRequestConfig) => Promise<RequestArgs>;
3546
3551
  /**
3547
3552
  * Get link to launch FV Link UI in mandate authorization mode
3548
3553
  * @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
@@ -3583,12 +3588,11 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
3583
3588
  refreshToken: (refreshRequest: RefreshRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3584
3589
  /**
3585
3590
  * Submit authorization checklist items
3586
- * @param {string} mandateId mandate id
3587
3591
  * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
3588
3592
  * @param {*} [options] Override http request option.
3589
3593
  * @throws {RequiredError}
3590
3594
  */
3591
- submitAuthChecklist: (mandateId: string, submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3595
+ submitAuthChecklist: (submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3592
3596
  };
3593
3597
  /**
3594
3598
  * CustomerApi - functional programming interface
@@ -3655,13 +3659,12 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
3655
3659
  getMandate(mandateId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMandateResponse>>;
3656
3660
  /**
3657
3661
  * Get Mandate Authorization by mandate id
3658
- * @param {string} mandateId Finverse Mandate ID
3659
3662
  * @param {string} institutionId Finverse Institution ID
3660
3663
  * @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
3661
3664
  * @param {*} [options] Override http request option.
3662
3665
  * @throws {RequiredError}
3663
3666
  */
3664
- getMandateAuth(mandateId: string, institutionId: string, senderType?: 'PERSONAL' | 'BUSINESS', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMandateAuthResponse>>;
3667
+ getMandateAuth(institutionId: string, senderType?: 'PERSONAL' | 'BUSINESS', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMandateAuthResponse>>;
3665
3668
  /**
3666
3669
  * Get link to launch FV Link UI in mandate authorization mode
3667
3670
  * @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
@@ -3702,12 +3705,11 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
3702
3705
  refreshToken(refreshRequest: RefreshRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccessTokenResponse>>;
3703
3706
  /**
3704
3707
  * Submit authorization checklist items
3705
- * @param {string} mandateId mandate id
3706
3708
  * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
3707
3709
  * @param {*} [options] Override http request option.
3708
3710
  * @throws {RequiredError}
3709
3711
  */
3710
- submitAuthChecklist(mandateId: string, submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubmitAuthChecklistResponse>>;
3712
+ submitAuthChecklist(submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubmitAuthChecklistResponse>>;
3711
3713
  };
3712
3714
  /**
3713
3715
  * CustomerApi - factory interface
@@ -3774,13 +3776,12 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
3774
3776
  getMandate(mandateId: string, options?: any): AxiosPromise<GetMandateResponse>;
3775
3777
  /**
3776
3778
  * Get Mandate Authorization by mandate id
3777
- * @param {string} mandateId Finverse Mandate ID
3778
3779
  * @param {string} institutionId Finverse Institution ID
3779
3780
  * @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
3780
3781
  * @param {*} [options] Override http request option.
3781
3782
  * @throws {RequiredError}
3782
3783
  */
3783
- getMandateAuth(mandateId: string, institutionId: string, senderType?: 'PERSONAL' | 'BUSINESS', options?: any): AxiosPromise<GetMandateAuthResponse>;
3784
+ getMandateAuth(institutionId: string, senderType?: 'PERSONAL' | 'BUSINESS', options?: any): AxiosPromise<GetMandateAuthResponse>;
3784
3785
  /**
3785
3786
  * Get link to launch FV Link UI in mandate authorization mode
3786
3787
  * @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
@@ -3821,12 +3822,11 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
3821
3822
  refreshToken(refreshRequest: RefreshRequest, options?: any): AxiosPromise<AccessTokenResponse>;
3822
3823
  /**
3823
3824
  * Submit authorization checklist items
3824
- * @param {string} mandateId mandate id
3825
3825
  * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
3826
3826
  * @param {*} [options] Override http request option.
3827
3827
  * @throws {RequiredError}
3828
3828
  */
3829
- submitAuthChecklist(mandateId: string, submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: any): AxiosPromise<SubmitAuthChecklistResponse>;
3829
+ submitAuthChecklist(submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: any): AxiosPromise<SubmitAuthChecklistResponse>;
3830
3830
  };
3831
3831
  /**
3832
3832
  * CustomerApi - interface
@@ -3902,14 +3902,13 @@ export interface CustomerApiInterface {
3902
3902
  getMandate(mandateId: string, options?: AxiosRequestConfig): AxiosPromise<GetMandateResponse>;
3903
3903
  /**
3904
3904
  * Get Mandate Authorization by mandate id
3905
- * @param {string} mandateId Finverse Mandate ID
3906
3905
  * @param {string} institutionId Finverse Institution ID
3907
3906
  * @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
3908
3907
  * @param {*} [options] Override http request option.
3909
3908
  * @throws {RequiredError}
3910
3909
  * @memberof CustomerApiInterface
3911
3910
  */
3912
- getMandateAuth(mandateId: string, institutionId: string, senderType?: 'PERSONAL' | 'BUSINESS', options?: AxiosRequestConfig): AxiosPromise<GetMandateAuthResponse>;
3911
+ getMandateAuth(institutionId: string, senderType?: 'PERSONAL' | 'BUSINESS', options?: AxiosRequestConfig): AxiosPromise<GetMandateAuthResponse>;
3913
3912
  /**
3914
3913
  * Get link to launch FV Link UI in mandate authorization mode
3915
3914
  * @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
@@ -3955,13 +3954,12 @@ export interface CustomerApiInterface {
3955
3954
  refreshToken(refreshRequest: RefreshRequest, options?: AxiosRequestConfig): AxiosPromise<AccessTokenResponse>;
3956
3955
  /**
3957
3956
  * Submit authorization checklist items
3958
- * @param {string} mandateId mandate id
3959
3957
  * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
3960
3958
  * @param {*} [options] Override http request option.
3961
3959
  * @throws {RequiredError}
3962
3960
  * @memberof CustomerApiInterface
3963
3961
  */
3964
- submitAuthChecklist(mandateId: string, submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): AxiosPromise<SubmitAuthChecklistResponse>;
3962
+ submitAuthChecklist(submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): AxiosPromise<SubmitAuthChecklistResponse>;
3965
3963
  }
3966
3964
  /**
3967
3965
  * CustomerApi - object-oriented interface
@@ -4038,14 +4036,13 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
4038
4036
  getMandate(mandateId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMandateResponse>>;
4039
4037
  /**
4040
4038
  * Get Mandate Authorization by mandate id
4041
- * @param {string} mandateId Finverse Mandate ID
4042
4039
  * @param {string} institutionId Finverse Institution ID
4043
4040
  * @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
4044
4041
  * @param {*} [options] Override http request option.
4045
4042
  * @throws {RequiredError}
4046
4043
  * @memberof CustomerApi
4047
4044
  */
4048
- getMandateAuth(mandateId: string, institutionId: string, senderType?: 'PERSONAL' | 'BUSINESS', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMandateAuthResponse>>;
4045
+ getMandateAuth(institutionId: string, senderType?: 'PERSONAL' | 'BUSINESS', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMandateAuthResponse>>;
4049
4046
  /**
4050
4047
  * Get link to launch FV Link UI in mandate authorization mode
4051
4048
  * @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
@@ -4091,13 +4088,12 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
4091
4088
  refreshToken(refreshRequest: RefreshRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccessTokenResponse>>;
4092
4089
  /**
4093
4090
  * Submit authorization checklist items
4094
- * @param {string} mandateId mandate id
4095
4091
  * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
4096
4092
  * @param {*} [options] Override http request option.
4097
4093
  * @throws {RequiredError}
4098
4094
  * @memberof CustomerApi
4099
4095
  */
4100
- submitAuthChecklist(mandateId: string, submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SubmitAuthChecklistResponse>>;
4096
+ submitAuthChecklist(submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SubmitAuthChecklistResponse>>;
4101
4097
  }
4102
4098
  /**
4103
4099
  * LinkApi - axios parameter creator
package/dist/api.js CHANGED
@@ -399,18 +399,15 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
399
399
  }),
400
400
  /**
401
401
  * Get Mandate Authorization by mandate id
402
- * @param {string} mandateId Finverse Mandate ID
403
402
  * @param {string} institutionId Finverse Institution ID
404
403
  * @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
405
404
  * @param {*} [options] Override http request option.
406
405
  * @throws {RequiredError}
407
406
  */
408
- getMandateAuth: (mandateId, institutionId, senderType, options = {}) => __awaiter(this, void 0, void 0, function* () {
409
- // verify required parameter 'mandateId' is not null or undefined
410
- common_1.assertParamExists('getMandateAuth', 'mandateId', mandateId);
407
+ getMandateAuth: (institutionId, senderType, options = {}) => __awaiter(this, void 0, void 0, function* () {
411
408
  // verify required parameter 'institutionId' is not null or undefined
412
409
  common_1.assertParamExists('getMandateAuth', 'institutionId', institutionId);
413
- const localVarPath = `/mandates/{mandateId}/auth`.replace(`{${'mandateId'}}`, encodeURIComponent(String(mandateId)));
410
+ const localVarPath = `/mandates/auth`;
414
411
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
415
412
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
416
413
  let baseOptions;
@@ -606,17 +603,14 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
606
603
  }),
607
604
  /**
608
605
  * Submit authorization checklist items
609
- * @param {string} mandateId mandate id
610
606
  * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
611
607
  * @param {*} [options] Override http request option.
612
608
  * @throws {RequiredError}
613
609
  */
614
- submitAuthChecklist: (mandateId, submitAuthChecklistRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
615
- // verify required parameter 'mandateId' is not null or undefined
616
- common_1.assertParamExists('submitAuthChecklist', 'mandateId', mandateId);
610
+ submitAuthChecklist: (submitAuthChecklistRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
617
611
  // verify required parameter 'submitAuthChecklistRequest' is not null or undefined
618
612
  common_1.assertParamExists('submitAuthChecklist', 'submitAuthChecklistRequest', submitAuthChecklistRequest);
619
- const localVarPath = `/mandates/{mandateId}/auth`.replace(`{${'mandateId'}}`, encodeURIComponent(String(mandateId)));
613
+ const localVarPath = `/mandates/auth`;
620
614
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
621
615
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
622
616
  let baseOptions;
@@ -748,15 +742,14 @@ exports.CustomerApiFp = function (configuration) {
748
742
  },
749
743
  /**
750
744
  * Get Mandate Authorization by mandate id
751
- * @param {string} mandateId Finverse Mandate ID
752
745
  * @param {string} institutionId Finverse Institution ID
753
746
  * @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
754
747
  * @param {*} [options] Override http request option.
755
748
  * @throws {RequiredError}
756
749
  */
757
- getMandateAuth(mandateId, institutionId, senderType, options) {
750
+ getMandateAuth(institutionId, senderType, options) {
758
751
  return __awaiter(this, void 0, void 0, function* () {
759
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getMandateAuth(mandateId, institutionId, senderType, options);
752
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getMandateAuth(institutionId, senderType, options);
760
753
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
761
754
  });
762
755
  },
@@ -825,14 +818,13 @@ exports.CustomerApiFp = function (configuration) {
825
818
  },
826
819
  /**
827
820
  * Submit authorization checklist items
828
- * @param {string} mandateId mandate id
829
821
  * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
830
822
  * @param {*} [options] Override http request option.
831
823
  * @throws {RequiredError}
832
824
  */
833
- submitAuthChecklist(mandateId, submitAuthChecklistRequest, options) {
825
+ submitAuthChecklist(submitAuthChecklistRequest, options) {
834
826
  return __awaiter(this, void 0, void 0, function* () {
835
- const localVarAxiosArgs = yield localVarAxiosParamCreator.submitAuthChecklist(mandateId, submitAuthChecklistRequest, options);
827
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.submitAuthChecklist(submitAuthChecklistRequest, options);
836
828
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
837
829
  });
838
830
  },
@@ -927,16 +919,13 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
927
919
  },
928
920
  /**
929
921
  * Get Mandate Authorization by mandate id
930
- * @param {string} mandateId Finverse Mandate ID
931
922
  * @param {string} institutionId Finverse Institution ID
932
923
  * @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
933
924
  * @param {*} [options] Override http request option.
934
925
  * @throws {RequiredError}
935
926
  */
936
- getMandateAuth(mandateId, institutionId, senderType, options) {
937
- return localVarFp
938
- .getMandateAuth(mandateId, institutionId, senderType, options)
939
- .then((request) => request(axios, basePath));
927
+ getMandateAuth(institutionId, senderType, options) {
928
+ return localVarFp.getMandateAuth(institutionId, senderType, options).then((request) => request(axios, basePath));
940
929
  },
941
930
  /**
942
931
  * Get link to launch FV Link UI in mandate authorization mode
@@ -994,14 +983,13 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
994
983
  },
995
984
  /**
996
985
  * Submit authorization checklist items
997
- * @param {string} mandateId mandate id
998
986
  * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
999
987
  * @param {*} [options] Override http request option.
1000
988
  * @throws {RequiredError}
1001
989
  */
1002
- submitAuthChecklist(mandateId, submitAuthChecklistRequest, options) {
990
+ submitAuthChecklist(submitAuthChecklistRequest, options) {
1003
991
  return localVarFp
1004
- .submitAuthChecklist(mandateId, submitAuthChecklistRequest, options)
992
+ .submitAuthChecklist(submitAuthChecklistRequest, options)
1005
993
  .then((request) => request(axios, basePath));
1006
994
  },
1007
995
  };
@@ -1113,16 +1101,15 @@ class CustomerApi extends base_1.BaseAPI {
1113
1101
  }
1114
1102
  /**
1115
1103
  * Get Mandate Authorization by mandate id
1116
- * @param {string} mandateId Finverse Mandate ID
1117
1104
  * @param {string} institutionId Finverse Institution ID
1118
1105
  * @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
1119
1106
  * @param {*} [options] Override http request option.
1120
1107
  * @throws {RequiredError}
1121
1108
  * @memberof CustomerApi
1122
1109
  */
1123
- getMandateAuth(mandateId, institutionId, senderType, options) {
1110
+ getMandateAuth(institutionId, senderType, options) {
1124
1111
  return exports.CustomerApiFp(this.configuration)
1125
- .getMandateAuth(mandateId, institutionId, senderType, options)
1112
+ .getMandateAuth(institutionId, senderType, options)
1126
1113
  .then((request) => request(this.axios, this.basePath));
1127
1114
  }
1128
1115
  /**
@@ -1190,15 +1177,14 @@ class CustomerApi extends base_1.BaseAPI {
1190
1177
  }
1191
1178
  /**
1192
1179
  * Submit authorization checklist items
1193
- * @param {string} mandateId mandate id
1194
1180
  * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
1195
1181
  * @param {*} [options] Override http request option.
1196
1182
  * @throws {RequiredError}
1197
1183
  * @memberof CustomerApi
1198
1184
  */
1199
- submitAuthChecklist(mandateId, submitAuthChecklistRequest, options) {
1185
+ submitAuthChecklist(submitAuthChecklistRequest, options) {
1200
1186
  return exports.CustomerApiFp(this.configuration)
1201
- .submitAuthChecklist(mandateId, submitAuthChecklistRequest, options)
1187
+ .submitAuthChecklist(submitAuthChecklistRequest, options)
1202
1188
  .then((request) => request(this.axios, this.basePath));
1203
1189
  }
1204
1190
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.54",
3
+ "version": "0.0.55",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [