@paydala-payments/models 0.7.0 → 0.7.2
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/dist/index.d.ts +4 -3
- package/dist/index.js +2 -1
- package/dist/paydala.d.ts +9 -1
- package/dist/paydala.js +7 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { AccountDetail, TransactionDetail, TransactionHistoryResult } from "./transaction_history_result";
|
2
2
|
import type { OnPaydalaClose, OperatorSignAndCredentials, Paydala } from "./paydala";
|
3
|
-
import { IntegrationSource } from "./paydala";
|
3
|
+
import { IntegrationSource, BankProcessor } from "./paydala";
|
4
4
|
import type { PaymentDetails, Source } from "./source";
|
5
5
|
import type { Region, Regions } from "./region";
|
6
6
|
import type { TransactionOperatorDetail, TransactionOperatorDetails } from "./transaction_operator_details";
|
@@ -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
|
-
|
49
|
-
export {
|
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, };
|
50
|
+
export { IntegrationSource, BankProcessor };
|
package/dist/index.js
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.IntegrationSource = void 0;
|
3
|
+
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
|
+
Object.defineProperty(exports, "BankProcessor", { enumerable: true, get: function () { return paydala_1.BankProcessor; } });
|
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";
|
@@ -5,7 +6,12 @@ export declare enum IntegrationSource {
|
|
5
6
|
WebView = "webview",
|
6
7
|
Iframe = "iframe",
|
7
8
|
RNWebView = "rn-webview",
|
8
|
-
ExpoWebView = "expo-webview"
|
9
|
+
ExpoWebView = "expo-webview",
|
10
|
+
IOSNative = "ios-native"
|
11
|
+
}
|
12
|
+
export declare enum BankProcessor {
|
13
|
+
MX = "mx",
|
14
|
+
MASTER_CARD = "master_card"
|
9
15
|
}
|
10
16
|
export interface Paydala extends PaydalaBasic {
|
11
17
|
/** Callback function when the Paydala session is finished */
|
@@ -13,6 +19,8 @@ export interface Paydala extends PaydalaBasic {
|
|
13
19
|
onTransactionComplete?: (data: TransactionOperatorDetail) => void;
|
14
20
|
onSessionCreated?: (sessionId: string) => void;
|
15
21
|
integrationSource?: IntegrationSource | undefined;
|
22
|
+
operatorTheme?: CustomTheme | null;
|
23
|
+
bankProcessor: BankProcessor;
|
16
24
|
}
|
17
25
|
export interface OperatorSignAndCredentials {
|
18
26
|
sign: string | null;
|
package/dist/paydala.js
CHANGED
@@ -1,13 +1,19 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.IntegrationSource = void 0;
|
3
|
+
exports.BankProcessor = exports.IntegrationSource = void 0;
|
4
4
|
var IntegrationSource;
|
5
5
|
(function (IntegrationSource) {
|
6
6
|
IntegrationSource["WebView"] = "webview";
|
7
7
|
IntegrationSource["Iframe"] = "iframe";
|
8
8
|
IntegrationSource["RNWebView"] = "rn-webview";
|
9
9
|
IntegrationSource["ExpoWebView"] = "expo-webview";
|
10
|
+
IntegrationSource["IOSNative"] = "ios-native";
|
10
11
|
})(IntegrationSource || (exports.IntegrationSource = IntegrationSource = {}));
|
12
|
+
var BankProcessor;
|
13
|
+
(function (BankProcessor) {
|
14
|
+
BankProcessor["MX"] = "mx";
|
15
|
+
BankProcessor["MASTER_CARD"] = "master_card";
|
16
|
+
})(BankProcessor || (exports.BankProcessor = BankProcessor = {}));
|
11
17
|
// interface OnTransactionComplete {
|
12
18
|
// /** List of all operations performed in the Paydala SDK */
|
13
19
|
// txnDetails: TransactionOperatorDetail;
|