ch-admin-api-client-typescript 5.5.2 → 5.5.4
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/dev-supports-api.d.ts +125 -0
- package/lib/api/dev-supports-api.d.ts.map +1 -0
- package/lib/api/dev-supports-api.js +244 -0
- package/lib/api/hospitals-api.d.ts +139 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +198 -0
- package/lib/api/search-curations-api.d.ts +309 -0
- package/lib/api/search-curations-api.d.ts.map +1 -0
- package/lib/api/search-curations-api.js +579 -0
- package/lib/api/specialties-api.d.ts +56 -0
- package/lib/api/specialties-api.d.ts.map +1 -1
- package/lib/api/specialties-api.js +90 -0
- package/lib/api/specialty-types-api.d.ts +56 -0
- package/lib/api/specialty-types-api.d.ts.map +1 -1
- package/lib/api/specialty-types-api.js +90 -0
- package/lib/api.d.ts +2 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +2 -0
- package/lib/models/call-statistics-model.d.ts +1 -1
- package/lib/models/call-statistics-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +10 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +10 -0
- package/lib/models/save-search-curations-command.d.ts +26 -0
- package/lib/models/save-search-curations-command.d.ts.map +1 -0
- package/lib/models/save-search-curations-command.js +15 -0
- package/lib/models/search-curation-item-input-model.d.ts +73 -0
- package/lib/models/search-curation-item-input-model.d.ts.map +1 -0
- package/lib/models/search-curation-item-input-model.js +15 -0
- package/lib/models/search-curation-item-model.d.ts +79 -0
- package/lib/models/search-curation-item-model.d.ts.map +1 -0
- package/lib/models/search-curation-item-model.js +15 -0
- package/lib/models/translate-doctor-affiliation-command.d.ts +6 -0
- package/lib/models/translate-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/translate-hospital-command.d.ts +6 -0
- package/lib/models/translate-hospital-command.d.ts.map +1 -1
- package/lib/models/translate-hospital-service-command.d.ts +44 -0
- package/lib/models/translate-hospital-service-command.d.ts.map +1 -0
- package/lib/models/translate-hospital-service-command.js +15 -0
- package/lib/models/translate-hospital-specialty-command.d.ts +44 -0
- package/lib/models/translate-hospital-specialty-command.d.ts.map +1 -0
- package/lib/models/translate-hospital-specialty-command.js +15 -0
- package/lib/models/translate-specialty-command.d.ts +44 -0
- package/lib/models/translate-specialty-command.d.ts.map +1 -0
- package/lib/models/translate-specialty-command.js +15 -0
- package/lib/models/translate-specialty-type-command.d.ts +44 -0
- package/lib/models/translate-specialty-type-command.d.ts.map +1 -0
- package/lib/models/translate-specialty-type-command.js +15 -0
- package/lib/models/translation-contents-model.d.ts +56 -0
- package/lib/models/translation-contents-model.d.ts.map +1 -0
- package/lib/models/translation-contents-model.js +15 -0
- package/lib/models/translation-contents-target-model.d.ts +43 -0
- package/lib/models/translation-contents-target-model.d.ts.map +1 -0
- package/lib/models/translation-contents-target-model.js +15 -0
- package/lib/models/translation-target-entities.d.ts +24 -0
- package/lib/models/translation-target-entities.d.ts.map +1 -0
- package/lib/models/translation-target-entities.js +27 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +12 -0
- package/src/api/dev-supports-api.ts +208 -0
- package/src/api/hospitals-api.ts +239 -0
- package/src/api/search-curations-api.ts +539 -0
- package/src/api/specialties-api.ts +100 -0
- package/src/api/specialty-types-api.ts +100 -0
- package/src/api.ts +2 -0
- package/src/models/call-statistics-model.ts +1 -1
- package/src/models/index.ts +10 -0
- package/src/models/save-search-curations-command.ts +33 -0
- package/src/models/search-curation-item-input-model.ts +78 -0
- package/src/models/search-curation-item-model.ts +84 -0
- package/src/models/translate-doctor-affiliation-command.ts +6 -0
- package/src/models/translate-hospital-command.ts +6 -0
- package/src/models/translate-hospital-service-command.ts +51 -0
- package/src/models/translate-hospital-specialty-command.ts +51 -0
- package/src/models/translate-specialty-command.ts +51 -0
- package/src/models/translate-specialty-type-command.ts +51 -0
- package/src/models/translation-contents-model.ts +63 -0
- package/src/models/translation-contents-target-model.ts +48 -0
- package/src/models/translation-target-entities.ts +33 -0
|
@@ -0,0 +1,539 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { SaveSearchCurationsCommand } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { SearchCurationItemModel } from '../models';
|
|
27
|
+
/**
|
|
28
|
+
* SearchCurationsApi - axios parameter creator
|
|
29
|
+
* @export
|
|
30
|
+
*/
|
|
31
|
+
export const SearchCurationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
|
+
return {
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @summary Get all SearchCurationItems
|
|
36
|
+
* @param {string} languageCode
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
apiV1SearchcurationsLanguageCodeGet: async (languageCode: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
42
|
+
assertParamExists('apiV1SearchcurationsLanguageCodeGet', 'languageCode', languageCode)
|
|
43
|
+
const localVarPath = `/api/v1/searchcurations/{languageCode}`
|
|
44
|
+
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)));
|
|
45
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47
|
+
let baseOptions;
|
|
48
|
+
if (configuration) {
|
|
49
|
+
baseOptions = configuration.baseOptions;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
53
|
+
const localVarHeaderParameter = {} as any;
|
|
54
|
+
const localVarQueryParameter = {} as any;
|
|
55
|
+
|
|
56
|
+
// authentication oauth2 required
|
|
57
|
+
// oauth required
|
|
58
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
63
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
65
|
+
|
|
66
|
+
return {
|
|
67
|
+
url: toPathString(localVarUrlObj),
|
|
68
|
+
options: localVarRequestOptions,
|
|
69
|
+
};
|
|
70
|
+
},
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @summary Delete SearchCurationItem
|
|
74
|
+
* @param {string} languageCode
|
|
75
|
+
* @param {string} id
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @throws {RequiredError}
|
|
78
|
+
*/
|
|
79
|
+
apiV1SearchcurationsLanguageCodeIdDelete: async (languageCode: string, id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
81
|
+
assertParamExists('apiV1SearchcurationsLanguageCodeIdDelete', 'languageCode', languageCode)
|
|
82
|
+
// verify required parameter 'id' is not null or undefined
|
|
83
|
+
assertParamExists('apiV1SearchcurationsLanguageCodeIdDelete', 'id', id)
|
|
84
|
+
const localVarPath = `/api/v1/searchcurations/{languageCode}/{id}`
|
|
85
|
+
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)))
|
|
86
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
87
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
88
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
89
|
+
let baseOptions;
|
|
90
|
+
if (configuration) {
|
|
91
|
+
baseOptions = configuration.baseOptions;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
95
|
+
const localVarHeaderParameter = {} as any;
|
|
96
|
+
const localVarQueryParameter = {} as any;
|
|
97
|
+
|
|
98
|
+
// authentication oauth2 required
|
|
99
|
+
// oauth required
|
|
100
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
105
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
106
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
107
|
+
|
|
108
|
+
return {
|
|
109
|
+
url: toPathString(localVarUrlObj),
|
|
110
|
+
options: localVarRequestOptions,
|
|
111
|
+
};
|
|
112
|
+
},
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @summary Get SearchCurationItem by id
|
|
116
|
+
* @param {string} languageCode
|
|
117
|
+
* @param {string} id
|
|
118
|
+
* @param {*} [options] Override http request option.
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
*/
|
|
121
|
+
apiV1SearchcurationsLanguageCodeIdGet: async (languageCode: string, id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
122
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
123
|
+
assertParamExists('apiV1SearchcurationsLanguageCodeIdGet', 'languageCode', languageCode)
|
|
124
|
+
// verify required parameter 'id' is not null or undefined
|
|
125
|
+
assertParamExists('apiV1SearchcurationsLanguageCodeIdGet', 'id', id)
|
|
126
|
+
const localVarPath = `/api/v1/searchcurations/{languageCode}/{id}`
|
|
127
|
+
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)))
|
|
128
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
129
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
130
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
131
|
+
let baseOptions;
|
|
132
|
+
if (configuration) {
|
|
133
|
+
baseOptions = configuration.baseOptions;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
137
|
+
const localVarHeaderParameter = {} as any;
|
|
138
|
+
const localVarQueryParameter = {} as any;
|
|
139
|
+
|
|
140
|
+
// authentication oauth2 required
|
|
141
|
+
// oauth required
|
|
142
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
147
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
148
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
149
|
+
|
|
150
|
+
return {
|
|
151
|
+
url: toPathString(localVarUrlObj),
|
|
152
|
+
options: localVarRequestOptions,
|
|
153
|
+
};
|
|
154
|
+
},
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
* @summary Get SearchCurationItems by parent id
|
|
158
|
+
* @param {string} languageCode
|
|
159
|
+
* @param {string} parentId
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
*/
|
|
163
|
+
apiV1SearchcurationsLanguageCodeParentIdSubitemsGet: async (languageCode: string, parentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
164
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
165
|
+
assertParamExists('apiV1SearchcurationsLanguageCodeParentIdSubitemsGet', 'languageCode', languageCode)
|
|
166
|
+
// verify required parameter 'parentId' is not null or undefined
|
|
167
|
+
assertParamExists('apiV1SearchcurationsLanguageCodeParentIdSubitemsGet', 'parentId', parentId)
|
|
168
|
+
const localVarPath = `/api/v1/searchcurations/{languageCode}/{parentId}/subitems`
|
|
169
|
+
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)))
|
|
170
|
+
.replace(`{${"parentId"}}`, encodeURIComponent(String(parentId)));
|
|
171
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
172
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
173
|
+
let baseOptions;
|
|
174
|
+
if (configuration) {
|
|
175
|
+
baseOptions = configuration.baseOptions;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
179
|
+
const localVarHeaderParameter = {} as any;
|
|
180
|
+
const localVarQueryParameter = {} as any;
|
|
181
|
+
|
|
182
|
+
// authentication oauth2 required
|
|
183
|
+
// oauth required
|
|
184
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
189
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
190
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
191
|
+
|
|
192
|
+
return {
|
|
193
|
+
url: toPathString(localVarUrlObj),
|
|
194
|
+
options: localVarRequestOptions,
|
|
195
|
+
};
|
|
196
|
+
},
|
|
197
|
+
/**
|
|
198
|
+
*
|
|
199
|
+
* @summary Save SearchCurationItem
|
|
200
|
+
* @param {string} languageCode
|
|
201
|
+
* @param {SaveSearchCurationsCommand} [saveSearchCurationsCommand]
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
apiV1SearchcurationsLanguageCodePost: async (languageCode: string, saveSearchCurationsCommand?: SaveSearchCurationsCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
206
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
207
|
+
assertParamExists('apiV1SearchcurationsLanguageCodePost', 'languageCode', languageCode)
|
|
208
|
+
const localVarPath = `/api/v1/searchcurations/{languageCode}`
|
|
209
|
+
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)));
|
|
210
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
211
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
212
|
+
let baseOptions;
|
|
213
|
+
if (configuration) {
|
|
214
|
+
baseOptions = configuration.baseOptions;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
218
|
+
const localVarHeaderParameter = {} as any;
|
|
219
|
+
const localVarQueryParameter = {} as any;
|
|
220
|
+
|
|
221
|
+
// authentication oauth2 required
|
|
222
|
+
// oauth required
|
|
223
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
228
|
+
|
|
229
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
230
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
231
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
232
|
+
localVarRequestOptions.data = serializeDataIfNeeded(saveSearchCurationsCommand, localVarRequestOptions, configuration)
|
|
233
|
+
|
|
234
|
+
return {
|
|
235
|
+
url: toPathString(localVarUrlObj),
|
|
236
|
+
options: localVarRequestOptions,
|
|
237
|
+
};
|
|
238
|
+
},
|
|
239
|
+
}
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* SearchCurationsApi - functional programming interface
|
|
244
|
+
* @export
|
|
245
|
+
*/
|
|
246
|
+
export const SearchCurationsApiFp = function(configuration?: Configuration) {
|
|
247
|
+
const localVarAxiosParamCreator = SearchCurationsApiAxiosParamCreator(configuration)
|
|
248
|
+
return {
|
|
249
|
+
/**
|
|
250
|
+
*
|
|
251
|
+
* @summary Get all SearchCurationItems
|
|
252
|
+
* @param {string} languageCode
|
|
253
|
+
* @param {*} [options] Override http request option.
|
|
254
|
+
* @throws {RequiredError}
|
|
255
|
+
*/
|
|
256
|
+
async apiV1SearchcurationsLanguageCodeGet(languageCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SearchCurationItemModel>>> {
|
|
257
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchcurationsLanguageCodeGet(languageCode, options);
|
|
258
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
259
|
+
},
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
* @summary Delete SearchCurationItem
|
|
263
|
+
* @param {string} languageCode
|
|
264
|
+
* @param {string} id
|
|
265
|
+
* @param {*} [options] Override http request option.
|
|
266
|
+
* @throws {RequiredError}
|
|
267
|
+
*/
|
|
268
|
+
async apiV1SearchcurationsLanguageCodeIdDelete(languageCode: string, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
269
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchcurationsLanguageCodeIdDelete(languageCode, id, options);
|
|
270
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
271
|
+
},
|
|
272
|
+
/**
|
|
273
|
+
*
|
|
274
|
+
* @summary Get SearchCurationItem by id
|
|
275
|
+
* @param {string} languageCode
|
|
276
|
+
* @param {string} id
|
|
277
|
+
* @param {*} [options] Override http request option.
|
|
278
|
+
* @throws {RequiredError}
|
|
279
|
+
*/
|
|
280
|
+
async apiV1SearchcurationsLanguageCodeIdGet(languageCode: string, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchCurationItemModel>> {
|
|
281
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchcurationsLanguageCodeIdGet(languageCode, id, options);
|
|
282
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
283
|
+
},
|
|
284
|
+
/**
|
|
285
|
+
*
|
|
286
|
+
* @summary Get SearchCurationItems by parent id
|
|
287
|
+
* @param {string} languageCode
|
|
288
|
+
* @param {string} parentId
|
|
289
|
+
* @param {*} [options] Override http request option.
|
|
290
|
+
* @throws {RequiredError}
|
|
291
|
+
*/
|
|
292
|
+
async apiV1SearchcurationsLanguageCodeParentIdSubitemsGet(languageCode: string, parentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SearchCurationItemModel>>> {
|
|
293
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchcurationsLanguageCodeParentIdSubitemsGet(languageCode, parentId, options);
|
|
294
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
295
|
+
},
|
|
296
|
+
/**
|
|
297
|
+
*
|
|
298
|
+
* @summary Save SearchCurationItem
|
|
299
|
+
* @param {string} languageCode
|
|
300
|
+
* @param {SaveSearchCurationsCommand} [saveSearchCurationsCommand]
|
|
301
|
+
* @param {*} [options] Override http request option.
|
|
302
|
+
* @throws {RequiredError}
|
|
303
|
+
*/
|
|
304
|
+
async apiV1SearchcurationsLanguageCodePost(languageCode: string, saveSearchCurationsCommand?: SaveSearchCurationsCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchCurationItemModel>> {
|
|
305
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchcurationsLanguageCodePost(languageCode, saveSearchCurationsCommand, options);
|
|
306
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
307
|
+
},
|
|
308
|
+
}
|
|
309
|
+
};
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* SearchCurationsApi - factory interface
|
|
313
|
+
* @export
|
|
314
|
+
*/
|
|
315
|
+
export const SearchCurationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
316
|
+
const localVarFp = SearchCurationsApiFp(configuration)
|
|
317
|
+
return {
|
|
318
|
+
/**
|
|
319
|
+
*
|
|
320
|
+
* @summary Get all SearchCurationItems
|
|
321
|
+
* @param {string} languageCode
|
|
322
|
+
* @param {*} [options] Override http request option.
|
|
323
|
+
* @throws {RequiredError}
|
|
324
|
+
*/
|
|
325
|
+
apiV1SearchcurationsLanguageCodeGet(languageCode: string, options?: any): AxiosPromise<Array<SearchCurationItemModel>> {
|
|
326
|
+
return localVarFp.apiV1SearchcurationsLanguageCodeGet(languageCode, options).then((request) => request(axios, basePath));
|
|
327
|
+
},
|
|
328
|
+
/**
|
|
329
|
+
*
|
|
330
|
+
* @summary Delete SearchCurationItem
|
|
331
|
+
* @param {string} languageCode
|
|
332
|
+
* @param {string} id
|
|
333
|
+
* @param {*} [options] Override http request option.
|
|
334
|
+
* @throws {RequiredError}
|
|
335
|
+
*/
|
|
336
|
+
apiV1SearchcurationsLanguageCodeIdDelete(languageCode: string, id: string, options?: any): AxiosPromise<boolean> {
|
|
337
|
+
return localVarFp.apiV1SearchcurationsLanguageCodeIdDelete(languageCode, id, options).then((request) => request(axios, basePath));
|
|
338
|
+
},
|
|
339
|
+
/**
|
|
340
|
+
*
|
|
341
|
+
* @summary Get SearchCurationItem by id
|
|
342
|
+
* @param {string} languageCode
|
|
343
|
+
* @param {string} id
|
|
344
|
+
* @param {*} [options] Override http request option.
|
|
345
|
+
* @throws {RequiredError}
|
|
346
|
+
*/
|
|
347
|
+
apiV1SearchcurationsLanguageCodeIdGet(languageCode: string, id: string, options?: any): AxiosPromise<SearchCurationItemModel> {
|
|
348
|
+
return localVarFp.apiV1SearchcurationsLanguageCodeIdGet(languageCode, id, options).then((request) => request(axios, basePath));
|
|
349
|
+
},
|
|
350
|
+
/**
|
|
351
|
+
*
|
|
352
|
+
* @summary Get SearchCurationItems by parent id
|
|
353
|
+
* @param {string} languageCode
|
|
354
|
+
* @param {string} parentId
|
|
355
|
+
* @param {*} [options] Override http request option.
|
|
356
|
+
* @throws {RequiredError}
|
|
357
|
+
*/
|
|
358
|
+
apiV1SearchcurationsLanguageCodeParentIdSubitemsGet(languageCode: string, parentId: string, options?: any): AxiosPromise<Array<SearchCurationItemModel>> {
|
|
359
|
+
return localVarFp.apiV1SearchcurationsLanguageCodeParentIdSubitemsGet(languageCode, parentId, options).then((request) => request(axios, basePath));
|
|
360
|
+
},
|
|
361
|
+
/**
|
|
362
|
+
*
|
|
363
|
+
* @summary Save SearchCurationItem
|
|
364
|
+
* @param {string} languageCode
|
|
365
|
+
* @param {SaveSearchCurationsCommand} [saveSearchCurationsCommand]
|
|
366
|
+
* @param {*} [options] Override http request option.
|
|
367
|
+
* @throws {RequiredError}
|
|
368
|
+
*/
|
|
369
|
+
apiV1SearchcurationsLanguageCodePost(languageCode: string, saveSearchCurationsCommand?: SaveSearchCurationsCommand, options?: any): AxiosPromise<SearchCurationItemModel> {
|
|
370
|
+
return localVarFp.apiV1SearchcurationsLanguageCodePost(languageCode, saveSearchCurationsCommand, options).then((request) => request(axios, basePath));
|
|
371
|
+
},
|
|
372
|
+
};
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Request parameters for apiV1SearchcurationsLanguageCodeGet operation in SearchCurationsApi.
|
|
377
|
+
* @export
|
|
378
|
+
* @interface SearchCurationsApiApiV1SearchcurationsLanguageCodeGetRequest
|
|
379
|
+
*/
|
|
380
|
+
export interface SearchCurationsApiApiV1SearchcurationsLanguageCodeGetRequest {
|
|
381
|
+
/**
|
|
382
|
+
*
|
|
383
|
+
* @type {string}
|
|
384
|
+
* @memberof SearchCurationsApiApiV1SearchcurationsLanguageCodeGet
|
|
385
|
+
*/
|
|
386
|
+
readonly languageCode: string
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* Request parameters for apiV1SearchcurationsLanguageCodeIdDelete operation in SearchCurationsApi.
|
|
391
|
+
* @export
|
|
392
|
+
* @interface SearchCurationsApiApiV1SearchcurationsLanguageCodeIdDeleteRequest
|
|
393
|
+
*/
|
|
394
|
+
export interface SearchCurationsApiApiV1SearchcurationsLanguageCodeIdDeleteRequest {
|
|
395
|
+
/**
|
|
396
|
+
*
|
|
397
|
+
* @type {string}
|
|
398
|
+
* @memberof SearchCurationsApiApiV1SearchcurationsLanguageCodeIdDelete
|
|
399
|
+
*/
|
|
400
|
+
readonly languageCode: string
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
*
|
|
404
|
+
* @type {string}
|
|
405
|
+
* @memberof SearchCurationsApiApiV1SearchcurationsLanguageCodeIdDelete
|
|
406
|
+
*/
|
|
407
|
+
readonly id: string
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* Request parameters for apiV1SearchcurationsLanguageCodeIdGet operation in SearchCurationsApi.
|
|
412
|
+
* @export
|
|
413
|
+
* @interface SearchCurationsApiApiV1SearchcurationsLanguageCodeIdGetRequest
|
|
414
|
+
*/
|
|
415
|
+
export interface SearchCurationsApiApiV1SearchcurationsLanguageCodeIdGetRequest {
|
|
416
|
+
/**
|
|
417
|
+
*
|
|
418
|
+
* @type {string}
|
|
419
|
+
* @memberof SearchCurationsApiApiV1SearchcurationsLanguageCodeIdGet
|
|
420
|
+
*/
|
|
421
|
+
readonly languageCode: string
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
*
|
|
425
|
+
* @type {string}
|
|
426
|
+
* @memberof SearchCurationsApiApiV1SearchcurationsLanguageCodeIdGet
|
|
427
|
+
*/
|
|
428
|
+
readonly id: string
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Request parameters for apiV1SearchcurationsLanguageCodeParentIdSubitemsGet operation in SearchCurationsApi.
|
|
433
|
+
* @export
|
|
434
|
+
* @interface SearchCurationsApiApiV1SearchcurationsLanguageCodeParentIdSubitemsGetRequest
|
|
435
|
+
*/
|
|
436
|
+
export interface SearchCurationsApiApiV1SearchcurationsLanguageCodeParentIdSubitemsGetRequest {
|
|
437
|
+
/**
|
|
438
|
+
*
|
|
439
|
+
* @type {string}
|
|
440
|
+
* @memberof SearchCurationsApiApiV1SearchcurationsLanguageCodeParentIdSubitemsGet
|
|
441
|
+
*/
|
|
442
|
+
readonly languageCode: string
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
*
|
|
446
|
+
* @type {string}
|
|
447
|
+
* @memberof SearchCurationsApiApiV1SearchcurationsLanguageCodeParentIdSubitemsGet
|
|
448
|
+
*/
|
|
449
|
+
readonly parentId: string
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* Request parameters for apiV1SearchcurationsLanguageCodePost operation in SearchCurationsApi.
|
|
454
|
+
* @export
|
|
455
|
+
* @interface SearchCurationsApiApiV1SearchcurationsLanguageCodePostRequest
|
|
456
|
+
*/
|
|
457
|
+
export interface SearchCurationsApiApiV1SearchcurationsLanguageCodePostRequest {
|
|
458
|
+
/**
|
|
459
|
+
*
|
|
460
|
+
* @type {string}
|
|
461
|
+
* @memberof SearchCurationsApiApiV1SearchcurationsLanguageCodePost
|
|
462
|
+
*/
|
|
463
|
+
readonly languageCode: string
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
*
|
|
467
|
+
* @type {SaveSearchCurationsCommand}
|
|
468
|
+
* @memberof SearchCurationsApiApiV1SearchcurationsLanguageCodePost
|
|
469
|
+
*/
|
|
470
|
+
readonly saveSearchCurationsCommand?: SaveSearchCurationsCommand
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* SearchCurationsApi - object-oriented interface
|
|
475
|
+
* @export
|
|
476
|
+
* @class SearchCurationsApi
|
|
477
|
+
* @extends {BaseAPI}
|
|
478
|
+
*/
|
|
479
|
+
export class SearchCurationsApi extends BaseAPI {
|
|
480
|
+
/**
|
|
481
|
+
*
|
|
482
|
+
* @summary Get all SearchCurationItems
|
|
483
|
+
* @param {SearchCurationsApiApiV1SearchcurationsLanguageCodeGetRequest} requestParameters Request parameters.
|
|
484
|
+
* @param {*} [options] Override http request option.
|
|
485
|
+
* @throws {RequiredError}
|
|
486
|
+
* @memberof SearchCurationsApi
|
|
487
|
+
*/
|
|
488
|
+
public apiV1SearchcurationsLanguageCodeGet(requestParameters: SearchCurationsApiApiV1SearchcurationsLanguageCodeGetRequest, options?: AxiosRequestConfig) {
|
|
489
|
+
return SearchCurationsApiFp(this.configuration).apiV1SearchcurationsLanguageCodeGet(requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
*
|
|
494
|
+
* @summary Delete SearchCurationItem
|
|
495
|
+
* @param {SearchCurationsApiApiV1SearchcurationsLanguageCodeIdDeleteRequest} requestParameters Request parameters.
|
|
496
|
+
* @param {*} [options] Override http request option.
|
|
497
|
+
* @throws {RequiredError}
|
|
498
|
+
* @memberof SearchCurationsApi
|
|
499
|
+
*/
|
|
500
|
+
public apiV1SearchcurationsLanguageCodeIdDelete(requestParameters: SearchCurationsApiApiV1SearchcurationsLanguageCodeIdDeleteRequest, options?: AxiosRequestConfig) {
|
|
501
|
+
return SearchCurationsApiFp(this.configuration).apiV1SearchcurationsLanguageCodeIdDelete(requestParameters.languageCode, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
*
|
|
506
|
+
* @summary Get SearchCurationItem by id
|
|
507
|
+
* @param {SearchCurationsApiApiV1SearchcurationsLanguageCodeIdGetRequest} requestParameters Request parameters.
|
|
508
|
+
* @param {*} [options] Override http request option.
|
|
509
|
+
* @throws {RequiredError}
|
|
510
|
+
* @memberof SearchCurationsApi
|
|
511
|
+
*/
|
|
512
|
+
public apiV1SearchcurationsLanguageCodeIdGet(requestParameters: SearchCurationsApiApiV1SearchcurationsLanguageCodeIdGetRequest, options?: AxiosRequestConfig) {
|
|
513
|
+
return SearchCurationsApiFp(this.configuration).apiV1SearchcurationsLanguageCodeIdGet(requestParameters.languageCode, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
* @summary Get SearchCurationItems by parent id
|
|
519
|
+
* @param {SearchCurationsApiApiV1SearchcurationsLanguageCodeParentIdSubitemsGetRequest} requestParameters Request parameters.
|
|
520
|
+
* @param {*} [options] Override http request option.
|
|
521
|
+
* @throws {RequiredError}
|
|
522
|
+
* @memberof SearchCurationsApi
|
|
523
|
+
*/
|
|
524
|
+
public apiV1SearchcurationsLanguageCodeParentIdSubitemsGet(requestParameters: SearchCurationsApiApiV1SearchcurationsLanguageCodeParentIdSubitemsGetRequest, options?: AxiosRequestConfig) {
|
|
525
|
+
return SearchCurationsApiFp(this.configuration).apiV1SearchcurationsLanguageCodeParentIdSubitemsGet(requestParameters.languageCode, requestParameters.parentId, options).then((request) => request(this.axios, this.basePath));
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
*
|
|
530
|
+
* @summary Save SearchCurationItem
|
|
531
|
+
* @param {SearchCurationsApiApiV1SearchcurationsLanguageCodePostRequest} requestParameters Request parameters.
|
|
532
|
+
* @param {*} [options] Override http request option.
|
|
533
|
+
* @throws {RequiredError}
|
|
534
|
+
* @memberof SearchCurationsApi
|
|
535
|
+
*/
|
|
536
|
+
public apiV1SearchcurationsLanguageCodePost(requestParameters: SearchCurationsApiApiV1SearchcurationsLanguageCodePostRequest, options?: AxiosRequestConfig) {
|
|
537
|
+
return SearchCurationsApiFp(this.configuration).apiV1SearchcurationsLanguageCodePost(requestParameters.languageCode, requestParameters.saveSearchCurationsCommand, options).then((request) => request(this.axios, this.basePath));
|
|
538
|
+
}
|
|
539
|
+
}
|
|
@@ -41,6 +41,8 @@ import { SpecialtiesSimpleModel } from '../models';
|
|
|
41
41
|
// @ts-ignore
|
|
42
42
|
import { SpecialtyModel } from '../models';
|
|
43
43
|
// @ts-ignore
|
|
44
|
+
import { TranslateSpecialtyCommand } from '../models';
|
|
45
|
+
// @ts-ignore
|
|
44
46
|
import { UpdateMediaCommand } from '../models';
|
|
45
47
|
// @ts-ignore
|
|
46
48
|
import { UpdateSpecialtyCommand } from '../models';
|
|
@@ -798,6 +800,48 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
798
800
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
799
801
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
800
802
|
|
|
803
|
+
return {
|
|
804
|
+
url: toPathString(localVarUrlObj),
|
|
805
|
+
options: localVarRequestOptions,
|
|
806
|
+
};
|
|
807
|
+
},
|
|
808
|
+
/**
|
|
809
|
+
*
|
|
810
|
+
* @summary Translate specialty
|
|
811
|
+
* @param {string} specialtyId
|
|
812
|
+
* @param {TranslateSpecialtyCommand} [translateSpecialtyCommand]
|
|
813
|
+
* @param {*} [options] Override http request option.
|
|
814
|
+
* @throws {RequiredError}
|
|
815
|
+
*/
|
|
816
|
+
apiV1SpecialtiesSpecialtyIdTranslatePost: async (specialtyId: string, translateSpecialtyCommand?: TranslateSpecialtyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
817
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
818
|
+
assertParamExists('apiV1SpecialtiesSpecialtyIdTranslatePost', 'specialtyId', specialtyId)
|
|
819
|
+
const localVarPath = `/api/v1/specialties/{specialtyId}/translate`
|
|
820
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
821
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
822
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
823
|
+
let baseOptions;
|
|
824
|
+
if (configuration) {
|
|
825
|
+
baseOptions = configuration.baseOptions;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
829
|
+
const localVarHeaderParameter = {} as any;
|
|
830
|
+
const localVarQueryParameter = {} as any;
|
|
831
|
+
|
|
832
|
+
// authentication oauth2 required
|
|
833
|
+
// oauth required
|
|
834
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
839
|
+
|
|
840
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
841
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
842
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
843
|
+
localVarRequestOptions.data = serializeDataIfNeeded(translateSpecialtyCommand, localVarRequestOptions, configuration)
|
|
844
|
+
|
|
801
845
|
return {
|
|
802
846
|
url: toPathString(localVarUrlObj),
|
|
803
847
|
options: localVarRequestOptions,
|
|
@@ -1010,6 +1054,18 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
1010
1054
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdRevalidatePost(specialtyId, includeCurrent, options);
|
|
1011
1055
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1012
1056
|
},
|
|
1057
|
+
/**
|
|
1058
|
+
*
|
|
1059
|
+
* @summary Translate specialty
|
|
1060
|
+
* @param {string} specialtyId
|
|
1061
|
+
* @param {TranslateSpecialtyCommand} [translateSpecialtyCommand]
|
|
1062
|
+
* @param {*} [options] Override http request option.
|
|
1063
|
+
* @throws {RequiredError}
|
|
1064
|
+
*/
|
|
1065
|
+
async apiV1SpecialtiesSpecialtyIdTranslatePost(specialtyId: string, translateSpecialtyCommand?: TranslateSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
1066
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdTranslatePost(specialtyId, translateSpecialtyCommand, options);
|
|
1067
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1068
|
+
},
|
|
1013
1069
|
}
|
|
1014
1070
|
};
|
|
1015
1071
|
|
|
@@ -1203,6 +1259,17 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
1203
1259
|
apiV1SpecialtiesSpecialtyIdRevalidatePost(specialtyId: string, includeCurrent?: boolean, options?: any): AxiosPromise<boolean> {
|
|
1204
1260
|
return localVarFp.apiV1SpecialtiesSpecialtyIdRevalidatePost(specialtyId, includeCurrent, options).then((request) => request(axios, basePath));
|
|
1205
1261
|
},
|
|
1262
|
+
/**
|
|
1263
|
+
*
|
|
1264
|
+
* @summary Translate specialty
|
|
1265
|
+
* @param {string} specialtyId
|
|
1266
|
+
* @param {TranslateSpecialtyCommand} [translateSpecialtyCommand]
|
|
1267
|
+
* @param {*} [options] Override http request option.
|
|
1268
|
+
* @throws {RequiredError}
|
|
1269
|
+
*/
|
|
1270
|
+
apiV1SpecialtiesSpecialtyIdTranslatePost(specialtyId: string, translateSpecialtyCommand?: TranslateSpecialtyCommand, options?: any): AxiosPromise<boolean> {
|
|
1271
|
+
return localVarFp.apiV1SpecialtiesSpecialtyIdTranslatePost(specialtyId, translateSpecialtyCommand, options).then((request) => request(axios, basePath));
|
|
1272
|
+
},
|
|
1206
1273
|
};
|
|
1207
1274
|
};
|
|
1208
1275
|
|
|
@@ -1703,6 +1770,27 @@ export interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdRevalidatePostRequest
|
|
|
1703
1770
|
readonly includeCurrent?: boolean
|
|
1704
1771
|
}
|
|
1705
1772
|
|
|
1773
|
+
/**
|
|
1774
|
+
* Request parameters for apiV1SpecialtiesSpecialtyIdTranslatePost operation in SpecialtiesApi.
|
|
1775
|
+
* @export
|
|
1776
|
+
* @interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePostRequest
|
|
1777
|
+
*/
|
|
1778
|
+
export interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePostRequest {
|
|
1779
|
+
/**
|
|
1780
|
+
*
|
|
1781
|
+
* @type {string}
|
|
1782
|
+
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePost
|
|
1783
|
+
*/
|
|
1784
|
+
readonly specialtyId: string
|
|
1785
|
+
|
|
1786
|
+
/**
|
|
1787
|
+
*
|
|
1788
|
+
* @type {TranslateSpecialtyCommand}
|
|
1789
|
+
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePost
|
|
1790
|
+
*/
|
|
1791
|
+
readonly translateSpecialtyCommand?: TranslateSpecialtyCommand
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1706
1794
|
/**
|
|
1707
1795
|
* SpecialtiesApi - object-oriented interface
|
|
1708
1796
|
* @export
|
|
@@ -1877,4 +1965,16 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
1877
1965
|
public apiV1SpecialtiesSpecialtyIdRevalidatePost(requestParameters: SpecialtiesApiApiV1SpecialtiesSpecialtyIdRevalidatePostRequest, options?: AxiosRequestConfig) {
|
|
1878
1966
|
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdRevalidatePost(requestParameters.specialtyId, requestParameters.includeCurrent, options).then((request) => request(this.axios, this.basePath));
|
|
1879
1967
|
}
|
|
1968
|
+
|
|
1969
|
+
/**
|
|
1970
|
+
*
|
|
1971
|
+
* @summary Translate specialty
|
|
1972
|
+
* @param {SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePostRequest} requestParameters Request parameters.
|
|
1973
|
+
* @param {*} [options] Override http request option.
|
|
1974
|
+
* @throws {RequiredError}
|
|
1975
|
+
* @memberof SpecialtiesApi
|
|
1976
|
+
*/
|
|
1977
|
+
public apiV1SpecialtiesSpecialtyIdTranslatePost(requestParameters: SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePostRequest, options?: AxiosRequestConfig) {
|
|
1978
|
+
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdTranslatePost(requestParameters.specialtyId, requestParameters.translateSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1979
|
+
}
|
|
1880
1980
|
}
|