@elevasis/sdk 0.6.3 → 0.6.5
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/cli.cjs +67 -2
- package/dist/index.d.ts +103 -3
- package/dist/index.js +66 -1
- package/dist/types/worker/adapters/index.d.ts +1 -0
- package/dist/types/worker/adapters/tomba.d.ts +14 -0
- package/dist/worker/index.js +81 -10
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -40246,7 +40246,12 @@ var OpenRouterConfigSchema = external_exports.object({
|
|
|
40246
40246
|
model: external_exports.enum([
|
|
40247
40247
|
"openrouter/anthropic/claude-sonnet-4.5",
|
|
40248
40248
|
"openrouter/deepseek/deepseek-v3.2",
|
|
40249
|
-
"openrouter/x-ai/grok-4.1-fast"
|
|
40249
|
+
"openrouter/x-ai/grok-4.1-fast",
|
|
40250
|
+
"openrouter/minimax/minimax-m2.5",
|
|
40251
|
+
"openrouter/qwen/qwen3.5-397b-a17b",
|
|
40252
|
+
"openrouter/moonshotai/kimi-k2.5",
|
|
40253
|
+
"openrouter/z-ai/glm-5",
|
|
40254
|
+
"openrouter/google/gemini-3-flash-preview"
|
|
40250
40255
|
]),
|
|
40251
40256
|
provider: external_exports.literal("openrouter"),
|
|
40252
40257
|
apiKey: external_exports.string(),
|
|
@@ -40358,6 +40363,66 @@ var MODEL_INFO = {
|
|
|
40358
40363
|
category: "standard",
|
|
40359
40364
|
configSchema: OpenRouterConfigSchema
|
|
40360
40365
|
},
|
|
40366
|
+
"openrouter/minimax/minimax-m2.5": {
|
|
40367
|
+
inputCostPer1M: 25,
|
|
40368
|
+
// $0.25 per 1M tokens
|
|
40369
|
+
outputCostPer1M: 120,
|
|
40370
|
+
// $1.20 per 1M tokens
|
|
40371
|
+
minTokens: 4e3,
|
|
40372
|
+
recommendedTokens: 4e3,
|
|
40373
|
+
maxTokens: 196608,
|
|
40374
|
+
// 196,608 context window
|
|
40375
|
+
category: "standard",
|
|
40376
|
+
configSchema: OpenRouterConfigSchema
|
|
40377
|
+
},
|
|
40378
|
+
"openrouter/qwen/qwen3.5-397b-a17b": {
|
|
40379
|
+
inputCostPer1M: 39,
|
|
40380
|
+
// $0.39 per 1M tokens
|
|
40381
|
+
outputCostPer1M: 234,
|
|
40382
|
+
// $2.34 per 1M tokens
|
|
40383
|
+
minTokens: 4e3,
|
|
40384
|
+
recommendedTokens: 4e3,
|
|
40385
|
+
maxTokens: 262144,
|
|
40386
|
+
// 262,144 context window
|
|
40387
|
+
category: "standard",
|
|
40388
|
+
configSchema: OpenRouterConfigSchema
|
|
40389
|
+
},
|
|
40390
|
+
"openrouter/moonshotai/kimi-k2.5": {
|
|
40391
|
+
inputCostPer1M: 45,
|
|
40392
|
+
// $0.45 per 1M tokens
|
|
40393
|
+
outputCostPer1M: 220,
|
|
40394
|
+
// $2.20 per 1M tokens
|
|
40395
|
+
minTokens: 4e3,
|
|
40396
|
+
recommendedTokens: 4e3,
|
|
40397
|
+
maxTokens: 262144,
|
|
40398
|
+
// 262,144 context window
|
|
40399
|
+
category: "standard",
|
|
40400
|
+
configSchema: OpenRouterConfigSchema
|
|
40401
|
+
},
|
|
40402
|
+
"openrouter/z-ai/glm-5": {
|
|
40403
|
+
inputCostPer1M: 72,
|
|
40404
|
+
// $0.72 per 1M tokens
|
|
40405
|
+
outputCostPer1M: 230,
|
|
40406
|
+
// $2.30 per 1M tokens
|
|
40407
|
+
minTokens: 4e3,
|
|
40408
|
+
recommendedTokens: 4e3,
|
|
40409
|
+
maxTokens: 202752,
|
|
40410
|
+
// 202,752 context window
|
|
40411
|
+
category: "standard",
|
|
40412
|
+
configSchema: OpenRouterConfigSchema
|
|
40413
|
+
},
|
|
40414
|
+
"openrouter/google/gemini-3-flash-preview": {
|
|
40415
|
+
inputCostPer1M: 50,
|
|
40416
|
+
// $0.50 per 1M tokens
|
|
40417
|
+
outputCostPer1M: 300,
|
|
40418
|
+
// $3.00 per 1M tokens
|
|
40419
|
+
minTokens: 4e3,
|
|
40420
|
+
recommendedTokens: 8e3,
|
|
40421
|
+
maxTokens: 1048576,
|
|
40422
|
+
// 1M context window
|
|
40423
|
+
category: "standard",
|
|
40424
|
+
configSchema: OpenRouterConfigSchema
|
|
40425
|
+
},
|
|
40361
40426
|
// Google Gemini Models (direct SDK access via @google/genai)
|
|
40362
40427
|
"gemini-3-flash-preview": {
|
|
40363
40428
|
inputCostPer1M: 50,
|
|
@@ -43884,7 +43949,7 @@ async function apiDelete(endpoint, apiUrl = resolveApiUrl()) {
|
|
|
43884
43949
|
// package.json
|
|
43885
43950
|
var package_default = {
|
|
43886
43951
|
name: "@elevasis/sdk",
|
|
43887
|
-
version: "0.6.
|
|
43952
|
+
version: "0.6.5",
|
|
43888
43953
|
description: "SDK for building Elevasis organization resources",
|
|
43889
43954
|
type: "module",
|
|
43890
43955
|
bin: {
|
package/dist/index.d.ts
CHANGED
|
@@ -584,7 +584,7 @@ type OpenAIModel = 'gpt-5' | 'gpt-5-mini';
|
|
|
584
584
|
/**
|
|
585
585
|
* Supported OpenRouter models (explicit union for type safety)
|
|
586
586
|
*/
|
|
587
|
-
type OpenRouterModel = 'openrouter/anthropic/claude-sonnet-4.5' | 'openrouter/deepseek/deepseek-v3.2' | 'openrouter/x-ai/grok-4.1-fast';
|
|
587
|
+
type OpenRouterModel = 'openrouter/anthropic/claude-sonnet-4.5' | 'openrouter/deepseek/deepseek-v3.2' | 'openrouter/x-ai/grok-4.1-fast' | 'openrouter/minimax/minimax-m2.5' | 'openrouter/qwen/qwen3.5-397b-a17b' | 'openrouter/moonshotai/kimi-k2.5' | 'openrouter/z-ai/glm-5' | 'openrouter/google/gemini-3-flash-preview';
|
|
588
588
|
/**
|
|
589
589
|
* Supported Google models (direct SDK access)
|
|
590
590
|
*/
|
|
@@ -1181,6 +1181,7 @@ type Database = {
|
|
|
1181
1181
|
created_at: string;
|
|
1182
1182
|
domain: string | null;
|
|
1183
1183
|
enrichment_data: Json | null;
|
|
1184
|
+
filter_reason: string | null;
|
|
1184
1185
|
founded_year: number | null;
|
|
1185
1186
|
id: string;
|
|
1186
1187
|
linkedin_url: string | null;
|
|
@@ -1203,6 +1204,7 @@ type Database = {
|
|
|
1203
1204
|
created_at?: string;
|
|
1204
1205
|
domain?: string | null;
|
|
1205
1206
|
enrichment_data?: Json | null;
|
|
1207
|
+
filter_reason?: string | null;
|
|
1206
1208
|
founded_year?: number | null;
|
|
1207
1209
|
id?: string;
|
|
1208
1210
|
linkedin_url?: string | null;
|
|
@@ -1225,6 +1227,7 @@ type Database = {
|
|
|
1225
1227
|
created_at?: string;
|
|
1226
1228
|
domain?: string | null;
|
|
1227
1229
|
enrichment_data?: Json | null;
|
|
1230
|
+
filter_reason?: string | null;
|
|
1228
1231
|
founded_year?: number | null;
|
|
1229
1232
|
id?: string;
|
|
1230
1233
|
linkedin_url?: string | null;
|
|
@@ -3317,6 +3320,17 @@ interface CompanyEnrichmentData {
|
|
|
3317
3320
|
aiInsight?: string;
|
|
3318
3321
|
}>;
|
|
3319
3322
|
};
|
|
3323
|
+
tomba?: {
|
|
3324
|
+
waterfallEmail?: {
|
|
3325
|
+
email: string;
|
|
3326
|
+
name?: string;
|
|
3327
|
+
title?: string;
|
|
3328
|
+
department?: string;
|
|
3329
|
+
} | null;
|
|
3330
|
+
genericEmail?: string | null;
|
|
3331
|
+
totalFound?: number;
|
|
3332
|
+
searchedAt?: string;
|
|
3333
|
+
};
|
|
3320
3334
|
}
|
|
3321
3335
|
/**
|
|
3322
3336
|
* Enrichment data collected for a contact from various sources.
|
|
@@ -3463,6 +3477,7 @@ interface CompanyFilters {
|
|
|
3463
3477
|
batchId?: string;
|
|
3464
3478
|
status?: 'active' | 'invalid';
|
|
3465
3479
|
includeAll?: boolean;
|
|
3480
|
+
excludeColumns?: Array<'enrichmentData' | 'pipelineStatus'>;
|
|
3466
3481
|
}
|
|
3467
3482
|
interface CreateContactParams {
|
|
3468
3483
|
organizationId: string;
|
|
@@ -4768,6 +4783,77 @@ interface VerifyEmailResult {
|
|
|
4768
4783
|
[key: string]: unknown;
|
|
4769
4784
|
}
|
|
4770
4785
|
|
|
4786
|
+
interface EmailFinderParams {
|
|
4787
|
+
domain: string;
|
|
4788
|
+
firstName: string;
|
|
4789
|
+
lastName: string;
|
|
4790
|
+
}
|
|
4791
|
+
interface EmailFinderResult {
|
|
4792
|
+
email: string;
|
|
4793
|
+
firstName: string;
|
|
4794
|
+
lastName: string;
|
|
4795
|
+
fullName: string;
|
|
4796
|
+
position: string;
|
|
4797
|
+
company: string;
|
|
4798
|
+
country: string;
|
|
4799
|
+
score: number;
|
|
4800
|
+
verificationDate: string;
|
|
4801
|
+
verificationStatus: string;
|
|
4802
|
+
sources: Array<{
|
|
4803
|
+
uri: string;
|
|
4804
|
+
extractedOn: string;
|
|
4805
|
+
lastSeenOn: string;
|
|
4806
|
+
stillOnPage: boolean;
|
|
4807
|
+
}>;
|
|
4808
|
+
[key: string]: unknown;
|
|
4809
|
+
}
|
|
4810
|
+
interface DomainSearchParams {
|
|
4811
|
+
domain: string;
|
|
4812
|
+
limit?: number;
|
|
4813
|
+
department?: string;
|
|
4814
|
+
}
|
|
4815
|
+
interface DomainSearchEmail {
|
|
4816
|
+
email: string;
|
|
4817
|
+
firstName: string;
|
|
4818
|
+
lastName: string;
|
|
4819
|
+
fullName: string;
|
|
4820
|
+
position: string;
|
|
4821
|
+
department: string;
|
|
4822
|
+
verificationDate: string;
|
|
4823
|
+
verificationStatus: string;
|
|
4824
|
+
sources: Array<{
|
|
4825
|
+
uri: string;
|
|
4826
|
+
extractedOn: string;
|
|
4827
|
+
lastSeenOn: string;
|
|
4828
|
+
stillOnPage: boolean;
|
|
4829
|
+
}>;
|
|
4830
|
+
}
|
|
4831
|
+
interface DomainSearchResult {
|
|
4832
|
+
organizationName: string;
|
|
4833
|
+
domain: string;
|
|
4834
|
+
emails: DomainSearchEmail[];
|
|
4835
|
+
[key: string]: unknown;
|
|
4836
|
+
}
|
|
4837
|
+
interface EmailVerifierParams {
|
|
4838
|
+
email: string;
|
|
4839
|
+
}
|
|
4840
|
+
interface EmailVerifierResult {
|
|
4841
|
+
email: string;
|
|
4842
|
+
result: string;
|
|
4843
|
+
status: string;
|
|
4844
|
+
score: number;
|
|
4845
|
+
mxRecords: boolean;
|
|
4846
|
+
smtpServer: boolean;
|
|
4847
|
+
smtpCheck: boolean;
|
|
4848
|
+
acceptAll: boolean;
|
|
4849
|
+
block: boolean;
|
|
4850
|
+
gibberish: boolean;
|
|
4851
|
+
disposable: boolean;
|
|
4852
|
+
webmail: boolean;
|
|
4853
|
+
regex: boolean;
|
|
4854
|
+
[key: string]: unknown;
|
|
4855
|
+
}
|
|
4856
|
+
|
|
4771
4857
|
/**
|
|
4772
4858
|
* Shared Notion param/result types (browser-safe)
|
|
4773
4859
|
*
|
|
@@ -5624,6 +5710,20 @@ type AnymailfinderToolMap = {
|
|
|
5624
5710
|
result: VerifyEmailResult;
|
|
5625
5711
|
};
|
|
5626
5712
|
};
|
|
5713
|
+
type TombaToolMap = {
|
|
5714
|
+
emailFinder: {
|
|
5715
|
+
params: EmailFinderParams;
|
|
5716
|
+
result: EmailFinderResult;
|
|
5717
|
+
};
|
|
5718
|
+
domainSearch: {
|
|
5719
|
+
params: DomainSearchParams;
|
|
5720
|
+
result: DomainSearchResult;
|
|
5721
|
+
};
|
|
5722
|
+
emailVerifier: {
|
|
5723
|
+
params: EmailVerifierParams;
|
|
5724
|
+
result: EmailVerifierResult;
|
|
5725
|
+
};
|
|
5726
|
+
};
|
|
5627
5727
|
type LeadToolMap = {
|
|
5628
5728
|
listLists: {
|
|
5629
5729
|
params: Record<string, never>;
|
|
@@ -6189,7 +6289,7 @@ type ToolingErrorType = 'service_unavailable' | 'permission_denied' | 'adapter_n
|
|
|
6189
6289
|
* Note: Concrete adapter implementations are deferred until needed.
|
|
6190
6290
|
* This type provides compile-time safety and auto-completion for tool definitions.
|
|
6191
6291
|
*/
|
|
6192
|
-
type IntegrationType = 'gmail' | 'google-sheets' | 'slack' | 'github' | 'linear' | 'notion' | 'attio' | 'airtable' | 'salesforce' | 'hubspot' | 'stripe' | 'twilio' | 'sendgrid' | 'mailgun' | 'zapier' | 'webhook' | 'apify' | 'instantly' | 'resend' | 'signature-api' | 'dropbox' | 'mailso' | 'anymailfinder';
|
|
6292
|
+
type IntegrationType = 'gmail' | 'google-sheets' | 'slack' | 'github' | 'linear' | 'notion' | 'attio' | 'airtable' | 'salesforce' | 'hubspot' | 'stripe' | 'twilio' | 'sendgrid' | 'mailgun' | 'zapier' | 'webhook' | 'apify' | 'instantly' | 'resend' | 'signature-api' | 'dropbox' | 'mailso' | 'anymailfinder' | 'tomba';
|
|
6193
6293
|
|
|
6194
6294
|
/**
|
|
6195
6295
|
* Resource Registry type definitions
|
|
@@ -6622,4 +6722,4 @@ declare class ToolingError extends ExecutionError {
|
|
|
6622
6722
|
}
|
|
6623
6723
|
|
|
6624
6724
|
export { ExecutionError, RegistryValidationError, ResourceRegistry, StepType, ToolingError };
|
|
6625
|
-
export type { AbsoluteScheduleConfig, AcqCompany, AcqContact, AcqDeal, AcqList, AddToCampaignLead, AddToCampaignParams, AddToCampaignResult, AgentConfig, AgentConstraints, AgentDefinition, AgentMemory, FindCompanyEmailParams as AnymailfinderFindCompanyEmailParams, FindCompanyEmailResult as AnymailfinderFindCompanyEmailResult, FindDecisionMakerEmailParams as AnymailfinderFindDecisionMakerEmailParams, FindDecisionMakerEmailResult as AnymailfinderFindDecisionMakerEmailResult, FindPersonEmailParams as AnymailfinderFindPersonEmailParams, FindPersonEmailResult as AnymailfinderFindPersonEmailResult, AnymailfinderToolMap, VerifyEmailParams as AnymailfinderVerifyEmailParams, VerifyEmailResult as AnymailfinderVerifyEmailResult, ApifyToolMap, ApifyWebhookConfig, AppendBlocksParams, AppendBlocksResult, AppendRowsParams, AppendRowsResult, ApprovalToolMap, AttioToolMap, BatchUpdateParams, BatchUpdateResult, BulkImportParams, BulkImportResult, CancelHitlByDealIdParams, CancelSchedulesAndHitlByEmailParams, ClearDealFieldsParams, ClearRangeParams, ClearRangeResult, CompanyFilters, ConditionalNext, ContactFilters, Contract, CreateAttributeParams, CreateAttributeResult, CreateAutoPaymentLinkParams, CreateAutoPaymentLinkResult, CreateCheckoutSessionParams, CreateCheckoutSessionResult, CreateCompanyParams, CreateContactParams, CreateEnvelopeParams, CreateEnvelopeResult, CreateFolderParams, CreateFolderResult, CreateListParams, CreateNoteParams, CreateNoteResult, CreatePageParams, CreatePageResult, CreatePaymentLinkParams, CreatePaymentLinkResult, CreateRecordParams, CreateRecordResult, CreateScheduleInput, DeleteBlocksParams, DeleteBlocksResult, DeleteDealParams, DeleteNoteParams, DeleteNoteResult, DeletePageParams, DeletePageResult, DeleteRecordParams, DeleteRecordResult, DeleteRowByValueParams, DeleteRowByValueResult, DomainDefinition, DownloadDocumentParams, DownloadDocumentResult, DropboxToolMap, ElevasConfig, EmailToolMap, EnvelopeDocument, EventTriggerConfig, ExecutionContext, ExecutionInterface, ExecutionMetadata, ExecutionToolMap, FilterExpression, FilterRowsParams, FilterRowsResult, FormField, FormFieldType, FormSchema, GetEmailsParams, GetEmailsResult, GetEnvelopeParams, GetEnvelopeResult, GetHeadersParams, GetHeadersResult, GetLastRowParams, GetLastRowResult, GetPaymentLinkParams, GetPaymentLinkResult, GetRecordParams, GetRecordResult, GetRowByValueParams, GetRowByValueResult, GetSpreadsheetMetadataParams, GetSpreadsheetMetadataResult, GmailSendEmailParams, GmailSendEmailResult, GmailToolMap, GoogleSheetsToolMap, HumanCheckpointDefinition, InstantlyToolMap, IntegrationDefinition, LLMAdapterFactory, LLMGenerateRequest, LLMGenerateResponse, LLMMessage, LLMModel, LeadToolMap, LinearNext, ListAllPagesResult, ListAttributesParams, ListAttributesResult, ListNotesParams, ListNotesResult, ListObjectsResult, ListPaymentLinksParams, ListPaymentLinksResult, MailsoToolMap, MailsoVerifyEmailParams, MailsoVerifyEmailResult, MarkProposalReviewedParams, MarkProposalSentParams, MethodEntry, ModelConfig, NextConfig, NotificationSDKInput, NotificationToolMap, NotionToolMap, OrganizationResources, PageWithChildren, PaginatedResult, PaginationParams, PdfToolMap, QueryRecordsParams, QueryRecordsResult, ReadPageParams, ReadPageResult, ReadSheetParams, ReadSheetResult, Recipient, RecurringScheduleConfig, RelationshipDeclaration, RelativeScheduleConfig, RemoveFromSubsequenceParams, RemoveFromSubsequenceResult, ResendGetEmailParams, ResendGetEmailResult, ResendSendEmailParams, ResendSendEmailResult, ResendToolMap, ResourceDefinition, ResourceDomain, ResourceMetricsConfig, ResourceRelationships, ResourceStatus$1 as ResourceStatus, ResourceType, RunActorParams, RunActorResult, SDKLLMGenerateParams, ScheduleOriginTracking, ScheduleTarget, ScheduleTriggerConfig, SchedulerToolMap, SendReplyParams, SendReplyResult, SetContactNurtureParams, SheetInfo, SignatureApiFieldType, SignatureApiToolMap, SigningPlace, SortCriteria, StartActorParams, StartActorResult, StepHandler, StorageDeleteInput, StorageDeleteOutput, StorageDownloadInput, StorageDownloadOutput, StorageListInput, StorageListOutput, StorageSignedUrlInput, StorageSignedUrlOutput, StorageToolMap, StorageUploadInput, StorageUploadOutput, StripeToolMap, SyncDealStageParams, TaskSchedule, TaskScheduleConfig, Tool, ToolExecutionOptions, ToolMethodMap, ToolingErrorType, TriggerConfig, TriggerDefinition, UpdateAttributeParams, UpdateAttributeResult, UpdateBlocksParams, UpdateBlocksResult, UpdateCloseLostReasonParams, UpdateCompanyParams, UpdateContactParams, UpdateDiscoveryDataParams, UpdateFeesParams, UpdateInterestStatusParams, UpdateInterestStatusResult, UpdateListParams, UpdatePageTitleParams, UpdatePageTitleResult, UpdatePaymentLinkParams, UpdatePaymentLinkResult, UpdateProposalDataParams, UpdateRecordParams, UpdateRecordResult, UpdateRowByValueParams, UpdateRowByValueResult, UploadFileParams, UploadFileResult, UpsertCompanyParams, UpsertContactParams, UpsertDealParams, UpsertRowParams, UpsertRowResult, VoidEnvelopeParams, VoidEnvelopeResult, WebhookProviderType, WebhookTriggerConfig, WorkflowConfig, WorkflowDefinition, WorkflowStep, WriteSheetParams, WriteSheetResult };
|
|
6725
|
+
export type { AbsoluteScheduleConfig, AcqCompany, AcqContact, AcqDeal, AcqList, AddToCampaignLead, AddToCampaignParams, AddToCampaignResult, AgentConfig, AgentConstraints, AgentDefinition, AgentMemory, FindCompanyEmailParams as AnymailfinderFindCompanyEmailParams, FindCompanyEmailResult as AnymailfinderFindCompanyEmailResult, FindDecisionMakerEmailParams as AnymailfinderFindDecisionMakerEmailParams, FindDecisionMakerEmailResult as AnymailfinderFindDecisionMakerEmailResult, FindPersonEmailParams as AnymailfinderFindPersonEmailParams, FindPersonEmailResult as AnymailfinderFindPersonEmailResult, AnymailfinderToolMap, VerifyEmailParams as AnymailfinderVerifyEmailParams, VerifyEmailResult as AnymailfinderVerifyEmailResult, ApifyToolMap, ApifyWebhookConfig, AppendBlocksParams, AppendBlocksResult, AppendRowsParams, AppendRowsResult, ApprovalToolMap, AttioToolMap, BatchUpdateParams, BatchUpdateResult, BulkImportParams, BulkImportResult, CancelHitlByDealIdParams, CancelSchedulesAndHitlByEmailParams, ClearDealFieldsParams, ClearRangeParams, ClearRangeResult, CompanyFilters, ConditionalNext, ContactFilters, Contract, CreateAttributeParams, CreateAttributeResult, CreateAutoPaymentLinkParams, CreateAutoPaymentLinkResult, CreateCheckoutSessionParams, CreateCheckoutSessionResult, CreateCompanyParams, CreateContactParams, CreateEnvelopeParams, CreateEnvelopeResult, CreateFolderParams, CreateFolderResult, CreateListParams, CreateNoteParams, CreateNoteResult, CreatePageParams, CreatePageResult, CreatePaymentLinkParams, CreatePaymentLinkResult, CreateRecordParams, CreateRecordResult, CreateScheduleInput, DeleteBlocksParams, DeleteBlocksResult, DeleteDealParams, DeleteNoteParams, DeleteNoteResult, DeletePageParams, DeletePageResult, DeleteRecordParams, DeleteRecordResult, DeleteRowByValueParams, DeleteRowByValueResult, DomainDefinition, DownloadDocumentParams, DownloadDocumentResult, DropboxToolMap, ElevasConfig, EmailToolMap, EnvelopeDocument, EventTriggerConfig, ExecutionContext, ExecutionInterface, ExecutionMetadata, ExecutionToolMap, FilterExpression, FilterRowsParams, FilterRowsResult, FormField, FormFieldType, FormSchema, GetEmailsParams, GetEmailsResult, GetEnvelopeParams, GetEnvelopeResult, GetHeadersParams, GetHeadersResult, GetLastRowParams, GetLastRowResult, GetPaymentLinkParams, GetPaymentLinkResult, GetRecordParams, GetRecordResult, GetRowByValueParams, GetRowByValueResult, GetSpreadsheetMetadataParams, GetSpreadsheetMetadataResult, GmailSendEmailParams, GmailSendEmailResult, GmailToolMap, GoogleSheetsToolMap, HumanCheckpointDefinition, InstantlyToolMap, IntegrationDefinition, LLMAdapterFactory, LLMGenerateRequest, LLMGenerateResponse, LLMMessage, LLMModel, LeadToolMap, LinearNext, ListAllPagesResult, ListAttributesParams, ListAttributesResult, ListNotesParams, ListNotesResult, ListObjectsResult, ListPaymentLinksParams, ListPaymentLinksResult, MailsoToolMap, MailsoVerifyEmailParams, MailsoVerifyEmailResult, MarkProposalReviewedParams, MarkProposalSentParams, MethodEntry, ModelConfig, NextConfig, NotificationSDKInput, NotificationToolMap, NotionToolMap, OrganizationResources, PageWithChildren, PaginatedResult, PaginationParams, PdfToolMap, QueryRecordsParams, QueryRecordsResult, ReadPageParams, ReadPageResult, ReadSheetParams, ReadSheetResult, Recipient, RecurringScheduleConfig, RelationshipDeclaration, RelativeScheduleConfig, RemoveFromSubsequenceParams, RemoveFromSubsequenceResult, ResendGetEmailParams, ResendGetEmailResult, ResendSendEmailParams, ResendSendEmailResult, ResendToolMap, ResourceDefinition, ResourceDomain, ResourceMetricsConfig, ResourceRelationships, ResourceStatus$1 as ResourceStatus, ResourceType, RunActorParams, RunActorResult, SDKLLMGenerateParams, ScheduleOriginTracking, ScheduleTarget, ScheduleTriggerConfig, SchedulerToolMap, SendReplyParams, SendReplyResult, SetContactNurtureParams, SheetInfo, SignatureApiFieldType, SignatureApiToolMap, SigningPlace, SortCriteria, StartActorParams, StartActorResult, StepHandler, StorageDeleteInput, StorageDeleteOutput, StorageDownloadInput, StorageDownloadOutput, StorageListInput, StorageListOutput, StorageSignedUrlInput, StorageSignedUrlOutput, StorageToolMap, StorageUploadInput, StorageUploadOutput, StripeToolMap, SyncDealStageParams, TaskSchedule, TaskScheduleConfig, TombaToolMap, Tool, ToolExecutionOptions, ToolMethodMap, ToolingErrorType, TriggerConfig, TriggerDefinition, UpdateAttributeParams, UpdateAttributeResult, UpdateBlocksParams, UpdateBlocksResult, UpdateCloseLostReasonParams, UpdateCompanyParams, UpdateContactParams, UpdateDiscoveryDataParams, UpdateFeesParams, UpdateInterestStatusParams, UpdateInterestStatusResult, UpdateListParams, UpdatePageTitleParams, UpdatePageTitleResult, UpdatePaymentLinkParams, UpdatePaymentLinkResult, UpdateProposalDataParams, UpdateRecordParams, UpdateRecordResult, UpdateRowByValueParams, UpdateRowByValueResult, UploadFileParams, UploadFileResult, UpsertCompanyParams, UpsertContactParams, UpsertDealParams, UpsertRowParams, UpsertRowResult, VoidEnvelopeParams, VoidEnvelopeResult, WebhookProviderType, WebhookTriggerConfig, WorkflowConfig, WorkflowDefinition, WorkflowStep, WriteSheetParams, WriteSheetResult };
|
package/dist/index.js
CHANGED
|
@@ -222,7 +222,12 @@ var OpenRouterConfigSchema = z.object({
|
|
|
222
222
|
model: z.enum([
|
|
223
223
|
"openrouter/anthropic/claude-sonnet-4.5",
|
|
224
224
|
"openrouter/deepseek/deepseek-v3.2",
|
|
225
|
-
"openrouter/x-ai/grok-4.1-fast"
|
|
225
|
+
"openrouter/x-ai/grok-4.1-fast",
|
|
226
|
+
"openrouter/minimax/minimax-m2.5",
|
|
227
|
+
"openrouter/qwen/qwen3.5-397b-a17b",
|
|
228
|
+
"openrouter/moonshotai/kimi-k2.5",
|
|
229
|
+
"openrouter/z-ai/glm-5",
|
|
230
|
+
"openrouter/google/gemini-3-flash-preview"
|
|
226
231
|
]),
|
|
227
232
|
provider: z.literal("openrouter"),
|
|
228
233
|
apiKey: z.string(),
|
|
@@ -334,6 +339,66 @@ var MODEL_INFO = {
|
|
|
334
339
|
category: "standard",
|
|
335
340
|
configSchema: OpenRouterConfigSchema
|
|
336
341
|
},
|
|
342
|
+
"openrouter/minimax/minimax-m2.5": {
|
|
343
|
+
inputCostPer1M: 25,
|
|
344
|
+
// $0.25 per 1M tokens
|
|
345
|
+
outputCostPer1M: 120,
|
|
346
|
+
// $1.20 per 1M tokens
|
|
347
|
+
minTokens: 4e3,
|
|
348
|
+
recommendedTokens: 4e3,
|
|
349
|
+
maxTokens: 196608,
|
|
350
|
+
// 196,608 context window
|
|
351
|
+
category: "standard",
|
|
352
|
+
configSchema: OpenRouterConfigSchema
|
|
353
|
+
},
|
|
354
|
+
"openrouter/qwen/qwen3.5-397b-a17b": {
|
|
355
|
+
inputCostPer1M: 39,
|
|
356
|
+
// $0.39 per 1M tokens
|
|
357
|
+
outputCostPer1M: 234,
|
|
358
|
+
// $2.34 per 1M tokens
|
|
359
|
+
minTokens: 4e3,
|
|
360
|
+
recommendedTokens: 4e3,
|
|
361
|
+
maxTokens: 262144,
|
|
362
|
+
// 262,144 context window
|
|
363
|
+
category: "standard",
|
|
364
|
+
configSchema: OpenRouterConfigSchema
|
|
365
|
+
},
|
|
366
|
+
"openrouter/moonshotai/kimi-k2.5": {
|
|
367
|
+
inputCostPer1M: 45,
|
|
368
|
+
// $0.45 per 1M tokens
|
|
369
|
+
outputCostPer1M: 220,
|
|
370
|
+
// $2.20 per 1M tokens
|
|
371
|
+
minTokens: 4e3,
|
|
372
|
+
recommendedTokens: 4e3,
|
|
373
|
+
maxTokens: 262144,
|
|
374
|
+
// 262,144 context window
|
|
375
|
+
category: "standard",
|
|
376
|
+
configSchema: OpenRouterConfigSchema
|
|
377
|
+
},
|
|
378
|
+
"openrouter/z-ai/glm-5": {
|
|
379
|
+
inputCostPer1M: 72,
|
|
380
|
+
// $0.72 per 1M tokens
|
|
381
|
+
outputCostPer1M: 230,
|
|
382
|
+
// $2.30 per 1M tokens
|
|
383
|
+
minTokens: 4e3,
|
|
384
|
+
recommendedTokens: 4e3,
|
|
385
|
+
maxTokens: 202752,
|
|
386
|
+
// 202,752 context window
|
|
387
|
+
category: "standard",
|
|
388
|
+
configSchema: OpenRouterConfigSchema
|
|
389
|
+
},
|
|
390
|
+
"openrouter/google/gemini-3-flash-preview": {
|
|
391
|
+
inputCostPer1M: 50,
|
|
392
|
+
// $0.50 per 1M tokens
|
|
393
|
+
outputCostPer1M: 300,
|
|
394
|
+
// $3.00 per 1M tokens
|
|
395
|
+
minTokens: 4e3,
|
|
396
|
+
recommendedTokens: 8e3,
|
|
397
|
+
maxTokens: 1048576,
|
|
398
|
+
// 1M context window
|
|
399
|
+
category: "standard",
|
|
400
|
+
configSchema: OpenRouterConfigSchema
|
|
401
|
+
},
|
|
337
402
|
// Google Gemini Models (direct SDK access via @google/genai)
|
|
338
403
|
"gemini-3-flash-preview": {
|
|
339
404
|
inputCostPer1M: 50,
|
|
@@ -14,6 +14,7 @@ export { createGoogleSheetsAdapter } from './google-sheets.js';
|
|
|
14
14
|
export { createInstantlyAdapter } from './instantly.js';
|
|
15
15
|
export { createMailsoAdapter } from './mailso.js';
|
|
16
16
|
export { createAnymailfinderAdapter } from './anymailfinder.js';
|
|
17
|
+
export { createTombaAdapter } from './tomba.js';
|
|
17
18
|
export { createNotionAdapter } from './notion.js';
|
|
18
19
|
export { createResendAdapter } from './resend.js';
|
|
19
20
|
export { createSignatureApiAdapter } from './signature-api.js';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tomba Integration Adapter
|
|
3
|
+
*
|
|
4
|
+
* Typed wrapper over platform.call() for Tomba email discovery operations.
|
|
5
|
+
* Uses factory pattern -- credential is bound once at construction time.
|
|
6
|
+
*/
|
|
7
|
+
import type { TombaToolMap } from '../../types/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Create a typed Tomba adapter bound to a specific credential.
|
|
10
|
+
*
|
|
11
|
+
* @param credential - Credential name as configured in the command center
|
|
12
|
+
* @returns Object with 3 typed methods for Tomba email discovery operations
|
|
13
|
+
*/
|
|
14
|
+
export declare function createTombaAdapter(credential: string): import("./create-adapter.js").TypedAdapter<TombaToolMap>;
|
package/dist/worker/index.js
CHANGED
|
@@ -2624,7 +2624,12 @@ var OpenRouterConfigSchema = z.object({
|
|
|
2624
2624
|
model: z.enum([
|
|
2625
2625
|
"openrouter/anthropic/claude-sonnet-4.5",
|
|
2626
2626
|
"openrouter/deepseek/deepseek-v3.2",
|
|
2627
|
-
"openrouter/x-ai/grok-4.1-fast"
|
|
2627
|
+
"openrouter/x-ai/grok-4.1-fast",
|
|
2628
|
+
"openrouter/minimax/minimax-m2.5",
|
|
2629
|
+
"openrouter/qwen/qwen3.5-397b-a17b",
|
|
2630
|
+
"openrouter/moonshotai/kimi-k2.5",
|
|
2631
|
+
"openrouter/z-ai/glm-5",
|
|
2632
|
+
"openrouter/google/gemini-3-flash-preview"
|
|
2628
2633
|
]),
|
|
2629
2634
|
provider: z.literal("openrouter"),
|
|
2630
2635
|
apiKey: z.string(),
|
|
@@ -2736,6 +2741,66 @@ var MODEL_INFO = {
|
|
|
2736
2741
|
category: "standard",
|
|
2737
2742
|
configSchema: OpenRouterConfigSchema
|
|
2738
2743
|
},
|
|
2744
|
+
"openrouter/minimax/minimax-m2.5": {
|
|
2745
|
+
inputCostPer1M: 25,
|
|
2746
|
+
// $0.25 per 1M tokens
|
|
2747
|
+
outputCostPer1M: 120,
|
|
2748
|
+
// $1.20 per 1M tokens
|
|
2749
|
+
minTokens: 4e3,
|
|
2750
|
+
recommendedTokens: 4e3,
|
|
2751
|
+
maxTokens: 196608,
|
|
2752
|
+
// 196,608 context window
|
|
2753
|
+
category: "standard",
|
|
2754
|
+
configSchema: OpenRouterConfigSchema
|
|
2755
|
+
},
|
|
2756
|
+
"openrouter/qwen/qwen3.5-397b-a17b": {
|
|
2757
|
+
inputCostPer1M: 39,
|
|
2758
|
+
// $0.39 per 1M tokens
|
|
2759
|
+
outputCostPer1M: 234,
|
|
2760
|
+
// $2.34 per 1M tokens
|
|
2761
|
+
minTokens: 4e3,
|
|
2762
|
+
recommendedTokens: 4e3,
|
|
2763
|
+
maxTokens: 262144,
|
|
2764
|
+
// 262,144 context window
|
|
2765
|
+
category: "standard",
|
|
2766
|
+
configSchema: OpenRouterConfigSchema
|
|
2767
|
+
},
|
|
2768
|
+
"openrouter/moonshotai/kimi-k2.5": {
|
|
2769
|
+
inputCostPer1M: 45,
|
|
2770
|
+
// $0.45 per 1M tokens
|
|
2771
|
+
outputCostPer1M: 220,
|
|
2772
|
+
// $2.20 per 1M tokens
|
|
2773
|
+
minTokens: 4e3,
|
|
2774
|
+
recommendedTokens: 4e3,
|
|
2775
|
+
maxTokens: 262144,
|
|
2776
|
+
// 262,144 context window
|
|
2777
|
+
category: "standard",
|
|
2778
|
+
configSchema: OpenRouterConfigSchema
|
|
2779
|
+
},
|
|
2780
|
+
"openrouter/z-ai/glm-5": {
|
|
2781
|
+
inputCostPer1M: 72,
|
|
2782
|
+
// $0.72 per 1M tokens
|
|
2783
|
+
outputCostPer1M: 230,
|
|
2784
|
+
// $2.30 per 1M tokens
|
|
2785
|
+
minTokens: 4e3,
|
|
2786
|
+
recommendedTokens: 4e3,
|
|
2787
|
+
maxTokens: 202752,
|
|
2788
|
+
// 202,752 context window
|
|
2789
|
+
category: "standard",
|
|
2790
|
+
configSchema: OpenRouterConfigSchema
|
|
2791
|
+
},
|
|
2792
|
+
"openrouter/google/gemini-3-flash-preview": {
|
|
2793
|
+
inputCostPer1M: 50,
|
|
2794
|
+
// $0.50 per 1M tokens
|
|
2795
|
+
outputCostPer1M: 300,
|
|
2796
|
+
// $3.00 per 1M tokens
|
|
2797
|
+
minTokens: 4e3,
|
|
2798
|
+
recommendedTokens: 8e3,
|
|
2799
|
+
maxTokens: 1048576,
|
|
2800
|
+
// 1M context window
|
|
2801
|
+
category: "standard",
|
|
2802
|
+
configSchema: OpenRouterConfigSchema
|
|
2803
|
+
},
|
|
2739
2804
|
// Google Gemini Models (direct SDK access via @google/genai)
|
|
2740
2805
|
"gemini-3-flash-preview": {
|
|
2741
2806
|
inputCostPer1M: 50,
|
|
@@ -4916,8 +4981,14 @@ function createAnymailfinderAdapter(credential) {
|
|
|
4916
4981
|
return createAdapter("anymailfinder", METHODS8, credential);
|
|
4917
4982
|
}
|
|
4918
4983
|
|
|
4984
|
+
// src/worker/adapters/tomba.ts
|
|
4985
|
+
var METHODS9 = ["emailFinder", "domainSearch", "emailVerifier"];
|
|
4986
|
+
function createTombaAdapter(credential) {
|
|
4987
|
+
return createAdapter("tomba", METHODS9, credential);
|
|
4988
|
+
}
|
|
4989
|
+
|
|
4919
4990
|
// src/worker/adapters/notion.ts
|
|
4920
|
-
var
|
|
4991
|
+
var METHODS10 = [
|
|
4921
4992
|
"listAllPages",
|
|
4922
4993
|
"readPage",
|
|
4923
4994
|
"createPage",
|
|
@@ -4928,31 +4999,31 @@ var METHODS9 = [
|
|
|
4928
4999
|
"deleteBlocks"
|
|
4929
5000
|
];
|
|
4930
5001
|
function createNotionAdapter(credential) {
|
|
4931
|
-
return createAdapter("notion",
|
|
5002
|
+
return createAdapter("notion", METHODS10, credential);
|
|
4932
5003
|
}
|
|
4933
5004
|
|
|
4934
5005
|
// src/worker/adapters/resend.ts
|
|
4935
|
-
var
|
|
5006
|
+
var METHODS11 = [
|
|
4936
5007
|
"sendEmail",
|
|
4937
5008
|
"getEmail"
|
|
4938
5009
|
];
|
|
4939
5010
|
function createResendAdapter(credential) {
|
|
4940
|
-
return createAdapter("resend",
|
|
5011
|
+
return createAdapter("resend", METHODS11, credential);
|
|
4941
5012
|
}
|
|
4942
5013
|
|
|
4943
5014
|
// src/worker/adapters/signature-api.ts
|
|
4944
|
-
var
|
|
5015
|
+
var METHODS12 = [
|
|
4945
5016
|
"createEnvelope",
|
|
4946
5017
|
"voidEnvelope",
|
|
4947
5018
|
"downloadDocument",
|
|
4948
5019
|
"getEnvelope"
|
|
4949
5020
|
];
|
|
4950
5021
|
function createSignatureApiAdapter(credential) {
|
|
4951
|
-
return createAdapter("signature-api",
|
|
5022
|
+
return createAdapter("signature-api", METHODS12, credential);
|
|
4952
5023
|
}
|
|
4953
5024
|
|
|
4954
5025
|
// src/worker/adapters/stripe.ts
|
|
4955
|
-
var
|
|
5026
|
+
var METHODS13 = [
|
|
4956
5027
|
"createPaymentLink",
|
|
4957
5028
|
"getPaymentLink",
|
|
4958
5029
|
"updatePaymentLink",
|
|
@@ -4961,7 +5032,7 @@ var METHODS12 = [
|
|
|
4961
5032
|
"createCheckoutSession"
|
|
4962
5033
|
];
|
|
4963
5034
|
function createStripeAdapter(credential) {
|
|
4964
|
-
return createAdapter("stripe",
|
|
5035
|
+
return createAdapter("stripe", METHODS13, credential);
|
|
4965
5036
|
}
|
|
4966
5037
|
|
|
4967
5038
|
// src/worker/adapters/scheduler.ts
|
|
@@ -5387,4 +5458,4 @@ function startWorker(org) {
|
|
|
5387
5458
|
});
|
|
5388
5459
|
}
|
|
5389
5460
|
|
|
5390
|
-
export { PlatformToolError, approval, createAdapter, createAnymailfinderAdapter, createApifyAdapter, createAttioAdapter, createDropboxAdapter, createGmailAdapter, createGoogleSheetsAdapter, createInstantlyAdapter, createMailsoAdapter, createNotionAdapter, createResendAdapter, createSignatureApiAdapter, createStripeAdapter, email, execution, lead, llm, notifications, pdf, platform, scheduler, startWorker, storage };
|
|
5461
|
+
export { PlatformToolError, approval, createAdapter, createAnymailfinderAdapter, createApifyAdapter, createAttioAdapter, createDropboxAdapter, createGmailAdapter, createGoogleSheetsAdapter, createInstantlyAdapter, createMailsoAdapter, createNotionAdapter, createResendAdapter, createSignatureApiAdapter, createStripeAdapter, createTombaAdapter, email, execution, lead, llm, notifications, pdf, platform, scheduler, startWorker, storage };
|