@infisale-client/api 1.3.50 → 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 +420 -38
- 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}
|
|
@@ -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,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,77 +12545,307 @@ 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
|
|
12549
|
+
*/
|
|
12550
|
+
export interface PickIThemeExcludeKeyofIThemeGroups {
|
|
12551
|
+
/**
|
|
12552
|
+
*
|
|
12553
|
+
* @type {string}
|
|
12554
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12555
|
+
*/
|
|
12556
|
+
'name': string;
|
|
12557
|
+
/**
|
|
12558
|
+
*
|
|
12559
|
+
* @type {string}
|
|
12560
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12561
|
+
*/
|
|
12562
|
+
'company'?: string;
|
|
12563
|
+
/**
|
|
12564
|
+
*
|
|
12565
|
+
* @type {string}
|
|
12566
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12567
|
+
*/
|
|
12568
|
+
'_id': string;
|
|
12569
|
+
/**
|
|
12570
|
+
*
|
|
12571
|
+
* @type {number}
|
|
12572
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12573
|
+
*/
|
|
12574
|
+
'__v': number;
|
|
12575
|
+
/**
|
|
12576
|
+
*
|
|
12577
|
+
* @type {string}
|
|
12578
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12579
|
+
*/
|
|
12580
|
+
'createdAt': string;
|
|
12581
|
+
/**
|
|
12582
|
+
*
|
|
12583
|
+
* @type {string}
|
|
12584
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12585
|
+
*/
|
|
12586
|
+
'updatedAt': string;
|
|
12587
|
+
/**
|
|
12588
|
+
*
|
|
12589
|
+
* @type {IImage}
|
|
12590
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12591
|
+
*/
|
|
12592
|
+
'thumbnail'?: IImage;
|
|
12593
|
+
/**
|
|
12594
|
+
*
|
|
12595
|
+
* @type {string}
|
|
12596
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12597
|
+
*/
|
|
12598
|
+
'main'?: string;
|
|
12599
|
+
/**
|
|
12600
|
+
*
|
|
12601
|
+
* @type {CompanyTypeEnum}
|
|
12602
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12603
|
+
*/
|
|
12604
|
+
'type': CompanyTypeEnum;
|
|
12605
|
+
/**
|
|
12606
|
+
* Construct a type with a set of properties K of type T
|
|
12607
|
+
* @type {{ [key: string]: any; }}
|
|
12608
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12609
|
+
*/
|
|
12610
|
+
'config': {
|
|
12611
|
+
[key: string]: any;
|
|
12612
|
+
};
|
|
12613
|
+
/**
|
|
12614
|
+
*
|
|
12615
|
+
* @type {Array<string>}
|
|
12616
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12617
|
+
*/
|
|
12618
|
+
'companies': Array<string>;
|
|
12619
|
+
/**
|
|
12620
|
+
*
|
|
12621
|
+
* @type {string}
|
|
12622
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12623
|
+
*/
|
|
12624
|
+
'demoUrl'?: string;
|
|
12625
|
+
/**
|
|
12626
|
+
*
|
|
12627
|
+
* @type {string}
|
|
12628
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12629
|
+
*/
|
|
12630
|
+
'creator'?: string;
|
|
12631
|
+
/**
|
|
12632
|
+
*
|
|
12633
|
+
* @type {string}
|
|
12634
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12635
|
+
*/
|
|
12636
|
+
'lastVersion': string;
|
|
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
|
|
12405
12737
|
*/
|
|
12406
|
-
export interface
|
|
12738
|
+
export interface PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain {
|
|
12407
12739
|
/**
|
|
12408
12740
|
*
|
|
12409
12741
|
* @type {string}
|
|
12410
|
-
* @memberof
|
|
12742
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12411
12743
|
*/
|
|
12412
12744
|
'name': string;
|
|
12413
12745
|
/**
|
|
12414
12746
|
*
|
|
12415
12747
|
* @type {string}
|
|
12416
|
-
* @memberof
|
|
12748
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12417
12749
|
*/
|
|
12418
12750
|
'company'?: string;
|
|
12419
12751
|
/**
|
|
12420
12752
|
*
|
|
12421
12753
|
* @type {string}
|
|
12422
|
-
* @memberof
|
|
12754
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12423
12755
|
*/
|
|
12424
12756
|
'_id': string;
|
|
12425
12757
|
/**
|
|
12426
12758
|
*
|
|
12427
12759
|
* @type {number}
|
|
12428
|
-
* @memberof
|
|
12760
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12429
12761
|
*/
|
|
12430
12762
|
'__v': number;
|
|
12431
12763
|
/**
|
|
12432
12764
|
*
|
|
12433
12765
|
* @type {string}
|
|
12434
|
-
* @memberof
|
|
12766
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12435
12767
|
*/
|
|
12436
12768
|
'createdAt': string;
|
|
12437
12769
|
/**
|
|
12438
12770
|
*
|
|
12439
12771
|
* @type {string}
|
|
12440
|
-
* @memberof
|
|
12772
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12441
12773
|
*/
|
|
12442
12774
|
'updatedAt': string;
|
|
12443
12775
|
/**
|
|
12444
12776
|
*
|
|
12445
12777
|
* @type {IImage}
|
|
12446
|
-
* @memberof
|
|
12778
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12447
12779
|
*/
|
|
12448
12780
|
'thumbnail'?: IImage;
|
|
12449
12781
|
/**
|
|
12450
12782
|
*
|
|
12451
12783
|
* @type {CompanyTypeEnum}
|
|
12452
|
-
* @memberof
|
|
12784
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12453
12785
|
*/
|
|
12454
12786
|
'type': CompanyTypeEnum;
|
|
12455
12787
|
/**
|
|
12456
12788
|
* Construct a type with a set of properties K of type T
|
|
12457
12789
|
* @type {{ [key: string]: any; }}
|
|
12458
|
-
* @memberof
|
|
12790
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12459
12791
|
*/
|
|
12460
12792
|
'config': {
|
|
12461
12793
|
[key: string]: any;
|
|
12462
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>;
|
|
12463
12809
|
/**
|
|
12464
12810
|
*
|
|
12465
12811
|
* @type {string}
|
|
12466
|
-
* @memberof
|
|
12812
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12467
12813
|
*/
|
|
12468
12814
|
'demoUrl'?: string;
|
|
12469
12815
|
/**
|
|
12470
12816
|
*
|
|
12471
12817
|
* @type {string}
|
|
12472
|
-
* @memberof
|
|
12818
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
|
|
12473
12819
|
*/
|
|
12474
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
|
+
};
|
|
12475
12849
|
}
|
|
12476
12850
|
/**
|
|
12477
12851
|
* From T, pick a set of properties whose keys are in the union K
|
|
@@ -22490,10 +22864,11 @@ export declare const ThemeApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
22490
22864
|
/**
|
|
22491
22865
|
*
|
|
22492
22866
|
* @param {CompanyTypeEnum} [type]
|
|
22867
|
+
* @param {string} [companyId]
|
|
22493
22868
|
* @param {*} [options] Override http request option.
|
|
22494
22869
|
* @throws {RequiredError}
|
|
22495
22870
|
*/
|
|
22496
|
-
getThemes: (type?: CompanyTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22871
|
+
getThemes: (type?: CompanyTypeEnum, companyId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22497
22872
|
/**
|
|
22498
22873
|
*
|
|
22499
22874
|
* @param {string} id
|
|
@@ -22556,10 +22931,11 @@ export declare const ThemeApiFp: (configuration?: Configuration) => {
|
|
|
22556
22931
|
/**
|
|
22557
22932
|
*
|
|
22558
22933
|
* @param {CompanyTypeEnum} [type]
|
|
22934
|
+
* @param {string} [companyId]
|
|
22559
22935
|
* @param {*} [options] Override http request option.
|
|
22560
22936
|
* @throws {RequiredError}
|
|
22561
22937
|
*/
|
|
22562
|
-
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>>;
|
|
22563
22939
|
/**
|
|
22564
22940
|
*
|
|
22565
22941
|
* @param {string} id
|
|
@@ -22567,7 +22943,7 @@ export declare const ThemeApiFp: (configuration?: Configuration) => {
|
|
|
22567
22943
|
* @param {*} [options] Override http request option.
|
|
22568
22944
|
* @throws {RequiredError}
|
|
22569
22945
|
*/
|
|
22570
|
-
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>>;
|
|
22571
22947
|
/**
|
|
22572
22948
|
*
|
|
22573
22949
|
* @param {string} id
|
|
@@ -22632,7 +23008,7 @@ export declare const ThemeApiFactory: (configuration?: Configuration, basePath?:
|
|
|
22632
23008
|
* @param {*} [options] Override http request option.
|
|
22633
23009
|
* @throws {RequiredError}
|
|
22634
23010
|
*/
|
|
22635
|
-
updateTheme(requestParameters: ThemeApiUpdateThemeRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
23011
|
+
updateTheme(requestParameters: ThemeApiUpdateThemeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ITheme>;
|
|
22636
23012
|
/**
|
|
22637
23013
|
*
|
|
22638
23014
|
* @param {ThemeApiUpdateThemeFilesRequest} requestParameters Request parameters.
|
|
@@ -22718,6 +23094,12 @@ export interface ThemeApiGetThemesRequest {
|
|
|
22718
23094
|
* @memberof ThemeApiGetThemes
|
|
22719
23095
|
*/
|
|
22720
23096
|
readonly type?: CompanyTypeEnum;
|
|
23097
|
+
/**
|
|
23098
|
+
*
|
|
23099
|
+
* @type {string}
|
|
23100
|
+
* @memberof ThemeApiGetThemes
|
|
23101
|
+
*/
|
|
23102
|
+
readonly companyId?: string;
|
|
22721
23103
|
}
|
|
22722
23104
|
/**
|
|
22723
23105
|
* Request parameters for updateTheme operation in ThemeApi.
|
|
@@ -22831,7 +23213,7 @@ export declare class ThemeApi extends BaseAPI {
|
|
|
22831
23213
|
* @throws {RequiredError}
|
|
22832
23214
|
* @memberof ThemeApi
|
|
22833
23215
|
*/
|
|
22834
|
-
updateTheme(requestParameters: ThemeApiUpdateThemeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
23216
|
+
updateTheme(requestParameters: ThemeApiUpdateThemeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ITheme, any>>;
|
|
22835
23217
|
/**
|
|
22836
23218
|
*
|
|
22837
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
|
}
|