@yuno-payments/sdk-web-types 1.5.0 → 1.7.0
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 +8 -0
- package/dist/types.ts +9 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -461,6 +461,13 @@ interface SecureFieldsArgs {
|
|
|
461
461
|
installmentEnable?: boolean;
|
|
462
462
|
customerSession?: string;
|
|
463
463
|
}
|
|
464
|
+
interface MountStatusPaymentArgs {
|
|
465
|
+
checkoutSession: string;
|
|
466
|
+
language: Language;
|
|
467
|
+
countryCode: CountryCode;
|
|
468
|
+
yunoPaymentResult?: YunoConfig['yunoPaymentResult'];
|
|
469
|
+
yunoError?: YunoConfig['yunoError'];
|
|
470
|
+
}
|
|
464
471
|
interface YunoInstance {
|
|
465
472
|
startCheckout(args: StartCheckoutArgs): void;
|
|
466
473
|
mountCheckout(args: MountCheckoutArgs): void;
|
|
@@ -474,6 +481,7 @@ interface YunoInstance {
|
|
|
474
481
|
hideLoader(): void;
|
|
475
482
|
updateCheckoutSession(checkoutSession: string): void;
|
|
476
483
|
mountFraud(args: mountFraudArgs): void;
|
|
484
|
+
mountStatusPayment(args: MountStatusPaymentArgs): void;
|
|
477
485
|
secureFields({ countryCode, checkoutSession, installmentEnable, customerSession }: SecureFieldsArgs): SecureFields;
|
|
478
486
|
apiClientPayment: ApiClientPayment;
|
|
479
487
|
apiClientEnroll: ApiClientEnroll;
|
package/dist/types.ts
CHANGED
|
@@ -461,6 +461,13 @@ interface SecureFieldsArgs {
|
|
|
461
461
|
installmentEnable?: boolean;
|
|
462
462
|
customerSession?: string;
|
|
463
463
|
}
|
|
464
|
+
interface MountStatusPaymentArgs {
|
|
465
|
+
checkoutSession: string;
|
|
466
|
+
language: Language;
|
|
467
|
+
countryCode: CountryCode;
|
|
468
|
+
yunoPaymentResult?: YunoConfig['yunoPaymentResult'];
|
|
469
|
+
yunoError?: YunoConfig['yunoError'];
|
|
470
|
+
}
|
|
464
471
|
interface YunoInstance {
|
|
465
472
|
startCheckout(args: StartCheckoutArgs): void;
|
|
466
473
|
mountCheckout(args: MountCheckoutArgs): void;
|
|
@@ -474,6 +481,7 @@ interface YunoInstance {
|
|
|
474
481
|
hideLoader(): void;
|
|
475
482
|
updateCheckoutSession(checkoutSession: string): void;
|
|
476
483
|
mountFraud(args: mountFraudArgs): void;
|
|
484
|
+
mountStatusPayment(args: MountStatusPaymentArgs): void;
|
|
477
485
|
secureFields({ countryCode, checkoutSession, installmentEnable, customerSession }: SecureFieldsArgs): SecureFields;
|
|
478
486
|
apiClientPayment: ApiClientPayment;
|
|
479
487
|
apiClientEnroll: ApiClientEnroll;
|
|
@@ -482,4 +490,4 @@ interface Yuno {
|
|
|
482
490
|
initialize(publicApiKey: string): YunoInstance;
|
|
483
491
|
}
|
|
484
492
|
|
|
485
|
-
export { type ButtonTextCard, type CardConfig, type ExternalPaymentButtons, ExternalPaymentButtonsTypes, type Language, type LoadingType, type MountCheckoutArgs, type MountCheckoutLiteArgs, type MountEnrollmentLiteArgs, type RenderMode, type SecureFieldsArgs, type StartCheckoutArgs, type TextsCustom, type Yuno, type YunoConfig, type YunoInstance, type mountFraudArgs };
|
|
493
|
+
export { type ButtonTextCard, type CardConfig, type ExternalPaymentButtons, ExternalPaymentButtonsTypes, type Language, type LoadingType, type MountCheckoutArgs, type MountCheckoutLiteArgs, type MountEnrollmentLiteArgs, type MountStatusPaymentArgs, type RenderMode, type SecureFieldsArgs, type StartCheckoutArgs, type TextsCustom, type Yuno, type YunoConfig, type YunoInstance, type mountFraudArgs };
|