ch-api-client-typescript2 5.22.1 → 5.23.8

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 (61) hide show
  1. package/lib/api/deals-api.d.ts +4 -4
  2. package/lib/api/deals-api.d.ts.map +1 -1
  3. package/lib/api/doctor-affiliations-api.d.ts +4 -4
  4. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  5. package/lib/api/hospitals-api.d.ts +10 -10
  6. package/lib/api/hospitals-api.d.ts.map +1 -1
  7. package/lib/api/prescriptions-api.d.ts +198 -0
  8. package/lib/api/prescriptions-api.d.ts.map +1 -0
  9. package/lib/api/prescriptions-api.js +346 -0
  10. package/lib/api.d.ts +1 -0
  11. package/lib/api.d.ts.map +1 -1
  12. package/lib/api.js +1 -0
  13. package/lib/models/article-document-model.d.ts +13 -0
  14. package/lib/models/article-document-model.d.ts.map +1 -1
  15. package/lib/models/article-item-model.d.ts +24 -0
  16. package/lib/models/article-item-model.d.ts.map +1 -1
  17. package/lib/models/article-model.d.ts +24 -6
  18. package/lib/models/article-model.d.ts.map +1 -1
  19. package/lib/models/{appointment-timetables-model.d.ts → get-appointment-timetables-response-model.d.ts} +7 -7
  20. package/lib/models/get-appointment-timetables-response-model.d.ts.map +1 -0
  21. package/lib/models/index.d.ts +7 -1
  22. package/lib/models/index.d.ts.map +1 -1
  23. package/lib/models/index.js +7 -1
  24. package/lib/models/prescription-diagnosis-model.d.ts +37 -0
  25. package/lib/models/prescription-diagnosis-model.d.ts.map +1 -0
  26. package/lib/models/prescription-diagnosis-model.js +15 -0
  27. package/lib/models/prescription-item-model.d.ts +151 -0
  28. package/lib/models/prescription-item-model.d.ts.map +1 -0
  29. package/lib/models/prescription-item-model.js +15 -0
  30. package/lib/models/prescription-medication-model.d.ts +79 -0
  31. package/lib/models/prescription-medication-model.d.ts.map +1 -0
  32. package/lib/models/prescription-medication-model.js +15 -0
  33. package/lib/models/prescription-model.d.ts +172 -0
  34. package/lib/models/prescription-model.d.ts.map +1 -0
  35. package/lib/models/prescription-model.js +15 -0
  36. package/lib/models/prescription-symptom-model.d.ts +49 -0
  37. package/lib/models/prescription-symptom-model.d.ts.map +1 -0
  38. package/lib/models/prescription-symptom-model.js +15 -0
  39. package/lib/models/prescriptions-model.d.ts +33 -0
  40. package/lib/models/prescriptions-model.d.ts.map +1 -0
  41. package/lib/models/prescriptions-model.js +15 -0
  42. package/package.json +1 -1
  43. package/src/.openapi-generator/FILES +8 -1
  44. package/src/api/deals-api.ts +4 -4
  45. package/src/api/doctor-affiliations-api.ts +4 -4
  46. package/src/api/hospitals-api.ts +8 -8
  47. package/src/api/prescriptions-api.ts +333 -0
  48. package/src/api.ts +1 -0
  49. package/src/models/article-document-model.ts +15 -0
  50. package/src/models/article-item-model.ts +24 -0
  51. package/src/models/article-model.ts +24 -6
  52. package/src/models/{appointment-timetables-model.ts → get-appointment-timetables-response-model.ts} +6 -6
  53. package/src/models/index.ts +7 -1
  54. package/src/models/prescription-diagnosis-model.ts +42 -0
  55. package/src/models/prescription-item-model.ts +156 -0
  56. package/src/models/prescription-medication-model.ts +84 -0
  57. package/src/models/prescription-model.ts +183 -0
  58. package/src/models/prescription-symptom-model.ts +54 -0
  59. package/src/models/prescriptions-model.ts +42 -0
  60. package/lib/models/appointment-timetables-model.d.ts.map +0 -1
  61. /package/lib/models/{appointment-timetables-model.js → get-appointment-timetables-response-model.js} +0 -0
@@ -0,0 +1,198 @@
1
+ /**
2
+ * Swagger UI - Cloud Hospital Api-INT
3
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
4
+ *
5
+ * The version of the OpenAPI document: 2
6
+ * Contact: hyounoosung@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 { PrescriptionModel } from '../models';
16
+ import { PrescriptionsModel } from '../models';
17
+ /**
18
+ * PrescriptionsApi - axios parameter creator
19
+ * @export
20
+ */
21
+ export declare const PrescriptionsApiAxiosParamCreator: (configuration?: Configuration) => {
22
+ /**
23
+ *
24
+ * @summary Get prescriptions of current user.
25
+ * @param {string} [languageCode]
26
+ * @param {string} [hospitalId]
27
+ * @param {string} [doctorId]
28
+ * @param {string} [doctorAffiliationId]
29
+ * @param {number} [page]
30
+ * @param {number} [limit]
31
+ * @param {Date} [lastRetrieved]
32
+ * @param {*} [options] Override http request option.
33
+ * @throws {RequiredError}
34
+ */
35
+ apiV2PrescriptionsGet: (languageCode?: string, hospitalId?: string, doctorId?: string, doctorAffiliationId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36
+ /**
37
+ *
38
+ * @summary Get prescription of current user by id.
39
+ * @param {string} id
40
+ * @param {string} [languageCode]
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ apiV2PrescriptionsIdGet: (id: string, languageCode?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
45
+ };
46
+ /**
47
+ * PrescriptionsApi - functional programming interface
48
+ * @export
49
+ */
50
+ export declare const PrescriptionsApiFp: (configuration?: Configuration) => {
51
+ /**
52
+ *
53
+ * @summary Get prescriptions of current user.
54
+ * @param {string} [languageCode]
55
+ * @param {string} [hospitalId]
56
+ * @param {string} [doctorId]
57
+ * @param {string} [doctorAffiliationId]
58
+ * @param {number} [page]
59
+ * @param {number} [limit]
60
+ * @param {Date} [lastRetrieved]
61
+ * @param {*} [options] Override http request option.
62
+ * @throws {RequiredError}
63
+ */
64
+ apiV2PrescriptionsGet(languageCode?: string, hospitalId?: string, doctorId?: string, doctorAffiliationId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrescriptionsModel>>;
65
+ /**
66
+ *
67
+ * @summary Get prescription of current user by id.
68
+ * @param {string} id
69
+ * @param {string} [languageCode]
70
+ * @param {*} [options] Override http request option.
71
+ * @throws {RequiredError}
72
+ */
73
+ apiV2PrescriptionsIdGet(id: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrescriptionModel>>;
74
+ };
75
+ /**
76
+ * PrescriptionsApi - factory interface
77
+ * @export
78
+ */
79
+ export declare const PrescriptionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
80
+ /**
81
+ *
82
+ * @summary Get prescriptions of current user.
83
+ * @param {string} [languageCode]
84
+ * @param {string} [hospitalId]
85
+ * @param {string} [doctorId]
86
+ * @param {string} [doctorAffiliationId]
87
+ * @param {number} [page]
88
+ * @param {number} [limit]
89
+ * @param {Date} [lastRetrieved]
90
+ * @param {*} [options] Override http request option.
91
+ * @throws {RequiredError}
92
+ */
93
+ apiV2PrescriptionsGet(languageCode?: string, hospitalId?: string, doctorId?: string, doctorAffiliationId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<PrescriptionsModel>;
94
+ /**
95
+ *
96
+ * @summary Get prescription of current user by id.
97
+ * @param {string} id
98
+ * @param {string} [languageCode]
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ apiV2PrescriptionsIdGet(id: string, languageCode?: string, options?: any): AxiosPromise<PrescriptionModel>;
103
+ };
104
+ /**
105
+ * Request parameters for apiV2PrescriptionsGet operation in PrescriptionsApi.
106
+ * @export
107
+ * @interface PrescriptionsApiApiV2PrescriptionsGetRequest
108
+ */
109
+ export interface PrescriptionsApiApiV2PrescriptionsGetRequest {
110
+ /**
111
+ *
112
+ * @type {string}
113
+ * @memberof PrescriptionsApiApiV2PrescriptionsGet
114
+ */
115
+ readonly languageCode?: string;
116
+ /**
117
+ *
118
+ * @type {string}
119
+ * @memberof PrescriptionsApiApiV2PrescriptionsGet
120
+ */
121
+ readonly hospitalId?: string;
122
+ /**
123
+ *
124
+ * @type {string}
125
+ * @memberof PrescriptionsApiApiV2PrescriptionsGet
126
+ */
127
+ readonly doctorId?: string;
128
+ /**
129
+ *
130
+ * @type {string}
131
+ * @memberof PrescriptionsApiApiV2PrescriptionsGet
132
+ */
133
+ readonly doctorAffiliationId?: string;
134
+ /**
135
+ *
136
+ * @type {number}
137
+ * @memberof PrescriptionsApiApiV2PrescriptionsGet
138
+ */
139
+ readonly page?: number;
140
+ /**
141
+ *
142
+ * @type {number}
143
+ * @memberof PrescriptionsApiApiV2PrescriptionsGet
144
+ */
145
+ readonly limit?: number;
146
+ /**
147
+ *
148
+ * @type {Date}
149
+ * @memberof PrescriptionsApiApiV2PrescriptionsGet
150
+ */
151
+ readonly lastRetrieved?: Date;
152
+ }
153
+ /**
154
+ * Request parameters for apiV2PrescriptionsIdGet operation in PrescriptionsApi.
155
+ * @export
156
+ * @interface PrescriptionsApiApiV2PrescriptionsIdGetRequest
157
+ */
158
+ export interface PrescriptionsApiApiV2PrescriptionsIdGetRequest {
159
+ /**
160
+ *
161
+ * @type {string}
162
+ * @memberof PrescriptionsApiApiV2PrescriptionsIdGet
163
+ */
164
+ readonly id: string;
165
+ /**
166
+ *
167
+ * @type {string}
168
+ * @memberof PrescriptionsApiApiV2PrescriptionsIdGet
169
+ */
170
+ readonly languageCode?: string;
171
+ }
172
+ /**
173
+ * PrescriptionsApi - object-oriented interface
174
+ * @export
175
+ * @class PrescriptionsApi
176
+ * @extends {BaseAPI}
177
+ */
178
+ export declare class PrescriptionsApi extends BaseAPI {
179
+ /**
180
+ *
181
+ * @summary Get prescriptions of current user.
182
+ * @param {PrescriptionsApiApiV2PrescriptionsGetRequest} requestParameters Request parameters.
183
+ * @param {*} [options] Override http request option.
184
+ * @throws {RequiredError}
185
+ * @memberof PrescriptionsApi
186
+ */
187
+ apiV2PrescriptionsGet(requestParameters?: PrescriptionsApiApiV2PrescriptionsGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrescriptionsModel, any>>;
188
+ /**
189
+ *
190
+ * @summary Get prescription of current user by id.
191
+ * @param {PrescriptionsApiApiV2PrescriptionsIdGetRequest} requestParameters Request parameters.
192
+ * @param {*} [options] Override http request option.
193
+ * @throws {RequiredError}
194
+ * @memberof PrescriptionsApi
195
+ */
196
+ apiV2PrescriptionsIdGet(requestParameters: PrescriptionsApiApiV2PrescriptionsIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrescriptionModel, any>>;
197
+ }
198
+ //# sourceMappingURL=prescriptions-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prescriptions-api.d.ts","sourceRoot":"","sources":["../../src/api/prescriptions-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,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C;;;GAGG;AACH,eAAO,MAAM,iCAAiC,mBAA6B,aAAa;IAEhF;;;;;;;;;;;;OAYG;2CAC0C,MAAM,eAAe,MAAM,aAAa,MAAM,wBAAwB,MAAM,SAAS,MAAM,UAAU,MAAM,kBAAkB,IAAI,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IA0DvO;;;;;;;OAOG;kCACiC,MAAM,iBAAiB,MAAM,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;CAoCjI,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,mBAA4B,aAAa;IAGhE;;;;;;;;;;;;OAYG;yCACwC,MAAM,eA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,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CACjC;AAED;;;;;GAKG;AACH,qBAAa,gBAAiB,SAAQ,OAAO;IACzC;;;;;;;OAOG;IACI,qBAAqB,CAAC,iBAAiB,GAAE,4CAAiD,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI/H;;;;;;;OAOG;IACI,uBAAuB,CAAC,iBAAiB,EAAE,8CAA8C,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGjI"}
@@ -0,0 +1,346 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Swagger UI - Cloud Hospital Api-INT
6
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
7
+ *
8
+ * The version of the OpenAPI document: 2
9
+ * Contact: hyounoosung@icloudhospital.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
41
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
48
+ });
49
+ };
50
+ var __generator = (this && this.__generator) || function (thisArg, body) {
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
+ function verb(n) { return function (v) { return step([n, v]); }; }
54
+ function step(op) {
55
+ if (f) throw new TypeError("Generator is already executing.");
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
+ if (y = 0, t) op = [op[0] & 2, t.value];
59
+ switch (op[0]) {
60
+ case 0: case 1: t = op; break;
61
+ case 4: _.label++; return { value: op[1], done: false };
62
+ case 5: _.label++; y = op[1]; op = [0]; continue;
63
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
+ default:
65
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
+ if (t[2]) _.ops.pop();
70
+ _.trys.pop(); continue;
71
+ }
72
+ op = body.call(thisArg, _);
73
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
+ }
76
+ };
77
+ var __importDefault = (this && this.__importDefault) || function (mod) {
78
+ return (mod && mod.__esModule) ? mod : { "default": mod };
79
+ };
80
+ Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.PrescriptionsApi = exports.PrescriptionsApiFactory = exports.PrescriptionsApiFp = exports.PrescriptionsApiAxiosParamCreator = 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
+ * PrescriptionsApi - axios parameter creator
90
+ * @export
91
+ */
92
+ var PrescriptionsApiAxiosParamCreator = function (configuration) {
93
+ var _this = this;
94
+ return {
95
+ /**
96
+ *
97
+ * @summary Get prescriptions of current user.
98
+ * @param {string} [languageCode]
99
+ * @param {string} [hospitalId]
100
+ * @param {string} [doctorId]
101
+ * @param {string} [doctorAffiliationId]
102
+ * @param {number} [page]
103
+ * @param {number} [limit]
104
+ * @param {Date} [lastRetrieved]
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ apiV2PrescriptionsGet: function (languageCode, hospitalId, doctorId, doctorAffiliationId, page, limit, lastRetrieved, options) {
109
+ if (options === void 0) { options = {}; }
110
+ return __awaiter(_this, void 0, void 0, function () {
111
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
112
+ return __generator(this, function (_a) {
113
+ switch (_a.label) {
114
+ case 0:
115
+ localVarPath = "/api/v2/prescriptions";
116
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
117
+ if (configuration) {
118
+ baseOptions = configuration.baseOptions;
119
+ }
120
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
121
+ localVarHeaderParameter = {};
122
+ localVarQueryParameter = {};
123
+ // authentication oauth2 required
124
+ // oauth required
125
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
126
+ case 1:
127
+ // authentication oauth2 required
128
+ // oauth required
129
+ _a.sent();
130
+ if (languageCode !== undefined) {
131
+ localVarQueryParameter['LanguageCode'] = languageCode;
132
+ }
133
+ if (hospitalId !== undefined) {
134
+ localVarQueryParameter['HospitalId'] = hospitalId;
135
+ }
136
+ if (doctorId !== undefined) {
137
+ localVarQueryParameter['DoctorId'] = doctorId;
138
+ }
139
+ if (doctorAffiliationId !== undefined) {
140
+ localVarQueryParameter['DoctorAffiliationId'] = doctorAffiliationId;
141
+ }
142
+ if (page !== undefined) {
143
+ localVarQueryParameter['page'] = page;
144
+ }
145
+ if (limit !== undefined) {
146
+ localVarQueryParameter['limit'] = limit;
147
+ }
148
+ if (lastRetrieved !== undefined) {
149
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
150
+ lastRetrieved.toISOString() :
151
+ lastRetrieved;
152
+ }
153
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
154
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
155
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
156
+ return [2 /*return*/, {
157
+ url: (0, common_1.toPathString)(localVarUrlObj),
158
+ options: localVarRequestOptions,
159
+ }];
160
+ }
161
+ });
162
+ });
163
+ },
164
+ /**
165
+ *
166
+ * @summary Get prescription of current user by id.
167
+ * @param {string} id
168
+ * @param {string} [languageCode]
169
+ * @param {*} [options] Override http request option.
170
+ * @throws {RequiredError}
171
+ */
172
+ apiV2PrescriptionsIdGet: function (id, languageCode, options) {
173
+ if (options === void 0) { options = {}; }
174
+ return __awaiter(_this, void 0, void 0, function () {
175
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
176
+ return __generator(this, function (_a) {
177
+ switch (_a.label) {
178
+ case 0:
179
+ // verify required parameter 'id' is not null or undefined
180
+ (0, common_1.assertParamExists)('apiV2PrescriptionsIdGet', 'id', id);
181
+ localVarPath = "/api/v2/prescriptions/{id}"
182
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
183
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
184
+ if (configuration) {
185
+ baseOptions = configuration.baseOptions;
186
+ }
187
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
188
+ localVarHeaderParameter = {};
189
+ localVarQueryParameter = {};
190
+ // authentication oauth2 required
191
+ // oauth required
192
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
193
+ case 1:
194
+ // authentication oauth2 required
195
+ // oauth required
196
+ _a.sent();
197
+ if (languageCode !== undefined) {
198
+ localVarQueryParameter['languageCode'] = languageCode;
199
+ }
200
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
201
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
202
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
203
+ return [2 /*return*/, {
204
+ url: (0, common_1.toPathString)(localVarUrlObj),
205
+ options: localVarRequestOptions,
206
+ }];
207
+ }
208
+ });
209
+ });
210
+ },
211
+ };
212
+ };
213
+ exports.PrescriptionsApiAxiosParamCreator = PrescriptionsApiAxiosParamCreator;
214
+ /**
215
+ * PrescriptionsApi - functional programming interface
216
+ * @export
217
+ */
218
+ var PrescriptionsApiFp = function (configuration) {
219
+ var localVarAxiosParamCreator = (0, exports.PrescriptionsApiAxiosParamCreator)(configuration);
220
+ return {
221
+ /**
222
+ *
223
+ * @summary Get prescriptions of current user.
224
+ * @param {string} [languageCode]
225
+ * @param {string} [hospitalId]
226
+ * @param {string} [doctorId]
227
+ * @param {string} [doctorAffiliationId]
228
+ * @param {number} [page]
229
+ * @param {number} [limit]
230
+ * @param {Date} [lastRetrieved]
231
+ * @param {*} [options] Override http request option.
232
+ * @throws {RequiredError}
233
+ */
234
+ apiV2PrescriptionsGet: function (languageCode, hospitalId, doctorId, doctorAffiliationId, page, limit, lastRetrieved, options) {
235
+ return __awaiter(this, void 0, void 0, function () {
236
+ var localVarAxiosArgs;
237
+ return __generator(this, function (_a) {
238
+ switch (_a.label) {
239
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2PrescriptionsGet(languageCode, hospitalId, doctorId, doctorAffiliationId, page, limit, lastRetrieved, options)];
240
+ case 1:
241
+ localVarAxiosArgs = _a.sent();
242
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
243
+ }
244
+ });
245
+ });
246
+ },
247
+ /**
248
+ *
249
+ * @summary Get prescription of current user by id.
250
+ * @param {string} id
251
+ * @param {string} [languageCode]
252
+ * @param {*} [options] Override http request option.
253
+ * @throws {RequiredError}
254
+ */
255
+ apiV2PrescriptionsIdGet: function (id, languageCode, options) {
256
+ return __awaiter(this, void 0, void 0, function () {
257
+ var localVarAxiosArgs;
258
+ return __generator(this, function (_a) {
259
+ switch (_a.label) {
260
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2PrescriptionsIdGet(id, languageCode, options)];
261
+ case 1:
262
+ localVarAxiosArgs = _a.sent();
263
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
264
+ }
265
+ });
266
+ });
267
+ },
268
+ };
269
+ };
270
+ exports.PrescriptionsApiFp = PrescriptionsApiFp;
271
+ /**
272
+ * PrescriptionsApi - factory interface
273
+ * @export
274
+ */
275
+ var PrescriptionsApiFactory = function (configuration, basePath, axios) {
276
+ var localVarFp = (0, exports.PrescriptionsApiFp)(configuration);
277
+ return {
278
+ /**
279
+ *
280
+ * @summary Get prescriptions of current user.
281
+ * @param {string} [languageCode]
282
+ * @param {string} [hospitalId]
283
+ * @param {string} [doctorId]
284
+ * @param {string} [doctorAffiliationId]
285
+ * @param {number} [page]
286
+ * @param {number} [limit]
287
+ * @param {Date} [lastRetrieved]
288
+ * @param {*} [options] Override http request option.
289
+ * @throws {RequiredError}
290
+ */
291
+ apiV2PrescriptionsGet: function (languageCode, hospitalId, doctorId, doctorAffiliationId, page, limit, lastRetrieved, options) {
292
+ return localVarFp.apiV2PrescriptionsGet(languageCode, hospitalId, doctorId, doctorAffiliationId, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
293
+ },
294
+ /**
295
+ *
296
+ * @summary Get prescription of current user by id.
297
+ * @param {string} id
298
+ * @param {string} [languageCode]
299
+ * @param {*} [options] Override http request option.
300
+ * @throws {RequiredError}
301
+ */
302
+ apiV2PrescriptionsIdGet: function (id, languageCode, options) {
303
+ return localVarFp.apiV2PrescriptionsIdGet(id, languageCode, options).then(function (request) { return request(axios, basePath); });
304
+ },
305
+ };
306
+ };
307
+ exports.PrescriptionsApiFactory = PrescriptionsApiFactory;
308
+ /**
309
+ * PrescriptionsApi - object-oriented interface
310
+ * @export
311
+ * @class PrescriptionsApi
312
+ * @extends {BaseAPI}
313
+ */
314
+ var PrescriptionsApi = /** @class */ (function (_super) {
315
+ __extends(PrescriptionsApi, _super);
316
+ function PrescriptionsApi() {
317
+ return _super !== null && _super.apply(this, arguments) || this;
318
+ }
319
+ /**
320
+ *
321
+ * @summary Get prescriptions of current user.
322
+ * @param {PrescriptionsApiApiV2PrescriptionsGetRequest} requestParameters Request parameters.
323
+ * @param {*} [options] Override http request option.
324
+ * @throws {RequiredError}
325
+ * @memberof PrescriptionsApi
326
+ */
327
+ PrescriptionsApi.prototype.apiV2PrescriptionsGet = function (requestParameters, options) {
328
+ var _this = this;
329
+ if (requestParameters === void 0) { requestParameters = {}; }
330
+ return (0, exports.PrescriptionsApiFp)(this.configuration).apiV2PrescriptionsGet(requestParameters.languageCode, requestParameters.hospitalId, requestParameters.doctorId, requestParameters.doctorAffiliationId, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
331
+ };
332
+ /**
333
+ *
334
+ * @summary Get prescription of current user by id.
335
+ * @param {PrescriptionsApiApiV2PrescriptionsIdGetRequest} requestParameters Request parameters.
336
+ * @param {*} [options] Override http request option.
337
+ * @throws {RequiredError}
338
+ * @memberof PrescriptionsApi
339
+ */
340
+ PrescriptionsApi.prototype.apiV2PrescriptionsIdGet = function (requestParameters, options) {
341
+ var _this = this;
342
+ return (0, exports.PrescriptionsApiFp)(this.configuration).apiV2PrescriptionsIdGet(requestParameters.id, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
343
+ };
344
+ return PrescriptionsApi;
345
+ }(base_1.BaseAPI));
346
+ exports.PrescriptionsApi = PrescriptionsApi;
package/lib/api.d.ts CHANGED
@@ -37,6 +37,7 @@ export * from './api/notifications-api';
37
37
  export * from './api/origins-api';
38
38
  export * from './api/patients-api';
39
39
  export * from './api/plans-api';
40
+ export * from './api/prescriptions-api';
40
41
  export * from './api/profiles-api';
41
42
  export * from './api/search-curations-api';
42
43
  export * from './api/secure-containers-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,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,C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AAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC"}
package/lib/api.js CHANGED
@@ -55,6 +55,7 @@ __exportStar(require("./api/notifications-api"), exports);
55
55
  __exportStar(require("./api/origins-api"), exports);
56
56
  __exportStar(require("./api/patients-api"), exports);
57
57
  __exportStar(require("./api/plans-api"), exports);
58
+ __exportStar(require("./api/prescriptions-api"), exports);
58
59
  __exportStar(require("./api/profiles-api"), exports);
59
60
  __exportStar(require("./api/search-curations-api"), exports);
60
61
  __exportStar(require("./api/secure-containers-api"), exports);
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { ArticleContributorDocumentModel } from './article-contributor-document-model';
13
13
  import { AuditableEntityDocumentModel } from './auditable-entity-document-model';
14
+ import { DepartmentSubDocumentModel } from './department-sub-document-model';
14
15
  import { HospitalSubDocumentModel } from './hospital-sub-document-model';
15
16
  import { TagDocumentModel } from './tag-document-model';
16
17
  import { TranslationDocumentModel } from './translation-document-model';
@@ -302,6 +303,12 @@ export interface ArticleDocumentModel {
302
303
  * @memberof ArticleDocumentModel
303
304
  */
304
305
  'BackgroundThumbnail'?: string | null;
306
+ /**
307
+ *
308
+ * @type {number}
309
+ * @memberof ArticleDocumentModel
310
+ */
311
+ 'ReadTime'?: number | null;
305
312
  /**
306
313
  *
307
314
  * @type {HospitalSubDocumentModel}
@@ -326,6 +333,12 @@ export interface ArticleDocumentModel {
326
333
  * @memberof ArticleDocumentModel
327
334
  */
328
335
  'ArticleContributors'?: Array<ArticleContributorDocumentModel> | null;
336
+ /**
337
+ *
338
+ * @type {DepartmentSubDocumentModel}
339
+ * @memberof ArticleDocumentModel
340
+ */
341
+ 'SpecialtyType'?: DepartmentSubDocumentModel;
329
342
  /**
330
343
  *
331
344
  * @type {AuditableEntityDocumentModel}
@@ -1 +1 @@
1
- {"version":3,"file":"article-document-model.d.ts","sourceRoot":"","sources":["../../src/models/article-document-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAGvF,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAGjF,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAGzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAGxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAExE;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OA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C;IACtC;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IACxC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,+BAA+B,CAAC,GAAG,IAAI,CAAC;IACtE;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,4BAA4B,CAAC;CACpD"}
1
+ {"version":3,"file":"article-document-model.d.ts","sourceRoot":"","sources":["../../src/models/article-document-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAGvF,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAGjF,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAG7E,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAGzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAGxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAExE;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,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AAC,+BAA+B,CAAC,GAAG,IAAI,CAAC;IACtE;;;;OAIG;IACH,eAAe,CAAC,EAAE,0BAA0B,CAAC;IAC7C;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,4BAA4B,CAAC;CACpD"}
@@ -49,6 +49,24 @@ export interface ArticleItemModel {
49
49
  * @memberof ArticleItemModel
50
50
  */
51
51
  'description'?: string | null;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof ArticleItemModel
56
+ */
57
+ 'overview'?: string | null;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof ArticleItemModel
62
+ */
63
+ 'specialtyType'?: string | null;
64
+ /**
65
+ *
66
+ * @type {number}
67
+ * @memberof ArticleItemModel
68
+ */
69
+ 'readTime'?: number | null;
52
70
  /**
53
71
  *
54
72
  * @type {boolean}
@@ -73,6 +91,12 @@ export interface ArticleItemModel {
73
91
  * @memberof ArticleItemModel
74
92
  */
75
93
  'userName'?: string | null;
94
+ /**
95
+ *
96
+ * @type {string}
97
+ * @memberof ArticleItemModel
98
+ */
99
+ 'userPhotoThumbnail'?: string | null;
76
100
  /**
77
101
  *
78
102
  * @type {string}