ch-admin-api-client-typescript 4.2.4 → 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 +172 -199
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +314 -378
- package/package.json +1 -1
- package/src/api.ts +324 -381
package/src/api.ts
CHANGED
|
@@ -13094,12 +13094,6 @@ export interface UpdateHospitalWorkingDayCommand {
|
|
|
13094
13094
|
* @interface UpdateLanguageCommand
|
|
13095
13095
|
*/
|
|
13096
13096
|
export interface UpdateLanguageCommand {
|
|
13097
|
-
/**
|
|
13098
|
-
*
|
|
13099
|
-
* @type {string}
|
|
13100
|
-
* @memberof UpdateLanguageCommand
|
|
13101
|
-
*/
|
|
13102
|
-
'code'?: string | null;
|
|
13103
13097
|
/**
|
|
13104
13098
|
*
|
|
13105
13099
|
* @type {string}
|
|
@@ -26382,20 +26376,24 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26382
26376
|
},
|
|
26383
26377
|
/**
|
|
26384
26378
|
*
|
|
26385
|
-
* @summary
|
|
26379
|
+
* @summary Delete DoctorLanguage
|
|
26386
26380
|
* @param {string} doctorId
|
|
26387
|
-
* @param {string}
|
|
26388
|
-
* @param {
|
|
26389
|
-
* @param {number} [limit]
|
|
26390
|
-
* @param {Date} [lastRetrieved]
|
|
26381
|
+
* @param {string} languageId
|
|
26382
|
+
* @param {string} code
|
|
26391
26383
|
* @param {*} [options] Override http request option.
|
|
26392
26384
|
* @throws {RequiredError}
|
|
26393
26385
|
*/
|
|
26394
|
-
|
|
26386
|
+
apiV1DoctorsDoctorIdLanguagesCodeDelete: async (doctorId: string, languageId: string, code: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26395
26387
|
// verify required parameter 'doctorId' is not null or undefined
|
|
26396
|
-
assertParamExists('
|
|
26397
|
-
|
|
26398
|
-
|
|
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)));
|
|
26399
26397
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26400
26398
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26401
26399
|
let baseOptions;
|
|
@@ -26403,7 +26401,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26403
26401
|
baseOptions = configuration.baseOptions;
|
|
26404
26402
|
}
|
|
26405
26403
|
|
|
26406
|
-
const localVarRequestOptions = { method: '
|
|
26404
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
26407
26405
|
const localVarHeaderParameter = {} as any;
|
|
26408
26406
|
const localVarQueryParameter = {} as any;
|
|
26409
26407
|
|
|
@@ -26411,24 +26409,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26411
26409
|
// oauth required
|
|
26412
26410
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
26413
26411
|
|
|
26414
|
-
if (language !== undefined) {
|
|
26415
|
-
localVarQueryParameter['Language'] = language;
|
|
26416
|
-
}
|
|
26417
|
-
|
|
26418
|
-
if (page !== undefined) {
|
|
26419
|
-
localVarQueryParameter['page'] = page;
|
|
26420
|
-
}
|
|
26421
|
-
|
|
26422
|
-
if (limit !== undefined) {
|
|
26423
|
-
localVarQueryParameter['limit'] = limit;
|
|
26424
|
-
}
|
|
26425
|
-
|
|
26426
|
-
if (lastRetrieved !== undefined) {
|
|
26427
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
26428
|
-
(lastRetrieved as any).toISOString() :
|
|
26429
|
-
lastRetrieved;
|
|
26430
|
-
}
|
|
26431
|
-
|
|
26432
26412
|
|
|
26433
26413
|
|
|
26434
26414
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -26442,20 +26422,24 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26442
26422
|
},
|
|
26443
26423
|
/**
|
|
26444
26424
|
*
|
|
26445
|
-
* @summary
|
|
26425
|
+
* @summary Get DoctorLanguage.
|
|
26446
26426
|
* @param {string} doctorId
|
|
26447
26427
|
* @param {string} languageId
|
|
26428
|
+
* @param {string} code
|
|
26448
26429
|
* @param {*} [options] Override http request option.
|
|
26449
26430
|
* @throws {RequiredError}
|
|
26450
26431
|
*/
|
|
26451
|
-
|
|
26432
|
+
apiV1DoctorsDoctorIdLanguagesCodeGet: async (doctorId: string, languageId: string, code: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26452
26433
|
// verify required parameter 'doctorId' is not null or undefined
|
|
26453
|
-
assertParamExists('
|
|
26434
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeGet', 'doctorId', doctorId)
|
|
26454
26435
|
// verify required parameter 'languageId' is not null or undefined
|
|
26455
|
-
assertParamExists('
|
|
26456
|
-
|
|
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}`
|
|
26457
26440
|
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
26458
|
-
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)))
|
|
26441
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)))
|
|
26442
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
26459
26443
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26460
26444
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26461
26445
|
let baseOptions;
|
|
@@ -26463,7 +26447,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26463
26447
|
baseOptions = configuration.baseOptions;
|
|
26464
26448
|
}
|
|
26465
26449
|
|
|
26466
|
-
const localVarRequestOptions = { method: '
|
|
26450
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
26467
26451
|
const localVarHeaderParameter = {} as any;
|
|
26468
26452
|
const localVarQueryParameter = {} as any;
|
|
26469
26453
|
|
|
@@ -26484,20 +26468,25 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26484
26468
|
},
|
|
26485
26469
|
/**
|
|
26486
26470
|
*
|
|
26487
|
-
* @summary
|
|
26471
|
+
* @summary Update DoctorLanguage.
|
|
26488
26472
|
* @param {string} doctorId
|
|
26489
26473
|
* @param {string} languageId
|
|
26474
|
+
* @param {string} code
|
|
26475
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
26490
26476
|
* @param {*} [options] Override http request option.
|
|
26491
26477
|
* @throws {RequiredError}
|
|
26492
26478
|
*/
|
|
26493
|
-
|
|
26479
|
+
apiV1DoctorsDoctorIdLanguagesCodePut: async (doctorId: string, languageId: string, code: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26494
26480
|
// verify required parameter 'doctorId' is not null or undefined
|
|
26495
|
-
assertParamExists('
|
|
26481
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesCodePut', 'doctorId', doctorId)
|
|
26496
26482
|
// verify required parameter 'languageId' is not null or undefined
|
|
26497
|
-
assertParamExists('
|
|
26498
|
-
|
|
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}`
|
|
26499
26487
|
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
26500
|
-
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)))
|
|
26488
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)))
|
|
26489
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
26501
26490
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26502
26491
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26503
26492
|
let baseOptions;
|
|
@@ -26505,7 +26494,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26505
26494
|
baseOptions = configuration.baseOptions;
|
|
26506
26495
|
}
|
|
26507
26496
|
|
|
26508
|
-
const localVarRequestOptions = { method: '
|
|
26497
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
26509
26498
|
const localVarHeaderParameter = {} as any;
|
|
26510
26499
|
const localVarQueryParameter = {} as any;
|
|
26511
26500
|
|
|
@@ -26515,9 +26504,12 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26515
26504
|
|
|
26516
26505
|
|
|
26517
26506
|
|
|
26507
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26508
|
+
|
|
26518
26509
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26519
26510
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26520
26511
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26512
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration)
|
|
26521
26513
|
|
|
26522
26514
|
return {
|
|
26523
26515
|
url: toPathString(localVarUrlObj),
|
|
@@ -26526,21 +26518,20 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26526
26518
|
},
|
|
26527
26519
|
/**
|
|
26528
26520
|
*
|
|
26529
|
-
* @summary
|
|
26521
|
+
* @summary Get all DoctorLanguages.
|
|
26530
26522
|
* @param {string} doctorId
|
|
26531
|
-
* @param {string}
|
|
26532
|
-
* @param {
|
|
26523
|
+
* @param {string} [language]
|
|
26524
|
+
* @param {number} [page]
|
|
26525
|
+
* @param {number} [limit]
|
|
26526
|
+
* @param {Date} [lastRetrieved]
|
|
26533
26527
|
* @param {*} [options] Override http request option.
|
|
26534
26528
|
* @throws {RequiredError}
|
|
26535
26529
|
*/
|
|
26536
|
-
|
|
26530
|
+
apiV1DoctorsDoctorIdLanguagesGet: async (doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26537
26531
|
// verify required parameter 'doctorId' is not null or undefined
|
|
26538
|
-
assertParamExists('
|
|
26539
|
-
|
|
26540
|
-
|
|
26541
|
-
const localVarPath = `/api/v1/doctors/{doctorId}/languages/{languageId}`
|
|
26542
|
-
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
26543
|
-
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
26532
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesGet', 'doctorId', doctorId)
|
|
26533
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/languages`
|
|
26534
|
+
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
|
|
26544
26535
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26545
26536
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26546
26537
|
let baseOptions;
|
|
@@ -26548,7 +26539,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26548
26539
|
baseOptions = configuration.baseOptions;
|
|
26549
26540
|
}
|
|
26550
26541
|
|
|
26551
|
-
const localVarRequestOptions = { method: '
|
|
26542
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
26552
26543
|
const localVarHeaderParameter = {} as any;
|
|
26553
26544
|
const localVarQueryParameter = {} as any;
|
|
26554
26545
|
|
|
@@ -26556,14 +26547,29 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
26556
26547
|
// oauth required
|
|
26557
26548
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
26558
26549
|
|
|
26550
|
+
if (language !== undefined) {
|
|
26551
|
+
localVarQueryParameter['Language'] = language;
|
|
26552
|
+
}
|
|
26559
26553
|
|
|
26560
|
-
|
|
26561
|
-
|
|
26554
|
+
if (page !== undefined) {
|
|
26555
|
+
localVarQueryParameter['page'] = page;
|
|
26556
|
+
}
|
|
26557
|
+
|
|
26558
|
+
if (limit !== undefined) {
|
|
26559
|
+
localVarQueryParameter['limit'] = limit;
|
|
26560
|
+
}
|
|
26562
26561
|
|
|
26562
|
+
if (lastRetrieved !== undefined) {
|
|
26563
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
26564
|
+
(lastRetrieved as any).toISOString() :
|
|
26565
|
+
lastRetrieved;
|
|
26566
|
+
}
|
|
26567
|
+
|
|
26568
|
+
|
|
26569
|
+
|
|
26563
26570
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26564
26571
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26565
26572
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26566
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration)
|
|
26567
26573
|
|
|
26568
26574
|
return {
|
|
26569
26575
|
url: toPathString(localVarUrlObj),
|
|
@@ -27817,54 +27823,57 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
27817
27823
|
},
|
|
27818
27824
|
/**
|
|
27819
27825
|
*
|
|
27820
|
-
* @summary
|
|
27826
|
+
* @summary Delete DoctorLanguage
|
|
27821
27827
|
* @param {string} doctorId
|
|
27822
|
-
* @param {string}
|
|
27823
|
-
* @param {
|
|
27824
|
-
* @param {number} [limit]
|
|
27825
|
-
* @param {Date} [lastRetrieved]
|
|
27828
|
+
* @param {string} languageId
|
|
27829
|
+
* @param {string} code
|
|
27826
27830
|
* @param {*} [options] Override http request option.
|
|
27827
27831
|
* @throws {RequiredError}
|
|
27828
27832
|
*/
|
|
27829
|
-
async
|
|
27830
|
-
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);
|
|
27831
27835
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27832
27836
|
},
|
|
27833
27837
|
/**
|
|
27834
27838
|
*
|
|
27835
|
-
* @summary
|
|
27839
|
+
* @summary Get DoctorLanguage.
|
|
27836
27840
|
* @param {string} doctorId
|
|
27837
27841
|
* @param {string} languageId
|
|
27842
|
+
* @param {string} code
|
|
27838
27843
|
* @param {*} [options] Override http request option.
|
|
27839
27844
|
* @throws {RequiredError}
|
|
27840
27845
|
*/
|
|
27841
|
-
async
|
|
27842
|
-
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);
|
|
27843
27848
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27844
27849
|
},
|
|
27845
27850
|
/**
|
|
27846
27851
|
*
|
|
27847
|
-
* @summary
|
|
27852
|
+
* @summary Update DoctorLanguage.
|
|
27848
27853
|
* @param {string} doctorId
|
|
27849
27854
|
* @param {string} languageId
|
|
27855
|
+
* @param {string} code
|
|
27856
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
27850
27857
|
* @param {*} [options] Override http request option.
|
|
27851
27858
|
* @throws {RequiredError}
|
|
27852
27859
|
*/
|
|
27853
|
-
async
|
|
27854
|
-
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);
|
|
27855
27862
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27856
27863
|
},
|
|
27857
27864
|
/**
|
|
27858
27865
|
*
|
|
27859
|
-
* @summary
|
|
27866
|
+
* @summary Get all DoctorLanguages.
|
|
27860
27867
|
* @param {string} doctorId
|
|
27861
|
-
* @param {string}
|
|
27862
|
-
* @param {
|
|
27868
|
+
* @param {string} [language]
|
|
27869
|
+
* @param {number} [page]
|
|
27870
|
+
* @param {number} [limit]
|
|
27871
|
+
* @param {Date} [lastRetrieved]
|
|
27863
27872
|
* @param {*} [options] Override http request option.
|
|
27864
27873
|
* @throws {RequiredError}
|
|
27865
27874
|
*/
|
|
27866
|
-
async
|
|
27867
|
-
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);
|
|
27868
27877
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27869
27878
|
},
|
|
27870
27879
|
/**
|
|
@@ -28307,51 +28316,54 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
28307
28316
|
},
|
|
28308
28317
|
/**
|
|
28309
28318
|
*
|
|
28310
|
-
* @summary
|
|
28319
|
+
* @summary Delete DoctorLanguage
|
|
28311
28320
|
* @param {string} doctorId
|
|
28312
|
-
* @param {string}
|
|
28313
|
-
* @param {
|
|
28314
|
-
* @param {number} [limit]
|
|
28315
|
-
* @param {Date} [lastRetrieved]
|
|
28321
|
+
* @param {string} languageId
|
|
28322
|
+
* @param {string} code
|
|
28316
28323
|
* @param {*} [options] Override http request option.
|
|
28317
28324
|
* @throws {RequiredError}
|
|
28318
28325
|
*/
|
|
28319
|
-
|
|
28320
|
-
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));
|
|
28321
28328
|
},
|
|
28322
28329
|
/**
|
|
28323
28330
|
*
|
|
28324
|
-
* @summary
|
|
28331
|
+
* @summary Get DoctorLanguage.
|
|
28325
28332
|
* @param {string} doctorId
|
|
28326
28333
|
* @param {string} languageId
|
|
28334
|
+
* @param {string} code
|
|
28327
28335
|
* @param {*} [options] Override http request option.
|
|
28328
28336
|
* @throws {RequiredError}
|
|
28329
28337
|
*/
|
|
28330
|
-
|
|
28331
|
-
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));
|
|
28332
28340
|
},
|
|
28333
28341
|
/**
|
|
28334
28342
|
*
|
|
28335
|
-
* @summary
|
|
28343
|
+
* @summary Update DoctorLanguage.
|
|
28336
28344
|
* @param {string} doctorId
|
|
28337
28345
|
* @param {string} languageId
|
|
28346
|
+
* @param {string} code
|
|
28347
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
28338
28348
|
* @param {*} [options] Override http request option.
|
|
28339
28349
|
* @throws {RequiredError}
|
|
28340
28350
|
*/
|
|
28341
|
-
|
|
28342
|
-
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));
|
|
28343
28353
|
},
|
|
28344
28354
|
/**
|
|
28345
28355
|
*
|
|
28346
|
-
* @summary
|
|
28356
|
+
* @summary Get all DoctorLanguages.
|
|
28347
28357
|
* @param {string} doctorId
|
|
28348
|
-
* @param {string}
|
|
28349
|
-
* @param {
|
|
28358
|
+
* @param {string} [language]
|
|
28359
|
+
* @param {number} [page]
|
|
28360
|
+
* @param {number} [limit]
|
|
28361
|
+
* @param {Date} [lastRetrieved]
|
|
28350
28362
|
* @param {*} [options] Override http request option.
|
|
28351
28363
|
* @throws {RequiredError}
|
|
28352
28364
|
*/
|
|
28353
|
-
|
|
28354
|
-
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));
|
|
28355
28367
|
},
|
|
28356
28368
|
/**
|
|
28357
28369
|
*
|
|
@@ -28797,58 +28809,61 @@ export class DoctorsApi extends BaseAPI {
|
|
|
28797
28809
|
|
|
28798
28810
|
/**
|
|
28799
28811
|
*
|
|
28800
|
-
* @summary
|
|
28812
|
+
* @summary Delete DoctorLanguage
|
|
28801
28813
|
* @param {string} doctorId
|
|
28802
|
-
* @param {string}
|
|
28803
|
-
* @param {
|
|
28804
|
-
* @param {number} [limit]
|
|
28805
|
-
* @param {Date} [lastRetrieved]
|
|
28814
|
+
* @param {string} languageId
|
|
28815
|
+
* @param {string} code
|
|
28806
28816
|
* @param {*} [options] Override http request option.
|
|
28807
28817
|
* @throws {RequiredError}
|
|
28808
28818
|
* @memberof DoctorsApi
|
|
28809
28819
|
*/
|
|
28810
|
-
public
|
|
28811
|
-
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));
|
|
28812
28822
|
}
|
|
28813
28823
|
|
|
28814
28824
|
/**
|
|
28815
28825
|
*
|
|
28816
|
-
* @summary
|
|
28826
|
+
* @summary Get DoctorLanguage.
|
|
28817
28827
|
* @param {string} doctorId
|
|
28818
28828
|
* @param {string} languageId
|
|
28829
|
+
* @param {string} code
|
|
28819
28830
|
* @param {*} [options] Override http request option.
|
|
28820
28831
|
* @throws {RequiredError}
|
|
28821
28832
|
* @memberof DoctorsApi
|
|
28822
28833
|
*/
|
|
28823
|
-
public
|
|
28824
|
-
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));
|
|
28825
28836
|
}
|
|
28826
28837
|
|
|
28827
28838
|
/**
|
|
28828
28839
|
*
|
|
28829
|
-
* @summary
|
|
28840
|
+
* @summary Update DoctorLanguage.
|
|
28830
28841
|
* @param {string} doctorId
|
|
28831
28842
|
* @param {string} languageId
|
|
28843
|
+
* @param {string} code
|
|
28844
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
28832
28845
|
* @param {*} [options] Override http request option.
|
|
28833
28846
|
* @throws {RequiredError}
|
|
28834
28847
|
* @memberof DoctorsApi
|
|
28835
28848
|
*/
|
|
28836
|
-
public
|
|
28837
|
-
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));
|
|
28838
28851
|
}
|
|
28839
28852
|
|
|
28840
28853
|
/**
|
|
28841
28854
|
*
|
|
28842
|
-
* @summary
|
|
28855
|
+
* @summary Get all DoctorLanguages.
|
|
28843
28856
|
* @param {string} doctorId
|
|
28844
|
-
* @param {string}
|
|
28845
|
-
* @param {
|
|
28857
|
+
* @param {string} [language]
|
|
28858
|
+
* @param {number} [page]
|
|
28859
|
+
* @param {number} [limit]
|
|
28860
|
+
* @param {Date} [lastRetrieved]
|
|
28846
28861
|
* @param {*} [options] Override http request option.
|
|
28847
28862
|
* @throws {RequiredError}
|
|
28848
28863
|
* @memberof DoctorsApi
|
|
28849
28864
|
*/
|
|
28850
|
-
public
|
|
28851
|
-
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));
|
|
28852
28867
|
}
|
|
28853
28868
|
|
|
28854
28869
|
/**
|
|
@@ -33015,20 +33030,24 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33015
33030
|
},
|
|
33016
33031
|
/**
|
|
33017
33032
|
*
|
|
33018
|
-
* @summary
|
|
33033
|
+
* @summary Delete GetAllLanguage.
|
|
33019
33034
|
* @param {string} hospitalId
|
|
33020
|
-
* @param {string}
|
|
33021
|
-
* @param {
|
|
33022
|
-
* @param {number} [limit]
|
|
33023
|
-
* @param {Date} [lastRetrieved]
|
|
33035
|
+
* @param {string} languageCode
|
|
33036
|
+
* @param {string} code
|
|
33024
33037
|
* @param {*} [options] Override http request option.
|
|
33025
33038
|
* @throws {RequiredError}
|
|
33026
33039
|
*/
|
|
33027
|
-
|
|
33040
|
+
apiV1HospitalsHospitalIdLanguagesCodeDelete: async (hospitalId: string, languageCode: string, code: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33028
33041
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
33029
|
-
assertParamExists('
|
|
33030
|
-
|
|
33031
|
-
|
|
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)));
|
|
33032
33051
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33033
33052
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33034
33053
|
let baseOptions;
|
|
@@ -33036,7 +33055,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33036
33055
|
baseOptions = configuration.baseOptions;
|
|
33037
33056
|
}
|
|
33038
33057
|
|
|
33039
|
-
const localVarRequestOptions = { method: '
|
|
33058
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
33040
33059
|
const localVarHeaderParameter = {} as any;
|
|
33041
33060
|
const localVarQueryParameter = {} as any;
|
|
33042
33061
|
|
|
@@ -33044,24 +33063,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33044
33063
|
// oauth required
|
|
33045
33064
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
33046
33065
|
|
|
33047
|
-
if (name !== undefined) {
|
|
33048
|
-
localVarQueryParameter['Name'] = name;
|
|
33049
|
-
}
|
|
33050
|
-
|
|
33051
|
-
if (page !== undefined) {
|
|
33052
|
-
localVarQueryParameter['page'] = page;
|
|
33053
|
-
}
|
|
33054
|
-
|
|
33055
|
-
if (limit !== undefined) {
|
|
33056
|
-
localVarQueryParameter['limit'] = limit;
|
|
33057
|
-
}
|
|
33058
|
-
|
|
33059
|
-
if (lastRetrieved !== undefined) {
|
|
33060
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
33061
|
-
(lastRetrieved as any).toISOString() :
|
|
33062
|
-
lastRetrieved;
|
|
33063
|
-
}
|
|
33064
|
-
|
|
33065
33066
|
|
|
33066
33067
|
|
|
33067
33068
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -33075,20 +33076,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33075
33076
|
},
|
|
33076
33077
|
/**
|
|
33077
33078
|
*
|
|
33078
|
-
* @summary
|
|
33079
|
+
* @summary Get all GetAllLanguages.
|
|
33079
33080
|
* @param {string} hospitalId
|
|
33080
|
-
* @param {string}
|
|
33081
|
+
* @param {string} [name]
|
|
33082
|
+
* @param {number} [page]
|
|
33083
|
+
* @param {number} [limit]
|
|
33084
|
+
* @param {Date} [lastRetrieved]
|
|
33081
33085
|
* @param {*} [options] Override http request option.
|
|
33082
33086
|
* @throws {RequiredError}
|
|
33083
33087
|
*/
|
|
33084
|
-
|
|
33088
|
+
apiV1HospitalsHospitalIdLanguagesGet: async (hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33085
33089
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
33086
|
-
assertParamExists('
|
|
33087
|
-
|
|
33088
|
-
|
|
33089
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/languages/{languageCode}`
|
|
33090
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
33091
|
-
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)));
|
|
33090
|
+
assertParamExists('apiV1HospitalsHospitalIdLanguagesGet', 'hospitalId', hospitalId)
|
|
33091
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/languages`
|
|
33092
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
33092
33093
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33093
33094
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33094
33095
|
let baseOptions;
|
|
@@ -33096,7 +33097,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33096
33097
|
baseOptions = configuration.baseOptions;
|
|
33097
33098
|
}
|
|
33098
33099
|
|
|
33099
|
-
const localVarRequestOptions = { method: '
|
|
33100
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
33100
33101
|
const localVarHeaderParameter = {} as any;
|
|
33101
33102
|
const localVarQueryParameter = {} as any;
|
|
33102
33103
|
|
|
@@ -33104,6 +33105,24 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33104
33105
|
// oauth required
|
|
33105
33106
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
33106
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
|
+
|
|
33107
33126
|
|
|
33108
33127
|
|
|
33109
33128
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -35631,29 +35650,30 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
35631
35650
|
},
|
|
35632
35651
|
/**
|
|
35633
35652
|
*
|
|
35634
|
-
* @summary
|
|
35653
|
+
* @summary Delete GetAllLanguage.
|
|
35635
35654
|
* @param {string} hospitalId
|
|
35636
|
-
* @param {string}
|
|
35637
|
-
* @param {
|
|
35638
|
-
* @param {number} [limit]
|
|
35639
|
-
* @param {Date} [lastRetrieved]
|
|
35655
|
+
* @param {string} languageCode
|
|
35656
|
+
* @param {string} code
|
|
35640
35657
|
* @param {*} [options] Override http request option.
|
|
35641
35658
|
* @throws {RequiredError}
|
|
35642
35659
|
*/
|
|
35643
|
-
async
|
|
35644
|
-
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);
|
|
35645
35662
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35646
35663
|
},
|
|
35647
35664
|
/**
|
|
35648
35665
|
*
|
|
35649
|
-
* @summary
|
|
35666
|
+
* @summary Get all GetAllLanguages.
|
|
35650
35667
|
* @param {string} hospitalId
|
|
35651
|
-
* @param {string}
|
|
35668
|
+
* @param {string} [name]
|
|
35669
|
+
* @param {number} [page]
|
|
35670
|
+
* @param {number} [limit]
|
|
35671
|
+
* @param {Date} [lastRetrieved]
|
|
35652
35672
|
* @param {*} [options] Override http request option.
|
|
35653
35673
|
* @throws {RequiredError}
|
|
35654
35674
|
*/
|
|
35655
|
-
async
|
|
35656
|
-
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);
|
|
35657
35677
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35658
35678
|
},
|
|
35659
35679
|
/**
|
|
@@ -36576,28 +36596,29 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
36576
36596
|
},
|
|
36577
36597
|
/**
|
|
36578
36598
|
*
|
|
36579
|
-
* @summary
|
|
36599
|
+
* @summary Delete GetAllLanguage.
|
|
36580
36600
|
* @param {string} hospitalId
|
|
36581
|
-
* @param {string}
|
|
36582
|
-
* @param {
|
|
36583
|
-
* @param {number} [limit]
|
|
36584
|
-
* @param {Date} [lastRetrieved]
|
|
36601
|
+
* @param {string} languageCode
|
|
36602
|
+
* @param {string} code
|
|
36585
36603
|
* @param {*} [options] Override http request option.
|
|
36586
36604
|
* @throws {RequiredError}
|
|
36587
36605
|
*/
|
|
36588
|
-
|
|
36589
|
-
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));
|
|
36590
36608
|
},
|
|
36591
36609
|
/**
|
|
36592
36610
|
*
|
|
36593
|
-
* @summary
|
|
36611
|
+
* @summary Get all GetAllLanguages.
|
|
36594
36612
|
* @param {string} hospitalId
|
|
36595
|
-
* @param {string}
|
|
36613
|
+
* @param {string} [name]
|
|
36614
|
+
* @param {number} [page]
|
|
36615
|
+
* @param {number} [limit]
|
|
36616
|
+
* @param {Date} [lastRetrieved]
|
|
36596
36617
|
* @param {*} [options] Override http request option.
|
|
36597
36618
|
* @throws {RequiredError}
|
|
36598
36619
|
*/
|
|
36599
|
-
|
|
36600
|
-
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));
|
|
36601
36622
|
},
|
|
36602
36623
|
/**
|
|
36603
36624
|
*
|
|
@@ -37534,31 +37555,32 @@ export class HospitalsApi extends BaseAPI {
|
|
|
37534
37555
|
|
|
37535
37556
|
/**
|
|
37536
37557
|
*
|
|
37537
|
-
* @summary
|
|
37558
|
+
* @summary Delete GetAllLanguage.
|
|
37538
37559
|
* @param {string} hospitalId
|
|
37539
|
-
* @param {string}
|
|
37540
|
-
* @param {
|
|
37541
|
-
* @param {number} [limit]
|
|
37542
|
-
* @param {Date} [lastRetrieved]
|
|
37560
|
+
* @param {string} languageCode
|
|
37561
|
+
* @param {string} code
|
|
37543
37562
|
* @param {*} [options] Override http request option.
|
|
37544
37563
|
* @throws {RequiredError}
|
|
37545
37564
|
* @memberof HospitalsApi
|
|
37546
37565
|
*/
|
|
37547
|
-
public
|
|
37548
|
-
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));
|
|
37549
37568
|
}
|
|
37550
37569
|
|
|
37551
37570
|
/**
|
|
37552
37571
|
*
|
|
37553
|
-
* @summary
|
|
37572
|
+
* @summary Get all GetAllLanguages.
|
|
37554
37573
|
* @param {string} hospitalId
|
|
37555
|
-
* @param {string}
|
|
37574
|
+
* @param {string} [name]
|
|
37575
|
+
* @param {number} [page]
|
|
37576
|
+
* @param {number} [limit]
|
|
37577
|
+
* @param {Date} [lastRetrieved]
|
|
37556
37578
|
* @param {*} [options] Override http request option.
|
|
37557
37579
|
* @throws {RequiredError}
|
|
37558
37580
|
* @memberof HospitalsApi
|
|
37559
37581
|
*/
|
|
37560
|
-
public
|
|
37561
|
-
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));
|
|
37562
37584
|
}
|
|
37563
37585
|
|
|
37564
37586
|
/**
|
|
@@ -38270,14 +38292,13 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38270
38292
|
return {
|
|
38271
38293
|
/**
|
|
38272
38294
|
*
|
|
38273
|
-
* @summary Get Language by code.
|
|
38274
38295
|
* @param {string} code
|
|
38275
38296
|
* @param {*} [options] Override http request option.
|
|
38276
38297
|
* @throws {RequiredError}
|
|
38277
38298
|
*/
|
|
38278
|
-
|
|
38299
|
+
apiV1LanguagesCodeDelete: async (code: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38279
38300
|
// verify required parameter 'code' is not null or undefined
|
|
38280
|
-
assertParamExists('
|
|
38301
|
+
assertParamExists('apiV1LanguagesCodeDelete', 'code', code)
|
|
38281
38302
|
const localVarPath = `/api/v1/languages/{code}`
|
|
38282
38303
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
38283
38304
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -38287,7 +38308,7 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38287
38308
|
baseOptions = configuration.baseOptions;
|
|
38288
38309
|
}
|
|
38289
38310
|
|
|
38290
|
-
const localVarRequestOptions = { method: '
|
|
38311
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
38291
38312
|
const localVarHeaderParameter = {} as any;
|
|
38292
38313
|
const localVarQueryParameter = {} as any;
|
|
38293
38314
|
|
|
@@ -38308,20 +38329,16 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38308
38329
|
},
|
|
38309
38330
|
/**
|
|
38310
38331
|
*
|
|
38311
|
-
* @summary Get
|
|
38312
|
-
* @param {string}
|
|
38313
|
-
* @param {string} [name]
|
|
38314
|
-
* @param {string} [code]
|
|
38315
|
-
* @param {string} [description]
|
|
38316
|
-
* @param {boolean} [showPublished]
|
|
38317
|
-
* @param {number} [page]
|
|
38318
|
-
* @param {number} [limit]
|
|
38319
|
-
* @param {Date} [lastRetrieved]
|
|
38332
|
+
* @summary Get Language.
|
|
38333
|
+
* @param {string} code
|
|
38320
38334
|
* @param {*} [options] Override http request option.
|
|
38321
38335
|
* @throws {RequiredError}
|
|
38322
38336
|
*/
|
|
38323
|
-
|
|
38324
|
-
|
|
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)));
|
|
38325
38342
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38326
38343
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38327
38344
|
let baseOptions;
|
|
@@ -38337,40 +38354,6 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38337
38354
|
// oauth required
|
|
38338
38355
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
38339
38356
|
|
|
38340
|
-
if (id !== undefined) {
|
|
38341
|
-
localVarQueryParameter['Id'] = id;
|
|
38342
|
-
}
|
|
38343
|
-
|
|
38344
|
-
if (name !== undefined) {
|
|
38345
|
-
localVarQueryParameter['Name'] = name;
|
|
38346
|
-
}
|
|
38347
|
-
|
|
38348
|
-
if (code !== undefined) {
|
|
38349
|
-
localVarQueryParameter['Code'] = code;
|
|
38350
|
-
}
|
|
38351
|
-
|
|
38352
|
-
if (description !== undefined) {
|
|
38353
|
-
localVarQueryParameter['Description'] = description;
|
|
38354
|
-
}
|
|
38355
|
-
|
|
38356
|
-
if (showPublished !== undefined) {
|
|
38357
|
-
localVarQueryParameter['ShowPublished'] = showPublished;
|
|
38358
|
-
}
|
|
38359
|
-
|
|
38360
|
-
if (page !== undefined) {
|
|
38361
|
-
localVarQueryParameter['page'] = page;
|
|
38362
|
-
}
|
|
38363
|
-
|
|
38364
|
-
if (limit !== undefined) {
|
|
38365
|
-
localVarQueryParameter['limit'] = limit;
|
|
38366
|
-
}
|
|
38367
|
-
|
|
38368
|
-
if (lastRetrieved !== undefined) {
|
|
38369
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
38370
|
-
(lastRetrieved as any).toISOString() :
|
|
38371
|
-
lastRetrieved;
|
|
38372
|
-
}
|
|
38373
|
-
|
|
38374
38357
|
|
|
38375
38358
|
|
|
38376
38359
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -38384,15 +38367,16 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38384
38367
|
},
|
|
38385
38368
|
/**
|
|
38386
38369
|
*
|
|
38387
|
-
* @param {string}
|
|
38370
|
+
* @param {string} code
|
|
38371
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
38388
38372
|
* @param {*} [options] Override http request option.
|
|
38389
38373
|
* @throws {RequiredError}
|
|
38390
38374
|
*/
|
|
38391
|
-
|
|
38392
|
-
// verify required parameter '
|
|
38393
|
-
assertParamExists('
|
|
38394
|
-
const localVarPath = `/api/v1/languages/{
|
|
38395
|
-
.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)));
|
|
38396
38380
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38397
38381
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38398
38382
|
let baseOptions;
|
|
@@ -38400,7 +38384,7 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38400
38384
|
baseOptions = configuration.baseOptions;
|
|
38401
38385
|
}
|
|
38402
38386
|
|
|
38403
|
-
const localVarRequestOptions = { method: '
|
|
38387
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
38404
38388
|
const localVarHeaderParameter = {} as any;
|
|
38405
38389
|
const localVarQueryParameter = {} as any;
|
|
38406
38390
|
|
|
@@ -38410,9 +38394,12 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38410
38394
|
|
|
38411
38395
|
|
|
38412
38396
|
|
|
38397
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
38398
|
+
|
|
38413
38399
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38414
38400
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38415
38401
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38402
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateLanguageCommand, localVarRequestOptions, configuration)
|
|
38416
38403
|
|
|
38417
38404
|
return {
|
|
38418
38405
|
url: toPathString(localVarUrlObj),
|
|
@@ -38421,16 +38408,19 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38421
38408
|
},
|
|
38422
38409
|
/**
|
|
38423
38410
|
*
|
|
38424
|
-
* @summary Get
|
|
38425
|
-
* @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]
|
|
38426
38419
|
* @param {*} [options] Override http request option.
|
|
38427
38420
|
* @throws {RequiredError}
|
|
38428
38421
|
*/
|
|
38429
|
-
|
|
38430
|
-
|
|
38431
|
-
assertParamExists('apiV1LanguagesLanguageIdGet', 'languageId', languageId)
|
|
38432
|
-
const localVarPath = `/api/v1/languages/{languageId}`
|
|
38433
|
-
.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`;
|
|
38434
38424
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38435
38425
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38436
38426
|
let baseOptions;
|
|
@@ -38446,52 +38436,41 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38446
38436
|
// oauth required
|
|
38447
38437
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
38448
38438
|
|
|
38439
|
+
if (code !== undefined) {
|
|
38440
|
+
localVarQueryParameter['Code'] = code;
|
|
38441
|
+
}
|
|
38449
38442
|
|
|
38450
|
-
|
|
38451
|
-
|
|
38452
|
-
|
|
38453
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38443
|
+
if (name !== undefined) {
|
|
38444
|
+
localVarQueryParameter['Name'] = name;
|
|
38445
|
+
}
|
|
38454
38446
|
|
|
38455
|
-
|
|
38456
|
-
|
|
38457
|
-
options: localVarRequestOptions,
|
|
38458
|
-
};
|
|
38459
|
-
},
|
|
38460
|
-
/**
|
|
38461
|
-
*
|
|
38462
|
-
* @param {string} languageId
|
|
38463
|
-
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
38464
|
-
* @param {*} [options] Override http request option.
|
|
38465
|
-
* @throws {RequiredError}
|
|
38466
|
-
*/
|
|
38467
|
-
apiV1LanguagesLanguageIdPut: async (languageId: string, updateLanguageCommand?: UpdateLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38468
|
-
// verify required parameter 'languageId' is not null or undefined
|
|
38469
|
-
assertParamExists('apiV1LanguagesLanguageIdPut', 'languageId', languageId)
|
|
38470
|
-
const localVarPath = `/api/v1/languages/{languageId}`
|
|
38471
|
-
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
38472
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38473
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38474
|
-
let baseOptions;
|
|
38475
|
-
if (configuration) {
|
|
38476
|
-
baseOptions = configuration.baseOptions;
|
|
38447
|
+
if (description !== undefined) {
|
|
38448
|
+
localVarQueryParameter['Description'] = description;
|
|
38477
38449
|
}
|
|
38478
38450
|
|
|
38479
|
-
|
|
38480
|
-
|
|
38481
|
-
|
|
38451
|
+
if (showPublished !== undefined) {
|
|
38452
|
+
localVarQueryParameter['ShowPublished'] = showPublished;
|
|
38453
|
+
}
|
|
38482
38454
|
|
|
38483
|
-
|
|
38484
|
-
|
|
38485
|
-
|
|
38455
|
+
if (page !== undefined) {
|
|
38456
|
+
localVarQueryParameter['page'] = page;
|
|
38457
|
+
}
|
|
38486
38458
|
|
|
38459
|
+
if (limit !== undefined) {
|
|
38460
|
+
localVarQueryParameter['limit'] = limit;
|
|
38461
|
+
}
|
|
38462
|
+
|
|
38463
|
+
if (lastRetrieved !== undefined) {
|
|
38464
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
38465
|
+
(lastRetrieved as any).toISOString() :
|
|
38466
|
+
lastRetrieved;
|
|
38467
|
+
}
|
|
38487
38468
|
|
|
38488
|
-
|
|
38489
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
38490
38469
|
|
|
38470
|
+
|
|
38491
38471
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38492
38472
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38493
38473
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38494
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateLanguageCommand, localVarRequestOptions, configuration)
|
|
38495
38474
|
|
|
38496
38475
|
return {
|
|
38497
38476
|
url: toPathString(localVarUrlObj),
|
|
@@ -38547,63 +38526,51 @@ export const LanguagesApiFp = function(configuration?: Configuration) {
|
|
|
38547
38526
|
return {
|
|
38548
38527
|
/**
|
|
38549
38528
|
*
|
|
38550
|
-
* @summary Get Language by code.
|
|
38551
38529
|
* @param {string} code
|
|
38552
38530
|
* @param {*} [options] Override http request option.
|
|
38553
38531
|
* @throws {RequiredError}
|
|
38554
38532
|
*/
|
|
38555
|
-
async
|
|
38556
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
38533
|
+
async apiV1LanguagesCodeDelete(code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
38534
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesCodeDelete(code, options);
|
|
38557
38535
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38558
38536
|
},
|
|
38559
38537
|
/**
|
|
38560
38538
|
*
|
|
38561
|
-
* @summary Get
|
|
38562
|
-
* @param {string}
|
|
38563
|
-
* @param {string} [name]
|
|
38564
|
-
* @param {string} [code]
|
|
38565
|
-
* @param {string} [description]
|
|
38566
|
-
* @param {boolean} [showPublished]
|
|
38567
|
-
* @param {number} [page]
|
|
38568
|
-
* @param {number} [limit]
|
|
38569
|
-
* @param {Date} [lastRetrieved]
|
|
38570
|
-
* @param {*} [options] Override http request option.
|
|
38571
|
-
* @throws {RequiredError}
|
|
38572
|
-
*/
|
|
38573
|
-
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>> {
|
|
38574
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options);
|
|
38575
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38576
|
-
},
|
|
38577
|
-
/**
|
|
38578
|
-
*
|
|
38579
|
-
* @param {string} languageId
|
|
38539
|
+
* @summary Get Language.
|
|
38540
|
+
* @param {string} code
|
|
38580
38541
|
* @param {*} [options] Override http request option.
|
|
38581
38542
|
* @throws {RequiredError}
|
|
38582
38543
|
*/
|
|
38583
|
-
async
|
|
38584
|
-
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);
|
|
38585
38546
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38586
38547
|
},
|
|
38587
38548
|
/**
|
|
38588
38549
|
*
|
|
38589
|
-
* @
|
|
38590
|
-
* @param {
|
|
38550
|
+
* @param {string} code
|
|
38551
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
38591
38552
|
* @param {*} [options] Override http request option.
|
|
38592
38553
|
* @throws {RequiredError}
|
|
38593
38554
|
*/
|
|
38594
|
-
async
|
|
38595
|
-
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);
|
|
38596
38557
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38597
38558
|
},
|
|
38598
38559
|
/**
|
|
38599
38560
|
*
|
|
38600
|
-
* @
|
|
38601
|
-
* @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]
|
|
38602
38569
|
* @param {*} [options] Override http request option.
|
|
38603
38570
|
* @throws {RequiredError}
|
|
38604
38571
|
*/
|
|
38605
|
-
async
|
|
38606
|
-
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);
|
|
38607
38574
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38608
38575
|
},
|
|
38609
38576
|
/**
|
|
@@ -38628,59 +38595,48 @@ export const LanguagesApiFactory = function (configuration?: Configuration, base
|
|
|
38628
38595
|
return {
|
|
38629
38596
|
/**
|
|
38630
38597
|
*
|
|
38631
|
-
* @summary Get Language by code.
|
|
38632
38598
|
* @param {string} code
|
|
38633
38599
|
* @param {*} [options] Override http request option.
|
|
38634
38600
|
* @throws {RequiredError}
|
|
38635
38601
|
*/
|
|
38636
|
-
|
|
38637
|
-
return localVarFp.
|
|
38638
|
-
},
|
|
38639
|
-
/**
|
|
38640
|
-
*
|
|
38641
|
-
* @summary Get all Languages.
|
|
38642
|
-
* @param {string} [id]
|
|
38643
|
-
* @param {string} [name]
|
|
38644
|
-
* @param {string} [code]
|
|
38645
|
-
* @param {string} [description]
|
|
38646
|
-
* @param {boolean} [showPublished]
|
|
38647
|
-
* @param {number} [page]
|
|
38648
|
-
* @param {number} [limit]
|
|
38649
|
-
* @param {Date} [lastRetrieved]
|
|
38650
|
-
* @param {*} [options] Override http request option.
|
|
38651
|
-
* @throws {RequiredError}
|
|
38652
|
-
*/
|
|
38653
|
-
apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<LanguagesModel> {
|
|
38654
|
-
return localVarFp.apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
38602
|
+
apiV1LanguagesCodeDelete(code: string, options?: any): AxiosPromise<boolean> {
|
|
38603
|
+
return localVarFp.apiV1LanguagesCodeDelete(code, options).then((request) => request(axios, basePath));
|
|
38655
38604
|
},
|
|
38656
38605
|
/**
|
|
38657
38606
|
*
|
|
38658
|
-
* @
|
|
38607
|
+
* @summary Get Language.
|
|
38608
|
+
* @param {string} code
|
|
38659
38609
|
* @param {*} [options] Override http request option.
|
|
38660
38610
|
* @throws {RequiredError}
|
|
38661
38611
|
*/
|
|
38662
|
-
|
|
38663
|
-
return localVarFp.
|
|
38612
|
+
apiV1LanguagesCodeGet(code: string, options?: any): AxiosPromise<LanguageModel> {
|
|
38613
|
+
return localVarFp.apiV1LanguagesCodeGet(code, options).then((request) => request(axios, basePath));
|
|
38664
38614
|
},
|
|
38665
38615
|
/**
|
|
38666
38616
|
*
|
|
38667
|
-
* @
|
|
38668
|
-
* @param {
|
|
38617
|
+
* @param {string} code
|
|
38618
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
38669
38619
|
* @param {*} [options] Override http request option.
|
|
38670
38620
|
* @throws {RequiredError}
|
|
38671
38621
|
*/
|
|
38672
|
-
|
|
38673
|
-
return localVarFp.
|
|
38622
|
+
apiV1LanguagesCodePut(code: string, updateLanguageCommand?: UpdateLanguageCommand, options?: any): AxiosPromise<LanguageModel> {
|
|
38623
|
+
return localVarFp.apiV1LanguagesCodePut(code, updateLanguageCommand, options).then((request) => request(axios, basePath));
|
|
38674
38624
|
},
|
|
38675
38625
|
/**
|
|
38676
38626
|
*
|
|
38677
|
-
* @
|
|
38678
|
-
* @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]
|
|
38679
38635
|
* @param {*} [options] Override http request option.
|
|
38680
38636
|
* @throws {RequiredError}
|
|
38681
38637
|
*/
|
|
38682
|
-
|
|
38683
|
-
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));
|
|
38684
38640
|
},
|
|
38685
38641
|
/**
|
|
38686
38642
|
*
|
|
@@ -38703,68 +38659,55 @@ export const LanguagesApiFactory = function (configuration?: Configuration, base
|
|
|
38703
38659
|
export class LanguagesApi extends BaseAPI {
|
|
38704
38660
|
/**
|
|
38705
38661
|
*
|
|
38706
|
-
* @summary Get Language by code.
|
|
38707
38662
|
* @param {string} code
|
|
38708
38663
|
* @param {*} [options] Override http request option.
|
|
38709
38664
|
* @throws {RequiredError}
|
|
38710
38665
|
* @memberof LanguagesApi
|
|
38711
38666
|
*/
|
|
38712
|
-
public
|
|
38713
|
-
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));
|
|
38714
38669
|
}
|
|
38715
38670
|
|
|
38716
38671
|
/**
|
|
38717
38672
|
*
|
|
38718
|
-
* @summary Get
|
|
38719
|
-
* @param {string}
|
|
38720
|
-
* @param {string} [name]
|
|
38721
|
-
* @param {string} [code]
|
|
38722
|
-
* @param {string} [description]
|
|
38723
|
-
* @param {boolean} [showPublished]
|
|
38724
|
-
* @param {number} [page]
|
|
38725
|
-
* @param {number} [limit]
|
|
38726
|
-
* @param {Date} [lastRetrieved]
|
|
38727
|
-
* @param {*} [options] Override http request option.
|
|
38728
|
-
* @throws {RequiredError}
|
|
38729
|
-
* @memberof LanguagesApi
|
|
38730
|
-
*/
|
|
38731
|
-
public apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
38732
|
-
return LanguagesApiFp(this.configuration).apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
38733
|
-
}
|
|
38734
|
-
|
|
38735
|
-
/**
|
|
38736
|
-
*
|
|
38737
|
-
* @param {string} languageId
|
|
38673
|
+
* @summary Get Language.
|
|
38674
|
+
* @param {string} code
|
|
38738
38675
|
* @param {*} [options] Override http request option.
|
|
38739
38676
|
* @throws {RequiredError}
|
|
38740
38677
|
* @memberof LanguagesApi
|
|
38741
38678
|
*/
|
|
38742
|
-
public
|
|
38743
|
-
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));
|
|
38744
38681
|
}
|
|
38745
38682
|
|
|
38746
38683
|
/**
|
|
38747
38684
|
*
|
|
38748
|
-
* @
|
|
38749
|
-
* @param {
|
|
38685
|
+
* @param {string} code
|
|
38686
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
38750
38687
|
* @param {*} [options] Override http request option.
|
|
38751
38688
|
* @throws {RequiredError}
|
|
38752
38689
|
* @memberof LanguagesApi
|
|
38753
38690
|
*/
|
|
38754
|
-
public
|
|
38755
|
-
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));
|
|
38756
38693
|
}
|
|
38757
38694
|
|
|
38758
38695
|
/**
|
|
38759
38696
|
*
|
|
38760
|
-
* @
|
|
38761
|
-
* @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]
|
|
38762
38705
|
* @param {*} [options] Override http request option.
|
|
38763
38706
|
* @throws {RequiredError}
|
|
38764
38707
|
* @memberof LanguagesApi
|
|
38765
38708
|
*/
|
|
38766
|
-
public
|
|
38767
|
-
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));
|
|
38768
38711
|
}
|
|
38769
38712
|
|
|
38770
38713
|
/**
|