@joai/core 2.2.0 → 2.3.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/dist/index.d.mts +36 -34
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3592,65 +3592,67 @@ type RampProviderInfo = {
|
|
|
3592
3592
|
};
|
|
3593
3593
|
//#endregion
|
|
3594
3594
|
//#region src/warp-webhooks/types.d.ts
|
|
3595
|
-
type
|
|
3595
|
+
type HookTriggerCondition = {
|
|
3596
3596
|
path: string;
|
|
3597
3597
|
operator: 'exists' | 'equals' | 'contains' | 'not_contains';
|
|
3598
3598
|
value?: unknown;
|
|
3599
3599
|
};
|
|
3600
|
-
type
|
|
3600
|
+
type HookTriggerInput = string | {
|
|
3601
3601
|
source: 'payload';
|
|
3602
3602
|
path: string;
|
|
3603
3603
|
} | {
|
|
3604
3604
|
source: 'literal';
|
|
3605
3605
|
value: unknown;
|
|
3606
3606
|
};
|
|
3607
|
-
type
|
|
3607
|
+
type HookTrigger = {
|
|
3608
3608
|
event?: string;
|
|
3609
3609
|
contract?: string;
|
|
3610
|
-
when?:
|
|
3611
|
-
inputs?: Record<string,
|
|
3610
|
+
when?: HookTriggerCondition[];
|
|
3611
|
+
inputs?: Record<string, HookTriggerInput>;
|
|
3612
3612
|
};
|
|
3613
|
-
type
|
|
3614
|
-
|
|
3613
|
+
type WebHookTriggerEvent = 'agent.action' | 'agent.message' | 'agent.activity' | 'user.message' | 'external.message';
|
|
3614
|
+
type Hook = {
|
|
3615
|
+
id: string;
|
|
3615
3616
|
source: string;
|
|
3616
3617
|
event?: string | null;
|
|
3617
3618
|
contract?: string | null;
|
|
3618
|
-
|
|
3619
|
+
trigger?: HookTrigger | null;
|
|
3620
|
+
triggerEvent?: string | null;
|
|
3621
|
+
next: string | null;
|
|
3622
|
+
name?: string | null;
|
|
3623
|
+
url?: string | null;
|
|
3624
|
+
headers?: Record<string, string> | null;
|
|
3625
|
+
verifySsl?: boolean;
|
|
3626
|
+
timeout?: number;
|
|
3627
|
+
maxRetries?: number;
|
|
3628
|
+
lastTriggeredAt?: string | null;
|
|
3629
|
+
description?: string | null;
|
|
3619
3630
|
active: boolean;
|
|
3620
3631
|
managed: boolean;
|
|
3621
|
-
trigger?: AgentWebhookTrigger | null;
|
|
3622
3632
|
warpIdentifier: string | null;
|
|
3623
3633
|
createdAt: string;
|
|
3624
3634
|
};
|
|
3625
|
-
type
|
|
3635
|
+
type CreateInternalHookPayload = {
|
|
3636
|
+
source: 'internal';
|
|
3626
3637
|
warpIdentifier: string;
|
|
3627
|
-
|
|
3628
|
-
trigger?: AgentWebhookTrigger;
|
|
3638
|
+
trigger?: HookTrigger;
|
|
3629
3639
|
};
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
type WebhookTriggerEvent = 'agent.action' | 'agent.message' | 'user.message';
|
|
3633
|
-
type Webhook = {
|
|
3634
|
-
id: string;
|
|
3640
|
+
type CreateWebHookPayload = {
|
|
3641
|
+
source: 'web';
|
|
3635
3642
|
name: string;
|
|
3636
3643
|
url: string;
|
|
3637
|
-
trigger:
|
|
3638
|
-
headers
|
|
3639
|
-
description
|
|
3640
|
-
active
|
|
3641
|
-
verifySsl
|
|
3642
|
-
timeout
|
|
3643
|
-
maxRetries
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
webhookableType: string;
|
|
3648
|
-
webhookable?: {
|
|
3649
|
-
type: string;
|
|
3650
|
-
uuid: string;
|
|
3651
|
-
name: string;
|
|
3652
|
-
};
|
|
3644
|
+
trigger: WebHookTriggerEvent;
|
|
3645
|
+
headers?: Record<string, string>;
|
|
3646
|
+
description?: string;
|
|
3647
|
+
active?: boolean;
|
|
3648
|
+
verifySsl?: boolean;
|
|
3649
|
+
timeout?: number;
|
|
3650
|
+
maxRetries?: number;
|
|
3651
|
+
};
|
|
3652
|
+
type CreateWarpLinkedHookPayload = {
|
|
3653
|
+
warpIdentifier: string;
|
|
3653
3654
|
};
|
|
3655
|
+
type CreateHookPayload = CreateInternalHookPayload | CreateWebHookPayload | CreateWarpLinkedHookPayload;
|
|
3654
3656
|
//#endregion
|
|
3655
3657
|
//#region src/workspace/types.d.ts
|
|
3656
3658
|
type WorkspaceInfo = {
|
|
@@ -3740,4 +3742,4 @@ type CliSessionStatus = {
|
|
|
3740
3742
|
meta: CliSessionMeta | null;
|
|
3741
3743
|
};
|
|
3742
3744
|
//#endregion
|
|
3743
|
-
export { Achievement,
|
|
3745
|
+
export { Achievement, Affiliate, AffiliateStatus, AffiliateTier, AffiliateTierName, Agent, AgentActionHistoryEntry, AgentCharacter, AgentDelegatable, AgentEngine, AgentExecuteHandler, AgentExecuteOptions, AgentGender, AgentMessageMeta, AgentMessageOptions, AgentPrivate, AgentSettings, AgentSimple, AgentWalletMode, AggregatedRoute, AiCostEntry, AiCostsResponse, AiCostsSummary, Alert, ApiToken, AppEnv, AppFile, AppFileType, AppIngestion, AppSubscription, AppointmentAvailability, AppointmentAvailabilityService, AppointmentAvailabilitySlot, AppointmentBooking, AppointmentBookingContext, AppointmentPolicy, AppointmentPolicySync, AppointmentRequest, AppointmentSlot, AuthUser, BillingAddress, Blueprint, BlueprintOnboardingStep, BlueprintRedirect, BlueprintSettings, BlueprintShortcut, BlueprintTask, BlueprintTeam, BoardSummaryViewable, BookmarkEntry, BrandBackend, BrandIntegration, BrandIntegrationAction, BrandIntegrationProvider, BrandSearchHit, BrandSiteConfig, BrandSourceConfig, Budget, ByokProviderConfig, ByokProviderName, ByokProviders, CalendarProvider, CalendarStatus, Campaign, CampaignApproval, CampaignCategory, CampaignChannel, CampaignCreatePayload, CampaignStats, CampaignStatus, CampaignUpdatePayload, Card, Cart, CartItem, Challenge, Challenges, ChangelogEntry, Character, ChatClientAction, ChatClientThought, ChatStreamData, ChatStreamEventType, CliSessionMeta, CliSessionStatus, CommissionAgreement, Configuration, Contact, ContactActivity, ContactActivityAuthor, ContactActivityType, ContactConsent, ContactConsentStatus, ContactCreatePayload, ContactFormData, ContactHealth, ContactViewable, Contract, ContractCategoryDisplayNames, ContractCategoryName, ContractCodeMetadata, ContractEntity, ContractOnNetwork, ContractVersion, ContractsAddressConfig, CortexExecuteOptions, Coupon, CouponCondition, CouponRestrictedItem, CouponRestrictedItemType, CreateHookPayload, CreateInternalHookPayload, CreateWarpLinkedHookPayload, CreateWebHookPayload, DefaultCodeMetadata, DemoFlow, DemoMessage, Desk, DeskItem, DeskItemRole, Document, EarnResponse, Earning, Element, ElementSpec, ElementType, ElementVariation, EmailProvider, EmbedStatus, EncryptionStatus, Entity, EntityDirectExecuteRequest, EntityProposable, EntitySignable, EntityTemplate, Experience, FileInfo, FileMetadata, Flow, FlowCategory, FlowInputMapping, FlowStatus, FlowStep, GamificationData, GamificationEventType, Goal, GoalCreatePayload, GoalPriority, GoalProgressViewable, GoalStatus, HintOptions, HintPosition, Hook, HookTrigger, HookTriggerCondition, HookTriggerInput, HttpService, IAppResponse, IHttpService, IRequestOptions, IngestionSourceType, IngestionStatus, Inquiry, InquiryStatus, InquiryType, Integration, IntegrationDetails, IntegrationMeta, IntegrationType, Intent, Item, ItemCreatePayload, ItemExecutionStatus, ItemPriority, ItemStatus, ItemUpdatePayload, ItemViewable, JoaiUrls, JsonValue, Kyc, KycStatus, Link, LinkCreatePayload, LinkScanHistory, LinkStats, LinkUpdatePayload, LinkVariation, LinkVariationBatchCreatePayload, LinkVariationCreatePayload, LocalAgentWallet, LoyaltyAccount, LoyaltyMember, LoyaltyNextTier, LoyaltyProgram, LoyaltyPromotion, LoyaltyReward, LoyaltyStatus, LoyaltyTier, LoyaltyTierInfo, LoyaltyTransaction, McpToolCall, McpToolCallBroadcast, McpToolCallStatus, Media, MediaAspectRatio, MediaAttributes, MediaItems, MediaLibraryAttributes, MediaMime, Meeting, MeetingConferenceProvider, MeetingFeature, MeetingJoinInfo, MeetingJoinTeam, MeetingParticipant, MeetingSessionState, MeetingSpeakerAssignment, MeetingStatus, MeetingSummary, MeetingTranscriptEntry, MeetingUsage, Memory, Message, MessageId, MessageRole, Milestone, MilestoneType, Mission, MissionBudget, MissionCreatePayload, MissionPlan, MissionPriority, MissionSchedule, MissionStatus, MissionViewable, MollieTerminalPaymentResult, MultimodalContent, MultimodalFile, Notification, NotificationAction, NotificationAgent, NotificationChannel, NotificationSetting, OG_IMAGE_CONFIG, OG_IMAGE_HEIGHT, OG_IMAGE_WIDTH, OfficeAgent, OfficeEntity, OfficeEntityKind, OfficeLiveOverrides, OfficeMember, OfficeSnapshot, OfficeStatus, OfficeStatusFilter, OfficeTypeFilter, OgImageColors, OgImageParams, OgImageType, Order, OrderConfigurationItem, OrderContext, OrderItem, OrderSource, OrderStatus, OrderType, PaginatedResponse, Pass, PaymentAccount, PaymentAccountOnboarding, PaymentProvider, PayoutEntry, PeriodTypeLabels, PeriodTypeOptions, PermissionConfigType, PersonaQuestionable, Plan, PlanBenefit, PlanExtra, PlanFeature, PlanInterval, PolicyMethod, PolicySetting, PricingModel, Product, ProductDiscount, ProductMeta, ProductPieces, ProductRating, ProductRelation, ProductRelationType, ProductVariation, ProductVariationMeta, ProductVariationType, ProgramSettings, Project, ProjectAspectRatio, ProjectAssembly, ProjectCaptionStyle, ProjectClipCandidate, ProjectClips, ProjectExport, ProjectExportAsset, ProjectExportResponse, ProjectImages, ProjectInputAssistIntent, ProjectInputAssistResponse, ProjectMutation, ProjectOutputPreset, ProjectOutputType, ProjectPlan, ProjectRender, ProjectRenderMode, ProjectSelectedClip, ProjectShot, ProjectSoundtrack, ProjectSourceMedia, ProjectStatus, ProjectStudioHistoryEntry, ProjectStudioQuestion, ProjectStudioResponse, ProjectStudioStage, ProjectStudioState, ProjectStudioSummary, ProjectStyleDirection, ProjectTranscript, ProjectTranscriptSegment, Proposal, ProposalAction, ProposalActionPayment, ProposalActionPaymentSerializable, ProposalActionSerializable, ProposalPollOption, ProposalStatus, PurchaseOptions, PurchaseResult, RampProvider, RampProviderInfo, Reactions, RecentExperience, RedeemResponse, Reminder, Room, RoomId, RoomKind, ScInfo, SchedulePreset, SecretAuthorizable, SecretSettable, Segment, SegmentCondition, SegmentConditionType, SegmentCountPayload, SegmentCountResult, SegmentCreatePayload, SegmentGroup, SendableActivityUpdate, SendableAgentAction, SendableAgentMessage, SendableAgentThought, SendableMedia, SendableUserMessage, Service, Shortcut, Site, SiteAgent, SiteBrand, SiteRoute, SiteTeam, Skill, SkillMediaBindingRole, SkillMediaBindingRoleValue, SkillScope, SkillScopeValue, SkillType, SkillTypeValue, SocialAuthProvider, SocialBot, SocialPlatform, StampResponse, Store, StoreAgent, StoreCheckoutItem, StoreCreatePayload, StoreData, StoreEntityType, StoreEntry, StoreEntryPayload, StoreEntryResult, StoreInfo, StoreItem, StoreListing, StorePriceTier, StorePricing, StorePurchasable, StorePurchaseResult, StoreToggleResult, StoreVisibility, StoreWithEntries, Streak, SubscriptionInterval, SubscriptionPlan, SubscriptionStatus, Swarm, Tag, TagType, Task, Team, TeamBrand, TeamCategory, TeamEarning, TeamEarningsBalance, TeamFeature, TeamFeatureUsage, TeamMember, TeamMeta, TeamPayout, TeamPayoutAddress, TeamPlace, TeamPrivate, TeamSettings, TeamUsage, TerminalConnectionToken, TerminalPaymentIntent, Tier, TierFeature, TierName, TranscriptEntry, TranscriptionCorrection, TranscriptionResponse, TranslatableValue, Update, UpdateCreatePayload, UpdateRelation, UpdateStats, UpdateStatus, UpdateType, UpdateUpdatePayload, Upgrade, UpgradeSourceType, UpgradeStatus, User, UserInterest, UserMode, UserPrivate, UserRole, UserSettings, UserSocialAccount, UserStats, VolumePrice, Wallet, WalletList, WarpApprovable, WarpBackend, WarpBackendStatus, WarpBatchItem, WarpBatchable, WarpCloudExecutable, WarpCreateable, WarpExecutable, WarpExecutionBackend, WarpExtras, WarpExtrasFaq, WarpInputable, WarpScreenshotVariant, WarpSearchHit, WarpSelectable, WarpSelectableDetails, WarpSuggestion, WarpTestable, WarpViewable, WebHookTriggerEvent, WorkspaceCloudFile, WorkspaceContext, WorkspaceInfo, WorkspaceSettings, XIntegrationStatus, abbreviateNumber, getAgentsBaseUrl, getApiBaseUrl, getAppBaseUrl, getAssetAppLogoUrl, getAssetChainLogoUrl, getAssetPartnerLogoUrl, getAssetTokenLogoUrl, getAssetWalletLogoUrl, getCortexBaseUrl, getDigestBaseUrl, getFormsBaseUrl, getMcpServerAgentUrl, getSiteUrl, getSitesRootDomain, getStoreBaseUrl, getWarpScreenshotUrl, isFileFormatAudio, isFileFormatImage, isFileFormatVideo, localize, ogImageUrl, resolveWarpText, sanitizeAlphanumeric, sanitizeNumeric, teamCategories, toCurrencyDisplay, toHexEncodedNonce, toNameInitials, toNftId, toPreviewText, withRetry };
|