@paydala-payments/models 0.8.34 → 0.8.35

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.
@@ -1,3 +1,12 @@
1
+ /** Origin of completed KYC for the customer. */
2
+ export declare enum KycOrigin {
3
+ /** KYC completed in the transaction / consumer checkout flow. */
4
+ TRANSACTION_FLOW = "TRANSACTION_FLOW",
5
+ /** KYC completed via OE / partner integration endpoints (e.g. HMAC APIs). */
6
+ OE_SERVICE = "OE_SERVICE",
7
+ /** KYC completed by an external provider outside OE API path. */
8
+ EXTERNAL_KYC_PROVIDER = "EXTERNAL_KYC_PROVIDER"
9
+ }
1
10
  export interface CustomerKYCStatus {
2
11
  bank?: {
3
12
  kycCompleted: boolean;
@@ -15,4 +24,6 @@ export interface CustomerKYCStatus {
15
24
  card?: {
16
25
  kycCompleted: boolean;
17
26
  };
27
+ kycOrigin?: KycOrigin;
28
+ tncAccepted?: boolean;
18
29
  }
@@ -1,2 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KycOrigin = void 0;
4
+ /** Origin of completed KYC for the customer. */
5
+ var KycOrigin;
6
+ (function (KycOrigin) {
7
+ /** KYC completed in the transaction / consumer checkout flow. */
8
+ KycOrigin["TRANSACTION_FLOW"] = "TRANSACTION_FLOW";
9
+ /** KYC completed via OE / partner integration endpoints (e.g. HMAC APIs). */
10
+ KycOrigin["OE_SERVICE"] = "OE_SERVICE";
11
+ /** KYC completed by an external provider outside OE API path. */
12
+ KycOrigin["EXTERNAL_KYC_PROVIDER"] = "EXTERNAL_KYC_PROVIDER";
13
+ })(KycOrigin || (exports.KycOrigin = KycOrigin = {}));
@@ -1 +1 @@
1
- export type Environment = "local" | "production" | "development" | "sandbox" | "staging";
1
+ export type Environment = "local" | "production" | "development" | "awsprod" | "awsstage" | "awsdev" | "awssb" | "sandbox" | "staging";
package/dist/index.d.ts CHANGED
@@ -39,7 +39,7 @@ import { Environment } from "./environment";
39
39
  import { CredentialsPayload, OperatorCredentials, OperatorCustomData } from "./operator_credentials";
40
40
  import { CardTransactionResponse } from "./card_transaction_response";
41
41
  import { BankTransactionResponse } from "./bank_transaction_response";
42
- import { CustomerKYCStatus } from "./customer_kyc_status";
42
+ import { CustomerKYCStatus, KycOrigin } from "./customer_kyc_status";
43
43
  import { OTPStatus } from "./otp_status";
44
44
  import { VerifyAmount } from "./verify_amount";
45
45
  import { LastSelectedOperatorSignAndCreds } from "./last_saved_operator_credentials";
@@ -50,4 +50,4 @@ import { CustomTheme, FontFamily } from "./custom_theme";
50
50
  import { IdentifyResponse, OtpSource } from "./identify_response";
51
51
  import { CardBrand, CardType } from "./blocked_instrument";
52
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, };
53
- export { IntegrationSource, BankProcessor, OtpSource, FontFamily };
53
+ export { IntegrationSource, BankProcessor, OtpSource, FontFamily, KycOrigin };
package/dist/index.js CHANGED
@@ -1,10 +1,12 @@
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.KycOrigin = exports.FontFamily = exports.OtpSource = 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");
7
7
  Object.defineProperty(exports, "BankProcessor", { enumerable: true, get: function () { return bank_processor_1.BankProcessor; } });
8
+ const customer_kyc_status_1 = require("./customer_kyc_status");
9
+ Object.defineProperty(exports, "KycOrigin", { enumerable: true, get: function () { return customer_kyc_status_1.KycOrigin; } });
8
10
  const custom_theme_1 = require("./custom_theme");
9
11
  Object.defineProperty(exports, "FontFamily", { enumerable: true, get: function () { return custom_theme_1.FontFamily; } });
10
12
  const identify_response_1 = require("./identify_response");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paydala-payments/models",
3
- "version": "0.8.34",
3
+ "version": "0.8.35",
4
4
  "description": "Models of the Paydala project",
5
5
  "keywords": [
6
6
  "paydala",