@overaihq/cli 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -3
- package/dist/{types-5J3QQFGH.js → chunk-UMCJCOZX.js} +1 -691
- package/dist/index.js +550 -159
- package/dist/types-7F2H2ASS.js +713 -0
- package/dist/webPage-FN3A45OT.js +394 -0
- package/package.json +4 -9
|
@@ -14516,696 +14516,6 @@ function date4(params) {
|
|
|
14516
14516
|
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
|
|
14517
14517
|
config(en_default());
|
|
14518
14518
|
|
|
14519
|
-
// ../common/src/stdlib/resultOf.ts
|
|
14520
|
-
var resultOfSync = (func) => {
|
|
14521
|
-
try {
|
|
14522
|
-
return [func(), null];
|
|
14523
|
-
} catch (err) {
|
|
14524
|
-
return [null, err instanceof Error ? err : new Error(String(err))];
|
|
14525
|
-
}
|
|
14526
|
-
};
|
|
14527
|
-
|
|
14528
|
-
// ../common/src/automations/types.ts
|
|
14529
|
-
var ServiceEnum = /* @__PURE__ */ ((ServiceEnum2) => {
|
|
14530
|
-
ServiceEnum2["Agents"] = "AGENTS";
|
|
14531
|
-
ServiceEnum2["Ai"] = "AI";
|
|
14532
|
-
ServiceEnum2["Airtable"] = "AIRTABLE";
|
|
14533
|
-
ServiceEnum2["Anthropic"] = "ANTHROPIC";
|
|
14534
|
-
ServiceEnum2["Armis"] = "ARMIS";
|
|
14535
|
-
ServiceEnum2["AwsS3"] = "AWS_S3";
|
|
14536
|
-
ServiceEnum2["Axonius"] = "AXONIUS";
|
|
14537
|
-
ServiceEnum2["Azure"] = "AZURE";
|
|
14538
|
-
ServiceEnum2["AzureDevops"] = "AZURE_DEVOPS";
|
|
14539
|
-
ServiceEnum2["AzureLogAnalytics"] = "AZURE_LOG_ANALYTICS";
|
|
14540
|
-
ServiceEnum2["Bigfix"] = "BIGFIX";
|
|
14541
|
-
ServiceEnum2["CISA"] = "CISA";
|
|
14542
|
-
ServiceEnum2["Clipdrop"] = "CLIPDROP";
|
|
14543
|
-
ServiceEnum2["Crowdstrike"] = "CROWDSTRIKE";
|
|
14544
|
-
ServiceEnum2["CustomCode"] = "CUSTOM_CODE";
|
|
14545
|
-
ServiceEnum2["Cyera"] = "CYERA";
|
|
14546
|
-
ServiceEnum2["Databox"] = "DATABOX";
|
|
14547
|
-
ServiceEnum2["Databricks"] = "DATABRICKS";
|
|
14548
|
-
ServiceEnum2["DataFiles"] = "DATA_FILES";
|
|
14549
|
-
ServiceEnum2["DataStreams"] = "DATA_STREAMS";
|
|
14550
|
-
ServiceEnum2["Discord"] = "DISCORD";
|
|
14551
|
-
ServiceEnum2["Dropbox"] = "DROPBOX";
|
|
14552
|
-
ServiceEnum2["Gmail"] = "GMAIL";
|
|
14553
|
-
ServiceEnum2["GoogleCalendar"] = "GOOGLE_CALENDAR";
|
|
14554
|
-
ServiceEnum2["GoogleMeet"] = "GOOGLE_MEET";
|
|
14555
|
-
ServiceEnum2["InforHms"] = "INFOR_HMS";
|
|
14556
|
-
ServiceEnum2["MicrosoftTeamsBot"] = "MICROSOFT_TEAMS_BOT";
|
|
14557
|
-
ServiceEnum2["OpenInvoice"] = "OPEN_INVOICE";
|
|
14558
|
-
ServiceEnum2["OracleCloud"] = "ORACLE_CLOUD";
|
|
14559
|
-
ServiceEnum2["OracleDatabase"] = "ORACLE_DATABASE";
|
|
14560
|
-
ServiceEnum2["Sftp"] = "SFTP";
|
|
14561
|
-
ServiceEnum2["SplunkOnCall"] = "SPLUNK_ON_CALL";
|
|
14562
|
-
ServiceEnum2["TableSpaces"] = "TABLE_SPACES";
|
|
14563
|
-
ServiceEnum2["EntraId"] = "ENTRA_ID";
|
|
14564
|
-
ServiceEnum2["ExchangeOnline"] = "EXCHANGE_ONLINE";
|
|
14565
|
-
ServiceEnum2["Email"] = "EMAIL";
|
|
14566
|
-
ServiceEnum2["F5"] = "F5";
|
|
14567
|
-
ServiceEnum2["Files"] = "FILES";
|
|
14568
|
-
ServiceEnum2["Freshservice"] = "FRESHSERVICE";
|
|
14569
|
-
ServiceEnum2["Github"] = "GITHUB";
|
|
14570
|
-
ServiceEnum2["Glide"] = "GLIDE";
|
|
14571
|
-
ServiceEnum2["GoogleAi"] = "GOOGLE_AI";
|
|
14572
|
-
ServiceEnum2["GoogleCloudPlatform"] = "GOOGLE_CLOUD_PLATFORM";
|
|
14573
|
-
ServiceEnum2["Gusto"] = "GUSTO";
|
|
14574
|
-
ServiceEnum2["Http"] = "HTTP";
|
|
14575
|
-
ServiceEnum2["HybridAnalysis"] = "HYBRID_ANALYSIS";
|
|
14576
|
-
ServiceEnum2["ImportStructuredData"] = "IMPORT";
|
|
14577
|
-
ServiceEnum2["Jira"] = "JIRA";
|
|
14578
|
-
ServiceEnum2["Linkedin"] = "LINKEDIN";
|
|
14579
|
-
ServiceEnum2["LocalNetwork"] = "LOCAL_NETWORK";
|
|
14580
|
-
ServiceEnum2["MicrosoftDefender"] = "MICROSOFT_DEFENDER";
|
|
14581
|
-
ServiceEnum2["MicrosoftIntune"] = "MICROSOFT_INTUNE";
|
|
14582
|
-
ServiceEnum2["MicrosoftSentinel"] = "MICROSOFT_SENTINEL";
|
|
14583
|
-
ServiceEnum2["MongoDb"] = "MONGO_DB";
|
|
14584
|
-
ServiceEnum2["MsSqlDatabase"] = "MS_SQL_DATABASE";
|
|
14585
|
-
ServiceEnum2["Netsuite"] = "NETSUITE";
|
|
14586
|
-
ServiceEnum2["NonameSecurity"] = "NONAME_SECURITY";
|
|
14587
|
-
ServiceEnum2["Notion"] = "NOTION";
|
|
14588
|
-
ServiceEnum2["OAuth"] = "OAUTH";
|
|
14589
|
-
ServiceEnum2["OpenAI"] = "OPENAI";
|
|
14590
|
-
ServiceEnum2["Outlook"] = "OUTLOOK";
|
|
14591
|
-
ServiceEnum2["Pagerduty"] = "PAGERDUTY";
|
|
14592
|
-
ServiceEnum2["PerygeeCloud"] = "CLOUD";
|
|
14593
|
-
ServiceEnum2["PerygeeControlFlow"] = "CONTROL_FLOW";
|
|
14594
|
-
ServiceEnum2["PerygeeCopilot"] = "PERYGEE_COPILOT";
|
|
14595
|
-
ServiceEnum2["PerygeeItems"] = "ITEMS";
|
|
14596
|
-
ServiceEnum2["PerygeeLoading"] = "PERYGEE_LOADING";
|
|
14597
|
-
ServiceEnum2["PowerBi"] = "POWER_BI";
|
|
14598
|
-
ServiceEnum2["Powershell"] = "POWERSHELL";
|
|
14599
|
-
ServiceEnum2["Qualys"] = "QUALYS";
|
|
14600
|
-
ServiceEnum2["RapidSeven"] = "RAPID_SEVEN";
|
|
14601
|
-
ServiceEnum2["RunZero"] = "RUN_ZERO";
|
|
14602
|
-
ServiceEnum2["Safebreach"] = "SAFEBREACH";
|
|
14603
|
-
ServiceEnum2["Salesforce"] = "SALESFORCE";
|
|
14604
|
-
ServiceEnum2["SentinelOne"] = "SENTINEL_ONE";
|
|
14605
|
-
ServiceEnum2["ServiceNow"] = "SERVICENOW";
|
|
14606
|
-
ServiceEnum2["SharePoint"] = "SHARE_POINT";
|
|
14607
|
-
ServiceEnum2["ShipHero"] = "SHIP_HERO";
|
|
14608
|
-
ServiceEnum2["Slack"] = "SLACK";
|
|
14609
|
-
ServiceEnum2["Snowflake"] = "SNOWFLAKE";
|
|
14610
|
-
ServiceEnum2["Splunk"] = "SPLUNK";
|
|
14611
|
-
ServiceEnum2["SplunkHec"] = "SPLUNK_HEC";
|
|
14612
|
-
ServiceEnum2["Tanium"] = "TANIUM";
|
|
14613
|
-
ServiceEnum2["Tenable"] = "TENABLE";
|
|
14614
|
-
ServiceEnum2["TenableSecurityCenter"] = "TENABLE_SECURITY_CENTER";
|
|
14615
|
-
ServiceEnum2["Timer"] = "TIMER";
|
|
14616
|
-
ServiceEnum2["Twilio"] = "TWILIO";
|
|
14617
|
-
ServiceEnum2["Wiz"] = "WIZ";
|
|
14618
|
-
ServiceEnum2["Xero"] = "XERO";
|
|
14619
|
-
ServiceEnum2["Hubspot"] = "HUBSPOT";
|
|
14620
|
-
ServiceEnum2["Zoho"] = "ZOHO";
|
|
14621
|
-
ServiceEnum2["McpServer"] = "MCP_SERVER";
|
|
14622
|
-
return ServiceEnum2;
|
|
14623
|
-
})(ServiceEnum || {});
|
|
14624
|
-
var NodeEnum = /* @__PURE__ */ ((NodeEnum2) => {
|
|
14625
|
-
NodeEnum2["addItemItemType"] = "ADD_ITEM_ITEM_TYPE";
|
|
14626
|
-
NodeEnum2["addTableColumn"] = "ADD_TABLE_COLUMN";
|
|
14627
|
-
NodeEnum2["airtableGetTableRecords"] = "AIRTABLE_GET_TABLE_RECORDS";
|
|
14628
|
-
NodeEnum2["always"] = "ALWAYS";
|
|
14629
|
-
NodeEnum2["anthropicRequestCompletion"] = "ANTHROPIC_REQUEST_COMPLETION";
|
|
14630
|
-
NodeEnum2["armisAction"] = "ARMIS_ACTION";
|
|
14631
|
-
NodeEnum2["attributeChanged"] = "ATTRIBUTE_CHANGED";
|
|
14632
|
-
NodeEnum2["awsS3GetObject"] = "AWS_S3_GET_OBJECT";
|
|
14633
|
-
NodeEnum2["awsS3ListObjects"] = "AWS_S3_LIST_OBJECTS";
|
|
14634
|
-
NodeEnum2["awsS3PutObject"] = "AWS_S3_PUT_OBJECT";
|
|
14635
|
-
NodeEnum2["axoniusAction"] = "AXONIUS_ACTION";
|
|
14636
|
-
NodeEnum2["azureAction"] = "AZURE_ACTION";
|
|
14637
|
-
NodeEnum2["azureDevopsAction"] = "AZURE_DEVOPS_ACTION";
|
|
14638
|
-
NodeEnum2["azureDevopsCreateWorkItem"] = "AZURE_DEVOPS_CREATE_WORK_ITEM";
|
|
14639
|
-
NodeEnum2["azureDevopsGetWorkItem"] = "AZURE_DEVOPS_GET_WORK_ITEM";
|
|
14640
|
-
NodeEnum2["azureDevopsQueryWorkItems"] = "AZURE_DEVOPS_QUERY_WORK_ITEMS";
|
|
14641
|
-
NodeEnum2["azureListBlobs"] = "AZURE_LIST_BLOBS";
|
|
14642
|
-
NodeEnum2["azureLogAnalyticsQuery"] = "AZURE_LOG_ANALYTICS_QUERY";
|
|
14643
|
-
NodeEnum2["azureUploadFile"] = "AZURE_UPLOAD_FILE";
|
|
14644
|
-
NodeEnum2["bigfixAction"] = "BIGFIX_ACTION";
|
|
14645
|
-
NodeEnum2["agentGenerateText"] = "AGENT_GENERATE_TEXT";
|
|
14646
|
-
NodeEnum2["agentGenerateObject"] = "AGENT_GENERATE_OBJECT";
|
|
14647
|
-
NodeEnum2["changeAttribute"] = "CHANGE_ATTRIBUTE";
|
|
14648
|
-
NodeEnum2["clipdropTextToImage"] = "CLIPDROP_TEXT_TO_IMAGE";
|
|
14649
|
-
NodeEnum2["combineAsPdf"] = "COMBINE_AS_PDF";
|
|
14650
|
-
NodeEnum2["combinePdfs"] = "COMBINE_PDFS";
|
|
14651
|
-
NodeEnum2["copilotLoading"] = "COPILOT_LOADING";
|
|
14652
|
-
NodeEnum2["createItem"] = "CREATE_ITEM";
|
|
14653
|
-
NodeEnum2["createItemLink"] = "CREATE_ITEM_LINK";
|
|
14654
|
-
NodeEnum2["crowdstrikeAction"] = "CROWDSTRIKE_ACTION";
|
|
14655
|
-
NodeEnum2["crowdstrikeGetArtifacts"] = "CROWDSTRIKE_GET_ARTIFACTS";
|
|
14656
|
-
NodeEnum2["crowdstrikeGetQuickScanResults"] = "CROWDSTRIKE_GET_QUICK_SCAN_RESULTS";
|
|
14657
|
-
NodeEnum2["crowdstrikeGetSandboxReport"] = "CROWDSTRIKE_GET_SANDBOX_REPORT";
|
|
14658
|
-
NodeEnum2["crowdstrikeStartSandboxAnalysis"] = "CROWDSTRIKE_START_SANDBOX_ANALYSIS";
|
|
14659
|
-
NodeEnum2["crowdstrikeUploadSample"] = "CROWDSTRIKE_UPLOAD_ARCHIVE";
|
|
14660
|
-
NodeEnum2["csvToExcel"] = "CSV_TO_EXCEL";
|
|
14661
|
-
NodeEnum2["cyeraAction"] = "CYERA_ACTION";
|
|
14662
|
-
NodeEnum2["databoxAction"] = "DATABOX_ACTION";
|
|
14663
|
-
NodeEnum2["databricksAction"] = "DATABRICKS_ACTION";
|
|
14664
|
-
NodeEnum2["databricksRunSql"] = "DATABRICKS_RUN_SQL";
|
|
14665
|
-
NodeEnum2["databricksStartWarehouse"] = "DATABRICKS_START_WAREHOUSE";
|
|
14666
|
-
NodeEnum2["discordWebhookSendMessage"] = "DISCORD_WEBHOOK_SEND_MESSAGE";
|
|
14667
|
-
NodeEnum2["docxToHtml"] = "DOCX_TO_HTML";
|
|
14668
|
-
NodeEnum2["docxToMarkdown"] = "DOCX_TO_MARKDOWN";
|
|
14669
|
-
NodeEnum2["documentToHtml"] = "DOCUMENT_TO_HTML";
|
|
14670
|
-
NodeEnum2["dropboxDownloadFile"] = "DROPBOX_DOWNLOAD_FILE";
|
|
14671
|
-
NodeEnum2["dropboxListFolder"] = "DROPBOX_LIST_FOLDER";
|
|
14672
|
-
NodeEnum2["dropboxUploadFile"] = "DROPBOX_UPLOAD_FILE";
|
|
14673
|
-
NodeEnum2["emailReceived"] = "EMAIL_RECEIVED";
|
|
14674
|
-
NodeEnum2["entraIdAction"] = "ENTRA_ID_ACTION";
|
|
14675
|
-
NodeEnum2["error"] = "ERROR";
|
|
14676
|
-
NodeEnum2["exchangeOnlineAction"] = "EXCHANGE_ONLINE_ACTION";
|
|
14677
|
-
NodeEnum2["excelToCsv"] = "EXCEL_TO_CSV";
|
|
14678
|
-
NodeEnum2["exportTableSpaceQuery"] = "EXPORT_TABLE_SPACE_QUERY";
|
|
14679
|
-
NodeEnum2["f5Action"] = "F5_ACTION";
|
|
14680
|
-
NodeEnum2["fileUpload"] = "FILE_UPLOAD";
|
|
14681
|
-
NodeEnum2["findOrCreateItem"] = "FIND_OR_CREATE_ITEM";
|
|
14682
|
-
NodeEnum2["freshserviceAction"] = "FRESHSERVICE_ACTION";
|
|
14683
|
-
NodeEnum2["gcpAction"] = "GCP_ACTION";
|
|
14684
|
-
NodeEnum2["gcpGeminiCompletion"] = "GCP_GEMINI_COMPLETION";
|
|
14685
|
-
NodeEnum2["generateObject"] = "GENERATE_OBJECT";
|
|
14686
|
-
NodeEnum2["generatePresignedLink"] = "GENERATE_PRESIGNED_LINK";
|
|
14687
|
-
NodeEnum2["generateText"] = "GENERATE_TEXT";
|
|
14688
|
-
NodeEnum2["gmailAction"] = "GMAIL_ACTION";
|
|
14689
|
-
NodeEnum2["gmailGetAttachment"] = "GMAIL_GET_ATTACHMENT";
|
|
14690
|
-
NodeEnum2["gmailGetMessage"] = "GMAIL_GET_MESSAGE";
|
|
14691
|
-
NodeEnum2["gmailListMessages"] = "GMAIL_LIST_MESSAGES";
|
|
14692
|
-
NodeEnum2["gmailModifyMessage"] = "GMAIL_MODIFY_MESSAGE";
|
|
14693
|
-
NodeEnum2["gmailSendEmail"] = "GMAIL_SEND_EMAIL";
|
|
14694
|
-
NodeEnum2["googleAiRequestCompletion"] = "GOOGLE_AI_REQUEST_COMPLETION";
|
|
14695
|
-
NodeEnum2["getRangeFromExcel"] = "GET_RANGE_FROM_EXCEL";
|
|
14696
|
-
NodeEnum2["githubAction"] = "GITHUB_ACTION";
|
|
14697
|
-
NodeEnum2["githubAddRepositoryCollaborator"] = "GITHUB_ADD_REPOSITORY_COLLABORATOR";
|
|
14698
|
-
NodeEnum2["githubCreateCommit"] = "GITHUB_CREATE_COMMIT";
|
|
14699
|
-
NodeEnum2["githubCreateIssue"] = "GITHUB_CREATE_ISSUE";
|
|
14700
|
-
NodeEnum2["githubCreatePullRequest"] = "GITHUB_CREATE_PULL_REQUEST";
|
|
14701
|
-
NodeEnum2["githubCreateReference"] = "GITHUB_CREATE_REFERENCE";
|
|
14702
|
-
NodeEnum2["githubCreateTree"] = "GITHUB_CREATE_TREE";
|
|
14703
|
-
NodeEnum2["githubGetBranch"] = "GITHUB_GET_BRANCH";
|
|
14704
|
-
NodeEnum2["githubGetPullRequest"] = "GITHUB_GET_PULL_REQUEST";
|
|
14705
|
-
NodeEnum2["githubGetTree"] = "GITHUB_GET_TREE";
|
|
14706
|
-
NodeEnum2["githubListCommits"] = "GITHUB_LIST_COMMITS";
|
|
14707
|
-
NodeEnum2["githubListFiles"] = "GITHUB_LIST_FILES";
|
|
14708
|
-
NodeEnum2["githubListIssues"] = "GITHUB_LIST_ISSUES";
|
|
14709
|
-
NodeEnum2["githubListRepositories"] = "GITHUB_LIST_REPOSITORIES";
|
|
14710
|
-
NodeEnum2["githubListRepositoryCollaborators"] = "GITHUB_LIST_REPOSITORY_COLLABORATORS";
|
|
14711
|
-
NodeEnum2["githubMergeBranch"] = "GITHUB_MERGE_BRANCH";
|
|
14712
|
-
NodeEnum2["githubRemoveRepositoryCollaborator"] = "GITHUB_REMOVE_REPOSITORY_COLLABORATOR";
|
|
14713
|
-
NodeEnum2["githubUpdatePullRequest"] = "GITHUB_UPDATE_PULL_REQUEST";
|
|
14714
|
-
NodeEnum2["glideAction"] = "GLIDE_ACTION";
|
|
14715
|
-
NodeEnum2["googleCalendarCreateEvent"] = "GOOGLE_CALENDAR_CREATE_EVENT";
|
|
14716
|
-
NodeEnum2["googleCalendarDeleteEvent"] = "GOOGLE_CALENDAR_DELETE_EVENT";
|
|
14717
|
-
NodeEnum2["googleCalendarGetEvent"] = "GOOGLE_CALENDAR_GET_EVENT";
|
|
14718
|
-
NodeEnum2["googleCalendarListCalendars"] = "GOOGLE_CALENDAR_LIST_CALENDARS";
|
|
14719
|
-
NodeEnum2["googleCalendarListEvents"] = "GOOGLE_CALENDAR_LIST_EVENTS";
|
|
14720
|
-
NodeEnum2["googleCalendarSearchEvents"] = "GOOGLE_CALENDAR_SEARCH_EVENTS";
|
|
14721
|
-
NodeEnum2["googleCalendarUpdateEvent"] = "GOOGLE_CALENDAR_UPDATE_EVENT";
|
|
14722
|
-
NodeEnum2["googleMeetGetTranscript"] = "GOOGLE_MEET_GET_TRANSCRIPT";
|
|
14723
|
-
NodeEnum2["googleMeetListConferenceRecords"] = "GOOGLE_MEET_LIST_CONFERENCE_RECORDS";
|
|
14724
|
-
NodeEnum2["gustoGetUser"] = "GUSTO_GET_USER";
|
|
14725
|
-
NodeEnum2["htmlToMarkdown"] = "HTML_TO_MARKDOWN";
|
|
14726
|
-
NodeEnum2["httpRequestWithAuth"] = "HTTP_REQUEST_WITH_AUTH";
|
|
14727
|
-
NodeEnum2["hubspotAction"] = "HUBSPOT_ACTION";
|
|
14728
|
-
NodeEnum2["hybridAnalysisQuickScanFile"] = "HYBRID_ANALYSIS_QUICK_SCAN_FILE";
|
|
14729
|
-
NodeEnum2["hybridAnalysisSandboxScanFile"] = "HYBRID_ANALYSIS_SANDBOX_SCAN_FILE";
|
|
14730
|
-
NodeEnum2["if"] = "IF";
|
|
14731
|
-
NodeEnum2["ifElse"] = "IF_ELSE";
|
|
14732
|
-
NodeEnum2["importStructuredData"] = "IMPORT";
|
|
14733
|
-
NodeEnum2["inforHmsGetReservation"] = "INFOR_HMS_GET_RESERVATION";
|
|
14734
|
-
NodeEnum2["inforHmsListReservations"] = "INFOR_HMS_LIST_RESERVATIONS";
|
|
14735
|
-
NodeEnum2["inforHmsUpdateReservationStatus"] = "INFOR_HMS_UPDATE_RESERVATION_STATUS";
|
|
14736
|
-
NodeEnum2["itemAdded"] = "ITEM_ADDED";
|
|
14737
|
-
NodeEnum2["itemLinkCreated"] = "ITEM_LINK_CREATED";
|
|
14738
|
-
NodeEnum2["itemLinkDeleted"] = "ITEM_LINK_DELETED";
|
|
14739
|
-
NodeEnum2["itemManuallyTriggered"] = "ITEM_MANUALLY_TRIGGERED";
|
|
14740
|
-
NodeEnum2["jiraAction"] = "JIRA_ACTION";
|
|
14741
|
-
NodeEnum2["jsonToCsv"] = "JSON_TO_CSV";
|
|
14742
|
-
NodeEnum2["linkedinAction"] = "LINKEDIN_ACTION";
|
|
14743
|
-
NodeEnum2["loadFileAsText"] = "LOAD_FILE_AS_TEXT";
|
|
14744
|
-
NodeEnum2["loadItem"] = "LOAD_ITEM";
|
|
14745
|
-
NodeEnum2["loadItemItemTypes"] = "LOAD_ITEM_ITEM_TYPES";
|
|
14746
|
-
NodeEnum2["loadItemLinks"] = "LOAD_ITEM_LINKS";
|
|
14747
|
-
NodeEnum2["loopArray"] = "LOOP_ARRAY";
|
|
14748
|
-
NodeEnum2["loopRange"] = "LOOP_RANGE";
|
|
14749
|
-
NodeEnum2["mapOverTableRows"] = "MAP_OVER_TABLE_ROWS";
|
|
14750
|
-
NodeEnum2["mcpListTools"] = "MCP_LIST_TOOLS";
|
|
14751
|
-
NodeEnum2["mcpToolCall"] = "MCP_TOOL_CALL";
|
|
14752
|
-
NodeEnum2["mergeTableData"] = "MERGE_TABLE_DATA";
|
|
14753
|
-
NodeEnum2["microsoftDefenderAction"] = "MICROSOFT_DEFENDER_ACTION";
|
|
14754
|
-
NodeEnum2["microsoftIntuneQuery"] = "MICROSOFT_INTUNE_QUERY";
|
|
14755
|
-
NodeEnum2["microsoftSentinelAction"] = "MICROSOFT_SENTINEL_ACTION";
|
|
14756
|
-
NodeEnum2["microsoftTeamsBotSendMessage"] = "MICROSOFT_TEAMS_BOT_SEND_MESSAGE";
|
|
14757
|
-
NodeEnum2["microsoftTeamsBotWebhook"] = "MICROSOFT_TEAMS_BOT_WEBHOOK";
|
|
14758
|
-
NodeEnum2["mongoDbAction"] = "MONGO_DB_ACTION";
|
|
14759
|
-
NodeEnum2["msSqlDatabaseTransactionRemote"] = "MS_SQL_DATABASE_TRANSACTION_REMOTE";
|
|
14760
|
-
NodeEnum2["netsuiteCustomRequest"] = "NETSUITE_CUSTOM_REQUEST";
|
|
14761
|
-
NodeEnum2["netsuiteGetRecords"] = "NETSUITE_GET_RECORDS";
|
|
14762
|
-
NodeEnum2["netsuiteRunSuiteqlQuery"] = "NETSUITE_RUN_SUITEQL_QUERY";
|
|
14763
|
-
NodeEnum2["nonameSecurityAction"] = "NONAME_SECURITY_ACTION";
|
|
14764
|
-
NodeEnum2["notionListUsers"] = "NOTION_LIST_USERS";
|
|
14765
|
-
NodeEnum2["oauthHttpRequest"] = "OAUTH_HTTP_REQUEST";
|
|
14766
|
-
NodeEnum2["openInvoiceRequest"] = "OPEN_INVOICE_REQUEST";
|
|
14767
|
-
NodeEnum2["openaiRequestCompletion"] = "OPENAI_REQUEST_COMPLETION";
|
|
14768
|
-
NodeEnum2["oracleCloudApiRequest"] = "ORACLE_CLOUD_API_REQUEST";
|
|
14769
|
-
NodeEnum2["oracleCloudListCompartments"] = "ORACLE_CLOUD_LIST_COMPARTMENTS";
|
|
14770
|
-
NodeEnum2["oracleCloudListInstances"] = "ORACLE_CLOUD_LIST_INSTANCES";
|
|
14771
|
-
NodeEnum2["oracleRunQuery"] = "ORACLE_RUN_QUERY";
|
|
14772
|
-
NodeEnum2["outlookAction"] = "OUTLOOK_ACTION";
|
|
14773
|
-
NodeEnum2["outlookGetEmailAttachments"] = "OUTLOOK_GET_EMAIL_ATTACHMENTS";
|
|
14774
|
-
NodeEnum2["outlookListEmails"] = "OUTLOOK_LIST_EMAILS";
|
|
14775
|
-
NodeEnum2["outlookSendEmail"] = "OUTLOOK_SEND_EMAIL";
|
|
14776
|
-
NodeEnum2["pagerdutyAction"] = "PAGERDUTY_ACTION";
|
|
14777
|
-
NodeEnum2["pagerdutyCreateIncident"] = "PAGERDUTY_CREATE_INCIDENT";
|
|
14778
|
-
NodeEnum2["pagerdutyListIncidents"] = "PAGERDUTY_LIST_INCIDENTS";
|
|
14779
|
-
NodeEnum2["parseCsv"] = "PARSE_CSV";
|
|
14780
|
-
NodeEnum2["parseExcel"] = "PARSE_EXCEL";
|
|
14781
|
-
NodeEnum2["pdfToImage"] = "PDF_TO_IMAGE";
|
|
14782
|
-
NodeEnum2["pdfToText"] = "PDF_TO_TEXT";
|
|
14783
|
-
NodeEnum2["printablePageToPdf"] = "PRINTABLE_PAGE_TO_PDF";
|
|
14784
|
-
NodeEnum2["placeholder"] = "PLACEHOLDER";
|
|
14785
|
-
NodeEnum2["powerBiAction"] = "POWER_BI_ACTION";
|
|
14786
|
-
NodeEnum2["powershellCode"] = "POWERSHELL_CODE";
|
|
14787
|
-
NodeEnum2["publicChannelMessage"] = "PUBLIC_CHANNEL_MESSAGE";
|
|
14788
|
-
NodeEnum2["pushToDataStream"] = "PUSH_TO_DATA_STREAM";
|
|
14789
|
-
NodeEnum2["qualysAction"] = "QUALYS_ACTION";
|
|
14790
|
-
NodeEnum2["qualysGetQidsFromCves"] = "QUALYS_GET_QIDS_FROM_CVES";
|
|
14791
|
-
NodeEnum2["queryDataStream"] = "QUERY_DATA_STREAM";
|
|
14792
|
-
NodeEnum2["queryForItems"] = "QUERY_FOR_ITEMS";
|
|
14793
|
-
NodeEnum2["rapidSevenAction"] = "RAPID_SEVEN_ACTION";
|
|
14794
|
-
NodeEnum2["readFilesFromLocalFolder"] = "READ_FILES_FROM_LOCAL_FOLDER";
|
|
14795
|
-
NodeEnum2["readFoldersFromLocalFolder"] = "READ_FOLDERS_FROM_LOCAL_FOLDER";
|
|
14796
|
-
NodeEnum2["renameLocalFile"] = "RENAME_LOCAL_FILE";
|
|
14797
|
-
NodeEnum2["runContainerScript"] = "RUN_CONTAINER_SCRIPT";
|
|
14798
|
-
NodeEnum2["runFunction"] = "RUN_FUNCTION";
|
|
14799
|
-
NodeEnum2["runTableSpaceQuery"] = "RUN_TABLE_SPACE_QUERY";
|
|
14800
|
-
NodeEnum2["runZeroAction"] = "RUN_ZERO_ACTION";
|
|
14801
|
-
NodeEnum2["safebreachAction"] = "SAFEBREACH_ACTION";
|
|
14802
|
-
NodeEnum2["salesforceAction"] = "SALESFORCE_ACTION";
|
|
14803
|
-
NodeEnum2["salesforceRunSoqlQuery"] = "SALESFORCE_RUN_SOQL_QUERY";
|
|
14804
|
-
NodeEnum2["saveAsFile"] = "SAVE_AS_FILE";
|
|
14805
|
-
NodeEnum2["saveAsLocalFile"] = "SAVE_AS_LOCAL_FILE";
|
|
14806
|
-
NodeEnum2["saveToDataFile"] = "SAVE_TO_DATA_FILE";
|
|
14807
|
-
NodeEnum2["screenshotWebpage"] = "SCREENSHOT_WEBPAGE";
|
|
14808
|
-
NodeEnum2["searchCisaKevs"] = "SEARCH_CISA_KEVS";
|
|
14809
|
-
NodeEnum2["sendEmail"] = "SEND_EMAIL";
|
|
14810
|
-
NodeEnum2["sendRequest"] = "SEND_REQUEST";
|
|
14811
|
-
NodeEnum2["sentinelOneAction"] = "SENTINEL_ONE_ACTION";
|
|
14812
|
-
NodeEnum2["serviceNowCreateRecord"] = "SERVICENOW_CREATE_RECORD";
|
|
14813
|
-
NodeEnum2["serviceNowDeleteRecord"] = "SERVICENOW_DELETE_RECORD";
|
|
14814
|
-
NodeEnum2["serviceNowGetIncidents"] = "SERVICENOW_GET_INCIDENTS";
|
|
14815
|
-
NodeEnum2["serviceNowGetTable"] = "SERVICE_NOW_GET_TABLE";
|
|
14816
|
-
NodeEnum2["serviceNowUpdateRecord"] = "SERVICENOW_UPDATE_RECORD";
|
|
14817
|
-
NodeEnum2["sftpDeleteFile"] = "SFTP_DELETE_FILE";
|
|
14818
|
-
NodeEnum2["sftpGetFile"] = "SFTP_GET_FILE";
|
|
14819
|
-
NodeEnum2["sftpListDirectory"] = "SFTP_LIST_DIRECTORY";
|
|
14820
|
-
NodeEnum2["sftpPutFile"] = "SFTP_PUT_FILE";
|
|
14821
|
-
NodeEnum2["sftpRenameFile"] = "SFTP_RENAME_FILE";
|
|
14822
|
-
NodeEnum2["sharePointAction"] = "SHARE_POINT_ACTION";
|
|
14823
|
-
NodeEnum2["sharePointCreatePermission"] = "SHARE_POINT_CREATE_PERMISSION";
|
|
14824
|
-
NodeEnum2["sharePointDeletePermission"] = "SHARE_POINT_DELETE_PERMISSION";
|
|
14825
|
-
NodeEnum2["sharePointGetFile"] = "SHARE_POINT_GET_FILE";
|
|
14826
|
-
NodeEnum2["sharePointListFiles"] = "SHARE_POINT_LIST_FILES";
|
|
14827
|
-
NodeEnum2["sharePointListFolders"] = "SHARE_POINT_LIST_FOLDERS";
|
|
14828
|
-
NodeEnum2["sharePointListPermissions"] = "SHARE_POINT_LIST_PERMISSIONS";
|
|
14829
|
-
NodeEnum2["sharePointMoveFile"] = "SHARE_POINT_MOVE_FILE";
|
|
14830
|
-
NodeEnum2["sharePointRenameFile"] = "SHARE_POINT_RENAME_FILE";
|
|
14831
|
-
NodeEnum2["sharePointUpdateFileProperties"] = "SHARE_POINT_UPDATE_FILE_PROPERTIES";
|
|
14832
|
-
NodeEnum2["sharePointUploadFile"] = "SHARE_POINT_UPLOAD_FILE";
|
|
14833
|
-
NodeEnum2["sharepointV2Action"] = "SHAREPOINT_V2_ACTION";
|
|
14834
|
-
NodeEnum2["sharepointV2CreatePermission"] = "SHAREPOINT_V2_CREATE_PERMISSION";
|
|
14835
|
-
NodeEnum2["sharepointV2DeletePermission"] = "SHAREPOINT_V2_DELETE_PERMISSION";
|
|
14836
|
-
NodeEnum2["sharepointV2GetFile"] = "SHAREPOINT_V2_GET_FILE";
|
|
14837
|
-
NodeEnum2["sharepointV2GetFileByUrl"] = "SHAREPOINT_V2_GET_FILE_BY_URL";
|
|
14838
|
-
NodeEnum2["sharepointV2ListFiles"] = "SHAREPOINT_V2_LIST_FILES";
|
|
14839
|
-
NodeEnum2["sharepointV2ListFolders"] = "SHAREPOINT_V2_LIST_FOLDERS";
|
|
14840
|
-
NodeEnum2["sharepointV2ListItemsByUrl"] = "SHAREPOINT_V2_LIST_ITEMS_BY_URL";
|
|
14841
|
-
NodeEnum2["sharepointV2ListPermissions"] = "SHAREPOINT_V2_LIST_PERMISSIONS";
|
|
14842
|
-
NodeEnum2["sharepointV2MoveFile"] = "SHAREPOINT_V2_MOVE_FILE";
|
|
14843
|
-
NodeEnum2["sharepointV2RenameFile"] = "SHAREPOINT_V2_RENAME_FILE";
|
|
14844
|
-
NodeEnum2["sharepointV2UpdateFileProperties"] = "SHAREPOINT_V2_UPDATE_FILE_PROPERTIES";
|
|
14845
|
-
NodeEnum2["sharepointV2UploadFile"] = "SHAREPOINT_V2_UPLOAD_FILE";
|
|
14846
|
-
NodeEnum2["shellScript"] = "SHELL_SCRIPT";
|
|
14847
|
-
NodeEnum2["shipHeroGraphqlAction"] = "SHIP_HERO_GRAPHQL_ACTION";
|
|
14848
|
-
NodeEnum2["slackSendMessage"] = "SLACK_SEND_MESSAGE";
|
|
14849
|
-
NodeEnum2["slackUpdateMessage"] = "SLACK_UPDATE_MESSAGE";
|
|
14850
|
-
NodeEnum2["slackWebhook"] = "SLACK_WEBHOOK";
|
|
14851
|
-
NodeEnum2["slicePdf"] = "SLICE_PDF";
|
|
14852
|
-
NodeEnum2["smtpSendEmail"] = "SMTP_SEND_EMAIL";
|
|
14853
|
-
NodeEnum2["snowflakeRunQuery"] = "SNOWFLAKE_RUN_QUERY";
|
|
14854
|
-
NodeEnum2["splitPdf"] = "SPLIT_PDF";
|
|
14855
|
-
NodeEnum2["splunkAction"] = "SPLUNK_ACTION";
|
|
14856
|
-
NodeEnum2["splunkGetData"] = "SPLUNK_GET_DATA";
|
|
14857
|
-
NodeEnum2["splunkHecSendEvent"] = "SPLUNK_HEC_SEND_EVENT";
|
|
14858
|
-
NodeEnum2["splunkHecSendRawEvent"] = "SPLUNK_HEC_SEND_RAW_EVENT";
|
|
14859
|
-
NodeEnum2["splunkOnCallCreateIncident"] = "SPLUNK_ON_CALL_CREATE_INCIDENT";
|
|
14860
|
-
NodeEnum2["splunkOnCallGetOnCallUsers"] = "SPLUNK_ON_CALL_GET_ON_CALL_USERS";
|
|
14861
|
-
NodeEnum2["splunkOnCallAction"] = "SPLUNK_ON_CALL_ACTION";
|
|
14862
|
-
NodeEnum2["splunkSendData"] = "SPLUNK_SEND_DATA";
|
|
14863
|
-
NodeEnum2["taniumAction"] = "TANIUM_ACTION";
|
|
14864
|
-
NodeEnum2["tenableAction"] = "TENABLE_ACTION";
|
|
14865
|
-
NodeEnum2["tenableSecurityCenterAction"] = "TENABLE_SECURITY_CENTER_ACTION";
|
|
14866
|
-
NodeEnum2["tenableSecurityCenterDownloadScanResult"] = "TENABLE_SECURITY_CENTER_DOWNLOAD_SCAN_RESULT";
|
|
14867
|
-
NodeEnum2["tiffToPng"] = "TIFF_TO_PNG";
|
|
14868
|
-
NodeEnum2["timer"] = "TIMER";
|
|
14869
|
-
NodeEnum2["transform"] = "TRANSFORM";
|
|
14870
|
-
NodeEnum2["twilioMakeOutboundCall"] = "TWILIO_MAKE_OUTBOUND_CALL";
|
|
14871
|
-
NodeEnum2["twilioSendSms"] = "TWILIO_SEND_SMS";
|
|
14872
|
-
NodeEnum2["twilioSendWhatsApp"] = "TWILIO_SEND_WHATS_APP";
|
|
14873
|
-
NodeEnum2["typescriptCode"] = "TYPESCRIPT_CODE";
|
|
14874
|
-
NodeEnum2["wait"] = "WAIT";
|
|
14875
|
-
NodeEnum2["webhook"] = "WEBHOOK";
|
|
14876
|
-
NodeEnum2["wizAction"] = "WIZ_ACTION";
|
|
14877
|
-
NodeEnum2["xeroGetInvoices"] = "XERO_GET_INVOICES";
|
|
14878
|
-
NodeEnum2["zohoApiRequest"] = "ZOHO_API_REQUEST";
|
|
14879
|
-
return NodeEnum2;
|
|
14880
|
-
})(NodeEnum || {});
|
|
14881
|
-
var conditionalNodeTypeIds = [
|
|
14882
|
-
"IF" /* if */,
|
|
14883
|
-
"IF_ELSE" /* ifElse */,
|
|
14884
|
-
"LOAD_ITEM" /* loadItem */,
|
|
14885
|
-
"QUERY_FOR_ITEMS" /* queryForItems */
|
|
14886
|
-
];
|
|
14887
|
-
var isConditionalNodeTypeId = (nodeTypeId) => conditionalNodeTypeIds.includes(nodeTypeId);
|
|
14888
|
-
var loopNodeTypeIds = ["LOOP_ARRAY" /* loopArray */, "LOOP_RANGE" /* loopRange */];
|
|
14889
|
-
var isLoopNodeTypeId = (nodeTypeId) => loopNodeTypeIds.includes(nodeTypeId);
|
|
14890
|
-
var nodesRequiringExecutionContext = [
|
|
14891
|
-
"IF" /* if */,
|
|
14892
|
-
"IF_ELSE" /* ifElse */,
|
|
14893
|
-
"MAP_OVER_TABLE_ROWS" /* mapOverTableRows */,
|
|
14894
|
-
"MONGO_DB_ACTION" /* mongoDbAction */,
|
|
14895
|
-
"TRANSFORM" /* transform */,
|
|
14896
|
-
"TYPESCRIPT_CODE" /* typescriptCode */
|
|
14897
|
-
];
|
|
14898
|
-
var doesNodeRequireExecutionContext = (nodeTypeId) => nodesRequiringExecutionContext.includes(
|
|
14899
|
-
nodeTypeId
|
|
14900
|
-
);
|
|
14901
|
-
var localFileNodeTypeIds = [
|
|
14902
|
-
"POWERSHELL_CODE" /* powershellCode */,
|
|
14903
|
-
"READ_FILES_FROM_LOCAL_FOLDER" /* readFilesFromLocalFolder */,
|
|
14904
|
-
"READ_FOLDERS_FROM_LOCAL_FOLDER" /* readFoldersFromLocalFolder */,
|
|
14905
|
-
"RENAME_LOCAL_FILE" /* renameLocalFile */,
|
|
14906
|
-
"SAVE_AS_LOCAL_FILE" /* saveAsLocalFile */,
|
|
14907
|
-
"SHELL_SCRIPT" /* shellScript */
|
|
14908
|
-
];
|
|
14909
|
-
var isLocalFileNodeTypeId = (nodeTypeId) => localFileNodeTypeIds.includes(
|
|
14910
|
-
nodeTypeId
|
|
14911
|
-
);
|
|
14912
|
-
var DataType = /* @__PURE__ */ ((DataType2) => {
|
|
14913
|
-
DataType2["Item"] = "item";
|
|
14914
|
-
DataType2["MultipleItems"] = "multipleItems";
|
|
14915
|
-
DataType2["Boolean"] = "boolean";
|
|
14916
|
-
DataType2["String"] = "string";
|
|
14917
|
-
DataType2["StringList"] = "stringList";
|
|
14918
|
-
DataType2["Number"] = "number";
|
|
14919
|
-
DataType2["Timestamp"] = "timestamp";
|
|
14920
|
-
DataType2["MultipleLineText"] = "multipleLineText";
|
|
14921
|
-
DataType2["MultipleLineRichText"] = "multipleLineRichText";
|
|
14922
|
-
DataType2["PerygeeConditions"] = "perygeeConditions";
|
|
14923
|
-
DataType2["PerygeeFilter"] = "perygeeFilter";
|
|
14924
|
-
DataType2["MultiplePerygeeAttributes"] = "multiplePerygeeAttributes";
|
|
14925
|
-
DataType2["MultiplePerygeeLinks"] = "multiplePerygeeLinks";
|
|
14926
|
-
DataType2["PerygeeAttributeValue"] = "perygeeAttributeValue";
|
|
14927
|
-
DataType2["PerygeeItem"] = "perygeeItem";
|
|
14928
|
-
DataType2["PerygeeItemType"] = "perygeeItemType";
|
|
14929
|
-
DataType2["PerygeeAttribute"] = "perygeeAttribute";
|
|
14930
|
-
DataType2["PerygeeAttributeChanges"] = "perygeeAttributeChanges";
|
|
14931
|
-
DataType2["PerygeeLinkType"] = "perygeeLinkType";
|
|
14932
|
-
DataType2["PerygeeNetworkObservation"] = "perygeeNetworkObservation";
|
|
14933
|
-
DataType2["InitializePerygeeAttributes"] = "initializePerygeeAttributes";
|
|
14934
|
-
DataType2["InitializePerygeeItemTypes"] = "initializePerygeeItemTypes";
|
|
14935
|
-
DataType2["MacAddressComparator"] = "macAddressComparator";
|
|
14936
|
-
DataType2["PerygeeImportConfig"] = "perygeeImportConfig";
|
|
14937
|
-
DataType2["StructuredData"] = "structuredData";
|
|
14938
|
-
DataType2["Hub"] = "hub";
|
|
14939
|
-
DataType2["IpAddress"] = "ipAddress";
|
|
14940
|
-
DataType2["RequestType"] = "requestType";
|
|
14941
|
-
DataType2["Email"] = "email";
|
|
14942
|
-
DataType2["MacAddress"] = "macAddress";
|
|
14943
|
-
DataType2["DataSource"] = "dataSource";
|
|
14944
|
-
DataType2["FileType"] = "fileType";
|
|
14945
|
-
DataType2["Transformation"] = "transformation";
|
|
14946
|
-
DataType2["Json"] = "json";
|
|
14947
|
-
return DataType2;
|
|
14948
|
-
})(DataType || {});
|
|
14949
|
-
var MacAddressComparatorOptions = /* @__PURE__ */ ((MacAddressComparatorOptions2) => {
|
|
14950
|
-
MacAddressComparatorOptions2["isEqual"] = "isEqual";
|
|
14951
|
-
MacAddressComparatorOptions2["isPrefixEqual"] = "isPrefixEqual";
|
|
14952
|
-
MacAddressComparatorOptions2["isResolvedPrefixEqual"] = "isResolvedPrefixEqual";
|
|
14953
|
-
return MacAddressComparatorOptions2;
|
|
14954
|
-
})(MacAddressComparatorOptions || {});
|
|
14955
|
-
var automationFileTypesSchema = external_exports.enum([
|
|
14956
|
-
"txt",
|
|
14957
|
-
"csv",
|
|
14958
|
-
"edi",
|
|
14959
|
-
"xml",
|
|
14960
|
-
"json"
|
|
14961
|
-
]);
|
|
14962
|
-
var transformationSchema = external_exports.object({
|
|
14963
|
-
type: external_exports.enum(["raw", "json", "xml"]),
|
|
14964
|
-
value: external_exports.string(),
|
|
14965
|
-
testInput: external_exports.string().nullable()
|
|
14966
|
-
});
|
|
14967
|
-
var monthsSchema = external_exports.enum([
|
|
14968
|
-
"January",
|
|
14969
|
-
"February",
|
|
14970
|
-
"March",
|
|
14971
|
-
"April",
|
|
14972
|
-
"May",
|
|
14973
|
-
"June",
|
|
14974
|
-
"July",
|
|
14975
|
-
"August",
|
|
14976
|
-
"September",
|
|
14977
|
-
"October",
|
|
14978
|
-
"November",
|
|
14979
|
-
"December"
|
|
14980
|
-
]);
|
|
14981
|
-
var weekdaySchema = external_exports.enum([
|
|
14982
|
-
"Sunday",
|
|
14983
|
-
"Monday",
|
|
14984
|
-
"Tuesday",
|
|
14985
|
-
"Wednesday",
|
|
14986
|
-
"Thursday",
|
|
14987
|
-
"Friday",
|
|
14988
|
-
"Saturday"
|
|
14989
|
-
]);
|
|
14990
|
-
var httpMethodSchema = external_exports.enum([
|
|
14991
|
-
"GET",
|
|
14992
|
-
"HEAD",
|
|
14993
|
-
"POST",
|
|
14994
|
-
"PUT",
|
|
14995
|
-
"PATCH",
|
|
14996
|
-
"DELETE"
|
|
14997
|
-
]);
|
|
14998
|
-
var integrationHttpActionEditableSchema = external_exports.object({
|
|
14999
|
-
actionRunnerId: external_exports.coerce.string().default("").describe("The ID of the action runner to use"),
|
|
15000
|
-
integrationId: external_exports.coerce.string().default("").describe("The integration to use for authentication"),
|
|
15001
|
-
method: external_exports.string().default("GET").describe("The HTTP method to use"),
|
|
15002
|
-
path: external_exports.string().default("").describe("The API endpoint path"),
|
|
15003
|
-
params: external_exports.string().default("{}").describe("The query parameters to send in the request"),
|
|
15004
|
-
body: external_exports.string().default("{}").describe("The body of the request"),
|
|
15005
|
-
headers: external_exports.string().default("{}").describe("The headers to send with the request"),
|
|
15006
|
-
saveOutputToFile: external_exports.coerce.boolean().default(false).describe(
|
|
15007
|
-
"If true, the response body will be saved to a file and the 'body' output will be empty"
|
|
15008
|
-
)
|
|
15009
|
-
}).prefault({});
|
|
15010
|
-
var integrationHttpActionValidSchema = external_exports.object({
|
|
15011
|
-
actionRunnerId: external_exports.string().min(1),
|
|
15012
|
-
integrationId: external_exports.string().min(1),
|
|
15013
|
-
method: external_exports.string().min(1),
|
|
15014
|
-
path: external_exports.string(),
|
|
15015
|
-
params: external_exports.string(),
|
|
15016
|
-
body: external_exports.string(),
|
|
15017
|
-
headers: external_exports.string(),
|
|
15018
|
-
saveOutputToFile: external_exports.boolean()
|
|
15019
|
-
});
|
|
15020
|
-
var jsonStringSchema = (fieldName) => external_exports.coerce.string().trim().default("{}").refine(
|
|
15021
|
-
(value) => resultOfSync(() => {
|
|
15022
|
-
return JSON.parse(value);
|
|
15023
|
-
})[0],
|
|
15024
|
-
{ message: `${fieldName} was not valid JSON` }
|
|
15025
|
-
);
|
|
15026
|
-
var jsonStringRecordSchema = (fieldName) => jsonStringSchema(fieldName).refine(
|
|
15027
|
-
(v) => external_exports.record(external_exports.string(), external_exports.string()).safeParse(JSON.parse(v)).success,
|
|
15028
|
-
{ message: `${fieldName} should be a JSON object of string values` }
|
|
15029
|
-
);
|
|
15030
|
-
var integrationHttpActionRunnableSchema = external_exports.object({
|
|
15031
|
-
actionRunnerId: external_exports.coerce.string().default(""),
|
|
15032
|
-
integrationId: external_exports.coerce.string(),
|
|
15033
|
-
method: httpMethodSchema,
|
|
15034
|
-
path: external_exports.coerce.string().trim().default("").transform((value) => value.replace(/^\//, "")),
|
|
15035
|
-
params: jsonStringRecordSchema("Params"),
|
|
15036
|
-
body: jsonStringSchema("Body"),
|
|
15037
|
-
headers: jsonStringSchema("Headers"),
|
|
15038
|
-
saveOutputToFile: external_exports.coerce.boolean().default(false)
|
|
15039
|
-
});
|
|
15040
|
-
var integrationHttpActionOutputs = {
|
|
15041
|
-
status: {
|
|
15042
|
-
dataType: "number" /* Number */,
|
|
15043
|
-
name: "Status",
|
|
15044
|
-
description: "The HTTP status code of the response. This value will be 0 if the request failed."
|
|
15045
|
-
},
|
|
15046
|
-
statusText: {
|
|
15047
|
-
dataType: "string" /* String */,
|
|
15048
|
-
name: "Status text",
|
|
15049
|
-
description: "The HTTP status text of the response. This value will be empty if the request failed."
|
|
15050
|
-
},
|
|
15051
|
-
ok: {
|
|
15052
|
-
dataType: "boolean" /* Boolean */,
|
|
15053
|
-
name: "Status OK",
|
|
15054
|
-
description: ""
|
|
15055
|
-
},
|
|
15056
|
-
body: {
|
|
15057
|
-
dataType: "json" /* Json */,
|
|
15058
|
-
name: "Body",
|
|
15059
|
-
description: "Body of the response. This value will be empty if the output was saved to a file."
|
|
15060
|
-
},
|
|
15061
|
-
headers: {
|
|
15062
|
-
dataType: "string" /* String */,
|
|
15063
|
-
name: "Headers",
|
|
15064
|
-
description: "Headers of the response."
|
|
15065
|
-
},
|
|
15066
|
-
fileUrl: {
|
|
15067
|
-
dataType: "string" /* String */,
|
|
15068
|
-
name: "File URL",
|
|
15069
|
-
description: "The URL of the file with the response body"
|
|
15070
|
-
}
|
|
15071
|
-
};
|
|
15072
|
-
var timeZonesSchema = external_exports.enum(
|
|
15073
|
-
// Zod demands there be at least one value in the enum. Coincidentally, "UTC"
|
|
15074
|
-
// _MUST_ be recognized as per the spec:
|
|
15075
|
-
// https://tc39.es/ecma402/#sec-time-zone-names.
|
|
15076
|
-
["UTC", ...Intl.supportedValuesOf("timeZone")]
|
|
15077
|
-
);
|
|
15078
|
-
var timeZoneOffset = (timeZone) => {
|
|
15079
|
-
const now = Date.now();
|
|
15080
|
-
const utc = new Date(now).toLocaleString("en", { timeZone: "UTC" });
|
|
15081
|
-
const tz = new Date(now).toLocaleString("en", { timeZone });
|
|
15082
|
-
const diff = Date.parse(tz) - Date.parse(utc);
|
|
15083
|
-
const sign = diff < 0 ? "-" : "+";
|
|
15084
|
-
const hours = String(Math.floor(Math.abs(diff) / 1e3 / 60 / 60)).padStart(
|
|
15085
|
-
2,
|
|
15086
|
-
"0"
|
|
15087
|
-
);
|
|
15088
|
-
const minutes = String(Math.abs(diff) / 1e3 / 60 % 60).padStart(2, "0");
|
|
15089
|
-
return `${sign}${hours}:${minutes}`;
|
|
15090
|
-
};
|
|
15091
|
-
var automationNodeSchema = external_exports.lazy(
|
|
15092
|
-
() => external_exports.object({
|
|
15093
|
-
id: external_exports.string(),
|
|
15094
|
-
label: external_exports.string(),
|
|
15095
|
-
description: external_exports.string().optional(),
|
|
15096
|
-
variableId: external_exports.string(),
|
|
15097
|
-
nodeTypeId: external_exports.enum(NodeEnum),
|
|
15098
|
-
eventTypeId: external_exports.string().optional(),
|
|
15099
|
-
inputs: external_exports.record(external_exports.string(), external_exports.unknown()),
|
|
15100
|
-
parents: external_exports.array(
|
|
15101
|
-
external_exports.object({
|
|
15102
|
-
id: external_exports.string(),
|
|
15103
|
-
handle: external_exports.union([
|
|
15104
|
-
external_exports.literal("success"),
|
|
15105
|
-
external_exports.literal("failure"),
|
|
15106
|
-
external_exports.literal("loop")
|
|
15107
|
-
])
|
|
15108
|
-
})
|
|
15109
|
-
).optional(),
|
|
15110
|
-
position: external_exports.object({ x: external_exports.number(), y: external_exports.number() }).optional(),
|
|
15111
|
-
elements: external_exports.array(automationNodeSchema).optional()
|
|
15112
|
-
})
|
|
15113
|
-
);
|
|
15114
|
-
var automationNodesSchema = external_exports.array(automationNodeSchema);
|
|
15115
|
-
var iterationStateSchema = external_exports.object({
|
|
15116
|
-
iteration: external_exports.number().int(),
|
|
15117
|
-
iteratee: external_exports.any(),
|
|
15118
|
-
state: external_exports.lazy(() => automationStateSchema)
|
|
15119
|
-
});
|
|
15120
|
-
var automationNodeStateOutcomeSchema = external_exports.enum(["success", "failure", "skipped", "errored", "loop"]).optional();
|
|
15121
|
-
var automationNodeStateSchema = external_exports.lazy(
|
|
15122
|
-
() => external_exports.object({
|
|
15123
|
-
branchIndex: external_exports.number().int().optional(),
|
|
15124
|
-
startTime: external_exports.union([external_exports.string(), external_exports.date()]).pipe(external_exports.coerce.date()).optional(),
|
|
15125
|
-
endTime: external_exports.union([external_exports.string(), external_exports.date()]).pipe(external_exports.coerce.date()).optional(),
|
|
15126
|
-
outcome: automationNodeStateOutcomeSchema,
|
|
15127
|
-
inputs: external_exports.record(external_exports.string(), external_exports.any()).optional(),
|
|
15128
|
-
// Future: this needs to be made more strict, previously Record<string, Data>
|
|
15129
|
-
outputs: external_exports.record(external_exports.string(), external_exports.any()).optional(),
|
|
15130
|
-
// Future: this needs to be made more strict, previously Record<string, Data>
|
|
15131
|
-
iteration: external_exports.number().int().optional(),
|
|
15132
|
-
iterations: external_exports.array(iterationStateSchema).optional(),
|
|
15133
|
-
retryCount: external_exports.number().int().optional()
|
|
15134
|
-
})
|
|
15135
|
-
);
|
|
15136
|
-
var automationStateSchema = external_exports.record(
|
|
15137
|
-
external_exports.string(),
|
|
15138
|
-
automationNodeStateSchema
|
|
15139
|
-
);
|
|
15140
|
-
var automationNodePathSchema = external_exports.tuple([
|
|
15141
|
-
external_exports.array(
|
|
15142
|
-
external_exports.tuple([
|
|
15143
|
-
external_exports.string().describe("The variableId of the loop node"),
|
|
15144
|
-
external_exports.number().min(0).describe("The iteration number of the loop node")
|
|
15145
|
-
])
|
|
15146
|
-
).describe(
|
|
15147
|
-
"An array of loop variableIds and iterations, ordered from outermost to innermost"
|
|
15148
|
-
),
|
|
15149
|
-
external_exports.string().describe(
|
|
15150
|
-
"The variableId of the terminal (innermost) node in the automation"
|
|
15151
|
-
)
|
|
15152
|
-
]);
|
|
15153
|
-
var emptyAutomationNodePath = [[], ""];
|
|
15154
|
-
var addAutomationNodePathLoop = (currentPath, iteration) => {
|
|
15155
|
-
const result = [
|
|
15156
|
-
[...currentPath[0], [currentPath[1], iteration]],
|
|
15157
|
-
""
|
|
15158
|
-
];
|
|
15159
|
-
return result;
|
|
15160
|
-
};
|
|
15161
|
-
var setAutomationNodePathTerminal = (currentPath, node) => {
|
|
15162
|
-
const result = [[...currentPath[0]], node];
|
|
15163
|
-
return result;
|
|
15164
|
-
};
|
|
15165
|
-
var runStepPayloadSchema = external_exports.object({
|
|
15166
|
-
runId: external_exports.string(),
|
|
15167
|
-
automationId: external_exports.string(),
|
|
15168
|
-
node: automationNodeSchema,
|
|
15169
|
-
executionContext: external_exports.record(external_exports.string(), external_exports.unknown())
|
|
15170
|
-
});
|
|
15171
|
-
var actionRunnerActionParamsSchema = external_exports.object({
|
|
15172
|
-
id: external_exports.string().optional(),
|
|
15173
|
-
action: external_exports.string().optional(),
|
|
15174
|
-
inputs: external_exports.record(external_exports.string(), external_exports.unknown()).optional(),
|
|
15175
|
-
executionContext: external_exports.record(external_exports.string(), external_exports.unknown()).optional(),
|
|
15176
|
-
state: automationStateSchema.optional()
|
|
15177
|
-
});
|
|
15178
14519
|
export {
|
|
15179
|
-
|
|
15180
|
-
MacAddressComparatorOptions,
|
|
15181
|
-
NodeEnum,
|
|
15182
|
-
ServiceEnum,
|
|
15183
|
-
actionRunnerActionParamsSchema,
|
|
15184
|
-
addAutomationNodePathLoop,
|
|
15185
|
-
automationFileTypesSchema,
|
|
15186
|
-
automationNodePathSchema,
|
|
15187
|
-
automationNodeSchema,
|
|
15188
|
-
automationNodeStateSchema,
|
|
15189
|
-
automationNodesSchema,
|
|
15190
|
-
automationStateSchema,
|
|
15191
|
-
conditionalNodeTypeIds,
|
|
15192
|
-
doesNodeRequireExecutionContext,
|
|
15193
|
-
emptyAutomationNodePath,
|
|
15194
|
-
httpMethodSchema,
|
|
15195
|
-
integrationHttpActionEditableSchema,
|
|
15196
|
-
integrationHttpActionOutputs,
|
|
15197
|
-
integrationHttpActionRunnableSchema,
|
|
15198
|
-
integrationHttpActionValidSchema,
|
|
15199
|
-
isConditionalNodeTypeId,
|
|
15200
|
-
isLocalFileNodeTypeId,
|
|
15201
|
-
isLoopNodeTypeId,
|
|
15202
|
-
jsonStringRecordSchema,
|
|
15203
|
-
jsonStringSchema,
|
|
15204
|
-
monthsSchema,
|
|
15205
|
-
runStepPayloadSchema,
|
|
15206
|
-
setAutomationNodePathTerminal,
|
|
15207
|
-
timeZoneOffset,
|
|
15208
|
-
timeZonesSchema,
|
|
15209
|
-
transformationSchema,
|
|
15210
|
-
weekdaySchema
|
|
14520
|
+
external_exports
|
|
15211
14521
|
};
|