ch-api-client-typescript2 5.19.10 → 5.19.15

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 (49) hide show
  1. package/lib/api/appointments-api.d.ts +167 -0
  2. package/lib/api/appointments-api.d.ts.map +1 -1
  3. package/lib/api/appointments-api.js +271 -0
  4. package/lib/api/hospitals-api.d.ts +125 -6
  5. package/lib/api/hospitals-api.d.ts.map +1 -1
  6. package/lib/api/hospitals-api.js +137 -12
  7. package/lib/models/appointment-model.d.ts +14 -0
  8. package/lib/models/appointment-model.d.ts.map +1 -1
  9. package/lib/models/appointment-refund-bank-transfer-model.d.ts +43 -0
  10. package/lib/models/appointment-refund-bank-transfer-model.d.ts.map +1 -0
  11. package/lib/models/appointment-refund-bank-transfer-model.js +15 -0
  12. package/lib/models/appointment-refund-upi-model.d.ts +31 -0
  13. package/lib/models/appointment-refund-upi-model.d.ts.map +1 -0
  14. package/lib/models/appointment-refund-upi-model.js +15 -0
  15. package/lib/models/appointment-status.d.ts +1 -0
  16. package/lib/models/appointment-status.d.ts.map +1 -1
  17. package/lib/models/appointment-status.js +1 -0
  18. package/lib/models/index.d.ts +7 -0
  19. package/lib/models/index.d.ts.map +1 -1
  20. package/lib/models/index.js +7 -0
  21. package/lib/models/notice-item-model.d.ts +80 -0
  22. package/lib/models/notice-item-model.d.ts.map +1 -0
  23. package/lib/models/notice-item-model.js +15 -0
  24. package/lib/models/notice-status.d.ts +23 -0
  25. package/lib/models/notice-status.d.ts.map +1 -0
  26. package/lib/models/notice-status.js +26 -0
  27. package/lib/models/notices-model.d.ts +33 -0
  28. package/lib/models/notices-model.d.ts.map +1 -0
  29. package/lib/models/notices-model.js +15 -0
  30. package/lib/models/refund-appointment-command.d.ts +39 -0
  31. package/lib/models/refund-appointment-command.d.ts.map +1 -0
  32. package/lib/models/refund-appointment-command.js +15 -0
  33. package/lib/models/reschedule-appointment-command.d.ts +37 -0
  34. package/lib/models/reschedule-appointment-command.d.ts.map +1 -0
  35. package/lib/models/reschedule-appointment-command.js +15 -0
  36. package/package.json +1 -1
  37. package/src/.openapi-generator/FILES +7 -0
  38. package/src/api/appointments-api.ts +301 -0
  39. package/src/api/hospitals-api.ts +211 -12
  40. package/src/models/appointment-model.ts +18 -0
  41. package/src/models/appointment-refund-bank-transfer-model.ts +48 -0
  42. package/src/models/appointment-refund-upi-model.ts +36 -0
  43. package/src/models/appointment-status.ts +1 -0
  44. package/src/models/index.ts +7 -0
  45. package/src/models/notice-item-model.ts +87 -0
  46. package/src/models/notice-status.ts +32 -0
  47. package/src/models/notices-model.ts +42 -0
  48. package/src/models/refund-appointment-command.ts +48 -0
  49. package/src/models/reschedule-appointment-command.ts +42 -0
@@ -0,0 +1,80 @@
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 { NoticeStatus } from './notice-status';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface NoticeItemModel
17
+ */
18
+ export interface NoticeItemModel {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof NoticeItemModel
23
+ */
24
+ 'id'?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof NoticeItemModel
29
+ */
30
+ 'hospitalId'?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof NoticeItemModel
35
+ */
36
+ 'languageCode'?: string | null;
37
+ /**
38
+ *
39
+ * @type {NoticeStatus}
40
+ * @memberof NoticeItemModel
41
+ */
42
+ 'status'?: NoticeStatus;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof NoticeItemModel
47
+ */
48
+ 'order'?: number;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof NoticeItemModel
53
+ */
54
+ 'hospitalName'?: string | null;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof NoticeItemModel
59
+ */
60
+ 'name'?: string | null;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof NoticeItemModel
65
+ */
66
+ 'slug'?: string | null;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof NoticeItemModel
71
+ */
72
+ 'url'?: string | null;
73
+ /**
74
+ *
75
+ * @type {boolean}
76
+ * @memberof NoticeItemModel
77
+ */
78
+ 'isConfirmed'?: boolean;
79
+ }
80
+ //# sourceMappingURL=notice-item-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notice-item-model.d.ts","sourceRoot":"","sources":["../../src/models/notice-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B"}
@@ -0,0 +1,15 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,23 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const NoticeStatus: {
18
+ readonly Draft: "Draft";
19
+ readonly Active: "Active";
20
+ readonly Archived: "Archived";
21
+ };
22
+ export type NoticeStatus = typeof NoticeStatus[keyof typeof NoticeStatus];
23
+ //# sourceMappingURL=notice-status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notice-status.d.ts","sourceRoot":"","sources":["../../src/models/notice-status.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,YAAY;;;;CAIf,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC"}
@@ -0,0 +1,26 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.NoticeStatus = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.NoticeStatus = {
23
+ Draft: 'Draft',
24
+ Active: 'Active',
25
+ Archived: 'Archived'
26
+ };
@@ -0,0 +1,33 @@
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 { NoticeItemModel } from './notice-item-model';
13
+ import { PagedListMetaData } from './paged-list-meta-data';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface NoticesModel
18
+ */
19
+ export interface NoticesModel {
20
+ /**
21
+ *
22
+ * @type {Array<NoticeItemModel>}
23
+ * @memberof NoticesModel
24
+ */
25
+ 'items'?: Array<NoticeItemModel> | null;
26
+ /**
27
+ *
28
+ * @type {PagedListMetaData}
29
+ * @memberof NoticesModel
30
+ */
31
+ 'metaData'?: PagedListMetaData;
32
+ }
33
+ //# sourceMappingURL=notices-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notices-model.d.ts","sourceRoot":"","sources":["../../src/models/notices-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAGtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC;IACxC;;;;OAIG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAC;CAClC"}
@@ -0,0 +1,15 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,39 @@
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 { AppointmentRefundBankTransferModel } from './appointment-refund-bank-transfer-model';
13
+ import { AppointmentRefundUpiModel } from './appointment-refund-upi-model';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface RefundAppointmentCommand
18
+ */
19
+ export interface RefundAppointmentCommand {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof RefundAppointmentCommand
24
+ */
25
+ 'languageCode'?: string | null;
26
+ /**
27
+ *
28
+ * @type {AppointmentRefundBankTransferModel}
29
+ * @memberof RefundAppointmentCommand
30
+ */
31
+ 'refundBankTransfer'?: AppointmentRefundBankTransferModel;
32
+ /**
33
+ *
34
+ * @type {AppointmentRefundUpiModel}
35
+ * @memberof RefundAppointmentCommand
36
+ */
37
+ 'refundUpi'?: AppointmentRefundUpiModel;
38
+ }
39
+ //# sourceMappingURL=refund-appointment-command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"refund-appointment-command.d.ts","sourceRoot":"","sources":["../../src/models/refund-appointment-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AAG9F,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE3E;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,kCAAkC,CAAC;IAC1D;;;;OAIG;IACH,WAAW,CAAC,EAAE,yBAAyB,CAAC;CAC3C"}
@@ -0,0 +1,15 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,37 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface RescheduleAppointmentCommand
16
+ */
17
+ export interface RescheduleAppointmentCommand {
18
+ /**
19
+ *
20
+ * @type {Date}
21
+ * @memberof RescheduleAppointmentCommand
22
+ */
23
+ 'approximateDateStart'?: Date;
24
+ /**
25
+ *
26
+ * @type {Date}
27
+ * @memberof RescheduleAppointmentCommand
28
+ */
29
+ 'approximateDateEnd'?: Date;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof RescheduleAppointmentCommand
34
+ */
35
+ 'languageCode'?: string | null;
36
+ }
37
+ //# sourceMappingURL=reschedule-appointment-command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reschedule-appointment-command.d.ts","sourceRoot":"","sources":["../../src/models/reschedule-appointment-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,IAAI,CAAC;IAC9B;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,IAAI,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC"}
@@ -0,0 +1,15 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "5.19.10",
3
+ "version": "5.19.15",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -61,6 +61,8 @@ models/appointment-item-model.ts
61
61
  models/appointment-model.ts
62
62
  models/appointment-option-document-model.ts
63
63
  models/appointment-option-model.ts
64
+ models/appointment-refund-bank-transfer-model.ts
65
+ models/appointment-refund-upi-model.ts
64
66
  models/appointment-status.ts
65
67
  models/appointment-timetable-date-model.ts
66
68
  models/appointment-timetable-status.ts
@@ -263,6 +265,9 @@ models/membership-item-model.ts
263
265
  models/membership-model.ts
264
266
  models/memberships-model.ts
265
267
  models/metadata.ts
268
+ models/notice-item-model.ts
269
+ models/notice-status.ts
270
+ models/notices-model.ts
266
271
  models/notification-code.ts
267
272
  models/notification-model.ts
268
273
  models/notifications-model.ts
@@ -284,8 +289,10 @@ models/policy-model.ts
284
289
  models/problem-details.ts
285
290
  models/procedure.ts
286
291
  models/recurring-interval.ts
292
+ models/refund-appointment-command.ts
287
293
  models/refund-policy.ts
288
294
  models/reject-reason.ts
295
+ models/reschedule-appointment-command.ts
289
296
  models/review-type.ts
290
297
  models/search-curation-item-model.ts
291
298
  models/search-curation-primary-item-model.ts