hey-pharmacist-ecommerce 1.1.43 → 1.1.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/index.d.mts +2341 -888
  2. package/dist/index.d.ts +2341 -888
  3. package/dist/index.js +539 -393
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +538 -393
  6. package/dist/index.mjs.map +1 -1
  7. package/package.json +1 -1
  8. package/src/components/AccountReviewsTab.tsx +4 -4
  9. package/src/components/Header.tsx +1 -1
  10. package/src/components/OrderCard.tsx +1 -1
  11. package/src/components/ProductCard.tsx +1 -1
  12. package/src/components/RatingDistribution.tsx +2 -2
  13. package/src/components/ReviewForm.tsx +3 -3
  14. package/src/components/ReviewPromptBanner.tsx +4 -4
  15. package/src/components/ReviewsList.tsx +9 -11
  16. package/src/components/StarRating.tsx +3 -3
  17. package/src/hooks/useProducts.ts +0 -1
  18. package/src/hooks/useSmartSearch.ts +68 -0
  19. package/src/lib/Apis/api.ts +1 -0
  20. package/src/lib/Apis/apis/analytics-api.ts +809 -0
  21. package/src/lib/Apis/apis/notifications-api.ts +8 -6
  22. package/src/lib/Apis/apis/products-api.ts +390 -15
  23. package/src/lib/Apis/apis/stores-api.ts +26 -149
  24. package/src/lib/Apis/apis/web-hooks-api.ts +8 -17
  25. package/src/lib/Apis/models/analytics-period-dto.ts +45 -0
  26. package/src/lib/Apis/models/appointment-overview-dto.ts +71 -0
  27. package/src/lib/Apis/models/{api-key-info-dto.ts → category-sales-dto.ts} +24 -22
  28. package/src/lib/Apis/models/create-store-dto.ts +12 -0
  29. package/src/lib/Apis/models/customer-overview-dto.ts +96 -0
  30. package/src/lib/Apis/models/customer-segment-dto.ts +39 -0
  31. package/src/lib/Apis/models/dashboard-overview-dto.ts +70 -0
  32. package/src/lib/Apis/models/discount-overview-dto.ts +71 -0
  33. package/src/lib/Apis/models/index.ts +29 -3
  34. package/src/lib/Apis/models/inline-response200.ts +34 -0
  35. package/src/lib/Apis/models/{store-api-keys-response-dto.ts → inline-response2001.ts} +14 -9
  36. package/src/lib/Apis/models/inventory-alert-dto.ts +67 -0
  37. package/src/lib/Apis/models/notification-dto.ts +107 -0
  38. package/src/lib/Apis/models/notifications-paginated-response-dto.ts +58 -0
  39. package/src/lib/Apis/models/order-overview-dto.ts +89 -0
  40. package/src/lib/Apis/models/{update-api-keys-dto.ts → order-status-count-dto.ts} +13 -13
  41. package/src/lib/Apis/models/payout-history-item-dto.ts +45 -0
  42. package/src/lib/Apis/models/popular-time-slot-dto.ts +39 -0
  43. package/src/lib/Apis/models/product-overview-dto.ts +90 -0
  44. package/src/lib/Apis/models/product.ts +6 -0
  45. package/src/lib/Apis/models/products-aidraft-body.ts +27 -0
  46. package/src/lib/Apis/models/products-processimage-body.ts +27 -0
  47. package/src/lib/Apis/models/rating-distribution-dto.ts +39 -0
  48. package/src/lib/Apis/models/recent-review-dto.ts +63 -0
  49. package/src/lib/Apis/models/review-overview-dto.ts +65 -0
  50. package/src/lib/Apis/models/store-balance-dto.ts +39 -0
  51. package/src/lib/Apis/models/store-entity.ts +12 -0
  52. package/src/lib/Apis/models/store-finance-overview-dto.ts +35 -0
  53. package/src/lib/Apis/models/store.ts +12 -0
  54. package/src/lib/Apis/models/time-series-point-dto.ts +33 -0
  55. package/src/lib/Apis/models/top-customer-dto.ts +57 -0
  56. package/src/lib/Apis/models/top-discount-dto.ts +51 -0
  57. package/src/lib/Apis/models/top-product-dto.ts +51 -0
  58. package/src/lib/Apis/models/unread-count-dto.ts +27 -0
  59. package/src/lib/Apis/models/update-store-dto.ts +12 -0
  60. package/src/screens/OrderReviewsScreen.tsx +6 -6
  61. package/src/screens/ProductDetailScreen.tsx +1 -1
  62. package/src/screens/SearchResultsScreen.tsx +17 -21
  63. package/src/screens/ShopScreen.tsx +0 -62
package/dist/index.d.mts CHANGED
@@ -371,36 +371,34 @@ interface AllowUserCreditDto {
371
371
  /**
372
372
  *
373
373
  * @export
374
- * @interface ApiKeyInfoDto
374
+ * @interface AnalyticsPeriodDto
375
375
  */
376
- interface ApiKeyInfoDto {
376
+ interface AnalyticsPeriodDto {
377
377
  _id?: string;
378
378
  /**
379
379
  *
380
- * @type {string}
381
- * @memberof ApiKeyInfoDto
380
+ * @type {Date}
381
+ * @memberof AnalyticsPeriodDto
382
382
  */
383
- keyType: ApiKeyInfoDtoKeyTypeEnum;
383
+ start: Date;
384
384
  /**
385
- * Whether the key is configured
386
- * @type {boolean}
387
- * @memberof ApiKeyInfoDto
385
+ *
386
+ * @type {Date}
387
+ * @memberof AnalyticsPeriodDto
388
388
  */
389
- isConfigured: boolean;
389
+ end: Date;
390
390
  /**
391
- * Masked key showing first 4 and last 4 characters
392
- * @type {string}
393
- * @memberof ApiKeyInfoDto
391
+ *
392
+ * @type {Date}
393
+ * @memberof AnalyticsPeriodDto
394
394
  */
395
- maskedKey?: string;
396
- }
397
- /**
398
- * @export
399
- * @enum {string}
400
- */
401
- declare enum ApiKeyInfoDtoKeyTypeEnum {
402
- Stripe = "stripe",
403
- Shippo = "shippo"
395
+ previousStart: Date;
396
+ /**
397
+ *
398
+ * @type {Date}
399
+ * @memberof AnalyticsPeriodDto
400
+ */
401
+ previousEnd: Date;
404
402
  }
405
403
 
406
404
  /**
@@ -477,6 +475,145 @@ interface Appointment {
477
475
  date: string;
478
476
  }
479
477
 
478
+ /**
479
+ * Hey Pharamcist API
480
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
481
+ *
482
+ * OpenAPI spec version: 1.0
483
+ *
484
+ *
485
+ * NOTE: This class is auto generated by the swagger code generator program.
486
+ * https://github.com/swagger-api/swagger-codegen.git
487
+ * Do not edit the class manually.
488
+ */
489
+ /**
490
+ *
491
+ * @export
492
+ * @interface PopularTimeSlotDto
493
+ */
494
+ interface PopularTimeSlotDto {
495
+ _id?: string;
496
+ /**
497
+ *
498
+ * @type {string}
499
+ * @memberof PopularTimeSlotDto
500
+ */
501
+ time: string;
502
+ /**
503
+ *
504
+ * @type {number}
505
+ * @memberof PopularTimeSlotDto
506
+ */
507
+ bookingCount: number;
508
+ /**
509
+ *
510
+ * @type {number}
511
+ * @memberof PopularTimeSlotDto
512
+ */
513
+ percentage: number;
514
+ }
515
+
516
+ /**
517
+ * Hey Pharamcist API
518
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
519
+ *
520
+ * OpenAPI spec version: 1.0
521
+ *
522
+ *
523
+ * NOTE: This class is auto generated by the swagger code generator program.
524
+ * https://github.com/swagger-api/swagger-codegen.git
525
+ * Do not edit the class manually.
526
+ */
527
+ /**
528
+ *
529
+ * @export
530
+ * @interface TimeSeriesPointDto
531
+ */
532
+ interface TimeSeriesPointDto {
533
+ _id?: string;
534
+ /**
535
+ * Date/period label
536
+ * @type {string}
537
+ * @memberof TimeSeriesPointDto
538
+ */
539
+ date: string;
540
+ /**
541
+ * Value for this period
542
+ * @type {number}
543
+ * @memberof TimeSeriesPointDto
544
+ */
545
+ value: number;
546
+ }
547
+
548
+ /**
549
+ * Hey Pharamcist API
550
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
551
+ *
552
+ * OpenAPI spec version: 1.0
553
+ *
554
+ *
555
+ * NOTE: This class is auto generated by the swagger code generator program.
556
+ * https://github.com/swagger-api/swagger-codegen.git
557
+ * Do not edit the class manually.
558
+ */
559
+
560
+ /**
561
+ *
562
+ * @export
563
+ * @interface AppointmentOverviewDto
564
+ */
565
+ interface AppointmentOverviewDto {
566
+ _id?: string;
567
+ /**
568
+ * Total appointments in period
569
+ * @type {number}
570
+ * @memberof AppointmentOverviewDto
571
+ */
572
+ totalAppointments: number;
573
+ /**
574
+ * Booked/confirmed appointments
575
+ * @type {number}
576
+ * @memberof AppointmentOverviewDto
577
+ */
578
+ bookedAppointments: number;
579
+ /**
580
+ * Cancelled appointments
581
+ * @type {number}
582
+ * @memberof AppointmentOverviewDto
583
+ */
584
+ cancelledAppointments: number;
585
+ /**
586
+ * Cancellation rate (%)
587
+ * @type {number}
588
+ * @memberof AppointmentOverviewDto
589
+ */
590
+ cancellationRate: number;
591
+ /**
592
+ * Utilization rate - % of available slots booked
593
+ * @type {number}
594
+ * @memberof AppointmentOverviewDto
595
+ */
596
+ utilizationRate: number;
597
+ /**
598
+ * Appointment growth vs previous period (%)
599
+ * @type {number}
600
+ * @memberof AppointmentOverviewDto
601
+ */
602
+ appointmentGrowth: number;
603
+ /**
604
+ * Most popular booking times
605
+ * @type {Array<PopularTimeSlotDto>}
606
+ * @memberof AppointmentOverviewDto
607
+ */
608
+ popularTimeSlots: Array<PopularTimeSlotDto>;
609
+ /**
610
+ * Daily appointment trend
611
+ * @type {Array<TimeSeriesPointDto>}
612
+ * @memberof AppointmentOverviewDto
613
+ */
614
+ dailyTrend: Array<TimeSeriesPointDto>;
615
+ }
616
+
480
617
  /**
481
618
  * Hey Pharamcist API
482
619
  * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
@@ -1460,6 +1597,56 @@ interface CategoryFilters {
1460
1597
  priceRange: PriceRange;
1461
1598
  }
1462
1599
 
1600
+ /**
1601
+ * Hey Pharamcist API
1602
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
1603
+ *
1604
+ * OpenAPI spec version: 1.0
1605
+ *
1606
+ *
1607
+ * NOTE: This class is auto generated by the swagger code generator program.
1608
+ * https://github.com/swagger-api/swagger-codegen.git
1609
+ * Do not edit the class manually.
1610
+ */
1611
+ /**
1612
+ *
1613
+ * @export
1614
+ * @interface CategorySalesDto
1615
+ */
1616
+ interface CategorySalesDto {
1617
+ _id?: string;
1618
+ /**
1619
+ *
1620
+ * @type {string}
1621
+ * @memberof CategorySalesDto
1622
+ */
1623
+ categoryId: string;
1624
+ /**
1625
+ *
1626
+ * @type {string}
1627
+ * @memberof CategorySalesDto
1628
+ */
1629
+ categoryName: string;
1630
+ /**
1631
+ *
1632
+ * @type {number}
1633
+ * @memberof CategorySalesDto
1634
+ */
1635
+ productCount: number;
1636
+ /**
1637
+ *
1638
+ * @type {number}
1639
+ * @memberof CategorySalesDto
1640
+ */
1641
+ totalSales: number;
1642
+ /**
1643
+ *
1644
+ * @type {number}
1645
+ * @memberof CategorySalesDto
1646
+ */
1647
+ percentage: number;
1648
+ }
1649
+
1463
1650
  /**
1464
1651
  * Hey Pharamcist API
1465
1652
  * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
@@ -2765,6 +2952,18 @@ interface CreateStoreDto {
2765
2952
  * @memberof CreateStoreDto
2766
2953
  */
2767
2954
  stripeWebhookSecret?: string;
2955
+ /**
2956
+ *
2957
+ * @type {string}
2958
+ * @memberof CreateStoreDto
2959
+ */
2960
+ stripeAccountId?: string;
2961
+ /**
2962
+ *
2963
+ * @type {boolean}
2964
+ * @memberof CreateStoreDto
2965
+ */
2966
+ stripeOnboardingCompleted?: boolean;
2768
2967
  /**
2769
2968
  *
2770
2969
  * @type {string}
@@ -3065,42 +3264,28 @@ interface CustomProductDto {
3065
3264
  /**
3066
3265
  *
3067
3266
  * @export
3068
- * @interface DeleteFileDto
3267
+ * @interface CustomerSegmentDto
3069
3268
  */
3070
- interface DeleteFileDto {
3269
+ interface CustomerSegmentDto {
3071
3270
  _id?: string;
3072
3271
  /**
3073
- *
3074
- * @type {string}
3075
- * @memberof DeleteFileDto
3272
+ * Active customers (ordered in last 30 days)
3273
+ * @type {number}
3274
+ * @memberof CustomerSegmentDto
3076
3275
  */
3077
- fileUrl: string;
3078
- }
3079
-
3080
- /**
3081
- * Hey Pharamcist API
3082
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
3083
- *
3084
- * OpenAPI spec version: 1.0
3085
- *
3086
- *
3087
- * NOTE: This class is auto generated by the swagger code generator program.
3088
- * https://github.com/swagger-api/swagger-codegen.git
3089
- * Do not edit the class manually.
3090
- */
3091
- /**
3092
- *
3093
- * @export
3094
- * @interface DeleteManyFilesDto
3095
- */
3096
- interface DeleteManyFilesDto {
3097
- _id?: string;
3276
+ active: number;
3098
3277
  /**
3099
- *
3100
- * @type {Array<string>}
3101
- * @memberof DeleteManyFilesDto
3278
+ * Dormant customers (30-90 days since last order)
3279
+ * @type {number}
3280
+ * @memberof CustomerSegmentDto
3102
3281
  */
3103
- fileUrls: Array<string>;
3282
+ dormant: number;
3283
+ /**
3284
+ * Churned customers (90+ days since last order)
3285
+ * @type {number}
3286
+ * @memberof CustomerSegmentDto
3287
+ */
3288
+ churned: number;
3104
3289
  }
3105
3290
 
3106
3291
  /**
@@ -3117,76 +3302,46 @@ interface DeleteManyFilesDto {
3117
3302
  /**
3118
3303
  *
3119
3304
  * @export
3120
- * @interface UsedBy
3305
+ * @interface TopCustomerDto
3121
3306
  */
3122
- interface UsedBy {
3307
+ interface TopCustomerDto {
3123
3308
  _id?: string;
3124
- /**
3125
- *
3126
- * @type {Date}
3127
- * @memberof UsedBy
3128
- */
3129
- usedAt: Date;
3130
3309
  /**
3131
3310
  *
3132
3311
  * @type {string}
3133
- * @memberof UsedBy
3312
+ * @memberof TopCustomerDto
3134
3313
  */
3135
3314
  userId: string;
3136
3315
  /**
3137
3316
  *
3138
3317
  * @type {string}
3139
- * @memberof UsedBy
3318
+ * @memberof TopCustomerDto
3140
3319
  */
3141
- orderId: string;
3320
+ name: string;
3142
3321
  /**
3143
3322
  *
3144
- * @type {number}
3145
- * @memberof UsedBy
3323
+ * @type {string}
3324
+ * @memberof TopCustomerDto
3146
3325
  */
3147
- originalPrice: number;
3326
+ email: string;
3148
3327
  /**
3149
3328
  *
3150
3329
  * @type {number}
3151
- * @memberof UsedBy
3330
+ * @memberof TopCustomerDto
3152
3331
  */
3153
- discountedPrice: number;
3332
+ totalSpent: number;
3154
3333
  /**
3155
3334
  *
3156
3335
  * @type {number}
3157
- * @memberof UsedBy
3158
- */
3159
- discountedAmount: number;
3160
- /**
3161
- *
3162
- * @type {string}
3163
- * @memberof UsedBy
3164
- */
3165
- firstname: string;
3166
- /**
3167
- *
3168
- * @type {string}
3169
- * @memberof UsedBy
3170
- */
3171
- lastname: string;
3172
- /**
3173
- *
3174
- * @type {string}
3175
- * @memberof UsedBy
3176
- */
3177
- email: string;
3178
- /**
3179
- *
3180
- * @type {string}
3181
- * @memberof UsedBy
3336
+ * @memberof TopCustomerDto
3182
3337
  */
3183
- phoneNumber: string;
3338
+ orderCount: number;
3184
3339
  /**
3185
3340
  *
3186
- * @type {string}
3187
- * @memberof UsedBy
3341
+ * @type {Date}
3342
+ * @memberof TopCustomerDto
3188
3343
  */
3189
- avatar: string;
3344
+ lastOrderDate?: Date;
3190
3345
  }
3191
3346
 
3192
3347
  /**
@@ -3204,162 +3359,132 @@ interface UsedBy {
3204
3359
  /**
3205
3360
  *
3206
3361
  * @export
3207
- * @interface Discount
3362
+ * @interface CustomerOverviewDto
3208
3363
  */
3209
- interface Discount {
3364
+ interface CustomerOverviewDto {
3210
3365
  _id?: string;
3211
3366
  /**
3212
- *
3213
- * @type {Date}
3214
- * @memberof Discount
3367
+ * Total registered customers
3368
+ * @type {number}
3369
+ * @memberof CustomerOverviewDto
3215
3370
  */
3216
- createdAt: Date;
3371
+ totalCustomers: number;
3217
3372
  /**
3218
- *
3219
- * @type {Date}
3220
- * @memberof Discount
3373
+ * New customers in period
3374
+ * @type {number}
3375
+ * @memberof CustomerOverviewDto
3221
3376
  */
3222
- updatedAt: Date;
3377
+ newCustomers: number;
3223
3378
  /**
3224
- *
3225
- * @type {string}
3226
- * @memberof Discount
3379
+ * Customers who placed repeat orders
3380
+ * @type {number}
3381
+ * @memberof CustomerOverviewDto
3227
3382
  */
3228
- id: string;
3383
+ returningCustomers: number;
3229
3384
  /**
3230
- * Display name for the discount
3231
- * @type {string}
3232
- * @memberof Discount
3385
+ * B2B customers count
3386
+ * @type {number}
3387
+ * @memberof CustomerOverviewDto
3233
3388
  */
3234
- name: string;
3389
+ b2bCustomers: number;
3235
3390
  /**
3236
- * Optional description for internal use
3237
- * @type {string}
3238
- * @memberof Discount
3391
+ * Regular customers count
3392
+ * @type {number}
3393
+ * @memberof CustomerOverviewDto
3239
3394
  */
3240
- description: string;
3395
+ regularCustomers: number;
3241
3396
  /**
3242
- * ITEM_DISCOUNT: Shows on products automatically. COUPON_CODE: Requires code at checkout
3243
- * @type {string}
3244
- * @memberof Discount
3397
+ * Average customer lifetime value
3398
+ * @type {number}
3399
+ * @memberof CustomerOverviewDto
3245
3400
  */
3246
- type: DiscountTypeEnum;
3401
+ averageLTV: number;
3247
3402
  /**
3248
- * PERCENTAGE or FIXED_AMOUNT
3249
- * @type {string}
3250
- * @memberof Discount
3403
+ * Average orders per customer
3404
+ * @type {number}
3405
+ * @memberof CustomerOverviewDto
3251
3406
  */
3252
- valueType: DiscountValueTypeEnum;
3407
+ avgOrdersPerCustomer: number;
3253
3408
  /**
3254
- * The discount value (percentage 1-100 or fixed dollar amount)
3409
+ * Repeat purchase rate (%)
3255
3410
  * @type {number}
3256
- * @memberof Discount
3411
+ * @memberof CustomerOverviewDto
3257
3412
  */
3258
- value: number;
3413
+ repeatPurchaseRate: number;
3259
3414
  /**
3260
- * Maximum discount amount for percentage discounts (optional, mainly for COUPON_CODE)
3415
+ * Customer growth vs previous period (%)
3261
3416
  * @type {number}
3262
- * @memberof Discount
3417
+ * @memberof CustomerOverviewDto
3263
3418
  */
3264
- cappedAt: number;
3419
+ customerGrowth: number;
3265
3420
  /**
3266
- * Coupon code (required for COUPON_CODE type)
3267
- * @type {string}
3268
- * @memberof Discount
3421
+ * Customer activity segmentation
3422
+ * @type {CustomerSegmentDto}
3423
+ * @memberof CustomerOverviewDto
3269
3424
  */
3270
- code: string;
3425
+ segments: CustomerSegmentDto;
3271
3426
  /**
3272
- * When the discount becomes active
3273
- * @type {Date}
3274
- * @memberof Discount
3427
+ * Top spending customers
3428
+ * @type {Array<TopCustomerDto>}
3429
+ * @memberof CustomerOverviewDto
3275
3430
  */
3276
- startsAt: Date;
3431
+ topCustomers: Array<TopCustomerDto>;
3277
3432
  /**
3278
- * When the discount expires
3279
- * @type {Date}
3280
- * @memberof Discount
3433
+ * Daily new customer signups
3434
+ * @type {Array<TimeSeriesPointDto>}
3435
+ * @memberof CustomerOverviewDto
3281
3436
  */
3282
- expiresAt: Date;
3437
+ dailySignups: Array<TimeSeriesPointDto>;
3438
+ }
3439
+
3440
+ /**
3441
+ * Hey Pharamcist API
3442
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
3443
+ *
3444
+ * OpenAPI spec version: 1.0
3445
+ *
3446
+ *
3447
+ * NOTE: This class is auto generated by the swagger code generator program.
3448
+ * https://github.com/swagger-api/swagger-codegen.git
3449
+ * Do not edit the class manually.
3450
+ */
3451
+ /**
3452
+ *
3453
+ * @export
3454
+ * @interface TopDiscountDto
3455
+ */
3456
+ interface TopDiscountDto {
3457
+ _id?: string;
3283
3458
  /**
3284
- * Current lifecycle state
3459
+ *
3285
3460
  * @type {string}
3286
- * @memberof Discount
3287
- */
3288
- state: DiscountStateEnum;
3289
- /**
3290
- * Quick toggle to enable/disable the discount
3291
- * @type {boolean}
3292
- * @memberof Discount
3293
- */
3294
- isActive: boolean;
3295
- /**
3296
- * Products to apply discount to (all their variants will be discounted)
3297
- * @type {Array<string>}
3298
- * @memberof Discount
3299
- */
3300
- productsEligible: Array<string>;
3301
- /**
3302
- * Specific variants to apply discount to
3303
- * @type {Array<string>}
3304
- * @memberof Discount
3461
+ * @memberof TopDiscountDto
3305
3462
  */
3306
- variantsEligible: Array<string>;
3463
+ discountId: string;
3307
3464
  /**
3308
- * Maximum total times this discount can be used (optional)
3309
- * @type {number}
3310
- * @memberof Discount
3465
+ *
3466
+ * @type {string}
3467
+ * @memberof TopDiscountDto
3311
3468
  */
3312
- maxUses: number;
3469
+ name: string;
3313
3470
  /**
3314
- * Maximum times a single user can use this discount (optional)
3315
- * @type {number}
3316
- * @memberof Discount
3471
+ *
3472
+ * @type {string}
3473
+ * @memberof TopDiscountDto
3317
3474
  */
3318
- maxUsesPerUser: number;
3475
+ code?: string;
3319
3476
  /**
3320
- * Current total usage count
3477
+ *
3321
3478
  * @type {number}
3322
- * @memberof Discount
3323
- */
3324
- numberOfUses: number;
3325
- /**
3326
- * Usage history
3327
- * @type {Array<UsedBy>}
3328
- * @memberof Discount
3479
+ * @memberof TopDiscountDto
3329
3480
  */
3330
- usedBy: Array<UsedBy>;
3481
+ usageCount: number;
3331
3482
  /**
3332
3483
  *
3333
- * @type {string}
3334
- * @memberof Discount
3484
+ * @type {number}
3485
+ * @memberof TopDiscountDto
3335
3486
  */
3336
- storeId: string;
3337
- }
3338
- /**
3339
- * @export
3340
- * @enum {string}
3341
- */
3342
- declare enum DiscountTypeEnum {
3343
- ITEMDISCOUNT = "ITEM_DISCOUNT",
3344
- COUPONCODE = "COUPON_CODE"
3345
- }
3346
- /**
3347
- * @export
3348
- * @enum {string}
3349
- */
3350
- declare enum DiscountValueTypeEnum {
3351
- PERCENTAGE = "PERCENTAGE",
3352
- FIXEDAMOUNT = "FIXED_AMOUNT"
3353
- }
3354
- /**
3355
- * @export
3356
- * @enum {string}
3357
- */
3358
- declare enum DiscountStateEnum {
3359
- ACTIVE = "ACTIVE",
3360
- INACTIVE = "INACTIVE",
3361
- EXPIRED = "EXPIRED",
3362
- SCHEDULED = "SCHEDULED"
3487
+ totalSavings: number;
3363
3488
  }
3364
3489
 
3365
3490
  /**
@@ -3373,55 +3498,62 @@ declare enum DiscountStateEnum {
3373
3498
  * https://github.com/swagger-api/swagger-codegen.git
3374
3499
  * Do not edit the class manually.
3375
3500
  */
3501
+
3376
3502
  /**
3377
3503
  *
3378
3504
  * @export
3379
- * @interface DiscountsInsightsDto
3505
+ * @interface DiscountOverviewDto
3380
3506
  */
3381
- interface DiscountsInsightsDto {
3507
+ interface DiscountOverviewDto {
3382
3508
  _id?: string;
3383
3509
  /**
3384
- *
3510
+ * Currently active discounts
3385
3511
  * @type {number}
3386
- * @memberof DiscountsInsightsDto
3512
+ * @memberof DiscountOverviewDto
3387
3513
  */
3388
- totalDiscounts: number;
3514
+ activeDiscounts: number;
3389
3515
  /**
3390
- *
3516
+ * Total discount codes
3391
3517
  * @type {number}
3392
- * @memberof DiscountsInsightsDto
3518
+ * @memberof DiscountOverviewDto
3393
3519
  */
3394
- totalActive: number;
3520
+ totalDiscounts: number;
3395
3521
  /**
3396
- *
3522
+ * Total discount redemptions in period
3397
3523
  * @type {number}
3398
- * @memberof DiscountsInsightsDto
3524
+ * @memberof DiscountOverviewDto
3399
3525
  */
3400
- totalInactive: number;
3526
+ totalRedemptions: number;
3401
3527
  /**
3402
- *
3528
+ * Total savings generated
3403
3529
  * @type {number}
3404
- * @memberof DiscountsInsightsDto
3530
+ * @memberof DiscountOverviewDto
3405
3531
  */
3406
- totalExpired: number;
3532
+ totalSavingsGenerated: number;
3407
3533
  /**
3408
- *
3534
+ * Average discount value per use
3409
3535
  * @type {number}
3410
- * @memberof DiscountsInsightsDto
3536
+ * @memberof DiscountOverviewDto
3411
3537
  */
3412
- totalScheduled: number;
3538
+ avgDiscountValue: number;
3413
3539
  /**
3414
- *
3540
+ * Discount redemption rate (% of orders using discounts)
3415
3541
  * @type {number}
3416
- * @memberof DiscountsInsightsDto
3542
+ * @memberof DiscountOverviewDto
3417
3543
  */
3418
- totalItemDiscounts: number;
3544
+ redemptionRate: number;
3419
3545
  /**
3420
- *
3421
- * @type {number}
3422
- * @memberof DiscountsInsightsDto
3546
+ * Top performing discount codes
3547
+ * @type {Array<TopDiscountDto>}
3548
+ * @memberof DiscountOverviewDto
3423
3549
  */
3424
- totalCouponCodes: number;
3550
+ topDiscounts: Array<TopDiscountDto>;
3551
+ /**
3552
+ * Daily redemption trend
3553
+ * @type {Array<TimeSeriesPointDto>}
3554
+ * @memberof DiscountOverviewDto
3555
+ */
3556
+ dailyTrend: Array<TimeSeriesPointDto>;
3425
3557
  }
3426
3558
 
3427
3559
  /**
@@ -3438,34 +3570,28 @@ interface DiscountsInsightsDto {
3438
3570
  /**
3439
3571
  *
3440
3572
  * @export
3441
- * @interface EmailInvoiceDto
3573
+ * @interface OrderStatusCountDto
3442
3574
  */
3443
- interface EmailInvoiceDto {
3575
+ interface OrderStatusCountDto {
3444
3576
  _id?: string;
3445
3577
  /**
3446
3578
  *
3447
3579
  * @type {string}
3448
- * @memberof EmailInvoiceDto
3449
- */
3450
- to: string;
3451
- /**
3452
- *
3453
- * @type {string}
3454
- * @memberof EmailInvoiceDto
3580
+ * @memberof OrderStatusCountDto
3455
3581
  */
3456
- subject: string;
3582
+ status: string;
3457
3583
  /**
3458
3584
  *
3459
- * @type {string}
3460
- * @memberof EmailInvoiceDto
3585
+ * @type {number}
3586
+ * @memberof OrderStatusCountDto
3461
3587
  */
3462
- content: string;
3588
+ count: number;
3463
3589
  /**
3464
3590
  *
3465
- * @type {string}
3466
- * @memberof EmailInvoiceDto
3591
+ * @type {number}
3592
+ * @memberof OrderStatusCountDto
3467
3593
  */
3468
- orderId: string;
3594
+ percentage: number;
3469
3595
  }
3470
3596
 
3471
3597
  /**
@@ -3483,64 +3609,76 @@ interface EmailInvoiceDto {
3483
3609
  /**
3484
3610
  *
3485
3611
  * @export
3486
- * @interface Event
3612
+ * @interface OrderOverviewDto
3487
3613
  */
3488
- interface Event {
3614
+ interface OrderOverviewDto {
3489
3615
  _id?: string;
3490
3616
  /**
3491
- *
3492
- * @type {Date}
3493
- * @memberof Event
3617
+ * Total orders in period
3618
+ * @type {number}
3619
+ * @memberof OrderOverviewDto
3494
3620
  */
3495
- createdAt: Date;
3621
+ totalOrders: number;
3496
3622
  /**
3497
- *
3498
- * @type {Date}
3499
- * @memberof Event
3623
+ * Orders pending processing
3624
+ * @type {number}
3625
+ * @memberof OrderOverviewDto
3500
3626
  */
3501
- updatedAt: Date;
3627
+ pendingOrders: number;
3502
3628
  /**
3503
- *
3504
- * @type {string}
3505
- * @memberof Event
3629
+ * Completed/delivered orders
3630
+ * @type {number}
3631
+ * @memberof OrderOverviewDto
3506
3632
  */
3507
- id: string;
3633
+ completedOrders: number;
3508
3634
  /**
3509
- *
3510
- * @type {string}
3511
- * @memberof Event
3635
+ * Cancelled orders
3636
+ * @type {number}
3637
+ * @memberof OrderOverviewDto
3512
3638
  */
3513
- storeId: string;
3639
+ cancelledOrders: number;
3514
3640
  /**
3515
- *
3516
- * @type {string}
3517
- * @memberof Event
3641
+ * Orders currently in fulfillment
3642
+ * @type {number}
3643
+ * @memberof OrderOverviewDto
3518
3644
  */
3519
- title: string;
3645
+ inFulfillmentOrders: number;
3520
3646
  /**
3521
- *
3522
- * @type {string}
3523
- * @memberof Event
3647
+ * Average fulfillment time in hours
3648
+ * @type {number}
3649
+ * @memberof OrderOverviewDto
3524
3650
  */
3525
- description: string;
3651
+ avgFulfillmentTimeHours: number;
3526
3652
  /**
3527
- *
3653
+ * Delivery order count
3528
3654
  * @type {number}
3529
- * @memberof Event
3655
+ * @memberof OrderOverviewDto
3530
3656
  */
3531
- durationInMinutes: number;
3657
+ deliveryOrders: number;
3532
3658
  /**
3533
- *
3659
+ * Pickup order count
3534
3660
  * @type {number}
3535
- * @memberof Event
3661
+ * @memberof OrderOverviewDto
3536
3662
  */
3537
- bufferTimeInMinutes: number;
3663
+ pickupOrders: number;
3538
3664
  /**
3539
- *
3540
- * @type {Array<AvailableDatesDto>}
3541
- * @memberof Event
3665
+ * Order growth vs previous period (%)
3666
+ * @type {number}
3667
+ * @memberof OrderOverviewDto
3542
3668
  */
3543
- availableDates: Array<AvailableDatesDto>;
3669
+ orderGrowth: number;
3670
+ /**
3671
+ * Breakdown by order status
3672
+ * @type {Array<OrderStatusCountDto>}
3673
+ * @memberof OrderOverviewDto
3674
+ */
3675
+ statusBreakdown: Array<OrderStatusCountDto>;
3676
+ /**
3677
+ * Daily order trend
3678
+ * @type {Array<TimeSeriesPointDto>}
3679
+ * @memberof OrderOverviewDto
3680
+ */
3681
+ dailyTrend: Array<TimeSeriesPointDto>;
3544
3682
  }
3545
3683
 
3546
3684
  /**
@@ -3557,42 +3695,54 @@ interface Event {
3557
3695
  /**
3558
3696
  *
3559
3697
  * @export
3560
- * @interface FileproccesorUploadBody
3698
+ * @interface InventoryAlertDto
3561
3699
  */
3562
- interface FileproccesorUploadBody {
3700
+ interface InventoryAlertDto {
3563
3701
  _id?: string;
3564
3702
  /**
3565
3703
  *
3566
- * @type {Blob}
3567
- * @memberof FileproccesorUploadBody
3704
+ * @type {string}
3705
+ * @memberof InventoryAlertDto
3568
3706
  */
3569
- file?: Blob;
3570
- }
3571
-
3572
- /**
3573
- * Hey Pharamcist API
3574
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
3575
- *
3576
- * OpenAPI spec version: 1.0
3577
- *
3578
- *
3579
- * NOTE: This class is auto generated by the swagger code generator program.
3580
- * https://github.com/swagger-api/swagger-codegen.git
3581
- * Do not edit the class manually.
3582
- */
3583
- /**
3584
- *
3585
- * @export
3586
- * @interface ForgetPassword
3587
- */
3588
- interface ForgetPassword {
3589
- _id?: string;
3707
+ productId: string;
3590
3708
  /**
3591
3709
  *
3592
3710
  * @type {string}
3593
- * @memberof ForgetPassword
3711
+ * @memberof InventoryAlertDto
3594
3712
  */
3595
- email: string;
3713
+ variantId: string;
3714
+ /**
3715
+ *
3716
+ * @type {string}
3717
+ * @memberof InventoryAlertDto
3718
+ */
3719
+ productName: string;
3720
+ /**
3721
+ *
3722
+ * @type {string}
3723
+ * @memberof InventoryAlertDto
3724
+ */
3725
+ variantName: string;
3726
+ /**
3727
+ *
3728
+ * @type {number}
3729
+ * @memberof InventoryAlertDto
3730
+ */
3731
+ currentStock: number;
3732
+ /**
3733
+ *
3734
+ * @type {string}
3735
+ * @memberof InventoryAlertDto
3736
+ */
3737
+ alertType: InventoryAlertDtoAlertTypeEnum;
3738
+ }
3739
+ /**
3740
+ * @export
3741
+ * @enum {string}
3742
+ */
3743
+ declare enum InventoryAlertDtoAlertTypeEnum {
3744
+ LOWSTOCK = "LOW_STOCK",
3745
+ OUTOFSTOCK = "OUT_OF_STOCK"
3596
3746
  }
3597
3747
 
3598
3748
  /**
@@ -3609,40 +3759,40 @@ interface ForgetPassword {
3609
3759
  /**
3610
3760
  *
3611
3761
  * @export
3612
- * @interface GenerateDaySlotsDto
3762
+ * @interface TopProductDto
3613
3763
  */
3614
- interface GenerateDaySlotsDto {
3764
+ interface TopProductDto {
3615
3765
  _id?: string;
3616
3766
  /**
3617
3767
  *
3618
3768
  * @type {string}
3619
- * @memberof GenerateDaySlotsDto
3769
+ * @memberof TopProductDto
3620
3770
  */
3621
- startTime: string;
3771
+ productId: string;
3622
3772
  /**
3623
3773
  *
3624
3774
  * @type {string}
3625
- * @memberof GenerateDaySlotsDto
3775
+ * @memberof TopProductDto
3626
3776
  */
3627
- endTime: string;
3777
+ name: string;
3628
3778
  /**
3629
3779
  *
3630
3780
  * @type {number}
3631
- * @memberof GenerateDaySlotsDto
3781
+ * @memberof TopProductDto
3632
3782
  */
3633
- duration: number;
3783
+ totalSold: number;
3634
3784
  /**
3635
3785
  *
3636
3786
  * @type {number}
3637
- * @memberof GenerateDaySlotsDto
3787
+ * @memberof TopProductDto
3638
3788
  */
3639
- buffer: number;
3789
+ revenue: number;
3640
3790
  /**
3641
3791
  *
3642
3792
  * @type {string}
3643
- * @memberof GenerateDaySlotsDto
3793
+ * @memberof TopProductDto
3644
3794
  */
3645
- date: string;
3795
+ imageUrl?: string;
3646
3796
  }
3647
3797
 
3648
3798
  /**
@@ -3656,49 +3806,80 @@ interface GenerateDaySlotsDto {
3656
3806
  * https://github.com/swagger-api/swagger-codegen.git
3657
3807
  * Do not edit the class manually.
3658
3808
  */
3809
+
3659
3810
  /**
3660
3811
  *
3661
3812
  * @export
3662
- * @interface GenerateMonthSlotsDto
3813
+ * @interface ProductOverviewDto
3663
3814
  */
3664
- interface GenerateMonthSlotsDto {
3815
+ interface ProductOverviewDto {
3665
3816
  _id?: string;
3666
3817
  /**
3667
- *
3668
- * @type {string}
3669
- * @memberof GenerateMonthSlotsDto
3818
+ * Total products in catalog
3819
+ * @type {number}
3820
+ * @memberof ProductOverviewDto
3670
3821
  */
3671
- startTime: string;
3822
+ totalProducts: number;
3672
3823
  /**
3673
- *
3674
- * @type {string}
3675
- * @memberof GenerateMonthSlotsDto
3824
+ * Active products
3825
+ * @type {number}
3826
+ * @memberof ProductOverviewDto
3676
3827
  */
3677
- endTime: string;
3828
+ activeProducts: number;
3678
3829
  /**
3679
- *
3830
+ * Inactive products
3680
3831
  * @type {number}
3681
- * @memberof GenerateMonthSlotsDto
3832
+ * @memberof ProductOverviewDto
3682
3833
  */
3683
- duration: number;
3834
+ inactiveProducts: number;
3684
3835
  /**
3685
- *
3836
+ * Total product variants
3686
3837
  * @type {number}
3687
- * @memberof GenerateMonthSlotsDto
3838
+ * @memberof ProductOverviewDto
3688
3839
  */
3689
- buffer: number;
3840
+ totalVariants: number;
3690
3841
  /**
3691
- *
3692
- * @type {string}
3693
- * @memberof GenerateMonthSlotsDto
3842
+ * Total inventory across all variants
3843
+ * @type {number}
3844
+ * @memberof ProductOverviewDto
3694
3845
  */
3695
- date: string;
3846
+ totalInventory: number;
3696
3847
  /**
3697
- *
3698
- * @type {string}
3699
- * @memberof GenerateMonthSlotsDto
3848
+ * Products with low stock
3849
+ * @type {number}
3850
+ * @memberof ProductOverviewDto
3700
3851
  */
3701
- monthStartDate: string;
3852
+ lowStockCount: number;
3853
+ /**
3854
+ * Products out of stock
3855
+ * @type {number}
3856
+ * @memberof ProductOverviewDto
3857
+ */
3858
+ outOfStockCount: number;
3859
+ /**
3860
+ * Inventory value estimate
3861
+ * @type {number}
3862
+ * @memberof ProductOverviewDto
3863
+ */
3864
+ inventoryValue: number;
3865
+ /**
3866
+ * Top selling products
3867
+ * @type {Array<TopProductDto>}
3868
+ * @memberof ProductOverviewDto
3869
+ */
3870
+ topSellers: Array<TopProductDto>;
3871
+ /**
3872
+ * Inventory alerts
3873
+ * @type {Array<InventoryAlertDto>}
3874
+ * @memberof ProductOverviewDto
3875
+ */
3876
+ inventoryAlerts: Array<InventoryAlertDto>;
3877
+ /**
3878
+ * Sales by category
3879
+ * @type {Array<CategorySalesDto>}
3880
+ * @memberof ProductOverviewDto
3881
+ */
3882
+ categoryBreakdown: Array<CategorySalesDto>;
3702
3883
  }
3703
3884
 
3704
3885
  /**
@@ -3715,46 +3896,28 @@ interface GenerateMonthSlotsDto {
3715
3896
  /**
3716
3897
  *
3717
3898
  * @export
3718
- * @interface GenerateWeekSlotsDto
3899
+ * @interface RatingDistributionDto
3719
3900
  */
3720
- interface GenerateWeekSlotsDto {
3901
+ interface RatingDistributionDto {
3721
3902
  _id?: string;
3722
- /**
3723
- *
3724
- * @type {string}
3725
- * @memberof GenerateWeekSlotsDto
3726
- */
3727
- startTime: string;
3728
- /**
3729
- *
3730
- * @type {string}
3731
- * @memberof GenerateWeekSlotsDto
3732
- */
3733
- endTime: string;
3734
3903
  /**
3735
3904
  *
3736
3905
  * @type {number}
3737
- * @memberof GenerateWeekSlotsDto
3906
+ * @memberof RatingDistributionDto
3738
3907
  */
3739
- duration: number;
3908
+ rating: number;
3740
3909
  /**
3741
3910
  *
3742
3911
  * @type {number}
3743
- * @memberof GenerateWeekSlotsDto
3744
- */
3745
- buffer: number;
3746
- /**
3747
- *
3748
- * @type {string}
3749
- * @memberof GenerateWeekSlotsDto
3912
+ * @memberof RatingDistributionDto
3750
3913
  */
3751
- date: string;
3914
+ count: number;
3752
3915
  /**
3753
3916
  *
3754
- * @type {string}
3755
- * @memberof GenerateWeekSlotsDto
3917
+ * @type {number}
3918
+ * @memberof RatingDistributionDto
3756
3919
  */
3757
- weekStartDate: string;
3920
+ percentage: number;
3758
3921
  }
3759
3922
 
3760
3923
  /**
@@ -3771,58 +3934,52 @@ interface GenerateWeekSlotsDto {
3771
3934
  /**
3772
3935
  *
3773
3936
  * @export
3774
- * @interface GroupWithNoUsersDto
3937
+ * @interface RecentReviewDto
3775
3938
  */
3776
- interface GroupWithNoUsersDto {
3939
+ interface RecentReviewDto {
3777
3940
  _id?: string;
3778
3941
  /**
3779
3942
  *
3780
- * @type {Date}
3781
- * @memberof GroupWithNoUsersDto
3782
- */
3783
- createdAt: Date;
3784
- /**
3785
- *
3786
- * @type {Date}
3787
- * @memberof GroupWithNoUsersDto
3943
+ * @type {string}
3944
+ * @memberof RecentReviewDto
3788
3945
  */
3789
- updatedAt: Date;
3946
+ reviewId: string;
3790
3947
  /**
3791
3948
  *
3792
3949
  * @type {string}
3793
- * @memberof GroupWithNoUsersDto
3950
+ * @memberof RecentReviewDto
3794
3951
  */
3795
- id: string;
3952
+ userId: string;
3796
3953
  /**
3797
- * Name of the user group
3954
+ *
3798
3955
  * @type {string}
3799
- * @memberof GroupWithNoUsersDto
3956
+ * @memberof RecentReviewDto
3800
3957
  */
3801
- name: string;
3958
+ userName: string;
3802
3959
  /**
3803
3960
  *
3804
- * @type {string}
3805
- * @memberof GroupWithNoUsersDto
3961
+ * @type {number}
3962
+ * @memberof RecentReviewDto
3806
3963
  */
3807
- description: string;
3964
+ rating: number;
3808
3965
  /**
3809
3966
  *
3810
3967
  * @type {string}
3811
- * @memberof GroupWithNoUsersDto
3968
+ * @memberof RecentReviewDto
3812
3969
  */
3813
- storeId: string;
3970
+ review: string;
3814
3971
  /**
3815
3972
  *
3816
- * @type {number}
3817
- * @memberof GroupWithNoUsersDto
3973
+ * @type {string}
3974
+ * @memberof RecentReviewDto
3818
3975
  */
3819
- percentageOfUsers: number;
3976
+ productName?: string;
3820
3977
  /**
3821
3978
  *
3822
- * @type {number}
3823
- * @memberof GroupWithNoUsersDto
3979
+ * @type {Date}
3980
+ * @memberof RecentReviewDto
3824
3981
  */
3825
- usersCount: number;
3982
+ createdAt: Date;
3826
3983
  }
3827
3984
 
3828
3985
  /**
@@ -3836,210 +3993,1414 @@ interface GroupWithNoUsersDto {
3836
3993
  * https://github.com/swagger-api/swagger-codegen.git
3837
3994
  * Do not edit the class manually.
3838
3995
  */
3996
+
3839
3997
  /**
3840
3998
  *
3841
3999
  * @export
3842
- * @interface UserEntity
4000
+ * @interface ReviewOverviewDto
3843
4001
  */
3844
- interface UserEntity {
4002
+ interface ReviewOverviewDto {
3845
4003
  _id?: string;
3846
4004
  /**
3847
- *
3848
- * @type {Date}
3849
- * @memberof UserEntity
3850
- */
3851
- createdAt?: Date;
3852
- /**
3853
- *
3854
- * @type {Date}
3855
- * @memberof UserEntity
3856
- */
3857
- updatedAt?: Date;
3858
- /**
3859
- *
3860
- * @type {string}
3861
- * @memberof UserEntity
3862
- */
3863
- id?: string;
3864
- /**
3865
- *
3866
- * @type {string}
3867
- * @memberof UserEntity
4005
+ * Total reviews
4006
+ * @type {number}
4007
+ * @memberof ReviewOverviewDto
3868
4008
  */
3869
- firstname?: string;
4009
+ totalReviews: number;
3870
4010
  /**
3871
- *
3872
- * @type {string}
3873
- * @memberof UserEntity
4011
+ * Reviews in current period
4012
+ * @type {number}
4013
+ * @memberof ReviewOverviewDto
3874
4014
  */
3875
- lastname?: string;
4015
+ reviewsInPeriod: number;
3876
4016
  /**
3877
- *
3878
- * @type {string}
3879
- * @memberof UserEntity
4017
+ * Average rating (1-5)
4018
+ * @type {number}
4019
+ * @memberof ReviewOverviewDto
3880
4020
  */
3881
- email?: string;
4021
+ averageRating: number;
3882
4022
  /**
3883
- *
3884
- * @type {boolean}
3885
- * @memberof UserEntity
4023
+ * Review growth vs previous period (%)
4024
+ * @type {number}
4025
+ * @memberof ReviewOverviewDto
3886
4026
  */
3887
- isEmailVerified?: boolean;
4027
+ reviewGrowth: number;
3888
4028
  /**
3889
- *
3890
- * @type {string}
3891
- * @memberof UserEntity
4029
+ * Reviews pending reply
4030
+ * @type {number}
4031
+ * @memberof ReviewOverviewDto
3892
4032
  */
3893
- role?: UserEntityRoleEnum;
4033
+ pendingReplies: number;
3894
4034
  /**
3895
- *
3896
- * @type {string}
3897
- * @memberof UserEntity
4035
+ * Rating distribution
4036
+ * @type {Array<RatingDistributionDto>}
4037
+ * @memberof ReviewOverviewDto
3898
4038
  */
3899
- avatar?: string;
4039
+ ratingDistribution: Array<RatingDistributionDto>;
3900
4040
  /**
3901
- *
3902
- * @type {string}
3903
- * @memberof UserEntity
4041
+ * Recent reviews
4042
+ * @type {Array<RecentReviewDto>}
4043
+ * @memberof ReviewOverviewDto
3904
4044
  */
3905
- phoneNumber?: string;
4045
+ recentReviews: Array<RecentReviewDto>;
4046
+ }
4047
+
4048
+ /**
4049
+ * Hey Pharamcist API
4050
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4051
+ *
4052
+ * OpenAPI spec version: 1.0
4053
+ *
4054
+ *
4055
+ * NOTE: This class is auto generated by the swagger code generator program.
4056
+ * https://github.com/swagger-api/swagger-codegen.git
4057
+ * Do not edit the class manually.
4058
+ */
4059
+
4060
+ /**
4061
+ *
4062
+ * @export
4063
+ * @interface DashboardOverviewDto
4064
+ */
4065
+ interface DashboardOverviewDto {
4066
+ _id?: string;
3906
4067
  /**
3907
- *
3908
- * @type {Date}
3909
- * @memberof UserEntity
4068
+ * Analysis period
4069
+ * @type {AnalyticsPeriodDto}
4070
+ * @memberof DashboardOverviewDto
3910
4071
  */
3911
- lastActive?: Date;
4072
+ period: AnalyticsPeriodDto;
3912
4073
  /**
3913
4074
  *
3914
- * @type {string}
3915
- * @memberof UserEntity
4075
+ * @type {OrderOverviewDto}
4076
+ * @memberof DashboardOverviewDto
3916
4077
  */
3917
- notes?: string;
4078
+ orders: OrderOverviewDto;
3918
4079
  /**
3919
4080
  *
3920
- * @type {string}
3921
- * @memberof UserEntity
4081
+ * @type {CustomerOverviewDto}
4082
+ * @memberof DashboardOverviewDto
3922
4083
  */
3923
- customerType?: UserEntityCustomerTypeEnum;
4084
+ customers: CustomerOverviewDto;
3924
4085
  /**
3925
4086
  *
3926
- * @type {Array<string>}
3927
- * @memberof UserEntity
4087
+ * @type {ProductOverviewDto}
4088
+ * @memberof DashboardOverviewDto
3928
4089
  */
3929
- adminStores?: Array<string>;
4090
+ products: ProductOverviewDto;
3930
4091
  /**
3931
4092
  *
3932
- * @type {boolean}
3933
- * @memberof UserEntity
4093
+ * @type {AppointmentOverviewDto}
4094
+ * @memberof DashboardOverviewDto
3934
4095
  */
3935
- isEmailNotifActive?: boolean;
4096
+ appointments: AppointmentOverviewDto;
3936
4097
  /**
3937
4098
  *
3938
- * @type {boolean}
3939
- * @memberof UserEntity
4099
+ * @type {DiscountOverviewDto}
4100
+ * @memberof DashboardOverviewDto
3940
4101
  */
3941
- isSmsNotifActive?: boolean;
4102
+ discounts: DiscountOverviewDto;
3942
4103
  /**
3943
4104
  *
3944
- * @type {boolean}
3945
- * @memberof UserEntity
4105
+ * @type {ReviewOverviewDto}
4106
+ * @memberof DashboardOverviewDto
4107
+ */
4108
+ reviews: ReviewOverviewDto;
4109
+ }
4110
+
4111
+ /**
4112
+ * Hey Pharamcist API
4113
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4114
+ *
4115
+ * OpenAPI spec version: 1.0
4116
+ *
4117
+ *
4118
+ * NOTE: This class is auto generated by the swagger code generator program.
4119
+ * https://github.com/swagger-api/swagger-codegen.git
4120
+ * Do not edit the class manually.
4121
+ */
4122
+ /**
4123
+ *
4124
+ * @export
4125
+ * @interface DeleteFileDto
4126
+ */
4127
+ interface DeleteFileDto {
4128
+ _id?: string;
4129
+ /**
4130
+ *
4131
+ * @type {string}
4132
+ * @memberof DeleteFileDto
4133
+ */
4134
+ fileUrl: string;
4135
+ }
4136
+
4137
+ /**
4138
+ * Hey Pharamcist API
4139
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4140
+ *
4141
+ * OpenAPI spec version: 1.0
4142
+ *
4143
+ *
4144
+ * NOTE: This class is auto generated by the swagger code generator program.
4145
+ * https://github.com/swagger-api/swagger-codegen.git
4146
+ * Do not edit the class manually.
4147
+ */
4148
+ /**
4149
+ *
4150
+ * @export
4151
+ * @interface DeleteManyFilesDto
4152
+ */
4153
+ interface DeleteManyFilesDto {
4154
+ _id?: string;
4155
+ /**
4156
+ *
4157
+ * @type {Array<string>}
4158
+ * @memberof DeleteManyFilesDto
4159
+ */
4160
+ fileUrls: Array<string>;
4161
+ }
4162
+
4163
+ /**
4164
+ * Hey Pharamcist API
4165
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4166
+ *
4167
+ * OpenAPI spec version: 1.0
4168
+ *
4169
+ *
4170
+ * NOTE: This class is auto generated by the swagger code generator program.
4171
+ * https://github.com/swagger-api/swagger-codegen.git
4172
+ * Do not edit the class manually.
4173
+ */
4174
+ /**
4175
+ *
4176
+ * @export
4177
+ * @interface UsedBy
4178
+ */
4179
+ interface UsedBy {
4180
+ _id?: string;
4181
+ /**
4182
+ *
4183
+ * @type {Date}
4184
+ * @memberof UsedBy
4185
+ */
4186
+ usedAt: Date;
4187
+ /**
4188
+ *
4189
+ * @type {string}
4190
+ * @memberof UsedBy
4191
+ */
4192
+ userId: string;
4193
+ /**
4194
+ *
4195
+ * @type {string}
4196
+ * @memberof UsedBy
4197
+ */
4198
+ orderId: string;
4199
+ /**
4200
+ *
4201
+ * @type {number}
4202
+ * @memberof UsedBy
4203
+ */
4204
+ originalPrice: number;
4205
+ /**
4206
+ *
4207
+ * @type {number}
4208
+ * @memberof UsedBy
4209
+ */
4210
+ discountedPrice: number;
4211
+ /**
4212
+ *
4213
+ * @type {number}
4214
+ * @memberof UsedBy
4215
+ */
4216
+ discountedAmount: number;
4217
+ /**
4218
+ *
4219
+ * @type {string}
4220
+ * @memberof UsedBy
4221
+ */
4222
+ firstname: string;
4223
+ /**
4224
+ *
4225
+ * @type {string}
4226
+ * @memberof UsedBy
4227
+ */
4228
+ lastname: string;
4229
+ /**
4230
+ *
4231
+ * @type {string}
4232
+ * @memberof UsedBy
4233
+ */
4234
+ email: string;
4235
+ /**
4236
+ *
4237
+ * @type {string}
4238
+ * @memberof UsedBy
4239
+ */
4240
+ phoneNumber: string;
4241
+ /**
4242
+ *
4243
+ * @type {string}
4244
+ * @memberof UsedBy
4245
+ */
4246
+ avatar: string;
4247
+ }
4248
+
4249
+ /**
4250
+ * Hey Pharamcist API
4251
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4252
+ *
4253
+ * OpenAPI spec version: 1.0
4254
+ *
4255
+ *
4256
+ * NOTE: This class is auto generated by the swagger code generator program.
4257
+ * https://github.com/swagger-api/swagger-codegen.git
4258
+ * Do not edit the class manually.
4259
+ */
4260
+
4261
+ /**
4262
+ *
4263
+ * @export
4264
+ * @interface Discount
4265
+ */
4266
+ interface Discount {
4267
+ _id?: string;
4268
+ /**
4269
+ *
4270
+ * @type {Date}
4271
+ * @memberof Discount
4272
+ */
4273
+ createdAt: Date;
4274
+ /**
4275
+ *
4276
+ * @type {Date}
4277
+ * @memberof Discount
4278
+ */
4279
+ updatedAt: Date;
4280
+ /**
4281
+ *
4282
+ * @type {string}
4283
+ * @memberof Discount
4284
+ */
4285
+ id: string;
4286
+ /**
4287
+ * Display name for the discount
4288
+ * @type {string}
4289
+ * @memberof Discount
4290
+ */
4291
+ name: string;
4292
+ /**
4293
+ * Optional description for internal use
4294
+ * @type {string}
4295
+ * @memberof Discount
4296
+ */
4297
+ description: string;
4298
+ /**
4299
+ * ITEM_DISCOUNT: Shows on products automatically. COUPON_CODE: Requires code at checkout
4300
+ * @type {string}
4301
+ * @memberof Discount
4302
+ */
4303
+ type: DiscountTypeEnum;
4304
+ /**
4305
+ * PERCENTAGE or FIXED_AMOUNT
4306
+ * @type {string}
4307
+ * @memberof Discount
4308
+ */
4309
+ valueType: DiscountValueTypeEnum;
4310
+ /**
4311
+ * The discount value (percentage 1-100 or fixed dollar amount)
4312
+ * @type {number}
4313
+ * @memberof Discount
4314
+ */
4315
+ value: number;
4316
+ /**
4317
+ * Maximum discount amount for percentage discounts (optional, mainly for COUPON_CODE)
4318
+ * @type {number}
4319
+ * @memberof Discount
4320
+ */
4321
+ cappedAt: number;
4322
+ /**
4323
+ * Coupon code (required for COUPON_CODE type)
4324
+ * @type {string}
4325
+ * @memberof Discount
4326
+ */
4327
+ code: string;
4328
+ /**
4329
+ * When the discount becomes active
4330
+ * @type {Date}
4331
+ * @memberof Discount
4332
+ */
4333
+ startsAt: Date;
4334
+ /**
4335
+ * When the discount expires
4336
+ * @type {Date}
4337
+ * @memberof Discount
4338
+ */
4339
+ expiresAt: Date;
4340
+ /**
4341
+ * Current lifecycle state
4342
+ * @type {string}
4343
+ * @memberof Discount
4344
+ */
4345
+ state: DiscountStateEnum;
4346
+ /**
4347
+ * Quick toggle to enable/disable the discount
4348
+ * @type {boolean}
4349
+ * @memberof Discount
4350
+ */
4351
+ isActive: boolean;
4352
+ /**
4353
+ * Products to apply discount to (all their variants will be discounted)
4354
+ * @type {Array<string>}
4355
+ * @memberof Discount
4356
+ */
4357
+ productsEligible: Array<string>;
4358
+ /**
4359
+ * Specific variants to apply discount to
4360
+ * @type {Array<string>}
4361
+ * @memberof Discount
4362
+ */
4363
+ variantsEligible: Array<string>;
4364
+ /**
4365
+ * Maximum total times this discount can be used (optional)
4366
+ * @type {number}
4367
+ * @memberof Discount
4368
+ */
4369
+ maxUses: number;
4370
+ /**
4371
+ * Maximum times a single user can use this discount (optional)
4372
+ * @type {number}
4373
+ * @memberof Discount
4374
+ */
4375
+ maxUsesPerUser: number;
4376
+ /**
4377
+ * Current total usage count
4378
+ * @type {number}
4379
+ * @memberof Discount
4380
+ */
4381
+ numberOfUses: number;
4382
+ /**
4383
+ * Usage history
4384
+ * @type {Array<UsedBy>}
4385
+ * @memberof Discount
4386
+ */
4387
+ usedBy: Array<UsedBy>;
4388
+ /**
4389
+ *
4390
+ * @type {string}
4391
+ * @memberof Discount
4392
+ */
4393
+ storeId: string;
4394
+ }
4395
+ /**
4396
+ * @export
4397
+ * @enum {string}
4398
+ */
4399
+ declare enum DiscountTypeEnum {
4400
+ ITEMDISCOUNT = "ITEM_DISCOUNT",
4401
+ COUPONCODE = "COUPON_CODE"
4402
+ }
4403
+ /**
4404
+ * @export
4405
+ * @enum {string}
4406
+ */
4407
+ declare enum DiscountValueTypeEnum {
4408
+ PERCENTAGE = "PERCENTAGE",
4409
+ FIXEDAMOUNT = "FIXED_AMOUNT"
4410
+ }
4411
+ /**
4412
+ * @export
4413
+ * @enum {string}
4414
+ */
4415
+ declare enum DiscountStateEnum {
4416
+ ACTIVE = "ACTIVE",
4417
+ INACTIVE = "INACTIVE",
4418
+ EXPIRED = "EXPIRED",
4419
+ SCHEDULED = "SCHEDULED"
4420
+ }
4421
+
4422
+ /**
4423
+ * Hey Pharamcist API
4424
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4425
+ *
4426
+ * OpenAPI spec version: 1.0
4427
+ *
4428
+ *
4429
+ * NOTE: This class is auto generated by the swagger code generator program.
4430
+ * https://github.com/swagger-api/swagger-codegen.git
4431
+ * Do not edit the class manually.
4432
+ */
4433
+ /**
4434
+ *
4435
+ * @export
4436
+ * @interface DiscountsInsightsDto
4437
+ */
4438
+ interface DiscountsInsightsDto {
4439
+ _id?: string;
4440
+ /**
4441
+ *
4442
+ * @type {number}
4443
+ * @memberof DiscountsInsightsDto
4444
+ */
4445
+ totalDiscounts: number;
4446
+ /**
4447
+ *
4448
+ * @type {number}
4449
+ * @memberof DiscountsInsightsDto
4450
+ */
4451
+ totalActive: number;
4452
+ /**
4453
+ *
4454
+ * @type {number}
4455
+ * @memberof DiscountsInsightsDto
4456
+ */
4457
+ totalInactive: number;
4458
+ /**
4459
+ *
4460
+ * @type {number}
4461
+ * @memberof DiscountsInsightsDto
4462
+ */
4463
+ totalExpired: number;
4464
+ /**
4465
+ *
4466
+ * @type {number}
4467
+ * @memberof DiscountsInsightsDto
4468
+ */
4469
+ totalScheduled: number;
4470
+ /**
4471
+ *
4472
+ * @type {number}
4473
+ * @memberof DiscountsInsightsDto
4474
+ */
4475
+ totalItemDiscounts: number;
4476
+ /**
4477
+ *
4478
+ * @type {number}
4479
+ * @memberof DiscountsInsightsDto
4480
+ */
4481
+ totalCouponCodes: number;
4482
+ }
4483
+
4484
+ /**
4485
+ * Hey Pharamcist API
4486
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4487
+ *
4488
+ * OpenAPI spec version: 1.0
4489
+ *
4490
+ *
4491
+ * NOTE: This class is auto generated by the swagger code generator program.
4492
+ * https://github.com/swagger-api/swagger-codegen.git
4493
+ * Do not edit the class manually.
4494
+ */
4495
+ /**
4496
+ *
4497
+ * @export
4498
+ * @interface EmailInvoiceDto
4499
+ */
4500
+ interface EmailInvoiceDto {
4501
+ _id?: string;
4502
+ /**
4503
+ *
4504
+ * @type {string}
4505
+ * @memberof EmailInvoiceDto
4506
+ */
4507
+ to: string;
4508
+ /**
4509
+ *
4510
+ * @type {string}
4511
+ * @memberof EmailInvoiceDto
4512
+ */
4513
+ subject: string;
4514
+ /**
4515
+ *
4516
+ * @type {string}
4517
+ * @memberof EmailInvoiceDto
4518
+ */
4519
+ content: string;
4520
+ /**
4521
+ *
4522
+ * @type {string}
4523
+ * @memberof EmailInvoiceDto
4524
+ */
4525
+ orderId: string;
4526
+ }
4527
+
4528
+ /**
4529
+ * Hey Pharamcist API
4530
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4531
+ *
4532
+ * OpenAPI spec version: 1.0
4533
+ *
4534
+ *
4535
+ * NOTE: This class is auto generated by the swagger code generator program.
4536
+ * https://github.com/swagger-api/swagger-codegen.git
4537
+ * Do not edit the class manually.
4538
+ */
4539
+
4540
+ /**
4541
+ *
4542
+ * @export
4543
+ * @interface Event
4544
+ */
4545
+ interface Event {
4546
+ _id?: string;
4547
+ /**
4548
+ *
4549
+ * @type {Date}
4550
+ * @memberof Event
4551
+ */
4552
+ createdAt: Date;
4553
+ /**
4554
+ *
4555
+ * @type {Date}
4556
+ * @memberof Event
4557
+ */
4558
+ updatedAt: Date;
4559
+ /**
4560
+ *
4561
+ * @type {string}
4562
+ * @memberof Event
4563
+ */
4564
+ id: string;
4565
+ /**
4566
+ *
4567
+ * @type {string}
4568
+ * @memberof Event
4569
+ */
4570
+ storeId: string;
4571
+ /**
4572
+ *
4573
+ * @type {string}
4574
+ * @memberof Event
4575
+ */
4576
+ title: string;
4577
+ /**
4578
+ *
4579
+ * @type {string}
4580
+ * @memberof Event
4581
+ */
4582
+ description: string;
4583
+ /**
4584
+ *
4585
+ * @type {number}
4586
+ * @memberof Event
4587
+ */
4588
+ durationInMinutes: number;
4589
+ /**
4590
+ *
4591
+ * @type {number}
4592
+ * @memberof Event
4593
+ */
4594
+ bufferTimeInMinutes: number;
4595
+ /**
4596
+ *
4597
+ * @type {Array<AvailableDatesDto>}
4598
+ * @memberof Event
4599
+ */
4600
+ availableDates: Array<AvailableDatesDto>;
4601
+ }
4602
+
4603
+ /**
4604
+ * Hey Pharamcist API
4605
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4606
+ *
4607
+ * OpenAPI spec version: 1.0
4608
+ *
4609
+ *
4610
+ * NOTE: This class is auto generated by the swagger code generator program.
4611
+ * https://github.com/swagger-api/swagger-codegen.git
4612
+ * Do not edit the class manually.
4613
+ */
4614
+ /**
4615
+ *
4616
+ * @export
4617
+ * @interface FileproccesorUploadBody
4618
+ */
4619
+ interface FileproccesorUploadBody {
4620
+ _id?: string;
4621
+ /**
4622
+ *
4623
+ * @type {Blob}
4624
+ * @memberof FileproccesorUploadBody
4625
+ */
4626
+ file?: Blob;
4627
+ }
4628
+
4629
+ /**
4630
+ * Hey Pharamcist API
4631
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4632
+ *
4633
+ * OpenAPI spec version: 1.0
4634
+ *
4635
+ *
4636
+ * NOTE: This class is auto generated by the swagger code generator program.
4637
+ * https://github.com/swagger-api/swagger-codegen.git
4638
+ * Do not edit the class manually.
4639
+ */
4640
+ /**
4641
+ *
4642
+ * @export
4643
+ * @interface ForgetPassword
4644
+ */
4645
+ interface ForgetPassword {
4646
+ _id?: string;
4647
+ /**
4648
+ *
4649
+ * @type {string}
4650
+ * @memberof ForgetPassword
4651
+ */
4652
+ email: string;
4653
+ }
4654
+
4655
+ /**
4656
+ * Hey Pharamcist API
4657
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4658
+ *
4659
+ * OpenAPI spec version: 1.0
4660
+ *
4661
+ *
4662
+ * NOTE: This class is auto generated by the swagger code generator program.
4663
+ * https://github.com/swagger-api/swagger-codegen.git
4664
+ * Do not edit the class manually.
4665
+ */
4666
+ /**
4667
+ *
4668
+ * @export
4669
+ * @interface GenerateDaySlotsDto
4670
+ */
4671
+ interface GenerateDaySlotsDto {
4672
+ _id?: string;
4673
+ /**
4674
+ *
4675
+ * @type {string}
4676
+ * @memberof GenerateDaySlotsDto
4677
+ */
4678
+ startTime: string;
4679
+ /**
4680
+ *
4681
+ * @type {string}
4682
+ * @memberof GenerateDaySlotsDto
4683
+ */
4684
+ endTime: string;
4685
+ /**
4686
+ *
4687
+ * @type {number}
4688
+ * @memberof GenerateDaySlotsDto
4689
+ */
4690
+ duration: number;
4691
+ /**
4692
+ *
4693
+ * @type {number}
4694
+ * @memberof GenerateDaySlotsDto
4695
+ */
4696
+ buffer: number;
4697
+ /**
4698
+ *
4699
+ * @type {string}
4700
+ * @memberof GenerateDaySlotsDto
4701
+ */
4702
+ date: string;
4703
+ }
4704
+
4705
+ /**
4706
+ * Hey Pharamcist API
4707
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4708
+ *
4709
+ * OpenAPI spec version: 1.0
4710
+ *
4711
+ *
4712
+ * NOTE: This class is auto generated by the swagger code generator program.
4713
+ * https://github.com/swagger-api/swagger-codegen.git
4714
+ * Do not edit the class manually.
4715
+ */
4716
+ /**
4717
+ *
4718
+ * @export
4719
+ * @interface GenerateMonthSlotsDto
4720
+ */
4721
+ interface GenerateMonthSlotsDto {
4722
+ _id?: string;
4723
+ /**
4724
+ *
4725
+ * @type {string}
4726
+ * @memberof GenerateMonthSlotsDto
4727
+ */
4728
+ startTime: string;
4729
+ /**
4730
+ *
4731
+ * @type {string}
4732
+ * @memberof GenerateMonthSlotsDto
4733
+ */
4734
+ endTime: string;
4735
+ /**
4736
+ *
4737
+ * @type {number}
4738
+ * @memberof GenerateMonthSlotsDto
4739
+ */
4740
+ duration: number;
4741
+ /**
4742
+ *
4743
+ * @type {number}
4744
+ * @memberof GenerateMonthSlotsDto
4745
+ */
4746
+ buffer: number;
4747
+ /**
4748
+ *
4749
+ * @type {string}
4750
+ * @memberof GenerateMonthSlotsDto
4751
+ */
4752
+ date: string;
4753
+ /**
4754
+ *
4755
+ * @type {string}
4756
+ * @memberof GenerateMonthSlotsDto
4757
+ */
4758
+ monthStartDate: string;
4759
+ }
4760
+
4761
+ /**
4762
+ * Hey Pharamcist API
4763
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4764
+ *
4765
+ * OpenAPI spec version: 1.0
4766
+ *
4767
+ *
4768
+ * NOTE: This class is auto generated by the swagger code generator program.
4769
+ * https://github.com/swagger-api/swagger-codegen.git
4770
+ * Do not edit the class manually.
4771
+ */
4772
+ /**
4773
+ *
4774
+ * @export
4775
+ * @interface GenerateWeekSlotsDto
4776
+ */
4777
+ interface GenerateWeekSlotsDto {
4778
+ _id?: string;
4779
+ /**
4780
+ *
4781
+ * @type {string}
4782
+ * @memberof GenerateWeekSlotsDto
4783
+ */
4784
+ startTime: string;
4785
+ /**
4786
+ *
4787
+ * @type {string}
4788
+ * @memberof GenerateWeekSlotsDto
4789
+ */
4790
+ endTime: string;
4791
+ /**
4792
+ *
4793
+ * @type {number}
4794
+ * @memberof GenerateWeekSlotsDto
4795
+ */
4796
+ duration: number;
4797
+ /**
4798
+ *
4799
+ * @type {number}
4800
+ * @memberof GenerateWeekSlotsDto
4801
+ */
4802
+ buffer: number;
4803
+ /**
4804
+ *
4805
+ * @type {string}
4806
+ * @memberof GenerateWeekSlotsDto
4807
+ */
4808
+ date: string;
4809
+ /**
4810
+ *
4811
+ * @type {string}
4812
+ * @memberof GenerateWeekSlotsDto
4813
+ */
4814
+ weekStartDate: string;
4815
+ }
4816
+
4817
+ /**
4818
+ * Hey Pharamcist API
4819
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4820
+ *
4821
+ * OpenAPI spec version: 1.0
4822
+ *
4823
+ *
4824
+ * NOTE: This class is auto generated by the swagger code generator program.
4825
+ * https://github.com/swagger-api/swagger-codegen.git
4826
+ * Do not edit the class manually.
4827
+ */
4828
+ /**
4829
+ *
4830
+ * @export
4831
+ * @interface GroupWithNoUsersDto
4832
+ */
4833
+ interface GroupWithNoUsersDto {
4834
+ _id?: string;
4835
+ /**
4836
+ *
4837
+ * @type {Date}
4838
+ * @memberof GroupWithNoUsersDto
4839
+ */
4840
+ createdAt: Date;
4841
+ /**
4842
+ *
4843
+ * @type {Date}
4844
+ * @memberof GroupWithNoUsersDto
4845
+ */
4846
+ updatedAt: Date;
4847
+ /**
4848
+ *
4849
+ * @type {string}
4850
+ * @memberof GroupWithNoUsersDto
4851
+ */
4852
+ id: string;
4853
+ /**
4854
+ * Name of the user group
4855
+ * @type {string}
4856
+ * @memberof GroupWithNoUsersDto
4857
+ */
4858
+ name: string;
4859
+ /**
4860
+ *
4861
+ * @type {string}
4862
+ * @memberof GroupWithNoUsersDto
4863
+ */
4864
+ description: string;
4865
+ /**
4866
+ *
4867
+ * @type {string}
4868
+ * @memberof GroupWithNoUsersDto
4869
+ */
4870
+ storeId: string;
4871
+ /**
4872
+ *
4873
+ * @type {number}
4874
+ * @memberof GroupWithNoUsersDto
4875
+ */
4876
+ percentageOfUsers: number;
4877
+ /**
4878
+ *
4879
+ * @type {number}
4880
+ * @memberof GroupWithNoUsersDto
4881
+ */
4882
+ usersCount: number;
4883
+ }
4884
+
4885
+ /**
4886
+ * Hey Pharamcist API
4887
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4888
+ *
4889
+ * OpenAPI spec version: 1.0
4890
+ *
4891
+ *
4892
+ * NOTE: This class is auto generated by the swagger code generator program.
4893
+ * https://github.com/swagger-api/swagger-codegen.git
4894
+ * Do not edit the class manually.
4895
+ */
4896
+ /**
4897
+ *
4898
+ * @export
4899
+ * @interface UserEntity
4900
+ */
4901
+ interface UserEntity {
4902
+ _id?: string;
4903
+ /**
4904
+ *
4905
+ * @type {Date}
4906
+ * @memberof UserEntity
4907
+ */
4908
+ createdAt?: Date;
4909
+ /**
4910
+ *
4911
+ * @type {Date}
4912
+ * @memberof UserEntity
4913
+ */
4914
+ updatedAt?: Date;
4915
+ /**
4916
+ *
4917
+ * @type {string}
4918
+ * @memberof UserEntity
4919
+ */
4920
+ id?: string;
4921
+ /**
4922
+ *
4923
+ * @type {string}
4924
+ * @memberof UserEntity
4925
+ */
4926
+ firstname?: string;
4927
+ /**
4928
+ *
4929
+ * @type {string}
4930
+ * @memberof UserEntity
4931
+ */
4932
+ lastname?: string;
4933
+ /**
4934
+ *
4935
+ * @type {string}
4936
+ * @memberof UserEntity
4937
+ */
4938
+ email?: string;
4939
+ /**
4940
+ *
4941
+ * @type {boolean}
4942
+ * @memberof UserEntity
4943
+ */
4944
+ isEmailVerified?: boolean;
4945
+ /**
4946
+ *
4947
+ * @type {string}
4948
+ * @memberof UserEntity
4949
+ */
4950
+ role?: UserEntityRoleEnum;
4951
+ /**
4952
+ *
4953
+ * @type {string}
4954
+ * @memberof UserEntity
4955
+ */
4956
+ avatar?: string;
4957
+ /**
4958
+ *
4959
+ * @type {string}
4960
+ * @memberof UserEntity
4961
+ */
4962
+ phoneNumber?: string;
4963
+ /**
4964
+ *
4965
+ * @type {Date}
4966
+ * @memberof UserEntity
4967
+ */
4968
+ lastActive?: Date;
4969
+ /**
4970
+ *
4971
+ * @type {string}
4972
+ * @memberof UserEntity
4973
+ */
4974
+ notes?: string;
4975
+ /**
4976
+ *
4977
+ * @type {string}
4978
+ * @memberof UserEntity
4979
+ */
4980
+ customerType?: UserEntityCustomerTypeEnum;
4981
+ /**
4982
+ *
4983
+ * @type {Array<string>}
4984
+ * @memberof UserEntity
4985
+ */
4986
+ adminStores?: Array<string>;
4987
+ /**
4988
+ *
4989
+ * @type {boolean}
4990
+ * @memberof UserEntity
4991
+ */
4992
+ isEmailNotifActive?: boolean;
4993
+ /**
4994
+ *
4995
+ * @type {boolean}
4996
+ * @memberof UserEntity
4997
+ */
4998
+ isSmsNotifActive?: boolean;
4999
+ /**
5000
+ *
5001
+ * @type {boolean}
5002
+ * @memberof UserEntity
3946
5003
  */
3947
5004
  alertOnUserRegistration?: boolean;
3948
5005
  /**
3949
5006
  *
3950
- * @type {boolean}
3951
- * @memberof UserEntity
5007
+ * @type {boolean}
5008
+ * @memberof UserEntity
5009
+ */
5010
+ alertOnOrderCreation?: boolean;
5011
+ /**
5012
+ *
5013
+ * @type {boolean}
5014
+ * @memberof UserEntity
5015
+ */
5016
+ alertOnOrderDelivery?: boolean;
5017
+ /**
5018
+ *
5019
+ * @type {boolean}
5020
+ * @memberof UserEntity
5021
+ */
5022
+ alertOnNewReview?: boolean;
5023
+ /**
5024
+ *
5025
+ * @type {boolean}
5026
+ * @memberof UserEntity
5027
+ */
5028
+ isActive?: boolean;
5029
+ /**
5030
+ *
5031
+ * @type {boolean}
5032
+ * @memberof UserEntity
5033
+ */
5034
+ isBlocked?: boolean;
5035
+ /**
5036
+ *
5037
+ * @type {boolean}
5038
+ * @memberof UserEntity
5039
+ */
5040
+ isTaxExempted?: boolean;
5041
+ /**
5042
+ * ISO 3166-1 alpha-2 country code ... examples -> https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
5043
+ * @type {string}
5044
+ * @memberof UserEntity
5045
+ */
5046
+ country?: string;
5047
+ /**
5048
+ *
5049
+ * @type {number}
5050
+ * @memberof UserEntity
5051
+ */
5052
+ availableCreditBalance?: number;
5053
+ /**
5054
+ *
5055
+ * @type {number}
5056
+ * @memberof UserEntity
5057
+ */
5058
+ creditLimit?: number;
5059
+ /**
5060
+ *
5061
+ * @type {number}
5062
+ * @memberof UserEntity
5063
+ */
5064
+ creditUsed?: number;
5065
+ /**
5066
+ *
5067
+ * @type {boolean}
5068
+ * @memberof UserEntity
5069
+ */
5070
+ isAllowedtToUseCredit?: boolean;
5071
+ /**
5072
+ *
5073
+ * @type {number}
5074
+ * @memberof UserEntity
5075
+ */
5076
+ ordersCount: number;
5077
+ /**
5078
+ *
5079
+ * @type {number}
5080
+ * @memberof UserEntity
5081
+ */
5082
+ totalSpent: number;
5083
+ }
5084
+ /**
5085
+ * @export
5086
+ * @enum {string}
5087
+ */
5088
+ declare enum UserEntityRoleEnum {
5089
+ SuperAdmin = "SuperAdmin",
5090
+ Admin = "Admin",
5091
+ User = "User"
5092
+ }
5093
+ /**
5094
+ * @export
5095
+ * @enum {string}
5096
+ */
5097
+ declare enum UserEntityCustomerTypeEnum {
5098
+ B2B = "B2B",
5099
+ Regular = "Regular"
5100
+ }
5101
+
5102
+ /**
5103
+ * Hey Pharamcist API
5104
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5105
+ *
5106
+ * OpenAPI spec version: 1.0
5107
+ *
5108
+ *
5109
+ * NOTE: This class is auto generated by the swagger code generator program.
5110
+ * https://github.com/swagger-api/swagger-codegen.git
5111
+ * Do not edit the class manually.
5112
+ */
5113
+
5114
+ /**
5115
+ *
5116
+ * @export
5117
+ * @interface GroupWithUsersDto
5118
+ */
5119
+ interface GroupWithUsersDto {
5120
+ _id?: string;
5121
+ /**
5122
+ *
5123
+ * @type {Date}
5124
+ * @memberof GroupWithUsersDto
3952
5125
  */
3953
- alertOnOrderCreation?: boolean;
5126
+ createdAt?: Date;
3954
5127
  /**
3955
5128
  *
3956
- * @type {boolean}
3957
- * @memberof UserEntity
5129
+ * @type {Date}
5130
+ * @memberof GroupWithUsersDto
3958
5131
  */
3959
- alertOnOrderDelivery?: boolean;
5132
+ updatedAt?: Date;
5133
+ /**
5134
+ *
5135
+ * @type {string}
5136
+ * @memberof GroupWithUsersDto
5137
+ */
5138
+ id?: string;
5139
+ /**
5140
+ * Name of the user group
5141
+ * @type {string}
5142
+ * @memberof GroupWithUsersDto
5143
+ */
5144
+ name?: string;
5145
+ /**
5146
+ *
5147
+ * @type {string}
5148
+ * @memberof GroupWithUsersDto
5149
+ */
5150
+ description?: string;
5151
+ /**
5152
+ *
5153
+ * @type {string}
5154
+ * @memberof GroupWithUsersDto
5155
+ */
5156
+ storeId?: string;
5157
+ /**
5158
+ *
5159
+ * @type {number}
5160
+ * @memberof GroupWithUsersDto
5161
+ */
5162
+ percentageOfUsers?: number;
5163
+ /**
5164
+ *
5165
+ * @type {Array<UserEntity>}
5166
+ * @memberof GroupWithUsersDto
5167
+ */
5168
+ users: Array<UserEntity>;
5169
+ }
5170
+
5171
+ /**
5172
+ * Hey Pharamcist API
5173
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5174
+ *
5175
+ * OpenAPI spec version: 1.0
5176
+ *
5177
+ *
5178
+ * NOTE: This class is auto generated by the swagger code generator program.
5179
+ * https://github.com/swagger-api/swagger-codegen.git
5180
+ * Do not edit the class manually.
5181
+ */
5182
+ /**
5183
+ *
5184
+ * @export
5185
+ * @interface ImagesUploadBody
5186
+ */
5187
+ interface ImagesUploadBody {
5188
+ _id?: string;
5189
+ /**
5190
+ *
5191
+ * @type {Blob}
5192
+ * @memberof ImagesUploadBody
5193
+ */
5194
+ file?: Blob;
5195
+ }
5196
+
5197
+ /**
5198
+ * Hey Pharamcist API
5199
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5200
+ *
5201
+ * OpenAPI spec version: 1.0
5202
+ *
5203
+ *
5204
+ * NOTE: This class is auto generated by the swagger code generator program.
5205
+ * https://github.com/swagger-api/swagger-codegen.git
5206
+ * Do not edit the class manually.
5207
+ */
5208
+ /**
5209
+ *
5210
+ * @export
5211
+ * @interface ProductSummary
5212
+ */
5213
+ interface ProductSummary {
5214
+ _id?: string;
5215
+ /**
5216
+ *
5217
+ * @type {number}
5218
+ * @memberof ProductSummary
5219
+ */
5220
+ minPrice: number;
5221
+ /**
5222
+ *
5223
+ * @type {number}
5224
+ * @memberof ProductSummary
5225
+ */
5226
+ maxPrice: number;
5227
+ /**
5228
+ *
5229
+ * @type {number}
5230
+ * @memberof ProductSummary
5231
+ */
5232
+ totalInventory: number;
3960
5233
  /**
3961
5234
  *
3962
5235
  * @type {boolean}
3963
- * @memberof UserEntity
5236
+ * @memberof ProductSummary
3964
5237
  */
3965
- alertOnNewReview?: boolean;
5238
+ hasDiscount: boolean;
5239
+ /**
5240
+ *
5241
+ * @type {number}
5242
+ * @memberof ProductSummary
5243
+ */
5244
+ variantCount: number;
5245
+ /**
5246
+ *
5247
+ * @type {number}
5248
+ * @memberof ProductSummary
5249
+ */
5250
+ totalSold: number;
5251
+ /**
5252
+ *
5253
+ * @type {number}
5254
+ * @memberof ProductSummary
5255
+ */
5256
+ averageRating: number;
5257
+ /**
5258
+ *
5259
+ * @type {number}
5260
+ * @memberof ProductSummary
5261
+ */
5262
+ reviewCount: number;
5263
+ }
5264
+
5265
+ /**
5266
+ * Hey Pharamcist API
5267
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5268
+ *
5269
+ * OpenAPI spec version: 1.0
5270
+ *
5271
+ *
5272
+ * NOTE: This class is auto generated by the swagger code generator program.
5273
+ * https://github.com/swagger-api/swagger-codegen.git
5274
+ * Do not edit the class manually.
5275
+ */
5276
+
5277
+ /**
5278
+ *
5279
+ * @export
5280
+ * @interface Product
5281
+ */
5282
+ interface Product {
5283
+ _id?: string;
5284
+ /**
5285
+ *
5286
+ * @type {Date}
5287
+ * @memberof Product
5288
+ */
5289
+ createdAt: Date;
5290
+ /**
5291
+ *
5292
+ * @type {Date}
5293
+ * @memberof Product
5294
+ */
5295
+ updatedAt: Date;
5296
+ /**
5297
+ *
5298
+ * @type {string}
5299
+ * @memberof Product
5300
+ */
5301
+ id: string;
5302
+ /**
5303
+ *
5304
+ * @type {string}
5305
+ * @memberof Product
5306
+ */
5307
+ storeId: string;
5308
+ /**
5309
+ *
5310
+ * @type {string}
5311
+ * @memberof Product
5312
+ */
5313
+ name: string;
5314
+ /**
5315
+ *
5316
+ * @type {string}
5317
+ * @memberof Product
5318
+ */
5319
+ description: string;
5320
+ /**
5321
+ *
5322
+ * @type {string}
5323
+ * @memberof Product
5324
+ */
5325
+ brand: string;
5326
+ /**
5327
+ *
5328
+ * @type {string}
5329
+ * @memberof Product
5330
+ */
5331
+ upc: string;
5332
+ /**
5333
+ *
5334
+ * @type {Array<SingleProductMedia>}
5335
+ * @memberof Product
5336
+ */
5337
+ media: Array<SingleProductMedia>;
5338
+ /**
5339
+ *
5340
+ * @type {Array<string>}
5341
+ * @memberof Product
5342
+ */
5343
+ tags: Array<string>;
3966
5344
  /**
3967
5345
  *
3968
5346
  * @type {boolean}
3969
- * @memberof UserEntity
5347
+ * @memberof Product
3970
5348
  */
3971
- isActive?: boolean;
5349
+ isActive: boolean;
3972
5350
  /**
3973
5351
  *
3974
5352
  * @type {boolean}
3975
- * @memberof UserEntity
5353
+ * @memberof Product
3976
5354
  */
3977
- isBlocked?: boolean;
5355
+ showStock: boolean;
3978
5356
  /**
3979
5357
  *
3980
5358
  * @type {boolean}
3981
- * @memberof UserEntity
5359
+ * @memberof Product
3982
5360
  */
3983
- isTaxExempted?: boolean;
5361
+ homeScreenFeatured: boolean;
3984
5362
  /**
3985
- * ISO 3166-1 alpha-2 country code ... examples -> https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
5363
+ *
3986
5364
  * @type {string}
3987
- * @memberof UserEntity
5365
+ * @memberof Product
3988
5366
  */
3989
- country?: string;
5367
+ sku: string;
3990
5368
  /**
3991
5369
  *
3992
- * @type {number}
3993
- * @memberof UserEntity
5370
+ * @type {Array<string>}
5371
+ * @memberof Product
3994
5372
  */
3995
- availableCreditBalance?: number;
5373
+ categoryIds: Array<string>;
3996
5374
  /**
3997
5375
  *
3998
- * @type {number}
3999
- * @memberof UserEntity
5376
+ * @type {Array<string>}
5377
+ * @memberof Product
4000
5378
  */
4001
- creditLimit?: number;
5379
+ subCategoryIds: Array<string>;
4002
5380
  /**
4003
5381
  *
4004
- * @type {number}
4005
- * @memberof UserEntity
5382
+ * @type {Array<ProductVariant>}
5383
+ * @memberof Product
4006
5384
  */
4007
- creditUsed?: number;
5385
+ variants: Array<ProductVariant>;
4008
5386
  /**
4009
5387
  *
4010
- * @type {boolean}
4011
- * @memberof UserEntity
5388
+ * @type {ProductSummary}
5389
+ * @memberof Product
4012
5390
  */
4013
- isAllowedtToUseCredit?: boolean;
5391
+ summary: ProductSummary;
4014
5392
  /**
4015
5393
  *
4016
- * @type {number}
4017
- * @memberof UserEntity
5394
+ * @type {Array<string>}
5395
+ * @memberof Product
4018
5396
  */
4019
- ordersCount: number;
5397
+ frequentlyBoughtWith: Array<string>;
4020
5398
  /**
4021
5399
  *
4022
- * @type {number}
4023
- * @memberof UserEntity
5400
+ * @type {Date}
5401
+ * @memberof Product
4024
5402
  */
4025
- totalSpent: number;
4026
- }
4027
- /**
4028
- * @export
4029
- * @enum {string}
4030
- */
4031
- declare enum UserEntityRoleEnum {
4032
- SuperAdmin = "SuperAdmin",
4033
- Admin = "Admin",
4034
- User = "User"
4035
- }
4036
- /**
4037
- * @export
4038
- * @enum {string}
4039
- */
4040
- declare enum UserEntityCustomerTypeEnum {
4041
- B2B = "B2B",
4042
- Regular = "Regular"
5403
+ embeddingUpdatedAt: Date;
4043
5404
  }
4044
5405
 
4045
5406
  /**
@@ -4057,58 +5418,22 @@ declare enum UserEntityCustomerTypeEnum {
4057
5418
  /**
4058
5419
  *
4059
5420
  * @export
4060
- * @interface GroupWithUsersDto
5421
+ * @interface InlineResponse200
4061
5422
  */
4062
- interface GroupWithUsersDto {
5423
+ interface InlineResponse200 {
4063
5424
  _id?: string;
4064
5425
  /**
4065
5426
  *
4066
- * @type {Date}
4067
- * @memberof GroupWithUsersDto
4068
- */
4069
- createdAt?: Date;
4070
- /**
4071
- *
4072
- * @type {Date}
4073
- * @memberof GroupWithUsersDto
4074
- */
4075
- updatedAt?: Date;
4076
- /**
4077
- *
4078
- * @type {string}
4079
- * @memberof GroupWithUsersDto
4080
- */
4081
- id?: string;
4082
- /**
4083
- * Name of the user group
4084
- * @type {string}
4085
- * @memberof GroupWithUsersDto
4086
- */
4087
- name?: string;
4088
- /**
4089
- *
4090
- * @type {string}
4091
- * @memberof GroupWithUsersDto
4092
- */
4093
- description?: string;
4094
- /**
4095
- *
4096
- * @type {string}
4097
- * @memberof GroupWithUsersDto
4098
- */
4099
- storeId?: string;
4100
- /**
4101
- *
4102
- * @type {number}
4103
- * @memberof GroupWithUsersDto
5427
+ * @type {Array<Product>}
5428
+ * @memberof InlineResponse200
4104
5429
  */
4105
- percentageOfUsers?: number;
5430
+ products?: Array<Product>;
4106
5431
  /**
4107
- *
4108
- * @type {Array<UserEntity>}
4109
- * @memberof GroupWithUsersDto
5432
+ * Similarity scores (0-1)
5433
+ * @type {Array<number>}
5434
+ * @memberof InlineResponse200
4110
5435
  */
4111
- users: Array<UserEntity>;
5436
+ scores?: Array<number>;
4112
5437
  }
4113
5438
 
4114
5439
  /**
@@ -4125,16 +5450,28 @@ interface GroupWithUsersDto {
4125
5450
  /**
4126
5451
  *
4127
5452
  * @export
4128
- * @interface ImagesUploadBody
5453
+ * @interface InlineResponse2001
4129
5454
  */
4130
- interface ImagesUploadBody {
5455
+ interface InlineResponse2001 {
4131
5456
  _id?: string;
4132
5457
  /**
4133
5458
  *
4134
- * @type {Blob}
4135
- * @memberof ImagesUploadBody
5459
+ * @type {number}
5460
+ * @memberof InlineResponse2001
4136
5461
  */
4137
- file?: Blob;
5462
+ processed?: number;
5463
+ /**
5464
+ *
5465
+ * @type {number}
5466
+ * @memberof InlineResponse2001
5467
+ */
5468
+ failed?: number;
5469
+ /**
5470
+ *
5471
+ * @type {number}
5472
+ * @memberof InlineResponse2001
5473
+ */
5474
+ skipped?: number;
4138
5475
  }
4139
5476
 
4140
5477
  /**
@@ -4488,40 +5825,201 @@ interface NewClientEmailDto {
4488
5825
  services: Array<string>;
4489
5826
  /**
4490
5827
  *
4491
- * @type {Array<string>}
4492
- * @memberof NewClientEmailDto
5828
+ * @type {Array<string>}
5829
+ * @memberof NewClientEmailDto
5830
+ */
5831
+ features: Array<string>;
5832
+ /**
5833
+ *
5834
+ * @type {string}
5835
+ * @memberof NewClientEmailDto
5836
+ */
5837
+ otherPages: string;
5838
+ /**
5839
+ *
5840
+ * @type {string}
5841
+ * @memberof NewClientEmailDto
5842
+ */
5843
+ otherServices: string;
5844
+ /**
5845
+ *
5846
+ * @type {string}
5847
+ * @memberof NewClientEmailDto
5848
+ */
5849
+ otherFeatures: string;
5850
+ /**
5851
+ *
5852
+ * @type {string}
5853
+ * @memberof NewClientEmailDto
5854
+ */
5855
+ logoFile?: string;
5856
+ /**
5857
+ *
5858
+ * @type {string}
5859
+ * @memberof NewClientEmailDto
5860
+ */
5861
+ brandingFiles?: string;
5862
+ }
5863
+
5864
+ /**
5865
+ * Hey Pharamcist API
5866
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5867
+ *
5868
+ * OpenAPI spec version: 1.0
5869
+ *
5870
+ *
5871
+ * NOTE: This class is auto generated by the swagger code generator program.
5872
+ * https://github.com/swagger-api/swagger-codegen.git
5873
+ * Do not edit the class manually.
5874
+ */
5875
+ /**
5876
+ *
5877
+ * @export
5878
+ * @interface NotificationDto
5879
+ */
5880
+ interface NotificationDto {
5881
+ _id?: string;
5882
+ /**
5883
+ *
5884
+ * @type {string}
5885
+ * @memberof NotificationDto
5886
+ */
5887
+ id: string;
5888
+ /**
5889
+ *
5890
+ * @type {string}
5891
+ * @memberof NotificationDto
5892
+ */
5893
+ userId: string;
5894
+ /**
5895
+ *
5896
+ * @type {string}
5897
+ * @memberof NotificationDto
5898
+ */
5899
+ storeId: string;
5900
+ /**
5901
+ *
5902
+ * @type {string}
5903
+ * @memberof NotificationDto
5904
+ */
5905
+ type: NotificationDtoTypeEnum;
5906
+ /**
5907
+ *
5908
+ * @type {string}
5909
+ * @memberof NotificationDto
5910
+ */
5911
+ title: string;
5912
+ /**
5913
+ *
5914
+ * @type {string}
5915
+ * @memberof NotificationDto
5916
+ */
5917
+ body: string;
5918
+ /**
5919
+ *
5920
+ * @type {any}
5921
+ * @memberof NotificationDto
5922
+ */
5923
+ data: any;
5924
+ /**
5925
+ *
5926
+ * @type {boolean}
5927
+ * @memberof NotificationDto
5928
+ */
5929
+ isRead: boolean;
5930
+ /**
5931
+ *
5932
+ * @type {Date}
5933
+ * @memberof NotificationDto
5934
+ */
5935
+ createdAt: Date;
5936
+ /**
5937
+ *
5938
+ * @type {Date}
5939
+ * @memberof NotificationDto
5940
+ */
5941
+ updatedAt: Date;
5942
+ }
5943
+ /**
5944
+ * @export
5945
+ * @enum {string}
5946
+ */
5947
+ declare enum NotificationDtoTypeEnum {
5948
+ ORDERCONFIRMATION = "ORDER_CONFIRMATION",
5949
+ PAYMENTFAILED = "PAYMENT_FAILED",
5950
+ ORDERSHIPPED = "ORDER_SHIPPED",
5951
+ ORDERDELIVERED = "ORDER_DELIVERED",
5952
+ REFUNDPROCESSED = "REFUND_PROCESSED",
5953
+ REVIEWREPLY = "REVIEW_REPLY",
5954
+ ABANDONEDCARTREMINDER = "ABANDONED_CART_REMINDER",
5955
+ PRICEDROPALERT = "PRICE_DROP_ALERT",
5956
+ BACKINSTOCK = "BACK_IN_STOCK",
5957
+ PASSWORDRESET = "PASSWORD_RESET",
5958
+ NEWDEVICELOGIN = "NEW_DEVICE_LOGIN",
5959
+ TWOFACODE = "TWO_FA_CODE",
5960
+ NEWORDER = "NEW_ORDER",
5961
+ LOWSTOCKWARNING = "LOW_STOCK_WARNING",
5962
+ NEWRETURNREQUEST = "NEW_RETURN_REQUEST",
5963
+ NEWUSERREGISTERED = "NEW_USER_REGISTERED",
5964
+ HIGHVALUEORDERALERT = "HIGH_VALUE_ORDER_ALERT",
5965
+ PAYOUTFAILED = "PAYOUT_FAILED"
5966
+ }
5967
+
5968
+ /**
5969
+ * Hey Pharamcist API
5970
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5971
+ *
5972
+ * OpenAPI spec version: 1.0
5973
+ *
5974
+ *
5975
+ * NOTE: This class is auto generated by the swagger code generator program.
5976
+ * https://github.com/swagger-api/swagger-codegen.git
5977
+ * Do not edit the class manually.
5978
+ */
5979
+
5980
+ /**
5981
+ *
5982
+ * @export
5983
+ * @interface NotificationsPaginatedResponseDto
5984
+ */
5985
+ interface NotificationsPaginatedResponseDto {
5986
+ _id?: string;
5987
+ /**
5988
+ *
5989
+ * @type {Array<NotificationDto>}
5990
+ * @memberof NotificationsPaginatedResponseDto
4493
5991
  */
4494
- features: Array<string>;
5992
+ data: Array<NotificationDto>;
4495
5993
  /**
4496
5994
  *
4497
- * @type {string}
4498
- * @memberof NewClientEmailDto
5995
+ * @type {number}
5996
+ * @memberof NotificationsPaginatedResponseDto
4499
5997
  */
4500
- otherPages: string;
5998
+ total: number;
4501
5999
  /**
4502
6000
  *
4503
- * @type {string}
4504
- * @memberof NewClientEmailDto
6001
+ * @type {number}
6002
+ * @memberof NotificationsPaginatedResponseDto
4505
6003
  */
4506
- otherServices: string;
6004
+ page: number;
4507
6005
  /**
4508
6006
  *
4509
- * @type {string}
4510
- * @memberof NewClientEmailDto
6007
+ * @type {number}
6008
+ * @memberof NotificationsPaginatedResponseDto
4511
6009
  */
4512
- otherFeatures: string;
6010
+ limit: number;
4513
6011
  /**
4514
6012
  *
4515
- * @type {string}
4516
- * @memberof NewClientEmailDto
6013
+ * @type {number}
6014
+ * @memberof NotificationsPaginatedResponseDto
4517
6015
  */
4518
- logoFile?: string;
6016
+ totalPages: number;
4519
6017
  /**
4520
6018
  *
4521
- * @type {string}
4522
- * @memberof NewClientEmailDto
6019
+ * @type {number}
6020
+ * @memberof NotificationsPaginatedResponseDto
4523
6021
  */
4524
- brandingFiles?: string;
6022
+ unreadCount: number;
4525
6023
  }
4526
6024
 
4527
6025
  /**
@@ -5576,272 +7074,69 @@ interface OrderPaginatedResponse {
5576
7074
  * @type {number}
5577
7075
  * @memberof OrderPaginatedResponse
5578
7076
  */
5579
- limit: number;
5580
- }
5581
-
5582
- /**
5583
- * Hey Pharamcist API
5584
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5585
- *
5586
- * OpenAPI spec version: 1.0
5587
- *
5588
- *
5589
- * NOTE: This class is auto generated by the swagger code generator program.
5590
- * https://github.com/swagger-api/swagger-codegen.git
5591
- * Do not edit the class manually.
5592
- */
5593
- /**
5594
- *
5595
- * @export
5596
- * @interface OrdersInsightsDto
5597
- */
5598
- interface OrdersInsightsDto {
5599
- _id?: string;
5600
- /**
5601
- *
5602
- * @type {number}
5603
- * @memberof OrdersInsightsDto
5604
- */
5605
- totalOrders: number;
5606
- /**
5607
- *
5608
- * @type {number}
5609
- * @memberof OrdersInsightsDto
5610
- */
5611
- totalPendingOrders: number;
5612
- /**
5613
- *
5614
- * @type {number}
5615
- * @memberof OrdersInsightsDto
5616
- */
5617
- totalProcessingOrders: number;
5618
- /**
5619
- *
5620
- * @type {number}
5621
- * @memberof OrdersInsightsDto
5622
- */
5623
- totalCompletedOrders: number;
5624
- /**
5625
- *
5626
- * @type {number}
5627
- * @memberof OrdersInsightsDto
5628
- */
5629
- totalCancelledOrders: number;
5630
- /**
5631
- *
5632
- * @type {number}
5633
- * @memberof OrdersInsightsDto
5634
- */
5635
- totalReadyForPickUpOrders: number;
5636
- /**
5637
- *
5638
- * @type {number}
5639
- * @memberof OrdersInsightsDto
5640
- */
5641
- totalOutForDeliveryOrders: number;
5642
- }
5643
-
5644
- /**
5645
- * Hey Pharamcist API
5646
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5647
- *
5648
- * OpenAPI spec version: 1.0
5649
- *
5650
- *
5651
- * NOTE: This class is auto generated by the swagger code generator program.
5652
- * https://github.com/swagger-api/swagger-codegen.git
5653
- * Do not edit the class manually.
5654
- */
5655
- /**
5656
- *
5657
- * @export
5658
- * @interface ProductSummary
5659
- */
5660
- interface ProductSummary {
5661
- _id?: string;
5662
- /**
5663
- *
5664
- * @type {number}
5665
- * @memberof ProductSummary
5666
- */
5667
- minPrice: number;
5668
- /**
5669
- *
5670
- * @type {number}
5671
- * @memberof ProductSummary
5672
- */
5673
- maxPrice: number;
5674
- /**
5675
- *
5676
- * @type {number}
5677
- * @memberof ProductSummary
5678
- */
5679
- totalInventory: number;
5680
- /**
5681
- *
5682
- * @type {boolean}
5683
- * @memberof ProductSummary
5684
- */
5685
- hasDiscount: boolean;
5686
- /**
5687
- *
5688
- * @type {number}
5689
- * @memberof ProductSummary
5690
- */
5691
- variantCount: number;
5692
- /**
5693
- *
5694
- * @type {number}
5695
- * @memberof ProductSummary
5696
- */
5697
- totalSold: number;
5698
- /**
5699
- *
5700
- * @type {number}
5701
- * @memberof ProductSummary
5702
- */
5703
- averageRating: number;
5704
- /**
5705
- *
5706
- * @type {number}
5707
- * @memberof ProductSummary
5708
- */
5709
- reviewCount: number;
5710
- }
5711
-
5712
- /**
5713
- * Hey Pharamcist API
5714
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5715
- *
5716
- * OpenAPI spec version: 1.0
5717
- *
5718
- *
5719
- * NOTE: This class is auto generated by the swagger code generator program.
5720
- * https://github.com/swagger-api/swagger-codegen.git
5721
- * Do not edit the class manually.
5722
- */
5723
-
5724
- /**
5725
- *
5726
- * @export
5727
- * @interface Product
5728
- */
5729
- interface Product {
5730
- _id?: string;
5731
- /**
5732
- *
5733
- * @type {Date}
5734
- * @memberof Product
5735
- */
5736
- createdAt: Date;
5737
- /**
5738
- *
5739
- * @type {Date}
5740
- * @memberof Product
5741
- */
5742
- updatedAt: Date;
5743
- /**
5744
- *
5745
- * @type {string}
5746
- * @memberof Product
5747
- */
5748
- id: string;
5749
- /**
5750
- *
5751
- * @type {string}
5752
- * @memberof Product
5753
- */
5754
- storeId: string;
5755
- /**
5756
- *
5757
- * @type {string}
5758
- * @memberof Product
5759
- */
5760
- name: string;
5761
- /**
5762
- *
5763
- * @type {string}
5764
- * @memberof Product
5765
- */
5766
- description: string;
5767
- /**
5768
- *
5769
- * @type {string}
5770
- * @memberof Product
5771
- */
5772
- brand: string;
5773
- /**
5774
- *
5775
- * @type {string}
5776
- * @memberof Product
5777
- */
5778
- upc: string;
5779
- /**
5780
- *
5781
- * @type {Array<SingleProductMedia>}
5782
- * @memberof Product
5783
- */
5784
- media: Array<SingleProductMedia>;
5785
- /**
5786
- *
5787
- * @type {Array<string>}
5788
- * @memberof Product
5789
- */
5790
- tags: Array<string>;
5791
- /**
5792
- *
5793
- * @type {boolean}
5794
- * @memberof Product
5795
- */
5796
- isActive: boolean;
5797
- /**
5798
- *
5799
- * @type {boolean}
5800
- * @memberof Product
5801
- */
5802
- showStock: boolean;
7077
+ limit: number;
7078
+ }
7079
+
7080
+ /**
7081
+ * Hey Pharamcist API
7082
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
7083
+ *
7084
+ * OpenAPI spec version: 1.0
7085
+ *
7086
+ *
7087
+ * NOTE: This class is auto generated by the swagger code generator program.
7088
+ * https://github.com/swagger-api/swagger-codegen.git
7089
+ * Do not edit the class manually.
7090
+ */
7091
+ /**
7092
+ *
7093
+ * @export
7094
+ * @interface OrdersInsightsDto
7095
+ */
7096
+ interface OrdersInsightsDto {
7097
+ _id?: string;
5803
7098
  /**
5804
7099
  *
5805
- * @type {boolean}
5806
- * @memberof Product
7100
+ * @type {number}
7101
+ * @memberof OrdersInsightsDto
5807
7102
  */
5808
- homeScreenFeatured: boolean;
7103
+ totalOrders: number;
5809
7104
  /**
5810
7105
  *
5811
- * @type {string}
5812
- * @memberof Product
7106
+ * @type {number}
7107
+ * @memberof OrdersInsightsDto
5813
7108
  */
5814
- sku: string;
7109
+ totalPendingOrders: number;
5815
7110
  /**
5816
7111
  *
5817
- * @type {Array<string>}
5818
- * @memberof Product
7112
+ * @type {number}
7113
+ * @memberof OrdersInsightsDto
5819
7114
  */
5820
- categoryIds: Array<string>;
7115
+ totalProcessingOrders: number;
5821
7116
  /**
5822
7117
  *
5823
- * @type {Array<string>}
5824
- * @memberof Product
7118
+ * @type {number}
7119
+ * @memberof OrdersInsightsDto
5825
7120
  */
5826
- subCategoryIds: Array<string>;
7121
+ totalCompletedOrders: number;
5827
7122
  /**
5828
7123
  *
5829
- * @type {Array<ProductVariant>}
5830
- * @memberof Product
7124
+ * @type {number}
7125
+ * @memberof OrdersInsightsDto
5831
7126
  */
5832
- variants: Array<ProductVariant>;
7127
+ totalCancelledOrders: number;
5833
7128
  /**
5834
7129
  *
5835
- * @type {ProductSummary}
5836
- * @memberof Product
7130
+ * @type {number}
7131
+ * @memberof OrdersInsightsDto
5837
7132
  */
5838
- summary: ProductSummary;
7133
+ totalReadyForPickUpOrders: number;
5839
7134
  /**
5840
7135
  *
5841
- * @type {Array<string>}
5842
- * @memberof Product
7136
+ * @type {number}
7137
+ * @memberof OrdersInsightsDto
5843
7138
  */
5844
- frequentlyBoughtWith: Array<string>;
7139
+ totalOutForDeliveryOrders: number;
5845
7140
  }
5846
7141
 
5847
7142
  /**
@@ -6014,6 +7309,50 @@ interface PaymentsPaginatedResponse {
6014
7309
  limit: number;
6015
7310
  }
6016
7311
 
7312
+ /**
7313
+ * Hey Pharamcist API
7314
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
7315
+ *
7316
+ * OpenAPI spec version: 1.0
7317
+ *
7318
+ *
7319
+ * NOTE: This class is auto generated by the swagger code generator program.
7320
+ * https://github.com/swagger-api/swagger-codegen.git
7321
+ * Do not edit the class manually.
7322
+ */
7323
+ /**
7324
+ *
7325
+ * @export
7326
+ * @interface PayoutHistoryItemDto
7327
+ */
7328
+ interface PayoutHistoryItemDto {
7329
+ _id?: string;
7330
+ /**
7331
+ * Amount of the payout
7332
+ * @type {number}
7333
+ * @memberof PayoutHistoryItemDto
7334
+ */
7335
+ amount: number;
7336
+ /**
7337
+ * Status of the payout (paid, pending, in_transit, failed)
7338
+ * @type {string}
7339
+ * @memberof PayoutHistoryItemDto
7340
+ */
7341
+ status: string;
7342
+ /**
7343
+ * Date the payout arrived or is expected to arrive
7344
+ * @type {Date}
7345
+ * @memberof PayoutHistoryItemDto
7346
+ */
7347
+ arrivalDate: Date;
7348
+ /**
7349
+ * Last 4 digits of the destination bank account
7350
+ * @type {string}
7351
+ * @memberof PayoutHistoryItemDto
7352
+ */
7353
+ destinationBank: string;
7354
+ }
7355
+
6017
7356
  /**
6018
7357
  * Hey Pharamcist API
6019
7358
  * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
@@ -6339,6 +7678,32 @@ interface ProductLightDto {
6339
7678
  variants: Array<VariantLightDto>;
6340
7679
  }
6341
7680
 
7681
+ /**
7682
+ * Hey Pharamcist API
7683
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
7684
+ *
7685
+ * OpenAPI spec version: 1.0
7686
+ *
7687
+ *
7688
+ * NOTE: This class is auto generated by the swagger code generator program.
7689
+ * https://github.com/swagger-api/swagger-codegen.git
7690
+ * Do not edit the class manually.
7691
+ */
7692
+ /**
7693
+ *
7694
+ * @export
7695
+ * @interface ProductsAidraftBody
7696
+ */
7697
+ interface ProductsAidraftBody {
7698
+ _id?: string;
7699
+ /**
7700
+ *
7701
+ * @type {string}
7702
+ * @memberof ProductsAidraftBody
7703
+ */
7704
+ query?: string;
7705
+ }
7706
+
6342
7707
  /**
6343
7708
  * Hey Pharamcist API
6344
7709
  * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
@@ -6389,6 +7754,32 @@ interface ProductsInsightsDto {
6389
7754
  totalInventory: number;
6390
7755
  }
6391
7756
 
7757
+ /**
7758
+ * Hey Pharamcist API
7759
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
7760
+ *
7761
+ * OpenAPI spec version: 1.0
7762
+ *
7763
+ *
7764
+ * NOTE: This class is auto generated by the swagger code generator program.
7765
+ * https://github.com/swagger-api/swagger-codegen.git
7766
+ * Do not edit the class manually.
7767
+ */
7768
+ /**
7769
+ *
7770
+ * @export
7771
+ * @interface ProductsProcessimageBody
7772
+ */
7773
+ interface ProductsProcessimageBody {
7774
+ _id?: string;
7775
+ /**
7776
+ *
7777
+ * @type {Blob}
7778
+ * @memberof ProductsProcessimageBody
7779
+ */
7780
+ image?: Blob;
7781
+ }
7782
+
6392
7783
  /**
6393
7784
  * Hey Pharamcist API
6394
7785
  * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
@@ -8274,6 +9665,18 @@ interface Store {
8274
9665
  * @memberof Store
8275
9666
  */
8276
9667
  stripeWebhookSecret: string;
9668
+ /**
9669
+ *
9670
+ * @type {string}
9671
+ * @memberof Store
9672
+ */
9673
+ stripeAccountId: string;
9674
+ /**
9675
+ *
9676
+ * @type {boolean}
9677
+ * @memberof Store
9678
+ */
9679
+ stripeOnboardingCompleted: boolean;
8277
9680
  /**
8278
9681
  *
8279
9682
  * @type {string}
@@ -8335,26 +9738,31 @@ interface Store {
8335
9738
  * https://github.com/swagger-api/swagger-codegen.git
8336
9739
  * Do not edit the class manually.
8337
9740
  */
8338
-
8339
9741
  /**
8340
9742
  *
8341
9743
  * @export
8342
- * @interface StoreApiKeysResponseDto
9744
+ * @interface StoreBalanceDto
8343
9745
  */
8344
- interface StoreApiKeysResponseDto {
9746
+ interface StoreBalanceDto {
8345
9747
  _id?: string;
8346
9748
  /**
8347
- *
8348
- * @type {ApiKeyInfoDto}
8349
- * @memberof StoreApiKeysResponseDto
9749
+ * Available balance ready to be paid out
9750
+ * @type {number}
9751
+ * @memberof StoreBalanceDto
8350
9752
  */
8351
- stripe: ApiKeyInfoDto;
9753
+ availableAmount: number;
8352
9754
  /**
8353
- *
8354
- * @type {ApiKeyInfoDto}
8355
- * @memberof StoreApiKeysResponseDto
9755
+ * Balance currently pending
9756
+ * @type {number}
9757
+ * @memberof StoreBalanceDto
8356
9758
  */
8357
- shippo: ApiKeyInfoDto;
9759
+ pendingAmount: number;
9760
+ /**
9761
+ * Currency code (e.g. usd)
9762
+ * @type {string}
9763
+ * @memberof StoreBalanceDto
9764
+ */
9765
+ currency: string;
8358
9766
  }
8359
9767
 
8360
9768
  /**
@@ -8498,6 +9906,18 @@ interface StoreEntity {
8498
9906
  * @memberof StoreEntity
8499
9907
  */
8500
9908
  shippoAccountId?: string;
9909
+ /**
9910
+ *
9911
+ * @type {string}
9912
+ * @memberof StoreEntity
9913
+ */
9914
+ stripeAccountId?: string;
9915
+ /**
9916
+ *
9917
+ * @type {boolean}
9918
+ * @memberof StoreEntity
9919
+ */
9920
+ stripeOnboardingCompleted?: boolean;
8501
9921
  /**
8502
9922
  *
8503
9923
  * @type {string}
@@ -8548,6 +9968,39 @@ interface StoreEntity {
8548
9968
  settings?: CreateStoreDtoSettings;
8549
9969
  }
8550
9970
 
9971
+ /**
9972
+ * Hey Pharamcist API
9973
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
9974
+ *
9975
+ * OpenAPI spec version: 1.0
9976
+ *
9977
+ *
9978
+ * NOTE: This class is auto generated by the swagger code generator program.
9979
+ * https://github.com/swagger-api/swagger-codegen.git
9980
+ * Do not edit the class manually.
9981
+ */
9982
+
9983
+ /**
9984
+ *
9985
+ * @export
9986
+ * @interface StoreFinanceOverviewDto
9987
+ */
9988
+ interface StoreFinanceOverviewDto {
9989
+ _id?: string;
9990
+ /**
9991
+ *
9992
+ * @type {StoreBalanceDto}
9993
+ * @memberof StoreFinanceOverviewDto
9994
+ */
9995
+ balance: StoreBalanceDto;
9996
+ /**
9997
+ *
9998
+ * @type {Array<PayoutHistoryItemDto>}
9999
+ * @memberof StoreFinanceOverviewDto
10000
+ */
10001
+ payoutHistory: Array<PayoutHistoryItemDto>;
10002
+ }
10003
+
8551
10004
  /**
8552
10005
  * Hey Pharamcist API
8553
10006
  * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
@@ -8964,6 +10417,32 @@ interface TransferePatientsRequestDto {
8964
10417
  adminNotes: string;
8965
10418
  }
8966
10419
 
10420
+ /**
10421
+ * Hey Pharamcist API
10422
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
10423
+ *
10424
+ * OpenAPI spec version: 1.0
10425
+ *
10426
+ *
10427
+ * NOTE: This class is auto generated by the swagger code generator program.
10428
+ * https://github.com/swagger-api/swagger-codegen.git
10429
+ * Do not edit the class manually.
10430
+ */
10431
+ /**
10432
+ *
10433
+ * @export
10434
+ * @interface UnreadCountDto
10435
+ */
10436
+ interface UnreadCountDto {
10437
+ _id?: string;
10438
+ /**
10439
+ * Number of unread notifications
10440
+ * @type {number}
10441
+ * @memberof UnreadCountDto
10442
+ */
10443
+ unreadCount: number;
10444
+ }
10445
+
8967
10446
  /**
8968
10447
  * Hey Pharamcist API
8969
10448
  * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
@@ -9083,44 +10562,6 @@ declare enum UpdateAddressDtoAddressTypeEnum {
9083
10562
  Both = "Both"
9084
10563
  }
9085
10564
 
9086
- /**
9087
- * Hey Pharamcist API
9088
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
9089
- *
9090
- * OpenAPI spec version: 1.0
9091
- *
9092
- *
9093
- * NOTE: This class is auto generated by the swagger code generator program.
9094
- * https://github.com/swagger-api/swagger-codegen.git
9095
- * Do not edit the class manually.
9096
- */
9097
- /**
9098
- *
9099
- * @export
9100
- * @interface UpdateApiKeysDto
9101
- */
9102
- interface UpdateApiKeysDto {
9103
- _id?: string;
9104
- /**
9105
- * Stripe API key
9106
- * @type {string}
9107
- * @memberof UpdateApiKeysDto
9108
- */
9109
- stripeApiKey?: string;
9110
- /**
9111
- * Stripe Webhook Secret
9112
- * @type {string}
9113
- * @memberof UpdateApiKeysDto
9114
- */
9115
- stripeWebhookSecret?: string;
9116
- /**
9117
- * Shippo API key
9118
- * @type {string}
9119
- * @memberof UpdateApiKeysDto
9120
- */
9121
- shippoApiKey?: string;
9122
- }
9123
-
9124
10565
  /**
9125
10566
  * Hey Pharamcist API
9126
10567
  * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
@@ -9863,6 +11304,18 @@ interface UpdateStoreDto {
9863
11304
  * @memberof UpdateStoreDto
9864
11305
  */
9865
11306
  stripeWebhookSecret?: string;
11307
+ /**
11308
+ *
11309
+ * @type {string}
11310
+ * @memberof UpdateStoreDto
11311
+ */
11312
+ stripeAccountId?: string;
11313
+ /**
11314
+ *
11315
+ * @type {boolean}
11316
+ * @memberof UpdateStoreDto
11317
+ */
11318
+ stripeOnboardingCompleted?: boolean;
9866
11319
  /**
9867
11320
  *
9868
11321
  * @type {string}
@@ -11253,4 +12706,4 @@ declare function generateColorShades(baseColor: string): {
11253
12706
  950: string;
11254
12707
  };
11255
12708
 
11256
- export { AccountReviewsTab, type Address, AddressAddressTypeEnum, type AddressCreatedRequest, AddressCreatedRequestAddressTypeEnum, AddressesScreen, type AllowUserCreditDto, type ApiKeyInfoDto, ApiKeyInfoDtoKeyTypeEnum, type Appointment, AuthProvider, type AvailableDatesDto, type AvailableSuggestedDatesDto, Badge, type Blog, type BulkChannelToggleDto, BulkChannelToggleDtoCategoryEnum, type BulkMoveSubcategoriesDto, type BulkUnassignSubcategoriesDto, Button, type CartBodyDTO, type CartBodyPopulated, CartItem, type CartItemPopulated, CartProvider, type CartResponseDto, CartScreen, type CategoriesPaginatedResponseDTO, type Category, type CategoryFilters, type CategoryPopulated, type CategorySubCategoryPopulated, type CategorysHeadlinesResponseDTO, type ChangePasswordDto, ChangePasswordScreen, type ChangeUserEmailDto, type ChannelSettingsDto, CheckoutScreen, type CompletedOrderDto, type ContactUs, type CreateAddressDto, CreateAddressDtoAddressTypeEnum, type CreateBlogDto, type CreateCategoryDto, type CreateDiscountDto, CreateDiscountDtoStateEnum, CreateDiscountDtoTypeEnum, CreateDiscountDtoValueTypeEnum, type CreateEventDto, type CreateMessageDto, type CreateProductDto, type CreateReviewDto, type CreateShippoAccountDto, type CreateStoreAddressDto, CreateStoreAddressDtoAddressTypeEnum, type CreateStoreDto, type CreateStoreDtoSettings, type CreateSubCategoryDto, type CreateUserDto, CreateUserDtoCustomerTypeEnum, CreateUserDtoRoleEnum, type CreateUserGroupDto, type CreateVariantDto, CurrentOrdersScreen, type CustomProductDto, type DeleteFileDto, type DeleteManyFilesDto, type Discount, DiscountStateEnum, DiscountTypeEnum, DiscountValueTypeEnum, type DiscountsInsightsDto, type EcommerceConfig, EcommerceProvider, EditProfileScreen, type EmailInvoiceDto, EmptyState, type Event, type FileproccesorUploadBody, Footer, type ForgetPassword, ForgotPasswordScreen, type GenerateDaySlotsDto, type GenerateMonthSlotsDto, type GenerateWeekSlotsDto, type GroupWithNoUsersDto, type GroupWithUsersDto, Header, type ImagesUploadBody, Input, type LoginDto, LoginScreen, type ManualDiscountDto, ManualDiscountDtoValueTypeEnum, type ManualOrderDTO, ManualOrderDTOOrderStatusEnum, ManualOrderDTOPaymentMethodEnum, ManualOrderDTOPaymentStatusEnum, type ManualShippingDto, Modal, type MoveSubcategoryDto, NewAddressPage as NewAddressScreen, type NewClientEmailDto, NotificationBell, NotificationCard, NotificationCenterProvider, NotificationDrawer, NotificationSettingsScreen, type ObjectId, type Order, OrderCard, OrderCardSkeleton, OrderDetailScreen, OrderOrderTypeEnum, type OrderPaginatedResponse, OrderReviewsScreen, OrderStatus, type OrderTimeLineDTO, OrderTimeLineDTOTypeEnum, OrderTypeEnum, type OrdersInsightsDto, OrdersScreen, type PaginatedProductsDto, type Payment, PaymentPaymentMethodEnum, PaymentPaymentStatusEnum, type PaymentTimeLineDTO, PaymentTimeLineDTOTitleEnum, type PaymentsInsightsDto, type PaymentsPaginatedResponse, type PopulatedDiscount, PopulatedDiscountStateEnum, PopulatedDiscountTypeEnum, PopulatedDiscountValueTypeEnum, type PopulatedOrder, PopulatedOrderOrderTypeEnum, PopulatedOrderTypeEnum, type PreferedPickOrDeliveryTimeDto, type PreferenceUpdateItem, PreferenceUpdateItemTypeEnum, type PriceRange, type Product, ProductCard, ProductCardSkeleton, ProductDetailScreen, type ProductFilters, type ProductLightDto, ProductReviewsSection, type ProductSummary, type ProductVariant, ProductVariantInventoryStatusEnum, type ProductsInsightsDto, AccountPage as ProfileScreen, type RateDto, RatingDistribution, type RefillRequest, type RefillRequestDto, type RegisterOrLoginWithGmail, RegisterScreen, type ReorderCategoriesDto, type ReorderProductsDto, ReorderProductsDtoContainerTypeEnum, type ReorderProductsSuccessResponseDto, type ReorderSubcategoriesDto, type ReorderSuccessResponseDto, type ReserveAppointment, ResetPasswordScreen, type Review, ReviewCard, ReviewForm, ReviewPromptBanner, type ReviewStatusDto, type ReviewableOrderDto, type ReviewableProductDto, ReviewsList, type ScheduleTourEmailDto, SearchPage as SearchResultsScreen, type Shipment, type ShipmentDetailsDto, ShipmentDetailsDtoStatusEnum, type ShipmentStatusDto, type ShipmentWithOrder, type ShippingInfo, ShippingInfoStatusEnum, type ShippoAccountResponseDto, ShopScreen, type SingleProductMedia, SingleProductMediaTypeEnum, Skeleton, StarRating, type Store, type StoreApiKeysResponseDto, type StoreCapabilitiesDto, type StoreEntity, type SubCategory, type SubCategoryHeadlinesOnlyResponseDTO, type SuggestedSlot, type TAdminSessionData, type TUserSessionData, ThemeProvider, type TrackDto, type TrackingStatus, type TrackingStatusLocationBase, type TrackingStatusSubstatus, type TransferePatientRequest, type TransferePatientsRequestDto, type UpdateAddressDto, UpdateAddressDtoAddressTypeEnum, type UpdateApiKeysDto, type UpdateBlogDto, type UpdateCategoryDto, type UpdateDiscountDto, UpdateDiscountDtoStateEnum, UpdateDiscountDtoTypeEnum, UpdateDiscountDtoValueTypeEnum, type UpdateEventDto, type UpdateItemsOrderDto, type UpdateManualShipmentStatusDto, UpdateManualShipmentStatusDtoStatusEnum, type UpdateMessageDto, type UpdateNotificationSettingsDto, type UpdateProductDto, type UpdateRefillRequestDto, type UpdateReviewDto, type UpdateStoreDto, type UpdateSubCategoryDto, type UpdateTransferePatientsRequestDto, type UpdateUserDto, UpdateUserDtoCustomerTypeEnum, UpdateUserDtoRoleEnum, type UpdateUserGroupDto, type UpdateVariantDto, type UploadPdfBody, type UsedBy, type UserEntity, UserEntityCustomerTypeEnum, UserEntityRoleEnum, type UserGroup, type UserInsightsDto, type UserWithNoId, UserWithNoIdCustomerTypeEnum, UserWithNoIdRoleEnum, type UsersPaginatedResponse, type VariantIdInventoryBody, type VariantLightDto, type VerifyEmailDTO, type Wishlist, WishlistProvider, WishlistScreen, formatDate, formatPrice, generateColorShades, getApiConfiguration, getInitials, hexToRgb, initializeApiAdapter, truncate, useAddresses, useAuth, useBasePath, useCart, useCategories, useCreateReview, useCurrentOrders, useDeleteReview, useNotificationCenter, useOrder, useOrders, useProduct, useProductReviews, useProducts, useReviewStats, useReviewsByRating, useStoreCapabilities, useTheme, useUpdateReview, useUserReviews, useWishlist };
12709
+ export { AccountReviewsTab, type Address, AddressAddressTypeEnum, type AddressCreatedRequest, AddressCreatedRequestAddressTypeEnum, AddressesScreen, type AllowUserCreditDto, type AnalyticsPeriodDto, type Appointment, type AppointmentOverviewDto, AuthProvider, type AvailableDatesDto, type AvailableSuggestedDatesDto, Badge, type Blog, type BulkChannelToggleDto, BulkChannelToggleDtoCategoryEnum, type BulkMoveSubcategoriesDto, type BulkUnassignSubcategoriesDto, Button, type CartBodyDTO, type CartBodyPopulated, CartItem, type CartItemPopulated, CartProvider, type CartResponseDto, CartScreen, type CategoriesPaginatedResponseDTO, type Category, type CategoryFilters, type CategoryPopulated, type CategorySalesDto, type CategorySubCategoryPopulated, type CategorysHeadlinesResponseDTO, type ChangePasswordDto, ChangePasswordScreen, type ChangeUserEmailDto, type ChannelSettingsDto, CheckoutScreen, type CompletedOrderDto, type ContactUs, type CreateAddressDto, CreateAddressDtoAddressTypeEnum, type CreateBlogDto, type CreateCategoryDto, type CreateDiscountDto, CreateDiscountDtoStateEnum, CreateDiscountDtoTypeEnum, CreateDiscountDtoValueTypeEnum, type CreateEventDto, type CreateMessageDto, type CreateProductDto, type CreateReviewDto, type CreateShippoAccountDto, type CreateStoreAddressDto, CreateStoreAddressDtoAddressTypeEnum, type CreateStoreDto, type CreateStoreDtoSettings, type CreateSubCategoryDto, type CreateUserDto, CreateUserDtoCustomerTypeEnum, CreateUserDtoRoleEnum, type CreateUserGroupDto, type CreateVariantDto, CurrentOrdersScreen, type CustomProductDto, type CustomerOverviewDto, type CustomerSegmentDto, type DashboardOverviewDto, type DeleteFileDto, type DeleteManyFilesDto, type Discount, type DiscountOverviewDto, DiscountStateEnum, DiscountTypeEnum, DiscountValueTypeEnum, type DiscountsInsightsDto, type EcommerceConfig, EcommerceProvider, EditProfileScreen, type EmailInvoiceDto, EmptyState, type Event, type FileproccesorUploadBody, Footer, type ForgetPassword, ForgotPasswordScreen, type GenerateDaySlotsDto, type GenerateMonthSlotsDto, type GenerateWeekSlotsDto, type GroupWithNoUsersDto, type GroupWithUsersDto, Header, type ImagesUploadBody, type InlineResponse200, type InlineResponse2001, Input, type InventoryAlertDto, InventoryAlertDtoAlertTypeEnum, type LoginDto, LoginScreen, type ManualDiscountDto, ManualDiscountDtoValueTypeEnum, type ManualOrderDTO, ManualOrderDTOOrderStatusEnum, ManualOrderDTOPaymentMethodEnum, ManualOrderDTOPaymentStatusEnum, type ManualShippingDto, Modal, type MoveSubcategoryDto, NewAddressPage as NewAddressScreen, type NewClientEmailDto, NotificationBell, NotificationCard, NotificationCenterProvider, NotificationDrawer, type NotificationDto, NotificationDtoTypeEnum, NotificationSettingsScreen, type NotificationsPaginatedResponseDto, type ObjectId, type Order, OrderCard, OrderCardSkeleton, OrderDetailScreen, OrderOrderTypeEnum, type OrderOverviewDto, type OrderPaginatedResponse, OrderReviewsScreen, OrderStatus, type OrderStatusCountDto, type OrderTimeLineDTO, OrderTimeLineDTOTypeEnum, OrderTypeEnum, type OrdersInsightsDto, OrdersScreen, type PaginatedProductsDto, type Payment, PaymentPaymentMethodEnum, PaymentPaymentStatusEnum, type PaymentTimeLineDTO, PaymentTimeLineDTOTitleEnum, type PaymentsInsightsDto, type PaymentsPaginatedResponse, type PayoutHistoryItemDto, type PopularTimeSlotDto, type PopulatedDiscount, PopulatedDiscountStateEnum, PopulatedDiscountTypeEnum, PopulatedDiscountValueTypeEnum, type PopulatedOrder, PopulatedOrderOrderTypeEnum, PopulatedOrderTypeEnum, type PreferedPickOrDeliveryTimeDto, type PreferenceUpdateItem, PreferenceUpdateItemTypeEnum, type PriceRange, type Product, ProductCard, ProductCardSkeleton, ProductDetailScreen, type ProductFilters, type ProductLightDto, type ProductOverviewDto, ProductReviewsSection, type ProductSummary, type ProductVariant, ProductVariantInventoryStatusEnum, type ProductsAidraftBody, type ProductsInsightsDto, type ProductsProcessimageBody, AccountPage as ProfileScreen, type RateDto, RatingDistribution, type RatingDistributionDto, type RecentReviewDto, type RefillRequest, type RefillRequestDto, type RegisterOrLoginWithGmail, RegisterScreen, type ReorderCategoriesDto, type ReorderProductsDto, ReorderProductsDtoContainerTypeEnum, type ReorderProductsSuccessResponseDto, type ReorderSubcategoriesDto, type ReorderSuccessResponseDto, type ReserveAppointment, ResetPasswordScreen, type Review, ReviewCard, ReviewForm, type ReviewOverviewDto, ReviewPromptBanner, type ReviewStatusDto, type ReviewableOrderDto, type ReviewableProductDto, ReviewsList, type ScheduleTourEmailDto, SearchPage as SearchResultsScreen, type Shipment, type ShipmentDetailsDto, ShipmentDetailsDtoStatusEnum, type ShipmentStatusDto, type ShipmentWithOrder, type ShippingInfo, ShippingInfoStatusEnum, type ShippoAccountResponseDto, ShopScreen, type SingleProductMedia, SingleProductMediaTypeEnum, Skeleton, StarRating, type Store, type StoreBalanceDto, type StoreCapabilitiesDto, type StoreEntity, type StoreFinanceOverviewDto, type SubCategory, type SubCategoryHeadlinesOnlyResponseDTO, type SuggestedSlot, type TAdminSessionData, type TUserSessionData, ThemeProvider, type TimeSeriesPointDto, type TopCustomerDto, type TopDiscountDto, type TopProductDto, type TrackDto, type TrackingStatus, type TrackingStatusLocationBase, type TrackingStatusSubstatus, type TransferePatientRequest, type TransferePatientsRequestDto, type UnreadCountDto, type UpdateAddressDto, UpdateAddressDtoAddressTypeEnum, type UpdateBlogDto, type UpdateCategoryDto, type UpdateDiscountDto, UpdateDiscountDtoStateEnum, UpdateDiscountDtoTypeEnum, UpdateDiscountDtoValueTypeEnum, type UpdateEventDto, type UpdateItemsOrderDto, type UpdateManualShipmentStatusDto, UpdateManualShipmentStatusDtoStatusEnum, type UpdateMessageDto, type UpdateNotificationSettingsDto, type UpdateProductDto, type UpdateRefillRequestDto, type UpdateReviewDto, type UpdateStoreDto, type UpdateSubCategoryDto, type UpdateTransferePatientsRequestDto, type UpdateUserDto, UpdateUserDtoCustomerTypeEnum, UpdateUserDtoRoleEnum, type UpdateUserGroupDto, type UpdateVariantDto, type UploadPdfBody, type UsedBy, type UserEntity, UserEntityCustomerTypeEnum, UserEntityRoleEnum, type UserGroup, type UserInsightsDto, type UserWithNoId, UserWithNoIdCustomerTypeEnum, UserWithNoIdRoleEnum, type UsersPaginatedResponse, type VariantIdInventoryBody, type VariantLightDto, type VerifyEmailDTO, type Wishlist, WishlistProvider, WishlistScreen, formatDate, formatPrice, generateColorShades, getApiConfiguration, getInitials, hexToRgb, initializeApiAdapter, truncate, useAddresses, useAuth, useBasePath, useCart, useCategories, useCreateReview, useCurrentOrders, useDeleteReview, useNotificationCenter, useOrder, useOrders, useProduct, useProductReviews, useProducts, useReviewStats, useReviewsByRating, useStoreCapabilities, useTheme, useUpdateReview, useUserReviews, useWishlist };