@infisale-client/api 1.3.10 → 1.3.12
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 +672 -78
- package/dist/api/api.js +354 -70
- package/dist/api/api.mjs +346 -66
- package/package.json +2 -2
package/dist/api/api.mjs
CHANGED
|
@@ -475,6 +475,10 @@ export const IProductCollectionQueryParamsSortEnum = {
|
|
|
475
475
|
RATING: 'rating',
|
|
476
476
|
REVIEW_COUNT: 'reviewCount'
|
|
477
477
|
};
|
|
478
|
+
export const IUniqueCollectionQueryParamsDateFieldEnum = {
|
|
479
|
+
CREATED_AT: 'createdAt',
|
|
480
|
+
UPDATED_AT: 'updatedAt'
|
|
481
|
+
};
|
|
478
482
|
export const IUserCollectionQueryParamsDateFieldEnum = {
|
|
479
483
|
CREATED_AT: 'createdAt',
|
|
480
484
|
UPDATED_AT: 'updatedAt'
|
|
@@ -9333,36 +9337,6 @@ export const PageApiAxiosParamCreator = function (configuration) {
|
|
|
9333
9337
|
options: localVarRequestOptions,
|
|
9334
9338
|
};
|
|
9335
9339
|
},
|
|
9336
|
-
/**
|
|
9337
|
-
*
|
|
9338
|
-
* @param {string} companyId
|
|
9339
|
-
* @param {*} [options] Override http request option.
|
|
9340
|
-
* @throws {RequiredError}
|
|
9341
|
-
*/
|
|
9342
|
-
getUniquePages: async (companyId, options = {}) => {
|
|
9343
|
-
// verify required parameter 'companyId' is not null or undefined
|
|
9344
|
-
assertParamExists('getUniquePages', 'companyId', companyId);
|
|
9345
|
-
const localVarPath = `/api/pages/get/uniques`;
|
|
9346
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9347
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9348
|
-
let baseOptions;
|
|
9349
|
-
if (configuration) {
|
|
9350
|
-
baseOptions = configuration.baseOptions;
|
|
9351
|
-
}
|
|
9352
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
9353
|
-
const localVarHeaderParameter = {};
|
|
9354
|
-
const localVarQueryParameter = {};
|
|
9355
|
-
if (companyId !== undefined) {
|
|
9356
|
-
localVarQueryParameter['companyId'] = companyId;
|
|
9357
|
-
}
|
|
9358
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9359
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9360
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9361
|
-
return {
|
|
9362
|
-
url: toPathString(localVarUrlObj),
|
|
9363
|
-
options: localVarRequestOptions,
|
|
9364
|
-
};
|
|
9365
|
-
},
|
|
9366
9340
|
/**
|
|
9367
9341
|
*
|
|
9368
9342
|
* @param {string} id
|
|
@@ -9509,18 +9483,6 @@ export const PageApiFp = function (configuration) {
|
|
|
9509
9483
|
const localVarOperationServerBasePath = operationServerMap['PageApi.getPages']?.[localVarOperationServerIndex]?.url;
|
|
9510
9484
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9511
9485
|
},
|
|
9512
|
-
/**
|
|
9513
|
-
*
|
|
9514
|
-
* @param {string} companyId
|
|
9515
|
-
* @param {*} [options] Override http request option.
|
|
9516
|
-
* @throws {RequiredError}
|
|
9517
|
-
*/
|
|
9518
|
-
async getUniquePages(companyId, options) {
|
|
9519
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePages(companyId, options);
|
|
9520
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9521
|
-
const localVarOperationServerBasePath = operationServerMap['PageApi.getUniquePages']?.[localVarOperationServerIndex]?.url;
|
|
9522
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9523
|
-
},
|
|
9524
9486
|
/**
|
|
9525
9487
|
*
|
|
9526
9488
|
* @param {string} id
|
|
@@ -9606,15 +9568,6 @@ export const PageApiFactory = function (configuration, basePath, axios) {
|
|
|
9606
9568
|
getPages(requestParameters = {}, options) {
|
|
9607
9569
|
return localVarFp.getPages(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.companyId, requestParameters.domain, requestParameters.type, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
9608
9570
|
},
|
|
9609
|
-
/**
|
|
9610
|
-
*
|
|
9611
|
-
* @param {PageApiGetUniquePagesRequest} requestParameters Request parameters.
|
|
9612
|
-
* @param {*} [options] Override http request option.
|
|
9613
|
-
* @throws {RequiredError}
|
|
9614
|
-
*/
|
|
9615
|
-
getUniquePages(requestParameters, options) {
|
|
9616
|
-
return localVarFp.getUniquePages(requestParameters.companyId, options).then((request) => request(axios, basePath));
|
|
9617
|
-
},
|
|
9618
9571
|
/**
|
|
9619
9572
|
*
|
|
9620
9573
|
* @param {PageApiUpdatePageRequest} requestParameters Request parameters.
|
|
@@ -9703,16 +9656,6 @@ export class PageApi extends BaseAPI {
|
|
|
9703
9656
|
getPages(requestParameters = {}, options) {
|
|
9704
9657
|
return PageApiFp(this.configuration).getPages(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.companyId, requestParameters.domain, requestParameters.type, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
9705
9658
|
}
|
|
9706
|
-
/**
|
|
9707
|
-
*
|
|
9708
|
-
* @param {PageApiGetUniquePagesRequest} requestParameters Request parameters.
|
|
9709
|
-
* @param {*} [options] Override http request option.
|
|
9710
|
-
* @throws {RequiredError}
|
|
9711
|
-
* @memberof PageApi
|
|
9712
|
-
*/
|
|
9713
|
-
getUniquePages(requestParameters, options) {
|
|
9714
|
-
return PageApiFp(this.configuration).getUniquePages(requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
|
|
9715
|
-
}
|
|
9716
9659
|
/**
|
|
9717
9660
|
*
|
|
9718
9661
|
* @param {PageApiUpdatePageRequest} requestParameters Request parameters.
|
|
@@ -11085,10 +11028,11 @@ export const TemplateApiAxiosParamCreator = function (configuration) {
|
|
|
11085
11028
|
* @param {TemplateTypeEnum} [type]
|
|
11086
11029
|
* @param {string} [search]
|
|
11087
11030
|
* @param {string} [theme]
|
|
11031
|
+
* @param {boolean} [unique]
|
|
11088
11032
|
* @param {*} [options] Override http request option.
|
|
11089
11033
|
* @throws {RequiredError}
|
|
11090
11034
|
*/
|
|
11091
|
-
getTemplates: async (companyId, type, search, theme, options = {}) => {
|
|
11035
|
+
getTemplates: async (companyId, type, search, theme, unique, options = {}) => {
|
|
11092
11036
|
// verify required parameter 'companyId' is not null or undefined
|
|
11093
11037
|
assertParamExists('getTemplates', 'companyId', companyId);
|
|
11094
11038
|
const localVarPath = `/api/templates`;
|
|
@@ -11113,6 +11057,9 @@ export const TemplateApiAxiosParamCreator = function (configuration) {
|
|
|
11113
11057
|
if (theme !== undefined) {
|
|
11114
11058
|
localVarQueryParameter['theme'] = theme;
|
|
11115
11059
|
}
|
|
11060
|
+
if (unique !== undefined) {
|
|
11061
|
+
localVarQueryParameter['unique'] = unique;
|
|
11062
|
+
}
|
|
11116
11063
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11117
11064
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11118
11065
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -11193,11 +11140,12 @@ export const TemplateApiFp = function (configuration) {
|
|
|
11193
11140
|
* @param {TemplateTypeEnum} [type]
|
|
11194
11141
|
* @param {string} [search]
|
|
11195
11142
|
* @param {string} [theme]
|
|
11143
|
+
* @param {boolean} [unique]
|
|
11196
11144
|
* @param {*} [options] Override http request option.
|
|
11197
11145
|
* @throws {RequiredError}
|
|
11198
11146
|
*/
|
|
11199
|
-
async getTemplates(companyId, type, search, theme, options) {
|
|
11200
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getTemplates(companyId, type, search, theme, options);
|
|
11147
|
+
async getTemplates(companyId, type, search, theme, unique, options) {
|
|
11148
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTemplates(companyId, type, search, theme, unique, options);
|
|
11201
11149
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11202
11150
|
const localVarOperationServerBasePath = operationServerMap['TemplateApi.getTemplates']?.[localVarOperationServerIndex]?.url;
|
|
11203
11151
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -11249,7 +11197,7 @@ export const TemplateApiFactory = function (configuration, basePath, axios) {
|
|
|
11249
11197
|
* @throws {RequiredError}
|
|
11250
11198
|
*/
|
|
11251
11199
|
getTemplates(requestParameters, options) {
|
|
11252
|
-
return localVarFp.getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, requestParameters.theme, options).then((request) => request(axios, basePath));
|
|
11200
|
+
return localVarFp.getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, requestParameters.theme, requestParameters.unique, options).then((request) => request(axios, basePath));
|
|
11253
11201
|
},
|
|
11254
11202
|
/**
|
|
11255
11203
|
*
|
|
@@ -11297,7 +11245,7 @@ export class TemplateApi extends BaseAPI {
|
|
|
11297
11245
|
* @memberof TemplateApi
|
|
11298
11246
|
*/
|
|
11299
11247
|
getTemplates(requestParameters, options) {
|
|
11300
|
-
return TemplateApiFp(this.configuration).getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, requestParameters.theme, options).then((request) => request(this.axios, this.basePath));
|
|
11248
|
+
return TemplateApiFp(this.configuration).getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, requestParameters.theme, requestParameters.unique, options).then((request) => request(this.axios, this.basePath));
|
|
11301
11249
|
}
|
|
11302
11250
|
/**
|
|
11303
11251
|
*
|
|
@@ -11829,6 +11777,338 @@ export class ThemeApi extends BaseAPI {
|
|
|
11829
11777
|
return ThemeApiFp(this.configuration).updateThemeFiles(requestParameters.id, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
11830
11778
|
}
|
|
11831
11779
|
}
|
|
11780
|
+
/**
|
|
11781
|
+
* UniquePageApi - axios parameter creator
|
|
11782
|
+
* @export
|
|
11783
|
+
*/
|
|
11784
|
+
export const UniquePageApiAxiosParamCreator = function (configuration) {
|
|
11785
|
+
return {
|
|
11786
|
+
/**
|
|
11787
|
+
*
|
|
11788
|
+
* @param {string} id
|
|
11789
|
+
* @param {*} [options] Override http request option.
|
|
11790
|
+
* @throws {RequiredError}
|
|
11791
|
+
*/
|
|
11792
|
+
getUniquePageById: async (id, options = {}) => {
|
|
11793
|
+
// verify required parameter 'id' is not null or undefined
|
|
11794
|
+
assertParamExists('getUniquePageById', 'id', id);
|
|
11795
|
+
const localVarPath = `/api/unique-pages/{id}`
|
|
11796
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
11797
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11798
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11799
|
+
let baseOptions;
|
|
11800
|
+
if (configuration) {
|
|
11801
|
+
baseOptions = configuration.baseOptions;
|
|
11802
|
+
}
|
|
11803
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
11804
|
+
const localVarHeaderParameter = {};
|
|
11805
|
+
const localVarQueryParameter = {};
|
|
11806
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11807
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11808
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
11809
|
+
return {
|
|
11810
|
+
url: toPathString(localVarUrlObj),
|
|
11811
|
+
options: localVarRequestOptions,
|
|
11812
|
+
};
|
|
11813
|
+
},
|
|
11814
|
+
/**
|
|
11815
|
+
*
|
|
11816
|
+
* @param {string} type
|
|
11817
|
+
* @param {*} [options] Override http request option.
|
|
11818
|
+
* @throws {RequiredError}
|
|
11819
|
+
*/
|
|
11820
|
+
getUniquePageByType: async (type, options = {}) => {
|
|
11821
|
+
// verify required parameter 'type' is not null or undefined
|
|
11822
|
+
assertParamExists('getUniquePageByType', 'type', type);
|
|
11823
|
+
const localVarPath = `/api/unique-pages/type/{type}`
|
|
11824
|
+
.replace(`{${"type"}}`, encodeURIComponent(String(type)));
|
|
11825
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11826
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11827
|
+
let baseOptions;
|
|
11828
|
+
if (configuration) {
|
|
11829
|
+
baseOptions = configuration.baseOptions;
|
|
11830
|
+
}
|
|
11831
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
11832
|
+
const localVarHeaderParameter = {};
|
|
11833
|
+
const localVarQueryParameter = {};
|
|
11834
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11835
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11836
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
11837
|
+
return {
|
|
11838
|
+
url: toPathString(localVarUrlObj),
|
|
11839
|
+
options: localVarRequestOptions,
|
|
11840
|
+
};
|
|
11841
|
+
},
|
|
11842
|
+
/**
|
|
11843
|
+
*
|
|
11844
|
+
* @param {number} [page]
|
|
11845
|
+
* @param {number} [itemsPerPage]
|
|
11846
|
+
* @param {string} [search]
|
|
11847
|
+
* @param {string} [startDate]
|
|
11848
|
+
* @param {string} [endDate]
|
|
11849
|
+
* @param {GetUniquePagesDateFieldEnum} [dateField]
|
|
11850
|
+
* @param {OrderEnum} [order]
|
|
11851
|
+
* @param {string} [sort]
|
|
11852
|
+
* @param {string} [companyId]
|
|
11853
|
+
* @param {string} [domain]
|
|
11854
|
+
* @param {*} [options] Override http request option.
|
|
11855
|
+
* @throws {RequiredError}
|
|
11856
|
+
*/
|
|
11857
|
+
getUniquePages: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, companyId, domain, options = {}) => {
|
|
11858
|
+
const localVarPath = `/api/unique-pages`;
|
|
11859
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11860
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11861
|
+
let baseOptions;
|
|
11862
|
+
if (configuration) {
|
|
11863
|
+
baseOptions = configuration.baseOptions;
|
|
11864
|
+
}
|
|
11865
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
11866
|
+
const localVarHeaderParameter = {};
|
|
11867
|
+
const localVarQueryParameter = {};
|
|
11868
|
+
if (page !== undefined) {
|
|
11869
|
+
localVarQueryParameter['page'] = page;
|
|
11870
|
+
}
|
|
11871
|
+
if (itemsPerPage !== undefined) {
|
|
11872
|
+
localVarQueryParameter['itemsPerPage'] = itemsPerPage;
|
|
11873
|
+
}
|
|
11874
|
+
if (search !== undefined) {
|
|
11875
|
+
localVarQueryParameter['search'] = search;
|
|
11876
|
+
}
|
|
11877
|
+
if (startDate !== undefined) {
|
|
11878
|
+
localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
|
|
11879
|
+
startDate.toISOString() :
|
|
11880
|
+
startDate;
|
|
11881
|
+
}
|
|
11882
|
+
if (endDate !== undefined) {
|
|
11883
|
+
localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
|
|
11884
|
+
endDate.toISOString() :
|
|
11885
|
+
endDate;
|
|
11886
|
+
}
|
|
11887
|
+
if (dateField !== undefined) {
|
|
11888
|
+
localVarQueryParameter['dateField'] = dateField;
|
|
11889
|
+
}
|
|
11890
|
+
if (order !== undefined) {
|
|
11891
|
+
localVarQueryParameter['order'] = order;
|
|
11892
|
+
}
|
|
11893
|
+
if (sort !== undefined) {
|
|
11894
|
+
localVarQueryParameter['sort'] = sort;
|
|
11895
|
+
}
|
|
11896
|
+
if (companyId !== undefined) {
|
|
11897
|
+
localVarQueryParameter['companyId'] = companyId;
|
|
11898
|
+
}
|
|
11899
|
+
if (domain !== undefined) {
|
|
11900
|
+
localVarQueryParameter['domain'] = domain;
|
|
11901
|
+
}
|
|
11902
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11903
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11904
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
11905
|
+
return {
|
|
11906
|
+
url: toPathString(localVarUrlObj),
|
|
11907
|
+
options: localVarRequestOptions,
|
|
11908
|
+
};
|
|
11909
|
+
},
|
|
11910
|
+
/**
|
|
11911
|
+
*
|
|
11912
|
+
* @param {string} id
|
|
11913
|
+
* @param {IUniquePagePatchRequest} iUniquePagePatchRequest
|
|
11914
|
+
* @param {*} [options] Override http request option.
|
|
11915
|
+
* @throws {RequiredError}
|
|
11916
|
+
*/
|
|
11917
|
+
updateUniquePage: async (id, iUniquePagePatchRequest, options = {}) => {
|
|
11918
|
+
// verify required parameter 'id' is not null or undefined
|
|
11919
|
+
assertParamExists('updateUniquePage', 'id', id);
|
|
11920
|
+
// verify required parameter 'iUniquePagePatchRequest' is not null or undefined
|
|
11921
|
+
assertParamExists('updateUniquePage', 'iUniquePagePatchRequest', iUniquePagePatchRequest);
|
|
11922
|
+
const localVarPath = `/api/unique-pages/{id}`
|
|
11923
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
11924
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11925
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11926
|
+
let baseOptions;
|
|
11927
|
+
if (configuration) {
|
|
11928
|
+
baseOptions = configuration.baseOptions;
|
|
11929
|
+
}
|
|
11930
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
11931
|
+
const localVarHeaderParameter = {};
|
|
11932
|
+
const localVarQueryParameter = {};
|
|
11933
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11934
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11935
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11936
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
11937
|
+
localVarRequestOptions.data = serializeDataIfNeeded(iUniquePagePatchRequest, localVarRequestOptions, configuration);
|
|
11938
|
+
return {
|
|
11939
|
+
url: toPathString(localVarUrlObj),
|
|
11940
|
+
options: localVarRequestOptions,
|
|
11941
|
+
};
|
|
11942
|
+
},
|
|
11943
|
+
};
|
|
11944
|
+
};
|
|
11945
|
+
/**
|
|
11946
|
+
* UniquePageApi - functional programming interface
|
|
11947
|
+
* @export
|
|
11948
|
+
*/
|
|
11949
|
+
export const UniquePageApiFp = function (configuration) {
|
|
11950
|
+
const localVarAxiosParamCreator = UniquePageApiAxiosParamCreator(configuration);
|
|
11951
|
+
return {
|
|
11952
|
+
/**
|
|
11953
|
+
*
|
|
11954
|
+
* @param {string} id
|
|
11955
|
+
* @param {*} [options] Override http request option.
|
|
11956
|
+
* @throws {RequiredError}
|
|
11957
|
+
*/
|
|
11958
|
+
async getUniquePageById(id, options) {
|
|
11959
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePageById(id, options);
|
|
11960
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11961
|
+
const localVarOperationServerBasePath = operationServerMap['UniquePageApi.getUniquePageById']?.[localVarOperationServerIndex]?.url;
|
|
11962
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11963
|
+
},
|
|
11964
|
+
/**
|
|
11965
|
+
*
|
|
11966
|
+
* @param {string} type
|
|
11967
|
+
* @param {*} [options] Override http request option.
|
|
11968
|
+
* @throws {RequiredError}
|
|
11969
|
+
*/
|
|
11970
|
+
async getUniquePageByType(type, options) {
|
|
11971
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePageByType(type, options);
|
|
11972
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11973
|
+
const localVarOperationServerBasePath = operationServerMap['UniquePageApi.getUniquePageByType']?.[localVarOperationServerIndex]?.url;
|
|
11974
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11975
|
+
},
|
|
11976
|
+
/**
|
|
11977
|
+
*
|
|
11978
|
+
* @param {number} [page]
|
|
11979
|
+
* @param {number} [itemsPerPage]
|
|
11980
|
+
* @param {string} [search]
|
|
11981
|
+
* @param {string} [startDate]
|
|
11982
|
+
* @param {string} [endDate]
|
|
11983
|
+
* @param {GetUniquePagesDateFieldEnum} [dateField]
|
|
11984
|
+
* @param {OrderEnum} [order]
|
|
11985
|
+
* @param {string} [sort]
|
|
11986
|
+
* @param {string} [companyId]
|
|
11987
|
+
* @param {string} [domain]
|
|
11988
|
+
* @param {*} [options] Override http request option.
|
|
11989
|
+
* @throws {RequiredError}
|
|
11990
|
+
*/
|
|
11991
|
+
async getUniquePages(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, companyId, domain, options) {
|
|
11992
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePages(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, companyId, domain, options);
|
|
11993
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11994
|
+
const localVarOperationServerBasePath = operationServerMap['UniquePageApi.getUniquePages']?.[localVarOperationServerIndex]?.url;
|
|
11995
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11996
|
+
},
|
|
11997
|
+
/**
|
|
11998
|
+
*
|
|
11999
|
+
* @param {string} id
|
|
12000
|
+
* @param {IUniquePagePatchRequest} iUniquePagePatchRequest
|
|
12001
|
+
* @param {*} [options] Override http request option.
|
|
12002
|
+
* @throws {RequiredError}
|
|
12003
|
+
*/
|
|
12004
|
+
async updateUniquePage(id, iUniquePagePatchRequest, options) {
|
|
12005
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUniquePage(id, iUniquePagePatchRequest, options);
|
|
12006
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12007
|
+
const localVarOperationServerBasePath = operationServerMap['UniquePageApi.updateUniquePage']?.[localVarOperationServerIndex]?.url;
|
|
12008
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12009
|
+
},
|
|
12010
|
+
};
|
|
12011
|
+
};
|
|
12012
|
+
/**
|
|
12013
|
+
* UniquePageApi - factory interface
|
|
12014
|
+
* @export
|
|
12015
|
+
*/
|
|
12016
|
+
export const UniquePageApiFactory = function (configuration, basePath, axios) {
|
|
12017
|
+
const localVarFp = UniquePageApiFp(configuration);
|
|
12018
|
+
return {
|
|
12019
|
+
/**
|
|
12020
|
+
*
|
|
12021
|
+
* @param {UniquePageApiGetUniquePageByIdRequest} requestParameters Request parameters.
|
|
12022
|
+
* @param {*} [options] Override http request option.
|
|
12023
|
+
* @throws {RequiredError}
|
|
12024
|
+
*/
|
|
12025
|
+
getUniquePageById(requestParameters, options) {
|
|
12026
|
+
return localVarFp.getUniquePageById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
12027
|
+
},
|
|
12028
|
+
/**
|
|
12029
|
+
*
|
|
12030
|
+
* @param {UniquePageApiGetUniquePageByTypeRequest} requestParameters Request parameters.
|
|
12031
|
+
* @param {*} [options] Override http request option.
|
|
12032
|
+
* @throws {RequiredError}
|
|
12033
|
+
*/
|
|
12034
|
+
getUniquePageByType(requestParameters, options) {
|
|
12035
|
+
return localVarFp.getUniquePageByType(requestParameters.type, options).then((request) => request(axios, basePath));
|
|
12036
|
+
},
|
|
12037
|
+
/**
|
|
12038
|
+
*
|
|
12039
|
+
* @param {UniquePageApiGetUniquePagesRequest} requestParameters Request parameters.
|
|
12040
|
+
* @param {*} [options] Override http request option.
|
|
12041
|
+
* @throws {RequiredError}
|
|
12042
|
+
*/
|
|
12043
|
+
getUniquePages(requestParameters = {}, options) {
|
|
12044
|
+
return localVarFp.getUniquePages(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
12045
|
+
},
|
|
12046
|
+
/**
|
|
12047
|
+
*
|
|
12048
|
+
* @param {UniquePageApiUpdateUniquePageRequest} requestParameters Request parameters.
|
|
12049
|
+
* @param {*} [options] Override http request option.
|
|
12050
|
+
* @throws {RequiredError}
|
|
12051
|
+
*/
|
|
12052
|
+
updateUniquePage(requestParameters, options) {
|
|
12053
|
+
return localVarFp.updateUniquePage(requestParameters.id, requestParameters.iUniquePagePatchRequest, options).then((request) => request(axios, basePath));
|
|
12054
|
+
},
|
|
12055
|
+
};
|
|
12056
|
+
};
|
|
12057
|
+
/**
|
|
12058
|
+
* UniquePageApi - object-oriented interface
|
|
12059
|
+
* @export
|
|
12060
|
+
* @class UniquePageApi
|
|
12061
|
+
* @extends {BaseAPI}
|
|
12062
|
+
*/
|
|
12063
|
+
export class UniquePageApi extends BaseAPI {
|
|
12064
|
+
/**
|
|
12065
|
+
*
|
|
12066
|
+
* @param {UniquePageApiGetUniquePageByIdRequest} requestParameters Request parameters.
|
|
12067
|
+
* @param {*} [options] Override http request option.
|
|
12068
|
+
* @throws {RequiredError}
|
|
12069
|
+
* @memberof UniquePageApi
|
|
12070
|
+
*/
|
|
12071
|
+
getUniquePageById(requestParameters, options) {
|
|
12072
|
+
return UniquePageApiFp(this.configuration).getUniquePageById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
12073
|
+
}
|
|
12074
|
+
/**
|
|
12075
|
+
*
|
|
12076
|
+
* @param {UniquePageApiGetUniquePageByTypeRequest} requestParameters Request parameters.
|
|
12077
|
+
* @param {*} [options] Override http request option.
|
|
12078
|
+
* @throws {RequiredError}
|
|
12079
|
+
* @memberof UniquePageApi
|
|
12080
|
+
*/
|
|
12081
|
+
getUniquePageByType(requestParameters, options) {
|
|
12082
|
+
return UniquePageApiFp(this.configuration).getUniquePageByType(requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
12083
|
+
}
|
|
12084
|
+
/**
|
|
12085
|
+
*
|
|
12086
|
+
* @param {UniquePageApiGetUniquePagesRequest} requestParameters Request parameters.
|
|
12087
|
+
* @param {*} [options] Override http request option.
|
|
12088
|
+
* @throws {RequiredError}
|
|
12089
|
+
* @memberof UniquePageApi
|
|
12090
|
+
*/
|
|
12091
|
+
getUniquePages(requestParameters = {}, options) {
|
|
12092
|
+
return UniquePageApiFp(this.configuration).getUniquePages(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
12093
|
+
}
|
|
12094
|
+
/**
|
|
12095
|
+
*
|
|
12096
|
+
* @param {UniquePageApiUpdateUniquePageRequest} requestParameters Request parameters.
|
|
12097
|
+
* @param {*} [options] Override http request option.
|
|
12098
|
+
* @throws {RequiredError}
|
|
12099
|
+
* @memberof UniquePageApi
|
|
12100
|
+
*/
|
|
12101
|
+
updateUniquePage(requestParameters, options) {
|
|
12102
|
+
return UniquePageApiFp(this.configuration).updateUniquePage(requestParameters.id, requestParameters.iUniquePagePatchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
12103
|
+
}
|
|
12104
|
+
}
|
|
12105
|
+
/**
|
|
12106
|
+
* @export
|
|
12107
|
+
*/
|
|
12108
|
+
export const GetUniquePagesDateFieldEnum = {
|
|
12109
|
+
CREATED_AT: 'createdAt',
|
|
12110
|
+
UPDATED_AT: 'updatedAt'
|
|
12111
|
+
};
|
|
11832
12112
|
/**
|
|
11833
12113
|
* UserApi - axios parameter creator
|
|
11834
12114
|
* @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.12",
|
|
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": "e4629988290e61c25daf6d1288de944a4e4e4daf"
|
|
41
41
|
}
|