ch-api-client-typescript2 5.91.14 → 5.91.28
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/deals-api.d.ts +232 -0
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +308 -0
- package/lib/api/doctor-affiliations-api.d.ts +232 -0
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +308 -0
- package/lib/api/hospitals-api.d.ts +232 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +308 -0
- package/lib/api/patient-review-form-settings-api.d.ts +106 -0
- package/lib/api/patient-review-form-settings-api.d.ts.map +1 -0
- package/lib/api/patient-review-form-settings-api.js +232 -0
- package/lib/api/patient-reviews-api.d.ts +293 -0
- package/lib/api/patient-reviews-api.d.ts.map +1 -0
- package/lib/api/patient-reviews-api.js +541 -0
- package/lib/api.d.ts +2 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +2 -0
- package/lib/models/accreditation-item-model.d.ts +7 -0
- package/lib/models/accreditation-item-model.d.ts.map +1 -1
- package/lib/models/accreditation-model.d.ts +7 -0
- package/lib/models/accreditation-model.d.ts.map +1 -1
- package/lib/models/accreditation-type.d.ts +22 -0
- package/lib/models/accreditation-type.d.ts.map +1 -0
- package/lib/models/accreditation-type.js +25 -0
- package/lib/models/create-patient-review-before-and-after-photo-input-model.d.ts +49 -0
- package/lib/models/create-patient-review-before-and-after-photo-input-model.d.ts.map +1 -0
- package/lib/models/create-patient-review-before-and-after-photo-input-model.js +15 -0
- package/lib/models/create-patient-review-command.d.ts +90 -0
- package/lib/models/create-patient-review-command.d.ts.map +1 -0
- package/lib/models/create-patient-review-command.js +15 -0
- package/lib/models/create-patient-review-consent-input-model.d.ts +43 -0
- package/lib/models/create-patient-review-consent-input-model.d.ts.map +1 -0
- package/lib/models/create-patient-review-consent-input-model.js +15 -0
- package/lib/models/create-patient-review-detail-input-model.d.ts +37 -0
- package/lib/models/create-patient-review-detail-input-model.d.ts.map +1 -0
- package/lib/models/create-patient-review-detail-input-model.js +15 -0
- package/lib/models/create-patient-review-general-photo-input-model.d.ts +37 -0
- package/lib/models/create-patient-review-general-photo-input-model.d.ts.map +1 -0
- package/lib/models/create-patient-review-general-photo-input-model.js +15 -0
- package/lib/models/create-patient-review-verification-document-input-model.d.ts +31 -0
- package/lib/models/create-patient-review-verification-document-input-model.d.ts.map +1 -0
- package/lib/models/create-patient-review-verification-document-input-model.js +15 -0
- package/lib/models/index.d.ts +18 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +18 -0
- package/lib/models/patient-review-before-and-after-public-photo-model.d.ts +61 -0
- package/lib/models/patient-review-before-and-after-public-photo-model.d.ts.map +1 -0
- package/lib/models/patient-review-before-and-after-public-photo-model.js +15 -0
- package/lib/models/patient-review-detail-model.d.ts +37 -0
- package/lib/models/patient-review-detail-model.d.ts.map +1 -0
- package/lib/models/patient-review-detail-model.js +15 -0
- package/lib/models/patient-review-form-setting-detail-model.d.ts +79 -0
- package/lib/models/patient-review-form-setting-detail-model.d.ts.map +1 -0
- package/lib/models/patient-review-form-setting-detail-model.js +15 -0
- package/lib/models/patient-review-form-setting-model.d.ts +75 -0
- package/lib/models/patient-review-form-setting-model.d.ts.map +1 -0
- package/lib/models/patient-review-form-setting-model.js +15 -0
- package/lib/models/patient-review-general-public-photo-model.d.ts +49 -0
- package/lib/models/patient-review-general-public-photo-model.d.ts.map +1 -0
- package/lib/models/patient-review-general-public-photo-model.js +15 -0
- package/lib/models/patient-review-item-model.d.ts +114 -0
- package/lib/models/patient-review-item-model.d.ts.map +1 -0
- package/lib/models/patient-review-item-model.js +15 -0
- package/lib/models/patient-review-model.d.ts +114 -0
- package/lib/models/patient-review-model.d.ts.map +1 -0
- package/lib/models/patient-review-model.js +15 -0
- package/lib/models/patient-review-platform.d.ts +23 -0
- package/lib/models/patient-review-platform.d.ts.map +1 -0
- package/lib/models/patient-review-platform.js +26 -0
- package/lib/models/patient-review-status.d.ts +23 -0
- package/lib/models/patient-review-status.d.ts.map +1 -0
- package/lib/models/patient-review-status.js +26 -0
- package/lib/models/patient-review-target-sorting-field.d.ts +22 -0
- package/lib/models/patient-review-target-sorting-field.d.ts.map +1 -0
- package/lib/models/patient-review-target-sorting-field.js +25 -0
- package/lib/models/patient-reviews-model.d.ts +51 -0
- package/lib/models/patient-reviews-model.d.ts.map +1 -0
- package/lib/models/patient-reviews-model.js +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,541 @@
|
|
|
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 = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["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 __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
};
|
|
86
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
|
+
};
|
|
89
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
90
|
+
exports.PatientReviewsApi = exports.PatientReviewsApiFactory = exports.PatientReviewsApiFp = exports.PatientReviewsApiAxiosParamCreator = void 0;
|
|
91
|
+
var axios_1 = __importDefault(require("axios"));
|
|
92
|
+
// Some imports not used depending on template conditions
|
|
93
|
+
// @ts-ignore
|
|
94
|
+
var common_1 = require("../common");
|
|
95
|
+
// @ts-ignore
|
|
96
|
+
var base_1 = require("../base");
|
|
97
|
+
/**
|
|
98
|
+
* PatientReviewsApi - axios parameter creator
|
|
99
|
+
* @export
|
|
100
|
+
*/
|
|
101
|
+
var PatientReviewsApiAxiosParamCreator = function (configuration) {
|
|
102
|
+
var _this = this;
|
|
103
|
+
return {
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @summary Gets the authenticated user\'s own patient reviews.
|
|
107
|
+
* @param {PatientReviewStatus} [status]
|
|
108
|
+
* @param {string} [languageCode]
|
|
109
|
+
* @param {SortingDirection} [sortingDirection]
|
|
110
|
+
* @param {number} [page]
|
|
111
|
+
* @param {number} [limit]
|
|
112
|
+
* @param {Date} [lastRetrieved]
|
|
113
|
+
* @param {*} [options] Override http request option.
|
|
114
|
+
* @throws {RequiredError}
|
|
115
|
+
*/
|
|
116
|
+
apiV2PatientreviewsGet: function (status_1, languageCode_1, sortingDirection_1, page_1, limit_1, lastRetrieved_1) {
|
|
117
|
+
var args_1 = [];
|
|
118
|
+
for (var _i = 6; _i < arguments.length; _i++) {
|
|
119
|
+
args_1[_i - 6] = arguments[_i];
|
|
120
|
+
}
|
|
121
|
+
return __awaiter(_this, __spreadArray([status_1, languageCode_1, sortingDirection_1, page_1, limit_1, lastRetrieved_1], args_1, true), void 0, function (status, languageCode, sortingDirection, page, limit, lastRetrieved, options) {
|
|
122
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
123
|
+
if (options === void 0) { options = {}; }
|
|
124
|
+
return __generator(this, function (_a) {
|
|
125
|
+
switch (_a.label) {
|
|
126
|
+
case 0:
|
|
127
|
+
localVarPath = "/api/v2/patientreviews";
|
|
128
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
129
|
+
if (configuration) {
|
|
130
|
+
baseOptions = configuration.baseOptions;
|
|
131
|
+
}
|
|
132
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
133
|
+
localVarHeaderParameter = {};
|
|
134
|
+
localVarQueryParameter = {};
|
|
135
|
+
// authentication oauth2 required
|
|
136
|
+
// oauth required
|
|
137
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_api"], configuration)];
|
|
138
|
+
case 1:
|
|
139
|
+
// authentication oauth2 required
|
|
140
|
+
// oauth required
|
|
141
|
+
_a.sent();
|
|
142
|
+
if (status !== undefined) {
|
|
143
|
+
localVarQueryParameter['status'] = status;
|
|
144
|
+
}
|
|
145
|
+
if (languageCode !== undefined) {
|
|
146
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
147
|
+
}
|
|
148
|
+
if (sortingDirection !== undefined) {
|
|
149
|
+
localVarQueryParameter['sortingDirection'] = sortingDirection;
|
|
150
|
+
}
|
|
151
|
+
if (page !== undefined) {
|
|
152
|
+
localVarQueryParameter['page'] = page;
|
|
153
|
+
}
|
|
154
|
+
if (limit !== undefined) {
|
|
155
|
+
localVarQueryParameter['limit'] = limit;
|
|
156
|
+
}
|
|
157
|
+
if (lastRetrieved !== undefined) {
|
|
158
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
159
|
+
lastRetrieved.toISOString() :
|
|
160
|
+
lastRetrieved;
|
|
161
|
+
}
|
|
162
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
163
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
164
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
165
|
+
return [2 /*return*/, {
|
|
166
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
167
|
+
options: localVarRequestOptions,
|
|
168
|
+
}];
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
});
|
|
172
|
+
},
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @summary Deletes (soft delete) a patient review owned by the authenticated user.
|
|
176
|
+
* @param {string} patientReviewId Patient review id.
|
|
177
|
+
* @param {*} [options] Override http request option.
|
|
178
|
+
* @throws {RequiredError}
|
|
179
|
+
*/
|
|
180
|
+
apiV2PatientreviewsPatientReviewIdDelete: function (patientReviewId_1) {
|
|
181
|
+
var args_1 = [];
|
|
182
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
183
|
+
args_1[_i - 1] = arguments[_i];
|
|
184
|
+
}
|
|
185
|
+
return __awaiter(_this, __spreadArray([patientReviewId_1], args_1, true), void 0, function (patientReviewId, options) {
|
|
186
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
187
|
+
if (options === void 0) { options = {}; }
|
|
188
|
+
return __generator(this, function (_a) {
|
|
189
|
+
switch (_a.label) {
|
|
190
|
+
case 0:
|
|
191
|
+
// verify required parameter 'patientReviewId' is not null or undefined
|
|
192
|
+
(0, common_1.assertParamExists)('apiV2PatientreviewsPatientReviewIdDelete', 'patientReviewId', patientReviewId);
|
|
193
|
+
localVarPath = "/api/v2/patientreviews/{patientReviewId}"
|
|
194
|
+
.replace("{".concat("patientReviewId", "}"), encodeURIComponent(String(patientReviewId)));
|
|
195
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
196
|
+
if (configuration) {
|
|
197
|
+
baseOptions = configuration.baseOptions;
|
|
198
|
+
}
|
|
199
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
200
|
+
localVarHeaderParameter = {};
|
|
201
|
+
localVarQueryParameter = {};
|
|
202
|
+
// authentication oauth2 required
|
|
203
|
+
// oauth required
|
|
204
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_api"], configuration)];
|
|
205
|
+
case 1:
|
|
206
|
+
// authentication oauth2 required
|
|
207
|
+
// oauth required
|
|
208
|
+
_a.sent();
|
|
209
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
210
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
211
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
212
|
+
return [2 /*return*/, {
|
|
213
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
214
|
+
options: localVarRequestOptions,
|
|
215
|
+
}];
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
});
|
|
219
|
+
},
|
|
220
|
+
/**
|
|
221
|
+
*
|
|
222
|
+
* @summary Gets a single patient review owned by the authenticated user.
|
|
223
|
+
* @param {string} patientReviewId Patient review id.
|
|
224
|
+
* @param {string} [languageCode] Language code. Accepts either `en` (ISO 639-1 two-letter) or `en-US` (locale) format.
|
|
225
|
+
* @param {*} [options] Override http request option.
|
|
226
|
+
* @throws {RequiredError}
|
|
227
|
+
*/
|
|
228
|
+
apiV2PatientreviewsPatientReviewIdGet: function (patientReviewId_1, languageCode_1) {
|
|
229
|
+
var args_1 = [];
|
|
230
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
231
|
+
args_1[_i - 2] = arguments[_i];
|
|
232
|
+
}
|
|
233
|
+
return __awaiter(_this, __spreadArray([patientReviewId_1, languageCode_1], args_1, true), void 0, function (patientReviewId, languageCode, options) {
|
|
234
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
235
|
+
if (options === void 0) { options = {}; }
|
|
236
|
+
return __generator(this, function (_a) {
|
|
237
|
+
switch (_a.label) {
|
|
238
|
+
case 0:
|
|
239
|
+
// verify required parameter 'patientReviewId' is not null or undefined
|
|
240
|
+
(0, common_1.assertParamExists)('apiV2PatientreviewsPatientReviewIdGet', 'patientReviewId', patientReviewId);
|
|
241
|
+
localVarPath = "/api/v2/patientreviews/{patientReviewId}"
|
|
242
|
+
.replace("{".concat("patientReviewId", "}"), encodeURIComponent(String(patientReviewId)));
|
|
243
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
244
|
+
if (configuration) {
|
|
245
|
+
baseOptions = configuration.baseOptions;
|
|
246
|
+
}
|
|
247
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
248
|
+
localVarHeaderParameter = {};
|
|
249
|
+
localVarQueryParameter = {};
|
|
250
|
+
// authentication oauth2 required
|
|
251
|
+
// oauth required
|
|
252
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_api"], configuration)];
|
|
253
|
+
case 1:
|
|
254
|
+
// authentication oauth2 required
|
|
255
|
+
// oauth required
|
|
256
|
+
_a.sent();
|
|
257
|
+
if (languageCode !== undefined) {
|
|
258
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
259
|
+
}
|
|
260
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
261
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
262
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
263
|
+
return [2 /*return*/, {
|
|
264
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
265
|
+
options: localVarRequestOptions,
|
|
266
|
+
}];
|
|
267
|
+
}
|
|
268
|
+
});
|
|
269
|
+
});
|
|
270
|
+
},
|
|
271
|
+
/**
|
|
272
|
+
*
|
|
273
|
+
* @summary Creates a patient review for the authenticated user.
|
|
274
|
+
* @param {string} [xCloudhospitalPlatform] Request platform header value.
|
|
275
|
+
* @param {CreatePatientReviewCommand} [createPatientReviewCommand] Patient review creation payload.
|
|
276
|
+
* @param {*} [options] Override http request option.
|
|
277
|
+
* @throws {RequiredError}
|
|
278
|
+
*/
|
|
279
|
+
apiV2PatientreviewsPost: function (xCloudhospitalPlatform_1, createPatientReviewCommand_1) {
|
|
280
|
+
var args_1 = [];
|
|
281
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
282
|
+
args_1[_i - 2] = arguments[_i];
|
|
283
|
+
}
|
|
284
|
+
return __awaiter(_this, __spreadArray([xCloudhospitalPlatform_1, createPatientReviewCommand_1], args_1, true), void 0, function (xCloudhospitalPlatform, createPatientReviewCommand, options) {
|
|
285
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
286
|
+
if (options === void 0) { options = {}; }
|
|
287
|
+
return __generator(this, function (_a) {
|
|
288
|
+
switch (_a.label) {
|
|
289
|
+
case 0:
|
|
290
|
+
localVarPath = "/api/v2/patientreviews";
|
|
291
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
292
|
+
if (configuration) {
|
|
293
|
+
baseOptions = configuration.baseOptions;
|
|
294
|
+
}
|
|
295
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
296
|
+
localVarHeaderParameter = {};
|
|
297
|
+
localVarQueryParameter = {};
|
|
298
|
+
// authentication oauth2 required
|
|
299
|
+
// oauth required
|
|
300
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_api"], configuration)];
|
|
301
|
+
case 1:
|
|
302
|
+
// authentication oauth2 required
|
|
303
|
+
// oauth required
|
|
304
|
+
_a.sent();
|
|
305
|
+
if (xCloudhospitalPlatform != null) {
|
|
306
|
+
localVarHeaderParameter['x-cloudhospital-platform'] = String(xCloudhospitalPlatform);
|
|
307
|
+
}
|
|
308
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
309
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
310
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
311
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
312
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPatientReviewCommand, localVarRequestOptions, configuration);
|
|
313
|
+
return [2 /*return*/, {
|
|
314
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
315
|
+
options: localVarRequestOptions,
|
|
316
|
+
}];
|
|
317
|
+
}
|
|
318
|
+
});
|
|
319
|
+
});
|
|
320
|
+
},
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
exports.PatientReviewsApiAxiosParamCreator = PatientReviewsApiAxiosParamCreator;
|
|
324
|
+
/**
|
|
325
|
+
* PatientReviewsApi - functional programming interface
|
|
326
|
+
* @export
|
|
327
|
+
*/
|
|
328
|
+
var PatientReviewsApiFp = function (configuration) {
|
|
329
|
+
var localVarAxiosParamCreator = (0, exports.PatientReviewsApiAxiosParamCreator)(configuration);
|
|
330
|
+
return {
|
|
331
|
+
/**
|
|
332
|
+
*
|
|
333
|
+
* @summary Gets the authenticated user\'s own patient reviews.
|
|
334
|
+
* @param {PatientReviewStatus} [status]
|
|
335
|
+
* @param {string} [languageCode]
|
|
336
|
+
* @param {SortingDirection} [sortingDirection]
|
|
337
|
+
* @param {number} [page]
|
|
338
|
+
* @param {number} [limit]
|
|
339
|
+
* @param {Date} [lastRetrieved]
|
|
340
|
+
* @param {*} [options] Override http request option.
|
|
341
|
+
* @throws {RequiredError}
|
|
342
|
+
*/
|
|
343
|
+
apiV2PatientreviewsGet: function (status, languageCode, sortingDirection, page, limit, lastRetrieved, options) {
|
|
344
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
345
|
+
var localVarAxiosArgs;
|
|
346
|
+
return __generator(this, function (_a) {
|
|
347
|
+
switch (_a.label) {
|
|
348
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2PatientreviewsGet(status, languageCode, sortingDirection, page, limit, lastRetrieved, options)];
|
|
349
|
+
case 1:
|
|
350
|
+
localVarAxiosArgs = _a.sent();
|
|
351
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
352
|
+
}
|
|
353
|
+
});
|
|
354
|
+
});
|
|
355
|
+
},
|
|
356
|
+
/**
|
|
357
|
+
*
|
|
358
|
+
* @summary Deletes (soft delete) a patient review owned by the authenticated user.
|
|
359
|
+
* @param {string} patientReviewId Patient review id.
|
|
360
|
+
* @param {*} [options] Override http request option.
|
|
361
|
+
* @throws {RequiredError}
|
|
362
|
+
*/
|
|
363
|
+
apiV2PatientreviewsPatientReviewIdDelete: function (patientReviewId, 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.apiV2PatientreviewsPatientReviewIdDelete(patientReviewId, 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 Gets a single patient review owned by the authenticated user.
|
|
379
|
+
* @param {string} patientReviewId Patient review id.
|
|
380
|
+
* @param {string} [languageCode] Language code. Accepts either `en` (ISO 639-1 two-letter) or `en-US` (locale) format.
|
|
381
|
+
* @param {*} [options] Override http request option.
|
|
382
|
+
* @throws {RequiredError}
|
|
383
|
+
*/
|
|
384
|
+
apiV2PatientreviewsPatientReviewIdGet: function (patientReviewId, languageCode, 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.apiV2PatientreviewsPatientReviewIdGet(patientReviewId, languageCode, 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 Creates a patient review for the authenticated user.
|
|
400
|
+
* @param {string} [xCloudhospitalPlatform] Request platform header value.
|
|
401
|
+
* @param {CreatePatientReviewCommand} [createPatientReviewCommand] Patient review creation payload.
|
|
402
|
+
* @param {*} [options] Override http request option.
|
|
403
|
+
* @throws {RequiredError}
|
|
404
|
+
*/
|
|
405
|
+
apiV2PatientreviewsPost: function (xCloudhospitalPlatform, createPatientReviewCommand, 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.apiV2PatientreviewsPost(xCloudhospitalPlatform, createPatientReviewCommand, 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
|
+
exports.PatientReviewsApiFp = PatientReviewsApiFp;
|
|
421
|
+
/**
|
|
422
|
+
* PatientReviewsApi - factory interface
|
|
423
|
+
* @export
|
|
424
|
+
*/
|
|
425
|
+
var PatientReviewsApiFactory = function (configuration, basePath, axios) {
|
|
426
|
+
var localVarFp = (0, exports.PatientReviewsApiFp)(configuration);
|
|
427
|
+
return {
|
|
428
|
+
/**
|
|
429
|
+
*
|
|
430
|
+
* @summary Gets the authenticated user\'s own patient reviews.
|
|
431
|
+
* @param {PatientReviewStatus} [status]
|
|
432
|
+
* @param {string} [languageCode]
|
|
433
|
+
* @param {SortingDirection} [sortingDirection]
|
|
434
|
+
* @param {number} [page]
|
|
435
|
+
* @param {number} [limit]
|
|
436
|
+
* @param {Date} [lastRetrieved]
|
|
437
|
+
* @param {*} [options] Override http request option.
|
|
438
|
+
* @throws {RequiredError}
|
|
439
|
+
*/
|
|
440
|
+
apiV2PatientreviewsGet: function (status, languageCode, sortingDirection, page, limit, lastRetrieved, options) {
|
|
441
|
+
return localVarFp.apiV2PatientreviewsGet(status, languageCode, sortingDirection, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
442
|
+
},
|
|
443
|
+
/**
|
|
444
|
+
*
|
|
445
|
+
* @summary Deletes (soft delete) a patient review owned by the authenticated user.
|
|
446
|
+
* @param {string} patientReviewId Patient review id.
|
|
447
|
+
* @param {*} [options] Override http request option.
|
|
448
|
+
* @throws {RequiredError}
|
|
449
|
+
*/
|
|
450
|
+
apiV2PatientreviewsPatientReviewIdDelete: function (patientReviewId, options) {
|
|
451
|
+
return localVarFp.apiV2PatientreviewsPatientReviewIdDelete(patientReviewId, options).then(function (request) { return request(axios, basePath); });
|
|
452
|
+
},
|
|
453
|
+
/**
|
|
454
|
+
*
|
|
455
|
+
* @summary Gets a single patient review owned by the authenticated user.
|
|
456
|
+
* @param {string} patientReviewId Patient review id.
|
|
457
|
+
* @param {string} [languageCode] Language code. Accepts either `en` (ISO 639-1 two-letter) or `en-US` (locale) format.
|
|
458
|
+
* @param {*} [options] Override http request option.
|
|
459
|
+
* @throws {RequiredError}
|
|
460
|
+
*/
|
|
461
|
+
apiV2PatientreviewsPatientReviewIdGet: function (patientReviewId, languageCode, options) {
|
|
462
|
+
return localVarFp.apiV2PatientreviewsPatientReviewIdGet(patientReviewId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
463
|
+
},
|
|
464
|
+
/**
|
|
465
|
+
*
|
|
466
|
+
* @summary Creates a patient review for the authenticated user.
|
|
467
|
+
* @param {string} [xCloudhospitalPlatform] Request platform header value.
|
|
468
|
+
* @param {CreatePatientReviewCommand} [createPatientReviewCommand] Patient review creation payload.
|
|
469
|
+
* @param {*} [options] Override http request option.
|
|
470
|
+
* @throws {RequiredError}
|
|
471
|
+
*/
|
|
472
|
+
apiV2PatientreviewsPost: function (xCloudhospitalPlatform, createPatientReviewCommand, options) {
|
|
473
|
+
return localVarFp.apiV2PatientreviewsPost(xCloudhospitalPlatform, createPatientReviewCommand, options).then(function (request) { return request(axios, basePath); });
|
|
474
|
+
},
|
|
475
|
+
};
|
|
476
|
+
};
|
|
477
|
+
exports.PatientReviewsApiFactory = PatientReviewsApiFactory;
|
|
478
|
+
/**
|
|
479
|
+
* PatientReviewsApi - object-oriented interface
|
|
480
|
+
* @export
|
|
481
|
+
* @class PatientReviewsApi
|
|
482
|
+
* @extends {BaseAPI}
|
|
483
|
+
*/
|
|
484
|
+
var PatientReviewsApi = /** @class */ (function (_super) {
|
|
485
|
+
__extends(PatientReviewsApi, _super);
|
|
486
|
+
function PatientReviewsApi() {
|
|
487
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
488
|
+
}
|
|
489
|
+
/**
|
|
490
|
+
*
|
|
491
|
+
* @summary Gets the authenticated user\'s own patient reviews.
|
|
492
|
+
* @param {PatientReviewsApiApiV2PatientreviewsGetRequest} requestParameters Request parameters.
|
|
493
|
+
* @param {*} [options] Override http request option.
|
|
494
|
+
* @throws {RequiredError}
|
|
495
|
+
* @memberof PatientReviewsApi
|
|
496
|
+
*/
|
|
497
|
+
PatientReviewsApi.prototype.apiV2PatientreviewsGet = function (requestParameters, options) {
|
|
498
|
+
var _this = this;
|
|
499
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
500
|
+
return (0, exports.PatientReviewsApiFp)(this.configuration).apiV2PatientreviewsGet(requestParameters.status, requestParameters.languageCode, requestParameters.sortingDirection, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
501
|
+
};
|
|
502
|
+
/**
|
|
503
|
+
*
|
|
504
|
+
* @summary Deletes (soft delete) a patient review owned by the authenticated user.
|
|
505
|
+
* @param {PatientReviewsApiApiV2PatientreviewsPatientReviewIdDeleteRequest} requestParameters Request parameters.
|
|
506
|
+
* @param {*} [options] Override http request option.
|
|
507
|
+
* @throws {RequiredError}
|
|
508
|
+
* @memberof PatientReviewsApi
|
|
509
|
+
*/
|
|
510
|
+
PatientReviewsApi.prototype.apiV2PatientreviewsPatientReviewIdDelete = function (requestParameters, options) {
|
|
511
|
+
var _this = this;
|
|
512
|
+
return (0, exports.PatientReviewsApiFp)(this.configuration).apiV2PatientreviewsPatientReviewIdDelete(requestParameters.patientReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
513
|
+
};
|
|
514
|
+
/**
|
|
515
|
+
*
|
|
516
|
+
* @summary Gets a single patient review owned by the authenticated user.
|
|
517
|
+
* @param {PatientReviewsApiApiV2PatientreviewsPatientReviewIdGetRequest} requestParameters Request parameters.
|
|
518
|
+
* @param {*} [options] Override http request option.
|
|
519
|
+
* @throws {RequiredError}
|
|
520
|
+
* @memberof PatientReviewsApi
|
|
521
|
+
*/
|
|
522
|
+
PatientReviewsApi.prototype.apiV2PatientreviewsPatientReviewIdGet = function (requestParameters, options) {
|
|
523
|
+
var _this = this;
|
|
524
|
+
return (0, exports.PatientReviewsApiFp)(this.configuration).apiV2PatientreviewsPatientReviewIdGet(requestParameters.patientReviewId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
525
|
+
};
|
|
526
|
+
/**
|
|
527
|
+
*
|
|
528
|
+
* @summary Creates a patient review for the authenticated user.
|
|
529
|
+
* @param {PatientReviewsApiApiV2PatientreviewsPostRequest} requestParameters Request parameters.
|
|
530
|
+
* @param {*} [options] Override http request option.
|
|
531
|
+
* @throws {RequiredError}
|
|
532
|
+
* @memberof PatientReviewsApi
|
|
533
|
+
*/
|
|
534
|
+
PatientReviewsApi.prototype.apiV2PatientreviewsPost = function (requestParameters, options) {
|
|
535
|
+
var _this = this;
|
|
536
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
537
|
+
return (0, exports.PatientReviewsApiFp)(this.configuration).apiV2PatientreviewsPost(requestParameters.xCloudhospitalPlatform, requestParameters.createPatientReviewCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
538
|
+
};
|
|
539
|
+
return PatientReviewsApi;
|
|
540
|
+
}(base_1.BaseAPI));
|
|
541
|
+
exports.PatientReviewsApi = PatientReviewsApi;
|
package/lib/api.d.ts
CHANGED
|
@@ -40,6 +40,8 @@ export * from './api/medias-api';
|
|
|
40
40
|
export * from './api/messages-api';
|
|
41
41
|
export * from './api/notifications-api';
|
|
42
42
|
export * from './api/origins-api';
|
|
43
|
+
export * from './api/patient-review-form-settings-api';
|
|
44
|
+
export * from './api/patient-reviews-api';
|
|
43
45
|
export * from './api/patients-api';
|
|
44
46
|
export * from './api/plans-api';
|
|
45
47
|
export * from './api/platform-interpretation-languages-api';
|
package/lib/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wCAAwC,CAAC;AACvD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC"}
|
package/lib/api.js
CHANGED
|
@@ -58,6 +58,8 @@ __exportStar(require("./api/medias-api"), exports);
|
|
|
58
58
|
__exportStar(require("./api/messages-api"), exports);
|
|
59
59
|
__exportStar(require("./api/notifications-api"), exports);
|
|
60
60
|
__exportStar(require("./api/origins-api"), exports);
|
|
61
|
+
__exportStar(require("./api/patient-review-form-settings-api"), exports);
|
|
62
|
+
__exportStar(require("./api/patient-reviews-api"), exports);
|
|
61
63
|
__exportStar(require("./api/patients-api"), exports);
|
|
62
64
|
__exportStar(require("./api/plans-api"), exports);
|
|
63
65
|
__exportStar(require("./api/platform-interpretation-languages-api"), exports);
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { AccreditationType } from './accreditation-type';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -45,5 +46,11 @@ export interface AccreditationItemModel {
|
|
|
45
46
|
* @memberof AccreditationItemModel
|
|
46
47
|
*/
|
|
47
48
|
'description'?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {AccreditationType}
|
|
52
|
+
* @memberof AccreditationItemModel
|
|
53
|
+
*/
|
|
54
|
+
'accreditationType'?: AccreditationType;
|
|
48
55
|
}
|
|
49
56
|
//# sourceMappingURL=accreditation-item-model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accreditation-item-model.d.ts","sourceRoot":"","sources":["../../src/models/accreditation-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"accreditation-item-model.d.ts","sourceRoot":"","sources":["../../src/models/accreditation-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,iBAAiB,CAAC;CAC3C"}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { AccreditationType } from './accreditation-type';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -45,5 +46,11 @@ export interface AccreditationModel {
|
|
|
45
46
|
* @memberof AccreditationModel
|
|
46
47
|
*/
|
|
47
48
|
'description'?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {AccreditationType}
|
|
52
|
+
* @memberof AccreditationModel
|
|
53
|
+
*/
|
|
54
|
+
'accreditationType'?: AccreditationType;
|
|
48
55
|
}
|
|
49
56
|
//# sourceMappingURL=accreditation-model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accreditation-model.d.ts","sourceRoot":"","sources":["../../src/models/accreditation-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"accreditation-model.d.ts","sourceRoot":"","sources":["../../src/models/accreditation-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,iBAAiB,CAAC;CAC3C"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
* Values: - `External`: External - `Platform`: Platform
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const AccreditationType: {
|
|
18
|
+
readonly External: "External";
|
|
19
|
+
readonly Platform: "Platform";
|
|
20
|
+
};
|
|
21
|
+
export type AccreditationType = typeof AccreditationType[keyof typeof AccreditationType];
|
|
22
|
+
//# sourceMappingURL=accreditation-type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accreditation-type.d.ts","sourceRoot":"","sources":["../../src/models/accreditation-type.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC"}
|