@infisale-client/api 1.3.71 → 1.3.72
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 +466 -96
- package/dist/api/api.js +187 -0
- package/dist/api/api.mjs +187 -0
- package/package.json +2 -2
package/dist/api/api.js
CHANGED
|
@@ -1582,6 +1582,30 @@ const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
1582
1582
|
options: localVarRequestOptions,
|
|
1583
1583
|
};
|
|
1584
1584
|
},
|
|
1585
|
+
/**
|
|
1586
|
+
*
|
|
1587
|
+
* @param {*} [options] Override http request option.
|
|
1588
|
+
* @throws {RequiredError}
|
|
1589
|
+
*/
|
|
1590
|
+
generateCliToken: async (options = {}) => {
|
|
1591
|
+
const localVarPath = `/api/auth/cli-token`;
|
|
1592
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1593
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1594
|
+
let baseOptions;
|
|
1595
|
+
if (configuration) {
|
|
1596
|
+
baseOptions = configuration.baseOptions;
|
|
1597
|
+
}
|
|
1598
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1599
|
+
const localVarHeaderParameter = {};
|
|
1600
|
+
const localVarQueryParameter = {};
|
|
1601
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1602
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1603
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1604
|
+
return {
|
|
1605
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1606
|
+
options: localVarRequestOptions,
|
|
1607
|
+
};
|
|
1608
|
+
},
|
|
1585
1609
|
/**
|
|
1586
1610
|
*
|
|
1587
1611
|
* @param {string} domain
|
|
@@ -1837,6 +1861,17 @@ const AuthApiFp = function (configuration) {
|
|
|
1837
1861
|
const localVarOperationServerBasePath = base_1.operationServerMap['AuthApi.forgotPassword']?.[localVarOperationServerIndex]?.url;
|
|
1838
1862
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1839
1863
|
},
|
|
1864
|
+
/**
|
|
1865
|
+
*
|
|
1866
|
+
* @param {*} [options] Override http request option.
|
|
1867
|
+
* @throws {RequiredError}
|
|
1868
|
+
*/
|
|
1869
|
+
async generateCliToken(options) {
|
|
1870
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.generateCliToken(options);
|
|
1871
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1872
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['AuthApi.generateCliToken']?.[localVarOperationServerIndex]?.url;
|
|
1873
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1874
|
+
},
|
|
1840
1875
|
/**
|
|
1841
1876
|
*
|
|
1842
1877
|
* @param {string} domain
|
|
@@ -1945,6 +1980,14 @@ const AuthApiFactory = function (configuration, basePath, axios) {
|
|
|
1945
1980
|
forgotPassword(requestParameters, options) {
|
|
1946
1981
|
return localVarFp.forgotPassword(requestParameters.domain, requestParameters.iForgotPasswordRequest, options).then((request) => request(axios, basePath));
|
|
1947
1982
|
},
|
|
1983
|
+
/**
|
|
1984
|
+
*
|
|
1985
|
+
* @param {*} [options] Override http request option.
|
|
1986
|
+
* @throws {RequiredError}
|
|
1987
|
+
*/
|
|
1988
|
+
generateCliToken(options) {
|
|
1989
|
+
return localVarFp.generateCliToken(options).then((request) => request(axios, basePath));
|
|
1990
|
+
},
|
|
1948
1991
|
/**
|
|
1949
1992
|
*
|
|
1950
1993
|
* @param {AuthApiLoginRequest} requestParameters Request parameters.
|
|
@@ -2028,6 +2071,15 @@ class AuthApi extends base_1.BaseAPI {
|
|
|
2028
2071
|
forgotPassword(requestParameters, options) {
|
|
2029
2072
|
return (0, exports.AuthApiFp)(this.configuration).forgotPassword(requestParameters.domain, requestParameters.iForgotPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2030
2073
|
}
|
|
2074
|
+
/**
|
|
2075
|
+
*
|
|
2076
|
+
* @param {*} [options] Override http request option.
|
|
2077
|
+
* @throws {RequiredError}
|
|
2078
|
+
* @memberof AuthApi
|
|
2079
|
+
*/
|
|
2080
|
+
generateCliToken(options) {
|
|
2081
|
+
return (0, exports.AuthApiFp)(this.configuration).generateCliToken(options).then((request) => request(this.axios, this.basePath));
|
|
2082
|
+
}
|
|
2031
2083
|
/**
|
|
2032
2084
|
*
|
|
2033
2085
|
* @param {AuthApiLoginRequest} requestParameters Request parameters.
|
|
@@ -12809,6 +12861,48 @@ const SEOApiAxiosParamCreator = function (configuration) {
|
|
|
12809
12861
|
options: localVarRequestOptions,
|
|
12810
12862
|
};
|
|
12811
12863
|
},
|
|
12864
|
+
/**
|
|
12865
|
+
*
|
|
12866
|
+
* @param {string} companyId
|
|
12867
|
+
* @param {string} [keyword]
|
|
12868
|
+
* @param {string} [startDate]
|
|
12869
|
+
* @param {string} [endDate]
|
|
12870
|
+
* @param {*} [options] Override http request option.
|
|
12871
|
+
* @throws {RequiredError}
|
|
12872
|
+
*/
|
|
12873
|
+
listSeoRankResults: async (companyId, keyword, startDate, endDate, options = {}) => {
|
|
12874
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
12875
|
+
(0, common_1.assertParamExists)('listSeoRankResults', 'companyId', companyId);
|
|
12876
|
+
const localVarPath = `/api/seo/rank-results`;
|
|
12877
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12878
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12879
|
+
let baseOptions;
|
|
12880
|
+
if (configuration) {
|
|
12881
|
+
baseOptions = configuration.baseOptions;
|
|
12882
|
+
}
|
|
12883
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
12884
|
+
const localVarHeaderParameter = {};
|
|
12885
|
+
const localVarQueryParameter = {};
|
|
12886
|
+
if (companyId !== undefined) {
|
|
12887
|
+
localVarQueryParameter['companyId'] = companyId;
|
|
12888
|
+
}
|
|
12889
|
+
if (keyword !== undefined) {
|
|
12890
|
+
localVarQueryParameter['keyword'] = keyword;
|
|
12891
|
+
}
|
|
12892
|
+
if (startDate !== undefined) {
|
|
12893
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
12894
|
+
}
|
|
12895
|
+
if (endDate !== undefined) {
|
|
12896
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
12897
|
+
}
|
|
12898
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12899
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12900
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
12901
|
+
return {
|
|
12902
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12903
|
+
options: localVarRequestOptions,
|
|
12904
|
+
};
|
|
12905
|
+
},
|
|
12812
12906
|
/**
|
|
12813
12907
|
*
|
|
12814
12908
|
* @param {string} [companyId]
|
|
@@ -12916,6 +13010,21 @@ const SEOApiFp = function (configuration) {
|
|
|
12916
13010
|
const localVarOperationServerBasePath = base_1.operationServerMap['SEOApi.getSeoRankTrack']?.[localVarOperationServerIndex]?.url;
|
|
12917
13011
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12918
13012
|
},
|
|
13013
|
+
/**
|
|
13014
|
+
*
|
|
13015
|
+
* @param {string} companyId
|
|
13016
|
+
* @param {string} [keyword]
|
|
13017
|
+
* @param {string} [startDate]
|
|
13018
|
+
* @param {string} [endDate]
|
|
13019
|
+
* @param {*} [options] Override http request option.
|
|
13020
|
+
* @throws {RequiredError}
|
|
13021
|
+
*/
|
|
13022
|
+
async listSeoRankResults(companyId, keyword, startDate, endDate, options) {
|
|
13023
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSeoRankResults(companyId, keyword, startDate, endDate, options);
|
|
13024
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13025
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SEOApi.listSeoRankResults']?.[localVarOperationServerIndex]?.url;
|
|
13026
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13027
|
+
},
|
|
12919
13028
|
/**
|
|
12920
13029
|
*
|
|
12921
13030
|
* @param {string} [companyId]
|
|
@@ -12978,6 +13087,15 @@ const SEOApiFactory = function (configuration, basePath, axios) {
|
|
|
12978
13087
|
getSeoRankTrack(requestParameters, options) {
|
|
12979
13088
|
return localVarFp.getSeoRankTrack(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
12980
13089
|
},
|
|
13090
|
+
/**
|
|
13091
|
+
*
|
|
13092
|
+
* @param {SEOApiListSeoRankResultsRequest} requestParameters Request parameters.
|
|
13093
|
+
* @param {*} [options] Override http request option.
|
|
13094
|
+
* @throws {RequiredError}
|
|
13095
|
+
*/
|
|
13096
|
+
listSeoRankResults(requestParameters, options) {
|
|
13097
|
+
return localVarFp.listSeoRankResults(requestParameters.companyId, requestParameters.keyword, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
|
|
13098
|
+
},
|
|
12981
13099
|
/**
|
|
12982
13100
|
*
|
|
12983
13101
|
* @param {SEOApiListSeoRankTracksRequest} requestParameters Request parameters.
|
|
@@ -13036,6 +13154,16 @@ class SEOApi extends base_1.BaseAPI {
|
|
|
13036
13154
|
getSeoRankTrack(requestParameters, options) {
|
|
13037
13155
|
return (0, exports.SEOApiFp)(this.configuration).getSeoRankTrack(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
13038
13156
|
}
|
|
13157
|
+
/**
|
|
13158
|
+
*
|
|
13159
|
+
* @param {SEOApiListSeoRankResultsRequest} requestParameters Request parameters.
|
|
13160
|
+
* @param {*} [options] Override http request option.
|
|
13161
|
+
* @throws {RequiredError}
|
|
13162
|
+
* @memberof SEOApi
|
|
13163
|
+
*/
|
|
13164
|
+
listSeoRankResults(requestParameters, options) {
|
|
13165
|
+
return (0, exports.SEOApiFp)(this.configuration).listSeoRankResults(requestParameters.companyId, requestParameters.keyword, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
|
|
13166
|
+
}
|
|
13039
13167
|
/**
|
|
13040
13168
|
*
|
|
13041
13169
|
* @param {SEOApiListSeoRankTracksRequest} requestParameters Request parameters.
|
|
@@ -14058,6 +14186,34 @@ const ThemeApiAxiosParamCreator = function (configuration) {
|
|
|
14058
14186
|
options: localVarRequestOptions,
|
|
14059
14187
|
};
|
|
14060
14188
|
},
|
|
14189
|
+
/**
|
|
14190
|
+
*
|
|
14191
|
+
* @param {string} id
|
|
14192
|
+
* @param {*} [options] Override http request option.
|
|
14193
|
+
* @throws {RequiredError}
|
|
14194
|
+
*/
|
|
14195
|
+
getThemeLastVersion: async (id, options = {}) => {
|
|
14196
|
+
// verify required parameter 'id' is not null or undefined
|
|
14197
|
+
(0, common_1.assertParamExists)('getThemeLastVersion', 'id', id);
|
|
14198
|
+
const localVarPath = `/api/themes/{id}/last-version`
|
|
14199
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
14200
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14201
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14202
|
+
let baseOptions;
|
|
14203
|
+
if (configuration) {
|
|
14204
|
+
baseOptions = configuration.baseOptions;
|
|
14205
|
+
}
|
|
14206
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
14207
|
+
const localVarHeaderParameter = {};
|
|
14208
|
+
const localVarQueryParameter = {};
|
|
14209
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14210
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14211
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
14212
|
+
return {
|
|
14213
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14214
|
+
options: localVarRequestOptions,
|
|
14215
|
+
};
|
|
14216
|
+
},
|
|
14061
14217
|
/**
|
|
14062
14218
|
*
|
|
14063
14219
|
* @param {CompanyTypeEnum} [type]
|
|
@@ -14262,6 +14418,18 @@ const ThemeApiFp = function (configuration) {
|
|
|
14262
14418
|
const localVarOperationServerBasePath = base_1.operationServerMap['ThemeApi.getThemeById']?.[localVarOperationServerIndex]?.url;
|
|
14263
14419
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14264
14420
|
},
|
|
14421
|
+
/**
|
|
14422
|
+
*
|
|
14423
|
+
* @param {string} id
|
|
14424
|
+
* @param {*} [options] Override http request option.
|
|
14425
|
+
* @throws {RequiredError}
|
|
14426
|
+
*/
|
|
14427
|
+
async getThemeLastVersion(id, options) {
|
|
14428
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getThemeLastVersion(id, options);
|
|
14429
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14430
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ThemeApi.getThemeLastVersion']?.[localVarOperationServerIndex]?.url;
|
|
14431
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14432
|
+
},
|
|
14265
14433
|
/**
|
|
14266
14434
|
*
|
|
14267
14435
|
* @param {CompanyTypeEnum} [type]
|
|
@@ -14369,6 +14537,15 @@ const ThemeApiFactory = function (configuration, basePath, axios) {
|
|
|
14369
14537
|
getThemeById(requestParameters, options) {
|
|
14370
14538
|
return localVarFp.getThemeById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
14371
14539
|
},
|
|
14540
|
+
/**
|
|
14541
|
+
*
|
|
14542
|
+
* @param {ThemeApiGetThemeLastVersionRequest} requestParameters Request parameters.
|
|
14543
|
+
* @param {*} [options] Override http request option.
|
|
14544
|
+
* @throws {RequiredError}
|
|
14545
|
+
*/
|
|
14546
|
+
getThemeLastVersion(requestParameters, options) {
|
|
14547
|
+
return localVarFp.getThemeLastVersion(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
14548
|
+
},
|
|
14372
14549
|
/**
|
|
14373
14550
|
*
|
|
14374
14551
|
* @param {ThemeApiGetThemesRequest} requestParameters Request parameters.
|
|
@@ -14466,6 +14643,16 @@ class ThemeApi extends base_1.BaseAPI {
|
|
|
14466
14643
|
getThemeById(requestParameters, options) {
|
|
14467
14644
|
return (0, exports.ThemeApiFp)(this.configuration).getThemeById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
14468
14645
|
}
|
|
14646
|
+
/**
|
|
14647
|
+
*
|
|
14648
|
+
* @param {ThemeApiGetThemeLastVersionRequest} requestParameters Request parameters.
|
|
14649
|
+
* @param {*} [options] Override http request option.
|
|
14650
|
+
* @throws {RequiredError}
|
|
14651
|
+
* @memberof ThemeApi
|
|
14652
|
+
*/
|
|
14653
|
+
getThemeLastVersion(requestParameters, options) {
|
|
14654
|
+
return (0, exports.ThemeApiFp)(this.configuration).getThemeLastVersion(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
14655
|
+
}
|
|
14469
14656
|
/**
|
|
14470
14657
|
*
|
|
14471
14658
|
* @param {ThemeApiGetThemesRequest} requestParameters Request parameters.
|
package/dist/api/api.mjs
CHANGED
|
@@ -1561,6 +1561,30 @@ export const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
1561
1561
|
options: localVarRequestOptions,
|
|
1562
1562
|
};
|
|
1563
1563
|
},
|
|
1564
|
+
/**
|
|
1565
|
+
*
|
|
1566
|
+
* @param {*} [options] Override http request option.
|
|
1567
|
+
* @throws {RequiredError}
|
|
1568
|
+
*/
|
|
1569
|
+
generateCliToken: async (options = {}) => {
|
|
1570
|
+
const localVarPath = `/api/auth/cli-token`;
|
|
1571
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1572
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1573
|
+
let baseOptions;
|
|
1574
|
+
if (configuration) {
|
|
1575
|
+
baseOptions = configuration.baseOptions;
|
|
1576
|
+
}
|
|
1577
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1578
|
+
const localVarHeaderParameter = {};
|
|
1579
|
+
const localVarQueryParameter = {};
|
|
1580
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1581
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1582
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1583
|
+
return {
|
|
1584
|
+
url: toPathString(localVarUrlObj),
|
|
1585
|
+
options: localVarRequestOptions,
|
|
1586
|
+
};
|
|
1587
|
+
},
|
|
1564
1588
|
/**
|
|
1565
1589
|
*
|
|
1566
1590
|
* @param {string} domain
|
|
@@ -1815,6 +1839,17 @@ export const AuthApiFp = function (configuration) {
|
|
|
1815
1839
|
const localVarOperationServerBasePath = operationServerMap['AuthApi.forgotPassword']?.[localVarOperationServerIndex]?.url;
|
|
1816
1840
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1817
1841
|
},
|
|
1842
|
+
/**
|
|
1843
|
+
*
|
|
1844
|
+
* @param {*} [options] Override http request option.
|
|
1845
|
+
* @throws {RequiredError}
|
|
1846
|
+
*/
|
|
1847
|
+
async generateCliToken(options) {
|
|
1848
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.generateCliToken(options);
|
|
1849
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1850
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.generateCliToken']?.[localVarOperationServerIndex]?.url;
|
|
1851
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1852
|
+
},
|
|
1818
1853
|
/**
|
|
1819
1854
|
*
|
|
1820
1855
|
* @param {string} domain
|
|
@@ -1922,6 +1957,14 @@ export const AuthApiFactory = function (configuration, basePath, axios) {
|
|
|
1922
1957
|
forgotPassword(requestParameters, options) {
|
|
1923
1958
|
return localVarFp.forgotPassword(requestParameters.domain, requestParameters.iForgotPasswordRequest, options).then((request) => request(axios, basePath));
|
|
1924
1959
|
},
|
|
1960
|
+
/**
|
|
1961
|
+
*
|
|
1962
|
+
* @param {*} [options] Override http request option.
|
|
1963
|
+
* @throws {RequiredError}
|
|
1964
|
+
*/
|
|
1965
|
+
generateCliToken(options) {
|
|
1966
|
+
return localVarFp.generateCliToken(options).then((request) => request(axios, basePath));
|
|
1967
|
+
},
|
|
1925
1968
|
/**
|
|
1926
1969
|
*
|
|
1927
1970
|
* @param {AuthApiLoginRequest} requestParameters Request parameters.
|
|
@@ -2004,6 +2047,15 @@ export class AuthApi extends BaseAPI {
|
|
|
2004
2047
|
forgotPassword(requestParameters, options) {
|
|
2005
2048
|
return AuthApiFp(this.configuration).forgotPassword(requestParameters.domain, requestParameters.iForgotPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2006
2049
|
}
|
|
2050
|
+
/**
|
|
2051
|
+
*
|
|
2052
|
+
* @param {*} [options] Override http request option.
|
|
2053
|
+
* @throws {RequiredError}
|
|
2054
|
+
* @memberof AuthApi
|
|
2055
|
+
*/
|
|
2056
|
+
generateCliToken(options) {
|
|
2057
|
+
return AuthApiFp(this.configuration).generateCliToken(options).then((request) => request(this.axios, this.basePath));
|
|
2058
|
+
}
|
|
2007
2059
|
/**
|
|
2008
2060
|
*
|
|
2009
2061
|
* @param {AuthApiLoginRequest} requestParameters Request parameters.
|
|
@@ -12720,6 +12772,48 @@ export const SEOApiAxiosParamCreator = function (configuration) {
|
|
|
12720
12772
|
options: localVarRequestOptions,
|
|
12721
12773
|
};
|
|
12722
12774
|
},
|
|
12775
|
+
/**
|
|
12776
|
+
*
|
|
12777
|
+
* @param {string} companyId
|
|
12778
|
+
* @param {string} [keyword]
|
|
12779
|
+
* @param {string} [startDate]
|
|
12780
|
+
* @param {string} [endDate]
|
|
12781
|
+
* @param {*} [options] Override http request option.
|
|
12782
|
+
* @throws {RequiredError}
|
|
12783
|
+
*/
|
|
12784
|
+
listSeoRankResults: async (companyId, keyword, startDate, endDate, options = {}) => {
|
|
12785
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
12786
|
+
assertParamExists('listSeoRankResults', 'companyId', companyId);
|
|
12787
|
+
const localVarPath = `/api/seo/rank-results`;
|
|
12788
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12789
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12790
|
+
let baseOptions;
|
|
12791
|
+
if (configuration) {
|
|
12792
|
+
baseOptions = configuration.baseOptions;
|
|
12793
|
+
}
|
|
12794
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
12795
|
+
const localVarHeaderParameter = {};
|
|
12796
|
+
const localVarQueryParameter = {};
|
|
12797
|
+
if (companyId !== undefined) {
|
|
12798
|
+
localVarQueryParameter['companyId'] = companyId;
|
|
12799
|
+
}
|
|
12800
|
+
if (keyword !== undefined) {
|
|
12801
|
+
localVarQueryParameter['keyword'] = keyword;
|
|
12802
|
+
}
|
|
12803
|
+
if (startDate !== undefined) {
|
|
12804
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
12805
|
+
}
|
|
12806
|
+
if (endDate !== undefined) {
|
|
12807
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
12808
|
+
}
|
|
12809
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12810
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12811
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
12812
|
+
return {
|
|
12813
|
+
url: toPathString(localVarUrlObj),
|
|
12814
|
+
options: localVarRequestOptions,
|
|
12815
|
+
};
|
|
12816
|
+
},
|
|
12723
12817
|
/**
|
|
12724
12818
|
*
|
|
12725
12819
|
* @param {string} [companyId]
|
|
@@ -12826,6 +12920,21 @@ export const SEOApiFp = function (configuration) {
|
|
|
12826
12920
|
const localVarOperationServerBasePath = operationServerMap['SEOApi.getSeoRankTrack']?.[localVarOperationServerIndex]?.url;
|
|
12827
12921
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12828
12922
|
},
|
|
12923
|
+
/**
|
|
12924
|
+
*
|
|
12925
|
+
* @param {string} companyId
|
|
12926
|
+
* @param {string} [keyword]
|
|
12927
|
+
* @param {string} [startDate]
|
|
12928
|
+
* @param {string} [endDate]
|
|
12929
|
+
* @param {*} [options] Override http request option.
|
|
12930
|
+
* @throws {RequiredError}
|
|
12931
|
+
*/
|
|
12932
|
+
async listSeoRankResults(companyId, keyword, startDate, endDate, options) {
|
|
12933
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSeoRankResults(companyId, keyword, startDate, endDate, options);
|
|
12934
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12935
|
+
const localVarOperationServerBasePath = operationServerMap['SEOApi.listSeoRankResults']?.[localVarOperationServerIndex]?.url;
|
|
12936
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12937
|
+
},
|
|
12829
12938
|
/**
|
|
12830
12939
|
*
|
|
12831
12940
|
* @param {string} [companyId]
|
|
@@ -12887,6 +12996,15 @@ export const SEOApiFactory = function (configuration, basePath, axios) {
|
|
|
12887
12996
|
getSeoRankTrack(requestParameters, options) {
|
|
12888
12997
|
return localVarFp.getSeoRankTrack(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
12889
12998
|
},
|
|
12999
|
+
/**
|
|
13000
|
+
*
|
|
13001
|
+
* @param {SEOApiListSeoRankResultsRequest} requestParameters Request parameters.
|
|
13002
|
+
* @param {*} [options] Override http request option.
|
|
13003
|
+
* @throws {RequiredError}
|
|
13004
|
+
*/
|
|
13005
|
+
listSeoRankResults(requestParameters, options) {
|
|
13006
|
+
return localVarFp.listSeoRankResults(requestParameters.companyId, requestParameters.keyword, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
|
|
13007
|
+
},
|
|
12890
13008
|
/**
|
|
12891
13009
|
*
|
|
12892
13010
|
* @param {SEOApiListSeoRankTracksRequest} requestParameters Request parameters.
|
|
@@ -12944,6 +13062,16 @@ export class SEOApi extends BaseAPI {
|
|
|
12944
13062
|
getSeoRankTrack(requestParameters, options) {
|
|
12945
13063
|
return SEOApiFp(this.configuration).getSeoRankTrack(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
12946
13064
|
}
|
|
13065
|
+
/**
|
|
13066
|
+
*
|
|
13067
|
+
* @param {SEOApiListSeoRankResultsRequest} requestParameters Request parameters.
|
|
13068
|
+
* @param {*} [options] Override http request option.
|
|
13069
|
+
* @throws {RequiredError}
|
|
13070
|
+
* @memberof SEOApi
|
|
13071
|
+
*/
|
|
13072
|
+
listSeoRankResults(requestParameters, options) {
|
|
13073
|
+
return SEOApiFp(this.configuration).listSeoRankResults(requestParameters.companyId, requestParameters.keyword, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
|
|
13074
|
+
}
|
|
12947
13075
|
/**
|
|
12948
13076
|
*
|
|
12949
13077
|
* @param {SEOApiListSeoRankTracksRequest} requestParameters Request parameters.
|
|
@@ -13953,6 +14081,34 @@ export const ThemeApiAxiosParamCreator = function (configuration) {
|
|
|
13953
14081
|
options: localVarRequestOptions,
|
|
13954
14082
|
};
|
|
13955
14083
|
},
|
|
14084
|
+
/**
|
|
14085
|
+
*
|
|
14086
|
+
* @param {string} id
|
|
14087
|
+
* @param {*} [options] Override http request option.
|
|
14088
|
+
* @throws {RequiredError}
|
|
14089
|
+
*/
|
|
14090
|
+
getThemeLastVersion: async (id, options = {}) => {
|
|
14091
|
+
// verify required parameter 'id' is not null or undefined
|
|
14092
|
+
assertParamExists('getThemeLastVersion', 'id', id);
|
|
14093
|
+
const localVarPath = `/api/themes/{id}/last-version`
|
|
14094
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
14095
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14096
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14097
|
+
let baseOptions;
|
|
14098
|
+
if (configuration) {
|
|
14099
|
+
baseOptions = configuration.baseOptions;
|
|
14100
|
+
}
|
|
14101
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
14102
|
+
const localVarHeaderParameter = {};
|
|
14103
|
+
const localVarQueryParameter = {};
|
|
14104
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14105
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14106
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
14107
|
+
return {
|
|
14108
|
+
url: toPathString(localVarUrlObj),
|
|
14109
|
+
options: localVarRequestOptions,
|
|
14110
|
+
};
|
|
14111
|
+
},
|
|
13956
14112
|
/**
|
|
13957
14113
|
*
|
|
13958
14114
|
* @param {CompanyTypeEnum} [type]
|
|
@@ -14156,6 +14312,18 @@ export const ThemeApiFp = function (configuration) {
|
|
|
14156
14312
|
const localVarOperationServerBasePath = operationServerMap['ThemeApi.getThemeById']?.[localVarOperationServerIndex]?.url;
|
|
14157
14313
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14158
14314
|
},
|
|
14315
|
+
/**
|
|
14316
|
+
*
|
|
14317
|
+
* @param {string} id
|
|
14318
|
+
* @param {*} [options] Override http request option.
|
|
14319
|
+
* @throws {RequiredError}
|
|
14320
|
+
*/
|
|
14321
|
+
async getThemeLastVersion(id, options) {
|
|
14322
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getThemeLastVersion(id, options);
|
|
14323
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14324
|
+
const localVarOperationServerBasePath = operationServerMap['ThemeApi.getThemeLastVersion']?.[localVarOperationServerIndex]?.url;
|
|
14325
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14326
|
+
},
|
|
14159
14327
|
/**
|
|
14160
14328
|
*
|
|
14161
14329
|
* @param {CompanyTypeEnum} [type]
|
|
@@ -14262,6 +14430,15 @@ export const ThemeApiFactory = function (configuration, basePath, axios) {
|
|
|
14262
14430
|
getThemeById(requestParameters, options) {
|
|
14263
14431
|
return localVarFp.getThemeById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
14264
14432
|
},
|
|
14433
|
+
/**
|
|
14434
|
+
*
|
|
14435
|
+
* @param {ThemeApiGetThemeLastVersionRequest} requestParameters Request parameters.
|
|
14436
|
+
* @param {*} [options] Override http request option.
|
|
14437
|
+
* @throws {RequiredError}
|
|
14438
|
+
*/
|
|
14439
|
+
getThemeLastVersion(requestParameters, options) {
|
|
14440
|
+
return localVarFp.getThemeLastVersion(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
14441
|
+
},
|
|
14265
14442
|
/**
|
|
14266
14443
|
*
|
|
14267
14444
|
* @param {ThemeApiGetThemesRequest} requestParameters Request parameters.
|
|
@@ -14358,6 +14535,16 @@ export class ThemeApi extends BaseAPI {
|
|
|
14358
14535
|
getThemeById(requestParameters, options) {
|
|
14359
14536
|
return ThemeApiFp(this.configuration).getThemeById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
14360
14537
|
}
|
|
14538
|
+
/**
|
|
14539
|
+
*
|
|
14540
|
+
* @param {ThemeApiGetThemeLastVersionRequest} requestParameters Request parameters.
|
|
14541
|
+
* @param {*} [options] Override http request option.
|
|
14542
|
+
* @throws {RequiredError}
|
|
14543
|
+
* @memberof ThemeApi
|
|
14544
|
+
*/
|
|
14545
|
+
getThemeLastVersion(requestParameters, options) {
|
|
14546
|
+
return ThemeApiFp(this.configuration).getThemeLastVersion(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
14547
|
+
}
|
|
14361
14548
|
/**
|
|
14362
14549
|
*
|
|
14363
14550
|
* @param {ThemeApiGetThemesRequest} requestParameters Request parameters.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.72",
|
|
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": "c7bd3310ce44f5bd9f638510852f8ceb6897b6af"
|
|
41
41
|
}
|