@heymantle/core-api-client 0.1.26 → 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/README.md +626 -87
- package/dist/index.d.mts +327 -1
- package/dist/index.d.ts +327 -1
- package/dist/index.js +164 -0
- package/dist/index.mjs +163 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3142,6 +3142,164 @@ interface AcceptTaskSuggestionResponse {
|
|
|
3142
3142
|
suggestion: MeetingTaskSuggestion;
|
|
3143
3143
|
}
|
|
3144
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
|
+
}
|
|
3302
|
+
|
|
3145
3303
|
/**
|
|
3146
3304
|
* Resource for managing customers
|
|
3147
3305
|
*/
|
|
@@ -4921,6 +5079,173 @@ declare class MeetingsResource extends BaseResource {
|
|
|
4921
5079
|
}>;
|
|
4922
5080
|
}
|
|
4923
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
|
+
}>;
|
|
5247
|
+
}
|
|
5248
|
+
|
|
4924
5249
|
/**
|
|
4925
5250
|
* Mantle Core API Client
|
|
4926
5251
|
*
|
|
@@ -4983,6 +5308,7 @@ declare class MantleCoreClient {
|
|
|
4983
5308
|
readonly flowExtensions: FlowExtensionsResource;
|
|
4984
5309
|
readonly aiAgentRuns: AiAgentRunsResource;
|
|
4985
5310
|
readonly meetings: MeetingsResource;
|
|
5311
|
+
readonly syncedEmails: SyncedEmailsResource;
|
|
4986
5312
|
constructor(config: MantleCoreClientConfig);
|
|
4987
5313
|
/**
|
|
4988
5314
|
* Register a middleware function
|
|
@@ -5271,4 +5597,4 @@ interface RateLimitOptions {
|
|
|
5271
5597
|
*/
|
|
5272
5598
|
declare function createRateLimitMiddleware(options?: RateLimitOptions): Middleware;
|
|
5273
5599
|
|
|
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 };
|
|
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 };
|