@infisale-client/api-client 1.3.30 → 1.3.31

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
@@ -2741,6 +2741,25 @@ export declare const ICompanyCollectionQueryParamsDateFieldEnum: {
2741
2741
  readonly UPDATED_AT: "updatedAt";
2742
2742
  };
2743
2743
  export type ICompanyCollectionQueryParamsDateFieldEnum = typeof ICompanyCollectionQueryParamsDateFieldEnum[keyof typeof ICompanyCollectionQueryParamsDateFieldEnum];
2744
+ /**
2745
+ *
2746
+ * @export
2747
+ * @interface ICompanyCreateLanguageRequest
2748
+ */
2749
+ export interface ICompanyCreateLanguageRequest {
2750
+ /**
2751
+ *
2752
+ * @type {LanguageEnum}
2753
+ * @memberof ICompanyCreateLanguageRequest
2754
+ */
2755
+ 'language': LanguageEnum;
2756
+ /**
2757
+ *
2758
+ * @type {boolean}
2759
+ * @memberof ICompanyCreateLanguageRequest
2760
+ */
2761
+ 'main'?: boolean;
2762
+ }
2744
2763
  /**
2745
2764
  *
2746
2765
  * @export
@@ -15540,11 +15559,12 @@ export declare const UrlRedirectApiAxiosParamCreator: (configuration?: Configura
15540
15559
  /**
15541
15560
  *
15542
15561
  * @param {string} from
15543
- * @param {string} companyId
15562
+ * @param {string} [companyId]
15563
+ * @param {string} [domain]
15544
15564
  * @param {*} [options] Override http request option.
15545
15565
  * @throws {RequiredError}
15546
15566
  */
15547
- getUrlRedirectBySource: (from: string, companyId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15567
+ getUrlRedirectBySource: (from: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15548
15568
  };
15549
15569
  /**
15550
15570
  * UrlRedirectApi - functional programming interface
@@ -15554,11 +15574,12 @@ export declare const UrlRedirectApiFp: (configuration?: Configuration) => {
15554
15574
  /**
15555
15575
  *
15556
15576
  * @param {string} from
15557
- * @param {string} companyId
15577
+ * @param {string} [companyId]
15578
+ * @param {string} [domain]
15558
15579
  * @param {*} [options] Override http request option.
15559
15580
  * @throws {RequiredError}
15560
15581
  */
15561
- getUrlRedirectBySource(from: string, companyId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUrlRedirectResponse>>;
15582
+ getUrlRedirectBySource(from: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUrlRedirectResponse>>;
15562
15583
  };
15563
15584
  /**
15564
15585
  * UrlRedirectApi - factory interface
@@ -15590,7 +15611,13 @@ export interface UrlRedirectApiGetUrlRedirectBySourceRequest {
15590
15611
  * @type {string}
15591
15612
  * @memberof UrlRedirectApiGetUrlRedirectBySource
15592
15613
  */
15593
- readonly companyId: string;
15614
+ readonly companyId?: string;
15615
+ /**
15616
+ *
15617
+ * @type {string}
15618
+ * @memberof UrlRedirectApiGetUrlRedirectBySource
15619
+ */
15620
+ readonly domain?: string;
15594
15621
  }
15595
15622
  /**
15596
15623
  * UrlRedirectApi - object-oriented interface
package/dist/api/api.js CHANGED
@@ -3978,15 +3978,14 @@ const UrlRedirectApiAxiosParamCreator = function (configuration) {
3978
3978
  /**
3979
3979
  *
3980
3980
  * @param {string} from
3981
- * @param {string} companyId
3981
+ * @param {string} [companyId]
3982
+ * @param {string} [domain]
3982
3983
  * @param {*} [options] Override http request option.
3983
3984
  * @throws {RequiredError}
3984
3985
  */
3985
- getUrlRedirectBySource: async (from, companyId, options = {}) => {
3986
+ getUrlRedirectBySource: async (from, companyId, domain, options = {}) => {
3986
3987
  // verify required parameter 'from' is not null or undefined
3987
3988
  (0, common_1.assertParamExists)('getUrlRedirectBySource', 'from', from);
3988
- // verify required parameter 'companyId' is not null or undefined
3989
- (0, common_1.assertParamExists)('getUrlRedirectBySource', 'companyId', companyId);
3990
3989
  const localVarPath = `/api/url-redirects/from`;
3991
3990
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3992
3991
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -4003,6 +4002,9 @@ const UrlRedirectApiAxiosParamCreator = function (configuration) {
4003
4002
  if (companyId !== undefined) {
4004
4003
  localVarQueryParameter['companyId'] = companyId;
4005
4004
  }
4005
+ if (domain !== undefined) {
4006
+ localVarQueryParameter['domain'] = domain;
4007
+ }
4006
4008
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4007
4009
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4008
4010
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -4024,12 +4026,13 @@ const UrlRedirectApiFp = function (configuration) {
4024
4026
  /**
4025
4027
  *
4026
4028
  * @param {string} from
4027
- * @param {string} companyId
4029
+ * @param {string} [companyId]
4030
+ * @param {string} [domain]
4028
4031
  * @param {*} [options] Override http request option.
4029
4032
  * @throws {RequiredError}
4030
4033
  */
4031
- async getUrlRedirectBySource(from, companyId, options) {
4032
- const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, options);
4034
+ async getUrlRedirectBySource(from, companyId, domain, options) {
4035
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, domain, options);
4033
4036
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4034
4037
  const localVarOperationServerBasePath = base_1.operationServerMap['UrlRedirectApi.getUrlRedirectBySource']?.[localVarOperationServerIndex]?.url;
4035
4038
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -4051,7 +4054,7 @@ const UrlRedirectApiFactory = function (configuration, basePath, axios) {
4051
4054
  * @throws {RequiredError}
4052
4055
  */
4053
4056
  getUrlRedirectBySource(requestParameters, options) {
4054
- return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(axios, basePath));
4057
+ return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
4055
4058
  },
4056
4059
  };
4057
4060
  };
@@ -4071,7 +4074,7 @@ class UrlRedirectApi extends base_1.BaseAPI {
4071
4074
  * @memberof UrlRedirectApi
4072
4075
  */
4073
4076
  getUrlRedirectBySource(requestParameters, options) {
4074
- return (0, exports.UrlRedirectApiFp)(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
4077
+ return (0, exports.UrlRedirectApiFp)(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
4075
4078
  }
4076
4079
  }
4077
4080
  exports.UrlRedirectApi = UrlRedirectApi;
package/dist/api/api.mjs CHANGED
@@ -3919,15 +3919,14 @@ export const UrlRedirectApiAxiosParamCreator = function (configuration) {
3919
3919
  /**
3920
3920
  *
3921
3921
  * @param {string} from
3922
- * @param {string} companyId
3922
+ * @param {string} [companyId]
3923
+ * @param {string} [domain]
3923
3924
  * @param {*} [options] Override http request option.
3924
3925
  * @throws {RequiredError}
3925
3926
  */
3926
- getUrlRedirectBySource: async (from, companyId, options = {}) => {
3927
+ getUrlRedirectBySource: async (from, companyId, domain, options = {}) => {
3927
3928
  // verify required parameter 'from' is not null or undefined
3928
3929
  assertParamExists('getUrlRedirectBySource', 'from', from);
3929
- // verify required parameter 'companyId' is not null or undefined
3930
- assertParamExists('getUrlRedirectBySource', 'companyId', companyId);
3931
3930
  const localVarPath = `/api/url-redirects/from`;
3932
3931
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3933
3932
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3944,6 +3943,9 @@ export const UrlRedirectApiAxiosParamCreator = function (configuration) {
3944
3943
  if (companyId !== undefined) {
3945
3944
  localVarQueryParameter['companyId'] = companyId;
3946
3945
  }
3946
+ if (domain !== undefined) {
3947
+ localVarQueryParameter['domain'] = domain;
3948
+ }
3947
3949
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3948
3950
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3949
3951
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -3964,12 +3966,13 @@ export const UrlRedirectApiFp = function (configuration) {
3964
3966
  /**
3965
3967
  *
3966
3968
  * @param {string} from
3967
- * @param {string} companyId
3969
+ * @param {string} [companyId]
3970
+ * @param {string} [domain]
3968
3971
  * @param {*} [options] Override http request option.
3969
3972
  * @throws {RequiredError}
3970
3973
  */
3971
- async getUrlRedirectBySource(from, companyId, options) {
3972
- const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, options);
3974
+ async getUrlRedirectBySource(from, companyId, domain, options) {
3975
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, domain, options);
3973
3976
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3974
3977
  const localVarOperationServerBasePath = operationServerMap['UrlRedirectApi.getUrlRedirectBySource']?.[localVarOperationServerIndex]?.url;
3975
3978
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3990,7 +3993,7 @@ export const UrlRedirectApiFactory = function (configuration, basePath, axios) {
3990
3993
  * @throws {RequiredError}
3991
3994
  */
3992
3995
  getUrlRedirectBySource(requestParameters, options) {
3993
- return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(axios, basePath));
3996
+ return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
3994
3997
  },
3995
3998
  };
3996
3999
  };
@@ -4009,7 +4012,7 @@ export class UrlRedirectApi extends BaseAPI {
4009
4012
  * @memberof UrlRedirectApi
4010
4013
  */
4011
4014
  getUrlRedirectBySource(requestParameters, options) {
4012
- return UrlRedirectApiFp(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
4015
+ return UrlRedirectApiFp(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
4013
4016
  }
4014
4017
  }
4015
4018
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api-client",
3
- "version": "1.3.30",
3
+ "version": "1.3.31",
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": "edc22a366d2e1b45b12a5343347591492f244a15"
40
+ "gitHead": "32fd9f1776dbff5442b596356e8130b82571eea3"
41
41
  }