@infisale-client/api 1.2.73 → 1.2.75
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 +621 -37
- package/dist/api/api.js +344 -22
- package/dist/api/api.mjs +341 -19
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -859,6 +859,49 @@ export interface IBasketResponse {
|
|
|
859
859
|
* @memberof IBasketResponse
|
|
860
860
|
*/
|
|
861
861
|
'summary': IBasketSummary;
|
|
862
|
+
/**
|
|
863
|
+
*
|
|
864
|
+
* @type {Array<IBasketResponseChangesInner>}
|
|
865
|
+
* @memberof IBasketResponse
|
|
866
|
+
*/
|
|
867
|
+
'changes': Array<IBasketResponseChangesInner>;
|
|
868
|
+
}
|
|
869
|
+
/**
|
|
870
|
+
*
|
|
871
|
+
* @export
|
|
872
|
+
* @interface IBasketResponseChangesInner
|
|
873
|
+
*/
|
|
874
|
+
export interface IBasketResponseChangesInner {
|
|
875
|
+
/**
|
|
876
|
+
*
|
|
877
|
+
* @type {string}
|
|
878
|
+
* @memberof IBasketResponseChangesInner
|
|
879
|
+
*/
|
|
880
|
+
'subVariant'?: string;
|
|
881
|
+
/**
|
|
882
|
+
*
|
|
883
|
+
* @type {string}
|
|
884
|
+
* @memberof IBasketResponseChangesInner
|
|
885
|
+
*/
|
|
886
|
+
'mainVariant'?: string;
|
|
887
|
+
/**
|
|
888
|
+
*
|
|
889
|
+
* @type {number}
|
|
890
|
+
* @memberof IBasketResponseChangesInner
|
|
891
|
+
*/
|
|
892
|
+
'newAmount': number;
|
|
893
|
+
/**
|
|
894
|
+
*
|
|
895
|
+
* @type {number}
|
|
896
|
+
* @memberof IBasketResponseChangesInner
|
|
897
|
+
*/
|
|
898
|
+
'oldAmount': number;
|
|
899
|
+
/**
|
|
900
|
+
*
|
|
901
|
+
* @type {IProductResponse}
|
|
902
|
+
* @memberof IBasketResponseChangesInner
|
|
903
|
+
*/
|
|
904
|
+
'product': IProductResponse;
|
|
862
905
|
}
|
|
863
906
|
/**
|
|
864
907
|
*
|
|
@@ -2153,6 +2196,12 @@ export interface ICompany {
|
|
|
2153
2196
|
* @memberof ICompany
|
|
2154
2197
|
*/
|
|
2155
2198
|
'shippingProviders': Array<ShippingProvider>;
|
|
2199
|
+
/**
|
|
2200
|
+
*
|
|
2201
|
+
* @type {boolean}
|
|
2202
|
+
* @memberof ICompany
|
|
2203
|
+
*/
|
|
2204
|
+
'autoApproveReviews': boolean;
|
|
2156
2205
|
/**
|
|
2157
2206
|
*
|
|
2158
2207
|
* @type {CompanyStatusEnum}
|
|
@@ -2354,6 +2403,12 @@ export interface ICompanyAdminResponse {
|
|
|
2354
2403
|
* @memberof ICompanyAdminResponse
|
|
2355
2404
|
*/
|
|
2356
2405
|
'shippingProviders': Array<ShippingProvider>;
|
|
2406
|
+
/**
|
|
2407
|
+
*
|
|
2408
|
+
* @type {boolean}
|
|
2409
|
+
* @memberof ICompanyAdminResponse
|
|
2410
|
+
*/
|
|
2411
|
+
'autoApproveReviews': boolean;
|
|
2357
2412
|
/**
|
|
2358
2413
|
*
|
|
2359
2414
|
* @type {PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRoles}
|
|
@@ -2786,6 +2841,12 @@ export interface ICompanyPatchRequest {
|
|
|
2786
2841
|
* @memberof ICompanyPatchRequest
|
|
2787
2842
|
*/
|
|
2788
2843
|
'currencies'?: RecordCurrencyEnumCurrency;
|
|
2844
|
+
/**
|
|
2845
|
+
*
|
|
2846
|
+
* @type {boolean}
|
|
2847
|
+
* @memberof ICompanyPatchRequest
|
|
2848
|
+
*/
|
|
2849
|
+
'autoApproveReviews'?: boolean;
|
|
2789
2850
|
}
|
|
2790
2851
|
/**
|
|
2791
2852
|
*
|
|
@@ -3086,6 +3147,12 @@ export interface ICompanyResponse {
|
|
|
3086
3147
|
* @memberof ICompanyResponse
|
|
3087
3148
|
*/
|
|
3088
3149
|
'shippingProviders': Array<ShippingProvider>;
|
|
3150
|
+
/**
|
|
3151
|
+
*
|
|
3152
|
+
* @type {boolean}
|
|
3153
|
+
* @memberof ICompanyResponse
|
|
3154
|
+
*/
|
|
3155
|
+
'autoApproveReviews': boolean;
|
|
3089
3156
|
/**
|
|
3090
3157
|
*
|
|
3091
3158
|
* @type {PickICompanyNameOrDomainsOrIdOrLanguage}
|
|
@@ -5479,6 +5546,49 @@ export interface IOrderReturnUpdatePatchRequest {
|
|
|
5479
5546
|
*/
|
|
5480
5547
|
'refund'?: boolean;
|
|
5481
5548
|
}
|
|
5549
|
+
/**
|
|
5550
|
+
*
|
|
5551
|
+
* @export
|
|
5552
|
+
* @interface IOrderReviewPostRequest
|
|
5553
|
+
*/
|
|
5554
|
+
export interface IOrderReviewPostRequest {
|
|
5555
|
+
/**
|
|
5556
|
+
*
|
|
5557
|
+
* @type {string}
|
|
5558
|
+
* @memberof IOrderReviewPostRequest
|
|
5559
|
+
*/
|
|
5560
|
+
'orderId': string;
|
|
5561
|
+
/**
|
|
5562
|
+
*
|
|
5563
|
+
* @type {string}
|
|
5564
|
+
* @memberof IOrderReviewPostRequest
|
|
5565
|
+
*/
|
|
5566
|
+
'productId': string;
|
|
5567
|
+
/**
|
|
5568
|
+
*
|
|
5569
|
+
* @type {number}
|
|
5570
|
+
* @memberof IOrderReviewPostRequest
|
|
5571
|
+
*/
|
|
5572
|
+
'rating': number;
|
|
5573
|
+
/**
|
|
5574
|
+
*
|
|
5575
|
+
* @type {string}
|
|
5576
|
+
* @memberof IOrderReviewPostRequest
|
|
5577
|
+
*/
|
|
5578
|
+
'name': string;
|
|
5579
|
+
/**
|
|
5580
|
+
*
|
|
5581
|
+
* @type {string}
|
|
5582
|
+
* @memberof IOrderReviewPostRequest
|
|
5583
|
+
*/
|
|
5584
|
+
'title': string;
|
|
5585
|
+
/**
|
|
5586
|
+
*
|
|
5587
|
+
* @type {string}
|
|
5588
|
+
* @memberof IOrderReviewPostRequest
|
|
5589
|
+
*/
|
|
5590
|
+
'comment': string;
|
|
5591
|
+
}
|
|
5482
5592
|
/**
|
|
5483
5593
|
*
|
|
5484
5594
|
* @export
|
|
@@ -6225,18 +6335,6 @@ export interface IProductCollectionQueryParams {
|
|
|
6225
6335
|
* @memberof IProductCollectionQueryParams
|
|
6226
6336
|
*/
|
|
6227
6337
|
'autoComplete'?: boolean;
|
|
6228
|
-
/**
|
|
6229
|
-
*
|
|
6230
|
-
* @type {Array<string>}
|
|
6231
|
-
* @memberof IProductCollectionQueryParams
|
|
6232
|
-
*/
|
|
6233
|
-
'mainVariant'?: Array<string>;
|
|
6234
|
-
/**
|
|
6235
|
-
*
|
|
6236
|
-
* @type {Array<string>}
|
|
6237
|
-
* @memberof IProductCollectionQueryParams
|
|
6238
|
-
*/
|
|
6239
|
-
'subVariant'?: Array<string>;
|
|
6240
6338
|
/**
|
|
6241
6339
|
*
|
|
6242
6340
|
* @type {string}
|
|
@@ -6259,6 +6357,8 @@ export declare const IProductCollectionQueryParamsSortEnum: {
|
|
|
6259
6357
|
readonly PRICE: "price";
|
|
6260
6358
|
readonly CREATED_AT: "createdAt";
|
|
6261
6359
|
readonly TOTAL_SALE: "totalSale";
|
|
6360
|
+
readonly RATING: "rating";
|
|
6361
|
+
readonly REVIEW_COUNT: "reviewCount";
|
|
6262
6362
|
};
|
|
6263
6363
|
export type IProductCollectionQueryParamsSortEnum = typeof IProductCollectionQueryParamsSortEnum[keyof typeof IProductCollectionQueryParamsSortEnum];
|
|
6264
6364
|
/**
|
|
@@ -6613,6 +6713,24 @@ export interface IProductResponse {
|
|
|
6613
6713
|
'attributes'?: {
|
|
6614
6714
|
[key: string]: string;
|
|
6615
6715
|
};
|
|
6716
|
+
/**
|
|
6717
|
+
*
|
|
6718
|
+
* @type {number}
|
|
6719
|
+
* @memberof IProductResponse
|
|
6720
|
+
*/
|
|
6721
|
+
'rating': number;
|
|
6722
|
+
/**
|
|
6723
|
+
*
|
|
6724
|
+
* @type {number}
|
|
6725
|
+
* @memberof IProductResponse
|
|
6726
|
+
*/
|
|
6727
|
+
'reviewCount': number;
|
|
6728
|
+
/**
|
|
6729
|
+
*
|
|
6730
|
+
* @type {IProductResponseReviewCounts}
|
|
6731
|
+
* @memberof IProductResponse
|
|
6732
|
+
*/
|
|
6733
|
+
'reviewCounts': IProductResponseReviewCounts;
|
|
6616
6734
|
/**
|
|
6617
6735
|
*
|
|
6618
6736
|
* @type {IBrandResponse}
|
|
@@ -6632,6 +6750,43 @@ export interface IProductResponse {
|
|
|
6632
6750
|
*/
|
|
6633
6751
|
'template': ITemplateResponse;
|
|
6634
6752
|
}
|
|
6753
|
+
/**
|
|
6754
|
+
*
|
|
6755
|
+
* @export
|
|
6756
|
+
* @interface IProductResponseReviewCounts
|
|
6757
|
+
*/
|
|
6758
|
+
export interface IProductResponseReviewCounts {
|
|
6759
|
+
/**
|
|
6760
|
+
*
|
|
6761
|
+
* @type {number}
|
|
6762
|
+
* @memberof IProductResponseReviewCounts
|
|
6763
|
+
*/
|
|
6764
|
+
'1': number;
|
|
6765
|
+
/**
|
|
6766
|
+
*
|
|
6767
|
+
* @type {number}
|
|
6768
|
+
* @memberof IProductResponseReviewCounts
|
|
6769
|
+
*/
|
|
6770
|
+
'2': number;
|
|
6771
|
+
/**
|
|
6772
|
+
*
|
|
6773
|
+
* @type {number}
|
|
6774
|
+
* @memberof IProductResponseReviewCounts
|
|
6775
|
+
*/
|
|
6776
|
+
'3': number;
|
|
6777
|
+
/**
|
|
6778
|
+
*
|
|
6779
|
+
* @type {number}
|
|
6780
|
+
* @memberof IProductResponseReviewCounts
|
|
6781
|
+
*/
|
|
6782
|
+
'4': number;
|
|
6783
|
+
/**
|
|
6784
|
+
*
|
|
6785
|
+
* @type {number}
|
|
6786
|
+
* @memberof IProductResponseReviewCounts
|
|
6787
|
+
*/
|
|
6788
|
+
'5': number;
|
|
6789
|
+
}
|
|
6635
6790
|
/**
|
|
6636
6791
|
*
|
|
6637
6792
|
* @export
|
|
@@ -6645,6 +6800,43 @@ export interface IProductResponseStockValue {
|
|
|
6645
6800
|
*/
|
|
6646
6801
|
'quantity': number;
|
|
6647
6802
|
}
|
|
6803
|
+
/**
|
|
6804
|
+
*
|
|
6805
|
+
* @export
|
|
6806
|
+
* @interface IProductReviewsResponse
|
|
6807
|
+
*/
|
|
6808
|
+
export interface IProductReviewsResponse {
|
|
6809
|
+
/**
|
|
6810
|
+
*
|
|
6811
|
+
* @type {number}
|
|
6812
|
+
* @memberof IProductReviewsResponse
|
|
6813
|
+
*/
|
|
6814
|
+
'page': number;
|
|
6815
|
+
/**
|
|
6816
|
+
*
|
|
6817
|
+
* @type {number}
|
|
6818
|
+
* @memberof IProductReviewsResponse
|
|
6819
|
+
*/
|
|
6820
|
+
'itemsPerPage': number;
|
|
6821
|
+
/**
|
|
6822
|
+
*
|
|
6823
|
+
* @type {number}
|
|
6824
|
+
* @memberof IProductReviewsResponse
|
|
6825
|
+
*/
|
|
6826
|
+
'total': number;
|
|
6827
|
+
/**
|
|
6828
|
+
*
|
|
6829
|
+
* @type {number}
|
|
6830
|
+
* @memberof IProductReviewsResponse
|
|
6831
|
+
*/
|
|
6832
|
+
'totalPages': number;
|
|
6833
|
+
/**
|
|
6834
|
+
*
|
|
6835
|
+
* @type {Array<IReview>}
|
|
6836
|
+
* @memberof IProductReviewsResponse
|
|
6837
|
+
*/
|
|
6838
|
+
'data': Array<IReview>;
|
|
6839
|
+
}
|
|
6648
6840
|
/**
|
|
6649
6841
|
*
|
|
6650
6842
|
* @export
|
|
@@ -6838,6 +7030,122 @@ export interface IResetPasswordRequest {
|
|
|
6838
7030
|
*/
|
|
6839
7031
|
'code': string;
|
|
6840
7032
|
}
|
|
7033
|
+
/**
|
|
7034
|
+
*
|
|
7035
|
+
* @export
|
|
7036
|
+
* @interface IReview
|
|
7037
|
+
*/
|
|
7038
|
+
export interface IReview {
|
|
7039
|
+
/**
|
|
7040
|
+
*
|
|
7041
|
+
* @type {string}
|
|
7042
|
+
* @memberof IReview
|
|
7043
|
+
*/
|
|
7044
|
+
'_id': string;
|
|
7045
|
+
/**
|
|
7046
|
+
*
|
|
7047
|
+
* @type {number}
|
|
7048
|
+
* @memberof IReview
|
|
7049
|
+
*/
|
|
7050
|
+
'__v': number;
|
|
7051
|
+
/**
|
|
7052
|
+
*
|
|
7053
|
+
* @type {string}
|
|
7054
|
+
* @memberof IReview
|
|
7055
|
+
*/
|
|
7056
|
+
'createdAt': string;
|
|
7057
|
+
/**
|
|
7058
|
+
*
|
|
7059
|
+
* @type {string}
|
|
7060
|
+
* @memberof IReview
|
|
7061
|
+
*/
|
|
7062
|
+
'updatedAt': string;
|
|
7063
|
+
/**
|
|
7064
|
+
*
|
|
7065
|
+
* @type {string}
|
|
7066
|
+
* @memberof IReview
|
|
7067
|
+
*/
|
|
7068
|
+
'company': string;
|
|
7069
|
+
/**
|
|
7070
|
+
*
|
|
7071
|
+
* @type {string}
|
|
7072
|
+
* @memberof IReview
|
|
7073
|
+
*/
|
|
7074
|
+
'order': string;
|
|
7075
|
+
/**
|
|
7076
|
+
*
|
|
7077
|
+
* @type {string}
|
|
7078
|
+
* @memberof IReview
|
|
7079
|
+
*/
|
|
7080
|
+
'relId': string;
|
|
7081
|
+
/**
|
|
7082
|
+
*
|
|
7083
|
+
* @type {string}
|
|
7084
|
+
* @memberof IReview
|
|
7085
|
+
*/
|
|
7086
|
+
'product': string;
|
|
7087
|
+
/**
|
|
7088
|
+
*
|
|
7089
|
+
* @type {number}
|
|
7090
|
+
* @memberof IReview
|
|
7091
|
+
*/
|
|
7092
|
+
'rating': number;
|
|
7093
|
+
/**
|
|
7094
|
+
*
|
|
7095
|
+
* @type {string}
|
|
7096
|
+
* @memberof IReview
|
|
7097
|
+
*/
|
|
7098
|
+
'name': string;
|
|
7099
|
+
/**
|
|
7100
|
+
*
|
|
7101
|
+
* @type {string}
|
|
7102
|
+
* @memberof IReview
|
|
7103
|
+
*/
|
|
7104
|
+
'title': string;
|
|
7105
|
+
/**
|
|
7106
|
+
*
|
|
7107
|
+
* @type {string}
|
|
7108
|
+
* @memberof IReview
|
|
7109
|
+
*/
|
|
7110
|
+
'comment': string;
|
|
7111
|
+
/**
|
|
7112
|
+
*
|
|
7113
|
+
* @type {ReviewStatusEnum}
|
|
7114
|
+
* @memberof IReview
|
|
7115
|
+
*/
|
|
7116
|
+
'status': ReviewStatusEnum;
|
|
7117
|
+
}
|
|
7118
|
+
/**
|
|
7119
|
+
*
|
|
7120
|
+
* @export
|
|
7121
|
+
* @interface IReviewPatchRequest
|
|
7122
|
+
*/
|
|
7123
|
+
export interface IReviewPatchRequest {
|
|
7124
|
+
/**
|
|
7125
|
+
*
|
|
7126
|
+
* @type {number}
|
|
7127
|
+
* @memberof IReviewPatchRequest
|
|
7128
|
+
*/
|
|
7129
|
+
'rating': number;
|
|
7130
|
+
/**
|
|
7131
|
+
*
|
|
7132
|
+
* @type {string}
|
|
7133
|
+
* @memberof IReviewPatchRequest
|
|
7134
|
+
*/
|
|
7135
|
+
'name': string;
|
|
7136
|
+
/**
|
|
7137
|
+
*
|
|
7138
|
+
* @type {string}
|
|
7139
|
+
* @memberof IReviewPatchRequest
|
|
7140
|
+
*/
|
|
7141
|
+
'title': string;
|
|
7142
|
+
/**
|
|
7143
|
+
*
|
|
7144
|
+
* @type {string}
|
|
7145
|
+
* @memberof IReviewPatchRequest
|
|
7146
|
+
*/
|
|
7147
|
+
'comment': string;
|
|
7148
|
+
}
|
|
6841
7149
|
/**
|
|
6842
7150
|
*
|
|
6843
7151
|
* @export
|
|
@@ -8875,6 +9183,12 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
|
|
|
8875
9183
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
8876
9184
|
*/
|
|
8877
9185
|
'shippingProviders': Array<ShippingProvider>;
|
|
9186
|
+
/**
|
|
9187
|
+
*
|
|
9188
|
+
* @type {boolean}
|
|
9189
|
+
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
9190
|
+
*/
|
|
9191
|
+
'autoApproveReviews': boolean;
|
|
8878
9192
|
}
|
|
8879
9193
|
/**
|
|
8880
9194
|
*
|
|
@@ -9719,6 +10033,24 @@ export interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttr
|
|
|
9719
10033
|
'attributes'?: {
|
|
9720
10034
|
[key: string]: string;
|
|
9721
10035
|
};
|
|
10036
|
+
/**
|
|
10037
|
+
*
|
|
10038
|
+
* @type {number}
|
|
10039
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
10040
|
+
*/
|
|
10041
|
+
'rating': number;
|
|
10042
|
+
/**
|
|
10043
|
+
*
|
|
10044
|
+
* @type {number}
|
|
10045
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
10046
|
+
*/
|
|
10047
|
+
'reviewCount': number;
|
|
10048
|
+
/**
|
|
10049
|
+
*
|
|
10050
|
+
* @type {IProductResponseReviewCounts}
|
|
10051
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
10052
|
+
*/
|
|
10053
|
+
'reviewCounts': IProductResponseReviewCounts;
|
|
9722
10054
|
}
|
|
9723
10055
|
/**
|
|
9724
10056
|
* From T, pick a set of properties whose keys are in the union K
|
|
@@ -10532,6 +10864,17 @@ export interface RecordLanguageEnumTitleStringTr {
|
|
|
10532
10864
|
*/
|
|
10533
10865
|
'title': string;
|
|
10534
10866
|
}
|
|
10867
|
+
/**
|
|
10868
|
+
*
|
|
10869
|
+
* @export
|
|
10870
|
+
* @enum {string}
|
|
10871
|
+
*/
|
|
10872
|
+
export declare const ReviewStatusEnum: {
|
|
10873
|
+
readonly WAITING_APPROVAL: "waiting_approval";
|
|
10874
|
+
readonly APPROVED: "approved";
|
|
10875
|
+
readonly REJECTED: "rejected";
|
|
10876
|
+
};
|
|
10877
|
+
export type ReviewStatusEnum = typeof ReviewStatusEnum[keyof typeof ReviewStatusEnum];
|
|
10535
10878
|
/**
|
|
10536
10879
|
*
|
|
10537
10880
|
* @export
|
|
@@ -10746,6 +11089,19 @@ export declare const TimezoneEnum: {
|
|
|
10746
11089
|
readonly UTC1400: "UTC+14:00";
|
|
10747
11090
|
};
|
|
10748
11091
|
export type TimezoneEnum = typeof TimezoneEnum[keyof typeof TimezoneEnum];
|
|
11092
|
+
/**
|
|
11093
|
+
*
|
|
11094
|
+
* @export
|
|
11095
|
+
* @interface UpdateReviewStatusRequest
|
|
11096
|
+
*/
|
|
11097
|
+
export interface UpdateReviewStatusRequest {
|
|
11098
|
+
/**
|
|
11099
|
+
*
|
|
11100
|
+
* @type {ReviewStatusEnum}
|
|
11101
|
+
* @memberof UpdateReviewStatusRequest
|
|
11102
|
+
*/
|
|
11103
|
+
'status': ReviewStatusEnum;
|
|
11104
|
+
}
|
|
10749
11105
|
/**
|
|
10750
11106
|
*
|
|
10751
11107
|
* @export
|
|
@@ -13059,6 +13415,14 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
|
|
|
13059
13415
|
* @throws {RequiredError}
|
|
13060
13416
|
*/
|
|
13061
13417
|
getCompanyPaymentGateways: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13418
|
+
/**
|
|
13419
|
+
*
|
|
13420
|
+
* @param {string} id
|
|
13421
|
+
* @param {ReviewStatusEnum} [status]
|
|
13422
|
+
* @param {*} [options] Override http request option.
|
|
13423
|
+
* @throws {RequiredError}
|
|
13424
|
+
*/
|
|
13425
|
+
getCompanyProductReviews: (id: string, status?: ReviewStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13062
13426
|
/**
|
|
13063
13427
|
*
|
|
13064
13428
|
* @param {string} id
|
|
@@ -13268,6 +13632,14 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
13268
13632
|
* @throws {RequiredError}
|
|
13269
13633
|
*/
|
|
13270
13634
|
getCompanyPaymentGateways(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ICompanyPaymentGatewaysResponse>>;
|
|
13635
|
+
/**
|
|
13636
|
+
*
|
|
13637
|
+
* @param {string} id
|
|
13638
|
+
* @param {ReviewStatusEnum} [status]
|
|
13639
|
+
* @param {*} [options] Override http request option.
|
|
13640
|
+
* @throws {RequiredError}
|
|
13641
|
+
*/
|
|
13642
|
+
getCompanyProductReviews(id: string, status?: ReviewStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IProductReviewsResponse>>;
|
|
13271
13643
|
/**
|
|
13272
13644
|
*
|
|
13273
13645
|
* @param {string} id
|
|
@@ -13453,6 +13825,13 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
|
|
|
13453
13825
|
* @throws {RequiredError}
|
|
13454
13826
|
*/
|
|
13455
13827
|
getCompanyPaymentGateways(requestParameters: CompanyApiGetCompanyPaymentGatewaysRequest, options?: RawAxiosRequestConfig): AxiosPromise<ICompanyPaymentGatewaysResponse>;
|
|
13828
|
+
/**
|
|
13829
|
+
*
|
|
13830
|
+
* @param {CompanyApiGetCompanyProductReviewsRequest} requestParameters Request parameters.
|
|
13831
|
+
* @param {*} [options] Override http request option.
|
|
13832
|
+
* @throws {RequiredError}
|
|
13833
|
+
*/
|
|
13834
|
+
getCompanyProductReviews(requestParameters: CompanyApiGetCompanyProductReviewsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IProductReviewsResponse>;
|
|
13456
13835
|
/**
|
|
13457
13836
|
*
|
|
13458
13837
|
* @param {CompanyApiGetCompanyUsersRequest} requestParameters Request parameters.
|
|
@@ -13844,6 +14223,25 @@ export interface CompanyApiGetCompanyPaymentGatewaysRequest {
|
|
|
13844
14223
|
*/
|
|
13845
14224
|
readonly id: string;
|
|
13846
14225
|
}
|
|
14226
|
+
/**
|
|
14227
|
+
* Request parameters for getCompanyProductReviews operation in CompanyApi.
|
|
14228
|
+
* @export
|
|
14229
|
+
* @interface CompanyApiGetCompanyProductReviewsRequest
|
|
14230
|
+
*/
|
|
14231
|
+
export interface CompanyApiGetCompanyProductReviewsRequest {
|
|
14232
|
+
/**
|
|
14233
|
+
*
|
|
14234
|
+
* @type {string}
|
|
14235
|
+
* @memberof CompanyApiGetCompanyProductReviews
|
|
14236
|
+
*/
|
|
14237
|
+
readonly id: string;
|
|
14238
|
+
/**
|
|
14239
|
+
*
|
|
14240
|
+
* @type {ReviewStatusEnum}
|
|
14241
|
+
* @memberof CompanyApiGetCompanyProductReviews
|
|
14242
|
+
*/
|
|
14243
|
+
readonly status?: ReviewStatusEnum;
|
|
14244
|
+
}
|
|
13847
14245
|
/**
|
|
13848
14246
|
* Request parameters for getCompanyUsers operation in CompanyApi.
|
|
13849
14247
|
* @export
|
|
@@ -14164,6 +14562,14 @@ export declare class CompanyApi extends BaseAPI {
|
|
|
14164
14562
|
* @memberof CompanyApi
|
|
14165
14563
|
*/
|
|
14166
14564
|
getCompanyPaymentGateways(requestParameters: CompanyApiGetCompanyPaymentGatewaysRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ICompanyPaymentGatewaysResponse, any>>;
|
|
14565
|
+
/**
|
|
14566
|
+
*
|
|
14567
|
+
* @param {CompanyApiGetCompanyProductReviewsRequest} requestParameters Request parameters.
|
|
14568
|
+
* @param {*} [options] Override http request option.
|
|
14569
|
+
* @throws {RequiredError}
|
|
14570
|
+
* @memberof CompanyApi
|
|
14571
|
+
*/
|
|
14572
|
+
getCompanyProductReviews(requestParameters: CompanyApiGetCompanyProductReviewsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IProductReviewsResponse, any>>;
|
|
14167
14573
|
/**
|
|
14168
14574
|
*
|
|
14169
14575
|
* @param {CompanyApiGetCompanyUsersRequest} requestParameters Request parameters.
|
|
@@ -15642,6 +16048,13 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
15642
16048
|
* @throws {RequiredError}
|
|
15643
16049
|
*/
|
|
15644
16050
|
createReturnAdmin: (id: string, iOrderReturnAdminPostRequest: IOrderReturnAdminPostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16051
|
+
/**
|
|
16052
|
+
*
|
|
16053
|
+
* @param {IOrderReviewPostRequest} iOrderReviewPostRequest
|
|
16054
|
+
* @param {*} [options] Override http request option.
|
|
16055
|
+
* @throws {RequiredError}
|
|
16056
|
+
*/
|
|
16057
|
+
createReview: (iOrderReviewPostRequest: IOrderReviewPostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15645
16058
|
/**
|
|
15646
16059
|
*
|
|
15647
16060
|
* @param {number} [page]
|
|
@@ -15698,6 +16111,22 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
15698
16111
|
* @throws {RequiredError}
|
|
15699
16112
|
*/
|
|
15700
16113
|
updateReturn: (orderId: string, returnId: string, iOrderReturnUpdatePatchRequest: IOrderReturnUpdatePatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16114
|
+
/**
|
|
16115
|
+
*
|
|
16116
|
+
* @param {string} id
|
|
16117
|
+
* @param {IReviewPatchRequest} iReviewPatchRequest
|
|
16118
|
+
* @param {*} [options] Override http request option.
|
|
16119
|
+
* @throws {RequiredError}
|
|
16120
|
+
*/
|
|
16121
|
+
updateReview: (id: string, iReviewPatchRequest: IReviewPatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16122
|
+
/**
|
|
16123
|
+
*
|
|
16124
|
+
* @param {string} id
|
|
16125
|
+
* @param {UpdateReviewStatusRequest} updateReviewStatusRequest
|
|
16126
|
+
* @param {*} [options] Override http request option.
|
|
16127
|
+
* @throws {RequiredError}
|
|
16128
|
+
*/
|
|
16129
|
+
updateReviewStatus: (id: string, updateReviewStatusRequest: UpdateReviewStatusRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15701
16130
|
};
|
|
15702
16131
|
/**
|
|
15703
16132
|
* OrderApi - functional programming interface
|
|
@@ -15727,6 +16156,13 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
15727
16156
|
* @throws {RequiredError}
|
|
15728
16157
|
*/
|
|
15729
16158
|
createReturnAdmin(id: string, iOrderReturnAdminPostRequest: IOrderReturnAdminPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
16159
|
+
/**
|
|
16160
|
+
*
|
|
16161
|
+
* @param {IOrderReviewPostRequest} iOrderReviewPostRequest
|
|
16162
|
+
* @param {*} [options] Override http request option.
|
|
16163
|
+
* @throws {RequiredError}
|
|
16164
|
+
*/
|
|
16165
|
+
createReview(iOrderReviewPostRequest: IOrderReviewPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
15730
16166
|
/**
|
|
15731
16167
|
*
|
|
15732
16168
|
* @param {number} [page]
|
|
@@ -15783,6 +16219,22 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
15783
16219
|
* @throws {RequiredError}
|
|
15784
16220
|
*/
|
|
15785
16221
|
updateReturn(orderId: string, returnId: string, iOrderReturnUpdatePatchRequest: IOrderReturnUpdatePatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
16222
|
+
/**
|
|
16223
|
+
*
|
|
16224
|
+
* @param {string} id
|
|
16225
|
+
* @param {IReviewPatchRequest} iReviewPatchRequest
|
|
16226
|
+
* @param {*} [options] Override http request option.
|
|
16227
|
+
* @throws {RequiredError}
|
|
16228
|
+
*/
|
|
16229
|
+
updateReview(id: string, iReviewPatchRequest: IReviewPatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IReview>>;
|
|
16230
|
+
/**
|
|
16231
|
+
*
|
|
16232
|
+
* @param {string} id
|
|
16233
|
+
* @param {UpdateReviewStatusRequest} updateReviewStatusRequest
|
|
16234
|
+
* @param {*} [options] Override http request option.
|
|
16235
|
+
* @throws {RequiredError}
|
|
16236
|
+
*/
|
|
16237
|
+
updateReviewStatus(id: string, updateReviewStatusRequest: UpdateReviewStatusRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IReview>>;
|
|
15786
16238
|
};
|
|
15787
16239
|
/**
|
|
15788
16240
|
* OrderApi - factory interface
|
|
@@ -15810,6 +16262,13 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
|
15810
16262
|
* @throws {RequiredError}
|
|
15811
16263
|
*/
|
|
15812
16264
|
createReturnAdmin(requestParameters: OrderApiCreateReturnAdminRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
16265
|
+
/**
|
|
16266
|
+
*
|
|
16267
|
+
* @param {OrderApiCreateReviewRequest} requestParameters Request parameters.
|
|
16268
|
+
* @param {*} [options] Override http request option.
|
|
16269
|
+
* @throws {RequiredError}
|
|
16270
|
+
*/
|
|
16271
|
+
createReview(requestParameters: OrderApiCreateReviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
15813
16272
|
/**
|
|
15814
16273
|
*
|
|
15815
16274
|
* @param {OrderApiGetMyOrdersRequest} requestParameters Request parameters.
|
|
@@ -15845,6 +16304,20 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
|
15845
16304
|
* @throws {RequiredError}
|
|
15846
16305
|
*/
|
|
15847
16306
|
updateReturn(requestParameters: OrderApiUpdateReturnRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
16307
|
+
/**
|
|
16308
|
+
*
|
|
16309
|
+
* @param {OrderApiUpdateReviewRequest} requestParameters Request parameters.
|
|
16310
|
+
* @param {*} [options] Override http request option.
|
|
16311
|
+
* @throws {RequiredError}
|
|
16312
|
+
*/
|
|
16313
|
+
updateReview(requestParameters: OrderApiUpdateReviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<IReview>;
|
|
16314
|
+
/**
|
|
16315
|
+
*
|
|
16316
|
+
* @param {OrderApiUpdateReviewStatusRequest} requestParameters Request parameters.
|
|
16317
|
+
* @param {*} [options] Override http request option.
|
|
16318
|
+
* @throws {RequiredError}
|
|
16319
|
+
*/
|
|
16320
|
+
updateReviewStatus(requestParameters: OrderApiUpdateReviewStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<IReview>;
|
|
15848
16321
|
};
|
|
15849
16322
|
/**
|
|
15850
16323
|
* Request parameters for createOrder operation in OrderApi.
|
|
@@ -15897,6 +16370,19 @@ export interface OrderApiCreateReturnAdminRequest {
|
|
|
15897
16370
|
*/
|
|
15898
16371
|
readonly iOrderReturnAdminPostRequest: IOrderReturnAdminPostRequest;
|
|
15899
16372
|
}
|
|
16373
|
+
/**
|
|
16374
|
+
* Request parameters for createReview operation in OrderApi.
|
|
16375
|
+
* @export
|
|
16376
|
+
* @interface OrderApiCreateReviewRequest
|
|
16377
|
+
*/
|
|
16378
|
+
export interface OrderApiCreateReviewRequest {
|
|
16379
|
+
/**
|
|
16380
|
+
*
|
|
16381
|
+
* @type {IOrderReviewPostRequest}
|
|
16382
|
+
* @memberof OrderApiCreateReview
|
|
16383
|
+
*/
|
|
16384
|
+
readonly iOrderReviewPostRequest: IOrderReviewPostRequest;
|
|
16385
|
+
}
|
|
15900
16386
|
/**
|
|
15901
16387
|
* Request parameters for getMyOrders operation in OrderApi.
|
|
15902
16388
|
* @export
|
|
@@ -16088,6 +16574,44 @@ export interface OrderApiUpdateReturnRequest {
|
|
|
16088
16574
|
*/
|
|
16089
16575
|
readonly iOrderReturnUpdatePatchRequest: IOrderReturnUpdatePatchRequest;
|
|
16090
16576
|
}
|
|
16577
|
+
/**
|
|
16578
|
+
* Request parameters for updateReview operation in OrderApi.
|
|
16579
|
+
* @export
|
|
16580
|
+
* @interface OrderApiUpdateReviewRequest
|
|
16581
|
+
*/
|
|
16582
|
+
export interface OrderApiUpdateReviewRequest {
|
|
16583
|
+
/**
|
|
16584
|
+
*
|
|
16585
|
+
* @type {string}
|
|
16586
|
+
* @memberof OrderApiUpdateReview
|
|
16587
|
+
*/
|
|
16588
|
+
readonly id: string;
|
|
16589
|
+
/**
|
|
16590
|
+
*
|
|
16591
|
+
* @type {IReviewPatchRequest}
|
|
16592
|
+
* @memberof OrderApiUpdateReview
|
|
16593
|
+
*/
|
|
16594
|
+
readonly iReviewPatchRequest: IReviewPatchRequest;
|
|
16595
|
+
}
|
|
16596
|
+
/**
|
|
16597
|
+
* Request parameters for updateReviewStatus operation in OrderApi.
|
|
16598
|
+
* @export
|
|
16599
|
+
* @interface OrderApiUpdateReviewStatusRequest
|
|
16600
|
+
*/
|
|
16601
|
+
export interface OrderApiUpdateReviewStatusRequest {
|
|
16602
|
+
/**
|
|
16603
|
+
*
|
|
16604
|
+
* @type {string}
|
|
16605
|
+
* @memberof OrderApiUpdateReviewStatus
|
|
16606
|
+
*/
|
|
16607
|
+
readonly id: string;
|
|
16608
|
+
/**
|
|
16609
|
+
*
|
|
16610
|
+
* @type {UpdateReviewStatusRequest}
|
|
16611
|
+
* @memberof OrderApiUpdateReviewStatus
|
|
16612
|
+
*/
|
|
16613
|
+
readonly updateReviewStatusRequest: UpdateReviewStatusRequest;
|
|
16614
|
+
}
|
|
16091
16615
|
/**
|
|
16092
16616
|
* OrderApi - object-oriented interface
|
|
16093
16617
|
* @export
|
|
@@ -16119,6 +16643,14 @@ export declare class OrderApi extends BaseAPI {
|
|
|
16119
16643
|
* @memberof OrderApi
|
|
16120
16644
|
*/
|
|
16121
16645
|
createReturnAdmin(requestParameters: OrderApiCreateReturnAdminRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
16646
|
+
/**
|
|
16647
|
+
*
|
|
16648
|
+
* @param {OrderApiCreateReviewRequest} requestParameters Request parameters.
|
|
16649
|
+
* @param {*} [options] Override http request option.
|
|
16650
|
+
* @throws {RequiredError}
|
|
16651
|
+
* @memberof OrderApi
|
|
16652
|
+
*/
|
|
16653
|
+
createReview(requestParameters: OrderApiCreateReviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
16122
16654
|
/**
|
|
16123
16655
|
*
|
|
16124
16656
|
* @param {OrderApiGetMyOrdersRequest} requestParameters Request parameters.
|
|
@@ -16159,6 +16691,22 @@ export declare class OrderApi extends BaseAPI {
|
|
|
16159
16691
|
* @memberof OrderApi
|
|
16160
16692
|
*/
|
|
16161
16693
|
updateReturn(requestParameters: OrderApiUpdateReturnRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
16694
|
+
/**
|
|
16695
|
+
*
|
|
16696
|
+
* @param {OrderApiUpdateReviewRequest} requestParameters Request parameters.
|
|
16697
|
+
* @param {*} [options] Override http request option.
|
|
16698
|
+
* @throws {RequiredError}
|
|
16699
|
+
* @memberof OrderApi
|
|
16700
|
+
*/
|
|
16701
|
+
updateReview(requestParameters: OrderApiUpdateReviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IReview, any>>;
|
|
16702
|
+
/**
|
|
16703
|
+
*
|
|
16704
|
+
* @param {OrderApiUpdateReviewStatusRequest} requestParameters Request parameters.
|
|
16705
|
+
* @param {*} [options] Override http request option.
|
|
16706
|
+
* @throws {RequiredError}
|
|
16707
|
+
* @memberof OrderApi
|
|
16708
|
+
*/
|
|
16709
|
+
updateReviewStatus(requestParameters: OrderApiUpdateReviewStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IReview, any>>;
|
|
16162
16710
|
}
|
|
16163
16711
|
/**
|
|
16164
16712
|
* @export
|
|
@@ -16224,14 +16772,14 @@ export declare const PageApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
16224
16772
|
getPageBySlug: (slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16225
16773
|
/**
|
|
16226
16774
|
*
|
|
16227
|
-
* @param {
|
|
16775
|
+
* @param {PageTypeEnum} type
|
|
16228
16776
|
* @param {string} [companyId]
|
|
16229
16777
|
* @param {string} [domain]
|
|
16230
16778
|
* @param {string} [template]
|
|
16231
16779
|
* @param {*} [options] Override http request option.
|
|
16232
16780
|
* @throws {RequiredError}
|
|
16233
16781
|
*/
|
|
16234
|
-
getPageByType: (type:
|
|
16782
|
+
getPageByType: (type: PageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16235
16783
|
/**
|
|
16236
16784
|
*
|
|
16237
16785
|
* @param {number} [page]
|
|
@@ -16314,14 +16862,14 @@ export declare const PageApiFp: (configuration?: Configuration) => {
|
|
|
16314
16862
|
getPageBySlug(slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
|
|
16315
16863
|
/**
|
|
16316
16864
|
*
|
|
16317
|
-
* @param {
|
|
16865
|
+
* @param {PageTypeEnum} type
|
|
16318
16866
|
* @param {string} [companyId]
|
|
16319
16867
|
* @param {string} [domain]
|
|
16320
16868
|
* @param {string} [template]
|
|
16321
16869
|
* @param {*} [options] Override http request option.
|
|
16322
16870
|
* @throws {RequiredError}
|
|
16323
16871
|
*/
|
|
16324
|
-
getPageByType(type:
|
|
16872
|
+
getPageByType(type: PageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
|
|
16325
16873
|
/**
|
|
16326
16874
|
*
|
|
16327
16875
|
* @param {number} [page]
|
|
@@ -16534,10 +17082,10 @@ export interface PageApiGetPageBySlugRequest {
|
|
|
16534
17082
|
export interface PageApiGetPageByTypeRequest {
|
|
16535
17083
|
/**
|
|
16536
17084
|
*
|
|
16537
|
-
* @type {
|
|
17085
|
+
* @type {PageTypeEnum}
|
|
16538
17086
|
* @memberof PageApiGetPageByType
|
|
16539
17087
|
*/
|
|
16540
|
-
readonly type:
|
|
17088
|
+
readonly type: PageTypeEnum;
|
|
16541
17089
|
/**
|
|
16542
17090
|
*
|
|
16543
17091
|
* @type {string}
|
|
@@ -17133,6 +17681,14 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
|
|
|
17133
17681
|
* @throws {RequiredError}
|
|
17134
17682
|
*/
|
|
17135
17683
|
getProductBySlug: (slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17684
|
+
/**
|
|
17685
|
+
*
|
|
17686
|
+
* @param {string} id
|
|
17687
|
+
* @param {number} [rating]
|
|
17688
|
+
* @param {*} [options] Override http request option.
|
|
17689
|
+
* @throws {RequiredError}
|
|
17690
|
+
*/
|
|
17691
|
+
getProductReviews: (id: string, rating?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17136
17692
|
/**
|
|
17137
17693
|
*
|
|
17138
17694
|
* @param {number} [page]
|
|
@@ -17151,14 +17707,12 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
|
|
|
17151
17707
|
* @param {number} [priceGte]
|
|
17152
17708
|
* @param {number} [priceLte]
|
|
17153
17709
|
* @param {boolean} [autoComplete]
|
|
17154
|
-
* @param {Array<string>} [mainVariant]
|
|
17155
|
-
* @param {Array<string>} [subVariant]
|
|
17156
17710
|
* @param {GetProductsSortEnum} [sort]
|
|
17157
17711
|
* @param {ContentStatusEnum} [status]
|
|
17158
17712
|
* @param {*} [options] Override http request option.
|
|
17159
17713
|
* @throws {RequiredError}
|
|
17160
17714
|
*/
|
|
17161
|
-
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,
|
|
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>;
|
|
17162
17716
|
/**
|
|
17163
17717
|
*
|
|
17164
17718
|
* @param {string} id
|
|
@@ -17221,6 +17775,14 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
|
|
|
17221
17775
|
* @throws {RequiredError}
|
|
17222
17776
|
*/
|
|
17223
17777
|
getProductBySlug(slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IProductResponse>>;
|
|
17778
|
+
/**
|
|
17779
|
+
*
|
|
17780
|
+
* @param {string} id
|
|
17781
|
+
* @param {number} [rating]
|
|
17782
|
+
* @param {*} [options] Override http request option.
|
|
17783
|
+
* @throws {RequiredError}
|
|
17784
|
+
*/
|
|
17785
|
+
getProductReviews(id: string, rating?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IProductReviewsResponse>>;
|
|
17224
17786
|
/**
|
|
17225
17787
|
*
|
|
17226
17788
|
* @param {number} [page]
|
|
@@ -17239,14 +17801,12 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
|
|
|
17239
17801
|
* @param {number} [priceGte]
|
|
17240
17802
|
* @param {number} [priceLte]
|
|
17241
17803
|
* @param {boolean} [autoComplete]
|
|
17242
|
-
* @param {Array<string>} [mainVariant]
|
|
17243
|
-
* @param {Array<string>} [subVariant]
|
|
17244
17804
|
* @param {GetProductsSortEnum} [sort]
|
|
17245
17805
|
* @param {ContentStatusEnum} [status]
|
|
17246
17806
|
* @param {*} [options] Override http request option.
|
|
17247
17807
|
* @throws {RequiredError}
|
|
17248
17808
|
*/
|
|
17249
|
-
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,
|
|
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>>;
|
|
17250
17810
|
/**
|
|
17251
17811
|
*
|
|
17252
17812
|
* @param {string} id
|
|
@@ -17303,6 +17863,13 @@ export declare const ProductApiFactory: (configuration?: Configuration, basePath
|
|
|
17303
17863
|
* @throws {RequiredError}
|
|
17304
17864
|
*/
|
|
17305
17865
|
getProductBySlug(requestParameters: ProductApiGetProductBySlugRequest, options?: RawAxiosRequestConfig): AxiosPromise<IProductResponse>;
|
|
17866
|
+
/**
|
|
17867
|
+
*
|
|
17868
|
+
* @param {ProductApiGetProductReviewsRequest} requestParameters Request parameters.
|
|
17869
|
+
* @param {*} [options] Override http request option.
|
|
17870
|
+
* @throws {RequiredError}
|
|
17871
|
+
*/
|
|
17872
|
+
getProductReviews(requestParameters: ProductApiGetProductReviewsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IProductReviewsResponse>;
|
|
17306
17873
|
/**
|
|
17307
17874
|
*
|
|
17308
17875
|
* @param {ProductApiGetProductsRequest} requestParameters Request parameters.
|
|
@@ -17432,6 +17999,25 @@ export interface ProductApiGetProductBySlugRequest {
|
|
|
17432
17999
|
*/
|
|
17433
18000
|
readonly domain?: string;
|
|
17434
18001
|
}
|
|
18002
|
+
/**
|
|
18003
|
+
* Request parameters for getProductReviews operation in ProductApi.
|
|
18004
|
+
* @export
|
|
18005
|
+
* @interface ProductApiGetProductReviewsRequest
|
|
18006
|
+
*/
|
|
18007
|
+
export interface ProductApiGetProductReviewsRequest {
|
|
18008
|
+
/**
|
|
18009
|
+
*
|
|
18010
|
+
* @type {string}
|
|
18011
|
+
* @memberof ProductApiGetProductReviews
|
|
18012
|
+
*/
|
|
18013
|
+
readonly id: string;
|
|
18014
|
+
/**
|
|
18015
|
+
*
|
|
18016
|
+
* @type {number}
|
|
18017
|
+
* @memberof ProductApiGetProductReviews
|
|
18018
|
+
*/
|
|
18019
|
+
readonly rating?: number;
|
|
18020
|
+
}
|
|
17435
18021
|
/**
|
|
17436
18022
|
* Request parameters for getProducts operation in ProductApi.
|
|
17437
18023
|
* @export
|
|
@@ -17536,19 +18122,7 @@ export interface ProductApiGetProductsRequest {
|
|
|
17536
18122
|
readonly autoComplete?: boolean;
|
|
17537
18123
|
/**
|
|
17538
18124
|
*
|
|
17539
|
-
* @type {
|
|
17540
|
-
* @memberof ProductApiGetProducts
|
|
17541
|
-
*/
|
|
17542
|
-
readonly mainVariant?: Array<string>;
|
|
17543
|
-
/**
|
|
17544
|
-
*
|
|
17545
|
-
* @type {Array<string>}
|
|
17546
|
-
* @memberof ProductApiGetProducts
|
|
17547
|
-
*/
|
|
17548
|
-
readonly subVariant?: Array<string>;
|
|
17549
|
-
/**
|
|
17550
|
-
*
|
|
17551
|
-
* @type {'price' | 'createdAt' | 'totalSale'}
|
|
18125
|
+
* @type {'price' | 'createdAt' | 'totalSale' | 'rating' | 'reviewCount'}
|
|
17552
18126
|
* @memberof ProductApiGetProducts
|
|
17553
18127
|
*/
|
|
17554
18128
|
readonly sort?: GetProductsSortEnum;
|
|
@@ -17633,6 +18207,14 @@ export declare class ProductApi extends BaseAPI {
|
|
|
17633
18207
|
* @memberof ProductApi
|
|
17634
18208
|
*/
|
|
17635
18209
|
getProductBySlug(requestParameters: ProductApiGetProductBySlugRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IProductResponse, any>>;
|
|
18210
|
+
/**
|
|
18211
|
+
*
|
|
18212
|
+
* @param {ProductApiGetProductReviewsRequest} requestParameters Request parameters.
|
|
18213
|
+
* @param {*} [options] Override http request option.
|
|
18214
|
+
* @throws {RequiredError}
|
|
18215
|
+
* @memberof ProductApi
|
|
18216
|
+
*/
|
|
18217
|
+
getProductReviews(requestParameters: ProductApiGetProductReviewsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IProductReviewsResponse, any>>;
|
|
17636
18218
|
/**
|
|
17637
18219
|
*
|
|
17638
18220
|
* @param {ProductApiGetProductsRequest} requestParameters Request parameters.
|
|
@@ -17665,6 +18247,8 @@ export declare const GetProductsSortEnum: {
|
|
|
17665
18247
|
readonly PRICE: "price";
|
|
17666
18248
|
readonly CREATED_AT: "createdAt";
|
|
17667
18249
|
readonly TOTAL_SALE: "totalSale";
|
|
18250
|
+
readonly RATING: "rating";
|
|
18251
|
+
readonly REVIEW_COUNT: "reviewCount";
|
|
17668
18252
|
};
|
|
17669
18253
|
export type GetProductsSortEnum = typeof GetProductsSortEnum[keyof typeof GetProductsSortEnum];
|
|
17670
18254
|
/**
|