ch-admin-api-client-typescript 5.30.44 → 5.31.1
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/message-webhooks-api.d.ts +237 -0
- package/lib/api/message-webhooks-api.d.ts.map +1 -0
- package/lib/api/message-webhooks-api.js +476 -0
- package/lib/api/specialty-types-api.d.ts +60 -12
- package/lib/api/specialty-types-api.d.ts.map +1 -1
- package/lib/api/specialty-types-api.js +97 -12
- package/lib/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -0
- package/lib/models/create-specialty-type-command.d.ts +12 -0
- package/lib/models/create-specialty-type-command.d.ts.map +1 -1
- package/lib/models/index.d.ts +5 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +5 -0
- package/lib/models/message-provider.d.ts +21 -0
- package/lib/models/message-provider.d.ts.map +1 -0
- package/lib/models/message-provider.js +24 -0
- package/lib/models/message-webhook-model.d.ts +56 -0
- package/lib/models/message-webhook-model.d.ts.map +1 -0
- package/lib/models/message-webhook-model.js +15 -0
- package/lib/models/register-message-webhook-command.d.ts +44 -0
- package/lib/models/register-message-webhook-command.d.ts.map +1 -0
- package/lib/models/register-message-webhook-command.js +15 -0
- package/lib/models/specialty-type-item-model.d.ts +6 -0
- package/lib/models/specialty-type-item-model.d.ts.map +1 -1
- package/lib/models/specialty-type-model.d.ts +6 -0
- package/lib/models/specialty-type-model.d.ts.map +1 -1
- package/lib/models/specialty-type-simple-item-model.d.ts +6 -0
- package/lib/models/specialty-type-simple-item-model.d.ts.map +1 -1
- package/lib/models/specialty-type-sorting-command.d.ts +26 -0
- package/lib/models/specialty-type-sorting-command.d.ts.map +1 -0
- package/lib/models/specialty-type-sorting-command.js +15 -0
- package/lib/models/toggle-message-webhook-command.d.ts +25 -0
- package/lib/models/toggle-message-webhook-command.d.ts.map +1 -0
- package/lib/models/toggle-message-webhook-command.js +15 -0
- package/lib/models/update-specialty-type-command.d.ts +8 -2
- package/lib/models/update-specialty-type-command.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +6 -0
- package/src/api/message-webhooks-api.ts +419 -0
- package/src/api/specialty-types-api.ts +101 -12
- package/src/api.ts +1 -0
- package/src/models/create-specialty-type-command.ts +12 -0
- package/src/models/index.ts +5 -0
- package/src/models/message-provider.ts +30 -0
- package/src/models/message-webhook-model.ts +63 -0
- package/src/models/register-message-webhook-command.ts +51 -0
- package/src/models/specialty-type-item-model.ts +6 -0
- package/src/models/specialty-type-model.ts +6 -0
- package/src/models/specialty-type-simple-item-model.ts +6 -0
- package/src/models/specialty-type-sorting-command.ts +33 -0
- package/src/models/toggle-message-webhook-command.ts +30 -0
- package/src/models/update-specialty-type-command.ts +8 -2
|
@@ -0,0 +1,476 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* CloudHospital Admin Api
|
|
6
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1
|
|
9
|
+
* Contact: developer@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.MessageWebhooksApi = exports.MessageWebhooksApiFactory = exports.MessageWebhooksApiFp = exports.MessageWebhooksApiAxiosParamCreator = 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
|
+
* MessageWebhooksApi - axios parameter creator
|
|
90
|
+
* @export
|
|
91
|
+
*/
|
|
92
|
+
var MessageWebhooksApiAxiosParamCreator = function (configuration) {
|
|
93
|
+
var _this = this;
|
|
94
|
+
return {
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @summary Get list of message webhooks related to the hospital
|
|
98
|
+
* @param {string} hospitalId
|
|
99
|
+
* @param {*} [options] Override http request option.
|
|
100
|
+
* @throws {RequiredError}
|
|
101
|
+
*/
|
|
102
|
+
apiV1MessagewebhooksHospitalIdGet: function (hospitalId, 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 'hospitalId' is not null or undefined
|
|
110
|
+
(0, common_1.assertParamExists)('apiV1MessagewebhooksHospitalIdGet', 'hospitalId', hospitalId);
|
|
111
|
+
localVarPath = "/api/v1/messagewebhooks/{hospitalId}"
|
|
112
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
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"], 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 Create message webhook on CH-Message-Broker
|
|
141
|
+
* @param {RegisterMessageWebhookCommand} [registerMessageWebhookCommand]
|
|
142
|
+
* @param {*} [options] Override http request option.
|
|
143
|
+
* @throws {RequiredError}
|
|
144
|
+
*/
|
|
145
|
+
apiV1MessagewebhooksPost: function (registerMessageWebhookCommand, options) {
|
|
146
|
+
if (options === void 0) { options = {}; }
|
|
147
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
148
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
149
|
+
return __generator(this, function (_a) {
|
|
150
|
+
switch (_a.label) {
|
|
151
|
+
case 0:
|
|
152
|
+
localVarPath = "/api/v1/messagewebhooks";
|
|
153
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
154
|
+
if (configuration) {
|
|
155
|
+
baseOptions = configuration.baseOptions;
|
|
156
|
+
}
|
|
157
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
158
|
+
localVarHeaderParameter = {};
|
|
159
|
+
localVarQueryParameter = {};
|
|
160
|
+
// authentication oauth2 required
|
|
161
|
+
// oauth required
|
|
162
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
|
|
163
|
+
case 1:
|
|
164
|
+
// authentication oauth2 required
|
|
165
|
+
// oauth required
|
|
166
|
+
_a.sent();
|
|
167
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
168
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
169
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
170
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
171
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(registerMessageWebhookCommand, localVarRequestOptions, configuration);
|
|
172
|
+
return [2 /*return*/, {
|
|
173
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
174
|
+
options: localVarRequestOptions,
|
|
175
|
+
}];
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
});
|
|
179
|
+
},
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @summary Delete message webhook by webhookId
|
|
183
|
+
* @param {string} webhookId
|
|
184
|
+
* @param {*} [options] Override http request option.
|
|
185
|
+
* @throws {RequiredError}
|
|
186
|
+
*/
|
|
187
|
+
apiV1MessagewebhooksWebhookIdDelete: function (webhookId, options) {
|
|
188
|
+
if (options === void 0) { options = {}; }
|
|
189
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
190
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
191
|
+
return __generator(this, function (_a) {
|
|
192
|
+
switch (_a.label) {
|
|
193
|
+
case 0:
|
|
194
|
+
// verify required parameter 'webhookId' is not null or undefined
|
|
195
|
+
(0, common_1.assertParamExists)('apiV1MessagewebhooksWebhookIdDelete', 'webhookId', webhookId);
|
|
196
|
+
localVarPath = "/api/v1/messagewebhooks/{webhookId}"
|
|
197
|
+
.replace("{".concat("webhookId", "}"), encodeURIComponent(String(webhookId)));
|
|
198
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
199
|
+
if (configuration) {
|
|
200
|
+
baseOptions = configuration.baseOptions;
|
|
201
|
+
}
|
|
202
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
203
|
+
localVarHeaderParameter = {};
|
|
204
|
+
localVarQueryParameter = {};
|
|
205
|
+
// authentication oauth2 required
|
|
206
|
+
// oauth required
|
|
207
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
|
|
208
|
+
case 1:
|
|
209
|
+
// authentication oauth2 required
|
|
210
|
+
// oauth required
|
|
211
|
+
_a.sent();
|
|
212
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
213
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
214
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
215
|
+
return [2 /*return*/, {
|
|
216
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
217
|
+
options: localVarRequestOptions,
|
|
218
|
+
}];
|
|
219
|
+
}
|
|
220
|
+
});
|
|
221
|
+
});
|
|
222
|
+
},
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @summary Update message webhook by webhookId
|
|
226
|
+
* @param {string} webhookId
|
|
227
|
+
* @param {ToggleMessageWebhookCommand} [toggleMessageWebhookCommand]
|
|
228
|
+
* @param {*} [options] Override http request option.
|
|
229
|
+
* @throws {RequiredError}
|
|
230
|
+
*/
|
|
231
|
+
apiV1MessagewebhooksWebhookIdPut: function (webhookId, toggleMessageWebhookCommand, options) {
|
|
232
|
+
if (options === void 0) { options = {}; }
|
|
233
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
234
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
235
|
+
return __generator(this, function (_a) {
|
|
236
|
+
switch (_a.label) {
|
|
237
|
+
case 0:
|
|
238
|
+
// verify required parameter 'webhookId' is not null or undefined
|
|
239
|
+
(0, common_1.assertParamExists)('apiV1MessagewebhooksWebhookIdPut', 'webhookId', webhookId);
|
|
240
|
+
localVarPath = "/api/v1/messagewebhooks/{webhookId}"
|
|
241
|
+
.replace("{".concat("webhookId", "}"), encodeURIComponent(String(webhookId)));
|
|
242
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
243
|
+
if (configuration) {
|
|
244
|
+
baseOptions = configuration.baseOptions;
|
|
245
|
+
}
|
|
246
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
247
|
+
localVarHeaderParameter = {};
|
|
248
|
+
localVarQueryParameter = {};
|
|
249
|
+
// authentication oauth2 required
|
|
250
|
+
// oauth required
|
|
251
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
|
|
252
|
+
case 1:
|
|
253
|
+
// authentication oauth2 required
|
|
254
|
+
// oauth required
|
|
255
|
+
_a.sent();
|
|
256
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
257
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
258
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
259
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
260
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(toggleMessageWebhookCommand, localVarRequestOptions, configuration);
|
|
261
|
+
return [2 /*return*/, {
|
|
262
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
263
|
+
options: localVarRequestOptions,
|
|
264
|
+
}];
|
|
265
|
+
}
|
|
266
|
+
});
|
|
267
|
+
});
|
|
268
|
+
},
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
exports.MessageWebhooksApiAxiosParamCreator = MessageWebhooksApiAxiosParamCreator;
|
|
272
|
+
/**
|
|
273
|
+
* MessageWebhooksApi - functional programming interface
|
|
274
|
+
* @export
|
|
275
|
+
*/
|
|
276
|
+
var MessageWebhooksApiFp = function (configuration) {
|
|
277
|
+
var localVarAxiosParamCreator = (0, exports.MessageWebhooksApiAxiosParamCreator)(configuration);
|
|
278
|
+
return {
|
|
279
|
+
/**
|
|
280
|
+
*
|
|
281
|
+
* @summary Get list of message webhooks related to the hospital
|
|
282
|
+
* @param {string} hospitalId
|
|
283
|
+
* @param {*} [options] Override http request option.
|
|
284
|
+
* @throws {RequiredError}
|
|
285
|
+
*/
|
|
286
|
+
apiV1MessagewebhooksHospitalIdGet: function (hospitalId, options) {
|
|
287
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
288
|
+
var localVarAxiosArgs;
|
|
289
|
+
return __generator(this, function (_a) {
|
|
290
|
+
switch (_a.label) {
|
|
291
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1MessagewebhooksHospitalIdGet(hospitalId, options)];
|
|
292
|
+
case 1:
|
|
293
|
+
localVarAxiosArgs = _a.sent();
|
|
294
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
295
|
+
}
|
|
296
|
+
});
|
|
297
|
+
});
|
|
298
|
+
},
|
|
299
|
+
/**
|
|
300
|
+
*
|
|
301
|
+
* @summary Create message webhook on CH-Message-Broker
|
|
302
|
+
* @param {RegisterMessageWebhookCommand} [registerMessageWebhookCommand]
|
|
303
|
+
* @param {*} [options] Override http request option.
|
|
304
|
+
* @throws {RequiredError}
|
|
305
|
+
*/
|
|
306
|
+
apiV1MessagewebhooksPost: function (registerMessageWebhookCommand, options) {
|
|
307
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
308
|
+
var localVarAxiosArgs;
|
|
309
|
+
return __generator(this, function (_a) {
|
|
310
|
+
switch (_a.label) {
|
|
311
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1MessagewebhooksPost(registerMessageWebhookCommand, options)];
|
|
312
|
+
case 1:
|
|
313
|
+
localVarAxiosArgs = _a.sent();
|
|
314
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
315
|
+
}
|
|
316
|
+
});
|
|
317
|
+
});
|
|
318
|
+
},
|
|
319
|
+
/**
|
|
320
|
+
*
|
|
321
|
+
* @summary Delete message webhook by webhookId
|
|
322
|
+
* @param {string} webhookId
|
|
323
|
+
* @param {*} [options] Override http request option.
|
|
324
|
+
* @throws {RequiredError}
|
|
325
|
+
*/
|
|
326
|
+
apiV1MessagewebhooksWebhookIdDelete: function (webhookId, options) {
|
|
327
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
328
|
+
var localVarAxiosArgs;
|
|
329
|
+
return __generator(this, function (_a) {
|
|
330
|
+
switch (_a.label) {
|
|
331
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1MessagewebhooksWebhookIdDelete(webhookId, options)];
|
|
332
|
+
case 1:
|
|
333
|
+
localVarAxiosArgs = _a.sent();
|
|
334
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
335
|
+
}
|
|
336
|
+
});
|
|
337
|
+
});
|
|
338
|
+
},
|
|
339
|
+
/**
|
|
340
|
+
*
|
|
341
|
+
* @summary Update message webhook by webhookId
|
|
342
|
+
* @param {string} webhookId
|
|
343
|
+
* @param {ToggleMessageWebhookCommand} [toggleMessageWebhookCommand]
|
|
344
|
+
* @param {*} [options] Override http request option.
|
|
345
|
+
* @throws {RequiredError}
|
|
346
|
+
*/
|
|
347
|
+
apiV1MessagewebhooksWebhookIdPut: function (webhookId, toggleMessageWebhookCommand, options) {
|
|
348
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
349
|
+
var localVarAxiosArgs;
|
|
350
|
+
return __generator(this, function (_a) {
|
|
351
|
+
switch (_a.label) {
|
|
352
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1MessagewebhooksWebhookIdPut(webhookId, toggleMessageWebhookCommand, options)];
|
|
353
|
+
case 1:
|
|
354
|
+
localVarAxiosArgs = _a.sent();
|
|
355
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
356
|
+
}
|
|
357
|
+
});
|
|
358
|
+
});
|
|
359
|
+
},
|
|
360
|
+
};
|
|
361
|
+
};
|
|
362
|
+
exports.MessageWebhooksApiFp = MessageWebhooksApiFp;
|
|
363
|
+
/**
|
|
364
|
+
* MessageWebhooksApi - factory interface
|
|
365
|
+
* @export
|
|
366
|
+
*/
|
|
367
|
+
var MessageWebhooksApiFactory = function (configuration, basePath, axios) {
|
|
368
|
+
var localVarFp = (0, exports.MessageWebhooksApiFp)(configuration);
|
|
369
|
+
return {
|
|
370
|
+
/**
|
|
371
|
+
*
|
|
372
|
+
* @summary Get list of message webhooks related to the hospital
|
|
373
|
+
* @param {string} hospitalId
|
|
374
|
+
* @param {*} [options] Override http request option.
|
|
375
|
+
* @throws {RequiredError}
|
|
376
|
+
*/
|
|
377
|
+
apiV1MessagewebhooksHospitalIdGet: function (hospitalId, options) {
|
|
378
|
+
return localVarFp.apiV1MessagewebhooksHospitalIdGet(hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
379
|
+
},
|
|
380
|
+
/**
|
|
381
|
+
*
|
|
382
|
+
* @summary Create message webhook on CH-Message-Broker
|
|
383
|
+
* @param {RegisterMessageWebhookCommand} [registerMessageWebhookCommand]
|
|
384
|
+
* @param {*} [options] Override http request option.
|
|
385
|
+
* @throws {RequiredError}
|
|
386
|
+
*/
|
|
387
|
+
apiV1MessagewebhooksPost: function (registerMessageWebhookCommand, options) {
|
|
388
|
+
return localVarFp.apiV1MessagewebhooksPost(registerMessageWebhookCommand, options).then(function (request) { return request(axios, basePath); });
|
|
389
|
+
},
|
|
390
|
+
/**
|
|
391
|
+
*
|
|
392
|
+
* @summary Delete message webhook by webhookId
|
|
393
|
+
* @param {string} webhookId
|
|
394
|
+
* @param {*} [options] Override http request option.
|
|
395
|
+
* @throws {RequiredError}
|
|
396
|
+
*/
|
|
397
|
+
apiV1MessagewebhooksWebhookIdDelete: function (webhookId, options) {
|
|
398
|
+
return localVarFp.apiV1MessagewebhooksWebhookIdDelete(webhookId, options).then(function (request) { return request(axios, basePath); });
|
|
399
|
+
},
|
|
400
|
+
/**
|
|
401
|
+
*
|
|
402
|
+
* @summary Update message webhook by webhookId
|
|
403
|
+
* @param {string} webhookId
|
|
404
|
+
* @param {ToggleMessageWebhookCommand} [toggleMessageWebhookCommand]
|
|
405
|
+
* @param {*} [options] Override http request option.
|
|
406
|
+
* @throws {RequiredError}
|
|
407
|
+
*/
|
|
408
|
+
apiV1MessagewebhooksWebhookIdPut: function (webhookId, toggleMessageWebhookCommand, options) {
|
|
409
|
+
return localVarFp.apiV1MessagewebhooksWebhookIdPut(webhookId, toggleMessageWebhookCommand, options).then(function (request) { return request(axios, basePath); });
|
|
410
|
+
},
|
|
411
|
+
};
|
|
412
|
+
};
|
|
413
|
+
exports.MessageWebhooksApiFactory = MessageWebhooksApiFactory;
|
|
414
|
+
/**
|
|
415
|
+
* MessageWebhooksApi - object-oriented interface
|
|
416
|
+
* @export
|
|
417
|
+
* @class MessageWebhooksApi
|
|
418
|
+
* @extends {BaseAPI}
|
|
419
|
+
*/
|
|
420
|
+
var MessageWebhooksApi = /** @class */ (function (_super) {
|
|
421
|
+
__extends(MessageWebhooksApi, _super);
|
|
422
|
+
function MessageWebhooksApi() {
|
|
423
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
424
|
+
}
|
|
425
|
+
/**
|
|
426
|
+
*
|
|
427
|
+
* @summary Get list of message webhooks related to the hospital
|
|
428
|
+
* @param {MessageWebhooksApiApiV1MessagewebhooksHospitalIdGetRequest} requestParameters Request parameters.
|
|
429
|
+
* @param {*} [options] Override http request option.
|
|
430
|
+
* @throws {RequiredError}
|
|
431
|
+
* @memberof MessageWebhooksApi
|
|
432
|
+
*/
|
|
433
|
+
MessageWebhooksApi.prototype.apiV1MessagewebhooksHospitalIdGet = function (requestParameters, options) {
|
|
434
|
+
var _this = this;
|
|
435
|
+
return (0, exports.MessageWebhooksApiFp)(this.configuration).apiV1MessagewebhooksHospitalIdGet(requestParameters.hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
436
|
+
};
|
|
437
|
+
/**
|
|
438
|
+
*
|
|
439
|
+
* @summary Create message webhook on CH-Message-Broker
|
|
440
|
+
* @param {MessageWebhooksApiApiV1MessagewebhooksPostRequest} requestParameters Request parameters.
|
|
441
|
+
* @param {*} [options] Override http request option.
|
|
442
|
+
* @throws {RequiredError}
|
|
443
|
+
* @memberof MessageWebhooksApi
|
|
444
|
+
*/
|
|
445
|
+
MessageWebhooksApi.prototype.apiV1MessagewebhooksPost = function (requestParameters, options) {
|
|
446
|
+
var _this = this;
|
|
447
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
448
|
+
return (0, exports.MessageWebhooksApiFp)(this.configuration).apiV1MessagewebhooksPost(requestParameters.registerMessageWebhookCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
449
|
+
};
|
|
450
|
+
/**
|
|
451
|
+
*
|
|
452
|
+
* @summary Delete message webhook by webhookId
|
|
453
|
+
* @param {MessageWebhooksApiApiV1MessagewebhooksWebhookIdDeleteRequest} requestParameters Request parameters.
|
|
454
|
+
* @param {*} [options] Override http request option.
|
|
455
|
+
* @throws {RequiredError}
|
|
456
|
+
* @memberof MessageWebhooksApi
|
|
457
|
+
*/
|
|
458
|
+
MessageWebhooksApi.prototype.apiV1MessagewebhooksWebhookIdDelete = function (requestParameters, options) {
|
|
459
|
+
var _this = this;
|
|
460
|
+
return (0, exports.MessageWebhooksApiFp)(this.configuration).apiV1MessagewebhooksWebhookIdDelete(requestParameters.webhookId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
461
|
+
};
|
|
462
|
+
/**
|
|
463
|
+
*
|
|
464
|
+
* @summary Update message webhook by webhookId
|
|
465
|
+
* @param {MessageWebhooksApiApiV1MessagewebhooksWebhookIdPutRequest} requestParameters Request parameters.
|
|
466
|
+
* @param {*} [options] Override http request option.
|
|
467
|
+
* @throws {RequiredError}
|
|
468
|
+
* @memberof MessageWebhooksApi
|
|
469
|
+
*/
|
|
470
|
+
MessageWebhooksApi.prototype.apiV1MessagewebhooksWebhookIdPut = function (requestParameters, options) {
|
|
471
|
+
var _this = this;
|
|
472
|
+
return (0, exports.MessageWebhooksApiFp)(this.configuration).apiV1MessagewebhooksWebhookIdPut(requestParameters.webhookId, requestParameters.toggleMessageWebhookCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
473
|
+
};
|
|
474
|
+
return MessageWebhooksApi;
|
|
475
|
+
}(base_1.BaseAPI));
|
|
476
|
+
exports.MessageWebhooksApi = MessageWebhooksApi;
|
|
@@ -18,7 +18,9 @@ import { MarketingType } from '../models';
|
|
|
18
18
|
import { MediaModel } from '../models';
|
|
19
19
|
import { MediaType } from '../models';
|
|
20
20
|
import { MediasModel } from '../models';
|
|
21
|
+
import { SortingResultModel } from '../models';
|
|
21
22
|
import { SpecialtyTypeModel } from '../models';
|
|
23
|
+
import { SpecialtyTypeSortingCommand } from '../models';
|
|
22
24
|
import { SpecialtyTypesModel } from '../models';
|
|
23
25
|
import { SpecialtyTypesSimpleModel } from '../models';
|
|
24
26
|
import { TranslateSpecialtyTypeCommand } from '../models';
|
|
@@ -60,7 +62,7 @@ export declare const SpecialtyTypesApiAxiosParamCreator: (configuration?: Config
|
|
|
60
62
|
apiV1SpecialtytypesPost: (createSpecialtyTypeCommand?: CreateSpecialtyTypeCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
63
|
/**
|
|
62
64
|
*
|
|
63
|
-
* @summary Get all
|
|
65
|
+
* @summary Get all Departments with simplified model.
|
|
64
66
|
* @param {string} [id]
|
|
65
67
|
* @param {string} [name]
|
|
66
68
|
* @param {string} [description]
|
|
@@ -81,7 +83,7 @@ export declare const SpecialtyTypesApiAxiosParamCreator: (configuration?: Config
|
|
|
81
83
|
apiV1SpecialtytypesSimpleGet: (id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
82
84
|
/**
|
|
83
85
|
*
|
|
84
|
-
* @summary
|
|
86
|
+
* @summary Get department by slug
|
|
85
87
|
* @param {string} slug
|
|
86
88
|
* @param {string} [languageCode]
|
|
87
89
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -89,6 +91,14 @@ export declare const SpecialtyTypesApiAxiosParamCreator: (configuration?: Config
|
|
|
89
91
|
* @throws {RequiredError}
|
|
90
92
|
*/
|
|
91
93
|
apiV1SpecialtytypesSlugGet: (slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @summary Batch for departments sorting
|
|
97
|
+
* @param {SpecialtyTypeSortingCommand} [specialtyTypeSortingCommand]
|
|
98
|
+
* @param {*} [options] Override http request option.
|
|
99
|
+
* @throws {RequiredError}
|
|
100
|
+
*/
|
|
101
|
+
apiV1SpecialtytypesSortPut: (specialtyTypeSortingCommand?: SpecialtyTypeSortingCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
92
102
|
/**
|
|
93
103
|
*
|
|
94
104
|
* @summary Delete Department.
|
|
@@ -100,7 +110,7 @@ export declare const SpecialtyTypesApiAxiosParamCreator: (configuration?: Config
|
|
|
100
110
|
apiV1SpecialtytypesSpecialtyTypeIdDelete: (specialtyTypeId: string, isPermanent?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
101
111
|
/**
|
|
102
112
|
*
|
|
103
|
-
* @summary
|
|
113
|
+
* @summary Get department
|
|
104
114
|
* @param {string} specialtyTypeId
|
|
105
115
|
* @param {string} [languageCode]
|
|
106
116
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -230,7 +240,7 @@ export declare const SpecialtyTypesApiFp: (configuration?: Configuration) => {
|
|
|
230
240
|
apiV1SpecialtytypesPost(createSpecialtyTypeCommand?: CreateSpecialtyTypeCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>>;
|
|
231
241
|
/**
|
|
232
242
|
*
|
|
233
|
-
* @summary Get all
|
|
243
|
+
* @summary Get all Departments with simplified model.
|
|
234
244
|
* @param {string} [id]
|
|
235
245
|
* @param {string} [name]
|
|
236
246
|
* @param {string} [description]
|
|
@@ -251,7 +261,7 @@ export declare const SpecialtyTypesApiFp: (configuration?: Configuration) => {
|
|
|
251
261
|
apiV1SpecialtytypesSimpleGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypesSimpleModel>>;
|
|
252
262
|
/**
|
|
253
263
|
*
|
|
254
|
-
* @summary
|
|
264
|
+
* @summary Get department by slug
|
|
255
265
|
* @param {string} slug
|
|
256
266
|
* @param {string} [languageCode]
|
|
257
267
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -259,6 +269,14 @@ export declare const SpecialtyTypesApiFp: (configuration?: Configuration) => {
|
|
|
259
269
|
* @throws {RequiredError}
|
|
260
270
|
*/
|
|
261
271
|
apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>>;
|
|
272
|
+
/**
|
|
273
|
+
*
|
|
274
|
+
* @summary Batch for departments sorting
|
|
275
|
+
* @param {SpecialtyTypeSortingCommand} [specialtyTypeSortingCommand]
|
|
276
|
+
* @param {*} [options] Override http request option.
|
|
277
|
+
* @throws {RequiredError}
|
|
278
|
+
*/
|
|
279
|
+
apiV1SpecialtytypesSortPut(specialtyTypeSortingCommand?: SpecialtyTypeSortingCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SortingResultModel>>;
|
|
262
280
|
/**
|
|
263
281
|
*
|
|
264
282
|
* @summary Delete Department.
|
|
@@ -270,7 +288,7 @@ export declare const SpecialtyTypesApiFp: (configuration?: Configuration) => {
|
|
|
270
288
|
apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
271
289
|
/**
|
|
272
290
|
*
|
|
273
|
-
* @summary
|
|
291
|
+
* @summary Get department
|
|
274
292
|
* @param {string} specialtyTypeId
|
|
275
293
|
* @param {string} [languageCode]
|
|
276
294
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -400,7 +418,7 @@ export declare const SpecialtyTypesApiFactory: (configuration?: Configuration, b
|
|
|
400
418
|
apiV1SpecialtytypesPost(createSpecialtyTypeCommand?: CreateSpecialtyTypeCommand, options?: any): AxiosPromise<SpecialtyTypeModel>;
|
|
401
419
|
/**
|
|
402
420
|
*
|
|
403
|
-
* @summary Get all
|
|
421
|
+
* @summary Get all Departments with simplified model.
|
|
404
422
|
* @param {string} [id]
|
|
405
423
|
* @param {string} [name]
|
|
406
424
|
* @param {string} [description]
|
|
@@ -421,7 +439,7 @@ export declare const SpecialtyTypesApiFactory: (configuration?: Configuration, b
|
|
|
421
439
|
apiV1SpecialtytypesSimpleGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesSimpleModel>;
|
|
422
440
|
/**
|
|
423
441
|
*
|
|
424
|
-
* @summary
|
|
442
|
+
* @summary Get department by slug
|
|
425
443
|
* @param {string} slug
|
|
426
444
|
* @param {string} [languageCode]
|
|
427
445
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -429,6 +447,14 @@ export declare const SpecialtyTypesApiFactory: (configuration?: Configuration, b
|
|
|
429
447
|
* @throws {RequiredError}
|
|
430
448
|
*/
|
|
431
449
|
apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyTypeModel>;
|
|
450
|
+
/**
|
|
451
|
+
*
|
|
452
|
+
* @summary Batch for departments sorting
|
|
453
|
+
* @param {SpecialtyTypeSortingCommand} [specialtyTypeSortingCommand]
|
|
454
|
+
* @param {*} [options] Override http request option.
|
|
455
|
+
* @throws {RequiredError}
|
|
456
|
+
*/
|
|
457
|
+
apiV1SpecialtytypesSortPut(specialtyTypeSortingCommand?: SpecialtyTypeSortingCommand, options?: any): AxiosPromise<SortingResultModel>;
|
|
432
458
|
/**
|
|
433
459
|
*
|
|
434
460
|
* @summary Delete Department.
|
|
@@ -440,7 +466,7 @@ export declare const SpecialtyTypesApiFactory: (configuration?: Configuration, b
|
|
|
440
466
|
apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean>;
|
|
441
467
|
/**
|
|
442
468
|
*
|
|
443
|
-
* @summary
|
|
469
|
+
* @summary Get department
|
|
444
470
|
* @param {string} specialtyTypeId
|
|
445
471
|
* @param {string} [languageCode]
|
|
446
472
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -754,6 +780,19 @@ export interface SpecialtyTypesApiApiV1SpecialtytypesSlugGetRequest {
|
|
|
754
780
|
*/
|
|
755
781
|
readonly returnDefaultValue?: boolean;
|
|
756
782
|
}
|
|
783
|
+
/**
|
|
784
|
+
* Request parameters for apiV1SpecialtytypesSortPut operation in SpecialtyTypesApi.
|
|
785
|
+
* @export
|
|
786
|
+
* @interface SpecialtyTypesApiApiV1SpecialtytypesSortPutRequest
|
|
787
|
+
*/
|
|
788
|
+
export interface SpecialtyTypesApiApiV1SpecialtytypesSortPutRequest {
|
|
789
|
+
/**
|
|
790
|
+
*
|
|
791
|
+
* @type {SpecialtyTypeSortingCommand}
|
|
792
|
+
* @memberof SpecialtyTypesApiApiV1SpecialtytypesSortPut
|
|
793
|
+
*/
|
|
794
|
+
readonly specialtyTypeSortingCommand?: SpecialtyTypeSortingCommand;
|
|
795
|
+
}
|
|
757
796
|
/**
|
|
758
797
|
* Request parameters for apiV1SpecialtytypesSpecialtyTypeIdDelete operation in SpecialtyTypesApi.
|
|
759
798
|
* @export
|
|
@@ -1020,7 +1059,7 @@ export declare class SpecialtyTypesApi extends BaseAPI {
|
|
|
1020
1059
|
apiV1SpecialtytypesPost(requestParameters?: SpecialtyTypesApiApiV1SpecialtytypesPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SpecialtyTypeModel, any>>;
|
|
1021
1060
|
/**
|
|
1022
1061
|
*
|
|
1023
|
-
* @summary Get all
|
|
1062
|
+
* @summary Get all Departments with simplified model.
|
|
1024
1063
|
* @param {SpecialtyTypesApiApiV1SpecialtytypesSimpleGetRequest} requestParameters Request parameters.
|
|
1025
1064
|
* @param {*} [options] Override http request option.
|
|
1026
1065
|
* @throws {RequiredError}
|
|
@@ -1029,13 +1068,22 @@ export declare class SpecialtyTypesApi extends BaseAPI {
|
|
|
1029
1068
|
apiV1SpecialtytypesSimpleGet(requestParameters?: SpecialtyTypesApiApiV1SpecialtytypesSimpleGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SpecialtyTypesSimpleModel, any>>;
|
|
1030
1069
|
/**
|
|
1031
1070
|
*
|
|
1032
|
-
* @summary
|
|
1071
|
+
* @summary Get department by slug
|
|
1033
1072
|
* @param {SpecialtyTypesApiApiV1SpecialtytypesSlugGetRequest} requestParameters Request parameters.
|
|
1034
1073
|
* @param {*} [options] Override http request option.
|
|
1035
1074
|
* @throws {RequiredError}
|
|
1036
1075
|
* @memberof SpecialtyTypesApi
|
|
1037
1076
|
*/
|
|
1038
1077
|
apiV1SpecialtytypesSlugGet(requestParameters: SpecialtyTypesApiApiV1SpecialtytypesSlugGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SpecialtyTypeModel, any>>;
|
|
1078
|
+
/**
|
|
1079
|
+
*
|
|
1080
|
+
* @summary Batch for departments sorting
|
|
1081
|
+
* @param {SpecialtyTypesApiApiV1SpecialtytypesSortPutRequest} requestParameters Request parameters.
|
|
1082
|
+
* @param {*} [options] Override http request option.
|
|
1083
|
+
* @throws {RequiredError}
|
|
1084
|
+
* @memberof SpecialtyTypesApi
|
|
1085
|
+
*/
|
|
1086
|
+
apiV1SpecialtytypesSortPut(requestParameters?: SpecialtyTypesApiApiV1SpecialtytypesSortPutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SortingResultModel, any>>;
|
|
1039
1087
|
/**
|
|
1040
1088
|
*
|
|
1041
1089
|
* @summary Delete Department.
|
|
@@ -1047,7 +1095,7 @@ export declare class SpecialtyTypesApi extends BaseAPI {
|
|
|
1047
1095
|
apiV1SpecialtytypesSpecialtyTypeIdDelete(requestParameters: SpecialtyTypesApiApiV1SpecialtytypesSpecialtyTypeIdDeleteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
1048
1096
|
/**
|
|
1049
1097
|
*
|
|
1050
|
-
* @summary
|
|
1098
|
+
* @summary Get department
|
|
1051
1099
|
* @param {SpecialtyTypesApiApiV1SpecialtytypesSpecialtyTypeIdGetRequest} requestParameters Request parameters.
|
|
1052
1100
|
* @param {*} [options] Override http request option.
|
|
1053
1101
|
* @throws {RequiredError}
|