@teja-app/api-client 2026.5.13 → 2026.5.17

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 (56) hide show
  1. package/dist/generated/index.d.ts +4 -4
  2. package/dist/generated/index.d.ts.map +1 -1
  3. package/dist/generated/index.js +4 -4
  4. package/dist/generated/index.js.map +1 -1
  5. package/dist/generated/services/AppointmentsService.d.ts +53 -0
  6. package/dist/generated/services/AppointmentsService.d.ts.map +1 -1
  7. package/dist/generated/services/AppointmentsService.js +30 -0
  8. package/dist/generated/services/AppointmentsService.js.map +1 -1
  9. package/dist/generated/services/BillingCodesService.d.ts +25 -0
  10. package/dist/generated/services/BillingCodesService.d.ts.map +1 -0
  11. package/dist/generated/services/BillingCodesService.js +20 -0
  12. package/dist/generated/services/BillingCodesService.js.map +1 -0
  13. package/dist/generated/services/ClientPortalAppointmentsService.d.ts +6 -0
  14. package/dist/generated/services/ClientPortalAppointmentsService.d.ts.map +1 -1
  15. package/dist/generated/services/ClientPortalAppointmentsService.js.map +1 -1
  16. package/dist/generated/services/ClientPortalService.d.ts +224 -0
  17. package/dist/generated/services/ClientPortalService.d.ts.map +1 -1
  18. package/dist/generated/services/ClientPortalService.js +50 -0
  19. package/dist/generated/services/ClientPortalService.js.map +1 -1
  20. package/dist/generated/services/ClientsService.d.ts +17 -0
  21. package/dist/generated/services/ClientsService.d.ts.map +1 -1
  22. package/dist/generated/services/ClientsService.js +15 -0
  23. package/dist/generated/services/ClientsService.js.map +1 -1
  24. package/dist/generated/services/InvoicesService.d.ts +635 -0
  25. package/dist/generated/services/InvoicesService.d.ts.map +1 -0
  26. package/dist/generated/services/InvoicesService.js +172 -0
  27. package/dist/generated/services/InvoicesService.js.map +1 -0
  28. package/dist/generated/services/ServicesService.d.ts +204 -0
  29. package/dist/generated/services/ServicesService.d.ts.map +1 -0
  30. package/dist/generated/services/ServicesService.js +109 -0
  31. package/dist/generated/services/ServicesService.js.map +1 -0
  32. package/dist/generated/services/SuperbillsService.d.ts +60 -357
  33. package/dist/generated/services/SuperbillsService.d.ts.map +1 -1
  34. package/dist/generated/services/SuperbillsService.js +8 -240
  35. package/dist/generated/services/SuperbillsService.js.map +1 -1
  36. package/dist/generated/services/TelehealthService.d.ts +30 -0
  37. package/dist/generated/services/TelehealthService.d.ts.map +1 -0
  38. package/dist/generated/services/TelehealthService.js +46 -0
  39. package/dist/generated/services/TelehealthService.js.map +1 -0
  40. package/package.json +1 -1
  41. package/dist/generated/services/BillingService.d.ts +0 -427
  42. package/dist/generated/services/BillingService.d.ts.map +0 -1
  43. package/dist/generated/services/BillingService.js +0 -280
  44. package/dist/generated/services/BillingService.js.map +0 -1
  45. package/dist/generated/services/ClientPortalSuperbillsService.d.ts +0 -13
  46. package/dist/generated/services/ClientPortalSuperbillsService.d.ts.map +0 -1
  47. package/dist/generated/services/ClientPortalSuperbillsService.js +0 -20
  48. package/dist/generated/services/ClientPortalSuperbillsService.js.map +0 -1
  49. package/dist/generated/services/CreditsService.d.ts +0 -82
  50. package/dist/generated/services/CreditsService.d.ts.map +0 -1
  51. package/dist/generated/services/CreditsService.js +0 -63
  52. package/dist/generated/services/CreditsService.js.map +0 -1
  53. package/dist/generated/services/SuperbillCodesService.d.ts +0 -84
  54. package/dist/generated/services/SuperbillCodesService.d.ts.map +0 -1
  55. package/dist/generated/services/SuperbillCodesService.js +0 -84
  56. package/dist/generated/services/SuperbillCodesService.js.map +0 -1
@@ -2,274 +2,42 @@ import { OpenAPI } from '../core/OpenAPI';
2
2
  import { request as __request } from '../core/request';
3
3
  export class SuperbillsService {
4
4
  /**
5
- * Get superbill
6
- * Get superbill by ID
5
+ * List insurance superbills (US-only)
7
6
  * @returns any Response for status 200
8
7
  * @throws ApiError
9
8
  */
10
- static getSuperbillsById({ id, }) {
11
- return __request(OpenAPI, {
12
- method: 'GET',
13
- url: '/superbills/{id}',
14
- path: {
15
- 'id': id,
16
- },
17
- });
18
- }
19
- /**
20
- * Delete superbill
21
- * Delete a superbill
22
- * @returns any Response for status 200
23
- * @throws ApiError
24
- */
25
- static deleteSuperbillsById({ id, }) {
26
- return __request(OpenAPI, {
27
- method: 'DELETE',
28
- url: '/superbills/{id}',
29
- path: {
30
- 'id': id,
31
- },
32
- });
33
- }
34
- /**
35
- * List superbills
36
- * List superbills with filters
37
- * @returns any Response for status 200
38
- * @throws ApiError
39
- */
40
- static getSuperbills({ clientId, status, dateRangeStart, dateRangeEnd, limit, offset, }) {
9
+ static getSuperbills({ clientId, }) {
41
10
  return __request(OpenAPI, {
42
11
  method: 'GET',
43
12
  url: '/superbills',
44
13
  query: {
45
14
  'clientId': clientId,
46
- 'status': status,
47
- 'dateRangeStart': dateRangeStart,
48
- 'dateRangeEnd': dateRangeEnd,
49
- 'limit': limit,
50
- 'offset': offset,
51
- },
52
- });
53
- }
54
- /**
55
- * Create superbill
56
- * Create a new superbill for a client
57
- * @returns any Response for status 200
58
- * @throws ApiError
59
- */
60
- static postSuperbills({ requestBody, }) {
61
- return __request(OpenAPI, {
62
- method: 'POST',
63
- url: '/superbills',
64
- body: requestBody,
65
- mediaType: 'application/json',
66
- });
67
- }
68
- /**
69
- * Get AI code suggestions
70
- * Get AI-powered code suggestions for a session
71
- * @returns any Response for status 200
72
- * @throws ApiError
73
- */
74
- static getSuperbillsAiSuggestCodes({ sessionId, }) {
75
- return __request(OpenAPI, {
76
- method: 'GET',
77
- url: '/superbills/ai/suggest-codes',
78
- query: {
79
- 'sessionId': sessionId,
80
15
  },
81
16
  });
82
17
  }
83
18
  /**
84
- * List superbill payments
85
- * List all payment records for a superbill
19
+ * Get a superbill
86
20
  * @returns any Response for status 200
87
21
  * @throws ApiError
88
22
  */
89
- static getSuperbillsByIdPayments({ id, }) {
23
+ static getSuperbillsById({ id, }) {
90
24
  return __request(OpenAPI, {
91
25
  method: 'GET',
92
- url: '/superbills/{id}/payments',
93
- path: {
94
- 'id': id,
95
- },
96
- });
97
- }
98
- /**
99
- * Record payment
100
- * Record a manual payment on a superbill
101
- * @returns any Response for status 200
102
- * @throws ApiError
103
- */
104
- static postSuperbillsByIdPayments({ id, requestBody, }) {
105
- return __request(OpenAPI, {
106
- method: 'POST',
107
- url: '/superbills/{id}/payments',
108
- path: {
109
- 'id': id,
110
- },
111
- body: requestBody,
112
- mediaType: 'application/json',
113
- });
114
- }
115
- /**
116
- * Add billing entry
117
- * Add a billing entry to a superbill
118
- * @returns any Response for status 200
119
- * @throws ApiError
120
- */
121
- static postSuperbillsByIdBillingEntries({ id, requestBody, }) {
122
- return __request(OpenAPI, {
123
- method: 'POST',
124
- url: '/superbills/{id}/billing-entries',
125
- path: {
126
- 'id': id,
127
- },
128
- body: requestBody,
129
- mediaType: 'application/json',
130
- });
131
- }
132
- /**
133
- * Update billing entry
134
- * Update an existing billing entry
135
- * @returns any Response for status 200
136
- * @throws ApiError
137
- */
138
- static patchSuperbillsByIdBillingEntriesByEntryId({ id, entryId, requestBody, }) {
139
- return __request(OpenAPI, {
140
- method: 'PATCH',
141
- url: '/superbills/{id}/billing-entries/{entryId}',
142
- path: {
143
- 'id': id,
144
- 'entryId': entryId,
145
- },
146
- body: requestBody,
147
- mediaType: 'application/json',
148
- });
149
- }
150
- /**
151
- * Remove billing entry
152
- * Remove a billing entry from a superbill
153
- * @returns any Response for status 200
154
- * @throws ApiError
155
- */
156
- static deleteSuperbillsByIdBillingEntriesByEntryId({ id, entryId, }) {
157
- return __request(OpenAPI, {
158
- method: 'DELETE',
159
- url: '/superbills/{id}/billing-entries/{entryId}',
160
- path: {
161
- 'id': id,
162
- 'entryId': entryId,
163
- },
164
- });
165
- }
166
- /**
167
- * Generate HTML superbill
168
- * Generate HTML version of superbill
169
- * @returns any Response for status 200
170
- * @throws ApiError
171
- */
172
- static postSuperbillsByIdGenerateHtml({ id, }) {
173
- return __request(OpenAPI, {
174
- method: 'POST',
175
- url: '/superbills/{id}/generate/html',
176
- path: {
177
- 'id': id,
178
- },
179
- });
180
- }
181
- /**
182
- * Generate PDF superbill
183
- * Generate PDF version of superbill (BASIC tier)
184
- * @returns any Response for status 200
185
- * @throws ApiError
186
- */
187
- static postSuperbillsByIdGeneratePdf({ id, }) {
188
- return __request(OpenAPI, {
189
- method: 'POST',
190
- url: '/superbills/{id}/generate/pdf',
191
- path: {
192
- 'id': id,
193
- },
194
- });
195
- }
196
- /**
197
- * Send superbill email
198
- * Send superbill to client via email
199
- * @returns any Response for status 200
200
- * @throws ApiError
201
- */
202
- static postSuperbillsByIdSendEmail({ id, }) {
203
- return __request(OpenAPI, {
204
- method: 'POST',
205
- url: '/superbills/{id}/send-email',
206
- path: {
207
- 'id': id,
208
- },
209
- });
210
- }
211
- /**
212
- * Mark superbill ready
213
- * Mark a draft superbill as ready for billing
214
- * @returns any Response for status 200
215
- * @throws ApiError
216
- */
217
- static postSuperbillsByIdReady({ id, }) {
218
- return __request(OpenAPI, {
219
- method: 'POST',
220
- url: '/superbills/{id}/ready',
221
- path: {
222
- 'id': id,
223
- },
224
- });
225
- }
226
- /**
227
- * Void superbill
228
- * Void a superbill with a reason
229
- * @returns any Response for status 200
230
- * @throws ApiError
231
- */
232
- static postSuperbillsByIdVoid({ id, requestBody, }) {
233
- return __request(OpenAPI, {
234
- method: 'POST',
235
- url: '/superbills/{id}/void',
236
- path: {
237
- 'id': id,
238
- },
239
- body: requestBody,
240
- mediaType: 'application/json',
241
- });
242
- }
243
- /**
244
- * Process refund
245
- * Process a refund on a superbill payment
246
- * @returns any Response for status 200
247
- * @throws ApiError
248
- */
249
- static postSuperbillsByIdRefund({ id, requestBody, }) {
250
- return __request(OpenAPI, {
251
- method: 'POST',
252
- url: '/superbills/{id}/refund',
26
+ url: '/superbills/{id}',
253
27
  path: {
254
28
  'id': id,
255
29
  },
256
- body: requestBody,
257
- mediaType: 'application/json',
258
30
  });
259
31
  }
260
32
  /**
261
- * Set adjustment
262
- * Set an adjustment amount and reason on a superbill
33
+ * Create an insurance superbill from invoices (US-only)
263
34
  * @returns any Response for status 200
264
35
  * @throws ApiError
265
36
  */
266
- static postSuperbillsByIdAdjustment({ id, requestBody, }) {
37
+ static postSuperbillsFromInvoices({ requestBody, }) {
267
38
  return __request(OpenAPI, {
268
39
  method: 'POST',
269
- url: '/superbills/{id}/adjustment',
270
- path: {
271
- 'id': id,
272
- },
40
+ url: '/superbills/from-invoices',
273
41
  body: requestBody,
274
42
  mediaType: 'application/json',
275
43
  });
@@ -1 +1 @@
1
- {"version":3,"file":"SuperbillsService.js","sourceRoot":"","sources":["../../../src/generated/services/SuperbillsService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,MAAM,OAAO,iBAAiB;IAC1B;;;;;OAKG;IACI,MAAM,CAAC,iBAAiB,CAAC,EAC5B,EAAE,GAGL;QAgGG,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,kBAAkB;YACvB,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,MAAM,CAAC,oBAAoB,CAAC,EAC/B,EAAE,GAGL;QAIG,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,kBAAkB;YACvB,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,MAAM,CAAC,aAAa,CAAC,EACxB,QAAQ,EACR,MAAM,EACN,cAAc,EACd,YAAY,EACZ,KAAK,EACL,MAAM,GAQT;QAMG,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,aAAa;YAClB,KAAK,EAAE;gBACH,UAAU,EAAE,QAAQ;gBACpB,QAAQ,EAAE,MAAM;gBAChB,gBAAgB,EAAE,cA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ChC,CAAC,CAAC;IACP,CAAC;CACJ"}
1
+ {"version":3,"file":"SuperbillsService.js","sourceRoot":"","sources":["../../../src/generated/services/SuperbillsService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,MAAM,OAAO,iBAAiB;IAC1B;;;;OAIG;IACI,MAAM,CAAC,aAAa,CAAC,EACxB,QAAQ,GAGX;QA0BG,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,aAAa;YAClB,KAAK,EAAE;gBACH,UAAU,EAAE,QAAQ;aACvB;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;OAIG;IACI,MAAM,CAAC,iBAAiB,CAAC,EAC5B,EAAE,GAGL;QAyBG,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,kBAAkB;YACvB,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;OAIG;IACI,MAAM,CAAC,0BAA0B,CAAC,EACrC,WAAW,GAMd;QAyBG,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,2BAA2B;YAChC,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ"}
@@ -0,0 +1,30 @@
1
+ import type { CancelablePromise } from '../core/CancelablePromise';
2
+ export declare class TelehealthService {
3
+ /**
4
+ * Issue telehealth ticket (therapist)
5
+ * Mints a short-lived telehealth ticket for the authenticated therapist to join the appointment's video room.
6
+ * @throws ApiError
7
+ */
8
+ static postAppointmentsByIdVideoToken({ id, }: {
9
+ id: string;
10
+ }): CancelablePromise<void>;
11
+ /**
12
+ * Issue telehealth ticket (client)
13
+ * Mints a short-lived telehealth ticket for the authenticated client to join the appointment's video room.
14
+ * @throws ApiError
15
+ */
16
+ static postClientPortalAppointmentsByIdVideoToken({ id, }: {
17
+ id: string;
18
+ }): CancelablePromise<void>;
19
+ /**
20
+ * Exchange a telehealth join deep-link token
21
+ * Single-use exchange of the `?join=<token>` token from the 2h reminder email for a regular client-portal session. Rate-limited per IP.
22
+ * @throws ApiError
23
+ */
24
+ static postTelehealthJoinTokensExchange({ requestBody, }: {
25
+ requestBody: {
26
+ token: string;
27
+ };
28
+ }): CancelablePromise<void>;
29
+ }
30
+ //# sourceMappingURL=TelehealthService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TelehealthService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/TelehealthService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,qBAAa,iBAAiB;IAC1B;;;;OAIG;WACW,8BAA8B,CAAC,EACzC,EAAE,GACL,EAAE;QACC,EAAE,EAAE,MAAM,CAAC;KACd,GAAG,iBAAiB,CAAC,IAAI,CAAC;IAS3B;;;;OAIG;WACW,0CAA0C,CAAC,EACrD,EAAE,GACL,EAAE;QACC,EAAE,EAAE,MAAM,CAAC;KACd,GAAG,iBAAiB,CAAC,IAAI,CAAC;IAS3B;;;;OAIG;WACW,gCAAgC,CAAC,EAC3C,WAAW,GACd,EAAE;QACC,WAAW,EAAE;YACT,KAAK,EAAE,MAAM,CAAC;SACjB,CAAC;KACL,GAAG,iBAAiB,CAAC,IAAI,CAAC;CAQ9B"}
@@ -0,0 +1,46 @@
1
+ import { OpenAPI } from '../core/OpenAPI';
2
+ import { request as __request } from '../core/request';
3
+ export class TelehealthService {
4
+ /**
5
+ * Issue telehealth ticket (therapist)
6
+ * Mints a short-lived telehealth ticket for the authenticated therapist to join the appointment's video room.
7
+ * @throws ApiError
8
+ */
9
+ static postAppointmentsByIdVideoToken({ id, }) {
10
+ return __request(OpenAPI, {
11
+ method: 'POST',
12
+ url: '/appointments/{id}/video-token',
13
+ path: {
14
+ 'id': id,
15
+ },
16
+ });
17
+ }
18
+ /**
19
+ * Issue telehealth ticket (client)
20
+ * Mints a short-lived telehealth ticket for the authenticated client to join the appointment's video room.
21
+ * @throws ApiError
22
+ */
23
+ static postClientPortalAppointmentsByIdVideoToken({ id, }) {
24
+ return __request(OpenAPI, {
25
+ method: 'POST',
26
+ url: '/client-portal/appointments/{id}/video-token',
27
+ path: {
28
+ 'id': id,
29
+ },
30
+ });
31
+ }
32
+ /**
33
+ * Exchange a telehealth join deep-link token
34
+ * Single-use exchange of the `?join=<token>` token from the 2h reminder email for a regular client-portal session. Rate-limited per IP.
35
+ * @throws ApiError
36
+ */
37
+ static postTelehealthJoinTokensExchange({ requestBody, }) {
38
+ return __request(OpenAPI, {
39
+ method: 'POST',
40
+ url: '/telehealth/join-tokens/exchange',
41
+ body: requestBody,
42
+ mediaType: 'application/json',
43
+ });
44
+ }
45
+ }
46
+ //# sourceMappingURL=TelehealthService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TelehealthService.js","sourceRoot":"","sources":["../../../src/generated/services/TelehealthService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,MAAM,OAAO,iBAAiB;IAC1B;;;;OAIG;IACI,MAAM,CAAC,8BAA8B,CAAC,EACzC,EAAE,GAGL;QACG,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,gCAAgC;YACrC,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;OAIG;IACI,MAAM,CAAC,0CAA0C,CAAC,EACrD,EAAE,GAGL;QACG,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,8CAA8C;YACnD,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;OAIG;IACI,MAAM,CAAC,gCAAgC,CAAC,EAC3C,WAAW,GAKd;QACG,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,kCAAkC;YACvC,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teja-app/api-client",
3
- "version": "2026.5.13",
3
+ "version": "2026.5.17",
4
4
  "description": "TypeScript SDK for the Teja API",
5
5
  "author": "Teja App",
6
6
  "license": "MIT",