@elevasis/sdk 0.6.2 → 0.6.4

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
@@ -43884,7 +43884,7 @@ async function apiDelete(endpoint, apiUrl = resolveApiUrl()) {
43884
43884
  // package.json
43885
43885
  var package_default = {
43886
43886
  name: "@elevasis/sdk",
43887
- version: "0.6.2",
43887
+ version: "0.6.4",
43888
43888
  description: "SDK for building Elevasis organization resources",
43889
43889
  type: "module",
43890
43890
  bin: {
@@ -43950,6 +43950,31 @@ var SDK_VERSION = package_default.version;
43950
43950
 
43951
43951
  // src/cli/commands/deploy.ts
43952
43952
  var import_meta = {};
43953
+ function extractResourceMetadata(resource, schemaWarnings) {
43954
+ const meta = {
43955
+ resourceId: resource.config.resourceId,
43956
+ name: resource.config.name,
43957
+ version: resource.config.version,
43958
+ status: resource.config.status,
43959
+ description: resource.config.description,
43960
+ domains: resource.config.domains
43961
+ };
43962
+ if (resource.contract.inputSchema) {
43963
+ try {
43964
+ meta.inputSchema = external_exports.toJSONSchema(resource.contract.inputSchema);
43965
+ } catch {
43966
+ schemaWarnings.push(`${resource.config.resourceId}: inputSchema could not be serialized`);
43967
+ }
43968
+ }
43969
+ if (resource.contract.outputSchema) {
43970
+ try {
43971
+ meta.outputSchema = external_exports.toJSONSchema(resource.contract.outputSchema);
43972
+ } catch {
43973
+ schemaWarnings.push(`${resource.config.resourceId}: outputSchema could not be serialized`);
43974
+ }
43975
+ }
43976
+ return meta;
43977
+ }
43953
43978
  var IGNORED_DOC_DIRS = /* @__PURE__ */ new Set([".archive"]);
43954
43979
  async function scanDocumentation() {
43955
43980
  const docsDir = (0, import_path.resolve)("docs");
@@ -44531,56 +44556,8 @@ function registerDeployCommand(program3) {
44531
44556
  );
44532
44557
  }
44533
44558
  const schemaWarnings = [];
44534
- const workflows = activeWorkflows.map((w) => {
44535
- const meta = {
44536
- resourceId: w.config.resourceId,
44537
- name: w.config.name,
44538
- version: w.config.version,
44539
- status: w.config.status,
44540
- description: w.config.description,
44541
- domains: w.config.domains
44542
- };
44543
- if (w.contract.inputSchema) {
44544
- try {
44545
- meta.inputSchema = external_exports.toJSONSchema(w.contract.inputSchema);
44546
- } catch {
44547
- schemaWarnings.push(`${w.config.resourceId}: inputSchema could not be serialized`);
44548
- }
44549
- }
44550
- if (w.contract.outputSchema) {
44551
- try {
44552
- meta.outputSchema = external_exports.toJSONSchema(w.contract.outputSchema);
44553
- } catch {
44554
- schemaWarnings.push(`${w.config.resourceId}: outputSchema could not be serialized`);
44555
- }
44556
- }
44557
- return meta;
44558
- });
44559
- const agents = activeAgents.map((a) => {
44560
- const meta = {
44561
- resourceId: a.config.resourceId,
44562
- name: a.config.name,
44563
- version: a.config.version,
44564
- status: a.config.status,
44565
- description: a.config.description,
44566
- domains: a.config.domains
44567
- };
44568
- if (a.contract.inputSchema) {
44569
- try {
44570
- meta.inputSchema = external_exports.toJSONSchema(a.contract.inputSchema);
44571
- } catch {
44572
- schemaWarnings.push(`${a.config.resourceId}: inputSchema could not be serialized`);
44573
- }
44574
- }
44575
- if (a.contract.outputSchema) {
44576
- try {
44577
- meta.outputSchema = external_exports.toJSONSchema(a.contract.outputSchema);
44578
- } catch {
44579
- schemaWarnings.push(`${a.config.resourceId}: outputSchema could not be serialized`);
44580
- }
44581
- }
44582
- return meta;
44583
- });
44559
+ const workflows = activeWorkflows.map((w) => extractResourceMetadata(w, schemaWarnings));
44560
+ const agents = activeAgents.map((a) => extractResourceMetadata(a, schemaWarnings));
44584
44561
  if (schemaWarnings.length > 0) {
44585
44562
  for (const warning of schemaWarnings) {
44586
44563
  console.log(source_default.yellow(` warn ${warning}`));
@@ -44695,103 +44672,83 @@ startWorker(org)
44695
44672
  // src/cli/commands/check.ts
44696
44673
  var import_meta2 = {};
44697
44674
  function registerCheckCommand(program3) {
44698
- program3.command("check").description("Validate project resources against the ResourceRegistry\n Example: elevasis-sdk check --entry ./src/index.ts").option("--entry <path>", "Path to entry file (default: ./src/index.ts)").action(wrapAction("check", async (options2) => {
44699
- const entryPath = options2.entry ?? "./src/index.ts";
44700
- const spinner = ora("Validating resources...").start();
44701
- try {
44702
- const jiti = (0, import_jiti2.createJiti)(import_meta2.url);
44703
- const entryModule = await jiti.import((0, import_path2.resolve)(entryPath));
44704
- const org = entryModule.default;
44705
- if (!org) {
44706
- spinner.fail("Invalid entry: no default export found");
44707
- console.error(source_default.gray(` Entry file: ${(0, import_path2.resolve)(entryPath)}`));
44708
- console.error(source_default.gray(" Expected: export default { workflows: [...], agents: [...] }"));
44709
- throw new Error("Invalid entry");
44710
- }
44711
- new ResourceRegistry({ _check: org });
44712
- const workflowCount = org.workflows?.length ?? 0;
44713
- const agentCount = org.agents?.length ?? 0;
44714
- const totalCount = workflowCount + agentCount;
44715
- spinner.succeed(
44716
- source_default.green("Validation passed") + source_default.gray(` (${totalCount} resource${totalCount !== 1 ? "s" : ""}, 0 errors)`)
44717
- );
44718
- if (workflowCount > 0) {
44719
- console.log(source_default.gray(` Workflows: ${workflowCount}`));
44720
- }
44721
- if (agentCount > 0) {
44722
- console.log(source_default.gray(` Agents: ${agentCount}`));
44723
- }
44724
- const triggerCount = org.triggers?.length ?? 0;
44725
- const integrationCount = org.integrations?.length ?? 0;
44726
- const checkpointCount = org.humanCheckpoints?.length ?? 0;
44727
- if (triggerCount > 0) console.log(source_default.gray(` Triggers: ${triggerCount}`));
44728
- if (integrationCount > 0) console.log(source_default.gray(` Integrations: ${integrationCount}`));
44729
- if (checkpointCount > 0) console.log(source_default.gray(` Checkpoints: ${checkpointCount}`));
44730
- const relationshipCount = org.relationships ? Object.keys(org.relationships).length : 0;
44731
- if (relationshipCount > 0) {
44732
- console.log(source_default.gray(` Relationships: ${relationshipCount}`));
44733
- }
44734
- const documentation = await scanDocumentation();
44735
- if (documentation) {
44736
- console.log(source_default.gray(` Docs: ${documentation.length} file${documentation.length !== 1 ? "s" : ""}`));
44737
- }
44738
- const schemaWarnings = [];
44739
- for (const w of org.workflows ?? []) {
44740
- if (w.contract.inputSchema) {
44741
- try {
44742
- external_exports.toJSONSchema(w.contract.inputSchema);
44743
- } catch {
44744
- schemaWarnings.push(`${w.config.resourceId}: inputSchema could not be serialized`);
44745
- }
44675
+ program3.command("check").description(
44676
+ "Validate project resources against the ResourceRegistry\n Example: elevasis-sdk check --entry ./src/index.ts"
44677
+ ).option("--entry <path>", "Path to entry file (default: ./src/index.ts)").action(
44678
+ wrapAction("check", async (options2) => {
44679
+ const entryPath = options2.entry ?? "./src/index.ts";
44680
+ const spinner = ora("Validating resources...").start();
44681
+ try {
44682
+ const jiti = (0, import_jiti2.createJiti)(import_meta2.url);
44683
+ const entryModule = await jiti.import((0, import_path2.resolve)(entryPath));
44684
+ const org = entryModule.default;
44685
+ if (!org) {
44686
+ spinner.fail("Invalid entry: no default export found");
44687
+ console.error(source_default.gray(` Entry file: ${(0, import_path2.resolve)(entryPath)}`));
44688
+ console.error(source_default.gray(" Expected: export default { workflows: [...], agents: [...] }"));
44689
+ throw new Error("Invalid entry");
44690
+ }
44691
+ new ResourceRegistry({ _check: org });
44692
+ const workflowCount = org.workflows?.length ?? 0;
44693
+ const agentCount = org.agents?.length ?? 0;
44694
+ const totalCount = workflowCount + agentCount;
44695
+ spinner.succeed(
44696
+ source_default.green("Validation passed") + source_default.gray(` (${totalCount} resource${totalCount !== 1 ? "s" : ""}, 0 errors)`)
44697
+ );
44698
+ if (workflowCount > 0) {
44699
+ console.log(source_default.gray(` Workflows: ${workflowCount}`));
44700
+ }
44701
+ if (agentCount > 0) {
44702
+ console.log(source_default.gray(` Agents: ${agentCount}`));
44703
+ }
44704
+ const triggerCount = org.triggers?.length ?? 0;
44705
+ const integrationCount = org.integrations?.length ?? 0;
44706
+ const checkpointCount = org.humanCheckpoints?.length ?? 0;
44707
+ if (triggerCount > 0) console.log(source_default.gray(` Triggers: ${triggerCount}`));
44708
+ if (integrationCount > 0) console.log(source_default.gray(` Integrations: ${integrationCount}`));
44709
+ if (checkpointCount > 0) console.log(source_default.gray(` Checkpoints: ${checkpointCount}`));
44710
+ const relationshipCount = org.relationships ? Object.keys(org.relationships).length : 0;
44711
+ if (relationshipCount > 0) {
44712
+ console.log(source_default.gray(` Relationships: ${relationshipCount}`));
44713
+ }
44714
+ const documentation = await scanDocumentation();
44715
+ if (documentation) {
44716
+ console.log(
44717
+ source_default.gray(` Docs: ${documentation.length} file${documentation.length !== 1 ? "s" : ""}`)
44718
+ );
44746
44719
  }
44747
- if (w.contract.outputSchema) {
44748
- try {
44749
- external_exports.toJSONSchema(w.contract.outputSchema);
44750
- } catch {
44751
- schemaWarnings.push(`${w.config.resourceId}: outputSchema could not be serialized`);
44752
- }
44720
+ const schemaWarnings = [];
44721
+ for (const w of org.workflows ?? []) {
44722
+ extractResourceMetadata(w, schemaWarnings);
44753
44723
  }
44754
- }
44755
- for (const a of org.agents ?? []) {
44756
- if (a.contract.inputSchema) {
44757
- try {
44758
- external_exports.toJSONSchema(a.contract.inputSchema);
44759
- } catch {
44760
- schemaWarnings.push(`${a.config.resourceId}: inputSchema could not be serialized`);
44761
- }
44724
+ for (const a of org.agents ?? []) {
44725
+ extractResourceMetadata(a, schemaWarnings);
44762
44726
  }
44763
- if (a.contract.outputSchema) {
44764
- try {
44765
- external_exports.toJSONSchema(a.contract.outputSchema);
44766
- } catch {
44767
- schemaWarnings.push(`${a.config.resourceId}: outputSchema could not be serialized`);
44727
+ if (schemaWarnings.length > 0) {
44728
+ console.log("");
44729
+ for (const warning of schemaWarnings) {
44730
+ console.log(source_default.yellow(` warn ${warning}`));
44768
44731
  }
44732
+ console.log(source_default.gray(" Schemas will be unavailable on the platform for these resources."));
44769
44733
  }
44770
- }
44771
- if (schemaWarnings.length > 0) {
44772
- console.log("");
44773
- for (const warning of schemaWarnings) {
44774
- console.log(source_default.yellow(` warn ${warning}`));
44775
- }
44776
- console.log(source_default.gray(" Schemas will be unavailable on the platform for these resources."));
44777
- }
44778
- } catch (error46) {
44779
- if (error46 instanceof RegistryValidationError) {
44780
- spinner.fail(source_default.red("Validation failed"));
44781
- console.error("");
44782
- console.error(source_default.red(` ERROR ${error46.message}`));
44783
- if (error46.resourceId) {
44784
- console.error(source_default.gray(` Resource: ${error46.resourceId}`));
44785
- }
44786
- if (error46.field) {
44787
- console.error(source_default.gray(` Field: ${error46.field}`));
44734
+ } catch (error46) {
44735
+ if (error46 instanceof RegistryValidationError) {
44736
+ spinner.fail(source_default.red("Validation failed"));
44737
+ console.error("");
44738
+ console.error(source_default.red(` ERROR ${error46.message}`));
44739
+ if (error46.resourceId) {
44740
+ console.error(source_default.gray(` Resource: ${error46.resourceId}`));
44741
+ }
44742
+ if (error46.field) {
44743
+ console.error(source_default.gray(` Field: ${error46.field}`));
44744
+ }
44745
+ console.error("");
44746
+ console.error(source_default.gray(" 1 error. Fix the issue and run again."));
44788
44747
  }
44789
- console.error("");
44790
- console.error(source_default.gray(" 1 error. Fix the issue and run again."));
44748
+ throw error46;
44791
44749
  }
44792
- throw error46;
44793
- }
44794
- }));
44750
+ })
44751
+ );
44795
44752
  }
44796
44753
 
44797
44754
  // src/cli/commands/exec.ts
package/dist/index.d.ts CHANGED
@@ -4768,6 +4768,77 @@ interface VerifyEmailResult {
4768
4768
  [key: string]: unknown;
4769
4769
  }
4770
4770
 
4771
+ interface EmailFinderParams {
4772
+ domain: string;
4773
+ firstName: string;
4774
+ lastName: string;
4775
+ }
4776
+ interface EmailFinderResult {
4777
+ email: string;
4778
+ firstName: string;
4779
+ lastName: string;
4780
+ fullName: string;
4781
+ position: string;
4782
+ company: string;
4783
+ country: string;
4784
+ score: number;
4785
+ verificationDate: string;
4786
+ verificationStatus: string;
4787
+ sources: Array<{
4788
+ uri: string;
4789
+ extractedOn: string;
4790
+ lastSeenOn: string;
4791
+ stillOnPage: boolean;
4792
+ }>;
4793
+ [key: string]: unknown;
4794
+ }
4795
+ interface DomainSearchParams {
4796
+ domain: string;
4797
+ limit?: number;
4798
+ department?: string;
4799
+ }
4800
+ interface DomainSearchEmail {
4801
+ email: string;
4802
+ firstName: string;
4803
+ lastName: string;
4804
+ fullName: string;
4805
+ position: string;
4806
+ department: string;
4807
+ verificationDate: string;
4808
+ verificationStatus: string;
4809
+ sources: Array<{
4810
+ uri: string;
4811
+ extractedOn: string;
4812
+ lastSeenOn: string;
4813
+ stillOnPage: boolean;
4814
+ }>;
4815
+ }
4816
+ interface DomainSearchResult {
4817
+ organizationName: string;
4818
+ domain: string;
4819
+ emails: DomainSearchEmail[];
4820
+ [key: string]: unknown;
4821
+ }
4822
+ interface EmailVerifierParams {
4823
+ email: string;
4824
+ }
4825
+ interface EmailVerifierResult {
4826
+ email: string;
4827
+ result: string;
4828
+ status: string;
4829
+ score: number;
4830
+ mxRecords: boolean;
4831
+ smtpServer: boolean;
4832
+ smtpCheck: boolean;
4833
+ acceptAll: boolean;
4834
+ block: boolean;
4835
+ gibberish: boolean;
4836
+ disposable: boolean;
4837
+ webmail: boolean;
4838
+ regex: boolean;
4839
+ [key: string]: unknown;
4840
+ }
4841
+
4771
4842
  /**
4772
4843
  * Shared Notion param/result types (browser-safe)
4773
4844
  *
@@ -5624,6 +5695,20 @@ type AnymailfinderToolMap = {
5624
5695
  result: VerifyEmailResult;
5625
5696
  };
5626
5697
  };
5698
+ type TombaToolMap = {
5699
+ emailFinder: {
5700
+ params: EmailFinderParams;
5701
+ result: EmailFinderResult;
5702
+ };
5703
+ domainSearch: {
5704
+ params: DomainSearchParams;
5705
+ result: DomainSearchResult;
5706
+ };
5707
+ emailVerifier: {
5708
+ params: EmailVerifierParams;
5709
+ result: EmailVerifierResult;
5710
+ };
5711
+ };
5627
5712
  type LeadToolMap = {
5628
5713
  listLists: {
5629
5714
  params: Record<string, never>;
@@ -6189,7 +6274,7 @@ type ToolingErrorType = 'service_unavailable' | 'permission_denied' | 'adapter_n
6189
6274
  * Note: Concrete adapter implementations are deferred until needed.
6190
6275
  * This type provides compile-time safety and auto-completion for tool definitions.
6191
6276
  */
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';
6277
+ 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
6278
 
6194
6279
  /**
6195
6280
  * Resource Registry type definitions
@@ -6622,4 +6707,4 @@ declare class ToolingError extends ExecutionError {
6622
6707
  }
6623
6708
 
6624
6709
  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 };
6710
+ 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 };
@@ -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>;
@@ -4916,8 +4916,14 @@ function createAnymailfinderAdapter(credential) {
4916
4916
  return createAdapter("anymailfinder", METHODS8, credential);
4917
4917
  }
4918
4918
 
4919
+ // src/worker/adapters/tomba.ts
4920
+ var METHODS9 = ["emailFinder", "domainSearch", "emailVerifier"];
4921
+ function createTombaAdapter(credential) {
4922
+ return createAdapter("tomba", METHODS9, credential);
4923
+ }
4924
+
4919
4925
  // src/worker/adapters/notion.ts
4920
- var METHODS9 = [
4926
+ var METHODS10 = [
4921
4927
  "listAllPages",
4922
4928
  "readPage",
4923
4929
  "createPage",
@@ -4928,31 +4934,31 @@ var METHODS9 = [
4928
4934
  "deleteBlocks"
4929
4935
  ];
4930
4936
  function createNotionAdapter(credential) {
4931
- return createAdapter("notion", METHODS9, credential);
4937
+ return createAdapter("notion", METHODS10, credential);
4932
4938
  }
4933
4939
 
4934
4940
  // src/worker/adapters/resend.ts
4935
- var METHODS10 = [
4941
+ var METHODS11 = [
4936
4942
  "sendEmail",
4937
4943
  "getEmail"
4938
4944
  ];
4939
4945
  function createResendAdapter(credential) {
4940
- return createAdapter("resend", METHODS10, credential);
4946
+ return createAdapter("resend", METHODS11, credential);
4941
4947
  }
4942
4948
 
4943
4949
  // src/worker/adapters/signature-api.ts
4944
- var METHODS11 = [
4950
+ var METHODS12 = [
4945
4951
  "createEnvelope",
4946
4952
  "voidEnvelope",
4947
4953
  "downloadDocument",
4948
4954
  "getEnvelope"
4949
4955
  ];
4950
4956
  function createSignatureApiAdapter(credential) {
4951
- return createAdapter("signature-api", METHODS11, credential);
4957
+ return createAdapter("signature-api", METHODS12, credential);
4952
4958
  }
4953
4959
 
4954
4960
  // src/worker/adapters/stripe.ts
4955
- var METHODS12 = [
4961
+ var METHODS13 = [
4956
4962
  "createPaymentLink",
4957
4963
  "getPaymentLink",
4958
4964
  "updatePaymentLink",
@@ -4961,7 +4967,7 @@ var METHODS12 = [
4961
4967
  "createCheckoutSession"
4962
4968
  ];
4963
4969
  function createStripeAdapter(credential) {
4964
- return createAdapter("stripe", METHODS12, credential);
4970
+ return createAdapter("stripe", METHODS13, credential);
4965
4971
  }
4966
4972
 
4967
4973
  // src/worker/adapters/scheduler.ts
@@ -5387,4 +5393,4 @@ function startWorker(org) {
5387
5393
  });
5388
5394
  }
5389
5395
 
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 };
5396
+ 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/sdk",
3
- "version": "0.6.2",
3
+ "version": "0.6.4",
4
4
  "description": "SDK for building Elevasis organization resources",
5
5
  "type": "module",
6
6
  "bin": {