@infisale-client/api 1.3.13 → 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 +26 -2
- package/dist/api/api.js +20 -5
- package/dist/api/api.mjs +20 -5
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -21325,10 +21325,13 @@ export declare const UniquePageApiAxiosParamCreator: (configuration?: Configurat
|
|
|
21325
21325
|
/**
|
|
21326
21326
|
*
|
|
21327
21327
|
* @param {string} type
|
|
21328
|
+
* @param {string} [companyId]
|
|
21329
|
+
* @param {string} [domain]
|
|
21330
|
+
* @param {string} [template]
|
|
21328
21331
|
* @param {*} [options] Override http request option.
|
|
21329
21332
|
* @throws {RequiredError}
|
|
21330
21333
|
*/
|
|
21331
|
-
getUniquePageByType: (type: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21334
|
+
getUniquePageByType: (type: string, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21332
21335
|
/**
|
|
21333
21336
|
*
|
|
21334
21337
|
* @param {number} [page]
|
|
@@ -21369,10 +21372,13 @@ export declare const UniquePageApiFp: (configuration?: Configuration) => {
|
|
|
21369
21372
|
/**
|
|
21370
21373
|
*
|
|
21371
21374
|
* @param {string} type
|
|
21375
|
+
* @param {string} [companyId]
|
|
21376
|
+
* @param {string} [domain]
|
|
21377
|
+
* @param {string} [template]
|
|
21372
21378
|
* @param {*} [options] Override http request option.
|
|
21373
21379
|
* @throws {RequiredError}
|
|
21374
21380
|
*/
|
|
21375
|
-
getUniquePageByType(type: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUniquePageResponse>>;
|
|
21381
|
+
getUniquePageByType(type: string, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUniquePageResponse>>;
|
|
21376
21382
|
/**
|
|
21377
21383
|
*
|
|
21378
21384
|
* @param {number} [page]
|
|
@@ -21457,6 +21463,24 @@ export interface UniquePageApiGetUniquePageByTypeRequest {
|
|
|
21457
21463
|
* @memberof UniquePageApiGetUniquePageByType
|
|
21458
21464
|
*/
|
|
21459
21465
|
readonly type: string;
|
|
21466
|
+
/**
|
|
21467
|
+
*
|
|
21468
|
+
* @type {string}
|
|
21469
|
+
* @memberof UniquePageApiGetUniquePageByType
|
|
21470
|
+
*/
|
|
21471
|
+
readonly companyId?: string;
|
|
21472
|
+
/**
|
|
21473
|
+
*
|
|
21474
|
+
* @type {string}
|
|
21475
|
+
* @memberof UniquePageApiGetUniquePageByType
|
|
21476
|
+
*/
|
|
21477
|
+
readonly domain?: string;
|
|
21478
|
+
/**
|
|
21479
|
+
*
|
|
21480
|
+
* @type {string}
|
|
21481
|
+
* @memberof UniquePageApiGetUniquePageByType
|
|
21482
|
+
*/
|
|
21483
|
+
readonly template?: string;
|
|
21460
21484
|
}
|
|
21461
21485
|
/**
|
|
21462
21486
|
* Request parameters for getUniquePages operation in UniquePageApi.
|
package/dist/api/api.js
CHANGED
|
@@ -11898,10 +11898,13 @@ const UniquePageApiAxiosParamCreator = function (configuration) {
|
|
|
11898
11898
|
/**
|
|
11899
11899
|
*
|
|
11900
11900
|
* @param {string} type
|
|
11901
|
+
* @param {string} [companyId]
|
|
11902
|
+
* @param {string} [domain]
|
|
11903
|
+
* @param {string} [template]
|
|
11901
11904
|
* @param {*} [options] Override http request option.
|
|
11902
11905
|
* @throws {RequiredError}
|
|
11903
11906
|
*/
|
|
11904
|
-
getUniquePageByType: async (type, options = {}) => {
|
|
11907
|
+
getUniquePageByType: async (type, companyId, domain, template, options = {}) => {
|
|
11905
11908
|
// verify required parameter 'type' is not null or undefined
|
|
11906
11909
|
(0, common_1.assertParamExists)('getUniquePageByType', 'type', type);
|
|
11907
11910
|
const localVarPath = `/api/unique-pages/type/{type}`
|
|
@@ -11915,6 +11918,15 @@ const UniquePageApiAxiosParamCreator = function (configuration) {
|
|
|
11915
11918
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
11916
11919
|
const localVarHeaderParameter = {};
|
|
11917
11920
|
const localVarQueryParameter = {};
|
|
11921
|
+
if (companyId !== undefined) {
|
|
11922
|
+
localVarQueryParameter['companyId'] = companyId;
|
|
11923
|
+
}
|
|
11924
|
+
if (domain !== undefined) {
|
|
11925
|
+
localVarQueryParameter['domain'] = domain;
|
|
11926
|
+
}
|
|
11927
|
+
if (template !== undefined) {
|
|
11928
|
+
localVarQueryParameter['template'] = template;
|
|
11929
|
+
}
|
|
11918
11930
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11919
11931
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11920
11932
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -12049,11 +12061,14 @@ const UniquePageApiFp = function (configuration) {
|
|
|
12049
12061
|
/**
|
|
12050
12062
|
*
|
|
12051
12063
|
* @param {string} type
|
|
12064
|
+
* @param {string} [companyId]
|
|
12065
|
+
* @param {string} [domain]
|
|
12066
|
+
* @param {string} [template]
|
|
12052
12067
|
* @param {*} [options] Override http request option.
|
|
12053
12068
|
* @throws {RequiredError}
|
|
12054
12069
|
*/
|
|
12055
|
-
async getUniquePageByType(type, options) {
|
|
12056
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePageByType(type, options);
|
|
12070
|
+
async getUniquePageByType(type, companyId, domain, template, options) {
|
|
12071
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePageByType(type, companyId, domain, template, options);
|
|
12057
12072
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12058
12073
|
const localVarOperationServerBasePath = base_1.operationServerMap['UniquePageApi.getUniquePageByType']?.[localVarOperationServerIndex]?.url;
|
|
12059
12074
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12118,7 +12133,7 @@ const UniquePageApiFactory = function (configuration, basePath, axios) {
|
|
|
12118
12133
|
* @throws {RequiredError}
|
|
12119
12134
|
*/
|
|
12120
12135
|
getUniquePageByType(requestParameters, options) {
|
|
12121
|
-
return localVarFp.getUniquePageByType(requestParameters.type, options).then((request) => request(axios, basePath));
|
|
12136
|
+
return localVarFp.getUniquePageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(axios, basePath));
|
|
12122
12137
|
},
|
|
12123
12138
|
/**
|
|
12124
12139
|
*
|
|
@@ -12166,7 +12181,7 @@ class UniquePageApi extends base_1.BaseAPI {
|
|
|
12166
12181
|
* @memberof UniquePageApi
|
|
12167
12182
|
*/
|
|
12168
12183
|
getUniquePageByType(requestParameters, options) {
|
|
12169
|
-
return (0, exports.UniquePageApiFp)(this.configuration).getUniquePageByType(requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
12184
|
+
return (0, exports.UniquePageApiFp)(this.configuration).getUniquePageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(this.axios, this.basePath));
|
|
12170
12185
|
}
|
|
12171
12186
|
/**
|
|
12172
12187
|
*
|
package/dist/api/api.mjs
CHANGED
|
@@ -11814,10 +11814,13 @@ export const UniquePageApiAxiosParamCreator = function (configuration) {
|
|
|
11814
11814
|
/**
|
|
11815
11815
|
*
|
|
11816
11816
|
* @param {string} type
|
|
11817
|
+
* @param {string} [companyId]
|
|
11818
|
+
* @param {string} [domain]
|
|
11819
|
+
* @param {string} [template]
|
|
11817
11820
|
* @param {*} [options] Override http request option.
|
|
11818
11821
|
* @throws {RequiredError}
|
|
11819
11822
|
*/
|
|
11820
|
-
getUniquePageByType: async (type, options = {}) => {
|
|
11823
|
+
getUniquePageByType: async (type, companyId, domain, template, options = {}) => {
|
|
11821
11824
|
// verify required parameter 'type' is not null or undefined
|
|
11822
11825
|
assertParamExists('getUniquePageByType', 'type', type);
|
|
11823
11826
|
const localVarPath = `/api/unique-pages/type/{type}`
|
|
@@ -11831,6 +11834,15 @@ export const UniquePageApiAxiosParamCreator = function (configuration) {
|
|
|
11831
11834
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
11832
11835
|
const localVarHeaderParameter = {};
|
|
11833
11836
|
const localVarQueryParameter = {};
|
|
11837
|
+
if (companyId !== undefined) {
|
|
11838
|
+
localVarQueryParameter['companyId'] = companyId;
|
|
11839
|
+
}
|
|
11840
|
+
if (domain !== undefined) {
|
|
11841
|
+
localVarQueryParameter['domain'] = domain;
|
|
11842
|
+
}
|
|
11843
|
+
if (template !== undefined) {
|
|
11844
|
+
localVarQueryParameter['template'] = template;
|
|
11845
|
+
}
|
|
11834
11846
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11835
11847
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11836
11848
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -11964,11 +11976,14 @@ export const UniquePageApiFp = function (configuration) {
|
|
|
11964
11976
|
/**
|
|
11965
11977
|
*
|
|
11966
11978
|
* @param {string} type
|
|
11979
|
+
* @param {string} [companyId]
|
|
11980
|
+
* @param {string} [domain]
|
|
11981
|
+
* @param {string} [template]
|
|
11967
11982
|
* @param {*} [options] Override http request option.
|
|
11968
11983
|
* @throws {RequiredError}
|
|
11969
11984
|
*/
|
|
11970
|
-
async getUniquePageByType(type, options) {
|
|
11971
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePageByType(type, options);
|
|
11985
|
+
async getUniquePageByType(type, companyId, domain, template, options) {
|
|
11986
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePageByType(type, companyId, domain, template, options);
|
|
11972
11987
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11973
11988
|
const localVarOperationServerBasePath = operationServerMap['UniquePageApi.getUniquePageByType']?.[localVarOperationServerIndex]?.url;
|
|
11974
11989
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12032,7 +12047,7 @@ export const UniquePageApiFactory = function (configuration, basePath, axios) {
|
|
|
12032
12047
|
* @throws {RequiredError}
|
|
12033
12048
|
*/
|
|
12034
12049
|
getUniquePageByType(requestParameters, options) {
|
|
12035
|
-
return localVarFp.getUniquePageByType(requestParameters.type, options).then((request) => request(axios, basePath));
|
|
12050
|
+
return localVarFp.getUniquePageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(axios, basePath));
|
|
12036
12051
|
},
|
|
12037
12052
|
/**
|
|
12038
12053
|
*
|
|
@@ -12079,7 +12094,7 @@ export class UniquePageApi extends BaseAPI {
|
|
|
12079
12094
|
* @memberof UniquePageApi
|
|
12080
12095
|
*/
|
|
12081
12096
|
getUniquePageByType(requestParameters, options) {
|
|
12082
|
-
return UniquePageApiFp(this.configuration).getUniquePageByType(requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
12097
|
+
return UniquePageApiFp(this.configuration).getUniquePageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(this.axios, this.basePath));
|
|
12083
12098
|
}
|
|
12084
12099
|
/**
|
|
12085
12100
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.14",
|
|
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": "8e51b1b93bf08404bd818ca52c09bb067646a373"
|
|
41
41
|
}
|