ch-api-client-typescript2 2.9.3 → 2.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +404 -8
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +417 -10
- package/package.json +1 -1
- package/src/api.ts +604 -11
package/src/api.ts
CHANGED
|
@@ -21,6 +21,201 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
23
23
|
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AboutUsPageItemModel
|
|
28
|
+
*/
|
|
29
|
+
export interface AboutUsPageItemModel {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AboutUsPageItemModel
|
|
34
|
+
*/
|
|
35
|
+
'id'?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AboutUsPageItemModel
|
|
40
|
+
*/
|
|
41
|
+
'hospitalId'?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AboutUsPageItemModel
|
|
46
|
+
*/
|
|
47
|
+
'hospitalName'?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AboutUsPageItemModel
|
|
52
|
+
*/
|
|
53
|
+
'hospitalSlug'?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof AboutUsPageItemModel
|
|
58
|
+
*/
|
|
59
|
+
'overviewTitle'?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof AboutUsPageItemModel
|
|
64
|
+
*/
|
|
65
|
+
'overview'?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof AboutUsPageItemModel
|
|
70
|
+
*/
|
|
71
|
+
'content'?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof AboutUsPageItemModel
|
|
76
|
+
*/
|
|
77
|
+
'customStyle'?: string | null;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof AboutUsPageItemModel
|
|
82
|
+
*/
|
|
83
|
+
'background'?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof AboutUsPageItemModel
|
|
88
|
+
*/
|
|
89
|
+
'backgroundThumbnail'?: string | null;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof AboutUsPageItemModel
|
|
94
|
+
*/
|
|
95
|
+
'confirmed'?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {Array<MediaModel>}
|
|
99
|
+
* @memberof AboutUsPageItemModel
|
|
100
|
+
*/
|
|
101
|
+
'medias'?: Array<MediaModel> | null;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {AuditableEntity}
|
|
105
|
+
* @memberof AboutUsPageItemModel
|
|
106
|
+
*/
|
|
107
|
+
'auditableEntity'?: AuditableEntity;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @export
|
|
112
|
+
* @interface AboutUsPageModel
|
|
113
|
+
*/
|
|
114
|
+
export interface AboutUsPageModel {
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof AboutUsPageModel
|
|
119
|
+
*/
|
|
120
|
+
'id'?: string;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof AboutUsPageModel
|
|
125
|
+
*/
|
|
126
|
+
'hospitalId'?: string;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof AboutUsPageModel
|
|
131
|
+
*/
|
|
132
|
+
'hospitalName'?: string | null;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof AboutUsPageModel
|
|
137
|
+
*/
|
|
138
|
+
'hospitalSlug'?: string | null;
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof AboutUsPageModel
|
|
143
|
+
*/
|
|
144
|
+
'overviewTitle'?: string | null;
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof AboutUsPageModel
|
|
149
|
+
*/
|
|
150
|
+
'overview'?: string | null;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @type {string}
|
|
154
|
+
* @memberof AboutUsPageModel
|
|
155
|
+
*/
|
|
156
|
+
'content'?: string | null;
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof AboutUsPageModel
|
|
161
|
+
*/
|
|
162
|
+
'customStyle'?: string | null;
|
|
163
|
+
/**
|
|
164
|
+
*
|
|
165
|
+
* @type {string}
|
|
166
|
+
* @memberof AboutUsPageModel
|
|
167
|
+
*/
|
|
168
|
+
'background'?: string | null;
|
|
169
|
+
/**
|
|
170
|
+
*
|
|
171
|
+
* @type {string}
|
|
172
|
+
* @memberof AboutUsPageModel
|
|
173
|
+
*/
|
|
174
|
+
'backgroundThumbnail'?: string | null;
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* @type {boolean}
|
|
178
|
+
* @memberof AboutUsPageModel
|
|
179
|
+
*/
|
|
180
|
+
'confirmed'?: boolean;
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @type {Array<MediaModel>}
|
|
184
|
+
* @memberof AboutUsPageModel
|
|
185
|
+
*/
|
|
186
|
+
'medias'?: Array<MediaModel> | null;
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @type {AuditableEntity}
|
|
190
|
+
* @memberof AboutUsPageModel
|
|
191
|
+
*/
|
|
192
|
+
'auditableEntity'?: AuditableEntity;
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* @type {string}
|
|
196
|
+
* @memberof AboutUsPageModel
|
|
197
|
+
*/
|
|
198
|
+
'languageCode'?: string | null;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
*
|
|
202
|
+
* @export
|
|
203
|
+
* @interface AboutUsPagesModel
|
|
204
|
+
*/
|
|
205
|
+
export interface AboutUsPagesModel {
|
|
206
|
+
/**
|
|
207
|
+
*
|
|
208
|
+
* @type {Array<AboutUsPageItemModel>}
|
|
209
|
+
* @memberof AboutUsPagesModel
|
|
210
|
+
*/
|
|
211
|
+
'items'?: Array<AboutUsPageItemModel> | null;
|
|
212
|
+
/**
|
|
213
|
+
*
|
|
214
|
+
* @type {PagedListMetaData}
|
|
215
|
+
* @memberof AboutUsPagesModel
|
|
216
|
+
*/
|
|
217
|
+
'metaData'?: PagedListMetaData;
|
|
218
|
+
}
|
|
24
219
|
/**
|
|
25
220
|
*
|
|
26
221
|
* @export
|
|
@@ -1140,7 +1335,7 @@ export interface BookingItemModel {
|
|
|
1140
1335
|
* @type {string}
|
|
1141
1336
|
* @memberof BookingItemModel
|
|
1142
1337
|
*/
|
|
1143
|
-
'
|
|
1338
|
+
'domain'?: string | null;
|
|
1144
1339
|
/**
|
|
1145
1340
|
*
|
|
1146
1341
|
* @type {BookingStatus}
|
|
@@ -1357,7 +1552,7 @@ export interface BookingModel {
|
|
|
1357
1552
|
* @type {string}
|
|
1358
1553
|
* @memberof BookingModel
|
|
1359
1554
|
*/
|
|
1360
|
-
'
|
|
1555
|
+
'domain'?: string | null;
|
|
1361
1556
|
/**
|
|
1362
1557
|
*
|
|
1363
1558
|
* @type {BookingStatus}
|
|
@@ -1862,7 +2057,7 @@ export interface ConsultationItemModel {
|
|
|
1862
2057
|
* @type {string}
|
|
1863
2058
|
* @memberof ConsultationItemModel
|
|
1864
2059
|
*/
|
|
1865
|
-
'
|
|
2060
|
+
'domain'?: string | null;
|
|
1866
2061
|
/**
|
|
1867
2062
|
*
|
|
1868
2063
|
* @type {ConsultationStatus}
|
|
@@ -2139,7 +2334,7 @@ export interface ConsultationModel {
|
|
|
2139
2334
|
* @type {string}
|
|
2140
2335
|
* @memberof ConsultationModel
|
|
2141
2336
|
*/
|
|
2142
|
-
'
|
|
2337
|
+
'domain'?: string | null;
|
|
2143
2338
|
/**
|
|
2144
2339
|
*
|
|
2145
2340
|
* @type {ConsultationStatus}
|
|
@@ -9753,6 +9948,396 @@ export interface UserModel {
|
|
|
9753
9948
|
'locations'?: Array<UserLocationModel> | null;
|
|
9754
9949
|
}
|
|
9755
9950
|
|
|
9951
|
+
/**
|
|
9952
|
+
* AboutUsApi - axios parameter creator
|
|
9953
|
+
* @export
|
|
9954
|
+
*/
|
|
9955
|
+
export const AboutUsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
9956
|
+
return {
|
|
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: async (aboutUsId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9967
|
+
// verify required parameter 'aboutUsId' is not null or undefined
|
|
9968
|
+
assertParamExists('apiV2AboutusAboutUsIdGet', 'aboutUsId', aboutUsId)
|
|
9969
|
+
const localVarPath = `/api/v2/aboutus/{aboutUsId}`
|
|
9970
|
+
.replace(`{${"aboutUsId"}}`, encodeURIComponent(String(aboutUsId)));
|
|
9971
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9972
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9973
|
+
let baseOptions;
|
|
9974
|
+
if (configuration) {
|
|
9975
|
+
baseOptions = configuration.baseOptions;
|
|
9976
|
+
}
|
|
9977
|
+
|
|
9978
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9979
|
+
const localVarHeaderParameter = {} as any;
|
|
9980
|
+
const localVarQueryParameter = {} as any;
|
|
9981
|
+
|
|
9982
|
+
if (languageCode !== undefined) {
|
|
9983
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
9984
|
+
}
|
|
9985
|
+
|
|
9986
|
+
if (returnDefaultValue !== undefined) {
|
|
9987
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
9988
|
+
}
|
|
9989
|
+
|
|
9990
|
+
|
|
9991
|
+
|
|
9992
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9993
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9994
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9995
|
+
|
|
9996
|
+
return {
|
|
9997
|
+
url: toPathString(localVarUrlObj),
|
|
9998
|
+
options: localVarRequestOptions,
|
|
9999
|
+
};
|
|
10000
|
+
},
|
|
10001
|
+
/**
|
|
10002
|
+
*
|
|
10003
|
+
* @summary Get all AboutUsList.
|
|
10004
|
+
* @param {string} [hospitalId]
|
|
10005
|
+
* @param {string} [hospitalName]
|
|
10006
|
+
* @param {string} [hospitalSlug]
|
|
10007
|
+
* @param {string} [overviewTitle]
|
|
10008
|
+
* @param {string} [normalizedOverviewTitle]
|
|
10009
|
+
* @param {string} [overview]
|
|
10010
|
+
* @param {string} [content]
|
|
10011
|
+
* @param {string} [customStyle]
|
|
10012
|
+
* @param {string} [background]
|
|
10013
|
+
* @param {string} [backgroundThumbnail]
|
|
10014
|
+
* @param {string} [languageCode]
|
|
10015
|
+
* @param {boolean} [returnDefaultValue]
|
|
10016
|
+
* @param {boolean} [confirmed]
|
|
10017
|
+
* @param {number} [page]
|
|
10018
|
+
* @param {number} [limit]
|
|
10019
|
+
* @param {Date} [lastRetrieved]
|
|
10020
|
+
* @param {*} [options] Override http request option.
|
|
10021
|
+
* @throws {RequiredError}
|
|
10022
|
+
*/
|
|
10023
|
+
apiV2AboutusGet: async (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<RequestArgs> => {
|
|
10024
|
+
const localVarPath = `/api/v2/aboutus`;
|
|
10025
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10026
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10027
|
+
let baseOptions;
|
|
10028
|
+
if (configuration) {
|
|
10029
|
+
baseOptions = configuration.baseOptions;
|
|
10030
|
+
}
|
|
10031
|
+
|
|
10032
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10033
|
+
const localVarHeaderParameter = {} as any;
|
|
10034
|
+
const localVarQueryParameter = {} as any;
|
|
10035
|
+
|
|
10036
|
+
if (hospitalId !== undefined) {
|
|
10037
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
10038
|
+
}
|
|
10039
|
+
|
|
10040
|
+
if (hospitalName !== undefined) {
|
|
10041
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
10042
|
+
}
|
|
10043
|
+
|
|
10044
|
+
if (hospitalSlug !== undefined) {
|
|
10045
|
+
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
10046
|
+
}
|
|
10047
|
+
|
|
10048
|
+
if (overviewTitle !== undefined) {
|
|
10049
|
+
localVarQueryParameter['OverviewTitle'] = overviewTitle;
|
|
10050
|
+
}
|
|
10051
|
+
|
|
10052
|
+
if (normalizedOverviewTitle !== undefined) {
|
|
10053
|
+
localVarQueryParameter['NormalizedOverviewTitle'] = normalizedOverviewTitle;
|
|
10054
|
+
}
|
|
10055
|
+
|
|
10056
|
+
if (overview !== undefined) {
|
|
10057
|
+
localVarQueryParameter['Overview'] = overview;
|
|
10058
|
+
}
|
|
10059
|
+
|
|
10060
|
+
if (content !== undefined) {
|
|
10061
|
+
localVarQueryParameter['Content'] = content;
|
|
10062
|
+
}
|
|
10063
|
+
|
|
10064
|
+
if (customStyle !== undefined) {
|
|
10065
|
+
localVarQueryParameter['CustomStyle'] = customStyle;
|
|
10066
|
+
}
|
|
10067
|
+
|
|
10068
|
+
if (background !== undefined) {
|
|
10069
|
+
localVarQueryParameter['Background'] = background;
|
|
10070
|
+
}
|
|
10071
|
+
|
|
10072
|
+
if (backgroundThumbnail !== undefined) {
|
|
10073
|
+
localVarQueryParameter['BackgroundThumbnail'] = backgroundThumbnail;
|
|
10074
|
+
}
|
|
10075
|
+
|
|
10076
|
+
if (languageCode !== undefined) {
|
|
10077
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
10078
|
+
}
|
|
10079
|
+
|
|
10080
|
+
if (returnDefaultValue !== undefined) {
|
|
10081
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
10082
|
+
}
|
|
10083
|
+
|
|
10084
|
+
if (confirmed !== undefined) {
|
|
10085
|
+
localVarQueryParameter['Confirmed'] = confirmed;
|
|
10086
|
+
}
|
|
10087
|
+
|
|
10088
|
+
if (page !== undefined) {
|
|
10089
|
+
localVarQueryParameter['page'] = page;
|
|
10090
|
+
}
|
|
10091
|
+
|
|
10092
|
+
if (limit !== undefined) {
|
|
10093
|
+
localVarQueryParameter['limit'] = limit;
|
|
10094
|
+
}
|
|
10095
|
+
|
|
10096
|
+
if (lastRetrieved !== undefined) {
|
|
10097
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
10098
|
+
(lastRetrieved as any).toISOString() :
|
|
10099
|
+
lastRetrieved;
|
|
10100
|
+
}
|
|
10101
|
+
|
|
10102
|
+
|
|
10103
|
+
|
|
10104
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10105
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10106
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10107
|
+
|
|
10108
|
+
return {
|
|
10109
|
+
url: toPathString(localVarUrlObj),
|
|
10110
|
+
options: localVarRequestOptions,
|
|
10111
|
+
};
|
|
10112
|
+
},
|
|
10113
|
+
/**
|
|
10114
|
+
*
|
|
10115
|
+
* @param {string} slug
|
|
10116
|
+
* @param {string} [languageCode]
|
|
10117
|
+
* @param {boolean} [returnDefaultValue]
|
|
10118
|
+
* @param {*} [options] Override http request option.
|
|
10119
|
+
* @throws {RequiredError}
|
|
10120
|
+
*/
|
|
10121
|
+
apiV2AboutusSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10122
|
+
// verify required parameter 'slug' is not null or undefined
|
|
10123
|
+
assertParamExists('apiV2AboutusSlugGet', 'slug', slug)
|
|
10124
|
+
const localVarPath = `/api/v2/aboutus/{slug}`
|
|
10125
|
+
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
10126
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10127
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10128
|
+
let baseOptions;
|
|
10129
|
+
if (configuration) {
|
|
10130
|
+
baseOptions = configuration.baseOptions;
|
|
10131
|
+
}
|
|
10132
|
+
|
|
10133
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10134
|
+
const localVarHeaderParameter = {} as any;
|
|
10135
|
+
const localVarQueryParameter = {} as any;
|
|
10136
|
+
|
|
10137
|
+
if (languageCode !== undefined) {
|
|
10138
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
10139
|
+
}
|
|
10140
|
+
|
|
10141
|
+
if (returnDefaultValue !== undefined) {
|
|
10142
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
10143
|
+
}
|
|
10144
|
+
|
|
10145
|
+
|
|
10146
|
+
|
|
10147
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10148
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10149
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10150
|
+
|
|
10151
|
+
return {
|
|
10152
|
+
url: toPathString(localVarUrlObj),
|
|
10153
|
+
options: localVarRequestOptions,
|
|
10154
|
+
};
|
|
10155
|
+
},
|
|
10156
|
+
}
|
|
10157
|
+
};
|
|
10158
|
+
|
|
10159
|
+
/**
|
|
10160
|
+
* AboutUsApi - functional programming interface
|
|
10161
|
+
* @export
|
|
10162
|
+
*/
|
|
10163
|
+
export const AboutUsApiFp = function(configuration?: Configuration) {
|
|
10164
|
+
const localVarAxiosParamCreator = AboutUsApiAxiosParamCreator(configuration)
|
|
10165
|
+
return {
|
|
10166
|
+
/**
|
|
10167
|
+
*
|
|
10168
|
+
* @summary Get AboutUs.
|
|
10169
|
+
* @param {string} aboutUsId
|
|
10170
|
+
* @param {string} [languageCode]
|
|
10171
|
+
* @param {boolean} [returnDefaultValue]
|
|
10172
|
+
* @param {*} [options] Override http request option.
|
|
10173
|
+
* @throws {RequiredError}
|
|
10174
|
+
*/
|
|
10175
|
+
async apiV2AboutusAboutUsIdGet(aboutUsId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
|
|
10176
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options);
|
|
10177
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10178
|
+
},
|
|
10179
|
+
/**
|
|
10180
|
+
*
|
|
10181
|
+
* @summary Get all AboutUsList.
|
|
10182
|
+
* @param {string} [hospitalId]
|
|
10183
|
+
* @param {string} [hospitalName]
|
|
10184
|
+
* @param {string} [hospitalSlug]
|
|
10185
|
+
* @param {string} [overviewTitle]
|
|
10186
|
+
* @param {string} [normalizedOverviewTitle]
|
|
10187
|
+
* @param {string} [overview]
|
|
10188
|
+
* @param {string} [content]
|
|
10189
|
+
* @param {string} [customStyle]
|
|
10190
|
+
* @param {string} [background]
|
|
10191
|
+
* @param {string} [backgroundThumbnail]
|
|
10192
|
+
* @param {string} [languageCode]
|
|
10193
|
+
* @param {boolean} [returnDefaultValue]
|
|
10194
|
+
* @param {boolean} [confirmed]
|
|
10195
|
+
* @param {number} [page]
|
|
10196
|
+
* @param {number} [limit]
|
|
10197
|
+
* @param {Date} [lastRetrieved]
|
|
10198
|
+
* @param {*} [options] Override http request option.
|
|
10199
|
+
* @throws {RequiredError}
|
|
10200
|
+
*/
|
|
10201
|
+
async 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<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPagesModel>> {
|
|
10202
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options);
|
|
10203
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10204
|
+
},
|
|
10205
|
+
/**
|
|
10206
|
+
*
|
|
10207
|
+
* @param {string} slug
|
|
10208
|
+
* @param {string} [languageCode]
|
|
10209
|
+
* @param {boolean} [returnDefaultValue]
|
|
10210
|
+
* @param {*} [options] Override http request option.
|
|
10211
|
+
* @throws {RequiredError}
|
|
10212
|
+
*/
|
|
10213
|
+
async apiV2AboutusSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
|
|
10214
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AboutusSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
10215
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10216
|
+
},
|
|
10217
|
+
}
|
|
10218
|
+
};
|
|
10219
|
+
|
|
10220
|
+
/**
|
|
10221
|
+
* AboutUsApi - factory interface
|
|
10222
|
+
* @export
|
|
10223
|
+
*/
|
|
10224
|
+
export const AboutUsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
10225
|
+
const localVarFp = AboutUsApiFp(configuration)
|
|
10226
|
+
return {
|
|
10227
|
+
/**
|
|
10228
|
+
*
|
|
10229
|
+
* @summary Get AboutUs.
|
|
10230
|
+
* @param {string} aboutUsId
|
|
10231
|
+
* @param {string} [languageCode]
|
|
10232
|
+
* @param {boolean} [returnDefaultValue]
|
|
10233
|
+
* @param {*} [options] Override http request option.
|
|
10234
|
+
* @throws {RequiredError}
|
|
10235
|
+
*/
|
|
10236
|
+
apiV2AboutusAboutUsIdGet(aboutUsId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<AboutUsPageModel> {
|
|
10237
|
+
return localVarFp.apiV2AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
10238
|
+
},
|
|
10239
|
+
/**
|
|
10240
|
+
*
|
|
10241
|
+
* @summary Get all AboutUsList.
|
|
10242
|
+
* @param {string} [hospitalId]
|
|
10243
|
+
* @param {string} [hospitalName]
|
|
10244
|
+
* @param {string} [hospitalSlug]
|
|
10245
|
+
* @param {string} [overviewTitle]
|
|
10246
|
+
* @param {string} [normalizedOverviewTitle]
|
|
10247
|
+
* @param {string} [overview]
|
|
10248
|
+
* @param {string} [content]
|
|
10249
|
+
* @param {string} [customStyle]
|
|
10250
|
+
* @param {string} [background]
|
|
10251
|
+
* @param {string} [backgroundThumbnail]
|
|
10252
|
+
* @param {string} [languageCode]
|
|
10253
|
+
* @param {boolean} [returnDefaultValue]
|
|
10254
|
+
* @param {boolean} [confirmed]
|
|
10255
|
+
* @param {number} [page]
|
|
10256
|
+
* @param {number} [limit]
|
|
10257
|
+
* @param {Date} [lastRetrieved]
|
|
10258
|
+
* @param {*} [options] Override http request option.
|
|
10259
|
+
* @throws {RequiredError}
|
|
10260
|
+
*/
|
|
10261
|
+
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?: any): AxiosPromise<AboutUsPagesModel> {
|
|
10262
|
+
return localVarFp.apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
10263
|
+
},
|
|
10264
|
+
/**
|
|
10265
|
+
*
|
|
10266
|
+
* @param {string} slug
|
|
10267
|
+
* @param {string} [languageCode]
|
|
10268
|
+
* @param {boolean} [returnDefaultValue]
|
|
10269
|
+
* @param {*} [options] Override http request option.
|
|
10270
|
+
* @throws {RequiredError}
|
|
10271
|
+
*/
|
|
10272
|
+
apiV2AboutusSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<AboutUsPageModel> {
|
|
10273
|
+
return localVarFp.apiV2AboutusSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
10274
|
+
},
|
|
10275
|
+
};
|
|
10276
|
+
};
|
|
10277
|
+
|
|
10278
|
+
/**
|
|
10279
|
+
* AboutUsApi - object-oriented interface
|
|
10280
|
+
* @export
|
|
10281
|
+
* @class AboutUsApi
|
|
10282
|
+
* @extends {BaseAPI}
|
|
10283
|
+
*/
|
|
10284
|
+
export class AboutUsApi extends BaseAPI {
|
|
10285
|
+
/**
|
|
10286
|
+
*
|
|
10287
|
+
* @summary Get AboutUs.
|
|
10288
|
+
* @param {string} aboutUsId
|
|
10289
|
+
* @param {string} [languageCode]
|
|
10290
|
+
* @param {boolean} [returnDefaultValue]
|
|
10291
|
+
* @param {*} [options] Override http request option.
|
|
10292
|
+
* @throws {RequiredError}
|
|
10293
|
+
* @memberof AboutUsApi
|
|
10294
|
+
*/
|
|
10295
|
+
public apiV2AboutusAboutUsIdGet(aboutUsId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
10296
|
+
return AboutUsApiFp(this.configuration).apiV2AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
10297
|
+
}
|
|
10298
|
+
|
|
10299
|
+
/**
|
|
10300
|
+
*
|
|
10301
|
+
* @summary Get all AboutUsList.
|
|
10302
|
+
* @param {string} [hospitalId]
|
|
10303
|
+
* @param {string} [hospitalName]
|
|
10304
|
+
* @param {string} [hospitalSlug]
|
|
10305
|
+
* @param {string} [overviewTitle]
|
|
10306
|
+
* @param {string} [normalizedOverviewTitle]
|
|
10307
|
+
* @param {string} [overview]
|
|
10308
|
+
* @param {string} [content]
|
|
10309
|
+
* @param {string} [customStyle]
|
|
10310
|
+
* @param {string} [background]
|
|
10311
|
+
* @param {string} [backgroundThumbnail]
|
|
10312
|
+
* @param {string} [languageCode]
|
|
10313
|
+
* @param {boolean} [returnDefaultValue]
|
|
10314
|
+
* @param {boolean} [confirmed]
|
|
10315
|
+
* @param {number} [page]
|
|
10316
|
+
* @param {number} [limit]
|
|
10317
|
+
* @param {Date} [lastRetrieved]
|
|
10318
|
+
* @param {*} [options] Override http request option.
|
|
10319
|
+
* @throws {RequiredError}
|
|
10320
|
+
* @memberof AboutUsApi
|
|
10321
|
+
*/
|
|
10322
|
+
public 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) {
|
|
10323
|
+
return AboutUsApiFp(this.configuration).apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
10324
|
+
}
|
|
10325
|
+
|
|
10326
|
+
/**
|
|
10327
|
+
*
|
|
10328
|
+
* @param {string} slug
|
|
10329
|
+
* @param {string} [languageCode]
|
|
10330
|
+
* @param {boolean} [returnDefaultValue]
|
|
10331
|
+
* @param {*} [options] Override http request option.
|
|
10332
|
+
* @throws {RequiredError}
|
|
10333
|
+
* @memberof AboutUsApi
|
|
10334
|
+
*/
|
|
10335
|
+
public apiV2AboutusSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
10336
|
+
return AboutUsApiFp(this.configuration).apiV2AboutusSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
10337
|
+
}
|
|
10338
|
+
}
|
|
10339
|
+
|
|
10340
|
+
|
|
9756
10341
|
/**
|
|
9757
10342
|
* AccreditationsApi - axios parameter creator
|
|
9758
10343
|
* @export
|
|
@@ -10438,6 +11023,7 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
10438
11023
|
* @param {string} [hospitalName]
|
|
10439
11024
|
* @param {string} [countryId]
|
|
10440
11025
|
* @param {string} [tag]
|
|
11026
|
+
* @param {string} [exceptArticleId]
|
|
10441
11027
|
* @param {string} [exceptHospitalId]
|
|
10442
11028
|
* @param {string} [contributorId]
|
|
10443
11029
|
* @param {string} [languageCode]
|
|
@@ -10449,7 +11035,7 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
10449
11035
|
* @param {*} [options] Override http request option.
|
|
10450
11036
|
* @throws {RequiredError}
|
|
10451
11037
|
*/
|
|
10452
|
-
apiV2ArticlesGet: async (id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11038
|
+
apiV2ArticlesGet: async (id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10453
11039
|
const localVarPath = `/api/v2/articles`;
|
|
10454
11040
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10455
11041
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -10506,6 +11092,10 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
10506
11092
|
localVarQueryParameter['Tag'] = tag;
|
|
10507
11093
|
}
|
|
10508
11094
|
|
|
11095
|
+
if (exceptArticleId !== undefined) {
|
|
11096
|
+
localVarQueryParameter['ExceptArticleId'] = exceptArticleId;
|
|
11097
|
+
}
|
|
11098
|
+
|
|
10509
11099
|
if (exceptHospitalId !== undefined) {
|
|
10510
11100
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
10511
11101
|
}
|
|
@@ -10745,6 +11335,7 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
10745
11335
|
* @param {string} [hospitalName]
|
|
10746
11336
|
* @param {string} [countryId]
|
|
10747
11337
|
* @param {string} [tag]
|
|
11338
|
+
* @param {string} [exceptArticleId]
|
|
10748
11339
|
* @param {string} [exceptHospitalId]
|
|
10749
11340
|
* @param {string} [contributorId]
|
|
10750
11341
|
* @param {string} [languageCode]
|
|
@@ -10756,8 +11347,8 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
10756
11347
|
* @param {*} [options] Override http request option.
|
|
10757
11348
|
* @throws {RequiredError}
|
|
10758
11349
|
*/
|
|
10759
|
-
async apiV2ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticlesModel>> {
|
|
10760
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
11350
|
+
async apiV2ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticlesModel>> {
|
|
11351
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
10761
11352
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10762
11353
|
},
|
|
10763
11354
|
/**
|
|
@@ -10914,6 +11505,7 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
10914
11505
|
* @param {string} [hospitalName]
|
|
10915
11506
|
* @param {string} [countryId]
|
|
10916
11507
|
* @param {string} [tag]
|
|
11508
|
+
* @param {string} [exceptArticleId]
|
|
10917
11509
|
* @param {string} [exceptHospitalId]
|
|
10918
11510
|
* @param {string} [contributorId]
|
|
10919
11511
|
* @param {string} [languageCode]
|
|
@@ -10925,8 +11517,8 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
10925
11517
|
* @param {*} [options] Override http request option.
|
|
10926
11518
|
* @throws {RequiredError}
|
|
10927
11519
|
*/
|
|
10928
|
-
apiV2ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticlesModel> {
|
|
10929
|
-
return localVarFp.apiV2ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
11520
|
+
apiV2ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticlesModel> {
|
|
11521
|
+
return localVarFp.apiV2ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
10930
11522
|
},
|
|
10931
11523
|
/**
|
|
10932
11524
|
*
|
|
@@ -11099,6 +11691,7 @@ export class ArticlesApi extends BaseAPI {
|
|
|
11099
11691
|
* @param {string} [hospitalName]
|
|
11100
11692
|
* @param {string} [countryId]
|
|
11101
11693
|
* @param {string} [tag]
|
|
11694
|
+
* @param {string} [exceptArticleId]
|
|
11102
11695
|
* @param {string} [exceptHospitalId]
|
|
11103
11696
|
* @param {string} [contributorId]
|
|
11104
11697
|
* @param {string} [languageCode]
|
|
@@ -11111,8 +11704,8 @@ export class ArticlesApi extends BaseAPI {
|
|
|
11111
11704
|
* @throws {RequiredError}
|
|
11112
11705
|
* @memberof ArticlesApi
|
|
11113
11706
|
*/
|
|
11114
|
-
public apiV2ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
11115
|
-
return ArticlesApiFp(this.configuration).apiV2ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
11707
|
+
public apiV2ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
11708
|
+
return ArticlesApiFp(this.configuration).apiV2ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
11116
11709
|
}
|
|
11117
11710
|
|
|
11118
11711
|
/**
|