@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.
@@ -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,8 @@
1
+ export declare enum CardProcessor {
2
+ STRIPE_PROCESSOR = 1,
3
+ MICAMP_PROCESSOR = 2,
4
+ DWOLLA_PROCESSOR = 3,
5
+ PAYARC_PROCESSOR = 5,
6
+ APPROVELY_PROCESSOR = 6,
7
+ CYBERSOURCE_PROCESSOR = 7
8
+ }
@@ -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 = {}));
@@ -8,4 +8,5 @@ export interface CardTransaction {
8
8
  brand: string | undefined;
9
9
  name_on_card: string | undefined;
10
10
  billing_zip: string | undefined;
11
+ token: string | undefined;
11
12
  }
@@ -0,0 +1,4 @@
1
+ export interface CoinflowDigitalWalletAppleTransaction {
2
+ token: string;
3
+ wallet: "Apple";
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface CoinflowDigitalWalletGoogleTransaction {
2
+ token: string;
3
+ wallet: "Google";
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
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,8 @@
1
+ export declare enum ProcessorEnum {
2
+ STRIPE_PROCESSOR = 1,
3
+ MICAMP_PROCESSOR = 2,
4
+ DWOLLA_PROCESSOR = 3,
5
+ PAYARC_PROCESSOR = 5,
6
+ APPROVELY_PROCESSOR = 6,
7
+ CYBERSOURCE_PROCESSOR = 7
8
+ }
@@ -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
@@ -12,6 +12,7 @@ export interface PaymentDetails {
12
12
  accountType: string;
13
13
  accountNo?: string;
14
14
  coolOffAt?: number;
15
+ token?: string;
15
16
  }
16
17
  export interface Logos {
17
18
  paydala?: string;
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paydala-payments/models",
3
- "version": "0.8.7",
3
+ "version": "0.8.12",
4
4
  "description": "Models of the Paydala project",
5
5
  "keywords": [
6
6
  "paydala",