@infisale-client/api 1.2.72 → 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 +668 -59
- 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
|
|
@@ -7081,6 +7389,18 @@ export interface ITemplateResponse {
|
|
|
7081
7389
|
* @interface ITemplateResponseComponentsInner
|
|
7082
7390
|
*/
|
|
7083
7391
|
export interface ITemplateResponseComponentsInner {
|
|
7392
|
+
/**
|
|
7393
|
+
*
|
|
7394
|
+
* @type {string}
|
|
7395
|
+
* @memberof ITemplateResponseComponentsInner
|
|
7396
|
+
*/
|
|
7397
|
+
'desktopVariant'?: string;
|
|
7398
|
+
/**
|
|
7399
|
+
*
|
|
7400
|
+
* @type {string}
|
|
7401
|
+
* @memberof ITemplateResponseComponentsInner
|
|
7402
|
+
*/
|
|
7403
|
+
'mobileVariant'?: string;
|
|
7084
7404
|
/**
|
|
7085
7405
|
*
|
|
7086
7406
|
* @type {Array<ITemplateResponseComponentsInnerContentsInner>}
|
|
@@ -8863,6 +9183,12 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
|
|
|
8863
9183
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
8864
9184
|
*/
|
|
8865
9185
|
'shippingProviders': Array<ShippingProvider>;
|
|
9186
|
+
/**
|
|
9187
|
+
*
|
|
9188
|
+
* @type {boolean}
|
|
9189
|
+
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
9190
|
+
*/
|
|
9191
|
+
'autoApproveReviews': boolean;
|
|
8866
9192
|
}
|
|
8867
9193
|
/**
|
|
8868
9194
|
*
|
|
@@ -9576,67 +9902,67 @@ export interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrT
|
|
|
9576
9902
|
/**
|
|
9577
9903
|
* From T, pick a set of properties whose keys are in the union K
|
|
9578
9904
|
* @export
|
|
9579
|
-
* @interface
|
|
9905
|
+
* @interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
9580
9906
|
*/
|
|
9581
|
-
export interface
|
|
9907
|
+
export interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields {
|
|
9582
9908
|
/**
|
|
9583
9909
|
*
|
|
9584
9910
|
* @type {string}
|
|
9585
|
-
* @memberof
|
|
9911
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
9586
9912
|
*/
|
|
9587
9913
|
'company': string;
|
|
9588
9914
|
/**
|
|
9589
9915
|
*
|
|
9590
9916
|
* @type {string}
|
|
9591
|
-
* @memberof
|
|
9917
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
9592
9918
|
*/
|
|
9593
9919
|
'_id': string;
|
|
9594
9920
|
/**
|
|
9595
9921
|
*
|
|
9596
9922
|
* @type {number}
|
|
9597
|
-
* @memberof
|
|
9923
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
9598
9924
|
*/
|
|
9599
9925
|
'__v': number;
|
|
9600
9926
|
/**
|
|
9601
9927
|
*
|
|
9602
9928
|
* @type {string}
|
|
9603
|
-
* @memberof
|
|
9929
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
9604
9930
|
*/
|
|
9605
9931
|
'createdAt': string;
|
|
9606
9932
|
/**
|
|
9607
9933
|
*
|
|
9608
9934
|
* @type {string}
|
|
9609
|
-
* @memberof
|
|
9935
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
9610
9936
|
*/
|
|
9611
9937
|
'updatedAt': string;
|
|
9612
9938
|
/**
|
|
9613
9939
|
*
|
|
9614
9940
|
* @type {number}
|
|
9615
|
-
* @memberof
|
|
9941
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
9616
9942
|
*/
|
|
9617
9943
|
'totalStock': number;
|
|
9618
9944
|
/**
|
|
9619
9945
|
*
|
|
9620
9946
|
* @type {number}
|
|
9621
|
-
* @memberof
|
|
9947
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
9622
9948
|
*/
|
|
9623
9949
|
'totalSale': number;
|
|
9624
9950
|
/**
|
|
9625
9951
|
*
|
|
9626
9952
|
* @type {boolean}
|
|
9627
|
-
* @memberof
|
|
9953
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
9628
9954
|
*/
|
|
9629
9955
|
'negativeStock'?: boolean;
|
|
9630
9956
|
/**
|
|
9631
9957
|
*
|
|
9632
9958
|
* @type {Array<string>}
|
|
9633
|
-
* @memberof
|
|
9959
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
9634
9960
|
*/
|
|
9635
9961
|
'collections': Array<string>;
|
|
9636
9962
|
/**
|
|
9637
9963
|
* Construct a type with a set of properties K of type T
|
|
9638
9964
|
* @type {{ [key: string]: string; }}
|
|
9639
|
-
* @memberof
|
|
9965
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
9640
9966
|
*/
|
|
9641
9967
|
'templates': {
|
|
9642
9968
|
[key: string]: string;
|
|
@@ -9644,25 +9970,25 @@ export interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplate {
|
|
|
9644
9970
|
/**
|
|
9645
9971
|
*
|
|
9646
9972
|
* @type {string}
|
|
9647
|
-
* @memberof
|
|
9973
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
9648
9974
|
*/
|
|
9649
9975
|
'sku'?: string;
|
|
9650
9976
|
/**
|
|
9651
9977
|
*
|
|
9652
9978
|
* @type {string}
|
|
9653
|
-
* @memberof
|
|
9979
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
9654
9980
|
*/
|
|
9655
9981
|
'barcode'?: string;
|
|
9656
9982
|
/**
|
|
9657
9983
|
*
|
|
9658
9984
|
* @type {Array<IImage>}
|
|
9659
|
-
* @memberof
|
|
9985
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
9660
9986
|
*/
|
|
9661
9987
|
'photos': Array<IImage>;
|
|
9662
9988
|
/**
|
|
9663
9989
|
*
|
|
9664
9990
|
* @type {{ [key: string]: IProductResponseStockValue; }}
|
|
9665
|
-
* @memberof
|
|
9991
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
9666
9992
|
*/
|
|
9667
9993
|
'stock'?: {
|
|
9668
9994
|
[key: string]: IProductResponseStockValue;
|
|
@@ -9670,31 +9996,31 @@ export interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplate {
|
|
|
9670
9996
|
/**
|
|
9671
9997
|
*
|
|
9672
9998
|
* @type {boolean}
|
|
9673
|
-
* @memberof
|
|
9999
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
9674
10000
|
*/
|
|
9675
10001
|
'stocklessSale'?: boolean;
|
|
9676
10002
|
/**
|
|
9677
10003
|
*
|
|
9678
10004
|
* @type {PriceType}
|
|
9679
|
-
* @memberof
|
|
10005
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
9680
10006
|
*/
|
|
9681
10007
|
'priceInfo': PriceType;
|
|
9682
10008
|
/**
|
|
9683
10009
|
*
|
|
9684
10010
|
* @type {PartialRecordLanguageEnumIContentsValue}
|
|
9685
|
-
* @memberof
|
|
10011
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
9686
10012
|
*/
|
|
9687
10013
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
9688
10014
|
/**
|
|
9689
10015
|
*
|
|
9690
10016
|
* @type {Array<VariantType>}
|
|
9691
|
-
* @memberof
|
|
10017
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
9692
10018
|
*/
|
|
9693
10019
|
'variants'?: Array<VariantType>;
|
|
9694
10020
|
/**
|
|
9695
10021
|
* Construct a type with a set of properties K of type T
|
|
9696
10022
|
* @type {{ [key: string]: Array<IImage>; }}
|
|
9697
|
-
* @memberof
|
|
10023
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
9698
10024
|
*/
|
|
9699
10025
|
'mainVariantsPhotos'?: {
|
|
9700
10026
|
[key: string]: Array<IImage>;
|
|
@@ -9702,11 +10028,29 @@ export interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplate {
|
|
|
9702
10028
|
/**
|
|
9703
10029
|
*
|
|
9704
10030
|
* @type {{ [key: string]: string; }}
|
|
9705
|
-
* @memberof
|
|
10031
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
9706
10032
|
*/
|
|
9707
10033
|
'attributes'?: {
|
|
9708
10034
|
[key: string]: string;
|
|
9709
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;
|
|
9710
10054
|
}
|
|
9711
10055
|
/**
|
|
9712
10056
|
* From T, pick a set of properties whose keys are in the union K
|
|
@@ -10520,6 +10864,17 @@ export interface RecordLanguageEnumTitleStringTr {
|
|
|
10520
10864
|
*/
|
|
10521
10865
|
'title': string;
|
|
10522
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];
|
|
10523
10878
|
/**
|
|
10524
10879
|
*
|
|
10525
10880
|
* @export
|
|
@@ -10734,6 +11089,32 @@ export declare const TimezoneEnum: {
|
|
|
10734
11089
|
readonly UTC1400: "UTC+14:00";
|
|
10735
11090
|
};
|
|
10736
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
|
+
}
|
|
10737
11118
|
/**
|
|
10738
11119
|
*
|
|
10739
11120
|
* @export
|
|
@@ -13047,6 +13428,14 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
|
|
|
13047
13428
|
* @throws {RequiredError}
|
|
13048
13429
|
*/
|
|
13049
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>;
|
|
13050
13439
|
/**
|
|
13051
13440
|
*
|
|
13052
13441
|
* @param {string} id
|
|
@@ -13256,6 +13645,14 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
13256
13645
|
* @throws {RequiredError}
|
|
13257
13646
|
*/
|
|
13258
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>>;
|
|
13259
13656
|
/**
|
|
13260
13657
|
*
|
|
13261
13658
|
* @param {string} id
|
|
@@ -13441,6 +13838,13 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
|
|
|
13441
13838
|
* @throws {RequiredError}
|
|
13442
13839
|
*/
|
|
13443
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>;
|
|
13444
13848
|
/**
|
|
13445
13849
|
*
|
|
13446
13850
|
* @param {CompanyApiGetCompanyUsersRequest} requestParameters Request parameters.
|
|
@@ -13832,6 +14236,25 @@ export interface CompanyApiGetCompanyPaymentGatewaysRequest {
|
|
|
13832
14236
|
*/
|
|
13833
14237
|
readonly id: string;
|
|
13834
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
|
+
}
|
|
13835
14258
|
/**
|
|
13836
14259
|
* Request parameters for getCompanyUsers operation in CompanyApi.
|
|
13837
14260
|
* @export
|
|
@@ -14152,6 +14575,14 @@ export declare class CompanyApi extends BaseAPI {
|
|
|
14152
14575
|
* @memberof CompanyApi
|
|
14153
14576
|
*/
|
|
14154
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>>;
|
|
14155
14586
|
/**
|
|
14156
14587
|
*
|
|
14157
14588
|
* @param {CompanyApiGetCompanyUsersRequest} requestParameters Request parameters.
|
|
@@ -15630,6 +16061,13 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
15630
16061
|
* @throws {RequiredError}
|
|
15631
16062
|
*/
|
|
15632
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>;
|
|
15633
16071
|
/**
|
|
15634
16072
|
*
|
|
15635
16073
|
* @param {number} [page]
|
|
@@ -15686,6 +16124,22 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
15686
16124
|
* @throws {RequiredError}
|
|
15687
16125
|
*/
|
|
15688
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>;
|
|
15689
16143
|
};
|
|
15690
16144
|
/**
|
|
15691
16145
|
* OrderApi - functional programming interface
|
|
@@ -15715,6 +16169,13 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
15715
16169
|
* @throws {RequiredError}
|
|
15716
16170
|
*/
|
|
15717
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>>;
|
|
15718
16179
|
/**
|
|
15719
16180
|
*
|
|
15720
16181
|
* @param {number} [page]
|
|
@@ -15771,6 +16232,22 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
15771
16232
|
* @throws {RequiredError}
|
|
15772
16233
|
*/
|
|
15773
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>>;
|
|
15774
16251
|
};
|
|
15775
16252
|
/**
|
|
15776
16253
|
* OrderApi - factory interface
|
|
@@ -15798,6 +16275,13 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
|
15798
16275
|
* @throws {RequiredError}
|
|
15799
16276
|
*/
|
|
15800
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>;
|
|
15801
16285
|
/**
|
|
15802
16286
|
*
|
|
15803
16287
|
* @param {OrderApiGetMyOrdersRequest} requestParameters Request parameters.
|
|
@@ -15833,6 +16317,20 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
|
15833
16317
|
* @throws {RequiredError}
|
|
15834
16318
|
*/
|
|
15835
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>;
|
|
15836
16334
|
};
|
|
15837
16335
|
/**
|
|
15838
16336
|
* Request parameters for createOrder operation in OrderApi.
|
|
@@ -15885,6 +16383,19 @@ export interface OrderApiCreateReturnAdminRequest {
|
|
|
15885
16383
|
*/
|
|
15886
16384
|
readonly iOrderReturnAdminPostRequest: IOrderReturnAdminPostRequest;
|
|
15887
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
|
+
}
|
|
15888
16399
|
/**
|
|
15889
16400
|
* Request parameters for getMyOrders operation in OrderApi.
|
|
15890
16401
|
* @export
|
|
@@ -16076,6 +16587,44 @@ export interface OrderApiUpdateReturnRequest {
|
|
|
16076
16587
|
*/
|
|
16077
16588
|
readonly iOrderReturnUpdatePatchRequest: IOrderReturnUpdatePatchRequest;
|
|
16078
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
|
+
}
|
|
16079
16628
|
/**
|
|
16080
16629
|
* OrderApi - object-oriented interface
|
|
16081
16630
|
* @export
|
|
@@ -16107,6 +16656,14 @@ export declare class OrderApi extends BaseAPI {
|
|
|
16107
16656
|
* @memberof OrderApi
|
|
16108
16657
|
*/
|
|
16109
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>>;
|
|
16110
16667
|
/**
|
|
16111
16668
|
*
|
|
16112
16669
|
* @param {OrderApiGetMyOrdersRequest} requestParameters Request parameters.
|
|
@@ -16147,6 +16704,22 @@ export declare class OrderApi extends BaseAPI {
|
|
|
16147
16704
|
* @memberof OrderApi
|
|
16148
16705
|
*/
|
|
16149
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>>;
|
|
16150
16723
|
}
|
|
16151
16724
|
/**
|
|
16152
16725
|
* @export
|
|
@@ -16212,14 +16785,14 @@ export declare const PageApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
16212
16785
|
getPageBySlug: (slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16213
16786
|
/**
|
|
16214
16787
|
*
|
|
16215
|
-
* @param {
|
|
16788
|
+
* @param {UniquePageTypeEnum} type
|
|
16216
16789
|
* @param {string} [companyId]
|
|
16217
16790
|
* @param {string} [domain]
|
|
16218
16791
|
* @param {string} [template]
|
|
16219
16792
|
* @param {*} [options] Override http request option.
|
|
16220
16793
|
* @throws {RequiredError}
|
|
16221
16794
|
*/
|
|
16222
|
-
getPageByType: (type:
|
|
16795
|
+
getPageByType: (type: UniquePageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16223
16796
|
/**
|
|
16224
16797
|
*
|
|
16225
16798
|
* @param {number} [page]
|
|
@@ -16302,14 +16875,14 @@ export declare const PageApiFp: (configuration?: Configuration) => {
|
|
|
16302
16875
|
getPageBySlug(slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
|
|
16303
16876
|
/**
|
|
16304
16877
|
*
|
|
16305
|
-
* @param {
|
|
16878
|
+
* @param {UniquePageTypeEnum} type
|
|
16306
16879
|
* @param {string} [companyId]
|
|
16307
16880
|
* @param {string} [domain]
|
|
16308
16881
|
* @param {string} [template]
|
|
16309
16882
|
* @param {*} [options] Override http request option.
|
|
16310
16883
|
* @throws {RequiredError}
|
|
16311
16884
|
*/
|
|
16312
|
-
getPageByType(type:
|
|
16885
|
+
getPageByType(type: UniquePageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
|
|
16313
16886
|
/**
|
|
16314
16887
|
*
|
|
16315
16888
|
* @param {number} [page]
|
|
@@ -16522,10 +17095,10 @@ export interface PageApiGetPageBySlugRequest {
|
|
|
16522
17095
|
export interface PageApiGetPageByTypeRequest {
|
|
16523
17096
|
/**
|
|
16524
17097
|
*
|
|
16525
|
-
* @type {
|
|
17098
|
+
* @type {UniquePageTypeEnum}
|
|
16526
17099
|
* @memberof PageApiGetPageByType
|
|
16527
17100
|
*/
|
|
16528
|
-
readonly type:
|
|
17101
|
+
readonly type: UniquePageTypeEnum;
|
|
16529
17102
|
/**
|
|
16530
17103
|
*
|
|
16531
17104
|
* @type {string}
|
|
@@ -17121,6 +17694,14 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
|
|
|
17121
17694
|
* @throws {RequiredError}
|
|
17122
17695
|
*/
|
|
17123
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>;
|
|
17124
17705
|
/**
|
|
17125
17706
|
*
|
|
17126
17707
|
* @param {number} [page]
|
|
@@ -17139,14 +17720,12 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
|
|
|
17139
17720
|
* @param {number} [priceGte]
|
|
17140
17721
|
* @param {number} [priceLte]
|
|
17141
17722
|
* @param {boolean} [autoComplete]
|
|
17142
|
-
* @param {Array<string>} [mainVariant]
|
|
17143
|
-
* @param {Array<string>} [subVariant]
|
|
17144
17723
|
* @param {GetProductsSortEnum} [sort]
|
|
17145
17724
|
* @param {ContentStatusEnum} [status]
|
|
17146
17725
|
* @param {*} [options] Override http request option.
|
|
17147
17726
|
* @throws {RequiredError}
|
|
17148
17727
|
*/
|
|
17149
|
-
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>;
|
|
17150
17729
|
/**
|
|
17151
17730
|
*
|
|
17152
17731
|
* @param {string} id
|
|
@@ -17209,6 +17788,14 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
|
|
|
17209
17788
|
* @throws {RequiredError}
|
|
17210
17789
|
*/
|
|
17211
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>>;
|
|
17212
17799
|
/**
|
|
17213
17800
|
*
|
|
17214
17801
|
* @param {number} [page]
|
|
@@ -17227,14 +17814,12 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
|
|
|
17227
17814
|
* @param {number} [priceGte]
|
|
17228
17815
|
* @param {number} [priceLte]
|
|
17229
17816
|
* @param {boolean} [autoComplete]
|
|
17230
|
-
* @param {Array<string>} [mainVariant]
|
|
17231
|
-
* @param {Array<string>} [subVariant]
|
|
17232
17817
|
* @param {GetProductsSortEnum} [sort]
|
|
17233
17818
|
* @param {ContentStatusEnum} [status]
|
|
17234
17819
|
* @param {*} [options] Override http request option.
|
|
17235
17820
|
* @throws {RequiredError}
|
|
17236
17821
|
*/
|
|
17237
|
-
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>>;
|
|
17238
17823
|
/**
|
|
17239
17824
|
*
|
|
17240
17825
|
* @param {string} id
|
|
@@ -17291,6 +17876,13 @@ export declare const ProductApiFactory: (configuration?: Configuration, basePath
|
|
|
17291
17876
|
* @throws {RequiredError}
|
|
17292
17877
|
*/
|
|
17293
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>;
|
|
17294
17886
|
/**
|
|
17295
17887
|
*
|
|
17296
17888
|
* @param {ProductApiGetProductsRequest} requestParameters Request parameters.
|
|
@@ -17420,6 +18012,25 @@ export interface ProductApiGetProductBySlugRequest {
|
|
|
17420
18012
|
*/
|
|
17421
18013
|
readonly domain?: string;
|
|
17422
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
|
+
}
|
|
17423
18034
|
/**
|
|
17424
18035
|
* Request parameters for getProducts operation in ProductApi.
|
|
17425
18036
|
* @export
|
|
@@ -17524,19 +18135,7 @@ export interface ProductApiGetProductsRequest {
|
|
|
17524
18135
|
readonly autoComplete?: boolean;
|
|
17525
18136
|
/**
|
|
17526
18137
|
*
|
|
17527
|
-
* @type {
|
|
17528
|
-
* @memberof ProductApiGetProducts
|
|
17529
|
-
*/
|
|
17530
|
-
readonly mainVariant?: Array<string>;
|
|
17531
|
-
/**
|
|
17532
|
-
*
|
|
17533
|
-
* @type {Array<string>}
|
|
17534
|
-
* @memberof ProductApiGetProducts
|
|
17535
|
-
*/
|
|
17536
|
-
readonly subVariant?: Array<string>;
|
|
17537
|
-
/**
|
|
17538
|
-
*
|
|
17539
|
-
* @type {'price' | 'createdAt' | 'totalSale'}
|
|
18138
|
+
* @type {'price' | 'createdAt' | 'totalSale' | 'rating' | 'reviewCount'}
|
|
17540
18139
|
* @memberof ProductApiGetProducts
|
|
17541
18140
|
*/
|
|
17542
18141
|
readonly sort?: GetProductsSortEnum;
|
|
@@ -17621,6 +18220,14 @@ export declare class ProductApi extends BaseAPI {
|
|
|
17621
18220
|
* @memberof ProductApi
|
|
17622
18221
|
*/
|
|
17623
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>>;
|
|
17624
18231
|
/**
|
|
17625
18232
|
*
|
|
17626
18233
|
* @param {ProductApiGetProductsRequest} requestParameters Request parameters.
|
|
@@ -17653,6 +18260,8 @@ export declare const GetProductsSortEnum: {
|
|
|
17653
18260
|
readonly PRICE: "price";
|
|
17654
18261
|
readonly CREATED_AT: "createdAt";
|
|
17655
18262
|
readonly TOTAL_SALE: "totalSale";
|
|
18263
|
+
readonly RATING: "rating";
|
|
18264
|
+
readonly REVIEW_COUNT: "reviewCount";
|
|
17656
18265
|
};
|
|
17657
18266
|
export type GetProductsSortEnum = typeof GetProductsSortEnum[keyof typeof GetProductsSortEnum];
|
|
17658
18267
|
/**
|