@graph8/sdk 0.251.0 → 0.260.0

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.
Files changed (350) hide show
  1. package/README.md +9 -2
  2. package/dist/cli.js +216 -0
  3. package/dist/index.d.mts +104 -7
  4. package/dist/index.d.ts +104 -7
  5. package/dist/index.js +44 -3
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.mjs +44 -3
  8. package/dist/index.mjs.map +1 -1
  9. package/dist/react.d.mts +102 -7
  10. package/dist/react.d.ts +102 -7
  11. package/dist/react.js +62 -11
  12. package/dist/react.js.map +1 -1
  13. package/dist/react.mjs +53 -12
  14. package/dist/react.mjs.map +1 -1
  15. package/dist/types/README.md +7 -0
  16. package/dist/types/agency.d.ts +20 -0
  17. package/dist/types/agentSetup.d.ts +57 -0
  18. package/dist/types/api.d.ts +127 -0
  19. package/dist/types/appClient.d.ts +99 -0
  20. package/dist/types/appPlatform.d.ts +269 -0
  21. package/dist/types/appTokens.d.ts +125 -0
  22. package/dist/types/apps.d.ts +130 -0
  23. package/dist/types/audiences.d.ts +88 -0
  24. package/dist/types/calendar.d.ts +55 -0
  25. package/dist/types/campaigns.d.ts +61 -0
  26. package/dist/types/chat.d.ts +35 -0
  27. package/dist/types/cli.d.ts +14 -0
  28. package/dist/types/companies.d.ts +123 -0
  29. package/dist/types/contacts.d.ts +200 -0
  30. package/dist/types/copilot.d.ts +31 -0
  31. package/dist/types/core.d.ts +1052 -0
  32. package/dist/types/deals.d.ts +215 -0
  33. package/dist/types/enrich.d.ts +51 -0
  34. package/dist/types/fields.d.ts +84 -0
  35. package/dist/types/forms.d.ts +16 -0
  36. package/dist/types/http.d.ts +141 -0
  37. package/dist/types/inbox.d.ts +123 -0
  38. package/dist/types/index.d.ts +63 -0
  39. package/dist/types/intent.d.ts +196 -0
  40. package/dist/types/lists.d.ts +44 -0
  41. package/dist/types/mailboxes.d.ts +240 -0
  42. package/dist/types/marketplace.d.ts +62 -0
  43. package/dist/types/meetings.d.ts +70 -0
  44. package/dist/types/newsletter.d.ts +212 -0
  45. package/dist/types/notes.d.ts +57 -0
  46. package/dist/types/objects.d.ts +281 -0
  47. package/dist/types/pipelines.d.ts +135 -0
  48. package/dist/types/quotes.d.ts +143 -0
  49. package/dist/types/react.d.ts +978 -0
  50. package/dist/types/search.d.ts +99 -0
  51. package/dist/types/sequences.d.ts +255 -0
  52. package/dist/types/signals.d.ts +28 -0
  53. package/dist/types/skills.d.ts +176 -0
  54. package/dist/types/snippet.d.ts +24 -0
  55. package/dist/types/studio.d.ts +161 -0
  56. package/dist/types/tasks.d.ts +101 -0
  57. package/dist/types/types.d.ts +45 -0
  58. package/dist/types/utils.d.ts +21 -0
  59. package/dist/types/version.d.ts +10 -0
  60. package/dist/types/visitors.d.ts +29 -0
  61. package/dist/types/voice.d.ts +304 -0
  62. package/dist/types/webhooks.d.ts +71 -0
  63. package/dist/types/workflows.d.ts +229 -0
  64. package/docs/agents.md +748 -0
  65. package/docs/api/README.md +165 -0
  66. package/docs/api/accounts.d.ts +396 -0
  67. package/docs/api/accounts.md +644 -0
  68. package/docs/api/adCampaigns.d.ts +707 -0
  69. package/docs/api/adCampaigns.md +1091 -0
  70. package/docs/api/adCreatives.d.ts +996 -0
  71. package/docs/api/adCreatives.md +1708 -0
  72. package/docs/api/agency.d.ts +556 -0
  73. package/docs/api/agency.md +845 -0
  74. package/docs/api/agent.d.ts +330 -0
  75. package/docs/api/agent.md +514 -0
  76. package/docs/api/agents.d.ts +1622 -0
  77. package/docs/api/agents.md +2860 -0
  78. package/docs/api/aiInbox.d.ts +1984 -0
  79. package/docs/api/aiInbox.md +3490 -0
  80. package/docs/api/analytics.d.ts +1273 -0
  81. package/docs/api/analytics.md +2095 -0
  82. package/docs/api/apiKeys.d.ts +252 -0
  83. package/docs/api/apiKeys.md +318 -0
  84. package/docs/api/appDeployments.d.ts +236 -0
  85. package/docs/api/appDeployments.md +471 -0
  86. package/docs/api/appDomains.d.ts +171 -0
  87. package/docs/api/appDomains.md +281 -0
  88. package/docs/api/appLogs.d.ts +120 -0
  89. package/docs/api/appLogs.md +159 -0
  90. package/docs/api/appObjects.d.ts +415 -0
  91. package/docs/api/appObjects.md +568 -0
  92. package/docs/api/appPages.d.ts +557 -0
  93. package/docs/api/appPages.md +796 -0
  94. package/docs/api/appPlatformTokens.d.ts +123 -0
  95. package/docs/api/appPlatformTokens.md +172 -0
  96. package/docs/api/appointments.d.ts +2361 -0
  97. package/docs/api/appointments.md +3917 -0
  98. package/docs/api/apps.d.ts +822 -0
  99. package/docs/api/apps.md +1342 -0
  100. package/docs/api/assertUpsert.d.ts +286 -0
  101. package/docs/api/assertUpsert.md +370 -0
  102. package/docs/api/audienceSyncs.d.ts +259 -0
  103. package/docs/api/audienceSyncs.md +395 -0
  104. package/docs/api/brandKit.d.ts +686 -0
  105. package/docs/api/brandKit.md +1133 -0
  106. package/docs/api/bugReports.d.ts +181 -0
  107. package/docs/api/bugReports.md +268 -0
  108. package/docs/api/by-path.md +3260 -0
  109. package/docs/api/calendarInvites.d.ts +117 -0
  110. package/docs/api/calendarInvites.md +148 -0
  111. package/docs/api/campaignWorkflows.d.ts +152 -0
  112. package/docs/api/campaignWorkflows.md +200 -0
  113. package/docs/api/campaigns.d.ts +721 -0
  114. package/docs/api/campaigns.md +1236 -0
  115. package/docs/api/channels.d.ts +171 -0
  116. package/docs/api/channels.md +235 -0
  117. package/docs/api/cliCampaigns.d.ts +205 -0
  118. package/docs/api/cliCampaigns.md +256 -0
  119. package/docs/api/cliPipelines.d.ts +324 -0
  120. package/docs/api/cliPipelines.md +562 -0
  121. package/docs/api/clickHouse.d.ts +115 -0
  122. package/docs/api/clickHouse.md +138 -0
  123. package/docs/api/companies.d.ts +1636 -0
  124. package/docs/api/companies.md +2211 -0
  125. package/docs/api/companyIntelligence.d.ts +299 -0
  126. package/docs/api/companyIntelligence.md +488 -0
  127. package/docs/api/contacts.d.ts +2173 -0
  128. package/docs/api/contacts.md +3143 -0
  129. package/docs/api/content.d.ts +968 -0
  130. package/docs/api/content.md +1667 -0
  131. package/docs/api/contentGridSkills.d.ts +177 -0
  132. package/docs/api/contentGridSkills.md +271 -0
  133. package/docs/api/copilot.d.ts +1017 -0
  134. package/docs/api/copilot.md +1765 -0
  135. package/docs/api/crmSyncs.d.ts +215 -0
  136. package/docs/api/crmSyncs.md +301 -0
  137. package/docs/api/customerSuccess.d.ts +491 -0
  138. package/docs/api/customerSuccess.md +776 -0
  139. package/docs/api/deals.d.ts +1696 -0
  140. package/docs/api/deals.md +2432 -0
  141. package/docs/api/deliverability.d.ts +418 -0
  142. package/docs/api/deliverability.md +677 -0
  143. package/docs/api/desk.d.ts +1765 -0
  144. package/docs/api/desk.md +3007 -0
  145. package/docs/api/dialer.d.ts +1185 -0
  146. package/docs/api/dialer.md +2166 -0
  147. package/docs/api/dialerAnalytics.d.ts +187 -0
  148. package/docs/api/dialerAnalytics.md +257 -0
  149. package/docs/api/documents.d.ts +895 -0
  150. package/docs/api/documents.md +1440 -0
  151. package/docs/api/duplicates.d.ts +195 -0
  152. package/docs/api/duplicates.md +315 -0
  153. package/docs/api/eSign.d.ts +38 -0
  154. package/docs/api/eSign.md +54 -0
  155. package/docs/api/eSignature.d.ts +242 -0
  156. package/docs/api/eSignature.md +341 -0
  157. package/docs/api/enrichment.d.ts +3207 -0
  158. package/docs/api/enrichment.md +5225 -0
  159. package/docs/api/events.d.ts +115 -0
  160. package/docs/api/events.md +105 -0
  161. package/docs/api/fields.d.ts +482 -0
  162. package/docs/api/fields.md +566 -0
  163. package/docs/api/forms.d.ts +1012 -0
  164. package/docs/api/forms.md +1542 -0
  165. package/docs/api/gtmCampaigns.d.ts +662 -0
  166. package/docs/api/gtmCampaigns.md +1044 -0
  167. package/docs/api/gtmContext.d.ts +1187 -0
  168. package/docs/api/gtmContext.md +2112 -0
  169. package/docs/api/gtmDeliverability.d.ts +60 -0
  170. package/docs/api/gtmDeliverability.md +63 -0
  171. package/docs/api/gtmKnowledgeBase.d.ts +76 -0
  172. package/docs/api/gtmKnowledgeBase.md +91 -0
  173. package/docs/api/gtmLaunchHelpers.d.ts +123 -0
  174. package/docs/api/gtmLaunchHelpers.md +148 -0
  175. package/docs/api/gtmLibrary.d.ts +448 -0
  176. package/docs/api/gtmLibrary.md +780 -0
  177. package/docs/api/health.d.ts +39 -0
  178. package/docs/api/health.md +58 -0
  179. package/docs/api/imageLibrary.d.ts +341 -0
  180. package/docs/api/imageLibrary.md +569 -0
  181. package/docs/api/imports.d.ts +157 -0
  182. package/docs/api/imports.md +174 -0
  183. package/docs/api/inbox.d.ts +709 -0
  184. package/docs/api/inbox.md +1067 -0
  185. package/docs/api/install.d.ts +213 -0
  186. package/docs/api/install.md +317 -0
  187. package/docs/api/installedApps.d.ts +131 -0
  188. package/docs/api/installedApps.md +241 -0
  189. package/docs/api/integrationStatus.d.ts +142 -0
  190. package/docs/api/integrationStatus.md +205 -0
  191. package/docs/api/integrations.d.ts +2327 -0
  192. package/docs/api/integrations.md +3791 -0
  193. package/docs/api/intent.d.ts +482 -0
  194. package/docs/api/intent.md +858 -0
  195. package/docs/api/knowledge.d.ts +501 -0
  196. package/docs/api/knowledge.md +843 -0
  197. package/docs/api/knowledgeBase.d.ts +84 -0
  198. package/docs/api/knowledgeBase.md +96 -0
  199. package/docs/api/landingPages.d.ts +1411 -0
  200. package/docs/api/landingPages.md +2488 -0
  201. package/docs/api/leads.d.ts +133 -0
  202. package/docs/api/leads.md +180 -0
  203. package/docs/api/library.d.ts +217 -0
  204. package/docs/api/library.md +338 -0
  205. package/docs/api/linkedIn.d.ts +227 -0
  206. package/docs/api/linkedIn.md +289 -0
  207. package/docs/api/linkedInOutreach.d.ts +727 -0
  208. package/docs/api/linkedInOutreach.md +990 -0
  209. package/docs/api/lists.d.ts +1106 -0
  210. package/docs/api/lists.md +1609 -0
  211. package/docs/api/logs.d.ts +71 -0
  212. package/docs/api/logs.md +70 -0
  213. package/docs/api/mailboxes.d.ts +1050 -0
  214. package/docs/api/mailboxes.md +1690 -0
  215. package/docs/api/marketingIntelligence.d.ts +256 -0
  216. package/docs/api/marketingIntelligence.md +454 -0
  217. package/docs/api/marketplace.d.ts +3173 -0
  218. package/docs/api/marketplace.md +5953 -0
  219. package/docs/api/mcp.d.ts +69 -0
  220. package/docs/api/mcp.md +69 -0
  221. package/docs/api/me.d.ts +54 -0
  222. package/docs/api/me.md +56 -0
  223. package/docs/api/meetings.d.ts +539 -0
  224. package/docs/api/meetings.md +747 -0
  225. package/docs/api/newsletter.d.ts +1613 -0
  226. package/docs/api/newsletter.md +2746 -0
  227. package/docs/api/notes.d.ts +517 -0
  228. package/docs/api/notes.md +888 -0
  229. package/docs/api/notifications.d.ts +94 -0
  230. package/docs/api/notifications.md +105 -0
  231. package/docs/api/objects.d.ts +621 -0
  232. package/docs/api/objects.md +1098 -0
  233. package/docs/api/openSearch.d.ts +234 -0
  234. package/docs/api/openSearch.md +297 -0
  235. package/docs/api/ops.d.ts +299 -0
  236. package/docs/api/ops.md +339 -0
  237. package/docs/api/orgGovernance.d.ts +393 -0
  238. package/docs/api/orgGovernance.md +623 -0
  239. package/docs/api/orgVideos.d.ts +184 -0
  240. package/docs/api/orgVideos.md +252 -0
  241. package/docs/api/organizationSettings.d.ts +626 -0
  242. package/docs/api/organizationSettings.md +911 -0
  243. package/docs/api/phoneNumbers.d.ts +484 -0
  244. package/docs/api/phoneNumbers.md +777 -0
  245. package/docs/api/profile.d.ts +329 -0
  246. package/docs/api/profile.md +540 -0
  247. package/docs/api/programmaticPages.d.ts +400 -0
  248. package/docs/api/programmaticPages.md +626 -0
  249. package/docs/api/providerDomains.d.ts +866 -0
  250. package/docs/api/providerDomains.md +1446 -0
  251. package/docs/api/providerUsage.d.ts +129 -0
  252. package/docs/api/providerUsage.md +186 -0
  253. package/docs/api/public.d.ts +69 -0
  254. package/docs/api/public.md +78 -0
  255. package/docs/api/publicCopilot.d.ts +67 -0
  256. package/docs/api/publicCopilot.md +80 -0
  257. package/docs/api/publicSignals.d.ts +66 -0
  258. package/docs/api/publicSignals.md +71 -0
  259. package/docs/api/publicVisitors.d.ts +97 -0
  260. package/docs/api/publicVisitors.md +118 -0
  261. package/docs/api/quotes.d.ts +1564 -0
  262. package/docs/api/quotes.md +2553 -0
  263. package/docs/api/radar.d.ts +808 -0
  264. package/docs/api/radar.md +1431 -0
  265. package/docs/api/radarReports.d.ts +208 -0
  266. package/docs/api/radarReports.md +306 -0
  267. package/docs/api/recordRoles.d.ts +143 -0
  268. package/docs/api/recordRoles.md +175 -0
  269. package/docs/api/repos.d.ts +146 -0
  270. package/docs/api/repos.md +211 -0
  271. package/docs/api/research.d.ts +295 -0
  272. package/docs/api/research.md +534 -0
  273. package/docs/api/revenue.d.ts +402 -0
  274. package/docs/api/revenue.md +608 -0
  275. package/docs/api/revenueAnalytics.d.ts +147 -0
  276. package/docs/api/revenueAnalytics.md +212 -0
  277. package/docs/api/revenueLifecycle.d.ts +207 -0
  278. package/docs/api/revenueLifecycle.md +274 -0
  279. package/docs/api/revenueRecords.d.ts +372 -0
  280. package/docs/api/revenueRecords.md +563 -0
  281. package/docs/api/roles.d.ts +431 -0
  282. package/docs/api/roles.md +812 -0
  283. package/docs/api/salesCoach.d.ts +877 -0
  284. package/docs/api/salesCoach.md +1540 -0
  285. package/docs/api/sandbox.d.ts +210 -0
  286. package/docs/api/sandbox.md +380 -0
  287. package/docs/api/scans.d.ts +104 -0
  288. package/docs/api/scans.md +136 -0
  289. package/docs/api/scheduleBuy.d.ts +293 -0
  290. package/docs/api/scheduleBuy.md +431 -0
  291. package/docs/api/scraping.d.ts +266 -0
  292. package/docs/api/scraping.md +383 -0
  293. package/docs/api/sdrAnalytics.d.ts +138 -0
  294. package/docs/api/sdrAnalytics.md +246 -0
  295. package/docs/api/search.d.ts +598 -0
  296. package/docs/api/search.md +866 -0
  297. package/docs/api/seo.d.ts +447 -0
  298. package/docs/api/seo.md +660 -0
  299. package/docs/api/sequenceLifecycle.d.ts +439 -0
  300. package/docs/api/sequenceLifecycle.md +513 -0
  301. package/docs/api/sequences.d.ts +1936 -0
  302. package/docs/api/sequences.md +3232 -0
  303. package/docs/api/settings.d.ts +448 -0
  304. package/docs/api/settings.md +731 -0
  305. package/docs/api/signals.d.ts +1441 -0
  306. package/docs/api/signals.md +2526 -0
  307. package/docs/api/signatures.d.ts +719 -0
  308. package/docs/api/signatures.md +1247 -0
  309. package/docs/api/skills.d.ts +230 -0
  310. package/docs/api/skills.md +466 -0
  311. package/docs/api/snippet.d.ts +85 -0
  312. package/docs/api/snippet.md +106 -0
  313. package/docs/api/socialPublishing.d.ts +824 -0
  314. package/docs/api/socialPublishing.md +1245 -0
  315. package/docs/api/studioDocuments.d.ts +244 -0
  316. package/docs/api/studioDocuments.md +348 -0
  317. package/docs/api/support.d.ts +90 -0
  318. package/docs/api/support.md +76 -0
  319. package/docs/api/suppressions.d.ts +241 -0
  320. package/docs/api/suppressions.md +343 -0
  321. package/docs/api/surveys.d.ts +847 -0
  322. package/docs/api/surveys.md +1223 -0
  323. package/docs/api/tasks.d.ts +813 -0
  324. package/docs/api/tasks.md +1344 -0
  325. package/docs/api/teamMembers.d.ts +668 -0
  326. package/docs/api/teamMembers.md +1040 -0
  327. package/docs/api/teams.d.ts +784 -0
  328. package/docs/api/teams.md +1395 -0
  329. package/docs/api/usage.d.ts +277 -0
  330. package/docs/api/usage.md +389 -0
  331. package/docs/api/visitors.d.ts +690 -0
  332. package/docs/api/visitors.md +1075 -0
  333. package/docs/api/voice.d.ts +4661 -0
  334. package/docs/api/voice.md +7905 -0
  335. package/docs/api/webAnalytics.d.ts +964 -0
  336. package/docs/api/webAnalytics.md +1452 -0
  337. package/docs/api/webChat.d.ts +1704 -0
  338. package/docs/api/webChat.md +2048 -0
  339. package/docs/api/webhooks.d.ts +251 -0
  340. package/docs/api/webhooks.md +386 -0
  341. package/docs/api/websiteEditor.d.ts +324 -0
  342. package/docs/api/websiteEditor.md +517 -0
  343. package/docs/api/work.d.ts +2298 -0
  344. package/docs/api/work.md +3096 -0
  345. package/docs/api/workbench.d.ts +2962 -0
  346. package/docs/api/workbench.md +4884 -0
  347. package/docs/api/workflows.d.ts +1218 -0
  348. package/docs/api/workflows.md +2302 -0
  349. package/docs/sdk-clients.md +4339 -0
  350. package/package.json +10 -3
@@ -0,0 +1,727 @@
1
+ /* Generated by sdk/js/scripts/generate-agent-docs.ts from developer-contract/openapi.json. Regenerated on every build. */
2
+
3
+ /**
4
+ * Types for `g8.api.linkedInOutreach` (LinkedIn Outreach): 20 operations.
5
+ *
6
+ * For reading. In code, import from the package instead:
7
+ * import type { ApiInput, ApiOutput, G8Contract } from "@graph8/sdk";
8
+ * type In = ApiInput<"add_outreach_list_leads_integrations_linkedin_outreach_lists__list_id__leads_post">;
9
+ *
10
+ * Reference with examples: linkedInOutreach.md
11
+ */
12
+ /* eslint-disable */
13
+
14
+ /** `g8.api.linkedInOutreach.<member>` -> the operationId it calls. */
15
+ export interface LinkedInOutreachMembers {
16
+ addOutreachListLeads: "add_outreach_list_leads_integrations_linkedin_outreach_lists__list_id__leads_post";
17
+ createOutreachList: "create_outreach_list_integrations_linkedin_outreach_lists_post";
18
+ getActiveOutreachWorkspace: "get_active_outreach_workspace_integrations_linkedin_outreach_workspaces_active_get";
19
+ getOutreachCampaignProgress: "get_outreach_campaign_progress_integrations_linkedin_outreach_campaigns__campaign_id__progress_get";
20
+ getOutreachCampaignStats: "get_outreach_campaign_stats_integrations_linkedin_outreach_campaigns__campaign_id__stats_get";
21
+ getOutreachConnection: "get_outreach_connection_integrations_linkedin_outreach_connection_get";
22
+ getOutreachSequenceMapping: "get_outreach_sequence_mapping_integrations_linkedin_outreach_sequences__sequence_id__mapping_get";
23
+ getOutreachSequenceProgress: "get_outreach_sequence_progress_integrations_linkedin_outreach_sequences__sequence_id__progress_get";
24
+ listOutreachCampaigns: "list_outreach_campaigns_integrations_linkedin_outreach_campaigns_get";
25
+ listOutreachLists: "list_outreach_lists_integrations_linkedin_outreach_lists_get";
26
+ listOutreachSenderAccounts: "list_outreach_sender_accounts_integrations_linkedin_outreach_accounts_get";
27
+ listOutreachSequenceStepCampaigns: "list_outreach_sequence_step_campaigns_integrations_linkedin_outreach_sequences__sequence_id__step_campaigns_get";
28
+ listOutreachTemplates: "list_outreach_templates_integrations_linkedin_outreach_templates_get";
29
+ listOutreachWorkspaces: "list_outreach_workspaces_integrations_linkedin_outreach_workspaces_get";
30
+ pauseOutreachCampaign: "pause_outreach_campaign_integrations_linkedin_outreach_campaigns__campaign_id__pause_post";
31
+ reconnectOutreach: "reconnect_outreach_integrations_linkedin_outreach_connection_reconnect_post";
32
+ resumeOutreachCampaign: "resume_outreach_campaign_integrations_linkedin_outreach_campaigns__campaign_id__resume_post";
33
+ searchOutreachCampaignLeads: "search_outreach_campaign_leads_integrations_linkedin_outreach_campaigns__campaign_id__leads_search_post";
34
+ selectActiveOutreachWorkspace: "select_active_outreach_workspace_integrations_linkedin_outreach_workspaces_active_put";
35
+ syncOutreachWorkspace: "sync_outreach_workspace_integrations_linkedin_outreach_workspaces_sync_post";
36
+ }
37
+
38
+ /** Input and output of every `g8.api.linkedInOutreach` operation, keyed by operationId. */
39
+ export interface LinkedInOutreachOperations {
40
+ /**
41
+ * POST /integrations/linkedin-outreach/lists/{list_id}/leads
42
+ * Add Outreach List Leads
43
+ * tier: external · scope: integrations:run
44
+ */
45
+ add_outreach_list_leads_integrations_linkedin_outreach_lists__list_id__leads_post: {
46
+ input: {
47
+ path: {
48
+ /** The outreach lead list's id. */
49
+ list_id: number;
50
+ };
51
+ headers?: {
52
+ "X-Target-Org-Id"?: string | null;
53
+ };
54
+ body: OutreachAddLeadsRequest;
55
+ };
56
+ output: ApiResponse_OutreachLeadsAdded_;
57
+ };
58
+ /**
59
+ * POST /integrations/linkedin-outreach/lists
60
+ * Create Outreach List
61
+ * tier: external · scope: integrations:run
62
+ */
63
+ create_outreach_list_integrations_linkedin_outreach_lists_post: {
64
+ input: {
65
+ headers?: {
66
+ "X-Target-Org-Id"?: string | null;
67
+ };
68
+ body: OutreachListCreateRequest;
69
+ };
70
+ output: ApiResponse_OutreachListCreated_;
71
+ };
72
+ /**
73
+ * GET /integrations/linkedin-outreach/workspaces/active
74
+ * Get Active Outreach Workspace
75
+ * tier: read · scope: integrations:read
76
+ */
77
+ get_active_outreach_workspace_integrations_linkedin_outreach_workspaces_active_get: {
78
+ input: {
79
+ headers?: {
80
+ "X-Target-Org-Id"?: string | null;
81
+ };
82
+ };
83
+ output: ApiResponse_OutreachWorkspaceState_;
84
+ };
85
+ /**
86
+ * GET /integrations/linkedin-outreach/campaigns/{campaign_id}/progress
87
+ * Get Outreach Campaign Progress
88
+ * tier: read · scope: integrations:read
89
+ */
90
+ get_outreach_campaign_progress_integrations_linkedin_outreach_campaigns__campaign_id__progress_get: {
91
+ input: {
92
+ path: {
93
+ /** The outreach campaign's id. */
94
+ campaign_id: number;
95
+ };
96
+ headers?: {
97
+ "X-Target-Org-Id"?: string | null;
98
+ };
99
+ };
100
+ output: ApiResponse_OutreachCampaignProgress_;
101
+ };
102
+ /**
103
+ * GET /integrations/linkedin-outreach/campaigns/{campaign_id}/stats
104
+ * Get Outreach Campaign Stats
105
+ * tier: read · scope: integrations:read
106
+ */
107
+ get_outreach_campaign_stats_integrations_linkedin_outreach_campaigns__campaign_id__stats_get: {
108
+ input: {
109
+ path: {
110
+ /** The outreach campaign's id. */
111
+ campaign_id: number;
112
+ };
113
+ query?: {
114
+ /** YYYY-MM-DD. Omit both dates for all time. */
115
+ start_date?: string | null;
116
+ /** YYYY-MM-DD. */
117
+ end_date?: string | null;
118
+ };
119
+ headers?: {
120
+ "X-Target-Org-Id"?: string | null;
121
+ };
122
+ };
123
+ output: ApiResponse_OutreachCampaignStats_;
124
+ };
125
+ /**
126
+ * GET /integrations/linkedin-outreach/connection
127
+ * Get Outreach Connection
128
+ * tier: read · scope: integrations:read
129
+ */
130
+ get_outreach_connection_integrations_linkedin_outreach_connection_get: {
131
+ input: {
132
+ headers?: {
133
+ "X-Target-Org-Id"?: string | null;
134
+ };
135
+ };
136
+ output: ApiResponse_OutreachConnectionStatus_;
137
+ };
138
+ /**
139
+ * GET /integrations/linkedin-outreach/sequences/{sequence_id}/mapping
140
+ * Get Outreach Sequence Mapping
141
+ * tier: read · scope: integrations:read
142
+ */
143
+ get_outreach_sequence_mapping_integrations_linkedin_outreach_sequences__sequence_id__mapping_get: {
144
+ input: {
145
+ path: {
146
+ /** The graph8 sequence's id. */
147
+ sequence_id: string;
148
+ };
149
+ headers?: {
150
+ "X-Target-Org-Id"?: string | null;
151
+ };
152
+ };
153
+ output: ApiResponse_OutreachSequenceMapping_;
154
+ };
155
+ /**
156
+ * GET /integrations/linkedin-outreach/sequences/{sequence_id}/progress
157
+ * Get Outreach Sequence Progress
158
+ * tier: read · scope: integrations:read
159
+ */
160
+ get_outreach_sequence_progress_integrations_linkedin_outreach_sequences__sequence_id__progress_get: {
161
+ input: {
162
+ path: {
163
+ /** The graph8 sequence's id. */
164
+ sequence_id: string;
165
+ };
166
+ headers?: {
167
+ "X-Target-Org-Id"?: string | null;
168
+ };
169
+ };
170
+ output: ApiResponse_OutreachCampaignProgress_;
171
+ };
172
+ /**
173
+ * GET /integrations/linkedin-outreach/campaigns
174
+ * List Outreach Campaigns
175
+ * tier: read · scope: integrations:read
176
+ */
177
+ list_outreach_campaigns_integrations_linkedin_outreach_campaigns_get: {
178
+ input: {
179
+ query?: {
180
+ /** ZERO-indexed, passed through to the platform. */
181
+ page?: number;
182
+ /** Substring match on the campaign name. */
183
+ keyword?: string;
184
+ };
185
+ headers?: {
186
+ "X-Target-Org-Id"?: string | null;
187
+ };
188
+ };
189
+ output: ApiResponse_OutreachCampaigns_;
190
+ };
191
+ /**
192
+ * GET /integrations/linkedin-outreach/lists
193
+ * List Outreach Lists
194
+ * tier: read · scope: integrations:read
195
+ */
196
+ list_outreach_lists_integrations_linkedin_outreach_lists_get: {
197
+ input: {
198
+ query?: {
199
+ /** ZERO-indexed, passed through to the platform. */
200
+ page?: number;
201
+ /** Substring match on the list name. */
202
+ search?: string;
203
+ };
204
+ headers?: {
205
+ "X-Target-Org-Id"?: string | null;
206
+ };
207
+ };
208
+ output: ApiResponse_OutreachLists_;
209
+ };
210
+ /**
211
+ * GET /integrations/linkedin-outreach/accounts
212
+ * List Outreach Sender Accounts
213
+ * tier: read · scope: integrations:read
214
+ */
215
+ list_outreach_sender_accounts_integrations_linkedin_outreach_accounts_get: {
216
+ input: {
217
+ headers?: {
218
+ "X-Target-Org-Id"?: string | null;
219
+ };
220
+ };
221
+ output: ApiResponse_OutreachSenderAccounts_;
222
+ };
223
+ /**
224
+ * GET /integrations/linkedin-outreach/sequences/{sequence_id}/step-campaigns
225
+ * List Outreach Sequence Step Campaigns
226
+ * tier: read · scope: integrations:read
227
+ */
228
+ list_outreach_sequence_step_campaigns_integrations_linkedin_outreach_sequences__sequence_id__step_campaigns_get: {
229
+ input: {
230
+ path: {
231
+ /** The graph8 sequence's id. */
232
+ sequence_id: string;
233
+ };
234
+ headers?: {
235
+ "X-Target-Org-Id"?: string | null;
236
+ };
237
+ };
238
+ output: ApiResponse_OutreachStepCampaigns_;
239
+ };
240
+ /**
241
+ * GET /integrations/linkedin-outreach/templates
242
+ * List Outreach Templates
243
+ * tier: read · scope: integrations:read
244
+ */
245
+ list_outreach_templates_integrations_linkedin_outreach_templates_get: {
246
+ input: {
247
+ headers?: {
248
+ "X-Target-Org-Id"?: string | null;
249
+ };
250
+ };
251
+ output: ApiResponse_OutreachTemplates_;
252
+ };
253
+ /**
254
+ * GET /integrations/linkedin-outreach/workspaces
255
+ * List Outreach Workspaces
256
+ * tier: read · scope: integrations:read
257
+ */
258
+ list_outreach_workspaces_integrations_linkedin_outreach_workspaces_get: {
259
+ input: {
260
+ headers?: {
261
+ "X-Target-Org-Id"?: string | null;
262
+ };
263
+ };
264
+ output: ApiResponse_OutreachWorkspaces_;
265
+ };
266
+ /**
267
+ * POST /integrations/linkedin-outreach/campaigns/{campaign_id}/pause
268
+ * Pause Outreach Campaign
269
+ * tier: external · scope: integrations:run
270
+ */
271
+ pause_outreach_campaign_integrations_linkedin_outreach_campaigns__campaign_id__pause_post: {
272
+ input: {
273
+ path: {
274
+ /** The outreach campaign's id. */
275
+ campaign_id: number;
276
+ };
277
+ headers?: {
278
+ "X-Target-Org-Id"?: string | null;
279
+ };
280
+ };
281
+ output: ApiResponse_OutreachCampaignActionResult_;
282
+ };
283
+ /**
284
+ * POST /integrations/linkedin-outreach/connection/reconnect
285
+ * Reconnect Outreach
286
+ * tier: external · scope: integrations:run
287
+ */
288
+ reconnect_outreach_integrations_linkedin_outreach_connection_reconnect_post: {
289
+ input: {
290
+ headers?: {
291
+ "X-Target-Org-Id"?: string | null;
292
+ };
293
+ };
294
+ output: ApiResponse_OutreachReconnectResult_;
295
+ };
296
+ /**
297
+ * POST /integrations/linkedin-outreach/campaigns/{campaign_id}/resume
298
+ * Resume Outreach Campaign
299
+ * tier: external · scope: integrations:run
300
+ */
301
+ resume_outreach_campaign_integrations_linkedin_outreach_campaigns__campaign_id__resume_post: {
302
+ input: {
303
+ path: {
304
+ /** The outreach campaign's id. */
305
+ campaign_id: number;
306
+ };
307
+ headers?: {
308
+ "X-Target-Org-Id"?: string | null;
309
+ };
310
+ };
311
+ output: ApiResponse_OutreachCampaignActionResult_;
312
+ };
313
+ /**
314
+ * POST /integrations/linkedin-outreach/campaigns/{campaign_id}/leads/search
315
+ * Search Outreach Campaign Leads
316
+ * tier: read · scope: integrations:read
317
+ */
318
+ search_outreach_campaign_leads_integrations_linkedin_outreach_campaigns__campaign_id__leads_search_post: {
319
+ input: {
320
+ path: {
321
+ /** The outreach campaign's id. */
322
+ campaign_id: number;
323
+ };
324
+ headers?: {
325
+ "X-Target-Org-Id"?: string | null;
326
+ };
327
+ body: OutreachCampaignLeadsQuery;
328
+ };
329
+ output: ApiResponse_OutreachCampaignLeads_;
330
+ };
331
+ /**
332
+ * PUT /integrations/linkedin-outreach/workspaces/active
333
+ * Select Active Outreach Workspace
334
+ * tier: external · scope: integrations:run
335
+ */
336
+ select_active_outreach_workspace_integrations_linkedin_outreach_workspaces_active_put: {
337
+ input: {
338
+ headers?: {
339
+ "X-Target-Org-Id"?: string | null;
340
+ };
341
+ body: OutreachWorkspaceSelectRequest;
342
+ };
343
+ output: ApiResponse_OutreachWorkspaceSelected_;
344
+ };
345
+ /**
346
+ * POST /integrations/linkedin-outreach/workspaces/sync
347
+ * Sync Outreach Workspace
348
+ * tier: external · scope: integrations:run
349
+ */
350
+ sync_outreach_workspace_integrations_linkedin_outreach_workspaces_sync_post: {
351
+ input: {
352
+ headers?: {
353
+ "X-Target-Org-Id"?: string | null;
354
+ };
355
+ };
356
+ output: ApiResponse_OutreachWorkspaceState_;
357
+ };
358
+ }
359
+
360
+ // 49 schemas referenced above (the same as G8Contract.<Name>).
361
+
362
+ export interface ApiResponse_OutreachCampaignActionResult_ {
363
+ data: OutreachCampaignActionResult;
364
+ pagination?: PaginationMeta | null;
365
+ }
366
+
367
+ export interface ApiResponse_OutreachCampaignLeads_ {
368
+ data: OutreachCampaignLeads;
369
+ pagination?: PaginationMeta | null;
370
+ }
371
+
372
+ export interface ApiResponse_OutreachCampaignProgress_ {
373
+ data: OutreachCampaignProgress;
374
+ pagination?: PaginationMeta | null;
375
+ }
376
+
377
+ export interface ApiResponse_OutreachCampaignStats_ {
378
+ data: OutreachCampaignStats;
379
+ pagination?: PaginationMeta | null;
380
+ }
381
+
382
+ export interface ApiResponse_OutreachCampaigns_ {
383
+ data: OutreachCampaigns;
384
+ pagination?: PaginationMeta | null;
385
+ }
386
+
387
+ export interface ApiResponse_OutreachConnectionStatus_ {
388
+ data: OutreachConnectionStatus;
389
+ pagination?: PaginationMeta | null;
390
+ }
391
+
392
+ export interface ApiResponse_OutreachLeadsAdded_ {
393
+ data: OutreachLeadsAdded;
394
+ pagination?: PaginationMeta | null;
395
+ }
396
+
397
+ export interface ApiResponse_OutreachListCreated_ {
398
+ data: OutreachListCreated;
399
+ pagination?: PaginationMeta | null;
400
+ }
401
+
402
+ export interface ApiResponse_OutreachLists_ {
403
+ data: OutreachLists;
404
+ pagination?: PaginationMeta | null;
405
+ }
406
+
407
+ export interface ApiResponse_OutreachReconnectResult_ {
408
+ data: OutreachReconnectResult;
409
+ pagination?: PaginationMeta | null;
410
+ }
411
+
412
+ export interface ApiResponse_OutreachSenderAccounts_ {
413
+ data: OutreachSenderAccounts;
414
+ pagination?: PaginationMeta | null;
415
+ }
416
+
417
+ export interface ApiResponse_OutreachSequenceMapping_ {
418
+ data: OutreachSequenceMapping;
419
+ pagination?: PaginationMeta | null;
420
+ }
421
+
422
+ export interface ApiResponse_OutreachStepCampaigns_ {
423
+ data: OutreachStepCampaigns;
424
+ pagination?: PaginationMeta | null;
425
+ }
426
+
427
+ export interface ApiResponse_OutreachTemplates_ {
428
+ data: OutreachTemplates;
429
+ pagination?: PaginationMeta | null;
430
+ }
431
+
432
+ export interface ApiResponse_OutreachWorkspaceSelected_ {
433
+ data: OutreachWorkspaceSelected;
434
+ pagination?: PaginationMeta | null;
435
+ }
436
+
437
+ export interface ApiResponse_OutreachWorkspaceState_ {
438
+ data: OutreachWorkspaceState;
439
+ pagination?: PaginationMeta | null;
440
+ }
441
+
442
+ export interface ApiResponse_OutreachWorkspaces_ {
443
+ data: OutreachWorkspaces;
444
+ pagination?: PaginationMeta | null;
445
+ }
446
+
447
+ /**
448
+ * People to add to an outreach lead list.
449
+ *
450
+ * Each object is one person. `linkedInUrl`, `firstName` and `lastName` are the
451
+ * fields that matter; `companyName`, `position` and similar are passed through.
452
+ */
453
+ export interface OutreachAddLeadsRequest {
454
+ leads: Array<Record<string, unknown>>;
455
+ }
456
+
457
+ export interface OutreachCampaign {
458
+ created_at?: string | null;
459
+ finished_leads?: number;
460
+ id: number;
461
+ name: string;
462
+ pending_leads?: number;
463
+ /** DRAFT, ONGOING, PAUSED or FINISHED. */
464
+ status: string;
465
+ total_leads?: number;
466
+ }
467
+
468
+ export interface OutreachCampaignActionResult {
469
+ message: string;
470
+ success: boolean;
471
+ }
472
+
473
+ export interface OutreachCampaignLead {
474
+ creation_time?: string | null;
475
+ error_code?: string | null;
476
+ failed_time?: string | null;
477
+ id: number;
478
+ last_action_time?: string | null;
479
+ lead_campaign_status?: string | null;
480
+ lead_campaign_status_message?: string | null;
481
+ lead_connection_status?: string | null;
482
+ lead_message_status?: string | null;
483
+ linkedin_sender_full_name?: string | null;
484
+ linkedin_sender_id?: number | null;
485
+ linkedin_user_profile?: OutreachLeadProfile | null;
486
+ linkedin_user_profile_id?: string | null;
487
+ }
488
+
489
+ export interface OutreachCampaignLeads {
490
+ items: Array<OutreachCampaignLead>;
491
+ limit: number;
492
+ offset: number;
493
+ total_count: number;
494
+ }
495
+
496
+ /**
497
+ * Page through the people in one campaign. Reads only.
498
+ *
499
+ * `campaign_id` exists because the app's model has it; the PATH value is
500
+ * authoritative and overwrites whatever is sent here.
501
+ */
502
+ export interface OutreachCampaignLeadsQuery {
503
+ /** Ignored; the path value is used. */
504
+ campaign_id?: number | null;
505
+ /** Page size. Values above 1000 are capped at 1000. */
506
+ limit?: number;
507
+ /** Leads to skip. */
508
+ offset?: number;
509
+ time_filter?: ("CreationTime" | "Everywhere") | null;
510
+ /** ISO 8601. */
511
+ time_from?: string | null;
512
+ /** ISO 8601. */
513
+ time_to?: string | null;
514
+ }
515
+
516
+ export interface OutreachCampaignProgress {
517
+ campaign_id: number;
518
+ campaign_name: string;
519
+ progress_stats: OutreachProgressFigures;
520
+ status?: unknown;
521
+ }
522
+
523
+ export interface OutreachCampaignStats {
524
+ by_day_stats?: Record<string, unknown> | null;
525
+ stats: OutreachCampaignStatsFigures;
526
+ }
527
+
528
+ export interface OutreachCampaignStatsFigures {
529
+ campaign_id: number;
530
+ connection_acceptance_rate?: number;
531
+ connections_accepted?: number;
532
+ connections_sent?: number;
533
+ follows?: number;
534
+ inmail_messages_sent?: number;
535
+ message_reply_rate?: number;
536
+ messages_sent?: number;
537
+ post_likes?: number;
538
+ profile_views?: number;
539
+ total_message_replies?: number;
540
+ total_message_started?: number;
541
+ }
542
+
543
+ export interface OutreachCampaigns {
544
+ campaigns: Array<OutreachCampaign>;
545
+ total_count: number;
546
+ }
547
+
548
+ /** Whether the org's outreach connection exists and its session is healthy. Never the credentials. */
549
+ export interface OutreachConnectionStatus {
550
+ auto_reauth_enabled?: boolean;
551
+ auto_reauth_error?: string | null;
552
+ auto_reauth_status?: string | null;
553
+ connected: boolean;
554
+ email?: string | null;
555
+ failed_reauth_count?: number | null;
556
+ is_token_valid?: boolean;
557
+ last_reauth_success_at?: string | null;
558
+ reenable_in_seconds?: number | null;
559
+ requires_manual_login?: boolean | null;
560
+ tenant_id?: number | null;
561
+ time_until_expiry_seconds?: number | null;
562
+ token_expires_at?: string | null;
563
+ workspace_configured?: boolean;
564
+ workspace_id?: number | null;
565
+ workspace_name?: string | null;
566
+ }
567
+
568
+ export interface OutreachLeadProfile {
569
+ about?: string | null;
570
+ company_name?: string | null;
571
+ company_url?: string | null;
572
+ connections?: number;
573
+ email_address?: string | null;
574
+ first_name?: string | null;
575
+ followers?: number;
576
+ headline?: string | null;
577
+ image_url?: string | null;
578
+ last_name?: string | null;
579
+ linkedin_id?: string | null;
580
+ location?: string | null;
581
+ position?: string | null;
582
+ profile_url?: string | null;
583
+ }
584
+
585
+ export interface OutreachLeadsAdded {
586
+ added_count: number;
587
+ }
588
+
589
+ export interface OutreachList {
590
+ created_at?: string | null;
591
+ id: number;
592
+ leads_count?: number;
593
+ name: string;
594
+ }
595
+
596
+ /** A new, empty lead list on the outreach platform. */
597
+ export interface OutreachListCreateRequest {
598
+ name: string;
599
+ }
600
+
601
+ export interface OutreachListCreated {
602
+ id: number;
603
+ name: string;
604
+ }
605
+
606
+ export interface OutreachLists {
607
+ lists: Array<OutreachList>;
608
+ total_count: number;
609
+ }
610
+
611
+ export interface OutreachProgressFigures {
612
+ total_users?: number;
613
+ total_users_excluded?: number;
614
+ total_users_failed?: number;
615
+ total_users_finished?: number;
616
+ total_users_in_progress?: number;
617
+ total_users_manually_stopped?: number;
618
+ total_users_pending?: number;
619
+ }
620
+
621
+ /** Outcome of refreshing the session. `requires_login: true` means a person must sign in again in the app. */
622
+ export interface OutreachReconnectResult {
623
+ email?: string | null;
624
+ message: string;
625
+ requires_login?: boolean;
626
+ success: boolean;
627
+ token_expires_at?: string | null;
628
+ }
629
+
630
+ /** A LinkedIn account that sends outreach. */
631
+ export interface OutreachSenderAccount {
632
+ email?: string | null;
633
+ id: number;
634
+ is_connected?: boolean;
635
+ is_premium?: boolean;
636
+ name: string;
637
+ profile_picture_url?: string | null;
638
+ status?: string | null;
639
+ }
640
+
641
+ export interface OutreachSenderAccounts {
642
+ accounts: Array<OutreachSenderAccount>;
643
+ total_count: number;
644
+ }
645
+
646
+ /** The outreach campaign and list a graph8 sequence runs through. */
647
+ export interface OutreachSequenceMapping {
648
+ campaign_id?: number | null;
649
+ campaign_name?: string | null;
650
+ list_id?: number | null;
651
+ sequence_id: string;
652
+ status?: string | null;
653
+ }
654
+
655
+ export interface OutreachStepCampaign {
656
+ campaign_id: number;
657
+ linkedin_action_type: string;
658
+ status: string;
659
+ }
660
+
661
+ /** Keyed by sequence step id. Steps with no campaign are absent. */
662
+ export interface OutreachStepCampaigns {
663
+ step_campaigns: Record<string, OutreachStepCampaign>;
664
+ }
665
+
666
+ export interface OutreachTemplate {
667
+ description?: string | null;
668
+ id: number;
669
+ is_default?: boolean;
670
+ name: string;
671
+ sequence: Record<string, unknown>;
672
+ }
673
+
674
+ export interface OutreachTemplates {
675
+ templates: Array<OutreachTemplate>;
676
+ }
677
+
678
+ export interface OutreachWorkspace {
679
+ seats_limit?: number | null;
680
+ used_seats?: number | null;
681
+ workspace_id: number;
682
+ workspace_name: string;
683
+ }
684
+
685
+ /** Which workspace this org sends from. ONE-TIME: it cannot be changed once set. */
686
+ export interface OutreachWorkspaceSelectRequest {
687
+ /** A `workspace_id` from `GET /integrations/linkedin-outreach/workspaces`. */
688
+ workspace_id: number;
689
+ }
690
+
691
+ export interface OutreachWorkspaceSelected {
692
+ message: string;
693
+ success: boolean;
694
+ workspace_id: number;
695
+ workspace_name?: string | null;
696
+ }
697
+
698
+ /** The workspace this org sends from, if one is selected. */
699
+ export interface OutreachWorkspaceState {
700
+ connected?: boolean | null;
701
+ message?: string | null;
702
+ success?: boolean | null;
703
+ workspace_configured?: boolean | null;
704
+ workspace_id?: number | null;
705
+ workspace_name?: string | null;
706
+ }
707
+
708
+ /** Selectable workspaces. Empty once one is selected - `current_workspace_id` then says which. */
709
+ export interface OutreachWorkspaces {
710
+ current_workspace_id?: number | null;
711
+ current_workspace_name?: string | null;
712
+ total_count: number;
713
+ workspaces: Array<OutreachWorkspace>;
714
+ }
715
+
716
+ export interface PaginationMeta {
717
+ /** Whether there are more pages */
718
+ has_next: boolean;
719
+ /** Items per page */
720
+ limit: number;
721
+ /** Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers. */
722
+ next_cursor?: string | null;
723
+ /** Current page number (1-indexed) */
724
+ page: number;
725
+ /** Total number of items */
726
+ total: number;
727
+ }