@infisale-client/api 1.2.73 → 1.2.74
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 +634 -37
- package/dist/api/api.js +356 -22
- package/dist/api/api.mjs +353 -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,32 @@ 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
|
+
* @enum {string}
|
|
11096
|
+
*/
|
|
11097
|
+
export declare const UniquePageTypeEnum: {
|
|
11098
|
+
readonly HOME: "home";
|
|
11099
|
+
readonly CART: "cart";
|
|
11100
|
+
readonly CHECKOUT: "checkout";
|
|
11101
|
+
readonly SEARCH: "search";
|
|
11102
|
+
readonly NOT_FOUND: "not-found";
|
|
11103
|
+
};
|
|
11104
|
+
export type UniquePageTypeEnum = typeof UniquePageTypeEnum[keyof typeof UniquePageTypeEnum];
|
|
11105
|
+
/**
|
|
11106
|
+
*
|
|
11107
|
+
* @export
|
|
11108
|
+
* @interface UpdateReviewStatusRequest
|
|
11109
|
+
*/
|
|
11110
|
+
export interface UpdateReviewStatusRequest {
|
|
11111
|
+
/**
|
|
11112
|
+
*
|
|
11113
|
+
* @type {ReviewStatusEnum}
|
|
11114
|
+
* @memberof UpdateReviewStatusRequest
|
|
11115
|
+
*/
|
|
11116
|
+
'status': ReviewStatusEnum;
|
|
11117
|
+
}
|
|
10749
11118
|
/**
|
|
10750
11119
|
*
|
|
10751
11120
|
* @export
|
|
@@ -13059,6 +13428,14 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
|
|
|
13059
13428
|
* @throws {RequiredError}
|
|
13060
13429
|
*/
|
|
13061
13430
|
getCompanyPaymentGateways: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13431
|
+
/**
|
|
13432
|
+
*
|
|
13433
|
+
* @param {string} id
|
|
13434
|
+
* @param {ReviewStatusEnum} [status]
|
|
13435
|
+
* @param {*} [options] Override http request option.
|
|
13436
|
+
* @throws {RequiredError}
|
|
13437
|
+
*/
|
|
13438
|
+
getCompanyProductReviews: (id: string, status?: ReviewStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13062
13439
|
/**
|
|
13063
13440
|
*
|
|
13064
13441
|
* @param {string} id
|
|
@@ -13268,6 +13645,14 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
13268
13645
|
* @throws {RequiredError}
|
|
13269
13646
|
*/
|
|
13270
13647
|
getCompanyPaymentGateways(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ICompanyPaymentGatewaysResponse>>;
|
|
13648
|
+
/**
|
|
13649
|
+
*
|
|
13650
|
+
* @param {string} id
|
|
13651
|
+
* @param {ReviewStatusEnum} [status]
|
|
13652
|
+
* @param {*} [options] Override http request option.
|
|
13653
|
+
* @throws {RequiredError}
|
|
13654
|
+
*/
|
|
13655
|
+
getCompanyProductReviews(id: string, status?: ReviewStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IProductReviewsResponse>>;
|
|
13271
13656
|
/**
|
|
13272
13657
|
*
|
|
13273
13658
|
* @param {string} id
|
|
@@ -13453,6 +13838,13 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
|
|
|
13453
13838
|
* @throws {RequiredError}
|
|
13454
13839
|
*/
|
|
13455
13840
|
getCompanyPaymentGateways(requestParameters: CompanyApiGetCompanyPaymentGatewaysRequest, options?: RawAxiosRequestConfig): AxiosPromise<ICompanyPaymentGatewaysResponse>;
|
|
13841
|
+
/**
|
|
13842
|
+
*
|
|
13843
|
+
* @param {CompanyApiGetCompanyProductReviewsRequest} requestParameters Request parameters.
|
|
13844
|
+
* @param {*} [options] Override http request option.
|
|
13845
|
+
* @throws {RequiredError}
|
|
13846
|
+
*/
|
|
13847
|
+
getCompanyProductReviews(requestParameters: CompanyApiGetCompanyProductReviewsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IProductReviewsResponse>;
|
|
13456
13848
|
/**
|
|
13457
13849
|
*
|
|
13458
13850
|
* @param {CompanyApiGetCompanyUsersRequest} requestParameters Request parameters.
|
|
@@ -13844,6 +14236,25 @@ export interface CompanyApiGetCompanyPaymentGatewaysRequest {
|
|
|
13844
14236
|
*/
|
|
13845
14237
|
readonly id: string;
|
|
13846
14238
|
}
|
|
14239
|
+
/**
|
|
14240
|
+
* Request parameters for getCompanyProductReviews operation in CompanyApi.
|
|
14241
|
+
* @export
|
|
14242
|
+
* @interface CompanyApiGetCompanyProductReviewsRequest
|
|
14243
|
+
*/
|
|
14244
|
+
export interface CompanyApiGetCompanyProductReviewsRequest {
|
|
14245
|
+
/**
|
|
14246
|
+
*
|
|
14247
|
+
* @type {string}
|
|
14248
|
+
* @memberof CompanyApiGetCompanyProductReviews
|
|
14249
|
+
*/
|
|
14250
|
+
readonly id: string;
|
|
14251
|
+
/**
|
|
14252
|
+
*
|
|
14253
|
+
* @type {ReviewStatusEnum}
|
|
14254
|
+
* @memberof CompanyApiGetCompanyProductReviews
|
|
14255
|
+
*/
|
|
14256
|
+
readonly status?: ReviewStatusEnum;
|
|
14257
|
+
}
|
|
13847
14258
|
/**
|
|
13848
14259
|
* Request parameters for getCompanyUsers operation in CompanyApi.
|
|
13849
14260
|
* @export
|
|
@@ -14164,6 +14575,14 @@ export declare class CompanyApi extends BaseAPI {
|
|
|
14164
14575
|
* @memberof CompanyApi
|
|
14165
14576
|
*/
|
|
14166
14577
|
getCompanyPaymentGateways(requestParameters: CompanyApiGetCompanyPaymentGatewaysRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ICompanyPaymentGatewaysResponse, any>>;
|
|
14578
|
+
/**
|
|
14579
|
+
*
|
|
14580
|
+
* @param {CompanyApiGetCompanyProductReviewsRequest} requestParameters Request parameters.
|
|
14581
|
+
* @param {*} [options] Override http request option.
|
|
14582
|
+
* @throws {RequiredError}
|
|
14583
|
+
* @memberof CompanyApi
|
|
14584
|
+
*/
|
|
14585
|
+
getCompanyProductReviews(requestParameters: CompanyApiGetCompanyProductReviewsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IProductReviewsResponse, any>>;
|
|
14167
14586
|
/**
|
|
14168
14587
|
*
|
|
14169
14588
|
* @param {CompanyApiGetCompanyUsersRequest} requestParameters Request parameters.
|
|
@@ -15642,6 +16061,13 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
15642
16061
|
* @throws {RequiredError}
|
|
15643
16062
|
*/
|
|
15644
16063
|
createReturnAdmin: (id: string, iOrderReturnAdminPostRequest: IOrderReturnAdminPostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16064
|
+
/**
|
|
16065
|
+
*
|
|
16066
|
+
* @param {IOrderReviewPostRequest} iOrderReviewPostRequest
|
|
16067
|
+
* @param {*} [options] Override http request option.
|
|
16068
|
+
* @throws {RequiredError}
|
|
16069
|
+
*/
|
|
16070
|
+
createReview: (iOrderReviewPostRequest: IOrderReviewPostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15645
16071
|
/**
|
|
15646
16072
|
*
|
|
15647
16073
|
* @param {number} [page]
|
|
@@ -15698,6 +16124,22 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
15698
16124
|
* @throws {RequiredError}
|
|
15699
16125
|
*/
|
|
15700
16126
|
updateReturn: (orderId: string, returnId: string, iOrderReturnUpdatePatchRequest: IOrderReturnUpdatePatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16127
|
+
/**
|
|
16128
|
+
*
|
|
16129
|
+
* @param {string} id
|
|
16130
|
+
* @param {IReviewPatchRequest} iReviewPatchRequest
|
|
16131
|
+
* @param {*} [options] Override http request option.
|
|
16132
|
+
* @throws {RequiredError}
|
|
16133
|
+
*/
|
|
16134
|
+
updateReview: (id: string, iReviewPatchRequest: IReviewPatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16135
|
+
/**
|
|
16136
|
+
*
|
|
16137
|
+
* @param {string} id
|
|
16138
|
+
* @param {UpdateReviewStatusRequest} updateReviewStatusRequest
|
|
16139
|
+
* @param {*} [options] Override http request option.
|
|
16140
|
+
* @throws {RequiredError}
|
|
16141
|
+
*/
|
|
16142
|
+
updateReviewStatus: (id: string, updateReviewStatusRequest: UpdateReviewStatusRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15701
16143
|
};
|
|
15702
16144
|
/**
|
|
15703
16145
|
* OrderApi - functional programming interface
|
|
@@ -15727,6 +16169,13 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
15727
16169
|
* @throws {RequiredError}
|
|
15728
16170
|
*/
|
|
15729
16171
|
createReturnAdmin(id: string, iOrderReturnAdminPostRequest: IOrderReturnAdminPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
16172
|
+
/**
|
|
16173
|
+
*
|
|
16174
|
+
* @param {IOrderReviewPostRequest} iOrderReviewPostRequest
|
|
16175
|
+
* @param {*} [options] Override http request option.
|
|
16176
|
+
* @throws {RequiredError}
|
|
16177
|
+
*/
|
|
16178
|
+
createReview(iOrderReviewPostRequest: IOrderReviewPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
15730
16179
|
/**
|
|
15731
16180
|
*
|
|
15732
16181
|
* @param {number} [page]
|
|
@@ -15783,6 +16232,22 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
15783
16232
|
* @throws {RequiredError}
|
|
15784
16233
|
*/
|
|
15785
16234
|
updateReturn(orderId: string, returnId: string, iOrderReturnUpdatePatchRequest: IOrderReturnUpdatePatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
16235
|
+
/**
|
|
16236
|
+
*
|
|
16237
|
+
* @param {string} id
|
|
16238
|
+
* @param {IReviewPatchRequest} iReviewPatchRequest
|
|
16239
|
+
* @param {*} [options] Override http request option.
|
|
16240
|
+
* @throws {RequiredError}
|
|
16241
|
+
*/
|
|
16242
|
+
updateReview(id: string, iReviewPatchRequest: IReviewPatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IReview>>;
|
|
16243
|
+
/**
|
|
16244
|
+
*
|
|
16245
|
+
* @param {string} id
|
|
16246
|
+
* @param {UpdateReviewStatusRequest} updateReviewStatusRequest
|
|
16247
|
+
* @param {*} [options] Override http request option.
|
|
16248
|
+
* @throws {RequiredError}
|
|
16249
|
+
*/
|
|
16250
|
+
updateReviewStatus(id: string, updateReviewStatusRequest: UpdateReviewStatusRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IReview>>;
|
|
15786
16251
|
};
|
|
15787
16252
|
/**
|
|
15788
16253
|
* OrderApi - factory interface
|
|
@@ -15810,6 +16275,13 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
|
15810
16275
|
* @throws {RequiredError}
|
|
15811
16276
|
*/
|
|
15812
16277
|
createReturnAdmin(requestParameters: OrderApiCreateReturnAdminRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
16278
|
+
/**
|
|
16279
|
+
*
|
|
16280
|
+
* @param {OrderApiCreateReviewRequest} requestParameters Request parameters.
|
|
16281
|
+
* @param {*} [options] Override http request option.
|
|
16282
|
+
* @throws {RequiredError}
|
|
16283
|
+
*/
|
|
16284
|
+
createReview(requestParameters: OrderApiCreateReviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
15813
16285
|
/**
|
|
15814
16286
|
*
|
|
15815
16287
|
* @param {OrderApiGetMyOrdersRequest} requestParameters Request parameters.
|
|
@@ -15845,6 +16317,20 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
|
15845
16317
|
* @throws {RequiredError}
|
|
15846
16318
|
*/
|
|
15847
16319
|
updateReturn(requestParameters: OrderApiUpdateReturnRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
16320
|
+
/**
|
|
16321
|
+
*
|
|
16322
|
+
* @param {OrderApiUpdateReviewRequest} requestParameters Request parameters.
|
|
16323
|
+
* @param {*} [options] Override http request option.
|
|
16324
|
+
* @throws {RequiredError}
|
|
16325
|
+
*/
|
|
16326
|
+
updateReview(requestParameters: OrderApiUpdateReviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<IReview>;
|
|
16327
|
+
/**
|
|
16328
|
+
*
|
|
16329
|
+
* @param {OrderApiUpdateReviewStatusRequest} requestParameters Request parameters.
|
|
16330
|
+
* @param {*} [options] Override http request option.
|
|
16331
|
+
* @throws {RequiredError}
|
|
16332
|
+
*/
|
|
16333
|
+
updateReviewStatus(requestParameters: OrderApiUpdateReviewStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<IReview>;
|
|
15848
16334
|
};
|
|
15849
16335
|
/**
|
|
15850
16336
|
* Request parameters for createOrder operation in OrderApi.
|
|
@@ -15897,6 +16383,19 @@ export interface OrderApiCreateReturnAdminRequest {
|
|
|
15897
16383
|
*/
|
|
15898
16384
|
readonly iOrderReturnAdminPostRequest: IOrderReturnAdminPostRequest;
|
|
15899
16385
|
}
|
|
16386
|
+
/**
|
|
16387
|
+
* Request parameters for createReview operation in OrderApi.
|
|
16388
|
+
* @export
|
|
16389
|
+
* @interface OrderApiCreateReviewRequest
|
|
16390
|
+
*/
|
|
16391
|
+
export interface OrderApiCreateReviewRequest {
|
|
16392
|
+
/**
|
|
16393
|
+
*
|
|
16394
|
+
* @type {IOrderReviewPostRequest}
|
|
16395
|
+
* @memberof OrderApiCreateReview
|
|
16396
|
+
*/
|
|
16397
|
+
readonly iOrderReviewPostRequest: IOrderReviewPostRequest;
|
|
16398
|
+
}
|
|
15900
16399
|
/**
|
|
15901
16400
|
* Request parameters for getMyOrders operation in OrderApi.
|
|
15902
16401
|
* @export
|
|
@@ -16088,6 +16587,44 @@ export interface OrderApiUpdateReturnRequest {
|
|
|
16088
16587
|
*/
|
|
16089
16588
|
readonly iOrderReturnUpdatePatchRequest: IOrderReturnUpdatePatchRequest;
|
|
16090
16589
|
}
|
|
16590
|
+
/**
|
|
16591
|
+
* Request parameters for updateReview operation in OrderApi.
|
|
16592
|
+
* @export
|
|
16593
|
+
* @interface OrderApiUpdateReviewRequest
|
|
16594
|
+
*/
|
|
16595
|
+
export interface OrderApiUpdateReviewRequest {
|
|
16596
|
+
/**
|
|
16597
|
+
*
|
|
16598
|
+
* @type {string}
|
|
16599
|
+
* @memberof OrderApiUpdateReview
|
|
16600
|
+
*/
|
|
16601
|
+
readonly id: string;
|
|
16602
|
+
/**
|
|
16603
|
+
*
|
|
16604
|
+
* @type {IReviewPatchRequest}
|
|
16605
|
+
* @memberof OrderApiUpdateReview
|
|
16606
|
+
*/
|
|
16607
|
+
readonly iReviewPatchRequest: IReviewPatchRequest;
|
|
16608
|
+
}
|
|
16609
|
+
/**
|
|
16610
|
+
* Request parameters for updateReviewStatus operation in OrderApi.
|
|
16611
|
+
* @export
|
|
16612
|
+
* @interface OrderApiUpdateReviewStatusRequest
|
|
16613
|
+
*/
|
|
16614
|
+
export interface OrderApiUpdateReviewStatusRequest {
|
|
16615
|
+
/**
|
|
16616
|
+
*
|
|
16617
|
+
* @type {string}
|
|
16618
|
+
* @memberof OrderApiUpdateReviewStatus
|
|
16619
|
+
*/
|
|
16620
|
+
readonly id: string;
|
|
16621
|
+
/**
|
|
16622
|
+
*
|
|
16623
|
+
* @type {UpdateReviewStatusRequest}
|
|
16624
|
+
* @memberof OrderApiUpdateReviewStatus
|
|
16625
|
+
*/
|
|
16626
|
+
readonly updateReviewStatusRequest: UpdateReviewStatusRequest;
|
|
16627
|
+
}
|
|
16091
16628
|
/**
|
|
16092
16629
|
* OrderApi - object-oriented interface
|
|
16093
16630
|
* @export
|
|
@@ -16119,6 +16656,14 @@ export declare class OrderApi extends BaseAPI {
|
|
|
16119
16656
|
* @memberof OrderApi
|
|
16120
16657
|
*/
|
|
16121
16658
|
createReturnAdmin(requestParameters: OrderApiCreateReturnAdminRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
16659
|
+
/**
|
|
16660
|
+
*
|
|
16661
|
+
* @param {OrderApiCreateReviewRequest} requestParameters Request parameters.
|
|
16662
|
+
* @param {*} [options] Override http request option.
|
|
16663
|
+
* @throws {RequiredError}
|
|
16664
|
+
* @memberof OrderApi
|
|
16665
|
+
*/
|
|
16666
|
+
createReview(requestParameters: OrderApiCreateReviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
16122
16667
|
/**
|
|
16123
16668
|
*
|
|
16124
16669
|
* @param {OrderApiGetMyOrdersRequest} requestParameters Request parameters.
|
|
@@ -16159,6 +16704,22 @@ export declare class OrderApi extends BaseAPI {
|
|
|
16159
16704
|
* @memberof OrderApi
|
|
16160
16705
|
*/
|
|
16161
16706
|
updateReturn(requestParameters: OrderApiUpdateReturnRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
16707
|
+
/**
|
|
16708
|
+
*
|
|
16709
|
+
* @param {OrderApiUpdateReviewRequest} requestParameters Request parameters.
|
|
16710
|
+
* @param {*} [options] Override http request option.
|
|
16711
|
+
* @throws {RequiredError}
|
|
16712
|
+
* @memberof OrderApi
|
|
16713
|
+
*/
|
|
16714
|
+
updateReview(requestParameters: OrderApiUpdateReviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IReview, any>>;
|
|
16715
|
+
/**
|
|
16716
|
+
*
|
|
16717
|
+
* @param {OrderApiUpdateReviewStatusRequest} requestParameters Request parameters.
|
|
16718
|
+
* @param {*} [options] Override http request option.
|
|
16719
|
+
* @throws {RequiredError}
|
|
16720
|
+
* @memberof OrderApi
|
|
16721
|
+
*/
|
|
16722
|
+
updateReviewStatus(requestParameters: OrderApiUpdateReviewStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IReview, any>>;
|
|
16162
16723
|
}
|
|
16163
16724
|
/**
|
|
16164
16725
|
* @export
|
|
@@ -16224,14 +16785,14 @@ export declare const PageApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
16224
16785
|
getPageBySlug: (slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16225
16786
|
/**
|
|
16226
16787
|
*
|
|
16227
|
-
* @param {
|
|
16788
|
+
* @param {UniquePageTypeEnum} type
|
|
16228
16789
|
* @param {string} [companyId]
|
|
16229
16790
|
* @param {string} [domain]
|
|
16230
16791
|
* @param {string} [template]
|
|
16231
16792
|
* @param {*} [options] Override http request option.
|
|
16232
16793
|
* @throws {RequiredError}
|
|
16233
16794
|
*/
|
|
16234
|
-
getPageByType: (type:
|
|
16795
|
+
getPageByType: (type: UniquePageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16235
16796
|
/**
|
|
16236
16797
|
*
|
|
16237
16798
|
* @param {number} [page]
|
|
@@ -16314,14 +16875,14 @@ export declare const PageApiFp: (configuration?: Configuration) => {
|
|
|
16314
16875
|
getPageBySlug(slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
|
|
16315
16876
|
/**
|
|
16316
16877
|
*
|
|
16317
|
-
* @param {
|
|
16878
|
+
* @param {UniquePageTypeEnum} type
|
|
16318
16879
|
* @param {string} [companyId]
|
|
16319
16880
|
* @param {string} [domain]
|
|
16320
16881
|
* @param {string} [template]
|
|
16321
16882
|
* @param {*} [options] Override http request option.
|
|
16322
16883
|
* @throws {RequiredError}
|
|
16323
16884
|
*/
|
|
16324
|
-
getPageByType(type:
|
|
16885
|
+
getPageByType(type: UniquePageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
|
|
16325
16886
|
/**
|
|
16326
16887
|
*
|
|
16327
16888
|
* @param {number} [page]
|
|
@@ -16534,10 +17095,10 @@ export interface PageApiGetPageBySlugRequest {
|
|
|
16534
17095
|
export interface PageApiGetPageByTypeRequest {
|
|
16535
17096
|
/**
|
|
16536
17097
|
*
|
|
16537
|
-
* @type {
|
|
17098
|
+
* @type {UniquePageTypeEnum}
|
|
16538
17099
|
* @memberof PageApiGetPageByType
|
|
16539
17100
|
*/
|
|
16540
|
-
readonly type:
|
|
17101
|
+
readonly type: UniquePageTypeEnum;
|
|
16541
17102
|
/**
|
|
16542
17103
|
*
|
|
16543
17104
|
* @type {string}
|
|
@@ -17133,6 +17694,14 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
|
|
|
17133
17694
|
* @throws {RequiredError}
|
|
17134
17695
|
*/
|
|
17135
17696
|
getProductBySlug: (slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17697
|
+
/**
|
|
17698
|
+
*
|
|
17699
|
+
* @param {string} id
|
|
17700
|
+
* @param {number} [rating]
|
|
17701
|
+
* @param {*} [options] Override http request option.
|
|
17702
|
+
* @throws {RequiredError}
|
|
17703
|
+
*/
|
|
17704
|
+
getProductReviews: (id: string, rating?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17136
17705
|
/**
|
|
17137
17706
|
*
|
|
17138
17707
|
* @param {number} [page]
|
|
@@ -17151,14 +17720,12 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
|
|
|
17151
17720
|
* @param {number} [priceGte]
|
|
17152
17721
|
* @param {number} [priceLte]
|
|
17153
17722
|
* @param {boolean} [autoComplete]
|
|
17154
|
-
* @param {Array<string>} [mainVariant]
|
|
17155
|
-
* @param {Array<string>} [subVariant]
|
|
17156
17723
|
* @param {GetProductsSortEnum} [sort]
|
|
17157
17724
|
* @param {ContentStatusEnum} [status]
|
|
17158
17725
|
* @param {*} [options] Override http request option.
|
|
17159
17726
|
* @throws {RequiredError}
|
|
17160
17727
|
*/
|
|
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,
|
|
17728
|
+
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
17729
|
/**
|
|
17163
17730
|
*
|
|
17164
17731
|
* @param {string} id
|
|
@@ -17221,6 +17788,14 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
|
|
|
17221
17788
|
* @throws {RequiredError}
|
|
17222
17789
|
*/
|
|
17223
17790
|
getProductBySlug(slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IProductResponse>>;
|
|
17791
|
+
/**
|
|
17792
|
+
*
|
|
17793
|
+
* @param {string} id
|
|
17794
|
+
* @param {number} [rating]
|
|
17795
|
+
* @param {*} [options] Override http request option.
|
|
17796
|
+
* @throws {RequiredError}
|
|
17797
|
+
*/
|
|
17798
|
+
getProductReviews(id: string, rating?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IProductReviewsResponse>>;
|
|
17224
17799
|
/**
|
|
17225
17800
|
*
|
|
17226
17801
|
* @param {number} [page]
|
|
@@ -17239,14 +17814,12 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
|
|
|
17239
17814
|
* @param {number} [priceGte]
|
|
17240
17815
|
* @param {number} [priceLte]
|
|
17241
17816
|
* @param {boolean} [autoComplete]
|
|
17242
|
-
* @param {Array<string>} [mainVariant]
|
|
17243
|
-
* @param {Array<string>} [subVariant]
|
|
17244
17817
|
* @param {GetProductsSortEnum} [sort]
|
|
17245
17818
|
* @param {ContentStatusEnum} [status]
|
|
17246
17819
|
* @param {*} [options] Override http request option.
|
|
17247
17820
|
* @throws {RequiredError}
|
|
17248
17821
|
*/
|
|
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,
|
|
17822
|
+
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
17823
|
/**
|
|
17251
17824
|
*
|
|
17252
17825
|
* @param {string} id
|
|
@@ -17303,6 +17876,13 @@ export declare const ProductApiFactory: (configuration?: Configuration, basePath
|
|
|
17303
17876
|
* @throws {RequiredError}
|
|
17304
17877
|
*/
|
|
17305
17878
|
getProductBySlug(requestParameters: ProductApiGetProductBySlugRequest, options?: RawAxiosRequestConfig): AxiosPromise<IProductResponse>;
|
|
17879
|
+
/**
|
|
17880
|
+
*
|
|
17881
|
+
* @param {ProductApiGetProductReviewsRequest} requestParameters Request parameters.
|
|
17882
|
+
* @param {*} [options] Override http request option.
|
|
17883
|
+
* @throws {RequiredError}
|
|
17884
|
+
*/
|
|
17885
|
+
getProductReviews(requestParameters: ProductApiGetProductReviewsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IProductReviewsResponse>;
|
|
17306
17886
|
/**
|
|
17307
17887
|
*
|
|
17308
17888
|
* @param {ProductApiGetProductsRequest} requestParameters Request parameters.
|
|
@@ -17432,6 +18012,25 @@ export interface ProductApiGetProductBySlugRequest {
|
|
|
17432
18012
|
*/
|
|
17433
18013
|
readonly domain?: string;
|
|
17434
18014
|
}
|
|
18015
|
+
/**
|
|
18016
|
+
* Request parameters for getProductReviews operation in ProductApi.
|
|
18017
|
+
* @export
|
|
18018
|
+
* @interface ProductApiGetProductReviewsRequest
|
|
18019
|
+
*/
|
|
18020
|
+
export interface ProductApiGetProductReviewsRequest {
|
|
18021
|
+
/**
|
|
18022
|
+
*
|
|
18023
|
+
* @type {string}
|
|
18024
|
+
* @memberof ProductApiGetProductReviews
|
|
18025
|
+
*/
|
|
18026
|
+
readonly id: string;
|
|
18027
|
+
/**
|
|
18028
|
+
*
|
|
18029
|
+
* @type {number}
|
|
18030
|
+
* @memberof ProductApiGetProductReviews
|
|
18031
|
+
*/
|
|
18032
|
+
readonly rating?: number;
|
|
18033
|
+
}
|
|
17435
18034
|
/**
|
|
17436
18035
|
* Request parameters for getProducts operation in ProductApi.
|
|
17437
18036
|
* @export
|
|
@@ -17536,19 +18135,7 @@ export interface ProductApiGetProductsRequest {
|
|
|
17536
18135
|
readonly autoComplete?: boolean;
|
|
17537
18136
|
/**
|
|
17538
18137
|
*
|
|
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'}
|
|
18138
|
+
* @type {'price' | 'createdAt' | 'totalSale' | 'rating' | 'reviewCount'}
|
|
17552
18139
|
* @memberof ProductApiGetProducts
|
|
17553
18140
|
*/
|
|
17554
18141
|
readonly sort?: GetProductsSortEnum;
|
|
@@ -17633,6 +18220,14 @@ export declare class ProductApi extends BaseAPI {
|
|
|
17633
18220
|
* @memberof ProductApi
|
|
17634
18221
|
*/
|
|
17635
18222
|
getProductBySlug(requestParameters: ProductApiGetProductBySlugRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IProductResponse, any>>;
|
|
18223
|
+
/**
|
|
18224
|
+
*
|
|
18225
|
+
* @param {ProductApiGetProductReviewsRequest} requestParameters Request parameters.
|
|
18226
|
+
* @param {*} [options] Override http request option.
|
|
18227
|
+
* @throws {RequiredError}
|
|
18228
|
+
* @memberof ProductApi
|
|
18229
|
+
*/
|
|
18230
|
+
getProductReviews(requestParameters: ProductApiGetProductReviewsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IProductReviewsResponse, any>>;
|
|
17636
18231
|
/**
|
|
17637
18232
|
*
|
|
17638
18233
|
* @param {ProductApiGetProductsRequest} requestParameters Request parameters.
|
|
@@ -17665,6 +18260,8 @@ export declare const GetProductsSortEnum: {
|
|
|
17665
18260
|
readonly PRICE: "price";
|
|
17666
18261
|
readonly CREATED_AT: "createdAt";
|
|
17667
18262
|
readonly TOTAL_SALE: "totalSale";
|
|
18263
|
+
readonly RATING: "rating";
|
|
18264
|
+
readonly REVIEW_COUNT: "reviewCount";
|
|
17668
18265
|
};
|
|
17669
18266
|
export type GetProductsSortEnum = typeof GetProductsSortEnum[keyof typeof GetProductsSortEnum];
|
|
17670
18267
|
/**
|