@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.
- package/README.md +9 -2
- package/dist/cli.js +216 -0
- package/dist/index.d.mts +105 -7
- package/dist/index.d.ts +105 -7
- package/dist/index.js +44 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +44 -3
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.mts +103 -7
- package/dist/react.d.ts +103 -7
- package/dist/react.js +62 -11
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +53 -12
- package/dist/react.mjs.map +1 -1
- package/dist/types/README.md +7 -0
- package/dist/types/agency.d.ts +20 -0
- package/dist/types/agentSetup.d.ts +57 -0
- package/dist/types/api.d.ts +127 -0
- package/dist/types/appClient.d.ts +99 -0
- package/dist/types/appPlatform.d.ts +269 -0
- package/dist/types/appTokens.d.ts +125 -0
- package/dist/types/apps.d.ts +130 -0
- package/dist/types/audiences.d.ts +88 -0
- package/dist/types/calendar.d.ts +55 -0
- package/dist/types/campaigns.d.ts +61 -0
- package/dist/types/chat.d.ts +35 -0
- package/dist/types/cli.d.ts +14 -0
- package/dist/types/companies.d.ts +123 -0
- package/dist/types/contacts.d.ts +200 -0
- package/dist/types/copilot.d.ts +31 -0
- package/dist/types/core.d.ts +1052 -0
- package/dist/types/deals.d.ts +215 -0
- package/dist/types/enrich.d.ts +51 -0
- package/dist/types/fields.d.ts +84 -0
- package/dist/types/forms.d.ts +16 -0
- package/dist/types/http.d.ts +141 -0
- package/dist/types/inbox.d.ts +123 -0
- package/dist/types/index.d.ts +63 -0
- package/dist/types/intent.d.ts +196 -0
- package/dist/types/lists.d.ts +44 -0
- package/dist/types/mailboxes.d.ts +240 -0
- package/dist/types/marketplace.d.ts +62 -0
- package/dist/types/meetings.d.ts +70 -0
- package/dist/types/newsletter.d.ts +212 -0
- package/dist/types/notes.d.ts +57 -0
- package/dist/types/objects.d.ts +281 -0
- package/dist/types/pipelines.d.ts +135 -0
- package/dist/types/quotes.d.ts +143 -0
- package/dist/types/react.d.ts +978 -0
- package/dist/types/search.d.ts +99 -0
- package/dist/types/sequences.d.ts +255 -0
- package/dist/types/signals.d.ts +28 -0
- package/dist/types/skills.d.ts +176 -0
- package/dist/types/snippet.d.ts +24 -0
- package/dist/types/studio.d.ts +161 -0
- package/dist/types/tasks.d.ts +101 -0
- package/dist/types/types.d.ts +45 -0
- package/dist/types/utils.d.ts +21 -0
- package/dist/types/version.d.ts +10 -0
- package/dist/types/visitors.d.ts +29 -0
- package/dist/types/voice.d.ts +304 -0
- package/dist/types/webhooks.d.ts +71 -0
- package/dist/types/workflows.d.ts +229 -0
- package/docs/agents.md +748 -0
- package/docs/api/README.md +165 -0
- package/docs/api/accounts.d.ts +396 -0
- package/docs/api/accounts.md +644 -0
- package/docs/api/adCampaigns.d.ts +707 -0
- package/docs/api/adCampaigns.md +1091 -0
- package/docs/api/adCreatives.d.ts +996 -0
- package/docs/api/adCreatives.md +1708 -0
- package/docs/api/agency.d.ts +556 -0
- package/docs/api/agency.md +845 -0
- package/docs/api/agent.d.ts +330 -0
- package/docs/api/agent.md +514 -0
- package/docs/api/agents.d.ts +1622 -0
- package/docs/api/agents.md +2860 -0
- package/docs/api/aiInbox.d.ts +1984 -0
- package/docs/api/aiInbox.md +3490 -0
- package/docs/api/analytics.d.ts +1273 -0
- package/docs/api/analytics.md +2095 -0
- package/docs/api/apiKeys.d.ts +252 -0
- package/docs/api/apiKeys.md +318 -0
- package/docs/api/appDeployments.d.ts +236 -0
- package/docs/api/appDeployments.md +471 -0
- package/docs/api/appDomains.d.ts +171 -0
- package/docs/api/appDomains.md +281 -0
- package/docs/api/appLogs.d.ts +120 -0
- package/docs/api/appLogs.md +159 -0
- package/docs/api/appObjects.d.ts +415 -0
- package/docs/api/appObjects.md +568 -0
- package/docs/api/appPages.d.ts +557 -0
- package/docs/api/appPages.md +796 -0
- package/docs/api/appPlatformTokens.d.ts +123 -0
- package/docs/api/appPlatformTokens.md +172 -0
- package/docs/api/appointments.d.ts +2361 -0
- package/docs/api/appointments.md +3917 -0
- package/docs/api/apps.d.ts +822 -0
- package/docs/api/apps.md +1342 -0
- package/docs/api/assertUpsert.d.ts +286 -0
- package/docs/api/assertUpsert.md +370 -0
- package/docs/api/audienceSyncs.d.ts +259 -0
- package/docs/api/audienceSyncs.md +395 -0
- package/docs/api/brandKit.d.ts +686 -0
- package/docs/api/brandKit.md +1133 -0
- package/docs/api/bugReports.d.ts +181 -0
- package/docs/api/bugReports.md +268 -0
- package/docs/api/by-path.md +3260 -0
- package/docs/api/calendarInvites.d.ts +117 -0
- package/docs/api/calendarInvites.md +148 -0
- package/docs/api/campaignWorkflows.d.ts +152 -0
- package/docs/api/campaignWorkflows.md +200 -0
- package/docs/api/campaigns.d.ts +721 -0
- package/docs/api/campaigns.md +1236 -0
- package/docs/api/channels.d.ts +171 -0
- package/docs/api/channels.md +235 -0
- package/docs/api/cliCampaigns.d.ts +205 -0
- package/docs/api/cliCampaigns.md +256 -0
- package/docs/api/cliPipelines.d.ts +324 -0
- package/docs/api/cliPipelines.md +562 -0
- package/docs/api/clickHouse.d.ts +115 -0
- package/docs/api/clickHouse.md +138 -0
- package/docs/api/companies.d.ts +1636 -0
- package/docs/api/companies.md +2211 -0
- package/docs/api/companyIntelligence.d.ts +299 -0
- package/docs/api/companyIntelligence.md +488 -0
- package/docs/api/contacts.d.ts +2173 -0
- package/docs/api/contacts.md +3143 -0
- package/docs/api/content.d.ts +968 -0
- package/docs/api/content.md +1667 -0
- package/docs/api/contentGridSkills.d.ts +177 -0
- package/docs/api/contentGridSkills.md +271 -0
- package/docs/api/copilot.d.ts +1017 -0
- package/docs/api/copilot.md +1765 -0
- package/docs/api/crmSyncs.d.ts +215 -0
- package/docs/api/crmSyncs.md +301 -0
- package/docs/api/customerSuccess.d.ts +491 -0
- package/docs/api/customerSuccess.md +776 -0
- package/docs/api/deals.d.ts +1697 -0
- package/docs/api/deals.md +2436 -0
- package/docs/api/deliverability.d.ts +418 -0
- package/docs/api/deliverability.md +677 -0
- package/docs/api/desk.d.ts +1765 -0
- package/docs/api/desk.md +3007 -0
- package/docs/api/dialer.d.ts +1185 -0
- package/docs/api/dialer.md +2166 -0
- package/docs/api/dialerAnalytics.d.ts +187 -0
- package/docs/api/dialerAnalytics.md +257 -0
- package/docs/api/documents.d.ts +895 -0
- package/docs/api/documents.md +1440 -0
- package/docs/api/duplicates.d.ts +195 -0
- package/docs/api/duplicates.md +315 -0
- package/docs/api/eSign.d.ts +38 -0
- package/docs/api/eSign.md +54 -0
- package/docs/api/eSignature.d.ts +242 -0
- package/docs/api/eSignature.md +341 -0
- package/docs/api/enrichment.d.ts +3207 -0
- package/docs/api/enrichment.md +5225 -0
- package/docs/api/events.d.ts +115 -0
- package/docs/api/events.md +105 -0
- package/docs/api/fields.d.ts +482 -0
- package/docs/api/fields.md +566 -0
- package/docs/api/forms.d.ts +1012 -0
- package/docs/api/forms.md +1542 -0
- package/docs/api/gtmCampaigns.d.ts +662 -0
- package/docs/api/gtmCampaigns.md +1044 -0
- package/docs/api/gtmContext.d.ts +1187 -0
- package/docs/api/gtmContext.md +2112 -0
- package/docs/api/gtmDeliverability.d.ts +60 -0
- package/docs/api/gtmDeliverability.md +63 -0
- package/docs/api/gtmKnowledgeBase.d.ts +76 -0
- package/docs/api/gtmKnowledgeBase.md +91 -0
- package/docs/api/gtmLaunchHelpers.d.ts +123 -0
- package/docs/api/gtmLaunchHelpers.md +148 -0
- package/docs/api/gtmLibrary.d.ts +448 -0
- package/docs/api/gtmLibrary.md +780 -0
- package/docs/api/health.d.ts +39 -0
- package/docs/api/health.md +58 -0
- package/docs/api/imageLibrary.d.ts +341 -0
- package/docs/api/imageLibrary.md +569 -0
- package/docs/api/imports.d.ts +157 -0
- package/docs/api/imports.md +174 -0
- package/docs/api/inbox.d.ts +709 -0
- package/docs/api/inbox.md +1067 -0
- package/docs/api/install.d.ts +213 -0
- package/docs/api/install.md +317 -0
- package/docs/api/installedApps.d.ts +131 -0
- package/docs/api/installedApps.md +241 -0
- package/docs/api/integrationStatus.d.ts +142 -0
- package/docs/api/integrationStatus.md +205 -0
- package/docs/api/integrations.d.ts +2327 -0
- package/docs/api/integrations.md +3791 -0
- package/docs/api/intent.d.ts +482 -0
- package/docs/api/intent.md +858 -0
- package/docs/api/knowledge.d.ts +501 -0
- package/docs/api/knowledge.md +843 -0
- package/docs/api/knowledgeBase.d.ts +84 -0
- package/docs/api/knowledgeBase.md +96 -0
- package/docs/api/landingPages.d.ts +1411 -0
- package/docs/api/landingPages.md +2488 -0
- package/docs/api/leads.d.ts +133 -0
- package/docs/api/leads.md +180 -0
- package/docs/api/library.d.ts +217 -0
- package/docs/api/library.md +338 -0
- package/docs/api/linkedIn.d.ts +227 -0
- package/docs/api/linkedIn.md +289 -0
- package/docs/api/linkedInOutreach.d.ts +727 -0
- package/docs/api/linkedInOutreach.md +990 -0
- package/docs/api/lists.d.ts +1106 -0
- package/docs/api/lists.md +1609 -0
- package/docs/api/logs.d.ts +71 -0
- package/docs/api/logs.md +70 -0
- package/docs/api/mailboxes.d.ts +1050 -0
- package/docs/api/mailboxes.md +1690 -0
- package/docs/api/marketingIntelligence.d.ts +256 -0
- package/docs/api/marketingIntelligence.md +454 -0
- package/docs/api/marketplace.d.ts +3173 -0
- package/docs/api/marketplace.md +5953 -0
- package/docs/api/mcp.d.ts +69 -0
- package/docs/api/mcp.md +69 -0
- package/docs/api/me.d.ts +54 -0
- package/docs/api/me.md +56 -0
- package/docs/api/meetings.d.ts +539 -0
- package/docs/api/meetings.md +747 -0
- package/docs/api/newsletter.d.ts +1613 -0
- package/docs/api/newsletter.md +2746 -0
- package/docs/api/notes.d.ts +517 -0
- package/docs/api/notes.md +888 -0
- package/docs/api/notifications.d.ts +94 -0
- package/docs/api/notifications.md +105 -0
- package/docs/api/objects.d.ts +621 -0
- package/docs/api/objects.md +1098 -0
- package/docs/api/openSearch.d.ts +234 -0
- package/docs/api/openSearch.md +297 -0
- package/docs/api/ops.d.ts +299 -0
- package/docs/api/ops.md +339 -0
- package/docs/api/orgGovernance.d.ts +393 -0
- package/docs/api/orgGovernance.md +623 -0
- package/docs/api/orgVideos.d.ts +184 -0
- package/docs/api/orgVideos.md +252 -0
- package/docs/api/organizationSettings.d.ts +626 -0
- package/docs/api/organizationSettings.md +911 -0
- package/docs/api/phoneNumbers.d.ts +484 -0
- package/docs/api/phoneNumbers.md +777 -0
- package/docs/api/profile.d.ts +329 -0
- package/docs/api/profile.md +540 -0
- package/docs/api/programmaticPages.d.ts +400 -0
- package/docs/api/programmaticPages.md +626 -0
- package/docs/api/providerDomains.d.ts +866 -0
- package/docs/api/providerDomains.md +1446 -0
- package/docs/api/providerUsage.d.ts +129 -0
- package/docs/api/providerUsage.md +186 -0
- package/docs/api/public.d.ts +69 -0
- package/docs/api/public.md +78 -0
- package/docs/api/publicCopilot.d.ts +67 -0
- package/docs/api/publicCopilot.md +80 -0
- package/docs/api/publicSignals.d.ts +66 -0
- package/docs/api/publicSignals.md +71 -0
- package/docs/api/publicVisitors.d.ts +97 -0
- package/docs/api/publicVisitors.md +118 -0
- package/docs/api/quotes.d.ts +1564 -0
- package/docs/api/quotes.md +2553 -0
- package/docs/api/radar.d.ts +808 -0
- package/docs/api/radar.md +1431 -0
- package/docs/api/radarReports.d.ts +208 -0
- package/docs/api/radarReports.md +306 -0
- package/docs/api/recordRoles.d.ts +143 -0
- package/docs/api/recordRoles.md +175 -0
- package/docs/api/repos.d.ts +146 -0
- package/docs/api/repos.md +211 -0
- package/docs/api/research.d.ts +295 -0
- package/docs/api/research.md +534 -0
- package/docs/api/revenue.d.ts +402 -0
- package/docs/api/revenue.md +608 -0
- package/docs/api/revenueAnalytics.d.ts +147 -0
- package/docs/api/revenueAnalytics.md +212 -0
- package/docs/api/revenueLifecycle.d.ts +207 -0
- package/docs/api/revenueLifecycle.md +274 -0
- package/docs/api/revenueRecords.d.ts +372 -0
- package/docs/api/revenueRecords.md +563 -0
- package/docs/api/roles.d.ts +431 -0
- package/docs/api/roles.md +812 -0
- package/docs/api/salesCoach.d.ts +877 -0
- package/docs/api/salesCoach.md +1540 -0
- package/docs/api/sandbox.d.ts +210 -0
- package/docs/api/sandbox.md +380 -0
- package/docs/api/scans.d.ts +104 -0
- package/docs/api/scans.md +136 -0
- package/docs/api/scheduleBuy.d.ts +293 -0
- package/docs/api/scheduleBuy.md +431 -0
- package/docs/api/scraping.d.ts +266 -0
- package/docs/api/scraping.md +383 -0
- package/docs/api/sdrAnalytics.d.ts +138 -0
- package/docs/api/sdrAnalytics.md +246 -0
- package/docs/api/search.d.ts +598 -0
- package/docs/api/search.md +866 -0
- package/docs/api/seo.d.ts +447 -0
- package/docs/api/seo.md +660 -0
- package/docs/api/sequenceLifecycle.d.ts +439 -0
- package/docs/api/sequenceLifecycle.md +513 -0
- package/docs/api/sequences.d.ts +1936 -0
- package/docs/api/sequences.md +3232 -0
- package/docs/api/settings.d.ts +448 -0
- package/docs/api/settings.md +731 -0
- package/docs/api/signals.d.ts +1441 -0
- package/docs/api/signals.md +2526 -0
- package/docs/api/signatures.d.ts +719 -0
- package/docs/api/signatures.md +1247 -0
- package/docs/api/skills.d.ts +230 -0
- package/docs/api/skills.md +466 -0
- package/docs/api/snippet.d.ts +85 -0
- package/docs/api/snippet.md +106 -0
- package/docs/api/socialPublishing.d.ts +824 -0
- package/docs/api/socialPublishing.md +1245 -0
- package/docs/api/studioDocuments.d.ts +244 -0
- package/docs/api/studioDocuments.md +348 -0
- package/docs/api/support.d.ts +90 -0
- package/docs/api/support.md +76 -0
- package/docs/api/suppressions.d.ts +241 -0
- package/docs/api/suppressions.md +343 -0
- package/docs/api/surveys.d.ts +847 -0
- package/docs/api/surveys.md +1223 -0
- package/docs/api/tasks.d.ts +813 -0
- package/docs/api/tasks.md +1344 -0
- package/docs/api/teamMembers.d.ts +668 -0
- package/docs/api/teamMembers.md +1040 -0
- package/docs/api/teams.d.ts +784 -0
- package/docs/api/teams.md +1395 -0
- package/docs/api/usage.d.ts +277 -0
- package/docs/api/usage.md +389 -0
- package/docs/api/visitors.d.ts +690 -0
- package/docs/api/visitors.md +1075 -0
- package/docs/api/voice.d.ts +4661 -0
- package/docs/api/voice.md +7905 -0
- package/docs/api/webAnalytics.d.ts +964 -0
- package/docs/api/webAnalytics.md +1452 -0
- package/docs/api/webChat.d.ts +1704 -0
- package/docs/api/webChat.md +2048 -0
- package/docs/api/webhooks.d.ts +251 -0
- package/docs/api/webhooks.md +386 -0
- package/docs/api/websiteEditor.d.ts +324 -0
- package/docs/api/websiteEditor.md +517 -0
- package/docs/api/work.d.ts +2298 -0
- package/docs/api/work.md +3096 -0
- package/docs/api/workbench.d.ts +2962 -0
- package/docs/api/workbench.md +4884 -0
- package/docs/api/workflows.d.ts +1218 -0
- package/docs/api/workflows.md +2302 -0
- package/docs/sdk-clients.md +4339 -0
- package/package.json +10 -3
|
@@ -0,0 +1,1017 @@
|
|
|
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.copilot` (Copilot): 39 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<"append_copilot_memory_document_copilot_memory_documents_append_post">;
|
|
9
|
+
*
|
|
10
|
+
* Reference with examples: copilot.md
|
|
11
|
+
*/
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
|
|
14
|
+
/** `g8.api.copilot.<member>` -> the operationId it calls. */
|
|
15
|
+
export interface CopilotMembers {
|
|
16
|
+
appendCopilotMemoryDocument: "append_copilot_memory_document_copilot_memory_documents_append_post";
|
|
17
|
+
browseCopilotPersonalWikiDrive: "browse_copilot_personal_wiki_drive_copilot_personal_wiki_drive_get";
|
|
18
|
+
captureCopilotSoul: "capture_copilot_soul_copilot_memory_soul_capture_post";
|
|
19
|
+
chatWithCopilot: "chat_with_copilot_copilot_chat_post";
|
|
20
|
+
chooseCopilotContactMatch: "choose_copilot_contact_match_copilot_personal_wiki_contact_sharing_contributions__contribution_id__matches_post";
|
|
21
|
+
confirmCopilotPersonalWikiFact: "confirm_copilot_personal_wiki_fact_copilot_personal_wiki_confirm_post";
|
|
22
|
+
correctCopilotContactIdentity: "correct_copilot_contact_identity_copilot_personal_wiki_relationships_identity_post";
|
|
23
|
+
correctCopilotPersonalWikiFact: "correct_copilot_personal_wiki_fact_copilot_personal_wiki_correct_post";
|
|
24
|
+
createCopilotMemory: "create_copilot_memory_copilot_memory_post";
|
|
25
|
+
deleteCopilotMemory: "delete_copilot_memory_copilot_memory__memory_id__delete";
|
|
26
|
+
editCopilotPersonalWikiItem: "edit_copilot_personal_wiki_item_copilot_personal_wiki_items__item_id__put";
|
|
27
|
+
forgetCopilotPersonalWikiFact: "forget_copilot_personal_wiki_fact_copilot_personal_wiki_forget_post";
|
|
28
|
+
getCopilotContactSharing: "get_copilot_contact_sharing_copilot_personal_wiki_contact_sharing_get";
|
|
29
|
+
getCopilotLinkedinConnections: "get_copilot_linkedin_connections_copilot_personal_wiki_linkedin_connections_get";
|
|
30
|
+
getCopilotMemoryContext: "get_copilot_memory_context_copilot_memory_context_get";
|
|
31
|
+
getCopilotMemoryDocuments: "get_copilot_memory_documents_copilot_memory_documents_get";
|
|
32
|
+
getCopilotPersonalWiki: "get_copilot_personal_wiki_copilot_personal_wiki_get";
|
|
33
|
+
getCopilotPersonalWikiDocument: "get_copilot_personal_wiki_document_copilot_personal_wiki_documents__section__get";
|
|
34
|
+
getCopilotPersonalWikiRelationship: "get_copilot_personal_wiki_relationship_copilot_personal_wiki_relationships__contact_id__get";
|
|
35
|
+
getCopilotPersonalWikiSources: "get_copilot_personal_wiki_sources_copilot_personal_wiki_sources_get";
|
|
36
|
+
listCopilotContactContributions: "list_copilot_contact_contributions_copilot_personal_wiki_contact_sharing_contributions_get";
|
|
37
|
+
listCopilotContactMatches: "list_copilot_contact_matches_copilot_personal_wiki_contact_sharing_contributions__contribution_id__matches_get";
|
|
38
|
+
listCopilotMemories: "list_copilot_memories_copilot_memory_get";
|
|
39
|
+
listCopilotPersonalWikiRelationships: "list_copilot_personal_wiki_relationships_copilot_personal_wiki_relationships_get";
|
|
40
|
+
listCopilotTools: "list_copilot_tools_copilot_tools_get";
|
|
41
|
+
previewCopilotPersonalWikiDriveSelection: "preview_copilot_personal_wiki_drive_selection_copilot_personal_wiki_drive_selection_preview_post";
|
|
42
|
+
promoteCopilotMemory: "promote_copilot_memory_copilot_memory_promote_post";
|
|
43
|
+
resolveCopilotContactContribution: "resolve_copilot_contact_contribution_copilot_personal_wiki_contact_sharing_contributions__contribution_id__resolve_post";
|
|
44
|
+
runCopilotLandingPageAction: "run_copilot_landing_page_action_copilot_landing_page_action_post";
|
|
45
|
+
saveCopilotPersonalWikiDriveSelection: "save_copilot_personal_wiki_drive_selection_copilot_personal_wiki_drive_selection_put";
|
|
46
|
+
searchCopilotContactIdentities: "search_copilot_contact_identities_copilot_personal_wiki_contact_identities_get";
|
|
47
|
+
searchCopilotMentions: "search_copilot_mentions_copilot_mention_search_post";
|
|
48
|
+
updateCopilotContactContribution: "update_copilot_contact_contribution_copilot_personal_wiki_contact_sharing_contributions__contribution_id__put";
|
|
49
|
+
updateCopilotContactPeopleChoice: "update_copilot_contact_people_choice_copilot_personal_wiki_contact_sharing_people_choice_put";
|
|
50
|
+
updateCopilotContactSharing: "update_copilot_contact_sharing_copilot_personal_wiki_contact_sharing__mailbox_id__put";
|
|
51
|
+
updateCopilotLinkedinConnections: "update_copilot_linkedin_connections_copilot_personal_wiki_linkedin_connections_put";
|
|
52
|
+
updateCopilotPersonalWiki: "update_copilot_personal_wiki_copilot_personal_wiki_put";
|
|
53
|
+
updateCopilotPersonalWikiSources: "update_copilot_personal_wiki_sources_copilot_personal_wiki_sources_put";
|
|
54
|
+
upsertCopilotMemoryDocument: "upsert_copilot_memory_document_copilot_memory_documents_put";
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/** Input and output of every `g8.api.copilot` operation, keyed by operationId. */
|
|
58
|
+
export interface CopilotOperations {
|
|
59
|
+
/**
|
|
60
|
+
* POST /copilot/memory/documents/append
|
|
61
|
+
* Append Copilot Memory Document
|
|
62
|
+
* tier: write · scope: knowledge:write
|
|
63
|
+
*/
|
|
64
|
+
append_copilot_memory_document_copilot_memory_documents_append_post: {
|
|
65
|
+
input: {
|
|
66
|
+
headers?: {
|
|
67
|
+
"X-Target-Org-Id"?: string | null;
|
|
68
|
+
};
|
|
69
|
+
body: MemoryDocumentAppendRequest;
|
|
70
|
+
};
|
|
71
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* GET /copilot/personal-wiki/drive
|
|
75
|
+
* Browse Copilot Personal Wiki Drive
|
|
76
|
+
* tier: read · scope: knowledge:read
|
|
77
|
+
*/
|
|
78
|
+
browse_copilot_personal_wiki_drive_copilot_personal_wiki_drive_get: {
|
|
79
|
+
input: {
|
|
80
|
+
query: {
|
|
81
|
+
/** Integer `mailboxes.id` of the connected Google account. */
|
|
82
|
+
mailbox_id: number;
|
|
83
|
+
/** Folder to list. `root` is the top of My Drive. */
|
|
84
|
+
parent_id?: string;
|
|
85
|
+
/** From the previous page. */
|
|
86
|
+
page_token?: string | null;
|
|
87
|
+
/** Search by name instead of listing a folder. */
|
|
88
|
+
search?: string;
|
|
89
|
+
};
|
|
90
|
+
headers?: {
|
|
91
|
+
"X-Target-Org-Id"?: string | null;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* POST /copilot/memory/soul-capture
|
|
98
|
+
* Capture Copilot Soul
|
|
99
|
+
* tier: write · scope: knowledge:write
|
|
100
|
+
*/
|
|
101
|
+
capture_copilot_soul_copilot_memory_soul_capture_post: {
|
|
102
|
+
input: {
|
|
103
|
+
headers?: {
|
|
104
|
+
"X-Target-Org-Id"?: string | null;
|
|
105
|
+
};
|
|
106
|
+
body: SoulCaptureRequest;
|
|
107
|
+
};
|
|
108
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* POST /copilot/chat
|
|
112
|
+
* Chat With Copilot
|
|
113
|
+
* tier: billable · scope: knowledge:run
|
|
114
|
+
*/
|
|
115
|
+
chat_with_copilot_copilot_chat_post: {
|
|
116
|
+
input: {
|
|
117
|
+
headers?: {
|
|
118
|
+
"X-Target-Org-Id"?: string | null;
|
|
119
|
+
};
|
|
120
|
+
body: CopilotChatRequest;
|
|
121
|
+
};
|
|
122
|
+
output: ApiResponse_StudioContentPayload_;
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* POST /copilot/personal-wiki/contact-sharing/contributions/{contribution_id}/matches
|
|
126
|
+
* Choose Copilot Contact Match
|
|
127
|
+
* tier: write · scope: knowledge:write
|
|
128
|
+
*/
|
|
129
|
+
choose_copilot_contact_match_copilot_personal_wiki_contact_sharing_contributions__contribution_id__matches_post: {
|
|
130
|
+
input: {
|
|
131
|
+
path: {
|
|
132
|
+
/** Contribution id (UUID). */
|
|
133
|
+
contribution_id: string;
|
|
134
|
+
};
|
|
135
|
+
headers?: {
|
|
136
|
+
"X-Target-Org-Id"?: string | null;
|
|
137
|
+
};
|
|
138
|
+
body: PersonalContactMatchRequest;
|
|
139
|
+
};
|
|
140
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* POST /copilot/personal-wiki/confirm
|
|
144
|
+
* Confirm Copilot Personal Wiki Fact
|
|
145
|
+
* tier: write · scope: knowledge:write
|
|
146
|
+
*/
|
|
147
|
+
confirm_copilot_personal_wiki_fact_copilot_personal_wiki_confirm_post: {
|
|
148
|
+
input: {
|
|
149
|
+
headers?: {
|
|
150
|
+
"X-Target-Org-Id"?: string | null;
|
|
151
|
+
};
|
|
152
|
+
body: PersonalWikiFactActionRequest;
|
|
153
|
+
};
|
|
154
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* POST /copilot/personal-wiki/relationships/identity
|
|
158
|
+
* Correct Copilot Contact Identity
|
|
159
|
+
* tier: write · scope: knowledge:write
|
|
160
|
+
*/
|
|
161
|
+
correct_copilot_contact_identity_copilot_personal_wiki_relationships_identity_post: {
|
|
162
|
+
input: {
|
|
163
|
+
headers?: {
|
|
164
|
+
"X-Target-Org-Id"?: string | null;
|
|
165
|
+
};
|
|
166
|
+
body: PersonalContactIdentityRequest;
|
|
167
|
+
};
|
|
168
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* POST /copilot/personal-wiki/correct
|
|
172
|
+
* Correct Copilot Personal Wiki Fact
|
|
173
|
+
* tier: write · scope: knowledge:write
|
|
174
|
+
*/
|
|
175
|
+
correct_copilot_personal_wiki_fact_copilot_personal_wiki_correct_post: {
|
|
176
|
+
input: {
|
|
177
|
+
headers?: {
|
|
178
|
+
"X-Target-Org-Id"?: string | null;
|
|
179
|
+
};
|
|
180
|
+
body: PersonalWikiFactCorrectionRequest;
|
|
181
|
+
};
|
|
182
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
183
|
+
};
|
|
184
|
+
/**
|
|
185
|
+
* POST /copilot/memory
|
|
186
|
+
* Create Copilot Memory
|
|
187
|
+
* tier: write · scope: knowledge:write
|
|
188
|
+
*/
|
|
189
|
+
create_copilot_memory_copilot_memory_post: {
|
|
190
|
+
input: {
|
|
191
|
+
headers?: {
|
|
192
|
+
"X-Target-Org-Id"?: string | null;
|
|
193
|
+
};
|
|
194
|
+
body: MemoryCreateRequest;
|
|
195
|
+
};
|
|
196
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
197
|
+
};
|
|
198
|
+
/**
|
|
199
|
+
* DELETE /copilot/memory/{memory_id}
|
|
200
|
+
* Delete Copilot Memory
|
|
201
|
+
* tier: destructive · scope: knowledge:delete
|
|
202
|
+
*/
|
|
203
|
+
delete_copilot_memory_copilot_memory__memory_id__delete: {
|
|
204
|
+
input: {
|
|
205
|
+
path: {
|
|
206
|
+
/** Memory id. */
|
|
207
|
+
memory_id: string;
|
|
208
|
+
};
|
|
209
|
+
headers?: {
|
|
210
|
+
"X-Target-Org-Id"?: string | null;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* PUT /copilot/personal-wiki/items/{item_id}
|
|
217
|
+
* Edit Copilot Personal Wiki Item
|
|
218
|
+
* tier: write · scope: knowledge:write
|
|
219
|
+
*/
|
|
220
|
+
edit_copilot_personal_wiki_item_copilot_personal_wiki_items__item_id__put: {
|
|
221
|
+
input: {
|
|
222
|
+
path: {
|
|
223
|
+
/** Wiki item id. */
|
|
224
|
+
item_id: string;
|
|
225
|
+
};
|
|
226
|
+
headers?: {
|
|
227
|
+
"X-Target-Org-Id"?: string | null;
|
|
228
|
+
};
|
|
229
|
+
body: PersonalWikiItemEditRequest;
|
|
230
|
+
};
|
|
231
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
232
|
+
};
|
|
233
|
+
/**
|
|
234
|
+
* POST /copilot/personal-wiki/forget
|
|
235
|
+
* Forget Copilot Personal Wiki Fact
|
|
236
|
+
* tier: write · scope: knowledge:write
|
|
237
|
+
*/
|
|
238
|
+
forget_copilot_personal_wiki_fact_copilot_personal_wiki_forget_post: {
|
|
239
|
+
input: {
|
|
240
|
+
headers?: {
|
|
241
|
+
"X-Target-Org-Id"?: string | null;
|
|
242
|
+
};
|
|
243
|
+
body: PersonalWikiFactActionRequest;
|
|
244
|
+
};
|
|
245
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* GET /copilot/personal-wiki/contact-sharing
|
|
249
|
+
* Get Copilot Contact Sharing
|
|
250
|
+
* tier: read · scope: knowledge:read
|
|
251
|
+
*/
|
|
252
|
+
get_copilot_contact_sharing_copilot_personal_wiki_contact_sharing_get: {
|
|
253
|
+
input: {
|
|
254
|
+
headers?: {
|
|
255
|
+
"X-Target-Org-Id"?: string | null;
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
259
|
+
};
|
|
260
|
+
/**
|
|
261
|
+
* GET /copilot/personal-wiki/linkedin-connections
|
|
262
|
+
* Get Copilot Linkedin Connections
|
|
263
|
+
* tier: read · scope: knowledge:read
|
|
264
|
+
*/
|
|
265
|
+
get_copilot_linkedin_connections_copilot_personal_wiki_linkedin_connections_get: {
|
|
266
|
+
input: {
|
|
267
|
+
headers?: {
|
|
268
|
+
"X-Target-Org-Id"?: string | null;
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
272
|
+
};
|
|
273
|
+
/**
|
|
274
|
+
* GET /copilot/memory/context
|
|
275
|
+
* Get Copilot Memory Context
|
|
276
|
+
* tier: read · scope: knowledge:read
|
|
277
|
+
*/
|
|
278
|
+
get_copilot_memory_context_copilot_memory_context_get: {
|
|
279
|
+
input: {
|
|
280
|
+
query?: {
|
|
281
|
+
/** Narrow to one campaign. */
|
|
282
|
+
campaign_id?: string | null;
|
|
283
|
+
/** Narrow to one company. */
|
|
284
|
+
company_id?: string | null;
|
|
285
|
+
/** Narrow to one contact. */
|
|
286
|
+
contact_id?: string | null;
|
|
287
|
+
};
|
|
288
|
+
headers?: {
|
|
289
|
+
"X-Target-Org-Id"?: string | null;
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
293
|
+
};
|
|
294
|
+
/**
|
|
295
|
+
* GET /copilot/memory/documents
|
|
296
|
+
* Get Copilot Memory Documents
|
|
297
|
+
* tier: read · scope: knowledge:read
|
|
298
|
+
*/
|
|
299
|
+
get_copilot_memory_documents_copilot_memory_documents_get: {
|
|
300
|
+
input: {
|
|
301
|
+
query: {
|
|
302
|
+
/** organization | user | campaign | company | contact. */
|
|
303
|
+
subject_type: string;
|
|
304
|
+
/** Which one. */
|
|
305
|
+
subject_id: string;
|
|
306
|
+
/** `soul`, `memory` or `daily`. Omit for all three - they are different documents, not versions of one. */
|
|
307
|
+
file_kind?: string | null;
|
|
308
|
+
};
|
|
309
|
+
headers?: {
|
|
310
|
+
"X-Target-Org-Id"?: string | null;
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
output: ApiResponse_CopilotMemoryListPayload_;
|
|
314
|
+
};
|
|
315
|
+
/**
|
|
316
|
+
* GET /copilot/personal-wiki
|
|
317
|
+
* Get Copilot Personal Wiki
|
|
318
|
+
* tier: read · scope: knowledge:read
|
|
319
|
+
*/
|
|
320
|
+
get_copilot_personal_wiki_copilot_personal_wiki_get: {
|
|
321
|
+
input: {
|
|
322
|
+
headers?: {
|
|
323
|
+
"X-Target-Org-Id"?: string | null;
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
327
|
+
};
|
|
328
|
+
/**
|
|
329
|
+
* GET /copilot/personal-wiki/documents/{section}
|
|
330
|
+
* Get Copilot Personal Wiki Document
|
|
331
|
+
* tier: read · scope: knowledge:read
|
|
332
|
+
*/
|
|
333
|
+
get_copilot_personal_wiki_document_copilot_personal_wiki_documents__section__get: {
|
|
334
|
+
input: {
|
|
335
|
+
path: {
|
|
336
|
+
/** Wiki section. */
|
|
337
|
+
section: string;
|
|
338
|
+
};
|
|
339
|
+
query: {
|
|
340
|
+
/** Which source document. */
|
|
341
|
+
document_id: string;
|
|
342
|
+
};
|
|
343
|
+
headers?: {
|
|
344
|
+
"X-Target-Org-Id"?: string | null;
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
348
|
+
};
|
|
349
|
+
/**
|
|
350
|
+
* GET /copilot/personal-wiki/relationships/{contact_id}
|
|
351
|
+
* Get Copilot Personal Wiki Relationship
|
|
352
|
+
* tier: read · scope: knowledge:read
|
|
353
|
+
*/
|
|
354
|
+
get_copilot_personal_wiki_relationship_copilot_personal_wiki_relationships__contact_id__get: {
|
|
355
|
+
input: {
|
|
356
|
+
path: {
|
|
357
|
+
/** CRM contact id (integer). */
|
|
358
|
+
contact_id: number;
|
|
359
|
+
};
|
|
360
|
+
headers?: {
|
|
361
|
+
"X-Target-Org-Id"?: string | null;
|
|
362
|
+
};
|
|
363
|
+
};
|
|
364
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
365
|
+
};
|
|
366
|
+
/**
|
|
367
|
+
* GET /copilot/personal-wiki/sources
|
|
368
|
+
* Get Copilot Personal Wiki Sources
|
|
369
|
+
* tier: read · scope: knowledge:read
|
|
370
|
+
*/
|
|
371
|
+
get_copilot_personal_wiki_sources_copilot_personal_wiki_sources_get: {
|
|
372
|
+
input: {
|
|
373
|
+
headers?: {
|
|
374
|
+
"X-Target-Org-Id"?: string | null;
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
378
|
+
};
|
|
379
|
+
/**
|
|
380
|
+
* GET /copilot/personal-wiki/contact-sharing/contributions
|
|
381
|
+
* List Copilot Contact Contributions
|
|
382
|
+
* tier: read · scope: knowledge:read
|
|
383
|
+
*/
|
|
384
|
+
list_copilot_contact_contributions_copilot_personal_wiki_contact_sharing_contributions_get: {
|
|
385
|
+
input: {
|
|
386
|
+
query?: {
|
|
387
|
+
offset?: number;
|
|
388
|
+
limit?: number;
|
|
389
|
+
};
|
|
390
|
+
headers?: {
|
|
391
|
+
"X-Target-Org-Id"?: string | null;
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
output: ApiResponse_CopilotMemoryListPayload_;
|
|
395
|
+
};
|
|
396
|
+
/**
|
|
397
|
+
* GET /copilot/personal-wiki/contact-sharing/contributions/{contribution_id}/matches
|
|
398
|
+
* List Copilot Contact Matches
|
|
399
|
+
* tier: read · scope: knowledge:read
|
|
400
|
+
*/
|
|
401
|
+
list_copilot_contact_matches_copilot_personal_wiki_contact_sharing_contributions__contribution_id__matches_get: {
|
|
402
|
+
input: {
|
|
403
|
+
path: {
|
|
404
|
+
/** Contribution id (UUID). */
|
|
405
|
+
contribution_id: string;
|
|
406
|
+
};
|
|
407
|
+
headers?: {
|
|
408
|
+
"X-Target-Org-Id"?: string | null;
|
|
409
|
+
};
|
|
410
|
+
};
|
|
411
|
+
output: ApiResponse_CopilotMemoryListPayload_;
|
|
412
|
+
};
|
|
413
|
+
/**
|
|
414
|
+
* GET /copilot/memory
|
|
415
|
+
* List Copilot Memories
|
|
416
|
+
* tier: read · scope: knowledge:read
|
|
417
|
+
*/
|
|
418
|
+
list_copilot_memories_copilot_memory_get: {
|
|
419
|
+
input: {
|
|
420
|
+
query?: {
|
|
421
|
+
/** Filter to one memory scope. */
|
|
422
|
+
scope?: string | null;
|
|
423
|
+
/** Page size. */
|
|
424
|
+
limit?: number;
|
|
425
|
+
};
|
|
426
|
+
headers?: {
|
|
427
|
+
"X-Target-Org-Id"?: string | null;
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
output: ApiResponse_CopilotMemoryListPayload_;
|
|
431
|
+
};
|
|
432
|
+
/**
|
|
433
|
+
* GET /copilot/personal-wiki/relationships
|
|
434
|
+
* List Copilot Personal Wiki Relationships
|
|
435
|
+
* tier: read · scope: knowledge:read
|
|
436
|
+
*/
|
|
437
|
+
list_copilot_personal_wiki_relationships_copilot_personal_wiki_relationships_get: {
|
|
438
|
+
input: {
|
|
439
|
+
query?: {
|
|
440
|
+
item_id?: string | null;
|
|
441
|
+
/** Substring match on the person. */
|
|
442
|
+
query?: string;
|
|
443
|
+
/** `recent`, `name` or `email`. */
|
|
444
|
+
sort?: "recent" | "name" | "email";
|
|
445
|
+
offset?: number;
|
|
446
|
+
limit?: number;
|
|
447
|
+
};
|
|
448
|
+
headers?: {
|
|
449
|
+
"X-Target-Org-Id"?: string | null;
|
|
450
|
+
};
|
|
451
|
+
};
|
|
452
|
+
output: ApiResponse_CopilotMemoryListPayload_;
|
|
453
|
+
};
|
|
454
|
+
/**
|
|
455
|
+
* GET /copilot/tools
|
|
456
|
+
* List Copilot Tools
|
|
457
|
+
* tier: read · scope: knowledge:read
|
|
458
|
+
*/
|
|
459
|
+
list_copilot_tools_copilot_tools_get: {
|
|
460
|
+
input: {
|
|
461
|
+
headers?: {
|
|
462
|
+
"X-Target-Org-Id"?: string | null;
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
output: ApiResponse_StudioContentListPayload_;
|
|
466
|
+
};
|
|
467
|
+
/**
|
|
468
|
+
* POST /copilot/personal-wiki/drive-selection/preview
|
|
469
|
+
* Preview Copilot Personal Wiki Drive Selection
|
|
470
|
+
* tier: read · scope: knowledge:read
|
|
471
|
+
*/
|
|
472
|
+
preview_copilot_personal_wiki_drive_selection_copilot_personal_wiki_drive_selection_preview_post: {
|
|
473
|
+
input: {
|
|
474
|
+
headers?: {
|
|
475
|
+
"X-Target-Org-Id"?: string | null;
|
|
476
|
+
};
|
|
477
|
+
body: PersonalDriveSelectionRequest;
|
|
478
|
+
};
|
|
479
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
480
|
+
};
|
|
481
|
+
/**
|
|
482
|
+
* POST /copilot/memory/promote
|
|
483
|
+
* Promote Copilot Memory
|
|
484
|
+
* tier: billable · scope: knowledge:run
|
|
485
|
+
*/
|
|
486
|
+
promote_copilot_memory_copilot_memory_promote_post: {
|
|
487
|
+
input: {
|
|
488
|
+
headers?: {
|
|
489
|
+
"X-Target-Org-Id"?: string | null;
|
|
490
|
+
};
|
|
491
|
+
body: PromoteMemoryRequest;
|
|
492
|
+
};
|
|
493
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
494
|
+
};
|
|
495
|
+
/**
|
|
496
|
+
* POST /copilot/personal-wiki/contact-sharing/contributions/{contribution_id}/resolve
|
|
497
|
+
* Resolve Copilot Contact Contribution
|
|
498
|
+
* tier: write · scope: knowledge:write
|
|
499
|
+
*/
|
|
500
|
+
resolve_copilot_contact_contribution_copilot_personal_wiki_contact_sharing_contributions__contribution_id__resolve_post: {
|
|
501
|
+
input: {
|
|
502
|
+
path: {
|
|
503
|
+
/** Contribution id (UUID). */
|
|
504
|
+
contribution_id: string;
|
|
505
|
+
};
|
|
506
|
+
headers?: {
|
|
507
|
+
"X-Target-Org-Id"?: string | null;
|
|
508
|
+
};
|
|
509
|
+
body: PersonalContactReviewRequest;
|
|
510
|
+
};
|
|
511
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
512
|
+
};
|
|
513
|
+
/**
|
|
514
|
+
* POST /copilot/landing-page-action
|
|
515
|
+
* Run Copilot Landing Page Action
|
|
516
|
+
* tier: billable · scope: knowledge:run
|
|
517
|
+
*/
|
|
518
|
+
run_copilot_landing_page_action_copilot_landing_page_action_post: {
|
|
519
|
+
input: {
|
|
520
|
+
headers?: {
|
|
521
|
+
"X-Target-Org-Id"?: string | null;
|
|
522
|
+
};
|
|
523
|
+
body: CopilotLandingPageActionRequest;
|
|
524
|
+
};
|
|
525
|
+
output: ApiResponse_StudioContentPayload_;
|
|
526
|
+
};
|
|
527
|
+
/**
|
|
528
|
+
* PUT /copilot/personal-wiki/drive-selection
|
|
529
|
+
* Save Copilot Personal Wiki Drive Selection
|
|
530
|
+
* tier: write · scope: knowledge:write
|
|
531
|
+
*/
|
|
532
|
+
save_copilot_personal_wiki_drive_selection_copilot_personal_wiki_drive_selection_put: {
|
|
533
|
+
input: {
|
|
534
|
+
headers?: {
|
|
535
|
+
"X-Target-Org-Id"?: string | null;
|
|
536
|
+
};
|
|
537
|
+
body: PersonalDriveSelectionRequest;
|
|
538
|
+
};
|
|
539
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
540
|
+
};
|
|
541
|
+
/**
|
|
542
|
+
* GET /copilot/personal-wiki/contact-identities
|
|
543
|
+
* Search Copilot Contact Identities
|
|
544
|
+
* tier: read · scope: knowledge:read
|
|
545
|
+
*/
|
|
546
|
+
search_copilot_contact_identities_copilot_personal_wiki_contact_identities_get: {
|
|
547
|
+
input: {
|
|
548
|
+
query: {
|
|
549
|
+
/** At least two characters. */
|
|
550
|
+
query: string;
|
|
551
|
+
};
|
|
552
|
+
headers?: {
|
|
553
|
+
"X-Target-Org-Id"?: string | null;
|
|
554
|
+
};
|
|
555
|
+
};
|
|
556
|
+
output: ApiResponse_CopilotMemoryListPayload_;
|
|
557
|
+
};
|
|
558
|
+
/**
|
|
559
|
+
* POST /copilot/mention-search
|
|
560
|
+
* Search Copilot Mentions
|
|
561
|
+
* tier: read · scope: knowledge:read
|
|
562
|
+
*/
|
|
563
|
+
search_copilot_mentions_copilot_mention_search_post: {
|
|
564
|
+
input: {
|
|
565
|
+
headers?: {
|
|
566
|
+
"X-Target-Org-Id"?: string | null;
|
|
567
|
+
};
|
|
568
|
+
body: CopilotMentionSearchRequest;
|
|
569
|
+
};
|
|
570
|
+
output: ApiResponse_StudioContentListPayload_;
|
|
571
|
+
};
|
|
572
|
+
/**
|
|
573
|
+
* PUT /copilot/personal-wiki/contact-sharing/contributions/{contribution_id}
|
|
574
|
+
* Update Copilot Contact Contribution
|
|
575
|
+
* tier: write · scope: knowledge:write
|
|
576
|
+
*/
|
|
577
|
+
update_copilot_contact_contribution_copilot_personal_wiki_contact_sharing_contributions__contribution_id__put: {
|
|
578
|
+
input: {
|
|
579
|
+
path: {
|
|
580
|
+
/** Contribution id (UUID). */
|
|
581
|
+
contribution_id: string;
|
|
582
|
+
};
|
|
583
|
+
headers?: {
|
|
584
|
+
"X-Target-Org-Id"?: string | null;
|
|
585
|
+
};
|
|
586
|
+
body: PersonalContactSharingRequest;
|
|
587
|
+
};
|
|
588
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
589
|
+
};
|
|
590
|
+
/**
|
|
591
|
+
* PUT /copilot/personal-wiki/contact-sharing/people/choice
|
|
592
|
+
* Update Copilot Contact People Choice
|
|
593
|
+
* tier: write · scope: knowledge:write
|
|
594
|
+
*/
|
|
595
|
+
update_copilot_contact_people_choice_copilot_personal_wiki_contact_sharing_people_choice_put: {
|
|
596
|
+
input: {
|
|
597
|
+
headers?: {
|
|
598
|
+
"X-Target-Org-Id"?: string | null;
|
|
599
|
+
};
|
|
600
|
+
body: PersonalContactChoiceRequest;
|
|
601
|
+
};
|
|
602
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
603
|
+
};
|
|
604
|
+
/**
|
|
605
|
+
* PUT /copilot/personal-wiki/contact-sharing/{mailbox_id}
|
|
606
|
+
* Update Copilot Contact Sharing
|
|
607
|
+
* tier: write · scope: knowledge:write
|
|
608
|
+
*/
|
|
609
|
+
update_copilot_contact_sharing_copilot_personal_wiki_contact_sharing__mailbox_id__put: {
|
|
610
|
+
input: {
|
|
611
|
+
path: {
|
|
612
|
+
/** Integer `mailboxes.id` - the database primary key, not the cron-job string id. */
|
|
613
|
+
mailbox_id: number;
|
|
614
|
+
};
|
|
615
|
+
headers?: {
|
|
616
|
+
"X-Target-Org-Id"?: string | null;
|
|
617
|
+
};
|
|
618
|
+
body: PersonalContactSharingRequest;
|
|
619
|
+
};
|
|
620
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
621
|
+
};
|
|
622
|
+
/**
|
|
623
|
+
* PUT /copilot/personal-wiki/linkedin-connections
|
|
624
|
+
* Update Copilot Linkedin Connections
|
|
625
|
+
* tier: write · scope: knowledge:write
|
|
626
|
+
*/
|
|
627
|
+
update_copilot_linkedin_connections_copilot_personal_wiki_linkedin_connections_put: {
|
|
628
|
+
input: {
|
|
629
|
+
headers?: {
|
|
630
|
+
"X-Target-Org-Id"?: string | null;
|
|
631
|
+
};
|
|
632
|
+
body: PersonalLinkedInImportRequest;
|
|
633
|
+
};
|
|
634
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
635
|
+
};
|
|
636
|
+
/**
|
|
637
|
+
* PUT /copilot/personal-wiki
|
|
638
|
+
* Update Copilot Personal Wiki
|
|
639
|
+
* tier: write · scope: knowledge:write
|
|
640
|
+
*/
|
|
641
|
+
update_copilot_personal_wiki_copilot_personal_wiki_put: {
|
|
642
|
+
input: {
|
|
643
|
+
headers?: {
|
|
644
|
+
"X-Target-Org-Id"?: string | null;
|
|
645
|
+
};
|
|
646
|
+
body: PersonalWikiUpdateRequest;
|
|
647
|
+
};
|
|
648
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
649
|
+
};
|
|
650
|
+
/**
|
|
651
|
+
* PUT /copilot/personal-wiki/sources
|
|
652
|
+
* Update Copilot Personal Wiki Sources
|
|
653
|
+
* tier: write · scope: knowledge:write
|
|
654
|
+
*/
|
|
655
|
+
update_copilot_personal_wiki_sources_copilot_personal_wiki_sources_put: {
|
|
656
|
+
input: {
|
|
657
|
+
headers?: {
|
|
658
|
+
"X-Target-Org-Id"?: string | null;
|
|
659
|
+
};
|
|
660
|
+
body: PersonalWikiSourcesUpdateRequest;
|
|
661
|
+
};
|
|
662
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
663
|
+
};
|
|
664
|
+
/**
|
|
665
|
+
* PUT /copilot/memory/documents
|
|
666
|
+
* Upsert Copilot Memory Document
|
|
667
|
+
* tier: write · scope: knowledge:write
|
|
668
|
+
*/
|
|
669
|
+
upsert_copilot_memory_document_copilot_memory_documents_put: {
|
|
670
|
+
input: {
|
|
671
|
+
headers?: {
|
|
672
|
+
"X-Target-Org-Id"?: string | null;
|
|
673
|
+
};
|
|
674
|
+
body: MemoryDocumentRequest;
|
|
675
|
+
};
|
|
676
|
+
output: ApiResponse_CopilotMemoryPayload_;
|
|
677
|
+
};
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
// 32 schemas referenced above (the same as G8Contract.<Name>).
|
|
681
|
+
|
|
682
|
+
export interface ApiResponse_CopilotMemoryListPayload_ {
|
|
683
|
+
data: CopilotMemoryListPayload;
|
|
684
|
+
pagination?: PaginationMeta | null;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
export interface ApiResponse_CopilotMemoryPayload_ {
|
|
688
|
+
data: CopilotMemoryPayload;
|
|
689
|
+
pagination?: PaginationMeta | null;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
export interface ApiResponse_StudioContentListPayload_ {
|
|
693
|
+
data: StudioContentListPayload;
|
|
694
|
+
pagination?: PaginationMeta | null;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
export interface ApiResponse_StudioContentPayload_ {
|
|
698
|
+
data: StudioContentPayload;
|
|
699
|
+
pagination?: PaginationMeta | null;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
/** What the copilot is looking at: a document, a selection, a campaign or account. */
|
|
703
|
+
export interface CopilotCanvasContext {
|
|
704
|
+
accountId?: string | null;
|
|
705
|
+
/** {path, content, type, status}. */
|
|
706
|
+
activeDocument?: Record<string, unknown> | null;
|
|
707
|
+
campaignId?: string | null;
|
|
708
|
+
/** {line, column}. */
|
|
709
|
+
cursor?: Record<string, number> | null;
|
|
710
|
+
mode?: "global" | "campaign" | "account";
|
|
711
|
+
/** {text, start_line, end_line}. */
|
|
712
|
+
selection?: Record<string, unknown> | null;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
/** One earlier turn of the conversation. */
|
|
716
|
+
export interface CopilotChatMessage {
|
|
717
|
+
content: string;
|
|
718
|
+
role: "user" | "assistant" | "system" | "tool";
|
|
719
|
+
tool_name?: string | null;
|
|
720
|
+
tool_result?: Record<string, unknown> | null;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
/** One message to the Studio copilot. SPENDS CREDIT. The answer is returned whole. */
|
|
724
|
+
export interface CopilotChatRequest {
|
|
725
|
+
canvas_context?: CopilotCanvasContext | null;
|
|
726
|
+
conversation_history?: Array<CopilotChatMessage> | null;
|
|
727
|
+
/** Results from `POST /copilot/mention-search`. */
|
|
728
|
+
mentions?: Array<Record<string, unknown>> | null;
|
|
729
|
+
message: string;
|
|
730
|
+
/** Multi-step deep research. The most expensive option. */
|
|
731
|
+
research?: boolean;
|
|
732
|
+
session_id?: string | null;
|
|
733
|
+
/** Extended thinking. */
|
|
734
|
+
thinking?: boolean;
|
|
735
|
+
/** Search the web before answering. */
|
|
736
|
+
web_search?: boolean;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
/** A section-level change to a landing page. `edit_section` SPENDS CREDIT. */
|
|
740
|
+
export interface CopilotLandingPageActionRequest {
|
|
741
|
+
action_type: "edit_section" | "add_section" | "remove_section" | "reorder_sections";
|
|
742
|
+
/** For edit_section. */
|
|
743
|
+
instruction?: string | null;
|
|
744
|
+
landing_page_id: string;
|
|
745
|
+
/** For reorder_sections: the new index order. */
|
|
746
|
+
new_order?: Array<number> | null;
|
|
747
|
+
/** For add_section. */
|
|
748
|
+
new_section_type?: string | null;
|
|
749
|
+
/** For edit_section and remove_section. */
|
|
750
|
+
section_idx?: number | null;
|
|
751
|
+
selected_text?: string | null;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
/** An open envelope for a LIST answer, so a bare list keeps its shape. */
|
|
755
|
+
export interface CopilotMemoryListPayload {
|
|
756
|
+
items?: Array<unknown>;
|
|
757
|
+
[key: string]: unknown;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* An open envelope for one memory, wiki or sharing answer.
|
|
762
|
+
*
|
|
763
|
+
* Open because the personal wiki is a DOCUMENT whose sections follow what has
|
|
764
|
+
* been learned about a person, and because each fact carries provenance -
|
|
765
|
+
* which mailbox or meeting it came from - that grows as new sources are
|
|
766
|
+
* connected. Pinning the shape would silently drop the provenance on the
|
|
767
|
+
* newest source, and on a "what do you know about me" surface a fact with no
|
|
768
|
+
* visible origin is worse than no fact.
|
|
769
|
+
*/
|
|
770
|
+
export type CopilotMemoryPayload = Record<string, unknown>;
|
|
771
|
+
|
|
772
|
+
/** Find documents, personas, ICPs, campaigns and teammates to @mention. */
|
|
773
|
+
export interface CopilotMentionSearchRequest {
|
|
774
|
+
campaign_id?: string | null;
|
|
775
|
+
mode?: ("global" | "campaign" | "account") | null;
|
|
776
|
+
query?: string;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
/** A BODY for what the app takes as query scalars. See the module docstring. */
|
|
780
|
+
export interface MemoryCreateRequest {
|
|
781
|
+
/** What to remember, in the caller's own words. */
|
|
782
|
+
content: string;
|
|
783
|
+
/** Who the memory belongs to. `user` - only this person's Copilot recalls it. Left an open string rather than a Literal because the handler treats an unknown scope as a label rather than an error, so closing it here would refuse a call the app accepts. */
|
|
784
|
+
scope?: string;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
/** A BODY for what the app takes as query scalars. See the module docstring. */
|
|
788
|
+
export interface MemoryDocumentAppendRequest {
|
|
789
|
+
/** The text to append. */
|
|
790
|
+
content: string;
|
|
791
|
+
/** Which document to append to. `daily` is the rolling journal and is the default; `memory` and `soul` are the durable ones and are normally written through `PUT /copilot/memory/documents` instead. */
|
|
792
|
+
file_kind?: string;
|
|
793
|
+
/** Which one. */
|
|
794
|
+
subject_id: string;
|
|
795
|
+
/** What the document is about: organization, user, campaign, company or contact. */
|
|
796
|
+
subject_type: string;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
/** Mirror of `MemoryDocumentRequest`. */
|
|
800
|
+
export interface MemoryDocumentRequest {
|
|
801
|
+
/** The WHOLE document. This is an upsert, not an append: it replaces what is there. Use `POST /copilot/memory/documents/append` to add without replacing. */
|
|
802
|
+
content: string;
|
|
803
|
+
/** `soul` - who the subject is. `memory` - durable facts. `daily` - the rolling journal. */
|
|
804
|
+
file_kind: string;
|
|
805
|
+
/** Which one. */
|
|
806
|
+
subject_id: string;
|
|
807
|
+
/** organization | user | campaign | company | contact. */
|
|
808
|
+
subject_type: string;
|
|
809
|
+
/** Display title. */
|
|
810
|
+
title?: string | null;
|
|
811
|
+
/** `shared` - the whole org's Copilot may draw on it. Defaults to shared, matching the app, so a document written without thinking about this is visible org-wide. */
|
|
812
|
+
visibility?: string;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
export interface PaginationMeta {
|
|
816
|
+
/** Whether there are more pages */
|
|
817
|
+
has_next: boolean;
|
|
818
|
+
/** Items per page */
|
|
819
|
+
limit: number;
|
|
820
|
+
/** 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. */
|
|
821
|
+
next_cursor?: string | null;
|
|
822
|
+
/** Current page number (1-indexed) */
|
|
823
|
+
page: number;
|
|
824
|
+
/** Total number of items */
|
|
825
|
+
total: number;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
/** Mirror of `PersonalContactChoiceRequest`. */
|
|
829
|
+
export interface PersonalContactChoiceRequest {
|
|
830
|
+
/** Per-connection revision tokens, keyed by connection id (UUID). */
|
|
831
|
+
connection_revisions?: Record<string, number>;
|
|
832
|
+
/** Concurrency token from the sharing GET. */
|
|
833
|
+
expected_revision: number;
|
|
834
|
+
/** The people (wiki facts) this choice applies to. */
|
|
835
|
+
fact_ids?: Array<string>;
|
|
836
|
+
/** `private` keeps these people to yourself, `shared` offers them to the org's CRM, `default` follows the mailbox-level setting. */
|
|
837
|
+
mode: "default" | "private" | "shared";
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
/** Mirror of `PersonalContactIdentityRequest`. */
|
|
841
|
+
export interface PersonalContactIdentityRequest {
|
|
842
|
+
/** Who they are really about. NULL DETACHES them from whoever they are attributed to now, rather than being ignored - it is how you say 'this is not about anyone in the CRM'. */
|
|
843
|
+
contact_id?: number | null;
|
|
844
|
+
/** Optimistic-concurrency token for the relationship record. */
|
|
845
|
+
expected_version: number;
|
|
846
|
+
/** The facts being re-attributed, all to the same person. */
|
|
847
|
+
fact_ids: Array<string>;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
/** Mirror of `PersonalContactMatchRequest`. */
|
|
851
|
+
export interface PersonalContactMatchRequest {
|
|
852
|
+
/** The CRM contact this contribution is actually about. */
|
|
853
|
+
contact_id: number;
|
|
854
|
+
expected_canonical_revision: string;
|
|
855
|
+
expected_revision: number;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
/** Mirror of `PersonalContactReviewRequest`. */
|
|
859
|
+
export interface PersonalContactReviewRequest {
|
|
860
|
+
/** `keep_current` - the CRM record wins. `use_proposed` - the contributed value wins and overwrites it. */
|
|
861
|
+
choice: "keep_current" | "use_proposed";
|
|
862
|
+
/** Digest of the CANONICAL contact record as you read it. Two tokens are required because two records are in play: the contribution and the contact it would change. Either moving means the decision was made against something that no longer holds. */
|
|
863
|
+
expected_canonical_revision: string;
|
|
864
|
+
/** The contribution's revision. */
|
|
865
|
+
expected_revision: number;
|
|
866
|
+
/** Which field is being decided. */
|
|
867
|
+
field: "CONTACT_FIRST_NAME" | "CONTACT_LAST_NAME" | "CONTACT_JOB_TITLE";
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
/** Mirror of `PersonalContactSharingRequest`. */
|
|
871
|
+
export interface PersonalContactSharingRequest {
|
|
872
|
+
/** Whether what this mailbox knows about a contact is contributed to the organisation's shared CRM record. Explicit rather than a toggle, so a retry is idempotent instead of switching it back. */
|
|
873
|
+
enabled: boolean;
|
|
874
|
+
/** REQUIRED optimistic-concurrency token. Sharing settings decide whether one person's private contact knowledge becomes org-wide, so there is no unconditional write: a blind one could re-enable sharing somebody had just turned off. */
|
|
875
|
+
expected_revision: number;
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
/** Mirror of `PersonalDriveFolderChoice`. */
|
|
879
|
+
export interface PersonalDriveFolderChoice {
|
|
880
|
+
/** Keep reading new documents added to this folder later, not just today's. */
|
|
881
|
+
auto_sync?: boolean;
|
|
882
|
+
/** Drive folder id, as returned by `GET /copilot/personal-wiki/drive`. */
|
|
883
|
+
id: string;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
/** Mirror of `PersonalDriveSelectionRequest`. */
|
|
887
|
+
export interface PersonalDriveSelectionRequest {
|
|
888
|
+
/** Individual Drive documents to read. */
|
|
889
|
+
document_ids?: Array<string>;
|
|
890
|
+
/** Whole folders to read. */
|
|
891
|
+
folders?: Array<PersonalDriveFolderChoice>;
|
|
892
|
+
/** Integer `mailboxes.id` of the connected Google account. */
|
|
893
|
+
mailbox_id: number;
|
|
894
|
+
/** The `fingerprint` from the preview call. When sent, the save is refused (409) if the selection no longer resolves to what you previewed. */
|
|
895
|
+
preview_fingerprint?: string | null;
|
|
896
|
+
/** The sources' `updated_at` from `GET /copilot/personal-wiki/sources`. A mismatch is a 409: someone else changed the selection since you read it. */
|
|
897
|
+
revision?: string | null;
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
/** Mirror of `PersonalLinkedInImportRequest`. */
|
|
901
|
+
export interface PersonalLinkedInImportRequest {
|
|
902
|
+
/** The `revision` from the GET. A stale value is a 409. */
|
|
903
|
+
expected_revision: number;
|
|
904
|
+
/** Re-import the connection list on a schedule. */
|
|
905
|
+
keep_updated?: boolean;
|
|
906
|
+
/** Offer what is learned from these connections to the shared CRM (reviewed first). */
|
|
907
|
+
share?: boolean;
|
|
908
|
+
/** Start an import now, rather than only saving the settings. */
|
|
909
|
+
start?: boolean;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
/** Mirror of `PersonalWikiFactActionRequest` - used by confirm and forget. */
|
|
913
|
+
export interface PersonalWikiFactActionRequest {
|
|
914
|
+
/** The fact. */
|
|
915
|
+
fact_id: string;
|
|
916
|
+
/** Why. Optional, and worth sending on a forget: it is the only record of why something was removed from what the Copilot knows. */
|
|
917
|
+
reason?: string | null;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* Mirror of `PersonalWikiFactCorrectionRequest`.
|
|
922
|
+
*
|
|
923
|
+
* The app declares it as a SUBCLASS of the action request and restates the
|
|
924
|
+
* inherited fields. Flattened here because a generated SDK renders
|
|
925
|
+
* inheritance as a separate schema for no benefit, and the parity test
|
|
926
|
+
* compares the RESOLVED field set, which is identical.
|
|
927
|
+
*/
|
|
928
|
+
export interface PersonalWikiFactCorrectionRequest {
|
|
929
|
+
/** For a fact the Copilot is tracking as a TO-DO rather than as a statement, move it to this state at the same time. Omit it for an ordinary correction. */
|
|
930
|
+
action_state?: ("open" | "in_progress" | "blocked" | "completed" | "cancelled" | "informational") | null;
|
|
931
|
+
fact_id: string;
|
|
932
|
+
reason?: string | null;
|
|
933
|
+
/** What is actually true. Replaces the fact's text. */
|
|
934
|
+
text: string;
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
/** Mirror of `PersonalWikiItemEditRequest`. */
|
|
938
|
+
export interface PersonalWikiItemEditRequest {
|
|
939
|
+
document_id: string;
|
|
940
|
+
/** REQUIRED optimistic-concurrency token - a 64-character digest of the document you read. There is no unconditional write here, on purpose: the wiki is edited by the Copilot as well as by people, so a blind write would silently discard something it had just learned. */
|
|
941
|
+
expected_revision: string;
|
|
942
|
+
/** Field-by-field replacement for this item. Open-shaped because the item schema is per-section and defined by the wiki template. */
|
|
943
|
+
values: Record<string, unknown>;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* Mirror of `PersonalWikiSourcesUpdateRequest`.
|
|
948
|
+
*
|
|
949
|
+
* PARTIAL: the handler applies `exclude_unset`, so an omitted field is left
|
|
950
|
+
* alone and an explicit value changes it. Sending `email_enabled: false` is
|
|
951
|
+
* not the same instruction as omitting it.
|
|
952
|
+
*/
|
|
953
|
+
export interface PersonalWikiSourcesUpdateRequest {
|
|
954
|
+
/** Further mailboxes to read. */
|
|
955
|
+
additional_mailbox_ids?: Array<number> | null;
|
|
956
|
+
/** Read your calendar. */
|
|
957
|
+
calendar_enabled?: boolean | null;
|
|
958
|
+
/** Read the named documents. */
|
|
959
|
+
docs_enabled?: boolean | null;
|
|
960
|
+
/** Which documents, when `docs_enabled`. */
|
|
961
|
+
document_ids?: Array<string> | null;
|
|
962
|
+
/** Whether the Copilot reads your email to build the wiki. Turning this off stops new facts arriving from email; it does not remove what it already learned - use `POST /copilot/personal-wiki/forget` for that. */
|
|
963
|
+
email_enabled?: boolean | null;
|
|
964
|
+
/** The mailbox the wiki draws its email signal from. */
|
|
965
|
+
primary_mailbox_id?: number | null;
|
|
966
|
+
/** Read your Work activity. */
|
|
967
|
+
work_enabled?: boolean | null;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
/** Mirror of `PersonalWikiUpdateRequest`. */
|
|
971
|
+
export interface PersonalWikiUpdateRequest {
|
|
972
|
+
/** The WHOLE wiki document. Replaces what is there. */
|
|
973
|
+
content: string;
|
|
974
|
+
title?: string | null;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
/** Mirror of `PromoteRequest`. */
|
|
978
|
+
export interface PromoteMemoryRequest {
|
|
979
|
+
/** How far back through the daily journal to look for things worth keeping. Promotion is what stops the journal growing forever and the durable memory staying empty. */
|
|
980
|
+
days_back?: number;
|
|
981
|
+
/** Which one. */
|
|
982
|
+
subject_id: string;
|
|
983
|
+
/** organization | user | campaign | company | contact. */
|
|
984
|
+
subject_type: string;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* Mirror of `SoulCaptureRequest`.
|
|
989
|
+
*
|
|
990
|
+
* Every field optional: this is used to fill in whichever of the three
|
|
991
|
+
* documents the caller has, and sending one does not clear the others.
|
|
992
|
+
*/
|
|
993
|
+
export interface SoulCaptureRequest {
|
|
994
|
+
/** Durable org-level facts. */
|
|
995
|
+
org_memory?: string | null;
|
|
996
|
+
/** Who the organisation is. */
|
|
997
|
+
org_soul?: string | null;
|
|
998
|
+
/** Durable facts about this person. */
|
|
999
|
+
user_memory?: string | null;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* A LIST result, open-shaped, with `items` always present.
|
|
1004
|
+
*
|
|
1005
|
+
* The app returns a bare list from some routes and a named key from others
|
|
1006
|
+
* (`pages`, `grids`, `images`, `creatives`, `reports`, `items`). Both are
|
|
1007
|
+
* published: the original key is preserved AND mirrored onto `items`, so a
|
|
1008
|
+
* client can page any Studio collection the same way without a per-route
|
|
1009
|
+
* lookup table.
|
|
1010
|
+
*/
|
|
1011
|
+
export interface StudioContentListPayload {
|
|
1012
|
+
items?: Array<unknown>;
|
|
1013
|
+
[key: string]: unknown;
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
/** One Studio object, open-shaped. See the module docstring. */
|
|
1017
|
+
export type StudioContentPayload = Record<string, unknown>;
|