ch-admin-api-client-typescript 4.0.8 → 4.1.1
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 +323 -32
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +502 -14
- package/package.json +1 -1
- package/src/api.ts +553 -39
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
|
*
|
|
@@ -5097,6 +5103,18 @@ export interface DealItemModel {
|
|
|
5097
5103
|
* @memberof DealItemModel
|
|
5098
5104
|
*/
|
|
5099
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;
|
|
5100
5118
|
/**
|
|
5101
5119
|
*
|
|
5102
5120
|
* @type {number}
|
|
@@ -5219,6 +5237,18 @@ export interface DealModel {
|
|
|
5219
5237
|
* @memberof DealModel
|
|
5220
5238
|
*/
|
|
5221
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;
|
|
5222
5252
|
/**
|
|
5223
5253
|
*
|
|
5224
5254
|
* @type {number}
|
|
@@ -7620,6 +7650,12 @@ export interface HospitalItemModel {
|
|
|
7620
7650
|
* @memberof HospitalItemModel
|
|
7621
7651
|
*/
|
|
7622
7652
|
'countryId'?: string;
|
|
7653
|
+
/**
|
|
7654
|
+
*
|
|
7655
|
+
* @type {Array<MediaModel>}
|
|
7656
|
+
* @memberof HospitalItemModel
|
|
7657
|
+
*/
|
|
7658
|
+
'medias'?: Array<MediaModel> | null;
|
|
7623
7659
|
/**
|
|
7624
7660
|
*
|
|
7625
7661
|
* @type {LocationModel}
|
|
@@ -7761,6 +7797,12 @@ export interface HospitalModel {
|
|
|
7761
7797
|
* @memberof HospitalModel
|
|
7762
7798
|
*/
|
|
7763
7799
|
'countryId'?: string;
|
|
7800
|
+
/**
|
|
7801
|
+
*
|
|
7802
|
+
* @type {Array<MediaModel>}
|
|
7803
|
+
* @memberof HospitalModel
|
|
7804
|
+
*/
|
|
7805
|
+
'medias'?: Array<MediaModel> | null;
|
|
7764
7806
|
/**
|
|
7765
7807
|
*
|
|
7766
7808
|
* @type {LocationModel}
|
|
@@ -7912,6 +7954,48 @@ export interface HospitalServiceItemModel {
|
|
|
7912
7954
|
* @memberof HospitalServiceItemModel
|
|
7913
7955
|
*/
|
|
7914
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;
|
|
7975
|
+
/**
|
|
7976
|
+
*
|
|
7977
|
+
* @type {Procedure}
|
|
7978
|
+
* @memberof HospitalServiceItemModel
|
|
7979
|
+
*/
|
|
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;
|
|
7915
7999
|
/**
|
|
7916
8000
|
*
|
|
7917
8001
|
* @type {number}
|
|
@@ -8003,6 +8087,36 @@ export interface HospitalServiceModel {
|
|
|
8003
8087
|
* @memberof HospitalServiceModel
|
|
8004
8088
|
*/
|
|
8005
8089
|
'specialtyName'?: string | null;
|
|
8090
|
+
/**
|
|
8091
|
+
*
|
|
8092
|
+
* @type {string}
|
|
8093
|
+
* @memberof HospitalServiceModel
|
|
8094
|
+
*/
|
|
8095
|
+
'hospitalSpecialtyId'?: string;
|
|
8096
|
+
/**
|
|
8097
|
+
*
|
|
8098
|
+
* @type {Procedure}
|
|
8099
|
+
* @memberof HospitalServiceModel
|
|
8100
|
+
*/
|
|
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;
|
|
8006
8120
|
/**
|
|
8007
8121
|
*
|
|
8008
8122
|
* @type {number}
|
|
@@ -8069,30 +8183,6 @@ export interface HospitalServiceModel {
|
|
|
8069
8183
|
* @memberof HospitalServiceModel
|
|
8070
8184
|
*/
|
|
8071
8185
|
'serviceCategoryName'?: string | null;
|
|
8072
|
-
/**
|
|
8073
|
-
*
|
|
8074
|
-
* @type {Procedure}
|
|
8075
|
-
* @memberof HospitalServiceModel
|
|
8076
|
-
*/
|
|
8077
|
-
'procedure'?: Procedure;
|
|
8078
|
-
/**
|
|
8079
|
-
*
|
|
8080
|
-
* @type {number}
|
|
8081
|
-
* @memberof HospitalServiceModel
|
|
8082
|
-
*/
|
|
8083
|
-
'minPrice'?: number | null;
|
|
8084
|
-
/**
|
|
8085
|
-
*
|
|
8086
|
-
* @type {number}
|
|
8087
|
-
* @memberof HospitalServiceModel
|
|
8088
|
-
*/
|
|
8089
|
-
'maxPrice'?: number | null;
|
|
8090
|
-
/**
|
|
8091
|
-
*
|
|
8092
|
-
* @type {boolean}
|
|
8093
|
-
* @memberof HospitalServiceModel
|
|
8094
|
-
*/
|
|
8095
|
-
'priceReuqest'?: boolean;
|
|
8096
8186
|
/**
|
|
8097
8187
|
*
|
|
8098
8188
|
* @type {string}
|
|
@@ -15818,7 +15908,6 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15818
15908
|
* @param {string} [id]
|
|
15819
15909
|
* @param {string} [name]
|
|
15820
15910
|
* @param {string} [description]
|
|
15821
|
-
* @param {ArticleStatus} [status]
|
|
15822
15911
|
* @param {MarketingType} [marketingType]
|
|
15823
15912
|
* @param {string} [userId]
|
|
15824
15913
|
* @param {string} [userName]
|
|
@@ -15837,7 +15926,7 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15837
15926
|
* @param {*} [options] Override http request option.
|
|
15838
15927
|
* @throws {RequiredError}
|
|
15839
15928
|
*/
|
|
15840
|
-
apiV1ArticlesGet: async (id?: string, name?: string, description?: string,
|
|
15929
|
+
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> => {
|
|
15841
15930
|
const localVarPath = `/api/v1/articles`;
|
|
15842
15931
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15843
15932
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -15866,10 +15955,6 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15866
15955
|
localVarQueryParameter['Description'] = description;
|
|
15867
15956
|
}
|
|
15868
15957
|
|
|
15869
|
-
if (status !== undefined) {
|
|
15870
|
-
localVarQueryParameter['Status'] = status;
|
|
15871
|
-
}
|
|
15872
|
-
|
|
15873
15958
|
if (marketingType !== undefined) {
|
|
15874
15959
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
15875
15960
|
}
|
|
@@ -16332,7 +16417,6 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
16332
16417
|
* @param {string} [id]
|
|
16333
16418
|
* @param {string} [name]
|
|
16334
16419
|
* @param {string} [description]
|
|
16335
|
-
* @param {ArticleStatus} [status]
|
|
16336
16420
|
* @param {MarketingType} [marketingType]
|
|
16337
16421
|
* @param {string} [userId]
|
|
16338
16422
|
* @param {string} [userName]
|
|
@@ -16351,8 +16435,8 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
16351
16435
|
* @param {*} [options] Override http request option.
|
|
16352
16436
|
* @throws {RequiredError}
|
|
16353
16437
|
*/
|
|
16354
|
-
async apiV1ArticlesGet(id?: string, name?: string, description?: string,
|
|
16355
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesGet(id, name, description,
|
|
16438
|
+
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>> {
|
|
16439
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesGet(id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
16356
16440
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16357
16441
|
},
|
|
16358
16442
|
/**
|
|
@@ -16660,7 +16744,6 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
16660
16744
|
* @param {string} [id]
|
|
16661
16745
|
* @param {string} [name]
|
|
16662
16746
|
* @param {string} [description]
|
|
16663
|
-
* @param {ArticleStatus} [status]
|
|
16664
16747
|
* @param {MarketingType} [marketingType]
|
|
16665
16748
|
* @param {string} [userId]
|
|
16666
16749
|
* @param {string} [userName]
|
|
@@ -16679,8 +16762,8 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
16679
16762
|
* @param {*} [options] Override http request option.
|
|
16680
16763
|
* @throws {RequiredError}
|
|
16681
16764
|
*/
|
|
16682
|
-
apiV1ArticlesGet(id?: string, name?: string, description?: string,
|
|
16683
|
-
return localVarFp.apiV1ArticlesGet(id, name, description,
|
|
16765
|
+
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> {
|
|
16766
|
+
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));
|
|
16684
16767
|
},
|
|
16685
16768
|
/**
|
|
16686
16769
|
*
|
|
@@ -17029,7 +17112,6 @@ export class ArticlesApi extends BaseAPI {
|
|
|
17029
17112
|
* @param {string} [id]
|
|
17030
17113
|
* @param {string} [name]
|
|
17031
17114
|
* @param {string} [description]
|
|
17032
|
-
* @param {ArticleStatus} [status]
|
|
17033
17115
|
* @param {MarketingType} [marketingType]
|
|
17034
17116
|
* @param {string} [userId]
|
|
17035
17117
|
* @param {string} [userName]
|
|
@@ -17049,8 +17131,8 @@ export class ArticlesApi extends BaseAPI {
|
|
|
17049
17131
|
* @throws {RequiredError}
|
|
17050
17132
|
* @memberof ArticlesApi
|
|
17051
17133
|
*/
|
|
17052
|
-
public apiV1ArticlesGet(id?: string, name?: string, description?: string,
|
|
17053
|
-
return ArticlesApiFp(this.configuration).apiV1ArticlesGet(id, name, description,
|
|
17134
|
+
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) {
|
|
17135
|
+
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));
|
|
17054
17136
|
}
|
|
17055
17137
|
|
|
17056
17138
|
/**
|
|
@@ -24242,6 +24324,243 @@ export class DealsApi extends BaseAPI {
|
|
|
24242
24324
|
*/
|
|
24243
24325
|
export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
24244
24326
|
return {
|
|
24327
|
+
/**
|
|
24328
|
+
*
|
|
24329
|
+
* @summary Get all DoctorAffiliationMedias.
|
|
24330
|
+
* @param {string} doctorAffiliationId
|
|
24331
|
+
* @param {string} [id]
|
|
24332
|
+
* @param {MediaType} [mediaType]
|
|
24333
|
+
* @param {number} [page]
|
|
24334
|
+
* @param {number} [limit]
|
|
24335
|
+
* @param {Date} [lastRetrieved]
|
|
24336
|
+
* @param {*} [options] Override http request option.
|
|
24337
|
+
* @throws {RequiredError}
|
|
24338
|
+
*/
|
|
24339
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet: async (doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24340
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
24341
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet', 'doctorAffiliationId', doctorAffiliationId)
|
|
24342
|
+
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/medias`
|
|
24343
|
+
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
|
|
24344
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24345
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24346
|
+
let baseOptions;
|
|
24347
|
+
if (configuration) {
|
|
24348
|
+
baseOptions = configuration.baseOptions;
|
|
24349
|
+
}
|
|
24350
|
+
|
|
24351
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
24352
|
+
const localVarHeaderParameter = {} as any;
|
|
24353
|
+
const localVarQueryParameter = {} as any;
|
|
24354
|
+
|
|
24355
|
+
// authentication oauth2 required
|
|
24356
|
+
// oauth required
|
|
24357
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
24358
|
+
|
|
24359
|
+
if (id !== undefined) {
|
|
24360
|
+
localVarQueryParameter['Id'] = id;
|
|
24361
|
+
}
|
|
24362
|
+
|
|
24363
|
+
if (mediaType !== undefined) {
|
|
24364
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
24365
|
+
}
|
|
24366
|
+
|
|
24367
|
+
if (page !== undefined) {
|
|
24368
|
+
localVarQueryParameter['page'] = page;
|
|
24369
|
+
}
|
|
24370
|
+
|
|
24371
|
+
if (limit !== undefined) {
|
|
24372
|
+
localVarQueryParameter['limit'] = limit;
|
|
24373
|
+
}
|
|
24374
|
+
|
|
24375
|
+
if (lastRetrieved !== undefined) {
|
|
24376
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
24377
|
+
(lastRetrieved as any).toISOString() :
|
|
24378
|
+
lastRetrieved;
|
|
24379
|
+
}
|
|
24380
|
+
|
|
24381
|
+
|
|
24382
|
+
|
|
24383
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24384
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24385
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24386
|
+
|
|
24387
|
+
return {
|
|
24388
|
+
url: toPathString(localVarUrlObj),
|
|
24389
|
+
options: localVarRequestOptions,
|
|
24390
|
+
};
|
|
24391
|
+
},
|
|
24392
|
+
/**
|
|
24393
|
+
*
|
|
24394
|
+
* @summary Delete DoctorAffiliationMedia
|
|
24395
|
+
* @param {string} doctorAffiliationId
|
|
24396
|
+
* @param {string} mediaId
|
|
24397
|
+
* @param {*} [options] Override http request option.
|
|
24398
|
+
* @throws {RequiredError}
|
|
24399
|
+
*/
|
|
24400
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete: async (doctorAffiliationId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24401
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
24402
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete', 'doctorAffiliationId', doctorAffiliationId)
|
|
24403
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
24404
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete', 'mediaId', mediaId)
|
|
24405
|
+
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/medias/{mediaId}`
|
|
24406
|
+
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)))
|
|
24407
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
24408
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24409
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24410
|
+
let baseOptions;
|
|
24411
|
+
if (configuration) {
|
|
24412
|
+
baseOptions = configuration.baseOptions;
|
|
24413
|
+
}
|
|
24414
|
+
|
|
24415
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
24416
|
+
const localVarHeaderParameter = {} as any;
|
|
24417
|
+
const localVarQueryParameter = {} as any;
|
|
24418
|
+
|
|
24419
|
+
// authentication oauth2 required
|
|
24420
|
+
// oauth required
|
|
24421
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
24422
|
+
|
|
24423
|
+
|
|
24424
|
+
|
|
24425
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24426
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24427
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24428
|
+
|
|
24429
|
+
return {
|
|
24430
|
+
url: toPathString(localVarUrlObj),
|
|
24431
|
+
options: localVarRequestOptions,
|
|
24432
|
+
};
|
|
24433
|
+
},
|
|
24434
|
+
/**
|
|
24435
|
+
*
|
|
24436
|
+
* @summary Get DoctorAffiliationMedia.
|
|
24437
|
+
* @param {string} doctorAffiliationId
|
|
24438
|
+
* @param {string} mediaId
|
|
24439
|
+
* @param {*} [options] Override http request option.
|
|
24440
|
+
* @throws {RequiredError}
|
|
24441
|
+
*/
|
|
24442
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet: async (doctorAffiliationId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24443
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
24444
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet', 'doctorAffiliationId', doctorAffiliationId)
|
|
24445
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
24446
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet', 'mediaId', mediaId)
|
|
24447
|
+
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/medias/{mediaId}`
|
|
24448
|
+
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)))
|
|
24449
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
24450
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24451
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24452
|
+
let baseOptions;
|
|
24453
|
+
if (configuration) {
|
|
24454
|
+
baseOptions = configuration.baseOptions;
|
|
24455
|
+
}
|
|
24456
|
+
|
|
24457
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
24458
|
+
const localVarHeaderParameter = {} as any;
|
|
24459
|
+
const localVarQueryParameter = {} as any;
|
|
24460
|
+
|
|
24461
|
+
// authentication oauth2 required
|
|
24462
|
+
// oauth required
|
|
24463
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
24464
|
+
|
|
24465
|
+
|
|
24466
|
+
|
|
24467
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24468
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24469
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24470
|
+
|
|
24471
|
+
return {
|
|
24472
|
+
url: toPathString(localVarUrlObj),
|
|
24473
|
+
options: localVarRequestOptions,
|
|
24474
|
+
};
|
|
24475
|
+
},
|
|
24476
|
+
/**
|
|
24477
|
+
*
|
|
24478
|
+
* @summary Update DoctorAffiliationMedia.
|
|
24479
|
+
* @param {string} doctorAffiliationId
|
|
24480
|
+
* @param {string} mediaId
|
|
24481
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
24482
|
+
* @param {*} [options] Override http request option.
|
|
24483
|
+
* @throws {RequiredError}
|
|
24484
|
+
*/
|
|
24485
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut: async (doctorAffiliationId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24486
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
24487
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut', 'doctorAffiliationId', doctorAffiliationId)
|
|
24488
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
24489
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut', 'mediaId', mediaId)
|
|
24490
|
+
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/medias/{mediaId}`
|
|
24491
|
+
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)))
|
|
24492
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
24493
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24494
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24495
|
+
let baseOptions;
|
|
24496
|
+
if (configuration) {
|
|
24497
|
+
baseOptions = configuration.baseOptions;
|
|
24498
|
+
}
|
|
24499
|
+
|
|
24500
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
24501
|
+
const localVarHeaderParameter = {} as any;
|
|
24502
|
+
const localVarQueryParameter = {} as any;
|
|
24503
|
+
|
|
24504
|
+
// authentication oauth2 required
|
|
24505
|
+
// oauth required
|
|
24506
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
24507
|
+
|
|
24508
|
+
|
|
24509
|
+
|
|
24510
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24511
|
+
|
|
24512
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24513
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24514
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24515
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
|
|
24516
|
+
|
|
24517
|
+
return {
|
|
24518
|
+
url: toPathString(localVarUrlObj),
|
|
24519
|
+
options: localVarRequestOptions,
|
|
24520
|
+
};
|
|
24521
|
+
},
|
|
24522
|
+
/**
|
|
24523
|
+
*
|
|
24524
|
+
* @summary Create DoctorAffiliationMedia.
|
|
24525
|
+
* @param {string} doctorAffiliationId
|
|
24526
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
24527
|
+
* @param {*} [options] Override http request option.
|
|
24528
|
+
* @throws {RequiredError}
|
|
24529
|
+
*/
|
|
24530
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost: async (doctorAffiliationId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24531
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
24532
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost', 'doctorAffiliationId', doctorAffiliationId)
|
|
24533
|
+
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/medias`
|
|
24534
|
+
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
|
|
24535
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24536
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24537
|
+
let baseOptions;
|
|
24538
|
+
if (configuration) {
|
|
24539
|
+
baseOptions = configuration.baseOptions;
|
|
24540
|
+
}
|
|
24541
|
+
|
|
24542
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
24543
|
+
const localVarHeaderParameter = {} as any;
|
|
24544
|
+
const localVarQueryParameter = {} as any;
|
|
24545
|
+
|
|
24546
|
+
// authentication oauth2 required
|
|
24547
|
+
// oauth required
|
|
24548
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
24549
|
+
|
|
24550
|
+
|
|
24551
|
+
|
|
24552
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24553
|
+
|
|
24554
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24555
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24556
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24557
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
|
|
24558
|
+
|
|
24559
|
+
return {
|
|
24560
|
+
url: toPathString(localVarUrlObj),
|
|
24561
|
+
options: localVarRequestOptions,
|
|
24562
|
+
};
|
|
24563
|
+
},
|
|
24245
24564
|
/**
|
|
24246
24565
|
*
|
|
24247
24566
|
* @summary Get all doctor affiliations.
|
|
@@ -24503,6 +24822,71 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
|
|
|
24503
24822
|
export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
24504
24823
|
const localVarAxiosParamCreator = DoctorAffiliationsApiAxiosParamCreator(configuration)
|
|
24505
24824
|
return {
|
|
24825
|
+
/**
|
|
24826
|
+
*
|
|
24827
|
+
* @summary Get all DoctorAffiliationMedias.
|
|
24828
|
+
* @param {string} doctorAffiliationId
|
|
24829
|
+
* @param {string} [id]
|
|
24830
|
+
* @param {MediaType} [mediaType]
|
|
24831
|
+
* @param {number} [page]
|
|
24832
|
+
* @param {number} [limit]
|
|
24833
|
+
* @param {Date} [lastRetrieved]
|
|
24834
|
+
* @param {*} [options] Override http request option.
|
|
24835
|
+
* @throws {RequiredError}
|
|
24836
|
+
*/
|
|
24837
|
+
async apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
|
|
24838
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options);
|
|
24839
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24840
|
+
},
|
|
24841
|
+
/**
|
|
24842
|
+
*
|
|
24843
|
+
* @summary Delete DoctorAffiliationMedia
|
|
24844
|
+
* @param {string} doctorAffiliationId
|
|
24845
|
+
* @param {string} mediaId
|
|
24846
|
+
* @param {*} [options] Override http request option.
|
|
24847
|
+
* @throws {RequiredError}
|
|
24848
|
+
*/
|
|
24849
|
+
async apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
24850
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId, mediaId, options);
|
|
24851
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24852
|
+
},
|
|
24853
|
+
/**
|
|
24854
|
+
*
|
|
24855
|
+
* @summary Get DoctorAffiliationMedia.
|
|
24856
|
+
* @param {string} doctorAffiliationId
|
|
24857
|
+
* @param {string} mediaId
|
|
24858
|
+
* @param {*} [options] Override http request option.
|
|
24859
|
+
* @throws {RequiredError}
|
|
24860
|
+
*/
|
|
24861
|
+
async apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
24862
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options);
|
|
24863
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24864
|
+
},
|
|
24865
|
+
/**
|
|
24866
|
+
*
|
|
24867
|
+
* @summary Update DoctorAffiliationMedia.
|
|
24868
|
+
* @param {string} doctorAffiliationId
|
|
24869
|
+
* @param {string} mediaId
|
|
24870
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
24871
|
+
* @param {*} [options] Override http request option.
|
|
24872
|
+
* @throws {RequiredError}
|
|
24873
|
+
*/
|
|
24874
|
+
async apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
24875
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId, mediaId, updateMediaCommand, options);
|
|
24876
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24877
|
+
},
|
|
24878
|
+
/**
|
|
24879
|
+
*
|
|
24880
|
+
* @summary Create DoctorAffiliationMedia.
|
|
24881
|
+
* @param {string} doctorAffiliationId
|
|
24882
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
24883
|
+
* @param {*} [options] Override http request option.
|
|
24884
|
+
* @throws {RequiredError}
|
|
24885
|
+
*/
|
|
24886
|
+
async apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
24887
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId, createMediaCommand, options);
|
|
24888
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24889
|
+
},
|
|
24506
24890
|
/**
|
|
24507
24891
|
*
|
|
24508
24892
|
* @summary Get all doctor affiliations.
|
|
@@ -24579,6 +24963,66 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
|
24579
24963
|
export const DoctorAffiliationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
24580
24964
|
const localVarFp = DoctorAffiliationsApiFp(configuration)
|
|
24581
24965
|
return {
|
|
24966
|
+
/**
|
|
24967
|
+
*
|
|
24968
|
+
* @summary Get all DoctorAffiliationMedias.
|
|
24969
|
+
* @param {string} doctorAffiliationId
|
|
24970
|
+
* @param {string} [id]
|
|
24971
|
+
* @param {MediaType} [mediaType]
|
|
24972
|
+
* @param {number} [page]
|
|
24973
|
+
* @param {number} [limit]
|
|
24974
|
+
* @param {Date} [lastRetrieved]
|
|
24975
|
+
* @param {*} [options] Override http request option.
|
|
24976
|
+
* @throws {RequiredError}
|
|
24977
|
+
*/
|
|
24978
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
|
|
24979
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
24980
|
+
},
|
|
24981
|
+
/**
|
|
24982
|
+
*
|
|
24983
|
+
* @summary Delete DoctorAffiliationMedia
|
|
24984
|
+
* @param {string} doctorAffiliationId
|
|
24985
|
+
* @param {string} mediaId
|
|
24986
|
+
* @param {*} [options] Override http request option.
|
|
24987
|
+
* @throws {RequiredError}
|
|
24988
|
+
*/
|
|
24989
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId: string, mediaId: string, options?: any): AxiosPromise<boolean> {
|
|
24990
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId, mediaId, options).then((request) => request(axios, basePath));
|
|
24991
|
+
},
|
|
24992
|
+
/**
|
|
24993
|
+
*
|
|
24994
|
+
* @summary Get DoctorAffiliationMedia.
|
|
24995
|
+
* @param {string} doctorAffiliationId
|
|
24996
|
+
* @param {string} mediaId
|
|
24997
|
+
* @param {*} [options] Override http request option.
|
|
24998
|
+
* @throws {RequiredError}
|
|
24999
|
+
*/
|
|
25000
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
|
|
25001
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options).then((request) => request(axios, basePath));
|
|
25002
|
+
},
|
|
25003
|
+
/**
|
|
25004
|
+
*
|
|
25005
|
+
* @summary Update DoctorAffiliationMedia.
|
|
25006
|
+
* @param {string} doctorAffiliationId
|
|
25007
|
+
* @param {string} mediaId
|
|
25008
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
25009
|
+
* @param {*} [options] Override http request option.
|
|
25010
|
+
* @throws {RequiredError}
|
|
25011
|
+
*/
|
|
25012
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
25013
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId, mediaId, updateMediaCommand, options).then((request) => request(axios, basePath));
|
|
25014
|
+
},
|
|
25015
|
+
/**
|
|
25016
|
+
*
|
|
25017
|
+
* @summary Create DoctorAffiliationMedia.
|
|
25018
|
+
* @param {string} doctorAffiliationId
|
|
25019
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
25020
|
+
* @param {*} [options] Override http request option.
|
|
25021
|
+
* @throws {RequiredError}
|
|
25022
|
+
*/
|
|
25023
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
25024
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId, createMediaCommand, options).then((request) => request(axios, basePath));
|
|
25025
|
+
},
|
|
24582
25026
|
/**
|
|
24583
25027
|
*
|
|
24584
25028
|
* @summary Get all doctor affiliations.
|
|
@@ -24650,6 +25094,76 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
|
|
|
24650
25094
|
* @extends {BaseAPI}
|
|
24651
25095
|
*/
|
|
24652
25096
|
export class DoctorAffiliationsApi extends BaseAPI {
|
|
25097
|
+
/**
|
|
25098
|
+
*
|
|
25099
|
+
* @summary Get all DoctorAffiliationMedias.
|
|
25100
|
+
* @param {string} doctorAffiliationId
|
|
25101
|
+
* @param {string} [id]
|
|
25102
|
+
* @param {MediaType} [mediaType]
|
|
25103
|
+
* @param {number} [page]
|
|
25104
|
+
* @param {number} [limit]
|
|
25105
|
+
* @param {Date} [lastRetrieved]
|
|
25106
|
+
* @param {*} [options] Override http request option.
|
|
25107
|
+
* @throws {RequiredError}
|
|
25108
|
+
* @memberof DoctorAffiliationsApi
|
|
25109
|
+
*/
|
|
25110
|
+
public apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
25111
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25112
|
+
}
|
|
25113
|
+
|
|
25114
|
+
/**
|
|
25115
|
+
*
|
|
25116
|
+
* @summary Delete DoctorAffiliationMedia
|
|
25117
|
+
* @param {string} doctorAffiliationId
|
|
25118
|
+
* @param {string} mediaId
|
|
25119
|
+
* @param {*} [options] Override http request option.
|
|
25120
|
+
* @throws {RequiredError}
|
|
25121
|
+
* @memberof DoctorAffiliationsApi
|
|
25122
|
+
*/
|
|
25123
|
+
public apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
25124
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
25125
|
+
}
|
|
25126
|
+
|
|
25127
|
+
/**
|
|
25128
|
+
*
|
|
25129
|
+
* @summary Get DoctorAffiliationMedia.
|
|
25130
|
+
* @param {string} doctorAffiliationId
|
|
25131
|
+
* @param {string} mediaId
|
|
25132
|
+
* @param {*} [options] Override http request option.
|
|
25133
|
+
* @throws {RequiredError}
|
|
25134
|
+
* @memberof DoctorAffiliationsApi
|
|
25135
|
+
*/
|
|
25136
|
+
public apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
25137
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
25138
|
+
}
|
|
25139
|
+
|
|
25140
|
+
/**
|
|
25141
|
+
*
|
|
25142
|
+
* @summary Update DoctorAffiliationMedia.
|
|
25143
|
+
* @param {string} doctorAffiliationId
|
|
25144
|
+
* @param {string} mediaId
|
|
25145
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
25146
|
+
* @param {*} [options] Override http request option.
|
|
25147
|
+
* @throws {RequiredError}
|
|
25148
|
+
* @memberof DoctorAffiliationsApi
|
|
25149
|
+
*/
|
|
25150
|
+
public apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig) {
|
|
25151
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId, mediaId, updateMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
25152
|
+
}
|
|
25153
|
+
|
|
25154
|
+
/**
|
|
25155
|
+
*
|
|
25156
|
+
* @summary Create DoctorAffiliationMedia.
|
|
25157
|
+
* @param {string} doctorAffiliationId
|
|
25158
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
25159
|
+
* @param {*} [options] Override http request option.
|
|
25160
|
+
* @throws {RequiredError}
|
|
25161
|
+
* @memberof DoctorAffiliationsApi
|
|
25162
|
+
*/
|
|
25163
|
+
public apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig) {
|
|
25164
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId, createMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
25165
|
+
}
|
|
25166
|
+
|
|
24653
25167
|
/**
|
|
24654
25168
|
*
|
|
24655
25169
|
* @summary Get all doctor affiliations.
|