@paydala-payments/models 0.5.91 → 0.5.93
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 -0
- package/dist/index.js +3 -0
- package/dist/operator_credentials.d.ts +0 -4
- package/dist/paydala.d.ts +5 -0
- package/dist/paydala.js +6 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -1,5 +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
4
|
import type { PaymentDetails, Source } from "./source";
|
4
5
|
import type { Region, Regions } from "./region";
|
5
6
|
import type { TransactionOperatorDetail, TransactionOperatorDetails } from "./transaction_operator_details";
|
@@ -45,3 +46,4 @@ import { VerifyDeviceStatus } from "./verify_device_status";
|
|
45
46
|
import { OTPConfirmRequest } from "./otp_confirm_request";
|
46
47
|
import { OTPConfirmResponse } from "./otp_confirm_response";
|
47
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, };
|
49
|
+
export { IntegrationSource };
|
package/dist/index.js
CHANGED
@@ -1,2 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.IntegrationSource = void 0;
|
4
|
+
const paydala_1 = require("./paydala");
|
5
|
+
Object.defineProperty(exports, "IntegrationSource", { enumerable: true, get: function () { return paydala_1.IntegrationSource; } });
|
@@ -22,10 +22,6 @@ export interface CredentialsPayload {
|
|
22
22
|
defaultUser?: Prefill;
|
23
23
|
/** the URL of the host application to enable OAuth redirection */
|
24
24
|
redirectUrl: string;
|
25
|
-
/** Should be true with using the `native-widget-sdk` */
|
26
|
-
isWebView?: boolean;
|
27
|
-
/** Should be true when using the `iframe-sdk` */
|
28
|
-
isiFrame?: boolean;
|
29
25
|
/** transaction type wether it's a deposit or a withdraw */
|
30
26
|
transactionType: TransactionType;
|
31
27
|
/** user flow depenedent configuration */
|
package/dist/paydala.d.ts
CHANGED
@@ -1,11 +1,16 @@
|
|
1
1
|
import { Environment } from "./environment";
|
2
2
|
import { OperatorCredentials } from "./operator_credentials";
|
3
3
|
import { TransactionOperatorDetail } from "./transaction_operator_details";
|
4
|
+
export declare enum IntegrationSource {
|
5
|
+
WebView = "webview",
|
6
|
+
Iframe = "iframe"
|
7
|
+
}
|
4
8
|
export interface Paydala extends PaydalaBasic {
|
5
9
|
/** Callback function when the Paydala session is finished */
|
6
10
|
onClose?: (data: OnPaydalaClose) => void;
|
7
11
|
onTransactionComplete?: (data: TransactionOperatorDetail) => void;
|
8
12
|
onSessionCreated?: (sessionId: string) => void;
|
13
|
+
integrationSource?: IntegrationSource | undefined;
|
9
14
|
}
|
10
15
|
export interface OperatorSignAndCredentials {
|
11
16
|
sign: string | null;
|
package/dist/paydala.js
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
"use strict";
|
2
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 || (exports.IntegrationSource = IntegrationSource = {}));
|
3
9
|
// interface OnTransactionComplete {
|
4
10
|
// /** List of all operations performed in the Paydala SDK */
|
5
11
|
// txnDetails: TransactionOperatorDetail;
|