ch-admin-api-client-typescript 3.1.4 → 3.2.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 +245 -13
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +223 -21
- package/package.json +1 -1
- package/src/api.ts +361 -22
package/src/api.ts
CHANGED
|
@@ -3785,6 +3785,12 @@ export interface CreateDealCommand {
|
|
|
3785
3785
|
* @memberof CreateDealCommand
|
|
3786
3786
|
*/
|
|
3787
3787
|
'serviceDuration'?: number;
|
|
3788
|
+
/**
|
|
3789
|
+
*
|
|
3790
|
+
* @type {number}
|
|
3791
|
+
* @memberof CreateDealCommand
|
|
3792
|
+
*/
|
|
3793
|
+
'order'?: number;
|
|
3788
3794
|
}
|
|
3789
3795
|
/**
|
|
3790
3796
|
*
|
|
@@ -5199,6 +5205,12 @@ export interface DealItemModel {
|
|
|
5199
5205
|
* @memberof DealItemModel
|
|
5200
5206
|
*/
|
|
5201
5207
|
'photoThumbnail'?: string | null;
|
|
5208
|
+
/**
|
|
5209
|
+
*
|
|
5210
|
+
* @type {number}
|
|
5211
|
+
* @memberof DealItemModel
|
|
5212
|
+
*/
|
|
5213
|
+
'order'?: number;
|
|
5202
5214
|
/**
|
|
5203
5215
|
*
|
|
5204
5216
|
* @type {Array<DealPackageItemModel>}
|
|
@@ -5278,6 +5290,12 @@ export interface DealItemSimpleModel {
|
|
|
5278
5290
|
* @memberof DealItemSimpleModel
|
|
5279
5291
|
*/
|
|
5280
5292
|
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
5293
|
+
/**
|
|
5294
|
+
*
|
|
5295
|
+
* @type {number}
|
|
5296
|
+
* @memberof DealItemSimpleModel
|
|
5297
|
+
*/
|
|
5298
|
+
'order'?: number;
|
|
5281
5299
|
/**
|
|
5282
5300
|
*
|
|
5283
5301
|
* @type {boolean}
|
|
@@ -5387,6 +5405,12 @@ export interface DealModel {
|
|
|
5387
5405
|
* @memberof DealModel
|
|
5388
5406
|
*/
|
|
5389
5407
|
'photoThumbnail'?: string | null;
|
|
5408
|
+
/**
|
|
5409
|
+
*
|
|
5410
|
+
* @type {number}
|
|
5411
|
+
* @memberof DealModel
|
|
5412
|
+
*/
|
|
5413
|
+
'order'?: number;
|
|
5390
5414
|
/**
|
|
5391
5415
|
*
|
|
5392
5416
|
* @type {Array<DealPackageItemModel>}
|
|
@@ -10650,12 +10674,30 @@ export interface ServiceReviewItemModel {
|
|
|
10650
10674
|
* @memberof ServiceReviewItemModel
|
|
10651
10675
|
*/
|
|
10652
10676
|
'reviewType'?: ReviewType;
|
|
10677
|
+
/**
|
|
10678
|
+
*
|
|
10679
|
+
* @type {Array<LocalizedUrlModel>}
|
|
10680
|
+
* @memberof ServiceReviewItemModel
|
|
10681
|
+
*/
|
|
10682
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
10683
|
+
/**
|
|
10684
|
+
*
|
|
10685
|
+
* @type {boolean}
|
|
10686
|
+
* @memberof ServiceReviewItemModel
|
|
10687
|
+
*/
|
|
10688
|
+
'confirmed'?: boolean;
|
|
10653
10689
|
/**
|
|
10654
10690
|
*
|
|
10655
10691
|
* @type {Array<MediaModel>}
|
|
10656
10692
|
* @memberof ServiceReviewItemModel
|
|
10657
10693
|
*/
|
|
10658
10694
|
'medias'?: Array<MediaModel> | null;
|
|
10695
|
+
/**
|
|
10696
|
+
*
|
|
10697
|
+
* @type {AuditableEntity}
|
|
10698
|
+
* @memberof ServiceReviewItemModel
|
|
10699
|
+
*/
|
|
10700
|
+
'auditableEntity'?: AuditableEntity;
|
|
10659
10701
|
}
|
|
10660
10702
|
/**
|
|
10661
10703
|
*
|
|
@@ -10717,12 +10759,30 @@ export interface ServiceReviewModel {
|
|
|
10717
10759
|
* @memberof ServiceReviewModel
|
|
10718
10760
|
*/
|
|
10719
10761
|
'reviewType'?: ReviewType;
|
|
10762
|
+
/**
|
|
10763
|
+
*
|
|
10764
|
+
* @type {Array<LocalizedUrlModel>}
|
|
10765
|
+
* @memberof ServiceReviewModel
|
|
10766
|
+
*/
|
|
10767
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
10768
|
+
/**
|
|
10769
|
+
*
|
|
10770
|
+
* @type {boolean}
|
|
10771
|
+
* @memberof ServiceReviewModel
|
|
10772
|
+
*/
|
|
10773
|
+
'confirmed'?: boolean;
|
|
10720
10774
|
/**
|
|
10721
10775
|
*
|
|
10722
10776
|
* @type {Array<MediaModel>}
|
|
10723
10777
|
* @memberof ServiceReviewModel
|
|
10724
10778
|
*/
|
|
10725
10779
|
'medias'?: Array<MediaModel> | null;
|
|
10780
|
+
/**
|
|
10781
|
+
*
|
|
10782
|
+
* @type {AuditableEntity}
|
|
10783
|
+
* @memberof ServiceReviewModel
|
|
10784
|
+
*/
|
|
10785
|
+
'auditableEntity'?: AuditableEntity;
|
|
10726
10786
|
}
|
|
10727
10787
|
/**
|
|
10728
10788
|
*
|
|
@@ -10804,7 +10864,8 @@ export enum SnsType {
|
|
|
10804
10864
|
Facebook = 'Facebook',
|
|
10805
10865
|
Instagram = 'Instagram',
|
|
10806
10866
|
LinkedIn = 'LinkedIn',
|
|
10807
|
-
Youtube = 'Youtube'
|
|
10867
|
+
Youtube = 'Youtube',
|
|
10868
|
+
KakaoTalk = 'KakaoTalk'
|
|
10808
10869
|
}
|
|
10809
10870
|
|
|
10810
10871
|
/**
|
|
@@ -10868,6 +10929,25 @@ export interface SpecialtiesModel {
|
|
|
10868
10929
|
*/
|
|
10869
10930
|
'metaData'?: PagedListMetaData;
|
|
10870
10931
|
}
|
|
10932
|
+
/**
|
|
10933
|
+
*
|
|
10934
|
+
* @export
|
|
10935
|
+
* @interface SpecialtiesSimpleModel
|
|
10936
|
+
*/
|
|
10937
|
+
export interface SpecialtiesSimpleModel {
|
|
10938
|
+
/**
|
|
10939
|
+
*
|
|
10940
|
+
* @type {Array<SpecialtyItemSimpleModel>}
|
|
10941
|
+
* @memberof SpecialtiesSimpleModel
|
|
10942
|
+
*/
|
|
10943
|
+
'items'?: Array<SpecialtyItemSimpleModel> | null;
|
|
10944
|
+
/**
|
|
10945
|
+
*
|
|
10946
|
+
* @type {PagedListMetaData}
|
|
10947
|
+
* @memberof SpecialtiesSimpleModel
|
|
10948
|
+
*/
|
|
10949
|
+
'metaData'?: PagedListMetaData;
|
|
10950
|
+
}
|
|
10871
10951
|
/**
|
|
10872
10952
|
*
|
|
10873
10953
|
* @export
|
|
@@ -10953,6 +11033,43 @@ export interface SpecialtyItemModel {
|
|
|
10953
11033
|
*/
|
|
10954
11034
|
'medias'?: Array<MediaModel> | null;
|
|
10955
11035
|
}
|
|
11036
|
+
/**
|
|
11037
|
+
*
|
|
11038
|
+
* @export
|
|
11039
|
+
* @interface SpecialtyItemSimpleModel
|
|
11040
|
+
*/
|
|
11041
|
+
export interface SpecialtyItemSimpleModel {
|
|
11042
|
+
/**
|
|
11043
|
+
*
|
|
11044
|
+
* @type {string}
|
|
11045
|
+
* @memberof SpecialtyItemSimpleModel
|
|
11046
|
+
*/
|
|
11047
|
+
'id'?: string;
|
|
11048
|
+
/**
|
|
11049
|
+
*
|
|
11050
|
+
* @type {string}
|
|
11051
|
+
* @memberof SpecialtyItemSimpleModel
|
|
11052
|
+
*/
|
|
11053
|
+
'name'?: string | null;
|
|
11054
|
+
/**
|
|
11055
|
+
*
|
|
11056
|
+
* @type {string}
|
|
11057
|
+
* @memberof SpecialtyItemSimpleModel
|
|
11058
|
+
*/
|
|
11059
|
+
'slug'?: string | null;
|
|
11060
|
+
/**
|
|
11061
|
+
*
|
|
11062
|
+
* @type {string}
|
|
11063
|
+
* @memberof SpecialtyItemSimpleModel
|
|
11064
|
+
*/
|
|
11065
|
+
'specialtyTypeId'?: string;
|
|
11066
|
+
/**
|
|
11067
|
+
*
|
|
11068
|
+
* @type {boolean}
|
|
11069
|
+
* @memberof SpecialtyItemSimpleModel
|
|
11070
|
+
*/
|
|
11071
|
+
'confirmed'?: boolean;
|
|
11072
|
+
}
|
|
10956
11073
|
/**
|
|
10957
11074
|
*
|
|
10958
11075
|
* @export
|
|
@@ -12118,6 +12235,12 @@ export interface UpdateDealCommand {
|
|
|
12118
12235
|
* @memberof UpdateDealCommand
|
|
12119
12236
|
*/
|
|
12120
12237
|
'serviceDuration'?: number;
|
|
12238
|
+
/**
|
|
12239
|
+
*
|
|
12240
|
+
* @type {number}
|
|
12241
|
+
* @memberof UpdateDealCommand
|
|
12242
|
+
*/
|
|
12243
|
+
'order'?: number;
|
|
12121
12244
|
/**
|
|
12122
12245
|
*
|
|
12123
12246
|
* @type {string}
|
|
@@ -13370,6 +13493,18 @@ export interface UpdateServiceReviewCommand {
|
|
|
13370
13493
|
* @memberof UpdateServiceReviewCommand
|
|
13371
13494
|
*/
|
|
13372
13495
|
'rate'?: number | null;
|
|
13496
|
+
/**
|
|
13497
|
+
*
|
|
13498
|
+
* @type {string}
|
|
13499
|
+
* @memberof UpdateServiceReviewCommand
|
|
13500
|
+
*/
|
|
13501
|
+
'languageCode'?: string | null;
|
|
13502
|
+
/**
|
|
13503
|
+
*
|
|
13504
|
+
* @type {boolean}
|
|
13505
|
+
* @memberof UpdateServiceReviewCommand
|
|
13506
|
+
*/
|
|
13507
|
+
'confirmed'?: boolean;
|
|
13373
13508
|
}
|
|
13374
13509
|
/**
|
|
13375
13510
|
*
|
|
@@ -29218,10 +29353,11 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
29218
29353
|
*
|
|
29219
29354
|
* @summary Delete faq.
|
|
29220
29355
|
* @param {string} faqId
|
|
29356
|
+
* @param {boolean} [forceDelete]
|
|
29221
29357
|
* @param {*} [options] Override http request option.
|
|
29222
29358
|
* @throws {RequiredError}
|
|
29223
29359
|
*/
|
|
29224
|
-
apiV1FaqsFaqIdDelete: async (faqId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29360
|
+
apiV1FaqsFaqIdDelete: async (faqId: string, forceDelete?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29225
29361
|
// verify required parameter 'faqId' is not null or undefined
|
|
29226
29362
|
assertParamExists('apiV1FaqsFaqIdDelete', 'faqId', faqId)
|
|
29227
29363
|
const localVarPath = `/api/v1/faqs/{faqId}`
|
|
@@ -29241,6 +29377,10 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
29241
29377
|
// oauth required
|
|
29242
29378
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29243
29379
|
|
|
29380
|
+
if (forceDelete !== undefined) {
|
|
29381
|
+
localVarQueryParameter['forceDelete'] = forceDelete;
|
|
29382
|
+
}
|
|
29383
|
+
|
|
29244
29384
|
|
|
29245
29385
|
|
|
29246
29386
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -29770,11 +29910,12 @@ export const FaqsApiFp = function(configuration?: Configuration) {
|
|
|
29770
29910
|
*
|
|
29771
29911
|
* @summary Delete faq.
|
|
29772
29912
|
* @param {string} faqId
|
|
29913
|
+
* @param {boolean} [forceDelete]
|
|
29773
29914
|
* @param {*} [options] Override http request option.
|
|
29774
29915
|
* @throws {RequiredError}
|
|
29775
29916
|
*/
|
|
29776
|
-
async apiV1FaqsFaqIdDelete(faqId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
29777
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdDelete(faqId, options);
|
|
29917
|
+
async apiV1FaqsFaqIdDelete(faqId: string, forceDelete?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
29918
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdDelete(faqId, forceDelete, options);
|
|
29778
29919
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29779
29920
|
},
|
|
29780
29921
|
/**
|
|
@@ -29926,11 +30067,12 @@ export const FaqsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
29926
30067
|
*
|
|
29927
30068
|
* @summary Delete faq.
|
|
29928
30069
|
* @param {string} faqId
|
|
30070
|
+
* @param {boolean} [forceDelete]
|
|
29929
30071
|
* @param {*} [options] Override http request option.
|
|
29930
30072
|
* @throws {RequiredError}
|
|
29931
30073
|
*/
|
|
29932
|
-
apiV1FaqsFaqIdDelete(faqId: string, options?: any): AxiosPromise<boolean> {
|
|
29933
|
-
return localVarFp.apiV1FaqsFaqIdDelete(faqId, options).then((request) => request(axios, basePath));
|
|
30074
|
+
apiV1FaqsFaqIdDelete(faqId: string, forceDelete?: boolean, options?: any): AxiosPromise<boolean> {
|
|
30075
|
+
return localVarFp.apiV1FaqsFaqIdDelete(faqId, forceDelete, options).then((request) => request(axios, basePath));
|
|
29934
30076
|
},
|
|
29935
30077
|
/**
|
|
29936
30078
|
*
|
|
@@ -30071,12 +30213,13 @@ export class FaqsApi extends BaseAPI {
|
|
|
30071
30213
|
*
|
|
30072
30214
|
* @summary Delete faq.
|
|
30073
30215
|
* @param {string} faqId
|
|
30216
|
+
* @param {boolean} [forceDelete]
|
|
30074
30217
|
* @param {*} [options] Override http request option.
|
|
30075
30218
|
* @throws {RequiredError}
|
|
30076
30219
|
* @memberof FaqsApi
|
|
30077
30220
|
*/
|
|
30078
|
-
public apiV1FaqsFaqIdDelete(faqId: string, options?: AxiosRequestConfig) {
|
|
30079
|
-
return FaqsApiFp(this.configuration).apiV1FaqsFaqIdDelete(faqId, options).then((request) => request(this.axios, this.basePath));
|
|
30221
|
+
public apiV1FaqsFaqIdDelete(faqId: string, forceDelete?: boolean, options?: AxiosRequestConfig) {
|
|
30222
|
+
return FaqsApiFp(this.configuration).apiV1FaqsFaqIdDelete(faqId, forceDelete, options).then((request) => request(this.axios, this.basePath));
|
|
30080
30223
|
}
|
|
30081
30224
|
|
|
30082
30225
|
/**
|
|
@@ -41368,13 +41511,15 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
41368
41511
|
* @param {boolean} [recommended]
|
|
41369
41512
|
* @param {number} [rate]
|
|
41370
41513
|
* @param {ReviewType} [reviewType]
|
|
41514
|
+
* @param {string} [languageCode]
|
|
41515
|
+
* @param {boolean} [returnDefaultValue]
|
|
41371
41516
|
* @param {number} [page]
|
|
41372
41517
|
* @param {number} [limit]
|
|
41373
41518
|
* @param {Date} [lastRetrieved]
|
|
41374
41519
|
* @param {*} [options] Override http request option.
|
|
41375
41520
|
* @throws {RequiredError}
|
|
41376
41521
|
*/
|
|
41377
|
-
apiV1ServicereviewsGet: async (serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41522
|
+
apiV1ServicereviewsGet: async (serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41378
41523
|
const localVarPath = `/api/v1/servicereviews`;
|
|
41379
41524
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41380
41525
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -41423,6 +41568,14 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
41423
41568
|
localVarQueryParameter['ReviewType'] = reviewType;
|
|
41424
41569
|
}
|
|
41425
41570
|
|
|
41571
|
+
if (languageCode !== undefined) {
|
|
41572
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
41573
|
+
}
|
|
41574
|
+
|
|
41575
|
+
if (returnDefaultValue !== undefined) {
|
|
41576
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
41577
|
+
}
|
|
41578
|
+
|
|
41426
41579
|
if (page !== undefined) {
|
|
41427
41580
|
localVarQueryParameter['page'] = page;
|
|
41428
41581
|
}
|
|
@@ -41527,10 +41680,12 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
41527
41680
|
/**
|
|
41528
41681
|
*
|
|
41529
41682
|
* @param {string} serviceReviewId
|
|
41683
|
+
* @param {string} [languageCode]
|
|
41684
|
+
* @param {boolean} [returnDefaultValue]
|
|
41530
41685
|
* @param {*} [options] Override http request option.
|
|
41531
41686
|
* @throws {RequiredError}
|
|
41532
41687
|
*/
|
|
41533
|
-
apiV1ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41688
|
+
apiV1ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41534
41689
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
41535
41690
|
assertParamExists('apiV1ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId)
|
|
41536
41691
|
const localVarPath = `/api/v1/servicereviews/{serviceReviewId}`
|
|
@@ -41550,6 +41705,14 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
41550
41705
|
// oauth required
|
|
41551
41706
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
41552
41707
|
|
|
41708
|
+
if (languageCode !== undefined) {
|
|
41709
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
41710
|
+
}
|
|
41711
|
+
|
|
41712
|
+
if (returnDefaultValue !== undefined) {
|
|
41713
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
41714
|
+
}
|
|
41715
|
+
|
|
41553
41716
|
|
|
41554
41717
|
|
|
41555
41718
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -41861,14 +42024,16 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
41861
42024
|
* @param {boolean} [recommended]
|
|
41862
42025
|
* @param {number} [rate]
|
|
41863
42026
|
* @param {ReviewType} [reviewType]
|
|
42027
|
+
* @param {string} [languageCode]
|
|
42028
|
+
* @param {boolean} [returnDefaultValue]
|
|
41864
42029
|
* @param {number} [page]
|
|
41865
42030
|
* @param {number} [limit]
|
|
41866
42031
|
* @param {Date} [lastRetrieved]
|
|
41867
42032
|
* @param {*} [options] Override http request option.
|
|
41868
42033
|
* @throws {RequiredError}
|
|
41869
42034
|
*/
|
|
41870
|
-
async apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
|
|
41871
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options);
|
|
42035
|
+
async apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
|
|
42036
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
41872
42037
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41873
42038
|
},
|
|
41874
42039
|
/**
|
|
@@ -41896,11 +42061,13 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
41896
42061
|
/**
|
|
41897
42062
|
*
|
|
41898
42063
|
* @param {string} serviceReviewId
|
|
42064
|
+
* @param {string} [languageCode]
|
|
42065
|
+
* @param {boolean} [returnDefaultValue]
|
|
41899
42066
|
* @param {*} [options] Override http request option.
|
|
41900
42067
|
* @throws {RequiredError}
|
|
41901
42068
|
*/
|
|
41902
|
-
async apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
41903
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options);
|
|
42069
|
+
async apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
42070
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options);
|
|
41904
42071
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41905
42072
|
},
|
|
41906
42073
|
/**
|
|
@@ -42001,14 +42168,16 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
|
|
|
42001
42168
|
* @param {boolean} [recommended]
|
|
42002
42169
|
* @param {number} [rate]
|
|
42003
42170
|
* @param {ReviewType} [reviewType]
|
|
42171
|
+
* @param {string} [languageCode]
|
|
42172
|
+
* @param {boolean} [returnDefaultValue]
|
|
42004
42173
|
* @param {number} [page]
|
|
42005
42174
|
* @param {number} [limit]
|
|
42006
42175
|
* @param {Date} [lastRetrieved]
|
|
42007
42176
|
* @param {*} [options] Override http request option.
|
|
42008
42177
|
* @throws {RequiredError}
|
|
42009
42178
|
*/
|
|
42010
|
-
apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
|
|
42011
|
-
return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
42179
|
+
apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
|
|
42180
|
+
return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
42012
42181
|
},
|
|
42013
42182
|
/**
|
|
42014
42183
|
*
|
|
@@ -42033,11 +42202,13 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
|
|
|
42033
42202
|
/**
|
|
42034
42203
|
*
|
|
42035
42204
|
* @param {string} serviceReviewId
|
|
42205
|
+
* @param {string} [languageCode]
|
|
42206
|
+
* @param {boolean} [returnDefaultValue]
|
|
42036
42207
|
* @param {*} [options] Override http request option.
|
|
42037
42208
|
* @throws {RequiredError}
|
|
42038
42209
|
*/
|
|
42039
|
-
apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
42040
|
-
return localVarFp.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(axios, basePath));
|
|
42210
|
+
apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
42211
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
42041
42212
|
},
|
|
42042
42213
|
/**
|
|
42043
42214
|
*
|
|
@@ -42131,6 +42302,8 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
42131
42302
|
* @param {boolean} [recommended]
|
|
42132
42303
|
* @param {number} [rate]
|
|
42133
42304
|
* @param {ReviewType} [reviewType]
|
|
42305
|
+
* @param {string} [languageCode]
|
|
42306
|
+
* @param {boolean} [returnDefaultValue]
|
|
42134
42307
|
* @param {number} [page]
|
|
42135
42308
|
* @param {number} [limit]
|
|
42136
42309
|
* @param {Date} [lastRetrieved]
|
|
@@ -42138,8 +42311,8 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
42138
42311
|
* @throws {RequiredError}
|
|
42139
42312
|
* @memberof ServiceReviewsApi
|
|
42140
42313
|
*/
|
|
42141
|
-
public apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
42142
|
-
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
42314
|
+
public apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
42315
|
+
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
42143
42316
|
}
|
|
42144
42317
|
|
|
42145
42318
|
/**
|
|
@@ -42169,12 +42342,14 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
42169
42342
|
/**
|
|
42170
42343
|
*
|
|
42171
42344
|
* @param {string} serviceReviewId
|
|
42345
|
+
* @param {string} [languageCode]
|
|
42346
|
+
* @param {boolean} [returnDefaultValue]
|
|
42172
42347
|
* @param {*} [options] Override http request option.
|
|
42173
42348
|
* @throws {RequiredError}
|
|
42174
42349
|
* @memberof ServiceReviewsApi
|
|
42175
42350
|
*/
|
|
42176
|
-
public apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig) {
|
|
42177
|
-
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(this.axios, this.basePath));
|
|
42351
|
+
public apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
42352
|
+
return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
42178
42353
|
}
|
|
42179
42354
|
|
|
42180
42355
|
/**
|
|
@@ -43259,6 +43434,104 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
43259
43434
|
options: localVarRequestOptions,
|
|
43260
43435
|
};
|
|
43261
43436
|
},
|
|
43437
|
+
/**
|
|
43438
|
+
*
|
|
43439
|
+
* @summary Get all Specialties Simple.
|
|
43440
|
+
* @param {string} [id]
|
|
43441
|
+
* @param {string} [name]
|
|
43442
|
+
* @param {string} [description]
|
|
43443
|
+
* @param {string} [specialtyTypeId]
|
|
43444
|
+
* @param {string} [hospitalId]
|
|
43445
|
+
* @param {Date} [created]
|
|
43446
|
+
* @param {string} [languageCode]
|
|
43447
|
+
* @param {Array<string>} [ids]
|
|
43448
|
+
* @param {boolean} [returnDefaultValue]
|
|
43449
|
+
* @param {number} [page]
|
|
43450
|
+
* @param {number} [limit]
|
|
43451
|
+
* @param {Date} [lastRetrieved]
|
|
43452
|
+
* @param {*} [options] Override http request option.
|
|
43453
|
+
* @throws {RequiredError}
|
|
43454
|
+
*/
|
|
43455
|
+
apiV1SpecialtiesSimpleGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43456
|
+
const localVarPath = `/api/v1/specialties/simple`;
|
|
43457
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43458
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43459
|
+
let baseOptions;
|
|
43460
|
+
if (configuration) {
|
|
43461
|
+
baseOptions = configuration.baseOptions;
|
|
43462
|
+
}
|
|
43463
|
+
|
|
43464
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
43465
|
+
const localVarHeaderParameter = {} as any;
|
|
43466
|
+
const localVarQueryParameter = {} as any;
|
|
43467
|
+
|
|
43468
|
+
// authentication oauth2 required
|
|
43469
|
+
// oauth required
|
|
43470
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
43471
|
+
|
|
43472
|
+
if (id !== undefined) {
|
|
43473
|
+
localVarQueryParameter['Id'] = id;
|
|
43474
|
+
}
|
|
43475
|
+
|
|
43476
|
+
if (name !== undefined) {
|
|
43477
|
+
localVarQueryParameter['Name'] = name;
|
|
43478
|
+
}
|
|
43479
|
+
|
|
43480
|
+
if (description !== undefined) {
|
|
43481
|
+
localVarQueryParameter['Description'] = description;
|
|
43482
|
+
}
|
|
43483
|
+
|
|
43484
|
+
if (specialtyTypeId !== undefined) {
|
|
43485
|
+
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
43486
|
+
}
|
|
43487
|
+
|
|
43488
|
+
if (hospitalId !== undefined) {
|
|
43489
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
43490
|
+
}
|
|
43491
|
+
|
|
43492
|
+
if (created !== undefined) {
|
|
43493
|
+
localVarQueryParameter['Created'] = (created as any instanceof Date) ?
|
|
43494
|
+
(created as any).toISOString() :
|
|
43495
|
+
created;
|
|
43496
|
+
}
|
|
43497
|
+
|
|
43498
|
+
if (languageCode !== undefined) {
|
|
43499
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
43500
|
+
}
|
|
43501
|
+
|
|
43502
|
+
if (ids) {
|
|
43503
|
+
localVarQueryParameter['Ids'] = ids;
|
|
43504
|
+
}
|
|
43505
|
+
|
|
43506
|
+
if (returnDefaultValue !== undefined) {
|
|
43507
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
43508
|
+
}
|
|
43509
|
+
|
|
43510
|
+
if (page !== undefined) {
|
|
43511
|
+
localVarQueryParameter['page'] = page;
|
|
43512
|
+
}
|
|
43513
|
+
|
|
43514
|
+
if (limit !== undefined) {
|
|
43515
|
+
localVarQueryParameter['limit'] = limit;
|
|
43516
|
+
}
|
|
43517
|
+
|
|
43518
|
+
if (lastRetrieved !== undefined) {
|
|
43519
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
43520
|
+
(lastRetrieved as any).toISOString() :
|
|
43521
|
+
lastRetrieved;
|
|
43522
|
+
}
|
|
43523
|
+
|
|
43524
|
+
|
|
43525
|
+
|
|
43526
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43527
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43528
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
43529
|
+
|
|
43530
|
+
return {
|
|
43531
|
+
url: toPathString(localVarUrlObj),
|
|
43532
|
+
options: localVarRequestOptions,
|
|
43533
|
+
};
|
|
43534
|
+
},
|
|
43262
43535
|
/**
|
|
43263
43536
|
*
|
|
43264
43537
|
* @param {string} slug
|
|
@@ -43714,6 +43987,28 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
43714
43987
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesPost(createSpecialtyCommand, options);
|
|
43715
43988
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
43716
43989
|
},
|
|
43990
|
+
/**
|
|
43991
|
+
*
|
|
43992
|
+
* @summary Get all Specialties Simple.
|
|
43993
|
+
* @param {string} [id]
|
|
43994
|
+
* @param {string} [name]
|
|
43995
|
+
* @param {string} [description]
|
|
43996
|
+
* @param {string} [specialtyTypeId]
|
|
43997
|
+
* @param {string} [hospitalId]
|
|
43998
|
+
* @param {Date} [created]
|
|
43999
|
+
* @param {string} [languageCode]
|
|
44000
|
+
* @param {Array<string>} [ids]
|
|
44001
|
+
* @param {boolean} [returnDefaultValue]
|
|
44002
|
+
* @param {number} [page]
|
|
44003
|
+
* @param {number} [limit]
|
|
44004
|
+
* @param {Date} [lastRetrieved]
|
|
44005
|
+
* @param {*} [options] Override http request option.
|
|
44006
|
+
* @throws {RequiredError}
|
|
44007
|
+
*/
|
|
44008
|
+
async apiV1SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesSimpleModel>> {
|
|
44009
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
44010
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
44011
|
+
},
|
|
43717
44012
|
/**
|
|
43718
44013
|
*
|
|
43719
44014
|
* @param {string} slug
|
|
@@ -43868,6 +44163,27 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
43868
44163
|
apiV1SpecialtiesPost(createSpecialtyCommand?: CreateSpecialtyCommand, options?: any): AxiosPromise<SpecialtyModel> {
|
|
43869
44164
|
return localVarFp.apiV1SpecialtiesPost(createSpecialtyCommand, options).then((request) => request(axios, basePath));
|
|
43870
44165
|
},
|
|
44166
|
+
/**
|
|
44167
|
+
*
|
|
44168
|
+
* @summary Get all Specialties Simple.
|
|
44169
|
+
* @param {string} [id]
|
|
44170
|
+
* @param {string} [name]
|
|
44171
|
+
* @param {string} [description]
|
|
44172
|
+
* @param {string} [specialtyTypeId]
|
|
44173
|
+
* @param {string} [hospitalId]
|
|
44174
|
+
* @param {Date} [created]
|
|
44175
|
+
* @param {string} [languageCode]
|
|
44176
|
+
* @param {Array<string>} [ids]
|
|
44177
|
+
* @param {boolean} [returnDefaultValue]
|
|
44178
|
+
* @param {number} [page]
|
|
44179
|
+
* @param {number} [limit]
|
|
44180
|
+
* @param {Date} [lastRetrieved]
|
|
44181
|
+
* @param {*} [options] Override http request option.
|
|
44182
|
+
* @throws {RequiredError}
|
|
44183
|
+
*/
|
|
44184
|
+
apiV1SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesSimpleModel> {
|
|
44185
|
+
return localVarFp.apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
44186
|
+
},
|
|
43871
44187
|
/**
|
|
43872
44188
|
*
|
|
43873
44189
|
* @param {string} slug
|
|
@@ -44017,6 +44333,29 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
44017
44333
|
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesPost(createSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
|
|
44018
44334
|
}
|
|
44019
44335
|
|
|
44336
|
+
/**
|
|
44337
|
+
*
|
|
44338
|
+
* @summary Get all Specialties Simple.
|
|
44339
|
+
* @param {string} [id]
|
|
44340
|
+
* @param {string} [name]
|
|
44341
|
+
* @param {string} [description]
|
|
44342
|
+
* @param {string} [specialtyTypeId]
|
|
44343
|
+
* @param {string} [hospitalId]
|
|
44344
|
+
* @param {Date} [created]
|
|
44345
|
+
* @param {string} [languageCode]
|
|
44346
|
+
* @param {Array<string>} [ids]
|
|
44347
|
+
* @param {boolean} [returnDefaultValue]
|
|
44348
|
+
* @param {number} [page]
|
|
44349
|
+
* @param {number} [limit]
|
|
44350
|
+
* @param {Date} [lastRetrieved]
|
|
44351
|
+
* @param {*} [options] Override http request option.
|
|
44352
|
+
* @throws {RequiredError}
|
|
44353
|
+
* @memberof SpecialtiesApi
|
|
44354
|
+
*/
|
|
44355
|
+
public apiV1SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
44356
|
+
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
44357
|
+
}
|
|
44358
|
+
|
|
44020
44359
|
/**
|
|
44021
44360
|
*
|
|
44022
44361
|
* @param {string} slug
|