@storepecker/storefront-core 2.6.3 → 2.9.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.
- package/dist/api/index.cjs +90 -46
- package/dist/api/index.d.cts +99 -7
- package/dist/api/index.d.ts +99 -7
- package/dist/api/index.js +3 -3
- package/dist/buy-now-B1dkx82V.d.cts +197 -0
- package/dist/buy-now-BgKd5p4J.d.ts +197 -0
- package/dist/checkout/index.cjs +78 -31
- package/dist/checkout/index.d.cts +47 -9
- package/dist/checkout/index.d.ts +47 -9
- package/dist/checkout/index.js +64 -18
- package/dist/{chunk-GTV42PDK.cjs → chunk-57UU7IJ2.cjs} +1 -0
- package/dist/{chunk-ZQOESVVE.cjs → chunk-CIBMO44U.cjs} +26 -31
- package/dist/{chunk-5BT3MH4A.cjs → chunk-ETXIP5XE.cjs} +3 -3
- package/dist/{chunk-LZADKC4Y.cjs → chunk-H6FJYRO3.cjs} +55 -3
- package/dist/{chunk-ME6Z7TZW.js → chunk-KCLVR6G5.js} +45 -4
- package/dist/{chunk-LCMJYFHC.cjs → chunk-NQZ5GUOG.cjs} +0 -1
- package/dist/{chunk-4C4NTH6O.js → chunk-OOFYY6GR.js} +1 -0
- package/dist/{chunk-PGBYYKFQ.js → chunk-SU5LVRZD.js} +9 -14
- package/dist/{chunk-QSHOJ3NJ.cjs → chunk-TFWTQTWE.cjs} +40 -19
- package/dist/{chunk-H32TICAM.js → chunk-TH7OAMGC.js} +0 -1
- package/dist/{chunk-VYHAWRJR.js → chunk-UWW5YIHL.js} +39 -18
- package/dist/{chunk-TY5NK7NW.js → chunk-YMZZCVZ2.js} +1 -1
- package/dist/components/digital-product-download-modal.d.cts +1 -1
- package/dist/components/digital-product-download-modal.d.ts +1 -1
- 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 +564 -29
- package/dist/hooks/index.d.cts +179 -2
- package/dist/hooks/index.d.ts +179 -2
- package/dist/hooks/index.js +541 -10
- package/dist/middleware/index.cjs +3 -3
- package/dist/middleware/index.js +1 -1
- package/dist/models/index.d.cts +2 -1
- package/dist/models/index.d.ts +2 -1
- package/dist/{orders-9_scVq_M.d.cts → orders-COKWr7K7.d.cts} +1 -0
- package/dist/{orders-C1XZr8tx.d.ts → orders-Cp8qNCrl.d.ts} +1 -0
- package/dist/{pixelEvents-D0sH22Er.d.ts → pixelEvents-2Tb-_fRP.d.ts} +2 -1
- package/dist/{pixelEvents-uiPHbiAQ.d.cts → pixelEvents-BJNH06rS.d.cts} +2 -1
- package/dist/store/index.cjs +9 -9
- package/dist/store/index.d.cts +9 -4
- package/dist/store/index.d.ts +9 -4
- package/dist/store/index.js +4 -4
- package/dist/utils/index.cjs +7 -7
- package/dist/utils/index.d.cts +4 -3
- package/dist/utils/index.d.ts +4 -3
- package/dist/utils/index.js +2 -2
- 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
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var chunkETXIP5XE_cjs = require('../chunk-ETXIP5XE.cjs');
|
|
5
|
+
require('../chunk-NQZ5GUOG.cjs');
|
|
6
6
|
var chunkXFOUNOKO_cjs = require('../chunk-XFOUNOKO.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkH6FJYRO3_cjs = require('../chunk-H6FJYRO3.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');
|
|
@@ -173,71 +173,71 @@ Object.defineProperty(exports, "updateUserDetails", {
|
|
|
173
173
|
});
|
|
174
174
|
Object.defineProperty(exports, "addToCart", {
|
|
175
175
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkETXIP5XE_cjs.addToCart; }
|
|
177
177
|
});
|
|
178
178
|
Object.defineProperty(exports, "addWishlist", {
|
|
179
179
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkETXIP5XE_cjs.addWishlist; }
|
|
181
181
|
});
|
|
182
182
|
Object.defineProperty(exports, "getCart", {
|
|
183
183
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkETXIP5XE_cjs.getCart; }
|
|
185
185
|
});
|
|
186
186
|
Object.defineProperty(exports, "getCartItemQuantity", {
|
|
187
187
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkETXIP5XE_cjs.getCartItemQuantity; }
|
|
189
189
|
});
|
|
190
190
|
Object.defineProperty(exports, "getCategories", {
|
|
191
191
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkETXIP5XE_cjs.getCategories; }
|
|
193
193
|
});
|
|
194
194
|
Object.defineProperty(exports, "getDigitalProductDownloadLink", {
|
|
195
195
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkETXIP5XE_cjs.getDigitalProductDownloadLink; }
|
|
197
197
|
});
|
|
198
198
|
Object.defineProperty(exports, "getProductCategories", {
|
|
199
199
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkETXIP5XE_cjs.getProductCategories; }
|
|
201
201
|
});
|
|
202
202
|
Object.defineProperty(exports, "getProductDetail", {
|
|
203
203
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunkETXIP5XE_cjs.getProductDetail; }
|
|
205
205
|
});
|
|
206
206
|
Object.defineProperty(exports, "getProductDetailBySlug", {
|
|
207
207
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkETXIP5XE_cjs.getProductDetailBySlug; }
|
|
209
209
|
});
|
|
210
210
|
Object.defineProperty(exports, "getProductList", {
|
|
211
211
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkETXIP5XE_cjs.getProductList; }
|
|
213
213
|
});
|
|
214
214
|
Object.defineProperty(exports, "getProducts", {
|
|
215
215
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkETXIP5XE_cjs.getProducts; }
|
|
217
217
|
});
|
|
218
218
|
Object.defineProperty(exports, "getWishlist", {
|
|
219
219
|
enumerable: true,
|
|
220
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunkETXIP5XE_cjs.getWishlist; }
|
|
221
221
|
});
|
|
222
222
|
Object.defineProperty(exports, "notifyProductStock", {
|
|
223
223
|
enumerable: true,
|
|
224
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunkETXIP5XE_cjs.notifyProductStock; }
|
|
225
225
|
});
|
|
226
226
|
Object.defineProperty(exports, "removeFromCart", {
|
|
227
227
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunkETXIP5XE_cjs.removeFromCart; }
|
|
229
229
|
});
|
|
230
230
|
Object.defineProperty(exports, "removeFromWishlist", {
|
|
231
231
|
enumerable: true,
|
|
232
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunkETXIP5XE_cjs.removeFromWishlist; }
|
|
233
233
|
});
|
|
234
234
|
Object.defineProperty(exports, "updateCart", {
|
|
235
235
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
236
|
+
get: function () { return chunkETXIP5XE_cjs.updateCart; }
|
|
237
237
|
});
|
|
238
238
|
Object.defineProperty(exports, "updateDigitalProductDownloadLinkCount", {
|
|
239
239
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
240
|
+
get: function () { return chunkETXIP5XE_cjs.updateDigitalProductDownloadLinkCount; }
|
|
241
241
|
});
|
|
242
242
|
Object.defineProperty(exports, "applyCoupon", {
|
|
243
243
|
enumerable: true,
|
|
@@ -255,109 +255,153 @@ Object.defineProperty(exports, "removeCoupon", {
|
|
|
255
255
|
enumerable: true,
|
|
256
256
|
get: function () { return chunkXFOUNOKO_cjs.removeCoupon; }
|
|
257
257
|
});
|
|
258
|
+
Object.defineProperty(exports, "buyNowPreview", {
|
|
259
|
+
enumerable: true,
|
|
260
|
+
get: function () { return chunkH6FJYRO3_cjs.buyNowPreview; }
|
|
261
|
+
});
|
|
258
262
|
Object.defineProperty(exports, "checkPhonepePaymentStatus", {
|
|
259
263
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
264
|
+
get: function () { return chunkH6FJYRO3_cjs.checkPhonepePaymentStatus; }
|
|
265
|
+
});
|
|
266
|
+
Object.defineProperty(exports, "checkPhonepePaymentStatusPublic", {
|
|
267
|
+
enumerable: true,
|
|
268
|
+
get: function () { return chunkH6FJYRO3_cjs.checkPhonepePaymentStatusPublic; }
|
|
261
269
|
});
|
|
262
270
|
Object.defineProperty(exports, "getOrderDetails", {
|
|
263
271
|
enumerable: true,
|
|
264
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunkH6FJYRO3_cjs.getOrderDetails; }
|
|
265
273
|
});
|
|
266
274
|
Object.defineProperty(exports, "getOrderDetailsByNumber", {
|
|
267
275
|
enumerable: true,
|
|
268
|
-
get: function () { return
|
|
276
|
+
get: function () { return chunkH6FJYRO3_cjs.getOrderDetailsByNumber; }
|
|
269
277
|
});
|
|
270
278
|
Object.defineProperty(exports, "getOrderDetailsByRef", {
|
|
271
279
|
enumerable: true,
|
|
272
|
-
get: function () { return
|
|
280
|
+
get: function () { return chunkH6FJYRO3_cjs.getOrderDetailsByRef; }
|
|
273
281
|
});
|
|
274
282
|
Object.defineProperty(exports, "getOrderDetailsByRefV2", {
|
|
275
283
|
enumerable: true,
|
|
276
|
-
get: function () { return
|
|
284
|
+
get: function () { return chunkH6FJYRO3_cjs.getOrderDetailsByRefV2; }
|
|
277
285
|
});
|
|
278
286
|
Object.defineProperty(exports, "getOrders", {
|
|
279
287
|
enumerable: true,
|
|
280
|
-
get: function () { return
|
|
288
|
+
get: function () { return chunkH6FJYRO3_cjs.getOrders; }
|
|
281
289
|
});
|
|
282
290
|
Object.defineProperty(exports, "getPublicOrderDetailsByNumber", {
|
|
283
291
|
enumerable: true,
|
|
284
|
-
get: function () { return
|
|
292
|
+
get: function () { return chunkH6FJYRO3_cjs.getPublicOrderDetailsByNumber; }
|
|
285
293
|
});
|
|
286
294
|
Object.defineProperty(exports, "getPublicOrderDetailsByRef", {
|
|
287
295
|
enumerable: true,
|
|
288
|
-
get: function () { return
|
|
296
|
+
get: function () { return chunkH6FJYRO3_cjs.getPublicOrderDetailsByRef; }
|
|
289
297
|
});
|
|
290
298
|
Object.defineProperty(exports, "getStripePaymentStatus", {
|
|
291
299
|
enumerable: true,
|
|
292
|
-
get: function () { return
|
|
300
|
+
get: function () { return chunkH6FJYRO3_cjs.getStripePaymentStatus; }
|
|
293
301
|
});
|
|
294
302
|
Object.defineProperty(exports, "getStripePaymentStatusPublic", {
|
|
295
303
|
enumerable: true,
|
|
296
|
-
get: function () { return
|
|
304
|
+
get: function () { return chunkH6FJYRO3_cjs.getStripePaymentStatusPublic; }
|
|
297
305
|
});
|
|
298
306
|
Object.defineProperty(exports, "makeCODOrder", {
|
|
299
307
|
enumerable: true,
|
|
300
|
-
get: function () { return
|
|
308
|
+
get: function () { return chunkH6FJYRO3_cjs.makeCODOrder; }
|
|
301
309
|
});
|
|
302
310
|
Object.defineProperty(exports, "phonepeOrderSuccess", {
|
|
303
311
|
enumerable: true,
|
|
304
|
-
get: function () { return
|
|
312
|
+
get: function () { return chunkH6FJYRO3_cjs.phonepeOrderSuccess; }
|
|
313
|
+
});
|
|
314
|
+
Object.defineProperty(exports, "phonepePaymentFailure", {
|
|
315
|
+
enumerable: true,
|
|
316
|
+
get: function () { return chunkH6FJYRO3_cjs.phonepePaymentFailure; }
|
|
305
317
|
});
|
|
306
318
|
Object.defineProperty(exports, "phonepePublicOrderSuccess", {
|
|
307
319
|
enumerable: true,
|
|
308
|
-
get: function () { return
|
|
320
|
+
get: function () { return chunkH6FJYRO3_cjs.phonepePublicOrderSuccess; }
|
|
321
|
+
});
|
|
322
|
+
Object.defineProperty(exports, "placeBuyNowOrder", {
|
|
323
|
+
enumerable: true,
|
|
324
|
+
get: function () { return chunkH6FJYRO3_cjs.placeBuyNowOrder; }
|
|
325
|
+
});
|
|
326
|
+
Object.defineProperty(exports, "placeGuestBuyNowOrder", {
|
|
327
|
+
enumerable: true,
|
|
328
|
+
get: function () { return chunkH6FJYRO3_cjs.placeGuestBuyNowOrder; }
|
|
309
329
|
});
|
|
310
330
|
Object.defineProperty(exports, "placeOrder", {
|
|
311
331
|
enumerable: true,
|
|
312
|
-
get: function () { return
|
|
332
|
+
get: function () { return chunkH6FJYRO3_cjs.placeOrder; }
|
|
333
|
+
});
|
|
334
|
+
Object.defineProperty(exports, "placePublicOrder", {
|
|
335
|
+
enumerable: true,
|
|
336
|
+
get: function () { return chunkH6FJYRO3_cjs.placePublicOrder; }
|
|
337
|
+
});
|
|
338
|
+
Object.defineProperty(exports, "publicCheckoutPreview", {
|
|
339
|
+
enumerable: true,
|
|
340
|
+
get: function () { return chunkH6FJYRO3_cjs.publicCheckoutPreview; }
|
|
313
341
|
});
|
|
314
342
|
Object.defineProperty(exports, "publicMakeCODOrder", {
|
|
315
343
|
enumerable: true,
|
|
316
|
-
get: function () { return
|
|
344
|
+
get: function () { return chunkH6FJYRO3_cjs.publicMakeCODOrder; }
|
|
345
|
+
});
|
|
346
|
+
Object.defineProperty(exports, "publicPhonepeOrderFailure", {
|
|
347
|
+
enumerable: true,
|
|
348
|
+
get: function () { return chunkH6FJYRO3_cjs.publicPhonepeOrderFailure; }
|
|
317
349
|
});
|
|
318
350
|
Object.defineProperty(exports, "publicPlaceOrder", {
|
|
319
351
|
enumerable: true,
|
|
320
|
-
get: function () { return
|
|
352
|
+
get: function () { return chunkH6FJYRO3_cjs.publicPlaceOrder; }
|
|
353
|
+
});
|
|
354
|
+
Object.defineProperty(exports, "publicRazorpayOrderFailure", {
|
|
355
|
+
enumerable: true,
|
|
356
|
+
get: function () { return chunkH6FJYRO3_cjs.publicRazorpayOrderFailure; }
|
|
357
|
+
});
|
|
358
|
+
Object.defineProperty(exports, "publicStripeOrderFailure", {
|
|
359
|
+
enumerable: true,
|
|
360
|
+
get: function () { return chunkH6FJYRO3_cjs.publicStripeOrderFailure; }
|
|
321
361
|
});
|
|
322
362
|
Object.defineProperty(exports, "razorpayOrderFail", {
|
|
323
363
|
enumerable: true,
|
|
324
|
-
get: function () { return
|
|
364
|
+
get: function () { return chunkH6FJYRO3_cjs.razorpayOrderFail; }
|
|
325
365
|
});
|
|
326
366
|
Object.defineProperty(exports, "razorpayOrderSuccess", {
|
|
327
367
|
enumerable: true,
|
|
328
|
-
get: function () { return
|
|
368
|
+
get: function () { return chunkH6FJYRO3_cjs.razorpayOrderSuccess; }
|
|
329
369
|
});
|
|
330
370
|
Object.defineProperty(exports, "razorpayPublicOrderSuccess", {
|
|
331
371
|
enumerable: true,
|
|
332
|
-
get: function () { return
|
|
372
|
+
get: function () { return chunkH6FJYRO3_cjs.razorpayPublicOrderSuccess; }
|
|
333
373
|
});
|
|
334
374
|
Object.defineProperty(exports, "stripeOrderFail", {
|
|
335
375
|
enumerable: true,
|
|
336
|
-
get: function () { return
|
|
376
|
+
get: function () { return chunkH6FJYRO3_cjs.stripeOrderFail; }
|
|
337
377
|
});
|
|
338
378
|
Object.defineProperty(exports, "stripeOrderSuccess", {
|
|
339
379
|
enumerable: true,
|
|
340
|
-
get: function () { return
|
|
380
|
+
get: function () { return chunkH6FJYRO3_cjs.stripeOrderSuccess; }
|
|
341
381
|
});
|
|
342
382
|
Object.defineProperty(exports, "stripePublicOrderSuccess", {
|
|
343
383
|
enumerable: true,
|
|
344
|
-
get: function () { return
|
|
384
|
+
get: function () { return chunkH6FJYRO3_cjs.stripePublicOrderSuccess; }
|
|
385
|
+
});
|
|
386
|
+
Object.defineProperty(exports, "tabbyPaymentFailure", {
|
|
387
|
+
enumerable: true,
|
|
388
|
+
get: function () { return chunkH6FJYRO3_cjs.tabbyPaymentFailure; }
|
|
345
389
|
});
|
|
346
390
|
Object.defineProperty(exports, "updateOrder", {
|
|
347
391
|
enumerable: true,
|
|
348
|
-
get: function () { return
|
|
392
|
+
get: function () { return chunkH6FJYRO3_cjs.updateOrder; }
|
|
349
393
|
});
|
|
350
394
|
Object.defineProperty(exports, "updateOrderCustomization", {
|
|
351
395
|
enumerable: true,
|
|
352
|
-
get: function () { return
|
|
396
|
+
get: function () { return chunkH6FJYRO3_cjs.updateOrderCustomization; }
|
|
353
397
|
});
|
|
354
398
|
Object.defineProperty(exports, "uploadCustomizationImage", {
|
|
355
399
|
enumerable: true,
|
|
356
|
-
get: function () { return
|
|
400
|
+
get: function () { return chunkH6FJYRO3_cjs.uploadCustomizationImage; }
|
|
357
401
|
});
|
|
358
402
|
Object.defineProperty(exports, "verifyTabbyPayment", {
|
|
359
403
|
enumerable: true,
|
|
360
|
-
get: function () { return
|
|
404
|
+
get: function () { return chunkH6FJYRO3_cjs.verifyTabbyPayment; }
|
|
361
405
|
});
|
|
362
406
|
Object.defineProperty(exports, "addAddress", {
|
|
363
407
|
enumerable: true,
|
package/dist/api/index.d.cts
CHANGED
|
@@ -3,7 +3,8 @@ import { AxiosInstance, AxiosResponse } from 'axios';
|
|
|
3
3
|
import { A as Address } from '../address-DwBZHzbI.cjs';
|
|
4
4
|
import { U as User, C as Cart, d as CouponResponse, c as Coupon, b as Category } from '../cart-CyN2JQTw.cjs';
|
|
5
5
|
import { d as Product, f as ProductDetail } from '../product-CZtFWhxO.cjs';
|
|
6
|
-
import { O as Order } from '../orders-
|
|
6
|
+
import { O as Order } from '../orders-COKWr7K7.cjs';
|
|
7
|
+
import { B as BuyNow, P as PublicCheckout } from '../buy-now-B1dkx82V.cjs';
|
|
7
8
|
import { W as Wishlist } from '../wishlist-Cx9Vrszq.cjs';
|
|
8
9
|
import { C as CollectionResponse } from '../collections-8YdINtUf.cjs';
|
|
9
10
|
import { R as Review, A as Analytics, a as Booking, B as Blog, I as Instagram } from '../instagram-D4JUT4ZU.cjs';
|
|
@@ -79,9 +80,6 @@ declare function getOrderDetails(orderId: number): Promise<AxiosResponse<Order.R
|
|
|
79
80
|
declare function getOrderDetailsByNumber(orderNumber: number): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
80
81
|
declare function getOrderDetailsByRef(orderRef: string): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
81
82
|
declare function getOrderDetailsByRefV2(orderRef: string): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
82
|
-
/**
|
|
83
|
-
* @deprecated Use getPublicOrderDetailsByRef instead
|
|
84
|
-
*/
|
|
85
83
|
declare function getPublicOrderDetailsByNumber(orderNumber: number): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
86
84
|
declare function getPublicOrderDetailsByRef(orderRef: string): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
87
85
|
declare function placeOrder(address_id: number, redirect: string, isCod?: boolean, shipping_option_id?: number, stripeRedirect?: string, tabbyRedirect?: string): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
@@ -95,8 +93,86 @@ interface PublicOrderDetails {
|
|
|
95
93
|
is_cod?: boolean;
|
|
96
94
|
}
|
|
97
95
|
declare function publicPlaceOrder(address: unknown, redirect: string, orderDetails: PublicOrderDetails, stripeRedirect?: string, tabbyRedirect?: string): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
96
|
+
/**
|
|
97
|
+
* Prices a single inline item for Buy Now. Never persists anything and never
|
|
98
|
+
* touches the customer's cart. Safe to call on every quantity/coupon/address/
|
|
99
|
+
* shipping change. JWT optional — send it for logged-in customers to enable
|
|
100
|
+
* saved-address and cached-coupon resolution; omit it for guests (an inline
|
|
101
|
+
* `address` is used instead).
|
|
102
|
+
*/
|
|
103
|
+
declare function buyNowPreview(payload: BuyNow.PreviewPayload): Promise<AxiosResponse<BuyNow.PreviewResponse>>;
|
|
104
|
+
/**
|
|
105
|
+
* Places a buy-now order for a logged-in customer. Returns the full order object
|
|
106
|
+
* plus gateway payloads — drive payment exactly like the cart checkout.
|
|
107
|
+
*/
|
|
108
|
+
declare function placeBuyNowOrder(payload: BuyNow.PlaceOrderPayload): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
109
|
+
/**
|
|
110
|
+
* Places a buy-now order for a GUEST through the existing public checkout,
|
|
111
|
+
* flagged with `is_buy_now`. Only allowed when the store has public checkout
|
|
112
|
+
* enabled — otherwise the backend rejects it and the guest must log in first.
|
|
113
|
+
*
|
|
114
|
+
* Returns the same order + gateway payloads as the authenticated endpoint.
|
|
115
|
+
*/
|
|
116
|
+
declare function placeGuestBuyNowOrder(payload: BuyNow.GuestPlaceOrderPayload): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
117
|
+
/**
|
|
118
|
+
* Prices the whole guest cart. Never persists anything — no order, no cart, no
|
|
119
|
+
* customer record — so it is safe to call on every change the customer makes.
|
|
120
|
+
*
|
|
121
|
+
* Always re-price through this instead of computing totals locally (including
|
|
122
|
+
* the COD charge): the returned `total_amount` is contractually equal to what
|
|
123
|
+
* placement will charge for the same payload. JWT optional — send it for a
|
|
124
|
+
* logged-in customer to unlock saved-address and cached-coupon resolution.
|
|
125
|
+
*/
|
|
126
|
+
declare function publicCheckoutPreview(payload: PublicCheckout.PreviewPayload): Promise<AxiosResponse<PublicCheckout.PreviewResponse>>;
|
|
127
|
+
/**
|
|
128
|
+
* Places the guest order from a single flat payload (contact + address +
|
|
129
|
+
* cart_items + gateway urls). Same endpoint as `publicPlaceOrder`, but takes
|
|
130
|
+
* the whole body at once — the shape `usePublicCheckout` builds.
|
|
131
|
+
*
|
|
132
|
+
* Stock is only enforced here — the preview's `missing_items` is advisory — so
|
|
133
|
+
* expect ITEM_UNAVAILABLE / CHECKOUT_STOCK_ERROR and re-price on failure.
|
|
134
|
+
*/
|
|
135
|
+
declare function placePublicOrder(payload: PublicCheckout.PlaceOrderPayload): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
98
136
|
declare function updateOrder(orderDetails: unknown): Promise<AxiosResponse<Cart.Root>>;
|
|
99
137
|
declare function razorpayPublicOrderSuccess(orderDetails: unknown): Promise<AxiosResponse<Cart.Root>>;
|
|
138
|
+
/**
|
|
139
|
+
* Every outcome is HTTP 200 — branch on `message` / `order_status`, not the
|
|
140
|
+
* status code.
|
|
141
|
+
*/
|
|
142
|
+
interface PaymentFailureResult {
|
|
143
|
+
message?: string;
|
|
144
|
+
order_id?: number;
|
|
145
|
+
order_number?: number;
|
|
146
|
+
order_status?: string;
|
|
147
|
+
}
|
|
148
|
+
declare function publicRazorpayOrderFailure(orderDetails: {
|
|
149
|
+
order_id?: number | string;
|
|
150
|
+
order_number?: number;
|
|
151
|
+
razorpay_order_id: string;
|
|
152
|
+
error?: unknown;
|
|
153
|
+
}): Promise<AxiosResponse<PaymentFailureResult>>;
|
|
154
|
+
declare function publicPhonepeOrderFailure(payload: {
|
|
155
|
+
id: string;
|
|
156
|
+
status: "REJECTED" | "EXPIRED";
|
|
157
|
+
}): Promise<AxiosResponse<{
|
|
158
|
+
message?: string;
|
|
159
|
+
}>>;
|
|
160
|
+
declare function phonepePaymentFailure(payload: {
|
|
161
|
+
order_id: number;
|
|
162
|
+
phonepe_transaction_id: string;
|
|
163
|
+
}): Promise<AxiosResponse<{
|
|
164
|
+
message?: string;
|
|
165
|
+
}>>;
|
|
166
|
+
declare function publicStripeOrderFailure(orderDetails: {
|
|
167
|
+
payment_intent_id: string;
|
|
168
|
+
order_id?: number | string;
|
|
169
|
+
order_number?: number;
|
|
170
|
+
}): Promise<AxiosResponse<PaymentFailureResult & {
|
|
171
|
+
payment_intent_status?: string;
|
|
172
|
+
}>>;
|
|
173
|
+
declare function tabbyPaymentFailure(paymentId: string): Promise<AxiosResponse<{
|
|
174
|
+
message?: string;
|
|
175
|
+
}>>;
|
|
100
176
|
declare function razorpayOrderSuccess(orderDetails: unknown): Promise<AxiosResponse<Cart.Root>>;
|
|
101
177
|
declare function razorpayOrderFail(orderDetails: unknown): Promise<AxiosResponse<Cart.Root>>;
|
|
102
178
|
declare function phonepePublicOrderSuccess(orderDetails: unknown): Promise<AxiosResponse<Cart.Root>>;
|
|
@@ -105,13 +181,29 @@ declare function checkPhonepePaymentStatus(transactionId: string): Promise<Axios
|
|
|
105
181
|
message: string;
|
|
106
182
|
success: boolean;
|
|
107
183
|
}>>;
|
|
184
|
+
/**
|
|
185
|
+
* Public (guest) PhonePe status poll. The PhonePe endpoint serves both POST
|
|
186
|
+
* (report success) and GET (check status) on the same URL, so the public status
|
|
187
|
+
* check is a GET on the public order-success route — not a separate `-status` one.
|
|
188
|
+
* Needed for guest buy-now / public checkout on the return leg from PhonePe.
|
|
189
|
+
*/
|
|
190
|
+
declare function checkPhonepePaymentStatusPublic(transactionId: string): Promise<AxiosResponse<{
|
|
191
|
+
message: string;
|
|
192
|
+
success: boolean;
|
|
193
|
+
}>>;
|
|
108
194
|
declare function getStripePaymentStatus(stripeCheckoutSessionId: string, order_number: number, payment_link_id: string): Promise<AxiosResponse<Order.StripePaymentStatus>>;
|
|
109
195
|
declare function getStripePaymentStatusPublic(stripeCheckoutSessionId: string, order_number: number, payment_link_id: string): Promise<AxiosResponse<Order.StripePaymentStatus>>;
|
|
110
196
|
declare function stripePublicOrderSuccess(orderDetails: unknown): Promise<AxiosResponse<Cart.Root>>;
|
|
111
197
|
declare function stripeOrderSuccess(orderDetails: unknown): Promise<AxiosResponse<Cart.Root>>;
|
|
112
|
-
declare function stripeOrderFail(orderDetails:
|
|
198
|
+
declare function stripeOrderFail(orderDetails: {
|
|
199
|
+
order_id: number;
|
|
200
|
+
payment_intent_id: string;
|
|
201
|
+
}): Promise<AxiosResponse<Cart.Root>>;
|
|
113
202
|
declare function makeCODOrder(orderId: number): Promise<AxiosResponse<unknown>>;
|
|
114
|
-
declare function publicMakeCODOrder(orderNumber: number
|
|
203
|
+
declare function publicMakeCODOrder(orderNumber: number, ownership?: {
|
|
204
|
+
customer_phone?: string;
|
|
205
|
+
customer_email?: string;
|
|
206
|
+
}): Promise<AxiosResponse<Cart.Root>>;
|
|
115
207
|
declare function updateOrderCustomization(customizationInput: unknown): Promise<AxiosResponse<undefined>>;
|
|
116
208
|
declare function uploadCustomizationImage(uploadForm: FormData): Promise<AxiosResponse<{
|
|
117
209
|
image_paths: string[];
|
|
@@ -197,4 +289,4 @@ declare function getMultipleBlogsBySlugs(slugs: string): Promise<AxiosResponse<{
|
|
|
197
289
|
*/
|
|
198
290
|
declare function getInstagramMedia(ids: string | (string | number)[]): Promise<AxiosResponse<Instagram.MediaRefreshResponse>>;
|
|
199
291
|
|
|
200
|
-
export { type BookingFilter, type OTPCredentials, type VerifyOTPCredentials, addAddress, addReview, addToCart, addWishlist, applyCoupon, checkPhonepePaymentStatus, 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, 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 };
|
|
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 };
|
package/dist/api/index.d.ts
CHANGED
|
@@ -3,7 +3,8 @@ import { AxiosInstance, AxiosResponse } from 'axios';
|
|
|
3
3
|
import { A as Address } from '../address-DwBZHzbI.js';
|
|
4
4
|
import { U as User, C as Cart, d as CouponResponse, c as Coupon, b as Category } from '../cart-BGIsIZdM.js';
|
|
5
5
|
import { d as Product, f as ProductDetail } from '../product-CZtFWhxO.js';
|
|
6
|
-
import { O as Order } from '../orders-
|
|
6
|
+
import { O as Order } from '../orders-Cp8qNCrl.js';
|
|
7
|
+
import { B as BuyNow, P as PublicCheckout } from '../buy-now-BgKd5p4J.js';
|
|
7
8
|
import { W as Wishlist } from '../wishlist-CRNbfFIx.js';
|
|
8
9
|
import { C as CollectionResponse } from '../collections-ycrA2cPL.js';
|
|
9
10
|
import { R as Review, A as Analytics, a as Booking, B as Blog, I as Instagram } from '../instagram-CqJBZ-0X.js';
|
|
@@ -79,9 +80,6 @@ declare function getOrderDetails(orderId: number): Promise<AxiosResponse<Order.R
|
|
|
79
80
|
declare function getOrderDetailsByNumber(orderNumber: number): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
80
81
|
declare function getOrderDetailsByRef(orderRef: string): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
81
82
|
declare function getOrderDetailsByRefV2(orderRef: string): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
82
|
-
/**
|
|
83
|
-
* @deprecated Use getPublicOrderDetailsByRef instead
|
|
84
|
-
*/
|
|
85
83
|
declare function getPublicOrderDetailsByNumber(orderNumber: number): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
86
84
|
declare function getPublicOrderDetailsByRef(orderRef: string): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
87
85
|
declare function placeOrder(address_id: number, redirect: string, isCod?: boolean, shipping_option_id?: number, stripeRedirect?: string, tabbyRedirect?: string): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
@@ -95,8 +93,86 @@ interface PublicOrderDetails {
|
|
|
95
93
|
is_cod?: boolean;
|
|
96
94
|
}
|
|
97
95
|
declare function publicPlaceOrder(address: unknown, redirect: string, orderDetails: PublicOrderDetails, stripeRedirect?: string, tabbyRedirect?: string): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
96
|
+
/**
|
|
97
|
+
* Prices a single inline item for Buy Now. Never persists anything and never
|
|
98
|
+
* touches the customer's cart. Safe to call on every quantity/coupon/address/
|
|
99
|
+
* shipping change. JWT optional — send it for logged-in customers to enable
|
|
100
|
+
* saved-address and cached-coupon resolution; omit it for guests (an inline
|
|
101
|
+
* `address` is used instead).
|
|
102
|
+
*/
|
|
103
|
+
declare function buyNowPreview(payload: BuyNow.PreviewPayload): Promise<AxiosResponse<BuyNow.PreviewResponse>>;
|
|
104
|
+
/**
|
|
105
|
+
* Places a buy-now order for a logged-in customer. Returns the full order object
|
|
106
|
+
* plus gateway payloads — drive payment exactly like the cart checkout.
|
|
107
|
+
*/
|
|
108
|
+
declare function placeBuyNowOrder(payload: BuyNow.PlaceOrderPayload): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
109
|
+
/**
|
|
110
|
+
* Places a buy-now order for a GUEST through the existing public checkout,
|
|
111
|
+
* flagged with `is_buy_now`. Only allowed when the store has public checkout
|
|
112
|
+
* enabled — otherwise the backend rejects it and the guest must log in first.
|
|
113
|
+
*
|
|
114
|
+
* Returns the same order + gateway payloads as the authenticated endpoint.
|
|
115
|
+
*/
|
|
116
|
+
declare function placeGuestBuyNowOrder(payload: BuyNow.GuestPlaceOrderPayload): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
117
|
+
/**
|
|
118
|
+
* Prices the whole guest cart. Never persists anything — no order, no cart, no
|
|
119
|
+
* customer record — so it is safe to call on every change the customer makes.
|
|
120
|
+
*
|
|
121
|
+
* Always re-price through this instead of computing totals locally (including
|
|
122
|
+
* the COD charge): the returned `total_amount` is contractually equal to what
|
|
123
|
+
* placement will charge for the same payload. JWT optional — send it for a
|
|
124
|
+
* logged-in customer to unlock saved-address and cached-coupon resolution.
|
|
125
|
+
*/
|
|
126
|
+
declare function publicCheckoutPreview(payload: PublicCheckout.PreviewPayload): Promise<AxiosResponse<PublicCheckout.PreviewResponse>>;
|
|
127
|
+
/**
|
|
128
|
+
* Places the guest order from a single flat payload (contact + address +
|
|
129
|
+
* cart_items + gateway urls). Same endpoint as `publicPlaceOrder`, but takes
|
|
130
|
+
* the whole body at once — the shape `usePublicCheckout` builds.
|
|
131
|
+
*
|
|
132
|
+
* Stock is only enforced here — the preview's `missing_items` is advisory — so
|
|
133
|
+
* expect ITEM_UNAVAILABLE / CHECKOUT_STOCK_ERROR and re-price on failure.
|
|
134
|
+
*/
|
|
135
|
+
declare function placePublicOrder(payload: PublicCheckout.PlaceOrderPayload): Promise<AxiosResponse<Order.OrderSummary>>;
|
|
98
136
|
declare function updateOrder(orderDetails: unknown): Promise<AxiosResponse<Cart.Root>>;
|
|
99
137
|
declare function razorpayPublicOrderSuccess(orderDetails: unknown): Promise<AxiosResponse<Cart.Root>>;
|
|
138
|
+
/**
|
|
139
|
+
* Every outcome is HTTP 200 — branch on `message` / `order_status`, not the
|
|
140
|
+
* status code.
|
|
141
|
+
*/
|
|
142
|
+
interface PaymentFailureResult {
|
|
143
|
+
message?: string;
|
|
144
|
+
order_id?: number;
|
|
145
|
+
order_number?: number;
|
|
146
|
+
order_status?: string;
|
|
147
|
+
}
|
|
148
|
+
declare function publicRazorpayOrderFailure(orderDetails: {
|
|
149
|
+
order_id?: number | string;
|
|
150
|
+
order_number?: number;
|
|
151
|
+
razorpay_order_id: string;
|
|
152
|
+
error?: unknown;
|
|
153
|
+
}): Promise<AxiosResponse<PaymentFailureResult>>;
|
|
154
|
+
declare function publicPhonepeOrderFailure(payload: {
|
|
155
|
+
id: string;
|
|
156
|
+
status: "REJECTED" | "EXPIRED";
|
|
157
|
+
}): Promise<AxiosResponse<{
|
|
158
|
+
message?: string;
|
|
159
|
+
}>>;
|
|
160
|
+
declare function phonepePaymentFailure(payload: {
|
|
161
|
+
order_id: number;
|
|
162
|
+
phonepe_transaction_id: string;
|
|
163
|
+
}): Promise<AxiosResponse<{
|
|
164
|
+
message?: string;
|
|
165
|
+
}>>;
|
|
166
|
+
declare function publicStripeOrderFailure(orderDetails: {
|
|
167
|
+
payment_intent_id: string;
|
|
168
|
+
order_id?: number | string;
|
|
169
|
+
order_number?: number;
|
|
170
|
+
}): Promise<AxiosResponse<PaymentFailureResult & {
|
|
171
|
+
payment_intent_status?: string;
|
|
172
|
+
}>>;
|
|
173
|
+
declare function tabbyPaymentFailure(paymentId: string): Promise<AxiosResponse<{
|
|
174
|
+
message?: string;
|
|
175
|
+
}>>;
|
|
100
176
|
declare function razorpayOrderSuccess(orderDetails: unknown): Promise<AxiosResponse<Cart.Root>>;
|
|
101
177
|
declare function razorpayOrderFail(orderDetails: unknown): Promise<AxiosResponse<Cart.Root>>;
|
|
102
178
|
declare function phonepePublicOrderSuccess(orderDetails: unknown): Promise<AxiosResponse<Cart.Root>>;
|
|
@@ -105,13 +181,29 @@ declare function checkPhonepePaymentStatus(transactionId: string): Promise<Axios
|
|
|
105
181
|
message: string;
|
|
106
182
|
success: boolean;
|
|
107
183
|
}>>;
|
|
184
|
+
/**
|
|
185
|
+
* Public (guest) PhonePe status poll. The PhonePe endpoint serves both POST
|
|
186
|
+
* (report success) and GET (check status) on the same URL, so the public status
|
|
187
|
+
* check is a GET on the public order-success route — not a separate `-status` one.
|
|
188
|
+
* Needed for guest buy-now / public checkout on the return leg from PhonePe.
|
|
189
|
+
*/
|
|
190
|
+
declare function checkPhonepePaymentStatusPublic(transactionId: string): Promise<AxiosResponse<{
|
|
191
|
+
message: string;
|
|
192
|
+
success: boolean;
|
|
193
|
+
}>>;
|
|
108
194
|
declare function getStripePaymentStatus(stripeCheckoutSessionId: string, order_number: number, payment_link_id: string): Promise<AxiosResponse<Order.StripePaymentStatus>>;
|
|
109
195
|
declare function getStripePaymentStatusPublic(stripeCheckoutSessionId: string, order_number: number, payment_link_id: string): Promise<AxiosResponse<Order.StripePaymentStatus>>;
|
|
110
196
|
declare function stripePublicOrderSuccess(orderDetails: unknown): Promise<AxiosResponse<Cart.Root>>;
|
|
111
197
|
declare function stripeOrderSuccess(orderDetails: unknown): Promise<AxiosResponse<Cart.Root>>;
|
|
112
|
-
declare function stripeOrderFail(orderDetails:
|
|
198
|
+
declare function stripeOrderFail(orderDetails: {
|
|
199
|
+
order_id: number;
|
|
200
|
+
payment_intent_id: string;
|
|
201
|
+
}): Promise<AxiosResponse<Cart.Root>>;
|
|
113
202
|
declare function makeCODOrder(orderId: number): Promise<AxiosResponse<unknown>>;
|
|
114
|
-
declare function publicMakeCODOrder(orderNumber: number
|
|
203
|
+
declare function publicMakeCODOrder(orderNumber: number, ownership?: {
|
|
204
|
+
customer_phone?: string;
|
|
205
|
+
customer_email?: string;
|
|
206
|
+
}): Promise<AxiosResponse<Cart.Root>>;
|
|
115
207
|
declare function updateOrderCustomization(customizationInput: unknown): Promise<AxiosResponse<undefined>>;
|
|
116
208
|
declare function uploadCustomizationImage(uploadForm: FormData): Promise<AxiosResponse<{
|
|
117
209
|
image_paths: string[];
|
|
@@ -197,4 +289,4 @@ declare function getMultipleBlogsBySlugs(slugs: string): Promise<AxiosResponse<{
|
|
|
197
289
|
*/
|
|
198
290
|
declare function getInstagramMedia(ids: string | (string | number)[]): Promise<AxiosResponse<Instagram.MediaRefreshResponse>>;
|
|
199
291
|
|
|
200
|
-
export { type BookingFilter, type OTPCredentials, type VerifyOTPCredentials, addAddress, addReview, addToCart, addWishlist, applyCoupon, checkPhonepePaymentStatus, 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, 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 };
|
|
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 };
|
package/dist/api/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { addToCart, addWishlist, getCart, getCartItemQuantity, getCategories, getDigitalProductDownloadLink, getProductCategories, getProductDetail, getProductDetailBySlug, getProductList, getProducts, getWishlist, notifyProductStock, removeFromCart, removeFromWishlist, updateCart, updateDigitalProductDownloadLinkCount } from '../chunk-YMZZCVZ2.js';
|
|
3
|
+
import '../chunk-TH7OAMGC.js';
|
|
4
4
|
export { applyCoupon, getAppliedCoupon, getCoupons, removeCoupon } from '../chunk-7M5CVYZJ.js';
|
|
5
|
-
export { checkPhonepePaymentStatus, getOrderDetails, getOrderDetailsByNumber, getOrderDetailsByRef, getOrderDetailsByRefV2, getOrders, getPublicOrderDetailsByNumber, getPublicOrderDetailsByRef, getStripePaymentStatus, getStripePaymentStatusPublic, makeCODOrder, phonepeOrderSuccess, phonepePublicOrderSuccess, placeOrder, publicMakeCODOrder, publicPlaceOrder, razorpayOrderFail, razorpayOrderSuccess, razorpayPublicOrderSuccess, stripeOrderFail, stripeOrderSuccess, stripePublicOrderSuccess, updateOrder, updateOrderCustomization, uploadCustomizationImage, verifyTabbyPayment } from '../chunk-
|
|
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
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';
|