@storepecker/storefront-core 2.9.0 → 2.10.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.
Files changed (89) hide show
  1. package/dist/address-BdIB6IuI.d.cts +42 -0
  2. package/dist/address-BdIB6IuI.d.ts +42 -0
  3. package/dist/api/index.cjs +38 -30
  4. package/dist/api/index.d.cts +27 -9
  5. package/dist/api/index.d.ts +27 -9
  6. package/dist/api/index.js +3 -3
  7. package/dist/{buy-now-B1dkx82V.d.cts → buy-now-B_15RUVT.d.cts} +2 -2
  8. package/dist/{buy-now-BgKd5p4J.d.ts → buy-now-kII0KrhP.d.ts} +2 -2
  9. package/dist/{cart-BGIsIZdM.d.ts → cart-DZq1ZEnE.d.ts} +1 -1
  10. package/dist/{cart-CyN2JQTw.d.cts → cart-DwMFBmpC.d.cts} +1 -1
  11. package/dist/checkout/index.cjs +115 -22
  12. package/dist/checkout/index.d.cts +28 -4
  13. package/dist/checkout/index.d.ts +28 -4
  14. package/dist/checkout/index.js +4 -3
  15. package/dist/{chunk-IG4BW3ZB.cjs → chunk-32X4SWN4.cjs} +3 -3
  16. package/dist/{chunk-RDUT4W3B.cjs → chunk-6APRQ2ED.cjs} +4 -1
  17. package/dist/{chunk-ICKTXS6B.js → chunk-6IXTFZFS.js} +3 -3
  18. package/dist/{chunk-7M5CVYZJ.js → chunk-A7EI7XLU.js} +8 -1
  19. package/dist/{chunk-CBKJ3Y2I.js → chunk-EWZ7TGI7.js} +11 -1
  20. package/dist/{chunk-5XVHYPOC.js → chunk-FF5N7PTB.js} +1 -1
  21. package/dist/{chunk-XFOUNOKO.cjs → chunk-KNG4OMS5.cjs} +8 -0
  22. package/dist/{chunk-CIBMO44U.cjs → chunk-NOT6VKXA.cjs} +18 -15
  23. package/dist/{chunk-ETXIP5XE.cjs → chunk-NRPK5GCJ.cjs} +8 -0
  24. package/dist/{chunk-K44JZ5NL.cjs → chunk-NSAHGMS7.cjs} +6 -1
  25. package/dist/chunk-QED6QJZC.cjs +603 -0
  26. package/dist/{chunk-SU5LVRZD.js → chunk-QQHQTBAM.js} +12 -9
  27. package/dist/{chunk-W6BDMNSU.js → chunk-QVO56X4E.js} +1 -1
  28. package/dist/{chunk-6LS5F4R3.cjs → chunk-SGJUMI3M.cjs} +11 -0
  29. package/dist/{chunk-YLLAP3H2.cjs → chunk-SGKLMS7W.cjs} +2 -2
  30. package/dist/{chunk-WFDKKOO7.js → chunk-VAU5OL72.js} +6 -1
  31. package/dist/{chunk-ZGMLOLTC.js → chunk-VRZRV2BR.js} +4 -1
  32. package/dist/{chunk-IVKJJLG7.cjs → chunk-WWJAPKRQ.cjs} +8 -8
  33. package/dist/chunk-Y4RNRPBC.js +545 -0
  34. package/dist/{chunk-YMZZCVZ2.js → chunk-ZAWZ3RB6.js} +8 -1
  35. package/dist/{collections-ycrA2cPL.d.ts → collections-CNh2OGbl.d.ts} +1 -1
  36. package/dist/{collections-8YdINtUf.d.cts → collections-CXgOv5_G.d.cts} +1 -1
  37. package/dist/components/address-form.cjs +6 -6
  38. package/dist/components/address-form.d.cts +10 -6
  39. package/dist/components/address-form.d.ts +10 -6
  40. package/dist/components/address-form.js +5 -5
  41. package/dist/components/digital-product-download-modal.d.cts +2 -2
  42. package/dist/components/digital-product-download-modal.d.ts +2 -2
  43. package/dist/components/index.cjs +8 -8
  44. package/dist/components/index.d.cts +7 -7
  45. package/dist/components/index.d.ts +7 -7
  46. package/dist/components/index.js +6 -6
  47. package/dist/components/search-dropdown.d.cts +4 -4
  48. package/dist/components/search-dropdown.d.ts +4 -4
  49. package/dist/components/share-button.cjs +3 -3
  50. package/dist/components/share-button.d.cts +1 -1
  51. package/dist/components/share-button.d.ts +1 -1
  52. package/dist/components/share-button.js +2 -2
  53. package/dist/components/theme-data-initializer.d.cts +5 -5
  54. package/dist/components/theme-data-initializer.d.ts +5 -5
  55. package/dist/hooks/index.cjs +685 -34
  56. package/dist/hooks/index.d.cts +238 -13
  57. package/dist/hooks/index.d.ts +238 -13
  58. package/dist/hooks/index.js +655 -12
  59. package/dist/{instagram-CqJBZ-0X.d.ts → instagram-BADLnNQ3.d.ts} +1 -1
  60. package/dist/{instagram-D4JUT4ZU.d.cts → instagram-DalreBu6.d.cts} +1 -1
  61. package/dist/models/index.d.cts +9 -8
  62. package/dist/models/index.d.ts +9 -8
  63. package/dist/{orders-COKWr7K7.d.cts → orders-B3G4CyhH.d.cts} +1 -1
  64. package/dist/{orders-Cp8qNCrl.d.ts → orders-Bl-Slh72.d.ts} +1 -1
  65. package/dist/pincode-8u7yWLpQ.d.cts +29 -0
  66. package/dist/pincode-8u7yWLpQ.d.ts +29 -0
  67. package/dist/pincode-CHM-ZD3H.d.ts +179 -0
  68. package/dist/pincode-Ch3bZSJz.d.cts +179 -0
  69. package/dist/{pixelEvents-BJNH06rS.d.cts → pixelEvents-COqZIgTu.d.cts} +5 -4
  70. package/dist/{pixelEvents-2Tb-_fRP.d.ts → pixelEvents-Ds6fwS9t.d.ts} +5 -4
  71. package/dist/{product-CZtFWhxO.d.ts → product-D9liEtl4.d.cts} +1 -0
  72. package/dist/{product-CZtFWhxO.d.cts → product-D9liEtl4.d.ts} +1 -0
  73. package/dist/store/index.cjs +7 -7
  74. package/dist/store/index.d.cts +6 -6
  75. package/dist/store/index.d.ts +6 -6
  76. package/dist/store/index.js +2 -2
  77. package/dist/{useAddressForm-DGbEn91-.d.cts → useAddressForm-fMOb5Z-a.d.ts} +6 -1
  78. package/dist/{useAddressForm-cO3Au33k.d.ts → useAddressForm-wleIo78M.d.cts} +6 -1
  79. package/dist/utils/index.cjs +60 -56
  80. package/dist/utils/index.d.cts +17 -8
  81. package/dist/utils/index.d.ts +17 -8
  82. package/dist/utils/index.js +4 -4
  83. package/dist/{wishlist-Cx9Vrszq.d.cts → wishlist-BakHvIFN.d.cts} +1 -1
  84. package/dist/{wishlist-CRNbfFIx.d.ts → wishlist-Cj0sQxiY.d.ts} +1 -1
  85. package/package.json +1 -1
  86. package/dist/address-DwBZHzbI.d.cts +0 -19
  87. package/dist/address-DwBZHzbI.d.ts +0 -19
  88. package/dist/chunk-TFWTQTWE.cjs +0 -246
  89. package/dist/chunk-UWW5YIHL.js +0 -232
@@ -0,0 +1,42 @@
1
+ interface Address {
2
+ id: number;
3
+ customer: number;
4
+ address: string;
5
+ city: string;
6
+ state: string;
7
+ state_obj: string;
8
+ customer_email: string;
9
+ country: string;
10
+ pincode: string;
11
+ latitude: number | null;
12
+ longitude: number | null;
13
+ is_default: boolean;
14
+ customer_name: string;
15
+ customer_phone: string;
16
+ customer_country_code: string;
17
+ /** Country id as sent on save; present on addresses from the country-aware form. */
18
+ country_obj?: string | number | null;
19
+ }
20
+ /**
21
+ * What the country-aware address form sends to `/store/customer_address/` and
22
+ * hands to the guest checkouts. The second address line is folded into
23
+ * `address`, not sent on its own.
24
+ */
25
+ interface AddressPayload {
26
+ customer_name: string;
27
+ customer_email: string;
28
+ customer_phone: string;
29
+ /** Dial code with the plus, e.g. "+91". */
30
+ customer_country_code: string;
31
+ address: string;
32
+ city: string;
33
+ state_obj: string;
34
+ state: string;
35
+ country_obj: number;
36
+ country: string;
37
+ /** "N/A" for countries with no postal code. */
38
+ pincode: string;
39
+ is_default: boolean;
40
+ }
41
+
42
+ export type { Address as A, AddressPayload as a };
@@ -0,0 +1,42 @@
1
+ interface Address {
2
+ id: number;
3
+ customer: number;
4
+ address: string;
5
+ city: string;
6
+ state: string;
7
+ state_obj: string;
8
+ customer_email: string;
9
+ country: string;
10
+ pincode: string;
11
+ latitude: number | null;
12
+ longitude: number | null;
13
+ is_default: boolean;
14
+ customer_name: string;
15
+ customer_phone: string;
16
+ customer_country_code: string;
17
+ /** Country id as sent on save; present on addresses from the country-aware form. */
18
+ country_obj?: string | number | null;
19
+ }
20
+ /**
21
+ * What the country-aware address form sends to `/store/customer_address/` and
22
+ * hands to the guest checkouts. The second address line is folded into
23
+ * `address`, not sent on its own.
24
+ */
25
+ interface AddressPayload {
26
+ customer_name: string;
27
+ customer_email: string;
28
+ customer_phone: string;
29
+ /** Dial code with the plus, e.g. "+91". */
30
+ customer_country_code: string;
31
+ address: string;
32
+ city: string;
33
+ state_obj: string;
34
+ state: string;
35
+ country_obj: number;
36
+ country: string;
37
+ /** "N/A" for countries with no postal code. */
38
+ pincode: string;
39
+ is_default: boolean;
40
+ }
41
+
42
+ export type { Address as A, AddressPayload as a };
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkY46EHRJQ_cjs = require('../chunk-Y46EHRJQ.cjs');
4
- var chunkETXIP5XE_cjs = require('../chunk-ETXIP5XE.cjs');
4
+ var chunkNRPK5GCJ_cjs = require('../chunk-NRPK5GCJ.cjs');
5
5
  require('../chunk-NQZ5GUOG.cjs');
6
- var chunkXFOUNOKO_cjs = require('../chunk-XFOUNOKO.cjs');
6
+ var chunkKNG4OMS5_cjs = require('../chunk-KNG4OMS5.cjs');
7
7
  var chunkH6FJYRO3_cjs = require('../chunk-H6FJYRO3.cjs');
8
- var chunkRDUT4W3B_cjs = require('../chunk-RDUT4W3B.cjs');
8
+ var chunk6APRQ2ED_cjs = require('../chunk-6APRQ2ED.cjs');
9
9
  var chunkECHV2JSY_cjs = require('../chunk-ECHV2JSY.cjs');
10
10
  require('../chunk-BBRXE57K.cjs');
11
11
  require('../chunk-NE3ZHELZ.cjs');
@@ -173,87 +173,95 @@ Object.defineProperty(exports, "updateUserDetails", {
173
173
  });
174
174
  Object.defineProperty(exports, "addToCart", {
175
175
  enumerable: true,
176
- get: function () { return chunkETXIP5XE_cjs.addToCart; }
176
+ get: function () { return chunkNRPK5GCJ_cjs.addToCart; }
177
177
  });
178
178
  Object.defineProperty(exports, "addWishlist", {
179
179
  enumerable: true,
180
- get: function () { return chunkETXIP5XE_cjs.addWishlist; }
180
+ get: function () { return chunkNRPK5GCJ_cjs.addWishlist; }
181
181
  });
182
182
  Object.defineProperty(exports, "getCart", {
183
183
  enumerable: true,
184
- get: function () { return chunkETXIP5XE_cjs.getCart; }
184
+ get: function () { return chunkNRPK5GCJ_cjs.getCart; }
185
185
  });
186
186
  Object.defineProperty(exports, "getCartItemQuantity", {
187
187
  enumerable: true,
188
- get: function () { return chunkETXIP5XE_cjs.getCartItemQuantity; }
188
+ get: function () { return chunkNRPK5GCJ_cjs.getCartItemQuantity; }
189
189
  });
190
190
  Object.defineProperty(exports, "getCategories", {
191
191
  enumerable: true,
192
- get: function () { return chunkETXIP5XE_cjs.getCategories; }
192
+ get: function () { return chunkNRPK5GCJ_cjs.getCategories; }
193
193
  });
194
194
  Object.defineProperty(exports, "getDigitalProductDownloadLink", {
195
195
  enumerable: true,
196
- get: function () { return chunkETXIP5XE_cjs.getDigitalProductDownloadLink; }
196
+ get: function () { return chunkNRPK5GCJ_cjs.getDigitalProductDownloadLink; }
197
197
  });
198
198
  Object.defineProperty(exports, "getProductCategories", {
199
199
  enumerable: true,
200
- get: function () { return chunkETXIP5XE_cjs.getProductCategories; }
200
+ get: function () { return chunkNRPK5GCJ_cjs.getProductCategories; }
201
201
  });
202
202
  Object.defineProperty(exports, "getProductDetail", {
203
203
  enumerable: true,
204
- get: function () { return chunkETXIP5XE_cjs.getProductDetail; }
204
+ get: function () { return chunkNRPK5GCJ_cjs.getProductDetail; }
205
205
  });
206
206
  Object.defineProperty(exports, "getProductDetailBySlug", {
207
207
  enumerable: true,
208
- get: function () { return chunkETXIP5XE_cjs.getProductDetailBySlug; }
208
+ get: function () { return chunkNRPK5GCJ_cjs.getProductDetailBySlug; }
209
209
  });
210
210
  Object.defineProperty(exports, "getProductList", {
211
211
  enumerable: true,
212
- get: function () { return chunkETXIP5XE_cjs.getProductList; }
212
+ get: function () { return chunkNRPK5GCJ_cjs.getProductList; }
213
213
  });
214
214
  Object.defineProperty(exports, "getProducts", {
215
215
  enumerable: true,
216
- get: function () { return chunkETXIP5XE_cjs.getProducts; }
216
+ get: function () { return chunkNRPK5GCJ_cjs.getProducts; }
217
217
  });
218
218
  Object.defineProperty(exports, "getWishlist", {
219
219
  enumerable: true,
220
- get: function () { return chunkETXIP5XE_cjs.getWishlist; }
220
+ get: function () { return chunkNRPK5GCJ_cjs.getWishlist; }
221
+ });
222
+ Object.defineProperty(exports, "mergeCart", {
223
+ enumerable: true,
224
+ get: function () { return chunkNRPK5GCJ_cjs.mergeCart; }
221
225
  });
222
226
  Object.defineProperty(exports, "notifyProductStock", {
223
227
  enumerable: true,
224
- get: function () { return chunkETXIP5XE_cjs.notifyProductStock; }
228
+ get: function () { return chunkNRPK5GCJ_cjs.notifyProductStock; }
225
229
  });
226
230
  Object.defineProperty(exports, "removeFromCart", {
227
231
  enumerable: true,
228
- get: function () { return chunkETXIP5XE_cjs.removeFromCart; }
232
+ get: function () { return chunkNRPK5GCJ_cjs.removeFromCart; }
229
233
  });
230
234
  Object.defineProperty(exports, "removeFromWishlist", {
231
235
  enumerable: true,
232
- get: function () { return chunkETXIP5XE_cjs.removeFromWishlist; }
236
+ get: function () { return chunkNRPK5GCJ_cjs.removeFromWishlist; }
233
237
  });
234
238
  Object.defineProperty(exports, "updateCart", {
235
239
  enumerable: true,
236
- get: function () { return chunkETXIP5XE_cjs.updateCart; }
240
+ get: function () { return chunkNRPK5GCJ_cjs.updateCart; }
237
241
  });
238
242
  Object.defineProperty(exports, "updateDigitalProductDownloadLinkCount", {
239
243
  enumerable: true,
240
- get: function () { return chunkETXIP5XE_cjs.updateDigitalProductDownloadLinkCount; }
244
+ get: function () { return chunkNRPK5GCJ_cjs.updateDigitalProductDownloadLinkCount; }
241
245
  });
242
246
  Object.defineProperty(exports, "applyCoupon", {
243
247
  enumerable: true,
244
- get: function () { return chunkXFOUNOKO_cjs.applyCoupon; }
248
+ get: function () { return chunkKNG4OMS5_cjs.applyCoupon; }
245
249
  });
246
250
  Object.defineProperty(exports, "getAppliedCoupon", {
247
251
  enumerable: true,
248
- get: function () { return chunkXFOUNOKO_cjs.getAppliedCoupon; }
252
+ get: function () { return chunkKNG4OMS5_cjs.getAppliedCoupon; }
249
253
  });
250
254
  Object.defineProperty(exports, "getCoupons", {
251
255
  enumerable: true,
252
- get: function () { return chunkXFOUNOKO_cjs.getCoupons; }
256
+ get: function () { return chunkKNG4OMS5_cjs.getCoupons; }
257
+ });
258
+ Object.defineProperty(exports, "getPincodeDetails", {
259
+ enumerable: true,
260
+ get: function () { return chunkKNG4OMS5_cjs.getPincodeDetails; }
253
261
  });
254
262
  Object.defineProperty(exports, "removeCoupon", {
255
263
  enumerable: true,
256
- get: function () { return chunkXFOUNOKO_cjs.removeCoupon; }
264
+ get: function () { return chunkKNG4OMS5_cjs.removeCoupon; }
257
265
  });
258
266
  Object.defineProperty(exports, "buyNowPreview", {
259
267
  enumerable: true,
@@ -405,27 +413,27 @@ Object.defineProperty(exports, "verifyTabbyPayment", {
405
413
  });
406
414
  Object.defineProperty(exports, "addAddress", {
407
415
  enumerable: true,
408
- get: function () { return chunkRDUT4W3B_cjs.addAddress; }
416
+ get: function () { return chunk6APRQ2ED_cjs.addAddress; }
409
417
  });
410
418
  Object.defineProperty(exports, "deleteAddress", {
411
419
  enumerable: true,
412
- get: function () { return chunkRDUT4W3B_cjs.deleteAddress; }
420
+ get: function () { return chunk6APRQ2ED_cjs.deleteAddress; }
413
421
  });
414
422
  Object.defineProperty(exports, "getAddresses", {
415
423
  enumerable: true,
416
- get: function () { return chunkRDUT4W3B_cjs.getAddresses; }
424
+ get: function () { return chunk6APRQ2ED_cjs.getAddresses; }
417
425
  });
418
426
  Object.defineProperty(exports, "getCountries", {
419
427
  enumerable: true,
420
- get: function () { return chunkRDUT4W3B_cjs.getCountries; }
428
+ get: function () { return chunk6APRQ2ED_cjs.getCountries; }
421
429
  });
422
430
  Object.defineProperty(exports, "getSubdivisions", {
423
431
  enumerable: true,
424
- get: function () { return chunkRDUT4W3B_cjs.getSubdivisions; }
432
+ get: function () { return chunk6APRQ2ED_cjs.getSubdivisions; }
425
433
  });
426
434
  Object.defineProperty(exports, "updateAddress", {
427
435
  enumerable: true,
428
- get: function () { return chunkRDUT4W3B_cjs.updateAddress; }
436
+ get: function () { return chunk6APRQ2ED_cjs.updateAddress; }
429
437
  });
430
438
  Object.defineProperty(exports, "getHttpService", {
431
439
  enumerable: true,
@@ -1,13 +1,14 @@
1
1
  import * as axios from 'axios';
2
2
  import { AxiosInstance, AxiosResponse } from 'axios';
3
- import { A as Address } from '../address-DwBZHzbI.cjs';
4
- import { U as User, C as Cart, d as CouponResponse, c as Coupon, b as Category } from '../cart-CyN2JQTw.cjs';
5
- import { d as Product, f as ProductDetail } from '../product-CZtFWhxO.cjs';
6
- import { O as Order } from '../orders-COKWr7K7.cjs';
7
- import { B as BuyNow, P as PublicCheckout } from '../buy-now-B1dkx82V.cjs';
8
- import { W as Wishlist } from '../wishlist-Cx9Vrszq.cjs';
9
- import { C as CollectionResponse } from '../collections-8YdINtUf.cjs';
10
- import { R as Review, A as Analytics, a as Booking, B as Blog, I as Instagram } from '../instagram-D4JUT4ZU.cjs';
3
+ import { A as Address } from '../address-BdIB6IuI.cjs';
4
+ import { U as User, C as Cart, d as CouponResponse, c as Coupon, b as Category } from '../cart-DwMFBmpC.cjs';
5
+ import { d as Product, f as ProductDetail } from '../product-D9liEtl4.cjs';
6
+ import { O as Order } from '../orders-B3G4CyhH.cjs';
7
+ import { B as BuyNow, P as PublicCheckout } from '../buy-now-B_15RUVT.cjs';
8
+ import { W as Wishlist } from '../wishlist-BakHvIFN.cjs';
9
+ import { C as CollectionResponse } from '../collections-CXgOv5_G.cjs';
10
+ import { R as Review, A as Analytics, a as Booking, B as Blog, I as Instagram } from '../instagram-DalreBu6.cjs';
11
+ import { P as Pincode } from '../pincode-8u7yWLpQ.cjs';
11
12
  import 'react-toastify';
12
13
 
13
14
  /**
@@ -55,6 +56,14 @@ declare function addToCart(product: Array<{
55
56
  customer_input: string;
56
57
  product_variant: number;
57
58
  }>): Promise<AxiosResponse<Cart.Root>>;
59
+ declare function mergeCart(product: Array<{
60
+ variant_id: number;
61
+ quantity: number;
62
+ }>, customizationInputs?: Array<{
63
+ customization_option: number;
64
+ customer_input: string;
65
+ product_variant: number;
66
+ }>): Promise<AxiosResponse<Cart.Root>>;
58
67
  declare function removeFromCart(product: Array<{
59
68
  variant_id: number;
60
69
  quantity: number;
@@ -289,4 +298,13 @@ declare function getMultipleBlogsBySlugs(slugs: string): Promise<AxiosResponse<{
289
298
  */
290
299
  declare function getInstagramMedia(ids: string | (string | number)[]): Promise<AxiosResponse<Instagram.MediaRefreshResponse>>;
291
300
 
292
- export { type BookingFilter, type OTPCredentials, type VerifyOTPCredentials, addAddress, addReview, addToCart, addWishlist, applyCoupon, buyNowPreview, checkPhonepePaymentStatus, checkPhonepePaymentStatusPublic, createBooking, deleteAddress, getAddresses, getAffiliateRedirect, getAppliedCoupon, getBlogPostBySlug, getBlogPostsList, getCart, getCartItemQuantity, getCategories, getCollection, getCountries, getCoupons, getDigitalProductDownloadLink, getFilters, getHttpService, getInstagramMedia, getLoginMethod, getMultipleBlogsBySlugs, getMultipleCollections, getNewToken, getOrderDetails, getOrderDetailsByNumber, getOrderDetailsByRef, getOrderDetailsByRefV2, getOrders, getProductCategories, getProductDetail, getProductDetailBySlug, getProductList, getProducts, getPublicOrderDetailsByNumber, getPublicOrderDetailsByRef, getReviewSummary, getReviews, getServerHttpService, getStripePaymentStatus, getStripePaymentStatusPublic, getSubdivisions, getUserBookings, getUserDetails, getWishlist, httpService, makeCODOrder, notifyProductStock, phonepeOrderSuccess, phonepePaymentFailure, phonepePublicOrderSuccess, placeBuyNowOrder, placeGuestBuyNowOrder, placeOrder, placePublicOrder, postAnalytics, publicCheckoutPreview, publicMakeCODOrder, publicPhonepeOrderFailure, publicPlaceOrder, publicRazorpayOrderFailure, publicStripeOrderFailure, razorpayOrderFail, razorpayOrderSuccess, razorpayPublicOrderSuccess, removeCoupon, removeFromCart, removeFromWishlist, resetHttpService, sendOTP, serverHttpService, setSessionExpiredCallback, stripeOrderFail, stripeOrderSuccess, stripePublicOrderSuccess, tabbyPaymentFailure, updateAddress, updateCart, updateDigitalProductDownloadLinkCount, updateOrder, updateOrderCustomization, updateUserDetails, uploadCustomizationImage, uploadReviewImages, verifyOTP, verifyTabbyPayment };
301
+ /**
302
+ * Look a pincode up against the backend's postal-code database.
303
+ *
304
+ * @param pincode The postal code to look up.
305
+ * @param country ISO2 of the selected country. Optional: the backend falls
306
+ * back to the store's country.
307
+ */
308
+ declare const getPincodeDetails: (pincode: string, country?: string) => Promise<AxiosResponse<Pincode.LookupResponse>>;
309
+
310
+ export { type BookingFilter, type OTPCredentials, type VerifyOTPCredentials, addAddress, addReview, addToCart, addWishlist, applyCoupon, buyNowPreview, checkPhonepePaymentStatus, checkPhonepePaymentStatusPublic, createBooking, deleteAddress, getAddresses, getAffiliateRedirect, getAppliedCoupon, getBlogPostBySlug, getBlogPostsList, getCart, getCartItemQuantity, getCategories, getCollection, getCountries, getCoupons, getDigitalProductDownloadLink, getFilters, getHttpService, getInstagramMedia, getLoginMethod, getMultipleBlogsBySlugs, getMultipleCollections, getNewToken, getOrderDetails, getOrderDetailsByNumber, getOrderDetailsByRef, getOrderDetailsByRefV2, getOrders, getPincodeDetails, getProductCategories, getProductDetail, getProductDetailBySlug, getProductList, getProducts, getPublicOrderDetailsByNumber, getPublicOrderDetailsByRef, getReviewSummary, getReviews, getServerHttpService, getStripePaymentStatus, getStripePaymentStatusPublic, getSubdivisions, getUserBookings, getUserDetails, getWishlist, httpService, makeCODOrder, mergeCart, notifyProductStock, phonepeOrderSuccess, phonepePaymentFailure, phonepePublicOrderSuccess, placeBuyNowOrder, placeGuestBuyNowOrder, placeOrder, placePublicOrder, postAnalytics, publicCheckoutPreview, publicMakeCODOrder, publicPhonepeOrderFailure, publicPlaceOrder, publicRazorpayOrderFailure, publicStripeOrderFailure, razorpayOrderFail, razorpayOrderSuccess, razorpayPublicOrderSuccess, removeCoupon, removeFromCart, removeFromWishlist, resetHttpService, sendOTP, serverHttpService, setSessionExpiredCallback, stripeOrderFail, stripeOrderSuccess, stripePublicOrderSuccess, tabbyPaymentFailure, updateAddress, updateCart, updateDigitalProductDownloadLinkCount, updateOrder, updateOrderCustomization, updateUserDetails, uploadCustomizationImage, uploadReviewImages, verifyOTP, verifyTabbyPayment };
@@ -1,13 +1,14 @@
1
1
  import * as axios from 'axios';
2
2
  import { AxiosInstance, AxiosResponse } from 'axios';
3
- import { A as Address } from '../address-DwBZHzbI.js';
4
- import { U as User, C as Cart, d as CouponResponse, c as Coupon, b as Category } from '../cart-BGIsIZdM.js';
5
- import { d as Product, f as ProductDetail } from '../product-CZtFWhxO.js';
6
- import { O as Order } from '../orders-Cp8qNCrl.js';
7
- import { B as BuyNow, P as PublicCheckout } from '../buy-now-BgKd5p4J.js';
8
- import { W as Wishlist } from '../wishlist-CRNbfFIx.js';
9
- import { C as CollectionResponse } from '../collections-ycrA2cPL.js';
10
- import { R as Review, A as Analytics, a as Booking, B as Blog, I as Instagram } from '../instagram-CqJBZ-0X.js';
3
+ import { A as Address } from '../address-BdIB6IuI.js';
4
+ import { U as User, C as Cart, d as CouponResponse, c as Coupon, b as Category } from '../cart-DZq1ZEnE.js';
5
+ import { d as Product, f as ProductDetail } from '../product-D9liEtl4.js';
6
+ import { O as Order } from '../orders-Bl-Slh72.js';
7
+ import { B as BuyNow, P as PublicCheckout } from '../buy-now-kII0KrhP.js';
8
+ import { W as Wishlist } from '../wishlist-Cj0sQxiY.js';
9
+ import { C as CollectionResponse } from '../collections-CNh2OGbl.js';
10
+ import { R as Review, A as Analytics, a as Booking, B as Blog, I as Instagram } from '../instagram-BADLnNQ3.js';
11
+ import { P as Pincode } from '../pincode-8u7yWLpQ.js';
11
12
  import 'react-toastify';
12
13
 
13
14
  /**
@@ -55,6 +56,14 @@ declare function addToCart(product: Array<{
55
56
  customer_input: string;
56
57
  product_variant: number;
57
58
  }>): Promise<AxiosResponse<Cart.Root>>;
59
+ declare function mergeCart(product: Array<{
60
+ variant_id: number;
61
+ quantity: number;
62
+ }>, customizationInputs?: Array<{
63
+ customization_option: number;
64
+ customer_input: string;
65
+ product_variant: number;
66
+ }>): Promise<AxiosResponse<Cart.Root>>;
58
67
  declare function removeFromCart(product: Array<{
59
68
  variant_id: number;
60
69
  quantity: number;
@@ -289,4 +298,13 @@ declare function getMultipleBlogsBySlugs(slugs: string): Promise<AxiosResponse<{
289
298
  */
290
299
  declare function getInstagramMedia(ids: string | (string | number)[]): Promise<AxiosResponse<Instagram.MediaRefreshResponse>>;
291
300
 
292
- export { type BookingFilter, type OTPCredentials, type VerifyOTPCredentials, addAddress, addReview, addToCart, addWishlist, applyCoupon, buyNowPreview, checkPhonepePaymentStatus, checkPhonepePaymentStatusPublic, createBooking, deleteAddress, getAddresses, getAffiliateRedirect, getAppliedCoupon, getBlogPostBySlug, getBlogPostsList, getCart, getCartItemQuantity, getCategories, getCollection, getCountries, getCoupons, getDigitalProductDownloadLink, getFilters, getHttpService, getInstagramMedia, getLoginMethod, getMultipleBlogsBySlugs, getMultipleCollections, getNewToken, getOrderDetails, getOrderDetailsByNumber, getOrderDetailsByRef, getOrderDetailsByRefV2, getOrders, getProductCategories, getProductDetail, getProductDetailBySlug, getProductList, getProducts, getPublicOrderDetailsByNumber, getPublicOrderDetailsByRef, getReviewSummary, getReviews, getServerHttpService, getStripePaymentStatus, getStripePaymentStatusPublic, getSubdivisions, getUserBookings, getUserDetails, getWishlist, httpService, makeCODOrder, notifyProductStock, phonepeOrderSuccess, phonepePaymentFailure, phonepePublicOrderSuccess, placeBuyNowOrder, placeGuestBuyNowOrder, placeOrder, placePublicOrder, postAnalytics, publicCheckoutPreview, publicMakeCODOrder, publicPhonepeOrderFailure, publicPlaceOrder, publicRazorpayOrderFailure, publicStripeOrderFailure, razorpayOrderFail, razorpayOrderSuccess, razorpayPublicOrderSuccess, removeCoupon, removeFromCart, removeFromWishlist, resetHttpService, sendOTP, serverHttpService, setSessionExpiredCallback, stripeOrderFail, stripeOrderSuccess, stripePublicOrderSuccess, tabbyPaymentFailure, updateAddress, updateCart, updateDigitalProductDownloadLinkCount, updateOrder, updateOrderCustomization, updateUserDetails, uploadCustomizationImage, uploadReviewImages, verifyOTP, verifyTabbyPayment };
301
+ /**
302
+ * Look a pincode up against the backend's postal-code database.
303
+ *
304
+ * @param pincode The postal code to look up.
305
+ * @param country ISO2 of the selected country. Optional: the backend falls
306
+ * back to the store's country.
307
+ */
308
+ declare const getPincodeDetails: (pincode: string, country?: string) => Promise<AxiosResponse<Pincode.LookupResponse>>;
309
+
310
+ export { type BookingFilter, type OTPCredentials, type VerifyOTPCredentials, addAddress, addReview, addToCart, addWishlist, applyCoupon, buyNowPreview, checkPhonepePaymentStatus, checkPhonepePaymentStatusPublic, createBooking, deleteAddress, getAddresses, getAffiliateRedirect, getAppliedCoupon, getBlogPostBySlug, getBlogPostsList, getCart, getCartItemQuantity, getCategories, getCollection, getCountries, getCoupons, getDigitalProductDownloadLink, getFilters, getHttpService, getInstagramMedia, getLoginMethod, getMultipleBlogsBySlugs, getMultipleCollections, getNewToken, getOrderDetails, getOrderDetailsByNumber, getOrderDetailsByRef, getOrderDetailsByRefV2, getOrders, getPincodeDetails, getProductCategories, getProductDetail, getProductDetailBySlug, getProductList, getProducts, getPublicOrderDetailsByNumber, getPublicOrderDetailsByRef, getReviewSummary, getReviews, getServerHttpService, getStripePaymentStatus, getStripePaymentStatusPublic, getSubdivisions, getUserBookings, getUserDetails, getWishlist, httpService, makeCODOrder, mergeCart, notifyProductStock, phonepeOrderSuccess, phonepePaymentFailure, phonepePublicOrderSuccess, placeBuyNowOrder, placeGuestBuyNowOrder, placeOrder, placePublicOrder, postAnalytics, publicCheckoutPreview, publicMakeCODOrder, publicPhonepeOrderFailure, publicPlaceOrder, publicRazorpayOrderFailure, publicStripeOrderFailure, razorpayOrderFail, razorpayOrderSuccess, razorpayPublicOrderSuccess, removeCoupon, removeFromCart, removeFromWishlist, resetHttpService, sendOTP, serverHttpService, setSessionExpiredCallback, stripeOrderFail, stripeOrderSuccess, stripePublicOrderSuccess, tabbyPaymentFailure, updateAddress, updateCart, updateDigitalProductDownloadLinkCount, updateOrder, updateOrderCustomization, updateUserDetails, uploadCustomizationImage, uploadReviewImages, verifyOTP, verifyTabbyPayment };
package/dist/api/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  export { getUserDetails, updateUserDetails } from '../chunk-WYXT5AAG.js';
2
- export { addToCart, addWishlist, getCart, getCartItemQuantity, getCategories, getDigitalProductDownloadLink, getProductCategories, getProductDetail, getProductDetailBySlug, getProductList, getProducts, getWishlist, notifyProductStock, removeFromCart, removeFromWishlist, updateCart, updateDigitalProductDownloadLinkCount } from '../chunk-YMZZCVZ2.js';
2
+ export { addToCart, addWishlist, getCart, getCartItemQuantity, getCategories, getDigitalProductDownloadLink, getProductCategories, getProductDetail, getProductDetailBySlug, getProductList, getProducts, getWishlist, mergeCart, notifyProductStock, removeFromCart, removeFromWishlist, updateCart, updateDigitalProductDownloadLinkCount } from '../chunk-ZAWZ3RB6.js';
3
3
  import '../chunk-TH7OAMGC.js';
4
- export { applyCoupon, getAppliedCoupon, getCoupons, removeCoupon } from '../chunk-7M5CVYZJ.js';
4
+ export { applyCoupon, getAppliedCoupon, getCoupons, getPincodeDetails, removeCoupon } from '../chunk-A7EI7XLU.js';
5
5
  export { buyNowPreview, checkPhonepePaymentStatus, checkPhonepePaymentStatusPublic, getOrderDetails, getOrderDetailsByNumber, getOrderDetailsByRef, getOrderDetailsByRefV2, getOrders, getPublicOrderDetailsByNumber, getPublicOrderDetailsByRef, getStripePaymentStatus, getStripePaymentStatusPublic, makeCODOrder, phonepeOrderSuccess, phonepePaymentFailure, phonepePublicOrderSuccess, placeBuyNowOrder, placeGuestBuyNowOrder, placeOrder, placePublicOrder, publicCheckoutPreview, publicMakeCODOrder, publicPhonepeOrderFailure, publicPlaceOrder, publicRazorpayOrderFailure, publicStripeOrderFailure, razorpayOrderFail, razorpayOrderSuccess, razorpayPublicOrderSuccess, stripeOrderFail, stripeOrderSuccess, stripePublicOrderSuccess, tabbyPaymentFailure, updateOrder, updateOrderCustomization, uploadCustomizationImage, verifyTabbyPayment } from '../chunk-KCLVR6G5.js';
6
- export { addAddress, deleteAddress, getAddresses, getCountries, getSubdivisions, updateAddress } from '../chunk-ZGMLOLTC.js';
6
+ export { addAddress, deleteAddress, getAddresses, getCountries, getSubdivisions, updateAddress } from '../chunk-VRZRV2BR.js';
7
7
  import { http_service_default } from '../chunk-3SYYP3XV.js';
8
8
  export { getHttpService, http_service_default as httpService, resetHttpService, setSessionExpiredCallback } from '../chunk-3SYYP3XV.js';
9
9
  import '../chunk-WEMNXIRS.js';
@@ -1,5 +1,5 @@
1
- import { A as Address } from './address-DwBZHzbI.cjs';
2
- import { C as Cart, c as Coupon } from './cart-CyN2JQTw.cjs';
1
+ import { A as Address } from './address-BdIB6IuI.cjs';
2
+ import { C as Cart, c as Coupon } from './cart-DwMFBmpC.cjs';
3
3
 
4
4
  /**
5
5
  * Types shared by the two checkout surfaces that price an *inline* selection
@@ -1,5 +1,5 @@
1
- import { A as Address } from './address-DwBZHzbI.js';
2
- import { C as Cart, c as Coupon } from './cart-BGIsIZdM.js';
1
+ import { A as Address } from './address-BdIB6IuI.js';
2
+ import { C as Cart, c as Coupon } from './cart-DZq1ZEnE.js';
3
3
 
4
4
  /**
5
5
  * Types shared by the two checkout surfaces that price an *inline* selection
@@ -1,4 +1,4 @@
1
- import { g as SLICE_STATUS, d as Product, f as ProductDetail } from './product-CZtFWhxO.js';
1
+ import { g as SLICE_STATUS, d as Product, f as ProductDetail } from './product-D9liEtl4.js';
2
2
 
3
3
  declare namespace User {
4
4
  interface Root {
@@ -1,4 +1,4 @@
1
- import { g as SLICE_STATUS, d as Product, f as ProductDetail } from './product-CZtFWhxO.cjs';
1
+ import { g as SLICE_STATUS, d as Product, f as ProductDetail } from './product-D9liEtl4.cjs';
2
2
 
3
3
  declare namespace User {
4
4
  interface Root {
@@ -1,10 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunkTFWTQTWE_cjs = require('../chunk-TFWTQTWE.cjs');
4
- require('../chunk-XFOUNOKO.cjs');
5
- var chunkK44JZ5NL_cjs = require('../chunk-K44JZ5NL.cjs');
3
+ var chunkQED6QJZC_cjs = require('../chunk-QED6QJZC.cjs');
4
+ require('../chunk-KNG4OMS5.cjs');
5
+ var chunkNSAHGMS7_cjs = require('../chunk-NSAHGMS7.cjs');
6
6
  var chunkH6FJYRO3_cjs = require('../chunk-H6FJYRO3.cjs');
7
7
  var chunkTB72NPRM_cjs = require('../chunk-TB72NPRM.cjs');
8
+ require('../chunk-LJUGNSQQ.cjs');
8
9
  require('../chunk-ECHV2JSY.cjs');
9
10
  require('../chunk-BBRXE57K.cjs');
10
11
  require('../chunk-NE3ZHELZ.cjs');
@@ -112,8 +113,8 @@ async function checkPhonepeReturnStatusWithOrder(transactionId, orderNumber, cal
112
113
  const order = orderResponse.data;
113
114
  callbacks.onOrderLoaded?.(order);
114
115
  if (paymentResponse.data.success) {
115
- chunkK44JZ5NL_cjs.pixelEvents.purchase(order);
116
- chunkK44JZ5NL_cjs.pixelEvents.checkoutCompleted(order);
116
+ chunkNSAHGMS7_cjs.pixelEvents.purchase(order);
117
+ chunkNSAHGMS7_cjs.pixelEvents.checkoutCompleted(order);
117
118
  callbacks.onSuccess(order);
118
119
  } else {
119
120
  callbacks.onFailure();
@@ -133,8 +134,8 @@ async function checkStripeReturnStatus(sessionId, orderNumber, paymentLinkUrl, c
133
134
  const orderResponse = await getOrder(orderNumber);
134
135
  const order = orderResponse.data;
135
136
  callbacks.onOrderLoaded?.(order);
136
- chunkK44JZ5NL_cjs.pixelEvents.purchase(order);
137
- chunkK44JZ5NL_cjs.pixelEvents.checkoutCompleted(order);
137
+ chunkNSAHGMS7_cjs.pixelEvents.purchase(order);
138
+ chunkNSAHGMS7_cjs.pixelEvents.checkoutCompleted(order);
138
139
  callbacks.onSuccess(order);
139
140
  } catch {
140
141
  callbacks.onSuccess(void 0);
@@ -157,8 +158,8 @@ async function checkTabbyReturnStatus(orderNumber, callbacks, options) {
157
158
  if (order) callbacks.onOrderLoaded?.(order);
158
159
  if (response.data.order_status === "paid" || response.data.order_status === "confirmed" || response.data.status === "paid") {
159
160
  if (order) {
160
- chunkK44JZ5NL_cjs.pixelEvents.purchase(order);
161
- chunkK44JZ5NL_cjs.pixelEvents.checkoutCompleted(order);
161
+ chunkNSAHGMS7_cjs.pixelEvents.purchase(order);
162
+ chunkNSAHGMS7_cjs.pixelEvents.checkoutCompleted(order);
162
163
  }
163
164
  callbacks.onSuccess(order ?? void 0);
164
165
  } else {
@@ -169,57 +170,149 @@ async function checkTabbyReturnStatus(orderNumber, callbacks, options) {
169
170
  }
170
171
  }
171
172
 
173
+ Object.defineProperty(exports, "DEFAULT_ADDRESS_SCHEMA_MESSAGES", {
174
+ enumerable: true,
175
+ get: function () { return chunkQED6QJZC_cjs.DEFAULT_ADDRESS_SCHEMA_MESSAGES; }
176
+ });
177
+ Object.defineProperty(exports, "INVALID_PINCODE", {
178
+ enumerable: true,
179
+ get: function () { return chunkQED6QJZC_cjs.INVALID_PINCODE; }
180
+ });
181
+ Object.defineProperty(exports, "NO_POSTAL_CODE", {
182
+ enumerable: true,
183
+ get: function () { return chunkQED6QJZC_cjs.NO_POSTAL_CODE; }
184
+ });
185
+ Object.defineProperty(exports, "PINCODE_DEBOUNCE_MS", {
186
+ enumerable: true,
187
+ get: function () { return chunkQED6QJZC_cjs.PINCODE_DEBOUNCE_MS; }
188
+ });
189
+ Object.defineProperty(exports, "PINCODE_MIN_LENGTH", {
190
+ enumerable: true,
191
+ get: function () { return chunkQED6QJZC_cjs.PINCODE_MIN_LENGTH; }
192
+ });
193
+ Object.defineProperty(exports, "PINCODE_VALIDATION_UNAVAILABLE", {
194
+ enumerable: true,
195
+ get: function () { return chunkQED6QJZC_cjs.PINCODE_VALIDATION_UNAVAILABLE; }
196
+ });
172
197
  Object.defineProperty(exports, "applyCheckoutCoupon", {
173
198
  enumerable: true,
174
- get: function () { return chunkTFWTQTWE_cjs.applyCheckoutCoupon; }
199
+ get: function () { return chunkQED6QJZC_cjs.applyCheckoutCoupon; }
200
+ });
201
+ Object.defineProperty(exports, "buildAddressFormat", {
202
+ enumerable: true,
203
+ get: function () { return chunkQED6QJZC_cjs.buildAddressFormat; }
204
+ });
205
+ Object.defineProperty(exports, "buildAddressSchema", {
206
+ enumerable: true,
207
+ get: function () { return chunkQED6QJZC_cjs.buildAddressSchema; }
208
+ });
209
+ Object.defineProperty(exports, "clearPincodeCache", {
210
+ enumerable: true,
211
+ get: function () { return chunkQED6QJZC_cjs.clearPincodeCache; }
175
212
  });
176
213
  Object.defineProperty(exports, "fetchAppliedCoupon", {
177
214
  enumerable: true,
178
- get: function () { return chunkTFWTQTWE_cjs.fetchAppliedCoupon; }
215
+ get: function () { return chunkQED6QJZC_cjs.fetchAppliedCoupon; }
179
216
  });
180
217
  Object.defineProperty(exports, "fetchAvailableCoupons", {
181
218
  enumerable: true,
182
- get: function () { return chunkTFWTQTWE_cjs.fetchAvailableCoupons; }
219
+ get: function () { return chunkQED6QJZC_cjs.fetchAvailableCoupons; }
220
+ });
221
+ Object.defineProperty(exports, "findStateByName", {
222
+ enumerable: true,
223
+ get: function () { return chunkQED6QJZC_cjs.findStateByName; }
224
+ });
225
+ Object.defineProperty(exports, "findSubdivision", {
226
+ enumerable: true,
227
+ get: function () { return chunkQED6QJZC_cjs.findSubdivision; }
228
+ });
229
+ Object.defineProperty(exports, "getAreaOptions", {
230
+ enumerable: true,
231
+ get: function () { return chunkQED6QJZC_cjs.getAreaOptions; }
232
+ });
233
+ Object.defineProperty(exports, "getPincodeError", {
234
+ enumerable: true,
235
+ get: function () { return chunkQED6QJZC_cjs.getPincodeError; }
236
+ });
237
+ Object.defineProperty(exports, "getPostcodeHint", {
238
+ enumerable: true,
239
+ get: function () { return chunkQED6QJZC_cjs.getPostcodeHint; }
183
240
  });
184
241
  Object.defineProperty(exports, "handleCODPayment", {
185
242
  enumerable: true,
186
- get: function () { return chunkTFWTQTWE_cjs.handleCODPayment; }
243
+ get: function () { return chunkQED6QJZC_cjs.handleCODPayment; }
187
244
  });
188
245
  Object.defineProperty(exports, "handlePhonepePayment", {
189
246
  enumerable: true,
190
- get: function () { return chunkTFWTQTWE_cjs.handlePhonepePayment; }
247
+ get: function () { return chunkQED6QJZC_cjs.handlePhonepePayment; }
191
248
  });
192
249
  Object.defineProperty(exports, "handleRazorpayFail", {
193
250
  enumerable: true,
194
- get: function () { return chunkTFWTQTWE_cjs.handleRazorpayFail; }
251
+ get: function () { return chunkQED6QJZC_cjs.handleRazorpayFail; }
195
252
  });
196
253
  Object.defineProperty(exports, "handleRazorpaySuccess", {
197
254
  enumerable: true,
198
- get: function () { return chunkTFWTQTWE_cjs.handleRazorpaySuccess; }
255
+ get: function () { return chunkQED6QJZC_cjs.handleRazorpaySuccess; }
199
256
  });
200
257
  Object.defineProperty(exports, "handleStripePayment", {
201
258
  enumerable: true,
202
- get: function () { return chunkTFWTQTWE_cjs.handleStripePayment; }
259
+ get: function () { return chunkQED6QJZC_cjs.handleStripePayment; }
203
260
  });
204
261
  Object.defineProperty(exports, "handleStripeSuccess", {
205
262
  enumerable: true,
206
- get: function () { return chunkTFWTQTWE_cjs.handleStripeSuccess; }
263
+ get: function () { return chunkQED6QJZC_cjs.handleStripeSuccess; }
207
264
  });
208
265
  Object.defineProperty(exports, "handleTabbyPayment", {
209
266
  enumerable: true,
210
- get: function () { return chunkTFWTQTWE_cjs.handleTabbyPayment; }
267
+ get: function () { return chunkQED6QJZC_cjs.handleTabbyPayment; }
268
+ });
269
+ Object.defineProperty(exports, "isValidNumber", {
270
+ enumerable: true,
271
+ get: function () { return chunkQED6QJZC_cjs.isValidNumber; }
272
+ });
273
+ Object.defineProperty(exports, "joinAddressLines", {
274
+ enumerable: true,
275
+ get: function () { return chunkQED6QJZC_cjs.joinAddressLines; }
276
+ });
277
+ Object.defineProperty(exports, "loadAddressFormat", {
278
+ enumerable: true,
279
+ get: function () { return chunkQED6QJZC_cjs.loadAddressFormat; }
280
+ });
281
+ Object.defineProperty(exports, "lowerLabel", {
282
+ enumerable: true,
283
+ get: function () { return chunkQED6QJZC_cjs.lowerLabel; }
284
+ });
285
+ Object.defineProperty(exports, "normalizePostcode", {
286
+ enumerable: true,
287
+ get: function () { return chunkQED6QJZC_cjs.normalizePostcode; }
211
288
  });
212
289
  Object.defineProperty(exports, "openRazorpayCheckout", {
213
290
  enumerable: true,
214
- get: function () { return chunkTFWTQTWE_cjs.openRazorpayCheckout; }
291
+ get: function () { return chunkQED6QJZC_cjs.openRazorpayCheckout; }
215
292
  });
216
293
  Object.defineProperty(exports, "processPayment", {
217
294
  enumerable: true,
218
- get: function () { return chunkTFWTQTWE_cjs.processPayment; }
295
+ get: function () { return chunkQED6QJZC_cjs.processPayment; }
219
296
  });
220
297
  Object.defineProperty(exports, "removeCheckoutCoupon", {
221
298
  enumerable: true,
222
- get: function () { return chunkTFWTQTWE_cjs.removeCheckoutCoupon; }
299
+ get: function () { return chunkQED6QJZC_cjs.removeCheckoutCoupon; }
300
+ });
301
+ Object.defineProperty(exports, "sanitizePhoneInput", {
302
+ enumerable: true,
303
+ get: function () { return chunkQED6QJZC_cjs.sanitizePhoneInput; }
304
+ });
305
+ Object.defineProperty(exports, "sanitizePincode", {
306
+ enumerable: true,
307
+ get: function () { return chunkQED6QJZC_cjs.sanitizePincode; }
308
+ });
309
+ Object.defineProperty(exports, "usableEmail", {
310
+ enumerable: true,
311
+ get: function () { return chunkQED6QJZC_cjs.usableEmail; }
312
+ });
313
+ Object.defineProperty(exports, "validatePincode", {
314
+ enumerable: true,
315
+ get: function () { return chunkQED6QJZC_cjs.validatePincode; }
223
316
  });
224
317
  Object.defineProperty(exports, "IP_API_CACHE_KEY", {
225
318
  enumerable: true,