hey-pharmacist-ecommerce 1.1.28 → 1.1.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/dist/index.d.mts +10552 -1370
  2. package/dist/index.d.ts +10552 -1370
  3. package/dist/index.js +4696 -1281
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +4640 -1283
  6. package/dist/index.mjs.map +1 -1
  7. package/package.json +1 -1
  8. package/src/components/AccountOrdersTab.tsx +1 -1
  9. package/src/components/AccountSettingsTab.tsx +88 -6
  10. package/src/components/CartItem.tsx +1 -1
  11. package/src/components/Header.tsx +8 -2
  12. package/src/components/OrderCard.tsx +4 -4
  13. package/src/components/ProductCard.tsx +59 -42
  14. package/src/components/QuickViewModal.tsx +13 -13
  15. package/src/hooks/useAddresses.ts +4 -1
  16. package/src/hooks/usePaymentMethods.ts +26 -31
  17. package/src/hooks/useProducts.ts +63 -64
  18. package/src/hooks/useStoreCapabilities.ts +87 -0
  19. package/src/hooks/useWishlistProducts.ts +4 -5
  20. package/src/index.ts +6 -0
  21. package/src/lib/Apis/api.ts +0 -1
  22. package/src/lib/Apis/apis/auth-api.ts +37 -36
  23. package/src/lib/Apis/apis/categories-api.ts +97 -0
  24. package/src/lib/Apis/apis/products-api.ts +942 -405
  25. package/src/lib/Apis/apis/shipping-api.ts +105 -0
  26. package/src/lib/Apis/apis/stores-api.ts +356 -0
  27. package/src/lib/Apis/apis/sub-categories-api.ts +97 -0
  28. package/src/lib/Apis/apis/users-api.ts +8 -8
  29. package/src/lib/Apis/models/address-created-request.ts +0 -12
  30. package/src/lib/Apis/models/address.ts +0 -12
  31. package/src/lib/Apis/models/api-key-info-dto.ts +49 -0
  32. package/src/lib/Apis/models/category-populated.ts +0 -12
  33. package/src/lib/Apis/models/category-sub-category-populated.ts +2 -2
  34. package/src/lib/Apis/models/category.ts +0 -18
  35. package/src/lib/Apis/models/{table-cell-dto.ts → change-password-dto.ts} +6 -6
  36. package/src/lib/Apis/models/create-address-dto.ts +0 -12
  37. package/src/lib/Apis/models/create-discount-dto.ts +0 -8
  38. package/src/lib/Apis/models/create-product-dto.ts +30 -23
  39. package/src/lib/Apis/models/create-store-address-dto.ts +0 -12
  40. package/src/lib/Apis/models/create-store-dto-settings.ts +51 -0
  41. package/src/lib/Apis/models/create-store-dto.ts +7 -0
  42. package/src/lib/Apis/models/create-sub-category-dto.ts +6 -0
  43. package/src/lib/Apis/models/create-variant-dto.ts +26 -32
  44. package/src/lib/Apis/models/discount.ts +0 -8
  45. package/src/lib/Apis/models/index.ts +16 -7
  46. package/src/lib/Apis/models/paginated-products-dto.ts +6 -6
  47. package/src/lib/Apis/models/populated-discount.ts +0 -8
  48. package/src/lib/Apis/models/product-summary.ts +69 -0
  49. package/src/lib/Apis/models/product-variant.ts +31 -68
  50. package/src/lib/Apis/models/product.ts +138 -0
  51. package/src/lib/Apis/models/products-insights-dto.ts +12 -0
  52. package/src/lib/Apis/models/reorder-categories-dto.ts +27 -0
  53. package/src/lib/Apis/models/reorder-products-dto.ts +49 -0
  54. package/src/lib/Apis/models/{table-dto.ts → reorder-products-success-response-dto.ts} +8 -9
  55. package/src/lib/Apis/models/reorder-subcategories-dto.ts +33 -0
  56. package/src/lib/Apis/models/{shallow-parent-category-dto.ts → reorder-success-response-dto.ts} +7 -7
  57. package/src/lib/Apis/models/shipment-with-order.ts +18 -0
  58. package/src/lib/Apis/models/shipment.ts +18 -0
  59. package/src/lib/Apis/models/single-product-media.ts +0 -12
  60. package/src/lib/Apis/models/store-api-keys-response-dto.ts +34 -0
  61. package/src/lib/Apis/models/store-capabilities-dto.ts +63 -0
  62. package/src/lib/Apis/models/store-entity.ts +7 -0
  63. package/src/lib/Apis/models/store.ts +7 -0
  64. package/src/lib/Apis/models/sub-category.ts +6 -12
  65. package/src/lib/Apis/models/update-address-dto.ts +0 -12
  66. package/src/lib/Apis/models/update-api-keys-dto.ts +39 -0
  67. package/src/lib/Apis/models/update-discount-dto.ts +0 -8
  68. package/src/lib/Apis/models/update-manual-shipment-status-dto.ts +47 -0
  69. package/src/lib/Apis/models/update-product-dto.ts +30 -19
  70. package/src/lib/Apis/models/update-store-dto.ts +7 -0
  71. package/src/lib/Apis/models/update-sub-category-dto.ts +6 -0
  72. package/src/lib/Apis/models/{update-product-variant-dto.ts → update-variant-dto.ts} +46 -46
  73. package/src/lib/Apis/models/variant-id-inventory-body.ts +27 -0
  74. package/src/lib/api-adapter/config.ts +53 -0
  75. package/src/lib/validations/address.ts +1 -1
  76. package/src/providers/FavoritesProvider.tsx +5 -5
  77. package/src/providers/WishlistProvider.tsx +4 -4
  78. package/src/screens/CartScreen.tsx +1 -1
  79. package/src/screens/ChangePasswordScreen.tsx +2 -6
  80. package/src/screens/CheckoutScreen.tsx +402 -288
  81. package/src/screens/ForgotPasswordScreen.tsx +153 -0
  82. package/src/screens/ProductDetailScreen.tsx +51 -60
  83. package/src/screens/RegisterScreen.tsx +31 -31
  84. package/src/screens/ResetPasswordScreen.tsx +208 -0
  85. package/src/screens/SearchResultsScreen.tsx +264 -26
  86. package/src/screens/ShopScreen.tsx +42 -45
  87. package/src/screens/WishlistScreen.tsx +35 -31
  88. package/src/lib/Apis/apis/product-variants-api.ts +0 -552
  89. package/src/lib/Apis/models/create-single-variant-product-dto.ts +0 -154
  90. package/src/lib/Apis/models/extended-product-dto.ts +0 -206
  91. package/src/lib/Apis/models/frequently-bought-product-dto.ts +0 -71
@@ -0,0 +1,138 @@
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 { ProductSummary } from './product-summary';
15
+ import { ProductVariant } from './product-variant';
16
+ import { SingleProductMedia } from './single-product-media';
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface Product
21
+ */
22
+ export interface Product {
23
+ _id?: string;
24
+ /**
25
+ *
26
+ * @type {Date}
27
+ * @memberof Product
28
+ */
29
+ createdAt: Date;
30
+ /**
31
+ *
32
+ * @type {Date}
33
+ * @memberof Product
34
+ */
35
+ updatedAt: Date;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof Product
40
+ */
41
+ id: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof Product
46
+ */
47
+ storeId: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof Product
52
+ */
53
+ name: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof Product
58
+ */
59
+ description: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof Product
64
+ */
65
+ brand: string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof Product
70
+ */
71
+ upc: string;
72
+ /**
73
+ *
74
+ * @type {Array<SingleProductMedia>}
75
+ * @memberof Product
76
+ */
77
+ media: Array<SingleProductMedia>;
78
+ /**
79
+ *
80
+ * @type {Array<string>}
81
+ * @memberof Product
82
+ */
83
+ tags: Array<string>;
84
+ /**
85
+ *
86
+ * @type {boolean}
87
+ * @memberof Product
88
+ */
89
+ isActive: boolean;
90
+ /**
91
+ *
92
+ * @type {boolean}
93
+ * @memberof Product
94
+ */
95
+ showStock: boolean;
96
+ /**
97
+ *
98
+ * @type {boolean}
99
+ * @memberof Product
100
+ */
101
+ homeScreenFeatured: boolean;
102
+ /**
103
+ *
104
+ * @type {string}
105
+ * @memberof Product
106
+ */
107
+ sku: string;
108
+ /**
109
+ *
110
+ * @type {Array<string>}
111
+ * @memberof Product
112
+ */
113
+ categoryIds: Array<string>;
114
+ /**
115
+ *
116
+ * @type {Array<string>}
117
+ * @memberof Product
118
+ */
119
+ subCategoryIds: Array<string>;
120
+ /**
121
+ *
122
+ * @type {Array<ProductVariant>}
123
+ * @memberof Product
124
+ */
125
+ variants: Array<ProductVariant>;
126
+ /**
127
+ *
128
+ * @type {ProductSummary}
129
+ * @memberof Product
130
+ */
131
+ summary: ProductSummary;
132
+ /**
133
+ *
134
+ * @type {Array<string>}
135
+ * @memberof Product
136
+ */
137
+ frequentlyBoughtWith: Array<string>;
138
+ }
@@ -36,4 +36,16 @@ export interface ProductsInsightsDto {
36
36
  * @memberof ProductsInsightsDto
37
37
  */
38
38
  totalInactiveProducts: number;
39
+ /**
40
+ *
41
+ * @type {number}
42
+ * @memberof ProductsInsightsDto
43
+ */
44
+ totalVariants: number;
45
+ /**
46
+ *
47
+ * @type {number}
48
+ * @memberof ProductsInsightsDto
49
+ */
50
+ totalInventory: number;
39
51
  }
@@ -0,0 +1,27 @@
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 ReorderCategoriesDto
18
+ */
19
+ export interface ReorderCategoriesDto {
20
+ _id?: string;
21
+ /**
22
+ * Array of category IDs in the desired order
23
+ * @type {Array<string>}
24
+ * @memberof ReorderCategoriesDto
25
+ */
26
+ orderedIds: Array<string>;
27
+ }
@@ -0,0 +1,49 @@
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 ReorderProductsDto
18
+ */
19
+ export interface ReorderProductsDto {
20
+ _id?: string;
21
+ /**
22
+ * The container (category or subcategory) ID
23
+ * @type {string}
24
+ * @memberof ReorderProductsDto
25
+ */
26
+ containerId: string;
27
+ /**
28
+ * The type of container
29
+ * @type {string}
30
+ * @memberof ReorderProductsDto
31
+ */
32
+ containerType: ReorderProductsDtoContainerTypeEnum;
33
+ /**
34
+ * Array of product IDs in the desired order
35
+ * @type {Array<string>}
36
+ * @memberof ReorderProductsDto
37
+ */
38
+ orderedProductIds: Array<string>;
39
+ }
40
+
41
+ /**
42
+ * @export
43
+ * @enum {string}
44
+ */
45
+ export enum ReorderProductsDtoContainerTypeEnum {
46
+ Category = 'category',
47
+ Subcategory = 'subcategory'
48
+ }
49
+
@@ -11,24 +11,23 @@
11
11
  * https://github.com/swagger-api/swagger-codegen.git
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { TableCellDto } from './table-cell-dto';
15
14
  /**
16
15
  *
17
16
  * @export
18
- * @interface TableDto
17
+ * @interface ReorderProductsSuccessResponseDto
19
18
  */
20
- export interface TableDto {
19
+ export interface ReorderProductsSuccessResponseDto {
21
20
  _id?: string;
22
21
  /**
23
22
  *
24
- * @type {string}
25
- * @memberof TableDto
23
+ * @type {boolean}
24
+ * @memberof ReorderProductsSuccessResponseDto
26
25
  */
27
- title: string;
26
+ success: boolean;
28
27
  /**
29
28
  *
30
- * @type {Array<TableCellDto>}
31
- * @memberof TableDto
29
+ * @type {string}
30
+ * @memberof ReorderProductsSuccessResponseDto
32
31
  */
33
- values: Array<TableCellDto>;
32
+ message: string;
34
33
  }
@@ -0,0 +1,33 @@
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 ReorderSubcategoriesDto
18
+ */
19
+ export interface ReorderSubcategoriesDto {
20
+ _id?: string;
21
+ /**
22
+ * The parent category ID that contains these subcategories
23
+ * @type {string}
24
+ * @memberof ReorderSubcategoriesDto
25
+ */
26
+ parentCategoryId: string;
27
+ /**
28
+ * Array of subcategory IDs in the desired order
29
+ * @type {Array<string>}
30
+ * @memberof ReorderSubcategoriesDto
31
+ */
32
+ orderedIds: Array<string>;
33
+ }
@@ -14,20 +14,20 @@
14
14
  /**
15
15
  *
16
16
  * @export
17
- * @interface ShallowParentCategoryDto
17
+ * @interface ReorderSuccessResponseDto
18
18
  */
19
- export interface ShallowParentCategoryDto {
19
+ export interface ReorderSuccessResponseDto {
20
20
  _id?: string;
21
21
  /**
22
22
  *
23
- * @type {string}
24
- * @memberof ShallowParentCategoryDto
23
+ * @type {boolean}
24
+ * @memberof ReorderSuccessResponseDto
25
25
  */
26
- id: string;
26
+ success: boolean;
27
27
  /**
28
28
  *
29
29
  * @type {string}
30
- * @memberof ShallowParentCategoryDto
30
+ * @memberof ReorderSuccessResponseDto
31
31
  */
32
- name: string;
32
+ message: string;
33
33
  }
@@ -96,6 +96,24 @@ export interface ShipmentWithOrder {
96
96
  * @memberof ShipmentWithOrder
97
97
  */
98
98
  inventoryAddress: Address;
99
+ /**
100
+ * Whether this is a manual/custom delivery (not Shippo)
101
+ * @type {boolean}
102
+ * @memberof ShipmentWithOrder
103
+ */
104
+ isManualDelivery: boolean;
105
+ /**
106
+ * Manual delivery status (only applicable for non-Shippo shipments)
107
+ * @type {string}
108
+ * @memberof ShipmentWithOrder
109
+ */
110
+ manualDeliveryStatus: string;
111
+ /**
112
+ * Notes for manual delivery status updates
113
+ * @type {string}
114
+ * @memberof ShipmentWithOrder
115
+ */
116
+ manualDeliveryNotes: string;
99
117
  /**
100
118
  *
101
119
  * @type {Order}
@@ -101,4 +101,22 @@ export interface Shipment {
101
101
  * @memberof Shipment
102
102
  */
103
103
  inventoryAddress: Address;
104
+ /**
105
+ * Whether this is a manual/custom delivery (not Shippo)
106
+ * @type {boolean}
107
+ * @memberof Shipment
108
+ */
109
+ isManualDelivery: boolean;
110
+ /**
111
+ * Manual delivery status (only applicable for non-Shippo shipments)
112
+ * @type {string}
113
+ * @memberof Shipment
114
+ */
115
+ manualDeliveryStatus: string;
116
+ /**
117
+ * Notes for manual delivery status updates
118
+ * @type {string}
119
+ * @memberof Shipment
120
+ */
121
+ manualDeliveryNotes: string;
104
122
  }
@@ -18,18 +18,6 @@
18
18
  */
19
19
  export interface SingleProductMedia {
20
20
  _id?: string;
21
- /**
22
- *
23
- * @type {Date}
24
- * @memberof SingleProductMedia
25
- */
26
- createdAt: Date;
27
- /**
28
- *
29
- * @type {Date}
30
- * @memberof SingleProductMedia
31
- */
32
- updatedAt: Date;
33
21
  /**
34
22
  *
35
23
  * @type {string}
@@ -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 { ApiKeyInfoDto } from './api-key-info-dto';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface StoreApiKeysResponseDto
19
+ */
20
+ export interface StoreApiKeysResponseDto {
21
+ _id?: string;
22
+ /**
23
+ *
24
+ * @type {ApiKeyInfoDto}
25
+ * @memberof StoreApiKeysResponseDto
26
+ */
27
+ stripe: ApiKeyInfoDto;
28
+ /**
29
+ *
30
+ * @type {ApiKeyInfoDto}
31
+ * @memberof StoreApiKeysResponseDto
32
+ */
33
+ shippo: ApiKeyInfoDto;
34
+ }
@@ -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 StoreCapabilitiesDto
18
+ */
19
+ export interface StoreCapabilitiesDto {
20
+ _id?: string;
21
+ /**
22
+ * Whether the store has a Stripe API key configured
23
+ * @type {boolean}
24
+ * @memberof StoreCapabilitiesDto
25
+ */
26
+ hasStripeKey: boolean;
27
+ /**
28
+ * Whether the store has a Shippo API key configured
29
+ * @type {boolean}
30
+ * @memberof StoreCapabilitiesDto
31
+ */
32
+ hasShippoKey: boolean;
33
+ /**
34
+ * Whether card payment is enabled in settings
35
+ * @type {boolean}
36
+ * @memberof StoreCapabilitiesDto
37
+ */
38
+ cardPaymentEnabled: boolean;
39
+ /**
40
+ * Whether Shippo delivery is enabled in settings
41
+ * @type {boolean}
42
+ * @memberof StoreCapabilitiesDto
43
+ */
44
+ shippoDeliveryEnabled: boolean;
45
+ /**
46
+ * Whether custom/manual delivery is enabled
47
+ * @type {boolean}
48
+ * @memberof StoreCapabilitiesDto
49
+ */
50
+ customDeliveryEnabled: boolean;
51
+ /**
52
+ * Flat rate for custom delivery
53
+ * @type {number}
54
+ * @memberof StoreCapabilitiesDto
55
+ */
56
+ customDeliveryFlatRate: number;
57
+ /**
58
+ * Display title for custom delivery
59
+ * @type {string}
60
+ * @memberof StoreCapabilitiesDto
61
+ */
62
+ customDeliveryTitle: string;
63
+ }
@@ -11,6 +11,7 @@
11
11
  * https://github.com/swagger-api/swagger-codegen.git
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { CreateStoreDtoSettings } from './create-store-dto-settings';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -114,4 +115,10 @@ export interface StoreEntity {
114
115
  * @memberof StoreEntity
115
116
  */
116
117
  storeBillingAddress?: string;
118
+ /**
119
+ *
120
+ * @type {CreateStoreDtoSettings}
121
+ * @memberof StoreEntity
122
+ */
123
+ settings?: CreateStoreDtoSettings;
117
124
  }
@@ -11,6 +11,7 @@
11
11
  * https://github.com/swagger-api/swagger-codegen.git
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { CreateStoreDtoSettings } from './create-store-dto-settings';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -132,4 +133,10 @@ export interface Store {
132
133
  * @memberof Store
133
134
  */
134
135
  storeBillingAddress: string;
136
+ /**
137
+ *
138
+ * @type {CreateStoreDtoSettings}
139
+ * @memberof Store
140
+ */
141
+ settings: CreateStoreDtoSettings;
135
142
  }
@@ -42,18 +42,6 @@ export interface SubCategory {
42
42
  * @memberof SubCategory
43
43
  */
44
44
  parentCategory: string;
45
- /**
46
- *
47
- * @type {Array<string>}
48
- * @memberof SubCategory
49
- */
50
- subCategoryProducts: Array<string>;
51
- /**
52
- *
53
- * @type {Array<string>}
54
- * @memberof SubCategory
55
- */
56
- subCategoryVariants: Array<string>;
57
45
  /**
58
46
  *
59
47
  * @type {string}
@@ -84,6 +72,12 @@ export interface SubCategory {
84
72
  * @memberof SubCategory
85
73
  */
86
74
  activeChangedAt: Date;
75
+ /**
76
+ *
77
+ * @type {number}
78
+ * @memberof SubCategory
79
+ */
80
+ order: number;
87
81
  /**
88
82
  *
89
83
  * @type {string}
@@ -102,18 +102,6 @@ export interface UpdateAddressDto {
102
102
  * @memberof UpdateAddressDto
103
103
  */
104
104
  isResidential?: boolean;
105
- /**
106
- *
107
- * @type {number}
108
- * @memberof UpdateAddressDto
109
- */
110
- latitude?: number;
111
- /**
112
- *
113
- * @type {number}
114
- * @memberof UpdateAddressDto
115
- */
116
- longitude?: number;
117
105
  /**
118
106
  *
119
107
  * @type {string}
@@ -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 UpdateApiKeysDto
18
+ */
19
+ export interface UpdateApiKeysDto {
20
+ _id?: string;
21
+ /**
22
+ * Stripe API key
23
+ * @type {string}
24
+ * @memberof UpdateApiKeysDto
25
+ */
26
+ stripeApiKey?: string;
27
+ /**
28
+ * Stripe Webhook Secret
29
+ * @type {string}
30
+ * @memberof UpdateApiKeysDto
31
+ */
32
+ stripeWebhookSecret?: string;
33
+ /**
34
+ * Shippo API key
35
+ * @type {string}
36
+ * @memberof UpdateApiKeysDto
37
+ */
38
+ shippoApiKey?: string;
39
+ }
@@ -150,12 +150,6 @@ export interface UpdateDiscountDto {
150
150
  * @memberof UpdateDiscountDto
151
151
  */
152
152
  groupsEligible?: Array<string>;
153
- /**
154
- *
155
- * @type {Array<string>}
156
- * @memberof UpdateDiscountDto
157
- */
158
- eligibleZipCodes?: Array<string>;
159
153
  }
160
154
 
161
155
  /**
@@ -163,8 +157,6 @@ export interface UpdateDiscountDto {
163
157
  * @enum {string}
164
158
  */
165
159
  export enum UpdateDiscountDtoDiscountTypeEnum {
166
- CARTBALANCE = 'CART_BALANCE',
167
- SHIPPING = 'SHIPPING',
168
160
  PRODUCT = 'PRODUCT',
169
161
  CATEGORY = 'CATEGORY',
170
162
  VARIANT = 'VARIANT'
@@ -0,0 +1,47 @@
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 UpdateManualShipmentStatusDto
18
+ */
19
+ export interface UpdateManualShipmentStatusDto {
20
+ _id?: string;
21
+ /**
22
+ * The new status for the manual delivery
23
+ * @type {string}
24
+ * @memberof UpdateManualShipmentStatusDto
25
+ */
26
+ status: UpdateManualShipmentStatusDtoStatusEnum;
27
+ /**
28
+ * Optional notes about the status update
29
+ * @type {string}
30
+ * @memberof UpdateManualShipmentStatusDto
31
+ */
32
+ notes?: string;
33
+ }
34
+
35
+ /**
36
+ * @export
37
+ * @enum {string}
38
+ */
39
+ export enum UpdateManualShipmentStatusDtoStatusEnum {
40
+ Pending = 'Pending',
41
+ Processing = 'Processing',
42
+ OutForDelivery = 'Out for Delivery',
43
+ Delivered = 'Delivered',
44
+ Cancelled = 'Cancelled',
45
+ Returned = 'Returned'
46
+ }
47
+