@bubblelab/bubble-core 0.1.216 → 0.1.218

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