@infisale-client/api 1.3.47 → 1.3.49
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 +250 -33
- package/dist/api/api.js +19 -5
- package/dist/api/api.mjs +19 -5
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -8829,6 +8829,101 @@ export interface ITemplatesResponse {
|
|
|
8829
8829
|
*/
|
|
8830
8830
|
'data': Array<ITemplateResponse>;
|
|
8831
8831
|
}
|
|
8832
|
+
/**
|
|
8833
|
+
*
|
|
8834
|
+
* @export
|
|
8835
|
+
* @interface ITheme
|
|
8836
|
+
*/
|
|
8837
|
+
export interface ITheme {
|
|
8838
|
+
/**
|
|
8839
|
+
*
|
|
8840
|
+
* @type {string}
|
|
8841
|
+
* @memberof ITheme
|
|
8842
|
+
*/
|
|
8843
|
+
'_id': string;
|
|
8844
|
+
/**
|
|
8845
|
+
*
|
|
8846
|
+
* @type {number}
|
|
8847
|
+
* @memberof ITheme
|
|
8848
|
+
*/
|
|
8849
|
+
'__v': number;
|
|
8850
|
+
/**
|
|
8851
|
+
*
|
|
8852
|
+
* @type {string}
|
|
8853
|
+
* @memberof ITheme
|
|
8854
|
+
*/
|
|
8855
|
+
'createdAt': string;
|
|
8856
|
+
/**
|
|
8857
|
+
*
|
|
8858
|
+
* @type {string}
|
|
8859
|
+
* @memberof ITheme
|
|
8860
|
+
*/
|
|
8861
|
+
'updatedAt': string;
|
|
8862
|
+
/**
|
|
8863
|
+
*
|
|
8864
|
+
* @type {string}
|
|
8865
|
+
* @memberof ITheme
|
|
8866
|
+
*/
|
|
8867
|
+
'name': string;
|
|
8868
|
+
/**
|
|
8869
|
+
*
|
|
8870
|
+
* @type {IImage}
|
|
8871
|
+
* @memberof ITheme
|
|
8872
|
+
*/
|
|
8873
|
+
'thumbnail'?: IImage;
|
|
8874
|
+
/**
|
|
8875
|
+
*
|
|
8876
|
+
* @type {string}
|
|
8877
|
+
* @memberof ITheme
|
|
8878
|
+
*/
|
|
8879
|
+
'main'?: string;
|
|
8880
|
+
/**
|
|
8881
|
+
*
|
|
8882
|
+
* @type {CompanyTypeEnum}
|
|
8883
|
+
* @memberof ITheme
|
|
8884
|
+
*/
|
|
8885
|
+
'type': CompanyTypeEnum;
|
|
8886
|
+
/**
|
|
8887
|
+
*
|
|
8888
|
+
* @type {string}
|
|
8889
|
+
* @memberof ITheme
|
|
8890
|
+
*/
|
|
8891
|
+
'company'?: string;
|
|
8892
|
+
/**
|
|
8893
|
+
*
|
|
8894
|
+
* @type {string}
|
|
8895
|
+
* @memberof ITheme
|
|
8896
|
+
*/
|
|
8897
|
+
'demoUrl'?: string;
|
|
8898
|
+
/**
|
|
8899
|
+
*
|
|
8900
|
+
* @type {string}
|
|
8901
|
+
* @memberof ITheme
|
|
8902
|
+
*/
|
|
8903
|
+
'creator'?: string;
|
|
8904
|
+
/**
|
|
8905
|
+
* Construct a type with a set of properties K of type T
|
|
8906
|
+
* @type {{ [key: string]: any; }}
|
|
8907
|
+
* @memberof ITheme
|
|
8908
|
+
*/
|
|
8909
|
+
'config': {
|
|
8910
|
+
[key: string]: any;
|
|
8911
|
+
};
|
|
8912
|
+
/**
|
|
8913
|
+
* Make all properties in T optional
|
|
8914
|
+
* @type {{ [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentArrayValue; }}
|
|
8915
|
+
* @memberof ITheme
|
|
8916
|
+
*/
|
|
8917
|
+
'groups': {
|
|
8918
|
+
[key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentArrayValue;
|
|
8919
|
+
};
|
|
8920
|
+
/**
|
|
8921
|
+
*
|
|
8922
|
+
* @type {string}
|
|
8923
|
+
* @memberof ITheme
|
|
8924
|
+
*/
|
|
8925
|
+
'lastVersion': string;
|
|
8926
|
+
}
|
|
8832
8927
|
/**
|
|
8833
8928
|
*
|
|
8834
8929
|
* @export
|
|
@@ -8853,6 +8948,12 @@ export interface IThemeCloneRequest {
|
|
|
8853
8948
|
* @memberof IThemeCloneRequest
|
|
8854
8949
|
*/
|
|
8855
8950
|
'company': string;
|
|
8951
|
+
/**
|
|
8952
|
+
*
|
|
8953
|
+
* @type {string}
|
|
8954
|
+
* @memberof IThemeCloneRequest
|
|
8955
|
+
*/
|
|
8956
|
+
'reference'?: string;
|
|
8856
8957
|
}
|
|
8857
8958
|
/**
|
|
8858
8959
|
*
|
|
@@ -8962,12 +9063,6 @@ export interface IThemeResponse {
|
|
|
8962
9063
|
* @memberof IThemeResponse
|
|
8963
9064
|
*/
|
|
8964
9065
|
'thumbnail'?: IImage;
|
|
8965
|
-
/**
|
|
8966
|
-
*
|
|
8967
|
-
* @type {string}
|
|
8968
|
-
* @memberof IThemeResponse
|
|
8969
|
-
*/
|
|
8970
|
-
'main'?: string;
|
|
8971
9066
|
/**
|
|
8972
9067
|
*
|
|
8973
9068
|
* @type {CompanyTypeEnum}
|
|
@@ -8994,6 +9089,12 @@ export interface IThemeResponse {
|
|
|
8994
9089
|
* @memberof IThemeResponse
|
|
8995
9090
|
*/
|
|
8996
9091
|
'creator'?: string;
|
|
9092
|
+
/**
|
|
9093
|
+
*
|
|
9094
|
+
* @type {string}
|
|
9095
|
+
* @memberof IThemeResponse
|
|
9096
|
+
*/
|
|
9097
|
+
'lastVersion': string;
|
|
8997
9098
|
/**
|
|
8998
9099
|
* Make all properties in T optional
|
|
8999
9100
|
* @type {{ [key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue; }}
|
|
@@ -9002,6 +9103,12 @@ export interface IThemeResponse {
|
|
|
9002
9103
|
'groups': {
|
|
9003
9104
|
[key: string]: PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue;
|
|
9004
9105
|
};
|
|
9106
|
+
/**
|
|
9107
|
+
*
|
|
9108
|
+
* @type {ITheme}
|
|
9109
|
+
* @memberof IThemeResponse
|
|
9110
|
+
*/
|
|
9111
|
+
'main'?: ITheme;
|
|
9005
9112
|
/**
|
|
9006
9113
|
* Construct a type with a set of properties K of type T
|
|
9007
9114
|
* @type {{ [key: string]: any; }}
|
|
@@ -9030,6 +9137,81 @@ export interface IThemeResponse {
|
|
|
9030
9137
|
'componentConfigIndex': {
|
|
9031
9138
|
[key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue;
|
|
9032
9139
|
};
|
|
9140
|
+
/**
|
|
9141
|
+
*
|
|
9142
|
+
* @type {IThemeVersion}
|
|
9143
|
+
* @memberof IThemeResponse
|
|
9144
|
+
*/
|
|
9145
|
+
'lastUpdate'?: IThemeVersion;
|
|
9146
|
+
}
|
|
9147
|
+
/**
|
|
9148
|
+
*
|
|
9149
|
+
* @export
|
|
9150
|
+
* @interface IThemeVersion
|
|
9151
|
+
*/
|
|
9152
|
+
export interface IThemeVersion {
|
|
9153
|
+
/**
|
|
9154
|
+
*
|
|
9155
|
+
* @type {string}
|
|
9156
|
+
* @memberof IThemeVersion
|
|
9157
|
+
*/
|
|
9158
|
+
'_id': string;
|
|
9159
|
+
/**
|
|
9160
|
+
*
|
|
9161
|
+
* @type {number}
|
|
9162
|
+
* @memberof IThemeVersion
|
|
9163
|
+
*/
|
|
9164
|
+
'__v': number;
|
|
9165
|
+
/**
|
|
9166
|
+
*
|
|
9167
|
+
* @type {string}
|
|
9168
|
+
* @memberof IThemeVersion
|
|
9169
|
+
*/
|
|
9170
|
+
'createdAt': string;
|
|
9171
|
+
/**
|
|
9172
|
+
*
|
|
9173
|
+
* @type {string}
|
|
9174
|
+
* @memberof IThemeVersion
|
|
9175
|
+
*/
|
|
9176
|
+
'updatedAt': string;
|
|
9177
|
+
/**
|
|
9178
|
+
*
|
|
9179
|
+
* @type {string}
|
|
9180
|
+
* @memberof IThemeVersion
|
|
9181
|
+
*/
|
|
9182
|
+
'theme': string;
|
|
9183
|
+
/**
|
|
9184
|
+
*
|
|
9185
|
+
* @type {string}
|
|
9186
|
+
* @memberof IThemeVersion
|
|
9187
|
+
*/
|
|
9188
|
+
'version': string;
|
|
9189
|
+
/**
|
|
9190
|
+
*
|
|
9191
|
+
* @type {number}
|
|
9192
|
+
* @memberof IThemeVersion
|
|
9193
|
+
*/
|
|
9194
|
+
'size': number;
|
|
9195
|
+
/**
|
|
9196
|
+
*
|
|
9197
|
+
* @type {string}
|
|
9198
|
+
* @memberof IThemeVersion
|
|
9199
|
+
*/
|
|
9200
|
+
'changeLog': string;
|
|
9201
|
+
/**
|
|
9202
|
+
*
|
|
9203
|
+
* @type {boolean}
|
|
9204
|
+
* @memberof IThemeVersion
|
|
9205
|
+
*/
|
|
9206
|
+
'isDeprecated': boolean;
|
|
9207
|
+
/**
|
|
9208
|
+
* Construct a type with a set of properties K of type T
|
|
9209
|
+
* @type {{ [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue; }}
|
|
9210
|
+
* @memberof IThemeVersion
|
|
9211
|
+
*/
|
|
9212
|
+
'componentConfigIndex': {
|
|
9213
|
+
[key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue;
|
|
9214
|
+
};
|
|
9033
9215
|
}
|
|
9034
9216
|
/**
|
|
9035
9217
|
*
|
|
@@ -10135,6 +10317,25 @@ export interface PartialRecordLanguageEnumTitleStringDescription63StringTr {
|
|
|
10135
10317
|
*/
|
|
10136
10318
|
'title': string;
|
|
10137
10319
|
}
|
|
10320
|
+
/**
|
|
10321
|
+
*
|
|
10322
|
+
* @export
|
|
10323
|
+
* @interface PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentArrayValue
|
|
10324
|
+
*/
|
|
10325
|
+
export interface PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentArrayValue {
|
|
10326
|
+
/**
|
|
10327
|
+
* Make all properties in T optional
|
|
10328
|
+
* @type {object}
|
|
10329
|
+
* @memberof PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentArrayValue
|
|
10330
|
+
*/
|
|
10331
|
+
'components': object;
|
|
10332
|
+
/**
|
|
10333
|
+
*
|
|
10334
|
+
* @type {string}
|
|
10335
|
+
* @memberof PartialRecordStringTitleStringComponentsPartialRecordLanguageEnumITemplateComponentArrayValue
|
|
10336
|
+
*/
|
|
10337
|
+
'title': string;
|
|
10338
|
+
}
|
|
10138
10339
|
/**
|
|
10139
10340
|
*
|
|
10140
10341
|
* @export
|
|
@@ -12200,67 +12401,61 @@ export interface PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoRes
|
|
|
12200
12401
|
/**
|
|
12201
12402
|
* From T, pick a set of properties whose keys are in the union K
|
|
12202
12403
|
* @export
|
|
12203
|
-
* @interface
|
|
12404
|
+
* @interface PickIThemeExcludeKeyofIThemeGroupsOrMain
|
|
12204
12405
|
*/
|
|
12205
|
-
export interface
|
|
12406
|
+
export interface PickIThemeExcludeKeyofIThemeGroupsOrMain {
|
|
12206
12407
|
/**
|
|
12207
12408
|
*
|
|
12208
12409
|
* @type {string}
|
|
12209
|
-
* @memberof
|
|
12410
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
|
|
12210
12411
|
*/
|
|
12211
12412
|
'name': string;
|
|
12212
12413
|
/**
|
|
12213
12414
|
*
|
|
12214
12415
|
* @type {string}
|
|
12215
|
-
* @memberof
|
|
12416
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
|
|
12216
12417
|
*/
|
|
12217
12418
|
'company'?: string;
|
|
12218
12419
|
/**
|
|
12219
12420
|
*
|
|
12220
12421
|
* @type {string}
|
|
12221
|
-
* @memberof
|
|
12422
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
|
|
12222
12423
|
*/
|
|
12223
12424
|
'_id': string;
|
|
12224
12425
|
/**
|
|
12225
12426
|
*
|
|
12226
12427
|
* @type {number}
|
|
12227
|
-
* @memberof
|
|
12428
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
|
|
12228
12429
|
*/
|
|
12229
12430
|
'__v': number;
|
|
12230
12431
|
/**
|
|
12231
12432
|
*
|
|
12232
12433
|
* @type {string}
|
|
12233
|
-
* @memberof
|
|
12434
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
|
|
12234
12435
|
*/
|
|
12235
12436
|
'createdAt': string;
|
|
12236
12437
|
/**
|
|
12237
12438
|
*
|
|
12238
12439
|
* @type {string}
|
|
12239
|
-
* @memberof
|
|
12440
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
|
|
12240
12441
|
*/
|
|
12241
12442
|
'updatedAt': string;
|
|
12242
12443
|
/**
|
|
12243
12444
|
*
|
|
12244
12445
|
* @type {IImage}
|
|
12245
|
-
* @memberof
|
|
12446
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
|
|
12246
12447
|
*/
|
|
12247
12448
|
'thumbnail'?: IImage;
|
|
12248
|
-
/**
|
|
12249
|
-
*
|
|
12250
|
-
* @type {string}
|
|
12251
|
-
* @memberof PickIThemeExcludeKeyofIThemeGroups
|
|
12252
|
-
*/
|
|
12253
|
-
'main'?: string;
|
|
12254
12449
|
/**
|
|
12255
12450
|
*
|
|
12256
12451
|
* @type {CompanyTypeEnum}
|
|
12257
|
-
* @memberof
|
|
12452
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
|
|
12258
12453
|
*/
|
|
12259
12454
|
'type': CompanyTypeEnum;
|
|
12260
12455
|
/**
|
|
12261
12456
|
* Construct a type with a set of properties K of type T
|
|
12262
12457
|
* @type {{ [key: string]: any; }}
|
|
12263
|
-
* @memberof
|
|
12458
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
|
|
12264
12459
|
*/
|
|
12265
12460
|
'config': {
|
|
12266
12461
|
[key: string]: any;
|
|
@@ -12268,15 +12463,21 @@ export interface PickIThemeExcludeKeyofIThemeGroups {
|
|
|
12268
12463
|
/**
|
|
12269
12464
|
*
|
|
12270
12465
|
* @type {string}
|
|
12271
|
-
* @memberof
|
|
12466
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
|
|
12272
12467
|
*/
|
|
12273
12468
|
'demoUrl'?: string;
|
|
12274
12469
|
/**
|
|
12275
12470
|
*
|
|
12276
12471
|
* @type {string}
|
|
12277
|
-
* @memberof
|
|
12472
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
|
|
12278
12473
|
*/
|
|
12279
12474
|
'creator'?: string;
|
|
12475
|
+
/**
|
|
12476
|
+
*
|
|
12477
|
+
* @type {string}
|
|
12478
|
+
* @memberof PickIThemeExcludeKeyofIThemeGroupsOrMain
|
|
12479
|
+
*/
|
|
12480
|
+
'lastVersion': string;
|
|
12280
12481
|
}
|
|
12281
12482
|
/**
|
|
12282
12483
|
* From T, pick a set of properties whose keys are in the union K
|
|
@@ -22311,10 +22512,12 @@ export declare const ThemeApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
22311
22512
|
*
|
|
22312
22513
|
* @param {string} id
|
|
22313
22514
|
* @param {File} file
|
|
22515
|
+
* @param {string} version
|
|
22516
|
+
* @param {string} changeLog
|
|
22314
22517
|
* @param {*} [options] Override http request option.
|
|
22315
22518
|
* @throws {RequiredError}
|
|
22316
22519
|
*/
|
|
22317
|
-
updateThemeFiles: (id: string, file: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22520
|
+
updateThemeFiles: (id: string, file: File, version: string, changeLog: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22318
22521
|
};
|
|
22319
22522
|
/**
|
|
22320
22523
|
* ThemeApi - functional programming interface
|
|
@@ -22327,14 +22530,14 @@ export declare const ThemeApiFp: (configuration?: Configuration) => {
|
|
|
22327
22530
|
* @param {*} [options] Override http request option.
|
|
22328
22531
|
* @throws {RequiredError}
|
|
22329
22532
|
*/
|
|
22330
|
-
cloneTheme(iThemeCloneRequest: IThemeCloneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
22533
|
+
cloneTheme(iThemeCloneRequest: IThemeCloneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
22331
22534
|
/**
|
|
22332
22535
|
*
|
|
22333
22536
|
* @param {IThemePostRequest} iThemePostRequest
|
|
22334
22537
|
* @param {*} [options] Override http request option.
|
|
22335
22538
|
* @throws {RequiredError}
|
|
22336
22539
|
*/
|
|
22337
|
-
createTheme(iThemePostRequest: IThemePostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
22540
|
+
createTheme(iThemePostRequest: IThemePostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ITheme>>;
|
|
22338
22541
|
/**
|
|
22339
22542
|
*
|
|
22340
22543
|
* @param {string} id
|
|
@@ -22375,10 +22578,12 @@ export declare const ThemeApiFp: (configuration?: Configuration) => {
|
|
|
22375
22578
|
*
|
|
22376
22579
|
* @param {string} id
|
|
22377
22580
|
* @param {File} file
|
|
22581
|
+
* @param {string} version
|
|
22582
|
+
* @param {string} changeLog
|
|
22378
22583
|
* @param {*} [options] Override http request option.
|
|
22379
22584
|
* @throws {RequiredError}
|
|
22380
22585
|
*/
|
|
22381
|
-
updateThemeFiles(id: string, file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
22586
|
+
updateThemeFiles(id: string, file: File, version: string, changeLog: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
22382
22587
|
};
|
|
22383
22588
|
/**
|
|
22384
22589
|
* ThemeApi - factory interface
|
|
@@ -22391,14 +22596,14 @@ export declare const ThemeApiFactory: (configuration?: Configuration, basePath?:
|
|
|
22391
22596
|
* @param {*} [options] Override http request option.
|
|
22392
22597
|
* @throws {RequiredError}
|
|
22393
22598
|
*/
|
|
22394
|
-
cloneTheme(requestParameters: ThemeApiCloneThemeRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
22599
|
+
cloneTheme(requestParameters: ThemeApiCloneThemeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22395
22600
|
/**
|
|
22396
22601
|
*
|
|
22397
22602
|
* @param {ThemeApiCreateThemeRequest} requestParameters Request parameters.
|
|
22398
22603
|
* @param {*} [options] Override http request option.
|
|
22399
22604
|
* @throws {RequiredError}
|
|
22400
22605
|
*/
|
|
22401
|
-
createTheme(requestParameters: ThemeApiCreateThemeRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
22606
|
+
createTheme(requestParameters: ThemeApiCreateThemeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ITheme>;
|
|
22402
22607
|
/**
|
|
22403
22608
|
*
|
|
22404
22609
|
* @param {ThemeApiDeleteThemeRequest} requestParameters Request parameters.
|
|
@@ -22557,6 +22762,18 @@ export interface ThemeApiUpdateThemeFilesRequest {
|
|
|
22557
22762
|
* @memberof ThemeApiUpdateThemeFiles
|
|
22558
22763
|
*/
|
|
22559
22764
|
readonly file: File;
|
|
22765
|
+
/**
|
|
22766
|
+
*
|
|
22767
|
+
* @type {string}
|
|
22768
|
+
* @memberof ThemeApiUpdateThemeFiles
|
|
22769
|
+
*/
|
|
22770
|
+
readonly version: string;
|
|
22771
|
+
/**
|
|
22772
|
+
*
|
|
22773
|
+
* @type {string}
|
|
22774
|
+
* @memberof ThemeApiUpdateThemeFiles
|
|
22775
|
+
*/
|
|
22776
|
+
readonly changeLog: string;
|
|
22560
22777
|
}
|
|
22561
22778
|
/**
|
|
22562
22779
|
* ThemeApi - object-oriented interface
|
|
@@ -22572,7 +22789,7 @@ export declare class ThemeApi extends BaseAPI {
|
|
|
22572
22789
|
* @throws {RequiredError}
|
|
22573
22790
|
* @memberof ThemeApi
|
|
22574
22791
|
*/
|
|
22575
|
-
cloneTheme(requestParameters: ThemeApiCloneThemeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
22792
|
+
cloneTheme(requestParameters: ThemeApiCloneThemeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
22576
22793
|
/**
|
|
22577
22794
|
*
|
|
22578
22795
|
* @param {ThemeApiCreateThemeRequest} requestParameters Request parameters.
|
|
@@ -22580,7 +22797,7 @@ export declare class ThemeApi extends BaseAPI {
|
|
|
22580
22797
|
* @throws {RequiredError}
|
|
22581
22798
|
* @memberof ThemeApi
|
|
22582
22799
|
*/
|
|
22583
|
-
createTheme(requestParameters: ThemeApiCreateThemeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
22800
|
+
createTheme(requestParameters: ThemeApiCreateThemeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ITheme, any>>;
|
|
22584
22801
|
/**
|
|
22585
22802
|
*
|
|
22586
22803
|
* @param {ThemeApiDeleteThemeRequest} requestParameters Request parameters.
|
package/dist/api/api.js
CHANGED
|
@@ -12211,14 +12211,20 @@ const ThemeApiAxiosParamCreator = function (configuration) {
|
|
|
12211
12211
|
*
|
|
12212
12212
|
* @param {string} id
|
|
12213
12213
|
* @param {File} file
|
|
12214
|
+
* @param {string} version
|
|
12215
|
+
* @param {string} changeLog
|
|
12214
12216
|
* @param {*} [options] Override http request option.
|
|
12215
12217
|
* @throws {RequiredError}
|
|
12216
12218
|
*/
|
|
12217
|
-
updateThemeFiles: async (id, file, options = {}) => {
|
|
12219
|
+
updateThemeFiles: async (id, file, version, changeLog, options = {}) => {
|
|
12218
12220
|
// verify required parameter 'id' is not null or undefined
|
|
12219
12221
|
(0, common_1.assertParamExists)('updateThemeFiles', 'id', id);
|
|
12220
12222
|
// verify required parameter 'file' is not null or undefined
|
|
12221
12223
|
(0, common_1.assertParamExists)('updateThemeFiles', 'file', file);
|
|
12224
|
+
// verify required parameter 'version' is not null or undefined
|
|
12225
|
+
(0, common_1.assertParamExists)('updateThemeFiles', 'version', version);
|
|
12226
|
+
// verify required parameter 'changeLog' is not null or undefined
|
|
12227
|
+
(0, common_1.assertParamExists)('updateThemeFiles', 'changeLog', changeLog);
|
|
12222
12228
|
const localVarPath = `/api/themes/{id}/files`
|
|
12223
12229
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12224
12230
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -12234,6 +12240,12 @@ const ThemeApiAxiosParamCreator = function (configuration) {
|
|
|
12234
12240
|
if (file !== undefined) {
|
|
12235
12241
|
localVarFormParams.append('file', file);
|
|
12236
12242
|
}
|
|
12243
|
+
if (version !== undefined) {
|
|
12244
|
+
localVarFormParams.append('version', version);
|
|
12245
|
+
}
|
|
12246
|
+
if (changeLog !== undefined) {
|
|
12247
|
+
localVarFormParams.append('changeLog', changeLog);
|
|
12248
|
+
}
|
|
12237
12249
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
12238
12250
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12239
12251
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -12343,11 +12355,13 @@ const ThemeApiFp = function (configuration) {
|
|
|
12343
12355
|
*
|
|
12344
12356
|
* @param {string} id
|
|
12345
12357
|
* @param {File} file
|
|
12358
|
+
* @param {string} version
|
|
12359
|
+
* @param {string} changeLog
|
|
12346
12360
|
* @param {*} [options] Override http request option.
|
|
12347
12361
|
* @throws {RequiredError}
|
|
12348
12362
|
*/
|
|
12349
|
-
async updateThemeFiles(id, file, options) {
|
|
12350
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateThemeFiles(id, file, options);
|
|
12363
|
+
async updateThemeFiles(id, file, version, changeLog, options) {
|
|
12364
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateThemeFiles(id, file, version, changeLog, options);
|
|
12351
12365
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12352
12366
|
const localVarOperationServerBasePath = base_1.operationServerMap['ThemeApi.updateThemeFiles']?.[localVarOperationServerIndex]?.url;
|
|
12353
12367
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12432,7 +12446,7 @@ const ThemeApiFactory = function (configuration, basePath, axios) {
|
|
|
12432
12446
|
* @throws {RequiredError}
|
|
12433
12447
|
*/
|
|
12434
12448
|
updateThemeFiles(requestParameters, options) {
|
|
12435
|
-
return localVarFp.updateThemeFiles(requestParameters.id, requestParameters.file, options).then((request) => request(axios, basePath));
|
|
12449
|
+
return localVarFp.updateThemeFiles(requestParameters.id, requestParameters.file, requestParameters.version, requestParameters.changeLog, options).then((request) => request(axios, basePath));
|
|
12436
12450
|
},
|
|
12437
12451
|
};
|
|
12438
12452
|
};
|
|
@@ -12522,7 +12536,7 @@ class ThemeApi extends base_1.BaseAPI {
|
|
|
12522
12536
|
* @memberof ThemeApi
|
|
12523
12537
|
*/
|
|
12524
12538
|
updateThemeFiles(requestParameters, options) {
|
|
12525
|
-
return (0, exports.ThemeApiFp)(this.configuration).updateThemeFiles(requestParameters.id, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
12539
|
+
return (0, exports.ThemeApiFp)(this.configuration).updateThemeFiles(requestParameters.id, requestParameters.file, requestParameters.version, requestParameters.changeLog, options).then((request) => request(this.axios, this.basePath));
|
|
12526
12540
|
}
|
|
12527
12541
|
}
|
|
12528
12542
|
exports.ThemeApi = ThemeApi;
|
package/dist/api/api.mjs
CHANGED
|
@@ -12127,14 +12127,20 @@ export const ThemeApiAxiosParamCreator = function (configuration) {
|
|
|
12127
12127
|
*
|
|
12128
12128
|
* @param {string} id
|
|
12129
12129
|
* @param {File} file
|
|
12130
|
+
* @param {string} version
|
|
12131
|
+
* @param {string} changeLog
|
|
12130
12132
|
* @param {*} [options] Override http request option.
|
|
12131
12133
|
* @throws {RequiredError}
|
|
12132
12134
|
*/
|
|
12133
|
-
updateThemeFiles: async (id, file, options = {}) => {
|
|
12135
|
+
updateThemeFiles: async (id, file, version, changeLog, options = {}) => {
|
|
12134
12136
|
// verify required parameter 'id' is not null or undefined
|
|
12135
12137
|
assertParamExists('updateThemeFiles', 'id', id);
|
|
12136
12138
|
// verify required parameter 'file' is not null or undefined
|
|
12137
12139
|
assertParamExists('updateThemeFiles', 'file', file);
|
|
12140
|
+
// verify required parameter 'version' is not null or undefined
|
|
12141
|
+
assertParamExists('updateThemeFiles', 'version', version);
|
|
12142
|
+
// verify required parameter 'changeLog' is not null or undefined
|
|
12143
|
+
assertParamExists('updateThemeFiles', 'changeLog', changeLog);
|
|
12138
12144
|
const localVarPath = `/api/themes/{id}/files`
|
|
12139
12145
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12140
12146
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -12150,6 +12156,12 @@ export const ThemeApiAxiosParamCreator = function (configuration) {
|
|
|
12150
12156
|
if (file !== undefined) {
|
|
12151
12157
|
localVarFormParams.append('file', file);
|
|
12152
12158
|
}
|
|
12159
|
+
if (version !== undefined) {
|
|
12160
|
+
localVarFormParams.append('version', version);
|
|
12161
|
+
}
|
|
12162
|
+
if (changeLog !== undefined) {
|
|
12163
|
+
localVarFormParams.append('changeLog', changeLog);
|
|
12164
|
+
}
|
|
12153
12165
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
12154
12166
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12155
12167
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -12258,11 +12270,13 @@ export const ThemeApiFp = function (configuration) {
|
|
|
12258
12270
|
*
|
|
12259
12271
|
* @param {string} id
|
|
12260
12272
|
* @param {File} file
|
|
12273
|
+
* @param {string} version
|
|
12274
|
+
* @param {string} changeLog
|
|
12261
12275
|
* @param {*} [options] Override http request option.
|
|
12262
12276
|
* @throws {RequiredError}
|
|
12263
12277
|
*/
|
|
12264
|
-
async updateThemeFiles(id, file, options) {
|
|
12265
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateThemeFiles(id, file, options);
|
|
12278
|
+
async updateThemeFiles(id, file, version, changeLog, options) {
|
|
12279
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateThemeFiles(id, file, version, changeLog, options);
|
|
12266
12280
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12267
12281
|
const localVarOperationServerBasePath = operationServerMap['ThemeApi.updateThemeFiles']?.[localVarOperationServerIndex]?.url;
|
|
12268
12282
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12346,7 +12360,7 @@ export const ThemeApiFactory = function (configuration, basePath, axios) {
|
|
|
12346
12360
|
* @throws {RequiredError}
|
|
12347
12361
|
*/
|
|
12348
12362
|
updateThemeFiles(requestParameters, options) {
|
|
12349
|
-
return localVarFp.updateThemeFiles(requestParameters.id, requestParameters.file, options).then((request) => request(axios, basePath));
|
|
12363
|
+
return localVarFp.updateThemeFiles(requestParameters.id, requestParameters.file, requestParameters.version, requestParameters.changeLog, options).then((request) => request(axios, basePath));
|
|
12350
12364
|
},
|
|
12351
12365
|
};
|
|
12352
12366
|
};
|
|
@@ -12435,7 +12449,7 @@ export class ThemeApi extends BaseAPI {
|
|
|
12435
12449
|
* @memberof ThemeApi
|
|
12436
12450
|
*/
|
|
12437
12451
|
updateThemeFiles(requestParameters, options) {
|
|
12438
|
-
return ThemeApiFp(this.configuration).updateThemeFiles(requestParameters.id, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
12452
|
+
return ThemeApiFp(this.configuration).updateThemeFiles(requestParameters.id, requestParameters.file, requestParameters.version, requestParameters.changeLog, options).then((request) => request(this.axios, this.basePath));
|
|
12439
12453
|
}
|
|
12440
12454
|
}
|
|
12441
12455
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.49",
|
|
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": "e64a00f438fdb56745d7e2f6f554da66a218667f"
|
|
41
41
|
}
|