ch-admin-api-client-typescript 3.4.8 → 3.4.9
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/lib/api.d.ts +211 -13
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +298 -0
- package/package.json +1 -1
- package/src/api.ts +349 -13
package/src/api.ts
CHANGED
|
@@ -590,6 +590,24 @@ export interface ArticleItemModel {
|
|
|
590
590
|
* @memberof ArticleItemModel
|
|
591
591
|
*/
|
|
592
592
|
'hospitalSlug'?: string | null;
|
|
593
|
+
/**
|
|
594
|
+
*
|
|
595
|
+
* @type {string}
|
|
596
|
+
* @memberof ArticleItemModel
|
|
597
|
+
*/
|
|
598
|
+
'youtubeUrl'?: string | null;
|
|
599
|
+
/**
|
|
600
|
+
*
|
|
601
|
+
* @type {Array<ArticleTagItemModel>}
|
|
602
|
+
* @memberof ArticleItemModel
|
|
603
|
+
*/
|
|
604
|
+
'articleTags'?: Array<ArticleTagItemModel> | null;
|
|
605
|
+
/**
|
|
606
|
+
*
|
|
607
|
+
* @type {Array<MediaModel>}
|
|
608
|
+
* @memberof ArticleItemModel
|
|
609
|
+
*/
|
|
610
|
+
'medias'?: Array<MediaModel> | null;
|
|
593
611
|
/**
|
|
594
612
|
*
|
|
595
613
|
* @type {AuditableEntity}
|
|
@@ -671,46 +689,46 @@ export interface ArticleModel {
|
|
|
671
689
|
'hospitalSlug'?: string | null;
|
|
672
690
|
/**
|
|
673
691
|
*
|
|
674
|
-
* @type {
|
|
692
|
+
* @type {string}
|
|
675
693
|
* @memberof ArticleModel
|
|
676
694
|
*/
|
|
677
|
-
'
|
|
695
|
+
'youtubeUrl'?: string | null;
|
|
678
696
|
/**
|
|
679
697
|
*
|
|
680
|
-
* @type {
|
|
698
|
+
* @type {Array<ArticleTagItemModel>}
|
|
681
699
|
* @memberof ArticleModel
|
|
682
700
|
*/
|
|
683
|
-
'
|
|
701
|
+
'articleTags'?: Array<ArticleTagItemModel> | null;
|
|
684
702
|
/**
|
|
685
703
|
*
|
|
686
|
-
* @type {
|
|
704
|
+
* @type {Array<MediaModel>}
|
|
687
705
|
* @memberof ArticleModel
|
|
688
706
|
*/
|
|
689
|
-
'
|
|
707
|
+
'medias'?: Array<MediaModel> | null;
|
|
690
708
|
/**
|
|
691
709
|
*
|
|
692
|
-
* @type {
|
|
710
|
+
* @type {AuditableEntity}
|
|
693
711
|
* @memberof ArticleModel
|
|
694
712
|
*/
|
|
695
|
-
'
|
|
713
|
+
'auditableEntity'?: AuditableEntity;
|
|
696
714
|
/**
|
|
697
715
|
*
|
|
698
716
|
* @type {string}
|
|
699
717
|
* @memberof ArticleModel
|
|
700
718
|
*/
|
|
701
|
-
'
|
|
719
|
+
'description'?: string | null;
|
|
702
720
|
/**
|
|
703
721
|
*
|
|
704
|
-
* @type {
|
|
722
|
+
* @type {string}
|
|
705
723
|
* @memberof ArticleModel
|
|
706
724
|
*/
|
|
707
|
-
'
|
|
725
|
+
'overview'?: string | null;
|
|
708
726
|
/**
|
|
709
727
|
*
|
|
710
|
-
* @type {
|
|
728
|
+
* @type {string}
|
|
711
729
|
* @memberof ArticleModel
|
|
712
730
|
*/
|
|
713
|
-
'
|
|
731
|
+
'content'?: string | null;
|
|
714
732
|
}
|
|
715
733
|
/**
|
|
716
734
|
*
|
|
@@ -4220,6 +4238,19 @@ export interface CreateHospitalEvaluationCommand {
|
|
|
4220
4238
|
*/
|
|
4221
4239
|
'referenceUrl'?: string | null;
|
|
4222
4240
|
}
|
|
4241
|
+
/**
|
|
4242
|
+
*
|
|
4243
|
+
* @export
|
|
4244
|
+
* @interface CreateHospitalLanguageCommand
|
|
4245
|
+
*/
|
|
4246
|
+
export interface CreateHospitalLanguageCommand {
|
|
4247
|
+
/**
|
|
4248
|
+
*
|
|
4249
|
+
* @type {string}
|
|
4250
|
+
* @memberof CreateHospitalLanguageCommand
|
|
4251
|
+
*/
|
|
4252
|
+
'langaugeCode'?: string | null;
|
|
4253
|
+
}
|
|
4223
4254
|
/**
|
|
4224
4255
|
*
|
|
4225
4256
|
* @export
|
|
@@ -7603,6 +7634,44 @@ export interface HospitalItemModel {
|
|
|
7603
7634
|
*/
|
|
7604
7635
|
'auditableEntity'?: AuditableEntity;
|
|
7605
7636
|
}
|
|
7637
|
+
/**
|
|
7638
|
+
*
|
|
7639
|
+
* @export
|
|
7640
|
+
* @interface HospitalLanguageItemModel
|
|
7641
|
+
*/
|
|
7642
|
+
export interface HospitalLanguageItemModel {
|
|
7643
|
+
/**
|
|
7644
|
+
*
|
|
7645
|
+
* @type {string}
|
|
7646
|
+
* @memberof HospitalLanguageItemModel
|
|
7647
|
+
*/
|
|
7648
|
+
'code'?: string | null;
|
|
7649
|
+
/**
|
|
7650
|
+
*
|
|
7651
|
+
* @type {string}
|
|
7652
|
+
* @memberof HospitalLanguageItemModel
|
|
7653
|
+
*/
|
|
7654
|
+
'name'?: string | null;
|
|
7655
|
+
}
|
|
7656
|
+
/**
|
|
7657
|
+
*
|
|
7658
|
+
* @export
|
|
7659
|
+
* @interface HospitalLanguagesModel
|
|
7660
|
+
*/
|
|
7661
|
+
export interface HospitalLanguagesModel {
|
|
7662
|
+
/**
|
|
7663
|
+
*
|
|
7664
|
+
* @type {Array<HospitalLanguageItemModel>}
|
|
7665
|
+
* @memberof HospitalLanguagesModel
|
|
7666
|
+
*/
|
|
7667
|
+
'items'?: Array<HospitalLanguageItemModel> | null;
|
|
7668
|
+
/**
|
|
7669
|
+
*
|
|
7670
|
+
* @type {PagedListMetaData}
|
|
7671
|
+
* @memberof HospitalLanguagesModel
|
|
7672
|
+
*/
|
|
7673
|
+
'metaData'?: PagedListMetaData;
|
|
7674
|
+
}
|
|
7606
7675
|
/**
|
|
7607
7676
|
*
|
|
7608
7677
|
* @export
|
|
@@ -7765,6 +7834,12 @@ export interface HospitalModel {
|
|
|
7765
7834
|
* @memberof HospitalModel
|
|
7766
7835
|
*/
|
|
7767
7836
|
'customStyle'?: string | null;
|
|
7837
|
+
/**
|
|
7838
|
+
*
|
|
7839
|
+
* @type {Array<HospitalLanguageItemModel>}
|
|
7840
|
+
* @memberof HospitalModel
|
|
7841
|
+
*/
|
|
7842
|
+
'langauges'?: Array<HospitalLanguageItemModel> | null;
|
|
7768
7843
|
}
|
|
7769
7844
|
/**
|
|
7770
7845
|
*
|
|
@@ -31875,6 +31950,150 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
31875
31950
|
options: localVarRequestOptions,
|
|
31876
31951
|
};
|
|
31877
31952
|
},
|
|
31953
|
+
/**
|
|
31954
|
+
*
|
|
31955
|
+
* @summary Get all HospitalWorkingDays.
|
|
31956
|
+
* @param {string} hospitalId
|
|
31957
|
+
* @param {string} [name]
|
|
31958
|
+
* @param {number} [page]
|
|
31959
|
+
* @param {number} [limit]
|
|
31960
|
+
* @param {Date} [lastRetrieved]
|
|
31961
|
+
* @param {*} [options] Override http request option.
|
|
31962
|
+
* @throws {RequiredError}
|
|
31963
|
+
*/
|
|
31964
|
+
apiV1HospitalsHospitalIdLanaguagesGet: async (hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31965
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
31966
|
+
assertParamExists('apiV1HospitalsHospitalIdLanaguagesGet', 'hospitalId', hospitalId)
|
|
31967
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/lanaguages`
|
|
31968
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
31969
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31970
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31971
|
+
let baseOptions;
|
|
31972
|
+
if (configuration) {
|
|
31973
|
+
baseOptions = configuration.baseOptions;
|
|
31974
|
+
}
|
|
31975
|
+
|
|
31976
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
31977
|
+
const localVarHeaderParameter = {} as any;
|
|
31978
|
+
const localVarQueryParameter = {} as any;
|
|
31979
|
+
|
|
31980
|
+
// authentication oauth2 required
|
|
31981
|
+
// oauth required
|
|
31982
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
31983
|
+
|
|
31984
|
+
if (name !== undefined) {
|
|
31985
|
+
localVarQueryParameter['Name'] = name;
|
|
31986
|
+
}
|
|
31987
|
+
|
|
31988
|
+
if (page !== undefined) {
|
|
31989
|
+
localVarQueryParameter['page'] = page;
|
|
31990
|
+
}
|
|
31991
|
+
|
|
31992
|
+
if (limit !== undefined) {
|
|
31993
|
+
localVarQueryParameter['limit'] = limit;
|
|
31994
|
+
}
|
|
31995
|
+
|
|
31996
|
+
if (lastRetrieved !== undefined) {
|
|
31997
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
31998
|
+
(lastRetrieved as any).toISOString() :
|
|
31999
|
+
lastRetrieved;
|
|
32000
|
+
}
|
|
32001
|
+
|
|
32002
|
+
|
|
32003
|
+
|
|
32004
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32005
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32006
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32007
|
+
|
|
32008
|
+
return {
|
|
32009
|
+
url: toPathString(localVarUrlObj),
|
|
32010
|
+
options: localVarRequestOptions,
|
|
32011
|
+
};
|
|
32012
|
+
},
|
|
32013
|
+
/**
|
|
32014
|
+
*
|
|
32015
|
+
* @summary Delete HospitalWorkingDay.
|
|
32016
|
+
* @param {string} hospitalId
|
|
32017
|
+
* @param {string} languageCode
|
|
32018
|
+
* @param {*} [options] Override http request option.
|
|
32019
|
+
* @throws {RequiredError}
|
|
32020
|
+
*/
|
|
32021
|
+
apiV1HospitalsHospitalIdLanaguagesLanguageCodeDelete: async (hospitalId: string, languageCode: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32022
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
32023
|
+
assertParamExists('apiV1HospitalsHospitalIdLanaguagesLanguageCodeDelete', 'hospitalId', hospitalId)
|
|
32024
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
32025
|
+
assertParamExists('apiV1HospitalsHospitalIdLanaguagesLanguageCodeDelete', 'languageCode', languageCode)
|
|
32026
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/lanaguages/{languageCode}`
|
|
32027
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
32028
|
+
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)));
|
|
32029
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32030
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32031
|
+
let baseOptions;
|
|
32032
|
+
if (configuration) {
|
|
32033
|
+
baseOptions = configuration.baseOptions;
|
|
32034
|
+
}
|
|
32035
|
+
|
|
32036
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
32037
|
+
const localVarHeaderParameter = {} as any;
|
|
32038
|
+
const localVarQueryParameter = {} as any;
|
|
32039
|
+
|
|
32040
|
+
// authentication oauth2 required
|
|
32041
|
+
// oauth required
|
|
32042
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
32043
|
+
|
|
32044
|
+
|
|
32045
|
+
|
|
32046
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32047
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32048
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32049
|
+
|
|
32050
|
+
return {
|
|
32051
|
+
url: toPathString(localVarUrlObj),
|
|
32052
|
+
options: localVarRequestOptions,
|
|
32053
|
+
};
|
|
32054
|
+
},
|
|
32055
|
+
/**
|
|
32056
|
+
*
|
|
32057
|
+
* @summary Create HospitalLanguages.
|
|
32058
|
+
* @param {string} hospitalId
|
|
32059
|
+
* @param {CreateHospitalLanguageCommand} [createHospitalLanguageCommand]
|
|
32060
|
+
* @param {*} [options] Override http request option.
|
|
32061
|
+
* @throws {RequiredError}
|
|
32062
|
+
*/
|
|
32063
|
+
apiV1HospitalsHospitalIdLanaguagesPost: async (hospitalId: string, createHospitalLanguageCommand?: CreateHospitalLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32064
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
32065
|
+
assertParamExists('apiV1HospitalsHospitalIdLanaguagesPost', 'hospitalId', hospitalId)
|
|
32066
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/lanaguages`
|
|
32067
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
32068
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32069
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32070
|
+
let baseOptions;
|
|
32071
|
+
if (configuration) {
|
|
32072
|
+
baseOptions = configuration.baseOptions;
|
|
32073
|
+
}
|
|
32074
|
+
|
|
32075
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
32076
|
+
const localVarHeaderParameter = {} as any;
|
|
32077
|
+
const localVarQueryParameter = {} as any;
|
|
32078
|
+
|
|
32079
|
+
// authentication oauth2 required
|
|
32080
|
+
// oauth required
|
|
32081
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
32082
|
+
|
|
32083
|
+
|
|
32084
|
+
|
|
32085
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32086
|
+
|
|
32087
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32088
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32089
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32090
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createHospitalLanguageCommand, localVarRequestOptions, configuration)
|
|
32091
|
+
|
|
32092
|
+
return {
|
|
32093
|
+
url: toPathString(localVarUrlObj),
|
|
32094
|
+
options: localVarRequestOptions,
|
|
32095
|
+
};
|
|
32096
|
+
},
|
|
31878
32097
|
/**
|
|
31879
32098
|
*
|
|
31880
32099
|
* @summary Get all HospitalMedias.
|
|
@@ -34347,6 +34566,45 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
34347
34566
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options);
|
|
34348
34567
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34349
34568
|
},
|
|
34569
|
+
/**
|
|
34570
|
+
*
|
|
34571
|
+
* @summary Get all HospitalWorkingDays.
|
|
34572
|
+
* @param {string} hospitalId
|
|
34573
|
+
* @param {string} [name]
|
|
34574
|
+
* @param {number} [page]
|
|
34575
|
+
* @param {number} [limit]
|
|
34576
|
+
* @param {Date} [lastRetrieved]
|
|
34577
|
+
* @param {*} [options] Override http request option.
|
|
34578
|
+
* @throws {RequiredError}
|
|
34579
|
+
*/
|
|
34580
|
+
async apiV1HospitalsHospitalIdLanaguagesGet(hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalLanguagesModel>> {
|
|
34581
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanaguagesGet(hospitalId, name, page, limit, lastRetrieved, options);
|
|
34582
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34583
|
+
},
|
|
34584
|
+
/**
|
|
34585
|
+
*
|
|
34586
|
+
* @summary Delete HospitalWorkingDay.
|
|
34587
|
+
* @param {string} hospitalId
|
|
34588
|
+
* @param {string} languageCode
|
|
34589
|
+
* @param {*} [options] Override http request option.
|
|
34590
|
+
* @throws {RequiredError}
|
|
34591
|
+
*/
|
|
34592
|
+
async apiV1HospitalsHospitalIdLanaguagesLanguageCodeDelete(hospitalId: string, languageCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
34593
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanaguagesLanguageCodeDelete(hospitalId, languageCode, options);
|
|
34594
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34595
|
+
},
|
|
34596
|
+
/**
|
|
34597
|
+
*
|
|
34598
|
+
* @summary Create HospitalLanguages.
|
|
34599
|
+
* @param {string} hospitalId
|
|
34600
|
+
* @param {CreateHospitalLanguageCommand} [createHospitalLanguageCommand]
|
|
34601
|
+
* @param {*} [options] Override http request option.
|
|
34602
|
+
* @throws {RequiredError}
|
|
34603
|
+
*/
|
|
34604
|
+
async apiV1HospitalsHospitalIdLanaguagesPost(hospitalId: string, createHospitalLanguageCommand?: CreateHospitalLanguageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
34605
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanaguagesPost(hospitalId, createHospitalLanguageCommand, options);
|
|
34606
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34607
|
+
},
|
|
34350
34608
|
/**
|
|
34351
34609
|
*
|
|
34352
34610
|
* @summary Get all HospitalMedias.
|
|
@@ -35253,6 +35511,42 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
35253
35511
|
apiV1HospitalsHospitalIdHandlesPost(hospitalId: string, createHospitalSnsHandleCommand?: CreateHospitalSnsHandleCommand, options?: any): AxiosPromise<SnsHandleModel> {
|
|
35254
35512
|
return localVarFp.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then((request) => request(axios, basePath));
|
|
35255
35513
|
},
|
|
35514
|
+
/**
|
|
35515
|
+
*
|
|
35516
|
+
* @summary Get all HospitalWorkingDays.
|
|
35517
|
+
* @param {string} hospitalId
|
|
35518
|
+
* @param {string} [name]
|
|
35519
|
+
* @param {number} [page]
|
|
35520
|
+
* @param {number} [limit]
|
|
35521
|
+
* @param {Date} [lastRetrieved]
|
|
35522
|
+
* @param {*} [options] Override http request option.
|
|
35523
|
+
* @throws {RequiredError}
|
|
35524
|
+
*/
|
|
35525
|
+
apiV1HospitalsHospitalIdLanaguagesGet(hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalLanguagesModel> {
|
|
35526
|
+
return localVarFp.apiV1HospitalsHospitalIdLanaguagesGet(hospitalId, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
35527
|
+
},
|
|
35528
|
+
/**
|
|
35529
|
+
*
|
|
35530
|
+
* @summary Delete HospitalWorkingDay.
|
|
35531
|
+
* @param {string} hospitalId
|
|
35532
|
+
* @param {string} languageCode
|
|
35533
|
+
* @param {*} [options] Override http request option.
|
|
35534
|
+
* @throws {RequiredError}
|
|
35535
|
+
*/
|
|
35536
|
+
apiV1HospitalsHospitalIdLanaguagesLanguageCodeDelete(hospitalId: string, languageCode: string, options?: any): AxiosPromise<boolean> {
|
|
35537
|
+
return localVarFp.apiV1HospitalsHospitalIdLanaguagesLanguageCodeDelete(hospitalId, languageCode, options).then((request) => request(axios, basePath));
|
|
35538
|
+
},
|
|
35539
|
+
/**
|
|
35540
|
+
*
|
|
35541
|
+
* @summary Create HospitalLanguages.
|
|
35542
|
+
* @param {string} hospitalId
|
|
35543
|
+
* @param {CreateHospitalLanguageCommand} [createHospitalLanguageCommand]
|
|
35544
|
+
* @param {*} [options] Override http request option.
|
|
35545
|
+
* @throws {RequiredError}
|
|
35546
|
+
*/
|
|
35547
|
+
apiV1HospitalsHospitalIdLanaguagesPost(hospitalId: string, createHospitalLanguageCommand?: CreateHospitalLanguageCommand, options?: any): AxiosPromise<boolean> {
|
|
35548
|
+
return localVarFp.apiV1HospitalsHospitalIdLanaguagesPost(hospitalId, createHospitalLanguageCommand, options).then((request) => request(axios, basePath));
|
|
35549
|
+
},
|
|
35256
35550
|
/**
|
|
35257
35551
|
*
|
|
35258
35552
|
* @summary Get all HospitalMedias.
|
|
@@ -36175,6 +36469,48 @@ export class HospitalsApi extends BaseAPI {
|
|
|
36175
36469
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then((request) => request(this.axios, this.basePath));
|
|
36176
36470
|
}
|
|
36177
36471
|
|
|
36472
|
+
/**
|
|
36473
|
+
*
|
|
36474
|
+
* @summary Get all HospitalWorkingDays.
|
|
36475
|
+
* @param {string} hospitalId
|
|
36476
|
+
* @param {string} [name]
|
|
36477
|
+
* @param {number} [page]
|
|
36478
|
+
* @param {number} [limit]
|
|
36479
|
+
* @param {Date} [lastRetrieved]
|
|
36480
|
+
* @param {*} [options] Override http request option.
|
|
36481
|
+
* @throws {RequiredError}
|
|
36482
|
+
* @memberof HospitalsApi
|
|
36483
|
+
*/
|
|
36484
|
+
public apiV1HospitalsHospitalIdLanaguagesGet(hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
36485
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanaguagesGet(hospitalId, name, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
36486
|
+
}
|
|
36487
|
+
|
|
36488
|
+
/**
|
|
36489
|
+
*
|
|
36490
|
+
* @summary Delete HospitalWorkingDay.
|
|
36491
|
+
* @param {string} hospitalId
|
|
36492
|
+
* @param {string} languageCode
|
|
36493
|
+
* @param {*} [options] Override http request option.
|
|
36494
|
+
* @throws {RequiredError}
|
|
36495
|
+
* @memberof HospitalsApi
|
|
36496
|
+
*/
|
|
36497
|
+
public apiV1HospitalsHospitalIdLanaguagesLanguageCodeDelete(hospitalId: string, languageCode: string, options?: AxiosRequestConfig) {
|
|
36498
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanaguagesLanguageCodeDelete(hospitalId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
36499
|
+
}
|
|
36500
|
+
|
|
36501
|
+
/**
|
|
36502
|
+
*
|
|
36503
|
+
* @summary Create HospitalLanguages.
|
|
36504
|
+
* @param {string} hospitalId
|
|
36505
|
+
* @param {CreateHospitalLanguageCommand} [createHospitalLanguageCommand]
|
|
36506
|
+
* @param {*} [options] Override http request option.
|
|
36507
|
+
* @throws {RequiredError}
|
|
36508
|
+
* @memberof HospitalsApi
|
|
36509
|
+
*/
|
|
36510
|
+
public apiV1HospitalsHospitalIdLanaguagesPost(hospitalId: string, createHospitalLanguageCommand?: CreateHospitalLanguageCommand, options?: AxiosRequestConfig) {
|
|
36511
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanaguagesPost(hospitalId, createHospitalLanguageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
36512
|
+
}
|
|
36513
|
+
|
|
36178
36514
|
/**
|
|
36179
36515
|
*
|
|
36180
36516
|
* @summary Get all HospitalMedias.
|