@elevasis/sdk 0.5.23 → 0.5.24
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
|
@@ -43873,7 +43873,7 @@ async function apiDelete(endpoint, apiUrl = resolveApiUrl()) {
|
|
|
43873
43873
|
// package.json
|
|
43874
43874
|
var package_default = {
|
|
43875
43875
|
name: "@elevasis/sdk",
|
|
43876
|
-
version: "0.5.
|
|
43876
|
+
version: "0.5.24",
|
|
43877
43877
|
description: "SDK for building Elevasis organization resources",
|
|
43878
43878
|
type: "module",
|
|
43879
43879
|
bin: {
|
package/dist/index.d.ts
CHANGED
|
@@ -2023,6 +2023,7 @@ type Database = {
|
|
|
2023
2023
|
session_turn_number: number | null;
|
|
2024
2024
|
started_at: string;
|
|
2025
2025
|
status: string;
|
|
2026
|
+
trigger_type: string | null;
|
|
2026
2027
|
updated_at: string | null;
|
|
2027
2028
|
user_id: string | null;
|
|
2028
2029
|
};
|
|
@@ -2047,6 +2048,7 @@ type Database = {
|
|
|
2047
2048
|
session_turn_number?: number | null;
|
|
2048
2049
|
started_at?: string;
|
|
2049
2050
|
status: string;
|
|
2051
|
+
trigger_type?: string | null;
|
|
2050
2052
|
updated_at?: string | null;
|
|
2051
2053
|
user_id?: string | null;
|
|
2052
2054
|
};
|
|
@@ -2071,6 +2073,7 @@ type Database = {
|
|
|
2071
2073
|
session_turn_number?: number | null;
|
|
2072
2074
|
started_at?: string;
|
|
2073
2075
|
status?: string;
|
|
2076
|
+
trigger_type?: string | null;
|
|
2074
2077
|
updated_at?: string | null;
|
|
2075
2078
|
user_id?: string | null;
|
|
2076
2079
|
};
|
|
@@ -4457,7 +4460,7 @@ interface ListCampaignsParams {
|
|
|
4457
4460
|
limit?: number;
|
|
4458
4461
|
starting_after?: string;
|
|
4459
4462
|
search?: string;
|
|
4460
|
-
status?:
|
|
4463
|
+
status?: number;
|
|
4461
4464
|
}
|
|
4462
4465
|
/**
|
|
4463
4466
|
* List campaigns result
|
|
@@ -4563,6 +4566,8 @@ interface GetCampaignAnalyticsResult {
|
|
|
4563
4566
|
*/
|
|
4564
4567
|
interface GetStepAnalyticsParams {
|
|
4565
4568
|
campaign_id: string;
|
|
4569
|
+
start_date?: string;
|
|
4570
|
+
end_date?: string;
|
|
4566
4571
|
}
|
|
4567
4572
|
/**
|
|
4568
4573
|
* Get step analytics result
|
|
@@ -4708,6 +4713,53 @@ interface MailsoVerifyEmailResult {
|
|
|
4708
4713
|
mxRecord: string | null;
|
|
4709
4714
|
}
|
|
4710
4715
|
|
|
4716
|
+
interface FindCompanyEmailParams {
|
|
4717
|
+
domain?: string;
|
|
4718
|
+
company_name?: string;
|
|
4719
|
+
email_type?: 'personal' | 'generic' | 'all';
|
|
4720
|
+
}
|
|
4721
|
+
interface FindCompanyEmailResult {
|
|
4722
|
+
email_status: 'valid' | 'risky' | 'not_found' | 'blacklisted';
|
|
4723
|
+
emails: string[];
|
|
4724
|
+
valid_emails: string[];
|
|
4725
|
+
[key: string]: unknown;
|
|
4726
|
+
}
|
|
4727
|
+
interface FindPersonEmailParams {
|
|
4728
|
+
domain?: string;
|
|
4729
|
+
company_name?: string;
|
|
4730
|
+
full_name?: string;
|
|
4731
|
+
first_name?: string;
|
|
4732
|
+
last_name?: string;
|
|
4733
|
+
}
|
|
4734
|
+
interface FindPersonEmailResult {
|
|
4735
|
+
email: string;
|
|
4736
|
+
email_status: 'valid' | 'risky' | 'not_found' | 'blacklisted';
|
|
4737
|
+
valid_email: string;
|
|
4738
|
+
[key: string]: unknown;
|
|
4739
|
+
}
|
|
4740
|
+
interface FindDecisionMakerEmailParams {
|
|
4741
|
+
domain?: string;
|
|
4742
|
+
company_name?: string;
|
|
4743
|
+
decision_maker_category: string[];
|
|
4744
|
+
}
|
|
4745
|
+
interface FindDecisionMakerEmailResult {
|
|
4746
|
+
email: string;
|
|
4747
|
+
email_status: 'valid' | 'risky' | 'not_found' | 'blacklisted';
|
|
4748
|
+
valid_email: string;
|
|
4749
|
+
person_full_name: string;
|
|
4750
|
+
person_job_title: string;
|
|
4751
|
+
person_linkedin_url: string;
|
|
4752
|
+
decision_maker_category: string;
|
|
4753
|
+
[key: string]: unknown;
|
|
4754
|
+
}
|
|
4755
|
+
interface VerifyEmailParams {
|
|
4756
|
+
email: string;
|
|
4757
|
+
}
|
|
4758
|
+
interface VerifyEmailResult {
|
|
4759
|
+
email_status: 'valid' | 'risky' | 'not_found' | 'blacklisted';
|
|
4760
|
+
[key: string]: unknown;
|
|
4761
|
+
}
|
|
4762
|
+
|
|
4711
4763
|
/**
|
|
4712
4764
|
* Shared Notion param/result types (browser-safe)
|
|
4713
4765
|
*
|
|
@@ -5546,6 +5598,24 @@ type MailsoToolMap = {
|
|
|
5546
5598
|
result: MailsoVerifyEmailResult;
|
|
5547
5599
|
};
|
|
5548
5600
|
};
|
|
5601
|
+
type AnymailfinderToolMap = {
|
|
5602
|
+
findCompanyEmail: {
|
|
5603
|
+
params: FindCompanyEmailParams;
|
|
5604
|
+
result: FindCompanyEmailResult;
|
|
5605
|
+
};
|
|
5606
|
+
findPersonEmail: {
|
|
5607
|
+
params: FindPersonEmailParams;
|
|
5608
|
+
result: FindPersonEmailResult;
|
|
5609
|
+
};
|
|
5610
|
+
findDecisionMakerEmail: {
|
|
5611
|
+
params: FindDecisionMakerEmailParams;
|
|
5612
|
+
result: FindDecisionMakerEmailResult;
|
|
5613
|
+
};
|
|
5614
|
+
verifyEmail: {
|
|
5615
|
+
params: VerifyEmailParams;
|
|
5616
|
+
result: VerifyEmailResult;
|
|
5617
|
+
};
|
|
5618
|
+
};
|
|
5549
5619
|
type LeadToolMap = {
|
|
5550
5620
|
listLists: {
|
|
5551
5621
|
params: Record<string, never>;
|
|
@@ -5810,6 +5880,15 @@ type ExecutionToolMap = {
|
|
|
5810
5880
|
error?: string;
|
|
5811
5881
|
};
|
|
5812
5882
|
};
|
|
5883
|
+
triggerAsync: {
|
|
5884
|
+
params: {
|
|
5885
|
+
resourceId: string;
|
|
5886
|
+
input?: unknown;
|
|
5887
|
+
};
|
|
5888
|
+
result: {
|
|
5889
|
+
executionId: string;
|
|
5890
|
+
};
|
|
5891
|
+
};
|
|
5813
5892
|
};
|
|
5814
5893
|
type EmailToolMap = {
|
|
5815
5894
|
send: {
|
|
@@ -6102,7 +6181,7 @@ type ToolingErrorType = 'service_unavailable' | 'permission_denied' | 'adapter_n
|
|
|
6102
6181
|
* Note: Concrete adapter implementations are deferred until needed.
|
|
6103
6182
|
* This type provides compile-time safety and auto-completion for tool definitions.
|
|
6104
6183
|
*/
|
|
6105
|
-
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';
|
|
6184
|
+
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';
|
|
6106
6185
|
|
|
6107
6186
|
/**
|
|
6108
6187
|
* Resource Registry type definitions
|
|
@@ -6535,4 +6614,4 @@ declare class ToolingError extends ExecutionError {
|
|
|
6535
6614
|
}
|
|
6536
6615
|
|
|
6537
6616
|
export { ExecutionError, RegistryValidationError, ResourceRegistry, StepType, ToolingError };
|
|
6538
|
-
export type { AbsoluteScheduleConfig, AcqCompany, AcqContact, AcqDeal, AcqList, AddToCampaignLead, AddToCampaignParams, AddToCampaignResult, AgentConfig, AgentConstraints, AgentDefinition, AgentMemory, 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 };
|
|
6617
|
+
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 };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Anymailfinder Integration Adapter
|
|
3
|
+
*
|
|
4
|
+
* Typed wrapper over platform.call() for Anymailfinder email discovery operations.
|
|
5
|
+
* Uses factory pattern -- credential is bound once at construction time.
|
|
6
|
+
*/
|
|
7
|
+
import type { AnymailfinderToolMap } from '../../types/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Create a typed Anymailfinder adapter bound to a specific credential.
|
|
10
|
+
*
|
|
11
|
+
* @param credential - Credential name as configured in the command center
|
|
12
|
+
* @returns Object with 4 typed methods for Anymailfinder email discovery operations
|
|
13
|
+
*/
|
|
14
|
+
export declare function createAnymailfinderAdapter(credential: string): import("./create-adapter.js").TypedAdapter<AnymailfinderToolMap>;
|
|
@@ -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 { createAnymailfinderAdapter } from './anymailfinder.js';
|
|
16
17
|
export { createNotionAdapter } from './notion.js';
|
|
17
18
|
export { createResendAdapter } from './resend.js';
|
|
18
19
|
export { createSignatureApiAdapter } from './signature-api.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Typed wrapper over platform.call() for acquisition lead management.
|
|
5
5
|
* Singleton export -- no credential needed (platform tool).
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* 36 methods covering lists, companies, contacts, deals, deal-sync, and enrichment operations.
|
|
8
8
|
* organizationId is injected server-side by the dispatcher -- never sent from the SDK.
|
|
9
9
|
*/
|
|
10
10
|
import { type TypedAdapter } from './create-adapter.js';
|
package/dist/worker/index.js
CHANGED
|
@@ -4894,8 +4894,19 @@ function createMailsoAdapter(credential) {
|
|
|
4894
4894
|
return createAdapter("mailso", METHODS7, credential);
|
|
4895
4895
|
}
|
|
4896
4896
|
|
|
4897
|
-
// src/worker/adapters/
|
|
4897
|
+
// src/worker/adapters/anymailfinder.ts
|
|
4898
4898
|
var METHODS8 = [
|
|
4899
|
+
"findCompanyEmail",
|
|
4900
|
+
"findPersonEmail",
|
|
4901
|
+
"findDecisionMakerEmail",
|
|
4902
|
+
"verifyEmail"
|
|
4903
|
+
];
|
|
4904
|
+
function createAnymailfinderAdapter(credential) {
|
|
4905
|
+
return createAdapter("anymailfinder", METHODS8, credential);
|
|
4906
|
+
}
|
|
4907
|
+
|
|
4908
|
+
// src/worker/adapters/notion.ts
|
|
4909
|
+
var METHODS9 = [
|
|
4899
4910
|
"listAllPages",
|
|
4900
4911
|
"readPage",
|
|
4901
4912
|
"createPage",
|
|
@@ -4906,31 +4917,31 @@ var METHODS8 = [
|
|
|
4906
4917
|
"deleteBlocks"
|
|
4907
4918
|
];
|
|
4908
4919
|
function createNotionAdapter(credential) {
|
|
4909
|
-
return createAdapter("notion",
|
|
4920
|
+
return createAdapter("notion", METHODS9, credential);
|
|
4910
4921
|
}
|
|
4911
4922
|
|
|
4912
4923
|
// src/worker/adapters/resend.ts
|
|
4913
|
-
var
|
|
4924
|
+
var METHODS10 = [
|
|
4914
4925
|
"sendEmail",
|
|
4915
4926
|
"getEmail"
|
|
4916
4927
|
];
|
|
4917
4928
|
function createResendAdapter(credential) {
|
|
4918
|
-
return createAdapter("resend",
|
|
4929
|
+
return createAdapter("resend", METHODS10, credential);
|
|
4919
4930
|
}
|
|
4920
4931
|
|
|
4921
4932
|
// src/worker/adapters/signature-api.ts
|
|
4922
|
-
var
|
|
4933
|
+
var METHODS11 = [
|
|
4923
4934
|
"createEnvelope",
|
|
4924
4935
|
"voidEnvelope",
|
|
4925
4936
|
"downloadDocument",
|
|
4926
4937
|
"getEnvelope"
|
|
4927
4938
|
];
|
|
4928
4939
|
function createSignatureApiAdapter(credential) {
|
|
4929
|
-
return createAdapter("signature-api",
|
|
4940
|
+
return createAdapter("signature-api", METHODS11, credential);
|
|
4930
4941
|
}
|
|
4931
4942
|
|
|
4932
4943
|
// src/worker/adapters/stripe.ts
|
|
4933
|
-
var
|
|
4944
|
+
var METHODS12 = [
|
|
4934
4945
|
"createPaymentLink",
|
|
4935
4946
|
"getPaymentLink",
|
|
4936
4947
|
"updatePaymentLink",
|
|
@@ -4939,7 +4950,7 @@ var METHODS11 = [
|
|
|
4939
4950
|
"createCheckoutSession"
|
|
4940
4951
|
];
|
|
4941
4952
|
function createStripeAdapter(credential) {
|
|
4942
|
-
return createAdapter("stripe",
|
|
4953
|
+
return createAdapter("stripe", METHODS12, credential);
|
|
4943
4954
|
}
|
|
4944
4955
|
|
|
4945
4956
|
// src/worker/adapters/scheduler.ts
|
|
@@ -5016,7 +5027,9 @@ var lead = createAdapter("lead", [
|
|
|
5016
5027
|
"cancelSchedulesAndHitlByEmail",
|
|
5017
5028
|
"cancelHitlByDealId",
|
|
5018
5029
|
"clearDealFields",
|
|
5019
|
-
"deleteDeal"
|
|
5030
|
+
"deleteDeal",
|
|
5031
|
+
// Enrichment data operations
|
|
5032
|
+
"mergeEnrichmentData"
|
|
5020
5033
|
]);
|
|
5021
5034
|
|
|
5022
5035
|
// src/worker/adapters/pdf.ts
|
|
@@ -5026,7 +5039,7 @@ var pdf = createAdapter("pdf", ["render", "renderToBuffer"]);
|
|
|
5026
5039
|
var approval = createAdapter("approval", ["create", "deleteByMetadata"]);
|
|
5027
5040
|
|
|
5028
5041
|
// src/worker/adapters/execution.ts
|
|
5029
|
-
var execution = createAdapter("execution", ["trigger"]);
|
|
5042
|
+
var execution = createAdapter("execution", ["trigger", "triggerAsync"]);
|
|
5030
5043
|
|
|
5031
5044
|
// src/worker/adapters/email.ts
|
|
5032
5045
|
var email = createAdapter("email", ["send"]);
|
|
@@ -5363,4 +5376,4 @@ function startWorker(org) {
|
|
|
5363
5376
|
});
|
|
5364
5377
|
}
|
|
5365
5378
|
|
|
5366
|
-
export { PlatformToolError, approval, createAdapter, createApifyAdapter, createAttioAdapter, createDropboxAdapter, createGmailAdapter, createGoogleSheetsAdapter, createInstantlyAdapter, createMailsoAdapter, createNotionAdapter, createResendAdapter, createSignatureApiAdapter, createStripeAdapter, email, execution, lead, llm, notifications, pdf, platform, scheduler, startWorker, storage };
|
|
5379
|
+
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 };
|