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.
Files changed (80) hide show
  1. package/lib/api/deals-api.d.ts +232 -0
  2. package/lib/api/deals-api.d.ts.map +1 -1
  3. package/lib/api/deals-api.js +308 -0
  4. package/lib/api/doctor-affiliations-api.d.ts +232 -0
  5. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  6. package/lib/api/doctor-affiliations-api.js +308 -0
  7. package/lib/api/hospitals-api.d.ts +232 -0
  8. package/lib/api/hospitals-api.d.ts.map +1 -1
  9. package/lib/api/hospitals-api.js +308 -0
  10. package/lib/api/patient-review-form-settings-api.d.ts +106 -0
  11. package/lib/api/patient-review-form-settings-api.d.ts.map +1 -0
  12. package/lib/api/patient-review-form-settings-api.js +232 -0
  13. package/lib/api/patient-reviews-api.d.ts +293 -0
  14. package/lib/api/patient-reviews-api.d.ts.map +1 -0
  15. package/lib/api/patient-reviews-api.js +541 -0
  16. package/lib/api.d.ts +2 -0
  17. package/lib/api.d.ts.map +1 -1
  18. package/lib/api.js +2 -0
  19. package/lib/models/accreditation-item-model.d.ts +7 -0
  20. package/lib/models/accreditation-item-model.d.ts.map +1 -1
  21. package/lib/models/accreditation-model.d.ts +7 -0
  22. package/lib/models/accreditation-model.d.ts.map +1 -1
  23. package/lib/models/accreditation-type.d.ts +22 -0
  24. package/lib/models/accreditation-type.d.ts.map +1 -0
  25. package/lib/models/accreditation-type.js +25 -0
  26. package/lib/models/create-patient-review-before-and-after-photo-input-model.d.ts +49 -0
  27. package/lib/models/create-patient-review-before-and-after-photo-input-model.d.ts.map +1 -0
  28. package/lib/models/create-patient-review-before-and-after-photo-input-model.js +15 -0
  29. package/lib/models/create-patient-review-command.d.ts +90 -0
  30. package/lib/models/create-patient-review-command.d.ts.map +1 -0
  31. package/lib/models/create-patient-review-command.js +15 -0
  32. package/lib/models/create-patient-review-consent-input-model.d.ts +43 -0
  33. package/lib/models/create-patient-review-consent-input-model.d.ts.map +1 -0
  34. package/lib/models/create-patient-review-consent-input-model.js +15 -0
  35. package/lib/models/create-patient-review-detail-input-model.d.ts +37 -0
  36. package/lib/models/create-patient-review-detail-input-model.d.ts.map +1 -0
  37. package/lib/models/create-patient-review-detail-input-model.js +15 -0
  38. package/lib/models/create-patient-review-general-photo-input-model.d.ts +37 -0
  39. package/lib/models/create-patient-review-general-photo-input-model.d.ts.map +1 -0
  40. package/lib/models/create-patient-review-general-photo-input-model.js +15 -0
  41. package/lib/models/create-patient-review-verification-document-input-model.d.ts +31 -0
  42. package/lib/models/create-patient-review-verification-document-input-model.d.ts.map +1 -0
  43. package/lib/models/create-patient-review-verification-document-input-model.js +15 -0
  44. package/lib/models/index.d.ts +18 -0
  45. package/lib/models/index.d.ts.map +1 -1
  46. package/lib/models/index.js +18 -0
  47. package/lib/models/patient-review-before-and-after-public-photo-model.d.ts +61 -0
  48. package/lib/models/patient-review-before-and-after-public-photo-model.d.ts.map +1 -0
  49. package/lib/models/patient-review-before-and-after-public-photo-model.js +15 -0
  50. package/lib/models/patient-review-detail-model.d.ts +37 -0
  51. package/lib/models/patient-review-detail-model.d.ts.map +1 -0
  52. package/lib/models/patient-review-detail-model.js +15 -0
  53. package/lib/models/patient-review-form-setting-detail-model.d.ts +79 -0
  54. package/lib/models/patient-review-form-setting-detail-model.d.ts.map +1 -0
  55. package/lib/models/patient-review-form-setting-detail-model.js +15 -0
  56. package/lib/models/patient-review-form-setting-model.d.ts +75 -0
  57. package/lib/models/patient-review-form-setting-model.d.ts.map +1 -0
  58. package/lib/models/patient-review-form-setting-model.js +15 -0
  59. package/lib/models/patient-review-general-public-photo-model.d.ts +49 -0
  60. package/lib/models/patient-review-general-public-photo-model.d.ts.map +1 -0
  61. package/lib/models/patient-review-general-public-photo-model.js +15 -0
  62. package/lib/models/patient-review-item-model.d.ts +114 -0
  63. package/lib/models/patient-review-item-model.d.ts.map +1 -0
  64. package/lib/models/patient-review-item-model.js +15 -0
  65. package/lib/models/patient-review-model.d.ts +114 -0
  66. package/lib/models/patient-review-model.d.ts.map +1 -0
  67. package/lib/models/patient-review-model.js +15 -0
  68. package/lib/models/patient-review-platform.d.ts +23 -0
  69. package/lib/models/patient-review-platform.d.ts.map +1 -0
  70. package/lib/models/patient-review-platform.js +26 -0
  71. package/lib/models/patient-review-status.d.ts +23 -0
  72. package/lib/models/patient-review-status.d.ts.map +1 -0
  73. package/lib/models/patient-review-status.js +26 -0
  74. package/lib/models/patient-review-target-sorting-field.d.ts +22 -0
  75. package/lib/models/patient-review-target-sorting-field.d.ts.map +1 -0
  76. package/lib/models/patient-review-target-sorting-field.js +25 -0
  77. package/lib/models/patient-reviews-model.d.ts +51 -0
  78. package/lib/models/patient-reviews-model.d.ts.map +1 -0
  79. package/lib/models/patient-reviews-model.js +15 -0
  80. package/package.json +1 -1
@@ -0,0 +1,232 @@
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.PatientReviewFormSettingsApi = exports.PatientReviewFormSettingsApiFactory = exports.PatientReviewFormSettingsApiFp = exports.PatientReviewFormSettingsApiAxiosParamCreator = 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
+ * PatientReviewFormSettingsApi - axios parameter creator
99
+ * @export
100
+ */
101
+ var PatientReviewFormSettingsApiAxiosParamCreator = function (configuration) {
102
+ var _this = this;
103
+ return {
104
+ /**
105
+ *
106
+ * @summary Gets patient review form setting for the given hospital and request platform.
107
+ * @param {string} [xCloudhospitalPlatform] Request platform header value.
108
+ * @param {string} [hospitalId] Target hospital id.
109
+ * @param {string} [languageCode] Preferred response language code.
110
+ * @param {*} [options] Override http request option.
111
+ * @throws {RequiredError}
112
+ */
113
+ apiV2PatientreviewformsettingsGet: function (xCloudhospitalPlatform_1, hospitalId_1, languageCode_1) {
114
+ var args_1 = [];
115
+ for (var _i = 3; _i < arguments.length; _i++) {
116
+ args_1[_i - 3] = arguments[_i];
117
+ }
118
+ return __awaiter(_this, __spreadArray([xCloudhospitalPlatform_1, hospitalId_1, languageCode_1], args_1, true), void 0, function (xCloudhospitalPlatform, hospitalId, languageCode, options) {
119
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
120
+ if (options === void 0) { options = {}; }
121
+ return __generator(this, function (_a) {
122
+ localVarPath = "/api/v2/patientreviewformsettings";
123
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
124
+ if (configuration) {
125
+ baseOptions = configuration.baseOptions;
126
+ }
127
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
128
+ localVarHeaderParameter = {};
129
+ localVarQueryParameter = {};
130
+ if (hospitalId !== undefined) {
131
+ localVarQueryParameter['hospitalId'] = hospitalId;
132
+ }
133
+ if (languageCode !== undefined) {
134
+ localVarQueryParameter['languageCode'] = languageCode;
135
+ }
136
+ if (xCloudhospitalPlatform != null) {
137
+ localVarHeaderParameter['x-cloudhospital-platform'] = String(xCloudhospitalPlatform);
138
+ }
139
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
140
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
141
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
142
+ return [2 /*return*/, {
143
+ url: (0, common_1.toPathString)(localVarUrlObj),
144
+ options: localVarRequestOptions,
145
+ }];
146
+ });
147
+ });
148
+ },
149
+ };
150
+ };
151
+ exports.PatientReviewFormSettingsApiAxiosParamCreator = PatientReviewFormSettingsApiAxiosParamCreator;
152
+ /**
153
+ * PatientReviewFormSettingsApi - functional programming interface
154
+ * @export
155
+ */
156
+ var PatientReviewFormSettingsApiFp = function (configuration) {
157
+ var localVarAxiosParamCreator = (0, exports.PatientReviewFormSettingsApiAxiosParamCreator)(configuration);
158
+ return {
159
+ /**
160
+ *
161
+ * @summary Gets patient review form setting for the given hospital and request platform.
162
+ * @param {string} [xCloudhospitalPlatform] Request platform header value.
163
+ * @param {string} [hospitalId] Target hospital id.
164
+ * @param {string} [languageCode] Preferred response language code.
165
+ * @param {*} [options] Override http request option.
166
+ * @throws {RequiredError}
167
+ */
168
+ apiV2PatientreviewformsettingsGet: function (xCloudhospitalPlatform, hospitalId, languageCode, options) {
169
+ return __awaiter(this, void 0, void 0, function () {
170
+ var localVarAxiosArgs;
171
+ return __generator(this, function (_a) {
172
+ switch (_a.label) {
173
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2PatientreviewformsettingsGet(xCloudhospitalPlatform, hospitalId, languageCode, options)];
174
+ case 1:
175
+ localVarAxiosArgs = _a.sent();
176
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
177
+ }
178
+ });
179
+ });
180
+ },
181
+ };
182
+ };
183
+ exports.PatientReviewFormSettingsApiFp = PatientReviewFormSettingsApiFp;
184
+ /**
185
+ * PatientReviewFormSettingsApi - factory interface
186
+ * @export
187
+ */
188
+ var PatientReviewFormSettingsApiFactory = function (configuration, basePath, axios) {
189
+ var localVarFp = (0, exports.PatientReviewFormSettingsApiFp)(configuration);
190
+ return {
191
+ /**
192
+ *
193
+ * @summary Gets patient review form setting for the given hospital and request platform.
194
+ * @param {string} [xCloudhospitalPlatform] Request platform header value.
195
+ * @param {string} [hospitalId] Target hospital id.
196
+ * @param {string} [languageCode] Preferred response language code.
197
+ * @param {*} [options] Override http request option.
198
+ * @throws {RequiredError}
199
+ */
200
+ apiV2PatientreviewformsettingsGet: function (xCloudhospitalPlatform, hospitalId, languageCode, options) {
201
+ return localVarFp.apiV2PatientreviewformsettingsGet(xCloudhospitalPlatform, hospitalId, languageCode, options).then(function (request) { return request(axios, basePath); });
202
+ },
203
+ };
204
+ };
205
+ exports.PatientReviewFormSettingsApiFactory = PatientReviewFormSettingsApiFactory;
206
+ /**
207
+ * PatientReviewFormSettingsApi - object-oriented interface
208
+ * @export
209
+ * @class PatientReviewFormSettingsApi
210
+ * @extends {BaseAPI}
211
+ */
212
+ var PatientReviewFormSettingsApi = /** @class */ (function (_super) {
213
+ __extends(PatientReviewFormSettingsApi, _super);
214
+ function PatientReviewFormSettingsApi() {
215
+ return _super !== null && _super.apply(this, arguments) || this;
216
+ }
217
+ /**
218
+ *
219
+ * @summary Gets patient review form setting for the given hospital and request platform.
220
+ * @param {PatientReviewFormSettingsApiApiV2PatientreviewformsettingsGetRequest} requestParameters Request parameters.
221
+ * @param {*} [options] Override http request option.
222
+ * @throws {RequiredError}
223
+ * @memberof PatientReviewFormSettingsApi
224
+ */
225
+ PatientReviewFormSettingsApi.prototype.apiV2PatientreviewformsettingsGet = function (requestParameters, options) {
226
+ var _this = this;
227
+ if (requestParameters === void 0) { requestParameters = {}; }
228
+ return (0, exports.PatientReviewFormSettingsApiFp)(this.configuration).apiV2PatientreviewformsettingsGet(requestParameters.xCloudhospitalPlatform, requestParameters.hospitalId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
229
+ };
230
+ return PatientReviewFormSettingsApi;
231
+ }(base_1.BaseAPI));
232
+ exports.PatientReviewFormSettingsApi = PatientReviewFormSettingsApi;
@@ -0,0 +1,293 @@
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 { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { CreatePatientReviewCommand } from '../models';
16
+ import { PatientReviewModel } from '../models';
17
+ import { PatientReviewStatus } from '../models';
18
+ import { PatientReviewsModel } from '../models';
19
+ import { SortingDirection } from '../models';
20
+ /**
21
+ * PatientReviewsApi - axios parameter creator
22
+ * @export
23
+ */
24
+ export declare const PatientReviewsApiAxiosParamCreator: (configuration?: Configuration) => {
25
+ /**
26
+ *
27
+ * @summary Gets the authenticated user\'s own patient reviews.
28
+ * @param {PatientReviewStatus} [status]
29
+ * @param {string} [languageCode]
30
+ * @param {SortingDirection} [sortingDirection]
31
+ * @param {number} [page]
32
+ * @param {number} [limit]
33
+ * @param {Date} [lastRetrieved]
34
+ * @param {*} [options] Override http request option.
35
+ * @throws {RequiredError}
36
+ */
37
+ apiV2PatientreviewsGet: (status?: PatientReviewStatus, languageCode?: string, sortingDirection?: SortingDirection, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
38
+ /**
39
+ *
40
+ * @summary Deletes (soft delete) a patient review owned by the authenticated user.
41
+ * @param {string} patientReviewId Patient review id.
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ apiV2PatientreviewsPatientReviewIdDelete: (patientReviewId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
46
+ /**
47
+ *
48
+ * @summary Gets a single patient review owned by the authenticated user.
49
+ * @param {string} patientReviewId Patient review id.
50
+ * @param {string} [languageCode] Language code. Accepts either &#x60;en&#x60; (ISO 639-1 two-letter) or &#x60;en-US&#x60; (locale) format.
51
+ * @param {*} [options] Override http request option.
52
+ * @throws {RequiredError}
53
+ */
54
+ apiV2PatientreviewsPatientReviewIdGet: (patientReviewId: string, languageCode?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
+ /**
56
+ *
57
+ * @summary Creates a patient review for the authenticated user.
58
+ * @param {string} [xCloudhospitalPlatform] Request platform header value.
59
+ * @param {CreatePatientReviewCommand} [createPatientReviewCommand] Patient review creation payload.
60
+ * @param {*} [options] Override http request option.
61
+ * @throws {RequiredError}
62
+ */
63
+ apiV2PatientreviewsPost: (xCloudhospitalPlatform?: string, createPatientReviewCommand?: CreatePatientReviewCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
+ };
65
+ /**
66
+ * PatientReviewsApi - functional programming interface
67
+ * @export
68
+ */
69
+ export declare const PatientReviewsApiFp: (configuration?: Configuration) => {
70
+ /**
71
+ *
72
+ * @summary Gets the authenticated user\'s own patient reviews.
73
+ * @param {PatientReviewStatus} [status]
74
+ * @param {string} [languageCode]
75
+ * @param {SortingDirection} [sortingDirection]
76
+ * @param {number} [page]
77
+ * @param {number} [limit]
78
+ * @param {Date} [lastRetrieved]
79
+ * @param {*} [options] Override http request option.
80
+ * @throws {RequiredError}
81
+ */
82
+ apiV2PatientreviewsGet(status?: PatientReviewStatus, languageCode?: string, sortingDirection?: SortingDirection, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientReviewsModel>>;
83
+ /**
84
+ *
85
+ * @summary Deletes (soft delete) a patient review owned by the authenticated user.
86
+ * @param {string} patientReviewId Patient review id.
87
+ * @param {*} [options] Override http request option.
88
+ * @throws {RequiredError}
89
+ */
90
+ apiV2PatientreviewsPatientReviewIdDelete(patientReviewId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
91
+ /**
92
+ *
93
+ * @summary Gets a single patient review owned by the authenticated user.
94
+ * @param {string} patientReviewId Patient review id.
95
+ * @param {string} [languageCode] Language code. Accepts either &#x60;en&#x60; (ISO 639-1 two-letter) or &#x60;en-US&#x60; (locale) format.
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ apiV2PatientreviewsPatientReviewIdGet(patientReviewId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientReviewModel>>;
100
+ /**
101
+ *
102
+ * @summary Creates a patient review for the authenticated user.
103
+ * @param {string} [xCloudhospitalPlatform] Request platform header value.
104
+ * @param {CreatePatientReviewCommand} [createPatientReviewCommand] Patient review creation payload.
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ apiV2PatientreviewsPost(xCloudhospitalPlatform?: string, createPatientReviewCommand?: CreatePatientReviewCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
109
+ };
110
+ /**
111
+ * PatientReviewsApi - factory interface
112
+ * @export
113
+ */
114
+ export declare const PatientReviewsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
115
+ /**
116
+ *
117
+ * @summary Gets the authenticated user\'s own patient reviews.
118
+ * @param {PatientReviewStatus} [status]
119
+ * @param {string} [languageCode]
120
+ * @param {SortingDirection} [sortingDirection]
121
+ * @param {number} [page]
122
+ * @param {number} [limit]
123
+ * @param {Date} [lastRetrieved]
124
+ * @param {*} [options] Override http request option.
125
+ * @throws {RequiredError}
126
+ */
127
+ apiV2PatientreviewsGet(status?: PatientReviewStatus, languageCode?: string, sortingDirection?: SortingDirection, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<PatientReviewsModel>;
128
+ /**
129
+ *
130
+ * @summary Deletes (soft delete) a patient review owned by the authenticated user.
131
+ * @param {string} patientReviewId Patient review id.
132
+ * @param {*} [options] Override http request option.
133
+ * @throws {RequiredError}
134
+ */
135
+ apiV2PatientreviewsPatientReviewIdDelete(patientReviewId: string, options?: any): AxiosPromise<boolean>;
136
+ /**
137
+ *
138
+ * @summary Gets a single patient review owned by the authenticated user.
139
+ * @param {string} patientReviewId Patient review id.
140
+ * @param {string} [languageCode] Language code. Accepts either &#x60;en&#x60; (ISO 639-1 two-letter) or &#x60;en-US&#x60; (locale) format.
141
+ * @param {*} [options] Override http request option.
142
+ * @throws {RequiredError}
143
+ */
144
+ apiV2PatientreviewsPatientReviewIdGet(patientReviewId: string, languageCode?: string, options?: any): AxiosPromise<PatientReviewModel>;
145
+ /**
146
+ *
147
+ * @summary Creates a patient review for the authenticated user.
148
+ * @param {string} [xCloudhospitalPlatform] Request platform header value.
149
+ * @param {CreatePatientReviewCommand} [createPatientReviewCommand] Patient review creation payload.
150
+ * @param {*} [options] Override http request option.
151
+ * @throws {RequiredError}
152
+ */
153
+ apiV2PatientreviewsPost(xCloudhospitalPlatform?: string, createPatientReviewCommand?: CreatePatientReviewCommand, options?: any): AxiosPromise<string>;
154
+ };
155
+ /**
156
+ * Request parameters for apiV2PatientreviewsGet operation in PatientReviewsApi.
157
+ * @export
158
+ * @interface PatientReviewsApiApiV2PatientreviewsGetRequest
159
+ */
160
+ export interface PatientReviewsApiApiV2PatientreviewsGetRequest {
161
+ /**
162
+ *
163
+ * @type {PatientReviewStatus}
164
+ * @memberof PatientReviewsApiApiV2PatientreviewsGet
165
+ */
166
+ readonly status?: PatientReviewStatus;
167
+ /**
168
+ *
169
+ * @type {string}
170
+ * @memberof PatientReviewsApiApiV2PatientreviewsGet
171
+ */
172
+ readonly languageCode?: string;
173
+ /**
174
+ *
175
+ * @type {SortingDirection}
176
+ * @memberof PatientReviewsApiApiV2PatientreviewsGet
177
+ */
178
+ readonly sortingDirection?: SortingDirection;
179
+ /**
180
+ *
181
+ * @type {number}
182
+ * @memberof PatientReviewsApiApiV2PatientreviewsGet
183
+ */
184
+ readonly page?: number;
185
+ /**
186
+ *
187
+ * @type {number}
188
+ * @memberof PatientReviewsApiApiV2PatientreviewsGet
189
+ */
190
+ readonly limit?: number;
191
+ /**
192
+ *
193
+ * @type {Date}
194
+ * @memberof PatientReviewsApiApiV2PatientreviewsGet
195
+ */
196
+ readonly lastRetrieved?: Date;
197
+ }
198
+ /**
199
+ * Request parameters for apiV2PatientreviewsPatientReviewIdDelete operation in PatientReviewsApi.
200
+ * @export
201
+ * @interface PatientReviewsApiApiV2PatientreviewsPatientReviewIdDeleteRequest
202
+ */
203
+ export interface PatientReviewsApiApiV2PatientreviewsPatientReviewIdDeleteRequest {
204
+ /**
205
+ * Patient review id.
206
+ * @type {string}
207
+ * @memberof PatientReviewsApiApiV2PatientreviewsPatientReviewIdDelete
208
+ */
209
+ readonly patientReviewId: string;
210
+ }
211
+ /**
212
+ * Request parameters for apiV2PatientreviewsPatientReviewIdGet operation in PatientReviewsApi.
213
+ * @export
214
+ * @interface PatientReviewsApiApiV2PatientreviewsPatientReviewIdGetRequest
215
+ */
216
+ export interface PatientReviewsApiApiV2PatientreviewsPatientReviewIdGetRequest {
217
+ /**
218
+ * Patient review id.
219
+ * @type {string}
220
+ * @memberof PatientReviewsApiApiV2PatientreviewsPatientReviewIdGet
221
+ */
222
+ readonly patientReviewId: string;
223
+ /**
224
+ * Language code. Accepts either &#x60;en&#x60; (ISO 639-1 two-letter) or &#x60;en-US&#x60; (locale) format.
225
+ * @type {string}
226
+ * @memberof PatientReviewsApiApiV2PatientreviewsPatientReviewIdGet
227
+ */
228
+ readonly languageCode?: string;
229
+ }
230
+ /**
231
+ * Request parameters for apiV2PatientreviewsPost operation in PatientReviewsApi.
232
+ * @export
233
+ * @interface PatientReviewsApiApiV2PatientreviewsPostRequest
234
+ */
235
+ export interface PatientReviewsApiApiV2PatientreviewsPostRequest {
236
+ /**
237
+ * Request platform header value.
238
+ * @type {string}
239
+ * @memberof PatientReviewsApiApiV2PatientreviewsPost
240
+ */
241
+ readonly xCloudhospitalPlatform?: string;
242
+ /**
243
+ * Patient review creation payload.
244
+ * @type {CreatePatientReviewCommand}
245
+ * @memberof PatientReviewsApiApiV2PatientreviewsPost
246
+ */
247
+ readonly createPatientReviewCommand?: CreatePatientReviewCommand;
248
+ }
249
+ /**
250
+ * PatientReviewsApi - object-oriented interface
251
+ * @export
252
+ * @class PatientReviewsApi
253
+ * @extends {BaseAPI}
254
+ */
255
+ export declare class PatientReviewsApi extends BaseAPI {
256
+ /**
257
+ *
258
+ * @summary Gets the authenticated user\'s own patient reviews.
259
+ * @param {PatientReviewsApiApiV2PatientreviewsGetRequest} requestParameters Request parameters.
260
+ * @param {*} [options] Override http request option.
261
+ * @throws {RequiredError}
262
+ * @memberof PatientReviewsApi
263
+ */
264
+ apiV2PatientreviewsGet(requestParameters?: PatientReviewsApiApiV2PatientreviewsGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientReviewsModel, any>>;
265
+ /**
266
+ *
267
+ * @summary Deletes (soft delete) a patient review owned by the authenticated user.
268
+ * @param {PatientReviewsApiApiV2PatientreviewsPatientReviewIdDeleteRequest} requestParameters Request parameters.
269
+ * @param {*} [options] Override http request option.
270
+ * @throws {RequiredError}
271
+ * @memberof PatientReviewsApi
272
+ */
273
+ apiV2PatientreviewsPatientReviewIdDelete(requestParameters: PatientReviewsApiApiV2PatientreviewsPatientReviewIdDeleteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
274
+ /**
275
+ *
276
+ * @summary Gets a single patient review owned by the authenticated user.
277
+ * @param {PatientReviewsApiApiV2PatientreviewsPatientReviewIdGetRequest} requestParameters Request parameters.
278
+ * @param {*} [options] Override http request option.
279
+ * @throws {RequiredError}
280
+ * @memberof PatientReviewsApi
281
+ */
282
+ apiV2PatientreviewsPatientReviewIdGet(requestParameters: PatientReviewsApiApiV2PatientreviewsPatientReviewIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientReviewModel, any>>;
283
+ /**
284
+ *
285
+ * @summary Creates a patient review for the authenticated user.
286
+ * @param {PatientReviewsApiApiV2PatientreviewsPostRequest} requestParameters Request parameters.
287
+ * @param {*} [options] Override http request option.
288
+ * @throws {RequiredError}
289
+ * @memberof PatientReviewsApi
290
+ */
291
+ apiV2PatientreviewsPost(requestParameters?: PatientReviewsApiApiV2PatientreviewsPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
292
+ }
293
+ //# sourceMappingURL=patient-reviews-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patient-reviews-api.d.ts","sourceRoot":"","sources":["../../src/api/patient-reviews-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAE7F,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAEvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAEhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAIhD,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAC7C;;;GAGG;AACH,eAAO,MAAM,kCAAkC,mBAA6B,aAAa;IAEjF;;;;;;;;;;;OAWG;sCACqC,mBAAmB,iBAAiB,MAAM,qBAAqB,gBAAgB,SAAS,MAAM,UAAU,MAAM,kBAAkB,IAAI,YAAW,kBAAkB,KAAQ,OAAO,CAAC,WAAW,CAAC;IAsDrO;;;;;;OAMG;gEAC+D,MAAM,YAAW,kBAAkB,KAAQ,OAAO,CAAC,WAAW,CAAC;IA+BjI;;;;;;;OAOG;6DAC4D,MAAM,iBAAiB,MAAM,YAAW,kBAAkB,KAAQ,OAAO,CAAC,WAAW,CAAC;IAmCrJ;;;;;;;OAOG;uDACsD,MAAM,+BAA+B,0BAA0B,YAAW,kBAAkB,KAAQ,OAAO,CAAC,WAAW,CAAC;CAoCxL,CAAC;AAEF;;;GAGG;AAC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