@infisale-client/api-client 1.3.13 → 1.3.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api/api.d.ts CHANGED
@@ -14993,10 +14993,13 @@ export declare const UniquePageApiAxiosParamCreator: (configuration?: Configurat
14993
14993
  /**
14994
14994
  *
14995
14995
  * @param {string} type
14996
+ * @param {string} [companyId]
14997
+ * @param {string} [domain]
14998
+ * @param {string} [template]
14996
14999
  * @param {*} [options] Override http request option.
14997
15000
  * @throws {RequiredError}
14998
15001
  */
14999
- getUniquePageByType: (type: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15002
+ getUniquePageByType: (type: string, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15000
15003
  };
15001
15004
  /**
15002
15005
  * UniquePageApi - functional programming interface
@@ -15006,10 +15009,13 @@ export declare const UniquePageApiFp: (configuration?: Configuration) => {
15006
15009
  /**
15007
15010
  *
15008
15011
  * @param {string} type
15012
+ * @param {string} [companyId]
15013
+ * @param {string} [domain]
15014
+ * @param {string} [template]
15009
15015
  * @param {*} [options] Override http request option.
15010
15016
  * @throws {RequiredError}
15011
15017
  */
15012
- getUniquePageByType(type: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUniquePageResponse>>;
15018
+ getUniquePageByType(type: string, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUniquePageResponse>>;
15013
15019
  };
15014
15020
  /**
15015
15021
  * UniquePageApi - factory interface
@@ -15036,6 +15042,24 @@ export interface UniquePageApiGetUniquePageByTypeRequest {
15036
15042
  * @memberof UniquePageApiGetUniquePageByType
15037
15043
  */
15038
15044
  readonly type: string;
15045
+ /**
15046
+ *
15047
+ * @type {string}
15048
+ * @memberof UniquePageApiGetUniquePageByType
15049
+ */
15050
+ readonly companyId?: string;
15051
+ /**
15052
+ *
15053
+ * @type {string}
15054
+ * @memberof UniquePageApiGetUniquePageByType
15055
+ */
15056
+ readonly domain?: string;
15057
+ /**
15058
+ *
15059
+ * @type {string}
15060
+ * @memberof UniquePageApiGetUniquePageByType
15061
+ */
15062
+ readonly template?: string;
15039
15063
  }
15040
15064
  /**
15041
15065
  * UniquePageApi - object-oriented interface
package/dist/api/api.js CHANGED
@@ -3919,10 +3919,13 @@ const UniquePageApiAxiosParamCreator = function (configuration) {
3919
3919
  /**
3920
3920
  *
3921
3921
  * @param {string} type
3922
+ * @param {string} [companyId]
3923
+ * @param {string} [domain]
3924
+ * @param {string} [template]
3922
3925
  * @param {*} [options] Override http request option.
3923
3926
  * @throws {RequiredError}
3924
3927
  */
3925
- getUniquePageByType: async (type, options = {}) => {
3928
+ getUniquePageByType: async (type, companyId, domain, template, options = {}) => {
3926
3929
  // verify required parameter 'type' is not null or undefined
3927
3930
  (0, common_1.assertParamExists)('getUniquePageByType', 'type', type);
3928
3931
  const localVarPath = `/api/unique-pages/type/{type}`
@@ -3936,6 +3939,15 @@ const UniquePageApiAxiosParamCreator = function (configuration) {
3936
3939
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
3937
3940
  const localVarHeaderParameter = {};
3938
3941
  const localVarQueryParameter = {};
3942
+ if (companyId !== undefined) {
3943
+ localVarQueryParameter['companyId'] = companyId;
3944
+ }
3945
+ if (domain !== undefined) {
3946
+ localVarQueryParameter['domain'] = domain;
3947
+ }
3948
+ if (template !== undefined) {
3949
+ localVarQueryParameter['template'] = template;
3950
+ }
3939
3951
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3940
3952
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3941
3953
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -3957,11 +3969,14 @@ const UniquePageApiFp = function (configuration) {
3957
3969
  /**
3958
3970
  *
3959
3971
  * @param {string} type
3972
+ * @param {string} [companyId]
3973
+ * @param {string} [domain]
3974
+ * @param {string} [template]
3960
3975
  * @param {*} [options] Override http request option.
3961
3976
  * @throws {RequiredError}
3962
3977
  */
3963
- async getUniquePageByType(type, options) {
3964
- const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePageByType(type, options);
3978
+ async getUniquePageByType(type, companyId, domain, template, options) {
3979
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePageByType(type, companyId, domain, template, options);
3965
3980
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3966
3981
  const localVarOperationServerBasePath = base_1.operationServerMap['UniquePageApi.getUniquePageByType']?.[localVarOperationServerIndex]?.url;
3967
3982
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3983,7 +3998,7 @@ const UniquePageApiFactory = function (configuration, basePath, axios) {
3983
3998
  * @throws {RequiredError}
3984
3999
  */
3985
4000
  getUniquePageByType(requestParameters, options) {
3986
- return localVarFp.getUniquePageByType(requestParameters.type, options).then((request) => request(axios, basePath));
4001
+ return localVarFp.getUniquePageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(axios, basePath));
3987
4002
  },
3988
4003
  };
3989
4004
  };
@@ -4003,7 +4018,7 @@ class UniquePageApi extends base_1.BaseAPI {
4003
4018
  * @memberof UniquePageApi
4004
4019
  */
4005
4020
  getUniquePageByType(requestParameters, options) {
4006
- return (0, exports.UniquePageApiFp)(this.configuration).getUniquePageByType(requestParameters.type, options).then((request) => request(this.axios, this.basePath));
4021
+ return (0, exports.UniquePageApiFp)(this.configuration).getUniquePageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(this.axios, this.basePath));
4007
4022
  }
4008
4023
  }
4009
4024
  exports.UniquePageApi = UniquePageApi;
package/dist/api/api.mjs CHANGED
@@ -3868,10 +3868,13 @@ export const UniquePageApiAxiosParamCreator = function (configuration) {
3868
3868
  /**
3869
3869
  *
3870
3870
  * @param {string} type
3871
+ * @param {string} [companyId]
3872
+ * @param {string} [domain]
3873
+ * @param {string} [template]
3871
3874
  * @param {*} [options] Override http request option.
3872
3875
  * @throws {RequiredError}
3873
3876
  */
3874
- getUniquePageByType: async (type, options = {}) => {
3877
+ getUniquePageByType: async (type, companyId, domain, template, options = {}) => {
3875
3878
  // verify required parameter 'type' is not null or undefined
3876
3879
  assertParamExists('getUniquePageByType', 'type', type);
3877
3880
  const localVarPath = `/api/unique-pages/type/{type}`
@@ -3885,6 +3888,15 @@ export const UniquePageApiAxiosParamCreator = function (configuration) {
3885
3888
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
3886
3889
  const localVarHeaderParameter = {};
3887
3890
  const localVarQueryParameter = {};
3891
+ if (companyId !== undefined) {
3892
+ localVarQueryParameter['companyId'] = companyId;
3893
+ }
3894
+ if (domain !== undefined) {
3895
+ localVarQueryParameter['domain'] = domain;
3896
+ }
3897
+ if (template !== undefined) {
3898
+ localVarQueryParameter['template'] = template;
3899
+ }
3888
3900
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3889
3901
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3890
3902
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -3905,11 +3917,14 @@ export const UniquePageApiFp = function (configuration) {
3905
3917
  /**
3906
3918
  *
3907
3919
  * @param {string} type
3920
+ * @param {string} [companyId]
3921
+ * @param {string} [domain]
3922
+ * @param {string} [template]
3908
3923
  * @param {*} [options] Override http request option.
3909
3924
  * @throws {RequiredError}
3910
3925
  */
3911
- async getUniquePageByType(type, options) {
3912
- const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePageByType(type, options);
3926
+ async getUniquePageByType(type, companyId, domain, template, options) {
3927
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePageByType(type, companyId, domain, template, options);
3913
3928
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3914
3929
  const localVarOperationServerBasePath = operationServerMap['UniquePageApi.getUniquePageByType']?.[localVarOperationServerIndex]?.url;
3915
3930
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3930,7 +3945,7 @@ export const UniquePageApiFactory = function (configuration, basePath, axios) {
3930
3945
  * @throws {RequiredError}
3931
3946
  */
3932
3947
  getUniquePageByType(requestParameters, options) {
3933
- return localVarFp.getUniquePageByType(requestParameters.type, options).then((request) => request(axios, basePath));
3948
+ return localVarFp.getUniquePageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(axios, basePath));
3934
3949
  },
3935
3950
  };
3936
3951
  };
@@ -3949,7 +3964,7 @@ export class UniquePageApi extends BaseAPI {
3949
3964
  * @memberof UniquePageApi
3950
3965
  */
3951
3966
  getUniquePageByType(requestParameters, options) {
3952
- return UniquePageApiFp(this.configuration).getUniquePageByType(requestParameters.type, options).then((request) => request(this.axios, this.basePath));
3967
+ return UniquePageApiFp(this.configuration).getUniquePageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(this.axios, this.basePath));
3953
3968
  }
3954
3969
  }
3955
3970
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api-client",
3
- "version": "1.3.13",
3
+ "version": "1.3.14",
4
4
  "description": "api-client-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": "6d7686ae8adaf188bb8fa4adc3203561065bc6e4"
40
+ "gitHead": "8e51b1b93bf08404bd818ca52c09bb067646a373"
41
41
  }