@infisale-client/api-client 1.2.78 → 1.2.80
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 +204 -47
- package/dist/api/api.js +76 -3
- package/dist/api/api.mjs +74 -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";
|
|
@@ -7645,6 +7649,18 @@ export interface ITemplateResponseComponentsInnerConfig {
|
|
|
7645
7649
|
* @memberof ITemplateResponseComponentsInnerConfig
|
|
7646
7650
|
*/
|
|
7647
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;
|
|
7648
7664
|
/**
|
|
7649
7665
|
*
|
|
7650
7666
|
* @type {number}
|
|
@@ -10649,6 +10665,24 @@ export interface PickIThemeExcludeKeyofIThemeTemplate {
|
|
|
10649
10665
|
* @interface PickIThemeExcludeKeyofIThemeTemplateConfig
|
|
10650
10666
|
*/
|
|
10651
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;
|
|
10652
10686
|
/**
|
|
10653
10687
|
*
|
|
10654
10688
|
* @type {PickIThemeExcludeKeyofIThemeTemplateConfigLayout}
|
|
@@ -10674,6 +10708,79 @@ export interface PickIThemeExcludeKeyofIThemeTemplateConfig {
|
|
|
10674
10708
|
*/
|
|
10675
10709
|
'inject': PickIThemeExcludeKeyofIThemeTemplateConfigInject;
|
|
10676
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];
|
|
10677
10784
|
/**
|
|
10678
10785
|
*
|
|
10679
10786
|
* @export
|
|
@@ -11182,89 +11289,89 @@ export type ReviewStatusEnum = typeof ReviewStatusEnum[keyof typeof ReviewStatus
|
|
|
11182
11289
|
/**
|
|
11183
11290
|
*
|
|
11184
11291
|
* @export
|
|
11185
|
-
* @
|
|
11292
|
+
* @enum {string}
|
|
11186
11293
|
*/
|
|
11187
|
-
export
|
|
11188
|
-
|
|
11189
|
-
|
|
11190
|
-
|
|
11191
|
-
|
|
11192
|
-
|
|
11193
|
-
|
|
11194
|
-
|
|
11195
|
-
|
|
11196
|
-
|
|
11197
|
-
* @memberof ShippingPoviderRates
|
|
11198
|
-
*/
|
|
11199
|
-
'max'?: number;
|
|
11200
|
-
/**
|
|
11201
|
-
*
|
|
11202
|
-
* @type {number}
|
|
11203
|
-
* @memberof ShippingPoviderRates
|
|
11204
|
-
*/
|
|
11205
|
-
'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 {
|
|
11206
11304
|
/**
|
|
11207
11305
|
*
|
|
11208
|
-
* @type {
|
|
11209
|
-
* @memberof
|
|
11306
|
+
* @type {Array<ShippingProviderRates>}
|
|
11307
|
+
* @memberof ShippingProvider
|
|
11210
11308
|
*/
|
|
11211
|
-
'
|
|
11309
|
+
'rates': Array<ShippingProviderRates>;
|
|
11212
11310
|
/**
|
|
11213
11311
|
*
|
|
11214
|
-
* @type {string}
|
|
11215
|
-
* @memberof
|
|
11312
|
+
* @type {Array<string>}
|
|
11313
|
+
* @memberof ShippingProvider
|
|
11216
11314
|
*/
|
|
11217
|
-
'
|
|
11315
|
+
'states': Array<string>;
|
|
11218
11316
|
/**
|
|
11219
11317
|
*
|
|
11220
11318
|
* @type {string}
|
|
11221
|
-
* @memberof
|
|
11319
|
+
* @memberof ShippingProvider
|
|
11222
11320
|
*/
|
|
11223
11321
|
'title': string;
|
|
11224
11322
|
/**
|
|
11225
11323
|
*
|
|
11226
11324
|
* @type {string}
|
|
11227
|
-
* @memberof
|
|
11325
|
+
* @memberof ShippingProvider
|
|
11228
11326
|
*/
|
|
11229
11327
|
'_id': string;
|
|
11230
11328
|
}
|
|
11231
11329
|
/**
|
|
11232
11330
|
*
|
|
11233
11331
|
* @export
|
|
11234
|
-
* @
|
|
11332
|
+
* @interface ShippingProviderRates
|
|
11235
11333
|
*/
|
|
11236
|
-
export
|
|
11237
|
-
readonly PRICE: "price";
|
|
11238
|
-
};
|
|
11239
|
-
export type ShippingPricingTypeEnum = typeof ShippingPricingTypeEnum[keyof typeof ShippingPricingTypeEnum];
|
|
11240
|
-
/**
|
|
11241
|
-
*
|
|
11242
|
-
* @export
|
|
11243
|
-
* @interface ShippingProvider
|
|
11244
|
-
*/
|
|
11245
|
-
export interface ShippingProvider {
|
|
11334
|
+
export interface ShippingProviderRates {
|
|
11246
11335
|
/**
|
|
11247
11336
|
*
|
|
11248
|
-
* @type {
|
|
11249
|
-
* @memberof
|
|
11337
|
+
* @type {number}
|
|
11338
|
+
* @memberof ShippingProviderRates
|
|
11250
11339
|
*/
|
|
11251
|
-
'
|
|
11340
|
+
'price': number;
|
|
11252
11341
|
/**
|
|
11253
11342
|
*
|
|
11254
|
-
* @type {
|
|
11255
|
-
* @memberof
|
|
11343
|
+
* @type {number}
|
|
11344
|
+
* @memberof ShippingProviderRates
|
|
11256
11345
|
*/
|
|
11257
|
-
'
|
|
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;
|
|
11258
11359
|
/**
|
|
11259
11360
|
*
|
|
11260
11361
|
* @type {string}
|
|
11261
|
-
* @memberof
|
|
11362
|
+
* @memberof ShippingProviderRates
|
|
11363
|
+
*/
|
|
11364
|
+
'description': string;
|
|
11365
|
+
/**
|
|
11366
|
+
*
|
|
11367
|
+
* @type {string}
|
|
11368
|
+
* @memberof ShippingProviderRates
|
|
11262
11369
|
*/
|
|
11263
11370
|
'title': string;
|
|
11264
11371
|
/**
|
|
11265
11372
|
*
|
|
11266
11373
|
* @type {string}
|
|
11267
|
-
* @memberof
|
|
11374
|
+
* @memberof ShippingProviderRates
|
|
11268
11375
|
*/
|
|
11269
11376
|
'_id': string;
|
|
11270
11377
|
}
|
|
@@ -12636,6 +12743,14 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
12636
12743
|
* @throws {RequiredError}
|
|
12637
12744
|
*/
|
|
12638
12745
|
getOrderById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12746
|
+
/**
|
|
12747
|
+
*
|
|
12748
|
+
* @param {string} id
|
|
12749
|
+
* @param {string} productId
|
|
12750
|
+
* @param {*} [options] Override http request option.
|
|
12751
|
+
* @throws {RequiredError}
|
|
12752
|
+
*/
|
|
12753
|
+
getOrderProductReview: (id: string, productId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12639
12754
|
/**
|
|
12640
12755
|
*
|
|
12641
12756
|
* @param {string} company
|
|
@@ -12711,6 +12826,14 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
12711
12826
|
* @throws {RequiredError}
|
|
12712
12827
|
*/
|
|
12713
12828
|
getOrderById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IOrderResponse>>;
|
|
12829
|
+
/**
|
|
12830
|
+
*
|
|
12831
|
+
* @param {string} id
|
|
12832
|
+
* @param {string} productId
|
|
12833
|
+
* @param {*} [options] Override http request option.
|
|
12834
|
+
* @throws {RequiredError}
|
|
12835
|
+
*/
|
|
12836
|
+
getOrderProductReview(id: string, productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IReview>>;
|
|
12714
12837
|
/**
|
|
12715
12838
|
*
|
|
12716
12839
|
* @param {string} company
|
|
@@ -12777,6 +12900,13 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
|
12777
12900
|
* @throws {RequiredError}
|
|
12778
12901
|
*/
|
|
12779
12902
|
getOrderById(requestParameters: OrderApiGetOrderByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<IOrderResponse>;
|
|
12903
|
+
/**
|
|
12904
|
+
*
|
|
12905
|
+
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
12906
|
+
* @param {*} [options] Override http request option.
|
|
12907
|
+
* @throws {RequiredError}
|
|
12908
|
+
*/
|
|
12909
|
+
getOrderProductReview(requestParameters: OrderApiGetOrderProductReviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<IReview>;
|
|
12780
12910
|
/**
|
|
12781
12911
|
*
|
|
12782
12912
|
* @param {OrderApiGetOrdersRequest} requestParameters Request parameters.
|
|
@@ -12911,6 +13041,25 @@ export interface OrderApiGetOrderByIdRequest {
|
|
|
12911
13041
|
*/
|
|
12912
13042
|
readonly id: string;
|
|
12913
13043
|
}
|
|
13044
|
+
/**
|
|
13045
|
+
* Request parameters for getOrderProductReview operation in OrderApi.
|
|
13046
|
+
* @export
|
|
13047
|
+
* @interface OrderApiGetOrderProductReviewRequest
|
|
13048
|
+
*/
|
|
13049
|
+
export interface OrderApiGetOrderProductReviewRequest {
|
|
13050
|
+
/**
|
|
13051
|
+
*
|
|
13052
|
+
* @type {string}
|
|
13053
|
+
* @memberof OrderApiGetOrderProductReview
|
|
13054
|
+
*/
|
|
13055
|
+
readonly id: string;
|
|
13056
|
+
/**
|
|
13057
|
+
*
|
|
13058
|
+
* @type {string}
|
|
13059
|
+
* @memberof OrderApiGetOrderProductReview
|
|
13060
|
+
*/
|
|
13061
|
+
readonly productId: string;
|
|
13062
|
+
}
|
|
12914
13063
|
/**
|
|
12915
13064
|
* Request parameters for getOrders operation in OrderApi.
|
|
12916
13065
|
* @export
|
|
@@ -13050,6 +13199,14 @@ export declare class OrderApi extends BaseAPI {
|
|
|
13050
13199
|
* @memberof OrderApi
|
|
13051
13200
|
*/
|
|
13052
13201
|
getOrderById(requestParameters: OrderApiGetOrderByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IOrderResponse, any>>;
|
|
13202
|
+
/**
|
|
13203
|
+
*
|
|
13204
|
+
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
13205
|
+
* @param {*} [options] Override http request option.
|
|
13206
|
+
* @throws {RequiredError}
|
|
13207
|
+
* @memberof OrderApi
|
|
13208
|
+
*/
|
|
13209
|
+
getOrderProductReview(requestParameters: OrderApiGetOrderProductReviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IReview, any>>;
|
|
13053
13210
|
/**
|
|
13054
13211
|
*
|
|
13055
13212
|
* @param {OrderApiGetOrdersRequest} 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
|
|
@@ -2601,6 +2610,38 @@ const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
2601
2610
|
options: localVarRequestOptions,
|
|
2602
2611
|
};
|
|
2603
2612
|
},
|
|
2613
|
+
/**
|
|
2614
|
+
*
|
|
2615
|
+
* @param {string} id
|
|
2616
|
+
* @param {string} productId
|
|
2617
|
+
* @param {*} [options] Override http request option.
|
|
2618
|
+
* @throws {RequiredError}
|
|
2619
|
+
*/
|
|
2620
|
+
getOrderProductReview: async (id, productId, options = {}) => {
|
|
2621
|
+
// verify required parameter 'id' is not null or undefined
|
|
2622
|
+
(0, common_1.assertParamExists)('getOrderProductReview', 'id', id);
|
|
2623
|
+
// verify required parameter 'productId' is not null or undefined
|
|
2624
|
+
(0, common_1.assertParamExists)('getOrderProductReview', 'productId', productId);
|
|
2625
|
+
const localVarPath = `/api/orders/{id}/product/{productId}/review`
|
|
2626
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
2627
|
+
.replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
|
|
2628
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2629
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2630
|
+
let baseOptions;
|
|
2631
|
+
if (configuration) {
|
|
2632
|
+
baseOptions = configuration.baseOptions;
|
|
2633
|
+
}
|
|
2634
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
2635
|
+
const localVarHeaderParameter = {};
|
|
2636
|
+
const localVarQueryParameter = {};
|
|
2637
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2638
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2639
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2640
|
+
return {
|
|
2641
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2642
|
+
options: localVarRequestOptions,
|
|
2643
|
+
};
|
|
2644
|
+
},
|
|
2604
2645
|
/**
|
|
2605
2646
|
*
|
|
2606
2647
|
* @param {string} company
|
|
@@ -2787,6 +2828,19 @@ const OrderApiFp = function (configuration) {
|
|
|
2787
2828
|
const localVarOperationServerBasePath = base_1.operationServerMap['OrderApi.getOrderById']?.[localVarOperationServerIndex]?.url;
|
|
2788
2829
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2789
2830
|
},
|
|
2831
|
+
/**
|
|
2832
|
+
*
|
|
2833
|
+
* @param {string} id
|
|
2834
|
+
* @param {string} productId
|
|
2835
|
+
* @param {*} [options] Override http request option.
|
|
2836
|
+
* @throws {RequiredError}
|
|
2837
|
+
*/
|
|
2838
|
+
async getOrderProductReview(id, productId, options) {
|
|
2839
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderProductReview(id, productId, options);
|
|
2840
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2841
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['OrderApi.getOrderProductReview']?.[localVarOperationServerIndex]?.url;
|
|
2842
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2843
|
+
},
|
|
2790
2844
|
/**
|
|
2791
2845
|
*
|
|
2792
2846
|
* @param {string} company
|
|
@@ -2877,6 +2931,15 @@ const OrderApiFactory = function (configuration, basePath, axios) {
|
|
|
2877
2931
|
getOrderById(requestParameters, options) {
|
|
2878
2932
|
return localVarFp.getOrderById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2879
2933
|
},
|
|
2934
|
+
/**
|
|
2935
|
+
*
|
|
2936
|
+
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
2937
|
+
* @param {*} [options] Override http request option.
|
|
2938
|
+
* @throws {RequiredError}
|
|
2939
|
+
*/
|
|
2940
|
+
getOrderProductReview(requestParameters, options) {
|
|
2941
|
+
return localVarFp.getOrderProductReview(requestParameters.id, requestParameters.productId, options).then((request) => request(axios, basePath));
|
|
2942
|
+
},
|
|
2880
2943
|
/**
|
|
2881
2944
|
*
|
|
2882
2945
|
* @param {OrderApiGetOrdersRequest} requestParameters Request parameters.
|
|
@@ -2955,6 +3018,16 @@ class OrderApi extends base_1.BaseAPI {
|
|
|
2955
3018
|
getOrderById(requestParameters, options) {
|
|
2956
3019
|
return (0, exports.OrderApiFp)(this.configuration).getOrderById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2957
3020
|
}
|
|
3021
|
+
/**
|
|
3022
|
+
*
|
|
3023
|
+
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
3024
|
+
* @param {*} [options] Override http request option.
|
|
3025
|
+
* @throws {RequiredError}
|
|
3026
|
+
* @memberof OrderApi
|
|
3027
|
+
*/
|
|
3028
|
+
getOrderProductReview(requestParameters, options) {
|
|
3029
|
+
return (0, exports.OrderApiFp)(this.configuration).getOrderProductReview(requestParameters.id, requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
|
|
3030
|
+
}
|
|
2958
3031
|
/**
|
|
2959
3032
|
*
|
|
2960
3033
|
* @param {OrderApiGetOrdersRequest} 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
|
|
@@ -2566,6 +2575,38 @@ export const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
2566
2575
|
options: localVarRequestOptions,
|
|
2567
2576
|
};
|
|
2568
2577
|
},
|
|
2578
|
+
/**
|
|
2579
|
+
*
|
|
2580
|
+
* @param {string} id
|
|
2581
|
+
* @param {string} productId
|
|
2582
|
+
* @param {*} [options] Override http request option.
|
|
2583
|
+
* @throws {RequiredError}
|
|
2584
|
+
*/
|
|
2585
|
+
getOrderProductReview: async (id, productId, options = {}) => {
|
|
2586
|
+
// verify required parameter 'id' is not null or undefined
|
|
2587
|
+
assertParamExists('getOrderProductReview', 'id', id);
|
|
2588
|
+
// verify required parameter 'productId' is not null or undefined
|
|
2589
|
+
assertParamExists('getOrderProductReview', 'productId', productId);
|
|
2590
|
+
const localVarPath = `/api/orders/{id}/product/{productId}/review`
|
|
2591
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
2592
|
+
.replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
|
|
2593
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2594
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2595
|
+
let baseOptions;
|
|
2596
|
+
if (configuration) {
|
|
2597
|
+
baseOptions = configuration.baseOptions;
|
|
2598
|
+
}
|
|
2599
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
2600
|
+
const localVarHeaderParameter = {};
|
|
2601
|
+
const localVarQueryParameter = {};
|
|
2602
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2603
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2604
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2605
|
+
return {
|
|
2606
|
+
url: toPathString(localVarUrlObj),
|
|
2607
|
+
options: localVarRequestOptions,
|
|
2608
|
+
};
|
|
2609
|
+
},
|
|
2569
2610
|
/**
|
|
2570
2611
|
*
|
|
2571
2612
|
* @param {string} company
|
|
@@ -2751,6 +2792,19 @@ export const OrderApiFp = function (configuration) {
|
|
|
2751
2792
|
const localVarOperationServerBasePath = operationServerMap['OrderApi.getOrderById']?.[localVarOperationServerIndex]?.url;
|
|
2752
2793
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2753
2794
|
},
|
|
2795
|
+
/**
|
|
2796
|
+
*
|
|
2797
|
+
* @param {string} id
|
|
2798
|
+
* @param {string} productId
|
|
2799
|
+
* @param {*} [options] Override http request option.
|
|
2800
|
+
* @throws {RequiredError}
|
|
2801
|
+
*/
|
|
2802
|
+
async getOrderProductReview(id, productId, options) {
|
|
2803
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderProductReview(id, productId, options);
|
|
2804
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2805
|
+
const localVarOperationServerBasePath = operationServerMap['OrderApi.getOrderProductReview']?.[localVarOperationServerIndex]?.url;
|
|
2806
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2807
|
+
},
|
|
2754
2808
|
/**
|
|
2755
2809
|
*
|
|
2756
2810
|
* @param {string} company
|
|
@@ -2840,6 +2894,15 @@ export const OrderApiFactory = function (configuration, basePath, axios) {
|
|
|
2840
2894
|
getOrderById(requestParameters, options) {
|
|
2841
2895
|
return localVarFp.getOrderById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2842
2896
|
},
|
|
2897
|
+
/**
|
|
2898
|
+
*
|
|
2899
|
+
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
2900
|
+
* @param {*} [options] Override http request option.
|
|
2901
|
+
* @throws {RequiredError}
|
|
2902
|
+
*/
|
|
2903
|
+
getOrderProductReview(requestParameters, options) {
|
|
2904
|
+
return localVarFp.getOrderProductReview(requestParameters.id, requestParameters.productId, options).then((request) => request(axios, basePath));
|
|
2905
|
+
},
|
|
2843
2906
|
/**
|
|
2844
2907
|
*
|
|
2845
2908
|
* @param {OrderApiGetOrdersRequest} requestParameters Request parameters.
|
|
@@ -2917,6 +2980,16 @@ export class OrderApi extends BaseAPI {
|
|
|
2917
2980
|
getOrderById(requestParameters, options) {
|
|
2918
2981
|
return OrderApiFp(this.configuration).getOrderById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2919
2982
|
}
|
|
2983
|
+
/**
|
|
2984
|
+
*
|
|
2985
|
+
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
2986
|
+
* @param {*} [options] Override http request option.
|
|
2987
|
+
* @throws {RequiredError}
|
|
2988
|
+
* @memberof OrderApi
|
|
2989
|
+
*/
|
|
2990
|
+
getOrderProductReview(requestParameters, options) {
|
|
2991
|
+
return OrderApiFp(this.configuration).getOrderProductReview(requestParameters.id, requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
|
|
2992
|
+
}
|
|
2920
2993
|
/**
|
|
2921
2994
|
*
|
|
2922
2995
|
* @param {OrderApiGetOrdersRequest} 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.80",
|
|
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": "30e6ca7c5c560cc87344032aad391e3ae5bb27b6"
|
|
41
41
|
}
|