@storepecker/storefront-core 2.3.6 → 2.4.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.
Files changed (91) hide show
  1. package/dist/api/index.cjs +28 -24
  2. package/dist/api/index.d.cts +8 -5
  3. package/dist/api/index.d.ts +8 -5
  4. package/dist/api/index.js +1 -1
  5. package/dist/{booking-CG6tul9l.d.ts → booking-BVWe8HHh.d.ts} +1 -1
  6. package/dist/{booking-DNVf5ZAS.d.cts → booking-DX9SU_qm.d.cts} +1 -1
  7. package/dist/cart-kJoawc_Z.d.cts +126 -0
  8. package/dist/cart-y-7RPmnQ.d.ts +126 -0
  9. package/dist/checkout/index.cjs +22 -22
  10. package/dist/checkout/index.d.cts +3 -1
  11. package/dist/checkout/index.d.ts +3 -1
  12. package/dist/checkout/index.js +2 -2
  13. package/dist/{chunk-BTT3XQ32.cjs → chunk-33TWVRZE.cjs} +6 -6
  14. package/dist/chunk-3YRSHPM6.cjs +34 -0
  15. package/dist/chunk-6DXB4O6P.cjs +121 -0
  16. package/dist/{chunk-ILVGYHNI.js → chunk-6Q7QMPOQ.js} +2 -1
  17. package/dist/{chunk-HTFVROIV.cjs → chunk-7UK3E7SL.cjs} +6 -0
  18. package/dist/chunk-B3BXKMQA.cjs +271 -0
  19. package/dist/chunk-BTR3HLL4.js +14 -0
  20. package/dist/chunk-EGFOTJPC.js +22 -0
  21. package/dist/{chunk-YUPBTD4M.js → chunk-F45S7UWC.js} +1 -139
  22. package/dist/chunk-HAQWCNDY.cjs +24 -0
  23. package/dist/{chunk-Y4NGR42Z.js → chunk-HUIT4JCR.js} +1 -1
  24. package/dist/{chunk-TF2KMTB6.js → chunk-JRYWZMNT.js} +1 -1
  25. package/dist/{chunk-JCOOINQF.cjs → chunk-KLNKIQQM.cjs} +4 -3
  26. package/dist/chunk-L43KF3AC.js +269 -0
  27. package/dist/chunk-LHF5BSWO.cjs +16 -0
  28. package/dist/chunk-LJUGNSQQ.cjs +149 -0
  29. package/dist/chunk-LLRSKDH5.js +115 -0
  30. package/dist/chunk-OSM73ETC.js +139 -0
  31. package/dist/{chunk-4CVKE6CC.cjs → chunk-OTMTHA5C.cjs} +0 -147
  32. package/dist/{chunk-JH4JJBXE.cjs → chunk-TTIQRDHX.cjs} +2 -2
  33. package/dist/chunk-U7EXLQCT.js +32 -0
  34. package/dist/{chunk-LW3V53WJ.js → chunk-UVU7H4E6.js} +6 -1
  35. package/dist/chunk-V447PVRV.cjs +308 -0
  36. package/dist/chunk-YK4M3SFP.js +301 -0
  37. package/dist/{collections-Bz9KD7Na.d.cts → collections-BDSVfRNo.d.ts} +1 -1
  38. package/dist/{collections-CkEUi3BR.d.ts → collections-WzvTO0OQ.d.cts} +1 -1
  39. package/dist/components/address-form.cjs +17 -0
  40. package/dist/components/address-form.css +329 -0
  41. package/dist/components/address-form.d.cts +33 -0
  42. package/dist/components/address-form.d.ts +33 -0
  43. package/dist/components/address-form.js +11 -0
  44. package/dist/components/digital-product-download-modal.cjs +8 -0
  45. package/dist/components/digital-product-download-modal.d.cts +15 -0
  46. package/dist/components/digital-product-download-modal.d.ts +15 -0
  47. package/dist/components/digital-product-download-modal.js +2 -0
  48. package/dist/components/index.cjs +35 -695
  49. package/dist/components/index.d.cts +14 -87
  50. package/dist/components/index.d.ts +14 -87
  51. package/dist/components/index.js +11 -688
  52. package/dist/components/search-dropdown.cjs +7 -0
  53. package/dist/components/search-dropdown.css +200 -0
  54. package/dist/components/search-dropdown.d.cts +28 -0
  55. package/dist/components/search-dropdown.d.ts +28 -0
  56. package/dist/components/search-dropdown.js +1 -0
  57. package/dist/components/share-button.cjs +9 -0
  58. package/dist/components/share-button.d.cts +11 -0
  59. package/dist/components/share-button.d.ts +11 -0
  60. package/dist/components/share-button.js +3 -0
  61. package/dist/components/share-icon.cjs +7 -0
  62. package/dist/components/share-icon.d.cts +9 -0
  63. package/dist/components/share-icon.d.ts +9 -0
  64. package/dist/components/share-icon.js +1 -0
  65. package/dist/components/theme-data-initializer.cjs +8 -0
  66. package/dist/components/theme-data-initializer.d.cts +12 -0
  67. package/dist/components/theme-data-initializer.d.ts +12 -0
  68. package/dist/components/theme-data-initializer.js +2 -0
  69. package/dist/hooks/index.cjs +18 -17
  70. package/dist/hooks/index.d.cts +4 -2
  71. package/dist/hooks/index.d.ts +4 -2
  72. package/dist/hooks/index.js +6 -5
  73. package/dist/models/index.d.cts +6 -4
  74. package/dist/models/index.d.ts +6 -4
  75. package/dist/orders-CjNmCY5I.d.cts +144 -0
  76. package/dist/orders-L_8eIkUS.d.ts +144 -0
  77. package/dist/{pixelEvents-OVIkPw-J.d.ts → pixelEvents-Bo-VjAx8.d.ts} +4 -2
  78. package/dist/{pixelEvents-DYkiTkb2.d.cts → pixelEvents-C1rFPOwb.d.cts} +4 -2
  79. package/dist/{orders-fIdANHSl.d.ts → product-DJMdi4D4.d.cts} +1 -265
  80. package/dist/{orders-fIdANHSl.d.cts → product-DJMdi4D4.d.ts} +1 -265
  81. package/dist/store/index.cjs +5 -5
  82. package/dist/store/index.d.cts +6 -4
  83. package/dist/store/index.d.ts +6 -4
  84. package/dist/store/index.js +2 -2
  85. package/dist/utils/index.cjs +44 -43
  86. package/dist/utils/index.d.cts +7 -5
  87. package/dist/utils/index.d.ts +7 -5
  88. package/dist/utils/index.js +3 -2
  89. package/dist/{wishlist-stNzfvIP.d.cts → wishlist-CUuCTSVJ.d.cts} +1 -1
  90. package/dist/{wishlist-_bd4gLyQ.d.ts → wishlist-DKYFZR0s.d.ts} +1 -1
  91. package/package.json +50 -6
@@ -0,0 +1,144 @@
1
+ import { P as Photos } from './product-DJMdi4D4.cjs';
2
+
3
+ declare namespace Order {
4
+ interface Root {
5
+ id: number;
6
+ store: number;
7
+ customer: number;
8
+ total_amount: number;
9
+ paid_amount: number;
10
+ purchased_at: string;
11
+ purchased_products: PurchasedProduct[];
12
+ order_status: OrderStatus;
13
+ order_number: number;
14
+ payment_method: string | null;
15
+ shipping_address: string;
16
+ shipping_city: string;
17
+ shipping_state: string;
18
+ shipping_country: string;
19
+ shipping_zip: string;
20
+ tracking_id: string | null;
21
+ tracking_url: string | null;
22
+ delivery_date?: string;
23
+ delivered_at: string | null;
24
+ cancelled_at: string | null;
25
+ returned_at: string | null;
26
+ customer_details: CustomerDetails;
27
+ customer_name: string;
28
+ customer_phone: string;
29
+ }
30
+ interface OrderResponse {
31
+ currentPage: number;
32
+ totalPages: number;
33
+ results: Root[];
34
+ }
35
+ interface VariantAttributes {
36
+ size: {
37
+ name: string;
38
+ value: string;
39
+ };
40
+ color?: {
41
+ name: string;
42
+ value: string;
43
+ };
44
+ Color?: {
45
+ name: string;
46
+ value: string;
47
+ };
48
+ }
49
+ interface CustomerDetails {
50
+ name: string;
51
+ phone: string;
52
+ }
53
+ type OrderStatus = "pending" | "confirmed" | "packed" | "shipped" | "delivered" | "cancelled" | "failed" | "paid";
54
+ interface OrderSummary {
55
+ id: number;
56
+ store: number;
57
+ customer: number;
58
+ total_amount: number;
59
+ paid_amount: number;
60
+ purchased_at: string;
61
+ purchased_products: PurchasedProduct[];
62
+ order_status: string;
63
+ order_number: number;
64
+ payment_method: string | null;
65
+ shipping_address: string;
66
+ shipping_city: string;
67
+ shipping_state: string;
68
+ shipping_country: string;
69
+ shipping_zip: string;
70
+ tracking_id: string | null;
71
+ tracking_url: string | null;
72
+ delivery_date: string | null;
73
+ delivered_at: string | null;
74
+ cancelled_at: string | null;
75
+ returned_at: string | null;
76
+ customer_email: string;
77
+ customer_name: string;
78
+ customer_phone: string;
79
+ shipped_at: string | null;
80
+ confirmed_at: string | null;
81
+ refunded_at: string | null;
82
+ store_address: string;
83
+ store_city: string;
84
+ store_state: string;
85
+ store_country: string;
86
+ store_zip: string;
87
+ cart_count: number;
88
+ razorpay_public_token: string;
89
+ razorpay_order_id: string;
90
+ razorpay_order_status: string;
91
+ razorpay_order_amount: number;
92
+ razorpay_order_currency: string;
93
+ razorpay_payment_id: string;
94
+ razorpay_signature: string;
95
+ store_color_scheme: {
96
+ primary: string;
97
+ secondary: string;
98
+ };
99
+ store_logo: string;
100
+ store_name: string;
101
+ shipping_amount: number;
102
+ phonepe_redirect_url: string;
103
+ stripe_client_secret: string;
104
+ stripe_payment_intent_id: string;
105
+ stripe_publishable_key: string;
106
+ total_coupon_discount: number;
107
+ stripe_payment_link_url: string;
108
+ tabby_redirect_url?: string;
109
+ }
110
+ interface PurchasedProduct {
111
+ product_id: number;
112
+ product_name: string;
113
+ product_variant_id: number;
114
+ product_variant_slug: string;
115
+ product_variant_name: string;
116
+ product_variant_sku: string;
117
+ quantity: number;
118
+ variant_price: number;
119
+ tax_percentage: number;
120
+ total_tax_price: number;
121
+ total_price: number;
122
+ variant_attributes: VariantAttributes;
123
+ product_variant_photo: Photos | null;
124
+ is_digital: boolean;
125
+ discount_amount: number;
126
+ }
127
+ interface StripePaymentStatus {
128
+ order_id: number;
129
+ order_status: string;
130
+ payment_link_id: string;
131
+ payment_link_url: string;
132
+ checkout_session_id: string;
133
+ status: string;
134
+ payment_status: string;
135
+ session_status: string;
136
+ amount_total: number;
137
+ currency: string;
138
+ customer_email: string | null;
139
+ payment_intent: string;
140
+ payment_link: string;
141
+ }
142
+ }
143
+
144
+ export { Order as O };
@@ -0,0 +1,144 @@
1
+ import { P as Photos } from './product-DJMdi4D4.js';
2
+
3
+ declare namespace Order {
4
+ interface Root {
5
+ id: number;
6
+ store: number;
7
+ customer: number;
8
+ total_amount: number;
9
+ paid_amount: number;
10
+ purchased_at: string;
11
+ purchased_products: PurchasedProduct[];
12
+ order_status: OrderStatus;
13
+ order_number: number;
14
+ payment_method: string | null;
15
+ shipping_address: string;
16
+ shipping_city: string;
17
+ shipping_state: string;
18
+ shipping_country: string;
19
+ shipping_zip: string;
20
+ tracking_id: string | null;
21
+ tracking_url: string | null;
22
+ delivery_date?: string;
23
+ delivered_at: string | null;
24
+ cancelled_at: string | null;
25
+ returned_at: string | null;
26
+ customer_details: CustomerDetails;
27
+ customer_name: string;
28
+ customer_phone: string;
29
+ }
30
+ interface OrderResponse {
31
+ currentPage: number;
32
+ totalPages: number;
33
+ results: Root[];
34
+ }
35
+ interface VariantAttributes {
36
+ size: {
37
+ name: string;
38
+ value: string;
39
+ };
40
+ color?: {
41
+ name: string;
42
+ value: string;
43
+ };
44
+ Color?: {
45
+ name: string;
46
+ value: string;
47
+ };
48
+ }
49
+ interface CustomerDetails {
50
+ name: string;
51
+ phone: string;
52
+ }
53
+ type OrderStatus = "pending" | "confirmed" | "packed" | "shipped" | "delivered" | "cancelled" | "failed" | "paid";
54
+ interface OrderSummary {
55
+ id: number;
56
+ store: number;
57
+ customer: number;
58
+ total_amount: number;
59
+ paid_amount: number;
60
+ purchased_at: string;
61
+ purchased_products: PurchasedProduct[];
62
+ order_status: string;
63
+ order_number: number;
64
+ payment_method: string | null;
65
+ shipping_address: string;
66
+ shipping_city: string;
67
+ shipping_state: string;
68
+ shipping_country: string;
69
+ shipping_zip: string;
70
+ tracking_id: string | null;
71
+ tracking_url: string | null;
72
+ delivery_date: string | null;
73
+ delivered_at: string | null;
74
+ cancelled_at: string | null;
75
+ returned_at: string | null;
76
+ customer_email: string;
77
+ customer_name: string;
78
+ customer_phone: string;
79
+ shipped_at: string | null;
80
+ confirmed_at: string | null;
81
+ refunded_at: string | null;
82
+ store_address: string;
83
+ store_city: string;
84
+ store_state: string;
85
+ store_country: string;
86
+ store_zip: string;
87
+ cart_count: number;
88
+ razorpay_public_token: string;
89
+ razorpay_order_id: string;
90
+ razorpay_order_status: string;
91
+ razorpay_order_amount: number;
92
+ razorpay_order_currency: string;
93
+ razorpay_payment_id: string;
94
+ razorpay_signature: string;
95
+ store_color_scheme: {
96
+ primary: string;
97
+ secondary: string;
98
+ };
99
+ store_logo: string;
100
+ store_name: string;
101
+ shipping_amount: number;
102
+ phonepe_redirect_url: string;
103
+ stripe_client_secret: string;
104
+ stripe_payment_intent_id: string;
105
+ stripe_publishable_key: string;
106
+ total_coupon_discount: number;
107
+ stripe_payment_link_url: string;
108
+ tabby_redirect_url?: string;
109
+ }
110
+ interface PurchasedProduct {
111
+ product_id: number;
112
+ product_name: string;
113
+ product_variant_id: number;
114
+ product_variant_slug: string;
115
+ product_variant_name: string;
116
+ product_variant_sku: string;
117
+ quantity: number;
118
+ variant_price: number;
119
+ tax_percentage: number;
120
+ total_tax_price: number;
121
+ total_price: number;
122
+ variant_attributes: VariantAttributes;
123
+ product_variant_photo: Photos | null;
124
+ is_digital: boolean;
125
+ discount_amount: number;
126
+ }
127
+ interface StripePaymentStatus {
128
+ order_id: number;
129
+ order_status: string;
130
+ payment_link_id: string;
131
+ payment_link_url: string;
132
+ checkout_session_id: string;
133
+ status: string;
134
+ payment_status: string;
135
+ session_status: string;
136
+ amount_total: number;
137
+ currency: string;
138
+ customer_email: string | null;
139
+ payment_intent: string;
140
+ payment_link: string;
141
+ }
142
+ }
143
+
144
+ export { Order as O };
@@ -1,5 +1,7 @@
1
- import { f as Category$1, o as ProductDetail, m as Product, l as Order, C as Cart } from './orders-fIdANHSl.js';
2
- import { C as CollectionResponse } from './collections-CkEUi3BR.js';
1
+ import { b as Category$1, C as Cart } from './cart-y-7RPmnQ.js';
2
+ import { C as CollectionResponse } from './collections-BDSVfRNo.js';
3
+ import { O as Order } from './orders-L_8eIkUS.js';
4
+ import { f as ProductDetail, d as Product } from './product-DJMdi4D4.js';
3
5
 
4
6
  interface PageProps {
5
7
  nav_bar: NavBar;
@@ -1,5 +1,7 @@
1
- import { f as Category$1, o as ProductDetail, m as Product, l as Order, C as Cart } from './orders-fIdANHSl.cjs';
2
- import { C as CollectionResponse } from './collections-Bz9KD7Na.cjs';
1
+ import { b as Category$1, C as Cart } from './cart-kJoawc_Z.cjs';
2
+ import { C as CollectionResponse } from './collections-WzvTO0OQ.cjs';
3
+ import { O as Order } from './orders-CjNmCY5I.cjs';
4
+ import { f as ProductDetail, d as Product } from './product-DJMdi4D4.cjs';
3
5
 
4
6
  interface PageProps {
5
7
  nav_bar: NavBar;
@@ -18,37 +18,6 @@ declare const DEFAULT_TOAST_CONFIG: ToastOptions;
18
18
  declare const ALLOWED_COUNTRIES: string[];
19
19
  declare const ADDRESS_FORM_SESSION_KEY = "address_form_values";
20
20
 
21
- declare namespace User {
22
- interface Root {
23
- customer_name: string;
24
- phone: string;
25
- email: string;
26
- date_of_birth: string;
27
- country_code: string;
28
- gender: string;
29
- }
30
- interface UserState {
31
- user: LoginUserData | null;
32
- isAuthenticated: boolean;
33
- status: SLICE_STATUS;
34
- }
35
- interface LoginUserData {
36
- email: string;
37
- first_name: string;
38
- last_name: string;
39
- access: string;
40
- refresh: string;
41
- user_id: number;
42
- phone_number: string;
43
- }
44
- interface UserDetailsPayload {
45
- customer_name: string;
46
- gender: string;
47
- date_of_birth: string;
48
- }
49
- type LoginMethod = "email_otp" | "phone_otp";
50
- }
51
-
52
21
  declare namespace Product {
53
22
  interface Variant {
54
23
  id: number;
@@ -365,237 +334,4 @@ interface TimeSlot {
365
334
  interface SpecialHours {
366
335
  }
367
336
 
368
- declare namespace Category {
369
- interface Root {
370
- id: number;
371
- name: string;
372
- photo: string;
373
- slug: string;
374
- description: string;
375
- children?: Root[];
376
- }
377
- interface CategoriesState {
378
- data: Root[];
379
- status: SLICE_STATUS;
380
- }
381
- }
382
-
383
- type DiscountType = "discount";
384
- type ValueType = "percentage" | "fixed";
385
- type ApplicableTarget = "product_category" | "product_variant" | "product_bundle" | "customer";
386
- type CouponStatus = "active" | "inactive" | "expired";
387
- interface Coupon {
388
- id: number;
389
- coupon_code: string;
390
- discount_type: DiscountType;
391
- value: string;
392
- value_type: ValueType;
393
- min_order_amount: string;
394
- max_discount_amount: string;
395
- start_date: string;
396
- end_date: string;
397
- status: CouponStatus;
398
- is_deleted: boolean;
399
- usage_limit: number;
400
- usage_count: number;
401
- applicable_target: ApplicableTarget;
402
- applicable_product_variants: Product.ProductVariant[];
403
- applicable_product_bundles: any[];
404
- applicable_product_categories: Category.Root[];
405
- applicable_customers: User.Root[];
406
- auto_apply: boolean;
407
- created_at: string;
408
- updated_at: string;
409
- is_cart_applicable: boolean;
410
- coupon_message: string;
411
- }
412
- type Coupons = Coupon[];
413
- interface CouponResponse {
414
- coupon: Coupon;
415
- }
416
-
417
- interface CartState {
418
- cart: Cart.Root | null;
419
- status: SLICE_STATUS;
420
- }
421
- declare namespace Cart {
422
- interface Root {
423
- product_variants: ProductDetail.Root[];
424
- total_amount: number;
425
- total_quantity: number;
426
- products_quantity: ProductsQuantity;
427
- cart_count: number;
428
- missing_items: {
429
- [key: number]: number;
430
- };
431
- missing_cart_items: {
432
- [key: string]: number;
433
- };
434
- customization_inputs: Array<CustomizationInput>;
435
- total_coupon_discount: number;
436
- variant_discounts: {
437
- [key: number]: number;
438
- };
439
- total_shipping: number;
440
- total_tax_amount: number;
441
- applied_coupon: Coupon | {};
442
- }
443
- interface CustomizationInput {
444
- id: number;
445
- product_variant: number;
446
- customization_option: number;
447
- customer_wishlist: null;
448
- customer_order: null;
449
- customer_cart: number;
450
- customer_input: string;
451
- customization_option_name: string;
452
- customization_option_type: string;
453
- is_mandatory: boolean;
454
- }
455
- interface ProductsQuantity {
456
- [key: number]: number;
457
- }
458
- }
459
-
460
- declare namespace Order {
461
- interface Root {
462
- id: number;
463
- store: number;
464
- customer: number;
465
- total_amount: number;
466
- paid_amount: number;
467
- purchased_at: string;
468
- purchased_products: PurchasedProduct[];
469
- order_status: OrderStatus;
470
- order_number: number;
471
- payment_method: string | null;
472
- shipping_address: string;
473
- shipping_city: string;
474
- shipping_state: string;
475
- shipping_country: string;
476
- shipping_zip: string;
477
- tracking_id: string | null;
478
- tracking_url: string | null;
479
- delivery_date?: string;
480
- delivered_at: string | null;
481
- cancelled_at: string | null;
482
- returned_at: string | null;
483
- customer_details: CustomerDetails;
484
- customer_name: string;
485
- customer_phone: string;
486
- }
487
- interface OrderResponse {
488
- currentPage: number;
489
- totalPages: number;
490
- results: Root[];
491
- }
492
- interface VariantAttributes {
493
- size: {
494
- name: string;
495
- value: string;
496
- };
497
- color?: {
498
- name: string;
499
- value: string;
500
- };
501
- Color?: {
502
- name: string;
503
- value: string;
504
- };
505
- }
506
- interface CustomerDetails {
507
- name: string;
508
- phone: string;
509
- }
510
- type OrderStatus = "pending" | "confirmed" | "packed" | "shipped" | "delivered" | "cancelled" | "failed" | "paid";
511
- interface OrderSummary {
512
- id: number;
513
- store: number;
514
- customer: number;
515
- total_amount: number;
516
- paid_amount: number;
517
- purchased_at: string;
518
- purchased_products: PurchasedProduct[];
519
- order_status: string;
520
- order_number: number;
521
- payment_method: string | null;
522
- shipping_address: string;
523
- shipping_city: string;
524
- shipping_state: string;
525
- shipping_country: string;
526
- shipping_zip: string;
527
- tracking_id: string | null;
528
- tracking_url: string | null;
529
- delivery_date: string | null;
530
- delivered_at: string | null;
531
- cancelled_at: string | null;
532
- returned_at: string | null;
533
- customer_email: string;
534
- customer_name: string;
535
- customer_phone: string;
536
- shipped_at: string | null;
537
- confirmed_at: string | null;
538
- refunded_at: string | null;
539
- store_address: string;
540
- store_city: string;
541
- store_state: string;
542
- store_country: string;
543
- store_zip: string;
544
- cart_count: number;
545
- razorpay_public_token: string;
546
- razorpay_order_id: string;
547
- razorpay_order_status: string;
548
- razorpay_order_amount: number;
549
- razorpay_order_currency: string;
550
- razorpay_payment_id: string;
551
- razorpay_signature: string;
552
- store_color_scheme: {
553
- primary: string;
554
- secondary: string;
555
- };
556
- store_logo: string;
557
- store_name: string;
558
- shipping_amount: number;
559
- phonepe_redirect_url: string;
560
- stripe_client_secret: string;
561
- stripe_payment_intent_id: string;
562
- stripe_publishable_key: string;
563
- total_coupon_discount: number;
564
- stripe_payment_link_url: string;
565
- tabby_redirect_url?: string;
566
- }
567
- interface PurchasedProduct {
568
- product_id: number;
569
- product_name: string;
570
- product_variant_id: number;
571
- product_variant_slug: string;
572
- product_variant_name: string;
573
- product_variant_sku: string;
574
- quantity: number;
575
- variant_price: number;
576
- tax_percentage: number;
577
- total_tax_price: number;
578
- total_price: number;
579
- variant_attributes: VariantAttributes;
580
- product_variant_photo: Photos | null;
581
- is_digital: boolean;
582
- discount_amount: number;
583
- }
584
- interface StripePaymentStatus {
585
- order_id: number;
586
- order_status: string;
587
- payment_link_id: string;
588
- payment_link_url: string;
589
- checkout_session_id: string;
590
- status: string;
591
- payment_status: string;
592
- session_status: string;
593
- amount_total: number;
594
- currency: string;
595
- customer_email: string | null;
596
- payment_intent: string;
597
- payment_link: string;
598
- }
599
- }
600
-
601
- export { type ApplicableTarget as A, type BaseProduct as B, Cart as C, type DiscountType as D, type OperatingHours as O, type Photos as P, type SpecialHours as S, type TimeSlot as T, User as U, type ValueType as V, type WishlistState as W, type Attributes as a, type BookingService as b, type BookingServiceDate as c, type Brand as d, type CartState as e, Category as f, type Coupon as g, type CouponResponse as h, type CouponStatus as i, type Coupons as j, type CustomField as k, Order as l, Product as m, type ProductAttribute as n, ProductDetail as o, ADDRESS_FORM_SESSION_KEY as p, ALLOWED_COUNTRIES as q, DEFAULT_TOAST_CONFIG as r, PRODUCT_STATUSES as s, SLICE_STATUS as t, USER_CART as u, USER_CREDENTIALS as v, USER_CRED_REFRESH_TOKEN as w, USER_CRED_TOKEN as x, pathNameMap as y };
337
+ export { type Attributes as A, type BaseProduct as B, type CustomField as C, DEFAULT_TOAST_CONFIG as D, type OperatingHours as O, type Photos as P, type SpecialHours as S, type TimeSlot as T, USER_CART as U, type WishlistState as W, type BookingService as a, type BookingServiceDate as b, type Brand as c, Product as d, type ProductAttribute as e, ProductDetail as f, SLICE_STATUS as g, ADDRESS_FORM_SESSION_KEY as h, ALLOWED_COUNTRIES as i, PRODUCT_STATUSES as j, USER_CREDENTIALS as k, USER_CRED_REFRESH_TOKEN as l, USER_CRED_TOKEN as m, pathNameMap as p };