ch-admin-api-client-typescript 2.8.5 → 2.8.6
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 +453 -4
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +339 -8
- package/package.json +1 -1
- package/src/api.ts +608 -7
package/src/api.ts
CHANGED
|
@@ -3994,6 +3994,18 @@ export interface CreateHospitalServiceCommand {
|
|
|
3994
3994
|
* @memberof CreateHospitalServiceCommand
|
|
3995
3995
|
*/
|
|
3996
3996
|
'order'?: number;
|
|
3997
|
+
/**
|
|
3998
|
+
*
|
|
3999
|
+
* @type {string}
|
|
4000
|
+
* @memberof CreateHospitalServiceCommand
|
|
4001
|
+
*/
|
|
4002
|
+
'photo'?: string | null;
|
|
4003
|
+
/**
|
|
4004
|
+
*
|
|
4005
|
+
* @type {string}
|
|
4006
|
+
* @memberof CreateHospitalServiceCommand
|
|
4007
|
+
*/
|
|
4008
|
+
'photoThumbnail'?: string | null;
|
|
3997
4009
|
}
|
|
3998
4010
|
/**
|
|
3999
4011
|
*
|
|
@@ -4031,6 +4043,30 @@ export interface CreateHospitalSpecialtyCommand {
|
|
|
4031
4043
|
* @memberof CreateHospitalSpecialtyCommand
|
|
4032
4044
|
*/
|
|
4033
4045
|
'order'?: number;
|
|
4046
|
+
/**
|
|
4047
|
+
*
|
|
4048
|
+
* @type {string}
|
|
4049
|
+
* @memberof CreateHospitalSpecialtyCommand
|
|
4050
|
+
*/
|
|
4051
|
+
'photo'?: string | null;
|
|
4052
|
+
/**
|
|
4053
|
+
*
|
|
4054
|
+
* @type {string}
|
|
4055
|
+
* @memberof CreateHospitalSpecialtyCommand
|
|
4056
|
+
*/
|
|
4057
|
+
'photoThumbnail'?: string | null;
|
|
4058
|
+
/**
|
|
4059
|
+
*
|
|
4060
|
+
* @type {string}
|
|
4061
|
+
* @memberof CreateHospitalSpecialtyCommand
|
|
4062
|
+
*/
|
|
4063
|
+
'background'?: string | null;
|
|
4064
|
+
/**
|
|
4065
|
+
*
|
|
4066
|
+
* @type {string}
|
|
4067
|
+
* @memberof CreateHospitalSpecialtyCommand
|
|
4068
|
+
*/
|
|
4069
|
+
'backgroundThumbnail'?: string | null;
|
|
4034
4070
|
/**
|
|
4035
4071
|
*
|
|
4036
4072
|
* @type {Array<MediaModel>}
|
|
@@ -4501,6 +4537,85 @@ export interface CreateTemplateVersionCommand {
|
|
|
4501
4537
|
*/
|
|
4502
4538
|
'htmlContent'?: string | null;
|
|
4503
4539
|
}
|
|
4540
|
+
/**
|
|
4541
|
+
*
|
|
4542
|
+
* @export
|
|
4543
|
+
* @interface DashBoardModel
|
|
4544
|
+
*/
|
|
4545
|
+
export interface DashBoardModel {
|
|
4546
|
+
/**
|
|
4547
|
+
*
|
|
4548
|
+
* @type {number}
|
|
4549
|
+
* @memberof DashBoardModel
|
|
4550
|
+
*/
|
|
4551
|
+
'pendingApprovalConsultationsCount'?: number;
|
|
4552
|
+
/**
|
|
4553
|
+
*
|
|
4554
|
+
* @type {number}
|
|
4555
|
+
* @memberof DashBoardModel
|
|
4556
|
+
*/
|
|
4557
|
+
'finishedConsultationsCount'?: number;
|
|
4558
|
+
/**
|
|
4559
|
+
*
|
|
4560
|
+
* @type {number}
|
|
4561
|
+
* @memberof DashBoardModel
|
|
4562
|
+
*/
|
|
4563
|
+
'consultationsRevenue'?: number;
|
|
4564
|
+
/**
|
|
4565
|
+
*
|
|
4566
|
+
* @type {Array<any>}
|
|
4567
|
+
* @memberof DashBoardModel
|
|
4568
|
+
*/
|
|
4569
|
+
'monthlyConsultationList'?: Array<any> | null;
|
|
4570
|
+
/**
|
|
4571
|
+
*
|
|
4572
|
+
* @type {number}
|
|
4573
|
+
* @memberof DashBoardModel
|
|
4574
|
+
*/
|
|
4575
|
+
'pendingApprovalDealsCount'?: number;
|
|
4576
|
+
/**
|
|
4577
|
+
*
|
|
4578
|
+
* @type {number}
|
|
4579
|
+
* @memberof DashBoardModel
|
|
4580
|
+
*/
|
|
4581
|
+
'finishedDealsCount'?: number;
|
|
4582
|
+
/**
|
|
4583
|
+
*
|
|
4584
|
+
* @type {number}
|
|
4585
|
+
* @memberof DashBoardModel
|
|
4586
|
+
*/
|
|
4587
|
+
'dealsRevenue'?: number;
|
|
4588
|
+
/**
|
|
4589
|
+
*
|
|
4590
|
+
* @type {Array<any>}
|
|
4591
|
+
* @memberof DashBoardModel
|
|
4592
|
+
*/
|
|
4593
|
+
'monthlyBookingList'?: Array<any> | null;
|
|
4594
|
+
/**
|
|
4595
|
+
*
|
|
4596
|
+
* @type {number}
|
|
4597
|
+
* @memberof DashBoardModel
|
|
4598
|
+
*/
|
|
4599
|
+
'articleReleased'?: number;
|
|
4600
|
+
/**
|
|
4601
|
+
*
|
|
4602
|
+
* @type {number}
|
|
4603
|
+
* @memberof DashBoardModel
|
|
4604
|
+
*/
|
|
4605
|
+
'specialtiesUsed'?: number;
|
|
4606
|
+
/**
|
|
4607
|
+
*
|
|
4608
|
+
* @type {number}
|
|
4609
|
+
* @memberof DashBoardModel
|
|
4610
|
+
*/
|
|
4611
|
+
'doctorsReleased'?: number;
|
|
4612
|
+
/**
|
|
4613
|
+
*
|
|
4614
|
+
* @type {number}
|
|
4615
|
+
* @memberof DashBoardModel
|
|
4616
|
+
*/
|
|
4617
|
+
'totalHospitalsReleased'?: number;
|
|
4618
|
+
}
|
|
4504
4619
|
/**
|
|
4505
4620
|
*
|
|
4506
4621
|
* @export
|
|
@@ -5988,6 +6103,20 @@ export interface DoctorsSimpleModel {
|
|
|
5988
6103
|
*/
|
|
5989
6104
|
'metaData'?: PagedListMetaData;
|
|
5990
6105
|
}
|
|
6106
|
+
/**
|
|
6107
|
+
*
|
|
6108
|
+
* @export
|
|
6109
|
+
* @enum {string}
|
|
6110
|
+
*/
|
|
6111
|
+
|
|
6112
|
+
export enum Duration {
|
|
6113
|
+
CurrentMonth = 'Current_Month',
|
|
6114
|
+
Last3Month = 'Last_3_Month',
|
|
6115
|
+
Last6Month = 'Last_6_Month',
|
|
6116
|
+
Last9Month = 'Last_9_Month',
|
|
6117
|
+
Last12Month = 'Last_12_Month'
|
|
6118
|
+
}
|
|
6119
|
+
|
|
5991
6120
|
/**
|
|
5992
6121
|
*
|
|
5993
6122
|
* @export
|
|
@@ -7226,6 +7355,18 @@ export interface HospitalServiceItemModel {
|
|
|
7226
7355
|
* @memberof HospitalServiceItemModel
|
|
7227
7356
|
*/
|
|
7228
7357
|
'confirmed'?: boolean;
|
|
7358
|
+
/**
|
|
7359
|
+
*
|
|
7360
|
+
* @type {string}
|
|
7361
|
+
* @memberof HospitalServiceItemModel
|
|
7362
|
+
*/
|
|
7363
|
+
'photo'?: string | null;
|
|
7364
|
+
/**
|
|
7365
|
+
*
|
|
7366
|
+
* @type {string}
|
|
7367
|
+
* @memberof HospitalServiceItemModel
|
|
7368
|
+
*/
|
|
7369
|
+
'photoThumbnail'?: string | null;
|
|
7229
7370
|
/**
|
|
7230
7371
|
*
|
|
7231
7372
|
* @type {AuditableEntity}
|
|
@@ -7365,6 +7506,18 @@ export interface HospitalServiceModel {
|
|
|
7365
7506
|
* @memberof HospitalServiceModel
|
|
7366
7507
|
*/
|
|
7367
7508
|
'confirmed'?: boolean;
|
|
7509
|
+
/**
|
|
7510
|
+
*
|
|
7511
|
+
* @type {string}
|
|
7512
|
+
* @memberof HospitalServiceModel
|
|
7513
|
+
*/
|
|
7514
|
+
'photo'?: string | null;
|
|
7515
|
+
/**
|
|
7516
|
+
*
|
|
7517
|
+
* @type {string}
|
|
7518
|
+
* @memberof HospitalServiceModel
|
|
7519
|
+
*/
|
|
7520
|
+
'photoThumbnail'?: string | null;
|
|
7368
7521
|
/**
|
|
7369
7522
|
*
|
|
7370
7523
|
* @type {AuditableEntity}
|
|
@@ -7441,6 +7594,25 @@ export interface HospitalSpecialtiesModel {
|
|
|
7441
7594
|
*/
|
|
7442
7595
|
'metaData'?: PagedListMetaData;
|
|
7443
7596
|
}
|
|
7597
|
+
/**
|
|
7598
|
+
*
|
|
7599
|
+
* @export
|
|
7600
|
+
* @interface HospitalSpecialtiesSimpleModel
|
|
7601
|
+
*/
|
|
7602
|
+
export interface HospitalSpecialtiesSimpleModel {
|
|
7603
|
+
/**
|
|
7604
|
+
*
|
|
7605
|
+
* @type {Array<HospitalSpecialtySimpleItemModel>}
|
|
7606
|
+
* @memberof HospitalSpecialtiesSimpleModel
|
|
7607
|
+
*/
|
|
7608
|
+
'items'?: Array<HospitalSpecialtySimpleItemModel> | null;
|
|
7609
|
+
/**
|
|
7610
|
+
*
|
|
7611
|
+
* @type {PagedListMetaData}
|
|
7612
|
+
* @memberof HospitalSpecialtiesSimpleModel
|
|
7613
|
+
*/
|
|
7614
|
+
'metaData'?: PagedListMetaData;
|
|
7615
|
+
}
|
|
7444
7616
|
/**
|
|
7445
7617
|
*
|
|
7446
7618
|
* @export
|
|
@@ -7555,6 +7727,30 @@ export interface HospitalSpecialtyItemModel {
|
|
|
7555
7727
|
* @memberof HospitalSpecialtyItemModel
|
|
7556
7728
|
*/
|
|
7557
7729
|
'confirmed'?: boolean;
|
|
7730
|
+
/**
|
|
7731
|
+
*
|
|
7732
|
+
* @type {string}
|
|
7733
|
+
* @memberof HospitalSpecialtyItemModel
|
|
7734
|
+
*/
|
|
7735
|
+
'photo'?: string | null;
|
|
7736
|
+
/**
|
|
7737
|
+
*
|
|
7738
|
+
* @type {string}
|
|
7739
|
+
* @memberof HospitalSpecialtyItemModel
|
|
7740
|
+
*/
|
|
7741
|
+
'photoThumbnail'?: string | null;
|
|
7742
|
+
/**
|
|
7743
|
+
*
|
|
7744
|
+
* @type {string}
|
|
7745
|
+
* @memberof HospitalSpecialtyItemModel
|
|
7746
|
+
*/
|
|
7747
|
+
'background'?: string | null;
|
|
7748
|
+
/**
|
|
7749
|
+
*
|
|
7750
|
+
* @type {string}
|
|
7751
|
+
* @memberof HospitalSpecialtyItemModel
|
|
7752
|
+
*/
|
|
7753
|
+
'backgroundThumbnail'?: string | null;
|
|
7558
7754
|
/**
|
|
7559
7755
|
*
|
|
7560
7756
|
* @type {Array<MediaModel>}
|
|
@@ -7682,6 +7878,30 @@ export interface HospitalSpecialtyModel {
|
|
|
7682
7878
|
* @memberof HospitalSpecialtyModel
|
|
7683
7879
|
*/
|
|
7684
7880
|
'confirmed'?: boolean;
|
|
7881
|
+
/**
|
|
7882
|
+
*
|
|
7883
|
+
* @type {string}
|
|
7884
|
+
* @memberof HospitalSpecialtyModel
|
|
7885
|
+
*/
|
|
7886
|
+
'photo'?: string | null;
|
|
7887
|
+
/**
|
|
7888
|
+
*
|
|
7889
|
+
* @type {string}
|
|
7890
|
+
* @memberof HospitalSpecialtyModel
|
|
7891
|
+
*/
|
|
7892
|
+
'photoThumbnail'?: string | null;
|
|
7893
|
+
/**
|
|
7894
|
+
*
|
|
7895
|
+
* @type {string}
|
|
7896
|
+
* @memberof HospitalSpecialtyModel
|
|
7897
|
+
*/
|
|
7898
|
+
'background'?: string | null;
|
|
7899
|
+
/**
|
|
7900
|
+
*
|
|
7901
|
+
* @type {string}
|
|
7902
|
+
* @memberof HospitalSpecialtyModel
|
|
7903
|
+
*/
|
|
7904
|
+
'backgroundThumbnail'?: string | null;
|
|
7685
7905
|
/**
|
|
7686
7906
|
*
|
|
7687
7907
|
* @type {Array<MediaModel>}
|
|
@@ -7701,6 +7921,49 @@ export interface HospitalSpecialtyModel {
|
|
|
7701
7921
|
*/
|
|
7702
7922
|
'languageCode'?: string | null;
|
|
7703
7923
|
}
|
|
7924
|
+
/**
|
|
7925
|
+
*
|
|
7926
|
+
* @export
|
|
7927
|
+
* @interface HospitalSpecialtySimpleItemModel
|
|
7928
|
+
*/
|
|
7929
|
+
export interface HospitalSpecialtySimpleItemModel {
|
|
7930
|
+
/**
|
|
7931
|
+
*
|
|
7932
|
+
* @type {string}
|
|
7933
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
7934
|
+
*/
|
|
7935
|
+
'id'?: string;
|
|
7936
|
+
/**
|
|
7937
|
+
*
|
|
7938
|
+
* @type {string}
|
|
7939
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
7940
|
+
*/
|
|
7941
|
+
'specialtyName'?: string | null;
|
|
7942
|
+
/**
|
|
7943
|
+
*
|
|
7944
|
+
* @type {string}
|
|
7945
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
7946
|
+
*/
|
|
7947
|
+
'hospitalSpecialtySlug'?: string | null;
|
|
7948
|
+
/**
|
|
7949
|
+
*
|
|
7950
|
+
* @type {string}
|
|
7951
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
7952
|
+
*/
|
|
7953
|
+
'description'?: string | null;
|
|
7954
|
+
/**
|
|
7955
|
+
*
|
|
7956
|
+
* @type {number}
|
|
7957
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
7958
|
+
*/
|
|
7959
|
+
'order'?: number;
|
|
7960
|
+
/**
|
|
7961
|
+
*
|
|
7962
|
+
* @type {boolean}
|
|
7963
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
7964
|
+
*/
|
|
7965
|
+
'confirmed'?: boolean;
|
|
7966
|
+
}
|
|
7704
7967
|
/**
|
|
7705
7968
|
*
|
|
7706
7969
|
* @export
|
|
@@ -11468,6 +11731,18 @@ export interface UpdateHospitalServiceCommand {
|
|
|
11468
11731
|
* @memberof UpdateHospitalServiceCommand
|
|
11469
11732
|
*/
|
|
11470
11733
|
'confirmed'?: boolean;
|
|
11734
|
+
/**
|
|
11735
|
+
*
|
|
11736
|
+
* @type {string}
|
|
11737
|
+
* @memberof UpdateHospitalServiceCommand
|
|
11738
|
+
*/
|
|
11739
|
+
'photo'?: string | null;
|
|
11740
|
+
/**
|
|
11741
|
+
*
|
|
11742
|
+
* @type {string}
|
|
11743
|
+
* @memberof UpdateHospitalServiceCommand
|
|
11744
|
+
*/
|
|
11745
|
+
'photoThumbnail'?: string | null;
|
|
11471
11746
|
}
|
|
11472
11747
|
/**
|
|
11473
11748
|
*
|
|
@@ -11517,6 +11792,30 @@ export interface UpdateHospitalSpecialtyCommand {
|
|
|
11517
11792
|
* @memberof UpdateHospitalSpecialtyCommand
|
|
11518
11793
|
*/
|
|
11519
11794
|
'confirmed'?: boolean;
|
|
11795
|
+
/**
|
|
11796
|
+
*
|
|
11797
|
+
* @type {string}
|
|
11798
|
+
* @memberof UpdateHospitalSpecialtyCommand
|
|
11799
|
+
*/
|
|
11800
|
+
'photo'?: string | null;
|
|
11801
|
+
/**
|
|
11802
|
+
*
|
|
11803
|
+
* @type {string}
|
|
11804
|
+
* @memberof UpdateHospitalSpecialtyCommand
|
|
11805
|
+
*/
|
|
11806
|
+
'photoThumbnail'?: string | null;
|
|
11807
|
+
/**
|
|
11808
|
+
*
|
|
11809
|
+
* @type {string}
|
|
11810
|
+
* @memberof UpdateHospitalSpecialtyCommand
|
|
11811
|
+
*/
|
|
11812
|
+
'background'?: string | null;
|
|
11813
|
+
/**
|
|
11814
|
+
*
|
|
11815
|
+
* @type {string}
|
|
11816
|
+
* @memberof UpdateHospitalSpecialtyCommand
|
|
11817
|
+
*/
|
|
11818
|
+
'backgroundThumbnail'?: string | null;
|
|
11520
11819
|
/**
|
|
11521
11820
|
*
|
|
11522
11821
|
* @type {Array<MediaModel>}
|
|
@@ -19960,6 +20259,115 @@ export class CountriesApi extends BaseAPI {
|
|
|
19960
20259
|
}
|
|
19961
20260
|
|
|
19962
20261
|
|
|
20262
|
+
/**
|
|
20263
|
+
* DashBoardApi - axios parameter creator
|
|
20264
|
+
* @export
|
|
20265
|
+
*/
|
|
20266
|
+
export const DashBoardApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
20267
|
+
return {
|
|
20268
|
+
/**
|
|
20269
|
+
*
|
|
20270
|
+
* @summary Create a DashBoard.
|
|
20271
|
+
* @param {Duration} duration
|
|
20272
|
+
* @param {*} [options] Override http request option.
|
|
20273
|
+
* @throws {RequiredError}
|
|
20274
|
+
*/
|
|
20275
|
+
apiV1DashboardDurationGet: async (duration: Duration, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20276
|
+
// verify required parameter 'duration' is not null or undefined
|
|
20277
|
+
assertParamExists('apiV1DashboardDurationGet', 'duration', duration)
|
|
20278
|
+
const localVarPath = `/api/v1/dashboard/{duration}`
|
|
20279
|
+
.replace(`{${"duration"}}`, encodeURIComponent(String(duration)));
|
|
20280
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20281
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20282
|
+
let baseOptions;
|
|
20283
|
+
if (configuration) {
|
|
20284
|
+
baseOptions = configuration.baseOptions;
|
|
20285
|
+
}
|
|
20286
|
+
|
|
20287
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
20288
|
+
const localVarHeaderParameter = {} as any;
|
|
20289
|
+
const localVarQueryParameter = {} as any;
|
|
20290
|
+
|
|
20291
|
+
// authentication oauth2 required
|
|
20292
|
+
// oauth required
|
|
20293
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
20294
|
+
|
|
20295
|
+
|
|
20296
|
+
|
|
20297
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20298
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20299
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20300
|
+
|
|
20301
|
+
return {
|
|
20302
|
+
url: toPathString(localVarUrlObj),
|
|
20303
|
+
options: localVarRequestOptions,
|
|
20304
|
+
};
|
|
20305
|
+
},
|
|
20306
|
+
}
|
|
20307
|
+
};
|
|
20308
|
+
|
|
20309
|
+
/**
|
|
20310
|
+
* DashBoardApi - functional programming interface
|
|
20311
|
+
* @export
|
|
20312
|
+
*/
|
|
20313
|
+
export const DashBoardApiFp = function(configuration?: Configuration) {
|
|
20314
|
+
const localVarAxiosParamCreator = DashBoardApiAxiosParamCreator(configuration)
|
|
20315
|
+
return {
|
|
20316
|
+
/**
|
|
20317
|
+
*
|
|
20318
|
+
* @summary Create a DashBoard.
|
|
20319
|
+
* @param {Duration} duration
|
|
20320
|
+
* @param {*} [options] Override http request option.
|
|
20321
|
+
* @throws {RequiredError}
|
|
20322
|
+
*/
|
|
20323
|
+
async apiV1DashboardDurationGet(duration: Duration, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DashBoardModel>> {
|
|
20324
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DashboardDurationGet(duration, options);
|
|
20325
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20326
|
+
},
|
|
20327
|
+
}
|
|
20328
|
+
};
|
|
20329
|
+
|
|
20330
|
+
/**
|
|
20331
|
+
* DashBoardApi - factory interface
|
|
20332
|
+
* @export
|
|
20333
|
+
*/
|
|
20334
|
+
export const DashBoardApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
20335
|
+
const localVarFp = DashBoardApiFp(configuration)
|
|
20336
|
+
return {
|
|
20337
|
+
/**
|
|
20338
|
+
*
|
|
20339
|
+
* @summary Create a DashBoard.
|
|
20340
|
+
* @param {Duration} duration
|
|
20341
|
+
* @param {*} [options] Override http request option.
|
|
20342
|
+
* @throws {RequiredError}
|
|
20343
|
+
*/
|
|
20344
|
+
apiV1DashboardDurationGet(duration: Duration, options?: any): AxiosPromise<DashBoardModel> {
|
|
20345
|
+
return localVarFp.apiV1DashboardDurationGet(duration, options).then((request) => request(axios, basePath));
|
|
20346
|
+
},
|
|
20347
|
+
};
|
|
20348
|
+
};
|
|
20349
|
+
|
|
20350
|
+
/**
|
|
20351
|
+
* DashBoardApi - object-oriented interface
|
|
20352
|
+
* @export
|
|
20353
|
+
* @class DashBoardApi
|
|
20354
|
+
* @extends {BaseAPI}
|
|
20355
|
+
*/
|
|
20356
|
+
export class DashBoardApi extends BaseAPI {
|
|
20357
|
+
/**
|
|
20358
|
+
*
|
|
20359
|
+
* @summary Create a DashBoard.
|
|
20360
|
+
* @param {Duration} duration
|
|
20361
|
+
* @param {*} [options] Override http request option.
|
|
20362
|
+
* @throws {RequiredError}
|
|
20363
|
+
* @memberof DashBoardApi
|
|
20364
|
+
*/
|
|
20365
|
+
public apiV1DashboardDurationGet(duration: Duration, options?: AxiosRequestConfig) {
|
|
20366
|
+
return DashBoardApiFp(this.configuration).apiV1DashboardDurationGet(duration, options).then((request) => request(this.axios, this.basePath));
|
|
20367
|
+
}
|
|
20368
|
+
}
|
|
20369
|
+
|
|
20370
|
+
|
|
19963
20371
|
/**
|
|
19964
20372
|
* DealsApi - axios parameter creator
|
|
19965
20373
|
* @export
|
|
@@ -28595,6 +29003,116 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
28595
29003
|
options: localVarRequestOptions,
|
|
28596
29004
|
};
|
|
28597
29005
|
},
|
|
29006
|
+
/**
|
|
29007
|
+
*
|
|
29008
|
+
* @summary Get all HospitalSpecialties.
|
|
29009
|
+
* @param {string} hospitalId
|
|
29010
|
+
* @param {string} [hospitalName]
|
|
29011
|
+
* @param {string} [hospitalSlug]
|
|
29012
|
+
* @param {string} [specialtyId]
|
|
29013
|
+
* @param {string} [specialtyName]
|
|
29014
|
+
* @param {string} [specialtyTypeId]
|
|
29015
|
+
* @param {string} [title]
|
|
29016
|
+
* @param {MarketingType} [marketingType]
|
|
29017
|
+
* @param {string} [languageCode]
|
|
29018
|
+
* @param {boolean} [showHidden]
|
|
29019
|
+
* @param {boolean} [returnDefaultValue]
|
|
29020
|
+
* @param {boolean} [includeServices]
|
|
29021
|
+
* @param {number} [page]
|
|
29022
|
+
* @param {number} [limit]
|
|
29023
|
+
* @param {Date} [lastRetrieved]
|
|
29024
|
+
* @param {*} [options] Override http request option.
|
|
29025
|
+
* @throws {RequiredError}
|
|
29026
|
+
*/
|
|
29027
|
+
apiV1HospitalsHospitalIdSpecialtiesSimpleGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29028
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
29029
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSimpleGet', 'hospitalId', hospitalId)
|
|
29030
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/simple`
|
|
29031
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
29032
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29033
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29034
|
+
let baseOptions;
|
|
29035
|
+
if (configuration) {
|
|
29036
|
+
baseOptions = configuration.baseOptions;
|
|
29037
|
+
}
|
|
29038
|
+
|
|
29039
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29040
|
+
const localVarHeaderParameter = {} as any;
|
|
29041
|
+
const localVarQueryParameter = {} as any;
|
|
29042
|
+
|
|
29043
|
+
// authentication oauth2 required
|
|
29044
|
+
// oauth required
|
|
29045
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29046
|
+
|
|
29047
|
+
if (hospitalName !== undefined) {
|
|
29048
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
29049
|
+
}
|
|
29050
|
+
|
|
29051
|
+
if (hospitalSlug !== undefined) {
|
|
29052
|
+
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
29053
|
+
}
|
|
29054
|
+
|
|
29055
|
+
if (specialtyId !== undefined) {
|
|
29056
|
+
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
29057
|
+
}
|
|
29058
|
+
|
|
29059
|
+
if (specialtyName !== undefined) {
|
|
29060
|
+
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
29061
|
+
}
|
|
29062
|
+
|
|
29063
|
+
if (specialtyTypeId !== undefined) {
|
|
29064
|
+
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
29065
|
+
}
|
|
29066
|
+
|
|
29067
|
+
if (title !== undefined) {
|
|
29068
|
+
localVarQueryParameter['Title'] = title;
|
|
29069
|
+
}
|
|
29070
|
+
|
|
29071
|
+
if (marketingType !== undefined) {
|
|
29072
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
29073
|
+
}
|
|
29074
|
+
|
|
29075
|
+
if (languageCode !== undefined) {
|
|
29076
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
29077
|
+
}
|
|
29078
|
+
|
|
29079
|
+
if (showHidden !== undefined) {
|
|
29080
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
29081
|
+
}
|
|
29082
|
+
|
|
29083
|
+
if (returnDefaultValue !== undefined) {
|
|
29084
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
29085
|
+
}
|
|
29086
|
+
|
|
29087
|
+
if (includeServices !== undefined) {
|
|
29088
|
+
localVarQueryParameter['IncludeServices'] = includeServices;
|
|
29089
|
+
}
|
|
29090
|
+
|
|
29091
|
+
if (page !== undefined) {
|
|
29092
|
+
localVarQueryParameter['page'] = page;
|
|
29093
|
+
}
|
|
29094
|
+
|
|
29095
|
+
if (limit !== undefined) {
|
|
29096
|
+
localVarQueryParameter['limit'] = limit;
|
|
29097
|
+
}
|
|
29098
|
+
|
|
29099
|
+
if (lastRetrieved !== undefined) {
|
|
29100
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
29101
|
+
(lastRetrieved as any).toISOString() :
|
|
29102
|
+
lastRetrieved;
|
|
29103
|
+
}
|
|
29104
|
+
|
|
29105
|
+
|
|
29106
|
+
|
|
29107
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29108
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29109
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29110
|
+
|
|
29111
|
+
return {
|
|
29112
|
+
url: toPathString(localVarUrlObj),
|
|
29113
|
+
options: localVarRequestOptions,
|
|
29114
|
+
};
|
|
29115
|
+
},
|
|
28598
29116
|
/**
|
|
28599
29117
|
*
|
|
28600
29118
|
* @summary Delete HospitalSpecialty.
|
|
@@ -29979,6 +30497,31 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
29979
30497
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options);
|
|
29980
30498
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29981
30499
|
},
|
|
30500
|
+
/**
|
|
30501
|
+
*
|
|
30502
|
+
* @summary Get all HospitalSpecialties.
|
|
30503
|
+
* @param {string} hospitalId
|
|
30504
|
+
* @param {string} [hospitalName]
|
|
30505
|
+
* @param {string} [hospitalSlug]
|
|
30506
|
+
* @param {string} [specialtyId]
|
|
30507
|
+
* @param {string} [specialtyName]
|
|
30508
|
+
* @param {string} [specialtyTypeId]
|
|
30509
|
+
* @param {string} [title]
|
|
30510
|
+
* @param {MarketingType} [marketingType]
|
|
30511
|
+
* @param {string} [languageCode]
|
|
30512
|
+
* @param {boolean} [showHidden]
|
|
30513
|
+
* @param {boolean} [returnDefaultValue]
|
|
30514
|
+
* @param {boolean} [includeServices]
|
|
30515
|
+
* @param {number} [page]
|
|
30516
|
+
* @param {number} [limit]
|
|
30517
|
+
* @param {Date} [lastRetrieved]
|
|
30518
|
+
* @param {*} [options] Override http request option.
|
|
30519
|
+
* @throws {RequiredError}
|
|
30520
|
+
*/
|
|
30521
|
+
async apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesSimpleModel>> {
|
|
30522
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options);
|
|
30523
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30524
|
+
},
|
|
29982
30525
|
/**
|
|
29983
30526
|
*
|
|
29984
30527
|
* @summary Delete HospitalSpecialty.
|
|
@@ -30627,6 +31170,30 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
30627
31170
|
apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId: string, createHospitalSpecialtyCommand?: CreateHospitalSpecialtyCommand, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
30628
31171
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options).then((request) => request(axios, basePath));
|
|
30629
31172
|
},
|
|
31173
|
+
/**
|
|
31174
|
+
*
|
|
31175
|
+
* @summary Get all HospitalSpecialties.
|
|
31176
|
+
* @param {string} hospitalId
|
|
31177
|
+
* @param {string} [hospitalName]
|
|
31178
|
+
* @param {string} [hospitalSlug]
|
|
31179
|
+
* @param {string} [specialtyId]
|
|
31180
|
+
* @param {string} [specialtyName]
|
|
31181
|
+
* @param {string} [specialtyTypeId]
|
|
31182
|
+
* @param {string} [title]
|
|
31183
|
+
* @param {MarketingType} [marketingType]
|
|
31184
|
+
* @param {string} [languageCode]
|
|
31185
|
+
* @param {boolean} [showHidden]
|
|
31186
|
+
* @param {boolean} [returnDefaultValue]
|
|
31187
|
+
* @param {boolean} [includeServices]
|
|
31188
|
+
* @param {number} [page]
|
|
31189
|
+
* @param {number} [limit]
|
|
31190
|
+
* @param {Date} [lastRetrieved]
|
|
31191
|
+
* @param {*} [options] Override http request option.
|
|
31192
|
+
* @throws {RequiredError}
|
|
31193
|
+
*/
|
|
31194
|
+
apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesSimpleModel> {
|
|
31195
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
31196
|
+
},
|
|
30630
31197
|
/**
|
|
30631
31198
|
*
|
|
30632
31199
|
* @summary Delete HospitalSpecialty.
|
|
@@ -31319,6 +31886,32 @@ export class HospitalsApi extends BaseAPI {
|
|
|
31319
31886
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
|
|
31320
31887
|
}
|
|
31321
31888
|
|
|
31889
|
+
/**
|
|
31890
|
+
*
|
|
31891
|
+
* @summary Get all HospitalSpecialties.
|
|
31892
|
+
* @param {string} hospitalId
|
|
31893
|
+
* @param {string} [hospitalName]
|
|
31894
|
+
* @param {string} [hospitalSlug]
|
|
31895
|
+
* @param {string} [specialtyId]
|
|
31896
|
+
* @param {string} [specialtyName]
|
|
31897
|
+
* @param {string} [specialtyTypeId]
|
|
31898
|
+
* @param {string} [title]
|
|
31899
|
+
* @param {MarketingType} [marketingType]
|
|
31900
|
+
* @param {string} [languageCode]
|
|
31901
|
+
* @param {boolean} [showHidden]
|
|
31902
|
+
* @param {boolean} [returnDefaultValue]
|
|
31903
|
+
* @param {boolean} [includeServices]
|
|
31904
|
+
* @param {number} [page]
|
|
31905
|
+
* @param {number} [limit]
|
|
31906
|
+
* @param {Date} [lastRetrieved]
|
|
31907
|
+
* @param {*} [options] Override http request option.
|
|
31908
|
+
* @throws {RequiredError}
|
|
31909
|
+
* @memberof HospitalsApi
|
|
31910
|
+
*/
|
|
31911
|
+
public apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
31912
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
31913
|
+
}
|
|
31914
|
+
|
|
31322
31915
|
/**
|
|
31323
31916
|
*
|
|
31324
31917
|
* @summary Delete HospitalSpecialty.
|
|
@@ -31732,13 +32325,14 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
31732
32325
|
* @param {string} [name]
|
|
31733
32326
|
* @param {string} [code]
|
|
31734
32327
|
* @param {string} [description]
|
|
32328
|
+
* @param {boolean} [showPublished]
|
|
31735
32329
|
* @param {number} [page]
|
|
31736
32330
|
* @param {number} [limit]
|
|
31737
32331
|
* @param {Date} [lastRetrieved]
|
|
31738
32332
|
* @param {*} [options] Override http request option.
|
|
31739
32333
|
* @throws {RequiredError}
|
|
31740
32334
|
*/
|
|
31741
|
-
apiV1LanguagesGet: async (id?: string, name?: string, code?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32335
|
+
apiV1LanguagesGet: async (id?: string, name?: string, code?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31742
32336
|
const localVarPath = `/api/v1/languages`;
|
|
31743
32337
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31744
32338
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -31771,6 +32365,10 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
31771
32365
|
localVarQueryParameter['Description'] = description;
|
|
31772
32366
|
}
|
|
31773
32367
|
|
|
32368
|
+
if (showPublished !== undefined) {
|
|
32369
|
+
localVarQueryParameter['ShowPublished'] = showPublished;
|
|
32370
|
+
}
|
|
32371
|
+
|
|
31774
32372
|
if (page !== undefined) {
|
|
31775
32373
|
localVarQueryParameter['page'] = page;
|
|
31776
32374
|
}
|
|
@@ -31977,14 +32575,15 @@ export const LanguagesApiFp = function(configuration?: Configuration) {
|
|
|
31977
32575
|
* @param {string} [name]
|
|
31978
32576
|
* @param {string} [code]
|
|
31979
32577
|
* @param {string} [description]
|
|
32578
|
+
* @param {boolean} [showPublished]
|
|
31980
32579
|
* @param {number} [page]
|
|
31981
32580
|
* @param {number} [limit]
|
|
31982
32581
|
* @param {Date} [lastRetrieved]
|
|
31983
32582
|
* @param {*} [options] Override http request option.
|
|
31984
32583
|
* @throws {RequiredError}
|
|
31985
32584
|
*/
|
|
31986
|
-
async apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguagesModel>> {
|
|
31987
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options);
|
|
32585
|
+
async apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguagesModel>> {
|
|
32586
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options);
|
|
31988
32587
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31989
32588
|
},
|
|
31990
32589
|
/**
|
|
@@ -32056,14 +32655,15 @@ export const LanguagesApiFactory = function (configuration?: Configuration, base
|
|
|
32056
32655
|
* @param {string} [name]
|
|
32057
32656
|
* @param {string} [code]
|
|
32058
32657
|
* @param {string} [description]
|
|
32658
|
+
* @param {boolean} [showPublished]
|
|
32059
32659
|
* @param {number} [page]
|
|
32060
32660
|
* @param {number} [limit]
|
|
32061
32661
|
* @param {Date} [lastRetrieved]
|
|
32062
32662
|
* @param {*} [options] Override http request option.
|
|
32063
32663
|
* @throws {RequiredError}
|
|
32064
32664
|
*/
|
|
32065
|
-
apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<LanguagesModel> {
|
|
32066
|
-
return localVarFp.apiV1LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
32665
|
+
apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<LanguagesModel> {
|
|
32666
|
+
return localVarFp.apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
32067
32667
|
},
|
|
32068
32668
|
/**
|
|
32069
32669
|
*
|
|
@@ -32132,6 +32732,7 @@ export class LanguagesApi extends BaseAPI {
|
|
|
32132
32732
|
* @param {string} [name]
|
|
32133
32733
|
* @param {string} [code]
|
|
32134
32734
|
* @param {string} [description]
|
|
32735
|
+
* @param {boolean} [showPublished]
|
|
32135
32736
|
* @param {number} [page]
|
|
32136
32737
|
* @param {number} [limit]
|
|
32137
32738
|
* @param {Date} [lastRetrieved]
|
|
@@ -32139,8 +32740,8 @@ export class LanguagesApi extends BaseAPI {
|
|
|
32139
32740
|
* @throws {RequiredError}
|
|
32140
32741
|
* @memberof LanguagesApi
|
|
32141
32742
|
*/
|
|
32142
|
-
public apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
32143
|
-
return LanguagesApiFp(this.configuration).apiV1LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
32743
|
+
public apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
32744
|
+
return LanguagesApiFp(this.configuration).apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
32144
32745
|
}
|
|
32145
32746
|
|
|
32146
32747
|
/**
|