hey-pharmacist-ecommerce 1.1.42 → 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/README.md +70 -8
- package/dist/index.d.mts +2550 -3081
- package/dist/index.d.ts +2550 -3081
- package/dist/index.js +506 -399
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +506 -397
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/components/AccountOverviewTab.tsx +5 -5
- package/src/components/AccountReviewsTab.tsx +4 -4
- package/src/components/CartItem.tsx +15 -15
- package/src/components/Header.tsx +1 -1
- package/src/components/Notification.tsx +3 -3
- package/src/components/OrderCard.tsx +1 -1
- package/src/components/ProductCard.tsx +11 -11
- package/src/components/QuickViewModal.tsx +16 -16
- package/src/components/RatingDistribution.tsx +2 -2
- package/src/components/ReviewCard.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 -1
- 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/category-sales-dto.ts +51 -0
- 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/{country-stats-response-dto.ts → customer-segment-dto.ts} +12 -13
- 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/group-with-no-users-dto.ts +0 -6
- package/src/lib/Apis/models/group-with-users-dto.ts +0 -6
- package/src/lib/Apis/models/index.ts +29 -38
- package/src/lib/Apis/models/{single-recipient-dto.ts → inline-response200.ts} +11 -10
- package/src/lib/Apis/models/{create-contact-dto.ts → inline-response2001.ts} +11 -11
- 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/{single-link-stats-dto.ts → order-status-count-dto.ts} +10 -10
- package/src/lib/Apis/models/order.ts +0 -6
- package/src/lib/Apis/models/payout-history-item-dto.ts +45 -0
- package/src/lib/Apis/models/{single-country-stats-dto.ts → popular-time-slot-dto.ts} +10 -10
- package/src/lib/Apis/models/populated-order.ts +0 -6
- package/src/lib/Apis/models/preference-update-item.ts +1 -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/{create-contact-list-dto.ts → products-aidraft-body.ts} +4 -4
- package/src/lib/Apis/models/{schedule-campaign-draft-dto.ts → products-processimage-body.ts} +5 -5
- package/src/lib/Apis/models/{contact-full-response-dto.ts → rating-distribution-dto.ts} +9 -10
- 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/{link-stats-response-dto.ts → store-finance-overview-dto.ts} +10 -15
- package/src/lib/Apis/models/store.ts +12 -0
- package/src/lib/Apis/models/{add-contact-to-list-dto.ts → time-series-point-dto.ts} +9 -9
- package/src/lib/Apis/models/{create-email-template-dto.ts → top-customer-dto.ts} +20 -14
- package/src/lib/Apis/models/{marketing-list-contact-dto.ts → top-discount-dto.ts} +12 -12
- package/src/lib/Apis/models/{single-browser-stats-dto.ts → top-product-dto.ts} +18 -12
- package/src/lib/Apis/models/{marketing-campaign-content-dto.ts → unread-count-dto.ts} +6 -6
- package/src/lib/Apis/models/update-store-dto.ts +12 -0
- package/src/lib/Apis/models/update-user-dto.ts +0 -6
- package/src/lib/Apis/models/user-group.ts +0 -6
- package/src/lib/Apis/models/user-with-no-id.ts +0 -6
- package/src/lib/Apis/sharedConfig.ts +1 -1
- package/src/screens/CartScreen.tsx +10 -10
- package/src/screens/CheckoutScreen.tsx +12 -12
- package/src/screens/OrderReviewsScreen.tsx +6 -6
- package/src/screens/ProductDetailScreen.tsx +40 -40
- package/src/screens/SearchResultsScreen.tsx +17 -21
- package/src/screens/ShopScreen.tsx +20 -82
- package/src/lib/Apis/apis/marketing-api.ts +0 -3099
- package/src/lib/Apis/models/api-key-info-dto.ts +0 -49
- package/src/lib/Apis/models/browser-stats-response-dto.ts +0 -40
- package/src/lib/Apis/models/campaign-content-response-dto.ts +0 -40
- package/src/lib/Apis/models/campaign-draft-dto.ts +0 -175
- package/src/lib/Apis/models/campaign-draft-response-dto.ts +0 -40
- package/src/lib/Apis/models/campaign-draft-schedule-dto.ts +0 -49
- package/src/lib/Apis/models/campaign-draft-schedule-response-dto.ts +0 -40
- package/src/lib/Apis/models/campaign-draft-sending-dto.ts +0 -43
- package/src/lib/Apis/models/campaign-draft-sending-response-dto.ts +0 -40
- package/src/lib/Apis/models/contact-aggregated-stats-response-dto.ts +0 -40
- package/src/lib/Apis/models/contact-full-dto.ts +0 -93
- package/src/lib/Apis/models/contact-list-stats-response-dto.ts +0 -40
- package/src/lib/Apis/models/contact-lists-response-dto.ts +0 -40
- package/src/lib/Apis/models/create-marketing-campaign-dto.ts +0 -81
- package/src/lib/Apis/models/email-template-response-dto.ts +0 -117
- package/src/lib/Apis/models/general-stats-response-dto.ts +0 -40
- package/src/lib/Apis/models/send-test-email-dto.ts +0 -28
- package/src/lib/Apis/models/single-contact-aggregated-stats-dto.ts +0 -129
- package/src/lib/Apis/models/single-contact-list-stats-dto.ts +0 -117
- package/src/lib/Apis/models/single-general-stats.ts +0 -153
- package/src/lib/Apis/models/store-api-keys-response-dto.ts +0 -34
- package/src/lib/Apis/models/update-api-keys-dto.ts +0 -39
- package/src/lib/Apis/models/update-campaign-draft-content-dto.ts +0 -27
- package/src/lib/Apis/models/update-marketing-camp-draft-dto.ts +0 -81
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
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 { OrderStatusCountDto } from './order-status-count-dto';
|
|
15
|
+
import { TimeSeriesPointDto } from './time-series-point-dto';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface OrderOverviewDto
|
|
20
|
+
*/
|
|
21
|
+
export interface OrderOverviewDto {
|
|
22
|
+
_id?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Total orders in period
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof OrderOverviewDto
|
|
27
|
+
*/
|
|
28
|
+
totalOrders: number;
|
|
29
|
+
/**
|
|
30
|
+
* Orders pending processing
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof OrderOverviewDto
|
|
33
|
+
*/
|
|
34
|
+
pendingOrders: number;
|
|
35
|
+
/**
|
|
36
|
+
* Completed/delivered orders
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof OrderOverviewDto
|
|
39
|
+
*/
|
|
40
|
+
completedOrders: number;
|
|
41
|
+
/**
|
|
42
|
+
* Cancelled orders
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof OrderOverviewDto
|
|
45
|
+
*/
|
|
46
|
+
cancelledOrders: number;
|
|
47
|
+
/**
|
|
48
|
+
* Orders currently in fulfillment
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof OrderOverviewDto
|
|
51
|
+
*/
|
|
52
|
+
inFulfillmentOrders: number;
|
|
53
|
+
/**
|
|
54
|
+
* Average fulfillment time in hours
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof OrderOverviewDto
|
|
57
|
+
*/
|
|
58
|
+
avgFulfillmentTimeHours: number;
|
|
59
|
+
/**
|
|
60
|
+
* Delivery order count
|
|
61
|
+
* @type {number}
|
|
62
|
+
* @memberof OrderOverviewDto
|
|
63
|
+
*/
|
|
64
|
+
deliveryOrders: number;
|
|
65
|
+
/**
|
|
66
|
+
* Pickup order count
|
|
67
|
+
* @type {number}
|
|
68
|
+
* @memberof OrderOverviewDto
|
|
69
|
+
*/
|
|
70
|
+
pickupOrders: number;
|
|
71
|
+
/**
|
|
72
|
+
* Order growth vs previous period (%)
|
|
73
|
+
* @type {number}
|
|
74
|
+
* @memberof OrderOverviewDto
|
|
75
|
+
*/
|
|
76
|
+
orderGrowth: number;
|
|
77
|
+
/**
|
|
78
|
+
* Breakdown by order status
|
|
79
|
+
* @type {Array<OrderStatusCountDto>}
|
|
80
|
+
* @memberof OrderOverviewDto
|
|
81
|
+
*/
|
|
82
|
+
statusBreakdown: Array<OrderStatusCountDto>;
|
|
83
|
+
/**
|
|
84
|
+
* Daily order trend
|
|
85
|
+
* @type {Array<TimeSeriesPointDto>}
|
|
86
|
+
* @memberof OrderOverviewDto
|
|
87
|
+
*/
|
|
88
|
+
dailyTrend: Array<TimeSeriesPointDto>;
|
|
89
|
+
}
|
|
@@ -14,26 +14,26 @@
|
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
|
-
* @interface
|
|
17
|
+
* @interface OrderStatusCountDto
|
|
18
18
|
*/
|
|
19
|
-
export interface
|
|
19
|
+
export interface OrderStatusCountDto {
|
|
20
20
|
_id?: string;
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
|
-
* @type {
|
|
24
|
-
* @memberof
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof OrderStatusCountDto
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
status: string;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {number}
|
|
30
|
-
* @memberof
|
|
30
|
+
* @memberof OrderStatusCountDto
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
count: number;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
|
-
* @type {
|
|
36
|
-
* @memberof
|
|
35
|
+
* @type {number}
|
|
36
|
+
* @memberof OrderStatusCountDto
|
|
37
37
|
*/
|
|
38
|
-
|
|
38
|
+
percentage: number;
|
|
39
39
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 PayoutHistoryItemDto
|
|
18
|
+
*/
|
|
19
|
+
export interface PayoutHistoryItemDto {
|
|
20
|
+
_id?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Amount of the payout
|
|
23
|
+
* @type {number}
|
|
24
|
+
* @memberof PayoutHistoryItemDto
|
|
25
|
+
*/
|
|
26
|
+
amount: number;
|
|
27
|
+
/**
|
|
28
|
+
* Status of the payout (paid, pending, in_transit, failed)
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof PayoutHistoryItemDto
|
|
31
|
+
*/
|
|
32
|
+
status: string;
|
|
33
|
+
/**
|
|
34
|
+
* Date the payout arrived or is expected to arrive
|
|
35
|
+
* @type {Date}
|
|
36
|
+
* @memberof PayoutHistoryItemDto
|
|
37
|
+
*/
|
|
38
|
+
arrivalDate: Date;
|
|
39
|
+
/**
|
|
40
|
+
* Last 4 digits of the destination bank account
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof PayoutHistoryItemDto
|
|
43
|
+
*/
|
|
44
|
+
destinationBank: string;
|
|
45
|
+
}
|
|
@@ -14,26 +14,26 @@
|
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
|
-
* @interface
|
|
17
|
+
* @interface PopularTimeSlotDto
|
|
18
18
|
*/
|
|
19
|
-
export interface
|
|
19
|
+
export interface PopularTimeSlotDto {
|
|
20
20
|
_id?: string;
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
|
-
* @type {
|
|
24
|
-
* @memberof
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof PopularTimeSlotDto
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
time: string;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
|
-
* @type {
|
|
30
|
-
* @memberof
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof PopularTimeSlotDto
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
bookingCount: number;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
* @type {number}
|
|
36
|
-
* @memberof
|
|
36
|
+
* @memberof PopularTimeSlotDto
|
|
37
37
|
*/
|
|
38
|
-
|
|
38
|
+
percentage: number;
|
|
39
39
|
}
|
|
@@ -43,6 +43,7 @@ export enum PreferenceUpdateItemTypeEnum {
|
|
|
43
43
|
ORDERSHIPPED = 'ORDER_SHIPPED',
|
|
44
44
|
ORDERDELIVERED = 'ORDER_DELIVERED',
|
|
45
45
|
REFUNDPROCESSED = 'REFUND_PROCESSED',
|
|
46
|
+
REVIEWREPLY = 'REVIEW_REPLY',
|
|
46
47
|
ABANDONEDCARTREMINDER = 'ABANDONED_CART_REMINDER',
|
|
47
48
|
PRICEDROPALERT = 'PRICE_DROP_ALERT',
|
|
48
49
|
BACKINSTOCK = 'BACK_IN_STOCK',
|
|
@@ -0,0 +1,90 @@
|
|
|
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 { CategorySalesDto } from './category-sales-dto';
|
|
15
|
+
import { InventoryAlertDto } from './inventory-alert-dto';
|
|
16
|
+
import { TopProductDto } from './top-product-dto';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ProductOverviewDto
|
|
21
|
+
*/
|
|
22
|
+
export interface ProductOverviewDto {
|
|
23
|
+
_id?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Total products in catalog
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ProductOverviewDto
|
|
28
|
+
*/
|
|
29
|
+
totalProducts: number;
|
|
30
|
+
/**
|
|
31
|
+
* Active products
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ProductOverviewDto
|
|
34
|
+
*/
|
|
35
|
+
activeProducts: number;
|
|
36
|
+
/**
|
|
37
|
+
* Inactive products
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ProductOverviewDto
|
|
40
|
+
*/
|
|
41
|
+
inactiveProducts: number;
|
|
42
|
+
/**
|
|
43
|
+
* Total product variants
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ProductOverviewDto
|
|
46
|
+
*/
|
|
47
|
+
totalVariants: number;
|
|
48
|
+
/**
|
|
49
|
+
* Total inventory across all variants
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ProductOverviewDto
|
|
52
|
+
*/
|
|
53
|
+
totalInventory: number;
|
|
54
|
+
/**
|
|
55
|
+
* Products with low stock
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof ProductOverviewDto
|
|
58
|
+
*/
|
|
59
|
+
lowStockCount: number;
|
|
60
|
+
/**
|
|
61
|
+
* Products out of stock
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof ProductOverviewDto
|
|
64
|
+
*/
|
|
65
|
+
outOfStockCount: number;
|
|
66
|
+
/**
|
|
67
|
+
* Inventory value estimate
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof ProductOverviewDto
|
|
70
|
+
*/
|
|
71
|
+
inventoryValue: number;
|
|
72
|
+
/**
|
|
73
|
+
* Top selling products
|
|
74
|
+
* @type {Array<TopProductDto>}
|
|
75
|
+
* @memberof ProductOverviewDto
|
|
76
|
+
*/
|
|
77
|
+
topSellers: Array<TopProductDto>;
|
|
78
|
+
/**
|
|
79
|
+
* Inventory alerts
|
|
80
|
+
* @type {Array<InventoryAlertDto>}
|
|
81
|
+
* @memberof ProductOverviewDto
|
|
82
|
+
*/
|
|
83
|
+
inventoryAlerts: Array<InventoryAlertDto>;
|
|
84
|
+
/**
|
|
85
|
+
* Sales by category
|
|
86
|
+
* @type {Array<CategorySalesDto>}
|
|
87
|
+
* @memberof ProductOverviewDto
|
|
88
|
+
*/
|
|
89
|
+
categoryBreakdown: Array<CategorySalesDto>;
|
|
90
|
+
}
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
|
-
* @interface
|
|
17
|
+
* @interface ProductsAidraftBody
|
|
18
18
|
*/
|
|
19
|
-
export interface
|
|
19
|
+
export interface ProductsAidraftBody {
|
|
20
20
|
_id?: string;
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
* @type {string}
|
|
24
|
-
* @memberof
|
|
24
|
+
* @memberof ProductsAidraftBody
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
query?: string;
|
|
27
27
|
}
|
package/src/lib/Apis/models/{schedule-campaign-draft-dto.ts → products-processimage-body.ts}
RENAMED
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
|
-
* @interface
|
|
17
|
+
* @interface ProductsProcessimageBody
|
|
18
18
|
*/
|
|
19
|
-
export interface
|
|
19
|
+
export interface ProductsProcessimageBody {
|
|
20
20
|
_id?: string;
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
|
-
* @type {
|
|
24
|
-
* @memberof
|
|
23
|
+
* @type {Blob}
|
|
24
|
+
* @memberof ProductsProcessimageBody
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
image?: Blob;
|
|
27
27
|
}
|
|
@@ -11,30 +11,29 @@
|
|
|
11
11
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { ContactFullDTO } from './contact-full-dto';
|
|
15
14
|
/**
|
|
16
15
|
*
|
|
17
16
|
* @export
|
|
18
|
-
* @interface
|
|
17
|
+
* @interface RatingDistributionDto
|
|
19
18
|
*/
|
|
20
|
-
export interface
|
|
19
|
+
export interface RatingDistributionDto {
|
|
21
20
|
_id?: string;
|
|
22
21
|
/**
|
|
23
22
|
*
|
|
24
23
|
* @type {number}
|
|
25
|
-
* @memberof
|
|
24
|
+
* @memberof RatingDistributionDto
|
|
26
25
|
*/
|
|
27
|
-
|
|
26
|
+
rating: number;
|
|
28
27
|
/**
|
|
29
28
|
*
|
|
30
|
-
* @type {
|
|
31
|
-
* @memberof
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof RatingDistributionDto
|
|
32
31
|
*/
|
|
33
|
-
|
|
32
|
+
count: number;
|
|
34
33
|
/**
|
|
35
34
|
*
|
|
36
35
|
* @type {number}
|
|
37
|
-
* @memberof
|
|
36
|
+
* @memberof RatingDistributionDto
|
|
38
37
|
*/
|
|
39
|
-
|
|
38
|
+
percentage: number;
|
|
40
39
|
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 RecentReviewDto
|
|
18
|
+
*/
|
|
19
|
+
export interface RecentReviewDto {
|
|
20
|
+
_id?: string;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof RecentReviewDto
|
|
25
|
+
*/
|
|
26
|
+
reviewId: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof RecentReviewDto
|
|
31
|
+
*/
|
|
32
|
+
userId: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof RecentReviewDto
|
|
37
|
+
*/
|
|
38
|
+
userName: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {number}
|
|
42
|
+
* @memberof RecentReviewDto
|
|
43
|
+
*/
|
|
44
|
+
rating: number;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof RecentReviewDto
|
|
49
|
+
*/
|
|
50
|
+
review: string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof RecentReviewDto
|
|
55
|
+
*/
|
|
56
|
+
productName?: string;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {Date}
|
|
60
|
+
* @memberof RecentReviewDto
|
|
61
|
+
*/
|
|
62
|
+
createdAt: Date;
|
|
63
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 { RatingDistributionDto } from './rating-distribution-dto';
|
|
15
|
+
import { RecentReviewDto } from './recent-review-dto';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ReviewOverviewDto
|
|
20
|
+
*/
|
|
21
|
+
export interface ReviewOverviewDto {
|
|
22
|
+
_id?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Total reviews
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof ReviewOverviewDto
|
|
27
|
+
*/
|
|
28
|
+
totalReviews: number;
|
|
29
|
+
/**
|
|
30
|
+
* Reviews in current period
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof ReviewOverviewDto
|
|
33
|
+
*/
|
|
34
|
+
reviewsInPeriod: number;
|
|
35
|
+
/**
|
|
36
|
+
* Average rating (1-5)
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof ReviewOverviewDto
|
|
39
|
+
*/
|
|
40
|
+
averageRating: number;
|
|
41
|
+
/**
|
|
42
|
+
* Review growth vs previous period (%)
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof ReviewOverviewDto
|
|
45
|
+
*/
|
|
46
|
+
reviewGrowth: number;
|
|
47
|
+
/**
|
|
48
|
+
* Reviews pending reply
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof ReviewOverviewDto
|
|
51
|
+
*/
|
|
52
|
+
pendingReplies: number;
|
|
53
|
+
/**
|
|
54
|
+
* Rating distribution
|
|
55
|
+
* @type {Array<RatingDistributionDto>}
|
|
56
|
+
* @memberof ReviewOverviewDto
|
|
57
|
+
*/
|
|
58
|
+
ratingDistribution: Array<RatingDistributionDto>;
|
|
59
|
+
/**
|
|
60
|
+
* Recent reviews
|
|
61
|
+
* @type {Array<RecentReviewDto>}
|
|
62
|
+
* @memberof ReviewOverviewDto
|
|
63
|
+
*/
|
|
64
|
+
recentReviews: Array<RecentReviewDto>;
|
|
65
|
+
}
|
|
@@ -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 StoreBalanceDto
|
|
18
|
+
*/
|
|
19
|
+
export interface StoreBalanceDto {
|
|
20
|
+
_id?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Available balance ready to be paid out
|
|
23
|
+
* @type {number}
|
|
24
|
+
* @memberof StoreBalanceDto
|
|
25
|
+
*/
|
|
26
|
+
availableAmount: number;
|
|
27
|
+
/**
|
|
28
|
+
* Balance currently pending
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof StoreBalanceDto
|
|
31
|
+
*/
|
|
32
|
+
pendingAmount: number;
|
|
33
|
+
/**
|
|
34
|
+
* Currency code (e.g. usd)
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof StoreBalanceDto
|
|
37
|
+
*/
|
|
38
|
+
currency: string;
|
|
39
|
+
}
|
|
@@ -79,6 +79,18 @@ export interface StoreEntity {
|
|
|
79
79
|
* @memberof StoreEntity
|
|
80
80
|
*/
|
|
81
81
|
shippoAccountId?: string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof StoreEntity
|
|
86
|
+
*/
|
|
87
|
+
stripeAccountId?: string;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {boolean}
|
|
91
|
+
* @memberof StoreEntity
|
|
92
|
+
*/
|
|
93
|
+
stripeOnboardingCompleted?: boolean;
|
|
82
94
|
/**
|
|
83
95
|
*
|
|
84
96
|
* @type {string}
|