@infisale-client/api 1.3.48 → 1.3.49

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
@@ -22512,10 +22512,12 @@ export declare const ThemeApiAxiosParamCreator: (configuration?: Configuration)
22512
22512
  *
22513
22513
  * @param {string} id
22514
22514
  * @param {File} file
22515
+ * @param {string} version
22516
+ * @param {string} changeLog
22515
22517
  * @param {*} [options] Override http request option.
22516
22518
  * @throws {RequiredError}
22517
22519
  */
22518
- updateThemeFiles: (id: string, file: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22520
+ updateThemeFiles: (id: string, file: File, version: string, changeLog: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22519
22521
  };
22520
22522
  /**
22521
22523
  * ThemeApi - functional programming interface
@@ -22576,10 +22578,12 @@ export declare const ThemeApiFp: (configuration?: Configuration) => {
22576
22578
  *
22577
22579
  * @param {string} id
22578
22580
  * @param {File} file
22581
+ * @param {string} version
22582
+ * @param {string} changeLog
22579
22583
  * @param {*} [options] Override http request option.
22580
22584
  * @throws {RequiredError}
22581
22585
  */
22582
- updateThemeFiles(id: string, file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
22586
+ updateThemeFiles(id: string, file: File, version: string, changeLog: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
22583
22587
  };
22584
22588
  /**
22585
22589
  * ThemeApi - factory interface
@@ -22758,6 +22762,18 @@ export interface ThemeApiUpdateThemeFilesRequest {
22758
22762
  * @memberof ThemeApiUpdateThemeFiles
22759
22763
  */
22760
22764
  readonly file: File;
22765
+ /**
22766
+ *
22767
+ * @type {string}
22768
+ * @memberof ThemeApiUpdateThemeFiles
22769
+ */
22770
+ readonly version: string;
22771
+ /**
22772
+ *
22773
+ * @type {string}
22774
+ * @memberof ThemeApiUpdateThemeFiles
22775
+ */
22776
+ readonly changeLog: string;
22761
22777
  }
22762
22778
  /**
22763
22779
  * ThemeApi - object-oriented interface
package/dist/api/api.js CHANGED
@@ -12211,14 +12211,20 @@ const ThemeApiAxiosParamCreator = function (configuration) {
12211
12211
  *
12212
12212
  * @param {string} id
12213
12213
  * @param {File} file
12214
+ * @param {string} version
12215
+ * @param {string} changeLog
12214
12216
  * @param {*} [options] Override http request option.
12215
12217
  * @throws {RequiredError}
12216
12218
  */
12217
- updateThemeFiles: async (id, file, options = {}) => {
12219
+ updateThemeFiles: async (id, file, version, changeLog, options = {}) => {
12218
12220
  // verify required parameter 'id' is not null or undefined
12219
12221
  (0, common_1.assertParamExists)('updateThemeFiles', 'id', id);
12220
12222
  // verify required parameter 'file' is not null or undefined
12221
12223
  (0, common_1.assertParamExists)('updateThemeFiles', 'file', file);
12224
+ // verify required parameter 'version' is not null or undefined
12225
+ (0, common_1.assertParamExists)('updateThemeFiles', 'version', version);
12226
+ // verify required parameter 'changeLog' is not null or undefined
12227
+ (0, common_1.assertParamExists)('updateThemeFiles', 'changeLog', changeLog);
12222
12228
  const localVarPath = `/api/themes/{id}/files`
12223
12229
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
12224
12230
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -12234,6 +12240,12 @@ const ThemeApiAxiosParamCreator = function (configuration) {
12234
12240
  if (file !== undefined) {
12235
12241
  localVarFormParams.append('file', file);
12236
12242
  }
12243
+ if (version !== undefined) {
12244
+ localVarFormParams.append('version', version);
12245
+ }
12246
+ if (changeLog !== undefined) {
12247
+ localVarFormParams.append('changeLog', changeLog);
12248
+ }
12237
12249
  localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
12238
12250
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12239
12251
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -12343,11 +12355,13 @@ const ThemeApiFp = function (configuration) {
12343
12355
  *
12344
12356
  * @param {string} id
12345
12357
  * @param {File} file
12358
+ * @param {string} version
12359
+ * @param {string} changeLog
12346
12360
  * @param {*} [options] Override http request option.
12347
12361
  * @throws {RequiredError}
12348
12362
  */
12349
- async updateThemeFiles(id, file, options) {
12350
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateThemeFiles(id, file, options);
12363
+ async updateThemeFiles(id, file, version, changeLog, options) {
12364
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateThemeFiles(id, file, version, changeLog, options);
12351
12365
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12352
12366
  const localVarOperationServerBasePath = base_1.operationServerMap['ThemeApi.updateThemeFiles']?.[localVarOperationServerIndex]?.url;
12353
12367
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -12432,7 +12446,7 @@ const ThemeApiFactory = function (configuration, basePath, axios) {
12432
12446
  * @throws {RequiredError}
12433
12447
  */
12434
12448
  updateThemeFiles(requestParameters, options) {
12435
- return localVarFp.updateThemeFiles(requestParameters.id, requestParameters.file, options).then((request) => request(axios, basePath));
12449
+ return localVarFp.updateThemeFiles(requestParameters.id, requestParameters.file, requestParameters.version, requestParameters.changeLog, options).then((request) => request(axios, basePath));
12436
12450
  },
12437
12451
  };
12438
12452
  };
@@ -12522,7 +12536,7 @@ class ThemeApi extends base_1.BaseAPI {
12522
12536
  * @memberof ThemeApi
12523
12537
  */
12524
12538
  updateThemeFiles(requestParameters, options) {
12525
- return (0, exports.ThemeApiFp)(this.configuration).updateThemeFiles(requestParameters.id, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
12539
+ return (0, exports.ThemeApiFp)(this.configuration).updateThemeFiles(requestParameters.id, requestParameters.file, requestParameters.version, requestParameters.changeLog, options).then((request) => request(this.axios, this.basePath));
12526
12540
  }
12527
12541
  }
12528
12542
  exports.ThemeApi = ThemeApi;
package/dist/api/api.mjs CHANGED
@@ -12127,14 +12127,20 @@ export const ThemeApiAxiosParamCreator = function (configuration) {
12127
12127
  *
12128
12128
  * @param {string} id
12129
12129
  * @param {File} file
12130
+ * @param {string} version
12131
+ * @param {string} changeLog
12130
12132
  * @param {*} [options] Override http request option.
12131
12133
  * @throws {RequiredError}
12132
12134
  */
12133
- updateThemeFiles: async (id, file, options = {}) => {
12135
+ updateThemeFiles: async (id, file, version, changeLog, options = {}) => {
12134
12136
  // verify required parameter 'id' is not null or undefined
12135
12137
  assertParamExists('updateThemeFiles', 'id', id);
12136
12138
  // verify required parameter 'file' is not null or undefined
12137
12139
  assertParamExists('updateThemeFiles', 'file', file);
12140
+ // verify required parameter 'version' is not null or undefined
12141
+ assertParamExists('updateThemeFiles', 'version', version);
12142
+ // verify required parameter 'changeLog' is not null or undefined
12143
+ assertParamExists('updateThemeFiles', 'changeLog', changeLog);
12138
12144
  const localVarPath = `/api/themes/{id}/files`
12139
12145
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
12140
12146
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -12150,6 +12156,12 @@ export const ThemeApiAxiosParamCreator = function (configuration) {
12150
12156
  if (file !== undefined) {
12151
12157
  localVarFormParams.append('file', file);
12152
12158
  }
12159
+ if (version !== undefined) {
12160
+ localVarFormParams.append('version', version);
12161
+ }
12162
+ if (changeLog !== undefined) {
12163
+ localVarFormParams.append('changeLog', changeLog);
12164
+ }
12153
12165
  localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
12154
12166
  setSearchParams(localVarUrlObj, localVarQueryParameter);
12155
12167
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -12258,11 +12270,13 @@ export const ThemeApiFp = function (configuration) {
12258
12270
  *
12259
12271
  * @param {string} id
12260
12272
  * @param {File} file
12273
+ * @param {string} version
12274
+ * @param {string} changeLog
12261
12275
  * @param {*} [options] Override http request option.
12262
12276
  * @throws {RequiredError}
12263
12277
  */
12264
- async updateThemeFiles(id, file, options) {
12265
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateThemeFiles(id, file, options);
12278
+ async updateThemeFiles(id, file, version, changeLog, options) {
12279
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateThemeFiles(id, file, version, changeLog, options);
12266
12280
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12267
12281
  const localVarOperationServerBasePath = operationServerMap['ThemeApi.updateThemeFiles']?.[localVarOperationServerIndex]?.url;
12268
12282
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -12346,7 +12360,7 @@ export const ThemeApiFactory = function (configuration, basePath, axios) {
12346
12360
  * @throws {RequiredError}
12347
12361
  */
12348
12362
  updateThemeFiles(requestParameters, options) {
12349
- return localVarFp.updateThemeFiles(requestParameters.id, requestParameters.file, options).then((request) => request(axios, basePath));
12363
+ return localVarFp.updateThemeFiles(requestParameters.id, requestParameters.file, requestParameters.version, requestParameters.changeLog, options).then((request) => request(axios, basePath));
12350
12364
  },
12351
12365
  };
12352
12366
  };
@@ -12435,7 +12449,7 @@ export class ThemeApi extends BaseAPI {
12435
12449
  * @memberof ThemeApi
12436
12450
  */
12437
12451
  updateThemeFiles(requestParameters, options) {
12438
- return ThemeApiFp(this.configuration).updateThemeFiles(requestParameters.id, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
12452
+ return ThemeApiFp(this.configuration).updateThemeFiles(requestParameters.id, requestParameters.file, requestParameters.version, requestParameters.changeLog, options).then((request) => request(this.axios, this.basePath));
12439
12453
  }
12440
12454
  }
12441
12455
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api",
3
- "version": "1.3.48",
3
+ "version": "1.3.49",
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": "027f47e0d93a9584af59d03677c65262452b4147"
40
+ "gitHead": "e64a00f438fdb56745d7e2f6f554da66a218667f"
41
41
  }