@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.
- package/dist/generated/index.d.ts +4 -4
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +4 -4
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/services/AppointmentsService.d.ts +53 -0
- package/dist/generated/services/AppointmentsService.d.ts.map +1 -1
- package/dist/generated/services/AppointmentsService.js +30 -0
- package/dist/generated/services/AppointmentsService.js.map +1 -1
- package/dist/generated/services/BillingCodesService.d.ts +25 -0
- package/dist/generated/services/BillingCodesService.d.ts.map +1 -0
- package/dist/generated/services/BillingCodesService.js +20 -0
- package/dist/generated/services/BillingCodesService.js.map +1 -0
- package/dist/generated/services/ClientPortalAppointmentsService.d.ts +6 -0
- package/dist/generated/services/ClientPortalAppointmentsService.d.ts.map +1 -1
- package/dist/generated/services/ClientPortalAppointmentsService.js.map +1 -1
- package/dist/generated/services/ClientPortalService.d.ts +224 -0
- package/dist/generated/services/ClientPortalService.d.ts.map +1 -1
- package/dist/generated/services/ClientPortalService.js +50 -0
- package/dist/generated/services/ClientPortalService.js.map +1 -1
- package/dist/generated/services/ClientsService.d.ts +17 -0
- package/dist/generated/services/ClientsService.d.ts.map +1 -1
- package/dist/generated/services/ClientsService.js +15 -0
- package/dist/generated/services/ClientsService.js.map +1 -1
- package/dist/generated/services/InvoicesService.d.ts +635 -0
- package/dist/generated/services/InvoicesService.d.ts.map +1 -0
- package/dist/generated/services/InvoicesService.js +172 -0
- package/dist/generated/services/InvoicesService.js.map +1 -0
- package/dist/generated/services/ServicesService.d.ts +204 -0
- package/dist/generated/services/ServicesService.d.ts.map +1 -0
- package/dist/generated/services/ServicesService.js +109 -0
- package/dist/generated/services/ServicesService.js.map +1 -0
- package/dist/generated/services/SuperbillsService.d.ts +60 -357
- package/dist/generated/services/SuperbillsService.d.ts.map +1 -1
- package/dist/generated/services/SuperbillsService.js +8 -240
- package/dist/generated/services/SuperbillsService.js.map +1 -1
- package/dist/generated/services/TelehealthService.d.ts +30 -0
- package/dist/generated/services/TelehealthService.d.ts.map +1 -0
- package/dist/generated/services/TelehealthService.js +46 -0
- package/dist/generated/services/TelehealthService.js.map +1 -0
- package/package.json +1 -1
- package/dist/generated/services/BillingService.d.ts +0 -427
- package/dist/generated/services/BillingService.d.ts.map +0 -1
- package/dist/generated/services/BillingService.js +0 -280
- package/dist/generated/services/BillingService.js.map +0 -1
- package/dist/generated/services/ClientPortalSuperbillsService.d.ts +0 -13
- package/dist/generated/services/ClientPortalSuperbillsService.d.ts.map +0 -1
- package/dist/generated/services/ClientPortalSuperbillsService.js +0 -20
- package/dist/generated/services/ClientPortalSuperbillsService.js.map +0 -1
- package/dist/generated/services/CreditsService.d.ts +0 -82
- package/dist/generated/services/CreditsService.d.ts.map +0 -1
- package/dist/generated/services/CreditsService.js +0 -63
- package/dist/generated/services/CreditsService.js.map +0 -1
- package/dist/generated/services/SuperbillCodesService.d.ts +0 -84
- package/dist/generated/services/SuperbillCodesService.d.ts.map +0 -1
- package/dist/generated/services/SuperbillCodesService.js +0 -84
- package/dist/generated/services/SuperbillCodesService.js.map +0 -1
|
@@ -1,280 +0,0 @@
|
|
|
1
|
-
import { OpenAPI } from '../core/OpenAPI';
|
|
2
|
-
import { request as __request } from '../core/request';
|
|
3
|
-
export class BillingService {
|
|
4
|
-
/**
|
|
5
|
-
* List superbill payments
|
|
6
|
-
* List all payment records for a superbill
|
|
7
|
-
* @returns any Response for status 200
|
|
8
|
-
* @throws ApiError
|
|
9
|
-
*/
|
|
10
|
-
static getSuperbillsByIdPayments({ id, }) {
|
|
11
|
-
return __request(OpenAPI, {
|
|
12
|
-
method: 'GET',
|
|
13
|
-
url: '/superbills/{id}/payments',
|
|
14
|
-
path: {
|
|
15
|
-
'id': id,
|
|
16
|
-
},
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Record payment
|
|
21
|
-
* Record a manual payment on a superbill
|
|
22
|
-
* @returns any Response for status 200
|
|
23
|
-
* @throws ApiError
|
|
24
|
-
*/
|
|
25
|
-
static postSuperbillsByIdPayments({ id, requestBody, }) {
|
|
26
|
-
return __request(OpenAPI, {
|
|
27
|
-
method: 'POST',
|
|
28
|
-
url: '/superbills/{id}/payments',
|
|
29
|
-
path: {
|
|
30
|
-
'id': id,
|
|
31
|
-
},
|
|
32
|
-
body: requestBody,
|
|
33
|
-
mediaType: 'application/json',
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Mark superbill ready
|
|
38
|
-
* Mark a draft superbill as ready for billing
|
|
39
|
-
* @returns any Response for status 200
|
|
40
|
-
* @throws ApiError
|
|
41
|
-
*/
|
|
42
|
-
static postSuperbillsByIdReady({ id, }) {
|
|
43
|
-
return __request(OpenAPI, {
|
|
44
|
-
method: 'POST',
|
|
45
|
-
url: '/superbills/{id}/ready',
|
|
46
|
-
path: {
|
|
47
|
-
'id': id,
|
|
48
|
-
},
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Void superbill
|
|
53
|
-
* Void a superbill with a reason
|
|
54
|
-
* @returns any Response for status 200
|
|
55
|
-
* @throws ApiError
|
|
56
|
-
*/
|
|
57
|
-
static postSuperbillsByIdVoid({ id, requestBody, }) {
|
|
58
|
-
return __request(OpenAPI, {
|
|
59
|
-
method: 'POST',
|
|
60
|
-
url: '/superbills/{id}/void',
|
|
61
|
-
path: {
|
|
62
|
-
'id': id,
|
|
63
|
-
},
|
|
64
|
-
body: requestBody,
|
|
65
|
-
mediaType: 'application/json',
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Process refund
|
|
70
|
-
* Process a refund on a superbill payment
|
|
71
|
-
* @returns any Response for status 200
|
|
72
|
-
* @throws ApiError
|
|
73
|
-
*/
|
|
74
|
-
static postSuperbillsByIdRefund({ id, requestBody, }) {
|
|
75
|
-
return __request(OpenAPI, {
|
|
76
|
-
method: 'POST',
|
|
77
|
-
url: '/superbills/{id}/refund',
|
|
78
|
-
path: {
|
|
79
|
-
'id': id,
|
|
80
|
-
},
|
|
81
|
-
body: requestBody,
|
|
82
|
-
mediaType: 'application/json',
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Set adjustment
|
|
87
|
-
* Set an adjustment amount and reason on a superbill
|
|
88
|
-
* @returns any Response for status 200
|
|
89
|
-
* @throws ApiError
|
|
90
|
-
*/
|
|
91
|
-
static postSuperbillsByIdAdjustment({ id, requestBody, }) {
|
|
92
|
-
return __request(OpenAPI, {
|
|
93
|
-
method: 'POST',
|
|
94
|
-
url: '/superbills/{id}/adjustment',
|
|
95
|
-
path: {
|
|
96
|
-
'id': id,
|
|
97
|
-
},
|
|
98
|
-
body: requestBody,
|
|
99
|
-
mediaType: 'application/json',
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* Get billing metrics
|
|
104
|
-
* Get billing dashboard metrics
|
|
105
|
-
* @returns any Response for status 200
|
|
106
|
-
* @throws ApiError
|
|
107
|
-
*/
|
|
108
|
-
static getBillingMetrics() {
|
|
109
|
-
return __request(OpenAPI, {
|
|
110
|
-
method: 'GET',
|
|
111
|
-
url: '/billing/metrics',
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* Export superbills CSV
|
|
116
|
-
* Export superbills data as CSV
|
|
117
|
-
* @returns any Response for status 200
|
|
118
|
-
* @throws ApiError
|
|
119
|
-
*/
|
|
120
|
-
static getBillingExportCsv({ dateRangeStart, dateRangeEnd, clientId, status, }) {
|
|
121
|
-
return __request(OpenAPI, {
|
|
122
|
-
method: 'GET',
|
|
123
|
-
url: '/billing/export/csv',
|
|
124
|
-
query: {
|
|
125
|
-
'dateRangeStart': dateRangeStart,
|
|
126
|
-
'dateRangeEnd': dateRangeEnd,
|
|
127
|
-
'clientId': clientId,
|
|
128
|
-
'status': status,
|
|
129
|
-
},
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* Get credit balance
|
|
134
|
-
* Get client credit balance
|
|
135
|
-
* @returns any Response for status 200
|
|
136
|
-
* @throws ApiError
|
|
137
|
-
*/
|
|
138
|
-
static getBillingCreditsByClientIdBalance({ clientId, }) {
|
|
139
|
-
return __request(OpenAPI, {
|
|
140
|
-
method: 'GET',
|
|
141
|
-
url: '/billing/credits/{clientId}/balance',
|
|
142
|
-
path: {
|
|
143
|
-
'clientId': clientId,
|
|
144
|
-
},
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* Get credit history
|
|
149
|
-
* Get client credit transaction history
|
|
150
|
-
* @returns any Response for status 200
|
|
151
|
-
* @throws ApiError
|
|
152
|
-
*/
|
|
153
|
-
static getBillingCreditsByClientIdHistory({ clientId, }) {
|
|
154
|
-
return __request(OpenAPI, {
|
|
155
|
-
method: 'GET',
|
|
156
|
-
url: '/billing/credits/{clientId}/history',
|
|
157
|
-
path: {
|
|
158
|
-
'clientId': clientId,
|
|
159
|
-
},
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* Add credit
|
|
164
|
-
* Add credit to a client account
|
|
165
|
-
* @returns any Response for status 200
|
|
166
|
-
* @throws ApiError
|
|
167
|
-
*/
|
|
168
|
-
static postBillingCredits({ requestBody, }) {
|
|
169
|
-
return __request(OpenAPI, {
|
|
170
|
-
method: 'POST',
|
|
171
|
-
url: '/billing/credits',
|
|
172
|
-
body: requestBody,
|
|
173
|
-
mediaType: 'application/json',
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
/**
|
|
177
|
-
* Apply credit
|
|
178
|
-
* Apply client credit to a superbill
|
|
179
|
-
* @returns any Response for status 200
|
|
180
|
-
* @throws ApiError
|
|
181
|
-
*/
|
|
182
|
-
static postBillingCreditsApply({ requestBody, }) {
|
|
183
|
-
return __request(OpenAPI, {
|
|
184
|
-
method: 'POST',
|
|
185
|
-
url: '/billing/credits/apply',
|
|
186
|
-
body: requestBody,
|
|
187
|
-
mediaType: 'application/json',
|
|
188
|
-
});
|
|
189
|
-
}
|
|
190
|
-
/**
|
|
191
|
-
* Client billing summary
|
|
192
|
-
* Returns outstanding balance, unallocated credit and the list of unpaid invoices for a client. Composed read for the unified Add Payment drawer.
|
|
193
|
-
* @returns any Response for status 200
|
|
194
|
-
* @throws ApiError
|
|
195
|
-
*/
|
|
196
|
-
static clientsBillingSummary({ clientId, }) {
|
|
197
|
-
return __request(OpenAPI, {
|
|
198
|
-
method: 'GET',
|
|
199
|
-
url: '/billing/clients/{clientId}/billing-summary',
|
|
200
|
-
path: {
|
|
201
|
-
'clientId': clientId,
|
|
202
|
-
},
|
|
203
|
-
});
|
|
204
|
-
}
|
|
205
|
-
/**
|
|
206
|
-
* Record payment from context
|
|
207
|
-
* Unified payment recording entry point used by the Add Payment drawer. Accepts appointment, invoice or client triggers and dispatches to manual-payment recording, payment-link creation (Stripe Connect) or credit application as appropriate.
|
|
208
|
-
* @returns any Response for status 200
|
|
209
|
-
* @throws ApiError
|
|
210
|
-
*/
|
|
211
|
-
static paymentsFromContext({ requestBody, }) {
|
|
212
|
-
return __request(OpenAPI, {
|
|
213
|
-
method: 'POST',
|
|
214
|
-
url: '/payments/from-context',
|
|
215
|
-
body: requestBody,
|
|
216
|
-
mediaType: 'application/json',
|
|
217
|
-
});
|
|
218
|
-
}
|
|
219
|
-
/**
|
|
220
|
-
* Record an unallocated client prepayment
|
|
221
|
-
* Records a payment for a client who has no unpaid invoice. Writes a single client_credits row with type='prepayment'. Only cash/check/external_card are allowed; online_card is rejected.
|
|
222
|
-
* @returns any Response for status 200
|
|
223
|
-
* @throws ApiError
|
|
224
|
-
*/
|
|
225
|
-
static recordPrepayment({ requestBody, }) {
|
|
226
|
-
return __request(OpenAPI, {
|
|
227
|
-
method: 'POST',
|
|
228
|
-
url: '/payments/prepayment',
|
|
229
|
-
body: requestBody,
|
|
230
|
-
mediaType: 'application/json',
|
|
231
|
-
});
|
|
232
|
-
}
|
|
233
|
-
/**
|
|
234
|
-
* Soft-delete a payment
|
|
235
|
-
* Soft-deletes a payment row (sets deleted_at) and reverses its effect on the parent superbill. Online-card (Stripe) payments are rejected — those must be refunded.
|
|
236
|
-
* @returns any Response for status 200
|
|
237
|
-
* @throws ApiError
|
|
238
|
-
*/
|
|
239
|
-
static deletePayment({ id, }) {
|
|
240
|
-
return __request(OpenAPI, {
|
|
241
|
-
method: 'DELETE',
|
|
242
|
-
url: '/payments/{id}',
|
|
243
|
-
path: {
|
|
244
|
-
'id': id,
|
|
245
|
-
},
|
|
246
|
-
});
|
|
247
|
-
}
|
|
248
|
-
/**
|
|
249
|
-
* Allocate a client credit to one or more invoices
|
|
250
|
-
* Consumes the specified credit (typically a prepayment) across one or more unpaid superbills. Supports per-invoice amounts and an optional residual payment in the same transaction.
|
|
251
|
-
* @returns any Response for status 200
|
|
252
|
-
* @throws ApiError
|
|
253
|
-
*/
|
|
254
|
-
static allocateCreditToInvoice({ paymentCreditId, requestBody, }) {
|
|
255
|
-
return __request(OpenAPI, {
|
|
256
|
-
method: 'POST',
|
|
257
|
-
url: '/payments/{paymentCreditId}/allocate',
|
|
258
|
-
path: {
|
|
259
|
-
'paymentCreditId': paymentCreditId,
|
|
260
|
-
},
|
|
261
|
-
body: requestBody,
|
|
262
|
-
mediaType: 'application/json',
|
|
263
|
-
});
|
|
264
|
-
}
|
|
265
|
-
/**
|
|
266
|
-
* Create credit memo for fee adjustment
|
|
267
|
-
* Issues a new negative-charge superbill (Credit Memo) when a billing entry's underlying fee is reduced after invoicing. The original superbill is not modified — the credit memo offsets it via auto-allocation when the original has open balance; any residual becomes unallocated client credit.
|
|
268
|
-
* @returns any Response for status 200
|
|
269
|
-
* @throws ApiError
|
|
270
|
-
*/
|
|
271
|
-
static createCreditMemo({ requestBody, }) {
|
|
272
|
-
return __request(OpenAPI, {
|
|
273
|
-
method: 'POST',
|
|
274
|
-
url: '/billing/credit-memo',
|
|
275
|
-
body: requestBody,
|
|
276
|
-
mediaType: 'application/json',
|
|
277
|
-
});
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
//# sourceMappingURL=BillingService.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BillingService.js","sourceRoot":"","sources":["../../../src/generated/services/BillingService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,MAAM,OAAO,cAAc;IACvB;;;;;OAKG;IACI,MAAM,CAAC,yBAAyB,CAAC,EACpC,EAAE,GAGL;QAoBG,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,2BAA2B;YAChC,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,MAAM,CAAC,0BAA0B,CAAC,EACrC,EAAE,EACF,WAAW,GAUd;QASG,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,2BAA2B;YAChC,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,MAAM,CAAC,uBAAuB,CAAC,EAClC,EAAE,GAGL;QASG,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,wBAAwB;YAC7B,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,MAAM,CAAC,sBAAsB,CAAC,EACjC,EAAE,EAC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0,0 @@
|
|
|
1
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
2
|
-
export declare class ClientPortalSuperbillsService {
|
|
3
|
-
/**
|
|
4
|
-
* List client superbills
|
|
5
|
-
* List all superbills for the authenticated client
|
|
6
|
-
* @throws ApiError
|
|
7
|
-
*/
|
|
8
|
-
static getClientPortalSuperbills({ limit, offset, }: {
|
|
9
|
-
limit?: string;
|
|
10
|
-
offset?: string;
|
|
11
|
-
}): CancelablePromise<void>;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=ClientPortalSuperbillsService.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClientPortalSuperbillsService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/ClientPortalSuperbillsService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,qBAAa,6BAA6B;IACtC;;;;OAIG;WACW,yBAAyB,CAAC,EACpC,KAAK,EACL,MAAM,GACT,EAAE;QACC,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;KACnB,GAAG,iBAAiB,CAAC,IAAI,CAAC;CAU9B"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { OpenAPI } from '../core/OpenAPI';
|
|
2
|
-
import { request as __request } from '../core/request';
|
|
3
|
-
export class ClientPortalSuperbillsService {
|
|
4
|
-
/**
|
|
5
|
-
* List client superbills
|
|
6
|
-
* List all superbills for the authenticated client
|
|
7
|
-
* @throws ApiError
|
|
8
|
-
*/
|
|
9
|
-
static getClientPortalSuperbills({ limit, offset, }) {
|
|
10
|
-
return __request(OpenAPI, {
|
|
11
|
-
method: 'GET',
|
|
12
|
-
url: '/client-portal/superbills',
|
|
13
|
-
query: {
|
|
14
|
-
'limit': limit,
|
|
15
|
-
'offset': offset,
|
|
16
|
-
},
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=ClientPortalSuperbillsService.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClientPortalSuperbillsService.js","sourceRoot":"","sources":["../../../src/generated/services/ClientPortalSuperbillsService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,MAAM,OAAO,6BAA6B;IACtC;;;;OAIG;IACI,MAAM,CAAC,yBAAyB,CAAC,EACpC,KAAK,EACL,MAAM,GAIT;QACG,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,2BAA2B;YAChC,KAAK,EAAE;gBACH,OAAO,EAAE,KAAK;gBACd,QAAQ,EAAE,MAAM;aACnB;SACJ,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
2
|
-
export declare class CreditsService {
|
|
3
|
-
/**
|
|
4
|
-
* Get credit balance
|
|
5
|
-
* Get client credit balance
|
|
6
|
-
* @returns any Response for status 200
|
|
7
|
-
* @throws ApiError
|
|
8
|
-
*/
|
|
9
|
-
static getBillingCreditsByClientIdBalance({ clientId, }: {
|
|
10
|
-
clientId: string;
|
|
11
|
-
}): CancelablePromise<{
|
|
12
|
-
success: boolean;
|
|
13
|
-
data?: {
|
|
14
|
-
balance: number;
|
|
15
|
-
};
|
|
16
|
-
error?: string;
|
|
17
|
-
}>;
|
|
18
|
-
/**
|
|
19
|
-
* Get credit history
|
|
20
|
-
* Get client credit transaction history
|
|
21
|
-
* @returns any Response for status 200
|
|
22
|
-
* @throws ApiError
|
|
23
|
-
*/
|
|
24
|
-
static getBillingCreditsByClientIdHistory({ clientId, }: {
|
|
25
|
-
clientId: string;
|
|
26
|
-
}): CancelablePromise<{
|
|
27
|
-
success: boolean;
|
|
28
|
-
data?: {
|
|
29
|
-
credits: Array<{
|
|
30
|
-
id: string;
|
|
31
|
-
amount: number;
|
|
32
|
-
type: 'overpayment' | 'refund_to_credit' | 'prepayment' | 'adjustment' | 'applied';
|
|
33
|
-
sourceSuperbillId: (string | null);
|
|
34
|
-
description: string;
|
|
35
|
-
createdAt: string;
|
|
36
|
-
}>;
|
|
37
|
-
};
|
|
38
|
-
error?: string;
|
|
39
|
-
}>;
|
|
40
|
-
/**
|
|
41
|
-
* Add credit
|
|
42
|
-
* Add credit to a client account
|
|
43
|
-
* @returns any Response for status 200
|
|
44
|
-
* @throws ApiError
|
|
45
|
-
*/
|
|
46
|
-
static postBillingCredits({ requestBody, }: {
|
|
47
|
-
requestBody: {
|
|
48
|
-
clientId: string;
|
|
49
|
-
amount: number;
|
|
50
|
-
type: 'overpayment' | 'refund_to_credit' | 'prepayment' | 'adjustment' | 'applied';
|
|
51
|
-
description: string;
|
|
52
|
-
};
|
|
53
|
-
}): CancelablePromise<{
|
|
54
|
-
success: boolean;
|
|
55
|
-
data?: {
|
|
56
|
-
id: string;
|
|
57
|
-
balance: number;
|
|
58
|
-
};
|
|
59
|
-
error?: string;
|
|
60
|
-
}>;
|
|
61
|
-
/**
|
|
62
|
-
* Apply credit
|
|
63
|
-
* Apply client credit to a superbill
|
|
64
|
-
* @returns any Response for status 200
|
|
65
|
-
* @throws ApiError
|
|
66
|
-
*/
|
|
67
|
-
static postBillingCreditsApply({ requestBody, }: {
|
|
68
|
-
requestBody: {
|
|
69
|
-
superbillId: string;
|
|
70
|
-
amount: number;
|
|
71
|
-
};
|
|
72
|
-
}): CancelablePromise<{
|
|
73
|
-
success: boolean;
|
|
74
|
-
data?: {
|
|
75
|
-
appliedAmount: number;
|
|
76
|
-
remainingBalance: number;
|
|
77
|
-
superbillStatus: string;
|
|
78
|
-
};
|
|
79
|
-
error?: string;
|
|
80
|
-
}>;
|
|
81
|
-
}
|
|
82
|
-
//# sourceMappingURL=CreditsService.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreditsService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/CreditsService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,qBAAa,cAAc;IACvB;;;;;OAKG;WACW,kCAAkC,CAAC,EAC7C,QAAQ,GACX,EAAE;QACC,QAAQ,EAAE,MAAM,CAAC;KACpB,GAAG,iBAAiB,CAAC;QAClB,OAAO,EAAE,OAAO,CAAC;QACjB,IAAI,CAAC,EAAE;YACH,OAAO,EAAE,MAAM,CAAC;SACnB,CAAC;QACF,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IASF;;;;;OAKG;WACW,kCAAkC,CAAC,EAC7C,QAAQ,GACX,EAAE;QACC,QAAQ,EAAE,MAAM,CAAC;KACpB,GAAG,iBAAiB,CAAC;QAClB,OAAO,EAAE,OAAO,CAAC;QACjB,IAAI,CAAC,EAAE;YACH,OAAO,EAAE,KAAK,CAAC;gBACX,EAAE,EAAE,MAAM,CAAC;gBACX,MAAM,EAAE,MAAM,CAAC;gBACf,IAAI,EAAE,aAAa,GAAG,kBAAkB,GAAG,YAAY,GAAG,YAAY,GAAG,SAAS,CAAC;gBACnF,iBAAiB,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;gBACnC,WAAW,EAAE,MAAM,CAAC;gBACpB,SAAS,EAAE,MAAM,CAAC;aACrB,CAAC,CAAC;SACN,CAAC;QACF,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IASF;;;;;OAKG;WACW,kBAAkB,CAAC,EAC7B,WAAW,GACd,EAAE;QACC,WAAW,EAAE;YACT,QAAQ,EAAE,MAAM,CAAC;YACjB,MAAM,EAAE,MAAM,CAAC;YACf,IAAI,EAAE,aAAa,GAAG,kBAAkB,GAAG,YAAY,GAAG,YAAY,GAAG,SAAS,CAAC;YACnF,WAAW,EAAE,MAAM,CAAC;SACvB,CAAC;KACL,GAAG,iBAAiB,CAAC;QAClB,OAAO,EAAE,OAAO,CAAC;QACjB,IAAI,CAAC,EAAE;YACH,EAAE,EAAE,MAAM,CAAC;YACX,OAAO,EAAE,MAAM,CAAC;SACnB,CAAC;QACF,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IAQF;;;;;OAKG;WACW,uBAAuB,CAAC,EAClC,WAAW,GACd,EAAE;QACC,WAAW,EAAE;YACT,WAAW,EAAE,MAAM,CAAC;YACpB,MAAM,EAAE,MAAM,CAAC;SAClB,CAAC;KACL,GAAG,iBAAiB,CAAC;QAClB,OAAO,EAAE,OAAO,CAAC;QACjB,IAAI,CAAC,EAAE;YACH,aAAa,EAAE,MAAM,CAAC;YACtB,gBAAgB,EAAE,MAAM,CAAC;YACzB,eAAe,EAAE,MAAM,CAAC;SAC3B,CAAC;QACF,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;CAQL"}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { OpenAPI } from '../core/OpenAPI';
|
|
2
|
-
import { request as __request } from '../core/request';
|
|
3
|
-
export class CreditsService {
|
|
4
|
-
/**
|
|
5
|
-
* Get credit balance
|
|
6
|
-
* Get client credit balance
|
|
7
|
-
* @returns any Response for status 200
|
|
8
|
-
* @throws ApiError
|
|
9
|
-
*/
|
|
10
|
-
static getBillingCreditsByClientIdBalance({ clientId, }) {
|
|
11
|
-
return __request(OpenAPI, {
|
|
12
|
-
method: 'GET',
|
|
13
|
-
url: '/billing/credits/{clientId}/balance',
|
|
14
|
-
path: {
|
|
15
|
-
'clientId': clientId,
|
|
16
|
-
},
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Get credit history
|
|
21
|
-
* Get client credit transaction history
|
|
22
|
-
* @returns any Response for status 200
|
|
23
|
-
* @throws ApiError
|
|
24
|
-
*/
|
|
25
|
-
static getBillingCreditsByClientIdHistory({ clientId, }) {
|
|
26
|
-
return __request(OpenAPI, {
|
|
27
|
-
method: 'GET',
|
|
28
|
-
url: '/billing/credits/{clientId}/history',
|
|
29
|
-
path: {
|
|
30
|
-
'clientId': clientId,
|
|
31
|
-
},
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Add credit
|
|
36
|
-
* Add credit to a client account
|
|
37
|
-
* @returns any Response for status 200
|
|
38
|
-
* @throws ApiError
|
|
39
|
-
*/
|
|
40
|
-
static postBillingCredits({ requestBody, }) {
|
|
41
|
-
return __request(OpenAPI, {
|
|
42
|
-
method: 'POST',
|
|
43
|
-
url: '/billing/credits',
|
|
44
|
-
body: requestBody,
|
|
45
|
-
mediaType: 'application/json',
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Apply credit
|
|
50
|
-
* Apply client credit to a superbill
|
|
51
|
-
* @returns any Response for status 200
|
|
52
|
-
* @throws ApiError
|
|
53
|
-
*/
|
|
54
|
-
static postBillingCreditsApply({ requestBody, }) {
|
|
55
|
-
return __request(OpenAPI, {
|
|
56
|
-
method: 'POST',
|
|
57
|
-
url: '/billing/credits/apply',
|
|
58
|
-
body: requestBody,
|
|
59
|
-
mediaType: 'application/json',
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
//# sourceMappingURL=CreditsService.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreditsService.js","sourceRoot":"","sources":["../../../src/generated/services/CreditsService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,MAAM,OAAO,cAAc;IACvB;;;;;OAKG;IACI,MAAM,CAAC,kCAAkC,CAAC,EAC7C,QAAQ,GAGX;QAOG,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,qCAAqC;YAC1C,IAAI,EAAE;gBACF,UAAU,EAAE,QAAQ;aACvB;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,MAAM,CAAC,kCAAkC,CAAC,EAC7C,QAAQ,GAGX;QAcG,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,qCAAqC;YAC1C,IAAI,EAAE;gBACF,UAAU,EAAE,QAAQ;aACvB;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,MAAM,CAAC,kBAAkB,CAAC,EAC7B,WAAW,GAQd;QAQG,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,kBAAkB;YACvB,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,MAAM,CAAC,uBAAuB,CAAC,EAClC,WAAW,GAMd;QASG,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,wBAAwB;YAC7B,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
2
|
-
export declare class SuperbillCodesService {
|
|
3
|
-
/**
|
|
4
|
-
* List superbill codes
|
|
5
|
-
* List therapist's configured superbill codes
|
|
6
|
-
* @returns any Response for status 200
|
|
7
|
-
* @throws ApiError
|
|
8
|
-
*/
|
|
9
|
-
static getSuperbillCodes({ codeType, category, activeOnly, }: {
|
|
10
|
-
codeType?: 'CPT4' | 'ICD10' | 'HCPCS';
|
|
11
|
-
category?: string;
|
|
12
|
-
activeOnly?: string;
|
|
13
|
-
}): CancelablePromise<{
|
|
14
|
-
success: boolean;
|
|
15
|
-
data?: any;
|
|
16
|
-
error?: string;
|
|
17
|
-
}>;
|
|
18
|
-
/**
|
|
19
|
-
* Configure superbill code
|
|
20
|
-
* Add a new superbill code configuration
|
|
21
|
-
* @returns any Response for status 200
|
|
22
|
-
* @throws ApiError
|
|
23
|
-
*/
|
|
24
|
-
static postSuperbillCodes({ requestBody, }: {
|
|
25
|
-
requestBody: {
|
|
26
|
-
codeType: 'CPT4' | 'ICD10' | 'HCPCS';
|
|
27
|
-
code: string;
|
|
28
|
-
description: string;
|
|
29
|
-
category?: string;
|
|
30
|
-
defaultFee?: number;
|
|
31
|
-
displayOrder?: (string | number);
|
|
32
|
-
};
|
|
33
|
-
}): CancelablePromise<{
|
|
34
|
-
success: boolean;
|
|
35
|
-
data?: any;
|
|
36
|
-
error?: string;
|
|
37
|
-
}>;
|
|
38
|
-
/**
|
|
39
|
-
* Search ICD-10 codes
|
|
40
|
-
* Search ICD-10 diagnosis codes
|
|
41
|
-
* @returns any Response for status 200
|
|
42
|
-
* @throws ApiError
|
|
43
|
-
*/
|
|
44
|
-
static getSuperbillCodesSearchIcd10({ q, limit, }: {
|
|
45
|
-
q?: string;
|
|
46
|
-
limit?: string;
|
|
47
|
-
}): CancelablePromise<{
|
|
48
|
-
success: boolean;
|
|
49
|
-
data?: any;
|
|
50
|
-
error?: string;
|
|
51
|
-
}>;
|
|
52
|
-
/**
|
|
53
|
-
* Update superbill code
|
|
54
|
-
* Update an existing superbill code
|
|
55
|
-
* @returns any Response for status 200
|
|
56
|
-
* @throws ApiError
|
|
57
|
-
*/
|
|
58
|
-
static patchSuperbillCodesById({ id, requestBody, }: {
|
|
59
|
-
id: string;
|
|
60
|
-
requestBody: {
|
|
61
|
-
defaultFee?: number;
|
|
62
|
-
category?: string;
|
|
63
|
-
displayOrder?: (string | number);
|
|
64
|
-
active?: boolean;
|
|
65
|
-
};
|
|
66
|
-
}): CancelablePromise<{
|
|
67
|
-
success: boolean;
|
|
68
|
-
data?: any;
|
|
69
|
-
error?: string;
|
|
70
|
-
}>;
|
|
71
|
-
/**
|
|
72
|
-
* Delete superbill code
|
|
73
|
-
* Delete a superbill code
|
|
74
|
-
* @returns any Response for status 200
|
|
75
|
-
* @throws ApiError
|
|
76
|
-
*/
|
|
77
|
-
static deleteSuperbillCodesById({ id, }: {
|
|
78
|
-
id: string;
|
|
79
|
-
}): CancelablePromise<{
|
|
80
|
-
success: boolean;
|
|
81
|
-
message: string;
|
|
82
|
-
}>;
|
|
83
|
-
}
|
|
84
|
-
//# sourceMappingURL=SuperbillCodesService.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SuperbillCodesService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/SuperbillCodesService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,qBAAa,qBAAqB;IAC9B;;;;;OAKG;WACW,iBAAiB,CAAC,EAC5B,QAAQ,EACR,QAAQ,EACR,UAAU,GACb,EAAE;QACC,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;QACtC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,UAAU,CAAC,EAAE,MAAM,CAAC;KACvB,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,kBAAkB,CAAC,EAC7B,WAAW,GACd,EAAE;QACC,WAAW,EAAE;YACT,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;YACrC,IAAI,EAAE,MAAM,CAAC;YACb,WAAW,EAAE,MAAM,CAAC;YACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,YAAY,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;SACpC,CAAC;KACL,GAAG,iBAAiB,CAAC;QAClB,OAAO,EAAE,OAAO,CAAC;QACjB,IAAI,CAAC,EAAE,GAAG,CAAC;QACX,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IAQF;;;;;OAKG;WACW,4BAA4B,CAAC,EACvC,CAAC,EACD,KAAK,GACR,EAAE;QACC,CAAC,CAAC,EAAE,MAAM,CAAC;QACX,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,uBAAuB,CAAC,EAClC,EAAE,EACF,WAAW,GACd,EAAE;QACC,EAAE,EAAE,MAAM,CAAC;QACX,WAAW,EAAE;YACT,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,YAAY,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;YACjC,MAAM,CAAC,EAAE,OAAO,CAAC;SACpB,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,CAAC,EACnC,EAAE,GACL,EAAE;QACC,EAAE,EAAE,MAAM,CAAC;KACd,GAAG,iBAAiB,CAAC;QAClB,OAAO,EAAE,OAAO,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;KACnB,CAAC;CASL"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { OpenAPI } from '../core/OpenAPI';
|
|
2
|
-
import { request as __request } from '../core/request';
|
|
3
|
-
export class SuperbillCodesService {
|
|
4
|
-
/**
|
|
5
|
-
* List superbill codes
|
|
6
|
-
* List therapist's configured superbill codes
|
|
7
|
-
* @returns any Response for status 200
|
|
8
|
-
* @throws ApiError
|
|
9
|
-
*/
|
|
10
|
-
static getSuperbillCodes({ codeType, category, activeOnly, }) {
|
|
11
|
-
return __request(OpenAPI, {
|
|
12
|
-
method: 'GET',
|
|
13
|
-
url: '/superbill-codes',
|
|
14
|
-
query: {
|
|
15
|
-
'codeType': codeType,
|
|
16
|
-
'category': category,
|
|
17
|
-
'activeOnly': activeOnly,
|
|
18
|
-
},
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Configure superbill code
|
|
23
|
-
* Add a new superbill code configuration
|
|
24
|
-
* @returns any Response for status 200
|
|
25
|
-
* @throws ApiError
|
|
26
|
-
*/
|
|
27
|
-
static postSuperbillCodes({ requestBody, }) {
|
|
28
|
-
return __request(OpenAPI, {
|
|
29
|
-
method: 'POST',
|
|
30
|
-
url: '/superbill-codes',
|
|
31
|
-
body: requestBody,
|
|
32
|
-
mediaType: 'application/json',
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Search ICD-10 codes
|
|
37
|
-
* Search ICD-10 diagnosis codes
|
|
38
|
-
* @returns any Response for status 200
|
|
39
|
-
* @throws ApiError
|
|
40
|
-
*/
|
|
41
|
-
static getSuperbillCodesSearchIcd10({ q, limit, }) {
|
|
42
|
-
return __request(OpenAPI, {
|
|
43
|
-
method: 'GET',
|
|
44
|
-
url: '/superbill-codes/search/icd10',
|
|
45
|
-
query: {
|
|
46
|
-
'q': q,
|
|
47
|
-
'limit': limit,
|
|
48
|
-
},
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Update superbill code
|
|
53
|
-
* Update an existing superbill code
|
|
54
|
-
* @returns any Response for status 200
|
|
55
|
-
* @throws ApiError
|
|
56
|
-
*/
|
|
57
|
-
static patchSuperbillCodesById({ id, requestBody, }) {
|
|
58
|
-
return __request(OpenAPI, {
|
|
59
|
-
method: 'PATCH',
|
|
60
|
-
url: '/superbill-codes/{id}',
|
|
61
|
-
path: {
|
|
62
|
-
'id': id,
|
|
63
|
-
},
|
|
64
|
-
body: requestBody,
|
|
65
|
-
mediaType: 'application/json',
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Delete superbill code
|
|
70
|
-
* Delete a superbill code
|
|
71
|
-
* @returns any Response for status 200
|
|
72
|
-
* @throws ApiError
|
|
73
|
-
*/
|
|
74
|
-
static deleteSuperbillCodesById({ id, }) {
|
|
75
|
-
return __request(OpenAPI, {
|
|
76
|
-
method: 'DELETE',
|
|
77
|
-
url: '/superbill-codes/{id}',
|
|
78
|
-
path: {
|
|
79
|
-
'id': id,
|
|
80
|
-
},
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
//# sourceMappingURL=SuperbillCodesService.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SuperbillCodesService.js","sourceRoot":"","sources":["../../../src/generated/services/SuperbillCodesService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,MAAM,OAAO,qBAAqB;IAC9B;;;;;OAKG;IACI,MAAM,CAAC,iBAAiB,CAAC,EAC5B,QAAQ,EACR,QAAQ,EACR,UAAU,GAKb;QAKG,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,kBAAkB;YACvB,KAAK,EAAE;gBACH,UAAU,EAAE,QAAQ;gBACpB,UAAU,EAAE,QAAQ;gBACpB,YAAY,EAAE,UAAU;aAC3B;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,MAAM,CAAC,kBAAkB,CAAC,EAC7B,WAAW,GAUd;QAKG,OAAO,SAAS,CAAC,OAAO,EA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