@graph8/sdk 0.5.0 → 0.5.3

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/dist/index.d.mts CHANGED
@@ -133,10 +133,13 @@ interface ResearchReport {
133
133
  * GET /api/v1/research-reports
134
134
  */
135
135
  declare const createStudioClient: (apiKey: string, apiUrl?: string) => {
136
- /** Org-level Studio documents (brand_brief, value_props, messaging_house, etc.). */
136
+ /** Org-level Studio documents (brand_brief, value_props, messaging_house, etc.).
137
+ * `include_content` defaults to true server-side, so each document includes
138
+ * its `content` body unless you explicitly pass `include_content: false`. */
137
139
  globalContext(params?: {
138
140
  category?: string;
139
141
  limit?: number;
142
+ include_content?: boolean;
140
143
  }): Promise<{
141
144
  data: GlobalContextDocument[];
142
145
  }>;
@@ -1374,6 +1377,14 @@ interface Task {
1374
1377
  created_by: string | null;
1375
1378
  created_at: string | null;
1376
1379
  updated_at: string | null;
1380
+ /** Parent task UUID when this row is a subtask, else null. One level deep. */
1381
+ parent_task_id?: string | null;
1382
+ /** Sort position within the parent's subtasks. 0 when not a subtask. */
1383
+ subtask_sort_order?: number | null;
1384
+ /** Number of subtasks under this task (top-level rows only). */
1385
+ subtask_count?: number | null;
1386
+ /** Subset of subtask_count whose status is "completed". */
1387
+ completed_subtask_count?: number | null;
1377
1388
  }
1378
1389
  interface TaskCreateParams {
1379
1390
  title: string;
@@ -1383,6 +1394,16 @@ interface TaskCreateParams {
1383
1394
  assignee_id?: string;
1384
1395
  /** 0=none, 1=urgent, 2=high, 3=normal, 4=low */
1385
1396
  priority?: number;
1397
+ /**
1398
+ * When set, the new task is created as a subtask of this parent. Parent
1399
+ * must exist and must not itself be a subtask (subtasks are one level
1400
+ * deep).
1401
+ */
1402
+ parent_task_id?: string;
1403
+ /**
1404
+ * Sort position within the parent's subtasks. Omit to append at the end.
1405
+ */
1406
+ subtask_sort_order?: number;
1386
1407
  }
1387
1408
  interface TaskUpdateParams {
1388
1409
  title?: string;
@@ -1392,6 +1413,14 @@ interface TaskUpdateParams {
1392
1413
  /** "open" | "completed" */
1393
1414
  status?: string;
1394
1415
  priority?: number;
1416
+ /**
1417
+ * Re-parent this task into a subtask of the given parent. Parent must
1418
+ * exist, must not itself be a subtask, and a task that already has
1419
+ * subtasks of its own cannot be demoted into a subtask.
1420
+ */
1421
+ parent_task_id?: string;
1422
+ /** Reorder within the parent's subtasks. Can be sent alone. */
1423
+ subtask_sort_order?: number;
1395
1424
  }
1396
1425
  interface TaskListParams {
1397
1426
  /** "open" | "completed" */
@@ -2192,6 +2221,8 @@ interface SequenceListParams {
2192
2221
  limit?: number;
2193
2222
  /** Filter by sequence status (e.g. "live", "draft", "paused"). */
2194
2223
  status?: string;
2224
+ /** Filter by sequence kind ("cold_outbound" or "nurture"). Omit to list all kinds. */
2225
+ sequence_kind?: SequenceKind;
2195
2226
  }
2196
2227
  interface SequenceDetail {
2197
2228
  id: string;
@@ -2205,6 +2236,10 @@ interface SequenceDetail {
2205
2236
  wait_for_new_contacts: boolean;
2206
2237
  paused_at: string | null;
2207
2238
  resumed_at: string | null;
2239
+ /** Sequence kind. Immutable after creation. "cold_outbound" (default) or "nurture". */
2240
+ sequence_kind?: string | null;
2241
+ /** Pinned mailbox for nurture sequences; null for cold_outbound. Immutable. */
2242
+ pinned_mailbox_id?: number | null;
2208
2243
  created_at: string | null;
2209
2244
  updated_at: string | null;
2210
2245
  }
@@ -2249,6 +2284,13 @@ interface SequenceChannelConfig {
2249
2284
  channel_type: string;
2250
2285
  channel_data?: Record<string, unknown>;
2251
2286
  }
2287
+ /**
2288
+ * Sequence kind. A "nurture" is an ordinary sequence with `sequence_kind:
2289
+ * "nurture"` — same step types as cold outreach, but pinned to a single mailbox
2290
+ * with a higher daily email cap. There is no separate nurture client; create one
2291
+ * via `sequences.create({ sequence_kind: "nurture", pinned_mailbox_id })`.
2292
+ */
2293
+ type SequenceKind = "cold_outbound" | "nurture";
2252
2294
  interface SequenceCreateParams {
2253
2295
  name: string;
2254
2296
  user_email: string;
@@ -2260,6 +2302,18 @@ interface SequenceCreateParams {
2260
2302
  steps?: SequenceStepConfig[];
2261
2303
  channels?: SequenceChannelConfig[];
2262
2304
  campaign_id?: string;
2305
+ /**
2306
+ * Sequence kind. Defaults to "cold_outbound" server-side. Immutable after
2307
+ * creation. "nurture" requires `pinned_mailbox_id` and is gated by the
2308
+ * ENABLE_NURTURE feature flag.
2309
+ */
2310
+ sequence_kind?: SequenceKind;
2311
+ /**
2312
+ * Mailbox to pin for a nurture sequence. Required when
2313
+ * `sequence_kind: "nurture"`; all email channels must use this mailbox.
2314
+ * Ignored for cold_outbound sequences.
2315
+ */
2316
+ pinned_mailbox_id?: number;
2263
2317
  }
2264
2318
  interface SequenceCreateResult {
2265
2319
  id: string;
@@ -3343,6 +3397,7 @@ declare class G8 {
3343
3397
  globalContext(params?: {
3344
3398
  category?: string;
3345
3399
  limit?: number;
3400
+ include_content?: boolean;
3346
3401
  }): Promise<{
3347
3402
  data: GlobalContextDocument[];
3348
3403
  }>;
@@ -3394,4 +3449,4 @@ declare class G8 {
3394
3449
  /** Singleton g8 client instance. */
3395
3450
  declare const g8: G8;
3396
3451
 
3397
- export { type AddToSequenceConfig, type AnalyticsOverview, type Booking, type BookingRequest, type CalendarConfig, type CallAnalysis, type CallGradingResult, type Campaign, type CampaignCreateConfig, type CampaignStats, type ChatConfig, type Company, type CompanyColumn, type CompanyColumnCreateParams, type CompanyContact, type CompanyEnrichment, type CompanyListParams, type CompanyUpdateParams, type Contact, type ContactColumn, type ContactColumnCreateParams, type ContactCreateParams, type ContactDeal, type ContactList, type ContactListParams, type ContactUpdateParams, type CopilotConfig, type CreatedField, type Deal, type DealCreateParams, type DealListParams, type DealUpdateParams, type DialerAgentSummary, type DialerAgentsListParams, type DialerAgentsListResult, type DialerNumberInfo, type DialerNumbersListResult, type DialerReportFilters, type DialerReportMetric, type DialerSessionCreateParams, type DialerSessionCreateResult, type DialerSessionResumeResult, type DialerSessionStatus, type DialerSessionStatusUpdateResult, type DialerSessionSummary, type DialerSessionsListParams, type DialerSessionsListResult, type DialerStatsParams, type DialerStatsResult, type EmailVerification, type EnrichLookupResult, type EvidenceKey, type Field, type FieldCreateParams, type FieldDeleteParams, type G8Config, type G8PrivacyConfig, type GlobalContextDocument, type ICP, type IdentifyProperties, type InboxAssignResult, type InboxAssignee, type InboxChannel, type InboxContact, type InboxDraft, type InboxListParams, type InboxMessage, type InboxSendParams, type InboxSendResult, type InboxTag, type InboxTagResult, type InboxThread, type Integration, type IntelligenceData, type IntentCompany, type IntentContact, type IntentKeyword, type IntentPage, type IntentSignals, type IntentStats, type IntentVisitor, type LandingPage, type ListContact, type MeetingAnalysis, type MeetingAttendee, type MeetingDetail, type MeetingListParams, type MeetingSummary, type MeetingTranscriptLine, type MissedCallback, type MissedCallbacksResult, type NodeTypeSchema, type Note, type PaginationMeta$1 as PaginationMeta, type PersonEnrichment, type Persona, type Pipeline, type PipelineStage, type PipelineSuggestion, type QuotableProduct, type QuoteCreateParams, type QuoteDetail, type QuoteLineItem, type QuoteListParams, type QuoteSendParams, type QuoteSettings, type QuoteStatus, type QuoteSummary, type QuoteUpdateParams, type ResearchReport, type SearchFilter, type SearchResults, type Sequence, type SequenceActionResult, type SequenceAnalytics, type SequenceChannelConfig, type SequenceContactItem, type SequenceContactsParams, type SequenceCreateParams, type SequenceCreateResult, type SequenceDetail, type SequenceListItem, type SequenceListParams, type SequencePreview, type SequencePreviewChannel, type SequencePreviewStep, type SequenceStepConfig, type SequenceStepInputType, type SequenceStepType, type SequenceStepUpdateParams, type SequenceUpdateParams, type SetFieldValueParams, type Skill, type SkillCreateAPIParams, type SkillCreateLLMParams, type SkillInputField, type SkillListParams, type SkillTemplate, type SkillType, type SkillUpdateAPIParams, type SkillUpdateLLMParams, type StageCreateParams, type StagePipeline, type StagePipelineCreateParams, type StagePipelineStage, type StagePipelineUpdateParams, type StageUpdateParams, type Task, type TaskCreateParams, type TaskListParams, type TaskUpdateParams, type TimeSlot, type TrackProperties, type VisitorCompany, type VisitorScore, type VoicePagination, type VoiceSession, type WebhookEvent, type Workflow, type WorkflowConfig, type WorkflowConnection, type WorkflowCreateParams, type WorkflowExecution, type WorkflowListParams, type WorkflowNode, type WorkflowUpdateParams, g8 };
3452
+ export { type AddToSequenceConfig, type AnalyticsOverview, type Booking, type BookingRequest, type CalendarConfig, type CallAnalysis, type CallGradingResult, type Campaign, type CampaignCreateConfig, type CampaignStats, type ChatConfig, type Company, type CompanyColumn, type CompanyColumnCreateParams, type CompanyContact, type CompanyEnrichment, type CompanyListParams, type CompanyUpdateParams, type Contact, type ContactColumn, type ContactColumnCreateParams, type ContactCreateParams, type ContactDeal, type ContactList, type ContactListParams, type ContactUpdateParams, type CopilotConfig, type CreatedField, type Deal, type DealCreateParams, type DealListParams, type DealUpdateParams, type DialerAgentSummary, type DialerAgentsListParams, type DialerAgentsListResult, type DialerNumberInfo, type DialerNumbersListResult, type DialerReportFilters, type DialerReportMetric, type DialerSessionCreateParams, type DialerSessionCreateResult, type DialerSessionResumeResult, type DialerSessionStatus, type DialerSessionStatusUpdateResult, type DialerSessionSummary, type DialerSessionsListParams, type DialerSessionsListResult, type DialerStatsParams, type DialerStatsResult, type EmailVerification, type EnrichLookupResult, type EvidenceKey, type Field, type FieldCreateParams, type FieldDeleteParams, type G8Config, type G8PrivacyConfig, type GlobalContextDocument, type ICP, type IdentifyProperties, type InboxAssignResult, type InboxAssignee, type InboxChannel, type InboxContact, type InboxDraft, type InboxListParams, type InboxMessage, type InboxSendParams, type InboxSendResult, type InboxTag, type InboxTagResult, type InboxThread, type Integration, type IntelligenceData, type IntentCompany, type IntentContact, type IntentKeyword, type IntentPage, type IntentSignals, type IntentStats, type IntentVisitor, type LandingPage, type ListContact, type MeetingAnalysis, type MeetingAttendee, type MeetingDetail, type MeetingListParams, type MeetingSummary, type MeetingTranscriptLine, type MissedCallback, type MissedCallbacksResult, type NodeTypeSchema, type Note, type PaginationMeta$1 as PaginationMeta, type PersonEnrichment, type Persona, type Pipeline, type PipelineStage, type PipelineSuggestion, type QuotableProduct, type QuoteCreateParams, type QuoteDetail, type QuoteLineItem, type QuoteListParams, type QuoteSendParams, type QuoteSettings, type QuoteStatus, type QuoteSummary, type QuoteUpdateParams, type ResearchReport, type SearchFilter, type SearchResults, type Sequence, type SequenceActionResult, type SequenceAnalytics, type SequenceChannelConfig, type SequenceContactItem, type SequenceContactsParams, type SequenceCreateParams, type SequenceCreateResult, type SequenceDetail, type SequenceKind, type SequenceListItem, type SequenceListParams, type SequencePreview, type SequencePreviewChannel, type SequencePreviewStep, type SequenceStepConfig, type SequenceStepInputType, type SequenceStepType, type SequenceStepUpdateParams, type SequenceUpdateParams, type SetFieldValueParams, type Skill, type SkillCreateAPIParams, type SkillCreateLLMParams, type SkillInputField, type SkillListParams, type SkillTemplate, type SkillType, type SkillUpdateAPIParams, type SkillUpdateLLMParams, type StageCreateParams, type StagePipeline, type StagePipelineCreateParams, type StagePipelineStage, type StagePipelineUpdateParams, type StageUpdateParams, type Task, type TaskCreateParams, type TaskListParams, type TaskUpdateParams, type TimeSlot, type TrackProperties, type VisitorCompany, type VisitorScore, type VoicePagination, type VoiceSession, type WebhookEvent, type Workflow, type WorkflowConfig, type WorkflowConnection, type WorkflowCreateParams, type WorkflowExecution, type WorkflowListParams, type WorkflowNode, type WorkflowUpdateParams, g8 };
package/dist/index.d.ts CHANGED
@@ -133,10 +133,13 @@ interface ResearchReport {
133
133
  * GET /api/v1/research-reports
134
134
  */
135
135
  declare const createStudioClient: (apiKey: string, apiUrl?: string) => {
136
- /** Org-level Studio documents (brand_brief, value_props, messaging_house, etc.). */
136
+ /** Org-level Studio documents (brand_brief, value_props, messaging_house, etc.).
137
+ * `include_content` defaults to true server-side, so each document includes
138
+ * its `content` body unless you explicitly pass `include_content: false`. */
137
139
  globalContext(params?: {
138
140
  category?: string;
139
141
  limit?: number;
142
+ include_content?: boolean;
140
143
  }): Promise<{
141
144
  data: GlobalContextDocument[];
142
145
  }>;
@@ -1374,6 +1377,14 @@ interface Task {
1374
1377
  created_by: string | null;
1375
1378
  created_at: string | null;
1376
1379
  updated_at: string | null;
1380
+ /** Parent task UUID when this row is a subtask, else null. One level deep. */
1381
+ parent_task_id?: string | null;
1382
+ /** Sort position within the parent's subtasks. 0 when not a subtask. */
1383
+ subtask_sort_order?: number | null;
1384
+ /** Number of subtasks under this task (top-level rows only). */
1385
+ subtask_count?: number | null;
1386
+ /** Subset of subtask_count whose status is "completed". */
1387
+ completed_subtask_count?: number | null;
1377
1388
  }
1378
1389
  interface TaskCreateParams {
1379
1390
  title: string;
@@ -1383,6 +1394,16 @@ interface TaskCreateParams {
1383
1394
  assignee_id?: string;
1384
1395
  /** 0=none, 1=urgent, 2=high, 3=normal, 4=low */
1385
1396
  priority?: number;
1397
+ /**
1398
+ * When set, the new task is created as a subtask of this parent. Parent
1399
+ * must exist and must not itself be a subtask (subtasks are one level
1400
+ * deep).
1401
+ */
1402
+ parent_task_id?: string;
1403
+ /**
1404
+ * Sort position within the parent's subtasks. Omit to append at the end.
1405
+ */
1406
+ subtask_sort_order?: number;
1386
1407
  }
1387
1408
  interface TaskUpdateParams {
1388
1409
  title?: string;
@@ -1392,6 +1413,14 @@ interface TaskUpdateParams {
1392
1413
  /** "open" | "completed" */
1393
1414
  status?: string;
1394
1415
  priority?: number;
1416
+ /**
1417
+ * Re-parent this task into a subtask of the given parent. Parent must
1418
+ * exist, must not itself be a subtask, and a task that already has
1419
+ * subtasks of its own cannot be demoted into a subtask.
1420
+ */
1421
+ parent_task_id?: string;
1422
+ /** Reorder within the parent's subtasks. Can be sent alone. */
1423
+ subtask_sort_order?: number;
1395
1424
  }
1396
1425
  interface TaskListParams {
1397
1426
  /** "open" | "completed" */
@@ -2192,6 +2221,8 @@ interface SequenceListParams {
2192
2221
  limit?: number;
2193
2222
  /** Filter by sequence status (e.g. "live", "draft", "paused"). */
2194
2223
  status?: string;
2224
+ /** Filter by sequence kind ("cold_outbound" or "nurture"). Omit to list all kinds. */
2225
+ sequence_kind?: SequenceKind;
2195
2226
  }
2196
2227
  interface SequenceDetail {
2197
2228
  id: string;
@@ -2205,6 +2236,10 @@ interface SequenceDetail {
2205
2236
  wait_for_new_contacts: boolean;
2206
2237
  paused_at: string | null;
2207
2238
  resumed_at: string | null;
2239
+ /** Sequence kind. Immutable after creation. "cold_outbound" (default) or "nurture". */
2240
+ sequence_kind?: string | null;
2241
+ /** Pinned mailbox for nurture sequences; null for cold_outbound. Immutable. */
2242
+ pinned_mailbox_id?: number | null;
2208
2243
  created_at: string | null;
2209
2244
  updated_at: string | null;
2210
2245
  }
@@ -2249,6 +2284,13 @@ interface SequenceChannelConfig {
2249
2284
  channel_type: string;
2250
2285
  channel_data?: Record<string, unknown>;
2251
2286
  }
2287
+ /**
2288
+ * Sequence kind. A "nurture" is an ordinary sequence with `sequence_kind:
2289
+ * "nurture"` — same step types as cold outreach, but pinned to a single mailbox
2290
+ * with a higher daily email cap. There is no separate nurture client; create one
2291
+ * via `sequences.create({ sequence_kind: "nurture", pinned_mailbox_id })`.
2292
+ */
2293
+ type SequenceKind = "cold_outbound" | "nurture";
2252
2294
  interface SequenceCreateParams {
2253
2295
  name: string;
2254
2296
  user_email: string;
@@ -2260,6 +2302,18 @@ interface SequenceCreateParams {
2260
2302
  steps?: SequenceStepConfig[];
2261
2303
  channels?: SequenceChannelConfig[];
2262
2304
  campaign_id?: string;
2305
+ /**
2306
+ * Sequence kind. Defaults to "cold_outbound" server-side. Immutable after
2307
+ * creation. "nurture" requires `pinned_mailbox_id` and is gated by the
2308
+ * ENABLE_NURTURE feature flag.
2309
+ */
2310
+ sequence_kind?: SequenceKind;
2311
+ /**
2312
+ * Mailbox to pin for a nurture sequence. Required when
2313
+ * `sequence_kind: "nurture"`; all email channels must use this mailbox.
2314
+ * Ignored for cold_outbound sequences.
2315
+ */
2316
+ pinned_mailbox_id?: number;
2263
2317
  }
2264
2318
  interface SequenceCreateResult {
2265
2319
  id: string;
@@ -3343,6 +3397,7 @@ declare class G8 {
3343
3397
  globalContext(params?: {
3344
3398
  category?: string;
3345
3399
  limit?: number;
3400
+ include_content?: boolean;
3346
3401
  }): Promise<{
3347
3402
  data: GlobalContextDocument[];
3348
3403
  }>;
@@ -3394,4 +3449,4 @@ declare class G8 {
3394
3449
  /** Singleton g8 client instance. */
3395
3450
  declare const g8: G8;
3396
3451
 
3397
- export { type AddToSequenceConfig, type AnalyticsOverview, type Booking, type BookingRequest, type CalendarConfig, type CallAnalysis, type CallGradingResult, type Campaign, type CampaignCreateConfig, type CampaignStats, type ChatConfig, type Company, type CompanyColumn, type CompanyColumnCreateParams, type CompanyContact, type CompanyEnrichment, type CompanyListParams, type CompanyUpdateParams, type Contact, type ContactColumn, type ContactColumnCreateParams, type ContactCreateParams, type ContactDeal, type ContactList, type ContactListParams, type ContactUpdateParams, type CopilotConfig, type CreatedField, type Deal, type DealCreateParams, type DealListParams, type DealUpdateParams, type DialerAgentSummary, type DialerAgentsListParams, type DialerAgentsListResult, type DialerNumberInfo, type DialerNumbersListResult, type DialerReportFilters, type DialerReportMetric, type DialerSessionCreateParams, type DialerSessionCreateResult, type DialerSessionResumeResult, type DialerSessionStatus, type DialerSessionStatusUpdateResult, type DialerSessionSummary, type DialerSessionsListParams, type DialerSessionsListResult, type DialerStatsParams, type DialerStatsResult, type EmailVerification, type EnrichLookupResult, type EvidenceKey, type Field, type FieldCreateParams, type FieldDeleteParams, type G8Config, type G8PrivacyConfig, type GlobalContextDocument, type ICP, type IdentifyProperties, type InboxAssignResult, type InboxAssignee, type InboxChannel, type InboxContact, type InboxDraft, type InboxListParams, type InboxMessage, type InboxSendParams, type InboxSendResult, type InboxTag, type InboxTagResult, type InboxThread, type Integration, type IntelligenceData, type IntentCompany, type IntentContact, type IntentKeyword, type IntentPage, type IntentSignals, type IntentStats, type IntentVisitor, type LandingPage, type ListContact, type MeetingAnalysis, type MeetingAttendee, type MeetingDetail, type MeetingListParams, type MeetingSummary, type MeetingTranscriptLine, type MissedCallback, type MissedCallbacksResult, type NodeTypeSchema, type Note, type PaginationMeta$1 as PaginationMeta, type PersonEnrichment, type Persona, type Pipeline, type PipelineStage, type PipelineSuggestion, type QuotableProduct, type QuoteCreateParams, type QuoteDetail, type QuoteLineItem, type QuoteListParams, type QuoteSendParams, type QuoteSettings, type QuoteStatus, type QuoteSummary, type QuoteUpdateParams, type ResearchReport, type SearchFilter, type SearchResults, type Sequence, type SequenceActionResult, type SequenceAnalytics, type SequenceChannelConfig, type SequenceContactItem, type SequenceContactsParams, type SequenceCreateParams, type SequenceCreateResult, type SequenceDetail, type SequenceListItem, type SequenceListParams, type SequencePreview, type SequencePreviewChannel, type SequencePreviewStep, type SequenceStepConfig, type SequenceStepInputType, type SequenceStepType, type SequenceStepUpdateParams, type SequenceUpdateParams, type SetFieldValueParams, type Skill, type SkillCreateAPIParams, type SkillCreateLLMParams, type SkillInputField, type SkillListParams, type SkillTemplate, type SkillType, type SkillUpdateAPIParams, type SkillUpdateLLMParams, type StageCreateParams, type StagePipeline, type StagePipelineCreateParams, type StagePipelineStage, type StagePipelineUpdateParams, type StageUpdateParams, type Task, type TaskCreateParams, type TaskListParams, type TaskUpdateParams, type TimeSlot, type TrackProperties, type VisitorCompany, type VisitorScore, type VoicePagination, type VoiceSession, type WebhookEvent, type Workflow, type WorkflowConfig, type WorkflowConnection, type WorkflowCreateParams, type WorkflowExecution, type WorkflowListParams, type WorkflowNode, type WorkflowUpdateParams, g8 };
3452
+ export { type AddToSequenceConfig, type AnalyticsOverview, type Booking, type BookingRequest, type CalendarConfig, type CallAnalysis, type CallGradingResult, type Campaign, type CampaignCreateConfig, type CampaignStats, type ChatConfig, type Company, type CompanyColumn, type CompanyColumnCreateParams, type CompanyContact, type CompanyEnrichment, type CompanyListParams, type CompanyUpdateParams, type Contact, type ContactColumn, type ContactColumnCreateParams, type ContactCreateParams, type ContactDeal, type ContactList, type ContactListParams, type ContactUpdateParams, type CopilotConfig, type CreatedField, type Deal, type DealCreateParams, type DealListParams, type DealUpdateParams, type DialerAgentSummary, type DialerAgentsListParams, type DialerAgentsListResult, type DialerNumberInfo, type DialerNumbersListResult, type DialerReportFilters, type DialerReportMetric, type DialerSessionCreateParams, type DialerSessionCreateResult, type DialerSessionResumeResult, type DialerSessionStatus, type DialerSessionStatusUpdateResult, type DialerSessionSummary, type DialerSessionsListParams, type DialerSessionsListResult, type DialerStatsParams, type DialerStatsResult, type EmailVerification, type EnrichLookupResult, type EvidenceKey, type Field, type FieldCreateParams, type FieldDeleteParams, type G8Config, type G8PrivacyConfig, type GlobalContextDocument, type ICP, type IdentifyProperties, type InboxAssignResult, type InboxAssignee, type InboxChannel, type InboxContact, type InboxDraft, type InboxListParams, type InboxMessage, type InboxSendParams, type InboxSendResult, type InboxTag, type InboxTagResult, type InboxThread, type Integration, type IntelligenceData, type IntentCompany, type IntentContact, type IntentKeyword, type IntentPage, type IntentSignals, type IntentStats, type IntentVisitor, type LandingPage, type ListContact, type MeetingAnalysis, type MeetingAttendee, type MeetingDetail, type MeetingListParams, type MeetingSummary, type MeetingTranscriptLine, type MissedCallback, type MissedCallbacksResult, type NodeTypeSchema, type Note, type PaginationMeta$1 as PaginationMeta, type PersonEnrichment, type Persona, type Pipeline, type PipelineStage, type PipelineSuggestion, type QuotableProduct, type QuoteCreateParams, type QuoteDetail, type QuoteLineItem, type QuoteListParams, type QuoteSendParams, type QuoteSettings, type QuoteStatus, type QuoteSummary, type QuoteUpdateParams, type ResearchReport, type SearchFilter, type SearchResults, type Sequence, type SequenceActionResult, type SequenceAnalytics, type SequenceChannelConfig, type SequenceContactItem, type SequenceContactsParams, type SequenceCreateParams, type SequenceCreateResult, type SequenceDetail, type SequenceKind, type SequenceListItem, type SequenceListParams, type SequencePreview, type SequencePreviewChannel, type SequencePreviewStep, type SequenceStepConfig, type SequenceStepInputType, type SequenceStepType, type SequenceStepUpdateParams, type SequenceUpdateParams, type SetFieldValueParams, type Skill, type SkillCreateAPIParams, type SkillCreateLLMParams, type SkillInputField, type SkillListParams, type SkillTemplate, type SkillType, type SkillUpdateAPIParams, type SkillUpdateLLMParams, type StageCreateParams, type StagePipeline, type StagePipelineCreateParams, type StagePipelineStage, type StagePipelineUpdateParams, type StageUpdateParams, type Task, type TaskCreateParams, type TaskListParams, type TaskUpdateParams, type TimeSlot, type TrackProperties, type VisitorCompany, type VisitorScore, type VoicePagination, type VoiceSession, type WebhookEvent, type Workflow, type WorkflowConfig, type WorkflowConnection, type WorkflowCreateParams, type WorkflowExecution, type WorkflowListParams, type WorkflowNode, type WorkflowUpdateParams, g8 };
package/dist/index.js CHANGED
@@ -1991,7 +1991,9 @@ var createStudioClient = (apiKey, apiUrl) => {
1991
1991
  return resp.json();
1992
1992
  };
1993
1993
  return {
1994
- /** Org-level Studio documents (brand_brief, value_props, messaging_house, etc.). */
1994
+ /** Org-level Studio documents (brand_brief, value_props, messaging_house, etc.).
1995
+ * `include_content` defaults to true server-side, so each document includes
1996
+ * its `content` body unless you explicitly pass `include_content: false`. */
1995
1997
  async globalContext(params = {}) {
1996
1998
  return get("/global-context/documents", params);
1997
1999
  },