ch-admin-api-client-typescript 4.2.8 → 4.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +56 -68
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +105 -126
- package/package.json +1 -1
- package/src/api.ts +110 -131
package/src/api.ts
CHANGED
|
@@ -26376,24 +26376,20 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26376
26376
|
},
|
|
26377
26377
|
/**
|
|
26378
26378
|
*
|
|
26379
|
-
* @summary
|
|
26379
|
+
* @summary Get all DoctorLanguages.
|
|
26380
26380
|
* @param {string} doctorId
|
|
26381
|
-
* @param {string}
|
|
26382
|
-
* @param {
|
|
26381
|
+
* @param {string} [language]
|
|
26382
|
+
* @param {number} [page]
|
|
26383
|
+
* @param {number} [limit]
|
|
26384
|
+
* @param {Date} [lastRetrieved]
|
|
26383
26385
|
* @param {*} [options] Override http request option.
|
|
26384
26386
|
* @throws {RequiredError}
|
|
26385
26387
|
*/
|
|
26386
|
-
|
|
26388
|
+
apiV1DoctorsDoctorIdLanguagesGet: async (doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26387
26389
|
// 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)));
|
|
26390
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesGet', 'doctorId', doctorId)
|
|
26391
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/languages`
|
|
26392
|
+
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
|
|
26397
26393
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26398
26394
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26399
26395
|
let baseOptions;
|
|
@@ -26401,7 +26397,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26401
26397
|
baseOptions = configuration.baseOptions;
|
|
26402
26398
|
}
|
|
26403
26399
|
|
|
26404
|
-
const localVarRequestOptions = { method: '
|
|
26400
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
26405
26401
|
const localVarHeaderParameter = {} as any;
|
|
26406
26402
|
const localVarQueryParameter = {} as any;
|
|
26407
26403
|
|
|
@@ -26409,6 +26405,24 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26409
26405
|
// oauth required
|
|
26410
26406
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
26411
26407
|
|
|
26408
|
+
if (language !== undefined) {
|
|
26409
|
+
localVarQueryParameter['Language'] = language;
|
|
26410
|
+
}
|
|
26411
|
+
|
|
26412
|
+
if (page !== undefined) {
|
|
26413
|
+
localVarQueryParameter['page'] = page;
|
|
26414
|
+
}
|
|
26415
|
+
|
|
26416
|
+
if (limit !== undefined) {
|
|
26417
|
+
localVarQueryParameter['limit'] = limit;
|
|
26418
|
+
}
|
|
26419
|
+
|
|
26420
|
+
if (lastRetrieved !== undefined) {
|
|
26421
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
26422
|
+
(lastRetrieved as any).toISOString() :
|
|
26423
|
+
lastRetrieved;
|
|
26424
|
+
}
|
|
26425
|
+
|
|
26412
26426
|
|
|
26413
26427
|
|
|
26414
26428
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -26422,24 +26436,20 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26422
26436
|
},
|
|
26423
26437
|
/**
|
|
26424
26438
|
*
|
|
26425
|
-
* @summary
|
|
26439
|
+
* @summary Delete DoctorLanguage
|
|
26426
26440
|
* @param {string} doctorId
|
|
26427
26441
|
* @param {string} languageId
|
|
26428
|
-
* @param {string} code
|
|
26429
26442
|
* @param {*} [options] Override http request option.
|
|
26430
26443
|
* @throws {RequiredError}
|
|
26431
26444
|
*/
|
|
26432
|
-
|
|
26445
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdDelete: async (doctorId: string, languageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26433
26446
|
// verify required parameter 'doctorId' is not null or undefined
|
|
26434
|
-
assertParamExists('
|
|
26447
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdDelete', 'doctorId', doctorId)
|
|
26435
26448
|
// 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}`
|
|
26449
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdDelete', 'languageId', languageId)
|
|
26450
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/languages/{languageId}`
|
|
26440
26451
|
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
26441
|
-
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)))
|
|
26442
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
26452
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
26443
26453
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26444
26454
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26445
26455
|
let baseOptions;
|
|
@@ -26447,7 +26457,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26447
26457
|
baseOptions = configuration.baseOptions;
|
|
26448
26458
|
}
|
|
26449
26459
|
|
|
26450
|
-
const localVarRequestOptions = { method: '
|
|
26460
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
26451
26461
|
const localVarHeaderParameter = {} as any;
|
|
26452
26462
|
const localVarQueryParameter = {} as any;
|
|
26453
26463
|
|
|
@@ -26468,25 +26478,20 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26468
26478
|
},
|
|
26469
26479
|
/**
|
|
26470
26480
|
*
|
|
26471
|
-
* @summary
|
|
26481
|
+
* @summary Get DoctorLanguage.
|
|
26472
26482
|
* @param {string} doctorId
|
|
26473
26483
|
* @param {string} languageId
|
|
26474
|
-
* @param {string} code
|
|
26475
|
-
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
26476
26484
|
* @param {*} [options] Override http request option.
|
|
26477
26485
|
* @throws {RequiredError}
|
|
26478
26486
|
*/
|
|
26479
|
-
|
|
26487
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdGet: async (doctorId: string, languageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26480
26488
|
// verify required parameter 'doctorId' is not null or undefined
|
|
26481
|
-
assertParamExists('
|
|
26489
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdGet', 'doctorId', doctorId)
|
|
26482
26490
|
// 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}`
|
|
26491
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdGet', 'languageId', languageId)
|
|
26492
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/languages/{languageId}`
|
|
26487
26493
|
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
26488
|
-
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)))
|
|
26489
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
26494
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
26490
26495
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26491
26496
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26492
26497
|
let baseOptions;
|
|
@@ -26494,7 +26499,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26494
26499
|
baseOptions = configuration.baseOptions;
|
|
26495
26500
|
}
|
|
26496
26501
|
|
|
26497
|
-
const localVarRequestOptions = { method: '
|
|
26502
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
26498
26503
|
const localVarHeaderParameter = {} as any;
|
|
26499
26504
|
const localVarQueryParameter = {} as any;
|
|
26500
26505
|
|
|
@@ -26504,12 +26509,9 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26504
26509
|
|
|
26505
26510
|
|
|
26506
26511
|
|
|
26507
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26508
|
-
|
|
26509
26512
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26510
26513
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26511
26514
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26512
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration)
|
|
26513
26515
|
|
|
26514
26516
|
return {
|
|
26515
26517
|
url: toPathString(localVarUrlObj),
|
|
@@ -26518,20 +26520,21 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26518
26520
|
},
|
|
26519
26521
|
/**
|
|
26520
26522
|
*
|
|
26521
|
-
* @summary
|
|
26523
|
+
* @summary Update DoctorLanguage.
|
|
26522
26524
|
* @param {string} doctorId
|
|
26523
|
-
* @param {string}
|
|
26524
|
-
* @param {
|
|
26525
|
-
* @param {number} [limit]
|
|
26526
|
-
* @param {Date} [lastRetrieved]
|
|
26525
|
+
* @param {string} languageId
|
|
26526
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
26527
26527
|
* @param {*} [options] Override http request option.
|
|
26528
26528
|
* @throws {RequiredError}
|
|
26529
26529
|
*/
|
|
26530
|
-
|
|
26530
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdPut: async (doctorId: string, languageId: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26531
26531
|
// verify required parameter 'doctorId' is not null or undefined
|
|
26532
|
-
assertParamExists('
|
|
26533
|
-
|
|
26534
|
-
|
|
26532
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdPut', 'doctorId', doctorId)
|
|
26533
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
26534
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdPut', 'languageId', languageId)
|
|
26535
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/languages/{languageId}`
|
|
26536
|
+
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
26537
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
26535
26538
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26536
26539
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26537
26540
|
let baseOptions;
|
|
@@ -26539,7 +26542,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26539
26542
|
baseOptions = configuration.baseOptions;
|
|
26540
26543
|
}
|
|
26541
26544
|
|
|
26542
|
-
const localVarRequestOptions = { method: '
|
|
26545
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
26543
26546
|
const localVarHeaderParameter = {} as any;
|
|
26544
26547
|
const localVarQueryParameter = {} as any;
|
|
26545
26548
|
|
|
@@ -26547,29 +26550,14 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26547
26550
|
// oauth required
|
|
26548
26551
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
26549
26552
|
|
|
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
26553
|
|
|
26569
26554
|
|
|
26555
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26556
|
+
|
|
26570
26557
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26571
26558
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26572
26559
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26560
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration)
|
|
26573
26561
|
|
|
26574
26562
|
return {
|
|
26575
26563
|
url: toPathString(localVarUrlObj),
|
|
@@ -27823,57 +27811,54 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
27823
27811
|
},
|
|
27824
27812
|
/**
|
|
27825
27813
|
*
|
|
27826
|
-
* @summary
|
|
27814
|
+
* @summary Get all DoctorLanguages.
|
|
27827
27815
|
* @param {string} doctorId
|
|
27828
|
-
* @param {string}
|
|
27829
|
-
* @param {
|
|
27816
|
+
* @param {string} [language]
|
|
27817
|
+
* @param {number} [page]
|
|
27818
|
+
* @param {number} [limit]
|
|
27819
|
+
* @param {Date} [lastRetrieved]
|
|
27830
27820
|
* @param {*} [options] Override http request option.
|
|
27831
27821
|
* @throws {RequiredError}
|
|
27832
27822
|
*/
|
|
27833
|
-
async
|
|
27834
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
27823
|
+
async apiV1DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguagesModel>> {
|
|
27824
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options);
|
|
27835
27825
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27836
27826
|
},
|
|
27837
27827
|
/**
|
|
27838
27828
|
*
|
|
27839
|
-
* @summary
|
|
27829
|
+
* @summary Delete DoctorLanguage
|
|
27840
27830
|
* @param {string} doctorId
|
|
27841
27831
|
* @param {string} languageId
|
|
27842
|
-
* @param {string} code
|
|
27843
27832
|
* @param {*} [options] Override http request option.
|
|
27844
27833
|
* @throws {RequiredError}
|
|
27845
27834
|
*/
|
|
27846
|
-
async
|
|
27847
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
27835
|
+
async apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId: string, languageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
27836
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options);
|
|
27848
27837
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27849
27838
|
},
|
|
27850
27839
|
/**
|
|
27851
27840
|
*
|
|
27852
|
-
* @summary
|
|
27841
|
+
* @summary Get DoctorLanguage.
|
|
27853
27842
|
* @param {string} doctorId
|
|
27854
27843
|
* @param {string} languageId
|
|
27855
|
-
* @param {string} code
|
|
27856
|
-
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
27857
27844
|
* @param {*} [options] Override http request option.
|
|
27858
27845
|
* @throws {RequiredError}
|
|
27859
27846
|
*/
|
|
27860
|
-
async
|
|
27861
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
27847
|
+
async apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId: string, languageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguageModel>> {
|
|
27848
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options);
|
|
27862
27849
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27863
27850
|
},
|
|
27864
27851
|
/**
|
|
27865
27852
|
*
|
|
27866
|
-
* @summary
|
|
27853
|
+
* @summary Update DoctorLanguage.
|
|
27867
27854
|
* @param {string} doctorId
|
|
27868
|
-
* @param {string}
|
|
27869
|
-
* @param {
|
|
27870
|
-
* @param {number} [limit]
|
|
27871
|
-
* @param {Date} [lastRetrieved]
|
|
27855
|
+
* @param {string} languageId
|
|
27856
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
27872
27857
|
* @param {*} [options] Override http request option.
|
|
27873
27858
|
* @throws {RequiredError}
|
|
27874
27859
|
*/
|
|
27875
|
-
async
|
|
27876
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
27860
|
+
async apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId: string, languageId: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguageModel>> {
|
|
27861
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options);
|
|
27877
27862
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27878
27863
|
},
|
|
27879
27864
|
/**
|
|
@@ -28316,54 +28301,51 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
28316
28301
|
},
|
|
28317
28302
|
/**
|
|
28318
28303
|
*
|
|
28319
|
-
* @summary
|
|
28304
|
+
* @summary Get all DoctorLanguages.
|
|
28320
28305
|
* @param {string} doctorId
|
|
28321
|
-
* @param {string}
|
|
28322
|
-
* @param {
|
|
28306
|
+
* @param {string} [language]
|
|
28307
|
+
* @param {number} [page]
|
|
28308
|
+
* @param {number} [limit]
|
|
28309
|
+
* @param {Date} [lastRetrieved]
|
|
28323
28310
|
* @param {*} [options] Override http request option.
|
|
28324
28311
|
* @throws {RequiredError}
|
|
28325
28312
|
*/
|
|
28326
|
-
|
|
28327
|
-
return localVarFp.
|
|
28313
|
+
apiV1DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorLanguagesModel> {
|
|
28314
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
28328
28315
|
},
|
|
28329
28316
|
/**
|
|
28330
28317
|
*
|
|
28331
|
-
* @summary
|
|
28318
|
+
* @summary Delete DoctorLanguage
|
|
28332
28319
|
* @param {string} doctorId
|
|
28333
28320
|
* @param {string} languageId
|
|
28334
|
-
* @param {string} code
|
|
28335
28321
|
* @param {*} [options] Override http request option.
|
|
28336
28322
|
* @throws {RequiredError}
|
|
28337
28323
|
*/
|
|
28338
|
-
|
|
28339
|
-
return localVarFp.
|
|
28324
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId: string, languageId: string, options?: any): AxiosPromise<boolean> {
|
|
28325
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options).then((request) => request(axios, basePath));
|
|
28340
28326
|
},
|
|
28341
28327
|
/**
|
|
28342
28328
|
*
|
|
28343
|
-
* @summary
|
|
28329
|
+
* @summary Get DoctorLanguage.
|
|
28344
28330
|
* @param {string} doctorId
|
|
28345
28331
|
* @param {string} languageId
|
|
28346
|
-
* @param {string} code
|
|
28347
|
-
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
28348
28332
|
* @param {*} [options] Override http request option.
|
|
28349
28333
|
* @throws {RequiredError}
|
|
28350
28334
|
*/
|
|
28351
|
-
|
|
28352
|
-
return localVarFp.
|
|
28335
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId: string, languageId: string, options?: any): AxiosPromise<DoctorLanguageModel> {
|
|
28336
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then((request) => request(axios, basePath));
|
|
28353
28337
|
},
|
|
28354
28338
|
/**
|
|
28355
28339
|
*
|
|
28356
|
-
* @summary
|
|
28340
|
+
* @summary Update DoctorLanguage.
|
|
28357
28341
|
* @param {string} doctorId
|
|
28358
|
-
* @param {string}
|
|
28359
|
-
* @param {
|
|
28360
|
-
* @param {number} [limit]
|
|
28361
|
-
* @param {Date} [lastRetrieved]
|
|
28342
|
+
* @param {string} languageId
|
|
28343
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
28362
28344
|
* @param {*} [options] Override http request option.
|
|
28363
28345
|
* @throws {RequiredError}
|
|
28364
28346
|
*/
|
|
28365
|
-
|
|
28366
|
-
return localVarFp.
|
|
28347
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId: string, languageId: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options?: any): AxiosPromise<DoctorLanguageModel> {
|
|
28348
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options).then((request) => request(axios, basePath));
|
|
28367
28349
|
},
|
|
28368
28350
|
/**
|
|
28369
28351
|
*
|
|
@@ -28809,61 +28791,58 @@ export class DoctorsApi extends BaseAPI {
|
|
|
28809
28791
|
|
|
28810
28792
|
/**
|
|
28811
28793
|
*
|
|
28812
|
-
* @summary
|
|
28794
|
+
* @summary Get all DoctorLanguages.
|
|
28813
28795
|
* @param {string} doctorId
|
|
28814
|
-
* @param {string}
|
|
28815
|
-
* @param {
|
|
28796
|
+
* @param {string} [language]
|
|
28797
|
+
* @param {number} [page]
|
|
28798
|
+
* @param {number} [limit]
|
|
28799
|
+
* @param {Date} [lastRetrieved]
|
|
28816
28800
|
* @param {*} [options] Override http request option.
|
|
28817
28801
|
* @throws {RequiredError}
|
|
28818
28802
|
* @memberof DoctorsApi
|
|
28819
28803
|
*/
|
|
28820
|
-
public
|
|
28821
|
-
return DoctorsApiFp(this.configuration).
|
|
28804
|
+
public apiV1DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
28805
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
28822
28806
|
}
|
|
28823
28807
|
|
|
28824
28808
|
/**
|
|
28825
28809
|
*
|
|
28826
|
-
* @summary
|
|
28810
|
+
* @summary Delete DoctorLanguage
|
|
28827
28811
|
* @param {string} doctorId
|
|
28828
28812
|
* @param {string} languageId
|
|
28829
|
-
* @param {string} code
|
|
28830
28813
|
* @param {*} [options] Override http request option.
|
|
28831
28814
|
* @throws {RequiredError}
|
|
28832
28815
|
* @memberof DoctorsApi
|
|
28833
28816
|
*/
|
|
28834
|
-
public
|
|
28835
|
-
return DoctorsApiFp(this.configuration).
|
|
28817
|
+
public apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId: string, languageId: string, options?: AxiosRequestConfig) {
|
|
28818
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options).then((request) => request(this.axios, this.basePath));
|
|
28836
28819
|
}
|
|
28837
28820
|
|
|
28838
28821
|
/**
|
|
28839
28822
|
*
|
|
28840
|
-
* @summary
|
|
28823
|
+
* @summary Get DoctorLanguage.
|
|
28841
28824
|
* @param {string} doctorId
|
|
28842
28825
|
* @param {string} languageId
|
|
28843
|
-
* @param {string} code
|
|
28844
|
-
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
28845
28826
|
* @param {*} [options] Override http request option.
|
|
28846
28827
|
* @throws {RequiredError}
|
|
28847
28828
|
* @memberof DoctorsApi
|
|
28848
28829
|
*/
|
|
28849
|
-
public
|
|
28850
|
-
return DoctorsApiFp(this.configuration).
|
|
28830
|
+
public apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId: string, languageId: string, options?: AxiosRequestConfig) {
|
|
28831
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then((request) => request(this.axios, this.basePath));
|
|
28851
28832
|
}
|
|
28852
28833
|
|
|
28853
28834
|
/**
|
|
28854
28835
|
*
|
|
28855
|
-
* @summary
|
|
28836
|
+
* @summary Update DoctorLanguage.
|
|
28856
28837
|
* @param {string} doctorId
|
|
28857
|
-
* @param {string}
|
|
28858
|
-
* @param {
|
|
28859
|
-
* @param {number} [limit]
|
|
28860
|
-
* @param {Date} [lastRetrieved]
|
|
28838
|
+
* @param {string} languageId
|
|
28839
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
28861
28840
|
* @param {*} [options] Override http request option.
|
|
28862
28841
|
* @throws {RequiredError}
|
|
28863
28842
|
* @memberof DoctorsApi
|
|
28864
28843
|
*/
|
|
28865
|
-
public
|
|
28866
|
-
return DoctorsApiFp(this.configuration).
|
|
28844
|
+
public apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId: string, languageId: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options?: AxiosRequestConfig) {
|
|
28845
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
28867
28846
|
}
|
|
28868
28847
|
|
|
28869
28848
|
/**
|