improvement(tools): validate integrations, add Gong activity tools, regenerate docs (#4937)

* improvement(tools): validate integrations, add Gong activity tools, regenerate docs

* fix(servicenow): give list-attachments limit a unique subBlock id

Read Records and List Attachments shared the subBlock id 'limit', so the
single-value-per-id store could bleed the value across operations. Rename
the new list-attachments field to attachmentLimit and map it back to the
tool's limit param.

* fix(servicenow): type upload-attachment response json to fix build typecheck

secureFetchWithValidation's response.json() resolves to unknown under the
build's stricter typecheck; cast the parsed body so data.result is accessible.

* refactor(servicenow): type upload-attachment response per file-route convention

Match the SharePoint/OneDrive upload pattern: import the named
ServiceNowAttachment type from the tool's types, cast response.json() to it,
and extract specific fields with ?? null instead of passing data.result
through as an opaque unknown blob.

* fix(servicenow): remove invalid 'custom' generationType from groupBy wandConfig

'custom' is not a member of the GenerationType union, breaking the build
typecheck. No valid type fits a comma-separated field list, so drop the
wandConfig (consistent with the block's other field-list inputs).

* fix(servicenow): drop redundant hidden fileContent param from upload attachment

Per project rule, visibility:'hidden' is reserved for framework-injected
tokens, not user-supplied data. fileContent was a copied-over legacy
fallback with no caller (the block uploads via the canonical file/UserFile
path), so remove it from the tool, types, contract, and route.

* fix(dub): require a link selector for bulk update links

Bulk Update Links could run with only Update Data and no Link IDs or
External IDs, sending Dub a request with no target links and producing a
confusing API error. Guard the tool to throw a clear validation error when
neither selector is provided, and clarify the block placeholder.
This commit is contained in:
Waleed
2026-06-09 20:41:49 -07:00
committed by GitHub
parent 192f77ba02
commit 62c48bfd31
101 changed files with 5132 additions and 186 deletions
+2 -2
View File
@@ -4987,7 +4987,7 @@ export function IntercomIcon(props: SVGProps<SVGSVGElement>) {
<g>
<path
d='M221.66,144.56 C221.66,146.9 220.76,149.15 219.17,150.8 C217.57,152.46 215.4,153.39 213.15,153.39 C210.89,153.39 208.72,152.46 207.12,150.8 C205.53,149.15 204.63,146.9 204.63,144.56 L204.63,65.68 C204.63,63.34 205.53,61.09 207.12,59.43 C208.72,57.78 210.89,56.85 213.15,56.85 C215.4,56.85 217.57,57.78 219.17,59.43 C220.76,61.09 221.66,63.34 221.66,65.68 L221.66,144.56 Z M218.7,199.22 C217.58,200.39 185.91,227.75 127.86,227.75 C69.81,227.75 38.35,200.53 37.01,199.36 C36.17,198.63 35.48,197.73 34.97,196.71 C34.47,195.69 34.16,194.59 34.07,193.45 C33.98,192.31 34.1,191.16 34.44,190.07 C34.77,188.98 35.32,187.98 36.03,187.1 C37.5,185.34 39.58,184.25 41.82,184.07 C44.06,183.9 46.28,184.64 47.99,186.16 C48.48,186.52 76.77,210.31 127.79,210.31 C178.81,210.31 207.3,186.37 207.59,186.16 C209.32,184.66 211.54,183.92 213.79,184.1 C216.04,184.27 218.13,185.35 219.62,187.1 C221.06,188.84 221.77,191.1 221.61,193.38 C221.46,195.66 220.44,197.78 218.78,199.29 L218.7,199.22 Z M33.99,65.68 C34.12,63.33 35.13,61.13 36.82,59.55 C38.51,57.98 40.73,57.17 43,57.29 C45.1,57.41 47.08,58.33 48.56,59.88 C50.04,61.43 50.92,63.5 51.02,65.68 L51.02,144.42 C51.02,146.76 50.12,149 48.52,150.66 C46.93,152.31 44.76,153.24 42.5,153.24 C40.24,153.24 38.08,152.31 36.48,150.66 C34.88,149 33.99,146.76 33.99,144.42 L33.99,65.68 Z M76.7,48.16 C76.83,45.81 77.85,43.61 79.54,42.04 C81.22,40.47 83.44,39.65 85.71,39.77 C87.81,39.9 89.79,40.82 91.27,42.37 C92.75,43.92 93.63,45.98 93.73,48.16 L93.73,164.92 C93.73,167.26 92.83,169.51 91.24,171.16 C89.64,172.82 87.47,173.75 85.22,173.75 C82.96,173.75 80.79,172.82 79.2,171.16 C77.6,169.51 76.7,167.26 76.7,164.92 L76.7,48.16 Z M119.63,43.79 C119.63,41.44 120.52,39.2 122.12,37.54 C123.72,35.89 125.88,34.96 128.14,34.96 C130.4,34.96 132.56,35.89 134.16,37.54 C135.76,39.2 136.66,41.44 136.66,43.79 L136.66,170.76 C136.66,173.1 135.76,175.35 134.16,177 C132.56,178.66 130.4,179.59 128.14,179.59 C125.88,179.59 123.72,178.66 122.12,177 C120.52,175.35 119.63,173.1 119.63,170.76 L119.63,43.79 Z M161.85,48.16 C161.85,45.82 162.74,43.58 164.34,41.92 C165.94,40.26 168.1,39.33 170.36,39.33 C172.62,39.33 174.79,40.26 176.38,41.92 C177.98,43.58 178.88,45.82 178.88,48.16 L178.88,164.92 C178.88,167.26 177.98,169.51 176.38,171.16 C174.79,172.82 172.62,173.75 170.36,173.75 C168.1,173.75 165.94,172.82 164.34,171.16 C162.74,169.51 161.85,167.26 161.85,164.92 L161.85,48.16 Z M223.98,0 L32.02,0 C27.83,-0.03 23.69,0.8 19.81,2.44 C15.94,4.07 12.41,6.48 9.44,9.53 C6.47,12.58 4.1,16.21 2.48,20.21 C0.86,24.21 0.02,28.5 0,32.84 L0,229.87 C0.02,234.2 0.86,238.5 2.48,242.49 C4.1,246.49 6.47,250.12 9.44,253.17 C12.41,256.22 15.94,258.64 19.81,260.27 C23.69,261.91 27.83,262.73 32.02,262.71 L223.98,262.71 C228.16,262.73 232.3,261.91 236.17,260.28 C240.04,258.65 243.56,256.24 246.53,253.2 C249.51,250.16 251.87,246.54 253.5,242.55 C255.12,238.55 255.97,234.27 256,229.94 L256,32.84 C255.98,28.51 255.14,24.22 253.52,20.23 C251.91,16.23 249.55,12.61 246.58,9.56 C243.62,6.51 240.1,4.1 236.24,2.46 C232.37,0.82 228.23,-0.02 224.05,0'
fill='currentColor'
fill='#000000'
/>
</g>
</svg>
@@ -5028,7 +5028,7 @@ export function MailchimpIcon(props: SVGProps<SVGSVGElement>) {
y='0px'
viewBox='0 0 230.81 244.96'
xmlSpace='preserve'
fill='currentColor'
fill='#000000'
>
<g>
<g>