@infisale-client/api-client 1.3.14 → 1.3.15
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 +36 -70
- package/dist/api/api.js +7 -39
- package/dist/api/api.mjs +4 -36
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -6237,10 +6237,10 @@ export interface IPageCollectionQueryParams {
|
|
|
6237
6237
|
'domain'?: string;
|
|
6238
6238
|
/**
|
|
6239
6239
|
*
|
|
6240
|
-
* @type {
|
|
6240
|
+
* @type {string}
|
|
6241
6241
|
* @memberof IPageCollectionQueryParams
|
|
6242
6242
|
*/
|
|
6243
|
-
'type'?:
|
|
6243
|
+
'type'?: string;
|
|
6244
6244
|
/**
|
|
6245
6245
|
*
|
|
6246
6246
|
* @type {ContentStatusEnum}
|
|
@@ -6285,10 +6285,10 @@ export interface IPageGetAllQueryParams {
|
|
|
6285
6285
|
'template'?: string;
|
|
6286
6286
|
/**
|
|
6287
6287
|
*
|
|
6288
|
-
* @type {Array<
|
|
6288
|
+
* @type {Array<string>}
|
|
6289
6289
|
* @memberof IPageGetAllQueryParams
|
|
6290
6290
|
*/
|
|
6291
|
-
'type'?: Array<
|
|
6291
|
+
'type'?: Array<string>;
|
|
6292
6292
|
}
|
|
6293
6293
|
/**
|
|
6294
6294
|
*
|
|
@@ -6316,10 +6316,10 @@ export interface IPagePatchRequest {
|
|
|
6316
6316
|
'thumbnail'?: IImage;
|
|
6317
6317
|
/**
|
|
6318
6318
|
*
|
|
6319
|
-
* @type {
|
|
6319
|
+
* @type {string}
|
|
6320
6320
|
* @memberof IPagePatchRequest
|
|
6321
6321
|
*/
|
|
6322
|
-
'type'?:
|
|
6322
|
+
'type'?: string;
|
|
6323
6323
|
}
|
|
6324
6324
|
/**
|
|
6325
6325
|
*
|
|
@@ -6347,10 +6347,10 @@ export interface IPagePostRequest {
|
|
|
6347
6347
|
'thumbnail'?: IImage;
|
|
6348
6348
|
/**
|
|
6349
6349
|
*
|
|
6350
|
-
* @type {
|
|
6350
|
+
* @type {string}
|
|
6351
6351
|
* @memberof IPagePostRequest
|
|
6352
6352
|
*/
|
|
6353
|
-
'type':
|
|
6353
|
+
'type': string;
|
|
6354
6354
|
/**
|
|
6355
6355
|
*
|
|
6356
6356
|
* @type {ITemplateResponse}
|
|
@@ -6422,10 +6422,10 @@ export interface IPageResponse {
|
|
|
6422
6422
|
'thumbnail'?: IImage;
|
|
6423
6423
|
/**
|
|
6424
6424
|
*
|
|
6425
|
-
* @type {
|
|
6425
|
+
* @type {string}
|
|
6426
6426
|
* @memberof IPageResponse
|
|
6427
6427
|
*/
|
|
6428
|
-
'type':
|
|
6428
|
+
'type': string;
|
|
6429
6429
|
/**
|
|
6430
6430
|
*
|
|
6431
6431
|
* @type {ContentStatusEnum}
|
|
@@ -8393,10 +8393,10 @@ export interface ITemplatePatchRequest {
|
|
|
8393
8393
|
'components'?: PartialRecordLanguageEnumITemplateComponentResponseArray;
|
|
8394
8394
|
/**
|
|
8395
8395
|
*
|
|
8396
|
-
* @type {
|
|
8396
|
+
* @type {string}
|
|
8397
8397
|
* @memberof ITemplatePatchRequest
|
|
8398
8398
|
*/
|
|
8399
|
-
'type'?:
|
|
8399
|
+
'type'?: string;
|
|
8400
8400
|
/**
|
|
8401
8401
|
*
|
|
8402
8402
|
* @type {boolean}
|
|
@@ -8436,10 +8436,10 @@ export interface ITemplatePostRequest {
|
|
|
8436
8436
|
'theme': string;
|
|
8437
8437
|
/**
|
|
8438
8438
|
*
|
|
8439
|
-
* @type {
|
|
8439
|
+
* @type {string}
|
|
8440
8440
|
* @memberof ITemplatePostRequest
|
|
8441
8441
|
*/
|
|
8442
|
-
'type':
|
|
8442
|
+
'type': string;
|
|
8443
8443
|
/**
|
|
8444
8444
|
*
|
|
8445
8445
|
* @type {boolean}
|
|
@@ -8497,10 +8497,10 @@ export interface ITemplateResponse {
|
|
|
8497
8497
|
'theme': string;
|
|
8498
8498
|
/**
|
|
8499
8499
|
*
|
|
8500
|
-
* @type {
|
|
8500
|
+
* @type {string}
|
|
8501
8501
|
* @memberof ITemplateResponse
|
|
8502
8502
|
*/
|
|
8503
|
-
'type':
|
|
8503
|
+
'type': string;
|
|
8504
8504
|
/**
|
|
8505
8505
|
*
|
|
8506
8506
|
* @type {boolean}
|
|
@@ -9446,22 +9446,6 @@ export declare const OrderStatusEnum: {
|
|
|
9446
9446
|
readonly CREATED: "created";
|
|
9447
9447
|
};
|
|
9448
9448
|
export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum];
|
|
9449
|
-
/**
|
|
9450
|
-
*
|
|
9451
|
-
* @export
|
|
9452
|
-
* @enum {string}
|
|
9453
|
-
*/
|
|
9454
|
-
export declare const PageTypeEnum: {
|
|
9455
|
-
readonly BLOG: "blog";
|
|
9456
|
-
readonly PAGE: "page";
|
|
9457
|
-
readonly HOME: "home";
|
|
9458
|
-
readonly CART: "cart";
|
|
9459
|
-
readonly CHECKOUT: "checkout";
|
|
9460
|
-
readonly SEARCH: "search";
|
|
9461
|
-
readonly NOT_FOUND: "not-found";
|
|
9462
|
-
readonly BLOGS: "blogs";
|
|
9463
|
-
};
|
|
9464
|
-
export type PageTypeEnum = typeof PageTypeEnum[keyof typeof PageTypeEnum];
|
|
9465
9449
|
/**
|
|
9466
9450
|
* Make all properties in T optional
|
|
9467
9451
|
* @export
|
|
@@ -10966,10 +10950,10 @@ export interface PickIPageExcludeKeyofIPageTemplate {
|
|
|
10966
10950
|
'thumbnail'?: IImage;
|
|
10967
10951
|
/**
|
|
10968
10952
|
*
|
|
10969
|
-
* @type {
|
|
10953
|
+
* @type {string}
|
|
10970
10954
|
* @memberof PickIPageExcludeKeyofIPageTemplate
|
|
10971
10955
|
*/
|
|
10972
|
-
'type':
|
|
10956
|
+
'type': string;
|
|
10973
10957
|
}
|
|
10974
10958
|
/**
|
|
10975
10959
|
* From T, pick a set of properties whose keys are in the union K
|
|
@@ -10997,10 +10981,10 @@ export interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrT
|
|
|
10997
10981
|
'thumbnail'?: IImage;
|
|
10998
10982
|
/**
|
|
10999
10983
|
*
|
|
11000
|
-
* @type {
|
|
10984
|
+
* @type {string}
|
|
11001
10985
|
* @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugsOrKeyofIContentsValue
|
|
11002
10986
|
*/
|
|
11003
|
-
'type':
|
|
10987
|
+
'type': string;
|
|
11004
10988
|
}
|
|
11005
10989
|
/**
|
|
11006
10990
|
* From T, pick a set of properties whose keys are in the union K
|
|
@@ -11455,10 +11439,10 @@ export interface PickITemplateExcludeKeyofITemplateComponents {
|
|
|
11455
11439
|
'theme': string;
|
|
11456
11440
|
/**
|
|
11457
11441
|
*
|
|
11458
|
-
* @type {
|
|
11442
|
+
* @type {string}
|
|
11459
11443
|
* @memberof PickITemplateExcludeKeyofITemplateComponents
|
|
11460
11444
|
*/
|
|
11461
|
-
'type':
|
|
11445
|
+
'type': string;
|
|
11462
11446
|
/**
|
|
11463
11447
|
*
|
|
11464
11448
|
* @type {boolean}
|
|
@@ -11498,10 +11482,10 @@ export interface PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoRes
|
|
|
11498
11482
|
'theme': string;
|
|
11499
11483
|
/**
|
|
11500
11484
|
*
|
|
11501
|
-
* @type {
|
|
11485
|
+
* @type {string}
|
|
11502
11486
|
* @memberof PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoResponse
|
|
11503
11487
|
*/
|
|
11504
|
-
'type':
|
|
11488
|
+
'type': string;
|
|
11505
11489
|
/**
|
|
11506
11490
|
*
|
|
11507
11491
|
* @type {boolean}
|
|
@@ -12323,24 +12307,6 @@ export interface SubCategories {
|
|
|
12323
12307
|
*/
|
|
12324
12308
|
'_id': string;
|
|
12325
12309
|
}
|
|
12326
|
-
/**
|
|
12327
|
-
*
|
|
12328
|
-
* @export
|
|
12329
|
-
* @enum {string}
|
|
12330
|
-
*/
|
|
12331
|
-
export declare const TemplateTypeEnum: {
|
|
12332
|
-
readonly PRODUCT: "product";
|
|
12333
|
-
readonly PAGE: "page";
|
|
12334
|
-
readonly COLLECTION: "collection";
|
|
12335
|
-
readonly HOME: "home";
|
|
12336
|
-
readonly CART: "cart";
|
|
12337
|
-
readonly CHECKOUT: "checkout";
|
|
12338
|
-
readonly NOT_FOUND: "not-found";
|
|
12339
|
-
readonly BLOG: "blog";
|
|
12340
|
-
readonly SEARCH: "search";
|
|
12341
|
-
readonly BLOGS: "blogs";
|
|
12342
|
-
};
|
|
12343
|
-
export type TemplateTypeEnum = typeof TemplateTypeEnum[keyof typeof TemplateTypeEnum];
|
|
12344
12310
|
/**
|
|
12345
12311
|
*
|
|
12346
12312
|
* @export
|
|
@@ -14240,14 +14206,14 @@ export declare const PageApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
14240
14206
|
getPageBySlug: (slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14241
14207
|
/**
|
|
14242
14208
|
*
|
|
14243
|
-
* @param {
|
|
14209
|
+
* @param {string} type
|
|
14244
14210
|
* @param {string} [companyId]
|
|
14245
14211
|
* @param {string} [domain]
|
|
14246
14212
|
* @param {string} [template]
|
|
14247
14213
|
* @param {*} [options] Override http request option.
|
|
14248
14214
|
* @throws {RequiredError}
|
|
14249
14215
|
*/
|
|
14250
|
-
getPageByType: (type:
|
|
14216
|
+
getPageByType: (type: string, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14251
14217
|
/**
|
|
14252
14218
|
*
|
|
14253
14219
|
* @param {number} [page]
|
|
@@ -14260,12 +14226,12 @@ export declare const PageApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
14260
14226
|
* @param {string} [sort]
|
|
14261
14227
|
* @param {string} [companyId]
|
|
14262
14228
|
* @param {string} [domain]
|
|
14263
|
-
* @param {
|
|
14229
|
+
* @param {string} [type]
|
|
14264
14230
|
* @param {ContentStatusEnum} [status]
|
|
14265
14231
|
* @param {*} [options] Override http request option.
|
|
14266
14232
|
* @throws {RequiredError}
|
|
14267
14233
|
*/
|
|
14268
|
-
getPages: (page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetPagesDateFieldEnum, order?: OrderEnum, sort?: string, companyId?: string, domain?: string, type?:
|
|
14234
|
+
getPages: (page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetPagesDateFieldEnum, order?: OrderEnum, sort?: string, companyId?: string, domain?: string, type?: string, status?: ContentStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14269
14235
|
};
|
|
14270
14236
|
/**
|
|
14271
14237
|
* PageApi - functional programming interface
|
|
@@ -14283,14 +14249,14 @@ export declare const PageApiFp: (configuration?: Configuration) => {
|
|
|
14283
14249
|
getPageBySlug(slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
|
|
14284
14250
|
/**
|
|
14285
14251
|
*
|
|
14286
|
-
* @param {
|
|
14252
|
+
* @param {string} type
|
|
14287
14253
|
* @param {string} [companyId]
|
|
14288
14254
|
* @param {string} [domain]
|
|
14289
14255
|
* @param {string} [template]
|
|
14290
14256
|
* @param {*} [options] Override http request option.
|
|
14291
14257
|
* @throws {RequiredError}
|
|
14292
14258
|
*/
|
|
14293
|
-
getPageByType(type:
|
|
14259
|
+
getPageByType(type: string, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
|
|
14294
14260
|
/**
|
|
14295
14261
|
*
|
|
14296
14262
|
* @param {number} [page]
|
|
@@ -14303,12 +14269,12 @@ export declare const PageApiFp: (configuration?: Configuration) => {
|
|
|
14303
14269
|
* @param {string} [sort]
|
|
14304
14270
|
* @param {string} [companyId]
|
|
14305
14271
|
* @param {string} [domain]
|
|
14306
|
-
* @param {
|
|
14272
|
+
* @param {string} [type]
|
|
14307
14273
|
* @param {ContentStatusEnum} [status]
|
|
14308
14274
|
* @param {*} [options] Override http request option.
|
|
14309
14275
|
* @throws {RequiredError}
|
|
14310
14276
|
*/
|
|
14311
|
-
getPages(page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetPagesDateFieldEnum, order?: OrderEnum, sort?: string, companyId?: string, domain?: string, type?:
|
|
14277
|
+
getPages(page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetPagesDateFieldEnum, order?: OrderEnum, sort?: string, companyId?: string, domain?: string, type?: string, status?: ContentStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPagesResponse>>;
|
|
14312
14278
|
};
|
|
14313
14279
|
/**
|
|
14314
14280
|
* PageApi - factory interface
|
|
@@ -14370,10 +14336,10 @@ export interface PageApiGetPageBySlugRequest {
|
|
|
14370
14336
|
export interface PageApiGetPageByTypeRequest {
|
|
14371
14337
|
/**
|
|
14372
14338
|
*
|
|
14373
|
-
* @type {
|
|
14339
|
+
* @type {string}
|
|
14374
14340
|
* @memberof PageApiGetPageByType
|
|
14375
14341
|
*/
|
|
14376
|
-
readonly type:
|
|
14342
|
+
readonly type: string;
|
|
14377
14343
|
/**
|
|
14378
14344
|
*
|
|
14379
14345
|
* @type {string}
|
|
@@ -14461,10 +14427,10 @@ export interface PageApiGetPagesRequest {
|
|
|
14461
14427
|
readonly domain?: string;
|
|
14462
14428
|
/**
|
|
14463
14429
|
*
|
|
14464
|
-
* @type {
|
|
14430
|
+
* @type {string}
|
|
14465
14431
|
* @memberof PageApiGetPages
|
|
14466
14432
|
*/
|
|
14467
|
-
readonly type?:
|
|
14433
|
+
readonly type?: string;
|
|
14468
14434
|
/**
|
|
14469
14435
|
*
|
|
14470
14436
|
* @type {ContentStatusEnum}
|
package/dist/api/api.js
CHANGED
|
@@ -16,9 +16,9 @@ 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.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.BasketApi = exports.BasketApiFactory = exports.BasketApiFp = exports.BasketApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.AddressApi = exports.AddressApiFactory = exports.AddressApiFp = exports.AddressApiAxiosParamCreator = exports.UserStatusEnum = exports.UserRoleEnum = exports.TimezoneEnum = exports.
|
|
21
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator =
|
|
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.ComponentProductTypeEnum = exports.ComponentProductOrderEnum = exports.ComponentProductListTypeEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = void 0;
|
|
20
|
+
exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.BasketApi = exports.BasketApiFactory = exports.BasketApiFp = exports.BasketApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.AddressApi = exports.AddressApiFactory = exports.AddressApiFp = exports.AddressApiAxiosParamCreator = exports.UserStatusEnum = exports.UserRoleEnum = exports.TimezoneEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = void 0;
|
|
21
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = void 0;
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
23
|
// Some imports not used depending on template conditions
|
|
24
24
|
// @ts-ignore
|
|
@@ -602,21 +602,6 @@ exports.OrderStatusEnum = {
|
|
|
602
602
|
CANCELLED: 'cancelled',
|
|
603
603
|
CREATED: 'created'
|
|
604
604
|
};
|
|
605
|
-
/**
|
|
606
|
-
*
|
|
607
|
-
* @export
|
|
608
|
-
* @enum {string}
|
|
609
|
-
*/
|
|
610
|
-
exports.PageTypeEnum = {
|
|
611
|
-
BLOG: 'blog',
|
|
612
|
-
PAGE: 'page',
|
|
613
|
-
HOME: 'home',
|
|
614
|
-
CART: 'cart',
|
|
615
|
-
CHECKOUT: 'checkout',
|
|
616
|
-
SEARCH: 'search',
|
|
617
|
-
NOT_FOUND: 'not-found',
|
|
618
|
-
BLOGS: 'blogs'
|
|
619
|
-
};
|
|
620
605
|
/**
|
|
621
606
|
*
|
|
622
607
|
* @export
|
|
@@ -712,23 +697,6 @@ exports.SitemapTypeEnum = {
|
|
|
712
697
|
COLLECTIONS: 'collections',
|
|
713
698
|
BLOG: 'blog'
|
|
714
699
|
};
|
|
715
|
-
/**
|
|
716
|
-
*
|
|
717
|
-
* @export
|
|
718
|
-
* @enum {string}
|
|
719
|
-
*/
|
|
720
|
-
exports.TemplateTypeEnum = {
|
|
721
|
-
PRODUCT: 'product',
|
|
722
|
-
PAGE: 'page',
|
|
723
|
-
COLLECTION: 'collection',
|
|
724
|
-
HOME: 'home',
|
|
725
|
-
CART: 'cart',
|
|
726
|
-
CHECKOUT: 'checkout',
|
|
727
|
-
NOT_FOUND: 'not-found',
|
|
728
|
-
BLOG: 'blog',
|
|
729
|
-
SEARCH: 'search',
|
|
730
|
-
BLOGS: 'blogs'
|
|
731
|
-
};
|
|
732
700
|
/**
|
|
733
701
|
*
|
|
734
702
|
* @export
|
|
@@ -3132,7 +3100,7 @@ const PageApiAxiosParamCreator = function (configuration) {
|
|
|
3132
3100
|
},
|
|
3133
3101
|
/**
|
|
3134
3102
|
*
|
|
3135
|
-
* @param {
|
|
3103
|
+
* @param {string} type
|
|
3136
3104
|
* @param {string} [companyId]
|
|
3137
3105
|
* @param {string} [domain]
|
|
3138
3106
|
* @param {string} [template]
|
|
@@ -3182,7 +3150,7 @@ const PageApiAxiosParamCreator = function (configuration) {
|
|
|
3182
3150
|
* @param {string} [sort]
|
|
3183
3151
|
* @param {string} [companyId]
|
|
3184
3152
|
* @param {string} [domain]
|
|
3185
|
-
* @param {
|
|
3153
|
+
* @param {string} [type]
|
|
3186
3154
|
* @param {ContentStatusEnum} [status]
|
|
3187
3155
|
* @param {*} [options] Override http request option.
|
|
3188
3156
|
* @throws {RequiredError}
|
|
@@ -3272,7 +3240,7 @@ const PageApiFp = function (configuration) {
|
|
|
3272
3240
|
},
|
|
3273
3241
|
/**
|
|
3274
3242
|
*
|
|
3275
|
-
* @param {
|
|
3243
|
+
* @param {string} type
|
|
3276
3244
|
* @param {string} [companyId]
|
|
3277
3245
|
* @param {string} [domain]
|
|
3278
3246
|
* @param {string} [template]
|
|
@@ -3297,7 +3265,7 @@ const PageApiFp = function (configuration) {
|
|
|
3297
3265
|
* @param {string} [sort]
|
|
3298
3266
|
* @param {string} [companyId]
|
|
3299
3267
|
* @param {string} [domain]
|
|
3300
|
-
* @param {
|
|
3268
|
+
* @param {string} [type]
|
|
3301
3269
|
* @param {ContentStatusEnum} [status]
|
|
3302
3270
|
* @param {*} [options] Override http request option.
|
|
3303
3271
|
* @throws {RequiredError}
|
package/dist/api/api.mjs
CHANGED
|
@@ -591,21 +591,6 @@ export const OrderStatusEnum = {
|
|
|
591
591
|
CANCELLED: 'cancelled',
|
|
592
592
|
CREATED: 'created'
|
|
593
593
|
};
|
|
594
|
-
/**
|
|
595
|
-
*
|
|
596
|
-
* @export
|
|
597
|
-
* @enum {string}
|
|
598
|
-
*/
|
|
599
|
-
export const PageTypeEnum = {
|
|
600
|
-
BLOG: 'blog',
|
|
601
|
-
PAGE: 'page',
|
|
602
|
-
HOME: 'home',
|
|
603
|
-
CART: 'cart',
|
|
604
|
-
CHECKOUT: 'checkout',
|
|
605
|
-
SEARCH: 'search',
|
|
606
|
-
NOT_FOUND: 'not-found',
|
|
607
|
-
BLOGS: 'blogs'
|
|
608
|
-
};
|
|
609
594
|
/**
|
|
610
595
|
*
|
|
611
596
|
* @export
|
|
@@ -701,23 +686,6 @@ export const SitemapTypeEnum = {
|
|
|
701
686
|
COLLECTIONS: 'collections',
|
|
702
687
|
BLOG: 'blog'
|
|
703
688
|
};
|
|
704
|
-
/**
|
|
705
|
-
*
|
|
706
|
-
* @export
|
|
707
|
-
* @enum {string}
|
|
708
|
-
*/
|
|
709
|
-
export const TemplateTypeEnum = {
|
|
710
|
-
PRODUCT: 'product',
|
|
711
|
-
PAGE: 'page',
|
|
712
|
-
COLLECTION: 'collection',
|
|
713
|
-
HOME: 'home',
|
|
714
|
-
CART: 'cart',
|
|
715
|
-
CHECKOUT: 'checkout',
|
|
716
|
-
NOT_FOUND: 'not-found',
|
|
717
|
-
BLOG: 'blog',
|
|
718
|
-
SEARCH: 'search',
|
|
719
|
-
BLOGS: 'blogs'
|
|
720
|
-
};
|
|
721
689
|
/**
|
|
722
690
|
*
|
|
723
691
|
* @export
|
|
@@ -3093,7 +3061,7 @@ export const PageApiAxiosParamCreator = function (configuration) {
|
|
|
3093
3061
|
},
|
|
3094
3062
|
/**
|
|
3095
3063
|
*
|
|
3096
|
-
* @param {
|
|
3064
|
+
* @param {string} type
|
|
3097
3065
|
* @param {string} [companyId]
|
|
3098
3066
|
* @param {string} [domain]
|
|
3099
3067
|
* @param {string} [template]
|
|
@@ -3143,7 +3111,7 @@ export const PageApiAxiosParamCreator = function (configuration) {
|
|
|
3143
3111
|
* @param {string} [sort]
|
|
3144
3112
|
* @param {string} [companyId]
|
|
3145
3113
|
* @param {string} [domain]
|
|
3146
|
-
* @param {
|
|
3114
|
+
* @param {string} [type]
|
|
3147
3115
|
* @param {ContentStatusEnum} [status]
|
|
3148
3116
|
* @param {*} [options] Override http request option.
|
|
3149
3117
|
* @throws {RequiredError}
|
|
@@ -3232,7 +3200,7 @@ export const PageApiFp = function (configuration) {
|
|
|
3232
3200
|
},
|
|
3233
3201
|
/**
|
|
3234
3202
|
*
|
|
3235
|
-
* @param {
|
|
3203
|
+
* @param {string} type
|
|
3236
3204
|
* @param {string} [companyId]
|
|
3237
3205
|
* @param {string} [domain]
|
|
3238
3206
|
* @param {string} [template]
|
|
@@ -3257,7 +3225,7 @@ export const PageApiFp = function (configuration) {
|
|
|
3257
3225
|
* @param {string} [sort]
|
|
3258
3226
|
* @param {string} [companyId]
|
|
3259
3227
|
* @param {string} [domain]
|
|
3260
|
-
* @param {
|
|
3228
|
+
* @param {string} [type]
|
|
3261
3229
|
* @param {ContentStatusEnum} [status]
|
|
3262
3230
|
* @param {*} [options] Override http request option.
|
|
3263
3231
|
* @throws {RequiredError}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api-client",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.15",
|
|
4
4
|
"description": "api-client-sdk",
|
|
5
5
|
"author": "Muhammet KÖKLÜ <105980019+byhipernova@users.noreply.github.com>",
|
|
6
6
|
"homepage": "https://github.com/infisale/infisale-client#readme",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"bugs": {
|
|
38
38
|
"url": "https://github.com/infisale/infisale-client/issues"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "ed051aa0c884e89aaa0a6754942f6850a01408a1"
|
|
41
41
|
}
|