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.
Files changed (79) hide show
  1. package/lib/api/dev-supports-api.d.ts +125 -0
  2. package/lib/api/dev-supports-api.d.ts.map +1 -0
  3. package/lib/api/dev-supports-api.js +244 -0
  4. package/lib/api/hospitals-api.d.ts +139 -0
  5. package/lib/api/hospitals-api.d.ts.map +1 -1
  6. package/lib/api/hospitals-api.js +198 -0
  7. package/lib/api/search-curations-api.d.ts +309 -0
  8. package/lib/api/search-curations-api.d.ts.map +1 -0
  9. package/lib/api/search-curations-api.js +579 -0
  10. package/lib/api/specialties-api.d.ts +56 -0
  11. package/lib/api/specialties-api.d.ts.map +1 -1
  12. package/lib/api/specialties-api.js +90 -0
  13. package/lib/api/specialty-types-api.d.ts +56 -0
  14. package/lib/api/specialty-types-api.d.ts.map +1 -1
  15. package/lib/api/specialty-types-api.js +90 -0
  16. package/lib/api.d.ts +2 -0
  17. package/lib/api.d.ts.map +1 -1
  18. package/lib/api.js +2 -0
  19. package/lib/models/call-statistics-model.d.ts +1 -1
  20. package/lib/models/call-statistics-model.d.ts.map +1 -1
  21. package/lib/models/index.d.ts +10 -0
  22. package/lib/models/index.d.ts.map +1 -1
  23. package/lib/models/index.js +10 -0
  24. package/lib/models/save-search-curations-command.d.ts +26 -0
  25. package/lib/models/save-search-curations-command.d.ts.map +1 -0
  26. package/lib/models/save-search-curations-command.js +15 -0
  27. package/lib/models/search-curation-item-input-model.d.ts +73 -0
  28. package/lib/models/search-curation-item-input-model.d.ts.map +1 -0
  29. package/lib/models/search-curation-item-input-model.js +15 -0
  30. package/lib/models/search-curation-item-model.d.ts +79 -0
  31. package/lib/models/search-curation-item-model.d.ts.map +1 -0
  32. package/lib/models/search-curation-item-model.js +15 -0
  33. package/lib/models/translate-doctor-affiliation-command.d.ts +6 -0
  34. package/lib/models/translate-doctor-affiliation-command.d.ts.map +1 -1
  35. package/lib/models/translate-hospital-command.d.ts +6 -0
  36. package/lib/models/translate-hospital-command.d.ts.map +1 -1
  37. package/lib/models/translate-hospital-service-command.d.ts +44 -0
  38. package/lib/models/translate-hospital-service-command.d.ts.map +1 -0
  39. package/lib/models/translate-hospital-service-command.js +15 -0
  40. package/lib/models/translate-hospital-specialty-command.d.ts +44 -0
  41. package/lib/models/translate-hospital-specialty-command.d.ts.map +1 -0
  42. package/lib/models/translate-hospital-specialty-command.js +15 -0
  43. package/lib/models/translate-specialty-command.d.ts +44 -0
  44. package/lib/models/translate-specialty-command.d.ts.map +1 -0
  45. package/lib/models/translate-specialty-command.js +15 -0
  46. package/lib/models/translate-specialty-type-command.d.ts +44 -0
  47. package/lib/models/translate-specialty-type-command.d.ts.map +1 -0
  48. package/lib/models/translate-specialty-type-command.js +15 -0
  49. package/lib/models/translation-contents-model.d.ts +56 -0
  50. package/lib/models/translation-contents-model.d.ts.map +1 -0
  51. package/lib/models/translation-contents-model.js +15 -0
  52. package/lib/models/translation-contents-target-model.d.ts +43 -0
  53. package/lib/models/translation-contents-target-model.d.ts.map +1 -0
  54. package/lib/models/translation-contents-target-model.js +15 -0
  55. package/lib/models/translation-target-entities.d.ts +24 -0
  56. package/lib/models/translation-target-entities.d.ts.map +1 -0
  57. package/lib/models/translation-target-entities.js +27 -0
  58. package/package.json +1 -1
  59. package/src/.openapi-generator/FILES +12 -0
  60. package/src/api/dev-supports-api.ts +208 -0
  61. package/src/api/hospitals-api.ts +239 -0
  62. package/src/api/search-curations-api.ts +539 -0
  63. package/src/api/specialties-api.ts +100 -0
  64. package/src/api/specialty-types-api.ts +100 -0
  65. package/src/api.ts +2 -0
  66. package/src/models/call-statistics-model.ts +1 -1
  67. package/src/models/index.ts +10 -0
  68. package/src/models/save-search-curations-command.ts +33 -0
  69. package/src/models/search-curation-item-input-model.ts +78 -0
  70. package/src/models/search-curation-item-model.ts +84 -0
  71. package/src/models/translate-doctor-affiliation-command.ts +6 -0
  72. package/src/models/translate-hospital-command.ts +6 -0
  73. package/src/models/translate-hospital-service-command.ts +51 -0
  74. package/src/models/translate-hospital-specialty-command.ts +51 -0
  75. package/src/models/translate-specialty-command.ts +51 -0
  76. package/src/models/translate-specialty-type-command.ts +51 -0
  77. package/src/models/translation-contents-model.ts +63 -0
  78. package/src/models/translation-contents-target-model.ts +48 -0
  79. package/src/models/translation-target-entities.ts +33 -0
@@ -0,0 +1,579 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Swagger UI - Cloud Hospital Admin Api-INT
6
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
7
+ *
8
+ * The version of the OpenAPI document: 1
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
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
41
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
48
+ });
49
+ };
50
+ var __generator = (this && this.__generator) || function (thisArg, body) {
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
+ function verb(n) { return function (v) { return step([n, v]); }; }
54
+ function step(op) {
55
+ if (f) throw new TypeError("Generator is already executing.");
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
+ if (y = 0, t) op = [op[0] & 2, t.value];
59
+ switch (op[0]) {
60
+ case 0: case 1: t = op; break;
61
+ case 4: _.label++; return { value: op[1], done: false };
62
+ case 5: _.label++; y = op[1]; op = [0]; continue;
63
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
+ default:
65
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
+ if (t[2]) _.ops.pop();
70
+ _.trys.pop(); continue;
71
+ }
72
+ op = body.call(thisArg, _);
73
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
+ }
76
+ };
77
+ var __importDefault = (this && this.__importDefault) || function (mod) {
78
+ return (mod && mod.__esModule) ? mod : { "default": mod };
79
+ };
80
+ Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.SearchCurationsApi = exports.SearchCurationsApiFactory = exports.SearchCurationsApiFp = exports.SearchCurationsApiAxiosParamCreator = void 0;
82
+ var axios_1 = __importDefault(require("axios"));
83
+ // Some imports not used depending on template conditions
84
+ // @ts-ignore
85
+ var common_1 = require("../common");
86
+ // @ts-ignore
87
+ var base_1 = require("../base");
88
+ /**
89
+ * SearchCurationsApi - axios parameter creator
90
+ * @export
91
+ */
92
+ var SearchCurationsApiAxiosParamCreator = function (configuration) {
93
+ var _this = this;
94
+ return {
95
+ /**
96
+ *
97
+ * @summary Get all SearchCurationItems
98
+ * @param {string} languageCode
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ apiV1SearchcurationsLanguageCodeGet: function (languageCode, options) {
103
+ if (options === void 0) { options = {}; }
104
+ return __awaiter(_this, void 0, void 0, function () {
105
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
106
+ return __generator(this, function (_a) {
107
+ switch (_a.label) {
108
+ case 0:
109
+ // verify required parameter 'languageCode' is not null or undefined
110
+ (0, common_1.assertParamExists)('apiV1SearchcurationsLanguageCodeGet', 'languageCode', languageCode);
111
+ localVarPath = "/api/v1/searchcurations/{languageCode}"
112
+ .replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)));
113
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
114
+ if (configuration) {
115
+ baseOptions = configuration.baseOptions;
116
+ }
117
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
118
+ localVarHeaderParameter = {};
119
+ localVarQueryParameter = {};
120
+ // authentication oauth2 required
121
+ // oauth required
122
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
123
+ case 1:
124
+ // authentication oauth2 required
125
+ // oauth required
126
+ _a.sent();
127
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
128
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
129
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
130
+ return [2 /*return*/, {
131
+ url: (0, common_1.toPathString)(localVarUrlObj),
132
+ options: localVarRequestOptions,
133
+ }];
134
+ }
135
+ });
136
+ });
137
+ },
138
+ /**
139
+ *
140
+ * @summary Delete SearchCurationItem
141
+ * @param {string} languageCode
142
+ * @param {string} id
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ apiV1SearchcurationsLanguageCodeIdDelete: function (languageCode, id, options) {
147
+ if (options === void 0) { options = {}; }
148
+ return __awaiter(_this, void 0, void 0, function () {
149
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
150
+ return __generator(this, function (_a) {
151
+ switch (_a.label) {
152
+ case 0:
153
+ // verify required parameter 'languageCode' is not null or undefined
154
+ (0, common_1.assertParamExists)('apiV1SearchcurationsLanguageCodeIdDelete', 'languageCode', languageCode);
155
+ // verify required parameter 'id' is not null or undefined
156
+ (0, common_1.assertParamExists)('apiV1SearchcurationsLanguageCodeIdDelete', 'id', id);
157
+ localVarPath = "/api/v1/searchcurations/{languageCode}/{id}"
158
+ .replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)))
159
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
160
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
161
+ if (configuration) {
162
+ baseOptions = configuration.baseOptions;
163
+ }
164
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
165
+ localVarHeaderParameter = {};
166
+ localVarQueryParameter = {};
167
+ // authentication oauth2 required
168
+ // oauth required
169
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
170
+ case 1:
171
+ // authentication oauth2 required
172
+ // oauth required
173
+ _a.sent();
174
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
175
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
176
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
177
+ return [2 /*return*/, {
178
+ url: (0, common_1.toPathString)(localVarUrlObj),
179
+ options: localVarRequestOptions,
180
+ }];
181
+ }
182
+ });
183
+ });
184
+ },
185
+ /**
186
+ *
187
+ * @summary Get SearchCurationItem by id
188
+ * @param {string} languageCode
189
+ * @param {string} id
190
+ * @param {*} [options] Override http request option.
191
+ * @throws {RequiredError}
192
+ */
193
+ apiV1SearchcurationsLanguageCodeIdGet: function (languageCode, id, options) {
194
+ if (options === void 0) { options = {}; }
195
+ return __awaiter(_this, void 0, void 0, function () {
196
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
197
+ return __generator(this, function (_a) {
198
+ switch (_a.label) {
199
+ case 0:
200
+ // verify required parameter 'languageCode' is not null or undefined
201
+ (0, common_1.assertParamExists)('apiV1SearchcurationsLanguageCodeIdGet', 'languageCode', languageCode);
202
+ // verify required parameter 'id' is not null or undefined
203
+ (0, common_1.assertParamExists)('apiV1SearchcurationsLanguageCodeIdGet', 'id', id);
204
+ localVarPath = "/api/v1/searchcurations/{languageCode}/{id}"
205
+ .replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)))
206
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
207
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
208
+ if (configuration) {
209
+ baseOptions = configuration.baseOptions;
210
+ }
211
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
212
+ localVarHeaderParameter = {};
213
+ localVarQueryParameter = {};
214
+ // authentication oauth2 required
215
+ // oauth required
216
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
217
+ case 1:
218
+ // authentication oauth2 required
219
+ // oauth required
220
+ _a.sent();
221
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
222
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
223
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
224
+ return [2 /*return*/, {
225
+ url: (0, common_1.toPathString)(localVarUrlObj),
226
+ options: localVarRequestOptions,
227
+ }];
228
+ }
229
+ });
230
+ });
231
+ },
232
+ /**
233
+ *
234
+ * @summary Get SearchCurationItems by parent id
235
+ * @param {string} languageCode
236
+ * @param {string} parentId
237
+ * @param {*} [options] Override http request option.
238
+ * @throws {RequiredError}
239
+ */
240
+ apiV1SearchcurationsLanguageCodeParentIdSubitemsGet: function (languageCode, parentId, options) {
241
+ if (options === void 0) { options = {}; }
242
+ return __awaiter(_this, void 0, void 0, function () {
243
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
244
+ return __generator(this, function (_a) {
245
+ switch (_a.label) {
246
+ case 0:
247
+ // verify required parameter 'languageCode' is not null or undefined
248
+ (0, common_1.assertParamExists)('apiV1SearchcurationsLanguageCodeParentIdSubitemsGet', 'languageCode', languageCode);
249
+ // verify required parameter 'parentId' is not null or undefined
250
+ (0, common_1.assertParamExists)('apiV1SearchcurationsLanguageCodeParentIdSubitemsGet', 'parentId', parentId);
251
+ localVarPath = "/api/v1/searchcurations/{languageCode}/{parentId}/subitems"
252
+ .replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)))
253
+ .replace("{".concat("parentId", "}"), encodeURIComponent(String(parentId)));
254
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
255
+ if (configuration) {
256
+ baseOptions = configuration.baseOptions;
257
+ }
258
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
259
+ localVarHeaderParameter = {};
260
+ localVarQueryParameter = {};
261
+ // authentication oauth2 required
262
+ // oauth required
263
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
264
+ case 1:
265
+ // authentication oauth2 required
266
+ // oauth required
267
+ _a.sent();
268
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
269
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
270
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
271
+ return [2 /*return*/, {
272
+ url: (0, common_1.toPathString)(localVarUrlObj),
273
+ options: localVarRequestOptions,
274
+ }];
275
+ }
276
+ });
277
+ });
278
+ },
279
+ /**
280
+ *
281
+ * @summary Save SearchCurationItem
282
+ * @param {string} languageCode
283
+ * @param {SaveSearchCurationsCommand} [saveSearchCurationsCommand]
284
+ * @param {*} [options] Override http request option.
285
+ * @throws {RequiredError}
286
+ */
287
+ apiV1SearchcurationsLanguageCodePost: function (languageCode, saveSearchCurationsCommand, options) {
288
+ if (options === void 0) { options = {}; }
289
+ return __awaiter(_this, void 0, void 0, function () {
290
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
291
+ return __generator(this, function (_a) {
292
+ switch (_a.label) {
293
+ case 0:
294
+ // verify required parameter 'languageCode' is not null or undefined
295
+ (0, common_1.assertParamExists)('apiV1SearchcurationsLanguageCodePost', 'languageCode', languageCode);
296
+ localVarPath = "/api/v1/searchcurations/{languageCode}"
297
+ .replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)));
298
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
299
+ if (configuration) {
300
+ baseOptions = configuration.baseOptions;
301
+ }
302
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
303
+ localVarHeaderParameter = {};
304
+ localVarQueryParameter = {};
305
+ // authentication oauth2 required
306
+ // oauth required
307
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
308
+ case 1:
309
+ // authentication oauth2 required
310
+ // oauth required
311
+ _a.sent();
312
+ localVarHeaderParameter['Content-Type'] = 'application/json';
313
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
314
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
315
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
316
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(saveSearchCurationsCommand, localVarRequestOptions, configuration);
317
+ return [2 /*return*/, {
318
+ url: (0, common_1.toPathString)(localVarUrlObj),
319
+ options: localVarRequestOptions,
320
+ }];
321
+ }
322
+ });
323
+ });
324
+ },
325
+ };
326
+ };
327
+ exports.SearchCurationsApiAxiosParamCreator = SearchCurationsApiAxiosParamCreator;
328
+ /**
329
+ * SearchCurationsApi - functional programming interface
330
+ * @export
331
+ */
332
+ var SearchCurationsApiFp = function (configuration) {
333
+ var localVarAxiosParamCreator = (0, exports.SearchCurationsApiAxiosParamCreator)(configuration);
334
+ return {
335
+ /**
336
+ *
337
+ * @summary Get all SearchCurationItems
338
+ * @param {string} languageCode
339
+ * @param {*} [options] Override http request option.
340
+ * @throws {RequiredError}
341
+ */
342
+ apiV1SearchcurationsLanguageCodeGet: function (languageCode, options) {
343
+ return __awaiter(this, void 0, void 0, function () {
344
+ var localVarAxiosArgs;
345
+ return __generator(this, function (_a) {
346
+ switch (_a.label) {
347
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchcurationsLanguageCodeGet(languageCode, options)];
348
+ case 1:
349
+ localVarAxiosArgs = _a.sent();
350
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
351
+ }
352
+ });
353
+ });
354
+ },
355
+ /**
356
+ *
357
+ * @summary Delete SearchCurationItem
358
+ * @param {string} languageCode
359
+ * @param {string} id
360
+ * @param {*} [options] Override http request option.
361
+ * @throws {RequiredError}
362
+ */
363
+ apiV1SearchcurationsLanguageCodeIdDelete: function (languageCode, id, options) {
364
+ return __awaiter(this, void 0, void 0, function () {
365
+ var localVarAxiosArgs;
366
+ return __generator(this, function (_a) {
367
+ switch (_a.label) {
368
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchcurationsLanguageCodeIdDelete(languageCode, id, options)];
369
+ case 1:
370
+ localVarAxiosArgs = _a.sent();
371
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
372
+ }
373
+ });
374
+ });
375
+ },
376
+ /**
377
+ *
378
+ * @summary Get SearchCurationItem by id
379
+ * @param {string} languageCode
380
+ * @param {string} id
381
+ * @param {*} [options] Override http request option.
382
+ * @throws {RequiredError}
383
+ */
384
+ apiV1SearchcurationsLanguageCodeIdGet: function (languageCode, id, options) {
385
+ return __awaiter(this, void 0, void 0, function () {
386
+ var localVarAxiosArgs;
387
+ return __generator(this, function (_a) {
388
+ switch (_a.label) {
389
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchcurationsLanguageCodeIdGet(languageCode, id, options)];
390
+ case 1:
391
+ localVarAxiosArgs = _a.sent();
392
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
393
+ }
394
+ });
395
+ });
396
+ },
397
+ /**
398
+ *
399
+ * @summary Get SearchCurationItems by parent id
400
+ * @param {string} languageCode
401
+ * @param {string} parentId
402
+ * @param {*} [options] Override http request option.
403
+ * @throws {RequiredError}
404
+ */
405
+ apiV1SearchcurationsLanguageCodeParentIdSubitemsGet: function (languageCode, parentId, options) {
406
+ return __awaiter(this, void 0, void 0, function () {
407
+ var localVarAxiosArgs;
408
+ return __generator(this, function (_a) {
409
+ switch (_a.label) {
410
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchcurationsLanguageCodeParentIdSubitemsGet(languageCode, parentId, options)];
411
+ case 1:
412
+ localVarAxiosArgs = _a.sent();
413
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
414
+ }
415
+ });
416
+ });
417
+ },
418
+ /**
419
+ *
420
+ * @summary Save SearchCurationItem
421
+ * @param {string} languageCode
422
+ * @param {SaveSearchCurationsCommand} [saveSearchCurationsCommand]
423
+ * @param {*} [options] Override http request option.
424
+ * @throws {RequiredError}
425
+ */
426
+ apiV1SearchcurationsLanguageCodePost: function (languageCode, saveSearchCurationsCommand, options) {
427
+ return __awaiter(this, void 0, void 0, function () {
428
+ var localVarAxiosArgs;
429
+ return __generator(this, function (_a) {
430
+ switch (_a.label) {
431
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchcurationsLanguageCodePost(languageCode, saveSearchCurationsCommand, options)];
432
+ case 1:
433
+ localVarAxiosArgs = _a.sent();
434
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
435
+ }
436
+ });
437
+ });
438
+ },
439
+ };
440
+ };
441
+ exports.SearchCurationsApiFp = SearchCurationsApiFp;
442
+ /**
443
+ * SearchCurationsApi - factory interface
444
+ * @export
445
+ */
446
+ var SearchCurationsApiFactory = function (configuration, basePath, axios) {
447
+ var localVarFp = (0, exports.SearchCurationsApiFp)(configuration);
448
+ return {
449
+ /**
450
+ *
451
+ * @summary Get all SearchCurationItems
452
+ * @param {string} languageCode
453
+ * @param {*} [options] Override http request option.
454
+ * @throws {RequiredError}
455
+ */
456
+ apiV1SearchcurationsLanguageCodeGet: function (languageCode, options) {
457
+ return localVarFp.apiV1SearchcurationsLanguageCodeGet(languageCode, options).then(function (request) { return request(axios, basePath); });
458
+ },
459
+ /**
460
+ *
461
+ * @summary Delete SearchCurationItem
462
+ * @param {string} languageCode
463
+ * @param {string} id
464
+ * @param {*} [options] Override http request option.
465
+ * @throws {RequiredError}
466
+ */
467
+ apiV1SearchcurationsLanguageCodeIdDelete: function (languageCode, id, options) {
468
+ return localVarFp.apiV1SearchcurationsLanguageCodeIdDelete(languageCode, id, options).then(function (request) { return request(axios, basePath); });
469
+ },
470
+ /**
471
+ *
472
+ * @summary Get SearchCurationItem by id
473
+ * @param {string} languageCode
474
+ * @param {string} id
475
+ * @param {*} [options] Override http request option.
476
+ * @throws {RequiredError}
477
+ */
478
+ apiV1SearchcurationsLanguageCodeIdGet: function (languageCode, id, options) {
479
+ return localVarFp.apiV1SearchcurationsLanguageCodeIdGet(languageCode, id, options).then(function (request) { return request(axios, basePath); });
480
+ },
481
+ /**
482
+ *
483
+ * @summary Get SearchCurationItems by parent id
484
+ * @param {string} languageCode
485
+ * @param {string} parentId
486
+ * @param {*} [options] Override http request option.
487
+ * @throws {RequiredError}
488
+ */
489
+ apiV1SearchcurationsLanguageCodeParentIdSubitemsGet: function (languageCode, parentId, options) {
490
+ return localVarFp.apiV1SearchcurationsLanguageCodeParentIdSubitemsGet(languageCode, parentId, options).then(function (request) { return request(axios, basePath); });
491
+ },
492
+ /**
493
+ *
494
+ * @summary Save SearchCurationItem
495
+ * @param {string} languageCode
496
+ * @param {SaveSearchCurationsCommand} [saveSearchCurationsCommand]
497
+ * @param {*} [options] Override http request option.
498
+ * @throws {RequiredError}
499
+ */
500
+ apiV1SearchcurationsLanguageCodePost: function (languageCode, saveSearchCurationsCommand, options) {
501
+ return localVarFp.apiV1SearchcurationsLanguageCodePost(languageCode, saveSearchCurationsCommand, options).then(function (request) { return request(axios, basePath); });
502
+ },
503
+ };
504
+ };
505
+ exports.SearchCurationsApiFactory = SearchCurationsApiFactory;
506
+ /**
507
+ * SearchCurationsApi - object-oriented interface
508
+ * @export
509
+ * @class SearchCurationsApi
510
+ * @extends {BaseAPI}
511
+ */
512
+ var SearchCurationsApi = /** @class */ (function (_super) {
513
+ __extends(SearchCurationsApi, _super);
514
+ function SearchCurationsApi() {
515
+ return _super !== null && _super.apply(this, arguments) || this;
516
+ }
517
+ /**
518
+ *
519
+ * @summary Get all SearchCurationItems
520
+ * @param {SearchCurationsApiApiV1SearchcurationsLanguageCodeGetRequest} requestParameters Request parameters.
521
+ * @param {*} [options] Override http request option.
522
+ * @throws {RequiredError}
523
+ * @memberof SearchCurationsApi
524
+ */
525
+ SearchCurationsApi.prototype.apiV1SearchcurationsLanguageCodeGet = function (requestParameters, options) {
526
+ var _this = this;
527
+ return (0, exports.SearchCurationsApiFp)(this.configuration).apiV1SearchcurationsLanguageCodeGet(requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
528
+ };
529
+ /**
530
+ *
531
+ * @summary Delete SearchCurationItem
532
+ * @param {SearchCurationsApiApiV1SearchcurationsLanguageCodeIdDeleteRequest} requestParameters Request parameters.
533
+ * @param {*} [options] Override http request option.
534
+ * @throws {RequiredError}
535
+ * @memberof SearchCurationsApi
536
+ */
537
+ SearchCurationsApi.prototype.apiV1SearchcurationsLanguageCodeIdDelete = function (requestParameters, options) {
538
+ var _this = this;
539
+ return (0, exports.SearchCurationsApiFp)(this.configuration).apiV1SearchcurationsLanguageCodeIdDelete(requestParameters.languageCode, requestParameters.id, options).then(function (request) { return request(_this.axios, _this.basePath); });
540
+ };
541
+ /**
542
+ *
543
+ * @summary Get SearchCurationItem by id
544
+ * @param {SearchCurationsApiApiV1SearchcurationsLanguageCodeIdGetRequest} requestParameters Request parameters.
545
+ * @param {*} [options] Override http request option.
546
+ * @throws {RequiredError}
547
+ * @memberof SearchCurationsApi
548
+ */
549
+ SearchCurationsApi.prototype.apiV1SearchcurationsLanguageCodeIdGet = function (requestParameters, options) {
550
+ var _this = this;
551
+ return (0, exports.SearchCurationsApiFp)(this.configuration).apiV1SearchcurationsLanguageCodeIdGet(requestParameters.languageCode, requestParameters.id, options).then(function (request) { return request(_this.axios, _this.basePath); });
552
+ };
553
+ /**
554
+ *
555
+ * @summary Get SearchCurationItems by parent id
556
+ * @param {SearchCurationsApiApiV1SearchcurationsLanguageCodeParentIdSubitemsGetRequest} requestParameters Request parameters.
557
+ * @param {*} [options] Override http request option.
558
+ * @throws {RequiredError}
559
+ * @memberof SearchCurationsApi
560
+ */
561
+ SearchCurationsApi.prototype.apiV1SearchcurationsLanguageCodeParentIdSubitemsGet = function (requestParameters, options) {
562
+ var _this = this;
563
+ return (0, exports.SearchCurationsApiFp)(this.configuration).apiV1SearchcurationsLanguageCodeParentIdSubitemsGet(requestParameters.languageCode, requestParameters.parentId, options).then(function (request) { return request(_this.axios, _this.basePath); });
564
+ };
565
+ /**
566
+ *
567
+ * @summary Save SearchCurationItem
568
+ * @param {SearchCurationsApiApiV1SearchcurationsLanguageCodePostRequest} requestParameters Request parameters.
569
+ * @param {*} [options] Override http request option.
570
+ * @throws {RequiredError}
571
+ * @memberof SearchCurationsApi
572
+ */
573
+ SearchCurationsApi.prototype.apiV1SearchcurationsLanguageCodePost = function (requestParameters, options) {
574
+ var _this = this;
575
+ return (0, exports.SearchCurationsApiFp)(this.configuration).apiV1SearchcurationsLanguageCodePost(requestParameters.languageCode, requestParameters.saveSearchCurationsCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
576
+ };
577
+ return SearchCurationsApi;
578
+ }(base_1.BaseAPI));
579
+ exports.SearchCurationsApi = SearchCurationsApi;
@@ -21,6 +21,7 @@ import { MediasModel } from '../models';
21
21
  import { SpecialtiesModel } from '../models';
22
22
  import { SpecialtiesSimpleModel } from '../models';
23
23
  import { SpecialtyModel } from '../models';
24
+ import { TranslateSpecialtyCommand } from '../models';
24
25
  import { UpdateMediaCommand } from '../models';
25
26
  import { UpdateSpecialtyCommand } from '../models';
26
27
  /**
@@ -183,6 +184,15 @@ export declare const SpecialtiesApiAxiosParamCreator: (configuration?: Configura
183
184
  * @throws {RequiredError}
184
185
  */
185
186
  apiV1SpecialtiesSpecialtyIdRevalidatePost: (specialtyId: string, includeCurrent?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
187
+ /**
188
+ *
189
+ * @summary Translate specialty
190
+ * @param {string} specialtyId
191
+ * @param {TranslateSpecialtyCommand} [translateSpecialtyCommand]
192
+ * @param {*} [options] Override http request option.
193
+ * @throws {RequiredError}
194
+ */
195
+ apiV1SpecialtiesSpecialtyIdTranslatePost: (specialtyId: string, translateSpecialtyCommand?: TranslateSpecialtyCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
186
196
  };
187
197
  /**
188
198
  * SpecialtiesApi - functional programming interface
@@ -344,6 +354,15 @@ export declare const SpecialtiesApiFp: (configuration?: Configuration) => {
344
354
  * @throws {RequiredError}
345
355
  */
346
356
  apiV1SpecialtiesSpecialtyIdRevalidatePost(specialtyId: string, includeCurrent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
357
+ /**
358
+ *
359
+ * @summary Translate specialty
360
+ * @param {string} specialtyId
361
+ * @param {TranslateSpecialtyCommand} [translateSpecialtyCommand]
362
+ * @param {*} [options] Override http request option.
363
+ * @throws {RequiredError}
364
+ */
365
+ apiV1SpecialtiesSpecialtyIdTranslatePost(specialtyId: string, translateSpecialtyCommand?: TranslateSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
347
366
  };
348
367
  /**
349
368
  * SpecialtiesApi - factory interface
@@ -505,6 +524,15 @@ export declare const SpecialtiesApiFactory: (configuration?: Configuration, base
505
524
  * @throws {RequiredError}
506
525
  */
507
526
  apiV1SpecialtiesSpecialtyIdRevalidatePost(specialtyId: string, includeCurrent?: boolean, options?: any): AxiosPromise<boolean>;
527
+ /**
528
+ *
529
+ * @summary Translate specialty
530
+ * @param {string} specialtyId
531
+ * @param {TranslateSpecialtyCommand} [translateSpecialtyCommand]
532
+ * @param {*} [options] Override http request option.
533
+ * @throws {RequiredError}
534
+ */
535
+ apiV1SpecialtiesSpecialtyIdTranslatePost(specialtyId: string, translateSpecialtyCommand?: TranslateSpecialtyCommand, options?: any): AxiosPromise<boolean>;
508
536
  };
509
537
  /**
510
538
  * Request parameters for apiV1SpecialtiesGet operation in SpecialtiesApi.
@@ -946,6 +974,25 @@ export interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdRevalidatePostRequest
946
974
  */
947
975
  readonly includeCurrent?: boolean;
948
976
  }
977
+ /**
978
+ * Request parameters for apiV1SpecialtiesSpecialtyIdTranslatePost operation in SpecialtiesApi.
979
+ * @export
980
+ * @interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePostRequest
981
+ */
982
+ export interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePostRequest {
983
+ /**
984
+ *
985
+ * @type {string}
986
+ * @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePost
987
+ */
988
+ readonly specialtyId: string;
989
+ /**
990
+ *
991
+ * @type {TranslateSpecialtyCommand}
992
+ * @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePost
993
+ */
994
+ readonly translateSpecialtyCommand?: TranslateSpecialtyCommand;
995
+ }
949
996
  /**
950
997
  * SpecialtiesApi - object-oriented interface
951
998
  * @export
@@ -1079,5 +1126,14 @@ export declare class SpecialtiesApi extends BaseAPI {
1079
1126
  * @memberof SpecialtiesApi
1080
1127
  */
1081
1128
  apiV1SpecialtiesSpecialtyIdRevalidatePost(requestParameters: SpecialtiesApiApiV1SpecialtiesSpecialtyIdRevalidatePostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
1129
+ /**
1130
+ *
1131
+ * @summary Translate specialty
1132
+ * @param {SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePostRequest} requestParameters Request parameters.
1133
+ * @param {*} [options] Override http request option.
1134
+ * @throws {RequiredError}
1135
+ * @memberof SpecialtiesApi
1136
+ */
1137
+ apiV1SpecialtiesSpecialtyIdTranslatePost(requestParameters: SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
1082
1138
  }
1083
1139
  //# sourceMappingURL=specialties-api.d.ts.map