@paydala-payments/models 0.8.7 → 0.8.12
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/blocked_instrument.d.ts +4 -0
- package/dist/card_processor.d.ts +8 -0
- package/dist/card_processor.js +12 -0
- package/dist/card_transaction.d.ts +1 -0
- package/dist/coin-flow-digital-wallet_apple_transaction.d.ts +4 -0
- package/dist/coin-flow-digital-wallet_apple_transaction.js +2 -0
- package/dist/coin-flow-digital-wallet_google_transaction.d.ts +4 -0
- package/dist/coin-flow-digital-wallet_google_transaction.js +2 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -1
- package/dist/processor_enum.d.ts +8 -0
- package/dist/processor_enum.js +12 -0
- package/dist/source.d.ts +1 -0
- package/dist/transaction.d.ts +5 -1
- package/package.json +1 -1
|
@@ -16,9 +16,13 @@ interface BlockedBankInstrument extends BlockedInstrumentBase {
|
|
|
16
16
|
interface BlockedWalletInstrument extends BlockedInstrumentBase {
|
|
17
17
|
wallets: ("Google" | "Apple")[];
|
|
18
18
|
}
|
|
19
|
+
interface BlockedCoinflowWalletsInstrument extends BlockedInstrumentBase {
|
|
20
|
+
coinflowWallets: ("Google" | "Apple")[] | boolean;
|
|
21
|
+
}
|
|
19
22
|
interface BlockedInstruments {
|
|
20
23
|
card: BlockedCardInstrument;
|
|
21
24
|
bank: BlockedBankInstrument;
|
|
22
25
|
wallet: BlockedWalletInstrument;
|
|
26
|
+
coinflowWallets: BlockedCoinflowWalletsInstrument;
|
|
23
27
|
}
|
|
24
28
|
export default BlockedInstruments;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CardProcessor = void 0;
|
|
4
|
+
var CardProcessor;
|
|
5
|
+
(function (CardProcessor) {
|
|
6
|
+
CardProcessor[CardProcessor["STRIPE_PROCESSOR"] = 1] = "STRIPE_PROCESSOR";
|
|
7
|
+
CardProcessor[CardProcessor["MICAMP_PROCESSOR"] = 2] = "MICAMP_PROCESSOR";
|
|
8
|
+
CardProcessor[CardProcessor["DWOLLA_PROCESSOR"] = 3] = "DWOLLA_PROCESSOR";
|
|
9
|
+
CardProcessor[CardProcessor["PAYARC_PROCESSOR"] = 5] = "PAYARC_PROCESSOR";
|
|
10
|
+
CardProcessor[CardProcessor["APPROVELY_PROCESSOR"] = 6] = "APPROVELY_PROCESSOR";
|
|
11
|
+
CardProcessor[CardProcessor["CYBERSOURCE_PROCESSOR"] = 7] = "CYBERSOURCE_PROCESSOR";
|
|
12
|
+
})(CardProcessor || (exports.CardProcessor = CardProcessor = {}));
|
package/dist/index.d.ts
CHANGED
|
@@ -49,5 +49,6 @@ import { OTPConfirmResponse } from "./otp_confirm_response";
|
|
|
49
49
|
import { CustomTheme, FontFamily } from "./custom_theme";
|
|
50
50
|
import { IdentifyResponse, OtpSource } from "./identify_response";
|
|
51
51
|
import { CardBrand, CardType } from "./blocked_instrument";
|
|
52
|
+
import { CardProcessor } from "./card_processor";
|
|
52
53
|
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, };
|
|
53
|
-
export { IntegrationSource, BankProcessor, OtpSource, FontFamily };
|
|
54
|
+
export { IntegrationSource, BankProcessor, CardProcessor, OtpSource, FontFamily, };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FontFamily = exports.OtpSource = exports.BankProcessor = exports.IntegrationSource = void 0;
|
|
3
|
+
exports.FontFamily = exports.OtpSource = exports.CardProcessor = exports.BankProcessor = exports.IntegrationSource = void 0;
|
|
4
4
|
const integration_source_1 = require("./integration_source");
|
|
5
5
|
Object.defineProperty(exports, "IntegrationSource", { enumerable: true, get: function () { return integration_source_1.IntegrationSource; } });
|
|
6
6
|
const bank_processor_1 = require("./bank_processor");
|
|
@@ -9,3 +9,5 @@ const custom_theme_1 = require("./custom_theme");
|
|
|
9
9
|
Object.defineProperty(exports, "FontFamily", { enumerable: true, get: function () { return custom_theme_1.FontFamily; } });
|
|
10
10
|
const identify_response_1 = require("./identify_response");
|
|
11
11
|
Object.defineProperty(exports, "OtpSource", { enumerable: true, get: function () { return identify_response_1.OtpSource; } });
|
|
12
|
+
const card_processor_1 = require("./card_processor");
|
|
13
|
+
Object.defineProperty(exports, "CardProcessor", { enumerable: true, get: function () { return card_processor_1.CardProcessor; } });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProcessorEnum = void 0;
|
|
4
|
+
var ProcessorEnum;
|
|
5
|
+
(function (ProcessorEnum) {
|
|
6
|
+
ProcessorEnum[ProcessorEnum["STRIPE_PROCESSOR"] = 1] = "STRIPE_PROCESSOR";
|
|
7
|
+
ProcessorEnum[ProcessorEnum["MICAMP_PROCESSOR"] = 2] = "MICAMP_PROCESSOR";
|
|
8
|
+
ProcessorEnum[ProcessorEnum["DWOLLA_PROCESSOR"] = 3] = "DWOLLA_PROCESSOR";
|
|
9
|
+
ProcessorEnum[ProcessorEnum["PAYARC_PROCESSOR"] = 5] = "PAYARC_PROCESSOR";
|
|
10
|
+
ProcessorEnum[ProcessorEnum["APPROVELY_PROCESSOR"] = 6] = "APPROVELY_PROCESSOR";
|
|
11
|
+
ProcessorEnum[ProcessorEnum["CYBERSOURCE_PROCESSOR"] = 7] = "CYBERSOURCE_PROCESSOR";
|
|
12
|
+
})(ProcessorEnum || (exports.ProcessorEnum = ProcessorEnum = {}));
|
package/dist/source.d.ts
CHANGED
package/dist/transaction.d.ts
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import type { BankTransaction } from "./bank_transaction";
|
|
2
2
|
import type { CardTransaction } from "./card_transaction";
|
|
3
|
+
import { CoinflowDigitalWalletAppleTransaction } from "./coin-flow-digital-wallet_apple_transaction";
|
|
4
|
+
import { CoinflowDigitalWalletGoogleTransaction } from "./coin-flow-digital-wallet_google_transaction";
|
|
3
5
|
import { DigitalWalletTransaction } from "./digital-wallet_transaction";
|
|
4
|
-
export type TransactionMode = "bank" | "card" | "wallet" | "digitalWallet";
|
|
6
|
+
export type TransactionMode = "bank" | "card" | "wallet" | "digitalWallet" | "coinflowDigitalWalletGoogle" | "coinflowDigitalWalletApple";
|
|
5
7
|
export type TransactionType = "deposit" | "withdraw" | "fundForDeposit" | "fund" | "oneTimeWithdraw";
|
|
6
8
|
export interface Transaction {
|
|
7
9
|
card?: CardTransaction;
|
|
8
10
|
bank?: BankTransaction;
|
|
9
11
|
digitalWallet?: DigitalWalletTransaction;
|
|
12
|
+
coinflowDigitalWalletGoogle?: CoinflowDigitalWalletGoogleTransaction;
|
|
13
|
+
coinflowDigitalWalletApple?: CoinflowDigitalWalletAppleTransaction;
|
|
10
14
|
activeAmount: string;
|
|
11
15
|
fundForDepositBalanceAmount?: number;
|
|
12
16
|
totalAmountToDeposit: string;
|