ch-api-client-typescript2 4.7.1 → 4.7.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "4.7.1",
3
+ "version": "4.7.2",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/api.ts CHANGED
@@ -522,6 +522,12 @@ export interface ArticleContributorModel {
522
522
  * @memberof ArticleContributorModel
523
523
  */
524
524
  'auditableEntity'?: AuditableEntity;
525
+ /**
526
+ *
527
+ * @type {ContributorMappingModel}
528
+ * @memberof ArticleContributorModel
529
+ */
530
+ 'contributor'?: ContributorMappingModel;
525
531
  /**
526
532
  *
527
533
  * @type {string}
@@ -2556,6 +2562,19 @@ export interface ContributorItemModel {
2556
2562
  */
2557
2563
  'auditableEntity'?: AuditableEntity;
2558
2564
  }
2565
+ /**
2566
+ *
2567
+ * @export
2568
+ * @interface ContributorMappingModel
2569
+ */
2570
+ export interface ContributorMappingModel {
2571
+ /**
2572
+ *
2573
+ * @type {Array<TranslationModel>}
2574
+ * @memberof ContributorMappingModel
2575
+ */
2576
+ 'translations'?: Array<TranslationModel> | null;
2577
+ }
2559
2578
  /**
2560
2579
  *
2561
2580
  * @export
@@ -3772,6 +3791,12 @@ export interface DealPackageModel {
3772
3791
  * @memberof DealPackageModel
3773
3792
  */
3774
3793
  'hospitalSlug'?: string | null;
3794
+ /**
3795
+ *
3796
+ * @type {string}
3797
+ * @memberof DealPackageModel
3798
+ */
3799
+ 'additionalServices'?: string | null;
3775
3800
  /**
3776
3801
  *
3777
3802
  * @type {RefundPolicy}
@@ -3796,12 +3821,6 @@ export interface DealPackageModel {
3796
3821
  * @memberof DealPackageModel
3797
3822
  */
3798
3823
  'auditableEntity'?: AuditableEntity;
3799
- /**
3800
- *
3801
- * @type {string}
3802
- * @memberof DealPackageModel
3803
- */
3804
- 'additionalServices'?: string | null;
3805
3824
  /**
3806
3825
  *
3807
3826
  * @type {string}
@@ -5307,12 +5326,6 @@ export interface FaqCategoryItemModel {
5307
5326
  * @memberof FaqCategoryItemModel
5308
5327
  */
5309
5328
  'hospitalWebsiteUrl'?: string | null;
5310
- /**
5311
- *
5312
- * @type {Array<MediaModel>}
5313
- * @memberof FaqCategoryItemModel
5314
- */
5315
- 'medias'?: Array<MediaModel> | null;
5316
5329
  /**
5317
5330
  *
5318
5331
  * @type {AuditableEntity}
@@ -5392,12 +5405,6 @@ export interface FaqCategoryModel {
5392
5405
  * @memberof FaqCategoryModel
5393
5406
  */
5394
5407
  'hospitalWebsiteUrl'?: string | null;
5395
- /**
5396
- *
5397
- * @type {Array<MediaModel>}
5398
- * @memberof FaqCategoryModel
5399
- */
5400
- 'medias'?: Array<MediaModel> | null;
5401
5408
  /**
5402
5409
  *
5403
5410
  * @type {AuditableEntity}
@@ -5482,7 +5489,13 @@ export interface FaqItemModel {
5482
5489
  * @type {string}
5483
5490
  * @memberof FaqItemModel
5484
5491
  */
5485
- 'hospitalId'?: string;
5492
+ 'hospitalId'?: string | null;
5493
+ /**
5494
+ *
5495
+ * @type {TranslationSimpleModel}
5496
+ * @memberof FaqItemModel
5497
+ */
5498
+ 'hospitalTranslation'?: TranslationSimpleModel;
5486
5499
  /**
5487
5500
  *
5488
5501
  * @type {string}
@@ -5585,7 +5598,13 @@ export interface FaqModel {
5585
5598
  * @type {string}
5586
5599
  * @memberof FaqModel
5587
5600
  */
5588
- 'hospitalId'?: string;
5601
+ 'hospitalId'?: string | null;
5602
+ /**
5603
+ *
5604
+ * @type {TranslationSimpleModel}
5605
+ * @memberof FaqModel
5606
+ */
5607
+ 'hospitalTranslation'?: TranslationSimpleModel;
5589
5608
  /**
5590
5609
  *
5591
5610
  * @type {string}
@@ -9556,6 +9575,12 @@ export interface SpecialtyTypeItemModel {
9556
9575
  * @memberof SpecialtyTypeItemModel
9557
9576
  */
9558
9577
  'languageCode'?: string | null;
9578
+ /**
9579
+ *
9580
+ * @type {Array<SpecialtyTypeTranslationSimpleModel>}
9581
+ * @memberof SpecialtyTypeItemModel
9582
+ */
9583
+ 'simpleTranslations'?: Array<SpecialtyTypeTranslationSimpleModel> | null;
9559
9584
  /**
9560
9585
  *
9561
9586
  * @type {string}
@@ -9647,6 +9672,12 @@ export interface SpecialtyTypeModel {
9647
9672
  * @memberof SpecialtyTypeModel
9648
9673
  */
9649
9674
  'languageCode'?: string | null;
9675
+ /**
9676
+ *
9677
+ * @type {Array<SpecialtyTypeTranslationSimpleModel>}
9678
+ * @memberof SpecialtyTypeModel
9679
+ */
9680
+ 'simpleTranslations'?: Array<SpecialtyTypeTranslationSimpleModel> | null;
9650
9681
  /**
9651
9682
  *
9652
9683
  * @type {string}
@@ -9775,6 +9806,55 @@ export interface SpecialtyTypeSimpleItemModel {
9775
9806
  */
9776
9807
  'confirmed'?: boolean;
9777
9808
  }
9809
+ /**
9810
+ *
9811
+ * @export
9812
+ * @interface SpecialtyTypeTranslationSimpleModel
9813
+ */
9814
+ export interface SpecialtyTypeTranslationSimpleModel {
9815
+ /**
9816
+ *
9817
+ * @type {string}
9818
+ * @memberof SpecialtyTypeTranslationSimpleModel
9819
+ */
9820
+ 'languageCode'?: string | null;
9821
+ /**
9822
+ *
9823
+ * @type {string}
9824
+ * @memberof SpecialtyTypeTranslationSimpleModel
9825
+ */
9826
+ 'name'?: string | null;
9827
+ /**
9828
+ *
9829
+ * @type {string}
9830
+ * @memberof SpecialtyTypeTranslationSimpleModel
9831
+ */
9832
+ 'normalizedName'?: string | null;
9833
+ /**
9834
+ *
9835
+ * @type {string}
9836
+ * @memberof SpecialtyTypeTranslationSimpleModel
9837
+ */
9838
+ 'slug'?: string | null;
9839
+ /**
9840
+ *
9841
+ * @type {Date}
9842
+ * @memberof SpecialtyTypeTranslationSimpleModel
9843
+ */
9844
+ 'updatedDate'?: Date | null;
9845
+ /**
9846
+ *
9847
+ * @type {boolean}
9848
+ * @memberof SpecialtyTypeTranslationSimpleModel
9849
+ */
9850
+ 'isConfirmed'?: boolean;
9851
+ /**
9852
+ *
9853
+ * @type {string}
9854
+ * @memberof SpecialtyTypeTranslationSimpleModel
9855
+ */
9856
+ 'description'?: string | null;
9857
+ }
9778
9858
  /**
9779
9859
  *
9780
9860
  * @export
@@ -9919,6 +9999,110 @@ export interface TagsModel {
9919
9999
  */
9920
10000
  'metaData'?: PagedListMetaData;
9921
10001
  }
10002
+ /**
10003
+ *
10004
+ * @export
10005
+ * @interface TranslationModel
10006
+ */
10007
+ export interface TranslationModel {
10008
+ /**
10009
+ *
10010
+ * @type {string}
10011
+ * @memberof TranslationModel
10012
+ */
10013
+ 'languageCode'?: string | null;
10014
+ /**
10015
+ *
10016
+ * @type {string}
10017
+ * @memberof TranslationModel
10018
+ */
10019
+ 'name'?: string | null;
10020
+ /**
10021
+ *
10022
+ * @type {string}
10023
+ * @memberof TranslationModel
10024
+ */
10025
+ 'normalizedName'?: string | null;
10026
+ /**
10027
+ *
10028
+ * @type {string}
10029
+ * @memberof TranslationModel
10030
+ */
10031
+ 'slug'?: string | null;
10032
+ /**
10033
+ *
10034
+ * @type {Date}
10035
+ * @memberof TranslationModel
10036
+ */
10037
+ 'updatedDate'?: Date | null;
10038
+ /**
10039
+ *
10040
+ * @type {boolean}
10041
+ * @memberof TranslationModel
10042
+ */
10043
+ 'isConfirmed'?: boolean;
10044
+ /**
10045
+ *
10046
+ * @type {string}
10047
+ * @memberof TranslationModel
10048
+ */
10049
+ 'description'?: string | null;
10050
+ /**
10051
+ *
10052
+ * @type {string}
10053
+ * @memberof TranslationModel
10054
+ */
10055
+ 'overview'?: string | null;
10056
+ /**
10057
+ *
10058
+ * @type {string}
10059
+ * @memberof TranslationModel
10060
+ */
10061
+ 'content'?: string | null;
10062
+ }
10063
+ /**
10064
+ *
10065
+ * @export
10066
+ * @interface TranslationSimpleModel
10067
+ */
10068
+ export interface TranslationSimpleModel {
10069
+ /**
10070
+ *
10071
+ * @type {string}
10072
+ * @memberof TranslationSimpleModel
10073
+ */
10074
+ 'languageCode'?: string | null;
10075
+ /**
10076
+ *
10077
+ * @type {string}
10078
+ * @memberof TranslationSimpleModel
10079
+ */
10080
+ 'name'?: string | null;
10081
+ /**
10082
+ *
10083
+ * @type {string}
10084
+ * @memberof TranslationSimpleModel
10085
+ */
10086
+ 'normalizedName'?: string | null;
10087
+ /**
10088
+ *
10089
+ * @type {string}
10090
+ * @memberof TranslationSimpleModel
10091
+ */
10092
+ 'slug'?: string | null;
10093
+ /**
10094
+ *
10095
+ * @type {Date}
10096
+ * @memberof TranslationSimpleModel
10097
+ */
10098
+ 'updatedDate'?: Date | null;
10099
+ /**
10100
+ *
10101
+ * @type {boolean}
10102
+ * @memberof TranslationSimpleModel
10103
+ */
10104
+ 'isConfirmed'?: boolean;
10105
+ }
9922
10106
  /**
9923
10107
  *
9924
10108
  * @export