@infisale-client/api-client 1.2.77 → 1.2.79
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 +251 -47
- package/dist/api/api.js +130 -3
- package/dist/api/api.mjs +128 -1
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -83,6 +83,9 @@ export declare const ComponentContentTypeEnum: {
|
|
|
83
83
|
readonly GRID_ITEM: "grid-item";
|
|
84
84
|
readonly ANNOUNCEMENT_ITEM: "announcement-item";
|
|
85
85
|
readonly ACCORDION_ITEM: "accordion-item";
|
|
86
|
+
readonly PRODUCT_DESCRIPTION: "product-description";
|
|
87
|
+
readonly PRODUCT_REVIEWS: "product-reviews";
|
|
88
|
+
readonly PRODUCT_ATTRIBUTES: "product-attributes";
|
|
86
89
|
};
|
|
87
90
|
export type ComponentContentTypeEnum = typeof ComponentContentTypeEnum[keyof typeof ComponentContentTypeEnum];
|
|
88
91
|
/**
|
|
@@ -128,6 +131,7 @@ export declare const ComponentTypeEnum: {
|
|
|
128
131
|
readonly PRODUCT_LIST: "product-list";
|
|
129
132
|
readonly CONTENT: "content";
|
|
130
133
|
readonly PRODUCT_DETAIL: "product-detail";
|
|
134
|
+
readonly PRODUCT_MORE_DETAIL: "product-more-detail";
|
|
131
135
|
readonly SINGLE_PRODUCT: "single-product";
|
|
132
136
|
readonly COLLECTION_LIST: "collection-list";
|
|
133
137
|
readonly CATEGORY_LIST: "category-list";
|
|
@@ -566,6 +570,19 @@ export declare const FontSizeEnum: {
|
|
|
566
570
|
readonly _6XL: "text-6xl";
|
|
567
571
|
};
|
|
568
572
|
export type FontSizeEnum = typeof FontSizeEnum[keyof typeof FontSizeEnum];
|
|
573
|
+
/**
|
|
574
|
+
*
|
|
575
|
+
* @export
|
|
576
|
+
* @interface GetMyProductReviewCount200Response
|
|
577
|
+
*/
|
|
578
|
+
export interface GetMyProductReviewCount200Response {
|
|
579
|
+
/**
|
|
580
|
+
*
|
|
581
|
+
* @type {number}
|
|
582
|
+
* @memberof GetMyProductReviewCount200Response
|
|
583
|
+
*/
|
|
584
|
+
'count': number;
|
|
585
|
+
}
|
|
569
586
|
/**
|
|
570
587
|
*
|
|
571
588
|
* @export
|
|
@@ -7632,6 +7649,18 @@ export interface ITemplateResponseComponentsInnerConfig {
|
|
|
7632
7649
|
* @memberof ITemplateResponseComponentsInnerConfig
|
|
7633
7650
|
*/
|
|
7634
7651
|
'isInnerContainer'?: boolean;
|
|
7652
|
+
/**
|
|
7653
|
+
*
|
|
7654
|
+
* @type {number}
|
|
7655
|
+
* @memberof ITemplateResponseComponentsInnerConfig
|
|
7656
|
+
*/
|
|
7657
|
+
'contentMobileWidth'?: number;
|
|
7658
|
+
/**
|
|
7659
|
+
*
|
|
7660
|
+
* @type {number}
|
|
7661
|
+
* @memberof ITemplateResponseComponentsInnerConfig
|
|
7662
|
+
*/
|
|
7663
|
+
'contentWidth'?: number;
|
|
7635
7664
|
/**
|
|
7636
7665
|
*
|
|
7637
7666
|
* @type {number}
|
|
@@ -10636,6 +10665,24 @@ export interface PickIThemeExcludeKeyofIThemeTemplate {
|
|
|
10636
10665
|
* @interface PickIThemeExcludeKeyofIThemeTemplateConfig
|
|
10637
10666
|
*/
|
|
10638
10667
|
export interface PickIThemeExcludeKeyofIThemeTemplateConfig {
|
|
10668
|
+
/**
|
|
10669
|
+
*
|
|
10670
|
+
* @type {PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard}
|
|
10671
|
+
* @memberof PickIThemeExcludeKeyofIThemeTemplateConfig
|
|
10672
|
+
*/
|
|
10673
|
+
'blogCard': PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard;
|
|
10674
|
+
/**
|
|
10675
|
+
*
|
|
10676
|
+
* @type {PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard}
|
|
10677
|
+
* @memberof PickIThemeExcludeKeyofIThemeTemplateConfig
|
|
10678
|
+
*/
|
|
10679
|
+
'collectionCard': PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard;
|
|
10680
|
+
/**
|
|
10681
|
+
*
|
|
10682
|
+
* @type {PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard}
|
|
10683
|
+
* @memberof PickIThemeExcludeKeyofIThemeTemplateConfig
|
|
10684
|
+
*/
|
|
10685
|
+
'productCard': PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard;
|
|
10639
10686
|
/**
|
|
10640
10687
|
*
|
|
10641
10688
|
* @type {PickIThemeExcludeKeyofIThemeTemplateConfigLayout}
|
|
@@ -10661,6 +10708,79 @@ export interface PickIThemeExcludeKeyofIThemeTemplateConfig {
|
|
|
10661
10708
|
*/
|
|
10662
10709
|
'inject': PickIThemeExcludeKeyofIThemeTemplateConfigInject;
|
|
10663
10710
|
}
|
|
10711
|
+
/**
|
|
10712
|
+
*
|
|
10713
|
+
* @export
|
|
10714
|
+
* @interface PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
|
|
10715
|
+
*/
|
|
10716
|
+
export interface PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard {
|
|
10717
|
+
/**
|
|
10718
|
+
*
|
|
10719
|
+
* @type {number}
|
|
10720
|
+
* @memberof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
|
|
10721
|
+
*/
|
|
10722
|
+
'shadowBlurRadius': number;
|
|
10723
|
+
/**
|
|
10724
|
+
*
|
|
10725
|
+
* @type {number}
|
|
10726
|
+
* @memberof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
|
|
10727
|
+
*/
|
|
10728
|
+
'shadowVerticalOffset': number;
|
|
10729
|
+
/**
|
|
10730
|
+
*
|
|
10731
|
+
* @type {number}
|
|
10732
|
+
* @memberof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
|
|
10733
|
+
*/
|
|
10734
|
+
'shadowHorizontalOffset': number;
|
|
10735
|
+
/**
|
|
10736
|
+
*
|
|
10737
|
+
* @type {number}
|
|
10738
|
+
* @memberof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
|
|
10739
|
+
*/
|
|
10740
|
+
'shadowOpacity': number;
|
|
10741
|
+
/**
|
|
10742
|
+
*
|
|
10743
|
+
* @type {number}
|
|
10744
|
+
* @memberof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
|
|
10745
|
+
*/
|
|
10746
|
+
'borderRadius': number;
|
|
10747
|
+
/**
|
|
10748
|
+
*
|
|
10749
|
+
* @type {number}
|
|
10750
|
+
* @memberof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
|
|
10751
|
+
*/
|
|
10752
|
+
'opacity': number;
|
|
10753
|
+
/**
|
|
10754
|
+
*
|
|
10755
|
+
* @type {number}
|
|
10756
|
+
* @memberof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
|
|
10757
|
+
*/
|
|
10758
|
+
'borderWidth': number;
|
|
10759
|
+
/**
|
|
10760
|
+
*
|
|
10761
|
+
* @type {string}
|
|
10762
|
+
* @memberof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
|
|
10763
|
+
*/
|
|
10764
|
+
'textAlign': PickIThemeExcludeKeyofIThemeTemplateConfigBlogCardTextAlignEnum;
|
|
10765
|
+
/**
|
|
10766
|
+
*
|
|
10767
|
+
* @type {number}
|
|
10768
|
+
* @memberof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
|
|
10769
|
+
*/
|
|
10770
|
+
'padding': number;
|
|
10771
|
+
/**
|
|
10772
|
+
*
|
|
10773
|
+
* @type {string}
|
|
10774
|
+
* @memberof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
|
|
10775
|
+
*/
|
|
10776
|
+
'variant': string;
|
|
10777
|
+
}
|
|
10778
|
+
export declare const PickIThemeExcludeKeyofIThemeTemplateConfigBlogCardTextAlignEnum: {
|
|
10779
|
+
readonly LEFT: "left";
|
|
10780
|
+
readonly CENTER: "center";
|
|
10781
|
+
readonly RIGHT: "right";
|
|
10782
|
+
};
|
|
10783
|
+
export type PickIThemeExcludeKeyofIThemeTemplateConfigBlogCardTextAlignEnum = typeof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCardTextAlignEnum[keyof typeof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCardTextAlignEnum];
|
|
10664
10784
|
/**
|
|
10665
10785
|
*
|
|
10666
10786
|
* @export
|
|
@@ -11169,89 +11289,89 @@ export type ReviewStatusEnum = typeof ReviewStatusEnum[keyof typeof ReviewStatus
|
|
|
11169
11289
|
/**
|
|
11170
11290
|
*
|
|
11171
11291
|
* @export
|
|
11172
|
-
* @
|
|
11292
|
+
* @enum {string}
|
|
11173
11293
|
*/
|
|
11174
|
-
export
|
|
11175
|
-
|
|
11176
|
-
|
|
11177
|
-
|
|
11178
|
-
|
|
11179
|
-
|
|
11180
|
-
|
|
11181
|
-
|
|
11182
|
-
|
|
11183
|
-
|
|
11184
|
-
* @memberof ShippingPoviderRates
|
|
11185
|
-
*/
|
|
11186
|
-
'max'?: number;
|
|
11187
|
-
/**
|
|
11188
|
-
*
|
|
11189
|
-
* @type {number}
|
|
11190
|
-
* @memberof ShippingPoviderRates
|
|
11191
|
-
*/
|
|
11192
|
-
'min'?: number;
|
|
11294
|
+
export declare const ShippingPricingTypeEnum: {
|
|
11295
|
+
readonly PRICE: "price";
|
|
11296
|
+
};
|
|
11297
|
+
export type ShippingPricingTypeEnum = typeof ShippingPricingTypeEnum[keyof typeof ShippingPricingTypeEnum];
|
|
11298
|
+
/**
|
|
11299
|
+
*
|
|
11300
|
+
* @export
|
|
11301
|
+
* @interface ShippingProvider
|
|
11302
|
+
*/
|
|
11303
|
+
export interface ShippingProvider {
|
|
11193
11304
|
/**
|
|
11194
11305
|
*
|
|
11195
|
-
* @type {
|
|
11196
|
-
* @memberof
|
|
11306
|
+
* @type {Array<ShippingProviderRates>}
|
|
11307
|
+
* @memberof ShippingProvider
|
|
11197
11308
|
*/
|
|
11198
|
-
'
|
|
11309
|
+
'rates': Array<ShippingProviderRates>;
|
|
11199
11310
|
/**
|
|
11200
11311
|
*
|
|
11201
|
-
* @type {string}
|
|
11202
|
-
* @memberof
|
|
11312
|
+
* @type {Array<string>}
|
|
11313
|
+
* @memberof ShippingProvider
|
|
11203
11314
|
*/
|
|
11204
|
-
'
|
|
11315
|
+
'states': Array<string>;
|
|
11205
11316
|
/**
|
|
11206
11317
|
*
|
|
11207
11318
|
* @type {string}
|
|
11208
|
-
* @memberof
|
|
11319
|
+
* @memberof ShippingProvider
|
|
11209
11320
|
*/
|
|
11210
11321
|
'title': string;
|
|
11211
11322
|
/**
|
|
11212
11323
|
*
|
|
11213
11324
|
* @type {string}
|
|
11214
|
-
* @memberof
|
|
11325
|
+
* @memberof ShippingProvider
|
|
11215
11326
|
*/
|
|
11216
11327
|
'_id': string;
|
|
11217
11328
|
}
|
|
11218
11329
|
/**
|
|
11219
11330
|
*
|
|
11220
11331
|
* @export
|
|
11221
|
-
* @
|
|
11332
|
+
* @interface ShippingProviderRates
|
|
11222
11333
|
*/
|
|
11223
|
-
export
|
|
11224
|
-
readonly PRICE: "price";
|
|
11225
|
-
};
|
|
11226
|
-
export type ShippingPricingTypeEnum = typeof ShippingPricingTypeEnum[keyof typeof ShippingPricingTypeEnum];
|
|
11227
|
-
/**
|
|
11228
|
-
*
|
|
11229
|
-
* @export
|
|
11230
|
-
* @interface ShippingProvider
|
|
11231
|
-
*/
|
|
11232
|
-
export interface ShippingProvider {
|
|
11334
|
+
export interface ShippingProviderRates {
|
|
11233
11335
|
/**
|
|
11234
11336
|
*
|
|
11235
|
-
* @type {
|
|
11236
|
-
* @memberof
|
|
11337
|
+
* @type {number}
|
|
11338
|
+
* @memberof ShippingProviderRates
|
|
11237
11339
|
*/
|
|
11238
|
-
'
|
|
11340
|
+
'price': number;
|
|
11239
11341
|
/**
|
|
11240
11342
|
*
|
|
11241
|
-
* @type {
|
|
11242
|
-
* @memberof
|
|
11343
|
+
* @type {number}
|
|
11344
|
+
* @memberof ShippingProviderRates
|
|
11243
11345
|
*/
|
|
11244
|
-
'
|
|
11346
|
+
'max'?: number;
|
|
11347
|
+
/**
|
|
11348
|
+
*
|
|
11349
|
+
* @type {number}
|
|
11350
|
+
* @memberof ShippingProviderRates
|
|
11351
|
+
*/
|
|
11352
|
+
'min'?: number;
|
|
11353
|
+
/**
|
|
11354
|
+
*
|
|
11355
|
+
* @type {ShippingPricingTypeEnum}
|
|
11356
|
+
* @memberof ShippingProviderRates
|
|
11357
|
+
*/
|
|
11358
|
+
'type'?: ShippingPricingTypeEnum;
|
|
11245
11359
|
/**
|
|
11246
11360
|
*
|
|
11247
11361
|
* @type {string}
|
|
11248
|
-
* @memberof
|
|
11362
|
+
* @memberof ShippingProviderRates
|
|
11363
|
+
*/
|
|
11364
|
+
'description': string;
|
|
11365
|
+
/**
|
|
11366
|
+
*
|
|
11367
|
+
* @type {string}
|
|
11368
|
+
* @memberof ShippingProviderRates
|
|
11249
11369
|
*/
|
|
11250
11370
|
'title': string;
|
|
11251
11371
|
/**
|
|
11252
11372
|
*
|
|
11253
11373
|
* @type {string}
|
|
11254
|
-
* @memberof
|
|
11374
|
+
* @memberof ShippingProviderRates
|
|
11255
11375
|
*/
|
|
11256
11376
|
'_id': string;
|
|
11257
11377
|
}
|
|
@@ -13833,6 +13953,20 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
13833
13953
|
* @throws {RequiredError}
|
|
13834
13954
|
*/
|
|
13835
13955
|
getMyAddresses: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13956
|
+
/**
|
|
13957
|
+
*
|
|
13958
|
+
* @param {ReviewStatusEnum} [status]
|
|
13959
|
+
* @param {*} [options] Override http request option.
|
|
13960
|
+
* @throws {RequiredError}
|
|
13961
|
+
*/
|
|
13962
|
+
getMyProductReviewCount: (status?: ReviewStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13963
|
+
/**
|
|
13964
|
+
*
|
|
13965
|
+
* @param {ReviewStatusEnum} [status]
|
|
13966
|
+
* @param {*} [options] Override http request option.
|
|
13967
|
+
* @throws {RequiredError}
|
|
13968
|
+
*/
|
|
13969
|
+
getMyProductReviews: (status?: ReviewStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13836
13970
|
/**
|
|
13837
13971
|
*
|
|
13838
13972
|
* @param {string} id
|
|
@@ -13880,6 +14014,20 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
13880
14014
|
* @throws {RequiredError}
|
|
13881
14015
|
*/
|
|
13882
14016
|
getMyAddresses(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUserAddressResponse>>;
|
|
14017
|
+
/**
|
|
14018
|
+
*
|
|
14019
|
+
* @param {ReviewStatusEnum} [status]
|
|
14020
|
+
* @param {*} [options] Override http request option.
|
|
14021
|
+
* @throws {RequiredError}
|
|
14022
|
+
*/
|
|
14023
|
+
getMyProductReviewCount(status?: ReviewStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMyProductReviewCount200Response>>;
|
|
14024
|
+
/**
|
|
14025
|
+
*
|
|
14026
|
+
* @param {ReviewStatusEnum} [status]
|
|
14027
|
+
* @param {*} [options] Override http request option.
|
|
14028
|
+
* @throws {RequiredError}
|
|
14029
|
+
*/
|
|
14030
|
+
getMyProductReviews(status?: ReviewStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IProductReviewsPopulateResponse>>;
|
|
13883
14031
|
/**
|
|
13884
14032
|
*
|
|
13885
14033
|
* @param {string} id
|
|
@@ -13927,6 +14075,20 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
|
|
|
13927
14075
|
* @throws {RequiredError}
|
|
13928
14076
|
*/
|
|
13929
14077
|
getMyAddresses(options?: RawAxiosRequestConfig): AxiosPromise<IUserAddressResponse>;
|
|
14078
|
+
/**
|
|
14079
|
+
*
|
|
14080
|
+
* @param {UserApiGetMyProductReviewCountRequest} requestParameters Request parameters.
|
|
14081
|
+
* @param {*} [options] Override http request option.
|
|
14082
|
+
* @throws {RequiredError}
|
|
14083
|
+
*/
|
|
14084
|
+
getMyProductReviewCount(requestParameters?: UserApiGetMyProductReviewCountRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetMyProductReviewCount200Response>;
|
|
14085
|
+
/**
|
|
14086
|
+
*
|
|
14087
|
+
* @param {UserApiGetMyProductReviewsRequest} requestParameters Request parameters.
|
|
14088
|
+
* @param {*} [options] Override http request option.
|
|
14089
|
+
* @throws {RequiredError}
|
|
14090
|
+
*/
|
|
14091
|
+
getMyProductReviews(requestParameters?: UserApiGetMyProductReviewsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IProductReviewsPopulateResponse>;
|
|
13930
14092
|
/**
|
|
13931
14093
|
*
|
|
13932
14094
|
* @param {UserApiGetUserByIdRequest} requestParameters Request parameters.
|
|
@@ -13968,6 +14130,32 @@ export interface UserApiDeleteUserRequest {
|
|
|
13968
14130
|
*/
|
|
13969
14131
|
readonly id: string;
|
|
13970
14132
|
}
|
|
14133
|
+
/**
|
|
14134
|
+
* Request parameters for getMyProductReviewCount operation in UserApi.
|
|
14135
|
+
* @export
|
|
14136
|
+
* @interface UserApiGetMyProductReviewCountRequest
|
|
14137
|
+
*/
|
|
14138
|
+
export interface UserApiGetMyProductReviewCountRequest {
|
|
14139
|
+
/**
|
|
14140
|
+
*
|
|
14141
|
+
* @type {ReviewStatusEnum}
|
|
14142
|
+
* @memberof UserApiGetMyProductReviewCount
|
|
14143
|
+
*/
|
|
14144
|
+
readonly status?: ReviewStatusEnum;
|
|
14145
|
+
}
|
|
14146
|
+
/**
|
|
14147
|
+
* Request parameters for getMyProductReviews operation in UserApi.
|
|
14148
|
+
* @export
|
|
14149
|
+
* @interface UserApiGetMyProductReviewsRequest
|
|
14150
|
+
*/
|
|
14151
|
+
export interface UserApiGetMyProductReviewsRequest {
|
|
14152
|
+
/**
|
|
14153
|
+
*
|
|
14154
|
+
* @type {ReviewStatusEnum}
|
|
14155
|
+
* @memberof UserApiGetMyProductReviews
|
|
14156
|
+
*/
|
|
14157
|
+
readonly status?: ReviewStatusEnum;
|
|
14158
|
+
}
|
|
13971
14159
|
/**
|
|
13972
14160
|
* Request parameters for getUserById operation in UserApi.
|
|
13973
14161
|
* @export
|
|
@@ -14035,6 +14223,22 @@ export declare class UserApi extends BaseAPI {
|
|
|
14035
14223
|
* @memberof UserApi
|
|
14036
14224
|
*/
|
|
14037
14225
|
getMyAddresses(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IUserAddressResponse, any>>;
|
|
14226
|
+
/**
|
|
14227
|
+
*
|
|
14228
|
+
* @param {UserApiGetMyProductReviewCountRequest} requestParameters Request parameters.
|
|
14229
|
+
* @param {*} [options] Override http request option.
|
|
14230
|
+
* @throws {RequiredError}
|
|
14231
|
+
* @memberof UserApi
|
|
14232
|
+
*/
|
|
14233
|
+
getMyProductReviewCount(requestParameters?: UserApiGetMyProductReviewCountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMyProductReviewCount200Response, any>>;
|
|
14234
|
+
/**
|
|
14235
|
+
*
|
|
14236
|
+
* @param {UserApiGetMyProductReviewsRequest} requestParameters Request parameters.
|
|
14237
|
+
* @param {*} [options] Override http request option.
|
|
14238
|
+
* @throws {RequiredError}
|
|
14239
|
+
* @memberof UserApi
|
|
14240
|
+
*/
|
|
14241
|
+
getMyProductReviews(requestParameters?: UserApiGetMyProductReviewsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IProductReviewsPopulateResponse, any>>;
|
|
14038
14242
|
/**
|
|
14039
14243
|
*
|
|
14040
14244
|
* @param {UserApiGetUserByIdRequest} requestParameters Request parameters.
|
package/dist/api/api.js
CHANGED
|
@@ -17,8 +17,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
19
|
exports.PaymentGatewayEnum = exports.PageTypeEnum = exports.OrderStatusEnum = exports.OrderShippedStatusEnum = exports.OrderReturnStatusEnumWAITINGRETURN = exports.OrderReturnStatusEnumRETURNED = exports.OrderReturnStatusEnum = exports.OrderPaymentStatusEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = exports.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.FontSizeEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.ContentPositionYEnum = exports.ContentPositionXEnum = exports.ComponentTypeEnum = exports.ComponentProductTypeEnum = exports.ComponentProductOrderEnum = exports.ComponentProductListTypeEnum = exports.ComponentContentTypeEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = exports.ButtonVariantEnum = void 0;
|
|
20
|
-
exports.
|
|
21
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = void 0;
|
|
20
|
+
exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.BasketApi = exports.BasketApiFactory = exports.BasketApiFp = exports.BasketApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.AddressApi = exports.AddressApiFactory = exports.AddressApiFp = exports.AddressApiAxiosParamCreator = exports.UserStatusEnum = exports.UserRoleEnum = exports.TimezoneEnum = exports.TemplateTypeEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.ProductDetailImageZoomTypeEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = exports.PickIThemeExcludeKeyofIThemeTemplateConfigBlogCardTextAlignEnum = exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentMethodEnum = void 0;
|
|
21
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = void 0;
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
23
|
// Some imports not used depending on template conditions
|
|
24
24
|
// @ts-ignore
|
|
@@ -90,7 +90,10 @@ exports.ComponentContentTypeEnum = {
|
|
|
90
90
|
CAROUSEL_ITEM: 'carousel-item',
|
|
91
91
|
GRID_ITEM: 'grid-item',
|
|
92
92
|
ANNOUNCEMENT_ITEM: 'announcement-item',
|
|
93
|
-
ACCORDION_ITEM: 'accordion-item'
|
|
93
|
+
ACCORDION_ITEM: 'accordion-item',
|
|
94
|
+
PRODUCT_DESCRIPTION: 'product-description',
|
|
95
|
+
PRODUCT_REVIEWS: 'product-reviews',
|
|
96
|
+
PRODUCT_ATTRIBUTES: 'product-attributes'
|
|
94
97
|
};
|
|
95
98
|
/**
|
|
96
99
|
*
|
|
@@ -132,6 +135,7 @@ exports.ComponentTypeEnum = {
|
|
|
132
135
|
PRODUCT_LIST: 'product-list',
|
|
133
136
|
CONTENT: 'content',
|
|
134
137
|
PRODUCT_DETAIL: 'product-detail',
|
|
138
|
+
PRODUCT_MORE_DETAIL: 'product-more-detail',
|
|
135
139
|
SINGLE_PRODUCT: 'single-product',
|
|
136
140
|
COLLECTION_LIST: 'collection-list',
|
|
137
141
|
CATEGORY_LIST: 'category-list',
|
|
@@ -727,6 +731,11 @@ exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFiel
|
|
|
727
731
|
CREATED_AT: 'createdAt',
|
|
728
732
|
UPDATED_AT: 'updatedAt'
|
|
729
733
|
};
|
|
734
|
+
exports.PickIThemeExcludeKeyofIThemeTemplateConfigBlogCardTextAlignEnum = {
|
|
735
|
+
LEFT: 'left',
|
|
736
|
+
CENTER: 'center',
|
|
737
|
+
RIGHT: 'right'
|
|
738
|
+
};
|
|
730
739
|
/**
|
|
731
740
|
*
|
|
732
741
|
* @export
|
|
@@ -3861,6 +3870,62 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
3861
3870
|
options: localVarRequestOptions,
|
|
3862
3871
|
};
|
|
3863
3872
|
},
|
|
3873
|
+
/**
|
|
3874
|
+
*
|
|
3875
|
+
* @param {ReviewStatusEnum} [status]
|
|
3876
|
+
* @param {*} [options] Override http request option.
|
|
3877
|
+
* @throws {RequiredError}
|
|
3878
|
+
*/
|
|
3879
|
+
getMyProductReviewCount: async (status, options = {}) => {
|
|
3880
|
+
const localVarPath = `/api/users/my/review-count`;
|
|
3881
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3882
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3883
|
+
let baseOptions;
|
|
3884
|
+
if (configuration) {
|
|
3885
|
+
baseOptions = configuration.baseOptions;
|
|
3886
|
+
}
|
|
3887
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
3888
|
+
const localVarHeaderParameter = {};
|
|
3889
|
+
const localVarQueryParameter = {};
|
|
3890
|
+
if (status !== undefined) {
|
|
3891
|
+
localVarQueryParameter['status'] = status;
|
|
3892
|
+
}
|
|
3893
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3894
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3895
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3896
|
+
return {
|
|
3897
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3898
|
+
options: localVarRequestOptions,
|
|
3899
|
+
};
|
|
3900
|
+
},
|
|
3901
|
+
/**
|
|
3902
|
+
*
|
|
3903
|
+
* @param {ReviewStatusEnum} [status]
|
|
3904
|
+
* @param {*} [options] Override http request option.
|
|
3905
|
+
* @throws {RequiredError}
|
|
3906
|
+
*/
|
|
3907
|
+
getMyProductReviews: async (status, options = {}) => {
|
|
3908
|
+
const localVarPath = `/api/users/my/reviews`;
|
|
3909
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3910
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3911
|
+
let baseOptions;
|
|
3912
|
+
if (configuration) {
|
|
3913
|
+
baseOptions = configuration.baseOptions;
|
|
3914
|
+
}
|
|
3915
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
3916
|
+
const localVarHeaderParameter = {};
|
|
3917
|
+
const localVarQueryParameter = {};
|
|
3918
|
+
if (status !== undefined) {
|
|
3919
|
+
localVarQueryParameter['status'] = status;
|
|
3920
|
+
}
|
|
3921
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3922
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3923
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3924
|
+
return {
|
|
3925
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3926
|
+
options: localVarRequestOptions,
|
|
3927
|
+
};
|
|
3928
|
+
},
|
|
3864
3929
|
/**
|
|
3865
3930
|
*
|
|
3866
3931
|
* @param {string} id
|
|
@@ -4008,6 +4073,30 @@ const UserApiFp = function (configuration) {
|
|
|
4008
4073
|
const localVarOperationServerBasePath = base_1.operationServerMap['UserApi.getMyAddresses']?.[localVarOperationServerIndex]?.url;
|
|
4009
4074
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4010
4075
|
},
|
|
4076
|
+
/**
|
|
4077
|
+
*
|
|
4078
|
+
* @param {ReviewStatusEnum} [status]
|
|
4079
|
+
* @param {*} [options] Override http request option.
|
|
4080
|
+
* @throws {RequiredError}
|
|
4081
|
+
*/
|
|
4082
|
+
async getMyProductReviewCount(status, options) {
|
|
4083
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMyProductReviewCount(status, options);
|
|
4084
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4085
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['UserApi.getMyProductReviewCount']?.[localVarOperationServerIndex]?.url;
|
|
4086
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4087
|
+
},
|
|
4088
|
+
/**
|
|
4089
|
+
*
|
|
4090
|
+
* @param {ReviewStatusEnum} [status]
|
|
4091
|
+
* @param {*} [options] Override http request option.
|
|
4092
|
+
* @throws {RequiredError}
|
|
4093
|
+
*/
|
|
4094
|
+
async getMyProductReviews(status, options) {
|
|
4095
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMyProductReviews(status, options);
|
|
4096
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4097
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['UserApi.getMyProductReviews']?.[localVarOperationServerIndex]?.url;
|
|
4098
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4099
|
+
},
|
|
4011
4100
|
/**
|
|
4012
4101
|
*
|
|
4013
4102
|
* @param {string} id
|
|
@@ -4083,6 +4172,24 @@ const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
4083
4172
|
getMyAddresses(options) {
|
|
4084
4173
|
return localVarFp.getMyAddresses(options).then((request) => request(axios, basePath));
|
|
4085
4174
|
},
|
|
4175
|
+
/**
|
|
4176
|
+
*
|
|
4177
|
+
* @param {UserApiGetMyProductReviewCountRequest} requestParameters Request parameters.
|
|
4178
|
+
* @param {*} [options] Override http request option.
|
|
4179
|
+
* @throws {RequiredError}
|
|
4180
|
+
*/
|
|
4181
|
+
getMyProductReviewCount(requestParameters = {}, options) {
|
|
4182
|
+
return localVarFp.getMyProductReviewCount(requestParameters.status, options).then((request) => request(axios, basePath));
|
|
4183
|
+
},
|
|
4184
|
+
/**
|
|
4185
|
+
*
|
|
4186
|
+
* @param {UserApiGetMyProductReviewsRequest} requestParameters Request parameters.
|
|
4187
|
+
* @param {*} [options] Override http request option.
|
|
4188
|
+
* @throws {RequiredError}
|
|
4189
|
+
*/
|
|
4190
|
+
getMyProductReviews(requestParameters = {}, options) {
|
|
4191
|
+
return localVarFp.getMyProductReviews(requestParameters.status, options).then((request) => request(axios, basePath));
|
|
4192
|
+
},
|
|
4086
4193
|
/**
|
|
4087
4194
|
*
|
|
4088
4195
|
* @param {UserApiGetUserByIdRequest} requestParameters Request parameters.
|
|
@@ -4147,6 +4254,26 @@ class UserApi extends base_1.BaseAPI {
|
|
|
4147
4254
|
getMyAddresses(options) {
|
|
4148
4255
|
return (0, exports.UserApiFp)(this.configuration).getMyAddresses(options).then((request) => request(this.axios, this.basePath));
|
|
4149
4256
|
}
|
|
4257
|
+
/**
|
|
4258
|
+
*
|
|
4259
|
+
* @param {UserApiGetMyProductReviewCountRequest} requestParameters Request parameters.
|
|
4260
|
+
* @param {*} [options] Override http request option.
|
|
4261
|
+
* @throws {RequiredError}
|
|
4262
|
+
* @memberof UserApi
|
|
4263
|
+
*/
|
|
4264
|
+
getMyProductReviewCount(requestParameters = {}, options) {
|
|
4265
|
+
return (0, exports.UserApiFp)(this.configuration).getMyProductReviewCount(requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
4266
|
+
}
|
|
4267
|
+
/**
|
|
4268
|
+
*
|
|
4269
|
+
* @param {UserApiGetMyProductReviewsRequest} requestParameters Request parameters.
|
|
4270
|
+
* @param {*} [options] Override http request option.
|
|
4271
|
+
* @throws {RequiredError}
|
|
4272
|
+
* @memberof UserApi
|
|
4273
|
+
*/
|
|
4274
|
+
getMyProductReviews(requestParameters = {}, options) {
|
|
4275
|
+
return (0, exports.UserApiFp)(this.configuration).getMyProductReviews(requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
4276
|
+
}
|
|
4150
4277
|
/**
|
|
4151
4278
|
*
|
|
4152
4279
|
* @param {UserApiGetUserByIdRequest} requestParameters Request parameters.
|
package/dist/api/api.mjs
CHANGED
|
@@ -79,7 +79,10 @@ export const ComponentContentTypeEnum = {
|
|
|
79
79
|
CAROUSEL_ITEM: 'carousel-item',
|
|
80
80
|
GRID_ITEM: 'grid-item',
|
|
81
81
|
ANNOUNCEMENT_ITEM: 'announcement-item',
|
|
82
|
-
ACCORDION_ITEM: 'accordion-item'
|
|
82
|
+
ACCORDION_ITEM: 'accordion-item',
|
|
83
|
+
PRODUCT_DESCRIPTION: 'product-description',
|
|
84
|
+
PRODUCT_REVIEWS: 'product-reviews',
|
|
85
|
+
PRODUCT_ATTRIBUTES: 'product-attributes'
|
|
83
86
|
};
|
|
84
87
|
/**
|
|
85
88
|
*
|
|
@@ -121,6 +124,7 @@ export const ComponentTypeEnum = {
|
|
|
121
124
|
PRODUCT_LIST: 'product-list',
|
|
122
125
|
CONTENT: 'content',
|
|
123
126
|
PRODUCT_DETAIL: 'product-detail',
|
|
127
|
+
PRODUCT_MORE_DETAIL: 'product-more-detail',
|
|
124
128
|
SINGLE_PRODUCT: 'single-product',
|
|
125
129
|
COLLECTION_LIST: 'collection-list',
|
|
126
130
|
CATEGORY_LIST: 'category-list',
|
|
@@ -716,6 +720,11 @@ export const PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDat
|
|
|
716
720
|
CREATED_AT: 'createdAt',
|
|
717
721
|
UPDATED_AT: 'updatedAt'
|
|
718
722
|
};
|
|
723
|
+
export const PickIThemeExcludeKeyofIThemeTemplateConfigBlogCardTextAlignEnum = {
|
|
724
|
+
LEFT: 'left',
|
|
725
|
+
CENTER: 'center',
|
|
726
|
+
RIGHT: 'right'
|
|
727
|
+
};
|
|
719
728
|
/**
|
|
720
729
|
*
|
|
721
730
|
* @export
|
|
@@ -3810,6 +3819,62 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
3810
3819
|
options: localVarRequestOptions,
|
|
3811
3820
|
};
|
|
3812
3821
|
},
|
|
3822
|
+
/**
|
|
3823
|
+
*
|
|
3824
|
+
* @param {ReviewStatusEnum} [status]
|
|
3825
|
+
* @param {*} [options] Override http request option.
|
|
3826
|
+
* @throws {RequiredError}
|
|
3827
|
+
*/
|
|
3828
|
+
getMyProductReviewCount: async (status, options = {}) => {
|
|
3829
|
+
const localVarPath = `/api/users/my/review-count`;
|
|
3830
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3831
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3832
|
+
let baseOptions;
|
|
3833
|
+
if (configuration) {
|
|
3834
|
+
baseOptions = configuration.baseOptions;
|
|
3835
|
+
}
|
|
3836
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
3837
|
+
const localVarHeaderParameter = {};
|
|
3838
|
+
const localVarQueryParameter = {};
|
|
3839
|
+
if (status !== undefined) {
|
|
3840
|
+
localVarQueryParameter['status'] = status;
|
|
3841
|
+
}
|
|
3842
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3843
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3844
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3845
|
+
return {
|
|
3846
|
+
url: toPathString(localVarUrlObj),
|
|
3847
|
+
options: localVarRequestOptions,
|
|
3848
|
+
};
|
|
3849
|
+
},
|
|
3850
|
+
/**
|
|
3851
|
+
*
|
|
3852
|
+
* @param {ReviewStatusEnum} [status]
|
|
3853
|
+
* @param {*} [options] Override http request option.
|
|
3854
|
+
* @throws {RequiredError}
|
|
3855
|
+
*/
|
|
3856
|
+
getMyProductReviews: async (status, options = {}) => {
|
|
3857
|
+
const localVarPath = `/api/users/my/reviews`;
|
|
3858
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3859
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3860
|
+
let baseOptions;
|
|
3861
|
+
if (configuration) {
|
|
3862
|
+
baseOptions = configuration.baseOptions;
|
|
3863
|
+
}
|
|
3864
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
3865
|
+
const localVarHeaderParameter = {};
|
|
3866
|
+
const localVarQueryParameter = {};
|
|
3867
|
+
if (status !== undefined) {
|
|
3868
|
+
localVarQueryParameter['status'] = status;
|
|
3869
|
+
}
|
|
3870
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3871
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3872
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3873
|
+
return {
|
|
3874
|
+
url: toPathString(localVarUrlObj),
|
|
3875
|
+
options: localVarRequestOptions,
|
|
3876
|
+
};
|
|
3877
|
+
},
|
|
3813
3878
|
/**
|
|
3814
3879
|
*
|
|
3815
3880
|
* @param {string} id
|
|
@@ -3956,6 +4021,30 @@ export const UserApiFp = function (configuration) {
|
|
|
3956
4021
|
const localVarOperationServerBasePath = operationServerMap['UserApi.getMyAddresses']?.[localVarOperationServerIndex]?.url;
|
|
3957
4022
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3958
4023
|
},
|
|
4024
|
+
/**
|
|
4025
|
+
*
|
|
4026
|
+
* @param {ReviewStatusEnum} [status]
|
|
4027
|
+
* @param {*} [options] Override http request option.
|
|
4028
|
+
* @throws {RequiredError}
|
|
4029
|
+
*/
|
|
4030
|
+
async getMyProductReviewCount(status, options) {
|
|
4031
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMyProductReviewCount(status, options);
|
|
4032
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4033
|
+
const localVarOperationServerBasePath = operationServerMap['UserApi.getMyProductReviewCount']?.[localVarOperationServerIndex]?.url;
|
|
4034
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4035
|
+
},
|
|
4036
|
+
/**
|
|
4037
|
+
*
|
|
4038
|
+
* @param {ReviewStatusEnum} [status]
|
|
4039
|
+
* @param {*} [options] Override http request option.
|
|
4040
|
+
* @throws {RequiredError}
|
|
4041
|
+
*/
|
|
4042
|
+
async getMyProductReviews(status, options) {
|
|
4043
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMyProductReviews(status, options);
|
|
4044
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4045
|
+
const localVarOperationServerBasePath = operationServerMap['UserApi.getMyProductReviews']?.[localVarOperationServerIndex]?.url;
|
|
4046
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4047
|
+
},
|
|
3959
4048
|
/**
|
|
3960
4049
|
*
|
|
3961
4050
|
* @param {string} id
|
|
@@ -4030,6 +4119,24 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
4030
4119
|
getMyAddresses(options) {
|
|
4031
4120
|
return localVarFp.getMyAddresses(options).then((request) => request(axios, basePath));
|
|
4032
4121
|
},
|
|
4122
|
+
/**
|
|
4123
|
+
*
|
|
4124
|
+
* @param {UserApiGetMyProductReviewCountRequest} requestParameters Request parameters.
|
|
4125
|
+
* @param {*} [options] Override http request option.
|
|
4126
|
+
* @throws {RequiredError}
|
|
4127
|
+
*/
|
|
4128
|
+
getMyProductReviewCount(requestParameters = {}, options) {
|
|
4129
|
+
return localVarFp.getMyProductReviewCount(requestParameters.status, options).then((request) => request(axios, basePath));
|
|
4130
|
+
},
|
|
4131
|
+
/**
|
|
4132
|
+
*
|
|
4133
|
+
* @param {UserApiGetMyProductReviewsRequest} requestParameters Request parameters.
|
|
4134
|
+
* @param {*} [options] Override http request option.
|
|
4135
|
+
* @throws {RequiredError}
|
|
4136
|
+
*/
|
|
4137
|
+
getMyProductReviews(requestParameters = {}, options) {
|
|
4138
|
+
return localVarFp.getMyProductReviews(requestParameters.status, options).then((request) => request(axios, basePath));
|
|
4139
|
+
},
|
|
4033
4140
|
/**
|
|
4034
4141
|
*
|
|
4035
4142
|
* @param {UserApiGetUserByIdRequest} requestParameters Request parameters.
|
|
@@ -4093,6 +4200,26 @@ export class UserApi extends BaseAPI {
|
|
|
4093
4200
|
getMyAddresses(options) {
|
|
4094
4201
|
return UserApiFp(this.configuration).getMyAddresses(options).then((request) => request(this.axios, this.basePath));
|
|
4095
4202
|
}
|
|
4203
|
+
/**
|
|
4204
|
+
*
|
|
4205
|
+
* @param {UserApiGetMyProductReviewCountRequest} requestParameters Request parameters.
|
|
4206
|
+
* @param {*} [options] Override http request option.
|
|
4207
|
+
* @throws {RequiredError}
|
|
4208
|
+
* @memberof UserApi
|
|
4209
|
+
*/
|
|
4210
|
+
getMyProductReviewCount(requestParameters = {}, options) {
|
|
4211
|
+
return UserApiFp(this.configuration).getMyProductReviewCount(requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
4212
|
+
}
|
|
4213
|
+
/**
|
|
4214
|
+
*
|
|
4215
|
+
* @param {UserApiGetMyProductReviewsRequest} requestParameters Request parameters.
|
|
4216
|
+
* @param {*} [options] Override http request option.
|
|
4217
|
+
* @throws {RequiredError}
|
|
4218
|
+
* @memberof UserApi
|
|
4219
|
+
*/
|
|
4220
|
+
getMyProductReviews(requestParameters = {}, options) {
|
|
4221
|
+
return UserApiFp(this.configuration).getMyProductReviews(requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
4222
|
+
}
|
|
4096
4223
|
/**
|
|
4097
4224
|
*
|
|
4098
4225
|
* @param {UserApiGetUserByIdRequest} requestParameters Request parameters.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api-client",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.79",
|
|
4
4
|
"description": "api-client-sdk",
|
|
5
5
|
"author": "Muhammet KÖKLÜ <105980019+byhipernova@users.noreply.github.com>",
|
|
6
6
|
"homepage": "https://github.com/infisale/infisale-client#readme",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"bugs": {
|
|
38
38
|
"url": "https://github.com/infisale/infisale-client/issues"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "240dd286594b55349c18d715a950181e3028760b"
|
|
41
41
|
}
|