@paydala-payments/models 0.6.52 → 0.6.54

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,18 @@
1
+ export interface CustomTheme {
2
+ selectedTheme: "light" | "dark";
3
+ light: ThemeObject | undefined;
4
+ dark: ThemeObject | undefined;
5
+ }
6
+ export interface ThemeObject {
7
+ primary: string;
8
+ primaryForeground: string;
9
+ secondary: string;
10
+ secondaryForeground: string;
11
+ bgColor: string;
12
+ brandIcon: string;
13
+ textPrimary: string;
14
+ textSecondary: string;
15
+ success: string;
16
+ error: string;
17
+ warning: string;
18
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -45,5 +45,6 @@ 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, OperatorCustomData, };
48
+ import { CustomTheme } from "./custome_theme";
49
+ 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, CustomTheme, };
49
50
  export { IntegrationSource };
package/dist/paydala.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { CustomTheme } from "./custome_theme";
1
2
  import { Environment } from "./environment";
2
3
  import { OperatorCredentials } from "./operator_credentials";
3
4
  import { TransactionOperatorDetail } from "./transaction_operator_details";
@@ -13,6 +14,7 @@ export interface Paydala extends PaydalaBasic {
13
14
  onTransactionComplete?: (data: TransactionOperatorDetail) => void;
14
15
  onSessionCreated?: (sessionId: string) => void;
15
16
  integrationSource?: IntegrationSource | undefined;
17
+ operatorTheme?: CustomTheme | null;
16
18
  }
17
19
  export interface OperatorSignAndCredentials {
18
20
  sign: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paydala-payments/models",
3
- "version": "0.6.52",
3
+ "version": "0.6.54",
4
4
  "description": "Models of the Paydala project",
5
5
  "keywords": [
6
6
  "paydala",