ch-api-client-typescript2 5.20.1 → 5.20.14
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/services-api.d.ts +12 -3
- package/lib/api/services-api.d.ts.map +1 -1
- package/lib/api/services-api.js +12 -6
- package/lib/models/doctor-document-model.d.ts +7 -0
- package/lib/models/doctor-document-model.d.ts.map +1 -1
- package/lib/models/hospital-document-model.d.ts +7 -0
- package/lib/models/hospital-document-model.d.ts.map +1 -1
- package/lib/models/hospital-specialty-document-model.d.ts +14 -0
- package/lib/models/hospital-specialty-document-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +1 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +1 -0
- package/lib/models/page-block-model.d.ts +13 -0
- package/lib/models/page-block-model.d.ts.map +1 -1
- package/lib/models/page-block-type.d.ts +1 -0
- package/lib/models/page-block-type.d.ts.map +1 -1
- package/lib/models/page-block-type.js +2 -1
- package/lib/models/page-section-list-type.d.ts +1 -0
- package/lib/models/page-section-list-type.d.ts.map +1 -1
- package/lib/models/page-section-list-type.js +2 -1
- package/lib/models/service-document-model.d.ts +14 -0
- package/lib/models/service-document-model.d.ts.map +1 -1
- package/lib/models/specialty-names-model.d.ts +241 -0
- package/lib/models/specialty-names-model.d.ts.map +1 -0
- package/lib/models/specialty-names-model.js +15 -0
- package/lib/models/translation-item-document-model.d.ts +0 -6
- package/lib/models/translation-item-document-model.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +1 -0
- package/src/api/services-api.ts +20 -6
- package/src/models/doctor-document-model.ts +9 -0
- package/src/models/hospital-document-model.ts +9 -0
- package/src/models/hospital-specialty-document-model.ts +18 -0
- package/src/models/index.ts +1 -0
- package/src/models/page-block-model.ts +15 -0
- package/src/models/page-block-type.ts +2 -1
- package/src/models/page-section-list-type.ts +2 -1
- package/src/models/service-document-model.ts +18 -0
- package/src/models/specialty-names-model.ts +246 -0
- package/src/models/translation-item-document-model.ts +0 -6
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
3
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2
|
|
6
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SpecialtyNamesModel
|
|
16
|
+
*/
|
|
17
|
+
export interface SpecialtyNamesModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof SpecialtyNamesModel
|
|
22
|
+
*/
|
|
23
|
+
'en'?: Array<string> | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof SpecialtyNamesModel
|
|
28
|
+
*/
|
|
29
|
+
'ru'?: Array<string> | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof SpecialtyNamesModel
|
|
34
|
+
*/
|
|
35
|
+
'zh'?: Array<string> | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof SpecialtyNamesModel
|
|
40
|
+
*/
|
|
41
|
+
'es'?: Array<string> | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof SpecialtyNamesModel
|
|
46
|
+
*/
|
|
47
|
+
'id'?: Array<string> | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof SpecialtyNamesModel
|
|
52
|
+
*/
|
|
53
|
+
'pt'?: Array<string> | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof SpecialtyNamesModel
|
|
58
|
+
*/
|
|
59
|
+
'fr'?: Array<string> | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Array<string>}
|
|
63
|
+
* @memberof SpecialtyNamesModel
|
|
64
|
+
*/
|
|
65
|
+
'vi'?: Array<string> | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Array<string>}
|
|
69
|
+
* @memberof SpecialtyNamesModel
|
|
70
|
+
*/
|
|
71
|
+
'th'?: Array<string> | null;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Array<string>}
|
|
75
|
+
* @memberof SpecialtyNamesModel
|
|
76
|
+
*/
|
|
77
|
+
'ar'?: Array<string> | null;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {Array<string>}
|
|
81
|
+
* @memberof SpecialtyNamesModel
|
|
82
|
+
*/
|
|
83
|
+
'ko'?: Array<string> | null;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {Array<string>}
|
|
87
|
+
* @memberof SpecialtyNamesModel
|
|
88
|
+
*/
|
|
89
|
+
'bg'?: Array<string> | null;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {Array<string>}
|
|
93
|
+
* @memberof SpecialtyNamesModel
|
|
94
|
+
*/
|
|
95
|
+
'cs'?: Array<string> | null;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {Array<string>}
|
|
99
|
+
* @memberof SpecialtyNamesModel
|
|
100
|
+
*/
|
|
101
|
+
'de'?: Array<string> | null;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {Array<string>}
|
|
105
|
+
* @memberof SpecialtyNamesModel
|
|
106
|
+
*/
|
|
107
|
+
'hi'?: Array<string> | null;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {Array<string>}
|
|
111
|
+
* @memberof SpecialtyNamesModel
|
|
112
|
+
*/
|
|
113
|
+
'hr'?: Array<string> | null;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {Array<string>}
|
|
117
|
+
* @memberof SpecialtyNamesModel
|
|
118
|
+
*/
|
|
119
|
+
'hu'?: Array<string> | null;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {Array<string>}
|
|
123
|
+
* @memberof SpecialtyNamesModel
|
|
124
|
+
*/
|
|
125
|
+
'it'?: Array<string> | null;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {Array<string>}
|
|
129
|
+
* @memberof SpecialtyNamesModel
|
|
130
|
+
*/
|
|
131
|
+
'ja'?: Array<string> | null;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {Array<string>}
|
|
135
|
+
* @memberof SpecialtyNamesModel
|
|
136
|
+
*/
|
|
137
|
+
'kk'?: Array<string> | null;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @type {Array<string>}
|
|
141
|
+
* @memberof SpecialtyNamesModel
|
|
142
|
+
*/
|
|
143
|
+
'ky'?: Array<string> | null;
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @type {Array<string>}
|
|
147
|
+
* @memberof SpecialtyNamesModel
|
|
148
|
+
*/
|
|
149
|
+
'lo'?: Array<string> | null;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @type {Array<string>}
|
|
153
|
+
* @memberof SpecialtyNamesModel
|
|
154
|
+
*/
|
|
155
|
+
'lt'?: Array<string> | null;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @type {Array<string>}
|
|
159
|
+
* @memberof SpecialtyNamesModel
|
|
160
|
+
*/
|
|
161
|
+
'lv'?: Array<string> | null;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @type {Array<string>}
|
|
165
|
+
* @memberof SpecialtyNamesModel
|
|
166
|
+
*/
|
|
167
|
+
'my'?: Array<string> | null;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @type {Array<string>}
|
|
171
|
+
* @memberof SpecialtyNamesModel
|
|
172
|
+
*/
|
|
173
|
+
'nl'?: Array<string> | null;
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @type {Array<string>}
|
|
177
|
+
* @memberof SpecialtyNamesModel
|
|
178
|
+
*/
|
|
179
|
+
'pl'?: Array<string> | null;
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @type {Array<string>}
|
|
183
|
+
* @memberof SpecialtyNamesModel
|
|
184
|
+
*/
|
|
185
|
+
'ro'?: Array<string> | null;
|
|
186
|
+
/**
|
|
187
|
+
*
|
|
188
|
+
* @type {Array<string>}
|
|
189
|
+
* @memberof SpecialtyNamesModel
|
|
190
|
+
*/
|
|
191
|
+
'sl'?: Array<string> | null;
|
|
192
|
+
/**
|
|
193
|
+
*
|
|
194
|
+
* @type {Array<string>}
|
|
195
|
+
* @memberof SpecialtyNamesModel
|
|
196
|
+
*/
|
|
197
|
+
'sv'?: Array<string> | null;
|
|
198
|
+
/**
|
|
199
|
+
*
|
|
200
|
+
* @type {Array<string>}
|
|
201
|
+
* @memberof SpecialtyNamesModel
|
|
202
|
+
*/
|
|
203
|
+
'sw'?: Array<string> | null;
|
|
204
|
+
/**
|
|
205
|
+
*
|
|
206
|
+
* @type {Array<string>}
|
|
207
|
+
* @memberof SpecialtyNamesModel
|
|
208
|
+
*/
|
|
209
|
+
'tr'?: Array<string> | null;
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
* @type {Array<string>}
|
|
213
|
+
* @memberof SpecialtyNamesModel
|
|
214
|
+
*/
|
|
215
|
+
'uk'?: Array<string> | null;
|
|
216
|
+
/**
|
|
217
|
+
*
|
|
218
|
+
* @type {Array<string>}
|
|
219
|
+
* @memberof SpecialtyNamesModel
|
|
220
|
+
*/
|
|
221
|
+
'uz'?: Array<string> | null;
|
|
222
|
+
/**
|
|
223
|
+
*
|
|
224
|
+
* @type {Array<string>}
|
|
225
|
+
* @memberof SpecialtyNamesModel
|
|
226
|
+
*/
|
|
227
|
+
'bn'?: Array<string> | null;
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* @type {Array<string>}
|
|
231
|
+
* @memberof SpecialtyNamesModel
|
|
232
|
+
*/
|
|
233
|
+
'az'?: Array<string> | null;
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @type {Array<string>}
|
|
237
|
+
* @memberof SpecialtyNamesModel
|
|
238
|
+
*/
|
|
239
|
+
'ka'?: Array<string> | null;
|
|
240
|
+
}
|
|
241
|
+
//# sourceMappingURL=specialty-names-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"specialty-names-model.d.ts","sourceRoot":"","sources":["../../src/models/specialty-names-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;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;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CAC/B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
6
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2
|
|
9
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -27,11 +27,5 @@ export interface TranslationItemDocumentModel {
|
|
|
27
27
|
* @memberof TranslationItemDocumentModel
|
|
28
28
|
*/
|
|
29
29
|
'Name'?: string | null;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof TranslationItemDocumentModel
|
|
34
|
-
*/
|
|
35
|
-
'Description'?: string | null;
|
|
36
30
|
}
|
|
37
31
|
//# sourceMappingURL=translation-item-document-model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translation-item-document-model.d.ts","sourceRoot":"","sources":["../../src/models/translation-item-document-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"translation-item-document-model.d.ts","sourceRoot":"","sources":["../../src/models/translation-item-document-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B"}
|
package/package.json
CHANGED
|
@@ -347,6 +347,7 @@ models/specialty-document-model.ts
|
|
|
347
347
|
models/specialty-item-model.ts
|
|
348
348
|
models/specialty-item-simple-model.ts
|
|
349
349
|
models/specialty-model.ts
|
|
350
|
+
models/specialty-names-model.ts
|
|
350
351
|
models/specialty-sub-document-model.ts
|
|
351
352
|
models/specialty-type-item-model.ts
|
|
352
353
|
models/specialty-type-model.ts
|
package/src/api/services-api.ts
CHANGED
|
@@ -216,13 +216,14 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
216
216
|
*
|
|
217
217
|
* @summary Get Hospital service by slug
|
|
218
218
|
* @param {string} slug
|
|
219
|
+
* @param {string} [hospitalId]
|
|
219
220
|
* @param {string} [languageCode]
|
|
220
221
|
* @param {boolean} [returnDefaultValue]
|
|
221
222
|
* @param {string} [previewSecret]
|
|
222
223
|
* @param {*} [options] Override http request option.
|
|
223
224
|
* @throws {RequiredError}
|
|
224
225
|
*/
|
|
225
|
-
apiV2ServicesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
226
|
+
apiV2ServicesSlugGet: async (slug: string, hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
226
227
|
// verify required parameter 'slug' is not null or undefined
|
|
227
228
|
assertParamExists('apiV2ServicesSlugGet', 'slug', slug)
|
|
228
229
|
const localVarPath = `/api/v2/services/{slug}`
|
|
@@ -238,6 +239,10 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
238
239
|
const localVarHeaderParameter = {} as any;
|
|
239
240
|
const localVarQueryParameter = {} as any;
|
|
240
241
|
|
|
242
|
+
if (hospitalId !== undefined) {
|
|
243
|
+
localVarQueryParameter['hospitalId'] = hospitalId;
|
|
244
|
+
}
|
|
245
|
+
|
|
241
246
|
if (languageCode !== undefined) {
|
|
242
247
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
243
248
|
}
|
|
@@ -318,14 +323,15 @@ export const ServicesApiFp = function(configuration?: Configuration) {
|
|
|
318
323
|
*
|
|
319
324
|
* @summary Get Hospital service by slug
|
|
320
325
|
* @param {string} slug
|
|
326
|
+
* @param {string} [hospitalId]
|
|
321
327
|
* @param {string} [languageCode]
|
|
322
328
|
* @param {boolean} [returnDefaultValue]
|
|
323
329
|
* @param {string} [previewSecret]
|
|
324
330
|
* @param {*} [options] Override http request option.
|
|
325
331
|
* @throws {RequiredError}
|
|
326
332
|
*/
|
|
327
|
-
async apiV2ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
328
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicesSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options);
|
|
333
|
+
async apiV2ServicesSlugGet(slug: string, hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
334
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicesSlugGet(slug, hospitalId, languageCode, returnDefaultValue, previewSecret, options);
|
|
329
335
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
330
336
|
},
|
|
331
337
|
}
|
|
@@ -383,14 +389,15 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
383
389
|
*
|
|
384
390
|
* @summary Get Hospital service by slug
|
|
385
391
|
* @param {string} slug
|
|
392
|
+
* @param {string} [hospitalId]
|
|
386
393
|
* @param {string} [languageCode]
|
|
387
394
|
* @param {boolean} [returnDefaultValue]
|
|
388
395
|
* @param {string} [previewSecret]
|
|
389
396
|
* @param {*} [options] Override http request option.
|
|
390
397
|
* @throws {RequiredError}
|
|
391
398
|
*/
|
|
392
|
-
apiV2ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
393
|
-
return localVarFp.apiV2ServicesSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options).then((request) => request(axios, basePath));
|
|
399
|
+
apiV2ServicesSlugGet(slug: string, hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
400
|
+
return localVarFp.apiV2ServicesSlugGet(slug, hospitalId, languageCode, returnDefaultValue, previewSecret, options).then((request) => request(axios, basePath));
|
|
394
401
|
},
|
|
395
402
|
};
|
|
396
403
|
};
|
|
@@ -583,6 +590,13 @@ export interface ServicesApiApiV2ServicesSlugGetRequest {
|
|
|
583
590
|
*/
|
|
584
591
|
readonly slug: string
|
|
585
592
|
|
|
593
|
+
/**
|
|
594
|
+
*
|
|
595
|
+
* @type {string}
|
|
596
|
+
* @memberof ServicesApiApiV2ServicesSlugGet
|
|
597
|
+
*/
|
|
598
|
+
readonly hospitalId?: string
|
|
599
|
+
|
|
586
600
|
/**
|
|
587
601
|
*
|
|
588
602
|
* @type {string}
|
|
@@ -645,6 +659,6 @@ export class ServicesApi extends BaseAPI {
|
|
|
645
659
|
* @memberof ServicesApi
|
|
646
660
|
*/
|
|
647
661
|
public apiV2ServicesSlugGet(requestParameters: ServicesApiApiV2ServicesSlugGetRequest, options?: AxiosRequestConfig) {
|
|
648
|
-
return ServicesApiFp(this.configuration).apiV2ServicesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, options).then((request) => request(this.axios, this.basePath));
|
|
662
|
+
return ServicesApiFp(this.configuration).apiV2ServicesSlugGet(requestParameters.slug, requestParameters.hospitalId, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, options).then((request) => request(this.axios, this.basePath));
|
|
649
663
|
}
|
|
650
664
|
}
|
|
@@ -45,6 +45,9 @@ import { LocationDocumentModel } from './location-document-model';
|
|
|
45
45
|
import { MediaDocumentModel } from './media-document-model';
|
|
46
46
|
// May contain unused imports in some cases
|
|
47
47
|
// @ts-ignore
|
|
48
|
+
import { SpecialtyNamesModel } from './specialty-names-model';
|
|
49
|
+
// May contain unused imports in some cases
|
|
50
|
+
// @ts-ignore
|
|
48
51
|
import { TranslationDocumentModel } from './translation-document-model';
|
|
49
52
|
// May contain unused imports in some cases
|
|
50
53
|
// @ts-ignore
|
|
@@ -455,5 +458,11 @@ export interface DoctorDocumentModel {
|
|
|
455
458
|
* @memberof DoctorDocumentModel
|
|
456
459
|
*/
|
|
457
460
|
'AuditableEntity'?: AuditableEntityDocumentModel;
|
|
461
|
+
/**
|
|
462
|
+
*
|
|
463
|
+
* @type {SpecialtyNamesModel}
|
|
464
|
+
* @memberof DoctorDocumentModel
|
|
465
|
+
*/
|
|
466
|
+
'SpecialtyNames'?: SpecialtyNamesModel;
|
|
458
467
|
}
|
|
459
468
|
|
|
@@ -54,6 +54,9 @@ import { MediaDocumentModel } from './media-document-model';
|
|
|
54
54
|
import { SnsHandleDocumentModel } from './sns-handle-document-model';
|
|
55
55
|
// May contain unused imports in some cases
|
|
56
56
|
// @ts-ignore
|
|
57
|
+
import { SpecialtyNamesModel } from './specialty-names-model';
|
|
58
|
+
// May contain unused imports in some cases
|
|
59
|
+
// @ts-ignore
|
|
57
60
|
import { TagDocumentModel } from './tag-document-model';
|
|
58
61
|
|
|
59
62
|
/**
|
|
@@ -488,5 +491,11 @@ export interface HospitalDocumentModel {
|
|
|
488
491
|
* @memberof HospitalDocumentModel
|
|
489
492
|
*/
|
|
490
493
|
'AuditableEntity'?: AuditableEntityDocumentModel;
|
|
494
|
+
/**
|
|
495
|
+
*
|
|
496
|
+
* @type {SpecialtyNamesModel}
|
|
497
|
+
* @memberof HospitalDocumentModel
|
|
498
|
+
*/
|
|
499
|
+
'SpecialtyNames'?: SpecialtyNamesModel;
|
|
491
500
|
}
|
|
492
501
|
|
|
@@ -33,12 +33,18 @@ import { HospitalContactDocumentModel } from './hospital-contact-document-model'
|
|
|
33
33
|
import { HospitalSubDocumentModel } from './hospital-sub-document-model';
|
|
34
34
|
// May contain unused imports in some cases
|
|
35
35
|
// @ts-ignore
|
|
36
|
+
import { LocationDocumentModel } from './location-document-model';
|
|
37
|
+
// May contain unused imports in some cases
|
|
38
|
+
// @ts-ignore
|
|
36
39
|
import { MediaDocumentModel } from './media-document-model';
|
|
37
40
|
// May contain unused imports in some cases
|
|
38
41
|
// @ts-ignore
|
|
39
42
|
import { ServiceSubDocumentModel } from './service-sub-document-model';
|
|
40
43
|
// May contain unused imports in some cases
|
|
41
44
|
// @ts-ignore
|
|
45
|
+
import { SpecialtyNamesModel } from './specialty-names-model';
|
|
46
|
+
// May contain unused imports in some cases
|
|
47
|
+
// @ts-ignore
|
|
42
48
|
import { SpecialtySubDocumentModel } from './specialty-sub-document-model';
|
|
43
49
|
// May contain unused imports in some cases
|
|
44
50
|
// @ts-ignore
|
|
@@ -380,5 +386,17 @@ export interface HospitalSpecialtyDocumentModel {
|
|
|
380
386
|
* @memberof HospitalSpecialtyDocumentModel
|
|
381
387
|
*/
|
|
382
388
|
'AuditableEntity'?: AuditableEntityDocumentModel;
|
|
389
|
+
/**
|
|
390
|
+
*
|
|
391
|
+
* @type {LocationDocumentModel}
|
|
392
|
+
* @memberof HospitalSpecialtyDocumentModel
|
|
393
|
+
*/
|
|
394
|
+
'HospitalLocation'?: LocationDocumentModel;
|
|
395
|
+
/**
|
|
396
|
+
*
|
|
397
|
+
* @type {SpecialtyNamesModel}
|
|
398
|
+
* @memberof HospitalSpecialtyDocumentModel
|
|
399
|
+
*/
|
|
400
|
+
'SpecialtyNames'?: SpecialtyNamesModel;
|
|
383
401
|
}
|
|
384
402
|
|
package/src/models/index.ts
CHANGED
|
@@ -297,6 +297,7 @@ export * from './specialty-document-model';
|
|
|
297
297
|
export * from './specialty-item-model';
|
|
298
298
|
export * from './specialty-item-simple-model';
|
|
299
299
|
export * from './specialty-model';
|
|
300
|
+
export * from './specialty-names-model';
|
|
300
301
|
export * from './specialty-sub-document-model';
|
|
301
302
|
export * from './specialty-type-item-model';
|
|
302
303
|
export * from './specialty-type-model';
|
|
@@ -25,6 +25,9 @@ import { PageBlockLocationModel } from './page-block-location-model';
|
|
|
25
25
|
// May contain unused imports in some cases
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
import { PageBlockType } from './page-block-type';
|
|
28
|
+
// May contain unused imports in some cases
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { SurveyFormModel } from './survey-form-model';
|
|
28
31
|
|
|
29
32
|
/**
|
|
30
33
|
*
|
|
@@ -62,6 +65,12 @@ export interface PageBlockModel {
|
|
|
62
65
|
* @memberof PageBlockModel
|
|
63
66
|
*/
|
|
64
67
|
'customStyle'?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof PageBlockModel
|
|
72
|
+
*/
|
|
73
|
+
'surveyFormId'?: string | null;
|
|
65
74
|
/**
|
|
66
75
|
*
|
|
67
76
|
* @type {number}
|
|
@@ -122,5 +131,11 @@ export interface PageBlockModel {
|
|
|
122
131
|
* @memberof PageBlockModel
|
|
123
132
|
*/
|
|
124
133
|
'locations'?: Array<PageBlockLocationModel> | null;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {SurveyFormModel}
|
|
137
|
+
* @memberof PageBlockModel
|
|
138
|
+
*/
|
|
139
|
+
'surveyForm'?: SurveyFormModel;
|
|
125
140
|
}
|
|
126
141
|
|
|
@@ -36,6 +36,12 @@ import { HospitalSpecialtySubDocumentModel } from './hospital-specialty-sub-docu
|
|
|
36
36
|
import { HospitalSubDocumentModel } from './hospital-sub-document-model';
|
|
37
37
|
// May contain unused imports in some cases
|
|
38
38
|
// @ts-ignore
|
|
39
|
+
import { LocationDocumentModel } from './location-document-model';
|
|
40
|
+
// May contain unused imports in some cases
|
|
41
|
+
// @ts-ignore
|
|
42
|
+
import { SpecialtyNamesModel } from './specialty-names-model';
|
|
43
|
+
// May contain unused imports in some cases
|
|
44
|
+
// @ts-ignore
|
|
39
45
|
import { TranslationDocumentModel } from './translation-document-model';
|
|
40
46
|
|
|
41
47
|
/**
|
|
@@ -362,5 +368,17 @@ export interface ServiceDocumentModel {
|
|
|
362
368
|
* @memberof ServiceDocumentModel
|
|
363
369
|
*/
|
|
364
370
|
'AuditableEntity'?: AuditableEntityDocumentModel;
|
|
371
|
+
/**
|
|
372
|
+
*
|
|
373
|
+
* @type {LocationDocumentModel}
|
|
374
|
+
* @memberof ServiceDocumentModel
|
|
375
|
+
*/
|
|
376
|
+
'HospitalLocation'?: LocationDocumentModel;
|
|
377
|
+
/**
|
|
378
|
+
*
|
|
379
|
+
* @type {SpecialtyNamesModel}
|
|
380
|
+
* @memberof ServiceDocumentModel
|
|
381
|
+
*/
|
|
382
|
+
'SpecialtyNames'?: SpecialtyNamesModel;
|
|
365
383
|
}
|
|
366
384
|
|