@clickmax/checkout-react 12.5.12 → 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 +75 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -969,6 +969,8 @@ declare type GetPublicOfferCheckout2xx = {
|
|
|
969
969
|
freightConfig?: GetPublicOfferCheckout2xxFreightConfig;
|
|
970
970
|
/** @nullable */
|
|
971
971
|
socialProof?: GetPublicOfferCheckout2xxSocialProof;
|
|
972
|
+
/** @nullable */
|
|
973
|
+
checkoutPlugins?: GetPublicOfferCheckout2xxCheckoutPlugins;
|
|
972
974
|
/**
|
|
973
975
|
* @maxLength 1000
|
|
974
976
|
* @nullable
|
|
@@ -1015,6 +1017,79 @@ declare type GetPublicOfferCheckout2xx = {
|
|
|
1015
1017
|
isOTO: boolean;
|
|
1016
1018
|
};
|
|
1017
1019
|
|
|
1020
|
+
/**
|
|
1021
|
+
* @nullable
|
|
1022
|
+
*/
|
|
1023
|
+
declare type GetPublicOfferCheckout2xxCheckoutPlugins = {
|
|
1024
|
+
whatsapp?: GetPublicOfferCheckout2xxCheckoutPluginsWhatsapp;
|
|
1025
|
+
discountPopup?: GetPublicOfferCheckout2xxCheckoutPluginsDiscountPopup;
|
|
1026
|
+
reviews?: GetPublicOfferCheckout2xxCheckoutPluginsReviews;
|
|
1027
|
+
video?: GetPublicOfferCheckout2xxCheckoutPluginsVideo;
|
|
1028
|
+
chat?: GetPublicOfferCheckout2xxCheckoutPluginsChat;
|
|
1029
|
+
} | null;
|
|
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
|
+
|
|
1085
|
+
declare type GetPublicOfferCheckout2xxCheckoutPluginsWhatsapp = {
|
|
1086
|
+
enabled: boolean;
|
|
1087
|
+
/** @pattern ^\+[1-9]\d{7,14}$ */
|
|
1088
|
+
phone: string;
|
|
1089
|
+
/** @maxLength 500 */
|
|
1090
|
+
message: string;
|
|
1091
|
+
};
|
|
1092
|
+
|
|
1018
1093
|
declare type GetPublicOfferCheckout2xxConfigs = {
|
|
1019
1094
|
opt: GetPublicOfferCheckout2xxConfigsOpt;
|
|
1020
1095
|
oto?: GetPublicOfferCheckout2xxConfigsOto;
|