@teja-app/api-client 2026.5.22 → 2026.6.4

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 (169) hide show
  1. package/dist/generated/index.d.ts +15 -0
  2. package/dist/generated/index.d.ts.map +1 -1
  3. package/dist/generated/index.js +15 -0
  4. package/dist/generated/index.js.map +1 -1
  5. package/dist/generated/services/AnnouncementsService.d.ts +20 -0
  6. package/dist/generated/services/AnnouncementsService.d.ts.map +1 -1
  7. package/dist/generated/services/AnnouncementsService.js +26 -0
  8. package/dist/generated/services/AnnouncementsService.js.map +1 -1
  9. package/dist/generated/services/AppointmentSettingsService.d.ts +209 -0
  10. package/dist/generated/services/AppointmentSettingsService.d.ts.map +1 -0
  11. package/dist/generated/services/AppointmentSettingsService.js +66 -0
  12. package/dist/generated/services/AppointmentSettingsService.js.map +1 -0
  13. package/dist/generated/services/AppointmentsService.d.ts +7 -0
  14. package/dist/generated/services/AppointmentsService.d.ts.map +1 -1
  15. package/dist/generated/services/AppointmentsService.js +13 -0
  16. package/dist/generated/services/AppointmentsService.js.map +1 -1
  17. package/dist/generated/services/AssessmentsService.d.ts +32 -0
  18. package/dist/generated/services/AssessmentsService.d.ts.map +1 -1
  19. package/dist/generated/services/AssessmentsService.js +18 -0
  20. package/dist/generated/services/AssessmentsService.js.map +1 -1
  21. package/dist/generated/services/AuthService.d.ts +17 -0
  22. package/dist/generated/services/AuthService.d.ts.map +1 -1
  23. package/dist/generated/services/AuthService.js +14 -0
  24. package/dist/generated/services/AuthService.js.map +1 -1
  25. package/dist/generated/services/BusinessFilesService.d.ts +56 -0
  26. package/dist/generated/services/BusinessFilesService.d.ts.map +1 -0
  27. package/dist/generated/services/BusinessFilesService.js +44 -0
  28. package/dist/generated/services/BusinessFilesService.js.map +1 -0
  29. package/dist/generated/services/ClientPortalAppointmentsService.d.ts +38 -0
  30. package/dist/generated/services/ClientPortalAppointmentsService.d.ts.map +1 -1
  31. package/dist/generated/services/ClientPortalAppointmentsService.js +39 -0
  32. package/dist/generated/services/ClientPortalAppointmentsService.js.map +1 -1
  33. package/dist/generated/services/ClientPortalService.d.ts +126 -0
  34. package/dist/generated/services/ClientPortalService.d.ts.map +1 -1
  35. package/dist/generated/services/ClientPortalService.js +145 -0
  36. package/dist/generated/services/ClientPortalService.js.map +1 -1
  37. package/dist/generated/services/ClientsService.d.ts +36 -1
  38. package/dist/generated/services/ClientsService.d.ts.map +1 -1
  39. package/dist/generated/services/ClientsService.js +17 -1
  40. package/dist/generated/services/ClientsService.js.map +1 -1
  41. package/dist/generated/services/DefaultService.d.ts +58 -1
  42. package/dist/generated/services/DefaultService.d.ts.map +1 -1
  43. package/dist/generated/services/DefaultService.js +44 -1
  44. package/dist/generated/services/DefaultService.js.map +1 -1
  45. package/dist/generated/services/DiagnosesService.d.ts +44 -0
  46. package/dist/generated/services/DiagnosesService.d.ts.map +1 -1
  47. package/dist/generated/services/DiagnosesService.js +33 -0
  48. package/dist/generated/services/DiagnosesService.js.map +1 -1
  49. package/dist/generated/services/DocumentsService.d.ts +33 -0
  50. package/dist/generated/services/DocumentsService.d.ts.map +1 -1
  51. package/dist/generated/services/DocumentsService.js +19 -0
  52. package/dist/generated/services/DocumentsService.js.map +1 -1
  53. package/dist/generated/services/GoldenThreadService.d.ts +1 -0
  54. package/dist/generated/services/GoldenThreadService.d.ts.map +1 -1
  55. package/dist/generated/services/GoldenThreadService.js.map +1 -1
  56. package/dist/generated/services/InquiriesService.d.ts +34 -0
  57. package/dist/generated/services/InquiriesService.d.ts.map +1 -1
  58. package/dist/generated/services/InquiriesService.js +14 -0
  59. package/dist/generated/services/InquiriesService.js.map +1 -1
  60. package/dist/generated/services/InsuranceClaimTroubleshootingService.d.ts +359 -0
  61. package/dist/generated/services/InsuranceClaimTroubleshootingService.d.ts.map +1 -0
  62. package/dist/generated/services/InsuranceClaimTroubleshootingService.js +94 -0
  63. package/dist/generated/services/InsuranceClaimTroubleshootingService.js.map +1 -0
  64. package/dist/generated/services/InsuranceClaimsService.d.ts +602 -0
  65. package/dist/generated/services/InsuranceClaimsService.d.ts.map +1 -0
  66. package/dist/generated/services/InsuranceClaimsService.js +165 -0
  67. package/dist/generated/services/InsuranceClaimsService.js.map +1 -0
  68. package/dist/generated/services/InsuranceClientPoliciesService.d.ts +203 -0
  69. package/dist/generated/services/InsuranceClientPoliciesService.d.ts.map +1 -0
  70. package/dist/generated/services/InsuranceClientPoliciesService.js +82 -0
  71. package/dist/generated/services/InsuranceClientPoliciesService.js.map +1 -0
  72. package/dist/generated/services/InsuranceEligibilityAuthorizationsService.d.ts +278 -0
  73. package/dist/generated/services/InsuranceEligibilityAuthorizationsService.d.ts.map +1 -0
  74. package/dist/generated/services/InsuranceEligibilityAuthorizationsService.js +129 -0
  75. package/dist/generated/services/InsuranceEligibilityAuthorizationsService.js.map +1 -0
  76. package/dist/generated/services/InsuranceErAsService.d.ts +114 -0
  77. package/dist/generated/services/InsuranceErAsService.d.ts.map +1 -0
  78. package/dist/generated/services/InsuranceErAsService.js +45 -0
  79. package/dist/generated/services/InsuranceErAsService.js.map +1 -0
  80. package/dist/generated/services/InsurancePayerEnrollmentsService.d.ts +149 -0
  81. package/dist/generated/services/InsurancePayerEnrollmentsService.d.ts.map +1 -0
  82. package/dist/generated/services/InsurancePayerEnrollmentsService.js +76 -0
  83. package/dist/generated/services/InsurancePayerEnrollmentsService.js.map +1 -0
  84. package/dist/generated/services/InsurancePayersBillingSetupService.d.ts +410 -0
  85. package/dist/generated/services/InsurancePayersBillingSetupService.d.ts.map +1 -0
  86. package/dist/generated/services/InsurancePayersBillingSetupService.js +155 -0
  87. package/dist/generated/services/InsurancePayersBillingSetupService.js.map +1 -0
  88. package/dist/generated/services/IntakeFormsService.d.ts +69 -12
  89. package/dist/generated/services/IntakeFormsService.d.ts.map +1 -1
  90. package/dist/generated/services/IntakeFormsService.js +65 -16
  91. package/dist/generated/services/IntakeFormsService.js.map +1 -1
  92. package/dist/generated/services/InvitationService.d.ts +22 -0
  93. package/dist/generated/services/InvitationService.d.ts.map +1 -1
  94. package/dist/generated/services/InvitationService.js +15 -0
  95. package/dist/generated/services/InvitationService.js.map +1 -1
  96. package/dist/generated/services/InvoicesService.d.ts +25 -0
  97. package/dist/generated/services/InvoicesService.d.ts.map +1 -1
  98. package/dist/generated/services/InvoicesService.js +12 -0
  99. package/dist/generated/services/InvoicesService.js.map +1 -1
  100. package/dist/generated/services/NotificationsService.d.ts +74 -0
  101. package/dist/generated/services/NotificationsService.d.ts.map +1 -0
  102. package/dist/generated/services/NotificationsService.js +82 -0
  103. package/dist/generated/services/NotificationsService.js.map +1 -0
  104. package/dist/generated/services/OfficeLocationsService.d.ts +214 -0
  105. package/dist/generated/services/OfficeLocationsService.d.ts.map +1 -0
  106. package/dist/generated/services/OfficeLocationsService.js +91 -0
  107. package/dist/generated/services/OfficeLocationsService.js.map +1 -0
  108. package/dist/generated/services/OnboardingService.d.ts +131 -57
  109. package/dist/generated/services/OnboardingService.d.ts.map +1 -1
  110. package/dist/generated/services/OnboardingService.js +77 -27
  111. package/dist/generated/services/OnboardingService.js.map +1 -1
  112. package/dist/generated/services/PaymentsService.d.ts +72 -0
  113. package/dist/generated/services/PaymentsService.d.ts.map +1 -1
  114. package/dist/generated/services/PaymentsService.js +32 -0
  115. package/dist/generated/services/PaymentsService.js.map +1 -1
  116. package/dist/generated/services/ProductsService.d.ts +116 -0
  117. package/dist/generated/services/ProductsService.d.ts.map +1 -0
  118. package/dist/generated/services/ProductsService.js +76 -0
  119. package/dist/generated/services/ProductsService.js.map +1 -0
  120. package/dist/generated/services/ProgressNoteSignaturesService.d.ts +73 -0
  121. package/dist/generated/services/ProgressNoteSignaturesService.d.ts.map +1 -1
  122. package/dist/generated/services/ProgressNoteSignaturesService.js +34 -0
  123. package/dist/generated/services/ProgressNoteSignaturesService.js.map +1 -1
  124. package/dist/generated/services/ProgressNotesService.d.ts +57 -0
  125. package/dist/generated/services/ProgressNotesService.d.ts.map +1 -1
  126. package/dist/generated/services/ProgressNotesService.js +43 -0
  127. package/dist/generated/services/ProgressNotesService.js.map +1 -1
  128. package/dist/generated/services/ReportingOpsService.d.ts +188 -0
  129. package/dist/generated/services/ReportingOpsService.d.ts.map +1 -0
  130. package/dist/generated/services/ReportingOpsService.js +89 -0
  131. package/dist/generated/services/ReportingOpsService.js.map +1 -0
  132. package/dist/generated/services/ReportsService.d.ts +1283 -0
  133. package/dist/generated/services/ReportsService.d.ts.map +1 -1
  134. package/dist/generated/services/ReportsService.js +420 -0
  135. package/dist/generated/services/ReportsService.js.map +1 -1
  136. package/dist/generated/services/SecureMessagingService.d.ts +39 -1
  137. package/dist/generated/services/SecureMessagingService.d.ts.map +1 -1
  138. package/dist/generated/services/SecureMessagingService.js +13 -0
  139. package/dist/generated/services/SecureMessagingService.js.map +1 -1
  140. package/dist/generated/services/SettingsService.d.ts +1510 -0
  141. package/dist/generated/services/SettingsService.d.ts.map +1 -1
  142. package/dist/generated/services/SettingsService.js +729 -0
  143. package/dist/generated/services/SettingsService.js.map +1 -1
  144. package/dist/generated/services/StatementsService.d.ts +18 -0
  145. package/dist/generated/services/StatementsService.d.ts.map +1 -1
  146. package/dist/generated/services/StatementsService.js +11 -0
  147. package/dist/generated/services/StatementsService.js.map +1 -1
  148. package/dist/generated/services/SubscriptionService.d.ts +49 -20
  149. package/dist/generated/services/SubscriptionService.d.ts.map +1 -1
  150. package/dist/generated/services/SubscriptionService.js +32 -7
  151. package/dist/generated/services/SubscriptionService.js.map +1 -1
  152. package/dist/generated/services/TeamChatService.d.ts +94 -0
  153. package/dist/generated/services/TeamChatService.d.ts.map +1 -0
  154. package/dist/generated/services/TeamChatService.js +108 -0
  155. package/dist/generated/services/TeamChatService.js.map +1 -0
  156. package/dist/generated/services/TenantsService.d.ts +20 -0
  157. package/dist/generated/services/TenantsService.d.ts.map +1 -1
  158. package/dist/generated/services/TenantsService.js +15 -0
  159. package/dist/generated/services/TenantsService.js.map +1 -1
  160. package/dist/generated/services/TreatmentPlanTemplatesService.d.ts +287 -0
  161. package/dist/generated/services/TreatmentPlanTemplatesService.d.ts.map +1 -0
  162. package/dist/generated/services/TreatmentPlanTemplatesService.js +124 -0
  163. package/dist/generated/services/TreatmentPlanTemplatesService.js.map +1 -0
  164. package/dist/generated/services/TreatmentPlansService.d.ts +1 -1
  165. package/dist/generated/services/TreatmentPlansService.js +1 -1
  166. package/dist/generated/services/WaitlistService.d.ts +8 -0
  167. package/dist/generated/services/WaitlistService.d.ts.map +1 -1
  168. package/dist/generated/services/WaitlistService.js.map +1 -1
  169. package/package.json +1 -1
@@ -9,5 +9,1288 @@ export declare class ReportsService {
9
9
  to: string;
10
10
  clinicianId?: string;
11
11
  }): CancelablePromise<void>;
12
+ /**
13
+ * Income report
14
+ * Per-payment income for a date range with summary of Gross / Fees / Net and a client vs insurance split.
15
+ * @returns any Response for status 200
16
+ * @throws ApiError
17
+ */
18
+ static getReportsIncome({ startDate, endDate, therapistId, clientId, payerId, status, format, }: {
19
+ startDate?: string;
20
+ endDate?: string;
21
+ therapistId?: string;
22
+ clientId?: string;
23
+ payerId?: string;
24
+ status?: string;
25
+ format?: 'json' | 'csv';
26
+ }): CancelablePromise<{
27
+ success: boolean;
28
+ data: {
29
+ appliedFilters: {
30
+ /**
31
+ * ISO-8601 datetime
32
+ */
33
+ startDate: string;
34
+ /**
35
+ * ISO-8601 datetime
36
+ */
37
+ endDate: string;
38
+ spanDays: (string | number);
39
+ therapistId?: string;
40
+ clientId?: string;
41
+ payerId?: string;
42
+ status?: string;
43
+ };
44
+ rows: Array<{
45
+ paymentId: string;
46
+ date: string;
47
+ client: string;
48
+ clientId: string;
49
+ source: 'client' | 'insurance';
50
+ paymentMethod: string;
51
+ /**
52
+ * Decimal string with up to 2 fractional digits
53
+ */
54
+ amount: string;
55
+ /**
56
+ * Decimal string with up to 2 fractional digits
57
+ */
58
+ refundedAmount: string;
59
+ referenceNumber: (string | null);
60
+ }>;
61
+ summary: {
62
+ /**
63
+ * Decimal string with up to 2 fractional digits
64
+ */
65
+ gross: string;
66
+ /**
67
+ * Decimal string with up to 2 fractional digits
68
+ */
69
+ fees: string;
70
+ /**
71
+ * Decimal string with up to 2 fractional digits
72
+ */
73
+ net: string;
74
+ /**
75
+ * Decimal string with up to 2 fractional digits
76
+ */
77
+ clientTotal: string;
78
+ /**
79
+ * Decimal string with up to 2 fractional digits
80
+ */
81
+ insuranceTotal: string;
82
+ paymentCount: (string | number);
83
+ };
84
+ };
85
+ }>;
86
+ /**
87
+ * Outstanding Balances report
88
+ * Per-client open balances. Toggles: withBalanceOnly (default true), includeInsurance (default false — Phase 2 fills insurance columns).
89
+ * @returns any Response for status 200
90
+ * @throws ApiError
91
+ */
92
+ static getReportsOutstandingBalances({ startDate, endDate, therapistId, clientId, withBalanceOnly, includeInsurance, }: {
93
+ startDate?: string;
94
+ endDate?: string;
95
+ therapistId?: string;
96
+ clientId?: string;
97
+ withBalanceOnly?: 'true' | 'false';
98
+ includeInsurance?: 'true' | 'false';
99
+ }): CancelablePromise<{
100
+ success: boolean;
101
+ data: {
102
+ appliedFilters: {
103
+ /**
104
+ * ISO-8601 datetime
105
+ */
106
+ startDate: string;
107
+ /**
108
+ * ISO-8601 datetime
109
+ */
110
+ endDate: string;
111
+ spanDays: (string | number);
112
+ therapistId?: string;
113
+ clientId?: string;
114
+ payerId?: string;
115
+ status?: string;
116
+ };
117
+ appliedOptions: {
118
+ withBalanceOnly: boolean;
119
+ includeInsurance: boolean;
120
+ };
121
+ rows: Array<{
122
+ clientId: string;
123
+ client: string;
124
+ therapistId: (string | null);
125
+ /**
126
+ * Decimal string with up to 2 fractional digits
127
+ */
128
+ clientBalance: string;
129
+ lastInvoiceDate: (string | null);
130
+ lastPaymentDate: (string | null);
131
+ /**
132
+ * Decimal string with up to 2 fractional digits
133
+ */
134
+ insuranceBalance: string;
135
+ /**
136
+ * Decimal string with up to 2 fractional digits
137
+ */
138
+ insuranceCredit: string;
139
+ }>;
140
+ summary: {
141
+ /**
142
+ * Decimal string with up to 2 fractional digits
143
+ */
144
+ totalClientBalance: string;
145
+ /**
146
+ * Decimal string with up to 2 fractional digits
147
+ */
148
+ totalInsuranceBalance: string;
149
+ clientCount: (string | number);
150
+ };
151
+ };
152
+ }>;
153
+ /**
154
+ * Client Invoice Aging report
155
+ * Per-client AR aging across 0-30 / 31-60 / 61-90 / 91+ day buckets, ordered by total balance descending.
156
+ * @returns any Response for status 200
157
+ * @throws ApiError
158
+ */
159
+ static getReportsClientInvoiceAging({ startDate, endDate, therapistId, clientId, payerId, status, format, }: {
160
+ startDate?: string;
161
+ endDate?: string;
162
+ therapistId?: string;
163
+ clientId?: string;
164
+ payerId?: string;
165
+ status?: string;
166
+ format?: 'json' | 'csv';
167
+ }): CancelablePromise<{
168
+ success: boolean;
169
+ data: {
170
+ appliedFilters: {
171
+ /**
172
+ * ISO-8601 datetime
173
+ */
174
+ startDate: string;
175
+ /**
176
+ * ISO-8601 datetime
177
+ */
178
+ endDate: string;
179
+ spanDays: (string | number);
180
+ therapistId?: string;
181
+ clientId?: string;
182
+ payerId?: string;
183
+ status?: string;
184
+ };
185
+ rows: Array<{
186
+ clientId: string;
187
+ client: string;
188
+ therapistId: (string | null);
189
+ buckets: {
190
+ /**
191
+ * Decimal string with up to 2 fractional digits
192
+ */
193
+ '0-30': string;
194
+ /**
195
+ * Decimal string with up to 2 fractional digits
196
+ */
197
+ '31-60': string;
198
+ /**
199
+ * Decimal string with up to 2 fractional digits
200
+ */
201
+ '61-90': string;
202
+ /**
203
+ * Decimal string with up to 2 fractional digits
204
+ */
205
+ '91+': string;
206
+ };
207
+ /**
208
+ * Decimal string with up to 2 fractional digits
209
+ */
210
+ totalBalance: string;
211
+ }>;
212
+ summary: {
213
+ totalsByBucket: {
214
+ /**
215
+ * Decimal string with up to 2 fractional digits
216
+ */
217
+ '0-30': string;
218
+ /**
219
+ * Decimal string with up to 2 fractional digits
220
+ */
221
+ '31-60': string;
222
+ /**
223
+ * Decimal string with up to 2 fractional digits
224
+ */
225
+ '61-90': string;
226
+ /**
227
+ * Decimal string with up to 2 fractional digits
228
+ */
229
+ '91+': string;
230
+ };
231
+ /**
232
+ * Decimal string with up to 2 fractional digits
233
+ */
234
+ totalBalance: string;
235
+ clientCount: (string | number);
236
+ };
237
+ };
238
+ }>;
239
+ /**
240
+ * Invoices report
241
+ * Flat list of every invoice in the date range with status, amount, balance. Filter by status to scope.
242
+ * @returns any Response for status 200
243
+ * @throws ApiError
244
+ */
245
+ static getReportsInvoices({ startDate, endDate, therapistId, clientId, payerId, status, format, }: {
246
+ startDate?: string;
247
+ endDate?: string;
248
+ therapistId?: string;
249
+ clientId?: string;
250
+ payerId?: string;
251
+ status?: string;
252
+ format?: 'json' | 'csv';
253
+ }): CancelablePromise<{
254
+ success: boolean;
255
+ data: {
256
+ appliedFilters: {
257
+ /**
258
+ * ISO-8601 datetime
259
+ */
260
+ startDate: string;
261
+ /**
262
+ * ISO-8601 datetime
263
+ */
264
+ endDate: string;
265
+ spanDays: (string | number);
266
+ therapistId?: string;
267
+ clientId?: string;
268
+ payerId?: string;
269
+ status?: string;
270
+ };
271
+ rows: Array<{
272
+ invoiceId: string;
273
+ invoiceNumber: (string | null);
274
+ invoiceDate: string;
275
+ clientId: string;
276
+ client: string;
277
+ therapistId: string;
278
+ /**
279
+ * Decimal string with up to 2 fractional digits
280
+ */
281
+ amount: string;
282
+ /**
283
+ * Decimal string with up to 2 fractional digits
284
+ */
285
+ amountPaid: string;
286
+ /**
287
+ * Decimal string with up to 2 fractional digits
288
+ */
289
+ balance: string;
290
+ status: string;
291
+ }>;
292
+ summary: {
293
+ /**
294
+ * Decimal string with up to 2 fractional digits
295
+ */
296
+ totalAmount: string;
297
+ /**
298
+ * Decimal string with up to 2 fractional digits
299
+ */
300
+ totalPaid: string;
301
+ /**
302
+ * Decimal string with up to 2 fractional digits
303
+ */
304
+ totalBalance: string;
305
+ invoiceCount: (string | number);
306
+ };
307
+ };
308
+ }>;
309
+ /**
310
+ * Filed Claims report
311
+ * Every claim filed in the date range with status, payer, billed amount, clearinghouse and payer claim references. Drill link to ERA when posted.
312
+ * @returns any Response for status 200
313
+ * @throws ApiError
314
+ */
315
+ static getReportsFiledClaims({ startDate, endDate, therapistId, clientId, payerId, status, format, }: {
316
+ startDate?: string;
317
+ endDate?: string;
318
+ therapistId?: string;
319
+ clientId?: string;
320
+ payerId?: string;
321
+ status?: string;
322
+ format?: 'json' | 'csv';
323
+ }): CancelablePromise<{
324
+ success: boolean;
325
+ data: {
326
+ appliedFilters: {
327
+ /**
328
+ * ISO-8601 datetime
329
+ */
330
+ startDate: string;
331
+ /**
332
+ * ISO-8601 datetime
333
+ */
334
+ endDate: string;
335
+ spanDays: (string | number);
336
+ therapistId?: string;
337
+ clientId?: string;
338
+ payerId?: string;
339
+ status?: string;
340
+ };
341
+ rows: Array<{
342
+ claimId: string;
343
+ dateSubmitted: (string | null);
344
+ latestServiceDate: (string | null);
345
+ clientId: string;
346
+ client: string;
347
+ payerId: string;
348
+ payer: string;
349
+ /**
350
+ * Decimal string with up to 2 fractional digits
351
+ */
352
+ billed: string;
353
+ status: string;
354
+ clearinghouseRef: (string | null);
355
+ payerClaimNumber: (string | null);
356
+ eraId: (string | null);
357
+ drillLinks: Array<{
358
+ targetReport: string;
359
+ filters: Record<string, any>;
360
+ label?: string;
361
+ }>;
362
+ }>;
363
+ summary: {
364
+ /**
365
+ * Decimal string with up to 2 fractional digits
366
+ */
367
+ totalBilled: string;
368
+ claimCount: (string | number);
369
+ countByStatus: Record<string, any>;
370
+ };
371
+ };
372
+ }>;
373
+ /**
374
+ * Outstanding Claims report
375
+ * Per-claim insurance AR aging (0-30 / 31-60 / 61-90 / 91+), grouped by payer.
376
+ * @returns any Response for status 200
377
+ * @throws ApiError
378
+ */
379
+ static getReportsOutstandingClaims({ startDate, endDate, therapistId, clientId, payerId, status, format, }: {
380
+ startDate?: string;
381
+ endDate?: string;
382
+ therapistId?: string;
383
+ clientId?: string;
384
+ payerId?: string;
385
+ status?: string;
386
+ format?: 'json' | 'csv';
387
+ }): CancelablePromise<{
388
+ success: boolean;
389
+ data: {
390
+ appliedFilters: {
391
+ /**
392
+ * ISO-8601 datetime
393
+ */
394
+ startDate: string;
395
+ /**
396
+ * ISO-8601 datetime
397
+ */
398
+ endDate: string;
399
+ spanDays: (string | number);
400
+ therapistId?: string;
401
+ clientId?: string;
402
+ payerId?: string;
403
+ status?: string;
404
+ };
405
+ rows: Array<{
406
+ claimId: string;
407
+ payerId: string;
408
+ payer: string;
409
+ clientId: string;
410
+ client: string;
411
+ dateOfService: (string | null);
412
+ claimNumber: (string | null);
413
+ /**
414
+ * Decimal string with up to 2 fractional digits
415
+ */
416
+ billed: string;
417
+ /**
418
+ * Decimal string with up to 2 fractional digits
419
+ */
420
+ outstandingAmount: string;
421
+ bucket: '0-30' | '31-60' | '61-90' | '91+';
422
+ status: string;
423
+ }>;
424
+ summary: {
425
+ /**
426
+ * Decimal string with up to 2 fractional digits
427
+ */
428
+ totalOutstanding: string;
429
+ claimCount: (string | number);
430
+ totalsByBucket: {
431
+ /**
432
+ * Decimal string with up to 2 fractional digits
433
+ */
434
+ '0-30': string;
435
+ /**
436
+ * Decimal string with up to 2 fractional digits
437
+ */
438
+ '31-60': string;
439
+ /**
440
+ * Decimal string with up to 2 fractional digits
441
+ */
442
+ '61-90': string;
443
+ /**
444
+ * Decimal string with up to 2 fractional digits
445
+ */
446
+ '91+': string;
447
+ };
448
+ };
449
+ };
450
+ }>;
451
+ /**
452
+ * ERA Payment Reports list
453
+ * All received ERAs (835s) in the date range. Filter by payerId or status.
454
+ * @returns any Response for status 200
455
+ * @throws ApiError
456
+ */
457
+ static getReportsEraPayments({ startDate, endDate, therapistId, clientId, payerId, status, format, }: {
458
+ startDate?: string;
459
+ endDate?: string;
460
+ therapistId?: string;
461
+ clientId?: string;
462
+ payerId?: string;
463
+ status?: string;
464
+ format?: 'json' | 'csv';
465
+ }): CancelablePromise<{
466
+ success: boolean;
467
+ data: {
468
+ appliedFilters: {
469
+ /**
470
+ * ISO-8601 datetime
471
+ */
472
+ startDate: string;
473
+ /**
474
+ * ISO-8601 datetime
475
+ */
476
+ endDate: string;
477
+ spanDays: (string | number);
478
+ therapistId?: string;
479
+ clientId?: string;
480
+ payerId?: string;
481
+ status?: string;
482
+ };
483
+ rows: Array<{
484
+ eraId: string;
485
+ paidDate: string;
486
+ payerId: string;
487
+ payer: string;
488
+ checkOrEftNumber: (string | null);
489
+ /**
490
+ * Decimal string with up to 2 fractional digits
491
+ */
492
+ amountPaid: string;
493
+ postingStatus: string;
494
+ payerClaimCount: (string | number);
495
+ }>;
496
+ summary: {
497
+ /**
498
+ * Decimal string with up to 2 fractional digits
499
+ */
500
+ totalAmountPaid: string;
501
+ eraCount: (string | number);
502
+ countByStatus: Record<string, any>;
503
+ };
504
+ };
505
+ }>;
506
+ /**
507
+ * ERA Payment Report detail
508
+ * Line-level Payments Allocated for a single ERA — Billed / Allowed / Paid / Adjustment / Patient Responsibility / Remarks (CARC+RARC).
509
+ * @returns any Response for status 200
510
+ * @throws ApiError
511
+ */
512
+ static getReportsEraPaymentsByEraId({ eraId, }: {
513
+ eraId: string;
514
+ }): CancelablePromise<{
515
+ success: boolean;
516
+ data: {
517
+ header: {
518
+ eraId: string;
519
+ paidDate: string;
520
+ payerId: string;
521
+ payer: string;
522
+ checkOrEftNumber: (string | null);
523
+ /**
524
+ * Decimal string with up to 2 fractional digits
525
+ */
526
+ amountPaid: string;
527
+ postingStatus: string;
528
+ payerClaimCount: (string | number);
529
+ };
530
+ lines: Array<{
531
+ eraLineItemId: string;
532
+ client: (string | null);
533
+ clientId: (string | null);
534
+ claimId: (string | null);
535
+ payerClaimNumber: (string | null);
536
+ cptCode: (string | null);
537
+ dateOfService: (string | null);
538
+ /**
539
+ * Decimal string with up to 2 fractional digits
540
+ */
541
+ billed: string;
542
+ /**
543
+ * Decimal string with up to 2 fractional digits
544
+ */
545
+ allowed: string;
546
+ /**
547
+ * Decimal string with up to 2 fractional digits
548
+ */
549
+ paid: string;
550
+ /**
551
+ * Decimal string with up to 2 fractional digits
552
+ */
553
+ adjustment: string;
554
+ /**
555
+ * Decimal string with up to 2 fractional digits
556
+ */
557
+ patientResponsibility: string;
558
+ remarks: string;
559
+ isClawback: boolean;
560
+ }>;
561
+ };
562
+ }>;
563
+ /**
564
+ * Unpaid Insurance Appointments report
565
+ * Claims with insurance balance > 0 (status != paid/rejected), grouped by client.
566
+ * @returns any Response for status 200
567
+ * @throws ApiError
568
+ */
569
+ static getReportsUnpaidInsuranceAppointments({ startDate, endDate, therapistId, clientId, payerId, status, format, }: {
570
+ startDate?: string;
571
+ endDate?: string;
572
+ therapistId?: string;
573
+ clientId?: string;
574
+ payerId?: string;
575
+ status?: string;
576
+ format?: 'json' | 'csv';
577
+ }): CancelablePromise<{
578
+ success: boolean;
579
+ data: {
580
+ appliedFilters: {
581
+ /**
582
+ * ISO-8601 datetime
583
+ */
584
+ startDate: string;
585
+ /**
586
+ * ISO-8601 datetime
587
+ */
588
+ endDate: string;
589
+ spanDays: (string | number);
590
+ therapistId?: string;
591
+ clientId?: string;
592
+ payerId?: string;
593
+ status?: string;
594
+ };
595
+ rows: Array<{
596
+ claimId: string;
597
+ clientId: string;
598
+ client: string;
599
+ dateOfService: (string | null);
600
+ serviceType: (string | null);
601
+ payerId: string;
602
+ payer: string;
603
+ /**
604
+ * Decimal string with up to 2 fractional digits
605
+ */
606
+ billed: string;
607
+ /**
608
+ * Decimal string with up to 2 fractional digits
609
+ */
610
+ insurancePaid: string;
611
+ /**
612
+ * Decimal string with up to 2 fractional digits
613
+ */
614
+ insuranceBalance: string;
615
+ clearinghouseRef: (string | null);
616
+ payerClaimNumber: (string | null);
617
+ status: string;
618
+ }>;
619
+ summary: {
620
+ /**
621
+ * Decimal string with up to 2 fractional digits
622
+ */
623
+ totalBilled: string;
624
+ /**
625
+ * Decimal string with up to 2 fractional digits
626
+ */
627
+ totalInsurancePaid: string;
628
+ /**
629
+ * Decimal string with up to 2 fractional digits
630
+ */
631
+ totalInsuranceBalance: string;
632
+ rowCount: (string | number);
633
+ };
634
+ };
635
+ }>;
636
+ /**
637
+ * Denial Analysis (Teja differentiator)
638
+ * Pivot of ERA line items by CARC/RARC code with occurrence, denied amount, affected claims and payers.
639
+ * @returns any Response for status 200
640
+ * @throws ApiError
641
+ */
642
+ static getReportsDenialAnalysis({ startDate, endDate, therapistId, clientId, payerId, status, format, }: {
643
+ startDate?: string;
644
+ endDate?: string;
645
+ therapistId?: string;
646
+ clientId?: string;
647
+ payerId?: string;
648
+ status?: string;
649
+ format?: 'json' | 'csv';
650
+ }): CancelablePromise<{
651
+ success: boolean;
652
+ data: {
653
+ appliedFilters: {
654
+ /**
655
+ * ISO-8601 datetime
656
+ */
657
+ startDate: string;
658
+ /**
659
+ * ISO-8601 datetime
660
+ */
661
+ endDate: string;
662
+ spanDays: (string | number);
663
+ therapistId?: string;
664
+ clientId?: string;
665
+ payerId?: string;
666
+ status?: string;
667
+ };
668
+ rows: Array<{
669
+ codeType: 'CARC' | 'RARC';
670
+ code: string;
671
+ occurrences: (string | number);
672
+ /**
673
+ * Decimal string with up to 2 fractional digits
674
+ */
675
+ deniedAmount: string;
676
+ affectedClaimCount: (string | number);
677
+ affectedPayerCount: (string | number);
678
+ }>;
679
+ summary: {
680
+ /**
681
+ * Decimal string with up to 2 fractional digits
682
+ */
683
+ totalDeniedAmount: string;
684
+ totalOccurrences: (string | number);
685
+ uniqueCodeCount: (string | number);
686
+ };
687
+ };
688
+ }>;
689
+ /**
690
+ * Attendance report
691
+ * Per-appointment attendance grouped by client.
692
+ * @returns any Response for status 200
693
+ * @throws ApiError
694
+ */
695
+ static getReportsAttendanceSummary({ startDate, endDate, therapistId, clientId, payerId, status, format, }: {
696
+ startDate?: string;
697
+ endDate?: string;
698
+ therapistId?: string;
699
+ clientId?: string;
700
+ payerId?: string;
701
+ status?: string;
702
+ format?: 'json' | 'csv';
703
+ }): CancelablePromise<{
704
+ success: boolean;
705
+ data: {
706
+ appliedFilters: {
707
+ /**
708
+ * ISO-8601 datetime
709
+ */
710
+ startDate: string;
711
+ /**
712
+ * ISO-8601 datetime
713
+ */
714
+ endDate: string;
715
+ spanDays: (string | number);
716
+ therapistId?: string;
717
+ clientId?: string;
718
+ payerId?: string;
719
+ status?: string;
720
+ };
721
+ rows: Array<{
722
+ appointmentId: string;
723
+ clientId: string;
724
+ client: string;
725
+ therapistId: string;
726
+ date: string;
727
+ service: (string | null);
728
+ status: 'Show' | 'No show' | 'Cancelled' | 'Late cancelled' | 'Clinician cancelled' | 'Scheduled';
729
+ /**
730
+ * Decimal string with up to 2 fractional digits
731
+ */
732
+ feeCharged: string;
733
+ }>;
734
+ perClient: Array<{
735
+ clientId: string;
736
+ client: string;
737
+ shows: (string | number);
738
+ noShows: (string | number);
739
+ cancellations: (string | number);
740
+ lateCancellations: (string | number);
741
+ }>;
742
+ summary: {
743
+ totalShows: (string | number);
744
+ totalNoShows: (string | number);
745
+ totalCancellations: (string | number);
746
+ totalLateCancellations: (string | number);
747
+ totalClinicianCancelled: (string | number);
748
+ totalScheduled: (string | number);
749
+ appointmentCount: (string | number);
750
+ };
751
+ };
752
+ }>;
753
+ /**
754
+ * Appointment Status report
755
+ * Per-appointment financial + documentation status.
756
+ * @returns any Response for status 200
757
+ * @throws ApiError
758
+ */
759
+ static getReportsAppointmentStatus({ startDate, endDate, therapistId, clientId, payerId, status, format, }: {
760
+ startDate?: string;
761
+ endDate?: string;
762
+ therapistId?: string;
763
+ clientId?: string;
764
+ payerId?: string;
765
+ status?: string;
766
+ format?: 'json' | 'csv';
767
+ }): CancelablePromise<{
768
+ success: boolean;
769
+ data: {
770
+ appliedFilters: {
771
+ /**
772
+ * ISO-8601 datetime
773
+ */
774
+ startDate: string;
775
+ /**
776
+ * ISO-8601 datetime
777
+ */
778
+ endDate: string;
779
+ spanDays: (string | number);
780
+ therapistId?: string;
781
+ clientId?: string;
782
+ payerId?: string;
783
+ status?: string;
784
+ };
785
+ rows: Array<{
786
+ appointmentId: string;
787
+ date: string;
788
+ clientId: string;
789
+ client: string;
790
+ therapistId: string;
791
+ service: (string | null);
792
+ /**
793
+ * Decimal string with up to 2 fractional digits
794
+ */
795
+ fee: string;
796
+ /**
797
+ * Decimal string with up to 2 fractional digits
798
+ */
799
+ clientPaid: string;
800
+ /**
801
+ * Decimal string with up to 2 fractional digits
802
+ */
803
+ clientUnpaid: string;
804
+ billingStatus: 'Paid' | 'Unpaid' | 'Uninvoiced' | 'Overpaid';
805
+ noteStatus: 'No note' | 'Draft' | 'Signed' | 'Locked';
806
+ }>;
807
+ summary: {
808
+ appointmentCount: (string | number);
809
+ /**
810
+ * Decimal string with up to 2 fractional digits
811
+ */
812
+ totalFee: string;
813
+ /**
814
+ * Decimal string with up to 2 fractional digits
815
+ */
816
+ totalClientPaid: string;
817
+ /**
818
+ * Decimal string with up to 2 fractional digits
819
+ */
820
+ totalClientUnpaid: string;
821
+ countByBillingStatus: Record<string, any>;
822
+ countByNoteStatus: Record<string, any>;
823
+ };
824
+ };
825
+ }>;
826
+ /**
827
+ * Client Details report
828
+ * Filterable client roster.
829
+ * @returns any Response for status 200
830
+ * @throws ApiError
831
+ */
832
+ static getReportsClientDetails({ startDate, endDate, therapistId, clientId, payerId, status, format, }: {
833
+ startDate?: string;
834
+ endDate?: string;
835
+ therapistId?: string;
836
+ clientId?: string;
837
+ payerId?: string;
838
+ status?: string;
839
+ format?: 'json' | 'csv';
840
+ }): CancelablePromise<{
841
+ success: boolean;
842
+ data: {
843
+ appliedFilters: {
844
+ /**
845
+ * ISO-8601 datetime
846
+ */
847
+ startDate: string;
848
+ /**
849
+ * ISO-8601 datetime
850
+ */
851
+ endDate: string;
852
+ spanDays: (string | number);
853
+ therapistId?: string;
854
+ clientId?: string;
855
+ payerId?: string;
856
+ status?: string;
857
+ };
858
+ rows: Array<{
859
+ clientId: string;
860
+ firstName: string;
861
+ lastName: string;
862
+ status: string;
863
+ clientType: string;
864
+ dateOfBirth: (string | null);
865
+ email: (string | null);
866
+ phone: (string | null);
867
+ primaryTherapistId: (string | null);
868
+ nextAppointment: (string | null);
869
+ lastAppointment: (string | null);
870
+ }>;
871
+ summary: {
872
+ clientCount: (string | number);
873
+ countByStatus: Record<string, any>;
874
+ };
875
+ };
876
+ }>;
877
+ /**
878
+ * Clinician Invoicing report
879
+ * Per-clinician fees vs invoiced.
880
+ * @returns any Response for status 200
881
+ * @throws ApiError
882
+ */
883
+ static getReportsClinicianInvoicing({ startDate, endDate, therapistId, clientId, payerId, status, format, }: {
884
+ startDate?: string;
885
+ endDate?: string;
886
+ therapistId?: string;
887
+ clientId?: string;
888
+ payerId?: string;
889
+ status?: string;
890
+ format?: 'json' | 'csv';
891
+ }): CancelablePromise<{
892
+ success: boolean;
893
+ data: {
894
+ appliedFilters: {
895
+ /**
896
+ * ISO-8601 datetime
897
+ */
898
+ startDate: string;
899
+ /**
900
+ * ISO-8601 datetime
901
+ */
902
+ endDate: string;
903
+ spanDays: (string | number);
904
+ therapistId?: string;
905
+ clientId?: string;
906
+ payerId?: string;
907
+ status?: string;
908
+ };
909
+ rows: Array<{
910
+ therapistId: string;
911
+ /**
912
+ * Decimal string with up to 2 fractional digits
913
+ */
914
+ appointmentFees: string;
915
+ /**
916
+ * Decimal string with up to 2 fractional digits
917
+ */
918
+ invoiced: string;
919
+ /**
920
+ * Decimal string with up to 2 fractional digits
921
+ */
922
+ uninvoiced: string;
923
+ }>;
924
+ summary: {
925
+ /**
926
+ * Decimal string with up to 2 fractional digits
927
+ */
928
+ totalAppointmentFees: string;
929
+ /**
930
+ * Decimal string with up to 2 fractional digits
931
+ */
932
+ totalInvoiced: string;
933
+ /**
934
+ * Decimal string with up to 2 fractional digits
935
+ */
936
+ totalUninvoiced: string;
937
+ therapistCount: (string | number);
938
+ };
939
+ };
940
+ }>;
941
+ /**
942
+ * Appointment Reminders report
943
+ * Reminder delivery log; 30-day window cap.
944
+ * @returns any Response for status 200
945
+ * @throws ApiError
946
+ */
947
+ static getReportsAppointmentReminders({ startDate, endDate, therapistId, clientId, payerId, status, format, }: {
948
+ startDate?: string;
949
+ endDate?: string;
950
+ therapistId?: string;
951
+ clientId?: string;
952
+ payerId?: string;
953
+ status?: string;
954
+ format?: 'json' | 'csv';
955
+ }): CancelablePromise<{
956
+ success: boolean;
957
+ data: {
958
+ appliedFilters: {
959
+ /**
960
+ * ISO-8601 datetime
961
+ */
962
+ startDate: string;
963
+ /**
964
+ * ISO-8601 datetime
965
+ */
966
+ endDate: string;
967
+ spanDays: (string | number);
968
+ therapistId?: string;
969
+ clientId?: string;
970
+ payerId?: string;
971
+ status?: string;
972
+ };
973
+ rows: Array<{
974
+ reminderId: string;
975
+ type: string;
976
+ status: string;
977
+ clientId: (string | null);
978
+ client: (string | null);
979
+ clinicianMembershipId: (string | null);
980
+ sentAt: (string | null);
981
+ templateType: string;
982
+ }>;
983
+ summary: {
984
+ reminderCount: (string | number);
985
+ countByType: Record<string, any>;
986
+ countByStatus: Record<string, any>;
987
+ };
988
+ };
989
+ }>;
990
+ /**
991
+ * Notes Compliance report
992
+ * Per-therapist signing rate + time-to-signature.
993
+ * @returns any Response for status 200
994
+ * @throws ApiError
995
+ */
996
+ static getReportsNotesCompliance({ startDate, endDate, therapistId, clientId, payerId, status, format, }: {
997
+ startDate?: string;
998
+ endDate?: string;
999
+ therapistId?: string;
1000
+ clientId?: string;
1001
+ payerId?: string;
1002
+ status?: string;
1003
+ format?: 'json' | 'csv';
1004
+ }): CancelablePromise<{
1005
+ success: boolean;
1006
+ data: {
1007
+ appliedFilters: {
1008
+ /**
1009
+ * ISO-8601 datetime
1010
+ */
1011
+ startDate: string;
1012
+ /**
1013
+ * ISO-8601 datetime
1014
+ */
1015
+ endDate: string;
1016
+ spanDays: (string | number);
1017
+ therapistId?: string;
1018
+ clientId?: string;
1019
+ payerId?: string;
1020
+ status?: string;
1021
+ };
1022
+ rows: Array<{
1023
+ therapistId: string;
1024
+ notesAuthored: (string | number);
1025
+ signedCount: (string | number);
1026
+ unsignedCount: (string | number);
1027
+ lockedCount: (string | number);
1028
+ signingRatePercent: number;
1029
+ avgDaysToSign: (number | null);
1030
+ }>;
1031
+ summary: {
1032
+ totalNotes: (string | number);
1033
+ totalSigned: (string | number);
1034
+ totalUnsigned: (string | number);
1035
+ totalLocked: (string | number);
1036
+ overallSigningRatePercent: number;
1037
+ overallAvgDaysToSign: (number | null);
1038
+ };
1039
+ };
1040
+ }>;
1041
+ /**
1042
+ * Referral Income report
1043
+ * Revenue grouped by client.referralSource.
1044
+ * @returns any Response for status 200
1045
+ * @throws ApiError
1046
+ */
1047
+ static getReportsReferralIncome({ startDate, endDate, therapistId, clientId, payerId, status, format, }: {
1048
+ startDate?: string;
1049
+ endDate?: string;
1050
+ therapistId?: string;
1051
+ clientId?: string;
1052
+ payerId?: string;
1053
+ status?: string;
1054
+ format?: 'json' | 'csv';
1055
+ }): CancelablePromise<{
1056
+ success: boolean;
1057
+ data: {
1058
+ appliedFilters: {
1059
+ /**
1060
+ * ISO-8601 datetime
1061
+ */
1062
+ startDate: string;
1063
+ /**
1064
+ * ISO-8601 datetime
1065
+ */
1066
+ endDate: string;
1067
+ spanDays: (string | number);
1068
+ therapistId?: string;
1069
+ clientId?: string;
1070
+ payerId?: string;
1071
+ status?: string;
1072
+ };
1073
+ rows: Array<{
1074
+ source: string;
1075
+ /**
1076
+ * Decimal string with up to 2 fractional digits
1077
+ */
1078
+ totalRevenue: string;
1079
+ referralCount: (string | number);
1080
+ }>;
1081
+ summary: {
1082
+ /**
1083
+ * Decimal string with up to 2 fractional digits
1084
+ */
1085
+ grandTotalRevenue: string;
1086
+ totalReferrals: (string | number);
1087
+ sourceCount: (string | number);
1088
+ };
1089
+ };
1090
+ }>;
1091
+ /**
1092
+ * Recent Activity (30-day)
1093
+ * Chronological invoice + payment + refund feed.
1094
+ * @returns any Response for status 200
1095
+ * @throws ApiError
1096
+ */
1097
+ static getReportsRecentActivity({ startDate, endDate, therapistId, clientId, payerId, status, format, }: {
1098
+ startDate?: string;
1099
+ endDate?: string;
1100
+ therapistId?: string;
1101
+ clientId?: string;
1102
+ payerId?: string;
1103
+ status?: string;
1104
+ format?: 'json' | 'csv';
1105
+ }): CancelablePromise<{
1106
+ success: boolean;
1107
+ data: {
1108
+ appliedFilters: {
1109
+ /**
1110
+ * ISO-8601 datetime
1111
+ */
1112
+ startDate: string;
1113
+ /**
1114
+ * ISO-8601 datetime
1115
+ */
1116
+ endDate: string;
1117
+ spanDays: (string | number);
1118
+ therapistId?: string;
1119
+ clientId?: string;
1120
+ payerId?: string;
1121
+ status?: string;
1122
+ };
1123
+ rows: Array<{
1124
+ date: string;
1125
+ type: 'invoice' | 'payment' | 'refund';
1126
+ amount: string;
1127
+ client: string;
1128
+ clientId: string;
1129
+ sourceId: string;
1130
+ }>;
1131
+ summary: {
1132
+ invoiceCount: (string | number);
1133
+ paymentCount: (string | number);
1134
+ refundCount: (string | number);
1135
+ /**
1136
+ * Decimal string with up to 2 fractional digits
1137
+ */
1138
+ totalInvoiced: string;
1139
+ /**
1140
+ * Decimal string with up to 2 fractional digits
1141
+ */
1142
+ totalPaid: string;
1143
+ /**
1144
+ * Decimal string with up to 2 fractional digits
1145
+ */
1146
+ totalRefunded: string;
1147
+ };
1148
+ };
1149
+ }>;
1150
+ /**
1151
+ * Analytics Dashboard snapshot (composite)
1152
+ * Five-tile composite for the homepage. ?compare=prior adds deltas; ?includeTrend=true adds sparklines.
1153
+ * @returns any Response for status 200
1154
+ * @throws ApiError
1155
+ */
1156
+ static getReportsDashboardSnapshot({ startDate, endDate, therapistId, clientId, payerId, status, format, compare, includeTrend, }: {
1157
+ startDate?: string;
1158
+ endDate?: string;
1159
+ therapistId?: string;
1160
+ clientId?: string;
1161
+ payerId?: string;
1162
+ status?: string;
1163
+ format?: 'json' | 'csv';
1164
+ compare?: string;
1165
+ includeTrend?: 'true' | 'false';
1166
+ }): CancelablePromise<{
1167
+ success: boolean;
1168
+ data: {
1169
+ income: {
1170
+ /**
1171
+ * Decimal string with up to 2 fractional digits
1172
+ */
1173
+ clientTotal: string;
1174
+ /**
1175
+ * Decimal string with up to 2 fractional digits
1176
+ */
1177
+ insuranceTotal: string;
1178
+ /**
1179
+ * Decimal string with up to 2 fractional digits
1180
+ */
1181
+ grossTotal: string;
1182
+ paymentCount: (string | number);
1183
+ delta?: string;
1184
+ /**
1185
+ * Decimal string with up to 2 fractional digits
1186
+ */
1187
+ prior?: string;
1188
+ spark?: Array<number>;
1189
+ };
1190
+ outstandingBalances: {
1191
+ /**
1192
+ * Decimal string with up to 2 fractional digits
1193
+ */
1194
+ totalClientBalance: string;
1195
+ clientCount: (string | number);
1196
+ };
1197
+ claimsFiled: {
1198
+ claimCount: (string | number);
1199
+ /**
1200
+ * Decimal string with up to 2 fractional digits
1201
+ */
1202
+ totalBilled: string;
1203
+ countByStatus: Record<string, any>;
1204
+ delta?: string;
1205
+ prior?: (string | number);
1206
+ spark?: Array<number>;
1207
+ };
1208
+ appointments: {
1209
+ totalAppointments: (string | number);
1210
+ shows: (string | number);
1211
+ noShows: (string | number);
1212
+ cancellations: (string | number);
1213
+ lateCancellations: (string | number);
1214
+ clinicianCancellations: (string | number);
1215
+ scheduled: (string | number);
1216
+ delta?: string;
1217
+ prior?: (string | number);
1218
+ spark?: Array<number>;
1219
+ };
1220
+ notes: {
1221
+ totalNotes: (string | number);
1222
+ signed: (string | number);
1223
+ unsigned: (string | number);
1224
+ locked: (string | number);
1225
+ };
1226
+ newClients?: {
1227
+ value: (string | number);
1228
+ delta?: string;
1229
+ prior?: (string | number);
1230
+ spark?: Array<number>;
1231
+ };
1232
+ cashFlow?: {
1233
+ /**
1234
+ * Decimal string with up to 2 fractional digits
1235
+ */
1236
+ collected: string;
1237
+ /**
1238
+ * Decimal string with up to 2 fractional digits
1239
+ */
1240
+ pending: string;
1241
+ /**
1242
+ * Decimal string with up to 2 fractional digits
1243
+ */
1244
+ rejected: string;
1245
+ momDeltaPct?: string;
1246
+ };
1247
+ };
1248
+ }>;
1249
+ /**
1250
+ * Income Tracker (current month)
1251
+ * Lightweight current-month income for top nav.
1252
+ * @returns any Response for status 200
1253
+ * @throws ApiError
1254
+ */
1255
+ static getReportsIncomeTracker(): CancelablePromise<{
1256
+ success: boolean;
1257
+ data: {
1258
+ monthLabel: string;
1259
+ /**
1260
+ * Decimal string with up to 2 fractional digits
1261
+ */
1262
+ clientIncome: string;
1263
+ /**
1264
+ * Decimal string with up to 2 fractional digits
1265
+ */
1266
+ insuranceIncome: string;
1267
+ /**
1268
+ * Decimal string with up to 2 fractional digits
1269
+ */
1270
+ totalIncome: string;
1271
+ monthStart: string;
1272
+ monthEnd: string;
1273
+ };
1274
+ }>;
1275
+ /**
1276
+ * Enqueue Annual Financial Activity export
1277
+ * Queues a background job that builds a multi-section CSV, uploads it to object storage, and emails a 48h presigned download link to recipientEmail.
1278
+ * @returns any Response for status 200
1279
+ * @throws ApiError
1280
+ */
1281
+ static postReportsAnnualFinancialActivity({ requestBody, }: {
1282
+ requestBody: {
1283
+ year: (string | number);
1284
+ recipientEmail: string;
1285
+ };
1286
+ }): CancelablePromise<{
1287
+ success: boolean;
1288
+ data: {
1289
+ jobId: string;
1290
+ year: (string | number);
1291
+ recipientEmail: string;
1292
+ status: string;
1293
+ };
1294
+ }>;
12
1295
  }
13
1296
  //# sourceMappingURL=ReportsService.d.ts.map