@infisale-client/api 1.2.75 → 1.2.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api/api.d.ts CHANGED
@@ -566,6 +566,19 @@ export declare const FontSizeEnum: {
566
566
  readonly _6XL: "text-6xl";
567
567
  };
568
568
  export type FontSizeEnum = typeof FontSizeEnum[keyof typeof FontSizeEnum];
569
+ /**
570
+ *
571
+ * @export
572
+ * @interface GetMyProductReviewCount200Response
573
+ */
574
+ export interface GetMyProductReviewCount200Response {
575
+ /**
576
+ *
577
+ * @type {number}
578
+ * @memberof GetMyProductReviewCount200Response
579
+ */
580
+ 'count': number;
581
+ }
569
582
  /**
570
583
  *
571
584
  * @export
@@ -1076,16 +1089,16 @@ export type IBrandCollectionQueryParamsDateFieldEnum = typeof IBrandCollectionQu
1076
1089
  export interface IBrandPatchRequest {
1077
1090
  /**
1078
1091
  *
1079
- * @type {IImage}
1092
+ * @type {PartialRecordLanguageEnumIContentsValue}
1080
1093
  * @memberof IBrandPatchRequest
1081
1094
  */
1082
- 'thumbnail'?: IImage;
1095
+ 'contents'?: PartialRecordLanguageEnumIContentsValue;
1083
1096
  /**
1084
1097
  *
1085
- * @type {PartialRecordLanguageEnumIContentsValue}
1098
+ * @type {IImage}
1086
1099
  * @memberof IBrandPatchRequest
1087
1100
  */
1088
- 'contents'?: PartialRecordLanguageEnumIContentsValue;
1101
+ 'thumbnail'?: IImage;
1089
1102
  }
1090
1103
  /**
1091
1104
  *
@@ -1101,16 +1114,16 @@ export interface IBrandPostRequest {
1101
1114
  'company': string;
1102
1115
  /**
1103
1116
  *
1104
- * @type {IImage}
1117
+ * @type {PartialRecordLanguageEnumIContentsValue}
1105
1118
  * @memberof IBrandPostRequest
1106
1119
  */
1107
- 'thumbnail'?: IImage;
1120
+ 'contents': PartialRecordLanguageEnumIContentsValue;
1108
1121
  /**
1109
1122
  *
1110
- * @type {PartialRecordLanguageEnumIContentsValue}
1123
+ * @type {IImage}
1111
1124
  * @memberof IBrandPostRequest
1112
1125
  */
1113
- 'contents': PartialRecordLanguageEnumIContentsValue;
1126
+ 'thumbnail'?: IImage;
1114
1127
  }
1115
1128
  /**
1116
1129
  *
@@ -1385,10 +1398,10 @@ export interface ICategoryPatchRequest {
1385
1398
  'company'?: string;
1386
1399
  /**
1387
1400
  *
1388
- * @type {string}
1401
+ * @type {PartialRecordLanguageEnumIContentsValue}
1389
1402
  * @memberof ICategoryPatchRequest
1390
1403
  */
1391
- 'main'?: string;
1404
+ 'contents'?: PartialRecordLanguageEnumIContentsValue;
1392
1405
  /**
1393
1406
  *
1394
1407
  * @type {IImage}
@@ -1397,10 +1410,10 @@ export interface ICategoryPatchRequest {
1397
1410
  'thumbnail'?: IImage;
1398
1411
  /**
1399
1412
  *
1400
- * @type {PartialRecordLanguageEnumIContentsValue}
1413
+ * @type {string}
1401
1414
  * @memberof ICategoryPatchRequest
1402
1415
  */
1403
- 'contents'?: PartialRecordLanguageEnumIContentsValue;
1416
+ 'main'?: string;
1404
1417
  }
1405
1418
  /**
1406
1419
  *
@@ -1416,10 +1429,10 @@ export interface ICategoryPostRequest {
1416
1429
  'company': string;
1417
1430
  /**
1418
1431
  *
1419
- * @type {string}
1432
+ * @type {PartialRecordLanguageEnumIContentsValue}
1420
1433
  * @memberof ICategoryPostRequest
1421
1434
  */
1422
- 'main'?: string;
1435
+ 'contents': PartialRecordLanguageEnumIContentsValue;
1423
1436
  /**
1424
1437
  *
1425
1438
  * @type {IImage}
@@ -1428,10 +1441,10 @@ export interface ICategoryPostRequest {
1428
1441
  'thumbnail'?: IImage;
1429
1442
  /**
1430
1443
  *
1431
- * @type {PartialRecordLanguageEnumIContentsValue}
1444
+ * @type {string}
1432
1445
  * @memberof ICategoryPostRequest
1433
1446
  */
1434
- 'contents': PartialRecordLanguageEnumIContentsValue;
1447
+ 'main'?: string;
1435
1448
  /**
1436
1449
  *
1437
1450
  * @type {Array<ICategoryAttributesResponseAttributesInner>}
@@ -1477,10 +1490,10 @@ export interface ICategoryResponse {
1477
1490
  'updatedAt': string;
1478
1491
  /**
1479
1492
  *
1480
- * @type {string}
1493
+ * @type {PartialRecordLanguageEnumIContentsValue}
1481
1494
  * @memberof ICategoryResponse
1482
1495
  */
1483
- 'main'?: string;
1496
+ 'contents': PartialRecordLanguageEnumIContentsValue;
1484
1497
  /**
1485
1498
  *
1486
1499
  * @type {IImage}
@@ -1489,10 +1502,10 @@ export interface ICategoryResponse {
1489
1502
  'thumbnail'?: IImage;
1490
1503
  /**
1491
1504
  *
1492
- * @type {PartialRecordLanguageEnumIContentsValue}
1505
+ * @type {string}
1493
1506
  * @memberof ICategoryResponse
1494
1507
  */
1495
- 'contents': PartialRecordLanguageEnumIContentsValue;
1508
+ 'main'?: string;
1496
1509
  /**
1497
1510
  *
1498
1511
  * @type {Array<ICategoryResponseAttributesInner>}
@@ -1747,16 +1760,16 @@ export interface ICollectionPatchRequest {
1747
1760
  'template'?: ITemplateResponse;
1748
1761
  /**
1749
1762
  *
1750
- * @type {IImage}
1763
+ * @type {PartialRecordLanguageEnumIContentsValue}
1751
1764
  * @memberof ICollectionPatchRequest
1752
1765
  */
1753
- 'thumbnail'?: IImage;
1766
+ 'contents'?: PartialRecordLanguageEnumIContentsValue;
1754
1767
  /**
1755
1768
  *
1756
- * @type {PartialRecordLanguageEnumIContentsValue}
1769
+ * @type {IImage}
1757
1770
  * @memberof ICollectionPatchRequest
1758
1771
  */
1759
- 'contents'?: PartialRecordLanguageEnumIContentsValue;
1772
+ 'thumbnail'?: IImage;
1760
1773
  }
1761
1774
  /**
1762
1775
  *
@@ -1772,16 +1785,16 @@ export interface ICollectionPostRequest {
1772
1785
  'company': string;
1773
1786
  /**
1774
1787
  *
1775
- * @type {IImage}
1788
+ * @type {PartialRecordLanguageEnumIContentsValue}
1776
1789
  * @memberof ICollectionPostRequest
1777
1790
  */
1778
- 'thumbnail'?: IImage;
1791
+ 'contents': PartialRecordLanguageEnumIContentsValue;
1779
1792
  /**
1780
1793
  *
1781
- * @type {PartialRecordLanguageEnumIContentsValue}
1794
+ * @type {IImage}
1782
1795
  * @memberof ICollectionPostRequest
1783
1796
  */
1784
- 'contents': PartialRecordLanguageEnumIContentsValue;
1797
+ 'thumbnail'?: IImage;
1785
1798
  /**
1786
1799
  *
1787
1800
  * @type {ITemplateResponse}
@@ -2277,16 +2290,16 @@ export interface ICompanyAdminResponse {
2277
2290
  'updatedAt': string;
2278
2291
  /**
2279
2292
  *
2280
- * @type {PlanTypeEnum}
2293
+ * @type {CompanyTypeEnum}
2281
2294
  * @memberof ICompanyAdminResponse
2282
2295
  */
2283
- 'plan': PlanTypeEnum;
2296
+ 'type': CompanyTypeEnum;
2284
2297
  /**
2285
2298
  *
2286
- * @type {CompanyTypeEnum}
2299
+ * @type {PlanTypeEnum}
2287
2300
  * @memberof ICompanyAdminResponse
2288
2301
  */
2289
- 'type': CompanyTypeEnum;
2302
+ 'plan': PlanTypeEnum;
2290
2303
  /**
2291
2304
  *
2292
2305
  * @type {string}
@@ -2707,6 +2720,18 @@ export interface ICompanyPatchRequest {
2707
2720
  * @memberof ICompanyPatchRequest
2708
2721
  */
2709
2722
  'status'?: CompanyStatusEnum;
2723
+ /**
2724
+ *
2725
+ * @type {string}
2726
+ * @memberof ICompanyPatchRequest
2727
+ */
2728
+ 'theme'?: string;
2729
+ /**
2730
+ *
2731
+ * @type {CompanyTypeEnum}
2732
+ * @memberof ICompanyPatchRequest
2733
+ */
2734
+ 'type'?: CompanyTypeEnum;
2710
2735
  /**
2711
2736
  *
2712
2737
  * @type {ICompanyResponseFirebaseAdminCredentials}
@@ -2749,18 +2774,6 @@ export interface ICompanyPatchRequest {
2749
2774
  * @memberof ICompanyPatchRequest
2750
2775
  */
2751
2776
  'paymentGateways'?: Array<ICompanyPatchRequestPaymentGatewaysInner>;
2752
- /**
2753
- *
2754
- * @type {string}
2755
- * @memberof ICompanyPatchRequest
2756
- */
2757
- 'theme'?: string;
2758
- /**
2759
- *
2760
- * @type {CompanyTypeEnum}
2761
- * @memberof ICompanyPatchRequest
2762
- */
2763
- 'type'?: CompanyTypeEnum;
2764
2777
  /**
2765
2778
  *
2766
2779
  * @type {string}
@@ -3021,16 +3034,16 @@ export interface ICompanyResponse {
3021
3034
  'updatedAt': string;
3022
3035
  /**
3023
3036
  *
3024
- * @type {PlanTypeEnum}
3037
+ * @type {CompanyTypeEnum}
3025
3038
  * @memberof ICompanyResponse
3026
3039
  */
3027
- 'plan': PlanTypeEnum;
3040
+ 'type': CompanyTypeEnum;
3028
3041
  /**
3029
3042
  *
3030
- * @type {CompanyTypeEnum}
3043
+ * @type {PlanTypeEnum}
3031
3044
  * @memberof ICompanyResponse
3032
3045
  */
3033
- 'type': CompanyTypeEnum;
3046
+ 'plan': PlanTypeEnum;
3034
3047
  /**
3035
3048
  *
3036
3049
  * @type {string}
@@ -5291,16 +5304,16 @@ export interface IOrderResponse {
5291
5304
  'updatedAt': string;
5292
5305
  /**
5293
5306
  *
5294
- * @type {CurrencyEnum}
5307
+ * @type {string}
5295
5308
  * @memberof IOrderResponse
5296
5309
  */
5297
- 'currency': CurrencyEnum;
5310
+ 'user'?: string;
5298
5311
  /**
5299
5312
  *
5300
- * @type {string}
5313
+ * @type {CurrencyEnum}
5301
5314
  * @memberof IOrderResponse
5302
5315
  */
5303
- 'user'?: string;
5316
+ 'currency': CurrencyEnum;
5304
5317
  /**
5305
5318
  *
5306
5319
  * @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner>}
@@ -5755,16 +5768,16 @@ export interface IPageGetAllQueryParams {
5755
5768
  export interface IPagePatchRequest {
5756
5769
  /**
5757
5770
  *
5758
- * @type {PageTypeEnum}
5771
+ * @type {ITemplateResponse}
5759
5772
  * @memberof IPagePatchRequest
5760
5773
  */
5761
- 'type'?: PageTypeEnum;
5774
+ 'template'?: ITemplateResponse;
5762
5775
  /**
5763
5776
  *
5764
- * @type {ITemplateResponse}
5777
+ * @type {PartialRecordLanguageEnumIContentsValue}
5765
5778
  * @memberof IPagePatchRequest
5766
5779
  */
5767
- 'template'?: ITemplateResponse;
5780
+ 'contents'?: PartialRecordLanguageEnumIContentsValue;
5768
5781
  /**
5769
5782
  *
5770
5783
  * @type {IImage}
@@ -5773,10 +5786,10 @@ export interface IPagePatchRequest {
5773
5786
  'thumbnail'?: IImage;
5774
5787
  /**
5775
5788
  *
5776
- * @type {PartialRecordLanguageEnumIContentsValue}
5789
+ * @type {PageTypeEnum}
5777
5790
  * @memberof IPagePatchRequest
5778
5791
  */
5779
- 'contents'?: PartialRecordLanguageEnumIContentsValue;
5792
+ 'type'?: PageTypeEnum;
5780
5793
  }
5781
5794
  /**
5782
5795
  *
@@ -5792,10 +5805,10 @@ export interface IPagePostRequest {
5792
5805
  'company': string;
5793
5806
  /**
5794
5807
  *
5795
- * @type {PageTypeEnum}
5808
+ * @type {PartialRecordLanguageEnumIContentsValue}
5796
5809
  * @memberof IPagePostRequest
5797
5810
  */
5798
- 'type': PageTypeEnum;
5811
+ 'contents': PartialRecordLanguageEnumIContentsValue;
5799
5812
  /**
5800
5813
  *
5801
5814
  * @type {IImage}
@@ -5804,10 +5817,10 @@ export interface IPagePostRequest {
5804
5817
  'thumbnail'?: IImage;
5805
5818
  /**
5806
5819
  *
5807
- * @type {PartialRecordLanguageEnumIContentsValue}
5820
+ * @type {PageTypeEnum}
5808
5821
  * @memberof IPagePostRequest
5809
5822
  */
5810
- 'contents': PartialRecordLanguageEnumIContentsValue;
5823
+ 'type': PageTypeEnum;
5811
5824
  /**
5812
5825
  *
5813
5826
  * @type {ITemplateResponse}
@@ -5851,18 +5864,6 @@ export interface IPageResponse {
5851
5864
  * @memberof IPageResponse
5852
5865
  */
5853
5866
  'updatedAt': string;
5854
- /**
5855
- *
5856
- * @type {PageTypeEnum}
5857
- * @memberof IPageResponse
5858
- */
5859
- 'type': PageTypeEnum;
5860
- /**
5861
- *
5862
- * @type {IImage}
5863
- * @memberof IPageResponse
5864
- */
5865
- 'thumbnail'?: IImage;
5866
5867
  /**
5867
5868
  * Construct a type with a set of properties K of type T
5868
5869
  * @type {{ [key: string]: string; }}
@@ -5877,6 +5878,18 @@ export interface IPageResponse {
5877
5878
  * @memberof IPageResponse
5878
5879
  */
5879
5880
  'contents': PartialRecordLanguageEnumIContentsValue;
5881
+ /**
5882
+ *
5883
+ * @type {IImage}
5884
+ * @memberof IPageResponse
5885
+ */
5886
+ 'thumbnail'?: IImage;
5887
+ /**
5888
+ *
5889
+ * @type {PageTypeEnum}
5890
+ * @memberof IPageResponse
5891
+ */
5892
+ 'type': PageTypeEnum;
5880
5893
  /**
5881
5894
  *
5882
5895
  * @type {ITemplateResponse}
@@ -6239,6 +6252,12 @@ export interface IPlansResponse {
6239
6252
  * @interface IProductCollectionQueryParams
6240
6253
  */
6241
6254
  export interface IProductCollectionQueryParams {
6255
+ /**
6256
+ *
6257
+ * @type {OrderEnum}
6258
+ * @memberof IProductCollectionQueryParams
6259
+ */
6260
+ 'order'?: OrderEnum;
6242
6261
  /**
6243
6262
  *
6244
6263
  * @type {number}
@@ -6275,12 +6294,6 @@ export interface IProductCollectionQueryParams {
6275
6294
  * @memberof IProductCollectionQueryParams
6276
6295
  */
6277
6296
  'dateField'?: IProductCollectionQueryParamsDateFieldEnum;
6278
- /**
6279
- *
6280
- * @type {OrderEnum}
6281
- * @memberof IProductCollectionQueryParams
6282
- */
6283
- 'order'?: OrderEnum;
6284
6297
  /**
6285
6298
  *
6286
6299
  * @type {string}
@@ -6615,6 +6628,12 @@ export interface IProductResponse {
6615
6628
  * @memberof IProductResponse
6616
6629
  */
6617
6630
  'updatedAt': string;
6631
+ /**
6632
+ *
6633
+ * @type {number}
6634
+ * @memberof IProductResponse
6635
+ */
6636
+ 'rating': number;
6618
6637
  /**
6619
6638
  *
6620
6639
  * @type {number}
@@ -6713,12 +6732,6 @@ export interface IProductResponse {
6713
6732
  'attributes'?: {
6714
6733
  [key: string]: string;
6715
6734
  };
6716
- /**
6717
- *
6718
- * @type {number}
6719
- * @memberof IProductResponse
6720
- */
6721
- 'rating': number;
6722
6735
  /**
6723
6736
  *
6724
6737
  * @type {number}
@@ -6800,6 +6813,43 @@ export interface IProductResponseStockValue {
6800
6813
  */
6801
6814
  'quantity': number;
6802
6815
  }
6816
+ /**
6817
+ *
6818
+ * @export
6819
+ * @interface IProductReviewsPopulateResponse
6820
+ */
6821
+ export interface IProductReviewsPopulateResponse {
6822
+ /**
6823
+ *
6824
+ * @type {number}
6825
+ * @memberof IProductReviewsPopulateResponse
6826
+ */
6827
+ 'page': number;
6828
+ /**
6829
+ *
6830
+ * @type {number}
6831
+ * @memberof IProductReviewsPopulateResponse
6832
+ */
6833
+ 'itemsPerPage': number;
6834
+ /**
6835
+ *
6836
+ * @type {number}
6837
+ * @memberof IProductReviewsPopulateResponse
6838
+ */
6839
+ 'total': number;
6840
+ /**
6841
+ *
6842
+ * @type {number}
6843
+ * @memberof IProductReviewsPopulateResponse
6844
+ */
6845
+ 'totalPages': number;
6846
+ /**
6847
+ *
6848
+ * @type {Array<IReviewResponse>}
6849
+ * @memberof IProductReviewsPopulateResponse
6850
+ */
6851
+ 'data': Array<IReviewResponse>;
6852
+ }
6803
6853
  /**
6804
6854
  *
6805
6855
  * @export
@@ -6931,16 +6981,16 @@ export interface IProductsResponseCategory {
6931
6981
  '_id': string;
6932
6982
  /**
6933
6983
  *
6934
- * @type {string}
6984
+ * @type {Array<ICategoryResponseAttributesInner>}
6935
6985
  * @memberof IProductsResponseCategory
6936
6986
  */
6937
- 'main'?: string;
6987
+ 'attributes': Array<ICategoryResponseAttributesInner>;
6938
6988
  /**
6939
6989
  *
6940
- * @type {Array<ICategoryResponseAttributesInner>}
6990
+ * @type {string}
6941
6991
  * @memberof IProductsResponseCategory
6942
6992
  */
6943
- 'attributes': Array<ICategoryResponseAttributesInner>;
6993
+ 'main'?: string;
6944
6994
  /**
6945
6995
  *
6946
6996
  * @type {RecordLanguageEnumTitleString}
@@ -7066,6 +7116,12 @@ export interface IReview {
7066
7116
  * @memberof IReview
7067
7117
  */
7068
7118
  'company': string;
7119
+ /**
7120
+ *
7121
+ * @type {string}
7122
+ * @memberof IReview
7123
+ */
7124
+ 'user': string;
7069
7125
  /**
7070
7126
  *
7071
7127
  * @type {string}
@@ -7084,6 +7140,30 @@ export interface IReview {
7084
7140
  * @memberof IReview
7085
7141
  */
7086
7142
  'product': string;
7143
+ /**
7144
+ *
7145
+ * @type {PartialRecordLanguageEnumString}
7146
+ * @memberof IReview
7147
+ */
7148
+ 'mainVariantTitle': PartialRecordLanguageEnumString;
7149
+ /**
7150
+ *
7151
+ * @type {PartialRecordLanguageEnumString}
7152
+ * @memberof IReview
7153
+ */
7154
+ 'subVariantTitle': PartialRecordLanguageEnumString;
7155
+ /**
7156
+ *
7157
+ * @type {string}
7158
+ * @memberof IReview
7159
+ */
7160
+ 'mainVariantId'?: string;
7161
+ /**
7162
+ *
7163
+ * @type {string}
7164
+ * @memberof IReview
7165
+ */
7166
+ 'subVariantId'?: string;
7087
7167
  /**
7088
7168
  *
7089
7169
  * @type {number}
@@ -7146,6 +7226,121 @@ export interface IReviewPatchRequest {
7146
7226
  */
7147
7227
  'comment': string;
7148
7228
  }
7229
+ /**
7230
+ *
7231
+ * @export
7232
+ * @interface IReviewResponse
7233
+ */
7234
+ export interface IReviewResponse {
7235
+ /**
7236
+ *
7237
+ * @type {string}
7238
+ * @memberof IReviewResponse
7239
+ */
7240
+ 'name': string;
7241
+ /**
7242
+ *
7243
+ * @type {string}
7244
+ * @memberof IReviewResponse
7245
+ */
7246
+ 'company': string;
7247
+ /**
7248
+ *
7249
+ * @type {ReviewStatusEnum}
7250
+ * @memberof IReviewResponse
7251
+ */
7252
+ 'status': ReviewStatusEnum;
7253
+ /**
7254
+ *
7255
+ * @type {string}
7256
+ * @memberof IReviewResponse
7257
+ */
7258
+ '_id': string;
7259
+ /**
7260
+ *
7261
+ * @type {number}
7262
+ * @memberof IReviewResponse
7263
+ */
7264
+ '__v': number;
7265
+ /**
7266
+ *
7267
+ * @type {string}
7268
+ * @memberof IReviewResponse
7269
+ */
7270
+ 'createdAt': string;
7271
+ /**
7272
+ *
7273
+ * @type {string}
7274
+ * @memberof IReviewResponse
7275
+ */
7276
+ 'updatedAt': string;
7277
+ /**
7278
+ *
7279
+ * @type {string}
7280
+ * @memberof IReviewResponse
7281
+ */
7282
+ 'user': string;
7283
+ /**
7284
+ *
7285
+ * @type {string}
7286
+ * @memberof IReviewResponse
7287
+ */
7288
+ 'order': string;
7289
+ /**
7290
+ *
7291
+ * @type {string}
7292
+ * @memberof IReviewResponse
7293
+ */
7294
+ 'relId': string;
7295
+ /**
7296
+ *
7297
+ * @type {PartialRecordLanguageEnumString}
7298
+ * @memberof IReviewResponse
7299
+ */
7300
+ 'mainVariantTitle': PartialRecordLanguageEnumString;
7301
+ /**
7302
+ *
7303
+ * @type {PartialRecordLanguageEnumString}
7304
+ * @memberof IReviewResponse
7305
+ */
7306
+ 'subVariantTitle': PartialRecordLanguageEnumString;
7307
+ /**
7308
+ *
7309
+ * @type {string}
7310
+ * @memberof IReviewResponse
7311
+ */
7312
+ 'mainVariantId'?: string;
7313
+ /**
7314
+ *
7315
+ * @type {string}
7316
+ * @memberof IReviewResponse
7317
+ */
7318
+ 'subVariantId'?: string;
7319
+ /**
7320
+ *
7321
+ * @type {number}
7322
+ * @memberof IReviewResponse
7323
+ */
7324
+ 'rating': number;
7325
+ /**
7326
+ *
7327
+ * @type {string}
7328
+ * @memberof IReviewResponse
7329
+ */
7330
+ 'title': string;
7331
+ /**
7332
+ *
7333
+ * @type {string}
7334
+ * @memberof IReviewResponse
7335
+ */
7336
+ 'comment': string;
7337
+ /**
7338
+ *
7339
+ * @type {IProductResponse}
7340
+ * @memberof IReviewResponse
7341
+ */
7342
+ 'product': IProductResponse;
7343
+ }
7149
7344
  /**
7150
7345
  *
7151
7346
  * @export
@@ -7268,10 +7463,10 @@ export interface IState {
7268
7463
  export interface ITemplatePatchRequest {
7269
7464
  /**
7270
7465
  *
7271
- * @type {TemplateTypeEnum}
7466
+ * @type {string}
7272
7467
  * @memberof ITemplatePatchRequest
7273
7468
  */
7274
- 'type'?: TemplateTypeEnum;
7469
+ 'title'?: string;
7275
7470
  /**
7276
7471
  *
7277
7472
  * @type {Array<ITemplateResponseComponentsInner>}
@@ -7280,10 +7475,10 @@ export interface ITemplatePatchRequest {
7280
7475
  'components'?: Array<ITemplateResponseComponentsInner>;
7281
7476
  /**
7282
7477
  *
7283
- * @type {string}
7478
+ * @type {TemplateTypeEnum}
7284
7479
  * @memberof ITemplatePatchRequest
7285
7480
  */
7286
- 'title'?: string;
7481
+ 'type'?: TemplateTypeEnum;
7287
7482
  }
7288
7483
  /**
7289
7484
  *
@@ -7302,25 +7497,25 @@ export interface ITemplatePostRequest {
7302
7497
  * @type {string}
7303
7498
  * @memberof ITemplatePostRequest
7304
7499
  */
7305
- 'theme': string;
7500
+ 'title': string;
7306
7501
  /**
7307
7502
  *
7308
- * @type {TemplateTypeEnum}
7503
+ * @type {Array<ITemplateResponseComponentsInner>}
7309
7504
  * @memberof ITemplatePostRequest
7310
7505
  */
7311
- 'type': TemplateTypeEnum;
7506
+ 'components': Array<ITemplateResponseComponentsInner>;
7312
7507
  /**
7313
7508
  *
7314
- * @type {Array<ITemplateResponseComponentsInner>}
7509
+ * @type {string}
7315
7510
  * @memberof ITemplatePostRequest
7316
7511
  */
7317
- 'components': Array<ITemplateResponseComponentsInner>;
7512
+ 'theme': string;
7318
7513
  /**
7319
7514
  *
7320
- * @type {string}
7515
+ * @type {TemplateTypeEnum}
7321
7516
  * @memberof ITemplatePostRequest
7322
7517
  */
7323
- 'title': string;
7518
+ 'type': TemplateTypeEnum;
7324
7519
  }
7325
7520
  /**
7326
7521
  *
@@ -7363,19 +7558,19 @@ export interface ITemplateResponse {
7363
7558
  * @type {string}
7364
7559
  * @memberof ITemplateResponse
7365
7560
  */
7366
- 'theme': string;
7561
+ 'title': string;
7367
7562
  /**
7368
7563
  *
7369
- * @type {TemplateTypeEnum}
7564
+ * @type {string}
7370
7565
  * @memberof ITemplateResponse
7371
7566
  */
7372
- 'type': TemplateTypeEnum;
7567
+ 'theme': string;
7373
7568
  /**
7374
7569
  *
7375
- * @type {string}
7570
+ * @type {TemplateTypeEnum}
7376
7571
  * @memberof ITemplateResponse
7377
7572
  */
7378
- 'title': string;
7573
+ 'type': TemplateTypeEnum;
7379
7574
  /**
7380
7575
  *
7381
7576
  * @type {Array<ITemplateResponseComponentsInner>}
@@ -8045,16 +8240,16 @@ export interface IThemeResponse {
8045
8240
  'updatedAt': string;
8046
8241
  /**
8047
8242
  *
8048
- * @type {string}
8243
+ * @type {IImage}
8049
8244
  * @memberof IThemeResponse
8050
8245
  */
8051
- 'main'?: string;
8246
+ 'thumbnail'?: IImage;
8052
8247
  /**
8053
8248
  *
8054
- * @type {IImage}
8249
+ * @type {string}
8055
8250
  * @memberof IThemeResponse
8056
8251
  */
8057
- 'thumbnail'?: IImage;
8252
+ 'main'?: string;
8058
8253
  /**
8059
8254
  *
8060
8255
  * @type {string}
@@ -8769,16 +8964,16 @@ export interface PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponse
8769
8964
  'company': string;
8770
8965
  /**
8771
8966
  *
8772
- * @type {IImage}
8967
+ * @type {PartialRecordLanguageEnumIContentsValue}
8773
8968
  * @memberof PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponse
8774
8969
  */
8775
- 'thumbnail'?: IImage;
8970
+ 'contents': PartialRecordLanguageEnumIContentsValue;
8776
8971
  /**
8777
8972
  *
8778
- * @type {PartialRecordLanguageEnumIContentsValue}
8973
+ * @type {IImage}
8779
8974
  * @memberof PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponse
8780
8975
  */
8781
- 'contents': PartialRecordLanguageEnumIContentsValue;
8976
+ 'thumbnail'?: IImage;
8782
8977
  }
8783
8978
  /**
8784
8979
  * From T, pick a set of properties whose keys are in the union K
@@ -8818,10 +9013,10 @@ export interface PickICategoryExcludeKeyofICategoryAttributes {
8818
9013
  'updatedAt': string;
8819
9014
  /**
8820
9015
  *
8821
- * @type {string}
9016
+ * @type {PartialRecordLanguageEnumIContentsValue}
8822
9017
  * @memberof PickICategoryExcludeKeyofICategoryAttributes
8823
9018
  */
8824
- 'main'?: string;
9019
+ 'contents': PartialRecordLanguageEnumIContentsValue;
8825
9020
  /**
8826
9021
  *
8827
9022
  * @type {IImage}
@@ -8830,10 +9025,10 @@ export interface PickICategoryExcludeKeyofICategoryAttributes {
8830
9025
  'thumbnail'?: IImage;
8831
9026
  /**
8832
9027
  *
8833
- * @type {PartialRecordLanguageEnumIContentsValue}
9028
+ * @type {string}
8834
9029
  * @memberof PickICategoryExcludeKeyofICategoryAttributes
8835
9030
  */
8836
- 'contents': PartialRecordLanguageEnumIContentsValue;
9031
+ 'main'?: string;
8837
9032
  }
8838
9033
  /**
8839
9034
  * From T, pick a set of properties whose keys are in the union K
@@ -8849,10 +9044,10 @@ export interface PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoRes
8849
9044
  'company': string;
8850
9045
  /**
8851
9046
  *
8852
- * @type {string}
9047
+ * @type {PartialRecordLanguageEnumIContentsValue}
8853
9048
  * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributes
8854
9049
  */
8855
- 'main'?: string;
9050
+ 'contents': PartialRecordLanguageEnumIContentsValue;
8856
9051
  /**
8857
9052
  *
8858
9053
  * @type {IImage}
@@ -8861,10 +9056,10 @@ export interface PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoRes
8861
9056
  'thumbnail'?: IImage;
8862
9057
  /**
8863
9058
  *
8864
- * @type {PartialRecordLanguageEnumIContentsValue}
9059
+ * @type {string}
8865
9060
  * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributes
8866
9061
  */
8867
- 'contents': PartialRecordLanguageEnumIContentsValue;
9062
+ 'main'?: string;
8868
9063
  }
8869
9064
  /**
8870
9065
  * From T, pick a set of properties whose keys are in the union K
@@ -8880,16 +9075,16 @@ export interface PickICategoryResponseIdOrAttributesOrMain {
8880
9075
  '_id': string;
8881
9076
  /**
8882
9077
  *
8883
- * @type {string}
9078
+ * @type {Array<ICategoryResponseAttributesInner>}
8884
9079
  * @memberof PickICategoryResponseIdOrAttributesOrMain
8885
9080
  */
8886
- 'main'?: string;
9081
+ 'attributes': Array<ICategoryResponseAttributesInner>;
8887
9082
  /**
8888
9083
  *
8889
- * @type {Array<ICategoryResponseAttributesInner>}
9084
+ * @type {string}
8890
9085
  * @memberof PickICategoryResponseIdOrAttributesOrMain
8891
9086
  */
8892
- 'attributes': Array<ICategoryResponseAttributesInner>;
9087
+ 'main'?: string;
8893
9088
  }
8894
9089
  /**
8895
9090
  * From T, pick a set of properties whose keys are in the union K
@@ -8922,6 +9117,12 @@ export interface PickICategoryResponseIdOrContentsOrAttributes {
8922
9117
  * @interface PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSort
8923
9118
  */
8924
9119
  export interface PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSort {
9120
+ /**
9121
+ *
9122
+ * @type {OrderEnum}
9123
+ * @memberof PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSort
9124
+ */
9125
+ 'order'?: OrderEnum;
8925
9126
  /**
8926
9127
  *
8927
9128
  * @type {number}
@@ -8958,12 +9159,6 @@ export interface PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSor
8958
9159
  * @memberof PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSort
8959
9160
  */
8960
9161
  'dateField'?: PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum;
8961
- /**
8962
- *
8963
- * @type {OrderEnum}
8964
- * @memberof PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSort
8965
- */
8966
- 'order'?: OrderEnum;
8967
9162
  }
8968
9163
  export declare const PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum: {
8969
9164
  readonly CREATED_AT: "createdAt";
@@ -8984,16 +9179,16 @@ export interface PickICollectionResponseExcludeKeyofICollectionResponseKeyofMong
8984
9179
  'company': string;
8985
9180
  /**
8986
9181
  *
8987
- * @type {IImage}
9182
+ * @type {PartialRecordLanguageEnumIContentsValue}
8988
9183
  * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplates
8989
9184
  */
8990
- 'thumbnail'?: IImage;
9185
+ 'contents': PartialRecordLanguageEnumIContentsValue;
8991
9186
  /**
8992
9187
  *
8993
- * @type {PartialRecordLanguageEnumIContentsValue}
9188
+ * @type {IImage}
8994
9189
  * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplates
8995
9190
  */
8996
- 'contents': PartialRecordLanguageEnumIContentsValue;
9191
+ 'thumbnail'?: IImage;
8997
9192
  }
8998
9193
  /**
8999
9194
  * From T, pick a set of properties whose keys are in the union K
@@ -9057,16 +9252,16 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
9057
9252
  'updatedAt': string;
9058
9253
  /**
9059
9254
  *
9060
- * @type {PlanTypeEnum}
9255
+ * @type {CompanyTypeEnum}
9061
9256
  * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
9062
9257
  */
9063
- 'plan': PlanTypeEnum;
9258
+ 'type': CompanyTypeEnum;
9064
9259
  /**
9065
9260
  *
9066
- * @type {CompanyTypeEnum}
9261
+ * @type {PlanTypeEnum}
9067
9262
  * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
9068
9263
  */
9069
- 'type': CompanyTypeEnum;
9264
+ 'plan': PlanTypeEnum;
9070
9265
  /**
9071
9266
  *
9072
9267
  * @type {string}
@@ -9484,16 +9679,16 @@ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframe {
9484
9679
  'updatedAt': string;
9485
9680
  /**
9486
9681
  *
9487
- * @type {CurrencyEnum}
9682
+ * @type {string}
9488
9683
  * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
9489
9684
  */
9490
- 'currency': CurrencyEnum;
9685
+ 'user'?: string;
9491
9686
  /**
9492
9687
  *
9493
- * @type {string}
9688
+ * @type {CurrencyEnum}
9494
9689
  * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
9495
9690
  */
9496
- 'user'?: string;
9691
+ 'currency': CurrencyEnum;
9497
9692
  /**
9498
9693
  *
9499
9694
  * @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner>}
@@ -9841,18 +10036,6 @@ export interface PickIPageExcludeKeyofIPageTemplate {
9841
10036
  * @memberof PickIPageExcludeKeyofIPageTemplate
9842
10037
  */
9843
10038
  'updatedAt': string;
9844
- /**
9845
- *
9846
- * @type {PageTypeEnum}
9847
- * @memberof PickIPageExcludeKeyofIPageTemplate
9848
- */
9849
- 'type': PageTypeEnum;
9850
- /**
9851
- *
9852
- * @type {IImage}
9853
- * @memberof PickIPageExcludeKeyofIPageTemplate
9854
- */
9855
- 'thumbnail'?: IImage;
9856
10039
  /**
9857
10040
  * Construct a type with a set of properties K of type T
9858
10041
  * @type {{ [key: string]: string; }}
@@ -9867,6 +10050,18 @@ export interface PickIPageExcludeKeyofIPageTemplate {
9867
10050
  * @memberof PickIPageExcludeKeyofIPageTemplate
9868
10051
  */
9869
10052
  'contents': PartialRecordLanguageEnumIContentsValue;
10053
+ /**
10054
+ *
10055
+ * @type {IImage}
10056
+ * @memberof PickIPageExcludeKeyofIPageTemplate
10057
+ */
10058
+ 'thumbnail'?: IImage;
10059
+ /**
10060
+ *
10061
+ * @type {PageTypeEnum}
10062
+ * @memberof PickIPageExcludeKeyofIPageTemplate
10063
+ */
10064
+ 'type': PageTypeEnum;
9870
10065
  }
9871
10066
  /**
9872
10067
  * From T, pick a set of properties whose keys are in the union K
@@ -9882,10 +10077,10 @@ export interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrT
9882
10077
  'company': string;
9883
10078
  /**
9884
10079
  *
9885
- * @type {PageTypeEnum}
10080
+ * @type {PartialRecordLanguageEnumIContentsValue}
9886
10081
  * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplates
9887
10082
  */
9888
- 'type': PageTypeEnum;
10083
+ 'contents': PartialRecordLanguageEnumIContentsValue;
9889
10084
  /**
9890
10085
  *
9891
10086
  * @type {IImage}
@@ -9894,10 +10089,10 @@ export interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrT
9894
10089
  'thumbnail'?: IImage;
9895
10090
  /**
9896
10091
  *
9897
- * @type {PartialRecordLanguageEnumIContentsValue}
10092
+ * @type {PageTypeEnum}
9898
10093
  * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplates
9899
10094
  */
9900
- 'contents': PartialRecordLanguageEnumIContentsValue;
10095
+ 'type': PageTypeEnum;
9901
10096
  }
9902
10097
  /**
9903
10098
  * From T, pick a set of properties whose keys are in the union K
@@ -9935,6 +10130,12 @@ export interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttr
9935
10130
  * @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
9936
10131
  */
9937
10132
  'updatedAt': string;
10133
+ /**
10134
+ *
10135
+ * @type {number}
10136
+ * @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
10137
+ */
10138
+ 'rating': number;
9938
10139
  /**
9939
10140
  *
9940
10141
  * @type {number}
@@ -10033,12 +10234,6 @@ export interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttr
10033
10234
  'attributes'?: {
10034
10235
  [key: string]: string;
10035
10236
  };
10036
- /**
10037
- *
10038
- * @type {number}
10039
- * @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
10040
- */
10041
- 'rating': number;
10042
10237
  /**
10043
10238
  *
10044
10239
  * @type {number}
@@ -10174,6 +10369,115 @@ export interface PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPo
10174
10369
  [key: string]: string;
10175
10370
  };
10176
10371
  }
10372
+ /**
10373
+ * From T, pick a set of properties whose keys are in the union K
10374
+ * @export
10375
+ * @interface PickIReviewExcludeKeyofIReviewProduct
10376
+ */
10377
+ export interface PickIReviewExcludeKeyofIReviewProduct {
10378
+ /**
10379
+ *
10380
+ * @type {string}
10381
+ * @memberof PickIReviewExcludeKeyofIReviewProduct
10382
+ */
10383
+ 'name': string;
10384
+ /**
10385
+ *
10386
+ * @type {string}
10387
+ * @memberof PickIReviewExcludeKeyofIReviewProduct
10388
+ */
10389
+ 'company': string;
10390
+ /**
10391
+ *
10392
+ * @type {ReviewStatusEnum}
10393
+ * @memberof PickIReviewExcludeKeyofIReviewProduct
10394
+ */
10395
+ 'status': ReviewStatusEnum;
10396
+ /**
10397
+ *
10398
+ * @type {string}
10399
+ * @memberof PickIReviewExcludeKeyofIReviewProduct
10400
+ */
10401
+ '_id': string;
10402
+ /**
10403
+ *
10404
+ * @type {number}
10405
+ * @memberof PickIReviewExcludeKeyofIReviewProduct
10406
+ */
10407
+ '__v': number;
10408
+ /**
10409
+ *
10410
+ * @type {string}
10411
+ * @memberof PickIReviewExcludeKeyofIReviewProduct
10412
+ */
10413
+ 'createdAt': string;
10414
+ /**
10415
+ *
10416
+ * @type {string}
10417
+ * @memberof PickIReviewExcludeKeyofIReviewProduct
10418
+ */
10419
+ 'updatedAt': string;
10420
+ /**
10421
+ *
10422
+ * @type {string}
10423
+ * @memberof PickIReviewExcludeKeyofIReviewProduct
10424
+ */
10425
+ 'user': string;
10426
+ /**
10427
+ *
10428
+ * @type {string}
10429
+ * @memberof PickIReviewExcludeKeyofIReviewProduct
10430
+ */
10431
+ 'order': string;
10432
+ /**
10433
+ *
10434
+ * @type {string}
10435
+ * @memberof PickIReviewExcludeKeyofIReviewProduct
10436
+ */
10437
+ 'relId': string;
10438
+ /**
10439
+ *
10440
+ * @type {PartialRecordLanguageEnumString}
10441
+ * @memberof PickIReviewExcludeKeyofIReviewProduct
10442
+ */
10443
+ 'mainVariantTitle': PartialRecordLanguageEnumString;
10444
+ /**
10445
+ *
10446
+ * @type {PartialRecordLanguageEnumString}
10447
+ * @memberof PickIReviewExcludeKeyofIReviewProduct
10448
+ */
10449
+ 'subVariantTitle': PartialRecordLanguageEnumString;
10450
+ /**
10451
+ *
10452
+ * @type {string}
10453
+ * @memberof PickIReviewExcludeKeyofIReviewProduct
10454
+ */
10455
+ 'mainVariantId'?: string;
10456
+ /**
10457
+ *
10458
+ * @type {string}
10459
+ * @memberof PickIReviewExcludeKeyofIReviewProduct
10460
+ */
10461
+ 'subVariantId'?: string;
10462
+ /**
10463
+ *
10464
+ * @type {number}
10465
+ * @memberof PickIReviewExcludeKeyofIReviewProduct
10466
+ */
10467
+ 'rating': number;
10468
+ /**
10469
+ *
10470
+ * @type {string}
10471
+ * @memberof PickIReviewExcludeKeyofIReviewProduct
10472
+ */
10473
+ 'title': string;
10474
+ /**
10475
+ *
10476
+ * @type {string}
10477
+ * @memberof PickIReviewExcludeKeyofIReviewProduct
10478
+ */
10479
+ 'comment': string;
10480
+ }
10177
10481
  /**
10178
10482
  * From T, pick a set of properties whose keys are in the union K
10179
10483
  * @export
@@ -10215,19 +10519,19 @@ export interface PickITemplateExcludeKeyofITemplateComponents {
10215
10519
  * @type {string}
10216
10520
  * @memberof PickITemplateExcludeKeyofITemplateComponents
10217
10521
  */
10218
- 'theme': string;
10522
+ 'title': string;
10219
10523
  /**
10220
10524
  *
10221
- * @type {TemplateTypeEnum}
10525
+ * @type {string}
10222
10526
  * @memberof PickITemplateExcludeKeyofITemplateComponents
10223
10527
  */
10224
- 'type': TemplateTypeEnum;
10528
+ 'theme': string;
10225
10529
  /**
10226
10530
  *
10227
- * @type {string}
10531
+ * @type {TemplateTypeEnum}
10228
10532
  * @memberof PickITemplateExcludeKeyofITemplateComponents
10229
10533
  */
10230
- 'title': string;
10534
+ 'type': TemplateTypeEnum;
10231
10535
  }
10232
10536
  /**
10233
10537
  * From T, pick a set of properties whose keys are in the union K
@@ -10246,25 +10550,25 @@ export interface PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoRes
10246
10550
  * @type {string}
10247
10551
  * @memberof PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoResponse
10248
10552
  */
10249
- 'theme': string;
10553
+ 'title': string;
10250
10554
  /**
10251
10555
  *
10252
- * @type {TemplateTypeEnum}
10556
+ * @type {Array<ITemplateResponseComponentsInner>}
10253
10557
  * @memberof PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoResponse
10254
10558
  */
10255
- 'type': TemplateTypeEnum;
10559
+ 'components': Array<ITemplateResponseComponentsInner>;
10256
10560
  /**
10257
10561
  *
10258
- * @type {Array<ITemplateResponseComponentsInner>}
10562
+ * @type {string}
10259
10563
  * @memberof PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoResponse
10260
10564
  */
10261
- 'components': Array<ITemplateResponseComponentsInner>;
10565
+ 'theme': string;
10262
10566
  /**
10263
10567
  *
10264
- * @type {string}
10568
+ * @type {TemplateTypeEnum}
10265
10569
  * @memberof PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoResponse
10266
10570
  */
10267
- 'title': string;
10571
+ 'type': TemplateTypeEnum;
10268
10572
  }
10269
10573
  /**
10270
10574
  * From T, pick a set of properties whose keys are in the union K
@@ -10310,16 +10614,16 @@ export interface PickIThemeExcludeKeyofIThemeTemplate {
10310
10614
  'updatedAt': string;
10311
10615
  /**
10312
10616
  *
10313
- * @type {string}
10617
+ * @type {IImage}
10314
10618
  * @memberof PickIThemeExcludeKeyofIThemeTemplate
10315
10619
  */
10316
- 'main'?: string;
10620
+ 'thumbnail'?: IImage;
10317
10621
  /**
10318
10622
  *
10319
- * @type {IImage}
10623
+ * @type {string}
10320
10624
  * @memberof PickIThemeExcludeKeyofIThemeTemplate
10321
10625
  */
10322
- 'thumbnail'?: IImage;
10626
+ 'main'?: string;
10323
10627
  /**
10324
10628
  *
10325
10629
  * @type {string}
@@ -13423,6 +13727,14 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
13423
13727
  * @throws {RequiredError}
13424
13728
  */
13425
13729
  getCompanyProductReviews: (id: string, status?: ReviewStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13730
+ /**
13731
+ *
13732
+ * @param {string} id
13733
+ * @param {ReviewStatusEnum} [status]
13734
+ * @param {*} [options] Override http request option.
13735
+ * @throws {RequiredError}
13736
+ */
13737
+ getCompanyReviewCount: (id: string, status?: ReviewStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13426
13738
  /**
13427
13739
  *
13428
13740
  * @param {string} id
@@ -13639,7 +13951,15 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
13639
13951
  * @param {*} [options] Override http request option.
13640
13952
  * @throws {RequiredError}
13641
13953
  */
13642
- getCompanyProductReviews(id: string, status?: ReviewStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IProductReviewsResponse>>;
13954
+ getCompanyProductReviews(id: string, status?: ReviewStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IProductReviewsPopulateResponse>>;
13955
+ /**
13956
+ *
13957
+ * @param {string} id
13958
+ * @param {ReviewStatusEnum} [status]
13959
+ * @param {*} [options] Override http request option.
13960
+ * @throws {RequiredError}
13961
+ */
13962
+ getCompanyReviewCount(id: string, status?: ReviewStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMyProductReviewCount200Response>>;
13643
13963
  /**
13644
13964
  *
13645
13965
  * @param {string} id
@@ -13831,7 +14151,14 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
13831
14151
  * @param {*} [options] Override http request option.
13832
14152
  * @throws {RequiredError}
13833
14153
  */
13834
- getCompanyProductReviews(requestParameters: CompanyApiGetCompanyProductReviewsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IProductReviewsResponse>;
14154
+ getCompanyProductReviews(requestParameters: CompanyApiGetCompanyProductReviewsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IProductReviewsPopulateResponse>;
14155
+ /**
14156
+ *
14157
+ * @param {CompanyApiGetCompanyReviewCountRequest} requestParameters Request parameters.
14158
+ * @param {*} [options] Override http request option.
14159
+ * @throws {RequiredError}
14160
+ */
14161
+ getCompanyReviewCount(requestParameters: CompanyApiGetCompanyReviewCountRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetMyProductReviewCount200Response>;
13835
14162
  /**
13836
14163
  *
13837
14164
  * @param {CompanyApiGetCompanyUsersRequest} requestParameters Request parameters.
@@ -14242,6 +14569,25 @@ export interface CompanyApiGetCompanyProductReviewsRequest {
14242
14569
  */
14243
14570
  readonly status?: ReviewStatusEnum;
14244
14571
  }
14572
+ /**
14573
+ * Request parameters for getCompanyReviewCount operation in CompanyApi.
14574
+ * @export
14575
+ * @interface CompanyApiGetCompanyReviewCountRequest
14576
+ */
14577
+ export interface CompanyApiGetCompanyReviewCountRequest {
14578
+ /**
14579
+ *
14580
+ * @type {string}
14581
+ * @memberof CompanyApiGetCompanyReviewCount
14582
+ */
14583
+ readonly id: string;
14584
+ /**
14585
+ *
14586
+ * @type {ReviewStatusEnum}
14587
+ * @memberof CompanyApiGetCompanyReviewCount
14588
+ */
14589
+ readonly status?: ReviewStatusEnum;
14590
+ }
14245
14591
  /**
14246
14592
  * Request parameters for getCompanyUsers operation in CompanyApi.
14247
14593
  * @export
@@ -14569,7 +14915,15 @@ export declare class CompanyApi extends BaseAPI {
14569
14915
  * @throws {RequiredError}
14570
14916
  * @memberof CompanyApi
14571
14917
  */
14572
- getCompanyProductReviews(requestParameters: CompanyApiGetCompanyProductReviewsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IProductReviewsResponse, any>>;
14918
+ getCompanyProductReviews(requestParameters: CompanyApiGetCompanyProductReviewsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IProductReviewsPopulateResponse, any>>;
14919
+ /**
14920
+ *
14921
+ * @param {CompanyApiGetCompanyReviewCountRequest} requestParameters Request parameters.
14922
+ * @param {*} [options] Override http request option.
14923
+ * @throws {RequiredError}
14924
+ * @memberof CompanyApi
14925
+ */
14926
+ getCompanyReviewCount(requestParameters: CompanyApiGetCompanyReviewCountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMyProductReviewCount200Response, any>>;
14573
14927
  /**
14574
14928
  *
14575
14929
  * @param {CompanyApiGetCompanyUsersRequest} requestParameters Request parameters.
@@ -17691,13 +18045,13 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
17691
18045
  getProductReviews: (id: string, rating?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17692
18046
  /**
17693
18047
  *
18048
+ * @param {OrderEnum} [order]
17694
18049
  * @param {number} [page]
17695
18050
  * @param {number} [itemsPerPage]
17696
18051
  * @param {string} [search]
17697
18052
  * @param {string} [startDate]
17698
18053
  * @param {string} [endDate]
17699
18054
  * @param {GetProductsDateFieldEnum} [dateField]
17700
- * @param {OrderEnum} [order]
17701
18055
  * @param {string} [companyId]
17702
18056
  * @param {string} [domain]
17703
18057
  * @param {Array<string>} [collections]
@@ -17712,7 +18066,7 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
17712
18066
  * @param {*} [options] Override http request option.
17713
18067
  * @throws {RequiredError}
17714
18068
  */
17715
- getProducts: (page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetProductsDateFieldEnum, order?: OrderEnum, companyId?: string, domain?: string, collections?: Array<string>, category?: string, brand?: Array<string>, inStock?: boolean, priceGte?: number, priceLte?: number, autoComplete?: boolean, sort?: GetProductsSortEnum, status?: ContentStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18069
+ getProducts: (order?: OrderEnum, page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetProductsDateFieldEnum, companyId?: string, domain?: string, collections?: Array<string>, category?: string, brand?: Array<string>, inStock?: boolean, priceGte?: number, priceLte?: number, autoComplete?: boolean, sort?: GetProductsSortEnum, status?: ContentStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17716
18070
  /**
17717
18071
  *
17718
18072
  * @param {string} id
@@ -17785,13 +18139,13 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
17785
18139
  getProductReviews(id: string, rating?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IProductReviewsResponse>>;
17786
18140
  /**
17787
18141
  *
18142
+ * @param {OrderEnum} [order]
17788
18143
  * @param {number} [page]
17789
18144
  * @param {number} [itemsPerPage]
17790
18145
  * @param {string} [search]
17791
18146
  * @param {string} [startDate]
17792
18147
  * @param {string} [endDate]
17793
18148
  * @param {GetProductsDateFieldEnum} [dateField]
17794
- * @param {OrderEnum} [order]
17795
18149
  * @param {string} [companyId]
17796
18150
  * @param {string} [domain]
17797
18151
  * @param {Array<string>} [collections]
@@ -17806,7 +18160,7 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
17806
18160
  * @param {*} [options] Override http request option.
17807
18161
  * @throws {RequiredError}
17808
18162
  */
17809
- getProducts(page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetProductsDateFieldEnum, order?: OrderEnum, companyId?: string, domain?: string, collections?: Array<string>, category?: string, brand?: Array<string>, inStock?: boolean, priceGte?: number, priceLte?: number, autoComplete?: boolean, sort?: GetProductsSortEnum, status?: ContentStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IProductsResponse>>;
18163
+ getProducts(order?: OrderEnum, page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetProductsDateFieldEnum, companyId?: string, domain?: string, collections?: Array<string>, category?: string, brand?: Array<string>, inStock?: boolean, priceGte?: number, priceLte?: number, autoComplete?: boolean, sort?: GetProductsSortEnum, status?: ContentStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IProductsResponse>>;
17810
18164
  /**
17811
18165
  *
17812
18166
  * @param {string} id
@@ -18024,6 +18378,12 @@ export interface ProductApiGetProductReviewsRequest {
18024
18378
  * @interface ProductApiGetProductsRequest
18025
18379
  */
18026
18380
  export interface ProductApiGetProductsRequest {
18381
+ /**
18382
+ *
18383
+ * @type {OrderEnum}
18384
+ * @memberof ProductApiGetProducts
18385
+ */
18386
+ readonly order?: OrderEnum;
18027
18387
  /**
18028
18388
  *
18029
18389
  * @type {number}
@@ -18060,12 +18420,6 @@ export interface ProductApiGetProductsRequest {
18060
18420
  * @memberof ProductApiGetProducts
18061
18421
  */
18062
18422
  readonly dateField?: GetProductsDateFieldEnum;
18063
- /**
18064
- *
18065
- * @type {OrderEnum}
18066
- * @memberof ProductApiGetProducts
18067
- */
18068
- readonly order?: OrderEnum;
18069
18423
  /**
18070
18424
  *
18071
18425
  * @type {string}
@@ -18939,6 +19293,20 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
18939
19293
  * @throws {RequiredError}
18940
19294
  */
18941
19295
  getMyAddresses: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19296
+ /**
19297
+ *
19298
+ * @param {ReviewStatusEnum} [status]
19299
+ * @param {*} [options] Override http request option.
19300
+ * @throws {RequiredError}
19301
+ */
19302
+ getMyProductReviewCount: (status?: ReviewStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19303
+ /**
19304
+ *
19305
+ * @param {ReviewStatusEnum} [status]
19306
+ * @param {*} [options] Override http request option.
19307
+ * @throws {RequiredError}
19308
+ */
19309
+ getMyProductReviews: (status?: ReviewStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18942
19310
  /**
18943
19311
  *
18944
19312
  * @param {string} id
@@ -19024,6 +19392,20 @@ export declare const UserApiFp: (configuration?: Configuration) => {
19024
19392
  * @throws {RequiredError}
19025
19393
  */
19026
19394
  getMyAddresses(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUserAddressResponse>>;
19395
+ /**
19396
+ *
19397
+ * @param {ReviewStatusEnum} [status]
19398
+ * @param {*} [options] Override http request option.
19399
+ * @throws {RequiredError}
19400
+ */
19401
+ getMyProductReviewCount(status?: ReviewStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMyProductReviewCount200Response>>;
19402
+ /**
19403
+ *
19404
+ * @param {ReviewStatusEnum} [status]
19405
+ * @param {*} [options] Override http request option.
19406
+ * @throws {RequiredError}
19407
+ */
19408
+ getMyProductReviews(status?: ReviewStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IProductReviewsPopulateResponse>>;
19027
19409
  /**
19028
19410
  *
19029
19411
  * @param {string} id
@@ -19109,6 +19491,20 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
19109
19491
  * @throws {RequiredError}
19110
19492
  */
19111
19493
  getMyAddresses(options?: RawAxiosRequestConfig): AxiosPromise<IUserAddressResponse>;
19494
+ /**
19495
+ *
19496
+ * @param {UserApiGetMyProductReviewCountRequest} requestParameters Request parameters.
19497
+ * @param {*} [options] Override http request option.
19498
+ * @throws {RequiredError}
19499
+ */
19500
+ getMyProductReviewCount(requestParameters?: UserApiGetMyProductReviewCountRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetMyProductReviewCount200Response>;
19501
+ /**
19502
+ *
19503
+ * @param {UserApiGetMyProductReviewsRequest} requestParameters Request parameters.
19504
+ * @param {*} [options] Override http request option.
19505
+ * @throws {RequiredError}
19506
+ */
19507
+ getMyProductReviews(requestParameters?: UserApiGetMyProductReviewsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IProductReviewsPopulateResponse>;
19112
19508
  /**
19113
19509
  *
19114
19510
  * @param {UserApiGetUserByIdRequest} requestParameters Request parameters.
@@ -19184,6 +19580,32 @@ export interface UserApiDeleteUserRequest {
19184
19580
  */
19185
19581
  readonly id: string;
19186
19582
  }
19583
+ /**
19584
+ * Request parameters for getMyProductReviewCount operation in UserApi.
19585
+ * @export
19586
+ * @interface UserApiGetMyProductReviewCountRequest
19587
+ */
19588
+ export interface UserApiGetMyProductReviewCountRequest {
19589
+ /**
19590
+ *
19591
+ * @type {ReviewStatusEnum}
19592
+ * @memberof UserApiGetMyProductReviewCount
19593
+ */
19594
+ readonly status?: ReviewStatusEnum;
19595
+ }
19596
+ /**
19597
+ * Request parameters for getMyProductReviews operation in UserApi.
19598
+ * @export
19599
+ * @interface UserApiGetMyProductReviewsRequest
19600
+ */
19601
+ export interface UserApiGetMyProductReviewsRequest {
19602
+ /**
19603
+ *
19604
+ * @type {ReviewStatusEnum}
19605
+ * @memberof UserApiGetMyProductReviews
19606
+ */
19607
+ readonly status?: ReviewStatusEnum;
19608
+ }
19187
19609
  /**
19188
19610
  * Request parameters for getUserById operation in UserApi.
19189
19611
  * @export
@@ -19358,6 +19780,22 @@ export declare class UserApi extends BaseAPI {
19358
19780
  * @memberof UserApi
19359
19781
  */
19360
19782
  getMyAddresses(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IUserAddressResponse, any>>;
19783
+ /**
19784
+ *
19785
+ * @param {UserApiGetMyProductReviewCountRequest} requestParameters Request parameters.
19786
+ * @param {*} [options] Override http request option.
19787
+ * @throws {RequiredError}
19788
+ * @memberof UserApi
19789
+ */
19790
+ getMyProductReviewCount(requestParameters?: UserApiGetMyProductReviewCountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMyProductReviewCount200Response, any>>;
19791
+ /**
19792
+ *
19793
+ * @param {UserApiGetMyProductReviewsRequest} requestParameters Request parameters.
19794
+ * @param {*} [options] Override http request option.
19795
+ * @throws {RequiredError}
19796
+ * @memberof UserApi
19797
+ */
19798
+ getMyProductReviews(requestParameters?: UserApiGetMyProductReviewsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IProductReviewsPopulateResponse, any>>;
19361
19799
  /**
19362
19800
  *
19363
19801
  * @param {UserApiGetUserByIdRequest} requestParameters Request parameters.