@joai/core 4.12.0 → 4.12.1
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 +92 -14
- package/dist/index.mjs +84 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -744,6 +744,7 @@ declare const NativeApps: {
|
|
|
744
744
|
readonly Heartbeats: "heartbeats";
|
|
745
745
|
readonly Wallets: "wallets";
|
|
746
746
|
readonly Campaigns: "campaigns";
|
|
747
|
+
readonly Automations: "automations";
|
|
747
748
|
readonly News: "news";
|
|
748
749
|
readonly Sites: "sites";
|
|
749
750
|
readonly Contracts: "contracts";
|
|
@@ -2269,24 +2270,39 @@ type AppointmentRequest = {
|
|
|
2269
2270
|
};
|
|
2270
2271
|
//#endregion
|
|
2271
2272
|
//#region src/automation/types.d.ts
|
|
2272
|
-
type AutomationTriggerType = 'prop' | 'segment' | 'manual';
|
|
2273
|
-
type AutomationActionType = 'wait' | '
|
|
2274
|
-
type AutomationSendMode = 'direct' | 'campaign';
|
|
2273
|
+
type AutomationTriggerType = 'prop' | 'segment' | 'manual' | 'webhook';
|
|
2274
|
+
type AutomationActionType = 'wait' | 'halt' | 'warp' | 'branch';
|
|
2275
2275
|
type AutomationEnrollmentStatus = 'active' | 'completed' | 'skipped';
|
|
2276
|
+
type AutomationEnrollmentChange = 'created' | 'advanced' | 'sent' | 'completed' | 'skipped' | 'errored';
|
|
2276
2277
|
type AutomationSkipReason = 'pending_consent' | 'opted_out' | 'missing_channel' | 'automation_disabled' | 'already_completed';
|
|
2278
|
+
declare const CONTACT_MESSAGE_SEND_WARP = "joai-contact-message-send";
|
|
2277
2279
|
type AutomationTriggerConfig = {
|
|
2278
2280
|
propKey?: string;
|
|
2279
2281
|
propValue?: string | number | boolean;
|
|
2280
2282
|
segmentId?: string;
|
|
2283
|
+
source?: string;
|
|
2284
|
+
trigger?: {
|
|
2285
|
+
event?: string;
|
|
2286
|
+
when?: Array<{
|
|
2287
|
+
path: string;
|
|
2288
|
+
operator: string;
|
|
2289
|
+
value?: unknown;
|
|
2290
|
+
}>;
|
|
2291
|
+
inputs?: Record<string, unknown>;
|
|
2292
|
+
};
|
|
2293
|
+
hookId?: string;
|
|
2281
2294
|
};
|
|
2282
2295
|
type AutomationActionConfig = {
|
|
2283
2296
|
delayMinutes?: number;
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2297
|
+
warpId?: string;
|
|
2298
|
+
inputs?: Record<string, unknown>;
|
|
2299
|
+
when?: Array<{
|
|
2300
|
+
path: string;
|
|
2301
|
+
operator: string;
|
|
2302
|
+
value?: unknown;
|
|
2303
|
+
}>;
|
|
2304
|
+
thenPosition?: number;
|
|
2305
|
+
elsePosition?: number;
|
|
2290
2306
|
[key: string]: unknown;
|
|
2291
2307
|
};
|
|
2292
2308
|
type AutomationAction = {
|
|
@@ -2303,6 +2319,10 @@ type Automation = {
|
|
|
2303
2319
|
enabled: boolean;
|
|
2304
2320
|
agent: AgentSimple | null;
|
|
2305
2321
|
actions?: AutomationAction[];
|
|
2322
|
+
activeEnrollmentsCount?: number;
|
|
2323
|
+
completedEnrollmentsCount?: number;
|
|
2324
|
+
skippedEnrollmentsCount?: number;
|
|
2325
|
+
erroredEnrollmentsCount?: number;
|
|
2306
2326
|
createdAt: string;
|
|
2307
2327
|
updatedAt: string;
|
|
2308
2328
|
};
|
|
@@ -2327,6 +2347,13 @@ type AutomationEnrollment = {
|
|
|
2327
2347
|
createdAt: string;
|
|
2328
2348
|
updatedAt: string;
|
|
2329
2349
|
};
|
|
2350
|
+
type AutomationEnrollmentUpdatedPayload = {
|
|
2351
|
+
team?: string;
|
|
2352
|
+
change: AutomationEnrollmentChange;
|
|
2353
|
+
automationId?: string;
|
|
2354
|
+
automationName?: string;
|
|
2355
|
+
enrollment: AutomationEnrollment;
|
|
2356
|
+
};
|
|
2330
2357
|
type AutomationActionInput = {
|
|
2331
2358
|
type: AutomationActionType;
|
|
2332
2359
|
config?: AutomationActionConfig;
|
|
@@ -2348,8 +2375,53 @@ type AutomationUpdatePayload = {
|
|
|
2348
2375
|
};
|
|
2349
2376
|
type AutomationAudiencePreview = {
|
|
2350
2377
|
count: number;
|
|
2378
|
+
total: number;
|
|
2379
|
+
sendable: number;
|
|
2380
|
+
willSkip: number;
|
|
2381
|
+
reasons: Record<'pending_consent' | 'opted_out' | 'missing_channel', number>;
|
|
2351
2382
|
sampleContactIds: string[];
|
|
2352
|
-
|
|
2383
|
+
channel: string | null;
|
|
2384
|
+
};
|
|
2385
|
+
type AutomationStats = {
|
|
2386
|
+
totalAutomations: number;
|
|
2387
|
+
enabledAutomations: number;
|
|
2388
|
+
activeEnrollments: number;
|
|
2389
|
+
emailsSent: number;
|
|
2390
|
+
completedEnrollments: number;
|
|
2391
|
+
erroredEnrollments: number;
|
|
2392
|
+
};
|
|
2393
|
+
declare function isContactMessageWarpId(warpId?: string | null): boolean;
|
|
2394
|
+
declare function isContactMessageAction(action: {
|
|
2395
|
+
type: string;
|
|
2396
|
+
config?: {
|
|
2397
|
+
warpId?: string;
|
|
2398
|
+
};
|
|
2399
|
+
}): boolean;
|
|
2400
|
+
declare function normalizeAutomationActionType(type: string): AutomationActionType;
|
|
2401
|
+
//#endregion
|
|
2402
|
+
//#region src/outbound/channels.d.ts
|
|
2403
|
+
/** Outbound channels used across campaigns and automations. */
|
|
2404
|
+
type OutboundChannelId = 'email' | 'whatsapp' | 'whatsapp-personal' | 'sms' | 'push';
|
|
2405
|
+
type OutboundChannel = {
|
|
2406
|
+
id: OutboundChannelId;
|
|
2407
|
+
supportsHtml: boolean;
|
|
2408
|
+
requiresSubject: boolean;
|
|
2409
|
+
settingsKey?: keyof AgentSettings;
|
|
2410
|
+
};
|
|
2411
|
+
declare const OUTBOUND_CHANNELS: OutboundChannel[];
|
|
2412
|
+
type AutomationSendChannelId = 'email' | 'whatsapp-personal';
|
|
2413
|
+
type CampaignChannelId = 'email' | 'whatsapp' | 'sms' | 'push';
|
|
2414
|
+
type AutomationSendChannel = OutboundChannel & {
|
|
2415
|
+
id: AutomationSendChannelId;
|
|
2416
|
+
};
|
|
2417
|
+
declare const AUTOMATION_SEND_CHANNELS: AutomationSendChannel[];
|
|
2418
|
+
declare const CAMPAIGN_CHANNELS: CampaignChannelId[];
|
|
2419
|
+
declare function automationSendChannel(id: unknown): AutomationSendChannel;
|
|
2420
|
+
declare function isAutomationSendChannelId(id: unknown): id is AutomationSendChannelId;
|
|
2421
|
+
declare function isCampaignChannelId(id: unknown): id is CampaignChannelId;
|
|
2422
|
+
declare function outboundChannel(id: unknown): OutboundChannel;
|
|
2423
|
+
/** Integration settings slug for a channel (sms → twilio). */
|
|
2424
|
+
declare function integrationSlugForChannel(channel: string): string;
|
|
2353
2425
|
//#endregion
|
|
2354
2426
|
//#region src/content/types.d.ts
|
|
2355
2427
|
type ContentStatus = 'draft' | 'published' | 'archived';
|
|
@@ -2874,11 +2946,17 @@ type AppSetupTarget = {
|
|
|
2874
2946
|
appSlug: string;
|
|
2875
2947
|
mcpUrl: string;
|
|
2876
2948
|
};
|
|
2949
|
+
type FeatureSetupTarget = {
|
|
2950
|
+
featureName?: string;
|
|
2951
|
+
taskHint?: string;
|
|
2952
|
+
};
|
|
2877
2953
|
declare const UNIFIED_MCP_SERVER_NAME = "joai";
|
|
2878
2954
|
declare const isUnifiedMcpUrl: (mcpUrl: string) => boolean;
|
|
2879
2955
|
declare const getAgentSetupPromptUrl: (env: AppEnv) => string;
|
|
2880
2956
|
declare const buildAgentSetupClipboardText: (env: AppEnv, target: AgentSetupTarget) => string;
|
|
2881
2957
|
declare const buildAppSetupClipboardText: (env: AppEnv, target: AppSetupTarget) => string;
|
|
2958
|
+
/** Marketing / public pages: no known agent yet — unified MCP + OAuth agent pick. */
|
|
2959
|
+
declare const buildFeatureSetupClipboardText: (env: AppEnv, target?: FeatureSetupTarget) => string;
|
|
2882
2960
|
declare const createCursorMcpInstallLink: (mcpServerUrl: string, serverName: string) => string;
|
|
2883
2961
|
/** Default owner/connect MCP URL. Optional agent UUID soft-prefills OAuth via `?agent=`. */
|
|
2884
2962
|
declare const resolveConnectMcpUrl: (env: AppEnv, mcpEndpoint?: string | null, preferredAgentUuid?: string | null) => string;
|
|
@@ -4084,7 +4162,7 @@ type SegmentCountResult = {
|
|
|
4084
4162
|
};
|
|
4085
4163
|
//#endregion
|
|
4086
4164
|
//#region src/campaign/types.d.ts
|
|
4087
|
-
type CampaignChannel =
|
|
4165
|
+
type CampaignChannel = CampaignChannelId;
|
|
4088
4166
|
type CampaignStatus = 'draft' | 'pending' | 'approved' | 'rejected' | 'scheduled' | 'sending' | 'completed' | 'failed';
|
|
4089
4167
|
type CampaignCategory = 'MARKETING' | 'UTILITY' | 'AUTHENTICATION';
|
|
4090
4168
|
type CampaignSkipReason = 'pending_consent' | 'opted_out' | 'missing_channel' | 'approval_skipped';
|
|
@@ -4350,10 +4428,10 @@ type HookTriggerCondition = {
|
|
|
4350
4428
|
value?: unknown;
|
|
4351
4429
|
};
|
|
4352
4430
|
type HookTriggerInput = string | {
|
|
4353
|
-
source: 'payload';
|
|
4431
|
+
source: 'payload' | 'contact' | 'enrollment';
|
|
4354
4432
|
path: string;
|
|
4355
4433
|
} | {
|
|
4356
|
-
source: 'literal';
|
|
4434
|
+
source: 'literal' | 'static';
|
|
4357
4435
|
value: unknown;
|
|
4358
4436
|
};
|
|
4359
4437
|
type HookTrigger = {
|
|
@@ -4504,4 +4582,4 @@ type CliSessionStatus = {
|
|
|
4504
4582
|
meta: CliSessionMeta | null;
|
|
4505
4583
|
};
|
|
4506
4584
|
//#endregion
|
|
4507
|
-
export { Achievement, Address, AddressCreatePayload, AddressInput, AddressSnapshot, type AddressType, AddressTypes, AddressUpdatePayload, Affiliate, AffiliateStatus, AffiliateTier, AffiliateTierName, Agent, AgentActionHistoryEntry, AgentCharacter, AgentDelegatable, AgentEngine, AgentExecuteHandler, AgentExecuteOptions, AgentGender, AgentMessageMeta, AgentMessageOptions, AgentPrivate, AgentSettings, AgentSetupTarget, AgentSimple, AgentToolingAccess, AgentWalletMode, AggregatedRoute, AiCostEntry, AiCostsResponse, AiCostsSummary, Alert, ApiToken, AppAccessRule, AppEnv, AppFile, AppFileType, AppIngestion, AppSetupTarget, AppendKvEntryResult, AppointmentAvailability, AppointmentAvailabilityService, AppointmentAvailabilitySlot, AppointmentBooking, AppointmentBookingContext, AppointmentPolicy, AppointmentPolicySync, AppointmentRequest, AppointmentSlot, Artifact, ArtifactBlock, ArtifactBlockType, ArtifactContactSummary, ArtifactCreatePayload, ArtifactDeliverIntegration, ArtifactDeliverPayload, ArtifactDelivery, ArtifactLink, ArtifactStatus, ArtifactType, ArtifactUpdatePayload, AuthUser, Automation, AutomationAction, AutomationActionConfig, AutomationActionInput, AutomationActionType, AutomationAudiencePreview, AutomationCreatePayload, AutomationEnrollment, AutomationEnrollmentStatus, AutomationSendMode, AutomationSkipReason, AutomationTriggerConfig, AutomationTriggerType, AutomationUpdatePayload, BillingManageAccess, Blueprint, BlueprintOnboardingStep, BlueprintRedirect, BlueprintSettings, BlueprintShortcut, BlueprintTask, BlueprintTeam, BoardSummaryViewable, BookmarkEntry, BrandBackend, BrandIntegration, BrandIntegrationAction, BrandIntegrationProvider, BrandSearchHit, BrandSiteConfig, BrandSourceConfig, Budget, ByokProviderConfig, ByokProviderName, ByokProviders, CalendarProvider, CalendarStatus, Campaign, CampaignApproval, CampaignAudiencePreview, CampaignAudiencePreviewPayload, CampaignCategory, CampaignChannel, CampaignCreatePayload, CampaignRecipient, CampaignRecipientStatus, CampaignSkipReason, CampaignSkipReasons, CampaignStats, CampaignStatus, CampaignUpdatePayload, Card, Cart, CartItem, CartLine, Challenge, Challenges, ChangelogEntry, Character, ChatClientAction, ChatClientThought, ChatStreamData, ChatStreamEventType, CheckoutSnapshot, CheckoutSnapshotRequest, CliSessionMeta, CliSessionStatus, CommissionAgreement, Configuration, Contact, ContactActivity, ContactActivityAuthor, ContactActivityType, ContactConsent, ContactConsentStatus, ContactCreatePayload, ContactFormData, ContactHealth, ContactRelation, ContactRelationCategory, ContactRelationContact, ContactRelationDirection, ContactRelationPayload, ContactRelationType, ContactRelationUpdatePayload, ContactViewable, Content, ContentDefinition, ContentEntry, ContentField, ContentFieldType, ContentPatch, ContentStatus, ContentValue, ContentVersion, Contract, ContractCategoryDisplayNames, ContractCategoryName, ContractCodeMetadata, ContractEntity, ContractOnNetwork, ContractVersion, ContractsAddressConfig, CortexExecuteOptions, Coupon, CouponCondition, CouponRestrictedItem, CouponRestrictedItemType, CreateContentInput, CreateHookPayload, CreateInboundHookPayload, CreateInternalHookPayload, CreateKvFieldPayload, CreateWarpLinkedHookPayload, CreateWebHookPayload, DefaultCodeMetadata, DefaultInviteTeamRole, 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, Fulfillment, FulfillmentLocation, type FulfillmentMethod, FulfillmentMethods, type FulfillmentStatus, FulfillmentStatuses, GamificationData, GamificationEventType, Goal, GoalCreatePayload, GoalPriority, GoalProgressViewable, GoalStatus, GuestBuyer, HintOptions, HintPosition, Hook, HookSample, HookTrigger, HookTriggerCondition, HookTriggerInput, HttpService, IAppResponse, IHttpService, IRequestOptions, IngestionSourceType, IngestionStatus, Inquiry, InquiryStatus, InquiryType, Integration, IntegrationConnectionDetails, IntegrationDetails, IntegrationMeta, IntegrationType, Intent, InviteableTeamRoles, Item, ItemCreatePayload, ItemExecutionStatus, ItemPriority, ItemStatus, ItemUpdatePayload, ItemViewable, JoaiUrls, JsonValue, KvEntry, KvEntryPayload, KvField, KvFieldWithEntries, KvValue, 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, Metric, MetricSource, MetricsResult, Milestone, MilestoneType, Mission, MissionBudget, MissionCreatePayload, MissionPlan, MissionPriority, MissionSchedule, MissionStatus, MissionViewable, MollieTerminalPaymentResult, MultimodalContent, MultimodalFile, NATIVE_AUTH_TOKEN_PARAM, NativeApp, NativeApps, 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, PatchContentInput, PaymentAccount, PaymentAccountOnboarding, PaymentProvider, PayoutEntry, PeriodTypeLabels, PeriodTypeOptions, PermissionConfigType, PermissionPresetName, PermissionPresetNames, 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, Return, type ReturnStatus, ReturnStatuses, ReturnUpdateStatus, ReturnUpdateStatuses, Room, RoomId, RoomKind, ScInfo, SchedulePreset, SecretAuthorizable, SecretSettable, Segment, SegmentCondition, SegmentConditionType, SegmentCountPayload, SegmentCountResult, SegmentCreatePayload, SegmentGroup, SendableActivityUpdate, SendableAgentAction, SendableAgentMessage, SendableAgentThought, SendableMedia, SendableUserMessage, Service, SetKvEntryResult, ShippingRate, ShippingZone, Shortcut, Site, SiteAgent, SiteBrand, SiteRoute, SiteTeam, Skill, SkillMediaBindingRole, SkillMediaBindingRoleValue, SkillScope, SkillScopeValue, SkillType, SkillTypeValue, SocialAuthProvider, SocialBot, SocialPlatform, StampResponse, StoreAgent, StoreCheckoutItem, StoreData, StoreEntityType, StoreInfo, StoreItem, StoreListing, StorePriceTier, StorePricing, StorePurchasable, StorePurchaseResult, Streak, Subscription, SubscriptionDelivery, SubscriptionInterval, SubscriptionPlan, SubscriptionStatus, Swarm, Tag, TagType, Task, Team, TeamAccessCatalog, TeamAccessConfig, TeamBrand, TeamCategory, TeamEarning, TeamEarningsBalance, TeamFeature, TeamFeatureAccess, TeamFeatureArea, TeamFeatureUsage, TeamManageAccess, TeamMember, TeamMeta, TeamPayout, TeamPayoutAddress, TeamPlace, TeamPrivate, TeamSettings, TeamUsage, TeamViewAccess, TerminalConnectionToken, TerminalPaymentIntent, Tier, TierFeature, TierName, ToggleKvFieldResult, TranscriptEntry, TranscriptionCorrection, TranscriptionResponse, TranslatableValue, UNIFIED_MCP_SERVER_NAME, Update, UpdateCreatePayload, UpdateRelation, UpdateStats, UpdateStatus, UpdateType, UpdateUpdatePayload, Upgrade, UpgradeSourceType, UpgradeStatus, User, UserInterest, UserMode, type UserPermission, UserPermissions, UserPrivate, type UserRole, UserRoles, 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, addressTypeValues, buildAgentMcpServerName, buildAgentSetupClipboardText, buildAppSetupClipboardText, buildMcpServerName, cartLineTotal, createCursorMcpInstallLink, defaultInviteTeamRole, fulfillmentMethodValues, fulfillmentStatusValues, getAgentSetupPromptUrl, getAgentsBaseUrl, getApiBaseUrl, getAppBaseUrl, getAssetAppLogoUrl, getAssetChainLogoUrl, getAssetPartnerLogoUrl, getAssetTokenLogoUrl, getAssetWalletLogoUrl, getCortexBaseUrl, getDigestBaseUrl, getFormsBaseUrl, getLoginUrl, getMcpServerAgentUrl, getMcpServerUrl, getSiteUrl, getSitesBaseUrl, getSitesRootDomain, getStoreBaseUrl, getWarpScreenshotUrl, hasAllPermissions, hasAllTeamPermissions, hasAnyPermissions, hasPermission, hasTeamPermission, inviteableTeamRoles, isCompleteAddressInput, isFileFormatAudio, isFileFormatImage, isFileFormatVideo, isNativeApp, isNativeAppAccessible, isNativeAppGated, isNativeAppLocked, isTeamFeatureAccessible, isTeamFeatureGated, isTeamFeatureLocked, isUnifiedMcpUrl, isUserRole, localize, nativeAppSlugs, ogImageUrl, permissionPresetRules, resolveAccessCatalog, resolveAgentMcpUrl, resolveConnectMcpUrl, resolveWarpText, returnStatusValues, returnUpdateStatusValues, sanitizeAlphanumeric, sanitizeNumeric, slugifyMcpSegment, teamCategories, toCurrencyDisplay, toHexEncodedNonce, toNameInitials, toNftId, toPreviewText, userPermissionValues, userRoleValues, withRetry };
|
|
4585
|
+
export { AUTOMATION_SEND_CHANNELS, Achievement, Address, AddressCreatePayload, AddressInput, AddressSnapshot, type AddressType, AddressTypes, AddressUpdatePayload, Affiliate, AffiliateStatus, AffiliateTier, AffiliateTierName, Agent, AgentActionHistoryEntry, AgentCharacter, AgentDelegatable, AgentEngine, AgentExecuteHandler, AgentExecuteOptions, AgentGender, AgentMessageMeta, AgentMessageOptions, AgentPrivate, AgentSettings, AgentSetupTarget, AgentSimple, AgentToolingAccess, AgentWalletMode, AggregatedRoute, AiCostEntry, AiCostsResponse, AiCostsSummary, Alert, ApiToken, AppAccessRule, AppEnv, AppFile, AppFileType, AppIngestion, AppSetupTarget, AppendKvEntryResult, AppointmentAvailability, AppointmentAvailabilityService, AppointmentAvailabilitySlot, AppointmentBooking, AppointmentBookingContext, AppointmentPolicy, AppointmentPolicySync, AppointmentRequest, AppointmentSlot, Artifact, ArtifactBlock, ArtifactBlockType, ArtifactContactSummary, ArtifactCreatePayload, ArtifactDeliverIntegration, ArtifactDeliverPayload, ArtifactDelivery, ArtifactLink, ArtifactStatus, ArtifactType, ArtifactUpdatePayload, AuthUser, Automation, AutomationAction, AutomationActionConfig, AutomationActionInput, AutomationActionType, AutomationAudiencePreview, AutomationCreatePayload, AutomationEnrollment, AutomationEnrollmentChange, AutomationEnrollmentStatus, AutomationEnrollmentUpdatedPayload, AutomationSendChannel, AutomationSendChannelId, AutomationSkipReason, AutomationStats, AutomationTriggerConfig, AutomationTriggerType, AutomationUpdatePayload, BillingManageAccess, Blueprint, BlueprintOnboardingStep, BlueprintRedirect, BlueprintSettings, BlueprintShortcut, BlueprintTask, BlueprintTeam, BoardSummaryViewable, BookmarkEntry, BrandBackend, BrandIntegration, BrandIntegrationAction, BrandIntegrationProvider, BrandSearchHit, BrandSiteConfig, BrandSourceConfig, Budget, ByokProviderConfig, ByokProviderName, ByokProviders, CAMPAIGN_CHANNELS, CONTACT_MESSAGE_SEND_WARP, CalendarProvider, CalendarStatus, Campaign, CampaignApproval, CampaignAudiencePreview, CampaignAudiencePreviewPayload, CampaignCategory, CampaignChannel, CampaignChannelId, CampaignCreatePayload, CampaignRecipient, CampaignRecipientStatus, CampaignSkipReason, CampaignSkipReasons, CampaignStats, CampaignStatus, CampaignUpdatePayload, Card, Cart, CartItem, CartLine, Challenge, Challenges, ChangelogEntry, Character, ChatClientAction, ChatClientThought, ChatStreamData, ChatStreamEventType, CheckoutSnapshot, CheckoutSnapshotRequest, CliSessionMeta, CliSessionStatus, CommissionAgreement, Configuration, Contact, ContactActivity, ContactActivityAuthor, ContactActivityType, ContactConsent, ContactConsentStatus, ContactCreatePayload, ContactFormData, ContactHealth, ContactRelation, ContactRelationCategory, ContactRelationContact, ContactRelationDirection, ContactRelationPayload, ContactRelationType, ContactRelationUpdatePayload, ContactViewable, Content, ContentDefinition, ContentEntry, ContentField, ContentFieldType, ContentPatch, ContentStatus, ContentValue, ContentVersion, Contract, ContractCategoryDisplayNames, ContractCategoryName, ContractCodeMetadata, ContractEntity, ContractOnNetwork, ContractVersion, ContractsAddressConfig, CortexExecuteOptions, Coupon, CouponCondition, CouponRestrictedItem, CouponRestrictedItemType, CreateContentInput, CreateHookPayload, CreateInboundHookPayload, CreateInternalHookPayload, CreateKvFieldPayload, CreateWarpLinkedHookPayload, CreateWebHookPayload, DefaultCodeMetadata, DefaultInviteTeamRole, DemoFlow, DemoMessage, Desk, DeskItem, DeskItemRole, Document, EarnResponse, Earning, Element, ElementSpec, ElementType, ElementVariation, EmailProvider, EmbedStatus, EncryptionStatus, Entity, EntityDirectExecuteRequest, EntityProposable, EntitySignable, EntityTemplate, Experience, FeatureSetupTarget, FileInfo, FileMetadata, Flow, FlowCategory, FlowInputMapping, FlowStatus, FlowStep, Fulfillment, FulfillmentLocation, type FulfillmentMethod, FulfillmentMethods, type FulfillmentStatus, FulfillmentStatuses, GamificationData, GamificationEventType, Goal, GoalCreatePayload, GoalPriority, GoalProgressViewable, GoalStatus, GuestBuyer, HintOptions, HintPosition, Hook, HookSample, HookTrigger, HookTriggerCondition, HookTriggerInput, HttpService, IAppResponse, IHttpService, IRequestOptions, IngestionSourceType, IngestionStatus, Inquiry, InquiryStatus, InquiryType, Integration, IntegrationConnectionDetails, IntegrationDetails, IntegrationMeta, IntegrationType, Intent, InviteableTeamRoles, Item, ItemCreatePayload, ItemExecutionStatus, ItemPriority, ItemStatus, ItemUpdatePayload, ItemViewable, JoaiUrls, JsonValue, KvEntry, KvEntryPayload, KvField, KvFieldWithEntries, KvValue, 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, Metric, MetricSource, MetricsResult, Milestone, MilestoneType, Mission, MissionBudget, MissionCreatePayload, MissionPlan, MissionPriority, MissionSchedule, MissionStatus, MissionViewable, MollieTerminalPaymentResult, MultimodalContent, MultimodalFile, NATIVE_AUTH_TOKEN_PARAM, NativeApp, NativeApps, Notification, NotificationAction, NotificationAgent, NotificationChannel, NotificationSetting, OG_IMAGE_CONFIG, OG_IMAGE_HEIGHT, OG_IMAGE_WIDTH, OUTBOUND_CHANNELS, OfficeAgent, OfficeEntity, OfficeEntityKind, OfficeLiveOverrides, OfficeMember, OfficeSnapshot, OfficeStatus, OfficeStatusFilter, OfficeTypeFilter, OgImageColors, OgImageParams, OgImageType, Order, OrderConfigurationItem, OrderContext, OrderItem, OrderSource, OrderStatus, OrderType, OutboundChannel, OutboundChannelId, PaginatedResponse, Pass, PatchContentInput, PaymentAccount, PaymentAccountOnboarding, PaymentProvider, PayoutEntry, PeriodTypeLabels, PeriodTypeOptions, PermissionConfigType, PermissionPresetName, PermissionPresetNames, 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, Return, type ReturnStatus, ReturnStatuses, ReturnUpdateStatus, ReturnUpdateStatuses, Room, RoomId, RoomKind, ScInfo, SchedulePreset, SecretAuthorizable, SecretSettable, Segment, SegmentCondition, SegmentConditionType, SegmentCountPayload, SegmentCountResult, SegmentCreatePayload, SegmentGroup, SendableActivityUpdate, SendableAgentAction, SendableAgentMessage, SendableAgentThought, SendableMedia, SendableUserMessage, Service, SetKvEntryResult, ShippingRate, ShippingZone, Shortcut, Site, SiteAgent, SiteBrand, SiteRoute, SiteTeam, Skill, SkillMediaBindingRole, SkillMediaBindingRoleValue, SkillScope, SkillScopeValue, SkillType, SkillTypeValue, SocialAuthProvider, SocialBot, SocialPlatform, StampResponse, StoreAgent, StoreCheckoutItem, StoreData, StoreEntityType, StoreInfo, StoreItem, StoreListing, StorePriceTier, StorePricing, StorePurchasable, StorePurchaseResult, Streak, Subscription, SubscriptionDelivery, SubscriptionInterval, SubscriptionPlan, SubscriptionStatus, Swarm, Tag, TagType, Task, Team, TeamAccessCatalog, TeamAccessConfig, TeamBrand, TeamCategory, TeamEarning, TeamEarningsBalance, TeamFeature, TeamFeatureAccess, TeamFeatureArea, TeamFeatureUsage, TeamManageAccess, TeamMember, TeamMeta, TeamPayout, TeamPayoutAddress, TeamPlace, TeamPrivate, TeamSettings, TeamUsage, TeamViewAccess, TerminalConnectionToken, TerminalPaymentIntent, Tier, TierFeature, TierName, ToggleKvFieldResult, TranscriptEntry, TranscriptionCorrection, TranscriptionResponse, TranslatableValue, UNIFIED_MCP_SERVER_NAME, Update, UpdateCreatePayload, UpdateRelation, UpdateStats, UpdateStatus, UpdateType, UpdateUpdatePayload, Upgrade, UpgradeSourceType, UpgradeStatus, User, UserInterest, UserMode, type UserPermission, UserPermissions, UserPrivate, type UserRole, UserRoles, 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, addressTypeValues, automationSendChannel, buildAgentMcpServerName, buildAgentSetupClipboardText, buildAppSetupClipboardText, buildFeatureSetupClipboardText, buildMcpServerName, cartLineTotal, createCursorMcpInstallLink, defaultInviteTeamRole, fulfillmentMethodValues, fulfillmentStatusValues, getAgentSetupPromptUrl, getAgentsBaseUrl, getApiBaseUrl, getAppBaseUrl, getAssetAppLogoUrl, getAssetChainLogoUrl, getAssetPartnerLogoUrl, getAssetTokenLogoUrl, getAssetWalletLogoUrl, getCortexBaseUrl, getDigestBaseUrl, getFormsBaseUrl, getLoginUrl, getMcpServerAgentUrl, getMcpServerUrl, getSiteUrl, getSitesBaseUrl, getSitesRootDomain, getStoreBaseUrl, getWarpScreenshotUrl, hasAllPermissions, hasAllTeamPermissions, hasAnyPermissions, hasPermission, hasTeamPermission, integrationSlugForChannel, inviteableTeamRoles, isAutomationSendChannelId, isCampaignChannelId, isCompleteAddressInput, isContactMessageAction, isContactMessageWarpId, isFileFormatAudio, isFileFormatImage, isFileFormatVideo, isNativeApp, isNativeAppAccessible, isNativeAppGated, isNativeAppLocked, isTeamFeatureAccessible, isTeamFeatureGated, isTeamFeatureLocked, isUnifiedMcpUrl, isUserRole, localize, nativeAppSlugs, normalizeAutomationActionType, ogImageUrl, outboundChannel, permissionPresetRules, resolveAccessCatalog, resolveAgentMcpUrl, resolveConnectMcpUrl, resolveWarpText, returnStatusValues, returnUpdateStatusValues, sanitizeAlphanumeric, sanitizeNumeric, slugifyMcpSegment, teamCategories, toCurrencyDisplay, toHexEncodedNonce, toNameInitials, toNftId, toPreviewText, userPermissionValues, userRoleValues, withRetry };
|
package/dist/index.mjs
CHANGED
|
@@ -283,6 +283,69 @@ function resolveWarpText(text, locale = "en") {
|
|
|
283
283
|
return text[locale] ?? text.en ?? Object.values(text)[0] ?? "";
|
|
284
284
|
}
|
|
285
285
|
//#endregion
|
|
286
|
+
//#region src/automation/types.ts
|
|
287
|
+
const CONTACT_MESSAGE_SEND_WARP = "joai-contact-message-send";
|
|
288
|
+
function isContactMessageWarpId(warpId) {
|
|
289
|
+
if (!warpId) return false;
|
|
290
|
+
return warpId.replace(/^@/, "").split("?")[0] === CONTACT_MESSAGE_SEND_WARP;
|
|
291
|
+
}
|
|
292
|
+
function isContactMessageAction(action) {
|
|
293
|
+
return action.type === "warp" && isContactMessageWarpId(action.config?.warpId);
|
|
294
|
+
}
|
|
295
|
+
function normalizeAutomationActionType(type) {
|
|
296
|
+
if (type === "wait" || type === "halt" || type === "warp" || type === "branch") return type;
|
|
297
|
+
return "halt";
|
|
298
|
+
}
|
|
299
|
+
//#endregion
|
|
300
|
+
//#region src/outbound/channels.ts
|
|
301
|
+
const OUTBOUND_CHANNELS = [
|
|
302
|
+
{
|
|
303
|
+
id: "email",
|
|
304
|
+
supportsHtml: true,
|
|
305
|
+
requiresSubject: true,
|
|
306
|
+
settingsKey: "email_provider"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
id: "whatsapp",
|
|
310
|
+
supportsHtml: false,
|
|
311
|
+
requiresSubject: false
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
id: "whatsapp-personal",
|
|
315
|
+
supportsHtml: false,
|
|
316
|
+
requiresSubject: false
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
id: "sms",
|
|
320
|
+
supportsHtml: false,
|
|
321
|
+
requiresSubject: false
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
id: "push",
|
|
325
|
+
supportsHtml: false,
|
|
326
|
+
requiresSubject: true
|
|
327
|
+
}
|
|
328
|
+
];
|
|
329
|
+
const AUTOMATION_SEND_CHANNELS = OUTBOUND_CHANNELS.filter((channel) => channel.id === "email" || channel.id === "whatsapp-personal");
|
|
330
|
+
const CAMPAIGN_CHANNELS = OUTBOUND_CHANNELS.map((channel) => channel.id).filter((id) => id !== "whatsapp-personal");
|
|
331
|
+
const defaultAutomationSendChannel = AUTOMATION_SEND_CHANNELS[0];
|
|
332
|
+
function automationSendChannel(id) {
|
|
333
|
+
return AUTOMATION_SEND_CHANNELS.find((channel) => channel.id === id) ?? defaultAutomationSendChannel;
|
|
334
|
+
}
|
|
335
|
+
function isAutomationSendChannelId(id) {
|
|
336
|
+
return typeof id === "string" && AUTOMATION_SEND_CHANNELS.some((channel) => channel.id === id);
|
|
337
|
+
}
|
|
338
|
+
function isCampaignChannelId(id) {
|
|
339
|
+
return typeof id === "string" && CAMPAIGN_CHANNELS.includes(id);
|
|
340
|
+
}
|
|
341
|
+
function outboundChannel(id) {
|
|
342
|
+
return OUTBOUND_CHANNELS.find((channel) => channel.id === id) ?? OUTBOUND_CHANNELS[0];
|
|
343
|
+
}
|
|
344
|
+
/** Integration settings slug for a channel (sms → twilio). */
|
|
345
|
+
function integrationSlugForChannel(channel) {
|
|
346
|
+
return channel === "sms" ? "twilio" : channel;
|
|
347
|
+
}
|
|
348
|
+
//#endregion
|
|
286
349
|
//#region src/address/enums.ts
|
|
287
350
|
const AddressTypes = {
|
|
288
351
|
Billing: "billing",
|
|
@@ -411,6 +474,25 @@ const buildAppSetupClipboardText = (env, target) => {
|
|
|
411
474
|
`- MCP: ${target.mcpUrl}`
|
|
412
475
|
].join("\n");
|
|
413
476
|
};
|
|
477
|
+
/** Marketing / public pages: no known agent yet — unified MCP + OAuth agent pick. */
|
|
478
|
+
const buildFeatureSetupClipboardText = (env, target = {}) => {
|
|
479
|
+
const promptUrl = getAgentSetupPromptUrl(env);
|
|
480
|
+
const mcpUrl = resolveConnectMcpUrl(env);
|
|
481
|
+
const featureName = target.featureName?.trim();
|
|
482
|
+
const lines = [
|
|
483
|
+
`Fetch and execute the appropriate instructions to set me up for JoAi from ${promptUrl}`,
|
|
484
|
+
"",
|
|
485
|
+
"Connect me to JoAi MCP:",
|
|
486
|
+
`- MCP: ${mcpUrl}`,
|
|
487
|
+
"",
|
|
488
|
+
"Authenticate with OAuth when asked. If you don’t have an agent yet, create and name one there. Pick my team and agent during login.",
|
|
489
|
+
"",
|
|
490
|
+
featureName ? `Once connected, help me with JoAi ${featureName}.` : "Once connected, help me run JoAi."
|
|
491
|
+
];
|
|
492
|
+
if (target.taskHint?.trim()) lines.push(target.taskHint.trim());
|
|
493
|
+
lines.push(featureName ? "Install the app if its tools are missing." : "Install apps if their tools are missing.");
|
|
494
|
+
return lines.join("\n");
|
|
495
|
+
};
|
|
414
496
|
const createCursorMcpInstallLink = (mcpServerUrl, serverName) => {
|
|
415
497
|
const configJson = JSON.stringify({ url: mcpServerUrl });
|
|
416
498
|
const encodedConfig = encodeURIComponent(btoa(configJson));
|
|
@@ -517,6 +599,7 @@ const NativeApps = {
|
|
|
517
599
|
Heartbeats: "heartbeats",
|
|
518
600
|
Wallets: "wallets",
|
|
519
601
|
Campaigns: "campaigns",
|
|
602
|
+
Automations: "automations",
|
|
520
603
|
News: "news",
|
|
521
604
|
Sites: "sites",
|
|
522
605
|
Contracts: "contracts",
|
|
@@ -618,4 +701,4 @@ const DefaultInviteTeamRole = UserRoles.Member;
|
|
|
618
701
|
const inviteableTeamRoles = () => [...InviteableTeamRoles];
|
|
619
702
|
const defaultInviteTeamRole = () => DefaultInviteTeamRole;
|
|
620
703
|
//#endregion
|
|
621
|
-
export { AddressTypes, AgentToolingAccess, BillingManageAccess, ContractCategoryDisplayNames, DefaultCodeMetadata, DefaultInviteTeamRole, FulfillmentMethods, FulfillmentStatuses, HttpService, InviteableTeamRoles, JoaiUrls, NATIVE_AUTH_TOKEN_PARAM, NativeApps, OG_IMAGE_CONFIG, OG_IMAGE_HEIGHT, OG_IMAGE_WIDTH, OgImageColors, PeriodTypeLabels, PeriodTypeOptions, PermissionPresetNames, ReturnStatuses, ReturnUpdateStatuses, SkillMediaBindingRole, SkillScope, SkillType, TeamManageAccess, TeamViewAccess, UNIFIED_MCP_SERVER_NAME, UserPermissions, UserRoles, abbreviateNumber, addressTypeValues, buildAgentMcpServerName, buildAgentSetupClipboardText, buildAppSetupClipboardText, buildMcpServerName, cartLineTotal, createCursorMcpInstallLink, defaultInviteTeamRole, fulfillmentMethodValues, fulfillmentStatusValues, getAgentSetupPromptUrl, getAgentsBaseUrl, getApiBaseUrl, getAppBaseUrl, getAssetAppLogoUrl, getAssetChainLogoUrl, getAssetPartnerLogoUrl, getAssetTokenLogoUrl, getAssetWalletLogoUrl, getCortexBaseUrl, getDigestBaseUrl, getFormsBaseUrl, getLoginUrl, getMcpServerAgentUrl, getMcpServerUrl, getSiteUrl, getSitesBaseUrl, getSitesRootDomain, getStoreBaseUrl, getWarpScreenshotUrl, hasAllPermissions, hasAllTeamPermissions, hasAnyPermissions, hasPermission, hasTeamPermission, inviteableTeamRoles, isCompleteAddressInput, isFileFormatAudio, isFileFormatImage, isFileFormatVideo, isNativeApp, isNativeAppAccessible, isNativeAppGated, isNativeAppLocked, isTeamFeatureAccessible, isTeamFeatureGated, isTeamFeatureLocked, isUnifiedMcpUrl, isUserRole, localize, nativeAppSlugs, ogImageUrl, permissionPresetRules, resolveAccessCatalog, resolveAgentMcpUrl, resolveConnectMcpUrl, resolveWarpText, returnStatusValues, returnUpdateStatusValues, sanitizeAlphanumeric, sanitizeNumeric, slugifyMcpSegment, teamCategories, toCurrencyDisplay, toHexEncodedNonce, toNameInitials, toNftId, toPreviewText, userPermissionValues, userRoleValues, withRetry };
|
|
704
|
+
export { AUTOMATION_SEND_CHANNELS, AddressTypes, AgentToolingAccess, BillingManageAccess, CAMPAIGN_CHANNELS, CONTACT_MESSAGE_SEND_WARP, ContractCategoryDisplayNames, DefaultCodeMetadata, DefaultInviteTeamRole, FulfillmentMethods, FulfillmentStatuses, HttpService, InviteableTeamRoles, JoaiUrls, NATIVE_AUTH_TOKEN_PARAM, NativeApps, OG_IMAGE_CONFIG, OG_IMAGE_HEIGHT, OG_IMAGE_WIDTH, OUTBOUND_CHANNELS, OgImageColors, PeriodTypeLabels, PeriodTypeOptions, PermissionPresetNames, ReturnStatuses, ReturnUpdateStatuses, SkillMediaBindingRole, SkillScope, SkillType, TeamManageAccess, TeamViewAccess, UNIFIED_MCP_SERVER_NAME, UserPermissions, UserRoles, abbreviateNumber, addressTypeValues, automationSendChannel, buildAgentMcpServerName, buildAgentSetupClipboardText, buildAppSetupClipboardText, buildFeatureSetupClipboardText, buildMcpServerName, cartLineTotal, createCursorMcpInstallLink, defaultInviteTeamRole, fulfillmentMethodValues, fulfillmentStatusValues, getAgentSetupPromptUrl, getAgentsBaseUrl, getApiBaseUrl, getAppBaseUrl, getAssetAppLogoUrl, getAssetChainLogoUrl, getAssetPartnerLogoUrl, getAssetTokenLogoUrl, getAssetWalletLogoUrl, getCortexBaseUrl, getDigestBaseUrl, getFormsBaseUrl, getLoginUrl, getMcpServerAgentUrl, getMcpServerUrl, getSiteUrl, getSitesBaseUrl, getSitesRootDomain, getStoreBaseUrl, getWarpScreenshotUrl, hasAllPermissions, hasAllTeamPermissions, hasAnyPermissions, hasPermission, hasTeamPermission, integrationSlugForChannel, inviteableTeamRoles, isAutomationSendChannelId, isCampaignChannelId, isCompleteAddressInput, isContactMessageAction, isContactMessageWarpId, isFileFormatAudio, isFileFormatImage, isFileFormatVideo, isNativeApp, isNativeAppAccessible, isNativeAppGated, isNativeAppLocked, isTeamFeatureAccessible, isTeamFeatureGated, isTeamFeatureLocked, isUnifiedMcpUrl, isUserRole, localize, nativeAppSlugs, normalizeAutomationActionType, ogImageUrl, outboundChannel, permissionPresetRules, resolveAccessCatalog, resolveAgentMcpUrl, resolveConnectMcpUrl, resolveWarpText, returnStatusValues, returnUpdateStatusValues, sanitizeAlphanumeric, sanitizeNumeric, slugifyMcpSegment, teamCategories, toCurrencyDisplay, toHexEncodedNonce, toNameInitials, toNftId, toPreviewText, userPermissionValues, userRoleValues, withRetry };
|