ch-api-client-typescript2 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 +213 -9
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +199 -14
- package/package.json +1 -1
- package/src/api.ts +318 -15
package/src/api.ts
CHANGED
|
@@ -3300,6 +3300,12 @@ export interface DealItemModel {
|
|
|
3300
3300
|
* @memberof DealItemModel
|
|
3301
3301
|
*/
|
|
3302
3302
|
'serviceDuration'?: number;
|
|
3303
|
+
/**
|
|
3304
|
+
*
|
|
3305
|
+
* @type {number}
|
|
3306
|
+
* @memberof DealItemModel
|
|
3307
|
+
*/
|
|
3308
|
+
'order'?: number;
|
|
3303
3309
|
/**
|
|
3304
3310
|
*
|
|
3305
3311
|
* @type {MarketingType}
|
|
@@ -3391,6 +3397,12 @@ export interface DealItemSimpleModel {
|
|
|
3391
3397
|
* @memberof DealItemSimpleModel
|
|
3392
3398
|
*/
|
|
3393
3399
|
'hospitalName'?: string | null;
|
|
3400
|
+
/**
|
|
3401
|
+
*
|
|
3402
|
+
* @type {number}
|
|
3403
|
+
* @memberof DealItemSimpleModel
|
|
3404
|
+
*/
|
|
3405
|
+
'order'?: number;
|
|
3394
3406
|
/**
|
|
3395
3407
|
*
|
|
3396
3408
|
* @type {Array<LocalizedUrlModel>}
|
|
@@ -3488,6 +3500,12 @@ export interface DealModel {
|
|
|
3488
3500
|
* @memberof DealModel
|
|
3489
3501
|
*/
|
|
3490
3502
|
'serviceDuration'?: number;
|
|
3503
|
+
/**
|
|
3504
|
+
*
|
|
3505
|
+
* @type {number}
|
|
3506
|
+
* @memberof DealModel
|
|
3507
|
+
*/
|
|
3508
|
+
'order'?: number;
|
|
3491
3509
|
/**
|
|
3492
3510
|
*
|
|
3493
3511
|
* @type {MarketingType}
|
|
@@ -8733,12 +8751,24 @@ export interface ServiceReviewItemModel {
|
|
|
8733
8751
|
* @memberof ServiceReviewItemModel
|
|
8734
8752
|
*/
|
|
8735
8753
|
'reviewType'?: ReviewType;
|
|
8754
|
+
/**
|
|
8755
|
+
*
|
|
8756
|
+
* @type {boolean}
|
|
8757
|
+
* @memberof ServiceReviewItemModel
|
|
8758
|
+
*/
|
|
8759
|
+
'confirmed'?: boolean;
|
|
8736
8760
|
/**
|
|
8737
8761
|
*
|
|
8738
8762
|
* @type {Array<MediaModel>}
|
|
8739
8763
|
* @memberof ServiceReviewItemModel
|
|
8740
8764
|
*/
|
|
8741
8765
|
'medias'?: Array<MediaModel> | null;
|
|
8766
|
+
/**
|
|
8767
|
+
*
|
|
8768
|
+
* @type {AuditableEntity}
|
|
8769
|
+
* @memberof ServiceReviewItemModel
|
|
8770
|
+
*/
|
|
8771
|
+
'auditableEntity'?: AuditableEntity;
|
|
8742
8772
|
}
|
|
8743
8773
|
/**
|
|
8744
8774
|
*
|
|
@@ -8824,12 +8854,24 @@ export interface ServiceReviewModel {
|
|
|
8824
8854
|
* @memberof ServiceReviewModel
|
|
8825
8855
|
*/
|
|
8826
8856
|
'reviewType'?: ReviewType;
|
|
8857
|
+
/**
|
|
8858
|
+
*
|
|
8859
|
+
* @type {boolean}
|
|
8860
|
+
* @memberof ServiceReviewModel
|
|
8861
|
+
*/
|
|
8862
|
+
'confirmed'?: boolean;
|
|
8827
8863
|
/**
|
|
8828
8864
|
*
|
|
8829
8865
|
* @type {Array<MediaModel>}
|
|
8830
8866
|
* @memberof ServiceReviewModel
|
|
8831
8867
|
*/
|
|
8832
8868
|
'medias'?: Array<MediaModel> | null;
|
|
8869
|
+
/**
|
|
8870
|
+
*
|
|
8871
|
+
* @type {AuditableEntity}
|
|
8872
|
+
* @memberof ServiceReviewModel
|
|
8873
|
+
*/
|
|
8874
|
+
'auditableEntity'?: AuditableEntity;
|
|
8833
8875
|
}
|
|
8834
8876
|
/**
|
|
8835
8877
|
*
|
|
@@ -8911,7 +8953,8 @@ export enum SnsType {
|
|
|
8911
8953
|
Facebook = 'Facebook',
|
|
8912
8954
|
Instagram = 'Instagram',
|
|
8913
8955
|
LinkedIn = 'LinkedIn',
|
|
8914
|
-
Youtube = 'Youtube'
|
|
8956
|
+
Youtube = 'Youtube',
|
|
8957
|
+
KakaoTalk = 'KakaoTalk'
|
|
8915
8958
|
}
|
|
8916
8959
|
|
|
8917
8960
|
/**
|
|
@@ -8964,6 +9007,25 @@ export interface SpecialtiesModel {
|
|
|
8964
9007
|
*/
|
|
8965
9008
|
'metaData'?: PagedListMetaData;
|
|
8966
9009
|
}
|
|
9010
|
+
/**
|
|
9011
|
+
*
|
|
9012
|
+
* @export
|
|
9013
|
+
* @interface SpecialtiesSimpleModel
|
|
9014
|
+
*/
|
|
9015
|
+
export interface SpecialtiesSimpleModel {
|
|
9016
|
+
/**
|
|
9017
|
+
*
|
|
9018
|
+
* @type {Array<SpecialtyItemSimpleModel>}
|
|
9019
|
+
* @memberof SpecialtiesSimpleModel
|
|
9020
|
+
*/
|
|
9021
|
+
'items'?: Array<SpecialtyItemSimpleModel> | null;
|
|
9022
|
+
/**
|
|
9023
|
+
*
|
|
9024
|
+
* @type {PagedListMetaData}
|
|
9025
|
+
* @memberof SpecialtiesSimpleModel
|
|
9026
|
+
*/
|
|
9027
|
+
'metaData'?: PagedListMetaData;
|
|
9028
|
+
}
|
|
8967
9029
|
/**
|
|
8968
9030
|
*
|
|
8969
9031
|
* @export
|
|
@@ -9055,6 +9117,43 @@ export interface SpecialtyItemModel {
|
|
|
9055
9117
|
*/
|
|
9056
9118
|
'medias'?: Array<MediaModel> | null;
|
|
9057
9119
|
}
|
|
9120
|
+
/**
|
|
9121
|
+
*
|
|
9122
|
+
* @export
|
|
9123
|
+
* @interface SpecialtyItemSimpleModel
|
|
9124
|
+
*/
|
|
9125
|
+
export interface SpecialtyItemSimpleModel {
|
|
9126
|
+
/**
|
|
9127
|
+
*
|
|
9128
|
+
* @type {string}
|
|
9129
|
+
* @memberof SpecialtyItemSimpleModel
|
|
9130
|
+
*/
|
|
9131
|
+
'id'?: string;
|
|
9132
|
+
/**
|
|
9133
|
+
*
|
|
9134
|
+
* @type {string}
|
|
9135
|
+
* @memberof SpecialtyItemSimpleModel
|
|
9136
|
+
*/
|
|
9137
|
+
'name'?: string | null;
|
|
9138
|
+
/**
|
|
9139
|
+
*
|
|
9140
|
+
* @type {string}
|
|
9141
|
+
* @memberof SpecialtyItemSimpleModel
|
|
9142
|
+
*/
|
|
9143
|
+
'slug'?: string | null;
|
|
9144
|
+
/**
|
|
9145
|
+
*
|
|
9146
|
+
* @type {string}
|
|
9147
|
+
* @memberof SpecialtyItemSimpleModel
|
|
9148
|
+
*/
|
|
9149
|
+
'specialtyTypeId'?: string;
|
|
9150
|
+
/**
|
|
9151
|
+
*
|
|
9152
|
+
* @type {boolean}
|
|
9153
|
+
* @memberof SpecialtyItemSimpleModel
|
|
9154
|
+
*/
|
|
9155
|
+
'confirmed'?: boolean;
|
|
9156
|
+
}
|
|
9058
9157
|
/**
|
|
9059
9158
|
*
|
|
9060
9159
|
* @export
|
|
@@ -9863,6 +9962,18 @@ export interface UpdateServiceReviewCommand {
|
|
|
9863
9962
|
* @memberof UpdateServiceReviewCommand
|
|
9864
9963
|
*/
|
|
9865
9964
|
'rate'?: number | null;
|
|
9965
|
+
/**
|
|
9966
|
+
*
|
|
9967
|
+
* @type {string}
|
|
9968
|
+
* @memberof UpdateServiceReviewCommand
|
|
9969
|
+
*/
|
|
9970
|
+
'languageCode'?: string | null;
|
|
9971
|
+
/**
|
|
9972
|
+
*
|
|
9973
|
+
* @type {boolean}
|
|
9974
|
+
* @memberof UpdateServiceReviewCommand
|
|
9975
|
+
*/
|
|
9976
|
+
'confirmed'?: boolean;
|
|
9866
9977
|
}
|
|
9867
9978
|
/**
|
|
9868
9979
|
*
|
|
@@ -25058,13 +25169,15 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
25058
25169
|
* @param {boolean} [recommended]
|
|
25059
25170
|
* @param {number} [rate]
|
|
25060
25171
|
* @param {ReviewType} [reviewType]
|
|
25172
|
+
* @param {string} [languageCode]
|
|
25173
|
+
* @param {boolean} [returnDefaultValue]
|
|
25061
25174
|
* @param {number} [page]
|
|
25062
25175
|
* @param {number} [limit]
|
|
25063
25176
|
* @param {Date} [lastRetrieved]
|
|
25064
25177
|
* @param {*} [options] Override http request option.
|
|
25065
25178
|
* @throws {RequiredError}
|
|
25066
25179
|
*/
|
|
25067
|
-
apiV2ServicereviewsGet: async (hospitalId?: string, 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> => {
|
|
25180
|
+
apiV2ServicereviewsGet: async (hospitalId?: string, 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> => {
|
|
25068
25181
|
const localVarPath = `/api/v2/servicereviews`;
|
|
25069
25182
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25070
25183
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -25113,6 +25226,14 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
25113
25226
|
localVarQueryParameter['ReviewType'] = reviewType;
|
|
25114
25227
|
}
|
|
25115
25228
|
|
|
25229
|
+
if (languageCode !== undefined) {
|
|
25230
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
25231
|
+
}
|
|
25232
|
+
|
|
25233
|
+
if (returnDefaultValue !== undefined) {
|
|
25234
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
25235
|
+
}
|
|
25236
|
+
|
|
25116
25237
|
if (page !== undefined) {
|
|
25117
25238
|
localVarQueryParameter['page'] = page;
|
|
25118
25239
|
}
|
|
@@ -25217,10 +25338,12 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
25217
25338
|
/**
|
|
25218
25339
|
*
|
|
25219
25340
|
* @param {string} serviceReviewId
|
|
25341
|
+
* @param {string} [languageCode]
|
|
25342
|
+
* @param {boolean} [returnDefaultValue]
|
|
25220
25343
|
* @param {*} [options] Override http request option.
|
|
25221
25344
|
* @throws {RequiredError}
|
|
25222
25345
|
*/
|
|
25223
|
-
apiV2ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25346
|
+
apiV2ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25224
25347
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
25225
25348
|
assertParamExists('apiV2ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId)
|
|
25226
25349
|
const localVarPath = `/api/v2/servicereviews/{serviceReviewId}`
|
|
@@ -25236,6 +25359,14 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
25236
25359
|
const localVarHeaderParameter = {} as any;
|
|
25237
25360
|
const localVarQueryParameter = {} as any;
|
|
25238
25361
|
|
|
25362
|
+
if (languageCode !== undefined) {
|
|
25363
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
25364
|
+
}
|
|
25365
|
+
|
|
25366
|
+
if (returnDefaultValue !== undefined) {
|
|
25367
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
25368
|
+
}
|
|
25369
|
+
|
|
25239
25370
|
|
|
25240
25371
|
|
|
25241
25372
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -25540,14 +25671,16 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
25540
25671
|
* @param {boolean} [recommended]
|
|
25541
25672
|
* @param {number} [rate]
|
|
25542
25673
|
* @param {ReviewType} [reviewType]
|
|
25674
|
+
* @param {string} [languageCode]
|
|
25675
|
+
* @param {boolean} [returnDefaultValue]
|
|
25543
25676
|
* @param {number} [page]
|
|
25544
25677
|
* @param {number} [limit]
|
|
25545
25678
|
* @param {Date} [lastRetrieved]
|
|
25546
25679
|
* @param {*} [options] Override http request option.
|
|
25547
25680
|
* @throws {RequiredError}
|
|
25548
25681
|
*/
|
|
25549
|
-
async apiV2ServicereviewsGet(hospitalId?: string, 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>> {
|
|
25550
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options);
|
|
25682
|
+
async apiV2ServicereviewsGet(hospitalId?: string, 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>> {
|
|
25683
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
25551
25684
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25552
25685
|
},
|
|
25553
25686
|
/**
|
|
@@ -25575,11 +25708,13 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
25575
25708
|
/**
|
|
25576
25709
|
*
|
|
25577
25710
|
* @param {string} serviceReviewId
|
|
25711
|
+
* @param {string} [languageCode]
|
|
25712
|
+
* @param {boolean} [returnDefaultValue]
|
|
25578
25713
|
* @param {*} [options] Override http request option.
|
|
25579
25714
|
* @throws {RequiredError}
|
|
25580
25715
|
*/
|
|
25581
|
-
async apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
25582
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options);
|
|
25716
|
+
async apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
25717
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options);
|
|
25583
25718
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25584
25719
|
},
|
|
25585
25720
|
/**
|
|
@@ -25681,14 +25816,16 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
|
|
|
25681
25816
|
* @param {boolean} [recommended]
|
|
25682
25817
|
* @param {number} [rate]
|
|
25683
25818
|
* @param {ReviewType} [reviewType]
|
|
25819
|
+
* @param {string} [languageCode]
|
|
25820
|
+
* @param {boolean} [returnDefaultValue]
|
|
25684
25821
|
* @param {number} [page]
|
|
25685
25822
|
* @param {number} [limit]
|
|
25686
25823
|
* @param {Date} [lastRetrieved]
|
|
25687
25824
|
* @param {*} [options] Override http request option.
|
|
25688
25825
|
* @throws {RequiredError}
|
|
25689
25826
|
*/
|
|
25690
|
-
apiV2ServicereviewsGet(hospitalId?: string, 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> {
|
|
25691
|
-
return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25827
|
+
apiV2ServicereviewsGet(hospitalId?: string, 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> {
|
|
25828
|
+
return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25692
25829
|
},
|
|
25693
25830
|
/**
|
|
25694
25831
|
*
|
|
@@ -25713,11 +25850,13 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
|
|
|
25713
25850
|
/**
|
|
25714
25851
|
*
|
|
25715
25852
|
* @param {string} serviceReviewId
|
|
25853
|
+
* @param {string} [languageCode]
|
|
25854
|
+
* @param {boolean} [returnDefaultValue]
|
|
25716
25855
|
* @param {*} [options] Override http request option.
|
|
25717
25856
|
* @throws {RequiredError}
|
|
25718
25857
|
*/
|
|
25719
|
-
apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
25720
|
-
return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(axios, basePath));
|
|
25858
|
+
apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
25859
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
25721
25860
|
},
|
|
25722
25861
|
/**
|
|
25723
25862
|
*
|
|
@@ -25812,6 +25951,8 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
25812
25951
|
* @param {boolean} [recommended]
|
|
25813
25952
|
* @param {number} [rate]
|
|
25814
25953
|
* @param {ReviewType} [reviewType]
|
|
25954
|
+
* @param {string} [languageCode]
|
|
25955
|
+
* @param {boolean} [returnDefaultValue]
|
|
25815
25956
|
* @param {number} [page]
|
|
25816
25957
|
* @param {number} [limit]
|
|
25817
25958
|
* @param {Date} [lastRetrieved]
|
|
@@ -25819,8 +25960,8 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
25819
25960
|
* @throws {RequiredError}
|
|
25820
25961
|
* @memberof ServiceReviewsApi
|
|
25821
25962
|
*/
|
|
25822
|
-
public apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
25823
|
-
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25963
|
+
public apiV2ServicereviewsGet(hospitalId?: string, 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) {
|
|
25964
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25824
25965
|
}
|
|
25825
25966
|
|
|
25826
25967
|
/**
|
|
@@ -25850,12 +25991,14 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
25850
25991
|
/**
|
|
25851
25992
|
*
|
|
25852
25993
|
* @param {string} serviceReviewId
|
|
25994
|
+
* @param {string} [languageCode]
|
|
25995
|
+
* @param {boolean} [returnDefaultValue]
|
|
25853
25996
|
* @param {*} [options] Override http request option.
|
|
25854
25997
|
* @throws {RequiredError}
|
|
25855
25998
|
* @memberof ServiceReviewsApi
|
|
25856
25999
|
*/
|
|
25857
|
-
public apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig) {
|
|
25858
|
-
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(this.axios, this.basePath));
|
|
26000
|
+
public apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
26001
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
25859
26002
|
}
|
|
25860
26003
|
|
|
25861
26004
|
/**
|
|
@@ -26653,6 +26796,100 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
26653
26796
|
|
|
26654
26797
|
|
|
26655
26798
|
|
|
26799
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26800
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26801
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26802
|
+
|
|
26803
|
+
return {
|
|
26804
|
+
url: toPathString(localVarUrlObj),
|
|
26805
|
+
options: localVarRequestOptions,
|
|
26806
|
+
};
|
|
26807
|
+
},
|
|
26808
|
+
/**
|
|
26809
|
+
*
|
|
26810
|
+
* @summary Get all Specialties Simple.
|
|
26811
|
+
* @param {string} [id]
|
|
26812
|
+
* @param {string} [name]
|
|
26813
|
+
* @param {string} [description]
|
|
26814
|
+
* @param {string} [specialtyTypeId]
|
|
26815
|
+
* @param {string} [hospitalId]
|
|
26816
|
+
* @param {Date} [created]
|
|
26817
|
+
* @param {string} [languageCode]
|
|
26818
|
+
* @param {Array<string>} [ids]
|
|
26819
|
+
* @param {boolean} [returnDefaultValue]
|
|
26820
|
+
* @param {number} [page]
|
|
26821
|
+
* @param {number} [limit]
|
|
26822
|
+
* @param {Date} [lastRetrieved]
|
|
26823
|
+
* @param {*} [options] Override http request option.
|
|
26824
|
+
* @throws {RequiredError}
|
|
26825
|
+
*/
|
|
26826
|
+
apiV2SpecialtiesSimpleGet: 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> => {
|
|
26827
|
+
const localVarPath = `/api/v2/specialties/simple`;
|
|
26828
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26829
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26830
|
+
let baseOptions;
|
|
26831
|
+
if (configuration) {
|
|
26832
|
+
baseOptions = configuration.baseOptions;
|
|
26833
|
+
}
|
|
26834
|
+
|
|
26835
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
26836
|
+
const localVarHeaderParameter = {} as any;
|
|
26837
|
+
const localVarQueryParameter = {} as any;
|
|
26838
|
+
|
|
26839
|
+
if (id !== undefined) {
|
|
26840
|
+
localVarQueryParameter['Id'] = id;
|
|
26841
|
+
}
|
|
26842
|
+
|
|
26843
|
+
if (name !== undefined) {
|
|
26844
|
+
localVarQueryParameter['Name'] = name;
|
|
26845
|
+
}
|
|
26846
|
+
|
|
26847
|
+
if (description !== undefined) {
|
|
26848
|
+
localVarQueryParameter['Description'] = description;
|
|
26849
|
+
}
|
|
26850
|
+
|
|
26851
|
+
if (specialtyTypeId !== undefined) {
|
|
26852
|
+
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
26853
|
+
}
|
|
26854
|
+
|
|
26855
|
+
if (hospitalId !== undefined) {
|
|
26856
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
26857
|
+
}
|
|
26858
|
+
|
|
26859
|
+
if (created !== undefined) {
|
|
26860
|
+
localVarQueryParameter['Created'] = (created as any instanceof Date) ?
|
|
26861
|
+
(created as any).toISOString() :
|
|
26862
|
+
created;
|
|
26863
|
+
}
|
|
26864
|
+
|
|
26865
|
+
if (languageCode !== undefined) {
|
|
26866
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
26867
|
+
}
|
|
26868
|
+
|
|
26869
|
+
if (ids) {
|
|
26870
|
+
localVarQueryParameter['Ids'] = ids;
|
|
26871
|
+
}
|
|
26872
|
+
|
|
26873
|
+
if (returnDefaultValue !== undefined) {
|
|
26874
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
26875
|
+
}
|
|
26876
|
+
|
|
26877
|
+
if (page !== undefined) {
|
|
26878
|
+
localVarQueryParameter['page'] = page;
|
|
26879
|
+
}
|
|
26880
|
+
|
|
26881
|
+
if (limit !== undefined) {
|
|
26882
|
+
localVarQueryParameter['limit'] = limit;
|
|
26883
|
+
}
|
|
26884
|
+
|
|
26885
|
+
if (lastRetrieved !== undefined) {
|
|
26886
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
26887
|
+
(lastRetrieved as any).toISOString() :
|
|
26888
|
+
lastRetrieved;
|
|
26889
|
+
}
|
|
26890
|
+
|
|
26891
|
+
|
|
26892
|
+
|
|
26656
26893
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26657
26894
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26658
26895
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -26879,6 +27116,28 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
26879
27116
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
26880
27117
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26881
27118
|
},
|
|
27119
|
+
/**
|
|
27120
|
+
*
|
|
27121
|
+
* @summary Get all Specialties Simple.
|
|
27122
|
+
* @param {string} [id]
|
|
27123
|
+
* @param {string} [name]
|
|
27124
|
+
* @param {string} [description]
|
|
27125
|
+
* @param {string} [specialtyTypeId]
|
|
27126
|
+
* @param {string} [hospitalId]
|
|
27127
|
+
* @param {Date} [created]
|
|
27128
|
+
* @param {string} [languageCode]
|
|
27129
|
+
* @param {Array<string>} [ids]
|
|
27130
|
+
* @param {boolean} [returnDefaultValue]
|
|
27131
|
+
* @param {number} [page]
|
|
27132
|
+
* @param {number} [limit]
|
|
27133
|
+
* @param {Date} [lastRetrieved]
|
|
27134
|
+
* @param {*} [options] Override http request option.
|
|
27135
|
+
* @throws {RequiredError}
|
|
27136
|
+
*/
|
|
27137
|
+
async apiV2SpecialtiesSimpleGet(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>> {
|
|
27138
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
27139
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27140
|
+
},
|
|
26882
27141
|
/**
|
|
26883
27142
|
*
|
|
26884
27143
|
* @param {string} slug
|
|
@@ -26962,6 +27221,27 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
26962
27221
|
apiV2SpecialtiesGet(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<SpecialtiesModel> {
|
|
26963
27222
|
return localVarFp.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
26964
27223
|
},
|
|
27224
|
+
/**
|
|
27225
|
+
*
|
|
27226
|
+
* @summary Get all Specialties Simple.
|
|
27227
|
+
* @param {string} [id]
|
|
27228
|
+
* @param {string} [name]
|
|
27229
|
+
* @param {string} [description]
|
|
27230
|
+
* @param {string} [specialtyTypeId]
|
|
27231
|
+
* @param {string} [hospitalId]
|
|
27232
|
+
* @param {Date} [created]
|
|
27233
|
+
* @param {string} [languageCode]
|
|
27234
|
+
* @param {Array<string>} [ids]
|
|
27235
|
+
* @param {boolean} [returnDefaultValue]
|
|
27236
|
+
* @param {number} [page]
|
|
27237
|
+
* @param {number} [limit]
|
|
27238
|
+
* @param {Date} [lastRetrieved]
|
|
27239
|
+
* @param {*} [options] Override http request option.
|
|
27240
|
+
* @throws {RequiredError}
|
|
27241
|
+
*/
|
|
27242
|
+
apiV2SpecialtiesSimpleGet(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> {
|
|
27243
|
+
return localVarFp.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
27244
|
+
},
|
|
26965
27245
|
/**
|
|
26966
27246
|
*
|
|
26967
27247
|
* @param {string} slug
|
|
@@ -27043,6 +27323,29 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
27043
27323
|
return SpecialtiesApiFp(this.configuration).apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
27044
27324
|
}
|
|
27045
27325
|
|
|
27326
|
+
/**
|
|
27327
|
+
*
|
|
27328
|
+
* @summary Get all Specialties Simple.
|
|
27329
|
+
* @param {string} [id]
|
|
27330
|
+
* @param {string} [name]
|
|
27331
|
+
* @param {string} [description]
|
|
27332
|
+
* @param {string} [specialtyTypeId]
|
|
27333
|
+
* @param {string} [hospitalId]
|
|
27334
|
+
* @param {Date} [created]
|
|
27335
|
+
* @param {string} [languageCode]
|
|
27336
|
+
* @param {Array<string>} [ids]
|
|
27337
|
+
* @param {boolean} [returnDefaultValue]
|
|
27338
|
+
* @param {number} [page]
|
|
27339
|
+
* @param {number} [limit]
|
|
27340
|
+
* @param {Date} [lastRetrieved]
|
|
27341
|
+
* @param {*} [options] Override http request option.
|
|
27342
|
+
* @throws {RequiredError}
|
|
27343
|
+
* @memberof SpecialtiesApi
|
|
27344
|
+
*/
|
|
27345
|
+
public apiV2SpecialtiesSimpleGet(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) {
|
|
27346
|
+
return SpecialtiesApiFp(this.configuration).apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
27347
|
+
}
|
|
27348
|
+
|
|
27046
27349
|
/**
|
|
27047
27350
|
*
|
|
27048
27351
|
* @param {string} slug
|