@joai/core 0.14.0 → 0.16.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 CHANGED
@@ -1,5 +1,5 @@
1
1
  import { n as IHttpService, r as IRequestOptions, t as IAppResponse } from "./types-CWSaEVa7.mjs";
2
- import { Warp, WarpActionInput, WarpBrandUrls, WarpChainInfo, WarpChainName, WarpI18nText, WarpLocale, WarpSecret, WarpText, WarpWalletProvider } from "@joai/warps";
2
+ import { Warp, WarpActionInput, WarpBrandUrls, WarpChainInfo, WarpChainName, WarpI18nText, WarpLocale, WarpNativeValue, WarpSecret, WarpText, WarpWalletProvider } from "@joai/warps";
3
3
 
4
4
  //#region src/auth/types.d.ts
5
5
  type SocialAuthProvider = 'github' | 'apple' | 'google' | 'x' | 'telegram' | 'slack';
@@ -13,7 +13,7 @@ declare const getCortexBaseUrl: (env: AppEnv) => "http://localhost:3010" | "http
13
13
  declare const getAppBaseUrl: (env: AppEnv) => "http://app.joai--api.test:3004" | "https://devnet.joai.ai" | "https://testnet.joai.ai" | "https://joai.ai";
14
14
  declare const getFormsBaseUrl: (env: AppEnv) => "http://app.joai--api.test:3004" | "https://devnet-forms.joai.ai" | "https://testnet-forms.joai.ai" | "https://forms.joai.ai";
15
15
  declare const getDigestBaseUrl: (env: AppEnv) => "http://localhost:3005" | "https://devnet-digests.joai.ai" | "https://testnet-digests.joai.ai" | "https://digests.joai.ai";
16
- declare const getMarketplaceBaseUrl: (env: AppEnv) => "http://localhost:3006" | "https://devnet-marketplace.joai.ai" | "https://testnet-marketplace.joai.ai" | "https://marketplace.joai.ai";
16
+ declare const getStoreBaseUrl: (env: AppEnv) => "http://localhost:3005" | "https://devnet-store.joai.ai" | "https://testnet-store.joai.ai" | "https://store.joai.ai";
17
17
  declare const getAgentsBaseUrl: (env: AppEnv) => "http://localhost:3007" | "https://devnet-agents.joai.ai" | "https://testnet-agents.joai.ai" | "https://agents.joai.ai";
18
18
  declare const getMcpServerAgentUrl: (env: AppEnv, agent: string) => string;
19
19
  declare const getSitesRootDomain: (env: AppEnv) => string;
@@ -294,7 +294,7 @@ type AppSubscription = {
294
294
  updatedAt: string;
295
295
  };
296
296
  type PaymentProvider = 'xmoney' | 'lemonsqueezy' | 'stripe' | 'apple' | 'google' | 'blockchain' | 'offline';
297
- 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' | 'mcp' | 'phone-call' | 'phone-number' | 'custom-domain' | 'contacts' | 'marketplace-fee-rate' | 'marketplace-fee-rate-physical';
297
+ 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' | 'mcp' | 'phone-call' | 'phone-number' | 'custom-domain' | 'contacts' | 'links' | 'marketplace-fee-rate' | 'marketplace-fee-rate-physical';
298
298
  type PlanBenefit = {
299
299
  label: Partial<Record<WarpLocale, string>>;
300
300
  tip?: Partial<Record<WarpLocale, string>>;
@@ -385,9 +385,26 @@ type ProductRelation = {
385
385
  type VolumePrice = {
386
386
  id: number;
387
387
  minQty: number;
388
- maxQty: number | null;
389
388
  unitPrice: number;
390
389
  };
390
+ type ProductConfiguration = Record<string, WarpNativeValue>;
391
+ type OrderConfigurationItem = {
392
+ itemId: string | null;
393
+ type: string;
394
+ configuration: ProductConfiguration;
395
+ };
396
+ type ProductVariationMeta = {
397
+ itemGroupId?: string | null;
398
+ appleProductId: string | null;
399
+ googleProductId: string | null;
400
+ gtin?: string | null;
401
+ mpn?: string | null;
402
+ condition?: 'new' | 'used' | 'refurbished';
403
+ };
404
+ type ProductMeta = {
405
+ googleProductCategory?: number | null;
406
+ brand?: string | null;
407
+ };
391
408
  type ProductVariation = {
392
409
  resource?: 'product-variation';
393
410
  id?: string;
@@ -399,6 +416,9 @@ type ProductVariation = {
399
416
  badge?: string;
400
417
  quantity?: number;
401
418
  media?: Media[];
419
+ preview?: Media[];
420
+ stock?: number | null;
421
+ weight?: number | null;
402
422
  preorder?: boolean;
403
423
  active?: boolean;
404
424
  hidden?: boolean;
@@ -406,11 +426,9 @@ type ProductVariation = {
406
426
  order?: number | null;
407
427
  pieces?: ProductPieces | null;
408
428
  discount?: ProductDiscount | null;
429
+ settings?: Record<string, unknown> | null;
409
430
  product?: Product;
410
- meta?: {
411
- appleProductId: string | null;
412
- googleProductId: string | null;
413
- };
431
+ meta?: ProductVariationMeta;
414
432
  nativePriceStr?: string | null;
415
433
  };
416
434
  type Product = {
@@ -418,8 +436,10 @@ type Product = {
418
436
  name: TranslatableValue;
419
437
  description?: Partial<Record<WarpLocale, string>>;
420
438
  price?: number;
421
- unit?: string | null;
439
+ unit?: TranslatableValue | null;
422
440
  active?: boolean;
441
+ public?: boolean;
442
+ meta?: ProductMeta;
423
443
  virtual?: boolean;
424
444
  tags?: string[] | null;
425
445
  createdAt?: string;
@@ -429,8 +449,10 @@ type Product = {
429
449
  rating?: ProductRating;
430
450
  settings?: Record<string, unknown> | null;
431
451
  volumePrices?: VolumePrice[];
452
+ media?: Media[];
432
453
  };
433
454
  type OrderItem = {
455
+ id: string;
434
456
  name: string;
435
457
  quantity: number;
436
458
  unitPrice: number;
@@ -447,12 +469,36 @@ type Order = {
447
469
  createdAt: string;
448
470
  invoiceDate: string;
449
471
  meta: Record<string, any> | null;
472
+ configuration?: OrderConfigurationItem[];
450
473
  items: OrderItem[];
451
474
  plan: Plan | null;
452
475
  user: UserPrivate | null;
453
476
  team: TeamPrivate | null;
454
477
  isSubscription: boolean;
455
478
  };
479
+ type CartItem = {
480
+ id: string;
481
+ name: TranslatableValue;
482
+ price: number;
483
+ quantity: number;
484
+ type: 'service' | 'product';
485
+ sku: string | null;
486
+ badge: string | null;
487
+ configuration?: ProductConfiguration;
488
+ media: Media[];
489
+ product?: Product | null;
490
+ };
491
+ type Cart = {
492
+ subtotal: number;
493
+ taxes: {
494
+ amount: number;
495
+ percent: number;
496
+ };
497
+ total: number;
498
+ items: CartItem[];
499
+ coupon: Coupon | null;
500
+ couponDiscount: number;
501
+ };
456
502
  type Coupon = {
457
503
  code: string;
458
504
  amount: number;
@@ -480,10 +526,12 @@ type Team = {
480
526
  slug: string;
481
527
  name: string;
482
528
  personal: boolean;
483
- description: string | null;
529
+ description: TranslatableValue | null;
484
530
  locale: WarpLocale;
485
531
  timezone: string;
532
+ settings?: TeamSettings;
486
533
  logo: string | null;
534
+ tagline?: TranslatableValue | null;
487
535
  public: boolean;
488
536
  createdAt: string;
489
537
  blueprints?: Blueprint[];
@@ -507,7 +555,8 @@ type TeamPrivate = {
507
555
  slug: string;
508
556
  name: string;
509
557
  personal: boolean;
510
- description: string | null;
558
+ description: TranslatableValue | null;
559
+ tagline: TranslatableValue | null;
511
560
  balance: number;
512
561
  locale: WarpLocale;
513
562
  timezone: string;
@@ -933,6 +982,7 @@ type BrandBackend = {
933
982
  locales: WarpLocale[];
934
983
  warps: WarpBackend[];
935
984
  isTeamOwned?: boolean;
985
+ isPublic?: boolean;
936
986
  inviteCode?: string;
937
987
  source?: BrandSourceConfig | null;
938
988
  contract?: string;
@@ -1117,7 +1167,7 @@ declare const sanitizeAlphanumeric: (val: string) => string;
1117
1167
  declare const sanitizeNumeric: (val: string) => string;
1118
1168
  declare const toNameInitials: (name?: string) => string;
1119
1169
  declare const toPreviewText: (text: string, maxChars?: number) => string;
1120
- declare const localize: (value: Record<string, string> | null | undefined, locale?: string) => string;
1170
+ declare const localize: (value: Partial<Record<string, string>> | null | undefined, locale?: string) => string;
1121
1171
  //#endregion
1122
1172
  //#region src/helpers/number.d.ts
1123
1173
  declare const abbreviateNumber: (val: number) => string | number;
@@ -1172,6 +1222,103 @@ type ApiToken = {
1172
1222
  token?: string;
1173
1223
  };
1174
1224
  //#endregion
1225
+ //#region src/service/types.d.ts
1226
+ type Service = {
1227
+ id: string;
1228
+ slug: string;
1229
+ name: TranslatableValue;
1230
+ price: number;
1231
+ durationMinutes: number;
1232
+ tags?: string[] | null;
1233
+ category: string | null;
1234
+ description: TranslatableValue | null;
1235
+ active: boolean;
1236
+ digital: boolean;
1237
+ public: boolean;
1238
+ createdAt: string;
1239
+ updatedAt: string;
1240
+ };
1241
+ //#endregion
1242
+ //#region src/appointment/types.d.ts
1243
+ type AppointmentSlot = {
1244
+ start: string;
1245
+ end: string;
1246
+ label?: string;
1247
+ };
1248
+ type AppointmentAvailabilityService = {
1249
+ slug: string;
1250
+ name: string | null;
1251
+ durationMinutes: number | null;
1252
+ };
1253
+ type AppointmentAvailabilitySlot = {
1254
+ startAt: string;
1255
+ endAt: string;
1256
+ agentUuid: string;
1257
+ agentName: string;
1258
+ serviceSlug: string | null;
1259
+ };
1260
+ type AppointmentAvailability = {
1261
+ connected: boolean;
1262
+ timezone: string;
1263
+ service: AppointmentAvailabilityService | null;
1264
+ slots: AppointmentAvailabilitySlot[];
1265
+ };
1266
+ type AppointmentPolicy = {
1267
+ timezone: string | null;
1268
+ availability: Record<string, {
1269
+ start: string;
1270
+ end: string;
1271
+ }[]> | null;
1272
+ minNoticeMinutes: number | null;
1273
+ bufferMinutes: number | null;
1274
+ maxDaysAhead: number | null;
1275
+ slotIntervalMinutes: number | null;
1276
+ blockedDates: string[] | null;
1277
+ holidays: string[] | null;
1278
+ conferenceEnabled: boolean | null;
1279
+ serviceSelectionEnabled?: boolean | null;
1280
+ marketplacePaymentEnabled?: boolean | null;
1281
+ };
1282
+ type AppointmentBookingContext = {
1283
+ resolved: AppointmentPolicy | null;
1284
+ policy: AppointmentPolicy | null;
1285
+ services: Service[];
1286
+ availableStaff: {
1287
+ uuid: string;
1288
+ name: string;
1289
+ }[];
1290
+ requestStatuses: string[];
1291
+ };
1292
+ type AppointmentBooking = {
1293
+ id: string;
1294
+ name: string;
1295
+ scheduledAt: string;
1296
+ scheduledEndAt: string;
1297
+ timezone: string | null;
1298
+ conferenceUrl: string | null;
1299
+ conferenceProvider: string | null;
1300
+ inviteUrl?: string | null;
1301
+ status: string;
1302
+ attendeeEmail: string | null;
1303
+ attendeeName: string | null;
1304
+ };
1305
+ type AppointmentRequest = {
1306
+ id: string;
1307
+ title: string;
1308
+ requesterName: string | null;
1309
+ requesterEmail: string | null;
1310
+ timezone: string | null;
1311
+ durationMinutes: number | null;
1312
+ notes: string | null;
1313
+ status: string;
1314
+ failureReason: string | null;
1315
+ preferredWindows: {
1316
+ start: string;
1317
+ end: string;
1318
+ }[] | null;
1319
+ createdAt: string;
1320
+ };
1321
+ //#endregion
1175
1322
  //#region src/budget/types.d.ts
1176
1323
  type Budget = {
1177
1324
  id: number;
@@ -2622,22 +2769,6 @@ type Reminder = {
2622
2769
  createdAt: string;
2623
2770
  };
2624
2771
  //#endregion
2625
- //#region src/service/types.d.ts
2626
- type Service = {
2627
- id: string;
2628
- slug: string;
2629
- name: TranslatableValue;
2630
- price: number;
2631
- durationMinutes: number;
2632
- category: string | null;
2633
- description: TranslatableValue | null;
2634
- active: boolean;
2635
- digital: boolean;
2636
- public: boolean;
2637
- createdAt: string;
2638
- updatedAt: string;
2639
- };
2640
- //#endregion
2641
2772
  //#region src/shortcut/types.d.ts
2642
2773
  type Shortcut = {
2643
2774
  id: string;
@@ -2738,6 +2869,8 @@ type Link = {
2738
2869
  status: 'active' | 'paused' | 'expired';
2739
2870
  title: string | null;
2740
2871
  scanCount: number;
2872
+ scanHistory: number[];
2873
+ scanGeography: Record<string, number>;
2741
2874
  lastScannedAt: string | null;
2742
2875
  createdAt: string;
2743
2876
  updatedAt: string;
@@ -2747,6 +2880,13 @@ type LinkCreatePayload = {
2747
2880
  title: string;
2748
2881
  };
2749
2882
  type LinkUpdatePayload = Partial<LinkCreatePayload>;
2883
+ type LinkStats = {
2884
+ totalLinks: number;
2885
+ activeLinks: number;
2886
+ totalScans: number;
2887
+ scanHistory: number[];
2888
+ scanGeography: Record<string, number>;
2889
+ };
2750
2890
  //#endregion
2751
2891
  //#region src/store/types.d.ts
2752
2892
  type StoreVisibility = 'private' | 'team' | 'public';
@@ -2997,4 +3137,4 @@ type CliSessionStatus = {
2997
3137
  meta: CliSessionMeta | null;
2998
3138
  };
2999
3139
  //#endregion
3000
- export { Achievement, Affiliate, AffiliateStatus, AffiliateTier, AffiliateTierName, Agent, AgentActionHistoryEntry, AgentCharacter, AgentDelegatable, AgentEngine, AgentExecuteHandler, AgentExecuteOptions, AgentGender, AgentMessageMeta, AgentMessageOptions, AgentPrivate, AgentSettings, AgentSimple, AgentWalletMode, AgentWebhookWarp, AggregatedRoute, AiCostEntry, AiCostsResponse, AiCostsSummary, Alert, ApiToken, AppEnv, AppFile, AppFileType, AppIngestion, AppSubscription, BillingAddress, Blueprint, BlueprintOnboardingStep, BlueprintRedirect, BlueprintSettings, BlueprintShortcut, BlueprintTask, BlueprintTeam, BoardSummaryViewable, BookmarkEntry, BrandBackend, BrandIntegration, BrandIntegrationAction, BrandIntegrationProvider, BrandSearchHit, BrandSiteConfig, BrandSourceConfig, Budget, ByokProviderConfig, ByokProviderName, ByokProviders, CalendarProvider, CalendarStatus, Card, Challenge, Challenges, ChangelogEntry, Character, ChatClientAction, ChatClientThought, ChatStreamData, ChatStreamEventType, CliSessionMeta, CliSessionStatus, Contact, ContactActivity, ContactActivityAuthor, ContactFormData, ContactViewable, Contract, ContractCategoryDisplayNames, ContractCategoryName, ContractCodeMetadata, ContractEntity, ContractOnNetwork, ContractVersion, ContractsAddressConfig, CortexExecuteOptions, Coupon, DefaultCodeMetadata, DemoFlow, DemoMessage, Desk, DeskItem, DeskItemRole, Document, 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, HttpService, IAppResponse, IHttpService, IRequestOptions, IngestionSourceType, IngestionStatus, Inquiry, InquiryStatus, InquiryType, Integration, IntegrationDetails, IntegrationType, Intent, Item, ItemCreatePayload, ItemExecutionStatus, ItemPriority, ItemStatus, ItemUpdatePayload, ItemViewable, JoaiUrls, Kyc, KycStatus, Link, LinkCreatePayload, LinkUpdatePayload, LocalAgentWallet, MarketplaceAgent, MarketplaceCheckoutItem, MarketplaceData, MarketplaceEntityType, MarketplaceInfo, MarketplaceItem, MarketplaceListing, MarketplacePriceTier, MarketplacePricing, MarketplacePurchasable, MarketplacePurchaseResult, McpToolCall, McpToolCallBroadcast, McpToolCallStatus, Media, MediaAttributes, MediaItems, MediaLibraryAttributes, MediaLibraryItems, MediaMime, Meeting, MeetingConferenceProvider, MeetingFeature, MeetingJoinInfo, MeetingJoinTeam, MeetingParticipant, MeetingSessionState, MeetingSpeakerAssignment, MeetingStatus, MeetingTranscriptEntry, MeetingUsage, Memory, Message, MessageId, MessageRole, Milestone, MilestoneType, Mission, MissionBudget, MissionCreatePayload, MissionPlan, MissionPriority, MissionSchedule, MissionStatus, MissionViewable, 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, OrderItem, OrderStatus, PaymentProvider, PayoutEntry, PeriodTypeLabels, PeriodTypeOptions, PermissionConfigType, PersonaQuestionable, Plan, PlanBenefit, PlanExtra, PlanFeature, PlanInterval, PolicyMethod, PolicySetting, PricingModel, Product, ProductDiscount, ProductPieces, ProductRating, ProductRelation, ProductRelationType, ProductVariation, ProductVariationType, 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, Reminder, Room, RoomId, RoomKind, ScInfo, SchedulePreset, SecretAuthorizable, SecretSettable, SendableActivityUpdate, SendableAgentAction, SendableAgentMessage, SendableAgentThought, SendableMedia, SendableUserMessage, Service, Shortcut, Site, SiteAgent, SiteBrand, SiteRoute, SiteTeam, Skill, SkillMediaBindingRole, SkillMediaBindingRoleValue, SkillScope, SkillScopeValue, SkillType, SkillTypeValue, SocialAuthProvider, SocialBot, SocialPlatform, Store, StoreCreatePayload, StoreEntry, StoreEntryPayload, StoreEntryResult, StoreToggleResult, StoreVisibility, StoreWithEntries, Streak, SubscriptionInterval, SubscriptionPlan, SubscriptionStatus, Swarm, Task, Team, TeamBrand, TeamFeatureUsage, TeamMember, TeamPrivate, TeamSettings, TeamUsage, Tier, TierFeature, TierName, TranscriptEntry, TranscriptionCorrection, TranscriptionResponse, TranslatableValue, Update, UpdateCreatePayload, UpdateStatus, UpdateType, UpdateUpdatePayload, User, UserInterest, UserMode, UserPrivate, UserRole, UserSettings, UserSocialAccount, UserStats, VolumePrice, Wallet, WalletList, WarpApprovable, WarpBackend, WarpBackendCategory, WarpBackendStatus, WarpBatchItem, WarpBatchable, WarpCloudExecutable, WarpCreateable, WarpExecutable, WarpExtras, WarpExtrasFaq, WarpInputable, WarpScreenshotVariant, WarpSearchHit, WarpSelectable, WarpSelectableDetails, WarpSuggestion, WarpTestable, WarpViewable, Webhook, WebhookTriggerEvent, WorkspaceCloudFile, WorkspaceContext, WorkspaceInfo, WorkspaceSettings, XIntegrationStatus, abbreviateNumber, getAgentsBaseUrl, getApiBaseUrl, getAppBaseUrl, getAssetAppLogoUrl, getAssetChainLogoUrl, getAssetPartnerLogoUrl, getAssetTokenLogoUrl, getAssetWalletLogoUrl, getCortexBaseUrl, getDigestBaseUrl, getFormsBaseUrl, getMarketplaceBaseUrl, getMcpServerAgentUrl, getSiteUrl, getSitesRootDomain, getWarpScreenshotUrl, isFileFormatAudio, isFileFormatImage, isFileFormatVideo, localize, ogImageUrl, resolveWarpText, sanitizeAlphanumeric, sanitizeNumeric, toCurrencyDisplay, toHexEncodedNonce, toNameInitials, toNftId, toPreviewText, withRetry };
3140
+ export { Achievement, Affiliate, AffiliateStatus, AffiliateTier, AffiliateTierName, Agent, AgentActionHistoryEntry, AgentCharacter, AgentDelegatable, AgentEngine, AgentExecuteHandler, AgentExecuteOptions, AgentGender, AgentMessageMeta, AgentMessageOptions, AgentPrivate, AgentSettings, AgentSimple, AgentWalletMode, AgentWebhookWarp, AggregatedRoute, AiCostEntry, AiCostsResponse, AiCostsSummary, Alert, ApiToken, AppEnv, AppFile, AppFileType, AppIngestion, AppSubscription, AppointmentAvailability, AppointmentAvailabilityService, AppointmentAvailabilitySlot, AppointmentBooking, AppointmentBookingContext, AppointmentPolicy, AppointmentRequest, AppointmentSlot, BillingAddress, Blueprint, BlueprintOnboardingStep, BlueprintRedirect, BlueprintSettings, BlueprintShortcut, BlueprintTask, BlueprintTeam, BoardSummaryViewable, BookmarkEntry, BrandBackend, BrandIntegration, BrandIntegrationAction, BrandIntegrationProvider, BrandSearchHit, BrandSiteConfig, BrandSourceConfig, Budget, ByokProviderConfig, ByokProviderName, ByokProviders, CalendarProvider, CalendarStatus, Card, Cart, CartItem, Challenge, Challenges, ChangelogEntry, Character, ChatClientAction, ChatClientThought, ChatStreamData, ChatStreamEventType, CliSessionMeta, CliSessionStatus, Contact, ContactActivity, ContactActivityAuthor, ContactFormData, ContactViewable, Contract, ContractCategoryDisplayNames, ContractCategoryName, ContractCodeMetadata, ContractEntity, ContractOnNetwork, ContractVersion, ContractsAddressConfig, CortexExecuteOptions, Coupon, DefaultCodeMetadata, DemoFlow, DemoMessage, Desk, DeskItem, DeskItemRole, Document, 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, HttpService, IAppResponse, IHttpService, IRequestOptions, IngestionSourceType, IngestionStatus, Inquiry, InquiryStatus, InquiryType, Integration, IntegrationDetails, IntegrationType, Intent, Item, ItemCreatePayload, ItemExecutionStatus, ItemPriority, ItemStatus, ItemUpdatePayload, ItemViewable, JoaiUrls, Kyc, KycStatus, Link, LinkCreatePayload, LinkStats, LinkUpdatePayload, LocalAgentWallet, MarketplaceAgent, MarketplaceCheckoutItem, MarketplaceData, MarketplaceEntityType, MarketplaceInfo, MarketplaceItem, MarketplaceListing, MarketplacePriceTier, MarketplacePricing, MarketplacePurchasable, MarketplacePurchaseResult, McpToolCall, McpToolCallBroadcast, McpToolCallStatus, Media, MediaAttributes, MediaItems, MediaLibraryAttributes, MediaLibraryItems, MediaMime, Meeting, MeetingConferenceProvider, MeetingFeature, MeetingJoinInfo, MeetingJoinTeam, MeetingParticipant, MeetingSessionState, MeetingSpeakerAssignment, MeetingStatus, MeetingTranscriptEntry, MeetingUsage, Memory, Message, MessageId, MessageRole, Milestone, MilestoneType, Mission, MissionBudget, MissionCreatePayload, MissionPlan, MissionPriority, MissionSchedule, MissionStatus, MissionViewable, 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, OrderItem, OrderStatus, PaymentProvider, PayoutEntry, PeriodTypeLabels, PeriodTypeOptions, PermissionConfigType, PersonaQuestionable, Plan, PlanBenefit, PlanExtra, PlanFeature, PlanInterval, PolicyMethod, PolicySetting, PricingModel, Product, ProductConfiguration, ProductDiscount, ProductMeta, ProductPieces, ProductRating, ProductRelation, ProductRelationType, ProductVariation, ProductVariationMeta, ProductVariationType, 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, Reminder, Room, RoomId, RoomKind, ScInfo, SchedulePreset, SecretAuthorizable, SecretSettable, SendableActivityUpdate, SendableAgentAction, SendableAgentMessage, SendableAgentThought, SendableMedia, SendableUserMessage, Service, Shortcut, Site, SiteAgent, SiteBrand, SiteRoute, SiteTeam, Skill, SkillMediaBindingRole, SkillMediaBindingRoleValue, SkillScope, SkillScopeValue, SkillType, SkillTypeValue, SocialAuthProvider, SocialBot, SocialPlatform, Store, StoreCreatePayload, StoreEntry, StoreEntryPayload, StoreEntryResult, StoreToggleResult, StoreVisibility, StoreWithEntries, Streak, SubscriptionInterval, SubscriptionPlan, SubscriptionStatus, Swarm, Task, Team, TeamBrand, TeamFeatureUsage, TeamMember, TeamPrivate, TeamSettings, TeamUsage, Tier, TierFeature, TierName, TranscriptEntry, TranscriptionCorrection, TranscriptionResponse, TranslatableValue, Update, UpdateCreatePayload, UpdateStatus, UpdateType, UpdateUpdatePayload, User, UserInterest, UserMode, UserPrivate, UserRole, UserSettings, UserSocialAccount, UserStats, VolumePrice, Wallet, WalletList, WarpApprovable, WarpBackend, WarpBackendCategory, WarpBackendStatus, WarpBatchItem, WarpBatchable, WarpCloudExecutable, WarpCreateable, WarpExecutable, WarpExtras, WarpExtrasFaq, WarpInputable, WarpScreenshotVariant, WarpSearchHit, WarpSelectable, WarpSelectableDetails, WarpSuggestion, WarpTestable, WarpViewable, Webhook, 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, toCurrencyDisplay, toHexEncodedNonce, toNameInitials, toNftId, toPreviewText, withRetry };
package/dist/index.mjs CHANGED
@@ -30,11 +30,11 @@ const getDigestBaseUrl = (env) => {
30
30
  if (env === "testnet") return "https://testnet-digests.joai.ai";
31
31
  return "https://digests.joai.ai";
32
32
  };
33
- const getMarketplaceBaseUrl = (env) => {
34
- if (env === "local") return "http://localhost:3006";
35
- if (env === "devnet") return "https://devnet-marketplace.joai.ai";
36
- if (env === "testnet") return "https://testnet-marketplace.joai.ai";
37
- return "https://marketplace.joai.ai";
33
+ const getStoreBaseUrl = (env) => {
34
+ if (env === "local") return "http://localhost:3005";
35
+ if (env === "devnet") return "https://devnet-store.joai.ai";
36
+ if (env === "testnet") return "https://testnet-store.joai.ai";
37
+ return "https://store.joai.ai";
38
38
  };
39
39
  const getAgentsBaseUrl = (env) => {
40
40
  if (env === "local") return "http://localhost:3007";
@@ -360,4 +360,4 @@ const SkillScope = {
360
360
  Team: "team"
361
361
  };
362
362
  //#endregion
363
- export { ContractCategoryDisplayNames, DefaultCodeMetadata, HttpService, JoaiUrls, OG_IMAGE_CONFIG, OG_IMAGE_HEIGHT, OG_IMAGE_WIDTH, OgImageColors, PeriodTypeLabels, PeriodTypeOptions, SkillMediaBindingRole, SkillScope, SkillType, abbreviateNumber, getAgentsBaseUrl, getApiBaseUrl, getAppBaseUrl, getAssetAppLogoUrl, getAssetChainLogoUrl, getAssetPartnerLogoUrl, getAssetTokenLogoUrl, getAssetWalletLogoUrl, getCortexBaseUrl, getDigestBaseUrl, getFormsBaseUrl, getMarketplaceBaseUrl, getMcpServerAgentUrl, getSiteUrl, getSitesRootDomain, getWarpScreenshotUrl, isFileFormatAudio, isFileFormatImage, isFileFormatVideo, localize, ogImageUrl, resolveWarpText, sanitizeAlphanumeric, sanitizeNumeric, toCurrencyDisplay, toHexEncodedNonce, toNameInitials, toNftId, toPreviewText, withRetry };
363
+ export { ContractCategoryDisplayNames, DefaultCodeMetadata, HttpService, JoaiUrls, OG_IMAGE_CONFIG, OG_IMAGE_HEIGHT, OG_IMAGE_WIDTH, OgImageColors, PeriodTypeLabels, PeriodTypeOptions, SkillMediaBindingRole, SkillScope, SkillType, 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, toCurrencyDisplay, toHexEncodedNonce, toNameInitials, toNftId, toPreviewText, withRetry };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joai/core",
3
- "version": "0.14.0",
3
+ "version": "0.16.0",
4
4
  "description": "JoAi shared types, HTTP service, and config",
5
5
  "license": "MIT",
6
6
  "type": "module",