ch-admin-api-client-typescript 4.0.7 → 4.1.0
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 +223 -6
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +495 -0
- package/package.json +1 -1
- package/src/api.ts +450 -6
package/src/api.ts
CHANGED
|
@@ -3419,6 +3419,12 @@ export interface CreateChatUserCommand {
|
|
|
3419
3419
|
* @memberof CreateChatUserCommand
|
|
3420
3420
|
*/
|
|
3421
3421
|
'discoveryKeys'?: Array<string> | null;
|
|
3422
|
+
/**
|
|
3423
|
+
*
|
|
3424
|
+
* @type {string}
|
|
3425
|
+
* @memberof CreateChatUserCommand
|
|
3426
|
+
*/
|
|
3427
|
+
'hospitalId'?: string;
|
|
3422
3428
|
}
|
|
3423
3429
|
/**
|
|
3424
3430
|
*
|
|
@@ -7912,6 +7918,12 @@ export interface HospitalServiceItemModel {
|
|
|
7912
7918
|
* @memberof HospitalServiceItemModel
|
|
7913
7919
|
*/
|
|
7914
7920
|
'specialtyName'?: string | null;
|
|
7921
|
+
/**
|
|
7922
|
+
*
|
|
7923
|
+
* @type {Procedure}
|
|
7924
|
+
* @memberof HospitalServiceItemModel
|
|
7925
|
+
*/
|
|
7926
|
+
'procedure'?: Procedure;
|
|
7915
7927
|
/**
|
|
7916
7928
|
*
|
|
7917
7929
|
* @type {number}
|
|
@@ -8003,6 +8015,12 @@ export interface HospitalServiceModel {
|
|
|
8003
8015
|
* @memberof HospitalServiceModel
|
|
8004
8016
|
*/
|
|
8005
8017
|
'specialtyName'?: string | null;
|
|
8018
|
+
/**
|
|
8019
|
+
*
|
|
8020
|
+
* @type {Procedure}
|
|
8021
|
+
* @memberof HospitalServiceModel
|
|
8022
|
+
*/
|
|
8023
|
+
'procedure'?: Procedure;
|
|
8006
8024
|
/**
|
|
8007
8025
|
*
|
|
8008
8026
|
* @type {number}
|
|
@@ -8069,12 +8087,6 @@ export interface HospitalServiceModel {
|
|
|
8069
8087
|
* @memberof HospitalServiceModel
|
|
8070
8088
|
*/
|
|
8071
8089
|
'serviceCategoryName'?: string | null;
|
|
8072
|
-
/**
|
|
8073
|
-
*
|
|
8074
|
-
* @type {Procedure}
|
|
8075
|
-
* @memberof HospitalServiceModel
|
|
8076
|
-
*/
|
|
8077
|
-
'procedure'?: Procedure;
|
|
8078
8090
|
/**
|
|
8079
8091
|
*
|
|
8080
8092
|
* @type {number}
|
|
@@ -24242,6 +24254,243 @@ export class DealsApi extends BaseAPI {
|
|
|
24242
24254
|
*/
|
|
24243
24255
|
export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
24244
24256
|
return {
|
|
24257
|
+
/**
|
|
24258
|
+
*
|
|
24259
|
+
* @summary Get all DoctorAffiliationMedias.
|
|
24260
|
+
* @param {string} doctorAffiliationId
|
|
24261
|
+
* @param {string} [id]
|
|
24262
|
+
* @param {MediaType} [mediaType]
|
|
24263
|
+
* @param {number} [page]
|
|
24264
|
+
* @param {number} [limit]
|
|
24265
|
+
* @param {Date} [lastRetrieved]
|
|
24266
|
+
* @param {*} [options] Override http request option.
|
|
24267
|
+
* @throws {RequiredError}
|
|
24268
|
+
*/
|
|
24269
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet: async (doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24270
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
24271
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet', 'doctorAffiliationId', doctorAffiliationId)
|
|
24272
|
+
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/medias`
|
|
24273
|
+
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
|
|
24274
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24275
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24276
|
+
let baseOptions;
|
|
24277
|
+
if (configuration) {
|
|
24278
|
+
baseOptions = configuration.baseOptions;
|
|
24279
|
+
}
|
|
24280
|
+
|
|
24281
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
24282
|
+
const localVarHeaderParameter = {} as any;
|
|
24283
|
+
const localVarQueryParameter = {} as any;
|
|
24284
|
+
|
|
24285
|
+
// authentication oauth2 required
|
|
24286
|
+
// oauth required
|
|
24287
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
24288
|
+
|
|
24289
|
+
if (id !== undefined) {
|
|
24290
|
+
localVarQueryParameter['Id'] = id;
|
|
24291
|
+
}
|
|
24292
|
+
|
|
24293
|
+
if (mediaType !== undefined) {
|
|
24294
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
24295
|
+
}
|
|
24296
|
+
|
|
24297
|
+
if (page !== undefined) {
|
|
24298
|
+
localVarQueryParameter['page'] = page;
|
|
24299
|
+
}
|
|
24300
|
+
|
|
24301
|
+
if (limit !== undefined) {
|
|
24302
|
+
localVarQueryParameter['limit'] = limit;
|
|
24303
|
+
}
|
|
24304
|
+
|
|
24305
|
+
if (lastRetrieved !== undefined) {
|
|
24306
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
24307
|
+
(lastRetrieved as any).toISOString() :
|
|
24308
|
+
lastRetrieved;
|
|
24309
|
+
}
|
|
24310
|
+
|
|
24311
|
+
|
|
24312
|
+
|
|
24313
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24314
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24315
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24316
|
+
|
|
24317
|
+
return {
|
|
24318
|
+
url: toPathString(localVarUrlObj),
|
|
24319
|
+
options: localVarRequestOptions,
|
|
24320
|
+
};
|
|
24321
|
+
},
|
|
24322
|
+
/**
|
|
24323
|
+
*
|
|
24324
|
+
* @summary Delete DoctorAffiliationMedia
|
|
24325
|
+
* @param {string} doctorAffiliationId
|
|
24326
|
+
* @param {string} mediaId
|
|
24327
|
+
* @param {*} [options] Override http request option.
|
|
24328
|
+
* @throws {RequiredError}
|
|
24329
|
+
*/
|
|
24330
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete: async (doctorAffiliationId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24331
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
24332
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete', 'doctorAffiliationId', doctorAffiliationId)
|
|
24333
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
24334
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete', 'mediaId', mediaId)
|
|
24335
|
+
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/medias/{mediaId}`
|
|
24336
|
+
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)))
|
|
24337
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
24338
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24339
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24340
|
+
let baseOptions;
|
|
24341
|
+
if (configuration) {
|
|
24342
|
+
baseOptions = configuration.baseOptions;
|
|
24343
|
+
}
|
|
24344
|
+
|
|
24345
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
24346
|
+
const localVarHeaderParameter = {} as any;
|
|
24347
|
+
const localVarQueryParameter = {} as any;
|
|
24348
|
+
|
|
24349
|
+
// authentication oauth2 required
|
|
24350
|
+
// oauth required
|
|
24351
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
24352
|
+
|
|
24353
|
+
|
|
24354
|
+
|
|
24355
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24356
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24357
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24358
|
+
|
|
24359
|
+
return {
|
|
24360
|
+
url: toPathString(localVarUrlObj),
|
|
24361
|
+
options: localVarRequestOptions,
|
|
24362
|
+
};
|
|
24363
|
+
},
|
|
24364
|
+
/**
|
|
24365
|
+
*
|
|
24366
|
+
* @summary Get DoctorAffiliationMedia.
|
|
24367
|
+
* @param {string} doctorAffiliationId
|
|
24368
|
+
* @param {string} mediaId
|
|
24369
|
+
* @param {*} [options] Override http request option.
|
|
24370
|
+
* @throws {RequiredError}
|
|
24371
|
+
*/
|
|
24372
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet: async (doctorAffiliationId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24373
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
24374
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet', 'doctorAffiliationId', doctorAffiliationId)
|
|
24375
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
24376
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet', 'mediaId', mediaId)
|
|
24377
|
+
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/medias/{mediaId}`
|
|
24378
|
+
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)))
|
|
24379
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
24380
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24381
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24382
|
+
let baseOptions;
|
|
24383
|
+
if (configuration) {
|
|
24384
|
+
baseOptions = configuration.baseOptions;
|
|
24385
|
+
}
|
|
24386
|
+
|
|
24387
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
24388
|
+
const localVarHeaderParameter = {} as any;
|
|
24389
|
+
const localVarQueryParameter = {} as any;
|
|
24390
|
+
|
|
24391
|
+
// authentication oauth2 required
|
|
24392
|
+
// oauth required
|
|
24393
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
24394
|
+
|
|
24395
|
+
|
|
24396
|
+
|
|
24397
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24398
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24399
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24400
|
+
|
|
24401
|
+
return {
|
|
24402
|
+
url: toPathString(localVarUrlObj),
|
|
24403
|
+
options: localVarRequestOptions,
|
|
24404
|
+
};
|
|
24405
|
+
},
|
|
24406
|
+
/**
|
|
24407
|
+
*
|
|
24408
|
+
* @summary Update DoctorAffiliationMedia.
|
|
24409
|
+
* @param {string} doctorAffiliationId
|
|
24410
|
+
* @param {string} mediaId
|
|
24411
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
24412
|
+
* @param {*} [options] Override http request option.
|
|
24413
|
+
* @throws {RequiredError}
|
|
24414
|
+
*/
|
|
24415
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut: async (doctorAffiliationId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24416
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
24417
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut', 'doctorAffiliationId', doctorAffiliationId)
|
|
24418
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
24419
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut', 'mediaId', mediaId)
|
|
24420
|
+
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/medias/{mediaId}`
|
|
24421
|
+
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)))
|
|
24422
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
24423
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24424
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24425
|
+
let baseOptions;
|
|
24426
|
+
if (configuration) {
|
|
24427
|
+
baseOptions = configuration.baseOptions;
|
|
24428
|
+
}
|
|
24429
|
+
|
|
24430
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
24431
|
+
const localVarHeaderParameter = {} as any;
|
|
24432
|
+
const localVarQueryParameter = {} as any;
|
|
24433
|
+
|
|
24434
|
+
// authentication oauth2 required
|
|
24435
|
+
// oauth required
|
|
24436
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
24437
|
+
|
|
24438
|
+
|
|
24439
|
+
|
|
24440
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24441
|
+
|
|
24442
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24443
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24444
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24445
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
|
|
24446
|
+
|
|
24447
|
+
return {
|
|
24448
|
+
url: toPathString(localVarUrlObj),
|
|
24449
|
+
options: localVarRequestOptions,
|
|
24450
|
+
};
|
|
24451
|
+
},
|
|
24452
|
+
/**
|
|
24453
|
+
*
|
|
24454
|
+
* @summary Create DoctorAffiliationMedia.
|
|
24455
|
+
* @param {string} doctorAffiliationId
|
|
24456
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
24457
|
+
* @param {*} [options] Override http request option.
|
|
24458
|
+
* @throws {RequiredError}
|
|
24459
|
+
*/
|
|
24460
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost: async (doctorAffiliationId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24461
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
24462
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost', 'doctorAffiliationId', doctorAffiliationId)
|
|
24463
|
+
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/medias`
|
|
24464
|
+
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
|
|
24465
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24466
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24467
|
+
let baseOptions;
|
|
24468
|
+
if (configuration) {
|
|
24469
|
+
baseOptions = configuration.baseOptions;
|
|
24470
|
+
}
|
|
24471
|
+
|
|
24472
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
24473
|
+
const localVarHeaderParameter = {} as any;
|
|
24474
|
+
const localVarQueryParameter = {} as any;
|
|
24475
|
+
|
|
24476
|
+
// authentication oauth2 required
|
|
24477
|
+
// oauth required
|
|
24478
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
24479
|
+
|
|
24480
|
+
|
|
24481
|
+
|
|
24482
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24483
|
+
|
|
24484
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24485
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24486
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24487
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
|
|
24488
|
+
|
|
24489
|
+
return {
|
|
24490
|
+
url: toPathString(localVarUrlObj),
|
|
24491
|
+
options: localVarRequestOptions,
|
|
24492
|
+
};
|
|
24493
|
+
},
|
|
24245
24494
|
/**
|
|
24246
24495
|
*
|
|
24247
24496
|
* @summary Get all doctor affiliations.
|
|
@@ -24503,6 +24752,71 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
|
|
|
24503
24752
|
export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
24504
24753
|
const localVarAxiosParamCreator = DoctorAffiliationsApiAxiosParamCreator(configuration)
|
|
24505
24754
|
return {
|
|
24755
|
+
/**
|
|
24756
|
+
*
|
|
24757
|
+
* @summary Get all DoctorAffiliationMedias.
|
|
24758
|
+
* @param {string} doctorAffiliationId
|
|
24759
|
+
* @param {string} [id]
|
|
24760
|
+
* @param {MediaType} [mediaType]
|
|
24761
|
+
* @param {number} [page]
|
|
24762
|
+
* @param {number} [limit]
|
|
24763
|
+
* @param {Date} [lastRetrieved]
|
|
24764
|
+
* @param {*} [options] Override http request option.
|
|
24765
|
+
* @throws {RequiredError}
|
|
24766
|
+
*/
|
|
24767
|
+
async apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
|
|
24768
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options);
|
|
24769
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24770
|
+
},
|
|
24771
|
+
/**
|
|
24772
|
+
*
|
|
24773
|
+
* @summary Delete DoctorAffiliationMedia
|
|
24774
|
+
* @param {string} doctorAffiliationId
|
|
24775
|
+
* @param {string} mediaId
|
|
24776
|
+
* @param {*} [options] Override http request option.
|
|
24777
|
+
* @throws {RequiredError}
|
|
24778
|
+
*/
|
|
24779
|
+
async apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
24780
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId, mediaId, options);
|
|
24781
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24782
|
+
},
|
|
24783
|
+
/**
|
|
24784
|
+
*
|
|
24785
|
+
* @summary Get DoctorAffiliationMedia.
|
|
24786
|
+
* @param {string} doctorAffiliationId
|
|
24787
|
+
* @param {string} mediaId
|
|
24788
|
+
* @param {*} [options] Override http request option.
|
|
24789
|
+
* @throws {RequiredError}
|
|
24790
|
+
*/
|
|
24791
|
+
async apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
24792
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options);
|
|
24793
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24794
|
+
},
|
|
24795
|
+
/**
|
|
24796
|
+
*
|
|
24797
|
+
* @summary Update DoctorAffiliationMedia.
|
|
24798
|
+
* @param {string} doctorAffiliationId
|
|
24799
|
+
* @param {string} mediaId
|
|
24800
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
24801
|
+
* @param {*} [options] Override http request option.
|
|
24802
|
+
* @throws {RequiredError}
|
|
24803
|
+
*/
|
|
24804
|
+
async apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
24805
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId, mediaId, updateMediaCommand, options);
|
|
24806
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24807
|
+
},
|
|
24808
|
+
/**
|
|
24809
|
+
*
|
|
24810
|
+
* @summary Create DoctorAffiliationMedia.
|
|
24811
|
+
* @param {string} doctorAffiliationId
|
|
24812
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
24813
|
+
* @param {*} [options] Override http request option.
|
|
24814
|
+
* @throws {RequiredError}
|
|
24815
|
+
*/
|
|
24816
|
+
async apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
24817
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId, createMediaCommand, options);
|
|
24818
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24819
|
+
},
|
|
24506
24820
|
/**
|
|
24507
24821
|
*
|
|
24508
24822
|
* @summary Get all doctor affiliations.
|
|
@@ -24579,6 +24893,66 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
|
24579
24893
|
export const DoctorAffiliationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
24580
24894
|
const localVarFp = DoctorAffiliationsApiFp(configuration)
|
|
24581
24895
|
return {
|
|
24896
|
+
/**
|
|
24897
|
+
*
|
|
24898
|
+
* @summary Get all DoctorAffiliationMedias.
|
|
24899
|
+
* @param {string} doctorAffiliationId
|
|
24900
|
+
* @param {string} [id]
|
|
24901
|
+
* @param {MediaType} [mediaType]
|
|
24902
|
+
* @param {number} [page]
|
|
24903
|
+
* @param {number} [limit]
|
|
24904
|
+
* @param {Date} [lastRetrieved]
|
|
24905
|
+
* @param {*} [options] Override http request option.
|
|
24906
|
+
* @throws {RequiredError}
|
|
24907
|
+
*/
|
|
24908
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
|
|
24909
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
24910
|
+
},
|
|
24911
|
+
/**
|
|
24912
|
+
*
|
|
24913
|
+
* @summary Delete DoctorAffiliationMedia
|
|
24914
|
+
* @param {string} doctorAffiliationId
|
|
24915
|
+
* @param {string} mediaId
|
|
24916
|
+
* @param {*} [options] Override http request option.
|
|
24917
|
+
* @throws {RequiredError}
|
|
24918
|
+
*/
|
|
24919
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId: string, mediaId: string, options?: any): AxiosPromise<boolean> {
|
|
24920
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId, mediaId, options).then((request) => request(axios, basePath));
|
|
24921
|
+
},
|
|
24922
|
+
/**
|
|
24923
|
+
*
|
|
24924
|
+
* @summary Get DoctorAffiliationMedia.
|
|
24925
|
+
* @param {string} doctorAffiliationId
|
|
24926
|
+
* @param {string} mediaId
|
|
24927
|
+
* @param {*} [options] Override http request option.
|
|
24928
|
+
* @throws {RequiredError}
|
|
24929
|
+
*/
|
|
24930
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
|
|
24931
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options).then((request) => request(axios, basePath));
|
|
24932
|
+
},
|
|
24933
|
+
/**
|
|
24934
|
+
*
|
|
24935
|
+
* @summary Update DoctorAffiliationMedia.
|
|
24936
|
+
* @param {string} doctorAffiliationId
|
|
24937
|
+
* @param {string} mediaId
|
|
24938
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
24939
|
+
* @param {*} [options] Override http request option.
|
|
24940
|
+
* @throws {RequiredError}
|
|
24941
|
+
*/
|
|
24942
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
24943
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId, mediaId, updateMediaCommand, options).then((request) => request(axios, basePath));
|
|
24944
|
+
},
|
|
24945
|
+
/**
|
|
24946
|
+
*
|
|
24947
|
+
* @summary Create DoctorAffiliationMedia.
|
|
24948
|
+
* @param {string} doctorAffiliationId
|
|
24949
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
24950
|
+
* @param {*} [options] Override http request option.
|
|
24951
|
+
* @throws {RequiredError}
|
|
24952
|
+
*/
|
|
24953
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
24954
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId, createMediaCommand, options).then((request) => request(axios, basePath));
|
|
24955
|
+
},
|
|
24582
24956
|
/**
|
|
24583
24957
|
*
|
|
24584
24958
|
* @summary Get all doctor affiliations.
|
|
@@ -24650,6 +25024,76 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
|
|
|
24650
25024
|
* @extends {BaseAPI}
|
|
24651
25025
|
*/
|
|
24652
25026
|
export class DoctorAffiliationsApi extends BaseAPI {
|
|
25027
|
+
/**
|
|
25028
|
+
*
|
|
25029
|
+
* @summary Get all DoctorAffiliationMedias.
|
|
25030
|
+
* @param {string} doctorAffiliationId
|
|
25031
|
+
* @param {string} [id]
|
|
25032
|
+
* @param {MediaType} [mediaType]
|
|
25033
|
+
* @param {number} [page]
|
|
25034
|
+
* @param {number} [limit]
|
|
25035
|
+
* @param {Date} [lastRetrieved]
|
|
25036
|
+
* @param {*} [options] Override http request option.
|
|
25037
|
+
* @throws {RequiredError}
|
|
25038
|
+
* @memberof DoctorAffiliationsApi
|
|
25039
|
+
*/
|
|
25040
|
+
public apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
25041
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25042
|
+
}
|
|
25043
|
+
|
|
25044
|
+
/**
|
|
25045
|
+
*
|
|
25046
|
+
* @summary Delete DoctorAffiliationMedia
|
|
25047
|
+
* @param {string} doctorAffiliationId
|
|
25048
|
+
* @param {string} mediaId
|
|
25049
|
+
* @param {*} [options] Override http request option.
|
|
25050
|
+
* @throws {RequiredError}
|
|
25051
|
+
* @memberof DoctorAffiliationsApi
|
|
25052
|
+
*/
|
|
25053
|
+
public apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
25054
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
25055
|
+
}
|
|
25056
|
+
|
|
25057
|
+
/**
|
|
25058
|
+
*
|
|
25059
|
+
* @summary Get DoctorAffiliationMedia.
|
|
25060
|
+
* @param {string} doctorAffiliationId
|
|
25061
|
+
* @param {string} mediaId
|
|
25062
|
+
* @param {*} [options] Override http request option.
|
|
25063
|
+
* @throws {RequiredError}
|
|
25064
|
+
* @memberof DoctorAffiliationsApi
|
|
25065
|
+
*/
|
|
25066
|
+
public apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
25067
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
25068
|
+
}
|
|
25069
|
+
|
|
25070
|
+
/**
|
|
25071
|
+
*
|
|
25072
|
+
* @summary Update DoctorAffiliationMedia.
|
|
25073
|
+
* @param {string} doctorAffiliationId
|
|
25074
|
+
* @param {string} mediaId
|
|
25075
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
25076
|
+
* @param {*} [options] Override http request option.
|
|
25077
|
+
* @throws {RequiredError}
|
|
25078
|
+
* @memberof DoctorAffiliationsApi
|
|
25079
|
+
*/
|
|
25080
|
+
public apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig) {
|
|
25081
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId, mediaId, updateMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
25082
|
+
}
|
|
25083
|
+
|
|
25084
|
+
/**
|
|
25085
|
+
*
|
|
25086
|
+
* @summary Create DoctorAffiliationMedia.
|
|
25087
|
+
* @param {string} doctorAffiliationId
|
|
25088
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
25089
|
+
* @param {*} [options] Override http request option.
|
|
25090
|
+
* @throws {RequiredError}
|
|
25091
|
+
* @memberof DoctorAffiliationsApi
|
|
25092
|
+
*/
|
|
25093
|
+
public apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig) {
|
|
25094
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId, createMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
25095
|
+
}
|
|
25096
|
+
|
|
24653
25097
|
/**
|
|
24654
25098
|
*
|
|
24655
25099
|
* @summary Get all doctor affiliations.
|