ch-admin-api-client-typescript 4.2.2 → 4.2.6
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 +200 -207
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +342 -392
- package/package.json +1 -1
- package/src/api.ts +366 -395
package/src/api.ts
CHANGED
|
@@ -10936,6 +10936,12 @@ export interface SpecialtyItemModel {
|
|
|
10936
10936
|
* @memberof SpecialtyItemModel
|
|
10937
10937
|
*/
|
|
10938
10938
|
'specialtyTypeName'?: string | null;
|
|
10939
|
+
/**
|
|
10940
|
+
*
|
|
10941
|
+
* @type {MarketingType}
|
|
10942
|
+
* @memberof SpecialtyItemModel
|
|
10943
|
+
*/
|
|
10944
|
+
'marketingType'?: MarketingType;
|
|
10939
10945
|
/**
|
|
10940
10946
|
*
|
|
10941
10947
|
* @type {Array<MediaModel>}
|
|
@@ -11040,6 +11046,12 @@ export interface SpecialtyModel {
|
|
|
11040
11046
|
* @memberof SpecialtyModel
|
|
11041
11047
|
*/
|
|
11042
11048
|
'specialtyTypeName'?: string | null;
|
|
11049
|
+
/**
|
|
11050
|
+
*
|
|
11051
|
+
* @type {MarketingType}
|
|
11052
|
+
* @memberof SpecialtyModel
|
|
11053
|
+
*/
|
|
11054
|
+
'marketingType'?: MarketingType;
|
|
11043
11055
|
/**
|
|
11044
11056
|
*
|
|
11045
11057
|
* @type {Array<MediaModel>}
|
|
@@ -13082,12 +13094,6 @@ export interface UpdateHospitalWorkingDayCommand {
|
|
|
13082
13094
|
* @interface UpdateLanguageCommand
|
|
13083
13095
|
*/
|
|
13084
13096
|
export interface UpdateLanguageCommand {
|
|
13085
|
-
/**
|
|
13086
|
-
*
|
|
13087
|
-
* @type {string}
|
|
13088
|
-
* @memberof UpdateLanguageCommand
|
|
13089
|
-
*/
|
|
13090
|
-
'code'?: string | null;
|
|
13091
13097
|
/**
|
|
13092
13098
|
*
|
|
13093
13099
|
* @type {string}
|
|
@@ -26370,20 +26376,24 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26370
26376
|
},
|
|
26371
26377
|
/**
|
|
26372
26378
|
*
|
|
26373
|
-
* @summary
|
|
26379
|
+
* @summary Delete DoctorLanguage
|
|
26374
26380
|
* @param {string} doctorId
|
|
26375
|
-
* @param {string}
|
|
26376
|
-
* @param {
|
|
26377
|
-
* @param {number} [limit]
|
|
26378
|
-
* @param {Date} [lastRetrieved]
|
|
26381
|
+
* @param {string} languageId
|
|
26382
|
+
* @param {string} code
|
|
26379
26383
|
* @param {*} [options] Override http request option.
|
|
26380
26384
|
* @throws {RequiredError}
|
|
26381
26385
|
*/
|
|
26382
|
-
|
|
26386
|
+
apiV1DoctorsDoctorIdLanguagesCodeDelete: async (doctorId: string, languageId: string, code: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26383
26387
|
// verify required parameter 'doctorId' is not null or undefined
|
|
26384
|
-
assertParamExists('
|
|
26385
|
-
|
|
26386
|
-
|
|
26388
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeDelete', 'doctorId', doctorId)
|
|
26389
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
26390
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeDelete', 'languageId', languageId)
|
|
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)));
|
|
26387
26397
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26388
26398
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26389
26399
|
let baseOptions;
|
|
@@ -26391,7 +26401,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26391
26401
|
baseOptions = configuration.baseOptions;
|
|
26392
26402
|
}
|
|
26393
26403
|
|
|
26394
|
-
const localVarRequestOptions = { method: '
|
|
26404
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
26395
26405
|
const localVarHeaderParameter = {} as any;
|
|
26396
26406
|
const localVarQueryParameter = {} as any;
|
|
26397
26407
|
|
|
@@ -26399,24 +26409,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26399
26409
|
// oauth required
|
|
26400
26410
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
26401
26411
|
|
|
26402
|
-
if (language !== undefined) {
|
|
26403
|
-
localVarQueryParameter['Language'] = language;
|
|
26404
|
-
}
|
|
26405
|
-
|
|
26406
|
-
if (page !== undefined) {
|
|
26407
|
-
localVarQueryParameter['page'] = page;
|
|
26408
|
-
}
|
|
26409
|
-
|
|
26410
|
-
if (limit !== undefined) {
|
|
26411
|
-
localVarQueryParameter['limit'] = limit;
|
|
26412
|
-
}
|
|
26413
|
-
|
|
26414
|
-
if (lastRetrieved !== undefined) {
|
|
26415
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
26416
|
-
(lastRetrieved as any).toISOString() :
|
|
26417
|
-
lastRetrieved;
|
|
26418
|
-
}
|
|
26419
|
-
|
|
26420
26412
|
|
|
26421
26413
|
|
|
26422
26414
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -26430,20 +26422,24 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26430
26422
|
},
|
|
26431
26423
|
/**
|
|
26432
26424
|
*
|
|
26433
|
-
* @summary
|
|
26425
|
+
* @summary Get DoctorLanguage.
|
|
26434
26426
|
* @param {string} doctorId
|
|
26435
26427
|
* @param {string} languageId
|
|
26428
|
+
* @param {string} code
|
|
26436
26429
|
* @param {*} [options] Override http request option.
|
|
26437
26430
|
* @throws {RequiredError}
|
|
26438
26431
|
*/
|
|
26439
|
-
|
|
26432
|
+
apiV1DoctorsDoctorIdLanguagesCodeGet: async (doctorId: string, languageId: string, code: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26440
26433
|
// verify required parameter 'doctorId' is not null or undefined
|
|
26441
|
-
assertParamExists('
|
|
26434
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeGet', 'doctorId', doctorId)
|
|
26442
26435
|
// verify required parameter 'languageId' is not null or undefined
|
|
26443
|
-
assertParamExists('
|
|
26444
|
-
|
|
26436
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeGet', 'languageId', languageId)
|
|
26437
|
+
// verify required parameter 'code' is not null or undefined
|
|
26438
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeGet', 'code', code)
|
|
26439
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/languages/{code}`
|
|
26445
26440
|
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
26446
|
-
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)))
|
|
26441
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)))
|
|
26442
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
26447
26443
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26448
26444
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26449
26445
|
let baseOptions;
|
|
@@ -26451,7 +26447,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26451
26447
|
baseOptions = configuration.baseOptions;
|
|
26452
26448
|
}
|
|
26453
26449
|
|
|
26454
|
-
const localVarRequestOptions = { method: '
|
|
26450
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
26455
26451
|
const localVarHeaderParameter = {} as any;
|
|
26456
26452
|
const localVarQueryParameter = {} as any;
|
|
26457
26453
|
|
|
@@ -26472,20 +26468,25 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26472
26468
|
},
|
|
26473
26469
|
/**
|
|
26474
26470
|
*
|
|
26475
|
-
* @summary
|
|
26471
|
+
* @summary Update DoctorLanguage.
|
|
26476
26472
|
* @param {string} doctorId
|
|
26477
26473
|
* @param {string} languageId
|
|
26474
|
+
* @param {string} code
|
|
26475
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
26478
26476
|
* @param {*} [options] Override http request option.
|
|
26479
26477
|
* @throws {RequiredError}
|
|
26480
26478
|
*/
|
|
26481
|
-
|
|
26479
|
+
apiV1DoctorsDoctorIdLanguagesCodePut: async (doctorId: string, languageId: string, code: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26482
26480
|
// verify required parameter 'doctorId' is not null or undefined
|
|
26483
|
-
assertParamExists('
|
|
26481
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesCodePut', 'doctorId', doctorId)
|
|
26484
26482
|
// verify required parameter 'languageId' is not null or undefined
|
|
26485
|
-
assertParamExists('
|
|
26486
|
-
|
|
26483
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesCodePut', 'languageId', languageId)
|
|
26484
|
+
// verify required parameter 'code' is not null or undefined
|
|
26485
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesCodePut', 'code', code)
|
|
26486
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/languages/{code}`
|
|
26487
26487
|
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
26488
|
-
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)))
|
|
26488
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)))
|
|
26489
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
26489
26490
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26490
26491
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26491
26492
|
let baseOptions;
|
|
@@ -26493,7 +26494,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26493
26494
|
baseOptions = configuration.baseOptions;
|
|
26494
26495
|
}
|
|
26495
26496
|
|
|
26496
|
-
const localVarRequestOptions = { method: '
|
|
26497
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
26497
26498
|
const localVarHeaderParameter = {} as any;
|
|
26498
26499
|
const localVarQueryParameter = {} as any;
|
|
26499
26500
|
|
|
@@ -26503,9 +26504,12 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26503
26504
|
|
|
26504
26505
|
|
|
26505
26506
|
|
|
26507
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26508
|
+
|
|
26506
26509
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26507
26510
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26508
26511
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26512
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration)
|
|
26509
26513
|
|
|
26510
26514
|
return {
|
|
26511
26515
|
url: toPathString(localVarUrlObj),
|
|
@@ -26514,21 +26518,20 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26514
26518
|
},
|
|
26515
26519
|
/**
|
|
26516
26520
|
*
|
|
26517
|
-
* @summary
|
|
26521
|
+
* @summary Get all DoctorLanguages.
|
|
26518
26522
|
* @param {string} doctorId
|
|
26519
|
-
* @param {string}
|
|
26520
|
-
* @param {
|
|
26523
|
+
* @param {string} [language]
|
|
26524
|
+
* @param {number} [page]
|
|
26525
|
+
* @param {number} [limit]
|
|
26526
|
+
* @param {Date} [lastRetrieved]
|
|
26521
26527
|
* @param {*} [options] Override http request option.
|
|
26522
26528
|
* @throws {RequiredError}
|
|
26523
26529
|
*/
|
|
26524
|
-
|
|
26530
|
+
apiV1DoctorsDoctorIdLanguagesGet: async (doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26525
26531
|
// verify required parameter 'doctorId' is not null or undefined
|
|
26526
|
-
assertParamExists('
|
|
26527
|
-
|
|
26528
|
-
|
|
26529
|
-
const localVarPath = `/api/v1/doctors/{doctorId}/languages/{languageId}`
|
|
26530
|
-
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
26531
|
-
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
26532
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesGet', 'doctorId', doctorId)
|
|
26533
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/languages`
|
|
26534
|
+
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
|
|
26532
26535
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26533
26536
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26534
26537
|
let baseOptions;
|
|
@@ -26536,7 +26539,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26536
26539
|
baseOptions = configuration.baseOptions;
|
|
26537
26540
|
}
|
|
26538
26541
|
|
|
26539
|
-
const localVarRequestOptions = { method: '
|
|
26542
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
26540
26543
|
const localVarHeaderParameter = {} as any;
|
|
26541
26544
|
const localVarQueryParameter = {} as any;
|
|
26542
26545
|
|
|
@@ -26544,14 +26547,29 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26544
26547
|
// oauth required
|
|
26545
26548
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
26546
26549
|
|
|
26550
|
+
if (language !== undefined) {
|
|
26551
|
+
localVarQueryParameter['Language'] = language;
|
|
26552
|
+
}
|
|
26547
26553
|
|
|
26548
|
-
|
|
26549
|
-
|
|
26554
|
+
if (page !== undefined) {
|
|
26555
|
+
localVarQueryParameter['page'] = page;
|
|
26556
|
+
}
|
|
26550
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
|
+
|
|
26569
|
+
|
|
26551
26570
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26552
26571
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26553
26572
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26554
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration)
|
|
26555
26573
|
|
|
26556
26574
|
return {
|
|
26557
26575
|
url: toPathString(localVarUrlObj),
|
|
@@ -27805,54 +27823,57 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
27805
27823
|
},
|
|
27806
27824
|
/**
|
|
27807
27825
|
*
|
|
27808
|
-
* @summary
|
|
27826
|
+
* @summary Delete DoctorLanguage
|
|
27809
27827
|
* @param {string} doctorId
|
|
27810
|
-
* @param {string}
|
|
27811
|
-
* @param {
|
|
27812
|
-
* @param {number} [limit]
|
|
27813
|
-
* @param {Date} [lastRetrieved]
|
|
27828
|
+
* @param {string} languageId
|
|
27829
|
+
* @param {string} code
|
|
27814
27830
|
* @param {*} [options] Override http request option.
|
|
27815
27831
|
* @throws {RequiredError}
|
|
27816
27832
|
*/
|
|
27817
|
-
async
|
|
27818
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
27833
|
+
async apiV1DoctorsDoctorIdLanguagesCodeDelete(doctorId: string, languageId: string, code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
27834
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesCodeDelete(doctorId, languageId, code, options);
|
|
27819
27835
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27820
27836
|
},
|
|
27821
27837
|
/**
|
|
27822
27838
|
*
|
|
27823
|
-
* @summary
|
|
27839
|
+
* @summary Get DoctorLanguage.
|
|
27824
27840
|
* @param {string} doctorId
|
|
27825
27841
|
* @param {string} languageId
|
|
27842
|
+
* @param {string} code
|
|
27826
27843
|
* @param {*} [options] Override http request option.
|
|
27827
27844
|
* @throws {RequiredError}
|
|
27828
27845
|
*/
|
|
27829
|
-
async
|
|
27830
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
27846
|
+
async apiV1DoctorsDoctorIdLanguagesCodeGet(doctorId: string, languageId: string, code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguageModel>> {
|
|
27847
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesCodeGet(doctorId, languageId, code, options);
|
|
27831
27848
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27832
27849
|
},
|
|
27833
27850
|
/**
|
|
27834
27851
|
*
|
|
27835
|
-
* @summary
|
|
27852
|
+
* @summary Update DoctorLanguage.
|
|
27836
27853
|
* @param {string} doctorId
|
|
27837
27854
|
* @param {string} languageId
|
|
27855
|
+
* @param {string} code
|
|
27856
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
27838
27857
|
* @param {*} [options] Override http request option.
|
|
27839
27858
|
* @throws {RequiredError}
|
|
27840
27859
|
*/
|
|
27841
|
-
async
|
|
27842
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
27860
|
+
async apiV1DoctorsDoctorIdLanguagesCodePut(doctorId: string, languageId: string, code: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguageModel>> {
|
|
27861
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesCodePut(doctorId, languageId, code, updateDoctorLanguageCommand, options);
|
|
27843
27862
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27844
27863
|
},
|
|
27845
27864
|
/**
|
|
27846
27865
|
*
|
|
27847
|
-
* @summary
|
|
27866
|
+
* @summary Get all DoctorLanguages.
|
|
27848
27867
|
* @param {string} doctorId
|
|
27849
|
-
* @param {string}
|
|
27850
|
-
* @param {
|
|
27868
|
+
* @param {string} [language]
|
|
27869
|
+
* @param {number} [page]
|
|
27870
|
+
* @param {number} [limit]
|
|
27871
|
+
* @param {Date} [lastRetrieved]
|
|
27851
27872
|
* @param {*} [options] Override http request option.
|
|
27852
27873
|
* @throws {RequiredError}
|
|
27853
27874
|
*/
|
|
27854
|
-
async
|
|
27855
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
27875
|
+
async apiV1DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguagesModel>> {
|
|
27876
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options);
|
|
27856
27877
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27857
27878
|
},
|
|
27858
27879
|
/**
|
|
@@ -28295,51 +28316,54 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
28295
28316
|
},
|
|
28296
28317
|
/**
|
|
28297
28318
|
*
|
|
28298
|
-
* @summary
|
|
28319
|
+
* @summary Delete DoctorLanguage
|
|
28299
28320
|
* @param {string} doctorId
|
|
28300
|
-
* @param {string}
|
|
28301
|
-
* @param {
|
|
28302
|
-
* @param {number} [limit]
|
|
28303
|
-
* @param {Date} [lastRetrieved]
|
|
28321
|
+
* @param {string} languageId
|
|
28322
|
+
* @param {string} code
|
|
28304
28323
|
* @param {*} [options] Override http request option.
|
|
28305
28324
|
* @throws {RequiredError}
|
|
28306
28325
|
*/
|
|
28307
|
-
|
|
28308
|
-
return localVarFp.
|
|
28326
|
+
apiV1DoctorsDoctorIdLanguagesCodeDelete(doctorId: string, languageId: string, code: string, options?: any): AxiosPromise<boolean> {
|
|
28327
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesCodeDelete(doctorId, languageId, code, options).then((request) => request(axios, basePath));
|
|
28309
28328
|
},
|
|
28310
28329
|
/**
|
|
28311
28330
|
*
|
|
28312
|
-
* @summary
|
|
28331
|
+
* @summary Get DoctorLanguage.
|
|
28313
28332
|
* @param {string} doctorId
|
|
28314
28333
|
* @param {string} languageId
|
|
28334
|
+
* @param {string} code
|
|
28315
28335
|
* @param {*} [options] Override http request option.
|
|
28316
28336
|
* @throws {RequiredError}
|
|
28317
28337
|
*/
|
|
28318
|
-
|
|
28319
|
-
return localVarFp.
|
|
28338
|
+
apiV1DoctorsDoctorIdLanguagesCodeGet(doctorId: string, languageId: string, code: string, options?: any): AxiosPromise<DoctorLanguageModel> {
|
|
28339
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesCodeGet(doctorId, languageId, code, options).then((request) => request(axios, basePath));
|
|
28320
28340
|
},
|
|
28321
28341
|
/**
|
|
28322
28342
|
*
|
|
28323
|
-
* @summary
|
|
28343
|
+
* @summary Update DoctorLanguage.
|
|
28324
28344
|
* @param {string} doctorId
|
|
28325
28345
|
* @param {string} languageId
|
|
28346
|
+
* @param {string} code
|
|
28347
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
28326
28348
|
* @param {*} [options] Override http request option.
|
|
28327
28349
|
* @throws {RequiredError}
|
|
28328
28350
|
*/
|
|
28329
|
-
|
|
28330
|
-
return localVarFp.
|
|
28351
|
+
apiV1DoctorsDoctorIdLanguagesCodePut(doctorId: string, languageId: string, code: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options?: any): AxiosPromise<DoctorLanguageModel> {
|
|
28352
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesCodePut(doctorId, languageId, code, updateDoctorLanguageCommand, options).then((request) => request(axios, basePath));
|
|
28331
28353
|
},
|
|
28332
28354
|
/**
|
|
28333
28355
|
*
|
|
28334
|
-
* @summary
|
|
28356
|
+
* @summary Get all DoctorLanguages.
|
|
28335
28357
|
* @param {string} doctorId
|
|
28336
|
-
* @param {string}
|
|
28337
|
-
* @param {
|
|
28358
|
+
* @param {string} [language]
|
|
28359
|
+
* @param {number} [page]
|
|
28360
|
+
* @param {number} [limit]
|
|
28361
|
+
* @param {Date} [lastRetrieved]
|
|
28338
28362
|
* @param {*} [options] Override http request option.
|
|
28339
28363
|
* @throws {RequiredError}
|
|
28340
28364
|
*/
|
|
28341
|
-
|
|
28342
|
-
return localVarFp.
|
|
28365
|
+
apiV1DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorLanguagesModel> {
|
|
28366
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
28343
28367
|
},
|
|
28344
28368
|
/**
|
|
28345
28369
|
*
|
|
@@ -28785,58 +28809,61 @@ export class DoctorsApi extends BaseAPI {
|
|
|
28785
28809
|
|
|
28786
28810
|
/**
|
|
28787
28811
|
*
|
|
28788
|
-
* @summary
|
|
28812
|
+
* @summary Delete DoctorLanguage
|
|
28789
28813
|
* @param {string} doctorId
|
|
28790
|
-
* @param {string}
|
|
28791
|
-
* @param {
|
|
28792
|
-
* @param {number} [limit]
|
|
28793
|
-
* @param {Date} [lastRetrieved]
|
|
28814
|
+
* @param {string} languageId
|
|
28815
|
+
* @param {string} code
|
|
28794
28816
|
* @param {*} [options] Override http request option.
|
|
28795
28817
|
* @throws {RequiredError}
|
|
28796
28818
|
* @memberof DoctorsApi
|
|
28797
28819
|
*/
|
|
28798
|
-
public
|
|
28799
|
-
return DoctorsApiFp(this.configuration).
|
|
28820
|
+
public apiV1DoctorsDoctorIdLanguagesCodeDelete(doctorId: string, languageId: string, code: string, options?: AxiosRequestConfig) {
|
|
28821
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesCodeDelete(doctorId, languageId, code, options).then((request) => request(this.axios, this.basePath));
|
|
28800
28822
|
}
|
|
28801
28823
|
|
|
28802
28824
|
/**
|
|
28803
28825
|
*
|
|
28804
|
-
* @summary
|
|
28826
|
+
* @summary Get DoctorLanguage.
|
|
28805
28827
|
* @param {string} doctorId
|
|
28806
28828
|
* @param {string} languageId
|
|
28829
|
+
* @param {string} code
|
|
28807
28830
|
* @param {*} [options] Override http request option.
|
|
28808
28831
|
* @throws {RequiredError}
|
|
28809
28832
|
* @memberof DoctorsApi
|
|
28810
28833
|
*/
|
|
28811
|
-
public
|
|
28812
|
-
return DoctorsApiFp(this.configuration).
|
|
28834
|
+
public apiV1DoctorsDoctorIdLanguagesCodeGet(doctorId: string, languageId: string, code: string, options?: AxiosRequestConfig) {
|
|
28835
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesCodeGet(doctorId, languageId, code, options).then((request) => request(this.axios, this.basePath));
|
|
28813
28836
|
}
|
|
28814
28837
|
|
|
28815
28838
|
/**
|
|
28816
28839
|
*
|
|
28817
|
-
* @summary
|
|
28840
|
+
* @summary Update DoctorLanguage.
|
|
28818
28841
|
* @param {string} doctorId
|
|
28819
28842
|
* @param {string} languageId
|
|
28843
|
+
* @param {string} code
|
|
28844
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
28820
28845
|
* @param {*} [options] Override http request option.
|
|
28821
28846
|
* @throws {RequiredError}
|
|
28822
28847
|
* @memberof DoctorsApi
|
|
28823
28848
|
*/
|
|
28824
|
-
public
|
|
28825
|
-
return DoctorsApiFp(this.configuration).
|
|
28849
|
+
public apiV1DoctorsDoctorIdLanguagesCodePut(doctorId: string, languageId: string, code: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options?: AxiosRequestConfig) {
|
|
28850
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesCodePut(doctorId, languageId, code, updateDoctorLanguageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
28826
28851
|
}
|
|
28827
28852
|
|
|
28828
28853
|
/**
|
|
28829
28854
|
*
|
|
28830
|
-
* @summary
|
|
28855
|
+
* @summary Get all DoctorLanguages.
|
|
28831
28856
|
* @param {string} doctorId
|
|
28832
|
-
* @param {string}
|
|
28833
|
-
* @param {
|
|
28857
|
+
* @param {string} [language]
|
|
28858
|
+
* @param {number} [page]
|
|
28859
|
+
* @param {number} [limit]
|
|
28860
|
+
* @param {Date} [lastRetrieved]
|
|
28834
28861
|
* @param {*} [options] Override http request option.
|
|
28835
28862
|
* @throws {RequiredError}
|
|
28836
28863
|
* @memberof DoctorsApi
|
|
28837
28864
|
*/
|
|
28838
|
-
public
|
|
28839
|
-
return DoctorsApiFp(this.configuration).
|
|
28865
|
+
public apiV1DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
28866
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
28840
28867
|
}
|
|
28841
28868
|
|
|
28842
28869
|
/**
|
|
@@ -33003,20 +33030,24 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33003
33030
|
},
|
|
33004
33031
|
/**
|
|
33005
33032
|
*
|
|
33006
|
-
* @summary
|
|
33033
|
+
* @summary Delete GetAllLanguage.
|
|
33007
33034
|
* @param {string} hospitalId
|
|
33008
|
-
* @param {string}
|
|
33009
|
-
* @param {
|
|
33010
|
-
* @param {number} [limit]
|
|
33011
|
-
* @param {Date} [lastRetrieved]
|
|
33035
|
+
* @param {string} languageCode
|
|
33036
|
+
* @param {string} code
|
|
33012
33037
|
* @param {*} [options] Override http request option.
|
|
33013
33038
|
* @throws {RequiredError}
|
|
33014
33039
|
*/
|
|
33015
|
-
|
|
33040
|
+
apiV1HospitalsHospitalIdLanguagesCodeDelete: async (hospitalId: string, languageCode: string, code: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33016
33041
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
33017
|
-
assertParamExists('
|
|
33018
|
-
|
|
33019
|
-
|
|
33042
|
+
assertParamExists('apiV1HospitalsHospitalIdLanguagesCodeDelete', 'hospitalId', hospitalId)
|
|
33043
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
33044
|
+
assertParamExists('apiV1HospitalsHospitalIdLanguagesCodeDelete', 'languageCode', languageCode)
|
|
33045
|
+
// verify required parameter 'code' is not null or undefined
|
|
33046
|
+
assertParamExists('apiV1HospitalsHospitalIdLanguagesCodeDelete', 'code', code)
|
|
33047
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/languages/{code}`
|
|
33048
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
33049
|
+
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)))
|
|
33050
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
33020
33051
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33021
33052
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33022
33053
|
let baseOptions;
|
|
@@ -33024,7 +33055,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33024
33055
|
baseOptions = configuration.baseOptions;
|
|
33025
33056
|
}
|
|
33026
33057
|
|
|
33027
|
-
const localVarRequestOptions = { method: '
|
|
33058
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
33028
33059
|
const localVarHeaderParameter = {} as any;
|
|
33029
33060
|
const localVarQueryParameter = {} as any;
|
|
33030
33061
|
|
|
@@ -33032,24 +33063,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33032
33063
|
// oauth required
|
|
33033
33064
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
33034
33065
|
|
|
33035
|
-
if (name !== undefined) {
|
|
33036
|
-
localVarQueryParameter['Name'] = name;
|
|
33037
|
-
}
|
|
33038
|
-
|
|
33039
|
-
if (page !== undefined) {
|
|
33040
|
-
localVarQueryParameter['page'] = page;
|
|
33041
|
-
}
|
|
33042
|
-
|
|
33043
|
-
if (limit !== undefined) {
|
|
33044
|
-
localVarQueryParameter['limit'] = limit;
|
|
33045
|
-
}
|
|
33046
|
-
|
|
33047
|
-
if (lastRetrieved !== undefined) {
|
|
33048
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
33049
|
-
(lastRetrieved as any).toISOString() :
|
|
33050
|
-
lastRetrieved;
|
|
33051
|
-
}
|
|
33052
|
-
|
|
33053
33066
|
|
|
33054
33067
|
|
|
33055
33068
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -33063,20 +33076,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33063
33076
|
},
|
|
33064
33077
|
/**
|
|
33065
33078
|
*
|
|
33066
|
-
* @summary
|
|
33079
|
+
* @summary Get all GetAllLanguages.
|
|
33067
33080
|
* @param {string} hospitalId
|
|
33068
|
-
* @param {string}
|
|
33081
|
+
* @param {string} [name]
|
|
33082
|
+
* @param {number} [page]
|
|
33083
|
+
* @param {number} [limit]
|
|
33084
|
+
* @param {Date} [lastRetrieved]
|
|
33069
33085
|
* @param {*} [options] Override http request option.
|
|
33070
33086
|
* @throws {RequiredError}
|
|
33071
33087
|
*/
|
|
33072
|
-
|
|
33088
|
+
apiV1HospitalsHospitalIdLanguagesGet: async (hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33073
33089
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
33074
|
-
assertParamExists('
|
|
33075
|
-
|
|
33076
|
-
|
|
33077
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/languages/{languageCode}`
|
|
33078
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
33079
|
-
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)));
|
|
33090
|
+
assertParamExists('apiV1HospitalsHospitalIdLanguagesGet', 'hospitalId', hospitalId)
|
|
33091
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/languages`
|
|
33092
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
33080
33093
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33081
33094
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33082
33095
|
let baseOptions;
|
|
@@ -33084,7 +33097,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33084
33097
|
baseOptions = configuration.baseOptions;
|
|
33085
33098
|
}
|
|
33086
33099
|
|
|
33087
|
-
const localVarRequestOptions = { method: '
|
|
33100
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
33088
33101
|
const localVarHeaderParameter = {} as any;
|
|
33089
33102
|
const localVarQueryParameter = {} as any;
|
|
33090
33103
|
|
|
@@ -33092,6 +33105,24 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33092
33105
|
// oauth required
|
|
33093
33106
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
33094
33107
|
|
|
33108
|
+
if (name !== undefined) {
|
|
33109
|
+
localVarQueryParameter['Name'] = name;
|
|
33110
|
+
}
|
|
33111
|
+
|
|
33112
|
+
if (page !== undefined) {
|
|
33113
|
+
localVarQueryParameter['page'] = page;
|
|
33114
|
+
}
|
|
33115
|
+
|
|
33116
|
+
if (limit !== undefined) {
|
|
33117
|
+
localVarQueryParameter['limit'] = limit;
|
|
33118
|
+
}
|
|
33119
|
+
|
|
33120
|
+
if (lastRetrieved !== undefined) {
|
|
33121
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
33122
|
+
(lastRetrieved as any).toISOString() :
|
|
33123
|
+
lastRetrieved;
|
|
33124
|
+
}
|
|
33125
|
+
|
|
33095
33126
|
|
|
33096
33127
|
|
|
33097
33128
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -35619,29 +35650,30 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
35619
35650
|
},
|
|
35620
35651
|
/**
|
|
35621
35652
|
*
|
|
35622
|
-
* @summary
|
|
35653
|
+
* @summary Delete GetAllLanguage.
|
|
35623
35654
|
* @param {string} hospitalId
|
|
35624
|
-
* @param {string}
|
|
35625
|
-
* @param {
|
|
35626
|
-
* @param {number} [limit]
|
|
35627
|
-
* @param {Date} [lastRetrieved]
|
|
35655
|
+
* @param {string} languageCode
|
|
35656
|
+
* @param {string} code
|
|
35628
35657
|
* @param {*} [options] Override http request option.
|
|
35629
35658
|
* @throws {RequiredError}
|
|
35630
35659
|
*/
|
|
35631
|
-
async
|
|
35632
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
35660
|
+
async apiV1HospitalsHospitalIdLanguagesCodeDelete(hospitalId: string, languageCode: string, code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
35661
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesCodeDelete(hospitalId, languageCode, code, options);
|
|
35633
35662
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35634
35663
|
},
|
|
35635
35664
|
/**
|
|
35636
35665
|
*
|
|
35637
|
-
* @summary
|
|
35666
|
+
* @summary Get all GetAllLanguages.
|
|
35638
35667
|
* @param {string} hospitalId
|
|
35639
|
-
* @param {string}
|
|
35668
|
+
* @param {string} [name]
|
|
35669
|
+
* @param {number} [page]
|
|
35670
|
+
* @param {number} [limit]
|
|
35671
|
+
* @param {Date} [lastRetrieved]
|
|
35640
35672
|
* @param {*} [options] Override http request option.
|
|
35641
35673
|
* @throws {RequiredError}
|
|
35642
35674
|
*/
|
|
35643
|
-
async
|
|
35644
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
35675
|
+
async apiV1HospitalsHospitalIdLanguagesGet(hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalLanguagesModel>> {
|
|
35676
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options);
|
|
35645
35677
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35646
35678
|
},
|
|
35647
35679
|
/**
|
|
@@ -36564,28 +36596,29 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
36564
36596
|
},
|
|
36565
36597
|
/**
|
|
36566
36598
|
*
|
|
36567
|
-
* @summary
|
|
36599
|
+
* @summary Delete GetAllLanguage.
|
|
36568
36600
|
* @param {string} hospitalId
|
|
36569
|
-
* @param {string}
|
|
36570
|
-
* @param {
|
|
36571
|
-
* @param {number} [limit]
|
|
36572
|
-
* @param {Date} [lastRetrieved]
|
|
36601
|
+
* @param {string} languageCode
|
|
36602
|
+
* @param {string} code
|
|
36573
36603
|
* @param {*} [options] Override http request option.
|
|
36574
36604
|
* @throws {RequiredError}
|
|
36575
36605
|
*/
|
|
36576
|
-
|
|
36577
|
-
return localVarFp.
|
|
36606
|
+
apiV1HospitalsHospitalIdLanguagesCodeDelete(hospitalId: string, languageCode: string, code: string, options?: any): AxiosPromise<boolean> {
|
|
36607
|
+
return localVarFp.apiV1HospitalsHospitalIdLanguagesCodeDelete(hospitalId, languageCode, code, options).then((request) => request(axios, basePath));
|
|
36578
36608
|
},
|
|
36579
36609
|
/**
|
|
36580
36610
|
*
|
|
36581
|
-
* @summary
|
|
36611
|
+
* @summary Get all GetAllLanguages.
|
|
36582
36612
|
* @param {string} hospitalId
|
|
36583
|
-
* @param {string}
|
|
36613
|
+
* @param {string} [name]
|
|
36614
|
+
* @param {number} [page]
|
|
36615
|
+
* @param {number} [limit]
|
|
36616
|
+
* @param {Date} [lastRetrieved]
|
|
36584
36617
|
* @param {*} [options] Override http request option.
|
|
36585
36618
|
* @throws {RequiredError}
|
|
36586
36619
|
*/
|
|
36587
|
-
|
|
36588
|
-
return localVarFp.
|
|
36620
|
+
apiV1HospitalsHospitalIdLanguagesGet(hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalLanguagesModel> {
|
|
36621
|
+
return localVarFp.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
36589
36622
|
},
|
|
36590
36623
|
/**
|
|
36591
36624
|
*
|
|
@@ -37522,31 +37555,32 @@ export class HospitalsApi extends BaseAPI {
|
|
|
37522
37555
|
|
|
37523
37556
|
/**
|
|
37524
37557
|
*
|
|
37525
|
-
* @summary
|
|
37558
|
+
* @summary Delete GetAllLanguage.
|
|
37526
37559
|
* @param {string} hospitalId
|
|
37527
|
-
* @param {string}
|
|
37528
|
-
* @param {
|
|
37529
|
-
* @param {number} [limit]
|
|
37530
|
-
* @param {Date} [lastRetrieved]
|
|
37560
|
+
* @param {string} languageCode
|
|
37561
|
+
* @param {string} code
|
|
37531
37562
|
* @param {*} [options] Override http request option.
|
|
37532
37563
|
* @throws {RequiredError}
|
|
37533
37564
|
* @memberof HospitalsApi
|
|
37534
37565
|
*/
|
|
37535
|
-
public
|
|
37536
|
-
return HospitalsApiFp(this.configuration).
|
|
37566
|
+
public apiV1HospitalsHospitalIdLanguagesCodeDelete(hospitalId: string, languageCode: string, code: string, options?: AxiosRequestConfig) {
|
|
37567
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesCodeDelete(hospitalId, languageCode, code, options).then((request) => request(this.axios, this.basePath));
|
|
37537
37568
|
}
|
|
37538
37569
|
|
|
37539
37570
|
/**
|
|
37540
37571
|
*
|
|
37541
|
-
* @summary
|
|
37572
|
+
* @summary Get all GetAllLanguages.
|
|
37542
37573
|
* @param {string} hospitalId
|
|
37543
|
-
* @param {string}
|
|
37574
|
+
* @param {string} [name]
|
|
37575
|
+
* @param {number} [page]
|
|
37576
|
+
* @param {number} [limit]
|
|
37577
|
+
* @param {Date} [lastRetrieved]
|
|
37544
37578
|
* @param {*} [options] Override http request option.
|
|
37545
37579
|
* @throws {RequiredError}
|
|
37546
37580
|
* @memberof HospitalsApi
|
|
37547
37581
|
*/
|
|
37548
|
-
public
|
|
37549
|
-
return HospitalsApiFp(this.configuration).
|
|
37582
|
+
public apiV1HospitalsHospitalIdLanguagesGet(hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
37583
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
37550
37584
|
}
|
|
37551
37585
|
|
|
37552
37586
|
/**
|
|
@@ -38258,14 +38292,13 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38258
38292
|
return {
|
|
38259
38293
|
/**
|
|
38260
38294
|
*
|
|
38261
|
-
* @summary Get Language by code.
|
|
38262
38295
|
* @param {string} code
|
|
38263
38296
|
* @param {*} [options] Override http request option.
|
|
38264
38297
|
* @throws {RequiredError}
|
|
38265
38298
|
*/
|
|
38266
|
-
|
|
38299
|
+
apiV1LanguagesCodeDelete: async (code: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38267
38300
|
// verify required parameter 'code' is not null or undefined
|
|
38268
|
-
assertParamExists('
|
|
38301
|
+
assertParamExists('apiV1LanguagesCodeDelete', 'code', code)
|
|
38269
38302
|
const localVarPath = `/api/v1/languages/{code}`
|
|
38270
38303
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
38271
38304
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -38275,7 +38308,7 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38275
38308
|
baseOptions = configuration.baseOptions;
|
|
38276
38309
|
}
|
|
38277
38310
|
|
|
38278
|
-
const localVarRequestOptions = { method: '
|
|
38311
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
38279
38312
|
const localVarHeaderParameter = {} as any;
|
|
38280
38313
|
const localVarQueryParameter = {} as any;
|
|
38281
38314
|
|
|
@@ -38296,20 +38329,16 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38296
38329
|
},
|
|
38297
38330
|
/**
|
|
38298
38331
|
*
|
|
38299
|
-
* @summary Get
|
|
38300
|
-
* @param {string}
|
|
38301
|
-
* @param {string} [name]
|
|
38302
|
-
* @param {string} [code]
|
|
38303
|
-
* @param {string} [description]
|
|
38304
|
-
* @param {boolean} [showPublished]
|
|
38305
|
-
* @param {number} [page]
|
|
38306
|
-
* @param {number} [limit]
|
|
38307
|
-
* @param {Date} [lastRetrieved]
|
|
38332
|
+
* @summary Get Language.
|
|
38333
|
+
* @param {string} code
|
|
38308
38334
|
* @param {*} [options] Override http request option.
|
|
38309
38335
|
* @throws {RequiredError}
|
|
38310
38336
|
*/
|
|
38311
|
-
|
|
38312
|
-
|
|
38337
|
+
apiV1LanguagesCodeGet: async (code: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38338
|
+
// verify required parameter 'code' is not null or undefined
|
|
38339
|
+
assertParamExists('apiV1LanguagesCodeGet', 'code', code)
|
|
38340
|
+
const localVarPath = `/api/v1/languages/{code}`
|
|
38341
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
38313
38342
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38314
38343
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38315
38344
|
let baseOptions;
|
|
@@ -38325,40 +38354,6 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38325
38354
|
// oauth required
|
|
38326
38355
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
38327
38356
|
|
|
38328
|
-
if (id !== undefined) {
|
|
38329
|
-
localVarQueryParameter['Id'] = id;
|
|
38330
|
-
}
|
|
38331
|
-
|
|
38332
|
-
if (name !== undefined) {
|
|
38333
|
-
localVarQueryParameter['Name'] = name;
|
|
38334
|
-
}
|
|
38335
|
-
|
|
38336
|
-
if (code !== undefined) {
|
|
38337
|
-
localVarQueryParameter['Code'] = code;
|
|
38338
|
-
}
|
|
38339
|
-
|
|
38340
|
-
if (description !== undefined) {
|
|
38341
|
-
localVarQueryParameter['Description'] = description;
|
|
38342
|
-
}
|
|
38343
|
-
|
|
38344
|
-
if (showPublished !== undefined) {
|
|
38345
|
-
localVarQueryParameter['ShowPublished'] = showPublished;
|
|
38346
|
-
}
|
|
38347
|
-
|
|
38348
|
-
if (page !== undefined) {
|
|
38349
|
-
localVarQueryParameter['page'] = page;
|
|
38350
|
-
}
|
|
38351
|
-
|
|
38352
|
-
if (limit !== undefined) {
|
|
38353
|
-
localVarQueryParameter['limit'] = limit;
|
|
38354
|
-
}
|
|
38355
|
-
|
|
38356
|
-
if (lastRetrieved !== undefined) {
|
|
38357
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
38358
|
-
(lastRetrieved as any).toISOString() :
|
|
38359
|
-
lastRetrieved;
|
|
38360
|
-
}
|
|
38361
|
-
|
|
38362
38357
|
|
|
38363
38358
|
|
|
38364
38359
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -38372,15 +38367,16 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38372
38367
|
},
|
|
38373
38368
|
/**
|
|
38374
38369
|
*
|
|
38375
|
-
* @param {string}
|
|
38370
|
+
* @param {string} code
|
|
38371
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
38376
38372
|
* @param {*} [options] Override http request option.
|
|
38377
38373
|
* @throws {RequiredError}
|
|
38378
38374
|
*/
|
|
38379
|
-
|
|
38380
|
-
// verify required parameter '
|
|
38381
|
-
assertParamExists('
|
|
38382
|
-
const localVarPath = `/api/v1/languages/{
|
|
38383
|
-
.replace(`{${"
|
|
38375
|
+
apiV1LanguagesCodePut: async (code: string, updateLanguageCommand?: UpdateLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38376
|
+
// verify required parameter 'code' is not null or undefined
|
|
38377
|
+
assertParamExists('apiV1LanguagesCodePut', 'code', code)
|
|
38378
|
+
const localVarPath = `/api/v1/languages/{code}`
|
|
38379
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
38384
38380
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38385
38381
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38386
38382
|
let baseOptions;
|
|
@@ -38388,7 +38384,7 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38388
38384
|
baseOptions = configuration.baseOptions;
|
|
38389
38385
|
}
|
|
38390
38386
|
|
|
38391
|
-
const localVarRequestOptions = { method: '
|
|
38387
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
38392
38388
|
const localVarHeaderParameter = {} as any;
|
|
38393
38389
|
const localVarQueryParameter = {} as any;
|
|
38394
38390
|
|
|
@@ -38398,9 +38394,12 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38398
38394
|
|
|
38399
38395
|
|
|
38400
38396
|
|
|
38397
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
38398
|
+
|
|
38401
38399
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38402
38400
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38403
38401
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38402
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateLanguageCommand, localVarRequestOptions, configuration)
|
|
38404
38403
|
|
|
38405
38404
|
return {
|
|
38406
38405
|
url: toPathString(localVarUrlObj),
|
|
@@ -38409,16 +38408,19 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38409
38408
|
},
|
|
38410
38409
|
/**
|
|
38411
38410
|
*
|
|
38412
|
-
* @summary Get
|
|
38413
|
-
* @param {string}
|
|
38411
|
+
* @summary Get all Languages.
|
|
38412
|
+
* @param {string} [code]
|
|
38413
|
+
* @param {string} [name]
|
|
38414
|
+
* @param {string} [description]
|
|
38415
|
+
* @param {boolean} [showPublished]
|
|
38416
|
+
* @param {number} [page]
|
|
38417
|
+
* @param {number} [limit]
|
|
38418
|
+
* @param {Date} [lastRetrieved]
|
|
38414
38419
|
* @param {*} [options] Override http request option.
|
|
38415
38420
|
* @throws {RequiredError}
|
|
38416
38421
|
*/
|
|
38417
|
-
|
|
38418
|
-
|
|
38419
|
-
assertParamExists('apiV1LanguagesLanguageIdGet', 'languageId', languageId)
|
|
38420
|
-
const localVarPath = `/api/v1/languages/{languageId}`
|
|
38421
|
-
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
38422
|
+
apiV1LanguagesGet: async (code?: string, name?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38423
|
+
const localVarPath = `/api/v1/languages`;
|
|
38422
38424
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38423
38425
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38424
38426
|
let baseOptions;
|
|
@@ -38434,52 +38436,41 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38434
38436
|
// oauth required
|
|
38435
38437
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
38436
38438
|
|
|
38439
|
+
if (code !== undefined) {
|
|
38440
|
+
localVarQueryParameter['Code'] = code;
|
|
38441
|
+
}
|
|
38437
38442
|
|
|
38438
|
-
|
|
38439
|
-
|
|
38440
|
-
|
|
38441
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38443
|
+
if (name !== undefined) {
|
|
38444
|
+
localVarQueryParameter['Name'] = name;
|
|
38445
|
+
}
|
|
38442
38446
|
|
|
38443
|
-
|
|
38444
|
-
|
|
38445
|
-
options: localVarRequestOptions,
|
|
38446
|
-
};
|
|
38447
|
-
},
|
|
38448
|
-
/**
|
|
38449
|
-
*
|
|
38450
|
-
* @param {string} languageId
|
|
38451
|
-
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
38452
|
-
* @param {*} [options] Override http request option.
|
|
38453
|
-
* @throws {RequiredError}
|
|
38454
|
-
*/
|
|
38455
|
-
apiV1LanguagesLanguageIdPut: async (languageId: string, updateLanguageCommand?: UpdateLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38456
|
-
// verify required parameter 'languageId' is not null or undefined
|
|
38457
|
-
assertParamExists('apiV1LanguagesLanguageIdPut', 'languageId', languageId)
|
|
38458
|
-
const localVarPath = `/api/v1/languages/{languageId}`
|
|
38459
|
-
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
38460
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38461
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38462
|
-
let baseOptions;
|
|
38463
|
-
if (configuration) {
|
|
38464
|
-
baseOptions = configuration.baseOptions;
|
|
38447
|
+
if (description !== undefined) {
|
|
38448
|
+
localVarQueryParameter['Description'] = description;
|
|
38465
38449
|
}
|
|
38466
38450
|
|
|
38467
|
-
|
|
38468
|
-
|
|
38469
|
-
|
|
38451
|
+
if (showPublished !== undefined) {
|
|
38452
|
+
localVarQueryParameter['ShowPublished'] = showPublished;
|
|
38453
|
+
}
|
|
38470
38454
|
|
|
38471
|
-
|
|
38472
|
-
|
|
38473
|
-
|
|
38455
|
+
if (page !== undefined) {
|
|
38456
|
+
localVarQueryParameter['page'] = page;
|
|
38457
|
+
}
|
|
38458
|
+
|
|
38459
|
+
if (limit !== undefined) {
|
|
38460
|
+
localVarQueryParameter['limit'] = limit;
|
|
38461
|
+
}
|
|
38474
38462
|
|
|
38463
|
+
if (lastRetrieved !== undefined) {
|
|
38464
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
38465
|
+
(lastRetrieved as any).toISOString() :
|
|
38466
|
+
lastRetrieved;
|
|
38467
|
+
}
|
|
38475
38468
|
|
|
38476
|
-
|
|
38477
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
38478
38469
|
|
|
38470
|
+
|
|
38479
38471
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38480
38472
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38481
38473
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38482
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateLanguageCommand, localVarRequestOptions, configuration)
|
|
38483
38474
|
|
|
38484
38475
|
return {
|
|
38485
38476
|
url: toPathString(localVarUrlObj),
|
|
@@ -38535,63 +38526,51 @@ export const LanguagesApiFp = function(configuration?: Configuration) {
|
|
|
38535
38526
|
return {
|
|
38536
38527
|
/**
|
|
38537
38528
|
*
|
|
38538
|
-
* @summary Get Language by code.
|
|
38539
38529
|
* @param {string} code
|
|
38540
38530
|
* @param {*} [options] Override http request option.
|
|
38541
38531
|
* @throws {RequiredError}
|
|
38542
38532
|
*/
|
|
38543
|
-
async
|
|
38544
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
38545
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38546
|
-
},
|
|
38547
|
-
/**
|
|
38548
|
-
*
|
|
38549
|
-
* @summary Get all Languages.
|
|
38550
|
-
* @param {string} [id]
|
|
38551
|
-
* @param {string} [name]
|
|
38552
|
-
* @param {string} [code]
|
|
38553
|
-
* @param {string} [description]
|
|
38554
|
-
* @param {boolean} [showPublished]
|
|
38555
|
-
* @param {number} [page]
|
|
38556
|
-
* @param {number} [limit]
|
|
38557
|
-
* @param {Date} [lastRetrieved]
|
|
38558
|
-
* @param {*} [options] Override http request option.
|
|
38559
|
-
* @throws {RequiredError}
|
|
38560
|
-
*/
|
|
38561
|
-
async apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguagesModel>> {
|
|
38562
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options);
|
|
38533
|
+
async apiV1LanguagesCodeDelete(code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
38534
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesCodeDelete(code, options);
|
|
38563
38535
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38564
38536
|
},
|
|
38565
38537
|
/**
|
|
38566
38538
|
*
|
|
38567
|
-
* @
|
|
38539
|
+
* @summary Get Language.
|
|
38540
|
+
* @param {string} code
|
|
38568
38541
|
* @param {*} [options] Override http request option.
|
|
38569
38542
|
* @throws {RequiredError}
|
|
38570
38543
|
*/
|
|
38571
|
-
async
|
|
38572
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
38544
|
+
async apiV1LanguagesCodeGet(code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguageModel>> {
|
|
38545
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesCodeGet(code, options);
|
|
38573
38546
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38574
38547
|
},
|
|
38575
38548
|
/**
|
|
38576
38549
|
*
|
|
38577
|
-
* @
|
|
38578
|
-
* @param {
|
|
38550
|
+
* @param {string} code
|
|
38551
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
38579
38552
|
* @param {*} [options] Override http request option.
|
|
38580
38553
|
* @throws {RequiredError}
|
|
38581
38554
|
*/
|
|
38582
|
-
async
|
|
38583
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
38555
|
+
async apiV1LanguagesCodePut(code: string, updateLanguageCommand?: UpdateLanguageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguageModel>> {
|
|
38556
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesCodePut(code, updateLanguageCommand, options);
|
|
38584
38557
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38585
38558
|
},
|
|
38586
38559
|
/**
|
|
38587
38560
|
*
|
|
38588
|
-
* @
|
|
38589
|
-
* @param {
|
|
38561
|
+
* @summary Get all Languages.
|
|
38562
|
+
* @param {string} [code]
|
|
38563
|
+
* @param {string} [name]
|
|
38564
|
+
* @param {string} [description]
|
|
38565
|
+
* @param {boolean} [showPublished]
|
|
38566
|
+
* @param {number} [page]
|
|
38567
|
+
* @param {number} [limit]
|
|
38568
|
+
* @param {Date} [lastRetrieved]
|
|
38590
38569
|
* @param {*} [options] Override http request option.
|
|
38591
38570
|
* @throws {RequiredError}
|
|
38592
38571
|
*/
|
|
38593
|
-
async
|
|
38594
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
38572
|
+
async apiV1LanguagesGet(code?: string, name?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguagesModel>> {
|
|
38573
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesGet(code, name, description, showPublished, page, limit, lastRetrieved, options);
|
|
38595
38574
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38596
38575
|
},
|
|
38597
38576
|
/**
|
|
@@ -38616,59 +38595,48 @@ export const LanguagesApiFactory = function (configuration?: Configuration, base
|
|
|
38616
38595
|
return {
|
|
38617
38596
|
/**
|
|
38618
38597
|
*
|
|
38619
|
-
* @summary Get Language by code.
|
|
38620
38598
|
* @param {string} code
|
|
38621
38599
|
* @param {*} [options] Override http request option.
|
|
38622
38600
|
* @throws {RequiredError}
|
|
38623
38601
|
*/
|
|
38624
|
-
|
|
38625
|
-
return localVarFp.
|
|
38602
|
+
apiV1LanguagesCodeDelete(code: string, options?: any): AxiosPromise<boolean> {
|
|
38603
|
+
return localVarFp.apiV1LanguagesCodeDelete(code, options).then((request) => request(axios, basePath));
|
|
38626
38604
|
},
|
|
38627
38605
|
/**
|
|
38628
38606
|
*
|
|
38629
|
-
* @summary Get
|
|
38630
|
-
* @param {string}
|
|
38631
|
-
* @param {string} [name]
|
|
38632
|
-
* @param {string} [code]
|
|
38633
|
-
* @param {string} [description]
|
|
38634
|
-
* @param {boolean} [showPublished]
|
|
38635
|
-
* @param {number} [page]
|
|
38636
|
-
* @param {number} [limit]
|
|
38637
|
-
* @param {Date} [lastRetrieved]
|
|
38638
|
-
* @param {*} [options] Override http request option.
|
|
38639
|
-
* @throws {RequiredError}
|
|
38640
|
-
*/
|
|
38641
|
-
apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<LanguagesModel> {
|
|
38642
|
-
return localVarFp.apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
38643
|
-
},
|
|
38644
|
-
/**
|
|
38645
|
-
*
|
|
38646
|
-
* @param {string} languageId
|
|
38607
|
+
* @summary Get Language.
|
|
38608
|
+
* @param {string} code
|
|
38647
38609
|
* @param {*} [options] Override http request option.
|
|
38648
38610
|
* @throws {RequiredError}
|
|
38649
38611
|
*/
|
|
38650
|
-
|
|
38651
|
-
return localVarFp.
|
|
38612
|
+
apiV1LanguagesCodeGet(code: string, options?: any): AxiosPromise<LanguageModel> {
|
|
38613
|
+
return localVarFp.apiV1LanguagesCodeGet(code, options).then((request) => request(axios, basePath));
|
|
38652
38614
|
},
|
|
38653
38615
|
/**
|
|
38654
38616
|
*
|
|
38655
|
-
* @
|
|
38656
|
-
* @param {
|
|
38617
|
+
* @param {string} code
|
|
38618
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
38657
38619
|
* @param {*} [options] Override http request option.
|
|
38658
38620
|
* @throws {RequiredError}
|
|
38659
38621
|
*/
|
|
38660
|
-
|
|
38661
|
-
return localVarFp.
|
|
38622
|
+
apiV1LanguagesCodePut(code: string, updateLanguageCommand?: UpdateLanguageCommand, options?: any): AxiosPromise<LanguageModel> {
|
|
38623
|
+
return localVarFp.apiV1LanguagesCodePut(code, updateLanguageCommand, options).then((request) => request(axios, basePath));
|
|
38662
38624
|
},
|
|
38663
38625
|
/**
|
|
38664
38626
|
*
|
|
38665
|
-
* @
|
|
38666
|
-
* @param {
|
|
38627
|
+
* @summary Get all Languages.
|
|
38628
|
+
* @param {string} [code]
|
|
38629
|
+
* @param {string} [name]
|
|
38630
|
+
* @param {string} [description]
|
|
38631
|
+
* @param {boolean} [showPublished]
|
|
38632
|
+
* @param {number} [page]
|
|
38633
|
+
* @param {number} [limit]
|
|
38634
|
+
* @param {Date} [lastRetrieved]
|
|
38667
38635
|
* @param {*} [options] Override http request option.
|
|
38668
38636
|
* @throws {RequiredError}
|
|
38669
38637
|
*/
|
|
38670
|
-
|
|
38671
|
-
return localVarFp.
|
|
38638
|
+
apiV1LanguagesGet(code?: string, name?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<LanguagesModel> {
|
|
38639
|
+
return localVarFp.apiV1LanguagesGet(code, name, description, showPublished, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
38672
38640
|
},
|
|
38673
38641
|
/**
|
|
38674
38642
|
*
|
|
@@ -38691,68 +38659,55 @@ export const LanguagesApiFactory = function (configuration?: Configuration, base
|
|
|
38691
38659
|
export class LanguagesApi extends BaseAPI {
|
|
38692
38660
|
/**
|
|
38693
38661
|
*
|
|
38694
|
-
* @summary Get Language by code.
|
|
38695
38662
|
* @param {string} code
|
|
38696
38663
|
* @param {*} [options] Override http request option.
|
|
38697
38664
|
* @throws {RequiredError}
|
|
38698
38665
|
* @memberof LanguagesApi
|
|
38699
38666
|
*/
|
|
38700
|
-
public
|
|
38701
|
-
return LanguagesApiFp(this.configuration).
|
|
38667
|
+
public apiV1LanguagesCodeDelete(code: string, options?: AxiosRequestConfig) {
|
|
38668
|
+
return LanguagesApiFp(this.configuration).apiV1LanguagesCodeDelete(code, options).then((request) => request(this.axios, this.basePath));
|
|
38702
38669
|
}
|
|
38703
38670
|
|
|
38704
38671
|
/**
|
|
38705
38672
|
*
|
|
38706
|
-
* @summary Get
|
|
38707
|
-
* @param {string}
|
|
38708
|
-
* @param {string} [name]
|
|
38709
|
-
* @param {string} [code]
|
|
38710
|
-
* @param {string} [description]
|
|
38711
|
-
* @param {boolean} [showPublished]
|
|
38712
|
-
* @param {number} [page]
|
|
38713
|
-
* @param {number} [limit]
|
|
38714
|
-
* @param {Date} [lastRetrieved]
|
|
38715
|
-
* @param {*} [options] Override http request option.
|
|
38716
|
-
* @throws {RequiredError}
|
|
38717
|
-
* @memberof LanguagesApi
|
|
38718
|
-
*/
|
|
38719
|
-
public apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
38720
|
-
return LanguagesApiFp(this.configuration).apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
38721
|
-
}
|
|
38722
|
-
|
|
38723
|
-
/**
|
|
38724
|
-
*
|
|
38725
|
-
* @param {string} languageId
|
|
38673
|
+
* @summary Get Language.
|
|
38674
|
+
* @param {string} code
|
|
38726
38675
|
* @param {*} [options] Override http request option.
|
|
38727
38676
|
* @throws {RequiredError}
|
|
38728
38677
|
* @memberof LanguagesApi
|
|
38729
38678
|
*/
|
|
38730
|
-
public
|
|
38731
|
-
return LanguagesApiFp(this.configuration).
|
|
38679
|
+
public apiV1LanguagesCodeGet(code: string, options?: AxiosRequestConfig) {
|
|
38680
|
+
return LanguagesApiFp(this.configuration).apiV1LanguagesCodeGet(code, options).then((request) => request(this.axios, this.basePath));
|
|
38732
38681
|
}
|
|
38733
38682
|
|
|
38734
38683
|
/**
|
|
38735
38684
|
*
|
|
38736
|
-
* @
|
|
38737
|
-
* @param {
|
|
38685
|
+
* @param {string} code
|
|
38686
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
38738
38687
|
* @param {*} [options] Override http request option.
|
|
38739
38688
|
* @throws {RequiredError}
|
|
38740
38689
|
* @memberof LanguagesApi
|
|
38741
38690
|
*/
|
|
38742
|
-
public
|
|
38743
|
-
return LanguagesApiFp(this.configuration).
|
|
38691
|
+
public apiV1LanguagesCodePut(code: string, updateLanguageCommand?: UpdateLanguageCommand, options?: AxiosRequestConfig) {
|
|
38692
|
+
return LanguagesApiFp(this.configuration).apiV1LanguagesCodePut(code, updateLanguageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
38744
38693
|
}
|
|
38745
38694
|
|
|
38746
38695
|
/**
|
|
38747
38696
|
*
|
|
38748
|
-
* @
|
|
38749
|
-
* @param {
|
|
38697
|
+
* @summary Get all Languages.
|
|
38698
|
+
* @param {string} [code]
|
|
38699
|
+
* @param {string} [name]
|
|
38700
|
+
* @param {string} [description]
|
|
38701
|
+
* @param {boolean} [showPublished]
|
|
38702
|
+
* @param {number} [page]
|
|
38703
|
+
* @param {number} [limit]
|
|
38704
|
+
* @param {Date} [lastRetrieved]
|
|
38750
38705
|
* @param {*} [options] Override http request option.
|
|
38751
38706
|
* @throws {RequiredError}
|
|
38752
38707
|
* @memberof LanguagesApi
|
|
38753
38708
|
*/
|
|
38754
|
-
public
|
|
38755
|
-
return LanguagesApiFp(this.configuration).
|
|
38709
|
+
public apiV1LanguagesGet(code?: string, name?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
38710
|
+
return LanguagesApiFp(this.configuration).apiV1LanguagesGet(code, name, description, showPublished, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
38756
38711
|
}
|
|
38757
38712
|
|
|
38758
38713
|
/**
|
|
@@ -43832,6 +43787,7 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
43832
43787
|
* @param {string} [name]
|
|
43833
43788
|
* @param {string} [description]
|
|
43834
43789
|
* @param {string} [specialtyTypeId]
|
|
43790
|
+
* @param {MarketingType} [marketingType]
|
|
43835
43791
|
* @param {string} [hospitalId]
|
|
43836
43792
|
* @param {Date} [created]
|
|
43837
43793
|
* @param {string} [languageCode]
|
|
@@ -43844,7 +43800,7 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
43844
43800
|
* @param {*} [options] Override http request option.
|
|
43845
43801
|
* @throws {RequiredError}
|
|
43846
43802
|
*/
|
|
43847
|
-
apiV1SpecialtiesGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43803
|
+
apiV1SpecialtiesGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43848
43804
|
const localVarPath = `/api/v1/specialties`;
|
|
43849
43805
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43850
43806
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -43877,6 +43833,10 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
43877
43833
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
43878
43834
|
}
|
|
43879
43835
|
|
|
43836
|
+
if (marketingType !== undefined) {
|
|
43837
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
43838
|
+
}
|
|
43839
|
+
|
|
43880
43840
|
if (hospitalId !== undefined) {
|
|
43881
43841
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
43882
43842
|
}
|
|
@@ -43973,6 +43933,7 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
43973
43933
|
* @param {string} [name]
|
|
43974
43934
|
* @param {string} [description]
|
|
43975
43935
|
* @param {string} [specialtyTypeId]
|
|
43936
|
+
* @param {MarketingType} [marketingType]
|
|
43976
43937
|
* @param {string} [hospitalId]
|
|
43977
43938
|
* @param {Date} [created]
|
|
43978
43939
|
* @param {string} [languageCode]
|
|
@@ -43985,7 +43946,7 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
43985
43946
|
* @param {*} [options] Override http request option.
|
|
43986
43947
|
* @throws {RequiredError}
|
|
43987
43948
|
*/
|
|
43988
|
-
apiV1SpecialtiesSimpleGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43949
|
+
apiV1SpecialtiesSimpleGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43989
43950
|
const localVarPath = `/api/v1/specialties/simple`;
|
|
43990
43951
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43991
43952
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -44018,6 +43979,10 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
44018
43979
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
44019
43980
|
}
|
|
44020
43981
|
|
|
43982
|
+
if (marketingType !== undefined) {
|
|
43983
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
43984
|
+
}
|
|
43985
|
+
|
|
44021
43986
|
if (hospitalId !== undefined) {
|
|
44022
43987
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
44023
43988
|
}
|
|
@@ -44498,6 +44463,7 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
44498
44463
|
* @param {string} [name]
|
|
44499
44464
|
* @param {string} [description]
|
|
44500
44465
|
* @param {string} [specialtyTypeId]
|
|
44466
|
+
* @param {MarketingType} [marketingType]
|
|
44501
44467
|
* @param {string} [hospitalId]
|
|
44502
44468
|
* @param {Date} [created]
|
|
44503
44469
|
* @param {string} [languageCode]
|
|
@@ -44510,8 +44476,8 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
44510
44476
|
* @param {*} [options] Override http request option.
|
|
44511
44477
|
* @throws {RequiredError}
|
|
44512
44478
|
*/
|
|
44513
|
-
async apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesModel>> {
|
|
44514
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
44479
|
+
async apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesModel>> {
|
|
44480
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
44515
44481
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
44516
44482
|
},
|
|
44517
44483
|
/**
|
|
@@ -44532,6 +44498,7 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
44532
44498
|
* @param {string} [name]
|
|
44533
44499
|
* @param {string} [description]
|
|
44534
44500
|
* @param {string} [specialtyTypeId]
|
|
44501
|
+
* @param {MarketingType} [marketingType]
|
|
44535
44502
|
* @param {string} [hospitalId]
|
|
44536
44503
|
* @param {Date} [created]
|
|
44537
44504
|
* @param {string} [languageCode]
|
|
@@ -44544,8 +44511,8 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
44544
44511
|
* @param {*} [options] Override http request option.
|
|
44545
44512
|
* @throws {RequiredError}
|
|
44546
44513
|
*/
|
|
44547
|
-
async apiV1SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesSimpleModel>> {
|
|
44548
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
44514
|
+
async apiV1SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesSimpleModel>> {
|
|
44515
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
44549
44516
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
44550
44517
|
},
|
|
44551
44518
|
/**
|
|
@@ -44678,6 +44645,7 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
44678
44645
|
* @param {string} [name]
|
|
44679
44646
|
* @param {string} [description]
|
|
44680
44647
|
* @param {string} [specialtyTypeId]
|
|
44648
|
+
* @param {MarketingType} [marketingType]
|
|
44681
44649
|
* @param {string} [hospitalId]
|
|
44682
44650
|
* @param {Date} [created]
|
|
44683
44651
|
* @param {string} [languageCode]
|
|
@@ -44690,8 +44658,8 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
44690
44658
|
* @param {*} [options] Override http request option.
|
|
44691
44659
|
* @throws {RequiredError}
|
|
44692
44660
|
*/
|
|
44693
|
-
apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
|
|
44694
|
-
return localVarFp.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
44661
|
+
apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
|
|
44662
|
+
return localVarFp.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
44695
44663
|
},
|
|
44696
44664
|
/**
|
|
44697
44665
|
*
|
|
@@ -44710,6 +44678,7 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
44710
44678
|
* @param {string} [name]
|
|
44711
44679
|
* @param {string} [description]
|
|
44712
44680
|
* @param {string} [specialtyTypeId]
|
|
44681
|
+
* @param {MarketingType} [marketingType]
|
|
44713
44682
|
* @param {string} [hospitalId]
|
|
44714
44683
|
* @param {Date} [created]
|
|
44715
44684
|
* @param {string} [languageCode]
|
|
@@ -44722,8 +44691,8 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
44722
44691
|
* @param {*} [options] Override http request option.
|
|
44723
44692
|
* @throws {RequiredError}
|
|
44724
44693
|
*/
|
|
44725
|
-
apiV1SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesSimpleModel> {
|
|
44726
|
-
return localVarFp.apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
44694
|
+
apiV1SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesSimpleModel> {
|
|
44695
|
+
return localVarFp.apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
44727
44696
|
},
|
|
44728
44697
|
/**
|
|
44729
44698
|
*
|
|
@@ -44846,6 +44815,7 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
44846
44815
|
* @param {string} [name]
|
|
44847
44816
|
* @param {string} [description]
|
|
44848
44817
|
* @param {string} [specialtyTypeId]
|
|
44818
|
+
* @param {MarketingType} [marketingType]
|
|
44849
44819
|
* @param {string} [hospitalId]
|
|
44850
44820
|
* @param {Date} [created]
|
|
44851
44821
|
* @param {string} [languageCode]
|
|
@@ -44859,8 +44829,8 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
44859
44829
|
* @throws {RequiredError}
|
|
44860
44830
|
* @memberof SpecialtiesApi
|
|
44861
44831
|
*/
|
|
44862
|
-
public apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
44863
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
44832
|
+
public apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
44833
|
+
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
44864
44834
|
}
|
|
44865
44835
|
|
|
44866
44836
|
/**
|
|
@@ -44882,6 +44852,7 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
44882
44852
|
* @param {string} [name]
|
|
44883
44853
|
* @param {string} [description]
|
|
44884
44854
|
* @param {string} [specialtyTypeId]
|
|
44855
|
+
* @param {MarketingType} [marketingType]
|
|
44885
44856
|
* @param {string} [hospitalId]
|
|
44886
44857
|
* @param {Date} [created]
|
|
44887
44858
|
* @param {string} [languageCode]
|
|
@@ -44895,8 +44866,8 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
44895
44866
|
* @throws {RequiredError}
|
|
44896
44867
|
* @memberof SpecialtiesApi
|
|
44897
44868
|
*/
|
|
44898
|
-
public apiV1SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
44899
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
44869
|
+
public apiV1SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
44870
|
+
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
44900
44871
|
}
|
|
44901
44872
|
|
|
44902
44873
|
/**
|