@paydala-payments/models 0.5.21 → 0.5.52
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/index.d.ts
CHANGED
@@ -23,7 +23,7 @@ import type { OperatorList } from "./operator_list";
|
|
23
23
|
import type { Partner } from "./partner";
|
24
24
|
import type { PredefinedAmount } from "./predefined_amount";
|
25
25
|
import { Prefill } from "./prefill";
|
26
|
-
import {
|
26
|
+
import { QueriesResult } from "./queries_result";
|
27
27
|
import type { Registration } from "./registration";
|
28
28
|
import type SocialLoginState from "./social_login_state";
|
29
29
|
import type { Transaction, TransactionMode, TransactionType } from "./transaction";
|
@@ -40,4 +40,4 @@ import { BankTransactionResponse } from "./bank_transaction_response";
|
|
40
40
|
import { CustomerKYCStatus } from "./customer_kyc_status";
|
41
41
|
import { VerifyAmount } from "./verify_amount";
|
42
42
|
import { LastSelectedOperatorSignAndCreds } from "./last_saved_operator_credentials";
|
43
|
-
export type { Environment, OperatorCredentials, OnPaydalaClose, User, Partner, OperatorSignAndCredentials, CredentialsPayload, Verify, Member, Widget, Source, BinValidation, CardType, CardBrand, Address, KYCInfo, Prefill, QueriesResult,
|
43
|
+
export type { Environment, OperatorCredentials, OnPaydalaClose, User, Partner, OperatorSignAndCredentials, CredentialsPayload, Verify, Member, Widget, Source, BinValidation, CardType, CardBrand, Address, KYCInfo, Prefill, QueriesResult, OobCode, Credential, BankSource, BankWidget, Transaction, Institution, AccountList, BaseResponse, Registration, UserLogin, AccountDetail, PaymentDetails, GuestCardLogin, IntegrityCheck, BankTransaction, TransactionMode, TransactionType, TransactionOperatorDetails, TransactionOperatorDetail, TransactionDetail, TransactionHistoryResult, TransactionHistory, Paydala, FirebaseToken, FirebaseError, FirebaseRefreshToken, OperatorList, SocialLoginState, PredefinedAmount, Region, Regions, CardTransactionResponse, BankTransactionResponse, CustomerKYCStatus, VerifyAmount, LastSelectedOperatorSignAndCreds, };
|
@@ -27,7 +27,7 @@ export interface CredentialsPayload {
|
|
27
27
|
/** Should be true when using the `iframe-sdk` */
|
28
28
|
isiFrame?: boolean;
|
29
29
|
/** transaction type wether it's a deposit or a withdraw */
|
30
|
-
transactionType
|
30
|
+
transactionType?: TransactionType;
|
31
31
|
/** user flow depenedent configuration */
|
32
32
|
userFlow?: {
|
33
33
|
/** wether to disable login and registration flows for returning users */
|
package/dist/paydala.d.ts
CHANGED
@@ -5,6 +5,7 @@ export interface Paydala extends PaydalaBasic {
|
|
5
5
|
/** Callback function when the Paydala session is finished */
|
6
6
|
onClose?: (data: OnPaydalaClose) => void;
|
7
7
|
onTransactionComplete?: (data: TransactionOperatorDetail) => void;
|
8
|
+
onSessionCreated?: (sessionId: string) => void;
|
8
9
|
}
|
9
10
|
export interface OperatorSignAndCredentials {
|
10
11
|
sign: string | null;
|
package/dist/queries_result.d.ts
CHANGED
@@ -7,20 +7,16 @@ export interface KYCQuery extends Omit<KYCInfo, "address"> {
|
|
7
7
|
addressZip: string;
|
8
8
|
}
|
9
9
|
type KYCKey = keyof KYCQuery;
|
10
|
-
export type QueriesError = {
|
11
|
-
[key in KYCKey]?: {
|
12
|
-
updateValidation?: {
|
13
|
-
max: string;
|
14
|
-
};
|
15
|
-
message?: string;
|
16
|
-
};
|
17
|
-
};
|
18
10
|
export interface QueriesResult {
|
19
11
|
active: boolean;
|
20
12
|
id: string;
|
21
13
|
query: string;
|
22
14
|
verified: Partial<KYCInfo>;
|
23
|
-
error?:
|
15
|
+
error?: {
|
16
|
+
[key in KYCKey]?: {
|
17
|
+
message: string;
|
18
|
+
};
|
19
|
+
};
|
24
20
|
policyScore: string;
|
25
21
|
status: "pass" | "review" | "reject";
|
26
22
|
policyStatus: "pass" | "reject";
|