ch-admin-api-client-typescript 3.1.1 → 3.1.4

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
@@ -4119,6 +4119,12 @@ export interface CreateFaqCategoryCommand {
4119
4119
  * @memberof CreateFaqCategoryCommand
4120
4120
  */
4121
4121
  'order'?: number;
4122
+ /**
4123
+ *
4124
+ * @type {string}
4125
+ * @memberof CreateFaqCategoryCommand
4126
+ */
4127
+ 'hospitalId'?: string;
4122
4128
  }
4123
4129
  /**
4124
4130
  *
@@ -4150,12 +4156,6 @@ export interface CreateFaqCommand {
4150
4156
  * @memberof CreateFaqCommand
4151
4157
  */
4152
4158
  'faqCategoryId'?: string | null;
4153
- /**
4154
- *
4155
- * @type {string}
4156
- * @memberof CreateFaqCommand
4157
- */
4158
- 'hospitalId'?: string;
4159
4159
  }
4160
4160
  /**
4161
4161
  *
@@ -6853,10 +6853,16 @@ export interface FaqCategoryItemModel {
6853
6853
  'order'?: number;
6854
6854
  /**
6855
6855
  *
6856
- * @type {Array<FaqItemModel>}
6856
+ * @type {string}
6857
+ * @memberof FaqCategoryItemModel
6858
+ */
6859
+ 'hospitalId'?: string;
6860
+ /**
6861
+ *
6862
+ * @type {string}
6857
6863
  * @memberof FaqCategoryItemModel
6858
6864
  */
6859
- 'faqs'?: Array<FaqItemModel> | null;
6865
+ 'hospitalName'?: string | null;
6860
6866
  /**
6861
6867
  *
6862
6868
  * @type {Array<LocalizedUrlModel>}
@@ -6914,10 +6920,16 @@ export interface FaqCategoryModel {
6914
6920
  'order'?: number;
6915
6921
  /**
6916
6922
  *
6917
- * @type {Array<FaqItemModel>}
6923
+ * @type {string}
6924
+ * @memberof FaqCategoryModel
6925
+ */
6926
+ 'hospitalId'?: string;
6927
+ /**
6928
+ *
6929
+ * @type {string}
6918
6930
  * @memberof FaqCategoryModel
6919
6931
  */
6920
- 'faqs'?: Array<FaqItemModel> | null;
6932
+ 'hospitalName'?: string | null;
6921
6933
  /**
6922
6934
  *
6923
6935
  * @type {Array<LocalizedUrlModel>}
@@ -7923,13 +7935,13 @@ export interface HospitalModel {
7923
7935
  * @type {Array<WorkingDay>}
7924
7936
  * @memberof HospitalModel
7925
7937
  */
7926
- 'workingDays'?: Array<WorkingDay> | null;
7938
+ 'hospitalWorkingDays'?: Array<WorkingDay> | null;
7927
7939
  /**
7928
7940
  *
7929
7941
  * @type {Array<SnsHandle>}
7930
7942
  * @memberof HospitalModel
7931
7943
  */
7932
- 'snsHandles'?: Array<SnsHandle> | null;
7944
+ 'hospitalSnsHandles'?: Array<SnsHandle> | null;
7933
7945
  }
7934
7946
  /**
7935
7947
  *
@@ -25005,7 +25017,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
25005
25017
  },
25006
25018
  /**
25007
25019
  *
25008
- * @summary Get all DoctorEducations.
25020
+ * @summary Get all DoctorLanguages.
25009
25021
  * @param {string} doctorId
25010
25022
  * @param {string} [language]
25011
25023
  * @param {number} [page]
@@ -25065,7 +25077,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
25065
25077
  },
25066
25078
  /**
25067
25079
  *
25068
- * @summary Delete DoctorEducation
25080
+ * @summary Delete DoctorLanguage
25069
25081
  * @param {string} doctorId
25070
25082
  * @param {string} languageId
25071
25083
  * @param {*} [options] Override http request option.
@@ -25107,7 +25119,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
25107
25119
  },
25108
25120
  /**
25109
25121
  *
25110
- * @summary Get DoctorEducation.
25122
+ * @summary Get DoctorLanguage.
25111
25123
  * @param {string} doctorId
25112
25124
  * @param {string} languageId
25113
25125
  * @param {*} [options] Override http request option.
@@ -25149,7 +25161,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
25149
25161
  },
25150
25162
  /**
25151
25163
  *
25152
- * @summary Update DoctorEducation.
25164
+ * @summary Update DoctorLanguage.
25153
25165
  * @param {string} doctorId
25154
25166
  * @param {string} languageId
25155
25167
  * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
@@ -25195,7 +25207,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
25195
25207
  },
25196
25208
  /**
25197
25209
  *
25198
- * @summary Create DoctorEducation.
25210
+ * @summary Create DoctorLanguage.
25199
25211
  * @param {string} doctorId
25200
25212
  * @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
25201
25213
  * @param {*} [options] Override http request option.
@@ -26544,7 +26556,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
26544
26556
  },
26545
26557
  /**
26546
26558
  *
26547
- * @summary Get all DoctorEducations.
26559
+ * @summary Get all DoctorLanguages.
26548
26560
  * @param {string} doctorId
26549
26561
  * @param {string} [language]
26550
26562
  * @param {number} [page]
@@ -26559,7 +26571,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
26559
26571
  },
26560
26572
  /**
26561
26573
  *
26562
- * @summary Delete DoctorEducation
26574
+ * @summary Delete DoctorLanguage
26563
26575
  * @param {string} doctorId
26564
26576
  * @param {string} languageId
26565
26577
  * @param {*} [options] Override http request option.
@@ -26571,7 +26583,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
26571
26583
  },
26572
26584
  /**
26573
26585
  *
26574
- * @summary Get DoctorEducation.
26586
+ * @summary Get DoctorLanguage.
26575
26587
  * @param {string} doctorId
26576
26588
  * @param {string} languageId
26577
26589
  * @param {*} [options] Override http request option.
@@ -26583,7 +26595,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
26583
26595
  },
26584
26596
  /**
26585
26597
  *
26586
- * @summary Update DoctorEducation.
26598
+ * @summary Update DoctorLanguage.
26587
26599
  * @param {string} doctorId
26588
26600
  * @param {string} languageId
26589
26601
  * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
@@ -26596,7 +26608,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
26596
26608
  },
26597
26609
  /**
26598
26610
  *
26599
- * @summary Create DoctorEducation.
26611
+ * @summary Create DoctorLanguage.
26600
26612
  * @param {string} doctorId
26601
26613
  * @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
26602
26614
  * @param {*} [options] Override http request option.
@@ -27095,7 +27107,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
27095
27107
  },
27096
27108
  /**
27097
27109
  *
27098
- * @summary Get all DoctorEducations.
27110
+ * @summary Get all DoctorLanguages.
27099
27111
  * @param {string} doctorId
27100
27112
  * @param {string} [language]
27101
27113
  * @param {number} [page]
@@ -27109,7 +27121,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
27109
27121
  },
27110
27122
  /**
27111
27123
  *
27112
- * @summary Delete DoctorEducation
27124
+ * @summary Delete DoctorLanguage
27113
27125
  * @param {string} doctorId
27114
27126
  * @param {string} languageId
27115
27127
  * @param {*} [options] Override http request option.
@@ -27120,7 +27132,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
27120
27132
  },
27121
27133
  /**
27122
27134
  *
27123
- * @summary Get DoctorEducation.
27135
+ * @summary Get DoctorLanguage.
27124
27136
  * @param {string} doctorId
27125
27137
  * @param {string} languageId
27126
27138
  * @param {*} [options] Override http request option.
@@ -27131,7 +27143,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
27131
27143
  },
27132
27144
  /**
27133
27145
  *
27134
- * @summary Update DoctorEducation.
27146
+ * @summary Update DoctorLanguage.
27135
27147
  * @param {string} doctorId
27136
27148
  * @param {string} languageId
27137
27149
  * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
@@ -27143,7 +27155,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
27143
27155
  },
27144
27156
  /**
27145
27157
  *
27146
- * @summary Create DoctorEducation.
27158
+ * @summary Create DoctorLanguage.
27147
27159
  * @param {string} doctorId
27148
27160
  * @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
27149
27161
  * @param {*} [options] Override http request option.
@@ -27653,7 +27665,7 @@ export class DoctorsApi extends BaseAPI {
27653
27665
 
27654
27666
  /**
27655
27667
  *
27656
- * @summary Get all DoctorEducations.
27668
+ * @summary Get all DoctorLanguages.
27657
27669
  * @param {string} doctorId
27658
27670
  * @param {string} [language]
27659
27671
  * @param {number} [page]
@@ -27669,7 +27681,7 @@ export class DoctorsApi extends BaseAPI {
27669
27681
 
27670
27682
  /**
27671
27683
  *
27672
- * @summary Delete DoctorEducation
27684
+ * @summary Delete DoctorLanguage
27673
27685
  * @param {string} doctorId
27674
27686
  * @param {string} languageId
27675
27687
  * @param {*} [options] Override http request option.
@@ -27682,7 +27694,7 @@ export class DoctorsApi extends BaseAPI {
27682
27694
 
27683
27695
  /**
27684
27696
  *
27685
- * @summary Get DoctorEducation.
27697
+ * @summary Get DoctorLanguage.
27686
27698
  * @param {string} doctorId
27687
27699
  * @param {string} languageId
27688
27700
  * @param {*} [options] Override http request option.
@@ -27695,7 +27707,7 @@ export class DoctorsApi extends BaseAPI {
27695
27707
 
27696
27708
  /**
27697
27709
  *
27698
- * @summary Update DoctorEducation.
27710
+ * @summary Update DoctorLanguage.
27699
27711
  * @param {string} doctorId
27700
27712
  * @param {string} languageId
27701
27713
  * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
@@ -27709,7 +27721,7 @@ export class DoctorsApi extends BaseAPI {
27709
27721
 
27710
27722
  /**
27711
27723
  *
27712
- * @summary Create DoctorEducation.
27724
+ * @summary Create DoctorLanguage.
27713
27725
  * @param {string} doctorId
27714
27726
  * @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
27715
27727
  * @param {*} [options] Override http request option.
@@ -28620,10 +28632,11 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
28620
28632
  * @summary Get FaqCategory.
28621
28633
  * @param {string} faqCategoryId
28622
28634
  * @param {string} [languageCode]
28635
+ * @param {boolean} [returnDefaultValue]
28623
28636
  * @param {*} [options] Override http request option.
28624
28637
  * @throws {RequiredError}
28625
28638
  */
28626
- apiV1FaqcategoriesFaqCategoryIdGet: async (faqCategoryId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28639
+ apiV1FaqcategoriesFaqCategoryIdGet: async (faqCategoryId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28627
28640
  // verify required parameter 'faqCategoryId' is not null or undefined
28628
28641
  assertParamExists('apiV1FaqcategoriesFaqCategoryIdGet', 'faqCategoryId', faqCategoryId)
28629
28642
  const localVarPath = `/api/v1/faqcategories/{faqCategoryId}`
@@ -28647,6 +28660,10 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
28647
28660
  localVarQueryParameter['languageCode'] = languageCode;
28648
28661
  }
28649
28662
 
28663
+ if (returnDefaultValue !== undefined) {
28664
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
28665
+ }
28666
+
28650
28667
 
28651
28668
 
28652
28669
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -28707,14 +28724,18 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
28707
28724
  * @param {string} [parentId]
28708
28725
  * @param {string} [name]
28709
28726
  * @param {string} [description]
28727
+ * @param {string} [hospitalId]
28728
+ * @param {string} [hospitalName]
28710
28729
  * @param {string} [languageCode]
28730
+ * @param {boolean} [showHidden]
28731
+ * @param {boolean} [returnDefaultValue]
28711
28732
  * @param {number} [page]
28712
28733
  * @param {number} [limit]
28713
28734
  * @param {Date} [lastRetrieved]
28714
28735
  * @param {*} [options] Override http request option.
28715
28736
  * @throws {RequiredError}
28716
28737
  */
28717
- apiV1FaqcategoriesGet: async (id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28738
+ apiV1FaqcategoriesGet: async (id?: string, parentId?: string, name?: string, description?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28718
28739
  const localVarPath = `/api/v1/faqcategories`;
28719
28740
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
28720
28741
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -28747,10 +28768,26 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
28747
28768
  localVarQueryParameter['Description'] = description;
28748
28769
  }
28749
28770
 
28771
+ if (hospitalId !== undefined) {
28772
+ localVarQueryParameter['HospitalId'] = hospitalId;
28773
+ }
28774
+
28775
+ if (hospitalName !== undefined) {
28776
+ localVarQueryParameter['HospitalName'] = hospitalName;
28777
+ }
28778
+
28750
28779
  if (languageCode !== undefined) {
28751
28780
  localVarQueryParameter['LanguageCode'] = languageCode;
28752
28781
  }
28753
28782
 
28783
+ if (showHidden !== undefined) {
28784
+ localVarQueryParameter['ShowHidden'] = showHidden;
28785
+ }
28786
+
28787
+ if (returnDefaultValue !== undefined) {
28788
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
28789
+ }
28790
+
28754
28791
  if (page !== undefined) {
28755
28792
  localVarQueryParameter['page'] = page;
28756
28793
  }
@@ -28896,11 +28933,12 @@ export const FaqCategoriesApiFp = function(configuration?: Configuration) {
28896
28933
  * @summary Get FaqCategory.
28897
28934
  * @param {string} faqCategoryId
28898
28935
  * @param {string} [languageCode]
28936
+ * @param {boolean} [returnDefaultValue]
28899
28937
  * @param {*} [options] Override http request option.
28900
28938
  * @throws {RequiredError}
28901
28939
  */
28902
- async apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoryModel>> {
28903
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options);
28940
+ async apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoryModel>> {
28941
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, returnDefaultValue, options);
28904
28942
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28905
28943
  },
28906
28944
  /**
@@ -28922,15 +28960,19 @@ export const FaqCategoriesApiFp = function(configuration?: Configuration) {
28922
28960
  * @param {string} [parentId]
28923
28961
  * @param {string} [name]
28924
28962
  * @param {string} [description]
28963
+ * @param {string} [hospitalId]
28964
+ * @param {string} [hospitalName]
28925
28965
  * @param {string} [languageCode]
28966
+ * @param {boolean} [showHidden]
28967
+ * @param {boolean} [returnDefaultValue]
28926
28968
  * @param {number} [page]
28927
28969
  * @param {number} [limit]
28928
28970
  * @param {Date} [lastRetrieved]
28929
28971
  * @param {*} [options] Override http request option.
28930
28972
  * @throws {RequiredError}
28931
28973
  */
28932
- async apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoriesModel>> {
28933
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options);
28974
+ async apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqCategoriesModel>> {
28975
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesGet(id, parentId, name, description, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
28934
28976
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28935
28977
  },
28936
28978
  /**
@@ -28993,11 +29035,12 @@ export const FaqCategoriesApiFactory = function (configuration?: Configuration,
28993
29035
  * @summary Get FaqCategory.
28994
29036
  * @param {string} faqCategoryId
28995
29037
  * @param {string} [languageCode]
29038
+ * @param {boolean} [returnDefaultValue]
28996
29039
  * @param {*} [options] Override http request option.
28997
29040
  * @throws {RequiredError}
28998
29041
  */
28999
- apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, options?: any): AxiosPromise<FaqCategoryModel> {
29000
- return localVarFp.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options).then((request) => request(axios, basePath));
29042
+ apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<FaqCategoryModel> {
29043
+ return localVarFp.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
29001
29044
  },
29002
29045
  /**
29003
29046
  *
@@ -29017,15 +29060,19 @@ export const FaqCategoriesApiFactory = function (configuration?: Configuration,
29017
29060
  * @param {string} [parentId]
29018
29061
  * @param {string} [name]
29019
29062
  * @param {string} [description]
29063
+ * @param {string} [hospitalId]
29064
+ * @param {string} [hospitalName]
29020
29065
  * @param {string} [languageCode]
29066
+ * @param {boolean} [showHidden]
29067
+ * @param {boolean} [returnDefaultValue]
29021
29068
  * @param {number} [page]
29022
29069
  * @param {number} [limit]
29023
29070
  * @param {Date} [lastRetrieved]
29024
29071
  * @param {*} [options] Override http request option.
29025
29072
  * @throws {RequiredError}
29026
29073
  */
29027
- apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqCategoriesModel> {
29028
- return localVarFp.apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
29074
+ apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqCategoriesModel> {
29075
+ return localVarFp.apiV1FaqcategoriesGet(id, parentId, name, description, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
29029
29076
  },
29030
29077
  /**
29031
29078
  *
@@ -29089,12 +29136,13 @@ export class FaqCategoriesApi extends BaseAPI {
29089
29136
  * @summary Get FaqCategory.
29090
29137
  * @param {string} faqCategoryId
29091
29138
  * @param {string} [languageCode]
29139
+ * @param {boolean} [returnDefaultValue]
29092
29140
  * @param {*} [options] Override http request option.
29093
29141
  * @throws {RequiredError}
29094
29142
  * @memberof FaqCategoriesApi
29095
29143
  */
29096
- public apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, options?: AxiosRequestConfig) {
29097
- return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options).then((request) => request(this.axios, this.basePath));
29144
+ public apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
29145
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
29098
29146
  }
29099
29147
 
29100
29148
  /**
@@ -29117,7 +29165,11 @@ export class FaqCategoriesApi extends BaseAPI {
29117
29165
  * @param {string} [parentId]
29118
29166
  * @param {string} [name]
29119
29167
  * @param {string} [description]
29168
+ * @param {string} [hospitalId]
29169
+ * @param {string} [hospitalName]
29120
29170
  * @param {string} [languageCode]
29171
+ * @param {boolean} [showHidden]
29172
+ * @param {boolean} [returnDefaultValue]
29121
29173
  * @param {number} [page]
29122
29174
  * @param {number} [limit]
29123
29175
  * @param {Date} [lastRetrieved]
@@ -29125,8 +29177,8 @@ export class FaqCategoriesApi extends BaseAPI {
29125
29177
  * @throws {RequiredError}
29126
29178
  * @memberof FaqCategoriesApi
29127
29179
  */
29128
- public apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
29129
- return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
29180
+ public apiV1FaqcategoriesGet(id?: string, parentId?: string, name?: string, description?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
29181
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesGet(id, parentId, name, description, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
29130
29182
  }
29131
29183
 
29132
29184
  /**
@@ -29205,10 +29257,11 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
29205
29257
  * @summary Get faq.
29206
29258
  * @param {string} faqId
29207
29259
  * @param {string} [languageCode]
29260
+ * @param {boolean} [returnDefaultValue]
29208
29261
  * @param {*} [options] Override http request option.
29209
29262
  * @throws {RequiredError}
29210
29263
  */
29211
- apiV1FaqsFaqIdGet: async (faqId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29264
+ apiV1FaqsFaqIdGet: async (faqId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29212
29265
  // verify required parameter 'faqId' is not null or undefined
29213
29266
  assertParamExists('apiV1FaqsFaqIdGet', 'faqId', faqId)
29214
29267
  const localVarPath = `/api/v1/faqs/{faqId}`
@@ -29232,6 +29285,10 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
29232
29285
  localVarQueryParameter['languageCode'] = languageCode;
29233
29286
  }
29234
29287
 
29288
+ if (returnDefaultValue !== undefined) {
29289
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
29290
+ }
29291
+
29235
29292
 
29236
29293
 
29237
29294
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -29533,13 +29590,14 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
29533
29590
  * @param {string} [hospitalName]
29534
29591
  * @param {string} [languageCode]
29535
29592
  * @param {boolean} [showHidden]
29593
+ * @param {boolean} [returnDefaultValue]
29536
29594
  * @param {number} [page]
29537
29595
  * @param {number} [limit]
29538
29596
  * @param {Date} [lastRetrieved]
29539
29597
  * @param {*} [options] Override http request option.
29540
29598
  * @throws {RequiredError}
29541
29599
  */
29542
- 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> => {
29600
+ apiV1FaqsGet: async (id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29543
29601
  const localVarPath = `/api/v1/faqs`;
29544
29602
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29545
29603
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -29588,6 +29646,10 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
29588
29646
  localVarQueryParameter['ShowHidden'] = showHidden;
29589
29647
  }
29590
29648
 
29649
+ if (returnDefaultValue !== undefined) {
29650
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
29651
+ }
29652
+
29591
29653
  if (page !== undefined) {
29592
29654
  localVarQueryParameter['page'] = page;
29593
29655
  }
@@ -29720,11 +29782,12 @@ export const FaqsApiFp = function(configuration?: Configuration) {
29720
29782
  * @summary Get faq.
29721
29783
  * @param {string} faqId
29722
29784
  * @param {string} [languageCode]
29785
+ * @param {boolean} [returnDefaultValue]
29723
29786
  * @param {*} [options] Override http request option.
29724
29787
  * @throws {RequiredError}
29725
29788
  */
29726
- async apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqModel>> {
29727
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdGet(faqId, languageCode, options);
29789
+ async apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqModel>> {
29790
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdGet(faqId, languageCode, returnDefaultValue, options);
29728
29791
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29729
29792
  },
29730
29793
  /**
@@ -29815,14 +29878,15 @@ export const FaqsApiFp = function(configuration?: Configuration) {
29815
29878
  * @param {string} [hospitalName]
29816
29879
  * @param {string} [languageCode]
29817
29880
  * @param {boolean} [showHidden]
29881
+ * @param {boolean} [returnDefaultValue]
29818
29882
  * @param {number} [page]
29819
29883
  * @param {number} [limit]
29820
29884
  * @param {Date} [lastRetrieved]
29821
29885
  * @param {*} [options] Override http request option.
29822
29886
  * @throws {RequiredError}
29823
29887
  */
29824
- 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>> {
29825
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options);
29888
+ async apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqsModel>> {
29889
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
29826
29890
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29827
29891
  },
29828
29892
  /**
@@ -29873,11 +29937,12 @@ export const FaqsApiFactory = function (configuration?: Configuration, basePath?
29873
29937
  * @summary Get faq.
29874
29938
  * @param {string} faqId
29875
29939
  * @param {string} [languageCode]
29940
+ * @param {boolean} [returnDefaultValue]
29876
29941
  * @param {*} [options] Override http request option.
29877
29942
  * @throws {RequiredError}
29878
29943
  */
29879
- apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, options?: any): AxiosPromise<FaqModel> {
29880
- return localVarFp.apiV1FaqsFaqIdGet(faqId, languageCode, options).then((request) => request(axios, basePath));
29944
+ apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<FaqModel> {
29945
+ return localVarFp.apiV1FaqsFaqIdGet(faqId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
29881
29946
  },
29882
29947
  /**
29883
29948
  *
@@ -29961,14 +30026,15 @@ export const FaqsApiFactory = function (configuration?: Configuration, basePath?
29961
30026
  * @param {string} [hospitalName]
29962
30027
  * @param {string} [languageCode]
29963
30028
  * @param {boolean} [showHidden]
30029
+ * @param {boolean} [returnDefaultValue]
29964
30030
  * @param {number} [page]
29965
30031
  * @param {number} [limit]
29966
30032
  * @param {Date} [lastRetrieved]
29967
30033
  * @param {*} [options] Override http request option.
29968
30034
  * @throws {RequiredError}
29969
30035
  */
29970
- 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> {
29971
- return localVarFp.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
30036
+ apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqsModel> {
30037
+ return localVarFp.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
29972
30038
  },
29973
30039
  /**
29974
30040
  *
@@ -30018,12 +30084,13 @@ export class FaqsApi extends BaseAPI {
30018
30084
  * @summary Get faq.
30019
30085
  * @param {string} faqId
30020
30086
  * @param {string} [languageCode]
30087
+ * @param {boolean} [returnDefaultValue]
30021
30088
  * @param {*} [options] Override http request option.
30022
30089
  * @throws {RequiredError}
30023
30090
  * @memberof FaqsApi
30024
30091
  */
30025
- public apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig) {
30026
- return FaqsApiFp(this.configuration).apiV1FaqsFaqIdGet(faqId, languageCode, options).then((request) => request(this.axios, this.basePath));
30092
+ public apiV1FaqsFaqIdGet(faqId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
30093
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdGet(faqId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
30027
30094
  }
30028
30095
 
30029
30096
  /**
@@ -30120,6 +30187,7 @@ export class FaqsApi extends BaseAPI {
30120
30187
  * @param {string} [hospitalName]
30121
30188
  * @param {string} [languageCode]
30122
30189
  * @param {boolean} [showHidden]
30190
+ * @param {boolean} [returnDefaultValue]
30123
30191
  * @param {number} [page]
30124
30192
  * @param {number} [limit]
30125
30193
  * @param {Date} [lastRetrieved]
@@ -30127,8 +30195,8 @@ export class FaqsApi extends BaseAPI {
30127
30195
  * @throws {RequiredError}
30128
30196
  * @memberof FaqsApi
30129
30197
  */
30130
- 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) {
30131
- return FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
30198
+ public apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
30199
+ return FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
30132
30200
  }
30133
30201
 
30134
30202
  /**
@@ -31332,7 +31400,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31332
31400
  *
31333
31401
  * @summary Get all HospitalHandles.
31334
31402
  * @param {string} hospitalId
31335
- * @param {string} [hospitalId2]
31336
31403
  * @param {string} [id]
31337
31404
  * @param {SnsType} [snsType]
31338
31405
  * @param {string} [handle]
@@ -31342,7 +31409,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31342
31409
  * @param {*} [options] Override http request option.
31343
31410
  * @throws {RequiredError}
31344
31411
  */
31345
- apiV1HospitalsHospitalIdHandlesGet: async (hospitalId: string, hospitalId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31412
+ apiV1HospitalsHospitalIdHandlesGet: async (hospitalId: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31346
31413
  // verify required parameter 'hospitalId' is not null or undefined
31347
31414
  assertParamExists('apiV1HospitalsHospitalIdHandlesGet', 'hospitalId', hospitalId)
31348
31415
  const localVarPath = `/api/v1/hospitals/{hospitalId}/handles`
@@ -31362,10 +31429,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31362
31429
  // oauth required
31363
31430
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
31364
31431
 
31365
- if (hospitalId2 !== undefined) {
31366
- localVarQueryParameter['HospitalId'] = hospitalId2;
31367
- }
31368
-
31369
31432
  if (id !== undefined) {
31370
31433
  localVarQueryParameter['Id'] = id;
31371
31434
  }
@@ -31969,6 +32032,263 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31969
32032
  options: localVarRequestOptions,
31970
32033
  };
31971
32034
  },
32035
+ /**
32036
+ *
32037
+ * @summary Get all HospitalServiceMedias.
32038
+ * @param {string} hospitalId
32039
+ * @param {string} hospitalSpecialtyId
32040
+ * @param {string} [id]
32041
+ * @param {MediaType} [mediaType]
32042
+ * @param {number} [page]
32043
+ * @param {number} [limit]
32044
+ * @param {Date} [lastRetrieved]
32045
+ * @param {*} [options] Override http request option.
32046
+ * @throws {RequiredError}
32047
+ */
32048
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet: async (hospitalId: string, hospitalSpecialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32049
+ // verify required parameter 'hospitalId' is not null or undefined
32050
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet', 'hospitalId', hospitalId)
32051
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
32052
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet', 'hospitalSpecialtyId', hospitalSpecialtyId)
32053
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias`
32054
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
32055
+ .replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
32056
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32057
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32058
+ let baseOptions;
32059
+ if (configuration) {
32060
+ baseOptions = configuration.baseOptions;
32061
+ }
32062
+
32063
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
32064
+ const localVarHeaderParameter = {} as any;
32065
+ const localVarQueryParameter = {} as any;
32066
+
32067
+ // authentication oauth2 required
32068
+ // oauth required
32069
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
32070
+
32071
+ if (id !== undefined) {
32072
+ localVarQueryParameter['Id'] = id;
32073
+ }
32074
+
32075
+ if (mediaType !== undefined) {
32076
+ localVarQueryParameter['MediaType'] = mediaType;
32077
+ }
32078
+
32079
+ if (page !== undefined) {
32080
+ localVarQueryParameter['page'] = page;
32081
+ }
32082
+
32083
+ if (limit !== undefined) {
32084
+ localVarQueryParameter['limit'] = limit;
32085
+ }
32086
+
32087
+ if (lastRetrieved !== undefined) {
32088
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
32089
+ (lastRetrieved as any).toISOString() :
32090
+ lastRetrieved;
32091
+ }
32092
+
32093
+
32094
+
32095
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32096
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32097
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32098
+
32099
+ return {
32100
+ url: toPathString(localVarUrlObj),
32101
+ options: localVarRequestOptions,
32102
+ };
32103
+ },
32104
+ /**
32105
+ *
32106
+ * @summary Delete HospitalServiceMedia
32107
+ * @param {string} hospitalId
32108
+ * @param {string} hospitalSpecialtyId
32109
+ * @param {string} mediaId
32110
+ * @param {*} [options] Override http request option.
32111
+ * @throws {RequiredError}
32112
+ */
32113
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete: async (hospitalId: string, hospitalSpecialtyId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32114
+ // verify required parameter 'hospitalId' is not null or undefined
32115
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete', 'hospitalId', hospitalId)
32116
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
32117
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete', 'hospitalSpecialtyId', hospitalSpecialtyId)
32118
+ // verify required parameter 'mediaId' is not null or undefined
32119
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete', 'mediaId', mediaId)
32120
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias/{mediaId}`
32121
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
32122
+ .replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)))
32123
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
32124
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32125
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32126
+ let baseOptions;
32127
+ if (configuration) {
32128
+ baseOptions = configuration.baseOptions;
32129
+ }
32130
+
32131
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
32132
+ const localVarHeaderParameter = {} as any;
32133
+ const localVarQueryParameter = {} as any;
32134
+
32135
+ // authentication oauth2 required
32136
+ // oauth required
32137
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
32138
+
32139
+
32140
+
32141
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32142
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32143
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32144
+
32145
+ return {
32146
+ url: toPathString(localVarUrlObj),
32147
+ options: localVarRequestOptions,
32148
+ };
32149
+ },
32150
+ /**
32151
+ *
32152
+ * @summary Get HospitalServiceMedia.
32153
+ * @param {string} hospitalId
32154
+ * @param {string} hospitalSpecialtyId
32155
+ * @param {string} mediaId
32156
+ * @param {*} [options] Override http request option.
32157
+ * @throws {RequiredError}
32158
+ */
32159
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet: async (hospitalId: string, hospitalSpecialtyId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32160
+ // verify required parameter 'hospitalId' is not null or undefined
32161
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet', 'hospitalId', hospitalId)
32162
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
32163
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet', 'hospitalSpecialtyId', hospitalSpecialtyId)
32164
+ // verify required parameter 'mediaId' is not null or undefined
32165
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet', 'mediaId', mediaId)
32166
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias/{mediaId}`
32167
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
32168
+ .replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)))
32169
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
32170
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32171
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32172
+ let baseOptions;
32173
+ if (configuration) {
32174
+ baseOptions = configuration.baseOptions;
32175
+ }
32176
+
32177
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
32178
+ const localVarHeaderParameter = {} as any;
32179
+ const localVarQueryParameter = {} as any;
32180
+
32181
+ // authentication oauth2 required
32182
+ // oauth required
32183
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
32184
+
32185
+
32186
+
32187
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32188
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32189
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32190
+
32191
+ return {
32192
+ url: toPathString(localVarUrlObj),
32193
+ options: localVarRequestOptions,
32194
+ };
32195
+ },
32196
+ /**
32197
+ *
32198
+ * @summary Update HospitalServiceMedia.
32199
+ * @param {string} hospitalId
32200
+ * @param {string} hospitalSpecialtyId
32201
+ * @param {string} mediaId
32202
+ * @param {UpdateMediaCommand} [updateMediaCommand]
32203
+ * @param {*} [options] Override http request option.
32204
+ * @throws {RequiredError}
32205
+ */
32206
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut: async (hospitalId: string, hospitalSpecialtyId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32207
+ // verify required parameter 'hospitalId' is not null or undefined
32208
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut', 'hospitalId', hospitalId)
32209
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
32210
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut', 'hospitalSpecialtyId', hospitalSpecialtyId)
32211
+ // verify required parameter 'mediaId' is not null or undefined
32212
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut', 'mediaId', mediaId)
32213
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias/{mediaId}`
32214
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
32215
+ .replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)))
32216
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
32217
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32218
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32219
+ let baseOptions;
32220
+ if (configuration) {
32221
+ baseOptions = configuration.baseOptions;
32222
+ }
32223
+
32224
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
32225
+ const localVarHeaderParameter = {} as any;
32226
+ const localVarQueryParameter = {} as any;
32227
+
32228
+ // authentication oauth2 required
32229
+ // oauth required
32230
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
32231
+
32232
+
32233
+
32234
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32235
+
32236
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32237
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32238
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32239
+ localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
32240
+
32241
+ return {
32242
+ url: toPathString(localVarUrlObj),
32243
+ options: localVarRequestOptions,
32244
+ };
32245
+ },
32246
+ /**
32247
+ *
32248
+ * @summary Create HospitalServiceMedia.
32249
+ * @param {string} hospitalId
32250
+ * @param {string} hospitalSpecialtyId
32251
+ * @param {CreateMediaCommand} [createMediaCommand]
32252
+ * @param {*} [options] Override http request option.
32253
+ * @throws {RequiredError}
32254
+ */
32255
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost: async (hospitalId: string, hospitalSpecialtyId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32256
+ // verify required parameter 'hospitalId' is not null or undefined
32257
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost', 'hospitalId', hospitalId)
32258
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
32259
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost', 'hospitalSpecialtyId', hospitalSpecialtyId)
32260
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias`
32261
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
32262
+ .replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
32263
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32264
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32265
+ let baseOptions;
32266
+ if (configuration) {
32267
+ baseOptions = configuration.baseOptions;
32268
+ }
32269
+
32270
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
32271
+ const localVarHeaderParameter = {} as any;
32272
+ const localVarQueryParameter = {} as any;
32273
+
32274
+ // authentication oauth2 required
32275
+ // oauth required
32276
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
32277
+
32278
+
32279
+
32280
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32281
+
32282
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32283
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32284
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32285
+ localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
32286
+
32287
+ return {
32288
+ url: toPathString(localVarUrlObj),
32289
+ options: localVarRequestOptions,
32290
+ };
32291
+ },
31972
32292
  /**
31973
32293
  *
31974
32294
  * @summary Create HospitalSpecialty.
@@ -32879,7 +33199,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
32879
33199
  *
32880
33200
  * @summary Get all HospitalWorkingDays.
32881
33201
  * @param {string} hospitalId
32882
- * @param {string} [hospitalId2]
32883
33202
  * @param {string} [id]
32884
33203
  * @param {string} [dayOfWeek]
32885
33204
  * @param {Date} [timeFrom]
@@ -32891,7 +33210,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
32891
33210
  * @param {*} [options] Override http request option.
32892
33211
  * @throws {RequiredError}
32893
33212
  */
32894
- apiV1HospitalsHospitalIdWorkingdaysGet: async (hospitalId: string, hospitalId2?: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33213
+ apiV1HospitalsHospitalIdWorkingdaysGet: async (hospitalId: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32895
33214
  // verify required parameter 'hospitalId' is not null or undefined
32896
33215
  assertParamExists('apiV1HospitalsHospitalIdWorkingdaysGet', 'hospitalId', hospitalId)
32897
33216
  const localVarPath = `/api/v1/hospitals/{hospitalId}/workingdays`
@@ -32911,10 +33230,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
32911
33230
  // oauth required
32912
33231
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
32913
33232
 
32914
- if (hospitalId2 !== undefined) {
32915
- localVarQueryParameter['HospitalId'] = hospitalId2;
32916
- }
32917
-
32918
33233
  if (id !== undefined) {
32919
33234
  localVarQueryParameter['Id'] = id;
32920
33235
  }
@@ -33667,7 +33982,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
33667
33982
  *
33668
33983
  * @summary Get all HospitalHandles.
33669
33984
  * @param {string} hospitalId
33670
- * @param {string} [hospitalId2]
33671
33985
  * @param {string} [id]
33672
33986
  * @param {SnsType} [snsType]
33673
33987
  * @param {string} [handle]
@@ -33677,8 +33991,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
33677
33991
  * @param {*} [options] Override http request option.
33678
33992
  * @throws {RequiredError}
33679
33993
  */
33680
- async apiV1HospitalsHospitalIdHandlesGet(hospitalId: string, hospitalId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSnsHandlesModel>> {
33681
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options);
33994
+ async apiV1HospitalsHospitalIdHandlesGet(hospitalId: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSnsHandlesModel>> {
33995
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options);
33682
33996
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33683
33997
  },
33684
33998
  /**
@@ -33833,6 +34147,76 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
33833
34147
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options);
33834
34148
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33835
34149
  },
34150
+ /**
34151
+ *
34152
+ * @summary Get all HospitalServiceMedias.
34153
+ * @param {string} hospitalId
34154
+ * @param {string} hospitalSpecialtyId
34155
+ * @param {string} [id]
34156
+ * @param {MediaType} [mediaType]
34157
+ * @param {number} [page]
34158
+ * @param {number} [limit]
34159
+ * @param {Date} [lastRetrieved]
34160
+ * @param {*} [options] Override http request option.
34161
+ * @throws {RequiredError}
34162
+ */
34163
+ async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId: string, hospitalSpecialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
34164
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options);
34165
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34166
+ },
34167
+ /**
34168
+ *
34169
+ * @summary Delete HospitalServiceMedia
34170
+ * @param {string} hospitalId
34171
+ * @param {string} hospitalSpecialtyId
34172
+ * @param {string} mediaId
34173
+ * @param {*} [options] Override http request option.
34174
+ * @throws {RequiredError}
34175
+ */
34176
+ async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete(hospitalId: string, hospitalSpecialtyId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
34177
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete(hospitalId, hospitalSpecialtyId, mediaId, options);
34178
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34179
+ },
34180
+ /**
34181
+ *
34182
+ * @summary Get HospitalServiceMedia.
34183
+ * @param {string} hospitalId
34184
+ * @param {string} hospitalSpecialtyId
34185
+ * @param {string} mediaId
34186
+ * @param {*} [options] Override http request option.
34187
+ * @throws {RequiredError}
34188
+ */
34189
+ async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId: string, hospitalSpecialtyId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
34190
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId, hospitalSpecialtyId, mediaId, options);
34191
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34192
+ },
34193
+ /**
34194
+ *
34195
+ * @summary Update HospitalServiceMedia.
34196
+ * @param {string} hospitalId
34197
+ * @param {string} hospitalSpecialtyId
34198
+ * @param {string} mediaId
34199
+ * @param {UpdateMediaCommand} [updateMediaCommand]
34200
+ * @param {*} [options] Override http request option.
34201
+ * @throws {RequiredError}
34202
+ */
34203
+ async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut(hospitalId: string, hospitalSpecialtyId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
34204
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut(hospitalId, hospitalSpecialtyId, mediaId, updateMediaCommand, options);
34205
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34206
+ },
34207
+ /**
34208
+ *
34209
+ * @summary Create HospitalServiceMedia.
34210
+ * @param {string} hospitalId
34211
+ * @param {string} hospitalSpecialtyId
34212
+ * @param {CreateMediaCommand} [createMediaCommand]
34213
+ * @param {*} [options] Override http request option.
34214
+ * @throws {RequiredError}
34215
+ */
34216
+ async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId: string, hospitalSpecialtyId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
34217
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId, hospitalSpecialtyId, createMediaCommand, options);
34218
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34219
+ },
33836
34220
  /**
33837
34221
  *
33838
34222
  * @summary Create HospitalSpecialty.
@@ -34072,7 +34456,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
34072
34456
  *
34073
34457
  * @summary Get all HospitalWorkingDays.
34074
34458
  * @param {string} hospitalId
34075
- * @param {string} [hospitalId2]
34076
34459
  * @param {string} [id]
34077
34460
  * @param {string} [dayOfWeek]
34078
34461
  * @param {Date} [timeFrom]
@@ -34084,8 +34467,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
34084
34467
  * @param {*} [options] Override http request option.
34085
34468
  * @throws {RequiredError}
34086
34469
  */
34087
- async apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId: string, hospitalId2?: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkingDaysModel>> {
34088
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options);
34470
+ async apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkingDaysModel>> {
34471
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options);
34089
34472
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34090
34473
  },
34091
34474
  /**
@@ -34096,7 +34479,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
34096
34479
  * @param {*} [options] Override http request option.
34097
34480
  * @throws {RequiredError}
34098
34481
  */
34099
- async apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkingDaysModel>> {
34482
+ async apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkingDayModel>> {
34100
34483
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options);
34101
34484
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34102
34485
  },
@@ -34488,7 +34871,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
34488
34871
  *
34489
34872
  * @summary Get all HospitalHandles.
34490
34873
  * @param {string} hospitalId
34491
- * @param {string} [hospitalId2]
34492
34874
  * @param {string} [id]
34493
34875
  * @param {SnsType} [snsType]
34494
34876
  * @param {string} [handle]
@@ -34498,8 +34880,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
34498
34880
  * @param {*} [options] Override http request option.
34499
34881
  * @throws {RequiredError}
34500
34882
  */
34501
- apiV1HospitalsHospitalIdHandlesGet(hospitalId: string, hospitalId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSnsHandlesModel> {
34502
- return localVarFp.apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
34883
+ apiV1HospitalsHospitalIdHandlesGet(hospitalId: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSnsHandlesModel> {
34884
+ return localVarFp.apiV1HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
34503
34885
  },
34504
34886
  /**
34505
34887
  *
@@ -34642,6 +35024,71 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
34642
35024
  apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
34643
35025
  return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
34644
35026
  },
35027
+ /**
35028
+ *
35029
+ * @summary Get all HospitalServiceMedias.
35030
+ * @param {string} hospitalId
35031
+ * @param {string} hospitalSpecialtyId
35032
+ * @param {string} [id]
35033
+ * @param {MediaType} [mediaType]
35034
+ * @param {number} [page]
35035
+ * @param {number} [limit]
35036
+ * @param {Date} [lastRetrieved]
35037
+ * @param {*} [options] Override http request option.
35038
+ * @throws {RequiredError}
35039
+ */
35040
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId: string, hospitalSpecialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
35041
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
35042
+ },
35043
+ /**
35044
+ *
35045
+ * @summary Delete HospitalServiceMedia
35046
+ * @param {string} hospitalId
35047
+ * @param {string} hospitalSpecialtyId
35048
+ * @param {string} mediaId
35049
+ * @param {*} [options] Override http request option.
35050
+ * @throws {RequiredError}
35051
+ */
35052
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete(hospitalId: string, hospitalSpecialtyId: string, mediaId: string, options?: any): AxiosPromise<boolean> {
35053
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete(hospitalId, hospitalSpecialtyId, mediaId, options).then((request) => request(axios, basePath));
35054
+ },
35055
+ /**
35056
+ *
35057
+ * @summary Get HospitalServiceMedia.
35058
+ * @param {string} hospitalId
35059
+ * @param {string} hospitalSpecialtyId
35060
+ * @param {string} mediaId
35061
+ * @param {*} [options] Override http request option.
35062
+ * @throws {RequiredError}
35063
+ */
35064
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId: string, hospitalSpecialtyId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
35065
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId, hospitalSpecialtyId, mediaId, options).then((request) => request(axios, basePath));
35066
+ },
35067
+ /**
35068
+ *
35069
+ * @summary Update HospitalServiceMedia.
35070
+ * @param {string} hospitalId
35071
+ * @param {string} hospitalSpecialtyId
35072
+ * @param {string} mediaId
35073
+ * @param {UpdateMediaCommand} [updateMediaCommand]
35074
+ * @param {*} [options] Override http request option.
35075
+ * @throws {RequiredError}
35076
+ */
35077
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut(hospitalId: string, hospitalSpecialtyId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: any): AxiosPromise<MediaModel> {
35078
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut(hospitalId, hospitalSpecialtyId, mediaId, updateMediaCommand, options).then((request) => request(axios, basePath));
35079
+ },
35080
+ /**
35081
+ *
35082
+ * @summary Create HospitalServiceMedia.
35083
+ * @param {string} hospitalId
35084
+ * @param {string} hospitalSpecialtyId
35085
+ * @param {CreateMediaCommand} [createMediaCommand]
35086
+ * @param {*} [options] Override http request option.
35087
+ * @throws {RequiredError}
35088
+ */
35089
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId: string, hospitalSpecialtyId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
35090
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId, hospitalSpecialtyId, createMediaCommand, options).then((request) => request(axios, basePath));
35091
+ },
34645
35092
  /**
34646
35093
  *
34647
35094
  * @summary Create HospitalSpecialty.
@@ -34866,7 +35313,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
34866
35313
  *
34867
35314
  * @summary Get all HospitalWorkingDays.
34868
35315
  * @param {string} hospitalId
34869
- * @param {string} [hospitalId2]
34870
35316
  * @param {string} [id]
34871
35317
  * @param {string} [dayOfWeek]
34872
35318
  * @param {Date} [timeFrom]
@@ -34878,8 +35324,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
34878
35324
  * @param {*} [options] Override http request option.
34879
35325
  * @throws {RequiredError}
34880
35326
  */
34881
- apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId: string, hospitalId2?: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<WorkingDaysModel> {
34882
- return localVarFp.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
35327
+ apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<WorkingDaysModel> {
35328
+ return localVarFp.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
34883
35329
  },
34884
35330
  /**
34885
35331
  *
@@ -34889,7 +35335,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
34889
35335
  * @param {*} [options] Override http request option.
34890
35336
  * @throws {RequiredError}
34891
35337
  */
34892
- apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options?: any): AxiosPromise<WorkingDaysModel> {
35338
+ apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options?: any): AxiosPromise<WorkingDayModel> {
34893
35339
  return localVarFp.apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options).then((request) => request(axios, basePath));
34894
35340
  },
34895
35341
  /**
@@ -35318,7 +35764,6 @@ export class HospitalsApi extends BaseAPI {
35318
35764
  *
35319
35765
  * @summary Get all HospitalHandles.
35320
35766
  * @param {string} hospitalId
35321
- * @param {string} [hospitalId2]
35322
35767
  * @param {string} [id]
35323
35768
  * @param {SnsType} [snsType]
35324
35769
  * @param {string} [handle]
@@ -35329,8 +35774,8 @@ export class HospitalsApi extends BaseAPI {
35329
35774
  * @throws {RequiredError}
35330
35775
  * @memberof HospitalsApi
35331
35776
  */
35332
- public apiV1HospitalsHospitalIdHandlesGet(hospitalId: string, hospitalId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
35333
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
35777
+ public apiV1HospitalsHospitalIdHandlesGet(hospitalId: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
35778
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
35334
35779
  }
35335
35780
 
35336
35781
  /**
@@ -35496,6 +35941,81 @@ export class HospitalsApi extends BaseAPI {
35496
35941
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
35497
35942
  }
35498
35943
 
35944
+ /**
35945
+ *
35946
+ * @summary Get all HospitalServiceMedias.
35947
+ * @param {string} hospitalId
35948
+ * @param {string} hospitalSpecialtyId
35949
+ * @param {string} [id]
35950
+ * @param {MediaType} [mediaType]
35951
+ * @param {number} [page]
35952
+ * @param {number} [limit]
35953
+ * @param {Date} [lastRetrieved]
35954
+ * @param {*} [options] Override http request option.
35955
+ * @throws {RequiredError}
35956
+ * @memberof HospitalsApi
35957
+ */
35958
+ public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId: string, hospitalSpecialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
35959
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
35960
+ }
35961
+
35962
+ /**
35963
+ *
35964
+ * @summary Delete HospitalServiceMedia
35965
+ * @param {string} hospitalId
35966
+ * @param {string} hospitalSpecialtyId
35967
+ * @param {string} mediaId
35968
+ * @param {*} [options] Override http request option.
35969
+ * @throws {RequiredError}
35970
+ * @memberof HospitalsApi
35971
+ */
35972
+ public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete(hospitalId: string, hospitalSpecialtyId: string, mediaId: string, options?: AxiosRequestConfig) {
35973
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete(hospitalId, hospitalSpecialtyId, mediaId, options).then((request) => request(this.axios, this.basePath));
35974
+ }
35975
+
35976
+ /**
35977
+ *
35978
+ * @summary Get HospitalServiceMedia.
35979
+ * @param {string} hospitalId
35980
+ * @param {string} hospitalSpecialtyId
35981
+ * @param {string} mediaId
35982
+ * @param {*} [options] Override http request option.
35983
+ * @throws {RequiredError}
35984
+ * @memberof HospitalsApi
35985
+ */
35986
+ public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId: string, hospitalSpecialtyId: string, mediaId: string, options?: AxiosRequestConfig) {
35987
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId, hospitalSpecialtyId, mediaId, options).then((request) => request(this.axios, this.basePath));
35988
+ }
35989
+
35990
+ /**
35991
+ *
35992
+ * @summary Update HospitalServiceMedia.
35993
+ * @param {string} hospitalId
35994
+ * @param {string} hospitalSpecialtyId
35995
+ * @param {string} mediaId
35996
+ * @param {UpdateMediaCommand} [updateMediaCommand]
35997
+ * @param {*} [options] Override http request option.
35998
+ * @throws {RequiredError}
35999
+ * @memberof HospitalsApi
36000
+ */
36001
+ public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut(hospitalId: string, hospitalSpecialtyId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig) {
36002
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut(hospitalId, hospitalSpecialtyId, mediaId, updateMediaCommand, options).then((request) => request(this.axios, this.basePath));
36003
+ }
36004
+
36005
+ /**
36006
+ *
36007
+ * @summary Create HospitalServiceMedia.
36008
+ * @param {string} hospitalId
36009
+ * @param {string} hospitalSpecialtyId
36010
+ * @param {CreateMediaCommand} [createMediaCommand]
36011
+ * @param {*} [options] Override http request option.
36012
+ * @throws {RequiredError}
36013
+ * @memberof HospitalsApi
36014
+ */
36015
+ public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId: string, hospitalSpecialtyId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig) {
36016
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId, hospitalSpecialtyId, createMediaCommand, options).then((request) => request(this.axios, this.basePath));
36017
+ }
36018
+
35499
36019
  /**
35500
36020
  *
35501
36021
  * @summary Create HospitalSpecialty.
@@ -35750,7 +36270,6 @@ export class HospitalsApi extends BaseAPI {
35750
36270
  *
35751
36271
  * @summary Get all HospitalWorkingDays.
35752
36272
  * @param {string} hospitalId
35753
- * @param {string} [hospitalId2]
35754
36273
  * @param {string} [id]
35755
36274
  * @param {string} [dayOfWeek]
35756
36275
  * @param {Date} [timeFrom]
@@ -35763,8 +36282,8 @@ export class HospitalsApi extends BaseAPI {
35763
36282
  * @throws {RequiredError}
35764
36283
  * @memberof HospitalsApi
35765
36284
  */
35766
- public apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId: string, hospitalId2?: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
35767
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36285
+ public apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
36286
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
35768
36287
  }
35769
36288
 
35770
36289
  /**