@infisale-client/api 1.2.69 → 1.2.71
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/README.md +1 -1
- package/dist/api/api.d.ts +143 -29
- package/dist/api/api.js +60 -25
- package/dist/api/api.mjs +56 -21
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/api/api.d.ts
CHANGED
|
@@ -145,6 +145,7 @@ export declare const ComponentTypeEnum: {
|
|
|
145
145
|
readonly CART_DETAIL: "cart-detail";
|
|
146
146
|
readonly CHECKOUT_DETAIL: "checkout-detail";
|
|
147
147
|
readonly NOT_FOUND_DETAIL: "not-found-detail";
|
|
148
|
+
readonly SEARCH_DETAIL: "search-detail";
|
|
148
149
|
};
|
|
149
150
|
export type ComponentTypeEnum = typeof ComponentTypeEnum[keyof typeof ComponentTypeEnum];
|
|
150
151
|
/**
|
|
@@ -6175,37 +6176,55 @@ export interface IProductCollectionQueryParams {
|
|
|
6175
6176
|
* @type {string}
|
|
6176
6177
|
* @memberof IProductCollectionQueryParams
|
|
6177
6178
|
*/
|
|
6178
|
-
'
|
|
6179
|
+
'companyId'?: string;
|
|
6179
6180
|
/**
|
|
6180
6181
|
*
|
|
6181
6182
|
* @type {string}
|
|
6182
6183
|
* @memberof IProductCollectionQueryParams
|
|
6183
6184
|
*/
|
|
6184
|
-
'
|
|
6185
|
+
'domain'?: string;
|
|
6185
6186
|
/**
|
|
6186
6187
|
*
|
|
6187
|
-
* @type {string}
|
|
6188
|
+
* @type {Array<string>}
|
|
6188
6189
|
* @memberof IProductCollectionQueryParams
|
|
6189
6190
|
*/
|
|
6190
|
-
'
|
|
6191
|
+
'collections'?: Array<string>;
|
|
6191
6192
|
/**
|
|
6192
6193
|
*
|
|
6193
|
-
* @type {string}
|
|
6194
|
+
* @type {Array<string>}
|
|
6194
6195
|
* @memberof IProductCollectionQueryParams
|
|
6195
6196
|
*/
|
|
6196
|
-
'
|
|
6197
|
+
'category'?: Array<string>;
|
|
6197
6198
|
/**
|
|
6198
6199
|
*
|
|
6199
|
-
* @type {string}
|
|
6200
|
+
* @type {Array<string>}
|
|
6200
6201
|
* @memberof IProductCollectionQueryParams
|
|
6201
6202
|
*/
|
|
6202
|
-
'
|
|
6203
|
+
'brand'?: Array<string>;
|
|
6204
|
+
/**
|
|
6205
|
+
*
|
|
6206
|
+
* @type {boolean}
|
|
6207
|
+
* @memberof IProductCollectionQueryParams
|
|
6208
|
+
*/
|
|
6209
|
+
'inStock'?: boolean;
|
|
6210
|
+
/**
|
|
6211
|
+
*
|
|
6212
|
+
* @type {number}
|
|
6213
|
+
* @memberof IProductCollectionQueryParams
|
|
6214
|
+
*/
|
|
6215
|
+
'priceGte'?: number;
|
|
6216
|
+
/**
|
|
6217
|
+
*
|
|
6218
|
+
* @type {number}
|
|
6219
|
+
* @memberof IProductCollectionQueryParams
|
|
6220
|
+
*/
|
|
6221
|
+
'priceLte'?: number;
|
|
6203
6222
|
/**
|
|
6204
6223
|
*
|
|
6205
6224
|
* @type {string}
|
|
6206
6225
|
* @memberof IProductCollectionQueryParams
|
|
6207
6226
|
*/
|
|
6208
|
-
'
|
|
6227
|
+
'sort'?: IProductCollectionQueryParamsSortEnum;
|
|
6209
6228
|
/**
|
|
6210
6229
|
*
|
|
6211
6230
|
* @type {ContentStatusEnum}
|
|
@@ -6218,6 +6237,12 @@ export declare const IProductCollectionQueryParamsDateFieldEnum: {
|
|
|
6218
6237
|
readonly UPDATED_AT: "updatedAt";
|
|
6219
6238
|
};
|
|
6220
6239
|
export type IProductCollectionQueryParamsDateFieldEnum = typeof IProductCollectionQueryParamsDateFieldEnum[keyof typeof IProductCollectionQueryParamsDateFieldEnum];
|
|
6240
|
+
export declare const IProductCollectionQueryParamsSortEnum: {
|
|
6241
|
+
readonly PRICE: "price";
|
|
6242
|
+
readonly CREATED_AT: "createdAt";
|
|
6243
|
+
readonly TOTAL_SALE: "totalSale";
|
|
6244
|
+
};
|
|
6245
|
+
export type IProductCollectionQueryParamsSortEnum = typeof IProductCollectionQueryParamsSortEnum[keyof typeof IProductCollectionQueryParamsSortEnum];
|
|
6221
6246
|
/**
|
|
6222
6247
|
*
|
|
6223
6248
|
* @export
|
|
@@ -8162,6 +8187,7 @@ export declare const PageTypeEnum: {
|
|
|
8162
8187
|
readonly HOME: "home";
|
|
8163
8188
|
readonly CART: "cart";
|
|
8164
8189
|
readonly CHECKOUT: "checkout";
|
|
8190
|
+
readonly SEARCH: "search";
|
|
8165
8191
|
readonly NOT_FOUND: "not-found";
|
|
8166
8192
|
};
|
|
8167
8193
|
export type PageTypeEnum = typeof PageTypeEnum[keyof typeof PageTypeEnum];
|
|
@@ -8479,6 +8505,60 @@ export interface PickICategoryResponseIdOrContentsOrAttributes {
|
|
|
8479
8505
|
*/
|
|
8480
8506
|
'attributes': Array<ICategoryResponseAttributesInner>;
|
|
8481
8507
|
}
|
|
8508
|
+
/**
|
|
8509
|
+
* From T, pick a set of properties whose keys are in the union K
|
|
8510
|
+
* @export
|
|
8511
|
+
* @interface PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSort
|
|
8512
|
+
*/
|
|
8513
|
+
export interface PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSort {
|
|
8514
|
+
/**
|
|
8515
|
+
*
|
|
8516
|
+
* @type {number}
|
|
8517
|
+
* @memberof PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSort
|
|
8518
|
+
*/
|
|
8519
|
+
'page'?: number;
|
|
8520
|
+
/**
|
|
8521
|
+
*
|
|
8522
|
+
* @type {number}
|
|
8523
|
+
* @memberof PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSort
|
|
8524
|
+
*/
|
|
8525
|
+
'itemsPerPage'?: number;
|
|
8526
|
+
/**
|
|
8527
|
+
*
|
|
8528
|
+
* @type {string}
|
|
8529
|
+
* @memberof PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSort
|
|
8530
|
+
*/
|
|
8531
|
+
'search'?: string;
|
|
8532
|
+
/**
|
|
8533
|
+
*
|
|
8534
|
+
* @type {string}
|
|
8535
|
+
* @memberof PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSort
|
|
8536
|
+
*/
|
|
8537
|
+
'startDate'?: string;
|
|
8538
|
+
/**
|
|
8539
|
+
*
|
|
8540
|
+
* @type {string}
|
|
8541
|
+
* @memberof PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSort
|
|
8542
|
+
*/
|
|
8543
|
+
'endDate'?: string;
|
|
8544
|
+
/**
|
|
8545
|
+
*
|
|
8546
|
+
* @type {string}
|
|
8547
|
+
* @memberof PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSort
|
|
8548
|
+
*/
|
|
8549
|
+
'dateField'?: PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum;
|
|
8550
|
+
/**
|
|
8551
|
+
*
|
|
8552
|
+
* @type {OrderEnum}
|
|
8553
|
+
* @memberof PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSort
|
|
8554
|
+
*/
|
|
8555
|
+
'order'?: OrderEnum;
|
|
8556
|
+
}
|
|
8557
|
+
export declare const PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum: {
|
|
8558
|
+
readonly CREATED_AT: "createdAt";
|
|
8559
|
+
readonly UPDATED_AT: "updatedAt";
|
|
8560
|
+
};
|
|
8561
|
+
export type PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = typeof PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum[keyof typeof PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum];
|
|
8482
8562
|
/**
|
|
8483
8563
|
* From T, pick a set of properties whose keys are in the union K
|
|
8484
8564
|
* @export
|
|
@@ -10476,6 +10556,7 @@ export declare const TemplateTypeEnum: {
|
|
|
10476
10556
|
readonly CHECKOUT: "checkout";
|
|
10477
10557
|
readonly NOT_FOUND: "not-found";
|
|
10478
10558
|
readonly BLOG: "blog";
|
|
10559
|
+
readonly SEARCH: "search";
|
|
10479
10560
|
};
|
|
10480
10561
|
export type TemplateTypeEnum = typeof TemplateTypeEnum[keyof typeof TemplateTypeEnum];
|
|
10481
10562
|
/**
|
|
@@ -16919,17 +17000,20 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
|
|
|
16919
17000
|
* @param {string} [endDate]
|
|
16920
17001
|
* @param {GetProductsDateFieldEnum} [dateField]
|
|
16921
17002
|
* @param {OrderEnum} [order]
|
|
16922
|
-
* @param {string} [sort]
|
|
16923
17003
|
* @param {string} [companyId]
|
|
16924
17004
|
* @param {string} [domain]
|
|
16925
|
-
* @param {string} [collections]
|
|
16926
|
-
* @param {string} [category]
|
|
16927
|
-
* @param {string} [brand]
|
|
17005
|
+
* @param {Array<string>} [collections]
|
|
17006
|
+
* @param {Array<string>} [category]
|
|
17007
|
+
* @param {Array<string>} [brand]
|
|
17008
|
+
* @param {boolean} [inStock]
|
|
17009
|
+
* @param {number} [priceGte]
|
|
17010
|
+
* @param {number} [priceLte]
|
|
17011
|
+
* @param {GetProductsSortEnum} [sort]
|
|
16928
17012
|
* @param {ContentStatusEnum} [status]
|
|
16929
17013
|
* @param {*} [options] Override http request option.
|
|
16930
17014
|
* @throws {RequiredError}
|
|
16931
17015
|
*/
|
|
16932
|
-
getProducts: (page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetProductsDateFieldEnum, order?: OrderEnum,
|
|
17016
|
+
getProducts: (page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetProductsDateFieldEnum, order?: OrderEnum, companyId?: string, domain?: string, collections?: Array<string>, category?: Array<string>, brand?: Array<string>, inStock?: boolean, priceGte?: number, priceLte?: number, sort?: GetProductsSortEnum, status?: ContentStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16933
17017
|
/**
|
|
16934
17018
|
*
|
|
16935
17019
|
* @param {string} search
|
|
@@ -17009,17 +17093,20 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
|
|
|
17009
17093
|
* @param {string} [endDate]
|
|
17010
17094
|
* @param {GetProductsDateFieldEnum} [dateField]
|
|
17011
17095
|
* @param {OrderEnum} [order]
|
|
17012
|
-
* @param {string} [sort]
|
|
17013
17096
|
* @param {string} [companyId]
|
|
17014
17097
|
* @param {string} [domain]
|
|
17015
|
-
* @param {string} [collections]
|
|
17016
|
-
* @param {string} [category]
|
|
17017
|
-
* @param {string} [brand]
|
|
17098
|
+
* @param {Array<string>} [collections]
|
|
17099
|
+
* @param {Array<string>} [category]
|
|
17100
|
+
* @param {Array<string>} [brand]
|
|
17101
|
+
* @param {boolean} [inStock]
|
|
17102
|
+
* @param {number} [priceGte]
|
|
17103
|
+
* @param {number} [priceLte]
|
|
17104
|
+
* @param {GetProductsSortEnum} [sort]
|
|
17018
17105
|
* @param {ContentStatusEnum} [status]
|
|
17019
17106
|
* @param {*} [options] Override http request option.
|
|
17020
17107
|
* @throws {RequiredError}
|
|
17021
17108
|
*/
|
|
17022
|
-
getProducts(page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetProductsDateFieldEnum, order?: OrderEnum,
|
|
17109
|
+
getProducts(page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetProductsDateFieldEnum, order?: OrderEnum, companyId?: string, domain?: string, collections?: Array<string>, category?: Array<string>, brand?: Array<string>, inStock?: boolean, priceGte?: number, priceLte?: number, sort?: GetProductsSortEnum, status?: ContentStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IProductsResponse>>;
|
|
17023
17110
|
/**
|
|
17024
17111
|
*
|
|
17025
17112
|
* @param {string} search
|
|
@@ -17268,37 +17355,55 @@ export interface ProductApiGetProductsRequest {
|
|
|
17268
17355
|
* @type {string}
|
|
17269
17356
|
* @memberof ProductApiGetProducts
|
|
17270
17357
|
*/
|
|
17271
|
-
readonly
|
|
17358
|
+
readonly companyId?: string;
|
|
17272
17359
|
/**
|
|
17273
17360
|
*
|
|
17274
17361
|
* @type {string}
|
|
17275
17362
|
* @memberof ProductApiGetProducts
|
|
17276
17363
|
*/
|
|
17277
|
-
readonly
|
|
17364
|
+
readonly domain?: string;
|
|
17278
17365
|
/**
|
|
17279
17366
|
*
|
|
17280
|
-
* @type {string}
|
|
17367
|
+
* @type {Array<string>}
|
|
17281
17368
|
* @memberof ProductApiGetProducts
|
|
17282
17369
|
*/
|
|
17283
|
-
readonly
|
|
17370
|
+
readonly collections?: Array<string>;
|
|
17284
17371
|
/**
|
|
17285
17372
|
*
|
|
17286
|
-
* @type {string}
|
|
17373
|
+
* @type {Array<string>}
|
|
17287
17374
|
* @memberof ProductApiGetProducts
|
|
17288
17375
|
*/
|
|
17289
|
-
readonly
|
|
17376
|
+
readonly category?: Array<string>;
|
|
17290
17377
|
/**
|
|
17291
17378
|
*
|
|
17292
|
-
* @type {string}
|
|
17379
|
+
* @type {Array<string>}
|
|
17293
17380
|
* @memberof ProductApiGetProducts
|
|
17294
17381
|
*/
|
|
17295
|
-
readonly
|
|
17382
|
+
readonly brand?: Array<string>;
|
|
17296
17383
|
/**
|
|
17297
17384
|
*
|
|
17298
|
-
* @type {
|
|
17385
|
+
* @type {boolean}
|
|
17299
17386
|
* @memberof ProductApiGetProducts
|
|
17300
17387
|
*/
|
|
17301
|
-
readonly
|
|
17388
|
+
readonly inStock?: boolean;
|
|
17389
|
+
/**
|
|
17390
|
+
*
|
|
17391
|
+
* @type {number}
|
|
17392
|
+
* @memberof ProductApiGetProducts
|
|
17393
|
+
*/
|
|
17394
|
+
readonly priceGte?: number;
|
|
17395
|
+
/**
|
|
17396
|
+
*
|
|
17397
|
+
* @type {number}
|
|
17398
|
+
* @memberof ProductApiGetProducts
|
|
17399
|
+
*/
|
|
17400
|
+
readonly priceLte?: number;
|
|
17401
|
+
/**
|
|
17402
|
+
*
|
|
17403
|
+
* @type {'price' | 'createdAt' | 'totalSale'}
|
|
17404
|
+
* @memberof ProductApiGetProducts
|
|
17405
|
+
*/
|
|
17406
|
+
readonly sort?: GetProductsSortEnum;
|
|
17302
17407
|
/**
|
|
17303
17408
|
*
|
|
17304
17409
|
* @type {ContentStatusEnum}
|
|
@@ -17438,6 +17543,15 @@ export declare const GetProductsDateFieldEnum: {
|
|
|
17438
17543
|
readonly UPDATED_AT: "updatedAt";
|
|
17439
17544
|
};
|
|
17440
17545
|
export type GetProductsDateFieldEnum = typeof GetProductsDateFieldEnum[keyof typeof GetProductsDateFieldEnum];
|
|
17546
|
+
/**
|
|
17547
|
+
* @export
|
|
17548
|
+
*/
|
|
17549
|
+
export declare const GetProductsSortEnum: {
|
|
17550
|
+
readonly PRICE: "price";
|
|
17551
|
+
readonly CREATED_AT: "createdAt";
|
|
17552
|
+
readonly TOTAL_SALE: "totalSale";
|
|
17553
|
+
};
|
|
17554
|
+
export type GetProductsSortEnum = typeof GetProductsSortEnum[keyof typeof GetProductsSortEnum];
|
|
17441
17555
|
/**
|
|
17442
17556
|
* SitemapApi - axios parameter creator
|
|
17443
17557
|
* @export
|
package/dist/api/api.js
CHANGED
|
@@ -16,10 +16,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.GetUsersDateFieldEnum = void 0;
|
|
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.GetContactFormsDateFieldEnum = exports.ContactFormApi = 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.ProductDetailImageZoomTypeEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentMethodEnum = void 0;
|
|
21
|
+
exports.UserApiAxiosParamCreator = exports.ThemeApi = 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 = void 0;
|
|
22
|
+
exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = void 0;
|
|
23
23
|
const axios_1 = __importDefault(require("axios"));
|
|
24
24
|
// Some imports not used depending on template conditions
|
|
25
25
|
// @ts-ignore
|
|
@@ -149,7 +149,8 @@ exports.ComponentTypeEnum = {
|
|
|
149
149
|
CONTACT_FORM: 'contact-form',
|
|
150
150
|
CART_DETAIL: 'cart-detail',
|
|
151
151
|
CHECKOUT_DETAIL: 'checkout-detail',
|
|
152
|
-
NOT_FOUND_DETAIL: 'not-found-detail'
|
|
152
|
+
NOT_FOUND_DETAIL: 'not-found-detail',
|
|
153
|
+
SEARCH_DETAIL: 'search-detail'
|
|
153
154
|
};
|
|
154
155
|
/**
|
|
155
156
|
*
|
|
@@ -570,6 +571,11 @@ exports.IProductCollectionQueryParamsDateFieldEnum = {
|
|
|
570
571
|
CREATED_AT: 'createdAt',
|
|
571
572
|
UPDATED_AT: 'updatedAt'
|
|
572
573
|
};
|
|
574
|
+
exports.IProductCollectionQueryParamsSortEnum = {
|
|
575
|
+
PRICE: 'price',
|
|
576
|
+
CREATED_AT: 'createdAt',
|
|
577
|
+
TOTAL_SALE: 'totalSale'
|
|
578
|
+
};
|
|
573
579
|
exports.IUserCollectionQueryParamsDateFieldEnum = {
|
|
574
580
|
CREATED_AT: 'createdAt',
|
|
575
581
|
UPDATED_AT: 'updatedAt'
|
|
@@ -693,6 +699,7 @@ exports.PageTypeEnum = {
|
|
|
693
699
|
HOME: 'home',
|
|
694
700
|
CART: 'cart',
|
|
695
701
|
CHECKOUT: 'checkout',
|
|
702
|
+
SEARCH: 'search',
|
|
696
703
|
NOT_FOUND: 'not-found'
|
|
697
704
|
};
|
|
698
705
|
/**
|
|
@@ -715,6 +722,10 @@ exports.PaymentMethodEnum = {
|
|
|
715
722
|
CASH_ON_DELIVERY: 'cash_on_delivery',
|
|
716
723
|
CARD_ON_DELIVERY: 'card_on_delivery'
|
|
717
724
|
};
|
|
725
|
+
exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = {
|
|
726
|
+
CREATED_AT: 'createdAt',
|
|
727
|
+
UPDATED_AT: 'updatedAt'
|
|
728
|
+
};
|
|
718
729
|
/**
|
|
719
730
|
*
|
|
720
731
|
* @export
|
|
@@ -789,7 +800,8 @@ exports.TemplateTypeEnum = {
|
|
|
789
800
|
CART: 'cart',
|
|
790
801
|
CHECKOUT: 'checkout',
|
|
791
802
|
NOT_FOUND: 'not-found',
|
|
792
|
-
BLOG: 'blog'
|
|
803
|
+
BLOG: 'blog',
|
|
804
|
+
SEARCH: 'search'
|
|
793
805
|
};
|
|
794
806
|
/**
|
|
795
807
|
*
|
|
@@ -8889,17 +8901,20 @@ const ProductApiAxiosParamCreator = function (configuration) {
|
|
|
8889
8901
|
* @param {string} [endDate]
|
|
8890
8902
|
* @param {GetProductsDateFieldEnum} [dateField]
|
|
8891
8903
|
* @param {OrderEnum} [order]
|
|
8892
|
-
* @param {string} [sort]
|
|
8893
8904
|
* @param {string} [companyId]
|
|
8894
8905
|
* @param {string} [domain]
|
|
8895
|
-
* @param {string} [collections]
|
|
8896
|
-
* @param {string} [category]
|
|
8897
|
-
* @param {string} [brand]
|
|
8906
|
+
* @param {Array<string>} [collections]
|
|
8907
|
+
* @param {Array<string>} [category]
|
|
8908
|
+
* @param {Array<string>} [brand]
|
|
8909
|
+
* @param {boolean} [inStock]
|
|
8910
|
+
* @param {number} [priceGte]
|
|
8911
|
+
* @param {number} [priceLte]
|
|
8912
|
+
* @param {GetProductsSortEnum} [sort]
|
|
8898
8913
|
* @param {ContentStatusEnum} [status]
|
|
8899
8914
|
* @param {*} [options] Override http request option.
|
|
8900
8915
|
* @throws {RequiredError}
|
|
8901
8916
|
*/
|
|
8902
|
-
getProducts: async (page, itemsPerPage, search, startDate, endDate, dateField, order,
|
|
8917
|
+
getProducts: async (page, itemsPerPage, search, startDate, endDate, dateField, order, companyId, domain, collections, category, brand, inStock, priceGte, priceLte, sort, status, options = {}) => {
|
|
8903
8918
|
const localVarPath = `/api/products`;
|
|
8904
8919
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8905
8920
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -8935,24 +8950,33 @@ const ProductApiAxiosParamCreator = function (configuration) {
|
|
|
8935
8950
|
if (order !== undefined) {
|
|
8936
8951
|
localVarQueryParameter['order'] = order;
|
|
8937
8952
|
}
|
|
8938
|
-
if (sort !== undefined) {
|
|
8939
|
-
localVarQueryParameter['sort'] = sort;
|
|
8940
|
-
}
|
|
8941
8953
|
if (companyId !== undefined) {
|
|
8942
8954
|
localVarQueryParameter['companyId'] = companyId;
|
|
8943
8955
|
}
|
|
8944
8956
|
if (domain !== undefined) {
|
|
8945
8957
|
localVarQueryParameter['domain'] = domain;
|
|
8946
8958
|
}
|
|
8947
|
-
if (collections
|
|
8959
|
+
if (collections) {
|
|
8948
8960
|
localVarQueryParameter['collections'] = collections;
|
|
8949
8961
|
}
|
|
8950
|
-
if (category
|
|
8962
|
+
if (category) {
|
|
8951
8963
|
localVarQueryParameter['category'] = category;
|
|
8952
8964
|
}
|
|
8953
|
-
if (brand
|
|
8965
|
+
if (brand) {
|
|
8954
8966
|
localVarQueryParameter['brand'] = brand;
|
|
8955
8967
|
}
|
|
8968
|
+
if (inStock !== undefined) {
|
|
8969
|
+
localVarQueryParameter['inStock'] = inStock;
|
|
8970
|
+
}
|
|
8971
|
+
if (priceGte !== undefined) {
|
|
8972
|
+
localVarQueryParameter['priceGte'] = priceGte;
|
|
8973
|
+
}
|
|
8974
|
+
if (priceLte !== undefined) {
|
|
8975
|
+
localVarQueryParameter['priceLte'] = priceLte;
|
|
8976
|
+
}
|
|
8977
|
+
if (sort !== undefined) {
|
|
8978
|
+
localVarQueryParameter['sort'] = sort;
|
|
8979
|
+
}
|
|
8956
8980
|
if (status !== undefined) {
|
|
8957
8981
|
localVarQueryParameter['status'] = status;
|
|
8958
8982
|
}
|
|
@@ -9131,18 +9155,21 @@ const ProductApiFp = function (configuration) {
|
|
|
9131
9155
|
* @param {string} [endDate]
|
|
9132
9156
|
* @param {GetProductsDateFieldEnum} [dateField]
|
|
9133
9157
|
* @param {OrderEnum} [order]
|
|
9134
|
-
* @param {string} [sort]
|
|
9135
9158
|
* @param {string} [companyId]
|
|
9136
9159
|
* @param {string} [domain]
|
|
9137
|
-
* @param {string} [collections]
|
|
9138
|
-
* @param {string} [category]
|
|
9139
|
-
* @param {string} [brand]
|
|
9160
|
+
* @param {Array<string>} [collections]
|
|
9161
|
+
* @param {Array<string>} [category]
|
|
9162
|
+
* @param {Array<string>} [brand]
|
|
9163
|
+
* @param {boolean} [inStock]
|
|
9164
|
+
* @param {number} [priceGte]
|
|
9165
|
+
* @param {number} [priceLte]
|
|
9166
|
+
* @param {GetProductsSortEnum} [sort]
|
|
9140
9167
|
* @param {ContentStatusEnum} [status]
|
|
9141
9168
|
* @param {*} [options] Override http request option.
|
|
9142
9169
|
* @throws {RequiredError}
|
|
9143
9170
|
*/
|
|
9144
|
-
async getProducts(page, itemsPerPage, search, startDate, endDate, dateField, order,
|
|
9145
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getProducts(page, itemsPerPage, search, startDate, endDate, dateField, order,
|
|
9171
|
+
async getProducts(page, itemsPerPage, search, startDate, endDate, dateField, order, companyId, domain, collections, category, brand, inStock, priceGte, priceLte, sort, status, options) {
|
|
9172
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProducts(page, itemsPerPage, search, startDate, endDate, dateField, order, companyId, domain, collections, category, brand, inStock, priceGte, priceLte, sort, status, options);
|
|
9146
9173
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9147
9174
|
const localVarOperationServerBasePath = base_1.operationServerMap['ProductApi.getProducts']?.[localVarOperationServerIndex]?.url;
|
|
9148
9175
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -9245,7 +9272,7 @@ const ProductApiFactory = function (configuration, basePath, axios) {
|
|
|
9245
9272
|
* @throws {RequiredError}
|
|
9246
9273
|
*/
|
|
9247
9274
|
getProducts(requestParameters = {}, options) {
|
|
9248
|
-
return localVarFp.getProducts(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.
|
|
9275
|
+
return localVarFp.getProducts(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.companyId, requestParameters.domain, requestParameters.collections, requestParameters.category, requestParameters.brand, requestParameters.inStock, requestParameters.priceGte, requestParameters.priceLte, requestParameters.sort, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
9249
9276
|
},
|
|
9250
9277
|
/**
|
|
9251
9278
|
*
|
|
@@ -9343,7 +9370,7 @@ class ProductApi extends base_1.BaseAPI {
|
|
|
9343
9370
|
* @memberof ProductApi
|
|
9344
9371
|
*/
|
|
9345
9372
|
getProducts(requestParameters = {}, options) {
|
|
9346
|
-
return (0, exports.ProductApiFp)(this.configuration).getProducts(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.
|
|
9373
|
+
return (0, exports.ProductApiFp)(this.configuration).getProducts(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.companyId, requestParameters.domain, requestParameters.collections, requestParameters.category, requestParameters.brand, requestParameters.inStock, requestParameters.priceGte, requestParameters.priceLte, requestParameters.sort, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
9347
9374
|
}
|
|
9348
9375
|
/**
|
|
9349
9376
|
*
|
|
@@ -9374,6 +9401,14 @@ exports.GetProductsDateFieldEnum = {
|
|
|
9374
9401
|
CREATED_AT: 'createdAt',
|
|
9375
9402
|
UPDATED_AT: 'updatedAt'
|
|
9376
9403
|
};
|
|
9404
|
+
/**
|
|
9405
|
+
* @export
|
|
9406
|
+
*/
|
|
9407
|
+
exports.GetProductsSortEnum = {
|
|
9408
|
+
PRICE: 'price',
|
|
9409
|
+
CREATED_AT: 'createdAt',
|
|
9410
|
+
TOTAL_SALE: 'totalSale'
|
|
9411
|
+
};
|
|
9377
9412
|
/**
|
|
9378
9413
|
* SitemapApi - axios parameter creator
|
|
9379
9414
|
* @export
|
package/dist/api/api.mjs
CHANGED
|
@@ -137,7 +137,8 @@ export const ComponentTypeEnum = {
|
|
|
137
137
|
CONTACT_FORM: 'contact-form',
|
|
138
138
|
CART_DETAIL: 'cart-detail',
|
|
139
139
|
CHECKOUT_DETAIL: 'checkout-detail',
|
|
140
|
-
NOT_FOUND_DETAIL: 'not-found-detail'
|
|
140
|
+
NOT_FOUND_DETAIL: 'not-found-detail',
|
|
141
|
+
SEARCH_DETAIL: 'search-detail'
|
|
141
142
|
};
|
|
142
143
|
/**
|
|
143
144
|
*
|
|
@@ -558,6 +559,11 @@ export const IProductCollectionQueryParamsDateFieldEnum = {
|
|
|
558
559
|
CREATED_AT: 'createdAt',
|
|
559
560
|
UPDATED_AT: 'updatedAt'
|
|
560
561
|
};
|
|
562
|
+
export const IProductCollectionQueryParamsSortEnum = {
|
|
563
|
+
PRICE: 'price',
|
|
564
|
+
CREATED_AT: 'createdAt',
|
|
565
|
+
TOTAL_SALE: 'totalSale'
|
|
566
|
+
};
|
|
561
567
|
export const IUserCollectionQueryParamsDateFieldEnum = {
|
|
562
568
|
CREATED_AT: 'createdAt',
|
|
563
569
|
UPDATED_AT: 'updatedAt'
|
|
@@ -681,6 +687,7 @@ export const PageTypeEnum = {
|
|
|
681
687
|
HOME: 'home',
|
|
682
688
|
CART: 'cart',
|
|
683
689
|
CHECKOUT: 'checkout',
|
|
690
|
+
SEARCH: 'search',
|
|
684
691
|
NOT_FOUND: 'not-found'
|
|
685
692
|
};
|
|
686
693
|
/**
|
|
@@ -703,6 +710,10 @@ export const PaymentMethodEnum = {
|
|
|
703
710
|
CASH_ON_DELIVERY: 'cash_on_delivery',
|
|
704
711
|
CARD_ON_DELIVERY: 'card_on_delivery'
|
|
705
712
|
};
|
|
713
|
+
export const PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = {
|
|
714
|
+
CREATED_AT: 'createdAt',
|
|
715
|
+
UPDATED_AT: 'updatedAt'
|
|
716
|
+
};
|
|
706
717
|
/**
|
|
707
718
|
*
|
|
708
719
|
* @export
|
|
@@ -777,7 +788,8 @@ export const TemplateTypeEnum = {
|
|
|
777
788
|
CART: 'cart',
|
|
778
789
|
CHECKOUT: 'checkout',
|
|
779
790
|
NOT_FOUND: 'not-found',
|
|
780
|
-
BLOG: 'blog'
|
|
791
|
+
BLOG: 'blog',
|
|
792
|
+
SEARCH: 'search'
|
|
781
793
|
};
|
|
782
794
|
/**
|
|
783
795
|
*
|
|
@@ -8821,17 +8833,20 @@ export const ProductApiAxiosParamCreator = function (configuration) {
|
|
|
8821
8833
|
* @param {string} [endDate]
|
|
8822
8834
|
* @param {GetProductsDateFieldEnum} [dateField]
|
|
8823
8835
|
* @param {OrderEnum} [order]
|
|
8824
|
-
* @param {string} [sort]
|
|
8825
8836
|
* @param {string} [companyId]
|
|
8826
8837
|
* @param {string} [domain]
|
|
8827
|
-
* @param {string} [collections]
|
|
8828
|
-
* @param {string} [category]
|
|
8829
|
-
* @param {string} [brand]
|
|
8838
|
+
* @param {Array<string>} [collections]
|
|
8839
|
+
* @param {Array<string>} [category]
|
|
8840
|
+
* @param {Array<string>} [brand]
|
|
8841
|
+
* @param {boolean} [inStock]
|
|
8842
|
+
* @param {number} [priceGte]
|
|
8843
|
+
* @param {number} [priceLte]
|
|
8844
|
+
* @param {GetProductsSortEnum} [sort]
|
|
8830
8845
|
* @param {ContentStatusEnum} [status]
|
|
8831
8846
|
* @param {*} [options] Override http request option.
|
|
8832
8847
|
* @throws {RequiredError}
|
|
8833
8848
|
*/
|
|
8834
|
-
getProducts: async (page, itemsPerPage, search, startDate, endDate, dateField, order,
|
|
8849
|
+
getProducts: async (page, itemsPerPage, search, startDate, endDate, dateField, order, companyId, domain, collections, category, brand, inStock, priceGte, priceLte, sort, status, options = {}) => {
|
|
8835
8850
|
const localVarPath = `/api/products`;
|
|
8836
8851
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8837
8852
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -8867,24 +8882,33 @@ export const ProductApiAxiosParamCreator = function (configuration) {
|
|
|
8867
8882
|
if (order !== undefined) {
|
|
8868
8883
|
localVarQueryParameter['order'] = order;
|
|
8869
8884
|
}
|
|
8870
|
-
if (sort !== undefined) {
|
|
8871
|
-
localVarQueryParameter['sort'] = sort;
|
|
8872
|
-
}
|
|
8873
8885
|
if (companyId !== undefined) {
|
|
8874
8886
|
localVarQueryParameter['companyId'] = companyId;
|
|
8875
8887
|
}
|
|
8876
8888
|
if (domain !== undefined) {
|
|
8877
8889
|
localVarQueryParameter['domain'] = domain;
|
|
8878
8890
|
}
|
|
8879
|
-
if (collections
|
|
8891
|
+
if (collections) {
|
|
8880
8892
|
localVarQueryParameter['collections'] = collections;
|
|
8881
8893
|
}
|
|
8882
|
-
if (category
|
|
8894
|
+
if (category) {
|
|
8883
8895
|
localVarQueryParameter['category'] = category;
|
|
8884
8896
|
}
|
|
8885
|
-
if (brand
|
|
8897
|
+
if (brand) {
|
|
8886
8898
|
localVarQueryParameter['brand'] = brand;
|
|
8887
8899
|
}
|
|
8900
|
+
if (inStock !== undefined) {
|
|
8901
|
+
localVarQueryParameter['inStock'] = inStock;
|
|
8902
|
+
}
|
|
8903
|
+
if (priceGte !== undefined) {
|
|
8904
|
+
localVarQueryParameter['priceGte'] = priceGte;
|
|
8905
|
+
}
|
|
8906
|
+
if (priceLte !== undefined) {
|
|
8907
|
+
localVarQueryParameter['priceLte'] = priceLte;
|
|
8908
|
+
}
|
|
8909
|
+
if (sort !== undefined) {
|
|
8910
|
+
localVarQueryParameter['sort'] = sort;
|
|
8911
|
+
}
|
|
8888
8912
|
if (status !== undefined) {
|
|
8889
8913
|
localVarQueryParameter['status'] = status;
|
|
8890
8914
|
}
|
|
@@ -9062,18 +9086,21 @@ export const ProductApiFp = function (configuration) {
|
|
|
9062
9086
|
* @param {string} [endDate]
|
|
9063
9087
|
* @param {GetProductsDateFieldEnum} [dateField]
|
|
9064
9088
|
* @param {OrderEnum} [order]
|
|
9065
|
-
* @param {string} [sort]
|
|
9066
9089
|
* @param {string} [companyId]
|
|
9067
9090
|
* @param {string} [domain]
|
|
9068
|
-
* @param {string} [collections]
|
|
9069
|
-
* @param {string} [category]
|
|
9070
|
-
* @param {string} [brand]
|
|
9091
|
+
* @param {Array<string>} [collections]
|
|
9092
|
+
* @param {Array<string>} [category]
|
|
9093
|
+
* @param {Array<string>} [brand]
|
|
9094
|
+
* @param {boolean} [inStock]
|
|
9095
|
+
* @param {number} [priceGte]
|
|
9096
|
+
* @param {number} [priceLte]
|
|
9097
|
+
* @param {GetProductsSortEnum} [sort]
|
|
9071
9098
|
* @param {ContentStatusEnum} [status]
|
|
9072
9099
|
* @param {*} [options] Override http request option.
|
|
9073
9100
|
* @throws {RequiredError}
|
|
9074
9101
|
*/
|
|
9075
|
-
async getProducts(page, itemsPerPage, search, startDate, endDate, dateField, order,
|
|
9076
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getProducts(page, itemsPerPage, search, startDate, endDate, dateField, order,
|
|
9102
|
+
async getProducts(page, itemsPerPage, search, startDate, endDate, dateField, order, companyId, domain, collections, category, brand, inStock, priceGte, priceLte, sort, status, options) {
|
|
9103
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProducts(page, itemsPerPage, search, startDate, endDate, dateField, order, companyId, domain, collections, category, brand, inStock, priceGte, priceLte, sort, status, options);
|
|
9077
9104
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9078
9105
|
const localVarOperationServerBasePath = operationServerMap['ProductApi.getProducts']?.[localVarOperationServerIndex]?.url;
|
|
9079
9106
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -9175,7 +9202,7 @@ export const ProductApiFactory = function (configuration, basePath, axios) {
|
|
|
9175
9202
|
* @throws {RequiredError}
|
|
9176
9203
|
*/
|
|
9177
9204
|
getProducts(requestParameters = {}, options) {
|
|
9178
|
-
return localVarFp.getProducts(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.
|
|
9205
|
+
return localVarFp.getProducts(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.companyId, requestParameters.domain, requestParameters.collections, requestParameters.category, requestParameters.brand, requestParameters.inStock, requestParameters.priceGte, requestParameters.priceLte, requestParameters.sort, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
9179
9206
|
},
|
|
9180
9207
|
/**
|
|
9181
9208
|
*
|
|
@@ -9272,7 +9299,7 @@ export class ProductApi extends BaseAPI {
|
|
|
9272
9299
|
* @memberof ProductApi
|
|
9273
9300
|
*/
|
|
9274
9301
|
getProducts(requestParameters = {}, options) {
|
|
9275
|
-
return ProductApiFp(this.configuration).getProducts(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.
|
|
9302
|
+
return ProductApiFp(this.configuration).getProducts(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.companyId, requestParameters.domain, requestParameters.collections, requestParameters.category, requestParameters.brand, requestParameters.inStock, requestParameters.priceGte, requestParameters.priceLte, requestParameters.sort, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
9276
9303
|
}
|
|
9277
9304
|
/**
|
|
9278
9305
|
*
|
|
@@ -9302,6 +9329,14 @@ export const GetProductsDateFieldEnum = {
|
|
|
9302
9329
|
CREATED_AT: 'createdAt',
|
|
9303
9330
|
UPDATED_AT: 'updatedAt'
|
|
9304
9331
|
};
|
|
9332
|
+
/**
|
|
9333
|
+
* @export
|
|
9334
|
+
*/
|
|
9335
|
+
export const GetProductsSortEnum = {
|
|
9336
|
+
PRICE: 'price',
|
|
9337
|
+
CREATED_AT: 'createdAt',
|
|
9338
|
+
TOTAL_SALE: 'totalSale'
|
|
9339
|
+
};
|
|
9305
9340
|
/**
|
|
9306
9341
|
* SitemapApi - axios parameter creator
|
|
9307
9342
|
* @export
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.71",
|
|
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": "e759c4adf9108558ff35943d276c379a2e545019"
|
|
41
41
|
}
|