@conflict-hq/ezacto-client 0.1.2 → 0.1.3

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.
@@ -10,6 +10,10 @@ export type Attachment = {
10
10
  "uploaded_by_user_id": number | null;
11
11
  "created_at": string;
12
12
  "updated_at": string;
13
+ "through"?: string | null;
14
+ };
15
+ export type RecurringAttachmentThroughInput = {
16
+ "through": string | null;
13
17
  };
14
18
  export type AttachmentEnvelope = {
15
19
  "data": Attachment;
@@ -19,6 +23,225 @@ export type AttachmentListEnvelope = {
19
23
  "data": Array<Attachment>;
20
24
  "links": Links;
21
25
  };
26
+ export type PaymentActualsEnvelope = {
27
+ "data": {
28
+ "month": string;
29
+ "currency": string;
30
+ "completed": boolean;
31
+ "people": Array<{
32
+ "user_id": number;
33
+ "name": string;
34
+ "entries": Array<{
35
+ "entry_id": number;
36
+ "project_id": number;
37
+ "project_name": string;
38
+ "spent_date": string;
39
+ "rounded_seconds": number;
40
+ "cost_rate_cents": number | null;
41
+ "selected_seconds": number;
42
+ }>;
43
+ }>;
44
+ };
45
+ };
46
+ export type ConfirmPaymentActuals = {
47
+ "id": string;
48
+ "user_id": number;
49
+ "month": string;
50
+ "expected_version": number;
51
+ "currency": string;
52
+ "entries": Array<{
53
+ "entry_id": number;
54
+ "project_id": number;
55
+ "project_name": string;
56
+ "spent_date": string;
57
+ "rounded_seconds": number;
58
+ "cost_rate_cents": number | null;
59
+ "selected_seconds": number;
60
+ }>;
61
+ "note": string;
62
+ };
63
+ export type StaffPaymentProviderCommand = {
64
+ "id": string;
65
+ "user_id": number | null;
66
+ "expected_version": number;
67
+ "provider": "wise" | "deel" | null;
68
+ "note": string;
69
+ };
70
+ export type StaffPaymentProviderEvent = {
71
+ "id": string;
72
+ "user_id": number | null;
73
+ "expected_version": number;
74
+ "provider": "wise" | "deel" | null;
75
+ "note": string;
76
+ "version": number;
77
+ "actor_id": number;
78
+ "actor_name": string;
79
+ "recorded_at": string;
80
+ "request_id": string;
81
+ };
82
+ export type StaffPaymentProviderSettings = {
83
+ "default_provider": "wise" | "deel";
84
+ "version": number;
85
+ "events": Array<StaffPaymentProviderEvent>;
86
+ };
87
+ export type StaffPaymentCommand = {
88
+ "id": string;
89
+ "user_id": number;
90
+ "month": string;
91
+ "expected_version": number;
92
+ "kind": "amount" | "payment" | "void" | "opening" | "reopen" | "note";
93
+ "amount_cents": number | null;
94
+ "currency": string | null;
95
+ "paid_on": string | null;
96
+ "due_on": string | null;
97
+ "reference": string;
98
+ "note": string;
99
+ "payment_id": string | null;
100
+ "source": "wise" | "deel" | "historical";
101
+ };
102
+ export type StaffPaymentEvent = {
103
+ "id": string;
104
+ "user_id": number;
105
+ "month": string;
106
+ "expected_version": number;
107
+ "kind": "amount" | "payment" | "void" | "opening" | "reopen" | "note";
108
+ "amount_cents": number | null;
109
+ "currency": string | null;
110
+ "paid_on": string | null;
111
+ "due_on": string | null;
112
+ "reference": string;
113
+ "note": string;
114
+ "payment_id": string | null;
115
+ "source": "wise" | "deel" | "historical";
116
+ "version": number;
117
+ "actor_id": number;
118
+ "actor_name": string;
119
+ "recorded_at": string;
120
+ "request_id": string;
121
+ };
122
+ export type StaffPaymentRow = {
123
+ "user_id": number;
124
+ "name": string;
125
+ "active": boolean;
126
+ "wise_ready": boolean;
127
+ "deel_ready": boolean;
128
+ "payout_provider": "wise" | "deel";
129
+ "provider_override": "wise" | "deel" | null;
130
+ "provider_version": number;
131
+ "month": string;
132
+ "version": number;
133
+ "amount_cents": number | null;
134
+ "currency": string | null;
135
+ "has_hours": boolean;
136
+ "amount_basis": "ledger" | "contractor_cost";
137
+ "paid_cents": number;
138
+ "balance_cents": number | null;
139
+ "reserved_cents": number;
140
+ "available_cents": number | null;
141
+ "due_on": string | null;
142
+ "settled_through": string | null;
143
+ "status": "in_progress" | "pending" | "partial" | "paid" | "settled";
144
+ "overdue": boolean;
145
+ "events": Array<StaffPaymentEvent>;
146
+ };
147
+ export type StaffPaymentReport = {
148
+ "month": string;
149
+ "as_of": string;
150
+ "rows": Array<StaffPaymentRow>;
151
+ "provider_settings": StaffPaymentProviderSettings;
152
+ };
153
+ export type StaffPaymentReportEnvelope = {
154
+ "data": StaffPaymentReport;
155
+ };
156
+ export type PaymentSelection = {
157
+ "user_id": number;
158
+ "month": string;
159
+ "amount_cents": number;
160
+ "expected_version": number;
161
+ };
162
+ export type PaymentRunCommand = {
163
+ "id": string;
164
+ "name": string;
165
+ "source_currency": string;
166
+ "scheduled_at": string;
167
+ "timezone": string;
168
+ "items": Array<PaymentSelection>;
169
+ };
170
+ export type PaymentQuote = {
171
+ "id": string;
172
+ "profile_id": string;
173
+ "recipient_id": string;
174
+ "recipient_name": string;
175
+ "source_currency": string;
176
+ "target_currency": string;
177
+ "target_cents": number;
178
+ "source_cents": number;
179
+ "fee_cents": number;
180
+ "rate": number;
181
+ "expires_at": string;
182
+ "estimated_arrival": string | null;
183
+ };
184
+ export type PaymentDestination = {
185
+ "id": number;
186
+ "external_id": string;
187
+ "kind": "account" | "contact";
188
+ };
189
+ export type PaymentItem = {
190
+ "user_id": number;
191
+ "month": string;
192
+ "amount_cents": number;
193
+ "expected_version": number;
194
+ "id": string;
195
+ "run_id": string;
196
+ "name": string;
197
+ "currency": string;
198
+ "destination": PaymentDestination;
199
+ "quote": PaymentQuote;
200
+ "execution_quote": PaymentQuote | null;
201
+ "max_source_cents": number;
202
+ "state": "draft" | "queued" | "creating" | "funding" | "processing" | "paid" | "failed" | "attention" | "cancelled";
203
+ "transfer_id": string | null;
204
+ "provider_status": string | null;
205
+ "failure": string | null;
206
+ "attempts": number;
207
+ "next_attempt_at": string;
208
+ "updated_at": string;
209
+ "version": number;
210
+ "lease_token": string | null;
211
+ "lease_until": string | null;
212
+ };
213
+ export type PaymentRun = {
214
+ "id": string;
215
+ "name": string;
216
+ "source_currency": string;
217
+ "scheduled_at": string;
218
+ "timezone": string;
219
+ "state": "draft" | "approved" | "cancelled";
220
+ "actor_id": number;
221
+ "approved_by": number | null;
222
+ "created_at": string;
223
+ "approved_at": string | null;
224
+ "request_id": string;
225
+ "items": Array<PaymentItem>;
226
+ };
227
+ export type PaymentRunApproval = {
228
+ "limits": Array<{
229
+ "item_id": string;
230
+ "max_source_cents": number;
231
+ }>;
232
+ };
233
+ export type PaymentRunEnvelope = {
234
+ "data": PaymentRun;
235
+ };
236
+ export type PaymentRunReport = {
237
+ "from": string;
238
+ "to": string;
239
+ "ledgers": Array<StaffPaymentReport>;
240
+ "runs": Array<PaymentRun>;
241
+ };
242
+ export type PaymentRunReportEnvelope = {
243
+ "data": PaymentRunReport;
244
+ };
22
245
  export type InvoiceReminderPolicy = {
23
246
  "first_after_days": number;
24
247
  "every_days": number;
@@ -100,6 +323,7 @@ export type EmailLog = {
100
323
  "from": EmailRecipient | null;
101
324
  "reply_to": Array<EmailRecipient>;
102
325
  "to": Array<EmailRecipient>;
326
+ "cc": Array<EmailRecipient>;
103
327
  "template": string;
104
328
  "subject": string;
105
329
  "provider": string | null;
@@ -337,6 +561,25 @@ export type QuickBooksConnectionEnvelope = {
337
561
  export type QuickBooksSettingsInput = {
338
562
  "allow_online_payment": boolean;
339
563
  };
564
+ export type InvoiceQuickBooksEnvelope = {
565
+ "data": {
566
+ "connected": boolean;
567
+ "invoice": {
568
+ "quickbooks_id": string;
569
+ "mirrored_at": string;
570
+ } | null;
571
+ "payments": Array<{
572
+ "payment_id": number;
573
+ "quickbooks_id": string;
574
+ "mirrored_at": string;
575
+ }>;
576
+ "last_outcome": {
577
+ "kind": "created" | "updated" | "adopted" | "linked" | "refused" | "failed";
578
+ "reason": string | null;
579
+ "at": string;
580
+ } | null;
581
+ };
582
+ };
340
583
  export type SenderEvidenceRefreshInput = {
341
584
  "expected_evidence_version": number;
342
585
  };
@@ -364,10 +607,16 @@ export type OutboxAggregate = {
364
607
  "id": number;
365
608
  "sequence": number;
366
609
  };
610
+ export type ActivityLogActor = {
611
+ "type": "user" | "contact" | "system";
612
+ "id": number | null;
613
+ "name": string | null;
614
+ };
367
615
  export type ActivityLog = {
368
616
  "event_id": string;
369
617
  "event_type": string;
370
618
  "aggregate": OutboxAggregate;
619
+ "actor": ActivityLogActor | null;
371
620
  "payload": {
372
621
  [key: string]: unknown;
373
622
  };
@@ -745,6 +994,7 @@ export type TimeEntry = {
745
994
  "updated_at": string;
746
995
  };
747
996
  export type TimeEntryInput = {
997
+ "user_id"?: number;
748
998
  "project_id": number;
749
999
  "task_id": number;
750
1000
  "spent_date"?: string;
@@ -809,15 +1059,28 @@ export type TimeEntryNoteSettingsEnvelope = {
809
1059
  };
810
1060
  export type Profile = {
811
1061
  "user_id": number;
1062
+ "first_name"?: string;
1063
+ "last_name"?: string;
1064
+ "email"?: string | null;
812
1065
  "timezone": string;
1066
+ "invoice_copy_to_self"?: boolean;
813
1067
  };
814
1068
  export type ProfilePatch = {
815
1069
  "timezone"?: string;
1070
+ "invoice_copy_to_self"?: boolean;
816
1071
  };
817
1072
  export type ProfileEnvelope = {
818
1073
  "data": Profile;
819
1074
  "links": Links;
820
1075
  };
1076
+ export type AccountDeletionRequest = {
1077
+ "user_id": number;
1078
+ "requested_at": string;
1079
+ };
1080
+ export type AccountDeletionRequestEnvelope = {
1081
+ "data": AccountDeletionRequest;
1082
+ "links": Links;
1083
+ };
821
1084
  export type TimeEntryOption = {
822
1085
  "project_id": number;
823
1086
  "task_id": number;
@@ -1207,12 +1470,44 @@ export type EstimateConversionEnvelope = {
1207
1470
  "links": Links;
1208
1471
  };
1209
1472
  export type InvoiceGenerationInput = {
1473
+ "kind"?: "tracked";
1210
1474
  "client_id": number;
1211
- "from": string;
1475
+ "from"?: string | null;
1212
1476
  "to": string;
1213
1477
  "project_ids": Array<number>;
1214
1478
  "time_summary_type": "project" | "task" | "people" | "detailed" | null;
1215
1479
  "expense_summary_type": "project" | "category" | "people" | "detailed" | null;
1480
+ } | {
1481
+ "kind": "free_form";
1482
+ "client_id": number;
1483
+ } | {
1484
+ "kind": "banded";
1485
+ "client_id": number;
1486
+ "from"?: string | null;
1487
+ "to": string;
1488
+ "project_ids": Array<number>;
1489
+ "line_items": Array<{
1490
+ "kind": string;
1491
+ "description"?: string | null;
1492
+ "quantity": number;
1493
+ "unit_price_cents": number;
1494
+ "project_id"?: number | null;
1495
+ }>;
1496
+ "claim_mode": "all" | "ceiling";
1497
+ "claim_ceiling_seconds"?: number | null;
1498
+ "claim_ceiling_cents"?: number | null;
1499
+ "overage_summary_type"?: "project" | "task" | "people" | "detailed" | null;
1500
+ };
1501
+ export type InvoiceBandClaim = {
1502
+ "claimed_entry_count": number;
1503
+ "claimed_seconds": number;
1504
+ "billed_entry_count": number;
1505
+ "billed_seconds": number;
1506
+ };
1507
+ export type InvoiceGenerationEnvelope = {
1508
+ "data": Invoice;
1509
+ "band"?: InvoiceBandClaim;
1510
+ "links": Links;
1216
1511
  };
1217
1512
  export type InvoiceCommandSnapshot = {
1218
1513
  "id": number;
@@ -1304,6 +1599,7 @@ export type InvoiceMessage = {
1304
1599
  "sent_from": string | null;
1305
1600
  "sent_from_email": string | null;
1306
1601
  "recipients": Array<InvoiceRecipient>;
1602
+ "cc": Array<InvoiceRecipient>;
1307
1603
  "subject": string | null;
1308
1604
  "body": string | null;
1309
1605
  "attach_pdf": boolean;
@@ -1348,10 +1644,126 @@ export type InvoiceTransitionInput = {
1348
1644
  export type InvoiceEmailDeliveryInput = {
1349
1645
  "expected_version": number;
1350
1646
  "recipients": Array<InvoiceRecipient>;
1647
+ "cc"?: Array<InvoiceRecipient>;
1648
+ "subject"?: string;
1649
+ "message"?: string;
1650
+ "send_me_a_copy"?: boolean;
1351
1651
  "sender_identity_id"?: number;
1352
1652
  "template_version"?: number;
1353
1653
  "confirmed": true;
1354
1654
  };
1655
+ export type InvoiceEmailPreviewInput = {
1656
+ "expected_version"?: number;
1657
+ "recipients": Array<InvoiceRecipient>;
1658
+ "cc"?: Array<InvoiceRecipient>;
1659
+ "subject"?: string;
1660
+ "message"?: string;
1661
+ "send_me_a_copy"?: boolean;
1662
+ "sender_identity_id"?: number;
1663
+ "template_version"?: number;
1664
+ "attach_pdf"?: boolean;
1665
+ "attach_files"?: boolean;
1666
+ "append_pdfs"?: boolean;
1667
+ "attach_journal"?: "detailed" | "summary" | false;
1668
+ "journal_formats"?: JournalFormats;
1669
+ };
1670
+ export type InvoiceEmailPreviewAttachment = {
1671
+ "kind": "invoice" | "journal" | "file";
1672
+ "filename": string;
1673
+ "content_type": string;
1674
+ "byte_size": number;
1675
+ "appended": Array<string>;
1676
+ "not_appended": "encrypted" | "unreadable" | "empty" | "too_large" | null;
1677
+ };
1678
+ export type InvoiceEmailPreviewEnvelope = {
1679
+ "data": {
1680
+ "invoice_id": number;
1681
+ "from": InvoiceRecipient;
1682
+ "reply_to": string | null;
1683
+ "to": Array<InvoiceRecipient>;
1684
+ "cc": Array<InvoiceRecipient>;
1685
+ "send_me_a_copy": boolean;
1686
+ "subject": string;
1687
+ "text": string;
1688
+ "html": string | null;
1689
+ "attachments": Array<InvoiceEmailPreviewAttachment>;
1690
+ };
1691
+ "links": {
1692
+ "document": string;
1693
+ };
1694
+ };
1695
+ export type InvoiceEmailPreviewSentEnvelope = {
1696
+ "data": {
1697
+ "invoice_id": number;
1698
+ "delivery_id": number;
1699
+ "to": Array<InvoiceRecipient>;
1700
+ "subject": string;
1701
+ };
1702
+ };
1703
+ export type InvoiceEmailDefaultsEnvelope = {
1704
+ "data": {
1705
+ "invoice_id": number;
1706
+ "client_id": number;
1707
+ "company_name": string;
1708
+ "client_name": string;
1709
+ "template_version": number;
1710
+ "subject": string;
1711
+ "message": string;
1712
+ "to": Array<InvoiceRecipient>;
1713
+ "cc": Array<InvoiceRecipient>;
1714
+ "recipients_source": "client" | "contacts";
1715
+ "always_cc": Array<InvoiceRecipient>;
1716
+ "sender": {
1717
+ "name": string;
1718
+ "email": string | null;
1719
+ };
1720
+ "send_me_a_copy": boolean;
1721
+ "delivery": {
1722
+ "available": boolean;
1723
+ "code": string | null;
1724
+ "message": string | null;
1725
+ };
1726
+ };
1727
+ };
1728
+ export type InvoiceRecipientLists = {
1729
+ "to": Array<InvoiceRecipient>;
1730
+ "cc": Array<InvoiceRecipient>;
1731
+ };
1732
+ export type ClientInvoiceSendingEnvelope = {
1733
+ "data": {
1734
+ "client_id": number;
1735
+ "recipients": InvoiceRecipientLists | null;
1736
+ "contacts": InvoiceRecipientLists;
1737
+ "attach_pdf": boolean | null;
1738
+ "append_pdfs": boolean | null;
1739
+ "attach_files": boolean | null;
1740
+ "attach_journal": "detailed" | "summary" | boolean | null;
1741
+ "journal_formats": JournalFormats | null;
1742
+ "organization": {
1743
+ "attach_pdf": boolean;
1744
+ "append_pdfs": boolean;
1745
+ "attach_files": boolean;
1746
+ "attach_journal": "detailed" | "summary" | boolean;
1747
+ "journal_formats": JournalFormats;
1748
+ };
1749
+ };
1750
+ };
1751
+ export type ClientInvoiceSendingInput = {
1752
+ "recipients"?: InvoiceRecipientLists | null;
1753
+ "attach_pdf"?: boolean | null;
1754
+ "append_pdfs"?: boolean | null;
1755
+ "attach_files"?: boolean | null;
1756
+ "attach_journal"?: "detailed" | "summary" | false | null;
1757
+ "journal_formats"?: JournalFormats | null;
1758
+ };
1759
+ export type OrganizationInvoiceSendingEnvelope = {
1760
+ "data": {
1761
+ "always_cc": Array<InvoiceRecipient>;
1762
+ };
1763
+ };
1764
+ export type OrganizationInvoiceSendingInput = {
1765
+ "always_cc": Array<InvoiceRecipient>;
1766
+ };
1355
1767
  export type InvoicePayment = {
1356
1768
  "id": number;
1357
1769
  "invoice_id": number;
@@ -1609,6 +2021,7 @@ export type RecurringInvoice = {
1609
2021
  "claim_ceiling_cents": number | null;
1610
2022
  "claim_scope": "billable" | "tracked";
1611
2023
  "cost_alert_basis_points": number | null;
2024
+ "purchase_order": string | null;
1612
2025
  "created_at": string;
1613
2026
  "updated_at": string;
1614
2027
  };
@@ -1676,6 +2089,7 @@ export type RecurringInvoiceInput = {
1676
2089
  "claim_ceiling_cents"?: number | null;
1677
2090
  "claim_scope"?: "billable" | "tracked";
1678
2091
  "cost_alert_basis_points"?: number | null;
2092
+ "purchase_order"?: string | null;
1679
2093
  };
1680
2094
  export type MyHoursProject = {
1681
2095
  "project_id": number;
@@ -1726,6 +2140,7 @@ export type DetailedTimeRow = {
1726
2140
  "claimed": boolean;
1727
2141
  "time_entry_id"?: number;
1728
2142
  "invoice_id"?: number | null;
2143
+ "invoice_number"?: string | null;
1729
2144
  "notes"?: string | null;
1730
2145
  "project_active"?: boolean;
1731
2146
  };
@@ -2504,25 +2919,94 @@ export type OrganizationInvoiceThankYouEnvelope = {
2504
2919
  "auto_thank_you": boolean;
2505
2920
  };
2506
2921
  };
2922
+ export type ReminderPolicy = {
2923
+ "first_after_days": number;
2924
+ "every_days": number;
2925
+ };
2926
+ export type InvoiceReminderPreferenceInput = {
2927
+ "reminders": boolean | null;
2928
+ };
2929
+ export type InvoiceReminderPreferenceEnvelope = {
2930
+ "data": {
2931
+ "invoice_id": number;
2932
+ "reminders": boolean | null;
2933
+ "organization_reminder_policy": ReminderPolicy | null;
2934
+ "effective": boolean;
2935
+ "next_reminder_at": string | null;
2936
+ };
2937
+ };
2938
+ export type OrganizationInvoiceRemindersInput = {
2939
+ "reminder_policy": ReminderPolicy | null;
2940
+ };
2941
+ export type OrganizationInvoiceRemindersEnvelope = {
2942
+ "data": {
2943
+ "reminder_policy": ReminderPolicy | null;
2944
+ "applied_to_open_invoices"?: number;
2945
+ };
2946
+ };
2947
+ export type JournalFormats = Array<"pdf" | "csv" | "xlsx">;
2948
+ export type InvoiceDocumentPreferenceInput = {
2949
+ "attach_pdf"?: boolean | null;
2950
+ "attach_files"?: boolean | null;
2951
+ "append_pdfs"?: boolean | null;
2952
+ "attach_journal"?: "detailed" | "summary" | false | null;
2953
+ "journal_formats"?: JournalFormats | null;
2954
+ };
2955
+ export type OrganizationInvoiceDocumentsInput = {
2956
+ "attach_pdf"?: boolean;
2957
+ "attach_files"?: boolean;
2958
+ "append_pdfs"?: boolean;
2959
+ "attach_journal"?: "detailed" | "summary" | false;
2960
+ "journal_formats"?: JournalFormats;
2961
+ };
2962
+ export type InvoiceDefaults = {
2963
+ "company_name": string;
2964
+ "company_address": string | null;
2965
+ "notes": string | null;
2966
+ "subject": string | null;
2967
+ };
2968
+ export type InvoiceDefaultsEnvelope = {
2969
+ "data": InvoiceDefaults;
2970
+ "links": Links;
2971
+ };
2972
+ export type InvoiceDefaultsInput = {
2973
+ "company_name"?: string;
2974
+ "company_address"?: string | null;
2975
+ "notes"?: string | null;
2976
+ "subject"?: string | null;
2977
+ };
2507
2978
  export type InvoiceDocumentPreferenceEnvelope = {
2508
2979
  "data": {
2509
2980
  "invoice_id": number;
2510
2981
  "attach_pdf": boolean;
2982
+ "client_attach_pdf": boolean | null;
2511
2983
  "organization_attach_pdf": boolean;
2512
2984
  "effective": boolean;
2513
2985
  "attach_files": boolean;
2986
+ "client_attach_files": boolean | null;
2514
2987
  "organization_attach_files": boolean;
2515
2988
  "effective_files": boolean;
2989
+ "append_pdfs": boolean | null;
2990
+ "client_append_pdfs": boolean | null;
2991
+ "organization_append_pdfs": boolean;
2992
+ "effective_append_pdfs": boolean;
2516
2993
  "attach_journal": "detailed" | "summary" | boolean;
2994
+ "client_attach_journal": "detailed" | "summary" | boolean | null;
2517
2995
  "organization_attach_journal": "detailed" | "summary" | boolean;
2518
2996
  "effective_journal": "detailed" | "summary" | boolean;
2997
+ "journal_formats": JournalFormats | null;
2998
+ "client_journal_formats": JournalFormats | null;
2999
+ "organization_journal_formats": JournalFormats;
3000
+ "effective_journal_formats": JournalFormats;
2519
3001
  };
2520
3002
  };
2521
3003
  export type OrganizationInvoiceDocumentsEnvelope = {
2522
3004
  "data": {
2523
3005
  "attach_pdf": boolean;
2524
3006
  "attach_files": boolean;
3007
+ "append_pdfs": boolean;
2525
3008
  "attach_journal": "detailed" | "summary" | boolean;
3009
+ "journal_formats": JournalFormats;
2526
3010
  };
2527
3011
  };
2528
3012
  export type ReleasedTimeEnvelope = {
@@ -2799,6 +3283,10 @@ export declare class EzactoClient {
2799
3283
  signal?: AbortSignal;
2800
3284
  headers?: HeadersInit;
2801
3285
  }): Promise<ProfileEnvelope>;
3286
+ requestAccountDeletion(args?: {
3287
+ signal?: AbortSignal;
3288
+ headers?: HeadersInit;
3289
+ }): Promise<AccountDeletionRequestEnvelope>;
2802
3290
  listClients(args?: {
2803
3291
  query?: {
2804
3292
  "cursor"?: string;
@@ -3146,6 +3634,9 @@ export declare class EzactoClient {
3146
3634
  headers?: HeadersInit;
3147
3635
  }): Promise<TimeEntryNoteSettingsEnvelope>;
3148
3636
  listTimeEntryOptions(args?: {
3637
+ query?: {
3638
+ "user_id"?: number;
3639
+ };
3149
3640
  signal?: AbortSignal;
3150
3641
  headers?: HeadersInit;
3151
3642
  }): Promise<TimeEntryOptionListEnvelope>;
@@ -3362,6 +3853,7 @@ export declare class EzactoClient {
3362
3853
  "per_page"?: number;
3363
3854
  "state"?: string;
3364
3855
  "client_id"?: string;
3856
+ "number"?: string;
3365
3857
  };
3366
3858
  signal?: AbortSignal;
3367
3859
  headers?: HeadersInit;
@@ -3408,7 +3900,7 @@ export declare class EzactoClient {
3408
3900
  body: InvoiceGenerationInput;
3409
3901
  signal?: AbortSignal;
3410
3902
  headers?: HeadersInit;
3411
- }): Promise<InvoiceEnvelope>;
3903
+ }): Promise<InvoiceGenerationEnvelope>;
3412
3904
  updateInvoice(args: {
3413
3905
  "id": number;
3414
3906
  "Idempotency-Key": string;
@@ -3465,6 +3957,26 @@ export declare class EzactoClient {
3465
3957
  signal?: AbortSignal;
3466
3958
  headers?: HeadersInit;
3467
3959
  }): Promise<InvoiceCommandEnvelope>;
3960
+ previewInvoiceEmail(args: {
3961
+ "id": number;
3962
+ body: InvoiceEmailPreviewInput;
3963
+ signal?: AbortSignal;
3964
+ headers?: HeadersInit;
3965
+ }): Promise<InvoiceEmailPreviewEnvelope>;
3966
+ downloadInvoiceEmailPreviewDocument(args: {
3967
+ "id": number;
3968
+ query?: {
3969
+ "append_pdfs"?: "true" | "false";
3970
+ };
3971
+ signal?: AbortSignal;
3972
+ headers?: HeadersInit;
3973
+ }): Promise<ArrayBuffer>;
3974
+ sendInvoiceEmailPreview(args: {
3975
+ "id": number;
3976
+ body: InvoiceEmailPreviewInput;
3977
+ signal?: AbortSignal;
3978
+ headers?: HeadersInit;
3979
+ }): Promise<InvoiceEmailPreviewSentEnvelope>;
3468
3980
  listInvoicePayments(args: {
3469
3981
  "id": number;
3470
3982
  signal?: AbortSignal;
@@ -3701,6 +4213,78 @@ export declare class EzactoClient {
3701
4213
  signal?: AbortSignal;
3702
4214
  headers?: HeadersInit;
3703
4215
  }): Promise<ArrayBuffer>;
4216
+ setRecurringInvoiceAttachmentThrough(args: {
4217
+ "recurringInvoiceId": number;
4218
+ "attachmentId": number;
4219
+ body: RecurringAttachmentThroughInput;
4220
+ signal?: AbortSignal;
4221
+ headers?: HeadersInit;
4222
+ }): Promise<AttachmentEnvelope>;
4223
+ removeRecurringInvoiceAttachment(args: {
4224
+ "recurringInvoiceId": number;
4225
+ "attachmentId": number;
4226
+ signal?: AbortSignal;
4227
+ headers?: HeadersInit;
4228
+ }): Promise<void>;
4229
+ getPaymentActuals(args?: {
4230
+ query?: {
4231
+ "month"?: string;
4232
+ };
4233
+ signal?: AbortSignal;
4234
+ headers?: HeadersInit;
4235
+ }): Promise<PaymentActualsEnvelope>;
4236
+ confirmPaymentActuals(args: {
4237
+ body: ConfirmPaymentActuals;
4238
+ signal?: AbortSignal;
4239
+ headers?: HeadersInit;
4240
+ }): Promise<void>;
4241
+ configureStaffPaymentProvider(args: {
4242
+ body: StaffPaymentProviderCommand;
4243
+ signal?: AbortSignal;
4244
+ headers?: HeadersInit;
4245
+ }): Promise<void>;
4246
+ getStaffPaymentReport(args?: {
4247
+ query?: {
4248
+ "month"?: string;
4249
+ };
4250
+ signal?: AbortSignal;
4251
+ headers?: HeadersInit;
4252
+ }): Promise<StaffPaymentReportEnvelope>;
4253
+ recordStaffPaymentEvent(args: {
4254
+ body: StaffPaymentCommand;
4255
+ signal?: AbortSignal;
4256
+ headers?: HeadersInit;
4257
+ }): Promise<void>;
4258
+ getPaymentRunReport(args?: {
4259
+ query?: {
4260
+ "from"?: string;
4261
+ "to"?: string;
4262
+ };
4263
+ signal?: AbortSignal;
4264
+ headers?: HeadersInit;
4265
+ }): Promise<PaymentRunReportEnvelope>;
4266
+ previewPaymentRun(args: {
4267
+ body: PaymentRunCommand;
4268
+ signal?: AbortSignal;
4269
+ headers?: HeadersInit;
4270
+ }): Promise<PaymentRunEnvelope>;
4271
+ approvePaymentRun(args: {
4272
+ "id": string;
4273
+ body: PaymentRunApproval;
4274
+ signal?: AbortSignal;
4275
+ headers?: HeadersInit;
4276
+ }): Promise<PaymentRunEnvelope>;
4277
+ cancelPaymentRun(args: {
4278
+ "id": string;
4279
+ signal?: AbortSignal;
4280
+ headers?: HeadersInit;
4281
+ }): Promise<PaymentRunEnvelope>;
4282
+ reconcilePaymentRunItem(args: {
4283
+ "id": string;
4284
+ "itemId": string;
4285
+ signal?: AbortSignal;
4286
+ headers?: HeadersInit;
4287
+ }): Promise<PaymentRunEnvelope>;
3704
4288
  getReportDefinitionRegistry(args?: {
3705
4289
  signal?: AbortSignal;
3706
4290
  headers?: HeadersInit;
@@ -3890,6 +4474,14 @@ export declare class EzactoClient {
3890
4474
  }): Promise<UninvoicedReportEnvelope>;
3891
4475
  getDetailedTimeReport(args: {
3892
4476
  query: {
4477
+ "self"?: boolean;
4478
+ "include_fixed_fee"?: boolean;
4479
+ "direct_client_only"?: boolean;
4480
+ "contractors_only"?: boolean;
4481
+ "currency"?: string;
4482
+ "project_status"?: "all" | "active" | "archived";
4483
+ "billing_method"?: "non_billable" | "time_materials" | "fixed_fee";
4484
+ "manager_id"?: number;
3893
4485
  "from": string;
3894
4486
  "to": string;
3895
4487
  "client_id"?: number;
@@ -3900,12 +4492,41 @@ export declare class EzactoClient {
3900
4492
  "tag_id"?: number;
3901
4493
  "hours"?: "all" | "billable" | "non_billable" | "uninvoiced" | "claimed" | "unclaimed";
3902
4494
  "grain"?: "day" | "entry";
4495
+ "audience"?: "internal" | "client";
3903
4496
  "invoice_state"?: "all" | "invoiced" | "uninvoiced";
3904
4497
  "active_projects_only"?: boolean;
3905
4498
  };
3906
4499
  signal?: AbortSignal;
3907
4500
  headers?: HeadersInit;
3908
4501
  }): Promise<DetailedTimeReportEnvelope>;
4502
+ downloadDetailedTimeReport(args: {
4503
+ query: {
4504
+ "self"?: boolean;
4505
+ "include_fixed_fee"?: boolean;
4506
+ "direct_client_only"?: boolean;
4507
+ "contractors_only"?: boolean;
4508
+ "currency"?: string;
4509
+ "project_status"?: "all" | "active" | "archived";
4510
+ "billing_method"?: "non_billable" | "time_materials" | "fixed_fee";
4511
+ "manager_id"?: number;
4512
+ "from": string;
4513
+ "to": string;
4514
+ "client_id"?: number;
4515
+ "project_id"?: number;
4516
+ "task_id"?: number;
4517
+ "user_id"?: number;
4518
+ "role_id"?: number;
4519
+ "tag_id"?: number;
4520
+ "hours"?: "all" | "billable" | "non_billable" | "uninvoiced" | "claimed" | "unclaimed";
4521
+ "grain"?: "day" | "entry";
4522
+ "audience"?: "internal" | "client";
4523
+ "invoice_state"?: "all" | "invoiced" | "uninvoiced";
4524
+ "active_projects_only"?: boolean;
4525
+ "format": "pdf" | "csv" | "xlsx";
4526
+ };
4527
+ signal?: AbortSignal;
4528
+ headers?: HeadersInit;
4529
+ }): Promise<ArrayBuffer>;
3909
4530
  executeDetailedTimeAction(args: {
3910
4531
  body: ReportTimeActionInput;
3911
4532
  signal?: AbortSignal;
@@ -3978,6 +4599,16 @@ export declare class EzactoClient {
3978
4599
  signal?: AbortSignal;
3979
4600
  headers?: HeadersInit;
3980
4601
  }): Promise<void>;
4602
+ getInvoiceQuickBooks(args: {
4603
+ "id": number;
4604
+ signal?: AbortSignal;
4605
+ headers?: HeadersInit;
4606
+ }): Promise<InvoiceQuickBooksEnvelope>;
4607
+ syncInvoiceQuickBooks(args: {
4608
+ "id": number;
4609
+ signal?: AbortSignal;
4610
+ headers?: HeadersInit;
4611
+ }): Promise<InvoiceQuickBooksEnvelope>;
3981
4612
  getWiseConnection(args?: {
3982
4613
  signal?: AbortSignal;
3983
4614
  headers?: HeadersInit;
@@ -4082,17 +4713,62 @@ export declare class EzactoClient {
4082
4713
  }): Promise<InvoiceDocumentPreferenceEnvelope>;
4083
4714
  setInvoiceDocumentPreference(args: {
4084
4715
  "id": number;
4716
+ body: InvoiceDocumentPreferenceInput;
4085
4717
  signal?: AbortSignal;
4086
4718
  headers?: HeadersInit;
4087
4719
  }): Promise<InvoiceDocumentPreferenceEnvelope>;
4720
+ getInvoiceEmailDefaults(args: {
4721
+ "id": number;
4722
+ signal?: AbortSignal;
4723
+ headers?: HeadersInit;
4724
+ }): Promise<InvoiceEmailDefaultsEnvelope>;
4725
+ getClientInvoiceSending(args: {
4726
+ "id": number;
4727
+ signal?: AbortSignal;
4728
+ headers?: HeadersInit;
4729
+ }): Promise<ClientInvoiceSendingEnvelope>;
4730
+ setClientInvoiceSending(args: {
4731
+ "id": number;
4732
+ body: ClientInvoiceSendingInput;
4733
+ signal?: AbortSignal;
4734
+ headers?: HeadersInit;
4735
+ }): Promise<ClientInvoiceSendingEnvelope>;
4736
+ getOrganizationInvoiceSending(args?: {
4737
+ signal?: AbortSignal;
4738
+ headers?: HeadersInit;
4739
+ }): Promise<OrganizationInvoiceSendingEnvelope>;
4740
+ setOrganizationInvoiceSending(args: {
4741
+ body: OrganizationInvoiceSendingInput;
4742
+ signal?: AbortSignal;
4743
+ headers?: HeadersInit;
4744
+ }): Promise<OrganizationInvoiceSendingEnvelope>;
4088
4745
  getOrganizationInvoiceDocuments(args?: {
4089
4746
  signal?: AbortSignal;
4090
4747
  headers?: HeadersInit;
4091
4748
  }): Promise<OrganizationInvoiceDocumentsEnvelope>;
4092
- setOrganizationInvoiceDocuments(args?: {
4749
+ setOrganizationInvoiceDocuments(args: {
4750
+ body: OrganizationInvoiceDocumentsInput;
4093
4751
  signal?: AbortSignal;
4094
4752
  headers?: HeadersInit;
4095
4753
  }): Promise<OrganizationInvoiceDocumentsEnvelope>;
4754
+ downloadInvoiceHoursReport(args: {
4755
+ "id": number;
4756
+ query: {
4757
+ "format": "pdf" | "csv" | "xlsx";
4758
+ "detail"?: "detailed" | "summary";
4759
+ };
4760
+ signal?: AbortSignal;
4761
+ headers?: HeadersInit;
4762
+ }): Promise<ArrayBuffer>;
4763
+ getInvoiceDefaults(args?: {
4764
+ signal?: AbortSignal;
4765
+ headers?: HeadersInit;
4766
+ }): Promise<InvoiceDefaultsEnvelope>;
4767
+ updateInvoiceDefaults(args: {
4768
+ body: InvoiceDefaultsInput;
4769
+ signal?: AbortSignal;
4770
+ headers?: HeadersInit;
4771
+ }): Promise<InvoiceDefaultsEnvelope>;
4096
4772
  getInvoiceThankYouPreference(args: {
4097
4773
  "id": number;
4098
4774
  signal?: AbortSignal;
@@ -4111,6 +4787,26 @@ export declare class EzactoClient {
4111
4787
  signal?: AbortSignal;
4112
4788
  headers?: HeadersInit;
4113
4789
  }): Promise<OrganizationInvoiceThankYouEnvelope>;
4790
+ getOrganizationInvoiceReminders(args?: {
4791
+ signal?: AbortSignal;
4792
+ headers?: HeadersInit;
4793
+ }): Promise<OrganizationInvoiceRemindersEnvelope>;
4794
+ setOrganizationInvoiceReminders(args: {
4795
+ body: OrganizationInvoiceRemindersInput;
4796
+ signal?: AbortSignal;
4797
+ headers?: HeadersInit;
4798
+ }): Promise<OrganizationInvoiceRemindersEnvelope>;
4799
+ getInvoiceReminderPreference(args: {
4800
+ "id": number;
4801
+ signal?: AbortSignal;
4802
+ headers?: HeadersInit;
4803
+ }): Promise<InvoiceReminderPreferenceEnvelope>;
4804
+ setInvoiceReminderPreference(args: {
4805
+ "id": number;
4806
+ body: InvoiceReminderPreferenceInput;
4807
+ signal?: AbortSignal;
4808
+ headers?: HeadersInit;
4809
+ }): Promise<InvoiceReminderPreferenceEnvelope>;
4114
4810
  listIncompleteRecurringInvoices(args?: {
4115
4811
  signal?: AbortSignal;
4116
4812
  headers?: HeadersInit;