ch-admin-api-client-typescript 5.6.0 → 5.6.3

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/hospitals-api.d.ts +324 -0
  2. package/lib/api/hospitals-api.d.ts.map +1 -1
  3. package/lib/api/hospitals-api.js +485 -0
  4. package/lib/models/appointment-option-model.d.ts +7 -1
  5. package/lib/models/appointment-option-model.d.ts.map +1 -1
  6. package/lib/models/bank-account-info-item-model.d.ts +73 -0
  7. package/lib/models/bank-account-info-item-model.d.ts.map +1 -0
  8. package/lib/models/bank-account-info-item-model.js +15 -0
  9. package/lib/models/bank-account-info-model.d.ts +73 -0
  10. package/lib/models/bank-account-info-model.d.ts.map +1 -0
  11. package/lib/models/bank-account-info-model.js +15 -0
  12. package/lib/models/bank-account-infos-model.d.ts +33 -0
  13. package/lib/models/bank-account-infos-model.d.ts.map +1 -0
  14. package/lib/models/bank-account-infos-model.js +15 -0
  15. package/lib/models/create-hospital-bank-account-info-command.d.ts +61 -0
  16. package/lib/models/create-hospital-bank-account-info-command.d.ts.map +1 -0
  17. package/lib/models/create-hospital-bank-account-info-command.js +15 -0
  18. package/lib/models/create-hospital-command.d.ts +13 -0
  19. package/lib/models/create-hospital-command.d.ts.map +1 -1
  20. package/lib/models/hospital-item-model.d.ts +13 -0
  21. package/lib/models/hospital-item-model.d.ts.map +1 -1
  22. package/lib/models/hospital-model.d.ts +13 -0
  23. package/lib/models/hospital-model.d.ts.map +1 -1
  24. package/lib/models/index.d.ts +6 -0
  25. package/lib/models/index.d.ts.map +1 -1
  26. package/lib/models/index.js +6 -0
  27. package/lib/models/payment-method.d.ts +23 -0
  28. package/lib/models/payment-method.d.ts.map +1 -0
  29. package/lib/models/payment-method.js +26 -0
  30. package/lib/models/update-hospital-bank-account-info-command.d.ts +61 -0
  31. package/lib/models/update-hospital-bank-account-info-command.d.ts.map +1 -0
  32. package/lib/models/update-hospital-bank-account-info-command.js +15 -0
  33. package/lib/models/update-hospital-command.d.ts +13 -0
  34. package/lib/models/update-hospital-command.d.ts.map +1 -1
  35. package/package.json +1 -1
  36. package/src/.openapi-generator/FILES +6 -0
  37. package/src/api/hospitals-api.ts +570 -0
  38. package/src/models/appointment-option-model.ts +7 -1
  39. package/src/models/bank-account-info-item-model.ts +78 -0
  40. package/src/models/bank-account-info-model.ts +78 -0
  41. package/src/models/bank-account-infos-model.ts +42 -0
  42. package/src/models/create-hospital-bank-account-info-command.ts +66 -0
  43. package/src/models/create-hospital-command.ts +15 -0
  44. package/src/models/hospital-item-model.ts +15 -0
  45. package/src/models/hospital-model.ts +15 -0
  46. package/src/models/index.ts +6 -0
  47. package/src/models/payment-method.ts +32 -0
  48. package/src/models/update-hospital-bank-account-info-command.ts +66 -0
  49. package/src/models/update-hospital-command.ts +15 -0
@@ -0,0 +1,78 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger UI - Cloud Hospital Admin Api-INT
5
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 1
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
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface BankAccountInfoItemModel
21
+ */
22
+ export interface BankAccountInfoItemModel {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof BankAccountInfoItemModel
27
+ */
28
+ 'id'?: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof BankAccountInfoItemModel
33
+ */
34
+ 'hospitalId'?: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof BankAccountInfoItemModel
39
+ */
40
+ 'bank'?: string | null;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof BankAccountInfoItemModel
45
+ */
46
+ 'accountNumber'?: string | null;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof BankAccountInfoItemModel
51
+ */
52
+ 'depositor'?: string | null;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof BankAccountInfoItemModel
57
+ */
58
+ 'swiftCode'?: string | null;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof BankAccountInfoItemModel
63
+ */
64
+ 'additionalNote'?: string | null;
65
+ /**
66
+ *
67
+ * @type {boolean}
68
+ * @memberof BankAccountInfoItemModel
69
+ */
70
+ 'isEnabled'?: boolean;
71
+ /**
72
+ *
73
+ * @type {number}
74
+ * @memberof BankAccountInfoItemModel
75
+ */
76
+ 'order'?: number;
77
+ }
78
+
@@ -0,0 +1,78 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger UI - Cloud Hospital Admin Api-INT
5
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 1
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
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface BankAccountInfoModel
21
+ */
22
+ export interface BankAccountInfoModel {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof BankAccountInfoModel
27
+ */
28
+ 'id'?: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof BankAccountInfoModel
33
+ */
34
+ 'hospitalId'?: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof BankAccountInfoModel
39
+ */
40
+ 'bank'?: string | null;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof BankAccountInfoModel
45
+ */
46
+ 'accountNumber'?: string | null;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof BankAccountInfoModel
51
+ */
52
+ 'depositor'?: string | null;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof BankAccountInfoModel
57
+ */
58
+ 'swiftCode'?: string | null;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof BankAccountInfoModel
63
+ */
64
+ 'additionalNote'?: string | null;
65
+ /**
66
+ *
67
+ * @type {boolean}
68
+ * @memberof BankAccountInfoModel
69
+ */
70
+ 'isEnabled'?: boolean;
71
+ /**
72
+ *
73
+ * @type {number}
74
+ * @memberof BankAccountInfoModel
75
+ */
76
+ 'order'?: number;
77
+ }
78
+
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger UI - Cloud Hospital Admin Api-INT
5
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 1
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 { BankAccountInfoItemModel } from './bank-account-info-item-model';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import { PagedListMetaData } from './paged-list-meta-data';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface BankAccountInfosModel
27
+ */
28
+ export interface BankAccountInfosModel {
29
+ /**
30
+ *
31
+ * @type {Array<BankAccountInfoItemModel>}
32
+ * @memberof BankAccountInfosModel
33
+ */
34
+ 'items'?: Array<BankAccountInfoItemModel> | null;
35
+ /**
36
+ *
37
+ * @type {PagedListMetaData}
38
+ * @memberof BankAccountInfosModel
39
+ */
40
+ 'metaData'?: PagedListMetaData;
41
+ }
42
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger UI - Cloud Hospital Admin Api-INT
5
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 1
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
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CreateHospitalBankAccountInfoCommand
21
+ */
22
+ export interface CreateHospitalBankAccountInfoCommand {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof CreateHospitalBankAccountInfoCommand
27
+ */
28
+ 'bank'?: string | null;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof CreateHospitalBankAccountInfoCommand
33
+ */
34
+ 'accountNumber'?: string | null;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof CreateHospitalBankAccountInfoCommand
39
+ */
40
+ 'depositor'?: string | null;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof CreateHospitalBankAccountInfoCommand
45
+ */
46
+ 'swiftCode'?: string | null;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof CreateHospitalBankAccountInfoCommand
51
+ */
52
+ 'additionalNote'?: string | null;
53
+ /**
54
+ *
55
+ * @type {boolean}
56
+ * @memberof CreateHospitalBankAccountInfoCommand
57
+ */
58
+ 'isEnabled'?: boolean;
59
+ /**
60
+ *
61
+ * @type {number}
62
+ * @memberof CreateHospitalBankAccountInfoCommand
63
+ */
64
+ 'order'?: number;
65
+ }
66
+
@@ -31,6 +31,9 @@ import { LocationModel } from './location-model';
31
31
  // May contain unused imports in some cases
32
32
  // @ts-ignore
33
33
  import { MarketingType } from './marketing-type';
34
+ // May contain unused imports in some cases
35
+ // @ts-ignore
36
+ import { PaymentMethod } from './payment-method';
34
37
 
35
38
  /**
36
39
  *
@@ -170,6 +173,12 @@ export interface CreateHospitalCommand {
170
173
  * @memberof CreateHospitalCommand
171
174
  */
172
175
  'paymentEnabled'?: boolean;
176
+ /**
177
+ *
178
+ * @type {string}
179
+ * @memberof CreateHospitalCommand
180
+ */
181
+ 'appointmentCurrency'?: string | null;
173
182
  /**
174
183
  *
175
184
  * @type {string}
@@ -206,5 +215,11 @@ export interface CreateHospitalCommand {
206
215
  * @memberof CreateHospitalCommand
207
216
  */
208
217
  'tags'?: Array<HospitalTagItemModel> | null;
218
+ /**
219
+ *
220
+ * @type {Array<PaymentMethod>}
221
+ * @memberof CreateHospitalCommand
222
+ */
223
+ 'paymentMethods'?: Array<PaymentMethod> | null;
209
224
  }
210
225
 
@@ -34,6 +34,9 @@ import { MarketingType } from './marketing-type';
34
34
  // May contain unused imports in some cases
35
35
  // @ts-ignore
36
36
  import { MediaModel } from './media-model';
37
+ // May contain unused imports in some cases
38
+ // @ts-ignore
39
+ import { PaymentMethod } from './payment-method';
37
40
 
38
41
  /**
39
42
  *
@@ -125,6 +128,12 @@ export interface HospitalItemModel {
125
128
  * @memberof HospitalItemModel
126
129
  */
127
130
  'paymentEnabled'?: boolean;
131
+ /**
132
+ *
133
+ * @type {string}
134
+ * @memberof HospitalItemModel
135
+ */
136
+ 'appointmentCurrency'?: string | null;
128
137
  /**
129
138
  *
130
139
  * @type {string}
@@ -167,6 +176,12 @@ export interface HospitalItemModel {
167
176
  * @memberof HospitalItemModel
168
177
  */
169
178
  'grade'?: GradeModel;
179
+ /**
180
+ *
181
+ * @type {Array<PaymentMethod>}
182
+ * @memberof HospitalItemModel
183
+ */
184
+ 'paymentMethods'?: Array<PaymentMethod> | null;
170
185
  /**
171
186
  *
172
187
  * @type {AuditableEntityModel}
@@ -46,6 +46,9 @@ import { MarketingType } from './marketing-type';
46
46
  // May contain unused imports in some cases
47
47
  // @ts-ignore
48
48
  import { MediaModel } from './media-model';
49
+ // May contain unused imports in some cases
50
+ // @ts-ignore
51
+ import { PaymentMethod } from './payment-method';
49
52
 
50
53
  /**
51
54
  *
@@ -137,6 +140,12 @@ export interface HospitalModel {
137
140
  * @memberof HospitalModel
138
141
  */
139
142
  'paymentEnabled'?: boolean;
143
+ /**
144
+ *
145
+ * @type {string}
146
+ * @memberof HospitalModel
147
+ */
148
+ 'appointmentCurrency'?: string | null;
140
149
  /**
141
150
  *
142
151
  * @type {string}
@@ -179,6 +188,12 @@ export interface HospitalModel {
179
188
  * @memberof HospitalModel
180
189
  */
181
190
  'grade'?: GradeModel;
191
+ /**
192
+ *
193
+ * @type {Array<PaymentMethod>}
194
+ * @memberof HospitalModel
195
+ */
196
+ 'paymentMethods'?: Array<PaymentMethod> | null;
182
197
  /**
183
198
  *
184
199
  * @type {AuditableEntityModel}
@@ -42,6 +42,9 @@ export * from './auditable-entity';
42
42
  export * from './auditable-entity-model';
43
43
  export * from './balance';
44
44
  export * from './balance-transfers';
45
+ export * from './bank-account-info-item-model';
46
+ export * from './bank-account-info-model';
47
+ export * from './bank-account-infos-model';
45
48
  export * from './batch-add-appointment-timetable-model';
46
49
  export * from './batch-add-hospital-consultation-timetable-model';
47
50
  export * from './batch-appointment-timetables-result-model';
@@ -128,6 +131,7 @@ export * from './create-faq-command';
128
131
  export * from './create-faq-tag-command';
129
132
  export * from './create-grade-command';
130
133
  export * from './create-hospital-accreditation-command';
134
+ export * from './create-hospital-bank-account-info-command';
131
135
  export * from './create-hospital-command';
132
136
  export * from './create-hospital-consultation-timetable-command';
133
137
  export * from './create-hospital-contact-command';
@@ -316,6 +320,7 @@ export * from './paged-list-meta-data';
316
320
  export * from './patient-item-model';
317
321
  export * from './patient-model';
318
322
  export * from './patients-model';
323
+ export * from './payment-method';
319
324
  export * from './period-units';
320
325
  export * from './plan-hospital-item-model';
321
326
  export * from './plan-hospital-model';
@@ -464,6 +469,7 @@ export * from './update-doctor-specialty-command';
464
469
  export * from './update-faq-category-command';
465
470
  export * from './update-faq-command';
466
471
  export * from './update-grade-command';
472
+ export * from './update-hospital-bank-account-info-command';
467
473
  export * from './update-hospital-command';
468
474
  export * from './update-hospital-consultation-timetable-command';
469
475
  export * from './update-hospital-contact-command';
@@ -0,0 +1,32 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger UI - Cloud Hospital Admin Api-INT
5
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 1
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
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+
23
+ export const PaymentMethod = {
24
+ Stripe: 'Stripe',
25
+ Paypal: 'Paypal',
26
+ BankTransfer: 'BankTransfer'
27
+ } as const;
28
+
29
+ export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
30
+
31
+
32
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger UI - Cloud Hospital Admin Api-INT
5
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 1
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
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface UpdateHospitalBankAccountInfoCommand
21
+ */
22
+ export interface UpdateHospitalBankAccountInfoCommand {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof UpdateHospitalBankAccountInfoCommand
27
+ */
28
+ 'bank'?: string | null;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof UpdateHospitalBankAccountInfoCommand
33
+ */
34
+ 'accountNumber'?: string | null;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof UpdateHospitalBankAccountInfoCommand
39
+ */
40
+ 'depositor'?: string | null;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof UpdateHospitalBankAccountInfoCommand
45
+ */
46
+ 'swiftCode'?: string | null;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof UpdateHospitalBankAccountInfoCommand
51
+ */
52
+ 'additionalNote'?: string | null;
53
+ /**
54
+ *
55
+ * @type {boolean}
56
+ * @memberof UpdateHospitalBankAccountInfoCommand
57
+ */
58
+ 'isEnabled'?: boolean;
59
+ /**
60
+ *
61
+ * @type {number}
62
+ * @memberof UpdateHospitalBankAccountInfoCommand
63
+ */
64
+ 'order'?: number;
65
+ }
66
+
@@ -31,6 +31,9 @@ import { LocationModel } from './location-model';
31
31
  // May contain unused imports in some cases
32
32
  // @ts-ignore
33
33
  import { MarketingType } from './marketing-type';
34
+ // May contain unused imports in some cases
35
+ // @ts-ignore
36
+ import { PaymentMethod } from './payment-method';
34
37
 
35
38
  /**
36
39
  *
@@ -176,6 +179,12 @@ export interface UpdateHospitalCommand {
176
179
  * @memberof UpdateHospitalCommand
177
180
  */
178
181
  'paymentEnabled'?: boolean;
182
+ /**
183
+ *
184
+ * @type {string}
185
+ * @memberof UpdateHospitalCommand
186
+ */
187
+ 'appointmentCurrency'?: string | null;
179
188
  /**
180
189
  *
181
190
  * @type {boolean}
@@ -218,5 +227,11 @@ export interface UpdateHospitalCommand {
218
227
  * @memberof UpdateHospitalCommand
219
228
  */
220
229
  'tags'?: Array<HospitalTagItemModel> | null;
230
+ /**
231
+ *
232
+ * @type {Array<PaymentMethod>}
233
+ * @memberof UpdateHospitalCommand
234
+ */
235
+ 'paymentMethods'?: Array<PaymentMethod> | null;
221
236
  }
222
237