ch-api-client-typescript2 2.9.4 → 2.9.5

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 CHANGED
@@ -12,6 +12,201 @@
12
12
  import { Configuration } from './configuration';
13
13
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
14
14
  import { RequestArgs, BaseAPI } from './base';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface AboutUsPageItemModel
19
+ */
20
+ export interface AboutUsPageItemModel {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof AboutUsPageItemModel
25
+ */
26
+ 'id'?: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof AboutUsPageItemModel
31
+ */
32
+ 'hospitalId'?: string;
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof AboutUsPageItemModel
37
+ */
38
+ 'hospitalName'?: string | null;
39
+ /**
40
+ *
41
+ * @type {string}
42
+ * @memberof AboutUsPageItemModel
43
+ */
44
+ 'hospitalSlug'?: string | null;
45
+ /**
46
+ *
47
+ * @type {string}
48
+ * @memberof AboutUsPageItemModel
49
+ */
50
+ 'overviewTitle'?: string | null;
51
+ /**
52
+ *
53
+ * @type {string}
54
+ * @memberof AboutUsPageItemModel
55
+ */
56
+ 'overview'?: string | null;
57
+ /**
58
+ *
59
+ * @type {string}
60
+ * @memberof AboutUsPageItemModel
61
+ */
62
+ 'content'?: string | null;
63
+ /**
64
+ *
65
+ * @type {string}
66
+ * @memberof AboutUsPageItemModel
67
+ */
68
+ 'customStyle'?: string | null;
69
+ /**
70
+ *
71
+ * @type {string}
72
+ * @memberof AboutUsPageItemModel
73
+ */
74
+ 'background'?: string | null;
75
+ /**
76
+ *
77
+ * @type {string}
78
+ * @memberof AboutUsPageItemModel
79
+ */
80
+ 'backgroundThumbnail'?: string | null;
81
+ /**
82
+ *
83
+ * @type {boolean}
84
+ * @memberof AboutUsPageItemModel
85
+ */
86
+ 'confirmed'?: boolean;
87
+ /**
88
+ *
89
+ * @type {Array<MediaModel>}
90
+ * @memberof AboutUsPageItemModel
91
+ */
92
+ 'medias'?: Array<MediaModel> | null;
93
+ /**
94
+ *
95
+ * @type {AuditableEntity}
96
+ * @memberof AboutUsPageItemModel
97
+ */
98
+ 'auditableEntity'?: AuditableEntity;
99
+ }
100
+ /**
101
+ *
102
+ * @export
103
+ * @interface AboutUsPageModel
104
+ */
105
+ export interface AboutUsPageModel {
106
+ /**
107
+ *
108
+ * @type {string}
109
+ * @memberof AboutUsPageModel
110
+ */
111
+ 'id'?: string;
112
+ /**
113
+ *
114
+ * @type {string}
115
+ * @memberof AboutUsPageModel
116
+ */
117
+ 'hospitalId'?: string;
118
+ /**
119
+ *
120
+ * @type {string}
121
+ * @memberof AboutUsPageModel
122
+ */
123
+ 'hospitalName'?: string | null;
124
+ /**
125
+ *
126
+ * @type {string}
127
+ * @memberof AboutUsPageModel
128
+ */
129
+ 'hospitalSlug'?: string | null;
130
+ /**
131
+ *
132
+ * @type {string}
133
+ * @memberof AboutUsPageModel
134
+ */
135
+ 'overviewTitle'?: string | null;
136
+ /**
137
+ *
138
+ * @type {string}
139
+ * @memberof AboutUsPageModel
140
+ */
141
+ 'overview'?: string | null;
142
+ /**
143
+ *
144
+ * @type {string}
145
+ * @memberof AboutUsPageModel
146
+ */
147
+ 'content'?: string | null;
148
+ /**
149
+ *
150
+ * @type {string}
151
+ * @memberof AboutUsPageModel
152
+ */
153
+ 'customStyle'?: string | null;
154
+ /**
155
+ *
156
+ * @type {string}
157
+ * @memberof AboutUsPageModel
158
+ */
159
+ 'background'?: string | null;
160
+ /**
161
+ *
162
+ * @type {string}
163
+ * @memberof AboutUsPageModel
164
+ */
165
+ 'backgroundThumbnail'?: string | null;
166
+ /**
167
+ *
168
+ * @type {boolean}
169
+ * @memberof AboutUsPageModel
170
+ */
171
+ 'confirmed'?: boolean;
172
+ /**
173
+ *
174
+ * @type {Array<MediaModel>}
175
+ * @memberof AboutUsPageModel
176
+ */
177
+ 'medias'?: Array<MediaModel> | null;
178
+ /**
179
+ *
180
+ * @type {AuditableEntity}
181
+ * @memberof AboutUsPageModel
182
+ */
183
+ 'auditableEntity'?: AuditableEntity;
184
+ /**
185
+ *
186
+ * @type {string}
187
+ * @memberof AboutUsPageModel
188
+ */
189
+ 'languageCode'?: string | null;
190
+ }
191
+ /**
192
+ *
193
+ * @export
194
+ * @interface AboutUsPagesModel
195
+ */
196
+ export interface AboutUsPagesModel {
197
+ /**
198
+ *
199
+ * @type {Array<AboutUsPageItemModel>}
200
+ * @memberof AboutUsPagesModel
201
+ */
202
+ 'items'?: Array<AboutUsPageItemModel> | null;
203
+ /**
204
+ *
205
+ * @type {PagedListMetaData}
206
+ * @memberof AboutUsPagesModel
207
+ */
208
+ 'metaData'?: PagedListMetaData;
209
+ }
15
210
  /**
16
211
  *
17
212
  * @export
@@ -9706,6 +9901,203 @@ export interface UserModel {
9706
9901
  */
9707
9902
  'locations'?: Array<UserLocationModel> | null;
9708
9903
  }
9904
+ /**
9905
+ * AboutUsApi - axios parameter creator
9906
+ * @export
9907
+ */
9908
+ export declare const AboutUsApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
9909
+ /**
9910
+ *
9911
+ * @summary Get AboutUs.
9912
+ * @param {string} aboutUsId
9913
+ * @param {string} [languageCode]
9914
+ * @param {boolean} [returnDefaultValue]
9915
+ * @param {*} [options] Override http request option.
9916
+ * @throws {RequiredError}
9917
+ */
9918
+ apiV2AboutusAboutUsIdGet: (aboutUsId: string, languageCode?: string | undefined, returnDefaultValue?: boolean | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9919
+ /**
9920
+ *
9921
+ * @summary Get all AboutUsList.
9922
+ * @param {string} [hospitalId]
9923
+ * @param {string} [hospitalName]
9924
+ * @param {string} [hospitalSlug]
9925
+ * @param {string} [overviewTitle]
9926
+ * @param {string} [normalizedOverviewTitle]
9927
+ * @param {string} [overview]
9928
+ * @param {string} [content]
9929
+ * @param {string} [customStyle]
9930
+ * @param {string} [background]
9931
+ * @param {string} [backgroundThumbnail]
9932
+ * @param {string} [languageCode]
9933
+ * @param {boolean} [returnDefaultValue]
9934
+ * @param {boolean} [confirmed]
9935
+ * @param {number} [page]
9936
+ * @param {number} [limit]
9937
+ * @param {Date} [lastRetrieved]
9938
+ * @param {*} [options] Override http request option.
9939
+ * @throws {RequiredError}
9940
+ */
9941
+ apiV2AboutusGet: (hospitalId?: string | undefined, hospitalName?: string | undefined, hospitalSlug?: string | undefined, overviewTitle?: string | undefined, normalizedOverviewTitle?: string | undefined, overview?: string | undefined, content?: string | undefined, customStyle?: string | undefined, background?: string | undefined, backgroundThumbnail?: string | undefined, languageCode?: string | undefined, returnDefaultValue?: boolean | undefined, confirmed?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9942
+ /**
9943
+ *
9944
+ * @param {string} slug
9945
+ * @param {string} [languageCode]
9946
+ * @param {boolean} [returnDefaultValue]
9947
+ * @param {*} [options] Override http request option.
9948
+ * @throws {RequiredError}
9949
+ */
9950
+ apiV2AboutusSlugGet: (slug: string, languageCode?: string | undefined, returnDefaultValue?: boolean | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9951
+ };
9952
+ /**
9953
+ * AboutUsApi - functional programming interface
9954
+ * @export
9955
+ */
9956
+ export declare const AboutUsApiFp: (configuration?: Configuration | undefined) => {
9957
+ /**
9958
+ *
9959
+ * @summary Get AboutUs.
9960
+ * @param {string} aboutUsId
9961
+ * @param {string} [languageCode]
9962
+ * @param {boolean} [returnDefaultValue]
9963
+ * @param {*} [options] Override http request option.
9964
+ * @throws {RequiredError}
9965
+ */
9966
+ apiV2AboutusAboutUsIdGet(aboutUsId: string, languageCode?: string | undefined, returnDefaultValue?: boolean | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<AboutUsPageModel>>;
9967
+ /**
9968
+ *
9969
+ * @summary Get all AboutUsList.
9970
+ * @param {string} [hospitalId]
9971
+ * @param {string} [hospitalName]
9972
+ * @param {string} [hospitalSlug]
9973
+ * @param {string} [overviewTitle]
9974
+ * @param {string} [normalizedOverviewTitle]
9975
+ * @param {string} [overview]
9976
+ * @param {string} [content]
9977
+ * @param {string} [customStyle]
9978
+ * @param {string} [background]
9979
+ * @param {string} [backgroundThumbnail]
9980
+ * @param {string} [languageCode]
9981
+ * @param {boolean} [returnDefaultValue]
9982
+ * @param {boolean} [confirmed]
9983
+ * @param {number} [page]
9984
+ * @param {number} [limit]
9985
+ * @param {Date} [lastRetrieved]
9986
+ * @param {*} [options] Override http request option.
9987
+ * @throws {RequiredError}
9988
+ */
9989
+ apiV2AboutusGet(hospitalId?: string | undefined, hospitalName?: string | undefined, hospitalSlug?: string | undefined, overviewTitle?: string | undefined, normalizedOverviewTitle?: string | undefined, overview?: string | undefined, content?: string | undefined, customStyle?: string | undefined, background?: string | undefined, backgroundThumbnail?: string | undefined, languageCode?: string | undefined, returnDefaultValue?: boolean | undefined, confirmed?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<AboutUsPagesModel>>;
9990
+ /**
9991
+ *
9992
+ * @param {string} slug
9993
+ * @param {string} [languageCode]
9994
+ * @param {boolean} [returnDefaultValue]
9995
+ * @param {*} [options] Override http request option.
9996
+ * @throws {RequiredError}
9997
+ */
9998
+ apiV2AboutusSlugGet(slug: string, languageCode?: string | undefined, returnDefaultValue?: boolean | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<AboutUsPageModel>>;
9999
+ };
10000
+ /**
10001
+ * AboutUsApi - factory interface
10002
+ * @export
10003
+ */
10004
+ export declare const AboutUsApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
10005
+ /**
10006
+ *
10007
+ * @summary Get AboutUs.
10008
+ * @param {string} aboutUsId
10009
+ * @param {string} [languageCode]
10010
+ * @param {boolean} [returnDefaultValue]
10011
+ * @param {*} [options] Override http request option.
10012
+ * @throws {RequiredError}
10013
+ */
10014
+ apiV2AboutusAboutUsIdGet(aboutUsId: string, languageCode?: string | undefined, returnDefaultValue?: boolean | undefined, options?: any): AxiosPromise<AboutUsPageModel>;
10015
+ /**
10016
+ *
10017
+ * @summary Get all AboutUsList.
10018
+ * @param {string} [hospitalId]
10019
+ * @param {string} [hospitalName]
10020
+ * @param {string} [hospitalSlug]
10021
+ * @param {string} [overviewTitle]
10022
+ * @param {string} [normalizedOverviewTitle]
10023
+ * @param {string} [overview]
10024
+ * @param {string} [content]
10025
+ * @param {string} [customStyle]
10026
+ * @param {string} [background]
10027
+ * @param {string} [backgroundThumbnail]
10028
+ * @param {string} [languageCode]
10029
+ * @param {boolean} [returnDefaultValue]
10030
+ * @param {boolean} [confirmed]
10031
+ * @param {number} [page]
10032
+ * @param {number} [limit]
10033
+ * @param {Date} [lastRetrieved]
10034
+ * @param {*} [options] Override http request option.
10035
+ * @throws {RequiredError}
10036
+ */
10037
+ apiV2AboutusGet(hospitalId?: string | undefined, hospitalName?: string | undefined, hospitalSlug?: string | undefined, overviewTitle?: string | undefined, normalizedOverviewTitle?: string | undefined, overview?: string | undefined, content?: string | undefined, customStyle?: string | undefined, background?: string | undefined, backgroundThumbnail?: string | undefined, languageCode?: string | undefined, returnDefaultValue?: boolean | undefined, confirmed?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<AboutUsPagesModel>;
10038
+ /**
10039
+ *
10040
+ * @param {string} slug
10041
+ * @param {string} [languageCode]
10042
+ * @param {boolean} [returnDefaultValue]
10043
+ * @param {*} [options] Override http request option.
10044
+ * @throws {RequiredError}
10045
+ */
10046
+ apiV2AboutusSlugGet(slug: string, languageCode?: string | undefined, returnDefaultValue?: boolean | undefined, options?: any): AxiosPromise<AboutUsPageModel>;
10047
+ };
10048
+ /**
10049
+ * AboutUsApi - object-oriented interface
10050
+ * @export
10051
+ * @class AboutUsApi
10052
+ * @extends {BaseAPI}
10053
+ */
10054
+ export declare class AboutUsApi extends BaseAPI {
10055
+ /**
10056
+ *
10057
+ * @summary Get AboutUs.
10058
+ * @param {string} aboutUsId
10059
+ * @param {string} [languageCode]
10060
+ * @param {boolean} [returnDefaultValue]
10061
+ * @param {*} [options] Override http request option.
10062
+ * @throws {RequiredError}
10063
+ * @memberof AboutUsApi
10064
+ */
10065
+ apiV2AboutusAboutUsIdGet(aboutUsId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AboutUsPageModel, any>>;
10066
+ /**
10067
+ *
10068
+ * @summary Get all AboutUsList.
10069
+ * @param {string} [hospitalId]
10070
+ * @param {string} [hospitalName]
10071
+ * @param {string} [hospitalSlug]
10072
+ * @param {string} [overviewTitle]
10073
+ * @param {string} [normalizedOverviewTitle]
10074
+ * @param {string} [overview]
10075
+ * @param {string} [content]
10076
+ * @param {string} [customStyle]
10077
+ * @param {string} [background]
10078
+ * @param {string} [backgroundThumbnail]
10079
+ * @param {string} [languageCode]
10080
+ * @param {boolean} [returnDefaultValue]
10081
+ * @param {boolean} [confirmed]
10082
+ * @param {number} [page]
10083
+ * @param {number} [limit]
10084
+ * @param {Date} [lastRetrieved]
10085
+ * @param {*} [options] Override http request option.
10086
+ * @throws {RequiredError}
10087
+ * @memberof AboutUsApi
10088
+ */
10089
+ apiV2AboutusGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, overviewTitle?: string, normalizedOverviewTitle?: string, overview?: string, content?: string, customStyle?: string, background?: string, backgroundThumbnail?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AboutUsPagesModel, any>>;
10090
+ /**
10091
+ *
10092
+ * @param {string} slug
10093
+ * @param {string} [languageCode]
10094
+ * @param {boolean} [returnDefaultValue]
10095
+ * @param {*} [options] Override http request option.
10096
+ * @throws {RequiredError}
10097
+ * @memberof AboutUsApi
10098
+ */
10099
+ apiV2AboutusSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AboutUsPageModel, any>>;
10100
+ }
9709
10101
  /**
9710
10102
  * AccreditationsApi - axios parameter creator
9711
10103
  * @export