@infisale-client/api 1.3.71 → 1.3.73

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.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.
@@ -7585,6 +7637,34 @@ export const ContentPlanApiAxiosParamCreator = function (configuration) {
7585
7637
  options: localVarRequestOptions,
7586
7638
  };
7587
7639
  },
7640
+ /**
7641
+ *
7642
+ * @param {string} id
7643
+ * @param {*} [options] Override http request option.
7644
+ * @throws {RequiredError}
7645
+ */
7646
+ generateContentPlan: async (id, options = {}) => {
7647
+ // verify required parameter 'id' is not null or undefined
7648
+ assertParamExists('generateContentPlan', 'id', id);
7649
+ const localVarPath = `/api/content-plans/{id}/generate`
7650
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
7651
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7652
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7653
+ let baseOptions;
7654
+ if (configuration) {
7655
+ baseOptions = configuration.baseOptions;
7656
+ }
7657
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
7658
+ const localVarHeaderParameter = {};
7659
+ const localVarQueryParameter = {};
7660
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7661
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7662
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
7663
+ return {
7664
+ url: toPathString(localVarUrlObj),
7665
+ options: localVarRequestOptions,
7666
+ };
7667
+ },
7588
7668
  /**
7589
7669
  *
7590
7670
  * @param {string} id
@@ -7759,6 +7839,18 @@ export const ContentPlanApiFp = function (configuration) {
7759
7839
  const localVarOperationServerBasePath = operationServerMap['ContentPlanApi.deleteContentPlan']?.[localVarOperationServerIndex]?.url;
7760
7840
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7761
7841
  },
7842
+ /**
7843
+ *
7844
+ * @param {string} id
7845
+ * @param {*} [options] Override http request option.
7846
+ * @throws {RequiredError}
7847
+ */
7848
+ async generateContentPlan(id, options) {
7849
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generateContentPlan(id, options);
7850
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7851
+ const localVarOperationServerBasePath = operationServerMap['ContentPlanApi.generateContentPlan']?.[localVarOperationServerIndex]?.url;
7852
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7853
+ },
7762
7854
  /**
7763
7855
  *
7764
7856
  * @param {string} id
@@ -7835,6 +7927,15 @@ export const ContentPlanApiFactory = function (configuration, basePath, axios) {
7835
7927
  deleteContentPlan(requestParameters, options) {
7836
7928
  return localVarFp.deleteContentPlan(requestParameters.id, options).then((request) => request(axios, basePath));
7837
7929
  },
7930
+ /**
7931
+ *
7932
+ * @param {ContentPlanApiGenerateContentPlanRequest} requestParameters Request parameters.
7933
+ * @param {*} [options] Override http request option.
7934
+ * @throws {RequiredError}
7935
+ */
7936
+ generateContentPlan(requestParameters, options) {
7937
+ return localVarFp.generateContentPlan(requestParameters.id, options).then((request) => request(axios, basePath));
7938
+ },
7838
7939
  /**
7839
7940
  *
7840
7941
  * @param {ContentPlanApiGetContentPlanByIdRequest} requestParameters Request parameters.
@@ -7891,6 +7992,16 @@ export class ContentPlanApi extends BaseAPI {
7891
7992
  deleteContentPlan(requestParameters, options) {
7892
7993
  return ContentPlanApiFp(this.configuration).deleteContentPlan(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
7893
7994
  }
7995
+ /**
7996
+ *
7997
+ * @param {ContentPlanApiGenerateContentPlanRequest} requestParameters Request parameters.
7998
+ * @param {*} [options] Override http request option.
7999
+ * @throws {RequiredError}
8000
+ * @memberof ContentPlanApi
8001
+ */
8002
+ generateContentPlan(requestParameters, options) {
8003
+ return ContentPlanApiFp(this.configuration).generateContentPlan(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
8004
+ }
7894
8005
  /**
7895
8006
  *
7896
8007
  * @param {ContentPlanApiGetContentPlanByIdRequest} requestParameters Request parameters.
@@ -12720,6 +12831,48 @@ export const SEOApiAxiosParamCreator = function (configuration) {
12720
12831
  options: localVarRequestOptions,
12721
12832
  };
12722
12833
  },
12834
+ /**
12835
+ *
12836
+ * @param {string} companyId
12837
+ * @param {string} [keyword]
12838
+ * @param {string} [startDate]
12839
+ * @param {string} [endDate]
12840
+ * @param {*} [options] Override http request option.
12841
+ * @throws {RequiredError}
12842
+ */
12843
+ listSeoRankResults: async (companyId, keyword, startDate, endDate, options = {}) => {
12844
+ // verify required parameter 'companyId' is not null or undefined
12845
+ assertParamExists('listSeoRankResults', 'companyId', companyId);
12846
+ const localVarPath = `/api/seo/rank-results`;
12847
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12848
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12849
+ let baseOptions;
12850
+ if (configuration) {
12851
+ baseOptions = configuration.baseOptions;
12852
+ }
12853
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
12854
+ const localVarHeaderParameter = {};
12855
+ const localVarQueryParameter = {};
12856
+ if (companyId !== undefined) {
12857
+ localVarQueryParameter['companyId'] = companyId;
12858
+ }
12859
+ if (keyword !== undefined) {
12860
+ localVarQueryParameter['keyword'] = keyword;
12861
+ }
12862
+ if (startDate !== undefined) {
12863
+ localVarQueryParameter['startDate'] = startDate;
12864
+ }
12865
+ if (endDate !== undefined) {
12866
+ localVarQueryParameter['endDate'] = endDate;
12867
+ }
12868
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12869
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12870
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
12871
+ return {
12872
+ url: toPathString(localVarUrlObj),
12873
+ options: localVarRequestOptions,
12874
+ };
12875
+ },
12723
12876
  /**
12724
12877
  *
12725
12878
  * @param {string} [companyId]
@@ -12826,6 +12979,21 @@ export const SEOApiFp = function (configuration) {
12826
12979
  const localVarOperationServerBasePath = operationServerMap['SEOApi.getSeoRankTrack']?.[localVarOperationServerIndex]?.url;
12827
12980
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12828
12981
  },
12982
+ /**
12983
+ *
12984
+ * @param {string} companyId
12985
+ * @param {string} [keyword]
12986
+ * @param {string} [startDate]
12987
+ * @param {string} [endDate]
12988
+ * @param {*} [options] Override http request option.
12989
+ * @throws {RequiredError}
12990
+ */
12991
+ async listSeoRankResults(companyId, keyword, startDate, endDate, options) {
12992
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSeoRankResults(companyId, keyword, startDate, endDate, options);
12993
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12994
+ const localVarOperationServerBasePath = operationServerMap['SEOApi.listSeoRankResults']?.[localVarOperationServerIndex]?.url;
12995
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12996
+ },
12829
12997
  /**
12830
12998
  *
12831
12999
  * @param {string} [companyId]
@@ -12887,6 +13055,15 @@ export const SEOApiFactory = function (configuration, basePath, axios) {
12887
13055
  getSeoRankTrack(requestParameters, options) {
12888
13056
  return localVarFp.getSeoRankTrack(requestParameters.id, options).then((request) => request(axios, basePath));
12889
13057
  },
13058
+ /**
13059
+ *
13060
+ * @param {SEOApiListSeoRankResultsRequest} requestParameters Request parameters.
13061
+ * @param {*} [options] Override http request option.
13062
+ * @throws {RequiredError}
13063
+ */
13064
+ listSeoRankResults(requestParameters, options) {
13065
+ return localVarFp.listSeoRankResults(requestParameters.companyId, requestParameters.keyword, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
13066
+ },
12890
13067
  /**
12891
13068
  *
12892
13069
  * @param {SEOApiListSeoRankTracksRequest} requestParameters Request parameters.
@@ -12944,6 +13121,16 @@ export class SEOApi extends BaseAPI {
12944
13121
  getSeoRankTrack(requestParameters, options) {
12945
13122
  return SEOApiFp(this.configuration).getSeoRankTrack(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
12946
13123
  }
13124
+ /**
13125
+ *
13126
+ * @param {SEOApiListSeoRankResultsRequest} requestParameters Request parameters.
13127
+ * @param {*} [options] Override http request option.
13128
+ * @throws {RequiredError}
13129
+ * @memberof SEOApi
13130
+ */
13131
+ listSeoRankResults(requestParameters, options) {
13132
+ return SEOApiFp(this.configuration).listSeoRankResults(requestParameters.companyId, requestParameters.keyword, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
13133
+ }
12947
13134
  /**
12948
13135
  *
12949
13136
  * @param {SEOApiListSeoRankTracksRequest} requestParameters Request parameters.
@@ -13953,6 +14140,34 @@ export const ThemeApiAxiosParamCreator = function (configuration) {
13953
14140
  options: localVarRequestOptions,
13954
14141
  };
13955
14142
  },
14143
+ /**
14144
+ *
14145
+ * @param {string} id
14146
+ * @param {*} [options] Override http request option.
14147
+ * @throws {RequiredError}
14148
+ */
14149
+ getThemeLastVersion: async (id, options = {}) => {
14150
+ // verify required parameter 'id' is not null or undefined
14151
+ assertParamExists('getThemeLastVersion', 'id', id);
14152
+ const localVarPath = `/api/themes/{id}/last-version`
14153
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
14154
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14155
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14156
+ let baseOptions;
14157
+ if (configuration) {
14158
+ baseOptions = configuration.baseOptions;
14159
+ }
14160
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
14161
+ const localVarHeaderParameter = {};
14162
+ const localVarQueryParameter = {};
14163
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14164
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14165
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
14166
+ return {
14167
+ url: toPathString(localVarUrlObj),
14168
+ options: localVarRequestOptions,
14169
+ };
14170
+ },
13956
14171
  /**
13957
14172
  *
13958
14173
  * @param {CompanyTypeEnum} [type]
@@ -14156,6 +14371,18 @@ export const ThemeApiFp = function (configuration) {
14156
14371
  const localVarOperationServerBasePath = operationServerMap['ThemeApi.getThemeById']?.[localVarOperationServerIndex]?.url;
14157
14372
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14158
14373
  },
14374
+ /**
14375
+ *
14376
+ * @param {string} id
14377
+ * @param {*} [options] Override http request option.
14378
+ * @throws {RequiredError}
14379
+ */
14380
+ async getThemeLastVersion(id, options) {
14381
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getThemeLastVersion(id, options);
14382
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
14383
+ const localVarOperationServerBasePath = operationServerMap['ThemeApi.getThemeLastVersion']?.[localVarOperationServerIndex]?.url;
14384
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14385
+ },
14159
14386
  /**
14160
14387
  *
14161
14388
  * @param {CompanyTypeEnum} [type]
@@ -14262,6 +14489,15 @@ export const ThemeApiFactory = function (configuration, basePath, axios) {
14262
14489
  getThemeById(requestParameters, options) {
14263
14490
  return localVarFp.getThemeById(requestParameters.id, options).then((request) => request(axios, basePath));
14264
14491
  },
14492
+ /**
14493
+ *
14494
+ * @param {ThemeApiGetThemeLastVersionRequest} requestParameters Request parameters.
14495
+ * @param {*} [options] Override http request option.
14496
+ * @throws {RequiredError}
14497
+ */
14498
+ getThemeLastVersion(requestParameters, options) {
14499
+ return localVarFp.getThemeLastVersion(requestParameters.id, options).then((request) => request(axios, basePath));
14500
+ },
14265
14501
  /**
14266
14502
  *
14267
14503
  * @param {ThemeApiGetThemesRequest} requestParameters Request parameters.
@@ -14358,6 +14594,16 @@ export class ThemeApi extends BaseAPI {
14358
14594
  getThemeById(requestParameters, options) {
14359
14595
  return ThemeApiFp(this.configuration).getThemeById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
14360
14596
  }
14597
+ /**
14598
+ *
14599
+ * @param {ThemeApiGetThemeLastVersionRequest} requestParameters Request parameters.
14600
+ * @param {*} [options] Override http request option.
14601
+ * @throws {RequiredError}
14602
+ * @memberof ThemeApi
14603
+ */
14604
+ getThemeLastVersion(requestParameters, options) {
14605
+ return ThemeApiFp(this.configuration).getThemeLastVersion(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
14606
+ }
14361
14607
  /**
14362
14608
  *
14363
14609
  * @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.71",
3
+ "version": "1.3.73",
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": "fce13875010e36bae190d57b9aaa822091e120a1"
40
+ "gitHead": "cb3efd73f273e38671b447cca01d88242469e56e"
41
41
  }