hey-pharmacist-ecommerce 1.1.30 → 1.1.31

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 (76) hide show
  1. package/dist/index.d.mts +1451 -1303
  2. package/dist/index.d.ts +1451 -1303
  3. package/dist/index.js +10502 -5728
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +7817 -3059
  6. package/dist/index.mjs.map +1 -1
  7. package/package.json +4 -3
  8. package/src/components/AccountReviewsTab.tsx +97 -0
  9. package/src/components/CouponCodeInput.tsx +190 -0
  10. package/src/components/Header.tsx +5 -1
  11. package/src/components/Notification.tsx +1 -1
  12. package/src/components/NotificationBell.tsx +33 -0
  13. package/src/components/NotificationCard.tsx +211 -0
  14. package/src/components/NotificationDrawer.tsx +195 -0
  15. package/src/components/OrderCard.tsx +164 -99
  16. package/src/components/ProductReviewsSection.tsx +30 -0
  17. package/src/components/RatingDistribution.tsx +86 -0
  18. package/src/components/ReviewCard.tsx +59 -0
  19. package/src/components/ReviewForm.tsx +207 -0
  20. package/src/components/ReviewPromptBanner.tsx +98 -0
  21. package/src/components/ReviewsList.tsx +151 -0
  22. package/src/components/StarRating.tsx +98 -0
  23. package/src/hooks/useDiscounts.ts +7 -0
  24. package/src/hooks/useOrders.ts +15 -0
  25. package/src/hooks/useReviews.ts +230 -0
  26. package/src/index.ts +25 -0
  27. package/src/lib/Apis/apis/discounts-api.ts +23 -72
  28. package/src/lib/Apis/apis/notifications-api.ts +196 -231
  29. package/src/lib/Apis/apis/products-api.ts +84 -0
  30. package/src/lib/Apis/apis/review-api.ts +283 -4
  31. package/src/lib/Apis/apis/stores-api.ts +180 -0
  32. package/src/lib/Apis/models/bulk-channel-toggle-dto.ts +52 -0
  33. package/src/lib/Apis/models/cart-body-populated.ts +3 -3
  34. package/src/lib/Apis/models/channel-settings-dto.ts +39 -0
  35. package/src/lib/Apis/models/{discount-paginated-response.ts → completed-order-dto.ts} +21 -16
  36. package/src/lib/Apis/models/create-discount-dto.ts +31 -92
  37. package/src/lib/Apis/models/create-review-dto.ts +4 -4
  38. package/src/lib/Apis/models/create-shippo-account-dto.ts +45 -0
  39. package/src/lib/Apis/models/create-store-dto.ts +6 -0
  40. package/src/lib/Apis/models/discount.ts +37 -98
  41. package/src/lib/Apis/models/discounts-insights-dto.ts +12 -0
  42. package/src/lib/Apis/models/index.ts +13 -7
  43. package/src/lib/Apis/models/{manual-discount.ts → manual-discount-dto.ts} +10 -10
  44. package/src/lib/Apis/models/manual-order-dto.ts +3 -3
  45. package/src/lib/Apis/models/populated-discount.ts +41 -101
  46. package/src/lib/Apis/models/preference-update-item.ts +59 -0
  47. package/src/lib/Apis/models/product-light-dto.ts +40 -0
  48. package/src/lib/Apis/models/{check-notifications-response-dto.ts → review-status-dto.ts} +8 -7
  49. package/src/lib/Apis/models/review.ts +9 -3
  50. package/src/lib/Apis/models/reviewable-order-dto.ts +58 -0
  51. package/src/lib/Apis/models/reviewable-product-dto.ts +81 -0
  52. package/src/lib/Apis/models/shippo-account-response-dto.ts +51 -0
  53. package/src/lib/Apis/models/store-entity.ts +6 -0
  54. package/src/lib/Apis/models/store.ts +6 -0
  55. package/src/lib/Apis/models/update-discount-dto.ts +31 -92
  56. package/src/lib/Apis/models/update-notification-settings-dto.ts +28 -0
  57. package/src/lib/Apis/models/update-review-dto.ts +4 -4
  58. package/src/lib/Apis/models/update-store-dto.ts +6 -0
  59. package/src/lib/Apis/models/{pick-type-class.ts → variant-light-dto.ts} +20 -14
  60. package/src/lib/utils/discount.ts +155 -0
  61. package/src/lib/validations/discount.ts +11 -0
  62. package/src/providers/CartProvider.tsx +2 -2
  63. package/src/providers/DiscountProvider.tsx +97 -0
  64. package/src/providers/EcommerceProvider.tsx +13 -5
  65. package/src/providers/NotificationCenterProvider.tsx +436 -0
  66. package/src/screens/CartScreen.tsx +1 -1
  67. package/src/screens/CheckoutScreen.tsx +39 -12
  68. package/src/screens/NotificationSettingsScreen.tsx +413 -0
  69. package/src/screens/OrderDetailScreen.tsx +283 -0
  70. package/src/screens/OrderReviewsScreen.tsx +308 -0
  71. package/src/screens/OrdersScreen.tsx +31 -7
  72. package/src/screens/ProductDetailScreen.tsx +24 -11
  73. package/src/screens/ProfileScreen.tsx +5 -0
  74. package/src/lib/Apis/models/create-notification-dto.ts +0 -75
  75. package/src/lib/Apis/models/notification.ts +0 -93
  76. package/src/lib/Apis/models/single-notification-dto.ts +0 -99
@@ -11,7 +11,8 @@
11
11
  * https://github.com/swagger-api/swagger-codegen.git
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { PickTypeClass } from './pick-type-class';
14
+ import { Product } from './product';
15
+ import { ProductVariant } from './product-variant';
15
16
  import { UsedBy } from './used-by';
16
17
  /**
17
18
  *
@@ -39,173 +40,130 @@ export interface PopulatedDiscount {
39
40
  */
40
41
  id?: string;
41
42
  /**
42
- *
43
+ * Display name for the discount
43
44
  * @type {string}
44
45
  * @memberof PopulatedDiscount
45
46
  */
46
- discountName?: string;
47
+ name?: string;
47
48
  /**
48
- *
49
+ * Optional description for internal use
49
50
  * @type {string}
50
51
  * @memberof PopulatedDiscount
51
52
  */
52
53
  description?: string;
53
54
  /**
54
- *
55
- * @type {string}
56
- * @memberof PopulatedDiscount
57
- */
58
- discountType?: PopulatedDiscountDiscountTypeEnum;
59
- /**
60
- *
55
+ * ITEM_DISCOUNT: Shows on products automatically. COUPON_CODE: Requires code at checkout
61
56
  * @type {string}
62
57
  * @memberof PopulatedDiscount
63
58
  */
64
- decreasePriceBy?: PopulatedDiscountDecreasePriceByEnum;
59
+ type?: PopulatedDiscountTypeEnum;
65
60
  /**
66
- *
61
+ * PERCENTAGE or FIXED_AMOUNT
67
62
  * @type {string}
68
63
  * @memberof PopulatedDiscount
69
64
  */
70
- code?: string;
65
+ valueType?: PopulatedDiscountValueTypeEnum;
71
66
  /**
72
- *
73
- * @type {boolean}
67
+ * The discount value (percentage 1-100 or fixed dollar amount)
68
+ * @type {number}
74
69
  * @memberof PopulatedDiscount
75
70
  */
76
- automatic?: boolean;
71
+ value?: number;
77
72
  /**
78
- *
73
+ * Maximum discount amount for percentage discounts (optional, mainly for COUPON_CODE)
79
74
  * @type {number}
80
75
  * @memberof PopulatedDiscount
81
76
  */
82
77
  cappedAt?: number;
83
78
  /**
84
- *
85
- * @type {number}
79
+ * Coupon code (required for COUPON_CODE type)
80
+ * @type {string}
86
81
  * @memberof PopulatedDiscount
87
82
  */
88
- amount?: number;
83
+ code?: string;
89
84
  /**
90
- *
85
+ * When the discount becomes active
91
86
  * @type {Date}
92
87
  * @memberof PopulatedDiscount
93
88
  */
94
89
  startsAt?: Date;
95
90
  /**
96
- *
91
+ * When the discount expires
97
92
  * @type {Date}
98
93
  * @memberof PopulatedDiscount
99
94
  */
100
95
  expiresAt?: Date;
101
96
  /**
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
- *
97
+ * Current lifecycle state
115
98
  * @type {string}
116
99
  * @memberof PopulatedDiscount
117
100
  */
118
101
  state?: PopulatedDiscountStateEnum;
119
102
  /**
120
- *
121
- * @type {string}
103
+ * Quick toggle to enable/disable the discount
104
+ * @type {boolean}
122
105
  * @memberof PopulatedDiscount
123
106
  */
124
- storeId?: string;
107
+ isActive?: boolean;
125
108
  /**
126
- *
127
- * @type {Array<UsedBy>}
109
+ * Maximum total times this discount can be used (optional)
110
+ * @type {number}
128
111
  * @memberof PopulatedDiscount
129
112
  */
130
- usedBy?: Array<UsedBy>;
113
+ maxUses?: number;
131
114
  /**
132
- *
115
+ * Maximum times a single user can use this discount (optional)
133
116
  * @type {number}
134
117
  * @memberof PopulatedDiscount
135
118
  */
136
119
  maxUsesPerUser?: number;
137
120
  /**
138
- *
139
- * @type {string}
140
- * @memberof PopulatedDiscount
141
- */
142
- minPurchaseRequired?: PopulatedDiscountMinPurchaseRequiredEnum;
143
- /**
144
- *
121
+ * Current total usage count
145
122
  * @type {number}
146
123
  * @memberof PopulatedDiscount
147
124
  */
148
- minPurchaseAmount?: number;
125
+ numberOfUses?: number;
149
126
  /**
150
- *
151
- * @type {number}
127
+ * Usage history
128
+ * @type {Array<UsedBy>}
152
129
  * @memberof PopulatedDiscount
153
130
  */
154
- minPurchaseQuantity?: number;
131
+ usedBy?: Array<UsedBy>;
155
132
  /**
156
133
  *
157
134
  * @type {string}
158
135
  * @memberof PopulatedDiscount
159
136
  */
160
- customerEligibility?: PopulatedDiscountCustomerEligibilityEnum;
161
- /**
162
- *
163
- * @type {Array<PickTypeClass>}
164
- * @memberof PopulatedDiscount
165
- */
166
- usersEligible: Array<PickTypeClass>;
167
- /**
168
- *
169
- * @type {Array<string>}
170
- * @memberof PopulatedDiscount
171
- */
172
- groupsEligible: Array<string>;
173
- /**
174
- *
175
- * @type {Array<string>}
176
- * @memberof PopulatedDiscount
177
- */
178
- categoriesEligible: Array<string>;
137
+ storeId?: string;
179
138
  /**
180
139
  *
181
- * @type {Array<string>}
140
+ * @type {Array<Product>}
182
141
  * @memberof PopulatedDiscount
183
142
  */
184
- productsEligible: Array<string>;
143
+ productsEligible: Array<Product>;
185
144
  /**
186
145
  *
187
- * @type {Array<string>}
146
+ * @type {Array<ProductVariant>}
188
147
  * @memberof PopulatedDiscount
189
148
  */
190
- variantsEligible: Array<string>;
149
+ variantsEligible: Array<ProductVariant>;
191
150
  }
192
151
 
193
152
  /**
194
153
  * @export
195
154
  * @enum {string}
196
155
  */
197
- export enum PopulatedDiscountDiscountTypeEnum {
198
- PRODUCT = 'PRODUCT',
199
- CATEGORY = 'CATEGORY',
200
- VARIANT = 'VARIANT'
156
+ export enum PopulatedDiscountTypeEnum {
157
+ ITEMDISCOUNT = 'ITEM_DISCOUNT',
158
+ COUPONCODE = 'COUPON_CODE'
201
159
  }
202
160
  /**
203
161
  * @export
204
162
  * @enum {string}
205
163
  */
206
- export enum PopulatedDiscountDecreasePriceByEnum {
164
+ export enum PopulatedDiscountValueTypeEnum {
207
165
  PERCENTAGE = 'PERCENTAGE',
208
- AMOUNT = 'AMOUNT'
166
+ FIXEDAMOUNT = 'FIXED_AMOUNT'
209
167
  }
210
168
  /**
211
169
  * @export
@@ -217,22 +175,4 @@ export enum PopulatedDiscountStateEnum {
217
175
  EXPIRED = 'EXPIRED',
218
176
  SCHEDULED = 'SCHEDULED'
219
177
  }
220
- /**
221
- * @export
222
- * @enum {string}
223
- */
224
- export enum PopulatedDiscountMinPurchaseRequiredEnum {
225
- NOREQUIREMENT = 'NO_REQUIREMENT',
226
- MINIMUMAMOUNT = 'MINIMUM_AMOUNT',
227
- MINIMUMQUANTITY = 'MINIMUM_QUANTITY'
228
- }
229
- /**
230
- * @export
231
- * @enum {string}
232
- */
233
- export enum PopulatedDiscountCustomerEligibilityEnum {
234
- ALL = 'ALL',
235
- SPECIFICUSERS = 'SPECIFIC_USERS',
236
- SPECIFICGROUPS = 'SPECIFIC_GROUPS'
237
- }
238
178
 
@@ -0,0 +1,59 @@
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 { ChannelSettingsDto } from './channel-settings-dto';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface PreferenceUpdateItem
19
+ */
20
+ export interface PreferenceUpdateItem {
21
+ _id?: string;
22
+ /**
23
+ * The notification type to configure
24
+ * @type {string}
25
+ * @memberof PreferenceUpdateItem
26
+ */
27
+ type: PreferenceUpdateItemTypeEnum;
28
+ /**
29
+ * Channel settings for this type
30
+ * @type {ChannelSettingsDto}
31
+ * @memberof PreferenceUpdateItem
32
+ */
33
+ settings: ChannelSettingsDto;
34
+ }
35
+
36
+ /**
37
+ * @export
38
+ * @enum {string}
39
+ */
40
+ export enum PreferenceUpdateItemTypeEnum {
41
+ ORDERCONFIRMATION = 'ORDER_CONFIRMATION',
42
+ PAYMENTFAILED = 'PAYMENT_FAILED',
43
+ ORDERSHIPPED = 'ORDER_SHIPPED',
44
+ ORDERDELIVERED = 'ORDER_DELIVERED',
45
+ REFUNDPROCESSED = 'REFUND_PROCESSED',
46
+ ABANDONEDCARTREMINDER = 'ABANDONED_CART_REMINDER',
47
+ PRICEDROPALERT = 'PRICE_DROP_ALERT',
48
+ BACKINSTOCK = 'BACK_IN_STOCK',
49
+ PASSWORDRESET = 'PASSWORD_RESET',
50
+ NEWDEVICELOGIN = 'NEW_DEVICE_LOGIN',
51
+ TWOFACODE = 'TWO_FA_CODE',
52
+ NEWORDER = 'NEW_ORDER',
53
+ LOWSTOCKWARNING = 'LOW_STOCK_WARNING',
54
+ NEWRETURNREQUEST = 'NEW_RETURN_REQUEST',
55
+ NEWUSERREGISTERED = 'NEW_USER_REGISTERED',
56
+ HIGHVALUEORDERALERT = 'HIGH_VALUE_ORDER_ALERT',
57
+ PAYOUTFAILED = 'PAYOUT_FAILED'
58
+ }
59
+
@@ -0,0 +1,40 @@
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 { VariantLightDto } from './variant-light-dto';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface ProductLightDto
19
+ */
20
+ export interface ProductLightDto {
21
+ _id?: string;
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ProductLightDto
26
+ */
27
+ id: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ProductLightDto
32
+ */
33
+ name: string;
34
+ /**
35
+ *
36
+ * @type {Array<VariantLightDto>}
37
+ * @memberof ProductLightDto
38
+ */
39
+ variants: Array<VariantLightDto>;
40
+ }
@@ -11,23 +11,24 @@
11
11
  * https://github.com/swagger-api/swagger-codegen.git
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { Review } from './review';
14
15
  /**
15
16
  *
16
17
  * @export
17
- * @interface CheckNotificationsResponseDto
18
+ * @interface ReviewStatusDto
18
19
  */
19
- export interface CheckNotificationsResponseDto {
20
+ export interface ReviewStatusDto {
20
21
  _id?: string;
21
22
  /**
22
23
  *
23
24
  * @type {boolean}
24
- * @memberof CheckNotificationsResponseDto
25
+ * @memberof ReviewStatusDto
25
26
  */
26
- hasUnreadNotifications: boolean;
27
+ hasReviewed: boolean;
27
28
  /**
28
29
  *
29
- * @type {number}
30
- * @memberof CheckNotificationsResponseDto
30
+ * @type {Review}
31
+ * @memberof ReviewStatusDto
31
32
  */
32
- unreadNotificationsCount: number;
33
+ review?: Review;
33
34
  }
@@ -60,6 +60,12 @@ export interface Review {
60
60
  * @memberof Review
61
61
  */
62
62
  productId: string;
63
+ /**
64
+ *
65
+ * @type {string}
66
+ * @memberof Review
67
+ */
68
+ productVariantId: string;
63
69
  /**
64
70
  *
65
71
  * @type {string}
@@ -83,11 +89,11 @@ export interface Review {
83
89
  * @type {string}
84
90
  * @memberof Review
85
91
  */
86
- reply: string;
92
+ reply?: string;
87
93
  /**
88
94
  *
89
- * @type {string}
95
+ * @type {Date}
90
96
  * @memberof Review
91
97
  */
92
- replyDate: string;
98
+ replyDate?: Date;
93
99
  }
@@ -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 { ReviewableProductDto } from './reviewable-product-dto';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface ReviewableOrderDto
19
+ */
20
+ export interface ReviewableOrderDto {
21
+ _id?: string;
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ReviewableOrderDto
26
+ */
27
+ orderId: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ReviewableOrderDto
32
+ */
33
+ orderStatus: string;
34
+ /**
35
+ *
36
+ * @type {Array<ReviewableProductDto>}
37
+ * @memberof ReviewableOrderDto
38
+ */
39
+ products: Array<ReviewableProductDto>;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof ReviewableOrderDto
44
+ */
45
+ totalProducts: number;
46
+ /**
47
+ *
48
+ * @type {number}
49
+ * @memberof ReviewableOrderDto
50
+ */
51
+ reviewedCount: number;
52
+ /**
53
+ *
54
+ * @type {number}
55
+ * @memberof ReviewableOrderDto
56
+ */
57
+ pendingCount: number;
58
+ }
@@ -0,0 +1,81 @@
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 ReviewableProductDto
18
+ */
19
+ export interface ReviewableProductDto {
20
+ _id?: string;
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof ReviewableProductDto
25
+ */
26
+ productId: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof ReviewableProductDto
31
+ */
32
+ productName: string;
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof ReviewableProductDto
37
+ */
38
+ productVariantId: string;
39
+ /**
40
+ *
41
+ * @type {string}
42
+ * @memberof ReviewableProductDto
43
+ */
44
+ variantName: string;
45
+ /**
46
+ *
47
+ * @type {string}
48
+ * @memberof ReviewableProductDto
49
+ */
50
+ variantImage?: string;
51
+ /**
52
+ *
53
+ * @type {number}
54
+ * @memberof ReviewableProductDto
55
+ */
56
+ quantity: number;
57
+ /**
58
+ *
59
+ * @type {boolean}
60
+ * @memberof ReviewableProductDto
61
+ */
62
+ hasReviewed: boolean;
63
+ /**
64
+ *
65
+ * @type {string}
66
+ * @memberof ReviewableProductDto
67
+ */
68
+ reviewId?: string;
69
+ /**
70
+ *
71
+ * @type {number}
72
+ * @memberof ReviewableProductDto
73
+ */
74
+ rating?: number;
75
+ /**
76
+ *
77
+ * @type {string}
78
+ * @memberof ReviewableProductDto
79
+ */
80
+ review?: string;
81
+ }
@@ -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 ShippoAccountResponseDto
18
+ */
19
+ export interface ShippoAccountResponseDto {
20
+ _id?: string;
21
+ /**
22
+ * Shippo managed account ID
23
+ * @type {string}
24
+ * @memberof ShippoAccountResponseDto
25
+ */
26
+ objectId: string;
27
+ /**
28
+ * Email associated with the account
29
+ * @type {string}
30
+ * @memberof ShippoAccountResponseDto
31
+ */
32
+ email: string;
33
+ /**
34
+ * First name
35
+ * @type {string}
36
+ * @memberof ShippoAccountResponseDto
37
+ */
38
+ firstName: string;
39
+ /**
40
+ * Last name
41
+ * @type {string}
42
+ * @memberof ShippoAccountResponseDto
43
+ */
44
+ lastName: string;
45
+ /**
46
+ * Company name
47
+ * @type {string}
48
+ * @memberof ShippoAccountResponseDto
49
+ */
50
+ companyName: string;
51
+ }
@@ -73,6 +73,12 @@ export interface StoreEntity {
73
73
  * @memberof StoreEntity
74
74
  */
75
75
  adminUrl?: string;
76
+ /**
77
+ * Shippo Platform managed account ID
78
+ * @type {string}
79
+ * @memberof StoreEntity
80
+ */
81
+ shippoAccountId?: string;
76
82
  /**
77
83
  *
78
84
  * @type {string}
@@ -79,6 +79,12 @@ export interface Store {
79
79
  * @memberof Store
80
80
  */
81
81
  shippingApi?: string;
82
+ /**
83
+ * Shippo Platform managed account ID
84
+ * @type {string}
85
+ * @memberof Store
86
+ */
87
+ shippoAccountId?: string;
82
88
  /**
83
89
  *
84
90
  * @type {string}