@infisale-client/api 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 +204 -47
- package/dist/api/api.js +77 -4
- 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
|
|
@@ -11201,89 +11308,89 @@ export interface SetCompanySenderEmailRequest {
|
|
|
11201
11308
|
/**
|
|
11202
11309
|
*
|
|
11203
11310
|
* @export
|
|
11204
|
-
* @
|
|
11311
|
+
* @enum {string}
|
|
11205
11312
|
*/
|
|
11206
|
-
export
|
|
11207
|
-
|
|
11208
|
-
|
|
11209
|
-
|
|
11210
|
-
|
|
11211
|
-
|
|
11212
|
-
|
|
11213
|
-
|
|
11214
|
-
|
|
11215
|
-
|
|
11216
|
-
* @memberof ShippingPoviderRates
|
|
11217
|
-
*/
|
|
11218
|
-
'max'?: number;
|
|
11219
|
-
/**
|
|
11220
|
-
*
|
|
11221
|
-
* @type {number}
|
|
11222
|
-
* @memberof ShippingPoviderRates
|
|
11223
|
-
*/
|
|
11224
|
-
'min'?: number;
|
|
11313
|
+
export declare const ShippingPricingTypeEnum: {
|
|
11314
|
+
readonly PRICE: "price";
|
|
11315
|
+
};
|
|
11316
|
+
export type ShippingPricingTypeEnum = typeof ShippingPricingTypeEnum[keyof typeof ShippingPricingTypeEnum];
|
|
11317
|
+
/**
|
|
11318
|
+
*
|
|
11319
|
+
* @export
|
|
11320
|
+
* @interface ShippingProvider
|
|
11321
|
+
*/
|
|
11322
|
+
export interface ShippingProvider {
|
|
11225
11323
|
/**
|
|
11226
11324
|
*
|
|
11227
|
-
* @type {
|
|
11228
|
-
* @memberof
|
|
11325
|
+
* @type {Array<ShippingProviderRates>}
|
|
11326
|
+
* @memberof ShippingProvider
|
|
11229
11327
|
*/
|
|
11230
|
-
'
|
|
11328
|
+
'rates': Array<ShippingProviderRates>;
|
|
11231
11329
|
/**
|
|
11232
11330
|
*
|
|
11233
|
-
* @type {string}
|
|
11234
|
-
* @memberof
|
|
11331
|
+
* @type {Array<string>}
|
|
11332
|
+
* @memberof ShippingProvider
|
|
11235
11333
|
*/
|
|
11236
|
-
'
|
|
11334
|
+
'states': Array<string>;
|
|
11237
11335
|
/**
|
|
11238
11336
|
*
|
|
11239
11337
|
* @type {string}
|
|
11240
|
-
* @memberof
|
|
11338
|
+
* @memberof ShippingProvider
|
|
11241
11339
|
*/
|
|
11242
11340
|
'title': string;
|
|
11243
11341
|
/**
|
|
11244
11342
|
*
|
|
11245
11343
|
* @type {string}
|
|
11246
|
-
* @memberof
|
|
11344
|
+
* @memberof ShippingProvider
|
|
11247
11345
|
*/
|
|
11248
11346
|
'_id': string;
|
|
11249
11347
|
}
|
|
11250
11348
|
/**
|
|
11251
11349
|
*
|
|
11252
11350
|
* @export
|
|
11253
|
-
* @
|
|
11351
|
+
* @interface ShippingProviderRates
|
|
11254
11352
|
*/
|
|
11255
|
-
export
|
|
11256
|
-
readonly PRICE: "price";
|
|
11257
|
-
};
|
|
11258
|
-
export type ShippingPricingTypeEnum = typeof ShippingPricingTypeEnum[keyof typeof ShippingPricingTypeEnum];
|
|
11259
|
-
/**
|
|
11260
|
-
*
|
|
11261
|
-
* @export
|
|
11262
|
-
* @interface ShippingProvider
|
|
11263
|
-
*/
|
|
11264
|
-
export interface ShippingProvider {
|
|
11353
|
+
export interface ShippingProviderRates {
|
|
11265
11354
|
/**
|
|
11266
11355
|
*
|
|
11267
|
-
* @type {
|
|
11268
|
-
* @memberof
|
|
11356
|
+
* @type {number}
|
|
11357
|
+
* @memberof ShippingProviderRates
|
|
11269
11358
|
*/
|
|
11270
|
-
'
|
|
11359
|
+
'price': number;
|
|
11271
11360
|
/**
|
|
11272
11361
|
*
|
|
11273
|
-
* @type {
|
|
11274
|
-
* @memberof
|
|
11362
|
+
* @type {number}
|
|
11363
|
+
* @memberof ShippingProviderRates
|
|
11275
11364
|
*/
|
|
11276
|
-
'
|
|
11365
|
+
'max'?: number;
|
|
11366
|
+
/**
|
|
11367
|
+
*
|
|
11368
|
+
* @type {number}
|
|
11369
|
+
* @memberof ShippingProviderRates
|
|
11370
|
+
*/
|
|
11371
|
+
'min'?: number;
|
|
11372
|
+
/**
|
|
11373
|
+
*
|
|
11374
|
+
* @type {ShippingPricingTypeEnum}
|
|
11375
|
+
* @memberof ShippingProviderRates
|
|
11376
|
+
*/
|
|
11377
|
+
'type'?: ShippingPricingTypeEnum;
|
|
11277
11378
|
/**
|
|
11278
11379
|
*
|
|
11279
11380
|
* @type {string}
|
|
11280
|
-
* @memberof
|
|
11381
|
+
* @memberof ShippingProviderRates
|
|
11382
|
+
*/
|
|
11383
|
+
'description': string;
|
|
11384
|
+
/**
|
|
11385
|
+
*
|
|
11386
|
+
* @type {string}
|
|
11387
|
+
* @memberof ShippingProviderRates
|
|
11281
11388
|
*/
|
|
11282
11389
|
'title': string;
|
|
11283
11390
|
/**
|
|
11284
11391
|
*
|
|
11285
11392
|
* @type {string}
|
|
11286
|
-
* @memberof
|
|
11393
|
+
* @memberof ShippingProviderRates
|
|
11287
11394
|
*/
|
|
11288
11395
|
'_id': string;
|
|
11289
11396
|
}
|
|
@@ -16431,6 +16538,14 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
16431
16538
|
* @throws {RequiredError}
|
|
16432
16539
|
*/
|
|
16433
16540
|
getOrderById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16541
|
+
/**
|
|
16542
|
+
*
|
|
16543
|
+
* @param {string} id
|
|
16544
|
+
* @param {string} productId
|
|
16545
|
+
* @param {*} [options] Override http request option.
|
|
16546
|
+
* @throws {RequiredError}
|
|
16547
|
+
*/
|
|
16548
|
+
getOrderProductReview: (id: string, productId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16434
16549
|
/**
|
|
16435
16550
|
*
|
|
16436
16551
|
* @param {string} company
|
|
@@ -16539,6 +16654,14 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
16539
16654
|
* @throws {RequiredError}
|
|
16540
16655
|
*/
|
|
16541
16656
|
getOrderById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IOrderResponse>>;
|
|
16657
|
+
/**
|
|
16658
|
+
*
|
|
16659
|
+
* @param {string} id
|
|
16660
|
+
* @param {string} productId
|
|
16661
|
+
* @param {*} [options] Override http request option.
|
|
16662
|
+
* @throws {RequiredError}
|
|
16663
|
+
*/
|
|
16664
|
+
getOrderProductReview(id: string, productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IReview>>;
|
|
16542
16665
|
/**
|
|
16543
16666
|
*
|
|
16544
16667
|
* @param {string} company
|
|
@@ -16637,6 +16760,13 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
|
16637
16760
|
* @throws {RequiredError}
|
|
16638
16761
|
*/
|
|
16639
16762
|
getOrderById(requestParameters: OrderApiGetOrderByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<IOrderResponse>;
|
|
16763
|
+
/**
|
|
16764
|
+
*
|
|
16765
|
+
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
16766
|
+
* @param {*} [options] Override http request option.
|
|
16767
|
+
* @throws {RequiredError}
|
|
16768
|
+
*/
|
|
16769
|
+
getOrderProductReview(requestParameters: OrderApiGetOrderProductReviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<IReview>;
|
|
16640
16770
|
/**
|
|
16641
16771
|
*
|
|
16642
16772
|
* @param {OrderApiGetOrdersRequest} requestParameters Request parameters.
|
|
@@ -16811,6 +16941,25 @@ export interface OrderApiGetOrderByIdRequest {
|
|
|
16811
16941
|
*/
|
|
16812
16942
|
readonly id: string;
|
|
16813
16943
|
}
|
|
16944
|
+
/**
|
|
16945
|
+
* Request parameters for getOrderProductReview operation in OrderApi.
|
|
16946
|
+
* @export
|
|
16947
|
+
* @interface OrderApiGetOrderProductReviewRequest
|
|
16948
|
+
*/
|
|
16949
|
+
export interface OrderApiGetOrderProductReviewRequest {
|
|
16950
|
+
/**
|
|
16951
|
+
*
|
|
16952
|
+
* @type {string}
|
|
16953
|
+
* @memberof OrderApiGetOrderProductReview
|
|
16954
|
+
*/
|
|
16955
|
+
readonly id: string;
|
|
16956
|
+
/**
|
|
16957
|
+
*
|
|
16958
|
+
* @type {string}
|
|
16959
|
+
* @memberof OrderApiGetOrderProductReview
|
|
16960
|
+
*/
|
|
16961
|
+
readonly productId: string;
|
|
16962
|
+
}
|
|
16814
16963
|
/**
|
|
16815
16964
|
* Request parameters for getOrders operation in OrderApi.
|
|
16816
16965
|
* @export
|
|
@@ -17021,6 +17170,14 @@ export declare class OrderApi extends BaseAPI {
|
|
|
17021
17170
|
* @memberof OrderApi
|
|
17022
17171
|
*/
|
|
17023
17172
|
getOrderById(requestParameters: OrderApiGetOrderByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IOrderResponse, any>>;
|
|
17173
|
+
/**
|
|
17174
|
+
*
|
|
17175
|
+
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
17176
|
+
* @param {*} [options] Override http request option.
|
|
17177
|
+
* @throws {RequiredError}
|
|
17178
|
+
* @memberof OrderApi
|
|
17179
|
+
*/
|
|
17180
|
+
getOrderProductReview(requestParameters: OrderApiGetOrderProductReviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IReview, any>>;
|
|
17024
17181
|
/**
|
|
17025
17182
|
*
|
|
17026
17183
|
* @param {OrderApiGetOrdersRequest} requestParameters Request parameters.
|
package/dist/api/api.js
CHANGED
|
@@ -17,9 +17,9 @@ 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.
|
|
22
|
-
exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = void 0;
|
|
20
|
+
exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.GetCompanyCustomersDateFieldEnum = exports.GetCompaniesDateFieldEnum = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.GetCategoriesDateFieldEnum = exports.CategoryApi = exports.CategoryApiFactory = exports.CategoryApiFp = exports.CategoryApiAxiosParamCreator = exports.GetBrandsDateFieldEnum = exports.BrandApi = exports.BrandApiFactory = exports.BrandApiFp = exports.BrandApiAxiosParamCreator = 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.ThemeApiFactory = exports.ThemeApiFp = exports.ThemeApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPlansDateFieldEnum = exports.PlanApi = exports.PlanApiFactory = exports.PlanApiFp = exports.PlanApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.GetOperationsDateFieldEnum = exports.OperationApi = exports.OperationApiFactory = exports.OperationApiFp = exports.OperationApiAxiosParamCreator = exports.GetNotificationsDateFieldEnum = exports.NotificationApi = exports.NotificationApiFactory = exports.NotificationApiFp = exports.NotificationApiAxiosParamCreator = exports.GetFilesDateFieldEnum = exports.FileApi = exports.FileApiFactory = exports.FileApiFp = exports.FileApiAxiosParamCreator = exports.GetContactFormsDateFieldEnum = exports.ContactFormApi = void 0;
|
|
22
|
+
exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.ThemeApi = void 0;
|
|
23
23
|
const axios_1 = __importDefault(require("axios"));
|
|
24
24
|
// Some imports not used depending on template conditions
|
|
25
25
|
// @ts-ignore
|
|
@@ -91,7 +91,10 @@ exports.ComponentContentTypeEnum = {
|
|
|
91
91
|
CAROUSEL_ITEM: 'carousel-item',
|
|
92
92
|
GRID_ITEM: 'grid-item',
|
|
93
93
|
ANNOUNCEMENT_ITEM: 'announcement-item',
|
|
94
|
-
ACCORDION_ITEM: 'accordion-item'
|
|
94
|
+
ACCORDION_ITEM: 'accordion-item',
|
|
95
|
+
PRODUCT_DESCRIPTION: 'product-description',
|
|
96
|
+
PRODUCT_REVIEWS: 'product-reviews',
|
|
97
|
+
PRODUCT_ATTRIBUTES: 'product-attributes'
|
|
95
98
|
};
|
|
96
99
|
/**
|
|
97
100
|
*
|
|
@@ -133,6 +136,7 @@ exports.ComponentTypeEnum = {
|
|
|
133
136
|
PRODUCT_LIST: 'product-list',
|
|
134
137
|
CONTENT: 'content',
|
|
135
138
|
PRODUCT_DETAIL: 'product-detail',
|
|
139
|
+
PRODUCT_MORE_DETAIL: 'product-more-detail',
|
|
136
140
|
SINGLE_PRODUCT: 'single-product',
|
|
137
141
|
COLLECTION_LIST: 'collection-list',
|
|
138
142
|
CATEGORY_LIST: 'category-list',
|
|
@@ -728,6 +732,11 @@ exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFiel
|
|
|
728
732
|
CREATED_AT: 'createdAt',
|
|
729
733
|
UPDATED_AT: 'updatedAt'
|
|
730
734
|
};
|
|
735
|
+
exports.PickIThemeExcludeKeyofIThemeTemplateConfigBlogCardTextAlignEnum = {
|
|
736
|
+
LEFT: 'left',
|
|
737
|
+
CENTER: 'center',
|
|
738
|
+
RIGHT: 'right'
|
|
739
|
+
};
|
|
731
740
|
/**
|
|
732
741
|
*
|
|
733
742
|
* @export
|
|
@@ -7316,6 +7325,38 @@ const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
7316
7325
|
options: localVarRequestOptions,
|
|
7317
7326
|
};
|
|
7318
7327
|
},
|
|
7328
|
+
/**
|
|
7329
|
+
*
|
|
7330
|
+
* @param {string} id
|
|
7331
|
+
* @param {string} productId
|
|
7332
|
+
* @param {*} [options] Override http request option.
|
|
7333
|
+
* @throws {RequiredError}
|
|
7334
|
+
*/
|
|
7335
|
+
getOrderProductReview: async (id, productId, options = {}) => {
|
|
7336
|
+
// verify required parameter 'id' is not null or undefined
|
|
7337
|
+
(0, common_1.assertParamExists)('getOrderProductReview', 'id', id);
|
|
7338
|
+
// verify required parameter 'productId' is not null or undefined
|
|
7339
|
+
(0, common_1.assertParamExists)('getOrderProductReview', 'productId', productId);
|
|
7340
|
+
const localVarPath = `/api/orders/{id}/product/{productId}/review`
|
|
7341
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
7342
|
+
.replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
|
|
7343
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7344
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7345
|
+
let baseOptions;
|
|
7346
|
+
if (configuration) {
|
|
7347
|
+
baseOptions = configuration.baseOptions;
|
|
7348
|
+
}
|
|
7349
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
7350
|
+
const localVarHeaderParameter = {};
|
|
7351
|
+
const localVarQueryParameter = {};
|
|
7352
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7353
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7354
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7355
|
+
return {
|
|
7356
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7357
|
+
options: localVarRequestOptions,
|
|
7358
|
+
};
|
|
7359
|
+
},
|
|
7319
7360
|
/**
|
|
7320
7361
|
*
|
|
7321
7362
|
* @param {string} company
|
|
@@ -7618,6 +7659,19 @@ const OrderApiFp = function (configuration) {
|
|
|
7618
7659
|
const localVarOperationServerBasePath = base_1.operationServerMap['OrderApi.getOrderById']?.[localVarOperationServerIndex]?.url;
|
|
7619
7660
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7620
7661
|
},
|
|
7662
|
+
/**
|
|
7663
|
+
*
|
|
7664
|
+
* @param {string} id
|
|
7665
|
+
* @param {string} productId
|
|
7666
|
+
* @param {*} [options] Override http request option.
|
|
7667
|
+
* @throws {RequiredError}
|
|
7668
|
+
*/
|
|
7669
|
+
async getOrderProductReview(id, productId, options) {
|
|
7670
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderProductReview(id, productId, options);
|
|
7671
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7672
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['OrderApi.getOrderProductReview']?.[localVarOperationServerIndex]?.url;
|
|
7673
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7674
|
+
},
|
|
7621
7675
|
/**
|
|
7622
7676
|
*
|
|
7623
7677
|
* @param {string} company
|
|
@@ -7757,6 +7811,15 @@ const OrderApiFactory = function (configuration, basePath, axios) {
|
|
|
7757
7811
|
getOrderById(requestParameters, options) {
|
|
7758
7812
|
return localVarFp.getOrderById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
7759
7813
|
},
|
|
7814
|
+
/**
|
|
7815
|
+
*
|
|
7816
|
+
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
7817
|
+
* @param {*} [options] Override http request option.
|
|
7818
|
+
* @throws {RequiredError}
|
|
7819
|
+
*/
|
|
7820
|
+
getOrderProductReview(requestParameters, options) {
|
|
7821
|
+
return localVarFp.getOrderProductReview(requestParameters.id, requestParameters.productId, options).then((request) => request(axios, basePath));
|
|
7822
|
+
},
|
|
7760
7823
|
/**
|
|
7761
7824
|
*
|
|
7762
7825
|
* @param {OrderApiGetOrdersRequest} requestParameters Request parameters.
|
|
@@ -7872,6 +7935,16 @@ class OrderApi extends base_1.BaseAPI {
|
|
|
7872
7935
|
getOrderById(requestParameters, options) {
|
|
7873
7936
|
return (0, exports.OrderApiFp)(this.configuration).getOrderById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
7874
7937
|
}
|
|
7938
|
+
/**
|
|
7939
|
+
*
|
|
7940
|
+
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
7941
|
+
* @param {*} [options] Override http request option.
|
|
7942
|
+
* @throws {RequiredError}
|
|
7943
|
+
* @memberof OrderApi
|
|
7944
|
+
*/
|
|
7945
|
+
getOrderProductReview(requestParameters, options) {
|
|
7946
|
+
return (0, exports.OrderApiFp)(this.configuration).getOrderProductReview(requestParameters.id, requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
|
|
7947
|
+
}
|
|
7875
7948
|
/**
|
|
7876
7949
|
*
|
|
7877
7950
|
* @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
|
|
@@ -7260,6 +7269,38 @@ export const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
7260
7269
|
options: localVarRequestOptions,
|
|
7261
7270
|
};
|
|
7262
7271
|
},
|
|
7272
|
+
/**
|
|
7273
|
+
*
|
|
7274
|
+
* @param {string} id
|
|
7275
|
+
* @param {string} productId
|
|
7276
|
+
* @param {*} [options] Override http request option.
|
|
7277
|
+
* @throws {RequiredError}
|
|
7278
|
+
*/
|
|
7279
|
+
getOrderProductReview: async (id, productId, options = {}) => {
|
|
7280
|
+
// verify required parameter 'id' is not null or undefined
|
|
7281
|
+
assertParamExists('getOrderProductReview', 'id', id);
|
|
7282
|
+
// verify required parameter 'productId' is not null or undefined
|
|
7283
|
+
assertParamExists('getOrderProductReview', 'productId', productId);
|
|
7284
|
+
const localVarPath = `/api/orders/{id}/product/{productId}/review`
|
|
7285
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
7286
|
+
.replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
|
|
7287
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7288
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7289
|
+
let baseOptions;
|
|
7290
|
+
if (configuration) {
|
|
7291
|
+
baseOptions = configuration.baseOptions;
|
|
7292
|
+
}
|
|
7293
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
7294
|
+
const localVarHeaderParameter = {};
|
|
7295
|
+
const localVarQueryParameter = {};
|
|
7296
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7297
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7298
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7299
|
+
return {
|
|
7300
|
+
url: toPathString(localVarUrlObj),
|
|
7301
|
+
options: localVarRequestOptions,
|
|
7302
|
+
};
|
|
7303
|
+
},
|
|
7263
7304
|
/**
|
|
7264
7305
|
*
|
|
7265
7306
|
* @param {string} company
|
|
@@ -7561,6 +7602,19 @@ export const OrderApiFp = function (configuration) {
|
|
|
7561
7602
|
const localVarOperationServerBasePath = operationServerMap['OrderApi.getOrderById']?.[localVarOperationServerIndex]?.url;
|
|
7562
7603
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7563
7604
|
},
|
|
7605
|
+
/**
|
|
7606
|
+
*
|
|
7607
|
+
* @param {string} id
|
|
7608
|
+
* @param {string} productId
|
|
7609
|
+
* @param {*} [options] Override http request option.
|
|
7610
|
+
* @throws {RequiredError}
|
|
7611
|
+
*/
|
|
7612
|
+
async getOrderProductReview(id, productId, options) {
|
|
7613
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderProductReview(id, productId, options);
|
|
7614
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7615
|
+
const localVarOperationServerBasePath = operationServerMap['OrderApi.getOrderProductReview']?.[localVarOperationServerIndex]?.url;
|
|
7616
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7617
|
+
},
|
|
7564
7618
|
/**
|
|
7565
7619
|
*
|
|
7566
7620
|
* @param {string} company
|
|
@@ -7699,6 +7753,15 @@ export const OrderApiFactory = function (configuration, basePath, axios) {
|
|
|
7699
7753
|
getOrderById(requestParameters, options) {
|
|
7700
7754
|
return localVarFp.getOrderById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
7701
7755
|
},
|
|
7756
|
+
/**
|
|
7757
|
+
*
|
|
7758
|
+
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
7759
|
+
* @param {*} [options] Override http request option.
|
|
7760
|
+
* @throws {RequiredError}
|
|
7761
|
+
*/
|
|
7762
|
+
getOrderProductReview(requestParameters, options) {
|
|
7763
|
+
return localVarFp.getOrderProductReview(requestParameters.id, requestParameters.productId, options).then((request) => request(axios, basePath));
|
|
7764
|
+
},
|
|
7702
7765
|
/**
|
|
7703
7766
|
*
|
|
7704
7767
|
* @param {OrderApiGetOrdersRequest} requestParameters Request parameters.
|
|
@@ -7813,6 +7876,16 @@ export class OrderApi extends BaseAPI {
|
|
|
7813
7876
|
getOrderById(requestParameters, options) {
|
|
7814
7877
|
return OrderApiFp(this.configuration).getOrderById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
7815
7878
|
}
|
|
7879
|
+
/**
|
|
7880
|
+
*
|
|
7881
|
+
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
7882
|
+
* @param {*} [options] Override http request option.
|
|
7883
|
+
* @throws {RequiredError}
|
|
7884
|
+
* @memberof OrderApi
|
|
7885
|
+
*/
|
|
7886
|
+
getOrderProductReview(requestParameters, options) {
|
|
7887
|
+
return OrderApiFp(this.configuration).getOrderProductReview(requestParameters.id, requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
|
|
7888
|
+
}
|
|
7816
7889
|
/**
|
|
7817
7890
|
*
|
|
7818
7891
|
* @param {OrderApiGetOrdersRequest} requestParameters Request parameters.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.79",
|
|
4
4
|
"description": "api-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
|
}
|