@bubblelab/bubble-core 0.1.216 → 0.1.217

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 (129) hide show
  1. package/dist/bubble-bundle.d.ts +227 -188
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +4 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/agi-inc.d.ts +60 -60
  6. package/dist/bubbles/service-bubble/ai-agent.d.ts +8 -8
  7. package/dist/bubbles/service-bubble/airtable.d.ts +50 -50
  8. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +2 -2
  9. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +4 -4
  10. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +12 -12
  11. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
  12. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +8 -8
  13. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +52 -52
  14. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +18 -18
  15. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +10 -10
  16. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +27 -27
  17. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +8 -8
  18. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +131 -131
  19. package/dist/bubbles/service-bubble/apify/apify.d.ts +12 -12
  20. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +62 -62
  21. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +84 -84
  22. package/dist/bubbles/service-bubble/assembled/assembled.d.ts +36 -36
  23. package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +36 -36
  24. package/dist/bubbles/service-bubble/attio/attio.d.ts +28 -28
  25. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +28 -28
  26. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +30 -30
  27. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +32 -32
  28. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +24 -24
  29. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +24 -24
  30. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +126 -126
  31. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
  32. package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
  33. package/dist/bubbles/service-bubble/firecrawl.d.ts +783 -783
  34. package/dist/bubbles/service-bubble/followupboss.d.ts +140 -140
  35. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +68 -68
  36. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
  37. package/dist/bubbles/service-bubble/github.d.ts +84 -84
  38. package/dist/bubbles/service-bubble/gmail.d.ts +80 -80
  39. package/dist/bubbles/service-bubble/google-calendar.d.ts +138 -138
  40. package/dist/bubbles/service-bubble/google-drive.d.ts +56 -56
  41. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
  42. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +48 -48
  43. package/dist/bubbles/service-bubble/hello-world.d.ts +8 -8
  44. package/dist/bubbles/service-bubble/http.d.ts +16 -16
  45. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +8 -8
  46. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +8 -8
  47. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  48. package/dist/bubbles/service-bubble/jira/jira.d.ts +86 -86
  49. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +94 -94
  50. package/dist/bubbles/service-bubble/linear/linear.d.ts +32 -32
  51. package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +32 -32
  52. package/dist/bubbles/service-bubble/notion/notion.d.ts +522 -522
  53. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
  54. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  55. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +22 -22
  56. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +26 -26
  57. package/dist/bubbles/service-bubble/resend.d.ts +28 -28
  58. package/dist/bubbles/service-bubble/s3/s3.d.ts +10 -10
  59. package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +10 -10
  60. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +10 -10
  61. package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +12 -12
  62. package/dist/bubbles/service-bubble/slack/slack.d.ts +252 -252
  63. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  64. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +129 -129
  65. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +149 -149
  66. package/dist/bubbles/service-bubble/telegram.d.ts +1540 -1540
  67. package/dist/bubbles/service-bubble/xero/index.d.ts +3 -0
  68. package/dist/bubbles/service-bubble/xero/index.d.ts.map +1 -0
  69. package/dist/bubbles/service-bubble/xero/index.js +3 -0
  70. package/dist/bubbles/service-bubble/xero/index.js.map +1 -0
  71. package/dist/bubbles/service-bubble/xero/xero.d.ts +975 -0
  72. package/dist/bubbles/service-bubble/xero/xero.d.ts.map +1 -0
  73. package/dist/bubbles/service-bubble/xero/xero.js +477 -0
  74. package/dist/bubbles/service-bubble/xero/xero.js.map +1 -0
  75. package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +924 -0
  76. package/dist/bubbles/service-bubble/xero/xero.schema.d.ts.map +1 -0
  77. package/dist/bubbles/service-bubble/xero/xero.schema.js +366 -0
  78. package/dist/bubbles/service-bubble/xero/xero.schema.js.map +1 -0
  79. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +13 -13
  80. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +13 -13
  81. package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +2 -2
  82. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +2 -2
  83. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +2 -2
  84. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +2 -2
  85. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +2 -2
  86. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
  87. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +2 -2
  88. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
  89. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +2 -2
  90. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +16 -16
  91. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +26 -26
  92. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  93. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +52 -52
  94. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  95. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  96. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
  97. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
  98. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +186 -186
  99. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  100. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  101. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  102. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +4 -4
  103. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +14 -14
  104. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +28 -28
  105. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
  106. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  107. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +28 -28
  108. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  109. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +54 -54
  110. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -22
  111. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  112. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  113. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
  114. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +22 -22
  115. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
  116. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  117. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +28 -28
  118. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
  119. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +72 -72
  120. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +32 -32
  121. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +34 -34
  122. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +90 -90
  123. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
  124. package/dist/bubbles.json +1189 -2
  125. package/dist/index.d.ts +2 -0
  126. package/dist/index.d.ts.map +1 -1
  127. package/dist/index.js +1 -0
  128. package/dist/index.js.map +1 -1
  129. package/package.json +2 -2
@@ -0,0 +1,924 @@
1
+ import { z } from 'zod';
2
+ import { CredentialType } from '@bubblelab/shared-schemas';
3
+ export declare const XeroParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
4
+ operation: z.ZodLiteral<"create_invoice">;
5
+ type: z.ZodEnum<["ACCREC", "ACCPAY"]>;
6
+ contact_id: z.ZodString;
7
+ line_items: z.ZodArray<z.ZodObject<{
8
+ Description: z.ZodString;
9
+ Quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
10
+ UnitAmount: z.ZodNumber;
11
+ AccountCode: z.ZodOptional<z.ZodString>;
12
+ TaxType: z.ZodOptional<z.ZodString>;
13
+ ItemCode: z.ZodOptional<z.ZodString>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ Description: string;
16
+ Quantity: number;
17
+ UnitAmount: number;
18
+ AccountCode?: string | undefined;
19
+ TaxType?: string | undefined;
20
+ ItemCode?: string | undefined;
21
+ }, {
22
+ Description: string;
23
+ UnitAmount: number;
24
+ Quantity?: number | undefined;
25
+ AccountCode?: string | undefined;
26
+ TaxType?: string | undefined;
27
+ ItemCode?: string | undefined;
28
+ }>, "many">;
29
+ date: z.ZodOptional<z.ZodString>;
30
+ due_date: z.ZodOptional<z.ZodString>;
31
+ reference: z.ZodOptional<z.ZodString>;
32
+ status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["DRAFT", "SUBMITTED", "AUTHORISED"]>>>;
33
+ currency_code: z.ZodOptional<z.ZodString>;
34
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ type: "ACCREC" | "ACCPAY";
37
+ status: "DRAFT" | "SUBMITTED" | "AUTHORISED";
38
+ operation: "create_invoice";
39
+ contact_id: string;
40
+ line_items: {
41
+ Description: string;
42
+ Quantity: number;
43
+ UnitAmount: number;
44
+ AccountCode?: string | undefined;
45
+ TaxType?: string | undefined;
46
+ ItemCode?: string | undefined;
47
+ }[];
48
+ date?: string | undefined;
49
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
50
+ due_date?: string | undefined;
51
+ reference?: string | undefined;
52
+ currency_code?: string | undefined;
53
+ }, {
54
+ type: "ACCREC" | "ACCPAY";
55
+ operation: "create_invoice";
56
+ contact_id: string;
57
+ line_items: {
58
+ Description: string;
59
+ UnitAmount: number;
60
+ Quantity?: number | undefined;
61
+ AccountCode?: string | undefined;
62
+ TaxType?: string | undefined;
63
+ ItemCode?: string | undefined;
64
+ }[];
65
+ date?: string | undefined;
66
+ status?: "DRAFT" | "SUBMITTED" | "AUTHORISED" | undefined;
67
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
68
+ due_date?: string | undefined;
69
+ reference?: string | undefined;
70
+ currency_code?: string | undefined;
71
+ }>, z.ZodObject<{
72
+ operation: z.ZodLiteral<"get_invoice">;
73
+ invoice_id: z.ZodString;
74
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
75
+ }, "strip", z.ZodTypeAny, {
76
+ operation: "get_invoice";
77
+ invoice_id: string;
78
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
79
+ }, {
80
+ operation: "get_invoice";
81
+ invoice_id: string;
82
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
83
+ }>, z.ZodObject<{
84
+ operation: z.ZodLiteral<"list_invoices">;
85
+ status: z.ZodOptional<z.ZodEnum<["DRAFT", "SUBMITTED", "AUTHORISED", "PAID", "VOIDED", "DELETED"]>>;
86
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
87
+ where: z.ZodOptional<z.ZodString>;
88
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
89
+ }, "strip", z.ZodTypeAny, {
90
+ operation: "list_invoices";
91
+ page: number;
92
+ status?: "DRAFT" | "SUBMITTED" | "AUTHORISED" | "PAID" | "VOIDED" | "DELETED" | undefined;
93
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
94
+ where?: string | undefined;
95
+ }, {
96
+ operation: "list_invoices";
97
+ status?: "DRAFT" | "SUBMITTED" | "AUTHORISED" | "PAID" | "VOIDED" | "DELETED" | undefined;
98
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
99
+ page?: number | undefined;
100
+ where?: string | undefined;
101
+ }>, z.ZodObject<{
102
+ operation: z.ZodLiteral<"create_contact">;
103
+ name: z.ZodString;
104
+ email: z.ZodOptional<z.ZodString>;
105
+ first_name: z.ZodOptional<z.ZodString>;
106
+ last_name: z.ZodOptional<z.ZodString>;
107
+ phone: z.ZodOptional<z.ZodString>;
108
+ account_number: z.ZodOptional<z.ZodString>;
109
+ tax_number: z.ZodOptional<z.ZodString>;
110
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
111
+ }, "strip", z.ZodTypeAny, {
112
+ name: string;
113
+ operation: "create_contact";
114
+ email?: string | undefined;
115
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
116
+ phone?: string | undefined;
117
+ first_name?: string | undefined;
118
+ last_name?: string | undefined;
119
+ account_number?: string | undefined;
120
+ tax_number?: string | undefined;
121
+ }, {
122
+ name: string;
123
+ operation: "create_contact";
124
+ email?: string | undefined;
125
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
126
+ phone?: string | undefined;
127
+ first_name?: string | undefined;
128
+ last_name?: string | undefined;
129
+ account_number?: string | undefined;
130
+ tax_number?: string | undefined;
131
+ }>, z.ZodObject<{
132
+ operation: z.ZodLiteral<"get_contact">;
133
+ contact_id: z.ZodString;
134
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
135
+ }, "strip", z.ZodTypeAny, {
136
+ operation: "get_contact";
137
+ contact_id: string;
138
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
139
+ }, {
140
+ operation: "get_contact";
141
+ contact_id: string;
142
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
143
+ }>, z.ZodObject<{
144
+ operation: z.ZodLiteral<"list_contacts">;
145
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
146
+ where: z.ZodOptional<z.ZodString>;
147
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
148
+ }, "strip", z.ZodTypeAny, {
149
+ operation: "list_contacts";
150
+ page: number;
151
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
152
+ where?: string | undefined;
153
+ }, {
154
+ operation: "list_contacts";
155
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
156
+ page?: number | undefined;
157
+ where?: string | undefined;
158
+ }>, z.ZodObject<{
159
+ operation: z.ZodLiteral<"list_accounts">;
160
+ type: z.ZodOptional<z.ZodString>;
161
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
162
+ }, "strip", z.ZodTypeAny, {
163
+ operation: "list_accounts";
164
+ type?: string | undefined;
165
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
166
+ }, {
167
+ operation: "list_accounts";
168
+ type?: string | undefined;
169
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
170
+ }>, z.ZodObject<{
171
+ operation: z.ZodLiteral<"get_report">;
172
+ report_type: z.ZodEnum<["BalanceSheet", "ProfitAndLoss", "TrialBalance", "BankSummary", "ExecutiveSummary", "BudgetSummary", "AgedReceivablesByContact", "AgedPayablesByContact"]>;
173
+ date: z.ZodOptional<z.ZodString>;
174
+ from_date: z.ZodOptional<z.ZodString>;
175
+ to_date: z.ZodOptional<z.ZodString>;
176
+ periods: z.ZodOptional<z.ZodNumber>;
177
+ timeframe: z.ZodOptional<z.ZodEnum<["MONTH", "QUARTER", "YEAR"]>>;
178
+ contact_id: z.ZodOptional<z.ZodString>;
179
+ payments_only: z.ZodOptional<z.ZodBoolean>;
180
+ tracking_category_id: z.ZodOptional<z.ZodString>;
181
+ tracking_option_id: z.ZodOptional<z.ZodString>;
182
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
183
+ }, "strip", z.ZodTypeAny, {
184
+ operation: "get_report";
185
+ report_type: "BalanceSheet" | "ProfitAndLoss" | "TrialBalance" | "BankSummary" | "ExecutiveSummary" | "BudgetSummary" | "AgedReceivablesByContact" | "AgedPayablesByContact";
186
+ date?: string | undefined;
187
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
188
+ contact_id?: string | undefined;
189
+ from_date?: string | undefined;
190
+ to_date?: string | undefined;
191
+ periods?: number | undefined;
192
+ timeframe?: "MONTH" | "QUARTER" | "YEAR" | undefined;
193
+ payments_only?: boolean | undefined;
194
+ tracking_category_id?: string | undefined;
195
+ tracking_option_id?: string | undefined;
196
+ }, {
197
+ operation: "get_report";
198
+ report_type: "BalanceSheet" | "ProfitAndLoss" | "TrialBalance" | "BankSummary" | "ExecutiveSummary" | "BudgetSummary" | "AgedReceivablesByContact" | "AgedPayablesByContact";
199
+ date?: string | undefined;
200
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
201
+ contact_id?: string | undefined;
202
+ from_date?: string | undefined;
203
+ to_date?: string | undefined;
204
+ periods?: number | undefined;
205
+ timeframe?: "MONTH" | "QUARTER" | "YEAR" | undefined;
206
+ payments_only?: boolean | undefined;
207
+ tracking_category_id?: string | undefined;
208
+ tracking_option_id?: string | undefined;
209
+ }>]>;
210
+ export declare const XeroResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
211
+ operation: z.ZodLiteral<"create_invoice">;
212
+ success: z.ZodBoolean;
213
+ invoice: z.ZodOptional<z.ZodObject<{
214
+ InvoiceID: z.ZodString;
215
+ InvoiceNumber: z.ZodOptional<z.ZodString>;
216
+ Type: z.ZodString;
217
+ Status: z.ZodString;
218
+ Contact: z.ZodOptional<z.ZodObject<{
219
+ ContactID: z.ZodString;
220
+ Name: z.ZodOptional<z.ZodString>;
221
+ }, "strip", z.ZodTypeAny, {
222
+ ContactID: string;
223
+ Name?: string | undefined;
224
+ }, {
225
+ ContactID: string;
226
+ Name?: string | undefined;
227
+ }>>;
228
+ Date: z.ZodOptional<z.ZodString>;
229
+ DueDate: z.ZodOptional<z.ZodString>;
230
+ SubTotal: z.ZodOptional<z.ZodNumber>;
231
+ Total: z.ZodOptional<z.ZodNumber>;
232
+ AmountDue: z.ZodOptional<z.ZodNumber>;
233
+ AmountPaid: z.ZodOptional<z.ZodNumber>;
234
+ CurrencyCode: z.ZodOptional<z.ZodString>;
235
+ Reference: z.ZodOptional<z.ZodString>;
236
+ LineItems: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
237
+ }, "strip", z.ZodTypeAny, {
238
+ InvoiceID: string;
239
+ Type: string;
240
+ Status: string;
241
+ Date?: string | undefined;
242
+ InvoiceNumber?: string | undefined;
243
+ Contact?: {
244
+ ContactID: string;
245
+ Name?: string | undefined;
246
+ } | undefined;
247
+ DueDate?: string | undefined;
248
+ SubTotal?: number | undefined;
249
+ Total?: number | undefined;
250
+ AmountDue?: number | undefined;
251
+ AmountPaid?: number | undefined;
252
+ CurrencyCode?: string | undefined;
253
+ Reference?: string | undefined;
254
+ LineItems?: Record<string, unknown>[] | undefined;
255
+ }, {
256
+ InvoiceID: string;
257
+ Type: string;
258
+ Status: string;
259
+ Date?: string | undefined;
260
+ InvoiceNumber?: string | undefined;
261
+ Contact?: {
262
+ ContactID: string;
263
+ Name?: string | undefined;
264
+ } | undefined;
265
+ DueDate?: string | undefined;
266
+ SubTotal?: number | undefined;
267
+ Total?: number | undefined;
268
+ AmountDue?: number | undefined;
269
+ AmountPaid?: number | undefined;
270
+ CurrencyCode?: string | undefined;
271
+ Reference?: string | undefined;
272
+ LineItems?: Record<string, unknown>[] | undefined;
273
+ }>>;
274
+ error: z.ZodString;
275
+ }, "strip", z.ZodTypeAny, {
276
+ error: string;
277
+ success: boolean;
278
+ operation: "create_invoice";
279
+ invoice?: {
280
+ InvoiceID: string;
281
+ Type: string;
282
+ Status: string;
283
+ Date?: string | undefined;
284
+ InvoiceNumber?: string | undefined;
285
+ Contact?: {
286
+ ContactID: string;
287
+ Name?: string | undefined;
288
+ } | undefined;
289
+ DueDate?: string | undefined;
290
+ SubTotal?: number | undefined;
291
+ Total?: number | undefined;
292
+ AmountDue?: number | undefined;
293
+ AmountPaid?: number | undefined;
294
+ CurrencyCode?: string | undefined;
295
+ Reference?: string | undefined;
296
+ LineItems?: Record<string, unknown>[] | undefined;
297
+ } | undefined;
298
+ }, {
299
+ error: string;
300
+ success: boolean;
301
+ operation: "create_invoice";
302
+ invoice?: {
303
+ InvoiceID: string;
304
+ Type: string;
305
+ Status: string;
306
+ Date?: string | undefined;
307
+ InvoiceNumber?: string | undefined;
308
+ Contact?: {
309
+ ContactID: string;
310
+ Name?: string | undefined;
311
+ } | undefined;
312
+ DueDate?: string | undefined;
313
+ SubTotal?: number | undefined;
314
+ Total?: number | undefined;
315
+ AmountDue?: number | undefined;
316
+ AmountPaid?: number | undefined;
317
+ CurrencyCode?: string | undefined;
318
+ Reference?: string | undefined;
319
+ LineItems?: Record<string, unknown>[] | undefined;
320
+ } | undefined;
321
+ }>, z.ZodObject<{
322
+ operation: z.ZodLiteral<"get_invoice">;
323
+ success: z.ZodBoolean;
324
+ invoice: z.ZodOptional<z.ZodObject<{
325
+ InvoiceID: z.ZodString;
326
+ InvoiceNumber: z.ZodOptional<z.ZodString>;
327
+ Type: z.ZodString;
328
+ Status: z.ZodString;
329
+ Contact: z.ZodOptional<z.ZodObject<{
330
+ ContactID: z.ZodString;
331
+ Name: z.ZodOptional<z.ZodString>;
332
+ }, "strip", z.ZodTypeAny, {
333
+ ContactID: string;
334
+ Name?: string | undefined;
335
+ }, {
336
+ ContactID: string;
337
+ Name?: string | undefined;
338
+ }>>;
339
+ Date: z.ZodOptional<z.ZodString>;
340
+ DueDate: z.ZodOptional<z.ZodString>;
341
+ SubTotal: z.ZodOptional<z.ZodNumber>;
342
+ Total: z.ZodOptional<z.ZodNumber>;
343
+ AmountDue: z.ZodOptional<z.ZodNumber>;
344
+ AmountPaid: z.ZodOptional<z.ZodNumber>;
345
+ CurrencyCode: z.ZodOptional<z.ZodString>;
346
+ Reference: z.ZodOptional<z.ZodString>;
347
+ LineItems: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
348
+ }, "strip", z.ZodTypeAny, {
349
+ InvoiceID: string;
350
+ Type: string;
351
+ Status: string;
352
+ Date?: string | undefined;
353
+ InvoiceNumber?: string | undefined;
354
+ Contact?: {
355
+ ContactID: string;
356
+ Name?: string | undefined;
357
+ } | undefined;
358
+ DueDate?: string | undefined;
359
+ SubTotal?: number | undefined;
360
+ Total?: number | undefined;
361
+ AmountDue?: number | undefined;
362
+ AmountPaid?: number | undefined;
363
+ CurrencyCode?: string | undefined;
364
+ Reference?: string | undefined;
365
+ LineItems?: Record<string, unknown>[] | undefined;
366
+ }, {
367
+ InvoiceID: string;
368
+ Type: string;
369
+ Status: string;
370
+ Date?: string | undefined;
371
+ InvoiceNumber?: string | undefined;
372
+ Contact?: {
373
+ ContactID: string;
374
+ Name?: string | undefined;
375
+ } | undefined;
376
+ DueDate?: string | undefined;
377
+ SubTotal?: number | undefined;
378
+ Total?: number | undefined;
379
+ AmountDue?: number | undefined;
380
+ AmountPaid?: number | undefined;
381
+ CurrencyCode?: string | undefined;
382
+ Reference?: string | undefined;
383
+ LineItems?: Record<string, unknown>[] | undefined;
384
+ }>>;
385
+ error: z.ZodString;
386
+ }, "strip", z.ZodTypeAny, {
387
+ error: string;
388
+ success: boolean;
389
+ operation: "get_invoice";
390
+ invoice?: {
391
+ InvoiceID: string;
392
+ Type: string;
393
+ Status: string;
394
+ Date?: string | undefined;
395
+ InvoiceNumber?: string | undefined;
396
+ Contact?: {
397
+ ContactID: string;
398
+ Name?: string | undefined;
399
+ } | undefined;
400
+ DueDate?: string | undefined;
401
+ SubTotal?: number | undefined;
402
+ Total?: number | undefined;
403
+ AmountDue?: number | undefined;
404
+ AmountPaid?: number | undefined;
405
+ CurrencyCode?: string | undefined;
406
+ Reference?: string | undefined;
407
+ LineItems?: Record<string, unknown>[] | undefined;
408
+ } | undefined;
409
+ }, {
410
+ error: string;
411
+ success: boolean;
412
+ operation: "get_invoice";
413
+ invoice?: {
414
+ InvoiceID: string;
415
+ Type: string;
416
+ Status: string;
417
+ Date?: string | undefined;
418
+ InvoiceNumber?: string | undefined;
419
+ Contact?: {
420
+ ContactID: string;
421
+ Name?: string | undefined;
422
+ } | undefined;
423
+ DueDate?: string | undefined;
424
+ SubTotal?: number | undefined;
425
+ Total?: number | undefined;
426
+ AmountDue?: number | undefined;
427
+ AmountPaid?: number | undefined;
428
+ CurrencyCode?: string | undefined;
429
+ Reference?: string | undefined;
430
+ LineItems?: Record<string, unknown>[] | undefined;
431
+ } | undefined;
432
+ }>, z.ZodObject<{
433
+ operation: z.ZodLiteral<"list_invoices">;
434
+ success: z.ZodBoolean;
435
+ invoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
436
+ InvoiceID: z.ZodString;
437
+ InvoiceNumber: z.ZodOptional<z.ZodString>;
438
+ Type: z.ZodString;
439
+ Status: z.ZodString;
440
+ Contact: z.ZodOptional<z.ZodObject<{
441
+ ContactID: z.ZodString;
442
+ Name: z.ZodOptional<z.ZodString>;
443
+ }, "strip", z.ZodTypeAny, {
444
+ ContactID: string;
445
+ Name?: string | undefined;
446
+ }, {
447
+ ContactID: string;
448
+ Name?: string | undefined;
449
+ }>>;
450
+ Date: z.ZodOptional<z.ZodString>;
451
+ DueDate: z.ZodOptional<z.ZodString>;
452
+ SubTotal: z.ZodOptional<z.ZodNumber>;
453
+ Total: z.ZodOptional<z.ZodNumber>;
454
+ AmountDue: z.ZodOptional<z.ZodNumber>;
455
+ AmountPaid: z.ZodOptional<z.ZodNumber>;
456
+ CurrencyCode: z.ZodOptional<z.ZodString>;
457
+ Reference: z.ZodOptional<z.ZodString>;
458
+ LineItems: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
459
+ }, "strip", z.ZodTypeAny, {
460
+ InvoiceID: string;
461
+ Type: string;
462
+ Status: string;
463
+ Date?: string | undefined;
464
+ InvoiceNumber?: string | undefined;
465
+ Contact?: {
466
+ ContactID: string;
467
+ Name?: string | undefined;
468
+ } | undefined;
469
+ DueDate?: string | undefined;
470
+ SubTotal?: number | undefined;
471
+ Total?: number | undefined;
472
+ AmountDue?: number | undefined;
473
+ AmountPaid?: number | undefined;
474
+ CurrencyCode?: string | undefined;
475
+ Reference?: string | undefined;
476
+ LineItems?: Record<string, unknown>[] | undefined;
477
+ }, {
478
+ InvoiceID: string;
479
+ Type: string;
480
+ Status: string;
481
+ Date?: string | undefined;
482
+ InvoiceNumber?: string | undefined;
483
+ Contact?: {
484
+ ContactID: string;
485
+ Name?: string | undefined;
486
+ } | undefined;
487
+ DueDate?: string | undefined;
488
+ SubTotal?: number | undefined;
489
+ Total?: number | undefined;
490
+ AmountDue?: number | undefined;
491
+ AmountPaid?: number | undefined;
492
+ CurrencyCode?: string | undefined;
493
+ Reference?: string | undefined;
494
+ LineItems?: Record<string, unknown>[] | undefined;
495
+ }>, "many">>;
496
+ error: z.ZodString;
497
+ }, "strip", z.ZodTypeAny, {
498
+ error: string;
499
+ success: boolean;
500
+ operation: "list_invoices";
501
+ invoices?: {
502
+ InvoiceID: string;
503
+ Type: string;
504
+ Status: string;
505
+ Date?: string | undefined;
506
+ InvoiceNumber?: string | undefined;
507
+ Contact?: {
508
+ ContactID: string;
509
+ Name?: string | undefined;
510
+ } | undefined;
511
+ DueDate?: string | undefined;
512
+ SubTotal?: number | undefined;
513
+ Total?: number | undefined;
514
+ AmountDue?: number | undefined;
515
+ AmountPaid?: number | undefined;
516
+ CurrencyCode?: string | undefined;
517
+ Reference?: string | undefined;
518
+ LineItems?: Record<string, unknown>[] | undefined;
519
+ }[] | undefined;
520
+ }, {
521
+ error: string;
522
+ success: boolean;
523
+ operation: "list_invoices";
524
+ invoices?: {
525
+ InvoiceID: string;
526
+ Type: string;
527
+ Status: string;
528
+ Date?: string | undefined;
529
+ InvoiceNumber?: string | undefined;
530
+ Contact?: {
531
+ ContactID: string;
532
+ Name?: string | undefined;
533
+ } | undefined;
534
+ DueDate?: string | undefined;
535
+ SubTotal?: number | undefined;
536
+ Total?: number | undefined;
537
+ AmountDue?: number | undefined;
538
+ AmountPaid?: number | undefined;
539
+ CurrencyCode?: string | undefined;
540
+ Reference?: string | undefined;
541
+ LineItems?: Record<string, unknown>[] | undefined;
542
+ }[] | undefined;
543
+ }>, z.ZodObject<{
544
+ operation: z.ZodLiteral<"create_contact">;
545
+ success: z.ZodBoolean;
546
+ contact: z.ZodOptional<z.ZodObject<{
547
+ ContactID: z.ZodString;
548
+ Name: z.ZodString;
549
+ FirstName: z.ZodOptional<z.ZodString>;
550
+ LastName: z.ZodOptional<z.ZodString>;
551
+ EmailAddress: z.ZodOptional<z.ZodString>;
552
+ AccountNumber: z.ZodOptional<z.ZodString>;
553
+ TaxNumber: z.ZodOptional<z.ZodString>;
554
+ ContactStatus: z.ZodOptional<z.ZodString>;
555
+ Phones: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
556
+ Addresses: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
557
+ }, "strip", z.ZodTypeAny, {
558
+ ContactID: string;
559
+ Name: string;
560
+ FirstName?: string | undefined;
561
+ LastName?: string | undefined;
562
+ EmailAddress?: string | undefined;
563
+ AccountNumber?: string | undefined;
564
+ TaxNumber?: string | undefined;
565
+ ContactStatus?: string | undefined;
566
+ Phones?: Record<string, unknown>[] | undefined;
567
+ Addresses?: Record<string, unknown>[] | undefined;
568
+ }, {
569
+ ContactID: string;
570
+ Name: string;
571
+ FirstName?: string | undefined;
572
+ LastName?: string | undefined;
573
+ EmailAddress?: string | undefined;
574
+ AccountNumber?: string | undefined;
575
+ TaxNumber?: string | undefined;
576
+ ContactStatus?: string | undefined;
577
+ Phones?: Record<string, unknown>[] | undefined;
578
+ Addresses?: Record<string, unknown>[] | undefined;
579
+ }>>;
580
+ error: z.ZodString;
581
+ }, "strip", z.ZodTypeAny, {
582
+ error: string;
583
+ success: boolean;
584
+ operation: "create_contact";
585
+ contact?: {
586
+ ContactID: string;
587
+ Name: string;
588
+ FirstName?: string | undefined;
589
+ LastName?: string | undefined;
590
+ EmailAddress?: string | undefined;
591
+ AccountNumber?: string | undefined;
592
+ TaxNumber?: string | undefined;
593
+ ContactStatus?: string | undefined;
594
+ Phones?: Record<string, unknown>[] | undefined;
595
+ Addresses?: Record<string, unknown>[] | undefined;
596
+ } | undefined;
597
+ }, {
598
+ error: string;
599
+ success: boolean;
600
+ operation: "create_contact";
601
+ contact?: {
602
+ ContactID: string;
603
+ Name: string;
604
+ FirstName?: string | undefined;
605
+ LastName?: string | undefined;
606
+ EmailAddress?: string | undefined;
607
+ AccountNumber?: string | undefined;
608
+ TaxNumber?: string | undefined;
609
+ ContactStatus?: string | undefined;
610
+ Phones?: Record<string, unknown>[] | undefined;
611
+ Addresses?: Record<string, unknown>[] | undefined;
612
+ } | undefined;
613
+ }>, z.ZodObject<{
614
+ operation: z.ZodLiteral<"get_contact">;
615
+ success: z.ZodBoolean;
616
+ contact: z.ZodOptional<z.ZodObject<{
617
+ ContactID: z.ZodString;
618
+ Name: z.ZodString;
619
+ FirstName: z.ZodOptional<z.ZodString>;
620
+ LastName: z.ZodOptional<z.ZodString>;
621
+ EmailAddress: z.ZodOptional<z.ZodString>;
622
+ AccountNumber: z.ZodOptional<z.ZodString>;
623
+ TaxNumber: z.ZodOptional<z.ZodString>;
624
+ ContactStatus: z.ZodOptional<z.ZodString>;
625
+ Phones: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
626
+ Addresses: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
627
+ }, "strip", z.ZodTypeAny, {
628
+ ContactID: string;
629
+ Name: string;
630
+ FirstName?: string | undefined;
631
+ LastName?: string | undefined;
632
+ EmailAddress?: string | undefined;
633
+ AccountNumber?: string | undefined;
634
+ TaxNumber?: string | undefined;
635
+ ContactStatus?: string | undefined;
636
+ Phones?: Record<string, unknown>[] | undefined;
637
+ Addresses?: Record<string, unknown>[] | undefined;
638
+ }, {
639
+ ContactID: string;
640
+ Name: string;
641
+ FirstName?: string | undefined;
642
+ LastName?: string | undefined;
643
+ EmailAddress?: string | undefined;
644
+ AccountNumber?: string | undefined;
645
+ TaxNumber?: string | undefined;
646
+ ContactStatus?: string | undefined;
647
+ Phones?: Record<string, unknown>[] | undefined;
648
+ Addresses?: Record<string, unknown>[] | undefined;
649
+ }>>;
650
+ error: z.ZodString;
651
+ }, "strip", z.ZodTypeAny, {
652
+ error: string;
653
+ success: boolean;
654
+ operation: "get_contact";
655
+ contact?: {
656
+ ContactID: string;
657
+ Name: string;
658
+ FirstName?: string | undefined;
659
+ LastName?: string | undefined;
660
+ EmailAddress?: string | undefined;
661
+ AccountNumber?: string | undefined;
662
+ TaxNumber?: string | undefined;
663
+ ContactStatus?: string | undefined;
664
+ Phones?: Record<string, unknown>[] | undefined;
665
+ Addresses?: Record<string, unknown>[] | undefined;
666
+ } | undefined;
667
+ }, {
668
+ error: string;
669
+ success: boolean;
670
+ operation: "get_contact";
671
+ contact?: {
672
+ ContactID: string;
673
+ Name: string;
674
+ FirstName?: string | undefined;
675
+ LastName?: string | undefined;
676
+ EmailAddress?: string | undefined;
677
+ AccountNumber?: string | undefined;
678
+ TaxNumber?: string | undefined;
679
+ ContactStatus?: string | undefined;
680
+ Phones?: Record<string, unknown>[] | undefined;
681
+ Addresses?: Record<string, unknown>[] | undefined;
682
+ } | undefined;
683
+ }>, z.ZodObject<{
684
+ operation: z.ZodLiteral<"list_contacts">;
685
+ success: z.ZodBoolean;
686
+ contacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
687
+ ContactID: z.ZodString;
688
+ Name: z.ZodString;
689
+ FirstName: z.ZodOptional<z.ZodString>;
690
+ LastName: z.ZodOptional<z.ZodString>;
691
+ EmailAddress: z.ZodOptional<z.ZodString>;
692
+ AccountNumber: z.ZodOptional<z.ZodString>;
693
+ TaxNumber: z.ZodOptional<z.ZodString>;
694
+ ContactStatus: z.ZodOptional<z.ZodString>;
695
+ Phones: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
696
+ Addresses: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
697
+ }, "strip", z.ZodTypeAny, {
698
+ ContactID: string;
699
+ Name: string;
700
+ FirstName?: string | undefined;
701
+ LastName?: string | undefined;
702
+ EmailAddress?: string | undefined;
703
+ AccountNumber?: string | undefined;
704
+ TaxNumber?: string | undefined;
705
+ ContactStatus?: string | undefined;
706
+ Phones?: Record<string, unknown>[] | undefined;
707
+ Addresses?: Record<string, unknown>[] | undefined;
708
+ }, {
709
+ ContactID: string;
710
+ Name: string;
711
+ FirstName?: string | undefined;
712
+ LastName?: string | undefined;
713
+ EmailAddress?: string | undefined;
714
+ AccountNumber?: string | undefined;
715
+ TaxNumber?: string | undefined;
716
+ ContactStatus?: string | undefined;
717
+ Phones?: Record<string, unknown>[] | undefined;
718
+ Addresses?: Record<string, unknown>[] | undefined;
719
+ }>, "many">>;
720
+ error: z.ZodString;
721
+ }, "strip", z.ZodTypeAny, {
722
+ error: string;
723
+ success: boolean;
724
+ operation: "list_contacts";
725
+ contacts?: {
726
+ ContactID: string;
727
+ Name: string;
728
+ FirstName?: string | undefined;
729
+ LastName?: string | undefined;
730
+ EmailAddress?: string | undefined;
731
+ AccountNumber?: string | undefined;
732
+ TaxNumber?: string | undefined;
733
+ ContactStatus?: string | undefined;
734
+ Phones?: Record<string, unknown>[] | undefined;
735
+ Addresses?: Record<string, unknown>[] | undefined;
736
+ }[] | undefined;
737
+ }, {
738
+ error: string;
739
+ success: boolean;
740
+ operation: "list_contacts";
741
+ contacts?: {
742
+ ContactID: string;
743
+ Name: string;
744
+ FirstName?: string | undefined;
745
+ LastName?: string | undefined;
746
+ EmailAddress?: string | undefined;
747
+ AccountNumber?: string | undefined;
748
+ TaxNumber?: string | undefined;
749
+ ContactStatus?: string | undefined;
750
+ Phones?: Record<string, unknown>[] | undefined;
751
+ Addresses?: Record<string, unknown>[] | undefined;
752
+ }[] | undefined;
753
+ }>, z.ZodObject<{
754
+ operation: z.ZodLiteral<"list_accounts">;
755
+ success: z.ZodBoolean;
756
+ accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
757
+ AccountID: z.ZodString;
758
+ Code: z.ZodOptional<z.ZodString>;
759
+ Name: z.ZodString;
760
+ Type: z.ZodString;
761
+ Status: z.ZodOptional<z.ZodString>;
762
+ Description: z.ZodOptional<z.ZodString>;
763
+ Class: z.ZodOptional<z.ZodString>;
764
+ TaxType: z.ZodOptional<z.ZodString>;
765
+ }, "strip", z.ZodTypeAny, {
766
+ Type: string;
767
+ Name: string;
768
+ AccountID: string;
769
+ Description?: string | undefined;
770
+ TaxType?: string | undefined;
771
+ Status?: string | undefined;
772
+ Code?: string | undefined;
773
+ Class?: string | undefined;
774
+ }, {
775
+ Type: string;
776
+ Name: string;
777
+ AccountID: string;
778
+ Description?: string | undefined;
779
+ TaxType?: string | undefined;
780
+ Status?: string | undefined;
781
+ Code?: string | undefined;
782
+ Class?: string | undefined;
783
+ }>, "many">>;
784
+ error: z.ZodString;
785
+ }, "strip", z.ZodTypeAny, {
786
+ error: string;
787
+ success: boolean;
788
+ operation: "list_accounts";
789
+ accounts?: {
790
+ Type: string;
791
+ Name: string;
792
+ AccountID: string;
793
+ Description?: string | undefined;
794
+ TaxType?: string | undefined;
795
+ Status?: string | undefined;
796
+ Code?: string | undefined;
797
+ Class?: string | undefined;
798
+ }[] | undefined;
799
+ }, {
800
+ error: string;
801
+ success: boolean;
802
+ operation: "list_accounts";
803
+ accounts?: {
804
+ Type: string;
805
+ Name: string;
806
+ AccountID: string;
807
+ Description?: string | undefined;
808
+ TaxType?: string | undefined;
809
+ Status?: string | undefined;
810
+ Code?: string | undefined;
811
+ Class?: string | undefined;
812
+ }[] | undefined;
813
+ }>, z.ZodObject<{
814
+ operation: z.ZodLiteral<"get_report">;
815
+ success: z.ZodBoolean;
816
+ report: z.ZodOptional<z.ZodObject<{
817
+ reportName: z.ZodString;
818
+ reportType: z.ZodString;
819
+ reportDate: z.ZodOptional<z.ZodString>;
820
+ reportTitles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
821
+ rows: z.ZodArray<z.ZodObject<{
822
+ rowType: z.ZodString;
823
+ title: z.ZodOptional<z.ZodString>;
824
+ cells: z.ZodOptional<z.ZodArray<z.ZodObject<{
825
+ value: z.ZodString;
826
+ accountId: z.ZodOptional<z.ZodString>;
827
+ }, "strip", z.ZodTypeAny, {
828
+ value: string;
829
+ accountId?: string | undefined;
830
+ }, {
831
+ value: string;
832
+ accountId?: string | undefined;
833
+ }>, "many">>;
834
+ rows: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
835
+ }, "strip", z.ZodTypeAny, {
836
+ rowType: string;
837
+ title?: string | undefined;
838
+ rows?: Record<string, unknown>[] | undefined;
839
+ cells?: {
840
+ value: string;
841
+ accountId?: string | undefined;
842
+ }[] | undefined;
843
+ }, {
844
+ rowType: string;
845
+ title?: string | undefined;
846
+ rows?: Record<string, unknown>[] | undefined;
847
+ cells?: {
848
+ value: string;
849
+ accountId?: string | undefined;
850
+ }[] | undefined;
851
+ }>, "many">;
852
+ }, "strip", z.ZodTypeAny, {
853
+ rows: {
854
+ rowType: string;
855
+ title?: string | undefined;
856
+ rows?: Record<string, unknown>[] | undefined;
857
+ cells?: {
858
+ value: string;
859
+ accountId?: string | undefined;
860
+ }[] | undefined;
861
+ }[];
862
+ reportName: string;
863
+ reportType: string;
864
+ reportDate?: string | undefined;
865
+ reportTitles?: string[] | undefined;
866
+ }, {
867
+ rows: {
868
+ rowType: string;
869
+ title?: string | undefined;
870
+ rows?: Record<string, unknown>[] | undefined;
871
+ cells?: {
872
+ value: string;
873
+ accountId?: string | undefined;
874
+ }[] | undefined;
875
+ }[];
876
+ reportName: string;
877
+ reportType: string;
878
+ reportDate?: string | undefined;
879
+ reportTitles?: string[] | undefined;
880
+ }>>;
881
+ error: z.ZodString;
882
+ }, "strip", z.ZodTypeAny, {
883
+ error: string;
884
+ success: boolean;
885
+ operation: "get_report";
886
+ report?: {
887
+ rows: {
888
+ rowType: string;
889
+ title?: string | undefined;
890
+ rows?: Record<string, unknown>[] | undefined;
891
+ cells?: {
892
+ value: string;
893
+ accountId?: string | undefined;
894
+ }[] | undefined;
895
+ }[];
896
+ reportName: string;
897
+ reportType: string;
898
+ reportDate?: string | undefined;
899
+ reportTitles?: string[] | undefined;
900
+ } | undefined;
901
+ }, {
902
+ error: string;
903
+ success: boolean;
904
+ operation: "get_report";
905
+ report?: {
906
+ rows: {
907
+ rowType: string;
908
+ title?: string | undefined;
909
+ rows?: Record<string, unknown>[] | undefined;
910
+ cells?: {
911
+ value: string;
912
+ accountId?: string | undefined;
913
+ }[] | undefined;
914
+ }[];
915
+ reportName: string;
916
+ reportType: string;
917
+ reportDate?: string | undefined;
918
+ reportTitles?: string[] | undefined;
919
+ } | undefined;
920
+ }>]>;
921
+ export type XeroParams = z.output<typeof XeroParamsSchema>;
922
+ export type XeroParamsInput = z.input<typeof XeroParamsSchema>;
923
+ export type XeroResult = z.output<typeof XeroResultSchema>;
924
+ //# sourceMappingURL=xero.schema.d.ts.map