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