@graph8/sdk 0.251.0 → 0.262.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 +105 -7
  4. package/dist/index.d.ts +105 -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 +103 -7
  10. package/dist/react.d.ts +103 -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 +1697 -0
  140. package/docs/api/deals.md +2436 -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,911 @@
1
+ <!-- Generated by sdk/js/scripts/generate-agent-docs.ts from developer-contract/openapi.json. Regenerated on every build. -->
2
+
3
+ # `g8.api.organizationSettings`: Organization Settings
4
+
5
+ 22 operations (11 read, 11 write).
6
+
7
+ No hand-written client covers this area. Call it through `g8.api.organizationSettings.*` as shown below, or by operationId with `g8.api.call(operationId, input)`.
8
+
9
+ Every example below assumes this setup (server-side, API key):
10
+
11
+ ```ts
12
+ import { g8 } from "@graph8/sdk";
13
+
14
+ g8.init({ apiKey: process.env.G8_API_KEY! });
15
+ ```
16
+
17
+ Example values are placeholders that match each field's type. Only required fields are shown. Every example is type-checked against the SDK in CI.
18
+
19
+ Exact TypeScript types for every operation on this page, and every schema they use: [organizationSettings.d.ts](organizationSettings.d.ts).
20
+
21
+ ## Operations
22
+
23
+ | Call | HTTP | Tier | Scope | Summary |
24
+ |---|---|---|---|---|
25
+ | [`getCampaignGenerationSettings`](#op-getcampaigngenerationsettings) | `GET /api/v1/org/settings/campaign-generation` | read | `account:read` | Get Campaign Generation Settings |
26
+ | [`getComplianceSettings`](#op-getcompliancesettings) | `GET /api/v1/org/settings/compliance` | read | `account:read` | Get Compliance Settings |
27
+ | [`getContentSources`](#op-getcontentsources) | `GET /api/v1/org/content-sources` | read | `account:read` | Get Content Sources |
28
+ | [`getDocFolderTemplate`](#op-getdocfoldertemplate) | `GET /api/v1/org/settings/docs/folders/{scope}` | read | `account:read` | Get Doc Folder Template |
29
+ | [`getDocSettings`](#op-getdocsettings) | `GET /api/v1/org/settings/docs` | read | `account:read` | Get Doc Settings |
30
+ | [`getDocumentPrioritySettings`](#op-getdocumentprioritysettings) | `GET /api/v1/org/settings/document-priority` | read | `account:read` | Get Document Priority Settings |
31
+ | [`getLeadQualificationBackfillStatus`](#op-getleadqualificationbackfillstatus) | `GET /api/v1/org/settings/lead-qualification/backfill-status` | read | `account:read` | Get Lead Qualification Backfill Status |
32
+ | [`getLeadQualificationSettings`](#op-getleadqualificationsettings) | `GET /api/v1/org/settings/lead-qualification` | read | `account:read` | Get Lead Qualification Settings |
33
+ | [`getMeetingExtractionSettings`](#op-getmeetingextractionsettings) | `GET /api/v1/org/settings/docs/meetings` | read | `account:read` | Get Meeting Extraction Settings |
34
+ | [`getOrgSettings`](#op-getorgsettings) | `GET /api/v1/org/settings` | read | `account:read` | Get Org Settings |
35
+ | [`getTaskSettings`](#op-gettasksettings) | `GET /api/v1/org/settings/tasks` | read | `account:read` | Get Task Settings |
36
+ | [`triggerLeadQualificationBackfill`](#op-triggerleadqualificationbackfill) | `POST /api/v1/org/settings/lead-qualification/backfill` | write | `account:write` | Trigger Lead Qualification Backfill |
37
+ | [`updateCampaignGenerationSettings`](#op-updatecampaigngenerationsettings) | `PUT /api/v1/org/settings/campaign-generation` | write | `account:write` | Update Campaign Generation Settings |
38
+ | [`updateComplianceSettings`](#op-updatecompliancesettings) | `PUT /api/v1/org/settings/compliance` | write | `account:write` | Update Compliance Settings |
39
+ | [`updateContentSources`](#op-updatecontentsources) | `PUT /api/v1/org/content-sources` | write | `account:write` | Update Content Sources |
40
+ | [`updateDocFolderTemplate`](#op-updatedocfoldertemplate) | `PUT /api/v1/org/settings/docs/folders/{scope}` | write | `account:write` | Update Doc Folder Template |
41
+ | [`updateDocSettings`](#op-updatedocsettings) | `PUT /api/v1/org/settings/docs/{scope}` | write | `account:write` | Update Doc Settings |
42
+ | [`updateDocumentPrioritySettings`](#op-updatedocumentprioritysettings) | `PUT /api/v1/org/settings/document-priority` | write | `account:write` | Update Document Priority Settings |
43
+ | [`updateLeadQualificationSettings`](#op-updateleadqualificationsettings) | `PUT /api/v1/org/settings/lead-qualification` | write | `account:write` | Update Lead Qualification Settings |
44
+ | [`updateMeetingExtractionSettings`](#op-updatemeetingextractionsettings) | `PUT /api/v1/org/settings/docs/meetings` | write | `account:write` | Update Meeting Extraction Settings |
45
+ | [`updateOrgSettings`](#op-updateorgsettings) | `PUT /api/v1/org/settings` | write | `account:write` | Update Org Settings |
46
+ | [`updateTaskSettings`](#op-updatetasksettings) | `PUT /api/v1/org/settings/tasks` | write | `account:write` | Update Task Settings |
47
+
48
+ ---
49
+
50
+ <a id="op-getcampaigngenerationsettings"></a>
51
+
52
+ ### `g8.api.organizationSettings.getCampaignGenerationSettings(input?)`
53
+
54
+ **Get Campaign Generation Settings**
55
+
56
+ - HTTP: `GET /api/v1/org/settings/campaign-generation`
57
+ - operationId: `get_campaign_generation_settings_org_settings_campaign_generation_get` (also callable as `g8.api.call("get_campaign_generation_settings_org_settings_campaign_generation_get", input)`)
58
+ - Tier: `read`: reads data; safe to call and to retry
59
+ - API-key scope: `account:read`
60
+
61
+ Whether a new campaign auto-generates a landing page and ad images.
62
+
63
+ Worth reading before `POST /campaigns`: these decide what that call
64
+ produces beyond the campaign itself, and both cost generation time.
65
+
66
+ **Input**: none.
67
+
68
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
69
+
70
+ Other envelope fields: `pagination` (PaginationMeta).
71
+
72
+ **Example**
73
+
74
+ ```ts
75
+ const result = await g8.api.organizationSettings.getCampaignGenerationSettings();
76
+ ```
77
+
78
+ ---
79
+
80
+ <a id="op-getcompliancesettings"></a>
81
+
82
+ ### `g8.api.organizationSettings.getComplianceSettings(input?)`
83
+
84
+ **Get Compliance Settings**
85
+
86
+ - HTTP: `GET /api/v1/org/settings/compliance`
87
+ - operationId: `get_compliance_settings_org_settings_compliance_get` (also callable as `g8.api.call("get_compliance_settings_org_settings_compliance_get", input)`)
88
+ - Tier: `read`: reads data; safe to call and to retry
89
+ - API-key scope: `account:read`
90
+
91
+ Which certifications this organisation claims, and the supported list.
92
+
93
+ Generated content cites these. A certification switched on here is one the
94
+ product will assert to a prospect, so the write side is admin-gated twice.
95
+
96
+ **Input**: none.
97
+
98
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
99
+
100
+ Other envelope fields: `pagination` (PaginationMeta).
101
+
102
+ **Example**
103
+
104
+ ```ts
105
+ const result = await g8.api.organizationSettings.getComplianceSettings();
106
+ ```
107
+
108
+ ---
109
+
110
+ <a id="op-getcontentsources"></a>
111
+
112
+ ### `g8.api.organizationSettings.getContentSources(input?)`
113
+
114
+ **Get Content Sources**
115
+
116
+ - HTTP: `GET /api/v1/org/content-sources`
117
+ - operationId: `get_content_sources_org_content_sources_get` (also callable as `g8.api.call("get_content_sources_org_content_sources_get", input)`)
118
+ - Tier: `read`: reads data; safe to call and to retry
119
+ - API-key scope: `account:read`
120
+
121
+ The properties this organisation owns, and the channels it posts to.
122
+
123
+ What intelligence gathering and content generation read as "us". The one
124
+ source flagged `primary` is mirrored to the org's primary website, which is
125
+ the domain most of Studio is generated against.
126
+
127
+ **Input**: none.
128
+
129
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
130
+
131
+ Other envelope fields: `pagination` (PaginationMeta).
132
+
133
+ **Example**
134
+
135
+ ```ts
136
+ const result = await g8.api.organizationSettings.getContentSources();
137
+ ```
138
+
139
+ ---
140
+
141
+ <a id="op-getdocfoldertemplate"></a>
142
+
143
+ ### `g8.api.organizationSettings.getDocFolderTemplate(input)`
144
+
145
+ **Get Doc Folder Template**
146
+
147
+ - HTTP: `GET /api/v1/org/settings/docs/folders/{scope}`
148
+ - operationId: `get_doc_folder_template_org_settings_docs_folders__scope__get` (also callable as `g8.api.call("get_doc_folder_template_org_settings_docs_folders__scope__get", input)`)
149
+ - Tier: `read`: reads data; safe to call and to retry
150
+ - API-key scope: `account:read`
151
+
152
+ The folder tree new documents for this scope are filed into.
153
+
154
+ **Input**
155
+
156
+ | Field | Type | Required | Description |
157
+ |---|---|---|---|
158
+ | `path.scope` | `"companies" \| "accounts" \| "prospects" \| "contacts" \| "campaigns" \| "global"` | yes | Which record type's folder tree. `accounts` is the canonical company template; `companies` is accepted as its synonym. |
159
+
160
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
161
+
162
+ Other envelope fields: `pagination` (PaginationMeta).
163
+
164
+ **Example**
165
+
166
+ ```ts
167
+ const result = await g8.api.organizationSettings.getDocFolderTemplate({ path: { scope: "companies" } });
168
+ ```
169
+
170
+ ---
171
+
172
+ <a id="op-getdocsettings"></a>
173
+
174
+ ### `g8.api.organizationSettings.getDocSettings(input?)`
175
+
176
+ **Get Doc Settings**
177
+
178
+ - HTTP: `GET /api/v1/org/settings/docs`
179
+ - operationId: `get_doc_settings_org_settings_docs_get` (also callable as `g8.api.call("get_doc_settings_org_settings_docs_get", input)`)
180
+ - Tier: `read`: reads data; safe to call and to retry
181
+ - API-key scope: `account:read`
182
+
183
+ Which documents are generated by default, for every scope at once.
184
+
185
+ The source of the `default_doc_ids` a contact, account, prospect, campaign
186
+ or global generation starts from. `mandatory_doc_ids` are the ones a user
187
+ cannot switch off in the UI.
188
+
189
+ **Input**: none.
190
+
191
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
192
+
193
+ Other envelope fields: `pagination` (PaginationMeta).
194
+
195
+ **Example**
196
+
197
+ ```ts
198
+ const result = await g8.api.organizationSettings.getDocSettings();
199
+ ```
200
+
201
+ ---
202
+
203
+ <a id="op-getdocumentprioritysettings"></a>
204
+
205
+ ### `g8.api.organizationSettings.getDocumentPrioritySettings(input?)`
206
+
207
+ **Get Document Priority Settings**
208
+
209
+ - HTTP: `GET /api/v1/org/settings/document-priority`
210
+ - operationId: `get_document_priority_settings_org_settings_document_priority_get` (also callable as `g8.api.call("get_document_priority_settings_org_settings_document_priority_get", input)`)
211
+ - Tier: `read`: reads data; safe to call and to retry
212
+ - API-key scope: `account:read`
213
+
214
+ Default priority for uploaded and for AI-generated documents.
215
+
216
+ Priority decides which document wins when two say different things, so
217
+ this is the tie-break rule the whole library is read through.
218
+
219
+ **Input**: none.
220
+
221
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
222
+
223
+ Other envelope fields: `pagination` (PaginationMeta).
224
+
225
+ **Example**
226
+
227
+ ```ts
228
+ const result = await g8.api.organizationSettings.getDocumentPrioritySettings();
229
+ ```
230
+
231
+ ---
232
+
233
+ <a id="op-getleadqualificationbackfillstatus"></a>
234
+
235
+ ### `g8.api.organizationSettings.getLeadQualificationBackfillStatus(input?)`
236
+
237
+ **Get Lead Qualification Backfill Status**
238
+
239
+ - HTTP: `GET /api/v1/org/settings/lead-qualification/backfill-status`
240
+ - operationId: `get_lead_qualification_backfill_status_org_settings_lead_qualification_backfill_status_get` (also callable as `g8.api.call("get_lead_qualification_backfill_status_org_settings_lead_qualification_backfill_status_get", input)`)
241
+ - Tier: `read`: reads data; safe to call and to retry
242
+ - API-key scope: `account:read`
243
+
244
+ Progress of the backfill job for this organisation.
245
+
246
+ **Input**: none.
247
+
248
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
249
+
250
+ Other envelope fields: `pagination` (PaginationMeta).
251
+
252
+ **Example**
253
+
254
+ ```ts
255
+ const result = await g8.api.organizationSettings.getLeadQualificationBackfillStatus();
256
+ ```
257
+
258
+ ---
259
+
260
+ <a id="op-getleadqualificationsettings"></a>
261
+
262
+ ### `g8.api.organizationSettings.getLeadQualificationSettings(input?)`
263
+
264
+ **Get Lead Qualification Settings**
265
+
266
+ - HTTP: `GET /api/v1/org/settings/lead-qualification`
267
+ - operationId: `get_lead_qualification_settings_org_settings_lead_qualification_get` (also callable as `g8.api.call("get_lead_qualification_settings_org_settings_lead_qualification_get", input)`)
268
+ - Tier: `read`: reads data; safe to call and to retry
269
+ - API-key scope: `account:read`
270
+
271
+ Which visitor events turn into a qualified lead, and on which pages.
272
+
273
+ **Input**: none.
274
+
275
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
276
+
277
+ Other envelope fields: `pagination` (PaginationMeta).
278
+
279
+ **Example**
280
+
281
+ ```ts
282
+ const result = await g8.api.organizationSettings.getLeadQualificationSettings();
283
+ ```
284
+
285
+ ---
286
+
287
+ <a id="op-getmeetingextractionsettings"></a>
288
+
289
+ ### `g8.api.organizationSettings.getMeetingExtractionSettings(input?)`
290
+
291
+ **Get Meeting Extraction Settings**
292
+
293
+ - HTTP: `GET /api/v1/org/settings/docs/meetings`
294
+ - operationId: `get_meeting_extraction_settings_org_settings_docs_meetings_get` (also callable as `g8.api.call("get_meeting_extraction_settings_org_settings_docs_meetings_get", input)`)
295
+ - Tier: `read`: reads data; safe to call and to retry
296
+ - API-key scope: `account:read`
297
+
298
+ How a meeting transcript is read: grounding, fields, glossary.
299
+
300
+ `meeting_grounding` is what tells the extractor which attendees are YOURS -
301
+ the canonical company name, the internal email domains and the brand
302
+ aliases. Get it wrong and every meeting is classified as external.
303
+
304
+ **Input**: none.
305
+
306
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
307
+
308
+ Other envelope fields: `pagination` (PaginationMeta).
309
+
310
+ **Example**
311
+
312
+ ```ts
313
+ const result = await g8.api.organizationSettings.getMeetingExtractionSettings();
314
+ ```
315
+
316
+ ---
317
+
318
+ <a id="op-getorgsettings"></a>
319
+
320
+ ### `g8.api.organizationSettings.getOrgSettings(input?)`
321
+
322
+ **Get Org Settings**
323
+
324
+ - HTTP: `GET /api/v1/org/settings`
325
+ - operationId: `get_org_settings_org_settings_get` (also callable as `g8.api.call("get_org_settings_org_settings_get", input)`)
326
+ - Tier: `read`: reads data; safe to call and to retry
327
+ - API-key scope: `account:read`
328
+
329
+ The organisation's name, auto-join domain and signup URL.
330
+
331
+ `email_domain` is the auto-join domain: anyone signing up with an address
332
+ at it joins THIS organisation with no invite. Read it before you trust the
333
+ org's membership to be invite-only.
334
+
335
+ **Input**: none.
336
+
337
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
338
+
339
+ Other envelope fields: `pagination` (PaginationMeta).
340
+
341
+ **Example**
342
+
343
+ ```ts
344
+ const result = await g8.api.organizationSettings.getOrgSettings();
345
+ ```
346
+
347
+ ---
348
+
349
+ <a id="op-gettasksettings"></a>
350
+
351
+ ### `g8.api.organizationSettings.getTaskSettings(input?)`
352
+
353
+ **Get Task Settings**
354
+
355
+ - HTTP: `GET /api/v1/org/settings/tasks`
356
+ - operationId: `get_task_settings_org_settings_tasks_get` (also callable as `g8.api.call("get_task_settings_org_settings_tasks_get", input)`)
357
+ - Tier: `read`: reads data; safe to call and to retry
358
+ - API-key scope: `account:read`
359
+
360
+ Default task visibility, and the note-taking toggles beside it.
361
+
362
+ **Input**: none.
363
+
364
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
365
+
366
+ Other envelope fields: `pagination` (PaginationMeta).
367
+
368
+ **Example**
369
+
370
+ ```ts
371
+ const result = await g8.api.organizationSettings.getTaskSettings();
372
+ ```
373
+
374
+ ---
375
+
376
+ <a id="op-triggerleadqualificationbackfill"></a>
377
+
378
+ ### `g8.api.organizationSettings.triggerLeadQualificationBackfill(input?)`
379
+
380
+ **Trigger Lead Qualification Backfill**
381
+
382
+ - HTTP: `POST /api/v1/org/settings/lead-qualification/backfill`
383
+ - operationId: `trigger_lead_qualification_backfill_org_settings_lead_qualification_backfill_post` (also callable as `g8.api.call("trigger_lead_qualification_backfill_org_settings_lead_qualification_backfill_post", input)`)
384
+ - Tier: `write`: creates or changes records; the SDK sends an Idempotency-Key and retries transient failures
385
+ - API-key scope: `account:write`
386
+
387
+ Queue a backfill over every enabled signal group, last 30 days.
388
+
389
+ CREATES LEAD RECORDS from traffic that already happened. Asynchronous -
390
+ poll `GET /org/settings/lead-qualification/backfill-status` for progress.
391
+ The 30-day window is the app's and is not a parameter.
392
+
393
+ **Input**: none.
394
+
395
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
396
+
397
+ Other envelope fields: `pagination` (PaginationMeta).
398
+
399
+ **Example**
400
+
401
+ ```ts
402
+ const result = await g8.api.organizationSettings.triggerLeadQualificationBackfill();
403
+ ```
404
+
405
+ ---
406
+
407
+ <a id="op-updatecampaigngenerationsettings"></a>
408
+
409
+ ### `g8.api.organizationSettings.updateCampaignGenerationSettings(input)`
410
+
411
+ **Update Campaign Generation Settings**
412
+
413
+ - HTTP: `PUT /api/v1/org/settings/campaign-generation`
414
+ - operationId: `update_campaign_generation_settings_org_settings_campaign_generation_put` (also callable as `g8.api.call("update_campaign_generation_settings_org_settings_campaign_generation_put", input)`)
415
+ - Tier: `write`: creates or changes records; the SDK sends an Idempotency-Key and retries transient failures
416
+ - API-key scope: `account:write`
417
+
418
+ Set the campaign generation toggles.
419
+
420
+ BOTH default to true, so an empty body turns both ON. A partial body is
421
+ not a partial update here.
422
+
423
+ **Input**
424
+
425
+ | Field | Type | Required | Description |
426
+ |---|---|---|---|
427
+ | `body` | `CampaignGenerationUpdateRequest` | yes | Request body; fields below. |
428
+
429
+ Body fields (`CampaignGenerationUpdateRequest`):
430
+
431
+ | Field | Type | Required | Description |
432
+ |---|---|---|---|
433
+ | `body.auto_generate_ad_images` | `boolean` | no | Generate ad images alongside a new campaign. default `true` |
434
+ | `body.auto_generate_landing_page` | `boolean` | no | Generate a landing page alongside a new campaign. default `true` |
435
+
436
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
437
+
438
+ Other envelope fields: `pagination` (PaginationMeta).
439
+
440
+ **Example**
441
+
442
+ ```ts
443
+ const result = await g8.api.organizationSettings.updateCampaignGenerationSettings({ body: {} });
444
+ ```
445
+
446
+ ---
447
+
448
+ <a id="op-updatecompliancesettings"></a>
449
+
450
+ ### `g8.api.organizationSettings.updateComplianceSettings(input)`
451
+
452
+ **Update Compliance Settings**
453
+
454
+ - HTTP: `PUT /api/v1/org/settings/compliance`
455
+ - operationId: `update_compliance_settings_org_settings_compliance_put` (also callable as `g8.api.call("update_compliance_settings_org_settings_compliance_put", input)`)
456
+ - Tier: `write`: creates or changes records; the SDK sends an Idempotency-Key and retries transient failures
457
+ - API-key scope: `account:write`
458
+
459
+ Patch certification status, keyed by certification id.
460
+
461
+ PARTIAL: only the ids you send are touched. An id the product does not
462
+ support is IGNORED rather than rejected - that is the app's behaviour, so
463
+ read the response back rather than assuming the write landed.
464
+
465
+ **Input**
466
+
467
+ | Field | Type | Required | Description |
468
+ |---|---|---|---|
469
+ | `body` | `ComplianceSettingsUpdateRequest` | yes | Request body; fields below. |
470
+
471
+ Body fields (`ComplianceSettingsUpdateRequest`):
472
+
473
+ | Field | Type | Required | Description |
474
+ |---|---|---|---|
475
+ | `body.certifications` | `Record<string, ComplianceCertification>` | yes | Certification id -> status. Unknown ids are ignored by the server. |
476
+
477
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
478
+
479
+ Other envelope fields: `pagination` (PaginationMeta).
480
+
481
+ **Example**
482
+
483
+ ```ts
484
+ const result = await g8.api.organizationSettings.updateComplianceSettings({ body: { certifications: {} } });
485
+ ```
486
+
487
+ ---
488
+
489
+ <a id="op-updatecontentsources"></a>
490
+
491
+ ### `g8.api.organizationSettings.updateContentSources(input)`
492
+
493
+ **Update Content Sources**
494
+
495
+ - HTTP: `PUT /api/v1/org/content-sources`
496
+ - operationId: `update_content_sources_org_content_sources_put` (also callable as `g8.api.call("update_content_sources_org_content_sources_put", input)`)
497
+ - Tier: `write`: creates or changes records; the SDK sends an Idempotency-Key and retries transient failures
498
+ - API-key scope: `account:write`
499
+
500
+ REPLACE the content sources. Anything omitted is deleted.
501
+
502
+ At most one owned source may be `primary`, and setting it moves the org's
503
+ primary website - which changes what future Studio documents are generated
504
+ about. That is the widest side effect on this route.
505
+
506
+ **Input**
507
+
508
+ | Field | Type | Required | Description |
509
+ |---|---|---|---|
510
+ | `body` | `ContentSourcesUpdateRequest` | yes | Request body; fields below. |
511
+
512
+ Body fields (`ContentSourcesUpdateRequest`):
513
+
514
+ | Field | Type | Required | Description |
515
+ |---|---|---|---|
516
+ | `body.sources` | `Array<ContentSourceItem>` | yes | The complete set of content sources. Anything omitted is deleted. |
517
+
518
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
519
+
520
+ Other envelope fields: `pagination` (PaginationMeta).
521
+
522
+ **Example**
523
+
524
+ ```ts
525
+ const result = await g8.api.organizationSettings.updateContentSources({
526
+ body: { sources: [{ type: "website", url: "https://example.com" }] },
527
+ });
528
+ ```
529
+
530
+ ---
531
+
532
+ <a id="op-updatedocfoldertemplate"></a>
533
+
534
+ ### `g8.api.organizationSettings.updateDocFolderTemplate(input)`
535
+
536
+ **Update Doc Folder Template**
537
+
538
+ - HTTP: `PUT /api/v1/org/settings/docs/folders/{scope}`
539
+ - operationId: `update_doc_folder_template_org_settings_docs_folders__scope__put` (also callable as `g8.api.call("update_doc_folder_template_org_settings_docs_folders__scope__put", input)`)
540
+ - Tier: `write`: creates or changes records; the SDK sends an Idempotency-Key and retries transient failures
541
+ - API-key scope: `account:write`
542
+
543
+ Replace the folder tree for this scope.
544
+
545
+ REPLACES. A folder missing from the body is removed from the template -
546
+ existing documents keep their path, but nothing new is filed there.
547
+
548
+ **Input**
549
+
550
+ | Field | Type | Required | Description |
551
+ |---|---|---|---|
552
+ | `path.scope` | `"companies" \| "accounts" \| "prospects" \| "contacts" \| "campaigns" \| "global"` | yes | Which record type's folder tree. `accounts` is the canonical company template; `companies` is accepted as its synonym. |
553
+ | `body` | `FolderTemplateUpdateRequest` | yes | Request body; fields below. |
554
+
555
+ Body fields (`FolderTemplateUpdateRequest`):
556
+
557
+ | Field | Type | Required | Description |
558
+ |---|---|---|---|
559
+ | `body.folders` | `Array<FolderTemplateItem>` | no | The complete folder template. Anything omitted is removed. |
560
+
561
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
562
+
563
+ Other envelope fields: `pagination` (PaginationMeta).
564
+
565
+ **Example**
566
+
567
+ ```ts
568
+ const result = await g8.api.organizationSettings.updateDocFolderTemplate({ path: { scope: "companies" }, body: {} });
569
+ ```
570
+
571
+ ---
572
+
573
+ <a id="op-updatedocsettings"></a>
574
+
575
+ ### `g8.api.organizationSettings.updateDocSettings(input)`
576
+
577
+ **Update Doc Settings**
578
+
579
+ - HTTP: `PUT /api/v1/org/settings/docs/{scope}`
580
+ - operationId: `update_doc_settings_org_settings_docs__scope__put` (also callable as `g8.api.call("update_doc_settings_org_settings_docs__scope__put", input)`)
581
+ - Tier: `write`: creates or changes records; the SDK sends an Idempotency-Key and retries transient failures
582
+ - API-key scope: `account:write`
583
+
584
+ Set the default documents for ONE scope.
585
+
586
+ `mandatory_doc_ids` omitted leaves the current mandatory set alone; sending
587
+ an empty list CLEARS it. The two are different instructions and only one is
588
+ destructive.
589
+
590
+ **Input**
591
+
592
+ | Field | Type | Required | Description |
593
+ |---|---|---|---|
594
+ | `path.scope` | `"contacts" \| "accounts" \| "prospects" \| "campaigns" \| "global"` | yes | Which generation scope these defaults apply to. |
595
+ | `body` | `DocSettingsUpdateRequest` | yes | Request body; fields below. |
596
+
597
+ Body fields (`DocSettingsUpdateRequest`):
598
+
599
+ | Field | Type | Required | Description |
600
+ |---|---|---|---|
601
+ | `body.default_doc_ids` | `Array<string>` | yes | Document type ids generated by default for this scope. |
602
+ | `body.mandatory_doc_ids` | `Array<string> \| null` | no | Document type ids a user cannot uncheck. Omit to leave the current set unchanged; send an empty list to clear it. |
603
+
604
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
605
+
606
+ Other envelope fields: `pagination` (PaginationMeta).
607
+
608
+ **Example**
609
+
610
+ ```ts
611
+ const result = await g8.api.organizationSettings.updateDocSettings({ path: { scope: "contacts" }, body: { default_doc_ids: ["id"] } });
612
+ ```
613
+
614
+ ---
615
+
616
+ <a id="op-updatedocumentprioritysettings"></a>
617
+
618
+ ### `g8.api.organizationSettings.updateDocumentPrioritySettings(input)`
619
+
620
+ **Update Document Priority Settings**
621
+
622
+ - HTTP: `PUT /api/v1/org/settings/document-priority`
623
+ - operationId: `update_document_priority_settings_org_settings_document_priority_put` (also callable as `g8.api.call("update_document_priority_settings_org_settings_document_priority_put", input)`)
624
+ - Tier: `write`: creates or changes records; the SDK sends an Idempotency-Key and retries transient failures
625
+ - API-key scope: `account:write`
626
+
627
+ Set the default document priorities.
628
+
629
+ BOTH fields have defaults, so a partial body RESETS the one you left out.
630
+ Send both.
631
+
632
+ **Input**
633
+
634
+ | Field | Type | Required | Description |
635
+ |---|---|---|---|
636
+ | `body` | `DocumentPriorityUpdateRequest` | yes | Request body; fields below. |
637
+
638
+ Body fields (`DocumentPriorityUpdateRequest`):
639
+
640
+ | Field | Type | Required | Description |
641
+ |---|---|---|---|
642
+ | `body.default_generated_priority` | `"high" \| "medium" \| "low"` | no | Priority assigned to AI-generated documents. default `"medium"` |
643
+ | `body.default_upload_priority` | `"high" \| "medium" \| "low"` | no | Priority assigned to user-uploaded documents. default `"high"` |
644
+
645
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
646
+
647
+ Other envelope fields: `pagination` (PaginationMeta).
648
+
649
+ **Example**
650
+
651
+ ```ts
652
+ const result = await g8.api.organizationSettings.updateDocumentPrioritySettings({ body: {} });
653
+ ```
654
+
655
+ ---
656
+
657
+ <a id="op-updateleadqualificationsettings"></a>
658
+
659
+ ### `g8.api.organizationSettings.updateLeadQualificationSettings(input)`
660
+
661
+ **Update Lead Qualification Settings**
662
+
663
+ - HTTP: `PUT /api/v1/org/settings/lead-qualification`
664
+ - operationId: `update_lead_qualification_settings_org_settings_lead_qualification_put` (also callable as `g8.api.call("update_lead_qualification_settings_org_settings_lead_qualification_put", input)`)
665
+ - Tier: `write`: creates or changes records; the SDK sends an Idempotency-Key and retries transient failures
666
+ - API-key scope: `account:write`
667
+
668
+ Update lead qualification. Partial - omitted fields are left alone.
669
+
670
+ `backfill=true` is the dangerous half: it walks the last 30 days of traffic
671
+ and creates leads from every event you just switched on. Do it deliberately,
672
+ or leave it false and use `POST .../lead-qualification/backfill` once you
673
+ are happy with the settings.
674
+
675
+ **Input**
676
+
677
+ | Field | Type | Required | Description |
678
+ |---|---|---|---|
679
+ | `body` | `LeadQualificationSettingsUpdateRequest` | yes | Request body; fields below. |
680
+ | `query.backfill` | `boolean` | no | Also create leads from newly-enabled events in the last 30 days. This CREATES RECORDS for traffic that already happened - it is not a dry run, and there is no undo. default `false` |
681
+
682
+ Body fields (`LeadQualificationSettingsUpdateRequest`):
683
+
684
+ | Field | Type | Required | Description |
685
+ |---|---|---|---|
686
+ | `body.custom_page_patterns` | `Array<string> \| null` | no | Extra URL patterns that count as a high-intent page view. |
687
+ | `body.event_groups` | `Record<string, Record<string, boolean>> \| null` | no | Signal group -> event name -> enabled. |
688
+ | `body.page_patterns` | `Record<string, Array<string>> \| null` | no | Signal group -> URL patterns. |
689
+ | `body.qualification_enabled` | `boolean \| null` | no | Master switch for turning visitor events into qualified leads. |
690
+
691
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
692
+
693
+ Other envelope fields: `pagination` (PaginationMeta).
694
+
695
+ **Example**
696
+
697
+ ```ts
698
+ const result = await g8.api.organizationSettings.updateLeadQualificationSettings({ body: {} });
699
+ ```
700
+
701
+ ---
702
+
703
+ <a id="op-updatemeetingextractionsettings"></a>
704
+
705
+ ### `g8.api.organizationSettings.updateMeetingExtractionSettings(input)`
706
+
707
+ **Update Meeting Extraction Settings**
708
+
709
+ - HTTP: `PUT /api/v1/org/settings/docs/meetings`
710
+ - operationId: `update_meeting_extraction_settings_org_settings_docs_meetings_put` (also callable as `g8.api.call("update_meeting_extraction_settings_org_settings_docs_meetings_put", input)`)
711
+ - Tier: `write`: creates or changes records; the SDK sends an Idempotency-Key and retries transient failures
712
+ - API-key scope: `account:write`
713
+
714
+ Replace the meeting extraction settings.
715
+
716
+ Declared BEFORE `PUT /org/settings/docs/{scope}`: the other way round the
717
+ parameter route matches first, binds `scope` to "meetings", and the Literal
718
+ rejects it - a 422 on a route that exists.
719
+
720
+ Every block defaults to EMPTY, so omitting one is not the same as leaving
721
+ it alone. Read the current settings, change what you need, send the whole
722
+ object back.
723
+
724
+ **Input**
725
+
726
+ | Field | Type | Required | Description |
727
+ |---|---|---|---|
728
+ | `body` | `MeetingExtractionSettingsUpdateRequest` | yes | Request body; fields below. |
729
+
730
+ Body fields (`MeetingExtractionSettingsUpdateRequest`):
731
+
732
+ | Field | Type | Required | Description |
733
+ |---|---|---|---|
734
+ | `body.customer` | `MeetingExtractionScopeSettings` | no | Meetings with an existing customer. |
735
+ | `body.internal` | `MeetingExtractionScopeSettings` | no | Internal meetings - every attendee is on an internal domain. |
736
+ | `body.meeting_grounding` | `MeetingGroundingSettings` | no | Company identity the extractor grounds on: canonical name, internal domains, aliases. |
737
+ | `body.prospect` | `MeetingExtractionScopeSettings` | no | Meetings with a prospect. |
738
+ | `body.shared` | `MeetingExtractionScopeSettings` | no | Applied to every meeting, on top of the per-scope block. |
739
+
740
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
741
+
742
+ Other envelope fields: `pagination` (PaginationMeta).
743
+
744
+ **Example**
745
+
746
+ ```ts
747
+ const result = await g8.api.organizationSettings.updateMeetingExtractionSettings({ body: {} });
748
+ ```
749
+
750
+ ---
751
+
752
+ <a id="op-updateorgsettings"></a>
753
+
754
+ ### `g8.api.organizationSettings.updateOrgSettings(input)`
755
+
756
+ **Update Org Settings**
757
+
758
+ - HTTP: `PUT /api/v1/org/settings`
759
+ - operationId: `update_org_settings_org_settings_put` (also callable as `g8.api.call("update_org_settings_org_settings_put", input)`)
760
+ - Tier: `write`: creates or changes records; the SDK sends an Idempotency-Key and retries transient failures
761
+ - API-key scope: `account:write`
762
+
763
+ Rename the organisation, or set its auto-join email domain.
764
+
765
+ SETTING `email_domain` WIDENS WHO CAN JOIN. Anyone who signs up with an
766
+ address at that domain becomes a member without an invite. Admin-gated, and
767
+ the handler re-checks the caller's org role on top.
768
+
769
+ The rename happens FIRST and against PropelAuth, so a rejected name aborts
770
+ the whole update rather than half-applying it.
771
+
772
+ **Input**
773
+
774
+ | Field | Type | Required | Description |
775
+ |---|---|---|---|
776
+ | `body` | `OrgSettingsUpdateRequest` | yes | Request body; fields below. |
777
+
778
+ Body fields (`OrgSettingsUpdateRequest`):
779
+
780
+ | Field | Type | Required | Description |
781
+ |---|---|---|---|
782
+ | `body.email_domain` | `string \| null` | no | Email domain for auto-join signup (e.g. `graph8.com`). Anyone who signs up with an address at this domain joins this organization with no invite. Normalised: scheme, `www.` and trailing slash are stripped and the value is lowercased. |
783
+ | `body.org_name` | `string \| null` | no | Organization display name. PropelAuth owns it; a rejected rename aborts the whole update. |
784
+
785
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
786
+
787
+ Other envelope fields: `pagination` (PaginationMeta).
788
+
789
+ **Example**
790
+
791
+ ```ts
792
+ const result = await g8.api.organizationSettings.updateOrgSettings({ body: {} });
793
+ ```
794
+
795
+ ---
796
+
797
+ <a id="op-updatetasksettings"></a>
798
+
799
+ ### `g8.api.organizationSettings.updateTaskSettings(input)`
800
+
801
+ **Update Task Settings**
802
+
803
+ - HTTP: `PUT /api/v1/org/settings/tasks`
804
+ - operationId: `update_task_settings_org_settings_tasks_put` (also callable as `g8.api.call("update_task_settings_org_settings_tasks_put", input)`)
805
+ - Tier: `write`: creates or changes records; the SDK sends an Idempotency-Key and retries transient failures
806
+ - API-key scope: `account:write`
807
+
808
+ Set the org's default task visibility and note-taking toggles.
809
+
810
+ `default_visibility` is a privilege-sensitive setting: moving it to
811
+ `public` exposes every task created afterwards to the whole organisation.
812
+ Admin-gated, and the handler re-checks the role.
813
+
814
+ An EMPTY patch is refused (422) rather than no-opped, because an empty body
815
+ on this route is always a caller bug.
816
+
817
+ **Input**
818
+
819
+ | Field | Type | Required | Description |
820
+ |---|---|---|---|
821
+ | `body` | `TaskSettingsUpdateRequest` | yes | Request body; fields below. |
822
+
823
+ Body fields (`TaskSettingsUpdateRequest`):
824
+
825
+ | Field | Type | Required | Description |
826
+ |---|---|---|---|
827
+ | `body.default_visibility` | `"public" \| "team" \| "private" \| null` | no | Default visibility for newly created tasks. |
828
+ | `body.mentions_enabled` | `boolean \| null` | no | When false, hide @ autocomplete in note and reply composers. |
829
+ | `body.notes_anywhere_enabled` | `boolean \| null` | no | When false, hide the global Quick Note shortcut and its command-palette action. |
830
+ | `body.notify_on_mention` | `boolean \| null` | no | When false, suppress mention-triggered bell notifications. |
831
+ | `body.parent_completion_mode` | `"manual" \| "auto_complete" \| "require_subtasks_done" \| null` | no | How a parent task completes relative to its subtasks. |
832
+ | `body.selection_toolbar_enabled` | `boolean \| null` | no | When false, hide the floating 'Add note' bubble on text selection. |
833
+
834
+ **Returns** `ApiResponse_StudioPayload_`: the envelope `{ data: StudioPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
835
+
836
+ Other envelope fields: `pagination` (PaginationMeta).
837
+
838
+ **Example**
839
+
840
+ ```ts
841
+ const result = await g8.api.organizationSettings.updateTaskSettings({ body: {} });
842
+ ```
843
+
844
+ ---
845
+
846
+ ## Referenced types
847
+
848
+ Named types that appear in the tables above. Full TypeScript definitions: `G8Contract.<Name>` (`import type { G8Contract } from "@graph8/sdk"`).
849
+
850
+ <a id="type-compliancecertification"></a>
851
+
852
+ ### `ComplianceCertification`
853
+
854
+ Mirrors `campaign_builder.routers.org_settings.CertificationStatus`.
855
+
856
+ | Field | Type | Required | Description |
857
+ |---|---|---|---|
858
+ | `achieved_date` | `string \| null` | no | Date the certification was achieved (YYYY-MM-DD). |
859
+ | `enabled` | `boolean` | no | Whether the organization holds this certification. default `false` |
860
+ | `report_doc_id` | `string \| null` | no | Library document id for the uploaded report or certificate. |
861
+
862
+ <a id="type-contentsourceitem"></a>
863
+
864
+ ### `ContentSourceItem`
865
+
866
+ Mirrors `campaign_builder.routers.org_settings.ContentSourceItem`. `extra="forbid"` matches the app: a typo'd key on a content source is a silently ignored instruction otherwise, and the list is REPLACED wholesale on every write, so a dropped key is a dropped source.
867
+
868
+ | Field | Type | Required | Description |
869
+ |---|---|---|---|
870
+ | `type` | `"website" \| "blog" \| "docs" \| "developers" \| "linkedin" \| "reddit" \| "twitter"` | yes | `website`/`blog`/`docs`/`developers` are properties you OWN; `linkedin`/`reddit`/`twitter` are external channels. |
871
+ | `url` | `string` | yes | Full URL - the site URL for an owned property, the profile URL for an external channel. |
872
+ | `primary` | `boolean` | no | Owned types only. The single primary website, mirrored to the org's `primary_website_url`. At most one source may set it. default `false` |
873
+
874
+ <a id="type-foldertemplateitem"></a>
875
+
876
+ ### `FolderTemplateItem`
877
+
878
+ Mirrors `campaign_builder.schemas.settings.ClientFolderTemplateItem`.
879
+
880
+ | Field | Type | Required | Description |
881
+ |---|---|---|---|
882
+ | `key` | `string` | yes | Stable key used for mapping (e.g. `transcripts`). |
883
+ | `name` | `string` | yes | Display name in the folder tree. |
884
+ | `description` | `string \| null` | no | Optional helper text. |
885
+ | `locked` | `boolean` | no | When true the folder cannot be renamed or removed. default `false` |
886
+
887
+ <a id="type-meetingextractionscopesettings"></a>
888
+
889
+ ### `MeetingExtractionScopeSettings`
890
+
891
+ Transcript extraction settings for one meeting scope.
892
+
893
+ | Field | Type | Required | Description |
894
+ |---|---|---|---|
895
+ | `custom_fields` | `Array<MeetingExtractionCustomField>` | no | Org-defined custom fields to extract |
896
+ | `custom_terms` | `Array<MeetingExtractionGlossaryTerm>` | no | Vocabulary terms, acronyms, and product names to recognize |
897
+ | `extract_fields` | `Array<string>` | no | Structured outputs that should always be extracted |
898
+ | `listen_for` | `Array<string>` | no | Signals and topics the extractor should prioritize |
899
+
900
+ <a id="type-meetinggroundingsettings"></a>
901
+
902
+ ### `MeetingGroundingSettings`
903
+
904
+ Org-level grounding facts used to interpret meeting participants and transcript wording.
905
+
906
+ | Field | Type | Required | Description |
907
+ |---|---|---|---|
908
+ | `brand_aliases` | `Array<MeetingGroundingAlias>` | no | Known brand, alias, or product names that resolve to canonical entities |
909
+ | `canonical_company_name` | `string` | no | Canonical internal company name that should be used in summaries and task interpretation default `""` |
910
+ | `internal_domains` | `Array<string>` | no | Email domains that identify internal attendees |
911
+ | `participant_rules` | `Array<string>` | no | Rules that explain how participant and domain evidence should be interpreted |