@infisale-client/api 1.3.49 → 1.3.51
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 +409 -33
- package/dist/api/api.js +10 -5
- package/dist/api/api.mjs +10 -5
- package/package.json +2 -2
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}
|
|
@@ -9103,12 +9133,6 @@ export interface IThemeResponse {
|
|
|
9103
9133
|
'groups': {
|
|
9104
9134
|
[key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue;
|
|
9105
9135
|
};
|
|
9106
|
-
/**
|
|
9107
|
-
*
|
|
9108
|
-
* @type {ITheme}
|
|
9109
|
-
* @memberof IThemeResponse
|
|
9110
|
-
*/
|
|
9111
|
-
'main'?: ITheme;
|
|
9112
9136
|
/**
|
|
9113
9137
|
* Construct a type with a set of properties K of type T
|
|
9114
9138
|
* @type {{ [key: string]: any; }}
|
|
@@ -9137,12 +9161,6 @@ export interface IThemeResponse {
|
|
|
9137
9161
|
'componentConfigIndex': {
|
|
9138
9162
|
[key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue;
|
|
9139
9163
|
};
|
|
9140
|
-
/**
|
|
9141
|
-
*
|
|
9142
|
-
* @type {IThemeVersion}
|
|
9143
|
-
* @memberof IThemeResponse
|
|
9144
|
-
*/
|
|
9145
|
-
'lastUpdate'?: IThemeVersion;
|
|
9146
9164
|
}
|
|
9147
9165
|
/**
|
|
9148
9166
|
*
|
|
@@ -9221,10 +9239,136 @@ export interface IThemeVersion {
|
|
|
9221
9239
|
export interface IThemesResponse {
|
|
9222
9240
|
/**
|
|
9223
9241
|
*
|
|
9224
|
-
* @type {Array<
|
|
9242
|
+
* @type {PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain & Array<IThemesResponseDataAllOfInner>}
|
|
9225
9243
|
* @memberof IThemesResponse
|
|
9226
9244
|
*/
|
|
9227
|
-
'data': Array<
|
|
9245
|
+
'data': PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain & Array<IThemesResponseDataAllOfInner>;
|
|
9246
|
+
}
|
|
9247
|
+
/**
|
|
9248
|
+
*
|
|
9249
|
+
* @export
|
|
9250
|
+
* @interface IThemesResponseDataAllOfInner
|
|
9251
|
+
*/
|
|
9252
|
+
export interface IThemesResponseDataAllOfInner {
|
|
9253
|
+
/**
|
|
9254
|
+
*
|
|
9255
|
+
* @type {IThemesResponseDataAllOfInnerMain}
|
|
9256
|
+
* @memberof IThemesResponseDataAllOfInner
|
|
9257
|
+
*/
|
|
9258
|
+
'main'?: IThemesResponseDataAllOfInnerMain;
|
|
9259
|
+
/**
|
|
9260
|
+
*
|
|
9261
|
+
* @type {IThemeVersion}
|
|
9262
|
+
* @memberof IThemesResponseDataAllOfInner
|
|
9263
|
+
*/
|
|
9264
|
+
'lastVersion'?: IThemeVersion;
|
|
9265
|
+
/**
|
|
9266
|
+
*
|
|
9267
|
+
* @type {IThemeVersion}
|
|
9268
|
+
* @memberof IThemesResponseDataAllOfInner
|
|
9269
|
+
*/
|
|
9270
|
+
'lastUpdate'?: IThemeVersion;
|
|
9271
|
+
}
|
|
9272
|
+
/**
|
|
9273
|
+
*
|
|
9274
|
+
* @export
|
|
9275
|
+
* @interface IThemesResponseDataAllOfInnerMain
|
|
9276
|
+
*/
|
|
9277
|
+
export interface IThemesResponseDataAllOfInnerMain {
|
|
9278
|
+
/**
|
|
9279
|
+
*
|
|
9280
|
+
* @type {string}
|
|
9281
|
+
* @memberof IThemesResponseDataAllOfInnerMain
|
|
9282
|
+
*/
|
|
9283
|
+
'name': string;
|
|
9284
|
+
/**
|
|
9285
|
+
*
|
|
9286
|
+
* @type {string}
|
|
9287
|
+
* @memberof IThemesResponseDataAllOfInnerMain
|
|
9288
|
+
*/
|
|
9289
|
+
'company'?: string;
|
|
9290
|
+
/**
|
|
9291
|
+
*
|
|
9292
|
+
* @type {string}
|
|
9293
|
+
* @memberof IThemesResponseDataAllOfInnerMain
|
|
9294
|
+
*/
|
|
9295
|
+
'_id': string;
|
|
9296
|
+
/**
|
|
9297
|
+
*
|
|
9298
|
+
* @type {number}
|
|
9299
|
+
* @memberof IThemesResponseDataAllOfInnerMain
|
|
9300
|
+
*/
|
|
9301
|
+
'__v': number;
|
|
9302
|
+
/**
|
|
9303
|
+
*
|
|
9304
|
+
* @type {string}
|
|
9305
|
+
* @memberof IThemesResponseDataAllOfInnerMain
|
|
9306
|
+
*/
|
|
9307
|
+
'createdAt': string;
|
|
9308
|
+
/**
|
|
9309
|
+
*
|
|
9310
|
+
* @type {string}
|
|
9311
|
+
* @memberof IThemesResponseDataAllOfInnerMain
|
|
9312
|
+
*/
|
|
9313
|
+
'updatedAt': string;
|
|
9314
|
+
/**
|
|
9315
|
+
*
|
|
9316
|
+
* @type {IImage}
|
|
9317
|
+
* @memberof IThemesResponseDataAllOfInnerMain
|
|
9318
|
+
*/
|
|
9319
|
+
'thumbnail'?: IImage;
|
|
9320
|
+
/**
|
|
9321
|
+
*
|
|
9322
|
+
* @type {string}
|
|
9323
|
+
* @memberof IThemesResponseDataAllOfInnerMain
|
|
9324
|
+
*/
|
|
9325
|
+
'main'?: string;
|
|
9326
|
+
/**
|
|
9327
|
+
*
|
|
9328
|
+
* @type {CompanyTypeEnum}
|
|
9329
|
+
* @memberof IThemesResponseDataAllOfInnerMain
|
|
9330
|
+
*/
|
|
9331
|
+
'type': CompanyTypeEnum;
|
|
9332
|
+
/**
|
|
9333
|
+
* Construct a type with a set of properties K of type T
|
|
9334
|
+
* @type {{ [key: string]: object; }}
|
|
9335
|
+
* @memberof IThemesResponseDataAllOfInnerMain
|
|
9336
|
+
*/
|
|
9337
|
+
'config': {
|
|
9338
|
+
[key: string]: object;
|
|
9339
|
+
};
|
|
9340
|
+
/**
|
|
9341
|
+
* Make all properties in T optional
|
|
9342
|
+
* @type {{ [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentArrayValue; }}
|
|
9343
|
+
* @memberof IThemesResponseDataAllOfInnerMain
|
|
9344
|
+
*/
|
|
9345
|
+
'groups': {
|
|
9346
|
+
[key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentArrayValue;
|
|
9347
|
+
};
|
|
9348
|
+
/**
|
|
9349
|
+
*
|
|
9350
|
+
* @type {Array<string>}
|
|
9351
|
+
* @memberof IThemesResponseDataAllOfInnerMain
|
|
9352
|
+
*/
|
|
9353
|
+
'companies': Array<string>;
|
|
9354
|
+
/**
|
|
9355
|
+
*
|
|
9356
|
+
* @type {string}
|
|
9357
|
+
* @memberof IThemesResponseDataAllOfInnerMain
|
|
9358
|
+
*/
|
|
9359
|
+
'demoUrl'?: string;
|
|
9360
|
+
/**
|
|
9361
|
+
*
|
|
9362
|
+
* @type {string}
|
|
9363
|
+
* @memberof IThemesResponseDataAllOfInnerMain
|
|
9364
|
+
*/
|
|
9365
|
+
'creator'?: string;
|
|
9366
|
+
/**
|
|
9367
|
+
*
|
|
9368
|
+
* @type {IThemeVersion}
|
|
9369
|
+
* @memberof IThemesResponseDataAllOfInnerMain
|
|
9370
|
+
*/
|
|
9371
|
+
'lastVersion'?: IThemeVersion;
|
|
9228
9372
|
}
|
|
9229
9373
|
/**
|
|
9230
9374
|
*
|
|
@@ -12401,84 +12545,308 @@ export interface PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoRes
|
|
|
12401
12545
|
/**
|
|
12402
12546
|
* From T, pick a set of properties whose keys are in the union K
|
|
12403
12547
|
* @export
|
|
12404
|
-
* @interface
|
|
12548
|
+
* @interface PickIThemeExcludeKeyofIThemeGroups
|
|
12405
12549
|
*/
|
|
12406
|
-
export interface
|
|
12550
|
+
export interface PickIThemeExcludeKeyofIThemeGroups {
|
|
12407
12551
|
/**
|
|
12408
12552
|
*
|
|
12409
12553
|
* @type {string}
|
|
12410
|
-
* @memberof
|
|
12554
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12411
12555
|
*/
|
|
12412
12556
|
'name': string;
|
|
12413
12557
|
/**
|
|
12414
12558
|
*
|
|
12415
12559
|
* @type {string}
|
|
12416
|
-
* @memberof
|
|
12560
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12417
12561
|
*/
|
|
12418
12562
|
'company'?: string;
|
|
12419
12563
|
/**
|
|
12420
12564
|
*
|
|
12421
12565
|
* @type {string}
|
|
12422
|
-
* @memberof
|
|
12566
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12423
12567
|
*/
|
|
12424
12568
|
'_id': string;
|
|
12425
12569
|
/**
|
|
12426
12570
|
*
|
|
12427
12571
|
* @type {number}
|
|
12428
|
-
* @memberof
|
|
12572
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12429
12573
|
*/
|
|
12430
12574
|
'__v': number;
|
|
12431
12575
|
/**
|
|
12432
12576
|
*
|
|
12433
12577
|
* @type {string}
|
|
12434
|
-
* @memberof
|
|
12578
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12435
12579
|
*/
|
|
12436
12580
|
'createdAt': string;
|
|
12437
12581
|
/**
|
|
12438
12582
|
*
|
|
12439
12583
|
* @type {string}
|
|
12440
|
-
* @memberof
|
|
12584
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12441
12585
|
*/
|
|
12442
12586
|
'updatedAt': string;
|
|
12443
12587
|
/**
|
|
12444
12588
|
*
|
|
12445
12589
|
* @type {IImage}
|
|
12446
|
-
* @memberof
|
|
12590
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12447
12591
|
*/
|
|
12448
12592
|
'thumbnail'?: IImage;
|
|
12593
|
+
/**
|
|
12594
|
+
*
|
|
12595
|
+
* @type {string}
|
|
12596
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12597
|
+
*/
|
|
12598
|
+
'main'?: string;
|
|
12449
12599
|
/**
|
|
12450
12600
|
*
|
|
12451
12601
|
* @type {CompanyTypeEnum}
|
|
12452
|
-
* @memberof
|
|
12602
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12453
12603
|
*/
|
|
12454
12604
|
'type': CompanyTypeEnum;
|
|
12455
12605
|
/**
|
|
12456
12606
|
* Construct a type with a set of properties K of type T
|
|
12457
12607
|
* @type {{ [key: string]: any; }}
|
|
12458
|
-
* @memberof
|
|
12608
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12459
12609
|
*/
|
|
12460
12610
|
'config': {
|
|
12461
12611
|
[key: string]: any;
|
|
12462
12612
|
};
|
|
12613
|
+
/**
|
|
12614
|
+
*
|
|
12615
|
+
* @type {Array<string>}
|
|
12616
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12617
|
+
*/
|
|
12618
|
+
'companies': Array<string>;
|
|
12463
12619
|
/**
|
|
12464
12620
|
*
|
|
12465
12621
|
* @type {string}
|
|
12466
|
-
* @memberof
|
|
12622
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12467
12623
|
*/
|
|
12468
12624
|
'demoUrl'?: string;
|
|
12469
12625
|
/**
|
|
12470
12626
|
*
|
|
12471
12627
|
* @type {string}
|
|
12472
|
-
* @memberof
|
|
12628
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12473
12629
|
*/
|
|
12474
12630
|
'creator'?: string;
|
|
12475
12631
|
/**
|
|
12476
12632
|
*
|
|
12477
12633
|
* @type {string}
|
|
12478
|
-
* @memberof
|
|
12634
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12479
12635
|
*/
|
|
12480
12636
|
'lastVersion': string;
|
|
12481
12637
|
}
|
|
12638
|
+
/**
|
|
12639
|
+
* From T, pick a set of properties whose keys are in the union K
|
|
12640
|
+
* @export
|
|
12641
|
+
* @interface PickIThemeExcludeKeyofIThemeLastVersion
|
|
12642
|
+
*/
|
|
12643
|
+
export interface PickIThemeExcludeKeyofIThemeLastVersion {
|
|
12644
|
+
/**
|
|
12645
|
+
*
|
|
12646
|
+
* @type {string}
|
|
12647
|
+
* @memberof PickIThemeExcludeKeyofIThemeLastVersion
|
|
12648
|
+
*/
|
|
12649
|
+
'name': string;
|
|
12650
|
+
/**
|
|
12651
|
+
*
|
|
12652
|
+
* @type {string}
|
|
12653
|
+
* @memberof PickIThemeExcludeKeyofIThemeLastVersion
|
|
12654
|
+
*/
|
|
12655
|
+
'company'?: string;
|
|
12656
|
+
/**
|
|
12657
|
+
*
|
|
12658
|
+
* @type {string}
|
|
12659
|
+
* @memberof PickIThemeExcludeKeyofIThemeLastVersion
|
|
12660
|
+
*/
|
|
12661
|
+
'_id': string;
|
|
12662
|
+
/**
|
|
12663
|
+
*
|
|
12664
|
+
* @type {number}
|
|
12665
|
+
* @memberof PickIThemeExcludeKeyofIThemeLastVersion
|
|
12666
|
+
*/
|
|
12667
|
+
'__v': number;
|
|
12668
|
+
/**
|
|
12669
|
+
*
|
|
12670
|
+
* @type {string}
|
|
12671
|
+
* @memberof PickIThemeExcludeKeyofIThemeLastVersion
|
|
12672
|
+
*/
|
|
12673
|
+
'createdAt': string;
|
|
12674
|
+
/**
|
|
12675
|
+
*
|
|
12676
|
+
* @type {string}
|
|
12677
|
+
* @memberof PickIThemeExcludeKeyofIThemeLastVersion
|
|
12678
|
+
*/
|
|
12679
|
+
'updatedAt': string;
|
|
12680
|
+
/**
|
|
12681
|
+
*
|
|
12682
|
+
* @type {IImage}
|
|
12683
|
+
* @memberof PickIThemeExcludeKeyofIThemeLastVersion
|
|
12684
|
+
*/
|
|
12685
|
+
'thumbnail'?: IImage;
|
|
12686
|
+
/**
|
|
12687
|
+
*
|
|
12688
|
+
* @type {string}
|
|
12689
|
+
* @memberof PickIThemeExcludeKeyofIThemeLastVersion
|
|
12690
|
+
*/
|
|
12691
|
+
'main'?: string;
|
|
12692
|
+
/**
|
|
12693
|
+
*
|
|
12694
|
+
* @type {CompanyTypeEnum}
|
|
12695
|
+
* @memberof PickIThemeExcludeKeyofIThemeLastVersion
|
|
12696
|
+
*/
|
|
12697
|
+
'type': CompanyTypeEnum;
|
|
12698
|
+
/**
|
|
12699
|
+
* Construct a type with a set of properties K of type T
|
|
12700
|
+
* @type {{ [key: string]: any; }}
|
|
12701
|
+
* @memberof PickIThemeExcludeKeyofIThemeLastVersion
|
|
12702
|
+
*/
|
|
12703
|
+
'config': {
|
|
12704
|
+
[key: string]: any;
|
|
12705
|
+
};
|
|
12706
|
+
/**
|
|
12707
|
+
* Make all properties in T optional
|
|
12708
|
+
* @type {{ [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentArrayValue; }}
|
|
12709
|
+
* @memberof PickIThemeExcludeKeyofIThemeLastVersion
|
|
12710
|
+
*/
|
|
12711
|
+
'groups': {
|
|
12712
|
+
[key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentArrayValue;
|
|
12713
|
+
};
|
|
12714
|
+
/**
|
|
12715
|
+
*
|
|
12716
|
+
* @type {Array<string>}
|
|
12717
|
+
* @memberof PickIThemeExcludeKeyofIThemeLastVersion
|
|
12718
|
+
*/
|
|
12719
|
+
'companies': Array<string>;
|
|
12720
|
+
/**
|
|
12721
|
+
*
|
|
12722
|
+
* @type {string}
|
|
12723
|
+
* @memberof PickIThemeExcludeKeyofIThemeLastVersion
|
|
12724
|
+
*/
|
|
12725
|
+
'demoUrl'?: string;
|
|
12726
|
+
/**
|
|
12727
|
+
*
|
|
12728
|
+
* @type {string}
|
|
12729
|
+
* @memberof PickIThemeExcludeKeyofIThemeLastVersion
|
|
12730
|
+
*/
|
|
12731
|
+
'creator'?: string;
|
|
12732
|
+
}
|
|
12733
|
+
/**
|
|
12734
|
+
* From T, pick a set of properties whose keys are in the union K
|
|
12735
|
+
* @export
|
|
12736
|
+
* @interface PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12737
|
+
*/
|
|
12738
|
+
export interface PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain {
|
|
12739
|
+
/**
|
|
12740
|
+
*
|
|
12741
|
+
* @type {string}
|
|
12742
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12743
|
+
*/
|
|
12744
|
+
'name': string;
|
|
12745
|
+
/**
|
|
12746
|
+
*
|
|
12747
|
+
* @type {string}
|
|
12748
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12749
|
+
*/
|
|
12750
|
+
'company'?: string;
|
|
12751
|
+
/**
|
|
12752
|
+
*
|
|
12753
|
+
* @type {string}
|
|
12754
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12755
|
+
*/
|
|
12756
|
+
'_id': string;
|
|
12757
|
+
/**
|
|
12758
|
+
*
|
|
12759
|
+
* @type {number}
|
|
12760
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12761
|
+
*/
|
|
12762
|
+
'__v': number;
|
|
12763
|
+
/**
|
|
12764
|
+
*
|
|
12765
|
+
* @type {string}
|
|
12766
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12767
|
+
*/
|
|
12768
|
+
'createdAt': string;
|
|
12769
|
+
/**
|
|
12770
|
+
*
|
|
12771
|
+
* @type {string}
|
|
12772
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12773
|
+
*/
|
|
12774
|
+
'updatedAt': string;
|
|
12775
|
+
/**
|
|
12776
|
+
*
|
|
12777
|
+
* @type {IImage}
|
|
12778
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12779
|
+
*/
|
|
12780
|
+
'thumbnail'?: IImage;
|
|
12781
|
+
/**
|
|
12782
|
+
*
|
|
12783
|
+
* @type {CompanyTypeEnum}
|
|
12784
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12785
|
+
*/
|
|
12786
|
+
'type': CompanyTypeEnum;
|
|
12787
|
+
/**
|
|
12788
|
+
* Construct a type with a set of properties K of type T
|
|
12789
|
+
* @type {{ [key: string]: any; }}
|
|
12790
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12791
|
+
*/
|
|
12792
|
+
'config': {
|
|
12793
|
+
[key: string]: any;
|
|
12794
|
+
};
|
|
12795
|
+
/**
|
|
12796
|
+
* Make all properties in T optional
|
|
12797
|
+
* @type {{ [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue; }}
|
|
12798
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12799
|
+
*/
|
|
12800
|
+
'groups': {
|
|
12801
|
+
[key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue;
|
|
12802
|
+
};
|
|
12803
|
+
/**
|
|
12804
|
+
*
|
|
12805
|
+
* @type {Array<string>}
|
|
12806
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12807
|
+
*/
|
|
12808
|
+
'companies': Array<string>;
|
|
12809
|
+
/**
|
|
12810
|
+
*
|
|
12811
|
+
* @type {string}
|
|
12812
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12813
|
+
*/
|
|
12814
|
+
'demoUrl'?: string;
|
|
12815
|
+
/**
|
|
12816
|
+
*
|
|
12817
|
+
* @type {string}
|
|
12818
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12819
|
+
*/
|
|
12820
|
+
'creator'?: string;
|
|
12821
|
+
/**
|
|
12822
|
+
* Construct a type with a set of properties K of type T
|
|
12823
|
+
* @type {{ [key: string]: any; }}
|
|
12824
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12825
|
+
*/
|
|
12826
|
+
'files': {
|
|
12827
|
+
[key: string]: any;
|
|
12828
|
+
};
|
|
12829
|
+
/**
|
|
12830
|
+
*
|
|
12831
|
+
* @type {string}
|
|
12832
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12833
|
+
*/
|
|
12834
|
+
'assetUrl': string;
|
|
12835
|
+
/**
|
|
12836
|
+
*
|
|
12837
|
+
* @type {number}
|
|
12838
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12839
|
+
*/
|
|
12840
|
+
'assetVersion': number;
|
|
12841
|
+
/**
|
|
12842
|
+
* Construct a type with a set of properties K of type T
|
|
12843
|
+
* @type {{ [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue; }}
|
|
12844
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12845
|
+
*/
|
|
12846
|
+
'componentConfigIndex': {
|
|
12847
|
+
[key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue;
|
|
12848
|
+
};
|
|
12849
|
+
}
|
|
12482
12850
|
/**
|
|
12483
12851
|
* From T, pick a set of properties whose keys are in the union K
|
|
12484
12852
|
* @export
|
|
@@ -22496,10 +22864,11 @@ export declare const ThemeApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
22496
22864
|
/**
|
|
22497
22865
|
*
|
|
22498
22866
|
* @param {CompanyTypeEnum} [type]
|
|
22867
|
+
* @param {string} [companyId]
|
|
22499
22868
|
* @param {*} [options] Override http request option.
|
|
22500
22869
|
* @throws {RequiredError}
|
|
22501
22870
|
*/
|
|
22502
|
-
getThemes: (type?: CompanyTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22871
|
+
getThemes: (type?: CompanyTypeEnum, companyId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22503
22872
|
/**
|
|
22504
22873
|
*
|
|
22505
22874
|
* @param {string} id
|
|
@@ -22562,10 +22931,11 @@ export declare const ThemeApiFp: (configuration?: Configuration) => {
|
|
|
22562
22931
|
/**
|
|
22563
22932
|
*
|
|
22564
22933
|
* @param {CompanyTypeEnum} [type]
|
|
22934
|
+
* @param {string} [companyId]
|
|
22565
22935
|
* @param {*} [options] Override http request option.
|
|
22566
22936
|
* @throws {RequiredError}
|
|
22567
22937
|
*/
|
|
22568
|
-
getThemes(type?: CompanyTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IThemesResponse>>;
|
|
22938
|
+
getThemes(type?: CompanyTypeEnum, companyId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IThemesResponse>>;
|
|
22569
22939
|
/**
|
|
22570
22940
|
*
|
|
22571
22941
|
* @param {string} id
|
|
@@ -22573,7 +22943,7 @@ export declare const ThemeApiFp: (configuration?: Configuration) => {
|
|
|
22573
22943
|
* @param {*} [options] Override http request option.
|
|
22574
22944
|
* @throws {RequiredError}
|
|
22575
22945
|
*/
|
|
22576
|
-
updateTheme(id: string, iThemePatchRequest: IThemePatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
22946
|
+
updateTheme(id: string, iThemePatchRequest: IThemePatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ITheme>>;
|
|
22577
22947
|
/**
|
|
22578
22948
|
*
|
|
22579
22949
|
* @param {string} id
|
|
@@ -22638,7 +23008,7 @@ export declare const ThemeApiFactory: (configuration?: Configuration, basePath?:
|
|
|
22638
23008
|
* @param {*} [options] Override http request option.
|
|
22639
23009
|
* @throws {RequiredError}
|
|
22640
23010
|
*/
|
|
22641
|
-
updateTheme(requestParameters: ThemeApiUpdateThemeRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
23011
|
+
updateTheme(requestParameters: ThemeApiUpdateThemeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ITheme>;
|
|
22642
23012
|
/**
|
|
22643
23013
|
*
|
|
22644
23014
|
* @param {ThemeApiUpdateThemeFilesRequest} requestParameters Request parameters.
|
|
@@ -22724,6 +23094,12 @@ export interface ThemeApiGetThemesRequest {
|
|
|
22724
23094
|
* @memberof ThemeApiGetThemes
|
|
22725
23095
|
*/
|
|
22726
23096
|
readonly type?: CompanyTypeEnum;
|
|
23097
|
+
/**
|
|
23098
|
+
*
|
|
23099
|
+
* @type {string}
|
|
23100
|
+
* @memberof ThemeApiGetThemes
|
|
23101
|
+
*/
|
|
23102
|
+
readonly companyId?: string;
|
|
22727
23103
|
}
|
|
22728
23104
|
/**
|
|
22729
23105
|
* Request parameters for updateTheme operation in ThemeApi.
|
|
@@ -22837,7 +23213,7 @@ export declare class ThemeApi extends BaseAPI {
|
|
|
22837
23213
|
* @throws {RequiredError}
|
|
22838
23214
|
* @memberof ThemeApi
|
|
22839
23215
|
*/
|
|
22840
|
-
updateTheme(requestParameters: ThemeApiUpdateThemeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
23216
|
+
updateTheme(requestParameters: ThemeApiUpdateThemeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ITheme, any>>;
|
|
22841
23217
|
/**
|
|
22842
23218
|
*
|
|
22843
23219
|
* @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.
|
|
3
|
+
"version": "1.3.51",
|
|
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": "
|
|
40
|
+
"gitHead": "c70db2f5d233329a213f8fc1128552711f152592"
|
|
41
41
|
}
|