@clickmax/checkout-react 12.5.13 → 12.5.15
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 +58 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1022,8 +1022,66 @@ declare type GetPublicOfferCheckout2xx = {
|
|
|
1022
1022
|
*/
|
|
1023
1023
|
declare type GetPublicOfferCheckout2xxCheckoutPlugins = {
|
|
1024
1024
|
whatsapp?: GetPublicOfferCheckout2xxCheckoutPluginsWhatsapp;
|
|
1025
|
+
discountPopup?: GetPublicOfferCheckout2xxCheckoutPluginsDiscountPopup;
|
|
1026
|
+
reviews?: GetPublicOfferCheckout2xxCheckoutPluginsReviews;
|
|
1027
|
+
video?: GetPublicOfferCheckout2xxCheckoutPluginsVideo;
|
|
1028
|
+
chat?: GetPublicOfferCheckout2xxCheckoutPluginsChat;
|
|
1025
1029
|
} | null;
|
|
1026
1030
|
|
|
1031
|
+
declare type GetPublicOfferCheckout2xxCheckoutPluginsChat = {
|
|
1032
|
+
enabled: boolean;
|
|
1033
|
+
channelId?: string;
|
|
1034
|
+
};
|
|
1035
|
+
|
|
1036
|
+
declare type GetPublicOfferCheckout2xxCheckoutPluginsDiscountPopup = {
|
|
1037
|
+
enabled: boolean;
|
|
1038
|
+
/**
|
|
1039
|
+
* @minLength 1
|
|
1040
|
+
* @maxLength 50
|
|
1041
|
+
*/
|
|
1042
|
+
couponCode: string;
|
|
1043
|
+
/** @maxLength 80 */
|
|
1044
|
+
title: string;
|
|
1045
|
+
/** @maxLength 300 */
|
|
1046
|
+
text: string;
|
|
1047
|
+
};
|
|
1048
|
+
|
|
1049
|
+
declare type GetPublicOfferCheckout2xxCheckoutPluginsReviews = {
|
|
1050
|
+
enabled: boolean;
|
|
1051
|
+
/** @maxItems 10 */
|
|
1052
|
+
items: GetPublicOfferCheckout2xxCheckoutPluginsReviewsItemsItem[];
|
|
1053
|
+
};
|
|
1054
|
+
|
|
1055
|
+
declare type GetPublicOfferCheckout2xxCheckoutPluginsReviewsItemsItem = {
|
|
1056
|
+
/**
|
|
1057
|
+
* @minLength 1
|
|
1058
|
+
* @maxLength 60
|
|
1059
|
+
*/
|
|
1060
|
+
name: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* @maxLength 2048
|
|
1063
|
+
* @nullable
|
|
1064
|
+
* @pattern ^https://
|
|
1065
|
+
*/
|
|
1066
|
+
photo?: string | null;
|
|
1067
|
+
/**
|
|
1068
|
+
* @minimum 1
|
|
1069
|
+
* @maximum 5
|
|
1070
|
+
*/
|
|
1071
|
+
rating: number;
|
|
1072
|
+
/**
|
|
1073
|
+
* @minLength 1
|
|
1074
|
+
* @maxLength 300
|
|
1075
|
+
*/
|
|
1076
|
+
text: string;
|
|
1077
|
+
};
|
|
1078
|
+
|
|
1079
|
+
declare type GetPublicOfferCheckout2xxCheckoutPluginsVideo = {
|
|
1080
|
+
enabled: boolean;
|
|
1081
|
+
/** @pattern ^(https://www\.youtube\.com/watch\?v=[A-Za-z0-9_-]{11}|https://vimeo\.com/[0-9]+(/[A-Za-z0-9]+)?|https://scripts\.converteai\.net/[A-Za-z0-9-]+/players/[A-Za-z0-9]+/v[0-9]+/player\.js)$ */
|
|
1082
|
+
url: string;
|
|
1083
|
+
};
|
|
1084
|
+
|
|
1027
1085
|
declare type GetPublicOfferCheckout2xxCheckoutPluginsWhatsapp = {
|
|
1028
1086
|
enabled: boolean;
|
|
1029
1087
|
/** @pattern ^\+[1-9]\d{7,14}$ */
|