ch-admin-api-client-typescript 3.0.2 → 3.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 +367 -101
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +545 -134
- package/package.json +1 -1
- package/src/api.ts +692 -230
package/src/api.ts
CHANGED
|
@@ -1213,6 +1213,12 @@ export interface BookingItemModel {
|
|
|
1213
1213
|
* @memberof BookingItemModel
|
|
1214
1214
|
*/
|
|
1215
1215
|
'applicationFee'?: number;
|
|
1216
|
+
/**
|
|
1217
|
+
*
|
|
1218
|
+
* @type {boolean}
|
|
1219
|
+
* @memberof BookingItemModel
|
|
1220
|
+
*/
|
|
1221
|
+
'paymentEnabled'?: boolean;
|
|
1216
1222
|
/**
|
|
1217
1223
|
*
|
|
1218
1224
|
* @type {string}
|
|
@@ -1436,6 +1442,12 @@ export interface BookingModel {
|
|
|
1436
1442
|
* @memberof BookingModel
|
|
1437
1443
|
*/
|
|
1438
1444
|
'applicationFee'?: number;
|
|
1445
|
+
/**
|
|
1446
|
+
*
|
|
1447
|
+
* @type {boolean}
|
|
1448
|
+
* @memberof BookingModel
|
|
1449
|
+
*/
|
|
1450
|
+
'paymentEnabled'?: boolean;
|
|
1439
1451
|
/**
|
|
1440
1452
|
*
|
|
1441
1453
|
* @type {string}
|
|
@@ -2427,6 +2439,12 @@ export interface ConsultationItemModel {
|
|
|
2427
2439
|
* @memberof ConsultationItemModel
|
|
2428
2440
|
*/
|
|
2429
2441
|
'paymentId'?: string | null;
|
|
2442
|
+
/**
|
|
2443
|
+
*
|
|
2444
|
+
* @type {boolean}
|
|
2445
|
+
* @memberof ConsultationItemModel
|
|
2446
|
+
*/
|
|
2447
|
+
'paymentEnabled'?: boolean;
|
|
2430
2448
|
/**
|
|
2431
2449
|
*
|
|
2432
2450
|
* @type {number}
|
|
@@ -2710,6 +2728,12 @@ export interface ConsultationModel {
|
|
|
2710
2728
|
* @memberof ConsultationModel
|
|
2711
2729
|
*/
|
|
2712
2730
|
'paymentId'?: string | null;
|
|
2731
|
+
/**
|
|
2732
|
+
*
|
|
2733
|
+
* @type {boolean}
|
|
2734
|
+
* @memberof ConsultationModel
|
|
2735
|
+
*/
|
|
2736
|
+
'paymentEnabled'?: boolean;
|
|
2713
2737
|
/**
|
|
2714
2738
|
*
|
|
2715
2739
|
* @type {number}
|
|
@@ -3755,6 +3779,12 @@ export interface CreateDealCommand {
|
|
|
3755
3779
|
* @memberof CreateDealCommand
|
|
3756
3780
|
*/
|
|
3757
3781
|
'photoThumbnail'?: string | null;
|
|
3782
|
+
/**
|
|
3783
|
+
*
|
|
3784
|
+
* @type {number}
|
|
3785
|
+
* @memberof CreateDealCommand
|
|
3786
|
+
*/
|
|
3787
|
+
'serviceDuration'?: number;
|
|
3758
3788
|
}
|
|
3759
3789
|
/**
|
|
3760
3790
|
*
|
|
@@ -3984,6 +4014,19 @@ export interface CreateDoctorEducationCommand {
|
|
|
3984
4014
|
*/
|
|
3985
4015
|
'graduationDate'?: Date | null;
|
|
3986
4016
|
}
|
|
4017
|
+
/**
|
|
4018
|
+
*
|
|
4019
|
+
* @export
|
|
4020
|
+
* @interface CreateDoctorLanguageCommand
|
|
4021
|
+
*/
|
|
4022
|
+
export interface CreateDoctorLanguageCommand {
|
|
4023
|
+
/**
|
|
4024
|
+
*
|
|
4025
|
+
* @type {string}
|
|
4026
|
+
* @memberof CreateDoctorLanguageCommand
|
|
4027
|
+
*/
|
|
4028
|
+
'language'?: string | null;
|
|
4029
|
+
}
|
|
3987
4030
|
/**
|
|
3988
4031
|
*
|
|
3989
4032
|
* @export
|
|
@@ -6229,6 +6272,75 @@ export interface DoctorItemSimpleModel {
|
|
|
6229
6272
|
*/
|
|
6230
6273
|
'confirmed'?: boolean;
|
|
6231
6274
|
}
|
|
6275
|
+
/**
|
|
6276
|
+
*
|
|
6277
|
+
* @export
|
|
6278
|
+
* @interface DoctorLanguageItemModel
|
|
6279
|
+
*/
|
|
6280
|
+
export interface DoctorLanguageItemModel {
|
|
6281
|
+
/**
|
|
6282
|
+
*
|
|
6283
|
+
* @type {string}
|
|
6284
|
+
* @memberof DoctorLanguageItemModel
|
|
6285
|
+
*/
|
|
6286
|
+
'id'?: string;
|
|
6287
|
+
/**
|
|
6288
|
+
*
|
|
6289
|
+
* @type {string}
|
|
6290
|
+
* @memberof DoctorLanguageItemModel
|
|
6291
|
+
*/
|
|
6292
|
+
'language'?: string | null;
|
|
6293
|
+
/**
|
|
6294
|
+
*
|
|
6295
|
+
* @type {string}
|
|
6296
|
+
* @memberof DoctorLanguageItemModel
|
|
6297
|
+
*/
|
|
6298
|
+
'userId'?: string;
|
|
6299
|
+
}
|
|
6300
|
+
/**
|
|
6301
|
+
*
|
|
6302
|
+
* @export
|
|
6303
|
+
* @interface DoctorLanguageModel
|
|
6304
|
+
*/
|
|
6305
|
+
export interface DoctorLanguageModel {
|
|
6306
|
+
/**
|
|
6307
|
+
*
|
|
6308
|
+
* @type {string}
|
|
6309
|
+
* @memberof DoctorLanguageModel
|
|
6310
|
+
*/
|
|
6311
|
+
'id'?: string;
|
|
6312
|
+
/**
|
|
6313
|
+
*
|
|
6314
|
+
* @type {string}
|
|
6315
|
+
* @memberof DoctorLanguageModel
|
|
6316
|
+
*/
|
|
6317
|
+
'language'?: string | null;
|
|
6318
|
+
/**
|
|
6319
|
+
*
|
|
6320
|
+
* @type {string}
|
|
6321
|
+
* @memberof DoctorLanguageModel
|
|
6322
|
+
*/
|
|
6323
|
+
'userId'?: string;
|
|
6324
|
+
}
|
|
6325
|
+
/**
|
|
6326
|
+
*
|
|
6327
|
+
* @export
|
|
6328
|
+
* @interface DoctorLanguagesModel
|
|
6329
|
+
*/
|
|
6330
|
+
export interface DoctorLanguagesModel {
|
|
6331
|
+
/**
|
|
6332
|
+
*
|
|
6333
|
+
* @type {Array<DoctorLanguageItemModel>}
|
|
6334
|
+
* @memberof DoctorLanguagesModel
|
|
6335
|
+
*/
|
|
6336
|
+
'items'?: Array<DoctorLanguageItemModel> | null;
|
|
6337
|
+
/**
|
|
6338
|
+
*
|
|
6339
|
+
* @type {PagedListMetaData}
|
|
6340
|
+
* @memberof DoctorLanguagesModel
|
|
6341
|
+
*/
|
|
6342
|
+
'metaData'?: PagedListMetaData;
|
|
6343
|
+
}
|
|
6232
6344
|
/**
|
|
6233
6345
|
*
|
|
6234
6346
|
* @export
|
|
@@ -11988,6 +12100,12 @@ export interface UpdateDealCommand {
|
|
|
11988
12100
|
* @memberof UpdateDealCommand
|
|
11989
12101
|
*/
|
|
11990
12102
|
'photoThumbnail'?: string | null;
|
|
12103
|
+
/**
|
|
12104
|
+
*
|
|
12105
|
+
* @type {number}
|
|
12106
|
+
* @memberof UpdateDealCommand
|
|
12107
|
+
*/
|
|
12108
|
+
'serviceDuration'?: number;
|
|
11991
12109
|
/**
|
|
11992
12110
|
*
|
|
11993
12111
|
* @type {string}
|
|
@@ -12235,6 +12353,19 @@ export interface UpdateDoctorEducationCommand {
|
|
|
12235
12353
|
*/
|
|
12236
12354
|
'graduationDate'?: Date | null;
|
|
12237
12355
|
}
|
|
12356
|
+
/**
|
|
12357
|
+
*
|
|
12358
|
+
* @export
|
|
12359
|
+
* @interface UpdateDoctorLanguageCommand
|
|
12360
|
+
*/
|
|
12361
|
+
export interface UpdateDoctorLanguageCommand {
|
|
12362
|
+
/**
|
|
12363
|
+
*
|
|
12364
|
+
* @type {string}
|
|
12365
|
+
* @memberof UpdateDoctorLanguageCommand
|
|
12366
|
+
*/
|
|
12367
|
+
'language'?: string | null;
|
|
12368
|
+
}
|
|
12238
12369
|
/**
|
|
12239
12370
|
*
|
|
12240
12371
|
* @export
|
|
@@ -13619,37 +13750,6 @@ export interface UserModel {
|
|
|
13619
13750
|
*/
|
|
13620
13751
|
'locations'?: Array<UserLocationModel> | null;
|
|
13621
13752
|
}
|
|
13622
|
-
/**
|
|
13623
|
-
*
|
|
13624
|
-
* @export
|
|
13625
|
-
* @interface WeatherForecast
|
|
13626
|
-
*/
|
|
13627
|
-
export interface WeatherForecast {
|
|
13628
|
-
/**
|
|
13629
|
-
*
|
|
13630
|
-
* @type {Date}
|
|
13631
|
-
* @memberof WeatherForecast
|
|
13632
|
-
*/
|
|
13633
|
-
'date'?: Date;
|
|
13634
|
-
/**
|
|
13635
|
-
*
|
|
13636
|
-
* @type {number}
|
|
13637
|
-
* @memberof WeatherForecast
|
|
13638
|
-
*/
|
|
13639
|
-
'temperatureC'?: number;
|
|
13640
|
-
/**
|
|
13641
|
-
*
|
|
13642
|
-
* @type {number}
|
|
13643
|
-
* @memberof WeatherForecast
|
|
13644
|
-
*/
|
|
13645
|
-
'temperatureF'?: number;
|
|
13646
|
-
/**
|
|
13647
|
-
*
|
|
13648
|
-
* @type {string}
|
|
13649
|
-
* @memberof WeatherForecast
|
|
13650
|
-
*/
|
|
13651
|
-
'summary'?: string | null;
|
|
13652
|
-
}
|
|
13653
13753
|
/**
|
|
13654
13754
|
*
|
|
13655
13755
|
* @export
|
|
@@ -17423,13 +17523,14 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17423
17523
|
* @param {SortingOrder} [sortRequestDate]
|
|
17424
17524
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
17425
17525
|
* @param {boolean} [isExternal]
|
|
17526
|
+
* @param {boolean} [paymentEnabled]
|
|
17426
17527
|
* @param {number} [page]
|
|
17427
17528
|
* @param {number} [limit]
|
|
17428
17529
|
* @param {Date} [lastRetrieved]
|
|
17429
17530
|
* @param {*} [options] Override http request option.
|
|
17430
17531
|
* @throws {RequiredError}
|
|
17431
17532
|
*/
|
|
17432
|
-
apiV1BookingsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17533
|
+
apiV1BookingsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17433
17534
|
const localVarPath = `/api/v1/bookings`;
|
|
17434
17535
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17435
17536
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -17478,6 +17579,10 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17478
17579
|
localVarQueryParameter['IsExternal'] = isExternal;
|
|
17479
17580
|
}
|
|
17480
17581
|
|
|
17582
|
+
if (paymentEnabled !== undefined) {
|
|
17583
|
+
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
17584
|
+
}
|
|
17585
|
+
|
|
17481
17586
|
if (page !== undefined) {
|
|
17482
17587
|
localVarQueryParameter['page'] = page;
|
|
17483
17588
|
}
|
|
@@ -17592,14 +17697,15 @@ export const BookingsApiFp = function(configuration?: Configuration) {
|
|
|
17592
17697
|
* @param {SortingOrder} [sortRequestDate]
|
|
17593
17698
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
17594
17699
|
* @param {boolean} [isExternal]
|
|
17700
|
+
* @param {boolean} [paymentEnabled]
|
|
17595
17701
|
* @param {number} [page]
|
|
17596
17702
|
* @param {number} [limit]
|
|
17597
17703
|
* @param {Date} [lastRetrieved]
|
|
17598
17704
|
* @param {*} [options] Override http request option.
|
|
17599
17705
|
* @throws {RequiredError}
|
|
17600
17706
|
*/
|
|
17601
|
-
async apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsModel>> {
|
|
17602
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options);
|
|
17707
|
+
async apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsModel>> {
|
|
17708
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options);
|
|
17603
17709
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17604
17710
|
},
|
|
17605
17711
|
}
|
|
@@ -17685,14 +17791,15 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
17685
17791
|
* @param {SortingOrder} [sortRequestDate]
|
|
17686
17792
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
17687
17793
|
* @param {boolean} [isExternal]
|
|
17794
|
+
* @param {boolean} [paymentEnabled]
|
|
17688
17795
|
* @param {number} [page]
|
|
17689
17796
|
* @param {number} [limit]
|
|
17690
17797
|
* @param {Date} [lastRetrieved]
|
|
17691
17798
|
* @param {*} [options] Override http request option.
|
|
17692
17799
|
* @throws {RequiredError}
|
|
17693
17800
|
*/
|
|
17694
|
-
apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<BookingsModel> {
|
|
17695
|
-
return localVarFp.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
17801
|
+
apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<BookingsModel> {
|
|
17802
|
+
return localVarFp.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
17696
17803
|
},
|
|
17697
17804
|
};
|
|
17698
17805
|
};
|
|
@@ -17789,6 +17896,7 @@ export class BookingsApi extends BaseAPI {
|
|
|
17789
17896
|
* @param {SortingOrder} [sortRequestDate]
|
|
17790
17897
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
17791
17898
|
* @param {boolean} [isExternal]
|
|
17899
|
+
* @param {boolean} [paymentEnabled]
|
|
17792
17900
|
* @param {number} [page]
|
|
17793
17901
|
* @param {number} [limit]
|
|
17794
17902
|
* @param {Date} [lastRetrieved]
|
|
@@ -17796,8 +17904,8 @@ export class BookingsApi extends BaseAPI {
|
|
|
17796
17904
|
* @throws {RequiredError}
|
|
17797
17905
|
* @memberof BookingsApi
|
|
17798
17906
|
*/
|
|
17799
|
-
public apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
17800
|
-
return BookingsApiFp(this.configuration).apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
17907
|
+
public apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
17908
|
+
return BookingsApiFp(this.configuration).apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
17801
17909
|
}
|
|
17802
17910
|
}
|
|
17803
17911
|
|
|
@@ -19736,13 +19844,14 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
19736
19844
|
* @param {SortingOrder} [sortRequestDate]
|
|
19737
19845
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
19738
19846
|
* @param {boolean} [isExternal]
|
|
19847
|
+
* @param {boolean} [paymentEnabled]
|
|
19739
19848
|
* @param {number} [page]
|
|
19740
19849
|
* @param {number} [limit]
|
|
19741
19850
|
* @param {Date} [lastRetrieved]
|
|
19742
19851
|
* @param {*} [options] Override http request option.
|
|
19743
19852
|
* @throws {RequiredError}
|
|
19744
19853
|
*/
|
|
19745
|
-
apiV1ConsultationsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19854
|
+
apiV1ConsultationsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19746
19855
|
const localVarPath = `/api/v1/consultations`;
|
|
19747
19856
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19748
19857
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -19791,6 +19900,10 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
19791
19900
|
localVarQueryParameter['IsExternal'] = isExternal;
|
|
19792
19901
|
}
|
|
19793
19902
|
|
|
19903
|
+
if (paymentEnabled !== undefined) {
|
|
19904
|
+
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
19905
|
+
}
|
|
19906
|
+
|
|
19794
19907
|
if (page !== undefined) {
|
|
19795
19908
|
localVarQueryParameter['page'] = page;
|
|
19796
19909
|
}
|
|
@@ -19905,14 +20018,15 @@ export const ConsultationsApiFp = function(configuration?: Configuration) {
|
|
|
19905
20018
|
* @param {SortingOrder} [sortRequestDate]
|
|
19906
20019
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
19907
20020
|
* @param {boolean} [isExternal]
|
|
20021
|
+
* @param {boolean} [paymentEnabled]
|
|
19908
20022
|
* @param {number} [page]
|
|
19909
20023
|
* @param {number} [limit]
|
|
19910
20024
|
* @param {Date} [lastRetrieved]
|
|
19911
20025
|
* @param {*} [options] Override http request option.
|
|
19912
20026
|
* @throws {RequiredError}
|
|
19913
20027
|
*/
|
|
19914
|
-
async apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationsModel>> {
|
|
19915
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options);
|
|
20028
|
+
async apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationsModel>> {
|
|
20029
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options);
|
|
19916
20030
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19917
20031
|
},
|
|
19918
20032
|
}
|
|
@@ -19998,14 +20112,15 @@ export const ConsultationsApiFactory = function (configuration?: Configuration,
|
|
|
19998
20112
|
* @param {SortingOrder} [sortRequestDate]
|
|
19999
20113
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
20000
20114
|
* @param {boolean} [isExternal]
|
|
20115
|
+
* @param {boolean} [paymentEnabled]
|
|
20001
20116
|
* @param {number} [page]
|
|
20002
20117
|
* @param {number} [limit]
|
|
20003
20118
|
* @param {Date} [lastRetrieved]
|
|
20004
20119
|
* @param {*} [options] Override http request option.
|
|
20005
20120
|
* @throws {RequiredError}
|
|
20006
20121
|
*/
|
|
20007
|
-
apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
|
|
20008
|
-
return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
20122
|
+
apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
|
|
20123
|
+
return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
20009
20124
|
},
|
|
20010
20125
|
};
|
|
20011
20126
|
};
|
|
@@ -20102,6 +20217,7 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
20102
20217
|
* @param {SortingOrder} [sortRequestDate]
|
|
20103
20218
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
20104
20219
|
* @param {boolean} [isExternal]
|
|
20220
|
+
* @param {boolean} [paymentEnabled]
|
|
20105
20221
|
* @param {number} [page]
|
|
20106
20222
|
* @param {number} [limit]
|
|
20107
20223
|
* @param {Date} [lastRetrieved]
|
|
@@ -20109,8 +20225,8 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
20109
20225
|
* @throws {RequiredError}
|
|
20110
20226
|
* @memberof ConsultationsApi
|
|
20111
20227
|
*/
|
|
20112
|
-
public apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
20113
|
-
return ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
20228
|
+
public apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
20229
|
+
return ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
20114
20230
|
}
|
|
20115
20231
|
}
|
|
20116
20232
|
|
|
@@ -22986,6 +23102,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
22986
23102
|
* @param {string} [exceptHospitalId]
|
|
22987
23103
|
* @param {string} [exceptDealId]
|
|
22988
23104
|
* @param {Array<string>} [ids]
|
|
23105
|
+
* @param {number} [serviceDuration]
|
|
22989
23106
|
* @param {string} [languageCode]
|
|
22990
23107
|
* @param {boolean} [showHidden]
|
|
22991
23108
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -22995,7 +23112,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
22995
23112
|
* @param {*} [options] Override http request option.
|
|
22996
23113
|
* @throws {RequiredError}
|
|
22997
23114
|
*/
|
|
22998
|
-
apiV1DealsGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23115
|
+
apiV1DealsGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22999
23116
|
const localVarPath = `/api/v1/deals`;
|
|
23000
23117
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23001
23118
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -23060,6 +23177,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
23060
23177
|
localVarQueryParameter['Ids'] = ids;
|
|
23061
23178
|
}
|
|
23062
23179
|
|
|
23180
|
+
if (serviceDuration !== undefined) {
|
|
23181
|
+
localVarQueryParameter['ServiceDuration'] = serviceDuration;
|
|
23182
|
+
}
|
|
23183
|
+
|
|
23063
23184
|
if (languageCode !== undefined) {
|
|
23064
23185
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
23065
23186
|
}
|
|
@@ -23150,6 +23271,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
23150
23271
|
* @param {string} [exceptHospitalId]
|
|
23151
23272
|
* @param {string} [exceptDealId]
|
|
23152
23273
|
* @param {Array<string>} [ids]
|
|
23274
|
+
* @param {number} [serviceDuration]
|
|
23153
23275
|
* @param {string} [languageCode]
|
|
23154
23276
|
* @param {boolean} [showHidden]
|
|
23155
23277
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -23159,7 +23281,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
23159
23281
|
* @param {*} [options] Override http request option.
|
|
23160
23282
|
* @throws {RequiredError}
|
|
23161
23283
|
*/
|
|
23162
|
-
apiV1DealsSimpleGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23284
|
+
apiV1DealsSimpleGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23163
23285
|
const localVarPath = `/api/v1/deals/simple`;
|
|
23164
23286
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23165
23287
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -23224,6 +23346,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
23224
23346
|
localVarQueryParameter['Ids'] = ids;
|
|
23225
23347
|
}
|
|
23226
23348
|
|
|
23349
|
+
if (serviceDuration !== undefined) {
|
|
23350
|
+
localVarQueryParameter['ServiceDuration'] = serviceDuration;
|
|
23351
|
+
}
|
|
23352
|
+
|
|
23227
23353
|
if (languageCode !== undefined) {
|
|
23228
23354
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
23229
23355
|
}
|
|
@@ -23502,6 +23628,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
23502
23628
|
* @param {string} [exceptHospitalId]
|
|
23503
23629
|
* @param {string} [exceptDealId]
|
|
23504
23630
|
* @param {Array<string>} [ids]
|
|
23631
|
+
* @param {number} [serviceDuration]
|
|
23505
23632
|
* @param {string} [languageCode]
|
|
23506
23633
|
* @param {boolean} [showHidden]
|
|
23507
23634
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -23511,8 +23638,8 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
23511
23638
|
* @param {*} [options] Override http request option.
|
|
23512
23639
|
* @throws {RequiredError}
|
|
23513
23640
|
*/
|
|
23514
|
-
async apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
|
|
23515
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
23641
|
+
async apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
|
|
23642
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
23516
23643
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23517
23644
|
},
|
|
23518
23645
|
/**
|
|
@@ -23541,6 +23668,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
23541
23668
|
* @param {string} [exceptHospitalId]
|
|
23542
23669
|
* @param {string} [exceptDealId]
|
|
23543
23670
|
* @param {Array<string>} [ids]
|
|
23671
|
+
* @param {number} [serviceDuration]
|
|
23544
23672
|
* @param {string} [languageCode]
|
|
23545
23673
|
* @param {boolean} [showHidden]
|
|
23546
23674
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -23550,8 +23678,8 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
23550
23678
|
* @param {*} [options] Override http request option.
|
|
23551
23679
|
* @throws {RequiredError}
|
|
23552
23680
|
*/
|
|
23553
|
-
async apiV1DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsSimpleModel>> {
|
|
23554
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
23681
|
+
async apiV1DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsSimpleModel>> {
|
|
23682
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
23555
23683
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23556
23684
|
},
|
|
23557
23685
|
/**
|
|
@@ -23747,6 +23875,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
23747
23875
|
* @param {string} [exceptHospitalId]
|
|
23748
23876
|
* @param {string} [exceptDealId]
|
|
23749
23877
|
* @param {Array<string>} [ids]
|
|
23878
|
+
* @param {number} [serviceDuration]
|
|
23750
23879
|
* @param {string} [languageCode]
|
|
23751
23880
|
* @param {boolean} [showHidden]
|
|
23752
23881
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -23756,8 +23885,8 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
23756
23885
|
* @param {*} [options] Override http request option.
|
|
23757
23886
|
* @throws {RequiredError}
|
|
23758
23887
|
*/
|
|
23759
|
-
apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
|
|
23760
|
-
return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
23888
|
+
apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
|
|
23889
|
+
return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
23761
23890
|
},
|
|
23762
23891
|
/**
|
|
23763
23892
|
*
|
|
@@ -23784,6 +23913,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
23784
23913
|
* @param {string} [exceptHospitalId]
|
|
23785
23914
|
* @param {string} [exceptDealId]
|
|
23786
23915
|
* @param {Array<string>} [ids]
|
|
23916
|
+
* @param {number} [serviceDuration]
|
|
23787
23917
|
* @param {string} [languageCode]
|
|
23788
23918
|
* @param {boolean} [showHidden]
|
|
23789
23919
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -23793,8 +23923,8 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
23793
23923
|
* @param {*} [options] Override http request option.
|
|
23794
23924
|
* @throws {RequiredError}
|
|
23795
23925
|
*/
|
|
23796
|
-
apiV1DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsSimpleModel> {
|
|
23797
|
-
return localVarFp.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
23926
|
+
apiV1DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsSimpleModel> {
|
|
23927
|
+
return localVarFp.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
23798
23928
|
},
|
|
23799
23929
|
/**
|
|
23800
23930
|
*
|
|
@@ -24014,6 +24144,7 @@ export class DealsApi extends BaseAPI {
|
|
|
24014
24144
|
* @param {string} [exceptHospitalId]
|
|
24015
24145
|
* @param {string} [exceptDealId]
|
|
24016
24146
|
* @param {Array<string>} [ids]
|
|
24147
|
+
* @param {number} [serviceDuration]
|
|
24017
24148
|
* @param {string} [languageCode]
|
|
24018
24149
|
* @param {boolean} [showHidden]
|
|
24019
24150
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -24024,8 +24155,8 @@ export class DealsApi extends BaseAPI {
|
|
|
24024
24155
|
* @throws {RequiredError}
|
|
24025
24156
|
* @memberof DealsApi
|
|
24026
24157
|
*/
|
|
24027
|
-
public apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24028
|
-
return DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
24158
|
+
public apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24159
|
+
return DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
24029
24160
|
}
|
|
24030
24161
|
|
|
24031
24162
|
/**
|
|
@@ -24055,6 +24186,7 @@ export class DealsApi extends BaseAPI {
|
|
|
24055
24186
|
* @param {string} [exceptHospitalId]
|
|
24056
24187
|
* @param {string} [exceptDealId]
|
|
24057
24188
|
* @param {Array<string>} [ids]
|
|
24189
|
+
* @param {number} [serviceDuration]
|
|
24058
24190
|
* @param {string} [languageCode]
|
|
24059
24191
|
* @param {boolean} [showHidden]
|
|
24060
24192
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -24065,8 +24197,8 @@ export class DealsApi extends BaseAPI {
|
|
|
24065
24197
|
* @throws {RequiredError}
|
|
24066
24198
|
* @memberof DealsApi
|
|
24067
24199
|
*/
|
|
24068
|
-
public apiV1DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24069
|
-
return DealsApiFp(this.configuration).apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
24200
|
+
public apiV1DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24201
|
+
return DealsApiFp(this.configuration).apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
24070
24202
|
}
|
|
24071
24203
|
|
|
24072
24204
|
/**
|
|
@@ -24873,20 +25005,19 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
24873
25005
|
},
|
|
24874
25006
|
/**
|
|
24875
25007
|
*
|
|
24876
|
-
* @summary Get all
|
|
25008
|
+
* @summary Get all DoctorEducations.
|
|
24877
25009
|
* @param {string} doctorId
|
|
24878
|
-
* @param {string} [
|
|
24879
|
-
* @param {MediaType} [mediaType]
|
|
25010
|
+
* @param {string} [language]
|
|
24880
25011
|
* @param {number} [page]
|
|
24881
25012
|
* @param {number} [limit]
|
|
24882
25013
|
* @param {Date} [lastRetrieved]
|
|
24883
25014
|
* @param {*} [options] Override http request option.
|
|
24884
25015
|
* @throws {RequiredError}
|
|
24885
25016
|
*/
|
|
24886
|
-
|
|
25017
|
+
apiV1DoctorsDoctorIdLanguagesGet: async (doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24887
25018
|
// verify required parameter 'doctorId' is not null or undefined
|
|
24888
|
-
assertParamExists('
|
|
24889
|
-
const localVarPath = `/api/v1/doctors/{doctorId}/
|
|
25019
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesGet', 'doctorId', doctorId)
|
|
25020
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/languages`
|
|
24890
25021
|
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
|
|
24891
25022
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24892
25023
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -24903,12 +25034,8 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
24903
25034
|
// oauth required
|
|
24904
25035
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
24905
25036
|
|
|
24906
|
-
if (
|
|
24907
|
-
localVarQueryParameter['
|
|
24908
|
-
}
|
|
24909
|
-
|
|
24910
|
-
if (mediaType !== undefined) {
|
|
24911
|
-
localVarQueryParameter['MediaType'] = mediaType;
|
|
25037
|
+
if (language !== undefined) {
|
|
25038
|
+
localVarQueryParameter['Language'] = language;
|
|
24912
25039
|
}
|
|
24913
25040
|
|
|
24914
25041
|
if (page !== undefined) {
|
|
@@ -24938,20 +25065,20 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
24938
25065
|
},
|
|
24939
25066
|
/**
|
|
24940
25067
|
*
|
|
24941
|
-
* @summary Delete
|
|
25068
|
+
* @summary Delete DoctorEducation
|
|
24942
25069
|
* @param {string} doctorId
|
|
24943
|
-
* @param {string}
|
|
25070
|
+
* @param {string} languageId
|
|
24944
25071
|
* @param {*} [options] Override http request option.
|
|
24945
25072
|
* @throws {RequiredError}
|
|
24946
25073
|
*/
|
|
24947
|
-
|
|
25074
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdDelete: async (doctorId: string, languageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24948
25075
|
// verify required parameter 'doctorId' is not null or undefined
|
|
24949
|
-
assertParamExists('
|
|
24950
|
-
// verify required parameter '
|
|
24951
|
-
assertParamExists('
|
|
24952
|
-
const localVarPath = `/api/v1/doctors/{doctorId}/
|
|
25076
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdDelete', 'doctorId', doctorId)
|
|
25077
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
25078
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdDelete', 'languageId', languageId)
|
|
25079
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/languages/{languageId}`
|
|
24953
25080
|
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
24954
|
-
.replace(`{${"
|
|
25081
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
24955
25082
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24956
25083
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24957
25084
|
let baseOptions;
|
|
@@ -24980,20 +25107,20 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
24980
25107
|
},
|
|
24981
25108
|
/**
|
|
24982
25109
|
*
|
|
24983
|
-
* @summary Get
|
|
25110
|
+
* @summary Get DoctorEducation.
|
|
24984
25111
|
* @param {string} doctorId
|
|
24985
|
-
* @param {string}
|
|
25112
|
+
* @param {string} languageId
|
|
24986
25113
|
* @param {*} [options] Override http request option.
|
|
24987
25114
|
* @throws {RequiredError}
|
|
24988
25115
|
*/
|
|
24989
|
-
|
|
25116
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdGet: async (doctorId: string, languageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24990
25117
|
// verify required parameter 'doctorId' is not null or undefined
|
|
24991
|
-
assertParamExists('
|
|
24992
|
-
// verify required parameter '
|
|
24993
|
-
assertParamExists('
|
|
24994
|
-
const localVarPath = `/api/v1/doctors/{doctorId}/
|
|
25118
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdGet', 'doctorId', doctorId)
|
|
25119
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
25120
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdGet', 'languageId', languageId)
|
|
25121
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/languages/{languageId}`
|
|
24995
25122
|
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
24996
|
-
.replace(`{${"
|
|
25123
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
24997
25124
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24998
25125
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24999
25126
|
let baseOptions;
|
|
@@ -25022,21 +25149,21 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
25022
25149
|
},
|
|
25023
25150
|
/**
|
|
25024
25151
|
*
|
|
25025
|
-
* @summary Update
|
|
25152
|
+
* @summary Update DoctorEducation.
|
|
25026
25153
|
* @param {string} doctorId
|
|
25027
|
-
* @param {string}
|
|
25028
|
-
* @param {
|
|
25154
|
+
* @param {string} languageId
|
|
25155
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
25029
25156
|
* @param {*} [options] Override http request option.
|
|
25030
25157
|
* @throws {RequiredError}
|
|
25031
25158
|
*/
|
|
25032
|
-
|
|
25159
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdPut: async (doctorId: string, languageId: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25033
25160
|
// verify required parameter 'doctorId' is not null or undefined
|
|
25034
|
-
assertParamExists('
|
|
25035
|
-
// verify required parameter '
|
|
25036
|
-
assertParamExists('
|
|
25037
|
-
const localVarPath = `/api/v1/doctors/{doctorId}/
|
|
25161
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdPut', 'doctorId', doctorId)
|
|
25162
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
25163
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdPut', 'languageId', languageId)
|
|
25164
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/languages/{languageId}`
|
|
25038
25165
|
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
25039
|
-
.replace(`{${"
|
|
25166
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
25040
25167
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25041
25168
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25042
25169
|
let baseOptions;
|
|
@@ -25059,7 +25186,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
25059
25186
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25060
25187
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25061
25188
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25062
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
25189
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration)
|
|
25063
25190
|
|
|
25064
25191
|
return {
|
|
25065
25192
|
url: toPathString(localVarUrlObj),
|
|
@@ -25068,16 +25195,16 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
25068
25195
|
},
|
|
25069
25196
|
/**
|
|
25070
25197
|
*
|
|
25071
|
-
* @summary Create
|
|
25198
|
+
* @summary Create DoctorEducation.
|
|
25072
25199
|
* @param {string} doctorId
|
|
25073
|
-
* @param {
|
|
25200
|
+
* @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
|
|
25074
25201
|
* @param {*} [options] Override http request option.
|
|
25075
25202
|
* @throws {RequiredError}
|
|
25076
25203
|
*/
|
|
25077
|
-
|
|
25204
|
+
apiV1DoctorsDoctorIdLanguagesPost: async (doctorId: string, createDoctorLanguageCommand?: CreateDoctorLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25078
25205
|
// verify required parameter 'doctorId' is not null or undefined
|
|
25079
|
-
assertParamExists('
|
|
25080
|
-
const localVarPath = `/api/v1/doctors/{doctorId}/
|
|
25206
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesPost', 'doctorId', doctorId)
|
|
25207
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/languages`
|
|
25081
25208
|
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
|
|
25082
25209
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25083
25210
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -25101,7 +25228,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
25101
25228
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25102
25229
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25103
25230
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25104
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
25231
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createDoctorLanguageCommand, localVarRequestOptions, configuration)
|
|
25105
25232
|
|
|
25106
25233
|
return {
|
|
25107
25234
|
url: toPathString(localVarUrlObj),
|
|
@@ -25110,21 +25237,20 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
25110
25237
|
},
|
|
25111
25238
|
/**
|
|
25112
25239
|
*
|
|
25113
|
-
* @summary Get
|
|
25240
|
+
* @summary Get all DoctorMedias.
|
|
25114
25241
|
* @param {string} doctorId
|
|
25115
|
-
* @param {string} [
|
|
25116
|
-
* @param {
|
|
25117
|
-
* @param {string} [name]
|
|
25242
|
+
* @param {string} [id]
|
|
25243
|
+
* @param {MediaType} [mediaType]
|
|
25118
25244
|
* @param {number} [page]
|
|
25119
25245
|
* @param {number} [limit]
|
|
25120
25246
|
* @param {Date} [lastRetrieved]
|
|
25121
25247
|
* @param {*} [options] Override http request option.
|
|
25122
25248
|
* @throws {RequiredError}
|
|
25123
25249
|
*/
|
|
25124
|
-
|
|
25250
|
+
apiV1DoctorsDoctorIdMediasGet: async (doctorId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25125
25251
|
// verify required parameter 'doctorId' is not null or undefined
|
|
25126
|
-
assertParamExists('
|
|
25127
|
-
const localVarPath = `/api/v1/doctors/{doctorId}/
|
|
25252
|
+
assertParamExists('apiV1DoctorsDoctorIdMediasGet', 'doctorId', doctorId)
|
|
25253
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/medias`
|
|
25128
25254
|
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
|
|
25129
25255
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25130
25256
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -25141,16 +25267,12 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
25141
25267
|
// oauth required
|
|
25142
25268
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
25143
25269
|
|
|
25144
|
-
if (
|
|
25145
|
-
localVarQueryParameter['
|
|
25146
|
-
}
|
|
25147
|
-
|
|
25148
|
-
if (portfolioId !== undefined) {
|
|
25149
|
-
localVarQueryParameter['PortfolioId'] = portfolioId;
|
|
25270
|
+
if (id !== undefined) {
|
|
25271
|
+
localVarQueryParameter['Id'] = id;
|
|
25150
25272
|
}
|
|
25151
25273
|
|
|
25152
|
-
if (
|
|
25153
|
-
localVarQueryParameter['
|
|
25274
|
+
if (mediaType !== undefined) {
|
|
25275
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
25154
25276
|
}
|
|
25155
25277
|
|
|
25156
25278
|
if (page !== undefined) {
|
|
@@ -25180,20 +25302,20 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
25180
25302
|
},
|
|
25181
25303
|
/**
|
|
25182
25304
|
*
|
|
25183
|
-
* @summary Delete
|
|
25305
|
+
* @summary Delete DoctorMedia
|
|
25184
25306
|
* @param {string} doctorId
|
|
25185
|
-
* @param {string}
|
|
25307
|
+
* @param {string} mediaId
|
|
25186
25308
|
* @param {*} [options] Override http request option.
|
|
25187
25309
|
* @throws {RequiredError}
|
|
25188
25310
|
*/
|
|
25189
|
-
|
|
25311
|
+
apiV1DoctorsDoctorIdMediasMediaIdDelete: async (doctorId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25190
25312
|
// verify required parameter 'doctorId' is not null or undefined
|
|
25191
|
-
assertParamExists('
|
|
25192
|
-
// verify required parameter '
|
|
25193
|
-
assertParamExists('
|
|
25194
|
-
const localVarPath = `/api/v1/doctors/{doctorId}/
|
|
25313
|
+
assertParamExists('apiV1DoctorsDoctorIdMediasMediaIdDelete', 'doctorId', doctorId)
|
|
25314
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
25315
|
+
assertParamExists('apiV1DoctorsDoctorIdMediasMediaIdDelete', 'mediaId', mediaId)
|
|
25316
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/medias/{mediaId}`
|
|
25195
25317
|
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
25196
|
-
.replace(`{${"
|
|
25318
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
25197
25319
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25198
25320
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25199
25321
|
let baseOptions;
|
|
@@ -25222,20 +25344,262 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
25222
25344
|
},
|
|
25223
25345
|
/**
|
|
25224
25346
|
*
|
|
25225
|
-
* @summary Get
|
|
25347
|
+
* @summary Get DoctorMedia.
|
|
25226
25348
|
* @param {string} doctorId
|
|
25227
|
-
* @param {string}
|
|
25349
|
+
* @param {string} mediaId
|
|
25228
25350
|
* @param {*} [options] Override http request option.
|
|
25229
25351
|
* @throws {RequiredError}
|
|
25230
25352
|
*/
|
|
25231
|
-
|
|
25353
|
+
apiV1DoctorsDoctorIdMediasMediaIdGet: async (doctorId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25232
25354
|
// verify required parameter 'doctorId' is not null or undefined
|
|
25233
|
-
assertParamExists('
|
|
25234
|
-
// verify required parameter '
|
|
25235
|
-
assertParamExists('
|
|
25236
|
-
const localVarPath = `/api/v1/doctors/{doctorId}/
|
|
25355
|
+
assertParamExists('apiV1DoctorsDoctorIdMediasMediaIdGet', 'doctorId', doctorId)
|
|
25356
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
25357
|
+
assertParamExists('apiV1DoctorsDoctorIdMediasMediaIdGet', 'mediaId', mediaId)
|
|
25358
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/medias/{mediaId}`
|
|
25237
25359
|
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
25238
|
-
.replace(`{${"
|
|
25360
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
25361
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25362
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25363
|
+
let baseOptions;
|
|
25364
|
+
if (configuration) {
|
|
25365
|
+
baseOptions = configuration.baseOptions;
|
|
25366
|
+
}
|
|
25367
|
+
|
|
25368
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
25369
|
+
const localVarHeaderParameter = {} as any;
|
|
25370
|
+
const localVarQueryParameter = {} as any;
|
|
25371
|
+
|
|
25372
|
+
// authentication oauth2 required
|
|
25373
|
+
// oauth required
|
|
25374
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
25375
|
+
|
|
25376
|
+
|
|
25377
|
+
|
|
25378
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25379
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25380
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25381
|
+
|
|
25382
|
+
return {
|
|
25383
|
+
url: toPathString(localVarUrlObj),
|
|
25384
|
+
options: localVarRequestOptions,
|
|
25385
|
+
};
|
|
25386
|
+
},
|
|
25387
|
+
/**
|
|
25388
|
+
*
|
|
25389
|
+
* @summary Update DoctorMedia.
|
|
25390
|
+
* @param {string} doctorId
|
|
25391
|
+
* @param {string} mediaId
|
|
25392
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
25393
|
+
* @param {*} [options] Override http request option.
|
|
25394
|
+
* @throws {RequiredError}
|
|
25395
|
+
*/
|
|
25396
|
+
apiV1DoctorsDoctorIdMediasMediaIdPut: async (doctorId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25397
|
+
// verify required parameter 'doctorId' is not null or undefined
|
|
25398
|
+
assertParamExists('apiV1DoctorsDoctorIdMediasMediaIdPut', 'doctorId', doctorId)
|
|
25399
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
25400
|
+
assertParamExists('apiV1DoctorsDoctorIdMediasMediaIdPut', 'mediaId', mediaId)
|
|
25401
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/medias/{mediaId}`
|
|
25402
|
+
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
25403
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
25404
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25405
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25406
|
+
let baseOptions;
|
|
25407
|
+
if (configuration) {
|
|
25408
|
+
baseOptions = configuration.baseOptions;
|
|
25409
|
+
}
|
|
25410
|
+
|
|
25411
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
25412
|
+
const localVarHeaderParameter = {} as any;
|
|
25413
|
+
const localVarQueryParameter = {} as any;
|
|
25414
|
+
|
|
25415
|
+
// authentication oauth2 required
|
|
25416
|
+
// oauth required
|
|
25417
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
25418
|
+
|
|
25419
|
+
|
|
25420
|
+
|
|
25421
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25422
|
+
|
|
25423
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25424
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25425
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25426
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
|
|
25427
|
+
|
|
25428
|
+
return {
|
|
25429
|
+
url: toPathString(localVarUrlObj),
|
|
25430
|
+
options: localVarRequestOptions,
|
|
25431
|
+
};
|
|
25432
|
+
},
|
|
25433
|
+
/**
|
|
25434
|
+
*
|
|
25435
|
+
* @summary Create DoctorMedia.
|
|
25436
|
+
* @param {string} doctorId
|
|
25437
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
25438
|
+
* @param {*} [options] Override http request option.
|
|
25439
|
+
* @throws {RequiredError}
|
|
25440
|
+
*/
|
|
25441
|
+
apiV1DoctorsDoctorIdMediasPost: async (doctorId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25442
|
+
// verify required parameter 'doctorId' is not null or undefined
|
|
25443
|
+
assertParamExists('apiV1DoctorsDoctorIdMediasPost', 'doctorId', doctorId)
|
|
25444
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/medias`
|
|
25445
|
+
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
|
|
25446
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25447
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25448
|
+
let baseOptions;
|
|
25449
|
+
if (configuration) {
|
|
25450
|
+
baseOptions = configuration.baseOptions;
|
|
25451
|
+
}
|
|
25452
|
+
|
|
25453
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
25454
|
+
const localVarHeaderParameter = {} as any;
|
|
25455
|
+
const localVarQueryParameter = {} as any;
|
|
25456
|
+
|
|
25457
|
+
// authentication oauth2 required
|
|
25458
|
+
// oauth required
|
|
25459
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
25460
|
+
|
|
25461
|
+
|
|
25462
|
+
|
|
25463
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25464
|
+
|
|
25465
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25466
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25467
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25468
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
|
|
25469
|
+
|
|
25470
|
+
return {
|
|
25471
|
+
url: toPathString(localVarUrlObj),
|
|
25472
|
+
options: localVarRequestOptions,
|
|
25473
|
+
};
|
|
25474
|
+
},
|
|
25475
|
+
/**
|
|
25476
|
+
*
|
|
25477
|
+
* @summary Get All DoctorPortfolios
|
|
25478
|
+
* @param {string} doctorId
|
|
25479
|
+
* @param {string} [doctorName]
|
|
25480
|
+
* @param {string} [portfolioId]
|
|
25481
|
+
* @param {string} [name]
|
|
25482
|
+
* @param {number} [page]
|
|
25483
|
+
* @param {number} [limit]
|
|
25484
|
+
* @param {Date} [lastRetrieved]
|
|
25485
|
+
* @param {*} [options] Override http request option.
|
|
25486
|
+
* @throws {RequiredError}
|
|
25487
|
+
*/
|
|
25488
|
+
apiV1DoctorsDoctorIdPortfoliosGet: async (doctorId: string, doctorName?: string, portfolioId?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25489
|
+
// verify required parameter 'doctorId' is not null or undefined
|
|
25490
|
+
assertParamExists('apiV1DoctorsDoctorIdPortfoliosGet', 'doctorId', doctorId)
|
|
25491
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/portfolios`
|
|
25492
|
+
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
|
|
25493
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25494
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25495
|
+
let baseOptions;
|
|
25496
|
+
if (configuration) {
|
|
25497
|
+
baseOptions = configuration.baseOptions;
|
|
25498
|
+
}
|
|
25499
|
+
|
|
25500
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
25501
|
+
const localVarHeaderParameter = {} as any;
|
|
25502
|
+
const localVarQueryParameter = {} as any;
|
|
25503
|
+
|
|
25504
|
+
// authentication oauth2 required
|
|
25505
|
+
// oauth required
|
|
25506
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
25507
|
+
|
|
25508
|
+
if (doctorName !== undefined) {
|
|
25509
|
+
localVarQueryParameter['DoctorName'] = doctorName;
|
|
25510
|
+
}
|
|
25511
|
+
|
|
25512
|
+
if (portfolioId !== undefined) {
|
|
25513
|
+
localVarQueryParameter['PortfolioId'] = portfolioId;
|
|
25514
|
+
}
|
|
25515
|
+
|
|
25516
|
+
if (name !== undefined) {
|
|
25517
|
+
localVarQueryParameter['Name'] = name;
|
|
25518
|
+
}
|
|
25519
|
+
|
|
25520
|
+
if (page !== undefined) {
|
|
25521
|
+
localVarQueryParameter['page'] = page;
|
|
25522
|
+
}
|
|
25523
|
+
|
|
25524
|
+
if (limit !== undefined) {
|
|
25525
|
+
localVarQueryParameter['limit'] = limit;
|
|
25526
|
+
}
|
|
25527
|
+
|
|
25528
|
+
if (lastRetrieved !== undefined) {
|
|
25529
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
25530
|
+
(lastRetrieved as any).toISOString() :
|
|
25531
|
+
lastRetrieved;
|
|
25532
|
+
}
|
|
25533
|
+
|
|
25534
|
+
|
|
25535
|
+
|
|
25536
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25537
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25538
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25539
|
+
|
|
25540
|
+
return {
|
|
25541
|
+
url: toPathString(localVarUrlObj),
|
|
25542
|
+
options: localVarRequestOptions,
|
|
25543
|
+
};
|
|
25544
|
+
},
|
|
25545
|
+
/**
|
|
25546
|
+
*
|
|
25547
|
+
* @summary Delete DoctorPortfolio.
|
|
25548
|
+
* @param {string} doctorId
|
|
25549
|
+
* @param {string} portfolioId
|
|
25550
|
+
* @param {*} [options] Override http request option.
|
|
25551
|
+
* @throws {RequiredError}
|
|
25552
|
+
*/
|
|
25553
|
+
apiV1DoctorsDoctorIdPortfoliosPortfolioIdDelete: async (doctorId: string, portfolioId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25554
|
+
// verify required parameter 'doctorId' is not null or undefined
|
|
25555
|
+
assertParamExists('apiV1DoctorsDoctorIdPortfoliosPortfolioIdDelete', 'doctorId', doctorId)
|
|
25556
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
25557
|
+
assertParamExists('apiV1DoctorsDoctorIdPortfoliosPortfolioIdDelete', 'portfolioId', portfolioId)
|
|
25558
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/portfolios/{portfolioId}`
|
|
25559
|
+
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
25560
|
+
.replace(`{${"portfolioId"}}`, encodeURIComponent(String(portfolioId)));
|
|
25561
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25562
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25563
|
+
let baseOptions;
|
|
25564
|
+
if (configuration) {
|
|
25565
|
+
baseOptions = configuration.baseOptions;
|
|
25566
|
+
}
|
|
25567
|
+
|
|
25568
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
25569
|
+
const localVarHeaderParameter = {} as any;
|
|
25570
|
+
const localVarQueryParameter = {} as any;
|
|
25571
|
+
|
|
25572
|
+
// authentication oauth2 required
|
|
25573
|
+
// oauth required
|
|
25574
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
25575
|
+
|
|
25576
|
+
|
|
25577
|
+
|
|
25578
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25579
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25580
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25581
|
+
|
|
25582
|
+
return {
|
|
25583
|
+
url: toPathString(localVarUrlObj),
|
|
25584
|
+
options: localVarRequestOptions,
|
|
25585
|
+
};
|
|
25586
|
+
},
|
|
25587
|
+
/**
|
|
25588
|
+
*
|
|
25589
|
+
* @summary Get DoctorPortfolio.
|
|
25590
|
+
* @param {string} doctorId
|
|
25591
|
+
* @param {string} portfolioId
|
|
25592
|
+
* @param {*} [options] Override http request option.
|
|
25593
|
+
* @throws {RequiredError}
|
|
25594
|
+
*/
|
|
25595
|
+
apiV1DoctorsDoctorIdPortfoliosPortfolioIdGet: async (doctorId: string, portfolioId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25596
|
+
// verify required parameter 'doctorId' is not null or undefined
|
|
25597
|
+
assertParamExists('apiV1DoctorsDoctorIdPortfoliosPortfolioIdGet', 'doctorId', doctorId)
|
|
25598
|
+
// verify required parameter 'portfolioId' is not null or undefined
|
|
25599
|
+
assertParamExists('apiV1DoctorsDoctorIdPortfoliosPortfolioIdGet', 'portfolioId', portfolioId)
|
|
25600
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/portfolios/{portfolioId}`
|
|
25601
|
+
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
25602
|
+
.replace(`{${"portfolioId"}}`, encodeURIComponent(String(portfolioId)));
|
|
25239
25603
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25240
25604
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25241
25605
|
let baseOptions;
|
|
@@ -26178,6 +26542,70 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
26178
26542
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options);
|
|
26179
26543
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26180
26544
|
},
|
|
26545
|
+
/**
|
|
26546
|
+
*
|
|
26547
|
+
* @summary Get all DoctorEducations.
|
|
26548
|
+
* @param {string} doctorId
|
|
26549
|
+
* @param {string} [language]
|
|
26550
|
+
* @param {number} [page]
|
|
26551
|
+
* @param {number} [limit]
|
|
26552
|
+
* @param {Date} [lastRetrieved]
|
|
26553
|
+
* @param {*} [options] Override http request option.
|
|
26554
|
+
* @throws {RequiredError}
|
|
26555
|
+
*/
|
|
26556
|
+
async apiV1DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguagesModel>> {
|
|
26557
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options);
|
|
26558
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26559
|
+
},
|
|
26560
|
+
/**
|
|
26561
|
+
*
|
|
26562
|
+
* @summary Delete DoctorEducation
|
|
26563
|
+
* @param {string} doctorId
|
|
26564
|
+
* @param {string} languageId
|
|
26565
|
+
* @param {*} [options] Override http request option.
|
|
26566
|
+
* @throws {RequiredError}
|
|
26567
|
+
*/
|
|
26568
|
+
async apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId: string, languageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
26569
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options);
|
|
26570
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26571
|
+
},
|
|
26572
|
+
/**
|
|
26573
|
+
*
|
|
26574
|
+
* @summary Get DoctorEducation.
|
|
26575
|
+
* @param {string} doctorId
|
|
26576
|
+
* @param {string} languageId
|
|
26577
|
+
* @param {*} [options] Override http request option.
|
|
26578
|
+
* @throws {RequiredError}
|
|
26579
|
+
*/
|
|
26580
|
+
async apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId: string, languageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguageModel>> {
|
|
26581
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options);
|
|
26582
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26583
|
+
},
|
|
26584
|
+
/**
|
|
26585
|
+
*
|
|
26586
|
+
* @summary Update DoctorEducation.
|
|
26587
|
+
* @param {string} doctorId
|
|
26588
|
+
* @param {string} languageId
|
|
26589
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
26590
|
+
* @param {*} [options] Override http request option.
|
|
26591
|
+
* @throws {RequiredError}
|
|
26592
|
+
*/
|
|
26593
|
+
async apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId: string, languageId: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguageModel>> {
|
|
26594
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options);
|
|
26595
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26596
|
+
},
|
|
26597
|
+
/**
|
|
26598
|
+
*
|
|
26599
|
+
* @summary Create DoctorEducation.
|
|
26600
|
+
* @param {string} doctorId
|
|
26601
|
+
* @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
|
|
26602
|
+
* @param {*} [options] Override http request option.
|
|
26603
|
+
* @throws {RequiredError}
|
|
26604
|
+
*/
|
|
26605
|
+
async apiV1DoctorsDoctorIdLanguagesPost(doctorId: string, createDoctorLanguageCommand?: CreateDoctorLanguageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguageModel>> {
|
|
26606
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesPost(doctorId, createDoctorLanguageCommand, options);
|
|
26607
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26608
|
+
},
|
|
26181
26609
|
/**
|
|
26182
26610
|
*
|
|
26183
26611
|
* @summary Get all DoctorMedias.
|
|
@@ -26665,6 +27093,65 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
26665
27093
|
apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DoctorModel> {
|
|
26666
27094
|
return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
26667
27095
|
},
|
|
27096
|
+
/**
|
|
27097
|
+
*
|
|
27098
|
+
* @summary Get all DoctorEducations.
|
|
27099
|
+
* @param {string} doctorId
|
|
27100
|
+
* @param {string} [language]
|
|
27101
|
+
* @param {number} [page]
|
|
27102
|
+
* @param {number} [limit]
|
|
27103
|
+
* @param {Date} [lastRetrieved]
|
|
27104
|
+
* @param {*} [options] Override http request option.
|
|
27105
|
+
* @throws {RequiredError}
|
|
27106
|
+
*/
|
|
27107
|
+
apiV1DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorLanguagesModel> {
|
|
27108
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
27109
|
+
},
|
|
27110
|
+
/**
|
|
27111
|
+
*
|
|
27112
|
+
* @summary Delete DoctorEducation
|
|
27113
|
+
* @param {string} doctorId
|
|
27114
|
+
* @param {string} languageId
|
|
27115
|
+
* @param {*} [options] Override http request option.
|
|
27116
|
+
* @throws {RequiredError}
|
|
27117
|
+
*/
|
|
27118
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId: string, languageId: string, options?: any): AxiosPromise<boolean> {
|
|
27119
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options).then((request) => request(axios, basePath));
|
|
27120
|
+
},
|
|
27121
|
+
/**
|
|
27122
|
+
*
|
|
27123
|
+
* @summary Get DoctorEducation.
|
|
27124
|
+
* @param {string} doctorId
|
|
27125
|
+
* @param {string} languageId
|
|
27126
|
+
* @param {*} [options] Override http request option.
|
|
27127
|
+
* @throws {RequiredError}
|
|
27128
|
+
*/
|
|
27129
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId: string, languageId: string, options?: any): AxiosPromise<DoctorLanguageModel> {
|
|
27130
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then((request) => request(axios, basePath));
|
|
27131
|
+
},
|
|
27132
|
+
/**
|
|
27133
|
+
*
|
|
27134
|
+
* @summary Update DoctorEducation.
|
|
27135
|
+
* @param {string} doctorId
|
|
27136
|
+
* @param {string} languageId
|
|
27137
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
27138
|
+
* @param {*} [options] Override http request option.
|
|
27139
|
+
* @throws {RequiredError}
|
|
27140
|
+
*/
|
|
27141
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId: string, languageId: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options?: any): AxiosPromise<DoctorLanguageModel> {
|
|
27142
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options).then((request) => request(axios, basePath));
|
|
27143
|
+
},
|
|
27144
|
+
/**
|
|
27145
|
+
*
|
|
27146
|
+
* @summary Create DoctorEducation.
|
|
27147
|
+
* @param {string} doctorId
|
|
27148
|
+
* @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
|
|
27149
|
+
* @param {*} [options] Override http request option.
|
|
27150
|
+
* @throws {RequiredError}
|
|
27151
|
+
*/
|
|
27152
|
+
apiV1DoctorsDoctorIdLanguagesPost(doctorId: string, createDoctorLanguageCommand?: CreateDoctorLanguageCommand, options?: any): AxiosPromise<DoctorLanguageModel> {
|
|
27153
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesPost(doctorId, createDoctorLanguageCommand, options).then((request) => request(axios, basePath));
|
|
27154
|
+
},
|
|
26668
27155
|
/**
|
|
26669
27156
|
*
|
|
26670
27157
|
* @summary Get all DoctorMedias.
|
|
@@ -27164,6 +27651,75 @@ export class DoctorsApi extends BaseAPI {
|
|
|
27164
27651
|
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
27165
27652
|
}
|
|
27166
27653
|
|
|
27654
|
+
/**
|
|
27655
|
+
*
|
|
27656
|
+
* @summary Get all DoctorEducations.
|
|
27657
|
+
* @param {string} doctorId
|
|
27658
|
+
* @param {string} [language]
|
|
27659
|
+
* @param {number} [page]
|
|
27660
|
+
* @param {number} [limit]
|
|
27661
|
+
* @param {Date} [lastRetrieved]
|
|
27662
|
+
* @param {*} [options] Override http request option.
|
|
27663
|
+
* @throws {RequiredError}
|
|
27664
|
+
* @memberof DoctorsApi
|
|
27665
|
+
*/
|
|
27666
|
+
public apiV1DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
27667
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
27668
|
+
}
|
|
27669
|
+
|
|
27670
|
+
/**
|
|
27671
|
+
*
|
|
27672
|
+
* @summary Delete DoctorEducation
|
|
27673
|
+
* @param {string} doctorId
|
|
27674
|
+
* @param {string} languageId
|
|
27675
|
+
* @param {*} [options] Override http request option.
|
|
27676
|
+
* @throws {RequiredError}
|
|
27677
|
+
* @memberof DoctorsApi
|
|
27678
|
+
*/
|
|
27679
|
+
public apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId: string, languageId: string, options?: AxiosRequestConfig) {
|
|
27680
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options).then((request) => request(this.axios, this.basePath));
|
|
27681
|
+
}
|
|
27682
|
+
|
|
27683
|
+
/**
|
|
27684
|
+
*
|
|
27685
|
+
* @summary Get DoctorEducation.
|
|
27686
|
+
* @param {string} doctorId
|
|
27687
|
+
* @param {string} languageId
|
|
27688
|
+
* @param {*} [options] Override http request option.
|
|
27689
|
+
* @throws {RequiredError}
|
|
27690
|
+
* @memberof DoctorsApi
|
|
27691
|
+
*/
|
|
27692
|
+
public apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId: string, languageId: string, options?: AxiosRequestConfig) {
|
|
27693
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then((request) => request(this.axios, this.basePath));
|
|
27694
|
+
}
|
|
27695
|
+
|
|
27696
|
+
/**
|
|
27697
|
+
*
|
|
27698
|
+
* @summary Update DoctorEducation.
|
|
27699
|
+
* @param {string} doctorId
|
|
27700
|
+
* @param {string} languageId
|
|
27701
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
27702
|
+
* @param {*} [options] Override http request option.
|
|
27703
|
+
* @throws {RequiredError}
|
|
27704
|
+
* @memberof DoctorsApi
|
|
27705
|
+
*/
|
|
27706
|
+
public apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId: string, languageId: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options?: AxiosRequestConfig) {
|
|
27707
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
27708
|
+
}
|
|
27709
|
+
|
|
27710
|
+
/**
|
|
27711
|
+
*
|
|
27712
|
+
* @summary Create DoctorEducation.
|
|
27713
|
+
* @param {string} doctorId
|
|
27714
|
+
* @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
|
|
27715
|
+
* @param {*} [options] Override http request option.
|
|
27716
|
+
* @throws {RequiredError}
|
|
27717
|
+
* @memberof DoctorsApi
|
|
27718
|
+
*/
|
|
27719
|
+
public apiV1DoctorsDoctorIdLanguagesPost(doctorId: string, createDoctorLanguageCommand?: CreateDoctorLanguageCommand, options?: AxiosRequestConfig) {
|
|
27720
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesPost(doctorId, createDoctorLanguageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
27721
|
+
}
|
|
27722
|
+
|
|
27167
27723
|
/**
|
|
27168
27724
|
*
|
|
27169
27725
|
* @summary Get all DoctorMedias.
|
|
@@ -33540,7 +34096,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
33540
34096
|
* @param {*} [options] Override http request option.
|
|
33541
34097
|
* @throws {RequiredError}
|
|
33542
34098
|
*/
|
|
33543
|
-
async apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
34099
|
+
async apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkingDaysModel>> {
|
|
33544
34100
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options);
|
|
33545
34101
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33546
34102
|
},
|
|
@@ -34333,7 +34889,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
34333
34889
|
* @param {*} [options] Override http request option.
|
|
34334
34890
|
* @throws {RequiredError}
|
|
34335
34891
|
*/
|
|
34336
|
-
apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options?: any): AxiosPromise<
|
|
34892
|
+
apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options?: any): AxiosPromise<WorkingDaysModel> {
|
|
34337
34893
|
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options).then((request) => request(axios, basePath));
|
|
34338
34894
|
},
|
|
34339
34895
|
/**
|
|
@@ -44732,97 +45288,3 @@ export class TranslationApi extends BaseAPI {
|
|
|
44732
45288
|
}
|
|
44733
45289
|
|
|
44734
45290
|
|
|
44735
|
-
/**
|
|
44736
|
-
* WeatherForecastApi - axios parameter creator
|
|
44737
|
-
* @export
|
|
44738
|
-
*/
|
|
44739
|
-
export const WeatherForecastApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
44740
|
-
return {
|
|
44741
|
-
/**
|
|
44742
|
-
*
|
|
44743
|
-
* @param {*} [options] Override http request option.
|
|
44744
|
-
* @throws {RequiredError}
|
|
44745
|
-
*/
|
|
44746
|
-
apiV1WeatherforecastGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44747
|
-
const localVarPath = `/api/v1/weatherforecast`;
|
|
44748
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44749
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44750
|
-
let baseOptions;
|
|
44751
|
-
if (configuration) {
|
|
44752
|
-
baseOptions = configuration.baseOptions;
|
|
44753
|
-
}
|
|
44754
|
-
|
|
44755
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
44756
|
-
const localVarHeaderParameter = {} as any;
|
|
44757
|
-
const localVarQueryParameter = {} as any;
|
|
44758
|
-
|
|
44759
|
-
|
|
44760
|
-
|
|
44761
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
44762
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
44763
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
44764
|
-
|
|
44765
|
-
return {
|
|
44766
|
-
url: toPathString(localVarUrlObj),
|
|
44767
|
-
options: localVarRequestOptions,
|
|
44768
|
-
};
|
|
44769
|
-
},
|
|
44770
|
-
}
|
|
44771
|
-
};
|
|
44772
|
-
|
|
44773
|
-
/**
|
|
44774
|
-
* WeatherForecastApi - functional programming interface
|
|
44775
|
-
* @export
|
|
44776
|
-
*/
|
|
44777
|
-
export const WeatherForecastApiFp = function(configuration?: Configuration) {
|
|
44778
|
-
const localVarAxiosParamCreator = WeatherForecastApiAxiosParamCreator(configuration)
|
|
44779
|
-
return {
|
|
44780
|
-
/**
|
|
44781
|
-
*
|
|
44782
|
-
* @param {*} [options] Override http request option.
|
|
44783
|
-
* @throws {RequiredError}
|
|
44784
|
-
*/
|
|
44785
|
-
async apiV1WeatherforecastGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WeatherForecast>>> {
|
|
44786
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1WeatherforecastGet(options);
|
|
44787
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
44788
|
-
},
|
|
44789
|
-
}
|
|
44790
|
-
};
|
|
44791
|
-
|
|
44792
|
-
/**
|
|
44793
|
-
* WeatherForecastApi - factory interface
|
|
44794
|
-
* @export
|
|
44795
|
-
*/
|
|
44796
|
-
export const WeatherForecastApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
44797
|
-
const localVarFp = WeatherForecastApiFp(configuration)
|
|
44798
|
-
return {
|
|
44799
|
-
/**
|
|
44800
|
-
*
|
|
44801
|
-
* @param {*} [options] Override http request option.
|
|
44802
|
-
* @throws {RequiredError}
|
|
44803
|
-
*/
|
|
44804
|
-
apiV1WeatherforecastGet(options?: any): AxiosPromise<Array<WeatherForecast>> {
|
|
44805
|
-
return localVarFp.apiV1WeatherforecastGet(options).then((request) => request(axios, basePath));
|
|
44806
|
-
},
|
|
44807
|
-
};
|
|
44808
|
-
};
|
|
44809
|
-
|
|
44810
|
-
/**
|
|
44811
|
-
* WeatherForecastApi - object-oriented interface
|
|
44812
|
-
* @export
|
|
44813
|
-
* @class WeatherForecastApi
|
|
44814
|
-
* @extends {BaseAPI}
|
|
44815
|
-
*/
|
|
44816
|
-
export class WeatherForecastApi extends BaseAPI {
|
|
44817
|
-
/**
|
|
44818
|
-
*
|
|
44819
|
-
* @param {*} [options] Override http request option.
|
|
44820
|
-
* @throws {RequiredError}
|
|
44821
|
-
* @memberof WeatherForecastApi
|
|
44822
|
-
*/
|
|
44823
|
-
public apiV1WeatherforecastGet(options?: AxiosRequestConfig) {
|
|
44824
|
-
return WeatherForecastApiFp(this.configuration).apiV1WeatherforecastGet(options).then((request) => request(this.axios, this.basePath));
|
|
44825
|
-
}
|
|
44826
|
-
}
|
|
44827
|
-
|
|
44828
|
-
|