@infisale-client/api 1.2.43 → 1.2.45

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
@@ -7262,7 +7262,7 @@ export interface IThemePatchRequest {
7262
7262
  * @type {IThemeResponseTemplate}
7263
7263
  * @memberof IThemePatchRequest
7264
7264
  */
7265
- 'template': IThemeResponseTemplate;
7265
+ 'template'?: IThemeResponseTemplate;
7266
7266
  /**
7267
7267
  *
7268
7268
  * @type {string}
@@ -17009,10 +17009,11 @@ export declare const ThemeApiAxiosParamCreator: (configuration?: Configuration)
17009
17009
  deleteTheme: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17010
17010
  /**
17011
17011
  *
17012
+ * @param {string} companyId
17012
17013
  * @param {*} [options] Override http request option.
17013
17014
  * @throws {RequiredError}
17014
17015
  */
17015
- getCompanyThemes: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17016
+ getCompanyThemes: (companyId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17016
17017
  /**
17017
17018
  *
17018
17019
  * @param {string} id
@@ -17022,11 +17023,10 @@ export declare const ThemeApiAxiosParamCreator: (configuration?: Configuration)
17022
17023
  getThemeById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17023
17024
  /**
17024
17025
  *
17025
- * @param {string} company
17026
17026
  * @param {*} [options] Override http request option.
17027
17027
  * @throws {RequiredError}
17028
17028
  */
17029
- getThemes: (company: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17029
+ getThemes: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17030
17030
  /**
17031
17031
  *
17032
17032
  * @param {string} id
@@ -17064,10 +17064,11 @@ export declare const ThemeApiFp: (configuration?: Configuration) => {
17064
17064
  deleteTheme(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
17065
17065
  /**
17066
17066
  *
17067
+ * @param {string} companyId
17067
17068
  * @param {*} [options] Override http request option.
17068
17069
  * @throws {RequiredError}
17069
17070
  */
17070
- getCompanyThemes(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IThemesResponse>>;
17071
+ getCompanyThemes(companyId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IThemesResponse>>;
17071
17072
  /**
17072
17073
  *
17073
17074
  * @param {string} id
@@ -17077,11 +17078,10 @@ export declare const ThemeApiFp: (configuration?: Configuration) => {
17077
17078
  getThemeById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IThemeResponse>>;
17078
17079
  /**
17079
17080
  *
17080
- * @param {string} company
17081
17081
  * @param {*} [options] Override http request option.
17082
17082
  * @throws {RequiredError}
17083
17083
  */
17084
- getThemes(company: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IThemesResponse>>;
17084
+ getThemes(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IThemesResponse>>;
17085
17085
  /**
17086
17086
  *
17087
17087
  * @param {string} id
@@ -17119,10 +17119,11 @@ export declare const ThemeApiFactory: (configuration?: Configuration, basePath?:
17119
17119
  deleteTheme(requestParameters: ThemeApiDeleteThemeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
17120
17120
  /**
17121
17121
  *
17122
+ * @param {ThemeApiGetCompanyThemesRequest} requestParameters Request parameters.
17122
17123
  * @param {*} [options] Override http request option.
17123
17124
  * @throws {RequiredError}
17124
17125
  */
17125
- getCompanyThemes(options?: RawAxiosRequestConfig): AxiosPromise<IThemesResponse>;
17126
+ getCompanyThemes(requestParameters: ThemeApiGetCompanyThemesRequest, options?: RawAxiosRequestConfig): AxiosPromise<IThemesResponse>;
17126
17127
  /**
17127
17128
  *
17128
17129
  * @param {ThemeApiGetThemeByIdRequest} requestParameters Request parameters.
@@ -17132,11 +17133,10 @@ export declare const ThemeApiFactory: (configuration?: Configuration, basePath?:
17132
17133
  getThemeById(requestParameters: ThemeApiGetThemeByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<IThemeResponse>;
17133
17134
  /**
17134
17135
  *
17135
- * @param {ThemeApiGetThemesRequest} requestParameters Request parameters.
17136
17136
  * @param {*} [options] Override http request option.
17137
17137
  * @throws {RequiredError}
17138
17138
  */
17139
- getThemes(requestParameters: ThemeApiGetThemesRequest, options?: RawAxiosRequestConfig): AxiosPromise<IThemesResponse>;
17139
+ getThemes(options?: RawAxiosRequestConfig): AxiosPromise<IThemesResponse>;
17140
17140
  /**
17141
17141
  *
17142
17142
  * @param {ThemeApiUpdateThemeRequest} requestParameters Request parameters.
@@ -17185,30 +17185,30 @@ export interface ThemeApiDeleteThemeRequest {
17185
17185
  readonly id: string;
17186
17186
  }
17187
17187
  /**
17188
- * Request parameters for getThemeById operation in ThemeApi.
17188
+ * Request parameters for getCompanyThemes operation in ThemeApi.
17189
17189
  * @export
17190
- * @interface ThemeApiGetThemeByIdRequest
17190
+ * @interface ThemeApiGetCompanyThemesRequest
17191
17191
  */
17192
- export interface ThemeApiGetThemeByIdRequest {
17192
+ export interface ThemeApiGetCompanyThemesRequest {
17193
17193
  /**
17194
17194
  *
17195
17195
  * @type {string}
17196
- * @memberof ThemeApiGetThemeById
17196
+ * @memberof ThemeApiGetCompanyThemes
17197
17197
  */
17198
- readonly id: string;
17198
+ readonly companyId: string;
17199
17199
  }
17200
17200
  /**
17201
- * Request parameters for getThemes operation in ThemeApi.
17201
+ * Request parameters for getThemeById operation in ThemeApi.
17202
17202
  * @export
17203
- * @interface ThemeApiGetThemesRequest
17203
+ * @interface ThemeApiGetThemeByIdRequest
17204
17204
  */
17205
- export interface ThemeApiGetThemesRequest {
17205
+ export interface ThemeApiGetThemeByIdRequest {
17206
17206
  /**
17207
17207
  *
17208
17208
  * @type {string}
17209
- * @memberof ThemeApiGetThemes
17209
+ * @memberof ThemeApiGetThemeById
17210
17210
  */
17211
- readonly company: string;
17211
+ readonly id: string;
17212
17212
  }
17213
17213
  /**
17214
17214
  * Request parameters for updateTheme operation in ThemeApi.
@@ -17262,11 +17262,12 @@ export declare class ThemeApi extends BaseAPI {
17262
17262
  deleteTheme(requestParameters: ThemeApiDeleteThemeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
17263
17263
  /**
17264
17264
  *
17265
+ * @param {ThemeApiGetCompanyThemesRequest} requestParameters Request parameters.
17265
17266
  * @param {*} [options] Override http request option.
17266
17267
  * @throws {RequiredError}
17267
17268
  * @memberof ThemeApi
17268
17269
  */
17269
- getCompanyThemes(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IThemesResponse, any>>;
17270
+ getCompanyThemes(requestParameters: ThemeApiGetCompanyThemesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IThemesResponse, any>>;
17270
17271
  /**
17271
17272
  *
17272
17273
  * @param {ThemeApiGetThemeByIdRequest} requestParameters Request parameters.
@@ -17277,12 +17278,11 @@ export declare class ThemeApi extends BaseAPI {
17277
17278
  getThemeById(requestParameters: ThemeApiGetThemeByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IThemeResponse, any>>;
17278
17279
  /**
17279
17280
  *
17280
- * @param {ThemeApiGetThemesRequest} requestParameters Request parameters.
17281
17281
  * @param {*} [options] Override http request option.
17282
17282
  * @throws {RequiredError}
17283
17283
  * @memberof ThemeApi
17284
17284
  */
17285
- getThemes(requestParameters: ThemeApiGetThemesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IThemesResponse, any>>;
17285
+ getThemes(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IThemesResponse, any>>;
17286
17286
  /**
17287
17287
  *
17288
17288
  * @param {ThemeApiUpdateThemeRequest} requestParameters Request parameters.
package/dist/api/api.js CHANGED
@@ -9504,10 +9504,13 @@ const ThemeApiAxiosParamCreator = function (configuration) {
9504
9504
  },
9505
9505
  /**
9506
9506
  *
9507
+ * @param {string} companyId
9507
9508
  * @param {*} [options] Override http request option.
9508
9509
  * @throws {RequiredError}
9509
9510
  */
9510
- getCompanyThemes: async (options = {}) => {
9511
+ getCompanyThemes: async (companyId, options = {}) => {
9512
+ // verify required parameter 'companyId' is not null or undefined
9513
+ (0, common_1.assertParamExists)('getCompanyThemes', 'companyId', companyId);
9511
9514
  const localVarPath = `/api/themes/get/company`;
9512
9515
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9513
9516
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -9518,6 +9521,9 @@ const ThemeApiAxiosParamCreator = function (configuration) {
9518
9521
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
9519
9522
  const localVarHeaderParameter = {};
9520
9523
  const localVarQueryParameter = {};
9524
+ if (companyId !== undefined) {
9525
+ localVarQueryParameter['companyId'] = companyId;
9526
+ }
9521
9527
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9522
9528
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9523
9529
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -9556,13 +9562,10 @@ const ThemeApiAxiosParamCreator = function (configuration) {
9556
9562
  },
9557
9563
  /**
9558
9564
  *
9559
- * @param {string} company
9560
9565
  * @param {*} [options] Override http request option.
9561
9566
  * @throws {RequiredError}
9562
9567
  */
9563
- getThemes: async (company, options = {}) => {
9564
- // verify required parameter 'company' is not null or undefined
9565
- (0, common_1.assertParamExists)('getThemes', 'company', company);
9568
+ getThemes: async (options = {}) => {
9566
9569
  const localVarPath = `/api/themes`;
9567
9570
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9568
9571
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -9573,9 +9576,6 @@ const ThemeApiAxiosParamCreator = function (configuration) {
9573
9576
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
9574
9577
  const localVarHeaderParameter = {};
9575
9578
  const localVarQueryParameter = {};
9576
- if (company !== undefined) {
9577
- localVarQueryParameter['company'] = company;
9578
- }
9579
9579
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9580
9580
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9581
9581
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -9665,11 +9665,12 @@ const ThemeApiFp = function (configuration) {
9665
9665
  },
9666
9666
  /**
9667
9667
  *
9668
+ * @param {string} companyId
9668
9669
  * @param {*} [options] Override http request option.
9669
9670
  * @throws {RequiredError}
9670
9671
  */
9671
- async getCompanyThemes(options) {
9672
- const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyThemes(options);
9672
+ async getCompanyThemes(companyId, options) {
9673
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyThemes(companyId, options);
9673
9674
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9674
9675
  const localVarOperationServerBasePath = base_1.operationServerMap['ThemeApi.getCompanyThemes']?.[localVarOperationServerIndex]?.url;
9675
9676
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -9688,12 +9689,11 @@ const ThemeApiFp = function (configuration) {
9688
9689
  },
9689
9690
  /**
9690
9691
  *
9691
- * @param {string} company
9692
9692
  * @param {*} [options] Override http request option.
9693
9693
  * @throws {RequiredError}
9694
9694
  */
9695
- async getThemes(company, options) {
9696
- const localVarAxiosArgs = await localVarAxiosParamCreator.getThemes(company, options);
9695
+ async getThemes(options) {
9696
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getThemes(options);
9697
9697
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9698
9698
  const localVarOperationServerBasePath = base_1.operationServerMap['ThemeApi.getThemes']?.[localVarOperationServerIndex]?.url;
9699
9699
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -9750,11 +9750,12 @@ const ThemeApiFactory = function (configuration, basePath, axios) {
9750
9750
  },
9751
9751
  /**
9752
9752
  *
9753
+ * @param {ThemeApiGetCompanyThemesRequest} requestParameters Request parameters.
9753
9754
  * @param {*} [options] Override http request option.
9754
9755
  * @throws {RequiredError}
9755
9756
  */
9756
- getCompanyThemes(options) {
9757
- return localVarFp.getCompanyThemes(options).then((request) => request(axios, basePath));
9757
+ getCompanyThemes(requestParameters, options) {
9758
+ return localVarFp.getCompanyThemes(requestParameters.companyId, options).then((request) => request(axios, basePath));
9758
9759
  },
9759
9760
  /**
9760
9761
  *
@@ -9767,12 +9768,11 @@ const ThemeApiFactory = function (configuration, basePath, axios) {
9767
9768
  },
9768
9769
  /**
9769
9770
  *
9770
- * @param {ThemeApiGetThemesRequest} requestParameters Request parameters.
9771
9771
  * @param {*} [options] Override http request option.
9772
9772
  * @throws {RequiredError}
9773
9773
  */
9774
- getThemes(requestParameters, options) {
9775
- return localVarFp.getThemes(requestParameters.company, options).then((request) => request(axios, basePath));
9774
+ getThemes(options) {
9775
+ return localVarFp.getThemes(options).then((request) => request(axios, basePath));
9776
9776
  },
9777
9777
  /**
9778
9778
  *
@@ -9825,12 +9825,13 @@ class ThemeApi extends base_1.BaseAPI {
9825
9825
  }
9826
9826
  /**
9827
9827
  *
9828
+ * @param {ThemeApiGetCompanyThemesRequest} requestParameters Request parameters.
9828
9829
  * @param {*} [options] Override http request option.
9829
9830
  * @throws {RequiredError}
9830
9831
  * @memberof ThemeApi
9831
9832
  */
9832
- getCompanyThemes(options) {
9833
- return (0, exports.ThemeApiFp)(this.configuration).getCompanyThemes(options).then((request) => request(this.axios, this.basePath));
9833
+ getCompanyThemes(requestParameters, options) {
9834
+ return (0, exports.ThemeApiFp)(this.configuration).getCompanyThemes(requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
9834
9835
  }
9835
9836
  /**
9836
9837
  *
@@ -9844,13 +9845,12 @@ class ThemeApi extends base_1.BaseAPI {
9844
9845
  }
9845
9846
  /**
9846
9847
  *
9847
- * @param {ThemeApiGetThemesRequest} requestParameters Request parameters.
9848
9848
  * @param {*} [options] Override http request option.
9849
9849
  * @throws {RequiredError}
9850
9850
  * @memberof ThemeApi
9851
9851
  */
9852
- getThemes(requestParameters, options) {
9853
- return (0, exports.ThemeApiFp)(this.configuration).getThemes(requestParameters.company, options).then((request) => request(this.axios, this.basePath));
9852
+ getThemes(options) {
9853
+ return (0, exports.ThemeApiFp)(this.configuration).getThemes(options).then((request) => request(this.axios, this.basePath));
9854
9854
  }
9855
9855
  /**
9856
9856
  *
package/dist/api/api.mjs CHANGED
@@ -9425,10 +9425,13 @@ export const ThemeApiAxiosParamCreator = function (configuration) {
9425
9425
  },
9426
9426
  /**
9427
9427
  *
9428
+ * @param {string} companyId
9428
9429
  * @param {*} [options] Override http request option.
9429
9430
  * @throws {RequiredError}
9430
9431
  */
9431
- getCompanyThemes: async (options = {}) => {
9432
+ getCompanyThemes: async (companyId, options = {}) => {
9433
+ // verify required parameter 'companyId' is not null or undefined
9434
+ assertParamExists('getCompanyThemes', 'companyId', companyId);
9432
9435
  const localVarPath = `/api/themes/get/company`;
9433
9436
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9434
9437
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -9439,6 +9442,9 @@ export const ThemeApiAxiosParamCreator = function (configuration) {
9439
9442
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
9440
9443
  const localVarHeaderParameter = {};
9441
9444
  const localVarQueryParameter = {};
9445
+ if (companyId !== undefined) {
9446
+ localVarQueryParameter['companyId'] = companyId;
9447
+ }
9442
9448
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9443
9449
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9444
9450
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -9477,13 +9483,10 @@ export const ThemeApiAxiosParamCreator = function (configuration) {
9477
9483
  },
9478
9484
  /**
9479
9485
  *
9480
- * @param {string} company
9481
9486
  * @param {*} [options] Override http request option.
9482
9487
  * @throws {RequiredError}
9483
9488
  */
9484
- getThemes: async (company, options = {}) => {
9485
- // verify required parameter 'company' is not null or undefined
9486
- assertParamExists('getThemes', 'company', company);
9489
+ getThemes: async (options = {}) => {
9487
9490
  const localVarPath = `/api/themes`;
9488
9491
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9489
9492
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -9494,9 +9497,6 @@ export const ThemeApiAxiosParamCreator = function (configuration) {
9494
9497
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
9495
9498
  const localVarHeaderParameter = {};
9496
9499
  const localVarQueryParameter = {};
9497
- if (company !== undefined) {
9498
- localVarQueryParameter['company'] = company;
9499
- }
9500
9500
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9501
9501
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9502
9502
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -9585,11 +9585,12 @@ export const ThemeApiFp = function (configuration) {
9585
9585
  },
9586
9586
  /**
9587
9587
  *
9588
+ * @param {string} companyId
9588
9589
  * @param {*} [options] Override http request option.
9589
9590
  * @throws {RequiredError}
9590
9591
  */
9591
- async getCompanyThemes(options) {
9592
- const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyThemes(options);
9592
+ async getCompanyThemes(companyId, options) {
9593
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyThemes(companyId, options);
9593
9594
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9594
9595
  const localVarOperationServerBasePath = operationServerMap['ThemeApi.getCompanyThemes']?.[localVarOperationServerIndex]?.url;
9595
9596
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -9608,12 +9609,11 @@ export const ThemeApiFp = function (configuration) {
9608
9609
  },
9609
9610
  /**
9610
9611
  *
9611
- * @param {string} company
9612
9612
  * @param {*} [options] Override http request option.
9613
9613
  * @throws {RequiredError}
9614
9614
  */
9615
- async getThemes(company, options) {
9616
- const localVarAxiosArgs = await localVarAxiosParamCreator.getThemes(company, options);
9615
+ async getThemes(options) {
9616
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getThemes(options);
9617
9617
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9618
9618
  const localVarOperationServerBasePath = operationServerMap['ThemeApi.getThemes']?.[localVarOperationServerIndex]?.url;
9619
9619
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -9669,11 +9669,12 @@ export const ThemeApiFactory = function (configuration, basePath, axios) {
9669
9669
  },
9670
9670
  /**
9671
9671
  *
9672
+ * @param {ThemeApiGetCompanyThemesRequest} requestParameters Request parameters.
9672
9673
  * @param {*} [options] Override http request option.
9673
9674
  * @throws {RequiredError}
9674
9675
  */
9675
- getCompanyThemes(options) {
9676
- return localVarFp.getCompanyThemes(options).then((request) => request(axios, basePath));
9676
+ getCompanyThemes(requestParameters, options) {
9677
+ return localVarFp.getCompanyThemes(requestParameters.companyId, options).then((request) => request(axios, basePath));
9677
9678
  },
9678
9679
  /**
9679
9680
  *
@@ -9686,12 +9687,11 @@ export const ThemeApiFactory = function (configuration, basePath, axios) {
9686
9687
  },
9687
9688
  /**
9688
9689
  *
9689
- * @param {ThemeApiGetThemesRequest} requestParameters Request parameters.
9690
9690
  * @param {*} [options] Override http request option.
9691
9691
  * @throws {RequiredError}
9692
9692
  */
9693
- getThemes(requestParameters, options) {
9694
- return localVarFp.getThemes(requestParameters.company, options).then((request) => request(axios, basePath));
9693
+ getThemes(options) {
9694
+ return localVarFp.getThemes(options).then((request) => request(axios, basePath));
9695
9695
  },
9696
9696
  /**
9697
9697
  *
@@ -9743,12 +9743,13 @@ export class ThemeApi extends BaseAPI {
9743
9743
  }
9744
9744
  /**
9745
9745
  *
9746
+ * @param {ThemeApiGetCompanyThemesRequest} requestParameters Request parameters.
9746
9747
  * @param {*} [options] Override http request option.
9747
9748
  * @throws {RequiredError}
9748
9749
  * @memberof ThemeApi
9749
9750
  */
9750
- getCompanyThemes(options) {
9751
- return ThemeApiFp(this.configuration).getCompanyThemes(options).then((request) => request(this.axios, this.basePath));
9751
+ getCompanyThemes(requestParameters, options) {
9752
+ return ThemeApiFp(this.configuration).getCompanyThemes(requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
9752
9753
  }
9753
9754
  /**
9754
9755
  *
@@ -9762,13 +9763,12 @@ export class ThemeApi extends BaseAPI {
9762
9763
  }
9763
9764
  /**
9764
9765
  *
9765
- * @param {ThemeApiGetThemesRequest} requestParameters Request parameters.
9766
9766
  * @param {*} [options] Override http request option.
9767
9767
  * @throws {RequiredError}
9768
9768
  * @memberof ThemeApi
9769
9769
  */
9770
- getThemes(requestParameters, options) {
9771
- return ThemeApiFp(this.configuration).getThemes(requestParameters.company, options).then((request) => request(this.axios, this.basePath));
9770
+ getThemes(options) {
9771
+ return ThemeApiFp(this.configuration).getThemes(options).then((request) => request(this.axios, this.basePath));
9772
9772
  }
9773
9773
  /**
9774
9774
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api",
3
- "version": "1.2.43",
3
+ "version": "1.2.45",
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": "adb7271aca127ae767d65f4ca6b980e19bf2c452"
40
+ "gitHead": "c3e55cbf1f0449c632a979781ceec1c0816cc518"
41
41
  }