@paydala-payments/models 0.7.75 → 0.7.77

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,5 @@
1
+ export declare enum BankProcessor {
2
+ MX = "MX",
3
+ MASTER_CARD = "MC",
4
+ MC = "MC"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BankProcessor = void 0;
4
+ var BankProcessor;
5
+ (function (BankProcessor) {
6
+ BankProcessor["MX"] = "MX";
7
+ BankProcessor["MASTER_CARD"] = "MC";
8
+ BankProcessor["MC"] = "MC";
9
+ })(BankProcessor || (exports.BankProcessor = BankProcessor = {}));
@@ -0,0 +1,25 @@
1
+ export interface CustomTheme {
2
+ selectedTheme?: "light" | "dark";
3
+ light?: ThemeObject | undefined;
4
+ dark?: ThemeObject | undefined;
5
+ }
6
+ export declare enum FontFamily {
7
+ Gotham = "Gotham",
8
+ Inter = "InterVariable",
9
+ Anton = "Anton"
10
+ }
11
+ export interface ThemeObject {
12
+ primary?: string;
13
+ primaryForeground?: string;
14
+ secondary?: string;
15
+ secondaryForeground?: string;
16
+ bgColor?: string;
17
+ brandIcon?: string;
18
+ textPrimary?: string;
19
+ textSecondary?: string;
20
+ success?: string;
21
+ error?: string;
22
+ warning?: string;
23
+ brandBackground?: string | null;
24
+ fontFamily?: FontFamily;
25
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FontFamily = void 0;
4
+ var FontFamily;
5
+ (function (FontFamily) {
6
+ FontFamily["Gotham"] = "Gotham";
7
+ FontFamily["Inter"] = "InterVariable";
8
+ FontFamily["Anton"] = "Anton";
9
+ })(FontFamily || (exports.FontFamily = FontFamily = {}));
@@ -3,6 +3,10 @@ export interface CustomTheme {
3
3
  light?: ThemeObject | undefined;
4
4
  dark?: ThemeObject | undefined;
5
5
  }
6
+ export declare enum FontFamily {
7
+ Gotham = "Gotham",
8
+ Inter = "InterVariable"
9
+ }
6
10
  export interface ThemeObject {
7
11
  primary?: string;
8
12
  primaryForeground?: string;
@@ -16,4 +20,5 @@ export interface ThemeObject {
16
20
  error?: string;
17
21
  warning?: string;
18
22
  brandBackground?: string | null;
23
+ fontFamily?: FontFamily;
19
24
  }
@@ -1,2 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FontFamily = void 0;
4
+ var FontFamily;
5
+ (function (FontFamily) {
6
+ FontFamily["Gotham"] = "Gotham";
7
+ FontFamily["Inter"] = "InterVariable";
8
+ })(FontFamily || (exports.FontFamily = FontFamily = {}));
package/dist/index.d.ts CHANGED
@@ -45,7 +45,7 @@ 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
- import { CustomTheme } from "./custome_theme";
48
+ import { CustomTheme, FontFamily } from "./custom_theme";
49
49
  import { IdentifyResponse, OtpSource } from "./identify_response";
50
50
  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, IdentifyResponse, Regions, CardTransactionResponse, BankTransactionResponse, CustomerKYCStatus, VerifyAmount, LastSelectedOperatorSignAndCreds, OTPStatus, VerifyDeviceStatus, OTPConfirmRequest, OTPConfirmResponse, OperatorCustomData, CustomTheme, };
51
- export { IntegrationSource, BankProcessor, OtpSource };
51
+ export { IntegrationSource, BankProcessor, OtpSource, FontFamily };
package/dist/index.js CHANGED
@@ -1,8 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OtpSource = exports.BankProcessor = exports.IntegrationSource = void 0;
3
+ exports.FontFamily = exports.OtpSource = exports.BankProcessor = exports.IntegrationSource = void 0;
4
4
  const paydala_1 = require("./paydala");
5
5
  Object.defineProperty(exports, "IntegrationSource", { enumerable: true, get: function () { return paydala_1.IntegrationSource; } });
6
6
  Object.defineProperty(exports, "BankProcessor", { enumerable: true, get: function () { return paydala_1.BankProcessor; } });
7
+ const custom_theme_1 = require("./custom_theme");
8
+ Object.defineProperty(exports, "FontFamily", { enumerable: true, get: function () { return custom_theme_1.FontFamily; } });
7
9
  const identify_response_1 = require("./identify_response");
8
10
  Object.defineProperty(exports, "OtpSource", { enumerable: true, get: function () { return identify_response_1.OtpSource; } });
@@ -0,0 +1,8 @@
1
+ export declare enum IntegrationSource {
2
+ WebView = "webview",
3
+ Iframe = "iframe",
4
+ RNWebView = "rn-webview",
5
+ ExpoWebView = "expo-webview",
6
+ IOSNative = "ios-native",
7
+ AndroidNative = "android-native"
8
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IntegrationSource = void 0;
4
+ var IntegrationSource;
5
+ (function (IntegrationSource) {
6
+ IntegrationSource["WebView"] = "webview";
7
+ IntegrationSource["Iframe"] = "iframe";
8
+ IntegrationSource["RNWebView"] = "rn-webview";
9
+ IntegrationSource["ExpoWebView"] = "expo-webview";
10
+ IntegrationSource["IOSNative"] = "ios-native";
11
+ IntegrationSource["AndroidNative"] = "android-native";
12
+ })(IntegrationSource || (exports.IntegrationSource = IntegrationSource = {}));
package/dist/paydala.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { CustomTheme } from "./custome_theme";
1
+ import { CustomTheme } from "./custom_theme";
2
2
  import { Environment } from "./environment";
3
3
  import { OperatorCredentials } from "./operator_credentials";
4
4
  import { TransactionOperatorDetail } from "./transaction_operator_details";
@@ -7,7 +7,8 @@ export declare enum IntegrationSource {
7
7
  Iframe = "iframe",
8
8
  RNWebView = "rn-webview",
9
9
  ExpoWebView = "expo-webview",
10
- IOSNative = "ios-native"
10
+ IOSNative = "ios-native",
11
+ AndroidNative = "android-native"
11
12
  }
12
13
  export declare enum BankProcessor {
13
14
  MX = "MX",
package/dist/paydala.js CHANGED
@@ -8,6 +8,7 @@ var IntegrationSource;
8
8
  IntegrationSource["RNWebView"] = "rn-webview";
9
9
  IntegrationSource["ExpoWebView"] = "expo-webview";
10
10
  IntegrationSource["IOSNative"] = "ios-native";
11
+ IntegrationSource["AndroidNative"] = "android-native";
11
12
  })(IntegrationSource || (exports.IntegrationSource = IntegrationSource = {}));
12
13
  var BankProcessor;
13
14
  (function (BankProcessor) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paydala-payments/models",
3
- "version": "0.7.75",
3
+ "version": "0.7.77",
4
4
  "description": "Models of the Paydala project",
5
5
  "keywords": [
6
6
  "paydala",