@infisale-client/api 1.3.60 → 1.3.61

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
@@ -9364,10 +9364,10 @@ export interface IThemesQueryParams {
9364
9364
  'companyId'?: string;
9365
9365
  /**
9366
9366
  *
9367
- * @type {ThemeKeywordEnum}
9367
+ * @type {Array<ThemeKeywordEnum>}
9368
9368
  * @memberof IThemesQueryParams
9369
9369
  */
9370
- 'keyword'?: ThemeKeywordEnum;
9370
+ 'keywords'?: Array<ThemeKeywordEnum>;
9371
9371
  /**
9372
9372
  *
9373
9373
  * @type {boolean}
@@ -23442,12 +23442,12 @@ export declare const ThemeApiAxiosParamCreator: (configuration?: Configuration)
23442
23442
  *
23443
23443
  * @param {CompanyTypeEnum} [type]
23444
23444
  * @param {string} [companyId]
23445
- * @param {ThemeKeywordEnum} [keyword]
23445
+ * @param {Array<ThemeKeywordEnum>} [keywords]
23446
23446
  * @param {boolean} [active]
23447
23447
  * @param {*} [options] Override http request option.
23448
23448
  * @throws {RequiredError}
23449
23449
  */
23450
- getThemes: (type?: CompanyTypeEnum, companyId?: string, keyword?: ThemeKeywordEnum, active?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
23450
+ getThemes: (type?: CompanyTypeEnum, companyId?: string, keywords?: Array<ThemeKeywordEnum>, active?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
23451
23451
  /**
23452
23452
  *
23453
23453
  * @param {string} id
@@ -23518,12 +23518,12 @@ export declare const ThemeApiFp: (configuration?: Configuration) => {
23518
23518
  *
23519
23519
  * @param {CompanyTypeEnum} [type]
23520
23520
  * @param {string} [companyId]
23521
- * @param {ThemeKeywordEnum} [keyword]
23521
+ * @param {Array<ThemeKeywordEnum>} [keywords]
23522
23522
  * @param {boolean} [active]
23523
23523
  * @param {*} [options] Override http request option.
23524
23524
  * @throws {RequiredError}
23525
23525
  */
23526
- getThemes(type?: CompanyTypeEnum, companyId?: string, keyword?: ThemeKeywordEnum, active?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IThemesResponse>>;
23526
+ getThemes(type?: CompanyTypeEnum, companyId?: string, keywords?: Array<ThemeKeywordEnum>, active?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IThemesResponse>>;
23527
23527
  /**
23528
23528
  *
23529
23529
  * @param {string} id
@@ -23710,10 +23710,10 @@ export interface ThemeApiGetThemesRequest {
23710
23710
  readonly companyId?: string;
23711
23711
  /**
23712
23712
  *
23713
- * @type {ThemeKeywordEnum}
23713
+ * @type {Array<ThemeKeywordEnum>}
23714
23714
  * @memberof ThemeApiGetThemes
23715
23715
  */
23716
- readonly keyword?: ThemeKeywordEnum;
23716
+ readonly keywords?: Array<ThemeKeywordEnum>;
23717
23717
  /**
23718
23718
  *
23719
23719
  * @type {boolean}
package/dist/api/api.js CHANGED
@@ -12281,12 +12281,12 @@ const ThemeApiAxiosParamCreator = function (configuration) {
12281
12281
  *
12282
12282
  * @param {CompanyTypeEnum} [type]
12283
12283
  * @param {string} [companyId]
12284
- * @param {ThemeKeywordEnum} [keyword]
12284
+ * @param {Array<ThemeKeywordEnum>} [keywords]
12285
12285
  * @param {boolean} [active]
12286
12286
  * @param {*} [options] Override http request option.
12287
12287
  * @throws {RequiredError}
12288
12288
  */
12289
- getThemes: async (type, companyId, keyword, active, options = {}) => {
12289
+ getThemes: async (type, companyId, keywords, active, options = {}) => {
12290
12290
  const localVarPath = `/api/themes`;
12291
12291
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12292
12292
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -12303,8 +12303,8 @@ const ThemeApiAxiosParamCreator = function (configuration) {
12303
12303
  if (companyId !== undefined) {
12304
12304
  localVarQueryParameter['companyId'] = companyId;
12305
12305
  }
12306
- if (keyword !== undefined) {
12307
- localVarQueryParameter['keyword'] = keyword;
12306
+ if (keywords) {
12307
+ localVarQueryParameter['keywords'] = keywords;
12308
12308
  }
12309
12309
  if (active !== undefined) {
12310
12310
  localVarQueryParameter['active'] = active;
@@ -12485,13 +12485,13 @@ const ThemeApiFp = function (configuration) {
12485
12485
  *
12486
12486
  * @param {CompanyTypeEnum} [type]
12487
12487
  * @param {string} [companyId]
12488
- * @param {ThemeKeywordEnum} [keyword]
12488
+ * @param {Array<ThemeKeywordEnum>} [keywords]
12489
12489
  * @param {boolean} [active]
12490
12490
  * @param {*} [options] Override http request option.
12491
12491
  * @throws {RequiredError}
12492
12492
  */
12493
- async getThemes(type, companyId, keyword, active, options) {
12494
- const localVarAxiosArgs = await localVarAxiosParamCreator.getThemes(type, companyId, keyword, active, options);
12493
+ async getThemes(type, companyId, keywords, active, options) {
12494
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getThemes(type, companyId, keywords, active, options);
12495
12495
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12496
12496
  const localVarOperationServerBasePath = base_1.operationServerMap['ThemeApi.getThemes']?.[localVarOperationServerIndex]?.url;
12497
12497
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -12595,7 +12595,7 @@ const ThemeApiFactory = function (configuration, basePath, axios) {
12595
12595
  * @throws {RequiredError}
12596
12596
  */
12597
12597
  getThemes(requestParameters = {}, options) {
12598
- return localVarFp.getThemes(requestParameters.type, requestParameters.companyId, requestParameters.keyword, requestParameters.active, options).then((request) => request(axios, basePath));
12598
+ return localVarFp.getThemes(requestParameters.type, requestParameters.companyId, requestParameters.keywords, requestParameters.active, options).then((request) => request(axios, basePath));
12599
12599
  },
12600
12600
  /**
12601
12601
  *
@@ -12693,7 +12693,7 @@ class ThemeApi extends base_1.BaseAPI {
12693
12693
  * @memberof ThemeApi
12694
12694
  */
12695
12695
  getThemes(requestParameters = {}, options) {
12696
- return (0, exports.ThemeApiFp)(this.configuration).getThemes(requestParameters.type, requestParameters.companyId, requestParameters.keyword, requestParameters.active, options).then((request) => request(this.axios, this.basePath));
12696
+ return (0, exports.ThemeApiFp)(this.configuration).getThemes(requestParameters.type, requestParameters.companyId, requestParameters.keywords, requestParameters.active, options).then((request) => request(this.axios, this.basePath));
12697
12697
  }
12698
12698
  /**
12699
12699
  *
package/dist/api/api.mjs CHANGED
@@ -12197,12 +12197,12 @@ export const ThemeApiAxiosParamCreator = function (configuration) {
12197
12197
  *
12198
12198
  * @param {CompanyTypeEnum} [type]
12199
12199
  * @param {string} [companyId]
12200
- * @param {ThemeKeywordEnum} [keyword]
12200
+ * @param {Array<ThemeKeywordEnum>} [keywords]
12201
12201
  * @param {boolean} [active]
12202
12202
  * @param {*} [options] Override http request option.
12203
12203
  * @throws {RequiredError}
12204
12204
  */
12205
- getThemes: async (type, companyId, keyword, active, options = {}) => {
12205
+ getThemes: async (type, companyId, keywords, active, options = {}) => {
12206
12206
  const localVarPath = `/api/themes`;
12207
12207
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12208
12208
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -12219,8 +12219,8 @@ export const ThemeApiAxiosParamCreator = function (configuration) {
12219
12219
  if (companyId !== undefined) {
12220
12220
  localVarQueryParameter['companyId'] = companyId;
12221
12221
  }
12222
- if (keyword !== undefined) {
12223
- localVarQueryParameter['keyword'] = keyword;
12222
+ if (keywords) {
12223
+ localVarQueryParameter['keywords'] = keywords;
12224
12224
  }
12225
12225
  if (active !== undefined) {
12226
12226
  localVarQueryParameter['active'] = active;
@@ -12400,13 +12400,13 @@ export const ThemeApiFp = function (configuration) {
12400
12400
  *
12401
12401
  * @param {CompanyTypeEnum} [type]
12402
12402
  * @param {string} [companyId]
12403
- * @param {ThemeKeywordEnum} [keyword]
12403
+ * @param {Array<ThemeKeywordEnum>} [keywords]
12404
12404
  * @param {boolean} [active]
12405
12405
  * @param {*} [options] Override http request option.
12406
12406
  * @throws {RequiredError}
12407
12407
  */
12408
- async getThemes(type, companyId, keyword, active, options) {
12409
- const localVarAxiosArgs = await localVarAxiosParamCreator.getThemes(type, companyId, keyword, active, options);
12408
+ async getThemes(type, companyId, keywords, active, options) {
12409
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getThemes(type, companyId, keywords, active, options);
12410
12410
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12411
12411
  const localVarOperationServerBasePath = operationServerMap['ThemeApi.getThemes']?.[localVarOperationServerIndex]?.url;
12412
12412
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -12509,7 +12509,7 @@ export const ThemeApiFactory = function (configuration, basePath, axios) {
12509
12509
  * @throws {RequiredError}
12510
12510
  */
12511
12511
  getThemes(requestParameters = {}, options) {
12512
- return localVarFp.getThemes(requestParameters.type, requestParameters.companyId, requestParameters.keyword, requestParameters.active, options).then((request) => request(axios, basePath));
12512
+ return localVarFp.getThemes(requestParameters.type, requestParameters.companyId, requestParameters.keywords, requestParameters.active, options).then((request) => request(axios, basePath));
12513
12513
  },
12514
12514
  /**
12515
12515
  *
@@ -12606,7 +12606,7 @@ export class ThemeApi extends BaseAPI {
12606
12606
  * @memberof ThemeApi
12607
12607
  */
12608
12608
  getThemes(requestParameters = {}, options) {
12609
- return ThemeApiFp(this.configuration).getThemes(requestParameters.type, requestParameters.companyId, requestParameters.keyword, requestParameters.active, options).then((request) => request(this.axios, this.basePath));
12609
+ return ThemeApiFp(this.configuration).getThemes(requestParameters.type, requestParameters.companyId, requestParameters.keywords, requestParameters.active, options).then((request) => request(this.axios, this.basePath));
12610
12610
  }
12611
12611
  /**
12612
12612
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api",
3
- "version": "1.3.60",
3
+ "version": "1.3.61",
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": "a11ef1477b38547d23af5de077f094a7f8aa3d0d"
40
+ "gitHead": "e40467a88dd8b39d367040af80221304689e4036"
41
41
  }