@paydala-payments/models 0.4.44 → 0.4.46

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.
@@ -0,0 +1,8 @@
1
+ interface AmountDetails {
2
+ activeAmount: number;
3
+ fundForDepositBalanceAmount?: number;
4
+ totalAmountToDeposit: number;
5
+ currency: string;
6
+ amountDeposited?: number;
7
+ }
8
+ export default AmountDetails;
@@ -1,5 +1,5 @@
1
1
  export interface CustomerKYCStatus {
2
- bank?: {
2
+ bank: {
3
3
  kycCompleted: boolean;
4
4
  kycMatched: boolean;
5
5
  error?: string;
@@ -12,7 +12,7 @@ export interface CustomerKYCStatus {
12
12
  };
13
13
  };
14
14
  };
15
- card?: {
15
+ card: {
16
16
  kycCompleted: boolean;
17
17
  };
18
18
  }
package/dist/index.d.ts CHANGED
@@ -39,5 +39,4 @@ import { CardTransactionResponse } from "./card_transaction_response";
39
39
  import { BankTransactionResponse } from "./bank_transaction_response";
40
40
  import { CustomerKYCStatus } from "./customer_kyc_status";
41
41
  import { VerifyAmount } from "./verify_amount";
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, 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, };
42
+ 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, };
package/dist/paydala.d.ts CHANGED
@@ -9,7 +9,6 @@ export interface Paydala extends PaydalaBasic {
9
9
  export interface OperatorSignAndCredentials {
10
10
  sign: string | null;
11
11
  credentials: OperatorCredentials | null;
12
- clientId: string | null;
13
12
  }
14
13
  interface PaydalaBasic {
15
14
  /** Operator configuration */
@@ -0,0 +1,6 @@
1
+ import { OperatorCredentials } from "./operator_credentials";
2
+ export interface SignedCredResponse {
3
+ sign: string;
4
+ creds: OperatorCredentials | string;
5
+ client_id: string | undefined;
6
+ }
@@ -1,7 +1,7 @@
1
1
  import type { BankTransaction } from "./bank_transaction";
2
2
  import type { CardTransaction } from "./card_transaction";
3
3
  export type TransactionMode = "bank" | "card" | "wallet";
4
- export type TransactionType = "deposit" | "withdraw" | "fundForDeposit" | "fund" | "oneTimeWithdraw";
4
+ export type TransactionType = "deposit" | "withdraw" | "fundForDeposit" | "fund";
5
5
  export interface Transaction {
6
6
  card?: CardTransaction;
7
7
  bank?: BankTransaction;
@@ -1,5 +1,4 @@
1
- import { TransactionType } from "./transaction";
2
1
  export interface VerifyAmount {
3
- intent: TransactionType;
2
+ intent: "deposit" | "withdraw";
4
3
  amount: number;
5
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paydala-payments/models",
3
- "version": "0.4.44",
3
+ "version": "0.4.46",
4
4
  "description": "Models of the Paydala project",
5
5
  "keywords": [
6
6
  "paydala",
@@ -1,16 +0,0 @@
1
- export interface BankKYC {
2
- first_name: string;
3
- mid_name?: string;
4
- last_name: string;
5
- address?: string;
6
- city?: string;
7
- state?: string;
8
- zip?: string;
9
- dob?: string;
10
- mob_no?: string;
11
- email: string;
12
- ssn_last_four?: string;
13
- qual_id?: number;
14
- qual_no?: string;
15
- issuing_state?: string;
16
- }
@@ -1,21 +0,0 @@
1
- interface LoginBody {
2
- pymt_type: number;
3
- pref_pymt?: number;
4
- card_no?: string;
5
- exp_date?: string;
6
- cvv?: number;
7
- zip?: string;
8
- kyc?: {
9
- first_name: string;
10
- last_name: string;
11
- address: string;
12
- city: string;
13
- state: string;
14
- zip: string;
15
- mob_no: string;
16
- ssn_last_four: string;
17
- dob: string;
18
- email: string;
19
- };
20
- }
21
- export default LoginBody;
File without changes
File without changes