Skip to content

Commit c7abe25

Browse files
authored
fix(integrations): validate shopify, brex, ramp, zoom, calendly, cal.com, typeform, webflow and wordpress (#10074)
* fix(integrations): sweep2 v4 — read the mapper operation from the tool-call context and validate integrations against vendor specs * chore: regenerate tool metadata, docs and ratchet baselines * refactor: simplify and clean up the sweep changes * fix(integrations): address v4 review findings - wordpress: reject unparseable term IDs instead of dropping them, map date explicitly, type search ids as number | string - typeform: keep filename whitespace when building the file download URL - brex: reject a limit buffer percentage outside Brex's 0-100 integer range - calcom: type bookingUrl, hidden and ownerId on event type responses - tests: call tool builders through ToolConfig instead of a type assertion
1 parent 43aac92 commit c7abe25

139 files changed

Lines changed: 2226 additions & 605 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎apps/docs/content/docs/integrations/brex.mdx‎

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ List expenses in the Brex account with optional filters for user, status, paymen
3939
| --------- | ---- | -------- | ----------- |
4040
| `userIds` | string | No | Comma-separated user IDs to filter expenses by owner |
4141
| `statuses` | string | No | Comma-separated expense statuses to filter by: DRAFT, SUBMITTED, APPROVED, OUT_OF_POLICY, VOID, CANCELED, SPLIT, SETTLED |
42-
| `paymentStatuses` | string | No | Comma-separated payment statuses to filter by: NOT_STARTED, PROCESSING, CANCELED, DECLINED, CLEARED, REFUNDING, REFUNDED, CASH_ADVANCE, CREDITED, AWAITING_PAYMENT, SCHEDULED |
42+
| `paymentStatuses` | string | No | Comma-separated payment statuses to filter by: NOT_STARTED, PROCESSING, CANCELED, DECLINED, CLEARED, REFUNDING, REFUNDED, CASH_ADVANCE, CREDITED, AWAITING_PAYMENT, SCHEDULED, HELD |
4343
| `purchasedAtStart` | string | No | Only include expenses purchased at or after this ISO 8601 timestamp |
4444
| `purchasedAtEnd` | string | No | Only include expenses purchased at or before this ISO 8601 timestamp |
4545
| `cursor` | string | No | Pagination cursor from a previous response |
@@ -53,7 +53,7 @@ List expenses in the Brex account with optional filters for user, status, paymen
5353
| ↳ `id` | string | Unique expense ID |
5454
| ↳ `memo` | string | Memo on the expense |
5555
| ↳ `status` | string | Expense status \(DRAFT, SUBMITTED, APPROVED, OUT_OF_POLICY, VOID, CANCELED, SPLIT, SETTLED\) |
56-
| ↳ `payment_status` | string | Payment status \(NOT_STARTED, PROCESSING, CANCELED, DECLINED, CLEARED, REFUNDING, REFUNDED, CASH_ADVANCE, CREDITED, AWAITING_PAYMENT, SCHEDULED\) |
56+
| ↳ `payment_status` | string | Payment status \(NOT_STARTED, PROCESSING, CANCELED, DECLINED, CLEARED, REFUNDING, REFUNDED, CASH_ADVANCE, CREDITED, AWAITING_PAYMENT, SCHEDULED, HELD\) |
5757
| ↳ `expense_type` | string | Expense type \(CARD, BILLPAY, REIMBURSEMENT, CLAWBACK, UNSET\) |
5858
| ↳ `category` | string | Expense category \(e.g., RESTAURANTS, RECURRING_SOFTWARE_AND_SAAS, AIRLINE_EXPENSES\) |
5959
| ↳ `merchant` | json | Merchant details |
@@ -111,7 +111,7 @@ Get a single Brex expense by its ID, including merchant, user, and receipt detai
111111
| `id` | string | Unique expense ID |
112112
| `memo` | string | Memo on the expense |
113113
| `status` | string | Expense status \(DRAFT, SUBMITTED, APPROVED, OUT_OF_POLICY, VOID, CANCELED, SPLIT, SETTLED\) |
114-
| `paymentStatus` | string | Payment status \(NOT_STARTED, PROCESSING, CANCELED, DECLINED, CLEARED, REFUNDING, REFUNDED, CASH_ADVANCE, CREDITED, AWAITING_PAYMENT, SCHEDULED\) |
114+
| `paymentStatus` | string | Payment status \(NOT_STARTED, PROCESSING, CANCELED, DECLINED, CLEARED, REFUNDING, REFUNDED, CASH_ADVANCE, CREDITED, AWAITING_PAYMENT, SCHEDULED, HELD\) |
115115
| `expenseType` | string | Expense type \(CARD, BILLPAY, REIMBURSEMENT, CLAWBACK, UNSET\) |
116116
| `category` | string | Expense category \(e.g., RESTAURANTS, RECURRING_SOFTWARE_AND_SAAS, AIRLINE_EXPENSES\) |
117117
| `merchantId` | string | Merchant ID |
@@ -178,7 +178,7 @@ Update the memo of a Brex card expense
178178
| `id` | string | Unique expense ID |
179179
| `memo` | string | Updated memo on the expense |
180180
| `status` | string | Expense status \(DRAFT, SUBMITTED, APPROVED, OUT_OF_POLICY, VOID, CANCELED, SPLIT, SETTLED\) |
181-
| `paymentStatus` | string | Payment status \(NOT_STARTED, PROCESSING, CANCELED, DECLINED, CLEARED, REFUNDING, REFUNDED, CASH_ADVANCE, CREDITED, AWAITING_PAYMENT, SCHEDULED\) |
181+
| `paymentStatus` | string | Payment status \(NOT_STARTED, PROCESSING, CANCELED, DECLINED, CLEARED, REFUNDING, REFUNDED, CASH_ADVANCE, CREDITED, AWAITING_PAYMENT, SCHEDULED, HELD\) |
182182
| `category` | string | Expense category \(e.g., RESTAURANTS, RECURRING_SOFTWARE_AND_SAAS, AIRLINE_EXPENSES\) |
183183
| `merchantId` | string | Merchant ID |
184184
| `budgetId` | string | Budget ID |
@@ -491,7 +491,7 @@ List users in the Brex account, optionally filtered by email
491491
| ↳ `first_name` | string | First name |
492492
| ↳ `last_name` | string | Last name |
493493
| ↳ `email` | string | Email address |
494-
| ↳ `status` | string | User status \(INVITED, ACTIVE, CLOSED, DISABLED, DELETED, PENDING_ACTIVATION, INACTIVE, ARCHIVED\) |
494+
| ↳ `status` | string | User status \(INVITED, ACTIVE, DISABLED, PENDING_ACTIVATION, INACTIVE, ARCHIVED\) |
495495
| ↳ `manager_id` | string | ID of the manager |
496496
| ↳ `department_id` | string | Department ID |
497497
| ↳ `location_id` | string | Location ID |
@@ -520,7 +520,7 @@ Get a Brex user by their ID
520520
| `firstName` | string | First name |
521521
| `lastName` | string | Last name |
522522
| `email` | string | Email address |
523-
| `status` | string | User status \(INVITED, ACTIVE, CLOSED, DISABLED, DELETED, PENDING_ACTIVATION, INACTIVE, ARCHIVED\) |
523+
| `status` | string | User status \(INVITED, ACTIVE, DISABLED, PENDING_ACTIVATION, INACTIVE, ARCHIVED\) |
524524
| `managerId` | string | ID of the manager |
525525
| `departmentId` | string | Department ID |
526526
| `locationId` | string | Location ID |
@@ -547,7 +547,7 @@ Get the Brex user associated with the API token
547547
| `firstName` | string | First name |
548548
| `lastName` | string | Last name |
549549
| `email` | string | Email address |
550-
| `status` | string | User status \(INVITED, ACTIVE, CLOSED, DISABLED, DELETED, PENDING_ACTIVATION, INACTIVE, ARCHIVED\) |
550+
| `status` | string | User status \(INVITED, ACTIVE, DISABLED, PENDING_ACTIVATION, INACTIVE, ARCHIVED\) |
551551
| `managerId` | string | ID of the manager |
552552
| `departmentId` | string | Department ID |
553553
| `locationId` | string | Location ID |
@@ -656,6 +656,7 @@ List cards in the Brex account, optionally filtered by card owner
656656
| ↳ `status` | string | Card status |
657657
| ↳ `last_four` | string | Last four digits of the card number |
658658
| ↳ `card_name` | string | Card name |
659+
| ↳ `created_at` | string | Card creation timestamp |
659660
| ↳ `card_type` | string | Card type \(VIRTUAL or PHYSICAL\) |
660661
| ↳ `limit_type` | string | Limit type \(CARD or USER\) |
661662
| ↳ `spend_controls` | json | Spend controls on the card |
@@ -752,7 +753,7 @@ Get a Brex budget by its ID
752753
| `amount` | json | Budget amount |
753754
| ↳ `amount` | number | Amount in the smallest unit of the currency \(e.g., cents for USD\) |
754755
| ↳ `currency` | string | ISO 4217 currency code \(e.g., USD\) |
755-
| `spendBudgetStatus` | string | Budget status \(ACTIVE, ARCHIVED, DELETED\) |
756+
| `spendBudgetStatus` | string | Budget status \(ACTIVE, ARCHIVED, DELETED, EXPIRED\) |
756757
| `limitType` | string | Budget limit type \(HARD or SOFT\) |
757758

758759
</ReferenceDetails>
@@ -887,7 +888,7 @@ Get a Brex spend limit by its ID
887888
| `name` | string | Spend limit name |
888889
| `description` | string | Spend limit description |
889890
| `parentBudgetId` | string | Parent budget ID |
890-
| `status` | string | Spend limit status \(ACTIVE, EXPIRED, ARCHIVED\) |
891+
| `status` | string | Spend limit status \(ACTIVE, EXPIRED, ARCHIVED, DELETED\) |
891892
| `periodRecurrenceType` | string | Period recurrence \(PER_WEEK, PER_MONTH, PER_QUARTER, PER_YEAR, ONE_TIME\) |
892893
| `spendType` | string | Spend type of the limit |
893894
| `startDate` | string | Spend limit start date |
@@ -932,7 +933,7 @@ Create a new spend limit (hard-authorization card program) in the Brex account
932933
| `currency` | string | No | ISO 4217 currency code for the base limit \(defaults to USD\) |
933934
| `authorizationType` | string | Yes | Whether authorizations decline based on available balance \(HARD, SOFT\) |
934935
| `rolloverRefreshRate` | string | Yes | Recurrence at which rolled-over unused funds stop rolling over \(OFF, NEVER, PER_MONTH, PER_QUARTER, PER_YEAR\) |
935-
| `limitBufferPercentage` | number | No | Flexible buffer on the limit as a 0-100 percentage |
936+
| `limitBufferPercentage` | number | No | Flexible buffer on the limit as a whole-number percentage from 0 to 100 |
936937
| `description` | string | No | Description of what the spend limit is used for |
937938
| `parentBudgetId` | string | No | ID of the parent budget |
938939
| `startDate` | string | No | Date the spend limit should start counting \(YYYY-MM-DD\) |

‎apps/docs/content/docs/integrations/calcom.mdx‎

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Get details of a specific booking by its UID
156156

157157
### Cal.com List Bookings
158158

159-
List all bookings with optional status filter
159+
List bookings, optionally filtered by status, attendee email, or time range
160160

161161
<ReferenceDetails>
162162

@@ -167,6 +167,10 @@ List all bookings with optional status filter
167167
| `status` | string | No | Filter bookings by status: upcoming, recurring, past, cancelled, or unconfirmed |
168168
| `take` | number | No | Number of bookings to return \(pagination limit\) |
169169
| `skip` | number | No | Number of bookings to skip \(pagination offset\) |
170+
| `attendeeEmail` | string | No | Only return bookings that include an attendee with this email |
171+
| `afterStart` | string | No | Only return bookings starting after this ISO 8601 time |
172+
| `beforeEnd` | string | No | Only return bookings ending before this ISO 8601 time |
173+
| `sortStart` | string | No | Sort bookings by start time: asc or desc |
170174

171175
#### Output
172176

@@ -485,6 +489,9 @@ Create a new event type in Cal.com
485489
| ↳ `disableGuests` | boolean | Whether guests are disabled |
486490
| ↳ `createdAt` | string | ISO timestamp of creation |
487491
| ↳ `updatedAt` | string | ISO timestamp of last update |
492+
| ↳ `bookingUrl` | string | Public booking page URL for the event type |
493+
| ↳ `hidden` | boolean | Whether the event type is hidden from the profile |
494+
| ↳ `ownerId` | number | ID of the user who owns the event type |
488495

489496
</ReferenceDetails>
490497

@@ -519,6 +526,9 @@ Get detailed information about a specific event type
519526
| ↳ `disableGuests` | boolean | Whether guests are disabled |
520527
| ↳ `createdAt` | string | ISO timestamp of creation |
521528
| ↳ `updatedAt` | string | ISO timestamp of last update |
529+
| ↳ `bookingUrl` | string | Public booking page URL for the event type |
530+
| ↳ `hidden` | boolean | Whether the event type is hidden from the profile |
531+
| ↳ `ownerId` | number | ID of the user who owns the event type |
522532

523533
</ReferenceDetails>
524534

@@ -553,6 +563,9 @@ Retrieve a list of all event types
553563
| ↳ `disableGuests` | boolean | Whether guests are disabled |
554564
| ↳ `createdAt` | string | ISO timestamp of creation |
555565
| ↳ `updatedAt` | string | ISO timestamp of last update |
566+
| ↳ `bookingUrl` | string | Public booking page URL for the event type |
567+
| ↳ `hidden` | boolean | Whether the event type is hidden from the profile |
568+
| ↳ `ownerId` | number | ID of the user who owns the event type |
556569

557570
</ReferenceDetails>
558571

@@ -597,6 +610,9 @@ Update an existing event type in Cal.com
597610
| ↳ `disableGuests` | boolean | Whether guests are disabled |
598611
| ↳ `createdAt` | string | ISO timestamp of creation |
599612
| ↳ `updatedAt` | string | ISO timestamp of last update |
613+
| ↳ `bookingUrl` | string | Public booking page URL for the event type |
614+
| ↳ `hidden` | boolean | Whether the event type is hidden from the profile |
615+
| ↳ `ownerId` | number | ID of the user who owns the event type |
600616

601617
</ReferenceDetails>
602618

‎apps/docs/content/docs/integrations/calendly.mdx‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Webhook subscriptions require a paid plan and the permissions for their user or
1717

1818
## Use the block [#usage-instructions]
1919

20-
Manage event types, scheduled events, invitees, and webhooks. Trigger workflows based on Calendly webhook events (invitee scheduled, invitee canceled, routing form submitted).
20+
Manage event types, scheduled events, invitees, bookings, availability, and routing forms. Trigger workflows based on Calendly webhook events (invitee scheduled, invitee canceled, routing form submitted).
2121

2222
## Actions
2323

@@ -93,12 +93,12 @@ Retrieve a list of all event types for a user or organization
9393

9494
| Parameter | Type | Required | Description |
9595
| --------- | ---- | -------- | ----------- |
96-
| `user` | string | No | Return only event types that belong to this user. Format: URI \(e.g., "https://api.calendly.com/users/abc123-def456") |
97-
| `organization` | string | No | Return only event types that belong to this organization. Format: URI \(e.g., "https://api.calendly.com/organizations/abc123-def456") |
96+
| `user` | string | No | Return event types available to this user. Either user or organization is required. Format: URI \(e.g., "https://api.calendly.com/users/abc123-def456") |
97+
| `organization` | string | No | Return event types that belong to this organization. Either user or organization is required. Format: URI \(e.g., "https://api.calendly.com/organizations/abc123-def456") |
9898
| `count` | number | No | Number of results per page. Format: integer \(default: 20, max: 100\) |
9999
| `pageToken` | string | No | Page token for pagination. Format: opaque string from previous response next_page_token |
100100
| `sort` | string | No | Sort order for results. Format: "field:direction" \(e.g., "name:asc", "name:desc"\) |
101-
| `active` | boolean | No | When true, show only active event types. When false or unchecked, show all event types \(both active and inactive\). |
101+
| `active` | boolean | No | When true, return only active event types. When false, return only inactive event types. When omitted, return all event types. |
102102

103103
#### Output
104104

@@ -416,6 +416,8 @@ Book a meeting by creating an invitee on an event type at a chosen time. Require
416416
| `inviteeLastName` | string | No | Last name of the invitee |
417417
| `textReminderNumber` | string | No | Phone number for SMS reminders. Format: E.164 phone number \(e.g., "+14155551234"\) |
418418
| `eventGuests` | json | No | Additional guests to copy on the invite. Format: array of email strings \(max 10, e.g., \["guest@example.com"\]\) |
419+
| `location` | json | No | Meeting location. Must match a location configured on the event type; omit for round robin event types. Format: object with "kind" \(physical, inbound_call, outbound_call, zoom_conference, google_conference, gotomeeting_conference, microsoft_teams_conference, webex_conference, ask_invitee, custom\) and, for physical, outbound_call, ask_invitee and custom, a "location" string \(e.g., \{"kind": "outbound_call", "location": "+14155551234"\}\) |
420+
| `questionsAndAnswers` | json | No | Answers to the event type's booking questions. Required questions must be answered, and each question must match the event type's question text exactly. Format: array of objects with "question", "answer" and "position" \(e.g., \[\{"question": "Company", "answer": "Acme", "position": 0\}\]\) |
419421

420422
#### Output
421423

‎apps/docs/content/docs/integrations/shopify.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,7 @@ List inventory locations from your Shopify store. Use this to find location IDs
13881388
| Parameter | Type | Required | Description |
13891389
| --------- | ---- | -------- | ----------- |
13901390
| `reverse` | boolean | No | Reverse the result sort order \(default false\) |
1391-
| `sortKey` | string | No | Sort results by ID, NAME, RELEVANCE \(default Shopify ordering\) |
1391+
| `sortKey` | string | No | Sort results by CREATED_AT, ID, NAME, RELEVANCE \(default Shopify ordering\) |
13921392
| `query` | string | No | Shopify location search query, e.g. name:Warehouse |
13931393
| `includeLegacy` | boolean | No | Include legacy fulfillment-service locations \(default false\) |
13941394
| `shopDomain` | string | No | Your Shopify store domain \(e.g., mystore.myshopify.com\) |

‎apps/docs/content/docs/integrations/typeform.mdx‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ Retrieve form responses from Typeform
3333
| `pageSize` | number | No | Number of responses to retrieve \(e.g., 10, 25, 50\) |
3434
| `before` | string | No | Cursor token for fetching the next page of older responses |
3535
| `after` | string | No | Cursor token for fetching the next page of newer responses |
36-
| `since` | string | No | Retrieve responses submitted after this date \(e.g., "2024-01-01T00:00:00Z"\) |
37-
| `until` | string | No | Retrieve responses submitted before this date \(e.g., "2024-12-31T23:59:59Z"\) |
38-
| `completed` | string | No | Filter by completion status \(e.g., "true", "false", "all"\) |
36+
| `since` | string | No | Retrieve responses submitted on or after this date \(e.g., "2024-01-01T00:00:00Z"\) |
37+
| `until` | string | No | Retrieve responses submitted on or before this date \(e.g., "2024-12-31T23:59:59Z"\) |
38+
| `completed` | string | No | Filter by completion status: "true" \(submitted only\), "false" \(started but not submitted\), or "all" \(no filter sent, so Typeform returns submitted responses only\). Ignored when responseType is set |
39+
| `responseType` | string | No | Comma-separated response types to return \(e.g., "partial,completed"\). Typeform returns only "completed" when omitted. Takes precedence over completed |
3940

4041
#### Output
4142

@@ -183,7 +184,7 @@ Create a new form with fields and settings
183184
| Parameter | Type | Required | Description |
184185
| --------- | ---- | -------- | ----------- |
185186
| `title` | string | Yes | Form title |
186-
| `type` | string | No | Form type \(default: "form"\). Options: "form", "quiz" |
187+
| `type` | string | No | Form type: "quiz", "classification", "score", "branching", "classification_branching", or "score_branching" \(Typeform default: "quiz"\) |
187188
| `workspaceId` | string | No | Workspace ID to create the form in \(e.g., "ws_abc123"\) |
188189
| `fields` | json | No | Array of field objects defining the form structure. Each field needs: type, title, and optional properties/validations |
189190
| `settings` | json | No | Form settings object \(language, progress_bar, etc.\) |
@@ -217,7 +218,7 @@ Update an existing form using JSON Patch operations
217218
| Parameter | Type | Required | Description |
218219
| --------- | ---- | -------- | ----------- |
219220
| `formId` | string | Yes | Form unique identifier to update \(e.g., "abc123XYZ"\) |
220-
| `operations` | json | Yes | Array of JSON Patch operations \(RFC 6902\). Each operation needs: op \(add/remove/replace\), path, and value \(for add/replace\) |
221+
| `operations` | json | Yes | Array of JSON Patch operations \(RFC 6902\), each with op, path, and value. Typeform accepts only these paths: /title, /settings/is_public, /settings/meta, /settings/google_analytics, /settings/google_tag_manager, /settings/facebook_pixel, /settings/enrichment_in_renderer, /settings/email_consent_notifications_config, /theme, /workspace |
221222

222223
#### Output
223224

0 commit comments

Comments
 (0)