@elevasis/sdk 0.8.14 → 0.8.15
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
CHANGED
|
@@ -43883,7 +43883,7 @@ function wrapAction(commandName, fn) {
|
|
|
43883
43883
|
// package.json
|
|
43884
43884
|
var package_default = {
|
|
43885
43885
|
name: "@elevasis/sdk",
|
|
43886
|
-
version: "0.8.
|
|
43886
|
+
version: "0.8.15",
|
|
43887
43887
|
description: "SDK for building Elevasis organization resources",
|
|
43888
43888
|
type: "module",
|
|
43889
43889
|
bin: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1177,6 +1177,7 @@ type Database = {
|
|
|
1177
1177
|
attio_company_id: string | null;
|
|
1178
1178
|
batch_id: string | null;
|
|
1179
1179
|
category: string | null;
|
|
1180
|
+
category_pain: string | null;
|
|
1180
1181
|
created_at: string;
|
|
1181
1182
|
domain: string | null;
|
|
1182
1183
|
enrichment_data: Json | null;
|
|
@@ -1200,6 +1201,7 @@ type Database = {
|
|
|
1200
1201
|
attio_company_id?: string | null;
|
|
1201
1202
|
batch_id?: string | null;
|
|
1202
1203
|
category?: string | null;
|
|
1204
|
+
category_pain?: string | null;
|
|
1203
1205
|
created_at?: string;
|
|
1204
1206
|
domain?: string | null;
|
|
1205
1207
|
enrichment_data?: Json | null;
|
|
@@ -1223,6 +1225,7 @@ type Database = {
|
|
|
1223
1225
|
attio_company_id?: string | null;
|
|
1224
1226
|
batch_id?: string | null;
|
|
1225
1227
|
category?: string | null;
|
|
1228
|
+
category_pain?: string | null;
|
|
1226
1229
|
created_at?: string;
|
|
1227
1230
|
domain?: string | null;
|
|
1228
1231
|
enrichment_data?: Json | null;
|
|
@@ -3166,6 +3169,56 @@ type Database = {
|
|
|
3166
3169
|
}
|
|
3167
3170
|
];
|
|
3168
3171
|
};
|
|
3172
|
+
webhook_endpoints: {
|
|
3173
|
+
Row: {
|
|
3174
|
+
created_at: string;
|
|
3175
|
+
description: string | null;
|
|
3176
|
+
id: string;
|
|
3177
|
+
key: string;
|
|
3178
|
+
last_triggered_at: string | null;
|
|
3179
|
+
name: string;
|
|
3180
|
+
organization_id: string;
|
|
3181
|
+
request_count: number;
|
|
3182
|
+
resource_id: string;
|
|
3183
|
+
status: string;
|
|
3184
|
+
updated_at: string;
|
|
3185
|
+
};
|
|
3186
|
+
Insert: {
|
|
3187
|
+
created_at?: string;
|
|
3188
|
+
description?: string | null;
|
|
3189
|
+
id?: string;
|
|
3190
|
+
key: string;
|
|
3191
|
+
last_triggered_at?: string | null;
|
|
3192
|
+
name: string;
|
|
3193
|
+
organization_id: string;
|
|
3194
|
+
request_count?: number;
|
|
3195
|
+
resource_id: string;
|
|
3196
|
+
status?: string;
|
|
3197
|
+
updated_at?: string;
|
|
3198
|
+
};
|
|
3199
|
+
Update: {
|
|
3200
|
+
created_at?: string;
|
|
3201
|
+
description?: string | null;
|
|
3202
|
+
id?: string;
|
|
3203
|
+
key?: string;
|
|
3204
|
+
last_triggered_at?: string | null;
|
|
3205
|
+
name?: string;
|
|
3206
|
+
organization_id?: string;
|
|
3207
|
+
request_count?: number;
|
|
3208
|
+
resource_id?: string;
|
|
3209
|
+
status?: string;
|
|
3210
|
+
updated_at?: string;
|
|
3211
|
+
};
|
|
3212
|
+
Relationships: [
|
|
3213
|
+
{
|
|
3214
|
+
foreignKeyName: "webhook_endpoints_organization_id_fkey";
|
|
3215
|
+
columns: ["organization_id"];
|
|
3216
|
+
isOneToOne: false;
|
|
3217
|
+
referencedRelation: "organizations";
|
|
3218
|
+
referencedColumns: ["id"];
|
|
3219
|
+
}
|
|
3220
|
+
];
|
|
3221
|
+
};
|
|
3169
3222
|
};
|
|
3170
3223
|
Views: {
|
|
3171
3224
|
[_ in never]: never;
|
|
@@ -3840,6 +3893,7 @@ interface AcqCompany {
|
|
|
3840
3893
|
source: string | null;
|
|
3841
3894
|
batchId: string | null;
|
|
3842
3895
|
status: 'active' | 'invalid';
|
|
3896
|
+
verticalResearch: string | null;
|
|
3843
3897
|
createdAt: Date;
|
|
3844
3898
|
updatedAt: Date;
|
|
3845
3899
|
}
|
|
@@ -3913,6 +3967,7 @@ interface CreateCompanyParams {
|
|
|
3913
3967
|
category?: string;
|
|
3914
3968
|
source?: string;
|
|
3915
3969
|
batchId?: string;
|
|
3970
|
+
verticalResearch?: string;
|
|
3916
3971
|
}
|
|
3917
3972
|
interface UpdateCompanyParams {
|
|
3918
3973
|
name?: string;
|
|
@@ -3932,6 +3987,7 @@ interface UpdateCompanyParams {
|
|
|
3932
3987
|
attioCompanyId?: string | null;
|
|
3933
3988
|
batchId?: string;
|
|
3934
3989
|
status?: 'active' | 'invalid';
|
|
3990
|
+
verticalResearch?: string | null;
|
|
3935
3991
|
}
|
|
3936
3992
|
type UpsertCompanyParams = CreateCompanyParams;
|
|
3937
3993
|
interface CompanyFilters {
|
|
@@ -3940,6 +3996,8 @@ interface CompanyFilters {
|
|
|
3940
3996
|
segment?: string;
|
|
3941
3997
|
category?: string;
|
|
3942
3998
|
pipelineStatus?: Record<string, unknown>;
|
|
3999
|
+
/** Exclude companies whose pipeline_status contains this value (PostgREST NOT contains) */
|
|
4000
|
+
pipelineStatusNot?: Record<string, unknown>;
|
|
3943
4001
|
batchId?: string;
|
|
3944
4002
|
status?: 'active' | 'invalid';
|
|
3945
4003
|
includeAll?: boolean;
|
|
@@ -5383,6 +5441,51 @@ interface MailsoVerifyEmailResult {
|
|
|
5383
5441
|
mxRecord: string | null;
|
|
5384
5442
|
}
|
|
5385
5443
|
|
|
5444
|
+
/**
|
|
5445
|
+
* Shared MillionVerifier param/result types (browser-safe)
|
|
5446
|
+
*
|
|
5447
|
+
* These types define the public interface for MillionVerifier operations -- used by both
|
|
5448
|
+
* the server-side adapter and the SDK typed wrappers. They contain zero Node.js
|
|
5449
|
+
* dependencies and are safe to import in any environment.
|
|
5450
|
+
*/
|
|
5451
|
+
/**
|
|
5452
|
+
* Verify email parameters
|
|
5453
|
+
*/
|
|
5454
|
+
interface MillionVerifierVerifyEmailParams {
|
|
5455
|
+
email: string;
|
|
5456
|
+
}
|
|
5457
|
+
/**
|
|
5458
|
+
* Verify email result (normalized, camelCase)
|
|
5459
|
+
*/
|
|
5460
|
+
interface MillionVerifierVerifyEmailResult {
|
|
5461
|
+
email: string;
|
|
5462
|
+
quality: '' | 'good' | 'bad' | 'risky';
|
|
5463
|
+
result: 'ok' | 'catch_all' | 'unknown' | 'error' | 'disposable' | 'invalid';
|
|
5464
|
+
resultCode: 1 | 2 | 3 | 4 | 5 | 6;
|
|
5465
|
+
subresult: string;
|
|
5466
|
+
free: boolean;
|
|
5467
|
+
role: boolean;
|
|
5468
|
+
didYouMean: string;
|
|
5469
|
+
credits: number;
|
|
5470
|
+
executionTime: number;
|
|
5471
|
+
error: string;
|
|
5472
|
+
liveMode: boolean;
|
|
5473
|
+
}
|
|
5474
|
+
/**
|
|
5475
|
+
* Check credits parameters (no inputs required)
|
|
5476
|
+
*/
|
|
5477
|
+
interface MillionVerifierCheckCreditsParams {
|
|
5478
|
+
}
|
|
5479
|
+
/**
|
|
5480
|
+
* Check credits result
|
|
5481
|
+
*/
|
|
5482
|
+
interface MillionVerifierCheckCreditsResult {
|
|
5483
|
+
credits: number;
|
|
5484
|
+
bulkCredits: number;
|
|
5485
|
+
renewingCredits: number;
|
|
5486
|
+
plan: number;
|
|
5487
|
+
}
|
|
5488
|
+
|
|
5386
5489
|
interface FindCompanyEmailParams {
|
|
5387
5490
|
domain: string;
|
|
5388
5491
|
company_name?: string;
|
|
@@ -6388,6 +6491,16 @@ type TombaToolMap = {
|
|
|
6388
6491
|
result: EmailVerifierResult;
|
|
6389
6492
|
};
|
|
6390
6493
|
};
|
|
6494
|
+
type MillionVerifierToolMap = {
|
|
6495
|
+
verifyEmail: {
|
|
6496
|
+
params: MillionVerifierVerifyEmailParams;
|
|
6497
|
+
result: MillionVerifierVerifyEmailResult;
|
|
6498
|
+
};
|
|
6499
|
+
checkCredits: {
|
|
6500
|
+
params: MillionVerifierCheckCreditsParams;
|
|
6501
|
+
result: MillionVerifierCheckCreditsResult;
|
|
6502
|
+
};
|
|
6503
|
+
};
|
|
6391
6504
|
type LeadToolMap = {
|
|
6392
6505
|
listLists: {
|
|
6393
6506
|
params: Record<string, never>;
|
|
@@ -7015,7 +7128,7 @@ type ToolingErrorType = 'service_unavailable' | 'permission_denied' | 'adapter_n
|
|
|
7015
7128
|
* Note: Concrete adapter implementations are deferred until needed.
|
|
7016
7129
|
* This type provides compile-time safety and auto-completion for tool definitions.
|
|
7017
7130
|
*/
|
|
7018
|
-
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';
|
|
7131
|
+
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' | 'millionverifier';
|
|
7019
7132
|
|
|
7020
7133
|
/**
|
|
7021
7134
|
* Resource Registry type definitions
|
|
@@ -7095,7 +7208,7 @@ interface ResourceList {
|
|
|
7095
7208
|
environment?: 'dev' | 'prod';
|
|
7096
7209
|
}
|
|
7097
7210
|
/** Webhook provider identifiers */
|
|
7098
|
-
type WebhookProviderType = 'cal-com' | '
|
|
7211
|
+
type WebhookProviderType = 'cal-com' | 'stripe' | 'signature-api' | 'instantly' | 'apify';
|
|
7099
7212
|
/** Webhook trigger configuration */
|
|
7100
7213
|
interface WebhookTriggerConfig {
|
|
7101
7214
|
/** Provider identifier */
|
|
@@ -7448,4 +7561,4 @@ declare class ToolingError extends ExecutionError {
|
|
|
7448
7561
|
}
|
|
7449
7562
|
|
|
7450
7563
|
export { ExecutionError, RegistryValidationError, ResourceRegistry, StepType, ToolingError };
|
|
7451
|
-
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, BulkDeleteLeadsParams, BulkDeleteLeadsResult, 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, GetDailyCampaignAnalyticsParams, GetDailyCampaignAnalyticsResult, 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, ListLeadsParams, ListLeadsResult, 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 };
|
|
7564
|
+
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, BulkDeleteLeadsParams, BulkDeleteLeadsResult, 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, GetDailyCampaignAnalyticsParams, GetDailyCampaignAnalyticsResult, 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, ListLeadsParams, ListLeadsResult, ListNotesParams, ListNotesResult, ListObjectsResult, ListPaymentLinksParams, ListPaymentLinksResult, MailsoToolMap, MailsoVerifyEmailParams, MailsoVerifyEmailResult, MarkProposalReviewedParams, MarkProposalSentParams, MethodEntry, MillionVerifierToolMap, 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 };
|
|
@@ -13,6 +13,7 @@ export { createGmailAdapter } from './gmail.js';
|
|
|
13
13
|
export { createGoogleSheetsAdapter } from './google-sheets.js';
|
|
14
14
|
export { createInstantlyAdapter } from './instantly.js';
|
|
15
15
|
export { createMailsoAdapter } from './mailso.js';
|
|
16
|
+
export { createMillionVerifierAdapter } from './millionverifier.js';
|
|
16
17
|
export { createAnymailfinderAdapter } from './anymailfinder.js';
|
|
17
18
|
export { createTombaAdapter } from './tomba.js';
|
|
18
19
|
export { createNotionAdapter } from './notion.js';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MillionVerifier Integration Adapter
|
|
3
|
+
*
|
|
4
|
+
* Typed wrapper over platform.call() for MillionVerifier email verification operations.
|
|
5
|
+
* Uses factory pattern -- credential is bound once at construction time.
|
|
6
|
+
*/
|
|
7
|
+
import type { MillionVerifierToolMap } from '../../types/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Create a typed MillionVerifier adapter bound to a specific credential.
|
|
10
|
+
*
|
|
11
|
+
* @param credential - Credential name as configured in the command center
|
|
12
|
+
* @returns Object with 2 typed methods for MillionVerifier email verification operations
|
|
13
|
+
*/
|
|
14
|
+
export declare function createMillionVerifierAdapter(credential: string): import("./create-adapter.js").TypedAdapter<MillionVerifierToolMap>;
|
package/dist/worker/index.js
CHANGED
|
@@ -4867,25 +4867,31 @@ function createMailsoAdapter(credential) {
|
|
|
4867
4867
|
return createAdapter("mailso", METHODS7, credential);
|
|
4868
4868
|
}
|
|
4869
4869
|
|
|
4870
|
+
// src/worker/adapters/millionverifier.ts
|
|
4871
|
+
var METHODS8 = ["verifyEmail", "checkCredits"];
|
|
4872
|
+
function createMillionVerifierAdapter(credential) {
|
|
4873
|
+
return createAdapter("millionverifier", METHODS8, credential);
|
|
4874
|
+
}
|
|
4875
|
+
|
|
4870
4876
|
// src/worker/adapters/anymailfinder.ts
|
|
4871
|
-
var
|
|
4877
|
+
var METHODS9 = [
|
|
4872
4878
|
"findCompanyEmail",
|
|
4873
4879
|
"findPersonEmail",
|
|
4874
4880
|
"findDecisionMakerEmail",
|
|
4875
4881
|
"verifyEmail"
|
|
4876
4882
|
];
|
|
4877
4883
|
function createAnymailfinderAdapter(credential) {
|
|
4878
|
-
return createAdapter("anymailfinder",
|
|
4884
|
+
return createAdapter("anymailfinder", METHODS9, credential);
|
|
4879
4885
|
}
|
|
4880
4886
|
|
|
4881
4887
|
// src/worker/adapters/tomba.ts
|
|
4882
|
-
var
|
|
4888
|
+
var METHODS10 = ["emailFinder", "domainSearch", "emailVerifier"];
|
|
4883
4889
|
function createTombaAdapter(credential) {
|
|
4884
|
-
return createAdapter("tomba",
|
|
4890
|
+
return createAdapter("tomba", METHODS10, credential);
|
|
4885
4891
|
}
|
|
4886
4892
|
|
|
4887
4893
|
// src/worker/adapters/notion.ts
|
|
4888
|
-
var
|
|
4894
|
+
var METHODS11 = [
|
|
4889
4895
|
"listAllPages",
|
|
4890
4896
|
"readPage",
|
|
4891
4897
|
"createPage",
|
|
@@ -4896,31 +4902,31 @@ var METHODS10 = [
|
|
|
4896
4902
|
"deleteBlocks"
|
|
4897
4903
|
];
|
|
4898
4904
|
function createNotionAdapter(credential) {
|
|
4899
|
-
return createAdapter("notion",
|
|
4905
|
+
return createAdapter("notion", METHODS11, credential);
|
|
4900
4906
|
}
|
|
4901
4907
|
|
|
4902
4908
|
// src/worker/adapters/resend.ts
|
|
4903
|
-
var
|
|
4909
|
+
var METHODS12 = [
|
|
4904
4910
|
"sendEmail",
|
|
4905
4911
|
"getEmail"
|
|
4906
4912
|
];
|
|
4907
4913
|
function createResendAdapter(credential) {
|
|
4908
|
-
return createAdapter("resend",
|
|
4914
|
+
return createAdapter("resend", METHODS12, credential);
|
|
4909
4915
|
}
|
|
4910
4916
|
|
|
4911
4917
|
// src/worker/adapters/signature-api.ts
|
|
4912
|
-
var
|
|
4918
|
+
var METHODS13 = [
|
|
4913
4919
|
"createEnvelope",
|
|
4914
4920
|
"voidEnvelope",
|
|
4915
4921
|
"downloadDocument",
|
|
4916
4922
|
"getEnvelope"
|
|
4917
4923
|
];
|
|
4918
4924
|
function createSignatureApiAdapter(credential) {
|
|
4919
|
-
return createAdapter("signature-api",
|
|
4925
|
+
return createAdapter("signature-api", METHODS13, credential);
|
|
4920
4926
|
}
|
|
4921
4927
|
|
|
4922
4928
|
// src/worker/adapters/stripe.ts
|
|
4923
|
-
var
|
|
4929
|
+
var METHODS14 = [
|
|
4924
4930
|
"createPaymentLink",
|
|
4925
4931
|
"getPaymentLink",
|
|
4926
4932
|
"updatePaymentLink",
|
|
@@ -4929,7 +4935,7 @@ var METHODS13 = [
|
|
|
4929
4935
|
"createCheckoutSession"
|
|
4930
4936
|
];
|
|
4931
4937
|
function createStripeAdapter(credential) {
|
|
4932
|
-
return createAdapter("stripe",
|
|
4938
|
+
return createAdapter("stripe", METHODS14, credential);
|
|
4933
4939
|
}
|
|
4934
4940
|
|
|
4935
4941
|
// src/worker/adapters/scheduler.ts
|
|
@@ -5060,6 +5066,24 @@ function captureConsole(executionId, logs) {
|
|
|
5060
5066
|
postLog
|
|
5061
5067
|
};
|
|
5062
5068
|
}
|
|
5069
|
+
var LOG_STRING_TRUNCATE_LIMIT = 200;
|
|
5070
|
+
function truncateForLogging(value) {
|
|
5071
|
+
if (value === null || value === void 0) return value;
|
|
5072
|
+
if (typeof value === "string") {
|
|
5073
|
+
return value.length > LOG_STRING_TRUNCATE_LIMIT ? value.slice(0, LOG_STRING_TRUNCATE_LIMIT) + `\u2026 [${value.length} chars]` : value;
|
|
5074
|
+
}
|
|
5075
|
+
if (Array.isArray(value)) {
|
|
5076
|
+
return value.map(truncateForLogging);
|
|
5077
|
+
}
|
|
5078
|
+
if (typeof value === "object") {
|
|
5079
|
+
const result = {};
|
|
5080
|
+
for (const [k, v] of Object.entries(value)) {
|
|
5081
|
+
result[k] = truncateForLogging(v);
|
|
5082
|
+
}
|
|
5083
|
+
return result;
|
|
5084
|
+
}
|
|
5085
|
+
return value;
|
|
5086
|
+
}
|
|
5063
5087
|
function resolveNext(next, data) {
|
|
5064
5088
|
if (next === null) return null;
|
|
5065
5089
|
if (next.type === "linear") return next.target;
|
|
@@ -5102,7 +5126,7 @@ async function executeWorkflow(workflow, input, context) {
|
|
|
5102
5126
|
contextType: "step-started",
|
|
5103
5127
|
stepId: step.id,
|
|
5104
5128
|
stepStatus: "started",
|
|
5105
|
-
input: stepInput,
|
|
5129
|
+
input: truncateForLogging(stepInput),
|
|
5106
5130
|
startTime: stepStartTime
|
|
5107
5131
|
});
|
|
5108
5132
|
try {
|
|
@@ -5131,7 +5155,7 @@ async function executeWorkflow(workflow, input, context) {
|
|
|
5131
5155
|
contextType: "step-completed",
|
|
5132
5156
|
stepId: step.id,
|
|
5133
5157
|
stepStatus: "completed",
|
|
5134
|
-
output: currentData,
|
|
5158
|
+
output: truncateForLogging(currentData),
|
|
5135
5159
|
duration: stepEndTime - stepStartTime,
|
|
5136
5160
|
isTerminal: nextStepId === null,
|
|
5137
5161
|
startTime: stepStartTime,
|
|
@@ -5372,4 +5396,4 @@ function startWorker(org) {
|
|
|
5372
5396
|
});
|
|
5373
5397
|
}
|
|
5374
5398
|
|
|
5375
|
-
export { PlatformToolError, acqDb, approval, createAdapter, createAnymailfinderAdapter, createApifyAdapter, createAttioAdapter, createDropboxAdapter, createGmailAdapter, createGoogleSheetsAdapter, createInstantlyAdapter, createMailsoAdapter, createNotionAdapter, createResendAdapter, createSignatureApiAdapter, createStripeAdapter, createTombaAdapter, email, execution, llm, notifications, pdf, platform, scheduler, startWorker, storage };
|
|
5399
|
+
export { PlatformToolError, acqDb, approval, createAdapter, createAnymailfinderAdapter, createApifyAdapter, createAttioAdapter, createDropboxAdapter, createGmailAdapter, createGoogleSheetsAdapter, createInstantlyAdapter, createMailsoAdapter, createMillionVerifierAdapter, createNotionAdapter, createResendAdapter, createSignatureApiAdapter, createStripeAdapter, createTombaAdapter, email, execution, llm, notifications, pdf, platform, scheduler, startWorker, storage };
|