@infisale-client/api 1.3.6 → 1.3.8

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/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ## Usage
6
6
 
7
7
  ```
8
- const api = require('api');
8
+ const api = require('api');
9
9
 
10
10
  // TODO: DEMONSTRATE API
11
11
  ```
package/dist/api/api.d.ts CHANGED
@@ -999,6 +999,12 @@ export interface IBrandPatchRequest {
999
999
  * @memberof IBrandPatchRequest
1000
1000
  */
1001
1001
  'contents'?: PartialRecordLanguageEnumIContentsValue;
1002
+ /**
1003
+ *
1004
+ * @type {IImage}
1005
+ * @memberof IBrandPatchRequest
1006
+ */
1007
+ 'thumbnail'?: IImage;
1002
1008
  }
1003
1009
  /**
1004
1010
  *
@@ -1018,6 +1024,12 @@ export interface IBrandPostRequest {
1018
1024
  * @memberof IBrandPostRequest
1019
1025
  */
1020
1026
  'contents': PartialRecordLanguageEnumIContentsValue;
1027
+ /**
1028
+ *
1029
+ * @type {IImage}
1030
+ * @memberof IBrandPostRequest
1031
+ */
1032
+ 'thumbnail'?: IImage;
1021
1033
  }
1022
1034
  /**
1023
1035
  *
@@ -1055,12 +1067,6 @@ export interface IBrandResponse {
1055
1067
  * @memberof IBrandResponse
1056
1068
  */
1057
1069
  'status': ContentStatusEnum;
1058
- /**
1059
- *
1060
- * @type {IImage}
1061
- * @memberof IBrandResponse
1062
- */
1063
- 'thumbnail'?: IImage;
1064
1070
  /**
1065
1071
  *
1066
1072
  * @type {string}
@@ -1109,6 +1115,12 @@ export interface IBrandResponse {
1109
1115
  * @memberof IBrandResponse
1110
1116
  */
1111
1117
  'company': string;
1118
+ /**
1119
+ *
1120
+ * @type {IImage}
1121
+ * @memberof IBrandResponse
1122
+ */
1123
+ 'thumbnail'?: IImage;
1112
1124
  /**
1113
1125
  *
1114
1126
  * @type {PartialRecordLanguageEnumIContentsValue}
@@ -1350,6 +1362,12 @@ export interface ICategoryPatchRequest {
1350
1362
  * @memberof ICategoryPatchRequest
1351
1363
  */
1352
1364
  'contents'?: PartialRecordLanguageEnumIContentsValue;
1365
+ /**
1366
+ *
1367
+ * @type {IImage}
1368
+ * @memberof ICategoryPatchRequest
1369
+ */
1370
+ 'thumbnail'?: IImage;
1353
1371
  /**
1354
1372
  *
1355
1373
  * @type {string}
@@ -1375,6 +1393,12 @@ export interface ICategoryPostRequest {
1375
1393
  * @memberof ICategoryPostRequest
1376
1394
  */
1377
1395
  'contents': PartialRecordLanguageEnumIContentsValue;
1396
+ /**
1397
+ *
1398
+ * @type {IImage}
1399
+ * @memberof ICategoryPostRequest
1400
+ */
1401
+ 'thumbnail'?: IImage;
1378
1402
  /**
1379
1403
  *
1380
1404
  * @type {string}
@@ -1760,6 +1784,12 @@ export interface ICollectionPatchRequest {
1760
1784
  * @memberof ICollectionPatchRequest
1761
1785
  */
1762
1786
  'contents'?: PartialRecordLanguageEnumIContentsValue;
1787
+ /**
1788
+ *
1789
+ * @type {IImage}
1790
+ * @memberof ICollectionPatchRequest
1791
+ */
1792
+ 'thumbnail'?: IImage;
1763
1793
  }
1764
1794
  /**
1765
1795
  *
@@ -1779,6 +1809,12 @@ export interface ICollectionPostRequest {
1779
1809
  * @memberof ICollectionPostRequest
1780
1810
  */
1781
1811
  'contents': PartialRecordLanguageEnumIContentsValue;
1812
+ /**
1813
+ *
1814
+ * @type {IImage}
1815
+ * @memberof ICollectionPostRequest
1816
+ */
1817
+ 'thumbnail'?: IImage;
1782
1818
  /**
1783
1819
  *
1784
1820
  * @type {ITemplateResponse}
@@ -4330,12 +4366,6 @@ export interface IContentsValue {
4330
4366
  * @memberof IContentsValue
4331
4367
  */
4332
4368
  'status': ContentStatusEnum;
4333
- /**
4334
- *
4335
- * @type {IImage}
4336
- * @memberof IContentsValue
4337
- */
4338
- 'thumbnail'?: IImage;
4339
4369
  /**
4340
4370
  *
4341
4371
  * @type {string}
@@ -6255,6 +6285,12 @@ export interface IPagePatchRequest {
6255
6285
  * @memberof IPagePatchRequest
6256
6286
  */
6257
6287
  'contents'?: PartialRecordLanguageEnumIContentsValue;
6288
+ /**
6289
+ *
6290
+ * @type {IImage}
6291
+ * @memberof IPagePatchRequest
6292
+ */
6293
+ 'thumbnail'?: IImage;
6258
6294
  /**
6259
6295
  *
6260
6296
  * @type {PageTypeEnum}
@@ -6280,6 +6316,12 @@ export interface IPagePostRequest {
6280
6316
  * @memberof IPagePostRequest
6281
6317
  */
6282
6318
  'contents': PartialRecordLanguageEnumIContentsValue;
6319
+ /**
6320
+ *
6321
+ * @type {IImage}
6322
+ * @memberof IPagePostRequest
6323
+ */
6324
+ 'thumbnail'?: IImage;
6283
6325
  /**
6284
6326
  *
6285
6327
  * @type {PageTypeEnum}
@@ -7404,12 +7446,6 @@ export interface IProductResponse {
7404
7446
  * @memberof IProductResponse
7405
7447
  */
7406
7448
  'status': ContentStatusEnum;
7407
- /**
7408
- *
7409
- * @type {IImage}
7410
- * @memberof IProductResponse
7411
- */
7412
- 'thumbnail'?: IImage;
7413
7449
  /**
7414
7450
  *
7415
7451
  * @type {string}
@@ -8481,12 +8517,6 @@ export interface IThemeCloneRequest {
8481
8517
  * @interface IThemePatchRequest
8482
8518
  */
8483
8519
  export interface IThemePatchRequest {
8484
- /**
8485
- *
8486
- * @type {IThemeResponseTemplate}
8487
- * @memberof IThemePatchRequest
8488
- */
8489
- 'template'?: IThemeResponseTemplate;
8490
8520
  /**
8491
8521
  *
8492
8522
  * @type {string}
@@ -8507,6 +8537,14 @@ export interface IThemePatchRequest {
8507
8537
  'config'?: {
8508
8538
  [key: string]: any;
8509
8539
  };
8540
+ /**
8541
+ * Construct a type with a set of properties K of type T
8542
+ * @type {{ [key: string]: RecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue; }}
8543
+ * @memberof IThemePatchRequest
8544
+ */
8545
+ 'groups'?: {
8546
+ [key: string]: RecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue;
8547
+ };
8510
8548
  /**
8511
8549
  *
8512
8550
  * @type {string}
@@ -8552,6 +8590,14 @@ export interface IThemePostRequest {
8552
8590
  'config': {
8553
8591
  [key: string]: any;
8554
8592
  };
8593
+ /**
8594
+ * Construct a type with a set of properties K of type T
8595
+ * @type {{ [key: string]: RecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue; }}
8596
+ * @memberof IThemePostRequest
8597
+ */
8598
+ 'groups': {
8599
+ [key: string]: RecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue;
8600
+ };
8555
8601
  /**
8556
8602
  *
8557
8603
  * @type {string}
@@ -8570,12 +8616,6 @@ export interface IThemePostRequest {
8570
8616
  * @memberof IThemePostRequest
8571
8617
  */
8572
8618
  'assetVersion': number;
8573
- /**
8574
- *
8575
- * @type {IThemeResponseTemplate}
8576
- * @memberof IThemePostRequest
8577
- */
8578
- 'template': IThemeResponseTemplate;
8579
8619
  }
8580
8620
  /**
8581
8621
  *
@@ -8652,11 +8692,13 @@ export interface IThemeResponse {
8652
8692
  */
8653
8693
  'creator'?: string;
8654
8694
  /**
8655
- *
8656
- * @type {IThemeResponseTemplate}
8695
+ * Construct a type with a set of properties K of type T
8696
+ * @type {{ [key: string]: RecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue; }}
8657
8697
  * @memberof IThemeResponse
8658
8698
  */
8659
- 'template': IThemeResponseTemplate;
8699
+ 'groups': {
8700
+ [key: string]: RecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue;
8701
+ };
8660
8702
  /**
8661
8703
  * Construct a type with a set of properties K of type T
8662
8704
  * @type {{ [key: string]: any; }}
@@ -8678,25 +8720,6 @@ export interface IThemeResponse {
8678
8720
  */
8679
8721
  'assetVersion': number;
8680
8722
  }
8681
- /**
8682
- *
8683
- * @export
8684
- * @interface IThemeResponseTemplate
8685
- */
8686
- export interface IThemeResponseTemplate {
8687
- /**
8688
- *
8689
- * @type {PartialRecordLanguageEnumITemplateComponentResponseArray}
8690
- * @memberof IThemeResponseTemplate
8691
- */
8692
- 'footer': PartialRecordLanguageEnumITemplateComponentResponseArray;
8693
- /**
8694
- *
8695
- * @type {PartialRecordLanguageEnumITemplateComponentResponseArray}
8696
- * @memberof IThemeResponseTemplate
8697
- */
8698
- 'header': PartialRecordLanguageEnumITemplateComponentResponseArray;
8699
- }
8700
8723
  /**
8701
8724
  *
8702
8725
  * @export
@@ -9384,6 +9407,12 @@ export interface PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponseO
9384
9407
  * @memberof PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponseOrSlugsOrKeyofIContentsValue
9385
9408
  */
9386
9409
  'contents': PartialRecordLanguageEnumIContentsValue;
9410
+ /**
9411
+ *
9412
+ * @type {IImage}
9413
+ * @memberof PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponseOrSlugsOrKeyofIContentsValue
9414
+ */
9415
+ 'thumbnail'?: IImage;
9387
9416
  }
9388
9417
  /**
9389
9418
  * From T, pick a set of properties whose keys are in the union K
@@ -9464,6 +9493,12 @@ export interface PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoRes
9464
9493
  * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributesOrSlugsOrKeyofIContentsValue
9465
9494
  */
9466
9495
  'contents': PartialRecordLanguageEnumIContentsValue;
9496
+ /**
9497
+ *
9498
+ * @type {IImage}
9499
+ * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributesOrSlugsOrKeyofIContentsValue
9500
+ */
9501
+ 'thumbnail'?: IImage;
9467
9502
  /**
9468
9503
  *
9469
9504
  * @type {string}
@@ -9593,6 +9628,12 @@ export interface PickICollectionResponseExcludeKeyofICollectionResponseKeyofMong
9593
9628
  * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugsOrKeyofIContentsValue
9594
9629
  */
9595
9630
  'contents': PartialRecordLanguageEnumIContentsValue;
9631
+ /**
9632
+ *
9633
+ * @type {IImage}
9634
+ * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugsOrKeyofIContentsValue
9635
+ */
9636
+ 'thumbnail'?: IImage;
9596
9637
  }
9597
9638
  /**
9598
9639
  * From T, pick a set of properties whose keys are in the union K
@@ -10634,6 +10675,12 @@ export interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrT
10634
10675
  * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugsOrKeyofIContentsValue
10635
10676
  */
10636
10677
  'contents': PartialRecordLanguageEnumIContentsValue;
10678
+ /**
10679
+ *
10680
+ * @type {IImage}
10681
+ * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugsOrKeyofIContentsValue
10682
+ */
10683
+ 'thumbnail'?: IImage;
10637
10684
  /**
10638
10685
  *
10639
10686
  * @type {PageTypeEnum}
@@ -11139,61 +11186,61 @@ export interface PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoRes
11139
11186
  /**
11140
11187
  * From T, pick a set of properties whose keys are in the union K
11141
11188
  * @export
11142
- * @interface PickIThemeExcludeKeyofIThemeTemplate
11189
+ * @interface PickIThemeExcludeKeyofIThemeGroups
11143
11190
  */
11144
- export interface PickIThemeExcludeKeyofIThemeTemplate {
11191
+ export interface PickIThemeExcludeKeyofIThemeGroups {
11145
11192
  /**
11146
11193
  *
11147
11194
  * @type {string}
11148
- * @memberof PickIThemeExcludeKeyofIThemeTemplate
11195
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
11149
11196
  */
11150
11197
  'name': string;
11151
11198
  /**
11152
11199
  *
11153
11200
  * @type {string}
11154
- * @memberof PickIThemeExcludeKeyofIThemeTemplate
11201
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
11155
11202
  */
11156
11203
  'company'?: string;
11157
11204
  /**
11158
11205
  *
11159
11206
  * @type {string}
11160
- * @memberof PickIThemeExcludeKeyofIThemeTemplate
11207
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
11161
11208
  */
11162
11209
  '_id': string;
11163
11210
  /**
11164
11211
  *
11165
11212
  * @type {number}
11166
- * @memberof PickIThemeExcludeKeyofIThemeTemplate
11213
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
11167
11214
  */
11168
11215
  '__v': number;
11169
11216
  /**
11170
11217
  *
11171
11218
  * @type {string}
11172
- * @memberof PickIThemeExcludeKeyofIThemeTemplate
11219
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
11173
11220
  */
11174
11221
  'createdAt': string;
11175
11222
  /**
11176
11223
  *
11177
11224
  * @type {string}
11178
- * @memberof PickIThemeExcludeKeyofIThemeTemplate
11225
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
11179
11226
  */
11180
11227
  'updatedAt': string;
11181
11228
  /**
11182
11229
  *
11183
11230
  * @type {IImage}
11184
- * @memberof PickIThemeExcludeKeyofIThemeTemplate
11231
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
11185
11232
  */
11186
11233
  'thumbnail'?: IImage;
11187
11234
  /**
11188
11235
  *
11189
11236
  * @type {string}
11190
- * @memberof PickIThemeExcludeKeyofIThemeTemplate
11237
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
11191
11238
  */
11192
11239
  'main'?: string;
11193
11240
  /**
11194
11241
  * Construct a type with a set of properties K of type T
11195
11242
  * @type {{ [key: string]: any; }}
11196
- * @memberof PickIThemeExcludeKeyofIThemeTemplate
11243
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
11197
11244
  */
11198
11245
  'config': {
11199
11246
  [key: string]: any;
@@ -11201,58 +11248,66 @@ export interface PickIThemeExcludeKeyofIThemeTemplate {
11201
11248
  /**
11202
11249
  *
11203
11250
  * @type {string}
11204
- * @memberof PickIThemeExcludeKeyofIThemeTemplate
11251
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
11205
11252
  */
11206
11253
  'demoUrl'?: string;
11207
11254
  /**
11208
11255
  *
11209
11256
  * @type {string}
11210
- * @memberof PickIThemeExcludeKeyofIThemeTemplate
11257
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
11211
11258
  */
11212
11259
  'creator'?: string;
11213
11260
  }
11214
11261
  /**
11215
11262
  * From T, pick a set of properties whose keys are in the union K
11216
11263
  * @export
11217
- * @interface PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrTemplateOrMainOrCompanyOrCreatorOrFiles
11264
+ * @interface PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrMainOrCompanyOrCreatorOrFiles
11218
11265
  */
11219
- export interface PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrTemplateOrMainOrCompanyOrCreatorOrFiles {
11266
+ export interface PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrMainOrCompanyOrCreatorOrFiles {
11220
11267
  /**
11221
11268
  *
11222
11269
  * @type {string}
11223
- * @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrTemplateOrMainOrCompanyOrCreatorOrFiles
11270
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrMainOrCompanyOrCreatorOrFiles
11224
11271
  */
11225
11272
  'name': string;
11226
11273
  /**
11227
11274
  *
11228
11275
  * @type {IImage}
11229
- * @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrTemplateOrMainOrCompanyOrCreatorOrFiles
11276
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrMainOrCompanyOrCreatorOrFiles
11230
11277
  */
11231
11278
  'thumbnail'?: IImage;
11232
11279
  /**
11233
11280
  * Construct a type with a set of properties K of type T
11234
11281
  * @type {{ [key: string]: any; }}
11235
- * @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrTemplateOrMainOrCompanyOrCreatorOrFiles
11282
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrMainOrCompanyOrCreatorOrFiles
11236
11283
  */
11237
11284
  'config': {
11238
11285
  [key: string]: any;
11239
11286
  };
11287
+ /**
11288
+ * Construct a type with a set of properties K of type T
11289
+ * @type {{ [key: string]: RecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue; }}
11290
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrMainOrCompanyOrCreatorOrFiles
11291
+ */
11292
+ 'groups': {
11293
+ [key: string]: RecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue;
11294
+ };
11240
11295
  /**
11241
11296
  *
11242
11297
  * @type {string}
11243
- * @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrTemplateOrMainOrCompanyOrCreatorOrFiles
11298
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrMainOrCompanyOrCreatorOrFiles
11244
11299
  */
11245
11300
  'demoUrl'?: string;
11246
11301
  /**
11247
11302
  *
11248
11303
  * @type {string}
11249
- * @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrTemplateOrMainOrCompanyOrCreatorOrFiles
11304
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrMainOrCompanyOrCreatorOrFiles
11250
11305
  */
11251
11306
  'assetUrl': string;
11252
11307
  /**
11253
11308
  *
11254
11309
  * @type {number}
11255
- * @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrTemplateOrMainOrCompanyOrCreatorOrFiles
11310
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrMainOrCompanyOrCreatorOrFiles
11256
11311
  */
11257
11312
  'assetVersion': number;
11258
11313
  }
@@ -11654,6 +11709,19 @@ export interface RecordLanguageEnumTitleStringTr {
11654
11709
  */
11655
11710
  'title': string;
11656
11711
  }
11712
+ /**
11713
+ *
11714
+ * @export
11715
+ * @interface RecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue
11716
+ */
11717
+ export interface RecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue {
11718
+ /**
11719
+ *
11720
+ * @type {PartialRecordLanguageEnumITemplateComponentResponseArray}
11721
+ * @memberof RecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue
11722
+ */
11723
+ 'components': PartialRecordLanguageEnumITemplateComponentResponseArray;
11724
+ }
11657
11725
  /**
11658
11726
  *
11659
11727
  * @export
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api",
3
- "version": "1.3.6",
3
+ "version": "1.3.8",
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": "8cf386dcdce01acea4ce20ddbcd6a3b6805ea3cc"
40
+ "gitHead": "bb4152da7fc46071be67261b9741c58f8e16466f"
41
41
  }