@clickmax/checkout-react 12.5.9 → 12.5.13

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +35 -4
  2. 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
@@ -989,10 +991,10 @@ declare type GetPublicOfferCheckout2xx = {
989
991
  /** @nullable */
990
992
  externalId?: string | null;
991
993
  gatewayName?: string;
992
- /** @minimum 500 */
994
+ /** @minimum 0 */
993
995
  originalPrice: number;
994
996
  /**
995
- * @minimum 500
997
+ * @minimum 0
996
998
  * @nullable
997
999
  */
998
1000
  newPrice?: number | null;
@@ -1015,6 +1017,21 @@ declare type GetPublicOfferCheckout2xx = {
1015
1017
  isOTO: boolean;
1016
1018
  };
1017
1019
 
1020
+ /**
1021
+ * @nullable
1022
+ */
1023
+ declare type GetPublicOfferCheckout2xxCheckoutPlugins = {
1024
+ whatsapp?: GetPublicOfferCheckout2xxCheckoutPluginsWhatsapp;
1025
+ } | null;
1026
+
1027
+ declare type GetPublicOfferCheckout2xxCheckoutPluginsWhatsapp = {
1028
+ enabled: boolean;
1029
+ /** @pattern ^\+[1-9]\d{7,14}$ */
1030
+ phone: string;
1031
+ /** @maxLength 500 */
1032
+ message: string;
1033
+ };
1034
+
1018
1035
  declare type GetPublicOfferCheckout2xxConfigs = {
1019
1036
  opt: GetPublicOfferCheckout2xxConfigsOpt;
1020
1037
  oto?: GetPublicOfferCheckout2xxConfigsOto;
@@ -1298,6 +1315,12 @@ declare type GetPublicOfferCheckout2xxConfigsOrderBump = {
1298
1315
  showDescription: boolean;
1299
1316
  descriptionOrderBump: string[];
1300
1317
  title?: string;
1318
+ trialTexts?: {
1319
+ [key: string]: {
1320
+ highlight?: string;
1321
+ after?: string;
1322
+ };
1323
+ };
1301
1324
  headerDescription: string;
1302
1325
  backgroundColor: string;
1303
1326
  borderColor: string;
@@ -1326,6 +1349,12 @@ declare type GetPublicOfferCheckout2xxConfigsOrderBump = {
1326
1349
  showDescription: boolean;
1327
1350
  descriptionOrderBump: string[];
1328
1351
  title?: string;
1352
+ trialTexts?: {
1353
+ [key: string]: {
1354
+ highlight?: string;
1355
+ after?: string;
1356
+ };
1357
+ };
1329
1358
  headerDescription?: string;
1330
1359
  backgroundColor: string;
1331
1360
  borderColor: string;
@@ -1636,10 +1665,10 @@ declare type GetPublicOfferCheckout2xxOrderBumpsItem = {
1636
1665
  * @nullable
1637
1666
  */
1638
1667
  description?: string | null;
1639
- /** @minimum 500 */
1668
+ /** @minimum 0 */
1640
1669
  originalPrice: number;
1641
1670
  /**
1642
- * @minimum 500
1671
+ * @minimum 0
1643
1672
  * @nullable
1644
1673
  */
1645
1674
  newPrice?: number | null;
@@ -1648,6 +1677,8 @@ declare type GetPublicOfferCheckout2xxOrderBumpsItem = {
1648
1677
  isRecurrent: boolean;
1649
1678
  /** @nullable */
1650
1679
  recurrenceFrequency?: string | null;
1680
+ /** @minimum 0 */
1681
+ gracePeriod: number;
1651
1682
  /**
1652
1683
  * @minimum 1
1653
1684
  * @maximum 12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickmax/checkout-react",
3
- "version": "12.5.9",
3
+ "version": "12.5.13",
4
4
  "description": "Headless React components for the Clickmax checkout",
5
5
  "keywords": [
6
6
  "clickmax",