ch-admin-api-client-typescript 5.28.0 → 5.30.14
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/email-webhooks-api.d.ts +266 -0
- package/lib/api/email-webhooks-api.d.ts.map +1 -0
- package/lib/api/email-webhooks-api.js +509 -0
- package/lib/api/patients-api.d.ts +46 -0
- package/lib/api/patients-api.d.ts.map +1 -1
- package/lib/api/patients-api.js +85 -0
- package/lib/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -0
- package/lib/models/email-record-event-item-model.d.ts +158 -0
- package/lib/models/email-record-event-item-model.d.ts.map +1 -0
- package/lib/models/email-record-event-item-model.js +15 -0
- package/lib/models/email-record-model.d.ts +87 -0
- package/lib/models/email-record-model.d.ts.map +1 -0
- package/lib/models/email-record-model.js +15 -0
- package/lib/models/email-status.d.ts +35 -0
- package/lib/models/email-status.d.ts.map +1 -0
- package/lib/models/email-status.js +38 -0
- 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/test-email-model.d.ts +25 -0
- package/lib/models/test-email-model.d.ts.map +1 -0
- package/lib/models/test-email-model.js +15 -0
- package/lib/models/test-email-webhook-command.d.ts +31 -0
- package/lib/models/test-email-webhook-command.d.ts.map +1 -0
- package/lib/models/test-email-webhook-command.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +6 -0
- package/src/api/email-webhooks-api.ts +480 -0
- package/src/api/patients-api.ts +85 -0
- package/src/api.ts +1 -0
- package/src/models/email-record-event-item-model.ts +165 -0
- package/src/models/email-record-model.ts +96 -0
- package/src/models/email-status.ts +44 -0
- package/src/models/index.ts +5 -0
- package/src/models/test-email-model.ts +30 -0
- package/src/models/test-email-webhook-command.ts +36 -0
package/src/api.ts
CHANGED
|
@@ -34,6 +34,7 @@ export * from './api/dev-supports-api';
|
|
|
34
34
|
export * from './api/doctor-affiliations-api';
|
|
35
35
|
export * from './api/doctors-api';
|
|
36
36
|
export * from './api/email-marketings-api';
|
|
37
|
+
export * from './api/email-webhooks-api';
|
|
37
38
|
export * from './api/faq-categories-api';
|
|
38
39
|
export * from './api/faqs-api';
|
|
39
40
|
export * from './api/grades-api';
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Admin Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: developer@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 { EmailStatus } from './email-status';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface EmailRecordEventItemModel
|
|
24
|
+
*/
|
|
25
|
+
export interface EmailRecordEventItemModel {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof EmailRecordEventItemModel
|
|
30
|
+
*/
|
|
31
|
+
'messageId'?: string | null;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {EmailStatus}
|
|
35
|
+
* @memberof EmailRecordEventItemModel
|
|
36
|
+
*/
|
|
37
|
+
'event'?: EmailStatus;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof EmailRecordEventItemModel
|
|
42
|
+
*/
|
|
43
|
+
'eventId'?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof EmailRecordEventItemModel
|
|
48
|
+
*/
|
|
49
|
+
'email'?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {number}
|
|
53
|
+
* @memberof EmailRecordEventItemModel
|
|
54
|
+
*/
|
|
55
|
+
'timestamp'?: number;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof EmailRecordEventItemModel
|
|
60
|
+
*/
|
|
61
|
+
'smtpId'?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof EmailRecordEventItemModel
|
|
66
|
+
*/
|
|
67
|
+
'userAgent'?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof EmailRecordEventItemModel
|
|
72
|
+
*/
|
|
73
|
+
'ip'?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof EmailRecordEventItemModel
|
|
78
|
+
*/
|
|
79
|
+
'reason'?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof EmailRecordEventItemModel
|
|
84
|
+
*/
|
|
85
|
+
'status'?: string | null;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof EmailRecordEventItemModel
|
|
90
|
+
*/
|
|
91
|
+
'response'?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {number}
|
|
95
|
+
* @memberof EmailRecordEventItemModel
|
|
96
|
+
*/
|
|
97
|
+
'tls'?: number | null;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof EmailRecordEventItemModel
|
|
102
|
+
*/
|
|
103
|
+
'url'?: string | null;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {Array<string>}
|
|
107
|
+
* @memberof EmailRecordEventItemModel
|
|
108
|
+
*/
|
|
109
|
+
'category'?: Array<string> | null;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {number}
|
|
113
|
+
* @memberof EmailRecordEventItemModel
|
|
114
|
+
*/
|
|
115
|
+
'asmGroupId'?: number | null;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof EmailRecordEventItemModel
|
|
120
|
+
*/
|
|
121
|
+
'uniqueArgs'?: string | null;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {number}
|
|
125
|
+
* @memberof EmailRecordEventItemModel
|
|
126
|
+
*/
|
|
127
|
+
'marketingCampaignId'?: number | null;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof EmailRecordEventItemModel
|
|
132
|
+
*/
|
|
133
|
+
'marketingCampaignName'?: string | null;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {string}
|
|
137
|
+
* @memberof EmailRecordEventItemModel
|
|
138
|
+
*/
|
|
139
|
+
'attempt'?: string | null;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @type {boolean}
|
|
143
|
+
* @memberof EmailRecordEventItemModel
|
|
144
|
+
*/
|
|
145
|
+
'machineAutoOpen'?: boolean | null;
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @type {string}
|
|
149
|
+
* @memberof EmailRecordEventItemModel
|
|
150
|
+
*/
|
|
151
|
+
'bounceClassification'?: string | null;
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @type {string}
|
|
155
|
+
* @memberof EmailRecordEventItemModel
|
|
156
|
+
*/
|
|
157
|
+
'type'?: string | null;
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @type {Date}
|
|
161
|
+
* @memberof EmailRecordEventItemModel
|
|
162
|
+
*/
|
|
163
|
+
'createdDate'?: Date;
|
|
164
|
+
}
|
|
165
|
+
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Admin Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: developer@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 { EmailRecordEventItemModel } from './email-record-event-item-model';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { EmailStatus } from './email-status';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface EmailRecordModel
|
|
27
|
+
*/
|
|
28
|
+
export interface EmailRecordModel {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof EmailRecordModel
|
|
33
|
+
*/
|
|
34
|
+
'emailRecordId'?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof EmailRecordModel
|
|
39
|
+
*/
|
|
40
|
+
'messageId'?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof EmailRecordModel
|
|
45
|
+
*/
|
|
46
|
+
'emailTemplate'?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof EmailRecordModel
|
|
51
|
+
*/
|
|
52
|
+
'senderEmail'?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof EmailRecordModel
|
|
57
|
+
*/
|
|
58
|
+
'senderName'?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof EmailRecordModel
|
|
63
|
+
*/
|
|
64
|
+
'recipientEmail'?: string | null;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof EmailRecordModel
|
|
69
|
+
*/
|
|
70
|
+
'recipientName'?: string | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {EmailStatus}
|
|
74
|
+
* @memberof EmailRecordModel
|
|
75
|
+
*/
|
|
76
|
+
'status'?: EmailStatus;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {Date}
|
|
80
|
+
* @memberof EmailRecordModel
|
|
81
|
+
*/
|
|
82
|
+
'createdDate'?: Date;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {Date}
|
|
86
|
+
* @memberof EmailRecordModel
|
|
87
|
+
*/
|
|
88
|
+
'updatedDate'?: Date | null;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {Array<EmailRecordEventItemModel>}
|
|
92
|
+
* @memberof EmailRecordModel
|
|
93
|
+
*/
|
|
94
|
+
'events'?: Array<EmailRecordEventItemModel> | null;
|
|
95
|
+
}
|
|
96
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Admin Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: developer@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 EmailStatus = {
|
|
24
|
+
None: 'None',
|
|
25
|
+
Processed: 'Processed',
|
|
26
|
+
Dropped: 'Dropped',
|
|
27
|
+
Deferred: 'Deferred',
|
|
28
|
+
Bounced: 'Bounced',
|
|
29
|
+
Blocked: 'Blocked',
|
|
30
|
+
Delivered: 'Delivered',
|
|
31
|
+
Open: 'Open',
|
|
32
|
+
Click: 'Click',
|
|
33
|
+
SpamReport: 'SpamReport',
|
|
34
|
+
Unsubscribe: 'Unsubscribe',
|
|
35
|
+
GroupUnsubscribe: 'GroupUnsubscribe',
|
|
36
|
+
GroupResubscribe: 'GroupResubscribe',
|
|
37
|
+
All: 'All',
|
|
38
|
+
AccountStatusChange: 'AccountStatusChange'
|
|
39
|
+
} as const;
|
|
40
|
+
|
|
41
|
+
export type EmailStatus = typeof EmailStatus[keyof typeof EmailStatus];
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -202,6 +202,9 @@ export * from './doctor-specialty-model';
|
|
|
202
202
|
export * from './doctors-model';
|
|
203
203
|
export * from './doctors-simple-model';
|
|
204
204
|
export * from './duration';
|
|
205
|
+
export * from './email-record-event-item-model';
|
|
206
|
+
export * from './email-record-model';
|
|
207
|
+
export * from './email-status';
|
|
205
208
|
export * from './faq-categories-model';
|
|
206
209
|
export * from './faq-category-item-model';
|
|
207
210
|
export * from './faq-category-model';
|
|
@@ -444,6 +447,8 @@ export * from './tags-model';
|
|
|
444
447
|
export * from './template-version-item-model';
|
|
445
448
|
export * from './template-version-model';
|
|
446
449
|
export * from './template-versions-model';
|
|
450
|
+
export * from './test-email-model';
|
|
451
|
+
export * from './test-email-webhook-command';
|
|
447
452
|
export * from './text-message';
|
|
448
453
|
export * from './translate-about-us-page-command';
|
|
449
454
|
export * from './translate-all-options';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Admin Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: developer@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 TestEmailModel
|
|
21
|
+
*/
|
|
22
|
+
export interface TestEmailModel {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof TestEmailModel
|
|
27
|
+
*/
|
|
28
|
+
'messageId'?: string | null;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Admin Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: developer@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 TestEmailWebhookCommand
|
|
21
|
+
*/
|
|
22
|
+
export interface TestEmailWebhookCommand {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof TestEmailWebhookCommand
|
|
27
|
+
*/
|
|
28
|
+
'email'?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof TestEmailWebhookCommand
|
|
33
|
+
*/
|
|
34
|
+
'name'?: string | null;
|
|
35
|
+
}
|
|
36
|
+
|