ch-api-client-typescript2 5.19.13 → 5.19.16
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.
- package/lib/api/appointments-api.d.ts +167 -0
- package/lib/api/appointments-api.d.ts.map +1 -1
- package/lib/api/appointments-api.js +271 -0
- package/lib/api/hospitals-api.d.ts +24 -6
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +24 -12
- package/lib/models/appointment-model.d.ts +14 -0
- package/lib/models/appointment-model.d.ts.map +1 -1
- package/lib/models/appointment-refund-bank-transfer-model.d.ts +43 -0
- package/lib/models/appointment-refund-bank-transfer-model.d.ts.map +1 -0
- package/lib/models/appointment-refund-bank-transfer-model.js +15 -0
- package/lib/models/appointment-refund-upi-model.d.ts +31 -0
- package/lib/models/appointment-refund-upi-model.d.ts.map +1 -0
- package/lib/models/appointment-refund-upi-model.js +15 -0
- package/lib/models/appointment-status.d.ts +1 -0
- package/lib/models/appointment-status.d.ts.map +1 -1
- package/lib/models/appointment-status.js +1 -0
- package/lib/models/hospital-payment-gateway-model.d.ts +31 -0
- package/lib/models/hospital-payment-gateway-model.d.ts.map +1 -0
- package/lib/models/hospital-payment-gateway-model.js +15 -0
- package/lib/models/hospital-payment-method-model.d.ts +7 -0
- package/lib/models/hospital-payment-method-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +5 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +5 -0
- package/lib/models/payment-method.d.ts +1 -0
- package/lib/models/payment-method.d.ts.map +1 -1
- package/lib/models/payment-method.js +2 -1
- package/lib/models/refund-appointment-command.d.ts +39 -0
- package/lib/models/refund-appointment-command.d.ts.map +1 -0
- package/lib/models/refund-appointment-command.js +15 -0
- package/lib/models/reschedule-appointment-command.d.ts +37 -0
- package/lib/models/reschedule-appointment-command.d.ts.map +1 -0
- package/lib/models/reschedule-appointment-command.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +5 -0
- package/src/api/appointments-api.ts +301 -0
- package/src/api/hospitals-api.ts +40 -12
- package/src/models/appointment-model.ts +18 -0
- package/src/models/appointment-refund-bank-transfer-model.ts +48 -0
- package/src/models/appointment-refund-upi-model.ts +36 -0
- package/src/models/appointment-status.ts +1 -0
- package/src/models/hospital-payment-gateway-model.ts +36 -0
- package/src/models/hospital-payment-method-model.ts +9 -0
- package/src/models/index.ts +5 -0
- package/src/models/payment-method.ts +2 -1
- package/src/models/refund-appointment-command.ts +48 -0
- package/src/models/reschedule-appointment-command.ts +42 -0
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface AppointmentRefundUpiModel
|
|
21
|
+
*/
|
|
22
|
+
export interface AppointmentRefundUpiModel {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AppointmentRefundUpiModel
|
|
27
|
+
*/
|
|
28
|
+
'upiId'?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof AppointmentRefundUpiModel
|
|
33
|
+
*/
|
|
34
|
+
'name'?: string | null;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface HospitalPaymentGatewayModel
|
|
21
|
+
*/
|
|
22
|
+
export interface HospitalPaymentGatewayModel {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof HospitalPaymentGatewayModel
|
|
27
|
+
*/
|
|
28
|
+
'name'?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof HospitalPaymentGatewayModel
|
|
33
|
+
*/
|
|
34
|
+
'url'?: string | null;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -18,6 +18,9 @@
|
|
|
18
18
|
import { BankTransferPaymentModel } from './bank-transfer-payment-model';
|
|
19
19
|
// May contain unused imports in some cases
|
|
20
20
|
// @ts-ignore
|
|
21
|
+
import { HospitalPaymentGatewayModel } from './hospital-payment-gateway-model';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
21
24
|
import { PaymentMethod } from './payment-method';
|
|
22
25
|
// May contain unused imports in some cases
|
|
23
26
|
// @ts-ignore
|
|
@@ -77,5 +80,11 @@ export interface HospitalPaymentMethodModel {
|
|
|
77
80
|
* @memberof HospitalPaymentMethodModel
|
|
78
81
|
*/
|
|
79
82
|
'upi'?: UpiPaymentModel;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {HospitalPaymentGatewayModel}
|
|
86
|
+
* @memberof HospitalPaymentMethodModel
|
|
87
|
+
*/
|
|
88
|
+
'hospitalPaymentGateway'?: HospitalPaymentGatewayModel;
|
|
80
89
|
}
|
|
81
90
|
|
package/src/models/index.ts
CHANGED
|
@@ -12,6 +12,8 @@ export * from './appointment-item-model';
|
|
|
12
12
|
export * from './appointment-model';
|
|
13
13
|
export * from './appointment-option-document-model';
|
|
14
14
|
export * from './appointment-option-model';
|
|
15
|
+
export * from './appointment-refund-bank-transfer-model';
|
|
16
|
+
export * from './appointment-refund-upi-model';
|
|
15
17
|
export * from './appointment-status';
|
|
16
18
|
export * from './appointment-timetable-date-model';
|
|
17
19
|
export * from './appointment-timetable-status';
|
|
@@ -170,6 +172,7 @@ export * from './hospital-item-model';
|
|
|
170
172
|
export * from './hospital-language-item-model';
|
|
171
173
|
export * from './hospital-languages-model';
|
|
172
174
|
export * from './hospital-model';
|
|
175
|
+
export * from './hospital-payment-gateway-model';
|
|
173
176
|
export * from './hospital-payment-method-model';
|
|
174
177
|
export * from './hospital-payment-methods-model';
|
|
175
178
|
export * from './hospital-service-item-model';
|
|
@@ -237,8 +240,10 @@ export * from './policy-model';
|
|
|
237
240
|
export * from './problem-details';
|
|
238
241
|
export * from './procedure';
|
|
239
242
|
export * from './recurring-interval';
|
|
243
|
+
export * from './refund-appointment-command';
|
|
240
244
|
export * from './refund-policy';
|
|
241
245
|
export * from './reject-reason';
|
|
246
|
+
export * from './reschedule-appointment-command';
|
|
242
247
|
export * from './review-type';
|
|
243
248
|
export * from './search-curation-item-model';
|
|
244
249
|
export * from './search-curation-primary-item-model';
|
|
@@ -24,7 +24,8 @@ export const PaymentMethod = {
|
|
|
24
24
|
Stripe: 'Stripe',
|
|
25
25
|
Paypal: 'Paypal',
|
|
26
26
|
BankTransfer: 'BankTransfer',
|
|
27
|
-
Upi: 'Upi'
|
|
27
|
+
Upi: 'Upi',
|
|
28
|
+
HospitalPaymentGateway: 'HospitalPaymentGateway'
|
|
28
29
|
} as const;
|
|
29
30
|
|
|
30
31
|
export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { AppointmentRefundBankTransferModel } from './appointment-refund-bank-transfer-model';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { AppointmentRefundUpiModel } from './appointment-refund-upi-model';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface RefundAppointmentCommand
|
|
27
|
+
*/
|
|
28
|
+
export interface RefundAppointmentCommand {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof RefundAppointmentCommand
|
|
33
|
+
*/
|
|
34
|
+
'languageCode'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {AppointmentRefundBankTransferModel}
|
|
38
|
+
* @memberof RefundAppointmentCommand
|
|
39
|
+
*/
|
|
40
|
+
'refundBankTransfer'?: AppointmentRefundBankTransferModel;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {AppointmentRefundUpiModel}
|
|
44
|
+
* @memberof RefundAppointmentCommand
|
|
45
|
+
*/
|
|
46
|
+
'refundUpi'?: AppointmentRefundUpiModel;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface RescheduleAppointmentCommand
|
|
21
|
+
*/
|
|
22
|
+
export interface RescheduleAppointmentCommand {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {Date}
|
|
26
|
+
* @memberof RescheduleAppointmentCommand
|
|
27
|
+
*/
|
|
28
|
+
'approximateDateStart'?: Date;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Date}
|
|
32
|
+
* @memberof RescheduleAppointmentCommand
|
|
33
|
+
*/
|
|
34
|
+
'approximateDateEnd'?: Date;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof RescheduleAppointmentCommand
|
|
39
|
+
*/
|
|
40
|
+
'languageCode'?: string | null;
|
|
41
|
+
}
|
|
42
|
+
|