@infisale-client/api 1.3.48 → 1.3.50

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
@@ -9089,12 +9089,6 @@ export interface IThemeResponse {
9089
9089
  * @memberof IThemeResponse
9090
9090
  */
9091
9091
  'creator'?: string;
9092
- /**
9093
- *
9094
- * @type {string}
9095
- * @memberof IThemeResponse
9096
- */
9097
- 'lastVersion': string;
9098
9092
  /**
9099
9093
  * Make all properties in T optional
9100
9094
  * @type {{ [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue; }}
@@ -9143,6 +9137,12 @@ export interface IThemeResponse {
9143
9137
  * @memberof IThemeResponse
9144
9138
  */
9145
9139
  'lastUpdate'?: IThemeVersion;
9140
+ /**
9141
+ *
9142
+ * @type {IThemeVersion}
9143
+ * @memberof IThemeResponse
9144
+ */
9145
+ 'lastVersion'?: IThemeVersion;
9146
9146
  }
9147
9147
  /**
9148
9148
  *
@@ -12401,61 +12401,61 @@ export interface PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoRes
12401
12401
  /**
12402
12402
  * From T, pick a set of properties whose keys are in the union K
12403
12403
  * @export
12404
- * @interface PickIThemeExcludeKeyofIThemeGroupsOrMain
12404
+ * @interface PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12405
12405
  */
12406
- export interface PickIThemeExcludeKeyofIThemeGroupsOrMain {
12406
+ export interface PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion {
12407
12407
  /**
12408
12408
  *
12409
12409
  * @type {string}
12410
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12410
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12411
12411
  */
12412
12412
  'name': string;
12413
12413
  /**
12414
12414
  *
12415
12415
  * @type {string}
12416
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12416
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12417
12417
  */
12418
12418
  'company'?: string;
12419
12419
  /**
12420
12420
  *
12421
12421
  * @type {string}
12422
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12422
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12423
12423
  */
12424
12424
  '_id': string;
12425
12425
  /**
12426
12426
  *
12427
12427
  * @type {number}
12428
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12428
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12429
12429
  */
12430
12430
  '__v': number;
12431
12431
  /**
12432
12432
  *
12433
12433
  * @type {string}
12434
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12434
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12435
12435
  */
12436
12436
  'createdAt': string;
12437
12437
  /**
12438
12438
  *
12439
12439
  * @type {string}
12440
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12440
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12441
12441
  */
12442
12442
  'updatedAt': string;
12443
12443
  /**
12444
12444
  *
12445
12445
  * @type {IImage}
12446
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12446
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12447
12447
  */
12448
12448
  'thumbnail'?: IImage;
12449
12449
  /**
12450
12450
  *
12451
12451
  * @type {CompanyTypeEnum}
12452
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12452
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12453
12453
  */
12454
12454
  'type': CompanyTypeEnum;
12455
12455
  /**
12456
12456
  * Construct a type with a set of properties K of type T
12457
12457
  * @type {{ [key: string]: any; }}
12458
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12458
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12459
12459
  */
12460
12460
  'config': {
12461
12461
  [key: string]: any;
@@ -12463,21 +12463,15 @@ export interface PickIThemeExcludeKeyofIThemeGroupsOrMain {
12463
12463
  /**
12464
12464
  *
12465
12465
  * @type {string}
12466
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12466
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12467
12467
  */
12468
12468
  'demoUrl'?: string;
12469
12469
  /**
12470
12470
  *
12471
12471
  * @type {string}
12472
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12472
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12473
12473
  */
12474
12474
  'creator'?: string;
12475
- /**
12476
- *
12477
- * @type {string}
12478
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12479
- */
12480
- 'lastVersion': string;
12481
12475
  }
12482
12476
  /**
12483
12477
  * From T, pick a set of properties whose keys are in the union K
@@ -22512,10 +22506,12 @@ export declare const ThemeApiAxiosParamCreator: (configuration?: Configuration)
22512
22506
  *
22513
22507
  * @param {string} id
22514
22508
  * @param {File} file
22509
+ * @param {string} version
22510
+ * @param {string} changeLog
22515
22511
  * @param {*} [options] Override http request option.
22516
22512
  * @throws {RequiredError}
22517
22513
  */
22518
- updateThemeFiles: (id: string, file: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22514
+ updateThemeFiles: (id: string, file: File, version: string, changeLog: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22519
22515
  };
22520
22516
  /**
22521
22517
  * ThemeApi - functional programming interface
@@ -22576,10 +22572,12 @@ export declare const ThemeApiFp: (configuration?: Configuration) => {
22576
22572
  *
22577
22573
  * @param {string} id
22578
22574
  * @param {File} file
22575
+ * @param {string} version
22576
+ * @param {string} changeLog
22579
22577
  * @param {*} [options] Override http request option.
22580
22578
  * @throws {RequiredError}
22581
22579
  */
22582
- updateThemeFiles(id: string, file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
22580
+ updateThemeFiles(id: string, file: File, version: string, changeLog: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
22583
22581
  };
22584
22582
  /**
22585
22583
  * ThemeApi - factory interface
@@ -22758,6 +22756,18 @@ export interface ThemeApiUpdateThemeFilesRequest {
22758
22756
  * @memberof ThemeApiUpdateThemeFiles
22759
22757
  */
22760
22758
  readonly file: File;
22759
+ /**
22760
+ *
22761
+ * @type {string}
22762
+ * @memberof ThemeApiUpdateThemeFiles
22763
+ */
22764
+ readonly version: string;
22765
+ /**
22766
+ *
22767
+ * @type {string}
22768
+ * @memberof ThemeApiUpdateThemeFiles
22769
+ */
22770
+ readonly changeLog: string;
22761
22771
  }
22762
22772
  /**
22763
22773
  * 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.50",
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": "a4479ac4f4ebc73065fd63100caa852c35ff7ca5"
41
41
  }