ch-admin-api-client-typescript 3.3.2 → 3.3.5

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/src/api.ts CHANGED
@@ -988,37 +988,6 @@ export interface AuditableEntity {
988
988
  */
989
989
  'isDeleted'?: boolean;
990
990
  }
991
- /**
992
- *
993
- * @export
994
- * @interface AwardModel
995
- */
996
- export interface AwardModel {
997
- /**
998
- *
999
- * @type {string}
1000
- * @memberof AwardModel
1001
- */
1002
- 'id'?: string;
1003
- /**
1004
- *
1005
- * @type {string}
1006
- * @memberof AwardModel
1007
- */
1008
- 'name'?: string | null;
1009
- /**
1010
- *
1011
- * @type {string}
1012
- * @memberof AwardModel
1013
- */
1014
- 'image'?: string | null;
1015
- /**
1016
- *
1017
- * @type {Date}
1018
- * @memberof AwardModel
1019
- */
1020
- 'date'?: Date;
1021
- }
1022
991
  /**
1023
992
  *
1024
993
  * @export
@@ -6222,43 +6191,31 @@ export interface DoctorItemModel {
6222
6191
  * @type {string}
6223
6192
  * @memberof DoctorItemModel
6224
6193
  */
6225
- 'userName'?: string | null;
6226
- /**
6227
- *
6228
- * @type {string}
6229
- * @memberof DoctorItemModel
6230
- */
6231
- 'firstName'?: string | null;
6232
- /**
6233
- *
6234
- * @type {string}
6235
- * @memberof DoctorItemModel
6236
- */
6237
- 'middleName'?: string | null;
6194
+ 'name'?: string | null;
6238
6195
  /**
6239
6196
  *
6240
6197
  * @type {string}
6241
6198
  * @memberof DoctorItemModel
6242
6199
  */
6243
- 'lastName'?: string | null;
6200
+ 'slug'?: string | null;
6244
6201
  /**
6245
6202
  *
6246
- * @type {string}
6203
+ * @type {boolean}
6247
6204
  * @memberof DoctorItemModel
6248
6205
  */
6249
- 'fullName'?: string | null;
6206
+ 'consultationEnabled'?: boolean | null;
6250
6207
  /**
6251
6208
  *
6252
- * @type {string}
6209
+ * @type {number}
6253
6210
  * @memberof DoctorItemModel
6254
6211
  */
6255
- 'slug'?: string | null;
6212
+ 'consultationFee'?: number | null;
6256
6213
  /**
6257
6214
  *
6258
- * @type {string}
6215
+ * @type {boolean}
6259
6216
  * @memberof DoctorItemModel
6260
6217
  */
6261
- 'phone'?: string | null;
6218
+ 'confirmed'?: boolean;
6262
6219
  /**
6263
6220
  *
6264
6221
  * @type {string}
@@ -6277,84 +6234,24 @@ export interface DoctorItemModel {
6277
6234
  * @memberof DoctorItemModel
6278
6235
  */
6279
6236
  'photoThumbnail'?: string | null;
6280
- /**
6281
- *
6282
- * @type {Gender}
6283
- * @memberof DoctorItemModel
6284
- */
6285
- 'gender'?: Gender;
6286
- /**
6287
- *
6288
- * @type {Date}
6289
- * @memberof DoctorItemModel
6290
- */
6291
- 'dateOfBirth'?: Date | null;
6292
6237
  /**
6293
6238
  *
6294
6239
  * @type {string}
6295
6240
  * @memberof DoctorItemModel
6296
6241
  */
6297
- 'timeZone'?: string | null;
6242
+ 'hospitalSlug'?: string | null;
6298
6243
  /**
6299
6244
  *
6300
- * @type {string}
6245
+ * @type {Array<DoctorAffiliationItemModel>}
6301
6246
  * @memberof DoctorItemModel
6302
6247
  */
6303
- 'communicationUserId'?: string | null;
6248
+ 'doctorAffiliations'?: Array<DoctorAffiliationItemModel> | null;
6304
6249
  /**
6305
6250
  *
6306
6251
  * @type {AuditableEntity}
6307
6252
  * @memberof DoctorItemModel
6308
6253
  */
6309
6254
  'auditableEntity'?: AuditableEntity;
6310
- /**
6311
- *
6312
- * @type {string}
6313
- * @memberof DoctorItemModel
6314
- */
6315
- 'hospitalId'?: string | null;
6316
- /**
6317
- *
6318
- * @type {string}
6319
- * @memberof DoctorItemModel
6320
- */
6321
- 'hospitalName'?: string | null;
6322
- /**
6323
- *
6324
- * @type {string}
6325
- * @memberof DoctorItemModel
6326
- */
6327
- 'hospitalSlug'?: string | null;
6328
- /**
6329
- *
6330
- * @type {Date}
6331
- * @memberof DoctorItemModel
6332
- */
6333
- 'startPracticeDate'?: Date | null;
6334
- /**
6335
- *
6336
- * @type {string}
6337
- * @memberof DoctorItemModel
6338
- */
6339
- 'overview'?: string | null;
6340
- /**
6341
- *
6342
- * @type {boolean}
6343
- * @memberof DoctorItemModel
6344
- */
6345
- 'consultationEnabled'?: boolean | null;
6346
- /**
6347
- *
6348
- * @type {number}
6349
- * @memberof DoctorItemModel
6350
- */
6351
- 'consultationFee'?: number | null;
6352
- /**
6353
- *
6354
- * @type {boolean}
6355
- * @memberof DoctorItemModel
6356
- */
6357
- 'confirmed'?: boolean;
6358
6255
  }
6359
6256
  /**
6360
6257
  *
@@ -6551,30 +6448,6 @@ export interface DoctorModel {
6551
6448
  * @memberof DoctorModel
6552
6449
  */
6553
6450
  'languageCode'?: string | null;
6554
- /**
6555
- *
6556
- * @type {string}
6557
- * @memberof DoctorModel
6558
- */
6559
- 'hospitalId'?: string | null;
6560
- /**
6561
- *
6562
- * @type {string}
6563
- * @memberof DoctorModel
6564
- */
6565
- 'hospitalName'?: string | null;
6566
- /**
6567
- *
6568
- * @type {string}
6569
- * @memberof DoctorModel
6570
- */
6571
- 'hospitalSlug'?: string | null;
6572
- /**
6573
- *
6574
- * @type {Date}
6575
- * @memberof DoctorModel
6576
- */
6577
- 'startPracticeDate'?: Date | null;
6578
6451
  /**
6579
6452
  *
6580
6453
  * @type {string}
@@ -6613,10 +6486,16 @@ export interface DoctorModel {
6613
6486
  'confirmed'?: boolean;
6614
6487
  /**
6615
6488
  *
6616
- * @type {Array<LocalizedUrlModel>}
6489
+ * @type {Date}
6617
6490
  * @memberof DoctorModel
6618
6491
  */
6619
- 'localizedUrls'?: Array<LocalizedUrlModel> | null;
6492
+ 'startPracticeDate'?: Date | null;
6493
+ /**
6494
+ *
6495
+ * @type {Array<DoctorAffiliationItemModel>}
6496
+ * @memberof DoctorModel
6497
+ */
6498
+ 'doctorAffiliations'?: Array<DoctorAffiliationItemModel> | null;
6620
6499
  }
6621
6500
  /**
6622
6501
  *
@@ -7741,54 +7620,12 @@ export interface HospitalItemModel {
7741
7620
  * @memberof HospitalItemModel
7742
7621
  */
7743
7622
  'slug'?: string | null;
7744
- /**
7745
- *
7746
- * @type {string}
7747
- * @memberof HospitalItemModel
7748
- */
7749
- 'description'?: string | null;
7750
7623
  /**
7751
7624
  *
7752
7625
  * @type {string}
7753
7626
  * @memberof HospitalItemModel
7754
7627
  */
7755
7628
  'logo'?: string | null;
7756
- /**
7757
- *
7758
- * @type {string}
7759
- * @memberof HospitalItemModel
7760
- */
7761
- 'overview'?: string | null;
7762
- /**
7763
- *
7764
- * @type {number}
7765
- * @memberof HospitalItemModel
7766
- */
7767
- 'bedsCount'?: number | null;
7768
- /**
7769
- *
7770
- * @type {number}
7771
- * @memberof HospitalItemModel
7772
- */
7773
- 'operationsPerYear'?: number | null;
7774
- /**
7775
- *
7776
- * @type {number}
7777
- * @memberof HospitalItemModel
7778
- */
7779
- 'foundationYear'?: number | null;
7780
- /**
7781
- *
7782
- * @type {number}
7783
- * @memberof HospitalItemModel
7784
- */
7785
- 'medicalStaffCount'?: number | null;
7786
- /**
7787
- *
7788
- * @type {number}
7789
- * @memberof HospitalItemModel
7790
- */
7791
- 'doctorCount'?: number | null;
7792
7629
  /**
7793
7630
  *
7794
7631
  * @type {string}
@@ -7807,18 +7644,6 @@ export interface HospitalItemModel {
7807
7644
  * @memberof HospitalItemModel
7808
7645
  */
7809
7646
  'marketingType'?: MarketingType;
7810
- /**
7811
- *
7812
- * @type {boolean}
7813
- * @memberof HospitalItemModel
7814
- */
7815
- 'consultationEnabled'?: boolean | null;
7816
- /**
7817
- *
7818
- * @type {number}
7819
- * @memberof HospitalItemModel
7820
- */
7821
- 'consultationFee'?: number | null;
7822
7647
  /**
7823
7648
  *
7824
7649
  * @type {string}
@@ -7831,66 +7656,6 @@ export interface HospitalItemModel {
7831
7656
  * @memberof HospitalItemModel
7832
7657
  */
7833
7658
  'websiteUrl'?: string | null;
7834
- /**
7835
- *
7836
- * @type {number}
7837
- * @memberof HospitalItemModel
7838
- */
7839
- 'articlesCount'?: number;
7840
- /**
7841
- *
7842
- * @type {number}
7843
- * @memberof HospitalItemModel
7844
- */
7845
- 'packagesCount'?: number;
7846
- /**
7847
- *
7848
- * @type {number}
7849
- * @memberof HospitalItemModel
7850
- */
7851
- 'equipmentsCount'?: number;
7852
- /**
7853
- *
7854
- * @type {number}
7855
- * @memberof HospitalItemModel
7856
- */
7857
- 'reviewsCount'?: number;
7858
- /**
7859
- *
7860
- * @type {number}
7861
- * @memberof HospitalItemModel
7862
- */
7863
- 'departmentsCount'?: number;
7864
- /**
7865
- *
7866
- * @type {number}
7867
- * @memberof HospitalItemModel
7868
- */
7869
- 'specialtiesCount'?: number;
7870
- /**
7871
- *
7872
- * @type {number}
7873
- * @memberof HospitalItemModel
7874
- */
7875
- 'accreditationsCount'?: number;
7876
- /**
7877
- *
7878
- * @type {number}
7879
- * @memberof HospitalItemModel
7880
- */
7881
- 'doctorAffiliationsCount'?: number;
7882
- /**
7883
- *
7884
- * @type {number}
7885
- * @memberof HospitalItemModel
7886
- */
7887
- 'managerAffiliationsCount'?: number;
7888
- /**
7889
- *
7890
- * @type {string}
7891
- * @memberof HospitalItemModel
7892
- */
7893
- 'specialtiesSummerized'?: string | null;
7894
7659
  /**
7895
7660
  *
7896
7661
  * @type {boolean}
@@ -7903,30 +7668,6 @@ export interface HospitalItemModel {
7903
7668
  * @memberof HospitalItemModel
7904
7669
  */
7905
7670
  'confirmed'?: boolean;
7906
- /**
7907
- *
7908
- * @type {Array<AwardModel>}
7909
- * @memberof HospitalItemModel
7910
- */
7911
- 'awards'?: Array<AwardModel> | null;
7912
- /**
7913
- *
7914
- * @type {Array<MediaModel>}
7915
- * @memberof HospitalItemModel
7916
- */
7917
- 'medias'?: Array<MediaModel> | null;
7918
- /**
7919
- *
7920
- * @type {Array<AccreditationModel>}
7921
- * @memberof HospitalItemModel
7922
- */
7923
- 'accreditations'?: Array<AccreditationModel> | null;
7924
- /**
7925
- *
7926
- * @type {Array<HospitalEvaluationModel>}
7927
- * @memberof HospitalItemModel
7928
- */
7929
- 'evaluations'?: Array<HospitalEvaluationModel> | null;
7930
7671
  /**
7931
7672
  *
7932
7673
  * @type {LocationModel}
@@ -7964,54 +7705,12 @@ export interface HospitalModel {
7964
7705
  * @memberof HospitalModel
7965
7706
  */
7966
7707
  'slug'?: string | null;
7967
- /**
7968
- *
7969
- * @type {string}
7970
- * @memberof HospitalModel
7971
- */
7972
- 'description'?: string | null;
7973
7708
  /**
7974
7709
  *
7975
7710
  * @type {string}
7976
7711
  * @memberof HospitalModel
7977
7712
  */
7978
7713
  'logo'?: string | null;
7979
- /**
7980
- *
7981
- * @type {string}
7982
- * @memberof HospitalModel
7983
- */
7984
- 'overview'?: string | null;
7985
- /**
7986
- *
7987
- * @type {number}
7988
- * @memberof HospitalModel
7989
- */
7990
- 'bedsCount'?: number | null;
7991
- /**
7992
- *
7993
- * @type {number}
7994
- * @memberof HospitalModel
7995
- */
7996
- 'operationsPerYear'?: number | null;
7997
- /**
7998
- *
7999
- * @type {number}
8000
- * @memberof HospitalModel
8001
- */
8002
- 'foundationYear'?: number | null;
8003
- /**
8004
- *
8005
- * @type {number}
8006
- * @memberof HospitalModel
8007
- */
8008
- 'medicalStaffCount'?: number | null;
8009
- /**
8010
- *
8011
- * @type {number}
8012
- * @memberof HospitalModel
8013
- */
8014
- 'doctorCount'?: number | null;
8015
7714
  /**
8016
7715
  *
8017
7716
  * @type {string}
@@ -8030,18 +7729,6 @@ export interface HospitalModel {
8030
7729
  * @memberof HospitalModel
8031
7730
  */
8032
7731
  'marketingType'?: MarketingType;
8033
- /**
8034
- *
8035
- * @type {boolean}
8036
- * @memberof HospitalModel
8037
- */
8038
- 'consultationEnabled'?: boolean | null;
8039
- /**
8040
- *
8041
- * @type {number}
8042
- * @memberof HospitalModel
8043
- */
8044
- 'consultationFee'?: number | null;
8045
7732
  /**
8046
7733
  *
8047
7734
  * @type {string}
@@ -8056,124 +7743,94 @@ export interface HospitalModel {
8056
7743
  'websiteUrl'?: string | null;
8057
7744
  /**
8058
7745
  *
8059
- * @type {number}
8060
- * @memberof HospitalModel
8061
- */
8062
- 'articlesCount'?: number;
8063
- /**
8064
- *
8065
- * @type {number}
8066
- * @memberof HospitalModel
8067
- */
8068
- 'packagesCount'?: number;
8069
- /**
8070
- *
8071
- * @type {number}
8072
- * @memberof HospitalModel
8073
- */
8074
- 'equipmentsCount'?: number;
8075
- /**
8076
- *
8077
- * @type {number}
8078
- * @memberof HospitalModel
8079
- */
8080
- 'reviewsCount'?: number;
8081
- /**
8082
- *
8083
- * @type {number}
8084
- * @memberof HospitalModel
8085
- */
8086
- 'departmentsCount'?: number;
8087
- /**
8088
- *
8089
- * @type {number}
7746
+ * @type {boolean}
8090
7747
  * @memberof HospitalModel
8091
7748
  */
8092
- 'specialtiesCount'?: number;
7749
+ 'paymentEnabled'?: boolean;
8093
7750
  /**
8094
7751
  *
8095
- * @type {number}
7752
+ * @type {boolean}
8096
7753
  * @memberof HospitalModel
8097
7754
  */
8098
- 'accreditationsCount'?: number;
7755
+ 'confirmed'?: boolean;
8099
7756
  /**
8100
7757
  *
8101
- * @type {number}
7758
+ * @type {LocationModel}
8102
7759
  * @memberof HospitalModel
8103
7760
  */
8104
- 'doctorAffiliationsCount'?: number;
7761
+ 'location'?: LocationModel;
8105
7762
  /**
8106
7763
  *
8107
- * @type {number}
7764
+ * @type {AuditableEntity}
8108
7765
  * @memberof HospitalModel
8109
7766
  */
8110
- 'managerAffiliationsCount'?: number;
7767
+ 'auditableEntity'?: AuditableEntity;
8111
7768
  /**
8112
7769
  *
8113
7770
  * @type {string}
8114
7771
  * @memberof HospitalModel
8115
7772
  */
8116
- 'specialtiesSummerized'?: string | null;
7773
+ 'languageCode'?: string | null;
8117
7774
  /**
8118
7775
  *
8119
- * @type {boolean}
7776
+ * @type {string}
8120
7777
  * @memberof HospitalModel
8121
7778
  */
8122
- 'paymentEnabled'?: boolean;
7779
+ 'description'?: string | null;
8123
7780
  /**
8124
7781
  *
8125
- * @type {boolean}
7782
+ * @type {string}
8126
7783
  * @memberof HospitalModel
8127
7784
  */
8128
- 'confirmed'?: boolean;
7785
+ 'overview'?: string | null;
8129
7786
  /**
8130
7787
  *
8131
- * @type {Array<AwardModel>}
7788
+ * @type {string}
8132
7789
  * @memberof HospitalModel
8133
7790
  */
8134
- 'awards'?: Array<AwardModel> | null;
7791
+ 'content'?: string | null;
8135
7792
  /**
8136
7793
  *
8137
- * @type {Array<MediaModel>}
7794
+ * @type {number}
8138
7795
  * @memberof HospitalModel
8139
7796
  */
8140
- 'medias'?: Array<MediaModel> | null;
7797
+ 'bedsCount'?: number | null;
8141
7798
  /**
8142
7799
  *
8143
- * @type {Array<AccreditationModel>}
7800
+ * @type {number}
8144
7801
  * @memberof HospitalModel
8145
7802
  */
8146
- 'accreditations'?: Array<AccreditationModel> | null;
7803
+ 'operationsPerYear'?: number | null;
8147
7804
  /**
8148
7805
  *
8149
- * @type {Array<HospitalEvaluationModel>}
7806
+ * @type {number}
8150
7807
  * @memberof HospitalModel
8151
7808
  */
8152
- 'evaluations'?: Array<HospitalEvaluationModel> | null;
7809
+ 'foundationYear'?: number | null;
8153
7810
  /**
8154
7811
  *
8155
- * @type {LocationModel}
7812
+ * @type {number}
8156
7813
  * @memberof HospitalModel
8157
7814
  */
8158
- 'location'?: LocationModel;
7815
+ 'medicalStaffCount'?: number | null;
8159
7816
  /**
8160
7817
  *
8161
- * @type {AuditableEntity}
7818
+ * @type {number}
8162
7819
  * @memberof HospitalModel
8163
7820
  */
8164
- 'auditableEntity'?: AuditableEntity;
7821
+ 'doctorCount'?: number | null;
8165
7822
  /**
8166
7823
  *
8167
- * @type {string}
7824
+ * @type {boolean}
8168
7825
  * @memberof HospitalModel
8169
7826
  */
8170
- 'languageCode'?: string | null;
7827
+ 'consultationEnabled'?: boolean | null;
8171
7828
  /**
8172
7829
  *
8173
- * @type {string}
7830
+ * @type {number}
8174
7831
  * @memberof HospitalModel
8175
7832
  */
8176
- 'content'?: string | null;
7833
+ 'consultationFee'?: number | null;
8177
7834
  /**
8178
7835
  *
8179
7836
  * @type {string}
@@ -8194,22 +7851,10 @@ export interface HospitalModel {
8194
7851
  'customStyle'?: string | null;
8195
7852
  /**
8196
7853
  *
8197
- * @type {Array<WorkingDay>}
8198
- * @memberof HospitalModel
8199
- */
8200
- 'hospitalWorkingDays'?: Array<WorkingDay> | null;
8201
- /**
8202
- *
8203
- * @type {Array<SnsHandle>}
8204
- * @memberof HospitalModel
8205
- */
8206
- 'hospitalSnsHandles'?: Array<SnsHandle> | null;
8207
- /**
8208
- *
8209
- * @type {Array<LocalizedUrlModel>}
7854
+ * @type {Array<MediaModel>}
8210
7855
  * @memberof HospitalModel
8211
7856
  */
8212
- 'localizedUrls'?: Array<LocalizedUrlModel> | null;
7857
+ 'medias'?: Array<MediaModel> | null;
8213
7858
  }
8214
7859
  /**
8215
7860
  *
@@ -8680,54 +8325,6 @@ export interface HospitalSpecialtyItemModel {
8680
8325
  * @memberof HospitalSpecialtyItemModel
8681
8326
  */
8682
8327
  'id'?: string;
8683
- /**
8684
- *
8685
- * @type {string}
8686
- * @memberof HospitalSpecialtyItemModel
8687
- */
8688
- 'hospitalId'?: string;
8689
- /**
8690
- *
8691
- * @type {string}
8692
- * @memberof HospitalSpecialtyItemModel
8693
- */
8694
- 'hospitalName'?: string | null;
8695
- /**
8696
- *
8697
- * @type {string}
8698
- * @memberof HospitalSpecialtyItemModel
8699
- */
8700
- 'hospitalSlug'?: string | null;
8701
- /**
8702
- *
8703
- * @type {string}
8704
- * @memberof HospitalSpecialtyItemModel
8705
- */
8706
- 'specialtyId'?: string;
8707
- /**
8708
- *
8709
- * @type {string}
8710
- * @memberof HospitalSpecialtyItemModel
8711
- */
8712
- 'specialtyName'?: string | null;
8713
- /**
8714
- *
8715
- * @type {string}
8716
- * @memberof HospitalSpecialtyItemModel
8717
- */
8718
- 'specialtyTypeId'?: string;
8719
- /**
8720
- *
8721
- * @type {string}
8722
- * @memberof HospitalSpecialtyItemModel
8723
- */
8724
- 'specialtyTypeName'?: string | null;
8725
- /**
8726
- *
8727
- * @type {MarketingType}
8728
- * @memberof HospitalSpecialtyItemModel
8729
- */
8730
- 'marketingType'?: MarketingType;
8731
8328
  /**
8732
8329
  *
8733
8330
  * @type {string}
@@ -8742,64 +8339,46 @@ export interface HospitalSpecialtyItemModel {
8742
8339
  'slug'?: string | null;
8743
8340
  /**
8744
8341
  *
8745
- * @type {string}
8342
+ * @type {MarketingType}
8746
8343
  * @memberof HospitalSpecialtyItemModel
8747
8344
  */
8748
- 'description'?: string | null;
8345
+ 'marketingType'?: MarketingType;
8749
8346
  /**
8750
8347
  *
8751
8348
  * @type {number}
8752
8349
  * @memberof HospitalSpecialtyItemModel
8753
8350
  */
8754
- 'serviceCount'?: number;
8351
+ 'order'?: number;
8755
8352
  /**
8756
8353
  *
8757
- * @type {Array<HospitalServiceItemModel>}
8354
+ * @type {boolean}
8758
8355
  * @memberof HospitalSpecialtyItemModel
8759
8356
  */
8760
- 'serviceList'?: Array<HospitalServiceItemModel> | null;
8357
+ 'confirmed'?: boolean;
8761
8358
  /**
8762
8359
  *
8763
- * @type {string}
8360
+ * @type {number}
8764
8361
  * @memberof HospitalSpecialtyItemModel
8765
8362
  */
8766
- 'photo'?: string | null;
8363
+ 'servicesCount'?: number;
8767
8364
  /**
8768
8365
  *
8769
8366
  * @type {string}
8770
8367
  * @memberof HospitalSpecialtyItemModel
8771
8368
  */
8772
- 'photoThumbnail'?: string | null;
8369
+ 'specialtyId'?: string;
8773
8370
  /**
8774
8371
  *
8775
8372
  * @type {string}
8776
8373
  * @memberof HospitalSpecialtyItemModel
8777
8374
  */
8778
- 'background'?: string | null;
8375
+ 'specialtyName'?: string | null;
8779
8376
  /**
8780
8377
  *
8781
8378
  * @type {string}
8782
8379
  * @memberof HospitalSpecialtyItemModel
8783
8380
  */
8784
- 'backgroundThumbnail'?: string | null;
8785
- /**
8786
- *
8787
- * @type {number}
8788
- * @memberof HospitalSpecialtyItemModel
8789
- */
8790
- 'order'?: number;
8791
- /**
8792
- *
8793
- * @type {boolean}
8794
- * @memberof HospitalSpecialtyItemModel
8795
- */
8796
- 'confirmed'?: boolean;
8797
- /**
8798
- *
8799
- * @type {Array<MediaModel>}
8800
- * @memberof HospitalSpecialtyItemModel
8801
- */
8802
- 'medias'?: Array<MediaModel> | null;
8381
+ 'specialtySlug'?: string | null;
8803
8382
  /**
8804
8383
  *
8805
8384
  * @type {AuditableEntity}
@@ -8824,151 +8403,145 @@ export interface HospitalSpecialtyModel {
8824
8403
  * @type {string}
8825
8404
  * @memberof HospitalSpecialtyModel
8826
8405
  */
8827
- 'hospitalId'?: string;
8406
+ 'name'?: string | null;
8828
8407
  /**
8829
8408
  *
8830
8409
  * @type {string}
8831
8410
  * @memberof HospitalSpecialtyModel
8832
8411
  */
8833
- 'hospitalName'?: string | null;
8412
+ 'slug'?: string | null;
8834
8413
  /**
8835
8414
  *
8836
- * @type {string}
8415
+ * @type {MarketingType}
8837
8416
  * @memberof HospitalSpecialtyModel
8838
8417
  */
8839
- 'hospitalSlug'?: string | null;
8418
+ 'marketingType'?: MarketingType;
8840
8419
  /**
8841
8420
  *
8842
- * @type {string}
8421
+ * @type {number}
8843
8422
  * @memberof HospitalSpecialtyModel
8844
8423
  */
8845
- 'specialtyId'?: string;
8424
+ 'order'?: number;
8846
8425
  /**
8847
8426
  *
8848
- * @type {string}
8427
+ * @type {boolean}
8849
8428
  * @memberof HospitalSpecialtyModel
8850
8429
  */
8851
- 'specialtyName'?: string | null;
8430
+ 'confirmed'?: boolean;
8852
8431
  /**
8853
8432
  *
8854
- * @type {string}
8433
+ * @type {number}
8855
8434
  * @memberof HospitalSpecialtyModel
8856
8435
  */
8857
- 'specialtyTypeId'?: string;
8436
+ 'servicesCount'?: number;
8858
8437
  /**
8859
8438
  *
8860
8439
  * @type {string}
8861
8440
  * @memberof HospitalSpecialtyModel
8862
8441
  */
8863
- 'specialtyTypeName'?: string | null;
8864
- /**
8865
- *
8866
- * @type {MarketingType}
8867
- * @memberof HospitalSpecialtyModel
8868
- */
8869
- 'marketingType'?: MarketingType;
8442
+ 'specialtyId'?: string;
8870
8443
  /**
8871
8444
  *
8872
8445
  * @type {string}
8873
8446
  * @memberof HospitalSpecialtyModel
8874
8447
  */
8875
- 'name'?: string | null;
8448
+ 'specialtyName'?: string | null;
8876
8449
  /**
8877
8450
  *
8878
8451
  * @type {string}
8879
8452
  * @memberof HospitalSpecialtyModel
8880
8453
  */
8881
- 'slug'?: string | null;
8454
+ 'specialtySlug'?: string | null;
8882
8455
  /**
8883
8456
  *
8884
- * @type {string}
8457
+ * @type {AuditableEntity}
8885
8458
  * @memberof HospitalSpecialtyModel
8886
8459
  */
8887
- 'description'?: string | null;
8460
+ 'auditableEntity'?: AuditableEntity;
8888
8461
  /**
8889
8462
  *
8890
- * @type {number}
8463
+ * @type {string}
8891
8464
  * @memberof HospitalSpecialtyModel
8892
8465
  */
8893
- 'serviceCount'?: number;
8466
+ 'languageCode'?: string | null;
8894
8467
  /**
8895
8468
  *
8896
- * @type {Array<HospitalServiceItemModel>}
8469
+ * @type {string}
8897
8470
  * @memberof HospitalSpecialtyModel
8898
8471
  */
8899
- 'serviceList'?: Array<HospitalServiceItemModel> | null;
8472
+ 'description'?: string | null;
8900
8473
  /**
8901
8474
  *
8902
8475
  * @type {string}
8903
8476
  * @memberof HospitalSpecialtyModel
8904
8477
  */
8905
- 'photo'?: string | null;
8478
+ 'content'?: string | null;
8906
8479
  /**
8907
8480
  *
8908
8481
  * @type {string}
8909
8482
  * @memberof HospitalSpecialtyModel
8910
8483
  */
8911
- 'photoThumbnail'?: string | null;
8484
+ 'hospitalId'?: string;
8912
8485
  /**
8913
8486
  *
8914
8487
  * @type {string}
8915
8488
  * @memberof HospitalSpecialtyModel
8916
8489
  */
8917
- 'background'?: string | null;
8490
+ 'hospitalName'?: string | null;
8918
8491
  /**
8919
8492
  *
8920
8493
  * @type {string}
8921
8494
  * @memberof HospitalSpecialtyModel
8922
8495
  */
8923
- 'backgroundThumbnail'?: string | null;
8496
+ 'hospitalSlug'?: string | null;
8924
8497
  /**
8925
8498
  *
8926
- * @type {number}
8499
+ * @type {string}
8927
8500
  * @memberof HospitalSpecialtyModel
8928
8501
  */
8929
- 'order'?: number;
8502
+ 'specialtyTypeId'?: string;
8930
8503
  /**
8931
8504
  *
8932
- * @type {boolean}
8505
+ * @type {string}
8933
8506
  * @memberof HospitalSpecialtyModel
8934
8507
  */
8935
- 'confirmed'?: boolean;
8508
+ 'specialtyTypeName'?: string | null;
8936
8509
  /**
8937
8510
  *
8938
- * @type {Array<MediaModel>}
8511
+ * @type {string}
8939
8512
  * @memberof HospitalSpecialtyModel
8940
8513
  */
8941
- 'medias'?: Array<MediaModel> | null;
8514
+ 'photo'?: string | null;
8942
8515
  /**
8943
8516
  *
8944
- * @type {AuditableEntity}
8517
+ * @type {string}
8945
8518
  * @memberof HospitalSpecialtyModel
8946
8519
  */
8947
- 'auditableEntity'?: AuditableEntity;
8520
+ 'photoThumbnail'?: string | null;
8948
8521
  /**
8949
8522
  *
8950
8523
  * @type {string}
8951
8524
  * @memberof HospitalSpecialtyModel
8952
8525
  */
8953
- 'content'?: string | null;
8526
+ 'background'?: string | null;
8954
8527
  /**
8955
8528
  *
8956
8529
  * @type {string}
8957
8530
  * @memberof HospitalSpecialtyModel
8958
8531
  */
8959
- 'customStyle'?: string | null;
8532
+ 'backgroundThumbnail'?: string | null;
8960
8533
  /**
8961
8534
  *
8962
8535
  * @type {string}
8963
8536
  * @memberof HospitalSpecialtyModel
8964
8537
  */
8965
- 'languageCode'?: string | null;
8538
+ 'customStyle'?: string | null;
8966
8539
  /**
8967
8540
  *
8968
- * @type {Array<LocalizedUrlModel>}
8541
+ * @type {Array<MediaModel>}
8969
8542
  * @memberof HospitalSpecialtyModel
8970
8543
  */
8971
- 'localizedUrls'?: Array<LocalizedUrlModel> | null;
8544
+ 'medias'?: Array<MediaModel> | null;
8972
8545
  }
8973
8546
  /**
8974
8547
  *
@@ -8996,28 +8569,40 @@ export interface HospitalSpecialtySimpleItemModel {
8996
8569
  'slug'?: string | null;
8997
8570
  /**
8998
8571
  *
8999
- * @type {string}
8572
+ * @type {number}
9000
8573
  * @memberof HospitalSpecialtySimpleItemModel
9001
8574
  */
9002
- 'description'?: string | null;
8575
+ 'order'?: number;
9003
8576
  /**
9004
8577
  *
9005
- * @type {string}
8578
+ * @type {boolean}
9006
8579
  * @memberof HospitalSpecialtySimpleItemModel
9007
8580
  */
9008
- 'specialtyName'?: string | null;
8581
+ 'confirmed'?: boolean;
9009
8582
  /**
9010
8583
  *
9011
8584
  * @type {number}
9012
8585
  * @memberof HospitalSpecialtySimpleItemModel
9013
8586
  */
9014
- 'order'?: number;
8587
+ 'servicesCount'?: number;
9015
8588
  /**
9016
8589
  *
9017
- * @type {boolean}
8590
+ * @type {string}
9018
8591
  * @memberof HospitalSpecialtySimpleItemModel
9019
8592
  */
9020
- 'confirmed'?: boolean;
8593
+ 'specialtyId'?: string;
8594
+ /**
8595
+ *
8596
+ * @type {string}
8597
+ * @memberof HospitalSpecialtySimpleItemModel
8598
+ */
8599
+ 'specialtyName'?: string | null;
8600
+ /**
8601
+ *
8602
+ * @type {string}
8603
+ * @memberof HospitalSpecialtySimpleItemModel
8604
+ */
8605
+ 'specialtySlug'?: string | null;
9021
8606
  }
9022
8607
  /**
9023
8608
  *
@@ -12161,6 +11746,12 @@ export interface UpdateCHAdminCommand {
12161
11746
  * @memberof UpdateCHAdminCommand
12162
11747
  */
12163
11748
  'lastName'?: string | null;
11749
+ /**
11750
+ *
11751
+ * @type {string}
11752
+ * @memberof UpdateCHAdminCommand
11753
+ */
11754
+ 'slug'?: string | null;
12164
11755
  /**
12165
11756
  *
12166
11757
  * @type {string}
@@ -12234,6 +11825,12 @@ export interface UpdateCHManagerCommand {
12234
11825
  * @memberof UpdateCHManagerCommand
12235
11826
  */
12236
11827
  'lastName'?: string | null;
11828
+ /**
11829
+ *
11830
+ * @type {string}
11831
+ * @memberof UpdateCHManagerCommand
11832
+ */
11833
+ 'slug'?: string | null;
12237
11834
  /**
12238
11835
  *
12239
11836
  * @type {string}
@@ -13472,6 +13069,12 @@ export interface UpdateManagerCommand {
13472
13069
  * @memberof UpdateManagerCommand
13473
13070
  */
13474
13071
  'lastName'?: string | null;
13072
+ /**
13073
+ *
13074
+ * @type {string}
13075
+ * @memberof UpdateManagerCommand
13076
+ */
13077
+ 'slug'?: string | null;
13475
13078
  /**
13476
13079
  *
13477
13080
  * @type {string}
@@ -13582,6 +13185,12 @@ export interface UpdatePatientCommand {
13582
13185
  * @memberof UpdatePatientCommand
13583
13186
  */
13584
13187
  'lastName'?: string | null;
13188
+ /**
13189
+ *
13190
+ * @type {string}
13191
+ * @memberof UpdatePatientCommand
13192
+ */
13193
+ 'slug'?: string | null;
13585
13194
  /**
13586
13195
  *
13587
13196
  * @type {string}
@@ -14213,43 +13822,6 @@ export interface UserModel {
14213
13822
  */
14214
13823
  'locations'?: Array<UserLocationModel> | null;
14215
13824
  }
14216
- /**
14217
- *
14218
- * @export
14219
- * @interface WorkingDay
14220
- */
14221
- export interface WorkingDay {
14222
- /**
14223
- *
14224
- * @type {string}
14225
- * @memberof WorkingDay
14226
- */
14227
- 'id'?: string;
14228
- /**
14229
- *
14230
- * @type {string}
14231
- * @memberof WorkingDay
14232
- */
14233
- 'dayOfWeek'?: string | null;
14234
- /**
14235
- *
14236
- * @type {Date}
14237
- * @memberof WorkingDay
14238
- */
14239
- 'timeFrom'?: Date;
14240
- /**
14241
- *
14242
- * @type {Date}
14243
- * @memberof WorkingDay
14244
- */
14245
- 'timeTo'?: Date;
14246
- /**
14247
- *
14248
- * @type {boolean}
14249
- * @memberof WorkingDay
14250
- */
14251
- 'checkHoliday'?: boolean;
14252
- }
14253
13825
  /**
14254
13826
  *
14255
13827
  * @export
@@ -32725,6 +32297,44 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
32725
32297
  options: localVarRequestOptions,
32726
32298
  };
32727
32299
  },
32300
+ /**
32301
+ *
32302
+ * @summary Delete HospitalSpecialty.
32303
+ * @param {string} hospitalId
32304
+ * @param {*} [options] Override http request option.
32305
+ * @throws {RequiredError}
32306
+ */
32307
+ apiV1HospitalsHospitalIdReactivePut: async (hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32308
+ // verify required parameter 'hospitalId' is not null or undefined
32309
+ assertParamExists('apiV1HospitalsHospitalIdReactivePut', 'hospitalId', hospitalId)
32310
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/reactive`
32311
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
32312
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32313
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32314
+ let baseOptions;
32315
+ if (configuration) {
32316
+ baseOptions = configuration.baseOptions;
32317
+ }
32318
+
32319
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
32320
+ const localVarHeaderParameter = {} as any;
32321
+ const localVarQueryParameter = {} as any;
32322
+
32323
+ // authentication oauth2 required
32324
+ // oauth required
32325
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
32326
+
32327
+
32328
+
32329
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32330
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32331
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32332
+
32333
+ return {
32334
+ url: toPathString(localVarUrlObj),
32335
+ options: localVarRequestOptions,
32336
+ };
32337
+ },
32728
32338
  /**
32729
32339
  *
32730
32340
  * @summary Get all HospitalSpecialties.
@@ -34291,6 +33901,44 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
34291
33901
  options: localVarRequestOptions,
34292
33902
  };
34293
33903
  },
33904
+ /**
33905
+ *
33906
+ * @summary Delete HospitalSpecialty.
33907
+ * @param {string} hospitalSpecialtyId
33908
+ * @param {*} [options] Override http request option.
33909
+ * @throws {RequiredError}
33910
+ */
33911
+ apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut: async (hospitalSpecialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33912
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
33913
+ assertParamExists('apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut', 'hospitalSpecialtyId', hospitalSpecialtyId)
33914
+ const localVarPath = `/api/v1/hospitals/{hospitalSpecialtyId}/specialties/reactive`
33915
+ .replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
33916
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33917
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33918
+ let baseOptions;
33919
+ if (configuration) {
33920
+ baseOptions = configuration.baseOptions;
33921
+ }
33922
+
33923
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
33924
+ const localVarHeaderParameter = {} as any;
33925
+ const localVarQueryParameter = {} as any;
33926
+
33927
+ // authentication oauth2 required
33928
+ // oauth required
33929
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
33930
+
33931
+
33932
+
33933
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33934
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33935
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33936
+
33937
+ return {
33938
+ url: toPathString(localVarUrlObj),
33939
+ options: localVarRequestOptions,
33940
+ };
33941
+ },
34294
33942
  /**
34295
33943
  *
34296
33944
  * @summary Create Hospital.
@@ -34955,6 +34603,17 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
34955
34603
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options);
34956
34604
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34957
34605
  },
34606
+ /**
34607
+ *
34608
+ * @summary Delete HospitalSpecialty.
34609
+ * @param {string} hospitalId
34610
+ * @param {*} [options] Override http request option.
34611
+ * @throws {RequiredError}
34612
+ */
34613
+ async apiV1HospitalsHospitalIdReactivePut(hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
34614
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdReactivePut(hospitalId, options);
34615
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34616
+ },
34958
34617
  /**
34959
34618
  *
34960
34619
  * @summary Get all HospitalSpecialties.
@@ -35364,6 +35023,17 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
35364
35023
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options);
35365
35024
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35366
35025
  },
35026
+ /**
35027
+ *
35028
+ * @summary Delete HospitalSpecialty.
35029
+ * @param {string} hospitalSpecialtyId
35030
+ * @param {*} [options] Override http request option.
35031
+ * @throws {RequiredError}
35032
+ */
35033
+ async apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut(hospitalSpecialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
35034
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut(hospitalSpecialtyId, options);
35035
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35036
+ },
35367
35037
  /**
35368
35038
  *
35369
35039
  * @summary Create Hospital.
@@ -35841,6 +35511,16 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
35841
35511
  apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options?: any): AxiosPromise<HospitalModel> {
35842
35512
  return localVarFp.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options).then((request) => request(axios, basePath));
35843
35513
  },
35514
+ /**
35515
+ *
35516
+ * @summary Delete HospitalSpecialty.
35517
+ * @param {string} hospitalId
35518
+ * @param {*} [options] Override http request option.
35519
+ * @throws {RequiredError}
35520
+ */
35521
+ apiV1HospitalsHospitalIdReactivePut(hospitalId: string, options?: any): AxiosPromise<boolean> {
35522
+ return localVarFp.apiV1HospitalsHospitalIdReactivePut(hospitalId, options).then((request) => request(axios, basePath));
35523
+ },
35844
35524
  /**
35845
35525
  *
35846
35526
  * @summary Get all HospitalSpecialties.
@@ -36223,6 +35903,16 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
36223
35903
  apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId: string, workingDayId: string, updateHospitalWorkingDayCommand?: UpdateHospitalWorkingDayCommand, options?: any): AxiosPromise<WorkingDayModel> {
36224
35904
  return localVarFp.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options).then((request) => request(axios, basePath));
36225
35905
  },
35906
+ /**
35907
+ *
35908
+ * @summary Delete HospitalSpecialty.
35909
+ * @param {string} hospitalSpecialtyId
35910
+ * @param {*} [options] Override http request option.
35911
+ * @throws {RequiredError}
35912
+ */
35913
+ apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut(hospitalSpecialtyId: string, options?: any): AxiosPromise<boolean> {
35914
+ return localVarFp.apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut(hospitalSpecialtyId, options).then((request) => request(axios, basePath));
35915
+ },
36226
35916
  /**
36227
35917
  *
36228
35918
  * @summary Create Hospital.
@@ -36763,6 +36453,18 @@ export class HospitalsApi extends BaseAPI {
36763
36453
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options).then((request) => request(this.axios, this.basePath));
36764
36454
  }
36765
36455
 
36456
+ /**
36457
+ *
36458
+ * @summary Delete HospitalSpecialty.
36459
+ * @param {string} hospitalId
36460
+ * @param {*} [options] Override http request option.
36461
+ * @throws {RequiredError}
36462
+ * @memberof HospitalsApi
36463
+ */
36464
+ public apiV1HospitalsHospitalIdReactivePut(hospitalId: string, options?: AxiosRequestConfig) {
36465
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdReactivePut(hospitalId, options).then((request) => request(this.axios, this.basePath));
36466
+ }
36467
+
36766
36468
  /**
36767
36469
  *
36768
36470
  * @summary Get all HospitalSpecialties.
@@ -37199,6 +36901,18 @@ export class HospitalsApi extends BaseAPI {
37199
36901
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options).then((request) => request(this.axios, this.basePath));
37200
36902
  }
37201
36903
 
36904
+ /**
36905
+ *
36906
+ * @summary Delete HospitalSpecialty.
36907
+ * @param {string} hospitalSpecialtyId
36908
+ * @param {*} [options] Override http request option.
36909
+ * @throws {RequiredError}
36910
+ * @memberof HospitalsApi
36911
+ */
36912
+ public apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut(hospitalSpecialtyId: string, options?: AxiosRequestConfig) {
36913
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut(hospitalSpecialtyId, options).then((request) => request(this.axios, this.basePath));
36914
+ }
36915
+
37202
36916
  /**
37203
36917
  *
37204
36918
  * @summary Create Hospital.