hey-pharmacist-ecommerce 1.0.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/README.md +269 -0
- package/dist/index.d.mts +564 -0
- package/dist/index.d.ts +564 -0
- package/dist/index.js +7541 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +7485 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +70 -0
- package/src/components/CartItem.tsx +103 -0
- package/src/components/EmptyState.tsx +27 -0
- package/src/components/Footer.tsx +147 -0
- package/src/components/Header.tsx +151 -0
- package/src/components/OrderCard.tsx +98 -0
- package/src/components/ProductCard.tsx +122 -0
- package/src/components/ui/Badge.tsx +31 -0
- package/src/components/ui/Button.tsx +61 -0
- package/src/components/ui/Input.tsx +45 -0
- package/src/components/ui/Modal.tsx +79 -0
- package/src/components/ui/Skeleton.tsx +46 -0
- package/src/hooks/useOrders.ts +98 -0
- package/src/hooks/useProducts.ts +125 -0
- package/src/index.ts +71 -0
- package/src/lib/Apis/api.ts +46 -0
- package/src/lib/Apis/apis/addresses-api.ts +1461 -0
- package/src/lib/Apis/apis/auth-api.ts +945 -0
- package/src/lib/Apis/apis/blogs-api.ts +582 -0
- package/src/lib/Apis/apis/cart-api.ts +456 -0
- package/src/lib/Apis/apis/categories-api.ts +725 -0
- package/src/lib/Apis/apis/chats-api.ts +1101 -0
- package/src/lib/Apis/apis/contact-us-api.ts +394 -0
- package/src/lib/Apis/apis/discounts-api.ts +763 -0
- package/src/lib/Apis/apis/drafts-api.ts +448 -0
- package/src/lib/Apis/apis/events-api.ts +1311 -0
- package/src/lib/Apis/apis/file-proccesor-api.ts +293 -0
- package/src/lib/Apis/apis/health-api.ts +119 -0
- package/src/lib/Apis/apis/images-api.ts +271 -0
- package/src/lib/Apis/apis/inventory-api.ts +375 -0
- package/src/lib/Apis/apis/marketing-api.ts +3099 -0
- package/src/lib/Apis/apis/notifications-api.ts +843 -0
- package/src/lib/Apis/apis/open-aiapi.ts +513 -0
- package/src/lib/Apis/apis/orders-api.ts +1343 -0
- package/src/lib/Apis/apis/payment-methods-api.ts +411 -0
- package/src/lib/Apis/apis/payments-api.ts +469 -0
- package/src/lib/Apis/apis/product-attributes-api.ts +538 -0
- package/src/lib/Apis/apis/product-favorite-list-api.ts +321 -0
- package/src/lib/Apis/apis/product-variants-api.ts +648 -0
- package/src/lib/Apis/apis/products-api.ts +1442 -0
- package/src/lib/Apis/apis/review-api.ts +1383 -0
- package/src/lib/Apis/apis/roles-api.ts +614 -0
- package/src/lib/Apis/apis/shipping-api.ts +703 -0
- package/src/lib/Apis/apis/statistics-api.ts +234 -0
- package/src/lib/Apis/apis/stores-api.ts +1519 -0
- package/src/lib/Apis/apis/sub-categories-api.ts +1208 -0
- package/src/lib/Apis/apis/user-groups-api.ts +1198 -0
- package/src/lib/Apis/apis/users-api.ts +1403 -0
- package/src/lib/Apis/apis/web-hooks-api.ts +198 -0
- package/src/lib/Apis/base.ts +70 -0
- package/src/lib/Apis/configuration.ts +75 -0
- package/src/lib/Apis/index.ts +17 -0
- package/src/lib/Apis/models/add-contact-to-list-dto.ts +33 -0
- package/src/lib/Apis/models/add-message-dto.ts +56 -0
- package/src/lib/Apis/models/address-created-request.ts +134 -0
- package/src/lib/Apis/models/address.ts +164 -0
- package/src/lib/Apis/models/allow-user-credit-dto.ts +27 -0
- package/src/lib/Apis/models/appointment.ts +75 -0
- package/src/lib/Apis/models/available-dates-dto.ts +33 -0
- package/src/lib/Apis/models/available-suggested-dates-dto.ts +33 -0
- package/src/lib/Apis/models/blog.ts +75 -0
- package/src/lib/Apis/models/browser-stats-response-dto.ts +40 -0
- package/src/lib/Apis/models/bulk-move-subcategories-dto.ts +33 -0
- package/src/lib/Apis/models/bulk-unassign-subcategories-dto.ts +27 -0
- package/src/lib/Apis/models/campaign-content-response-dto.ts +40 -0
- package/src/lib/Apis/models/campaign-draft-dto.ts +175 -0
- package/src/lib/Apis/models/campaign-draft-response-dto.ts +40 -0
- package/src/lib/Apis/models/campaign-draft-schedule-dto.ts +49 -0
- package/src/lib/Apis/models/campaign-draft-schedule-response-dto.ts +40 -0
- package/src/lib/Apis/models/campaign-draft-sending-dto.ts +43 -0
- package/src/lib/Apis/models/campaign-draft-sending-response-dto.ts +40 -0
- package/src/lib/Apis/models/cart-body-dto.ts +40 -0
- package/src/lib/Apis/models/cart-body-populated.ts +47 -0
- package/src/lib/Apis/models/cart-item-populated.ts +41 -0
- package/src/lib/Apis/models/cart-item.ts +33 -0
- package/src/lib/Apis/models/cart-response-dto.ts +70 -0
- package/src/lib/Apis/models/categories-paginated-response-dto.ts +52 -0
- package/src/lib/Apis/models/category-filters.ts +40 -0
- package/src/lib/Apis/models/category-populated.ts +106 -0
- package/src/lib/Apis/models/category-sub-category-populated.ts +51 -0
- package/src/lib/Apis/models/category.ts +99 -0
- package/src/lib/Apis/models/categorys-headlines-response-dto.ts +40 -0
- package/src/lib/Apis/models/change-user-email-dto.ts +27 -0
- package/src/lib/Apis/models/chat.ts +33 -0
- package/src/lib/Apis/models/check-notifications-response-dto.ts +33 -0
- package/src/lib/Apis/models/contact-aggregated-stats-response-dto.ts +40 -0
- package/src/lib/Apis/models/contact-full-dto.ts +93 -0
- package/src/lib/Apis/models/contact-full-response-dto.ts +40 -0
- package/src/lib/Apis/models/contact-list-stats-response-dto.ts +40 -0
- package/src/lib/Apis/models/contact-lists-response-dto.ts +40 -0
- package/src/lib/Apis/models/contact-us.ts +81 -0
- package/src/lib/Apis/models/country-stats-response-dto.ts +40 -0
- package/src/lib/Apis/models/create-address-dto.ts +134 -0
- package/src/lib/Apis/models/create-blog-dto.ts +45 -0
- package/src/lib/Apis/models/create-category-dto.ts +45 -0
- package/src/lib/Apis/models/create-chat-dto.ts +39 -0
- package/src/lib/Apis/models/create-contact-dto.ts +39 -0
- package/src/lib/Apis/models/create-contact-list-dto.ts +27 -0
- package/src/lib/Apis/models/create-discount-dto.ts +208 -0
- package/src/lib/Apis/models/create-draft-dto.ts +67 -0
- package/src/lib/Apis/models/create-email-template-dto.ts +51 -0
- package/src/lib/Apis/models/create-event-dto.ts +52 -0
- package/src/lib/Apis/models/create-marketing-campaign-dto.ts +81 -0
- package/src/lib/Apis/models/create-message-dto.ts +57 -0
- package/src/lib/Apis/models/create-notification-dto.ts +75 -0
- package/src/lib/Apis/models/create-product-attribute-dto.ts +33 -0
- package/src/lib/Apis/models/create-product-dto.ts +94 -0
- package/src/lib/Apis/models/create-review-dto.ts +63 -0
- package/src/lib/Apis/models/create-role-dto.ts +57 -0
- package/src/lib/Apis/models/create-single-variant-product-dto.ts +155 -0
- package/src/lib/Apis/models/create-store-address-dto.ts +134 -0
- package/src/lib/Apis/models/create-store-dto.ts +105 -0
- package/src/lib/Apis/models/create-sub-category-dto.ts +45 -0
- package/src/lib/Apis/models/create-user-dto.ts +89 -0
- package/src/lib/Apis/models/create-user-group-dto.ts +39 -0
- package/src/lib/Apis/models/create-variant-dto.ts +119 -0
- package/src/lib/Apis/models/create-zone-dto.ts +82 -0
- package/src/lib/Apis/models/custom-product-dto.ts +63 -0
- package/src/lib/Apis/models/default-payment-method-request-dto.ts +27 -0
- package/src/lib/Apis/models/delete-file-dto.ts +27 -0
- package/src/lib/Apis/models/delete-many-files-dto.ts +27 -0
- package/src/lib/Apis/models/discount-paginated-response.ts +52 -0
- package/src/lib/Apis/models/discount.ts +245 -0
- package/src/lib/Apis/models/discounts-insights-dto.ts +57 -0
- package/src/lib/Apis/models/draft.ts +79 -0
- package/src/lib/Apis/models/email-invoice-dto.ts +45 -0
- package/src/lib/Apis/models/email-template-response-dto.ts +117 -0
- package/src/lib/Apis/models/event.ts +76 -0
- package/src/lib/Apis/models/extended-product-dto.ts +204 -0
- package/src/lib/Apis/models/fileproccesor-upload-body.ts +27 -0
- package/src/lib/Apis/models/forget-password.ts +27 -0
- package/src/lib/Apis/models/frequently-bought-product-dto.ts +71 -0
- package/src/lib/Apis/models/general-stats-response-dto.ts +40 -0
- package/src/lib/Apis/models/generate-day-slots-dto.ts +51 -0
- package/src/lib/Apis/models/generate-month-slots-dto.ts +57 -0
- package/src/lib/Apis/models/generate-week-slots-dto.ts +57 -0
- package/src/lib/Apis/models/google-analytics-request-dto.ts +55 -0
- package/src/lib/Apis/models/google-analytics-response-dto.ts +39 -0
- package/src/lib/Apis/models/group-with-no-users-dto.ts +75 -0
- package/src/lib/Apis/models/group-with-users-dto.ts +76 -0
- package/src/lib/Apis/models/images-upload-body.ts +27 -0
- package/src/lib/Apis/models/index.ts +197 -0
- package/src/lib/Apis/models/inventory-paginated-response.ts +75 -0
- package/src/lib/Apis/models/link-stats-response-dto.ts +40 -0
- package/src/lib/Apis/models/login-dto.ts +33 -0
- package/src/lib/Apis/models/manual-discount.ts +49 -0
- package/src/lib/Apis/models/manual-order-dto.ts +133 -0
- package/src/lib/Apis/models/manual-shipping-dto.ts +45 -0
- package/src/lib/Apis/models/marketing-campaign-content-dto.ts +27 -0
- package/src/lib/Apis/models/marketing-list-contact-dto.ts +51 -0
- package/src/lib/Apis/models/move-subcategory-dto.ts +27 -0
- package/src/lib/Apis/models/my-favorite-list-dto.ts +52 -0
- package/src/lib/Apis/models/notification.ts +93 -0
- package/src/lib/Apis/models/object-id.ts +21 -0
- package/src/lib/Apis/models/open-api.ts +33 -0
- package/src/lib/Apis/models/order-paginated-response.ts +52 -0
- package/src/lib/Apis/models/order.ts +214 -0
- package/src/lib/Apis/models/orders-insights-dto.ts +69 -0
- package/src/lib/Apis/models/paginated-products-dto.ts +52 -0
- package/src/lib/Apis/models/payment-method-data.ts +34 -0
- package/src/lib/Apis/models/payment-method.ts +51 -0
- package/src/lib/Apis/models/payment-time-line-dto.ts +56 -0
- package/src/lib/Apis/models/payment.ts +182 -0
- package/src/lib/Apis/models/payments-insights-dto.ts +69 -0
- package/src/lib/Apis/models/payments-paginated-response.ts +52 -0
- package/src/lib/Apis/models/pick-type-class.ts +51 -0
- package/src/lib/Apis/models/populated-chat-dto.ts +95 -0
- package/src/lib/Apis/models/populated-discount.ts +246 -0
- package/src/lib/Apis/models/populated-order.ts +209 -0
- package/src/lib/Apis/models/prefered-pick-or-delivery-time-dto.ts +33 -0
- package/src/lib/Apis/models/price-range.ts +33 -0
- package/src/lib/Apis/models/product-attribute.ts +57 -0
- package/src/lib/Apis/models/product-variant.ts +167 -0
- package/src/lib/Apis/models/product.ts +136 -0
- package/src/lib/Apis/models/products-insights-dto.ts +45 -0
- package/src/lib/Apis/models/rate-dto.ts +123 -0
- package/src/lib/Apis/models/refill-request-dto.ts +75 -0
- package/src/lib/Apis/models/refill-request.ts +105 -0
- package/src/lib/Apis/models/register-or-login-with-gmail.ts +27 -0
- package/src/lib/Apis/models/reserve-appointment.ts +261 -0
- package/src/lib/Apis/models/review.ts +93 -0
- package/src/lib/Apis/models/role.ts +69 -0
- package/src/lib/Apis/models/schedule-campaign-draft-dto.ts +27 -0
- package/src/lib/Apis/models/send-test-email-dto.ts +28 -0
- package/src/lib/Apis/models/shallow-parent-category-dto.ts +33 -0
- package/src/lib/Apis/models/shipment-details-dto.ts +88 -0
- package/src/lib/Apis/models/shipment-status-dto.ts +117 -0
- package/src/lib/Apis/models/shipment-with-order.ts +105 -0
- package/src/lib/Apis/models/shipment.ts +104 -0
- package/src/lib/Apis/models/shipping-info.ts +88 -0
- package/src/lib/Apis/models/single-browser-stats-dto.ts +45 -0
- package/src/lib/Apis/models/single-contact-aggregated-stats-dto.ts +129 -0
- package/src/lib/Apis/models/single-contact-list-stats-dto.ts +117 -0
- package/src/lib/Apis/models/single-country-stats-dto.ts +39 -0
- package/src/lib/Apis/models/single-general-stats.ts +153 -0
- package/src/lib/Apis/models/single-link-stats-dto.ts +39 -0
- package/src/lib/Apis/models/single-message-populated.ts +59 -0
- package/src/lib/Apis/models/single-notification-dto.ts +99 -0
- package/src/lib/Apis/models/single-product-media.ts +74 -0
- package/src/lib/Apis/models/single-recipient-dto.ts +33 -0
- package/src/lib/Apis/models/single-suggest-attribute.ts +33 -0
- package/src/lib/Apis/models/statistic-dto.ts +171 -0
- package/src/lib/Apis/models/store-entity.ts +117 -0
- package/src/lib/Apis/models/store.ts +135 -0
- package/src/lib/Apis/models/sub-category-headlines-only-response-dto.ts +39 -0
- package/src/lib/Apis/models/sub-category.ts +93 -0
- package/src/lib/Apis/models/suggest-attributes.ts +28 -0
- package/src/lib/Apis/models/suggested-slot.ts +33 -0
- package/src/lib/Apis/models/table-cell-dto.ts +33 -0
- package/src/lib/Apis/models/table-dto.ts +34 -0
- package/src/lib/Apis/models/tadmin-session-data.ts +47 -0
- package/src/lib/Apis/models/track-dto.ts +94 -0
- package/src/lib/Apis/models/tracking-status-location-base.ts +45 -0
- package/src/lib/Apis/models/tracking-status-substatus.ts +39 -0
- package/src/lib/Apis/models/tracking-status.ts +71 -0
- package/src/lib/Apis/models/transfere-patient-request.ts +123 -0
- package/src/lib/Apis/models/transfere-patients-request-dto.ts +99 -0
- package/src/lib/Apis/models/tuser-session-data.ts +34 -0
- package/src/lib/Apis/models/update-address-dto.ts +134 -0
- package/src/lib/Apis/models/update-blog-dto.ts +45 -0
- package/src/lib/Apis/models/update-campaign-draft-content-dto.ts +27 -0
- package/src/lib/Apis/models/update-category-dto.ts +45 -0
- package/src/lib/Apis/models/update-discount-dto.ts +208 -0
- package/src/lib/Apis/models/update-event-dto.ts +52 -0
- package/src/lib/Apis/models/update-items-order-dto.ts +27 -0
- package/src/lib/Apis/models/update-marketing-camp-draft-dto.ts +81 -0
- package/src/lib/Apis/models/update-message-dto.ts +57 -0
- package/src/lib/Apis/models/update-product-attribute-dto.ts +33 -0
- package/src/lib/Apis/models/update-product-dto.ts +96 -0
- package/src/lib/Apis/models/update-product-variant-dto.ts +119 -0
- package/src/lib/Apis/models/update-refill-request-dto.ts +75 -0
- package/src/lib/Apis/models/update-review-dto.ts +63 -0
- package/src/lib/Apis/models/update-role-dto.ts +57 -0
- package/src/lib/Apis/models/update-store-dto.ts +105 -0
- package/src/lib/Apis/models/update-sub-category-dto.ts +45 -0
- package/src/lib/Apis/models/update-transfere-patients-request-dto.ts +99 -0
- package/src/lib/Apis/models/update-user-dto.ts +239 -0
- package/src/lib/Apis/models/update-user-group-dto.ts +39 -0
- package/src/lib/Apis/models/update-zone-dto.ts +82 -0
- package/src/lib/Apis/models/upload-pdf-body.ts +27 -0
- package/src/lib/Apis/models/used-by.ts +87 -0
- package/src/lib/Apis/models/user-entity.ts +220 -0
- package/src/lib/Apis/models/user-group.ts +75 -0
- package/src/lib/Apis/models/user-insights-dto.ts +39 -0
- package/src/lib/Apis/models/user-with-no-id.ts +226 -0
- package/src/lib/Apis/models/user.ts +232 -0
- package/src/lib/Apis/models/users-paginated-response.ts +52 -0
- package/src/lib/Apis/models/verify-email-dto.ts +33 -0
- package/src/lib/Apis/models/zone-single-size.ts +51 -0
- package/src/lib/Apis/models/zone.ts +106 -0
- package/src/lib/Apis/wrapper.ts +37 -0
- package/src/lib/api/auth.ts +81 -0
- package/src/lib/api/cart.ts +42 -0
- package/src/lib/api/client.ts +118 -0
- package/src/lib/api/orders.ts +53 -0
- package/src/lib/api/products.ts +51 -0
- package/src/lib/api-adapter/auth-adapter.ts +196 -0
- package/src/lib/api-adapter/cart-adapter.ts +193 -0
- package/src/lib/api-adapter/config.ts +76 -0
- package/src/lib/api-adapter/index.ts +13 -0
- package/src/lib/api-adapter/mappers.ts +147 -0
- package/src/lib/api-adapter/orders-adapter.ts +195 -0
- package/src/lib/api-adapter/products-adapter.ts +194 -0
- package/src/lib/types/index.ts +152 -0
- package/src/lib/utils/colors.ts +51 -0
- package/src/lib/utils/format.ts +48 -0
- package/src/providers/AuthProvider.tsx +117 -0
- package/src/providers/CartProvider.tsx +131 -0
- package/src/providers/EcommerceProvider.tsx +34 -0
- package/src/providers/ThemeProvider.tsx +57 -0
- package/src/screens/CartScreen.tsx +140 -0
- package/src/screens/CheckoutScreen.tsx +340 -0
- package/src/screens/CurrentOrdersScreen.tsx +85 -0
- package/src/screens/LoginScreen.tsx +149 -0
- package/src/screens/OrdersScreen.tsx +86 -0
- package/src/screens/ProductDetailScreen.tsx +255 -0
- package/src/screens/ProfileScreen.tsx +211 -0
- package/src/screens/RegisterScreen.tsx +200 -0
- package/src/screens/ShopScreen.tsx +233 -0
- package/src/styles/globals.css +51 -0
|
@@ -0,0 +1,69 @@
|
|
|
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 PaymentsInsightsDto
|
|
18
|
+
*/
|
|
19
|
+
export interface PaymentsInsightsDto {
|
|
20
|
+
_id?: string;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {number}
|
|
24
|
+
* @memberof PaymentsInsightsDto
|
|
25
|
+
*/
|
|
26
|
+
totalPayments: number;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof PaymentsInsightsDto
|
|
31
|
+
*/
|
|
32
|
+
totalUnPaid: number;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {number}
|
|
36
|
+
* @memberof PaymentsInsightsDto
|
|
37
|
+
*/
|
|
38
|
+
totalPaid: number;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {number}
|
|
42
|
+
* @memberof PaymentsInsightsDto
|
|
43
|
+
*/
|
|
44
|
+
totalRefunded: number;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {number}
|
|
48
|
+
* @memberof PaymentsInsightsDto
|
|
49
|
+
*/
|
|
50
|
+
totalPartiallyRefunded: number;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {number}
|
|
54
|
+
* @memberof PaymentsInsightsDto
|
|
55
|
+
*/
|
|
56
|
+
totalPastDue: number;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {number}
|
|
60
|
+
* @memberof PaymentsInsightsDto
|
|
61
|
+
*/
|
|
62
|
+
totalProcessing: number;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {number}
|
|
66
|
+
* @memberof PaymentsInsightsDto
|
|
67
|
+
*/
|
|
68
|
+
totalFailed: number;
|
|
69
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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 { Payment } from './payment';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface PaymentsPaginatedResponse
|
|
19
|
+
*/
|
|
20
|
+
export interface PaymentsPaginatedResponse {
|
|
21
|
+
_id?: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Array<Payment>}
|
|
25
|
+
* @memberof PaymentsPaginatedResponse
|
|
26
|
+
*/
|
|
27
|
+
data: Array<Payment>;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof PaymentsPaginatedResponse
|
|
32
|
+
*/
|
|
33
|
+
total: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof PaymentsPaginatedResponse
|
|
38
|
+
*/
|
|
39
|
+
totalPages: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof PaymentsPaginatedResponse
|
|
44
|
+
*/
|
|
45
|
+
page: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof PaymentsPaginatedResponse
|
|
50
|
+
*/
|
|
51
|
+
limit: number;
|
|
52
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 PickTypeClass
|
|
18
|
+
*/
|
|
19
|
+
export interface PickTypeClass {
|
|
20
|
+
_id?: string;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof PickTypeClass
|
|
25
|
+
*/
|
|
26
|
+
id?: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof PickTypeClass
|
|
31
|
+
*/
|
|
32
|
+
firstname?: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof PickTypeClass
|
|
37
|
+
*/
|
|
38
|
+
lastname?: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof PickTypeClass
|
|
43
|
+
*/
|
|
44
|
+
avatar?: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof PickTypeClass
|
|
49
|
+
*/
|
|
50
|
+
phoneNumber?: string;
|
|
51
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
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 { SingleMessagePopulated } from './single-message-populated';
|
|
15
|
+
import { User } from './user';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PopulatedChatDto
|
|
20
|
+
*/
|
|
21
|
+
export interface PopulatedChatDto {
|
|
22
|
+
_id?: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PopulatedChatDto
|
|
27
|
+
*/
|
|
28
|
+
id: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<User>}
|
|
32
|
+
* @memberof PopulatedChatDto
|
|
33
|
+
*/
|
|
34
|
+
participants: Array<User>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Array<SingleMessagePopulated>}
|
|
38
|
+
* @memberof PopulatedChatDto
|
|
39
|
+
*/
|
|
40
|
+
conversation: Array<SingleMessagePopulated>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {User}
|
|
44
|
+
* @memberof PopulatedChatDto
|
|
45
|
+
*/
|
|
46
|
+
createdBy: User;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof PopulatedChatDto
|
|
51
|
+
*/
|
|
52
|
+
isArchived: boolean;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {boolean}
|
|
56
|
+
* @memberof PopulatedChatDto
|
|
57
|
+
*/
|
|
58
|
+
isClosed: boolean;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {boolean}
|
|
62
|
+
* @memberof PopulatedChatDto
|
|
63
|
+
*/
|
|
64
|
+
isDeleted: boolean;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {Date}
|
|
68
|
+
* @memberof PopulatedChatDto
|
|
69
|
+
*/
|
|
70
|
+
createdAt: Date;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {Date}
|
|
74
|
+
* @memberof PopulatedChatDto
|
|
75
|
+
*/
|
|
76
|
+
updatedAt: Date;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {SingleMessagePopulated}
|
|
80
|
+
* @memberof PopulatedChatDto
|
|
81
|
+
*/
|
|
82
|
+
lastMessage: SingleMessagePopulated;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof PopulatedChatDto
|
|
87
|
+
*/
|
|
88
|
+
unreadMessages: number;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {boolean}
|
|
92
|
+
* @memberof PopulatedChatDto
|
|
93
|
+
*/
|
|
94
|
+
hasUnreadMessages: boolean;
|
|
95
|
+
}
|
|
@@ -0,0 +1,246 @@
|
|
|
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 { PickTypeClass } from './pick-type-class';
|
|
15
|
+
import { UsedBy } from './used-by';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PopulatedDiscount
|
|
20
|
+
*/
|
|
21
|
+
export interface PopulatedDiscount {
|
|
22
|
+
_id?: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {Date}
|
|
26
|
+
* @memberof PopulatedDiscount
|
|
27
|
+
*/
|
|
28
|
+
createdAt?: Date;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Date}
|
|
32
|
+
* @memberof PopulatedDiscount
|
|
33
|
+
*/
|
|
34
|
+
updatedAt?: Date;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PopulatedDiscount
|
|
39
|
+
*/
|
|
40
|
+
id?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PopulatedDiscount
|
|
45
|
+
*/
|
|
46
|
+
discountName?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PopulatedDiscount
|
|
51
|
+
*/
|
|
52
|
+
description?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PopulatedDiscount
|
|
57
|
+
*/
|
|
58
|
+
discountType?: PopulatedDiscountDiscountTypeEnum;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PopulatedDiscount
|
|
63
|
+
*/
|
|
64
|
+
decreasePriceBy?: PopulatedDiscountDecreasePriceByEnum;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof PopulatedDiscount
|
|
69
|
+
*/
|
|
70
|
+
code?: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {boolean}
|
|
74
|
+
* @memberof PopulatedDiscount
|
|
75
|
+
*/
|
|
76
|
+
automatic?: boolean;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @memberof PopulatedDiscount
|
|
81
|
+
*/
|
|
82
|
+
cappedAt?: number;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof PopulatedDiscount
|
|
87
|
+
*/
|
|
88
|
+
amount?: number;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {Date}
|
|
92
|
+
* @memberof PopulatedDiscount
|
|
93
|
+
*/
|
|
94
|
+
startsAt?: Date;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {Date}
|
|
98
|
+
* @memberof PopulatedDiscount
|
|
99
|
+
*/
|
|
100
|
+
expiresAt?: Date;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {number}
|
|
104
|
+
* @memberof PopulatedDiscount
|
|
105
|
+
*/
|
|
106
|
+
maxUses?: number;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {number}
|
|
110
|
+
* @memberof PopulatedDiscount
|
|
111
|
+
*/
|
|
112
|
+
numberOfUses?: number;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof PopulatedDiscount
|
|
117
|
+
*/
|
|
118
|
+
state?: PopulatedDiscountStateEnum;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof PopulatedDiscount
|
|
123
|
+
*/
|
|
124
|
+
storeId?: string;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {Array<UsedBy>}
|
|
128
|
+
* @memberof PopulatedDiscount
|
|
129
|
+
*/
|
|
130
|
+
usedBy?: Array<UsedBy>;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {number}
|
|
134
|
+
* @memberof PopulatedDiscount
|
|
135
|
+
*/
|
|
136
|
+
maxUsesPerUser?: number;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @type {string}
|
|
140
|
+
* @memberof PopulatedDiscount
|
|
141
|
+
*/
|
|
142
|
+
minPurchaseRequired?: PopulatedDiscountMinPurchaseRequiredEnum;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @type {number}
|
|
146
|
+
* @memberof PopulatedDiscount
|
|
147
|
+
*/
|
|
148
|
+
minPurchaseAmount?: number;
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
* @type {number}
|
|
152
|
+
* @memberof PopulatedDiscount
|
|
153
|
+
*/
|
|
154
|
+
minPurchaseQuantity?: number;
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
* @type {string}
|
|
158
|
+
* @memberof PopulatedDiscount
|
|
159
|
+
*/
|
|
160
|
+
customerEligibility?: PopulatedDiscountCustomerEligibilityEnum;
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* @type {Array<string>}
|
|
164
|
+
* @memberof PopulatedDiscount
|
|
165
|
+
*/
|
|
166
|
+
eligibleZipCodes?: Array<string>;
|
|
167
|
+
/**
|
|
168
|
+
*
|
|
169
|
+
* @type {Array<PickTypeClass>}
|
|
170
|
+
* @memberof PopulatedDiscount
|
|
171
|
+
*/
|
|
172
|
+
usersEligible: Array<PickTypeClass>;
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @type {Array<string>}
|
|
176
|
+
* @memberof PopulatedDiscount
|
|
177
|
+
*/
|
|
178
|
+
groupsEligible: Array<string>;
|
|
179
|
+
/**
|
|
180
|
+
*
|
|
181
|
+
* @type {Array<string>}
|
|
182
|
+
* @memberof PopulatedDiscount
|
|
183
|
+
*/
|
|
184
|
+
categoriesEligible: Array<string>;
|
|
185
|
+
/**
|
|
186
|
+
*
|
|
187
|
+
* @type {Array<string>}
|
|
188
|
+
* @memberof PopulatedDiscount
|
|
189
|
+
*/
|
|
190
|
+
productsEligible: Array<string>;
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* @type {Array<string>}
|
|
194
|
+
* @memberof PopulatedDiscount
|
|
195
|
+
*/
|
|
196
|
+
variantsEligible: Array<string>;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @export
|
|
201
|
+
* @enum {string}
|
|
202
|
+
*/
|
|
203
|
+
export enum PopulatedDiscountDiscountTypeEnum {
|
|
204
|
+
CARTBALANCE = 'CART_BALANCE',
|
|
205
|
+
SHIPPING = 'SHIPPING',
|
|
206
|
+
PRODUCT = 'PRODUCT',
|
|
207
|
+
CATEGORY = 'CATEGORY',
|
|
208
|
+
VARIANT = 'VARIANT'
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* @export
|
|
212
|
+
* @enum {string}
|
|
213
|
+
*/
|
|
214
|
+
export enum PopulatedDiscountDecreasePriceByEnum {
|
|
215
|
+
PERCENTAGE = 'PERCENTAGE',
|
|
216
|
+
AMOUNT = 'AMOUNT'
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* @export
|
|
220
|
+
* @enum {string}
|
|
221
|
+
*/
|
|
222
|
+
export enum PopulatedDiscountStateEnum {
|
|
223
|
+
ACTIVE = 'ACTIVE',
|
|
224
|
+
INACTIVE = 'INACTIVE',
|
|
225
|
+
EXPIRED = 'EXPIRED',
|
|
226
|
+
SCHEDULED = 'SCHEDULED'
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* @export
|
|
230
|
+
* @enum {string}
|
|
231
|
+
*/
|
|
232
|
+
export enum PopulatedDiscountMinPurchaseRequiredEnum {
|
|
233
|
+
NOREQUIREMENT = 'NO_REQUIREMENT',
|
|
234
|
+
MINIMUMAMOUNT = 'MINIMUM_AMOUNT',
|
|
235
|
+
MINIMUMQUANTITY = 'MINIMUM_QUANTITY'
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* @export
|
|
239
|
+
* @enum {string}
|
|
240
|
+
*/
|
|
241
|
+
export enum PopulatedDiscountCustomerEligibilityEnum {
|
|
242
|
+
ALL = 'ALL',
|
|
243
|
+
SPECIFICUSERS = 'SPECIFIC_USERS',
|
|
244
|
+
SPECIFICGROUPS = 'SPECIFIC_GROUPS'
|
|
245
|
+
}
|
|
246
|
+
|
|
@@ -0,0 +1,209 @@
|
|
|
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 { Address } from './address';
|
|
15
|
+
import { CartItemPopulated } from './cart-item-populated';
|
|
16
|
+
import { Discount } from './discount';
|
|
17
|
+
import { ObjectId } from './object-id';
|
|
18
|
+
import { Payment } from './payment';
|
|
19
|
+
import { PreferedPickOrDeliveryTimeDto } from './prefered-pick-or-delivery-time-dto';
|
|
20
|
+
import { ShippingInfo } from './shipping-info';
|
|
21
|
+
import { UserWithNoId } from './user-with-no-id';
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
* @interface PopulatedOrder
|
|
26
|
+
*/
|
|
27
|
+
export interface PopulatedOrder {
|
|
28
|
+
_id?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Date}
|
|
32
|
+
* @memberof PopulatedOrder
|
|
33
|
+
*/
|
|
34
|
+
createdAt?: Date;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Date}
|
|
38
|
+
* @memberof PopulatedOrder
|
|
39
|
+
*/
|
|
40
|
+
updatedAt?: Date;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PopulatedOrder
|
|
45
|
+
*/
|
|
46
|
+
id?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {ObjectId}
|
|
50
|
+
* @memberof PopulatedOrder
|
|
51
|
+
*/
|
|
52
|
+
userId?: ObjectId;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PopulatedOrder
|
|
57
|
+
*/
|
|
58
|
+
shipmentId?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PopulatedOrder
|
|
63
|
+
*/
|
|
64
|
+
orderType?: PopulatedOrderOrderTypeEnum;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof PopulatedOrder
|
|
69
|
+
*/
|
|
70
|
+
orderStatus?: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {Array<CartItemPopulated>}
|
|
74
|
+
* @memberof PopulatedOrder
|
|
75
|
+
*/
|
|
76
|
+
items?: Array<CartItemPopulated>;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @memberof PopulatedOrder
|
|
81
|
+
*/
|
|
82
|
+
subTotal?: number;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof PopulatedOrder
|
|
87
|
+
*/
|
|
88
|
+
tax?: number;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {number}
|
|
92
|
+
* @memberof PopulatedOrder
|
|
93
|
+
*/
|
|
94
|
+
shippingCost?: number;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {number}
|
|
98
|
+
* @memberof PopulatedOrder
|
|
99
|
+
*/
|
|
100
|
+
grandTotal?: number;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {number}
|
|
104
|
+
* @memberof PopulatedOrder
|
|
105
|
+
*/
|
|
106
|
+
discountedAmount?: number;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {ShippingInfo}
|
|
110
|
+
* @memberof PopulatedOrder
|
|
111
|
+
*/
|
|
112
|
+
shippingInfo?: ShippingInfo;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof PopulatedOrder
|
|
117
|
+
*/
|
|
118
|
+
notes?: string;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof PopulatedOrder
|
|
123
|
+
*/
|
|
124
|
+
storeId?: string;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {string}
|
|
128
|
+
* @memberof PopulatedOrder
|
|
129
|
+
*/
|
|
130
|
+
stringId?: string;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {Array<Array>}
|
|
134
|
+
* @memberof PopulatedOrder
|
|
135
|
+
*/
|
|
136
|
+
orderTimeLine?: Array<Array<any>>;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @type {UserWithNoId}
|
|
140
|
+
* @memberof PopulatedOrder
|
|
141
|
+
*/
|
|
142
|
+
userData?: UserWithNoId;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @type {Discount}
|
|
146
|
+
* @memberof PopulatedOrder
|
|
147
|
+
*/
|
|
148
|
+
discountsApplied?: Discount;
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
* @type {Address}
|
|
152
|
+
* @memberof PopulatedOrder
|
|
153
|
+
*/
|
|
154
|
+
pickUpAddress?: Address;
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
* @type {Address}
|
|
158
|
+
* @memberof PopulatedOrder
|
|
159
|
+
*/
|
|
160
|
+
inventoryAddress?: Address;
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* @type {PreferedPickOrDeliveryTimeDto}
|
|
164
|
+
* @memberof PopulatedOrder
|
|
165
|
+
*/
|
|
166
|
+
preferedPickOrDeliveryTime?: PreferedPickOrDeliveryTimeDto;
|
|
167
|
+
/**
|
|
168
|
+
*
|
|
169
|
+
* @type {Array<string>}
|
|
170
|
+
* @memberof PopulatedOrder
|
|
171
|
+
*/
|
|
172
|
+
orderRemindingDates?: Array<string>;
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @type {Array<string>}
|
|
176
|
+
* @memberof PopulatedOrder
|
|
177
|
+
*/
|
|
178
|
+
customProducts?: Array<string>;
|
|
179
|
+
/**
|
|
180
|
+
*
|
|
181
|
+
* @type {string}
|
|
182
|
+
* @memberof PopulatedOrder
|
|
183
|
+
*/
|
|
184
|
+
type?: PopulatedOrderTypeEnum;
|
|
185
|
+
/**
|
|
186
|
+
*
|
|
187
|
+
* @type {Payment}
|
|
188
|
+
* @memberof PopulatedOrder
|
|
189
|
+
*/
|
|
190
|
+
payment: Payment;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* @export
|
|
195
|
+
* @enum {string}
|
|
196
|
+
*/
|
|
197
|
+
export enum PopulatedOrderOrderTypeEnum {
|
|
198
|
+
Pickup = 'Pickup',
|
|
199
|
+
Delivery = 'Delivery'
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* @export
|
|
203
|
+
* @enum {string}
|
|
204
|
+
*/
|
|
205
|
+
export enum PopulatedOrderTypeEnum {
|
|
206
|
+
Quotation = 'Quotation',
|
|
207
|
+
Order = 'Order'
|
|
208
|
+
}
|
|
209
|
+
|