@storepecker/storefront-core 2.3.5 → 2.3.6

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 (35) hide show
  1. package/dist/api/index.d.cts +4 -6
  2. package/dist/api/index.d.ts +4 -6
  3. package/dist/{booking-BVWe8HHh.d.ts → booking-CG6tul9l.d.ts} +1 -1
  4. package/dist/{booking-DX9SU_qm.d.cts → booking-DNVf5ZAS.d.cts} +1 -1
  5. package/dist/checkout/index.d.cts +1 -3
  6. package/dist/checkout/index.d.ts +1 -3
  7. package/dist/chunk-5NUDTIQ2.js +9 -0
  8. package/dist/chunk-DODFO744.cjs +11 -0
  9. package/dist/{collections-BDSVfRNo.d.ts → collections-Bz9KD7Na.d.cts} +1 -1
  10. package/dist/{collections-WzvTO0OQ.d.cts → collections-CkEUi3BR.d.ts} +1 -1
  11. package/dist/components/index.cjs +11 -0
  12. package/dist/components/index.d.cts +8 -3
  13. package/dist/components/index.d.ts +8 -3
  14. package/dist/components/index.js +11 -1
  15. package/dist/hooks/index.d.cts +2 -4
  16. package/dist/hooks/index.d.ts +2 -4
  17. package/dist/models/index.d.cts +4 -6
  18. package/dist/models/index.d.ts +4 -6
  19. package/dist/{product-DJMdi4D4.d.cts → orders-fIdANHSl.d.cts} +265 -1
  20. package/dist/{product-DJMdi4D4.d.ts → orders-fIdANHSl.d.ts} +265 -1
  21. package/dist/pixelEvents-DYkiTkb2.d.cts +369 -0
  22. package/dist/pixelEvents-OVIkPw-J.d.ts +369 -0
  23. package/dist/store/index.cjs +5 -0
  24. package/dist/store/index.d.cts +11 -4
  25. package/dist/store/index.d.ts +11 -4
  26. package/dist/store/index.js +1 -0
  27. package/dist/utils/index.d.cts +6 -371
  28. package/dist/utils/index.d.ts +6 -371
  29. package/dist/{wishlist-DKYFZR0s.d.ts → wishlist-_bd4gLyQ.d.ts} +1 -1
  30. package/dist/{wishlist-CUuCTSVJ.d.cts → wishlist-stNzfvIP.d.cts} +1 -1
  31. package/package.json +1 -1
  32. package/dist/cart-kJoawc_Z.d.cts +0 -126
  33. package/dist/cart-y-7RPmnQ.d.ts +0 -126
  34. package/dist/orders-CjNmCY5I.d.cts +0 -144
  35. package/dist/orders-L_8eIkUS.d.ts +0 -144
@@ -1,144 +0,0 @@
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 };
@@ -1,144 +0,0 @@
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 };