@heymantle/core-api-client 0.1.25 → 0.1.27

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,260 @@ 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
+ }
3144
+
3145
+ /**
3146
+ * A single message within a synced email thread
3147
+ */
3148
+ interface SyncedEmailMessage {
3149
+ id: string;
3150
+ /** External message ID from the email provider (e.g., Gmail message ID) */
3151
+ externalId?: string | null;
3152
+ fromEmail?: string | null;
3153
+ fromName?: string | null;
3154
+ toEmails?: string[];
3155
+ ccEmails?: string[];
3156
+ bccEmails?: string[];
3157
+ subject?: string | null;
3158
+ snippet?: string | null;
3159
+ /** Plain text body of the email */
3160
+ bodyText?: string | null;
3161
+ /** HTML body of the email */
3162
+ bodyHtml?: string | null;
3163
+ /** When the email was sent/received */
3164
+ date?: string | null;
3165
+ /** Whether the email was received (true) or sent (false) */
3166
+ isInbound?: boolean;
3167
+ labelIds?: string[];
3168
+ createdAt?: string | null;
3169
+ }
3170
+ /**
3171
+ * A synced email thread with messages
3172
+ */
3173
+ interface SyncedEmail {
3174
+ id: string;
3175
+ /** External thread ID from the email provider (e.g., Gmail thread ID) */
3176
+ externalId?: string | null;
3177
+ subject?: string | null;
3178
+ /** Preview snippet of the email thread */
3179
+ snippet?: string | null;
3180
+ /** Source of the synced email: gmail, outlook, manual */
3181
+ source?: string | null;
3182
+ /** Timestamp of the most recent message */
3183
+ lastMessageAt?: string | null;
3184
+ /** Number of messages in the thread */
3185
+ messageCount?: number;
3186
+ contact?: {
3187
+ id: string;
3188
+ name?: string;
3189
+ email?: string;
3190
+ } | null;
3191
+ customer?: {
3192
+ id: string;
3193
+ name?: string;
3194
+ email?: string;
3195
+ } | null;
3196
+ deal?: {
3197
+ id: string;
3198
+ name?: string;
3199
+ } | null;
3200
+ syncedBy?: {
3201
+ id: string;
3202
+ name?: string;
3203
+ email?: string;
3204
+ } | null;
3205
+ messages?: SyncedEmailMessage[];
3206
+ createdAt?: string | null;
3207
+ updatedAt?: string | null;
3208
+ }
3209
+ /**
3210
+ * Parameters for listing synced emails
3211
+ */
3212
+ interface SyncedEmailListParams extends ListParams {
3213
+ /** Filter by contact ID */
3214
+ contactId?: string;
3215
+ /** Filter by customer ID */
3216
+ customerId?: string;
3217
+ /** Filter by deal ID */
3218
+ dealId?: string;
3219
+ /** Filter by source (gmail, outlook, manual) */
3220
+ source?: string;
3221
+ /** Search by subject or snippet */
3222
+ search?: string;
3223
+ /** Filter emails with last message after this date */
3224
+ dateFrom?: string;
3225
+ /** Filter emails with last message before this date */
3226
+ dateTo?: string;
3227
+ /** Include archived (soft-deleted) email threads */
3228
+ includeArchived?: boolean;
3229
+ }
3230
+ /**
3231
+ * Response from listing synced emails
3232
+ */
3233
+ interface SyncedEmailListResponse extends PaginatedResponse {
3234
+ syncedEmails: SyncedEmail[];
3235
+ /** Current page number (0-indexed) */
3236
+ page?: number;
3237
+ /** Total number of pages */
3238
+ totalPages?: number;
3239
+ }
3240
+ /**
3241
+ * Input for a single email message when creating/syncing
3242
+ */
3243
+ interface SyncedEmailMessageInput {
3244
+ /** External message ID from the email provider */
3245
+ externalId?: string;
3246
+ fromEmail?: string;
3247
+ fromName?: string;
3248
+ toEmails?: string[];
3249
+ ccEmails?: string[];
3250
+ bccEmails?: string[];
3251
+ subject?: string;
3252
+ snippet?: string;
3253
+ /** Plain text body */
3254
+ bodyText?: string;
3255
+ /** HTML body */
3256
+ bodyHtml?: string;
3257
+ /** When the email was sent/received */
3258
+ date?: string;
3259
+ /** Whether the email was received (true) or sent (false) */
3260
+ isInbound?: boolean;
3261
+ labelIds?: string[];
3262
+ }
3263
+ /**
3264
+ * Parameters for creating or syncing a synced email thread
3265
+ */
3266
+ interface SyncedEmailCreateParams {
3267
+ /** Email thread data */
3268
+ emailData?: {
3269
+ /** External thread ID (enables upsert behavior) */
3270
+ externalId?: string;
3271
+ subject?: string;
3272
+ snippet?: string;
3273
+ /** Source: gmail, outlook, manual */
3274
+ source?: string;
3275
+ /** Associate with a contact */
3276
+ contactId?: string;
3277
+ /** Associate with a customer */
3278
+ customerId?: string;
3279
+ /** Associate with a deal */
3280
+ dealId?: string;
3281
+ };
3282
+ /** Messages in the thread */
3283
+ messages?: SyncedEmailMessageInput[];
3284
+ }
3285
+ /**
3286
+ * Parameters for updating a synced email thread
3287
+ */
3288
+ interface SyncedEmailUpdateParams {
3289
+ subject?: string;
3290
+ snippet?: string;
3291
+ source?: string;
3292
+ contactId?: string | null;
3293
+ customerId?: string | null;
3294
+ dealId?: string | null;
3295
+ }
3296
+ /**
3297
+ * Response from adding messages to a thread
3298
+ */
3299
+ interface SyncedEmailAddMessagesParams {
3300
+ messages: SyncedEmailMessageInput[];
3301
+ }
3022
3302
 
3023
3303
  /**
3024
3304
  * Resource for managing customers
@@ -4751,6 +5031,219 @@ declare class MeetingsResource extends BaseResource {
4751
5031
  recordingUrl: string;
4752
5032
  expiresIn: number;
4753
5033
  }>;
5034
+ /**
5035
+ * Accept an AI-generated task suggestion
5036
+ *
5037
+ * Creates a real Task from the suggestion. Optional overrides allow
5038
+ * modifying the title, description, priority, due date, or assignee
5039
+ * before creating the task.
5040
+ *
5041
+ * @param meetingId - The meeting ID
5042
+ * @param suggestionId - The task suggestion ID
5043
+ * @param overrides - Optional fields to override on the created task
5044
+ * @returns The created task and updated suggestion
5045
+ *
5046
+ * @example
5047
+ * ```typescript
5048
+ * // Accept a suggestion as-is
5049
+ * const { task, suggestion } = await client.meetings.acceptTaskSuggestion(
5050
+ * 'meeting_123',
5051
+ * 'suggestion_456'
5052
+ * );
5053
+ *
5054
+ * // Accept with overrides
5055
+ * const { task } = await client.meetings.acceptTaskSuggestion(
5056
+ * 'meeting_123',
5057
+ * 'suggestion_456',
5058
+ * { title: 'Custom title', priority: 'high' }
5059
+ * );
5060
+ * ```
5061
+ */
5062
+ acceptTaskSuggestion(meetingId: string, suggestionId: string, overrides?: AcceptTaskSuggestionParams): Promise<AcceptTaskSuggestionResponse>;
5063
+ /**
5064
+ * Dismiss an AI-generated task suggestion
5065
+ *
5066
+ * Marks the suggestion as dismissed so it no longer appears as pending.
5067
+ *
5068
+ * @param meetingId - The meeting ID
5069
+ * @param suggestionId - The task suggestion ID
5070
+ * @returns Success response
5071
+ *
5072
+ * @example
5073
+ * ```typescript
5074
+ * await client.meetings.dismissTaskSuggestion('meeting_123', 'suggestion_456');
5075
+ * ```
5076
+ */
5077
+ dismissTaskSuggestion(meetingId: string, suggestionId: string): Promise<{
5078
+ success: boolean;
5079
+ }>;
5080
+ }
5081
+
5082
+ /**
5083
+ * Resource for managing synced email threads and messages
5084
+ *
5085
+ * Synced emails represent email threads that have been pushed from external
5086
+ * email providers (Gmail, Outlook) into Mantle. They can be associated with
5087
+ * contacts, customers, and deals.
5088
+ *
5089
+ * @example
5090
+ * ```typescript
5091
+ * // Sync an email thread from Gmail
5092
+ * const syncedEmail = await client.syncedEmails.create({
5093
+ * emailData: {
5094
+ * externalId: 'gmail-thread-id-123',
5095
+ * subject: 'Re: Partnership Discussion',
5096
+ * source: 'gmail',
5097
+ * customerId: 'cust_456',
5098
+ * },
5099
+ * messages: [
5100
+ * {
5101
+ * externalId: 'gmail-msg-1',
5102
+ * fromEmail: 'partner@example.com',
5103
+ * fromName: 'Jane Partner',
5104
+ * toEmails: ['you@company.com'],
5105
+ * subject: 'Partnership Discussion',
5106
+ * bodyText: 'Hi, I wanted to discuss...',
5107
+ * date: '2024-01-15T10:00:00Z',
5108
+ * isInbound: true,
5109
+ * },
5110
+ * ],
5111
+ * });
5112
+ * ```
5113
+ */
5114
+ declare class SyncedEmailsResource extends BaseResource {
5115
+ /**
5116
+ * List synced email threads with optional filters and pagination
5117
+ *
5118
+ * @param params - Filter and pagination parameters
5119
+ * @returns Paginated list of synced email threads
5120
+ *
5121
+ * @example
5122
+ * ```typescript
5123
+ * // List all synced emails
5124
+ * const { syncedEmails } = await client.syncedEmails.list();
5125
+ *
5126
+ * // List synced emails for a specific customer
5127
+ * const { syncedEmails } = await client.syncedEmails.list({ customerId: 'cust_123' });
5128
+ *
5129
+ * // List Gmail synced emails
5130
+ * const { syncedEmails } = await client.syncedEmails.list({ source: 'gmail' });
5131
+ * ```
5132
+ */
5133
+ list(params?: SyncedEmailListParams): Promise<SyncedEmailListResponse>;
5134
+ /**
5135
+ * Retrieve a single synced email thread by ID with all messages
5136
+ *
5137
+ * @param syncedEmailId - The synced email thread ID
5138
+ * @returns The synced email with all messages
5139
+ *
5140
+ * @example
5141
+ * ```typescript
5142
+ * const syncedEmail = await client.syncedEmails.retrieve('se_123');
5143
+ * console.log(syncedEmail.messages?.length);
5144
+ * ```
5145
+ */
5146
+ retrieve(syncedEmailId: string): Promise<SyncedEmail>;
5147
+ /**
5148
+ * Create or sync a synced email thread
5149
+ *
5150
+ * If `emailData.externalId` is provided, performs an upsert: updates the
5151
+ * existing thread and adds new messages if a thread with that externalId
5152
+ * already exists. Otherwise creates a new thread.
5153
+ *
5154
+ * @param data - Email thread and messages data
5155
+ * @returns The created or updated synced email thread
5156
+ *
5157
+ * @example
5158
+ * ```typescript
5159
+ * // Create a new thread (or upsert if externalId matches)
5160
+ * const syncedEmail = await client.syncedEmails.create({
5161
+ * emailData: {
5162
+ * externalId: 'gmail-thread-123',
5163
+ * subject: 'Sales Discussion',
5164
+ * source: 'gmail',
5165
+ * },
5166
+ * messages: [
5167
+ * {
5168
+ * externalId: 'msg-1',
5169
+ * fromEmail: 'prospect@example.com',
5170
+ * subject: 'Sales Discussion',
5171
+ * bodyText: 'Interested in your product...',
5172
+ * date: new Date().toISOString(),
5173
+ * isInbound: true,
5174
+ * },
5175
+ * ],
5176
+ * });
5177
+ * ```
5178
+ */
5179
+ create(data: SyncedEmailCreateParams): Promise<SyncedEmail>;
5180
+ /**
5181
+ * Update synced email thread metadata
5182
+ *
5183
+ * @param syncedEmailId - The synced email thread ID
5184
+ * @param data - Fields to update
5185
+ * @returns The updated synced email thread
5186
+ *
5187
+ * @example
5188
+ * ```typescript
5189
+ * // Link email to a deal
5190
+ * const syncedEmail = await client.syncedEmails.update('se_123', {
5191
+ * dealId: 'deal_456',
5192
+ * });
5193
+ * ```
5194
+ */
5195
+ update(syncedEmailId: string, data: SyncedEmailUpdateParams): Promise<SyncedEmail>;
5196
+ /**
5197
+ * Archive (soft delete) a synced email thread
5198
+ *
5199
+ * @param syncedEmailId - The synced email thread ID
5200
+ * @returns Success response
5201
+ *
5202
+ * @example
5203
+ * ```typescript
5204
+ * await client.syncedEmails.del('se_123');
5205
+ * ```
5206
+ */
5207
+ del(syncedEmailId: string): Promise<DeleteResponse>;
5208
+ /**
5209
+ * Add messages to an existing synced email thread
5210
+ *
5211
+ * @param syncedEmailId - The synced email thread ID
5212
+ * @param data - Messages to add
5213
+ * @returns The synced email thread with all messages
5214
+ *
5215
+ * @example
5216
+ * ```typescript
5217
+ * const syncedEmail = await client.syncedEmails.addMessages('se_123', {
5218
+ * messages: [
5219
+ * {
5220
+ * externalId: 'msg-2',
5221
+ * fromEmail: 'you@company.com',
5222
+ * toEmails: ['prospect@example.com'],
5223
+ * subject: 'Re: Sales Discussion',
5224
+ * bodyText: 'Thanks for your interest...',
5225
+ * date: new Date().toISOString(),
5226
+ * isInbound: false,
5227
+ * },
5228
+ * ],
5229
+ * });
5230
+ * ```
5231
+ */
5232
+ addMessages(syncedEmailId: string, data: SyncedEmailAddMessagesParams): Promise<SyncedEmail>;
5233
+ /**
5234
+ * Get messages for a synced email thread
5235
+ *
5236
+ * @param syncedEmailId - The synced email thread ID
5237
+ * @returns List of messages in the thread
5238
+ *
5239
+ * @example
5240
+ * ```typescript
5241
+ * const { messages } = await client.syncedEmails.getMessages('se_123');
5242
+ * ```
5243
+ */
5244
+ getMessages(syncedEmailId: string): Promise<{
5245
+ messages: SyncedEmailMessage[];
5246
+ }>;
4754
5247
  }
4755
5248
 
4756
5249
  /**
@@ -4815,6 +5308,7 @@ declare class MantleCoreClient {
4815
5308
  readonly flowExtensions: FlowExtensionsResource;
4816
5309
  readonly aiAgentRuns: AiAgentRunsResource;
4817
5310
  readonly meetings: MeetingsResource;
5311
+ readonly syncedEmails: SyncedEmailsResource;
4818
5312
  constructor(config: MantleCoreClientConfig);
4819
5313
  /**
4820
5314
  * Register a middleware function
@@ -5103,4 +5597,4 @@ interface RateLimitOptions {
5103
5597
  */
5104
5598
  declare function createRateLimitMiddleware(options?: RateLimitOptions): Middleware;
5105
5599
 
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 };
5600
+ 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 SyncedEmail, type SyncedEmailAddMessagesParams, type SyncedEmailCreateParams, type SyncedEmailListParams, type SyncedEmailListResponse, type SyncedEmailMessage, type SyncedEmailMessageInput, type SyncedEmailUpdateParams, SyncedEmailsResource, 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 };