@paydala-payments/models 0.8.30 → 0.8.31

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.
@@ -0,0 +1,4 @@
1
+ export interface CoinflowDigitalWalletTransaction {
2
+ token: string;
3
+ wallet: "Google" | "Apple";
4
+ }
@@ -1,12 +1,8 @@
1
- export interface CustomTheme {
1
+ export interface CustomTheme {
2
2
  selectedTheme?: "light" | "dark";
3
3
  light?: ThemeObject | undefined;
4
4
  dark?: ThemeObject | undefined;
5
5
  }
6
- export interface FontFamilyObject {
7
- url: string;
8
- format: "opentype" | "truetype" | "woff" | "woff2";
9
- }
10
6
  export interface ThemeObject {
11
7
  primary?: string;
12
8
  primaryForeground?: string;
@@ -20,6 +16,4 @@ export interface ThemeObject {
20
16
  error?: string;
21
17
  warning?: string;
22
18
  brandBackground?: string | null;
23
- headingFontFamily?: FontFamilyObject;
24
- bodyFontFamily?: FontFamilyObject;
25
19
  }
@@ -15,4 +15,7 @@ export interface CustomerKYCStatus {
15
15
  card?: {
16
16
  kycCompleted: boolean;
17
17
  };
18
+ wallet?: {
19
+ kycCompleted: boolean;
20
+ };
18
21
  }
@@ -1,3 +1,22 @@
1
+ export interface ApplePayToken {
2
+ paymentData: {
3
+ version: string;
4
+ data: string;
5
+ signature: string;
6
+ header: {
7
+ ephemeralPublicKey: string;
8
+ publicKeyHash: string;
9
+ transactionId: string;
10
+ };
11
+ };
12
+ paymentMethod: {
13
+ displayName: string;
14
+ network: string;
15
+ type: string;
16
+ };
17
+ transactionIdentifier: string;
18
+ }
1
19
  export interface DigitalWalletTransaction {
2
- token: string;
20
+ token?: string | ApplePayToken;
21
+ wallet: "Google" | "Apple";
3
22
  }
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
- 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, };
52
+ import { ApplePayToken } from "./digital-wallet_transaction";
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, ApplePayToken };
53
54
  export { IntegrationSource, BankProcessor, OtpSource, FontFamily };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paydala-payments/models",
3
- "version": "0.8.30",
3
+ "version": "0.8.31",
4
4
  "description": "Models of the Paydala project",
5
5
  "keywords": [
6
6
  "paydala",
@@ -1,8 +0,0 @@
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
- }
@@ -1,12 +0,0 @@
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 = {}));
@@ -1,5 +0,0 @@
1
- export interface ThreeDSChallengeData {
2
- transactionId: string;
3
- url: string;
4
- creq: string;
5
- }