@heymantle/core-api-client 0.1.25 → 0.1.26

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
@@ -2730,6 +2730,10 @@ interface MeetingAttendee {
2730
2730
  talkTime?: number | null;
2731
2731
  /** Total word count */
2732
2732
  wordCount?: number | null;
2733
+ /** Attendee sentiment score (-1 to 1). Populated by AI enrichment. */
2734
+ sentiment?: number | null;
2735
+ /** Attendee engagement score (0 to 1). Populated by AI enrichment. */
2736
+ engagementScore?: number | null;
2733
2737
  /** Associated Mantle user */
2734
2738
  user?: {
2735
2739
  id: string;
@@ -2813,6 +2817,28 @@ interface Meeting {
2813
2817
  recordingUrl?: string | null;
2814
2818
  /** Recording status: pending, processing, ready, failed */
2815
2819
  recordingStatus?: string | null;
2820
+ /** AI enrichment status: pending, processing, completed, failed */
2821
+ aiEnrichmentStatus?: string | null;
2822
+ /** When AI enrichment was last completed */
2823
+ aiEnrichedAt?: string | null;
2824
+ /** AI-generated meeting summary */
2825
+ aiSummary?: string | null;
2826
+ /** AI-extracted key points */
2827
+ aiKeyPoints?: MeetingKeyPoint[];
2828
+ /** AI-extracted decisions */
2829
+ aiDecisions?: MeetingDecision[];
2830
+ /** AI-extracted open questions */
2831
+ aiOpenQuestions?: MeetingOpenQuestion[];
2832
+ /** AI-extracted topics */
2833
+ aiTopics?: MeetingTopic[];
2834
+ /** Overall meeting sentiment (-1 to 1) */
2835
+ overallSentiment?: number | null;
2836
+ /** Sentiment over time */
2837
+ sentimentTrend?: SentimentDataPoint[];
2838
+ /** AI-extracted deal insights */
2839
+ aiDealInsights?: MeetingDealInsights | null;
2840
+ /** AI-suggested tasks */
2841
+ taskSuggestions?: MeetingTaskSuggestion[];
2816
2842
  deal?: {
2817
2843
  id: string;
2818
2844
  name?: string;
@@ -3019,6 +3045,102 @@ interface MeetingAttendeeUpdateParams {
3019
3045
  interface MeetingAttendeeUpdateResponse {
3020
3046
  attendee: MeetingAttendee;
3021
3047
  }
3048
+ /**
3049
+ * A key point extracted from the meeting by AI
3050
+ */
3051
+ interface MeetingKeyPoint {
3052
+ point: string;
3053
+ speaker?: string | null;
3054
+ timestampMs?: number | null;
3055
+ }
3056
+ /**
3057
+ * A decision extracted from the meeting by AI
3058
+ */
3059
+ interface MeetingDecision {
3060
+ decision: string;
3061
+ context?: string | null;
3062
+ }
3063
+ /**
3064
+ * An open question extracted from the meeting by AI
3065
+ */
3066
+ interface MeetingOpenQuestion {
3067
+ question: string;
3068
+ askedBy?: string | null;
3069
+ }
3070
+ /**
3071
+ * A topic discussed in the meeting, extracted by AI
3072
+ */
3073
+ interface MeetingTopic {
3074
+ topic: string;
3075
+ relevance: number;
3076
+ }
3077
+ /**
3078
+ * A sentiment data point representing sentiment at a point in time
3079
+ */
3080
+ interface SentimentDataPoint {
3081
+ timestampMs: number;
3082
+ sentiment: number;
3083
+ }
3084
+ /**
3085
+ * Deal-related insights extracted by AI
3086
+ */
3087
+ interface MeetingDealInsights {
3088
+ objections: Array<{
3089
+ objection: string;
3090
+ speaker?: string | null;
3091
+ severity: string;
3092
+ }>;
3093
+ competitorMentions: Array<{
3094
+ competitor: string;
3095
+ context: string;
3096
+ sentiment: string;
3097
+ }>;
3098
+ budgetDiscussions: Array<{
3099
+ quote: string;
3100
+ implication: string;
3101
+ }>;
3102
+ timelineMentions: Array<{
3103
+ quote: string;
3104
+ inferredDate?: string | null;
3105
+ }>;
3106
+ buyingSignals: string[];
3107
+ riskIndicators: string[];
3108
+ }
3109
+ /**
3110
+ * An AI-generated task suggestion from a meeting
3111
+ */
3112
+ interface MeetingTaskSuggestion {
3113
+ id: string;
3114
+ title: string;
3115
+ description?: string | null;
3116
+ priority: string;
3117
+ suggestedAssigneeId?: string | null;
3118
+ suggestedDueDate?: string | null;
3119
+ triggerPhrase?: string | null;
3120
+ status: string;
3121
+ createdTaskId?: string | null;
3122
+ createdAt?: string | null;
3123
+ }
3124
+ /**
3125
+ * Parameters for accepting a task suggestion with optional overrides
3126
+ */
3127
+ interface AcceptTaskSuggestionParams {
3128
+ title?: string;
3129
+ description?: string;
3130
+ priority?: string;
3131
+ dueDate?: string;
3132
+ assigneeId?: string;
3133
+ }
3134
+ /**
3135
+ * Response from accepting a task suggestion
3136
+ */
3137
+ interface AcceptTaskSuggestionResponse {
3138
+ task: {
3139
+ id: string;
3140
+ title: string;
3141
+ };
3142
+ suggestion: MeetingTaskSuggestion;
3143
+ }
3022
3144
 
3023
3145
  /**
3024
3146
  * Resource for managing customers
@@ -4751,6 +4873,52 @@ declare class MeetingsResource extends BaseResource {
4751
4873
  recordingUrl: string;
4752
4874
  expiresIn: number;
4753
4875
  }>;
4876
+ /**
4877
+ * Accept an AI-generated task suggestion
4878
+ *
4879
+ * Creates a real Task from the suggestion. Optional overrides allow
4880
+ * modifying the title, description, priority, due date, or assignee
4881
+ * before creating the task.
4882
+ *
4883
+ * @param meetingId - The meeting ID
4884
+ * @param suggestionId - The task suggestion ID
4885
+ * @param overrides - Optional fields to override on the created task
4886
+ * @returns The created task and updated suggestion
4887
+ *
4888
+ * @example
4889
+ * ```typescript
4890
+ * // Accept a suggestion as-is
4891
+ * const { task, suggestion } = await client.meetings.acceptTaskSuggestion(
4892
+ * 'meeting_123',
4893
+ * 'suggestion_456'
4894
+ * );
4895
+ *
4896
+ * // Accept with overrides
4897
+ * const { task } = await client.meetings.acceptTaskSuggestion(
4898
+ * 'meeting_123',
4899
+ * 'suggestion_456',
4900
+ * { title: 'Custom title', priority: 'high' }
4901
+ * );
4902
+ * ```
4903
+ */
4904
+ acceptTaskSuggestion(meetingId: string, suggestionId: string, overrides?: AcceptTaskSuggestionParams): Promise<AcceptTaskSuggestionResponse>;
4905
+ /**
4906
+ * Dismiss an AI-generated task suggestion
4907
+ *
4908
+ * Marks the suggestion as dismissed so it no longer appears as pending.
4909
+ *
4910
+ * @param meetingId - The meeting ID
4911
+ * @param suggestionId - The task suggestion ID
4912
+ * @returns Success response
4913
+ *
4914
+ * @example
4915
+ * ```typescript
4916
+ * await client.meetings.dismissTaskSuggestion('meeting_123', 'suggestion_456');
4917
+ * ```
4918
+ */
4919
+ dismissTaskSuggestion(meetingId: string, suggestionId: string): Promise<{
4920
+ success: boolean;
4921
+ }>;
4754
4922
  }
4755
4923
 
4756
4924
  /**
@@ -5103,4 +5271,4 @@ interface RateLimitOptions {
5103
5271
  */
5104
5272
  declare function createRateLimitMiddleware(options?: RateLimitOptions): Middleware;
5105
5273
 
5106
- export { type AccountOwner, type AccountOwnersListResponse, type Affiliate, type AffiliateCommission, type AffiliateCommissionListParams, type AffiliateCommissionListResponse, AffiliateCommissionsResource, type AffiliateListParams, type AffiliateListResponse, type AffiliatePayout, type AffiliatePayoutListParams, type AffiliatePayoutListResponse, AffiliatePayoutsResource, type AffiliateProgram, type AffiliateProgramCreateParams, type AffiliateProgramUpdateParams, AffiliateProgramsResource, type AffiliateReferral, type AffiliateReferralListParams, type AffiliateReferralListResponse, AffiliateReferralsResource, type AffiliateUpdateParams, AffiliatesResource, type Agent, type AgentCreateParams, type AgentListResponse, type AgentResponse, type AgentRun, type AgentRunCreateParams, type AgentRunCreateResponse, type AgentRunRetrieveResponse, type AgentRunStatus, type AgentRunTokenUsage, AgentsResource, type App, type AppEvent, type AppEventListParams, type AppEventListResponse, type AppInstallation, type AppInstallationParams, type AppListParams, AppsResource, type AuthRefreshOptions, BaseResource, type Channel, type ChannelCreateParams, type ChannelListParams, ChannelsResource, type Charge, type ChargeListParams, type ChargeListResponse, ChargesResource, CompaniesResource, type Company, type CompanyCreateParams, type CompanyListParams, type CompanyListResponse, type CompanyUpdateParams, type Contact, type ContactCreateParams, type ContactCreateResponse, type ContactEntity, type ContactListParams, type ContactListResponse, type ContactUpdateParams, ContactsResource, type CustomDataDeleteParams, type CustomDataGetParams, CustomDataResource, type CustomDataResourceType, type CustomDataResponse, type CustomDataSetParams, type CustomField, type CustomFieldCreateParams, type CustomFieldUpdateParams, type Customer, type CustomerCreateParams, type CustomerEntity, type CustomerListParams, type CustomerListResponse, type CustomerRetrieveParams, type CustomerSegment, type CustomerSegmentListParams, type CustomerSegmentListResponse, CustomerSegmentsResource, type CustomerUpdateParams, CustomersResource, type DateRangeType, type Deal, DealActivitiesResource, type DealActivity, type DealActivityCreateParams, type DealActivityUpdateParams, type DealContactInput, type DealCreateParams, type DealCustomerInput, type DealEvent, type DealEventCreateParams, type DealEventCreateResponse, type DealEventListResponse, type DealFlow, type DealFlowCreateParams, type DealFlowUpdateParams, DealFlowsResource, type DealListParams, type DealListResponse, type DealProgression, type DealStage, type DealUpdateParams, DealsResource, type DeleteResponse, type DocCollection, type DocCollectionCreateParams, type DocCollectionUpdateParams, type DocGroup, type DocGroupCreateParams, type DocGroupUpdateParams, type DocPage, type DocPageCreateParams, type DocPageListParams, type DocPageListResponse, type DocPageStatus, type DocPageUpdateParams, type DocRepository, type DocRepositoryCollection, type DocRepositoryListParams, type DocRepositoryListResponse, type DocRepositoryLocale, type DocRepositoryRetrieveParams, type DocTreeNode, type DocTreeResponse, DocsResource, type EmailUnsubscribeGroup, type EmailUnsubscribeGroupAddMembersParams, type EmailUnsubscribeGroupAddMembersResponse, type EmailUnsubscribeGroupListParams, type EmailUnsubscribeGroupListResponse, type EmailUnsubscribeGroupMember, type EmailUnsubscribeGroupMemberListParams, type EmailUnsubscribeGroupMemberListResponse, type EmailUnsubscribeGroupRemoveMembersParams, type EmailUnsubscribeGroupRemoveMembersResponse, EntitiesResource, type EntitiesSearchParams, type EntitiesSearchResponse, type Entity, type EntityType, type Feature, type FeatureCreateParams, type FeatureUpdateParams, type Flow, type FlowActionRun, type FlowActionRunStatus, type FlowActionRunUpdateParams, type FlowCreateParams, type FlowExtensionAction, type FlowExtensionActionCreateParams, type FlowExtensionActionListParams, type FlowExtensionActionListResponse, type FlowExtensionActionUpdateParams, type FlowListParams, type FlowListResponse, type FlowStatus, type FlowUpdateParams, FlowsResource, type HttpMethod, type JournalEntry, type JournalEntryCreateParams, type JournalEntryFile, type JournalEntryListParams, type JournalEntryListResponse, type JournalEntryUpdateParams, type List, type ListAddEntitiesParams, type ListAddEntitiesResponse, type ListCreateParams, type ListEntity, type ListListParams, type ListListResponse, type ListParams, type ListRemoveEntitiesParams, type ListRemoveEntitiesResponse, type ListRetrieveParams, type ListRetrieveResponse, type ListUpdateParams, MantleAPIError, MantleAuthenticationError, MantleCoreClient, type MantleCoreClientConfig, MantleNotFoundError, MantlePermissionError, MantleRateLimitError, MantleValidationError, MeResource, type MeResponse, type Meeting, type MeetingAttendee, type MeetingAttendeeInput, type MeetingAttendeeUpdateParams, type MeetingAttendeeUpdateResponse, type MeetingCreateParams, type MeetingListParams, type MeetingListResponse, type MeetingTranscribeParams, type MeetingTranscript, type MeetingTranscriptInput, type MeetingTranscriptionStatusResponse, type MeetingUpdateParams, type MeetingUploadUrlResponse, type MeetingUtterance, type MeetingUtteranceInput, type MessageAttachment, type MetricDataPoint, type MetricType, type MetricsBaseParams, type MetricsGetParams, MetricsResource, type MetricsResponse, type Middleware, type MiddlewareContext, MiddlewareManager, type MiddlewareOptions, type MiddlewareRequest, type MiddlewareResponse, type NextFunction, type Organization, OrganizationResource, type PaginatedResponse, type Plan, type PlanCreateParams, type PlanFeature, type PlanListParams, type PlanListResponse, type PlanUpdateParams, type PlanUsageCharge, type RateLimitOptions, type RequestOptions, type Review, type ReviewCreateParams, type ReviewUpdateParams, type SalesMetrics, type SalesMetricsParams, type SalesMetricsResponse, type SocialProfile, type SocialProfileType, type Subscription, type SubscriptionListParams, type SubscriptionListResponse, SubscriptionsResource, type Task, type TaskCreateParams, type TaskListParams, type TaskListResponse, type TaskPriority, type TaskStatus, type TaskUpdateParams, type TaskUpdateResponse, TasksResource, type Ticket, type TicketContactData, type TicketCreateParams, type TicketListParams, type TicketListResponse, type TicketMessage, type TicketMessageCreateParams, type TicketMessageUpdateParams, type TicketUpdateParams, TicketsResource, type TimelineComment, type TimelineCommentAttachment, type TimelineCommentAttachmentInput, type TimelineCommentCreateParams, type TimelineCommentCreateResponse, type TimelineCommentListParams, type TimelineCommentListResponse, type TimelineCommentTaggedUser, type TimelineCommentTaggedUserInput, type TimelineCommentUpdateParams, type TimelineCommentUpdateResponse, type TimelineCommentUser, type TimelineEvent, type TimelineListParams, type TimelineListResponse, type TodoItem, type TodoItemCreateParams, type TodoItemInput, type TodoItemListResponse, type TodoItemUpdateParams, type Transaction, type TransactionListParams, type TransactionListResponse, TransactionsResource, type UsageEvent, type UsageEventCreateData, type UsageEventCreateParams, type UsageEventCreateResponse, type UsageEventListParams, type UsageEventListResponse, type UsageEventMetricsParams, UsageEventsResource, type UsageMetric, type UsageMetricCreateParams, type UsageMetricParams, type UsageMetricUpdateParams, type User, type UserListParams, type UserListResponse, UsersResource, type Webhook, type WebhookCreateParams, type WebhookFilter, type WebhookListResponse, type WebhookTopic, type WebhookUpdateParams, WebhooksResource, createAuthRefreshMiddleware, createRateLimitMiddleware };
5274
+ export { type AcceptTaskSuggestionParams, type AcceptTaskSuggestionResponse, type AccountOwner, type AccountOwnersListResponse, type Affiliate, type AffiliateCommission, type AffiliateCommissionListParams, type AffiliateCommissionListResponse, AffiliateCommissionsResource, type AffiliateListParams, type AffiliateListResponse, type AffiliatePayout, type AffiliatePayoutListParams, type AffiliatePayoutListResponse, AffiliatePayoutsResource, type AffiliateProgram, type AffiliateProgramCreateParams, type AffiliateProgramUpdateParams, AffiliateProgramsResource, type AffiliateReferral, type AffiliateReferralListParams, type AffiliateReferralListResponse, AffiliateReferralsResource, type AffiliateUpdateParams, AffiliatesResource, type Agent, type AgentCreateParams, type AgentListResponse, type AgentResponse, type AgentRun, type AgentRunCreateParams, type AgentRunCreateResponse, type AgentRunRetrieveResponse, type AgentRunStatus, type AgentRunTokenUsage, AgentsResource, type App, type AppEvent, type AppEventListParams, type AppEventListResponse, type AppInstallation, type AppInstallationParams, type AppListParams, AppsResource, type AuthRefreshOptions, BaseResource, type Channel, type ChannelCreateParams, type ChannelListParams, ChannelsResource, type Charge, type ChargeListParams, type ChargeListResponse, ChargesResource, CompaniesResource, type Company, type CompanyCreateParams, type CompanyListParams, type CompanyListResponse, type CompanyUpdateParams, type Contact, type ContactCreateParams, type ContactCreateResponse, type ContactEntity, type ContactListParams, type ContactListResponse, type ContactUpdateParams, ContactsResource, type CustomDataDeleteParams, type CustomDataGetParams, CustomDataResource, type CustomDataResourceType, type CustomDataResponse, type CustomDataSetParams, type CustomField, type CustomFieldCreateParams, type CustomFieldUpdateParams, type Customer, type CustomerCreateParams, type CustomerEntity, type CustomerListParams, type CustomerListResponse, type CustomerRetrieveParams, type CustomerSegment, type CustomerSegmentListParams, type CustomerSegmentListResponse, CustomerSegmentsResource, type CustomerUpdateParams, CustomersResource, type DateRangeType, type Deal, DealActivitiesResource, type DealActivity, type DealActivityCreateParams, type DealActivityUpdateParams, type DealContactInput, type DealCreateParams, type DealCustomerInput, type DealEvent, type DealEventCreateParams, type DealEventCreateResponse, type DealEventListResponse, type DealFlow, type DealFlowCreateParams, type DealFlowUpdateParams, DealFlowsResource, type DealListParams, type DealListResponse, type DealProgression, type DealStage, type DealUpdateParams, DealsResource, type DeleteResponse, type DocCollection, type DocCollectionCreateParams, type DocCollectionUpdateParams, type DocGroup, type DocGroupCreateParams, type DocGroupUpdateParams, type DocPage, type DocPageCreateParams, type DocPageListParams, type DocPageListResponse, type DocPageStatus, type DocPageUpdateParams, type DocRepository, type DocRepositoryCollection, type DocRepositoryListParams, type DocRepositoryListResponse, type DocRepositoryLocale, type DocRepositoryRetrieveParams, type DocTreeNode, type DocTreeResponse, DocsResource, type EmailUnsubscribeGroup, type EmailUnsubscribeGroupAddMembersParams, type EmailUnsubscribeGroupAddMembersResponse, type EmailUnsubscribeGroupListParams, type EmailUnsubscribeGroupListResponse, type EmailUnsubscribeGroupMember, type EmailUnsubscribeGroupMemberListParams, type EmailUnsubscribeGroupMemberListResponse, type EmailUnsubscribeGroupRemoveMembersParams, type EmailUnsubscribeGroupRemoveMembersResponse, EntitiesResource, type EntitiesSearchParams, type EntitiesSearchResponse, type Entity, type EntityType, type Feature, type FeatureCreateParams, type FeatureUpdateParams, type Flow, type FlowActionRun, type FlowActionRunStatus, type FlowActionRunUpdateParams, type FlowCreateParams, type FlowExtensionAction, type FlowExtensionActionCreateParams, type FlowExtensionActionListParams, type FlowExtensionActionListResponse, type FlowExtensionActionUpdateParams, type FlowListParams, type FlowListResponse, type FlowStatus, type FlowUpdateParams, FlowsResource, type HttpMethod, type JournalEntry, type JournalEntryCreateParams, type JournalEntryFile, type JournalEntryListParams, type JournalEntryListResponse, type JournalEntryUpdateParams, type List, type ListAddEntitiesParams, type ListAddEntitiesResponse, type ListCreateParams, type ListEntity, type ListListParams, type ListListResponse, type ListParams, type ListRemoveEntitiesParams, type ListRemoveEntitiesResponse, type ListRetrieveParams, type ListRetrieveResponse, type ListUpdateParams, MantleAPIError, MantleAuthenticationError, MantleCoreClient, type MantleCoreClientConfig, MantleNotFoundError, MantlePermissionError, MantleRateLimitError, MantleValidationError, MeResource, type MeResponse, type Meeting, type MeetingAttendee, type MeetingAttendeeInput, type MeetingAttendeeUpdateParams, type MeetingAttendeeUpdateResponse, type MeetingCreateParams, type MeetingDealInsights, type MeetingDecision, type MeetingKeyPoint, type MeetingListParams, type MeetingListResponse, type MeetingOpenQuestion, type MeetingTaskSuggestion, type MeetingTopic, type MeetingTranscribeParams, type MeetingTranscript, type MeetingTranscriptInput, type MeetingTranscriptionStatusResponse, type MeetingUpdateParams, type MeetingUploadUrlResponse, type MeetingUtterance, type MeetingUtteranceInput, type MessageAttachment, type MetricDataPoint, type MetricType, type MetricsBaseParams, type MetricsGetParams, MetricsResource, type MetricsResponse, type Middleware, type MiddlewareContext, MiddlewareManager, type MiddlewareOptions, type MiddlewareRequest, type MiddlewareResponse, type NextFunction, type Organization, OrganizationResource, type PaginatedResponse, type Plan, type PlanCreateParams, type PlanFeature, type PlanListParams, type PlanListResponse, type PlanUpdateParams, type PlanUsageCharge, type RateLimitOptions, type RequestOptions, type Review, type ReviewCreateParams, type ReviewUpdateParams, type SalesMetrics, type SalesMetricsParams, type SalesMetricsResponse, type SentimentDataPoint, type SocialProfile, type SocialProfileType, type Subscription, type SubscriptionListParams, type SubscriptionListResponse, SubscriptionsResource, type Task, type TaskCreateParams, type TaskListParams, type TaskListResponse, type TaskPriority, type TaskStatus, type TaskUpdateParams, type TaskUpdateResponse, TasksResource, type Ticket, type TicketContactData, type TicketCreateParams, type TicketListParams, type TicketListResponse, type TicketMessage, type TicketMessageCreateParams, type TicketMessageUpdateParams, type TicketUpdateParams, TicketsResource, type TimelineComment, type TimelineCommentAttachment, type TimelineCommentAttachmentInput, type TimelineCommentCreateParams, type TimelineCommentCreateResponse, type TimelineCommentListParams, type TimelineCommentListResponse, type TimelineCommentTaggedUser, type TimelineCommentTaggedUserInput, type TimelineCommentUpdateParams, type TimelineCommentUpdateResponse, type TimelineCommentUser, type TimelineEvent, type TimelineListParams, type TimelineListResponse, type TodoItem, type TodoItemCreateParams, type TodoItemInput, type TodoItemListResponse, type TodoItemUpdateParams, type Transaction, type TransactionListParams, type TransactionListResponse, TransactionsResource, type UsageEvent, type UsageEventCreateData, type UsageEventCreateParams, type UsageEventCreateResponse, type UsageEventListParams, type UsageEventListResponse, type UsageEventMetricsParams, UsageEventsResource, type UsageMetric, type UsageMetricCreateParams, type UsageMetricParams, type UsageMetricUpdateParams, type User, type UserListParams, type UserListResponse, UsersResource, type Webhook, type WebhookCreateParams, type WebhookFilter, type WebhookListResponse, type WebhookTopic, type WebhookUpdateParams, WebhooksResource, createAuthRefreshMiddleware, createRateLimitMiddleware };
package/dist/index.d.ts CHANGED
@@ -2730,6 +2730,10 @@ interface MeetingAttendee {
2730
2730
  talkTime?: number | null;
2731
2731
  /** Total word count */
2732
2732
  wordCount?: number | null;
2733
+ /** Attendee sentiment score (-1 to 1). Populated by AI enrichment. */
2734
+ sentiment?: number | null;
2735
+ /** Attendee engagement score (0 to 1). Populated by AI enrichment. */
2736
+ engagementScore?: number | null;
2733
2737
  /** Associated Mantle user */
2734
2738
  user?: {
2735
2739
  id: string;
@@ -2813,6 +2817,28 @@ interface Meeting {
2813
2817
  recordingUrl?: string | null;
2814
2818
  /** Recording status: pending, processing, ready, failed */
2815
2819
  recordingStatus?: string | null;
2820
+ /** AI enrichment status: pending, processing, completed, failed */
2821
+ aiEnrichmentStatus?: string | null;
2822
+ /** When AI enrichment was last completed */
2823
+ aiEnrichedAt?: string | null;
2824
+ /** AI-generated meeting summary */
2825
+ aiSummary?: string | null;
2826
+ /** AI-extracted key points */
2827
+ aiKeyPoints?: MeetingKeyPoint[];
2828
+ /** AI-extracted decisions */
2829
+ aiDecisions?: MeetingDecision[];
2830
+ /** AI-extracted open questions */
2831
+ aiOpenQuestions?: MeetingOpenQuestion[];
2832
+ /** AI-extracted topics */
2833
+ aiTopics?: MeetingTopic[];
2834
+ /** Overall meeting sentiment (-1 to 1) */
2835
+ overallSentiment?: number | null;
2836
+ /** Sentiment over time */
2837
+ sentimentTrend?: SentimentDataPoint[];
2838
+ /** AI-extracted deal insights */
2839
+ aiDealInsights?: MeetingDealInsights | null;
2840
+ /** AI-suggested tasks */
2841
+ taskSuggestions?: MeetingTaskSuggestion[];
2816
2842
  deal?: {
2817
2843
  id: string;
2818
2844
  name?: string;
@@ -3019,6 +3045,102 @@ interface MeetingAttendeeUpdateParams {
3019
3045
  interface MeetingAttendeeUpdateResponse {
3020
3046
  attendee: MeetingAttendee;
3021
3047
  }
3048
+ /**
3049
+ * A key point extracted from the meeting by AI
3050
+ */
3051
+ interface MeetingKeyPoint {
3052
+ point: string;
3053
+ speaker?: string | null;
3054
+ timestampMs?: number | null;
3055
+ }
3056
+ /**
3057
+ * A decision extracted from the meeting by AI
3058
+ */
3059
+ interface MeetingDecision {
3060
+ decision: string;
3061
+ context?: string | null;
3062
+ }
3063
+ /**
3064
+ * An open question extracted from the meeting by AI
3065
+ */
3066
+ interface MeetingOpenQuestion {
3067
+ question: string;
3068
+ askedBy?: string | null;
3069
+ }
3070
+ /**
3071
+ * A topic discussed in the meeting, extracted by AI
3072
+ */
3073
+ interface MeetingTopic {
3074
+ topic: string;
3075
+ relevance: number;
3076
+ }
3077
+ /**
3078
+ * A sentiment data point representing sentiment at a point in time
3079
+ */
3080
+ interface SentimentDataPoint {
3081
+ timestampMs: number;
3082
+ sentiment: number;
3083
+ }
3084
+ /**
3085
+ * Deal-related insights extracted by AI
3086
+ */
3087
+ interface MeetingDealInsights {
3088
+ objections: Array<{
3089
+ objection: string;
3090
+ speaker?: string | null;
3091
+ severity: string;
3092
+ }>;
3093
+ competitorMentions: Array<{
3094
+ competitor: string;
3095
+ context: string;
3096
+ sentiment: string;
3097
+ }>;
3098
+ budgetDiscussions: Array<{
3099
+ quote: string;
3100
+ implication: string;
3101
+ }>;
3102
+ timelineMentions: Array<{
3103
+ quote: string;
3104
+ inferredDate?: string | null;
3105
+ }>;
3106
+ buyingSignals: string[];
3107
+ riskIndicators: string[];
3108
+ }
3109
+ /**
3110
+ * An AI-generated task suggestion from a meeting
3111
+ */
3112
+ interface MeetingTaskSuggestion {
3113
+ id: string;
3114
+ title: string;
3115
+ description?: string | null;
3116
+ priority: string;
3117
+ suggestedAssigneeId?: string | null;
3118
+ suggestedDueDate?: string | null;
3119
+ triggerPhrase?: string | null;
3120
+ status: string;
3121
+ createdTaskId?: string | null;
3122
+ createdAt?: string | null;
3123
+ }
3124
+ /**
3125
+ * Parameters for accepting a task suggestion with optional overrides
3126
+ */
3127
+ interface AcceptTaskSuggestionParams {
3128
+ title?: string;
3129
+ description?: string;
3130
+ priority?: string;
3131
+ dueDate?: string;
3132
+ assigneeId?: string;
3133
+ }
3134
+ /**
3135
+ * Response from accepting a task suggestion
3136
+ */
3137
+ interface AcceptTaskSuggestionResponse {
3138
+ task: {
3139
+ id: string;
3140
+ title: string;
3141
+ };
3142
+ suggestion: MeetingTaskSuggestion;
3143
+ }
3022
3144
 
3023
3145
  /**
3024
3146
  * Resource for managing customers
@@ -4751,6 +4873,52 @@ declare class MeetingsResource extends BaseResource {
4751
4873
  recordingUrl: string;
4752
4874
  expiresIn: number;
4753
4875
  }>;
4876
+ /**
4877
+ * Accept an AI-generated task suggestion
4878
+ *
4879
+ * Creates a real Task from the suggestion. Optional overrides allow
4880
+ * modifying the title, description, priority, due date, or assignee
4881
+ * before creating the task.
4882
+ *
4883
+ * @param meetingId - The meeting ID
4884
+ * @param suggestionId - The task suggestion ID
4885
+ * @param overrides - Optional fields to override on the created task
4886
+ * @returns The created task and updated suggestion
4887
+ *
4888
+ * @example
4889
+ * ```typescript
4890
+ * // Accept a suggestion as-is
4891
+ * const { task, suggestion } = await client.meetings.acceptTaskSuggestion(
4892
+ * 'meeting_123',
4893
+ * 'suggestion_456'
4894
+ * );
4895
+ *
4896
+ * // Accept with overrides
4897
+ * const { task } = await client.meetings.acceptTaskSuggestion(
4898
+ * 'meeting_123',
4899
+ * 'suggestion_456',
4900
+ * { title: 'Custom title', priority: 'high' }
4901
+ * );
4902
+ * ```
4903
+ */
4904
+ acceptTaskSuggestion(meetingId: string, suggestionId: string, overrides?: AcceptTaskSuggestionParams): Promise<AcceptTaskSuggestionResponse>;
4905
+ /**
4906
+ * Dismiss an AI-generated task suggestion
4907
+ *
4908
+ * Marks the suggestion as dismissed so it no longer appears as pending.
4909
+ *
4910
+ * @param meetingId - The meeting ID
4911
+ * @param suggestionId - The task suggestion ID
4912
+ * @returns Success response
4913
+ *
4914
+ * @example
4915
+ * ```typescript
4916
+ * await client.meetings.dismissTaskSuggestion('meeting_123', 'suggestion_456');
4917
+ * ```
4918
+ */
4919
+ dismissTaskSuggestion(meetingId: string, suggestionId: string): Promise<{
4920
+ success: boolean;
4921
+ }>;
4754
4922
  }
4755
4923
 
4756
4924
  /**
@@ -5103,4 +5271,4 @@ interface RateLimitOptions {
5103
5271
  */
5104
5272
  declare function createRateLimitMiddleware(options?: RateLimitOptions): Middleware;
5105
5273
 
5106
- export { type AccountOwner, type AccountOwnersListResponse, type Affiliate, type AffiliateCommission, type AffiliateCommissionListParams, type AffiliateCommissionListResponse, AffiliateCommissionsResource, type AffiliateListParams, type AffiliateListResponse, type AffiliatePayout, type AffiliatePayoutListParams, type AffiliatePayoutListResponse, AffiliatePayoutsResource, type AffiliateProgram, type AffiliateProgramCreateParams, type AffiliateProgramUpdateParams, AffiliateProgramsResource, type AffiliateReferral, type AffiliateReferralListParams, type AffiliateReferralListResponse, AffiliateReferralsResource, type AffiliateUpdateParams, AffiliatesResource, type Agent, type AgentCreateParams, type AgentListResponse, type AgentResponse, type AgentRun, type AgentRunCreateParams, type AgentRunCreateResponse, type AgentRunRetrieveResponse, type AgentRunStatus, type AgentRunTokenUsage, AgentsResource, type App, type AppEvent, type AppEventListParams, type AppEventListResponse, type AppInstallation, type AppInstallationParams, type AppListParams, AppsResource, type AuthRefreshOptions, BaseResource, type Channel, type ChannelCreateParams, type ChannelListParams, ChannelsResource, type Charge, type ChargeListParams, type ChargeListResponse, ChargesResource, CompaniesResource, type Company, type CompanyCreateParams, type CompanyListParams, type CompanyListResponse, type CompanyUpdateParams, type Contact, type ContactCreateParams, type ContactCreateResponse, type ContactEntity, type ContactListParams, type ContactListResponse, type ContactUpdateParams, ContactsResource, type CustomDataDeleteParams, type CustomDataGetParams, CustomDataResource, type CustomDataResourceType, type CustomDataResponse, type CustomDataSetParams, type CustomField, type CustomFieldCreateParams, type CustomFieldUpdateParams, type Customer, type CustomerCreateParams, type CustomerEntity, type CustomerListParams, type CustomerListResponse, type CustomerRetrieveParams, type CustomerSegment, type CustomerSegmentListParams, type CustomerSegmentListResponse, CustomerSegmentsResource, type CustomerUpdateParams, CustomersResource, type DateRangeType, type Deal, DealActivitiesResource, type DealActivity, type DealActivityCreateParams, type DealActivityUpdateParams, type DealContactInput, type DealCreateParams, type DealCustomerInput, type DealEvent, type DealEventCreateParams, type DealEventCreateResponse, type DealEventListResponse, type DealFlow, type DealFlowCreateParams, type DealFlowUpdateParams, DealFlowsResource, type DealListParams, type DealListResponse, type DealProgression, type DealStage, type DealUpdateParams, DealsResource, type DeleteResponse, type DocCollection, type DocCollectionCreateParams, type DocCollectionUpdateParams, type DocGroup, type DocGroupCreateParams, type DocGroupUpdateParams, type DocPage, type DocPageCreateParams, type DocPageListParams, type DocPageListResponse, type DocPageStatus, type DocPageUpdateParams, type DocRepository, type DocRepositoryCollection, type DocRepositoryListParams, type DocRepositoryListResponse, type DocRepositoryLocale, type DocRepositoryRetrieveParams, type DocTreeNode, type DocTreeResponse, DocsResource, type EmailUnsubscribeGroup, type EmailUnsubscribeGroupAddMembersParams, type EmailUnsubscribeGroupAddMembersResponse, type EmailUnsubscribeGroupListParams, type EmailUnsubscribeGroupListResponse, type EmailUnsubscribeGroupMember, type EmailUnsubscribeGroupMemberListParams, type EmailUnsubscribeGroupMemberListResponse, type EmailUnsubscribeGroupRemoveMembersParams, type EmailUnsubscribeGroupRemoveMembersResponse, EntitiesResource, type EntitiesSearchParams, type EntitiesSearchResponse, type Entity, type EntityType, type Feature, type FeatureCreateParams, type FeatureUpdateParams, type Flow, type FlowActionRun, type FlowActionRunStatus, type FlowActionRunUpdateParams, type FlowCreateParams, type FlowExtensionAction, type FlowExtensionActionCreateParams, type FlowExtensionActionListParams, type FlowExtensionActionListResponse, type FlowExtensionActionUpdateParams, type FlowListParams, type FlowListResponse, type FlowStatus, type FlowUpdateParams, FlowsResource, type HttpMethod, type JournalEntry, type JournalEntryCreateParams, type JournalEntryFile, type JournalEntryListParams, type JournalEntryListResponse, type JournalEntryUpdateParams, type List, type ListAddEntitiesParams, type ListAddEntitiesResponse, type ListCreateParams, type ListEntity, type ListListParams, type ListListResponse, type ListParams, type ListRemoveEntitiesParams, type ListRemoveEntitiesResponse, type ListRetrieveParams, type ListRetrieveResponse, type ListUpdateParams, MantleAPIError, MantleAuthenticationError, MantleCoreClient, type MantleCoreClientConfig, MantleNotFoundError, MantlePermissionError, MantleRateLimitError, MantleValidationError, MeResource, type MeResponse, type Meeting, type MeetingAttendee, type MeetingAttendeeInput, type MeetingAttendeeUpdateParams, type MeetingAttendeeUpdateResponse, type MeetingCreateParams, type MeetingListParams, type MeetingListResponse, type MeetingTranscribeParams, type MeetingTranscript, type MeetingTranscriptInput, type MeetingTranscriptionStatusResponse, type MeetingUpdateParams, type MeetingUploadUrlResponse, type MeetingUtterance, type MeetingUtteranceInput, type MessageAttachment, type MetricDataPoint, type MetricType, type MetricsBaseParams, type MetricsGetParams, MetricsResource, type MetricsResponse, type Middleware, type MiddlewareContext, MiddlewareManager, type MiddlewareOptions, type MiddlewareRequest, type MiddlewareResponse, type NextFunction, type Organization, OrganizationResource, type PaginatedResponse, type Plan, type PlanCreateParams, type PlanFeature, type PlanListParams, type PlanListResponse, type PlanUpdateParams, type PlanUsageCharge, type RateLimitOptions, type RequestOptions, type Review, type ReviewCreateParams, type ReviewUpdateParams, type SalesMetrics, type SalesMetricsParams, type SalesMetricsResponse, type SocialProfile, type SocialProfileType, type Subscription, type SubscriptionListParams, type SubscriptionListResponse, SubscriptionsResource, type Task, type TaskCreateParams, type TaskListParams, type TaskListResponse, type TaskPriority, type TaskStatus, type TaskUpdateParams, type TaskUpdateResponse, TasksResource, type Ticket, type TicketContactData, type TicketCreateParams, type TicketListParams, type TicketListResponse, type TicketMessage, type TicketMessageCreateParams, type TicketMessageUpdateParams, type TicketUpdateParams, TicketsResource, type TimelineComment, type TimelineCommentAttachment, type TimelineCommentAttachmentInput, type TimelineCommentCreateParams, type TimelineCommentCreateResponse, type TimelineCommentListParams, type TimelineCommentListResponse, type TimelineCommentTaggedUser, type TimelineCommentTaggedUserInput, type TimelineCommentUpdateParams, type TimelineCommentUpdateResponse, type TimelineCommentUser, type TimelineEvent, type TimelineListParams, type TimelineListResponse, type TodoItem, type TodoItemCreateParams, type TodoItemInput, type TodoItemListResponse, type TodoItemUpdateParams, type Transaction, type TransactionListParams, type TransactionListResponse, TransactionsResource, type UsageEvent, type UsageEventCreateData, type UsageEventCreateParams, type UsageEventCreateResponse, type UsageEventListParams, type UsageEventListResponse, type UsageEventMetricsParams, UsageEventsResource, type UsageMetric, type UsageMetricCreateParams, type UsageMetricParams, type UsageMetricUpdateParams, type User, type UserListParams, type UserListResponse, UsersResource, type Webhook, type WebhookCreateParams, type WebhookFilter, type WebhookListResponse, type WebhookTopic, type WebhookUpdateParams, WebhooksResource, createAuthRefreshMiddleware, createRateLimitMiddleware };
5274
+ export { type AcceptTaskSuggestionParams, type AcceptTaskSuggestionResponse, type AccountOwner, type AccountOwnersListResponse, type Affiliate, type AffiliateCommission, type AffiliateCommissionListParams, type AffiliateCommissionListResponse, AffiliateCommissionsResource, type AffiliateListParams, type AffiliateListResponse, type AffiliatePayout, type AffiliatePayoutListParams, type AffiliatePayoutListResponse, AffiliatePayoutsResource, type AffiliateProgram, type AffiliateProgramCreateParams, type AffiliateProgramUpdateParams, AffiliateProgramsResource, type AffiliateReferral, type AffiliateReferralListParams, type AffiliateReferralListResponse, AffiliateReferralsResource, type AffiliateUpdateParams, AffiliatesResource, type Agent, type AgentCreateParams, type AgentListResponse, type AgentResponse, type AgentRun, type AgentRunCreateParams, type AgentRunCreateResponse, type AgentRunRetrieveResponse, type AgentRunStatus, type AgentRunTokenUsage, AgentsResource, type App, type AppEvent, type AppEventListParams, type AppEventListResponse, type AppInstallation, type AppInstallationParams, type AppListParams, AppsResource, type AuthRefreshOptions, BaseResource, type Channel, type ChannelCreateParams, type ChannelListParams, ChannelsResource, type Charge, type ChargeListParams, type ChargeListResponse, ChargesResource, CompaniesResource, type Company, type CompanyCreateParams, type CompanyListParams, type CompanyListResponse, type CompanyUpdateParams, type Contact, type ContactCreateParams, type ContactCreateResponse, type ContactEntity, type ContactListParams, type ContactListResponse, type ContactUpdateParams, ContactsResource, type CustomDataDeleteParams, type CustomDataGetParams, CustomDataResource, type CustomDataResourceType, type CustomDataResponse, type CustomDataSetParams, type CustomField, type CustomFieldCreateParams, type CustomFieldUpdateParams, type Customer, type CustomerCreateParams, type CustomerEntity, type CustomerListParams, type CustomerListResponse, type CustomerRetrieveParams, type CustomerSegment, type CustomerSegmentListParams, type CustomerSegmentListResponse, CustomerSegmentsResource, type CustomerUpdateParams, CustomersResource, type DateRangeType, type Deal, DealActivitiesResource, type DealActivity, type DealActivityCreateParams, type DealActivityUpdateParams, type DealContactInput, type DealCreateParams, type DealCustomerInput, type DealEvent, type DealEventCreateParams, type DealEventCreateResponse, type DealEventListResponse, type DealFlow, type DealFlowCreateParams, type DealFlowUpdateParams, DealFlowsResource, type DealListParams, type DealListResponse, type DealProgression, type DealStage, type DealUpdateParams, DealsResource, type DeleteResponse, type DocCollection, type DocCollectionCreateParams, type DocCollectionUpdateParams, type DocGroup, type DocGroupCreateParams, type DocGroupUpdateParams, type DocPage, type DocPageCreateParams, type DocPageListParams, type DocPageListResponse, type DocPageStatus, type DocPageUpdateParams, type DocRepository, type DocRepositoryCollection, type DocRepositoryListParams, type DocRepositoryListResponse, type DocRepositoryLocale, type DocRepositoryRetrieveParams, type DocTreeNode, type DocTreeResponse, DocsResource, type EmailUnsubscribeGroup, type EmailUnsubscribeGroupAddMembersParams, type EmailUnsubscribeGroupAddMembersResponse, type EmailUnsubscribeGroupListParams, type EmailUnsubscribeGroupListResponse, type EmailUnsubscribeGroupMember, type EmailUnsubscribeGroupMemberListParams, type EmailUnsubscribeGroupMemberListResponse, type EmailUnsubscribeGroupRemoveMembersParams, type EmailUnsubscribeGroupRemoveMembersResponse, EntitiesResource, type EntitiesSearchParams, type EntitiesSearchResponse, type Entity, type EntityType, type Feature, type FeatureCreateParams, type FeatureUpdateParams, type Flow, type FlowActionRun, type FlowActionRunStatus, type FlowActionRunUpdateParams, type FlowCreateParams, type FlowExtensionAction, type FlowExtensionActionCreateParams, type FlowExtensionActionListParams, type FlowExtensionActionListResponse, type FlowExtensionActionUpdateParams, type FlowListParams, type FlowListResponse, type FlowStatus, type FlowUpdateParams, FlowsResource, type HttpMethod, type JournalEntry, type JournalEntryCreateParams, type JournalEntryFile, type JournalEntryListParams, type JournalEntryListResponse, type JournalEntryUpdateParams, type List, type ListAddEntitiesParams, type ListAddEntitiesResponse, type ListCreateParams, type ListEntity, type ListListParams, type ListListResponse, type ListParams, type ListRemoveEntitiesParams, type ListRemoveEntitiesResponse, type ListRetrieveParams, type ListRetrieveResponse, type ListUpdateParams, MantleAPIError, MantleAuthenticationError, MantleCoreClient, type MantleCoreClientConfig, MantleNotFoundError, MantlePermissionError, MantleRateLimitError, MantleValidationError, MeResource, type MeResponse, type Meeting, type MeetingAttendee, type MeetingAttendeeInput, type MeetingAttendeeUpdateParams, type MeetingAttendeeUpdateResponse, type MeetingCreateParams, type MeetingDealInsights, type MeetingDecision, type MeetingKeyPoint, type MeetingListParams, type MeetingListResponse, type MeetingOpenQuestion, type MeetingTaskSuggestion, type MeetingTopic, type MeetingTranscribeParams, type MeetingTranscript, type MeetingTranscriptInput, type MeetingTranscriptionStatusResponse, type MeetingUpdateParams, type MeetingUploadUrlResponse, type MeetingUtterance, type MeetingUtteranceInput, type MessageAttachment, type MetricDataPoint, type MetricType, type MetricsBaseParams, type MetricsGetParams, MetricsResource, type MetricsResponse, type Middleware, type MiddlewareContext, MiddlewareManager, type MiddlewareOptions, type MiddlewareRequest, type MiddlewareResponse, type NextFunction, type Organization, OrganizationResource, type PaginatedResponse, type Plan, type PlanCreateParams, type PlanFeature, type PlanListParams, type PlanListResponse, type PlanUpdateParams, type PlanUsageCharge, type RateLimitOptions, type RequestOptions, type Review, type ReviewCreateParams, type ReviewUpdateParams, type SalesMetrics, type SalesMetricsParams, type SalesMetricsResponse, type SentimentDataPoint, type SocialProfile, type SocialProfileType, type Subscription, type SubscriptionListParams, type SubscriptionListResponse, SubscriptionsResource, type Task, type TaskCreateParams, type TaskListParams, type TaskListResponse, type TaskPriority, type TaskStatus, type TaskUpdateParams, type TaskUpdateResponse, TasksResource, type Ticket, type TicketContactData, type TicketCreateParams, type TicketListParams, type TicketListResponse, type TicketMessage, type TicketMessageCreateParams, type TicketMessageUpdateParams, type TicketUpdateParams, TicketsResource, type TimelineComment, type TimelineCommentAttachment, type TimelineCommentAttachmentInput, type TimelineCommentCreateParams, type TimelineCommentCreateResponse, type TimelineCommentListParams, type TimelineCommentListResponse, type TimelineCommentTaggedUser, type TimelineCommentTaggedUserInput, type TimelineCommentUpdateParams, type TimelineCommentUpdateResponse, type TimelineCommentUser, type TimelineEvent, type TimelineListParams, type TimelineListResponse, type TodoItem, type TodoItemCreateParams, type TodoItemInput, type TodoItemListResponse, type TodoItemUpdateParams, type Transaction, type TransactionListParams, type TransactionListResponse, TransactionsResource, type UsageEvent, type UsageEventCreateData, type UsageEventCreateParams, type UsageEventCreateResponse, type UsageEventListParams, type UsageEventListResponse, type UsageEventMetricsParams, UsageEventsResource, type UsageMetric, type UsageMetricCreateParams, type UsageMetricParams, type UsageMetricUpdateParams, type User, type UserListParams, type UserListResponse, UsersResource, type Webhook, type WebhookCreateParams, type WebhookFilter, type WebhookListResponse, type WebhookTopic, type WebhookUpdateParams, WebhooksResource, createAuthRefreshMiddleware, createRateLimitMiddleware };
package/dist/index.js CHANGED
@@ -2645,6 +2645,59 @@ var MeetingsResource = class extends BaseResource {
2645
2645
  `/meetings/${meetingId}/recording-url`
2646
2646
  );
2647
2647
  }
2648
+ /**
2649
+ * Accept an AI-generated task suggestion
2650
+ *
2651
+ * Creates a real Task from the suggestion. Optional overrides allow
2652
+ * modifying the title, description, priority, due date, or assignee
2653
+ * before creating the task.
2654
+ *
2655
+ * @param meetingId - The meeting ID
2656
+ * @param suggestionId - The task suggestion ID
2657
+ * @param overrides - Optional fields to override on the created task
2658
+ * @returns The created task and updated suggestion
2659
+ *
2660
+ * @example
2661
+ * ```typescript
2662
+ * // Accept a suggestion as-is
2663
+ * const { task, suggestion } = await client.meetings.acceptTaskSuggestion(
2664
+ * 'meeting_123',
2665
+ * 'suggestion_456'
2666
+ * );
2667
+ *
2668
+ * // Accept with overrides
2669
+ * const { task } = await client.meetings.acceptTaskSuggestion(
2670
+ * 'meeting_123',
2671
+ * 'suggestion_456',
2672
+ * { title: 'Custom title', priority: 'high' }
2673
+ * );
2674
+ * ```
2675
+ */
2676
+ async acceptTaskSuggestion(meetingId, suggestionId, overrides) {
2677
+ return this.post(
2678
+ `/meetings/${meetingId}/task-suggestions/${suggestionId}/accept`,
2679
+ overrides || {}
2680
+ );
2681
+ }
2682
+ /**
2683
+ * Dismiss an AI-generated task suggestion
2684
+ *
2685
+ * Marks the suggestion as dismissed so it no longer appears as pending.
2686
+ *
2687
+ * @param meetingId - The meeting ID
2688
+ * @param suggestionId - The task suggestion ID
2689
+ * @returns Success response
2690
+ *
2691
+ * @example
2692
+ * ```typescript
2693
+ * await client.meetings.dismissTaskSuggestion('meeting_123', 'suggestion_456');
2694
+ * ```
2695
+ */
2696
+ async dismissTaskSuggestion(meetingId, suggestionId) {
2697
+ return this.post(
2698
+ `/meetings/${meetingId}/task-suggestions/${suggestionId}/dismiss`
2699
+ );
2700
+ }
2648
2701
  };
2649
2702
 
2650
2703
  // src/client.ts
package/dist/index.mjs CHANGED
@@ -2579,6 +2579,59 @@ var MeetingsResource = class extends BaseResource {
2579
2579
  `/meetings/${meetingId}/recording-url`
2580
2580
  );
2581
2581
  }
2582
+ /**
2583
+ * Accept an AI-generated task suggestion
2584
+ *
2585
+ * Creates a real Task from the suggestion. Optional overrides allow
2586
+ * modifying the title, description, priority, due date, or assignee
2587
+ * before creating the task.
2588
+ *
2589
+ * @param meetingId - The meeting ID
2590
+ * @param suggestionId - The task suggestion ID
2591
+ * @param overrides - Optional fields to override on the created task
2592
+ * @returns The created task and updated suggestion
2593
+ *
2594
+ * @example
2595
+ * ```typescript
2596
+ * // Accept a suggestion as-is
2597
+ * const { task, suggestion } = await client.meetings.acceptTaskSuggestion(
2598
+ * 'meeting_123',
2599
+ * 'suggestion_456'
2600
+ * );
2601
+ *
2602
+ * // Accept with overrides
2603
+ * const { task } = await client.meetings.acceptTaskSuggestion(
2604
+ * 'meeting_123',
2605
+ * 'suggestion_456',
2606
+ * { title: 'Custom title', priority: 'high' }
2607
+ * );
2608
+ * ```
2609
+ */
2610
+ async acceptTaskSuggestion(meetingId, suggestionId, overrides) {
2611
+ return this.post(
2612
+ `/meetings/${meetingId}/task-suggestions/${suggestionId}/accept`,
2613
+ overrides || {}
2614
+ );
2615
+ }
2616
+ /**
2617
+ * Dismiss an AI-generated task suggestion
2618
+ *
2619
+ * Marks the suggestion as dismissed so it no longer appears as pending.
2620
+ *
2621
+ * @param meetingId - The meeting ID
2622
+ * @param suggestionId - The task suggestion ID
2623
+ * @returns Success response
2624
+ *
2625
+ * @example
2626
+ * ```typescript
2627
+ * await client.meetings.dismissTaskSuggestion('meeting_123', 'suggestion_456');
2628
+ * ```
2629
+ */
2630
+ async dismissTaskSuggestion(meetingId, suggestionId) {
2631
+ return this.post(
2632
+ `/meetings/${meetingId}/task-suggestions/${suggestionId}/dismiss`
2633
+ );
2634
+ }
2582
2635
  };
2583
2636
 
2584
2637
  // src/client.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heymantle/core-api-client",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "description": "TypeScript SDK for the Mantle Core API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",