@infisale-client/api 1.3.46 → 1.3.48

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.
Files changed (2) hide show
  1. package/dist/api/api.d.ts +234 -33
  2. package/package.json +2 -2
package/dist/api/api.d.ts CHANGED
@@ -4743,7 +4743,7 @@ export interface IFileResponse {
4743
4743
  * @type {string}
4744
4744
  * @memberof IFileResponse
4745
4745
  */
4746
- 'mimetype': string;
4746
+ 'mimeType': string;
4747
4747
  }
4748
4748
  /**
4749
4749
  *
@@ -4848,7 +4848,7 @@ export interface IImage {
4848
4848
  * @type {string}
4849
4849
  * @memberof IImage
4850
4850
  */
4851
- 'mimetype': string;
4851
+ 'mimeType': string;
4852
4852
  }
4853
4853
  /**
4854
4854
  *
@@ -8829,6 +8829,101 @@ export interface ITemplatesResponse {
8829
8829
  */
8830
8830
  'data': Array<ITemplateResponse>;
8831
8831
  }
8832
+ /**
8833
+ *
8834
+ * @export
8835
+ * @interface ITheme
8836
+ */
8837
+ export interface ITheme {
8838
+ /**
8839
+ *
8840
+ * @type {string}
8841
+ * @memberof ITheme
8842
+ */
8843
+ '_id': string;
8844
+ /**
8845
+ *
8846
+ * @type {number}
8847
+ * @memberof ITheme
8848
+ */
8849
+ '__v': number;
8850
+ /**
8851
+ *
8852
+ * @type {string}
8853
+ * @memberof ITheme
8854
+ */
8855
+ 'createdAt': string;
8856
+ /**
8857
+ *
8858
+ * @type {string}
8859
+ * @memberof ITheme
8860
+ */
8861
+ 'updatedAt': string;
8862
+ /**
8863
+ *
8864
+ * @type {string}
8865
+ * @memberof ITheme
8866
+ */
8867
+ 'name': string;
8868
+ /**
8869
+ *
8870
+ * @type {IImage}
8871
+ * @memberof ITheme
8872
+ */
8873
+ 'thumbnail'?: IImage;
8874
+ /**
8875
+ *
8876
+ * @type {string}
8877
+ * @memberof ITheme
8878
+ */
8879
+ 'main'?: string;
8880
+ /**
8881
+ *
8882
+ * @type {CompanyTypeEnum}
8883
+ * @memberof ITheme
8884
+ */
8885
+ 'type': CompanyTypeEnum;
8886
+ /**
8887
+ *
8888
+ * @type {string}
8889
+ * @memberof ITheme
8890
+ */
8891
+ 'company'?: string;
8892
+ /**
8893
+ *
8894
+ * @type {string}
8895
+ * @memberof ITheme
8896
+ */
8897
+ 'demoUrl'?: string;
8898
+ /**
8899
+ *
8900
+ * @type {string}
8901
+ * @memberof ITheme
8902
+ */
8903
+ 'creator'?: string;
8904
+ /**
8905
+ * Construct a type with a set of properties K of type T
8906
+ * @type {{ [key: string]: any; }}
8907
+ * @memberof ITheme
8908
+ */
8909
+ 'config': {
8910
+ [key: string]: any;
8911
+ };
8912
+ /**
8913
+ * Make all properties in T optional
8914
+ * @type {{ [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentArrayValue; }}
8915
+ * @memberof ITheme
8916
+ */
8917
+ 'groups': {
8918
+ [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentArrayValue;
8919
+ };
8920
+ /**
8921
+ *
8922
+ * @type {string}
8923
+ * @memberof ITheme
8924
+ */
8925
+ 'lastVersion': string;
8926
+ }
8832
8927
  /**
8833
8928
  *
8834
8929
  * @export
@@ -8853,6 +8948,12 @@ export interface IThemeCloneRequest {
8853
8948
  * @memberof IThemeCloneRequest
8854
8949
  */
8855
8950
  'company': string;
8951
+ /**
8952
+ *
8953
+ * @type {string}
8954
+ * @memberof IThemeCloneRequest
8955
+ */
8956
+ 'reference'?: string;
8856
8957
  }
8857
8958
  /**
8858
8959
  *
@@ -8962,12 +9063,6 @@ export interface IThemeResponse {
8962
9063
  * @memberof IThemeResponse
8963
9064
  */
8964
9065
  'thumbnail'?: IImage;
8965
- /**
8966
- *
8967
- * @type {string}
8968
- * @memberof IThemeResponse
8969
- */
8970
- 'main'?: string;
8971
9066
  /**
8972
9067
  *
8973
9068
  * @type {CompanyTypeEnum}
@@ -8994,6 +9089,12 @@ export interface IThemeResponse {
8994
9089
  * @memberof IThemeResponse
8995
9090
  */
8996
9091
  'creator'?: string;
9092
+ /**
9093
+ *
9094
+ * @type {string}
9095
+ * @memberof IThemeResponse
9096
+ */
9097
+ 'lastVersion': string;
8997
9098
  /**
8998
9099
  * Make all properties in T optional
8999
9100
  * @type {{ [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue; }}
@@ -9002,6 +9103,12 @@ export interface IThemeResponse {
9002
9103
  'groups': {
9003
9104
  [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue;
9004
9105
  };
9106
+ /**
9107
+ *
9108
+ * @type {ITheme}
9109
+ * @memberof IThemeResponse
9110
+ */
9111
+ 'main'?: ITheme;
9005
9112
  /**
9006
9113
  * Construct a type with a set of properties K of type T
9007
9114
  * @type {{ [key: string]: any; }}
@@ -9030,6 +9137,81 @@ export interface IThemeResponse {
9030
9137
  'componentConfigIndex': {
9031
9138
  [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue;
9032
9139
  };
9140
+ /**
9141
+ *
9142
+ * @type {IThemeVersion}
9143
+ * @memberof IThemeResponse
9144
+ */
9145
+ 'lastUpdate'?: IThemeVersion;
9146
+ }
9147
+ /**
9148
+ *
9149
+ * @export
9150
+ * @interface IThemeVersion
9151
+ */
9152
+ export interface IThemeVersion {
9153
+ /**
9154
+ *
9155
+ * @type {string}
9156
+ * @memberof IThemeVersion
9157
+ */
9158
+ '_id': string;
9159
+ /**
9160
+ *
9161
+ * @type {number}
9162
+ * @memberof IThemeVersion
9163
+ */
9164
+ '__v': number;
9165
+ /**
9166
+ *
9167
+ * @type {string}
9168
+ * @memberof IThemeVersion
9169
+ */
9170
+ 'createdAt': string;
9171
+ /**
9172
+ *
9173
+ * @type {string}
9174
+ * @memberof IThemeVersion
9175
+ */
9176
+ 'updatedAt': string;
9177
+ /**
9178
+ *
9179
+ * @type {string}
9180
+ * @memberof IThemeVersion
9181
+ */
9182
+ 'theme': string;
9183
+ /**
9184
+ *
9185
+ * @type {string}
9186
+ * @memberof IThemeVersion
9187
+ */
9188
+ 'version': string;
9189
+ /**
9190
+ *
9191
+ * @type {number}
9192
+ * @memberof IThemeVersion
9193
+ */
9194
+ 'size': number;
9195
+ /**
9196
+ *
9197
+ * @type {string}
9198
+ * @memberof IThemeVersion
9199
+ */
9200
+ 'changeLog': string;
9201
+ /**
9202
+ *
9203
+ * @type {boolean}
9204
+ * @memberof IThemeVersion
9205
+ */
9206
+ 'isDeprecated': boolean;
9207
+ /**
9208
+ * Construct a type with a set of properties K of type T
9209
+ * @type {{ [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue; }}
9210
+ * @memberof IThemeVersion
9211
+ */
9212
+ 'componentConfigIndex': {
9213
+ [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue;
9214
+ };
9033
9215
  }
9034
9216
  /**
9035
9217
  *
@@ -10135,6 +10317,25 @@ export interface PartialRecordLanguageEnumTitleStringDescription63StringTr {
10135
10317
  */
10136
10318
  'title': string;
10137
10319
  }
10320
+ /**
10321
+ *
10322
+ * @export
10323
+ * @interface PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentArrayValue
10324
+ */
10325
+ export interface PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentArrayValue {
10326
+ /**
10327
+ * Make all properties in T optional
10328
+ * @type {object}
10329
+ * @memberof PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentArrayValue
10330
+ */
10331
+ 'components': object;
10332
+ /**
10333
+ *
10334
+ * @type {string}
10335
+ * @memberof PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentArrayValue
10336
+ */
10337
+ 'title': string;
10338
+ }
10138
10339
  /**
10139
10340
  *
10140
10341
  * @export
@@ -12200,67 +12401,61 @@ export interface PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoRes
12200
12401
  /**
12201
12402
  * From T, pick a set of properties whose keys are in the union K
12202
12403
  * @export
12203
- * @interface PickIThemeExcludeKeyofIThemeGroups
12404
+ * @interface PickIThemeExcludeKeyofIThemeGroupsOrMain
12204
12405
  */
12205
- export interface PickIThemeExcludeKeyofIThemeGroups {
12406
+ export interface PickIThemeExcludeKeyofIThemeGroupsOrMain {
12206
12407
  /**
12207
12408
  *
12208
12409
  * @type {string}
12209
- * @memberof PickIThemeExcludeKeyofIThemeGroups
12410
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12210
12411
  */
12211
12412
  'name': string;
12212
12413
  /**
12213
12414
  *
12214
12415
  * @type {string}
12215
- * @memberof PickIThemeExcludeKeyofIThemeGroups
12416
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12216
12417
  */
12217
12418
  'company'?: string;
12218
12419
  /**
12219
12420
  *
12220
12421
  * @type {string}
12221
- * @memberof PickIThemeExcludeKeyofIThemeGroups
12422
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12222
12423
  */
12223
12424
  '_id': string;
12224
12425
  /**
12225
12426
  *
12226
12427
  * @type {number}
12227
- * @memberof PickIThemeExcludeKeyofIThemeGroups
12428
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12228
12429
  */
12229
12430
  '__v': number;
12230
12431
  /**
12231
12432
  *
12232
12433
  * @type {string}
12233
- * @memberof PickIThemeExcludeKeyofIThemeGroups
12434
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12234
12435
  */
12235
12436
  'createdAt': string;
12236
12437
  /**
12237
12438
  *
12238
12439
  * @type {string}
12239
- * @memberof PickIThemeExcludeKeyofIThemeGroups
12440
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12240
12441
  */
12241
12442
  'updatedAt': string;
12242
12443
  /**
12243
12444
  *
12244
12445
  * @type {IImage}
12245
- * @memberof PickIThemeExcludeKeyofIThemeGroups
12446
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12246
12447
  */
12247
12448
  'thumbnail'?: IImage;
12248
- /**
12249
- *
12250
- * @type {string}
12251
- * @memberof PickIThemeExcludeKeyofIThemeGroups
12252
- */
12253
- 'main'?: string;
12254
12449
  /**
12255
12450
  *
12256
12451
  * @type {CompanyTypeEnum}
12257
- * @memberof PickIThemeExcludeKeyofIThemeGroups
12452
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12258
12453
  */
12259
12454
  'type': CompanyTypeEnum;
12260
12455
  /**
12261
12456
  * Construct a type with a set of properties K of type T
12262
12457
  * @type {{ [key: string]: any; }}
12263
- * @memberof PickIThemeExcludeKeyofIThemeGroups
12458
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12264
12459
  */
12265
12460
  'config': {
12266
12461
  [key: string]: any;
@@ -12268,15 +12463,21 @@ export interface PickIThemeExcludeKeyofIThemeGroups {
12268
12463
  /**
12269
12464
  *
12270
12465
  * @type {string}
12271
- * @memberof PickIThemeExcludeKeyofIThemeGroups
12466
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12272
12467
  */
12273
12468
  'demoUrl'?: string;
12274
12469
  /**
12275
12470
  *
12276
12471
  * @type {string}
12277
- * @memberof PickIThemeExcludeKeyofIThemeGroups
12472
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12278
12473
  */
12279
12474
  'creator'?: string;
12475
+ /**
12476
+ *
12477
+ * @type {string}
12478
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
12479
+ */
12480
+ 'lastVersion': string;
12280
12481
  }
12281
12482
  /**
12282
12483
  * From T, pick a set of properties whose keys are in the union K
@@ -22327,14 +22528,14 @@ export declare const ThemeApiFp: (configuration?: Configuration) => {
22327
22528
  * @param {*} [options] Override http request option.
22328
22529
  * @throws {RequiredError}
22329
22530
  */
22330
- cloneTheme(iThemeCloneRequest: IThemeCloneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IThemeResponse>>;
22531
+ cloneTheme(iThemeCloneRequest: IThemeCloneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
22331
22532
  /**
22332
22533
  *
22333
22534
  * @param {IThemePostRequest} iThemePostRequest
22334
22535
  * @param {*} [options] Override http request option.
22335
22536
  * @throws {RequiredError}
22336
22537
  */
22337
- createTheme(iThemePostRequest: IThemePostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IThemeResponse>>;
22538
+ createTheme(iThemePostRequest: IThemePostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ITheme>>;
22338
22539
  /**
22339
22540
  *
22340
22541
  * @param {string} id
@@ -22391,14 +22592,14 @@ export declare const ThemeApiFactory: (configuration?: Configuration, basePath?:
22391
22592
  * @param {*} [options] Override http request option.
22392
22593
  * @throws {RequiredError}
22393
22594
  */
22394
- cloneTheme(requestParameters: ThemeApiCloneThemeRequest, options?: RawAxiosRequestConfig): AxiosPromise<IThemeResponse>;
22595
+ cloneTheme(requestParameters: ThemeApiCloneThemeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
22395
22596
  /**
22396
22597
  *
22397
22598
  * @param {ThemeApiCreateThemeRequest} requestParameters Request parameters.
22398
22599
  * @param {*} [options] Override http request option.
22399
22600
  * @throws {RequiredError}
22400
22601
  */
22401
- createTheme(requestParameters: ThemeApiCreateThemeRequest, options?: RawAxiosRequestConfig): AxiosPromise<IThemeResponse>;
22602
+ createTheme(requestParameters: ThemeApiCreateThemeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ITheme>;
22402
22603
  /**
22403
22604
  *
22404
22605
  * @param {ThemeApiDeleteThemeRequest} requestParameters Request parameters.
@@ -22572,7 +22773,7 @@ export declare class ThemeApi extends BaseAPI {
22572
22773
  * @throws {RequiredError}
22573
22774
  * @memberof ThemeApi
22574
22775
  */
22575
- cloneTheme(requestParameters: ThemeApiCloneThemeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IThemeResponse, any>>;
22776
+ cloneTheme(requestParameters: ThemeApiCloneThemeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
22576
22777
  /**
22577
22778
  *
22578
22779
  * @param {ThemeApiCreateThemeRequest} requestParameters Request parameters.
@@ -22580,7 +22781,7 @@ export declare class ThemeApi extends BaseAPI {
22580
22781
  * @throws {RequiredError}
22581
22782
  * @memberof ThemeApi
22582
22783
  */
22583
- createTheme(requestParameters: ThemeApiCreateThemeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IThemeResponse, any>>;
22784
+ createTheme(requestParameters: ThemeApiCreateThemeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ITheme, any>>;
22584
22785
  /**
22585
22786
  *
22586
22787
  * @param {ThemeApiDeleteThemeRequest} requestParameters Request parameters.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api",
3
- "version": "1.3.46",
3
+ "version": "1.3.48",
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": "8eb47500e7a879a9dea53b524c9883d85264d9a7"
40
+ "gitHead": "027f47e0d93a9584af59d03677c65262452b4147"
41
41
  }