ch-admin-api-client-typescript 3.1.0 → 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 -19
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +544 -28
- package/package.json +1 -1
- package/src/api.ts +617 -30
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
|
|
@@ -17392,13 +17523,14 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17392
17523
|
* @param {SortingOrder} [sortRequestDate]
|
|
17393
17524
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
17394
17525
|
* @param {boolean} [isExternal]
|
|
17526
|
+
* @param {boolean} [paymentEnabled]
|
|
17395
17527
|
* @param {number} [page]
|
|
17396
17528
|
* @param {number} [limit]
|
|
17397
17529
|
* @param {Date} [lastRetrieved]
|
|
17398
17530
|
* @param {*} [options] Override http request option.
|
|
17399
17531
|
* @throws {RequiredError}
|
|
17400
17532
|
*/
|
|
17401
|
-
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> => {
|
|
17402
17534
|
const localVarPath = `/api/v1/bookings`;
|
|
17403
17535
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17404
17536
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -17447,6 +17579,10 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17447
17579
|
localVarQueryParameter['IsExternal'] = isExternal;
|
|
17448
17580
|
}
|
|
17449
17581
|
|
|
17582
|
+
if (paymentEnabled !== undefined) {
|
|
17583
|
+
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
17584
|
+
}
|
|
17585
|
+
|
|
17450
17586
|
if (page !== undefined) {
|
|
17451
17587
|
localVarQueryParameter['page'] = page;
|
|
17452
17588
|
}
|
|
@@ -17561,14 +17697,15 @@ export const BookingsApiFp = function(configuration?: Configuration) {
|
|
|
17561
17697
|
* @param {SortingOrder} [sortRequestDate]
|
|
17562
17698
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
17563
17699
|
* @param {boolean} [isExternal]
|
|
17700
|
+
* @param {boolean} [paymentEnabled]
|
|
17564
17701
|
* @param {number} [page]
|
|
17565
17702
|
* @param {number} [limit]
|
|
17566
17703
|
* @param {Date} [lastRetrieved]
|
|
17567
17704
|
* @param {*} [options] Override http request option.
|
|
17568
17705
|
* @throws {RequiredError}
|
|
17569
17706
|
*/
|
|
17570
|
-
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>> {
|
|
17571
|
-
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);
|
|
17572
17709
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17573
17710
|
},
|
|
17574
17711
|
}
|
|
@@ -17654,14 +17791,15 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
17654
17791
|
* @param {SortingOrder} [sortRequestDate]
|
|
17655
17792
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
17656
17793
|
* @param {boolean} [isExternal]
|
|
17794
|
+
* @param {boolean} [paymentEnabled]
|
|
17657
17795
|
* @param {number} [page]
|
|
17658
17796
|
* @param {number} [limit]
|
|
17659
17797
|
* @param {Date} [lastRetrieved]
|
|
17660
17798
|
* @param {*} [options] Override http request option.
|
|
17661
17799
|
* @throws {RequiredError}
|
|
17662
17800
|
*/
|
|
17663
|
-
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> {
|
|
17664
|
-
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));
|
|
17665
17803
|
},
|
|
17666
17804
|
};
|
|
17667
17805
|
};
|
|
@@ -17758,6 +17896,7 @@ export class BookingsApi extends BaseAPI {
|
|
|
17758
17896
|
* @param {SortingOrder} [sortRequestDate]
|
|
17759
17897
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
17760
17898
|
* @param {boolean} [isExternal]
|
|
17899
|
+
* @param {boolean} [paymentEnabled]
|
|
17761
17900
|
* @param {number} [page]
|
|
17762
17901
|
* @param {number} [limit]
|
|
17763
17902
|
* @param {Date} [lastRetrieved]
|
|
@@ -17765,8 +17904,8 @@ export class BookingsApi extends BaseAPI {
|
|
|
17765
17904
|
* @throws {RequiredError}
|
|
17766
17905
|
* @memberof BookingsApi
|
|
17767
17906
|
*/
|
|
17768
|
-
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) {
|
|
17769
|
-
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));
|
|
17770
17909
|
}
|
|
17771
17910
|
}
|
|
17772
17911
|
|
|
@@ -19705,13 +19844,14 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
19705
19844
|
* @param {SortingOrder} [sortRequestDate]
|
|
19706
19845
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
19707
19846
|
* @param {boolean} [isExternal]
|
|
19847
|
+
* @param {boolean} [paymentEnabled]
|
|
19708
19848
|
* @param {number} [page]
|
|
19709
19849
|
* @param {number} [limit]
|
|
19710
19850
|
* @param {Date} [lastRetrieved]
|
|
19711
19851
|
* @param {*} [options] Override http request option.
|
|
19712
19852
|
* @throws {RequiredError}
|
|
19713
19853
|
*/
|
|
19714
|
-
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> => {
|
|
19715
19855
|
const localVarPath = `/api/v1/consultations`;
|
|
19716
19856
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19717
19857
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -19760,6 +19900,10 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
19760
19900
|
localVarQueryParameter['IsExternal'] = isExternal;
|
|
19761
19901
|
}
|
|
19762
19902
|
|
|
19903
|
+
if (paymentEnabled !== undefined) {
|
|
19904
|
+
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
19905
|
+
}
|
|
19906
|
+
|
|
19763
19907
|
if (page !== undefined) {
|
|
19764
19908
|
localVarQueryParameter['page'] = page;
|
|
19765
19909
|
}
|
|
@@ -19874,14 +20018,15 @@ export const ConsultationsApiFp = function(configuration?: Configuration) {
|
|
|
19874
20018
|
* @param {SortingOrder} [sortRequestDate]
|
|
19875
20019
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
19876
20020
|
* @param {boolean} [isExternal]
|
|
20021
|
+
* @param {boolean} [paymentEnabled]
|
|
19877
20022
|
* @param {number} [page]
|
|
19878
20023
|
* @param {number} [limit]
|
|
19879
20024
|
* @param {Date} [lastRetrieved]
|
|
19880
20025
|
* @param {*} [options] Override http request option.
|
|
19881
20026
|
* @throws {RequiredError}
|
|
19882
20027
|
*/
|
|
19883
|
-
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>> {
|
|
19884
|
-
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);
|
|
19885
20030
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19886
20031
|
},
|
|
19887
20032
|
}
|
|
@@ -19967,14 +20112,15 @@ export const ConsultationsApiFactory = function (configuration?: Configuration,
|
|
|
19967
20112
|
* @param {SortingOrder} [sortRequestDate]
|
|
19968
20113
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
19969
20114
|
* @param {boolean} [isExternal]
|
|
20115
|
+
* @param {boolean} [paymentEnabled]
|
|
19970
20116
|
* @param {number} [page]
|
|
19971
20117
|
* @param {number} [limit]
|
|
19972
20118
|
* @param {Date} [lastRetrieved]
|
|
19973
20119
|
* @param {*} [options] Override http request option.
|
|
19974
20120
|
* @throws {RequiredError}
|
|
19975
20121
|
*/
|
|
19976
|
-
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> {
|
|
19977
|
-
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));
|
|
19978
20124
|
},
|
|
19979
20125
|
};
|
|
19980
20126
|
};
|
|
@@ -20071,6 +20217,7 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
20071
20217
|
* @param {SortingOrder} [sortRequestDate]
|
|
20072
20218
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
20073
20219
|
* @param {boolean} [isExternal]
|
|
20220
|
+
* @param {boolean} [paymentEnabled]
|
|
20074
20221
|
* @param {number} [page]
|
|
20075
20222
|
* @param {number} [limit]
|
|
20076
20223
|
* @param {Date} [lastRetrieved]
|
|
@@ -20078,8 +20225,8 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
20078
20225
|
* @throws {RequiredError}
|
|
20079
20226
|
* @memberof ConsultationsApi
|
|
20080
20227
|
*/
|
|
20081
|
-
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) {
|
|
20082
|
-
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));
|
|
20083
20230
|
}
|
|
20084
20231
|
}
|
|
20085
20232
|
|
|
@@ -22955,6 +23102,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
22955
23102
|
* @param {string} [exceptHospitalId]
|
|
22956
23103
|
* @param {string} [exceptDealId]
|
|
22957
23104
|
* @param {Array<string>} [ids]
|
|
23105
|
+
* @param {number} [serviceDuration]
|
|
22958
23106
|
* @param {string} [languageCode]
|
|
22959
23107
|
* @param {boolean} [showHidden]
|
|
22960
23108
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -22964,7 +23112,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
22964
23112
|
* @param {*} [options] Override http request option.
|
|
22965
23113
|
* @throws {RequiredError}
|
|
22966
23114
|
*/
|
|
22967
|
-
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> => {
|
|
22968
23116
|
const localVarPath = `/api/v1/deals`;
|
|
22969
23117
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22970
23118
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -23029,6 +23177,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
23029
23177
|
localVarQueryParameter['Ids'] = ids;
|
|
23030
23178
|
}
|
|
23031
23179
|
|
|
23180
|
+
if (serviceDuration !== undefined) {
|
|
23181
|
+
localVarQueryParameter['ServiceDuration'] = serviceDuration;
|
|
23182
|
+
}
|
|
23183
|
+
|
|
23032
23184
|
if (languageCode !== undefined) {
|
|
23033
23185
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
23034
23186
|
}
|
|
@@ -23119,6 +23271,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
23119
23271
|
* @param {string} [exceptHospitalId]
|
|
23120
23272
|
* @param {string} [exceptDealId]
|
|
23121
23273
|
* @param {Array<string>} [ids]
|
|
23274
|
+
* @param {number} [serviceDuration]
|
|
23122
23275
|
* @param {string} [languageCode]
|
|
23123
23276
|
* @param {boolean} [showHidden]
|
|
23124
23277
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -23128,7 +23281,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
23128
23281
|
* @param {*} [options] Override http request option.
|
|
23129
23282
|
* @throws {RequiredError}
|
|
23130
23283
|
*/
|
|
23131
|
-
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> => {
|
|
23132
23285
|
const localVarPath = `/api/v1/deals/simple`;
|
|
23133
23286
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23134
23287
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -23193,6 +23346,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
23193
23346
|
localVarQueryParameter['Ids'] = ids;
|
|
23194
23347
|
}
|
|
23195
23348
|
|
|
23349
|
+
if (serviceDuration !== undefined) {
|
|
23350
|
+
localVarQueryParameter['ServiceDuration'] = serviceDuration;
|
|
23351
|
+
}
|
|
23352
|
+
|
|
23196
23353
|
if (languageCode !== undefined) {
|
|
23197
23354
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
23198
23355
|
}
|
|
@@ -23471,6 +23628,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
23471
23628
|
* @param {string} [exceptHospitalId]
|
|
23472
23629
|
* @param {string} [exceptDealId]
|
|
23473
23630
|
* @param {Array<string>} [ids]
|
|
23631
|
+
* @param {number} [serviceDuration]
|
|
23474
23632
|
* @param {string} [languageCode]
|
|
23475
23633
|
* @param {boolean} [showHidden]
|
|
23476
23634
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -23480,8 +23638,8 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
23480
23638
|
* @param {*} [options] Override http request option.
|
|
23481
23639
|
* @throws {RequiredError}
|
|
23482
23640
|
*/
|
|
23483
|
-
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>> {
|
|
23484
|
-
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);
|
|
23485
23643
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23486
23644
|
},
|
|
23487
23645
|
/**
|
|
@@ -23510,6 +23668,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
23510
23668
|
* @param {string} [exceptHospitalId]
|
|
23511
23669
|
* @param {string} [exceptDealId]
|
|
23512
23670
|
* @param {Array<string>} [ids]
|
|
23671
|
+
* @param {number} [serviceDuration]
|
|
23513
23672
|
* @param {string} [languageCode]
|
|
23514
23673
|
* @param {boolean} [showHidden]
|
|
23515
23674
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -23519,8 +23678,8 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
23519
23678
|
* @param {*} [options] Override http request option.
|
|
23520
23679
|
* @throws {RequiredError}
|
|
23521
23680
|
*/
|
|
23522
|
-
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>> {
|
|
23523
|
-
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);
|
|
23524
23683
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23525
23684
|
},
|
|
23526
23685
|
/**
|
|
@@ -23716,6 +23875,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
23716
23875
|
* @param {string} [exceptHospitalId]
|
|
23717
23876
|
* @param {string} [exceptDealId]
|
|
23718
23877
|
* @param {Array<string>} [ids]
|
|
23878
|
+
* @param {number} [serviceDuration]
|
|
23719
23879
|
* @param {string} [languageCode]
|
|
23720
23880
|
* @param {boolean} [showHidden]
|
|
23721
23881
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -23725,8 +23885,8 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
23725
23885
|
* @param {*} [options] Override http request option.
|
|
23726
23886
|
* @throws {RequiredError}
|
|
23727
23887
|
*/
|
|
23728
|
-
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> {
|
|
23729
|
-
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));
|
|
23730
23890
|
},
|
|
23731
23891
|
/**
|
|
23732
23892
|
*
|
|
@@ -23753,6 +23913,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
23753
23913
|
* @param {string} [exceptHospitalId]
|
|
23754
23914
|
* @param {string} [exceptDealId]
|
|
23755
23915
|
* @param {Array<string>} [ids]
|
|
23916
|
+
* @param {number} [serviceDuration]
|
|
23756
23917
|
* @param {string} [languageCode]
|
|
23757
23918
|
* @param {boolean} [showHidden]
|
|
23758
23919
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -23762,8 +23923,8 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
23762
23923
|
* @param {*} [options] Override http request option.
|
|
23763
23924
|
* @throws {RequiredError}
|
|
23764
23925
|
*/
|
|
23765
|
-
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> {
|
|
23766
|
-
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));
|
|
23767
23928
|
},
|
|
23768
23929
|
/**
|
|
23769
23930
|
*
|
|
@@ -23983,6 +24144,7 @@ export class DealsApi extends BaseAPI {
|
|
|
23983
24144
|
* @param {string} [exceptHospitalId]
|
|
23984
24145
|
* @param {string} [exceptDealId]
|
|
23985
24146
|
* @param {Array<string>} [ids]
|
|
24147
|
+
* @param {number} [serviceDuration]
|
|
23986
24148
|
* @param {string} [languageCode]
|
|
23987
24149
|
* @param {boolean} [showHidden]
|
|
23988
24150
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -23993,8 +24155,8 @@ export class DealsApi extends BaseAPI {
|
|
|
23993
24155
|
* @throws {RequiredError}
|
|
23994
24156
|
* @memberof DealsApi
|
|
23995
24157
|
*/
|
|
23996
|
-
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) {
|
|
23997
|
-
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));
|
|
23998
24160
|
}
|
|
23999
24161
|
|
|
24000
24162
|
/**
|
|
@@ -24024,6 +24186,7 @@ export class DealsApi extends BaseAPI {
|
|
|
24024
24186
|
* @param {string} [exceptHospitalId]
|
|
24025
24187
|
* @param {string} [exceptDealId]
|
|
24026
24188
|
* @param {Array<string>} [ids]
|
|
24189
|
+
* @param {number} [serviceDuration]
|
|
24027
24190
|
* @param {string} [languageCode]
|
|
24028
24191
|
* @param {boolean} [showHidden]
|
|
24029
24192
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -24034,8 +24197,8 @@ export class DealsApi extends BaseAPI {
|
|
|
24034
24197
|
* @throws {RequiredError}
|
|
24035
24198
|
* @memberof DealsApi
|
|
24036
24199
|
*/
|
|
24037
|
-
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) {
|
|
24038
|
-
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));
|
|
24039
24202
|
}
|
|
24040
24203
|
|
|
24041
24204
|
/**
|
|
@@ -24840,6 +25003,238 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
24840
25003
|
options: localVarRequestOptions,
|
|
24841
25004
|
};
|
|
24842
25005
|
},
|
|
25006
|
+
/**
|
|
25007
|
+
*
|
|
25008
|
+
* @summary Get all DoctorEducations.
|
|
25009
|
+
* @param {string} doctorId
|
|
25010
|
+
* @param {string} [language]
|
|
25011
|
+
* @param {number} [page]
|
|
25012
|
+
* @param {number} [limit]
|
|
25013
|
+
* @param {Date} [lastRetrieved]
|
|
25014
|
+
* @param {*} [options] Override http request option.
|
|
25015
|
+
* @throws {RequiredError}
|
|
25016
|
+
*/
|
|
25017
|
+
apiV1DoctorsDoctorIdLanguagesGet: async (doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25018
|
+
// verify required parameter 'doctorId' is not null or undefined
|
|
25019
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesGet', 'doctorId', doctorId)
|
|
25020
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/languages`
|
|
25021
|
+
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
|
|
25022
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25023
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25024
|
+
let baseOptions;
|
|
25025
|
+
if (configuration) {
|
|
25026
|
+
baseOptions = configuration.baseOptions;
|
|
25027
|
+
}
|
|
25028
|
+
|
|
25029
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
25030
|
+
const localVarHeaderParameter = {} as any;
|
|
25031
|
+
const localVarQueryParameter = {} as any;
|
|
25032
|
+
|
|
25033
|
+
// authentication oauth2 required
|
|
25034
|
+
// oauth required
|
|
25035
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
25036
|
+
|
|
25037
|
+
if (language !== undefined) {
|
|
25038
|
+
localVarQueryParameter['Language'] = language;
|
|
25039
|
+
}
|
|
25040
|
+
|
|
25041
|
+
if (page !== undefined) {
|
|
25042
|
+
localVarQueryParameter['page'] = page;
|
|
25043
|
+
}
|
|
25044
|
+
|
|
25045
|
+
if (limit !== undefined) {
|
|
25046
|
+
localVarQueryParameter['limit'] = limit;
|
|
25047
|
+
}
|
|
25048
|
+
|
|
25049
|
+
if (lastRetrieved !== undefined) {
|
|
25050
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
25051
|
+
(lastRetrieved as any).toISOString() :
|
|
25052
|
+
lastRetrieved;
|
|
25053
|
+
}
|
|
25054
|
+
|
|
25055
|
+
|
|
25056
|
+
|
|
25057
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25058
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25059
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25060
|
+
|
|
25061
|
+
return {
|
|
25062
|
+
url: toPathString(localVarUrlObj),
|
|
25063
|
+
options: localVarRequestOptions,
|
|
25064
|
+
};
|
|
25065
|
+
},
|
|
25066
|
+
/**
|
|
25067
|
+
*
|
|
25068
|
+
* @summary Delete DoctorEducation
|
|
25069
|
+
* @param {string} doctorId
|
|
25070
|
+
* @param {string} languageId
|
|
25071
|
+
* @param {*} [options] Override http request option.
|
|
25072
|
+
* @throws {RequiredError}
|
|
25073
|
+
*/
|
|
25074
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdDelete: async (doctorId: string, languageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25075
|
+
// verify required parameter 'doctorId' is not null or undefined
|
|
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}`
|
|
25080
|
+
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
25081
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
25082
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25083
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25084
|
+
let baseOptions;
|
|
25085
|
+
if (configuration) {
|
|
25086
|
+
baseOptions = configuration.baseOptions;
|
|
25087
|
+
}
|
|
25088
|
+
|
|
25089
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
25090
|
+
const localVarHeaderParameter = {} as any;
|
|
25091
|
+
const localVarQueryParameter = {} as any;
|
|
25092
|
+
|
|
25093
|
+
// authentication oauth2 required
|
|
25094
|
+
// oauth required
|
|
25095
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
25096
|
+
|
|
25097
|
+
|
|
25098
|
+
|
|
25099
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25100
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25101
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25102
|
+
|
|
25103
|
+
return {
|
|
25104
|
+
url: toPathString(localVarUrlObj),
|
|
25105
|
+
options: localVarRequestOptions,
|
|
25106
|
+
};
|
|
25107
|
+
},
|
|
25108
|
+
/**
|
|
25109
|
+
*
|
|
25110
|
+
* @summary Get DoctorEducation.
|
|
25111
|
+
* @param {string} doctorId
|
|
25112
|
+
* @param {string} languageId
|
|
25113
|
+
* @param {*} [options] Override http request option.
|
|
25114
|
+
* @throws {RequiredError}
|
|
25115
|
+
*/
|
|
25116
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdGet: async (doctorId: string, languageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25117
|
+
// verify required parameter 'doctorId' is not null or undefined
|
|
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}`
|
|
25122
|
+
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
25123
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
25124
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25125
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25126
|
+
let baseOptions;
|
|
25127
|
+
if (configuration) {
|
|
25128
|
+
baseOptions = configuration.baseOptions;
|
|
25129
|
+
}
|
|
25130
|
+
|
|
25131
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
25132
|
+
const localVarHeaderParameter = {} as any;
|
|
25133
|
+
const localVarQueryParameter = {} as any;
|
|
25134
|
+
|
|
25135
|
+
// authentication oauth2 required
|
|
25136
|
+
// oauth required
|
|
25137
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
25138
|
+
|
|
25139
|
+
|
|
25140
|
+
|
|
25141
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25142
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25143
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25144
|
+
|
|
25145
|
+
return {
|
|
25146
|
+
url: toPathString(localVarUrlObj),
|
|
25147
|
+
options: localVarRequestOptions,
|
|
25148
|
+
};
|
|
25149
|
+
},
|
|
25150
|
+
/**
|
|
25151
|
+
*
|
|
25152
|
+
* @summary Update DoctorEducation.
|
|
25153
|
+
* @param {string} doctorId
|
|
25154
|
+
* @param {string} languageId
|
|
25155
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
25156
|
+
* @param {*} [options] Override http request option.
|
|
25157
|
+
* @throws {RequiredError}
|
|
25158
|
+
*/
|
|
25159
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdPut: async (doctorId: string, languageId: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25160
|
+
// verify required parameter 'doctorId' is not null or undefined
|
|
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}`
|
|
25165
|
+
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
25166
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
25167
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25168
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25169
|
+
let baseOptions;
|
|
25170
|
+
if (configuration) {
|
|
25171
|
+
baseOptions = configuration.baseOptions;
|
|
25172
|
+
}
|
|
25173
|
+
|
|
25174
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
25175
|
+
const localVarHeaderParameter = {} as any;
|
|
25176
|
+
const localVarQueryParameter = {} as any;
|
|
25177
|
+
|
|
25178
|
+
// authentication oauth2 required
|
|
25179
|
+
// oauth required
|
|
25180
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
25181
|
+
|
|
25182
|
+
|
|
25183
|
+
|
|
25184
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25185
|
+
|
|
25186
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25187
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25188
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25189
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration)
|
|
25190
|
+
|
|
25191
|
+
return {
|
|
25192
|
+
url: toPathString(localVarUrlObj),
|
|
25193
|
+
options: localVarRequestOptions,
|
|
25194
|
+
};
|
|
25195
|
+
},
|
|
25196
|
+
/**
|
|
25197
|
+
*
|
|
25198
|
+
* @summary Create DoctorEducation.
|
|
25199
|
+
* @param {string} doctorId
|
|
25200
|
+
* @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
|
|
25201
|
+
* @param {*} [options] Override http request option.
|
|
25202
|
+
* @throws {RequiredError}
|
|
25203
|
+
*/
|
|
25204
|
+
apiV1DoctorsDoctorIdLanguagesPost: async (doctorId: string, createDoctorLanguageCommand?: CreateDoctorLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25205
|
+
// verify required parameter 'doctorId' is not null or undefined
|
|
25206
|
+
assertParamExists('apiV1DoctorsDoctorIdLanguagesPost', 'doctorId', doctorId)
|
|
25207
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/languages`
|
|
25208
|
+
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
|
|
25209
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25210
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25211
|
+
let baseOptions;
|
|
25212
|
+
if (configuration) {
|
|
25213
|
+
baseOptions = configuration.baseOptions;
|
|
25214
|
+
}
|
|
25215
|
+
|
|
25216
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
25217
|
+
const localVarHeaderParameter = {} as any;
|
|
25218
|
+
const localVarQueryParameter = {} as any;
|
|
25219
|
+
|
|
25220
|
+
// authentication oauth2 required
|
|
25221
|
+
// oauth required
|
|
25222
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
25223
|
+
|
|
25224
|
+
|
|
25225
|
+
|
|
25226
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25227
|
+
|
|
25228
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25229
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25230
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25231
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createDoctorLanguageCommand, localVarRequestOptions, configuration)
|
|
25232
|
+
|
|
25233
|
+
return {
|
|
25234
|
+
url: toPathString(localVarUrlObj),
|
|
25235
|
+
options: localVarRequestOptions,
|
|
25236
|
+
};
|
|
25237
|
+
},
|
|
24843
25238
|
/**
|
|
24844
25239
|
*
|
|
24845
25240
|
* @summary Get all DoctorMedias.
|
|
@@ -26147,6 +26542,70 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
26147
26542
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options);
|
|
26148
26543
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26149
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
|
+
},
|
|
26150
26609
|
/**
|
|
26151
26610
|
*
|
|
26152
26611
|
* @summary Get all DoctorMedias.
|
|
@@ -26634,6 +27093,65 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
26634
27093
|
apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DoctorModel> {
|
|
26635
27094
|
return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
26636
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
|
+
},
|
|
26637
27155
|
/**
|
|
26638
27156
|
*
|
|
26639
27157
|
* @summary Get all DoctorMedias.
|
|
@@ -27133,6 +27651,75 @@ export class DoctorsApi extends BaseAPI {
|
|
|
27133
27651
|
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
27134
27652
|
}
|
|
27135
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
|
+
|
|
27136
27723
|
/**
|
|
27137
27724
|
*
|
|
27138
27725
|
* @summary Get all DoctorMedias.
|
|
@@ -33509,7 +34096,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
33509
34096
|
* @param {*} [options] Override http request option.
|
|
33510
34097
|
* @throws {RequiredError}
|
|
33511
34098
|
*/
|
|
33512
|
-
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>> {
|
|
33513
34100
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options);
|
|
33514
34101
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33515
34102
|
},
|
|
@@ -34302,7 +34889,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
34302
34889
|
* @param {*} [options] Override http request option.
|
|
34303
34890
|
* @throws {RequiredError}
|
|
34304
34891
|
*/
|
|
34305
|
-
apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options?: any): AxiosPromise<
|
|
34892
|
+
apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId: string, createHospitalWorkingDayCommand?: CreateHospitalWorkingDayCommand, options?: any): AxiosPromise<WorkingDaysModel> {
|
|
34306
34893
|
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysPost(hospitalId, createHospitalWorkingDayCommand, options).then((request) => request(axios, basePath));
|
|
34307
34894
|
},
|
|
34308
34895
|
/**
|