@paydala-payments/models 0.6.29 → 0.6.30
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/bin_validate.d.ts
CHANGED
@@ -1,21 +1,9 @@
|
|
1
1
|
export type CardType = "CREDIT" | "DEBIT" | "ANY";
|
2
2
|
export type CardBrand = "VISA" | "MASTERCARD" | "AMEX" | "DISCOVER" | "ANY";
|
3
3
|
export interface BinValidation {
|
4
|
-
|
5
|
-
bin: number;
|
4
|
+
cardDetails: {
|
6
5
|
cardBrand: string;
|
7
|
-
issuingOrg: string;
|
8
6
|
cardType: CardType;
|
9
|
-
cardCategory: string;
|
10
7
|
issuingCountry: string;
|
11
|
-
issuingCountryCodeA2: string;
|
12
|
-
issuingCountryCodeA3: string;
|
13
|
-
issuingCountryNumber: number;
|
14
|
-
issuingPhone: string;
|
15
|
-
issuingWebsite: string;
|
16
|
-
panLength: string;
|
17
|
-
issuedEntity: string;
|
18
|
-
isRegulated: string;
|
19
|
-
isCommercial: boolean;
|
20
8
|
};
|
21
9
|
}
|
@@ -1,6 +1,11 @@
|
|
1
1
|
export interface CardTransaction {
|
2
|
+
display_card_number: string | undefined;
|
2
3
|
card_number: string | undefined;
|
3
4
|
expiry_month: string | undefined;
|
4
5
|
expiry_year: string | undefined;
|
5
6
|
cvv: string | undefined;
|
7
|
+
type: string | undefined;
|
8
|
+
brand: string | undefined;
|
9
|
+
name_on_card: string | undefined;
|
10
|
+
billing_zip: string | undefined;
|
6
11
|
}
|
package/dist/index.d.ts
CHANGED
@@ -35,7 +35,7 @@ import type { Verify } from "./verify";
|
|
35
35
|
import type { Widget } from "./widget";
|
36
36
|
import { BinValidation, CardBrand, CardType } from "./bin_validate";
|
37
37
|
import { Environment } from "./environment";
|
38
|
-
import { CredentialsPayload, OperatorCredentials } from "./operator_credentials";
|
38
|
+
import { CredentialsPayload, OperatorCredentials, OperatorCustomData } from "./operator_credentials";
|
39
39
|
import { CardTransactionResponse } from "./card_transaction_response";
|
40
40
|
import { BankTransactionResponse } from "./bank_transaction_response";
|
41
41
|
import { CustomerKYCStatus } from "./customer_kyc_status";
|
@@ -45,5 +45,5 @@ import { LastSelectedOperatorSignAndCreds } from "./last_saved_operator_credenti
|
|
45
45
|
import { VerifyDeviceStatus } from "./verify_device_status";
|
46
46
|
import { OTPConfirmRequest } from "./otp_confirm_request";
|
47
47
|
import { OTPConfirmResponse } from "./otp_confirm_response";
|
48
|
-
export type { Environment, OperatorCredentials, OnPaydalaClose, User, Partner, OperatorSignAndCredentials, CredentialsPayload, Verify, Member, Widget, Source, BinValidation, CardType, CardBrand, Address, KYCInfo, Prefill, QueriesResult, QueriesError, 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, OTPStatus, VerifyDeviceStatus, OTPConfirmRequest, OTPConfirmResponse, };
|
48
|
+
export type { Environment, OperatorCredentials, OnPaydalaClose, User, Partner, OperatorSignAndCredentials, CredentialsPayload, Verify, Member, Widget, Source, BinValidation, CardType, CardBrand, Address, KYCInfo, Prefill, QueriesResult, QueriesError, 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, OTPStatus, VerifyDeviceStatus, OTPConfirmRequest, OTPConfirmResponse, OperatorCustomData, };
|
49
49
|
export { IntegrationSource };
|
@@ -11,6 +11,9 @@ interface PaydalaOperator {
|
|
11
11
|
region: string | null;
|
12
12
|
timestamp: string | null;
|
13
13
|
}
|
14
|
+
export type OperatorCustomData = {
|
15
|
+
[key: string]: string | number | boolean | OperatorCustomData;
|
16
|
+
};
|
14
17
|
export interface CredentialsPayload {
|
15
18
|
/** A unique string to help identify transactions */
|
16
19
|
requestId: string;
|
@@ -36,5 +39,6 @@ export interface CredentialsPayload {
|
|
36
39
|
brands?: CardBrand[];
|
37
40
|
};
|
38
41
|
};
|
42
|
+
customData?: OperatorCustomData;
|
39
43
|
}
|
40
44
|
export {};
|
package/dist/partner.d.ts
CHANGED