@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.
- package/dist/bubble-bundle.d.ts +274 -188
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +8 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +80 -80
- package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
- package/dist/bubbles/service-bubble/airtable.d.ts +102 -102
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +20 -20
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +26 -26
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +90 -90
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +70 -70
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +16 -16
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +37 -37
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +16 -16
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +243 -243
- package/dist/bubbles/service-bubble/apify/apify.d.ts +30 -30
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +64 -64
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +86 -86
- package/dist/bubbles/service-bubble/assembled/assembled.d.ts +42 -42
- package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +42 -42
- package/dist/bubbles/service-bubble/attio/attio.d.ts +34 -34
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +34 -34
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +31 -31
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +33 -33
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +24 -24
- package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +24 -24
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +126 -126
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
- package/dist/bubbles/service-bubble/firecrawl.d.ts +834 -834
- package/dist/bubbles/service-bubble/followupboss.d.ts +144 -144
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +68 -68
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
- package/dist/bubbles/service-bubble/github.d.ts +144 -144
- package/dist/bubbles/service-bubble/gmail.d.ts +240 -240
- package/dist/bubbles/service-bubble/google-calendar.d.ts +138 -138
- package/dist/bubbles/service-bubble/google-drive.d.ts +52 -52
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +48 -48
- package/dist/bubbles/service-bubble/hello-world.d.ts +8 -8
- package/dist/bubbles/service-bubble/http.d.ts +18 -18
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +8 -8
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +8 -8
- package/dist/bubbles/service-bubble/insforge-db.d.ts +16 -16
- package/dist/bubbles/service-bubble/jira/jira.d.ts +60 -60
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +62 -62
- package/dist/bubbles/service-bubble/linear/linear.d.ts +32 -32
- package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +32 -32
- package/dist/bubbles/service-bubble/notion/notion.d.ts +682 -682
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +16 -16
- package/dist/bubbles/service-bubble/postgresql.d.ts +16 -16
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +24 -24
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +30 -30
- package/dist/bubbles/service-bubble/ramp/index.d.ts +5 -0
- package/dist/bubbles/service-bubble/ramp/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/ramp/index.js +5 -0
- package/dist/bubbles/service-bubble/ramp/index.js.map +1 -0
- package/dist/bubbles/service-bubble/ramp/ramp.d.ts +1128 -0
- package/dist/bubbles/service-bubble/ramp/ramp.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/ramp/ramp.integration.flow.d.ts +15 -0
- package/dist/bubbles/service-bubble/ramp/ramp.integration.flow.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/ramp/ramp.integration.flow.js +169 -0
- package/dist/bubbles/service-bubble/ramp/ramp.integration.flow.js.map +1 -0
- package/dist/bubbles/service-bubble/ramp/ramp.js +183 -0
- package/dist/bubbles/service-bubble/ramp/ramp.js.map +1 -0
- package/dist/bubbles/service-bubble/ramp/ramp.schema.d.ts +1373 -0
- package/dist/bubbles/service-bubble/ramp/ramp.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/ramp/ramp.schema.js +536 -0
- package/dist/bubbles/service-bubble/ramp/ramp.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/ramp/ramp.utils.d.ts +13 -0
- package/dist/bubbles/service-bubble/ramp/ramp.utils.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/ramp/ramp.utils.js +36 -0
- package/dist/bubbles/service-bubble/ramp/ramp.utils.js.map +1 -0
- package/dist/bubbles/service-bubble/resend.d.ts +28 -28
- package/dist/bubbles/service-bubble/s3/s3.d.ts +10 -10
- package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +10 -10
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +10 -10
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +12 -12
- package/dist/bubbles/service-bubble/slack/slack-table-blocks.d.ts +1 -0
- package/dist/bubbles/service-bubble/slack/slack-table-blocks.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/slack/slack-table-blocks.js +1 -0
- package/dist/bubbles/service-bubble/slack/slack-table-blocks.js.map +1 -1
- package/dist/bubbles/service-bubble/slack/slack.d.ts +556 -556
- package/dist/bubbles/service-bubble/slack/slack.utils.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/slack/slack.utils.js +63 -17
- package/dist/bubbles/service-bubble/slack/slack.utils.js.map +1 -1
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +157 -157
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +183 -183
- package/dist/bubbles/service-bubble/telegram.d.ts +1540 -1540
- package/dist/bubbles/service-bubble/xero/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/xero/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/xero/index.js +3 -0
- package/dist/bubbles/service-bubble/xero/index.js.map +1 -0
- package/dist/bubbles/service-bubble/xero/xero.d.ts +975 -0
- package/dist/bubbles/service-bubble/xero/xero.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/xero/xero.js +477 -0
- package/dist/bubbles/service-bubble/xero/xero.js.map +1 -0
- package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +924 -0
- package/dist/bubbles/service-bubble/xero/xero.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/xero/xero.schema.js +366 -0
- package/dist/bubbles/service-bubble/xero/xero.schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +19 -19
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +21 -21
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +20 -20
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +26 -26
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +62 -62
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +567 -567
- package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +58 -58
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +28 -28
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +88 -88
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +188 -188
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -22
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +26 -26
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +38 -38
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +40 -40
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +72 -72
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +104 -104
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
- package/dist/bubbles.json +2600 -2
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"xero.schema.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/xero/xero.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AA2C3D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwM3B,CAAC;AAyDH,eAAO,MAAM,gBA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pers
|
|
4
|
+
const credentialsField = z
|
|
5
|
+
.record(z.nativeEnum(CredentialType), z.string())
|
|
6
|
+
.optional()
|
|
7
|
+
.describe('Object mapping credential types to values (injected at runtime)');
|
|
8
|
+
const invoiceIdField = z
|
|
9
|
+
.string()
|
|
10
|
+
.min(1, 'Invoice ID is required')
|
|
11
|
+
.describe('Xero invoice UUID');
|
|
12
|
+
const contactIdField = z
|
|
13
|
+
.string()
|
|
14
|
+
.min(1, 'Contact ID is required')
|
|
15
|
+
.describe('Xero contact UUID');
|
|
16
|
+
// Line item schema for invoices
|
|
17
|
+
const LineItemSchema = z
|
|
18
|
+
.object({
|
|
19
|
+
Description: z.string().describe('Description of the line item'),
|
|
20
|
+
Quantity: z
|
|
21
|
+
.number()
|
|
22
|
+
.optional()
|
|
23
|
+
.default(1)
|
|
24
|
+
.describe('Quantity of the line item (default 1)'),
|
|
25
|
+
UnitAmount: z.number().describe('Unit price of the line item'),
|
|
26
|
+
AccountCode: z
|
|
27
|
+
.string()
|
|
28
|
+
.optional()
|
|
29
|
+
.describe('Account code for the line item (e.g., "200" for Sales, "400" for Advertising)'),
|
|
30
|
+
TaxType: z
|
|
31
|
+
.string()
|
|
32
|
+
.optional()
|
|
33
|
+
.describe('Tax type for the line item (e.g., "OUTPUT", "INPUT")'),
|
|
34
|
+
ItemCode: z.string().optional().describe('Item code from Xero inventory'),
|
|
35
|
+
})
|
|
36
|
+
.describe('A single invoice line item');
|
|
37
|
+
// Parameter schema using discriminated union
|
|
38
|
+
export const XeroParamsSchema = z.discriminatedUnion('operation', [
|
|
39
|
+
// Create invoice
|
|
40
|
+
z.object({
|
|
41
|
+
operation: z
|
|
42
|
+
.literal('create_invoice')
|
|
43
|
+
.describe('Create a new invoice in Xero'),
|
|
44
|
+
type: z
|
|
45
|
+
.enum(['ACCREC', 'ACCPAY'])
|
|
46
|
+
.describe('Invoice type: ACCREC for accounts receivable (sales invoice), ACCPAY for accounts payable (bill)'),
|
|
47
|
+
contact_id: z
|
|
48
|
+
.string()
|
|
49
|
+
.min(1)
|
|
50
|
+
.describe('ContactID of the customer/supplier'),
|
|
51
|
+
line_items: z
|
|
52
|
+
.array(LineItemSchema)
|
|
53
|
+
.min(1)
|
|
54
|
+
.describe('Line items for the invoice'),
|
|
55
|
+
date: z
|
|
56
|
+
.string()
|
|
57
|
+
.optional()
|
|
58
|
+
.describe('Invoice date in YYYY-MM-DD format (defaults to today)'),
|
|
59
|
+
due_date: z.string().optional().describe('Due date in YYYY-MM-DD format'),
|
|
60
|
+
reference: z
|
|
61
|
+
.string()
|
|
62
|
+
.optional()
|
|
63
|
+
.describe('Reference number for the invoice'),
|
|
64
|
+
status: z
|
|
65
|
+
.enum(['DRAFT', 'SUBMITTED', 'AUTHORISED'])
|
|
66
|
+
.optional()
|
|
67
|
+
.default('DRAFT')
|
|
68
|
+
.describe('Invoice status (default DRAFT)'),
|
|
69
|
+
currency_code: z
|
|
70
|
+
.string()
|
|
71
|
+
.optional()
|
|
72
|
+
.describe('Currency code (e.g., "USD", "GBP", "AUD")'),
|
|
73
|
+
credentials: credentialsField,
|
|
74
|
+
}),
|
|
75
|
+
// Get invoice
|
|
76
|
+
z.object({
|
|
77
|
+
operation: z
|
|
78
|
+
.literal('get_invoice')
|
|
79
|
+
.describe('Retrieve a single invoice by ID'),
|
|
80
|
+
invoice_id: invoiceIdField,
|
|
81
|
+
credentials: credentialsField,
|
|
82
|
+
}),
|
|
83
|
+
// List invoices
|
|
84
|
+
z.object({
|
|
85
|
+
operation: z
|
|
86
|
+
.literal('list_invoices')
|
|
87
|
+
.describe('List invoices with optional filters'),
|
|
88
|
+
status: z
|
|
89
|
+
.enum(['DRAFT', 'SUBMITTED', 'AUTHORISED', 'PAID', 'VOIDED', 'DELETED'])
|
|
90
|
+
.optional()
|
|
91
|
+
.describe('Filter by invoice status'),
|
|
92
|
+
page: z
|
|
93
|
+
.number()
|
|
94
|
+
.min(1)
|
|
95
|
+
.optional()
|
|
96
|
+
.default(1)
|
|
97
|
+
.describe('Page number for pagination (default 1)'),
|
|
98
|
+
where: z
|
|
99
|
+
.string()
|
|
100
|
+
.optional()
|
|
101
|
+
.describe('Xero filter expression (e.g., "Type==\\"ACCREC\\"", "Contact.Name==\\"John\\"")'),
|
|
102
|
+
credentials: credentialsField,
|
|
103
|
+
}),
|
|
104
|
+
// Create contact
|
|
105
|
+
z.object({
|
|
106
|
+
operation: z
|
|
107
|
+
.literal('create_contact')
|
|
108
|
+
.describe('Create a new contact (customer or supplier)'),
|
|
109
|
+
name: z.string().min(1).describe('Contact name (required, must be unique)'),
|
|
110
|
+
email: z.string().optional().describe('Contact email address'),
|
|
111
|
+
first_name: z.string().optional().describe('First name'),
|
|
112
|
+
last_name: z.string().optional().describe('Last name'),
|
|
113
|
+
phone: z.string().optional().describe('Phone number'),
|
|
114
|
+
account_number: z
|
|
115
|
+
.string()
|
|
116
|
+
.optional()
|
|
117
|
+
.describe('Account number for the contact'),
|
|
118
|
+
tax_number: z
|
|
119
|
+
.string()
|
|
120
|
+
.optional()
|
|
121
|
+
.describe('Tax number (ABN, VAT, GST number)'),
|
|
122
|
+
credentials: credentialsField,
|
|
123
|
+
}),
|
|
124
|
+
// Get contact
|
|
125
|
+
z.object({
|
|
126
|
+
operation: z
|
|
127
|
+
.literal('get_contact')
|
|
128
|
+
.describe('Retrieve a single contact by ID'),
|
|
129
|
+
contact_id: contactIdField,
|
|
130
|
+
credentials: credentialsField,
|
|
131
|
+
}),
|
|
132
|
+
// List contacts
|
|
133
|
+
z.object({
|
|
134
|
+
operation: z
|
|
135
|
+
.literal('list_contacts')
|
|
136
|
+
.describe('List contacts with optional filters'),
|
|
137
|
+
page: z
|
|
138
|
+
.number()
|
|
139
|
+
.min(1)
|
|
140
|
+
.optional()
|
|
141
|
+
.default(1)
|
|
142
|
+
.describe('Page number for pagination (default 1)'),
|
|
143
|
+
where: z
|
|
144
|
+
.string()
|
|
145
|
+
.optional()
|
|
146
|
+
.describe('Xero filter expression (e.g., "Name.StartsWith(\\"John\\")")'),
|
|
147
|
+
credentials: credentialsField,
|
|
148
|
+
}),
|
|
149
|
+
// List accounts
|
|
150
|
+
z.object({
|
|
151
|
+
operation: z.literal('list_accounts').describe('List chart of accounts'),
|
|
152
|
+
type: z
|
|
153
|
+
.string()
|
|
154
|
+
.optional()
|
|
155
|
+
.describe('Filter by account type (e.g., "REVENUE", "EXPENSE", "BANK", "CURRENT")'),
|
|
156
|
+
credentials: credentialsField,
|
|
157
|
+
}),
|
|
158
|
+
// Get financial report
|
|
159
|
+
z.object({
|
|
160
|
+
operation: z
|
|
161
|
+
.literal('get_report')
|
|
162
|
+
.describe('Retrieve a financial report from Xero'),
|
|
163
|
+
report_type: z
|
|
164
|
+
.enum([
|
|
165
|
+
'BalanceSheet',
|
|
166
|
+
'ProfitAndLoss',
|
|
167
|
+
'TrialBalance',
|
|
168
|
+
'BankSummary',
|
|
169
|
+
'ExecutiveSummary',
|
|
170
|
+
'BudgetSummary',
|
|
171
|
+
'AgedReceivablesByContact',
|
|
172
|
+
'AgedPayablesByContact',
|
|
173
|
+
])
|
|
174
|
+
.describe('The type of report to generate'),
|
|
175
|
+
date: z
|
|
176
|
+
.string()
|
|
177
|
+
.optional()
|
|
178
|
+
.describe('Report date in YYYY-MM-DD format. "As at" date for BalanceSheet/TrialBalance/ExecutiveSummary. Not used for ProfitAndLoss (use from_date/to_date).'),
|
|
179
|
+
from_date: z
|
|
180
|
+
.string()
|
|
181
|
+
.optional()
|
|
182
|
+
.describe('Start date in YYYY-MM-DD format. Used by ProfitAndLoss, BankSummary, and aged reports.'),
|
|
183
|
+
to_date: z
|
|
184
|
+
.string()
|
|
185
|
+
.optional()
|
|
186
|
+
.describe('End date in YYYY-MM-DD format. Used by ProfitAndLoss, BankSummary, and aged reports.'),
|
|
187
|
+
periods: z
|
|
188
|
+
.number()
|
|
189
|
+
.optional()
|
|
190
|
+
.describe('Number of comparison periods (1-11 for most reports, 1-12 for BudgetSummary)'),
|
|
191
|
+
timeframe: z
|
|
192
|
+
.enum(['MONTH', 'QUARTER', 'YEAR'])
|
|
193
|
+
.optional()
|
|
194
|
+
.describe('Timeframe for comparison periods (MONTH, QUARTER, or YEAR)'),
|
|
195
|
+
contact_id: z
|
|
196
|
+
.string()
|
|
197
|
+
.optional()
|
|
198
|
+
.describe('Contact UUID — required for AgedReceivablesByContact and AgedPayablesByContact'),
|
|
199
|
+
payments_only: z
|
|
200
|
+
.boolean()
|
|
201
|
+
.optional()
|
|
202
|
+
.describe('Set true for cash-basis reporting (BalanceSheet, ProfitAndLoss, TrialBalance only)'),
|
|
203
|
+
tracking_category_id: z
|
|
204
|
+
.string()
|
|
205
|
+
.optional()
|
|
206
|
+
.describe('Optional tracking category ID to filter the report by'),
|
|
207
|
+
tracking_option_id: z
|
|
208
|
+
.string()
|
|
209
|
+
.optional()
|
|
210
|
+
.describe('Optional tracking option ID (requires tracking_category_id)'),
|
|
211
|
+
credentials: credentialsField,
|
|
212
|
+
}),
|
|
213
|
+
]);
|
|
214
|
+
// Xero record schemas for response data
|
|
215
|
+
const XeroInvoiceSchema = z
|
|
216
|
+
.object({
|
|
217
|
+
InvoiceID: z.string().describe('Invoice UUID'),
|
|
218
|
+
InvoiceNumber: z.string().optional().describe('Invoice number'),
|
|
219
|
+
Type: z.string().describe('Invoice type (ACCREC or ACCPAY)'),
|
|
220
|
+
Status: z.string().describe('Invoice status'),
|
|
221
|
+
Contact: z
|
|
222
|
+
.object({
|
|
223
|
+
ContactID: z.string(),
|
|
224
|
+
Name: z.string().optional(),
|
|
225
|
+
})
|
|
226
|
+
.optional()
|
|
227
|
+
.describe('Associated contact'),
|
|
228
|
+
Date: z.string().optional().describe('Invoice date'),
|
|
229
|
+
DueDate: z.string().optional().describe('Due date'),
|
|
230
|
+
SubTotal: z.number().optional().describe('Total before tax'),
|
|
231
|
+
Total: z.number().optional().describe('Total amount including tax'),
|
|
232
|
+
AmountDue: z.number().optional().describe('Amount due'),
|
|
233
|
+
AmountPaid: z.number().optional().describe('Amount paid'),
|
|
234
|
+
CurrencyCode: z.string().optional().describe('Currency code'),
|
|
235
|
+
Reference: z.string().optional().describe('Reference'),
|
|
236
|
+
LineItems: z.array(z.record(z.unknown())).optional().describe('Line items'),
|
|
237
|
+
})
|
|
238
|
+
.describe('A Xero invoice');
|
|
239
|
+
const XeroContactSchema = z
|
|
240
|
+
.object({
|
|
241
|
+
ContactID: z.string().describe('Contact UUID'),
|
|
242
|
+
Name: z.string().describe('Contact name'),
|
|
243
|
+
FirstName: z.string().optional().describe('First name'),
|
|
244
|
+
LastName: z.string().optional().describe('Last name'),
|
|
245
|
+
EmailAddress: z.string().optional().describe('Email address'),
|
|
246
|
+
AccountNumber: z.string().optional().describe('Account number'),
|
|
247
|
+
TaxNumber: z.string().optional().describe('Tax number'),
|
|
248
|
+
ContactStatus: z.string().optional().describe('Contact status'),
|
|
249
|
+
Phones: z.array(z.record(z.unknown())).optional().describe('Phone numbers'),
|
|
250
|
+
Addresses: z.array(z.record(z.unknown())).optional().describe('Addresses'),
|
|
251
|
+
})
|
|
252
|
+
.describe('A Xero contact');
|
|
253
|
+
const XeroAccountSchema = z
|
|
254
|
+
.object({
|
|
255
|
+
AccountID: z.string().describe('Account UUID'),
|
|
256
|
+
Code: z.string().optional().describe('Account code'),
|
|
257
|
+
Name: z.string().describe('Account name'),
|
|
258
|
+
Type: z.string().describe('Account type'),
|
|
259
|
+
Status: z.string().optional().describe('Account status'),
|
|
260
|
+
Description: z.string().optional().describe('Account description'),
|
|
261
|
+
Class: z.string().optional().describe('Account class'),
|
|
262
|
+
TaxType: z.string().optional().describe('Tax type'),
|
|
263
|
+
})
|
|
264
|
+
.describe('A Xero account');
|
|
265
|
+
// Result schema
|
|
266
|
+
export const XeroResultSchema = z.discriminatedUnion('operation', [
|
|
267
|
+
// Create invoice result
|
|
268
|
+
z.object({
|
|
269
|
+
operation: z.literal('create_invoice'),
|
|
270
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
271
|
+
invoice: XeroInvoiceSchema.optional().describe('Created invoice'),
|
|
272
|
+
error: z.string().describe('Error message if operation failed'),
|
|
273
|
+
}),
|
|
274
|
+
// Get invoice result
|
|
275
|
+
z.object({
|
|
276
|
+
operation: z.literal('get_invoice'),
|
|
277
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
278
|
+
invoice: XeroInvoiceSchema.optional().describe('Retrieved invoice'),
|
|
279
|
+
error: z.string().describe('Error message if operation failed'),
|
|
280
|
+
}),
|
|
281
|
+
// List invoices result
|
|
282
|
+
z.object({
|
|
283
|
+
operation: z.literal('list_invoices'),
|
|
284
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
285
|
+
invoices: z
|
|
286
|
+
.array(XeroInvoiceSchema)
|
|
287
|
+
.optional()
|
|
288
|
+
.describe('List of invoices'),
|
|
289
|
+
error: z.string().describe('Error message if operation failed'),
|
|
290
|
+
}),
|
|
291
|
+
// Create contact result
|
|
292
|
+
z.object({
|
|
293
|
+
operation: z.literal('create_contact'),
|
|
294
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
295
|
+
contact: XeroContactSchema.optional().describe('Created contact'),
|
|
296
|
+
error: z.string().describe('Error message if operation failed'),
|
|
297
|
+
}),
|
|
298
|
+
// Get contact result
|
|
299
|
+
z.object({
|
|
300
|
+
operation: z.literal('get_contact'),
|
|
301
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
302
|
+
contact: XeroContactSchema.optional().describe('Retrieved contact'),
|
|
303
|
+
error: z.string().describe('Error message if operation failed'),
|
|
304
|
+
}),
|
|
305
|
+
// List contacts result
|
|
306
|
+
z.object({
|
|
307
|
+
operation: z.literal('list_contacts'),
|
|
308
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
309
|
+
contacts: z
|
|
310
|
+
.array(XeroContactSchema)
|
|
311
|
+
.optional()
|
|
312
|
+
.describe('List of contacts'),
|
|
313
|
+
error: z.string().describe('Error message if operation failed'),
|
|
314
|
+
}),
|
|
315
|
+
// List accounts result
|
|
316
|
+
z.object({
|
|
317
|
+
operation: z.literal('list_accounts'),
|
|
318
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
319
|
+
accounts: z
|
|
320
|
+
.array(XeroAccountSchema)
|
|
321
|
+
.optional()
|
|
322
|
+
.describe('List of accounts'),
|
|
323
|
+
error: z.string().describe('Error message if operation failed'),
|
|
324
|
+
}),
|
|
325
|
+
// Get report result
|
|
326
|
+
z.object({
|
|
327
|
+
operation: z.literal('get_report'),
|
|
328
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
329
|
+
report: z
|
|
330
|
+
.object({
|
|
331
|
+
reportName: z.string().describe('Report title'),
|
|
332
|
+
reportType: z.string().describe('Report type identifier'),
|
|
333
|
+
reportDate: z.string().optional().describe('Report date'),
|
|
334
|
+
reportTitles: z
|
|
335
|
+
.array(z.string())
|
|
336
|
+
.optional()
|
|
337
|
+
.describe('Report title lines (e.g., org name, date range)'),
|
|
338
|
+
rows: z
|
|
339
|
+
.array(z.object({
|
|
340
|
+
rowType: z
|
|
341
|
+
.string()
|
|
342
|
+
.describe('Row type: Header, Section, Row, SummaryRow'),
|
|
343
|
+
title: z.string().optional().describe('Section title'),
|
|
344
|
+
cells: z
|
|
345
|
+
.array(z.object({
|
|
346
|
+
value: z.string().describe('Cell display value'),
|
|
347
|
+
accountId: z
|
|
348
|
+
.string()
|
|
349
|
+
.optional()
|
|
350
|
+
.describe('Account UUID if this row is an account'),
|
|
351
|
+
}))
|
|
352
|
+
.optional()
|
|
353
|
+
.describe('Cell values for this row'),
|
|
354
|
+
rows: z
|
|
355
|
+
.array(z.record(z.unknown()))
|
|
356
|
+
.optional()
|
|
357
|
+
.describe('Nested rows within a section'),
|
|
358
|
+
}))
|
|
359
|
+
.describe('Report rows'),
|
|
360
|
+
})
|
|
361
|
+
.optional()
|
|
362
|
+
.describe('Parsed report data'),
|
|
363
|
+
error: z.string().describe('Error message if operation failed'),
|
|
364
|
+
}),
|
|
365
|
+
]);
|
|
366
|
+
//# sourceMappingURL=xero.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"xero.schema.js","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/xero/xero.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,uBAAuB;AACvB,MAAM,gBAAgB,GAAG,CAAC;KACvB,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;KAChD,QAAQ,EAAE;KACV,QAAQ,CAAC,iEAAiE,CAAC,CAAC;AAE/E,MAAM,cAAc,GAAG,CAAC;KACrB,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,EAAE,wBAAwB,CAAC;KAChC,QAAQ,CAAC,mBAAmB,CAAC,CAAC;AAEjC,MAAM,cAAc,GAAG,CAAC;KACrB,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,EAAE,wBAAwB,CAAC;KAChC,QAAQ,CAAC,mBAAmB,CAAC,CAAC;AAEjC,gCAAgC;AAChC,MAAM,cAAc,GAAG,CAAC;KACrB,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IAChE,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,OAAO,CAAC,CAAC,CAAC;SACV,QAAQ,CAAC,uCAAuC,CAAC;IACpD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IAC9D,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,+EAA+E,CAChF;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,QAAQ,EAA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B,CAAC;aAC5C,CAAC,CACH;iBACA,QAAQ,CAAC,aAAa,CAAC;SAC3B,CAAC;aACD,QAAQ,EAAE;aACV,QAAQ,CAAC,oBAAoB,CAAC;QACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;KAChE,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -37,8 +37,8 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
|
|
|
37
37
|
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
38
38
|
}, "strip", import("zod").ZodTypeAny, {
|
|
39
39
|
operation: "add_to_cart";
|
|
40
|
-
product_url: string;
|
|
41
40
|
quantity: number;
|
|
41
|
+
product_url: string;
|
|
42
42
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
43
43
|
}, {
|
|
44
44
|
operation: "add_to_cart";
|
|
@@ -98,12 +98,12 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
|
|
|
98
98
|
}, "strip", import("zod").ZodTypeAny, {
|
|
99
99
|
operation: "screenshot";
|
|
100
100
|
full_page: boolean;
|
|
101
|
-
url?: string | undefined;
|
|
102
101
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
102
|
+
url?: string | undefined;
|
|
103
103
|
}, {
|
|
104
104
|
operation: "screenshot";
|
|
105
|
-
url?: string | undefined;
|
|
106
105
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
106
|
+
url?: string | undefined;
|
|
107
107
|
full_page?: boolean | undefined;
|
|
108
108
|
}>]>;
|
|
109
109
|
static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
|
|
@@ -113,14 +113,14 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
|
|
|
113
113
|
cart_count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
114
114
|
error: import("zod").ZodString;
|
|
115
115
|
}, "strip", import("zod").ZodTypeAny, {
|
|
116
|
-
success: boolean;
|
|
117
116
|
error: string;
|
|
117
|
+
success: boolean;
|
|
118
118
|
operation: "add_to_cart";
|
|
119
119
|
message?: string | undefined;
|
|
120
120
|
cart_count?: number | undefined;
|
|
121
121
|
}, {
|
|
122
|
-
success: boolean;
|
|
123
122
|
error: string;
|
|
123
|
+
success: boolean;
|
|
124
124
|
operation: "add_to_cart";
|
|
125
125
|
message?: string | undefined;
|
|
126
126
|
cart_count?: number | undefined;
|
|
@@ -139,46 +139,46 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
|
|
|
139
139
|
price: string;
|
|
140
140
|
quantity: number;
|
|
141
141
|
asin: string;
|
|
142
|
-
url?: string | undefined;
|
|
143
142
|
image?: string | undefined;
|
|
143
|
+
url?: string | undefined;
|
|
144
144
|
}, {
|
|
145
145
|
title: string;
|
|
146
146
|
price: string;
|
|
147
147
|
quantity: number;
|
|
148
148
|
asin: string;
|
|
149
|
-
url?: string | undefined;
|
|
150
149
|
image?: string | undefined;
|
|
150
|
+
url?: string | undefined;
|
|
151
151
|
}>, "many">>;
|
|
152
152
|
subtotal: import("zod").ZodOptional<import("zod").ZodString>;
|
|
153
153
|
total_items: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
154
154
|
screenshot_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
155
155
|
error: import("zod").ZodString;
|
|
156
156
|
}, "strip", import("zod").ZodTypeAny, {
|
|
157
|
-
success: boolean;
|
|
158
157
|
error: string;
|
|
158
|
+
success: boolean;
|
|
159
159
|
operation: "get_cart";
|
|
160
160
|
items?: {
|
|
161
161
|
title: string;
|
|
162
162
|
price: string;
|
|
163
163
|
quantity: number;
|
|
164
164
|
asin: string;
|
|
165
|
-
url?: string | undefined;
|
|
166
165
|
image?: string | undefined;
|
|
166
|
+
url?: string | undefined;
|
|
167
167
|
}[] | undefined;
|
|
168
168
|
subtotal?: string | undefined;
|
|
169
169
|
total_items?: number | undefined;
|
|
170
170
|
screenshot_url?: string | undefined;
|
|
171
171
|
}, {
|
|
172
|
-
success: boolean;
|
|
173
172
|
error: string;
|
|
173
|
+
success: boolean;
|
|
174
174
|
operation: "get_cart";
|
|
175
175
|
items?: {
|
|
176
176
|
title: string;
|
|
177
177
|
price: string;
|
|
178
178
|
quantity: number;
|
|
179
179
|
asin: string;
|
|
180
|
-
url?: string | undefined;
|
|
181
180
|
image?: string | undefined;
|
|
181
|
+
url?: string | undefined;
|
|
182
182
|
}[] | undefined;
|
|
183
183
|
subtotal?: string | undefined;
|
|
184
184
|
total_items?: number | undefined;
|
|
@@ -210,8 +210,8 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
|
|
|
210
210
|
screenshot_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
211
211
|
error: import("zod").ZodString;
|
|
212
212
|
}, "strip", import("zod").ZodTypeAny, {
|
|
213
|
-
success: boolean;
|
|
214
213
|
error: string;
|
|
214
|
+
success: boolean;
|
|
215
215
|
operation: "checkout";
|
|
216
216
|
items?: {
|
|
217
217
|
title: string;
|
|
@@ -228,8 +228,8 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
|
|
|
228
228
|
shipping_address?: string | undefined;
|
|
229
229
|
payment_method?: string | undefined;
|
|
230
230
|
}, {
|
|
231
|
-
success: boolean;
|
|
232
231
|
error: string;
|
|
232
|
+
success: boolean;
|
|
233
233
|
operation: "checkout";
|
|
234
234
|
items?: {
|
|
235
235
|
title: string;
|
|
@@ -279,8 +279,8 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
|
|
|
279
279
|
total_results: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
280
280
|
error: import("zod").ZodString;
|
|
281
281
|
}, "strip", import("zod").ZodTypeAny, {
|
|
282
|
-
success: boolean;
|
|
283
282
|
error: string;
|
|
283
|
+
success: boolean;
|
|
284
284
|
operation: "search";
|
|
285
285
|
results?: {
|
|
286
286
|
title: string;
|
|
@@ -294,8 +294,8 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
|
|
|
294
294
|
}[] | undefined;
|
|
295
295
|
total_results?: number | undefined;
|
|
296
296
|
}, {
|
|
297
|
-
success: boolean;
|
|
298
297
|
error: string;
|
|
298
|
+
success: boolean;
|
|
299
299
|
operation: "search";
|
|
300
300
|
results?: {
|
|
301
301
|
title: string;
|
|
@@ -347,8 +347,8 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
|
|
|
347
347
|
}>>;
|
|
348
348
|
error: import("zod").ZodString;
|
|
349
349
|
}, "strip", import("zod").ZodTypeAny, {
|
|
350
|
-
success: boolean;
|
|
351
350
|
error: string;
|
|
351
|
+
success: boolean;
|
|
352
352
|
operation: "get_product";
|
|
353
353
|
product?: {
|
|
354
354
|
title: string;
|
|
@@ -363,8 +363,8 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
|
|
|
363
363
|
availability?: string | undefined;
|
|
364
364
|
} | undefined;
|
|
365
365
|
}, {
|
|
366
|
-
success: boolean;
|
|
367
366
|
error: string;
|
|
367
|
+
success: boolean;
|
|
368
368
|
operation: "get_product";
|
|
369
369
|
product?: {
|
|
370
370
|
title: string;
|
|
@@ -384,13 +384,13 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
|
|
|
384
384
|
screenshot_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
385
385
|
error: import("zod").ZodString;
|
|
386
386
|
}, "strip", import("zod").ZodTypeAny, {
|
|
387
|
-
success: boolean;
|
|
388
387
|
error: string;
|
|
388
|
+
success: boolean;
|
|
389
389
|
operation: "screenshot";
|
|
390
390
|
screenshot_url?: string | undefined;
|
|
391
391
|
}, {
|
|
392
|
-
success: boolean;
|
|
393
392
|
error: string;
|
|
393
|
+
success: boolean;
|
|
394
394
|
operation: "screenshot";
|
|
395
395
|
screenshot_url?: string | undefined;
|
|
396
396
|
}>]>;
|