@infisale-client/api 1.3.69 → 1.3.71

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
@@ -12629,6 +12629,342 @@ export const GetProductsSortEnum = {
12629
12629
  RATING: 'rating',
12630
12630
  REVIEW_COUNT: 'reviewCount'
12631
12631
  };
12632
+ /**
12633
+ * SEOApi - axios parameter creator
12634
+ * @export
12635
+ */
12636
+ export const SEOApiAxiosParamCreator = function (configuration) {
12637
+ return {
12638
+ /**
12639
+ *
12640
+ * @param {ISeoRankTrackPostRequest} iSeoRankTrackPostRequest
12641
+ * @param {*} [options] Override http request option.
12642
+ * @throws {RequiredError}
12643
+ */
12644
+ createSeoRankTrack: async (iSeoRankTrackPostRequest, options = {}) => {
12645
+ // verify required parameter 'iSeoRankTrackPostRequest' is not null or undefined
12646
+ assertParamExists('createSeoRankTrack', 'iSeoRankTrackPostRequest', iSeoRankTrackPostRequest);
12647
+ const localVarPath = `/api/seo/rank-tracks`;
12648
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12649
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12650
+ let baseOptions;
12651
+ if (configuration) {
12652
+ baseOptions = configuration.baseOptions;
12653
+ }
12654
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
12655
+ const localVarHeaderParameter = {};
12656
+ const localVarQueryParameter = {};
12657
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12658
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12659
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12660
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
12661
+ localVarRequestOptions.data = serializeDataIfNeeded(iSeoRankTrackPostRequest, localVarRequestOptions, configuration);
12662
+ return {
12663
+ url: toPathString(localVarUrlObj),
12664
+ options: localVarRequestOptions,
12665
+ };
12666
+ },
12667
+ /**
12668
+ *
12669
+ * @param {string} id
12670
+ * @param {*} [options] Override http request option.
12671
+ * @throws {RequiredError}
12672
+ */
12673
+ deleteSeoRankTrack: async (id, options = {}) => {
12674
+ // verify required parameter 'id' is not null or undefined
12675
+ assertParamExists('deleteSeoRankTrack', 'id', id);
12676
+ const localVarPath = `/api/seo/rank-tracks/{id}`
12677
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
12678
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12679
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12680
+ let baseOptions;
12681
+ if (configuration) {
12682
+ baseOptions = configuration.baseOptions;
12683
+ }
12684
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
12685
+ const localVarHeaderParameter = {};
12686
+ const localVarQueryParameter = {};
12687
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12688
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12689
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
12690
+ return {
12691
+ url: toPathString(localVarUrlObj),
12692
+ options: localVarRequestOptions,
12693
+ };
12694
+ },
12695
+ /**
12696
+ *
12697
+ * @param {string} id
12698
+ * @param {*} [options] Override http request option.
12699
+ * @throws {RequiredError}
12700
+ */
12701
+ getSeoRankTrack: async (id, options = {}) => {
12702
+ // verify required parameter 'id' is not null or undefined
12703
+ assertParamExists('getSeoRankTrack', 'id', id);
12704
+ const localVarPath = `/api/seo/rank-tracks/{id}`
12705
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
12706
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12707
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12708
+ let baseOptions;
12709
+ if (configuration) {
12710
+ baseOptions = configuration.baseOptions;
12711
+ }
12712
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
12713
+ const localVarHeaderParameter = {};
12714
+ const localVarQueryParameter = {};
12715
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12716
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12717
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
12718
+ return {
12719
+ url: toPathString(localVarUrlObj),
12720
+ options: localVarRequestOptions,
12721
+ };
12722
+ },
12723
+ /**
12724
+ *
12725
+ * @param {string} [companyId]
12726
+ * @param {*} [options] Override http request option.
12727
+ * @throws {RequiredError}
12728
+ */
12729
+ listSeoRankTracks: async (companyId, options = {}) => {
12730
+ const localVarPath = `/api/seo/rank-tracks`;
12731
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12732
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12733
+ let baseOptions;
12734
+ if (configuration) {
12735
+ baseOptions = configuration.baseOptions;
12736
+ }
12737
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
12738
+ const localVarHeaderParameter = {};
12739
+ const localVarQueryParameter = {};
12740
+ if (companyId !== undefined) {
12741
+ localVarQueryParameter['companyId'] = companyId;
12742
+ }
12743
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12744
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12745
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
12746
+ return {
12747
+ url: toPathString(localVarUrlObj),
12748
+ options: localVarRequestOptions,
12749
+ };
12750
+ },
12751
+ /**
12752
+ *
12753
+ * @param {string} id
12754
+ * @param {ISeoRankTrackPatchRequest} iSeoRankTrackPatchRequest
12755
+ * @param {*} [options] Override http request option.
12756
+ * @throws {RequiredError}
12757
+ */
12758
+ updateSeoRankTrack: async (id, iSeoRankTrackPatchRequest, options = {}) => {
12759
+ // verify required parameter 'id' is not null or undefined
12760
+ assertParamExists('updateSeoRankTrack', 'id', id);
12761
+ // verify required parameter 'iSeoRankTrackPatchRequest' is not null or undefined
12762
+ assertParamExists('updateSeoRankTrack', 'iSeoRankTrackPatchRequest', iSeoRankTrackPatchRequest);
12763
+ const localVarPath = `/api/seo/rank-tracks/{id}`
12764
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
12765
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12766
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12767
+ let baseOptions;
12768
+ if (configuration) {
12769
+ baseOptions = configuration.baseOptions;
12770
+ }
12771
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
12772
+ const localVarHeaderParameter = {};
12773
+ const localVarQueryParameter = {};
12774
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12775
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12776
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12777
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
12778
+ localVarRequestOptions.data = serializeDataIfNeeded(iSeoRankTrackPatchRequest, localVarRequestOptions, configuration);
12779
+ return {
12780
+ url: toPathString(localVarUrlObj),
12781
+ options: localVarRequestOptions,
12782
+ };
12783
+ },
12784
+ };
12785
+ };
12786
+ /**
12787
+ * SEOApi - functional programming interface
12788
+ * @export
12789
+ */
12790
+ export const SEOApiFp = function (configuration) {
12791
+ const localVarAxiosParamCreator = SEOApiAxiosParamCreator(configuration);
12792
+ return {
12793
+ /**
12794
+ *
12795
+ * @param {ISeoRankTrackPostRequest} iSeoRankTrackPostRequest
12796
+ * @param {*} [options] Override http request option.
12797
+ * @throws {RequiredError}
12798
+ */
12799
+ async createSeoRankTrack(iSeoRankTrackPostRequest, options) {
12800
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createSeoRankTrack(iSeoRankTrackPostRequest, options);
12801
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12802
+ const localVarOperationServerBasePath = operationServerMap['SEOApi.createSeoRankTrack']?.[localVarOperationServerIndex]?.url;
12803
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12804
+ },
12805
+ /**
12806
+ *
12807
+ * @param {string} id
12808
+ * @param {*} [options] Override http request option.
12809
+ * @throws {RequiredError}
12810
+ */
12811
+ async deleteSeoRankTrack(id, options) {
12812
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeoRankTrack(id, options);
12813
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12814
+ const localVarOperationServerBasePath = operationServerMap['SEOApi.deleteSeoRankTrack']?.[localVarOperationServerIndex]?.url;
12815
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12816
+ },
12817
+ /**
12818
+ *
12819
+ * @param {string} id
12820
+ * @param {*} [options] Override http request option.
12821
+ * @throws {RequiredError}
12822
+ */
12823
+ async getSeoRankTrack(id, options) {
12824
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSeoRankTrack(id, options);
12825
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12826
+ const localVarOperationServerBasePath = operationServerMap['SEOApi.getSeoRankTrack']?.[localVarOperationServerIndex]?.url;
12827
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12828
+ },
12829
+ /**
12830
+ *
12831
+ * @param {string} [companyId]
12832
+ * @param {*} [options] Override http request option.
12833
+ * @throws {RequiredError}
12834
+ */
12835
+ async listSeoRankTracks(companyId, options) {
12836
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSeoRankTracks(companyId, options);
12837
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12838
+ const localVarOperationServerBasePath = operationServerMap['SEOApi.listSeoRankTracks']?.[localVarOperationServerIndex]?.url;
12839
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12840
+ },
12841
+ /**
12842
+ *
12843
+ * @param {string} id
12844
+ * @param {ISeoRankTrackPatchRequest} iSeoRankTrackPatchRequest
12845
+ * @param {*} [options] Override http request option.
12846
+ * @throws {RequiredError}
12847
+ */
12848
+ async updateSeoRankTrack(id, iSeoRankTrackPatchRequest, options) {
12849
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeoRankTrack(id, iSeoRankTrackPatchRequest, options);
12850
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12851
+ const localVarOperationServerBasePath = operationServerMap['SEOApi.updateSeoRankTrack']?.[localVarOperationServerIndex]?.url;
12852
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12853
+ },
12854
+ };
12855
+ };
12856
+ /**
12857
+ * SEOApi - factory interface
12858
+ * @export
12859
+ */
12860
+ export const SEOApiFactory = function (configuration, basePath, axios) {
12861
+ const localVarFp = SEOApiFp(configuration);
12862
+ return {
12863
+ /**
12864
+ *
12865
+ * @param {SEOApiCreateSeoRankTrackRequest} requestParameters Request parameters.
12866
+ * @param {*} [options] Override http request option.
12867
+ * @throws {RequiredError}
12868
+ */
12869
+ createSeoRankTrack(requestParameters, options) {
12870
+ return localVarFp.createSeoRankTrack(requestParameters.iSeoRankTrackPostRequest, options).then((request) => request(axios, basePath));
12871
+ },
12872
+ /**
12873
+ *
12874
+ * @param {SEOApiDeleteSeoRankTrackRequest} requestParameters Request parameters.
12875
+ * @param {*} [options] Override http request option.
12876
+ * @throws {RequiredError}
12877
+ */
12878
+ deleteSeoRankTrack(requestParameters, options) {
12879
+ return localVarFp.deleteSeoRankTrack(requestParameters.id, options).then((request) => request(axios, basePath));
12880
+ },
12881
+ /**
12882
+ *
12883
+ * @param {SEOApiGetSeoRankTrackRequest} requestParameters Request parameters.
12884
+ * @param {*} [options] Override http request option.
12885
+ * @throws {RequiredError}
12886
+ */
12887
+ getSeoRankTrack(requestParameters, options) {
12888
+ return localVarFp.getSeoRankTrack(requestParameters.id, options).then((request) => request(axios, basePath));
12889
+ },
12890
+ /**
12891
+ *
12892
+ * @param {SEOApiListSeoRankTracksRequest} requestParameters Request parameters.
12893
+ * @param {*} [options] Override http request option.
12894
+ * @throws {RequiredError}
12895
+ */
12896
+ listSeoRankTracks(requestParameters = {}, options) {
12897
+ return localVarFp.listSeoRankTracks(requestParameters.companyId, options).then((request) => request(axios, basePath));
12898
+ },
12899
+ /**
12900
+ *
12901
+ * @param {SEOApiUpdateSeoRankTrackRequest} requestParameters Request parameters.
12902
+ * @param {*} [options] Override http request option.
12903
+ * @throws {RequiredError}
12904
+ */
12905
+ updateSeoRankTrack(requestParameters, options) {
12906
+ return localVarFp.updateSeoRankTrack(requestParameters.id, requestParameters.iSeoRankTrackPatchRequest, options).then((request) => request(axios, basePath));
12907
+ },
12908
+ };
12909
+ };
12910
+ /**
12911
+ * SEOApi - object-oriented interface
12912
+ * @export
12913
+ * @class SEOApi
12914
+ * @extends {BaseAPI}
12915
+ */
12916
+ export class SEOApi extends BaseAPI {
12917
+ /**
12918
+ *
12919
+ * @param {SEOApiCreateSeoRankTrackRequest} requestParameters Request parameters.
12920
+ * @param {*} [options] Override http request option.
12921
+ * @throws {RequiredError}
12922
+ * @memberof SEOApi
12923
+ */
12924
+ createSeoRankTrack(requestParameters, options) {
12925
+ return SEOApiFp(this.configuration).createSeoRankTrack(requestParameters.iSeoRankTrackPostRequest, options).then((request) => request(this.axios, this.basePath));
12926
+ }
12927
+ /**
12928
+ *
12929
+ * @param {SEOApiDeleteSeoRankTrackRequest} requestParameters Request parameters.
12930
+ * @param {*} [options] Override http request option.
12931
+ * @throws {RequiredError}
12932
+ * @memberof SEOApi
12933
+ */
12934
+ deleteSeoRankTrack(requestParameters, options) {
12935
+ return SEOApiFp(this.configuration).deleteSeoRankTrack(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
12936
+ }
12937
+ /**
12938
+ *
12939
+ * @param {SEOApiGetSeoRankTrackRequest} requestParameters Request parameters.
12940
+ * @param {*} [options] Override http request option.
12941
+ * @throws {RequiredError}
12942
+ * @memberof SEOApi
12943
+ */
12944
+ getSeoRankTrack(requestParameters, options) {
12945
+ return SEOApiFp(this.configuration).getSeoRankTrack(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
12946
+ }
12947
+ /**
12948
+ *
12949
+ * @param {SEOApiListSeoRankTracksRequest} requestParameters Request parameters.
12950
+ * @param {*} [options] Override http request option.
12951
+ * @throws {RequiredError}
12952
+ * @memberof SEOApi
12953
+ */
12954
+ listSeoRankTracks(requestParameters = {}, options) {
12955
+ return SEOApiFp(this.configuration).listSeoRankTracks(requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
12956
+ }
12957
+ /**
12958
+ *
12959
+ * @param {SEOApiUpdateSeoRankTrackRequest} requestParameters Request parameters.
12960
+ * @param {*} [options] Override http request option.
12961
+ * @throws {RequiredError}
12962
+ * @memberof SEOApi
12963
+ */
12964
+ updateSeoRankTrack(requestParameters, options) {
12965
+ return SEOApiFp(this.configuration).updateSeoRankTrack(requestParameters.id, requestParameters.iSeoRankTrackPatchRequest, options).then((request) => request(this.axios, this.basePath));
12966
+ }
12967
+ }
12632
12968
  /**
12633
12969
  * ServiceAccountsApi - axios parameter creator
12634
12970
  * @export
package/dist/index.d.ts CHANGED
@@ -24,6 +24,10 @@ interface IApiClient {
24
24
  NavigationApi: doc.NavigationApi;
25
25
  PlanApi: doc.PlanApi;
26
26
  UrlRedirectApi: doc.UrlRedirectApi;
27
+ AiChatApi: doc.AiChatApi;
28
+ ServiceAccountsApi: doc.ServiceAccountsApi;
29
+ ContentPlanApi: doc.ContentPlanApi;
30
+ SEOApi: doc.SEOApi;
27
31
  interceptors: {
28
32
  request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
29
33
  response: AxiosInterceptorManager<AxiosResponse>;
@@ -61,6 +65,10 @@ export declare class ApiClient implements IApiClient {
61
65
  NavigationApi: doc.NavigationApi;
62
66
  PlanApi: doc.PlanApi;
63
67
  UrlRedirectApi: doc.UrlRedirectApi;
68
+ AiChatApi: doc.AiChatApi;
69
+ ServiceAccountsApi: doc.ServiceAccountsApi;
70
+ ContentPlanApi: doc.ContentPlanApi;
71
+ SEOApi: doc.SEOApi;
64
72
  constructor(baseURL: string, options?: {
65
73
  headers?: Record<string, string>;
66
74
  } | undefined);
package/dist/index.js CHANGED
@@ -68,6 +68,10 @@ class ApiClient {
68
68
  this.NavigationApi = new doc.NavigationApi(undefined, this.baseURL, this.api);
69
69
  this.PlanApi = new doc.PlanApi(undefined, this.baseURL, this.api);
70
70
  this.UrlRedirectApi = new doc.UrlRedirectApi(undefined, this.baseURL, this.api);
71
+ this.AiChatApi = new doc.AiChatApi(undefined, this.baseURL, this.api);
72
+ this.ServiceAccountsApi = new doc.ServiceAccountsApi(undefined, this.baseURL, this.api);
73
+ this.ContentPlanApi = new doc.ContentPlanApi(undefined, this.baseURL, this.api);
74
+ this.SEOApi = new doc.SEOApi(undefined, this.baseURL, this.api);
71
75
  this.interceptors = {
72
76
  request: this.api.interceptors.request,
73
77
  response: this.api.interceptors.response,
package/dist/index.mjs CHANGED
@@ -36,6 +36,10 @@ export class ApiClient {
36
36
  this.NavigationApi = new doc.NavigationApi(undefined, this.baseURL, this.api);
37
37
  this.PlanApi = new doc.PlanApi(undefined, this.baseURL, this.api);
38
38
  this.UrlRedirectApi = new doc.UrlRedirectApi(undefined, this.baseURL, this.api);
39
+ this.AiChatApi = new doc.AiChatApi(undefined, this.baseURL, this.api);
40
+ this.ServiceAccountsApi = new doc.ServiceAccountsApi(undefined, this.baseURL, this.api);
41
+ this.ContentPlanApi = new doc.ContentPlanApi(undefined, this.baseURL, this.api);
42
+ this.SEOApi = new doc.SEOApi(undefined, this.baseURL, this.api);
39
43
  this.interceptors = {
40
44
  request: this.api.interceptors.request,
41
45
  response: this.api.interceptors.response,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api",
3
- "version": "1.3.69",
3
+ "version": "1.3.71",
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": "da285f00f609014d0a34f7df591a974aa0348c98"
40
+ "gitHead": "fce13875010e36bae190d57b9aaa822091e120a1"
41
41
  }