@burdenoff/microfe-proserviceworld 2026.1026.1 → 2026.1028.1
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/proserviceworld/hooks/useProServiceWorldApi.d.ts +37 -0
- package/dist/proserviceworld/hooks/useProServiceWorldApi.d.ts.map +1 -1
- package/dist/proserviceworld/hooks/useProServiceWorldApi.js +112 -72
- package/dist/proserviceworld/hooks/useProServiceWorldApi.js.map +1 -1
- package/dist/proserviceworld/pages/AnalyticsPage.d.ts.map +1 -1
- package/dist/proserviceworld/pages/AnalyticsPage.js +193 -121
- package/dist/proserviceworld/pages/AnalyticsPage.js.map +1 -1
- package/dist/proserviceworld/pages/InvoicesPage.d.ts.map +1 -1
- package/dist/proserviceworld/pages/InvoicesPage.js +331 -161
- package/dist/proserviceworld/pages/InvoicesPage.js.map +1 -1
- package/package.json +1 -1
|
@@ -18,14 +18,29 @@ var o = "proserviceworld";
|
|
|
18
18
|
function s(e, ...t) {
|
|
19
19
|
for (let n of t) e.invalidateQueries({ queryKey: [o, n] });
|
|
20
20
|
}
|
|
21
|
-
var c = "\n id name type status industry contactName contactEmail contactPhone address\n relationshipOwnerId notes tags createdAt updatedAt", l = "\n id clientId practiceAreaId name description status feeArrangement feeAmount currency\n startDate endDate responsiblePartnerId tags createdAt updatedAt client { id name }", u = "id engagementId name description status version acceptanceCriteria dueDate acceptedAt createdAt", d = "id engagementId name description status dueDate completedAt triggerAmount triggersInvoice createdAt", f = "id engagementId matterId practitionerId role billingRate allocationPct isLead createdAt updatedAt", p = "\n id clientId engagementId practiceAreaId reference title description status priority isPrivileged\n dueDate closedAt leadPractitionerId tags createdAt updatedAt client { id name }", m = "id engagementId matterId practitionerId date minutes billable rate narrative status rejectionReason invoiceId createdAt", h = "id clientId engagementId number status currency subtotal taxAmount total issueDate dueDate paidAt notes createdAt", g = "id type status subjectType subjectId title details reviewerId dueDate resolvedAt createdAt", _ = "id clientId matterId status searchedParties findings waiverReason resolvedAt createdAt", v = "id name code description isActive createdAt", y = "id name description status classification version legalHold retainUntil matterId engagementId tags file { id } createdAt", b = "id name institutionName accountNumberLast4 currency status createdAt", x = "id trustAccountId clientId matterId type amount balanceAfter description reference transferId reconciled reconciledAt createdAt", ee = "id trustAccountId clientId matterId invoiceId amount reason status transferredAt createdAt";
|
|
21
|
+
var c = "\n id name type status industry contactName contactEmail contactPhone address\n relationshipOwnerId notes tags createdAt updatedAt", l = "\n id clientId practiceAreaId name description status feeArrangement feeAmount currency\n startDate endDate responsiblePartnerId tags createdAt updatedAt client { id name }", u = "id engagementId name description status version acceptanceCriteria dueDate acceptedAt createdAt", d = "id engagementId name description status dueDate completedAt triggerAmount triggersInvoice createdAt", f = "id engagementId matterId practitionerId role billingRate allocationPct isLead createdAt updatedAt", p = "\n id clientId engagementId practiceAreaId reference title description status priority isPrivileged\n dueDate closedAt leadPractitionerId tags createdAt updatedAt client { id name }", m = "id engagementId matterId practitionerId date minutes billable rate narrative status rejectionReason invoiceId createdAt", h = "id clientId engagementId number status currency subtotal taxAmount total issueDate dueDate sentAt paidAt notes lineItems createdAt", g = "id type status subjectType subjectId title details reviewerId dueDate resolvedAt createdAt", _ = "id clientId matterId status searchedParties findings waiverReason resolvedAt createdAt", v = "id name code description isActive createdAt", y = "id name description status classification version legalHold retainUntil matterId engagementId tags file { id } createdAt", b = "id name institutionName accountNumberLast4 currency status createdAt", x = "id trustAccountId clientId matterId type amount balanceAfter description reference transferId reconciled reconciledAt createdAt", ee = "id trustAccountId clientId matterId invoiceId amount reason status transferredAt createdAt";
|
|
22
22
|
function te() {
|
|
23
23
|
return t({
|
|
24
24
|
queryKey: [o, "dashboard"],
|
|
25
|
-
queryFn: async () => (await a("\n query PswDashboard {\n pswDashboardStats {\n totalClients activeClients activeEngagements openMatters\n outstandingInvoiceTotal paidInvoiceTotal unbilledHours billedHours\n pendingComplianceChecks openConflictChecks\n engagementsByStatus { status count }\n invoicesByStatus { status count }\n mattersByStatus { status count }\n revenueByMonth { month amount }\n trustHeldTotal activeTrustAccounts\n }\n }")).pswDashboardStats
|
|
25
|
+
queryFn: async () => (await a("\n query PswDashboard {\n pswDashboardStats {\n totalClients activeClients activeEngagements openMatters\n outstandingInvoiceTotal paidInvoiceTotal unbilledHours billedHours\n pendingComplianceChecks openConflictChecks\n engagementsByStatus { status count }\n invoicesByStatus { status count }\n mattersByStatus { status count }\n revenueByMonth { month amount }\n trustHeldTotal activeTrustAccounts\n workedValue billedValue realizationPct writeOffTotal\n agedReceivables {\n current { amount count }\n thirty { amount count }\n sixty { amount count }\n ninetyPlus { amount count }\n }\n }\n }")).pswDashboardStats
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
|
-
|
|
28
|
+
var ne = "id invoiceId timeEntryId amount reason actorId createdAt";
|
|
29
|
+
function re(e = {}) {
|
|
30
|
+
return t({
|
|
31
|
+
queryKey: [
|
|
32
|
+
o,
|
|
33
|
+
"writeOffs",
|
|
34
|
+
e
|
|
35
|
+
],
|
|
36
|
+
queryFn: async () => (await a(`query PswWriteOffs($pagination: PaginationInput) {
|
|
37
|
+
pswListWriteOffs(pagination: $pagination) {
|
|
38
|
+
items { ${ne} } pageInfo { hasMore cursor } totalCount
|
|
39
|
+
}
|
|
40
|
+
}`, { pagination: e.pagination ?? null })).pswListWriteOffs.items
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
function ie(e = {}) {
|
|
29
44
|
return t({
|
|
30
45
|
queryKey: [
|
|
31
46
|
o,
|
|
@@ -43,7 +58,7 @@ function ne(e = {}) {
|
|
|
43
58
|
})).pswListTrustAccounts
|
|
44
59
|
});
|
|
45
60
|
}
|
|
46
|
-
function
|
|
61
|
+
function S() {
|
|
47
62
|
let t = n();
|
|
48
63
|
return e({
|
|
49
64
|
mutationFn: (e) => a(`mutation PswCreateTrustAccount($input: PswCreateTrustAccountInput!) {
|
|
@@ -52,7 +67,7 @@ function re() {
|
|
|
52
67
|
onSuccess: () => s(t, "trustAccounts", "dashboard")
|
|
53
68
|
});
|
|
54
69
|
}
|
|
55
|
-
function
|
|
70
|
+
function C(e = {}) {
|
|
56
71
|
return t({
|
|
57
72
|
queryKey: [
|
|
58
73
|
o,
|
|
@@ -79,7 +94,7 @@ function ie(e = {}) {
|
|
|
79
94
|
})).pswListTrustTransactions
|
|
80
95
|
});
|
|
81
96
|
}
|
|
82
|
-
function
|
|
97
|
+
function w(e, n, r) {
|
|
83
98
|
return t({
|
|
84
99
|
queryKey: [
|
|
85
100
|
o,
|
|
@@ -96,7 +111,7 @@ function S(e, n, r) {
|
|
|
96
111
|
})).pswTrustClientBalance
|
|
97
112
|
});
|
|
98
113
|
}
|
|
99
|
-
function
|
|
114
|
+
function T() {
|
|
100
115
|
let t = n();
|
|
101
116
|
return e({
|
|
102
117
|
mutationFn: (e) => a(`mutation PswRecordTrustDeposit($input: PswRecordTrustDepositInput!) {
|
|
@@ -105,7 +120,7 @@ function C() {
|
|
|
105
120
|
onSuccess: () => s(t, "trustTransactions", "trustClientBalance", "trustAccounts", "dashboard")
|
|
106
121
|
});
|
|
107
122
|
}
|
|
108
|
-
function
|
|
123
|
+
function E() {
|
|
109
124
|
let t = n();
|
|
110
125
|
return e({
|
|
111
126
|
mutationFn: (e) => a(`mutation PswRecordTrustWithdrawal($input: PswRecordTrustWithdrawalInput!) {
|
|
@@ -114,7 +129,7 @@ function w() {
|
|
|
114
129
|
onSuccess: () => s(t, "trustTransactions", "trustClientBalance", "trustAccounts", "dashboard")
|
|
115
130
|
});
|
|
116
131
|
}
|
|
117
|
-
function
|
|
132
|
+
function D() {
|
|
118
133
|
let t = n();
|
|
119
134
|
return e({
|
|
120
135
|
mutationFn: (e) => a(`mutation PswCreateTrustTransfer($input: PswCreateTrustTransferInput!) {
|
|
@@ -123,14 +138,14 @@ function T() {
|
|
|
123
138
|
onSuccess: () => s(t, "trustTransactions", "trustTransfers", "trustClientBalance", "trustAccounts", "dashboard")
|
|
124
139
|
});
|
|
125
140
|
}
|
|
126
|
-
function
|
|
141
|
+
function O() {
|
|
127
142
|
let t = n();
|
|
128
143
|
return e({
|
|
129
144
|
mutationFn: (e) => a("mutation PswReconcileTrustAccount($input: PswReconcileTrustAccountInput!) {\n pswReconcileTrustAccount(input: $input) {\n trustAccountId asOf bookBalance statementBalance difference inBalance reconciledCount\n clientBalances { clientId matterId balance }\n }\n }", { input: e }).then((e) => e.pswReconcileTrustAccount),
|
|
130
145
|
onSuccess: () => s(t, "trustTransactions", "trustAccounts", "dashboard")
|
|
131
146
|
});
|
|
132
147
|
}
|
|
133
|
-
function
|
|
148
|
+
function k(e = {}) {
|
|
134
149
|
return t({
|
|
135
150
|
queryKey: [
|
|
136
151
|
o,
|
|
@@ -148,7 +163,7 @@ function D(e = {}) {
|
|
|
148
163
|
})).pswListClients
|
|
149
164
|
});
|
|
150
165
|
}
|
|
151
|
-
function
|
|
166
|
+
function A(e) {
|
|
152
167
|
return t({
|
|
153
168
|
queryKey: [
|
|
154
169
|
o,
|
|
@@ -165,14 +180,14 @@ function O(e) {
|
|
|
165
180
|
}`, { id: e })).pswClient
|
|
166
181
|
});
|
|
167
182
|
}
|
|
168
|
-
function
|
|
183
|
+
function j() {
|
|
169
184
|
let t = n();
|
|
170
185
|
return e({
|
|
171
186
|
mutationFn: (e) => a(`mutation PswCreateClient($input: PswCreateClientInput!) { pswCreateClient(input: $input) { ${c} } }`, { input: e }),
|
|
172
187
|
onSuccess: () => s(t, "clients", "dashboard")
|
|
173
188
|
});
|
|
174
189
|
}
|
|
175
|
-
function
|
|
190
|
+
function M() {
|
|
176
191
|
let t = n();
|
|
177
192
|
return e({
|
|
178
193
|
mutationFn: (e) => a(`mutation PswUpdateClient($id: ID!, $input: PswUpdateClientInput!) { pswUpdateClient(id: $id, input: $input) { ${c} } }`, e),
|
|
@@ -185,14 +200,14 @@ function A() {
|
|
|
185
200
|
}
|
|
186
201
|
});
|
|
187
202
|
}
|
|
188
|
-
function
|
|
203
|
+
function N() {
|
|
189
204
|
let t = n();
|
|
190
205
|
return e({
|
|
191
206
|
mutationFn: (e) => a("mutation PswArchiveClient($id: ID!) { pswArchiveClient(id: $id) }", { id: e }),
|
|
192
207
|
onSuccess: () => s(t, "clients", "dashboard")
|
|
193
208
|
});
|
|
194
209
|
}
|
|
195
|
-
function
|
|
210
|
+
function P(e = {}) {
|
|
196
211
|
return t({
|
|
197
212
|
queryKey: [
|
|
198
213
|
o,
|
|
@@ -211,7 +226,7 @@ function M(e = {}) {
|
|
|
211
226
|
})).pswListEngagements
|
|
212
227
|
});
|
|
213
228
|
}
|
|
214
|
-
function
|
|
229
|
+
function F(e) {
|
|
215
230
|
return t({
|
|
216
231
|
queryKey: [
|
|
217
232
|
o,
|
|
@@ -228,14 +243,14 @@ function N(e) {
|
|
|
228
243
|
}`, { id: e })).pswEngagement
|
|
229
244
|
});
|
|
230
245
|
}
|
|
231
|
-
function
|
|
246
|
+
function I() {
|
|
232
247
|
let t = n();
|
|
233
248
|
return e({
|
|
234
249
|
mutationFn: (e) => a(`mutation PswCreateEngagement($input: PswCreateEngagementInput!) { pswCreateEngagement(input: $input) { ${l} } }`, { input: e }),
|
|
235
250
|
onSuccess: () => s(t, "engagements", "dashboard")
|
|
236
251
|
});
|
|
237
252
|
}
|
|
238
|
-
function
|
|
253
|
+
function L() {
|
|
239
254
|
let t = n();
|
|
240
255
|
return e({
|
|
241
256
|
mutationFn: (e) => a(`mutation PswUpdateEngagement($id: ID!, $input: PswUpdateEngagementInput!) { pswUpdateEngagement(id: $id, input: $input) { ${l} } }`, e),
|
|
@@ -248,7 +263,7 @@ function F() {
|
|
|
248
263
|
}
|
|
249
264
|
});
|
|
250
265
|
}
|
|
251
|
-
function
|
|
266
|
+
function R() {
|
|
252
267
|
let t = n();
|
|
253
268
|
return e({
|
|
254
269
|
mutationFn: (e) => a(`mutation PswTransitionEngagement($id: ID!, $status: PswEngagementStatus!) { pswTransitionEngagement(id: $id, status: $status) { ${l} } }`, e),
|
|
@@ -261,7 +276,7 @@ function I() {
|
|
|
261
276
|
}
|
|
262
277
|
});
|
|
263
278
|
}
|
|
264
|
-
function
|
|
279
|
+
function z() {
|
|
265
280
|
let t = n();
|
|
266
281
|
return e({
|
|
267
282
|
mutationFn: (e) => a(`mutation PswCreateDeliverable($input: PswCreateDeliverableInput!) { pswCreateDeliverable(input: $input) { ${u} } }`, { input: e }),
|
|
@@ -272,7 +287,7 @@ function L() {
|
|
|
272
287
|
] })
|
|
273
288
|
});
|
|
274
289
|
}
|
|
275
|
-
function
|
|
290
|
+
function B() {
|
|
276
291
|
let t = n();
|
|
277
292
|
return e({
|
|
278
293
|
mutationFn: (e) => a(`mutation PswTransitionDeliverable($id: ID!, $status: PswDeliverableStatus!) { pswTransitionDeliverable(id: $id, status: $status) { ${u} } }`, {
|
|
@@ -286,7 +301,7 @@ function R() {
|
|
|
286
301
|
] })
|
|
287
302
|
});
|
|
288
303
|
}
|
|
289
|
-
function
|
|
304
|
+
function V() {
|
|
290
305
|
let t = n();
|
|
291
306
|
return e({
|
|
292
307
|
mutationFn: (e) => a(`mutation PswCreateMilestone($input: PswCreateMilestoneInput!) { pswCreateMilestone(input: $input) { ${d} } }`, { input: e }),
|
|
@@ -297,7 +312,7 @@ function z() {
|
|
|
297
312
|
] })
|
|
298
313
|
});
|
|
299
314
|
}
|
|
300
|
-
function
|
|
315
|
+
function H() {
|
|
301
316
|
let t = n();
|
|
302
317
|
return e({
|
|
303
318
|
mutationFn: (e) => a(`mutation PswCompleteMilestone($id: ID!) { pswCompleteMilestone(id: $id) { ${d} } }`, { id: e.id }),
|
|
@@ -308,7 +323,7 @@ function B() {
|
|
|
308
323
|
] })
|
|
309
324
|
});
|
|
310
325
|
}
|
|
311
|
-
function
|
|
326
|
+
function U(e = {}) {
|
|
312
327
|
let n = !!(e.engagementId || e.matterId || e.practitionerId);
|
|
313
328
|
return t({
|
|
314
329
|
queryKey: [
|
|
@@ -329,7 +344,7 @@ function V(e = {}) {
|
|
|
329
344
|
})).pswListTeamAssignments
|
|
330
345
|
});
|
|
331
346
|
}
|
|
332
|
-
function
|
|
347
|
+
function W(e) {
|
|
333
348
|
return t({
|
|
334
349
|
queryKey: [
|
|
335
350
|
o,
|
|
@@ -356,21 +371,21 @@ function H(e) {
|
|
|
356
371
|
}
|
|
357
372
|
});
|
|
358
373
|
}
|
|
359
|
-
function
|
|
374
|
+
function G() {
|
|
360
375
|
let t = n();
|
|
361
376
|
return e({
|
|
362
377
|
mutationFn: (e) => a(`mutation PswAddTeamAssignment($input: PswCreateTeamAssignmentInput!) { pswAddTeamAssignment(input: $input) { ${f} } }`, { input: e }),
|
|
363
378
|
onSuccess: () => s(t, "teamAssignments", "clientTeamAssignments")
|
|
364
379
|
});
|
|
365
380
|
}
|
|
366
|
-
function
|
|
381
|
+
function K() {
|
|
367
382
|
let t = n();
|
|
368
383
|
return e({
|
|
369
384
|
mutationFn: (e) => a("mutation PswRemoveTeamAssignment($id: ID!) { pswRemoveTeamAssignment(id: $id) }", { id: e }),
|
|
370
385
|
onSuccess: () => s(t, "teamAssignments", "clientTeamAssignments")
|
|
371
386
|
});
|
|
372
387
|
}
|
|
373
|
-
function
|
|
388
|
+
function q(e = {}) {
|
|
374
389
|
return t({
|
|
375
390
|
queryKey: [
|
|
376
391
|
o,
|
|
@@ -390,28 +405,28 @@ function G(e = {}) {
|
|
|
390
405
|
})).pswListMatters
|
|
391
406
|
});
|
|
392
407
|
}
|
|
393
|
-
function
|
|
408
|
+
function J() {
|
|
394
409
|
let t = n();
|
|
395
410
|
return e({
|
|
396
411
|
mutationFn: (e) => a(`mutation PswCreateMatter($input: PswCreateMatterInput!) { pswCreateMatter(input: $input) { ${p} } }`, { input: e }),
|
|
397
412
|
onSuccess: () => s(t, "matters", "dashboard")
|
|
398
413
|
});
|
|
399
414
|
}
|
|
400
|
-
function
|
|
415
|
+
function Y() {
|
|
401
416
|
let t = n();
|
|
402
417
|
return e({
|
|
403
418
|
mutationFn: (e) => a(`mutation PswUpdateMatter($id: ID!, $input: PswUpdateMatterInput!) { pswUpdateMatter(id: $id, input: $input) { ${p} } }`, e),
|
|
404
419
|
onSuccess: () => s(t, "matters")
|
|
405
420
|
});
|
|
406
421
|
}
|
|
407
|
-
function
|
|
422
|
+
function ae() {
|
|
408
423
|
let t = n();
|
|
409
424
|
return e({
|
|
410
425
|
mutationFn: (e) => a(`mutation PswCloseMatter($id: ID!) { pswCloseMatter(id: $id) { ${p} } }`, { id: e }),
|
|
411
426
|
onSuccess: () => s(t, "matters", "dashboard")
|
|
412
427
|
});
|
|
413
428
|
}
|
|
414
|
-
function
|
|
429
|
+
function oe(e = {}) {
|
|
415
430
|
return t({
|
|
416
431
|
queryKey: [
|
|
417
432
|
o,
|
|
@@ -432,42 +447,42 @@ function Y(e = {}) {
|
|
|
432
447
|
})).pswListTimeEntries
|
|
433
448
|
});
|
|
434
449
|
}
|
|
435
|
-
function
|
|
450
|
+
function se() {
|
|
436
451
|
let t = n();
|
|
437
452
|
return e({
|
|
438
453
|
mutationFn: (e) => a(`mutation PswLogTime($input: PswCreateTimeEntryInput!) { pswLogTimeEntry(input: $input) { ${m} } }`, { input: e }),
|
|
439
454
|
onSuccess: () => s(t, "time", "dashboard")
|
|
440
455
|
});
|
|
441
456
|
}
|
|
442
|
-
function
|
|
457
|
+
function ce() {
|
|
443
458
|
let t = n();
|
|
444
459
|
return e({
|
|
445
460
|
mutationFn: (e) => a(`mutation PswSubmitTime($id: ID!) { pswSubmitTimeEntry(id: $id) { ${m} } }`, { id: e }),
|
|
446
461
|
onSuccess: () => s(t, "time")
|
|
447
462
|
});
|
|
448
463
|
}
|
|
449
|
-
function
|
|
464
|
+
function le() {
|
|
450
465
|
let t = n();
|
|
451
466
|
return e({
|
|
452
467
|
mutationFn: (e) => a(`mutation PswApproveTime($id: ID!) { pswApproveTimeEntry(id: $id) { ${m} } }`, { id: e }),
|
|
453
468
|
onSuccess: () => s(t, "time")
|
|
454
469
|
});
|
|
455
470
|
}
|
|
456
|
-
function
|
|
471
|
+
function ue() {
|
|
457
472
|
let t = n();
|
|
458
473
|
return e({
|
|
459
474
|
mutationFn: (e) => a(`mutation PswUpdateTime($id: ID!, $input: PswUpdateTimeEntryInput!) { pswUpdateTimeEntry(id: $id, input: $input) { ${m} } }`, e),
|
|
460
475
|
onSuccess: () => s(t, "time", "dashboard")
|
|
461
476
|
});
|
|
462
477
|
}
|
|
463
|
-
function
|
|
478
|
+
function de() {
|
|
464
479
|
let t = n();
|
|
465
480
|
return e({
|
|
466
481
|
mutationFn: (e) => a(`mutation PswRejectTime($id: ID!, $reason: String!) { pswRejectTimeEntry(id: $id, reason: $reason) { ${m} } }`, e),
|
|
467
482
|
onSuccess: () => s(t, "time", "dashboard")
|
|
468
483
|
});
|
|
469
484
|
}
|
|
470
|
-
function
|
|
485
|
+
function fe(e = {}) {
|
|
471
486
|
return t({
|
|
472
487
|
queryKey: [
|
|
473
488
|
o,
|
|
@@ -486,21 +501,46 @@ function ue(e = {}) {
|
|
|
486
501
|
})).pswListInvoices
|
|
487
502
|
});
|
|
488
503
|
}
|
|
489
|
-
function
|
|
504
|
+
function pe() {
|
|
490
505
|
let t = n();
|
|
491
506
|
return e({
|
|
492
507
|
mutationFn: (e) => a(`mutation PswCreateInvoice($input: PswCreateInvoiceInput!) { pswCreateInvoice(input: $input) { ${h} } }`, { input: e }),
|
|
493
508
|
onSuccess: () => s(t, "invoices", "dashboard")
|
|
494
509
|
});
|
|
495
510
|
}
|
|
496
|
-
function
|
|
511
|
+
function me() {
|
|
512
|
+
let t = n();
|
|
513
|
+
return e({
|
|
514
|
+
mutationFn: (e) => a(`mutation PswSendInvoice($id: ID!) { pswSendInvoice(id: $id) { ${h} } }`, { id: e }),
|
|
515
|
+
onSuccess: () => s(t, "invoices", "dashboard")
|
|
516
|
+
});
|
|
517
|
+
}
|
|
518
|
+
function he() {
|
|
497
519
|
let t = n();
|
|
498
520
|
return e({
|
|
499
521
|
mutationFn: (e) => a(`mutation PswMarkPaid($id: ID!) { pswMarkInvoicePaid(id: $id) { ${h} } }`, { id: e }),
|
|
500
522
|
onSuccess: () => s(t, "invoices", "dashboard")
|
|
501
523
|
});
|
|
502
524
|
}
|
|
503
|
-
function
|
|
525
|
+
function ge(e) {
|
|
526
|
+
return t({
|
|
527
|
+
queryKey: [
|
|
528
|
+
o,
|
|
529
|
+
"invoice",
|
|
530
|
+
e
|
|
531
|
+
],
|
|
532
|
+
enabled: !!e,
|
|
533
|
+
queryFn: async () => (await a(`query PswInvoiceDetail($id: ID!) { pswInvoice(id: $id) { ${h} } }`, { id: e })).pswInvoice
|
|
534
|
+
});
|
|
535
|
+
}
|
|
536
|
+
function _e() {
|
|
537
|
+
let t = n();
|
|
538
|
+
return e({
|
|
539
|
+
mutationFn: (e) => a(`mutation PswCancelInvoice($id: ID!) { pswCancelInvoice(id: $id) { ${h} } }`, { id: e }),
|
|
540
|
+
onSuccess: () => s(t, "invoices", "dashboard")
|
|
541
|
+
});
|
|
542
|
+
}
|
|
543
|
+
function ve(e = {}) {
|
|
504
544
|
return t({
|
|
505
545
|
queryKey: [
|
|
506
546
|
o,
|
|
@@ -518,21 +558,21 @@ function pe(e = {}) {
|
|
|
518
558
|
})).pswListComplianceChecks
|
|
519
559
|
});
|
|
520
560
|
}
|
|
521
|
-
function
|
|
561
|
+
function ye() {
|
|
522
562
|
let t = n();
|
|
523
563
|
return e({
|
|
524
564
|
mutationFn: (e) => a(`mutation PswCreateCompliance($input: PswCreateComplianceCheckInput!) { pswCreateComplianceCheck(input: $input) { ${g} } }`, { input: e }),
|
|
525
565
|
onSuccess: () => s(t, "compliance", "dashboard")
|
|
526
566
|
});
|
|
527
567
|
}
|
|
528
|
-
function
|
|
568
|
+
function be() {
|
|
529
569
|
let t = n();
|
|
530
570
|
return e({
|
|
531
571
|
mutationFn: (e) => a(`mutation PswResolveCompliance($id: ID!, $status: PswComplianceStatus!, $details: String) { pswResolveComplianceCheck(id: $id, status: $status, details: $details) { ${g} } }`, e),
|
|
532
572
|
onSuccess: () => s(t, "compliance", "dashboard")
|
|
533
573
|
});
|
|
534
574
|
}
|
|
535
|
-
function
|
|
575
|
+
function xe(e = {}) {
|
|
536
576
|
return t({
|
|
537
577
|
queryKey: [
|
|
538
578
|
o,
|
|
@@ -550,14 +590,14 @@ function ge(e = {}) {
|
|
|
550
590
|
})).pswListConflictChecks
|
|
551
591
|
});
|
|
552
592
|
}
|
|
553
|
-
function
|
|
593
|
+
function Se() {
|
|
554
594
|
let t = n();
|
|
555
595
|
return e({
|
|
556
596
|
mutationFn: (e) => a(`mutation PswCreateConflict($input: PswCreateConflictCheckInput!) { pswCreateConflictCheck(input: $input) { ${_} } }`, { input: e }),
|
|
557
597
|
onSuccess: () => s(t, "conflicts", "dashboard")
|
|
558
598
|
});
|
|
559
599
|
}
|
|
560
|
-
function
|
|
600
|
+
function Ce() {
|
|
561
601
|
let t = n();
|
|
562
602
|
return e({
|
|
563
603
|
mutationFn: (e) => a(`mutation PswResolveConflict($id: ID!, $status: PswConflictCheckStatus!, $findings: String, $waiverReason: String) {
|
|
@@ -566,7 +606,7 @@ function ve() {
|
|
|
566
606
|
onSuccess: () => s(t, "conflicts", "dashboard")
|
|
567
607
|
});
|
|
568
608
|
}
|
|
569
|
-
function
|
|
609
|
+
function we() {
|
|
570
610
|
return t({
|
|
571
611
|
queryKey: [o, "practiceAreas"],
|
|
572
612
|
queryFn: async () => (await a(`query PswPracticeAreas {
|
|
@@ -576,21 +616,21 @@ function ye() {
|
|
|
576
616
|
}`)).pswListPracticeAreas
|
|
577
617
|
});
|
|
578
618
|
}
|
|
579
|
-
function
|
|
619
|
+
function Te() {
|
|
580
620
|
let t = n();
|
|
581
621
|
return e({
|
|
582
622
|
mutationFn: (e) => a(`mutation PswCreatePracticeArea($input: PswCreatePracticeAreaInput!) { pswCreatePracticeArea(input: $input) { ${v} } }`, { input: e }),
|
|
583
623
|
onSuccess: () => s(t, "practiceAreas")
|
|
584
624
|
});
|
|
585
625
|
}
|
|
586
|
-
function
|
|
626
|
+
function Ee() {
|
|
587
627
|
let t = n();
|
|
588
628
|
return e({
|
|
589
629
|
mutationFn: (e) => a(`mutation PswUpdatePracticeArea($id: ID!, $input: PswUpdatePracticeAreaInput!) { pswUpdatePracticeArea(id: $id, input: $input) { ${v} } }`, e),
|
|
590
630
|
onSuccess: () => s(t, "practiceAreas")
|
|
591
631
|
});
|
|
592
632
|
}
|
|
593
|
-
function
|
|
633
|
+
function De(e = {}) {
|
|
594
634
|
return t({
|
|
595
635
|
queryKey: [
|
|
596
636
|
o,
|
|
@@ -611,22 +651,22 @@ function Se(e = {}) {
|
|
|
611
651
|
})).pswListDocuments
|
|
612
652
|
});
|
|
613
653
|
}
|
|
614
|
-
function
|
|
654
|
+
function Oe() {
|
|
615
655
|
let t = n();
|
|
616
656
|
return e({
|
|
617
657
|
mutationFn: (e) => a(`mutation PswCreateDocument($input: PswCreateDocumentInput!) { pswCreateDocument(input: $input) { ${y} } }`, { input: e }),
|
|
618
658
|
onSuccess: () => s(t, "documents")
|
|
619
659
|
});
|
|
620
660
|
}
|
|
621
|
-
function
|
|
661
|
+
function ke() {
|
|
622
662
|
let t = n();
|
|
623
663
|
return e({
|
|
624
664
|
mutationFn: (e) => a(`mutation PswArchiveDocument($id: ID!) { pswArchiveDocument(id: $id) { ${y} } }`, { id: e }),
|
|
625
665
|
onSuccess: () => s(t, "documents")
|
|
626
666
|
});
|
|
627
667
|
}
|
|
628
|
-
var X = "id signatureRequestId actorId name email order status viewedAt signedAt declinedAt declineReason signatureType typedName signatureImage signedIp createdAt", Z = `id documentId document { id name } status message documentVersion expiresAt sentAt completedAt createdAt signers { ${X} }`,
|
|
629
|
-
function
|
|
668
|
+
var X = "id signatureRequestId actorId name email order status viewedAt signedAt declinedAt declineReason signatureType typedName signatureImage signedIp createdAt", Z = `id documentId document { id name } status message documentVersion expiresAt sentAt completedAt createdAt signers { ${X} }`, Ae = "id signatureRequestId signerId eventType actorId actorLabel ipAddress documentVersion createdAt";
|
|
669
|
+
function je(e = {}) {
|
|
630
670
|
return t({
|
|
631
671
|
queryKey: [
|
|
632
672
|
o,
|
|
@@ -644,7 +684,7 @@ function Ee(e = {}) {
|
|
|
644
684
|
})).pswListSignatureRequests
|
|
645
685
|
});
|
|
646
686
|
}
|
|
647
|
-
function
|
|
687
|
+
function Me(e) {
|
|
648
688
|
return t({
|
|
649
689
|
queryKey: [
|
|
650
690
|
o,
|
|
@@ -654,7 +694,7 @@ function De(e) {
|
|
|
654
694
|
enabled: !!e,
|
|
655
695
|
queryFn: async () => (await a(`query PswSignatureAuditEvents($signatureRequestId: ID!, $pagination: PaginationInput) {
|
|
656
696
|
pswListSignatureAuditEvents(signatureRequestId: $signatureRequestId, pagination: $pagination) {
|
|
657
|
-
items { ${
|
|
697
|
+
items { ${Ae} } pageInfo { hasMore cursor } totalCount
|
|
658
698
|
}
|
|
659
699
|
}`, {
|
|
660
700
|
signatureRequestId: e,
|
|
@@ -662,7 +702,7 @@ function De(e) {
|
|
|
662
702
|
})).pswListSignatureAuditEvents
|
|
663
703
|
});
|
|
664
704
|
}
|
|
665
|
-
function
|
|
705
|
+
function Ne() {
|
|
666
706
|
let t = n();
|
|
667
707
|
return e({
|
|
668
708
|
mutationFn: (e) => a(`mutation PswCreateSignatureRequest($input: PswCreateSignatureRequestInput!) {
|
|
@@ -671,21 +711,21 @@ function Oe() {
|
|
|
671
711
|
onSuccess: () => s(t, "signatureRequests", "documents")
|
|
672
712
|
});
|
|
673
713
|
}
|
|
674
|
-
function
|
|
714
|
+
function Pe() {
|
|
675
715
|
let t = n();
|
|
676
716
|
return e({
|
|
677
717
|
mutationFn: (e) => a(`mutation PswSendSignatureRequest($id: ID!) { pswSendSignatureRequest(id: $id) { ${Z} } }`, { id: e }),
|
|
678
718
|
onSuccess: () => s(t, "signatureRequests", "documents")
|
|
679
719
|
});
|
|
680
720
|
}
|
|
681
|
-
function
|
|
721
|
+
function Fe() {
|
|
682
722
|
let t = n();
|
|
683
723
|
return e({
|
|
684
724
|
mutationFn: (e) => a(`mutation PswCancelSignatureRequest($id: ID!) { pswCancelSignatureRequest(id: $id) { ${Z} } }`, { id: e }),
|
|
685
725
|
onSuccess: () => s(t, "signatureRequests", "documents")
|
|
686
726
|
});
|
|
687
727
|
}
|
|
688
|
-
function
|
|
728
|
+
function Q() {
|
|
689
729
|
return t({
|
|
690
730
|
queryKey: [o, "myPendingSignatures"],
|
|
691
731
|
queryFn: async () => (await a(`query PswMyPendingSignatureRequests($pagination: PaginationInput) {
|
|
@@ -695,14 +735,14 @@ function Ae() {
|
|
|
695
735
|
}`, { pagination: { limit: 100 } })).pswMyPendingSignatureRequests
|
|
696
736
|
});
|
|
697
737
|
}
|
|
698
|
-
function
|
|
738
|
+
function Ie() {
|
|
699
739
|
let t = n();
|
|
700
740
|
return e({
|
|
701
741
|
mutationFn: (e) => a(`mutation PswViewSignatureRequest($signerId: ID!) { pswViewSignatureRequest(signerId: $signerId) { ${X} } }`, { signerId: e }),
|
|
702
742
|
onSuccess: () => s(t, "myPendingSignatures")
|
|
703
743
|
});
|
|
704
744
|
}
|
|
705
|
-
function
|
|
745
|
+
function Le() {
|
|
706
746
|
let t = n();
|
|
707
747
|
return e({
|
|
708
748
|
mutationFn: (e) => a(`mutation PswSignDocument($signerId: ID!, $input: PswSignDocumentInput!) {
|
|
@@ -711,7 +751,7 @@ function Me() {
|
|
|
711
751
|
onSuccess: () => s(t, "myPendingSignatures", "signatureRequests", "documents")
|
|
712
752
|
});
|
|
713
753
|
}
|
|
714
|
-
function
|
|
754
|
+
function Re() {
|
|
715
755
|
let t = n();
|
|
716
756
|
return e({
|
|
717
757
|
mutationFn: (e) => a(`mutation PswDeclineSignatureRequest($signerId: ID!, $reason: String) {
|
|
@@ -721,7 +761,7 @@ function Ne() {
|
|
|
721
761
|
});
|
|
722
762
|
}
|
|
723
763
|
var $ = "id clientId actorId name email status invitedBy invitedAt revokedAt createdAt";
|
|
724
|
-
function
|
|
764
|
+
function ze(e = {}) {
|
|
725
765
|
return t({
|
|
726
766
|
queryKey: [
|
|
727
767
|
o,
|
|
@@ -738,7 +778,7 @@ function Pe(e = {}) {
|
|
|
738
778
|
})).pswListClientPortalUsers
|
|
739
779
|
});
|
|
740
780
|
}
|
|
741
|
-
function
|
|
781
|
+
function Be() {
|
|
742
782
|
let t = n();
|
|
743
783
|
return e({
|
|
744
784
|
mutationFn: (e) => a(`mutation PswInviteClientPortalUser($input: PswInviteClientPortalUserInput!) {
|
|
@@ -747,20 +787,20 @@ function Fe() {
|
|
|
747
787
|
onSuccess: () => s(t, "clientPortalUsers")
|
|
748
788
|
});
|
|
749
789
|
}
|
|
750
|
-
function
|
|
790
|
+
function Ve() {
|
|
751
791
|
let t = n();
|
|
752
792
|
return e({
|
|
753
793
|
mutationFn: (e) => a(`mutation PswRevokeClientPortalUser($id: ID!) { pswRevokeClientPortalUser(id: $id) { ${$} } }`, { id: e }),
|
|
754
794
|
onSuccess: () => s(t, "clientPortalUsers")
|
|
755
795
|
});
|
|
756
796
|
}
|
|
757
|
-
function
|
|
797
|
+
function He() {
|
|
758
798
|
return t({
|
|
759
799
|
queryKey: [o, "myClientPortalClients"],
|
|
760
800
|
queryFn: async () => (await a("query PswMyClientPortalClients { pswMyClientPortalClients { id name } }")).pswMyClientPortalClients
|
|
761
801
|
});
|
|
762
802
|
}
|
|
763
|
-
function
|
|
803
|
+
function Ue(e) {
|
|
764
804
|
return t({
|
|
765
805
|
queryKey: [
|
|
766
806
|
o,
|
|
@@ -772,7 +812,7 @@ function Re(e) {
|
|
|
772
812
|
}`, { pagination: e ?? { limit: 100 } })).pswMyMatters
|
|
773
813
|
});
|
|
774
814
|
}
|
|
775
|
-
function
|
|
815
|
+
function We(e = {}) {
|
|
776
816
|
return t({
|
|
777
817
|
queryKey: [
|
|
778
818
|
o,
|
|
@@ -787,7 +827,7 @@ function ze(e = {}) {
|
|
|
787
827
|
})).pswMyInvoices
|
|
788
828
|
});
|
|
789
829
|
}
|
|
790
|
-
function
|
|
830
|
+
function Ge(e) {
|
|
791
831
|
return t({
|
|
792
832
|
queryKey: [
|
|
793
833
|
o,
|
|
@@ -800,6 +840,6 @@ function Be(e) {
|
|
|
800
840
|
});
|
|
801
841
|
}
|
|
802
842
|
//#endregion
|
|
803
|
-
export { a as pswQuery,
|
|
843
|
+
export { a as pswQuery, G as useAddTeamAssignment, le as useApproveTimeEntry, N as useArchiveClient, ke as useArchiveDocument, _e as useCancelInvoice, Fe as useCancelSignatureRequest, A as useClient, ze as useClientPortalUsers, W as useClientTeamAssignments, k as useClients, ae as useCloseMatter, H as useCompleteMilestone, ve as useComplianceChecks, xe as useConflictChecks, j as useCreateClient, ye as useCreateComplianceCheck, Se as useCreateConflictCheck, z as useCreateDeliverable, Oe as useCreateDocument, I as useCreateEngagement, pe as useCreateInvoice, J as useCreateMatter, V as useCreateMilestone, Te as useCreatePracticeArea, Ne as useCreateSignatureRequest, S as useCreateTrustAccount, D as useCreateTrustTransfer, te as useDashboardStats, Re as useDeclineSignatureRequest, De as useDocuments, F as useEngagement, P as useEngagements, Be as useInviteClientPortalUser, ge as useInvoice, fe as useInvoices, se as useLogTimeEntry, he as useMarkInvoicePaid, q as useMatters, He as useMyClientPortalClients, Ge as useMyDocuments, We as useMyInvoices, Ue as useMyMatters, Q as useMyPendingSignatureRequests, we as usePracticeAreas, O as useReconcileTrustAccount, T as useRecordTrustDeposit, E as useRecordTrustWithdrawal, de as useRejectTimeEntry, K as useRemoveTeamAssignment, be as useResolveComplianceCheck, Ce as useResolveConflictCheck, Ve as useRevokeClientPortalUser, me as useSendInvoice, Pe as useSendSignatureRequest, Le as useSignDocument, Me as useSignatureAuditEvents, je as useSignatureRequests, ce as useSubmitTimeEntry, U as useTeamAssignments, oe as useTimeEntries, B as useTransitionDeliverable, R as useTransitionEngagement, ie as useTrustAccounts, w as useTrustClientBalance, C as useTrustTransactions, M as useUpdateClient, L as useUpdateEngagement, Y as useUpdateMatter, Ee as useUpdatePracticeArea, ue as useUpdateTimeEntry, Ie as useViewSignatureRequest, re as useWriteOffs };
|
|
804
844
|
|
|
805
845
|
//# sourceMappingURL=useProServiceWorldApi.js.map
|