@storepecker/storefront-core 2.4.2 → 2.5.1
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/api/index.cjs +50 -42
- package/dist/api/index.d.cts +11 -4
- package/dist/api/index.d.ts +11 -4
- package/dist/api/index.js +2 -2
- package/dist/{cart-y-7RPmnQ.d.ts → cart-CLf2ljxd.d.ts} +21 -0
- package/dist/{cart-kJoawc_Z.d.cts → cart-CuLMWnfy.d.cts} +21 -0
- package/dist/checkout/index.cjs +22 -22
- package/dist/checkout/index.d.cts +2 -2
- package/dist/checkout/index.d.ts +2 -2
- package/dist/checkout/index.js +2 -2
- package/dist/{chunk-QU53I4AA.cjs → chunk-23YAZNVF.cjs} +37 -18
- package/dist/{chunk-AOJRQMJZ.cjs → chunk-DXQX7ZIL.cjs} +8 -1
- package/dist/{chunk-Y2CPMT34.cjs → chunk-MTSMQAZR.cjs} +11 -3
- package/dist/{chunk-SFMTL3AQ.js → chunk-NXQIWB36.js} +10 -6
- package/dist/{chunk-ZIALBJZK.cjs → chunk-PZJT2Y5B.cjs} +15 -11
- package/dist/{chunk-YFF6DWZM.js → chunk-S3ZZ3ZA7.js} +8 -2
- package/dist/{chunk-BR45AXQP.js → chunk-VZAIAQZJ.js} +33 -14
- package/dist/{chunk-U25T7M6S.js → chunk-XURYZRER.js} +11 -4
- package/dist/components/index.d.cts +2 -2
- package/dist/components/index.d.ts +2 -2
- package/dist/components/theme-data-initializer.d.cts +2 -2
- package/dist/components/theme-data-initializer.d.ts +2 -2
- package/dist/hooks/index.cjs +22 -21
- package/dist/hooks/index.d.cts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.js +6 -5
- package/dist/models/index.d.cts +1 -1
- package/dist/models/index.d.ts +1 -1
- package/dist/{pixelEvents-C1rFPOwb.d.cts → pixelEvents-CXViXGtV.d.cts} +1 -1
- package/dist/{pixelEvents-Bo-VjAx8.d.ts → pixelEvents-LqK0Ltr_.d.ts} +1 -1
- package/dist/store/index.cjs +8 -8
- package/dist/store/index.d.cts +5 -4
- package/dist/store/index.d.ts +5 -4
- package/dist/store/index.js +3 -3
- package/dist/utils/index.d.cts +3 -3
- package/dist/utils/index.d.ts +3 -3
- package/package.json +1 -1
package/dist/api/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkY46EHRJQ_cjs = require('../chunk-Y46EHRJQ.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkMTSMQAZR_cjs = require('../chunk-MTSMQAZR.cjs');
|
|
5
5
|
require('../chunk-SMHJRNCR.cjs');
|
|
6
6
|
var chunkXFOUNOKO_cjs = require('../chunk-XFOUNOKO.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkDXQX7ZIL_cjs = require('../chunk-DXQX7ZIL.cjs');
|
|
8
8
|
var chunkRDUT4W3B_cjs = require('../chunk-RDUT4W3B.cjs');
|
|
9
9
|
var chunkECHV2JSY_cjs = require('../chunk-ECHV2JSY.cjs');
|
|
10
10
|
require('../chunk-BBRXE57K.cjs');
|
|
@@ -152,67 +152,71 @@ Object.defineProperty(exports, "updateUserDetails", {
|
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "addToCart", {
|
|
154
154
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkMTSMQAZR_cjs.addToCart; }
|
|
156
156
|
});
|
|
157
157
|
Object.defineProperty(exports, "addWishlist", {
|
|
158
158
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkMTSMQAZR_cjs.addWishlist; }
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(exports, "getCart", {
|
|
162
162
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkMTSMQAZR_cjs.getCart; }
|
|
164
|
+
});
|
|
165
|
+
Object.defineProperty(exports, "getCartItemQuantity", {
|
|
166
|
+
enumerable: true,
|
|
167
|
+
get: function () { return chunkMTSMQAZR_cjs.getCartItemQuantity; }
|
|
164
168
|
});
|
|
165
169
|
Object.defineProperty(exports, "getCategories", {
|
|
166
170
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkMTSMQAZR_cjs.getCategories; }
|
|
168
172
|
});
|
|
169
173
|
Object.defineProperty(exports, "getDigitalProductDownloadLink", {
|
|
170
174
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunkMTSMQAZR_cjs.getDigitalProductDownloadLink; }
|
|
172
176
|
});
|
|
173
177
|
Object.defineProperty(exports, "getProductCategories", {
|
|
174
178
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunkMTSMQAZR_cjs.getProductCategories; }
|
|
176
180
|
});
|
|
177
181
|
Object.defineProperty(exports, "getProductDetail", {
|
|
178
182
|
enumerable: true,
|
|
179
|
-
get: function () { return
|
|
183
|
+
get: function () { return chunkMTSMQAZR_cjs.getProductDetail; }
|
|
180
184
|
});
|
|
181
185
|
Object.defineProperty(exports, "getProductDetailBySlug", {
|
|
182
186
|
enumerable: true,
|
|
183
|
-
get: function () { return
|
|
187
|
+
get: function () { return chunkMTSMQAZR_cjs.getProductDetailBySlug; }
|
|
184
188
|
});
|
|
185
189
|
Object.defineProperty(exports, "getProductList", {
|
|
186
190
|
enumerable: true,
|
|
187
|
-
get: function () { return
|
|
191
|
+
get: function () { return chunkMTSMQAZR_cjs.getProductList; }
|
|
188
192
|
});
|
|
189
193
|
Object.defineProperty(exports, "getProducts", {
|
|
190
194
|
enumerable: true,
|
|
191
|
-
get: function () { return
|
|
195
|
+
get: function () { return chunkMTSMQAZR_cjs.getProducts; }
|
|
192
196
|
});
|
|
193
197
|
Object.defineProperty(exports, "getWishlist", {
|
|
194
198
|
enumerable: true,
|
|
195
|
-
get: function () { return
|
|
199
|
+
get: function () { return chunkMTSMQAZR_cjs.getWishlist; }
|
|
196
200
|
});
|
|
197
201
|
Object.defineProperty(exports, "notifyProductStock", {
|
|
198
202
|
enumerable: true,
|
|
199
|
-
get: function () { return
|
|
203
|
+
get: function () { return chunkMTSMQAZR_cjs.notifyProductStock; }
|
|
200
204
|
});
|
|
201
205
|
Object.defineProperty(exports, "removeFromCart", {
|
|
202
206
|
enumerable: true,
|
|
203
|
-
get: function () { return
|
|
207
|
+
get: function () { return chunkMTSMQAZR_cjs.removeFromCart; }
|
|
204
208
|
});
|
|
205
209
|
Object.defineProperty(exports, "removeFromWishlist", {
|
|
206
210
|
enumerable: true,
|
|
207
|
-
get: function () { return
|
|
211
|
+
get: function () { return chunkMTSMQAZR_cjs.removeFromWishlist; }
|
|
208
212
|
});
|
|
209
213
|
Object.defineProperty(exports, "updateCart", {
|
|
210
214
|
enumerable: true,
|
|
211
|
-
get: function () { return
|
|
215
|
+
get: function () { return chunkMTSMQAZR_cjs.updateCart; }
|
|
212
216
|
});
|
|
213
217
|
Object.defineProperty(exports, "updateDigitalProductDownloadLinkCount", {
|
|
214
218
|
enumerable: true,
|
|
215
|
-
get: function () { return
|
|
219
|
+
get: function () { return chunkMTSMQAZR_cjs.updateDigitalProductDownloadLinkCount; }
|
|
216
220
|
});
|
|
217
221
|
Object.defineProperty(exports, "applyCoupon", {
|
|
218
222
|
enumerable: true,
|
|
@@ -232,99 +236,103 @@ Object.defineProperty(exports, "removeCoupon", {
|
|
|
232
236
|
});
|
|
233
237
|
Object.defineProperty(exports, "checkPhonepePaymentStatus", {
|
|
234
238
|
enumerable: true,
|
|
235
|
-
get: function () { return
|
|
239
|
+
get: function () { return chunkDXQX7ZIL_cjs.checkPhonepePaymentStatus; }
|
|
236
240
|
});
|
|
237
241
|
Object.defineProperty(exports, "getOrderDetails", {
|
|
238
242
|
enumerable: true,
|
|
239
|
-
get: function () { return
|
|
243
|
+
get: function () { return chunkDXQX7ZIL_cjs.getOrderDetails; }
|
|
240
244
|
});
|
|
241
245
|
Object.defineProperty(exports, "getOrderDetailsByNumber", {
|
|
242
246
|
enumerable: true,
|
|
243
|
-
get: function () { return
|
|
247
|
+
get: function () { return chunkDXQX7ZIL_cjs.getOrderDetailsByNumber; }
|
|
244
248
|
});
|
|
245
249
|
Object.defineProperty(exports, "getOrderDetailsByRef", {
|
|
246
250
|
enumerable: true,
|
|
247
|
-
get: function () { return
|
|
251
|
+
get: function () { return chunkDXQX7ZIL_cjs.getOrderDetailsByRef; }
|
|
252
|
+
});
|
|
253
|
+
Object.defineProperty(exports, "getOrderDetailsByRefV2", {
|
|
254
|
+
enumerable: true,
|
|
255
|
+
get: function () { return chunkDXQX7ZIL_cjs.getOrderDetailsByRefV2; }
|
|
248
256
|
});
|
|
249
257
|
Object.defineProperty(exports, "getOrders", {
|
|
250
258
|
enumerable: true,
|
|
251
|
-
get: function () { return
|
|
259
|
+
get: function () { return chunkDXQX7ZIL_cjs.getOrders; }
|
|
252
260
|
});
|
|
253
261
|
Object.defineProperty(exports, "getPublicOrderDetailsByNumber", {
|
|
254
262
|
enumerable: true,
|
|
255
|
-
get: function () { return
|
|
263
|
+
get: function () { return chunkDXQX7ZIL_cjs.getPublicOrderDetailsByNumber; }
|
|
256
264
|
});
|
|
257
265
|
Object.defineProperty(exports, "getStripePaymentStatus", {
|
|
258
266
|
enumerable: true,
|
|
259
|
-
get: function () { return
|
|
267
|
+
get: function () { return chunkDXQX7ZIL_cjs.getStripePaymentStatus; }
|
|
260
268
|
});
|
|
261
269
|
Object.defineProperty(exports, "getStripePaymentStatusPublic", {
|
|
262
270
|
enumerable: true,
|
|
263
|
-
get: function () { return
|
|
271
|
+
get: function () { return chunkDXQX7ZIL_cjs.getStripePaymentStatusPublic; }
|
|
264
272
|
});
|
|
265
273
|
Object.defineProperty(exports, "makeCODOrder", {
|
|
266
274
|
enumerable: true,
|
|
267
|
-
get: function () { return
|
|
275
|
+
get: function () { return chunkDXQX7ZIL_cjs.makeCODOrder; }
|
|
268
276
|
});
|
|
269
277
|
Object.defineProperty(exports, "phonepeOrderSuccess", {
|
|
270
278
|
enumerable: true,
|
|
271
|
-
get: function () { return
|
|
279
|
+
get: function () { return chunkDXQX7ZIL_cjs.phonepeOrderSuccess; }
|
|
272
280
|
});
|
|
273
281
|
Object.defineProperty(exports, "phonepePublicOrderSuccess", {
|
|
274
282
|
enumerable: true,
|
|
275
|
-
get: function () { return
|
|
283
|
+
get: function () { return chunkDXQX7ZIL_cjs.phonepePublicOrderSuccess; }
|
|
276
284
|
});
|
|
277
285
|
Object.defineProperty(exports, "placeOrder", {
|
|
278
286
|
enumerable: true,
|
|
279
|
-
get: function () { return
|
|
287
|
+
get: function () { return chunkDXQX7ZIL_cjs.placeOrder; }
|
|
280
288
|
});
|
|
281
289
|
Object.defineProperty(exports, "publicMakeCODOrder", {
|
|
282
290
|
enumerable: true,
|
|
283
|
-
get: function () { return
|
|
291
|
+
get: function () { return chunkDXQX7ZIL_cjs.publicMakeCODOrder; }
|
|
284
292
|
});
|
|
285
293
|
Object.defineProperty(exports, "publicPlaceOrder", {
|
|
286
294
|
enumerable: true,
|
|
287
|
-
get: function () { return
|
|
295
|
+
get: function () { return chunkDXQX7ZIL_cjs.publicPlaceOrder; }
|
|
288
296
|
});
|
|
289
297
|
Object.defineProperty(exports, "razorpayOrderFail", {
|
|
290
298
|
enumerable: true,
|
|
291
|
-
get: function () { return
|
|
299
|
+
get: function () { return chunkDXQX7ZIL_cjs.razorpayOrderFail; }
|
|
292
300
|
});
|
|
293
301
|
Object.defineProperty(exports, "razorpayOrderSuccess", {
|
|
294
302
|
enumerable: true,
|
|
295
|
-
get: function () { return
|
|
303
|
+
get: function () { return chunkDXQX7ZIL_cjs.razorpayOrderSuccess; }
|
|
296
304
|
});
|
|
297
305
|
Object.defineProperty(exports, "razorpayPublicOrderSuccess", {
|
|
298
306
|
enumerable: true,
|
|
299
|
-
get: function () { return
|
|
307
|
+
get: function () { return chunkDXQX7ZIL_cjs.razorpayPublicOrderSuccess; }
|
|
300
308
|
});
|
|
301
309
|
Object.defineProperty(exports, "stripeOrderFail", {
|
|
302
310
|
enumerable: true,
|
|
303
|
-
get: function () { return
|
|
311
|
+
get: function () { return chunkDXQX7ZIL_cjs.stripeOrderFail; }
|
|
304
312
|
});
|
|
305
313
|
Object.defineProperty(exports, "stripeOrderSuccess", {
|
|
306
314
|
enumerable: true,
|
|
307
|
-
get: function () { return
|
|
315
|
+
get: function () { return chunkDXQX7ZIL_cjs.stripeOrderSuccess; }
|
|
308
316
|
});
|
|
309
317
|
Object.defineProperty(exports, "stripePublicOrderSuccess", {
|
|
310
318
|
enumerable: true,
|
|
311
|
-
get: function () { return
|
|
319
|
+
get: function () { return chunkDXQX7ZIL_cjs.stripePublicOrderSuccess; }
|
|
312
320
|
});
|
|
313
321
|
Object.defineProperty(exports, "updateOrder", {
|
|
314
322
|
enumerable: true,
|
|
315
|
-
get: function () { return
|
|
323
|
+
get: function () { return chunkDXQX7ZIL_cjs.updateOrder; }
|
|
316
324
|
});
|
|
317
325
|
Object.defineProperty(exports, "updateOrderCustomization", {
|
|
318
326
|
enumerable: true,
|
|
319
|
-
get: function () { return
|
|
327
|
+
get: function () { return chunkDXQX7ZIL_cjs.updateOrderCustomization; }
|
|
320
328
|
});
|
|
321
329
|
Object.defineProperty(exports, "uploadCustomizationImage", {
|
|
322
330
|
enumerable: true,
|
|
323
|
-
get: function () { return
|
|
331
|
+
get: function () { return chunkDXQX7ZIL_cjs.uploadCustomizationImage; }
|
|
324
332
|
});
|
|
325
333
|
Object.defineProperty(exports, "verifyTabbyPayment", {
|
|
326
334
|
enumerable: true,
|
|
327
|
-
get: function () { return
|
|
335
|
+
get: function () { return chunkDXQX7ZIL_cjs.verifyTabbyPayment; }
|
|
328
336
|
});
|
|
329
337
|
Object.defineProperty(exports, "addAddress", {
|
|
330
338
|
enumerable: true,
|
package/dist/api/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as axios from 'axios';
|
|
2
2
|
import { AxiosInstance, AxiosResponse } from 'axios';
|
|
3
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-
|
|
4
|
+
import { U as User, C as Cart, d as CouponResponse, c as Coupon, b as Category } from '../cart-CuLMWnfy.cjs';
|
|
5
5
|
import { d as Product, f as ProductDetail } from '../product-DJMdi4D4.cjs';
|
|
6
6
|
import { O as Order } from '../orders-CjNmCY5I.cjs';
|
|
7
7
|
import { W as Wishlist } from '../wishlist-CUuCTSVJ.cjs';
|
|
@@ -42,7 +42,10 @@ declare function getNewToken(refresh: string): Promise<AxiosResponse<{
|
|
|
42
42
|
}>>;
|
|
43
43
|
declare function getLoginMethod(): Promise<AxiosResponse>;
|
|
44
44
|
|
|
45
|
-
declare function getCart(url: string, addressId?: number): Promise<Cart.Root>;
|
|
45
|
+
declare function getCart(url: string, addressId?: number, shippingOptionId?: number): Promise<Cart.Root>;
|
|
46
|
+
declare function getCartItemQuantity(): Promise<{
|
|
47
|
+
total_quantity: number;
|
|
48
|
+
}>;
|
|
46
49
|
declare function addToCart(product: Array<{
|
|
47
50
|
variant_id: number;
|
|
48
51
|
quantity: number;
|
|
@@ -69,11 +72,15 @@ declare const getCountries: () => Promise<AxiosResponse<CountryModel.Country[]>>
|
|
|
69
72
|
declare const getSubdivisions: (countryId: number) => Promise<AxiosResponse<CountryModel.StateResponse1>>;
|
|
70
73
|
|
|
71
74
|
declare function getOrders(url: string): Promise<Order.OrderResponse>;
|
|
75
|
+
/**
|
|
76
|
+
* @deprecated Use getOrderDetailsByRef instead
|
|
77
|
+
*/
|
|
72
78
|
declare function getOrderDetails(orderId: number): Promise<AxiosResponse<Order.Root>>;
|
|
73
79
|
declare function getOrderDetailsByNumber(orderNumber: number): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
74
80
|
declare function getOrderDetailsByRef(orderRef: string): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
81
|
+
declare function getOrderDetailsByRefV2(orderRef: string): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
75
82
|
declare function getPublicOrderDetailsByNumber(orderNumber: number): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
76
|
-
declare function placeOrder(address_id: number, redirect: string, isCod?: boolean, stripeRedirect?: string, tabbyRedirect?: string): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
83
|
+
declare function placeOrder(address_id: number, redirect: string, isCod?: boolean, shipping_option_id?: number, stripeRedirect?: string, tabbyRedirect?: string): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
77
84
|
interface PublicOrderDetails {
|
|
78
85
|
email: string;
|
|
79
86
|
phone: string;
|
|
@@ -164,4 +171,4 @@ declare function getUserBookings(filter: BookingFilter): Promise<AxiosResponse<{
|
|
|
164
171
|
results: Booking[];
|
|
165
172
|
}>>;
|
|
166
173
|
|
|
167
|
-
export { type BookingFilter, type OTPCredentials, type VerifyOTPCredentials, addAddress, addReview, addToCart, addWishlist, applyCoupon, checkPhonepePaymentStatus, createBooking, deleteAddress, getAddresses, getAffiliateRedirect, getAppliedCoupon, getCart, getCategories, getCollection, getCountries, getCoupons, getDigitalProductDownloadLink, getFilters, getHttpService, getLoginMethod, getMultipleCollections, getNewToken, getOrderDetails, getOrderDetailsByNumber, getOrderDetailsByRef, getOrders, getProductCategories, getProductDetail, getProductDetailBySlug, getProductList, getProducts, getPublicOrderDetailsByNumber, getReviewSummary, getReviews, getServerHttpService, getStripePaymentStatus, getStripePaymentStatusPublic, getSubdivisions, getUserBookings, getUserDetails, getWishlist, httpService, makeCODOrder, notifyProductStock, phonepeOrderSuccess, phonepePublicOrderSuccess, placeOrder, postAnalytics, publicMakeCODOrder, publicPlaceOrder, razorpayOrderFail, razorpayOrderSuccess, razorpayPublicOrderSuccess, removeCoupon, removeFromCart, removeFromWishlist, resetHttpService, sendOTP, serverHttpService, setSessionExpiredCallback, stripeOrderFail, stripeOrderSuccess, stripePublicOrderSuccess, updateAddress, updateCart, updateDigitalProductDownloadLinkCount, updateOrder, updateOrderCustomization, updateUserDetails, uploadCustomizationImage, uploadReviewImages, verifyOTP, verifyTabbyPayment };
|
|
174
|
+
export { type BookingFilter, type OTPCredentials, type VerifyOTPCredentials, addAddress, addReview, addToCart, addWishlist, applyCoupon, checkPhonepePaymentStatus, createBooking, deleteAddress, getAddresses, getAffiliateRedirect, getAppliedCoupon, getCart, getCartItemQuantity, getCategories, getCollection, getCountries, getCoupons, getDigitalProductDownloadLink, getFilters, getHttpService, getLoginMethod, getMultipleCollections, getNewToken, getOrderDetails, getOrderDetailsByNumber, getOrderDetailsByRef, getOrderDetailsByRefV2, getOrders, getProductCategories, getProductDetail, getProductDetailBySlug, getProductList, getProducts, getPublicOrderDetailsByNumber, getReviewSummary, getReviews, getServerHttpService, getStripePaymentStatus, getStripePaymentStatusPublic, getSubdivisions, getUserBookings, getUserDetails, getWishlist, httpService, makeCODOrder, notifyProductStock, phonepeOrderSuccess, phonepePublicOrderSuccess, placeOrder, postAnalytics, publicMakeCODOrder, publicPlaceOrder, razorpayOrderFail, razorpayOrderSuccess, razorpayPublicOrderSuccess, removeCoupon, removeFromCart, removeFromWishlist, resetHttpService, sendOTP, serverHttpService, setSessionExpiredCallback, stripeOrderFail, stripeOrderSuccess, stripePublicOrderSuccess, updateAddress, updateCart, updateDigitalProductDownloadLinkCount, updateOrder, updateOrderCustomization, updateUserDetails, uploadCustomizationImage, uploadReviewImages, verifyOTP, verifyTabbyPayment };
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as axios from 'axios';
|
|
2
2
|
import { AxiosInstance, AxiosResponse } from 'axios';
|
|
3
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-
|
|
4
|
+
import { U as User, C as Cart, d as CouponResponse, c as Coupon, b as Category } from '../cart-CLf2ljxd.js';
|
|
5
5
|
import { d as Product, f as ProductDetail } from '../product-DJMdi4D4.js';
|
|
6
6
|
import { O as Order } from '../orders-L_8eIkUS.js';
|
|
7
7
|
import { W as Wishlist } from '../wishlist-DKYFZR0s.js';
|
|
@@ -42,7 +42,10 @@ declare function getNewToken(refresh: string): Promise<AxiosResponse<{
|
|
|
42
42
|
}>>;
|
|
43
43
|
declare function getLoginMethod(): Promise<AxiosResponse>;
|
|
44
44
|
|
|
45
|
-
declare function getCart(url: string, addressId?: number): Promise<Cart.Root>;
|
|
45
|
+
declare function getCart(url: string, addressId?: number, shippingOptionId?: number): Promise<Cart.Root>;
|
|
46
|
+
declare function getCartItemQuantity(): Promise<{
|
|
47
|
+
total_quantity: number;
|
|
48
|
+
}>;
|
|
46
49
|
declare function addToCart(product: Array<{
|
|
47
50
|
variant_id: number;
|
|
48
51
|
quantity: number;
|
|
@@ -69,11 +72,15 @@ declare const getCountries: () => Promise<AxiosResponse<CountryModel.Country[]>>
|
|
|
69
72
|
declare const getSubdivisions: (countryId: number) => Promise<AxiosResponse<CountryModel.StateResponse1>>;
|
|
70
73
|
|
|
71
74
|
declare function getOrders(url: string): Promise<Order.OrderResponse>;
|
|
75
|
+
/**
|
|
76
|
+
* @deprecated Use getOrderDetailsByRef instead
|
|
77
|
+
*/
|
|
72
78
|
declare function getOrderDetails(orderId: number): Promise<AxiosResponse<Order.Root>>;
|
|
73
79
|
declare function getOrderDetailsByNumber(orderNumber: number): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
74
80
|
declare function getOrderDetailsByRef(orderRef: string): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
81
|
+
declare function getOrderDetailsByRefV2(orderRef: string): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
75
82
|
declare function getPublicOrderDetailsByNumber(orderNumber: number): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
76
|
-
declare function placeOrder(address_id: number, redirect: string, isCod?: boolean, stripeRedirect?: string, tabbyRedirect?: string): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
83
|
+
declare function placeOrder(address_id: number, redirect: string, isCod?: boolean, shipping_option_id?: number, stripeRedirect?: string, tabbyRedirect?: string): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
77
84
|
interface PublicOrderDetails {
|
|
78
85
|
email: string;
|
|
79
86
|
phone: string;
|
|
@@ -164,4 +171,4 @@ declare function getUserBookings(filter: BookingFilter): Promise<AxiosResponse<{
|
|
|
164
171
|
results: Booking[];
|
|
165
172
|
}>>;
|
|
166
173
|
|
|
167
|
-
export { type BookingFilter, type OTPCredentials, type VerifyOTPCredentials, addAddress, addReview, addToCart, addWishlist, applyCoupon, checkPhonepePaymentStatus, createBooking, deleteAddress, getAddresses, getAffiliateRedirect, getAppliedCoupon, getCart, getCategories, getCollection, getCountries, getCoupons, getDigitalProductDownloadLink, getFilters, getHttpService, getLoginMethod, getMultipleCollections, getNewToken, getOrderDetails, getOrderDetailsByNumber, getOrderDetailsByRef, getOrders, getProductCategories, getProductDetail, getProductDetailBySlug, getProductList, getProducts, getPublicOrderDetailsByNumber, getReviewSummary, getReviews, getServerHttpService, getStripePaymentStatus, getStripePaymentStatusPublic, getSubdivisions, getUserBookings, getUserDetails, getWishlist, httpService, makeCODOrder, notifyProductStock, phonepeOrderSuccess, phonepePublicOrderSuccess, placeOrder, postAnalytics, publicMakeCODOrder, publicPlaceOrder, razorpayOrderFail, razorpayOrderSuccess, razorpayPublicOrderSuccess, removeCoupon, removeFromCart, removeFromWishlist, resetHttpService, sendOTP, serverHttpService, setSessionExpiredCallback, stripeOrderFail, stripeOrderSuccess, stripePublicOrderSuccess, updateAddress, updateCart, updateDigitalProductDownloadLinkCount, updateOrder, updateOrderCustomization, updateUserDetails, uploadCustomizationImage, uploadReviewImages, verifyOTP, verifyTabbyPayment };
|
|
174
|
+
export { type BookingFilter, type OTPCredentials, type VerifyOTPCredentials, addAddress, addReview, addToCart, addWishlist, applyCoupon, checkPhonepePaymentStatus, createBooking, deleteAddress, getAddresses, getAffiliateRedirect, getAppliedCoupon, getCart, getCartItemQuantity, getCategories, getCollection, getCountries, getCoupons, getDigitalProductDownloadLink, getFilters, getHttpService, getLoginMethod, getMultipleCollections, getNewToken, getOrderDetails, getOrderDetailsByNumber, getOrderDetailsByRef, getOrderDetailsByRefV2, getOrders, getProductCategories, getProductDetail, getProductDetailBySlug, getProductList, getProducts, getPublicOrderDetailsByNumber, getReviewSummary, getReviews, getServerHttpService, getStripePaymentStatus, getStripePaymentStatusPublic, getSubdivisions, getUserBookings, getUserDetails, getWishlist, httpService, makeCODOrder, notifyProductStock, phonepeOrderSuccess, phonepePublicOrderSuccess, placeOrder, postAnalytics, publicMakeCODOrder, publicPlaceOrder, razorpayOrderFail, razorpayOrderSuccess, razorpayPublicOrderSuccess, removeCoupon, removeFromCart, removeFromWishlist, resetHttpService, sendOTP, serverHttpService, setSessionExpiredCallback, stripeOrderFail, stripeOrderSuccess, stripePublicOrderSuccess, updateAddress, updateCart, updateDigitalProductDownloadLinkCount, updateOrder, updateOrderCustomization, updateUserDetails, uploadCustomizationImage, uploadReviewImages, verifyOTP, verifyTabbyPayment };
|
package/dist/api/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { getUserDetails, updateUserDetails } from '../chunk-WYXT5AAG.js';
|
|
2
|
-
export { addToCart, addWishlist, getCart, getCategories, getDigitalProductDownloadLink, getProductCategories, getProductDetail, getProductDetailBySlug, getProductList, getProducts, getWishlist, notifyProductStock, removeFromCart, removeFromWishlist, updateCart, updateDigitalProductDownloadLinkCount } from '../chunk-
|
|
2
|
+
export { addToCart, addWishlist, getCart, getCartItemQuantity, getCategories, getDigitalProductDownloadLink, getProductCategories, getProductDetail, getProductDetailBySlug, getProductList, getProducts, getWishlist, notifyProductStock, removeFromCart, removeFromWishlist, updateCart, updateDigitalProductDownloadLinkCount } from '../chunk-XURYZRER.js';
|
|
3
3
|
import '../chunk-QAC72HKO.js';
|
|
4
4
|
export { applyCoupon, getAppliedCoupon, getCoupons, removeCoupon } from '../chunk-7M5CVYZJ.js';
|
|
5
|
-
export { checkPhonepePaymentStatus, getOrderDetails, getOrderDetailsByNumber, getOrderDetailsByRef, getOrders, getPublicOrderDetailsByNumber, getStripePaymentStatus, getStripePaymentStatusPublic, makeCODOrder, phonepeOrderSuccess, phonepePublicOrderSuccess, placeOrder, publicMakeCODOrder, publicPlaceOrder, razorpayOrderFail, razorpayOrderSuccess, razorpayPublicOrderSuccess, stripeOrderFail, stripeOrderSuccess, stripePublicOrderSuccess, updateOrder, updateOrderCustomization, uploadCustomizationImage, verifyTabbyPayment } from '../chunk-
|
|
5
|
+
export { checkPhonepePaymentStatus, getOrderDetails, getOrderDetailsByNumber, getOrderDetailsByRef, getOrderDetailsByRefV2, getOrders, getPublicOrderDetailsByNumber, getStripePaymentStatus, getStripePaymentStatusPublic, makeCODOrder, phonepeOrderSuccess, phonepePublicOrderSuccess, placeOrder, publicMakeCODOrder, publicPlaceOrder, razorpayOrderFail, razorpayOrderSuccess, razorpayPublicOrderSuccess, stripeOrderFail, stripeOrderSuccess, stripePublicOrderSuccess, updateOrder, updateOrderCustomization, uploadCustomizationImage, verifyTabbyPayment } from '../chunk-S3ZZ3ZA7.js';
|
|
6
6
|
export { addAddress, deleteAddress, getAddresses, getCountries, getSubdivisions, updateAddress } from '../chunk-ZGMLOLTC.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';
|
|
@@ -82,6 +82,7 @@ interface CouponResponse {
|
|
|
82
82
|
|
|
83
83
|
interface CartState {
|
|
84
84
|
cart: Cart.Root | null;
|
|
85
|
+
total_quantity: number;
|
|
85
86
|
status: SLICE_STATUS;
|
|
86
87
|
}
|
|
87
88
|
declare namespace Cart {
|
|
@@ -105,6 +106,9 @@ declare namespace Cart {
|
|
|
105
106
|
total_shipping: number;
|
|
106
107
|
total_tax_amount: number;
|
|
107
108
|
applied_coupon: Coupon | {};
|
|
109
|
+
shipping_options: ShippingOption[];
|
|
110
|
+
selected_shipping_option_id: number | null;
|
|
111
|
+
selected_address_id: number | null;
|
|
108
112
|
}
|
|
109
113
|
interface CustomizationInput {
|
|
110
114
|
id: number;
|
|
@@ -121,6 +125,23 @@ declare namespace Cart {
|
|
|
121
125
|
interface ProductsQuantity {
|
|
122
126
|
[key: number]: number;
|
|
123
127
|
}
|
|
128
|
+
interface ShippingOption {
|
|
129
|
+
id: number;
|
|
130
|
+
name: string;
|
|
131
|
+
description: string;
|
|
132
|
+
pricing_type: string;
|
|
133
|
+
base_price: string;
|
|
134
|
+
shipping_profile: number | null;
|
|
135
|
+
shipping_partner: string;
|
|
136
|
+
estimated_days_min: number;
|
|
137
|
+
estimated_days_max: number;
|
|
138
|
+
display_order: number;
|
|
139
|
+
is_active: boolean;
|
|
140
|
+
allowed_zones: any[];
|
|
141
|
+
price: string | null;
|
|
142
|
+
price_note: string | null;
|
|
143
|
+
estimated_delivery: string | null;
|
|
144
|
+
}
|
|
124
145
|
}
|
|
125
146
|
|
|
126
147
|
export { type ApplicableTarget as A, Cart as C, type DiscountType as D, User as U, type ValueType as V, type CartState as a, Category as b, type Coupon as c, type CouponResponse as d, type CouponStatus as e, type Coupons as f };
|
|
@@ -82,6 +82,7 @@ interface CouponResponse {
|
|
|
82
82
|
|
|
83
83
|
interface CartState {
|
|
84
84
|
cart: Cart.Root | null;
|
|
85
|
+
total_quantity: number;
|
|
85
86
|
status: SLICE_STATUS;
|
|
86
87
|
}
|
|
87
88
|
declare namespace Cart {
|
|
@@ -105,6 +106,9 @@ declare namespace Cart {
|
|
|
105
106
|
total_shipping: number;
|
|
106
107
|
total_tax_amount: number;
|
|
107
108
|
applied_coupon: Coupon | {};
|
|
109
|
+
shipping_options: ShippingOption[];
|
|
110
|
+
selected_shipping_option_id: number | null;
|
|
111
|
+
selected_address_id: number | null;
|
|
108
112
|
}
|
|
109
113
|
interface CustomizationInput {
|
|
110
114
|
id: number;
|
|
@@ -121,6 +125,23 @@ declare namespace Cart {
|
|
|
121
125
|
interface ProductsQuantity {
|
|
122
126
|
[key: number]: number;
|
|
123
127
|
}
|
|
128
|
+
interface ShippingOption {
|
|
129
|
+
id: number;
|
|
130
|
+
name: string;
|
|
131
|
+
description: string;
|
|
132
|
+
pricing_type: string;
|
|
133
|
+
base_price: string;
|
|
134
|
+
shipping_profile: number | null;
|
|
135
|
+
shipping_partner: string;
|
|
136
|
+
estimated_days_min: number;
|
|
137
|
+
estimated_days_max: number;
|
|
138
|
+
display_order: number;
|
|
139
|
+
is_active: boolean;
|
|
140
|
+
allowed_zones: any[];
|
|
141
|
+
price: string | null;
|
|
142
|
+
price_note: string | null;
|
|
143
|
+
estimated_delivery: string | null;
|
|
144
|
+
}
|
|
124
145
|
}
|
|
125
146
|
|
|
126
147
|
export { type ApplicableTarget as A, Cart as C, type DiscountType as D, User as U, type ValueType as V, type CartState as a, Category as b, type Coupon as c, type CouponResponse as d, type CouponStatus as e, type Coupons as f };
|
package/dist/checkout/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPZJT2Y5B_cjs = require('../chunk-PZJT2Y5B.cjs');
|
|
4
4
|
require('../chunk-XFOUNOKO.cjs');
|
|
5
5
|
var chunkK44JZ5NL_cjs = require('../chunk-K44JZ5NL.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkDXQX7ZIL_cjs = require('../chunk-DXQX7ZIL.cjs');
|
|
7
7
|
var chunkTB72NPRM_cjs = require('../chunk-TB72NPRM.cjs');
|
|
8
8
|
require('../chunk-ECHV2JSY.cjs');
|
|
9
9
|
require('../chunk-BBRXE57K.cjs');
|
|
@@ -49,7 +49,7 @@ function calculateCartTotals(cart) {
|
|
|
49
49
|
// src/checkout/payment-status.ts
|
|
50
50
|
async function checkPhonepeReturnStatus(transactionId, callbacks) {
|
|
51
51
|
try {
|
|
52
|
-
const response = await
|
|
52
|
+
const response = await chunkDXQX7ZIL_cjs.checkPhonepePaymentStatus(transactionId);
|
|
53
53
|
if (response.data.success) {
|
|
54
54
|
callbacks.onSuccess(void 0);
|
|
55
55
|
} else {
|
|
@@ -62,8 +62,8 @@ async function checkPhonepeReturnStatus(transactionId, callbacks) {
|
|
|
62
62
|
async function checkPhonepeReturnStatusWithOrder(transactionId, orderNumber, callbacks) {
|
|
63
63
|
try {
|
|
64
64
|
const [paymentResponse, orderResponse] = await Promise.all([
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
chunkDXQX7ZIL_cjs.checkPhonepePaymentStatus(transactionId),
|
|
66
|
+
chunkDXQX7ZIL_cjs.getOrderDetailsByNumber(orderNumber)
|
|
67
67
|
]);
|
|
68
68
|
const order = orderResponse.data;
|
|
69
69
|
callbacks.onOrderLoaded?.(order);
|
|
@@ -80,12 +80,12 @@ async function checkPhonepeReturnStatusWithOrder(transactionId, orderNumber, cal
|
|
|
80
80
|
}
|
|
81
81
|
async function checkStripeReturnStatus(sessionId, orderNumber, paymentLinkUrl, callbacks, options) {
|
|
82
82
|
try {
|
|
83
|
-
const getStatus = options?.isPublic ?
|
|
83
|
+
const getStatus = options?.isPublic ? chunkDXQX7ZIL_cjs.getStripePaymentStatusPublic : chunkDXQX7ZIL_cjs.getStripePaymentStatus;
|
|
84
84
|
const response = await getStatus(sessionId, orderNumber, paymentLinkUrl);
|
|
85
85
|
const data = response.data;
|
|
86
86
|
if (data.payment_status === "paid" || data.status === "complete") {
|
|
87
87
|
try {
|
|
88
|
-
const orderResponse = await
|
|
88
|
+
const orderResponse = await chunkDXQX7ZIL_cjs.getOrderDetailsByNumber(orderNumber);
|
|
89
89
|
const order = orderResponse.data;
|
|
90
90
|
callbacks.onOrderLoaded?.(order);
|
|
91
91
|
chunkK44JZ5NL_cjs.pixelEvents.purchase(order);
|
|
@@ -103,10 +103,10 @@ async function checkStripeReturnStatus(sessionId, orderNumber, paymentLinkUrl, c
|
|
|
103
103
|
}
|
|
104
104
|
async function checkTabbyReturnStatus(orderNumber, callbacks) {
|
|
105
105
|
try {
|
|
106
|
-
const response = await
|
|
106
|
+
const response = await chunkDXQX7ZIL_cjs.verifyTabbyPayment(orderNumber);
|
|
107
107
|
if (response.data.order_status === "paid" || response.data.order_status === "confirmed") {
|
|
108
108
|
try {
|
|
109
|
-
const orderResponse = await
|
|
109
|
+
const orderResponse = await chunkDXQX7ZIL_cjs.getOrderDetailsByNumber(orderNumber);
|
|
110
110
|
const order = orderResponse.data;
|
|
111
111
|
callbacks.onOrderLoaded?.(order);
|
|
112
112
|
chunkK44JZ5NL_cjs.pixelEvents.purchase(order);
|
|
@@ -125,55 +125,55 @@ async function checkTabbyReturnStatus(orderNumber, callbacks) {
|
|
|
125
125
|
|
|
126
126
|
Object.defineProperty(exports, "applyCheckoutCoupon", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkPZJT2Y5B_cjs.applyCheckoutCoupon; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "fetchAppliedCoupon", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkPZJT2Y5B_cjs.fetchAppliedCoupon; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "fetchAvailableCoupons", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkPZJT2Y5B_cjs.fetchAvailableCoupons; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "handleCODPayment", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkPZJT2Y5B_cjs.handleCODPayment; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "handlePhonepePayment", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkPZJT2Y5B_cjs.handlePhonepePayment; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "handleRazorpayFail", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkPZJT2Y5B_cjs.handleRazorpayFail; }
|
|
149
149
|
});
|
|
150
150
|
Object.defineProperty(exports, "handleRazorpaySuccess", {
|
|
151
151
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkPZJT2Y5B_cjs.handleRazorpaySuccess; }
|
|
153
153
|
});
|
|
154
154
|
Object.defineProperty(exports, "handleStripePayment", {
|
|
155
155
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkPZJT2Y5B_cjs.handleStripePayment; }
|
|
157
157
|
});
|
|
158
158
|
Object.defineProperty(exports, "handleStripeSuccess", {
|
|
159
159
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunkPZJT2Y5B_cjs.handleStripeSuccess; }
|
|
161
161
|
});
|
|
162
162
|
Object.defineProperty(exports, "handleTabbyPayment", {
|
|
163
163
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkPZJT2Y5B_cjs.handleTabbyPayment; }
|
|
165
165
|
});
|
|
166
166
|
Object.defineProperty(exports, "openRazorpayCheckout", {
|
|
167
167
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkPZJT2Y5B_cjs.openRazorpayCheckout; }
|
|
169
169
|
});
|
|
170
170
|
Object.defineProperty(exports, "processPayment", {
|
|
171
171
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkPZJT2Y5B_cjs.processPayment; }
|
|
173
173
|
});
|
|
174
174
|
Object.defineProperty(exports, "removeCheckoutCoupon", {
|
|
175
175
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkPZJT2Y5B_cjs.removeCheckoutCoupon; }
|
|
177
177
|
});
|
|
178
178
|
Object.defineProperty(exports, "IP_API_CACHE_KEY", {
|
|
179
179
|
enumerable: true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Yup from 'yup';
|
|
2
|
-
import { C as Cart, c as Coupon } from '../cart-
|
|
2
|
+
import { C as Cart, c as Coupon } from '../cart-CuLMWnfy.cjs';
|
|
3
3
|
import { O as Order } from '../orders-CjNmCY5I.cjs';
|
|
4
4
|
import '../product-DJMdi4D4.cjs';
|
|
5
5
|
import 'react-toastify';
|
|
@@ -194,7 +194,7 @@ declare function handleRazorpaySuccess(data: {
|
|
|
194
194
|
/**
|
|
195
195
|
* Handle Razorpay payment failure — notify the backend.
|
|
196
196
|
*/
|
|
197
|
-
declare function handleRazorpayFail(order: Order.OrderSummary, callbacks: PaymentCallbacks): Promise<void>;
|
|
197
|
+
declare function handleRazorpayFail(order: Order.OrderSummary, callbacks: PaymentCallbacks, error?: any): Promise<void>;
|
|
198
198
|
/**
|
|
199
199
|
* Handle PhonePe payment — redirect to the PhonePe URL.
|
|
200
200
|
*/
|
package/dist/checkout/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Yup from 'yup';
|
|
2
|
-
import { C as Cart, c as Coupon } from '../cart-
|
|
2
|
+
import { C as Cart, c as Coupon } from '../cart-CLf2ljxd.js';
|
|
3
3
|
import { O as Order } from '../orders-L_8eIkUS.js';
|
|
4
4
|
import '../product-DJMdi4D4.js';
|
|
5
5
|
import 'react-toastify';
|
|
@@ -194,7 +194,7 @@ declare function handleRazorpaySuccess(data: {
|
|
|
194
194
|
/**
|
|
195
195
|
* Handle Razorpay payment failure — notify the backend.
|
|
196
196
|
*/
|
|
197
|
-
declare function handleRazorpayFail(order: Order.OrderSummary, callbacks: PaymentCallbacks): Promise<void>;
|
|
197
|
+
declare function handleRazorpayFail(order: Order.OrderSummary, callbacks: PaymentCallbacks, error?: any): Promise<void>;
|
|
198
198
|
/**
|
|
199
199
|
* Handle PhonePe payment — redirect to the PhonePe URL.
|
|
200
200
|
*/
|
package/dist/checkout/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { applyCheckoutCoupon, fetchAppliedCoupon, fetchAvailableCoupons, handleCODPayment, handlePhonepePayment, handleRazorpayFail, handleRazorpaySuccess, handleStripePayment, handleStripeSuccess, handleTabbyPayment, openRazorpayCheckout, processPayment, removeCheckoutCoupon } from '../chunk-
|
|
1
|
+
export { applyCheckoutCoupon, fetchAppliedCoupon, fetchAvailableCoupons, handleCODPayment, handlePhonepePayment, handleRazorpayFail, handleRazorpaySuccess, handleStripePayment, handleStripeSuccess, handleTabbyPayment, openRazorpayCheckout, processPayment, removeCheckoutCoupon } from '../chunk-NXQIWB36.js';
|
|
2
2
|
import '../chunk-7M5CVYZJ.js';
|
|
3
3
|
import { pixelEvents } from '../chunk-WFDKKOO7.js';
|
|
4
|
-
import { checkPhonepePaymentStatus, getOrderDetailsByNumber, getStripePaymentStatusPublic, getStripePaymentStatus, verifyTabbyPayment } from '../chunk-
|
|
4
|
+
import { checkPhonepePaymentStatus, getOrderDetailsByNumber, getStripePaymentStatusPublic, getStripePaymentStatus, verifyTabbyPayment } from '../chunk-S3ZZ3ZA7.js';
|
|
5
5
|
export { IP_API_CACHE_KEY, addressFormInitialValues, addressValidationSchema, buildAddressPayload, buildSubmitPayload, clearAddressFormSession, decodeAddress, encodeAddress, isValidPhoneNumber, loadAddressFormFromSession, parseEditAddress, sanitizePhoneNumber, saveAddressFormToSession } from '../chunk-ELP23UGF.js';
|
|
6
6
|
import '../chunk-3SYYP3XV.js';
|
|
7
7
|
import '../chunk-WEMNXIRS.js';
|