ch-api-client-typescript2 5.43.20 → 5.45.2
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/curations-api.d.ts +148 -110
- package/lib/api/curations-api.d.ts.map +1 -1
- package/lib/api/curations-api.js +181 -104
- package/lib/api.d.ts +0 -1
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +0 -1
- package/lib/models/{curation-specialty-types-model.d.ts → curation-categories-model.d.ts} +8 -8
- package/lib/models/curation-categories-model.d.ts.map +1 -0
- package/lib/models/{search-curation-primary-item-model.d.ts → curation-category-model.d.ts} +13 -7
- package/lib/models/curation-category-model.d.ts.map +1 -0
- package/lib/models/curation-model.d.ts +8 -27
- package/lib/models/curation-model.d.ts.map +1 -1
- package/lib/models/curations-by-category-item-model.d.ts +49 -0
- package/lib/models/curations-by-category-item-model.d.ts.map +1 -0
- package/lib/models/curations-by-category-model.d.ts +44 -0
- package/lib/models/curations-by-category-model.d.ts.map +1 -0
- package/lib/models/doctor-item-model.d.ts +3 -10
- package/lib/models/doctor-item-model.d.ts.map +1 -1
- package/lib/models/doctor-model.d.ts +3 -10
- package/lib/models/doctor-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +4 -6
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +4 -6
- package/lib/models/patient-model.d.ts +3 -10
- package/lib/models/patient-model.d.ts.map +1 -1
- package/lib/models/user-model.d.ts +3 -10
- package/lib/models/user-model.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +4 -7
- package/src/api/curations-api.ts +235 -155
- package/src/api.ts +0 -1
- package/src/models/{curation-specialty-types-model.ts → curation-categories-model.ts} +7 -7
- package/src/models/{search-curation-primary-item-model.ts → curation-category-model.ts} +12 -6
- package/src/models/curation-model.ts +8 -29
- package/src/models/{curation-item-model.ts → curations-by-category-item-model.ts} +10 -34
- package/src/models/{curation-specialty-type-item-model.ts → curations-by-category-model.ts} +12 -18
- package/src/models/doctor-item-model.ts +3 -12
- package/src/models/doctor-model.ts +3 -12
- package/src/models/index.ts +4 -6
- package/src/models/patient-model.ts +3 -12
- package/src/models/user-model.ts +3 -12
- package/lib/api/search-curations-api.d.ts +0 -198
- package/lib/api/search-curations-api.d.ts.map +0 -1
- package/lib/api/search-curations-api.js +0 -369
- package/lib/models/curation-item-model.d.ts +0 -73
- package/lib/models/curation-item-model.d.ts.map +0 -1
- package/lib/models/curation-specialty-type-item-model.d.ts +0 -50
- package/lib/models/curation-specialty-type-item-model.d.ts.map +0 -1
- package/lib/models/curation-specialty-types-model.d.ts.map +0 -1
- package/lib/models/search-curation-item-model.d.ts +0 -104
- package/lib/models/search-curation-item-model.d.ts.map +0 -1
- package/lib/models/search-curation-primary-item-model.d.ts.map +0 -1
- package/lib/models/search-curation-primary-item-model.js +0 -15
- package/lib/models/user-type.d.ts +0 -28
- package/lib/models/user-type.d.ts.map +0 -1
- package/lib/models/user-type.js +0 -31
- package/src/api/search-curations-api.ts +0 -332
- package/src/models/search-curation-item-model.ts +0 -111
- package/src/models/user-type.ts +0 -37
- /package/lib/models/{curation-item-model.js → curation-categories-model.js} +0 -0
- /package/lib/models/{curation-specialty-type-item-model.js → curation-category-model.js} +0 -0
- /package/lib/models/{curation-specialty-types-model.js → curations-by-category-item-model.js} +0 -0
- /package/lib/models/{search-curation-item-model.js → curations-by-category-model.js} +0 -0
|
@@ -1,369 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* CloudHospital Api
|
|
6
|
-
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 2
|
|
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.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 search curations
|
|
98
|
-
* @param {string} [languageCode]
|
|
99
|
-
* @param {*} [options] Override http request option.
|
|
100
|
-
* @throws {RequiredError}
|
|
101
|
-
*/
|
|
102
|
-
apiV2SearchcurationsGet: 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
|
-
localVarPath = "/api/v2/searchcurations";
|
|
108
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
109
|
-
if (configuration) {
|
|
110
|
-
baseOptions = configuration.baseOptions;
|
|
111
|
-
}
|
|
112
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
113
|
-
localVarHeaderParameter = {};
|
|
114
|
-
localVarQueryParameter = {};
|
|
115
|
-
if (languageCode !== undefined) {
|
|
116
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
117
|
-
}
|
|
118
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
119
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
120
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
121
|
-
return [2 /*return*/, {
|
|
122
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
123
|
-
options: localVarRequestOptions,
|
|
124
|
-
}];
|
|
125
|
-
});
|
|
126
|
-
});
|
|
127
|
-
},
|
|
128
|
-
/**
|
|
129
|
-
*
|
|
130
|
-
* @summary Get search curation item by id
|
|
131
|
-
* @param {string} id
|
|
132
|
-
* @param {string} [languageCode]
|
|
133
|
-
* @param {*} [options] Override http request option.
|
|
134
|
-
* @throws {RequiredError}
|
|
135
|
-
*/
|
|
136
|
-
apiV2SearchcurationsIdGet: function (id, languageCode, options) {
|
|
137
|
-
if (options === void 0) { options = {}; }
|
|
138
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
139
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
140
|
-
return __generator(this, function (_a) {
|
|
141
|
-
// verify required parameter 'id' is not null or undefined
|
|
142
|
-
(0, common_1.assertParamExists)('apiV2SearchcurationsIdGet', 'id', id);
|
|
143
|
-
localVarPath = "/api/v2/searchcurations/{id}"
|
|
144
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
145
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
146
|
-
if (configuration) {
|
|
147
|
-
baseOptions = configuration.baseOptions;
|
|
148
|
-
}
|
|
149
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
150
|
-
localVarHeaderParameter = {};
|
|
151
|
-
localVarQueryParameter = {};
|
|
152
|
-
if (languageCode !== undefined) {
|
|
153
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
154
|
-
}
|
|
155
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
156
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
157
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
158
|
-
return [2 /*return*/, {
|
|
159
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
160
|
-
options: localVarRequestOptions,
|
|
161
|
-
}];
|
|
162
|
-
});
|
|
163
|
-
});
|
|
164
|
-
},
|
|
165
|
-
/**
|
|
166
|
-
*
|
|
167
|
-
* @summary Get search curation item by slug
|
|
168
|
-
* @param {string} slug
|
|
169
|
-
* @param {string} [languageCode]
|
|
170
|
-
* @param {*} [options] Override http request option.
|
|
171
|
-
* @throws {RequiredError}
|
|
172
|
-
*/
|
|
173
|
-
apiV2SearchcurationsSlugGet: function (slug, languageCode, options) {
|
|
174
|
-
if (options === void 0) { options = {}; }
|
|
175
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
176
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
177
|
-
return __generator(this, function (_a) {
|
|
178
|
-
// verify required parameter 'slug' is not null or undefined
|
|
179
|
-
(0, common_1.assertParamExists)('apiV2SearchcurationsSlugGet', 'slug', slug);
|
|
180
|
-
localVarPath = "/api/v2/searchcurations/{slug}"
|
|
181
|
-
.replace("{".concat("slug", "}"), encodeURIComponent(String(slug)));
|
|
182
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
183
|
-
if (configuration) {
|
|
184
|
-
baseOptions = configuration.baseOptions;
|
|
185
|
-
}
|
|
186
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
187
|
-
localVarHeaderParameter = {};
|
|
188
|
-
localVarQueryParameter = {};
|
|
189
|
-
if (languageCode !== undefined) {
|
|
190
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
191
|
-
}
|
|
192
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
193
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
194
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
195
|
-
return [2 /*return*/, {
|
|
196
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
197
|
-
options: localVarRequestOptions,
|
|
198
|
-
}];
|
|
199
|
-
});
|
|
200
|
-
});
|
|
201
|
-
},
|
|
202
|
-
};
|
|
203
|
-
};
|
|
204
|
-
exports.SearchCurationsApiAxiosParamCreator = SearchCurationsApiAxiosParamCreator;
|
|
205
|
-
/**
|
|
206
|
-
* SearchCurationsApi - functional programming interface
|
|
207
|
-
* @export
|
|
208
|
-
*/
|
|
209
|
-
var SearchCurationsApiFp = function (configuration) {
|
|
210
|
-
var localVarAxiosParamCreator = (0, exports.SearchCurationsApiAxiosParamCreator)(configuration);
|
|
211
|
-
return {
|
|
212
|
-
/**
|
|
213
|
-
*
|
|
214
|
-
* @summary Get all search curations
|
|
215
|
-
* @param {string} [languageCode]
|
|
216
|
-
* @param {*} [options] Override http request option.
|
|
217
|
-
* @throws {RequiredError}
|
|
218
|
-
*/
|
|
219
|
-
apiV2SearchcurationsGet: function (languageCode, options) {
|
|
220
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
221
|
-
var localVarAxiosArgs;
|
|
222
|
-
return __generator(this, function (_a) {
|
|
223
|
-
switch (_a.label) {
|
|
224
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchcurationsGet(languageCode, options)];
|
|
225
|
-
case 1:
|
|
226
|
-
localVarAxiosArgs = _a.sent();
|
|
227
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
228
|
-
}
|
|
229
|
-
});
|
|
230
|
-
});
|
|
231
|
-
},
|
|
232
|
-
/**
|
|
233
|
-
*
|
|
234
|
-
* @summary Get search curation item by id
|
|
235
|
-
* @param {string} id
|
|
236
|
-
* @param {string} [languageCode]
|
|
237
|
-
* @param {*} [options] Override http request option.
|
|
238
|
-
* @throws {RequiredError}
|
|
239
|
-
*/
|
|
240
|
-
apiV2SearchcurationsIdGet: function (id, languageCode, options) {
|
|
241
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
242
|
-
var localVarAxiosArgs;
|
|
243
|
-
return __generator(this, function (_a) {
|
|
244
|
-
switch (_a.label) {
|
|
245
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchcurationsIdGet(id, languageCode, options)];
|
|
246
|
-
case 1:
|
|
247
|
-
localVarAxiosArgs = _a.sent();
|
|
248
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
249
|
-
}
|
|
250
|
-
});
|
|
251
|
-
});
|
|
252
|
-
},
|
|
253
|
-
/**
|
|
254
|
-
*
|
|
255
|
-
* @summary Get search curation item by slug
|
|
256
|
-
* @param {string} slug
|
|
257
|
-
* @param {string} [languageCode]
|
|
258
|
-
* @param {*} [options] Override http request option.
|
|
259
|
-
* @throws {RequiredError}
|
|
260
|
-
*/
|
|
261
|
-
apiV2SearchcurationsSlugGet: function (slug, languageCode, options) {
|
|
262
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
263
|
-
var localVarAxiosArgs;
|
|
264
|
-
return __generator(this, function (_a) {
|
|
265
|
-
switch (_a.label) {
|
|
266
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchcurationsSlugGet(slug, languageCode, options)];
|
|
267
|
-
case 1:
|
|
268
|
-
localVarAxiosArgs = _a.sent();
|
|
269
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
270
|
-
}
|
|
271
|
-
});
|
|
272
|
-
});
|
|
273
|
-
},
|
|
274
|
-
};
|
|
275
|
-
};
|
|
276
|
-
exports.SearchCurationsApiFp = SearchCurationsApiFp;
|
|
277
|
-
/**
|
|
278
|
-
* SearchCurationsApi - factory interface
|
|
279
|
-
* @export
|
|
280
|
-
*/
|
|
281
|
-
var SearchCurationsApiFactory = function (configuration, basePath, axios) {
|
|
282
|
-
var localVarFp = (0, exports.SearchCurationsApiFp)(configuration);
|
|
283
|
-
return {
|
|
284
|
-
/**
|
|
285
|
-
*
|
|
286
|
-
* @summary Get all search curations
|
|
287
|
-
* @param {string} [languageCode]
|
|
288
|
-
* @param {*} [options] Override http request option.
|
|
289
|
-
* @throws {RequiredError}
|
|
290
|
-
*/
|
|
291
|
-
apiV2SearchcurationsGet: function (languageCode, options) {
|
|
292
|
-
return localVarFp.apiV2SearchcurationsGet(languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
293
|
-
},
|
|
294
|
-
/**
|
|
295
|
-
*
|
|
296
|
-
* @summary Get search curation item by id
|
|
297
|
-
* @param {string} id
|
|
298
|
-
* @param {string} [languageCode]
|
|
299
|
-
* @param {*} [options] Override http request option.
|
|
300
|
-
* @throws {RequiredError}
|
|
301
|
-
*/
|
|
302
|
-
apiV2SearchcurationsIdGet: function (id, languageCode, options) {
|
|
303
|
-
return localVarFp.apiV2SearchcurationsIdGet(id, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
304
|
-
},
|
|
305
|
-
/**
|
|
306
|
-
*
|
|
307
|
-
* @summary Get search curation item by slug
|
|
308
|
-
* @param {string} slug
|
|
309
|
-
* @param {string} [languageCode]
|
|
310
|
-
* @param {*} [options] Override http request option.
|
|
311
|
-
* @throws {RequiredError}
|
|
312
|
-
*/
|
|
313
|
-
apiV2SearchcurationsSlugGet: function (slug, languageCode, options) {
|
|
314
|
-
return localVarFp.apiV2SearchcurationsSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
315
|
-
},
|
|
316
|
-
};
|
|
317
|
-
};
|
|
318
|
-
exports.SearchCurationsApiFactory = SearchCurationsApiFactory;
|
|
319
|
-
/**
|
|
320
|
-
* SearchCurationsApi - object-oriented interface
|
|
321
|
-
* @export
|
|
322
|
-
* @class SearchCurationsApi
|
|
323
|
-
* @extends {BaseAPI}
|
|
324
|
-
*/
|
|
325
|
-
var SearchCurationsApi = /** @class */ (function (_super) {
|
|
326
|
-
__extends(SearchCurationsApi, _super);
|
|
327
|
-
function SearchCurationsApi() {
|
|
328
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
329
|
-
}
|
|
330
|
-
/**
|
|
331
|
-
*
|
|
332
|
-
* @summary Get all search curations
|
|
333
|
-
* @param {SearchCurationsApiApiV2SearchcurationsGetRequest} requestParameters Request parameters.
|
|
334
|
-
* @param {*} [options] Override http request option.
|
|
335
|
-
* @throws {RequiredError}
|
|
336
|
-
* @memberof SearchCurationsApi
|
|
337
|
-
*/
|
|
338
|
-
SearchCurationsApi.prototype.apiV2SearchcurationsGet = function (requestParameters, options) {
|
|
339
|
-
var _this = this;
|
|
340
|
-
if (requestParameters === void 0) { requestParameters = {}; }
|
|
341
|
-
return (0, exports.SearchCurationsApiFp)(this.configuration).apiV2SearchcurationsGet(requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
342
|
-
};
|
|
343
|
-
/**
|
|
344
|
-
*
|
|
345
|
-
* @summary Get search curation item by id
|
|
346
|
-
* @param {SearchCurationsApiApiV2SearchcurationsIdGetRequest} requestParameters Request parameters.
|
|
347
|
-
* @param {*} [options] Override http request option.
|
|
348
|
-
* @throws {RequiredError}
|
|
349
|
-
* @memberof SearchCurationsApi
|
|
350
|
-
*/
|
|
351
|
-
SearchCurationsApi.prototype.apiV2SearchcurationsIdGet = function (requestParameters, options) {
|
|
352
|
-
var _this = this;
|
|
353
|
-
return (0, exports.SearchCurationsApiFp)(this.configuration).apiV2SearchcurationsIdGet(requestParameters.id, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
354
|
-
};
|
|
355
|
-
/**
|
|
356
|
-
*
|
|
357
|
-
* @summary Get search curation item by slug
|
|
358
|
-
* @param {SearchCurationsApiApiV2SearchcurationsSlugGetRequest} requestParameters Request parameters.
|
|
359
|
-
* @param {*} [options] Override http request option.
|
|
360
|
-
* @throws {RequiredError}
|
|
361
|
-
* @memberof SearchCurationsApi
|
|
362
|
-
*/
|
|
363
|
-
SearchCurationsApi.prototype.apiV2SearchcurationsSlugGet = function (requestParameters, options) {
|
|
364
|
-
var _this = this;
|
|
365
|
-
return (0, exports.SearchCurationsApiFp)(this.configuration).apiV2SearchcurationsSlugGet(requestParameters.slug, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
366
|
-
};
|
|
367
|
-
return SearchCurationsApi;
|
|
368
|
-
}(base_1.BaseAPI));
|
|
369
|
-
exports.SearchCurationsApi = SearchCurationsApi;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CloudHospital Api
|
|
3
|
-
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2
|
|
6
|
-
* Contact: developer@icloudhospital.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface CurationItemModel
|
|
16
|
-
*/
|
|
17
|
-
export interface CurationItemModel {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CurationItemModel
|
|
22
|
-
*/
|
|
23
|
-
'id'?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CurationItemModel
|
|
28
|
-
*/
|
|
29
|
-
'languageCode'?: string | null;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CurationItemModel
|
|
34
|
-
*/
|
|
35
|
-
'title'?: string | null;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof CurationItemModel
|
|
40
|
-
*/
|
|
41
|
-
'slug'?: string | null;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof CurationItemModel
|
|
46
|
-
*/
|
|
47
|
-
'url'?: string | null;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof CurationItemModel
|
|
52
|
-
*/
|
|
53
|
-
'photo'?: string | null;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof CurationItemModel
|
|
58
|
-
*/
|
|
59
|
-
'photoThumbnail'?: string | null;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof CurationItemModel
|
|
64
|
-
*/
|
|
65
|
-
'order'?: number;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {boolean}
|
|
69
|
-
* @memberof CurationItemModel
|
|
70
|
-
*/
|
|
71
|
-
'confirmed'?: boolean;
|
|
72
|
-
}
|
|
73
|
-
//# sourceMappingURL=curation-item-model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"curation-item-model.d.ts","sourceRoot":"","sources":["../../src/models/curation-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CloudHospital Api
|
|
3
|
-
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2
|
|
6
|
-
* Contact: developer@icloudhospital.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { CurationItemModel } from './curation-item-model';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CurationSpecialtyTypeItemModel
|
|
17
|
-
*/
|
|
18
|
-
export interface CurationSpecialtyTypeItemModel {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof CurationSpecialtyTypeItemModel
|
|
23
|
-
*/
|
|
24
|
-
'specialtyTypeId'?: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof CurationSpecialtyTypeItemModel
|
|
29
|
-
*/
|
|
30
|
-
'languageCode'?: string | null;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof CurationSpecialtyTypeItemModel
|
|
35
|
-
*/
|
|
36
|
-
'name'?: string | null;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof CurationSpecialtyTypeItemModel
|
|
41
|
-
*/
|
|
42
|
-
'slug'?: string | null;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {Array<CurationItemModel>}
|
|
46
|
-
* @memberof CurationSpecialtyTypeItemModel
|
|
47
|
-
*/
|
|
48
|
-
'curations'?: Array<CurationItemModel> | null;
|
|
49
|
-
}
|
|
50
|
-
//# sourceMappingURL=curation-specialty-type-item-model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"curation-specialty-type-item-model.d.ts","sourceRoot":"","sources":["../../src/models/curation-specialty-type-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC;CACjD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"curation-specialty-types-model.d.ts","sourceRoot":"","sources":["../../src/models/curation-specialty-types-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAGtF,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,GAAG,IAAI,CAAC;IACvD;;;;OAIG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAC;CAClC"}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CloudHospital Api
|
|
3
|
-
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2
|
|
6
|
-
* Contact: developer@icloudhospital.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { SearchCurationPrimaryItemModel } from './search-curation-primary-item-model';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SearchCurationItemModel
|
|
17
|
-
*/
|
|
18
|
-
export interface SearchCurationItemModel {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof SearchCurationItemModel
|
|
23
|
-
*/
|
|
24
|
-
'id'?: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {SearchCurationPrimaryItemModel}
|
|
28
|
-
* @memberof SearchCurationItemModel
|
|
29
|
-
*/
|
|
30
|
-
'primary'?: SearchCurationPrimaryItemModel;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof SearchCurationItemModel
|
|
35
|
-
*/
|
|
36
|
-
'name'?: string | null;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof SearchCurationItemModel
|
|
41
|
-
*/
|
|
42
|
-
'url'?: string | null;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof SearchCurationItemModel
|
|
47
|
-
*/
|
|
48
|
-
'searchTerm'?: string | null;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof SearchCurationItemModel
|
|
53
|
-
*/
|
|
54
|
-
'description'?: string | null;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof SearchCurationItemModel
|
|
59
|
-
*/
|
|
60
|
-
'slug'?: string | null;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof SearchCurationItemModel
|
|
65
|
-
*/
|
|
66
|
-
'imageUrl'?: string | null;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof SearchCurationItemModel
|
|
71
|
-
*/
|
|
72
|
-
'imageThumbnailUrl'?: string | null;
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
* @type {number}
|
|
76
|
-
* @memberof SearchCurationItemModel
|
|
77
|
-
*/
|
|
78
|
-
'level'?: number;
|
|
79
|
-
/**
|
|
80
|
-
*
|
|
81
|
-
* @type {number}
|
|
82
|
-
* @memberof SearchCurationItemModel
|
|
83
|
-
*/
|
|
84
|
-
'order'?: number;
|
|
85
|
-
/**
|
|
86
|
-
*
|
|
87
|
-
* @type {string}
|
|
88
|
-
* @memberof SearchCurationItemModel
|
|
89
|
-
*/
|
|
90
|
-
'parentId'?: string | null;
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* @type {Array<SearchCurationItemModel>}
|
|
94
|
-
* @memberof SearchCurationItemModel
|
|
95
|
-
*/
|
|
96
|
-
'subItems'?: Array<SearchCurationItemModel> | null;
|
|
97
|
-
/**
|
|
98
|
-
*
|
|
99
|
-
* @type {SearchCurationItemModel}
|
|
100
|
-
* @memberof SearchCurationItemModel
|
|
101
|
-
*/
|
|
102
|
-
'parent'?: SearchCurationItemModel;
|
|
103
|
-
}
|
|
104
|
-
//# sourceMappingURL=search-curation-item-model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"search-curation-item-model.d.ts","sourceRoot":"","sources":["../../src/models/search-curation-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAEtF;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,SAAS,CAAC,EAAE,8BAA8B,CAAC;IAC3C;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC;IACnD;;;;OAIG;IACH,QAAQ,CAAC,EAAE,uBAAuB,CAAC;CACtC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"search-curation-primary-item-model.d.ts","sourceRoot":"","sources":["../../src/models/search-curation-primary-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* CloudHospital Api
|
|
6
|
-
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 2
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CloudHospital Api
|
|
3
|
-
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2
|
|
6
|
-
* Contact: developer@icloudhospital.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
|
-
*/
|
|
17
|
-
export declare const UserType: {
|
|
18
|
-
readonly Patient: "Patient";
|
|
19
|
-
readonly Partner: "Partner";
|
|
20
|
-
readonly Doctor: "Doctor";
|
|
21
|
-
readonly Manager: "Manager";
|
|
22
|
-
readonly ChManager: "CHManager";
|
|
23
|
-
readonly ChAdmin: "CHAdmin";
|
|
24
|
-
readonly ContentManager: "ContentManager";
|
|
25
|
-
readonly PatientManager: "PatientManager";
|
|
26
|
-
};
|
|
27
|
-
export type UserType = typeof UserType[keyof typeof UserType];
|
|
28
|
-
//# sourceMappingURL=user-type.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-type.d.ts","sourceRoot":"","sources":["../../src/models/user-type.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,QAAQ;;;;;;;;;CASX,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC"}
|