ch-admin-api-client-typescript 2.5.3 → 2.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/api.ts CHANGED
@@ -782,6 +782,37 @@ export interface AwardModel {
782
782
  */
783
783
  'date'?: Date;
784
784
  }
785
+ /**
786
+ *
787
+ * @export
788
+ * @interface BookingChangeLogModel
789
+ */
790
+ export interface BookingChangeLogModel {
791
+ /**
792
+ *
793
+ * @type {BookingStatus}
794
+ * @memberof BookingChangeLogModel
795
+ */
796
+ 'status'?: BookingStatus;
797
+ /**
798
+ *
799
+ * @type {string}
800
+ * @memberof BookingChangeLogModel
801
+ */
802
+ 'actorId'?: string;
803
+ /**
804
+ *
805
+ * @type {Date}
806
+ * @memberof BookingChangeLogModel
807
+ */
808
+ 'createdDate'?: Date;
809
+ /**
810
+ *
811
+ * @type {string}
812
+ * @memberof BookingChangeLogModel
813
+ */
814
+ 'actorName'?: string | null;
815
+ }
785
816
  /**
786
817
  *
787
818
  * @export
@@ -1179,6 +1210,12 @@ export interface BookingModel {
1179
1210
  * @memberof BookingModel
1180
1211
  */
1181
1212
  'completionRate'?: number;
1213
+ /**
1214
+ *
1215
+ * @type {Array<BookingChangeLogModel>}
1216
+ * @memberof BookingModel
1217
+ */
1218
+ 'statusChangeLogs'?: Array<BookingChangeLogModel> | null;
1182
1219
  }
1183
1220
  /**
1184
1221
  *
@@ -1809,6 +1846,37 @@ export interface ConfirmEmailCommand {
1809
1846
  */
1810
1847
  'code'?: string | null;
1811
1848
  }
1849
+ /**
1850
+ *
1851
+ * @export
1852
+ * @interface ConsultationChangeLogModel
1853
+ */
1854
+ export interface ConsultationChangeLogModel {
1855
+ /**
1856
+ *
1857
+ * @type {ConsultationStatus}
1858
+ * @memberof ConsultationChangeLogModel
1859
+ */
1860
+ 'status'?: ConsultationStatus;
1861
+ /**
1862
+ *
1863
+ * @type {string}
1864
+ * @memberof ConsultationChangeLogModel
1865
+ */
1866
+ 'actorId'?: string;
1867
+ /**
1868
+ *
1869
+ * @type {Date}
1870
+ * @memberof ConsultationChangeLogModel
1871
+ */
1872
+ 'createdDate'?: Date;
1873
+ /**
1874
+ *
1875
+ * @type {string}
1876
+ * @memberof ConsultationChangeLogModel
1877
+ */
1878
+ 'actorName'?: string | null;
1879
+ }
1812
1880
  /**
1813
1881
  *
1814
1882
  * @export
@@ -2326,6 +2394,12 @@ export interface ConsultationModel {
2326
2394
  * @memberof ConsultationModel
2327
2395
  */
2328
2396
  'completionRate'?: number;
2397
+ /**
2398
+ *
2399
+ * @type {Array<ConsultationChangeLogModel>}
2400
+ * @memberof ConsultationModel
2401
+ */
2402
+ 'statusChangeLogs'?: Array<ConsultationChangeLogModel> | null;
2329
2403
  }
2330
2404
  /**
2331
2405
  *
@@ -2460,10 +2534,16 @@ export interface ContributorItemModel {
2460
2534
  'order'?: number;
2461
2535
  /**
2462
2536
  *
2463
- * @type {Array<SnsHandleModel>}
2537
+ * @type {Array<LocalizedUrlModel>}
2464
2538
  * @memberof ContributorItemModel
2465
2539
  */
2466
- 'snsHandles'?: Array<SnsHandleModel> | null;
2540
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
2541
+ /**
2542
+ *
2543
+ * @type {boolean}
2544
+ * @memberof ContributorItemModel
2545
+ */
2546
+ 'confirmed'?: boolean;
2467
2547
  }
2468
2548
  /**
2469
2549
  *
@@ -2539,10 +2619,22 @@ export interface ContributorModel {
2539
2619
  'order'?: number;
2540
2620
  /**
2541
2621
  *
2542
- * @type {Array<SnsHandleModel>}
2622
+ * @type {Array<LocalizedUrlModel>}
2623
+ * @memberof ContributorModel
2624
+ */
2625
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
2626
+ /**
2627
+ *
2628
+ * @type {boolean}
2629
+ * @memberof ContributorModel
2630
+ */
2631
+ 'confirmed'?: boolean;
2632
+ /**
2633
+ *
2634
+ * @type {string}
2543
2635
  * @memberof ContributorModel
2544
2636
  */
2545
- 'snsHandles'?: Array<SnsHandleModel> | null;
2637
+ 'languageCode'?: string | null;
2546
2638
  }
2547
2639
  /**
2548
2640
  *
@@ -2685,6 +2777,12 @@ export interface CountryItemModel {
2685
2777
  * @memberof CountryItemModel
2686
2778
  */
2687
2779
  'auditableEntity'?: AuditableEntity;
2780
+ /**
2781
+ *
2782
+ * @type {Array<LocalizedUrlModel>}
2783
+ * @memberof CountryItemModel
2784
+ */
2785
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
2688
2786
  /**
2689
2787
  *
2690
2788
  * @type {boolean}
@@ -2776,12 +2874,24 @@ export interface CountryModel {
2776
2874
  * @memberof CountryModel
2777
2875
  */
2778
2876
  'auditableEntity'?: AuditableEntity;
2877
+ /**
2878
+ *
2879
+ * @type {Array<LocalizedUrlModel>}
2880
+ * @memberof CountryModel
2881
+ */
2882
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
2779
2883
  /**
2780
2884
  *
2781
2885
  * @type {boolean}
2782
2886
  * @memberof CountryModel
2783
2887
  */
2784
2888
  'confirmed'?: boolean;
2889
+ /**
2890
+ *
2891
+ * @type {string}
2892
+ * @memberof CountryModel
2893
+ */
2894
+ 'languageCode'?: string | null;
2785
2895
  }
2786
2896
  /**
2787
2897
  *
@@ -3608,6 +3718,12 @@ export interface CreateFaqCommand {
3608
3718
  * @memberof CreateFaqCommand
3609
3719
  */
3610
3720
  'faqCategoryId'?: string | null;
3721
+ /**
3722
+ *
3723
+ * @type {string}
3724
+ * @memberof CreateFaqCommand
3725
+ */
3726
+ 'hospitalId'?: string;
3611
3727
  }
3612
3728
  /**
3613
3729
  *
@@ -5193,6 +5309,12 @@ export interface DoctorItemModel {
5193
5309
  * @memberof DoctorItemModel
5194
5310
  */
5195
5311
  'consultationFee'?: number | null;
5312
+ /**
5313
+ *
5314
+ * @type {Array<LocalizedUrlModel>}
5315
+ * @memberof DoctorItemModel
5316
+ */
5317
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
5196
5318
  /**
5197
5319
  *
5198
5320
  * @type {boolean}
@@ -5350,6 +5472,12 @@ export interface DoctorModel {
5350
5472
  * @memberof DoctorModel
5351
5473
  */
5352
5474
  'consultationFee'?: number | null;
5475
+ /**
5476
+ *
5477
+ * @type {Array<LocalizedUrlModel>}
5478
+ * @memberof DoctorModel
5479
+ */
5480
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
5353
5481
  /**
5354
5482
  *
5355
5483
  * @type {boolean}
@@ -5878,6 +6006,12 @@ export interface FaqModel {
5878
6006
  * @memberof FaqModel
5879
6007
  */
5880
6008
  'confirmed'?: boolean;
6009
+ /**
6010
+ *
6011
+ * @type {string}
6012
+ * @memberof FaqModel
6013
+ */
6014
+ 'languageCode'?: string | null;
5881
6015
  /**
5882
6016
  *
5883
6017
  * @type {Array<FaqCategoryBreadCrumbModel>}
@@ -6938,6 +7072,12 @@ export interface HospitalServiceModel {
6938
7072
  * @memberof HospitalServiceModel
6939
7073
  */
6940
7074
  'auditableEntity'?: AuditableEntity;
7075
+ /**
7076
+ *
7077
+ * @type {string}
7078
+ * @memberof HospitalServiceModel
7079
+ */
7080
+ 'languageCode'?: string | null;
6941
7081
  }
6942
7082
  /**
6943
7083
  *
@@ -9095,6 +9235,12 @@ export interface SpecialtyModel {
9095
9235
  * @memberof SpecialtyModel
9096
9236
  */
9097
9237
  'auditableEntity'?: AuditableEntity;
9238
+ /**
9239
+ *
9240
+ * @type {string}
9241
+ * @memberof SpecialtyModel
9242
+ */
9243
+ 'languageCode'?: string | null;
9098
9244
  }
9099
9245
  /**
9100
9246
  *
@@ -9241,6 +9387,37 @@ export interface SpecialtyTypeModel {
9241
9387
  * @memberof SpecialtyTypeModel
9242
9388
  */
9243
9389
  'confirmed'?: boolean;
9390
+ /**
9391
+ *
9392
+ * @type {string}
9393
+ * @memberof SpecialtyTypeModel
9394
+ */
9395
+ 'languageCode'?: string | null;
9396
+ }
9397
+ /**
9398
+ *
9399
+ * @export
9400
+ * @interface SpecialtyTypeSimpleItemModel
9401
+ */
9402
+ export interface SpecialtyTypeSimpleItemModel {
9403
+ /**
9404
+ *
9405
+ * @type {string}
9406
+ * @memberof SpecialtyTypeSimpleItemModel
9407
+ */
9408
+ 'id'?: string;
9409
+ /**
9410
+ *
9411
+ * @type {string}
9412
+ * @memberof SpecialtyTypeSimpleItemModel
9413
+ */
9414
+ 'name'?: string | null;
9415
+ /**
9416
+ *
9417
+ * @type {boolean}
9418
+ * @memberof SpecialtyTypeSimpleItemModel
9419
+ */
9420
+ 'confirmed'?: boolean;
9244
9421
  }
9245
9422
  /**
9246
9423
  *
@@ -9261,6 +9438,25 @@ export interface SpecialtyTypesModel {
9261
9438
  */
9262
9439
  'metaData'?: PagedListMetaData;
9263
9440
  }
9441
+ /**
9442
+ *
9443
+ * @export
9444
+ * @interface SpecialtyTypesSimpleModel
9445
+ */
9446
+ export interface SpecialtyTypesSimpleModel {
9447
+ /**
9448
+ *
9449
+ * @type {Array<SpecialtyTypeSimpleItemModel>}
9450
+ * @memberof SpecialtyTypesSimpleModel
9451
+ */
9452
+ 'items'?: Array<SpecialtyTypeSimpleItemModel> | null;
9453
+ /**
9454
+ *
9455
+ * @type {PagedListMetaData}
9456
+ * @memberof SpecialtyTypesSimpleModel
9457
+ */
9458
+ 'metaData'?: PagedListMetaData;
9459
+ }
9264
9460
  /**
9265
9461
  *
9266
9462
  * @export
@@ -9558,12 +9754,6 @@ export interface UpdateAccreditationCommand {
9558
9754
  * @interface UpdateArticleCommand
9559
9755
  */
9560
9756
  export interface UpdateArticleCommand {
9561
- /**
9562
- *
9563
- * @type {string}
9564
- * @memberof UpdateArticleCommand
9565
- */
9566
- 'languageCode'?: string | null;
9567
9757
  /**
9568
9758
  *
9569
9759
  * @type {string}
@@ -9618,6 +9808,12 @@ export interface UpdateArticleCommand {
9618
9808
  * @memberof UpdateArticleCommand
9619
9809
  */
9620
9810
  'articleTags'?: Array<ArticleTagItemModel> | null;
9811
+ /**
9812
+ *
9813
+ * @type {string}
9814
+ * @memberof UpdateArticleCommand
9815
+ */
9816
+ 'languageCode'?: string | null;
9621
9817
  /**
9622
9818
  *
9623
9819
  * @type {boolean}
@@ -9900,6 +10096,18 @@ export interface UpdateContributorCommand {
9900
10096
  * @memberof UpdateContributorCommand
9901
10097
  */
9902
10098
  'hospitalId'?: string;
10099
+ /**
10100
+ *
10101
+ * @type {string}
10102
+ * @memberof UpdateContributorCommand
10103
+ */
10104
+ 'languageCode'?: string | null;
10105
+ /**
10106
+ *
10107
+ * @type {boolean}
10108
+ * @memberof UpdateContributorCommand
10109
+ */
10110
+ 'confirmed'?: boolean;
9903
10111
  }
9904
10112
  /**
9905
10113
  *
@@ -9932,6 +10140,12 @@ export interface UpdateCountryCommand {
9932
10140
  * @memberof UpdateCountryCommand
9933
10141
  */
9934
10142
  'name'?: string | null;
10143
+ /**
10144
+ *
10145
+ * @type {string}
10146
+ * @memberof UpdateCountryCommand
10147
+ */
10148
+ 'slug'?: string | null;
9935
10149
  /**
9936
10150
  *
9937
10151
  * @type {string}
@@ -9956,12 +10170,6 @@ export interface UpdateCountryCommand {
9956
10170
  * @memberof UpdateCountryCommand
9957
10171
  */
9958
10172
  'confirmed'?: boolean;
9959
- /**
9960
- *
9961
- * @type {Array<MediaModel>}
9962
- * @memberof UpdateCountryCommand
9963
- */
9964
- 'medias'?: Array<MediaModel> | null;
9965
10173
  }
9966
10174
  /**
9967
10175
  *
@@ -10099,12 +10307,6 @@ export interface UpdateDoctorCertificateCommand {
10099
10307
  * @interface UpdateDoctorCommand
10100
10308
  */
10101
10309
  export interface UpdateDoctorCommand {
10102
- /**
10103
- *
10104
- * @type {string}
10105
- * @memberof UpdateDoctorCommand
10106
- */
10107
- 'userName'?: string | null;
10108
10310
  /**
10109
10311
  *
10110
10312
  * @type {string}
@@ -10295,12 +10497,6 @@ export interface UpdateDoctorSpecialtyCommand {
10295
10497
  * @interface UpdateFaqCategoryCommand
10296
10498
  */
10297
10499
  export interface UpdateFaqCategoryCommand {
10298
- /**
10299
- *
10300
- * @type {string}
10301
- * @memberof UpdateFaqCategoryCommand
10302
- */
10303
- 'id'?: string | null;
10304
10500
  /**
10305
10501
  *
10306
10502
  * @type {string}
@@ -10832,12 +11028,6 @@ export interface UpdatePlanCommand {
10832
11028
  * @memberof UpdatePlanCommand
10833
11029
  */
10834
11030
  'unitPrice'?: number;
10835
- /**
10836
- *
10837
- * @type {string}
10838
- * @memberof UpdatePlanCommand
10839
- */
10840
- 'stripePriceId'?: string | null;
10841
11031
  /**
10842
11032
  *
10843
11033
  * @type {RecurringInterval}
@@ -12089,10 +12279,11 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
12089
12279
  * @summary Get Article.
12090
12280
  * @param {string} articleId
12091
12281
  * @param {string} [languageCode]
12282
+ * @param {boolean} [returnDefaultValue]
12092
12283
  * @param {*} [options] Override http request option.
12093
12284
  * @throws {RequiredError}
12094
12285
  */
12095
- apiV1ArticlesArticleIdGet: async (articleId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
12286
+ apiV1ArticlesArticleIdGet: async (articleId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
12096
12287
  // verify required parameter 'articleId' is not null or undefined
12097
12288
  assertParamExists('apiV1ArticlesArticleIdGet', 'articleId', articleId)
12098
12289
  const localVarPath = `/api/v1/articles/{articleId}`
@@ -12116,6 +12307,10 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
12116
12307
  localVarQueryParameter['languageCode'] = languageCode;
12117
12308
  }
12118
12309
 
12310
+ if (returnDefaultValue !== undefined) {
12311
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
12312
+ }
12313
+
12119
12314
 
12120
12315
 
12121
12316
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -12841,13 +13036,14 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
12841
13036
  * @param {string} [contributorId]
12842
13037
  * @param {string} [languageCode]
12843
13038
  * @param {boolean} [showHidden]
13039
+ * @param {boolean} [returnDefaultValue]
12844
13040
  * @param {number} [page]
12845
13041
  * @param {number} [limit]
12846
13042
  * @param {Date} [lastRetrieved]
12847
13043
  * @param {*} [options] Override http request option.
12848
13044
  * @throws {RequiredError}
12849
13045
  */
12850
- apiV1ArticlesGet: async (id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13046
+ apiV1ArticlesGet: async (id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
12851
13047
  const localVarPath = `/api/v1/articles`;
12852
13048
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12853
13049
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -12924,6 +13120,10 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
12924
13120
  localVarQueryParameter['ShowHidden'] = showHidden;
12925
13121
  }
12926
13122
 
13123
+ if (returnDefaultValue !== undefined) {
13124
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
13125
+ }
13126
+
12927
13127
  if (page !== undefined) {
12928
13128
  localVarQueryParameter['page'] = page;
12929
13129
  }
@@ -12992,10 +13192,11 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
12992
13192
  * @summary Get Article by slug.
12993
13193
  * @param {string} slug
12994
13194
  * @param {string} [languageCode]
13195
+ * @param {boolean} [returnDefaultValue]
12995
13196
  * @param {*} [options] Override http request option.
12996
13197
  * @throws {RequiredError}
12997
13198
  */
12998
- apiV1ArticlesSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13199
+ apiV1ArticlesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
12999
13200
  // verify required parameter 'slug' is not null or undefined
13000
13201
  assertParamExists('apiV1ArticlesSlugGet', 'slug', slug)
13001
13202
  const localVarPath = `/api/v1/articles/{slug}`
@@ -13019,6 +13220,10 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
13019
13220
  localVarQueryParameter['languageCode'] = languageCode;
13020
13221
  }
13021
13222
 
13223
+ if (returnDefaultValue !== undefined) {
13224
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
13225
+ }
13226
+
13022
13227
 
13023
13228
 
13024
13229
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -13126,11 +13331,12 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
13126
13331
  * @summary Get Article.
13127
13332
  * @param {string} articleId
13128
13333
  * @param {string} [languageCode]
13334
+ * @param {boolean} [returnDefaultValue]
13129
13335
  * @param {*} [options] Override http request option.
13130
13336
  * @throws {RequiredError}
13131
13337
  */
13132
- async apiV1ArticlesArticleIdGet(articleId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleModel>> {
13133
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdGet(articleId, languageCode, options);
13338
+ async apiV1ArticlesArticleIdGet(articleId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleModel>> {
13339
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdGet(articleId, languageCode, returnDefaultValue, options);
13134
13340
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13135
13341
  },
13136
13342
  /**
@@ -13343,14 +13549,15 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
13343
13549
  * @param {string} [contributorId]
13344
13550
  * @param {string} [languageCode]
13345
13551
  * @param {boolean} [showHidden]
13552
+ * @param {boolean} [returnDefaultValue]
13346
13553
  * @param {number} [page]
13347
13554
  * @param {number} [limit]
13348
13555
  * @param {Date} [lastRetrieved]
13349
13556
  * @param {*} [options] Override http request option.
13350
13557
  * @throws {RequiredError}
13351
13558
  */
13352
- async apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticlesModel>> {
13353
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options);
13559
+ async apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticlesModel>> {
13560
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
13354
13561
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13355
13562
  },
13356
13563
  /**
@@ -13369,11 +13576,12 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
13369
13576
  * @summary Get Article by slug.
13370
13577
  * @param {string} slug
13371
13578
  * @param {string} [languageCode]
13579
+ * @param {boolean} [returnDefaultValue]
13372
13580
  * @param {*} [options] Override http request option.
13373
13581
  * @throws {RequiredError}
13374
13582
  */
13375
- async apiV1ArticlesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleModel>> {
13376
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesSlugGet(slug, languageCode, options);
13583
+ async apiV1ArticlesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleModel>> {
13584
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesSlugGet(slug, languageCode, returnDefaultValue, options);
13377
13585
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13378
13586
  },
13379
13587
  }
@@ -13466,11 +13674,12 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
13466
13674
  * @summary Get Article.
13467
13675
  * @param {string} articleId
13468
13676
  * @param {string} [languageCode]
13677
+ * @param {boolean} [returnDefaultValue]
13469
13678
  * @param {*} [options] Override http request option.
13470
13679
  * @throws {RequiredError}
13471
13680
  */
13472
- apiV1ArticlesArticleIdGet(articleId: string, languageCode?: string, options?: any): AxiosPromise<ArticleModel> {
13473
- return localVarFp.apiV1ArticlesArticleIdGet(articleId, languageCode, options).then((request) => request(axios, basePath));
13681
+ apiV1ArticlesArticleIdGet(articleId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<ArticleModel> {
13682
+ return localVarFp.apiV1ArticlesArticleIdGet(articleId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
13474
13683
  },
13475
13684
  /**
13476
13685
  *
@@ -13667,14 +13876,15 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
13667
13876
  * @param {string} [contributorId]
13668
13877
  * @param {string} [languageCode]
13669
13878
  * @param {boolean} [showHidden]
13879
+ * @param {boolean} [returnDefaultValue]
13670
13880
  * @param {number} [page]
13671
13881
  * @param {number} [limit]
13672
13882
  * @param {Date} [lastRetrieved]
13673
13883
  * @param {*} [options] Override http request option.
13674
13884
  * @throws {RequiredError}
13675
13885
  */
13676
- apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticlesModel> {
13677
- return localVarFp.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
13886
+ apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticlesModel> {
13887
+ return localVarFp.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
13678
13888
  },
13679
13889
  /**
13680
13890
  *
@@ -13691,11 +13901,12 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
13691
13901
  * @summary Get Article by slug.
13692
13902
  * @param {string} slug
13693
13903
  * @param {string} [languageCode]
13904
+ * @param {boolean} [returnDefaultValue]
13694
13905
  * @param {*} [options] Override http request option.
13695
13906
  * @throws {RequiredError}
13696
13907
  */
13697
- apiV1ArticlesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<ArticleModel> {
13698
- return localVarFp.apiV1ArticlesSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
13908
+ apiV1ArticlesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<ArticleModel> {
13909
+ return localVarFp.apiV1ArticlesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
13699
13910
  },
13700
13911
  };
13701
13912
  };
@@ -13799,12 +14010,13 @@ export class ArticlesApi extends BaseAPI {
13799
14010
  * @summary Get Article.
13800
14011
  * @param {string} articleId
13801
14012
  * @param {string} [languageCode]
14013
+ * @param {boolean} [returnDefaultValue]
13802
14014
  * @param {*} [options] Override http request option.
13803
14015
  * @throws {RequiredError}
13804
14016
  * @memberof ArticlesApi
13805
14017
  */
13806
- public apiV1ArticlesArticleIdGet(articleId: string, languageCode?: string, options?: AxiosRequestConfig) {
13807
- return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdGet(articleId, languageCode, options).then((request) => request(this.axios, this.basePath));
14018
+ public apiV1ArticlesArticleIdGet(articleId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
14019
+ return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdGet(articleId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
13808
14020
  }
13809
14021
 
13810
14022
  /**
@@ -14032,6 +14244,7 @@ export class ArticlesApi extends BaseAPI {
14032
14244
  * @param {string} [contributorId]
14033
14245
  * @param {string} [languageCode]
14034
14246
  * @param {boolean} [showHidden]
14247
+ * @param {boolean} [returnDefaultValue]
14035
14248
  * @param {number} [page]
14036
14249
  * @param {number} [limit]
14037
14250
  * @param {Date} [lastRetrieved]
@@ -14039,8 +14252,8 @@ export class ArticlesApi extends BaseAPI {
14039
14252
  * @throws {RequiredError}
14040
14253
  * @memberof ArticlesApi
14041
14254
  */
14042
- public apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
14043
- return ArticlesApiFp(this.configuration).apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
14255
+ public apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
14256
+ return ArticlesApiFp(this.configuration).apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
14044
14257
  }
14045
14258
 
14046
14259
  /**
@@ -14060,12 +14273,13 @@ export class ArticlesApi extends BaseAPI {
14060
14273
  * @summary Get Article by slug.
14061
14274
  * @param {string} slug
14062
14275
  * @param {string} [languageCode]
14276
+ * @param {boolean} [returnDefaultValue]
14063
14277
  * @param {*} [options] Override http request option.
14064
14278
  * @throws {RequiredError}
14065
14279
  * @memberof ArticlesApi
14066
14280
  */
14067
- public apiV1ArticlesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
14068
- return ArticlesApiFp(this.configuration).apiV1ArticlesSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
14281
+ public apiV1ArticlesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
14282
+ return ArticlesApiFp(this.configuration).apiV1ArticlesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
14069
14283
  }
14070
14284
  }
14071
14285
 
@@ -16499,13 +16713,14 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
16499
16713
  * @param {boolean} [isOpen]
16500
16714
  * @param {boolean} [isCompleted]
16501
16715
  * @param {ConsultationStatus} [status]
16716
+ * @param {ConsultationType} [consultationType]
16502
16717
  * @param {number} [page]
16503
16718
  * @param {number} [limit]
16504
16719
  * @param {Date} [lastRetrieved]
16505
16720
  * @param {*} [options] Override http request option.
16506
16721
  * @throws {RequiredError}
16507
16722
  */
16508
- apiV1ConsultationsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
16723
+ apiV1ConsultationsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
16509
16724
  const localVarPath = `/api/v1/consultations`;
16510
16725
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16511
16726
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -16538,6 +16753,10 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
16538
16753
  localVarQueryParameter['Status'] = status;
16539
16754
  }
16540
16755
 
16756
+ if (consultationType !== undefined) {
16757
+ localVarQueryParameter['ConsultationType'] = consultationType;
16758
+ }
16759
+
16541
16760
  if (page !== undefined) {
16542
16761
  localVarQueryParameter['page'] = page;
16543
16762
  }
@@ -16637,14 +16856,15 @@ export const ConsultationsApiFp = function(configuration?: Configuration) {
16637
16856
  * @param {boolean} [isOpen]
16638
16857
  * @param {boolean} [isCompleted]
16639
16858
  * @param {ConsultationStatus} [status]
16859
+ * @param {ConsultationType} [consultationType]
16640
16860
  * @param {number} [page]
16641
16861
  * @param {number} [limit]
16642
16862
  * @param {Date} [lastRetrieved]
16643
16863
  * @param {*} [options] Override http request option.
16644
16864
  * @throws {RequiredError}
16645
16865
  */
16646
- async apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationsModel>> {
16647
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, page, limit, lastRetrieved, options);
16866
+ async apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationsModel>> {
16867
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options);
16648
16868
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16649
16869
  },
16650
16870
  }
@@ -16716,14 +16936,15 @@ export const ConsultationsApiFactory = function (configuration?: Configuration,
16716
16936
  * @param {boolean} [isOpen]
16717
16937
  * @param {boolean} [isCompleted]
16718
16938
  * @param {ConsultationStatus} [status]
16939
+ * @param {ConsultationType} [consultationType]
16719
16940
  * @param {number} [page]
16720
16941
  * @param {number} [limit]
16721
16942
  * @param {Date} [lastRetrieved]
16722
16943
  * @param {*} [options] Override http request option.
16723
16944
  * @throws {RequiredError}
16724
16945
  */
16725
- apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
16726
- return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
16946
+ apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
16947
+ return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
16727
16948
  },
16728
16949
  };
16729
16950
  };
@@ -16804,6 +17025,7 @@ export class ConsultationsApi extends BaseAPI {
16804
17025
  * @param {boolean} [isOpen]
16805
17026
  * @param {boolean} [isCompleted]
16806
17027
  * @param {ConsultationStatus} [status]
17028
+ * @param {ConsultationType} [consultationType]
16807
17029
  * @param {number} [page]
16808
17030
  * @param {number} [limit]
16809
17031
  * @param {Date} [lastRetrieved]
@@ -16811,8 +17033,8 @@ export class ConsultationsApi extends BaseAPI {
16811
17033
  * @throws {RequiredError}
16812
17034
  * @memberof ConsultationsApi
16813
17035
  */
16814
- public apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
16815
- return ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
17036
+ public apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
17037
+ return ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
16816
17038
  }
16817
17039
  }
16818
17040
 
@@ -17201,9 +17423,9 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
17201
17423
  * @param {string} [email]
17202
17424
  * @param {string} [description]
17203
17425
  * @param {string} [website]
17204
- * @param {string} [languageCode]
17205
17426
  * @param {string} [hospitalId]
17206
17427
  * @param {boolean} [interviewerOnly]
17428
+ * @param {string} [languageCode]
17207
17429
  * @param {boolean} [showHidden]
17208
17430
  * @param {number} [page]
17209
17431
  * @param {number} [limit]
@@ -17211,7 +17433,7 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
17211
17433
  * @param {*} [options] Override http request option.
17212
17434
  * @throws {RequiredError}
17213
17435
  */
17214
- apiV1ContributorsGet: async (id?: string, name?: string, email?: string, description?: string, website?: string, languageCode?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
17436
+ apiV1ContributorsGet: async (id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
17215
17437
  const localVarPath = `/api/v1/contributors`;
17216
17438
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17217
17439
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -17248,10 +17470,6 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
17248
17470
  localVarQueryParameter['Website'] = website;
17249
17471
  }
17250
17472
 
17251
- if (languageCode !== undefined) {
17252
- localVarQueryParameter['LanguageCode'] = languageCode;
17253
- }
17254
-
17255
17473
  if (hospitalId !== undefined) {
17256
17474
  localVarQueryParameter['HospitalId'] = hospitalId;
17257
17475
  }
@@ -17260,6 +17478,10 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
17260
17478
  localVarQueryParameter['InterviewerOnly'] = interviewerOnly;
17261
17479
  }
17262
17480
 
17481
+ if (languageCode !== undefined) {
17482
+ localVarQueryParameter['LanguageCode'] = languageCode;
17483
+ }
17484
+
17263
17485
  if (showHidden !== undefined) {
17264
17486
  localVarQueryParameter['ShowHidden'] = showHidden;
17265
17487
  }
@@ -17490,9 +17712,9 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
17490
17712
  * @param {string} [email]
17491
17713
  * @param {string} [description]
17492
17714
  * @param {string} [website]
17493
- * @param {string} [languageCode]
17494
17715
  * @param {string} [hospitalId]
17495
17716
  * @param {boolean} [interviewerOnly]
17717
+ * @param {string} [languageCode]
17496
17718
  * @param {boolean} [showHidden]
17497
17719
  * @param {number} [page]
17498
17720
  * @param {number} [limit]
@@ -17500,8 +17722,8 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
17500
17722
  * @param {*} [options] Override http request option.
17501
17723
  * @throws {RequiredError}
17502
17724
  */
17503
- async apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, languageCode?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorsModel>> {
17504
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsGet(id, name, email, description, website, languageCode, hospitalId, interviewerOnly, showHidden, page, limit, lastRetrieved, options);
17725
+ async apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorsModel>> {
17726
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options);
17505
17727
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
17506
17728
  },
17507
17729
  /**
@@ -17639,9 +17861,9 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
17639
17861
  * @param {string} [email]
17640
17862
  * @param {string} [description]
17641
17863
  * @param {string} [website]
17642
- * @param {string} [languageCode]
17643
17864
  * @param {string} [hospitalId]
17644
17865
  * @param {boolean} [interviewerOnly]
17866
+ * @param {string} [languageCode]
17645
17867
  * @param {boolean} [showHidden]
17646
17868
  * @param {number} [page]
17647
17869
  * @param {number} [limit]
@@ -17649,8 +17871,8 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
17649
17871
  * @param {*} [options] Override http request option.
17650
17872
  * @throws {RequiredError}
17651
17873
  */
17652
- apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, languageCode?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ContributorsModel> {
17653
- return localVarFp.apiV1ContributorsGet(id, name, email, description, website, languageCode, hospitalId, interviewerOnly, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
17874
+ apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ContributorsModel> {
17875
+ return localVarFp.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
17654
17876
  },
17655
17877
  /**
17656
17878
  *
@@ -17801,9 +18023,9 @@ export class ContributorsApi extends BaseAPI {
17801
18023
  * @param {string} [email]
17802
18024
  * @param {string} [description]
17803
18025
  * @param {string} [website]
17804
- * @param {string} [languageCode]
17805
18026
  * @param {string} [hospitalId]
17806
18027
  * @param {boolean} [interviewerOnly]
18028
+ * @param {string} [languageCode]
17807
18029
  * @param {boolean} [showHidden]
17808
18030
  * @param {number} [page]
17809
18031
  * @param {number} [limit]
@@ -17812,8 +18034,8 @@ export class ContributorsApi extends BaseAPI {
17812
18034
  * @throws {RequiredError}
17813
18035
  * @memberof ContributorsApi
17814
18036
  */
17815
- public apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, languageCode?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
17816
- return ContributorsApiFp(this.configuration).apiV1ContributorsGet(id, name, email, description, website, languageCode, hospitalId, interviewerOnly, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
18037
+ public apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
18038
+ return ContributorsApiFp(this.configuration).apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
17817
18039
  }
17818
18040
 
17819
18041
  /**
@@ -17892,10 +18114,11 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
17892
18114
  * @summary Get country.
17893
18115
  * @param {string} countryId
17894
18116
  * @param {string} [languageCode]
18117
+ * @param {boolean} [returnDefaultValue]
17895
18118
  * @param {*} [options] Override http request option.
17896
18119
  * @throws {RequiredError}
17897
18120
  */
17898
- apiV1CountriesCountryIdGet: async (countryId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18121
+ apiV1CountriesCountryIdGet: async (countryId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
17899
18122
  // verify required parameter 'countryId' is not null or undefined
17900
18123
  assertParamExists('apiV1CountriesCountryIdGet', 'countryId', countryId)
17901
18124
  const localVarPath = `/api/v1/countries/{countryId}`
@@ -17919,6 +18142,10 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
17919
18142
  localVarQueryParameter['languageCode'] = languageCode;
17920
18143
  }
17921
18144
 
18145
+ if (returnDefaultValue !== undefined) {
18146
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
18147
+ }
18148
+
17922
18149
 
17923
18150
 
17924
18151
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -18256,13 +18483,14 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
18256
18483
  * @param {Date} [createdDate]
18257
18484
  * @param {string} [languageCode]
18258
18485
  * @param {boolean} [showHidden]
18486
+ * @param {boolean} [returnDefaultValue]
18259
18487
  * @param {number} [page]
18260
18488
  * @param {number} [limit]
18261
18489
  * @param {Date} [lastRetrieved]
18262
18490
  * @param {*} [options] Override http request option.
18263
18491
  * @throws {RequiredError}
18264
18492
  */
18265
- apiV1CountriesGet: async (id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18493
+ apiV1CountriesGet: async (id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18266
18494
  const localVarPath = `/api/v1/countries`;
18267
18495
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
18268
18496
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -18305,6 +18533,10 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
18305
18533
  localVarQueryParameter['ShowHidden'] = showHidden;
18306
18534
  }
18307
18535
 
18536
+ if (returnDefaultValue !== undefined) {
18537
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
18538
+ }
18539
+
18308
18540
  if (page !== undefined) {
18309
18541
  localVarQueryParameter['page'] = page;
18310
18542
  }
@@ -18373,10 +18605,11 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
18373
18605
  * @summary Get country by slug.
18374
18606
  * @param {string} slug
18375
18607
  * @param {string} [languageCode]
18608
+ * @param {boolean} [returnDefaultValue]
18376
18609
  * @param {*} [options] Override http request option.
18377
18610
  * @throws {RequiredError}
18378
18611
  */
18379
- apiV1CountriesSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18612
+ apiV1CountriesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18380
18613
  // verify required parameter 'slug' is not null or undefined
18381
18614
  assertParamExists('apiV1CountriesSlugGet', 'slug', slug)
18382
18615
  const localVarPath = `/api/v1/countries/{slug}`
@@ -18400,6 +18633,10 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
18400
18633
  localVarQueryParameter['languageCode'] = languageCode;
18401
18634
  }
18402
18635
 
18636
+ if (returnDefaultValue !== undefined) {
18637
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
18638
+ }
18639
+
18403
18640
 
18404
18641
 
18405
18642
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -18437,11 +18674,12 @@ export const CountriesApiFp = function(configuration?: Configuration) {
18437
18674
  * @summary Get country.
18438
18675
  * @param {string} countryId
18439
18676
  * @param {string} [languageCode]
18677
+ * @param {boolean} [returnDefaultValue]
18440
18678
  * @param {*} [options] Override http request option.
18441
18679
  * @throws {RequiredError}
18442
18680
  */
18443
- async apiV1CountriesCountryIdGet(countryId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountryModel>> {
18444
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesCountryIdGet(countryId, languageCode, options);
18681
+ async apiV1CountriesCountryIdGet(countryId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountryModel>> {
18682
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesCountryIdGet(countryId, languageCode, returnDefaultValue, options);
18445
18683
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18446
18684
  },
18447
18685
  /**
@@ -18541,14 +18779,15 @@ export const CountriesApiFp = function(configuration?: Configuration) {
18541
18779
  * @param {Date} [createdDate]
18542
18780
  * @param {string} [languageCode]
18543
18781
  * @param {boolean} [showHidden]
18782
+ * @param {boolean} [returnDefaultValue]
18544
18783
  * @param {number} [page]
18545
18784
  * @param {number} [limit]
18546
18785
  * @param {Date} [lastRetrieved]
18547
18786
  * @param {*} [options] Override http request option.
18548
18787
  * @throws {RequiredError}
18549
18788
  */
18550
- async apiV1CountriesGet(id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountriesModel>> {
18551
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options);
18789
+ async apiV1CountriesGet(id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountriesModel>> {
18790
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
18552
18791
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18553
18792
  },
18554
18793
  /**
@@ -18567,11 +18806,12 @@ export const CountriesApiFp = function(configuration?: Configuration) {
18567
18806
  * @summary Get country by slug.
18568
18807
  * @param {string} slug
18569
18808
  * @param {string} [languageCode]
18809
+ * @param {boolean} [returnDefaultValue]
18570
18810
  * @param {*} [options] Override http request option.
18571
18811
  * @throws {RequiredError}
18572
18812
  */
18573
- async apiV1CountriesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountryModel>> {
18574
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesSlugGet(slug, languageCode, options);
18813
+ async apiV1CountriesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountryModel>> {
18814
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesSlugGet(slug, languageCode, returnDefaultValue, options);
18575
18815
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18576
18816
  },
18577
18817
  }
@@ -18599,11 +18839,12 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
18599
18839
  * @summary Get country.
18600
18840
  * @param {string} countryId
18601
18841
  * @param {string} [languageCode]
18842
+ * @param {boolean} [returnDefaultValue]
18602
18843
  * @param {*} [options] Override http request option.
18603
18844
  * @throws {RequiredError}
18604
18845
  */
18605
- apiV1CountriesCountryIdGet(countryId: string, languageCode?: string, options?: any): AxiosPromise<CountryModel> {
18606
- return localVarFp.apiV1CountriesCountryIdGet(countryId, languageCode, options).then((request) => request(axios, basePath));
18846
+ apiV1CountriesCountryIdGet(countryId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<CountryModel> {
18847
+ return localVarFp.apiV1CountriesCountryIdGet(countryId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
18607
18848
  },
18608
18849
  /**
18609
18850
  *
@@ -18695,14 +18936,15 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
18695
18936
  * @param {Date} [createdDate]
18696
18937
  * @param {string} [languageCode]
18697
18938
  * @param {boolean} [showHidden]
18939
+ * @param {boolean} [returnDefaultValue]
18698
18940
  * @param {number} [page]
18699
18941
  * @param {number} [limit]
18700
18942
  * @param {Date} [lastRetrieved]
18701
18943
  * @param {*} [options] Override http request option.
18702
18944
  * @throws {RequiredError}
18703
18945
  */
18704
- apiV1CountriesGet(id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<CountriesModel> {
18705
- return localVarFp.apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
18946
+ apiV1CountriesGet(id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<CountriesModel> {
18947
+ return localVarFp.apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
18706
18948
  },
18707
18949
  /**
18708
18950
  *
@@ -18719,11 +18961,12 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
18719
18961
  * @summary Get country by slug.
18720
18962
  * @param {string} slug
18721
18963
  * @param {string} [languageCode]
18964
+ * @param {boolean} [returnDefaultValue]
18722
18965
  * @param {*} [options] Override http request option.
18723
18966
  * @throws {RequiredError}
18724
18967
  */
18725
- apiV1CountriesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<CountryModel> {
18726
- return localVarFp.apiV1CountriesSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
18968
+ apiV1CountriesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<CountryModel> {
18969
+ return localVarFp.apiV1CountriesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
18727
18970
  },
18728
18971
  };
18729
18972
  };
@@ -18752,12 +18995,13 @@ export class CountriesApi extends BaseAPI {
18752
18995
  * @summary Get country.
18753
18996
  * @param {string} countryId
18754
18997
  * @param {string} [languageCode]
18998
+ * @param {boolean} [returnDefaultValue]
18755
18999
  * @param {*} [options] Override http request option.
18756
19000
  * @throws {RequiredError}
18757
19001
  * @memberof CountriesApi
18758
19002
  */
18759
- public apiV1CountriesCountryIdGet(countryId: string, languageCode?: string, options?: AxiosRequestConfig) {
18760
- return CountriesApiFp(this.configuration).apiV1CountriesCountryIdGet(countryId, languageCode, options).then((request) => request(this.axios, this.basePath));
19003
+ public apiV1CountriesCountryIdGet(countryId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
19004
+ return CountriesApiFp(this.configuration).apiV1CountriesCountryIdGet(countryId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
18761
19005
  }
18762
19006
 
18763
19007
  /**
@@ -18864,6 +19108,7 @@ export class CountriesApi extends BaseAPI {
18864
19108
  * @param {Date} [createdDate]
18865
19109
  * @param {string} [languageCode]
18866
19110
  * @param {boolean} [showHidden]
19111
+ * @param {boolean} [returnDefaultValue]
18867
19112
  * @param {number} [page]
18868
19113
  * @param {number} [limit]
18869
19114
  * @param {Date} [lastRetrieved]
@@ -18871,8 +19116,8 @@ export class CountriesApi extends BaseAPI {
18871
19116
  * @throws {RequiredError}
18872
19117
  * @memberof CountriesApi
18873
19118
  */
18874
- public apiV1CountriesGet(id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
18875
- return CountriesApiFp(this.configuration).apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
19119
+ public apiV1CountriesGet(id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
19120
+ return CountriesApiFp(this.configuration).apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
18876
19121
  }
18877
19122
 
18878
19123
  /**
@@ -18892,12 +19137,13 @@ export class CountriesApi extends BaseAPI {
18892
19137
  * @summary Get country by slug.
18893
19138
  * @param {string} slug
18894
19139
  * @param {string} [languageCode]
19140
+ * @param {boolean} [returnDefaultValue]
18895
19141
  * @param {*} [options] Override http request option.
18896
19142
  * @throws {RequiredError}
18897
19143
  * @memberof CountriesApi
18898
19144
  */
18899
- public apiV1CountriesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
18900
- return CountriesApiFp(this.configuration).apiV1CountriesSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
19145
+ public apiV1CountriesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
19146
+ return CountriesApiFp(this.configuration).apiV1CountriesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
18901
19147
  }
18902
19148
  }
18903
19149
 
@@ -21104,10 +21350,11 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
21104
21350
  * @summary Get Doctor.
21105
21351
  * @param {string} doctorId
21106
21352
  * @param {string} [languageCode]
21353
+ * @param {boolean} [returnDefaultValue]
21107
21354
  * @param {*} [options] Override http request option.
21108
21355
  * @throws {RequiredError}
21109
21356
  */
21110
- apiV1DoctorsDoctorIdGet: async (doctorId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
21357
+ apiV1DoctorsDoctorIdGet: async (doctorId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
21111
21358
  // verify required parameter 'doctorId' is not null or undefined
21112
21359
  assertParamExists('apiV1DoctorsDoctorIdGet', 'doctorId', doctorId)
21113
21360
  const localVarPath = `/api/v1/doctors/{doctorId}`
@@ -21131,6 +21378,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
21131
21378
  localVarQueryParameter['languageCode'] = languageCode;
21132
21379
  }
21133
21380
 
21381
+ if (returnDefaultValue !== undefined) {
21382
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
21383
+ }
21384
+
21134
21385
 
21135
21386
 
21136
21387
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -21910,6 +22161,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
21910
22161
  * @summary Get all Doctors.
21911
22162
  * @param {string} [hospitalId]
21912
22163
  * @param {string} [languageCode]
22164
+ * @param {boolean} [returnDefaultValue]
21913
22165
  * @param {string} [id]
21914
22166
  * @param {string} [fullname]
21915
22167
  * @param {string} [email]
@@ -21923,7 +22175,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
21923
22175
  * @param {*} [options] Override http request option.
21924
22176
  * @throws {RequiredError}
21925
22177
  */
21926
- apiV1DoctorsGet: async (hospitalId?: string, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
22178
+ apiV1DoctorsGet: async (hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
21927
22179
  const localVarPath = `/api/v1/doctors`;
21928
22180
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
21929
22181
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -21948,6 +22200,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
21948
22200
  localVarQueryParameter['LanguageCode'] = languageCode;
21949
22201
  }
21950
22202
 
22203
+ if (returnDefaultValue !== undefined) {
22204
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
22205
+ }
22206
+
21951
22207
  if (id !== undefined) {
21952
22208
  localVarQueryParameter['Id'] = id;
21953
22209
  }
@@ -22048,10 +22304,11 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
22048
22304
  * @summary Get Doctor by slug.
22049
22305
  * @param {string} slug
22050
22306
  * @param {string} [languageCode]
22307
+ * @param {boolean} [returnDefaultValue]
22051
22308
  * @param {*} [options] Override http request option.
22052
22309
  * @throws {RequiredError}
22053
22310
  */
22054
- apiV1DoctorsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
22311
+ apiV1DoctorsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
22055
22312
  // verify required parameter 'slug' is not null or undefined
22056
22313
  assertParamExists('apiV1DoctorsSlugGet', 'slug', slug)
22057
22314
  const localVarPath = `/api/v1/doctors/{slug}`
@@ -22075,6 +22332,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
22075
22332
  localVarQueryParameter['languageCode'] = languageCode;
22076
22333
  }
22077
22334
 
22335
+ if (returnDefaultValue !== undefined) {
22336
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
22337
+ }
22338
+
22078
22339
 
22079
22340
 
22080
22341
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -22298,11 +22559,12 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
22298
22559
  * @summary Get Doctor.
22299
22560
  * @param {string} doctorId
22300
22561
  * @param {string} [languageCode]
22562
+ * @param {boolean} [returnDefaultValue]
22301
22563
  * @param {*} [options] Override http request option.
22302
22564
  * @throws {RequiredError}
22303
22565
  */
22304
- async apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
22305
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options);
22566
+ async apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
22567
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options);
22306
22568
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22307
22569
  },
22308
22570
  /**
@@ -22519,6 +22781,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
22519
22781
  * @summary Get all Doctors.
22520
22782
  * @param {string} [hospitalId]
22521
22783
  * @param {string} [languageCode]
22784
+ * @param {boolean} [returnDefaultValue]
22522
22785
  * @param {string} [id]
22523
22786
  * @param {string} [fullname]
22524
22787
  * @param {string} [email]
@@ -22532,8 +22795,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
22532
22795
  * @param {*} [options] Override http request option.
22533
22796
  * @throws {RequiredError}
22534
22797
  */
22535
- async apiV1DoctorsGet(hospitalId?: string, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsModel>> {
22536
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
22798
+ async apiV1DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsModel>> {
22799
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
22537
22800
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22538
22801
  },
22539
22802
  /**
@@ -22552,11 +22815,12 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
22552
22815
  * @summary Get Doctor by slug.
22553
22816
  * @param {string} slug
22554
22817
  * @param {string} [languageCode]
22818
+ * @param {boolean} [returnDefaultValue]
22555
22819
  * @param {*} [options] Override http request option.
22556
22820
  * @throws {RequiredError}
22557
22821
  */
22558
- async apiV1DoctorsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
22559
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsSlugGet(slug, languageCode, options);
22822
+ async apiV1DoctorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
22823
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options);
22560
22824
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22561
22825
  },
22562
22826
  }
@@ -22756,11 +23020,12 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
22756
23020
  * @summary Get Doctor.
22757
23021
  * @param {string} doctorId
22758
23022
  * @param {string} [languageCode]
23023
+ * @param {boolean} [returnDefaultValue]
22759
23024
  * @param {*} [options] Override http request option.
22760
23025
  * @throws {RequiredError}
22761
23026
  */
22762
- apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, options?: any): AxiosPromise<DoctorModel> {
22763
- return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then((request) => request(axios, basePath));
23027
+ apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DoctorModel> {
23028
+ return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
22764
23029
  },
22765
23030
  /**
22766
23031
  *
@@ -22960,6 +23225,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
22960
23225
  * @summary Get all Doctors.
22961
23226
  * @param {string} [hospitalId]
22962
23227
  * @param {string} [languageCode]
23228
+ * @param {boolean} [returnDefaultValue]
22963
23229
  * @param {string} [id]
22964
23230
  * @param {string} [fullname]
22965
23231
  * @param {string} [email]
@@ -22973,8 +23239,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
22973
23239
  * @param {*} [options] Override http request option.
22974
23240
  * @throws {RequiredError}
22975
23241
  */
22976
- apiV1DoctorsGet(hospitalId?: string, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
22977
- return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
23242
+ apiV1DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
23243
+ return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
22978
23244
  },
22979
23245
  /**
22980
23246
  *
@@ -22991,11 +23257,12 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
22991
23257
  * @summary Get Doctor by slug.
22992
23258
  * @param {string} slug
22993
23259
  * @param {string} [languageCode]
23260
+ * @param {boolean} [returnDefaultValue]
22994
23261
  * @param {*} [options] Override http request option.
22995
23262
  * @throws {RequiredError}
22996
23263
  */
22997
- apiV1DoctorsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<DoctorModel> {
22998
- return localVarFp.apiV1DoctorsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
23264
+ apiV1DoctorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DoctorModel> {
23265
+ return localVarFp.apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
22999
23266
  },
23000
23267
  };
23001
23268
  };
@@ -23224,12 +23491,13 @@ export class DoctorsApi extends BaseAPI {
23224
23491
  * @summary Get Doctor.
23225
23492
  * @param {string} doctorId
23226
23493
  * @param {string} [languageCode]
23494
+ * @param {boolean} [returnDefaultValue]
23227
23495
  * @param {*} [options] Override http request option.
23228
23496
  * @throws {RequiredError}
23229
23497
  * @memberof DoctorsApi
23230
23498
  */
23231
- public apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, options?: AxiosRequestConfig) {
23232
- return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then((request) => request(this.axios, this.basePath));
23499
+ public apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
23500
+ return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
23233
23501
  }
23234
23502
 
23235
23503
  /**
@@ -23462,6 +23730,7 @@ export class DoctorsApi extends BaseAPI {
23462
23730
  * @summary Get all Doctors.
23463
23731
  * @param {string} [hospitalId]
23464
23732
  * @param {string} [languageCode]
23733
+ * @param {boolean} [returnDefaultValue]
23465
23734
  * @param {string} [id]
23466
23735
  * @param {string} [fullname]
23467
23736
  * @param {string} [email]
@@ -23476,8 +23745,8 @@ export class DoctorsApi extends BaseAPI {
23476
23745
  * @throws {RequiredError}
23477
23746
  * @memberof DoctorsApi
23478
23747
  */
23479
- public apiV1DoctorsGet(hospitalId?: string, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
23480
- return DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
23748
+ public apiV1DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
23749
+ return DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
23481
23750
  }
23482
23751
 
23483
23752
  /**
@@ -23497,12 +23766,13 @@ export class DoctorsApi extends BaseAPI {
23497
23766
  * @summary Get Doctor by slug.
23498
23767
  * @param {string} slug
23499
23768
  * @param {string} [languageCode]
23769
+ * @param {boolean} [returnDefaultValue]
23500
23770
  * @param {*} [options] Override http request option.
23501
23771
  * @throws {RequiredError}
23502
23772
  * @memberof DoctorsApi
23503
23773
  */
23504
- public apiV1DoctorsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
23505
- return DoctorsApiFp(this.configuration).apiV1DoctorsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
23774
+ public apiV1DoctorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
23775
+ return DoctorsApiFp(this.configuration).apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
23506
23776
  }
23507
23777
  }
23508
23778
 
@@ -25010,14 +25280,17 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
25010
25280
  * @param {string} [title]
25011
25281
  * @param {string} [content]
25012
25282
  * @param {string} [categoryId]
25283
+ * @param {string} [hospitalId]
25284
+ * @param {string} [hospitalName]
25013
25285
  * @param {string} [languageCode]
25286
+ * @param {boolean} [showHidden]
25014
25287
  * @param {number} [page]
25015
25288
  * @param {number} [limit]
25016
25289
  * @param {Date} [lastRetrieved]
25017
25290
  * @param {*} [options] Override http request option.
25018
25291
  * @throws {RequiredError}
25019
25292
  */
25020
- apiV1FaqsGet: async (id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25293
+ apiV1FaqsGet: async (id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25021
25294
  const localVarPath = `/api/v1/faqs`;
25022
25295
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25023
25296
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -25050,10 +25323,22 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
25050
25323
  localVarQueryParameter['CategoryId'] = categoryId;
25051
25324
  }
25052
25325
 
25326
+ if (hospitalId !== undefined) {
25327
+ localVarQueryParameter['HospitalId'] = hospitalId;
25328
+ }
25329
+
25330
+ if (hospitalName !== undefined) {
25331
+ localVarQueryParameter['HospitalName'] = hospitalName;
25332
+ }
25333
+
25053
25334
  if (languageCode !== undefined) {
25054
25335
  localVarQueryParameter['LanguageCode'] = languageCode;
25055
25336
  }
25056
25337
 
25338
+ if (showHidden !== undefined) {
25339
+ localVarQueryParameter['ShowHidden'] = showHidden;
25340
+ }
25341
+
25057
25342
  if (page !== undefined) {
25058
25343
  localVarQueryParameter['page'] = page;
25059
25344
  }
@@ -25277,15 +25562,18 @@ export const FaqsApiFp = function(configuration?: Configuration) {
25277
25562
  * @param {string} [title]
25278
25563
  * @param {string} [content]
25279
25564
  * @param {string} [categoryId]
25565
+ * @param {string} [hospitalId]
25566
+ * @param {string} [hospitalName]
25280
25567
  * @param {string} [languageCode]
25568
+ * @param {boolean} [showHidden]
25281
25569
  * @param {number} [page]
25282
25570
  * @param {number} [limit]
25283
25571
  * @param {Date} [lastRetrieved]
25284
25572
  * @param {*} [options] Override http request option.
25285
25573
  * @throws {RequiredError}
25286
25574
  */
25287
- async apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqsModel>> {
25288
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options);
25575
+ async apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqsModel>> {
25576
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options);
25289
25577
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25290
25578
  },
25291
25579
  /**
@@ -25420,15 +25708,18 @@ export const FaqsApiFactory = function (configuration?: Configuration, basePath?
25420
25708
  * @param {string} [title]
25421
25709
  * @param {string} [content]
25422
25710
  * @param {string} [categoryId]
25711
+ * @param {string} [hospitalId]
25712
+ * @param {string} [hospitalName]
25423
25713
  * @param {string} [languageCode]
25714
+ * @param {boolean} [showHidden]
25424
25715
  * @param {number} [page]
25425
25716
  * @param {number} [limit]
25426
25717
  * @param {Date} [lastRetrieved]
25427
25718
  * @param {*} [options] Override http request option.
25428
25719
  * @throws {RequiredError}
25429
25720
  */
25430
- apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqsModel> {
25431
- return localVarFp.apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
25721
+ apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqsModel> {
25722
+ return localVarFp.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
25432
25723
  },
25433
25724
  /**
25434
25725
  *
@@ -25576,7 +25867,10 @@ export class FaqsApi extends BaseAPI {
25576
25867
  * @param {string} [title]
25577
25868
  * @param {string} [content]
25578
25869
  * @param {string} [categoryId]
25870
+ * @param {string} [hospitalId]
25871
+ * @param {string} [hospitalName]
25579
25872
  * @param {string} [languageCode]
25873
+ * @param {boolean} [showHidden]
25580
25874
  * @param {number} [page]
25581
25875
  * @param {number} [limit]
25582
25876
  * @param {Date} [lastRetrieved]
@@ -25584,8 +25878,8 @@ export class FaqsApi extends BaseAPI {
25584
25878
  * @throws {RequiredError}
25585
25879
  * @memberof FaqsApi
25586
25880
  */
25587
- public apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
25588
- return FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
25881
+ public apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
25882
+ return FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
25589
25883
  }
25590
25884
 
25591
25885
  /**
@@ -25637,13 +25931,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
25637
25931
  * @param {boolean} [showHidden]
25638
25932
  * @param {string} [languageCode]
25639
25933
  * @param {Array<string>} [ids]
25934
+ * @param {boolean} [returnDefaultValue]
25640
25935
  * @param {number} [page]
25641
25936
  * @param {number} [limit]
25642
25937
  * @param {Date} [lastRetrieved]
25643
25938
  * @param {*} [options] Override http request option.
25644
25939
  * @throws {RequiredError}
25645
25940
  */
25646
- apiV1HospitalsGet: async (hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25941
+ apiV1HospitalsGet: async (hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25647
25942
  const localVarPath = `/api/v1/hospitals`;
25648
25943
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25649
25944
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -25714,6 +26009,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
25714
26009
  localVarQueryParameter['Ids'] = ids;
25715
26010
  }
25716
26011
 
26012
+ if (returnDefaultValue !== undefined) {
26013
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
26014
+ }
26015
+
25717
26016
  if (page !== undefined) {
25718
26017
  localVarQueryParameter['page'] = page;
25719
26018
  }
@@ -26690,10 +26989,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
26690
26989
  * @summary Get Hospital.
26691
26990
  * @param {string} hospitalId
26692
26991
  * @param {string} [languageCode]
26992
+ * @param {boolean} [returnDefaultValue]
26693
26993
  * @param {*} [options] Override http request option.
26694
26994
  * @throws {RequiredError}
26695
26995
  */
26696
- apiV1HospitalsHospitalIdGet: async (hospitalId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26996
+ apiV1HospitalsHospitalIdGet: async (hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26697
26997
  // verify required parameter 'hospitalId' is not null or undefined
26698
26998
  assertParamExists('apiV1HospitalsHospitalIdGet', 'hospitalId', hospitalId)
26699
26999
  const localVarPath = `/api/v1/hospitals/{hospitalId}`
@@ -26717,6 +27017,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
26717
27017
  localVarQueryParameter['languageCode'] = languageCode;
26718
27018
  }
26719
27019
 
27020
+ if (returnDefaultValue !== undefined) {
27021
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
27022
+ }
27023
+
26720
27024
 
26721
27025
 
26722
27026
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -27289,13 +27593,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
27289
27593
  * @param {Procedure} [procedure]
27290
27594
  * @param {Date} [created]
27291
27595
  * @param {string} [languageCode]
27596
+ * @param {boolean} [returnDefaultValue]
27292
27597
  * @param {number} [page]
27293
27598
  * @param {number} [limit]
27294
27599
  * @param {Date} [lastRetrieved]
27295
27600
  * @param {*} [options] Override http request option.
27296
27601
  * @throws {RequiredError}
27297
27602
  */
27298
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: async (hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
27603
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: async (hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
27299
27604
  // verify required parameter 'hospitalId' is not null or undefined
27300
27605
  assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet', 'hospitalId', hospitalId)
27301
27606
  // verify required parameter 'specialtyId' is not null or undefined
@@ -27372,6 +27677,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
27372
27677
  localVarQueryParameter['LanguageCode'] = languageCode;
27373
27678
  }
27374
27679
 
27680
+ if (returnDefaultValue !== undefined) {
27681
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
27682
+ }
27683
+
27375
27684
  if (page !== undefined) {
27376
27685
  localVarQueryParameter['page'] = page;
27377
27686
  }
@@ -27496,10 +27805,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
27496
27805
  * @param {string} specialtyId
27497
27806
  * @param {string} serviceId
27498
27807
  * @param {string} [languageCode]
27808
+ * @param {boolean} [returnDefaultValue]
27499
27809
  * @param {*} [options] Override http request option.
27500
27810
  * @throws {RequiredError}
27501
27811
  */
27502
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: async (hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
27812
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: async (hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
27503
27813
  // verify required parameter 'hospitalId' is not null or undefined
27504
27814
  assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet', 'hospitalId', hospitalId)
27505
27815
  // verify required parameter 'specialtyId' is not null or undefined
@@ -27529,6 +27839,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
27529
27839
  localVarQueryParameter['languageCode'] = languageCode;
27530
27840
  }
27531
27841
 
27842
+ if (returnDefaultValue !== undefined) {
27843
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
27844
+ }
27845
+
27532
27846
 
27533
27847
 
27534
27848
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -27921,13 +28235,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
27921
28235
  * @param {boolean} [showHidden]
27922
28236
  * @param {string} [languageCode]
27923
28237
  * @param {Array<string>} [ids]
28238
+ * @param {boolean} [returnDefaultValue]
27924
28239
  * @param {number} [page]
27925
28240
  * @param {number} [limit]
27926
28241
  * @param {Date} [lastRetrieved]
27927
28242
  * @param {*} [options] Override http request option.
27928
28243
  * @throws {RequiredError}
27929
28244
  */
27930
- apiV1HospitalsSimpleGet: async (hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28245
+ apiV1HospitalsSimpleGet: async (hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
27931
28246
  const localVarPath = `/api/v1/hospitals/simple`;
27932
28247
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
27933
28248
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -27998,6 +28313,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
27998
28313
  localVarQueryParameter['Ids'] = ids;
27999
28314
  }
28000
28315
 
28316
+ if (returnDefaultValue !== undefined) {
28317
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
28318
+ }
28319
+
28001
28320
  if (page !== undefined) {
28002
28321
  localVarQueryParameter['page'] = page;
28003
28322
  }
@@ -28028,10 +28347,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
28028
28347
  * @summary Get Hospital by slug.
28029
28348
  * @param {string} slug
28030
28349
  * @param {string} [languageCode]
28350
+ * @param {boolean} [returnDefaultValue]
28031
28351
  * @param {*} [options] Override http request option.
28032
28352
  * @throws {RequiredError}
28033
28353
  */
28034
- apiV1HospitalsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28354
+ apiV1HospitalsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28035
28355
  // verify required parameter 'slug' is not null or undefined
28036
28356
  assertParamExists('apiV1HospitalsSlugGet', 'slug', slug)
28037
28357
  const localVarPath = `/api/v1/hospitals/{slug}`
@@ -28055,6 +28375,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
28055
28375
  localVarQueryParameter['languageCode'] = languageCode;
28056
28376
  }
28057
28377
 
28378
+ if (returnDefaultValue !== undefined) {
28379
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
28380
+ }
28381
+
28058
28382
 
28059
28383
 
28060
28384
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -28092,14 +28416,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
28092
28416
  * @param {boolean} [showHidden]
28093
28417
  * @param {string} [languageCode]
28094
28418
  * @param {Array<string>} [ids]
28419
+ * @param {boolean} [returnDefaultValue]
28095
28420
  * @param {number} [page]
28096
28421
  * @param {number} [limit]
28097
28422
  * @param {Date} [lastRetrieved]
28098
28423
  * @param {*} [options] Override http request option.
28099
28424
  * @throws {RequiredError}
28100
28425
  */
28101
- async apiV1HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
28102
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options);
28426
+ async apiV1HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
28427
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
28103
28428
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28104
28429
  },
28105
28430
  /**
@@ -28363,11 +28688,12 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
28363
28688
  * @summary Get Hospital.
28364
28689
  * @param {string} hospitalId
28365
28690
  * @param {string} [languageCode]
28691
+ * @param {boolean} [returnDefaultValue]
28366
28692
  * @param {*} [options] Override http request option.
28367
28693
  * @throws {RequiredError}
28368
28694
  */
28369
- async apiV1HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalModel>> {
28370
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, options);
28695
+ async apiV1HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalModel>> {
28696
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options);
28371
28697
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28372
28698
  },
28373
28699
  /**
@@ -28535,14 +28861,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
28535
28861
  * @param {Procedure} [procedure]
28536
28862
  * @param {Date} [created]
28537
28863
  * @param {string} [languageCode]
28864
+ * @param {boolean} [returnDefaultValue]
28538
28865
  * @param {number} [page]
28539
28866
  * @param {number} [limit]
28540
28867
  * @param {Date} [lastRetrieved]
28541
28868
  * @param {*} [options] Override http request option.
28542
28869
  * @throws {RequiredError}
28543
28870
  */
28544
- async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServicesModel>> {
28545
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options);
28871
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServicesModel>> {
28872
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
28546
28873
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28547
28874
  },
28548
28875
  /**
@@ -28578,11 +28905,12 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
28578
28905
  * @param {string} specialtyId
28579
28906
  * @param {string} serviceId
28580
28907
  * @param {string} [languageCode]
28908
+ * @param {boolean} [returnDefaultValue]
28581
28909
  * @param {*} [options] Override http request option.
28582
28910
  * @throws {RequiredError}
28583
28911
  */
28584
- async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
28585
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options);
28912
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
28913
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options);
28586
28914
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28587
28915
  },
28588
28916
  /**
@@ -28701,14 +29029,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
28701
29029
  * @param {boolean} [showHidden]
28702
29030
  * @param {string} [languageCode]
28703
29031
  * @param {Array<string>} [ids]
29032
+ * @param {boolean} [returnDefaultValue]
28704
29033
  * @param {number} [page]
28705
29034
  * @param {number} [limit]
28706
29035
  * @param {Date} [lastRetrieved]
28707
29036
  * @param {*} [options] Override http request option.
28708
29037
  * @throws {RequiredError}
28709
29038
  */
28710
- async apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
28711
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options);
29039
+ async apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
29040
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
28712
29041
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28713
29042
  },
28714
29043
  /**
@@ -28716,11 +29045,12 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
28716
29045
  * @summary Get Hospital by slug.
28717
29046
  * @param {string} slug
28718
29047
  * @param {string} [languageCode]
29048
+ * @param {boolean} [returnDefaultValue]
28719
29049
  * @param {*} [options] Override http request option.
28720
29050
  * @throws {RequiredError}
28721
29051
  */
28722
- async apiV1HospitalsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalModel>> {
28723
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSlugGet(slug, languageCode, options);
29052
+ async apiV1HospitalsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalModel>> {
29053
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSlugGet(slug, languageCode, returnDefaultValue, options);
28724
29054
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28725
29055
  },
28726
29056
  }
@@ -28749,14 +29079,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
28749
29079
  * @param {boolean} [showHidden]
28750
29080
  * @param {string} [languageCode]
28751
29081
  * @param {Array<string>} [ids]
29082
+ * @param {boolean} [returnDefaultValue]
28752
29083
  * @param {number} [page]
28753
29084
  * @param {number} [limit]
28754
29085
  * @param {Date} [lastRetrieved]
28755
29086
  * @param {*} [options] Override http request option.
28756
29087
  * @throws {RequiredError}
28757
29088
  */
28758
- apiV1HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
28759
- return localVarFp.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
29089
+ apiV1HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
29090
+ return localVarFp.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
28760
29091
  },
28761
29092
  /**
28762
29093
  *
@@ -29000,11 +29331,12 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
29000
29331
  * @summary Get Hospital.
29001
29332
  * @param {string} hospitalId
29002
29333
  * @param {string} [languageCode]
29334
+ * @param {boolean} [returnDefaultValue]
29003
29335
  * @param {*} [options] Override http request option.
29004
29336
  * @throws {RequiredError}
29005
29337
  */
29006
- apiV1HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, options?: any): AxiosPromise<HospitalModel> {
29007
- return localVarFp.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, options).then((request) => request(axios, basePath));
29338
+ apiV1HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalModel> {
29339
+ return localVarFp.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
29008
29340
  },
29009
29341
  /**
29010
29342
  *
@@ -29160,14 +29492,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
29160
29492
  * @param {Procedure} [procedure]
29161
29493
  * @param {Date} [created]
29162
29494
  * @param {string} [languageCode]
29495
+ * @param {boolean} [returnDefaultValue]
29163
29496
  * @param {number} [page]
29164
29497
  * @param {number} [limit]
29165
29498
  * @param {Date} [lastRetrieved]
29166
29499
  * @param {*} [options] Override http request option.
29167
29500
  * @throws {RequiredError}
29168
29501
  */
29169
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel> {
29170
- return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
29502
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel> {
29503
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
29171
29504
  },
29172
29505
  /**
29173
29506
  *
@@ -29200,11 +29533,12 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
29200
29533
  * @param {string} specialtyId
29201
29534
  * @param {string} serviceId
29202
29535
  * @param {string} [languageCode]
29536
+ * @param {boolean} [returnDefaultValue]
29203
29537
  * @param {*} [options] Override http request option.
29204
29538
  * @throws {RequiredError}
29205
29539
  */
29206
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, options?: any): AxiosPromise<HospitalServiceModel> {
29207
- return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options).then((request) => request(axios, basePath));
29540
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalServiceModel> {
29541
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
29208
29542
  },
29209
29543
  /**
29210
29544
  *
@@ -29315,25 +29649,27 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
29315
29649
  * @param {boolean} [showHidden]
29316
29650
  * @param {string} [languageCode]
29317
29651
  * @param {Array<string>} [ids]
29652
+ * @param {boolean} [returnDefaultValue]
29318
29653
  * @param {number} [page]
29319
29654
  * @param {number} [limit]
29320
29655
  * @param {Date} [lastRetrieved]
29321
29656
  * @param {*} [options] Override http request option.
29322
29657
  * @throws {RequiredError}
29323
29658
  */
29324
- apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
29325
- return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
29659
+ apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
29660
+ return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
29326
29661
  },
29327
29662
  /**
29328
29663
  *
29329
29664
  * @summary Get Hospital by slug.
29330
29665
  * @param {string} slug
29331
29666
  * @param {string} [languageCode]
29667
+ * @param {boolean} [returnDefaultValue]
29332
29668
  * @param {*} [options] Override http request option.
29333
29669
  * @throws {RequiredError}
29334
29670
  */
29335
- apiV1HospitalsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<HospitalModel> {
29336
- return localVarFp.apiV1HospitalsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
29671
+ apiV1HospitalsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalModel> {
29672
+ return localVarFp.apiV1HospitalsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
29337
29673
  },
29338
29674
  };
29339
29675
  };
@@ -29361,6 +29697,7 @@ export class HospitalsApi extends BaseAPI {
29361
29697
  * @param {boolean} [showHidden]
29362
29698
  * @param {string} [languageCode]
29363
29699
  * @param {Array<string>} [ids]
29700
+ * @param {boolean} [returnDefaultValue]
29364
29701
  * @param {number} [page]
29365
29702
  * @param {number} [limit]
29366
29703
  * @param {Date} [lastRetrieved]
@@ -29368,8 +29705,8 @@ export class HospitalsApi extends BaseAPI {
29368
29705
  * @throws {RequiredError}
29369
29706
  * @memberof HospitalsApi
29370
29707
  */
29371
- public apiV1HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
29372
- return HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
29708
+ public apiV1HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
29709
+ return HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
29373
29710
  }
29374
29711
 
29375
29712
  /**
@@ -29652,12 +29989,13 @@ export class HospitalsApi extends BaseAPI {
29652
29989
  * @summary Get Hospital.
29653
29990
  * @param {string} hospitalId
29654
29991
  * @param {string} [languageCode]
29992
+ * @param {boolean} [returnDefaultValue]
29655
29993
  * @param {*} [options] Override http request option.
29656
29994
  * @throws {RequiredError}
29657
29995
  * @memberof HospitalsApi
29658
29996
  */
29659
- public apiV1HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, options?: AxiosRequestConfig) {
29660
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdGet(hospitalId, languageCode, options).then((request) => request(this.axios, this.basePath));
29997
+ public apiV1HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
29998
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
29661
29999
  }
29662
30000
 
29663
30001
  /**
@@ -29836,6 +30174,7 @@ export class HospitalsApi extends BaseAPI {
29836
30174
  * @param {Procedure} [procedure]
29837
30175
  * @param {Date} [created]
29838
30176
  * @param {string} [languageCode]
30177
+ * @param {boolean} [returnDefaultValue]
29839
30178
  * @param {number} [page]
29840
30179
  * @param {number} [limit]
29841
30180
  * @param {Date} [lastRetrieved]
@@ -29843,8 +30182,8 @@ export class HospitalsApi extends BaseAPI {
29843
30182
  * @throws {RequiredError}
29844
30183
  * @memberof HospitalsApi
29845
30184
  */
29846
- public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
29847
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
30185
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
30186
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
29848
30187
  }
29849
30188
 
29850
30189
  /**
@@ -29882,12 +30221,13 @@ export class HospitalsApi extends BaseAPI {
29882
30221
  * @param {string} specialtyId
29883
30222
  * @param {string} serviceId
29884
30223
  * @param {string} [languageCode]
30224
+ * @param {boolean} [returnDefaultValue]
29885
30225
  * @param {*} [options] Override http request option.
29886
30226
  * @throws {RequiredError}
29887
30227
  * @memberof HospitalsApi
29888
30228
  */
29889
- public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig) {
29890
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options).then((request) => request(this.axios, this.basePath));
30229
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
30230
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
29891
30231
  }
29892
30232
 
29893
30233
  /**
@@ -30013,6 +30353,7 @@ export class HospitalsApi extends BaseAPI {
30013
30353
  * @param {boolean} [showHidden]
30014
30354
  * @param {string} [languageCode]
30015
30355
  * @param {Array<string>} [ids]
30356
+ * @param {boolean} [returnDefaultValue]
30016
30357
  * @param {number} [page]
30017
30358
  * @param {number} [limit]
30018
30359
  * @param {Date} [lastRetrieved]
@@ -30020,8 +30361,8 @@ export class HospitalsApi extends BaseAPI {
30020
30361
  * @throws {RequiredError}
30021
30362
  * @memberof HospitalsApi
30022
30363
  */
30023
- public apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
30024
- return HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
30364
+ public apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
30365
+ return HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
30025
30366
  }
30026
30367
 
30027
30368
  /**
@@ -30029,12 +30370,13 @@ export class HospitalsApi extends BaseAPI {
30029
30370
  * @summary Get Hospital by slug.
30030
30371
  * @param {string} slug
30031
30372
  * @param {string} [languageCode]
30373
+ * @param {boolean} [returnDefaultValue]
30032
30374
  * @param {*} [options] Override http request option.
30033
30375
  * @throws {RequiredError}
30034
30376
  * @memberof HospitalsApi
30035
30377
  */
30036
- public apiV1HospitalsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
30037
- return HospitalsApiFp(this.configuration).apiV1HospitalsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
30378
+ public apiV1HospitalsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
30379
+ return HospitalsApiFp(this.configuration).apiV1HospitalsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
30038
30380
  }
30039
30381
  }
30040
30382
 
@@ -33583,13 +33925,14 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
33583
33925
  * @param {Procedure} [procedure]
33584
33926
  * @param {Date} [created]
33585
33927
  * @param {string} [languageCode]
33928
+ * @param {boolean} [returnDefaultValue]
33586
33929
  * @param {number} [page]
33587
33930
  * @param {number} [limit]
33588
33931
  * @param {Date} [lastRetrieved]
33589
33932
  * @param {*} [options] Override http request option.
33590
33933
  * @throws {RequiredError}
33591
33934
  */
33592
- apiV1ServicesGet: async (hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33935
+ apiV1ServicesGet: async (hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33593
33936
  const localVarPath = `/api/v1/services`;
33594
33937
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
33595
33938
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -33668,6 +34011,10 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
33668
34011
  localVarQueryParameter['LanguageCode'] = languageCode;
33669
34012
  }
33670
34013
 
34014
+ if (returnDefaultValue !== undefined) {
34015
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
34016
+ }
34017
+
33671
34018
  if (page !== undefined) {
33672
34019
  localVarQueryParameter['page'] = page;
33673
34020
  }
@@ -33698,10 +34045,11 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
33698
34045
  * @summary Get HospitalService.
33699
34046
  * @param {string} serviceId
33700
34047
  * @param {string} [languageCode]
34048
+ * @param {boolean} [returnDefaultValue]
33701
34049
  * @param {*} [options] Override http request option.
33702
34050
  * @throws {RequiredError}
33703
34051
  */
33704
- apiV1ServicesServiceIdGet: async (serviceId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34052
+ apiV1ServicesServiceIdGet: async (serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33705
34053
  // verify required parameter 'serviceId' is not null or undefined
33706
34054
  assertParamExists('apiV1ServicesServiceIdGet', 'serviceId', serviceId)
33707
34055
  const localVarPath = `/api/v1/services/{serviceId}`
@@ -33725,6 +34073,10 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
33725
34073
  localVarQueryParameter['languageCode'] = languageCode;
33726
34074
  }
33727
34075
 
34076
+ if (returnDefaultValue !== undefined) {
34077
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
34078
+ }
34079
+
33728
34080
 
33729
34081
 
33730
34082
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -33741,10 +34093,11 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
33741
34093
  * @summary Get HospitalService by slug.
33742
34094
  * @param {string} slug
33743
34095
  * @param {string} [languageCode]
34096
+ * @param {boolean} [returnDefaultValue]
33744
34097
  * @param {*} [options] Override http request option.
33745
34098
  * @throws {RequiredError}
33746
34099
  */
33747
- apiV1ServicesSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34100
+ apiV1ServicesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33748
34101
  // verify required parameter 'slug' is not null or undefined
33749
34102
  assertParamExists('apiV1ServicesSlugGet', 'slug', slug)
33750
34103
  const localVarPath = `/api/v1/services/{slug}`
@@ -33768,6 +34121,10 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
33768
34121
  localVarQueryParameter['languageCode'] = languageCode;
33769
34122
  }
33770
34123
 
34124
+ if (returnDefaultValue !== undefined) {
34125
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
34126
+ }
34127
+
33771
34128
 
33772
34129
 
33773
34130
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -33807,14 +34164,15 @@ export const ServicesApiFp = function(configuration?: Configuration) {
33807
34164
  * @param {Procedure} [procedure]
33808
34165
  * @param {Date} [created]
33809
34166
  * @param {string} [languageCode]
34167
+ * @param {boolean} [returnDefaultValue]
33810
34168
  * @param {number} [page]
33811
34169
  * @param {number} [limit]
33812
34170
  * @param {Date} [lastRetrieved]
33813
34171
  * @param {*} [options] Override http request option.
33814
34172
  * @throws {RequiredError}
33815
34173
  */
33816
- async apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServicesModel>> {
33817
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options);
34174
+ async apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServicesModel>> {
34175
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
33818
34176
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33819
34177
  },
33820
34178
  /**
@@ -33822,11 +34180,12 @@ export const ServicesApiFp = function(configuration?: Configuration) {
33822
34180
  * @summary Get HospitalService.
33823
34181
  * @param {string} serviceId
33824
34182
  * @param {string} [languageCode]
34183
+ * @param {boolean} [returnDefaultValue]
33825
34184
  * @param {*} [options] Override http request option.
33826
34185
  * @throws {RequiredError}
33827
34186
  */
33828
- async apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
33829
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesServiceIdGet(serviceId, languageCode, options);
34187
+ async apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
34188
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options);
33830
34189
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33831
34190
  },
33832
34191
  /**
@@ -33834,11 +34193,12 @@ export const ServicesApiFp = function(configuration?: Configuration) {
33834
34193
  * @summary Get HospitalService by slug.
33835
34194
  * @param {string} slug
33836
34195
  * @param {string} [languageCode]
34196
+ * @param {boolean} [returnDefaultValue]
33837
34197
  * @param {*} [options] Override http request option.
33838
34198
  * @throws {RequiredError}
33839
34199
  */
33840
- async apiV1ServicesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
33841
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesSlugGet(slug, languageCode, options);
34200
+ async apiV1ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
34201
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesSlugGet(slug, languageCode, returnDefaultValue, options);
33842
34202
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33843
34203
  },
33844
34204
  }
@@ -33869,36 +34229,39 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
33869
34229
  * @param {Procedure} [procedure]
33870
34230
  * @param {Date} [created]
33871
34231
  * @param {string} [languageCode]
34232
+ * @param {boolean} [returnDefaultValue]
33872
34233
  * @param {number} [page]
33873
34234
  * @param {number} [limit]
33874
34235
  * @param {Date} [lastRetrieved]
33875
34236
  * @param {*} [options] Override http request option.
33876
34237
  * @throws {RequiredError}
33877
34238
  */
33878
- apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel> {
33879
- return localVarFp.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
34239
+ apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel> {
34240
+ return localVarFp.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
33880
34241
  },
33881
34242
  /**
33882
34243
  *
33883
34244
  * @summary Get HospitalService.
33884
34245
  * @param {string} serviceId
33885
34246
  * @param {string} [languageCode]
34247
+ * @param {boolean} [returnDefaultValue]
33886
34248
  * @param {*} [options] Override http request option.
33887
34249
  * @throws {RequiredError}
33888
34250
  */
33889
- apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, options?: any): AxiosPromise<HospitalServiceModel> {
33890
- return localVarFp.apiV1ServicesServiceIdGet(serviceId, languageCode, options).then((request) => request(axios, basePath));
34251
+ apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalServiceModel> {
34252
+ return localVarFp.apiV1ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
33891
34253
  },
33892
34254
  /**
33893
34255
  *
33894
34256
  * @summary Get HospitalService by slug.
33895
34257
  * @param {string} slug
33896
34258
  * @param {string} [languageCode]
34259
+ * @param {boolean} [returnDefaultValue]
33897
34260
  * @param {*} [options] Override http request option.
33898
34261
  * @throws {RequiredError}
33899
34262
  */
33900
- apiV1ServicesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<HospitalServiceModel> {
33901
- return localVarFp.apiV1ServicesSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
34263
+ apiV1ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalServiceModel> {
34264
+ return localVarFp.apiV1ServicesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
33902
34265
  },
33903
34266
  };
33904
34267
  };
@@ -33928,6 +34291,7 @@ export class ServicesApi extends BaseAPI {
33928
34291
  * @param {Procedure} [procedure]
33929
34292
  * @param {Date} [created]
33930
34293
  * @param {string} [languageCode]
34294
+ * @param {boolean} [returnDefaultValue]
33931
34295
  * @param {number} [page]
33932
34296
  * @param {number} [limit]
33933
34297
  * @param {Date} [lastRetrieved]
@@ -33935,8 +34299,8 @@ export class ServicesApi extends BaseAPI {
33935
34299
  * @throws {RequiredError}
33936
34300
  * @memberof ServicesApi
33937
34301
  */
33938
- public apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
33939
- return ServicesApiFp(this.configuration).apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
34302
+ public apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
34303
+ return ServicesApiFp(this.configuration).apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
33940
34304
  }
33941
34305
 
33942
34306
  /**
@@ -33944,12 +34308,13 @@ export class ServicesApi extends BaseAPI {
33944
34308
  * @summary Get HospitalService.
33945
34309
  * @param {string} serviceId
33946
34310
  * @param {string} [languageCode]
34311
+ * @param {boolean} [returnDefaultValue]
33947
34312
  * @param {*} [options] Override http request option.
33948
34313
  * @throws {RequiredError}
33949
34314
  * @memberof ServicesApi
33950
34315
  */
33951
- public apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, options?: AxiosRequestConfig) {
33952
- return ServicesApiFp(this.configuration).apiV1ServicesServiceIdGet(serviceId, languageCode, options).then((request) => request(this.axios, this.basePath));
34316
+ public apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
34317
+ return ServicesApiFp(this.configuration).apiV1ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
33953
34318
  }
33954
34319
 
33955
34320
  /**
@@ -33957,12 +34322,13 @@ export class ServicesApi extends BaseAPI {
33957
34322
  * @summary Get HospitalService by slug.
33958
34323
  * @param {string} slug
33959
34324
  * @param {string} [languageCode]
34325
+ * @param {boolean} [returnDefaultValue]
33960
34326
  * @param {*} [options] Override http request option.
33961
34327
  * @throws {RequiredError}
33962
34328
  * @memberof ServicesApi
33963
34329
  */
33964
- public apiV1ServicesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
33965
- return ServicesApiFp(this.configuration).apiV1ServicesSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
34330
+ public apiV1ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
34331
+ return ServicesApiFp(this.configuration).apiV1ServicesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
33966
34332
  }
33967
34333
  }
33968
34334
 
@@ -34439,13 +34805,14 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
34439
34805
  * @param {Date} [created]
34440
34806
  * @param {string} [languageCode]
34441
34807
  * @param {Array<string>} [ids]
34808
+ * @param {boolean} [returnDefaultValue]
34442
34809
  * @param {number} [page]
34443
34810
  * @param {number} [limit]
34444
34811
  * @param {Date} [lastRetrieved]
34445
34812
  * @param {*} [options] Override http request option.
34446
34813
  * @throws {RequiredError}
34447
34814
  */
34448
- apiV1SpecialtiesGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34815
+ apiV1SpecialtiesGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34449
34816
  const localVarPath = `/api/v1/specialties`;
34450
34817
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
34451
34818
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -34496,6 +34863,10 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
34496
34863
  localVarQueryParameter['Ids'] = ids;
34497
34864
  }
34498
34865
 
34866
+ if (returnDefaultValue !== undefined) {
34867
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
34868
+ }
34869
+
34499
34870
  if (page !== undefined) {
34500
34871
  localVarQueryParameter['page'] = page;
34501
34872
  }
@@ -34564,10 +34935,11 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
34564
34935
  * @summary Get Specialty by slug.
34565
34936
  * @param {string} slug
34566
34937
  * @param {string} [languageCode]
34938
+ * @param {boolean} [returnDefaultValue]
34567
34939
  * @param {*} [options] Override http request option.
34568
34940
  * @throws {RequiredError}
34569
34941
  */
34570
- apiV1SpecialtiesSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34942
+ apiV1SpecialtiesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34571
34943
  // verify required parameter 'slug' is not null or undefined
34572
34944
  assertParamExists('apiV1SpecialtiesSlugGet', 'slug', slug)
34573
34945
  const localVarPath = `/api/v1/specialties/{slug}`
@@ -34591,6 +34963,10 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
34591
34963
  localVarQueryParameter['languageCode'] = languageCode;
34592
34964
  }
34593
34965
 
34966
+ if (returnDefaultValue !== undefined) {
34967
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
34968
+ }
34969
+
34594
34970
 
34595
34971
 
34596
34972
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -34645,10 +35021,11 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
34645
35021
  * @summary Get Specialty.
34646
35022
  * @param {string} specialtyId
34647
35023
  * @param {string} [languageCode]
35024
+ * @param {boolean} [returnDefaultValue]
34648
35025
  * @param {*} [options] Override http request option.
34649
35026
  * @throws {RequiredError}
34650
35027
  */
34651
- apiV1SpecialtiesSpecialtyIdGet: async (specialtyId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35028
+ apiV1SpecialtiesSpecialtyIdGet: async (specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34652
35029
  // verify required parameter 'specialtyId' is not null or undefined
34653
35030
  assertParamExists('apiV1SpecialtiesSpecialtyIdGet', 'specialtyId', specialtyId)
34654
35031
  const localVarPath = `/api/v1/specialties/{specialtyId}`
@@ -34672,6 +35049,10 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
34672
35049
  localVarQueryParameter['languageCode'] = languageCode;
34673
35050
  }
34674
35051
 
35052
+ if (returnDefaultValue !== undefined) {
35053
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
35054
+ }
35055
+
34675
35056
 
34676
35057
 
34677
35058
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -34983,14 +35364,15 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
34983
35364
  * @param {Date} [created]
34984
35365
  * @param {string} [languageCode]
34985
35366
  * @param {Array<string>} [ids]
35367
+ * @param {boolean} [returnDefaultValue]
34986
35368
  * @param {number} [page]
34987
35369
  * @param {number} [limit]
34988
35370
  * @param {Date} [lastRetrieved]
34989
35371
  * @param {*} [options] Override http request option.
34990
35372
  * @throws {RequiredError}
34991
35373
  */
34992
- async apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesModel>> {
34993
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options);
35374
+ async apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesModel>> {
35375
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
34994
35376
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34995
35377
  },
34996
35378
  /**
@@ -35009,11 +35391,12 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
35009
35391
  * @summary Get Specialty by slug.
35010
35392
  * @param {string} slug
35011
35393
  * @param {string} [languageCode]
35394
+ * @param {boolean} [returnDefaultValue]
35012
35395
  * @param {*} [options] Override http request option.
35013
35396
  * @throws {RequiredError}
35014
35397
  */
35015
- async apiV1SpecialtiesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
35016
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSlugGet(slug, languageCode, options);
35398
+ async apiV1SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
35399
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options);
35017
35400
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35018
35401
  },
35019
35402
  /**
@@ -35032,11 +35415,12 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
35032
35415
  * @summary Get Specialty.
35033
35416
  * @param {string} specialtyId
35034
35417
  * @param {string} [languageCode]
35418
+ * @param {boolean} [returnDefaultValue]
35035
35419
  * @param {*} [options] Override http request option.
35036
35420
  * @throws {RequiredError}
35037
35421
  */
35038
- async apiV1SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
35039
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, options);
35422
+ async apiV1SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
35423
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options);
35040
35424
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35041
35425
  },
35042
35426
  /**
@@ -35137,14 +35521,15 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
35137
35521
  * @param {Date} [created]
35138
35522
  * @param {string} [languageCode]
35139
35523
  * @param {Array<string>} [ids]
35524
+ * @param {boolean} [returnDefaultValue]
35140
35525
  * @param {number} [page]
35141
35526
  * @param {number} [limit]
35142
35527
  * @param {Date} [lastRetrieved]
35143
35528
  * @param {*} [options] Override http request option.
35144
35529
  * @throws {RequiredError}
35145
35530
  */
35146
- apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
35147
- return localVarFp.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
35531
+ apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
35532
+ return localVarFp.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
35148
35533
  },
35149
35534
  /**
35150
35535
  *
@@ -35161,11 +35546,12 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
35161
35546
  * @summary Get Specialty by slug.
35162
35547
  * @param {string} slug
35163
35548
  * @param {string} [languageCode]
35549
+ * @param {boolean} [returnDefaultValue]
35164
35550
  * @param {*} [options] Override http request option.
35165
35551
  * @throws {RequiredError}
35166
35552
  */
35167
- apiV1SpecialtiesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<SpecialtyModel> {
35168
- return localVarFp.apiV1SpecialtiesSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
35553
+ apiV1SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyModel> {
35554
+ return localVarFp.apiV1SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
35169
35555
  },
35170
35556
  /**
35171
35557
  *
@@ -35182,11 +35568,12 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
35182
35568
  * @summary Get Specialty.
35183
35569
  * @param {string} specialtyId
35184
35570
  * @param {string} [languageCode]
35571
+ * @param {boolean} [returnDefaultValue]
35185
35572
  * @param {*} [options] Override http request option.
35186
35573
  * @throws {RequiredError}
35187
35574
  */
35188
- apiV1SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, options?: any): AxiosPromise<SpecialtyModel> {
35189
- return localVarFp.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, options).then((request) => request(axios, basePath));
35575
+ apiV1SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyModel> {
35576
+ return localVarFp.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
35190
35577
  },
35191
35578
  /**
35192
35579
  *
@@ -35280,6 +35667,7 @@ export class SpecialtiesApi extends BaseAPI {
35280
35667
  * @param {Date} [created]
35281
35668
  * @param {string} [languageCode]
35282
35669
  * @param {Array<string>} [ids]
35670
+ * @param {boolean} [returnDefaultValue]
35283
35671
  * @param {number} [page]
35284
35672
  * @param {number} [limit]
35285
35673
  * @param {Date} [lastRetrieved]
@@ -35287,8 +35675,8 @@ export class SpecialtiesApi extends BaseAPI {
35287
35675
  * @throws {RequiredError}
35288
35676
  * @memberof SpecialtiesApi
35289
35677
  */
35290
- public apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
35291
- return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
35678
+ public apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
35679
+ return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
35292
35680
  }
35293
35681
 
35294
35682
  /**
@@ -35308,12 +35696,13 @@ export class SpecialtiesApi extends BaseAPI {
35308
35696
  * @summary Get Specialty by slug.
35309
35697
  * @param {string} slug
35310
35698
  * @param {string} [languageCode]
35699
+ * @param {boolean} [returnDefaultValue]
35311
35700
  * @param {*} [options] Override http request option.
35312
35701
  * @throws {RequiredError}
35313
35702
  * @memberof SpecialtiesApi
35314
35703
  */
35315
- public apiV1SpecialtiesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
35316
- return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
35704
+ public apiV1SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
35705
+ return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
35317
35706
  }
35318
35707
 
35319
35708
  /**
@@ -35333,12 +35722,13 @@ export class SpecialtiesApi extends BaseAPI {
35333
35722
  * @summary Get Specialty.
35334
35723
  * @param {string} specialtyId
35335
35724
  * @param {string} [languageCode]
35725
+ * @param {boolean} [returnDefaultValue]
35336
35726
  * @param {*} [options] Override http request option.
35337
35727
  * @throws {RequiredError}
35338
35728
  * @memberof SpecialtiesApi
35339
35729
  */
35340
- public apiV1SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, options?: AxiosRequestConfig) {
35341
- return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, options).then((request) => request(this.axios, this.basePath));
35730
+ public apiV1SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
35731
+ return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
35342
35732
  }
35343
35733
 
35344
35734
  /**
@@ -35444,13 +35834,14 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
35444
35834
  * @param {string} [languageCode]
35445
35835
  * @param {Array<string>} [ids]
35446
35836
  * @param {string} [specialtyTypeCategoryId]
35837
+ * @param {boolean} [returnDefaultValue]
35447
35838
  * @param {number} [page]
35448
35839
  * @param {number} [limit]
35449
35840
  * @param {Date} [lastRetrieved]
35450
35841
  * @param {*} [options] Override http request option.
35451
35842
  * @throws {RequiredError}
35452
35843
  */
35453
- apiV1SpecialtytypesGet: async (id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35844
+ apiV1SpecialtytypesGet: async (id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35454
35845
  const localVarPath = `/api/v1/specialtytypes`;
35455
35846
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
35456
35847
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -35505,6 +35896,10 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
35505
35896
  localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
35506
35897
  }
35507
35898
 
35899
+ if (returnDefaultValue !== undefined) {
35900
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
35901
+ }
35902
+
35508
35903
  if (page !== undefined) {
35509
35904
  localVarQueryParameter['page'] = page;
35510
35905
  }
@@ -35568,15 +35963,119 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
35568
35963
  options: localVarRequestOptions,
35569
35964
  };
35570
35965
  },
35966
+ /**
35967
+ *
35968
+ * @summary Get all Hospitals.
35969
+ * @param {string} [id]
35970
+ * @param {string} [name]
35971
+ * @param {string} [description]
35972
+ * @param {MarketingType} [marketingType]
35973
+ * @param {string} [hospitalId]
35974
+ * @param {Date} [created]
35975
+ * @param {string} [languageCode]
35976
+ * @param {Array<string>} [ids]
35977
+ * @param {string} [specialtyTypeCategoryId]
35978
+ * @param {boolean} [returnDefaultValue]
35979
+ * @param {number} [page]
35980
+ * @param {number} [limit]
35981
+ * @param {Date} [lastRetrieved]
35982
+ * @param {*} [options] Override http request option.
35983
+ * @throws {RequiredError}
35984
+ */
35985
+ apiV1SpecialtytypesSimpleGet: async (id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35986
+ const localVarPath = `/api/v1/specialtytypes/simple`;
35987
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35988
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35989
+ let baseOptions;
35990
+ if (configuration) {
35991
+ baseOptions = configuration.baseOptions;
35992
+ }
35993
+
35994
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
35995
+ const localVarHeaderParameter = {} as any;
35996
+ const localVarQueryParameter = {} as any;
35997
+
35998
+ // authentication oauth2 required
35999
+ // oauth required
36000
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
36001
+
36002
+ if (id !== undefined) {
36003
+ localVarQueryParameter['Id'] = id;
36004
+ }
36005
+
36006
+ if (name !== undefined) {
36007
+ localVarQueryParameter['Name'] = name;
36008
+ }
36009
+
36010
+ if (description !== undefined) {
36011
+ localVarQueryParameter['Description'] = description;
36012
+ }
36013
+
36014
+ if (marketingType !== undefined) {
36015
+ localVarQueryParameter['MarketingType'] = marketingType;
36016
+ }
36017
+
36018
+ if (hospitalId !== undefined) {
36019
+ localVarQueryParameter['HospitalId'] = hospitalId;
36020
+ }
36021
+
36022
+ if (created !== undefined) {
36023
+ localVarQueryParameter['Created'] = (created as any instanceof Date) ?
36024
+ (created as any).toISOString() :
36025
+ created;
36026
+ }
36027
+
36028
+ if (languageCode !== undefined) {
36029
+ localVarQueryParameter['LanguageCode'] = languageCode;
36030
+ }
36031
+
36032
+ if (ids) {
36033
+ localVarQueryParameter['Ids'] = ids;
36034
+ }
36035
+
36036
+ if (specialtyTypeCategoryId !== undefined) {
36037
+ localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
36038
+ }
36039
+
36040
+ if (returnDefaultValue !== undefined) {
36041
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
36042
+ }
36043
+
36044
+ if (page !== undefined) {
36045
+ localVarQueryParameter['page'] = page;
36046
+ }
36047
+
36048
+ if (limit !== undefined) {
36049
+ localVarQueryParameter['limit'] = limit;
36050
+ }
36051
+
36052
+ if (lastRetrieved !== undefined) {
36053
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
36054
+ (lastRetrieved as any).toISOString() :
36055
+ lastRetrieved;
36056
+ }
36057
+
36058
+
36059
+
36060
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36061
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36062
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36063
+
36064
+ return {
36065
+ url: toPathString(localVarUrlObj),
36066
+ options: localVarRequestOptions,
36067
+ };
36068
+ },
35571
36069
  /**
35572
36070
  *
35573
36071
  * @summary Get Department by slug.
35574
36072
  * @param {string} slug
35575
36073
  * @param {string} [languageCode]
36074
+ * @param {boolean} [returnDefaultValue]
35576
36075
  * @param {*} [options] Override http request option.
35577
36076
  * @throws {RequiredError}
35578
36077
  */
35579
- apiV1SpecialtytypesSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36078
+ apiV1SpecialtytypesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35580
36079
  // verify required parameter 'slug' is not null or undefined
35581
36080
  assertParamExists('apiV1SpecialtytypesSlugGet', 'slug', slug)
35582
36081
  const localVarPath = `/api/v1/specialtytypes/{slug}`
@@ -35600,6 +36099,10 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
35600
36099
  localVarQueryParameter['languageCode'] = languageCode;
35601
36100
  }
35602
36101
 
36102
+ if (returnDefaultValue !== undefined) {
36103
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
36104
+ }
36105
+
35603
36106
 
35604
36107
 
35605
36108
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -35654,10 +36157,11 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
35654
36157
  * @summary Get Department.
35655
36158
  * @param {string} specialtyTypeId
35656
36159
  * @param {string} [languageCode]
36160
+ * @param {boolean} [returnDefaultValue]
35657
36161
  * @param {*} [options] Override http request option.
35658
36162
  * @throws {RequiredError}
35659
36163
  */
35660
- apiV1SpecialtytypesSpecialtyTypeIdGet: async (specialtyTypeId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36164
+ apiV1SpecialtytypesSpecialtyTypeIdGet: async (specialtyTypeId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35661
36165
  // verify required parameter 'specialtyTypeId' is not null or undefined
35662
36166
  assertParamExists('apiV1SpecialtytypesSpecialtyTypeIdGet', 'specialtyTypeId', specialtyTypeId)
35663
36167
  const localVarPath = `/api/v1/specialtytypes/{specialtyTypeId}`
@@ -35681,6 +36185,10 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
35681
36185
  localVarQueryParameter['languageCode'] = languageCode;
35682
36186
  }
35683
36187
 
36188
+ if (returnDefaultValue !== undefined) {
36189
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
36190
+ }
36191
+
35684
36192
 
35685
36193
 
35686
36194
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -35993,14 +36501,15 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
35993
36501
  * @param {string} [languageCode]
35994
36502
  * @param {Array<string>} [ids]
35995
36503
  * @param {string} [specialtyTypeCategoryId]
36504
+ * @param {boolean} [returnDefaultValue]
35996
36505
  * @param {number} [page]
35997
36506
  * @param {number} [limit]
35998
36507
  * @param {Date} [lastRetrieved]
35999
36508
  * @param {*} [options] Override http request option.
36000
36509
  * @throws {RequiredError}
36001
36510
  */
36002
- async apiV1SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypesModel>> {
36003
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options);
36511
+ async apiV1SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypesModel>> {
36512
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options);
36004
36513
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36005
36514
  },
36006
36515
  /**
@@ -36014,16 +36523,40 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
36014
36523
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesPost(createSpecialtyTypeCommand, options);
36015
36524
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36016
36525
  },
36526
+ /**
36527
+ *
36528
+ * @summary Get all Hospitals.
36529
+ * @param {string} [id]
36530
+ * @param {string} [name]
36531
+ * @param {string} [description]
36532
+ * @param {MarketingType} [marketingType]
36533
+ * @param {string} [hospitalId]
36534
+ * @param {Date} [created]
36535
+ * @param {string} [languageCode]
36536
+ * @param {Array<string>} [ids]
36537
+ * @param {string} [specialtyTypeCategoryId]
36538
+ * @param {boolean} [returnDefaultValue]
36539
+ * @param {number} [page]
36540
+ * @param {number} [limit]
36541
+ * @param {Date} [lastRetrieved]
36542
+ * @param {*} [options] Override http request option.
36543
+ * @throws {RequiredError}
36544
+ */
36545
+ async apiV1SpecialtytypesSimpleGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypesSimpleModel>> {
36546
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options);
36547
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36548
+ },
36017
36549
  /**
36018
36550
  *
36019
36551
  * @summary Get Department by slug.
36020
36552
  * @param {string} slug
36021
36553
  * @param {string} [languageCode]
36554
+ * @param {boolean} [returnDefaultValue]
36022
36555
  * @param {*} [options] Override http request option.
36023
36556
  * @throws {RequiredError}
36024
36557
  */
36025
- async apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
36026
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSlugGet(slug, languageCode, options);
36558
+ async apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
36559
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options);
36027
36560
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36028
36561
  },
36029
36562
  /**
@@ -36042,11 +36575,12 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
36042
36575
  * @summary Get Department.
36043
36576
  * @param {string} specialtyTypeId
36044
36577
  * @param {string} [languageCode]
36578
+ * @param {boolean} [returnDefaultValue]
36045
36579
  * @param {*} [options] Override http request option.
36046
36580
  * @throws {RequiredError}
36047
36581
  */
36048
- async apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
36049
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, options);
36582
+ async apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
36583
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options);
36050
36584
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36051
36585
  },
36052
36586
  /**
@@ -36148,14 +36682,15 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
36148
36682
  * @param {string} [languageCode]
36149
36683
  * @param {Array<string>} [ids]
36150
36684
  * @param {string} [specialtyTypeCategoryId]
36685
+ * @param {boolean} [returnDefaultValue]
36151
36686
  * @param {number} [page]
36152
36687
  * @param {number} [limit]
36153
36688
  * @param {Date} [lastRetrieved]
36154
36689
  * @param {*} [options] Override http request option.
36155
36690
  * @throws {RequiredError}
36156
36691
  */
36157
- apiV1SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesModel> {
36158
- return localVarFp.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
36692
+ apiV1SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesModel> {
36693
+ return localVarFp.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
36159
36694
  },
36160
36695
  /**
36161
36696
  *
@@ -36167,16 +36702,39 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
36167
36702
  apiV1SpecialtytypesPost(createSpecialtyTypeCommand?: CreateSpecialtyTypeCommand, options?: any): AxiosPromise<SpecialtyTypeModel> {
36168
36703
  return localVarFp.apiV1SpecialtytypesPost(createSpecialtyTypeCommand, options).then((request) => request(axios, basePath));
36169
36704
  },
36705
+ /**
36706
+ *
36707
+ * @summary Get all Hospitals.
36708
+ * @param {string} [id]
36709
+ * @param {string} [name]
36710
+ * @param {string} [description]
36711
+ * @param {MarketingType} [marketingType]
36712
+ * @param {string} [hospitalId]
36713
+ * @param {Date} [created]
36714
+ * @param {string} [languageCode]
36715
+ * @param {Array<string>} [ids]
36716
+ * @param {string} [specialtyTypeCategoryId]
36717
+ * @param {boolean} [returnDefaultValue]
36718
+ * @param {number} [page]
36719
+ * @param {number} [limit]
36720
+ * @param {Date} [lastRetrieved]
36721
+ * @param {*} [options] Override http request option.
36722
+ * @throws {RequiredError}
36723
+ */
36724
+ apiV1SpecialtytypesSimpleGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesSimpleModel> {
36725
+ return localVarFp.apiV1SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
36726
+ },
36170
36727
  /**
36171
36728
  *
36172
36729
  * @summary Get Department by slug.
36173
36730
  * @param {string} slug
36174
36731
  * @param {string} [languageCode]
36732
+ * @param {boolean} [returnDefaultValue]
36175
36733
  * @param {*} [options] Override http request option.
36176
36734
  * @throws {RequiredError}
36177
36735
  */
36178
- apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<SpecialtyTypeModel> {
36179
- return localVarFp.apiV1SpecialtytypesSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
36736
+ apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyTypeModel> {
36737
+ return localVarFp.apiV1SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
36180
36738
  },
36181
36739
  /**
36182
36740
  *
@@ -36193,11 +36751,12 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
36193
36751
  * @summary Get Department.
36194
36752
  * @param {string} specialtyTypeId
36195
36753
  * @param {string} [languageCode]
36754
+ * @param {boolean} [returnDefaultValue]
36196
36755
  * @param {*} [options] Override http request option.
36197
36756
  * @throws {RequiredError}
36198
36757
  */
36199
- apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, options?: any): AxiosPromise<SpecialtyTypeModel> {
36200
- return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, options).then((request) => request(axios, basePath));
36758
+ apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyTypeModel> {
36759
+ return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
36201
36760
  },
36202
36761
  /**
36203
36762
  *
@@ -36292,6 +36851,7 @@ export class SpecialtyTypesApi extends BaseAPI {
36292
36851
  * @param {string} [languageCode]
36293
36852
  * @param {Array<string>} [ids]
36294
36853
  * @param {string} [specialtyTypeCategoryId]
36854
+ * @param {boolean} [returnDefaultValue]
36295
36855
  * @param {number} [page]
36296
36856
  * @param {number} [limit]
36297
36857
  * @param {Date} [lastRetrieved]
@@ -36299,8 +36859,8 @@ export class SpecialtyTypesApi extends BaseAPI {
36299
36859
  * @throws {RequiredError}
36300
36860
  * @memberof SpecialtyTypesApi
36301
36861
  */
36302
- public apiV1SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
36303
- return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36862
+ public apiV1SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
36863
+ return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36304
36864
  }
36305
36865
 
36306
36866
  /**
@@ -36315,17 +36875,42 @@ export class SpecialtyTypesApi extends BaseAPI {
36315
36875
  return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesPost(createSpecialtyTypeCommand, options).then((request) => request(this.axios, this.basePath));
36316
36876
  }
36317
36877
 
36878
+ /**
36879
+ *
36880
+ * @summary Get all Hospitals.
36881
+ * @param {string} [id]
36882
+ * @param {string} [name]
36883
+ * @param {string} [description]
36884
+ * @param {MarketingType} [marketingType]
36885
+ * @param {string} [hospitalId]
36886
+ * @param {Date} [created]
36887
+ * @param {string} [languageCode]
36888
+ * @param {Array<string>} [ids]
36889
+ * @param {string} [specialtyTypeCategoryId]
36890
+ * @param {boolean} [returnDefaultValue]
36891
+ * @param {number} [page]
36892
+ * @param {number} [limit]
36893
+ * @param {Date} [lastRetrieved]
36894
+ * @param {*} [options] Override http request option.
36895
+ * @throws {RequiredError}
36896
+ * @memberof SpecialtyTypesApi
36897
+ */
36898
+ public apiV1SpecialtytypesSimpleGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
36899
+ return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36900
+ }
36901
+
36318
36902
  /**
36319
36903
  *
36320
36904
  * @summary Get Department by slug.
36321
36905
  * @param {string} slug
36322
36906
  * @param {string} [languageCode]
36907
+ * @param {boolean} [returnDefaultValue]
36323
36908
  * @param {*} [options] Override http request option.
36324
36909
  * @throws {RequiredError}
36325
36910
  * @memberof SpecialtyTypesApi
36326
36911
  */
36327
- public apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
36328
- return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
36912
+ public apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
36913
+ return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
36329
36914
  }
36330
36915
 
36331
36916
  /**
@@ -36345,12 +36930,13 @@ export class SpecialtyTypesApi extends BaseAPI {
36345
36930
  * @summary Get Department.
36346
36931
  * @param {string} specialtyTypeId
36347
36932
  * @param {string} [languageCode]
36933
+ * @param {boolean} [returnDefaultValue]
36348
36934
  * @param {*} [options] Override http request option.
36349
36935
  * @throws {RequiredError}
36350
36936
  * @memberof SpecialtyTypesApi
36351
36937
  */
36352
- public apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, options?: AxiosRequestConfig) {
36353
- return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, options).then((request) => request(this.axios, this.basePath));
36938
+ public apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
36939
+ return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
36354
36940
  }
36355
36941
 
36356
36942
  /**