ch-api-client-typescript2 3.5.1 → 3.5.2
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 +56 -82
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +33 -26
- package/package.json +1 -1
- package/src/api.ts +70 -92
package/lib/api.d.ts
CHANGED
|
@@ -2982,7 +2982,19 @@ export interface CreateServiceReviewCommand {
|
|
|
2982
2982
|
* @type {string}
|
|
2983
2983
|
* @memberof CreateServiceReviewCommand
|
|
2984
2984
|
*/
|
|
2985
|
-
'
|
|
2985
|
+
'name'?: string | null;
|
|
2986
|
+
/**
|
|
2987
|
+
*
|
|
2988
|
+
* @type {string}
|
|
2989
|
+
* @memberof CreateServiceReviewCommand
|
|
2990
|
+
*/
|
|
2991
|
+
'description'?: string | null;
|
|
2992
|
+
/**
|
|
2993
|
+
*
|
|
2994
|
+
* @type {string}
|
|
2995
|
+
* @memberof CreateServiceReviewCommand
|
|
2996
|
+
*/
|
|
2997
|
+
'content'?: string | null;
|
|
2986
2998
|
/**
|
|
2987
2999
|
*
|
|
2988
3000
|
* @type {boolean}
|
|
@@ -7949,36 +7961,6 @@ export interface ServiceReviewItemModel {
|
|
|
7949
7961
|
* @memberof ServiceReviewItemModel
|
|
7950
7962
|
*/
|
|
7951
7963
|
'patientName'?: string | null;
|
|
7952
|
-
/**
|
|
7953
|
-
*
|
|
7954
|
-
* @type {Gender}
|
|
7955
|
-
* @memberof ServiceReviewItemModel
|
|
7956
|
-
*/
|
|
7957
|
-
'patientGender'?: Gender;
|
|
7958
|
-
/**
|
|
7959
|
-
*
|
|
7960
|
-
* @type {string}
|
|
7961
|
-
* @memberof ServiceReviewItemModel
|
|
7962
|
-
*/
|
|
7963
|
-
'patientPhoto'?: string | null;
|
|
7964
|
-
/**
|
|
7965
|
-
*
|
|
7966
|
-
* @type {string}
|
|
7967
|
-
* @memberof ServiceReviewItemModel
|
|
7968
|
-
*/
|
|
7969
|
-
'patientPhotoThumbnail'?: string | null;
|
|
7970
|
-
/**
|
|
7971
|
-
*
|
|
7972
|
-
* @type {Date}
|
|
7973
|
-
* @memberof ServiceReviewItemModel
|
|
7974
|
-
*/
|
|
7975
|
-
'patientCreatedDate'?: Date | null;
|
|
7976
|
-
/**
|
|
7977
|
-
*
|
|
7978
|
-
* @type {string}
|
|
7979
|
-
* @memberof ServiceReviewItemModel
|
|
7980
|
-
*/
|
|
7981
|
-
'body'?: string | null;
|
|
7982
7964
|
/**
|
|
7983
7965
|
*
|
|
7984
7966
|
* @type {boolean}
|
|
@@ -8076,36 +8058,6 @@ export interface ServiceReviewModel {
|
|
|
8076
8058
|
* @memberof ServiceReviewModel
|
|
8077
8059
|
*/
|
|
8078
8060
|
'patientName'?: string | null;
|
|
8079
|
-
/**
|
|
8080
|
-
*
|
|
8081
|
-
* @type {Gender}
|
|
8082
|
-
* @memberof ServiceReviewModel
|
|
8083
|
-
*/
|
|
8084
|
-
'patientGender'?: Gender;
|
|
8085
|
-
/**
|
|
8086
|
-
*
|
|
8087
|
-
* @type {string}
|
|
8088
|
-
* @memberof ServiceReviewModel
|
|
8089
|
-
*/
|
|
8090
|
-
'patientPhoto'?: string | null;
|
|
8091
|
-
/**
|
|
8092
|
-
*
|
|
8093
|
-
* @type {string}
|
|
8094
|
-
* @memberof ServiceReviewModel
|
|
8095
|
-
*/
|
|
8096
|
-
'patientPhotoThumbnail'?: string | null;
|
|
8097
|
-
/**
|
|
8098
|
-
*
|
|
8099
|
-
* @type {Date}
|
|
8100
|
-
* @memberof ServiceReviewModel
|
|
8101
|
-
*/
|
|
8102
|
-
'patientCreatedDate'?: Date | null;
|
|
8103
|
-
/**
|
|
8104
|
-
*
|
|
8105
|
-
* @type {string}
|
|
8106
|
-
* @memberof ServiceReviewModel
|
|
8107
|
-
*/
|
|
8108
|
-
'body'?: string | null;
|
|
8109
8061
|
/**
|
|
8110
8062
|
*
|
|
8111
8063
|
* @type {boolean}
|
|
@@ -9208,25 +9160,43 @@ export interface UpdateServiceReviewCommand {
|
|
|
9208
9160
|
* @type {string}
|
|
9209
9161
|
* @memberof UpdateServiceReviewCommand
|
|
9210
9162
|
*/
|
|
9211
|
-
'
|
|
9163
|
+
'name'?: string | null;
|
|
9212
9164
|
/**
|
|
9213
9165
|
*
|
|
9214
|
-
* @type {
|
|
9166
|
+
* @type {string}
|
|
9215
9167
|
* @memberof UpdateServiceReviewCommand
|
|
9216
9168
|
*/
|
|
9217
|
-
'
|
|
9169
|
+
'slug'?: string | null;
|
|
9218
9170
|
/**
|
|
9219
9171
|
*
|
|
9220
|
-
* @type {
|
|
9172
|
+
* @type {string}
|
|
9221
9173
|
* @memberof UpdateServiceReviewCommand
|
|
9222
9174
|
*/
|
|
9223
|
-
'
|
|
9175
|
+
'description'?: string | null;
|
|
9176
|
+
/**
|
|
9177
|
+
*
|
|
9178
|
+
* @type {string}
|
|
9179
|
+
* @memberof UpdateServiceReviewCommand
|
|
9180
|
+
*/
|
|
9181
|
+
'content'?: string | null;
|
|
9224
9182
|
/**
|
|
9225
9183
|
*
|
|
9226
9184
|
* @type {string}
|
|
9227
9185
|
* @memberof UpdateServiceReviewCommand
|
|
9228
9186
|
*/
|
|
9229
9187
|
'languageCode'?: string | null;
|
|
9188
|
+
/**
|
|
9189
|
+
*
|
|
9190
|
+
* @type {boolean}
|
|
9191
|
+
* @memberof UpdateServiceReviewCommand
|
|
9192
|
+
*/
|
|
9193
|
+
'recommended'?: boolean | null;
|
|
9194
|
+
/**
|
|
9195
|
+
*
|
|
9196
|
+
* @type {number}
|
|
9197
|
+
* @memberof UpdateServiceReviewCommand
|
|
9198
|
+
*/
|
|
9199
|
+
'rate'?: number | null;
|
|
9230
9200
|
/**
|
|
9231
9201
|
*
|
|
9232
9202
|
* @type {boolean}
|
|
@@ -16599,7 +16569,7 @@ export declare const ServiceReviewsApiAxiosParamCreator: (configuration?: Config
|
|
|
16599
16569
|
/**
|
|
16600
16570
|
*
|
|
16601
16571
|
* @summary Get all ServiceReviews.
|
|
16602
|
-
* @param {string} [
|
|
16572
|
+
* @param {string} [id]
|
|
16603
16573
|
* @param {string} [serviceId]
|
|
16604
16574
|
* @param {string} [serviceName]
|
|
16605
16575
|
* @param {string} [patientId]
|
|
@@ -16609,14 +16579,14 @@ export declare const ServiceReviewsApiAxiosParamCreator: (configuration?: Config
|
|
|
16609
16579
|
* @param {number} [rate]
|
|
16610
16580
|
* @param {ReviewType} [reviewType]
|
|
16611
16581
|
* @param {string} [languageCode]
|
|
16612
|
-
* @param {boolean} [
|
|
16582
|
+
* @param {boolean} [showHidden]
|
|
16613
16583
|
* @param {number} [page]
|
|
16614
16584
|
* @param {number} [limit]
|
|
16615
16585
|
* @param {Date} [lastRetrieved]
|
|
16616
16586
|
* @param {*} [options] Override http request option.
|
|
16617
16587
|
* @throws {RequiredError}
|
|
16618
16588
|
*/
|
|
16619
|
-
apiV2ServicereviewsGet: (
|
|
16589
|
+
apiV2ServicereviewsGet: (id?: string | undefined, serviceId?: string | undefined, serviceName?: string | undefined, patientId?: string | undefined, patientName?: string | undefined, gender?: Gender | undefined, recommended?: boolean | undefined, rate?: number | undefined, reviewType?: ReviewType | undefined, languageCode?: string | undefined, showHidden?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
16620
16590
|
/**
|
|
16621
16591
|
*
|
|
16622
16592
|
* @summary Create a ServiceReview.
|
|
@@ -16636,10 +16606,11 @@ export declare const ServiceReviewsApiAxiosParamCreator: (configuration?: Config
|
|
|
16636
16606
|
/**
|
|
16637
16607
|
*
|
|
16638
16608
|
* @param {string} serviceReviewId
|
|
16609
|
+
* @param {string} [languageCode]
|
|
16639
16610
|
* @param {*} [options] Override http request option.
|
|
16640
16611
|
* @throws {RequiredError}
|
|
16641
16612
|
*/
|
|
16642
|
-
apiV2ServicereviewsServiceReviewIdGet: (serviceReviewId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
16613
|
+
apiV2ServicereviewsServiceReviewIdGet: (serviceReviewId: string, languageCode?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
16643
16614
|
/**
|
|
16644
16615
|
*
|
|
16645
16616
|
* @summary Get all ServiceReviewMedias.
|
|
@@ -16708,7 +16679,7 @@ export declare const ServiceReviewsApiFp: (configuration?: Configuration | undef
|
|
|
16708
16679
|
/**
|
|
16709
16680
|
*
|
|
16710
16681
|
* @summary Get all ServiceReviews.
|
|
16711
|
-
* @param {string} [
|
|
16682
|
+
* @param {string} [id]
|
|
16712
16683
|
* @param {string} [serviceId]
|
|
16713
16684
|
* @param {string} [serviceName]
|
|
16714
16685
|
* @param {string} [patientId]
|
|
@@ -16718,14 +16689,14 @@ export declare const ServiceReviewsApiFp: (configuration?: Configuration | undef
|
|
|
16718
16689
|
* @param {number} [rate]
|
|
16719
16690
|
* @param {ReviewType} [reviewType]
|
|
16720
16691
|
* @param {string} [languageCode]
|
|
16721
|
-
* @param {boolean} [
|
|
16692
|
+
* @param {boolean} [showHidden]
|
|
16722
16693
|
* @param {number} [page]
|
|
16723
16694
|
* @param {number} [limit]
|
|
16724
16695
|
* @param {Date} [lastRetrieved]
|
|
16725
16696
|
* @param {*} [options] Override http request option.
|
|
16726
16697
|
* @throws {RequiredError}
|
|
16727
16698
|
*/
|
|
16728
|
-
apiV2ServicereviewsGet(
|
|
16699
|
+
apiV2ServicereviewsGet(id?: string | undefined, serviceId?: string | undefined, serviceName?: string | undefined, patientId?: string | undefined, patientName?: string | undefined, gender?: Gender | undefined, recommended?: boolean | undefined, rate?: number | undefined, reviewType?: ReviewType | undefined, languageCode?: string | undefined, showHidden?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ServiceReviewsModel>>;
|
|
16729
16700
|
/**
|
|
16730
16701
|
*
|
|
16731
16702
|
* @summary Create a ServiceReview.
|
|
@@ -16745,10 +16716,11 @@ export declare const ServiceReviewsApiFp: (configuration?: Configuration | undef
|
|
|
16745
16716
|
/**
|
|
16746
16717
|
*
|
|
16747
16718
|
* @param {string} serviceReviewId
|
|
16719
|
+
* @param {string} [languageCode]
|
|
16748
16720
|
* @param {*} [options] Override http request option.
|
|
16749
16721
|
* @throws {RequiredError}
|
|
16750
16722
|
*/
|
|
16751
|
-
apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ServiceReviewModel>>;
|
|
16723
|
+
apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ServiceReviewModel>>;
|
|
16752
16724
|
/**
|
|
16753
16725
|
*
|
|
16754
16726
|
* @summary Get all ServiceReviewMedias.
|
|
@@ -16817,7 +16789,7 @@ export declare const ServiceReviewsApiFactory: (configuration?: Configuration |
|
|
|
16817
16789
|
/**
|
|
16818
16790
|
*
|
|
16819
16791
|
* @summary Get all ServiceReviews.
|
|
16820
|
-
* @param {string} [
|
|
16792
|
+
* @param {string} [id]
|
|
16821
16793
|
* @param {string} [serviceId]
|
|
16822
16794
|
* @param {string} [serviceName]
|
|
16823
16795
|
* @param {string} [patientId]
|
|
@@ -16827,14 +16799,14 @@ export declare const ServiceReviewsApiFactory: (configuration?: Configuration |
|
|
|
16827
16799
|
* @param {number} [rate]
|
|
16828
16800
|
* @param {ReviewType} [reviewType]
|
|
16829
16801
|
* @param {string} [languageCode]
|
|
16830
|
-
* @param {boolean} [
|
|
16802
|
+
* @param {boolean} [showHidden]
|
|
16831
16803
|
* @param {number} [page]
|
|
16832
16804
|
* @param {number} [limit]
|
|
16833
16805
|
* @param {Date} [lastRetrieved]
|
|
16834
16806
|
* @param {*} [options] Override http request option.
|
|
16835
16807
|
* @throws {RequiredError}
|
|
16836
16808
|
*/
|
|
16837
|
-
apiV2ServicereviewsGet(
|
|
16809
|
+
apiV2ServicereviewsGet(id?: string | undefined, serviceId?: string | undefined, serviceName?: string | undefined, patientId?: string | undefined, patientName?: string | undefined, gender?: Gender | undefined, recommended?: boolean | undefined, rate?: number | undefined, reviewType?: ReviewType | undefined, languageCode?: string | undefined, showHidden?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<ServiceReviewsModel>;
|
|
16838
16810
|
/**
|
|
16839
16811
|
*
|
|
16840
16812
|
* @summary Create a ServiceReview.
|
|
@@ -16854,10 +16826,11 @@ export declare const ServiceReviewsApiFactory: (configuration?: Configuration |
|
|
|
16854
16826
|
/**
|
|
16855
16827
|
*
|
|
16856
16828
|
* @param {string} serviceReviewId
|
|
16829
|
+
* @param {string} [languageCode]
|
|
16857
16830
|
* @param {*} [options] Override http request option.
|
|
16858
16831
|
* @throws {RequiredError}
|
|
16859
16832
|
*/
|
|
16860
|
-
apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: any): AxiosPromise<ServiceReviewModel>;
|
|
16833
|
+
apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string | undefined, options?: any): AxiosPromise<ServiceReviewModel>;
|
|
16861
16834
|
/**
|
|
16862
16835
|
*
|
|
16863
16836
|
* @summary Get all ServiceReviewMedias.
|
|
@@ -16928,7 +16901,7 @@ export declare class ServiceReviewsApi extends BaseAPI {
|
|
|
16928
16901
|
/**
|
|
16929
16902
|
*
|
|
16930
16903
|
* @summary Get all ServiceReviews.
|
|
16931
|
-
* @param {string} [
|
|
16904
|
+
* @param {string} [id]
|
|
16932
16905
|
* @param {string} [serviceId]
|
|
16933
16906
|
* @param {string} [serviceName]
|
|
16934
16907
|
* @param {string} [patientId]
|
|
@@ -16938,7 +16911,7 @@ export declare class ServiceReviewsApi extends BaseAPI {
|
|
|
16938
16911
|
* @param {number} [rate]
|
|
16939
16912
|
* @param {ReviewType} [reviewType]
|
|
16940
16913
|
* @param {string} [languageCode]
|
|
16941
|
-
* @param {boolean} [
|
|
16914
|
+
* @param {boolean} [showHidden]
|
|
16942
16915
|
* @param {number} [page]
|
|
16943
16916
|
* @param {number} [limit]
|
|
16944
16917
|
* @param {Date} [lastRetrieved]
|
|
@@ -16946,7 +16919,7 @@ export declare class ServiceReviewsApi extends BaseAPI {
|
|
|
16946
16919
|
* @throws {RequiredError}
|
|
16947
16920
|
* @memberof ServiceReviewsApi
|
|
16948
16921
|
*/
|
|
16949
|
-
apiV2ServicereviewsGet(
|
|
16922
|
+
apiV2ServicereviewsGet(id?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceReviewsModel, any>>;
|
|
16950
16923
|
/**
|
|
16951
16924
|
*
|
|
16952
16925
|
* @summary Create a ServiceReview.
|
|
@@ -16968,11 +16941,12 @@ export declare class ServiceReviewsApi extends BaseAPI {
|
|
|
16968
16941
|
/**
|
|
16969
16942
|
*
|
|
16970
16943
|
* @param {string} serviceReviewId
|
|
16944
|
+
* @param {string} [languageCode]
|
|
16971
16945
|
* @param {*} [options] Override http request option.
|
|
16972
16946
|
* @throws {RequiredError}
|
|
16973
16947
|
* @memberof ServiceReviewsApi
|
|
16974
16948
|
*/
|
|
16975
|
-
apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceReviewModel, any>>;
|
|
16949
|
+
apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceReviewModel, any>>;
|
|
16976
16950
|
/**
|
|
16977
16951
|
*
|
|
16978
16952
|
* @summary Get all ServiceReviewMedias.
|