ch-admin-api-client-typescript 4.0.9 → 4.1.2
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 +317 -26
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +502 -14
- package/package.json +1 -1
- package/src/api.ts +547 -33
package/src/api.ts
CHANGED
|
@@ -5103,6 +5103,18 @@ export interface DealItemModel {
|
|
|
5103
5103
|
* @memberof DealItemModel
|
|
5104
5104
|
*/
|
|
5105
5105
|
'photoThumbnail'?: string | null;
|
|
5106
|
+
/**
|
|
5107
|
+
*
|
|
5108
|
+
* @type {number}
|
|
5109
|
+
* @memberof DealItemModel
|
|
5110
|
+
*/
|
|
5111
|
+
'lowestPrice'?: number;
|
|
5112
|
+
/**
|
|
5113
|
+
*
|
|
5114
|
+
* @type {number}
|
|
5115
|
+
* @memberof DealItemModel
|
|
5116
|
+
*/
|
|
5117
|
+
'dealServicesCount'?: number;
|
|
5106
5118
|
/**
|
|
5107
5119
|
*
|
|
5108
5120
|
* @type {number}
|
|
@@ -5225,6 +5237,18 @@ export interface DealModel {
|
|
|
5225
5237
|
* @memberof DealModel
|
|
5226
5238
|
*/
|
|
5227
5239
|
'photoThumbnail'?: string | null;
|
|
5240
|
+
/**
|
|
5241
|
+
*
|
|
5242
|
+
* @type {number}
|
|
5243
|
+
* @memberof DealModel
|
|
5244
|
+
*/
|
|
5245
|
+
'lowestPrice'?: number;
|
|
5246
|
+
/**
|
|
5247
|
+
*
|
|
5248
|
+
* @type {number}
|
|
5249
|
+
* @memberof DealModel
|
|
5250
|
+
*/
|
|
5251
|
+
'dealServicesCount'?: number;
|
|
5228
5252
|
/**
|
|
5229
5253
|
*
|
|
5230
5254
|
* @type {number}
|
|
@@ -7626,6 +7650,12 @@ export interface HospitalItemModel {
|
|
|
7626
7650
|
* @memberof HospitalItemModel
|
|
7627
7651
|
*/
|
|
7628
7652
|
'countryId'?: string;
|
|
7653
|
+
/**
|
|
7654
|
+
*
|
|
7655
|
+
* @type {Array<MediaModel>}
|
|
7656
|
+
* @memberof HospitalItemModel
|
|
7657
|
+
*/
|
|
7658
|
+
'medias'?: Array<MediaModel> | null;
|
|
7629
7659
|
/**
|
|
7630
7660
|
*
|
|
7631
7661
|
* @type {LocationModel}
|
|
@@ -7767,6 +7797,12 @@ export interface HospitalModel {
|
|
|
7767
7797
|
* @memberof HospitalModel
|
|
7768
7798
|
*/
|
|
7769
7799
|
'countryId'?: string;
|
|
7800
|
+
/**
|
|
7801
|
+
*
|
|
7802
|
+
* @type {Array<MediaModel>}
|
|
7803
|
+
* @memberof HospitalModel
|
|
7804
|
+
*/
|
|
7805
|
+
'medias'?: Array<MediaModel> | null;
|
|
7770
7806
|
/**
|
|
7771
7807
|
*
|
|
7772
7808
|
* @type {LocationModel}
|
|
@@ -7918,12 +7954,48 @@ export interface HospitalServiceItemModel {
|
|
|
7918
7954
|
* @memberof HospitalServiceItemModel
|
|
7919
7955
|
*/
|
|
7920
7956
|
'specialtyName'?: string | null;
|
|
7957
|
+
/**
|
|
7958
|
+
*
|
|
7959
|
+
* @type {string}
|
|
7960
|
+
* @memberof HospitalServiceItemModel
|
|
7961
|
+
*/
|
|
7962
|
+
'hospitalSpecialtyName'?: string | null;
|
|
7963
|
+
/**
|
|
7964
|
+
*
|
|
7965
|
+
* @type {string}
|
|
7966
|
+
* @memberof HospitalServiceItemModel
|
|
7967
|
+
*/
|
|
7968
|
+
'hospitalSpecialtySlug'?: string | null;
|
|
7969
|
+
/**
|
|
7970
|
+
*
|
|
7971
|
+
* @type {string}
|
|
7972
|
+
* @memberof HospitalServiceItemModel
|
|
7973
|
+
*/
|
|
7974
|
+
'hospitalSpecialtyId'?: string;
|
|
7921
7975
|
/**
|
|
7922
7976
|
*
|
|
7923
7977
|
* @type {Procedure}
|
|
7924
7978
|
* @memberof HospitalServiceItemModel
|
|
7925
7979
|
*/
|
|
7926
7980
|
'procedure'?: Procedure;
|
|
7981
|
+
/**
|
|
7982
|
+
*
|
|
7983
|
+
* @type {number}
|
|
7984
|
+
* @memberof HospitalServiceItemModel
|
|
7985
|
+
*/
|
|
7986
|
+
'minPrice'?: number | null;
|
|
7987
|
+
/**
|
|
7988
|
+
*
|
|
7989
|
+
* @type {number}
|
|
7990
|
+
* @memberof HospitalServiceItemModel
|
|
7991
|
+
*/
|
|
7992
|
+
'maxPrice'?: number | null;
|
|
7993
|
+
/**
|
|
7994
|
+
*
|
|
7995
|
+
* @type {boolean}
|
|
7996
|
+
* @memberof HospitalServiceItemModel
|
|
7997
|
+
*/
|
|
7998
|
+
'priceReuqest'?: boolean;
|
|
7927
7999
|
/**
|
|
7928
8000
|
*
|
|
7929
8001
|
* @type {number}
|
|
@@ -8015,12 +8087,36 @@ export interface HospitalServiceModel {
|
|
|
8015
8087
|
* @memberof HospitalServiceModel
|
|
8016
8088
|
*/
|
|
8017
8089
|
'specialtyName'?: string | null;
|
|
8090
|
+
/**
|
|
8091
|
+
*
|
|
8092
|
+
* @type {string}
|
|
8093
|
+
* @memberof HospitalServiceModel
|
|
8094
|
+
*/
|
|
8095
|
+
'hospitalSpecialtyId'?: string;
|
|
8018
8096
|
/**
|
|
8019
8097
|
*
|
|
8020
8098
|
* @type {Procedure}
|
|
8021
8099
|
* @memberof HospitalServiceModel
|
|
8022
8100
|
*/
|
|
8023
8101
|
'procedure'?: Procedure;
|
|
8102
|
+
/**
|
|
8103
|
+
*
|
|
8104
|
+
* @type {number}
|
|
8105
|
+
* @memberof HospitalServiceModel
|
|
8106
|
+
*/
|
|
8107
|
+
'minPrice'?: number | null;
|
|
8108
|
+
/**
|
|
8109
|
+
*
|
|
8110
|
+
* @type {number}
|
|
8111
|
+
* @memberof HospitalServiceModel
|
|
8112
|
+
*/
|
|
8113
|
+
'maxPrice'?: number | null;
|
|
8114
|
+
/**
|
|
8115
|
+
*
|
|
8116
|
+
* @type {boolean}
|
|
8117
|
+
* @memberof HospitalServiceModel
|
|
8118
|
+
*/
|
|
8119
|
+
'priceReuqest'?: boolean;
|
|
8024
8120
|
/**
|
|
8025
8121
|
*
|
|
8026
8122
|
* @type {number}
|
|
@@ -8087,24 +8183,6 @@ export interface HospitalServiceModel {
|
|
|
8087
8183
|
* @memberof HospitalServiceModel
|
|
8088
8184
|
*/
|
|
8089
8185
|
'serviceCategoryName'?: string | null;
|
|
8090
|
-
/**
|
|
8091
|
-
*
|
|
8092
|
-
* @type {number}
|
|
8093
|
-
* @memberof HospitalServiceModel
|
|
8094
|
-
*/
|
|
8095
|
-
'minPrice'?: number | null;
|
|
8096
|
-
/**
|
|
8097
|
-
*
|
|
8098
|
-
* @type {number}
|
|
8099
|
-
* @memberof HospitalServiceModel
|
|
8100
|
-
*/
|
|
8101
|
-
'maxPrice'?: number | null;
|
|
8102
|
-
/**
|
|
8103
|
-
*
|
|
8104
|
-
* @type {boolean}
|
|
8105
|
-
* @memberof HospitalServiceModel
|
|
8106
|
-
*/
|
|
8107
|
-
'priceReuqest'?: boolean;
|
|
8108
8186
|
/**
|
|
8109
8187
|
*
|
|
8110
8188
|
* @type {string}
|
|
@@ -10400,6 +10478,12 @@ export interface ServiceReviewItemModel {
|
|
|
10400
10478
|
* @memberof ServiceReviewItemModel
|
|
10401
10479
|
*/
|
|
10402
10480
|
'serviceSlug'?: string | null;
|
|
10481
|
+
/**
|
|
10482
|
+
*
|
|
10483
|
+
* @type {string}
|
|
10484
|
+
* @memberof ServiceReviewItemModel
|
|
10485
|
+
*/
|
|
10486
|
+
'hospitalId'?: string;
|
|
10403
10487
|
/**
|
|
10404
10488
|
*
|
|
10405
10489
|
* @type {string}
|
|
@@ -10497,6 +10581,12 @@ export interface ServiceReviewModel {
|
|
|
10497
10581
|
* @memberof ServiceReviewModel
|
|
10498
10582
|
*/
|
|
10499
10583
|
'serviceSlug'?: string | null;
|
|
10584
|
+
/**
|
|
10585
|
+
*
|
|
10586
|
+
* @type {string}
|
|
10587
|
+
* @memberof ServiceReviewModel
|
|
10588
|
+
*/
|
|
10589
|
+
'hospitalId'?: string;
|
|
10500
10590
|
/**
|
|
10501
10591
|
*
|
|
10502
10592
|
* @type {string}
|
|
@@ -15830,7 +15920,6 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15830
15920
|
* @param {string} [id]
|
|
15831
15921
|
* @param {string} [name]
|
|
15832
15922
|
* @param {string} [description]
|
|
15833
|
-
* @param {ArticleStatus} [status]
|
|
15834
15923
|
* @param {MarketingType} [marketingType]
|
|
15835
15924
|
* @param {string} [userId]
|
|
15836
15925
|
* @param {string} [userName]
|
|
@@ -15849,7 +15938,7 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15849
15938
|
* @param {*} [options] Override http request option.
|
|
15850
15939
|
* @throws {RequiredError}
|
|
15851
15940
|
*/
|
|
15852
|
-
apiV1ArticlesGet: async (id?: string, name?: string, description?: string,
|
|
15941
|
+
apiV1ArticlesGet: async (id?: string, name?: string, description?: string, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15853
15942
|
const localVarPath = `/api/v1/articles`;
|
|
15854
15943
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15855
15944
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -15878,10 +15967,6 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15878
15967
|
localVarQueryParameter['Description'] = description;
|
|
15879
15968
|
}
|
|
15880
15969
|
|
|
15881
|
-
if (status !== undefined) {
|
|
15882
|
-
localVarQueryParameter['Status'] = status;
|
|
15883
|
-
}
|
|
15884
|
-
|
|
15885
15970
|
if (marketingType !== undefined) {
|
|
15886
15971
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
15887
15972
|
}
|
|
@@ -16344,7 +16429,6 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
16344
16429
|
* @param {string} [id]
|
|
16345
16430
|
* @param {string} [name]
|
|
16346
16431
|
* @param {string} [description]
|
|
16347
|
-
* @param {ArticleStatus} [status]
|
|
16348
16432
|
* @param {MarketingType} [marketingType]
|
|
16349
16433
|
* @param {string} [userId]
|
|
16350
16434
|
* @param {string} [userName]
|
|
@@ -16363,8 +16447,8 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
16363
16447
|
* @param {*} [options] Override http request option.
|
|
16364
16448
|
* @throws {RequiredError}
|
|
16365
16449
|
*/
|
|
16366
|
-
async apiV1ArticlesGet(id?: string, name?: string, description?: string,
|
|
16367
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesGet(id, name, description,
|
|
16450
|
+
async apiV1ArticlesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticlesModel>> {
|
|
16451
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesGet(id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
16368
16452
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16369
16453
|
},
|
|
16370
16454
|
/**
|
|
@@ -16672,7 +16756,6 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
16672
16756
|
* @param {string} [id]
|
|
16673
16757
|
* @param {string} [name]
|
|
16674
16758
|
* @param {string} [description]
|
|
16675
|
-
* @param {ArticleStatus} [status]
|
|
16676
16759
|
* @param {MarketingType} [marketingType]
|
|
16677
16760
|
* @param {string} [userId]
|
|
16678
16761
|
* @param {string} [userName]
|
|
@@ -16691,8 +16774,8 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
16691
16774
|
* @param {*} [options] Override http request option.
|
|
16692
16775
|
* @throws {RequiredError}
|
|
16693
16776
|
*/
|
|
16694
|
-
apiV1ArticlesGet(id?: string, name?: string, description?: string,
|
|
16695
|
-
return localVarFp.apiV1ArticlesGet(id, name, description,
|
|
16777
|
+
apiV1ArticlesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticlesModel> {
|
|
16778
|
+
return localVarFp.apiV1ArticlesGet(id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
16696
16779
|
},
|
|
16697
16780
|
/**
|
|
16698
16781
|
*
|
|
@@ -17041,7 +17124,6 @@ export class ArticlesApi extends BaseAPI {
|
|
|
17041
17124
|
* @param {string} [id]
|
|
17042
17125
|
* @param {string} [name]
|
|
17043
17126
|
* @param {string} [description]
|
|
17044
|
-
* @param {ArticleStatus} [status]
|
|
17045
17127
|
* @param {MarketingType} [marketingType]
|
|
17046
17128
|
* @param {string} [userId]
|
|
17047
17129
|
* @param {string} [userName]
|
|
@@ -17061,8 +17143,8 @@ export class ArticlesApi extends BaseAPI {
|
|
|
17061
17143
|
* @throws {RequiredError}
|
|
17062
17144
|
* @memberof ArticlesApi
|
|
17063
17145
|
*/
|
|
17064
|
-
public apiV1ArticlesGet(id?: string, name?: string, description?: string,
|
|
17065
|
-
return ArticlesApiFp(this.configuration).apiV1ArticlesGet(id, name, description,
|
|
17146
|
+
public apiV1ArticlesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
17147
|
+
return ArticlesApiFp(this.configuration).apiV1ArticlesGet(id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
17066
17148
|
}
|
|
17067
17149
|
|
|
17068
17150
|
/**
|
|
@@ -24254,6 +24336,243 @@ export class DealsApi extends BaseAPI {
|
|
|
24254
24336
|
*/
|
|
24255
24337
|
export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
24256
24338
|
return {
|
|
24339
|
+
/**
|
|
24340
|
+
*
|
|
24341
|
+
* @summary Get all DoctorAffiliationMedias.
|
|
24342
|
+
* @param {string} doctorAffiliationId
|
|
24343
|
+
* @param {string} [id]
|
|
24344
|
+
* @param {MediaType} [mediaType]
|
|
24345
|
+
* @param {number} [page]
|
|
24346
|
+
* @param {number} [limit]
|
|
24347
|
+
* @param {Date} [lastRetrieved]
|
|
24348
|
+
* @param {*} [options] Override http request option.
|
|
24349
|
+
* @throws {RequiredError}
|
|
24350
|
+
*/
|
|
24351
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet: async (doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24352
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
24353
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet', 'doctorAffiliationId', doctorAffiliationId)
|
|
24354
|
+
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/medias`
|
|
24355
|
+
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
|
|
24356
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24357
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24358
|
+
let baseOptions;
|
|
24359
|
+
if (configuration) {
|
|
24360
|
+
baseOptions = configuration.baseOptions;
|
|
24361
|
+
}
|
|
24362
|
+
|
|
24363
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
24364
|
+
const localVarHeaderParameter = {} as any;
|
|
24365
|
+
const localVarQueryParameter = {} as any;
|
|
24366
|
+
|
|
24367
|
+
// authentication oauth2 required
|
|
24368
|
+
// oauth required
|
|
24369
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
24370
|
+
|
|
24371
|
+
if (id !== undefined) {
|
|
24372
|
+
localVarQueryParameter['Id'] = id;
|
|
24373
|
+
}
|
|
24374
|
+
|
|
24375
|
+
if (mediaType !== undefined) {
|
|
24376
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
24377
|
+
}
|
|
24378
|
+
|
|
24379
|
+
if (page !== undefined) {
|
|
24380
|
+
localVarQueryParameter['page'] = page;
|
|
24381
|
+
}
|
|
24382
|
+
|
|
24383
|
+
if (limit !== undefined) {
|
|
24384
|
+
localVarQueryParameter['limit'] = limit;
|
|
24385
|
+
}
|
|
24386
|
+
|
|
24387
|
+
if (lastRetrieved !== undefined) {
|
|
24388
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
24389
|
+
(lastRetrieved as any).toISOString() :
|
|
24390
|
+
lastRetrieved;
|
|
24391
|
+
}
|
|
24392
|
+
|
|
24393
|
+
|
|
24394
|
+
|
|
24395
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24396
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24397
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24398
|
+
|
|
24399
|
+
return {
|
|
24400
|
+
url: toPathString(localVarUrlObj),
|
|
24401
|
+
options: localVarRequestOptions,
|
|
24402
|
+
};
|
|
24403
|
+
},
|
|
24404
|
+
/**
|
|
24405
|
+
*
|
|
24406
|
+
* @summary Delete DoctorAffiliationMedia
|
|
24407
|
+
* @param {string} doctorAffiliationId
|
|
24408
|
+
* @param {string} mediaId
|
|
24409
|
+
* @param {*} [options] Override http request option.
|
|
24410
|
+
* @throws {RequiredError}
|
|
24411
|
+
*/
|
|
24412
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete: async (doctorAffiliationId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24413
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
24414
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete', 'doctorAffiliationId', doctorAffiliationId)
|
|
24415
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
24416
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete', 'mediaId', mediaId)
|
|
24417
|
+
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/medias/{mediaId}`
|
|
24418
|
+
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)))
|
|
24419
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
24420
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24421
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24422
|
+
let baseOptions;
|
|
24423
|
+
if (configuration) {
|
|
24424
|
+
baseOptions = configuration.baseOptions;
|
|
24425
|
+
}
|
|
24426
|
+
|
|
24427
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
24428
|
+
const localVarHeaderParameter = {} as any;
|
|
24429
|
+
const localVarQueryParameter = {} as any;
|
|
24430
|
+
|
|
24431
|
+
// authentication oauth2 required
|
|
24432
|
+
// oauth required
|
|
24433
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
24434
|
+
|
|
24435
|
+
|
|
24436
|
+
|
|
24437
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24438
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24439
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24440
|
+
|
|
24441
|
+
return {
|
|
24442
|
+
url: toPathString(localVarUrlObj),
|
|
24443
|
+
options: localVarRequestOptions,
|
|
24444
|
+
};
|
|
24445
|
+
},
|
|
24446
|
+
/**
|
|
24447
|
+
*
|
|
24448
|
+
* @summary Get DoctorAffiliationMedia.
|
|
24449
|
+
* @param {string} doctorAffiliationId
|
|
24450
|
+
* @param {string} mediaId
|
|
24451
|
+
* @param {*} [options] Override http request option.
|
|
24452
|
+
* @throws {RequiredError}
|
|
24453
|
+
*/
|
|
24454
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet: async (doctorAffiliationId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24455
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
24456
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet', 'doctorAffiliationId', doctorAffiliationId)
|
|
24457
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
24458
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet', 'mediaId', mediaId)
|
|
24459
|
+
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/medias/{mediaId}`
|
|
24460
|
+
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)))
|
|
24461
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
24462
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24463
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24464
|
+
let baseOptions;
|
|
24465
|
+
if (configuration) {
|
|
24466
|
+
baseOptions = configuration.baseOptions;
|
|
24467
|
+
}
|
|
24468
|
+
|
|
24469
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
24470
|
+
const localVarHeaderParameter = {} as any;
|
|
24471
|
+
const localVarQueryParameter = {} as any;
|
|
24472
|
+
|
|
24473
|
+
// authentication oauth2 required
|
|
24474
|
+
// oauth required
|
|
24475
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
24476
|
+
|
|
24477
|
+
|
|
24478
|
+
|
|
24479
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24480
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24481
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24482
|
+
|
|
24483
|
+
return {
|
|
24484
|
+
url: toPathString(localVarUrlObj),
|
|
24485
|
+
options: localVarRequestOptions,
|
|
24486
|
+
};
|
|
24487
|
+
},
|
|
24488
|
+
/**
|
|
24489
|
+
*
|
|
24490
|
+
* @summary Update DoctorAffiliationMedia.
|
|
24491
|
+
* @param {string} doctorAffiliationId
|
|
24492
|
+
* @param {string} mediaId
|
|
24493
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
24494
|
+
* @param {*} [options] Override http request option.
|
|
24495
|
+
* @throws {RequiredError}
|
|
24496
|
+
*/
|
|
24497
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut: async (doctorAffiliationId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24498
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
24499
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut', 'doctorAffiliationId', doctorAffiliationId)
|
|
24500
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
24501
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut', 'mediaId', mediaId)
|
|
24502
|
+
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/medias/{mediaId}`
|
|
24503
|
+
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)))
|
|
24504
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
24505
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24506
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24507
|
+
let baseOptions;
|
|
24508
|
+
if (configuration) {
|
|
24509
|
+
baseOptions = configuration.baseOptions;
|
|
24510
|
+
}
|
|
24511
|
+
|
|
24512
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
24513
|
+
const localVarHeaderParameter = {} as any;
|
|
24514
|
+
const localVarQueryParameter = {} as any;
|
|
24515
|
+
|
|
24516
|
+
// authentication oauth2 required
|
|
24517
|
+
// oauth required
|
|
24518
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
24519
|
+
|
|
24520
|
+
|
|
24521
|
+
|
|
24522
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24523
|
+
|
|
24524
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24525
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24526
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24527
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
|
|
24528
|
+
|
|
24529
|
+
return {
|
|
24530
|
+
url: toPathString(localVarUrlObj),
|
|
24531
|
+
options: localVarRequestOptions,
|
|
24532
|
+
};
|
|
24533
|
+
},
|
|
24534
|
+
/**
|
|
24535
|
+
*
|
|
24536
|
+
* @summary Create DoctorAffiliationMedia.
|
|
24537
|
+
* @param {string} doctorAffiliationId
|
|
24538
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
24539
|
+
* @param {*} [options] Override http request option.
|
|
24540
|
+
* @throws {RequiredError}
|
|
24541
|
+
*/
|
|
24542
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost: async (doctorAffiliationId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24543
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
24544
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost', 'doctorAffiliationId', doctorAffiliationId)
|
|
24545
|
+
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/medias`
|
|
24546
|
+
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
|
|
24547
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24548
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24549
|
+
let baseOptions;
|
|
24550
|
+
if (configuration) {
|
|
24551
|
+
baseOptions = configuration.baseOptions;
|
|
24552
|
+
}
|
|
24553
|
+
|
|
24554
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
24555
|
+
const localVarHeaderParameter = {} as any;
|
|
24556
|
+
const localVarQueryParameter = {} as any;
|
|
24557
|
+
|
|
24558
|
+
// authentication oauth2 required
|
|
24559
|
+
// oauth required
|
|
24560
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
24561
|
+
|
|
24562
|
+
|
|
24563
|
+
|
|
24564
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24565
|
+
|
|
24566
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24567
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24568
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24569
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
|
|
24570
|
+
|
|
24571
|
+
return {
|
|
24572
|
+
url: toPathString(localVarUrlObj),
|
|
24573
|
+
options: localVarRequestOptions,
|
|
24574
|
+
};
|
|
24575
|
+
},
|
|
24257
24576
|
/**
|
|
24258
24577
|
*
|
|
24259
24578
|
* @summary Get all doctor affiliations.
|
|
@@ -24515,6 +24834,71 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
|
|
|
24515
24834
|
export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
24516
24835
|
const localVarAxiosParamCreator = DoctorAffiliationsApiAxiosParamCreator(configuration)
|
|
24517
24836
|
return {
|
|
24837
|
+
/**
|
|
24838
|
+
*
|
|
24839
|
+
* @summary Get all DoctorAffiliationMedias.
|
|
24840
|
+
* @param {string} doctorAffiliationId
|
|
24841
|
+
* @param {string} [id]
|
|
24842
|
+
* @param {MediaType} [mediaType]
|
|
24843
|
+
* @param {number} [page]
|
|
24844
|
+
* @param {number} [limit]
|
|
24845
|
+
* @param {Date} [lastRetrieved]
|
|
24846
|
+
* @param {*} [options] Override http request option.
|
|
24847
|
+
* @throws {RequiredError}
|
|
24848
|
+
*/
|
|
24849
|
+
async apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
|
|
24850
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options);
|
|
24851
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24852
|
+
},
|
|
24853
|
+
/**
|
|
24854
|
+
*
|
|
24855
|
+
* @summary Delete DoctorAffiliationMedia
|
|
24856
|
+
* @param {string} doctorAffiliationId
|
|
24857
|
+
* @param {string} mediaId
|
|
24858
|
+
* @param {*} [options] Override http request option.
|
|
24859
|
+
* @throws {RequiredError}
|
|
24860
|
+
*/
|
|
24861
|
+
async apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
24862
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId, mediaId, options);
|
|
24863
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24864
|
+
},
|
|
24865
|
+
/**
|
|
24866
|
+
*
|
|
24867
|
+
* @summary Get DoctorAffiliationMedia.
|
|
24868
|
+
* @param {string} doctorAffiliationId
|
|
24869
|
+
* @param {string} mediaId
|
|
24870
|
+
* @param {*} [options] Override http request option.
|
|
24871
|
+
* @throws {RequiredError}
|
|
24872
|
+
*/
|
|
24873
|
+
async apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
24874
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options);
|
|
24875
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24876
|
+
},
|
|
24877
|
+
/**
|
|
24878
|
+
*
|
|
24879
|
+
* @summary Update DoctorAffiliationMedia.
|
|
24880
|
+
* @param {string} doctorAffiliationId
|
|
24881
|
+
* @param {string} mediaId
|
|
24882
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
24883
|
+
* @param {*} [options] Override http request option.
|
|
24884
|
+
* @throws {RequiredError}
|
|
24885
|
+
*/
|
|
24886
|
+
async apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
24887
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId, mediaId, updateMediaCommand, options);
|
|
24888
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24889
|
+
},
|
|
24890
|
+
/**
|
|
24891
|
+
*
|
|
24892
|
+
* @summary Create DoctorAffiliationMedia.
|
|
24893
|
+
* @param {string} doctorAffiliationId
|
|
24894
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
24895
|
+
* @param {*} [options] Override http request option.
|
|
24896
|
+
* @throws {RequiredError}
|
|
24897
|
+
*/
|
|
24898
|
+
async apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
24899
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId, createMediaCommand, options);
|
|
24900
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24901
|
+
},
|
|
24518
24902
|
/**
|
|
24519
24903
|
*
|
|
24520
24904
|
* @summary Get all doctor affiliations.
|
|
@@ -24591,6 +24975,66 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
|
24591
24975
|
export const DoctorAffiliationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
24592
24976
|
const localVarFp = DoctorAffiliationsApiFp(configuration)
|
|
24593
24977
|
return {
|
|
24978
|
+
/**
|
|
24979
|
+
*
|
|
24980
|
+
* @summary Get all DoctorAffiliationMedias.
|
|
24981
|
+
* @param {string} doctorAffiliationId
|
|
24982
|
+
* @param {string} [id]
|
|
24983
|
+
* @param {MediaType} [mediaType]
|
|
24984
|
+
* @param {number} [page]
|
|
24985
|
+
* @param {number} [limit]
|
|
24986
|
+
* @param {Date} [lastRetrieved]
|
|
24987
|
+
* @param {*} [options] Override http request option.
|
|
24988
|
+
* @throws {RequiredError}
|
|
24989
|
+
*/
|
|
24990
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
|
|
24991
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
24992
|
+
},
|
|
24993
|
+
/**
|
|
24994
|
+
*
|
|
24995
|
+
* @summary Delete DoctorAffiliationMedia
|
|
24996
|
+
* @param {string} doctorAffiliationId
|
|
24997
|
+
* @param {string} mediaId
|
|
24998
|
+
* @param {*} [options] Override http request option.
|
|
24999
|
+
* @throws {RequiredError}
|
|
25000
|
+
*/
|
|
25001
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId: string, mediaId: string, options?: any): AxiosPromise<boolean> {
|
|
25002
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId, mediaId, options).then((request) => request(axios, basePath));
|
|
25003
|
+
},
|
|
25004
|
+
/**
|
|
25005
|
+
*
|
|
25006
|
+
* @summary Get DoctorAffiliationMedia.
|
|
25007
|
+
* @param {string} doctorAffiliationId
|
|
25008
|
+
* @param {string} mediaId
|
|
25009
|
+
* @param {*} [options] Override http request option.
|
|
25010
|
+
* @throws {RequiredError}
|
|
25011
|
+
*/
|
|
25012
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
|
|
25013
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options).then((request) => request(axios, basePath));
|
|
25014
|
+
},
|
|
25015
|
+
/**
|
|
25016
|
+
*
|
|
25017
|
+
* @summary Update DoctorAffiliationMedia.
|
|
25018
|
+
* @param {string} doctorAffiliationId
|
|
25019
|
+
* @param {string} mediaId
|
|
25020
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
25021
|
+
* @param {*} [options] Override http request option.
|
|
25022
|
+
* @throws {RequiredError}
|
|
25023
|
+
*/
|
|
25024
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
25025
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId, mediaId, updateMediaCommand, options).then((request) => request(axios, basePath));
|
|
25026
|
+
},
|
|
25027
|
+
/**
|
|
25028
|
+
*
|
|
25029
|
+
* @summary Create DoctorAffiliationMedia.
|
|
25030
|
+
* @param {string} doctorAffiliationId
|
|
25031
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
25032
|
+
* @param {*} [options] Override http request option.
|
|
25033
|
+
* @throws {RequiredError}
|
|
25034
|
+
*/
|
|
25035
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
25036
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId, createMediaCommand, options).then((request) => request(axios, basePath));
|
|
25037
|
+
},
|
|
24594
25038
|
/**
|
|
24595
25039
|
*
|
|
24596
25040
|
* @summary Get all doctor affiliations.
|
|
@@ -24662,6 +25106,76 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
|
|
|
24662
25106
|
* @extends {BaseAPI}
|
|
24663
25107
|
*/
|
|
24664
25108
|
export class DoctorAffiliationsApi extends BaseAPI {
|
|
25109
|
+
/**
|
|
25110
|
+
*
|
|
25111
|
+
* @summary Get all DoctorAffiliationMedias.
|
|
25112
|
+
* @param {string} doctorAffiliationId
|
|
25113
|
+
* @param {string} [id]
|
|
25114
|
+
* @param {MediaType} [mediaType]
|
|
25115
|
+
* @param {number} [page]
|
|
25116
|
+
* @param {number} [limit]
|
|
25117
|
+
* @param {Date} [lastRetrieved]
|
|
25118
|
+
* @param {*} [options] Override http request option.
|
|
25119
|
+
* @throws {RequiredError}
|
|
25120
|
+
* @memberof DoctorAffiliationsApi
|
|
25121
|
+
*/
|
|
25122
|
+
public apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
25123
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25124
|
+
}
|
|
25125
|
+
|
|
25126
|
+
/**
|
|
25127
|
+
*
|
|
25128
|
+
* @summary Delete DoctorAffiliationMedia
|
|
25129
|
+
* @param {string} doctorAffiliationId
|
|
25130
|
+
* @param {string} mediaId
|
|
25131
|
+
* @param {*} [options] Override http request option.
|
|
25132
|
+
* @throws {RequiredError}
|
|
25133
|
+
* @memberof DoctorAffiliationsApi
|
|
25134
|
+
*/
|
|
25135
|
+
public apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
25136
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
25137
|
+
}
|
|
25138
|
+
|
|
25139
|
+
/**
|
|
25140
|
+
*
|
|
25141
|
+
* @summary Get DoctorAffiliationMedia.
|
|
25142
|
+
* @param {string} doctorAffiliationId
|
|
25143
|
+
* @param {string} mediaId
|
|
25144
|
+
* @param {*} [options] Override http request option.
|
|
25145
|
+
* @throws {RequiredError}
|
|
25146
|
+
* @memberof DoctorAffiliationsApi
|
|
25147
|
+
*/
|
|
25148
|
+
public apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
25149
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
25150
|
+
}
|
|
25151
|
+
|
|
25152
|
+
/**
|
|
25153
|
+
*
|
|
25154
|
+
* @summary Update DoctorAffiliationMedia.
|
|
25155
|
+
* @param {string} doctorAffiliationId
|
|
25156
|
+
* @param {string} mediaId
|
|
25157
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
25158
|
+
* @param {*} [options] Override http request option.
|
|
25159
|
+
* @throws {RequiredError}
|
|
25160
|
+
* @memberof DoctorAffiliationsApi
|
|
25161
|
+
*/
|
|
25162
|
+
public apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig) {
|
|
25163
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId, mediaId, updateMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
25164
|
+
}
|
|
25165
|
+
|
|
25166
|
+
/**
|
|
25167
|
+
*
|
|
25168
|
+
* @summary Create DoctorAffiliationMedia.
|
|
25169
|
+
* @param {string} doctorAffiliationId
|
|
25170
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
25171
|
+
* @param {*} [options] Override http request option.
|
|
25172
|
+
* @throws {RequiredError}
|
|
25173
|
+
* @memberof DoctorAffiliationsApi
|
|
25174
|
+
*/
|
|
25175
|
+
public apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig) {
|
|
25176
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId, createMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
25177
|
+
}
|
|
25178
|
+
|
|
24665
25179
|
/**
|
|
24666
25180
|
*
|
|
24667
25181
|
* @summary Get all doctor affiliations.
|