@clickmax/checkout-react 12.5.15 → 12.5.16

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 +34 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -971,6 +971,8 @@ declare type GetPublicOfferCheckout2xx = {
971
971
  socialProof?: GetPublicOfferCheckout2xxSocialProof;
972
972
  /** @nullable */
973
973
  checkoutPlugins?: GetPublicOfferCheckout2xxCheckoutPlugins;
974
+ /** @nullable */
975
+ combo?: GetPublicOfferCheckout2xxCombo;
974
976
  /**
975
977
  * @maxLength 1000
976
978
  * @nullable
@@ -1026,6 +1028,7 @@ declare type GetPublicOfferCheckout2xxCheckoutPlugins = {
1026
1028
  reviews?: GetPublicOfferCheckout2xxCheckoutPluginsReviews;
1027
1029
  video?: GetPublicOfferCheckout2xxCheckoutPluginsVideo;
1028
1030
  chat?: GetPublicOfferCheckout2xxCheckoutPluginsChat;
1031
+ combo?: GetPublicOfferCheckout2xxCheckoutPluginsCombo;
1029
1032
  } | null;
1030
1033
 
1031
1034
  declare type GetPublicOfferCheckout2xxCheckoutPluginsChat = {
@@ -1033,6 +1036,17 @@ declare type GetPublicOfferCheckout2xxCheckoutPluginsChat = {
1033
1036
  channelId?: string;
1034
1037
  };
1035
1038
 
1039
+ declare type GetPublicOfferCheckout2xxCheckoutPluginsCombo = {
1040
+ enabled: boolean;
1041
+ /**
1042
+ * @minItems 1
1043
+ * @maxItems 5
1044
+ */
1045
+ offerIds: string[];
1046
+ /** @minimum 1 */
1047
+ price: number;
1048
+ };
1049
+
1036
1050
  declare type GetPublicOfferCheckout2xxCheckoutPluginsDiscountPopup = {
1037
1051
  enabled: boolean;
1038
1052
  /**
@@ -1090,6 +1104,24 @@ declare type GetPublicOfferCheckout2xxCheckoutPluginsWhatsapp = {
1090
1104
  message: string;
1091
1105
  };
1092
1106
 
1107
+ /**
1108
+ * @nullable
1109
+ */
1110
+ declare type GetPublicOfferCheckout2xxCombo = {
1111
+ /** @minimum 1 */
1112
+ price: number;
1113
+ items: GetPublicOfferCheckout2xxComboItemsItem[];
1114
+ } | null;
1115
+
1116
+ declare type GetPublicOfferCheckout2xxComboItemsItem = {
1117
+ id: string;
1118
+ /** @maxLength 1000 */
1119
+ name: string;
1120
+ /** @minimum 1 */
1121
+ effectivePrice: number;
1122
+ thumbnail: string;
1123
+ };
1124
+
1093
1125
  declare type GetPublicOfferCheckout2xxConfigs = {
1094
1126
  opt: GetPublicOfferCheckout2xxConfigsOpt;
1095
1127
  oto?: GetPublicOfferCheckout2xxConfigsOto;
@@ -1665,7 +1697,7 @@ declare type GetPublicOfferCheckout2xxMethods = {
1665
1697
  maxCharges?: number | null;
1666
1698
  };
1667
1699
  credit: {
1668
- active: true;
1700
+ active: boolean;
1669
1701
  installments: {
1670
1702
  /**
1671
1703
  * @minimum 1
@@ -1999,6 +2031,7 @@ declare type OfferCheckoutBody = ({
1999
2031
  linkCheckout: string;
2000
2032
  recaptcha: string;
2001
2033
  couponCode?: string;
2034
+ combo?: boolean;
2002
2035
  freightMethod?: TransactionFreightMethod;
2003
2036
  isForeign?: boolean;
2004
2037
  language?: LanguageSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickmax/checkout-react",
3
- "version": "12.5.15",
3
+ "version": "12.5.16",
4
4
  "description": "Headless React components for the Clickmax checkout",
5
5
  "keywords": [
6
6
  "clickmax",