ch-admin-api-client-typescript 4.2.4 → 4.2.8
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 +132 -163
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +238 -309
- package/package.json +1 -1
- package/src/api.ts +246 -310
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
|
+
}
|
|
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
|
+
}
|
|
26559
26567
|
|
|
26560
|
-
|
|
26561
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26562
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
|
/**
|
|
@@ -38270,14 +38285,13 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38270
38285
|
return {
|
|
38271
38286
|
/**
|
|
38272
38287
|
*
|
|
38273
|
-
* @summary Get Language by code.
|
|
38274
38288
|
* @param {string} code
|
|
38275
38289
|
* @param {*} [options] Override http request option.
|
|
38276
38290
|
* @throws {RequiredError}
|
|
38277
38291
|
*/
|
|
38278
|
-
|
|
38292
|
+
apiV1LanguagesCodeDelete: async (code: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38279
38293
|
// verify required parameter 'code' is not null or undefined
|
|
38280
|
-
assertParamExists('
|
|
38294
|
+
assertParamExists('apiV1LanguagesCodeDelete', 'code', code)
|
|
38281
38295
|
const localVarPath = `/api/v1/languages/{code}`
|
|
38282
38296
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
38283
38297
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -38287,7 +38301,7 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38287
38301
|
baseOptions = configuration.baseOptions;
|
|
38288
38302
|
}
|
|
38289
38303
|
|
|
38290
|
-
const localVarRequestOptions = { method: '
|
|
38304
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
38291
38305
|
const localVarHeaderParameter = {} as any;
|
|
38292
38306
|
const localVarQueryParameter = {} as any;
|
|
38293
38307
|
|
|
@@ -38308,20 +38322,16 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38308
38322
|
},
|
|
38309
38323
|
/**
|
|
38310
38324
|
*
|
|
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]
|
|
38325
|
+
* @summary Get Language.
|
|
38326
|
+
* @param {string} code
|
|
38320
38327
|
* @param {*} [options] Override http request option.
|
|
38321
38328
|
* @throws {RequiredError}
|
|
38322
38329
|
*/
|
|
38323
|
-
|
|
38324
|
-
|
|
38330
|
+
apiV1LanguagesCodeGet: async (code: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38331
|
+
// verify required parameter 'code' is not null or undefined
|
|
38332
|
+
assertParamExists('apiV1LanguagesCodeGet', 'code', code)
|
|
38333
|
+
const localVarPath = `/api/v1/languages/{code}`
|
|
38334
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
38325
38335
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38326
38336
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38327
38337
|
let baseOptions;
|
|
@@ -38337,40 +38347,6 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38337
38347
|
// oauth required
|
|
38338
38348
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
38339
38349
|
|
|
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
38350
|
|
|
38375
38351
|
|
|
38376
38352
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -38384,15 +38360,16 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38384
38360
|
},
|
|
38385
38361
|
/**
|
|
38386
38362
|
*
|
|
38387
|
-
* @param {string}
|
|
38363
|
+
* @param {string} code
|
|
38364
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
38388
38365
|
* @param {*} [options] Override http request option.
|
|
38389
38366
|
* @throws {RequiredError}
|
|
38390
38367
|
*/
|
|
38391
|
-
|
|
38392
|
-
// verify required parameter '
|
|
38393
|
-
assertParamExists('
|
|
38394
|
-
const localVarPath = `/api/v1/languages/{
|
|
38395
|
-
.replace(`{${"
|
|
38368
|
+
apiV1LanguagesCodePut: async (code: string, updateLanguageCommand?: UpdateLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38369
|
+
// verify required parameter 'code' is not null or undefined
|
|
38370
|
+
assertParamExists('apiV1LanguagesCodePut', 'code', code)
|
|
38371
|
+
const localVarPath = `/api/v1/languages/{code}`
|
|
38372
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
38396
38373
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38397
38374
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38398
38375
|
let baseOptions;
|
|
@@ -38400,7 +38377,7 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38400
38377
|
baseOptions = configuration.baseOptions;
|
|
38401
38378
|
}
|
|
38402
38379
|
|
|
38403
|
-
const localVarRequestOptions = { method: '
|
|
38380
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
38404
38381
|
const localVarHeaderParameter = {} as any;
|
|
38405
38382
|
const localVarQueryParameter = {} as any;
|
|
38406
38383
|
|
|
@@ -38410,9 +38387,12 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38410
38387
|
|
|
38411
38388
|
|
|
38412
38389
|
|
|
38390
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
38391
|
+
|
|
38413
38392
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38414
38393
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38415
38394
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38395
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateLanguageCommand, localVarRequestOptions, configuration)
|
|
38416
38396
|
|
|
38417
38397
|
return {
|
|
38418
38398
|
url: toPathString(localVarUrlObj),
|
|
@@ -38421,16 +38401,19 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38421
38401
|
},
|
|
38422
38402
|
/**
|
|
38423
38403
|
*
|
|
38424
|
-
* @summary Get
|
|
38425
|
-
* @param {string}
|
|
38404
|
+
* @summary Get all Languages.
|
|
38405
|
+
* @param {string} [code]
|
|
38406
|
+
* @param {string} [name]
|
|
38407
|
+
* @param {string} [description]
|
|
38408
|
+
* @param {boolean} [showPublished]
|
|
38409
|
+
* @param {number} [page]
|
|
38410
|
+
* @param {number} [limit]
|
|
38411
|
+
* @param {Date} [lastRetrieved]
|
|
38426
38412
|
* @param {*} [options] Override http request option.
|
|
38427
38413
|
* @throws {RequiredError}
|
|
38428
38414
|
*/
|
|
38429
|
-
|
|
38430
|
-
|
|
38431
|
-
assertParamExists('apiV1LanguagesLanguageIdGet', 'languageId', languageId)
|
|
38432
|
-
const localVarPath = `/api/v1/languages/{languageId}`
|
|
38433
|
-
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
38415
|
+
apiV1LanguagesGet: async (code?: string, name?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38416
|
+
const localVarPath = `/api/v1/languages`;
|
|
38434
38417
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38435
38418
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38436
38419
|
let baseOptions;
|
|
@@ -38446,52 +38429,41 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38446
38429
|
// oauth required
|
|
38447
38430
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
38448
38431
|
|
|
38432
|
+
if (code !== undefined) {
|
|
38433
|
+
localVarQueryParameter['Code'] = code;
|
|
38434
|
+
}
|
|
38449
38435
|
|
|
38450
|
-
|
|
38451
|
-
|
|
38452
|
-
|
|
38453
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38436
|
+
if (name !== undefined) {
|
|
38437
|
+
localVarQueryParameter['Name'] = name;
|
|
38438
|
+
}
|
|
38454
38439
|
|
|
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;
|
|
38440
|
+
if (description !== undefined) {
|
|
38441
|
+
localVarQueryParameter['Description'] = description;
|
|
38477
38442
|
}
|
|
38478
38443
|
|
|
38479
|
-
|
|
38480
|
-
|
|
38481
|
-
|
|
38444
|
+
if (showPublished !== undefined) {
|
|
38445
|
+
localVarQueryParameter['ShowPublished'] = showPublished;
|
|
38446
|
+
}
|
|
38482
38447
|
|
|
38483
|
-
|
|
38484
|
-
|
|
38485
|
-
|
|
38448
|
+
if (page !== undefined) {
|
|
38449
|
+
localVarQueryParameter['page'] = page;
|
|
38450
|
+
}
|
|
38486
38451
|
|
|
38452
|
+
if (limit !== undefined) {
|
|
38453
|
+
localVarQueryParameter['limit'] = limit;
|
|
38454
|
+
}
|
|
38487
38455
|
|
|
38488
|
-
|
|
38489
|
-
|
|
38456
|
+
if (lastRetrieved !== undefined) {
|
|
38457
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
38458
|
+
(lastRetrieved as any).toISOString() :
|
|
38459
|
+
lastRetrieved;
|
|
38460
|
+
}
|
|
38490
38461
|
|
|
38462
|
+
|
|
38463
|
+
|
|
38491
38464
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38492
38465
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38493
38466
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38494
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateLanguageCommand, localVarRequestOptions, configuration)
|
|
38495
38467
|
|
|
38496
38468
|
return {
|
|
38497
38469
|
url: toPathString(localVarUrlObj),
|
|
@@ -38547,63 +38519,51 @@ export const LanguagesApiFp = function(configuration?: Configuration) {
|
|
|
38547
38519
|
return {
|
|
38548
38520
|
/**
|
|
38549
38521
|
*
|
|
38550
|
-
* @summary Get Language by code.
|
|
38551
38522
|
* @param {string} code
|
|
38552
38523
|
* @param {*} [options] Override http request option.
|
|
38553
38524
|
* @throws {RequiredError}
|
|
38554
38525
|
*/
|
|
38555
|
-
async
|
|
38556
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
38526
|
+
async apiV1LanguagesCodeDelete(code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
38527
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesCodeDelete(code, options);
|
|
38557
38528
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38558
38529
|
},
|
|
38559
38530
|
/**
|
|
38560
38531
|
*
|
|
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
|
|
38532
|
+
* @summary Get Language.
|
|
38533
|
+
* @param {string} code
|
|
38580
38534
|
* @param {*} [options] Override http request option.
|
|
38581
38535
|
* @throws {RequiredError}
|
|
38582
38536
|
*/
|
|
38583
|
-
async
|
|
38584
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
38537
|
+
async apiV1LanguagesCodeGet(code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguageModel>> {
|
|
38538
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesCodeGet(code, options);
|
|
38585
38539
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38586
38540
|
},
|
|
38587
38541
|
/**
|
|
38588
38542
|
*
|
|
38589
|
-
* @
|
|
38590
|
-
* @param {
|
|
38543
|
+
* @param {string} code
|
|
38544
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
38591
38545
|
* @param {*} [options] Override http request option.
|
|
38592
38546
|
* @throws {RequiredError}
|
|
38593
38547
|
*/
|
|
38594
|
-
async
|
|
38595
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
38548
|
+
async apiV1LanguagesCodePut(code: string, updateLanguageCommand?: UpdateLanguageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguageModel>> {
|
|
38549
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesCodePut(code, updateLanguageCommand, options);
|
|
38596
38550
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38597
38551
|
},
|
|
38598
38552
|
/**
|
|
38599
38553
|
*
|
|
38600
|
-
* @
|
|
38601
|
-
* @param {
|
|
38554
|
+
* @summary Get all Languages.
|
|
38555
|
+
* @param {string} [code]
|
|
38556
|
+
* @param {string} [name]
|
|
38557
|
+
* @param {string} [description]
|
|
38558
|
+
* @param {boolean} [showPublished]
|
|
38559
|
+
* @param {number} [page]
|
|
38560
|
+
* @param {number} [limit]
|
|
38561
|
+
* @param {Date} [lastRetrieved]
|
|
38602
38562
|
* @param {*} [options] Override http request option.
|
|
38603
38563
|
* @throws {RequiredError}
|
|
38604
38564
|
*/
|
|
38605
|
-
async
|
|
38606
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
38565
|
+
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>> {
|
|
38566
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesGet(code, name, description, showPublished, page, limit, lastRetrieved, options);
|
|
38607
38567
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38608
38568
|
},
|
|
38609
38569
|
/**
|
|
@@ -38628,59 +38588,48 @@ export const LanguagesApiFactory = function (configuration?: Configuration, base
|
|
|
38628
38588
|
return {
|
|
38629
38589
|
/**
|
|
38630
38590
|
*
|
|
38631
|
-
* @summary Get Language by code.
|
|
38632
38591
|
* @param {string} code
|
|
38633
38592
|
* @param {*} [options] Override http request option.
|
|
38634
38593
|
* @throws {RequiredError}
|
|
38635
38594
|
*/
|
|
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));
|
|
38595
|
+
apiV1LanguagesCodeDelete(code: string, options?: any): AxiosPromise<boolean> {
|
|
38596
|
+
return localVarFp.apiV1LanguagesCodeDelete(code, options).then((request) => request(axios, basePath));
|
|
38655
38597
|
},
|
|
38656
38598
|
/**
|
|
38657
38599
|
*
|
|
38658
|
-
* @
|
|
38600
|
+
* @summary Get Language.
|
|
38601
|
+
* @param {string} code
|
|
38659
38602
|
* @param {*} [options] Override http request option.
|
|
38660
38603
|
* @throws {RequiredError}
|
|
38661
38604
|
*/
|
|
38662
|
-
|
|
38663
|
-
return localVarFp.
|
|
38605
|
+
apiV1LanguagesCodeGet(code: string, options?: any): AxiosPromise<LanguageModel> {
|
|
38606
|
+
return localVarFp.apiV1LanguagesCodeGet(code, options).then((request) => request(axios, basePath));
|
|
38664
38607
|
},
|
|
38665
38608
|
/**
|
|
38666
38609
|
*
|
|
38667
|
-
* @
|
|
38668
|
-
* @param {
|
|
38610
|
+
* @param {string} code
|
|
38611
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
38669
38612
|
* @param {*} [options] Override http request option.
|
|
38670
38613
|
* @throws {RequiredError}
|
|
38671
38614
|
*/
|
|
38672
|
-
|
|
38673
|
-
return localVarFp.
|
|
38615
|
+
apiV1LanguagesCodePut(code: string, updateLanguageCommand?: UpdateLanguageCommand, options?: any): AxiosPromise<LanguageModel> {
|
|
38616
|
+
return localVarFp.apiV1LanguagesCodePut(code, updateLanguageCommand, options).then((request) => request(axios, basePath));
|
|
38674
38617
|
},
|
|
38675
38618
|
/**
|
|
38676
38619
|
*
|
|
38677
|
-
* @
|
|
38678
|
-
* @param {
|
|
38620
|
+
* @summary Get all Languages.
|
|
38621
|
+
* @param {string} [code]
|
|
38622
|
+
* @param {string} [name]
|
|
38623
|
+
* @param {string} [description]
|
|
38624
|
+
* @param {boolean} [showPublished]
|
|
38625
|
+
* @param {number} [page]
|
|
38626
|
+
* @param {number} [limit]
|
|
38627
|
+
* @param {Date} [lastRetrieved]
|
|
38679
38628
|
* @param {*} [options] Override http request option.
|
|
38680
38629
|
* @throws {RequiredError}
|
|
38681
38630
|
*/
|
|
38682
|
-
|
|
38683
|
-
return localVarFp.
|
|
38631
|
+
apiV1LanguagesGet(code?: string, name?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<LanguagesModel> {
|
|
38632
|
+
return localVarFp.apiV1LanguagesGet(code, name, description, showPublished, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
38684
38633
|
},
|
|
38685
38634
|
/**
|
|
38686
38635
|
*
|
|
@@ -38703,68 +38652,55 @@ export const LanguagesApiFactory = function (configuration?: Configuration, base
|
|
|
38703
38652
|
export class LanguagesApi extends BaseAPI {
|
|
38704
38653
|
/**
|
|
38705
38654
|
*
|
|
38706
|
-
* @summary Get Language by code.
|
|
38707
38655
|
* @param {string} code
|
|
38708
38656
|
* @param {*} [options] Override http request option.
|
|
38709
38657
|
* @throws {RequiredError}
|
|
38710
38658
|
* @memberof LanguagesApi
|
|
38711
38659
|
*/
|
|
38712
|
-
public
|
|
38713
|
-
return LanguagesApiFp(this.configuration).
|
|
38714
|
-
}
|
|
38715
|
-
|
|
38716
|
-
/**
|
|
38717
|
-
*
|
|
38718
|
-
* @summary Get all Languages.
|
|
38719
|
-
* @param {string} [id]
|
|
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));
|
|
38660
|
+
public apiV1LanguagesCodeDelete(code: string, options?: AxiosRequestConfig) {
|
|
38661
|
+
return LanguagesApiFp(this.configuration).apiV1LanguagesCodeDelete(code, options).then((request) => request(this.axios, this.basePath));
|
|
38733
38662
|
}
|
|
38734
38663
|
|
|
38735
38664
|
/**
|
|
38736
38665
|
*
|
|
38737
|
-
* @
|
|
38666
|
+
* @summary Get Language.
|
|
38667
|
+
* @param {string} code
|
|
38738
38668
|
* @param {*} [options] Override http request option.
|
|
38739
38669
|
* @throws {RequiredError}
|
|
38740
38670
|
* @memberof LanguagesApi
|
|
38741
38671
|
*/
|
|
38742
|
-
public
|
|
38743
|
-
return LanguagesApiFp(this.configuration).
|
|
38672
|
+
public apiV1LanguagesCodeGet(code: string, options?: AxiosRequestConfig) {
|
|
38673
|
+
return LanguagesApiFp(this.configuration).apiV1LanguagesCodeGet(code, options).then((request) => request(this.axios, this.basePath));
|
|
38744
38674
|
}
|
|
38745
38675
|
|
|
38746
38676
|
/**
|
|
38747
38677
|
*
|
|
38748
|
-
* @
|
|
38749
|
-
* @param {
|
|
38678
|
+
* @param {string} code
|
|
38679
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
38750
38680
|
* @param {*} [options] Override http request option.
|
|
38751
38681
|
* @throws {RequiredError}
|
|
38752
38682
|
* @memberof LanguagesApi
|
|
38753
38683
|
*/
|
|
38754
|
-
public
|
|
38755
|
-
return LanguagesApiFp(this.configuration).
|
|
38684
|
+
public apiV1LanguagesCodePut(code: string, updateLanguageCommand?: UpdateLanguageCommand, options?: AxiosRequestConfig) {
|
|
38685
|
+
return LanguagesApiFp(this.configuration).apiV1LanguagesCodePut(code, updateLanguageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
38756
38686
|
}
|
|
38757
38687
|
|
|
38758
38688
|
/**
|
|
38759
38689
|
*
|
|
38760
|
-
* @
|
|
38761
|
-
* @param {
|
|
38690
|
+
* @summary Get all Languages.
|
|
38691
|
+
* @param {string} [code]
|
|
38692
|
+
* @param {string} [name]
|
|
38693
|
+
* @param {string} [description]
|
|
38694
|
+
* @param {boolean} [showPublished]
|
|
38695
|
+
* @param {number} [page]
|
|
38696
|
+
* @param {number} [limit]
|
|
38697
|
+
* @param {Date} [lastRetrieved]
|
|
38762
38698
|
* @param {*} [options] Override http request option.
|
|
38763
38699
|
* @throws {RequiredError}
|
|
38764
38700
|
* @memberof LanguagesApi
|
|
38765
38701
|
*/
|
|
38766
|
-
public
|
|
38767
|
-
return LanguagesApiFp(this.configuration).
|
|
38702
|
+
public apiV1LanguagesGet(code?: string, name?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
38703
|
+
return LanguagesApiFp(this.configuration).apiV1LanguagesGet(code, name, description, showPublished, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
38768
38704
|
}
|
|
38769
38705
|
|
|
38770
38706
|
/**
|