@bubblelab/bubble-core 0.1.217 → 0.1.219
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 +173 -126
- 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 +20 -20
- package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +23 -2
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +76 -76
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
- 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 +22 -22
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +38 -38
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +126 -126
- package/dist/bubbles/service-bubble/apify/apify.d.ts +18 -18
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +2 -2
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/assembled/assembled.d.ts +6 -6
- package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/attio/attio.d.ts +6 -6
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +4 -4
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +8 -8
- package/dist/bubbles/service-bubble/firecrawl.d.ts +334 -334
- package/dist/bubbles/service-bubble/followupboss.d.ts +4 -4
- package/dist/bubbles/service-bubble/github.d.ts +60 -60
- package/dist/bubbles/service-bubble/gmail.d.ts +164 -164
- package/dist/bubbles/service-bubble/google-calendar.d.ts +6 -6
- package/dist/bubbles/service-bubble/google-drive.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +2 -2
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +30 -30
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +36 -36
- package/dist/bubbles/service-bubble/notion/notion.d.ts +168 -168
- 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 +10 -10
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +14 -14
- 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 +4 -4
- 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 +388 -388
- package/dist/bubbles/service-bubble/slack/slack.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/slack/slack.js +7 -3
- package/dist/bubbles/service-bubble/slack/slack.js.map +1 -1
- 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/stripe/stripe.d.ts +28 -28
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +34 -34
- package/dist/bubbles/service-bubble/xero/xero.d.ts +2 -2
- package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +8 -8
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +20 -20
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +380 -380
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +44 -44
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +60 -60
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +134 -134
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +20 -20
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +26 -26
- package/dist/bubbles.json +1413 -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-08T08:36:20.574Z",
|
|
4
|
+
"totalCount": 73,
|
|
5
5
|
"bubbles": [
|
|
6
6
|
{
|
|
7
7
|
"name": "hello-world",
|
|
@@ -71485,6 +71485,1417 @@
|
|
|
71485
71485
|
"requiredCredentials": [
|
|
71486
71486
|
"XERO_CRED"
|
|
71487
71487
|
]
|
|
71488
|
+
},
|
|
71489
|
+
{
|
|
71490
|
+
"name": "ramp",
|
|
71491
|
+
"alias": "ramp",
|
|
71492
|
+
"type": "service",
|
|
71493
|
+
"shortDescription": "Ramp integration for corporate expense management",
|
|
71494
|
+
"useCase": "General purpose bubble for various workflow needs",
|
|
71495
|
+
"outputSchema": "Complex schema - see usage example for structure",
|
|
71496
|
+
"inputJsonSchema": {
|
|
71497
|
+
"anyOf": [
|
|
71498
|
+
{
|
|
71499
|
+
"type": "object",
|
|
71500
|
+
"properties": {
|
|
71501
|
+
"operation": {
|
|
71502
|
+
"type": "string",
|
|
71503
|
+
"enum": [
|
|
71504
|
+
"list_transactions"
|
|
71505
|
+
],
|
|
71506
|
+
"description": "List transactions with optional filters"
|
|
71507
|
+
},
|
|
71508
|
+
"page_size": {
|
|
71509
|
+
"type": "number",
|
|
71510
|
+
"minimum": 2,
|
|
71511
|
+
"maximum": 100,
|
|
71512
|
+
"default": 20,
|
|
71513
|
+
"description": "Number of results per page (2-100)"
|
|
71514
|
+
},
|
|
71515
|
+
"start": {
|
|
71516
|
+
"type": "string",
|
|
71517
|
+
"description": "Cursor ID from previous page for pagination"
|
|
71518
|
+
},
|
|
71519
|
+
"from_date": {
|
|
71520
|
+
"type": "string",
|
|
71521
|
+
"description": "Filter transactions from this date (ISO 8601 format, e.g. 2024-01-01T00:00:00Z)"
|
|
71522
|
+
},
|
|
71523
|
+
"to_date": {
|
|
71524
|
+
"type": "string",
|
|
71525
|
+
"description": "Filter transactions up to this date (ISO 8601 format, e.g. 2024-12-31T23:59:59Z)"
|
|
71526
|
+
},
|
|
71527
|
+
"credentials": {
|
|
71528
|
+
"type": "object",
|
|
71529
|
+
"additionalProperties": {
|
|
71530
|
+
"type": "string"
|
|
71531
|
+
},
|
|
71532
|
+
"description": "Credentials (injected at runtime)"
|
|
71533
|
+
}
|
|
71534
|
+
},
|
|
71535
|
+
"required": [
|
|
71536
|
+
"operation"
|
|
71537
|
+
],
|
|
71538
|
+
"additionalProperties": false
|
|
71539
|
+
},
|
|
71540
|
+
{
|
|
71541
|
+
"type": "object",
|
|
71542
|
+
"properties": {
|
|
71543
|
+
"operation": {
|
|
71544
|
+
"type": "string",
|
|
71545
|
+
"enum": [
|
|
71546
|
+
"get_transaction"
|
|
71547
|
+
],
|
|
71548
|
+
"description": "Get a specific transaction by ID"
|
|
71549
|
+
},
|
|
71550
|
+
"transaction_id": {
|
|
71551
|
+
"type": "string",
|
|
71552
|
+
"minLength": 1,
|
|
71553
|
+
"description": "Transaction ID"
|
|
71554
|
+
},
|
|
71555
|
+
"credentials": {
|
|
71556
|
+
"type": "object",
|
|
71557
|
+
"additionalProperties": {
|
|
71558
|
+
"type": "string"
|
|
71559
|
+
},
|
|
71560
|
+
"description": "Credentials (injected at runtime)"
|
|
71561
|
+
}
|
|
71562
|
+
},
|
|
71563
|
+
"required": [
|
|
71564
|
+
"operation",
|
|
71565
|
+
"transaction_id"
|
|
71566
|
+
],
|
|
71567
|
+
"additionalProperties": false
|
|
71568
|
+
},
|
|
71569
|
+
{
|
|
71570
|
+
"type": "object",
|
|
71571
|
+
"properties": {
|
|
71572
|
+
"operation": {
|
|
71573
|
+
"type": "string",
|
|
71574
|
+
"enum": [
|
|
71575
|
+
"list_users"
|
|
71576
|
+
],
|
|
71577
|
+
"description": "List users in the business"
|
|
71578
|
+
},
|
|
71579
|
+
"page_size": {
|
|
71580
|
+
"type": "number",
|
|
71581
|
+
"minimum": 2,
|
|
71582
|
+
"maximum": 100,
|
|
71583
|
+
"default": 20,
|
|
71584
|
+
"description": "Number of results per page (2-100)"
|
|
71585
|
+
},
|
|
71586
|
+
"start": {
|
|
71587
|
+
"type": "string",
|
|
71588
|
+
"description": "Cursor ID from previous page for pagination"
|
|
71589
|
+
},
|
|
71590
|
+
"credentials": {
|
|
71591
|
+
"type": "object",
|
|
71592
|
+
"additionalProperties": {
|
|
71593
|
+
"type": "string"
|
|
71594
|
+
},
|
|
71595
|
+
"description": "Credentials (injected at runtime)"
|
|
71596
|
+
}
|
|
71597
|
+
},
|
|
71598
|
+
"required": [
|
|
71599
|
+
"operation"
|
|
71600
|
+
],
|
|
71601
|
+
"additionalProperties": false
|
|
71602
|
+
},
|
|
71603
|
+
{
|
|
71604
|
+
"type": "object",
|
|
71605
|
+
"properties": {
|
|
71606
|
+
"operation": {
|
|
71607
|
+
"type": "string",
|
|
71608
|
+
"enum": [
|
|
71609
|
+
"get_user"
|
|
71610
|
+
],
|
|
71611
|
+
"description": "Get a specific user by ID"
|
|
71612
|
+
},
|
|
71613
|
+
"user_id": {
|
|
71614
|
+
"type": "string",
|
|
71615
|
+
"minLength": 1,
|
|
71616
|
+
"description": "User ID"
|
|
71617
|
+
},
|
|
71618
|
+
"credentials": {
|
|
71619
|
+
"type": "object",
|
|
71620
|
+
"additionalProperties": {
|
|
71621
|
+
"type": "string"
|
|
71622
|
+
},
|
|
71623
|
+
"description": "Credentials (injected at runtime)"
|
|
71624
|
+
}
|
|
71625
|
+
},
|
|
71626
|
+
"required": [
|
|
71627
|
+
"operation",
|
|
71628
|
+
"user_id"
|
|
71629
|
+
],
|
|
71630
|
+
"additionalProperties": false
|
|
71631
|
+
},
|
|
71632
|
+
{
|
|
71633
|
+
"type": "object",
|
|
71634
|
+
"properties": {
|
|
71635
|
+
"operation": {
|
|
71636
|
+
"type": "string",
|
|
71637
|
+
"enum": [
|
|
71638
|
+
"list_cards"
|
|
71639
|
+
],
|
|
71640
|
+
"description": "List cards"
|
|
71641
|
+
},
|
|
71642
|
+
"page_size": {
|
|
71643
|
+
"type": "number",
|
|
71644
|
+
"minimum": 2,
|
|
71645
|
+
"maximum": 100,
|
|
71646
|
+
"default": 20,
|
|
71647
|
+
"description": "Number of results per page (2-100)"
|
|
71648
|
+
},
|
|
71649
|
+
"start": {
|
|
71650
|
+
"type": "string",
|
|
71651
|
+
"description": "Cursor ID from previous page for pagination"
|
|
71652
|
+
},
|
|
71653
|
+
"credentials": {
|
|
71654
|
+
"type": "object",
|
|
71655
|
+
"additionalProperties": {
|
|
71656
|
+
"type": "string"
|
|
71657
|
+
},
|
|
71658
|
+
"description": "Credentials (injected at runtime)"
|
|
71659
|
+
}
|
|
71660
|
+
},
|
|
71661
|
+
"required": [
|
|
71662
|
+
"operation"
|
|
71663
|
+
],
|
|
71664
|
+
"additionalProperties": false
|
|
71665
|
+
},
|
|
71666
|
+
{
|
|
71667
|
+
"type": "object",
|
|
71668
|
+
"properties": {
|
|
71669
|
+
"operation": {
|
|
71670
|
+
"type": "string",
|
|
71671
|
+
"enum": [
|
|
71672
|
+
"get_card"
|
|
71673
|
+
],
|
|
71674
|
+
"description": "Get a specific card by ID"
|
|
71675
|
+
},
|
|
71676
|
+
"card_id": {
|
|
71677
|
+
"type": "string",
|
|
71678
|
+
"minLength": 1,
|
|
71679
|
+
"description": "Card ID"
|
|
71680
|
+
},
|
|
71681
|
+
"credentials": {
|
|
71682
|
+
"type": "object",
|
|
71683
|
+
"additionalProperties": {
|
|
71684
|
+
"type": "string"
|
|
71685
|
+
},
|
|
71686
|
+
"description": "Credentials (injected at runtime)"
|
|
71687
|
+
}
|
|
71688
|
+
},
|
|
71689
|
+
"required": [
|
|
71690
|
+
"operation",
|
|
71691
|
+
"card_id"
|
|
71692
|
+
],
|
|
71693
|
+
"additionalProperties": false
|
|
71694
|
+
},
|
|
71695
|
+
{
|
|
71696
|
+
"type": "object",
|
|
71697
|
+
"properties": {
|
|
71698
|
+
"operation": {
|
|
71699
|
+
"type": "string",
|
|
71700
|
+
"enum": [
|
|
71701
|
+
"list_departments"
|
|
71702
|
+
],
|
|
71703
|
+
"description": "List departments in the business"
|
|
71704
|
+
},
|
|
71705
|
+
"page_size": {
|
|
71706
|
+
"type": "number",
|
|
71707
|
+
"minimum": 2,
|
|
71708
|
+
"maximum": 100,
|
|
71709
|
+
"default": 20,
|
|
71710
|
+
"description": "Number of results per page (2-100)"
|
|
71711
|
+
},
|
|
71712
|
+
"start": {
|
|
71713
|
+
"type": "string",
|
|
71714
|
+
"description": "Cursor ID from previous page for pagination"
|
|
71715
|
+
},
|
|
71716
|
+
"credentials": {
|
|
71717
|
+
"type": "object",
|
|
71718
|
+
"additionalProperties": {
|
|
71719
|
+
"type": "string"
|
|
71720
|
+
},
|
|
71721
|
+
"description": "Credentials (injected at runtime)"
|
|
71722
|
+
}
|
|
71723
|
+
},
|
|
71724
|
+
"required": [
|
|
71725
|
+
"operation"
|
|
71726
|
+
],
|
|
71727
|
+
"additionalProperties": false
|
|
71728
|
+
},
|
|
71729
|
+
{
|
|
71730
|
+
"type": "object",
|
|
71731
|
+
"properties": {
|
|
71732
|
+
"operation": {
|
|
71733
|
+
"type": "string",
|
|
71734
|
+
"enum": [
|
|
71735
|
+
"list_locations"
|
|
71736
|
+
],
|
|
71737
|
+
"description": "List locations in the business"
|
|
71738
|
+
},
|
|
71739
|
+
"page_size": {
|
|
71740
|
+
"type": "number",
|
|
71741
|
+
"minimum": 2,
|
|
71742
|
+
"maximum": 100,
|
|
71743
|
+
"default": 20,
|
|
71744
|
+
"description": "Number of results per page (2-100)"
|
|
71745
|
+
},
|
|
71746
|
+
"start": {
|
|
71747
|
+
"type": "string",
|
|
71748
|
+
"description": "Cursor ID from previous page for pagination"
|
|
71749
|
+
},
|
|
71750
|
+
"credentials": {
|
|
71751
|
+
"type": "object",
|
|
71752
|
+
"additionalProperties": {
|
|
71753
|
+
"type": "string"
|
|
71754
|
+
},
|
|
71755
|
+
"description": "Credentials (injected at runtime)"
|
|
71756
|
+
}
|
|
71757
|
+
},
|
|
71758
|
+
"required": [
|
|
71759
|
+
"operation"
|
|
71760
|
+
],
|
|
71761
|
+
"additionalProperties": false
|
|
71762
|
+
},
|
|
71763
|
+
{
|
|
71764
|
+
"type": "object",
|
|
71765
|
+
"properties": {
|
|
71766
|
+
"operation": {
|
|
71767
|
+
"type": "string",
|
|
71768
|
+
"enum": [
|
|
71769
|
+
"list_spend_programs"
|
|
71770
|
+
],
|
|
71771
|
+
"description": "List spend programs"
|
|
71772
|
+
},
|
|
71773
|
+
"page_size": {
|
|
71774
|
+
"type": "number",
|
|
71775
|
+
"minimum": 2,
|
|
71776
|
+
"maximum": 100,
|
|
71777
|
+
"default": 20,
|
|
71778
|
+
"description": "Number of results per page (2-100)"
|
|
71779
|
+
},
|
|
71780
|
+
"start": {
|
|
71781
|
+
"type": "string",
|
|
71782
|
+
"description": "Cursor ID from previous page for pagination"
|
|
71783
|
+
},
|
|
71784
|
+
"credentials": {
|
|
71785
|
+
"type": "object",
|
|
71786
|
+
"additionalProperties": {
|
|
71787
|
+
"type": "string"
|
|
71788
|
+
},
|
|
71789
|
+
"description": "Credentials (injected at runtime)"
|
|
71790
|
+
}
|
|
71791
|
+
},
|
|
71792
|
+
"required": [
|
|
71793
|
+
"operation"
|
|
71794
|
+
],
|
|
71795
|
+
"additionalProperties": false
|
|
71796
|
+
},
|
|
71797
|
+
{
|
|
71798
|
+
"type": "object",
|
|
71799
|
+
"properties": {
|
|
71800
|
+
"operation": {
|
|
71801
|
+
"type": "string",
|
|
71802
|
+
"enum": [
|
|
71803
|
+
"list_limits"
|
|
71804
|
+
],
|
|
71805
|
+
"description": "List spend limits/funds"
|
|
71806
|
+
},
|
|
71807
|
+
"page_size": {
|
|
71808
|
+
"type": "number",
|
|
71809
|
+
"minimum": 2,
|
|
71810
|
+
"maximum": 100,
|
|
71811
|
+
"default": 20,
|
|
71812
|
+
"description": "Number of results per page (2-100)"
|
|
71813
|
+
},
|
|
71814
|
+
"start": {
|
|
71815
|
+
"type": "string",
|
|
71816
|
+
"description": "Cursor ID from previous page for pagination"
|
|
71817
|
+
},
|
|
71818
|
+
"credentials": {
|
|
71819
|
+
"type": "object",
|
|
71820
|
+
"additionalProperties": {
|
|
71821
|
+
"type": "string"
|
|
71822
|
+
},
|
|
71823
|
+
"description": "Credentials (injected at runtime)"
|
|
71824
|
+
}
|
|
71825
|
+
},
|
|
71826
|
+
"required": [
|
|
71827
|
+
"operation"
|
|
71828
|
+
],
|
|
71829
|
+
"additionalProperties": false
|
|
71830
|
+
},
|
|
71831
|
+
{
|
|
71832
|
+
"type": "object",
|
|
71833
|
+
"properties": {
|
|
71834
|
+
"operation": {
|
|
71835
|
+
"type": "string",
|
|
71836
|
+
"enum": [
|
|
71837
|
+
"list_reimbursements"
|
|
71838
|
+
],
|
|
71839
|
+
"description": "List reimbursements"
|
|
71840
|
+
},
|
|
71841
|
+
"page_size": {
|
|
71842
|
+
"type": "number",
|
|
71843
|
+
"minimum": 2,
|
|
71844
|
+
"maximum": 100,
|
|
71845
|
+
"default": 20,
|
|
71846
|
+
"description": "Number of results per page (2-100)"
|
|
71847
|
+
},
|
|
71848
|
+
"start": {
|
|
71849
|
+
"type": "string",
|
|
71850
|
+
"description": "Cursor ID from previous page for pagination"
|
|
71851
|
+
},
|
|
71852
|
+
"from_date": {
|
|
71853
|
+
"type": "string",
|
|
71854
|
+
"description": "Filter reimbursements from this date (ISO 8601 format)"
|
|
71855
|
+
},
|
|
71856
|
+
"to_date": {
|
|
71857
|
+
"type": "string",
|
|
71858
|
+
"description": "Filter reimbursements up to this date (ISO 8601 format)"
|
|
71859
|
+
},
|
|
71860
|
+
"credentials": {
|
|
71861
|
+
"type": "object",
|
|
71862
|
+
"additionalProperties": {
|
|
71863
|
+
"type": "string"
|
|
71864
|
+
},
|
|
71865
|
+
"description": "Credentials (injected at runtime)"
|
|
71866
|
+
}
|
|
71867
|
+
},
|
|
71868
|
+
"required": [
|
|
71869
|
+
"operation"
|
|
71870
|
+
],
|
|
71871
|
+
"additionalProperties": false
|
|
71872
|
+
},
|
|
71873
|
+
{
|
|
71874
|
+
"type": "object",
|
|
71875
|
+
"properties": {
|
|
71876
|
+
"operation": {
|
|
71877
|
+
"type": "string",
|
|
71878
|
+
"enum": [
|
|
71879
|
+
"list_bills"
|
|
71880
|
+
],
|
|
71881
|
+
"description": "List bills"
|
|
71882
|
+
},
|
|
71883
|
+
"page_size": {
|
|
71884
|
+
"type": "number",
|
|
71885
|
+
"minimum": 2,
|
|
71886
|
+
"maximum": 100,
|
|
71887
|
+
"default": 20,
|
|
71888
|
+
"description": "Number of results per page (2-100)"
|
|
71889
|
+
},
|
|
71890
|
+
"start": {
|
|
71891
|
+
"type": "string",
|
|
71892
|
+
"description": "Cursor ID from previous page for pagination"
|
|
71893
|
+
},
|
|
71894
|
+
"from_date": {
|
|
71895
|
+
"type": "string",
|
|
71896
|
+
"description": "Filter bills from this date (ISO 8601 format)"
|
|
71897
|
+
},
|
|
71898
|
+
"to_date": {
|
|
71899
|
+
"type": "string",
|
|
71900
|
+
"description": "Filter bills up to this date (ISO 8601 format)"
|
|
71901
|
+
},
|
|
71902
|
+
"credentials": {
|
|
71903
|
+
"type": "object",
|
|
71904
|
+
"additionalProperties": {
|
|
71905
|
+
"type": "string"
|
|
71906
|
+
},
|
|
71907
|
+
"description": "Credentials (injected at runtime)"
|
|
71908
|
+
}
|
|
71909
|
+
},
|
|
71910
|
+
"required": [
|
|
71911
|
+
"operation"
|
|
71912
|
+
],
|
|
71913
|
+
"additionalProperties": false
|
|
71914
|
+
},
|
|
71915
|
+
{
|
|
71916
|
+
"type": "object",
|
|
71917
|
+
"properties": {
|
|
71918
|
+
"operation": {
|
|
71919
|
+
"type": "string",
|
|
71920
|
+
"enum": [
|
|
71921
|
+
"list_vendors"
|
|
71922
|
+
],
|
|
71923
|
+
"description": "List vendors"
|
|
71924
|
+
},
|
|
71925
|
+
"page_size": {
|
|
71926
|
+
"type": "number",
|
|
71927
|
+
"minimum": 2,
|
|
71928
|
+
"maximum": 100,
|
|
71929
|
+
"default": 20,
|
|
71930
|
+
"description": "Number of results per page (2-100)"
|
|
71931
|
+
},
|
|
71932
|
+
"start": {
|
|
71933
|
+
"type": "string",
|
|
71934
|
+
"description": "Cursor ID from previous page for pagination"
|
|
71935
|
+
},
|
|
71936
|
+
"credentials": {
|
|
71937
|
+
"type": "object",
|
|
71938
|
+
"additionalProperties": {
|
|
71939
|
+
"type": "string"
|
|
71940
|
+
},
|
|
71941
|
+
"description": "Credentials (injected at runtime)"
|
|
71942
|
+
}
|
|
71943
|
+
},
|
|
71944
|
+
"required": [
|
|
71945
|
+
"operation"
|
|
71946
|
+
],
|
|
71947
|
+
"additionalProperties": false
|
|
71948
|
+
},
|
|
71949
|
+
{
|
|
71950
|
+
"type": "object",
|
|
71951
|
+
"properties": {
|
|
71952
|
+
"operation": {
|
|
71953
|
+
"type": "string",
|
|
71954
|
+
"enum": [
|
|
71955
|
+
"get_business"
|
|
71956
|
+
],
|
|
71957
|
+
"description": "Get business information"
|
|
71958
|
+
},
|
|
71959
|
+
"credentials": {
|
|
71960
|
+
"type": "object",
|
|
71961
|
+
"additionalProperties": {
|
|
71962
|
+
"type": "string"
|
|
71963
|
+
},
|
|
71964
|
+
"description": "Credentials (injected at runtime)"
|
|
71965
|
+
}
|
|
71966
|
+
},
|
|
71967
|
+
"required": [
|
|
71968
|
+
"operation"
|
|
71969
|
+
],
|
|
71970
|
+
"additionalProperties": false
|
|
71971
|
+
}
|
|
71972
|
+
]
|
|
71973
|
+
},
|
|
71974
|
+
"outputJsonSchema": {
|
|
71975
|
+
"anyOf": [
|
|
71976
|
+
{
|
|
71977
|
+
"type": "object",
|
|
71978
|
+
"properties": {
|
|
71979
|
+
"operation": {
|
|
71980
|
+
"type": "string",
|
|
71981
|
+
"enum": [
|
|
71982
|
+
"list_transactions"
|
|
71983
|
+
]
|
|
71984
|
+
},
|
|
71985
|
+
"success": {
|
|
71986
|
+
"type": "boolean",
|
|
71987
|
+
"description": "Whether the operation was successful"
|
|
71988
|
+
},
|
|
71989
|
+
"transactions": {
|
|
71990
|
+
"type": "array",
|
|
71991
|
+
"items": {
|
|
71992
|
+
"type": "object",
|
|
71993
|
+
"properties": {
|
|
71994
|
+
"id": {
|
|
71995
|
+
"type": "string",
|
|
71996
|
+
"description": "Transaction ID"
|
|
71997
|
+
},
|
|
71998
|
+
"amount": {
|
|
71999
|
+
"type": "number",
|
|
72000
|
+
"description": "Transaction amount in cents"
|
|
72001
|
+
},
|
|
72002
|
+
"currency_code": {
|
|
72003
|
+
"type": "string",
|
|
72004
|
+
"description": "Currency code (e.g., USD)"
|
|
72005
|
+
},
|
|
72006
|
+
"merchant_name": {
|
|
72007
|
+
"type": "string",
|
|
72008
|
+
"nullable": true,
|
|
72009
|
+
"description": "Merchant name"
|
|
72010
|
+
},
|
|
72011
|
+
"merchant_descriptor": {
|
|
72012
|
+
"type": "string",
|
|
72013
|
+
"nullable": true,
|
|
72014
|
+
"description": "Merchant descriptor"
|
|
72015
|
+
},
|
|
72016
|
+
"card_holder": {
|
|
72017
|
+
"type": "object",
|
|
72018
|
+
"properties": {
|
|
72019
|
+
"user_id": {
|
|
72020
|
+
"type": "string",
|
|
72021
|
+
"description": "Card holder user ID"
|
|
72022
|
+
},
|
|
72023
|
+
"first_name": {
|
|
72024
|
+
"type": "string",
|
|
72025
|
+
"description": "Card holder first name"
|
|
72026
|
+
},
|
|
72027
|
+
"last_name": {
|
|
72028
|
+
"type": "string",
|
|
72029
|
+
"description": "Card holder last name"
|
|
72030
|
+
},
|
|
72031
|
+
"department_name": {
|
|
72032
|
+
"type": "string",
|
|
72033
|
+
"nullable": true,
|
|
72034
|
+
"description": "Card holder department"
|
|
72035
|
+
}
|
|
72036
|
+
},
|
|
72037
|
+
"additionalProperties": true,
|
|
72038
|
+
"description": "Card holder information"
|
|
72039
|
+
},
|
|
72040
|
+
"card_id": {
|
|
72041
|
+
"type": "string",
|
|
72042
|
+
"nullable": true,
|
|
72043
|
+
"description": "Card ID"
|
|
72044
|
+
},
|
|
72045
|
+
"state": {
|
|
72046
|
+
"type": "string",
|
|
72047
|
+
"description": "Transaction state (e.g., CLEARED)"
|
|
72048
|
+
},
|
|
72049
|
+
"user_transaction_time": {
|
|
72050
|
+
"type": "string",
|
|
72051
|
+
"nullable": true,
|
|
72052
|
+
"description": "Transaction time"
|
|
72053
|
+
},
|
|
72054
|
+
"settlement_date": {
|
|
72055
|
+
"type": "string",
|
|
72056
|
+
"nullable": true,
|
|
72057
|
+
"description": "Settlement date"
|
|
72058
|
+
},
|
|
72059
|
+
"memo": {
|
|
72060
|
+
"type": "string",
|
|
72061
|
+
"nullable": true,
|
|
72062
|
+
"description": "Transaction memo"
|
|
72063
|
+
},
|
|
72064
|
+
"sk_category_name": {
|
|
72065
|
+
"type": "string",
|
|
72066
|
+
"nullable": true,
|
|
72067
|
+
"description": "Spending category name"
|
|
72068
|
+
}
|
|
72069
|
+
},
|
|
72070
|
+
"additionalProperties": true,
|
|
72071
|
+
"description": "Ramp transaction"
|
|
72072
|
+
},
|
|
72073
|
+
"description": "List of transactions"
|
|
72074
|
+
},
|
|
72075
|
+
"has_more": {
|
|
72076
|
+
"type": "boolean",
|
|
72077
|
+
"description": "Whether there are more results"
|
|
72078
|
+
},
|
|
72079
|
+
"error": {
|
|
72080
|
+
"type": "string",
|
|
72081
|
+
"description": "Error message if operation failed"
|
|
72082
|
+
}
|
|
72083
|
+
},
|
|
72084
|
+
"required": [
|
|
72085
|
+
"operation",
|
|
72086
|
+
"success",
|
|
72087
|
+
"error"
|
|
72088
|
+
],
|
|
72089
|
+
"additionalProperties": false
|
|
72090
|
+
},
|
|
72091
|
+
{
|
|
72092
|
+
"type": "object",
|
|
72093
|
+
"properties": {
|
|
72094
|
+
"operation": {
|
|
72095
|
+
"type": "string",
|
|
72096
|
+
"enum": [
|
|
72097
|
+
"get_transaction"
|
|
72098
|
+
]
|
|
72099
|
+
},
|
|
72100
|
+
"success": {
|
|
72101
|
+
"type": "boolean",
|
|
72102
|
+
"description": "Whether the operation was successful"
|
|
72103
|
+
},
|
|
72104
|
+
"transaction": {
|
|
72105
|
+
"type": "object",
|
|
72106
|
+
"properties": {
|
|
72107
|
+
"id": {
|
|
72108
|
+
"type": "string",
|
|
72109
|
+
"description": "Transaction ID"
|
|
72110
|
+
},
|
|
72111
|
+
"amount": {
|
|
72112
|
+
"type": "number",
|
|
72113
|
+
"description": "Transaction amount in cents"
|
|
72114
|
+
},
|
|
72115
|
+
"currency_code": {
|
|
72116
|
+
"type": "string",
|
|
72117
|
+
"description": "Currency code (e.g., USD)"
|
|
72118
|
+
},
|
|
72119
|
+
"merchant_name": {
|
|
72120
|
+
"type": "string",
|
|
72121
|
+
"nullable": true,
|
|
72122
|
+
"description": "Merchant name"
|
|
72123
|
+
},
|
|
72124
|
+
"merchant_descriptor": {
|
|
72125
|
+
"type": "string",
|
|
72126
|
+
"nullable": true,
|
|
72127
|
+
"description": "Merchant descriptor"
|
|
72128
|
+
},
|
|
72129
|
+
"card_holder": {
|
|
72130
|
+
"type": "object",
|
|
72131
|
+
"properties": {
|
|
72132
|
+
"user_id": {
|
|
72133
|
+
"type": "string",
|
|
72134
|
+
"description": "Card holder user ID"
|
|
72135
|
+
},
|
|
72136
|
+
"first_name": {
|
|
72137
|
+
"type": "string",
|
|
72138
|
+
"description": "Card holder first name"
|
|
72139
|
+
},
|
|
72140
|
+
"last_name": {
|
|
72141
|
+
"type": "string",
|
|
72142
|
+
"description": "Card holder last name"
|
|
72143
|
+
},
|
|
72144
|
+
"department_name": {
|
|
72145
|
+
"type": "string",
|
|
72146
|
+
"nullable": true,
|
|
72147
|
+
"description": "Card holder department"
|
|
72148
|
+
}
|
|
72149
|
+
},
|
|
72150
|
+
"additionalProperties": true,
|
|
72151
|
+
"description": "Card holder information"
|
|
72152
|
+
},
|
|
72153
|
+
"card_id": {
|
|
72154
|
+
"type": "string",
|
|
72155
|
+
"nullable": true,
|
|
72156
|
+
"description": "Card ID"
|
|
72157
|
+
},
|
|
72158
|
+
"state": {
|
|
72159
|
+
"type": "string",
|
|
72160
|
+
"description": "Transaction state (e.g., CLEARED)"
|
|
72161
|
+
},
|
|
72162
|
+
"user_transaction_time": {
|
|
72163
|
+
"type": "string",
|
|
72164
|
+
"nullable": true,
|
|
72165
|
+
"description": "Transaction time"
|
|
72166
|
+
},
|
|
72167
|
+
"settlement_date": {
|
|
72168
|
+
"type": "string",
|
|
72169
|
+
"nullable": true,
|
|
72170
|
+
"description": "Settlement date"
|
|
72171
|
+
},
|
|
72172
|
+
"memo": {
|
|
72173
|
+
"type": "string",
|
|
72174
|
+
"nullable": true,
|
|
72175
|
+
"description": "Transaction memo"
|
|
72176
|
+
},
|
|
72177
|
+
"sk_category_name": {
|
|
72178
|
+
"type": "string",
|
|
72179
|
+
"nullable": true,
|
|
72180
|
+
"description": "Spending category name"
|
|
72181
|
+
}
|
|
72182
|
+
},
|
|
72183
|
+
"additionalProperties": true,
|
|
72184
|
+
"description": "Transaction details"
|
|
72185
|
+
},
|
|
72186
|
+
"error": {
|
|
72187
|
+
"type": "string",
|
|
72188
|
+
"description": "Error message if operation failed"
|
|
72189
|
+
}
|
|
72190
|
+
},
|
|
72191
|
+
"required": [
|
|
72192
|
+
"operation",
|
|
72193
|
+
"success",
|
|
72194
|
+
"error"
|
|
72195
|
+
],
|
|
72196
|
+
"additionalProperties": false
|
|
72197
|
+
},
|
|
72198
|
+
{
|
|
72199
|
+
"type": "object",
|
|
72200
|
+
"properties": {
|
|
72201
|
+
"operation": {
|
|
72202
|
+
"type": "string",
|
|
72203
|
+
"enum": [
|
|
72204
|
+
"list_users"
|
|
72205
|
+
]
|
|
72206
|
+
},
|
|
72207
|
+
"success": {
|
|
72208
|
+
"type": "boolean",
|
|
72209
|
+
"description": "Whether the operation was successful"
|
|
72210
|
+
},
|
|
72211
|
+
"users": {
|
|
72212
|
+
"type": "array",
|
|
72213
|
+
"items": {
|
|
72214
|
+
"type": "object",
|
|
72215
|
+
"properties": {
|
|
72216
|
+
"id": {
|
|
72217
|
+
"type": "string",
|
|
72218
|
+
"description": "User ID"
|
|
72219
|
+
},
|
|
72220
|
+
"first_name": {
|
|
72221
|
+
"type": "string",
|
|
72222
|
+
"description": "First name"
|
|
72223
|
+
},
|
|
72224
|
+
"last_name": {
|
|
72225
|
+
"type": "string",
|
|
72226
|
+
"description": "Last name"
|
|
72227
|
+
},
|
|
72228
|
+
"email": {
|
|
72229
|
+
"type": "string",
|
|
72230
|
+
"description": "Email address"
|
|
72231
|
+
},
|
|
72232
|
+
"role": {
|
|
72233
|
+
"type": "string",
|
|
72234
|
+
"description": "User role"
|
|
72235
|
+
},
|
|
72236
|
+
"department_id": {
|
|
72237
|
+
"type": "string",
|
|
72238
|
+
"nullable": true,
|
|
72239
|
+
"description": "Department ID"
|
|
72240
|
+
},
|
|
72241
|
+
"location_id": {
|
|
72242
|
+
"type": "string",
|
|
72243
|
+
"nullable": true,
|
|
72244
|
+
"description": "Location ID"
|
|
72245
|
+
},
|
|
72246
|
+
"status": {
|
|
72247
|
+
"type": "string",
|
|
72248
|
+
"description": "User status"
|
|
72249
|
+
}
|
|
72250
|
+
},
|
|
72251
|
+
"additionalProperties": true,
|
|
72252
|
+
"description": "Ramp user"
|
|
72253
|
+
},
|
|
72254
|
+
"description": "List of users"
|
|
72255
|
+
},
|
|
72256
|
+
"has_more": {
|
|
72257
|
+
"type": "boolean",
|
|
72258
|
+
"description": "Whether there are more results"
|
|
72259
|
+
},
|
|
72260
|
+
"error": {
|
|
72261
|
+
"type": "string",
|
|
72262
|
+
"description": "Error message if operation failed"
|
|
72263
|
+
}
|
|
72264
|
+
},
|
|
72265
|
+
"required": [
|
|
72266
|
+
"operation",
|
|
72267
|
+
"success",
|
|
72268
|
+
"error"
|
|
72269
|
+
],
|
|
72270
|
+
"additionalProperties": false
|
|
72271
|
+
},
|
|
72272
|
+
{
|
|
72273
|
+
"type": "object",
|
|
72274
|
+
"properties": {
|
|
72275
|
+
"operation": {
|
|
72276
|
+
"type": "string",
|
|
72277
|
+
"enum": [
|
|
72278
|
+
"get_user"
|
|
72279
|
+
]
|
|
72280
|
+
},
|
|
72281
|
+
"success": {
|
|
72282
|
+
"type": "boolean",
|
|
72283
|
+
"description": "Whether the operation was successful"
|
|
72284
|
+
},
|
|
72285
|
+
"user": {
|
|
72286
|
+
"type": "object",
|
|
72287
|
+
"properties": {
|
|
72288
|
+
"id": {
|
|
72289
|
+
"type": "string",
|
|
72290
|
+
"description": "User ID"
|
|
72291
|
+
},
|
|
72292
|
+
"first_name": {
|
|
72293
|
+
"type": "string",
|
|
72294
|
+
"description": "First name"
|
|
72295
|
+
},
|
|
72296
|
+
"last_name": {
|
|
72297
|
+
"type": "string",
|
|
72298
|
+
"description": "Last name"
|
|
72299
|
+
},
|
|
72300
|
+
"email": {
|
|
72301
|
+
"type": "string",
|
|
72302
|
+
"description": "Email address"
|
|
72303
|
+
},
|
|
72304
|
+
"role": {
|
|
72305
|
+
"type": "string",
|
|
72306
|
+
"description": "User role"
|
|
72307
|
+
},
|
|
72308
|
+
"department_id": {
|
|
72309
|
+
"type": "string",
|
|
72310
|
+
"nullable": true,
|
|
72311
|
+
"description": "Department ID"
|
|
72312
|
+
},
|
|
72313
|
+
"location_id": {
|
|
72314
|
+
"type": "string",
|
|
72315
|
+
"nullable": true,
|
|
72316
|
+
"description": "Location ID"
|
|
72317
|
+
},
|
|
72318
|
+
"status": {
|
|
72319
|
+
"type": "string",
|
|
72320
|
+
"description": "User status"
|
|
72321
|
+
}
|
|
72322
|
+
},
|
|
72323
|
+
"additionalProperties": true,
|
|
72324
|
+
"description": "User details"
|
|
72325
|
+
},
|
|
72326
|
+
"error": {
|
|
72327
|
+
"type": "string",
|
|
72328
|
+
"description": "Error message if operation failed"
|
|
72329
|
+
}
|
|
72330
|
+
},
|
|
72331
|
+
"required": [
|
|
72332
|
+
"operation",
|
|
72333
|
+
"success",
|
|
72334
|
+
"error"
|
|
72335
|
+
],
|
|
72336
|
+
"additionalProperties": false
|
|
72337
|
+
},
|
|
72338
|
+
{
|
|
72339
|
+
"type": "object",
|
|
72340
|
+
"properties": {
|
|
72341
|
+
"operation": {
|
|
72342
|
+
"type": "string",
|
|
72343
|
+
"enum": [
|
|
72344
|
+
"list_cards"
|
|
72345
|
+
]
|
|
72346
|
+
},
|
|
72347
|
+
"success": {
|
|
72348
|
+
"type": "boolean",
|
|
72349
|
+
"description": "Whether the operation was successful"
|
|
72350
|
+
},
|
|
72351
|
+
"cards": {
|
|
72352
|
+
"type": "array",
|
|
72353
|
+
"items": {
|
|
72354
|
+
"type": "object",
|
|
72355
|
+
"properties": {
|
|
72356
|
+
"id": {
|
|
72357
|
+
"type": "string",
|
|
72358
|
+
"description": "Card ID"
|
|
72359
|
+
},
|
|
72360
|
+
"display_name": {
|
|
72361
|
+
"type": "string",
|
|
72362
|
+
"description": "Card display name"
|
|
72363
|
+
},
|
|
72364
|
+
"last_four": {
|
|
72365
|
+
"type": "string",
|
|
72366
|
+
"description": "Last four digits"
|
|
72367
|
+
},
|
|
72368
|
+
"card_program_id": {
|
|
72369
|
+
"type": "string",
|
|
72370
|
+
"nullable": true,
|
|
72371
|
+
"description": "Card program ID"
|
|
72372
|
+
},
|
|
72373
|
+
"state": {
|
|
72374
|
+
"type": "string",
|
|
72375
|
+
"description": "Card state"
|
|
72376
|
+
},
|
|
72377
|
+
"is_physical": {
|
|
72378
|
+
"type": "boolean",
|
|
72379
|
+
"description": "Whether card is physical"
|
|
72380
|
+
},
|
|
72381
|
+
"cardholder_id": {
|
|
72382
|
+
"type": "string",
|
|
72383
|
+
"description": "Cardholder user ID"
|
|
72384
|
+
},
|
|
72385
|
+
"cardholder_name": {
|
|
72386
|
+
"type": "string",
|
|
72387
|
+
"description": "Cardholder name"
|
|
72388
|
+
},
|
|
72389
|
+
"spending_restrictions": {
|
|
72390
|
+
"type": "object",
|
|
72391
|
+
"additionalProperties": {},
|
|
72392
|
+
"description": "Spending restrictions"
|
|
72393
|
+
}
|
|
72394
|
+
},
|
|
72395
|
+
"additionalProperties": true,
|
|
72396
|
+
"description": "Ramp card"
|
|
72397
|
+
},
|
|
72398
|
+
"description": "List of cards"
|
|
72399
|
+
},
|
|
72400
|
+
"has_more": {
|
|
72401
|
+
"type": "boolean",
|
|
72402
|
+
"description": "Whether there are more results"
|
|
72403
|
+
},
|
|
72404
|
+
"error": {
|
|
72405
|
+
"type": "string",
|
|
72406
|
+
"description": "Error message if operation failed"
|
|
72407
|
+
}
|
|
72408
|
+
},
|
|
72409
|
+
"required": [
|
|
72410
|
+
"operation",
|
|
72411
|
+
"success",
|
|
72412
|
+
"error"
|
|
72413
|
+
],
|
|
72414
|
+
"additionalProperties": false
|
|
72415
|
+
},
|
|
72416
|
+
{
|
|
72417
|
+
"type": "object",
|
|
72418
|
+
"properties": {
|
|
72419
|
+
"operation": {
|
|
72420
|
+
"type": "string",
|
|
72421
|
+
"enum": [
|
|
72422
|
+
"get_card"
|
|
72423
|
+
]
|
|
72424
|
+
},
|
|
72425
|
+
"success": {
|
|
72426
|
+
"type": "boolean",
|
|
72427
|
+
"description": "Whether the operation was successful"
|
|
72428
|
+
},
|
|
72429
|
+
"card": {
|
|
72430
|
+
"type": "object",
|
|
72431
|
+
"properties": {
|
|
72432
|
+
"id": {
|
|
72433
|
+
"type": "string",
|
|
72434
|
+
"description": "Card ID"
|
|
72435
|
+
},
|
|
72436
|
+
"display_name": {
|
|
72437
|
+
"type": "string",
|
|
72438
|
+
"description": "Card display name"
|
|
72439
|
+
},
|
|
72440
|
+
"last_four": {
|
|
72441
|
+
"type": "string",
|
|
72442
|
+
"description": "Last four digits"
|
|
72443
|
+
},
|
|
72444
|
+
"card_program_id": {
|
|
72445
|
+
"type": "string",
|
|
72446
|
+
"nullable": true,
|
|
72447
|
+
"description": "Card program ID"
|
|
72448
|
+
},
|
|
72449
|
+
"state": {
|
|
72450
|
+
"type": "string",
|
|
72451
|
+
"description": "Card state"
|
|
72452
|
+
},
|
|
72453
|
+
"is_physical": {
|
|
72454
|
+
"type": "boolean",
|
|
72455
|
+
"description": "Whether card is physical"
|
|
72456
|
+
},
|
|
72457
|
+
"cardholder_id": {
|
|
72458
|
+
"type": "string",
|
|
72459
|
+
"description": "Cardholder user ID"
|
|
72460
|
+
},
|
|
72461
|
+
"cardholder_name": {
|
|
72462
|
+
"type": "string",
|
|
72463
|
+
"description": "Cardholder name"
|
|
72464
|
+
},
|
|
72465
|
+
"spending_restrictions": {
|
|
72466
|
+
"type": "object",
|
|
72467
|
+
"additionalProperties": {},
|
|
72468
|
+
"description": "Spending restrictions"
|
|
72469
|
+
}
|
|
72470
|
+
},
|
|
72471
|
+
"additionalProperties": true,
|
|
72472
|
+
"description": "Card details"
|
|
72473
|
+
},
|
|
72474
|
+
"error": {
|
|
72475
|
+
"type": "string",
|
|
72476
|
+
"description": "Error message if operation failed"
|
|
72477
|
+
}
|
|
72478
|
+
},
|
|
72479
|
+
"required": [
|
|
72480
|
+
"operation",
|
|
72481
|
+
"success",
|
|
72482
|
+
"error"
|
|
72483
|
+
],
|
|
72484
|
+
"additionalProperties": false
|
|
72485
|
+
},
|
|
72486
|
+
{
|
|
72487
|
+
"type": "object",
|
|
72488
|
+
"properties": {
|
|
72489
|
+
"operation": {
|
|
72490
|
+
"type": "string",
|
|
72491
|
+
"enum": [
|
|
72492
|
+
"list_departments"
|
|
72493
|
+
]
|
|
72494
|
+
},
|
|
72495
|
+
"success": {
|
|
72496
|
+
"type": "boolean",
|
|
72497
|
+
"description": "Whether the operation was successful"
|
|
72498
|
+
},
|
|
72499
|
+
"departments": {
|
|
72500
|
+
"type": "array",
|
|
72501
|
+
"items": {
|
|
72502
|
+
"type": "object",
|
|
72503
|
+
"properties": {
|
|
72504
|
+
"id": {
|
|
72505
|
+
"type": "string",
|
|
72506
|
+
"description": "Department ID"
|
|
72507
|
+
},
|
|
72508
|
+
"name": {
|
|
72509
|
+
"type": "string",
|
|
72510
|
+
"description": "Department name"
|
|
72511
|
+
}
|
|
72512
|
+
},
|
|
72513
|
+
"additionalProperties": true,
|
|
72514
|
+
"description": "Ramp department"
|
|
72515
|
+
},
|
|
72516
|
+
"description": "List of departments"
|
|
72517
|
+
},
|
|
72518
|
+
"has_more": {
|
|
72519
|
+
"type": "boolean",
|
|
72520
|
+
"description": "Whether there are more results"
|
|
72521
|
+
},
|
|
72522
|
+
"error": {
|
|
72523
|
+
"type": "string",
|
|
72524
|
+
"description": "Error message if operation failed"
|
|
72525
|
+
}
|
|
72526
|
+
},
|
|
72527
|
+
"required": [
|
|
72528
|
+
"operation",
|
|
72529
|
+
"success",
|
|
72530
|
+
"error"
|
|
72531
|
+
],
|
|
72532
|
+
"additionalProperties": false
|
|
72533
|
+
},
|
|
72534
|
+
{
|
|
72535
|
+
"type": "object",
|
|
72536
|
+
"properties": {
|
|
72537
|
+
"operation": {
|
|
72538
|
+
"type": "string",
|
|
72539
|
+
"enum": [
|
|
72540
|
+
"list_locations"
|
|
72541
|
+
]
|
|
72542
|
+
},
|
|
72543
|
+
"success": {
|
|
72544
|
+
"type": "boolean",
|
|
72545
|
+
"description": "Whether the operation was successful"
|
|
72546
|
+
},
|
|
72547
|
+
"locations": {
|
|
72548
|
+
"type": "array",
|
|
72549
|
+
"items": {
|
|
72550
|
+
"type": "object",
|
|
72551
|
+
"properties": {
|
|
72552
|
+
"id": {
|
|
72553
|
+
"type": "string",
|
|
72554
|
+
"description": "Location ID"
|
|
72555
|
+
},
|
|
72556
|
+
"name": {
|
|
72557
|
+
"type": "string",
|
|
72558
|
+
"description": "Location name"
|
|
72559
|
+
}
|
|
72560
|
+
},
|
|
72561
|
+
"additionalProperties": true,
|
|
72562
|
+
"description": "Ramp location"
|
|
72563
|
+
},
|
|
72564
|
+
"description": "List of locations"
|
|
72565
|
+
},
|
|
72566
|
+
"has_more": {
|
|
72567
|
+
"type": "boolean",
|
|
72568
|
+
"description": "Whether there are more results"
|
|
72569
|
+
},
|
|
72570
|
+
"error": {
|
|
72571
|
+
"type": "string",
|
|
72572
|
+
"description": "Error message if operation failed"
|
|
72573
|
+
}
|
|
72574
|
+
},
|
|
72575
|
+
"required": [
|
|
72576
|
+
"operation",
|
|
72577
|
+
"success",
|
|
72578
|
+
"error"
|
|
72579
|
+
],
|
|
72580
|
+
"additionalProperties": false
|
|
72581
|
+
},
|
|
72582
|
+
{
|
|
72583
|
+
"type": "object",
|
|
72584
|
+
"properties": {
|
|
72585
|
+
"operation": {
|
|
72586
|
+
"type": "string",
|
|
72587
|
+
"enum": [
|
|
72588
|
+
"list_spend_programs"
|
|
72589
|
+
]
|
|
72590
|
+
},
|
|
72591
|
+
"success": {
|
|
72592
|
+
"type": "boolean",
|
|
72593
|
+
"description": "Whether the operation was successful"
|
|
72594
|
+
},
|
|
72595
|
+
"spend_programs": {
|
|
72596
|
+
"type": "array",
|
|
72597
|
+
"items": {
|
|
72598
|
+
"type": "object",
|
|
72599
|
+
"properties": {
|
|
72600
|
+
"id": {
|
|
72601
|
+
"type": "string",
|
|
72602
|
+
"description": "Spend program ID"
|
|
72603
|
+
},
|
|
72604
|
+
"display_name": {
|
|
72605
|
+
"type": "string",
|
|
72606
|
+
"description": "Spend program display name"
|
|
72607
|
+
},
|
|
72608
|
+
"description": {
|
|
72609
|
+
"type": "string",
|
|
72610
|
+
"nullable": true,
|
|
72611
|
+
"description": "Description"
|
|
72612
|
+
}
|
|
72613
|
+
},
|
|
72614
|
+
"additionalProperties": true,
|
|
72615
|
+
"description": "Ramp spend program"
|
|
72616
|
+
},
|
|
72617
|
+
"description": "List of spend programs"
|
|
72618
|
+
},
|
|
72619
|
+
"has_more": {
|
|
72620
|
+
"type": "boolean",
|
|
72621
|
+
"description": "Whether there are more results"
|
|
72622
|
+
},
|
|
72623
|
+
"error": {
|
|
72624
|
+
"type": "string",
|
|
72625
|
+
"description": "Error message if operation failed"
|
|
72626
|
+
}
|
|
72627
|
+
},
|
|
72628
|
+
"required": [
|
|
72629
|
+
"operation",
|
|
72630
|
+
"success",
|
|
72631
|
+
"error"
|
|
72632
|
+
],
|
|
72633
|
+
"additionalProperties": false
|
|
72634
|
+
},
|
|
72635
|
+
{
|
|
72636
|
+
"type": "object",
|
|
72637
|
+
"properties": {
|
|
72638
|
+
"operation": {
|
|
72639
|
+
"type": "string",
|
|
72640
|
+
"enum": [
|
|
72641
|
+
"list_limits"
|
|
72642
|
+
]
|
|
72643
|
+
},
|
|
72644
|
+
"success": {
|
|
72645
|
+
"type": "boolean",
|
|
72646
|
+
"description": "Whether the operation was successful"
|
|
72647
|
+
},
|
|
72648
|
+
"limits": {
|
|
72649
|
+
"type": "array",
|
|
72650
|
+
"items": {
|
|
72651
|
+
"type": "object",
|
|
72652
|
+
"properties": {
|
|
72653
|
+
"id": {
|
|
72654
|
+
"type": "string",
|
|
72655
|
+
"description": "Limit/fund ID"
|
|
72656
|
+
},
|
|
72657
|
+
"display_name": {
|
|
72658
|
+
"type": "string",
|
|
72659
|
+
"description": "Limit display name"
|
|
72660
|
+
},
|
|
72661
|
+
"state": {
|
|
72662
|
+
"type": "string",
|
|
72663
|
+
"description": "Limit state"
|
|
72664
|
+
}
|
|
72665
|
+
},
|
|
72666
|
+
"additionalProperties": true,
|
|
72667
|
+
"description": "Ramp limit/fund"
|
|
72668
|
+
},
|
|
72669
|
+
"description": "List of spend limits/funds"
|
|
72670
|
+
},
|
|
72671
|
+
"has_more": {
|
|
72672
|
+
"type": "boolean",
|
|
72673
|
+
"description": "Whether there are more results"
|
|
72674
|
+
},
|
|
72675
|
+
"error": {
|
|
72676
|
+
"type": "string",
|
|
72677
|
+
"description": "Error message if operation failed"
|
|
72678
|
+
}
|
|
72679
|
+
},
|
|
72680
|
+
"required": [
|
|
72681
|
+
"operation",
|
|
72682
|
+
"success",
|
|
72683
|
+
"error"
|
|
72684
|
+
],
|
|
72685
|
+
"additionalProperties": false
|
|
72686
|
+
},
|
|
72687
|
+
{
|
|
72688
|
+
"type": "object",
|
|
72689
|
+
"properties": {
|
|
72690
|
+
"operation": {
|
|
72691
|
+
"type": "string",
|
|
72692
|
+
"enum": [
|
|
72693
|
+
"list_reimbursements"
|
|
72694
|
+
]
|
|
72695
|
+
},
|
|
72696
|
+
"success": {
|
|
72697
|
+
"type": "boolean",
|
|
72698
|
+
"description": "Whether the operation was successful"
|
|
72699
|
+
},
|
|
72700
|
+
"reimbursements": {
|
|
72701
|
+
"type": "array",
|
|
72702
|
+
"items": {
|
|
72703
|
+
"type": "object",
|
|
72704
|
+
"properties": {
|
|
72705
|
+
"id": {
|
|
72706
|
+
"type": "string",
|
|
72707
|
+
"description": "Reimbursement ID"
|
|
72708
|
+
},
|
|
72709
|
+
"amount": {
|
|
72710
|
+
"type": "number",
|
|
72711
|
+
"description": "Reimbursement amount in cents"
|
|
72712
|
+
},
|
|
72713
|
+
"currency": {
|
|
72714
|
+
"type": "string",
|
|
72715
|
+
"description": "Currency code"
|
|
72716
|
+
},
|
|
72717
|
+
"merchant": {
|
|
72718
|
+
"type": "string",
|
|
72719
|
+
"nullable": true,
|
|
72720
|
+
"description": "Merchant name"
|
|
72721
|
+
},
|
|
72722
|
+
"user_id": {
|
|
72723
|
+
"type": "string",
|
|
72724
|
+
"description": "User who submitted"
|
|
72725
|
+
}
|
|
72726
|
+
},
|
|
72727
|
+
"additionalProperties": true,
|
|
72728
|
+
"description": "Ramp reimbursement"
|
|
72729
|
+
},
|
|
72730
|
+
"description": "List of reimbursements"
|
|
72731
|
+
},
|
|
72732
|
+
"has_more": {
|
|
72733
|
+
"type": "boolean",
|
|
72734
|
+
"description": "Whether there are more results"
|
|
72735
|
+
},
|
|
72736
|
+
"error": {
|
|
72737
|
+
"type": "string",
|
|
72738
|
+
"description": "Error message if operation failed"
|
|
72739
|
+
}
|
|
72740
|
+
},
|
|
72741
|
+
"required": [
|
|
72742
|
+
"operation",
|
|
72743
|
+
"success",
|
|
72744
|
+
"error"
|
|
72745
|
+
],
|
|
72746
|
+
"additionalProperties": false
|
|
72747
|
+
},
|
|
72748
|
+
{
|
|
72749
|
+
"type": "object",
|
|
72750
|
+
"properties": {
|
|
72751
|
+
"operation": {
|
|
72752
|
+
"type": "string",
|
|
72753
|
+
"enum": [
|
|
72754
|
+
"list_bills"
|
|
72755
|
+
]
|
|
72756
|
+
},
|
|
72757
|
+
"success": {
|
|
72758
|
+
"type": "boolean",
|
|
72759
|
+
"description": "Whether the operation was successful"
|
|
72760
|
+
},
|
|
72761
|
+
"bills": {
|
|
72762
|
+
"type": "array",
|
|
72763
|
+
"items": {
|
|
72764
|
+
"type": "object",
|
|
72765
|
+
"properties": {
|
|
72766
|
+
"id": {
|
|
72767
|
+
"type": "string",
|
|
72768
|
+
"description": "Bill ID"
|
|
72769
|
+
},
|
|
72770
|
+
"amount": {
|
|
72771
|
+
"type": "number",
|
|
72772
|
+
"description": "Bill amount"
|
|
72773
|
+
},
|
|
72774
|
+
"vendor_name": {
|
|
72775
|
+
"type": "string",
|
|
72776
|
+
"nullable": true,
|
|
72777
|
+
"description": "Vendor name"
|
|
72778
|
+
},
|
|
72779
|
+
"status": {
|
|
72780
|
+
"type": "string",
|
|
72781
|
+
"description": "Bill status"
|
|
72782
|
+
}
|
|
72783
|
+
},
|
|
72784
|
+
"additionalProperties": true,
|
|
72785
|
+
"description": "Ramp bill"
|
|
72786
|
+
},
|
|
72787
|
+
"description": "List of bills"
|
|
72788
|
+
},
|
|
72789
|
+
"has_more": {
|
|
72790
|
+
"type": "boolean",
|
|
72791
|
+
"description": "Whether there are more results"
|
|
72792
|
+
},
|
|
72793
|
+
"error": {
|
|
72794
|
+
"type": "string",
|
|
72795
|
+
"description": "Error message if operation failed"
|
|
72796
|
+
}
|
|
72797
|
+
},
|
|
72798
|
+
"required": [
|
|
72799
|
+
"operation",
|
|
72800
|
+
"success",
|
|
72801
|
+
"error"
|
|
72802
|
+
],
|
|
72803
|
+
"additionalProperties": false
|
|
72804
|
+
},
|
|
72805
|
+
{
|
|
72806
|
+
"type": "object",
|
|
72807
|
+
"properties": {
|
|
72808
|
+
"operation": {
|
|
72809
|
+
"type": "string",
|
|
72810
|
+
"enum": [
|
|
72811
|
+
"list_vendors"
|
|
72812
|
+
]
|
|
72813
|
+
},
|
|
72814
|
+
"success": {
|
|
72815
|
+
"type": "boolean",
|
|
72816
|
+
"description": "Whether the operation was successful"
|
|
72817
|
+
},
|
|
72818
|
+
"vendors": {
|
|
72819
|
+
"type": "array",
|
|
72820
|
+
"items": {
|
|
72821
|
+
"type": "object",
|
|
72822
|
+
"properties": {
|
|
72823
|
+
"id": {
|
|
72824
|
+
"type": "string",
|
|
72825
|
+
"description": "Vendor ID"
|
|
72826
|
+
},
|
|
72827
|
+
"name": {
|
|
72828
|
+
"type": "string",
|
|
72829
|
+
"description": "Vendor name"
|
|
72830
|
+
}
|
|
72831
|
+
},
|
|
72832
|
+
"additionalProperties": true,
|
|
72833
|
+
"description": "Ramp vendor"
|
|
72834
|
+
},
|
|
72835
|
+
"description": "List of vendors"
|
|
72836
|
+
},
|
|
72837
|
+
"has_more": {
|
|
72838
|
+
"type": "boolean",
|
|
72839
|
+
"description": "Whether there are more results"
|
|
72840
|
+
},
|
|
72841
|
+
"error": {
|
|
72842
|
+
"type": "string",
|
|
72843
|
+
"description": "Error message if operation failed"
|
|
72844
|
+
}
|
|
72845
|
+
},
|
|
72846
|
+
"required": [
|
|
72847
|
+
"operation",
|
|
72848
|
+
"success",
|
|
72849
|
+
"error"
|
|
72850
|
+
],
|
|
72851
|
+
"additionalProperties": false
|
|
72852
|
+
},
|
|
72853
|
+
{
|
|
72854
|
+
"type": "object",
|
|
72855
|
+
"properties": {
|
|
72856
|
+
"operation": {
|
|
72857
|
+
"type": "string",
|
|
72858
|
+
"enum": [
|
|
72859
|
+
"get_business"
|
|
72860
|
+
]
|
|
72861
|
+
},
|
|
72862
|
+
"success": {
|
|
72863
|
+
"type": "boolean",
|
|
72864
|
+
"description": "Whether the operation was successful"
|
|
72865
|
+
},
|
|
72866
|
+
"business": {
|
|
72867
|
+
"type": "object",
|
|
72868
|
+
"properties": {
|
|
72869
|
+
"id": {
|
|
72870
|
+
"type": "string",
|
|
72871
|
+
"description": "Business ID"
|
|
72872
|
+
},
|
|
72873
|
+
"name": {
|
|
72874
|
+
"type": "string",
|
|
72875
|
+
"description": "Business name"
|
|
72876
|
+
}
|
|
72877
|
+
},
|
|
72878
|
+
"additionalProperties": true,
|
|
72879
|
+
"description": "Business information"
|
|
72880
|
+
},
|
|
72881
|
+
"error": {
|
|
72882
|
+
"type": "string",
|
|
72883
|
+
"description": "Error message if operation failed"
|
|
72884
|
+
}
|
|
72885
|
+
},
|
|
72886
|
+
"required": [
|
|
72887
|
+
"operation",
|
|
72888
|
+
"success",
|
|
72889
|
+
"error"
|
|
72890
|
+
],
|
|
72891
|
+
"additionalProperties": false
|
|
72892
|
+
}
|
|
72893
|
+
]
|
|
72894
|
+
},
|
|
72895
|
+
"usageExample": "// List Transactions example\nconst ramp_list_transactions = new RampBubble({\n operation: \"list_transactions\", // List transactions with optional filters\n page_size: 20 // default, // Number of results per page (2-100)\n start: \"example string\", // Cursor ID from previous page for pagination\n from_date: \"example string\", // Filter transactions from this date (ISO 8601 format, e.g. 2024-01-01T00:00:00Z)\n to_date: \"example string\", // Filter transactions up to this date (ISO 8601 format, e.g. 2024-12-31T23:59:59Z)\n});\n\nconst result = await ramp_list_transactions.action();\n// outputSchema for result.data when operation === 'list_transactions':\n// {\n// operation: \"list_transactions\",\n// success: boolean // Whether the operation was successful,\n// transactions: { id: string | undefined // Transaction ID, amount: number | undefined // Transaction amount in cents, currency_code: string | undefined // Currency code (e.g., USD), merchant_name: string | null | undefined // Merchant name, merchant_descriptor: string | null | undefined // Merchant descriptor, card_holder: { user_id: string | undefined // Card holder user ID, first_name: string | undefined // Card holder first name, last_name: string | undefined // Card holder last name, department_name: string | null | undefined // Card holder department } | undefined // Card holder information, card_id: string | null | undefined // Card ID, state: string | undefined // Transaction state (e.g., CLEARED), user_transaction_time: string | null | undefined // Transaction time, settlement_date: string | null | undefined // Settlement date, memo: string | null | undefined // Transaction memo, sk_category_name: string | null | undefined // Spending category name }[] | undefined // List of transactions,\n// has_more: boolean | undefined // Whether there are more results,\n// error: string // Error message if operation failed\n// }\n\n\n// Get Transaction example\nconst ramp_get_transaction = new RampBubble({\n operation: \"get_transaction\", // Get a specific transaction by ID\n transaction_id: \"example string\", // Transaction ID\n});\n\nconst result = await ramp_get_transaction.action();\n// outputSchema for result.data when operation === 'get_transaction':\n// {\n// operation: \"get_transaction\",\n// success: boolean // Whether the operation was successful,\n// transaction: { id: string | undefined // Transaction ID, amount: number | undefined // Transaction amount in cents, currency_code: string | undefined // Currency code (e.g., USD), merchant_name: string | null | undefined // Merchant name, merchant_descriptor: string | null | undefined // Merchant descriptor, card_holder: { user_id: string | undefined // Card holder user ID, first_name: string | undefined // Card holder first name, last_name: string | undefined // Card holder last name, department_name: string | null | undefined // Card holder department } | undefined // Card holder information, card_id: string | null | undefined // Card ID, state: string | undefined // Transaction state (e.g., CLEARED), user_transaction_time: string | null | undefined // Transaction time, settlement_date: string | null | undefined // Settlement date, memo: string | null | undefined // Transaction memo, sk_category_name: string | null | undefined // Spending category name } | undefined // Transaction details,\n// error: string // Error message if operation failed\n// }\n\n\n// List Users example\nconst ramp_list_users = new RampBubble({\n operation: \"list_users\", // List users in the business\n page_size: 20 // default, // Number of results per page (2-100)\n start: \"example string\", // Cursor ID from previous page for pagination\n});\n\nconst result = await ramp_list_users.action();\n// outputSchema for result.data when operation === 'list_users':\n// {\n// operation: \"list_users\",\n// success: boolean // Whether the operation was successful,\n// users: { id: string | undefined // User ID, first_name: string | undefined // First name, last_name: string | undefined // Last name, email: string | undefined // Email address, role: string | undefined // User role, department_id: string | null | undefined // Department ID, location_id: string | null | undefined // Location ID, status: string | undefined // User status }[] | undefined // List of users,\n// has_more: boolean | undefined // Whether there are more results,\n// error: string // Error message if operation failed\n// }\n\n\n// Get User example\nconst ramp_get_user = new RampBubble({\n operation: \"get_user\", // Get a specific user by ID\n user_id: \"example string\", // User ID\n});\n\nconst result = await ramp_get_user.action();\n// outputSchema for result.data when operation === 'get_user':\n// {\n// operation: \"get_user\",\n// success: boolean // Whether the operation was successful,\n// user: { id: string | undefined // User ID, first_name: string | undefined // First name, last_name: string | undefined // Last name, email: string | undefined // Email address, role: string | undefined // User role, department_id: string | null | undefined // Department ID, location_id: string | null | undefined // Location ID, status: string | undefined // User status } | undefined // User details,\n// error: string // Error message if operation failed\n// }\n\n\n// List Cards example\nconst ramp_list_cards = new RampBubble({\n operation: \"list_cards\", // List cards\n page_size: 20 // default, // Number of results per page (2-100)\n start: \"example string\", // Cursor ID from previous page for pagination\n});\n\nconst result = await ramp_list_cards.action();\n// outputSchema for result.data when operation === 'list_cards':\n// {\n// operation: \"list_cards\",\n// success: boolean // Whether the operation was successful,\n// cards: { id: string | undefined // Card ID, display_name: string | undefined // Card display name, last_four: string | undefined // Last four digits, card_program_id: string | null | undefined // Card program ID, state: string | undefined // Card state, is_physical: boolean | undefined // Whether card is physical, cardholder_id: string | undefined // Cardholder user ID, cardholder_name: string | undefined // Cardholder name, spending_restrictions: Record<string, unknown> | undefined // Spending restrictions }[] | undefined // List of cards,\n// has_more: boolean | undefined // Whether there are more results,\n// error: string // Error message if operation failed\n// }\n\n\n// Get Card example\nconst ramp_get_card = new RampBubble({\n operation: \"get_card\", // Get a specific card by ID\n card_id: \"example string\", // Card ID\n});\n\nconst result = await ramp_get_card.action();\n// outputSchema for result.data when operation === 'get_card':\n// {\n// operation: \"get_card\",\n// success: boolean // Whether the operation was successful,\n// card: { id: string | undefined // Card ID, display_name: string | undefined // Card display name, last_four: string | undefined // Last four digits, card_program_id: string | null | undefined // Card program ID, state: string | undefined // Card state, is_physical: boolean | undefined // Whether card is physical, cardholder_id: string | undefined // Cardholder user ID, cardholder_name: string | undefined // Cardholder name, spending_restrictions: Record<string, unknown> | undefined // Spending restrictions } | undefined // Card details,\n// error: string // Error message if operation failed\n// }\n\n\n// List Departments example\nconst ramp_list_departments = new RampBubble({\n operation: \"list_departments\", // List departments in the business\n page_size: 20 // default, // Number of results per page (2-100)\n start: \"example string\", // Cursor ID from previous page for pagination\n});\n\nconst result = await ramp_list_departments.action();\n// outputSchema for result.data when operation === 'list_departments':\n// {\n// operation: \"list_departments\",\n// success: boolean // Whether the operation was successful,\n// departments: { id: string | undefined // Department ID, name: string | undefined // Department name }[] | undefined // List of departments,\n// has_more: boolean | undefined // Whether there are more results,\n// error: string // Error message if operation failed\n// }\n\n\n// List Locations example\nconst ramp_list_locations = new RampBubble({\n operation: \"list_locations\", // List locations in the business\n page_size: 20 // default, // Number of results per page (2-100)\n start: \"example string\", // Cursor ID from previous page for pagination\n});\n\nconst result = await ramp_list_locations.action();\n// outputSchema for result.data when operation === 'list_locations':\n// {\n// operation: \"list_locations\",\n// success: boolean // Whether the operation was successful,\n// locations: { id: string | undefined // Location ID, name: string | undefined // Location name }[] | undefined // List of locations,\n// has_more: boolean | undefined // Whether there are more results,\n// error: string // Error message if operation failed\n// }\n\n\n// List Spend Programs example\nconst ramp_list_spend_programs = new RampBubble({\n operation: \"list_spend_programs\", // List spend programs\n page_size: 20 // default, // Number of results per page (2-100)\n start: \"example string\", // Cursor ID from previous page for pagination\n});\n\nconst result = await ramp_list_spend_programs.action();\n// outputSchema for result.data when operation === 'list_spend_programs':\n// {\n// operation: \"list_spend_programs\",\n// success: boolean // Whether the operation was successful,\n// spend_programs: { id: string | undefined // Spend program ID, display_name: string | undefined // Spend program display name, description: string | null | undefined // Description }[] | undefined // List of spend programs,\n// has_more: boolean | undefined // Whether there are more results,\n// error: string // Error message if operation failed\n// }\n\n\n// List Limits example\nconst ramp_list_limits = new RampBubble({\n operation: \"list_limits\", // List spend limits/funds\n page_size: 20 // default, // Number of results per page (2-100)\n start: \"example string\", // Cursor ID from previous page for pagination\n});\n\nconst result = await ramp_list_limits.action();\n// outputSchema for result.data when operation === 'list_limits':\n// {\n// operation: \"list_limits\",\n// success: boolean // Whether the operation was successful,\n// limits: { id: string | undefined // Limit/fund ID, display_name: string | undefined // Limit display name, state: string | undefined // Limit state }[] | undefined // List of spend limits/funds,\n// has_more: boolean | undefined // Whether there are more results,\n// error: string // Error message if operation failed\n// }\n\n\n// List Reimbursements example\nconst ramp_list_reimbursements = new RampBubble({\n operation: \"list_reimbursements\", // List reimbursements\n page_size: 20 // default, // Number of results per page (2-100)\n start: \"example string\", // Cursor ID from previous page for pagination\n from_date: \"example string\", // Filter reimbursements from this date (ISO 8601 format)\n to_date: \"example string\", // Filter reimbursements up to this date (ISO 8601 format)\n});\n\nconst result = await ramp_list_reimbursements.action();\n// outputSchema for result.data when operation === 'list_reimbursements':\n// {\n// operation: \"list_reimbursements\",\n// success: boolean // Whether the operation was successful,\n// reimbursements: { id: string | undefined // Reimbursement ID, amount: number | undefined // Reimbursement amount in cents, currency: string | undefined // Currency code, merchant: string | null | undefined // Merchant name, user_id: string | undefined // User who submitted }[] | undefined // List of reimbursements,\n// has_more: boolean | undefined // Whether there are more results,\n// error: string // Error message if operation failed\n// }\n\n\n// List Bills example\nconst ramp_list_bills = new RampBubble({\n operation: \"list_bills\", // List bills\n page_size: 20 // default, // Number of results per page (2-100)\n start: \"example string\", // Cursor ID from previous page for pagination\n from_date: \"example string\", // Filter bills from this date (ISO 8601 format)\n to_date: \"example string\", // Filter bills up to this date (ISO 8601 format)\n});\n\nconst result = await ramp_list_bills.action();\n// outputSchema for result.data when operation === 'list_bills':\n// {\n// operation: \"list_bills\",\n// success: boolean // Whether the operation was successful,\n// bills: { id: string | undefined // Bill ID, amount: number | undefined // Bill amount, vendor_name: string | null | undefined // Vendor name, status: string | undefined // Bill status }[] | undefined // List of bills,\n// has_more: boolean | undefined // Whether there are more results,\n// error: string // Error message if operation failed\n// }\n\n\n// List Vendors example\nconst ramp_list_vendors = new RampBubble({\n operation: \"list_vendors\", // List vendors\n page_size: 20 // default, // Number of results per page (2-100)\n start: \"example string\", // Cursor ID from previous page for pagination\n});\n\nconst result = await ramp_list_vendors.action();\n// outputSchema for result.data when operation === 'list_vendors':\n// {\n// operation: \"list_vendors\",\n// success: boolean // Whether the operation was successful,\n// vendors: { id: string | undefined // Vendor ID, name: string | undefined // Vendor name }[] | undefined // List of vendors,\n// has_more: boolean | undefined // Whether there are more results,\n// error: string // Error message if operation failed\n// }\n\n\n// Get Business example\nconst ramp_get_business = new RampBubble({\n operation: \"get_business\", // Get business information\n});\n\nconst result = await ramp_get_business.action();\n// outputSchema for result.data when operation === 'get_business':\n// {\n// operation: \"get_business\",\n// success: boolean // Whether the operation was successful,\n// business: { id: string | undefined // Business ID, name: string | undefined // Business name } | undefined // Business information,\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(`ramp failed: ${result.error}`);\n}\n\n// Access the actual data\nconst actualData = result.data;\nconsole.log(actualData);",
|
|
72896
|
+
"requiredCredentials": [
|
|
72897
|
+
"RAMP_CRED"
|
|
72898
|
+
]
|
|
71488
72899
|
}
|
|
71489
72900
|
]
|
|
71490
72901
|
}
|