@paydala-payments/models 0.2.28
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/README.md +3 -0
- package/dist/accountList.d.ts +21 -0
- package/dist/accountList.js +2 -0
- package/dist/address.d.ts +6 -0
- package/dist/address.js +2 -0
- package/dist/bank_source.d.ts +21 -0
- package/dist/bank_source.js +2 -0
- package/dist/bank_transaction.d.ts +5 -0
- package/dist/bank_transaction.js +2 -0
- package/dist/bank_transaction_response.d.ts +4 -0
- package/dist/bank_transaction_response.js +2 -0
- package/dist/bank_widget.d.ts +20 -0
- package/dist/bank_widget.js +2 -0
- package/dist/base.d.ts +5 -0
- package/dist/base.js +2 -0
- package/dist/bin_validate.d.ts +20 -0
- package/dist/bin_validate.js +2 -0
- package/dist/card_transaction.d.ts +6 -0
- package/dist/card_transaction.js +2 -0
- package/dist/card_transaction_response.d.ts +5 -0
- package/dist/card_transaction_response.js +2 -0
- package/dist/credential.d.ts +8 -0
- package/dist/credential.js +2 -0
- package/dist/environment.d.ts +1 -0
- package/dist/environment.js +2 -0
- package/dist/firebase_error.d.ts +13 -0
- package/dist/firebase_error.js +2 -0
- package/dist/firebase_refresh_token.d.ts +8 -0
- package/dist/firebase_refresh_token.js +2 -0
- package/dist/firebase_token.d.ts +15 -0
- package/dist/firebase_token.js +2 -0
- package/dist/guest_card_login.d.ts +24 -0
- package/dist/guest_card_login.js +2 -0
- package/dist/index.d.ts +40 -0
- package/dist/index.js +2 -0
- package/dist/institution.d.ts +12 -0
- package/dist/institution.js +2 -0
- package/dist/integrity_check.d.ts +14 -0
- package/dist/integrity_check.js +2 -0
- package/dist/kyc_info.d.ts +15 -0
- package/dist/kyc_info.js +2 -0
- package/dist/member.d.ts +3 -0
- package/dist/member.js +2 -0
- package/dist/oob.d.ts +6 -0
- package/dist/oob.js +2 -0
- package/dist/operator_credentials.d.ts +34 -0
- package/dist/operator_credentials.js +2 -0
- package/dist/operator_list.d.ts +7 -0
- package/dist/operator_list.js +2 -0
- package/dist/partner.d.ts +20 -0
- package/dist/partner.js +2 -0
- package/dist/paydala.d.ts +23 -0
- package/dist/paydala.js +6 -0
- package/dist/predefined_amount.d.ts +5 -0
- package/dist/predefined_amount.js +2 -0
- package/dist/prefill.d.ts +17 -0
- package/dist/prefill.js +2 -0
- package/dist/queries_result.d.ts +29 -0
- package/dist/queries_result.js +2 -0
- package/dist/region.d.ts +7 -0
- package/dist/region.js +2 -0
- package/dist/registration.d.ts +8 -0
- package/dist/registration.js +2 -0
- package/dist/social_login_state.d.ts +9 -0
- package/dist/social_login_state.js +2 -0
- package/dist/source.d.ts +22 -0
- package/dist/source.js +2 -0
- package/dist/transaction.d.ts +11 -0
- package/dist/transaction.js +2 -0
- package/dist/transaction_history.d.ts +5 -0
- package/dist/transaction_history.js +2 -0
- package/dist/transaction_history_result.d.ts +27 -0
- package/dist/transaction_history_result.js +2 -0
- package/dist/transaction_operator_details.d.ts +11 -0
- package/dist/transaction_operator_details.js +2 -0
- package/dist/user.d.ts +3 -0
- package/dist/user.js +2 -0
- package/dist/user_login.d.ts +16 -0
- package/dist/user_login.js +2 -0
- package/dist/verify.d.ts +20 -0
- package/dist/verify.js +2 -0
- package/dist/widget.d.ts +3 -0
- package/dist/widget.js +2 -0
- package/package.json +62 -0
package/README.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
export interface AccountList {
|
2
|
+
accountNumber: string;
|
3
|
+
availableBalance: number;
|
4
|
+
balance: number;
|
5
|
+
createdAt: string;
|
6
|
+
dayPaymentIsDue: number;
|
7
|
+
guid: string;
|
8
|
+
id: string;
|
9
|
+
importedAt: string;
|
10
|
+
institutionCode: string;
|
11
|
+
isClosed: boolean;
|
12
|
+
isHidden: boolean;
|
13
|
+
memberGuid: string;
|
14
|
+
memberIsManagedByUser: boolean;
|
15
|
+
name: string;
|
16
|
+
paymentDueAt: string;
|
17
|
+
routingNumber: string;
|
18
|
+
type: string;
|
19
|
+
updatedAt: string;
|
20
|
+
userGuid: string;
|
21
|
+
}
|
package/dist/address.js
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
export interface BankDetails {
|
2
|
+
id: string;
|
3
|
+
status: string;
|
4
|
+
type: string;
|
5
|
+
accountType: string;
|
6
|
+
name: string;
|
7
|
+
bankName: string;
|
8
|
+
}
|
9
|
+
export interface BankSource {
|
10
|
+
source: {
|
11
|
+
customerId: string;
|
12
|
+
location: string | undefined;
|
13
|
+
processorToken: string | null;
|
14
|
+
accountDetails: BankDetails;
|
15
|
+
balance: string;
|
16
|
+
institutionCode: string;
|
17
|
+
accountGuid: string | null;
|
18
|
+
userGuid: string;
|
19
|
+
memberGuid: string;
|
20
|
+
};
|
21
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
export interface BankWidget {
|
2
|
+
userGuid: string | undefined;
|
3
|
+
memberGuid: string | undefined;
|
4
|
+
kyc?: {
|
5
|
+
first_name: string;
|
6
|
+
mid_name?: string;
|
7
|
+
last_name: string;
|
8
|
+
address?: string;
|
9
|
+
city?: string;
|
10
|
+
state?: string;
|
11
|
+
zip?: string;
|
12
|
+
dob?: string;
|
13
|
+
mob_no?: string;
|
14
|
+
email: string;
|
15
|
+
ssn_last_four?: string;
|
16
|
+
qual_id?: number;
|
17
|
+
qual_no?: string;
|
18
|
+
issuing_state?: string;
|
19
|
+
};
|
20
|
+
}
|
package/dist/base.d.ts
ADDED
package/dist/base.js
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
export type CardType = "CREDIT" | "DEBIT" | "PREPAID" | "UNKNOWN";
|
2
|
+
export interface BinValidation {
|
3
|
+
binData: {
|
4
|
+
bin: number;
|
5
|
+
cardBrand: string;
|
6
|
+
issuingOrg: string;
|
7
|
+
cardType: CardType;
|
8
|
+
cardCategory: string;
|
9
|
+
issuingCountry: string;
|
10
|
+
issuingCountryCodeA2: string;
|
11
|
+
issuingCountryCodeA3: string;
|
12
|
+
issuingCountryNumber: number;
|
13
|
+
issuingPhone: string;
|
14
|
+
issuingWebsite: string;
|
15
|
+
panLength: string;
|
16
|
+
issuedEntity: string;
|
17
|
+
isRegulated: string;
|
18
|
+
isCommercial: boolean;
|
19
|
+
};
|
20
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export type Environment = "production" | "development" | "sandbox" | "staging";
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export interface FirebaseToken {
|
2
|
+
kind?: string;
|
3
|
+
idToken: string;
|
4
|
+
refreshToken: string;
|
5
|
+
expiresIn: number;
|
6
|
+
localId?: string;
|
7
|
+
email?: string;
|
8
|
+
registered?: boolean;
|
9
|
+
displayName?: string;
|
10
|
+
emailVerified?: boolean;
|
11
|
+
firstName?: string;
|
12
|
+
lastName?: string;
|
13
|
+
federatedId?: string;
|
14
|
+
loggedIn?: boolean;
|
15
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
export interface GuestCardLogin {
|
2
|
+
pymt_type: number;
|
3
|
+
card_no: string;
|
4
|
+
exp_date: string;
|
5
|
+
cvv: number;
|
6
|
+
zip: string;
|
7
|
+
kyc: {
|
8
|
+
first_name: string;
|
9
|
+
mid_name?: string;
|
10
|
+
last_name: string;
|
11
|
+
address: string;
|
12
|
+
city: string;
|
13
|
+
state: string;
|
14
|
+
zip: string;
|
15
|
+
dob: string;
|
16
|
+
mob_no: string;
|
17
|
+
email?: string;
|
18
|
+
ssn_last_four: string;
|
19
|
+
qual_id?: number;
|
20
|
+
qual_no?: string;
|
21
|
+
issuing_state?: string;
|
22
|
+
};
|
23
|
+
pref_pymt: number;
|
24
|
+
}
|
package/dist/index.d.ts
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
import type { AccountDetail, TransactionDetail, TransactionHistoryResult } from "./transaction_history_result";
|
2
|
+
import type { OnPaydalaClose, OperatorSignAndCredentials, Paydala } from "./paydala";
|
3
|
+
import type { PaymentDetails, Source } from "./source";
|
4
|
+
import type { Region, Regions } from "./region";
|
5
|
+
import type { TransactionOperatorDetail, TransactionOperatorDetails } from "./transaction_operator_details";
|
6
|
+
import type { AccountList } from "./accountList";
|
7
|
+
import type { Address } from "./address";
|
8
|
+
import type { BankSource } from "./bank_source";
|
9
|
+
import type { BankTransaction } from "./bank_transaction";
|
10
|
+
import type { BankWidget } from "./bank_widget";
|
11
|
+
import type { BaseResponse } from "./base";
|
12
|
+
import type { Credential } from "./credential";
|
13
|
+
import { FirebaseError } from "./firebase_error";
|
14
|
+
import type { FirebaseRefreshToken } from "./firebase_refresh_token";
|
15
|
+
import type { FirebaseToken } from "./firebase_token";
|
16
|
+
import type { GuestCardLogin } from "./guest_card_login";
|
17
|
+
import type { Institution } from "./institution";
|
18
|
+
import type { IntegrityCheck } from "./integrity_check";
|
19
|
+
import type { KYCInfo } from "./kyc_info";
|
20
|
+
import type { Member } from "./member";
|
21
|
+
import type { OobCode } from "./oob";
|
22
|
+
import type { OperatorList } from "./operator_list";
|
23
|
+
import type { Partner } from "./partner";
|
24
|
+
import type { PredefinedAmount } from "./predefined_amount";
|
25
|
+
import { Prefill } from "./prefill";
|
26
|
+
import { QueriesResult } from "./queries_result";
|
27
|
+
import type { Registration } from "./registration";
|
28
|
+
import type SocialLoginState from "./social_login_state";
|
29
|
+
import type { Transaction } from "./transaction";
|
30
|
+
import { TransactionHistory } from "./transaction_history";
|
31
|
+
import type { User } from "./user";
|
32
|
+
import type { UserLogin } from "./user_login";
|
33
|
+
import type { Verify } from "./verify";
|
34
|
+
import type { Widget } from "./widget";
|
35
|
+
import { BinValidation, CardType } from "./bin_validate";
|
36
|
+
import { Environment } from "./environment";
|
37
|
+
import { CredentialsPayload, OperatorCredentials } from "./operator_credentials";
|
38
|
+
import { CardTransactionResponse } from "./card_transaction_response";
|
39
|
+
import { BankTransactionResponse } from "./bank_transaction_response";
|
40
|
+
export type { Environment, OperatorCredentials, OnPaydalaClose, User, Partner, OperatorSignAndCredentials, CredentialsPayload, Verify, Member, Widget, Source, BinValidation, CardType, Address, KYCInfo, Prefill, QueriesResult, OobCode, Credential, BankSource, BankWidget, Transaction, Institution, AccountList, BaseResponse, Registration, UserLogin, AccountDetail, PaymentDetails, GuestCardLogin, IntegrityCheck, BankTransaction, TransactionOperatorDetails, TransactionOperatorDetail, TransactionDetail, TransactionHistoryResult, TransactionHistory, Paydala, FirebaseToken, FirebaseError, FirebaseRefreshToken, OperatorList, SocialLoginState, PredefinedAmount, Region, Regions, CardTransactionResponse, BankTransactionResponse, };
|
package/dist/index.js
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
export interface Institution {
|
2
|
+
code: string;
|
3
|
+
name: string;
|
4
|
+
url: string;
|
5
|
+
medium_logo_url: string;
|
6
|
+
small_logo_url: string;
|
7
|
+
supports_account_identification: boolean;
|
8
|
+
supports_account_statement: boolean;
|
9
|
+
supports_account_verification: boolean;
|
10
|
+
supports_oauth: boolean;
|
11
|
+
supports_transaction_history: boolean;
|
12
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export interface FormItems {
|
2
|
+
label: string;
|
3
|
+
required: boolean;
|
4
|
+
}
|
5
|
+
export interface IntegrityCheck {
|
6
|
+
data: {
|
7
|
+
recognized: boolean;
|
8
|
+
attempts: number;
|
9
|
+
verification: {
|
10
|
+
emptySubmissionAllowed: boolean;
|
11
|
+
formItems: FormItems[];
|
12
|
+
};
|
13
|
+
};
|
14
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export interface KYCInfoAddress {
|
2
|
+
street?: string;
|
3
|
+
city?: string;
|
4
|
+
state?: string;
|
5
|
+
zip?: string;
|
6
|
+
}
|
7
|
+
export interface KYCInfo {
|
8
|
+
address?: KYCInfoAddress;
|
9
|
+
email?: string;
|
10
|
+
dob?: string;
|
11
|
+
ssnNumber?: string;
|
12
|
+
firstName?: string;
|
13
|
+
lastName?: string;
|
14
|
+
phoneNumber?: string;
|
15
|
+
}
|
package/dist/kyc_info.js
ADDED
package/dist/member.d.ts
ADDED
package/dist/member.js
ADDED
package/dist/oob.d.ts
ADDED
package/dist/oob.js
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
import { CardType } from "./bin_validate";
|
2
|
+
import { PredefinedAmount } from "./predefined_amount";
|
3
|
+
import { Prefill } from "./prefill";
|
4
|
+
export interface OperatorCredentials extends PaydalaOperator {
|
5
|
+
payload: CredentialsPayload | null;
|
6
|
+
}
|
7
|
+
interface PaydalaOperator {
|
8
|
+
client_id: string | null;
|
9
|
+
category_id: string | null;
|
10
|
+
region: string | null;
|
11
|
+
timestamp: string | null;
|
12
|
+
}
|
13
|
+
export interface CredentialsPayload {
|
14
|
+
/** A unique string to help identify transactions */
|
15
|
+
requestId: string;
|
16
|
+
/** A unique string to help identify customer */
|
17
|
+
customerId?: string;
|
18
|
+
/** Default amount sent by the operator */
|
19
|
+
predefinedAmount?: PredefinedAmount;
|
20
|
+
/** Predefined user information for KYC flow */
|
21
|
+
defaultUser?: Prefill;
|
22
|
+
/** the URL of the host application to enable OAuth redirection */
|
23
|
+
redirectUrl: string;
|
24
|
+
/** wether the SDK is being used within the widget for webviews */
|
25
|
+
isWebView?: boolean;
|
26
|
+
/** user flow depenedent configuration */
|
27
|
+
userFlow?: {
|
28
|
+
/** wether to disable login and registration flows for returning users */
|
29
|
+
guestOnly?: boolean;
|
30
|
+
/** which types of card are allowed for card transactions */
|
31
|
+
validateCardBin?: CardType;
|
32
|
+
};
|
33
|
+
}
|
34
|
+
export {};
|
@@ -0,0 +1,20 @@
|
|
1
|
+
export interface Partner {
|
2
|
+
partner: {
|
3
|
+
id: number;
|
4
|
+
region: {
|
5
|
+
id: number;
|
6
|
+
state: string;
|
7
|
+
details: string | null;
|
8
|
+
};
|
9
|
+
company: string | null;
|
10
|
+
details: string | null;
|
11
|
+
sandboxApiKey: string | null;
|
12
|
+
prodApiKey: string | null;
|
13
|
+
logoData: string | null;
|
14
|
+
logoType: string | null;
|
15
|
+
subType: number;
|
16
|
+
createdDate: string;
|
17
|
+
trialPeriod: string | null;
|
18
|
+
status: number;
|
19
|
+
};
|
20
|
+
}
|
package/dist/partner.js
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
import { Environment } from "./environment";
|
2
|
+
import { OperatorCredentials } from "./operator_credentials";
|
3
|
+
import { TransactionOperatorDetail } from "./transaction_operator_details";
|
4
|
+
export interface Paydala extends PaydalaBasic {
|
5
|
+
/** Callback function when the Paydala session is finished */
|
6
|
+
onClose?: (data: OnPaydalaClose) => void;
|
7
|
+
onTransactionComplete?: (data: TransactionOperatorDetail) => void;
|
8
|
+
}
|
9
|
+
export interface OperatorSignAndCredentials {
|
10
|
+
sign: string | null;
|
11
|
+
credentials: OperatorCredentials | null;
|
12
|
+
}
|
13
|
+
interface PaydalaBasic {
|
14
|
+
/** Operator configuration */
|
15
|
+
operatorCredentials: OperatorSignAndCredentials | null;
|
16
|
+
/** The application environment default value is `production`*/
|
17
|
+
environment?: Environment;
|
18
|
+
}
|
19
|
+
export interface OnPaydalaClose extends PaydalaBasic {
|
20
|
+
/** List of all operations performed in the Paydala SDK */
|
21
|
+
txnDetails: TransactionOperatorDetail[];
|
22
|
+
}
|
23
|
+
export {};
|
package/dist/paydala.js
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
export interface PrefillAddress {
|
2
|
+
city: string;
|
3
|
+
region?: string;
|
4
|
+
postalCode: string;
|
5
|
+
street: string;
|
6
|
+
address: string;
|
7
|
+
extendedAddress?: string;
|
8
|
+
}
|
9
|
+
export interface Prefill {
|
10
|
+
address?: PrefillAddress;
|
11
|
+
email?: string;
|
12
|
+
dob?: string;
|
13
|
+
ssn?: string;
|
14
|
+
first_name?: string;
|
15
|
+
last_name?: string;
|
16
|
+
phone?: string;
|
17
|
+
}
|
package/dist/prefill.js
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
import { KYCInfo } from "./kyc_info";
|
2
|
+
export interface KYCQuery extends Omit<KYCInfo, "address"> {
|
3
|
+
address: string;
|
4
|
+
addressStreet: string;
|
5
|
+
addressCity: string;
|
6
|
+
addressState: string;
|
7
|
+
addressZip: string;
|
8
|
+
}
|
9
|
+
type KYCKey = keyof KYCQuery;
|
10
|
+
export interface QueriesResult {
|
11
|
+
active: boolean;
|
12
|
+
id: string;
|
13
|
+
query: string;
|
14
|
+
verified: Partial<KYCInfo>;
|
15
|
+
error?: {
|
16
|
+
[key in KYCKey]?: {
|
17
|
+
message: string;
|
18
|
+
};
|
19
|
+
};
|
20
|
+
policyScore: string;
|
21
|
+
status: "pass" | "review" | "reject";
|
22
|
+
policyStatus: "pass" | "reject";
|
23
|
+
created: string;
|
24
|
+
compliance?: {
|
25
|
+
success: false;
|
26
|
+
message: string;
|
27
|
+
};
|
28
|
+
}
|
29
|
+
export {};
|
package/dist/region.d.ts
ADDED
package/dist/region.js
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
import { FirebaseToken } from "./firebase_token";
|
2
|
+
interface SocialLoginState {
|
3
|
+
active: boolean;
|
4
|
+
provider?: "google" | "facebook";
|
5
|
+
providerId?: 1 | 3;
|
6
|
+
state?: "register" | "login";
|
7
|
+
temporaryToken?: FirebaseToken | null;
|
8
|
+
}
|
9
|
+
export default SocialLoginState;
|
package/dist/source.d.ts
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
export interface PaymentDetails {
|
2
|
+
source: string;
|
3
|
+
source_id: number;
|
4
|
+
payment_type: string;
|
5
|
+
location?: string | undefined;
|
6
|
+
balance?: number;
|
7
|
+
cardNo?: string;
|
8
|
+
logo?: string;
|
9
|
+
zip?: string;
|
10
|
+
}
|
11
|
+
export interface Logos {
|
12
|
+
paydala: string;
|
13
|
+
mastercard: string;
|
14
|
+
american_express: string;
|
15
|
+
visa: string;
|
16
|
+
}
|
17
|
+
export interface Source {
|
18
|
+
balance: number;
|
19
|
+
pymt_details: PaymentDetails[];
|
20
|
+
pref_source: number;
|
21
|
+
logos: Logos;
|
22
|
+
}
|
package/dist/source.js
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { BankTransaction } from "./bank_transaction";
|
2
|
+
import type { CardTransaction } from "./card_transaction";
|
3
|
+
export interface Transaction {
|
4
|
+
card?: CardTransaction;
|
5
|
+
bank?: BankTransaction;
|
6
|
+
activeAmount: string;
|
7
|
+
fundForDepositBalanceAmount?: number;
|
8
|
+
totalAmountToDeposit: string;
|
9
|
+
partialAmountDeposited?: string;
|
10
|
+
currency: string | "usd";
|
11
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
export interface AccountDetail {
|
2
|
+
label?: string;
|
3
|
+
name: string;
|
4
|
+
number: string;
|
5
|
+
id: number;
|
6
|
+
type: string;
|
7
|
+
imageURL?: string;
|
8
|
+
}
|
9
|
+
export interface TransactionDetail {
|
10
|
+
transactionTime: string;
|
11
|
+
transactionId: string;
|
12
|
+
from: AccountDetail;
|
13
|
+
to: AccountDetail;
|
14
|
+
amount: number;
|
15
|
+
type: string;
|
16
|
+
}
|
17
|
+
export interface Logos {
|
18
|
+
paydala: string;
|
19
|
+
mastercard: string;
|
20
|
+
american_express: string;
|
21
|
+
visa: string;
|
22
|
+
}
|
23
|
+
export interface TransactionHistoryResult {
|
24
|
+
userTotal: number;
|
25
|
+
user: Array<TransactionDetail>;
|
26
|
+
logos: Logos;
|
27
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export interface TransactionOperatorDetail {
|
2
|
+
refType: number;
|
3
|
+
status: string;
|
4
|
+
currencyId: number;
|
5
|
+
amount: number;
|
6
|
+
timeStamp: string;
|
7
|
+
txnRef: string | null;
|
8
|
+
}
|
9
|
+
export interface TransactionOperatorDetails {
|
10
|
+
txnDetails: TransactionOperatorDetail[];
|
11
|
+
}
|
package/dist/user.d.ts
ADDED
package/dist/user.js
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
export interface UserLogin {
|
2
|
+
user: {
|
3
|
+
kyc: {
|
4
|
+
address: string;
|
5
|
+
street: string;
|
6
|
+
city: string;
|
7
|
+
state: string;
|
8
|
+
zip: string;
|
9
|
+
email: string;
|
10
|
+
first_name: string;
|
11
|
+
last_name: string;
|
12
|
+
mob_no: string;
|
13
|
+
qual_id: number;
|
14
|
+
};
|
15
|
+
};
|
16
|
+
}
|
package/dist/verify.d.ts
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
interface VerifyItem {
|
2
|
+
valid: boolean;
|
3
|
+
message: string | null;
|
4
|
+
}
|
5
|
+
export interface Verify {
|
6
|
+
paydala: {
|
7
|
+
score: number;
|
8
|
+
partner_threshold: number;
|
9
|
+
city?: VerifyItem;
|
10
|
+
first_name?: VerifyItem;
|
11
|
+
last_name?: VerifyItem;
|
12
|
+
email?: VerifyItem;
|
13
|
+
postalCode?: VerifyItem;
|
14
|
+
region?: VerifyItem;
|
15
|
+
street?: VerifyItem;
|
16
|
+
street_num?: VerifyItem;
|
17
|
+
verified?: boolean;
|
18
|
+
} | null;
|
19
|
+
}
|
20
|
+
export {};
|
package/dist/verify.js
ADDED
package/dist/widget.d.ts
ADDED
package/dist/widget.js
ADDED
package/package.json
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
{
|
2
|
+
"name": "@paydala-payments/models",
|
3
|
+
"version": "0.2.28",
|
4
|
+
"description": "Models of the Paydala project",
|
5
|
+
"keywords": [
|
6
|
+
"paydala",
|
7
|
+
"sdk",
|
8
|
+
"models"
|
9
|
+
],
|
10
|
+
"author": "Abhilash <abhilash@paydala.com>",
|
11
|
+
"homepage": "https://paydala.com",
|
12
|
+
"license": "ISC",
|
13
|
+
"main": "./dist/index.js",
|
14
|
+
"types": "./dist/index.d.ts",
|
15
|
+
"directories": {
|
16
|
+
"dist": "dist",
|
17
|
+
"src": "src"
|
18
|
+
},
|
19
|
+
"files": [
|
20
|
+
"dist"
|
21
|
+
],
|
22
|
+
"release-it": {
|
23
|
+
"npm": {
|
24
|
+
"publish": true,
|
25
|
+
"publishPath": "dist"
|
26
|
+
},
|
27
|
+
"github": {
|
28
|
+
"release": true,
|
29
|
+
"assets": [
|
30
|
+
"dist"
|
31
|
+
]
|
32
|
+
},
|
33
|
+
"plugins": {
|
34
|
+
"@release-it-plugins/workspaces": true,
|
35
|
+
"@release-it/conventional-changelog": {
|
36
|
+
"preset": "angular",
|
37
|
+
"infile": "CHANGELOG.md"
|
38
|
+
}
|
39
|
+
},
|
40
|
+
"hooks": {
|
41
|
+
"after:bump": "yarn build && npx auto-changelog -p"
|
42
|
+
}
|
43
|
+
},
|
44
|
+
"publishConfig": {
|
45
|
+
"access": "public"
|
46
|
+
},
|
47
|
+
"repository": {
|
48
|
+
"type": "git",
|
49
|
+
"url": "git@paydala.github.com:PaydalaInc/react-web-paydala.git"
|
50
|
+
},
|
51
|
+
"dependencies": {
|
52
|
+
"typescript": "^5.0.4"
|
53
|
+
},
|
54
|
+
"scripts": {
|
55
|
+
"build": "tsc -p tsconfig.json"
|
56
|
+
},
|
57
|
+
"devDependencies": {
|
58
|
+
"eslint": "^8.39.0",
|
59
|
+
"eslint-config-prettier": "^8.8.0",
|
60
|
+
"prettier": "^2.8.8"
|
61
|
+
}
|
62
|
+
}
|