ch-api-client-typescript2 4.9.3 → 4.9.5

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/appointments-api.d.ts +296 -0
  2. package/lib/api/appointments-api.d.ts.map +1 -0
  3. package/lib/api/appointments-api.js +703 -0
  4. package/lib/api/deals-api.d.ts +103 -0
  5. package/lib/api/deals-api.d.ts.map +1 -1
  6. package/lib/api/deals-api.js +233 -0
  7. package/lib/api/doctor-affiliations-api.d.ts +50 -0
  8. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  9. package/lib/api/doctor-affiliations-api.js +113 -0
  10. package/lib/api/hospitals-api.d.ts +160 -0
  11. package/lib/api/hospitals-api.d.ts.map +1 -1
  12. package/lib/api/hospitals-api.js +360 -0
  13. package/lib/api.d.ts +1 -0
  14. package/lib/api.d.ts.map +1 -1
  15. package/lib/api.js +1 -0
  16. package/lib/models/appointment-change-log-model.d.ts +44 -0
  17. package/lib/models/appointment-change-log-model.d.ts.map +1 -0
  18. package/lib/models/appointment-change-log-model.js +15 -0
  19. package/lib/models/appointment-item-model.d.ts +305 -0
  20. package/lib/models/appointment-item-model.d.ts.map +1 -0
  21. package/lib/models/appointment-item-model.js +15 -0
  22. package/lib/models/appointment-model.d.ts +325 -0
  23. package/lib/models/appointment-model.d.ts.map +1 -0
  24. package/lib/models/appointment-model.js +15 -0
  25. package/lib/models/appointment-option-model.d.ts +49 -0
  26. package/lib/models/appointment-option-model.d.ts.map +1 -0
  27. package/lib/models/appointment-option-model.js +15 -0
  28. package/lib/models/appointment-status.d.ts +27 -0
  29. package/lib/models/appointment-status.d.ts.map +1 -0
  30. package/lib/models/appointment-status.js +30 -0
  31. package/lib/models/appointment-timetable-date-model.d.ts +58 -0
  32. package/lib/models/appointment-timetable-date-model.d.ts.map +1 -0
  33. package/lib/models/appointment-timetable-date-model.js +15 -0
  34. package/lib/models/appointment-timetable-status.d.ts +22 -0
  35. package/lib/models/appointment-timetable-status.d.ts.map +1 -0
  36. package/lib/models/appointment-timetable-status.js +25 -0
  37. package/lib/models/appointment-timetable-time-slot-model.d.ts +56 -0
  38. package/lib/models/appointment-timetable-time-slot-model.d.ts.map +1 -0
  39. package/lib/models/appointment-timetable-time-slot-model.js +15 -0
  40. package/lib/models/appointment-timetables-model.d.ts +44 -0
  41. package/lib/models/appointment-timetables-model.d.ts.map +1 -0
  42. package/lib/models/appointment-timetables-model.js +15 -0
  43. package/lib/models/appointment-type.d.ts +26 -0
  44. package/lib/models/appointment-type.d.ts.map +1 -0
  45. package/lib/models/appointment-type.js +29 -0
  46. package/lib/models/appointments-model.d.ts +33 -0
  47. package/lib/models/appointments-model.d.ts.map +1 -0
  48. package/lib/models/appointments-model.js +15 -0
  49. package/lib/models/create-appointment-command.d.ts +153 -0
  50. package/lib/models/create-appointment-command.d.ts.map +1 -0
  51. package/lib/models/create-appointment-command.js +15 -0
  52. package/lib/models/deal-item-model.d.ts +7 -0
  53. package/lib/models/deal-item-model.d.ts.map +1 -1
  54. package/lib/models/deal-model.d.ts +7 -0
  55. package/lib/models/deal-model.d.ts.map +1 -1
  56. package/lib/models/deal-package-item-model.d.ts +7 -0
  57. package/lib/models/deal-package-item-model.d.ts.map +1 -1
  58. package/lib/models/deal-package-model.d.ts +7 -0
  59. package/lib/models/deal-package-model.d.ts.map +1 -1
  60. package/lib/models/doctor-affiliation-item-model.d.ts +7 -0
  61. package/lib/models/doctor-affiliation-item-model.d.ts.map +1 -1
  62. package/lib/models/doctor-affiliation-model.d.ts +7 -0
  63. package/lib/models/doctor-affiliation-model.d.ts.map +1 -1
  64. package/lib/models/hospital-item-model.d.ts +7 -0
  65. package/lib/models/hospital-item-model.d.ts.map +1 -1
  66. package/lib/models/hospital-model.d.ts +7 -0
  67. package/lib/models/hospital-model.d.ts.map +1 -1
  68. package/lib/models/hospital-service-item-model.d.ts +7 -0
  69. package/lib/models/hospital-service-item-model.d.ts.map +1 -1
  70. package/lib/models/hospital-service-model.d.ts +7 -0
  71. package/lib/models/hospital-service-model.d.ts.map +1 -1
  72. package/lib/models/hospital-specialty-item-model.d.ts +7 -0
  73. package/lib/models/hospital-specialty-item-model.d.ts.map +1 -1
  74. package/lib/models/hospital-specialty-model.d.ts +7 -0
  75. package/lib/models/hospital-specialty-model.d.ts.map +1 -1
  76. package/lib/models/index.d.ts +13 -0
  77. package/lib/models/index.d.ts.map +1 -1
  78. package/lib/models/index.js +13 -0
  79. package/lib/models/notification-code.d.ts +9 -0
  80. package/lib/models/notification-code.d.ts.map +1 -1
  81. package/lib/models/notification-code.js +10 -1
  82. package/lib/models/update-appointment-command.d.ts +98 -0
  83. package/lib/models/update-appointment-command.d.ts.map +1 -0
  84. package/lib/models/update-appointment-command.js +15 -0
  85. package/package.json +1 -1
  86. package/src/.openapi-generator/FILES +14 -0
  87. package/src/api/appointments-api.ts +594 -0
  88. package/src/api/deals-api.ts +215 -0
  89. package/src/api/doctor-affiliations-api.ts +105 -0
  90. package/src/api/hospitals-api.ts +332 -0
  91. package/src/api.ts +1 -0
  92. package/src/models/appointment-change-log-model.ts +51 -0
  93. package/src/models/appointment-item-model.ts +318 -0
  94. package/src/models/appointment-model.ts +342 -0
  95. package/src/models/appointment-option-model.ts +54 -0
  96. package/src/models/appointment-status.ts +36 -0
  97. package/src/models/appointment-timetable-date-model.ts +69 -0
  98. package/src/models/appointment-timetable-status.ts +31 -0
  99. package/src/models/appointment-timetable-time-slot-model.ts +63 -0
  100. package/src/models/appointment-timetables-model.ts +51 -0
  101. package/src/models/appointment-type.ts +35 -0
  102. package/src/models/appointments-model.ts +42 -0
  103. package/src/models/create-appointment-command.ts +162 -0
  104. package/src/models/deal-item-model.ts +9 -0
  105. package/src/models/deal-model.ts +9 -0
  106. package/src/models/deal-package-item-model.ts +9 -0
  107. package/src/models/deal-package-model.ts +9 -0
  108. package/src/models/doctor-affiliation-item-model.ts +9 -0
  109. package/src/models/doctor-affiliation-model.ts +9 -0
  110. package/src/models/hospital-item-model.ts +9 -0
  111. package/src/models/hospital-model.ts +9 -0
  112. package/src/models/hospital-service-item-model.ts +9 -0
  113. package/src/models/hospital-service-model.ts +9 -0
  114. package/src/models/hospital-specialty-item-model.ts +9 -0
  115. package/src/models/hospital-specialty-model.ts +9 -0
  116. package/src/models/index.ts +13 -0
  117. package/src/models/notification-code.ts +10 -1
  118. package/src/models/update-appointment-command.ts +105 -0
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { AppointmentOptionModel } from './appointment-option-model';
16
19
  // May contain unused imports in some cases
17
20
  // @ts-ignore
18
21
  import { AuditableEntity } from './auditable-entity';
@@ -122,6 +125,12 @@ export interface HospitalServiceItemModel {
122
125
  * @memberof HospitalServiceItemModel
123
126
  */
124
127
  'photoThumbnail'?: string | null;
128
+ /**
129
+ *
130
+ * @type {AppointmentOptionModel}
131
+ * @memberof HospitalServiceItemModel
132
+ */
133
+ 'appointmentOption'?: AppointmentOptionModel;
125
134
  /**
126
135
  *
127
136
  * @type {AuditableEntity}
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { AppointmentOptionModel } from './appointment-option-model';
16
19
  // May contain unused imports in some cases
17
20
  // @ts-ignore
18
21
  import { AuditableEntity } from './auditable-entity';
@@ -128,6 +131,12 @@ export interface HospitalServiceModel {
128
131
  * @memberof HospitalServiceModel
129
132
  */
130
133
  'photoThumbnail'?: string | null;
134
+ /**
135
+ *
136
+ * @type {AppointmentOptionModel}
137
+ * @memberof HospitalServiceModel
138
+ */
139
+ 'appointmentOption'?: AppointmentOptionModel;
131
140
  /**
132
141
  *
133
142
  * @type {AuditableEntity}
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { AppointmentOptionModel } from './appointment-option-model';
16
19
  // May contain unused imports in some cases
17
20
  // @ts-ignore
18
21
  import { AuditableEntity } from './auditable-entity';
@@ -122,6 +125,12 @@ export interface HospitalSpecialtyItemModel {
122
125
  * @memberof HospitalSpecialtyItemModel
123
126
  */
124
127
  'marketingType'?: MarketingType;
128
+ /**
129
+ *
130
+ * @type {AppointmentOptionModel}
131
+ * @memberof HospitalSpecialtyItemModel
132
+ */
133
+ 'appointmentOption'?: AppointmentOptionModel;
125
134
  /**
126
135
  *
127
136
  * @type {AuditableEntity}
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { AppointmentOptionModel } from './appointment-option-model';
16
19
  // May contain unused imports in some cases
17
20
  // @ts-ignore
18
21
  import { AuditableEntity } from './auditable-entity';
@@ -128,6 +131,12 @@ export interface HospitalSpecialtyModel {
128
131
  * @memberof HospitalSpecialtyModel
129
132
  */
130
133
  'marketingType'?: MarketingType;
134
+ /**
135
+ *
136
+ * @type {AppointmentOptionModel}
137
+ * @memberof HospitalSpecialtyModel
138
+ */
139
+ 'appointmentOption'?: AppointmentOptionModel;
131
140
  /**
132
141
  *
133
142
  * @type {AuditableEntity}
@@ -6,6 +6,17 @@ export * from './accreditation-model';
6
6
  export * from './accreditations-model';
7
7
  export * from './admin-message-model';
8
8
  export * from './app-version-model';
9
+ export * from './appointment-change-log-model';
10
+ export * from './appointment-item-model';
11
+ export * from './appointment-model';
12
+ export * from './appointment-option-model';
13
+ export * from './appointment-status';
14
+ export * from './appointment-timetable-date-model';
15
+ export * from './appointment-timetable-status';
16
+ export * from './appointment-timetable-time-slot-model';
17
+ export * from './appointment-timetables-model';
18
+ export * from './appointment-type';
19
+ export * from './appointments-model';
9
20
  export * from './article-contributor-item-model';
10
21
  export * from './article-contributor-model';
11
22
  export * from './article-contributors-model';
@@ -47,6 +58,7 @@ export * from './contributors-model';
47
58
  export * from './countries-model';
48
59
  export * from './country-item-model';
49
60
  export * from './country-model';
61
+ export * from './create-appointment-command';
50
62
  export * from './create-booking-command';
51
63
  export * from './create-chat-user-command';
52
64
  export * from './create-consultation-command';
@@ -207,6 +219,7 @@ export * from './tag-model';
207
219
  export * from './tags-model';
208
220
  export * from './translation-simple-model';
209
221
  export * from './translation-simple-with-description-model';
222
+ export * from './update-appointment-command';
210
223
  export * from './update-booking-command';
211
224
  export * from './update-chat-user-command';
212
225
  export * from './update-consultation-command';
@@ -39,7 +39,16 @@ export const NotificationCode = {
39
39
  ConsultationCanceled: 'ConsultationCanceled',
40
40
  ConsultationRefundRequested: 'ConsultationRefundRequested',
41
41
  ConsultationRefunded: 'ConsultationRefunded',
42
- ConsultationReady: 'ConsultationReady'
42
+ ConsultationReady: 'ConsultationReady',
43
+ AppointmentNew: 'AppointmentNew',
44
+ AppointmentUpdated: 'AppointmentUpdated',
45
+ AppointmentRejected: 'AppointmentRejected',
46
+ AppointmentApproved: 'AppointmentApproved',
47
+ AppointmentPaid: 'AppointmentPaid',
48
+ AppointmentCanceled: 'AppointmentCanceled',
49
+ AppointmentRefundRequested: 'AppointmentRefundRequested',
50
+ AppointmentRefunded: 'AppointmentRefunded',
51
+ AppointmentReady: 'AppointmentReady'
43
52
  } as const;
44
53
 
45
54
  export type NotificationCode = typeof NotificationCode[keyof typeof NotificationCode];
@@ -0,0 +1,105 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger UI - Cloud Hospital Api-INT
5
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 2
8
+ * Contact: hyounoosung@icloudhospital.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { Gender } from './gender';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface UpdateAppointmentCommand
24
+ */
25
+ export interface UpdateAppointmentCommand {
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof UpdateAppointmentCommand
30
+ */
31
+ 'languageCode'?: string | null;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof UpdateAppointmentCommand
36
+ */
37
+ 'firstName'?: string | null;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof UpdateAppointmentCommand
42
+ */
43
+ 'lastName'?: string | null;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof UpdateAppointmentCommand
48
+ */
49
+ 'email'?: string | null;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof UpdateAppointmentCommand
54
+ */
55
+ 'phoneCountryCode'?: string | null;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof UpdateAppointmentCommand
60
+ */
61
+ 'phone'?: string | null;
62
+ /**
63
+ *
64
+ * @type {Date}
65
+ * @memberof UpdateAppointmentCommand
66
+ */
67
+ 'dateOfBirth'?: Date | null;
68
+ /**
69
+ *
70
+ * @type {Gender}
71
+ * @memberof UpdateAppointmentCommand
72
+ */
73
+ 'gender'?: Gender;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof UpdateAppointmentCommand
78
+ */
79
+ 'timeZone'?: string | null;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof UpdateAppointmentCommand
84
+ */
85
+ 'comment'?: string | null;
86
+ /**
87
+ *
88
+ * @type {number}
89
+ * @memberof UpdateAppointmentCommand
90
+ */
91
+ 'quantity'?: number;
92
+ /**
93
+ *
94
+ * @type {Date}
95
+ * @memberof UpdateAppointmentCommand
96
+ */
97
+ 'approximateDateStart'?: Date;
98
+ /**
99
+ *
100
+ * @type {Date}
101
+ * @memberof UpdateAppointmentCommand
102
+ */
103
+ 'approximateDateEnd'?: Date;
104
+ }
105
+