ch-admin-api-client-typescript 3.3.0 → 3.3.3

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,74 +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
- /**
1023
- *
1024
- * @export
1025
- * @interface AzureSearchModel
1026
- */
1027
- export interface AzureSearchModel {
1028
- /**
1029
- *
1030
- * @type {number}
1031
- * @memberof AzureSearchModel
1032
- */
1033
- 'hospitals'?: number;
1034
- /**
1035
- *
1036
- * @type {number}
1037
- * @memberof AzureSearchModel
1038
- */
1039
- 'doctors'?: number;
1040
- /**
1041
- *
1042
- * @type {number}
1043
- * @memberof AzureSearchModel
1044
- */
1045
- 'deals'?: number;
1046
- /**
1047
- *
1048
- * @type {number}
1049
- * @memberof AzureSearchModel
1050
- */
1051
- 'specialties'?: number;
1052
- /**
1053
- *
1054
- * @type {number}
1055
- * @memberof AzureSearchModel
1056
- */
1057
- 'specialtyTypes'?: number;
1058
- }
1059
991
  /**
1060
992
  *
1061
993
  * @export
@@ -4581,7 +4513,7 @@ export interface CreateHospitalServiceCommand {
4581
4513
  * @type {number}
4582
4514
  * @memberof CreateHospitalServiceCommand
4583
4515
  */
4584
- 'order'?: number;
4516
+ 'order'?: number | null;
4585
4517
  /**
4586
4518
  *
4587
4519
  * @type {string}
@@ -6259,43 +6191,31 @@ export interface DoctorItemModel {
6259
6191
  * @type {string}
6260
6192
  * @memberof DoctorItemModel
6261
6193
  */
6262
- 'userName'?: string | null;
6263
- /**
6264
- *
6265
- * @type {string}
6266
- * @memberof DoctorItemModel
6267
- */
6268
- 'firstName'?: string | null;
6269
- /**
6270
- *
6271
- * @type {string}
6272
- * @memberof DoctorItemModel
6273
- */
6274
- 'middleName'?: string | null;
6194
+ 'name'?: string | null;
6275
6195
  /**
6276
6196
  *
6277
6197
  * @type {string}
6278
6198
  * @memberof DoctorItemModel
6279
6199
  */
6280
- 'lastName'?: string | null;
6200
+ 'slug'?: string | null;
6281
6201
  /**
6282
6202
  *
6283
- * @type {string}
6203
+ * @type {boolean}
6284
6204
  * @memberof DoctorItemModel
6285
6205
  */
6286
- 'fullName'?: string | null;
6206
+ 'consultationEnabled'?: boolean | null;
6287
6207
  /**
6288
6208
  *
6289
- * @type {string}
6209
+ * @type {number}
6290
6210
  * @memberof DoctorItemModel
6291
6211
  */
6292
- 'slug'?: string | null;
6212
+ 'consultationFee'?: number | null;
6293
6213
  /**
6294
6214
  *
6295
- * @type {string}
6215
+ * @type {boolean}
6296
6216
  * @memberof DoctorItemModel
6297
6217
  */
6298
- 'phone'?: string | null;
6218
+ 'confirmed'?: boolean;
6299
6219
  /**
6300
6220
  *
6301
6221
  * @type {string}
@@ -6314,84 +6234,24 @@ export interface DoctorItemModel {
6314
6234
  * @memberof DoctorItemModel
6315
6235
  */
6316
6236
  'photoThumbnail'?: string | null;
6317
- /**
6318
- *
6319
- * @type {Gender}
6320
- * @memberof DoctorItemModel
6321
- */
6322
- 'gender'?: Gender;
6323
- /**
6324
- *
6325
- * @type {Date}
6326
- * @memberof DoctorItemModel
6327
- */
6328
- 'dateOfBirth'?: Date | null;
6329
6237
  /**
6330
6238
  *
6331
6239
  * @type {string}
6332
6240
  * @memberof DoctorItemModel
6333
6241
  */
6334
- 'timeZone'?: string | null;
6242
+ 'hospitalSlug'?: string | null;
6335
6243
  /**
6336
6244
  *
6337
- * @type {string}
6245
+ * @type {Array<DoctorAffiliationItemModel>}
6338
6246
  * @memberof DoctorItemModel
6339
6247
  */
6340
- 'communicationUserId'?: string | null;
6248
+ 'doctorAffiliations'?: Array<DoctorAffiliationItemModel> | null;
6341
6249
  /**
6342
6250
  *
6343
6251
  * @type {AuditableEntity}
6344
6252
  * @memberof DoctorItemModel
6345
6253
  */
6346
6254
  'auditableEntity'?: AuditableEntity;
6347
- /**
6348
- *
6349
- * @type {string}
6350
- * @memberof DoctorItemModel
6351
- */
6352
- 'hospitalId'?: string | null;
6353
- /**
6354
- *
6355
- * @type {string}
6356
- * @memberof DoctorItemModel
6357
- */
6358
- 'hospitalName'?: string | null;
6359
- /**
6360
- *
6361
- * @type {string}
6362
- * @memberof DoctorItemModel
6363
- */
6364
- 'hospitalSlug'?: string | null;
6365
- /**
6366
- *
6367
- * @type {Date}
6368
- * @memberof DoctorItemModel
6369
- */
6370
- 'startPracticeDate'?: Date | null;
6371
- /**
6372
- *
6373
- * @type {string}
6374
- * @memberof DoctorItemModel
6375
- */
6376
- 'overview'?: string | null;
6377
- /**
6378
- *
6379
- * @type {boolean}
6380
- * @memberof DoctorItemModel
6381
- */
6382
- 'consultationEnabled'?: boolean | null;
6383
- /**
6384
- *
6385
- * @type {number}
6386
- * @memberof DoctorItemModel
6387
- */
6388
- 'consultationFee'?: number | null;
6389
- /**
6390
- *
6391
- * @type {boolean}
6392
- * @memberof DoctorItemModel
6393
- */
6394
- 'confirmed'?: boolean;
6395
6255
  }
6396
6256
  /**
6397
6257
  *
@@ -6588,30 +6448,6 @@ export interface DoctorModel {
6588
6448
  * @memberof DoctorModel
6589
6449
  */
6590
6450
  'languageCode'?: string | null;
6591
- /**
6592
- *
6593
- * @type {string}
6594
- * @memberof DoctorModel
6595
- */
6596
- 'hospitalId'?: string | null;
6597
- /**
6598
- *
6599
- * @type {string}
6600
- * @memberof DoctorModel
6601
- */
6602
- 'hospitalName'?: string | null;
6603
- /**
6604
- *
6605
- * @type {string}
6606
- * @memberof DoctorModel
6607
- */
6608
- 'hospitalSlug'?: string | null;
6609
- /**
6610
- *
6611
- * @type {Date}
6612
- * @memberof DoctorModel
6613
- */
6614
- 'startPracticeDate'?: Date | null;
6615
6451
  /**
6616
6452
  *
6617
6453
  * @type {string}
@@ -6650,10 +6486,16 @@ export interface DoctorModel {
6650
6486
  'confirmed'?: boolean;
6651
6487
  /**
6652
6488
  *
6653
- * @type {Array<LocalizedUrlModel>}
6489
+ * @type {Date}
6654
6490
  * @memberof DoctorModel
6655
6491
  */
6656
- 'localizedUrls'?: Array<LocalizedUrlModel> | null;
6492
+ 'startPracticeDate'?: Date | null;
6493
+ /**
6494
+ *
6495
+ * @type {Array<DoctorAffiliationItemModel>}
6496
+ * @memberof DoctorModel
6497
+ */
6498
+ 'doctorAffiliations'?: Array<DoctorAffiliationItemModel> | null;
6657
6499
  }
6658
6500
  /**
6659
6501
  *
@@ -7778,54 +7620,12 @@ export interface HospitalItemModel {
7778
7620
  * @memberof HospitalItemModel
7779
7621
  */
7780
7622
  'slug'?: string | null;
7781
- /**
7782
- *
7783
- * @type {string}
7784
- * @memberof HospitalItemModel
7785
- */
7786
- 'description'?: string | null;
7787
7623
  /**
7788
7624
  *
7789
7625
  * @type {string}
7790
7626
  * @memberof HospitalItemModel
7791
7627
  */
7792
7628
  'logo'?: string | null;
7793
- /**
7794
- *
7795
- * @type {string}
7796
- * @memberof HospitalItemModel
7797
- */
7798
- 'overview'?: string | null;
7799
- /**
7800
- *
7801
- * @type {number}
7802
- * @memberof HospitalItemModel
7803
- */
7804
- 'bedsCount'?: number | null;
7805
- /**
7806
- *
7807
- * @type {number}
7808
- * @memberof HospitalItemModel
7809
- */
7810
- 'operationsPerYear'?: number | null;
7811
- /**
7812
- *
7813
- * @type {number}
7814
- * @memberof HospitalItemModel
7815
- */
7816
- 'foundationYear'?: number | null;
7817
- /**
7818
- *
7819
- * @type {number}
7820
- * @memberof HospitalItemModel
7821
- */
7822
- 'medicalStaffCount'?: number | null;
7823
- /**
7824
- *
7825
- * @type {number}
7826
- * @memberof HospitalItemModel
7827
- */
7828
- 'doctorCount'?: number | null;
7829
7629
  /**
7830
7630
  *
7831
7631
  * @type {string}
@@ -7844,18 +7644,6 @@ export interface HospitalItemModel {
7844
7644
  * @memberof HospitalItemModel
7845
7645
  */
7846
7646
  'marketingType'?: MarketingType;
7847
- /**
7848
- *
7849
- * @type {boolean}
7850
- * @memberof HospitalItemModel
7851
- */
7852
- 'consultationEnabled'?: boolean | null;
7853
- /**
7854
- *
7855
- * @type {number}
7856
- * @memberof HospitalItemModel
7857
- */
7858
- 'consultationFee'?: number | null;
7859
7647
  /**
7860
7648
  *
7861
7649
  * @type {string}
@@ -7868,66 +7656,6 @@ export interface HospitalItemModel {
7868
7656
  * @memberof HospitalItemModel
7869
7657
  */
7870
7658
  'websiteUrl'?: string | null;
7871
- /**
7872
- *
7873
- * @type {number}
7874
- * @memberof HospitalItemModel
7875
- */
7876
- 'articlesCount'?: number;
7877
- /**
7878
- *
7879
- * @type {number}
7880
- * @memberof HospitalItemModel
7881
- */
7882
- 'packagesCount'?: number;
7883
- /**
7884
- *
7885
- * @type {number}
7886
- * @memberof HospitalItemModel
7887
- */
7888
- 'equipmentsCount'?: number;
7889
- /**
7890
- *
7891
- * @type {number}
7892
- * @memberof HospitalItemModel
7893
- */
7894
- 'reviewsCount'?: number;
7895
- /**
7896
- *
7897
- * @type {number}
7898
- * @memberof HospitalItemModel
7899
- */
7900
- 'departmentsCount'?: number;
7901
- /**
7902
- *
7903
- * @type {number}
7904
- * @memberof HospitalItemModel
7905
- */
7906
- 'specialtiesCount'?: number;
7907
- /**
7908
- *
7909
- * @type {number}
7910
- * @memberof HospitalItemModel
7911
- */
7912
- 'accreditationsCount'?: number;
7913
- /**
7914
- *
7915
- * @type {number}
7916
- * @memberof HospitalItemModel
7917
- */
7918
- 'doctorAffiliationsCount'?: number;
7919
- /**
7920
- *
7921
- * @type {number}
7922
- * @memberof HospitalItemModel
7923
- */
7924
- 'managerAffiliationsCount'?: number;
7925
- /**
7926
- *
7927
- * @type {string}
7928
- * @memberof HospitalItemModel
7929
- */
7930
- 'specialtiesSummerized'?: string | null;
7931
7659
  /**
7932
7660
  *
7933
7661
  * @type {boolean}
@@ -7940,30 +7668,6 @@ export interface HospitalItemModel {
7940
7668
  * @memberof HospitalItemModel
7941
7669
  */
7942
7670
  'confirmed'?: boolean;
7943
- /**
7944
- *
7945
- * @type {Array<AwardModel>}
7946
- * @memberof HospitalItemModel
7947
- */
7948
- 'awards'?: Array<AwardModel> | null;
7949
- /**
7950
- *
7951
- * @type {Array<MediaModel>}
7952
- * @memberof HospitalItemModel
7953
- */
7954
- 'medias'?: Array<MediaModel> | null;
7955
- /**
7956
- *
7957
- * @type {Array<AccreditationModel>}
7958
- * @memberof HospitalItemModel
7959
- */
7960
- 'accreditations'?: Array<AccreditationModel> | null;
7961
- /**
7962
- *
7963
- * @type {Array<HospitalEvaluationModel>}
7964
- * @memberof HospitalItemModel
7965
- */
7966
- 'evaluations'?: Array<HospitalEvaluationModel> | null;
7967
7671
  /**
7968
7672
  *
7969
7673
  * @type {LocationModel}
@@ -8001,54 +7705,12 @@ export interface HospitalModel {
8001
7705
  * @memberof HospitalModel
8002
7706
  */
8003
7707
  'slug'?: string | null;
8004
- /**
8005
- *
8006
- * @type {string}
8007
- * @memberof HospitalModel
8008
- */
8009
- 'description'?: string | null;
8010
7708
  /**
8011
7709
  *
8012
7710
  * @type {string}
8013
7711
  * @memberof HospitalModel
8014
7712
  */
8015
7713
  'logo'?: string | null;
8016
- /**
8017
- *
8018
- * @type {string}
8019
- * @memberof HospitalModel
8020
- */
8021
- 'overview'?: string | null;
8022
- /**
8023
- *
8024
- * @type {number}
8025
- * @memberof HospitalModel
8026
- */
8027
- 'bedsCount'?: number | null;
8028
- /**
8029
- *
8030
- * @type {number}
8031
- * @memberof HospitalModel
8032
- */
8033
- 'operationsPerYear'?: number | null;
8034
- /**
8035
- *
8036
- * @type {number}
8037
- * @memberof HospitalModel
8038
- */
8039
- 'foundationYear'?: number | null;
8040
- /**
8041
- *
8042
- * @type {number}
8043
- * @memberof HospitalModel
8044
- */
8045
- 'medicalStaffCount'?: number | null;
8046
- /**
8047
- *
8048
- * @type {number}
8049
- * @memberof HospitalModel
8050
- */
8051
- 'doctorCount'?: number | null;
8052
7714
  /**
8053
7715
  *
8054
7716
  * @type {string}
@@ -8067,18 +7729,6 @@ export interface HospitalModel {
8067
7729
  * @memberof HospitalModel
8068
7730
  */
8069
7731
  'marketingType'?: MarketingType;
8070
- /**
8071
- *
8072
- * @type {boolean}
8073
- * @memberof HospitalModel
8074
- */
8075
- 'consultationEnabled'?: boolean | null;
8076
- /**
8077
- *
8078
- * @type {number}
8079
- * @memberof HospitalModel
8080
- */
8081
- 'consultationFee'?: number | null;
8082
7732
  /**
8083
7733
  *
8084
7734
  * @type {string}
@@ -8093,124 +7743,94 @@ export interface HospitalModel {
8093
7743
  'websiteUrl'?: string | null;
8094
7744
  /**
8095
7745
  *
8096
- * @type {number}
8097
- * @memberof HospitalModel
8098
- */
8099
- 'articlesCount'?: number;
8100
- /**
8101
- *
8102
- * @type {number}
8103
- * @memberof HospitalModel
8104
- */
8105
- 'packagesCount'?: number;
8106
- /**
8107
- *
8108
- * @type {number}
8109
- * @memberof HospitalModel
8110
- */
8111
- 'equipmentsCount'?: number;
8112
- /**
8113
- *
8114
- * @type {number}
8115
- * @memberof HospitalModel
8116
- */
8117
- 'reviewsCount'?: number;
8118
- /**
8119
- *
8120
- * @type {number}
8121
- * @memberof HospitalModel
8122
- */
8123
- 'departmentsCount'?: number;
8124
- /**
8125
- *
8126
- * @type {number}
7746
+ * @type {boolean}
8127
7747
  * @memberof HospitalModel
8128
7748
  */
8129
- 'specialtiesCount'?: number;
7749
+ 'paymentEnabled'?: boolean;
8130
7750
  /**
8131
7751
  *
8132
- * @type {number}
7752
+ * @type {boolean}
8133
7753
  * @memberof HospitalModel
8134
7754
  */
8135
- 'accreditationsCount'?: number;
7755
+ 'confirmed'?: boolean;
8136
7756
  /**
8137
7757
  *
8138
- * @type {number}
7758
+ * @type {LocationModel}
8139
7759
  * @memberof HospitalModel
8140
7760
  */
8141
- 'doctorAffiliationsCount'?: number;
7761
+ 'location'?: LocationModel;
8142
7762
  /**
8143
7763
  *
8144
- * @type {number}
7764
+ * @type {AuditableEntity}
8145
7765
  * @memberof HospitalModel
8146
7766
  */
8147
- 'managerAffiliationsCount'?: number;
7767
+ 'auditableEntity'?: AuditableEntity;
8148
7768
  /**
8149
7769
  *
8150
7770
  * @type {string}
8151
7771
  * @memberof HospitalModel
8152
7772
  */
8153
- 'specialtiesSummerized'?: string | null;
7773
+ 'languageCode'?: string | null;
8154
7774
  /**
8155
7775
  *
8156
- * @type {boolean}
7776
+ * @type {string}
8157
7777
  * @memberof HospitalModel
8158
7778
  */
8159
- 'paymentEnabled'?: boolean;
7779
+ 'description'?: string | null;
8160
7780
  /**
8161
7781
  *
8162
- * @type {boolean}
7782
+ * @type {string}
8163
7783
  * @memberof HospitalModel
8164
7784
  */
8165
- 'confirmed'?: boolean;
7785
+ 'overview'?: string | null;
8166
7786
  /**
8167
7787
  *
8168
- * @type {Array<AwardModel>}
7788
+ * @type {string}
8169
7789
  * @memberof HospitalModel
8170
7790
  */
8171
- 'awards'?: Array<AwardModel> | null;
7791
+ 'content'?: string | null;
8172
7792
  /**
8173
7793
  *
8174
- * @type {Array<MediaModel>}
7794
+ * @type {number}
8175
7795
  * @memberof HospitalModel
8176
7796
  */
8177
- 'medias'?: Array<MediaModel> | null;
7797
+ 'bedsCount'?: number | null;
8178
7798
  /**
8179
7799
  *
8180
- * @type {Array<AccreditationModel>}
7800
+ * @type {number}
8181
7801
  * @memberof HospitalModel
8182
7802
  */
8183
- 'accreditations'?: Array<AccreditationModel> | null;
7803
+ 'operationsPerYear'?: number | null;
8184
7804
  /**
8185
7805
  *
8186
- * @type {Array<HospitalEvaluationModel>}
7806
+ * @type {number}
8187
7807
  * @memberof HospitalModel
8188
7808
  */
8189
- 'evaluations'?: Array<HospitalEvaluationModel> | null;
7809
+ 'foundationYear'?: number | null;
8190
7810
  /**
8191
7811
  *
8192
- * @type {LocationModel}
7812
+ * @type {number}
8193
7813
  * @memberof HospitalModel
8194
7814
  */
8195
- 'location'?: LocationModel;
7815
+ 'medicalStaffCount'?: number | null;
8196
7816
  /**
8197
7817
  *
8198
- * @type {AuditableEntity}
7818
+ * @type {number}
8199
7819
  * @memberof HospitalModel
8200
7820
  */
8201
- 'auditableEntity'?: AuditableEntity;
7821
+ 'doctorCount'?: number | null;
8202
7822
  /**
8203
7823
  *
8204
- * @type {string}
7824
+ * @type {boolean}
8205
7825
  * @memberof HospitalModel
8206
7826
  */
8207
- 'languageCode'?: string | null;
7827
+ 'consultationEnabled'?: boolean | null;
8208
7828
  /**
8209
7829
  *
8210
- * @type {string}
7830
+ * @type {number}
8211
7831
  * @memberof HospitalModel
8212
7832
  */
8213
- 'content'?: string | null;
7833
+ 'consultationFee'?: number | null;
8214
7834
  /**
8215
7835
  *
8216
7836
  * @type {string}
@@ -8231,22 +7851,10 @@ export interface HospitalModel {
8231
7851
  'customStyle'?: string | null;
8232
7852
  /**
8233
7853
  *
8234
- * @type {Array<WorkingDay>}
8235
- * @memberof HospitalModel
8236
- */
8237
- 'hospitalWorkingDays'?: Array<WorkingDay> | null;
8238
- /**
8239
- *
8240
- * @type {Array<SnsHandle>}
8241
- * @memberof HospitalModel
8242
- */
8243
- 'hospitalSnsHandles'?: Array<SnsHandle> | null;
8244
- /**
8245
- *
8246
- * @type {Array<LocalizedUrlModel>}
7854
+ * @type {Array<MediaModel>}
8247
7855
  * @memberof HospitalModel
8248
7856
  */
8249
- 'localizedUrls'?: Array<LocalizedUrlModel> | null;
7857
+ 'medias'?: Array<MediaModel> | null;
8250
7858
  }
8251
7859
  /**
8252
7860
  *
@@ -8722,19 +8330,13 @@ export interface HospitalSpecialtyItemModel {
8722
8330
  * @type {string}
8723
8331
  * @memberof HospitalSpecialtyItemModel
8724
8332
  */
8725
- 'hospitalId'?: string;
8726
- /**
8727
- *
8728
- * @type {string}
8729
- * @memberof HospitalSpecialtyItemModel
8730
- */
8731
- 'hospitalName'?: string | null;
8333
+ 'name'?: string | null;
8732
8334
  /**
8733
8335
  *
8734
8336
  * @type {string}
8735
8337
  * @memberof HospitalSpecialtyItemModel
8736
8338
  */
8737
- 'hospitalSlug'?: string | null;
8339
+ 'slug'?: string | null;
8738
8340
  /**
8739
8341
  *
8740
8342
  * @type {string}
@@ -8752,73 +8354,13 @@ export interface HospitalSpecialtyItemModel {
8752
8354
  * @type {string}
8753
8355
  * @memberof HospitalSpecialtyItemModel
8754
8356
  */
8755
- 'specialtyTypeId'?: string;
8756
- /**
8757
- *
8758
- * @type {string}
8759
- * @memberof HospitalSpecialtyItemModel
8760
- */
8761
- 'specialtyTypeName'?: string | null;
8357
+ 'specialtySlug'?: string | null;
8762
8358
  /**
8763
8359
  *
8764
8360
  * @type {MarketingType}
8765
8361
  * @memberof HospitalSpecialtyItemModel
8766
8362
  */
8767
8363
  'marketingType'?: MarketingType;
8768
- /**
8769
- *
8770
- * @type {string}
8771
- * @memberof HospitalSpecialtyItemModel
8772
- */
8773
- 'name'?: string | null;
8774
- /**
8775
- *
8776
- * @type {string}
8777
- * @memberof HospitalSpecialtyItemModel
8778
- */
8779
- 'slug'?: string | null;
8780
- /**
8781
- *
8782
- * @type {string}
8783
- * @memberof HospitalSpecialtyItemModel
8784
- */
8785
- 'description'?: string | null;
8786
- /**
8787
- *
8788
- * @type {number}
8789
- * @memberof HospitalSpecialtyItemModel
8790
- */
8791
- 'serviceCount'?: number;
8792
- /**
8793
- *
8794
- * @type {Array<HospitalServiceItemModel>}
8795
- * @memberof HospitalSpecialtyItemModel
8796
- */
8797
- 'serviceList'?: Array<HospitalServiceItemModel> | null;
8798
- /**
8799
- *
8800
- * @type {string}
8801
- * @memberof HospitalSpecialtyItemModel
8802
- */
8803
- 'photo'?: string | null;
8804
- /**
8805
- *
8806
- * @type {string}
8807
- * @memberof HospitalSpecialtyItemModel
8808
- */
8809
- 'photoThumbnail'?: string | null;
8810
- /**
8811
- *
8812
- * @type {string}
8813
- * @memberof HospitalSpecialtyItemModel
8814
- */
8815
- 'background'?: string | null;
8816
- /**
8817
- *
8818
- * @type {string}
8819
- * @memberof HospitalSpecialtyItemModel
8820
- */
8821
- 'backgroundThumbnail'?: string | null;
8822
8364
  /**
8823
8365
  *
8824
8366
  * @type {number}
@@ -8831,12 +8373,6 @@ export interface HospitalSpecialtyItemModel {
8831
8373
  * @memberof HospitalSpecialtyItemModel
8832
8374
  */
8833
8375
  'confirmed'?: boolean;
8834
- /**
8835
- *
8836
- * @type {Array<MediaModel>}
8837
- * @memberof HospitalSpecialtyItemModel
8838
- */
8839
- 'medias'?: Array<MediaModel> | null;
8840
8376
  /**
8841
8377
  *
8842
8378
  * @type {AuditableEntity}
@@ -8861,79 +8397,103 @@ export interface HospitalSpecialtyModel {
8861
8397
  * @type {string}
8862
8398
  * @memberof HospitalSpecialtyModel
8863
8399
  */
8864
- 'hospitalId'?: string;
8400
+ 'name'?: string | null;
8865
8401
  /**
8866
8402
  *
8867
8403
  * @type {string}
8868
8404
  * @memberof HospitalSpecialtyModel
8869
8405
  */
8870
- 'hospitalName'?: string | null;
8406
+ 'slug'?: string | null;
8871
8407
  /**
8872
8408
  *
8873
8409
  * @type {string}
8874
8410
  * @memberof HospitalSpecialtyModel
8875
8411
  */
8876
- 'hospitalSlug'?: string | null;
8412
+ 'specialtyId'?: string;
8877
8413
  /**
8878
8414
  *
8879
8415
  * @type {string}
8880
8416
  * @memberof HospitalSpecialtyModel
8881
8417
  */
8882
- 'specialtyId'?: string;
8418
+ 'specialtyName'?: string | null;
8883
8419
  /**
8884
8420
  *
8885
8421
  * @type {string}
8886
8422
  * @memberof HospitalSpecialtyModel
8887
8423
  */
8888
- 'specialtyName'?: string | null;
8424
+ 'specialtySlug'?: string | null;
8425
+ /**
8426
+ *
8427
+ * @type {MarketingType}
8428
+ * @memberof HospitalSpecialtyModel
8429
+ */
8430
+ 'marketingType'?: MarketingType;
8431
+ /**
8432
+ *
8433
+ * @type {number}
8434
+ * @memberof HospitalSpecialtyModel
8435
+ */
8436
+ 'order'?: number;
8437
+ /**
8438
+ *
8439
+ * @type {boolean}
8440
+ * @memberof HospitalSpecialtyModel
8441
+ */
8442
+ 'confirmed'?: boolean;
8443
+ /**
8444
+ *
8445
+ * @type {AuditableEntity}
8446
+ * @memberof HospitalSpecialtyModel
8447
+ */
8448
+ 'auditableEntity'?: AuditableEntity;
8889
8449
  /**
8890
8450
  *
8891
8451
  * @type {string}
8892
8452
  * @memberof HospitalSpecialtyModel
8893
8453
  */
8894
- 'specialtyTypeId'?: string;
8454
+ 'languageCode'?: string | null;
8895
8455
  /**
8896
8456
  *
8897
8457
  * @type {string}
8898
8458
  * @memberof HospitalSpecialtyModel
8899
8459
  */
8900
- 'specialtyTypeName'?: string | null;
8460
+ 'description'?: string | null;
8901
8461
  /**
8902
8462
  *
8903
- * @type {MarketingType}
8463
+ * @type {string}
8904
8464
  * @memberof HospitalSpecialtyModel
8905
8465
  */
8906
- 'marketingType'?: MarketingType;
8466
+ 'content'?: string | null;
8907
8467
  /**
8908
8468
  *
8909
8469
  * @type {string}
8910
8470
  * @memberof HospitalSpecialtyModel
8911
8471
  */
8912
- 'name'?: string | null;
8472
+ 'hospitalId'?: string;
8913
8473
  /**
8914
8474
  *
8915
8475
  * @type {string}
8916
8476
  * @memberof HospitalSpecialtyModel
8917
8477
  */
8918
- 'slug'?: string | null;
8478
+ 'hospitalName'?: string | null;
8919
8479
  /**
8920
8480
  *
8921
8481
  * @type {string}
8922
8482
  * @memberof HospitalSpecialtyModel
8923
8483
  */
8924
- 'description'?: string | null;
8484
+ 'hospitalSlug'?: string | null;
8925
8485
  /**
8926
8486
  *
8927
- * @type {number}
8487
+ * @type {string}
8928
8488
  * @memberof HospitalSpecialtyModel
8929
8489
  */
8930
- 'serviceCount'?: number;
8490
+ 'specialtyTypeId'?: string;
8931
8491
  /**
8932
8492
  *
8933
- * @type {Array<HospitalServiceItemModel>}
8493
+ * @type {string}
8934
8494
  * @memberof HospitalSpecialtyModel
8935
8495
  */
8936
- 'serviceList'?: Array<HospitalServiceItemModel> | null;
8496
+ 'specialtyTypeName'?: string | null;
8937
8497
  /**
8938
8498
  *
8939
8499
  * @type {string}
@@ -8958,36 +8518,6 @@ export interface HospitalSpecialtyModel {
8958
8518
  * @memberof HospitalSpecialtyModel
8959
8519
  */
8960
8520
  'backgroundThumbnail'?: string | null;
8961
- /**
8962
- *
8963
- * @type {number}
8964
- * @memberof HospitalSpecialtyModel
8965
- */
8966
- 'order'?: number;
8967
- /**
8968
- *
8969
- * @type {boolean}
8970
- * @memberof HospitalSpecialtyModel
8971
- */
8972
- 'confirmed'?: boolean;
8973
- /**
8974
- *
8975
- * @type {Array<MediaModel>}
8976
- * @memberof HospitalSpecialtyModel
8977
- */
8978
- 'medias'?: Array<MediaModel> | null;
8979
- /**
8980
- *
8981
- * @type {AuditableEntity}
8982
- * @memberof HospitalSpecialtyModel
8983
- */
8984
- 'auditableEntity'?: AuditableEntity;
8985
- /**
8986
- *
8987
- * @type {string}
8988
- * @memberof HospitalSpecialtyModel
8989
- */
8990
- 'content'?: string | null;
8991
8521
  /**
8992
8522
  *
8993
8523
  * @type {string}
@@ -8996,16 +8526,10 @@ export interface HospitalSpecialtyModel {
8996
8526
  'customStyle'?: string | null;
8997
8527
  /**
8998
8528
  *
8999
- * @type {string}
9000
- * @memberof HospitalSpecialtyModel
9001
- */
9002
- 'languageCode'?: string | null;
9003
- /**
9004
- *
9005
- * @type {Array<LocalizedUrlModel>}
8529
+ * @type {Array<MediaModel>}
9006
8530
  * @memberof HospitalSpecialtyModel
9007
8531
  */
9008
- 'localizedUrls'?: Array<LocalizedUrlModel> | null;
8532
+ 'medias'?: Array<MediaModel> | null;
9009
8533
  }
9010
8534
  /**
9011
8535
  *
@@ -9031,12 +8555,6 @@ export interface HospitalSpecialtySimpleItemModel {
9031
8555
  * @memberof HospitalSpecialtySimpleItemModel
9032
8556
  */
9033
8557
  'slug'?: string | null;
9034
- /**
9035
- *
9036
- * @type {string}
9037
- * @memberof HospitalSpecialtySimpleItemModel
9038
- */
9039
- 'description'?: string | null;
9040
8558
  /**
9041
8559
  *
9042
8560
  * @type {string}
@@ -14250,43 +13768,6 @@ export interface UserModel {
14250
13768
  */
14251
13769
  'locations'?: Array<UserLocationModel> | null;
14252
13770
  }
14253
- /**
14254
- *
14255
- * @export
14256
- * @interface WorkingDay
14257
- */
14258
- export interface WorkingDay {
14259
- /**
14260
- *
14261
- * @type {string}
14262
- * @memberof WorkingDay
14263
- */
14264
- 'id'?: string;
14265
- /**
14266
- *
14267
- * @type {string}
14268
- * @memberof WorkingDay
14269
- */
14270
- 'dayOfWeek'?: string | null;
14271
- /**
14272
- *
14273
- * @type {Date}
14274
- * @memberof WorkingDay
14275
- */
14276
- 'timeFrom'?: Date;
14277
- /**
14278
- *
14279
- * @type {Date}
14280
- * @memberof WorkingDay
14281
- */
14282
- 'timeTo'?: Date;
14283
- /**
14284
- *
14285
- * @type {boolean}
14286
- * @memberof WorkingDay
14287
- */
14288
- 'checkHoliday'?: boolean;
14289
- }
14290
13771
  /**
14291
13772
  *
14292
13773
  * @export
@@ -31092,7 +30573,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31092
30573
  * @param {MarketingType} [marketingType]
31093
30574
  * @param {string} [specialtyTypeId]
31094
30575
  * @param {string} [specialtyId]
31095
- * @param {string} [serviceId]
31096
30576
  * @param {string} [exceptHospitalId]
31097
30577
  * @param {boolean} [showHidden]
31098
30578
  * @param {string} [languageCode]
@@ -31105,7 +30585,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31105
30585
  * @param {*} [options] Override http request option.
31106
30586
  * @throws {RequiredError}
31107
30587
  */
31108
- apiV1HospitalsGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
30588
+ apiV1HospitalsGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31109
30589
  const localVarPath = `/api/v1/hospitals`;
31110
30590
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31111
30591
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -31152,10 +30632,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31152
30632
  localVarQueryParameter['SpecialtyId'] = specialtyId;
31153
30633
  }
31154
30634
 
31155
- if (serviceId !== undefined) {
31156
- localVarQueryParameter['ServiceId'] = serviceId;
31157
- }
31158
-
31159
30635
  if (exceptHospitalId !== undefined) {
31160
30636
  localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
31161
30637
  }
@@ -34381,7 +33857,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
34381
33857
  * @param {MarketingType} [marketingType]
34382
33858
  * @param {string} [specialtyTypeId]
34383
33859
  * @param {string} [specialtyId]
34384
- * @param {string} [serviceId]
34385
33860
  * @param {string} [exceptHospitalId]
34386
33861
  * @param {boolean} [showHidden]
34387
33862
  * @param {string} [languageCode]
@@ -34394,7 +33869,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
34394
33869
  * @param {*} [options] Override http request option.
34395
33870
  * @throws {RequiredError}
34396
33871
  */
34397
- apiV1HospitalsSimpleGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33872
+ apiV1HospitalsSimpleGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34398
33873
  const localVarPath = `/api/v1/hospitals/simple`;
34399
33874
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
34400
33875
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -34441,10 +33916,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
34441
33916
  localVarQueryParameter['SpecialtyId'] = specialtyId;
34442
33917
  }
34443
33918
 
34444
- if (serviceId !== undefined) {
34445
- localVarQueryParameter['ServiceId'] = serviceId;
34446
- }
34447
-
34448
33919
  if (exceptHospitalId !== undefined) {
34449
33920
  localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
34450
33921
  }
@@ -34561,7 +34032,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
34561
34032
  * @param {MarketingType} [marketingType]
34562
34033
  * @param {string} [specialtyTypeId]
34563
34034
  * @param {string} [specialtyId]
34564
- * @param {string} [serviceId]
34565
34035
  * @param {string} [exceptHospitalId]
34566
34036
  * @param {boolean} [showHidden]
34567
34037
  * @param {string} [languageCode]
@@ -34574,8 +34044,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
34574
34044
  * @param {*} [options] Override http request option.
34575
34045
  * @throws {RequiredError}
34576
34046
  */
34577
- async apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
34578
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options);
34047
+ async apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
34048
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options);
34579
34049
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34580
34050
  },
34581
34051
  /**
@@ -35433,7 +34903,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
35433
34903
  * @param {MarketingType} [marketingType]
35434
34904
  * @param {string} [specialtyTypeId]
35435
34905
  * @param {string} [specialtyId]
35436
- * @param {string} [serviceId]
35437
34906
  * @param {string} [exceptHospitalId]
35438
34907
  * @param {boolean} [showHidden]
35439
34908
  * @param {string} [languageCode]
@@ -35446,8 +34915,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
35446
34915
  * @param {*} [options] Override http request option.
35447
34916
  * @throws {RequiredError}
35448
34917
  */
35449
- async apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
35450
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options);
34918
+ async apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
34919
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options);
35451
34920
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35452
34921
  },
35453
34922
  /**
@@ -35482,7 +34951,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
35482
34951
  * @param {MarketingType} [marketingType]
35483
34952
  * @param {string} [specialtyTypeId]
35484
34953
  * @param {string} [specialtyId]
35485
- * @param {string} [serviceId]
35486
34954
  * @param {string} [exceptHospitalId]
35487
34955
  * @param {boolean} [showHidden]
35488
34956
  * @param {string} [languageCode]
@@ -35495,8 +34963,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
35495
34963
  * @param {*} [options] Override http request option.
35496
34964
  * @throws {RequiredError}
35497
34965
  */
35498
- apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
35499
- return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
34966
+ apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
34967
+ return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
35500
34968
  },
35501
34969
  /**
35502
34970
  *
@@ -36293,7 +35761,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
36293
35761
  * @param {MarketingType} [marketingType]
36294
35762
  * @param {string} [specialtyTypeId]
36295
35763
  * @param {string} [specialtyId]
36296
- * @param {string} [serviceId]
36297
35764
  * @param {string} [exceptHospitalId]
36298
35765
  * @param {boolean} [showHidden]
36299
35766
  * @param {string} [languageCode]
@@ -36306,8 +35773,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
36306
35773
  * @param {*} [options] Override http request option.
36307
35774
  * @throws {RequiredError}
36308
35775
  */
36309
- apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
36310
- return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
35776
+ apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
35777
+ return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
36311
35778
  },
36312
35779
  /**
36313
35780
  *
@@ -36340,7 +35807,6 @@ export class HospitalsApi extends BaseAPI {
36340
35807
  * @param {MarketingType} [marketingType]
36341
35808
  * @param {string} [specialtyTypeId]
36342
35809
  * @param {string} [specialtyId]
36343
- * @param {string} [serviceId]
36344
35810
  * @param {string} [exceptHospitalId]
36345
35811
  * @param {boolean} [showHidden]
36346
35812
  * @param {string} [languageCode]
@@ -36354,8 +35820,8 @@ export class HospitalsApi extends BaseAPI {
36354
35820
  * @throws {RequiredError}
36355
35821
  * @memberof HospitalsApi
36356
35822
  */
36357
- public apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
36358
- return HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
35823
+ public apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
35824
+ return HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36359
35825
  }
36360
35826
 
36361
35827
  /**
@@ -37273,7 +36739,6 @@ export class HospitalsApi extends BaseAPI {
37273
36739
  * @param {MarketingType} [marketingType]
37274
36740
  * @param {string} [specialtyTypeId]
37275
36741
  * @param {string} [specialtyId]
37276
- * @param {string} [serviceId]
37277
36742
  * @param {string} [exceptHospitalId]
37278
36743
  * @param {boolean} [showHidden]
37279
36744
  * @param {string} [languageCode]
@@ -37287,8 +36752,8 @@ export class HospitalsApi extends BaseAPI {
37287
36752
  * @throws {RequiredError}
37288
36753
  * @memberof HospitalsApi
37289
36754
  */
37290
- public apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
37291
- return HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36755
+ public apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
36756
+ return HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
37292
36757
  }
37293
36758
 
37294
36759
  /**
@@ -41048,87 +40513,6 @@ export class ProfilesApi extends BaseAPI {
41048
40513
  */
41049
40514
  export const SearchApiAxiosParamCreator = function (configuration?: Configuration) {
41050
40515
  return {
41051
- /**
41052
- *
41053
- * @summary Search deals using Azure Search Service
41054
- * @param {string} [searchTerm]
41055
- * @param {boolean} [countOnly]
41056
- * @param {string} [countryId]
41057
- * @param {string} [hospitalId]
41058
- * @param {MarketingType} [marketingType]
41059
- * @param {string} [languageCode]
41060
- * @param {number} [page]
41061
- * @param {number} [limit]
41062
- * @param {Date} [lastRetrieved]
41063
- * @param {*} [options] Override http request option.
41064
- * @throws {RequiredError}
41065
- */
41066
- apiV1SearchDealsGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41067
- const localVarPath = `/api/v1/search/deals`;
41068
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
41069
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41070
- let baseOptions;
41071
- if (configuration) {
41072
- baseOptions = configuration.baseOptions;
41073
- }
41074
-
41075
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
41076
- const localVarHeaderParameter = {} as any;
41077
- const localVarQueryParameter = {} as any;
41078
-
41079
- // authentication oauth2 required
41080
- // oauth required
41081
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
41082
-
41083
- if (searchTerm !== undefined) {
41084
- localVarQueryParameter['SearchTerm'] = searchTerm;
41085
- }
41086
-
41087
- if (countOnly !== undefined) {
41088
- localVarQueryParameter['CountOnly'] = countOnly;
41089
- }
41090
-
41091
- if (countryId !== undefined) {
41092
- localVarQueryParameter['CountryId'] = countryId;
41093
- }
41094
-
41095
- if (hospitalId !== undefined) {
41096
- localVarQueryParameter['HospitalId'] = hospitalId;
41097
- }
41098
-
41099
- if (marketingType !== undefined) {
41100
- localVarQueryParameter['MarketingType'] = marketingType;
41101
- }
41102
-
41103
- if (languageCode !== undefined) {
41104
- localVarQueryParameter['LanguageCode'] = languageCode;
41105
- }
41106
-
41107
- if (page !== undefined) {
41108
- localVarQueryParameter['page'] = page;
41109
- }
41110
-
41111
- if (limit !== undefined) {
41112
- localVarQueryParameter['limit'] = limit;
41113
- }
41114
-
41115
- if (lastRetrieved !== undefined) {
41116
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
41117
- (lastRetrieved as any).toISOString() :
41118
- lastRetrieved;
41119
- }
41120
-
41121
-
41122
-
41123
- setSearchParams(localVarUrlObj, localVarQueryParameter);
41124
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41125
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41126
-
41127
- return {
41128
- url: toPathString(localVarUrlObj),
41129
- options: localVarRequestOptions,
41130
- };
41131
- },
41132
40516
  /**
41133
40517
  *
41134
40518
  * @summary Update or Re-create deals Azure Search Services Index
@@ -41167,87 +40551,6 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
41167
40551
  options: localVarRequestOptions,
41168
40552
  };
41169
40553
  },
41170
- /**
41171
- *
41172
- * @summary Search doctors using Azure Search Services
41173
- * @param {string} [searchTerm]
41174
- * @param {boolean} [countOnly]
41175
- * @param {string} [countryId]
41176
- * @param {string} [hospitalId]
41177
- * @param {MarketingType} [marketingType]
41178
- * @param {string} [languageCode]
41179
- * @param {number} [page]
41180
- * @param {number} [limit]
41181
- * @param {Date} [lastRetrieved]
41182
- * @param {*} [options] Override http request option.
41183
- * @throws {RequiredError}
41184
- */
41185
- apiV1SearchDoctorsGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41186
- const localVarPath = `/api/v1/search/doctors`;
41187
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
41188
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41189
- let baseOptions;
41190
- if (configuration) {
41191
- baseOptions = configuration.baseOptions;
41192
- }
41193
-
41194
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
41195
- const localVarHeaderParameter = {} as any;
41196
- const localVarQueryParameter = {} as any;
41197
-
41198
- // authentication oauth2 required
41199
- // oauth required
41200
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
41201
-
41202
- if (searchTerm !== undefined) {
41203
- localVarQueryParameter['SearchTerm'] = searchTerm;
41204
- }
41205
-
41206
- if (countOnly !== undefined) {
41207
- localVarQueryParameter['CountOnly'] = countOnly;
41208
- }
41209
-
41210
- if (countryId !== undefined) {
41211
- localVarQueryParameter['CountryId'] = countryId;
41212
- }
41213
-
41214
- if (hospitalId !== undefined) {
41215
- localVarQueryParameter['HospitalId'] = hospitalId;
41216
- }
41217
-
41218
- if (marketingType !== undefined) {
41219
- localVarQueryParameter['MarketingType'] = marketingType;
41220
- }
41221
-
41222
- if (languageCode !== undefined) {
41223
- localVarQueryParameter['LanguageCode'] = languageCode;
41224
- }
41225
-
41226
- if (page !== undefined) {
41227
- localVarQueryParameter['page'] = page;
41228
- }
41229
-
41230
- if (limit !== undefined) {
41231
- localVarQueryParameter['limit'] = limit;
41232
- }
41233
-
41234
- if (lastRetrieved !== undefined) {
41235
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
41236
- (lastRetrieved as any).toISOString() :
41237
- lastRetrieved;
41238
- }
41239
-
41240
-
41241
-
41242
- setSearchParams(localVarUrlObj, localVarQueryParameter);
41243
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41244
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41245
-
41246
- return {
41247
- url: toPathString(localVarUrlObj),
41248
- options: localVarRequestOptions,
41249
- };
41250
- },
41251
40554
  /**
41252
40555
  *
41253
40556
  * @summary Update or Re-create doctors Azure Search Services Index
@@ -41288,21 +40591,13 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
41288
40591
  },
41289
40592
  /**
41290
40593
  *
41291
- * @summary Get the number of items in each search index
41292
- * @param {string} [searchTerm]
41293
- * @param {boolean} [countOnly]
41294
- * @param {string} [countryId]
41295
- * @param {string} [hospitalId]
41296
- * @param {MarketingType} [marketingType]
41297
- * @param {string} [languageCode]
41298
- * @param {number} [page]
41299
- * @param {number} [limit]
41300
- * @param {Date} [lastRetrieved]
40594
+ * @summary Update or Re-create hospitals Azure Search Services Index
40595
+ * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
41301
40596
  * @param {*} [options] Override http request option.
41302
40597
  * @throws {RequiredError}
41303
40598
  */
41304
- apiV1SearchGetcountGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41305
- const localVarPath = `/api/v1/search/getcount`;
40599
+ apiV1SearchHospitalsPost: async (updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
40600
+ const localVarPath = `/api/v1/search/hospitals`;
41306
40601
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
41307
40602
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41308
40603
  let baseOptions;
@@ -41310,7 +40605,7 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
41310
40605
  baseOptions = configuration.baseOptions;
41311
40606
  }
41312
40607
 
41313
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
40608
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
41314
40609
  const localVarHeaderParameter = {} as any;
41315
40610
  const localVarQueryParameter = {} as any;
41316
40611
 
@@ -41318,49 +40613,14 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
41318
40613
  // oauth required
41319
40614
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
41320
40615
 
41321
- if (searchTerm !== undefined) {
41322
- localVarQueryParameter['SearchTerm'] = searchTerm;
41323
- }
41324
-
41325
- if (countOnly !== undefined) {
41326
- localVarQueryParameter['CountOnly'] = countOnly;
41327
- }
41328
-
41329
- if (countryId !== undefined) {
41330
- localVarQueryParameter['CountryId'] = countryId;
41331
- }
41332
-
41333
- if (hospitalId !== undefined) {
41334
- localVarQueryParameter['HospitalId'] = hospitalId;
41335
- }
41336
-
41337
- if (marketingType !== undefined) {
41338
- localVarQueryParameter['MarketingType'] = marketingType;
41339
- }
41340
-
41341
- if (languageCode !== undefined) {
41342
- localVarQueryParameter['LanguageCode'] = languageCode;
41343
- }
41344
-
41345
- if (page !== undefined) {
41346
- localVarQueryParameter['page'] = page;
41347
- }
41348
-
41349
- if (limit !== undefined) {
41350
- localVarQueryParameter['limit'] = limit;
41351
- }
41352
-
41353
- if (lastRetrieved !== undefined) {
41354
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
41355
- (lastRetrieved as any).toISOString() :
41356
- lastRetrieved;
41357
- }
41358
-
41359
40616
 
41360
40617
 
40618
+ localVarHeaderParameter['Content-Type'] = 'application/json';
40619
+
41361
40620
  setSearchParams(localVarUrlObj, localVarQueryParameter);
41362
40621
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41363
40622
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
40623
+ localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalsSearchIndexCommand, localVarRequestOptions, configuration)
41364
40624
 
41365
40625
  return {
41366
40626
  url: toPathString(localVarUrlObj),
@@ -41369,21 +40629,13 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
41369
40629
  },
41370
40630
  /**
41371
40631
  *
41372
- * @summary Search hospitals using Azure Search Services
41373
- * @param {string} [searchTerm]
41374
- * @param {boolean} [countOnly]
41375
- * @param {string} [countryId]
41376
- * @param {string} [hospitalId]
41377
- * @param {MarketingType} [marketingType]
41378
- * @param {string} [languageCode]
41379
- * @param {number} [page]
41380
- * @param {number} [limit]
41381
- * @param {Date} [lastRetrieved]
40632
+ * @summary Update or Re-create specialties Azure Search Services Index
40633
+ * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
41382
40634
  * @param {*} [options] Override http request option.
41383
40635
  * @throws {RequiredError}
41384
40636
  */
41385
- apiV1SearchHospitalsGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41386
- const localVarPath = `/api/v1/search/hospitals`;
40637
+ apiV1SearchSpecialtiesPost: async (updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
40638
+ const localVarPath = `/api/v1/search/specialties`;
41387
40639
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
41388
40640
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41389
40641
  let baseOptions;
@@ -41391,7 +40643,7 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
41391
40643
  baseOptions = configuration.baseOptions;
41392
40644
  }
41393
40645
 
41394
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
40646
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
41395
40647
  const localVarHeaderParameter = {} as any;
41396
40648
  const localVarQueryParameter = {} as any;
41397
40649
 
@@ -41399,49 +40651,14 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
41399
40651
  // oauth required
41400
40652
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
41401
40653
 
41402
- if (searchTerm !== undefined) {
41403
- localVarQueryParameter['SearchTerm'] = searchTerm;
41404
- }
41405
-
41406
- if (countOnly !== undefined) {
41407
- localVarQueryParameter['CountOnly'] = countOnly;
41408
- }
41409
-
41410
- if (countryId !== undefined) {
41411
- localVarQueryParameter['CountryId'] = countryId;
41412
- }
41413
-
41414
- if (hospitalId !== undefined) {
41415
- localVarQueryParameter['HospitalId'] = hospitalId;
41416
- }
41417
-
41418
- if (marketingType !== undefined) {
41419
- localVarQueryParameter['MarketingType'] = marketingType;
41420
- }
41421
-
41422
- if (languageCode !== undefined) {
41423
- localVarQueryParameter['LanguageCode'] = languageCode;
41424
- }
41425
-
41426
- if (page !== undefined) {
41427
- localVarQueryParameter['page'] = page;
41428
- }
41429
-
41430
- if (limit !== undefined) {
41431
- localVarQueryParameter['limit'] = limit;
41432
- }
41433
-
41434
- if (lastRetrieved !== undefined) {
41435
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
41436
- (lastRetrieved as any).toISOString() :
41437
- lastRetrieved;
41438
- }
41439
-
41440
40654
 
41441
40655
 
40656
+ localVarHeaderParameter['Content-Type'] = 'application/json';
40657
+
41442
40658
  setSearchParams(localVarUrlObj, localVarQueryParameter);
41443
40659
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41444
40660
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
40661
+ localVarRequestOptions.data = serializeDataIfNeeded(updateSpecialtiesSearchIndexCommand, localVarRequestOptions, configuration)
41445
40662
 
41446
40663
  return {
41447
40664
  url: toPathString(localVarUrlObj),
@@ -41450,251 +40667,13 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
41450
40667
  },
41451
40668
  /**
41452
40669
  *
41453
- * @summary Update or Re-create hospitals Azure Search Services Index
41454
- * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
40670
+ * @summary Update or Re-create specialtyTypes Azure Search Services Index
40671
+ * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
41455
40672
  * @param {*} [options] Override http request option.
41456
40673
  * @throws {RequiredError}
41457
40674
  */
41458
- apiV1SearchHospitalsPost: async (updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41459
- const localVarPath = `/api/v1/search/hospitals`;
41460
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
41461
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41462
- let baseOptions;
41463
- if (configuration) {
41464
- baseOptions = configuration.baseOptions;
41465
- }
41466
-
41467
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
41468
- const localVarHeaderParameter = {} as any;
41469
- const localVarQueryParameter = {} as any;
41470
-
41471
- // authentication oauth2 required
41472
- // oauth required
41473
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
41474
-
41475
-
41476
-
41477
- localVarHeaderParameter['Content-Type'] = 'application/json';
41478
-
41479
- setSearchParams(localVarUrlObj, localVarQueryParameter);
41480
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41481
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41482
- localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalsSearchIndexCommand, localVarRequestOptions, configuration)
41483
-
41484
- return {
41485
- url: toPathString(localVarUrlObj),
41486
- options: localVarRequestOptions,
41487
- };
41488
- },
41489
- /**
41490
- *
41491
- * @summary Search specialties using Azure Search Service
41492
- * @param {string} [searchTerm]
41493
- * @param {boolean} [countOnly]
41494
- * @param {string} [countryId]
41495
- * @param {string} [hospitalId]
41496
- * @param {MarketingType} [marketingType]
41497
- * @param {string} [languageCode]
41498
- * @param {number} [page]
41499
- * @param {number} [limit]
41500
- * @param {Date} [lastRetrieved]
41501
- * @param {*} [options] Override http request option.
41502
- * @throws {RequiredError}
41503
- */
41504
- apiV1SearchSpecialtiesGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41505
- const localVarPath = `/api/v1/search/specialties`;
41506
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
41507
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41508
- let baseOptions;
41509
- if (configuration) {
41510
- baseOptions = configuration.baseOptions;
41511
- }
41512
-
41513
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
41514
- const localVarHeaderParameter = {} as any;
41515
- const localVarQueryParameter = {} as any;
41516
-
41517
- // authentication oauth2 required
41518
- // oauth required
41519
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
41520
-
41521
- if (searchTerm !== undefined) {
41522
- localVarQueryParameter['SearchTerm'] = searchTerm;
41523
- }
41524
-
41525
- if (countOnly !== undefined) {
41526
- localVarQueryParameter['CountOnly'] = countOnly;
41527
- }
41528
-
41529
- if (countryId !== undefined) {
41530
- localVarQueryParameter['CountryId'] = countryId;
41531
- }
41532
-
41533
- if (hospitalId !== undefined) {
41534
- localVarQueryParameter['HospitalId'] = hospitalId;
41535
- }
41536
-
41537
- if (marketingType !== undefined) {
41538
- localVarQueryParameter['MarketingType'] = marketingType;
41539
- }
41540
-
41541
- if (languageCode !== undefined) {
41542
- localVarQueryParameter['LanguageCode'] = languageCode;
41543
- }
41544
-
41545
- if (page !== undefined) {
41546
- localVarQueryParameter['page'] = page;
41547
- }
41548
-
41549
- if (limit !== undefined) {
41550
- localVarQueryParameter['limit'] = limit;
41551
- }
41552
-
41553
- if (lastRetrieved !== undefined) {
41554
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
41555
- (lastRetrieved as any).toISOString() :
41556
- lastRetrieved;
41557
- }
41558
-
41559
-
41560
-
41561
- setSearchParams(localVarUrlObj, localVarQueryParameter);
41562
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41563
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41564
-
41565
- return {
41566
- url: toPathString(localVarUrlObj),
41567
- options: localVarRequestOptions,
41568
- };
41569
- },
41570
- /**
41571
- *
41572
- * @summary Update or Re-create specialties Azure Search Services Index
41573
- * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
41574
- * @param {*} [options] Override http request option.
41575
- * @throws {RequiredError}
41576
- */
41577
- apiV1SearchSpecialtiesPost: async (updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41578
- const localVarPath = `/api/v1/search/specialties`;
41579
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
41580
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41581
- let baseOptions;
41582
- if (configuration) {
41583
- baseOptions = configuration.baseOptions;
41584
- }
41585
-
41586
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
41587
- const localVarHeaderParameter = {} as any;
41588
- const localVarQueryParameter = {} as any;
41589
-
41590
- // authentication oauth2 required
41591
- // oauth required
41592
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
41593
-
41594
-
41595
-
41596
- localVarHeaderParameter['Content-Type'] = 'application/json';
41597
-
41598
- setSearchParams(localVarUrlObj, localVarQueryParameter);
41599
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41600
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41601
- localVarRequestOptions.data = serializeDataIfNeeded(updateSpecialtiesSearchIndexCommand, localVarRequestOptions, configuration)
41602
-
41603
- return {
41604
- url: toPathString(localVarUrlObj),
41605
- options: localVarRequestOptions,
41606
- };
41607
- },
41608
- /**
41609
- *
41610
- * @summary Search specialtyTypes using Azure Search Services
41611
- * @param {string} [searchTerm]
41612
- * @param {boolean} [countOnly]
41613
- * @param {string} [countryId]
41614
- * @param {string} [hospitalId]
41615
- * @param {MarketingType} [marketingType]
41616
- * @param {string} [languageCode]
41617
- * @param {number} [page]
41618
- * @param {number} [limit]
41619
- * @param {Date} [lastRetrieved]
41620
- * @param {*} [options] Override http request option.
41621
- * @throws {RequiredError}
41622
- */
41623
- apiV1SearchSpecialtytypesGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41624
- const localVarPath = `/api/v1/search/specialtytypes`;
41625
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
41626
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41627
- let baseOptions;
41628
- if (configuration) {
41629
- baseOptions = configuration.baseOptions;
41630
- }
41631
-
41632
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
41633
- const localVarHeaderParameter = {} as any;
41634
- const localVarQueryParameter = {} as any;
41635
-
41636
- // authentication oauth2 required
41637
- // oauth required
41638
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
41639
-
41640
- if (searchTerm !== undefined) {
41641
- localVarQueryParameter['SearchTerm'] = searchTerm;
41642
- }
41643
-
41644
- if (countOnly !== undefined) {
41645
- localVarQueryParameter['CountOnly'] = countOnly;
41646
- }
41647
-
41648
- if (countryId !== undefined) {
41649
- localVarQueryParameter['CountryId'] = countryId;
41650
- }
41651
-
41652
- if (hospitalId !== undefined) {
41653
- localVarQueryParameter['HospitalId'] = hospitalId;
41654
- }
41655
-
41656
- if (marketingType !== undefined) {
41657
- localVarQueryParameter['MarketingType'] = marketingType;
41658
- }
41659
-
41660
- if (languageCode !== undefined) {
41661
- localVarQueryParameter['LanguageCode'] = languageCode;
41662
- }
41663
-
41664
- if (page !== undefined) {
41665
- localVarQueryParameter['page'] = page;
41666
- }
41667
-
41668
- if (limit !== undefined) {
41669
- localVarQueryParameter['limit'] = limit;
41670
- }
41671
-
41672
- if (lastRetrieved !== undefined) {
41673
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
41674
- (lastRetrieved as any).toISOString() :
41675
- lastRetrieved;
41676
- }
41677
-
41678
-
41679
-
41680
- setSearchParams(localVarUrlObj, localVarQueryParameter);
41681
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41682
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41683
-
41684
- return {
41685
- url: toPathString(localVarUrlObj),
41686
- options: localVarRequestOptions,
41687
- };
41688
- },
41689
- /**
41690
- *
41691
- * @summary Update or Re-create specialtyTypes Azure Search Services Index
41692
- * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
41693
- * @param {*} [options] Override http request option.
41694
- * @throws {RequiredError}
41695
- */
41696
- apiV1SearchSpecialtytypesPost: async (updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41697
- const localVarPath = `/api/v1/search/specialtytypes`;
40675
+ apiV1SearchSpecialtytypesPost: async (updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
40676
+ const localVarPath = `/api/v1/search/specialtytypes`;
41698
40677
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
41699
40678
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41700
40679
  let baseOptions;
@@ -41734,25 +40713,6 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
41734
40713
  export const SearchApiFp = function(configuration?: Configuration) {
41735
40714
  const localVarAxiosParamCreator = SearchApiAxiosParamCreator(configuration)
41736
40715
  return {
41737
- /**
41738
- *
41739
- * @summary Search deals using Azure Search Service
41740
- * @param {string} [searchTerm]
41741
- * @param {boolean} [countOnly]
41742
- * @param {string} [countryId]
41743
- * @param {string} [hospitalId]
41744
- * @param {MarketingType} [marketingType]
41745
- * @param {string} [languageCode]
41746
- * @param {number} [page]
41747
- * @param {number} [limit]
41748
- * @param {Date} [lastRetrieved]
41749
- * @param {*} [options] Override http request option.
41750
- * @throws {RequiredError}
41751
- */
41752
- async apiV1SearchDealsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
41753
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
41754
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41755
- },
41756
40716
  /**
41757
40717
  *
41758
40718
  * @summary Update or Re-create deals Azure Search Services Index
@@ -41764,25 +40724,6 @@ export const SearchApiFp = function(configuration?: Configuration) {
41764
40724
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options);
41765
40725
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41766
40726
  },
41767
- /**
41768
- *
41769
- * @summary Search doctors using Azure Search Services
41770
- * @param {string} [searchTerm]
41771
- * @param {boolean} [countOnly]
41772
- * @param {string} [countryId]
41773
- * @param {string} [hospitalId]
41774
- * @param {MarketingType} [marketingType]
41775
- * @param {string} [languageCode]
41776
- * @param {number} [page]
41777
- * @param {number} [limit]
41778
- * @param {Date} [lastRetrieved]
41779
- * @param {*} [options] Override http request option.
41780
- * @throws {RequiredError}
41781
- */
41782
- async apiV1SearchDoctorsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsModel>> {
41783
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
41784
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41785
- },
41786
40727
  /**
41787
40728
  *
41788
40729
  * @summary Update or Re-create doctors Azure Search Services Index
@@ -41794,44 +40735,6 @@ export const SearchApiFp = function(configuration?: Configuration) {
41794
40735
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options);
41795
40736
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41796
40737
  },
41797
- /**
41798
- *
41799
- * @summary Get the number of items in each search index
41800
- * @param {string} [searchTerm]
41801
- * @param {boolean} [countOnly]
41802
- * @param {string} [countryId]
41803
- * @param {string} [hospitalId]
41804
- * @param {MarketingType} [marketingType]
41805
- * @param {string} [languageCode]
41806
- * @param {number} [page]
41807
- * @param {number} [limit]
41808
- * @param {Date} [lastRetrieved]
41809
- * @param {*} [options] Override http request option.
41810
- * @throws {RequiredError}
41811
- */
41812
- async apiV1SearchGetcountGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AzureSearchModel>> {
41813
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
41814
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41815
- },
41816
- /**
41817
- *
41818
- * @summary Search hospitals using Azure Search Services
41819
- * @param {string} [searchTerm]
41820
- * @param {boolean} [countOnly]
41821
- * @param {string} [countryId]
41822
- * @param {string} [hospitalId]
41823
- * @param {MarketingType} [marketingType]
41824
- * @param {string} [languageCode]
41825
- * @param {number} [page]
41826
- * @param {number} [limit]
41827
- * @param {Date} [lastRetrieved]
41828
- * @param {*} [options] Override http request option.
41829
- * @throws {RequiredError}
41830
- */
41831
- async apiV1SearchHospitalsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
41832
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
41833
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41834
- },
41835
40738
  /**
41836
40739
  *
41837
40740
  * @summary Update or Re-create hospitals Azure Search Services Index
@@ -41843,25 +40746,6 @@ export const SearchApiFp = function(configuration?: Configuration) {
41843
40746
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options);
41844
40747
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41845
40748
  },
41846
- /**
41847
- *
41848
- * @summary Search specialties using Azure Search Service
41849
- * @param {string} [searchTerm]
41850
- * @param {boolean} [countOnly]
41851
- * @param {string} [countryId]
41852
- * @param {string} [hospitalId]
41853
- * @param {MarketingType} [marketingType]
41854
- * @param {string} [languageCode]
41855
- * @param {number} [page]
41856
- * @param {number} [limit]
41857
- * @param {Date} [lastRetrieved]
41858
- * @param {*} [options] Override http request option.
41859
- * @throws {RequiredError}
41860
- */
41861
- async apiV1SearchSpecialtiesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesModel>> {
41862
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
41863
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41864
- },
41865
40749
  /**
41866
40750
  *
41867
40751
  * @summary Update or Re-create specialties Azure Search Services Index
@@ -41873,25 +40757,6 @@ export const SearchApiFp = function(configuration?: Configuration) {
41873
40757
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options);
41874
40758
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41875
40759
  },
41876
- /**
41877
- *
41878
- * @summary Search specialtyTypes using Azure Search Services
41879
- * @param {string} [searchTerm]
41880
- * @param {boolean} [countOnly]
41881
- * @param {string} [countryId]
41882
- * @param {string} [hospitalId]
41883
- * @param {MarketingType} [marketingType]
41884
- * @param {string} [languageCode]
41885
- * @param {number} [page]
41886
- * @param {number} [limit]
41887
- * @param {Date} [lastRetrieved]
41888
- * @param {*} [options] Override http request option.
41889
- * @throws {RequiredError}
41890
- */
41891
- async apiV1SearchSpecialtytypesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypesModel>> {
41892
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
41893
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41894
- },
41895
40760
  /**
41896
40761
  *
41897
40762
  * @summary Update or Re-create specialtyTypes Azure Search Services Index
@@ -41913,24 +40778,6 @@ export const SearchApiFp = function(configuration?: Configuration) {
41913
40778
  export const SearchApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
41914
40779
  const localVarFp = SearchApiFp(configuration)
41915
40780
  return {
41916
- /**
41917
- *
41918
- * @summary Search deals using Azure Search Service
41919
- * @param {string} [searchTerm]
41920
- * @param {boolean} [countOnly]
41921
- * @param {string} [countryId]
41922
- * @param {string} [hospitalId]
41923
- * @param {MarketingType} [marketingType]
41924
- * @param {string} [languageCode]
41925
- * @param {number} [page]
41926
- * @param {number} [limit]
41927
- * @param {Date} [lastRetrieved]
41928
- * @param {*} [options] Override http request option.
41929
- * @throws {RequiredError}
41930
- */
41931
- apiV1SearchDealsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
41932
- return localVarFp.apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
41933
- },
41934
40781
  /**
41935
40782
  *
41936
40783
  * @summary Update or Re-create deals Azure Search Services Index
@@ -41941,24 +40788,6 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
41941
40788
  apiV1SearchDealsPost(updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options?: any): AxiosPromise<string> {
41942
40789
  return localVarFp.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then((request) => request(axios, basePath));
41943
40790
  },
41944
- /**
41945
- *
41946
- * @summary Search doctors using Azure Search Services
41947
- * @param {string} [searchTerm]
41948
- * @param {boolean} [countOnly]
41949
- * @param {string} [countryId]
41950
- * @param {string} [hospitalId]
41951
- * @param {MarketingType} [marketingType]
41952
- * @param {string} [languageCode]
41953
- * @param {number} [page]
41954
- * @param {number} [limit]
41955
- * @param {Date} [lastRetrieved]
41956
- * @param {*} [options] Override http request option.
41957
- * @throws {RequiredError}
41958
- */
41959
- apiV1SearchDoctorsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
41960
- return localVarFp.apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
41961
- },
41962
40791
  /**
41963
40792
  *
41964
40793
  * @summary Update or Re-create doctors Azure Search Services Index
@@ -41969,42 +40798,6 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
41969
40798
  apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options?: any): AxiosPromise<string> {
41970
40799
  return localVarFp.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then((request) => request(axios, basePath));
41971
40800
  },
41972
- /**
41973
- *
41974
- * @summary Get the number of items in each search index
41975
- * @param {string} [searchTerm]
41976
- * @param {boolean} [countOnly]
41977
- * @param {string} [countryId]
41978
- * @param {string} [hospitalId]
41979
- * @param {MarketingType} [marketingType]
41980
- * @param {string} [languageCode]
41981
- * @param {number} [page]
41982
- * @param {number} [limit]
41983
- * @param {Date} [lastRetrieved]
41984
- * @param {*} [options] Override http request option.
41985
- * @throws {RequiredError}
41986
- */
41987
- apiV1SearchGetcountGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AzureSearchModel> {
41988
- return localVarFp.apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
41989
- },
41990
- /**
41991
- *
41992
- * @summary Search hospitals using Azure Search Services
41993
- * @param {string} [searchTerm]
41994
- * @param {boolean} [countOnly]
41995
- * @param {string} [countryId]
41996
- * @param {string} [hospitalId]
41997
- * @param {MarketingType} [marketingType]
41998
- * @param {string} [languageCode]
41999
- * @param {number} [page]
42000
- * @param {number} [limit]
42001
- * @param {Date} [lastRetrieved]
42002
- * @param {*} [options] Override http request option.
42003
- * @throws {RequiredError}
42004
- */
42005
- apiV1SearchHospitalsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
42006
- return localVarFp.apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
42007
- },
42008
40801
  /**
42009
40802
  *
42010
40803
  * @summary Update or Re-create hospitals Azure Search Services Index
@@ -42015,24 +40808,6 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
42015
40808
  apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options?: any): AxiosPromise<string> {
42016
40809
  return localVarFp.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then((request) => request(axios, basePath));
42017
40810
  },
42018
- /**
42019
- *
42020
- * @summary Search specialties using Azure Search Service
42021
- * @param {string} [searchTerm]
42022
- * @param {boolean} [countOnly]
42023
- * @param {string} [countryId]
42024
- * @param {string} [hospitalId]
42025
- * @param {MarketingType} [marketingType]
42026
- * @param {string} [languageCode]
42027
- * @param {number} [page]
42028
- * @param {number} [limit]
42029
- * @param {Date} [lastRetrieved]
42030
- * @param {*} [options] Override http request option.
42031
- * @throws {RequiredError}
42032
- */
42033
- apiV1SearchSpecialtiesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
42034
- return localVarFp.apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
42035
- },
42036
40811
  /**
42037
40812
  *
42038
40813
  * @summary Update or Re-create specialties Azure Search Services Index
@@ -42043,24 +40818,6 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
42043
40818
  apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options?: any): AxiosPromise<string> {
42044
40819
  return localVarFp.apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then((request) => request(axios, basePath));
42045
40820
  },
42046
- /**
42047
- *
42048
- * @summary Search specialtyTypes using Azure Search Services
42049
- * @param {string} [searchTerm]
42050
- * @param {boolean} [countOnly]
42051
- * @param {string} [countryId]
42052
- * @param {string} [hospitalId]
42053
- * @param {MarketingType} [marketingType]
42054
- * @param {string} [languageCode]
42055
- * @param {number} [page]
42056
- * @param {number} [limit]
42057
- * @param {Date} [lastRetrieved]
42058
- * @param {*} [options] Override http request option.
42059
- * @throws {RequiredError}
42060
- */
42061
- apiV1SearchSpecialtytypesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesModel> {
42062
- return localVarFp.apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
42063
- },
42064
40821
  /**
42065
40822
  *
42066
40823
  * @summary Update or Re-create specialtyTypes Azure Search Services Index
@@ -42081,26 +40838,6 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
42081
40838
  * @extends {BaseAPI}
42082
40839
  */
42083
40840
  export class SearchApi extends BaseAPI {
42084
- /**
42085
- *
42086
- * @summary Search deals using Azure Search Service
42087
- * @param {string} [searchTerm]
42088
- * @param {boolean} [countOnly]
42089
- * @param {string} [countryId]
42090
- * @param {string} [hospitalId]
42091
- * @param {MarketingType} [marketingType]
42092
- * @param {string} [languageCode]
42093
- * @param {number} [page]
42094
- * @param {number} [limit]
42095
- * @param {Date} [lastRetrieved]
42096
- * @param {*} [options] Override http request option.
42097
- * @throws {RequiredError}
42098
- * @memberof SearchApi
42099
- */
42100
- public apiV1SearchDealsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
42101
- return SearchApiFp(this.configuration).apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
42102
- }
42103
-
42104
40841
  /**
42105
40842
  *
42106
40843
  * @summary Update or Re-create deals Azure Search Services Index
@@ -42113,26 +40850,6 @@ export class SearchApi extends BaseAPI {
42113
40850
  return SearchApiFp(this.configuration).apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
42114
40851
  }
42115
40852
 
42116
- /**
42117
- *
42118
- * @summary Search doctors using Azure Search Services
42119
- * @param {string} [searchTerm]
42120
- * @param {boolean} [countOnly]
42121
- * @param {string} [countryId]
42122
- * @param {string} [hospitalId]
42123
- * @param {MarketingType} [marketingType]
42124
- * @param {string} [languageCode]
42125
- * @param {number} [page]
42126
- * @param {number} [limit]
42127
- * @param {Date} [lastRetrieved]
42128
- * @param {*} [options] Override http request option.
42129
- * @throws {RequiredError}
42130
- * @memberof SearchApi
42131
- */
42132
- public apiV1SearchDoctorsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
42133
- return SearchApiFp(this.configuration).apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
42134
- }
42135
-
42136
40853
  /**
42137
40854
  *
42138
40855
  * @summary Update or Re-create doctors Azure Search Services Index
@@ -42145,46 +40862,6 @@ export class SearchApi extends BaseAPI {
42145
40862
  return SearchApiFp(this.configuration).apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
42146
40863
  }
42147
40864
 
42148
- /**
42149
- *
42150
- * @summary Get the number of items in each search index
42151
- * @param {string} [searchTerm]
42152
- * @param {boolean} [countOnly]
42153
- * @param {string} [countryId]
42154
- * @param {string} [hospitalId]
42155
- * @param {MarketingType} [marketingType]
42156
- * @param {string} [languageCode]
42157
- * @param {number} [page]
42158
- * @param {number} [limit]
42159
- * @param {Date} [lastRetrieved]
42160
- * @param {*} [options] Override http request option.
42161
- * @throws {RequiredError}
42162
- * @memberof SearchApi
42163
- */
42164
- public apiV1SearchGetcountGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
42165
- return SearchApiFp(this.configuration).apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
42166
- }
42167
-
42168
- /**
42169
- *
42170
- * @summary Search hospitals using Azure Search Services
42171
- * @param {string} [searchTerm]
42172
- * @param {boolean} [countOnly]
42173
- * @param {string} [countryId]
42174
- * @param {string} [hospitalId]
42175
- * @param {MarketingType} [marketingType]
42176
- * @param {string} [languageCode]
42177
- * @param {number} [page]
42178
- * @param {number} [limit]
42179
- * @param {Date} [lastRetrieved]
42180
- * @param {*} [options] Override http request option.
42181
- * @throws {RequiredError}
42182
- * @memberof SearchApi
42183
- */
42184
- public apiV1SearchHospitalsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
42185
- return SearchApiFp(this.configuration).apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
42186
- }
42187
-
42188
40865
  /**
42189
40866
  *
42190
40867
  * @summary Update or Re-create hospitals Azure Search Services Index
@@ -42197,26 +40874,6 @@ export class SearchApi extends BaseAPI {
42197
40874
  return SearchApiFp(this.configuration).apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
42198
40875
  }
42199
40876
 
42200
- /**
42201
- *
42202
- * @summary Search specialties using Azure Search Service
42203
- * @param {string} [searchTerm]
42204
- * @param {boolean} [countOnly]
42205
- * @param {string} [countryId]
42206
- * @param {string} [hospitalId]
42207
- * @param {MarketingType} [marketingType]
42208
- * @param {string} [languageCode]
42209
- * @param {number} [page]
42210
- * @param {number} [limit]
42211
- * @param {Date} [lastRetrieved]
42212
- * @param {*} [options] Override http request option.
42213
- * @throws {RequiredError}
42214
- * @memberof SearchApi
42215
- */
42216
- public apiV1SearchSpecialtiesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
42217
- return SearchApiFp(this.configuration).apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
42218
- }
42219
-
42220
40877
  /**
42221
40878
  *
42222
40879
  * @summary Update or Re-create specialties Azure Search Services Index
@@ -42229,26 +40886,6 @@ export class SearchApi extends BaseAPI {
42229
40886
  return SearchApiFp(this.configuration).apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
42230
40887
  }
42231
40888
 
42232
- /**
42233
- *
42234
- * @summary Search specialtyTypes using Azure Search Services
42235
- * @param {string} [searchTerm]
42236
- * @param {boolean} [countOnly]
42237
- * @param {string} [countryId]
42238
- * @param {string} [hospitalId]
42239
- * @param {MarketingType} [marketingType]
42240
- * @param {string} [languageCode]
42241
- * @param {number} [page]
42242
- * @param {number} [limit]
42243
- * @param {Date} [lastRetrieved]
42244
- * @param {*} [options] Override http request option.
42245
- * @throws {RequiredError}
42246
- * @memberof SearchApi
42247
- */
42248
- public apiV1SearchSpecialtytypesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
42249
- return SearchApiFp(this.configuration).apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
42250
- }
42251
-
42252
40889
  /**
42253
40890
  *
42254
40891
  * @summary Update or Re-create specialtyTypes Azure Search Services Index