@infisale-client/api-client 1.3.12 → 1.3.14
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 +92 -0
- package/dist/api/api.js +113 -1
- package/dist/api/api.mjs +108 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -14985,6 +14985,98 @@ export declare class SitemapApi extends BaseAPI {
|
|
|
14985
14985
|
*/
|
|
14986
14986
|
getSitemaps(requestParameters: SitemapApiGetSitemapsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ISitemapsResponse, any>>;
|
|
14987
14987
|
}
|
|
14988
|
+
/**
|
|
14989
|
+
* UniquePageApi - axios parameter creator
|
|
14990
|
+
* @export
|
|
14991
|
+
*/
|
|
14992
|
+
export declare const UniquePageApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
14993
|
+
/**
|
|
14994
|
+
*
|
|
14995
|
+
* @param {string} type
|
|
14996
|
+
* @param {string} [companyId]
|
|
14997
|
+
* @param {string} [domain]
|
|
14998
|
+
* @param {string} [template]
|
|
14999
|
+
* @param {*} [options] Override http request option.
|
|
15000
|
+
* @throws {RequiredError}
|
|
15001
|
+
*/
|
|
15002
|
+
getUniquePageByType: (type: string, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15003
|
+
};
|
|
15004
|
+
/**
|
|
15005
|
+
* UniquePageApi - functional programming interface
|
|
15006
|
+
* @export
|
|
15007
|
+
*/
|
|
15008
|
+
export declare const UniquePageApiFp: (configuration?: Configuration) => {
|
|
15009
|
+
/**
|
|
15010
|
+
*
|
|
15011
|
+
* @param {string} type
|
|
15012
|
+
* @param {string} [companyId]
|
|
15013
|
+
* @param {string} [domain]
|
|
15014
|
+
* @param {string} [template]
|
|
15015
|
+
* @param {*} [options] Override http request option.
|
|
15016
|
+
* @throws {RequiredError}
|
|
15017
|
+
*/
|
|
15018
|
+
getUniquePageByType(type: string, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUniquePageResponse>>;
|
|
15019
|
+
};
|
|
15020
|
+
/**
|
|
15021
|
+
* UniquePageApi - factory interface
|
|
15022
|
+
* @export
|
|
15023
|
+
*/
|
|
15024
|
+
export declare const UniquePageApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
15025
|
+
/**
|
|
15026
|
+
*
|
|
15027
|
+
* @param {UniquePageApiGetUniquePageByTypeRequest} requestParameters Request parameters.
|
|
15028
|
+
* @param {*} [options] Override http request option.
|
|
15029
|
+
* @throws {RequiredError}
|
|
15030
|
+
*/
|
|
15031
|
+
getUniquePageByType(requestParameters: UniquePageApiGetUniquePageByTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<IUniquePageResponse>;
|
|
15032
|
+
};
|
|
15033
|
+
/**
|
|
15034
|
+
* Request parameters for getUniquePageByType operation in UniquePageApi.
|
|
15035
|
+
* @export
|
|
15036
|
+
* @interface UniquePageApiGetUniquePageByTypeRequest
|
|
15037
|
+
*/
|
|
15038
|
+
export interface UniquePageApiGetUniquePageByTypeRequest {
|
|
15039
|
+
/**
|
|
15040
|
+
*
|
|
15041
|
+
* @type {string}
|
|
15042
|
+
* @memberof UniquePageApiGetUniquePageByType
|
|
15043
|
+
*/
|
|
15044
|
+
readonly type: string;
|
|
15045
|
+
/**
|
|
15046
|
+
*
|
|
15047
|
+
* @type {string}
|
|
15048
|
+
* @memberof UniquePageApiGetUniquePageByType
|
|
15049
|
+
*/
|
|
15050
|
+
readonly companyId?: string;
|
|
15051
|
+
/**
|
|
15052
|
+
*
|
|
15053
|
+
* @type {string}
|
|
15054
|
+
* @memberof UniquePageApiGetUniquePageByType
|
|
15055
|
+
*/
|
|
15056
|
+
readonly domain?: string;
|
|
15057
|
+
/**
|
|
15058
|
+
*
|
|
15059
|
+
* @type {string}
|
|
15060
|
+
* @memberof UniquePageApiGetUniquePageByType
|
|
15061
|
+
*/
|
|
15062
|
+
readonly template?: string;
|
|
15063
|
+
}
|
|
15064
|
+
/**
|
|
15065
|
+
* UniquePageApi - object-oriented interface
|
|
15066
|
+
* @export
|
|
15067
|
+
* @class UniquePageApi
|
|
15068
|
+
* @extends {BaseAPI}
|
|
15069
|
+
*/
|
|
15070
|
+
export declare class UniquePageApi extends BaseAPI {
|
|
15071
|
+
/**
|
|
15072
|
+
*
|
|
15073
|
+
* @param {UniquePageApiGetUniquePageByTypeRequest} requestParameters Request parameters.
|
|
15074
|
+
* @param {*} [options] Override http request option.
|
|
15075
|
+
* @throws {RequiredError}
|
|
15076
|
+
* @memberof UniquePageApi
|
|
15077
|
+
*/
|
|
15078
|
+
getUniquePageByType(requestParameters: UniquePageApiGetUniquePageByTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IUniquePageResponse, any>>;
|
|
15079
|
+
}
|
|
14988
15080
|
/**
|
|
14989
15081
|
* UserApi - axios parameter creator
|
|
14990
15082
|
* @export
|
package/dist/api/api.js
CHANGED
|
@@ -18,7 +18,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
19
|
exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentStatusEnum = exports.PaymentMethodEnum = 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.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
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.TemplateTypeEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = void 0;
|
|
21
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = 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 = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = void 0;
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
23
|
// Some imports not used depending on template conditions
|
|
24
24
|
// @ts-ignore
|
|
@@ -3910,6 +3910,118 @@ class SitemapApi extends base_1.BaseAPI {
|
|
|
3910
3910
|
}
|
|
3911
3911
|
}
|
|
3912
3912
|
exports.SitemapApi = SitemapApi;
|
|
3913
|
+
/**
|
|
3914
|
+
* UniquePageApi - axios parameter creator
|
|
3915
|
+
* @export
|
|
3916
|
+
*/
|
|
3917
|
+
const UniquePageApiAxiosParamCreator = function (configuration) {
|
|
3918
|
+
return {
|
|
3919
|
+
/**
|
|
3920
|
+
*
|
|
3921
|
+
* @param {string} type
|
|
3922
|
+
* @param {string} [companyId]
|
|
3923
|
+
* @param {string} [domain]
|
|
3924
|
+
* @param {string} [template]
|
|
3925
|
+
* @param {*} [options] Override http request option.
|
|
3926
|
+
* @throws {RequiredError}
|
|
3927
|
+
*/
|
|
3928
|
+
getUniquePageByType: async (type, companyId, domain, template, options = {}) => {
|
|
3929
|
+
// verify required parameter 'type' is not null or undefined
|
|
3930
|
+
(0, common_1.assertParamExists)('getUniquePageByType', 'type', type);
|
|
3931
|
+
const localVarPath = `/api/unique-pages/type/{type}`
|
|
3932
|
+
.replace(`{${"type"}}`, encodeURIComponent(String(type)));
|
|
3933
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3934
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3935
|
+
let baseOptions;
|
|
3936
|
+
if (configuration) {
|
|
3937
|
+
baseOptions = configuration.baseOptions;
|
|
3938
|
+
}
|
|
3939
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
3940
|
+
const localVarHeaderParameter = {};
|
|
3941
|
+
const localVarQueryParameter = {};
|
|
3942
|
+
if (companyId !== undefined) {
|
|
3943
|
+
localVarQueryParameter['companyId'] = companyId;
|
|
3944
|
+
}
|
|
3945
|
+
if (domain !== undefined) {
|
|
3946
|
+
localVarQueryParameter['domain'] = domain;
|
|
3947
|
+
}
|
|
3948
|
+
if (template !== undefined) {
|
|
3949
|
+
localVarQueryParameter['template'] = template;
|
|
3950
|
+
}
|
|
3951
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3952
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3953
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3954
|
+
return {
|
|
3955
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3956
|
+
options: localVarRequestOptions,
|
|
3957
|
+
};
|
|
3958
|
+
},
|
|
3959
|
+
};
|
|
3960
|
+
};
|
|
3961
|
+
exports.UniquePageApiAxiosParamCreator = UniquePageApiAxiosParamCreator;
|
|
3962
|
+
/**
|
|
3963
|
+
* UniquePageApi - functional programming interface
|
|
3964
|
+
* @export
|
|
3965
|
+
*/
|
|
3966
|
+
const UniquePageApiFp = function (configuration) {
|
|
3967
|
+
const localVarAxiosParamCreator = (0, exports.UniquePageApiAxiosParamCreator)(configuration);
|
|
3968
|
+
return {
|
|
3969
|
+
/**
|
|
3970
|
+
*
|
|
3971
|
+
* @param {string} type
|
|
3972
|
+
* @param {string} [companyId]
|
|
3973
|
+
* @param {string} [domain]
|
|
3974
|
+
* @param {string} [template]
|
|
3975
|
+
* @param {*} [options] Override http request option.
|
|
3976
|
+
* @throws {RequiredError}
|
|
3977
|
+
*/
|
|
3978
|
+
async getUniquePageByType(type, companyId, domain, template, options) {
|
|
3979
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePageByType(type, companyId, domain, template, options);
|
|
3980
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3981
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['UniquePageApi.getUniquePageByType']?.[localVarOperationServerIndex]?.url;
|
|
3982
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3983
|
+
},
|
|
3984
|
+
};
|
|
3985
|
+
};
|
|
3986
|
+
exports.UniquePageApiFp = UniquePageApiFp;
|
|
3987
|
+
/**
|
|
3988
|
+
* UniquePageApi - factory interface
|
|
3989
|
+
* @export
|
|
3990
|
+
*/
|
|
3991
|
+
const UniquePageApiFactory = function (configuration, basePath, axios) {
|
|
3992
|
+
const localVarFp = (0, exports.UniquePageApiFp)(configuration);
|
|
3993
|
+
return {
|
|
3994
|
+
/**
|
|
3995
|
+
*
|
|
3996
|
+
* @param {UniquePageApiGetUniquePageByTypeRequest} requestParameters Request parameters.
|
|
3997
|
+
* @param {*} [options] Override http request option.
|
|
3998
|
+
* @throws {RequiredError}
|
|
3999
|
+
*/
|
|
4000
|
+
getUniquePageByType(requestParameters, options) {
|
|
4001
|
+
return localVarFp.getUniquePageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(axios, basePath));
|
|
4002
|
+
},
|
|
4003
|
+
};
|
|
4004
|
+
};
|
|
4005
|
+
exports.UniquePageApiFactory = UniquePageApiFactory;
|
|
4006
|
+
/**
|
|
4007
|
+
* UniquePageApi - object-oriented interface
|
|
4008
|
+
* @export
|
|
4009
|
+
* @class UniquePageApi
|
|
4010
|
+
* @extends {BaseAPI}
|
|
4011
|
+
*/
|
|
4012
|
+
class UniquePageApi extends base_1.BaseAPI {
|
|
4013
|
+
/**
|
|
4014
|
+
*
|
|
4015
|
+
* @param {UniquePageApiGetUniquePageByTypeRequest} requestParameters Request parameters.
|
|
4016
|
+
* @param {*} [options] Override http request option.
|
|
4017
|
+
* @throws {RequiredError}
|
|
4018
|
+
* @memberof UniquePageApi
|
|
4019
|
+
*/
|
|
4020
|
+
getUniquePageByType(requestParameters, options) {
|
|
4021
|
+
return (0, exports.UniquePageApiFp)(this.configuration).getUniquePageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(this.axios, this.basePath));
|
|
4022
|
+
}
|
|
4023
|
+
}
|
|
4024
|
+
exports.UniquePageApi = UniquePageApi;
|
|
3913
4025
|
/**
|
|
3914
4026
|
* UserApi - axios parameter creator
|
|
3915
4027
|
* @export
|
package/dist/api/api.mjs
CHANGED
|
@@ -3859,6 +3859,114 @@ export class SitemapApi extends BaseAPI {
|
|
|
3859
3859
|
return SitemapApiFp(this.configuration).getSitemaps(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
3860
3860
|
}
|
|
3861
3861
|
}
|
|
3862
|
+
/**
|
|
3863
|
+
* UniquePageApi - axios parameter creator
|
|
3864
|
+
* @export
|
|
3865
|
+
*/
|
|
3866
|
+
export const UniquePageApiAxiosParamCreator = function (configuration) {
|
|
3867
|
+
return {
|
|
3868
|
+
/**
|
|
3869
|
+
*
|
|
3870
|
+
* @param {string} type
|
|
3871
|
+
* @param {string} [companyId]
|
|
3872
|
+
* @param {string} [domain]
|
|
3873
|
+
* @param {string} [template]
|
|
3874
|
+
* @param {*} [options] Override http request option.
|
|
3875
|
+
* @throws {RequiredError}
|
|
3876
|
+
*/
|
|
3877
|
+
getUniquePageByType: async (type, companyId, domain, template, options = {}) => {
|
|
3878
|
+
// verify required parameter 'type' is not null or undefined
|
|
3879
|
+
assertParamExists('getUniquePageByType', 'type', type);
|
|
3880
|
+
const localVarPath = `/api/unique-pages/type/{type}`
|
|
3881
|
+
.replace(`{${"type"}}`, encodeURIComponent(String(type)));
|
|
3882
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3883
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3884
|
+
let baseOptions;
|
|
3885
|
+
if (configuration) {
|
|
3886
|
+
baseOptions = configuration.baseOptions;
|
|
3887
|
+
}
|
|
3888
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
3889
|
+
const localVarHeaderParameter = {};
|
|
3890
|
+
const localVarQueryParameter = {};
|
|
3891
|
+
if (companyId !== undefined) {
|
|
3892
|
+
localVarQueryParameter['companyId'] = companyId;
|
|
3893
|
+
}
|
|
3894
|
+
if (domain !== undefined) {
|
|
3895
|
+
localVarQueryParameter['domain'] = domain;
|
|
3896
|
+
}
|
|
3897
|
+
if (template !== undefined) {
|
|
3898
|
+
localVarQueryParameter['template'] = template;
|
|
3899
|
+
}
|
|
3900
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3901
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3902
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3903
|
+
return {
|
|
3904
|
+
url: toPathString(localVarUrlObj),
|
|
3905
|
+
options: localVarRequestOptions,
|
|
3906
|
+
};
|
|
3907
|
+
},
|
|
3908
|
+
};
|
|
3909
|
+
};
|
|
3910
|
+
/**
|
|
3911
|
+
* UniquePageApi - functional programming interface
|
|
3912
|
+
* @export
|
|
3913
|
+
*/
|
|
3914
|
+
export const UniquePageApiFp = function (configuration) {
|
|
3915
|
+
const localVarAxiosParamCreator = UniquePageApiAxiosParamCreator(configuration);
|
|
3916
|
+
return {
|
|
3917
|
+
/**
|
|
3918
|
+
*
|
|
3919
|
+
* @param {string} type
|
|
3920
|
+
* @param {string} [companyId]
|
|
3921
|
+
* @param {string} [domain]
|
|
3922
|
+
* @param {string} [template]
|
|
3923
|
+
* @param {*} [options] Override http request option.
|
|
3924
|
+
* @throws {RequiredError}
|
|
3925
|
+
*/
|
|
3926
|
+
async getUniquePageByType(type, companyId, domain, template, options) {
|
|
3927
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePageByType(type, companyId, domain, template, options);
|
|
3928
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3929
|
+
const localVarOperationServerBasePath = operationServerMap['UniquePageApi.getUniquePageByType']?.[localVarOperationServerIndex]?.url;
|
|
3930
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3931
|
+
},
|
|
3932
|
+
};
|
|
3933
|
+
};
|
|
3934
|
+
/**
|
|
3935
|
+
* UniquePageApi - factory interface
|
|
3936
|
+
* @export
|
|
3937
|
+
*/
|
|
3938
|
+
export const UniquePageApiFactory = function (configuration, basePath, axios) {
|
|
3939
|
+
const localVarFp = UniquePageApiFp(configuration);
|
|
3940
|
+
return {
|
|
3941
|
+
/**
|
|
3942
|
+
*
|
|
3943
|
+
* @param {UniquePageApiGetUniquePageByTypeRequest} requestParameters Request parameters.
|
|
3944
|
+
* @param {*} [options] Override http request option.
|
|
3945
|
+
* @throws {RequiredError}
|
|
3946
|
+
*/
|
|
3947
|
+
getUniquePageByType(requestParameters, options) {
|
|
3948
|
+
return localVarFp.getUniquePageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(axios, basePath));
|
|
3949
|
+
},
|
|
3950
|
+
};
|
|
3951
|
+
};
|
|
3952
|
+
/**
|
|
3953
|
+
* UniquePageApi - object-oriented interface
|
|
3954
|
+
* @export
|
|
3955
|
+
* @class UniquePageApi
|
|
3956
|
+
* @extends {BaseAPI}
|
|
3957
|
+
*/
|
|
3958
|
+
export class UniquePageApi extends BaseAPI {
|
|
3959
|
+
/**
|
|
3960
|
+
*
|
|
3961
|
+
* @param {UniquePageApiGetUniquePageByTypeRequest} requestParameters Request parameters.
|
|
3962
|
+
* @param {*} [options] Override http request option.
|
|
3963
|
+
* @throws {RequiredError}
|
|
3964
|
+
* @memberof UniquePageApi
|
|
3965
|
+
*/
|
|
3966
|
+
getUniquePageByType(requestParameters, options) {
|
|
3967
|
+
return UniquePageApiFp(this.configuration).getUniquePageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(this.axios, this.basePath));
|
|
3968
|
+
}
|
|
3969
|
+
}
|
|
3862
3970
|
/**
|
|
3863
3971
|
* UserApi - axios parameter creator
|
|
3864
3972
|
* @export
|
package/dist/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ interface IApiClient {
|
|
|
13
13
|
SitemapApi: doc.SitemapApi;
|
|
14
14
|
BasketApi: doc.BasketApi;
|
|
15
15
|
OrderApi: doc.OrderApi;
|
|
16
|
+
UniquePageApi: doc.UniquePageApi;
|
|
16
17
|
interceptors: {
|
|
17
18
|
request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
|
|
18
19
|
response: AxiosInterceptorManager<AxiosResponse>;
|
|
@@ -35,6 +36,7 @@ export declare class ApiClient implements IApiClient {
|
|
|
35
36
|
SitemapApi: doc.SitemapApi;
|
|
36
37
|
BasketApi: doc.BasketApi;
|
|
37
38
|
OrderApi: doc.OrderApi;
|
|
39
|
+
UniquePageApi: doc.UniquePageApi;
|
|
38
40
|
interceptors: {
|
|
39
41
|
request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
|
|
40
42
|
response: AxiosInterceptorManager<AxiosResponse>;
|
package/dist/index.js
CHANGED
|
@@ -67,6 +67,7 @@ class ApiClient {
|
|
|
67
67
|
this.SitemapApi = new doc.SitemapApi(undefined, this.baseURL, this.api);
|
|
68
68
|
this.BasketApi = new doc.BasketApi(undefined, this.baseURL, this.api);
|
|
69
69
|
this.OrderApi = new doc.OrderApi(undefined, this.baseURL, this.api);
|
|
70
|
+
this.UniquePageApi = new doc.UniquePageApi(undefined, this.baseURL, this.api);
|
|
70
71
|
this.interceptors = {
|
|
71
72
|
request: this.api.interceptors.request,
|
|
72
73
|
response: this.api.interceptors.response,
|
package/dist/index.mjs
CHANGED
|
@@ -25,6 +25,7 @@ export class ApiClient {
|
|
|
25
25
|
this.SitemapApi = new doc.SitemapApi(undefined, this.baseURL, this.api);
|
|
26
26
|
this.BasketApi = new doc.BasketApi(undefined, this.baseURL, this.api);
|
|
27
27
|
this.OrderApi = new doc.OrderApi(undefined, this.baseURL, this.api);
|
|
28
|
+
this.UniquePageApi = new doc.UniquePageApi(undefined, this.baseURL, this.api);
|
|
28
29
|
this.interceptors = {
|
|
29
30
|
request: this.api.interceptors.request,
|
|
30
31
|
response: this.api.interceptors.response,
|
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.14",
|
|
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": "8e51b1b93bf08404bd818ca52c09bb067646a373"
|
|
41
41
|
}
|