@burdenoff/sdk-libs 2026.626.1 → 2026.627.2

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 (41) hide show
  1. package/dist/modules/assethandler/index.cjs +286 -0
  2. package/dist/modules/assethandler/index.d.cts +548 -0
  3. package/dist/modules/assethandler/index.d.ts +548 -0
  4. package/dist/modules/assethandler/index.js +286 -0
  5. package/dist/modules/crewfoundry/index.cjs +183 -0
  6. package/dist/modules/crewfoundry/index.d.cts +453 -0
  7. package/dist/modules/crewfoundry/index.d.ts +453 -0
  8. package/dist/modules/crewfoundry/index.js +183 -0
  9. package/dist/modules/eventfullymanaged/index.cjs +666 -0
  10. package/dist/modules/eventfullymanaged/index.d.cts +650 -0
  11. package/dist/modules/eventfullymanaged/index.d.ts +650 -0
  12. package/dist/modules/eventfullymanaged/index.js +666 -0
  13. package/dist/modules/ggnomad/index.cjs +164 -0
  14. package/dist/modules/ggnomad/index.d.cts +282 -0
  15. package/dist/modules/ggnomad/index.d.ts +282 -0
  16. package/dist/modules/ggnomad/index.js +164 -0
  17. package/dist/modules/headshotmarketing/index.cjs +1205 -0
  18. package/dist/modules/headshotmarketing/index.d.cts +1922 -0
  19. package/dist/modules/headshotmarketing/index.d.ts +1922 -0
  20. package/dist/modules/headshotmarketing/index.js +1205 -0
  21. package/dist/modules/housingvista/index.cjs +174 -0
  22. package/dist/modules/housingvista/index.d.cts +287 -0
  23. package/dist/modules/housingvista/index.d.ts +287 -0
  24. package/dist/modules/housingvista/index.js +174 -0
  25. package/dist/modules/movethewheels/index.cjs +591 -0
  26. package/dist/modules/movethewheels/index.d.cts +1052 -0
  27. package/dist/modules/movethewheels/index.d.ts +1052 -0
  28. package/dist/modules/movethewheels/index.js +591 -0
  29. package/dist/modules/planmagnet/index.cjs +898 -0
  30. package/dist/modules/planmagnet/index.d.cts +1656 -0
  31. package/dist/modules/planmagnet/index.d.ts +1656 -0
  32. package/dist/modules/planmagnet/index.js +898 -0
  33. package/dist/modules/proserviceworld/index.cjs +233 -0
  34. package/dist/modules/proserviceworld/index.d.cts +400 -0
  35. package/dist/modules/proserviceworld/index.d.ts +400 -0
  36. package/dist/modules/proserviceworld/index.js +233 -0
  37. package/dist/modules/timecampus/index.cjs +519 -0
  38. package/dist/modules/timecampus/index.d.cts +992 -0
  39. package/dist/modules/timecampus/index.d.ts +992 -0
  40. package/dist/modules/timecampus/index.js +519 -0
  41. package/package.json +1 -1
@@ -0,0 +1,400 @@
1
+ import { J as Json, S as SdkModule } from '../../module-JDbvil5h.js';
2
+ import 'graphql-request';
3
+
4
+ type PswClientStatus = 'ACTIVE' | 'ARCHIVED' | 'INACTIVE' | 'PROSPECT';
5
+ type PswClientType = 'INDIVIDUAL' | 'ORGANIZATION';
6
+ type PswComplianceStatus = 'FAILED' | 'IN_REVIEW' | 'PASSED' | 'PENDING' | 'WAIVED';
7
+ type PswComplianceType = 'CONTINUING_EDUCATION' | 'DATA_RETENTION' | 'ENGAGEMENT_ACCEPTANCE' | 'INDEPENDENCE' | 'LEGAL_HOLD' | 'LICENSING';
8
+ type PswConflictCheckStatus = 'CLEAR' | 'CONFLICT' | 'PENDING' | 'POTENTIAL_CONFLICT' | 'WAIVED';
9
+ type PswDeliverableStatus = 'ACCEPTED' | 'CLIENT_REVIEW' | 'DRAFT' | 'INTERNAL_REVIEW' | 'REJECTED';
10
+ type PswDocumentClassification = 'CONFIDENTIAL' | 'INTERNAL' | 'PRIVILEGED' | 'PUBLIC';
11
+ type PswDocumentStatus = 'ARCHIVED' | 'DRAFT' | 'FINAL';
12
+ type PswEngagementStatus = 'ACCEPTED' | 'CANCELLED' | 'CLOSED' | 'DELIVERED' | 'INVOICED' | 'IN_PROGRESS' | 'PROPOSAL' | 'REVIEW';
13
+ type PswFeeArrangement = 'FIXED' | 'HOURLY' | 'RETAINER' | 'VALUE_BASED';
14
+ type PswInvoiceStatus = 'CANCELLED' | 'DRAFT' | 'OVERDUE' | 'PAID' | 'SENT';
15
+ type PswMatterPriority = 'CRITICAL' | 'HIGH' | 'LOW' | 'MEDIUM';
16
+ type PswMatterStatus = 'ARCHIVED' | 'CLOSED' | 'ON_HOLD' | 'OPEN';
17
+ type PswMilestoneStatus = 'CANCELLED' | 'COMPLETED' | 'IN_PROGRESS' | 'PENDING';
18
+ type PswTeamRole = 'ASSOCIATE' | 'MANAGER' | 'PARTNER' | 'SPECIALIST' | 'SUPPORT';
19
+ type PswTimeEntryStatus = 'APPROVED' | 'BILLED' | 'DRAFT' | 'REJECTED' | 'SUBMITTED';
20
+ interface PswFileRef {
21
+ id: string;
22
+ }
23
+ interface PswClient {
24
+ id: string;
25
+ name: string;
26
+ type: PswClientType;
27
+ status: PswClientStatus;
28
+ industry?: string | null;
29
+ contactName?: string | null;
30
+ contactEmail?: string | null;
31
+ contactPhone?: string | null;
32
+ address?: string | null;
33
+ notes?: string | null;
34
+ relationshipOwnerId?: string | null;
35
+ tags: string[];
36
+ workspaceId: string;
37
+ createdAt: string;
38
+ updatedAt: string;
39
+ engagements?: PswEngagement[];
40
+ matters?: PswMatter[];
41
+ }
42
+ interface PswEngagement {
43
+ id: string;
44
+ name: string;
45
+ clientId: string;
46
+ description?: string | null;
47
+ status: PswEngagementStatus;
48
+ feeArrangement: PswFeeArrangement;
49
+ feeAmount: number;
50
+ currency: string;
51
+ practiceAreaId?: string | null;
52
+ responsiblePartnerId?: string | null;
53
+ startDate?: string | null;
54
+ endDate?: string | null;
55
+ tags: string[];
56
+ workspaceId: string;
57
+ createdAt: string;
58
+ updatedAt: string;
59
+ client?: PswClient | null;
60
+ deliverables?: PswDeliverable[];
61
+ milestones?: PswMilestone[];
62
+ }
63
+ interface PswMatter {
64
+ id: string;
65
+ title: string;
66
+ clientId: string;
67
+ engagementId?: string | null;
68
+ description?: string | null;
69
+ reference?: string | null;
70
+ status: PswMatterStatus;
71
+ priority: PswMatterPriority;
72
+ isPrivileged: boolean;
73
+ leadPractitionerId?: string | null;
74
+ practiceAreaId?: string | null;
75
+ dueDate?: string | null;
76
+ closedAt?: string | null;
77
+ tags: string[];
78
+ workspaceId: string;
79
+ createdAt: string;
80
+ updatedAt: string;
81
+ client?: PswClient | null;
82
+ }
83
+ interface PswInvoice {
84
+ id: string;
85
+ number: string;
86
+ clientId: string;
87
+ engagementId?: string | null;
88
+ status: PswInvoiceStatus;
89
+ currency: string;
90
+ subtotal: number;
91
+ taxAmount: number;
92
+ total: number;
93
+ issueDate?: string | null;
94
+ dueDate?: string | null;
95
+ paidAt?: string | null;
96
+ lineItems?: Json | null;
97
+ notes?: string | null;
98
+ workspaceId: string;
99
+ createdAt: string;
100
+ updatedAt: string;
101
+ }
102
+ interface PswTimeEntry {
103
+ id: string;
104
+ practitionerId: string;
105
+ date: string;
106
+ minutes: number;
107
+ rate: number;
108
+ billable: boolean;
109
+ status: PswTimeEntryStatus;
110
+ narrative?: string | null;
111
+ engagementId?: string | null;
112
+ matterId?: string | null;
113
+ invoiceId?: string | null;
114
+ workspaceId: string;
115
+ createdAt: string;
116
+ updatedAt: string;
117
+ }
118
+ interface PswComplianceCheck {
119
+ id: string;
120
+ title: string;
121
+ type: PswComplianceType;
122
+ status: PswComplianceStatus;
123
+ subjectId: string;
124
+ subjectType: string;
125
+ details?: string | null;
126
+ reviewerId?: string | null;
127
+ evidenceFileId?: string | null;
128
+ dueDate?: string | null;
129
+ resolvedAt?: string | null;
130
+ workspaceId: string;
131
+ createdAt: string;
132
+ updatedAt: string;
133
+ }
134
+ interface PswConflictCheck {
135
+ id: string;
136
+ clientId: string;
137
+ matterId?: string | null;
138
+ status: PswConflictCheckStatus;
139
+ searchedParties: string[];
140
+ findings?: string | null;
141
+ waiverReason?: string | null;
142
+ clearedById?: string | null;
143
+ resolvedAt?: string | null;
144
+ workspaceId: string;
145
+ createdAt: string;
146
+ updatedAt: string;
147
+ }
148
+ interface PswPracticeArea {
149
+ id: string;
150
+ name: string;
151
+ code?: string | null;
152
+ description?: string | null;
153
+ isActive: boolean;
154
+ workspaceId: string;
155
+ createdAt: string;
156
+ updatedAt: string;
157
+ }
158
+ interface PswDeliverable {
159
+ id: string;
160
+ name: string;
161
+ engagementId: string;
162
+ description?: string | null;
163
+ status: PswDeliverableStatus;
164
+ version: number;
165
+ acceptanceCriteria?: string | null;
166
+ dueDate?: string | null;
167
+ acceptedAt?: string | null;
168
+ file?: PswFileRef | null;
169
+ workspaceId: string;
170
+ createdAt: string;
171
+ updatedAt: string;
172
+ }
173
+ interface PswMilestone {
174
+ id: string;
175
+ name: string;
176
+ engagementId: string;
177
+ description?: string | null;
178
+ status: PswMilestoneStatus;
179
+ triggerAmount: number;
180
+ triggersInvoice: boolean;
181
+ dueDate?: string | null;
182
+ completedAt?: string | null;
183
+ workspaceId: string;
184
+ createdAt: string;
185
+ updatedAt: string;
186
+ }
187
+ interface PswDocument {
188
+ id: string;
189
+ name: string;
190
+ classification: PswDocumentClassification;
191
+ status: PswDocumentStatus;
192
+ version: number;
193
+ legalHold: boolean;
194
+ description?: string | null;
195
+ engagementId?: string | null;
196
+ matterId?: string | null;
197
+ retainUntil?: string | null;
198
+ file?: PswFileRef | null;
199
+ tags: string[];
200
+ workspaceId: string;
201
+ createdAt: string;
202
+ updatedAt: string;
203
+ }
204
+ interface PswTeamAssignment {
205
+ id: string;
206
+ practitionerId: string;
207
+ role: PswTeamRole;
208
+ allocationPct: number;
209
+ billingRate: number;
210
+ isLead: boolean;
211
+ engagementId?: string | null;
212
+ matterId?: string | null;
213
+ workspaceId: string;
214
+ createdAt: string;
215
+ updatedAt: string;
216
+ }
217
+ interface PswPageInfo {
218
+ cursor?: string | null;
219
+ hasMore: boolean;
220
+ }
221
+ interface PswClientConnection {
222
+ items: PswClient[];
223
+ pageInfo: PswPageInfo;
224
+ }
225
+ interface PswEngagementConnection {
226
+ items: PswEngagement[];
227
+ pageInfo: PswPageInfo;
228
+ }
229
+ interface PswInvoiceConnection {
230
+ items: PswInvoice[];
231
+ pageInfo: PswPageInfo;
232
+ }
233
+ interface PswMatterConnection {
234
+ items: PswMatter[];
235
+ pageInfo: PswPageInfo;
236
+ }
237
+ interface PswPaginationInput {
238
+ cursor?: string;
239
+ limit?: number;
240
+ offset?: number;
241
+ }
242
+ interface PswCreateClientInput {
243
+ name: string;
244
+ type?: PswClientType;
245
+ status?: PswClientStatus;
246
+ industry?: string;
247
+ contactName?: string;
248
+ contactEmail?: string;
249
+ contactPhone?: string;
250
+ address?: string;
251
+ notes?: string;
252
+ relationshipOwnerId?: string;
253
+ tags?: string[];
254
+ }
255
+ interface PswUpdateClientInput {
256
+ name?: string;
257
+ type?: PswClientType;
258
+ status?: PswClientStatus;
259
+ industry?: string;
260
+ contactName?: string;
261
+ contactEmail?: string;
262
+ contactPhone?: string;
263
+ address?: string;
264
+ notes?: string;
265
+ relationshipOwnerId?: string;
266
+ tags?: string[];
267
+ }
268
+ interface PswCreateEngagementInput {
269
+ clientId: string;
270
+ name: string;
271
+ description?: string;
272
+ feeArrangement?: PswFeeArrangement;
273
+ feeAmount?: number;
274
+ currency?: string;
275
+ practiceAreaId?: string;
276
+ responsiblePartnerId?: string;
277
+ startDate?: string;
278
+ endDate?: string;
279
+ tags?: string[];
280
+ }
281
+ interface PswUpdateEngagementInput {
282
+ name?: string;
283
+ description?: string;
284
+ feeArrangement?: PswFeeArrangement;
285
+ feeAmount?: number;
286
+ currency?: string;
287
+ practiceAreaId?: string;
288
+ responsiblePartnerId?: string;
289
+ startDate?: string;
290
+ endDate?: string;
291
+ tags?: string[];
292
+ }
293
+ interface PswCreateMatterInput {
294
+ clientId: string;
295
+ title: string;
296
+ description?: string;
297
+ reference?: string;
298
+ engagementId?: string;
299
+ priority?: PswMatterPriority;
300
+ isPrivileged?: boolean;
301
+ leadPractitionerId?: string;
302
+ practiceAreaId?: string;
303
+ dueDate?: string;
304
+ tags?: string[];
305
+ }
306
+ interface PswUpdateMatterInput {
307
+ title?: string;
308
+ description?: string;
309
+ engagementId?: string;
310
+ priority?: PswMatterPriority;
311
+ isPrivileged?: boolean;
312
+ leadPractitionerId?: string;
313
+ practiceAreaId?: string;
314
+ dueDate?: string;
315
+ tags?: string[];
316
+ }
317
+ interface PswCreateInvoiceInput {
318
+ clientId: string;
319
+ number: string;
320
+ engagementId?: string;
321
+ currency?: string;
322
+ subtotal?: number;
323
+ taxAmount?: number;
324
+ total?: number;
325
+ issueDate?: string;
326
+ dueDate?: string;
327
+ lineItems?: Json;
328
+ notes?: string;
329
+ }
330
+ interface PswCreateTimeEntryInput {
331
+ date: string;
332
+ minutes: number;
333
+ billable?: boolean;
334
+ rate?: number;
335
+ narrative?: string;
336
+ engagementId?: string;
337
+ matterId?: string;
338
+ }
339
+
340
+ interface PswClientsApi {
341
+ get(id: string): Promise<PswClient | null>;
342
+ list(pagination?: PswPaginationInput, status?: PswClientStatus): Promise<PswClientConnection>;
343
+ create(input: PswCreateClientInput): Promise<PswClient>;
344
+ update(id: string, input: PswUpdateClientInput): Promise<PswClient>;
345
+ archive(id: string): Promise<boolean>;
346
+ }
347
+ interface PswEngagementsApi {
348
+ get(id: string): Promise<PswEngagement | null>;
349
+ list(clientId?: string, pagination?: PswPaginationInput, status?: PswEngagementStatus): Promise<PswEngagementConnection>;
350
+ create(input: PswCreateEngagementInput): Promise<PswEngagement>;
351
+ update(id: string, input: PswUpdateEngagementInput): Promise<PswEngagement>;
352
+ transition(id: string, status: PswEngagementStatus): Promise<PswEngagement>;
353
+ }
354
+ interface PswMattersApi {
355
+ get(id: string): Promise<PswMatter | null>;
356
+ list(clientId?: string, engagementId?: string, pagination?: PswPaginationInput, status?: PswMatterStatus): Promise<PswMatterConnection>;
357
+ create(input: PswCreateMatterInput): Promise<PswMatter>;
358
+ update(id: string, input: PswUpdateMatterInput): Promise<PswMatter>;
359
+ close(id: string): Promise<PswMatter>;
360
+ }
361
+ interface PswInvoicesApi {
362
+ list(clientId?: string, pagination?: PswPaginationInput, status?: PswInvoiceStatus): Promise<PswInvoiceConnection>;
363
+ create(input: PswCreateInvoiceInput): Promise<PswInvoice>;
364
+ markPaid(id: string): Promise<PswInvoice>;
365
+ }
366
+ interface PswTimeEntriesApi {
367
+ log(input: PswCreateTimeEntryInput): Promise<PswTimeEntry>;
368
+ }
369
+ interface PswComplianceApi {
370
+ listChecks(opts?: {
371
+ status?: PswComplianceStatus;
372
+ subjectId?: string;
373
+ subjectType?: string;
374
+ pagination?: PswPaginationInput;
375
+ }): Promise<PswComplianceCheck[]>;
376
+ }
377
+ interface PswConflictsApi {
378
+ listChecks(clientId?: string, pagination?: PswPaginationInput): Promise<PswConflictCheck[]>;
379
+ }
380
+ interface PswPracticeAreasApi {
381
+ list(pagination?: PswPaginationInput): Promise<PswPracticeArea[]>;
382
+ }
383
+ interface PswSystemApi {
384
+ health(): Promise<string>;
385
+ }
386
+ interface ProserviceworldApi {
387
+ clients: PswClientsApi;
388
+ engagements: PswEngagementsApi;
389
+ matters: PswMattersApi;
390
+ invoices: PswInvoicesApi;
391
+ timeEntries: PswTimeEntriesApi;
392
+ compliance: PswComplianceApi;
393
+ conflicts: PswConflictsApi;
394
+ practiceAreas: PswPracticeAreasApi;
395
+ system: PswSystemApi;
396
+ }
397
+
398
+ declare const proserviceworldModule: SdkModule<ProserviceworldApi>;
399
+
400
+ export { type ProserviceworldApi, type PswClient, type PswClientConnection, type PswClientStatus, type PswClientType, type PswClientsApi, type PswComplianceApi, type PswComplianceCheck, type PswComplianceStatus, type PswComplianceType, type PswConflictCheck, type PswConflictCheckStatus, type PswConflictsApi, type PswCreateClientInput, type PswCreateEngagementInput, type PswCreateInvoiceInput, type PswCreateMatterInput, type PswCreateTimeEntryInput, type PswDeliverable, type PswDeliverableStatus, type PswDocument, type PswDocumentClassification, type PswDocumentStatus, type PswEngagement, type PswEngagementConnection, type PswEngagementStatus, type PswEngagementsApi, type PswFeeArrangement, type PswFileRef, type PswInvoice, type PswInvoiceConnection, type PswInvoiceStatus, type PswInvoicesApi, type PswMatter, type PswMatterConnection, type PswMatterPriority, type PswMatterStatus, type PswMattersApi, type PswMilestone, type PswMilestoneStatus, type PswPageInfo, type PswPaginationInput, type PswPracticeArea, type PswPracticeAreasApi, type PswSystemApi, type PswTeamAssignment, type PswTeamRole, type PswTimeEntriesApi, type PswTimeEntry, type PswTimeEntryStatus, type PswUpdateClientInput, type PswUpdateEngagementInput, type PswUpdateMatterInput, proserviceworldModule as default };
@@ -0,0 +1,233 @@
1
+ var w=`
2
+ fragment ClientScalars on PswClient {
3
+ id name type status industry
4
+ contactName contactEmail contactPhone address notes
5
+ relationshipOwnerId tags workspaceId createdAt updatedAt
6
+ }
7
+ `,d=`
8
+ fragment EngagementScalars on PswEngagement {
9
+ id name clientId description status feeArrangement feeAmount currency
10
+ practiceAreaId responsiblePartnerId startDate endDate
11
+ tags workspaceId createdAt updatedAt
12
+ }
13
+ `,g=`
14
+ fragment MatterScalars on PswMatter {
15
+ id title clientId engagementId description reference status priority
16
+ isPrivileged leadPractitionerId practiceAreaId dueDate closedAt
17
+ tags workspaceId createdAt updatedAt
18
+ }
19
+ `,b=`
20
+ fragment DeliverableFields on PswDeliverable {
21
+ id name engagementId description status version
22
+ acceptanceCriteria dueDate acceptedAt
23
+ file { id }
24
+ workspaceId createdAt updatedAt
25
+ }
26
+ `,O=`
27
+ fragment MilestoneFields on PswMilestone {
28
+ id name engagementId description status triggerAmount triggersInvoice
29
+ dueDate completedAt workspaceId createdAt updatedAt
30
+ }
31
+ `,P=`
32
+ fragment InvoiceFields on PswInvoice {
33
+ id number clientId engagementId status currency
34
+ subtotal taxAmount total issueDate dueDate paidAt
35
+ lineItems notes workspaceId createdAt updatedAt
36
+ }
37
+ `,j=`
38
+ fragment TimeEntryFields on PswTimeEntry {
39
+ id practitionerId date minutes rate billable status narrative
40
+ engagementId matterId invoiceId workspaceId createdAt updatedAt
41
+ }
42
+ `,H=`
43
+ fragment ComplianceFields on PswComplianceCheck {
44
+ id title type status subjectId subjectType details
45
+ reviewerId evidenceFileId dueDate resolvedAt
46
+ workspaceId createdAt updatedAt
47
+ }
48
+ `,V=`
49
+ fragment ConflictFields on PswConflictCheck {
50
+ id clientId matterId status searchedParties findings
51
+ waiverReason clearedById resolvedAt workspaceId createdAt updatedAt
52
+ }
53
+ `,K=`
54
+ fragment PracticeAreaFields on PswPracticeArea {
55
+ id name code description isActive workspaceId createdAt updatedAt
56
+ }
57
+ `,r=`
58
+ ${w}
59
+ ${d}
60
+ ${g}
61
+ fragment ClientFull on PswClient {
62
+ ...ClientScalars
63
+ engagements { ...EngagementScalars }
64
+ matters { ...MatterScalars }
65
+ }
66
+ `,a=`
67
+ ${d}
68
+ ${w}
69
+ ${b}
70
+ ${O}
71
+ fragment EngagementFull on PswEngagement {
72
+ ...EngagementScalars
73
+ client { ...ClientScalars }
74
+ deliverables { ...DeliverableFields }
75
+ milestones { ...MilestoneFields }
76
+ }
77
+ `,i=`
78
+ ${g}
79
+ ${w}
80
+ fragment MatterFull on PswMatter {
81
+ ...MatterScalars
82
+ client { ...ClientScalars }
83
+ }
84
+ `,o="pageInfo { cursor hasMore }",C=`
85
+ ${r}
86
+ query PswClient($id: ID!) {
87
+ pswClient(id: $id) { ...ClientFull }
88
+ }
89
+ `,I=`
90
+ ${r}
91
+ query PswListClients($pagination: PaginationInput, $status: PswClientStatus) {
92
+ pswListClients(pagination: $pagination, status: $status) {
93
+ items { ...ClientFull }
94
+ ${o}
95
+ }
96
+ }
97
+ `,m=`
98
+ ${r}
99
+ mutation PswCreateClient($input: PswCreateClientInput!) {
100
+ pswCreateClient(input: $input) { ...ClientFull }
101
+ }
102
+ `,E=`
103
+ ${r}
104
+ mutation PswUpdateClient($id: ID!, $input: PswUpdateClientInput!) {
105
+ pswUpdateClient(id: $id, input: $input) { ...ClientFull }
106
+ }
107
+ `,A=`
108
+ mutation PswArchiveClient($id: ID!) {
109
+ pswArchiveClient(id: $id)
110
+ }
111
+ `,T=`
112
+ ${a}
113
+ query PswEngagement($id: ID!) {
114
+ pswEngagement(id: $id) { ...EngagementFull }
115
+ }
116
+ `,$=`
117
+ ${a}
118
+ query PswListEngagements(
119
+ $clientId: ID
120
+ $pagination: PaginationInput
121
+ $status: PswEngagementStatus
122
+ ) {
123
+ pswListEngagements(clientId: $clientId, pagination: $pagination, status: $status) {
124
+ items { ...EngagementFull }
125
+ ${o}
126
+ }
127
+ }
128
+ `,M=`
129
+ ${a}
130
+ mutation PswCreateEngagement($input: PswCreateEngagementInput!) {
131
+ pswCreateEngagement(input: $input) { ...EngagementFull }
132
+ }
133
+ `,S=`
134
+ ${a}
135
+ mutation PswUpdateEngagement($id: ID!, $input: PswUpdateEngagementInput!) {
136
+ pswUpdateEngagement(id: $id, input: $input) { ...EngagementFull }
137
+ }
138
+ `,y=`
139
+ ${a}
140
+ mutation PswTransitionEngagement($id: ID!, $status: PswEngagementStatus!) {
141
+ pswTransitionEngagement(id: $id, status: $status) { ...EngagementFull }
142
+ }
143
+ `,L=`
144
+ ${i}
145
+ query PswMatter($id: ID!) {
146
+ pswMatter(id: $id) { ...MatterFull }
147
+ }
148
+ `,v=`
149
+ ${i}
150
+ query PswListMatters(
151
+ $clientId: ID
152
+ $engagementId: ID
153
+ $pagination: PaginationInput
154
+ $status: PswMatterStatus
155
+ ) {
156
+ pswListMatters(
157
+ clientId: $clientId
158
+ engagementId: $engagementId
159
+ pagination: $pagination
160
+ status: $status
161
+ ) {
162
+ items { ...MatterFull }
163
+ ${o}
164
+ }
165
+ }
166
+ `,_=`
167
+ ${i}
168
+ mutation PswCreateMatter($input: PswCreateMatterInput!) {
169
+ pswCreateMatter(input: $input) { ...MatterFull }
170
+ }
171
+ `,f=`
172
+ ${i}
173
+ mutation PswUpdateMatter($id: ID!, $input: PswUpdateMatterInput!) {
174
+ pswUpdateMatter(id: $id, input: $input) { ...MatterFull }
175
+ }
176
+ `,N=`
177
+ ${i}
178
+ mutation PswCloseMatter($id: ID!) {
179
+ pswCloseMatter(id: $id) { ...MatterFull }
180
+ }
181
+ `,F=`
182
+ ${P}
183
+ query PswListInvoices(
184
+ $clientId: ID
185
+ $pagination: PaginationInput
186
+ $status: PswInvoiceStatus
187
+ ) {
188
+ pswListInvoices(clientId: $clientId, pagination: $pagination, status: $status) {
189
+ items { ...InvoiceFields }
190
+ ${o}
191
+ }
192
+ }
193
+ `,D=`
194
+ ${P}
195
+ mutation PswCreateInvoice($input: PswCreateInvoiceInput!) {
196
+ pswCreateInvoice(input: $input) { ...InvoiceFields }
197
+ }
198
+ `,k=`
199
+ ${P}
200
+ mutation PswMarkInvoicePaid($id: ID!) {
201
+ pswMarkInvoicePaid(id: $id) { ...InvoiceFields }
202
+ }
203
+ `,h=`
204
+ ${j}
205
+ mutation PswLogTimeEntry($input: PswCreateTimeEntryInput!) {
206
+ pswLogTimeEntry(input: $input) { ...TimeEntryFields }
207
+ }
208
+ `,R=`
209
+ ${H}
210
+ query PswListComplianceChecks(
211
+ $pagination: PaginationInput
212
+ $status: PswComplianceStatus
213
+ $subjectId: ID
214
+ $subjectType: String
215
+ ) {
216
+ pswListComplianceChecks(
217
+ pagination: $pagination
218
+ status: $status
219
+ subjectId: $subjectId
220
+ subjectType: $subjectType
221
+ ) { ...ComplianceFields }
222
+ }
223
+ `,x=`
224
+ ${V}
225
+ query PswListConflictChecks($clientId: ID, $pagination: PaginationInput) {
226
+ pswListConflictChecks(clientId: $clientId, pagination: $pagination) { ...ConflictFields }
227
+ }
228
+ `,q=`
229
+ ${K}
230
+ query PswListPracticeAreas($pagination: PaginationInput) {
231
+ pswListPracticeAreas(pagination: $pagination) { ...PracticeAreaFields }
232
+ }
233
+ `,G="query PswHealth { pswHealth }";function U(c){let{workspace:n}=c.gql;return {clients:{async get(t){return (await n.request(C,{id:t})).pswClient},async list(t,e){return (await n.request(I,{pagination:t,status:e})).pswListClients},async create(t){return (await n.request(m,{input:t})).pswCreateClient},async update(t,e){return (await n.request(E,{id:t,input:e})).pswUpdateClient},async archive(t){return (await n.request(A,{id:t})).pswArchiveClient}},engagements:{async get(t){return (await n.request(T,{id:t})).pswEngagement},async list(t,e,s){return (await n.request($,{clientId:t,pagination:e,status:s})).pswListEngagements},async create(t){return (await n.request(M,{input:t})).pswCreateEngagement},async update(t,e){return (await n.request(S,{id:t,input:e})).pswUpdateEngagement},async transition(t,e){return (await n.request(y,{id:t,status:e})).pswTransitionEngagement}},matters:{async get(t){return (await n.request(L,{id:t})).pswMatter},async list(t,e,s,p){return (await n.request(v,{clientId:t,engagementId:e,pagination:s,status:p})).pswListMatters},async create(t){return (await n.request(_,{input:t})).pswCreateMatter},async update(t,e){return (await n.request(f,{id:t,input:e})).pswUpdateMatter},async close(t){return (await n.request(N,{id:t})).pswCloseMatter}},invoices:{async list(t,e,s){return (await n.request(F,{clientId:t,pagination:e,status:s})).pswListInvoices},async create(t){return (await n.request(D,{input:t})).pswCreateInvoice},async markPaid(t){return (await n.request(k,{id:t})).pswMarkInvoicePaid}},timeEntries:{async log(t){return (await n.request(h,{input:t})).pswLogTimeEntry}},compliance:{async listChecks(t){return (await n.request(R,{pagination:t?.pagination,status:t?.status,subjectId:t?.subjectId,subjectType:t?.subjectType})).pswListComplianceChecks}},conflicts:{async listChecks(t,e){return (await n.request(x,{clientId:t,pagination:e})).pswListConflictChecks}},practiceAreas:{async list(t){return (await n.request(q,{pagination:t})).pswListPracticeAreas}},system:{async health(){return (await n.request(G)).pswHealth}}}}var W={id:"proserviceworld",version:"1.0.0",displayName:"ProServiceWorld",dependsOn:["auth"],attach(c){return U(c)}},pt=W;export{pt as default};