ch-admin-api-client-typescript 4.2.7 → 4.2.10
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 +96 -80
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +137 -151
- package/package.json +1 -1
- package/src/api.ts +168 -156
package/src/api.ts
CHANGED
|
@@ -5822,6 +5822,18 @@ export interface DoctorAffiliationItemModel {
|
|
|
5822
5822
|
* @memberof DoctorAffiliationItemModel
|
|
5823
5823
|
*/
|
|
5824
5824
|
'hospitalSlug'?: string | null;
|
|
5825
|
+
/**
|
|
5826
|
+
*
|
|
5827
|
+
* @type {string}
|
|
5828
|
+
* @memberof DoctorAffiliationItemModel
|
|
5829
|
+
*/
|
|
5830
|
+
'countryId'?: string;
|
|
5831
|
+
/**
|
|
5832
|
+
*
|
|
5833
|
+
* @type {MarketingType}
|
|
5834
|
+
* @memberof DoctorAffiliationItemModel
|
|
5835
|
+
*/
|
|
5836
|
+
'marketingType'?: MarketingType;
|
|
5825
5837
|
/**
|
|
5826
5838
|
*
|
|
5827
5839
|
* @type {string}
|
|
@@ -5919,6 +5931,18 @@ export interface DoctorAffiliationModel {
|
|
|
5919
5931
|
* @memberof DoctorAffiliationModel
|
|
5920
5932
|
*/
|
|
5921
5933
|
'hospitalSlug'?: string | null;
|
|
5934
|
+
/**
|
|
5935
|
+
*
|
|
5936
|
+
* @type {string}
|
|
5937
|
+
* @memberof DoctorAffiliationModel
|
|
5938
|
+
*/
|
|
5939
|
+
'countryId'?: string;
|
|
5940
|
+
/**
|
|
5941
|
+
*
|
|
5942
|
+
* @type {MarketingType}
|
|
5943
|
+
* @memberof DoctorAffiliationModel
|
|
5944
|
+
*/
|
|
5945
|
+
'marketingType'?: MarketingType;
|
|
5922
5946
|
/**
|
|
5923
5947
|
*
|
|
5924
5948
|
* @type {string}
|
|
@@ -25116,6 +25140,8 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
|
|
|
25116
25140
|
* @param {string} [doctorName]
|
|
25117
25141
|
* @param {string} [doctorSlug]
|
|
25118
25142
|
* @param {string} [specialtyId]
|
|
25143
|
+
* @param {MarketingType} [marketingType]
|
|
25144
|
+
* @param {string} [countryId]
|
|
25119
25145
|
* @param {string} [languageCode]
|
|
25120
25146
|
* @param {boolean} [showHidden]
|
|
25121
25147
|
* @param {number} [page]
|
|
@@ -25124,7 +25150,7 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
|
|
|
25124
25150
|
* @param {*} [options] Override http request option.
|
|
25125
25151
|
* @throws {RequiredError}
|
|
25126
25152
|
*/
|
|
25127
|
-
apiV1DoctoraffiliationsGet: async (hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25153
|
+
apiV1DoctoraffiliationsGet: async (hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25128
25154
|
const localVarPath = `/api/v1/doctoraffiliations`;
|
|
25129
25155
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25130
25156
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -25165,6 +25191,14 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
|
|
|
25165
25191
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
25166
25192
|
}
|
|
25167
25193
|
|
|
25194
|
+
if (marketingType !== undefined) {
|
|
25195
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
25196
|
+
}
|
|
25197
|
+
|
|
25198
|
+
if (countryId !== undefined) {
|
|
25199
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
25200
|
+
}
|
|
25201
|
+
|
|
25168
25202
|
if (languageCode !== undefined) {
|
|
25169
25203
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
25170
25204
|
}
|
|
@@ -25442,6 +25476,8 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
|
25442
25476
|
* @param {string} [doctorName]
|
|
25443
25477
|
* @param {string} [doctorSlug]
|
|
25444
25478
|
* @param {string} [specialtyId]
|
|
25479
|
+
* @param {MarketingType} [marketingType]
|
|
25480
|
+
* @param {string} [countryId]
|
|
25445
25481
|
* @param {string} [languageCode]
|
|
25446
25482
|
* @param {boolean} [showHidden]
|
|
25447
25483
|
* @param {number} [page]
|
|
@@ -25450,8 +25486,8 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
|
25450
25486
|
* @param {*} [options] Override http request option.
|
|
25451
25487
|
* @throws {RequiredError}
|
|
25452
25488
|
*/
|
|
25453
|
-
async apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationsModel>> {
|
|
25454
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
25489
|
+
async apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationsModel>> {
|
|
25490
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
25455
25491
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25456
25492
|
},
|
|
25457
25493
|
/**
|
|
@@ -25578,6 +25614,8 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
|
|
|
25578
25614
|
* @param {string} [doctorName]
|
|
25579
25615
|
* @param {string} [doctorSlug]
|
|
25580
25616
|
* @param {string} [specialtyId]
|
|
25617
|
+
* @param {MarketingType} [marketingType]
|
|
25618
|
+
* @param {string} [countryId]
|
|
25581
25619
|
* @param {string} [languageCode]
|
|
25582
25620
|
* @param {boolean} [showHidden]
|
|
25583
25621
|
* @param {number} [page]
|
|
@@ -25586,8 +25624,8 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
|
|
|
25586
25624
|
* @param {*} [options] Override http request option.
|
|
25587
25625
|
* @throws {RequiredError}
|
|
25588
25626
|
*/
|
|
25589
|
-
apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorAffiliationsModel> {
|
|
25590
|
-
return localVarFp.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25627
|
+
apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorAffiliationsModel> {
|
|
25628
|
+
return localVarFp.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25591
25629
|
},
|
|
25592
25630
|
/**
|
|
25593
25631
|
*
|
|
@@ -25719,6 +25757,8 @@ export class DoctorAffiliationsApi extends BaseAPI {
|
|
|
25719
25757
|
* @param {string} [doctorName]
|
|
25720
25758
|
* @param {string} [doctorSlug]
|
|
25721
25759
|
* @param {string} [specialtyId]
|
|
25760
|
+
* @param {MarketingType} [marketingType]
|
|
25761
|
+
* @param {string} [countryId]
|
|
25722
25762
|
* @param {string} [languageCode]
|
|
25723
25763
|
* @param {boolean} [showHidden]
|
|
25724
25764
|
* @param {number} [page]
|
|
@@ -25728,8 +25768,8 @@ export class DoctorAffiliationsApi extends BaseAPI {
|
|
|
25728
25768
|
* @throws {RequiredError}
|
|
25729
25769
|
* @memberof DoctorAffiliationsApi
|
|
25730
25770
|
*/
|
|
25731
|
-
public apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
25732
|
-
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25771
|
+
public apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
25772
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25733
25773
|
}
|
|
25734
25774
|
|
|
25735
25775
|
/**
|
|
@@ -26376,24 +26416,20 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26376
26416
|
},
|
|
26377
26417
|
/**
|
|
26378
26418
|
*
|
|
26379
|
-
* @summary
|
|
26419
|
+
* @summary Get all DoctorLanguages.
|
|
26380
26420
|
* @param {string} doctorId
|
|
26381
|
-
* @param {string}
|
|
26382
|
-
* @param {
|
|
26421
|
+
* @param {string} [language]
|
|
26422
|
+
* @param {number} [page]
|
|
26423
|
+
* @param {number} [limit]
|
|
26424
|
+
* @param {Date} [lastRetrieved]
|
|
26383
26425
|
* @param {*} [options] Override http request option.
|
|
26384
26426
|
* @throws {RequiredError}
|
|
26385
26427
|
*/
|
|
26386
|
-
|
|
26428
|
+
apiV1DoctorsDoctorIdLanguagesGet: async (doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26387
26429
|
// verify required parameter 'doctorId' is not null or undefined
|
|
26388
|
-
assertParamExists('
|
|
26389
|
-
|
|
26390
|
-
|
|
26391
|
-
// verify required parameter 'code' is not null or undefined
|
|
26392
|
-
assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeDelete', 'code', code)
|
|
26393
|
-
const localVarPath = `/api/v1/doctors/{doctorId}/languages/{code}`
|
|
26394
|
-
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
26395
|
-
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)))
|
|
26396
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
26430
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesGet', 'doctorId', doctorId)
|
|
26431
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/languages`
|
|
26432
|
+
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
|
|
26397
26433
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26398
26434
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26399
26435
|
let baseOptions;
|
|
@@ -26401,7 +26437,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26401
26437
|
baseOptions = configuration.baseOptions;
|
|
26402
26438
|
}
|
|
26403
26439
|
|
|
26404
|
-
const localVarRequestOptions = { method: '
|
|
26440
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
26405
26441
|
const localVarHeaderParameter = {} as any;
|
|
26406
26442
|
const localVarQueryParameter = {} as any;
|
|
26407
26443
|
|
|
@@ -26409,6 +26445,24 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26409
26445
|
// oauth required
|
|
26410
26446
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
26411
26447
|
|
|
26448
|
+
if (language !== undefined) {
|
|
26449
|
+
localVarQueryParameter['Language'] = language;
|
|
26450
|
+
}
|
|
26451
|
+
|
|
26452
|
+
if (page !== undefined) {
|
|
26453
|
+
localVarQueryParameter['page'] = page;
|
|
26454
|
+
}
|
|
26455
|
+
|
|
26456
|
+
if (limit !== undefined) {
|
|
26457
|
+
localVarQueryParameter['limit'] = limit;
|
|
26458
|
+
}
|
|
26459
|
+
|
|
26460
|
+
if (lastRetrieved !== undefined) {
|
|
26461
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
26462
|
+
(lastRetrieved as any).toISOString() :
|
|
26463
|
+
lastRetrieved;
|
|
26464
|
+
}
|
|
26465
|
+
|
|
26412
26466
|
|
|
26413
26467
|
|
|
26414
26468
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -26422,24 +26476,20 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26422
26476
|
},
|
|
26423
26477
|
/**
|
|
26424
26478
|
*
|
|
26425
|
-
* @summary
|
|
26479
|
+
* @summary Delete DoctorLanguage
|
|
26426
26480
|
* @param {string} doctorId
|
|
26427
26481
|
* @param {string} languageId
|
|
26428
|
-
* @param {string} code
|
|
26429
26482
|
* @param {*} [options] Override http request option.
|
|
26430
26483
|
* @throws {RequiredError}
|
|
26431
26484
|
*/
|
|
26432
|
-
|
|
26485
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdDelete: async (doctorId: string, languageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26433
26486
|
// verify required parameter 'doctorId' is not null or undefined
|
|
26434
|
-
assertParamExists('
|
|
26487
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdDelete', 'doctorId', doctorId)
|
|
26435
26488
|
// verify required parameter 'languageId' is not null or undefined
|
|
26436
|
-
assertParamExists('
|
|
26437
|
-
|
|
26438
|
-
assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeGet', 'code', code)
|
|
26439
|
-
const localVarPath = `/api/v1/doctors/{doctorId}/languages/{code}`
|
|
26489
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdDelete', 'languageId', languageId)
|
|
26490
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/languages/{languageId}`
|
|
26440
26491
|
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
26441
|
-
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)))
|
|
26442
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
26492
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
26443
26493
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26444
26494
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26445
26495
|
let baseOptions;
|
|
@@ -26447,7 +26497,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26447
26497
|
baseOptions = configuration.baseOptions;
|
|
26448
26498
|
}
|
|
26449
26499
|
|
|
26450
|
-
const localVarRequestOptions = { method: '
|
|
26500
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
26451
26501
|
const localVarHeaderParameter = {} as any;
|
|
26452
26502
|
const localVarQueryParameter = {} as any;
|
|
26453
26503
|
|
|
@@ -26468,25 +26518,20 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26468
26518
|
},
|
|
26469
26519
|
/**
|
|
26470
26520
|
*
|
|
26471
|
-
* @summary
|
|
26521
|
+
* @summary Get DoctorLanguage.
|
|
26472
26522
|
* @param {string} doctorId
|
|
26473
26523
|
* @param {string} languageId
|
|
26474
|
-
* @param {string} code
|
|
26475
|
-
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
26476
26524
|
* @param {*} [options] Override http request option.
|
|
26477
26525
|
* @throws {RequiredError}
|
|
26478
26526
|
*/
|
|
26479
|
-
|
|
26527
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdGet: async (doctorId: string, languageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26480
26528
|
// verify required parameter 'doctorId' is not null or undefined
|
|
26481
|
-
assertParamExists('
|
|
26529
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdGet', 'doctorId', doctorId)
|
|
26482
26530
|
// verify required parameter 'languageId' is not null or undefined
|
|
26483
|
-
assertParamExists('
|
|
26484
|
-
|
|
26485
|
-
assertParamExists('apiV1DoctorsDoctorIdLanguagesCodePut', 'code', code)
|
|
26486
|
-
const localVarPath = `/api/v1/doctors/{doctorId}/languages/{code}`
|
|
26531
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdGet', 'languageId', languageId)
|
|
26532
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/languages/{languageId}`
|
|
26487
26533
|
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
26488
|
-
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)))
|
|
26489
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
26534
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
26490
26535
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26491
26536
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26492
26537
|
let baseOptions;
|
|
@@ -26494,7 +26539,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26494
26539
|
baseOptions = configuration.baseOptions;
|
|
26495
26540
|
}
|
|
26496
26541
|
|
|
26497
|
-
const localVarRequestOptions = { method: '
|
|
26542
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
26498
26543
|
const localVarHeaderParameter = {} as any;
|
|
26499
26544
|
const localVarQueryParameter = {} as any;
|
|
26500
26545
|
|
|
@@ -26504,12 +26549,9 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26504
26549
|
|
|
26505
26550
|
|
|
26506
26551
|
|
|
26507
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26508
|
-
|
|
26509
26552
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26510
26553
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26511
26554
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26512
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration)
|
|
26513
26555
|
|
|
26514
26556
|
return {
|
|
26515
26557
|
url: toPathString(localVarUrlObj),
|
|
@@ -26518,20 +26560,21 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26518
26560
|
},
|
|
26519
26561
|
/**
|
|
26520
26562
|
*
|
|
26521
|
-
* @summary
|
|
26563
|
+
* @summary Update DoctorLanguage.
|
|
26522
26564
|
* @param {string} doctorId
|
|
26523
|
-
* @param {string}
|
|
26524
|
-
* @param {
|
|
26525
|
-
* @param {number} [limit]
|
|
26526
|
-
* @param {Date} [lastRetrieved]
|
|
26565
|
+
* @param {string} languageId
|
|
26566
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
26527
26567
|
* @param {*} [options] Override http request option.
|
|
26528
26568
|
* @throws {RequiredError}
|
|
26529
26569
|
*/
|
|
26530
|
-
|
|
26570
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdPut: async (doctorId: string, languageId: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26531
26571
|
// verify required parameter 'doctorId' is not null or undefined
|
|
26532
|
-
assertParamExists('
|
|
26533
|
-
|
|
26534
|
-
|
|
26572
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdPut', 'doctorId', doctorId)
|
|
26573
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
26574
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdPut', 'languageId', languageId)
|
|
26575
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/languages/{languageId}`
|
|
26576
|
+
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
26577
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
26535
26578
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26536
26579
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26537
26580
|
let baseOptions;
|
|
@@ -26539,7 +26582,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26539
26582
|
baseOptions = configuration.baseOptions;
|
|
26540
26583
|
}
|
|
26541
26584
|
|
|
26542
|
-
const localVarRequestOptions = { method: '
|
|
26585
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
26543
26586
|
const localVarHeaderParameter = {} as any;
|
|
26544
26587
|
const localVarQueryParameter = {} as any;
|
|
26545
26588
|
|
|
@@ -26547,29 +26590,14 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26547
26590
|
// oauth required
|
|
26548
26591
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
26549
26592
|
|
|
26550
|
-
if (language !== undefined) {
|
|
26551
|
-
localVarQueryParameter['Language'] = language;
|
|
26552
|
-
}
|
|
26553
|
-
|
|
26554
|
-
if (page !== undefined) {
|
|
26555
|
-
localVarQueryParameter['page'] = page;
|
|
26556
|
-
}
|
|
26557
|
-
|
|
26558
|
-
if (limit !== undefined) {
|
|
26559
|
-
localVarQueryParameter['limit'] = limit;
|
|
26560
|
-
}
|
|
26561
|
-
|
|
26562
|
-
if (lastRetrieved !== undefined) {
|
|
26563
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
26564
|
-
(lastRetrieved as any).toISOString() :
|
|
26565
|
-
lastRetrieved;
|
|
26566
|
-
}
|
|
26567
|
-
|
|
26568
26593
|
|
|
26569
26594
|
|
|
26595
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26596
|
+
|
|
26570
26597
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26571
26598
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26572
26599
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26600
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration)
|
|
26573
26601
|
|
|
26574
26602
|
return {
|
|
26575
26603
|
url: toPathString(localVarUrlObj),
|
|
@@ -27823,57 +27851,54 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
27823
27851
|
},
|
|
27824
27852
|
/**
|
|
27825
27853
|
*
|
|
27826
|
-
* @summary
|
|
27854
|
+
* @summary Get all DoctorLanguages.
|
|
27827
27855
|
* @param {string} doctorId
|
|
27828
|
-
* @param {string}
|
|
27829
|
-
* @param {
|
|
27856
|
+
* @param {string} [language]
|
|
27857
|
+
* @param {number} [page]
|
|
27858
|
+
* @param {number} [limit]
|
|
27859
|
+
* @param {Date} [lastRetrieved]
|
|
27830
27860
|
* @param {*} [options] Override http request option.
|
|
27831
27861
|
* @throws {RequiredError}
|
|
27832
27862
|
*/
|
|
27833
|
-
async
|
|
27834
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
27863
|
+
async apiV1DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguagesModel>> {
|
|
27864
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options);
|
|
27835
27865
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27836
27866
|
},
|
|
27837
27867
|
/**
|
|
27838
27868
|
*
|
|
27839
|
-
* @summary
|
|
27869
|
+
* @summary Delete DoctorLanguage
|
|
27840
27870
|
* @param {string} doctorId
|
|
27841
27871
|
* @param {string} languageId
|
|
27842
|
-
* @param {string} code
|
|
27843
27872
|
* @param {*} [options] Override http request option.
|
|
27844
27873
|
* @throws {RequiredError}
|
|
27845
27874
|
*/
|
|
27846
|
-
async
|
|
27847
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
27875
|
+
async apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId: string, languageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
27876
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options);
|
|
27848
27877
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27849
27878
|
},
|
|
27850
27879
|
/**
|
|
27851
27880
|
*
|
|
27852
|
-
* @summary
|
|
27881
|
+
* @summary Get DoctorLanguage.
|
|
27853
27882
|
* @param {string} doctorId
|
|
27854
27883
|
* @param {string} languageId
|
|
27855
|
-
* @param {string} code
|
|
27856
|
-
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
27857
27884
|
* @param {*} [options] Override http request option.
|
|
27858
27885
|
* @throws {RequiredError}
|
|
27859
27886
|
*/
|
|
27860
|
-
async
|
|
27861
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
27887
|
+
async apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId: string, languageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguageModel>> {
|
|
27888
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options);
|
|
27862
27889
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27863
27890
|
},
|
|
27864
27891
|
/**
|
|
27865
27892
|
*
|
|
27866
|
-
* @summary
|
|
27893
|
+
* @summary Update DoctorLanguage.
|
|
27867
27894
|
* @param {string} doctorId
|
|
27868
|
-
* @param {string}
|
|
27869
|
-
* @param {
|
|
27870
|
-
* @param {number} [limit]
|
|
27871
|
-
* @param {Date} [lastRetrieved]
|
|
27895
|
+
* @param {string} languageId
|
|
27896
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
27872
27897
|
* @param {*} [options] Override http request option.
|
|
27873
27898
|
* @throws {RequiredError}
|
|
27874
27899
|
*/
|
|
27875
|
-
async
|
|
27876
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
27900
|
+
async apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId: string, languageId: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguageModel>> {
|
|
27901
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options);
|
|
27877
27902
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27878
27903
|
},
|
|
27879
27904
|
/**
|
|
@@ -28316,54 +28341,51 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
28316
28341
|
},
|
|
28317
28342
|
/**
|
|
28318
28343
|
*
|
|
28319
|
-
* @summary
|
|
28344
|
+
* @summary Get all DoctorLanguages.
|
|
28320
28345
|
* @param {string} doctorId
|
|
28321
|
-
* @param {string}
|
|
28322
|
-
* @param {
|
|
28346
|
+
* @param {string} [language]
|
|
28347
|
+
* @param {number} [page]
|
|
28348
|
+
* @param {number} [limit]
|
|
28349
|
+
* @param {Date} [lastRetrieved]
|
|
28323
28350
|
* @param {*} [options] Override http request option.
|
|
28324
28351
|
* @throws {RequiredError}
|
|
28325
28352
|
*/
|
|
28326
|
-
|
|
28327
|
-
return localVarFp.
|
|
28353
|
+
apiV1DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorLanguagesModel> {
|
|
28354
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
28328
28355
|
},
|
|
28329
28356
|
/**
|
|
28330
28357
|
*
|
|
28331
|
-
* @summary
|
|
28358
|
+
* @summary Delete DoctorLanguage
|
|
28332
28359
|
* @param {string} doctorId
|
|
28333
28360
|
* @param {string} languageId
|
|
28334
|
-
* @param {string} code
|
|
28335
28361
|
* @param {*} [options] Override http request option.
|
|
28336
28362
|
* @throws {RequiredError}
|
|
28337
28363
|
*/
|
|
28338
|
-
|
|
28339
|
-
return localVarFp.
|
|
28364
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId: string, languageId: string, options?: any): AxiosPromise<boolean> {
|
|
28365
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options).then((request) => request(axios, basePath));
|
|
28340
28366
|
},
|
|
28341
28367
|
/**
|
|
28342
28368
|
*
|
|
28343
|
-
* @summary
|
|
28369
|
+
* @summary Get DoctorLanguage.
|
|
28344
28370
|
* @param {string} doctorId
|
|
28345
28371
|
* @param {string} languageId
|
|
28346
|
-
* @param {string} code
|
|
28347
|
-
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
28348
28372
|
* @param {*} [options] Override http request option.
|
|
28349
28373
|
* @throws {RequiredError}
|
|
28350
28374
|
*/
|
|
28351
|
-
|
|
28352
|
-
return localVarFp.
|
|
28375
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId: string, languageId: string, options?: any): AxiosPromise<DoctorLanguageModel> {
|
|
28376
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then((request) => request(axios, basePath));
|
|
28353
28377
|
},
|
|
28354
28378
|
/**
|
|
28355
28379
|
*
|
|
28356
|
-
* @summary
|
|
28380
|
+
* @summary Update DoctorLanguage.
|
|
28357
28381
|
* @param {string} doctorId
|
|
28358
|
-
* @param {string}
|
|
28359
|
-
* @param {
|
|
28360
|
-
* @param {number} [limit]
|
|
28361
|
-
* @param {Date} [lastRetrieved]
|
|
28382
|
+
* @param {string} languageId
|
|
28383
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
28362
28384
|
* @param {*} [options] Override http request option.
|
|
28363
28385
|
* @throws {RequiredError}
|
|
28364
28386
|
*/
|
|
28365
|
-
|
|
28366
|
-
return localVarFp.
|
|
28387
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId: string, languageId: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options?: any): AxiosPromise<DoctorLanguageModel> {
|
|
28388
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options).then((request) => request(axios, basePath));
|
|
28367
28389
|
},
|
|
28368
28390
|
/**
|
|
28369
28391
|
*
|
|
@@ -28809,61 +28831,58 @@ export class DoctorsApi extends BaseAPI {
|
|
|
28809
28831
|
|
|
28810
28832
|
/**
|
|
28811
28833
|
*
|
|
28812
|
-
* @summary
|
|
28834
|
+
* @summary Get all DoctorLanguages.
|
|
28813
28835
|
* @param {string} doctorId
|
|
28814
|
-
* @param {string}
|
|
28815
|
-
* @param {
|
|
28836
|
+
* @param {string} [language]
|
|
28837
|
+
* @param {number} [page]
|
|
28838
|
+
* @param {number} [limit]
|
|
28839
|
+
* @param {Date} [lastRetrieved]
|
|
28816
28840
|
* @param {*} [options] Override http request option.
|
|
28817
28841
|
* @throws {RequiredError}
|
|
28818
28842
|
* @memberof DoctorsApi
|
|
28819
28843
|
*/
|
|
28820
|
-
public
|
|
28821
|
-
return DoctorsApiFp(this.configuration).
|
|
28844
|
+
public apiV1DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
28845
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
28822
28846
|
}
|
|
28823
28847
|
|
|
28824
28848
|
/**
|
|
28825
28849
|
*
|
|
28826
|
-
* @summary
|
|
28850
|
+
* @summary Delete DoctorLanguage
|
|
28827
28851
|
* @param {string} doctorId
|
|
28828
28852
|
* @param {string} languageId
|
|
28829
|
-
* @param {string} code
|
|
28830
28853
|
* @param {*} [options] Override http request option.
|
|
28831
28854
|
* @throws {RequiredError}
|
|
28832
28855
|
* @memberof DoctorsApi
|
|
28833
28856
|
*/
|
|
28834
|
-
public
|
|
28835
|
-
return DoctorsApiFp(this.configuration).
|
|
28857
|
+
public apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId: string, languageId: string, options?: AxiosRequestConfig) {
|
|
28858
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options).then((request) => request(this.axios, this.basePath));
|
|
28836
28859
|
}
|
|
28837
28860
|
|
|
28838
28861
|
/**
|
|
28839
28862
|
*
|
|
28840
|
-
* @summary
|
|
28863
|
+
* @summary Get DoctorLanguage.
|
|
28841
28864
|
* @param {string} doctorId
|
|
28842
28865
|
* @param {string} languageId
|
|
28843
|
-
* @param {string} code
|
|
28844
|
-
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
28845
28866
|
* @param {*} [options] Override http request option.
|
|
28846
28867
|
* @throws {RequiredError}
|
|
28847
28868
|
* @memberof DoctorsApi
|
|
28848
28869
|
*/
|
|
28849
|
-
public
|
|
28850
|
-
return DoctorsApiFp(this.configuration).
|
|
28870
|
+
public apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId: string, languageId: string, options?: AxiosRequestConfig) {
|
|
28871
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then((request) => request(this.axios, this.basePath));
|
|
28851
28872
|
}
|
|
28852
28873
|
|
|
28853
28874
|
/**
|
|
28854
28875
|
*
|
|
28855
|
-
* @summary
|
|
28876
|
+
* @summary Update DoctorLanguage.
|
|
28856
28877
|
* @param {string} doctorId
|
|
28857
|
-
* @param {string}
|
|
28858
|
-
* @param {
|
|
28859
|
-
* @param {number} [limit]
|
|
28860
|
-
* @param {Date} [lastRetrieved]
|
|
28878
|
+
* @param {string} languageId
|
|
28879
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
28861
28880
|
* @param {*} [options] Override http request option.
|
|
28862
28881
|
* @throws {RequiredError}
|
|
28863
28882
|
* @memberof DoctorsApi
|
|
28864
28883
|
*/
|
|
28865
|
-
public
|
|
28866
|
-
return DoctorsApiFp(this.configuration).
|
|
28884
|
+
public apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId: string, languageId: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options?: AxiosRequestConfig) {
|
|
28885
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
28867
28886
|
}
|
|
28868
28887
|
|
|
28869
28888
|
/**
|
|
@@ -33093,21 +33112,17 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33093
33112
|
* @summary Delete GetAllLanguage.
|
|
33094
33113
|
* @param {string} hospitalId
|
|
33095
33114
|
* @param {string} languageCode
|
|
33096
|
-
* @param {string} langaugeCode
|
|
33097
33115
|
* @param {*} [options] Override http request option.
|
|
33098
33116
|
* @throws {RequiredError}
|
|
33099
33117
|
*/
|
|
33100
|
-
|
|
33118
|
+
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: async (hospitalId: string, languageCode: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33101
33119
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
33102
|
-
assertParamExists('
|
|
33120
|
+
assertParamExists('apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete', 'hospitalId', hospitalId)
|
|
33103
33121
|
// verify required parameter 'languageCode' is not null or undefined
|
|
33104
|
-
assertParamExists('
|
|
33105
|
-
|
|
33106
|
-
assertParamExists('apiV1HospitalsHospitalIdLanguagesLangaugeCodeDelete', 'langaugeCode', langaugeCode)
|
|
33107
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/languages/{langaugeCode}`
|
|
33122
|
+
assertParamExists('apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete', 'languageCode', languageCode)
|
|
33123
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/languages/{languageCode}`
|
|
33108
33124
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
33109
|
-
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)))
|
|
33110
|
-
.replace(`{${"langaugeCode"}}`, encodeURIComponent(String(langaugeCode)));
|
|
33125
|
+
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)));
|
|
33111
33126
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33112
33127
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33113
33128
|
let baseOptions;
|
|
@@ -35668,12 +35683,11 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
35668
35683
|
* @summary Delete GetAllLanguage.
|
|
35669
35684
|
* @param {string} hospitalId
|
|
35670
35685
|
* @param {string} languageCode
|
|
35671
|
-
* @param {string} langaugeCode
|
|
35672
35686
|
* @param {*} [options] Override http request option.
|
|
35673
35687
|
* @throws {RequiredError}
|
|
35674
35688
|
*/
|
|
35675
|
-
async
|
|
35676
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
35689
|
+
async apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId: string, languageCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
35690
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options);
|
|
35677
35691
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35678
35692
|
},
|
|
35679
35693
|
/**
|
|
@@ -36613,12 +36627,11 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
36613
36627
|
* @summary Delete GetAllLanguage.
|
|
36614
36628
|
* @param {string} hospitalId
|
|
36615
36629
|
* @param {string} languageCode
|
|
36616
|
-
* @param {string} langaugeCode
|
|
36617
36630
|
* @param {*} [options] Override http request option.
|
|
36618
36631
|
* @throws {RequiredError}
|
|
36619
36632
|
*/
|
|
36620
|
-
|
|
36621
|
-
return localVarFp.
|
|
36633
|
+
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId: string, languageCode: string, options?: any): AxiosPromise<boolean> {
|
|
36634
|
+
return localVarFp.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options).then((request) => request(axios, basePath));
|
|
36622
36635
|
},
|
|
36623
36636
|
/**
|
|
36624
36637
|
*
|
|
@@ -37574,13 +37587,12 @@ export class HospitalsApi extends BaseAPI {
|
|
|
37574
37587
|
* @summary Delete GetAllLanguage.
|
|
37575
37588
|
* @param {string} hospitalId
|
|
37576
37589
|
* @param {string} languageCode
|
|
37577
|
-
* @param {string} langaugeCode
|
|
37578
37590
|
* @param {*} [options] Override http request option.
|
|
37579
37591
|
* @throws {RequiredError}
|
|
37580
37592
|
* @memberof HospitalsApi
|
|
37581
37593
|
*/
|
|
37582
|
-
public
|
|
37583
|
-
return HospitalsApiFp(this.configuration).
|
|
37594
|
+
public apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId: string, languageCode: string, options?: AxiosRequestConfig) {
|
|
37595
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
37584
37596
|
}
|
|
37585
37597
|
|
|
37586
37598
|
/**
|