@infisale-client/api 1.3.16 → 1.3.18
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 +68 -208
- package/dist/api/api.js +4 -32
- package/dist/api/api.mjs +0 -28
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -47,37 +47,6 @@ export declare const CompanyUserStatusEnum: {
|
|
|
47
47
|
readonly DELETED: "deleted";
|
|
48
48
|
};
|
|
49
49
|
export type CompanyUserStatusEnum = typeof CompanyUserStatusEnum[keyof typeof CompanyUserStatusEnum];
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @export
|
|
53
|
-
* @enum {string}
|
|
54
|
-
*/
|
|
55
|
-
export declare const ComponentProductListTypeEnum: {
|
|
56
|
-
readonly GRID: "grid";
|
|
57
|
-
readonly CAROUSEL: "carousel";
|
|
58
|
-
};
|
|
59
|
-
export type ComponentProductListTypeEnum = typeof ComponentProductListTypeEnum[keyof typeof ComponentProductListTypeEnum];
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @export
|
|
63
|
-
* @enum {string}
|
|
64
|
-
*/
|
|
65
|
-
export declare const ComponentProductOrderEnum: {
|
|
66
|
-
readonly NEWEST: "newest";
|
|
67
|
-
readonly BEST_SELLING: "best_selling";
|
|
68
|
-
};
|
|
69
|
-
export type ComponentProductOrderEnum = typeof ComponentProductOrderEnum[keyof typeof ComponentProductOrderEnum];
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @export
|
|
73
|
-
* @enum {string}
|
|
74
|
-
*/
|
|
75
|
-
export declare const ComponentProductTypeEnum: {
|
|
76
|
-
readonly CATEGORY: "category";
|
|
77
|
-
readonly COLLECTION: "collection";
|
|
78
|
-
readonly BRAND: "brand";
|
|
79
|
-
};
|
|
80
|
-
export type ComponentProductTypeEnum = typeof ComponentProductTypeEnum[keyof typeof ComponentProductTypeEnum];
|
|
81
50
|
/**
|
|
82
51
|
*
|
|
83
52
|
* @export
|
|
@@ -4268,22 +4237,16 @@ export type IContactFormCollectionQueryParamsDateFieldEnum = typeof IContactForm
|
|
|
4268
4237
|
export interface IContactFormPostRequest {
|
|
4269
4238
|
/**
|
|
4270
4239
|
*
|
|
4271
|
-
* @type {
|
|
4272
|
-
* @memberof IContactFormPostRequest
|
|
4273
|
-
*/
|
|
4274
|
-
'name'?: string;
|
|
4275
|
-
/**
|
|
4276
|
-
*
|
|
4277
|
-
* @type {string}
|
|
4240
|
+
* @type {Array<IContactFormResponseDataInner>}
|
|
4278
4241
|
* @memberof IContactFormPostRequest
|
|
4279
4242
|
*/
|
|
4280
|
-
'
|
|
4243
|
+
'data': Array<IContactFormResponseDataInner>;
|
|
4281
4244
|
/**
|
|
4282
4245
|
*
|
|
4283
4246
|
* @type {string}
|
|
4284
4247
|
* @memberof IContactFormPostRequest
|
|
4285
4248
|
*/
|
|
4286
|
-
'
|
|
4249
|
+
'title'?: string;
|
|
4287
4250
|
/**
|
|
4288
4251
|
*
|
|
4289
4252
|
* @type {string}
|
|
@@ -4332,25 +4295,38 @@ export interface IContactFormResponse {
|
|
|
4332
4295
|
* @type {string}
|
|
4333
4296
|
* @memberof IContactFormResponse
|
|
4334
4297
|
*/
|
|
4335
|
-
'
|
|
4298
|
+
'ip': string;
|
|
4336
4299
|
/**
|
|
4337
4300
|
*
|
|
4338
4301
|
* @type {string}
|
|
4339
4302
|
* @memberof IContactFormResponse
|
|
4340
4303
|
*/
|
|
4341
|
-
'
|
|
4304
|
+
'title': string;
|
|
4342
4305
|
/**
|
|
4343
4306
|
*
|
|
4344
|
-
* @type {
|
|
4307
|
+
* @type {Array<IContactFormResponseDataInner>}
|
|
4345
4308
|
* @memberof IContactFormResponse
|
|
4346
4309
|
*/
|
|
4347
|
-
'
|
|
4310
|
+
'data': Array<IContactFormResponseDataInner>;
|
|
4311
|
+
}
|
|
4312
|
+
/**
|
|
4313
|
+
*
|
|
4314
|
+
* @export
|
|
4315
|
+
* @interface IContactFormResponseDataInner
|
|
4316
|
+
*/
|
|
4317
|
+
export interface IContactFormResponseDataInner {
|
|
4348
4318
|
/**
|
|
4349
4319
|
*
|
|
4350
4320
|
* @type {string}
|
|
4351
|
-
* @memberof
|
|
4321
|
+
* @memberof IContactFormResponseDataInner
|
|
4352
4322
|
*/
|
|
4353
|
-
'
|
|
4323
|
+
'value': string;
|
|
4324
|
+
/**
|
|
4325
|
+
*
|
|
4326
|
+
* @type {string}
|
|
4327
|
+
* @memberof IContactFormResponseDataInner
|
|
4328
|
+
*/
|
|
4329
|
+
'key': string;
|
|
4354
4330
|
}
|
|
4355
4331
|
/**
|
|
4356
4332
|
*
|
|
@@ -7477,10 +7453,10 @@ export interface IProductResponse {
|
|
|
7477
7453
|
'reviewCount': number;
|
|
7478
7454
|
/**
|
|
7479
7455
|
*
|
|
7480
|
-
* @type {
|
|
7456
|
+
* @type {PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts}
|
|
7481
7457
|
* @memberof IProductResponse
|
|
7482
7458
|
*/
|
|
7483
|
-
'reviewCounts':
|
|
7459
|
+
'reviewCounts': PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts;
|
|
7484
7460
|
/**
|
|
7485
7461
|
*
|
|
7486
7462
|
* @type {ContentStatusEnum}
|
|
@@ -7548,43 +7524,6 @@ export interface IProductResponse {
|
|
|
7548
7524
|
*/
|
|
7549
7525
|
'template': ITemplateResponse;
|
|
7550
7526
|
}
|
|
7551
|
-
/**
|
|
7552
|
-
*
|
|
7553
|
-
* @export
|
|
7554
|
-
* @interface IProductResponseReviewCounts
|
|
7555
|
-
*/
|
|
7556
|
-
export interface IProductResponseReviewCounts {
|
|
7557
|
-
/**
|
|
7558
|
-
*
|
|
7559
|
-
* @type {number}
|
|
7560
|
-
* @memberof IProductResponseReviewCounts
|
|
7561
|
-
*/
|
|
7562
|
-
'1': number;
|
|
7563
|
-
/**
|
|
7564
|
-
*
|
|
7565
|
-
* @type {number}
|
|
7566
|
-
* @memberof IProductResponseReviewCounts
|
|
7567
|
-
*/
|
|
7568
|
-
'2': number;
|
|
7569
|
-
/**
|
|
7570
|
-
*
|
|
7571
|
-
* @type {number}
|
|
7572
|
-
* @memberof IProductResponseReviewCounts
|
|
7573
|
-
*/
|
|
7574
|
-
'3': number;
|
|
7575
|
-
/**
|
|
7576
|
-
*
|
|
7577
|
-
* @type {number}
|
|
7578
|
-
* @memberof IProductResponseReviewCounts
|
|
7579
|
-
*/
|
|
7580
|
-
'4': number;
|
|
7581
|
-
/**
|
|
7582
|
-
*
|
|
7583
|
-
* @type {number}
|
|
7584
|
-
* @memberof IProductResponseReviewCounts
|
|
7585
|
-
*/
|
|
7586
|
-
'5': number;
|
|
7587
|
-
}
|
|
7588
7527
|
/**
|
|
7589
7528
|
*
|
|
7590
7529
|
* @export
|
|
@@ -8286,110 +8225,6 @@ export interface ITemplateComponentResponse {
|
|
|
8286
8225
|
* @memberof ITemplateComponentResponse
|
|
8287
8226
|
*/
|
|
8288
8227
|
'contents': Array<ITemplateComponentContentResponse>;
|
|
8289
|
-
/**
|
|
8290
|
-
*
|
|
8291
|
-
* @type {ITemplateComponentResponseProducts}
|
|
8292
|
-
* @memberof ITemplateComponentResponse
|
|
8293
|
-
*/
|
|
8294
|
-
'products'?: ITemplateComponentResponseProducts;
|
|
8295
|
-
/**
|
|
8296
|
-
*
|
|
8297
|
-
* @type {Array<ICategoryResponse>}
|
|
8298
|
-
* @memberof ITemplateComponentResponse
|
|
8299
|
-
*/
|
|
8300
|
-
'categories'?: Array<ICategoryResponse>;
|
|
8301
|
-
/**
|
|
8302
|
-
*
|
|
8303
|
-
* @type {Array<IBrandResponse>}
|
|
8304
|
-
* @memberof ITemplateComponentResponse
|
|
8305
|
-
*/
|
|
8306
|
-
'brands'?: Array<IBrandResponse>;
|
|
8307
|
-
/**
|
|
8308
|
-
*
|
|
8309
|
-
* @type {Array<ICollectionResponse>}
|
|
8310
|
-
* @memberof ITemplateComponentResponse
|
|
8311
|
-
*/
|
|
8312
|
-
'collections'?: Array<ICollectionResponse>;
|
|
8313
|
-
/**
|
|
8314
|
-
*
|
|
8315
|
-
* @type {ITemplateComponentResponsePages}
|
|
8316
|
-
* @memberof ITemplateComponentResponse
|
|
8317
|
-
*/
|
|
8318
|
-
'pages'?: ITemplateComponentResponsePages;
|
|
8319
|
-
}
|
|
8320
|
-
/**
|
|
8321
|
-
*
|
|
8322
|
-
* @export
|
|
8323
|
-
* @interface ITemplateComponentResponsePages
|
|
8324
|
-
*/
|
|
8325
|
-
export interface ITemplateComponentResponsePages {
|
|
8326
|
-
/**
|
|
8327
|
-
*
|
|
8328
|
-
* @type {number}
|
|
8329
|
-
* @memberof ITemplateComponentResponsePages
|
|
8330
|
-
*/
|
|
8331
|
-
'limit'?: number;
|
|
8332
|
-
/**
|
|
8333
|
-
*
|
|
8334
|
-
* @type {Array<IPageResponse>}
|
|
8335
|
-
* @memberof ITemplateComponentResponsePages
|
|
8336
|
-
*/
|
|
8337
|
-
'list'?: Array<IPageResponse>;
|
|
8338
|
-
/**
|
|
8339
|
-
*
|
|
8340
|
-
* @type {Array<IPageResponse>}
|
|
8341
|
-
* @memberof ITemplateComponentResponsePages
|
|
8342
|
-
*/
|
|
8343
|
-
'items'?: Array<IPageResponse>;
|
|
8344
|
-
}
|
|
8345
|
-
/**
|
|
8346
|
-
*
|
|
8347
|
-
* @export
|
|
8348
|
-
* @interface ITemplateComponentResponseProducts
|
|
8349
|
-
*/
|
|
8350
|
-
export interface ITemplateComponentResponseProducts {
|
|
8351
|
-
/**
|
|
8352
|
-
*
|
|
8353
|
-
* @type {Array<IProductResponse>}
|
|
8354
|
-
* @memberof ITemplateComponentResponseProducts
|
|
8355
|
-
*/
|
|
8356
|
-
'list'?: Array<IProductResponse>;
|
|
8357
|
-
/**
|
|
8358
|
-
*
|
|
8359
|
-
* @type {number}
|
|
8360
|
-
* @memberof ITemplateComponentResponseProducts
|
|
8361
|
-
*/
|
|
8362
|
-
'limit'?: number;
|
|
8363
|
-
/**
|
|
8364
|
-
*
|
|
8365
|
-
* @type {ComponentProductListTypeEnum}
|
|
8366
|
-
* @memberof ITemplateComponentResponseProducts
|
|
8367
|
-
*/
|
|
8368
|
-
'listType': ComponentProductListTypeEnum;
|
|
8369
|
-
/**
|
|
8370
|
-
*
|
|
8371
|
-
* @type {ComponentProductOrderEnum}
|
|
8372
|
-
* @memberof ITemplateComponentResponseProducts
|
|
8373
|
-
*/
|
|
8374
|
-
'order'?: ComponentProductOrderEnum;
|
|
8375
|
-
/**
|
|
8376
|
-
*
|
|
8377
|
-
* @type {ComponentProductTypeEnum}
|
|
8378
|
-
* @memberof ITemplateComponentResponseProducts
|
|
8379
|
-
*/
|
|
8380
|
-
'relType'?: ComponentProductTypeEnum;
|
|
8381
|
-
/**
|
|
8382
|
-
*
|
|
8383
|
-
* @type {string}
|
|
8384
|
-
* @memberof ITemplateComponentResponseProducts
|
|
8385
|
-
*/
|
|
8386
|
-
'relation'?: string;
|
|
8387
|
-
/**
|
|
8388
|
-
*
|
|
8389
|
-
* @type {Array<IProductResponse>}
|
|
8390
|
-
* @memberof ITemplateComponentResponseProducts
|
|
8391
|
-
*/
|
|
8392
|
-
'items'?: Array<IProductResponse>;
|
|
8393
8228
|
}
|
|
8394
8229
|
/**
|
|
8395
8230
|
*
|
|
@@ -10493,27 +10328,15 @@ export interface PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUse
|
|
|
10493
10328
|
/**
|
|
10494
10329
|
* From T, pick a set of properties whose keys are in the union K
|
|
10495
10330
|
* @export
|
|
10496
|
-
* @interface
|
|
10331
|
+
* @interface PickIContactFormExcludeKeyofIContactFormKeyofMongoResponseOrCompanyOrIpOrTitle
|
|
10497
10332
|
*/
|
|
10498
|
-
export interface
|
|
10499
|
-
/**
|
|
10500
|
-
*
|
|
10501
|
-
* @type {string}
|
|
10502
|
-
* @memberof PickIContactFormExcludeKeyofIContactFormKeyofMongoResponseOrCompanyOrIp
|
|
10503
|
-
*/
|
|
10504
|
-
'name'?: string;
|
|
10505
|
-
/**
|
|
10506
|
-
*
|
|
10507
|
-
* @type {string}
|
|
10508
|
-
* @memberof PickIContactFormExcludeKeyofIContactFormKeyofMongoResponseOrCompanyOrIp
|
|
10509
|
-
*/
|
|
10510
|
-
'email': string;
|
|
10333
|
+
export interface PickIContactFormExcludeKeyofIContactFormKeyofMongoResponseOrCompanyOrIpOrTitle {
|
|
10511
10334
|
/**
|
|
10512
10335
|
*
|
|
10513
|
-
* @type {
|
|
10514
|
-
* @memberof
|
|
10336
|
+
* @type {Array<IContactFormResponseDataInner>}
|
|
10337
|
+
* @memberof PickIContactFormExcludeKeyofIContactFormKeyofMongoResponseOrCompanyOrIpOrTitle
|
|
10515
10338
|
*/
|
|
10516
|
-
'
|
|
10339
|
+
'data': Array<IContactFormResponseDataInner>;
|
|
10517
10340
|
}
|
|
10518
10341
|
/**
|
|
10519
10342
|
* From T, pick a set of properties whose keys are in the union K
|
|
@@ -11152,10 +10975,47 @@ export interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttr
|
|
|
11152
10975
|
'reviewCount': number;
|
|
11153
10976
|
/**
|
|
11154
10977
|
*
|
|
11155
|
-
* @type {
|
|
10978
|
+
* @type {PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts}
|
|
11156
10979
|
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
11157
10980
|
*/
|
|
11158
|
-
'reviewCounts':
|
|
10981
|
+
'reviewCounts': PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts;
|
|
10982
|
+
}
|
|
10983
|
+
/**
|
|
10984
|
+
*
|
|
10985
|
+
* @export
|
|
10986
|
+
* @interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts
|
|
10987
|
+
*/
|
|
10988
|
+
export interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts {
|
|
10989
|
+
/**
|
|
10990
|
+
*
|
|
10991
|
+
* @type {number}
|
|
10992
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts
|
|
10993
|
+
*/
|
|
10994
|
+
'1': number;
|
|
10995
|
+
/**
|
|
10996
|
+
*
|
|
10997
|
+
* @type {number}
|
|
10998
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts
|
|
10999
|
+
*/
|
|
11000
|
+
'2': number;
|
|
11001
|
+
/**
|
|
11002
|
+
*
|
|
11003
|
+
* @type {number}
|
|
11004
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts
|
|
11005
|
+
*/
|
|
11006
|
+
'3': number;
|
|
11007
|
+
/**
|
|
11008
|
+
*
|
|
11009
|
+
* @type {number}
|
|
11010
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts
|
|
11011
|
+
*/
|
|
11012
|
+
'4': number;
|
|
11013
|
+
/**
|
|
11014
|
+
*
|
|
11015
|
+
* @type {number}
|
|
11016
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts
|
|
11017
|
+
*/
|
|
11018
|
+
'5': number;
|
|
11159
11019
|
}
|
|
11160
11020
|
/**
|
|
11161
11021
|
* From T, pick a set of properties whose keys are in the union K
|
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.PlanCurrencyEnum = exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentStatusEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = 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.IUniqueCollectionQueryParamsDateFieldEnum = exports.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPaymentPostRequestPeriodEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyDashboardResponsePeriodEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.
|
|
20
|
-
exports.FileApiFactory = exports.FileApiFp = exports.FileApiAxiosParamCreator = 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.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum =
|
|
21
|
-
exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = 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 =
|
|
22
|
-
exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory =
|
|
19
|
+
exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentStatusEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = 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.IUniqueCollectionQueryParamsDateFieldEnum = exports.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPaymentPostRequestPeriodEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyDashboardResponsePeriodEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = void 0;
|
|
20
|
+
exports.NotificationApiAxiosParamCreator = exports.GetFilesDateFieldEnum = exports.FileApi = exports.FileApiFactory = exports.FileApiFp = exports.FileApiAxiosParamCreator = 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.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = void 0;
|
|
21
|
+
exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.GetUniquePagesDateFieldEnum = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = 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 = void 0;
|
|
22
|
+
exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = void 0;
|
|
23
23
|
const axios_1 = __importDefault(require("axios"));
|
|
24
24
|
// Some imports not used depending on template conditions
|
|
25
25
|
// @ts-ignore
|
|
@@ -57,34 +57,6 @@ exports.CompanyUserStatusEnum = {
|
|
|
57
57
|
UNEMPLOYED: 'unemployed',
|
|
58
58
|
DELETED: 'deleted'
|
|
59
59
|
};
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @export
|
|
63
|
-
* @enum {string}
|
|
64
|
-
*/
|
|
65
|
-
exports.ComponentProductListTypeEnum = {
|
|
66
|
-
GRID: 'grid',
|
|
67
|
-
CAROUSEL: 'carousel'
|
|
68
|
-
};
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
* @export
|
|
72
|
-
* @enum {string}
|
|
73
|
-
*/
|
|
74
|
-
exports.ComponentProductOrderEnum = {
|
|
75
|
-
NEWEST: 'newest',
|
|
76
|
-
BEST_SELLING: 'best_selling'
|
|
77
|
-
};
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @export
|
|
81
|
-
* @enum {string}
|
|
82
|
-
*/
|
|
83
|
-
exports.ComponentProductTypeEnum = {
|
|
84
|
-
CATEGORY: 'category',
|
|
85
|
-
COLLECTION: 'collection',
|
|
86
|
-
BRAND: 'brand'
|
|
87
|
-
};
|
|
88
60
|
/**
|
|
89
61
|
*
|
|
90
62
|
* @export
|
package/dist/api/api.mjs
CHANGED
|
@@ -45,34 +45,6 @@ export const CompanyUserStatusEnum = {
|
|
|
45
45
|
UNEMPLOYED: 'unemployed',
|
|
46
46
|
DELETED: 'deleted'
|
|
47
47
|
};
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @export
|
|
51
|
-
* @enum {string}
|
|
52
|
-
*/
|
|
53
|
-
export const ComponentProductListTypeEnum = {
|
|
54
|
-
GRID: 'grid',
|
|
55
|
-
CAROUSEL: 'carousel'
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @export
|
|
60
|
-
* @enum {string}
|
|
61
|
-
*/
|
|
62
|
-
export const ComponentProductOrderEnum = {
|
|
63
|
-
NEWEST: 'newest',
|
|
64
|
-
BEST_SELLING: 'best_selling'
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @export
|
|
69
|
-
* @enum {string}
|
|
70
|
-
*/
|
|
71
|
-
export const ComponentProductTypeEnum = {
|
|
72
|
-
CATEGORY: 'category',
|
|
73
|
-
COLLECTION: 'collection',
|
|
74
|
-
BRAND: 'brand'
|
|
75
|
-
};
|
|
76
48
|
/**
|
|
77
49
|
*
|
|
78
50
|
* @export
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.18",
|
|
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": "4cbc93aea8b664f10be3385f450a1986d198eaa0"
|
|
41
41
|
}
|