@teja-app/api-client 0.0.1-dev.20260110175150.531d373 → 0.0.1-dev.20260116161543.2c5bceb
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/dist/generated/index.d.ts +1 -1
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +1 -1
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/services/AdminService.d.ts +34 -6
- package/dist/generated/services/AdminService.d.ts.map +1 -1
- package/dist/generated/services/AdminService.js +6 -0
- package/dist/generated/services/AdminService.js.map +1 -1
- package/dist/generated/services/AuthService.d.ts +227 -23
- package/dist/generated/services/AuthService.d.ts.map +1 -1
- package/dist/generated/services/AuthService.js +23 -0
- package/dist/generated/services/AuthService.js.map +1 -1
- package/dist/generated/services/ClientPortalPaymentsService.d.ts +35 -0
- package/dist/generated/services/ClientPortalPaymentsService.d.ts.map +1 -0
- package/dist/generated/services/{DefaultService.js → ClientPortalPaymentsService.js} +8 -2
- package/dist/generated/services/ClientPortalPaymentsService.js.map +1 -0
- package/dist/generated/services/ClientPortalService.d.ts +30 -5
- package/dist/generated/services/ClientPortalService.d.ts.map +1 -1
- package/dist/generated/services/ClientPortalService.js +5 -0
- package/dist/generated/services/ClientPortalService.js.map +1 -1
- package/dist/generated/services/DiagnosesService.d.ts +30 -5
- package/dist/generated/services/DiagnosesService.d.ts.map +1 -1
- package/dist/generated/services/DiagnosesService.js +5 -0
- package/dist/generated/services/DiagnosesService.js.map +1 -1
- package/dist/generated/services/GoldenThreadService.d.ts +6 -84
- package/dist/generated/services/GoldenThreadService.d.ts.map +1 -1
- package/dist/generated/services/GoldenThreadService.js +0 -6
- package/dist/generated/services/GoldenThreadService.js.map +1 -1
- package/dist/generated/services/InvitationService.d.ts +27 -2
- package/dist/generated/services/InvitationService.d.ts.map +1 -1
- package/dist/generated/services/InvitationService.js +2 -0
- package/dist/generated/services/InvitationService.js.map +1 -1
- package/dist/generated/services/RecordingsService.d.ts +31 -5
- package/dist/generated/services/RecordingsService.d.ts.map +1 -1
- package/dist/generated/services/RecordingsService.js +5 -0
- package/dist/generated/services/RecordingsService.js.map +1 -1
- package/dist/generated/services/ReferenceDataService.d.ts +35 -5
- package/dist/generated/services/ReferenceDataService.d.ts.map +1 -1
- package/dist/generated/services/ReferenceDataService.js +5 -0
- package/dist/generated/services/ReferenceDataService.js.map +1 -1
- package/dist/generated/services/SettingsService.d.ts +48 -8
- package/dist/generated/services/SettingsService.d.ts.map +1 -1
- package/dist/generated/services/SettingsService.js +8 -0
- package/dist/generated/services/SettingsService.js.map +1 -1
- package/dist/generated/services/SuperbillCodesService.d.ts +29 -5
- package/dist/generated/services/SuperbillCodesService.d.ts.map +1 -1
- package/dist/generated/services/SuperbillCodesService.js +5 -0
- package/dist/generated/services/SuperbillCodesService.js.map +1 -1
- package/dist/generated/services/SuperbillsService.d.ts +66 -11
- package/dist/generated/services/SuperbillsService.d.ts.map +1 -1
- package/dist/generated/services/SuperbillsService.js +11 -0
- package/dist/generated/services/SuperbillsService.js.map +1 -1
- package/dist/generated/services/UserManagementService.d.ts +77 -6
- package/dist/generated/services/UserManagementService.d.ts.map +1 -1
- package/dist/generated/services/UserManagementService.js +6 -0
- package/dist/generated/services/UserManagementService.js.map +1 -1
- package/package.json +1 -1
- package/dist/generated/services/DefaultService.d.ts +0 -20
- package/dist/generated/services/DefaultService.d.ts.map +0 -1
- package/dist/generated/services/DefaultService.js.map +0 -1
|
@@ -4,6 +4,7 @@ export class AuthService {
|
|
|
4
4
|
/**
|
|
5
5
|
* Login identity
|
|
6
6
|
* Authenticate and get available tenants
|
|
7
|
+
* @returns any Response for status 200
|
|
7
8
|
* @throws ApiError
|
|
8
9
|
*/
|
|
9
10
|
static postAuthLoginIdentity({ requestBody, }) {
|
|
@@ -17,6 +18,7 @@ export class AuthService {
|
|
|
17
18
|
/**
|
|
18
19
|
* Select tenant
|
|
19
20
|
* Select tenant and get JWT tokens
|
|
21
|
+
* @returns any Response for status 200
|
|
20
22
|
* @throws ApiError
|
|
21
23
|
*/
|
|
22
24
|
static postAuthSelectTenant({ requestBody, }) {
|
|
@@ -30,6 +32,7 @@ export class AuthService {
|
|
|
30
32
|
/**
|
|
31
33
|
* Logout
|
|
32
34
|
* Logout and invalidate refresh token
|
|
35
|
+
* @returns any Response for status 200
|
|
33
36
|
* @throws ApiError
|
|
34
37
|
*/
|
|
35
38
|
static postAuthLogout({ requestBody, }) {
|
|
@@ -43,6 +46,7 @@ export class AuthService {
|
|
|
43
46
|
/**
|
|
44
47
|
* Refresh token
|
|
45
48
|
* Get new access token using refresh token
|
|
49
|
+
* @returns any Response for status 200
|
|
46
50
|
* @throws ApiError
|
|
47
51
|
*/
|
|
48
52
|
static postAuthRefresh({ requestBody, }) {
|
|
@@ -56,6 +60,7 @@ export class AuthService {
|
|
|
56
60
|
/**
|
|
57
61
|
* Switch tenant
|
|
58
62
|
* Switch to a different tenant
|
|
63
|
+
* @returns any Response for status 200
|
|
59
64
|
* @throws ApiError
|
|
60
65
|
*/
|
|
61
66
|
static postAuthSwitchTenant({ requestBody, }) {
|
|
@@ -69,6 +74,7 @@ export class AuthService {
|
|
|
69
74
|
/**
|
|
70
75
|
* Change password
|
|
71
76
|
* Change current user's password
|
|
77
|
+
* @returns any Response for status 200
|
|
72
78
|
* @throws ApiError
|
|
73
79
|
*/
|
|
74
80
|
static postAuthChangePassword({ requestBody, }) {
|
|
@@ -82,6 +88,7 @@ export class AuthService {
|
|
|
82
88
|
/**
|
|
83
89
|
* Get profile
|
|
84
90
|
* Get current user profile
|
|
91
|
+
* @returns any Response for status 200
|
|
85
92
|
* @throws ApiError
|
|
86
93
|
*/
|
|
87
94
|
static getAuthProfile() {
|
|
@@ -93,6 +100,7 @@ export class AuthService {
|
|
|
93
100
|
/**
|
|
94
101
|
* Get sessions
|
|
95
102
|
* Get active sessions for current user
|
|
103
|
+
* @returns any Response for status 200
|
|
96
104
|
* @throws ApiError
|
|
97
105
|
*/
|
|
98
106
|
static getAuthSessions() {
|
|
@@ -104,6 +112,7 @@ export class AuthService {
|
|
|
104
112
|
/**
|
|
105
113
|
* Revoke session
|
|
106
114
|
* Revoke a specific session
|
|
115
|
+
* @returns any Response for status 200
|
|
107
116
|
* @throws ApiError
|
|
108
117
|
*/
|
|
109
118
|
static deleteAuthSessionsBySessionId({ sessionId, }) {
|
|
@@ -118,6 +127,7 @@ export class AuthService {
|
|
|
118
127
|
/**
|
|
119
128
|
* Revoke all sessions
|
|
120
129
|
* Revoke all sessions for current user
|
|
130
|
+
* @returns any Response for status 200
|
|
121
131
|
* @throws ApiError
|
|
122
132
|
*/
|
|
123
133
|
static postAuthSessionsRevokeAll() {
|
|
@@ -129,6 +139,7 @@ export class AuthService {
|
|
|
129
139
|
/**
|
|
130
140
|
* Verify email
|
|
131
141
|
* Verify email address with token
|
|
142
|
+
* @returns any Response for status 200
|
|
132
143
|
* @throws ApiError
|
|
133
144
|
*/
|
|
134
145
|
static postAuthVerifyEmail({ requestBody, }) {
|
|
@@ -142,6 +153,7 @@ export class AuthService {
|
|
|
142
153
|
/**
|
|
143
154
|
* Resend verification
|
|
144
155
|
* Resend email verification link
|
|
156
|
+
* @returns any Response for status 200
|
|
145
157
|
* @throws ApiError
|
|
146
158
|
*/
|
|
147
159
|
static postAuthResendVerification({ requestBody, }) {
|
|
@@ -155,6 +167,7 @@ export class AuthService {
|
|
|
155
167
|
/**
|
|
156
168
|
* Forgot password
|
|
157
169
|
* Request password reset email
|
|
170
|
+
* @returns any Response for status 200
|
|
158
171
|
* @throws ApiError
|
|
159
172
|
*/
|
|
160
173
|
static postAuthForgotPassword({ requestBody, }) {
|
|
@@ -168,6 +181,7 @@ export class AuthService {
|
|
|
168
181
|
/**
|
|
169
182
|
* Reset password
|
|
170
183
|
* Reset password using reset token
|
|
184
|
+
* @returns any Response for status 200
|
|
171
185
|
* @throws ApiError
|
|
172
186
|
*/
|
|
173
187
|
static postAuthResetPassword({ requestBody, }) {
|
|
@@ -181,6 +195,7 @@ export class AuthService {
|
|
|
181
195
|
/**
|
|
182
196
|
* Validate reset token
|
|
183
197
|
* Validate password reset token is valid
|
|
198
|
+
* @returns any Response for status 200
|
|
184
199
|
* @throws ApiError
|
|
185
200
|
*/
|
|
186
201
|
static postAuthValidateResetToken({ requestBody, }) {
|
|
@@ -194,6 +209,7 @@ export class AuthService {
|
|
|
194
209
|
/**
|
|
195
210
|
* Setup MFA
|
|
196
211
|
* Generate MFA secret and QR code
|
|
212
|
+
* @returns any Response for status 200
|
|
197
213
|
* @throws ApiError
|
|
198
214
|
*/
|
|
199
215
|
static postAuthMfaSetup() {
|
|
@@ -205,6 +221,7 @@ export class AuthService {
|
|
|
205
221
|
/**
|
|
206
222
|
* Enable MFA
|
|
207
223
|
* Enable MFA by verifying secret and code
|
|
224
|
+
* @returns any Response for status 200
|
|
208
225
|
* @throws ApiError
|
|
209
226
|
*/
|
|
210
227
|
static postAuthMfaEnable({ requestBody, }) {
|
|
@@ -218,6 +235,7 @@ export class AuthService {
|
|
|
218
235
|
/**
|
|
219
236
|
* Verify MFA
|
|
220
237
|
* Verify MFA code during login
|
|
238
|
+
* @returns any Response for status 200
|
|
221
239
|
* @throws ApiError
|
|
222
240
|
*/
|
|
223
241
|
static postAuthMfaVerify({ requestBody, }) {
|
|
@@ -231,6 +249,7 @@ export class AuthService {
|
|
|
231
249
|
/**
|
|
232
250
|
* Disable MFA
|
|
233
251
|
* Disable MFA for current user
|
|
252
|
+
* @returns any Response for status 200
|
|
234
253
|
* @throws ApiError
|
|
235
254
|
*/
|
|
236
255
|
static deleteAuthMfa({ requestBody, }) {
|
|
@@ -244,6 +263,7 @@ export class AuthService {
|
|
|
244
263
|
/**
|
|
245
264
|
* OAuth Google
|
|
246
265
|
* Initiate OAuth flow with Google
|
|
266
|
+
* @returns any Response for status 200
|
|
247
267
|
* @throws ApiError
|
|
248
268
|
*/
|
|
249
269
|
static getAuthOauthGoogle({ mode, returnUrl, }) {
|
|
@@ -259,6 +279,7 @@ export class AuthService {
|
|
|
259
279
|
/**
|
|
260
280
|
* Unlink OAuth Google
|
|
261
281
|
* Unlink Google OAuth from account
|
|
282
|
+
* @returns any Response for status 200
|
|
262
283
|
* @throws ApiError
|
|
263
284
|
*/
|
|
264
285
|
static deleteAuthOauthGoogle() {
|
|
@@ -270,6 +291,7 @@ export class AuthService {
|
|
|
270
291
|
/**
|
|
271
292
|
* OAuth callback
|
|
272
293
|
* Handle OAuth callback from provider
|
|
294
|
+
* @returns any Response for status 200
|
|
273
295
|
* @throws ApiError
|
|
274
296
|
*/
|
|
275
297
|
static getAuthOauthCallback({ code, state, }) {
|
|
@@ -285,6 +307,7 @@ export class AuthService {
|
|
|
285
307
|
/**
|
|
286
308
|
* Link OAuth
|
|
287
309
|
* Link OAuth provider to existing account
|
|
310
|
+
* @returns any Response for status 200
|
|
288
311
|
* @throws ApiError
|
|
289
312
|
*/
|
|
290
313
|
static postAuthOauthLink({ requestBody, }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthService.js","sourceRoot":"","sources":["../../../src/generated/services/AuthService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,MAAM,OAAO,WAAW;IACpB
|
|
1
|
+
{"version":3,"file":"AuthService.js","sourceRoot":"","sources":["../../../src/generated/services/AuthService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,MAAM,OAAO,WAAW;IACpB;;;;;OAKG;IACI,MAAM,CAAC,qBAAqB,CAAC,EAChC,WAAW,GAMd;QAgBG,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,sBAAsB;YAC3B,IAAI,EAAE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alPaymentsService {
|
|
3
|
+
/**
|
|
4
|
+
* List client payments
|
|
5
|
+
* List all payment requests for the logged-in client
|
|
6
|
+
* @returns any Response for status 200
|
|
7
|
+
* @throws ApiError
|
|
8
|
+
*/
|
|
9
|
+
static getClientPortalPayments({ status, fromDate, toDate, limit, offset, }: {
|
|
10
|
+
status?: string;
|
|
11
|
+
fromDate?: string;
|
|
12
|
+
toDate?: string;
|
|
13
|
+
limit?: string;
|
|
14
|
+
offset?: string;
|
|
15
|
+
}): CancelablePromise<{
|
|
16
|
+
success: boolean;
|
|
17
|
+
data?: any;
|
|
18
|
+
error?: string;
|
|
19
|
+
total?: number;
|
|
20
|
+
}>;
|
|
21
|
+
/**
|
|
22
|
+
* Get payment link
|
|
23
|
+
* Get the payment link for a specific payment request
|
|
24
|
+
* @returns any Response for status 200
|
|
25
|
+
* @throws ApiError
|
|
26
|
+
*/
|
|
27
|
+
static getClientPortalPaymentsByIdPay({ id, }: {
|
|
28
|
+
id: string;
|
|
29
|
+
}): CancelablePromise<{
|
|
30
|
+
success: boolean;
|
|
31
|
+
data?: any;
|
|
32
|
+
error?: string;
|
|
33
|
+
}>;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=ClientPortalPaymentsService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClientPortalPaymentsService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/ClientPortalPaymentsService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,qBAAa,2BAA2B;IACpC;;;;;OAKG;WACW,uBAAuB,CAAC,EAClC,MAAM,EACN,QAAQ,EACR,MAAM,EACN,KAAK,EACL,MAAM,GACT,EAAE;QACC,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;KACnB,GAAG,iBAAiB,CAAC;QAClB,OAAO,EAAE,OAAO,CAAC;QACjB,IAAI,CAAC,EAAE,GAAG,CAAC;QACX,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IAaF;;;;;OAKG;WACW,8BAA8B,CAAC,EACzC,EAAE,GACL,EAAE;QACC,EAAE,EAAE,MAAM,CAAC;KACd,GAAG,iBAAiB,CAAC;QAClB,OAAO,EAAE,OAAO,CAAC;QACjB,IAAI,CAAC,EAAE,GAAG,CAAC;QACX,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;CASL"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { OpenAPI } from '../core/OpenAPI';
|
|
2
2
|
import { request as __request } from '../core/request';
|
|
3
|
-
export class
|
|
3
|
+
export class ClientPortalPaymentsService {
|
|
4
4
|
/**
|
|
5
|
+
* List client payments
|
|
6
|
+
* List all payment requests for the logged-in client
|
|
7
|
+
* @returns any Response for status 200
|
|
5
8
|
* @throws ApiError
|
|
6
9
|
*/
|
|
7
10
|
static getClientPortalPayments({ status, fromDate, toDate, limit, offset, }) {
|
|
@@ -18,6 +21,9 @@ export class DefaultService {
|
|
|
18
21
|
});
|
|
19
22
|
}
|
|
20
23
|
/**
|
|
24
|
+
* Get payment link
|
|
25
|
+
* Get the payment link for a specific payment request
|
|
26
|
+
* @returns any Response for status 200
|
|
21
27
|
* @throws ApiError
|
|
22
28
|
*/
|
|
23
29
|
static getClientPortalPaymentsByIdPay({ id, }) {
|
|
@@ -30,4 +36,4 @@ export class DefaultService {
|
|
|
30
36
|
});
|
|
31
37
|
}
|
|
32
38
|
}
|
|
33
|
-
//# sourceMappingURL=
|
|
39
|
+
//# sourceMappingURL=ClientPortalPaymentsService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClientPortalPaymentsService.js","sourceRoot":"","sources":["../../../src/generated/services/ClientPortalPaymentsService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,MAAM,OAAO,2BAA2B;IACpC;;;;;OAKG;IACI,MAAM,CAAC,uBAAuB,CAAC,EAClC,MAAM,EACN,QAAQ,EACR,MAAM,EACN,KAAK,EACL,MAAM,GAOT;QAMG,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,yBAAyB;YAC9B,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;gBAChB,UAAU,EAAE,QAAQ;gBACpB,QAAQ,EAAE,MAAM;gBAChB,OAAO,EAAE,KAAK;gBACd,QAAQ,EAAE,MAAM;aACnB;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,MAAM,CAAC,8BAA8B,CAAC,EACzC,EAAE,GAGL;QAKG,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,kCAAkC;YACvC,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;SACJ,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -3,15 +3,21 @@ export declare class ClientPortalService {
|
|
|
3
3
|
/**
|
|
4
4
|
* List client appointments
|
|
5
5
|
* List appointments for the logged-in client
|
|
6
|
+
* @returns any Response for status 200
|
|
6
7
|
* @throws ApiError
|
|
7
8
|
*/
|
|
8
9
|
static getClientPortalAppointments({ includeCompleted, limit, }: {
|
|
9
10
|
includeCompleted?: string;
|
|
10
11
|
limit?: string;
|
|
11
|
-
}): CancelablePromise<
|
|
12
|
+
}): CancelablePromise<{
|
|
13
|
+
success: boolean;
|
|
14
|
+
data?: any;
|
|
15
|
+
error?: string;
|
|
16
|
+
}>;
|
|
12
17
|
/**
|
|
13
18
|
* Reschedule appointment
|
|
14
19
|
* Request to reschedule an appointment
|
|
20
|
+
* @returns any Response for status 200
|
|
15
21
|
* @throws ApiError
|
|
16
22
|
*/
|
|
17
23
|
static postClientPortalAppointmentsByIdReschedule({ id, requestBody, }: {
|
|
@@ -21,22 +27,37 @@ export declare class ClientPortalService {
|
|
|
21
27
|
newEndTime: string;
|
|
22
28
|
reason?: string;
|
|
23
29
|
};
|
|
24
|
-
}): CancelablePromise<
|
|
30
|
+
}): CancelablePromise<{
|
|
31
|
+
success: boolean;
|
|
32
|
+
data?: any;
|
|
33
|
+
error?: string;
|
|
34
|
+
}>;
|
|
25
35
|
/**
|
|
26
36
|
* Get client dashboard
|
|
27
37
|
* Get dashboard with upcoming appointments, pending forms, and unread messages
|
|
38
|
+
* @returns any Response for status 200
|
|
28
39
|
* @throws ApiError
|
|
29
40
|
*/
|
|
30
|
-
static getClientPortalDashboard(): CancelablePromise<
|
|
41
|
+
static getClientPortalDashboard(): CancelablePromise<{
|
|
42
|
+
success: boolean;
|
|
43
|
+
data?: any;
|
|
44
|
+
error?: string;
|
|
45
|
+
}>;
|
|
31
46
|
/**
|
|
32
47
|
* Get client profile
|
|
33
48
|
* Get client profile information
|
|
49
|
+
* @returns any Response for status 200
|
|
34
50
|
* @throws ApiError
|
|
35
51
|
*/
|
|
36
|
-
static getClientPortalProfile(): CancelablePromise<
|
|
52
|
+
static getClientPortalProfile(): CancelablePromise<{
|
|
53
|
+
success: boolean;
|
|
54
|
+
data?: any;
|
|
55
|
+
error?: string;
|
|
56
|
+
}>;
|
|
37
57
|
/**
|
|
38
58
|
* Update client profile
|
|
39
59
|
* Update client contact information
|
|
60
|
+
* @returns any Response for status 200
|
|
40
61
|
* @throws ApiError
|
|
41
62
|
*/
|
|
42
63
|
static putClientPortalProfile({ requestBody, }: {
|
|
@@ -56,6 +77,10 @@ export declare class ClientPortalService {
|
|
|
56
77
|
relationship?: (string | null) | null;
|
|
57
78
|
};
|
|
58
79
|
};
|
|
59
|
-
}): CancelablePromise<
|
|
80
|
+
}): CancelablePromise<{
|
|
81
|
+
success: boolean;
|
|
82
|
+
data?: any;
|
|
83
|
+
error?: string;
|
|
84
|
+
}>;
|
|
60
85
|
}
|
|
61
86
|
//# sourceMappingURL=ClientPortalService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClientPortalService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/ClientPortalService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,qBAAa,mBAAmB;IAC5B
|
|
1
|
+
{"version":3,"file":"ClientPortalService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/ClientPortalService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,qBAAa,mBAAmB;IAC5B;;;;;OAKG;WACW,2BAA2B,CAAC,EACtC,gBAAgB,EAChB,KAAK,GACR,EAAE;QACC,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB,GAAG,iBAAiB,CAAC;QAClB,OAAO,EAAE,OAAO,CAAC;QACjB,IAAI,CAAC,EAAE,GAAG,CAAC;QACX,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IAUF;;;;;OAKG;WACW,0CAA0C,CAAC,EACrD,EAAE,EACF,WAAW,GACd,EAAE;QACC,EAAE,EAAE,MAAM,CAAC;QACX,WAAW,EAAE;YACT,YAAY,EAAE,MAAM,CAAC;YACrB,UAAU,EAAE,MAAM,CAAC;YACnB,MAAM,CAAC,EAAE,MAAM,CAAC;SACnB,CAAC;KACL,GAAG,iBAAiB,CAAC;QAClB,OAAO,EAAE,OAAO,CAAC;QACjB,IAAI,CAAC,EAAE,GAAG,CAAC;QACX,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IAWF;;;;;OAKG;WACW,wBAAwB,IAAI,iBAAiB,CAAC;QACxD,OAAO,EAAE,OAAO,CAAC;QACjB,IAAI,CAAC,EAAE,GAAG,CAAC;QACX,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IAMF;;;;;OAKG;WACW,sBAAsB,IAAI,iBAAiB,CAAC;QACtD,OAAO,EAAE,OAAO,CAAC;QACjB,IAAI,CAAC,EAAE,GAAG,CAAC;QACX,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IAMF;;;;;OAKG;WACW,sBAAsB,CAAC,EACjC,WAAW,GACd,EAAE;QACC,WAAW,EAAE;YACT,KAAK,CAAC,EAAE,MAAM,CAAC;YACf,KAAK,CAAC,EAAE,MAAM,CAAC;YACf,OAAO,CAAC,EAAE;gBACN,MAAM,CAAC,EAAE,MAAM,CAAC;gBAChB,IAAI,CAAC,EAAE,MAAM,CAAC;gBACd,KAAK,CAAC,EAAE,MAAM,CAAC;gBACf,GAAG,CAAC,EAAE,MAAM,CAAC;gBACb,OAAO,CAAC,EAAE,MAAM,CAAC;aACpB,CAAC;YACF,gBAAgB,CAAC,EAAE;gBACf,IAAI,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;gBAC9B,KAAK,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;gBAC/B,YAAY,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;aACzC,CAAC;SACL,CAAC;KACL,GAAG,iBAAiB,CAAC;QAClB,OAAO,EAAE,OAAO,CAAC;QACjB,IAAI,CAAC,EAAE,GAAG,CAAC;QACX,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;CAQL"}
|
|
@@ -4,6 +4,7 @@ export class ClientPortalService {
|
|
|
4
4
|
/**
|
|
5
5
|
* List client appointments
|
|
6
6
|
* List appointments for the logged-in client
|
|
7
|
+
* @returns any Response for status 200
|
|
7
8
|
* @throws ApiError
|
|
8
9
|
*/
|
|
9
10
|
static getClientPortalAppointments({ includeCompleted, limit, }) {
|
|
@@ -19,6 +20,7 @@ export class ClientPortalService {
|
|
|
19
20
|
/**
|
|
20
21
|
* Reschedule appointment
|
|
21
22
|
* Request to reschedule an appointment
|
|
23
|
+
* @returns any Response for status 200
|
|
22
24
|
* @throws ApiError
|
|
23
25
|
*/
|
|
24
26
|
static postClientPortalAppointmentsByIdReschedule({ id, requestBody, }) {
|
|
@@ -35,6 +37,7 @@ export class ClientPortalService {
|
|
|
35
37
|
/**
|
|
36
38
|
* Get client dashboard
|
|
37
39
|
* Get dashboard with upcoming appointments, pending forms, and unread messages
|
|
40
|
+
* @returns any Response for status 200
|
|
38
41
|
* @throws ApiError
|
|
39
42
|
*/
|
|
40
43
|
static getClientPortalDashboard() {
|
|
@@ -46,6 +49,7 @@ export class ClientPortalService {
|
|
|
46
49
|
/**
|
|
47
50
|
* Get client profile
|
|
48
51
|
* Get client profile information
|
|
52
|
+
* @returns any Response for status 200
|
|
49
53
|
* @throws ApiError
|
|
50
54
|
*/
|
|
51
55
|
static getClientPortalProfile() {
|
|
@@ -57,6 +61,7 @@ export class ClientPortalService {
|
|
|
57
61
|
/**
|
|
58
62
|
* Update client profile
|
|
59
63
|
* Update client contact information
|
|
64
|
+
* @returns any Response for status 200
|
|
60
65
|
* @throws ApiError
|
|
61
66
|
*/
|
|
62
67
|
static putClientPortalProfile({ requestBody, }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClientPortalService.js","sourceRoot":"","sources":["../../../src/generated/services/ClientPortalService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,MAAM,OAAO,mBAAmB;IAC5B
|
|
1
|
+
{"version":3,"file":"ClientPortalService.js","sourceRoot":"","sources":["../../../src/generated/services/ClientPortalService.ts"],"names":[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CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -3,15 +3,22 @@ export declare class DiagnosesService {
|
|
|
3
3
|
/**
|
|
4
4
|
* List client diagnoses
|
|
5
5
|
* Get all active diagnoses for a client, optionally including removed diagnoses
|
|
6
|
+
* @returns any Response for status 200
|
|
6
7
|
* @throws ApiError
|
|
7
8
|
*/
|
|
8
9
|
static getClientsByIdDiagnoses({ id, includeRemoved, }: {
|
|
9
10
|
id: string;
|
|
10
11
|
includeRemoved?: string;
|
|
11
|
-
}): CancelablePromise<
|
|
12
|
+
}): CancelablePromise<{
|
|
13
|
+
success: boolean;
|
|
14
|
+
data?: any;
|
|
15
|
+
count: number;
|
|
16
|
+
error?: string;
|
|
17
|
+
}>;
|
|
12
18
|
/**
|
|
13
19
|
* Assign diagnoses
|
|
14
20
|
* Assign one or more diagnoses to a client. Exactly one must be marked as primary. Clinical justification required (minimum 50 characters).
|
|
21
|
+
* @returns any Response for status 200
|
|
15
22
|
* @throws ApiError
|
|
16
23
|
*/
|
|
17
24
|
static postClientsByIdDiagnoses({ id, requestBody, }: {
|
|
@@ -26,18 +33,29 @@ export declare class DiagnosesService {
|
|
|
26
33
|
dateAssigned?: string;
|
|
27
34
|
}>;
|
|
28
35
|
};
|
|
29
|
-
}): CancelablePromise<
|
|
36
|
+
}): CancelablePromise<{
|
|
37
|
+
success: boolean;
|
|
38
|
+
data?: any;
|
|
39
|
+
count: number;
|
|
40
|
+
error?: string;
|
|
41
|
+
}>;
|
|
30
42
|
/**
|
|
31
43
|
* Get diagnosis history
|
|
32
44
|
* Get complete diagnosis history for a client including all changes
|
|
45
|
+
* @returns any Response for status 200
|
|
33
46
|
* @throws ApiError
|
|
34
47
|
*/
|
|
35
48
|
static getClientsByIdDiagnosesHistory({ id, }: {
|
|
36
49
|
id: string;
|
|
37
|
-
}): CancelablePromise<
|
|
50
|
+
}): CancelablePromise<{
|
|
51
|
+
success: boolean;
|
|
52
|
+
data?: any;
|
|
53
|
+
error?: string;
|
|
54
|
+
}>;
|
|
38
55
|
/**
|
|
39
56
|
* Change primary diagnosis
|
|
40
57
|
* Change the client's primary diagnosis. Previous primary becomes secondary. Change reason optional but must be at least 20 characters if provided.
|
|
58
|
+
* @returns any Response for status 200
|
|
41
59
|
* @throws ApiError
|
|
42
60
|
*/
|
|
43
61
|
static putClientsByIdDiagnosesByDiagnosisIdPrimary({ id, diagnosisId, requestBody, }: {
|
|
@@ -47,10 +65,14 @@ export declare class DiagnosesService {
|
|
|
47
65
|
newPrimaryDiagnosisId: string;
|
|
48
66
|
changeReason?: string;
|
|
49
67
|
};
|
|
50
|
-
}): CancelablePromise<
|
|
68
|
+
}): CancelablePromise<{
|
|
69
|
+
success: boolean;
|
|
70
|
+
message: string;
|
|
71
|
+
}>;
|
|
51
72
|
/**
|
|
52
73
|
* Remove diagnosis
|
|
53
74
|
* Remove (soft delete) a diagnosis from a client. Removal reason required (minimum 20 characters). Cannot remove last active diagnosis.
|
|
75
|
+
* @returns any Response for status 200
|
|
54
76
|
* @throws ApiError
|
|
55
77
|
*/
|
|
56
78
|
static deleteClientsByIdDiagnosesByDiagnosisId({ id, diagnosisId, requestBody, }: {
|
|
@@ -59,6 +81,9 @@ export declare class DiagnosesService {
|
|
|
59
81
|
requestBody: {
|
|
60
82
|
removalReason: string;
|
|
61
83
|
};
|
|
62
|
-
}): CancelablePromise<
|
|
84
|
+
}): CancelablePromise<{
|
|
85
|
+
success: boolean;
|
|
86
|
+
message: string;
|
|
87
|
+
}>;
|
|
63
88
|
}
|
|
64
89
|
//# sourceMappingURL=DiagnosesService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DiagnosesService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/DiagnosesService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,qBAAa,gBAAgB;IACzB
|
|
1
|
+
{"version":3,"file":"DiagnosesService.d.ts","sourceRo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WACW,2CAA2C,CAAC,EACtD,EAAE,EACF,WAAW,EACX,WAAW,GACd,EAAE;QACC,EAAE,EAAE,MAAM,CAAC;QACX,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,EAAE;YACT,qBAAqB,EAAE,MAAM,CAAC;YAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;SACzB,CAAC;KACL,GAAG,iBAAiB,CAAC;QAClB,OAAO,EAAE,OAAO,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;KACnB,CAAC;IAYF;;;;;OAKG;WACW,uCAAuC,CAAC,EAClD,EAAE,EACF,WAAW,EACX,WAAW,GACd,EAAE;QACC,EAAE,EAAE,MAAM,CAAC;QACX,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,EAAE;YACT,aAAa,EAAE,MAAM,CAAC;SACzB,CAAC;KACL,GAAG,iBAAiB,CAAC;QAClB,OAAO,EAAE,OAAO,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;KACnB,CAAC;CAYL"}
|
|
@@ -4,6 +4,7 @@ export class DiagnosesService {
|
|
|
4
4
|
/**
|
|
5
5
|
* List client diagnoses
|
|
6
6
|
* Get all active diagnoses for a client, optionally including removed diagnoses
|
|
7
|
+
* @returns any Response for status 200
|
|
7
8
|
* @throws ApiError
|
|
8
9
|
*/
|
|
9
10
|
static getClientsByIdDiagnoses({ id, includeRemoved, }) {
|
|
@@ -21,6 +22,7 @@ export class DiagnosesService {
|
|
|
21
22
|
/**
|
|
22
23
|
* Assign diagnoses
|
|
23
24
|
* Assign one or more diagnoses to a client. Exactly one must be marked as primary. Clinical justification required (minimum 50 characters).
|
|
25
|
+
* @returns any Response for status 200
|
|
24
26
|
* @throws ApiError
|
|
25
27
|
*/
|
|
26
28
|
static postClientsByIdDiagnoses({ id, requestBody, }) {
|
|
@@ -37,6 +39,7 @@ export class DiagnosesService {
|
|
|
37
39
|
/**
|
|
38
40
|
* Get diagnosis history
|
|
39
41
|
* Get complete diagnosis history for a client including all changes
|
|
42
|
+
* @returns any Response for status 200
|
|
40
43
|
* @throws ApiError
|
|
41
44
|
*/
|
|
42
45
|
static getClientsByIdDiagnosesHistory({ id, }) {
|
|
@@ -51,6 +54,7 @@ export class DiagnosesService {
|
|
|
51
54
|
/**
|
|
52
55
|
* Change primary diagnosis
|
|
53
56
|
* Change the client's primary diagnosis. Previous primary becomes secondary. Change reason optional but must be at least 20 characters if provided.
|
|
57
|
+
* @returns any Response for status 200
|
|
54
58
|
* @throws ApiError
|
|
55
59
|
*/
|
|
56
60
|
static putClientsByIdDiagnosesByDiagnosisIdPrimary({ id, diagnosisId, requestBody, }) {
|
|
@@ -68,6 +72,7 @@ export class DiagnosesService {
|
|
|
68
72
|
/**
|
|
69
73
|
* Remove diagnosis
|
|
70
74
|
* Remove (soft delete) a diagnosis from a client. Removal reason required (minimum 20 characters). Cannot remove last active diagnosis.
|
|
75
|
+
* @returns any Response for status 200
|
|
71
76
|
* @throws ApiError
|
|
72
77
|
*/
|
|
73
78
|
static deleteClientsByIdDiagnosesByDiagnosisId({ id, diagnosisId, requestBody, }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DiagnosesService.js","sourceRoot":"","sources":["../../../src/generated/services/DiagnosesService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,MAAM,OAAO,gBAAgB;IACzB
|
|
1
|
+
{"version":3,"file":"DiagnosesService.js","sourceRoot":"","sources":["../../../src/generated/services/DiagnosesService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,MAAM,OAAO,gBAAgB;IACzB;;;;;OAKG;IACI,MAAM,CAAC,uBAAuB,CAAC,EAClC,EAAE,EACF,cAAc,GA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