@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.
- package/dist/bubble-bundle.d.ts +227 -188
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +4 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +60 -60
- package/dist/bubbles/service-bubble/ai-agent.d.ts +8 -8
- package/dist/bubbles/service-bubble/airtable.d.ts +50 -50
- 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 +4 -4
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +52 -52
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +18 -18
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +10 -10
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +27 -27
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +131 -131
- package/dist/bubbles/service-bubble/apify/apify.d.ts +12 -12
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +62 -62
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +84 -84
- package/dist/bubbles/service-bubble/assembled/assembled.d.ts +36 -36
- package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +36 -36
- package/dist/bubbles/service-bubble/attio/attio.d.ts +28 -28
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +28 -28
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +30 -30
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +32 -32
- 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 +783 -783
- package/dist/bubbles/service-bubble/followupboss.d.ts +140 -140
- 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 +84 -84
- package/dist/bubbles/service-bubble/gmail.d.ts +80 -80
- package/dist/bubbles/service-bubble/google-calendar.d.ts +138 -138
- package/dist/bubbles/service-bubble/google-drive.d.ts +56 -56
- 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 +16 -16
- 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 +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +86 -86
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +94 -94
- 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 +522 -522
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +22 -22
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +26 -26
- 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.d.ts +252 -252
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +129 -129
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +149 -149
- 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 +13 -13
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +13 -13
- 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 +16 -16
- 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 +52 -52
- 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 +186 -186
- 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 +14 -14
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +28 -28
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +28 -28
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +54 -54
- 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 +22 -22
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +28 -28
- 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 +34 -34
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +90 -90
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
- package/dist/bubbles.json +1189 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/bubbles.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "2.0.0",
|
|
3
|
-
"generatedAt": "2026-03-
|
|
4
|
-
"totalCount":
|
|
3
|
+
"generatedAt": "2026-03-06T02:19:37.092Z",
|
|
4
|
+
"totalCount": 72,
|
|
5
5
|
"bubbles": [
|
|
6
6
|
{
|
|
7
7
|
"name": "hello-world",
|
|
@@ -70298,6 +70298,1193 @@
|
|
|
70298
70298
|
"requiredCredentials": [
|
|
70299
70299
|
"ASSEMBLED_CRED"
|
|
70300
70300
|
]
|
|
70301
|
+
},
|
|
70302
|
+
{
|
|
70303
|
+
"name": "xero",
|
|
70304
|
+
"alias": "accounting",
|
|
70305
|
+
"type": "service",
|
|
70306
|
+
"shortDescription": "Xero accounting integration for invoices, contacts, and accounts",
|
|
70307
|
+
"useCase": "- Automated invoice creation and tracking",
|
|
70308
|
+
"outputSchema": "Complex schema - see usage example for structure",
|
|
70309
|
+
"inputJsonSchema": {
|
|
70310
|
+
"anyOf": [
|
|
70311
|
+
{
|
|
70312
|
+
"type": "object",
|
|
70313
|
+
"properties": {
|
|
70314
|
+
"operation": {
|
|
70315
|
+
"type": "string",
|
|
70316
|
+
"enum": [
|
|
70317
|
+
"create_invoice"
|
|
70318
|
+
],
|
|
70319
|
+
"description": "Create a new invoice in Xero"
|
|
70320
|
+
},
|
|
70321
|
+
"type": {
|
|
70322
|
+
"type": "string",
|
|
70323
|
+
"enum": [
|
|
70324
|
+
"ACCREC",
|
|
70325
|
+
"ACCPAY"
|
|
70326
|
+
],
|
|
70327
|
+
"description": "Invoice type: ACCREC for accounts receivable (sales invoice), ACCPAY for accounts payable (bill)"
|
|
70328
|
+
},
|
|
70329
|
+
"contact_id": {
|
|
70330
|
+
"type": "string",
|
|
70331
|
+
"minLength": 1,
|
|
70332
|
+
"description": "ContactID of the customer/supplier"
|
|
70333
|
+
},
|
|
70334
|
+
"line_items": {
|
|
70335
|
+
"type": "array",
|
|
70336
|
+
"items": {
|
|
70337
|
+
"type": "object",
|
|
70338
|
+
"properties": {
|
|
70339
|
+
"Description": {
|
|
70340
|
+
"type": "string",
|
|
70341
|
+
"description": "Description of the line item"
|
|
70342
|
+
},
|
|
70343
|
+
"Quantity": {
|
|
70344
|
+
"type": "number",
|
|
70345
|
+
"default": 1,
|
|
70346
|
+
"description": "Quantity of the line item (default 1)"
|
|
70347
|
+
},
|
|
70348
|
+
"UnitAmount": {
|
|
70349
|
+
"type": "number",
|
|
70350
|
+
"description": "Unit price of the line item"
|
|
70351
|
+
},
|
|
70352
|
+
"AccountCode": {
|
|
70353
|
+
"type": "string",
|
|
70354
|
+
"description": "Account code for the line item (e.g., \"200\" for Sales, \"400\" for Advertising)"
|
|
70355
|
+
},
|
|
70356
|
+
"TaxType": {
|
|
70357
|
+
"type": "string",
|
|
70358
|
+
"description": "Tax type for the line item (e.g., \"OUTPUT\", \"INPUT\")"
|
|
70359
|
+
},
|
|
70360
|
+
"ItemCode": {
|
|
70361
|
+
"type": "string",
|
|
70362
|
+
"description": "Item code from Xero inventory"
|
|
70363
|
+
}
|
|
70364
|
+
},
|
|
70365
|
+
"required": [
|
|
70366
|
+
"Description",
|
|
70367
|
+
"UnitAmount"
|
|
70368
|
+
],
|
|
70369
|
+
"additionalProperties": false,
|
|
70370
|
+
"description": "A single invoice line item"
|
|
70371
|
+
},
|
|
70372
|
+
"minItems": 1,
|
|
70373
|
+
"description": "Line items for the invoice"
|
|
70374
|
+
},
|
|
70375
|
+
"date": {
|
|
70376
|
+
"type": "string",
|
|
70377
|
+
"description": "Invoice date in YYYY-MM-DD format (defaults to today)"
|
|
70378
|
+
},
|
|
70379
|
+
"due_date": {
|
|
70380
|
+
"type": "string",
|
|
70381
|
+
"description": "Due date in YYYY-MM-DD format"
|
|
70382
|
+
},
|
|
70383
|
+
"reference": {
|
|
70384
|
+
"type": "string",
|
|
70385
|
+
"description": "Reference number for the invoice"
|
|
70386
|
+
},
|
|
70387
|
+
"status": {
|
|
70388
|
+
"type": "string",
|
|
70389
|
+
"enum": [
|
|
70390
|
+
"DRAFT",
|
|
70391
|
+
"SUBMITTED",
|
|
70392
|
+
"AUTHORISED"
|
|
70393
|
+
],
|
|
70394
|
+
"default": "DRAFT",
|
|
70395
|
+
"description": "Invoice status (default DRAFT)"
|
|
70396
|
+
},
|
|
70397
|
+
"currency_code": {
|
|
70398
|
+
"type": "string",
|
|
70399
|
+
"description": "Currency code (e.g., \"USD\", \"GBP\", \"AUD\")"
|
|
70400
|
+
},
|
|
70401
|
+
"credentials": {
|
|
70402
|
+
"type": "object",
|
|
70403
|
+
"additionalProperties": {
|
|
70404
|
+
"type": "string"
|
|
70405
|
+
},
|
|
70406
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
70407
|
+
}
|
|
70408
|
+
},
|
|
70409
|
+
"required": [
|
|
70410
|
+
"operation",
|
|
70411
|
+
"type",
|
|
70412
|
+
"contact_id",
|
|
70413
|
+
"line_items"
|
|
70414
|
+
],
|
|
70415
|
+
"additionalProperties": false
|
|
70416
|
+
},
|
|
70417
|
+
{
|
|
70418
|
+
"type": "object",
|
|
70419
|
+
"properties": {
|
|
70420
|
+
"operation": {
|
|
70421
|
+
"type": "string",
|
|
70422
|
+
"enum": [
|
|
70423
|
+
"get_invoice"
|
|
70424
|
+
],
|
|
70425
|
+
"description": "Retrieve a single invoice by ID"
|
|
70426
|
+
},
|
|
70427
|
+
"invoice_id": {
|
|
70428
|
+
"type": "string",
|
|
70429
|
+
"minLength": 1,
|
|
70430
|
+
"description": "Xero invoice UUID"
|
|
70431
|
+
},
|
|
70432
|
+
"credentials": {
|
|
70433
|
+
"type": "object",
|
|
70434
|
+
"additionalProperties": {
|
|
70435
|
+
"type": "string"
|
|
70436
|
+
},
|
|
70437
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
70438
|
+
}
|
|
70439
|
+
},
|
|
70440
|
+
"required": [
|
|
70441
|
+
"operation",
|
|
70442
|
+
"invoice_id"
|
|
70443
|
+
],
|
|
70444
|
+
"additionalProperties": false
|
|
70445
|
+
},
|
|
70446
|
+
{
|
|
70447
|
+
"type": "object",
|
|
70448
|
+
"properties": {
|
|
70449
|
+
"operation": {
|
|
70450
|
+
"type": "string",
|
|
70451
|
+
"enum": [
|
|
70452
|
+
"list_invoices"
|
|
70453
|
+
],
|
|
70454
|
+
"description": "List invoices with optional filters"
|
|
70455
|
+
},
|
|
70456
|
+
"status": {
|
|
70457
|
+
"type": "string",
|
|
70458
|
+
"enum": [
|
|
70459
|
+
"DRAFT",
|
|
70460
|
+
"SUBMITTED",
|
|
70461
|
+
"AUTHORISED",
|
|
70462
|
+
"PAID",
|
|
70463
|
+
"VOIDED",
|
|
70464
|
+
"DELETED"
|
|
70465
|
+
],
|
|
70466
|
+
"description": "Filter by invoice status"
|
|
70467
|
+
},
|
|
70468
|
+
"page": {
|
|
70469
|
+
"type": "number",
|
|
70470
|
+
"minimum": 1,
|
|
70471
|
+
"default": 1,
|
|
70472
|
+
"description": "Page number for pagination (default 1)"
|
|
70473
|
+
},
|
|
70474
|
+
"where": {
|
|
70475
|
+
"type": "string",
|
|
70476
|
+
"description": "Xero filter expression (e.g., \"Type==\\\"ACCREC\\\"\", \"Contact.Name==\\\"John\\\"\")"
|
|
70477
|
+
},
|
|
70478
|
+
"credentials": {
|
|
70479
|
+
"type": "object",
|
|
70480
|
+
"additionalProperties": {
|
|
70481
|
+
"type": "string"
|
|
70482
|
+
},
|
|
70483
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
70484
|
+
}
|
|
70485
|
+
},
|
|
70486
|
+
"required": [
|
|
70487
|
+
"operation"
|
|
70488
|
+
],
|
|
70489
|
+
"additionalProperties": false
|
|
70490
|
+
},
|
|
70491
|
+
{
|
|
70492
|
+
"type": "object",
|
|
70493
|
+
"properties": {
|
|
70494
|
+
"operation": {
|
|
70495
|
+
"type": "string",
|
|
70496
|
+
"enum": [
|
|
70497
|
+
"create_contact"
|
|
70498
|
+
],
|
|
70499
|
+
"description": "Create a new contact (customer or supplier)"
|
|
70500
|
+
},
|
|
70501
|
+
"name": {
|
|
70502
|
+
"type": "string",
|
|
70503
|
+
"minLength": 1,
|
|
70504
|
+
"description": "Contact name (required, must be unique)"
|
|
70505
|
+
},
|
|
70506
|
+
"email": {
|
|
70507
|
+
"type": "string",
|
|
70508
|
+
"description": "Contact email address"
|
|
70509
|
+
},
|
|
70510
|
+
"first_name": {
|
|
70511
|
+
"type": "string",
|
|
70512
|
+
"description": "First name"
|
|
70513
|
+
},
|
|
70514
|
+
"last_name": {
|
|
70515
|
+
"type": "string",
|
|
70516
|
+
"description": "Last name"
|
|
70517
|
+
},
|
|
70518
|
+
"phone": {
|
|
70519
|
+
"type": "string",
|
|
70520
|
+
"description": "Phone number"
|
|
70521
|
+
},
|
|
70522
|
+
"account_number": {
|
|
70523
|
+
"type": "string",
|
|
70524
|
+
"description": "Account number for the contact"
|
|
70525
|
+
},
|
|
70526
|
+
"tax_number": {
|
|
70527
|
+
"type": "string",
|
|
70528
|
+
"description": "Tax number (ABN, VAT, GST number)"
|
|
70529
|
+
},
|
|
70530
|
+
"credentials": {
|
|
70531
|
+
"type": "object",
|
|
70532
|
+
"additionalProperties": {
|
|
70533
|
+
"type": "string"
|
|
70534
|
+
},
|
|
70535
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
70536
|
+
}
|
|
70537
|
+
},
|
|
70538
|
+
"required": [
|
|
70539
|
+
"operation",
|
|
70540
|
+
"name"
|
|
70541
|
+
],
|
|
70542
|
+
"additionalProperties": false
|
|
70543
|
+
},
|
|
70544
|
+
{
|
|
70545
|
+
"type": "object",
|
|
70546
|
+
"properties": {
|
|
70547
|
+
"operation": {
|
|
70548
|
+
"type": "string",
|
|
70549
|
+
"enum": [
|
|
70550
|
+
"get_contact"
|
|
70551
|
+
],
|
|
70552
|
+
"description": "Retrieve a single contact by ID"
|
|
70553
|
+
},
|
|
70554
|
+
"contact_id": {
|
|
70555
|
+
"type": "string",
|
|
70556
|
+
"minLength": 1,
|
|
70557
|
+
"description": "Xero contact UUID"
|
|
70558
|
+
},
|
|
70559
|
+
"credentials": {
|
|
70560
|
+
"type": "object",
|
|
70561
|
+
"additionalProperties": {
|
|
70562
|
+
"type": "string"
|
|
70563
|
+
},
|
|
70564
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
70565
|
+
}
|
|
70566
|
+
},
|
|
70567
|
+
"required": [
|
|
70568
|
+
"operation",
|
|
70569
|
+
"contact_id"
|
|
70570
|
+
],
|
|
70571
|
+
"additionalProperties": false
|
|
70572
|
+
},
|
|
70573
|
+
{
|
|
70574
|
+
"type": "object",
|
|
70575
|
+
"properties": {
|
|
70576
|
+
"operation": {
|
|
70577
|
+
"type": "string",
|
|
70578
|
+
"enum": [
|
|
70579
|
+
"list_contacts"
|
|
70580
|
+
],
|
|
70581
|
+
"description": "List contacts with optional filters"
|
|
70582
|
+
},
|
|
70583
|
+
"page": {
|
|
70584
|
+
"type": "number",
|
|
70585
|
+
"minimum": 1,
|
|
70586
|
+
"default": 1,
|
|
70587
|
+
"description": "Page number for pagination (default 1)"
|
|
70588
|
+
},
|
|
70589
|
+
"where": {
|
|
70590
|
+
"type": "string",
|
|
70591
|
+
"description": "Xero filter expression (e.g., \"Name.StartsWith(\\\"John\\\")\")"
|
|
70592
|
+
},
|
|
70593
|
+
"credentials": {
|
|
70594
|
+
"type": "object",
|
|
70595
|
+
"additionalProperties": {
|
|
70596
|
+
"type": "string"
|
|
70597
|
+
},
|
|
70598
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
70599
|
+
}
|
|
70600
|
+
},
|
|
70601
|
+
"required": [
|
|
70602
|
+
"operation"
|
|
70603
|
+
],
|
|
70604
|
+
"additionalProperties": false
|
|
70605
|
+
},
|
|
70606
|
+
{
|
|
70607
|
+
"type": "object",
|
|
70608
|
+
"properties": {
|
|
70609
|
+
"operation": {
|
|
70610
|
+
"type": "string",
|
|
70611
|
+
"enum": [
|
|
70612
|
+
"list_accounts"
|
|
70613
|
+
],
|
|
70614
|
+
"description": "List chart of accounts"
|
|
70615
|
+
},
|
|
70616
|
+
"type": {
|
|
70617
|
+
"type": "string",
|
|
70618
|
+
"description": "Filter by account type (e.g., \"REVENUE\", \"EXPENSE\", \"BANK\", \"CURRENT\")"
|
|
70619
|
+
},
|
|
70620
|
+
"credentials": {
|
|
70621
|
+
"type": "object",
|
|
70622
|
+
"additionalProperties": {
|
|
70623
|
+
"type": "string"
|
|
70624
|
+
},
|
|
70625
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
70626
|
+
}
|
|
70627
|
+
},
|
|
70628
|
+
"required": [
|
|
70629
|
+
"operation"
|
|
70630
|
+
],
|
|
70631
|
+
"additionalProperties": false
|
|
70632
|
+
},
|
|
70633
|
+
{
|
|
70634
|
+
"type": "object",
|
|
70635
|
+
"properties": {
|
|
70636
|
+
"operation": {
|
|
70637
|
+
"type": "string",
|
|
70638
|
+
"enum": [
|
|
70639
|
+
"get_report"
|
|
70640
|
+
],
|
|
70641
|
+
"description": "Retrieve a financial report from Xero"
|
|
70642
|
+
},
|
|
70643
|
+
"report_type": {
|
|
70644
|
+
"type": "string",
|
|
70645
|
+
"enum": [
|
|
70646
|
+
"BalanceSheet",
|
|
70647
|
+
"ProfitAndLoss",
|
|
70648
|
+
"TrialBalance",
|
|
70649
|
+
"BankSummary",
|
|
70650
|
+
"ExecutiveSummary",
|
|
70651
|
+
"BudgetSummary",
|
|
70652
|
+
"AgedReceivablesByContact",
|
|
70653
|
+
"AgedPayablesByContact"
|
|
70654
|
+
],
|
|
70655
|
+
"description": "The type of report to generate"
|
|
70656
|
+
},
|
|
70657
|
+
"date": {
|
|
70658
|
+
"type": "string",
|
|
70659
|
+
"description": "Report date in YYYY-MM-DD format. \"As at\" date for BalanceSheet/TrialBalance/ExecutiveSummary. Not used for ProfitAndLoss (use from_date/to_date)."
|
|
70660
|
+
},
|
|
70661
|
+
"from_date": {
|
|
70662
|
+
"type": "string",
|
|
70663
|
+
"description": "Start date in YYYY-MM-DD format. Used by ProfitAndLoss, BankSummary, and aged reports."
|
|
70664
|
+
},
|
|
70665
|
+
"to_date": {
|
|
70666
|
+
"type": "string",
|
|
70667
|
+
"description": "End date in YYYY-MM-DD format. Used by ProfitAndLoss, BankSummary, and aged reports."
|
|
70668
|
+
},
|
|
70669
|
+
"periods": {
|
|
70670
|
+
"type": "number",
|
|
70671
|
+
"description": "Number of comparison periods (1-11 for most reports, 1-12 for BudgetSummary)"
|
|
70672
|
+
},
|
|
70673
|
+
"timeframe": {
|
|
70674
|
+
"type": "string",
|
|
70675
|
+
"enum": [
|
|
70676
|
+
"MONTH",
|
|
70677
|
+
"QUARTER",
|
|
70678
|
+
"YEAR"
|
|
70679
|
+
],
|
|
70680
|
+
"description": "Timeframe for comparison periods (MONTH, QUARTER, or YEAR)"
|
|
70681
|
+
},
|
|
70682
|
+
"contact_id": {
|
|
70683
|
+
"type": "string",
|
|
70684
|
+
"description": "Contact UUID — required for AgedReceivablesByContact and AgedPayablesByContact"
|
|
70685
|
+
},
|
|
70686
|
+
"payments_only": {
|
|
70687
|
+
"type": "boolean",
|
|
70688
|
+
"description": "Set true for cash-basis reporting (BalanceSheet, ProfitAndLoss, TrialBalance only)"
|
|
70689
|
+
},
|
|
70690
|
+
"tracking_category_id": {
|
|
70691
|
+
"type": "string",
|
|
70692
|
+
"description": "Optional tracking category ID to filter the report by"
|
|
70693
|
+
},
|
|
70694
|
+
"tracking_option_id": {
|
|
70695
|
+
"type": "string",
|
|
70696
|
+
"description": "Optional tracking option ID (requires tracking_category_id)"
|
|
70697
|
+
},
|
|
70698
|
+
"credentials": {
|
|
70699
|
+
"type": "object",
|
|
70700
|
+
"additionalProperties": {
|
|
70701
|
+
"type": "string"
|
|
70702
|
+
},
|
|
70703
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
70704
|
+
}
|
|
70705
|
+
},
|
|
70706
|
+
"required": [
|
|
70707
|
+
"operation",
|
|
70708
|
+
"report_type"
|
|
70709
|
+
],
|
|
70710
|
+
"additionalProperties": false
|
|
70711
|
+
}
|
|
70712
|
+
]
|
|
70713
|
+
},
|
|
70714
|
+
"outputJsonSchema": {
|
|
70715
|
+
"anyOf": [
|
|
70716
|
+
{
|
|
70717
|
+
"type": "object",
|
|
70718
|
+
"properties": {
|
|
70719
|
+
"operation": {
|
|
70720
|
+
"type": "string",
|
|
70721
|
+
"enum": [
|
|
70722
|
+
"create_invoice"
|
|
70723
|
+
]
|
|
70724
|
+
},
|
|
70725
|
+
"success": {
|
|
70726
|
+
"type": "boolean",
|
|
70727
|
+
"description": "Whether the operation was successful"
|
|
70728
|
+
},
|
|
70729
|
+
"invoice": {
|
|
70730
|
+
"type": "object",
|
|
70731
|
+
"properties": {
|
|
70732
|
+
"InvoiceID": {
|
|
70733
|
+
"type": "string",
|
|
70734
|
+
"description": "Invoice UUID"
|
|
70735
|
+
},
|
|
70736
|
+
"InvoiceNumber": {
|
|
70737
|
+
"type": "string",
|
|
70738
|
+
"description": "Invoice number"
|
|
70739
|
+
},
|
|
70740
|
+
"Type": {
|
|
70741
|
+
"type": "string",
|
|
70742
|
+
"description": "Invoice type (ACCREC or ACCPAY)"
|
|
70743
|
+
},
|
|
70744
|
+
"Status": {
|
|
70745
|
+
"type": "string",
|
|
70746
|
+
"description": "Invoice status"
|
|
70747
|
+
},
|
|
70748
|
+
"Contact": {
|
|
70749
|
+
"type": "object",
|
|
70750
|
+
"properties": {
|
|
70751
|
+
"ContactID": {
|
|
70752
|
+
"type": "string"
|
|
70753
|
+
},
|
|
70754
|
+
"Name": {
|
|
70755
|
+
"type": "string"
|
|
70756
|
+
}
|
|
70757
|
+
},
|
|
70758
|
+
"required": [
|
|
70759
|
+
"ContactID"
|
|
70760
|
+
],
|
|
70761
|
+
"additionalProperties": false,
|
|
70762
|
+
"description": "Associated contact"
|
|
70763
|
+
},
|
|
70764
|
+
"Date": {
|
|
70765
|
+
"type": "string",
|
|
70766
|
+
"description": "Invoice date"
|
|
70767
|
+
},
|
|
70768
|
+
"DueDate": {
|
|
70769
|
+
"type": "string",
|
|
70770
|
+
"description": "Due date"
|
|
70771
|
+
},
|
|
70772
|
+
"SubTotal": {
|
|
70773
|
+
"type": "number",
|
|
70774
|
+
"description": "Total before tax"
|
|
70775
|
+
},
|
|
70776
|
+
"Total": {
|
|
70777
|
+
"type": "number",
|
|
70778
|
+
"description": "Total amount including tax"
|
|
70779
|
+
},
|
|
70780
|
+
"AmountDue": {
|
|
70781
|
+
"type": "number",
|
|
70782
|
+
"description": "Amount due"
|
|
70783
|
+
},
|
|
70784
|
+
"AmountPaid": {
|
|
70785
|
+
"type": "number",
|
|
70786
|
+
"description": "Amount paid"
|
|
70787
|
+
},
|
|
70788
|
+
"CurrencyCode": {
|
|
70789
|
+
"type": "string",
|
|
70790
|
+
"description": "Currency code"
|
|
70791
|
+
},
|
|
70792
|
+
"Reference": {
|
|
70793
|
+
"type": "string",
|
|
70794
|
+
"description": "Reference"
|
|
70795
|
+
},
|
|
70796
|
+
"LineItems": {
|
|
70797
|
+
"type": "array",
|
|
70798
|
+
"items": {
|
|
70799
|
+
"type": "object",
|
|
70800
|
+
"additionalProperties": {}
|
|
70801
|
+
},
|
|
70802
|
+
"description": "Line items"
|
|
70803
|
+
}
|
|
70804
|
+
},
|
|
70805
|
+
"required": [
|
|
70806
|
+
"InvoiceID",
|
|
70807
|
+
"Type",
|
|
70808
|
+
"Status"
|
|
70809
|
+
],
|
|
70810
|
+
"additionalProperties": false,
|
|
70811
|
+
"description": "Created invoice"
|
|
70812
|
+
},
|
|
70813
|
+
"error": {
|
|
70814
|
+
"type": "string",
|
|
70815
|
+
"description": "Error message if operation failed"
|
|
70816
|
+
}
|
|
70817
|
+
},
|
|
70818
|
+
"required": [
|
|
70819
|
+
"operation",
|
|
70820
|
+
"success",
|
|
70821
|
+
"error"
|
|
70822
|
+
],
|
|
70823
|
+
"additionalProperties": false
|
|
70824
|
+
},
|
|
70825
|
+
{
|
|
70826
|
+
"type": "object",
|
|
70827
|
+
"properties": {
|
|
70828
|
+
"operation": {
|
|
70829
|
+
"type": "string",
|
|
70830
|
+
"enum": [
|
|
70831
|
+
"get_invoice"
|
|
70832
|
+
]
|
|
70833
|
+
},
|
|
70834
|
+
"success": {
|
|
70835
|
+
"type": "boolean",
|
|
70836
|
+
"description": "Whether the operation was successful"
|
|
70837
|
+
},
|
|
70838
|
+
"invoice": {
|
|
70839
|
+
"type": "object",
|
|
70840
|
+
"properties": {
|
|
70841
|
+
"InvoiceID": {
|
|
70842
|
+
"type": "string",
|
|
70843
|
+
"description": "Invoice UUID"
|
|
70844
|
+
},
|
|
70845
|
+
"InvoiceNumber": {
|
|
70846
|
+
"type": "string",
|
|
70847
|
+
"description": "Invoice number"
|
|
70848
|
+
},
|
|
70849
|
+
"Type": {
|
|
70850
|
+
"type": "string",
|
|
70851
|
+
"description": "Invoice type (ACCREC or ACCPAY)"
|
|
70852
|
+
},
|
|
70853
|
+
"Status": {
|
|
70854
|
+
"type": "string",
|
|
70855
|
+
"description": "Invoice status"
|
|
70856
|
+
},
|
|
70857
|
+
"Contact": {
|
|
70858
|
+
"type": "object",
|
|
70859
|
+
"properties": {
|
|
70860
|
+
"ContactID": {
|
|
70861
|
+
"type": "string"
|
|
70862
|
+
},
|
|
70863
|
+
"Name": {
|
|
70864
|
+
"type": "string"
|
|
70865
|
+
}
|
|
70866
|
+
},
|
|
70867
|
+
"required": [
|
|
70868
|
+
"ContactID"
|
|
70869
|
+
],
|
|
70870
|
+
"additionalProperties": false,
|
|
70871
|
+
"description": "Associated contact"
|
|
70872
|
+
},
|
|
70873
|
+
"Date": {
|
|
70874
|
+
"type": "string",
|
|
70875
|
+
"description": "Invoice date"
|
|
70876
|
+
},
|
|
70877
|
+
"DueDate": {
|
|
70878
|
+
"type": "string",
|
|
70879
|
+
"description": "Due date"
|
|
70880
|
+
},
|
|
70881
|
+
"SubTotal": {
|
|
70882
|
+
"type": "number",
|
|
70883
|
+
"description": "Total before tax"
|
|
70884
|
+
},
|
|
70885
|
+
"Total": {
|
|
70886
|
+
"type": "number",
|
|
70887
|
+
"description": "Total amount including tax"
|
|
70888
|
+
},
|
|
70889
|
+
"AmountDue": {
|
|
70890
|
+
"type": "number",
|
|
70891
|
+
"description": "Amount due"
|
|
70892
|
+
},
|
|
70893
|
+
"AmountPaid": {
|
|
70894
|
+
"type": "number",
|
|
70895
|
+
"description": "Amount paid"
|
|
70896
|
+
},
|
|
70897
|
+
"CurrencyCode": {
|
|
70898
|
+
"type": "string",
|
|
70899
|
+
"description": "Currency code"
|
|
70900
|
+
},
|
|
70901
|
+
"Reference": {
|
|
70902
|
+
"type": "string",
|
|
70903
|
+
"description": "Reference"
|
|
70904
|
+
},
|
|
70905
|
+
"LineItems": {
|
|
70906
|
+
"type": "array",
|
|
70907
|
+
"items": {
|
|
70908
|
+
"type": "object",
|
|
70909
|
+
"additionalProperties": {}
|
|
70910
|
+
},
|
|
70911
|
+
"description": "Line items"
|
|
70912
|
+
}
|
|
70913
|
+
},
|
|
70914
|
+
"required": [
|
|
70915
|
+
"InvoiceID",
|
|
70916
|
+
"Type",
|
|
70917
|
+
"Status"
|
|
70918
|
+
],
|
|
70919
|
+
"additionalProperties": false,
|
|
70920
|
+
"description": "Retrieved invoice"
|
|
70921
|
+
},
|
|
70922
|
+
"error": {
|
|
70923
|
+
"type": "string",
|
|
70924
|
+
"description": "Error message if operation failed"
|
|
70925
|
+
}
|
|
70926
|
+
},
|
|
70927
|
+
"required": [
|
|
70928
|
+
"operation",
|
|
70929
|
+
"success",
|
|
70930
|
+
"error"
|
|
70931
|
+
],
|
|
70932
|
+
"additionalProperties": false
|
|
70933
|
+
},
|
|
70934
|
+
{
|
|
70935
|
+
"type": "object",
|
|
70936
|
+
"properties": {
|
|
70937
|
+
"operation": {
|
|
70938
|
+
"type": "string",
|
|
70939
|
+
"enum": [
|
|
70940
|
+
"list_invoices"
|
|
70941
|
+
]
|
|
70942
|
+
},
|
|
70943
|
+
"success": {
|
|
70944
|
+
"type": "boolean",
|
|
70945
|
+
"description": "Whether the operation was successful"
|
|
70946
|
+
},
|
|
70947
|
+
"invoices": {
|
|
70948
|
+
"type": "array",
|
|
70949
|
+
"items": {
|
|
70950
|
+
"type": "object",
|
|
70951
|
+
"properties": {
|
|
70952
|
+
"InvoiceID": {
|
|
70953
|
+
"type": "string",
|
|
70954
|
+
"description": "Invoice UUID"
|
|
70955
|
+
},
|
|
70956
|
+
"InvoiceNumber": {
|
|
70957
|
+
"type": "string",
|
|
70958
|
+
"description": "Invoice number"
|
|
70959
|
+
},
|
|
70960
|
+
"Type": {
|
|
70961
|
+
"type": "string",
|
|
70962
|
+
"description": "Invoice type (ACCREC or ACCPAY)"
|
|
70963
|
+
},
|
|
70964
|
+
"Status": {
|
|
70965
|
+
"type": "string",
|
|
70966
|
+
"description": "Invoice status"
|
|
70967
|
+
},
|
|
70968
|
+
"Contact": {
|
|
70969
|
+
"type": "object",
|
|
70970
|
+
"properties": {
|
|
70971
|
+
"ContactID": {
|
|
70972
|
+
"type": "string"
|
|
70973
|
+
},
|
|
70974
|
+
"Name": {
|
|
70975
|
+
"type": "string"
|
|
70976
|
+
}
|
|
70977
|
+
},
|
|
70978
|
+
"required": [
|
|
70979
|
+
"ContactID"
|
|
70980
|
+
],
|
|
70981
|
+
"additionalProperties": false,
|
|
70982
|
+
"description": "Associated contact"
|
|
70983
|
+
},
|
|
70984
|
+
"Date": {
|
|
70985
|
+
"type": "string",
|
|
70986
|
+
"description": "Invoice date"
|
|
70987
|
+
},
|
|
70988
|
+
"DueDate": {
|
|
70989
|
+
"type": "string",
|
|
70990
|
+
"description": "Due date"
|
|
70991
|
+
},
|
|
70992
|
+
"SubTotal": {
|
|
70993
|
+
"type": "number",
|
|
70994
|
+
"description": "Total before tax"
|
|
70995
|
+
},
|
|
70996
|
+
"Total": {
|
|
70997
|
+
"type": "number",
|
|
70998
|
+
"description": "Total amount including tax"
|
|
70999
|
+
},
|
|
71000
|
+
"AmountDue": {
|
|
71001
|
+
"type": "number",
|
|
71002
|
+
"description": "Amount due"
|
|
71003
|
+
},
|
|
71004
|
+
"AmountPaid": {
|
|
71005
|
+
"type": "number",
|
|
71006
|
+
"description": "Amount paid"
|
|
71007
|
+
},
|
|
71008
|
+
"CurrencyCode": {
|
|
71009
|
+
"type": "string",
|
|
71010
|
+
"description": "Currency code"
|
|
71011
|
+
},
|
|
71012
|
+
"Reference": {
|
|
71013
|
+
"type": "string",
|
|
71014
|
+
"description": "Reference"
|
|
71015
|
+
},
|
|
71016
|
+
"LineItems": {
|
|
71017
|
+
"type": "array",
|
|
71018
|
+
"items": {
|
|
71019
|
+
"type": "object",
|
|
71020
|
+
"additionalProperties": {}
|
|
71021
|
+
},
|
|
71022
|
+
"description": "Line items"
|
|
71023
|
+
}
|
|
71024
|
+
},
|
|
71025
|
+
"required": [
|
|
71026
|
+
"InvoiceID",
|
|
71027
|
+
"Type",
|
|
71028
|
+
"Status"
|
|
71029
|
+
],
|
|
71030
|
+
"additionalProperties": false,
|
|
71031
|
+
"description": "A Xero invoice"
|
|
71032
|
+
},
|
|
71033
|
+
"description": "List of invoices"
|
|
71034
|
+
},
|
|
71035
|
+
"error": {
|
|
71036
|
+
"type": "string",
|
|
71037
|
+
"description": "Error message if operation failed"
|
|
71038
|
+
}
|
|
71039
|
+
},
|
|
71040
|
+
"required": [
|
|
71041
|
+
"operation",
|
|
71042
|
+
"success",
|
|
71043
|
+
"error"
|
|
71044
|
+
],
|
|
71045
|
+
"additionalProperties": false
|
|
71046
|
+
},
|
|
71047
|
+
{
|
|
71048
|
+
"type": "object",
|
|
71049
|
+
"properties": {
|
|
71050
|
+
"operation": {
|
|
71051
|
+
"type": "string",
|
|
71052
|
+
"enum": [
|
|
71053
|
+
"create_contact"
|
|
71054
|
+
]
|
|
71055
|
+
},
|
|
71056
|
+
"success": {
|
|
71057
|
+
"type": "boolean",
|
|
71058
|
+
"description": "Whether the operation was successful"
|
|
71059
|
+
},
|
|
71060
|
+
"contact": {
|
|
71061
|
+
"type": "object",
|
|
71062
|
+
"properties": {
|
|
71063
|
+
"ContactID": {
|
|
71064
|
+
"type": "string",
|
|
71065
|
+
"description": "Contact UUID"
|
|
71066
|
+
},
|
|
71067
|
+
"Name": {
|
|
71068
|
+
"type": "string",
|
|
71069
|
+
"description": "Contact name"
|
|
71070
|
+
},
|
|
71071
|
+
"FirstName": {
|
|
71072
|
+
"type": "string",
|
|
71073
|
+
"description": "First name"
|
|
71074
|
+
},
|
|
71075
|
+
"LastName": {
|
|
71076
|
+
"type": "string",
|
|
71077
|
+
"description": "Last name"
|
|
71078
|
+
},
|
|
71079
|
+
"EmailAddress": {
|
|
71080
|
+
"type": "string",
|
|
71081
|
+
"description": "Email address"
|
|
71082
|
+
},
|
|
71083
|
+
"AccountNumber": {
|
|
71084
|
+
"type": "string",
|
|
71085
|
+
"description": "Account number"
|
|
71086
|
+
},
|
|
71087
|
+
"TaxNumber": {
|
|
71088
|
+
"type": "string",
|
|
71089
|
+
"description": "Tax number"
|
|
71090
|
+
},
|
|
71091
|
+
"ContactStatus": {
|
|
71092
|
+
"type": "string",
|
|
71093
|
+
"description": "Contact status"
|
|
71094
|
+
},
|
|
71095
|
+
"Phones": {
|
|
71096
|
+
"type": "array",
|
|
71097
|
+
"items": {
|
|
71098
|
+
"type": "object",
|
|
71099
|
+
"additionalProperties": {}
|
|
71100
|
+
},
|
|
71101
|
+
"description": "Phone numbers"
|
|
71102
|
+
},
|
|
71103
|
+
"Addresses": {
|
|
71104
|
+
"type": "array",
|
|
71105
|
+
"items": {
|
|
71106
|
+
"type": "object",
|
|
71107
|
+
"additionalProperties": {}
|
|
71108
|
+
},
|
|
71109
|
+
"description": "Addresses"
|
|
71110
|
+
}
|
|
71111
|
+
},
|
|
71112
|
+
"required": [
|
|
71113
|
+
"ContactID",
|
|
71114
|
+
"Name"
|
|
71115
|
+
],
|
|
71116
|
+
"additionalProperties": false,
|
|
71117
|
+
"description": "Created contact"
|
|
71118
|
+
},
|
|
71119
|
+
"error": {
|
|
71120
|
+
"type": "string",
|
|
71121
|
+
"description": "Error message if operation failed"
|
|
71122
|
+
}
|
|
71123
|
+
},
|
|
71124
|
+
"required": [
|
|
71125
|
+
"operation",
|
|
71126
|
+
"success",
|
|
71127
|
+
"error"
|
|
71128
|
+
],
|
|
71129
|
+
"additionalProperties": false
|
|
71130
|
+
},
|
|
71131
|
+
{
|
|
71132
|
+
"type": "object",
|
|
71133
|
+
"properties": {
|
|
71134
|
+
"operation": {
|
|
71135
|
+
"type": "string",
|
|
71136
|
+
"enum": [
|
|
71137
|
+
"get_contact"
|
|
71138
|
+
]
|
|
71139
|
+
},
|
|
71140
|
+
"success": {
|
|
71141
|
+
"type": "boolean",
|
|
71142
|
+
"description": "Whether the operation was successful"
|
|
71143
|
+
},
|
|
71144
|
+
"contact": {
|
|
71145
|
+
"type": "object",
|
|
71146
|
+
"properties": {
|
|
71147
|
+
"ContactID": {
|
|
71148
|
+
"type": "string",
|
|
71149
|
+
"description": "Contact UUID"
|
|
71150
|
+
},
|
|
71151
|
+
"Name": {
|
|
71152
|
+
"type": "string",
|
|
71153
|
+
"description": "Contact name"
|
|
71154
|
+
},
|
|
71155
|
+
"FirstName": {
|
|
71156
|
+
"type": "string",
|
|
71157
|
+
"description": "First name"
|
|
71158
|
+
},
|
|
71159
|
+
"LastName": {
|
|
71160
|
+
"type": "string",
|
|
71161
|
+
"description": "Last name"
|
|
71162
|
+
},
|
|
71163
|
+
"EmailAddress": {
|
|
71164
|
+
"type": "string",
|
|
71165
|
+
"description": "Email address"
|
|
71166
|
+
},
|
|
71167
|
+
"AccountNumber": {
|
|
71168
|
+
"type": "string",
|
|
71169
|
+
"description": "Account number"
|
|
71170
|
+
},
|
|
71171
|
+
"TaxNumber": {
|
|
71172
|
+
"type": "string",
|
|
71173
|
+
"description": "Tax number"
|
|
71174
|
+
},
|
|
71175
|
+
"ContactStatus": {
|
|
71176
|
+
"type": "string",
|
|
71177
|
+
"description": "Contact status"
|
|
71178
|
+
},
|
|
71179
|
+
"Phones": {
|
|
71180
|
+
"type": "array",
|
|
71181
|
+
"items": {
|
|
71182
|
+
"type": "object",
|
|
71183
|
+
"additionalProperties": {}
|
|
71184
|
+
},
|
|
71185
|
+
"description": "Phone numbers"
|
|
71186
|
+
},
|
|
71187
|
+
"Addresses": {
|
|
71188
|
+
"type": "array",
|
|
71189
|
+
"items": {
|
|
71190
|
+
"type": "object",
|
|
71191
|
+
"additionalProperties": {}
|
|
71192
|
+
},
|
|
71193
|
+
"description": "Addresses"
|
|
71194
|
+
}
|
|
71195
|
+
},
|
|
71196
|
+
"required": [
|
|
71197
|
+
"ContactID",
|
|
71198
|
+
"Name"
|
|
71199
|
+
],
|
|
71200
|
+
"additionalProperties": false,
|
|
71201
|
+
"description": "Retrieved contact"
|
|
71202
|
+
},
|
|
71203
|
+
"error": {
|
|
71204
|
+
"type": "string",
|
|
71205
|
+
"description": "Error message if operation failed"
|
|
71206
|
+
}
|
|
71207
|
+
},
|
|
71208
|
+
"required": [
|
|
71209
|
+
"operation",
|
|
71210
|
+
"success",
|
|
71211
|
+
"error"
|
|
71212
|
+
],
|
|
71213
|
+
"additionalProperties": false
|
|
71214
|
+
},
|
|
71215
|
+
{
|
|
71216
|
+
"type": "object",
|
|
71217
|
+
"properties": {
|
|
71218
|
+
"operation": {
|
|
71219
|
+
"type": "string",
|
|
71220
|
+
"enum": [
|
|
71221
|
+
"list_contacts"
|
|
71222
|
+
]
|
|
71223
|
+
},
|
|
71224
|
+
"success": {
|
|
71225
|
+
"type": "boolean",
|
|
71226
|
+
"description": "Whether the operation was successful"
|
|
71227
|
+
},
|
|
71228
|
+
"contacts": {
|
|
71229
|
+
"type": "array",
|
|
71230
|
+
"items": {
|
|
71231
|
+
"type": "object",
|
|
71232
|
+
"properties": {
|
|
71233
|
+
"ContactID": {
|
|
71234
|
+
"type": "string",
|
|
71235
|
+
"description": "Contact UUID"
|
|
71236
|
+
},
|
|
71237
|
+
"Name": {
|
|
71238
|
+
"type": "string",
|
|
71239
|
+
"description": "Contact name"
|
|
71240
|
+
},
|
|
71241
|
+
"FirstName": {
|
|
71242
|
+
"type": "string",
|
|
71243
|
+
"description": "First name"
|
|
71244
|
+
},
|
|
71245
|
+
"LastName": {
|
|
71246
|
+
"type": "string",
|
|
71247
|
+
"description": "Last name"
|
|
71248
|
+
},
|
|
71249
|
+
"EmailAddress": {
|
|
71250
|
+
"type": "string",
|
|
71251
|
+
"description": "Email address"
|
|
71252
|
+
},
|
|
71253
|
+
"AccountNumber": {
|
|
71254
|
+
"type": "string",
|
|
71255
|
+
"description": "Account number"
|
|
71256
|
+
},
|
|
71257
|
+
"TaxNumber": {
|
|
71258
|
+
"type": "string",
|
|
71259
|
+
"description": "Tax number"
|
|
71260
|
+
},
|
|
71261
|
+
"ContactStatus": {
|
|
71262
|
+
"type": "string",
|
|
71263
|
+
"description": "Contact status"
|
|
71264
|
+
},
|
|
71265
|
+
"Phones": {
|
|
71266
|
+
"type": "array",
|
|
71267
|
+
"items": {
|
|
71268
|
+
"type": "object",
|
|
71269
|
+
"additionalProperties": {}
|
|
71270
|
+
},
|
|
71271
|
+
"description": "Phone numbers"
|
|
71272
|
+
},
|
|
71273
|
+
"Addresses": {
|
|
71274
|
+
"type": "array",
|
|
71275
|
+
"items": {
|
|
71276
|
+
"type": "object",
|
|
71277
|
+
"additionalProperties": {}
|
|
71278
|
+
},
|
|
71279
|
+
"description": "Addresses"
|
|
71280
|
+
}
|
|
71281
|
+
},
|
|
71282
|
+
"required": [
|
|
71283
|
+
"ContactID",
|
|
71284
|
+
"Name"
|
|
71285
|
+
],
|
|
71286
|
+
"additionalProperties": false,
|
|
71287
|
+
"description": "A Xero contact"
|
|
71288
|
+
},
|
|
71289
|
+
"description": "List of contacts"
|
|
71290
|
+
},
|
|
71291
|
+
"error": {
|
|
71292
|
+
"type": "string",
|
|
71293
|
+
"description": "Error message if operation failed"
|
|
71294
|
+
}
|
|
71295
|
+
},
|
|
71296
|
+
"required": [
|
|
71297
|
+
"operation",
|
|
71298
|
+
"success",
|
|
71299
|
+
"error"
|
|
71300
|
+
],
|
|
71301
|
+
"additionalProperties": false
|
|
71302
|
+
},
|
|
71303
|
+
{
|
|
71304
|
+
"type": "object",
|
|
71305
|
+
"properties": {
|
|
71306
|
+
"operation": {
|
|
71307
|
+
"type": "string",
|
|
71308
|
+
"enum": [
|
|
71309
|
+
"list_accounts"
|
|
71310
|
+
]
|
|
71311
|
+
},
|
|
71312
|
+
"success": {
|
|
71313
|
+
"type": "boolean",
|
|
71314
|
+
"description": "Whether the operation was successful"
|
|
71315
|
+
},
|
|
71316
|
+
"accounts": {
|
|
71317
|
+
"type": "array",
|
|
71318
|
+
"items": {
|
|
71319
|
+
"type": "object",
|
|
71320
|
+
"properties": {
|
|
71321
|
+
"AccountID": {
|
|
71322
|
+
"type": "string",
|
|
71323
|
+
"description": "Account UUID"
|
|
71324
|
+
},
|
|
71325
|
+
"Code": {
|
|
71326
|
+
"type": "string",
|
|
71327
|
+
"description": "Account code"
|
|
71328
|
+
},
|
|
71329
|
+
"Name": {
|
|
71330
|
+
"type": "string",
|
|
71331
|
+
"description": "Account name"
|
|
71332
|
+
},
|
|
71333
|
+
"Type": {
|
|
71334
|
+
"type": "string",
|
|
71335
|
+
"description": "Account type"
|
|
71336
|
+
},
|
|
71337
|
+
"Status": {
|
|
71338
|
+
"type": "string",
|
|
71339
|
+
"description": "Account status"
|
|
71340
|
+
},
|
|
71341
|
+
"Description": {
|
|
71342
|
+
"type": "string",
|
|
71343
|
+
"description": "Account description"
|
|
71344
|
+
},
|
|
71345
|
+
"Class": {
|
|
71346
|
+
"type": "string",
|
|
71347
|
+
"description": "Account class"
|
|
71348
|
+
},
|
|
71349
|
+
"TaxType": {
|
|
71350
|
+
"type": "string",
|
|
71351
|
+
"description": "Tax type"
|
|
71352
|
+
}
|
|
71353
|
+
},
|
|
71354
|
+
"required": [
|
|
71355
|
+
"AccountID",
|
|
71356
|
+
"Name",
|
|
71357
|
+
"Type"
|
|
71358
|
+
],
|
|
71359
|
+
"additionalProperties": false,
|
|
71360
|
+
"description": "A Xero account"
|
|
71361
|
+
},
|
|
71362
|
+
"description": "List of accounts"
|
|
71363
|
+
},
|
|
71364
|
+
"error": {
|
|
71365
|
+
"type": "string",
|
|
71366
|
+
"description": "Error message if operation failed"
|
|
71367
|
+
}
|
|
71368
|
+
},
|
|
71369
|
+
"required": [
|
|
71370
|
+
"operation",
|
|
71371
|
+
"success",
|
|
71372
|
+
"error"
|
|
71373
|
+
],
|
|
71374
|
+
"additionalProperties": false
|
|
71375
|
+
},
|
|
71376
|
+
{
|
|
71377
|
+
"type": "object",
|
|
71378
|
+
"properties": {
|
|
71379
|
+
"operation": {
|
|
71380
|
+
"type": "string",
|
|
71381
|
+
"enum": [
|
|
71382
|
+
"get_report"
|
|
71383
|
+
]
|
|
71384
|
+
},
|
|
71385
|
+
"success": {
|
|
71386
|
+
"type": "boolean",
|
|
71387
|
+
"description": "Whether the operation was successful"
|
|
71388
|
+
},
|
|
71389
|
+
"report": {
|
|
71390
|
+
"type": "object",
|
|
71391
|
+
"properties": {
|
|
71392
|
+
"reportName": {
|
|
71393
|
+
"type": "string",
|
|
71394
|
+
"description": "Report title"
|
|
71395
|
+
},
|
|
71396
|
+
"reportType": {
|
|
71397
|
+
"type": "string",
|
|
71398
|
+
"description": "Report type identifier"
|
|
71399
|
+
},
|
|
71400
|
+
"reportDate": {
|
|
71401
|
+
"type": "string",
|
|
71402
|
+
"description": "Report date"
|
|
71403
|
+
},
|
|
71404
|
+
"reportTitles": {
|
|
71405
|
+
"type": "array",
|
|
71406
|
+
"items": {
|
|
71407
|
+
"type": "string"
|
|
71408
|
+
},
|
|
71409
|
+
"description": "Report title lines (e.g., org name, date range)"
|
|
71410
|
+
},
|
|
71411
|
+
"rows": {
|
|
71412
|
+
"type": "array",
|
|
71413
|
+
"items": {
|
|
71414
|
+
"type": "object",
|
|
71415
|
+
"properties": {
|
|
71416
|
+
"rowType": {
|
|
71417
|
+
"type": "string",
|
|
71418
|
+
"description": "Row type: Header, Section, Row, SummaryRow"
|
|
71419
|
+
},
|
|
71420
|
+
"title": {
|
|
71421
|
+
"type": "string",
|
|
71422
|
+
"description": "Section title"
|
|
71423
|
+
},
|
|
71424
|
+
"cells": {
|
|
71425
|
+
"type": "array",
|
|
71426
|
+
"items": {
|
|
71427
|
+
"type": "object",
|
|
71428
|
+
"properties": {
|
|
71429
|
+
"value": {
|
|
71430
|
+
"type": "string",
|
|
71431
|
+
"description": "Cell display value"
|
|
71432
|
+
},
|
|
71433
|
+
"accountId": {
|
|
71434
|
+
"type": "string",
|
|
71435
|
+
"description": "Account UUID if this row is an account"
|
|
71436
|
+
}
|
|
71437
|
+
},
|
|
71438
|
+
"required": [
|
|
71439
|
+
"value"
|
|
71440
|
+
],
|
|
71441
|
+
"additionalProperties": false
|
|
71442
|
+
},
|
|
71443
|
+
"description": "Cell values for this row"
|
|
71444
|
+
},
|
|
71445
|
+
"rows": {
|
|
71446
|
+
"type": "array",
|
|
71447
|
+
"items": {
|
|
71448
|
+
"type": "object",
|
|
71449
|
+
"additionalProperties": {}
|
|
71450
|
+
},
|
|
71451
|
+
"description": "Nested rows within a section"
|
|
71452
|
+
}
|
|
71453
|
+
},
|
|
71454
|
+
"required": [
|
|
71455
|
+
"rowType"
|
|
71456
|
+
],
|
|
71457
|
+
"additionalProperties": false
|
|
71458
|
+
},
|
|
71459
|
+
"description": "Report rows"
|
|
71460
|
+
}
|
|
71461
|
+
},
|
|
71462
|
+
"required": [
|
|
71463
|
+
"reportName",
|
|
71464
|
+
"reportType",
|
|
71465
|
+
"rows"
|
|
71466
|
+
],
|
|
71467
|
+
"additionalProperties": false,
|
|
71468
|
+
"description": "Parsed report data"
|
|
71469
|
+
},
|
|
71470
|
+
"error": {
|
|
71471
|
+
"type": "string",
|
|
71472
|
+
"description": "Error message if operation failed"
|
|
71473
|
+
}
|
|
71474
|
+
},
|
|
71475
|
+
"required": [
|
|
71476
|
+
"operation",
|
|
71477
|
+
"success",
|
|
71478
|
+
"error"
|
|
71479
|
+
],
|
|
71480
|
+
"additionalProperties": false
|
|
71481
|
+
}
|
|
71482
|
+
]
|
|
71483
|
+
},
|
|
71484
|
+
"usageExample": "// Create Invoice example\nconst xero_create_invoice = new XeroBubble({\n operation: \"create_invoice\", // Create a new invoice in Xero\n type: \"ACCREC\" // options: \"ACCREC\", \"ACCPAY\", // Invoice type: ACCREC for accounts receivable (sales invoice), ACCPAY for accounts payable (bill)\n contact_id: \"example string\", // ContactID of the customer/supplier\n line_items: [{ Description: \"example string\" // Description of the line item, Quantity: 1 // default // Quantity of the line item (default 1), UnitAmount: 42 // Unit price of the line item, AccountCode: \"example string\" // Account code for the line item (e.g., \"200\" for Sales, \"400\" for Advertising), TaxType: \"example string\" // Tax type for the line item (e.g., \"OUTPUT\", \"INPUT\"), ItemCode: \"example string\" // Item code from Xero inventory }], // Line items for the invoice\n date: \"example string\", // Invoice date in YYYY-MM-DD format (defaults to today)\n due_date: \"example string\", // Due date in YYYY-MM-DD format\n reference: \"example string\", // Reference number for the invoice\n status: \"DRAFT\" // options: \"DRAFT\", \"SUBMITTED\", \"AUTHORISED\", // Invoice status (default DRAFT)\n currency_code: \"example string\", // Currency code (e.g., \"USD\", \"GBP\", \"AUD\")\n});\n\nconst result = await xero_create_invoice.action();\n// outputSchema for result.data when operation === 'create_invoice':\n// {\n// operation: \"create_invoice\",\n// success: boolean // Whether the operation was successful,\n// invoice: { InvoiceID: string // Invoice UUID, InvoiceNumber: string | undefined // Invoice number, Type: string // Invoice type (ACCREC or ACCPAY), Status: string // Invoice status, Contact: { ContactID: string, Name: string | undefined } | undefined // Associated contact, Date: string | undefined // Invoice date, DueDate: string | undefined // Due date, SubTotal: number | undefined // Total before tax, Total: number | undefined // Total amount including tax, AmountDue: number | undefined // Amount due, AmountPaid: number | undefined // Amount paid, CurrencyCode: string | undefined // Currency code, Reference: string | undefined // Reference, LineItems: Record<string, unknown>[] | undefined // Line items } | undefined // Created invoice,\n// error: string // Error message if operation failed\n// }\n\n\n// Get Invoice example\nconst xero_get_invoice = new XeroBubble({\n operation: \"get_invoice\", // Retrieve a single invoice by ID\n invoice_id: \"example string\", // Xero invoice UUID\n});\n\nconst result = await xero_get_invoice.action();\n// outputSchema for result.data when operation === 'get_invoice':\n// {\n// operation: \"get_invoice\",\n// success: boolean // Whether the operation was successful,\n// invoice: { InvoiceID: string // Invoice UUID, InvoiceNumber: string | undefined // Invoice number, Type: string // Invoice type (ACCREC or ACCPAY), Status: string // Invoice status, Contact: { ContactID: string, Name: string | undefined } | undefined // Associated contact, Date: string | undefined // Invoice date, DueDate: string | undefined // Due date, SubTotal: number | undefined // Total before tax, Total: number | undefined // Total amount including tax, AmountDue: number | undefined // Amount due, AmountPaid: number | undefined // Amount paid, CurrencyCode: string | undefined // Currency code, Reference: string | undefined // Reference, LineItems: Record<string, unknown>[] | undefined // Line items } | undefined // Retrieved invoice,\n// error: string // Error message if operation failed\n// }\n\n\n// List Invoices example\nconst xero_list_invoices = new XeroBubble({\n operation: \"list_invoices\", // List invoices with optional filters\n status: \"DRAFT\" // options: \"DRAFT\", \"SUBMITTED\", \"AUTHORISED\", \"PAID\", \"VOIDED\", \"DELETED\", // Filter by invoice status\n page: 1 // default, // Page number for pagination (default 1)\n where: \"example string\", // Xero filter expression (e.g., \"Type==\\\"ACCREC\\\"\", \"Contact.Name==\\\"John\\\"\")\n});\n\nconst result = await xero_list_invoices.action();\n// outputSchema for result.data when operation === 'list_invoices':\n// {\n// operation: \"list_invoices\",\n// success: boolean // Whether the operation was successful,\n// invoices: { InvoiceID: string // Invoice UUID, InvoiceNumber: string | undefined // Invoice number, Type: string // Invoice type (ACCREC or ACCPAY), Status: string // Invoice status, Contact: { ContactID: string, Name: string | undefined } | undefined // Associated contact, Date: string | undefined // Invoice date, DueDate: string | undefined // Due date, SubTotal: number | undefined // Total before tax, Total: number | undefined // Total amount including tax, AmountDue: number | undefined // Amount due, AmountPaid: number | undefined // Amount paid, CurrencyCode: string | undefined // Currency code, Reference: string | undefined // Reference, LineItems: Record<string, unknown>[] | undefined // Line items }[] | undefined // List of invoices,\n// error: string // Error message if operation failed\n// }\n\n\n// Create Contact example\nconst xero_create_contact = new XeroBubble({\n operation: \"create_contact\", // Create a new contact (customer or supplier)\n name: \"example string\", // Contact name (required, must be unique)\n email: \"example string\", // Contact email address\n first_name: \"example string\", // First name\n last_name: \"example string\", // Last name\n phone: \"example string\", // Phone number\n account_number: \"example string\", // Account number for the contact\n tax_number: \"example string\", // Tax number (ABN, VAT, GST number)\n});\n\nconst result = await xero_create_contact.action();\n// outputSchema for result.data when operation === 'create_contact':\n// {\n// operation: \"create_contact\",\n// success: boolean // Whether the operation was successful,\n// contact: { ContactID: string // Contact UUID, Name: string // Contact name, FirstName: string | undefined // First name, LastName: string | undefined // Last name, EmailAddress: string | undefined // Email address, AccountNumber: string | undefined // Account number, TaxNumber: string | undefined // Tax number, ContactStatus: string | undefined // Contact status, Phones: Record<string, unknown>[] | undefined // Phone numbers, Addresses: Record<string, unknown>[] | undefined // Addresses } | undefined // Created contact,\n// error: string // Error message if operation failed\n// }\n\n\n// Get Contact example\nconst xero_get_contact = new XeroBubble({\n operation: \"get_contact\", // Retrieve a single contact by ID\n contact_id: \"example string\", // Xero contact UUID\n});\n\nconst result = await xero_get_contact.action();\n// outputSchema for result.data when operation === 'get_contact':\n// {\n// operation: \"get_contact\",\n// success: boolean // Whether the operation was successful,\n// contact: { ContactID: string // Contact UUID, Name: string // Contact name, FirstName: string | undefined // First name, LastName: string | undefined // Last name, EmailAddress: string | undefined // Email address, AccountNumber: string | undefined // Account number, TaxNumber: string | undefined // Tax number, ContactStatus: string | undefined // Contact status, Phones: Record<string, unknown>[] | undefined // Phone numbers, Addresses: Record<string, unknown>[] | undefined // Addresses } | undefined // Retrieved contact,\n// error: string // Error message if operation failed\n// }\n\n\n// List Contacts example\nconst xero_list_contacts = new XeroBubble({\n operation: \"list_contacts\", // List contacts with optional filters\n page: 1 // default, // Page number for pagination (default 1)\n where: \"example string\", // Xero filter expression (e.g., \"Name.StartsWith(\\\"John\\\")\")\n});\n\nconst result = await xero_list_contacts.action();\n// outputSchema for result.data when operation === 'list_contacts':\n// {\n// operation: \"list_contacts\",\n// success: boolean // Whether the operation was successful,\n// contacts: { ContactID: string // Contact UUID, Name: string // Contact name, FirstName: string | undefined // First name, LastName: string | undefined // Last name, EmailAddress: string | undefined // Email address, AccountNumber: string | undefined // Account number, TaxNumber: string | undefined // Tax number, ContactStatus: string | undefined // Contact status, Phones: Record<string, unknown>[] | undefined // Phone numbers, Addresses: Record<string, unknown>[] | undefined // Addresses }[] | undefined // List of contacts,\n// error: string // Error message if operation failed\n// }\n\n\n// List Accounts example\nconst xero_list_accounts = new XeroBubble({\n operation: \"list_accounts\", // List chart of accounts\n type: \"example string\", // Filter by account type (e.g., \"REVENUE\", \"EXPENSE\", \"BANK\", \"CURRENT\")\n});\n\nconst result = await xero_list_accounts.action();\n// outputSchema for result.data when operation === 'list_accounts':\n// {\n// operation: \"list_accounts\",\n// success: boolean // Whether the operation was successful,\n// accounts: { AccountID: string // Account UUID, Code: string | undefined // Account code, Name: string // Account name, Type: string // Account type, Status: string | undefined // Account status, Description: string | undefined // Account description, Class: string | undefined // Account class, TaxType: string | undefined // Tax type }[] | undefined // List of accounts,\n// error: string // Error message if operation failed\n// }\n\n\n// Get Report example\nconst xero_get_report = new XeroBubble({\n operation: \"get_report\", // Retrieve a financial report from Xero\n report_type: \"BalanceSheet\" // options: \"BalanceSheet\", \"ProfitAndLoss\", \"TrialBalance\", \"BankSummary\", \"ExecutiveSummary\", \"BudgetSummary\", \"AgedReceivablesByContact\", \"AgedPayablesByContact\", // The type of report to generate\n date: \"example string\", // Report date in YYYY-MM-DD format. \"As at\" date for BalanceSheet/TrialBalance/ExecutiveSummary. Not used for ProfitAndLoss (use from_date/to_date).\n from_date: \"example string\", // Start date in YYYY-MM-DD format. Used by ProfitAndLoss, BankSummary, and aged reports.\n to_date: \"example string\", // End date in YYYY-MM-DD format. Used by ProfitAndLoss, BankSummary, and aged reports.\n periods: 42, // Number of comparison periods (1-11 for most reports, 1-12 for BudgetSummary)\n timeframe: \"MONTH\" // options: \"MONTH\", \"QUARTER\", \"YEAR\", // Timeframe for comparison periods (MONTH, QUARTER, or YEAR)\n contact_id: \"example string\", // Contact UUID — required for AgedReceivablesByContact and AgedPayablesByContact\n payments_only: true, // Set true for cash-basis reporting (BalanceSheet, ProfitAndLoss, TrialBalance only)\n tracking_category_id: \"example string\", // Optional tracking category ID to filter the report by\n tracking_option_id: \"example string\", // Optional tracking option ID (requires tracking_category_id)\n});\n\nconst result = await xero_get_report.action();\n// outputSchema for result.data when operation === 'get_report':\n// {\n// operation: \"get_report\",\n// success: boolean // Whether the operation was successful,\n// report: { reportName: string // Report title, reportType: string // Report type identifier, reportDate: string | undefined // Report date, reportTitles: string[] | undefined // Report title lines (e.g., org name, date range), rows: { rowType: string // Row type: Header, Section, Row, SummaryRow, title: string | undefined // Section title, cells: { value: string // Cell display value, accountId: string | undefined // Account UUID if this row is an account }[] | undefined // Cell values for this row, rows: Record<string, unknown>[] | undefined // Nested rows within a section }[] // Report rows } | undefined // Parsed report data,\n// error: string // Error message if operation failed\n// }\n\n\n// Always check success status before using data\nif (!result.success) {\n throw new Error(`xero failed: ${result.error}`);\n}\n\n// Access the actual data\nconst actualData = result.data;\nconsole.log(actualData);",
|
|
71485
|
+
"requiredCredentials": [
|
|
71486
|
+
"XERO_CRED"
|
|
71487
|
+
]
|
|
70301
71488
|
}
|
|
70302
71489
|
]
|
|
70303
71490
|
}
|