hey-pharmacist-ecommerce 1.1.43 → 1.1.44
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/index.d.mts +2341 -888
- package/dist/index.d.ts +2341 -888
- package/dist/index.js +539 -393
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +538 -393
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/AccountReviewsTab.tsx +4 -4
- package/src/components/Header.tsx +1 -1
- package/src/components/OrderCard.tsx +1 -1
- package/src/components/ProductCard.tsx +1 -1
- package/src/components/RatingDistribution.tsx +2 -2
- package/src/components/ReviewForm.tsx +3 -3
- package/src/components/ReviewPromptBanner.tsx +4 -4
- package/src/components/ReviewsList.tsx +9 -11
- package/src/components/StarRating.tsx +3 -3
- package/src/hooks/useProducts.ts +0 -1
- package/src/hooks/useSmartSearch.ts +68 -0
- package/src/lib/Apis/api.ts +1 -0
- package/src/lib/Apis/apis/analytics-api.ts +809 -0
- package/src/lib/Apis/apis/notifications-api.ts +8 -6
- package/src/lib/Apis/apis/products-api.ts +390 -15
- package/src/lib/Apis/apis/stores-api.ts +26 -149
- package/src/lib/Apis/apis/web-hooks-api.ts +8 -17
- package/src/lib/Apis/models/analytics-period-dto.ts +45 -0
- package/src/lib/Apis/models/appointment-overview-dto.ts +71 -0
- package/src/lib/Apis/models/{api-key-info-dto.ts → category-sales-dto.ts} +24 -22
- package/src/lib/Apis/models/create-store-dto.ts +12 -0
- package/src/lib/Apis/models/customer-overview-dto.ts +96 -0
- package/src/lib/Apis/models/customer-segment-dto.ts +39 -0
- package/src/lib/Apis/models/dashboard-overview-dto.ts +70 -0
- package/src/lib/Apis/models/discount-overview-dto.ts +71 -0
- package/src/lib/Apis/models/index.ts +29 -3
- package/src/lib/Apis/models/inline-response200.ts +34 -0
- package/src/lib/Apis/models/{store-api-keys-response-dto.ts → inline-response2001.ts} +14 -9
- package/src/lib/Apis/models/inventory-alert-dto.ts +67 -0
- package/src/lib/Apis/models/notification-dto.ts +107 -0
- package/src/lib/Apis/models/notifications-paginated-response-dto.ts +58 -0
- package/src/lib/Apis/models/order-overview-dto.ts +89 -0
- package/src/lib/Apis/models/{update-api-keys-dto.ts → order-status-count-dto.ts} +13 -13
- package/src/lib/Apis/models/payout-history-item-dto.ts +45 -0
- package/src/lib/Apis/models/popular-time-slot-dto.ts +39 -0
- package/src/lib/Apis/models/product-overview-dto.ts +90 -0
- package/src/lib/Apis/models/product.ts +6 -0
- package/src/lib/Apis/models/products-aidraft-body.ts +27 -0
- package/src/lib/Apis/models/products-processimage-body.ts +27 -0
- package/src/lib/Apis/models/rating-distribution-dto.ts +39 -0
- package/src/lib/Apis/models/recent-review-dto.ts +63 -0
- package/src/lib/Apis/models/review-overview-dto.ts +65 -0
- package/src/lib/Apis/models/store-balance-dto.ts +39 -0
- package/src/lib/Apis/models/store-entity.ts +12 -0
- package/src/lib/Apis/models/store-finance-overview-dto.ts +35 -0
- package/src/lib/Apis/models/store.ts +12 -0
- package/src/lib/Apis/models/time-series-point-dto.ts +33 -0
- package/src/lib/Apis/models/top-customer-dto.ts +57 -0
- package/src/lib/Apis/models/top-discount-dto.ts +51 -0
- package/src/lib/Apis/models/top-product-dto.ts +51 -0
- package/src/lib/Apis/models/unread-count-dto.ts +27 -0
- package/src/lib/Apis/models/update-store-dto.ts +12 -0
- package/src/screens/OrderReviewsScreen.tsx +6 -6
- package/src/screens/ProductDetailScreen.tsx +1 -1
- package/src/screens/SearchResultsScreen.tsx +17 -21
- package/src/screens/ShopScreen.tsx +0 -62
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Hey Pharamcist API
|
|
5
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { CustomerSegmentDto } from './customer-segment-dto';
|
|
15
|
+
import { TimeSeriesPointDto } from './time-series-point-dto';
|
|
16
|
+
import { TopCustomerDto } from './top-customer-dto';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CustomerOverviewDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CustomerOverviewDto {
|
|
23
|
+
_id?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Total registered customers
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof CustomerOverviewDto
|
|
28
|
+
*/
|
|
29
|
+
totalCustomers: number;
|
|
30
|
+
/**
|
|
31
|
+
* New customers in period
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof CustomerOverviewDto
|
|
34
|
+
*/
|
|
35
|
+
newCustomers: number;
|
|
36
|
+
/**
|
|
37
|
+
* Customers who placed repeat orders
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof CustomerOverviewDto
|
|
40
|
+
*/
|
|
41
|
+
returningCustomers: number;
|
|
42
|
+
/**
|
|
43
|
+
* B2B customers count
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CustomerOverviewDto
|
|
46
|
+
*/
|
|
47
|
+
b2bCustomers: number;
|
|
48
|
+
/**
|
|
49
|
+
* Regular customers count
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof CustomerOverviewDto
|
|
52
|
+
*/
|
|
53
|
+
regularCustomers: number;
|
|
54
|
+
/**
|
|
55
|
+
* Average customer lifetime value
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof CustomerOverviewDto
|
|
58
|
+
*/
|
|
59
|
+
averageLTV: number;
|
|
60
|
+
/**
|
|
61
|
+
* Average orders per customer
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof CustomerOverviewDto
|
|
64
|
+
*/
|
|
65
|
+
avgOrdersPerCustomer: number;
|
|
66
|
+
/**
|
|
67
|
+
* Repeat purchase rate (%)
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof CustomerOverviewDto
|
|
70
|
+
*/
|
|
71
|
+
repeatPurchaseRate: number;
|
|
72
|
+
/**
|
|
73
|
+
* Customer growth vs previous period (%)
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof CustomerOverviewDto
|
|
76
|
+
*/
|
|
77
|
+
customerGrowth: number;
|
|
78
|
+
/**
|
|
79
|
+
* Customer activity segmentation
|
|
80
|
+
* @type {CustomerSegmentDto}
|
|
81
|
+
* @memberof CustomerOverviewDto
|
|
82
|
+
*/
|
|
83
|
+
segments: CustomerSegmentDto;
|
|
84
|
+
/**
|
|
85
|
+
* Top spending customers
|
|
86
|
+
* @type {Array<TopCustomerDto>}
|
|
87
|
+
* @memberof CustomerOverviewDto
|
|
88
|
+
*/
|
|
89
|
+
topCustomers: Array<TopCustomerDto>;
|
|
90
|
+
/**
|
|
91
|
+
* Daily new customer signups
|
|
92
|
+
* @type {Array<TimeSeriesPointDto>}
|
|
93
|
+
* @memberof CustomerOverviewDto
|
|
94
|
+
*/
|
|
95
|
+
dailySignups: Array<TimeSeriesPointDto>;
|
|
96
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Hey Pharamcist API
|
|
5
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CustomerSegmentDto
|
|
18
|
+
*/
|
|
19
|
+
export interface CustomerSegmentDto {
|
|
20
|
+
_id?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Active customers (ordered in last 30 days)
|
|
23
|
+
* @type {number}
|
|
24
|
+
* @memberof CustomerSegmentDto
|
|
25
|
+
*/
|
|
26
|
+
active: number;
|
|
27
|
+
/**
|
|
28
|
+
* Dormant customers (30-90 days since last order)
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof CustomerSegmentDto
|
|
31
|
+
*/
|
|
32
|
+
dormant: number;
|
|
33
|
+
/**
|
|
34
|
+
* Churned customers (90+ days since last order)
|
|
35
|
+
* @type {number}
|
|
36
|
+
* @memberof CustomerSegmentDto
|
|
37
|
+
*/
|
|
38
|
+
churned: number;
|
|
39
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Hey Pharamcist API
|
|
5
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { AnalyticsPeriodDto } from './analytics-period-dto';
|
|
15
|
+
import { AppointmentOverviewDto } from './appointment-overview-dto';
|
|
16
|
+
import { CustomerOverviewDto } from './customer-overview-dto';
|
|
17
|
+
import { DiscountOverviewDto } from './discount-overview-dto';
|
|
18
|
+
import { OrderOverviewDto } from './order-overview-dto';
|
|
19
|
+
import { ProductOverviewDto } from './product-overview-dto';
|
|
20
|
+
import { ReviewOverviewDto } from './review-overview-dto';
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @export
|
|
24
|
+
* @interface DashboardOverviewDto
|
|
25
|
+
*/
|
|
26
|
+
export interface DashboardOverviewDto {
|
|
27
|
+
_id?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Analysis period
|
|
30
|
+
* @type {AnalyticsPeriodDto}
|
|
31
|
+
* @memberof DashboardOverviewDto
|
|
32
|
+
*/
|
|
33
|
+
period: AnalyticsPeriodDto;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {OrderOverviewDto}
|
|
37
|
+
* @memberof DashboardOverviewDto
|
|
38
|
+
*/
|
|
39
|
+
orders: OrderOverviewDto;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {CustomerOverviewDto}
|
|
43
|
+
* @memberof DashboardOverviewDto
|
|
44
|
+
*/
|
|
45
|
+
customers: CustomerOverviewDto;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {ProductOverviewDto}
|
|
49
|
+
* @memberof DashboardOverviewDto
|
|
50
|
+
*/
|
|
51
|
+
products: ProductOverviewDto;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {AppointmentOverviewDto}
|
|
55
|
+
* @memberof DashboardOverviewDto
|
|
56
|
+
*/
|
|
57
|
+
appointments: AppointmentOverviewDto;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {DiscountOverviewDto}
|
|
61
|
+
* @memberof DashboardOverviewDto
|
|
62
|
+
*/
|
|
63
|
+
discounts: DiscountOverviewDto;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {ReviewOverviewDto}
|
|
67
|
+
* @memberof DashboardOverviewDto
|
|
68
|
+
*/
|
|
69
|
+
reviews: ReviewOverviewDto;
|
|
70
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Hey Pharamcist API
|
|
5
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { TimeSeriesPointDto } from './time-series-point-dto';
|
|
15
|
+
import { TopDiscountDto } from './top-discount-dto';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface DiscountOverviewDto
|
|
20
|
+
*/
|
|
21
|
+
export interface DiscountOverviewDto {
|
|
22
|
+
_id?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Currently active discounts
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof DiscountOverviewDto
|
|
27
|
+
*/
|
|
28
|
+
activeDiscounts: number;
|
|
29
|
+
/**
|
|
30
|
+
* Total discount codes
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof DiscountOverviewDto
|
|
33
|
+
*/
|
|
34
|
+
totalDiscounts: number;
|
|
35
|
+
/**
|
|
36
|
+
* Total discount redemptions in period
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof DiscountOverviewDto
|
|
39
|
+
*/
|
|
40
|
+
totalRedemptions: number;
|
|
41
|
+
/**
|
|
42
|
+
* Total savings generated
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof DiscountOverviewDto
|
|
45
|
+
*/
|
|
46
|
+
totalSavingsGenerated: number;
|
|
47
|
+
/**
|
|
48
|
+
* Average discount value per use
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof DiscountOverviewDto
|
|
51
|
+
*/
|
|
52
|
+
avgDiscountValue: number;
|
|
53
|
+
/**
|
|
54
|
+
* Discount redemption rate (% of orders using discounts)
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof DiscountOverviewDto
|
|
57
|
+
*/
|
|
58
|
+
redemptionRate: number;
|
|
59
|
+
/**
|
|
60
|
+
* Top performing discount codes
|
|
61
|
+
* @type {Array<TopDiscountDto>}
|
|
62
|
+
* @memberof DiscountOverviewDto
|
|
63
|
+
*/
|
|
64
|
+
topDiscounts: Array<TopDiscountDto>;
|
|
65
|
+
/**
|
|
66
|
+
* Daily redemption trend
|
|
67
|
+
* @type {Array<TimeSeriesPointDto>}
|
|
68
|
+
* @memberof DiscountOverviewDto
|
|
69
|
+
*/
|
|
70
|
+
dailyTrend: Array<TimeSeriesPointDto>;
|
|
71
|
+
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export * from './address';
|
|
2
2
|
export * from './address-created-request';
|
|
3
3
|
export * from './allow-user-credit-dto';
|
|
4
|
-
export * from './
|
|
4
|
+
export * from './analytics-period-dto';
|
|
5
5
|
export * from './appointment';
|
|
6
|
+
export * from './appointment-overview-dto';
|
|
6
7
|
export * from './available-dates-dto';
|
|
7
8
|
export * from './available-suggested-dates-dto';
|
|
8
9
|
export * from './blog';
|
|
@@ -18,6 +19,7 @@ export * from './categories-paginated-response-dto';
|
|
|
18
19
|
export * from './category';
|
|
19
20
|
export * from './category-filters';
|
|
20
21
|
export * from './category-populated';
|
|
22
|
+
export * from './category-sales-dto';
|
|
21
23
|
export * from './category-sub-category-populated';
|
|
22
24
|
export * from './categorys-headlines-response-dto';
|
|
23
25
|
export * from './change-password-dto';
|
|
@@ -42,9 +44,13 @@ export * from './create-user-dto';
|
|
|
42
44
|
export * from './create-user-group-dto';
|
|
43
45
|
export * from './create-variant-dto';
|
|
44
46
|
export * from './custom-product-dto';
|
|
47
|
+
export * from './customer-overview-dto';
|
|
48
|
+
export * from './customer-segment-dto';
|
|
49
|
+
export * from './dashboard-overview-dto';
|
|
45
50
|
export * from './delete-file-dto';
|
|
46
51
|
export * from './delete-many-files-dto';
|
|
47
52
|
export * from './discount';
|
|
53
|
+
export * from './discount-overview-dto';
|
|
48
54
|
export * from './discounts-insights-dto';
|
|
49
55
|
export * from './email-invoice-dto';
|
|
50
56
|
export * from './event';
|
|
@@ -56,15 +62,22 @@ export * from './generate-week-slots-dto';
|
|
|
56
62
|
export * from './group-with-no-users-dto';
|
|
57
63
|
export * from './group-with-users-dto';
|
|
58
64
|
export * from './images-upload-body';
|
|
65
|
+
export * from './inline-response200';
|
|
66
|
+
export * from './inline-response2001';
|
|
67
|
+
export * from './inventory-alert-dto';
|
|
59
68
|
export * from './login-dto';
|
|
60
69
|
export * from './manual-discount-dto';
|
|
61
70
|
export * from './manual-order-dto';
|
|
62
71
|
export * from './manual-shipping-dto';
|
|
63
72
|
export * from './move-subcategory-dto';
|
|
64
73
|
export * from './new-client-email-dto';
|
|
74
|
+
export * from './notification-dto';
|
|
75
|
+
export * from './notifications-paginated-response-dto';
|
|
65
76
|
export * from './object-id';
|
|
66
77
|
export * from './order';
|
|
78
|
+
export * from './order-overview-dto';
|
|
67
79
|
export * from './order-paginated-response';
|
|
80
|
+
export * from './order-status-count-dto';
|
|
68
81
|
export * from './order-time-line-dto';
|
|
69
82
|
export * from './orders-insights-dto';
|
|
70
83
|
export * from './paginated-products-dto';
|
|
@@ -72,6 +85,8 @@ export * from './payment';
|
|
|
72
85
|
export * from './payment-time-line-dto';
|
|
73
86
|
export * from './payments-insights-dto';
|
|
74
87
|
export * from './payments-paginated-response';
|
|
88
|
+
export * from './payout-history-item-dto';
|
|
89
|
+
export * from './popular-time-slot-dto';
|
|
75
90
|
export * from './populated-discount';
|
|
76
91
|
export * from './populated-order';
|
|
77
92
|
export * from './prefered-pick-or-delivery-time-dto';
|
|
@@ -79,10 +94,15 @@ export * from './preference-update-item';
|
|
|
79
94
|
export * from './price-range';
|
|
80
95
|
export * from './product';
|
|
81
96
|
export * from './product-light-dto';
|
|
97
|
+
export * from './product-overview-dto';
|
|
82
98
|
export * from './product-summary';
|
|
83
99
|
export * from './product-variant';
|
|
100
|
+
export * from './products-aidraft-body';
|
|
84
101
|
export * from './products-insights-dto';
|
|
102
|
+
export * from './products-processimage-body';
|
|
85
103
|
export * from './rate-dto';
|
|
104
|
+
export * from './rating-distribution-dto';
|
|
105
|
+
export * from './recent-review-dto';
|
|
86
106
|
export * from './refill-request';
|
|
87
107
|
export * from './refill-request-dto';
|
|
88
108
|
export * from './register-or-login-with-gmail';
|
|
@@ -93,6 +113,7 @@ export * from './reorder-subcategories-dto';
|
|
|
93
113
|
export * from './reorder-success-response-dto';
|
|
94
114
|
export * from './reserve-appointment';
|
|
95
115
|
export * from './review';
|
|
116
|
+
export * from './review-overview-dto';
|
|
96
117
|
export * from './review-status-dto';
|
|
97
118
|
export * from './reviewable-order-dto';
|
|
98
119
|
export * from './reviewable-product-dto';
|
|
@@ -105,22 +126,27 @@ export * from './shipping-info';
|
|
|
105
126
|
export * from './shippo-account-response-dto';
|
|
106
127
|
export * from './single-product-media';
|
|
107
128
|
export * from './store';
|
|
108
|
-
export * from './store-
|
|
129
|
+
export * from './store-balance-dto';
|
|
109
130
|
export * from './store-capabilities-dto';
|
|
110
131
|
export * from './store-entity';
|
|
132
|
+
export * from './store-finance-overview-dto';
|
|
111
133
|
export * from './sub-category';
|
|
112
134
|
export * from './sub-category-headlines-only-response-dto';
|
|
113
135
|
export * from './suggested-slot';
|
|
114
136
|
export * from './tadmin-session-data';
|
|
115
137
|
export * from './tuser-session-data';
|
|
138
|
+
export * from './time-series-point-dto';
|
|
139
|
+
export * from './top-customer-dto';
|
|
140
|
+
export * from './top-discount-dto';
|
|
141
|
+
export * from './top-product-dto';
|
|
116
142
|
export * from './track-dto';
|
|
117
143
|
export * from './tracking-status';
|
|
118
144
|
export * from './tracking-status-location-base';
|
|
119
145
|
export * from './tracking-status-substatus';
|
|
120
146
|
export * from './transfere-patient-request';
|
|
121
147
|
export * from './transfere-patients-request-dto';
|
|
148
|
+
export * from './unread-count-dto';
|
|
122
149
|
export * from './update-address-dto';
|
|
123
|
-
export * from './update-api-keys-dto';
|
|
124
150
|
export * from './update-blog-dto';
|
|
125
151
|
export * from './update-category-dto';
|
|
126
152
|
export * from './update-discount-dto';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Hey Pharamcist API
|
|
5
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { Product } from './product';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface InlineResponse200
|
|
19
|
+
*/
|
|
20
|
+
export interface InlineResponse200 {
|
|
21
|
+
_id?: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Array<Product>}
|
|
25
|
+
* @memberof InlineResponse200
|
|
26
|
+
*/
|
|
27
|
+
products?: Array<Product>;
|
|
28
|
+
/**
|
|
29
|
+
* Similarity scores (0-1)
|
|
30
|
+
* @type {Array<number>}
|
|
31
|
+
* @memberof InlineResponse200
|
|
32
|
+
*/
|
|
33
|
+
scores?: Array<number>;
|
|
34
|
+
}
|
|
@@ -11,24 +11,29 @@
|
|
|
11
11
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { ApiKeyInfoDto } from './api-key-info-dto';
|
|
15
14
|
/**
|
|
16
15
|
*
|
|
17
16
|
* @export
|
|
18
|
-
* @interface
|
|
17
|
+
* @interface InlineResponse2001
|
|
19
18
|
*/
|
|
20
|
-
export interface
|
|
19
|
+
export interface InlineResponse2001 {
|
|
21
20
|
_id?: string;
|
|
22
21
|
/**
|
|
23
22
|
*
|
|
24
|
-
* @type {
|
|
25
|
-
* @memberof
|
|
23
|
+
* @type {number}
|
|
24
|
+
* @memberof InlineResponse2001
|
|
26
25
|
*/
|
|
27
|
-
|
|
26
|
+
processed?: number;
|
|
28
27
|
/**
|
|
29
28
|
*
|
|
30
|
-
* @type {
|
|
31
|
-
* @memberof
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof InlineResponse2001
|
|
32
31
|
*/
|
|
33
|
-
|
|
32
|
+
failed?: number;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {number}
|
|
36
|
+
* @memberof InlineResponse2001
|
|
37
|
+
*/
|
|
38
|
+
skipped?: number;
|
|
34
39
|
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Hey Pharamcist API
|
|
5
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface InventoryAlertDto
|
|
18
|
+
*/
|
|
19
|
+
export interface InventoryAlertDto {
|
|
20
|
+
_id?: string;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof InventoryAlertDto
|
|
25
|
+
*/
|
|
26
|
+
productId: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof InventoryAlertDto
|
|
31
|
+
*/
|
|
32
|
+
variantId: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof InventoryAlertDto
|
|
37
|
+
*/
|
|
38
|
+
productName: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof InventoryAlertDto
|
|
43
|
+
*/
|
|
44
|
+
variantName: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {number}
|
|
48
|
+
* @memberof InventoryAlertDto
|
|
49
|
+
*/
|
|
50
|
+
currentStock: number;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof InventoryAlertDto
|
|
55
|
+
*/
|
|
56
|
+
alertType: InventoryAlertDtoAlertTypeEnum;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @export
|
|
61
|
+
* @enum {string}
|
|
62
|
+
*/
|
|
63
|
+
export enum InventoryAlertDtoAlertTypeEnum {
|
|
64
|
+
LOWSTOCK = 'LOW_STOCK',
|
|
65
|
+
OUTOFSTOCK = 'OUT_OF_STOCK'
|
|
66
|
+
}
|
|
67
|
+
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Hey Pharamcist API
|
|
5
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface NotificationDto
|
|
18
|
+
*/
|
|
19
|
+
export interface NotificationDto {
|
|
20
|
+
_id?: string;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof NotificationDto
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof NotificationDto
|
|
31
|
+
*/
|
|
32
|
+
userId: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof NotificationDto
|
|
37
|
+
*/
|
|
38
|
+
storeId: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof NotificationDto
|
|
43
|
+
*/
|
|
44
|
+
type: NotificationDtoTypeEnum;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof NotificationDto
|
|
49
|
+
*/
|
|
50
|
+
title: string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof NotificationDto
|
|
55
|
+
*/
|
|
56
|
+
body: string;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {any}
|
|
60
|
+
* @memberof NotificationDto
|
|
61
|
+
*/
|
|
62
|
+
data: any;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {boolean}
|
|
66
|
+
* @memberof NotificationDto
|
|
67
|
+
*/
|
|
68
|
+
isRead: boolean;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {Date}
|
|
72
|
+
* @memberof NotificationDto
|
|
73
|
+
*/
|
|
74
|
+
createdAt: Date;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {Date}
|
|
78
|
+
* @memberof NotificationDto
|
|
79
|
+
*/
|
|
80
|
+
updatedAt: Date;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @export
|
|
85
|
+
* @enum {string}
|
|
86
|
+
*/
|
|
87
|
+
export enum NotificationDtoTypeEnum {
|
|
88
|
+
ORDERCONFIRMATION = 'ORDER_CONFIRMATION',
|
|
89
|
+
PAYMENTFAILED = 'PAYMENT_FAILED',
|
|
90
|
+
ORDERSHIPPED = 'ORDER_SHIPPED',
|
|
91
|
+
ORDERDELIVERED = 'ORDER_DELIVERED',
|
|
92
|
+
REFUNDPROCESSED = 'REFUND_PROCESSED',
|
|
93
|
+
REVIEWREPLY = 'REVIEW_REPLY',
|
|
94
|
+
ABANDONEDCARTREMINDER = 'ABANDONED_CART_REMINDER',
|
|
95
|
+
PRICEDROPALERT = 'PRICE_DROP_ALERT',
|
|
96
|
+
BACKINSTOCK = 'BACK_IN_STOCK',
|
|
97
|
+
PASSWORDRESET = 'PASSWORD_RESET',
|
|
98
|
+
NEWDEVICELOGIN = 'NEW_DEVICE_LOGIN',
|
|
99
|
+
TWOFACODE = 'TWO_FA_CODE',
|
|
100
|
+
NEWORDER = 'NEW_ORDER',
|
|
101
|
+
LOWSTOCKWARNING = 'LOW_STOCK_WARNING',
|
|
102
|
+
NEWRETURNREQUEST = 'NEW_RETURN_REQUEST',
|
|
103
|
+
NEWUSERREGISTERED = 'NEW_USER_REGISTERED',
|
|
104
|
+
HIGHVALUEORDERALERT = 'HIGH_VALUE_ORDER_ALERT',
|
|
105
|
+
PAYOUTFAILED = 'PAYOUT_FAILED'
|
|
106
|
+
}
|
|
107
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Hey Pharamcist API
|
|
5
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { NotificationDto } from './notification-dto';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface NotificationsPaginatedResponseDto
|
|
19
|
+
*/
|
|
20
|
+
export interface NotificationsPaginatedResponseDto {
|
|
21
|
+
_id?: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Array<NotificationDto>}
|
|
25
|
+
* @memberof NotificationsPaginatedResponseDto
|
|
26
|
+
*/
|
|
27
|
+
data: Array<NotificationDto>;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof NotificationsPaginatedResponseDto
|
|
32
|
+
*/
|
|
33
|
+
total: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof NotificationsPaginatedResponseDto
|
|
38
|
+
*/
|
|
39
|
+
page: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof NotificationsPaginatedResponseDto
|
|
44
|
+
*/
|
|
45
|
+
limit: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof NotificationsPaginatedResponseDto
|
|
50
|
+
*/
|
|
51
|
+
totalPages: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof NotificationsPaginatedResponseDto
|
|
56
|
+
*/
|
|
57
|
+
unreadCount: number;
|
|
58
|
+
}
|