@paydala-payments/models 0.4.52 → 0.4.55

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.
@@ -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,4 +39,5 @@ 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
- 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, };
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, };
package/dist/paydala.d.ts CHANGED
@@ -9,6 +9,7 @@ export interface Paydala extends PaydalaBasic {
9
9
  export interface OperatorSignAndCredentials {
10
10
  sign: string | null;
11
11
  credentials: OperatorCredentials | null;
12
+ clientId: string | null;
12
13
  }
13
14
  interface PaydalaBasic {
14
15
  /** Operator configuration */
@@ -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";
4
+ export type TransactionType = "deposit" | "withdraw" | "fundForDeposit" | "fund" | "oneTimeWithdraw";
5
5
  export interface Transaction {
6
6
  card?: CardTransaction;
7
7
  bank?: BankTransaction;
@@ -1,4 +1,5 @@
1
+ import { TransactionType } from "./transaction";
1
2
  export interface VerifyAmount {
2
- intent: "deposit" | "withdraw";
3
+ intent: TransactionType;
3
4
  amount: number;
4
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paydala-payments/models",
3
- "version": "0.4.52",
3
+ "version": "0.4.55",
4
4
  "description": "Models of the Paydala project",
5
5
  "keywords": [
6
6
  "paydala",