@finverse/sdk-typescript 0.0.95 → 0.0.97

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 CHANGED
@@ -858,6 +858,47 @@ export interface CreatePayoutInstructionRequest {
858
858
  */
859
859
  currency: string;
860
860
  }
861
+ /**
862
+ *
863
+ * @export
864
+ * @interface CreateRecipientAccount
865
+ */
866
+ export interface CreateRecipientAccount {
867
+ /**
868
+ * Accountholder name of the recipient\'s account
869
+ * @type {string}
870
+ * @memberof CreateRecipientAccount
871
+ */
872
+ accountholder_name: string;
873
+ /**
874
+ *
875
+ * @type {RecipientAccountNumber}
876
+ * @memberof CreateRecipientAccount
877
+ */
878
+ account_number: RecipientAccountNumber;
879
+ /**
880
+ * Type of recipient account.
881
+ * @type {string}
882
+ * @memberof CreateRecipientAccount
883
+ */
884
+ account_type: CreateRecipientAccountAccountTypeEnum;
885
+ /**
886
+ * List of currencies supported by the recipient account
887
+ * @type {Array<string>}
888
+ * @memberof CreateRecipientAccount
889
+ */
890
+ currencies: Array<string>;
891
+ /**
892
+ * Finverse Institution ID for the recipient’s institution.
893
+ * @type {string}
894
+ * @memberof CreateRecipientAccount
895
+ */
896
+ institution_id: string;
897
+ }
898
+ export declare const CreateRecipientAccountAccountTypeEnum: {
899
+ readonly ExternalAccount: "EXTERNAL_ACCOUNT";
900
+ };
901
+ export declare type CreateRecipientAccountAccountTypeEnum = typeof CreateRecipientAccountAccountTypeEnum[keyof typeof CreateRecipientAccountAccountTypeEnum];
861
902
  /**
862
903
  *
863
904
  * @export
@@ -872,16 +913,16 @@ export interface CreateRecipientRequest {
872
913
  name: string;
873
914
  /**
874
915
  *
875
- * @type {RecipientAccount}
916
+ * @type {CreateRecipientAccount}
876
917
  * @memberof CreateRecipientRequest
877
918
  */
878
- recipient_account: RecipientAccount;
919
+ recipient_account: CreateRecipientAccount;
879
920
  /**
880
921
  * Customer App\'s internal ID for the recipient
881
922
  * @type {string}
882
923
  * @memberof CreateRecipientRequest
883
924
  */
884
- user_id?: string;
925
+ user_id: string;
885
926
  /**
886
927
  * Additional attributes of the recipient in key:value format (e.g. employer_name: Apple Inc for a payroll case where recipient is an employee)
887
928
  * @type {{ [key: string]: string; }}
@@ -908,7 +949,7 @@ export interface CreateSenderRequest {
908
949
  * @type {string}
909
950
  * @memberof CreateSenderRequest
910
951
  */
911
- user_id?: string;
952
+ user_id: string;
912
953
  /**
913
954
  * Sender details which will be used for fraud checking.
914
955
  * @type {Array<SenderDetail>}
@@ -926,7 +967,7 @@ export interface CreateSenderRequest {
926
967
  * @type {string}
927
968
  * @memberof CreateSenderRequest
928
969
  */
929
- sender_type?: CreateSenderRequestSenderTypeEnum;
970
+ sender_type: CreateSenderRequestSenderTypeEnum;
930
971
  /**
931
972
  * Additional attributes of the sender in key:value format (e.g. employer_name: Apple Inc for a payroll case where sender is an employee)
932
973
  * @type {{ [key: string]: string; }}
@@ -3889,74 +3930,75 @@ export interface ProductStatus {
3889
3930
  /**
3890
3931
  *
3891
3932
  * @export
3892
- * @interface RecipientAccount
3933
+ * @interface RecipientAccountNumber
3934
+ */
3935
+ export interface RecipientAccountNumber {
3936
+ /**
3937
+ * Type of account number. Possible values: LOCAL, IBAN
3938
+ * @type {string}
3939
+ * @memberof RecipientAccountNumber
3940
+ */
3941
+ type: RecipientAccountNumberTypeEnum;
3942
+ /**
3943
+ * Account number value
3944
+ * @type {string}
3945
+ * @memberof RecipientAccountNumber
3946
+ */
3947
+ number: string;
3948
+ }
3949
+ export declare const RecipientAccountNumberTypeEnum: {
3950
+ readonly Local: "LOCAL";
3951
+ readonly Iban: "IBAN";
3952
+ };
3953
+ export declare type RecipientAccountNumberTypeEnum = typeof RecipientAccountNumberTypeEnum[keyof typeof RecipientAccountNumberTypeEnum];
3954
+ /**
3955
+ *
3956
+ * @export
3957
+ * @interface RecipientAccountResponse
3893
3958
  */
3894
- export interface RecipientAccount {
3959
+ export interface RecipientAccountResponse {
3895
3960
  /**
3896
3961
  * A unique identifier generated after creating recipient
3897
3962
  * @type {string}
3898
- * @memberof RecipientAccount
3963
+ * @memberof RecipientAccountResponse
3899
3964
  */
3900
3965
  recipient_account_id?: string;
3901
3966
  /**
3902
3967
  * Accountholder name of the recipient\'s account
3903
3968
  * @type {string}
3904
- * @memberof RecipientAccount
3969
+ * @memberof RecipientAccountResponse
3905
3970
  */
3906
- accountholder_name: string;
3971
+ accountholder_name?: string;
3907
3972
  /**
3908
3973
  *
3909
3974
  * @type {RecipientAccountNumber}
3910
- * @memberof RecipientAccount
3975
+ * @memberof RecipientAccountResponse
3911
3976
  */
3912
- account_number: RecipientAccountNumber;
3977
+ account_number?: RecipientAccountNumber;
3913
3978
  /**
3914
3979
  * Type of recipient account.
3915
3980
  * @type {string}
3916
- * @memberof RecipientAccount
3981
+ * @memberof RecipientAccountResponse
3917
3982
  */
3918
- account_type: RecipientAccountAccountTypeEnum;
3983
+ account_type?: RecipientAccountResponseAccountTypeEnum;
3919
3984
  /**
3920
3985
  * List of currencies supported by the recipient account
3921
3986
  * @type {Array<string>}
3922
- * @memberof RecipientAccount
3987
+ * @memberof RecipientAccountResponse
3923
3988
  */
3924
- currencies: Array<string>;
3989
+ currencies?: Array<string>;
3925
3990
  /**
3926
3991
  * Finverse Institution ID for the recipient’s institution.
3927
3992
  * @type {string}
3928
- * @memberof RecipientAccount
3993
+ * @memberof RecipientAccountResponse
3929
3994
  */
3930
- institution_id: string;
3995
+ institution_id?: string;
3931
3996
  }
3932
- export declare const RecipientAccountAccountTypeEnum: {
3997
+ export declare const RecipientAccountResponseAccountTypeEnum: {
3933
3998
  readonly ExternalAccount: "EXTERNAL_ACCOUNT";
3999
+ readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
3934
4000
  };
3935
- export declare type RecipientAccountAccountTypeEnum = typeof RecipientAccountAccountTypeEnum[keyof typeof RecipientAccountAccountTypeEnum];
3936
- /**
3937
- *
3938
- * @export
3939
- * @interface RecipientAccountNumber
3940
- */
3941
- export interface RecipientAccountNumber {
3942
- /**
3943
- * Type of account number. Possible values: LOCAL, IBAN
3944
- * @type {string}
3945
- * @memberof RecipientAccountNumber
3946
- */
3947
- type: RecipientAccountNumberTypeEnum;
3948
- /**
3949
- * Account number value
3950
- * @type {string}
3951
- * @memberof RecipientAccountNumber
3952
- */
3953
- number: string;
3954
- }
3955
- export declare const RecipientAccountNumberTypeEnum: {
3956
- readonly Local: "LOCAL";
3957
- readonly Iban: "IBAN";
3958
- };
3959
- export declare type RecipientAccountNumberTypeEnum = typeof RecipientAccountNumberTypeEnum[keyof typeof RecipientAccountNumberTypeEnum];
4001
+ export declare type RecipientAccountResponseAccountTypeEnum = typeof RecipientAccountResponseAccountTypeEnum[keyof typeof RecipientAccountResponseAccountTypeEnum];
3960
4002
  /**
3961
4003
  *
3962
4004
  * @export
@@ -3968,13 +4010,13 @@ export interface RecipientResponse {
3968
4010
  * @type {string}
3969
4011
  * @memberof RecipientResponse
3970
4012
  */
3971
- name: string;
4013
+ name?: string;
3972
4014
  /**
3973
4015
  *
3974
- * @type {RecipientAccount}
4016
+ * @type {RecipientAccountResponse}
3975
4017
  * @memberof RecipientResponse
3976
4018
  */
3977
- recipient_account: RecipientAccount;
4019
+ recipient_account?: RecipientAccountResponse;
3978
4020
  /**
3979
4021
  * Customer App\'s internal ID for the recipient
3980
4022
  * @type {string}
@@ -4101,7 +4143,7 @@ export interface SenderResponse {
4101
4143
  * @type {string}
4102
4144
  * @memberof SenderResponse
4103
4145
  */
4104
- sender_id: string;
4146
+ sender_id?: string;
4105
4147
  /**
4106
4148
  * Customer App\'s internal ID for the sender
4107
4149
  * @type {string}
@@ -4113,7 +4155,7 @@ export interface SenderResponse {
4113
4155
  * @type {string}
4114
4156
  * @memberof SenderResponse
4115
4157
  */
4116
- name: string;
4158
+ name?: string;
4117
4159
  /**
4118
4160
  * Sender details which will be used for fraud checking.
4119
4161
  * @type {Array<SenderDetail>}
package/dist/api.js CHANGED
@@ -22,7 +22,7 @@ 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.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderResponseSenderTypeEnum = exports.SenderDetailDetailsTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.RecipientAccountAccountTypeEnum = exports.PayoutInstructionResponseStatusEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateSenderSenderTypeEnum = exports.GetMandateResponseStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreateSenderRequestSenderTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreateMandateSenderSenderTypeEnum = exports.CreateMandateResponseStatusEnum = exports.BadRequestModelV2ErrorTypeEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = 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.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderResponseSenderTypeEnum = exports.SenderDetailDetailsTypeEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.PayoutInstructionResponseStatusEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateSenderSenderTypeEnum = exports.GetMandateResponseStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreateSenderRequestSenderTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreateMandateSenderSenderTypeEnum = exports.CreateMandateResponseStatusEnum = exports.BadRequestModelV2ErrorTypeEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = void 0;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
@@ -92,6 +92,9 @@ exports.CreatePaymentRequestTypeEnum = {
92
92
  Mandate: 'MANDATE',
93
93
  Single: 'SINGLE',
94
94
  };
95
+ exports.CreateRecipientAccountAccountTypeEnum = {
96
+ ExternalAccount: 'EXTERNAL_ACCOUNT',
97
+ };
95
98
  exports.CreateSenderRequestSenderTypeEnum = {
96
99
  Individual: 'INDIVIDUAL',
97
100
  Business: 'BUSINESS',
@@ -215,13 +218,14 @@ exports.PayoutInstructionResponseStatusEnum = {
215
218
  Cancelled: 'CANCELLED',
216
219
  Failed: 'FAILED',
217
220
  };
218
- exports.RecipientAccountAccountTypeEnum = {
219
- ExternalAccount: 'EXTERNAL_ACCOUNT',
220
- };
221
221
  exports.RecipientAccountNumberTypeEnum = {
222
222
  Local: 'LOCAL',
223
223
  Iban: 'IBAN',
224
224
  };
225
+ exports.RecipientAccountResponseAccountTypeEnum = {
226
+ ExternalAccount: 'EXTERNAL_ACCOUNT',
227
+ SettlementAccount: 'SETTLEMENT_ACCOUNT',
228
+ };
225
229
  exports.SenderDetailDetailsTypeEnum = {
226
230
  HkId: 'HK_ID',
227
231
  Passport: 'PASSPORT',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.95",
3
+ "version": "0.0.97",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [