ch-api-client-typescript2 5.14.27 → 5.16.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/lib/api/doctor-affiliations-api.d.ts +3 -12
  2. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  3. package/lib/api/doctor-affiliations-api.js +6 -12
  4. package/lib/api/hospitals-api.d.ts +65 -0
  5. package/lib/api/hospitals-api.d.ts.map +1 -1
  6. package/lib/api/hospitals-api.js +87 -0
  7. package/lib/api.d.ts +0 -3
  8. package/lib/api.d.ts.map +1 -1
  9. package/lib/api.js +0 -3
  10. package/lib/models/hospital-branch-item-model.d.ts +99 -0
  11. package/lib/models/hospital-branch-item-model.d.ts.map +1 -0
  12. package/lib/models/hospital-branches-model.d.ts +33 -0
  13. package/lib/models/hospital-branches-model.d.ts.map +1 -0
  14. package/lib/models/hospital-group-item-model.d.ts +55 -0
  15. package/lib/models/hospital-group-item-model.d.ts.map +1 -0
  16. package/lib/models/index.d.ts +3 -20
  17. package/lib/models/index.d.ts.map +1 -1
  18. package/lib/models/index.js +3 -20
  19. package/package.json +1 -1
  20. package/src/.openapi-generator/FILES +3 -23
  21. package/src/api/doctor-affiliations-api.ts +6 -20
  22. package/src/api/hospitals-api.ts +111 -0
  23. package/src/api.ts +0 -3
  24. package/src/models/hospital-branch-item-model.ts +108 -0
  25. package/src/models/{consultations-model.ts → hospital-branches-model.ts} +10 -10
  26. package/src/models/hospital-group-item-model.ts +60 -0
  27. package/src/models/index.ts +3 -20
  28. package/lib/api/bookings-api.d.ts +0 -439
  29. package/lib/api/bookings-api.d.ts.map +0 -1
  30. package/lib/api/bookings-api.js +0 -665
  31. package/lib/api/consultations-api.d.ts +0 -421
  32. package/lib/api/consultations-api.d.ts.map +0 -1
  33. package/lib/api/consultations-api.js +0 -653
  34. package/lib/api/hospitals-consultation-timetables-api.d.ts +0 -124
  35. package/lib/api/hospitals-consultation-timetables-api.d.ts.map +0 -1
  36. package/lib/api/hospitals-consultation-timetables-api.js +0 -240
  37. package/lib/models/booking-change-log-model.d.ts +0 -44
  38. package/lib/models/booking-change-log-model.d.ts.map +0 -1
  39. package/lib/models/booking-item-model.d.ts +0 -233
  40. package/lib/models/booking-item-model.d.ts.map +0 -1
  41. package/lib/models/booking-model.d.ts +0 -240
  42. package/lib/models/booking-model.d.ts.map +0 -1
  43. package/lib/models/booking-status.d.ts +0 -27
  44. package/lib/models/booking-status.d.ts.map +0 -1
  45. package/lib/models/booking-status.js +0 -30
  46. package/lib/models/bookings-model.d.ts +0 -33
  47. package/lib/models/bookings-model.d.ts.map +0 -1
  48. package/lib/models/bookings-model.js +0 -15
  49. package/lib/models/consultation-change-log-model.d.ts +0 -44
  50. package/lib/models/consultation-change-log-model.d.ts.map +0 -1
  51. package/lib/models/consultation-change-log-model.js +0 -15
  52. package/lib/models/consultation-item-model.d.ts +0 -275
  53. package/lib/models/consultation-item-model.d.ts.map +0 -1
  54. package/lib/models/consultation-item-model.js +0 -15
  55. package/lib/models/consultation-model.d.ts +0 -282
  56. package/lib/models/consultation-model.d.ts.map +0 -1
  57. package/lib/models/consultation-model.js +0 -15
  58. package/lib/models/consultation-status.d.ts +0 -27
  59. package/lib/models/consultation-status.d.ts.map +0 -1
  60. package/lib/models/consultation-status.js +0 -30
  61. package/lib/models/consultation-timetable-date-model.d.ts +0 -58
  62. package/lib/models/consultation-timetable-date-model.d.ts.map +0 -1
  63. package/lib/models/consultation-timetable-date-model.js +0 -15
  64. package/lib/models/consultation-timetable-model.d.ts +0 -44
  65. package/lib/models/consultation-timetable-model.d.ts.map +0 -1
  66. package/lib/models/consultation-timetable-model.js +0 -15
  67. package/lib/models/consultation-timetable-status.d.ts +0 -22
  68. package/lib/models/consultation-timetable-status.d.ts.map +0 -1
  69. package/lib/models/consultation-timetable-status.js +0 -25
  70. package/lib/models/consultation-timetable-time-slot-model.d.ts +0 -56
  71. package/lib/models/consultation-timetable-time-slot-model.d.ts.map +0 -1
  72. package/lib/models/consultation-timetable-time-slot-model.js +0 -15
  73. package/lib/models/consultation-type.d.ts +0 -23
  74. package/lib/models/consultation-type.d.ts.map +0 -1
  75. package/lib/models/consultation-type.js +0 -26
  76. package/lib/models/consultations-model.d.ts +0 -33
  77. package/lib/models/consultations-model.d.ts.map +0 -1
  78. package/lib/models/consultations-model.js +0 -15
  79. package/lib/models/create-booking-command.d.ts +0 -104
  80. package/lib/models/create-booking-command.d.ts.map +0 -1
  81. package/lib/models/create-booking-command.js +0 -15
  82. package/lib/models/create-consultation-command.d.ts +0 -135
  83. package/lib/models/create-consultation-command.d.ts.map +0 -1
  84. package/lib/models/create-consultation-command.js +0 -15
  85. package/lib/models/sorting-order.d.ts +0 -22
  86. package/lib/models/sorting-order.d.ts.map +0 -1
  87. package/lib/models/sorting-order.js +0 -25
  88. package/lib/models/update-booking-command.d.ts +0 -86
  89. package/lib/models/update-booking-command.d.ts.map +0 -1
  90. package/lib/models/update-booking-command.js +0 -15
  91. package/lib/models/update-consultation-command.d.ts +0 -110
  92. package/lib/models/update-consultation-command.d.ts.map +0 -1
  93. package/lib/models/update-consultation-command.js +0 -15
  94. package/src/api/bookings-api.ts +0 -748
  95. package/src/api/consultations-api.ts +0 -720
  96. package/src/api/hospitals-consultation-timetables-api.ts +0 -201
  97. package/src/models/booking-change-log-model.ts +0 -51
  98. package/src/models/booking-item-model.ts +0 -246
  99. package/src/models/booking-model.ts +0 -255
  100. package/src/models/booking-status.ts +0 -36
  101. package/src/models/bookings-model.ts +0 -42
  102. package/src/models/consultation-change-log-model.ts +0 -51
  103. package/src/models/consultation-item-model.ts +0 -288
  104. package/src/models/consultation-model.ts +0 -297
  105. package/src/models/consultation-status.ts +0 -36
  106. package/src/models/consultation-timetable-date-model.ts +0 -69
  107. package/src/models/consultation-timetable-model.ts +0 -51
  108. package/src/models/consultation-timetable-status.ts +0 -31
  109. package/src/models/consultation-timetable-time-slot-model.ts +0 -63
  110. package/src/models/consultation-type.ts +0 -32
  111. package/src/models/create-booking-command.ts +0 -111
  112. package/src/models/create-consultation-command.ts +0 -144
  113. package/src/models/sorting-order.ts +0 -31
  114. package/src/models/update-booking-command.ts +0 -93
  115. package/src/models/update-consultation-command.ts +0 -117
  116. /package/lib/models/{booking-change-log-model.js → hospital-branch-item-model.js} +0 -0
  117. /package/lib/models/{booking-item-model.js → hospital-branches-model.js} +0 -0
  118. /package/lib/models/{booking-model.js → hospital-group-item-model.js} +0 -0
@@ -1,124 +0,0 @@
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 { ConsultationTimetableModel } from '../models';
16
- /**
17
- * HospitalsConsultationTimetablesApi - axios parameter creator
18
- * @export
19
- */
20
- export declare const HospitalsConsultationTimetablesApiAxiosParamCreator: (configuration?: Configuration) => {
21
- /**
22
- *
23
- * @summary Get hospital consultation timetables by hospitalId
24
- * @param {string} hospitalId
25
- * @param {number} [year]
26
- * @param {number} [month]
27
- * @param {string} [timeZone]
28
- * @param {string} [consultationIdExcluded]
29
- * @param {*} [options] Override http request option.
30
- * @throws {RequiredError}
31
- */
32
- apiV2HospitalsHospitalIdConsultationtimetablesGet: (hospitalId: string, year?: number, month?: number, timeZone?: string, consultationIdExcluded?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
- };
34
- /**
35
- * HospitalsConsultationTimetablesApi - functional programming interface
36
- * @export
37
- */
38
- export declare const HospitalsConsultationTimetablesApiFp: (configuration?: Configuration) => {
39
- /**
40
- *
41
- * @summary Get hospital consultation timetables by hospitalId
42
- * @param {string} hospitalId
43
- * @param {number} [year]
44
- * @param {number} [month]
45
- * @param {string} [timeZone]
46
- * @param {string} [consultationIdExcluded]
47
- * @param {*} [options] Override http request option.
48
- * @throws {RequiredError}
49
- */
50
- apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, consultationIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationTimetableModel>>;
51
- };
52
- /**
53
- * HospitalsConsultationTimetablesApi - factory interface
54
- * @export
55
- */
56
- export declare const HospitalsConsultationTimetablesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
57
- /**
58
- *
59
- * @summary Get hospital consultation timetables by hospitalId
60
- * @param {string} hospitalId
61
- * @param {number} [year]
62
- * @param {number} [month]
63
- * @param {string} [timeZone]
64
- * @param {string} [consultationIdExcluded]
65
- * @param {*} [options] Override http request option.
66
- * @throws {RequiredError}
67
- */
68
- apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, consultationIdExcluded?: string, options?: any): AxiosPromise<ConsultationTimetableModel>;
69
- };
70
- /**
71
- * Request parameters for apiV2HospitalsHospitalIdConsultationtimetablesGet operation in HospitalsConsultationTimetablesApi.
72
- * @export
73
- * @interface HospitalsConsultationTimetablesApiApiV2HospitalsHospitalIdConsultationtimetablesGetRequest
74
- */
75
- export interface HospitalsConsultationTimetablesApiApiV2HospitalsHospitalIdConsultationtimetablesGetRequest {
76
- /**
77
- *
78
- * @type {string}
79
- * @memberof HospitalsConsultationTimetablesApiApiV2HospitalsHospitalIdConsultationtimetablesGet
80
- */
81
- readonly hospitalId: string;
82
- /**
83
- *
84
- * @type {number}
85
- * @memberof HospitalsConsultationTimetablesApiApiV2HospitalsHospitalIdConsultationtimetablesGet
86
- */
87
- readonly year?: number;
88
- /**
89
- *
90
- * @type {number}
91
- * @memberof HospitalsConsultationTimetablesApiApiV2HospitalsHospitalIdConsultationtimetablesGet
92
- */
93
- readonly month?: number;
94
- /**
95
- *
96
- * @type {string}
97
- * @memberof HospitalsConsultationTimetablesApiApiV2HospitalsHospitalIdConsultationtimetablesGet
98
- */
99
- readonly timeZone?: string;
100
- /**
101
- *
102
- * @type {string}
103
- * @memberof HospitalsConsultationTimetablesApiApiV2HospitalsHospitalIdConsultationtimetablesGet
104
- */
105
- readonly consultationIdExcluded?: string;
106
- }
107
- /**
108
- * HospitalsConsultationTimetablesApi - object-oriented interface
109
- * @export
110
- * @class HospitalsConsultationTimetablesApi
111
- * @extends {BaseAPI}
112
- */
113
- export declare class HospitalsConsultationTimetablesApi extends BaseAPI {
114
- /**
115
- *
116
- * @summary Get hospital consultation timetables by hospitalId
117
- * @param {HospitalsConsultationTimetablesApiApiV2HospitalsHospitalIdConsultationtimetablesGetRequest} requestParameters Request parameters.
118
- * @param {*} [options] Override http request option.
119
- * @throws {RequiredError}
120
- * @memberof HospitalsConsultationTimetablesApi
121
- */
122
- apiV2HospitalsHospitalIdConsultationtimetablesGet(requestParameters: HospitalsConsultationTimetablesApiApiV2HospitalsHospitalIdConsultationtimetablesGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConsultationTimetableModel, any>>;
123
- }
124
- //# sourceMappingURL=hospitals-consultation-timetables-api.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hospitals-consultation-timetables-api.d.ts","sourceRoot":"","sources":["../../src/api/hospitals-consultation-timetables-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;AACvD;;;GAGG;AACH,eA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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.HospitalsConsultationTimetablesApi = exports.HospitalsConsultationTimetablesApiFactory = exports.HospitalsConsultationTimetablesApiFp = exports.HospitalsConsultationTimetablesApiAxiosParamCreator = 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
- * HospitalsConsultationTimetablesApi - axios parameter creator
90
- * @export
91
- */
92
- var HospitalsConsultationTimetablesApiAxiosParamCreator = function (configuration) {
93
- var _this = this;
94
- return {
95
- /**
96
- *
97
- * @summary Get hospital consultation timetables by hospitalId
98
- * @param {string} hospitalId
99
- * @param {number} [year]
100
- * @param {number} [month]
101
- * @param {string} [timeZone]
102
- * @param {string} [consultationIdExcluded]
103
- * @param {*} [options] Override http request option.
104
- * @throws {RequiredError}
105
- */
106
- apiV2HospitalsHospitalIdConsultationtimetablesGet: function (hospitalId, year, month, timeZone, consultationIdExcluded, options) {
107
- if (options === void 0) { options = {}; }
108
- return __awaiter(_this, void 0, void 0, function () {
109
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
110
- return __generator(this, function (_a) {
111
- switch (_a.label) {
112
- case 0:
113
- // verify required parameter 'hospitalId' is not null or undefined
114
- (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdConsultationtimetablesGet', 'hospitalId', hospitalId);
115
- localVarPath = "/api/v2/hospitals/{hospitalId}/consultationtimetables"
116
- .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
117
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
118
- if (configuration) {
119
- baseOptions = configuration.baseOptions;
120
- }
121
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
122
- localVarHeaderParameter = {};
123
- localVarQueryParameter = {};
124
- // authentication oauth2 required
125
- // oauth required
126
- return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
127
- case 1:
128
- // authentication oauth2 required
129
- // oauth required
130
- _a.sent();
131
- if (year !== undefined) {
132
- localVarQueryParameter['Year'] = year;
133
- }
134
- if (month !== undefined) {
135
- localVarQueryParameter['Month'] = month;
136
- }
137
- if (timeZone !== undefined) {
138
- localVarQueryParameter['TimeZone'] = timeZone;
139
- }
140
- if (consultationIdExcluded !== undefined) {
141
- localVarQueryParameter['ConsultationIdExcluded'] = consultationIdExcluded;
142
- }
143
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
144
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
145
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
146
- return [2 /*return*/, {
147
- url: (0, common_1.toPathString)(localVarUrlObj),
148
- options: localVarRequestOptions,
149
- }];
150
- }
151
- });
152
- });
153
- },
154
- };
155
- };
156
- exports.HospitalsConsultationTimetablesApiAxiosParamCreator = HospitalsConsultationTimetablesApiAxiosParamCreator;
157
- /**
158
- * HospitalsConsultationTimetablesApi - functional programming interface
159
- * @export
160
- */
161
- var HospitalsConsultationTimetablesApiFp = function (configuration) {
162
- var localVarAxiosParamCreator = (0, exports.HospitalsConsultationTimetablesApiAxiosParamCreator)(configuration);
163
- return {
164
- /**
165
- *
166
- * @summary Get hospital consultation timetables by hospitalId
167
- * @param {string} hospitalId
168
- * @param {number} [year]
169
- * @param {number} [month]
170
- * @param {string} [timeZone]
171
- * @param {string} [consultationIdExcluded]
172
- * @param {*} [options] Override http request option.
173
- * @throws {RequiredError}
174
- */
175
- apiV2HospitalsHospitalIdConsultationtimetablesGet: function (hospitalId, year, month, timeZone, consultationIdExcluded, options) {
176
- return __awaiter(this, void 0, void 0, function () {
177
- var localVarAxiosArgs;
178
- return __generator(this, function (_a) {
179
- switch (_a.label) {
180
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, timeZone, consultationIdExcluded, options)];
181
- case 1:
182
- localVarAxiosArgs = _a.sent();
183
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
184
- }
185
- });
186
- });
187
- },
188
- };
189
- };
190
- exports.HospitalsConsultationTimetablesApiFp = HospitalsConsultationTimetablesApiFp;
191
- /**
192
- * HospitalsConsultationTimetablesApi - factory interface
193
- * @export
194
- */
195
- var HospitalsConsultationTimetablesApiFactory = function (configuration, basePath, axios) {
196
- var localVarFp = (0, exports.HospitalsConsultationTimetablesApiFp)(configuration);
197
- return {
198
- /**
199
- *
200
- * @summary Get hospital consultation timetables by hospitalId
201
- * @param {string} hospitalId
202
- * @param {number} [year]
203
- * @param {number} [month]
204
- * @param {string} [timeZone]
205
- * @param {string} [consultationIdExcluded]
206
- * @param {*} [options] Override http request option.
207
- * @throws {RequiredError}
208
- */
209
- apiV2HospitalsHospitalIdConsultationtimetablesGet: function (hospitalId, year, month, timeZone, consultationIdExcluded, options) {
210
- return localVarFp.apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, timeZone, consultationIdExcluded, options).then(function (request) { return request(axios, basePath); });
211
- },
212
- };
213
- };
214
- exports.HospitalsConsultationTimetablesApiFactory = HospitalsConsultationTimetablesApiFactory;
215
- /**
216
- * HospitalsConsultationTimetablesApi - object-oriented interface
217
- * @export
218
- * @class HospitalsConsultationTimetablesApi
219
- * @extends {BaseAPI}
220
- */
221
- var HospitalsConsultationTimetablesApi = /** @class */ (function (_super) {
222
- __extends(HospitalsConsultationTimetablesApi, _super);
223
- function HospitalsConsultationTimetablesApi() {
224
- return _super !== null && _super.apply(this, arguments) || this;
225
- }
226
- /**
227
- *
228
- * @summary Get hospital consultation timetables by hospitalId
229
- * @param {HospitalsConsultationTimetablesApiApiV2HospitalsHospitalIdConsultationtimetablesGetRequest} requestParameters Request parameters.
230
- * @param {*} [options] Override http request option.
231
- * @throws {RequiredError}
232
- * @memberof HospitalsConsultationTimetablesApi
233
- */
234
- HospitalsConsultationTimetablesApi.prototype.apiV2HospitalsHospitalIdConsultationtimetablesGet = function (requestParameters, options) {
235
- var _this = this;
236
- return (0, exports.HospitalsConsultationTimetablesApiFp)(this.configuration).apiV2HospitalsHospitalIdConsultationtimetablesGet(requestParameters.hospitalId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.consultationIdExcluded, options).then(function (request) { return request(_this.axios, _this.basePath); });
237
- };
238
- return HospitalsConsultationTimetablesApi;
239
- }(base_1.BaseAPI));
240
- exports.HospitalsConsultationTimetablesApi = HospitalsConsultationTimetablesApi;
@@ -1,44 +0,0 @@
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 { BookingStatus } from './booking-status';
13
- /**
14
- *
15
- * @export
16
- * @interface BookingChangeLogModel
17
- */
18
- export interface BookingChangeLogModel {
19
- /**
20
- *
21
- * @type {BookingStatus}
22
- * @memberof BookingChangeLogModel
23
- */
24
- 'status'?: BookingStatus;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof BookingChangeLogModel
29
- */
30
- 'actorId'?: string;
31
- /**
32
- *
33
- * @type {Date}
34
- * @memberof BookingChangeLogModel
35
- */
36
- 'createdDate'?: Date;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof BookingChangeLogModel
41
- */
42
- 'actorName'?: string | null;
43
- }
44
- //# sourceMappingURL=booking-change-log-model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"booking-change-log-model.d.ts","sourceRoot":"","sources":["../../src/models/booking-change-log-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,aAAa,CAAC,EAAE,IAAI,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B"}
@@ -1,233 +0,0 @@
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 { BookingStatus } from './booking-status';
13
- import { Gender } from './gender';
14
- import { RefundPolicy } from './refund-policy';
15
- import { RejectReason } from './reject-reason';
16
- /**
17
- *
18
- * @export
19
- * @interface BookingItemModel
20
- */
21
- export interface BookingItemModel {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof BookingItemModel
26
- */
27
- 'id'?: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof BookingItemModel
32
- */
33
- 'languageCode'?: string | null;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof BookingItemModel
38
- */
39
- 'patientId'?: string;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof BookingItemModel
44
- */
45
- 'patientName'?: string | null;
46
- /**
47
- *
48
- * @type {string}
49
- * @memberof BookingItemModel
50
- */
51
- 'patientPhoto'?: string | null;
52
- /**
53
- *
54
- * @type {string}
55
- * @memberof BookingItemModel
56
- */
57
- 'firstName'?: string | null;
58
- /**
59
- *
60
- * @type {string}
61
- * @memberof BookingItemModel
62
- */
63
- 'lastName'?: string | null;
64
- /**
65
- *
66
- * @type {string}
67
- * @memberof BookingItemModel
68
- */
69
- 'email'?: string | null;
70
- /**
71
- *
72
- * @type {string}
73
- * @memberof BookingItemModel
74
- */
75
- 'phone'?: string | null;
76
- /**
77
- *
78
- * @type {Date}
79
- * @memberof BookingItemModel
80
- */
81
- 'dateOfBirth'?: Date | null;
82
- /**
83
- *
84
- * @type {Gender}
85
- * @memberof BookingItemModel
86
- */
87
- 'gender'?: Gender;
88
- /**
89
- *
90
- * @type {string}
91
- * @memberof BookingItemModel
92
- */
93
- 'comment'?: string | null;
94
- /**
95
- *
96
- * @type {string}
97
- * @memberof BookingItemModel
98
- */
99
- 'hospitalId'?: string;
100
- /**
101
- *
102
- * @type {string}
103
- * @memberof BookingItemModel
104
- */
105
- 'hospitalName'?: string | null;
106
- /**
107
- *
108
- * @type {string}
109
- * @memberof BookingItemModel
110
- */
111
- 'hospitalSlug'?: string | null;
112
- /**
113
- *
114
- * @type {string}
115
- * @memberof BookingItemModel
116
- */
117
- 'hospitalTimeZone'?: string | null;
118
- /**
119
- *
120
- * @type {string}
121
- * @memberof BookingItemModel
122
- */
123
- 'dealId'?: string;
124
- /**
125
- *
126
- * @type {string}
127
- * @memberof BookingItemModel
128
- */
129
- 'dealName'?: string | null;
130
- /**
131
- *
132
- * @type {string}
133
- * @memberof BookingItemModel
134
- */
135
- 'dealSlug'?: string | null;
136
- /**
137
- *
138
- * @type {string}
139
- * @memberof BookingItemModel
140
- */
141
- 'dealPackageId'?: string;
142
- /**
143
- *
144
- * @type {RefundPolicy}
145
- * @memberof BookingItemModel
146
- */
147
- 'refundPolicy'?: RefundPolicy;
148
- /**
149
- *
150
- * @type {number}
151
- * @memberof BookingItemModel
152
- */
153
- 'quantity'?: number;
154
- /**
155
- *
156
- * @type {Date}
157
- * @memberof BookingItemModel
158
- */
159
- 'approximateDateStart'?: Date;
160
- /**
161
- *
162
- * @type {Date}
163
- * @memberof BookingItemModel
164
- */
165
- 'approximateDateEnd'?: Date;
166
- /**
167
- *
168
- * @type {Date}
169
- * @memberof BookingItemModel
170
- */
171
- 'confirmedDateStart'?: Date | null;
172
- /**
173
- *
174
- * @type {Date}
175
- * @memberof BookingItemModel
176
- */
177
- 'confirmedDateEnd'?: Date | null;
178
- /**
179
- *
180
- * @type {number}
181
- * @memberof BookingItemModel
182
- */
183
- 'fee'?: number;
184
- /**
185
- *
186
- * @type {number}
187
- * @memberof BookingItemModel
188
- */
189
- 'applicationFee'?: number;
190
- /**
191
- *
192
- * @type {string}
193
- * @memberof BookingItemModel
194
- */
195
- 'timeZone'?: string | null;
196
- /**
197
- *
198
- * @type {Date}
199
- * @memberof BookingItemModel
200
- */
201
- 'requestDate'?: Date;
202
- /**
203
- *
204
- * @type {BookingStatus}
205
- * @memberof BookingItemModel
206
- */
207
- 'status'?: BookingStatus;
208
- /**
209
- *
210
- * @type {RejectReason}
211
- * @memberof BookingItemModel
212
- */
213
- 'rejectReason'?: RejectReason;
214
- /**
215
- *
216
- * @type {string}
217
- * @memberof BookingItemModel
218
- */
219
- 'rejectComment'?: string | null;
220
- /**
221
- *
222
- * @type {boolean}
223
- * @memberof BookingItemModel
224
- */
225
- 'isOpen'?: boolean;
226
- /**
227
- *
228
- * @type {boolean}
229
- * @memberof BookingItemModel
230
- */
231
- 'isExternal'?: boolean;
232
- }
233
- //# sourceMappingURL=booking-item-model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"booking-item-model.d.ts","sourceRoot":"","sources":["../../src/models/booking-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGjD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAA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