@infisale-client/api 1.3.50 → 1.3.52

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
@@ -8883,6 +8883,12 @@ export interface ITheme {
8883
8883
  * @memberof ITheme
8884
8884
  */
8885
8885
  'type': CompanyTypeEnum;
8886
+ /**
8887
+ *
8888
+ * @type {Array<string>}
8889
+ * @memberof ITheme
8890
+ */
8891
+ 'companies': Array<string>;
8886
8892
  /**
8887
8893
  *
8888
8894
  * @type {string}
@@ -8973,6 +8979,12 @@ export interface IThemePatchRequest {
8973
8979
  * @memberof IThemePatchRequest
8974
8980
  */
8975
8981
  'thumbnail'?: IImage;
8982
+ /**
8983
+ *
8984
+ * @type {Array<string>}
8985
+ * @memberof IThemePatchRequest
8986
+ */
8987
+ 'companies'?: Array<string>;
8976
8988
  /**
8977
8989
  * Make all properties in T optional
8978
8990
  * @type {{ [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue; }}
@@ -9014,6 +9026,12 @@ export interface IThemePostRequest {
9014
9026
  * @memberof IThemePostRequest
9015
9027
  */
9016
9028
  'type': CompanyTypeEnum;
9029
+ /**
9030
+ *
9031
+ * @type {Array<string>}
9032
+ * @memberof IThemePostRequest
9033
+ */
9034
+ 'companies'?: Array<string>;
9017
9035
  }
9018
9036
  /**
9019
9037
  *
@@ -9063,6 +9081,12 @@ export interface IThemeResponse {
9063
9081
  * @memberof IThemeResponse
9064
9082
  */
9065
9083
  'thumbnail'?: IImage;
9084
+ /**
9085
+ *
9086
+ * @type {string}
9087
+ * @memberof IThemeResponse
9088
+ */
9089
+ 'main'?: string;
9066
9090
  /**
9067
9091
  *
9068
9092
  * @type {CompanyTypeEnum}
@@ -9077,6 +9101,12 @@ export interface IThemeResponse {
9077
9101
  'config': {
9078
9102
  [key: string]: any;
9079
9103
  };
9104
+ /**
9105
+ *
9106
+ * @type {Array<string>}
9107
+ * @memberof IThemeResponse
9108
+ */
9109
+ 'companies': Array<string>;
9080
9110
  /**
9081
9111
  *
9082
9112
  * @type {string}
@@ -9089,6 +9119,12 @@ export interface IThemeResponse {
9089
9119
  * @memberof IThemeResponse
9090
9120
  */
9091
9121
  'creator'?: string;
9122
+ /**
9123
+ *
9124
+ * @type {string}
9125
+ * @memberof IThemeResponse
9126
+ */
9127
+ 'lastVersion': string;
9092
9128
  /**
9093
9129
  * Make all properties in T optional
9094
9130
  * @type {{ [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue; }}
@@ -9097,12 +9133,6 @@ export interface IThemeResponse {
9097
9133
  'groups': {
9098
9134
  [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue;
9099
9135
  };
9100
- /**
9101
- *
9102
- * @type {ITheme}
9103
- * @memberof IThemeResponse
9104
- */
9105
- 'main'?: ITheme;
9106
9136
  /**
9107
9137
  * Construct a type with a set of properties K of type T
9108
9138
  * @type {{ [key: string]: any; }}
@@ -9131,18 +9161,6 @@ export interface IThemeResponse {
9131
9161
  'componentConfigIndex': {
9132
9162
  [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue;
9133
9163
  };
9134
- /**
9135
- *
9136
- * @type {IThemeVersion}
9137
- * @memberof IThemeResponse
9138
- */
9139
- 'lastUpdate'?: IThemeVersion;
9140
- /**
9141
- *
9142
- * @type {IThemeVersion}
9143
- * @memberof IThemeResponse
9144
- */
9145
- 'lastVersion'?: IThemeVersion;
9146
9164
  }
9147
9165
  /**
9148
9166
  *
@@ -9221,10 +9239,246 @@ export interface IThemeVersion {
9221
9239
  export interface IThemesResponse {
9222
9240
  /**
9223
9241
  *
9224
- * @type {Array<IThemeResponse>}
9242
+ * @type {Array<IThemesResponseData>}
9225
9243
  * @memberof IThemesResponse
9226
9244
  */
9227
- 'data': Array<IThemeResponse>;
9245
+ 'data': Array<IThemesResponseData>;
9246
+ }
9247
+ /**
9248
+ *
9249
+ * @export
9250
+ * @interface IThemesResponseData
9251
+ */
9252
+ export interface IThemesResponseData {
9253
+ /**
9254
+ *
9255
+ * @type {string}
9256
+ * @memberof IThemesResponseData
9257
+ */
9258
+ 'name': string;
9259
+ /**
9260
+ *
9261
+ * @type {string}
9262
+ * @memberof IThemesResponseData
9263
+ */
9264
+ 'company'?: string;
9265
+ /**
9266
+ *
9267
+ * @type {string}
9268
+ * @memberof IThemesResponseData
9269
+ */
9270
+ '_id': string;
9271
+ /**
9272
+ *
9273
+ * @type {number}
9274
+ * @memberof IThemesResponseData
9275
+ */
9276
+ '__v': number;
9277
+ /**
9278
+ *
9279
+ * @type {string}
9280
+ * @memberof IThemesResponseData
9281
+ */
9282
+ 'createdAt': string;
9283
+ /**
9284
+ *
9285
+ * @type {string}
9286
+ * @memberof IThemesResponseData
9287
+ */
9288
+ 'updatedAt': string;
9289
+ /**
9290
+ *
9291
+ * @type {IImage}
9292
+ * @memberof IThemesResponseData
9293
+ */
9294
+ 'thumbnail'?: IImage;
9295
+ /**
9296
+ *
9297
+ * @type {CompanyTypeEnum}
9298
+ * @memberof IThemesResponseData
9299
+ */
9300
+ 'type': CompanyTypeEnum;
9301
+ /**
9302
+ * Construct a type with a set of properties K of type T
9303
+ * @type {{ [key: string]: any; }}
9304
+ * @memberof IThemesResponseData
9305
+ */
9306
+ 'config': {
9307
+ [key: string]: any;
9308
+ };
9309
+ /**
9310
+ * Make all properties in T optional
9311
+ * @type {{ [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue; }}
9312
+ * @memberof IThemesResponseData
9313
+ */
9314
+ 'groups': {
9315
+ [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue;
9316
+ };
9317
+ /**
9318
+ *
9319
+ * @type {Array<string>}
9320
+ * @memberof IThemesResponseData
9321
+ */
9322
+ 'companies': Array<string>;
9323
+ /**
9324
+ *
9325
+ * @type {string}
9326
+ * @memberof IThemesResponseData
9327
+ */
9328
+ 'demoUrl'?: string;
9329
+ /**
9330
+ *
9331
+ * @type {string}
9332
+ * @memberof IThemesResponseData
9333
+ */
9334
+ 'creator'?: string;
9335
+ /**
9336
+ * Construct a type with a set of properties K of type T
9337
+ * @type {{ [key: string]: any; }}
9338
+ * @memberof IThemesResponseData
9339
+ */
9340
+ 'files': {
9341
+ [key: string]: any;
9342
+ };
9343
+ /**
9344
+ *
9345
+ * @type {string}
9346
+ * @memberof IThemesResponseData
9347
+ */
9348
+ 'assetUrl': string;
9349
+ /**
9350
+ *
9351
+ * @type {number}
9352
+ * @memberof IThemesResponseData
9353
+ */
9354
+ 'assetVersion': number;
9355
+ /**
9356
+ * Construct a type with a set of properties K of type T
9357
+ * @type {{ [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue; }}
9358
+ * @memberof IThemesResponseData
9359
+ */
9360
+ 'componentConfigIndex': {
9361
+ [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue;
9362
+ };
9363
+ /**
9364
+ *
9365
+ * @type {IThemeVersion}
9366
+ * @memberof IThemesResponseData
9367
+ */
9368
+ 'lastUpdate'?: IThemeVersion;
9369
+ /**
9370
+ *
9371
+ * @type {IThemeVersion}
9372
+ * @memberof IThemesResponseData
9373
+ */
9374
+ 'lastVersion'?: IThemeVersion;
9375
+ /**
9376
+ *
9377
+ * @type {IThemesResponseDataMain}
9378
+ * @memberof IThemesResponseData
9379
+ */
9380
+ 'main'?: IThemesResponseDataMain;
9381
+ }
9382
+ /**
9383
+ *
9384
+ * @export
9385
+ * @interface IThemesResponseDataMain
9386
+ */
9387
+ export interface IThemesResponseDataMain {
9388
+ /**
9389
+ *
9390
+ * @type {string}
9391
+ * @memberof IThemesResponseDataMain
9392
+ */
9393
+ 'name': string;
9394
+ /**
9395
+ *
9396
+ * @type {string}
9397
+ * @memberof IThemesResponseDataMain
9398
+ */
9399
+ 'company'?: string;
9400
+ /**
9401
+ *
9402
+ * @type {string}
9403
+ * @memberof IThemesResponseDataMain
9404
+ */
9405
+ '_id': string;
9406
+ /**
9407
+ *
9408
+ * @type {number}
9409
+ * @memberof IThemesResponseDataMain
9410
+ */
9411
+ '__v': number;
9412
+ /**
9413
+ *
9414
+ * @type {string}
9415
+ * @memberof IThemesResponseDataMain
9416
+ */
9417
+ 'createdAt': string;
9418
+ /**
9419
+ *
9420
+ * @type {string}
9421
+ * @memberof IThemesResponseDataMain
9422
+ */
9423
+ 'updatedAt': string;
9424
+ /**
9425
+ *
9426
+ * @type {IImage}
9427
+ * @memberof IThemesResponseDataMain
9428
+ */
9429
+ 'thumbnail'?: IImage;
9430
+ /**
9431
+ *
9432
+ * @type {string}
9433
+ * @memberof IThemesResponseDataMain
9434
+ */
9435
+ 'main'?: string;
9436
+ /**
9437
+ *
9438
+ * @type {CompanyTypeEnum}
9439
+ * @memberof IThemesResponseDataMain
9440
+ */
9441
+ 'type': CompanyTypeEnum;
9442
+ /**
9443
+ * Construct a type with a set of properties K of type T
9444
+ * @type {{ [key: string]: any; }}
9445
+ * @memberof IThemesResponseDataMain
9446
+ */
9447
+ 'config': {
9448
+ [key: string]: any;
9449
+ };
9450
+ /**
9451
+ * Make all properties in T optional
9452
+ * @type {{ [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentArrayValue; }}
9453
+ * @memberof IThemesResponseDataMain
9454
+ */
9455
+ 'groups': {
9456
+ [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentArrayValue;
9457
+ };
9458
+ /**
9459
+ *
9460
+ * @type {Array<string>}
9461
+ * @memberof IThemesResponseDataMain
9462
+ */
9463
+ 'companies': Array<string>;
9464
+ /**
9465
+ *
9466
+ * @type {string}
9467
+ * @memberof IThemesResponseDataMain
9468
+ */
9469
+ 'demoUrl'?: string;
9470
+ /**
9471
+ *
9472
+ * @type {string}
9473
+ * @memberof IThemesResponseDataMain
9474
+ */
9475
+ 'creator'?: string;
9476
+ /**
9477
+ *
9478
+ * @type {IThemeVersion}
9479
+ * @memberof IThemesResponseDataMain
9480
+ */
9481
+ 'lastVersion'?: IThemeVersion;
9228
9482
  }
9229
9483
  /**
9230
9484
  *
@@ -12401,77 +12655,307 @@ export interface PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoRes
12401
12655
  /**
12402
12656
  * From T, pick a set of properties whose keys are in the union K
12403
12657
  * @export
12404
- * @interface PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12658
+ * @interface PickIThemeExcludeKeyofIThemeGroups
12405
12659
  */
12406
- export interface PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion {
12660
+ export interface PickIThemeExcludeKeyofIThemeGroups {
12407
12661
  /**
12408
12662
  *
12409
12663
  * @type {string}
12410
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12664
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
12411
12665
  */
12412
12666
  'name': string;
12413
12667
  /**
12414
12668
  *
12415
12669
  * @type {string}
12416
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12670
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
12417
12671
  */
12418
12672
  'company'?: string;
12419
12673
  /**
12420
12674
  *
12421
12675
  * @type {string}
12422
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12676
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
12423
12677
  */
12424
12678
  '_id': string;
12425
12679
  /**
12426
12680
  *
12427
12681
  * @type {number}
12428
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12682
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
12429
12683
  */
12430
12684
  '__v': number;
12431
12685
  /**
12432
12686
  *
12433
12687
  * @type {string}
12434
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12688
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
12435
12689
  */
12436
12690
  'createdAt': string;
12437
12691
  /**
12438
12692
  *
12439
12693
  * @type {string}
12440
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12694
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
12441
12695
  */
12442
12696
  'updatedAt': string;
12443
12697
  /**
12444
12698
  *
12445
12699
  * @type {IImage}
12446
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12700
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
12447
12701
  */
12448
12702
  'thumbnail'?: IImage;
12703
+ /**
12704
+ *
12705
+ * @type {string}
12706
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
12707
+ */
12708
+ 'main'?: string;
12449
12709
  /**
12450
12710
  *
12451
12711
  * @type {CompanyTypeEnum}
12452
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12712
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
12453
12713
  */
12454
12714
  'type': CompanyTypeEnum;
12455
12715
  /**
12456
12716
  * Construct a type with a set of properties K of type T
12457
12717
  * @type {{ [key: string]: any; }}
12458
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12718
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
12459
12719
  */
12460
12720
  'config': {
12461
12721
  [key: string]: any;
12462
12722
  };
12723
+ /**
12724
+ *
12725
+ * @type {Array<string>}
12726
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
12727
+ */
12728
+ 'companies': Array<string>;
12463
12729
  /**
12464
12730
  *
12465
12731
  * @type {string}
12466
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12732
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
12467
12733
  */
12468
12734
  'demoUrl'?: string;
12469
12735
  /**
12470
12736
  *
12471
12737
  * @type {string}
12472
- * @memberof PickIThemeExcludeKeyofIThemeGroupsOrMainOrLastVersion
12738
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
12473
12739
  */
12474
12740
  'creator'?: string;
12741
+ /**
12742
+ *
12743
+ * @type {string}
12744
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
12745
+ */
12746
+ 'lastVersion': string;
12747
+ }
12748
+ /**
12749
+ * From T, pick a set of properties whose keys are in the union K
12750
+ * @export
12751
+ * @interface PickIThemeExcludeKeyofIThemeLastVersion
12752
+ */
12753
+ export interface PickIThemeExcludeKeyofIThemeLastVersion {
12754
+ /**
12755
+ *
12756
+ * @type {string}
12757
+ * @memberof PickIThemeExcludeKeyofIThemeLastVersion
12758
+ */
12759
+ 'name': string;
12760
+ /**
12761
+ *
12762
+ * @type {string}
12763
+ * @memberof PickIThemeExcludeKeyofIThemeLastVersion
12764
+ */
12765
+ 'company'?: string;
12766
+ /**
12767
+ *
12768
+ * @type {string}
12769
+ * @memberof PickIThemeExcludeKeyofIThemeLastVersion
12770
+ */
12771
+ '_id': string;
12772
+ /**
12773
+ *
12774
+ * @type {number}
12775
+ * @memberof PickIThemeExcludeKeyofIThemeLastVersion
12776
+ */
12777
+ '__v': number;
12778
+ /**
12779
+ *
12780
+ * @type {string}
12781
+ * @memberof PickIThemeExcludeKeyofIThemeLastVersion
12782
+ */
12783
+ 'createdAt': string;
12784
+ /**
12785
+ *
12786
+ * @type {string}
12787
+ * @memberof PickIThemeExcludeKeyofIThemeLastVersion
12788
+ */
12789
+ 'updatedAt': string;
12790
+ /**
12791
+ *
12792
+ * @type {IImage}
12793
+ * @memberof PickIThemeExcludeKeyofIThemeLastVersion
12794
+ */
12795
+ 'thumbnail'?: IImage;
12796
+ /**
12797
+ *
12798
+ * @type {string}
12799
+ * @memberof PickIThemeExcludeKeyofIThemeLastVersion
12800
+ */
12801
+ 'main'?: string;
12802
+ /**
12803
+ *
12804
+ * @type {CompanyTypeEnum}
12805
+ * @memberof PickIThemeExcludeKeyofIThemeLastVersion
12806
+ */
12807
+ 'type': CompanyTypeEnum;
12808
+ /**
12809
+ * Construct a type with a set of properties K of type T
12810
+ * @type {{ [key: string]: any; }}
12811
+ * @memberof PickIThemeExcludeKeyofIThemeLastVersion
12812
+ */
12813
+ 'config': {
12814
+ [key: string]: any;
12815
+ };
12816
+ /**
12817
+ * Make all properties in T optional
12818
+ * @type {{ [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentArrayValue; }}
12819
+ * @memberof PickIThemeExcludeKeyofIThemeLastVersion
12820
+ */
12821
+ 'groups': {
12822
+ [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentArrayValue;
12823
+ };
12824
+ /**
12825
+ *
12826
+ * @type {Array<string>}
12827
+ * @memberof PickIThemeExcludeKeyofIThemeLastVersion
12828
+ */
12829
+ 'companies': Array<string>;
12830
+ /**
12831
+ *
12832
+ * @type {string}
12833
+ * @memberof PickIThemeExcludeKeyofIThemeLastVersion
12834
+ */
12835
+ 'demoUrl'?: string;
12836
+ /**
12837
+ *
12838
+ * @type {string}
12839
+ * @memberof PickIThemeExcludeKeyofIThemeLastVersion
12840
+ */
12841
+ 'creator'?: string;
12842
+ }
12843
+ /**
12844
+ * From T, pick a set of properties whose keys are in the union K
12845
+ * @export
12846
+ * @interface PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
12847
+ */
12848
+ export interface PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain {
12849
+ /**
12850
+ *
12851
+ * @type {string}
12852
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
12853
+ */
12854
+ 'name': string;
12855
+ /**
12856
+ *
12857
+ * @type {string}
12858
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
12859
+ */
12860
+ 'company'?: string;
12861
+ /**
12862
+ *
12863
+ * @type {string}
12864
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
12865
+ */
12866
+ '_id': string;
12867
+ /**
12868
+ *
12869
+ * @type {number}
12870
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
12871
+ */
12872
+ '__v': number;
12873
+ /**
12874
+ *
12875
+ * @type {string}
12876
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
12877
+ */
12878
+ 'createdAt': string;
12879
+ /**
12880
+ *
12881
+ * @type {string}
12882
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
12883
+ */
12884
+ 'updatedAt': string;
12885
+ /**
12886
+ *
12887
+ * @type {IImage}
12888
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
12889
+ */
12890
+ 'thumbnail'?: IImage;
12891
+ /**
12892
+ *
12893
+ * @type {CompanyTypeEnum}
12894
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
12895
+ */
12896
+ 'type': CompanyTypeEnum;
12897
+ /**
12898
+ * Construct a type with a set of properties K of type T
12899
+ * @type {{ [key: string]: any; }}
12900
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
12901
+ */
12902
+ 'config': {
12903
+ [key: string]: any;
12904
+ };
12905
+ /**
12906
+ * Make all properties in T optional
12907
+ * @type {{ [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue; }}
12908
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
12909
+ */
12910
+ 'groups': {
12911
+ [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue;
12912
+ };
12913
+ /**
12914
+ *
12915
+ * @type {Array<string>}
12916
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
12917
+ */
12918
+ 'companies': Array<string>;
12919
+ /**
12920
+ *
12921
+ * @type {string}
12922
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
12923
+ */
12924
+ 'demoUrl'?: string;
12925
+ /**
12926
+ *
12927
+ * @type {string}
12928
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
12929
+ */
12930
+ 'creator'?: string;
12931
+ /**
12932
+ * Construct a type with a set of properties K of type T
12933
+ * @type {{ [key: string]: any; }}
12934
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
12935
+ */
12936
+ 'files': {
12937
+ [key: string]: any;
12938
+ };
12939
+ /**
12940
+ *
12941
+ * @type {string}
12942
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
12943
+ */
12944
+ 'assetUrl': string;
12945
+ /**
12946
+ *
12947
+ * @type {number}
12948
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
12949
+ */
12950
+ 'assetVersion': number;
12951
+ /**
12952
+ * Construct a type with a set of properties K of type T
12953
+ * @type {{ [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue; }}
12954
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
12955
+ */
12956
+ 'componentConfigIndex': {
12957
+ [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue;
12958
+ };
12475
12959
  }
12476
12960
  /**
12477
12961
  * From T, pick a set of properties whose keys are in the union K
@@ -22490,10 +22974,11 @@ export declare const ThemeApiAxiosParamCreator: (configuration?: Configuration)
22490
22974
  /**
22491
22975
  *
22492
22976
  * @param {CompanyTypeEnum} [type]
22977
+ * @param {string} [companyId]
22493
22978
  * @param {*} [options] Override http request option.
22494
22979
  * @throws {RequiredError}
22495
22980
  */
22496
- getThemes: (type?: CompanyTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22981
+ getThemes: (type?: CompanyTypeEnum, companyId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22497
22982
  /**
22498
22983
  *
22499
22984
  * @param {string} id
@@ -22556,10 +23041,11 @@ export declare const ThemeApiFp: (configuration?: Configuration) => {
22556
23041
  /**
22557
23042
  *
22558
23043
  * @param {CompanyTypeEnum} [type]
23044
+ * @param {string} [companyId]
22559
23045
  * @param {*} [options] Override http request option.
22560
23046
  * @throws {RequiredError}
22561
23047
  */
22562
- getThemes(type?: CompanyTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IThemesResponse>>;
23048
+ getThemes(type?: CompanyTypeEnum, companyId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IThemesResponse>>;
22563
23049
  /**
22564
23050
  *
22565
23051
  * @param {string} id
@@ -22567,7 +23053,7 @@ export declare const ThemeApiFp: (configuration?: Configuration) => {
22567
23053
  * @param {*} [options] Override http request option.
22568
23054
  * @throws {RequiredError}
22569
23055
  */
22570
- updateTheme(id: string, iThemePatchRequest: IThemePatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IThemeResponse>>;
23056
+ updateTheme(id: string, iThemePatchRequest: IThemePatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ITheme>>;
22571
23057
  /**
22572
23058
  *
22573
23059
  * @param {string} id
@@ -22632,7 +23118,7 @@ export declare const ThemeApiFactory: (configuration?: Configuration, basePath?:
22632
23118
  * @param {*} [options] Override http request option.
22633
23119
  * @throws {RequiredError}
22634
23120
  */
22635
- updateTheme(requestParameters: ThemeApiUpdateThemeRequest, options?: RawAxiosRequestConfig): AxiosPromise<IThemeResponse>;
23121
+ updateTheme(requestParameters: ThemeApiUpdateThemeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ITheme>;
22636
23122
  /**
22637
23123
  *
22638
23124
  * @param {ThemeApiUpdateThemeFilesRequest} requestParameters Request parameters.
@@ -22718,6 +23204,12 @@ export interface ThemeApiGetThemesRequest {
22718
23204
  * @memberof ThemeApiGetThemes
22719
23205
  */
22720
23206
  readonly type?: CompanyTypeEnum;
23207
+ /**
23208
+ *
23209
+ * @type {string}
23210
+ * @memberof ThemeApiGetThemes
23211
+ */
23212
+ readonly companyId?: string;
22721
23213
  }
22722
23214
  /**
22723
23215
  * Request parameters for updateTheme operation in ThemeApi.
@@ -22831,7 +23323,7 @@ export declare class ThemeApi extends BaseAPI {
22831
23323
  * @throws {RequiredError}
22832
23324
  * @memberof ThemeApi
22833
23325
  */
22834
- updateTheme(requestParameters: ThemeApiUpdateThemeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IThemeResponse, any>>;
23326
+ updateTheme(requestParameters: ThemeApiUpdateThemeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ITheme, any>>;
22835
23327
  /**
22836
23328
  *
22837
23329
  * @param {ThemeApiUpdateThemeFilesRequest} requestParameters Request parameters.
package/dist/api/api.js CHANGED
@@ -12149,10 +12149,11 @@ const ThemeApiAxiosParamCreator = function (configuration) {
12149
12149
  /**
12150
12150
  *
12151
12151
  * @param {CompanyTypeEnum} [type]
12152
+ * @param {string} [companyId]
12152
12153
  * @param {*} [options] Override http request option.
12153
12154
  * @throws {RequiredError}
12154
12155
  */
12155
- getThemes: async (type, options = {}) => {
12156
+ getThemes: async (type, companyId, options = {}) => {
12156
12157
  const localVarPath = `/api/themes`;
12157
12158
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12158
12159
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -12166,6 +12167,9 @@ const ThemeApiAxiosParamCreator = function (configuration) {
12166
12167
  if (type !== undefined) {
12167
12168
  localVarQueryParameter['type'] = type;
12168
12169
  }
12170
+ if (companyId !== undefined) {
12171
+ localVarQueryParameter['companyId'] = companyId;
12172
+ }
12169
12173
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12170
12174
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12171
12175
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -12329,11 +12333,12 @@ const ThemeApiFp = function (configuration) {
12329
12333
  /**
12330
12334
  *
12331
12335
  * @param {CompanyTypeEnum} [type]
12336
+ * @param {string} [companyId]
12332
12337
  * @param {*} [options] Override http request option.
12333
12338
  * @throws {RequiredError}
12334
12339
  */
12335
- async getThemes(type, options) {
12336
- const localVarAxiosArgs = await localVarAxiosParamCreator.getThemes(type, options);
12340
+ async getThemes(type, companyId, options) {
12341
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getThemes(type, companyId, options);
12337
12342
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12338
12343
  const localVarOperationServerBasePath = base_1.operationServerMap['ThemeApi.getThemes']?.[localVarOperationServerIndex]?.url;
12339
12344
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -12428,7 +12433,7 @@ const ThemeApiFactory = function (configuration, basePath, axios) {
12428
12433
  * @throws {RequiredError}
12429
12434
  */
12430
12435
  getThemes(requestParameters = {}, options) {
12431
- return localVarFp.getThemes(requestParameters.type, options).then((request) => request(axios, basePath));
12436
+ return localVarFp.getThemes(requestParameters.type, requestParameters.companyId, options).then((request) => request(axios, basePath));
12432
12437
  },
12433
12438
  /**
12434
12439
  *
@@ -12516,7 +12521,7 @@ class ThemeApi extends base_1.BaseAPI {
12516
12521
  * @memberof ThemeApi
12517
12522
  */
12518
12523
  getThemes(requestParameters = {}, options) {
12519
- return (0, exports.ThemeApiFp)(this.configuration).getThemes(requestParameters.type, options).then((request) => request(this.axios, this.basePath));
12524
+ return (0, exports.ThemeApiFp)(this.configuration).getThemes(requestParameters.type, requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
12520
12525
  }
12521
12526
  /**
12522
12527
  *
package/dist/api/api.mjs CHANGED
@@ -12065,10 +12065,11 @@ export const ThemeApiAxiosParamCreator = function (configuration) {
12065
12065
  /**
12066
12066
  *
12067
12067
  * @param {CompanyTypeEnum} [type]
12068
+ * @param {string} [companyId]
12068
12069
  * @param {*} [options] Override http request option.
12069
12070
  * @throws {RequiredError}
12070
12071
  */
12071
- getThemes: async (type, options = {}) => {
12072
+ getThemes: async (type, companyId, options = {}) => {
12072
12073
  const localVarPath = `/api/themes`;
12073
12074
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12074
12075
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -12082,6 +12083,9 @@ export const ThemeApiAxiosParamCreator = function (configuration) {
12082
12083
  if (type !== undefined) {
12083
12084
  localVarQueryParameter['type'] = type;
12084
12085
  }
12086
+ if (companyId !== undefined) {
12087
+ localVarQueryParameter['companyId'] = companyId;
12088
+ }
12085
12089
  setSearchParams(localVarUrlObj, localVarQueryParameter);
12086
12090
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12087
12091
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -12244,11 +12248,12 @@ export const ThemeApiFp = function (configuration) {
12244
12248
  /**
12245
12249
  *
12246
12250
  * @param {CompanyTypeEnum} [type]
12251
+ * @param {string} [companyId]
12247
12252
  * @param {*} [options] Override http request option.
12248
12253
  * @throws {RequiredError}
12249
12254
  */
12250
- async getThemes(type, options) {
12251
- const localVarAxiosArgs = await localVarAxiosParamCreator.getThemes(type, options);
12255
+ async getThemes(type, companyId, options) {
12256
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getThemes(type, companyId, options);
12252
12257
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12253
12258
  const localVarOperationServerBasePath = operationServerMap['ThemeApi.getThemes']?.[localVarOperationServerIndex]?.url;
12254
12259
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -12342,7 +12347,7 @@ export const ThemeApiFactory = function (configuration, basePath, axios) {
12342
12347
  * @throws {RequiredError}
12343
12348
  */
12344
12349
  getThemes(requestParameters = {}, options) {
12345
- return localVarFp.getThemes(requestParameters.type, options).then((request) => request(axios, basePath));
12350
+ return localVarFp.getThemes(requestParameters.type, requestParameters.companyId, options).then((request) => request(axios, basePath));
12346
12351
  },
12347
12352
  /**
12348
12353
  *
@@ -12429,7 +12434,7 @@ export class ThemeApi extends BaseAPI {
12429
12434
  * @memberof ThemeApi
12430
12435
  */
12431
12436
  getThemes(requestParameters = {}, options) {
12432
- return ThemeApiFp(this.configuration).getThemes(requestParameters.type, options).then((request) => request(this.axios, this.basePath));
12437
+ return ThemeApiFp(this.configuration).getThemes(requestParameters.type, requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
12433
12438
  }
12434
12439
  /**
12435
12440
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api",
3
- "version": "1.3.50",
3
+ "version": "1.3.52",
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": "a4479ac4f4ebc73065fd63100caa852c35ff7ca5"
40
+ "gitHead": "394a1b74938eed805d31995dc12d379e979b7fa0"
41
41
  }