@joai/core 2.2.0 → 2.4.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 +45 -37
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -543,7 +543,7 @@ type Contact = {
|
|
|
543
543
|
nextFollowUpAt?: string | null;
|
|
544
544
|
followUpNote?: string | null;
|
|
545
545
|
};
|
|
546
|
-
type ContactActivityType = 'note' | 'call' | 'meeting' | 'task' | 'update' | 'custom' | 'form' | 'loyalty';
|
|
546
|
+
type ContactActivityType = 'note' | 'call' | 'meeting' | 'task' | 'update' | 'custom' | 'form' | 'loyalty' | 'follow_up';
|
|
547
547
|
type ContactActivityAuthor = {
|
|
548
548
|
name: string;
|
|
549
549
|
imageUrl: string | null;
|
|
@@ -668,7 +668,7 @@ type MollieTerminalPaymentResult = {
|
|
|
668
668
|
failureReason?: string | null;
|
|
669
669
|
signature?: string | null;
|
|
670
670
|
};
|
|
671
|
-
type PlanFeature = 'general' | 'messages' | 'team-members' | 'teams' | 'support' | 'agent' | 'auto-mode' | 'cloud-sync' | 'wallet-cloud' | 'wallet-cloud-premium' | 'wallet-multi' | 'cards' | 'alerts' | 'advanced-commands' | 'tasks' | 'integrations' | 'message-history' | 'memory' | 'documents' | 'voice-input' | 'voice-live' | 'image-gen' | 'video-gen' | 'openclaw' | 'skills' | 'items' | 'context-length' | 'workspace-storage' | 'ingestions' | 'agent-email' | 'streak-freezes' | 'byok' | '
|
|
671
|
+
type PlanFeature = 'general' | 'messages' | 'team-members' | 'teams' | 'support' | 'agent' | 'auto-mode' | 'cloud-sync' | 'wallet-cloud' | 'wallet-cloud-premium' | 'wallet-multi' | 'cards' | 'alerts' | 'advanced-commands' | 'tasks' | 'integrations' | 'message-history' | 'memory' | 'documents' | 'voice-input' | 'voice-live' | 'image-gen' | 'video-gen' | 'openclaw' | 'skills' | 'items' | 'context-length' | 'workspace-storage' | 'ingestions' | 'agent-email' | 'streak-freezes' | 'byok' | 'phone-call' | 'phone-number' | 'custom-domain' | 'contacts' | 'links' | 'store-fee-rate' | 'store-fee-rate-physical' | 'tap-to-pay';
|
|
672
672
|
type PlanBenefit = {
|
|
673
673
|
label: Partial<Record<WarpLocale, string>>;
|
|
674
674
|
tip?: Partial<Record<WarpLocale, string>>;
|
|
@@ -694,7 +694,7 @@ type Plan = {
|
|
|
694
694
|
resource: 'plan';
|
|
695
695
|
id: string;
|
|
696
696
|
sku: string;
|
|
697
|
-
name:
|
|
697
|
+
name: string;
|
|
698
698
|
description: Partial<Record<WarpLocale, string>>;
|
|
699
699
|
price: number;
|
|
700
700
|
priceDisplay: string;
|
|
@@ -1266,6 +1266,10 @@ type WarpExecutionBackend = {
|
|
|
1266
1266
|
agent: AgentSimple | null;
|
|
1267
1267
|
createdAt: string;
|
|
1268
1268
|
};
|
|
1269
|
+
type PublicFormResults = {
|
|
1270
|
+
total: number;
|
|
1271
|
+
fields: Record<string, Record<string, number>>;
|
|
1272
|
+
};
|
|
1269
1273
|
type BrandSourceConfig = {
|
|
1270
1274
|
type: string;
|
|
1271
1275
|
chain?: string;
|
|
@@ -1784,6 +1788,7 @@ type AppointmentPolicy = {
|
|
|
1784
1788
|
conferenceEnabled: boolean | null;
|
|
1785
1789
|
serviceSelectionEnabled?: boolean | null;
|
|
1786
1790
|
paymentEnabled?: boolean | null;
|
|
1791
|
+
bookingCapacity?: number | null;
|
|
1787
1792
|
requireApproval?: boolean | null;
|
|
1788
1793
|
sync?: AppointmentPolicySync | null;
|
|
1789
1794
|
agent?: Agent | null;
|
|
@@ -1812,6 +1817,7 @@ type AppointmentBooking = {
|
|
|
1812
1817
|
attendeeEmail: string | null;
|
|
1813
1818
|
attendeeName: string | null;
|
|
1814
1819
|
configuration?: Configuration;
|
|
1820
|
+
quantity?: number;
|
|
1815
1821
|
};
|
|
1816
1822
|
type AppointmentRequest = {
|
|
1817
1823
|
id: string;
|
|
@@ -3592,65 +3598,67 @@ type RampProviderInfo = {
|
|
|
3592
3598
|
};
|
|
3593
3599
|
//#endregion
|
|
3594
3600
|
//#region src/warp-webhooks/types.d.ts
|
|
3595
|
-
type
|
|
3601
|
+
type HookTriggerCondition = {
|
|
3596
3602
|
path: string;
|
|
3597
3603
|
operator: 'exists' | 'equals' | 'contains' | 'not_contains';
|
|
3598
3604
|
value?: unknown;
|
|
3599
3605
|
};
|
|
3600
|
-
type
|
|
3606
|
+
type HookTriggerInput = string | {
|
|
3601
3607
|
source: 'payload';
|
|
3602
3608
|
path: string;
|
|
3603
3609
|
} | {
|
|
3604
3610
|
source: 'literal';
|
|
3605
3611
|
value: unknown;
|
|
3606
3612
|
};
|
|
3607
|
-
type
|
|
3613
|
+
type HookTrigger = {
|
|
3608
3614
|
event?: string;
|
|
3609
3615
|
contract?: string;
|
|
3610
|
-
when?:
|
|
3611
|
-
inputs?: Record<string,
|
|
3616
|
+
when?: HookTriggerCondition[];
|
|
3617
|
+
inputs?: Record<string, HookTriggerInput>;
|
|
3612
3618
|
};
|
|
3613
|
-
type
|
|
3614
|
-
|
|
3619
|
+
type WebHookTriggerEvent = 'agent.action' | 'agent.message' | 'agent.activity' | 'user.message' | 'external.message';
|
|
3620
|
+
type Hook = {
|
|
3621
|
+
id: string;
|
|
3615
3622
|
source: string;
|
|
3616
3623
|
event?: string | null;
|
|
3617
3624
|
contract?: string | null;
|
|
3618
|
-
|
|
3625
|
+
trigger?: HookTrigger | null;
|
|
3626
|
+
triggerEvent?: string | null;
|
|
3627
|
+
next: string | null;
|
|
3628
|
+
name?: string | null;
|
|
3629
|
+
url?: string | null;
|
|
3630
|
+
headers?: Record<string, string> | null;
|
|
3631
|
+
verifySsl?: boolean;
|
|
3632
|
+
timeout?: number;
|
|
3633
|
+
maxRetries?: number;
|
|
3634
|
+
lastTriggeredAt?: string | null;
|
|
3635
|
+
description?: string | null;
|
|
3619
3636
|
active: boolean;
|
|
3620
3637
|
managed: boolean;
|
|
3621
|
-
trigger?: AgentWebhookTrigger | null;
|
|
3622
3638
|
warpIdentifier: string | null;
|
|
3623
3639
|
createdAt: string;
|
|
3624
3640
|
};
|
|
3625
|
-
type
|
|
3641
|
+
type CreateInternalHookPayload = {
|
|
3642
|
+
source: 'internal';
|
|
3626
3643
|
warpIdentifier: string;
|
|
3627
|
-
|
|
3628
|
-
trigger?: AgentWebhookTrigger;
|
|
3644
|
+
trigger?: HookTrigger;
|
|
3629
3645
|
};
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
type WebhookTriggerEvent = 'agent.action' | 'agent.message' | 'user.message';
|
|
3633
|
-
type Webhook = {
|
|
3634
|
-
id: string;
|
|
3646
|
+
type CreateWebHookPayload = {
|
|
3647
|
+
source: 'web';
|
|
3635
3648
|
name: string;
|
|
3636
3649
|
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
|
-
};
|
|
3650
|
+
trigger: WebHookTriggerEvent;
|
|
3651
|
+
headers?: Record<string, string>;
|
|
3652
|
+
description?: string;
|
|
3653
|
+
active?: boolean;
|
|
3654
|
+
verifySsl?: boolean;
|
|
3655
|
+
timeout?: number;
|
|
3656
|
+
maxRetries?: number;
|
|
3657
|
+
};
|
|
3658
|
+
type CreateWarpLinkedHookPayload = {
|
|
3659
|
+
warpIdentifier: string;
|
|
3653
3660
|
};
|
|
3661
|
+
type CreateHookPayload = CreateInternalHookPayload | CreateWebHookPayload | CreateWarpLinkedHookPayload;
|
|
3654
3662
|
//#endregion
|
|
3655
3663
|
//#region src/workspace/types.d.ts
|
|
3656
3664
|
type WorkspaceInfo = {
|
|
@@ -3740,4 +3748,4 @@ type CliSessionStatus = {
|
|
|
3740
3748
|
meta: CliSessionMeta | null;
|
|
3741
3749
|
};
|
|
3742
3750
|
//#endregion
|
|
3743
|
-
export { Achievement,
|
|
3751
|
+
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, PublicFormResults, 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 };
|